Skip to content

Commit a1065b9

Browse files
committed
Update configure scripts
1 parent 3d467a7 commit a1065b9

File tree

4 files changed

+40
-252
lines changed

4 files changed

+40
-252
lines changed

aclocal.m4

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
1-
# generated automatically by aclocal 1.17 -*- Autoconf -*-
1+
# generated automatically by aclocal 1.18.1 -*- Autoconf -*-
22

3-
# Copyright (C) 1996-2024 Free Software Foundation, Inc.
3+
# Copyright (C) 1996-2025 Free Software Foundation, Inc.
44

55
# This file is free software; the Free Software Foundation
66
# gives unlimited permission to copy and/or distribute it,

configure

Lines changed: 24 additions & 144 deletions
Original file line numberDiff line numberDiff line change
@@ -1687,7 +1687,7 @@ Fine tuning of the installation directories:
16871687
--bindir=DIR user executables [EPREFIX/bin]
16881688
--sbindir=DIR system admin executables [EPREFIX/sbin]
16891689
--libexecdir=DIR program executables [EPREFIX/libexec]
1690-
--sysconfdir=DIR read-only single-machine data [/etc]
1690+
--sysconfdir=DIR read-only single-machine data [PREFIX/etc]
16911691
--sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
16921692
--localstatedir=DIR modifiable single-machine data [PREFIX/var]
16931693
--runstatedir=DIR modifiable per-process data [LOCALSTATEDIR/run]
@@ -14100,8 +14100,6 @@ printf %s "checking whether the $compiler linker ($LD) supports shared libraries
1410014100
hardcode_libdir_separator=
1410114101
hardcode_minus_L=no
1410214102
hardcode_shlibpath_var=unsupported
14103-
fix_hardcoded_libdir_flag_spec=
14104-
fix_hardcoded_libdir_flag_spec_ld=
1410514103
inherit_rpath=no
1410614104
link_all_deplibs=unknown
1410714105
module_cmds=
@@ -14942,62 +14940,19 @@ fi
1494214940

1494314941
hpux10*)
1494414942
if test yes,no = "$GCC,$with_gnu_ld"; then
14945-
archive_cmds='$CC -shared $pic_flag $wl+h $wl$soname -o $lib $libobjs $deplibs $compiler_flags $fix_hardcoded_libdir_flag'
14946-
module_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags $fix_hardcoded_libdir_flag'
14943+
archive_cmds='$CC -shared $pic_flag $wl+h $wl$soname $wl+b $wl$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
1494714944
else
14948-
archive_cmds='$LD -b +h $soname -o $lib $libobjs $deplibs $linker_flags $fix_hardcoded_libdir_flag_ld'
14949-
module_cmds='$LD -b -o $lib $libobjs $deplibs $linker_flags $fix_hardcoded_libdir_flag_ld'
14945+
archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
1495014946
fi
1495114947
if test no = "$with_gnu_ld"; then
14952-
hardcode_libdir_flag_spec='$wl+b $wl$libdir $fix_hardcoded_libdir_flag'
14948+
hardcode_libdir_flag_spec='$wl+b $wl$libdir'
1495314949
hardcode_libdir_separator=:
1495414950
hardcode_direct=yes
1495514951
hardcode_direct_absolute=yes
1495614952
export_dynamic_flag_spec='$wl-E'
1495714953
# hardcode_minus_L: Not really in the search PATH,
1495814954
# but as the default location of the library.
1495914955
hardcode_minus_L=yes
14960-
# gcc-3.0.1 (collect2) breaks on -Wl,+cdp.
14961-
# HP-cc ignores -Wl,+cdp, and we test the linker for +cdp support.
14962-
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if +cdp linker flag works" >&5
14963-
printf %s "checking if +cdp linker flag works... " >&6; }
14964-
if test ${lt_cv_ldflag_cdp_works+y}
14965-
then :
14966-
printf %s "(cached) " >&6
14967-
else case e in #(
14968-
e) lt_cv_ldflag_cdp_works=no
14969-
save_LDFLAGS=$LDFLAGS
14970-
LDFLAGS="$LDFLAGS -Wl,+cdp -Wl,/usr/lib/libc.1:/nonexistent -Wl,+cdp -Wl,/lib/libc.1:/nonexistent"
14971-
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14972-
/* end confdefs.h. */
14973-
14974-
int
14975-
main (void)
14976-
{
14977-
14978-
;
14979-
return 0;
14980-
}
14981-
_ACEOF
14982-
if ac_fn_c_try_link "$LINENO"
14983-
then :
14984-
lt_cv_ldflag_cdp_works=yes
14985-
else case e in #(
14986-
e) lt_cv_ldflag_cdp_works=no ;;
14987-
esac
14988-
fi
14989-
rm -f core conftest.err conftest.$ac_objext conftest.beam \
14990-
conftest$ac_exeext conftest.$ac_ext
14991-
LDFLAGS="$save_LDFLAGS"
14992-
;;
14993-
esac
14994-
fi
14995-
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ldflag_cdp_works" >&5
14996-
printf "%s\n" "$lt_cv_ldflag_cdp_works" >&6; }
14997-
if test "$lt_cv_ldflag_cdp_works" = yes; then
14998-
fix_hardcoded_libdir_flag_spec='${wl}+cdp ${wl}${linkdir}/${dlname}:${libdir}/${dlname}'
14999-
fix_hardcoded_libdir_flag_spec_ld='+cdp ${linkdir}/${dlname}:${libdir}/${dlname}'
15000-
fi
1500114956
fi
1500214957
;;
1500314958

@@ -15006,26 +14961,21 @@ printf "%s\n" "$lt_cv_ldflag_cdp_works" >&6; }
1500614961
case $host_cpu in
1500714962
hppa*64*)
1500814963
archive_cmds='$CC -shared $wl+h $wl$soname -o $lib $libobjs $deplibs $compiler_flags'
15009-
module_cmds='$CC -shared -o $lib $libobjs $deplibs $compiler_flags'
1501014964
;;
1501114965
ia64*)
1501214966
archive_cmds='$CC -shared $pic_flag $wl+h $wl$soname $wl+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
15013-
module_cmds='$CC -shared $pic_flag $wl+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
1501414967
;;
1501514968
*)
15016-
archive_cmds='$CC -shared $pic_flag $wl+h $wl$soname -o $lib $libobjs $deplibs $compiler_flags $fix_hardcoded_libdir_flag'
15017-
module_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags $fix_hardcoded_libdir_flag'
14969+
archive_cmds='$CC -shared $pic_flag $wl+h $wl$soname $wl+b $wl$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
1501814970
;;
1501914971
esac
1502014972
else
1502114973
case $host_cpu in
1502214974
hppa*64*)
1502314975
archive_cmds='$CC -b $wl+h $wl$soname -o $lib $libobjs $deplibs $compiler_flags'
15024-
module_cmds='$CC -b -o $lib $libobjs $deplibs $compiler_flags'
1502514976
;;
1502614977
ia64*)
1502714978
archive_cmds='$CC -b $wl+h $wl$soname $wl+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
15028-
module_cmds='$CC -b $wl+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
1502914979
;;
1503014980
*)
1503114981

@@ -15065,22 +15015,16 @@ fi
1506515015
printf "%s\n" "$lt_cv_prog_compiler__b" >&6; }
1506615016

1506715017
if test yes = "$lt_cv_prog_compiler__b"; then
15068-
15069-
archive_cmds='$CC -b $wl+h $wl$soname -o $lib $libobjs $deplibs $compiler_flags $fix_hardcoded_libdir_flag'
15070-
module_cmds='$CC -b -o $lib $libobjs $deplibs $compiler_flags $fix_hardcoded_libdir_flag'
15071-
15018+
archive_cmds='$CC -b $wl+h $wl$soname $wl+b $wl$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
1507215019
else
15073-
15074-
archive_cmds='$LD -b +h $soname -o $lib $libobjs $deplibs $linker_flags $fix_hardcoded_libdir_flag_ld'
15075-
module_cmds='$LD -b -o $lib $libobjs $deplibs $linker_flags $fix_hardcoded_libdir_flag_ld'
15076-
15020+
archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
1507715021
fi
1507815022

1507915023
;;
1508015024
esac
1508115025
fi
1508215026
if test no = "$with_gnu_ld"; then
15083-
hardcode_libdir_flag_spec='$wl+b $wl$libdir $fix_hardcoded_libdir_flag'
15027+
hardcode_libdir_flag_spec='$wl+b $wl$libdir'
1508415028
hardcode_libdir_separator=:
1508515029

1508615030
case $host_cpu in
@@ -15096,47 +15040,6 @@ fi
1509615040
# hardcode_minus_L: Not really in the search PATH,
1509715041
# but as the default location of the library.
1509815042
hardcode_minus_L=yes
15099-
# gcc-3.0.1 (collect2) breaks on -Wl,+cdp.
15100-
# HP-cc ignores -Wl,+cdp, and we test the linker for +cdp support.
15101-
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if +cdp linker flag works" >&5
15102-
printf %s "checking if +cdp linker flag works... " >&6; }
15103-
if test ${lt_cv_ldflag_cdp_works+y}
15104-
then :
15105-
printf %s "(cached) " >&6
15106-
else case e in #(
15107-
e) lt_cv_ldflag_cdp_works=no
15108-
save_LDFLAGS=$LDFLAGS
15109-
LDFLAGS="$LDFLAGS -Wl,+cdp -Wl,/usr/lib/libc.1:/nonexistent -Wl,+cdp -Wl,/lib/libc.1:/nonexistent"
15110-
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15111-
/* end confdefs.h. */
15112-
15113-
int
15114-
main (void)
15115-
{
15116-
15117-
;
15118-
return 0;
15119-
}
15120-
_ACEOF
15121-
if ac_fn_c_try_link "$LINENO"
15122-
then :
15123-
lt_cv_ldflag_cdp_works=yes
15124-
else case e in #(
15125-
e) lt_cv_ldflag_cdp_works=no ;;
15126-
esac
15127-
fi
15128-
rm -f core conftest.err conftest.$ac_objext conftest.beam \
15129-
conftest$ac_exeext conftest.$ac_ext
15130-
LDFLAGS="$save_LDFLAGS"
15131-
;;
15132-
esac
15133-
fi
15134-
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ldflag_cdp_works" >&5
15135-
printf "%s\n" "$lt_cv_ldflag_cdp_works" >&6; }
15136-
if test "$lt_cv_ldflag_cdp_works" = yes; then
15137-
fix_hardcoded_libdir_flag_spec='${wl}+cdp ${wl}${linkdir}/${dlname}:${libdir}/${dlname}'
15138-
fix_hardcoded_libdir_flag_spec_ld='+cdp ${linkdir}/${dlname}:${libdir}/${dlname}'
15139-
fi
1514015043
;;
1514115044
esac
1514215045
fi
@@ -15693,16 +15596,6 @@ esac
1569315596

1569415597

1569515598

15696-
15697-
15698-
15699-
15700-
15701-
15702-
15703-
15704-
15705-
1570615599

1570715600

1570815601

@@ -17233,7 +17126,6 @@ if test -n "$hardcode_libdir_flag_spec" ||
1723317126
# have to relink, otherwise we might link with an installed library
1723417127
# when we should be linking with a yet-to-be-installed one
1723517128
## test no != "$_LT_TAGVAR(hardcode_shlibpath_var, )" &&
17236-
test -z "$fix_hardcoded_libdir_flag_spec" &&
1723717129
test no != "$hardcode_minus_L"; then
1723817130
# Linking always hardcodes the temporary library directory.
1723917131
hardcode_action=relink
@@ -26114,7 +26006,7 @@ fi
2611426006
libssl="`$PKG_CONFIG --libs-only-l $pkg_openssl | sed 's/^ *-l//'`"
2611526007
libssl_extra="`echo $libssl | sed 's/^[^ ]* *//'`"
2611626008
libssl="`echo $libssl | sed 's/ .*//'`"
26117-
as_ac_Lib=`printf "%s\n" "ac_cv_lib_$libssl""_SSL_new$libssl_extra" | sed "$as_sed_sh"`
26009+
as_ac_Lib=`printf "%s\n" "ac_cv_lib_$libssl""_SSL_new" | sed "$as_sed_sh"`
2611826010
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for SSL_new in -l$libssl" >&5
2611926011
printf %s "checking for SSL_new in -l$libssl... " >&6; }
2612026012
if eval test \${$as_ac_Lib+y}
@@ -26306,7 +26198,7 @@ fi
2630626198
;;
2630726199
esac
2630826200
done
26309-
as_ac_Lib=`printf "%s\n" "ac_cv_lib_$libcrypto""_EVP_MD_CTX_new$libcrypto_extra" | sed "$as_sed_sh"`
26201+
as_ac_Lib=`printf "%s\n" "ac_cv_lib_$libcrypto""_EVP_MD_CTX_new" | sed "$as_sed_sh"`
2631026202
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for EVP_MD_CTX_new in -l$libcrypto" >&5
2631126203
printf %s "checking for EVP_MD_CTX_new in -l$libcrypto... " >&6; }
2631226204
if eval test \${$as_ac_Lib+y}
@@ -26594,7 +26486,7 @@ fi
2659426486
fi
2659526487
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for SSL_new in -lssl" >&5
2659626488
printf %s "checking for SSL_new in -lssl... " >&6; }
26597-
if test ${ac_cv_lib_ssl_SSL_new_lcrypto+y}
26489+
if test ${ac_cv_lib_ssl_SSL_new+y}
2659826490
then :
2659926491
printf %s "(cached) " >&6
2660026492
else case e in #(
@@ -26623,19 +26515,19 @@ return SSL_new ();
2662326515
_ACEOF
2662426516
if ac_fn_c_try_link "$LINENO"
2662526517
then :
26626-
ac_cv_lib_ssl_SSL_new_lcrypto=yes
26518+
ac_cv_lib_ssl_SSL_new=yes
2662726519
else case e in #(
26628-
e) ac_cv_lib_ssl_SSL_new_lcrypto=no ;;
26520+
e) ac_cv_lib_ssl_SSL_new=no ;;
2662926521
esac
2663026522
fi
2663126523
rm -f core conftest.err conftest.$ac_objext conftest.beam \
2663226524
conftest$ac_exeext conftest.$ac_ext
2663326525
LIBS=$ac_check_lib_save_LIBS ;;
2663426526
esac
2663526527
fi
26636-
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ssl_SSL_new_lcrypto" >&5
26637-
printf "%s\n" "$ac_cv_lib_ssl_SSL_new_lcrypto" >&6; }
26638-
if test "x$ac_cv_lib_ssl_SSL_new_lcrypto" = xyes
26528+
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ssl_SSL_new" >&5
26529+
printf "%s\n" "$ac_cv_lib_ssl_SSL_new" >&6; }
26530+
if test "x$ac_cv_lib_ssl_SSL_new" = xyes
2663926531
then :
2664026532

2664126533
# Check OPENSSL_VERSION_NUMBER in headers
@@ -27045,7 +26937,7 @@ fi
2704526937
libssl="`$PKG_CONFIG --libs-only-l wolfssl | sed 's/^ *-l//'`"
2704626938
libssl_extra=`echo $libssl | sed 's/^[^ ]* *//'`
2704726939
libssl=`echo $libssl | sed 's/ .*//'`
27048-
as_ac_Lib=`printf "%s\n" "ac_cv_lib_$libssl""_wolfSSL_new$libssl_extra" | sed "$as_sed_sh"`
26940+
as_ac_Lib=`printf "%s\n" "ac_cv_lib_$libssl""_wolfSSL_new" | sed "$as_sed_sh"`
2704926941
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for wolfSSL_new in -l$libssl" >&5
2705026942
printf %s "checking for wolfSSL_new in -l$libssl... " >&6; }
2705126943
if eval test \${$as_ac_Lib+y}
@@ -30047,10 +29939,9 @@ then :
3004729939
# Check for pam_start() in libpam first, then for pam_appl.h.
3004829940
#
3004929941
found_pam_lib=no
30050-
as_ac_Lib=`printf "%s\n" "ac_cv_lib_pam_pam_start$lt_cv_dlopen_libs" | sed "$as_sed_sh"`
30051-
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for pam_start in -lpam" >&5
29942+
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for pam_start in -lpam" >&5
3005229943
printf %s "checking for pam_start in -lpam... " >&6; }
30053-
if eval test \${$as_ac_Lib+y}
29944+
if test ${ac_cv_lib_pam_pam_start+y}
3005429945
then :
3005529946
printf %s "(cached) " >&6
3005629947
else case e in #(
@@ -30079,20 +29970,19 @@ return pam_start ();
3007929970
_ACEOF
3008029971
if ac_fn_c_try_link "$LINENO"
3008129972
then :
30082-
eval "$as_ac_Lib=yes"
29973+
ac_cv_lib_pam_pam_start=yes
3008329974
else case e in #(
30084-
e) eval "$as_ac_Lib=no" ;;
29975+
e) ac_cv_lib_pam_pam_start=no ;;
3008529976
esac
3008629977
fi
3008729978
rm -f core conftest.err conftest.$ac_objext conftest.beam \
3008829979
conftest$ac_exeext conftest.$ac_ext
3008929980
LIBS=$ac_check_lib_save_LIBS ;;
3009029981
esac
3009129982
fi
30092-
eval ac_res=\$$as_ac_Lib
30093-
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
30094-
printf "%s\n" "$ac_res" >&6; }
30095-
if eval test \"x\$"$as_ac_Lib"\" = x"yes"
29983+
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_pam_pam_start" >&5
29984+
printf "%s\n" "$ac_cv_lib_pam_pam_start" >&6; }
29985+
if test "x$ac_cv_lib_pam_pam_start" = xyes
3009629986
then :
3009729987
found_pam_lib=yes
3009829988
fi
@@ -38973,8 +38863,6 @@ hardcode_direct_absolute='`$ECHO "$hardcode_direct_absolute" | $SED "$delay_sing
3897338863
hardcode_minus_L='`$ECHO "$hardcode_minus_L" | $SED "$delay_single_quote_subst"`'
3897438864
hardcode_shlibpath_var='`$ECHO "$hardcode_shlibpath_var" | $SED "$delay_single_quote_subst"`'
3897538865
hardcode_automatic='`$ECHO "$hardcode_automatic" | $SED "$delay_single_quote_subst"`'
38976-
fix_hardcoded_libdir_flag_spec='`$ECHO "$fix_hardcoded_libdir_flag_spec" | $SED "$delay_single_quote_subst"`'
38977-
fix_hardcoded_libdir_flag_spec_ld='`$ECHO "$fix_hardcoded_libdir_flag_spec_ld" | $SED "$delay_single_quote_subst"`'
3897838866
inherit_rpath='`$ECHO "$inherit_rpath" | $SED "$delay_single_quote_subst"`'
3897938867
link_all_deplibs='`$ECHO "$link_all_deplibs" | $SED "$delay_single_quote_subst"`'
3898038868
always_export_symbols='`$ECHO "$always_export_symbols" | $SED "$delay_single_quote_subst"`'
@@ -39080,8 +38968,6 @@ allow_undefined_flag \
3908038968
no_undefined_flag \
3908138969
hardcode_libdir_flag_spec \
3908238970
hardcode_libdir_separator \
39083-
fix_hardcoded_libdir_flag_spec \
39084-
fix_hardcoded_libdir_flag_spec_ld \
3908538971
exclude_expsyms \
3908638972
include_expsyms \
3908738973
file_list_spec \
@@ -40172,12 +40058,6 @@ hardcode_shlibpath_var=$hardcode_shlibpath_var
4017240058
# against it.
4017340059
hardcode_automatic=$hardcode_automatic
4017440060

40175-
# Flag to modify a path being hardcoded into the resulting binary.
40176-
fix_hardcoded_libdir_flag_spec=$lt_fix_hardcoded_libdir_flag_spec
40177-
40178-
# If ld is used when linking,flag to modify a path being hardcoded into the resulting binary.
40179-
fix_hardcoded_libdir_flag_spec_ld=$lt_fix_hardcoded_libdir_flag_spec_ld
40180-
4018140061
# Set to yes if linker adds runtime paths of dependent libraries
4018240062
# to runtime path list.
4018340063
inherit_rpath=$inherit_rpath

0 commit comments

Comments
 (0)