m4trace:/home/user/Open2305Lime2024-eap235/staging_dir/host/share/aclocal/largefile.m4:14: -1- AC_DEFUN([gl_SET_LARGEFILE_SOURCE], [ AC_REQUIRE([AC_CANONICAL_HOST]) AC_FUNC_FSEEKO case "$host_os" in hpux*) AC_DEFINE([_LARGEFILE_SOURCE], [1], [Define to 1 to make fseeko visible on some hosts (e.g. glibc 2.2).]) ;; esac ]) m4trace:/home/user/Open2305Lime2024-eap235/staging_dir/host/share/aclocal/largefile.m4:27: -1- AC_DEFUN([_AC_SYS_YEAR2038_TEST_CODE], [[ #include /* Check that time_t can represent 2**32 - 1 correctly. */ #define LARGE_TIME_T \\ ((time_t) (((time_t) 1 << 30) - 1 + 3 * ((time_t) 1 << 30))) int verify_time_t_range[(LARGE_TIME_T / 65537 == 65535 && LARGE_TIME_T % 65537 == 0) ? 1 : -1]; ]]) m4trace:/home/user/Open2305Lime2024-eap235/staging_dir/host/share/aclocal/largefile.m4:27: -1- AC_DEFUN([_AC_SYS_YEAR2038_PROBE], [AC_CACHE_CHECK([for $CC option for timestamps after 2038], [ac_cv_sys_year2038_opts], [ac_save_CPPFLAGS="$CPPFLAGS" ac_opt_found=no for ac_opt in _AC_SYS_YEAR2038_OPTIONS; do AS_IF([test x"$ac_opt" != x"none needed"], [CPPFLAGS="$ac_save_CPPFLAGS $ac_opt"]) AC_COMPILE_IFELSE([AC_LANG_PROGRAM([_AC_SYS_YEAR2038_TEST_CODE])], [ac_cv_sys_year2038_opts="$ac_opt" ac_opt_found=yes]) test $ac_opt_found = no || break done CPPFLAGS="$ac_save_CPPFLAGS" test $ac_opt_found = yes || ac_cv_sys_year2038_opts="support not detected"]) ac_have_year2038=yes AS_CASE([$ac_cv_sys_year2038_opts], ["none needed"], [], ["support not detected"], [ac_have_year2038=no], ["-D_TIME_BITS=64"], [AC_DEFINE([_TIME_BITS], [64], [Number of bits in time_t, on hosts where this is settable.])], ["-D__MINGW_USE_VC2005_COMPAT"], [AC_DEFINE([__MINGW_USE_VC2005_COMPAT], [1], [Define to 1 on platforms where this makes time_t a 64-bit type.])], ["-U_USE_32_BIT_TIME_T"*], [AC_MSG_FAILURE(m4_text_wrap( [the 'time_t' type is currently forced to be 32-bit. It will stop working after mid-January 2038. Remove _USE_32BIT_TIME_T from the compiler flags.], [], [], [55]))], [AC_MSG_ERROR( [internal error: bad value for \$ac_cv_sys_year2038_opts])]) ]) m4trace:/home/user/Open2305Lime2024-eap235/staging_dir/host/share/aclocal/largefile.m4:27: -1- AC_DEFUN([AC_SYS_YEAR2038], [AC_REQUIRE([AC_SYS_LARGEFILE])dnl AS_IF([test "$enable_year2038,$ac_have_year2038,$cross_compiling" = yes,no,no], [# If we're not cross compiling and 'touch' works with a large # timestamp, then we can presume the system supports wider time_t # *somehow* and we just weren't able to detect it. One common # case that we deliberately *don't* probe for is a system that # supports both 32- and 64-bit ABIs but only the 64-bit ABI offers # wide time_t. (It would be inappropriate for us to override an # intentional use of -m32.) Error out, demanding use of # --disable-year2038 if this is intentional. AS_IF([TZ=UTC0 touch -t 210602070628.15 conftest.time 2>/dev/null], [AS_CASE([`TZ=UTC0 LC_ALL=C ls -l conftest.time 2>/dev/null`], [*'Feb 7 2106'* | *'Feb 7 17:10'*], [AC_MSG_FAILURE(m4_text_wrap( [this system appears to support timestamps after mid-January 2038, but no mechanism for enabling wide 'time_t' was detected. Did you mean to build a 64-bit binary? (E.g., 'CC="${CC} -m64"'.) To proceed with 32-bit time_t, configure with '--disable-year2038'.], [], [], [55]))])])])]) m4trace:/home/user/Open2305Lime2024-eap235/staging_dir/host/share/aclocal/largefile.m4:27: -1- AC_DEFUN([AC_SYS_YEAR2038_RECOMMENDED], [AC_REQUIRE([AC_SYS_YEAR2038])dnl AS_IF([test "$enable_year2038,$ac_have_year2038" = yes,no], [AC_MSG_FAILURE(m4_text_wrap( [could not enable timestamps after mid-January 2038. This package recommends support for these later timestamps. However, to proceed with signed 32-bit time_t even though it will fail then, configure with '--disable-year2038'.], [], [], [55]))])]) m4trace:/home/user/Open2305Lime2024-eap235/staging_dir/host/share/aclocal/largefile.m4:27: -1- AC_DEFUN([_AC_SYS_LARGEFILE_PROBE], [AC_CACHE_CHECK([for $CC option to enable large file support], [ac_cv_sys_largefile_opts], [ac_save_CC="$CC" ac_opt_found=no for ac_opt in _AC_SYS_LARGEFILE_OPTIONS; do AS_IF([test x"$ac_opt" != x"none needed"], [CC="$ac_save_CC $ac_opt"]) AC_COMPILE_IFELSE([AC_LANG_PROGRAM([_AC_SYS_LARGEFILE_TEST_CODE])], [AS_IF([test x"$ac_opt" = x"none needed"], [# GNU/Linux s390x and alpha need _FILE_OFFSET_BITS=64 for wide ino_t. CC="$CC -DFTYPE=ino_t" AC_COMPILE_IFELSE([], [], [CC="$CC -D_FILE_OFFSET_BITS=64" AC_COMPILE_IFELSE([], [ac_opt='-D_FILE_OFFSET_BITS=64'])])]) ac_cv_sys_largefile_opts=$ac_opt ac_opt_found=yes]) test $ac_opt_found = no || break done CC="$ac_save_CC" dnl Gnulib implements large file support for native Windows, based on the dnl variables WINDOWS_64_BIT_OFF_T, WINDOWS_64_BIT_ST_SIZE. m4_ifdef([gl_LARGEFILE], [ AC_REQUIRE([AC_CANONICAL_HOST]) if test $ac_opt_found != yes; then AS_CASE([$host_os], [mingw* | windows*], [ac_cv_sys_largefile_opts="supported through gnulib" ac_opt_found=yes] ) fi ]) test $ac_opt_found = yes || ac_cv_sys_largefile_opts="support not detected"]) ac_have_largefile=yes AS_CASE([$ac_cv_sys_largefile_opts], ["none needed"], [], ["supported through gnulib"], [], ["support not detected"], [ac_have_largefile=no], ["-D_FILE_OFFSET_BITS=64"], [AC_DEFINE([_FILE_OFFSET_BITS], [64], [Number of bits in a file offset, on hosts where this is settable.])], ["-D_LARGE_FILES=1"], [AC_DEFINE([_LARGE_FILES], [1], [Define to 1 on platforms where this makes off_t a 64-bit type.])], ["-n32"], [CC="$CC -n32"], [AC_MSG_ERROR( [internal error: bad value for \$ac_cv_sys_largefile_opts])]) AS_IF([test "$enable_year2038" != no], [_AC_SYS_YEAR2038_PROBE]) AC_CONFIG_COMMANDS_PRE([_AC_SYS_YEAR2038_ENABLE])]) m4trace:/home/user/Open2305Lime2024-eap235/staging_dir/host/share/aclocal/largefile.m4:27: -1- AC_DEFUN([AC_SYS_LARGEFILE], [AC_ARG_ENABLE([largefile], [AS_HELP_STRING([--disable-largefile], [omit support for large files])])dnl AS_IF([test "$enable_largefile,$enable_year2038" != no,no], [_AC_SYS_LARGEFILE_PROBE])]) m4trace:/home/user/Open2305Lime2024-eap235/staging_dir/host/share/aclocal/largefile.m4:304: -1- AC_DEFUN([gl_LARGEFILE], [ AC_REQUIRE([AC_CANONICAL_HOST]) case "$host_os" in mingw* | windows*) dnl Native Windows. dnl mingw64 defines off_t to a 64-bit type already, if dnl _FILE_OFFSET_BITS=64, which is ensured by AC_SYS_LARGEFILE. AC_CACHE_CHECK([for 64-bit off_t], [gl_cv_type_off_t_64], [AC_COMPILE_IFELSE( [AC_LANG_PROGRAM( [[#include int verify_off_t_size[sizeof (off_t) >= 8 ? 1 : -1]; ]], [[]])], [gl_cv_type_off_t_64=yes], [gl_cv_type_off_t_64=no]) ]) if test $gl_cv_type_off_t_64 = no; then WINDOWS_64_BIT_OFF_T=1 else WINDOWS_64_BIT_OFF_T=0 fi dnl Some mingw versions define, if _FILE_OFFSET_BITS=64, 'struct stat' dnl to 'struct _stat32i64' or 'struct _stat64' (depending on dnl _USE_32BIT_TIME_T), which has a 32-bit st_size member. AC_CACHE_CHECK([for 64-bit st_size], [gl_cv_member_st_size_64], [AC_COMPILE_IFELSE( [AC_LANG_PROGRAM( [[#include struct stat buf; int verify_st_size_size[sizeof (buf.st_size) >= 8 ? 1 : -1]; ]], [[]])], [gl_cv_member_st_size_64=yes], [gl_cv_member_st_size_64=no]) ]) if test $gl_cv_member_st_size_64 = no; then WINDOWS_64_BIT_ST_SIZE=1 else WINDOWS_64_BIT_ST_SIZE=0 fi ;; *) dnl Nothing to do on gnulib's side. dnl A 64-bit off_t is dnl - already the default on Mac OS X, FreeBSD, NetBSD, OpenBSD, IRIX, dnl OSF/1, Cygwin, dnl - enabled by _FILE_OFFSET_BITS=64 (ensured by AC_SYS_LARGEFILE) on dnl glibc, HP-UX, Solaris, dnl - enabled by _LARGE_FILES=1 (ensured by AC_SYS_LARGEFILE) on AIX, dnl - impossible to achieve on Minix 3.1.8. WINDOWS_64_BIT_OFF_T=0 WINDOWS_64_BIT_ST_SIZE=0 ;; esac ]) m4trace:/home/user/Open2305Lime2024-eap235/staging_dir/host/share/aclocal/ltargz.m4:13: -1- AC_DEFUN([LT_FUNC_ARGZ], [ dnl Required for use of '$SED' in Cygwin configuration. AC_REQUIRE([AC_PROG_SED])dnl AC_CHECK_HEADERS([argz.h], [], [], [AC_INCLUDES_DEFAULT]) AC_CHECK_TYPES([error_t], [], [AC_DEFINE([error_t], [int], [Define to a type to use for 'error_t' if it is not otherwise available.]) AC_DEFINE([__error_t_defined], [1], [Define so that glibc/gnulib argp.h does not typedef error_t.])], [#if defined(HAVE_ARGZ_H) # include #endif]) LT_ARGZ_H= AC_CHECK_FUNCS([argz_add argz_append argz_count argz_create_sep argz_insert \ argz_next argz_stringify], [], [LT_ARGZ_H=lt__argz.h; AC_LIBOBJ([lt__argz])]) dnl if have system argz functions, allow forced use of dnl libltdl-supplied implementation (and default to do so dnl on "known bad" systems). Could use a runtime check, but dnl (a) detecting malloc issues is notoriously unreliable dnl (b) only known system that declares argz functions, dnl provides them, yet they are broken, is cygwin dnl releases prior to 16-Mar-2007 (1.5.24 and earlier) dnl So, it's more straightforward simply to special case dnl this for known bad systems. AS_IF([test -z "$LT_ARGZ_H"], [AC_CACHE_CHECK( [if argz actually works], [lt_cv_sys_argz_works], [[case $host_os in #( *cygwin*) lt_cv_sys_argz_works=no if test no != "$cross_compiling"; then lt_cv_sys_argz_works="guessing no" else lt_sed_extract_leading_digits='s/^\([0-9\.]*\).*/\1/' save_IFS=$IFS IFS=-. set x `uname -r | $SED -e "$lt_sed_extract_leading_digits"` IFS=$save_IFS lt_os_major=${2-0} lt_os_minor=${3-0} lt_os_micro=${4-0} if test 1 -lt "$lt_os_major" \ || { test 1 -eq "$lt_os_major" \ && { test 5 -lt "$lt_os_minor" \ || { test 5 -eq "$lt_os_minor" \ && test 24 -lt "$lt_os_micro"; }; }; }; then lt_cv_sys_argz_works=yes fi fi ;; #( *) lt_cv_sys_argz_works=yes ;; esac]]) AS_IF([test yes = "$lt_cv_sys_argz_works"], [AC_DEFINE([HAVE_WORKING_ARGZ], 1, [This value is set to 1 to indicate that the system argz facility works])], [LT_ARGZ_H=lt__argz.h AC_LIBOBJ([lt__argz])])]) AC_SUBST([LT_ARGZ_H]) ]) m4trace:/home/user/Open2305Lime2024-eap235/staging_dir/host/share/aclocal/ltdl.m4:17: -1- AC_DEFUN([LT_CONFIG_LTDL_DIR], [AC_BEFORE([$0], [LTDL_INIT]) _$0($*) ]) m4trace:/home/user/Open2305Lime2024-eap235/staging_dir/host/share/aclocal/ltdl.m4:69: -1- AC_DEFUN([LTDL_CONVENIENCE], [AC_BEFORE([$0], [LTDL_INIT])dnl dnl Although the argument is deprecated and no longer documented, dnl LTDL_CONVENIENCE used to take a DIRECTORY orgument, if we have one dnl here make sure it is the same as any other declaration of libltdl's dnl location! This also ensures lt_ltdl_dir is set when configure.ac is dnl not yet using an explicit LT_CONFIG_LTDL_DIR. m4_ifval([$1], [_LT_CONFIG_LTDL_DIR([$1])])dnl _$0() ]) m4trace:/home/user/Open2305Lime2024-eap235/staging_dir/host/share/aclocal/ltdl.m4:82: -1- AU_DEFUN([AC_LIBLTDL_CONVENIENCE], [_LT_CONFIG_LTDL_DIR([m4_default([$1], [libltdl])]) _LTDL_CONVENIENCE]) m4trace:/home/user/Open2305Lime2024-eap235/staging_dir/host/share/aclocal/ltdl.m4:82: -1- AC_DEFUN([AC_LIBLTDL_CONVENIENCE], [m4_warn([obsolete], [The macro `AC_LIBLTDL_CONVENIENCE' is obsolete. You should run autoupdate.])dnl _LT_CONFIG_LTDL_DIR([m4_default([$1], [libltdl])]) _LTDL_CONVENIENCE]) m4trace:/home/user/Open2305Lime2024-eap235/staging_dir/host/share/aclocal/ltdl.m4:125: -1- AC_DEFUN([LTDL_INSTALLABLE], [AC_BEFORE([$0], [LTDL_INIT])dnl dnl Although the argument is deprecated and no longer documented, dnl LTDL_INSTALLABLE used to take a DIRECTORY orgument, if we have one dnl here make sure it is the same as any other declaration of libltdl's dnl location! This also ensures lt_ltdl_dir is set when configure.ac is dnl not yet using an explicit LT_CONFIG_LTDL_DIR. m4_ifval([$1], [_LT_CONFIG_LTDL_DIR([$1])])dnl _$0() ]) m4trace:/home/user/Open2305Lime2024-eap235/staging_dir/host/share/aclocal/ltdl.m4:138: -1- AU_DEFUN([AC_LIBLTDL_INSTALLABLE], [_LT_CONFIG_LTDL_DIR([m4_default([$1], [libltdl])]) _LTDL_INSTALLABLE]) m4trace:/home/user/Open2305Lime2024-eap235/staging_dir/host/share/aclocal/ltdl.m4:138: -1- AC_DEFUN([AC_LIBLTDL_INSTALLABLE], [m4_warn([obsolete], [The macro `AC_LIBLTDL_INSTALLABLE' is obsolete. You should run autoupdate.])dnl _LT_CONFIG_LTDL_DIR([m4_default([$1], [libltdl])]) _LTDL_INSTALLABLE]) m4trace:/home/user/Open2305Lime2024-eap235/staging_dir/host/share/aclocal/ltdl.m4:214: -1- AC_DEFUN([_LT_LIBOBJ], [ m4_pattern_allow([^_LT_LIBOBJS$]) _LT_LIBOBJS="$_LT_LIBOBJS $1.$ac_objext" ]) m4trace:/home/user/Open2305Lime2024-eap235/staging_dir/host/share/aclocal/ltdl.m4:227: -1- AC_DEFUN([LTDL_INIT], [dnl Parse OPTIONS _LT_SET_OPTIONS([$0], [$1]) dnl We need to keep our own list of libobjs separate from our parent project, dnl and the easiest way to do that is redefine the AC_LIBOBJs macro while dnl we look for our own LIBOBJs. m4_pushdef([AC_LIBOBJ], m4_defn([_LT_LIBOBJ])) m4_pushdef([AC_LIBSOURCES]) dnl If not otherwise defined, default to the 1.5.x compatible subproject mode: m4_if(_LTDL_MODE, [], [m4_define([_LTDL_MODE], m4_default([$2], [subproject])) m4_if([-1], [m4_bregexp(_LTDL_MODE, [\(subproject\|\(non\)?recursive\)])], [m4_fatal([unknown libltdl mode: ]_LTDL_MODE)])]) AC_ARG_WITH([included_ltdl], [AS_HELP_STRING([--with-included-ltdl], [use the GNU ltdl sources included here])]) if test yes != "$with_included_ltdl"; then # We are not being forced to use the included libltdl sources, so # decide whether there is a useful installed version we can use. AC_CHECK_HEADER([ltdl.h], [AC_CHECK_DECL([lt_dlinterface_register], [AC_CHECK_LIB([ltdl], [lt_dladvise_preload], [with_included_ltdl=no], [with_included_ltdl=yes])], [with_included_ltdl=yes], [AC_INCLUDES_DEFAULT #include ])], [with_included_ltdl=yes], [AC_INCLUDES_DEFAULT] ) fi dnl If neither LT_CONFIG_LTDL_DIR, LTDL_CONVENIENCE nor LTDL_INSTALLABLE dnl was called yet, then for old times' sake, we assume libltdl is in an dnl eponymous directory: AC_PROVIDE_IFELSE([LT_CONFIG_LTDL_DIR], [], [_LT_CONFIG_LTDL_DIR([libltdl])]) AC_ARG_WITH([ltdl_include], [AS_HELP_STRING([--with-ltdl-include=DIR], [use the ltdl headers installed in DIR])]) if test -n "$with_ltdl_include"; then if test -f "$with_ltdl_include/ltdl.h"; then : else AC_MSG_ERROR([invalid ltdl include directory: '$with_ltdl_include']) fi else with_ltdl_include=no fi AC_ARG_WITH([ltdl_lib], [AS_HELP_STRING([--with-ltdl-lib=DIR], [use the libltdl.la installed in DIR])]) if test -n "$with_ltdl_lib"; then if test -f "$with_ltdl_lib/libltdl.la"; then : else AC_MSG_ERROR([invalid ltdl library directory: '$with_ltdl_lib']) fi else with_ltdl_lib=no fi case ,$with_included_ltdl,$with_ltdl_include,$with_ltdl_lib, in ,yes,no,no,) m4_case(m4_default(_LTDL_TYPE, [convenience]), [convenience], [_LTDL_CONVENIENCE], [installable], [_LTDL_INSTALLABLE], [m4_fatal([unknown libltdl build type: ]_LTDL_TYPE)]) ;; ,no,no,no,) # If the included ltdl is not to be used, then use the # preinstalled libltdl we found. AC_DEFINE([HAVE_LTDL], [1], [Define this if a modern libltdl is already installed]) LIBLTDL=-lltdl LTDLDEPS= LTDLINCL= ;; ,no*,no,*) AC_MSG_ERROR(['--with-ltdl-include' and '--with-ltdl-lib' options must be used together]) ;; *) with_included_ltdl=no LIBLTDL="-L$with_ltdl_lib -lltdl" LTDLDEPS= LTDLINCL=-I$with_ltdl_include ;; esac INCLTDL=$LTDLINCL # Report our decision... AC_MSG_CHECKING([where to find libltdl headers]) AC_MSG_RESULT([$LTDLINCL]) AC_MSG_CHECKING([where to find libltdl library]) AC_MSG_RESULT([$LIBLTDL]) _LTDL_SETUP dnl restore autoconf definition. m4_popdef([AC_LIBOBJ]) m4_popdef([AC_LIBSOURCES]) AC_CONFIG_COMMANDS_PRE([ _ltdl_libobjs= _ltdl_ltlibobjs= if test -n "$_LT_LIBOBJS"; then # Remove the extension. _lt_sed_drop_objext='s/\.o$//;s/\.obj$//' for i in `for i in $_LT_LIBOBJS; do echo "$i"; done | $SED "$_lt_sed_drop_objext" | sort -u`; do _ltdl_libobjs="$_ltdl_libobjs $lt_libobj_prefix$i.$ac_objext" _ltdl_ltlibobjs="$_ltdl_ltlibobjs $lt_libobj_prefix$i.lo" done fi AC_SUBST([ltdl_LIBOBJS], [$_ltdl_libobjs]) AC_SUBST([ltdl_LTLIBOBJS], [$_ltdl_ltlibobjs]) ]) # Only expand once: m4_define([LTDL_INIT]) ]) m4trace:/home/user/Open2305Lime2024-eap235/staging_dir/host/share/aclocal/ltdl.m4:353: -1- AU_DEFUN([AC_LIB_LTDL], [LTDL_INIT($@)]) m4trace:/home/user/Open2305Lime2024-eap235/staging_dir/host/share/aclocal/ltdl.m4:353: -1- AC_DEFUN([AC_LIB_LTDL], [m4_warn([obsolete], [The macro `AC_LIB_LTDL' is obsolete. You should run autoupdate.])dnl LTDL_INIT($@)]) m4trace:/home/user/Open2305Lime2024-eap235/staging_dir/host/share/aclocal/ltdl.m4:354: -1- AU_DEFUN([AC_WITH_LTDL], [LTDL_INIT($@)]) m4trace:/home/user/Open2305Lime2024-eap235/staging_dir/host/share/aclocal/ltdl.m4:354: -1- AC_DEFUN([AC_WITH_LTDL], [m4_warn([obsolete], [The macro `AC_WITH_LTDL' is obsolete. You should run autoupdate.])dnl LTDL_INIT($@)]) m4trace:/home/user/Open2305Lime2024-eap235/staging_dir/host/share/aclocal/ltdl.m4:355: -1- AU_DEFUN([LT_WITH_LTDL], [LTDL_INIT($@)]) m4trace:/home/user/Open2305Lime2024-eap235/staging_dir/host/share/aclocal/ltdl.m4:355: -1- AC_DEFUN([LT_WITH_LTDL], [m4_warn([obsolete], [The macro `LT_WITH_LTDL' is obsolete. You should run autoupdate.])dnl LTDL_INIT($@)]) m4trace:/home/user/Open2305Lime2024-eap235/staging_dir/host/share/aclocal/ltdl.m4:368: -1- AC_DEFUN([_LTDL_SETUP], [AC_REQUIRE([AC_PROG_CC])dnl AC_REQUIRE([LT_SYS_MODULE_EXT])dnl AC_REQUIRE([LT_SYS_MODULE_PATH])dnl AC_REQUIRE([LT_SYS_DLSEARCH_PATH])dnl AC_REQUIRE([LT_LIB_DLLOAD])dnl AC_REQUIRE([LT_SYS_SYMBOL_USCORE])dnl AC_REQUIRE([LT_FUNC_DLSYM_USCORE])dnl AC_REQUIRE([LT_SYS_DLOPEN_DEPLIBS])dnl AC_REQUIRE([LT_FUNC_ARGZ])dnl m4_require([_LT_CHECK_OBJDIR])dnl m4_require([_LT_HEADER_DLFCN])dnl m4_require([_LT_CHECK_DLPREOPEN])dnl m4_require([_LT_DECL_SED])dnl dnl Don't require this, or it will be expanded earlier than the code dnl that sets the variables it relies on: _LT_ENABLE_INSTALL dnl _LTDL_MODE specific code must be called at least once: _LTDL_MODE_DISPATCH # In order that ltdl.c can compile, find out the first AC_CONFIG_HEADERS # the user used. This is so that ltdl.h can pick up the parent projects # config.h file, The first file in AC_CONFIG_HEADERS must contain the # definitions required by ltdl.c. # FIXME: Remove use of undocumented AC_LIST_HEADERS (2.59 compatibility). AC_CONFIG_COMMANDS_PRE([dnl m4_pattern_allow([^LT_CONFIG_H$])dnl m4_ifset([AH_HEADER], [LT_CONFIG_H=AH_HEADER], [m4_ifset([AC_LIST_HEADERS], [LT_CONFIG_H=`echo "AC_LIST_HEADERS" | $SED 's|^[[ ]]*||;s|[[ :]].*$||'`], [])])]) AC_SUBST([LT_CONFIG_H]) AC_CHECK_HEADERS([unistd.h dl.h sys/dl.h dld.h mach-o/dyld.h dirent.h], [], [], [AC_INCLUDES_DEFAULT]) AC_CHECK_FUNCS([closedir opendir readdir], [], [AC_LIBOBJ([lt__dirent])]) AC_CHECK_FUNCS([strlcat strlcpy], [], [AC_LIBOBJ([lt__strl])]) m4_pattern_allow([LT_LIBEXT])dnl AC_DEFINE_UNQUOTED([LT_LIBEXT],["$libext"],[The archive extension]) name= eval "lt_libprefix=\"$libname_spec\"" m4_pattern_allow([LT_LIBPREFIX])dnl AC_DEFINE_UNQUOTED([LT_LIBPREFIX],["$lt_libprefix"],[The archive prefix]) name=ltdl eval "LTDLOPEN=\"$libname_spec\"" AC_SUBST([LTDLOPEN]) ]) m4trace:/home/user/Open2305Lime2024-eap235/staging_dir/host/share/aclocal/ltdl.m4:444: -1- AC_DEFUN([LT_SYS_DLOPEN_DEPLIBS], [AC_REQUIRE([AC_CANONICAL_HOST])dnl AC_CACHE_CHECK([whether deplibs are loaded by dlopen], [lt_cv_sys_dlopen_deplibs], [# PORTME does your system automatically load deplibs for dlopen? # or its logical equivalent (e.g. shl_load for HP-UX < 11) # For now, we just catch OSes we know something about -- in the # future, we'll try test this programmatically. lt_cv_sys_dlopen_deplibs=unknown case $host_os in aix3*|aix4.1.*|aix4.2.*) # Unknown whether this is true for these versions of AIX, but # we want this 'case' here to explicitly catch those versions. lt_cv_sys_dlopen_deplibs=unknown ;; aix[[4-9]]*) lt_cv_sys_dlopen_deplibs=yes ;; amigaos*) case $host_cpu in powerpc) lt_cv_sys_dlopen_deplibs=no ;; esac ;; bitrig*) lt_cv_sys_dlopen_deplibs=yes ;; darwin*) # Assuming the user has installed a libdl from somewhere, this is true # If you are looking for one http://www.opendarwin.org/projects/dlcompat lt_cv_sys_dlopen_deplibs=yes ;; freebsd* | dragonfly* | midnightbsd*) lt_cv_sys_dlopen_deplibs=yes ;; gnu* | linux* | k*bsd*-gnu | kopensolaris*-gnu) # GNU and its variants, using gnu ld.so (Glibc) lt_cv_sys_dlopen_deplibs=yes ;; hpux10*|hpux11*) lt_cv_sys_dlopen_deplibs=yes ;; interix*) lt_cv_sys_dlopen_deplibs=yes ;; irix[[12345]]*|irix6.[[01]]*) # Catch all versions of IRIX before 6.2, and indicate that we don't # know how it worked for any of those versions. lt_cv_sys_dlopen_deplibs=unknown ;; irix*) # The case above catches anything before 6.2, and it's known that # at 6.2 and later dlopen does load deplibs. lt_cv_sys_dlopen_deplibs=yes ;; netbsd*) lt_cv_sys_dlopen_deplibs=yes ;; openbsd*) lt_cv_sys_dlopen_deplibs=yes ;; osf[[1234]]*) # dlopen did load deplibs (at least at 4.x), but until the 5.x series, # it did *not* use an RPATH in a shared library to find objects the # library depends on, so we explicitly say 'no'. lt_cv_sys_dlopen_deplibs=no ;; osf5.0|osf5.0a|osf5.1) # dlopen *does* load deplibs and with the right loader patch applied # it even uses RPATH in a shared library to search for shared objects # that the library depends on, but there's no easy way to know if that # patch is installed. Since this is the case, all we can really # say is unknown -- it depends on the patch being installed. If # it is, this changes to 'yes'. Without it, it would be 'no'. lt_cv_sys_dlopen_deplibs=unknown ;; osf*) # the two cases above should catch all versions of osf <= 5.1. Read # the comments above for what we know about them. # At > 5.1, deplibs are loaded *and* any RPATH in a shared library # is used to find them so we can finally say 'yes'. lt_cv_sys_dlopen_deplibs=yes ;; qnx*) lt_cv_sys_dlopen_deplibs=yes ;; solaris*) lt_cv_sys_dlopen_deplibs=yes ;; sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*) libltdl_cv_sys_dlopen_deplibs=yes ;; esac ]) if test yes != "$lt_cv_sys_dlopen_deplibs"; then AC_DEFINE([LTDL_DLOPEN_DEPLIBS], [1], [Define if the OS needs help to load dependent libraries for dlopen().]) fi ]) m4trace:/home/user/Open2305Lime2024-eap235/staging_dir/host/share/aclocal/ltdl.m4:546: -1- AU_DEFUN([AC_LTDL_SYS_DLOPEN_DEPLIBS], [m4_if($#, 0, [LT_SYS_DLOPEN_DEPLIBS], [LT_SYS_DLOPEN_DEPLIBS($@)])], [], []) m4trace:/home/user/Open2305Lime2024-eap235/staging_dir/host/share/aclocal/ltdl.m4:546: -1- AC_DEFUN([AC_LTDL_SYS_DLOPEN_DEPLIBS], [m4_warn([obsolete], [The macro `AC_LTDL_SYS_DLOPEN_DEPLIBS' is obsolete. You should run autoupdate.])dnl m4_if($#, 0, [LT_SYS_DLOPEN_DEPLIBS], [LT_SYS_DLOPEN_DEPLIBS($@)])]) m4trace:/home/user/Open2305Lime2024-eap235/staging_dir/host/share/aclocal/ltdl.m4:553: -1- AC_DEFUN([LT_SYS_MODULE_EXT], [m4_require([_LT_SYS_DYNAMIC_LINKER])dnl AC_CACHE_CHECK([what extension is used for runtime loadable modules], [libltdl_cv_shlibext], [ module=yes eval libltdl_cv_shlibext=$shrext_cmds module=no eval libltdl_cv_shrext=$shrext_cmds ]) if test -n "$libltdl_cv_shlibext"; then m4_pattern_allow([LT_MODULE_EXT])dnl AC_DEFINE_UNQUOTED([LT_MODULE_EXT], ["$libltdl_cv_shlibext"], [Define to the extension used for runtime loadable modules, say, ".so".]) fi if test "$libltdl_cv_shrext" != "$libltdl_cv_shlibext"; then m4_pattern_allow([LT_SHARED_EXT])dnl AC_DEFINE_UNQUOTED([LT_SHARED_EXT], ["$libltdl_cv_shrext"], [Define to the shared library suffix, say, ".dylib".]) fi if test -n "$shared_archive_member_spec"; then m4_pattern_allow([LT_SHARED_LIB_MEMBER])dnl AC_DEFINE_UNQUOTED([LT_SHARED_LIB_MEMBER], ["($shared_archive_member_spec.o)"], [Define to the shared archive member specification, say "(shr.o)".]) fi ]) m4trace:/home/user/Open2305Lime2024-eap235/staging_dir/host/share/aclocal/ltdl.m4:581: -1- AU_DEFUN([AC_LTDL_SHLIBEXT], [m4_if($#, 0, [LT_SYS_MODULE_EXT], [LT_SYS_MODULE_EXT($@)])], [], []) m4trace:/home/user/Open2305Lime2024-eap235/staging_dir/host/share/aclocal/ltdl.m4:581: -1- AC_DEFUN([AC_LTDL_SHLIBEXT], [m4_warn([obsolete], [The macro `AC_LTDL_SHLIBEXT' is obsolete. You should run autoupdate.])dnl m4_if($#, 0, [LT_SYS_MODULE_EXT], [LT_SYS_MODULE_EXT($@)])]) m4trace:/home/user/Open2305Lime2024-eap235/staging_dir/host/share/aclocal/ltdl.m4:588: -1- AC_DEFUN([LT_SYS_MODULE_PATH], [m4_require([_LT_SYS_DYNAMIC_LINKER])dnl AC_CACHE_CHECK([what variable specifies run-time module search path], [lt_cv_module_path_var], [lt_cv_module_path_var=$shlibpath_var]) if test -n "$lt_cv_module_path_var"; then m4_pattern_allow([LT_MODULE_PATH_VAR])dnl AC_DEFINE_UNQUOTED([LT_MODULE_PATH_VAR], ["$lt_cv_module_path_var"], [Define to the name of the environment variable that determines the run-time module search path.]) fi ]) m4trace:/home/user/Open2305Lime2024-eap235/staging_dir/host/share/aclocal/ltdl.m4:600: -1- AU_DEFUN([AC_LTDL_SHLIBPATH], [m4_if($#, 0, [LT_SYS_MODULE_PATH], [LT_SYS_MODULE_PATH($@)])], [], []) m4trace:/home/user/Open2305Lime2024-eap235/staging_dir/host/share/aclocal/ltdl.m4:600: -1- AC_DEFUN([AC_LTDL_SHLIBPATH], [m4_warn([obsolete], [The macro `AC_LTDL_SHLIBPATH' is obsolete. You should run autoupdate.])dnl m4_if($#, 0, [LT_SYS_MODULE_PATH], [LT_SYS_MODULE_PATH($@)])]) m4trace:/home/user/Open2305Lime2024-eap235/staging_dir/host/share/aclocal/ltdl.m4:607: -1- AC_DEFUN([LT_SYS_DLSEARCH_PATH], [m4_require([_LT_SYS_DYNAMIC_LINKER])dnl AC_CACHE_CHECK([for the default library search path], [lt_cv_sys_dlsearch_path], [lt_cv_sys_dlsearch_path=$sys_lib_dlsearch_path_spec]) if test -n "$lt_cv_sys_dlsearch_path"; then sys_dlsearch_path= for dir in $lt_cv_sys_dlsearch_path; do if test -z "$sys_dlsearch_path"; then sys_dlsearch_path=$dir else sys_dlsearch_path=$sys_dlsearch_path$PATH_SEPARATOR$dir fi done m4_pattern_allow([LT_DLSEARCH_PATH])dnl AC_DEFINE_UNQUOTED([LT_DLSEARCH_PATH], ["$sys_dlsearch_path"], [Define to the system default library search path.]) fi ]) m4trace:/home/user/Open2305Lime2024-eap235/staging_dir/host/share/aclocal/ltdl.m4:628: -1- AU_DEFUN([AC_LTDL_SYSSEARCHPATH], [m4_if($#, 0, [LT_SYS_DLSEARCH_PATH], [LT_SYS_DLSEARCH_PATH($@)])], [], []) m4trace:/home/user/Open2305Lime2024-eap235/staging_dir/host/share/aclocal/ltdl.m4:628: -1- AC_DEFUN([AC_LTDL_SYSSEARCHPATH], [m4_warn([obsolete], [The macro `AC_LTDL_SYSSEARCHPATH' is obsolete. You should run autoupdate.])dnl m4_if($#, 0, [LT_SYS_DLSEARCH_PATH], [LT_SYS_DLSEARCH_PATH($@)])]) m4trace:/home/user/Open2305Lime2024-eap235/staging_dir/host/share/aclocal/ltdl.m4:654: -1- AC_DEFUN([LT_LIB_DLLOAD], [m4_pattern_allow([^LT_DLLOADERS$]) LT_DLLOADERS= AC_SUBST([LT_DLLOADERS]) AC_LANG_PUSH([C]) lt_dlload_save_LIBS=$LIBS LIBADD_DLOPEN= AC_SEARCH_LIBS([dlopen], [dl], [AC_DEFINE([HAVE_LIBDL], [1], [Define if you have the libdl library or equivalent.]) if test "$ac_cv_search_dlopen" != "none required"; then LIBADD_DLOPEN=-ldl fi libltdl_cv_lib_dl_dlopen=yes LT_DLLOADERS="$LT_DLLOADERS ${lt_dlopen_dir+$lt_dlopen_dir/}dlopen.la"], [AC_LINK_IFELSE([AC_LANG_PROGRAM([[#if HAVE_DLFCN_H # include #endif ]], [[dlopen(0, 0);]])], [AC_DEFINE([HAVE_LIBDL], [1], [Define if you have the libdl library or equivalent.]) libltdl_cv_func_dlopen=yes LT_DLLOADERS="$LT_DLLOADERS ${lt_dlopen_dir+$lt_dlopen_dir/}dlopen.la"], [AC_CHECK_LIB([svld], [dlopen], [AC_DEFINE([HAVE_LIBDL], [1], [Define if you have the libdl library or equivalent.]) LIBADD_DLOPEN=-lsvld libltdl_cv_func_dlopen=yes LT_DLLOADERS="$LT_DLLOADERS ${lt_dlopen_dir+$lt_dlopen_dir/}dlopen.la"])])]) if test yes = "$libltdl_cv_func_dlopen" || test yes = "$libltdl_cv_lib_dl_dlopen" then lt_save_LIBS=$LIBS LIBS="$LIBS $LIBADD_DLOPEN" AC_CHECK_FUNCS([dlerror]) LIBS=$lt_save_LIBS fi AC_SUBST([LIBADD_DLOPEN]) LIBADD_SHL_LOAD= AC_CHECK_FUNC([shl_load], [AC_DEFINE([HAVE_SHL_LOAD], [1], [Define if you have the shl_load function.]) LT_DLLOADERS="$LT_DLLOADERS ${lt_dlopen_dir+$lt_dlopen_dir/}shl_load.la"], [AC_CHECK_LIB([dld], [shl_load], [AC_DEFINE([HAVE_SHL_LOAD], [1], [Define if you have the shl_load function.]) LT_DLLOADERS="$LT_DLLOADERS ${lt_dlopen_dir+$lt_dlopen_dir/}shl_load.la" LIBADD_SHL_LOAD=-ldld])]) AC_SUBST([LIBADD_SHL_LOAD]) case $host_os in darwin[[1567]].*) # We only want this for pre-Mac OS X 10.4. AC_CHECK_FUNC([_dyld_func_lookup], [AC_DEFINE([HAVE_DYLD], [1], [Define if you have the _dyld_func_lookup function.]) LT_DLLOADERS="$LT_DLLOADERS ${lt_dlopen_dir+$lt_dlopen_dir/}dyld.la"]) ;; beos*) LT_DLLOADERS="$LT_DLLOADERS ${lt_dlopen_dir+$lt_dlopen_dir/}load_add_on.la" ;; cygwin* | mingw* | pw32*) AC_CHECK_DECLS([cygwin_conv_path], [], [], [[#include ]]) LT_DLLOADERS="$LT_DLLOADERS ${lt_dlopen_dir+$lt_dlopen_dir/}loadlibrary.la" ;; esac AC_CHECK_LIB([dld], [dld_link], [AC_DEFINE([HAVE_DLD], [1], [Define if you have the GNU dld library.]) LT_DLLOADERS="$LT_DLLOADERS ${lt_dlopen_dir+$lt_dlopen_dir/}dld_link.la"]) AC_SUBST([LIBADD_DLD_LINK]) m4_pattern_allow([^LT_DLPREOPEN$]) LT_DLPREOPEN= if test -n "$LT_DLLOADERS" then for lt_loader in $LT_DLLOADERS; do LT_DLPREOPEN="$LT_DLPREOPEN-dlpreopen $lt_loader " done AC_DEFINE([HAVE_LIBDLLOADER], [1], [Define if libdlloader will be built on this platform]) fi AC_SUBST([LT_DLPREOPEN]) dnl This isn't used anymore, but set it for backwards compatibility LIBADD_DL="$LIBADD_DLOPEN $LIBADD_SHL_LOAD" AC_SUBST([LIBADD_DL]) LIBS=$lt_dlload_save_LIBS AC_LANG_POP ]) m4trace:/home/user/Open2305Lime2024-eap235/staging_dir/host/share/aclocal/ltdl.m4:749: -1- AU_DEFUN([AC_LTDL_DLLIB], [m4_if($#, 0, [LT_LIB_DLLOAD], [LT_LIB_DLLOAD($@)])], [], []) m4trace:/home/user/Open2305Lime2024-eap235/staging_dir/host/share/aclocal/ltdl.m4:749: -1- AC_DEFUN([AC_LTDL_DLLIB], [m4_warn([obsolete], [The macro `AC_LTDL_DLLIB' is obsolete. You should run autoupdate.])dnl m4_if($#, 0, [LT_LIB_DLLOAD], [LT_LIB_DLLOAD($@)])]) m4trace:/home/user/Open2305Lime2024-eap235/staging_dir/host/share/aclocal/ltdl.m4:757: -1- AC_DEFUN([LT_SYS_SYMBOL_USCORE], [m4_require([_LT_CMD_GLOBAL_SYMBOLS])dnl AC_CACHE_CHECK([for _ prefix in compiled symbols], [lt_cv_sys_symbol_underscore], [lt_cv_sys_symbol_underscore=no cat > conftest.$ac_ext <<_LT_EOF void nm_test_func(){} int main(){nm_test_func;return 0;} _LT_EOF if AC_TRY_EVAL(ac_compile); then # Now try to grab the symbols. ac_nlist=conftest.nm if AC_TRY_EVAL(NM conftest.$ac_objext \| $lt_cv_sys_global_symbol_pipe \> $ac_nlist) && test -s "$ac_nlist"; then # See whether the symbols have a leading underscore. if grep '^. _nm_test_func' "$ac_nlist" >/dev/null; then lt_cv_sys_symbol_underscore=yes else if grep '^. nm_test_func ' "$ac_nlist" >/dev/null; then : else echo "configure: cannot find nm_test_func in $ac_nlist" >&AS_MESSAGE_LOG_FD fi fi else echo "configure: cannot run $lt_cv_sys_global_symbol_pipe" >&AS_MESSAGE_LOG_FD fi else echo "configure: failed program was:" >&AS_MESSAGE_LOG_FD cat conftest.c >&AS_MESSAGE_LOG_FD fi rm -rf conftest* ]) sys_symbol_underscore=$lt_cv_sys_symbol_underscore AC_SUBST([sys_symbol_underscore]) ]) m4trace:/home/user/Open2305Lime2024-eap235/staging_dir/host/share/aclocal/ltdl.m4:794: -1- AU_DEFUN([AC_LTDL_SYMBOL_USCORE], [m4_if($#, 0, [LT_SYS_SYMBOL_USCORE], [LT_SYS_SYMBOL_USCORE($@)])], [], []) m4trace:/home/user/Open2305Lime2024-eap235/staging_dir/host/share/aclocal/ltdl.m4:794: -1- AC_DEFUN([AC_LTDL_SYMBOL_USCORE], [m4_warn([obsolete], [The macro `AC_LTDL_SYMBOL_USCORE' is obsolete. You should run autoupdate.])dnl m4_if($#, 0, [LT_SYS_SYMBOL_USCORE], [LT_SYS_SYMBOL_USCORE($@)])]) m4trace:/home/user/Open2305Lime2024-eap235/staging_dir/host/share/aclocal/ltdl.m4:801: -1- AC_DEFUN([LT_FUNC_DLSYM_USCORE], [AC_REQUIRE([_LT_COMPILER_PIC])dnl for lt_prog_compiler_wl AC_REQUIRE([LT_SYS_SYMBOL_USCORE])dnl for lt_cv_sys_symbol_underscore AC_REQUIRE([LT_SYS_MODULE_EXT])dnl for libltdl_cv_shlibext if test yes = "$lt_cv_sys_symbol_underscore"; then if test yes = "$libltdl_cv_func_dlopen" || test yes = "$libltdl_cv_lib_dl_dlopen"; then AC_CACHE_CHECK([whether we have to add an underscore for dlsym], [libltdl_cv_need_uscore], [libltdl_cv_need_uscore=unknown dlsym_uscore_save_LIBS=$LIBS LIBS="$LIBS $LIBADD_DLOPEN" libname=conftmod # stay within 8.3 filename limits! cat >$libname.$ac_ext <<_LT_EOF [#line $LINENO "configure" #include "confdefs.h" /* When -fvisibility=hidden is used, assume the code has been annotated correspondingly for the symbols needed. */ #if defined __GNUC__ && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3)) int fnord () __attribute__((visibility("default"))); #endif int fnord () { return 42; }] _LT_EOF # ltfn_module_cmds module_cmds # Execute tilde-delimited MODULE_CMDS with environment primed for # $module_cmds or $archive_cmds type content. ltfn_module_cmds () {( # subshell avoids polluting parent global environment module_cmds_save_ifs=$IFS; IFS='~' for cmd in @S|@1; do IFS=$module_cmds_save_ifs libobjs=$libname.$ac_objext; lib=$libname$libltdl_cv_shlibext rpath=/not-exists; soname=$libname$libltdl_cv_shlibext; output_objdir=. major=; versuffix=; verstring=; deplibs= ECHO=echo; wl=$lt_prog_compiler_wl; allow_undefined_flag= eval $cmd done IFS=$module_cmds_save_ifs )} # Compile a loadable module using libtool macro expansion results. $CC $pic_flag -c $libname.$ac_ext ltfn_module_cmds "${module_cmds:-$archive_cmds}" # Try to fetch fnord with dlsym(). libltdl_dlunknown=0; libltdl_dlnouscore=1; libltdl_dluscore=2 cat >conftest.$ac_ext <<_LT_EOF [#line $LINENO "configure" #include "confdefs.h" #if HAVE_DLFCN_H #include #endif #include #ifndef RTLD_GLOBAL # ifdef DL_GLOBAL # define RTLD_GLOBAL DL_GLOBAL # else # define RTLD_GLOBAL 0 # endif #endif #ifndef RTLD_NOW # ifdef DL_NOW # define RTLD_NOW DL_NOW # else # define RTLD_NOW 0 # endif #endif int main () { void *handle = dlopen ("`pwd`/$libname$libltdl_cv_shlibext", RTLD_GLOBAL|RTLD_NOW); int status = $libltdl_dlunknown; if (handle) { if (dlsym (handle, "fnord")) status = $libltdl_dlnouscore; else { if (dlsym (handle, "_fnord")) status = $libltdl_dluscore; else puts (dlerror ()); } dlclose (handle); } else puts (dlerror ()); return status; }] _LT_EOF if AC_TRY_EVAL(ac_link) && test -s "conftest$ac_exeext" 2>/dev/null; then (./conftest; exit; ) >&AS_MESSAGE_LOG_FD 2>/dev/null libltdl_status=$? case x$libltdl_status in x$libltdl_dlnouscore) libltdl_cv_need_uscore=no ;; x$libltdl_dluscore) libltdl_cv_need_uscore=yes ;; x*) libltdl_cv_need_uscore=unknown ;; esac fi rm -rf conftest* $libname* LIBS=$dlsym_uscore_save_LIBS ]) fi fi if test yes = "$libltdl_cv_need_uscore"; then AC_DEFINE([NEED_USCORE], [1], [Define if dlsym() requires a leading underscore in symbol names.]) fi ]) m4trace:/home/user/Open2305Lime2024-eap235/staging_dir/host/share/aclocal/ltdl.m4:908: -1- AU_DEFUN([AC_LTDL_DLSYM_USCORE], [m4_if($#, 0, [LT_FUNC_DLSYM_USCORE], [LT_FUNC_DLSYM_USCORE($@)])], [], []) m4trace:/home/user/Open2305Lime2024-eap235/staging_dir/host/share/aclocal/ltdl.m4:908: -1- AC_DEFUN([AC_LTDL_DLSYM_USCORE], [m4_warn([obsolete], [The macro `AC_LTDL_DLSYM_USCORE' is obsolete. You should run autoupdate.])dnl m4_if($#, 0, [LT_FUNC_DLSYM_USCORE], [LT_FUNC_DLSYM_USCORE($@)])]) m4trace:/home/user/Open2305Lime2024-eap235/staging_dir/host/share/aclocal-1.16/amversion.m4:14: -1- AC_DEFUN([AM_AUTOMAKE_VERSION], [am__api_version='1.16' dnl Some users find AM_AUTOMAKE_VERSION and mistake it for a way to dnl require some minimum version. Point them to the right macro. m4_if([$1], [1.16.5], [], [AC_FATAL([Do not call $0, use AM_INIT_AUTOMAKE([$1]).])])dnl ]) m4trace:/home/user/Open2305Lime2024-eap235/staging_dir/host/share/aclocal-1.16/amversion.m4:33: -1- AC_DEFUN([AM_SET_CURRENT_AUTOMAKE_VERSION], [AM_AUTOMAKE_VERSION([1.16.5])dnl m4_ifndef([AC_AUTOCONF_VERSION], [m4_copy([m4_PACKAGE_VERSION], [AC_AUTOCONF_VERSION])])dnl _AM_AUTOCONF_VERSION(m4_defn([AC_AUTOCONF_VERSION]))]) m4trace:/home/user/Open2305Lime2024-eap235/staging_dir/host/share/aclocal-1.16/auxdir.m4:47: -1- AC_DEFUN([AM_AUX_DIR_EXPAND], [AC_REQUIRE([AC_CONFIG_AUX_DIR_DEFAULT])dnl # Expand $ac_aux_dir to an absolute path. am_aux_dir=`cd "$ac_aux_dir" && pwd` ]) m4trace:/home/user/Open2305Lime2024-eap235/staging_dir/host/share/aclocal-1.16/cond-if.m4:23: -1- AC_DEFUN([AM_COND_IF], [m4_ifndef([_AM_COND_VALUE_$1], [m4_fatal([$0: no such condition "$1"])])dnl _AM_COND_IF([$1])dnl if test -z "$$1_TRUE"; then : m4_n([$2])[]dnl m4_ifval([$3], [_AM_COND_ELSE([$1])dnl else $3 ])dnl _AM_COND_ENDIF([$1])dnl fi[]dnl ]) m4trace:/home/user/Open2305Lime2024-eap235/staging_dir/host/share/aclocal-1.16/cond.m4:12: -1- AC_DEFUN([AM_CONDITIONAL], [AC_PREREQ([2.52])dnl m4_if([$1], [TRUE], [AC_FATAL([$0: invalid condition: $1])], [$1], [FALSE], [AC_FATAL([$0: invalid condition: $1])])dnl AC_SUBST([$1_TRUE])dnl AC_SUBST([$1_FALSE])dnl _AM_SUBST_NOTMAKE([$1_TRUE])dnl _AM_SUBST_NOTMAKE([$1_FALSE])dnl m4_define([_AM_COND_VALUE_$1], [$2])dnl if $2; then $1_TRUE= $1_FALSE='#' else $1_TRUE='#' $1_FALSE= fi AC_CONFIG_COMMANDS_PRE( [if test -z "${$1_TRUE}" && test -z "${$1_FALSE}"; then AC_MSG_ERROR([[conditional "$1" was never defined. Usually this means the macro was only invoked conditionally.]]) fi])]) m4trace:/home/user/Open2305Lime2024-eap235/staging_dir/host/share/aclocal-1.16/depend.m4:26: -1- AC_DEFUN([_AM_DEPENDENCIES], [AC_REQUIRE([AM_SET_DEPDIR])dnl AC_REQUIRE([AM_OUTPUT_DEPENDENCY_COMMANDS])dnl AC_REQUIRE([AM_MAKE_INCLUDE])dnl AC_REQUIRE([AM_DEP_TRACK])dnl m4_if([$1], [CC], [depcc="$CC" am_compiler_list=], [$1], [CXX], [depcc="$CXX" am_compiler_list=], [$1], [OBJC], [depcc="$OBJC" am_compiler_list='gcc3 gcc'], [$1], [OBJCXX], [depcc="$OBJCXX" am_compiler_list='gcc3 gcc'], [$1], [UPC], [depcc="$UPC" am_compiler_list=], [$1], [GCJ], [depcc="$GCJ" am_compiler_list='gcc3 gcc'], [depcc="$$1" am_compiler_list=]) AC_CACHE_CHECK([dependency style of $depcc], [am_cv_$1_dependencies_compiler_type], [if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then # We make a subdir and do the tests there. Otherwise we can end up # making bogus files that we don't know about and never remove. For # instance it was reported that on HP-UX the gcc test will end up # making a dummy file named 'D' -- because '-MD' means "put the output # in D". rm -rf conftest.dir mkdir conftest.dir # Copy depcomp to subdir because otherwise we won't find it if we're # using a relative directory. cp "$am_depcomp" conftest.dir cd conftest.dir # We will build objects and dependencies in a subdirectory because # it helps to detect inapplicable dependency modes. For instance # both Tru64's cc and ICC support -MD to output dependencies as a # side effect of compilation, but ICC will put the dependencies in # the current directory while Tru64 will put them in the object # directory. mkdir sub am_cv_$1_dependencies_compiler_type=none if test "$am_compiler_list" = ""; then am_compiler_list=`sed -n ['s/^#*\([a-zA-Z0-9]*\))$/\1/p'] < ./depcomp` fi am__universal=false m4_case([$1], [CC], [case " $depcc " in #( *\ -arch\ *\ -arch\ *) am__universal=true ;; esac], [CXX], [case " $depcc " in #( *\ -arch\ *\ -arch\ *) am__universal=true ;; esac]) for depmode in $am_compiler_list; do # Setup a source with many dependencies, because some compilers # like to wrap large dependency lists on column 80 (with \), and # we should not choose a depcomp mode which is confused by this. # # We need to recreate these files for each test, as the compiler may # overwrite some of them when testing with obscure command lines. # This happens at least with the AIX C compiler. : > sub/conftest.c for i in 1 2 3 4 5 6; do echo '#include "conftst'$i'.h"' >> sub/conftest.c # Using ": > sub/conftst$i.h" creates only sub/conftst1.h with # Solaris 10 /bin/sh. echo '/* dummy */' > sub/conftst$i.h done echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf # We check with '-c' and '-o' for the sake of the "dashmstdout" # mode. It turns out that the SunPro C++ compiler does not properly # handle '-M -o', and we need to detect this. Also, some Intel # versions had trouble with output in subdirs. am__obj=sub/conftest.${OBJEXT-o} am__minus_obj="-o $am__obj" case $depmode in gcc) # This depmode causes a compiler race in universal mode. test "$am__universal" = false || continue ;; nosideeffect) # After this tag, mechanisms are not by side-effect, so they'll # only be used when explicitly requested. if test "x$enable_dependency_tracking" = xyes; then continue else break fi ;; msvc7 | msvc7msys | msvisualcpp | msvcmsys) # This compiler won't grok '-c -o', but also, the minuso test has # not run yet. These depmodes are late enough in the game, and # so weak that their functioning should not be impacted. am__obj=conftest.${OBJEXT-o} am__minus_obj= ;; none) break ;; esac if depmode=$depmode \ source=sub/conftest.c object=$am__obj \ depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \ $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \ >/dev/null 2>conftest.err && grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 && grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 && grep $am__obj sub/conftest.Po > /dev/null 2>&1 && ${MAKE-make} -s -f confmf > /dev/null 2>&1; then # icc doesn't choke on unknown options, it will just issue warnings # or remarks (even with -Werror). So we grep stderr for any message # that says an option was ignored or not supported. # When given -MP, icc 7.0 and 7.1 complain thusly: # icc: Command line warning: ignoring option '-M'; no argument required # The diagnosis changed in icc 8.0: # icc: Command line remark: option '-MP' not supported if (grep 'ignoring option' conftest.err || grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else am_cv_$1_dependencies_compiler_type=$depmode break fi fi done cd .. rm -rf conftest.dir else am_cv_$1_dependencies_compiler_type=none fi ]) AC_SUBST([$1DEPMODE], [depmode=$am_cv_$1_dependencies_compiler_type]) AM_CONDITIONAL([am__fastdep$1], [ test "x$enable_dependency_tracking" != xno \ && test "$am_cv_$1_dependencies_compiler_type" = gcc3]) ]) m4trace:/home/user/Open2305Lime2024-eap235/staging_dir/host/share/aclocal-1.16/depend.m4:163: -1- AC_DEFUN([AM_SET_DEPDIR], [AC_REQUIRE([AM_SET_LEADING_DOT])dnl AC_SUBST([DEPDIR], ["${am__leading_dot}deps"])dnl ]) m4trace:/home/user/Open2305Lime2024-eap235/staging_dir/host/share/aclocal-1.16/depend.m4:171: -1- AC_DEFUN([AM_DEP_TRACK], [AC_ARG_ENABLE([dependency-tracking], [dnl AS_HELP_STRING( [--enable-dependency-tracking], [do not reject slow dependency extractors]) AS_HELP_STRING( [--disable-dependency-tracking], [speeds up one-time build])]) if test "x$enable_dependency_tracking" != xno; then am_depcomp="$ac_aux_dir/depcomp" AMDEPBACKSLASH='\' am__nodep='_no' fi AM_CONDITIONAL([AMDEP], [test "x$enable_dependency_tracking" != xno]) AC_SUBST([AMDEPBACKSLASH])dnl _AM_SUBST_NOTMAKE([AMDEPBACKSLASH])dnl AC_SUBST([am__nodep])dnl _AM_SUBST_NOTMAKE([am__nodep])dnl ]) m4trace:/home/user/Open2305Lime2024-eap235/staging_dir/host/share/aclocal-1.16/depout.m4:11: -1- AC_DEFUN([_AM_OUTPUT_DEPENDENCY_COMMANDS], [{ # Older Autoconf quotes --file arguments for eval, but not when files # are listed without --file. Let's play safe and only enable the eval # if we detect the quoting. # TODO: see whether this extra hack can be removed once we start # requiring Autoconf 2.70 or later. AS_CASE([$CONFIG_FILES], [*\'*], [eval set x "$CONFIG_FILES"], [*], [set x $CONFIG_FILES]) shift # Used to flag and report bootstrapping failures. am_rc=0 for am_mf do # Strip MF so we end up with the name of the file. am_mf=`AS_ECHO(["$am_mf"]) | sed -e 's/:.*$//'` # Check whether this is an Automake generated Makefile which includes # dependency-tracking related rules and includes. # Grep'ing the whole file directly is not great: AIX grep has a line # limit of 2048, but all sed's we know have understand at least 4000. sed -n 's,^am--depfiles:.*,X,p' "$am_mf" | grep X >/dev/null 2>&1 \ || continue am_dirpart=`AS_DIRNAME(["$am_mf"])` am_filepart=`AS_BASENAME(["$am_mf"])` AM_RUN_LOG([cd "$am_dirpart" \ && sed -e '/# am--include-marker/d' "$am_filepart" \ | $MAKE -f - am--depfiles]) || am_rc=$? done if test $am_rc -ne 0; then AC_MSG_FAILURE([Something went wrong bootstrapping makefile fragments for automatic dependency tracking. If GNU make was not used, consider re-running the configure script with MAKE="gmake" (or whatever is necessary). You can also try re-running configure with the '--disable-dependency-tracking' option to at least be able to build the package (albeit without support for automatic dependency tracking).]) fi AS_UNSET([am_dirpart]) AS_UNSET([am_filepart]) AS_UNSET([am_mf]) AS_UNSET([am_rc]) rm -f conftest-deps.mk } ]) m4trace:/home/user/Open2305Lime2024-eap235/staging_dir/host/share/aclocal-1.16/depout.m4:64: -1- AC_DEFUN([AM_OUTPUT_DEPENDENCY_COMMANDS], [AC_CONFIG_COMMANDS([depfiles], [test x"$AMDEP_TRUE" != x"" || _AM_OUTPUT_DEPENDENCY_COMMANDS], [AMDEP_TRUE="$AMDEP_TRUE" MAKE="${MAKE-make}"])]) m4trace:/home/user/Open2305Lime2024-eap235/staging_dir/host/share/aclocal-1.16/init.m4:29: -1- AC_DEFUN([AM_INIT_AUTOMAKE], [AC_PREREQ([2.65])dnl m4_ifdef([_$0_ALREADY_INIT], [m4_fatal([$0 expanded multiple times ]m4_defn([_$0_ALREADY_INIT]))], [m4_define([_$0_ALREADY_INIT], m4_expansion_stack)])dnl dnl Autoconf wants to disallow AM_ names. We explicitly allow dnl the ones we care about. m4_pattern_allow([^AM_[A-Z]+FLAGS$])dnl AC_REQUIRE([AM_SET_CURRENT_AUTOMAKE_VERSION])dnl AC_REQUIRE([AC_PROG_INSTALL])dnl if test "`cd $srcdir && pwd`" != "`pwd`"; then # Use -I$(srcdir) only when $(srcdir) != ., so that make's output # is not polluted with repeated "-I." AC_SUBST([am__isrc], [' -I$(srcdir)'])_AM_SUBST_NOTMAKE([am__isrc])dnl # test to see if srcdir already configured if test -f $srcdir/config.status; then AC_MSG_ERROR([source directory already configured; run "make distclean" there first]) fi fi # test whether we have cygpath if test -z "$CYGPATH_W"; then if (cygpath --version) >/dev/null 2>/dev/null; then CYGPATH_W='cygpath -w' else CYGPATH_W=echo fi fi AC_SUBST([CYGPATH_W]) # Define the identity of the package. dnl Distinguish between old-style and new-style calls. m4_ifval([$2], [AC_DIAGNOSE([obsolete], [$0: two- and three-arguments forms are deprecated.]) m4_ifval([$3], [_AM_SET_OPTION([no-define])])dnl AC_SUBST([PACKAGE], [$1])dnl AC_SUBST([VERSION], [$2])], [_AM_SET_OPTIONS([$1])dnl dnl Diagnose old-style AC_INIT with new-style AM_AUTOMAKE_INIT. m4_if( m4_ifset([AC_PACKAGE_NAME], [ok]):m4_ifset([AC_PACKAGE_VERSION], [ok]), [ok:ok],, [m4_fatal([AC_INIT should be called with package and version arguments])])dnl AC_SUBST([PACKAGE], ['AC_PACKAGE_TARNAME'])dnl AC_SUBST([VERSION], ['AC_PACKAGE_VERSION'])])dnl _AM_IF_OPTION([no-define],, [AC_DEFINE_UNQUOTED([PACKAGE], ["$PACKAGE"], [Name of package]) AC_DEFINE_UNQUOTED([VERSION], ["$VERSION"], [Version number of package])])dnl # Some tools Automake needs. AC_REQUIRE([AM_SANITY_CHECK])dnl AC_REQUIRE([AC_ARG_PROGRAM])dnl AM_MISSING_PROG([ACLOCAL], [aclocal-${am__api_version}]) AM_MISSING_PROG([AUTOCONF], [autoconf]) AM_MISSING_PROG([AUTOMAKE], [automake-${am__api_version}]) AM_MISSING_PROG([AUTOHEADER], [autoheader]) AM_MISSING_PROG([MAKEINFO], [makeinfo]) AC_REQUIRE([AM_PROG_INSTALL_SH])dnl AC_REQUIRE([AM_PROG_INSTALL_STRIP])dnl AC_REQUIRE([AC_PROG_MKDIR_P])dnl # For better backward compatibility. To be removed once Automake 1.9.x # dies out for good. For more background, see: # # AC_SUBST([mkdir_p], ['$(MKDIR_P)']) # We need awk for the "check" target (and possibly the TAP driver). The # system "awk" is bad on some platforms. AC_REQUIRE([AC_PROG_AWK])dnl AC_REQUIRE([AC_PROG_MAKE_SET])dnl AC_REQUIRE([AM_SET_LEADING_DOT])dnl _AM_IF_OPTION([tar-ustar], [_AM_PROG_TAR([ustar])], [_AM_IF_OPTION([tar-pax], [_AM_PROG_TAR([pax])], [_AM_PROG_TAR([v7])])]) _AM_IF_OPTION([no-dependencies],, [AC_PROVIDE_IFELSE([AC_PROG_CC], [_AM_DEPENDENCIES([CC])], [m4_define([AC_PROG_CC], m4_defn([AC_PROG_CC])[_AM_DEPENDENCIES([CC])])])dnl AC_PROVIDE_IFELSE([AC_PROG_CXX], [_AM_DEPENDENCIES([CXX])], [m4_define([AC_PROG_CXX], m4_defn([AC_PROG_CXX])[_AM_DEPENDENCIES([CXX])])])dnl AC_PROVIDE_IFELSE([AC_PROG_OBJC], [_AM_DEPENDENCIES([OBJC])], [m4_define([AC_PROG_OBJC], m4_defn([AC_PROG_OBJC])[_AM_DEPENDENCIES([OBJC])])])dnl AC_PROVIDE_IFELSE([AC_PROG_OBJCXX], [_AM_DEPENDENCIES([OBJCXX])], [m4_define([AC_PROG_OBJCXX], m4_defn([AC_PROG_OBJCXX])[_AM_DEPENDENCIES([OBJCXX])])])dnl ]) # Variables for tags utilities; see am/tags.am if test -z "$CTAGS"; then CTAGS=ctags fi AC_SUBST([CTAGS]) if test -z "$ETAGS"; then ETAGS=etags fi AC_SUBST([ETAGS]) if test -z "$CSCOPE"; then CSCOPE=cscope fi AC_SUBST([CSCOPE]) AC_REQUIRE([AM_SILENT_RULES])dnl dnl The testsuite driver may need to know about EXEEXT, so add the dnl 'am__EXEEXT' conditional if _AM_COMPILER_EXEEXT was seen. This dnl macro is hooked onto _AC_COMPILER_EXEEXT early, see below. AC_CONFIG_COMMANDS_PRE(dnl [m4_provide_if([_AM_COMPILER_EXEEXT], [AM_CONDITIONAL([am__EXEEXT], [test -n "$EXEEXT"])])])dnl # POSIX will say in a future version that running "rm -f" with no argument # is OK; and we want to be able to make that assumption in our Makefile # recipes. So use an aggressive probe to check that the usage we want is # actually supported "in the wild" to an acceptable degree. # See automake bug#10828. # To make any issue more visible, cause the running configure to be aborted # by default if the 'rm' program in use doesn't match our expectations; the # user can still override this though. if rm -f && rm -fr && rm -rf; then : OK; else cat >&2 <<'END' Oops! Your 'rm' program seems unable to run without file operands specified on the command line, even when the '-f' option is present. This is contrary to the behaviour of most rm programs out there, and not conforming with the upcoming POSIX standard: Please tell bug-automake@gnu.org about your system, including the value of your $PATH and any error possibly output before this message. This can help us improve future automake versions. END if test x"$ACCEPT_INFERIOR_RM_PROGRAM" = x"yes"; then echo 'Configuration will proceed anyway, since you have set the' >&2 echo 'ACCEPT_INFERIOR_RM_PROGRAM variable to "yes"' >&2 echo >&2 else cat >&2 <<'END' Aborting the configuration process, to ensure you take notice of the issue. You can download and install GNU coreutils to get an 'rm' implementation that behaves properly: . If you want to complete the configuration process using your problematic 'rm' anyway, export the environment variable ACCEPT_INFERIOR_RM_PROGRAM to "yes", and re-run configure. END AC_MSG_ERROR([Your 'rm' program is bad, sorry.]) fi fi dnl The trailing newline in this macro's definition is deliberate, for dnl backward compatibility and to allow trailing 'dnl'-style comments dnl after the AM_INIT_AUTOMAKE invocation. See automake bug#16841. ]) m4trace:/home/user/Open2305Lime2024-eap235/staging_dir/host/share/aclocal-1.16/init.m4:204: -1- AC_DEFUN([_AC_AM_CONFIG_HEADER_HOOK], [# Compute $1's index in $config_headers. _am_arg=$1 _am_stamp_count=1 for _am_header in $config_headers :; do case $_am_header in $_am_arg | $_am_arg:* ) break ;; * ) _am_stamp_count=`expr $_am_stamp_count + 1` ;; esac done echo "timestamp for $_am_arg" >`AS_DIRNAME(["$_am_arg"])`/stamp-h[]$_am_stamp_count]) m4trace:/home/user/Open2305Lime2024-eap235/staging_dir/host/share/aclocal-1.16/install-sh.m4:11: -1- AC_DEFUN([AM_PROG_INSTALL_SH], [AC_REQUIRE([AM_AUX_DIR_EXPAND])dnl if test x"${install_sh+set}" != xset; then case $am_aux_dir in *\ * | *\ *) install_sh="\${SHELL} '$am_aux_dir/install-sh'" ;; *) install_sh="\${SHELL} $am_aux_dir/install-sh" esac fi AC_SUBST([install_sh])]) m4trace:/home/user/Open2305Lime2024-eap235/staging_dir/host/share/aclocal-1.16/lead-dot.m4:10: -1- AC_DEFUN([AM_SET_LEADING_DOT], [rm -rf .tst 2>/dev/null mkdir .tst 2>/dev/null if test -d .tst; then am__leading_dot=. else am__leading_dot=_ fi rmdir .tst 2>/dev/null AC_SUBST([am__leading_dot])]) m4trace:/home/user/Open2305Lime2024-eap235/staging_dir/host/share/aclocal-1.16/maintainer.m4:16: -1- AC_DEFUN([AM_MAINTAINER_MODE], [m4_case(m4_default([$1], [disable]), [enable], [m4_define([am_maintainer_other], [disable])], [disable], [m4_define([am_maintainer_other], [enable])], [m4_define([am_maintainer_other], [enable]) m4_warn([syntax], [unexpected argument to AM@&t@_MAINTAINER_MODE: $1])]) AC_MSG_CHECKING([whether to enable maintainer-specific portions of Makefiles]) dnl maintainer-mode's default is 'disable' unless 'enable' is passed AC_ARG_ENABLE([maintainer-mode], [AS_HELP_STRING([--]am_maintainer_other[-maintainer-mode], am_maintainer_other[ make rules and dependencies not useful (and sometimes confusing) to the casual installer])], [USE_MAINTAINER_MODE=$enableval], [USE_MAINTAINER_MODE=]m4_if(am_maintainer_other, [enable], [no], [yes])) AC_MSG_RESULT([$USE_MAINTAINER_MODE]) AM_CONDITIONAL([MAINTAINER_MODE], [test $USE_MAINTAINER_MODE = yes]) MAINT=$MAINTAINER_MODE_TRUE AC_SUBST([MAINT])dnl ]) m4trace:/home/user/Open2305Lime2024-eap235/staging_dir/host/share/aclocal-1.16/make.m4:13: -1- AC_DEFUN([AM_MAKE_INCLUDE], [AC_MSG_CHECKING([whether ${MAKE-make} supports the include directive]) cat > confinc.mk << 'END' am__doit: @echo this is the am__doit target >confinc.out .PHONY: am__doit END am__include="#" am__quote= # BSD make does it like this. echo '.include "confinc.mk" # ignored' > confmf.BSD # Other make implementations (GNU, Solaris 10, AIX) do it like this. echo 'include confinc.mk # ignored' > confmf.GNU _am_result=no for s in GNU BSD; do AM_RUN_LOG([${MAKE-make} -f confmf.$s && cat confinc.out]) AS_CASE([$?:`cat confinc.out 2>/dev/null`], ['0:this is the am__doit target'], [AS_CASE([$s], [BSD], [am__include='.include' am__quote='"'], [am__include='include' am__quote=''])]) if test "$am__include" != "#"; then _am_result="yes ($s style)" break fi done rm -f confinc.* confmf.* AC_MSG_RESULT([${_am_result}]) AC_SUBST([am__include])]) m4trace:/home/user/Open2305Lime2024-eap235/staging_dir/host/share/aclocal-1.16/make.m4:42: -1- m4_pattern_allow([^am__quote$]) m4trace:/home/user/Open2305Lime2024-eap235/staging_dir/host/share/aclocal-1.16/missing.m4:11: -1- AC_DEFUN([AM_MISSING_PROG], [AC_REQUIRE([AM_MISSING_HAS_RUN]) $1=${$1-"${am_missing_run}$2"} AC_SUBST($1)]) m4trace:/home/user/Open2305Lime2024-eap235/staging_dir/host/share/aclocal-1.16/missing.m4:20: -1- AC_DEFUN([AM_MISSING_HAS_RUN], [AC_REQUIRE([AM_AUX_DIR_EXPAND])dnl AC_REQUIRE_AUX_FILE([missing])dnl if test x"${MISSING+set}" != xset; then MISSING="\${SHELL} '$am_aux_dir/missing'" fi # Use eval to expand $SHELL if eval "$MISSING --is-lightweight"; then am_missing_run="$MISSING " else am_missing_run= AC_MSG_WARN(['missing' script is too old or missing]) fi ]) m4trace:/home/user/Open2305Lime2024-eap235/staging_dir/host/share/aclocal-1.16/options.m4:11: -1- AC_DEFUN([_AM_MANGLE_OPTION], [[_AM_OPTION_]m4_bpatsubst($1, [[^a-zA-Z0-9_]], [_])]) m4trace:/home/user/Open2305Lime2024-eap235/staging_dir/host/share/aclocal-1.16/options.m4:17: -1- AC_DEFUN([_AM_SET_OPTION], [m4_define(_AM_MANGLE_OPTION([$1]), [1])]) m4trace:/home/user/Open2305Lime2024-eap235/staging_dir/host/share/aclocal-1.16/options.m4:23: -1- AC_DEFUN([_AM_SET_OPTIONS], [m4_foreach_w([_AM_Option], [$1], [_AM_SET_OPTION(_AM_Option)])]) m4trace:/home/user/Open2305Lime2024-eap235/staging_dir/host/share/aclocal-1.16/options.m4:29: -1- AC_DEFUN([_AM_IF_OPTION], [m4_ifset(_AM_MANGLE_OPTION([$1]), [$2], [$3])]) m4trace:/home/user/Open2305Lime2024-eap235/staging_dir/host/share/aclocal-1.16/prog-cc-c-o.m4:12: -1- AC_DEFUN([_AM_PROG_CC_C_O], [AC_REQUIRE([AM_AUX_DIR_EXPAND])dnl AC_REQUIRE_AUX_FILE([compile])dnl AC_LANG_PUSH([C])dnl AC_CACHE_CHECK( [whether $CC understands -c and -o together], [am_cv_prog_cc_c_o], [AC_LANG_CONFTEST([AC_LANG_PROGRAM([])]) # Make sure it works both with $CC and with simple cc. # Following AC_PROG_CC_C_O, we do the test twice because some # compilers refuse to overwrite an existing .o file with -o, # though they will create one. am_cv_prog_cc_c_o=yes for am_i in 1 2; do if AM_RUN_LOG([$CC -c conftest.$ac_ext -o conftest2.$ac_objext]) \ && test -f conftest2.$ac_objext; then : OK else am_cv_prog_cc_c_o=no break fi done rm -f core conftest* unset am_i]) if test "$am_cv_prog_cc_c_o" != yes; then # Losing compiler, so override with the script. # FIXME: It is wrong to rewrite CC. # But if we don't then we get into trouble of one sort or another. # A longer-term fix would be to have automake use am__CC in this case, # and then we could set am__CC="\$(top_srcdir)/compile \$(CC)" CC="$am_aux_dir/compile $CC" fi AC_LANG_POP([C])]) m4trace:/home/user/Open2305Lime2024-eap235/staging_dir/host/share/aclocal-1.16/prog-cc-c-o.m4:47: -1- AC_DEFUN_ONCE([AM_PROG_CC_C_O], [AC_REQUIRE([AC_PROG_CC])]) m4trace:/home/user/Open2305Lime2024-eap235/staging_dir/host/share/aclocal-1.16/runlog.m4:12: -1- AC_DEFUN([AM_RUN_LOG], [{ echo "$as_me:$LINENO: $1" >&AS_MESSAGE_LOG_FD ($1) >&AS_MESSAGE_LOG_FD 2>&AS_MESSAGE_LOG_FD ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&AS_MESSAGE_LOG_FD (exit $ac_status); }]) m4trace:/home/user/Open2305Lime2024-eap235/staging_dir/host/share/aclocal-1.16/sanity.m4:11: -1- AC_DEFUN([AM_SANITY_CHECK], [AC_MSG_CHECKING([whether build environment is sane]) # Reject unsafe characters in $srcdir or the absolute working directory # name. Accept space and tab only in the latter. am_lf=' ' case `pwd` in *[[\\\"\#\$\&\'\`$am_lf]]*) AC_MSG_ERROR([unsafe absolute working directory name]);; esac case $srcdir in *[[\\\"\#\$\&\'\`$am_lf\ \ ]]*) AC_MSG_ERROR([unsafe srcdir value: '$srcdir']);; esac # Do 'set' in a subshell so we don't clobber the current shell's # arguments. Must try -L first in case configure is actually a # symlink; some systems play weird games with the mod time of symlinks # (eg FreeBSD returns the mod time of the symlink's containing # directory). if ( am_has_slept=no for am_try in 1 2; do echo "timestamp, slept: $am_has_slept" > conftest.file set X `ls -Lt "$srcdir/configure" conftest.file 2> /dev/null` if test "$[*]" = "X"; then # -L didn't work. set X `ls -t "$srcdir/configure" conftest.file` fi if test "$[*]" != "X $srcdir/configure conftest.file" \ && test "$[*]" != "X conftest.file $srcdir/configure"; then # If neither matched, then we have a broken ls. This can happen # if, for instance, CONFIG_SHELL is bash and it inherits a # broken ls alias from the environment. This has actually # happened. Such a system could not be considered "sane". AC_MSG_ERROR([ls -t appears to fail. Make sure there is not a broken alias in your environment]) fi if test "$[2]" = conftest.file || test $am_try -eq 2; then break fi # Just in case. sleep 1 am_has_slept=yes done test "$[2]" = conftest.file ) then # Ok. : else AC_MSG_ERROR([newly created file is older than distributed files! Check your system clock]) fi AC_MSG_RESULT([yes]) # If we didn't sleep, we still need to ensure time stamps of config.status and # generated files are strictly newer. am_sleep_pid= if grep 'slept: no' conftest.file >/dev/null 2>&1; then ( sleep 1 ) & am_sleep_pid=$! fi AC_CONFIG_COMMANDS_PRE( [AC_MSG_CHECKING([that generated files are newer than configure]) if test -n "$am_sleep_pid"; then # Hide warnings about reused PIDs. wait $am_sleep_pid 2>/dev/null fi AC_MSG_RESULT([done])]) rm -f conftest.file ]) m4trace:/home/user/Open2305Lime2024-eap235/staging_dir/host/share/aclocal-1.16/silent.m4:12: -1- AC_DEFUN([AM_SILENT_RULES], [AC_ARG_ENABLE([silent-rules], [dnl AS_HELP_STRING( [--enable-silent-rules], [less verbose build output (undo: "make V=1")]) AS_HELP_STRING( [--disable-silent-rules], [verbose build output (undo: "make V=0")])dnl ]) case $enable_silent_rules in @%:@ ((( yes) AM_DEFAULT_VERBOSITY=0;; no) AM_DEFAULT_VERBOSITY=1;; *) AM_DEFAULT_VERBOSITY=m4_if([$1], [yes], [0], [1]);; esac dnl dnl A few 'make' implementations (e.g., NonStop OS and NextStep) dnl do not support nested variable expansions. dnl See automake bug#9928 and bug#10237. am_make=${MAKE-make} AC_CACHE_CHECK([whether $am_make supports nested variables], [am_cv_make_support_nested_variables], [if AS_ECHO([['TRUE=$(BAR$(V)) BAR0=false BAR1=true V=1 am__doit: @$(TRUE) .PHONY: am__doit']]) | $am_make -f - >/dev/null 2>&1; then am_cv_make_support_nested_variables=yes else am_cv_make_support_nested_variables=no fi]) if test $am_cv_make_support_nested_variables = yes; then dnl Using '$V' instead of '$(V)' breaks IRIX make. AM_V='$(shell if ( test "x$(V)" = "x0" ); then echo 0; elif ( test "x$(V)" = "x" ); then echo $(AM_DEFAULT_VERBOSITY); else echo 1; fi)' AM_DEFAULT_V='$(AM_DEFAULT_VERBOSITY)' else AM_V=$AM_DEFAULT_VERBOSITY AM_DEFAULT_V=$AM_DEFAULT_VERBOSITY fi AC_SUBST([AM_V])dnl AM_SUBST_NOTMAKE([AM_V])dnl AC_SUBST([AM_DEFAULT_V])dnl AM_SUBST_NOTMAKE([AM_DEFAULT_V])dnl AC_SUBST([AM_DEFAULT_VERBOSITY])dnl AM_BACKSLASH='\' AC_SUBST([AM_BACKSLASH])dnl _AM_SUBST_NOTMAKE([AM_BACKSLASH])dnl ]) m4trace:/home/user/Open2305Lime2024-eap235/staging_dir/host/share/aclocal-1.16/strip.m4:17: -1- AC_DEFUN([AM_PROG_INSTALL_STRIP], [AC_REQUIRE([AM_PROG_INSTALL_SH])dnl # Installed binaries are usually stripped using 'strip' when the user # run "make install-strip". However 'strip' might not be the right # tool to use in cross-compilation environments, therefore Automake # will honor the 'STRIP' environment variable to overrule this program. dnl Don't test for $cross_compiling = yes, because it might be 'maybe'. if test "$cross_compiling" != no; then AC_CHECK_TOOL([STRIP], [strip], :) fi INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s" AC_SUBST([INSTALL_STRIP_PROGRAM])]) m4trace:/home/user/Open2305Lime2024-eap235/staging_dir/host/share/aclocal-1.16/substnot.m4:12: -1- AC_DEFUN([_AM_SUBST_NOTMAKE]) m4trace:/home/user/Open2305Lime2024-eap235/staging_dir/host/share/aclocal-1.16/substnot.m4:17: -1- AC_DEFUN([AM_SUBST_NOTMAKE], [_AM_SUBST_NOTMAKE($@)]) m4trace:/home/user/Open2305Lime2024-eap235/staging_dir/host/share/aclocal-1.16/tar.m4:23: -1- AC_DEFUN([_AM_PROG_TAR], [# Always define AMTAR for backward compatibility. Yes, it's still used # in the wild :-( We should find a proper way to deprecate it ... AC_SUBST([AMTAR], ['$${TAR-tar}']) # We'll loop over all known methods to create a tar archive until one works. _am_tools='gnutar m4_if([$1], [ustar], [plaintar]) pax cpio none' m4_if([$1], [v7], [am__tar='$${TAR-tar} chof - "$$tardir"' am__untar='$${TAR-tar} xf -'], [m4_case([$1], [ustar], [# The POSIX 1988 'ustar' format is defined with fixed-size fields. # There is notably a 21 bits limit for the UID and the GID. In fact, # the 'pax' utility can hang on bigger UID/GID (see automake bug#8343 # and bug#13588). am_max_uid=2097151 # 2^21 - 1 am_max_gid=$am_max_uid # The $UID and $GID variables are not portable, so we need to resort # to the POSIX-mandated id(1) utility. Errors in the 'id' calls # below are definitely unexpected, so allow the users to see them # (that is, avoid stderr redirection). am_uid=`id -u || echo unknown` am_gid=`id -g || echo unknown` AC_MSG_CHECKING([whether UID '$am_uid' is supported by ustar format]) if test $am_uid -le $am_max_uid; then AC_MSG_RESULT([yes]) else AC_MSG_RESULT([no]) _am_tools=none fi AC_MSG_CHECKING([whether GID '$am_gid' is supported by ustar format]) if test $am_gid -le $am_max_gid; then AC_MSG_RESULT([yes]) else AC_MSG_RESULT([no]) _am_tools=none fi], [pax], [], [m4_fatal([Unknown tar format])]) AC_MSG_CHECKING([how to create a $1 tar archive]) # Go ahead even if we have the value already cached. We do so because we # need to set the values for the 'am__tar' and 'am__untar' variables. _am_tools=${am_cv_prog_tar_$1-$_am_tools} for _am_tool in $_am_tools; do case $_am_tool in gnutar) for _am_tar in tar gnutar gtar; do AM_RUN_LOG([$_am_tar --version]) && break done am__tar="$_am_tar --format=m4_if([$1], [pax], [posix], [$1]) -chf - "'"$$tardir"' am__tar_="$_am_tar --format=m4_if([$1], [pax], [posix], [$1]) -chf - "'"$tardir"' am__untar="$_am_tar -xf -" ;; plaintar) # Must skip GNU tar: if it does not support --format= it doesn't create # ustar tarball either. (tar --version) >/dev/null 2>&1 && continue am__tar='tar chf - "$$tardir"' am__tar_='tar chf - "$tardir"' am__untar='tar xf -' ;; pax) am__tar='pax -L -x $1 -w "$$tardir"' am__tar_='pax -L -x $1 -w "$tardir"' am__untar='pax -r' ;; cpio) am__tar='find "$$tardir" -print | cpio -o -H $1 -L' am__tar_='find "$tardir" -print | cpio -o -H $1 -L' am__untar='cpio -i -H $1 -d' ;; none) am__tar=false am__tar_=false am__untar=false ;; esac # If the value was cached, stop now. We just wanted to have am__tar # and am__untar set. test -n "${am_cv_prog_tar_$1}" && break # tar/untar a dummy directory, and stop if the command works. rm -rf conftest.dir mkdir conftest.dir echo GrepMe > conftest.dir/file AM_RUN_LOG([tardir=conftest.dir && eval $am__tar_ >conftest.tar]) rm -rf conftest.dir if test -s conftest.tar; then AM_RUN_LOG([$am__untar /dev/null 2>&1 && break fi done rm -rf conftest.dir AC_CACHE_VAL([am_cv_prog_tar_$1], [am_cv_prog_tar_$1=$_am_tool]) AC_MSG_RESULT([$am_cv_prog_tar_$1])]) AC_SUBST([am__tar]) AC_SUBST([am__untar]) ]) m4trace:m4/curl-amissl.m4:25: -1- AC_DEFUN([CURL_WITH_AMISSL], [ AC_MSG_CHECKING([whether to enable Amiga native SSL/TLS (AmiSSL v5)]) if test "$HAVE_PROTO_BSDSOCKET_H" = "1"; then if test "x$OPT_AMISSL" != xno; then ssl_msg= AC_COMPILE_IFELSE([ AC_LANG_PROGRAM([[ #include #include ]],[[ #if defined(AMISSL_CURRENT_VERSION) && defined(AMISSL_V3xx) && \ (OPENSSL_VERSION_NUMBER >= 0x30000000L) && \ defined(PROTO_AMISSL_H) return 0; #else #error not AmiSSL v5 / OpenSSL 3 #endif ]]) ],[ AC_MSG_RESULT([yes]) ssl_msg="AmiSSL" test amissl != "$DEFAULT_SSL_BACKEND" || VALID_DEFAULT_SSL_BACKEND=yes AMISSL_ENABLED=1 OPENSSL_ENABLED=1 # Use AmiSSL's built-in ca bundle check_for_ca_bundle=1 with_ca_fallback=yes LIBS="-lamisslstubs -lamisslauto $LIBS" AC_DEFINE(USE_AMISSL, 1, [if AmiSSL is in use]) AC_DEFINE(USE_OPENSSL, 1, [if OpenSSL is in use]) AC_CHECK_HEADERS(openssl/x509.h openssl/rsa.h openssl/crypto.h \ openssl/pem.h openssl/ssl.h openssl/err.h) ],[ AC_MSG_RESULT([no]) ]) test -z "$ssl_msg" || ssl_backends="${ssl_backends:+$ssl_backends, }$ssl_msg" else AC_MSG_RESULT(no) fi else AC_MSG_RESULT(no) fi ]) m4trace:m4/curl-bearssl.m4:25: -1- AC_DEFUN([CURL_WITH_BEARSSL], [ dnl ---------------------------------------------------- dnl check for BearSSL dnl ---------------------------------------------------- if test "x$OPT_BEARSSL" != xno; then _cppflags=$CPPFLAGS _ldflags=$LDFLAGS ssl_msg= if test X"$OPT_BEARSSL" != Xno; then if test "$OPT_BEARSSL" = "yes"; then OPT_BEARSSL="" fi if test -z "$OPT_BEARSSL" ; then dnl check for lib first without setting any new path AC_CHECK_LIB(bearssl, br_ssl_client_init_full, dnl libbearssl found, set the variable [ AC_DEFINE(USE_BEARSSL, 1, [if BearSSL is enabled]) AC_SUBST(USE_BEARSSL, [1]) BEARSSL_ENABLED=1 USE_BEARSSL="yes" ssl_msg="BearSSL" test bearssl != "$DEFAULT_SSL_BACKEND" || VALID_DEFAULT_SSL_BACKEND=yes ], [], -lbearssl) fi addld="" addlib="" addcflags="" bearssllib="" if test "x$USE_BEARSSL" != "xyes"; then dnl add the path and test again addld=-L$OPT_BEARSSL/lib$libsuff addcflags=-I$OPT_BEARSSL/include bearssllib=$OPT_BEARSSL/lib$libsuff LDFLAGS="$LDFLAGS $addld" if test "$addcflags" != "-I/usr/include"; then CPPFLAGS="$CPPFLAGS $addcflags" fi AC_CHECK_LIB(bearssl, br_ssl_client_init_full, [ AC_DEFINE(USE_BEARSSL, 1, [if BearSSL is enabled]) AC_SUBST(USE_BEARSSL, [1]) BEARSSL_ENABLED=1 USE_BEARSSL="yes" ssl_msg="BearSSL" test bearssl != "$DEFAULT_SSL_BACKEND" || VALID_DEFAULT_SSL_BACKEND=yes ], [ CPPFLAGS=$_cppflags LDFLAGS=$_ldflags ], -lbearssl) fi if test "x$USE_BEARSSL" = "xyes"; then AC_MSG_NOTICE([detected BearSSL]) check_for_ca_bundle=1 LIBS="-lbearssl $LIBS" if test -n "$bearssllib"; then dnl when shared libs were found in a path that the run-time dnl linker doesn't search through, we need to add it to dnl CURL_LIBRARY_PATH to prevent further configure tests to fail dnl due to this if test "x$cross_compiling" != "xyes"; then CURL_LIBRARY_PATH="$CURL_LIBRARY_PATH:$bearssllib" export CURL_LIBRARY_PATH AC_MSG_NOTICE([Added $bearssllib to CURL_LIBRARY_PATH]) fi fi fi fi dnl BearSSL not disabled test -z "$ssl_msg" || ssl_backends="${ssl_backends:+$ssl_backends, }$ssl_msg" fi ]) m4trace:m4/curl-compilers.m4:33: -1- AC_DEFUN([CURL_CHECK_COMPILER], [ # compiler_id="unknown" compiler_num="0" # flags_dbg_yes="unknown" flags_opt_all="unknown" flags_opt_yes="unknown" flags_opt_off="unknown" # flags_prefer_cppflags="no" # CURL_CHECK_COMPILER_DEC_C CURL_CHECK_COMPILER_HPUX_C CURL_CHECK_COMPILER_IBM_C CURL_CHECK_COMPILER_INTEL_C CURL_CHECK_COMPILER_CLANG CURL_CHECK_COMPILER_GNU_C case $host in mips-sgi-irix*) CURL_CHECK_COMPILER_SGI_MIPSPRO_C CURL_CHECK_COMPILER_SGI_MIPS_C ;; esac CURL_CHECK_COMPILER_SUNPRO_C CURL_CHECK_COMPILER_TINY_C # if test "$compiler_id" = "unknown"; then cat <<_EOF 1>&2 *** *** Warning: This configure script does not have information about the *** compiler you are using, relative to the flags required to enable or *** disable generation of debug info, optimization options or warnings. *** *** Whatever settings are present in CFLAGS will be used for this run. *** *** If you wish to help the curl project to better support your compiler *** you can report this and the required info on the libcurl development *** mailing list: https://lists.haxx.selistinfo/curl-library/ *** _EOF fi ]) m4trace:m4/curl-compilers.m4:82: -1- AC_DEFUN([CURL_CHECK_COMPILER_CLANG], [ AC_BEFORE([$0],[CURL_CHECK_COMPILER_GNU_C])dnl AC_MSG_CHECKING([if compiler is clang]) CURL_CHECK_DEF([__clang__], [], [silent]) if test "$curl_cv_have_def___clang__" = "yes"; then AC_MSG_RESULT([yes]) AC_MSG_CHECKING([if compiler is xlclang]) CURL_CHECK_DEF([__ibmxl__], [], [silent]) if test "$curl_cv_have_def___ibmxl__" = "yes" ; then dnl IBM's almost-compatible clang version AC_MSG_RESULT([yes]) compiler_id="XLCLANG" else AC_MSG_RESULT([no]) compiler_id="CLANG" fi AC_MSG_CHECKING([compiler version]) fullclangver=`$CC -v 2>&1 | grep version` if echo $fullclangver | grep 'Apple' >/dev/null; then appleclang=1 else appleclang=0 fi clangver=`echo $fullclangver | grep "based on LLVM " | "$SED" 's/.*(based on LLVM \(@<:@0-9@:>@*\.@<:@0-9@:>@*\).*)/\1/'` if test -z "$clangver"; then clangver=`echo $fullclangver | "$SED" 's/.*version \(@<:@0-9@:>@*\.@<:@0-9@:>@*\).*/\1/'` oldapple=0 else oldapple=1 fi clangvhi=`echo $clangver | cut -d . -f1` clangvlo=`echo $clangver | cut -d . -f2` compiler_num=`(expr $clangvhi "*" 100 + $clangvlo) 2>/dev/null` if test "$appleclang" = '1' && test "$oldapple" = '0'; then dnl Starting with Xcode 7 / clang 3.7, Apple clang won't tell its upstream version if test "$compiler_num" -ge '1300'; then compiler_num='1200' elif test "$compiler_num" -ge '1205'; then compiler_num='1101' elif test "$compiler_num" -ge '1204'; then compiler_num='1000' elif test "$compiler_num" -ge '1107'; then compiler_num='900' elif test "$compiler_num" -ge '1103'; then compiler_num='800' elif test "$compiler_num" -ge '1003'; then compiler_num='700' elif test "$compiler_num" -ge '1001'; then compiler_num='600' elif test "$compiler_num" -ge '904'; then compiler_num='500' elif test "$compiler_num" -ge '902'; then compiler_num='400' elif test "$compiler_num" -ge '803'; then compiler_num='309' elif test "$compiler_num" -ge '703'; then compiler_num='308' else compiler_num='307' fi fi AC_MSG_RESULT([clang '$compiler_num' (raw: '$fullclangver' / '$clangver')]) flags_dbg_yes="-g" flags_opt_all="-O -O0 -O1 -O2 -Os -O3 -O4" flags_opt_yes="-O2" flags_opt_off="-O0" else AC_MSG_RESULT([no]) fi ]) m4trace:m4/curl-compilers.m4:146: -1- AC_DEFUN([CURL_CHECK_COMPILER_DEC_C], [ AC_MSG_CHECKING([if compiler is DEC/Compaq/HP C]) CURL_CHECK_DEF([__DECC], [], [silent]) CURL_CHECK_DEF([__DECC_VER], [], [silent]) if test "$curl_cv_have_def___DECC" = "yes" && test "$curl_cv_have_def___DECC_VER" = "yes"; then AC_MSG_RESULT([yes]) compiler_id="DEC_C" flags_dbg_yes="-g2" flags_opt_all="-O -O0 -O1 -O2 -O3 -O4" flags_opt_yes="-O1" flags_opt_off="-O0" else AC_MSG_RESULT([no]) fi ]) m4trace:m4/curl-compilers.m4:177: -1- AC_DEFUN([CURL_CHECK_COMPILER_GNU_C], [ AC_REQUIRE([CURL_CHECK_COMPILER_INTEL_C])dnl AC_REQUIRE([CURL_CHECK_COMPILER_CLANG])dnl AC_MSG_CHECKING([if compiler is GNU C]) CURL_CHECK_DEF([__GNUC__], [], [silent]) if test "$curl_cv_have_def___GNUC__" = "yes" && test "$compiler_id" = "unknown"; then AC_MSG_RESULT([yes]) compiler_id="GNU_C" AC_MSG_CHECKING([compiler version]) # strip '-suffix' parts, e.g. Ubuntu Windows cross-gcc returns '10-win32' gccver=`$CC -dumpversion | "$SED" 's/-.\{1,\}$//'` gccvhi=`echo $gccver | cut -d . -f1` if echo $gccver | grep -F '.' >/dev/null; then gccvlo=`echo $gccver | cut -d . -f2` else gccvlo="0" fi compiler_num=`(expr $gccvhi "*" 100 + $gccvlo) 2>/dev/null` AC_MSG_RESULT([gcc '$compiler_num' (raw: '$gccver')]) flags_dbg_yes="-g" flags_opt_all="-O -O0 -O1 -O2 -O3 -Os -Og -Ofast" flags_opt_yes="-O2" flags_opt_off="-O0" else AC_MSG_RESULT([no]) fi ]) m4trace:m4/curl-compilers.m4:211: -1- AC_DEFUN([CURL_CHECK_COMPILER_HPUX_C], [ AC_MSG_CHECKING([if compiler is HP-UX C]) CURL_CHECK_DEF([__HP_cc], [], [silent]) if test "$curl_cv_have_def___HP_cc" = "yes"; then AC_MSG_RESULT([yes]) compiler_id="HP_UX_C" flags_dbg_yes="-g" flags_opt_all="-O +O0 +O1 +O2 +O3 +O4" flags_opt_yes="+O2" flags_opt_off="+O0" else AC_MSG_RESULT([no]) fi ]) m4trace:m4/curl-compilers.m4:231: -1- AC_DEFUN([CURL_CHECK_COMPILER_IBM_C], [ AC_MSG_CHECKING([if compiler is IBM C]) CURL_CHECK_DEF([__IBMC__], [], [silent]) if test "$curl_cv_have_def___IBMC__" = "yes"; then AC_MSG_RESULT([yes]) compiler_id="IBM_C" flags_dbg_yes="-g" flags_opt_all="-O -O0 -O1 -O2 -O3 -O4 -O5" flags_opt_all="$flags_opt_all -qnooptimize" flags_opt_all="$flags_opt_all -qoptimize=0" flags_opt_all="$flags_opt_all -qoptimize=1" flags_opt_all="$flags_opt_all -qoptimize=2" flags_opt_all="$flags_opt_all -qoptimize=3" flags_opt_all="$flags_opt_all -qoptimize=4" flags_opt_all="$flags_opt_all -qoptimize=5" flags_opt_yes="-O2" flags_opt_off="-qnooptimize" flags_prefer_cppflags="yes" else AC_MSG_RESULT([no]) fi ]) m4trace:m4/curl-compilers.m4:259: -1- AC_DEFUN([CURL_CHECK_COMPILER_INTEL_C], [ AC_BEFORE([$0],[CURL_CHECK_COMPILER_GNU_C])dnl AC_MSG_CHECKING([if compiler is Intel C]) CURL_CHECK_DEF([__INTEL_COMPILER], [], [silent]) if test "$curl_cv_have_def___INTEL_COMPILER" = "yes"; then AC_MSG_RESULT([yes]) AC_MSG_CHECKING([compiler version]) compiler_num="$curl_cv_def___INTEL_COMPILER" AC_MSG_RESULT([Intel C '$compiler_num']) CURL_CHECK_DEF([__unix__], [], [silent]) if test "$curl_cv_have_def___unix__" = "yes"; then compiler_id="INTEL_UNIX_C" flags_dbg_yes="-g" flags_opt_all="-O -O0 -O1 -O2 -O3 -Os" flags_opt_yes="-O2" flags_opt_off="-O0" else compiler_id="INTEL_WINDOWS_C" flags_dbg_yes="/Zi /Oy-" flags_opt_all="/O /O0 /O1 /O2 /O3 /Od /Og /Og- /Oi /Oi-" flags_opt_yes="/O2" flags_opt_off="/Od" fi else AC_MSG_RESULT([no]) fi ]) m4trace:m4/curl-compilers.m4:292: -1- AC_DEFUN([CURL_CHECK_COMPILER_SGI_MIPS_C], [ AC_REQUIRE([CURL_CHECK_COMPILER_SGI_MIPSPRO_C])dnl AC_MSG_CHECKING([if compiler is SGI MIPS C]) CURL_CHECK_DEF([__GNUC__], [], [silent]) CURL_CHECK_DEF([__sgi], [], [silent]) if test "$curl_cv_have_def___GNUC__" = "no" && test "$curl_cv_have_def___sgi" = "yes" && test "$compiler_id" = "unknown"; then AC_MSG_RESULT([yes]) compiler_id="SGI_MIPS_C" flags_dbg_yes="-g" flags_opt_all="-O -O0 -O1 -O2 -O3 -Ofast" flags_opt_yes="-O2" flags_opt_off="-O0" else AC_MSG_RESULT([no]) fi ]) m4trace:m4/curl-compilers.m4:316: -1- AC_DEFUN([CURL_CHECK_COMPILER_SGI_MIPSPRO_C], [ AC_BEFORE([$0],[CURL_CHECK_COMPILER_SGI_MIPS_C])dnl AC_MSG_CHECKING([if compiler is SGI MIPSpro C]) CURL_CHECK_DEF([__GNUC__], [], [silent]) CURL_CHECK_DEF([_COMPILER_VERSION], [], [silent]) CURL_CHECK_DEF([_SGI_COMPILER_VERSION], [], [silent]) if test "$curl_cv_have_def___GNUC__" = "no" && (test "$curl_cv_have_def__SGI_COMPILER_VERSION" = "yes" || test "$curl_cv_have_def__COMPILER_VERSION" = "yes"); then AC_MSG_RESULT([yes]) compiler_id="SGI_MIPSPRO_C" flags_dbg_yes="-g" flags_opt_all="-O -O0 -O1 -O2 -O3 -Ofast" flags_opt_yes="-O2" flags_opt_off="-O0" else AC_MSG_RESULT([no]) fi ]) m4trace:m4/curl-compilers.m4:341: -1- AC_DEFUN([CURL_CHECK_COMPILER_SUNPRO_C], [ AC_MSG_CHECKING([if compiler is SunPro C]) CURL_CHECK_DEF([__SUNPRO_C], [], [silent]) if test "$curl_cv_have_def___SUNPRO_C" = "yes"; then AC_MSG_RESULT([yes]) compiler_id="SUNPRO_C" flags_dbg_yes="-g" flags_opt_all="-O -xO -xO1 -xO2 -xO3 -xO4 -xO5" flags_opt_yes="-xO2" flags_opt_off="" else AC_MSG_RESULT([no]) fi ]) m4trace:m4/curl-compilers.m4:361: -1- AC_DEFUN([CURL_CHECK_COMPILER_TINY_C], [ AC_MSG_CHECKING([if compiler is Tiny C]) CURL_CHECK_DEF([__TINYC__], [], [silent]) if test "$curl_cv_have_def___TINYC__" = "yes"; then AC_MSG_RESULT([yes]) compiler_id="TINY_C" flags_dbg_yes="-g" flags_opt_all="" flags_opt_yes="" flags_opt_off="" else AC_MSG_RESULT([no]) fi ]) m4trace:m4/curl-compilers.m4:384: -1- AC_DEFUN([CURL_CONVERT_INCLUDE_TO_ISYSTEM], [ AC_REQUIRE([CURL_SHFUNC_SQUEEZE])dnl AC_REQUIRE([CURL_CHECK_COMPILER])dnl AC_MSG_CHECKING([convert -I options to -isystem]) if test "$compiler_id" = "GNU_C" || test "$compiler_id" = "CLANG"; then AC_MSG_RESULT([yes]) tmp_has_include="no" tmp_chg_FLAGS="$CFLAGS" for word1 in $tmp_chg_FLAGS; do case "$word1" in -I*) tmp_has_include="yes" ;; esac done if test "$tmp_has_include" = "yes"; then tmp_chg_FLAGS=`echo "$tmp_chg_FLAGS" | "$SED" 's/^-I/ -isystem /g'` tmp_chg_FLAGS=`echo "$tmp_chg_FLAGS" | "$SED" 's/ -I/ -isystem /g'` CFLAGS="$tmp_chg_FLAGS" squeeze CFLAGS fi tmp_has_include="no" tmp_chg_FLAGS="$CPPFLAGS" for word1 in $tmp_chg_FLAGS; do case "$word1" in -I*) tmp_has_include="yes" ;; esac done if test "$tmp_has_include" = "yes"; then tmp_chg_FLAGS=`echo "$tmp_chg_FLAGS" | "$SED" 's/^-I/ -isystem /g'` tmp_chg_FLAGS=`echo "$tmp_chg_FLAGS" | "$SED" 's/ -I/ -isystem /g'` CPPFLAGS="$tmp_chg_FLAGS" squeeze CPPFLAGS fi else AC_MSG_RESULT([no]) fi ]) m4trace:m4/curl-compilers.m4:433: -1- AC_DEFUN([CURL_COMPILER_WORKS_IFELSE], [ dnl compilation capability verification tmp_compiler_works="unknown" AC_COMPILE_IFELSE([ AC_LANG_PROGRAM([[ ]],[[ int i = 1; return i; ]]) ],[ tmp_compiler_works="yes" ],[ tmp_compiler_works="no" echo " " >&6 sed 's/^/cc-fail: /' conftest.err >&6 echo " " >&6 ]) dnl linking capability verification if test "$tmp_compiler_works" = "yes"; then AC_LINK_IFELSE([ AC_LANG_PROGRAM([[ ]],[[ int i = 1; return i; ]]) ],[ tmp_compiler_works="yes" ],[ tmp_compiler_works="no" echo " " >&6 sed 's/^/link-fail: /' conftest.err >&6 echo " " >&6 ]) fi dnl only do runtime verification when not cross-compiling if test "x$cross_compiling" != "xyes" && test "$tmp_compiler_works" = "yes"; then CURL_RUN_IFELSE([ AC_LANG_PROGRAM([[ # ifdef __STDC__ # include # endif ]],[[ int i = 0; exit(i); ]]) ],[ tmp_compiler_works="yes" ],[ tmp_compiler_works="no" echo " " >&6 echo "run-fail: test program exited with status $ac_status" >&6 echo " " >&6 ]) fi dnl branch upon test result if test "$tmp_compiler_works" = "yes"; then ifelse($1,,:,[$1]) ifelse($2,,,[else $2]) fi ]) m4trace:m4/curl-compilers.m4:503: -1- AC_DEFUN([CURL_SET_COMPILER_BASIC_OPTS], [ AC_REQUIRE([CURL_CHECK_COMPILER])dnl AC_REQUIRE([CURL_SHFUNC_SQUEEZE])dnl # if test "$compiler_id" != "unknown"; then # tmp_save_CPPFLAGS="$CPPFLAGS" tmp_save_CFLAGS="$CFLAGS" tmp_CPPFLAGS="" tmp_CFLAGS="" # case "$compiler_id" in # CLANG) # dnl Disable warnings for unused arguments, otherwise clang will dnl warn about compile-time arguments used during link-time, like dnl -O and -g and -pedantic. tmp_CFLAGS="$tmp_CFLAGS -Qunused-arguments" tmp_CFLAGS="$tmp_CFLAGS -Werror-implicit-function-declaration" ;; # DEC_C) # dnl Select strict ANSI C compiler mode tmp_CFLAGS="$tmp_CFLAGS -std1" dnl Turn off optimizer ANSI C aliasing rules tmp_CFLAGS="$tmp_CFLAGS -noansi_alias" dnl Generate warnings for missing function prototypes tmp_CFLAGS="$tmp_CFLAGS -warnprotos" dnl Change some warnings into fatal errors tmp_CFLAGS="$tmp_CFLAGS -msg_fatal toofewargs,toomanyargs" ;; # GNU_C) # dnl turn implicit-function-declaration warning into error, dnl at least gcc 2.95 and later support this if test "$compiler_num" -ge "295"; then tmp_CFLAGS="$tmp_CFLAGS -Werror-implicit-function-declaration" fi ;; # HP_UX_C) # dnl Disallow run-time dereferencing of null pointers tmp_CFLAGS="$tmp_CFLAGS -z" dnl Disable some remarks dnl #4227: padding struct with n bytes to align member dnl #4255: padding size of struct with n bytes to alignment boundary tmp_CFLAGS="$tmp_CFLAGS +W 4227,4255" ;; # IBM_C) # dnl Ensure that compiler optimizations are always thread-safe. tmp_CPPFLAGS="$tmp_CPPFLAGS -qthreaded" dnl Disable type based strict aliasing optimizations, using worst dnl case aliasing assumptions when compiling. Type based aliasing dnl would restrict the lvalues that could be safely used to access dnl a data object. tmp_CPPFLAGS="$tmp_CPPFLAGS -qnoansialias" dnl Force compiler to stop after the compilation phase, without dnl generating an object code file when compilation has errors. tmp_CPPFLAGS="$tmp_CPPFLAGS -qhalt=e" ;; # INTEL_UNIX_C) # dnl On Unix this compiler uses gcc's header files, so dnl we select ANSI C89 dialect plus GNU extensions. tmp_CFLAGS="$tmp_CFLAGS -std=gnu89" dnl Change some warnings into errors dnl #140: too many arguments in function call dnl #147: declaration is incompatible with 'previous one' dnl #165: too few arguments in function call dnl #266: function declared implicitly tmp_CPPFLAGS="$tmp_CPPFLAGS -diag-error 140,147,165,266" dnl Disable some remarks dnl #279: controlling expression is constant dnl #981: operands are evaluated in unspecified order dnl #1025: zero extending result of unary operation dnl #1469: "cc" clobber ignored dnl #2259: non-pointer conversion from X to Y may lose significant bits tmp_CPPFLAGS="$tmp_CPPFLAGS -diag-disable 279,981,1025,1469,2259" ;; # INTEL_WINDOWS_C) # dnl Placeholder tmp_CFLAGS="$tmp_CFLAGS" ;; # SGI_MIPS_C) # dnl Placeholder tmp_CFLAGS="$tmp_CFLAGS" ;; # SGI_MIPSPRO_C) # dnl Placeholder tmp_CFLAGS="$tmp_CFLAGS" ;; # SUNPRO_C) # dnl Placeholder tmp_CFLAGS="$tmp_CFLAGS" ;; # TINY_C) # dnl Placeholder tmp_CFLAGS="$tmp_CFLAGS" ;; # esac # squeeze tmp_CPPFLAGS squeeze tmp_CFLAGS # if test ! -z "$tmp_CFLAGS" || test ! -z "$tmp_CPPFLAGS"; then AC_MSG_CHECKING([if compiler accepts some basic options]) CPPFLAGS="$tmp_save_CPPFLAGS $tmp_CPPFLAGS" CFLAGS="$tmp_save_CFLAGS $tmp_CFLAGS" squeeze CPPFLAGS squeeze CFLAGS CURL_COMPILER_WORKS_IFELSE([ AC_MSG_RESULT([yes]) AC_MSG_NOTICE([compiler options added: $tmp_CFLAGS $tmp_CPPFLAGS]) ],[ AC_MSG_RESULT([no]) AC_MSG_WARN([compiler options rejected: $tmp_CFLAGS $tmp_CPPFLAGS]) dnl restore initial settings CPPFLAGS="$tmp_save_CPPFLAGS" CFLAGS="$tmp_save_CFLAGS" ]) fi # fi ]) m4trace:m4/curl-compilers.m4:652: -1- AC_DEFUN([CURL_SET_COMPILER_DEBUG_OPTS], [ AC_REQUIRE([CURL_CHECK_OPTION_DEBUG])dnl AC_REQUIRE([CURL_CHECK_COMPILER])dnl AC_REQUIRE([CURL_SHFUNC_SQUEEZE])dnl # if test "$compiler_id" != "unknown"; then # tmp_save_CFLAGS="$CFLAGS" tmp_save_CPPFLAGS="$CPPFLAGS" # tmp_options="" tmp_CFLAGS="$CFLAGS" tmp_CPPFLAGS="$CPPFLAGS" # if test "$want_debug" = "yes"; then AC_MSG_CHECKING([if compiler accepts debug enabling options]) tmp_options="$flags_dbg_yes" fi # if test "$flags_prefer_cppflags" = "yes"; then CPPFLAGS="$tmp_CPPFLAGS $tmp_options" CFLAGS="$tmp_CFLAGS" else CPPFLAGS="$tmp_CPPFLAGS" CFLAGS="$tmp_CFLAGS $tmp_options" fi squeeze CPPFLAGS squeeze CFLAGS fi ]) m4trace:m4/curl-compilers.m4:689: -1- AC_DEFUN([CURL_SET_COMPILER_OPTIMIZE_OPTS], [ AC_REQUIRE([CURL_CHECK_OPTION_OPTIMIZE])dnl AC_REQUIRE([CURL_CHECK_COMPILER])dnl AC_REQUIRE([CURL_SHFUNC_SQUEEZE])dnl # if test "$compiler_id" != "unknown"; then # tmp_save_CFLAGS="$CFLAGS" tmp_save_CPPFLAGS="$CPPFLAGS" # tmp_options="" tmp_CFLAGS="$CFLAGS" tmp_CPPFLAGS="$CPPFLAGS" honor_optimize_option="yes" # dnl If optimization request setting has not been explicitly specified, dnl it has been derived from the debug setting and initially assumed. dnl This initially assumed optimizer setting will finally be ignored dnl if CFLAGS or CPPFLAGS already hold optimizer flags. This implies dnl that an initially assumed optimizer setting might not be honored. # if test "$want_optimize" = "assume_no" || test "$want_optimize" = "assume_yes"; then AC_MSG_CHECKING([if compiler optimizer assumed setting might be used]) CURL_VAR_MATCH_IFELSE([tmp_CFLAGS],[$flags_opt_all],[ honor_optimize_option="no" ]) CURL_VAR_MATCH_IFELSE([tmp_CPPFLAGS],[$flags_opt_all],[ honor_optimize_option="no" ]) AC_MSG_RESULT([$honor_optimize_option]) if test "$honor_optimize_option" = "yes"; then if test "$want_optimize" = "assume_yes"; then want_optimize="yes" fi if test "$want_optimize" = "assume_no"; then want_optimize="no" fi fi fi # if test "$honor_optimize_option" = "yes"; then CURL_VAR_STRIP([tmp_CFLAGS],[$flags_opt_all]) CURL_VAR_STRIP([tmp_CPPFLAGS],[$flags_opt_all]) if test "$want_optimize" = "yes"; then AC_MSG_CHECKING([if compiler accepts optimizer enabling options]) tmp_options="$flags_opt_yes" fi if test "$want_optimize" = "no"; then AC_MSG_CHECKING([if compiler accepts optimizer disabling options]) tmp_options="$flags_opt_off" fi if test "$flags_prefer_cppflags" = "yes"; then CPPFLAGS="$tmp_CPPFLAGS $tmp_options" CFLAGS="$tmp_CFLAGS" else CPPFLAGS="$tmp_CPPFLAGS" CFLAGS="$tmp_CFLAGS $tmp_options" fi squeeze CPPFLAGS squeeze CFLAGS CURL_COMPILER_WORKS_IFELSE([ AC_MSG_RESULT([yes]) AC_MSG_NOTICE([compiler options added: $tmp_options]) ],[ AC_MSG_RESULT([no]) AC_MSG_WARN([compiler options rejected: $tmp_options]) dnl restore initial settings CPPFLAGS="$tmp_save_CPPFLAGS" CFLAGS="$tmp_save_CFLAGS" ]) fi # fi ]) m4trace:m4/curl-compilers.m4:771: -1- AC_DEFUN([CURL_SET_COMPILER_WARNING_OPTS], [ AC_REQUIRE([CURL_CHECK_OPTION_WARNINGS])dnl AC_REQUIRE([CURL_CHECK_COMPILER])dnl AC_REQUIRE([CURL_SHFUNC_SQUEEZE])dnl # if test "$compiler_id" != "unknown"; then # tmp_save_CPPFLAGS="$CPPFLAGS" tmp_save_CFLAGS="$CFLAGS" tmp_CPPFLAGS="" tmp_CFLAGS="" # case "$compiler_id" in # CLANG) # if test "$want_warnings" = "yes"; then tmp_CFLAGS="$tmp_CFLAGS -pedantic" CURL_ADD_COMPILER_WARNINGS([tmp_CFLAGS], [all extra]) CURL_ADD_COMPILER_WARNINGS([tmp_CFLAGS], [pointer-arith write-strings]) CURL_ADD_COMPILER_WARNINGS([tmp_CFLAGS], [shadow]) CURL_ADD_COMPILER_WARNINGS([tmp_CFLAGS], [inline nested-externs]) CURL_ADD_COMPILER_WARNINGS([tmp_CFLAGS], [missing-declarations]) CURL_ADD_COMPILER_WARNINGS([tmp_CFLAGS], [missing-prototypes]) tmp_CFLAGS="$tmp_CFLAGS -Wno-long-long" CURL_ADD_COMPILER_WARNINGS([tmp_CFLAGS], [float-equal]) CURL_ADD_COMPILER_WARNINGS([tmp_CFLAGS], [sign-compare]) tmp_CFLAGS="$tmp_CFLAGS -Wno-multichar" CURL_ADD_COMPILER_WARNINGS([tmp_CFLAGS], [undef]) tmp_CFLAGS="$tmp_CFLAGS -Wno-format-nonliteral" CURL_ADD_COMPILER_WARNINGS([tmp_CFLAGS], [endif-labels strict-prototypes]) CURL_ADD_COMPILER_WARNINGS([tmp_CFLAGS], [declaration-after-statement]) CURL_ADD_COMPILER_WARNINGS([tmp_CFLAGS], [cast-align]) tmp_CFLAGS="$tmp_CFLAGS -Wno-system-headers" CURL_ADD_COMPILER_WARNINGS([tmp_CFLAGS], [shorten-64-to-32]) # dnl Only clang 1.1 or later if test "$compiler_num" -ge "101"; then CURL_ADD_COMPILER_WARNINGS([tmp_CFLAGS], [unused]) fi # dnl Only clang 2.7 or later if test "$compiler_num" -ge "207"; then CURL_ADD_COMPILER_WARNINGS([tmp_CFLAGS], [address]) CURL_ADD_COMPILER_WARNINGS([tmp_CFLAGS], [attributes]) CURL_ADD_COMPILER_WARNINGS([tmp_CFLAGS], [bad-function-cast]) CURL_ADD_COMPILER_WARNINGS([tmp_CFLAGS], [conversion]) CURL_ADD_COMPILER_WARNINGS([tmp_CFLAGS], [div-by-zero format-security]) CURL_ADD_COMPILER_WARNINGS([tmp_CFLAGS], [empty-body]) CURL_ADD_COMPILER_WARNINGS([tmp_CFLAGS], [missing-field-initializers]) CURL_ADD_COMPILER_WARNINGS([tmp_CFLAGS], [missing-noreturn]) CURL_ADD_COMPILER_WARNINGS([tmp_CFLAGS], [old-style-definition]) CURL_ADD_COMPILER_WARNINGS([tmp_CFLAGS], [redundant-decls]) # CURL_ADD_COMPILER_WARNINGS([tmp_CFLAGS], [switch-enum]) # Not used because this basically disallows default case CURL_ADD_COMPILER_WARNINGS([tmp_CFLAGS], [type-limits]) # CURL_ADD_COMPILER_WARNINGS([tmp_CFLAGS], [unused-macros]) # Not practical CURL_ADD_COMPILER_WARNINGS([tmp_CFLAGS], [unreachable-code unused-parameter]) fi # dnl Only clang 2.8 or later if test "$compiler_num" -ge "208"; then CURL_ADD_COMPILER_WARNINGS([tmp_CFLAGS], [ignored-qualifiers]) CURL_ADD_COMPILER_WARNINGS([tmp_CFLAGS], [vla]) fi # dnl Only clang 2.9 or later if test "$compiler_num" -ge "209"; then CURL_ADD_COMPILER_WARNINGS([tmp_CFLAGS], [sign-conversion]) tmp_CFLAGS="$tmp_CFLAGS -Wno-error=sign-conversion" # FIXME CURL_ADD_COMPILER_WARNINGS([tmp_CFLAGS], [shift-sign-overflow]) # CURL_ADD_COMPILER_WARNINGS([tmp_CFLAGS], [padded]) # Not used because we cannot change public structs fi # dnl Only clang 3.0 or later if test "$compiler_num" -ge "300"; then CURL_ADD_COMPILER_WARNINGS([tmp_CFLAGS], [language-extension-token]) tmp_CFLAGS="$tmp_CFLAGS -Wformat=2" fi # dnl Only clang 3.2 or later if test "$compiler_num" -ge "302"; then CURL_ADD_COMPILER_WARNINGS([tmp_CFLAGS], [enum-conversion]) CURL_ADD_COMPILER_WARNINGS([tmp_CFLAGS], [sometimes-uninitialized]) case $host_os in cygwin* | mingw*) dnl skip missing-variable-declarations warnings for Cygwin and dnl MinGW because the libtool wrapper executable causes them ;; *) CURL_ADD_COMPILER_WARNINGS([tmp_CFLAGS], [missing-variable-declarations]) ;; esac fi # dnl Only clang 3.4 or later if test "$compiler_num" -ge "304"; then CURL_ADD_COMPILER_WARNINGS([tmp_CFLAGS], [header-guard]) CURL_ADD_COMPILER_WARNINGS([tmp_CFLAGS], [unused-const-variable]) fi # dnl Only clang 3.5 or later if test "$compiler_num" -ge "305"; then CURL_ADD_COMPILER_WARNINGS([tmp_CFLAGS], [pragmas]) CURL_ADD_COMPILER_WARNINGS([tmp_CFLAGS], [unreachable-code-break]) fi # dnl Only clang 3.6 or later if test "$compiler_num" -ge "306"; then CURL_ADD_COMPILER_WARNINGS([tmp_CFLAGS], [double-promotion]) fi # dnl Only clang 3.9 or later if test "$compiler_num" -ge "309"; then CURL_ADD_COMPILER_WARNINGS([tmp_CFLAGS], [comma]) # avoid the varargs warning, fixed in 4.0 # https://bugs.llvm.org/show_bug.cgi?id=29140 if test "$compiler_num" -lt "400"; then tmp_CFLAGS="$tmp_CFLAGS -Wno-varargs" fi fi dnl clang 7 or later if test "$compiler_num" -ge "700"; then CURL_ADD_COMPILER_WARNINGS([tmp_CFLAGS], [assign-enum]) CURL_ADD_COMPILER_WARNINGS([tmp_CFLAGS], [extra-semi-stmt]) fi dnl clang 10 or later if test "$compiler_num" -ge "1000"; then tmp_CFLAGS="$tmp_CFLAGS -Wimplicit-fallthrough" # we have silencing markup for clang 10.0 and above only fi fi ;; # DEC_C) # if test "$want_warnings" = "yes"; then dnl Select a higher warning level than default level2 tmp_CFLAGS="$tmp_CFLAGS -msg_enable level3" fi ;; # GNU_C) # if test "$want_warnings" = "yes"; then # dnl Do not enable -pedantic when cross-compiling with a gcc older dnl than 3.0, to avoid warnings from third party system headers. if test "x$cross_compiling" != "xyes" || test "$compiler_num" -ge "300"; then tmp_CFLAGS="$tmp_CFLAGS -pedantic" fi # dnl Set of options we believe *ALL* gcc versions support: CURL_ADD_COMPILER_WARNINGS([tmp_CFLAGS], [all]) tmp_CFLAGS="$tmp_CFLAGS -W" # dnl Only gcc 1.4 or later if test "$compiler_num" -ge "104"; then CURL_ADD_COMPILER_WARNINGS([tmp_CFLAGS], [pointer-arith write-strings]) dnl If not cross-compiling with a gcc older than 3.0 if test "x$cross_compiling" != "xyes" || test "$compiler_num" -ge "300"; then CURL_ADD_COMPILER_WARNINGS([tmp_CFLAGS], [unused shadow]) fi fi # dnl Only gcc 2.7 or later if test "$compiler_num" -ge "207"; then CURL_ADD_COMPILER_WARNINGS([tmp_CFLAGS], [inline nested-externs]) dnl If not cross-compiling with a gcc older than 3.0 if test "x$cross_compiling" != "xyes" || test "$compiler_num" -ge "300"; then CURL_ADD_COMPILER_WARNINGS([tmp_CFLAGS], [missing-declarations]) CURL_ADD_COMPILER_WARNINGS([tmp_CFLAGS], [missing-prototypes]) fi fi # dnl Only gcc 2.95 or later if test "$compiler_num" -ge "295"; then tmp_CFLAGS="$tmp_CFLAGS -Wno-long-long" CURL_ADD_COMPILER_WARNINGS([tmp_CFLAGS], [bad-function-cast]) fi # dnl Only gcc 2.96 or later if test "$compiler_num" -ge "296"; then CURL_ADD_COMPILER_WARNINGS([tmp_CFLAGS], [float-equal]) tmp_CFLAGS="$tmp_CFLAGS -Wno-multichar" CURL_ADD_COMPILER_WARNINGS([tmp_CFLAGS], [sign-compare]) dnl -Wundef used only if gcc is 2.96 or later since we get dnl lots of "`_POSIX_C_SOURCE' is not defined" in system dnl headers with gcc 2.95.4 on FreeBSD 4.9 CURL_ADD_COMPILER_WARNINGS([tmp_CFLAGS], [undef]) fi # dnl Only gcc 2.97 or later if test "$compiler_num" -ge "297"; then tmp_CFLAGS="$tmp_CFLAGS -Wno-format-nonliteral" fi # dnl Only gcc 3.0 or later if test "$compiler_num" -ge "300"; then dnl -Wunreachable-code seems totally unreliable on my gcc 3.3.2 on dnl on i686-Linux as it gives us heaps with false positives. dnl Also, on gcc 4.0.X it is totally unbearable and complains all dnl over making it unusable for generic purposes. Let's not use it. tmp_CFLAGS="$tmp_CFLAGS" fi # dnl Only gcc 3.3 or later if test "$compiler_num" -ge "303"; then CURL_ADD_COMPILER_WARNINGS([tmp_CFLAGS], [endif-labels strict-prototypes]) fi # dnl Only gcc 3.4 or later if test "$compiler_num" -ge "304"; then CURL_ADD_COMPILER_WARNINGS([tmp_CFLAGS], [declaration-after-statement]) CURL_ADD_COMPILER_WARNINGS([tmp_CFLAGS], [old-style-definition]) fi # dnl Only gcc 4.0 or later if test "$compiler_num" -ge "400"; then tmp_CFLAGS="$tmp_CFLAGS -Wstrict-aliasing=3" fi # dnl Only gcc 4.1 or later if test "$compiler_num" -ge "401"; then CURL_ADD_COMPILER_WARNINGS([tmp_CFLAGS], [attributes]) CURL_ADD_COMPILER_WARNINGS([tmp_CFLAGS], [div-by-zero format-security]) CURL_ADD_COMPILER_WARNINGS([tmp_CFLAGS], [missing-field-initializers]) case $host in *-*-msys*) ;; *) CURL_ADD_COMPILER_WARNINGS([tmp_CFLAGS], [missing-noreturn]) # Seen to clash with libtool-generated stub code ;; esac CURL_ADD_COMPILER_WARNINGS([tmp_CFLAGS], [unreachable-code unused-parameter]) # CURL_ADD_COMPILER_WARNINGS([tmp_CFLAGS], [padded]) # Not used because we cannot change public structs CURL_ADD_COMPILER_WARNINGS([tmp_CFLAGS], [pragmas]) CURL_ADD_COMPILER_WARNINGS([tmp_CFLAGS], [redundant-decls]) # CURL_ADD_COMPILER_WARNINGS([tmp_CFLAGS], [switch-enum]) # Not used because this basically disallows default case # CURL_ADD_COMPILER_WARNINGS([tmp_CFLAGS], [unused-macros]) # Not practical fi # dnl Only gcc 4.2 or later if test "$compiler_num" -ge "402"; then CURL_ADD_COMPILER_WARNINGS([tmp_CFLAGS], [cast-align]) fi # dnl Only gcc 4.3 or later if test "$compiler_num" -ge "403"; then CURL_ADD_COMPILER_WARNINGS([tmp_CFLAGS], [address]) CURL_ADD_COMPILER_WARNINGS([tmp_CFLAGS], [type-limits old-style-declaration]) CURL_ADD_COMPILER_WARNINGS([tmp_CFLAGS], [missing-parameter-type empty-body]) CURL_ADD_COMPILER_WARNINGS([tmp_CFLAGS], [clobbered ignored-qualifiers]) CURL_ADD_COMPILER_WARNINGS([tmp_CFLAGS], [conversion trampolines]) CURL_ADD_COMPILER_WARNINGS([tmp_CFLAGS], [sign-conversion]) tmp_CFLAGS="$tmp_CFLAGS -Wno-error=sign-conversion" # FIXME CURL_ADD_COMPILER_WARNINGS([tmp_CFLAGS], [vla]) dnl required for -Warray-bounds, included in -Wall tmp_CFLAGS="$tmp_CFLAGS -ftree-vrp" fi # dnl Only gcc 4.5 or later if test "$compiler_num" -ge "405"; then dnl Only Windows targets if test "$curl_cv_native_windows" = "yes"; then tmp_CFLAGS="$tmp_CFLAGS -Wno-pedantic-ms-format" fi fi # dnl Only gcc 4.6 or later if test "$compiler_num" -ge "406"; then CURL_ADD_COMPILER_WARNINGS([tmp_CFLAGS], [double-promotion]) fi # dnl only gcc 4.8 or later if test "$compiler_num" -ge "408"; then tmp_CFLAGS="$tmp_CFLAGS -Wformat=2" fi # dnl Only gcc 5 or later if test "$compiler_num" -ge "500"; then tmp_CFLAGS="$tmp_CFLAGS -Warray-bounds=2" fi # dnl Only gcc 6 or later if test "$compiler_num" -ge "600"; then CURL_ADD_COMPILER_WARNINGS([tmp_CFLAGS], [shift-negative-value]) tmp_CFLAGS="$tmp_CFLAGS -Wshift-overflow=2" CURL_ADD_COMPILER_WARNINGS([tmp_CFLAGS], [null-dereference]) tmp_CFLAGS="$tmp_CFLAGS -fdelete-null-pointer-checks" CURL_ADD_COMPILER_WARNINGS([tmp_CFLAGS], [duplicated-cond]) CURL_ADD_COMPILER_WARNINGS([tmp_CFLAGS], [unused-const-variable]) fi # dnl Only gcc 7 or later if test "$compiler_num" -ge "700"; then CURL_ADD_COMPILER_WARNINGS([tmp_CFLAGS], [duplicated-branches]) CURL_ADD_COMPILER_WARNINGS([tmp_CFLAGS], [restrict]) CURL_ADD_COMPILER_WARNINGS([tmp_CFLAGS], [alloc-zero]) tmp_CFLAGS="$tmp_CFLAGS -Wno-format-overflow" tmp_CFLAGS="$tmp_CFLAGS -Wformat-truncation=2" tmp_CFLAGS="$tmp_CFLAGS -Wimplicit-fallthrough" fi # dnl Only gcc 10 or later if test "$compiler_num" -ge "1000"; then CURL_ADD_COMPILER_WARNINGS([tmp_CFLAGS], [arith-conversion]) CURL_ADD_COMPILER_WARNINGS([tmp_CFLAGS], [enum-conversion]) fi # fi # dnl Do not issue warnings for code in system include paths. if test "$compiler_num" -ge "300"; then tmp_CFLAGS="$tmp_CFLAGS -Wno-system-headers" else dnl When cross-compiling with a gcc older than 3.0, disable dnl some warnings triggered on third party system headers. if test "x$cross_compiling" = "xyes"; then if test "$compiler_num" -ge "104"; then dnl gcc 1.4 or later tmp_CFLAGS="$tmp_CFLAGS -Wno-unused -Wno-shadow" fi if test "$compiler_num" -ge "207"; then dnl gcc 2.7 or later tmp_CFLAGS="$tmp_CFLAGS -Wno-missing-declarations" tmp_CFLAGS="$tmp_CFLAGS -Wno-missing-prototypes" fi fi fi ;; # HP_UX_C) # if test "$want_warnings" = "yes"; then dnl Issue all warnings tmp_CFLAGS="$tmp_CFLAGS +w1" fi ;; # IBM_C) # dnl Placeholder tmp_CFLAGS="$tmp_CFLAGS" ;; # INTEL_UNIX_C) # if test "$want_warnings" = "yes"; then if test "$compiler_num" -gt "600"; then dnl Show errors, warnings, and remarks tmp_CPPFLAGS="$tmp_CPPFLAGS -Wall -w2" dnl Perform extra compile-time code checking tmp_CPPFLAGS="$tmp_CPPFLAGS -Wcheck" dnl Warn on nested comments tmp_CPPFLAGS="$tmp_CPPFLAGS -Wcomment" dnl Show warnings relative to deprecated features tmp_CPPFLAGS="$tmp_CPPFLAGS -Wdeprecated" dnl Enable warnings for missing prototypes tmp_CPPFLAGS="$tmp_CPPFLAGS -Wmissing-prototypes" dnl Enable warnings for 64-bit portability issues tmp_CPPFLAGS="$tmp_CPPFLAGS -Wp64" dnl Enable warnings for questionable pointer arithmetic tmp_CPPFLAGS="$tmp_CPPFLAGS -Wpointer-arith" dnl Check for function return typw issues tmp_CPPFLAGS="$tmp_CPPFLAGS -Wreturn-type" dnl Warn on variable declarations hiding a previous one tmp_CPPFLAGS="$tmp_CPPFLAGS -Wshadow" dnl Warn when a variable is used before initialized tmp_CPPFLAGS="$tmp_CPPFLAGS -Wuninitialized" dnl Warn if a declared function is not used tmp_CPPFLAGS="$tmp_CPPFLAGS -Wunused-function" fi fi dnl Disable using EBP register in optimizations tmp_CFLAGS="$tmp_CFLAGS -fno-omit-frame-pointer" dnl Disable use of ANSI C aliasing rules in optimizations tmp_CFLAGS="$tmp_CFLAGS -fno-strict-aliasing" dnl Value-safe optimizations on floating-point data tmp_CFLAGS="$tmp_CFLAGS -fp-model precise" ;; # INTEL_WINDOWS_C) # dnl Placeholder tmp_CFLAGS="$tmp_CFLAGS" ;; # SGI_MIPS_C) # if test "$want_warnings" = "yes"; then dnl Perform stricter semantic and lint-like checks tmp_CFLAGS="$tmp_CFLAGS -fullwarn" fi ;; # SGI_MIPSPRO_C) # if test "$want_warnings" = "yes"; then dnl Perform stricter semantic and lint-like checks tmp_CFLAGS="$tmp_CFLAGS -fullwarn" dnl Disable some remarks dnl #1209: controlling expression is constant tmp_CFLAGS="$tmp_CFLAGS -woff 1209" fi ;; # SUNPRO_C) # if test "$want_warnings" = "yes"; then dnl Perform stricter semantic and lint-like checks tmp_CFLAGS="$tmp_CFLAGS -v" fi ;; # TINY_C) # if test "$want_warnings" = "yes"; then dnl Activate all warnings CURL_ADD_COMPILER_WARNINGS([tmp_CFLAGS], [all]) dnl Make string constants be of type const char * CURL_ADD_COMPILER_WARNINGS([tmp_CFLAGS], [write-strings]) dnl Warn use of unsupported GCC features ignored by TCC CURL_ADD_COMPILER_WARNINGS([tmp_CFLAGS], [unsupported]) fi ;; # esac # squeeze tmp_CPPFLAGS squeeze tmp_CFLAGS # if test ! -z "$tmp_CFLAGS" || test ! -z "$tmp_CPPFLAGS"; then AC_MSG_CHECKING([if compiler accepts strict warning options]) CPPFLAGS="$tmp_save_CPPFLAGS $tmp_CPPFLAGS" CFLAGS="$tmp_save_CFLAGS $tmp_CFLAGS" squeeze CPPFLAGS squeeze CFLAGS CURL_COMPILER_WORKS_IFELSE([ AC_MSG_RESULT([yes]) AC_MSG_NOTICE([compiler options added: $tmp_CFLAGS $tmp_CPPFLAGS]) ],[ AC_MSG_RESULT([no]) AC_MSG_WARN([compiler options rejected: $tmp_CFLAGS $tmp_CPPFLAGS]) dnl restore initial settings CPPFLAGS="$tmp_save_CPPFLAGS" CFLAGS="$tmp_save_CFLAGS" ]) fi # fi ]) m4trace:m4/curl-compilers.m4:1231: -1- AC_DEFUN([CURL_SHFUNC_SQUEEZE], [ squeeze() { _sqz_result="" eval _sqz_input=\[$][$]1 for _sqz_token in $_sqz_input; do if test -z "$_sqz_result"; then _sqz_result="$_sqz_token" else _sqz_result="$_sqz_result $_sqz_token" fi done eval [$]1=\$_sqz_result return 0 } ]) m4trace:m4/curl-compilers.m4:1254: -1- AC_DEFUN([CURL_CHECK_COMPILER_HALT_ON_ERROR], [ AC_MSG_CHECKING([if compiler halts on compilation errors]) AC_COMPILE_IFELSE([ AC_LANG_PROGRAM([[ ]],[[ force compilation error ]]) ],[ AC_MSG_RESULT([no]) AC_MSG_ERROR([compiler does not halt on compilation errors.]) ],[ AC_MSG_RESULT([yes]) ]) ]) m4trace:m4/curl-compilers.m4:1277: -1- AC_DEFUN([CURL_CHECK_COMPILER_ARRAY_SIZE_NEGATIVE], [ AC_REQUIRE([CURL_CHECK_COMPILER_HALT_ON_ERROR])dnl AC_MSG_CHECKING([if compiler halts on negative sized arrays]) AC_COMPILE_IFELSE([ AC_LANG_PROGRAM([[ typedef char bad_t[sizeof(char) == sizeof(int) ? -1 : -1 ]; ]],[[ bad_t dummy; ]]) ],[ AC_MSG_RESULT([no]) AC_MSG_ERROR([compiler does not halt on negative sized arrays.]) ],[ AC_MSG_RESULT([yes]) ]) ]) m4trace:m4/curl-compilers.m4:1302: -1- AC_DEFUN([CURL_CHECK_COMPILER_STRUCT_MEMBER_SIZE], [ AC_REQUIRE([CURL_CHECK_COMPILER_ARRAY_SIZE_NEGATIVE])dnl AC_MSG_CHECKING([if compiler struct member size checking works]) tst_compiler_check_one_works="unknown" AC_COMPILE_IFELSE([ AC_LANG_PROGRAM([[ struct mystruct { int mi; char mc; struct mystruct *next; }; struct mystruct myfunc(); typedef char good_t1[sizeof(myfunc().mi) == sizeof(int) ? 1 : -1 ]; typedef char good_t2[sizeof(myfunc().mc) == sizeof(char) ? 1 : -1 ]; ]],[[ good_t1 dummy1; good_t2 dummy2; ]]) ],[ tst_compiler_check_one_works="yes" ],[ tst_compiler_check_one_works="no" sed 's/^/cc-src: /' conftest.$ac_ext >&6 sed 's/^/cc-err: /' conftest.err >&6 ]) tst_compiler_check_two_works="unknown" AC_COMPILE_IFELSE([ AC_LANG_PROGRAM([[ struct mystruct { int mi; char mc; struct mystruct *next; }; struct mystruct myfunc(); typedef char bad_t1[sizeof(myfunc().mi) != sizeof(int) ? 1 : -1 ]; typedef char bad_t2[sizeof(myfunc().mc) != sizeof(char) ? 1 : -1 ]; ]],[[ bad_t1 dummy1; bad_t2 dummy2; ]]) ],[ tst_compiler_check_two_works="no" ],[ tst_compiler_check_two_works="yes" ]) if test "$tst_compiler_check_one_works" = "yes" && test "$tst_compiler_check_two_works" = "yes"; then AC_MSG_RESULT([yes]) else AC_MSG_RESULT([no]) AC_MSG_ERROR([compiler fails struct member size checking.]) fi ]) m4trace:m4/curl-compilers.m4:1363: -1- AC_DEFUN([CURL_CHECK_COMPILER_SYMBOL_HIDING], [ AC_REQUIRE([CURL_CHECK_COMPILER])dnl AC_BEFORE([$0],[CURL_CONFIGURE_SYMBOL_HIDING])dnl AC_MSG_CHECKING([if compiler supports hiding library internal symbols]) supports_symbol_hiding="no" symbol_hiding_CFLAGS="" symbol_hiding_EXTERN="" tmp_CFLAGS="" tmp_EXTERN="" case "$compiler_id" in CLANG) dnl All versions of clang support -fvisibility= tmp_EXTERN="__attribute__ ((__visibility__ (\"default\")))" tmp_CFLAGS="-fvisibility=hidden" supports_symbol_hiding="yes" ;; GNU_C) dnl Only gcc 3.4 or later if test "$compiler_num" -ge "304"; then if $CC --help --verbose 2>/dev/null | grep fvisibility= >/dev/null ; then tmp_EXTERN="__attribute__ ((__visibility__ (\"default\")))" tmp_CFLAGS="-fvisibility=hidden" supports_symbol_hiding="yes" fi fi ;; INTEL_UNIX_C) dnl Only icc 9.0 or later if test "$compiler_num" -ge "900"; then if $CC --help --verbose 2>&1 | grep fvisibility= > /dev/null ; then tmp_save_CFLAGS="$CFLAGS" CFLAGS="$CFLAGS -fvisibility=hidden" AC_LINK_IFELSE([ AC_LANG_PROGRAM([[ # include ]],[[ printf("icc fvisibility bug test"); ]]) ],[ tmp_EXTERN="__attribute__ ((__visibility__ (\"default\")))" tmp_CFLAGS="-fvisibility=hidden" supports_symbol_hiding="yes" ]) CFLAGS="$tmp_save_CFLAGS" fi fi ;; SUNPRO_C) if $CC 2>&1 | grep flags >/dev/null && $CC -flags | grep xldscope= >/dev/null ; then tmp_EXTERN="__global" tmp_CFLAGS="-xldscope=hidden" supports_symbol_hiding="yes" fi ;; esac if test "$supports_symbol_hiding" = "yes"; then tmp_save_CFLAGS="$CFLAGS" CFLAGS="$tmp_save_CFLAGS $tmp_CFLAGS" squeeze CFLAGS AC_COMPILE_IFELSE([ AC_LANG_PROGRAM([[ $tmp_EXTERN char *dummy(char *buff); char *dummy(char *buff) { if(buff) return ++buff; else return buff; } ]],[[ char b[16]; char *r = dummy(&b[0]); if(r) return (int)*r; ]]) ],[ supports_symbol_hiding="yes" if test -f conftest.err; then grep 'visibility' conftest.err >/dev/null if test "$?" -eq "0"; then supports_symbol_hiding="no" fi fi ],[ supports_symbol_hiding="no" echo " " >&6 sed 's/^/cc-src: /' conftest.$ac_ext >&6 sed 's/^/cc-err: /' conftest.err >&6 echo " " >&6 ]) CFLAGS="$tmp_save_CFLAGS" fi if test "$supports_symbol_hiding" = "yes"; then AC_MSG_RESULT([yes]) symbol_hiding_CFLAGS="$tmp_CFLAGS" symbol_hiding_EXTERN="$tmp_EXTERN" else AC_MSG_RESULT([no]) fi ]) m4trace:m4/curl-compilers.m4:1472: -1- AC_DEFUN([CURL_CHECK_COMPILER_PROTOTYPE_MISMATCH], [ AC_REQUIRE([CURL_CHECK_COMPILER_HALT_ON_ERROR])dnl AC_MSG_CHECKING([if compiler halts on function prototype mismatch]) AC_COMPILE_IFELSE([ AC_LANG_PROGRAM([[ # include int rand(int n); int rand(int n) { if(n) return ++n; else return n; } ]],[[ int i[2]={0,0}; int j = rand(i[0]); if(j) return j; ]]) ],[ AC_MSG_RESULT([no]) AC_MSG_ERROR([compiler does not halt on function prototype mismatch.]) ],[ AC_MSG_RESULT([yes]) ]) ]) m4trace:m4/curl-compilers.m4:1509: -1- AC_DEFUN([CURL_VAR_MATCH], [ ac_var_match_word="no" for word1 in $[$1]; do for word2 in [$2]; do if test "$word1" = "$word2"; then ac_var_match_word="yes" fi done done ]) m4trace:m4/curl-compilers.m4:1528: -1- AC_DEFUN([CURL_VAR_MATCH_IFELSE], [ CURL_VAR_MATCH([$1],[$2]) if test "$ac_var_match_word" = "yes"; then ifelse($3,,:,[$3]) ifelse($4,,,[else $4]) fi ]) m4trace:m4/curl-compilers.m4:1544: -1- AC_DEFUN([CURL_VAR_STRIP], [ AC_REQUIRE([CURL_SHFUNC_SQUEEZE])dnl ac_var_stripped="" for word1 in $[$1]; do ac_var_strip_word="no" for word2 in [$2]; do if test "$word1" = "$word2"; then ac_var_strip_word="yes" fi done if test "$ac_var_strip_word" = "no"; then ac_var_stripped="$ac_var_stripped $word1" fi done dnl squeeze whitespace out of result [$1]="$ac_var_stripped" squeeze [$1] ]) m4trace:m4/curl-compilers.m4:1570: -1- AC_DEFUN([CURL_ADD_COMPILER_WARNINGS], [ AC_REQUIRE([CURL_SHFUNC_SQUEEZE])dnl ac_var_added_warnings="" for warning in [$2]; do CURL_VAR_MATCH(CFLAGS, [-Wno-$warning -W$warning]) if test "$ac_var_match_word" = "no"; then ac_var_added_warnings="$ac_var_added_warnings -W$warning" fi done dnl squeeze whitespace out of result [$1]="$[$1] $ac_var_added_warnings" squeeze [$1] ]) m4trace:m4/curl-confopts.m4:34: -1- AC_DEFUN([CURL_CHECK_OPTION_THREADED_RESOLVER], [ AC_MSG_CHECKING([whether to enable the threaded resolver]) OPT_THRES="default" AC_ARG_ENABLE(threaded_resolver, AS_HELP_STRING([--enable-threaded-resolver],[Enable threaded resolver]) AS_HELP_STRING([--disable-threaded-resolver],[Disable threaded resolver]), OPT_THRES=$enableval) case "$OPT_THRES" in no) dnl --disable-threaded-resolver option used want_thres="no" ;; *) dnl configure option not specified want_thres="yes" ;; esac AC_MSG_RESULT([$want_thres]) ]) m4trace:m4/curl-confopts.m4:60: -1- AC_DEFUN([CURL_CHECK_OPTION_ARES], [ dnl AC_BEFORE([$0],[CURL_CHECK_OPTION_THREADS])dnl AC_BEFORE([$0],[CURL_CHECK_LIB_ARES])dnl AC_MSG_CHECKING([whether to enable c-ares for DNS lookups]) OPT_ARES="default" AC_ARG_ENABLE(ares, AS_HELP_STRING([--enable-ares@<:@=PATH@:>@],[Enable c-ares for DNS lookups]) AS_HELP_STRING([--disable-ares],[Disable c-ares for DNS lookups]), OPT_ARES=$enableval) case "$OPT_ARES" in no) dnl --disable-ares option used want_ares="no" ;; default) dnl configure option not specified want_ares="no" ;; *) dnl --enable-ares option used want_ares="yes" if test -n "$enableval" && test "$enableval" != "yes"; then want_ares_path="$enableval" fi ;; esac AC_MSG_RESULT([$want_ares]) ]) m4trace:m4/curl-confopts.m4:96: -1- AC_DEFUN([CURL_CHECK_OPTION_CURLDEBUG], [ AC_BEFORE([$0],[CURL_CHECK_CURLDEBUG])dnl AC_MSG_CHECKING([whether to enable curl debug memory tracking]) OPT_CURLDEBUG_BUILD="default" AC_ARG_ENABLE(curldebug, AS_HELP_STRING([--enable-curldebug],[Enable curl debug memory tracking]) AS_HELP_STRING([--disable-curldebug],[Disable curl debug memory tracking]), OPT_CURLDEBUG_BUILD=$enableval) case "$OPT_CURLDEBUG_BUILD" in no) dnl --disable-curldebug option used want_curldebug="no" AC_MSG_RESULT([no]) ;; default) dnl configure's curldebug option not specified. Initially we will dnl handle this as a request to use the same setting as option dnl --enable-debug. IOW, initially, for debug-enabled builds dnl this will be handled as a request to enable curldebug if dnl possible, and for debug-disabled builds this will be handled dnl as a request to disable curldebug. if test "$want_debug" = "yes"; then AC_MSG_RESULT([(assumed) yes]) AC_DEFINE(CURLDEBUG, 1, [to enable curl debug memory tracking]) else AC_MSG_RESULT([no]) fi want_curldebug_assumed="yes" want_curldebug="$want_debug" ;; *) dnl --enable-curldebug option used. dnl The use of this option value is a request to enable curl's dnl debug memory tracking for the libcurl library. This can only dnl be done when some requisites are simultaneously satisfied. dnl Later on, these requisites are verified and if they are not dnl fully satisfied the option will be ignored and act as if dnl --disable-curldebug had been given setting shell variable dnl want_curldebug to 'no'. want_curldebug="yes" AC_DEFINE(CURLDEBUG, 1, [to enable curl debug memory tracking]) AC_MSG_RESULT([yes]) ;; esac ]) m4trace:m4/curl-confopts.m4:149: -1- AC_DEFUN([CURL_CHECK_OPTION_DEBUG], [ AC_BEFORE([$0],[CURL_CHECK_OPTION_WARNINGS])dnl AC_BEFORE([$0],[CURL_CHECK_OPTION_CURLDEBUG])dnl AC_BEFORE([$0],[XC_CHECK_PROG_CC])dnl AC_MSG_CHECKING([whether to enable debug build options]) OPT_DEBUG_BUILD="default" AC_ARG_ENABLE(debug, AS_HELP_STRING([--enable-debug],[Enable debug build options]) AS_HELP_STRING([--disable-debug],[Disable debug build options]), OPT_DEBUG_BUILD=$enableval) case "$OPT_DEBUG_BUILD" in no) dnl --disable-debug option used want_debug="no" ;; default) dnl configure option not specified want_debug="no" ;; *) dnl --enable-debug option used want_debug="yes" AC_DEFINE(DEBUGBUILD, 1, [enable debug build options]) ;; esac AC_MSG_RESULT([$want_debug]) ]) m4trace:m4/curl-confopts.m4:183: -1- AC_DEFUN([CURL_CHECK_OPTION_OPTIMIZE], [ AC_REQUIRE([CURL_CHECK_OPTION_DEBUG])dnl AC_BEFORE([$0],[XC_CHECK_PROG_CC])dnl AC_MSG_CHECKING([whether to enable compiler optimizer]) OPT_COMPILER_OPTIMIZE="default" AC_ARG_ENABLE(optimize, AS_HELP_STRING([--enable-optimize],[Enable compiler optimizations]) AS_HELP_STRING([--disable-optimize],[Disable compiler optimizations]), OPT_COMPILER_OPTIMIZE=$enableval) case "$OPT_COMPILER_OPTIMIZE" in no) dnl --disable-optimize option used. We will handle this as dnl a request to disable compiler optimizations if possible. dnl If the compiler is known CFLAGS and CPPFLAGS will be dnl overridden, otherwise this can not be honored. want_optimize="no" AC_MSG_RESULT([no]) ;; default) dnl configure's optimize option not specified. Initially we will dnl handle this as a request contrary to configure's setting dnl for --enable-debug. IOW, initially, for debug-enabled builds dnl this will be handled as a request to disable optimizations if dnl possible, and for debug-disabled builds this will be handled dnl initially as a request to enable optimizations if possible. dnl Finally, if the compiler is known and CFLAGS and CPPFLAGS do dnl not have any optimizer flag the request will be honored, in dnl any other case the request can not be honored. dnl IOW, existing optimizer flags defined in CFLAGS or CPPFLAGS dnl will always take precedence over any initial assumption. if test "$want_debug" = "yes"; then want_optimize="assume_no" AC_MSG_RESULT([(assumed) no]) else want_optimize="assume_yes" AC_MSG_RESULT([(assumed) yes]) fi ;; *) dnl --enable-optimize option used. We will handle this as dnl a request to enable compiler optimizations if possible. dnl If the compiler is known CFLAGS and CPPFLAGS will be dnl overridden, otherwise this can not be honored. want_optimize="yes" AC_MSG_RESULT([yes]) ;; esac ]) m4trace:m4/curl-confopts.m4:239: -1- AC_DEFUN([CURL_CHECK_OPTION_SYMBOL_HIDING], [ AC_BEFORE([$0],[CURL_CHECK_COMPILER_SYMBOL_HIDING])dnl AC_MSG_CHECKING([whether to enable hiding of library internal symbols]) OPT_SYMBOL_HIDING="default" AC_ARG_ENABLE(symbol-hiding, AS_HELP_STRING([--enable-symbol-hiding],[Enable hiding of library internal symbols]) AS_HELP_STRING([--disable-symbol-hiding],[Disable hiding of library internal symbols]), OPT_SYMBOL_HIDING=$enableval) case "$OPT_SYMBOL_HIDING" in no) dnl --disable-symbol-hiding option used. dnl This is an indication to not attempt hiding of library internal dnl symbols. Default symbol visibility will be used, which normally dnl exposes all library internal symbols. want_symbol_hiding="no" AC_MSG_RESULT([no]) ;; default) dnl configure's symbol-hiding option not specified. dnl Handle this as if --enable-symbol-hiding option was given. want_symbol_hiding="yes" AC_MSG_RESULT([yes]) ;; *) dnl --enable-symbol-hiding option used. dnl This is an indication to attempt hiding of library internal dnl symbols. This is only supported on some compilers/linkers. want_symbol_hiding="yes" AC_MSG_RESULT([yes]) ;; esac ]) m4trace:m4/curl-confopts.m4:326: -1- AC_DEFUN([CURL_CHECK_OPTION_RT], [ AC_BEFORE([$0], [CURL_CHECK_LIB_THREADS])dnl AC_MSG_CHECKING([whether to disable dependency on -lrt]) OPT_RT="default" AC_ARG_ENABLE(rt, AS_HELP_STRING([--disable-rt],[disable dependency on -lrt]), OPT_RT=$enableval) case "$OPT_RT" in no) dnl --disable-rt used (reverse logic) dontwant_rt="yes" AC_MSG_RESULT([yes]) ;; default) dnl configure option not specified (so not disabled) dontwant_rt="no" AC_MSG_RESULT([(assumed no)]) ;; *) dnl --enable-rt option used (reverse logic) dontwant_rt="no" AC_MSG_RESULT([no]) ;; esac ]) m4trace:m4/curl-confopts.m4:358: -1- AC_DEFUN([CURL_CHECK_OPTION_WARNINGS], [ AC_REQUIRE([CURL_CHECK_OPTION_DEBUG])dnl AC_BEFORE([$0],[CURL_CHECK_OPTION_WERROR])dnl AC_BEFORE([$0],[XC_CHECK_PROG_CC])dnl AC_MSG_CHECKING([whether to enable strict compiler warnings]) OPT_COMPILER_WARNINGS="default" AC_ARG_ENABLE(warnings, AS_HELP_STRING([--enable-warnings],[Enable strict compiler warnings]) AS_HELP_STRING([--disable-warnings],[Disable strict compiler warnings]), OPT_COMPILER_WARNINGS=$enableval) case "$OPT_COMPILER_WARNINGS" in no) dnl --disable-warnings option used want_warnings="no" ;; default) dnl configure option not specified, so dnl use same setting as --enable-debug want_warnings="$want_debug" ;; *) dnl --enable-warnings option used want_warnings="yes" ;; esac AC_MSG_RESULT([$want_warnings]) ]) m4trace:m4/curl-confopts.m4:392: -1- AC_DEFUN([CURL_CHECK_OPTION_WERROR], [ AC_BEFORE([$0],[CURL_CHECK_COMPILER])dnl AC_MSG_CHECKING([whether to enable compiler warnings as errors]) OPT_COMPILER_WERROR="default" AC_ARG_ENABLE(werror, AS_HELP_STRING([--enable-werror],[Enable compiler warnings as errors]) AS_HELP_STRING([--disable-werror],[Disable compiler warnings as errors]), OPT_COMPILER_WERROR=$enableval) case "$OPT_COMPILER_WERROR" in no) dnl --disable-werror option used want_werror="no" ;; default) dnl configure option not specified want_werror="no" ;; *) dnl --enable-werror option used want_werror="yes" ;; esac AC_MSG_RESULT([$want_werror]) ]) m4trace:m4/curl-confopts.m4:422: -1- AC_DEFUN([CURL_CHECK_NONBLOCKING_SOCKET], [ AC_REQUIRE([CURL_CHECK_FUNC_FCNTL])dnl AC_REQUIRE([CURL_CHECK_FUNC_IOCTLSOCKET])dnl AC_REQUIRE([CURL_CHECK_FUNC_IOCTLSOCKET_CAMEL])dnl # tst_method="unknown" AC_MSG_CHECKING([how to set a socket into non-blocking mode]) if test "x$curl_cv_func_fcntl_o_nonblock" = "xyes"; then tst_method="fcntl O_NONBLOCK" elif test "x$curl_cv_func_ioctl_fionbio" = "xyes"; then tst_method="ioctl FIONBIO" elif test "x$curl_cv_func_ioctlsocket_fionbio" = "xyes"; then tst_method="ioctlsocket FIONBIO" elif test "x$curl_cv_func_ioctlsocket_camel_fionbio" = "xyes"; then tst_method="IoctlSocket FIONBIO" elif test "x$curl_cv_func_setsockopt_so_nonblock" = "xyes"; then tst_method="setsockopt SO_NONBLOCK" fi AC_MSG_RESULT([$tst_method]) if test "$tst_method" = "unknown"; then AC_MSG_WARN([cannot determine non-blocking socket method.]) fi ]) m4trace:m4/curl-confopts.m4:457: -1- AC_DEFUN([CURL_CONFIGURE_SYMBOL_HIDING], [ AC_MSG_CHECKING([whether hiding of library internal symbols will actually happen]) CFLAG_CURL_SYMBOL_HIDING="" doing_symbol_hiding="no" if test "$want_symbol_hiding" = "yes" && test "$supports_symbol_hiding" = "yes"; then doing_symbol_hiding="yes" CFLAG_CURL_SYMBOL_HIDING="$symbol_hiding_CFLAGS" AC_DEFINE_UNQUOTED(CURL_EXTERN_SYMBOL, $symbol_hiding_EXTERN, [Definition to make a library symbol externally visible.]) AC_MSG_RESULT([yes]) else AC_MSG_RESULT([no]) fi AM_CONDITIONAL(DOING_CURL_SYMBOL_HIDING, test x$doing_symbol_hiding = xyes) AC_SUBST(CFLAG_CURL_SYMBOL_HIDING) ]) m4trace:m4/curl-confopts.m4:481: -1- AC_DEFUN([CURL_CHECK_LIB_ARES], [ # if test "$want_ares" = "yes"; then dnl c-ares library support has been requested clean_CPPFLAGS="$CPPFLAGS" clean_LDFLAGS="$LDFLAGS" clean_LIBS="$LIBS" configure_runpath=`pwd` if test -n "$want_ares_path"; then dnl c-ares library path has been specified ARES_PCDIR="$want_ares_path/lib/pkgconfig" CURL_CHECK_PKGCONFIG(libcares, [$ARES_PCDIR]) if test "$PKGCONFIG" != "no" ; then ares_LIBS=`CURL_EXPORT_PCDIR([$ARES_PCDIR]) $PKGCONFIG --libs-only-l libcares` ares_LDFLAGS=`CURL_EXPORT_PCDIR([$ARES_PCDIR]) $PKGCONFIG --libs-only-L libcares` ares_CPPFLAGS=`CURL_EXPORT_PCDIR([$ARES_PCDIR]) $PKGCONFIG --cflags-only-I libcares` AC_MSG_NOTICE([pkg-config: ares LIBS: "$ares_LIBS"]) AC_MSG_NOTICE([pkg-config: ares LDFLAGS: "$ares_LDFLAGS"]) AC_MSG_NOTICE([pkg-config: ares CPPFLAGS: "$ares_CPPFLAGS"]) else dnl ... path without pkg-config ares_CPPFLAGS="-I$want_ares_path/include" ares_LDFLAGS="-L$want_ares_path/lib" ares_LIBS="-lcares" fi else dnl c-ares path not specified, use defaults CURL_CHECK_PKGCONFIG(libcares) if test "$PKGCONFIG" != "no" ; then ares_LIBS=`$PKGCONFIG --libs-only-l libcares` ares_LDFLAGS=`$PKGCONFIG --libs-only-L libcares` ares_CPPFLAGS=`$PKGCONFIG --cflags-only-I libcares` AC_MSG_NOTICE([pkg-config: ares_LIBS: "$ares_LIBS"]) AC_MSG_NOTICE([pkg-config: ares_LDFLAGS: "$ares_LDFLAGS"]) AC_MSG_NOTICE([pkg-config: ares_CPPFLAGS: "$ares_CPPFLAGS"]) else ares_CPPFLAGS="" ares_LDFLAGS="" ares_LIBS="-lcares" fi fi # CPPFLAGS="$clean_CPPFLAGS $ares_CPPFLAGS" LDFLAGS="$clean_LDFLAGS $ares_LDFLAGS" LIBS="$ares_LIBS $clean_LIBS" # dnl check if c-ares new enough AC_MSG_CHECKING([that c-ares is good and recent enough]) AC_LINK_IFELSE([ AC_LANG_PROGRAM([[ #include /* set of dummy functions in case c-ares was built with debug */ void curl_dofree() { } void curl_sclose() { } void curl_domalloc() { } void curl_docalloc() { } void curl_socket() { } ]],[[ ares_channel channel; ares_cancel(channel); /* added in 1.2.0 */ ares_process_fd(channel, 0, 0); /* added in 1.4.0 */ ares_dup(&channel, channel); /* added in 1.6.0 */ ]]) ],[ AC_MSG_RESULT([yes]) ],[ AC_MSG_RESULT([no]) AC_MSG_ERROR([c-ares library defective or too old]) dnl restore initial settings CPPFLAGS="$clean_CPPFLAGS" LDFLAGS="$clean_LDFLAGS" LIBS="$clean_LIBS" # prevent usage want_ares="no" ]) if test "$want_ares" = "yes"; then dnl finally c-ares will be used AC_DEFINE(USE_ARES, 1, [Define to enable c-ares support]) AC_DEFINE(CARES_NO_DEPRECATED, 1, [Ignore c-ares deprecation warnings]) AC_SUBST([USE_ARES], [1]) LIBCURL_PC_REQUIRES_PRIVATE="$LIBCURL_PC_REQUIRES_PRIVATE libcares" curl_res_msg="c-ares" fi fi ]) m4trace:m4/curl-confopts.m4:579: -1- AC_DEFUN([CURL_CHECK_OPTION_NTLM_WB], [ AC_BEFORE([$0],[CURL_CHECK_NTLM_WB])dnl OPT_NTLM_WB="default" AC_ARG_ENABLE(ntlm-wb, AS_HELP_STRING([--enable-ntlm-wb@<:@=FILE@:>@],[Enable NTLM delegation to winbind's ntlm_auth helper, where FILE is ntlm_auth's absolute filename (default: /usr/bin/ntlm_auth)]) AS_HELP_STRING([--disable-ntlm-wb],[Disable NTLM delegation to winbind's ntlm_auth helper]), OPT_NTLM_WB=$enableval) want_ntlm_wb_file="/usr/bin/ntlm_auth" case "$OPT_NTLM_WB" in no) dnl --disable-ntlm-wb option used want_ntlm_wb="no" ;; default) dnl configure option not specified want_ntlm_wb="yes" ;; *) dnl --enable-ntlm-wb option used want_ntlm_wb="yes" if test -n "$enableval" && test "$enableval" != "yes"; then want_ntlm_wb_file="$enableval" fi ;; esac ]) m4trace:m4/curl-confopts.m4:613: -1- AC_DEFUN([CURL_CHECK_NTLM_WB], [ AC_REQUIRE([CURL_CHECK_OPTION_NTLM_WB])dnl AC_REQUIRE([CURL_CHECK_NATIVE_WINDOWS])dnl AC_MSG_CHECKING([whether to enable NTLM delegation to winbind's helper]) if test "$curl_cv_native_windows" = "yes" || test "x$SSL_ENABLED" = "x"; then want_ntlm_wb_file="" want_ntlm_wb="no" elif test "x$ac_cv_func_fork" != "xyes"; then dnl ntlm_wb requires fork want_ntlm_wb="no" fi AC_MSG_RESULT([$want_ntlm_wb]) if test "$want_ntlm_wb" = "yes"; then AC_DEFINE(NTLM_WB_ENABLED, 1, [Define to enable NTLM delegation to winbind's ntlm_auth helper.]) AC_DEFINE_UNQUOTED(NTLM_WB_FILE, "$want_ntlm_wb_file", [Define absolute filename for winbind's ntlm_auth helper.]) NTLM_WB_ENABLED=1 fi ]) m4trace:m4/curl-confopts.m4:641: -1- AC_DEFUN([CURL_CHECK_OPTION_HTTPSRR], [ AC_MSG_CHECKING([whether to enable HTTPSRR support]) OPT_HTTPSRR="default" AC_ARG_ENABLE(httpsrr, AS_HELP_STRING([--enable-httpsrr],[Enable HTTPSRR support]) AS_HELP_STRING([--disable-httpsrr],[Disable HTTPSRR support]), OPT_HTTPSRR=$enableval) case "$OPT_HTTPSRR" in no) dnl --disable-httpsrr option used want_httpsrr="no" curl_httpsrr_msg="no (--enable-httpsrr)" AC_MSG_RESULT([no]) ;; default) dnl configure option not specified want_httpsrr="no" curl_httpsrr_msg="no (--enable-httpsrr)" AC_MSG_RESULT([no]) ;; *) dnl --enable-httpsrr option used want_httpsrr="yes" curl_httpsrr_msg="enabled (--disable-httpsrr)" AC_MSG_RESULT([yes]) ;; esac ]) m4trace:m4/curl-confopts.m4:676: -1- AC_DEFUN([CURL_CHECK_OPTION_ECH], [ AC_MSG_CHECKING([whether to enable ECH support]) OPT_ECH="default" AC_ARG_ENABLE(ech, AS_HELP_STRING([--enable-ech],[Enable ECH support]) AS_HELP_STRING([--disable-ech],[Disable ECH support]), OPT_ECH=$enableval) case "$OPT_ECH" in no) dnl --disable-ech option used want_ech="no" curl_ech_msg="no (--enable-ech)" AC_MSG_RESULT([no]) ;; default) dnl configure option not specified want_ech="no" curl_ech_msg="no (--enable-ech)" AC_MSG_RESULT([no]) ;; *) dnl --enable-ech option used want_ech="yes" curl_ech_msg="enabled (--disable-ech)" AC_MSG_RESULT([yes]) ;; esac ]) m4trace:m4/curl-functions.m4:34: -1- AC_DEFUN([CURL_INCLUDES_ARPA_INET], [ curl_includes_arpa_inet="\ /* includes start */ #ifdef HAVE_SYS_TYPES_H # include #endif #ifdef HAVE_SYS_SOCKET_H # include #endif #ifdef HAVE_NETINET_IN_H # include #endif #ifdef HAVE_ARPA_INET_H # include #endif #ifdef _WIN32 #include #include #endif /* includes end */" AC_CHECK_HEADERS( sys/types.h sys/socket.h netinet/in.h arpa/inet.h, [], [], [$curl_includes_arpa_inet]) ]) m4trace:m4/curl-functions.m4:65: -1- AC_DEFUN([CURL_INCLUDES_FCNTL], [ curl_includes_fcntl="\ /* includes start */ #ifdef HAVE_SYS_TYPES_H # include #endif #ifdef HAVE_UNISTD_H # include #endif #ifdef HAVE_FCNTL_H # include #endif /* includes end */" AC_CHECK_HEADERS( sys/types.h unistd.h fcntl.h, [], [], [$curl_includes_fcntl]) ]) m4trace:m4/curl-functions.m4:89: -1- AC_DEFUN([CURL_INCLUDES_IFADDRS], [ curl_includes_ifaddrs="\ /* includes start */ #ifdef HAVE_SYS_TYPES_H # include #endif #ifdef HAVE_SYS_SOCKET_H # include #endif #ifdef HAVE_NETINET_IN_H # include #endif #ifdef HAVE_IFADDRS_H # include #endif /* includes end */" AC_CHECK_HEADERS( sys/types.h sys/socket.h netinet/in.h ifaddrs.h, [], [], [$curl_includes_ifaddrs]) ]) m4trace:m4/curl-functions.m4:116: -1- AC_DEFUN([CURL_INCLUDES_LIBGEN], [ curl_includes_libgen="\ /* includes start */ #ifdef HAVE_SYS_TYPES_H # include #endif #ifdef HAVE_LIBGEN_H # include #endif /* includes end */" AC_CHECK_HEADERS( sys/types.h libgen.h, [], [], [$curl_includes_libgen]) ]) m4trace:m4/curl-functions.m4:137: -1- AC_DEFUN([CURL_INCLUDES_NETDB], [ curl_includes_netdb="\ /* includes start */ #ifdef HAVE_SYS_TYPES_H # include #endif #ifdef HAVE_NETDB_H # include #endif /* includes end */" AC_CHECK_HEADERS( sys/types.h netdb.h, [], [], [$curl_includes_netdb]) ]) m4trace:m4/curl-functions.m4:158: -1- AC_DEFUN([CURL_INCLUDES_POLL], [ curl_includes_poll="\ /* includes start */ #ifdef HAVE_SYS_TYPES_H # include #endif #ifdef HAVE_POLL_H # include #endif #ifdef HAVE_SYS_POLL_H # include #endif /* includes end */" AC_CHECK_HEADERS( sys/types.h poll.h sys/poll.h, [], [], [$curl_includes_poll]) ]) m4trace:m4/curl-functions.m4:182: -1- AC_DEFUN([CURL_INCLUDES_SETJMP], [ curl_includes_setjmp="\ /* includes start */ #ifdef HAVE_SYS_TYPES_H # include #endif #include /* includes end */" AC_CHECK_HEADERS( sys/types.h, [], [], [$curl_includes_setjmp]) ]) m4trace:m4/curl-functions.m4:201: -1- AC_DEFUN([CURL_INCLUDES_SIGNAL], [ curl_includes_signal="\ /* includes start */ #ifdef HAVE_SYS_TYPES_H # include #endif #include /* includes end */" AC_CHECK_HEADERS( sys/types.h, [], [], [$curl_includes_signal]) ]) m4trace:m4/curl-functions.m4:220: -1- AC_DEFUN([CURL_INCLUDES_SOCKET], [ curl_includes_socket="\ /* includes start */ #ifdef HAVE_SYS_TYPES_H # include #endif #ifdef HAVE_SOCKET_H # include #endif /* includes end */" AC_CHECK_HEADERS( sys/types.h socket.h, [], [], [$curl_includes_socket]) ]) m4trace:m4/curl-functions.m4:241: -1- AC_DEFUN([CURL_INCLUDES_STDLIB], [ curl_includes_stdlib="\ /* includes start */ #ifdef HAVE_SYS_TYPES_H # include #endif #include /* includes end */" AC_CHECK_HEADERS( sys/types.h, [], [], [$curl_includes_stdlib]) ]) m4trace:m4/curl-functions.m4:260: -1- AC_DEFUN([CURL_INCLUDES_STRING], [ curl_includes_string="\ /* includes start */ #ifdef HAVE_SYS_TYPES_H # include #endif #include #ifdef HAVE_STRINGS_H # include #endif /* includes end */" AC_CHECK_HEADERS( sys/types.h strings.h, [], [], [$curl_includes_string]) ]) m4trace:m4/curl-functions.m4:282: -1- AC_DEFUN([CURL_INCLUDES_STROPTS], [ curl_includes_stropts="\ /* includes start */ #ifdef HAVE_SYS_TYPES_H # include #endif #ifdef HAVE_UNISTD_H # include #endif #ifdef HAVE_SYS_SOCKET_H # include #endif #ifdef HAVE_SYS_IOCTL_H # include #endif #ifdef HAVE_STROPTS_H # include #endif /* includes end */" AC_CHECK_HEADERS( sys/types.h unistd.h sys/socket.h sys/ioctl.h stropts.h, [], [], [$curl_includes_stropts]) ]) m4trace:m4/curl-functions.m4:312: -1- AC_DEFUN([CURL_INCLUDES_SYS_SOCKET], [ curl_includes_sys_socket="\ /* includes start */ #ifdef HAVE_SYS_TYPES_H # include #endif #ifdef HAVE_SYS_SOCKET_H # include #endif /* includes end */" AC_CHECK_HEADERS( sys/types.h sys/socket.h, [], [], [$curl_includes_sys_socket]) ]) m4trace:m4/curl-functions.m4:333: -1- AC_DEFUN([CURL_INCLUDES_SYS_TYPES], [ curl_includes_sys_types="\ /* includes start */ #ifdef HAVE_SYS_TYPES_H # include #endif /* includes end */" AC_CHECK_HEADERS( sys/types.h, [], [], [$curl_includes_sys_types]) ]) m4trace:m4/curl-functions.m4:351: -1- AC_DEFUN([CURL_INCLUDES_SYS_XATTR], [ curl_includes_sys_xattr="\ /* includes start */ #ifdef HAVE_SYS_TYPES_H # include #endif #ifdef HAVE_SYS_XATTR_H # include #endif /* includes end */" AC_CHECK_HEADERS( sys/types.h sys/xattr.h, [], [], [$curl_includes_sys_xattr]) ]) m4trace:m4/curl-functions.m4:371: -1- AC_DEFUN([CURL_INCLUDES_TIME], [ curl_includes_time="\ /* includes start */ #ifdef HAVE_SYS_TYPES_H # include #endif #ifdef HAVE_SYS_TIME_H # include #endif #include /* includes end */" AC_CHECK_HEADERS( sys/types.h sys/time.h, [], [], [$curl_includes_time]) ]) m4trace:m4/curl-functions.m4:393: -1- AC_DEFUN([CURL_INCLUDES_UNISTD], [ curl_includes_unistd="\ /* includes start */ #ifdef HAVE_SYS_TYPES_H # include #endif #ifdef HAVE_UNISTD_H # include #endif /* includes end */" AC_CHECK_HEADERS( sys/types.h unistd.h, [], [], [$curl_includes_unistd]) ]) m4trace:m4/curl-functions.m4:414: -1- AC_DEFUN([CURL_INCLUDES_WINSOCK2], [ curl_includes_winsock2="\ /* includes start */ #ifdef _WIN32 # ifndef WIN32_LEAN_AND_MEAN # define WIN32_LEAN_AND_MEAN # endif # include #endif /* includes end */" CURL_CHECK_NATIVE_WINDOWS ]) m4trace:m4/curl-functions.m4:433: -1- AC_DEFUN([CURL_INCLUDES_WS2TCPIP], [ curl_includes_ws2tcpip="\ /* includes start */ #ifdef _WIN32 # ifndef WIN32_LEAN_AND_MEAN # define WIN32_LEAN_AND_MEAN # endif # include # include #endif /* includes end */" CURL_CHECK_NATIVE_WINDOWS ]) m4trace:m4/curl-functions.m4:453: -1- AC_DEFUN([CURL_INCLUDES_BSDSOCKET], [ curl_includes_bsdsocket="\ /* includes start */ #if defined(HAVE_PROTO_BSDSOCKET_H) # define __NO_NET_API # define __USE_INLINE__ # include # ifdef HAVE_SYS_IOCTL_H # include # endif # ifdef __amigaos4__ struct SocketIFace *ISocket = NULL; # else struct Library *SocketBase = NULL; # endif # define select(a,b,c,d,e) WaitSelect(a,b,c,d,e,0) #endif /* includes end */" AC_CHECK_HEADERS( proto/bsdsocket.h, [], [], [$curl_includes_bsdsocket]) ]) m4trace:m4/curl-functions.m4:481: -1- AC_DEFUN([CURL_INCLUDES_NETIF], [ curl_includes_netif="\ /* includes start */ #ifdef HAVE_NET_IF_H # include #endif /* includes end */" AC_CHECK_HEADERS( net/if.h, [], [], [$curl_includes_netif]) ]) m4trace:m4/curl-functions.m4:499: -1- AC_DEFUN([CURL_PREPROCESS_CALLCONV], [ curl_preprocess_callconv="\ /* preprocess start */ #ifdef _WIN32 # define FUNCALLCONV __stdcall #else # define FUNCALLCONV #endif /* preprocess end */" ]) m4trace:m4/curl-functions.m4:519: -1- AC_DEFUN([CURL_CHECK_FUNC_ALARM], [ AC_REQUIRE([CURL_INCLUDES_UNISTD])dnl # tst_links_alarm="unknown" tst_proto_alarm="unknown" tst_compi_alarm="unknown" tst_allow_alarm="unknown" # AC_MSG_CHECKING([if alarm can be linked]) AC_LINK_IFELSE([ AC_LANG_FUNC_LINK_TRY([alarm]) ],[ AC_MSG_RESULT([yes]) tst_links_alarm="yes" ],[ AC_MSG_RESULT([no]) tst_links_alarm="no" ]) # if test "$tst_links_alarm" = "yes"; then AC_MSG_CHECKING([if alarm is prototyped]) AC_EGREP_CPP([alarm],[ $curl_includes_unistd ],[ AC_MSG_RESULT([yes]) tst_proto_alarm="yes" ],[ AC_MSG_RESULT([no]) tst_proto_alarm="no" ]) fi # if test "$tst_proto_alarm" = "yes"; then AC_MSG_CHECKING([if alarm is compilable]) AC_COMPILE_IFELSE([ AC_LANG_PROGRAM([[ $curl_includes_unistd ]],[[ if(0 != alarm(0)) return 1; ]]) ],[ AC_MSG_RESULT([yes]) tst_compi_alarm="yes" ],[ AC_MSG_RESULT([no]) tst_compi_alarm="no" ]) fi # if test "$tst_compi_alarm" = "yes"; then AC_MSG_CHECKING([if alarm usage allowed]) if test "x$curl_disallow_alarm" != "xyes"; then AC_MSG_RESULT([yes]) tst_allow_alarm="yes" else AC_MSG_RESULT([no]) tst_allow_alarm="no" fi fi # AC_MSG_CHECKING([if alarm might be used]) if test "$tst_links_alarm" = "yes" && test "$tst_proto_alarm" = "yes" && test "$tst_compi_alarm" = "yes" && test "$tst_allow_alarm" = "yes"; then AC_MSG_RESULT([yes]) AC_DEFINE_UNQUOTED(HAVE_ALARM, 1, [Define to 1 if you have the alarm function.]) curl_cv_func_alarm="yes" else AC_MSG_RESULT([no]) curl_cv_func_alarm="no" fi ]) m4trace:m4/curl-functions.m4:604: -1- AC_DEFUN([CURL_CHECK_FUNC_BASENAME], [ AC_REQUIRE([CURL_INCLUDES_STRING])dnl AC_REQUIRE([CURL_INCLUDES_LIBGEN])dnl AC_REQUIRE([CURL_INCLUDES_UNISTD])dnl # tst_links_basename="unknown" tst_proto_basename="unknown" tst_compi_basename="unknown" tst_allow_basename="unknown" # AC_MSG_CHECKING([if basename can be linked]) AC_LINK_IFELSE([ AC_LANG_FUNC_LINK_TRY([basename]) ],[ AC_MSG_RESULT([yes]) tst_links_basename="yes" ],[ AC_MSG_RESULT([no]) tst_links_basename="no" ]) # if test "$tst_links_basename" = "yes"; then AC_MSG_CHECKING([if basename is prototyped]) AC_EGREP_CPP([basename],[ $curl_includes_string $curl_includes_libgen $curl_includes_unistd ],[ AC_MSG_RESULT([yes]) tst_proto_basename="yes" ],[ AC_MSG_RESULT([no]) tst_proto_basename="no" ]) fi # if test "$tst_proto_basename" = "yes"; then AC_MSG_CHECKING([if basename is compilable]) AC_COMPILE_IFELSE([ AC_LANG_PROGRAM([[ $curl_includes_string $curl_includes_libgen $curl_includes_unistd ]],[[ if(0 != basename(0)) return 1; ]]) ],[ AC_MSG_RESULT([yes]) tst_compi_basename="yes" ],[ AC_MSG_RESULT([no]) tst_compi_basename="no" ]) fi # if test "$tst_compi_basename" = "yes"; then AC_MSG_CHECKING([if basename usage allowed]) if test "x$curl_disallow_basename" != "xyes"; then AC_MSG_RESULT([yes]) tst_allow_basename="yes" else AC_MSG_RESULT([no]) tst_allow_basename="no" fi fi # AC_MSG_CHECKING([if basename might be used]) if test "$tst_links_basename" = "yes" && test "$tst_proto_basename" = "yes" && test "$tst_compi_basename" = "yes" && test "$tst_allow_basename" = "yes"; then AC_MSG_RESULT([yes]) AC_DEFINE_UNQUOTED(HAVE_BASENAME, 1, [Define to 1 if you have the basename function.]) curl_cv_func_basename="yes" else AC_MSG_RESULT([no]) curl_cv_func_basename="no" fi ]) m4trace:m4/curl-functions.m4:695: -1- AC_DEFUN([CURL_CHECK_FUNC_CLOSESOCKET], [ AC_REQUIRE([CURL_INCLUDES_WINSOCK2])dnl AC_REQUIRE([CURL_INCLUDES_SOCKET])dnl # tst_links_closesocket="unknown" tst_proto_closesocket="unknown" tst_compi_closesocket="unknown" tst_allow_closesocket="unknown" # AC_MSG_CHECKING([if closesocket can be linked]) AC_LINK_IFELSE([ AC_LANG_PROGRAM([[ $curl_includes_winsock2 $curl_includes_socket ]],[[ if(0 != closesocket(0)) return 1; ]]) ],[ AC_MSG_RESULT([yes]) tst_links_closesocket="yes" ],[ AC_MSG_RESULT([no]) tst_links_closesocket="no" ]) # if test "$tst_links_closesocket" = "yes"; then AC_MSG_CHECKING([if closesocket is prototyped]) AC_EGREP_CPP([closesocket],[ $curl_includes_winsock2 $curl_includes_socket ],[ AC_MSG_RESULT([yes]) tst_proto_closesocket="yes" ],[ AC_MSG_RESULT([no]) tst_proto_closesocket="no" ]) fi # if test "$tst_proto_closesocket" = "yes"; then AC_MSG_CHECKING([if closesocket is compilable]) AC_COMPILE_IFELSE([ AC_LANG_PROGRAM([[ $curl_includes_winsock2 $curl_includes_socket ]],[[ if(0 != closesocket(0)) return 1; ]]) ],[ AC_MSG_RESULT([yes]) tst_compi_closesocket="yes" ],[ AC_MSG_RESULT([no]) tst_compi_closesocket="no" ]) fi # if test "$tst_compi_closesocket" = "yes"; then AC_MSG_CHECKING([if closesocket usage allowed]) if test "x$curl_disallow_closesocket" != "xyes"; then AC_MSG_RESULT([yes]) tst_allow_closesocket="yes" else AC_MSG_RESULT([no]) tst_allow_closesocket="no" fi fi # AC_MSG_CHECKING([if closesocket might be used]) if test "$tst_links_closesocket" = "yes" && test "$tst_proto_closesocket" = "yes" && test "$tst_compi_closesocket" = "yes" && test "$tst_allow_closesocket" = "yes"; then AC_MSG_RESULT([yes]) AC_DEFINE_UNQUOTED(HAVE_CLOSESOCKET, 1, [Define to 1 if you have the closesocket function.]) curl_cv_func_closesocket="yes" else AC_MSG_RESULT([no]) curl_cv_func_closesocket="no" fi ]) m4trace:m4/curl-functions.m4:789: -1- AC_DEFUN([CURL_CHECK_FUNC_CLOSESOCKET_CAMEL], [ AC_REQUIRE([CURL_INCLUDES_SYS_SOCKET])dnl AC_REQUIRE([CURL_INCLUDES_BSDSOCKET])dnl # tst_links_closesocket_camel="unknown" tst_proto_closesocket_camel="unknown" tst_compi_closesocket_camel="unknown" tst_allow_closesocket_camel="unknown" # AC_MSG_CHECKING([if CloseSocket can be linked]) AC_LINK_IFELSE([ AC_LANG_PROGRAM([[ $curl_includes_bsdsocket $curl_includes_sys_socket ]],[[ if(0 != CloseSocket(0)) return 1; ]]) ],[ AC_MSG_RESULT([yes]) tst_links_closesocket_camel="yes" ],[ AC_MSG_RESULT([no]) tst_links_closesocket_camel="no" ]) # if test "$tst_links_closesocket_camel" = "yes"; then AC_MSG_CHECKING([if CloseSocket is prototyped]) AC_EGREP_CPP([CloseSocket],[ $curl_includes_bsdsocket $curl_includes_sys_socket ],[ AC_MSG_RESULT([yes]) tst_proto_closesocket_camel="yes" ],[ AC_MSG_RESULT([no]) tst_proto_closesocket_camel="no" ]) fi # if test "$tst_proto_closesocket_camel" = "yes"; then AC_MSG_CHECKING([if CloseSocket is compilable]) AC_COMPILE_IFELSE([ AC_LANG_PROGRAM([[ $curl_includes_bsdsocket $curl_includes_sys_socket ]],[[ if(0 != CloseSocket(0)) return 1; ]]) ],[ AC_MSG_RESULT([yes]) tst_compi_closesocket_camel="yes" ],[ AC_MSG_RESULT([no]) tst_compi_closesocket_camel="no" ]) fi # if test "$tst_compi_closesocket_camel" = "yes"; then AC_MSG_CHECKING([if CloseSocket usage allowed]) if test "x$curl_disallow_closesocket_camel" != "xyes"; then AC_MSG_RESULT([yes]) tst_allow_closesocket_camel="yes" else AC_MSG_RESULT([no]) tst_allow_closesocket_camel="no" fi fi # AC_MSG_CHECKING([if CloseSocket might be used]) if test "$tst_links_closesocket_camel" = "yes" && test "$tst_proto_closesocket_camel" = "yes" && test "$tst_compi_closesocket_camel" = "yes" && test "$tst_allow_closesocket_camel" = "yes"; then AC_MSG_RESULT([yes]) AC_DEFINE_UNQUOTED(HAVE_CLOSESOCKET_CAMEL, 1, [Define to 1 if you have the CloseSocket camel case function.]) curl_cv_func_closesocket_camel="yes" else AC_MSG_RESULT([no]) curl_cv_func_closesocket_camel="no" fi ]) m4trace:m4/curl-functions.m4:882: -1- AC_DEFUN([CURL_CHECK_FUNC_FCNTL], [ AC_REQUIRE([CURL_INCLUDES_FCNTL])dnl # tst_links_fcntl="unknown" tst_proto_fcntl="unknown" tst_compi_fcntl="unknown" tst_allow_fcntl="unknown" # AC_MSG_CHECKING([if fcntl can be linked]) AC_LINK_IFELSE([ AC_LANG_FUNC_LINK_TRY([fcntl]) ],[ AC_MSG_RESULT([yes]) tst_links_fcntl="yes" ],[ AC_MSG_RESULT([no]) tst_links_fcntl="no" ]) # if test "$tst_links_fcntl" = "yes"; then AC_MSG_CHECKING([if fcntl is prototyped]) AC_EGREP_CPP([fcntl],[ $curl_includes_fcntl ],[ AC_MSG_RESULT([yes]) tst_proto_fcntl="yes" ],[ AC_MSG_RESULT([no]) tst_proto_fcntl="no" ]) fi # if test "$tst_proto_fcntl" = "yes"; then AC_MSG_CHECKING([if fcntl is compilable]) AC_COMPILE_IFELSE([ AC_LANG_PROGRAM([[ $curl_includes_fcntl ]],[[ if(0 != fcntl(0, 0, 0)) return 1; ]]) ],[ AC_MSG_RESULT([yes]) tst_compi_fcntl="yes" ],[ AC_MSG_RESULT([no]) tst_compi_fcntl="no" ]) fi # if test "$tst_compi_fcntl" = "yes"; then AC_MSG_CHECKING([if fcntl usage allowed]) if test "x$curl_disallow_fcntl" != "xyes"; then AC_MSG_RESULT([yes]) tst_allow_fcntl="yes" else AC_MSG_RESULT([no]) tst_allow_fcntl="no" fi fi # AC_MSG_CHECKING([if fcntl might be used]) if test "$tst_links_fcntl" = "yes" && test "$tst_proto_fcntl" = "yes" && test "$tst_compi_fcntl" = "yes" && test "$tst_allow_fcntl" = "yes"; then AC_MSG_RESULT([yes]) AC_DEFINE_UNQUOTED(HAVE_FCNTL, 1, [Define to 1 if you have the fcntl function.]) curl_cv_func_fcntl="yes" CURL_CHECK_FUNC_FCNTL_O_NONBLOCK else AC_MSG_RESULT([no]) curl_cv_func_fcntl="no" fi ]) m4trace:m4/curl-functions.m4:967: -1- AC_DEFUN([CURL_CHECK_FUNC_FCNTL_O_NONBLOCK], [ # tst_compi_fcntl_o_nonblock="unknown" tst_allow_fcntl_o_nonblock="unknown" # case $host_os in sunos4* | aix3*) dnl O_NONBLOCK does not work on these platforms curl_disallow_fcntl_o_nonblock="yes" ;; esac # if test "$curl_cv_func_fcntl" = "yes"; then AC_MSG_CHECKING([if fcntl O_NONBLOCK is compilable]) AC_COMPILE_IFELSE([ AC_LANG_PROGRAM([[ $curl_includes_fcntl ]],[[ int flags = 0; if(0 != fcntl(0, F_SETFL, flags | O_NONBLOCK)) return 1; ]]) ],[ AC_MSG_RESULT([yes]) tst_compi_fcntl_o_nonblock="yes" ],[ AC_MSG_RESULT([no]) tst_compi_fcntl_o_nonblock="no" ]) fi # if test "$tst_compi_fcntl_o_nonblock" = "yes"; then AC_MSG_CHECKING([if fcntl O_NONBLOCK usage allowed]) if test "x$curl_disallow_fcntl_o_nonblock" != "xyes"; then AC_MSG_RESULT([yes]) tst_allow_fcntl_o_nonblock="yes" else AC_MSG_RESULT([no]) tst_allow_fcntl_o_nonblock="no" fi fi # AC_MSG_CHECKING([if fcntl O_NONBLOCK might be used]) if test "$tst_compi_fcntl_o_nonblock" = "yes" && test "$tst_allow_fcntl_o_nonblock" = "yes"; then AC_MSG_RESULT([yes]) AC_DEFINE_UNQUOTED(HAVE_FCNTL_O_NONBLOCK, 1, [Define to 1 if you have a working fcntl O_NONBLOCK function.]) curl_cv_func_fcntl_o_nonblock="yes" else AC_MSG_RESULT([no]) curl_cv_func_fcntl_o_nonblock="no" fi ]) m4trace:m4/curl-functions.m4:1031: -1- AC_DEFUN([CURL_CHECK_FUNC_FREEADDRINFO], [ AC_REQUIRE([CURL_INCLUDES_WS2TCPIP])dnl AC_REQUIRE([CURL_INCLUDES_SYS_SOCKET])dnl AC_REQUIRE([CURL_INCLUDES_NETDB])dnl # tst_links_freeaddrinfo="unknown" tst_proto_freeaddrinfo="unknown" tst_compi_freeaddrinfo="unknown" tst_allow_freeaddrinfo="unknown" # AC_MSG_CHECKING([if freeaddrinfo can be linked]) AC_LINK_IFELSE([ AC_LANG_PROGRAM([[ $curl_includes_ws2tcpip $curl_includes_sys_socket $curl_includes_netdb ]],[[ freeaddrinfo(0); ]]) ],[ AC_MSG_RESULT([yes]) tst_links_freeaddrinfo="yes" ],[ AC_MSG_RESULT([no]) tst_links_freeaddrinfo="no" ]) # if test "$tst_links_freeaddrinfo" = "yes"; then AC_MSG_CHECKING([if freeaddrinfo is prototyped]) AC_EGREP_CPP([freeaddrinfo],[ $curl_includes_ws2tcpip $curl_includes_sys_socket $curl_includes_netdb ],[ AC_MSG_RESULT([yes]) tst_proto_freeaddrinfo="yes" ],[ AC_MSG_RESULT([no]) tst_proto_freeaddrinfo="no" ]) fi # if test "$tst_proto_freeaddrinfo" = "yes"; then AC_MSG_CHECKING([if freeaddrinfo is compilable]) AC_COMPILE_IFELSE([ AC_LANG_PROGRAM([[ $curl_includes_ws2tcpip $curl_includes_sys_socket $curl_includes_netdb ]],[[ freeaddrinfo(0); ]]) ],[ AC_MSG_RESULT([yes]) tst_compi_freeaddrinfo="yes" ],[ AC_MSG_RESULT([no]) tst_compi_freeaddrinfo="no" ]) fi # if test "$tst_compi_freeaddrinfo" = "yes"; then AC_MSG_CHECKING([if freeaddrinfo usage allowed]) if test "x$curl_disallow_freeaddrinfo" != "xyes"; then AC_MSG_RESULT([yes]) tst_allow_freeaddrinfo="yes" else AC_MSG_RESULT([no]) tst_allow_freeaddrinfo="no" fi fi # AC_MSG_CHECKING([if freeaddrinfo might be used]) if test "$tst_links_freeaddrinfo" = "yes" && test "$tst_proto_freeaddrinfo" = "yes" && test "$tst_compi_freeaddrinfo" = "yes" && test "$tst_allow_freeaddrinfo" = "yes"; then AC_MSG_RESULT([yes]) AC_DEFINE_UNQUOTED(HAVE_FREEADDRINFO, 1, [Define to 1 if you have the freeaddrinfo function.]) curl_cv_func_freeaddrinfo="yes" else AC_MSG_RESULT([no]) curl_cv_func_freeaddrinfo="no" fi ]) m4trace:m4/curl-functions.m4:1127: -1- AC_DEFUN([CURL_CHECK_FUNC_FSETXATTR], [ AC_REQUIRE([CURL_INCLUDES_SYS_XATTR])dnl # tst_links_fsetxattr="unknown" tst_proto_fsetxattr="unknown" tst_compi_fsetxattr="unknown" tst_allow_fsetxattr="unknown" tst_nargs_fsetxattr="unknown" # AC_MSG_CHECKING([if fsetxattr can be linked]) AC_LINK_IFELSE([ AC_LANG_FUNC_LINK_TRY([fsetxattr]) ],[ AC_MSG_RESULT([yes]) tst_links_fsetxattr="yes" ],[ AC_MSG_RESULT([no]) tst_links_fsetxattr="no" ]) # if test "$tst_links_fsetxattr" = "yes"; then AC_MSG_CHECKING([if fsetxattr is prototyped]) AC_EGREP_CPP([fsetxattr],[ $curl_includes_sys_xattr ],[ AC_MSG_RESULT([yes]) tst_proto_fsetxattr="yes" ],[ AC_MSG_RESULT([no]) tst_proto_fsetxattr="no" ]) fi # if test "$tst_proto_fsetxattr" = "yes"; then if test "$tst_nargs_fsetxattr" = "unknown"; then AC_MSG_CHECKING([if fsetxattr takes 5 args.]) AC_COMPILE_IFELSE([ AC_LANG_PROGRAM([[ $curl_includes_sys_xattr ]],[[ if(0 != fsetxattr(0, 0, 0, 0, 0)) return 1; ]]) ],[ AC_MSG_RESULT([yes]) tst_compi_fsetxattr="yes" tst_nargs_fsetxattr="5" ],[ AC_MSG_RESULT([no]) tst_compi_fsetxattr="no" ]) fi if test "$tst_nargs_fsetxattr" = "unknown"; then AC_MSG_CHECKING([if fsetxattr takes 6 args.]) AC_COMPILE_IFELSE([ AC_LANG_PROGRAM([[ $curl_includes_sys_xattr ]],[[ if(0 != fsetxattr(0, 0, 0, 0, 0, 0)) return 1; ]]) ],[ AC_MSG_RESULT([yes]) tst_compi_fsetxattr="yes" tst_nargs_fsetxattr="6" ],[ AC_MSG_RESULT([no]) tst_compi_fsetxattr="no" ]) fi AC_MSG_CHECKING([if fsetxattr is compilable]) if test "$tst_compi_fsetxattr" = "yes"; then AC_MSG_RESULT([yes]) else AC_MSG_RESULT([no]) fi fi # if test "$tst_compi_fsetxattr" = "yes"; then AC_MSG_CHECKING([if fsetxattr usage allowed]) if test "x$curl_disallow_fsetxattr" != "xyes"; then AC_MSG_RESULT([yes]) tst_allow_fsetxattr="yes" else AC_MSG_RESULT([no]) tst_allow_fsetxattr="no" fi fi # AC_MSG_CHECKING([if fsetxattr might be used]) if test "$tst_links_fsetxattr" = "yes" && test "$tst_proto_fsetxattr" = "yes" && test "$tst_compi_fsetxattr" = "yes" && test "$tst_allow_fsetxattr" = "yes"; then AC_MSG_RESULT([yes]) AC_DEFINE_UNQUOTED(HAVE_FSETXATTR, 1, [Define to 1 if you have the fsetxattr function.]) dnl AC_DEFINE_UNQUOTED(FSETXATTR_ARGS, $tst_nargs_fsetxattr, dnl [Specifies the number of arguments to fsetxattr]) # if test "$tst_nargs_fsetxattr" -eq "5"; then AC_DEFINE(HAVE_FSETXATTR_5, 1, [fsetxattr() takes 5 args]) elif test "$tst_nargs_fsetxattr" -eq "6"; then AC_DEFINE(HAVE_FSETXATTR_6, 1, [fsetxattr() takes 6 args]) fi # curl_cv_func_fsetxattr="yes" else AC_MSG_RESULT([no]) curl_cv_func_fsetxattr="no" fi ]) m4trace:m4/curl-functions.m4:1249: -1- AC_DEFUN([CURL_CHECK_FUNC_FTRUNCATE], [ AC_REQUIRE([CURL_INCLUDES_UNISTD])dnl # tst_links_ftruncate="unknown" tst_proto_ftruncate="unknown" tst_compi_ftruncate="unknown" tst_allow_ftruncate="unknown" # AC_MSG_CHECKING([if ftruncate can be linked]) AC_LINK_IFELSE([ AC_LANG_FUNC_LINK_TRY([ftruncate]) ],[ AC_MSG_RESULT([yes]) tst_links_ftruncate="yes" ],[ AC_MSG_RESULT([no]) tst_links_ftruncate="no" ]) # if test "$tst_links_ftruncate" = "yes"; then AC_MSG_CHECKING([if ftruncate is prototyped]) AC_EGREP_CPP([ftruncate],[ $curl_includes_unistd ],[ AC_MSG_RESULT([yes]) tst_proto_ftruncate="yes" ],[ AC_MSG_RESULT([no]) tst_proto_ftruncate="no" ]) fi # if test "$tst_proto_ftruncate" = "yes"; then AC_MSG_CHECKING([if ftruncate is compilable]) AC_COMPILE_IFELSE([ AC_LANG_PROGRAM([[ $curl_includes_unistd ]],[[ if(0 != ftruncate(0, 0)) return 1; ]]) ],[ AC_MSG_RESULT([yes]) tst_compi_ftruncate="yes" ],[ AC_MSG_RESULT([no]) tst_compi_ftruncate="no" ]) fi # if test "$tst_compi_ftruncate" = "yes"; then AC_MSG_CHECKING([if ftruncate usage allowed]) if test "x$curl_disallow_ftruncate" != "xyes"; then AC_MSG_RESULT([yes]) tst_allow_ftruncate="yes" else AC_MSG_RESULT([no]) tst_allow_ftruncate="no" fi fi # AC_MSG_CHECKING([if ftruncate might be used]) if test "$tst_links_ftruncate" = "yes" && test "$tst_proto_ftruncate" = "yes" && test "$tst_compi_ftruncate" = "yes" && test "$tst_allow_ftruncate" = "yes"; then AC_MSG_RESULT([yes]) AC_DEFINE_UNQUOTED(HAVE_FTRUNCATE, 1, [Define to 1 if you have the ftruncate function.]) curl_cv_func_ftruncate="yes" else AC_MSG_RESULT([no]) curl_cv_func_ftruncate="no" fi ]) m4trace:m4/curl-functions.m4:1337: -1- AC_DEFUN([CURL_CHECK_FUNC_GETADDRINFO], [ AC_REQUIRE([CURL_INCLUDES_WS2TCPIP])dnl AC_REQUIRE([CURL_INCLUDES_STDLIB])dnl AC_REQUIRE([CURL_INCLUDES_STRING])dnl AC_REQUIRE([CURL_INCLUDES_SYS_SOCKET])dnl AC_REQUIRE([CURL_INCLUDES_NETDB])dnl AC_REQUIRE([CURL_CHECK_NATIVE_WINDOWS])dnl # tst_links_getaddrinfo="unknown" tst_proto_getaddrinfo="unknown" tst_compi_getaddrinfo="unknown" tst_works_getaddrinfo="unknown" tst_allow_getaddrinfo="unknown" tst_tsafe_getaddrinfo="unknown" # AC_MSG_CHECKING([if getaddrinfo can be linked]) AC_LINK_IFELSE([ AC_LANG_PROGRAM([[ $curl_includes_ws2tcpip $curl_includes_sys_socket $curl_includes_netdb ]],[[ if(0 != getaddrinfo(0, 0, 0, 0)) return 1; ]]) ],[ AC_MSG_RESULT([yes]) tst_links_getaddrinfo="yes" ],[ AC_MSG_RESULT([no]) tst_links_getaddrinfo="no" ]) # if test "$tst_links_getaddrinfo" = "yes"; then AC_MSG_CHECKING([if getaddrinfo is prototyped]) AC_EGREP_CPP([getaddrinfo],[ $curl_includes_ws2tcpip $curl_includes_sys_socket $curl_includes_netdb ],[ AC_MSG_RESULT([yes]) tst_proto_getaddrinfo="yes" ],[ AC_MSG_RESULT([no]) tst_proto_getaddrinfo="no" ]) fi # if test "$tst_proto_getaddrinfo" = "yes"; then AC_MSG_CHECKING([if getaddrinfo is compilable]) AC_COMPILE_IFELSE([ AC_LANG_PROGRAM([[ $curl_includes_ws2tcpip $curl_includes_sys_socket $curl_includes_netdb ]],[[ if(0 != getaddrinfo(0, 0, 0, 0)) return 1; ]]) ],[ AC_MSG_RESULT([yes]) tst_compi_getaddrinfo="yes" ],[ AC_MSG_RESULT([no]) tst_compi_getaddrinfo="no" ]) fi # dnl only do runtime verification when not cross-compiling if test "x$cross_compiling" != "xyes" && test "$tst_compi_getaddrinfo" = "yes"; then AC_MSG_CHECKING([if getaddrinfo seems to work]) CURL_RUN_IFELSE([ AC_LANG_PROGRAM([[ $curl_includes_ws2tcpip $curl_includes_stdlib $curl_includes_string $curl_includes_sys_socket $curl_includes_netdb ]],[[ struct addrinfo hints; struct addrinfo *ai = 0; int error; #ifdef _WIN32 WSADATA wsa; if(WSAStartup(MAKEWORD(2, 2), &wsa)) exit(2); #endif memset(&hints, 0, sizeof(hints)); hints.ai_flags = AI_NUMERICHOST; hints.ai_family = AF_UNSPEC; hints.ai_socktype = SOCK_STREAM; error = getaddrinfo("127.0.0.1", 0, &hints, &ai); if(error || !ai) exit(1); /* fail */ else exit(0); ]]) ],[ AC_MSG_RESULT([yes]) tst_works_getaddrinfo="yes" ],[ AC_MSG_RESULT([no]) tst_works_getaddrinfo="no" ]) fi # if test "$tst_compi_getaddrinfo" = "yes" && test "$tst_works_getaddrinfo" != "no"; then AC_MSG_CHECKING([if getaddrinfo usage allowed]) if test "x$curl_disallow_getaddrinfo" != "xyes"; then AC_MSG_RESULT([yes]) tst_allow_getaddrinfo="yes" else AC_MSG_RESULT([no]) tst_allow_getaddrinfo="no" fi fi # AC_MSG_CHECKING([if getaddrinfo might be used]) if test "$tst_links_getaddrinfo" = "yes" && test "$tst_proto_getaddrinfo" = "yes" && test "$tst_compi_getaddrinfo" = "yes" && test "$tst_allow_getaddrinfo" = "yes" && test "$tst_works_getaddrinfo" != "no"; then AC_MSG_RESULT([yes]) AC_DEFINE_UNQUOTED(HAVE_GETADDRINFO, 1, [Define to 1 if you have a working getaddrinfo function.]) curl_cv_func_getaddrinfo="yes" else AC_MSG_RESULT([no]) curl_cv_func_getaddrinfo="no" curl_cv_func_getaddrinfo_threadsafe="no" fi # if test "$curl_cv_func_getaddrinfo" = "yes"; then AC_MSG_CHECKING([if getaddrinfo is threadsafe]) case $host_os in aix[[1234]].* | aix5.[[01]].*) dnl AIX 5.1 and older tst_tsafe_getaddrinfo="no" ;; aix*) dnl AIX 5.2 and newer tst_tsafe_getaddrinfo="yes" ;; darwin[[12345]].*) dnl Darwin 5.0 and macOS 10.1.X and older tst_tsafe_getaddrinfo="no" ;; darwin*) dnl Darwin 6.0 and macOS 10.2.X and newer tst_tsafe_getaddrinfo="yes" ;; freebsd[[1234]].* | freebsd5.[[1234]]*) dnl FreeBSD 5.4 and older tst_tsafe_getaddrinfo="no" ;; freebsd*) dnl FreeBSD 5.5 and newer tst_tsafe_getaddrinfo="yes" ;; hpux[[123456789]].* | hpux10.* | hpux11.0* | hpux11.10*) dnl HP-UX 11.10 and older tst_tsafe_getaddrinfo="no" ;; hpux*) dnl HP-UX 11.11 and newer tst_tsafe_getaddrinfo="yes" ;; midnightbsd*) dnl all MidnightBSD versions tst_tsafe_getaddrinfo="yes" ;; netbsd[[123]].*) dnl NetBSD 3.X and older tst_tsafe_getaddrinfo="no" ;; netbsd*) dnl NetBSD 4.X and newer tst_tsafe_getaddrinfo="yes" ;; *bsd*) dnl All other BSD's tst_tsafe_getaddrinfo="no" ;; solaris2*) dnl Solaris which have it tst_tsafe_getaddrinfo="yes" ;; esac if test "$tst_tsafe_getaddrinfo" = "unknown" && test "$curl_cv_native_windows" = "yes"; then tst_tsafe_getaddrinfo="yes" fi if test "$tst_tsafe_getaddrinfo" = "unknown"; then CURL_CHECK_DEF_CC([h_errno], [ $curl_includes_sys_socket $curl_includes_netdb ], [silent]) if test "$curl_cv_have_def_h_errno" = "yes"; then tst_h_errno_macro="yes" else tst_h_errno_macro="no" fi AC_COMPILE_IFELSE([ AC_LANG_PROGRAM([[ $curl_includes_sys_socket $curl_includes_netdb ]],[[ h_errno = 2; if(0 != h_errno) return 1; ]]) ],[ tst_h_errno_modifiable_lvalue="yes" ],[ tst_h_errno_modifiable_lvalue="no" ]) AC_COMPILE_IFELSE([ AC_LANG_PROGRAM([[ ]],[[ #if defined(_POSIX_C_SOURCE) && (_POSIX_C_SOURCE >= 200809L) return 0; #elif defined(_XOPEN_SOURCE) && (_XOPEN_SOURCE >= 700) return 0; #else #error force compilation error #endif ]]) ],[ tst_h_errno_sbs_issue_7="yes" ],[ tst_h_errno_sbs_issue_7="no" ]) if test "$tst_h_errno_macro" = "no" && test "$tst_h_errno_modifiable_lvalue" = "no" && test "$tst_h_errno_sbs_issue_7" = "no"; then tst_tsafe_getaddrinfo="no" else tst_tsafe_getaddrinfo="yes" fi fi AC_MSG_RESULT([$tst_tsafe_getaddrinfo]) if test "$tst_tsafe_getaddrinfo" = "yes"; then AC_DEFINE_UNQUOTED(HAVE_GETADDRINFO_THREADSAFE, 1, [Define to 1 if the getaddrinfo function is threadsafe.]) curl_cv_func_getaddrinfo_threadsafe="yes" else curl_cv_func_getaddrinfo_threadsafe="no" fi fi ]) m4trace:m4/curl-functions.m4:1602: -1- AC_DEFUN([CURL_CHECK_FUNC_GETHOSTBYNAME], [ AC_REQUIRE([CURL_INCLUDES_WINSOCK2])dnl AC_REQUIRE([CURL_INCLUDES_NETDB])dnl # tst_links_gethostbyname="unknown" tst_proto_gethostbyname="unknown" tst_compi_gethostbyname="unknown" tst_allow_gethostbyname="unknown" # AC_MSG_CHECKING([if gethostbyname can be linked]) AC_LINK_IFELSE([ AC_LANG_PROGRAM([[ $curl_includes_winsock2 $curl_includes_bsdsocket $curl_includes_netdb ]],[[ if(0 != gethostbyname(0)) return 1; ]]) ],[ AC_MSG_RESULT([yes]) tst_links_gethostbyname="yes" ],[ AC_MSG_RESULT([no]) tst_links_gethostbyname="no" ]) # if test "$tst_links_gethostbyname" = "yes"; then AC_MSG_CHECKING([if gethostbyname is prototyped]) AC_EGREP_CPP([gethostbyname],[ $curl_includes_winsock2 $curl_includes_bsdsocket $curl_includes_netdb ],[ AC_MSG_RESULT([yes]) tst_proto_gethostbyname="yes" ],[ AC_MSG_RESULT([no]) tst_proto_gethostbyname="no" ]) fi # if test "$tst_proto_gethostbyname" = "yes"; then AC_MSG_CHECKING([if gethostbyname is compilable]) AC_COMPILE_IFELSE([ AC_LANG_PROGRAM([[ $curl_includes_winsock2 $curl_includes_bsdsocket $curl_includes_netdb ]],[[ if(0 != gethostbyname(0)) return 1; ]]) ],[ AC_MSG_RESULT([yes]) tst_compi_gethostbyname="yes" ],[ AC_MSG_RESULT([no]) tst_compi_gethostbyname="no" ]) fi # if test "$tst_compi_gethostbyname" = "yes"; then AC_MSG_CHECKING([if gethostbyname usage allowed]) if test "x$curl_disallow_gethostbyname" != "xyes"; then AC_MSG_RESULT([yes]) tst_allow_gethostbyname="yes" else AC_MSG_RESULT([no]) tst_allow_gethostbyname="no" fi fi # AC_MSG_CHECKING([if gethostbyname might be used]) if test "$tst_links_gethostbyname" = "yes" && test "$tst_proto_gethostbyname" = "yes" && test "$tst_compi_gethostbyname" = "yes" && test "$tst_allow_gethostbyname" = "yes"; then AC_MSG_RESULT([yes]) AC_DEFINE_UNQUOTED(HAVE_GETHOSTBYNAME, 1, [Define to 1 if you have the gethostbyname function.]) curl_cv_func_gethostbyname="yes" else AC_MSG_RESULT([no]) curl_cv_func_gethostbyname="no" fi ]) m4trace:m4/curl-functions.m4:1699: -1- AC_DEFUN([CURL_CHECK_FUNC_GETHOSTBYNAME_R], [ AC_REQUIRE([CURL_INCLUDES_NETDB])dnl # tst_links_gethostbyname_r="unknown" tst_proto_gethostbyname_r="unknown" tst_compi_gethostbyname_r="unknown" tst_allow_gethostbyname_r="unknown" tst_nargs_gethostbyname_r="unknown" # AC_MSG_CHECKING([if gethostbyname_r can be linked]) AC_LINK_IFELSE([ AC_LANG_FUNC_LINK_TRY([gethostbyname_r]) ],[ AC_MSG_RESULT([yes]) tst_links_gethostbyname_r="yes" ],[ AC_MSG_RESULT([no]) tst_links_gethostbyname_r="no" ]) # if test "$tst_links_gethostbyname_r" = "yes"; then AC_MSG_CHECKING([if gethostbyname_r is prototyped]) AC_EGREP_CPP([gethostbyname_r],[ $curl_includes_netdb ],[ AC_MSG_RESULT([yes]) tst_proto_gethostbyname_r="yes" ],[ AC_MSG_RESULT([no]) tst_proto_gethostbyname_r="no" ]) fi # if test "$tst_proto_gethostbyname_r" = "yes"; then if test "$tst_nargs_gethostbyname_r" = "unknown"; then AC_MSG_CHECKING([if gethostbyname_r takes 3 args.]) AC_COMPILE_IFELSE([ AC_LANG_PROGRAM([[ $curl_includes_netdb $curl_includes_bsdsocket ]],[[ if(0 != gethostbyname_r(0, 0, 0)) return 1; ]]) ],[ AC_MSG_RESULT([yes]) tst_compi_gethostbyname_r="yes" tst_nargs_gethostbyname_r="3" ],[ AC_MSG_RESULT([no]) tst_compi_gethostbyname_r="no" ]) fi if test "$tst_nargs_gethostbyname_r" = "unknown"; then AC_MSG_CHECKING([if gethostbyname_r takes 5 args.]) AC_COMPILE_IFELSE([ AC_LANG_PROGRAM([[ $curl_includes_netdb $curl_includes_bsdsocket ]],[[ if(0 != gethostbyname_r(0, 0, 0, 0, 0)) return 1; ]]) ],[ AC_MSG_RESULT([yes]) tst_compi_gethostbyname_r="yes" tst_nargs_gethostbyname_r="5" ],[ AC_MSG_RESULT([no]) tst_compi_gethostbyname_r="no" ]) fi if test "$tst_nargs_gethostbyname_r" = "unknown"; then AC_MSG_CHECKING([if gethostbyname_r takes 6 args.]) AC_COMPILE_IFELSE([ AC_LANG_PROGRAM([[ $curl_includes_netdb $curl_includes_bsdsocket ]],[[ if(0 != gethostbyname_r(0, 0, 0, 0, 0, 0)) return 1; ]]) ],[ AC_MSG_RESULT([yes]) tst_compi_gethostbyname_r="yes" tst_nargs_gethostbyname_r="6" ],[ AC_MSG_RESULT([no]) tst_compi_gethostbyname_r="no" ]) fi AC_MSG_CHECKING([if gethostbyname_r is compilable]) if test "$tst_compi_gethostbyname_r" = "yes"; then AC_MSG_RESULT([yes]) else AC_MSG_RESULT([no]) fi fi # if test "$tst_compi_gethostbyname_r" = "yes"; then AC_MSG_CHECKING([if gethostbyname_r usage allowed]) if test "x$curl_disallow_gethostbyname_r" != "xyes"; then AC_MSG_RESULT([yes]) tst_allow_gethostbyname_r="yes" else AC_MSG_RESULT([no]) tst_allow_gethostbyname_r="no" fi fi # AC_MSG_CHECKING([if gethostbyname_r might be used]) if test "$tst_links_gethostbyname_r" = "yes" && test "$tst_proto_gethostbyname_r" = "yes" && test "$tst_compi_gethostbyname_r" = "yes" && test "$tst_allow_gethostbyname_r" = "yes"; then AC_MSG_RESULT([yes]) AC_DEFINE_UNQUOTED(HAVE_GETHOSTBYNAME_R, 1, [Define to 1 if you have the gethostbyname_r function.]) dnl AC_DEFINE_UNQUOTED(GETHOSTBYNAME_R_ARGS, $tst_nargs_gethostbyname_r, dnl [Specifies the number of arguments to gethostbyname_r]) # if test "$tst_nargs_gethostbyname_r" -eq "3"; then AC_DEFINE(HAVE_GETHOSTBYNAME_R_3, 1, [gethostbyname_r() takes 3 args]) elif test "$tst_nargs_gethostbyname_r" -eq "5"; then AC_DEFINE(HAVE_GETHOSTBYNAME_R_5, 1, [gethostbyname_r() takes 5 args]) elif test "$tst_nargs_gethostbyname_r" -eq "6"; then AC_DEFINE(HAVE_GETHOSTBYNAME_R_6, 1, [gethostbyname_r() takes 6 args]) fi # curl_cv_func_gethostbyname_r="yes" else AC_MSG_RESULT([no]) curl_cv_func_gethostbyname_r="no" fi ]) m4trace:m4/curl-functions.m4:1844: -1- AC_DEFUN([CURL_CHECK_FUNC_GETHOSTNAME], [ AC_REQUIRE([CURL_INCLUDES_WINSOCK2])dnl AC_REQUIRE([CURL_INCLUDES_BSDSOCKET])dnl AC_REQUIRE([CURL_INCLUDES_UNISTD])dnl AC_REQUIRE([CURL_PREPROCESS_CALLCONV])dnl # tst_links_gethostname="unknown" tst_proto_gethostname="unknown" tst_compi_gethostname="unknown" tst_allow_gethostname="unknown" # AC_MSG_CHECKING([if gethostname can be linked]) AC_LINK_IFELSE([ AC_LANG_PROGRAM([[ $curl_includes_winsock2 $curl_includes_unistd $curl_includes_bsdsocket ]],[[ if(0 != gethostname(0, 0)) return 1; ]]) ],[ AC_MSG_RESULT([yes]) tst_links_gethostname="yes" ],[ AC_MSG_RESULT([no]) tst_links_gethostname="no" ]) # if test "$tst_links_gethostname" = "yes"; then AC_MSG_CHECKING([if gethostname is prototyped]) AC_EGREP_CPP([gethostname],[ $curl_includes_winsock2 $curl_includes_unistd $curl_includes_bsdsocket ],[ AC_MSG_RESULT([yes]) tst_proto_gethostname="yes" ],[ AC_MSG_RESULT([no]) tst_proto_gethostname="no" ]) fi # if test "$tst_proto_gethostname" = "yes"; then AC_MSG_CHECKING([if gethostname is compilable]) AC_COMPILE_IFELSE([ AC_LANG_PROGRAM([[ $curl_includes_winsock2 $curl_includes_unistd $curl_includes_bsdsocket ]],[[ if(0 != gethostname(0, 0)) return 1; ]]) ],[ AC_MSG_RESULT([yes]) tst_compi_gethostname="yes" ],[ AC_MSG_RESULT([no]) tst_compi_gethostname="no" ]) fi # if test "$tst_compi_gethostname" = "yes"; then AC_MSG_CHECKING([for gethostname arg 2 data type]) tst_gethostname_type_arg2="unknown" for tst_arg1 in 'char *' 'unsigned char *' 'void *'; do for tst_arg2 in 'int' 'unsigned int' 'size_t'; do if test "$tst_gethostname_type_arg2" = "unknown"; then AC_COMPILE_IFELSE([ AC_LANG_PROGRAM([[ $curl_includes_winsock2 $curl_includes_unistd $curl_includes_bsdsocket $curl_preprocess_callconv extern int FUNCALLCONV gethostname($tst_arg1, $tst_arg2); ]],[[ if(0 != gethostname(0, 0)) return 1; ]]) ],[ tst_gethostname_type_arg2="$tst_arg2" ]) fi done done AC_MSG_RESULT([$tst_gethostname_type_arg2]) if test "$tst_gethostname_type_arg2" != "unknown"; then AC_DEFINE_UNQUOTED(GETHOSTNAME_TYPE_ARG2, $tst_gethostname_type_arg2, [Define to the type of arg 2 for gethostname.]) fi fi # if test "$tst_compi_gethostname" = "yes"; then AC_MSG_CHECKING([if gethostname usage allowed]) if test "x$curl_disallow_gethostname" != "xyes"; then AC_MSG_RESULT([yes]) tst_allow_gethostname="yes" else AC_MSG_RESULT([no]) tst_allow_gethostname="no" fi fi # AC_MSG_CHECKING([if gethostname might be used]) if test "$tst_links_gethostname" = "yes" && test "$tst_proto_gethostname" = "yes" && test "$tst_compi_gethostname" = "yes" && test "$tst_allow_gethostname" = "yes"; then AC_MSG_RESULT([yes]) AC_DEFINE_UNQUOTED(HAVE_GETHOSTNAME, 1, [Define to 1 if you have the gethostname function.]) curl_cv_func_gethostname="yes" else AC_MSG_RESULT([no]) curl_cv_func_gethostname="no" fi ]) m4trace:m4/curl-functions.m4:1972: -1- AC_DEFUN([CURL_CHECK_FUNC_GETPEERNAME], [ AC_REQUIRE([CURL_INCLUDES_WINSOCK2])dnl AC_REQUIRE([CURL_INCLUDES_UNISTD])dnl AC_REQUIRE([CURL_PREPROCESS_CALLCONV])dnl AC_REQUIRE([CURL_INCLUDES_BSDSOCKET])dnl # tst_links_getpeername="unknown" tst_proto_getpeername="unknown" tst_compi_getpeername="unknown" tst_allow_getpeername="unknown" # AC_MSG_CHECKING([if getpeername can be linked]) AC_LINK_IFELSE([ AC_LANG_PROGRAM([[ $curl_includes_winsock2 $curl_includes_bsdsocket $curl_includes_sys_socket ]],[[ if(0 != getpeername(0, (void *)0, (void *)0)) return 1; ]]) ],[ AC_MSG_RESULT([yes]) tst_links_getpeername="yes" ],[ AC_MSG_RESULT([no]) tst_links_getpeername="no" ]) # if test "$tst_links_getpeername" = "yes"; then AC_MSG_CHECKING([if getpeername is prototyped]) AC_EGREP_CPP([getpeername],[ $curl_includes_winsock2 $curl_includes_bsdsocket $curl_includes_sys_socket ],[ AC_MSG_RESULT([yes]) tst_proto_getpeername="yes" ],[ AC_MSG_RESULT([no]) tst_proto_getpeername="no" ]) fi # if test "$tst_proto_getpeername" = "yes"; then AC_MSG_CHECKING([if getpeername is compilable]) AC_COMPILE_IFELSE([ AC_LANG_PROGRAM([[ $curl_includes_winsock2 $curl_includes_bsdsocket $curl_includes_sys_socket ]],[[ if(0 != getpeername(0, (void *)0, (void *)0)) return 1; ]]) ],[ AC_MSG_RESULT([yes]) tst_compi_getpeername="yes" ],[ AC_MSG_RESULT([no]) tst_compi_getpeername="no" ]) fi # if test "$tst_compi_getpeername" = "yes"; then AC_MSG_CHECKING([if getpeername usage allowed]) if test "x$curl_disallow_getpeername" != "xyes"; then AC_MSG_RESULT([yes]) tst_allow_getpeername="yes" else AC_MSG_RESULT([no]) tst_allow_getpeername="no" fi fi # AC_MSG_CHECKING([if getpeername might be used]) if test "$tst_links_getpeername" = "yes" && test "$tst_proto_getpeername" = "yes" && test "$tst_compi_getpeername" = "yes" && test "$tst_allow_getpeername" = "yes"; then AC_MSG_RESULT([yes]) AC_DEFINE_UNQUOTED(HAVE_GETPEERNAME, 1, [Define to 1 if you have the getpeername function.]) curl_cv_func_getpeername="yes" else AC_MSG_RESULT([no]) curl_cv_func_getpeername="no" fi ]) m4trace:m4/curl-functions.m4:2070: -1- AC_DEFUN([CURL_CHECK_FUNC_GETSOCKNAME], [ AC_REQUIRE([CURL_INCLUDES_WINSOCK2])dnl AC_REQUIRE([CURL_INCLUDES_UNISTD])dnl AC_REQUIRE([CURL_PREPROCESS_CALLCONV])dnl AC_REQUIRE([CURL_INCLUDES_BSDSOCKET])dnl # tst_links_getsockname="unknown" tst_proto_getsockname="unknown" tst_compi_getsockname="unknown" tst_allow_getsockname="unknown" # AC_MSG_CHECKING([if getsockname can be linked]) AC_LINK_IFELSE([ AC_LANG_PROGRAM([[ $curl_includes_winsock2 $curl_includes_bsdsocket $curl_includes_sys_socket ]],[[ if(0 != getsockname(0, (void *)0, (void *)0)) return 1; ]]) ],[ AC_MSG_RESULT([yes]) tst_links_getsockname="yes" ],[ AC_MSG_RESULT([no]) tst_links_getsockname="no" ]) # if test "$tst_links_getsockname" = "yes"; then AC_MSG_CHECKING([if getsockname is prototyped]) AC_EGREP_CPP([getsockname],[ $curl_includes_winsock2 $curl_includes_bsdsocket $curl_includes_sys_socket ],[ AC_MSG_RESULT([yes]) tst_proto_getsockname="yes" ],[ AC_MSG_RESULT([no]) tst_proto_getsockname="no" ]) fi # if test "$tst_proto_getsockname" = "yes"; then AC_MSG_CHECKING([if getsockname is compilable]) AC_COMPILE_IFELSE([ AC_LANG_PROGRAM([[ $curl_includes_winsock2 $curl_includes_bsdsocket $curl_includes_sys_socket ]],[[ if(0 != getsockname(0, (void *)0, (void *)0)) return 1; ]]) ],[ AC_MSG_RESULT([yes]) tst_compi_getsockname="yes" ],[ AC_MSG_RESULT([no]) tst_compi_getsockname="no" ]) fi # if test "$tst_compi_getsockname" = "yes"; then AC_MSG_CHECKING([if getsockname usage allowed]) if test "x$curl_disallow_getsockname" != "xyes"; then AC_MSG_RESULT([yes]) tst_allow_getsockname="yes" else AC_MSG_RESULT([no]) tst_allow_getsockname="no" fi fi # AC_MSG_CHECKING([if getsockname might be used]) if test "$tst_links_getsockname" = "yes" && test "$tst_proto_getsockname" = "yes" && test "$tst_compi_getsockname" = "yes" && test "$tst_allow_getsockname" = "yes"; then AC_MSG_RESULT([yes]) AC_DEFINE_UNQUOTED(HAVE_GETSOCKNAME, 1, [Define to 1 if you have the getsockname function.]) curl_cv_func_getsockname="yes" else AC_MSG_RESULT([no]) curl_cv_func_getsockname="no" fi ]) m4trace:m4/curl-functions.m4:2168: -1- AC_DEFUN([CURL_CHECK_FUNC_IF_NAMETOINDEX], [ AC_REQUIRE([CURL_INCLUDES_WINSOCK2])dnl AC_REQUIRE([CURL_INCLUDES_NETIF])dnl AC_REQUIRE([CURL_PREPROCESS_CALLCONV])dnl # tst_links_if_nametoindex="unknown" tst_proto_if_nametoindex="unknown" tst_compi_if_nametoindex="unknown" tst_allow_if_nametoindex="unknown" # AC_MSG_CHECKING([if if_nametoindex can be linked]) AC_LINK_IFELSE([ AC_LANG_PROGRAM([[ $curl_includes_winsock2 $curl_includes_bsdsocket #include ]],[[ if(0 != if_nametoindex("")) return 1; ]]) ],[ AC_MSG_RESULT([yes]) tst_links_if_nametoindex="yes" ],[ AC_MSG_RESULT([no]) tst_links_if_nametoindex="no" ]) # if test "$tst_links_if_nametoindex" = "yes"; then AC_MSG_CHECKING([if if_nametoindex is prototyped]) AC_EGREP_CPP([if_nametoindex],[ $curl_includes_winsock2 $curl_includes_netif ],[ AC_MSG_RESULT([yes]) tst_proto_if_nametoindex="yes" ],[ AC_MSG_RESULT([no]) tst_proto_if_nametoindex="no" ]) fi # if test "$tst_proto_if_nametoindex" = "yes"; then AC_MSG_CHECKING([if if_nametoindex is compilable]) AC_COMPILE_IFELSE([ AC_LANG_PROGRAM([[ $curl_includes_winsock2 $curl_includes_netif ]],[[ if(0 != if_nametoindex("")) return 1; ]]) ],[ AC_MSG_RESULT([yes]) tst_compi_if_nametoindex="yes" ],[ AC_MSG_RESULT([no]) tst_compi_if_nametoindex="no" ]) fi # if test "$tst_compi_if_nametoindex" = "yes"; then AC_MSG_CHECKING([if if_nametoindex usage allowed]) if test "x$curl_disallow_if_nametoindex" != "xyes"; then AC_MSG_RESULT([yes]) tst_allow_if_nametoindex="yes" else AC_MSG_RESULT([no]) tst_allow_if_nametoindex="no" fi fi # AC_MSG_CHECKING([if if_nametoindex might be used]) if test "$tst_links_if_nametoindex" = "yes" && test "$tst_proto_if_nametoindex" = "yes" && test "$tst_compi_if_nametoindex" = "yes" && test "$tst_allow_if_nametoindex" = "yes"; then AC_MSG_RESULT([yes]) AC_DEFINE_UNQUOTED(HAVE_IF_NAMETOINDEX, 1, [Define to 1 if you have the if_nametoindex function.]) curl_cv_func_if_nametoindex="yes" else AC_MSG_RESULT([no]) curl_cv_func_if_nametoindex="no" fi ]) m4trace:m4/curl-functions.m4:2264: -1- AC_DEFUN([CURL_CHECK_FUNC_GETIFADDRS], [ AC_REQUIRE([CURL_INCLUDES_STDLIB])dnl AC_REQUIRE([CURL_INCLUDES_IFADDRS])dnl # tst_links_getifaddrs="unknown" tst_proto_getifaddrs="unknown" tst_compi_getifaddrs="unknown" tst_works_getifaddrs="unknown" tst_allow_getifaddrs="unknown" # AC_MSG_CHECKING([if getifaddrs can be linked]) AC_LINK_IFELSE([ AC_LANG_FUNC_LINK_TRY([getifaddrs]) ],[ AC_MSG_RESULT([yes]) tst_links_getifaddrs="yes" ],[ AC_MSG_RESULT([no]) tst_links_getifaddrs="no" ]) # if test "$tst_links_getifaddrs" = "yes"; then AC_MSG_CHECKING([if getifaddrs is prototyped]) AC_EGREP_CPP([getifaddrs],[ $curl_includes_ifaddrs ],[ AC_MSG_RESULT([yes]) tst_proto_getifaddrs="yes" ],[ AC_MSG_RESULT([no]) tst_proto_getifaddrs="no" ]) fi # if test "$tst_proto_getifaddrs" = "yes"; then AC_MSG_CHECKING([if getifaddrs is compilable]) AC_COMPILE_IFELSE([ AC_LANG_PROGRAM([[ $curl_includes_ifaddrs ]],[[ if(0 != getifaddrs(0)) return 1; ]]) ],[ AC_MSG_RESULT([yes]) tst_compi_getifaddrs="yes" ],[ AC_MSG_RESULT([no]) tst_compi_getifaddrs="no" ]) fi # dnl only do runtime verification when not cross-compiling if test "x$cross_compiling" != "xyes" && test "$tst_compi_getifaddrs" = "yes"; then AC_MSG_CHECKING([if getifaddrs seems to work]) CURL_RUN_IFELSE([ AC_LANG_PROGRAM([[ $curl_includes_stdlib $curl_includes_ifaddrs ]],[[ struct ifaddrs *ifa = 0; int error; error = getifaddrs(&ifa); if(error || !ifa) exit(1); /* fail */ else exit(0); ]]) ],[ AC_MSG_RESULT([yes]) tst_works_getifaddrs="yes" ],[ AC_MSG_RESULT([no]) tst_works_getifaddrs="no" ]) fi # if test "$tst_compi_getifaddrs" = "yes" && test "$tst_works_getifaddrs" != "no"; then AC_MSG_CHECKING([if getifaddrs usage allowed]) if test "x$curl_disallow_getifaddrs" != "xyes"; then AC_MSG_RESULT([yes]) tst_allow_getifaddrs="yes" else AC_MSG_RESULT([no]) tst_allow_getifaddrs="no" fi fi # AC_MSG_CHECKING([if getifaddrs might be used]) if test "$tst_links_getifaddrs" = "yes" && test "$tst_proto_getifaddrs" = "yes" && test "$tst_compi_getifaddrs" = "yes" && test "$tst_allow_getifaddrs" = "yes" && test "$tst_works_getifaddrs" != "no"; then AC_MSG_RESULT([yes]) AC_DEFINE_UNQUOTED(HAVE_GETIFADDRS, 1, [Define to 1 if you have a working getifaddrs function.]) curl_cv_func_getifaddrs="yes" else AC_MSG_RESULT([no]) curl_cv_func_getifaddrs="no" fi ]) m4trace:m4/curl-functions.m4:2380: -1- AC_DEFUN([CURL_CHECK_FUNC_GMTIME_R], [ AC_REQUIRE([CURL_INCLUDES_STDLIB])dnl AC_REQUIRE([CURL_INCLUDES_TIME])dnl # tst_links_gmtime_r="unknown" tst_proto_gmtime_r="unknown" tst_compi_gmtime_r="unknown" tst_works_gmtime_r="unknown" tst_allow_gmtime_r="unknown" # AC_MSG_CHECKING([if gmtime_r can be linked]) AC_LINK_IFELSE([ AC_LANG_FUNC_LINK_TRY([gmtime_r]) ],[ AC_MSG_RESULT([yes]) tst_links_gmtime_r="yes" ],[ AC_MSG_RESULT([no]) tst_links_gmtime_r="no" ]) # if test "$tst_links_gmtime_r" = "yes"; then AC_MSG_CHECKING([if gmtime_r is prototyped]) AC_EGREP_CPP([gmtime_r],[ $curl_includes_time ],[ AC_MSG_RESULT([yes]) tst_proto_gmtime_r="yes" ],[ AC_MSG_RESULT([no]) tst_proto_gmtime_r="no" ]) fi # if test "$tst_proto_gmtime_r" = "yes"; then AC_MSG_CHECKING([if gmtime_r is compilable]) AC_COMPILE_IFELSE([ AC_LANG_PROGRAM([[ $curl_includes_time ]],[[ if(0 != gmtime_r(0, 0)) return 1; ]]) ],[ AC_MSG_RESULT([yes]) tst_compi_gmtime_r="yes" ],[ AC_MSG_RESULT([no]) tst_compi_gmtime_r="no" ]) fi # dnl only do runtime verification when not cross-compiling if test "x$cross_compiling" != "xyes" && test "$tst_compi_gmtime_r" = "yes"; then AC_MSG_CHECKING([if gmtime_r seems to work]) CURL_RUN_IFELSE([ AC_LANG_PROGRAM([[ $curl_includes_stdlib $curl_includes_time ]],[[ time_t local = 1170352587; struct tm *gmt = 0; struct tm result; gmt = gmtime_r(&local, &result); if(gmt) exit(0); else exit(1); ]]) ],[ AC_MSG_RESULT([yes]) tst_works_gmtime_r="yes" ],[ AC_MSG_RESULT([no]) tst_works_gmtime_r="no" ]) fi # if test "$tst_compi_gmtime_r" = "yes" && test "$tst_works_gmtime_r" != "no"; then AC_MSG_CHECKING([if gmtime_r usage allowed]) if test "x$curl_disallow_gmtime_r" != "xyes"; then AC_MSG_RESULT([yes]) tst_allow_gmtime_r="yes" else AC_MSG_RESULT([no]) tst_allow_gmtime_r="no" fi fi # AC_MSG_CHECKING([if gmtime_r might be used]) if test "$tst_links_gmtime_r" = "yes" && test "$tst_proto_gmtime_r" = "yes" && test "$tst_compi_gmtime_r" = "yes" && test "$tst_allow_gmtime_r" = "yes" && test "$tst_works_gmtime_r" != "no"; then AC_MSG_RESULT([yes]) AC_DEFINE_UNQUOTED(HAVE_GMTIME_R, 1, [Define to 1 if you have a working gmtime_r function.]) curl_cv_func_gmtime_r="yes" else AC_MSG_RESULT([no]) curl_cv_func_gmtime_r="no" fi ]) m4trace:m4/curl-functions.m4:2496: -1- AC_DEFUN([CURL_CHECK_FUNC_INET_NTOP], [ AC_REQUIRE([CURL_INCLUDES_STDLIB])dnl AC_REQUIRE([CURL_INCLUDES_ARPA_INET])dnl AC_REQUIRE([CURL_INCLUDES_STRING])dnl # tst_links_inet_ntop="unknown" tst_proto_inet_ntop="unknown" tst_compi_inet_ntop="unknown" tst_works_inet_ntop="unknown" tst_allow_inet_ntop="unknown" # AC_MSG_CHECKING([if inet_ntop can be linked]) AC_LINK_IFELSE([ AC_LANG_FUNC_LINK_TRY([inet_ntop]) ],[ AC_MSG_RESULT([yes]) tst_links_inet_ntop="yes" ],[ AC_MSG_RESULT([no]) tst_links_inet_ntop="no" ]) # if test "$tst_links_inet_ntop" = "yes"; then AC_MSG_CHECKING([if inet_ntop is prototyped]) AC_EGREP_CPP([inet_ntop],[ $curl_includes_arpa_inet ],[ AC_MSG_RESULT([yes]) tst_proto_inet_ntop="yes" ],[ AC_MSG_RESULT([no]) tst_proto_inet_ntop="no" ]) fi # if test "$tst_proto_inet_ntop" = "yes"; then AC_MSG_CHECKING([if inet_ntop is compilable]) AC_COMPILE_IFELSE([ AC_LANG_PROGRAM([[ $curl_includes_arpa_inet ]],[[ if(0 != inet_ntop(0, 0, 0, 0)) return 1; ]]) ],[ AC_MSG_RESULT([yes]) tst_compi_inet_ntop="yes" ],[ AC_MSG_RESULT([no]) tst_compi_inet_ntop="no" ]) fi # dnl only do runtime verification when not cross-compiling if test "x$cross_compiling" != "xyes" && test "$tst_compi_inet_ntop" = "yes"; then AC_MSG_CHECKING([if inet_ntop seems to work]) CURL_RUN_IFELSE([ AC_LANG_PROGRAM([[ $curl_includes_stdlib $curl_includes_arpa_inet $curl_includes_string ]],[[ char ipv6res[sizeof("ffff:ffff:ffff:ffff:ffff:ffff:255.255.255.255")]; char ipv4res[sizeof "255.255.255.255"]; unsigned char ipv6a[26]; unsigned char ipv4a[5]; char *ipv6ptr = 0; char *ipv4ptr = 0; /* - */ ipv4res[0] = '\0'; ipv4a[0] = 0xc0; ipv4a[1] = 0xa8; ipv4a[2] = 0x64; ipv4a[3] = 0x01; ipv4a[4] = 0x01; /* - */ ipv4ptr = inet_ntop(AF_INET, ipv4a, ipv4res, sizeof(ipv4res)); if(!ipv4ptr) exit(1); /* fail */ if(ipv4ptr != ipv4res) exit(1); /* fail */ if(!ipv4ptr[0]) exit(1); /* fail */ if(memcmp(ipv4res, "192.168.100.1", 13) != 0) exit(1); /* fail */ /* - */ ipv6res[0] = '\0'; memset(ipv6a, 0, sizeof(ipv6a)); ipv6a[0] = 0xfe; ipv6a[1] = 0x80; ipv6a[8] = 0x02; ipv6a[9] = 0x14; ipv6a[10] = 0x4f; ipv6a[11] = 0xff; ipv6a[12] = 0xfe; ipv6a[13] = 0x0b; ipv6a[14] = 0x76; ipv6a[15] = 0xc8; ipv6a[25] = 0x01; /* - */ ipv6ptr = inet_ntop(AF_INET6, ipv6a, ipv6res, sizeof(ipv6res)); if(!ipv6ptr) exit(1); /* fail */ if(ipv6ptr != ipv6res) exit(1); /* fail */ if(!ipv6ptr[0]) exit(1); /* fail */ if(memcmp(ipv6res, "fe80::214:4fff:fe0b:76c8", 24) != 0) exit(1); /* fail */ /* - */ exit(0); ]]) ],[ AC_MSG_RESULT([yes]) tst_works_inet_ntop="yes" ],[ AC_MSG_RESULT([no]) tst_works_inet_ntop="no" ]) fi # if test "$tst_compi_inet_ntop" = "yes" && test "$tst_works_inet_ntop" != "no"; then AC_MSG_CHECKING([if inet_ntop usage allowed]) if test "x$curl_disallow_inet_ntop" != "xyes"; then AC_MSG_RESULT([yes]) tst_allow_inet_ntop="yes" else AC_MSG_RESULT([no]) tst_allow_inet_ntop="no" fi fi # AC_MSG_CHECKING([if inet_ntop might be used]) if test "$tst_links_inet_ntop" = "yes" && test "$tst_proto_inet_ntop" = "yes" && test "$tst_compi_inet_ntop" = "yes" && test "$tst_allow_inet_ntop" = "yes" && test "$tst_works_inet_ntop" != "no"; then AC_MSG_RESULT([yes]) AC_DEFINE_UNQUOTED(HAVE_INET_NTOP, 1, [Define to 1 if you have a IPv6 capable working inet_ntop function.]) curl_cv_func_inet_ntop="yes" else AC_MSG_RESULT([no]) curl_cv_func_inet_ntop="no" fi ]) m4trace:m4/curl-functions.m4:2655: -1- AC_DEFUN([CURL_CHECK_FUNC_INET_PTON], [ AC_REQUIRE([CURL_INCLUDES_STDLIB])dnl AC_REQUIRE([CURL_INCLUDES_ARPA_INET])dnl AC_REQUIRE([CURL_INCLUDES_STRING])dnl # tst_links_inet_pton="unknown" tst_proto_inet_pton="unknown" tst_compi_inet_pton="unknown" tst_works_inet_pton="unknown" tst_allow_inet_pton="unknown" # AC_MSG_CHECKING([if inet_pton can be linked]) AC_LINK_IFELSE([ AC_LANG_FUNC_LINK_TRY([inet_pton]) ],[ AC_MSG_RESULT([yes]) tst_links_inet_pton="yes" ],[ AC_MSG_RESULT([no]) tst_links_inet_pton="no" ]) # if test "$tst_links_inet_pton" = "yes"; then AC_MSG_CHECKING([if inet_pton is prototyped]) AC_EGREP_CPP([inet_pton],[ $curl_includes_arpa_inet ],[ AC_MSG_RESULT([yes]) tst_proto_inet_pton="yes" ],[ AC_MSG_RESULT([no]) tst_proto_inet_pton="no" ]) fi # if test "$tst_proto_inet_pton" = "yes"; then AC_MSG_CHECKING([if inet_pton is compilable]) AC_COMPILE_IFELSE([ AC_LANG_PROGRAM([[ $curl_includes_arpa_inet ]],[[ if(0 != inet_pton(0, 0, 0)) return 1; ]]) ],[ AC_MSG_RESULT([yes]) tst_compi_inet_pton="yes" ],[ AC_MSG_RESULT([no]) tst_compi_inet_pton="no" ]) fi # dnl only do runtime verification when not cross-compiling if test "x$cross_compiling" != "xyes" && test "$tst_compi_inet_pton" = "yes"; then AC_MSG_CHECKING([if inet_pton seems to work]) CURL_RUN_IFELSE([ AC_LANG_PROGRAM([[ $curl_includes_stdlib $curl_includes_arpa_inet $curl_includes_string ]],[[ unsigned char ipv6a[16+1]; unsigned char ipv4a[4+1]; const char *ipv6src = "fe80::214:4fff:fe0b:76c8"; const char *ipv4src = "192.168.100.1"; /* - */ memset(ipv4a, 1, sizeof(ipv4a)); if(1 != inet_pton(AF_INET, ipv4src, ipv4a)) exit(1); /* fail */ /* - */ if( (ipv4a[0] != 0xc0) || (ipv4a[1] != 0xa8) || (ipv4a[2] != 0x64) || (ipv4a[3] != 0x01) || (ipv4a[4] != 0x01) ) exit(1); /* fail */ /* - */ memset(ipv6a, 1, sizeof(ipv6a)); if(1 != inet_pton(AF_INET6, ipv6src, ipv6a)) exit(1); /* fail */ /* - */ if( (ipv6a[0] != 0xfe) || (ipv6a[1] != 0x80) || (ipv6a[8] != 0x02) || (ipv6a[9] != 0x14) || (ipv6a[10] != 0x4f) || (ipv6a[11] != 0xff) || (ipv6a[12] != 0xfe) || (ipv6a[13] != 0x0b) || (ipv6a[14] != 0x76) || (ipv6a[15] != 0xc8) || (ipv6a[16] != 0x01) ) exit(1); /* fail */ /* - */ if( (ipv6a[2] != 0x0) || (ipv6a[3] != 0x0) || (ipv6a[4] != 0x0) || (ipv6a[5] != 0x0) || (ipv6a[6] != 0x0) || (ipv6a[7] != 0x0) ) exit(1); /* fail */ /* - */ exit(0); ]]) ],[ AC_MSG_RESULT([yes]) tst_works_inet_pton="yes" ],[ AC_MSG_RESULT([no]) tst_works_inet_pton="no" ]) fi # if test "$tst_compi_inet_pton" = "yes" && test "$tst_works_inet_pton" != "no"; then AC_MSG_CHECKING([if inet_pton usage allowed]) if test "x$curl_disallow_inet_pton" != "xyes"; then AC_MSG_RESULT([yes]) tst_allow_inet_pton="yes" else AC_MSG_RESULT([no]) tst_allow_inet_pton="no" fi fi # AC_MSG_CHECKING([if inet_pton might be used]) if test "$tst_links_inet_pton" = "yes" && test "$tst_proto_inet_pton" = "yes" && test "$tst_compi_inet_pton" = "yes" && test "$tst_allow_inet_pton" = "yes" && test "$tst_works_inet_pton" != "no"; then AC_MSG_RESULT([yes]) AC_DEFINE_UNQUOTED(HAVE_INET_PTON, 1, [Define to 1 if you have a IPv6 capable working inet_pton function.]) curl_cv_func_inet_pton="yes" else AC_MSG_RESULT([no]) curl_cv_func_inet_pton="no" fi ]) m4trace:m4/curl-functions.m4:2807: -1- AC_DEFUN([CURL_CHECK_FUNC_IOCTL], [ AC_REQUIRE([CURL_INCLUDES_STROPTS])dnl # tst_links_ioctl="unknown" tst_proto_ioctl="unknown" tst_compi_ioctl="unknown" tst_allow_ioctl="unknown" # AC_MSG_CHECKING([if ioctl can be linked]) AC_LINK_IFELSE([ AC_LANG_FUNC_LINK_TRY([ioctl]) ],[ AC_MSG_RESULT([yes]) tst_links_ioctl="yes" ],[ AC_MSG_RESULT([no]) tst_links_ioctl="no" ]) # if test "$tst_links_ioctl" = "yes"; then AC_MSG_CHECKING([if ioctl is prototyped]) AC_EGREP_CPP([ioctl],[ $curl_includes_stropts ],[ AC_MSG_RESULT([yes]) tst_proto_ioctl="yes" ],[ AC_MSG_RESULT([no]) tst_proto_ioctl="no" ]) fi # if test "$tst_proto_ioctl" = "yes"; then AC_MSG_CHECKING([if ioctl is compilable]) AC_COMPILE_IFELSE([ AC_LANG_PROGRAM([[ $curl_includes_stropts ]],[[ if(0 != ioctl(0, 0, 0)) return 1; ]]) ],[ AC_MSG_RESULT([yes]) tst_compi_ioctl="yes" ],[ AC_MSG_RESULT([no]) tst_compi_ioctl="no" ]) fi # if test "$tst_compi_ioctl" = "yes"; then AC_MSG_CHECKING([if ioctl usage allowed]) if test "x$curl_disallow_ioctl" != "xyes"; then AC_MSG_RESULT([yes]) tst_allow_ioctl="yes" else AC_MSG_RESULT([no]) tst_allow_ioctl="no" fi fi # AC_MSG_CHECKING([if ioctl might be used]) if test "$tst_links_ioctl" = "yes" && test "$tst_proto_ioctl" = "yes" && test "$tst_compi_ioctl" = "yes" && test "$tst_allow_ioctl" = "yes"; then AC_MSG_RESULT([yes]) AC_DEFINE_UNQUOTED(HAVE_IOCTL, 1, [Define to 1 if you have the ioctl function.]) curl_cv_func_ioctl="yes" CURL_CHECK_FUNC_IOCTL_FIONBIO CURL_CHECK_FUNC_IOCTL_SIOCGIFADDR else AC_MSG_RESULT([no]) curl_cv_func_ioctl="no" fi ]) m4trace:m4/curl-functions.m4:2893: -1- AC_DEFUN([CURL_CHECK_FUNC_IOCTL_FIONBIO], [ # tst_compi_ioctl_fionbio="unknown" tst_allow_ioctl_fionbio="unknown" # if test "$curl_cv_func_ioctl" = "yes"; then AC_MSG_CHECKING([if ioctl FIONBIO is compilable]) AC_COMPILE_IFELSE([ AC_LANG_PROGRAM([[ $curl_includes_stropts ]],[[ int flags = 0; if(0 != ioctl(0, FIONBIO, &flags)) return 1; ]]) ],[ AC_MSG_RESULT([yes]) tst_compi_ioctl_fionbio="yes" ],[ AC_MSG_RESULT([no]) tst_compi_ioctl_fionbio="no" ]) fi # if test "$tst_compi_ioctl_fionbio" = "yes"; then AC_MSG_CHECKING([if ioctl FIONBIO usage allowed]) if test "x$curl_disallow_ioctl_fionbio" != "xyes"; then AC_MSG_RESULT([yes]) tst_allow_ioctl_fionbio="yes" else AC_MSG_RESULT([no]) tst_allow_ioctl_fionbio="no" fi fi # AC_MSG_CHECKING([if ioctl FIONBIO might be used]) if test "$tst_compi_ioctl_fionbio" = "yes" && test "$tst_allow_ioctl_fionbio" = "yes"; then AC_MSG_RESULT([yes]) AC_DEFINE_UNQUOTED(HAVE_IOCTL_FIONBIO, 1, [Define to 1 if you have a working ioctl FIONBIO function.]) curl_cv_func_ioctl_fionbio="yes" else AC_MSG_RESULT([no]) curl_cv_func_ioctl_fionbio="no" fi ]) m4trace:m4/curl-functions.m4:2949: -1- AC_DEFUN([CURL_CHECK_FUNC_IOCTL_SIOCGIFADDR], [ # tst_compi_ioctl_siocgifaddr="unknown" tst_allow_ioctl_siocgifaddr="unknown" # if test "$curl_cv_func_ioctl" = "yes"; then AC_MSG_CHECKING([if ioctl SIOCGIFADDR is compilable]) AC_COMPILE_IFELSE([ AC_LANG_PROGRAM([[ $curl_includes_stropts #include ]],[[ struct ifreq ifr; if(0 != ioctl(0, SIOCGIFADDR, &ifr)) return 1; ]]) ],[ AC_MSG_RESULT([yes]) tst_compi_ioctl_siocgifaddr="yes" ],[ AC_MSG_RESULT([no]) tst_compi_ioctl_siocgifaddr="no" ]) fi # if test "$tst_compi_ioctl_siocgifaddr" = "yes"; then AC_MSG_CHECKING([if ioctl SIOCGIFADDR usage allowed]) if test "x$curl_disallow_ioctl_siocgifaddr" != "xyes"; then AC_MSG_RESULT([yes]) tst_allow_ioctl_siocgifaddr="yes" else AC_MSG_RESULT([no]) tst_allow_ioctl_siocgifaddr="no" fi fi # AC_MSG_CHECKING([if ioctl SIOCGIFADDR might be used]) if test "$tst_compi_ioctl_siocgifaddr" = "yes" && test "$tst_allow_ioctl_siocgifaddr" = "yes"; then AC_MSG_RESULT([yes]) AC_DEFINE_UNQUOTED(HAVE_IOCTL_SIOCGIFADDR, 1, [Define to 1 if you have a working ioctl SIOCGIFADDR function.]) curl_cv_func_ioctl_siocgifaddr="yes" else AC_MSG_RESULT([no]) curl_cv_func_ioctl_siocgifaddr="no" fi ]) m4trace:m4/curl-functions.m4:3007: -1- AC_DEFUN([CURL_CHECK_FUNC_IOCTLSOCKET], [ AC_REQUIRE([CURL_INCLUDES_WINSOCK2])dnl # tst_links_ioctlsocket="unknown" tst_proto_ioctlsocket="unknown" tst_compi_ioctlsocket="unknown" tst_allow_ioctlsocket="unknown" # AC_MSG_CHECKING([if ioctlsocket can be linked]) AC_LINK_IFELSE([ AC_LANG_PROGRAM([[ $curl_includes_winsock2 ]],[[ if(0 != ioctlsocket(0, 0, 0)) return 1; ]]) ],[ AC_MSG_RESULT([yes]) tst_links_ioctlsocket="yes" ],[ AC_MSG_RESULT([no]) tst_links_ioctlsocket="no" ]) # if test "$tst_links_ioctlsocket" = "yes"; then AC_MSG_CHECKING([if ioctlsocket is prototyped]) AC_EGREP_CPP([ioctlsocket],[ $curl_includes_winsock2 ],[ AC_MSG_RESULT([yes]) tst_proto_ioctlsocket="yes" ],[ AC_MSG_RESULT([no]) tst_proto_ioctlsocket="no" ]) fi # if test "$tst_proto_ioctlsocket" = "yes"; then AC_MSG_CHECKING([if ioctlsocket is compilable]) AC_COMPILE_IFELSE([ AC_LANG_PROGRAM([[ $curl_includes_winsock2 ]],[[ if(0 != ioctlsocket(0, 0, 0)) return 1; ]]) ],[ AC_MSG_RESULT([yes]) tst_compi_ioctlsocket="yes" ],[ AC_MSG_RESULT([no]) tst_compi_ioctlsocket="no" ]) fi # if test "$tst_compi_ioctlsocket" = "yes"; then AC_MSG_CHECKING([if ioctlsocket usage allowed]) if test "x$curl_disallow_ioctlsocket" != "xyes"; then AC_MSG_RESULT([yes]) tst_allow_ioctlsocket="yes" else AC_MSG_RESULT([no]) tst_allow_ioctlsocket="no" fi fi # AC_MSG_CHECKING([if ioctlsocket might be used]) if test "$tst_links_ioctlsocket" = "yes" && test "$tst_proto_ioctlsocket" = "yes" && test "$tst_compi_ioctlsocket" = "yes" && test "$tst_allow_ioctlsocket" = "yes"; then AC_MSG_RESULT([yes]) AC_DEFINE_UNQUOTED(HAVE_IOCTLSOCKET, 1, [Define to 1 if you have the ioctlsocket function.]) curl_cv_func_ioctlsocket="yes" CURL_CHECK_FUNC_IOCTLSOCKET_FIONBIO else AC_MSG_RESULT([no]) curl_cv_func_ioctlsocket="no" fi ]) m4trace:m4/curl-functions.m4:3097: -1- AC_DEFUN([CURL_CHECK_FUNC_IOCTLSOCKET_FIONBIO], [ # tst_compi_ioctlsocket_fionbio="unknown" tst_allow_ioctlsocket_fionbio="unknown" # if test "$curl_cv_func_ioctlsocket" = "yes"; then AC_MSG_CHECKING([if ioctlsocket FIONBIO is compilable]) AC_COMPILE_IFELSE([ AC_LANG_PROGRAM([[ $curl_includes_winsock2 ]],[[ unsigned long flags = 0; if(0 != ioctlsocket(0, FIONBIO, &flags)) return 1; ]]) ],[ AC_MSG_RESULT([yes]) tst_compi_ioctlsocket_fionbio="yes" ],[ AC_MSG_RESULT([no]) tst_compi_ioctlsocket_fionbio="no" ]) fi # if test "$tst_compi_ioctlsocket_fionbio" = "yes"; then AC_MSG_CHECKING([if ioctlsocket FIONBIO usage allowed]) if test "x$curl_disallow_ioctlsocket_fionbio" != "xyes"; then AC_MSG_RESULT([yes]) tst_allow_ioctlsocket_fionbio="yes" else AC_MSG_RESULT([no]) tst_allow_ioctlsocket_fionbio="no" fi fi # AC_MSG_CHECKING([if ioctlsocket FIONBIO might be used]) if test "$tst_compi_ioctlsocket_fionbio" = "yes" && test "$tst_allow_ioctlsocket_fionbio" = "yes"; then AC_MSG_RESULT([yes]) AC_DEFINE_UNQUOTED(HAVE_IOCTLSOCKET_FIONBIO, 1, [Define to 1 if you have a working ioctlsocket FIONBIO function.]) curl_cv_func_ioctlsocket_fionbio="yes" else AC_MSG_RESULT([no]) curl_cv_func_ioctlsocket_fionbio="no" fi ]) m4trace:m4/curl-functions.m4:3154: -1- AC_DEFUN([CURL_CHECK_FUNC_IOCTLSOCKET_CAMEL], [ AC_REQUIRE([CURL_INCLUDES_BSDSOCKET])dnl # tst_links_ioctlsocket_camel="unknown" tst_proto_ioctlsocket_camel="unknown" tst_compi_ioctlsocket_camel="unknown" tst_allow_ioctlsocket_camel="unknown" # AC_MSG_CHECKING([if IoctlSocket can be linked]) AC_LINK_IFELSE([ AC_LANG_PROGRAM([[ $curl_includes_bsdsocket ]],[[ IoctlSocket(0, 0, 0); ]]) ],[ AC_MSG_RESULT([yes]) tst_links_ioctlsocket_camel="yes" ],[ AC_MSG_RESULT([no]) tst_links_ioctlsocket_camel="no" ]) # if test "$tst_links_ioctlsocket_camel" = "yes"; then AC_MSG_CHECKING([if IoctlSocket is prototyped]) AC_EGREP_CPP([IoctlSocket],[ $curl_includes_bsdsocket ],[ AC_MSG_RESULT([yes]) tst_proto_ioctlsocket_camel="yes" ],[ AC_MSG_RESULT([no]) tst_proto_ioctlsocket_camel="no" ]) fi # if test "$tst_proto_ioctlsocket_camel" = "yes"; then AC_MSG_CHECKING([if IoctlSocket is compilable]) AC_COMPILE_IFELSE([ AC_LANG_PROGRAM([[ $curl_includes_bsdsocket ]],[[ if(0 != IoctlSocket(0, 0, 0)) return 1; ]]) ],[ AC_MSG_RESULT([yes]) tst_compi_ioctlsocket_camel="yes" ],[ AC_MSG_RESULT([no]) tst_compi_ioctlsocket_camel="no" ]) fi # if test "$tst_compi_ioctlsocket_camel" = "yes"; then AC_MSG_CHECKING([if IoctlSocket usage allowed]) if test "x$curl_disallow_ioctlsocket_camel" != "xyes"; then AC_MSG_RESULT([yes]) tst_allow_ioctlsocket_camel="yes" else AC_MSG_RESULT([no]) tst_allow_ioctlsocket_camel="no" fi fi # AC_MSG_CHECKING([if IoctlSocket might be used]) if test "$tst_links_ioctlsocket_camel" = "yes" && test "$tst_proto_ioctlsocket_camel" = "yes" && test "$tst_compi_ioctlsocket_camel" = "yes" && test "$tst_allow_ioctlsocket_camel" = "yes"; then AC_MSG_RESULT([yes]) AC_DEFINE_UNQUOTED(HAVE_IOCTLSOCKET_CAMEL, 1, [Define to 1 if you have the IoctlSocket camel case function.]) curl_cv_func_ioctlsocket_camel="yes" CURL_CHECK_FUNC_IOCTLSOCKET_CAMEL_FIONBIO else AC_MSG_RESULT([no]) curl_cv_func_ioctlsocket_camel="no" fi ]) m4trace:m4/curl-functions.m4:3242: -1- AC_DEFUN([CURL_CHECK_FUNC_IOCTLSOCKET_CAMEL_FIONBIO], [ AC_REQUIRE([CURL_INCLUDES_BSDSOCKET])dnl # tst_compi_ioctlsocket_camel_fionbio="unknown" tst_allow_ioctlsocket_camel_fionbio="unknown" # if test "$curl_cv_func_ioctlsocket_camel" = "yes"; then AC_MSG_CHECKING([if IoctlSocket FIONBIO is compilable]) AC_COMPILE_IFELSE([ AC_LANG_PROGRAM([[ $curl_includes_bsdsocket ]],[[ long flags = 0; if(0 != IoctlSocket(0, FIONBIO, &flags)) return 1; ]]) ],[ AC_MSG_RESULT([yes]) tst_compi_ioctlsocket_camel_fionbio="yes" ],[ AC_MSG_RESULT([no]) tst_compi_ioctlsocket_camel_fionbio="no" ]) fi # if test "$tst_compi_ioctlsocket_camel_fionbio" = "yes"; then AC_MSG_CHECKING([if IoctlSocket FIONBIO usage allowed]) if test "x$curl_disallow_ioctlsocket_camel_fionbio" != "xyes"; then AC_MSG_RESULT([yes]) tst_allow_ioctlsocket_camel_fionbio="yes" else AC_MSG_RESULT([no]) tst_allow_ioctlsocket_camel_fionbio="no" fi fi # AC_MSG_CHECKING([if IoctlSocket FIONBIO might be used]) if test "$tst_compi_ioctlsocket_camel_fionbio" = "yes" && test "$tst_allow_ioctlsocket_camel_fionbio" = "yes"; then AC_MSG_RESULT([yes]) AC_DEFINE_UNQUOTED(HAVE_IOCTLSOCKET_CAMEL_FIONBIO, 1, [Define to 1 if you have a working IoctlSocket camel case FIONBIO function.]) curl_cv_func_ioctlsocket_camel_fionbio="yes" else AC_MSG_RESULT([no]) curl_cv_func_ioctlsocket_camel_fionbio="no" fi ]) m4trace:m4/curl-functions.m4:3300: -1- AC_DEFUN([CURL_CHECK_FUNC_MEMRCHR], [ AC_REQUIRE([CURL_INCLUDES_STRING])dnl # tst_links_memrchr="unknown" tst_macro_memrchr="unknown" tst_proto_memrchr="unknown" tst_compi_memrchr="unknown" tst_allow_memrchr="unknown" # AC_MSG_CHECKING([if memrchr can be linked]) AC_LINK_IFELSE([ AC_LANG_FUNC_LINK_TRY([memrchr]) ],[ AC_MSG_RESULT([yes]) tst_links_memrchr="yes" ],[ AC_MSG_RESULT([no]) tst_links_memrchr="no" ]) # if test "$tst_links_memrchr" = "no"; then AC_MSG_CHECKING([if memrchr seems a macro]) AC_LINK_IFELSE([ AC_LANG_PROGRAM([[ $curl_includes_string ]],[[ if(0 != memrchr(0, 0, 0)) return 1; ]]) ],[ AC_MSG_RESULT([yes]) tst_macro_memrchr="yes" ],[ AC_MSG_RESULT([no]) tst_macro_memrchr="no" ]) fi # if test "$tst_links_memrchr" = "yes"; then AC_MSG_CHECKING([if memrchr is prototyped]) AC_EGREP_CPP([memrchr],[ $curl_includes_string ],[ AC_MSG_RESULT([yes]) tst_proto_memrchr="yes" ],[ AC_MSG_RESULT([no]) tst_proto_memrchr="no" ]) fi # if test "$tst_proto_memrchr" = "yes" || test "$tst_macro_memrchr" = "yes"; then AC_MSG_CHECKING([if memrchr is compilable]) AC_COMPILE_IFELSE([ AC_LANG_PROGRAM([[ $curl_includes_string ]],[[ if(0 != memrchr(0, 0, 0)) return 1; ]]) ],[ AC_MSG_RESULT([yes]) tst_compi_memrchr="yes" ],[ AC_MSG_RESULT([no]) tst_compi_memrchr="no" ]) fi # if test "$tst_compi_memrchr" = "yes"; then AC_MSG_CHECKING([if memrchr usage allowed]) if test "x$curl_disallow_memrchr" != "xyes"; then AC_MSG_RESULT([yes]) tst_allow_memrchr="yes" else AC_MSG_RESULT([no]) tst_allow_memrchr="no" fi fi # AC_MSG_CHECKING([if memrchr might be used]) if (test "$tst_proto_memrchr" = "yes" || test "$tst_macro_memrchr" = "yes") && test "$tst_compi_memrchr" = "yes" && test "$tst_allow_memrchr" = "yes"; then AC_MSG_RESULT([yes]) AC_DEFINE_UNQUOTED(HAVE_MEMRCHR, 1, [Define to 1 if you have the memrchr function or macro.]) curl_cv_func_memrchr="yes" else AC_MSG_RESULT([no]) curl_cv_func_memrchr="no" fi ]) m4trace:m4/curl-functions.m4:3402: -1- AC_DEFUN([CURL_CHECK_FUNC_POLL], [ AC_REQUIRE([CURL_INCLUDES_STDLIB])dnl AC_REQUIRE([CURL_INCLUDES_POLL])dnl # tst_links_poll="unknown" tst_proto_poll="unknown" tst_compi_poll="unknown" tst_works_poll="unknown" tst_allow_poll="unknown" # case $host_os in darwin*|interix*) dnl poll() does not work on these platforms dnl Interix: "does provide poll(), but the implementing developer must dnl have been in a bad mood, because poll() only works on the /proc dnl filesystem here" dnl macOS: poll() first didn't exist, then was broken until fixed in 10.9 dnl only to break again in 10.12. curl_disallow_poll="yes" tst_compi_poll="no" ;; esac # AC_MSG_CHECKING([if poll can be linked]) AC_LINK_IFELSE([ AC_LANG_PROGRAM([[ $curl_includes_poll ]],[[ if(0 != poll(0, 0, 0)) return 1; ]]) ],[ AC_MSG_RESULT([yes]) tst_links_poll="yes" ],[ AC_MSG_RESULT([no]) tst_links_poll="no" ]) # if test "$tst_links_poll" = "yes"; then AC_MSG_CHECKING([if poll is prototyped]) AC_EGREP_CPP([poll],[ $curl_includes_poll ],[ AC_MSG_RESULT([yes]) tst_proto_poll="yes" ],[ AC_MSG_RESULT([no]) tst_proto_poll="no" ]) fi # if test "$tst_proto_poll" = "yes"; then AC_MSG_CHECKING([if poll is compilable]) AC_COMPILE_IFELSE([ AC_LANG_PROGRAM([[ $curl_includes_poll ]],[[ if(0 != poll(0, 0, 0)) return 1; ]]) ],[ AC_MSG_RESULT([yes]) tst_compi_poll="yes" ],[ AC_MSG_RESULT([no]) tst_compi_poll="no" ]) fi # dnl only do runtime verification when not cross-compiling if test "$tst_compi_poll" = "yes"; then if test "x$cross_compiling" != "xyes"; then AC_MSG_CHECKING([if poll seems to work]) CURL_RUN_IFELSE([ AC_LANG_PROGRAM([[ $curl_includes_stdlib $curl_includes_poll ]],[[ /* detect the original poll() breakage */ if(0 != poll(0, 0, 10)) { return 1; /* fail */ } ]]) ],[ AC_MSG_RESULT([yes]) tst_works_poll="yes" ],[ AC_MSG_RESULT([no]) tst_works_poll="no" ]) else AC_MSG_CHECKING([if native poll seems to be supported]) AC_COMPILE_IFELSE([ AC_LANG_PROGRAM([[ $curl_includes_stdlib ]],[[ #if defined(_POSIX_C_SOURCE) && _POSIX_C_SOURCE >= 200112L return 0; #else #error force compilation error #endif ]]) ],[ AC_MSG_RESULT([yes]) tst_works_poll="yes" ],[ AC_MSG_RESULT([no]) tst_works_poll="no" ]) fi fi # if test "$tst_compi_poll" = "yes" && test "$tst_works_poll" != "no"; then AC_MSG_CHECKING([if poll usage allowed]) if test "x$curl_disallow_poll" != "xyes"; then AC_MSG_RESULT([yes]) tst_allow_poll="yes" else AC_MSG_RESULT([no]) tst_allow_poll="no" fi fi # AC_MSG_CHECKING([if poll might be used]) if test "$tst_links_poll" = "yes" && test "$tst_proto_poll" = "yes" && test "$tst_compi_poll" = "yes" && test "$tst_allow_poll" = "yes" && test "$tst_works_poll" != "no"; then AC_MSG_RESULT([yes]) AC_DEFINE_UNQUOTED(HAVE_POLL_FINE, 1, [If you have a fine poll]) curl_cv_func_poll="yes" else AC_MSG_RESULT([no]) curl_cv_func_poll="no" fi ]) m4trace:m4/curl-functions.m4:3556: -1- AC_DEFUN([CURL_CHECK_FUNC_SIGACTION], [ AC_REQUIRE([CURL_INCLUDES_SIGNAL])dnl # tst_links_sigaction="unknown" tst_proto_sigaction="unknown" tst_compi_sigaction="unknown" tst_allow_sigaction="unknown" # AC_MSG_CHECKING([if sigaction can be linked]) AC_LINK_IFELSE([ AC_LANG_FUNC_LINK_TRY([sigaction]) ],[ AC_MSG_RESULT([yes]) tst_links_sigaction="yes" ],[ AC_MSG_RESULT([no]) tst_links_sigaction="no" ]) # if test "$tst_links_sigaction" = "yes"; then AC_MSG_CHECKING([if sigaction is prototyped]) AC_EGREP_CPP([sigaction],[ $curl_includes_signal ],[ AC_MSG_RESULT([yes]) tst_proto_sigaction="yes" ],[ AC_MSG_RESULT([no]) tst_proto_sigaction="no" ]) fi # if test "$tst_proto_sigaction" = "yes"; then AC_MSG_CHECKING([if sigaction is compilable]) AC_COMPILE_IFELSE([ AC_LANG_PROGRAM([[ $curl_includes_signal ]],[[ if(0 != sigaction(0, 0, 0)) return 1; ]]) ],[ AC_MSG_RESULT([yes]) tst_compi_sigaction="yes" ],[ AC_MSG_RESULT([no]) tst_compi_sigaction="no" ]) fi # if test "$tst_compi_sigaction" = "yes"; then AC_MSG_CHECKING([if sigaction usage allowed]) if test "x$curl_disallow_sigaction" != "xyes"; then AC_MSG_RESULT([yes]) tst_allow_sigaction="yes" else AC_MSG_RESULT([no]) tst_allow_sigaction="no" fi fi # AC_MSG_CHECKING([if sigaction might be used]) if test "$tst_links_sigaction" = "yes" && test "$tst_proto_sigaction" = "yes" && test "$tst_compi_sigaction" = "yes" && test "$tst_allow_sigaction" = "yes"; then AC_MSG_RESULT([yes]) AC_DEFINE_UNQUOTED(HAVE_SIGACTION, 1, [Define to 1 if you have the sigaction function.]) curl_cv_func_sigaction="yes" else AC_MSG_RESULT([no]) curl_cv_func_sigaction="no" fi ]) m4trace:m4/curl-functions.m4:3641: -1- AC_DEFUN([CURL_CHECK_FUNC_SIGINTERRUPT], [ AC_REQUIRE([CURL_INCLUDES_SIGNAL])dnl # tst_links_siginterrupt="unknown" tst_proto_siginterrupt="unknown" tst_compi_siginterrupt="unknown" tst_allow_siginterrupt="unknown" # AC_MSG_CHECKING([if siginterrupt can be linked]) AC_LINK_IFELSE([ AC_LANG_FUNC_LINK_TRY([siginterrupt]) ],[ AC_MSG_RESULT([yes]) tst_links_siginterrupt="yes" ],[ AC_MSG_RESULT([no]) tst_links_siginterrupt="no" ]) # if test "$tst_links_siginterrupt" = "yes"; then AC_MSG_CHECKING([if siginterrupt is prototyped]) AC_EGREP_CPP([siginterrupt],[ $curl_includes_signal ],[ AC_MSG_RESULT([yes]) tst_proto_siginterrupt="yes" ],[ AC_MSG_RESULT([no]) tst_proto_siginterrupt="no" ]) fi # if test "$tst_proto_siginterrupt" = "yes"; then AC_MSG_CHECKING([if siginterrupt is compilable]) AC_COMPILE_IFELSE([ AC_LANG_PROGRAM([[ $curl_includes_signal ]],[[ if(0 != siginterrupt(0, 0)) return 1; ]]) ],[ AC_MSG_RESULT([yes]) tst_compi_siginterrupt="yes" ],[ AC_MSG_RESULT([no]) tst_compi_siginterrupt="no" ]) fi # if test "$tst_compi_siginterrupt" = "yes"; then AC_MSG_CHECKING([if siginterrupt usage allowed]) if test "x$curl_disallow_siginterrupt" != "xyes"; then AC_MSG_RESULT([yes]) tst_allow_siginterrupt="yes" else AC_MSG_RESULT([no]) tst_allow_siginterrupt="no" fi fi # AC_MSG_CHECKING([if siginterrupt might be used]) if test "$tst_links_siginterrupt" = "yes" && test "$tst_proto_siginterrupt" = "yes" && test "$tst_compi_siginterrupt" = "yes" && test "$tst_allow_siginterrupt" = "yes"; then AC_MSG_RESULT([yes]) AC_DEFINE_UNQUOTED(HAVE_SIGINTERRUPT, 1, [Define to 1 if you have the siginterrupt function.]) curl_cv_func_siginterrupt="yes" else AC_MSG_RESULT([no]) curl_cv_func_siginterrupt="no" fi ]) m4trace:m4/curl-functions.m4:3726: -1- AC_DEFUN([CURL_CHECK_FUNC_SIGNAL], [ AC_REQUIRE([CURL_INCLUDES_SIGNAL])dnl # tst_links_signal="unknown" tst_proto_signal="unknown" tst_compi_signal="unknown" tst_allow_signal="unknown" # AC_MSG_CHECKING([if signal can be linked]) AC_LINK_IFELSE([ AC_LANG_FUNC_LINK_TRY([signal]) ],[ AC_MSG_RESULT([yes]) tst_links_signal="yes" ],[ AC_MSG_RESULT([no]) tst_links_signal="no" ]) # if test "$tst_links_signal" = "yes"; then AC_MSG_CHECKING([if signal is prototyped]) AC_EGREP_CPP([signal],[ $curl_includes_signal ],[ AC_MSG_RESULT([yes]) tst_proto_signal="yes" ],[ AC_MSG_RESULT([no]) tst_proto_signal="no" ]) fi # if test "$tst_proto_signal" = "yes"; then AC_MSG_CHECKING([if signal is compilable]) AC_COMPILE_IFELSE([ AC_LANG_PROGRAM([[ $curl_includes_signal ]],[[ if(0 != signal(0, 0)) return 1; ]]) ],[ AC_MSG_RESULT([yes]) tst_compi_signal="yes" ],[ AC_MSG_RESULT([no]) tst_compi_signal="no" ]) fi # if test "$tst_compi_signal" = "yes"; then AC_MSG_CHECKING([if signal usage allowed]) if test "x$curl_disallow_signal" != "xyes"; then AC_MSG_RESULT([yes]) tst_allow_signal="yes" else AC_MSG_RESULT([no]) tst_allow_signal="no" fi fi # AC_MSG_CHECKING([if signal might be used]) if test "$tst_links_signal" = "yes" && test "$tst_proto_signal" = "yes" && test "$tst_compi_signal" = "yes" && test "$tst_allow_signal" = "yes"; then AC_MSG_RESULT([yes]) AC_DEFINE_UNQUOTED(HAVE_SIGNAL, 1, [Define to 1 if you have the signal function.]) curl_cv_func_signal="yes" else AC_MSG_RESULT([no]) curl_cv_func_signal="no" fi ]) m4trace:m4/curl-functions.m4:3811: -1- AC_DEFUN([CURL_CHECK_FUNC_SIGSETJMP], [ AC_REQUIRE([CURL_INCLUDES_SETJMP])dnl # tst_links_sigsetjmp="unknown" tst_macro_sigsetjmp="unknown" tst_proto_sigsetjmp="unknown" tst_compi_sigsetjmp="unknown" tst_allow_sigsetjmp="unknown" # AC_MSG_CHECKING([if sigsetjmp can be linked]) AC_LINK_IFELSE([ AC_LANG_FUNC_LINK_TRY([sigsetjmp]) ],[ AC_MSG_RESULT([yes]) tst_links_sigsetjmp="yes" ],[ AC_MSG_RESULT([no]) tst_links_sigsetjmp="no" ]) # if test "$tst_links_sigsetjmp" = "no"; then AC_MSG_CHECKING([if sigsetjmp seems a macro]) AC_LINK_IFELSE([ AC_LANG_PROGRAM([[ $curl_includes_setjmp ]],[[ sigjmp_buf env; if(0 != sigsetjmp(env, 0)) return 1; ]]) ],[ AC_MSG_RESULT([yes]) tst_macro_sigsetjmp="yes" ],[ AC_MSG_RESULT([no]) tst_macro_sigsetjmp="no" ]) fi # if test "$tst_links_sigsetjmp" = "yes"; then AC_MSG_CHECKING([if sigsetjmp is prototyped]) AC_EGREP_CPP([sigsetjmp],[ $curl_includes_setjmp ],[ AC_MSG_RESULT([yes]) tst_proto_sigsetjmp="yes" ],[ AC_MSG_RESULT([no]) tst_proto_sigsetjmp="no" ]) fi # if test "$tst_proto_sigsetjmp" = "yes" || test "$tst_macro_sigsetjmp" = "yes"; then AC_MSG_CHECKING([if sigsetjmp is compilable]) AC_COMPILE_IFELSE([ AC_LANG_PROGRAM([[ $curl_includes_setjmp ]],[[ sigjmp_buf env; if(0 != sigsetjmp(env, 0)) return 1; ]]) ],[ AC_MSG_RESULT([yes]) tst_compi_sigsetjmp="yes" ],[ AC_MSG_RESULT([no]) tst_compi_sigsetjmp="no" ]) fi # if test "$tst_compi_sigsetjmp" = "yes"; then AC_MSG_CHECKING([if sigsetjmp usage allowed]) if test "x$curl_disallow_sigsetjmp" != "xyes"; then AC_MSG_RESULT([yes]) tst_allow_sigsetjmp="yes" else AC_MSG_RESULT([no]) tst_allow_sigsetjmp="no" fi fi # AC_MSG_CHECKING([if sigsetjmp might be used]) if (test "$tst_proto_sigsetjmp" = "yes" || test "$tst_macro_sigsetjmp" = "yes") && test "$tst_compi_sigsetjmp" = "yes" && test "$tst_allow_sigsetjmp" = "yes"; then AC_MSG_RESULT([yes]) AC_DEFINE_UNQUOTED(HAVE_SIGSETJMP, 1, [Define to 1 if you have the sigsetjmp function or macro.]) curl_cv_func_sigsetjmp="yes" else AC_MSG_RESULT([no]) curl_cv_func_sigsetjmp="no" fi ]) m4trace:m4/curl-functions.m4:3918: -1- AC_DEFUN([CURL_CHECK_FUNC_SOCKET], [ AC_REQUIRE([CURL_INCLUDES_WINSOCK2])dnl AC_REQUIRE([CURL_INCLUDES_SYS_SOCKET])dnl AC_REQUIRE([CURL_INCLUDES_SOCKET])dnl # tst_links_socket="unknown" tst_proto_socket="unknown" tst_compi_socket="unknown" tst_allow_socket="unknown" # AC_MSG_CHECKING([if socket can be linked]) AC_LINK_IFELSE([ AC_LANG_PROGRAM([[ $curl_includes_winsock2 $curl_includes_bsdsocket $curl_includes_sys_socket $curl_includes_socket ]],[[ if(0 != socket(0, 0, 0)) return 1; ]]) ],[ AC_MSG_RESULT([yes]) tst_links_socket="yes" ],[ AC_MSG_RESULT([no]) tst_links_socket="no" ]) # if test "$tst_links_socket" = "yes"; then AC_MSG_CHECKING([if socket is prototyped]) AC_EGREP_CPP([socket],[ $curl_includes_winsock2 $curl_includes_bsdsocket $curl_includes_sys_socket $curl_includes_socket ],[ AC_MSG_RESULT([yes]) tst_proto_socket="yes" ],[ AC_MSG_RESULT([no]) tst_proto_socket="no" ]) fi # if test "$tst_proto_socket" = "yes"; then AC_MSG_CHECKING([if socket is compilable]) AC_COMPILE_IFELSE([ AC_LANG_PROGRAM([[ $curl_includes_winsock2 $curl_includes_bsdsocket $curl_includes_sys_socket $curl_includes_socket ]],[[ if(0 != socket(0, 0, 0)) return 1; ]]) ],[ AC_MSG_RESULT([yes]) tst_compi_socket="yes" ],[ AC_MSG_RESULT([no]) tst_compi_socket="no" ]) fi # if test "$tst_compi_socket" = "yes"; then AC_MSG_CHECKING([if socket usage allowed]) if test "x$curl_disallow_socket" != "xyes"; then AC_MSG_RESULT([yes]) tst_allow_socket="yes" else AC_MSG_RESULT([no]) tst_allow_socket="no" fi fi # AC_MSG_CHECKING([if socket might be used]) if test "$tst_links_socket" = "yes" && test "$tst_proto_socket" = "yes" && test "$tst_compi_socket" = "yes" && test "$tst_allow_socket" = "yes"; then AC_MSG_RESULT([yes]) AC_DEFINE_UNQUOTED(HAVE_SOCKET, 1, [Define to 1 if you have the socket function.]) curl_cv_func_socket="yes" else AC_MSG_RESULT([no]) curl_cv_func_socket="no" fi ]) m4trace:m4/curl-functions.m4:4019: -1- AC_DEFUN([CURL_CHECK_FUNC_SOCKETPAIR], [ AC_REQUIRE([CURL_INCLUDES_SYS_SOCKET])dnl AC_REQUIRE([CURL_INCLUDES_SOCKET])dnl # tst_links_socketpair="unknown" tst_proto_socketpair="unknown" tst_compi_socketpair="unknown" tst_allow_socketpair="unknown" # AC_MSG_CHECKING([if socketpair can be linked]) AC_LINK_IFELSE([ AC_LANG_FUNC_LINK_TRY([socketpair]) ],[ AC_MSG_RESULT([yes]) tst_links_socketpair="yes" ],[ AC_MSG_RESULT([no]) tst_links_socketpair="no" ]) # if test "$tst_links_socketpair" = "yes"; then AC_MSG_CHECKING([if socketpair is prototyped]) AC_EGREP_CPP([socketpair],[ $curl_includes_sys_socket $curl_includes_socket ],[ AC_MSG_RESULT([yes]) tst_proto_socketpair="yes" ],[ AC_MSG_RESULT([no]) tst_proto_socketpair="no" ]) fi # if test "$tst_proto_socketpair" = "yes"; then AC_MSG_CHECKING([if socketpair is compilable]) AC_COMPILE_IFELSE([ AC_LANG_PROGRAM([[ $curl_includes_sys_socket $curl_includes_socket ]],[[ int sv[2]; if(0 != socketpair(0, 0, 0, sv)) return 1; ]]) ],[ AC_MSG_RESULT([yes]) tst_compi_socketpair="yes" ],[ AC_MSG_RESULT([no]) tst_compi_socketpair="no" ]) fi # if test "$tst_compi_socketpair" = "yes"; then AC_MSG_CHECKING([if socketpair usage allowed]) if test "x$curl_disallow_socketpair" != "xyes"; then AC_MSG_RESULT([yes]) tst_allow_socketpair="yes" else AC_MSG_RESULT([no]) tst_allow_socketpair="no" fi fi # AC_MSG_CHECKING([if socketpair might be used]) if test "$tst_links_socketpair" = "yes" && test "$tst_proto_socketpair" = "yes" && test "$tst_compi_socketpair" = "yes" && test "$tst_allow_socketpair" = "yes"; then AC_MSG_RESULT([yes]) AC_DEFINE_UNQUOTED(HAVE_SOCKETPAIR, 1, [Define to 1 if you have the socketpair function.]) curl_cv_func_socketpair="yes" else AC_MSG_RESULT([no]) curl_cv_func_socketpair="no" fi ]) m4trace:m4/curl-functions.m4:4108: -1- AC_DEFUN([CURL_CHECK_FUNC_STRCASECMP], [ AC_REQUIRE([CURL_INCLUDES_STRING])dnl # tst_links_strcasecmp="unknown" tst_proto_strcasecmp="unknown" tst_compi_strcasecmp="unknown" tst_allow_strcasecmp="unknown" # AC_MSG_CHECKING([if strcasecmp can be linked]) AC_LINK_IFELSE([ AC_LANG_FUNC_LINK_TRY([strcasecmp]) ],[ AC_MSG_RESULT([yes]) tst_links_strcasecmp="yes" ],[ AC_MSG_RESULT([no]) tst_links_strcasecmp="no" ]) # if test "$tst_links_strcasecmp" = "yes"; then AC_MSG_CHECKING([if strcasecmp is prototyped]) AC_EGREP_CPP([strcasecmp],[ $curl_includes_string ],[ AC_MSG_RESULT([yes]) tst_proto_strcasecmp="yes" ],[ AC_MSG_RESULT([no]) tst_proto_strcasecmp="no" ]) fi # if test "$tst_proto_strcasecmp" = "yes"; then AC_MSG_CHECKING([if strcasecmp is compilable]) AC_COMPILE_IFELSE([ AC_LANG_PROGRAM([[ $curl_includes_string ]],[[ if(0 != strcasecmp(0, 0)) return 1; ]]) ],[ AC_MSG_RESULT([yes]) tst_compi_strcasecmp="yes" ],[ AC_MSG_RESULT([no]) tst_compi_strcasecmp="no" ]) fi # if test "$tst_compi_strcasecmp" = "yes"; then AC_MSG_CHECKING([if strcasecmp usage allowed]) if test "x$curl_disallow_strcasecmp" != "xyes"; then AC_MSG_RESULT([yes]) tst_allow_strcasecmp="yes" else AC_MSG_RESULT([no]) tst_allow_strcasecmp="no" fi fi # AC_MSG_CHECKING([if strcasecmp might be used]) if test "$tst_links_strcasecmp" = "yes" && test "$tst_proto_strcasecmp" = "yes" && test "$tst_compi_strcasecmp" = "yes" && test "$tst_allow_strcasecmp" = "yes"; then AC_MSG_RESULT([yes]) AC_DEFINE_UNQUOTED(HAVE_STRCASECMP, 1, [Define to 1 if you have the strcasecmp function.]) curl_cv_func_strcasecmp="yes" else AC_MSG_RESULT([no]) curl_cv_func_strcasecmp="no" fi ]) m4trace:m4/curl-functions.m4:4192: -1- AC_DEFUN([CURL_CHECK_FUNC_STRCMPI], [ AC_REQUIRE([CURL_INCLUDES_STRING])dnl # tst_links_strcmpi="unknown" tst_proto_strcmpi="unknown" tst_compi_strcmpi="unknown" tst_allow_strcmpi="unknown" # AC_MSG_CHECKING([if strcmpi can be linked]) AC_LINK_IFELSE([ AC_LANG_FUNC_LINK_TRY([strcmpi]) ],[ AC_MSG_RESULT([yes]) tst_links_strcmpi="yes" ],[ AC_MSG_RESULT([no]) tst_links_strcmpi="no" ]) # if test "$tst_links_strcmpi" = "yes"; then AC_MSG_CHECKING([if strcmpi is prototyped]) AC_EGREP_CPP([strcmpi],[ $curl_includes_string ],[ AC_MSG_RESULT([yes]) tst_proto_strcmpi="yes" ],[ AC_MSG_RESULT([no]) tst_proto_strcmpi="no" ]) fi # if test "$tst_proto_strcmpi" = "yes"; then AC_MSG_CHECKING([if strcmpi is compilable]) AC_COMPILE_IFELSE([ AC_LANG_PROGRAM([[ $curl_includes_string ]],[[ if(0 != strcmpi(0, 0)) return 1; ]]) ],[ AC_MSG_RESULT([yes]) tst_compi_strcmpi="yes" ],[ AC_MSG_RESULT([no]) tst_compi_strcmpi="no" ]) fi # if test "$tst_compi_strcmpi" = "yes"; then AC_MSG_CHECKING([if strcmpi usage allowed]) if test "x$curl_disallow_strcmpi" != "xyes"; then AC_MSG_RESULT([yes]) tst_allow_strcmpi="yes" else AC_MSG_RESULT([no]) tst_allow_strcmpi="no" fi fi # AC_MSG_CHECKING([if strcmpi might be used]) if test "$tst_links_strcmpi" = "yes" && test "$tst_proto_strcmpi" = "yes" && test "$tst_compi_strcmpi" = "yes" && test "$tst_allow_strcmpi" = "yes"; then AC_MSG_RESULT([yes]) AC_DEFINE_UNQUOTED(HAVE_STRCMPI, 1, [Define to 1 if you have the strcmpi function.]) curl_cv_func_strcmpi="yes" else AC_MSG_RESULT([no]) curl_cv_func_strcmpi="no" fi ]) m4trace:m4/curl-functions.m4:4277: -1- AC_DEFUN([CURL_CHECK_FUNC_STRDUP], [ AC_REQUIRE([CURL_INCLUDES_STRING])dnl # tst_links_strdup="unknown" tst_proto_strdup="unknown" tst_compi_strdup="unknown" tst_allow_strdup="unknown" # AC_MSG_CHECKING([if strdup can be linked]) AC_LINK_IFELSE([ AC_LANG_FUNC_LINK_TRY([strdup]) ],[ AC_MSG_RESULT([yes]) tst_links_strdup="yes" ],[ AC_MSG_RESULT([no]) tst_links_strdup="no" ]) # if test "$tst_links_strdup" = "yes"; then AC_MSG_CHECKING([if strdup is prototyped]) AC_EGREP_CPP([strdup],[ $curl_includes_string ],[ AC_MSG_RESULT([yes]) tst_proto_strdup="yes" ],[ AC_MSG_RESULT([no]) tst_proto_strdup="no" ]) fi # if test "$tst_proto_strdup" = "yes"; then AC_MSG_CHECKING([if strdup is compilable]) AC_COMPILE_IFELSE([ AC_LANG_PROGRAM([[ $curl_includes_string ]],[[ if(0 != strdup(0)) return 1; ]]) ],[ AC_MSG_RESULT([yes]) tst_compi_strdup="yes" ],[ AC_MSG_RESULT([no]) tst_compi_strdup="no" ]) fi # if test "$tst_compi_strdup" = "yes"; then AC_MSG_CHECKING([if strdup usage allowed]) if test "x$curl_disallow_strdup" != "xyes"; then AC_MSG_RESULT([yes]) tst_allow_strdup="yes" else AC_MSG_RESULT([no]) tst_allow_strdup="no" fi fi # AC_MSG_CHECKING([if strdup might be used]) if test "$tst_links_strdup" = "yes" && test "$tst_proto_strdup" = "yes" && test "$tst_compi_strdup" = "yes" && test "$tst_allow_strdup" = "yes"; then AC_MSG_RESULT([yes]) AC_DEFINE_UNQUOTED(HAVE_STRDUP, 1, [Define to 1 if you have the strdup function.]) curl_cv_func_strdup="yes" else AC_MSG_RESULT([no]) curl_cv_func_strdup="no" fi ]) m4trace:m4/curl-functions.m4:4378: -1- AC_DEFUN([CURL_CHECK_FUNC_STRERROR_R], [ AC_REQUIRE([CURL_INCLUDES_STDLIB])dnl AC_REQUIRE([CURL_INCLUDES_STRING])dnl # tst_links_strerror_r="unknown" tst_proto_strerror_r="unknown" tst_compi_strerror_r="unknown" tst_glibc_strerror_r="unknown" tst_posix_strerror_r="unknown" tst_allow_strerror_r="unknown" tst_works_glibc_strerror_r="unknown" tst_works_posix_strerror_r="unknown" tst_glibc_strerror_r_type_arg3="unknown" tst_posix_strerror_r_type_arg3="unknown" # AC_MSG_CHECKING([if strerror_r can be linked]) AC_LINK_IFELSE([ AC_LANG_FUNC_LINK_TRY([strerror_r]) ],[ AC_MSG_RESULT([yes]) tst_links_strerror_r="yes" ],[ AC_MSG_RESULT([no]) tst_links_strerror_r="no" ]) # if test "$tst_links_strerror_r" = "yes"; then AC_MSG_CHECKING([if strerror_r is prototyped]) AC_EGREP_CPP([strerror_r],[ $curl_includes_string ],[ AC_MSG_RESULT([yes]) tst_proto_strerror_r="yes" ],[ AC_MSG_RESULT([no]) tst_proto_strerror_r="no" ]) fi # if test "$tst_proto_strerror_r" = "yes"; then AC_MSG_CHECKING([if strerror_r is compilable]) AC_COMPILE_IFELSE([ AC_LANG_PROGRAM([[ $curl_includes_string ]],[[ if(0 != strerror_r(0, 0, 0)) return 1; ]]) ],[ AC_MSG_RESULT([yes]) tst_compi_strerror_r="yes" ],[ AC_MSG_RESULT([no]) tst_compi_strerror_r="no" ]) fi # if test "$tst_compi_strerror_r" = "yes"; then AC_MSG_CHECKING([if strerror_r is glibc like]) tst_glibc_strerror_r_type_arg3="unknown" for arg3 in 'size_t' 'int' 'unsigned int'; do if test "$tst_glibc_strerror_r_type_arg3" = "unknown"; then AC_COMPILE_IFELSE([ AC_LANG_PROGRAM([[ $curl_includes_string char *strerror_r(int errnum, char *workbuf, $arg3 bufsize); ]],[[ if(0 != strerror_r(0, 0, 0)) return 1; ]]) ],[ tst_glibc_strerror_r_type_arg3="$arg3" ]) fi done case "$tst_glibc_strerror_r_type_arg3" in unknown) AC_MSG_RESULT([no]) tst_glibc_strerror_r="no" ;; *) AC_MSG_RESULT([yes]) tst_glibc_strerror_r="yes" ;; esac fi # dnl only do runtime verification when not cross-compiling if test "x$cross_compiling" != "xyes" && test "$tst_glibc_strerror_r" = "yes"; then AC_MSG_CHECKING([if strerror_r seems to work]) CURL_RUN_IFELSE([ AC_LANG_PROGRAM([[ $curl_includes_stdlib $curl_includes_string # include ]],[[ char buffer[1024]; char *string = 0; buffer[0] = '\0'; string = strerror_r(EACCES, buffer, sizeof(buffer)); if(!string) exit(1); /* fail */ if(!string[0]) exit(1); /* fail */ else exit(0); ]]) ],[ AC_MSG_RESULT([yes]) tst_works_glibc_strerror_r="yes" ],[ AC_MSG_RESULT([no]) tst_works_glibc_strerror_r="no" ]) fi # if test "$tst_compi_strerror_r" = "yes" && test "$tst_works_glibc_strerror_r" != "yes"; then AC_MSG_CHECKING([if strerror_r is POSIX like]) tst_posix_strerror_r_type_arg3="unknown" for arg3 in 'size_t' 'int' 'unsigned int'; do if test "$tst_posix_strerror_r_type_arg3" = "unknown"; then AC_COMPILE_IFELSE([ AC_LANG_PROGRAM([[ $curl_includes_string int strerror_r(int errnum, char *resultbuf, $arg3 bufsize); ]],[[ if(0 != strerror_r(0, 0, 0)) return 1; ]]) ],[ tst_posix_strerror_r_type_arg3="$arg3" ]) fi done case "$tst_posix_strerror_r_type_arg3" in unknown) AC_MSG_RESULT([no]) tst_posix_strerror_r="no" ;; *) AC_MSG_RESULT([yes]) tst_posix_strerror_r="yes" ;; esac fi # dnl only do runtime verification when not cross-compiling if test "x$cross_compiling" != "xyes" && test "$tst_posix_strerror_r" = "yes"; then AC_MSG_CHECKING([if strerror_r seems to work]) CURL_RUN_IFELSE([ AC_LANG_PROGRAM([[ $curl_includes_stdlib $curl_includes_string # include ]],[[ char buffer[1024]; int error = 1; buffer[0] = '\0'; error = strerror_r(EACCES, buffer, sizeof(buffer)); if(error) exit(1); /* fail */ if(buffer[0] == '\0') exit(1); /* fail */ else exit(0); ]]) ],[ AC_MSG_RESULT([yes]) tst_works_posix_strerror_r="yes" ],[ AC_MSG_RESULT([no]) tst_works_posix_strerror_r="no" ]) fi # if test "$tst_works_glibc_strerror_r" = "yes"; then tst_posix_strerror_r="no" fi if test "$tst_works_posix_strerror_r" = "yes"; then tst_glibc_strerror_r="no" fi if test "$tst_glibc_strerror_r" = "yes" && test "$tst_works_glibc_strerror_r" != "no" && test "$tst_posix_strerror_r" != "yes"; then tst_allow_strerror_r="check" fi if test "$tst_posix_strerror_r" = "yes" && test "$tst_works_posix_strerror_r" != "no" && test "$tst_glibc_strerror_r" != "yes"; then tst_allow_strerror_r="check" fi if test "$tst_allow_strerror_r" = "check"; then AC_MSG_CHECKING([if strerror_r usage allowed]) if test "x$curl_disallow_strerror_r" != "xyes"; then AC_MSG_RESULT([yes]) tst_allow_strerror_r="yes" else AC_MSG_RESULT([no]) tst_allow_strerror_r="no" fi fi # AC_MSG_CHECKING([if strerror_r might be used]) if test "$tst_links_strerror_r" = "yes" && test "$tst_proto_strerror_r" = "yes" && test "$tst_compi_strerror_r" = "yes" && test "$tst_allow_strerror_r" = "yes"; then AC_MSG_RESULT([yes]) if test "$tst_glibc_strerror_r" = "yes"; then AC_DEFINE_UNQUOTED(HAVE_STRERROR_R, 1, [Define to 1 if you have the strerror_r function.]) AC_DEFINE_UNQUOTED(HAVE_GLIBC_STRERROR_R, 1, [Define to 1 if you have a working glibc-style strerror_r function.]) fi if test "$tst_posix_strerror_r" = "yes"; then AC_DEFINE_UNQUOTED(HAVE_STRERROR_R, 1, [Define to 1 if you have the strerror_r function.]) AC_DEFINE_UNQUOTED(HAVE_POSIX_STRERROR_R, 1, [Define to 1 if you have a working POSIX-style strerror_r function.]) fi curl_cv_func_strerror_r="yes" else AC_MSG_RESULT([no]) curl_cv_func_strerror_r="no" fi # if test "$tst_compi_strerror_r" = "yes" && test "$tst_allow_strerror_r" = "unknown"; then AC_MSG_WARN([cannot determine strerror_r() style: edit lib/curl_config.h manually.]) fi # ]) m4trace:m4/curl-functions.m4:4623: -1- AC_DEFUN([CURL_CHECK_FUNC_STRICMP], [ AC_REQUIRE([CURL_INCLUDES_STRING])dnl # tst_links_stricmp="unknown" tst_proto_stricmp="unknown" tst_compi_stricmp="unknown" tst_allow_stricmp="unknown" # AC_MSG_CHECKING([if stricmp can be linked]) AC_LINK_IFELSE([ AC_LANG_FUNC_LINK_TRY([stricmp]) ],[ AC_MSG_RESULT([yes]) tst_links_stricmp="yes" ],[ AC_MSG_RESULT([no]) tst_links_stricmp="no" ]) # if test "$tst_links_stricmp" = "yes"; then AC_MSG_CHECKING([if stricmp is prototyped]) AC_EGREP_CPP([stricmp],[ $curl_includes_string ],[ AC_MSG_RESULT([yes]) tst_proto_stricmp="yes" ],[ AC_MSG_RESULT([no]) tst_proto_stricmp="no" ]) fi # if test "$tst_proto_stricmp" = "yes"; then AC_MSG_CHECKING([if stricmp is compilable]) AC_COMPILE_IFELSE([ AC_LANG_PROGRAM([[ $curl_includes_string ]],[[ if(0 != stricmp(0, 0)) return 1; ]]) ],[ AC_MSG_RESULT([yes]) tst_compi_stricmp="yes" ],[ AC_MSG_RESULT([no]) tst_compi_stricmp="no" ]) fi # if test "$tst_compi_stricmp" = "yes"; then AC_MSG_CHECKING([if stricmp usage allowed]) if test "x$curl_disallow_stricmp" != "xyes"; then AC_MSG_RESULT([yes]) tst_allow_stricmp="yes" else AC_MSG_RESULT([no]) tst_allow_stricmp="no" fi fi # AC_MSG_CHECKING([if stricmp might be used]) if test "$tst_links_stricmp" = "yes" && test "$tst_proto_stricmp" = "yes" && test "$tst_compi_stricmp" = "yes" && test "$tst_allow_stricmp" = "yes"; then AC_MSG_RESULT([yes]) AC_DEFINE_UNQUOTED(HAVE_STRICMP, 1, [Define to 1 if you have the stricmp function.]) curl_cv_func_stricmp="yes" else AC_MSG_RESULT([no]) curl_cv_func_stricmp="no" fi ]) m4trace:m4/curl-functions.m4:4708: -1- AC_DEFUN([CURL_CHECK_FUNC_STRTOK_R], [ AC_REQUIRE([CURL_INCLUDES_STRING])dnl # tst_links_strtok_r="unknown" tst_proto_strtok_r="unknown" tst_compi_strtok_r="unknown" tst_allow_strtok_r="unknown" # AC_MSG_CHECKING([if strtok_r can be linked]) AC_LINK_IFELSE([ AC_LANG_FUNC_LINK_TRY([strtok_r]) ],[ AC_MSG_RESULT([yes]) tst_links_strtok_r="yes" ],[ AC_MSG_RESULT([no]) tst_links_strtok_r="no" ]) # if test "$tst_links_strtok_r" = "yes"; then AC_MSG_CHECKING([if strtok_r is prototyped]) AC_EGREP_CPP([strtok_r],[ $curl_includes_string ],[ AC_MSG_RESULT([yes]) tst_proto_strtok_r="yes" ],[ AC_MSG_RESULT([no]) tst_proto_strtok_r="no" ]) fi # if test "$tst_proto_strtok_r" = "yes"; then AC_MSG_CHECKING([if strtok_r is compilable]) AC_COMPILE_IFELSE([ AC_LANG_PROGRAM([[ $curl_includes_string ]],[[ if(0 != strtok_r(0, 0, 0)) return 1; ]]) ],[ AC_MSG_RESULT([yes]) tst_compi_strtok_r="yes" ],[ AC_MSG_RESULT([no]) tst_compi_strtok_r="no" ]) fi # if test "$tst_compi_strtok_r" = "yes"; then AC_MSG_CHECKING([if strtok_r usage allowed]) if test "x$curl_disallow_strtok_r" != "xyes"; then AC_MSG_RESULT([yes]) tst_allow_strtok_r="yes" else AC_MSG_RESULT([no]) tst_allow_strtok_r="no" fi fi # AC_MSG_CHECKING([if strtok_r might be used]) if test "$tst_links_strtok_r" = "yes" && test "$tst_proto_strtok_r" = "yes" && test "$tst_compi_strtok_r" = "yes" && test "$tst_allow_strtok_r" = "yes"; then AC_MSG_RESULT([yes]) AC_DEFINE_UNQUOTED(HAVE_STRTOK_R, 1, [Define to 1 if you have the strtok_r function.]) curl_cv_func_strtok_r="yes" else AC_MSG_RESULT([no]) curl_cv_func_strtok_r="no" fi ]) m4trace:m4/curl-functions.m4:4793: -1- AC_DEFUN([CURL_CHECK_FUNC_STRTOLL], [ AC_REQUIRE([CURL_INCLUDES_STDLIB])dnl # tst_links_strtoll="unknown" tst_proto_strtoll="unknown" tst_compi_strtoll="unknown" tst_allow_strtoll="unknown" # AC_MSG_CHECKING([if strtoll can be linked]) AC_LINK_IFELSE([ AC_LANG_FUNC_LINK_TRY([strtoll]) ],[ AC_MSG_RESULT([yes]) tst_links_strtoll="yes" ],[ AC_MSG_RESULT([no]) tst_links_strtoll="no" ]) # if test "$tst_links_strtoll" = "yes"; then AC_MSG_CHECKING([if strtoll is prototyped]) AC_EGREP_CPP([strtoll],[ $curl_includes_stdlib ],[ AC_MSG_RESULT([yes]) tst_proto_strtoll="yes" ],[ AC_MSG_RESULT([no]) tst_proto_strtoll="no" ]) fi # if test "$tst_proto_strtoll" = "yes"; then AC_MSG_CHECKING([if strtoll is compilable]) AC_COMPILE_IFELSE([ AC_LANG_PROGRAM([[ $curl_includes_stdlib ]],[[ if(0 != strtoll(0, 0, 0)) return 1; ]]) ],[ AC_MSG_RESULT([yes]) tst_compi_strtoll="yes" ],[ AC_MSG_RESULT([no]) tst_compi_strtoll="no" ]) fi # if test "$tst_compi_strtoll" = "yes"; then AC_MSG_CHECKING([if strtoll usage allowed]) if test "x$curl_disallow_strtoll" != "xyes"; then AC_MSG_RESULT([yes]) tst_allow_strtoll="yes" else AC_MSG_RESULT([no]) tst_allow_strtoll="no" fi fi # AC_MSG_CHECKING([if strtoll might be used]) if test "$tst_links_strtoll" = "yes" && test "$tst_proto_strtoll" = "yes" && test "$tst_compi_strtoll" = "yes" && test "$tst_allow_strtoll" = "yes"; then AC_MSG_RESULT([yes]) AC_DEFINE_UNQUOTED(HAVE_STRTOLL, 1, [Define to 1 if you have the strtoll function.]) curl_cv_func_strtoll="yes" else AC_MSG_RESULT([no]) curl_cv_func_strtoll="no" fi ]) m4trace:m4/curl-functions.m4:4876: -1- AC_DEFUN([CURL_RUN_IFELSE], [ case $host_os in darwin*) AC_RUN_IFELSE([AC_LANG_SOURCE([$1])], $2, $3, $4) ;; *) oldcc=$CC old=$LD_LIBRARY_PATH CC="sh ./run-compiler" LD_LIBRARY_PATH=$CURL_LIBRARY_PATH:$old export LD_LIBRARY_PATH AC_RUN_IFELSE([AC_LANG_SOURCE([$1])], $2, $3, $4) LD_LIBRARY_PATH=$old # restore CC=$oldcc ;; esac ]) m4trace:m4/curl-functions.m4:4899: -1- AC_DEFUN([CURL_COVERAGE], [ AC_REQUIRE([AC_PROG_SED]) AC_REQUIRE([AC_ARG_ENABLE]) AC_MSG_CHECKING([for code coverage support]) coverage="no" curl_coverage_msg="disabled" dnl check if enabled by argument AC_ARG_ENABLE(code-coverage, AS_HELP_STRING([--enable-code-coverage], [Provide code coverage]), coverage="$enableval") dnl if not gcc switch off again AS_IF([ test "$GCC" != "yes" ], coverage="no" ) AC_MSG_RESULT($coverage) if test "x$coverage" = "xyes"; then curl_coverage_msg="enabled" AC_CHECK_TOOL([GCOV], [gcov], [gcov]) if test -z "$GCOV"; then AC_MSG_ERROR([needs gcov for code coverage]) fi AC_CHECK_PROG([LCOV], [lcov], [lcov]) if test -z "$LCOV"; then AC_MSG_ERROR([needs lcov for code coverage]) fi CPPFLAGS="$CPPFLAGS -DNDEBUG" CFLAGS="$CFLAGS -O0 -g -fprofile-arcs -ftest-coverage" LIBS="$LIBS -lgcov" fi ]) m4trace:m4/curl-functions.m4:4937: -1- AC_DEFUN([CURL_ATOMIC], [ AC_CHECK_HEADERS(stdatomic.h, [ AC_MSG_CHECKING([if _Atomic is available]) AC_LINK_IFELSE([ AC_LANG_PROGRAM([[ $curl_includes_unistd ]],[[ _Atomic int i = 0; i = 4; // Force an atomic-write operation. ]]) ],[ AC_MSG_RESULT([yes]) AC_DEFINE_UNQUOTED(HAVE_ATOMIC, 1, [Define to 1 if you have _Atomic support.]) tst_atomic="yes" ],[ AC_MSG_RESULT([no]) tst_atomic="no" ]) ]) ]) m4trace:m4/curl-functions.m4:4980: -1- AC_DEFUN([CURL_SIZEOF], [ dnl The #define name to make autoheader put the name in curl_config.h.in define(TYPE, translit(sizeof_$1, [a-z *], [A-Z_P]))dnl AC_MSG_CHECKING(size of $1) r=0 dnl Check the sizes in a reasonable order for typesize in 8 4 2 16 1; do AC_COMPILE_IFELSE([AC_LANG_PROGRAM([[ #include $2 ]], [switch(0) { case 0: case (sizeof($1) == $typesize):; } ]) ], [ r=$typesize], [ r=0]) dnl get out of the loop once matched if test $r -gt 0; then break; fi done if test $r -eq 0; then AC_MSG_ERROR([Failed to find size of $1]) fi AC_MSG_RESULT($r) dnl lowercase and underscore instead of space tname=`echo "ac_cv_sizeof_$1" | tr A-Z a-z | tr " " "_"` eval "$tname=$r" AC_DEFINE_UNQUOTED(TYPE, [$r], [Size of $1 in number of bytes]) ]) m4trace:m4/curl-gnutls.m4:29: -1- AC_DEFUN([CURL_WITH_GNUTLS], [ if test "x$OPT_GNUTLS" != xno; then ssl_msg= if test X"$OPT_GNUTLS" != Xno; then addld="" addlib="" gtlslib="" version="" addcflags="" if test "x$OPT_GNUTLS" = "xyes"; then dnl this is with no particular path given CURL_CHECK_PKGCONFIG(gnutls) if test "$PKGCONFIG" != "no" ; then addlib=`$PKGCONFIG --libs-only-l gnutls` addld=`$PKGCONFIG --libs-only-L gnutls` addcflags=`$PKGCONFIG --cflags-only-I gnutls` version=`$PKGCONFIG --modversion gnutls` gtlslib=`echo $addld | $SED -e 's/^-L//'` else dnl without pkg-config, we try libgnutls-config as that was how it dnl used to be done check=`libgnutls-config --version 2>/dev/null` if test -n "$check"; then addlib=`libgnutls-config --libs` addcflags=`libgnutls-config --cflags` version=`libgnutls-config --version` gtlslib=`libgnutls-config --prefix`/lib$libsuff fi fi else dnl this is with a given path, first check if there's a libgnutls-config dnl there and if not, make an educated guess cfg=$OPT_GNUTLS/bin/libgnutls-config check=`$cfg --version 2>/dev/null` if test -n "$check"; then addlib=`$cfg --libs` addcflags=`$cfg --cflags` version=`$cfg --version` gtlslib=`$cfg --prefix`/lib$libsuff else dnl without pkg-config and libgnutls-config, we guess a lot! addlib=-lgnutls addld=-L$OPT_GNUTLS/lib$libsuff addcflags=-I$OPT_GNUTLS/include version="" # we just don't know gtlslib=$OPT_GNUTLS/lib$libsuff fi fi if test -z "$version"; then dnl lots of efforts, still no go version="unknown" fi if test -n "$addlib"; then CLEANLIBS="$LIBS" CLEANCPPFLAGS="$CPPFLAGS" CLEANLDFLAGS="$LDFLAGS" LIBS="$addlib $LIBS" LDFLAGS="$LDFLAGS $addld" if test "$addcflags" != "-I/usr/include"; then CPPFLAGS="$CPPFLAGS $addcflags" fi dnl this function is selected since it was introduced in 3.1.10 AC_CHECK_LIB(gnutls, gnutls_x509_crt_get_dn2, [ AC_DEFINE(USE_GNUTLS, 1, [if GnuTLS is enabled]) AC_SUBST(USE_GNUTLS, [1]) GNUTLS_ENABLED=1 USE_GNUTLS="yes" ssl_msg="GnuTLS" QUIC_ENABLED=yes test gnutls != "$DEFAULT_SSL_BACKEND" || VALID_DEFAULT_SSL_BACKEND=yes ], [ LIBS="$CLEANLIBS" CPPFLAGS="$CLEANCPPFLAGS" ]) if test "x$USE_GNUTLS" = "xyes"; then AC_MSG_NOTICE([detected GnuTLS version $version]) check_for_ca_bundle=1 if test -n "$gtlslib"; then dnl when shared libs were found in a path that the run-time dnl linker doesn't search through, we need to add it to dnl CURL_LIBRARY_PATH to prevent further configure tests to fail dnl due to this if test "x$cross_compiling" != "xyes"; then CURL_LIBRARY_PATH="$CURL_LIBRARY_PATH:$gtlslib" export CURL_LIBRARY_PATH AC_MSG_NOTICE([Added $gtlslib to CURL_LIBRARY_PATH]) fi fi LIBCURL_PC_REQUIRES_PRIVATE="$LIBCURL_PC_REQUIRES_PRIVATE gnutls nettle" fi fi fi dnl GNUTLS not disabled test -z "$ssl_msg" || ssl_backends="${ssl_backends:+$ssl_backends, }$ssl_msg" fi dnl --- dnl Check which crypto backend GnuTLS uses dnl --- if test "$GNUTLS_ENABLED" = "1"; then USE_GNUTLS_NETTLE= # First check if we can detect either crypto library via transitive linking AC_CHECK_LIB(gnutls, nettle_MD5Init, [ USE_GNUTLS_NETTLE=1 ]) # If not, try linking directly to both of them to see if they are available if test "$USE_GNUTLS_NETTLE" = ""; then AC_CHECK_LIB(nettle, nettle_MD5Init, [ USE_GNUTLS_NETTLE=1 ]) fi if test "$USE_GNUTLS_NETTLE" = ""; then AC_MSG_ERROR([GnuTLS found, but nettle was not found]) fi LIBS="-lnettle $LIBS" fi dnl --- dnl We require GnuTLS with SRP support. dnl --- if test "$GNUTLS_ENABLED" = "1"; then AC_CHECK_LIB(gnutls, gnutls_srp_verifier, [ AC_DEFINE(HAVE_GNUTLS_SRP, 1, [if you have the function gnutls_srp_verifier]) AC_SUBST(HAVE_GNUTLS_SRP, [1]) ]) fi ]) m4trace:m4/curl-mbedtls.m4:28: -1- AC_DEFUN([CURL_WITH_MBEDTLS], [ if test "x$OPT_MBEDTLS" != xno; then _cppflags=$CPPFLAGS _ldflags=$LDFLAGS ssl_msg= if test X"$OPT_MBEDTLS" != Xno; then if test "$OPT_MBEDTLS" = "yes"; then OPT_MBEDTLS="" fi if test -z "$OPT_MBEDTLS" ; then dnl check for lib first without setting any new path AC_CHECK_LIB(mbedtls, mbedtls_havege_init, dnl libmbedtls found, set the variable [ AC_DEFINE(USE_MBEDTLS, 1, [if mbedTLS is enabled]) AC_SUBST(USE_MBEDTLS, [1]) MBEDTLS_ENABLED=1 USE_MBEDTLS="yes" ssl_msg="mbedTLS" test mbedtls != "$DEFAULT_SSL_BACKEND" || VALID_DEFAULT_SSL_BACKEND=yes ], [], -lmbedx509 -lmbedcrypto) fi addld="" addlib="" addcflags="" mbedtlslib="" if test "x$USE_MBEDTLS" != "xyes"; then dnl add the path and test again addld=-L$OPT_MBEDTLS/lib$libsuff addcflags=-I$OPT_MBEDTLS/include mbedtlslib=$OPT_MBEDTLS/lib$libsuff LDFLAGS="$LDFLAGS $addld" if test "$addcflags" != "-I/usr/include"; then CPPFLAGS="$CPPFLAGS $addcflags" fi AC_CHECK_LIB(mbedtls, mbedtls_ssl_init, [ AC_DEFINE(USE_MBEDTLS, 1, [if mbedTLS is enabled]) AC_SUBST(USE_MBEDTLS, [1]) MBEDTLS_ENABLED=1 USE_MBEDTLS="yes" ssl_msg="mbedTLS" test mbedtls != "$DEFAULT_SSL_BACKEND" || VALID_DEFAULT_SSL_BACKEND=yes ], [ CPPFLAGS=$_cppflags LDFLAGS=$_ldflags ], -lmbedx509 -lmbedcrypto) fi if test "x$USE_MBEDTLS" = "xyes"; then AC_MSG_NOTICE([detected mbedTLS]) check_for_ca_bundle=1 LIBS="-lmbedtls -lmbedx509 -lmbedcrypto $LIBS" if test -n "$mbedtlslib"; then dnl when shared libs were found in a path that the run-time dnl linker doesn't search through, we need to add it to dnl CURL_LIBRARY_PATH to prevent further configure tests to fail dnl due to this if test "x$cross_compiling" != "xyes"; then CURL_LIBRARY_PATH="$CURL_LIBRARY_PATH:$mbedtlslib" export CURL_LIBRARY_PATH AC_MSG_NOTICE([Added $mbedtlslib to CURL_LIBRARY_PATH]) fi fi LIBCURL_PC_REQUIRES_PRIVATE="$LIBCURL_PC_REQUIRES_PRIVATE mbedtls" fi fi dnl mbedTLS not disabled test -z "$ssl_msg" || ssl_backends="${ssl_backends:+$ssl_backends, }$ssl_msg" fi ]) m4trace:m4/curl-openssl.m4:32: -1- AC_DEFUN([CURL_WITH_OPENSSL], [ if test "x$OPT_OPENSSL" != xno; then ssl_msg= dnl backup the pre-ssl variables CLEANLDFLAGS="$LDFLAGS" CLEANCPPFLAGS="$CPPFLAGS" CLEANLIBS="$LIBS" dnl This is for MSYS/MinGW case $host in *-*-msys* | *-*-mingw*) AC_MSG_CHECKING([for gdi32]) my_ac_save_LIBS=$LIBS LIBS="-lgdi32 $LIBS" AC_LINK_IFELSE([ AC_LANG_PROGRAM([[ #include #include ]], [[ GdiFlush(); ]])], [ dnl worked! AC_MSG_RESULT([yes])], [ dnl failed, restore LIBS LIBS=$my_ac_save_LIBS AC_MSG_RESULT(no)] ) ;; esac case "$OPT_OPENSSL" in yes) dnl --with-openssl (without path) used PKGTEST="yes" PREFIX_OPENSSL= ;; *) dnl check the given --with-openssl spot PKGTEST="no" PREFIX_OPENSSL=$OPT_OPENSSL dnl Try pkg-config even when cross-compiling. Since we dnl specify PKG_CONFIG_LIBDIR we're only looking where dnl the user told us to look OPENSSL_PCDIR="$OPT_OPENSSL/lib/pkgconfig" if test -f "$OPENSSL_PCDIR/openssl.pc"; then AC_MSG_NOTICE([PKG_CONFIG_LIBDIR will be set to "$OPENSSL_PCDIR"]) PKGTEST="yes" fi if test "$PKGTEST" != "yes"; then # try lib64 instead OPENSSL_PCDIR="$OPT_OPENSSL/lib64/pkgconfig" if test -f "$OPENSSL_PCDIR/openssl.pc"; then AC_MSG_NOTICE([PKG_CONFIG_LIBDIR will be set to "$OPENSSL_PCDIR"]) PKGTEST="yes" fi fi if test "$PKGTEST" != "yes"; then if test ! -f "$PREFIX_OPENSSL/include/openssl/ssl.h"; then AC_MSG_ERROR([$PREFIX_OPENSSL is a bad --with-openssl prefix!]) fi fi dnl in case pkg-config comes up empty, use what we got dnl via --with-openssl LIB_OPENSSL="$PREFIX_OPENSSL/lib$libsuff" if test "$PREFIX_OPENSSL" != "/usr" ; then SSL_LDFLAGS="-L$LIB_OPENSSL" SSL_CPPFLAGS="-I$PREFIX_OPENSSL/include" fi ;; esac if test "$PKGTEST" = "yes"; then CURL_CHECK_PKGCONFIG(openssl, [$OPENSSL_PCDIR]) if test "$PKGCONFIG" != "no" ; then SSL_LIBS=`CURL_EXPORT_PCDIR([$OPENSSL_PCDIR]) dnl $PKGCONFIG --libs-only-l --libs-only-other openssl 2>/dev/null` SSL_LDFLAGS=`CURL_EXPORT_PCDIR([$OPENSSL_PCDIR]) dnl $PKGCONFIG --libs-only-L openssl 2>/dev/null` SSL_CPPFLAGS=`CURL_EXPORT_PCDIR([$OPENSSL_PCDIR]) dnl $PKGCONFIG --cflags-only-I openssl 2>/dev/null` AC_SUBST(SSL_LIBS) AC_MSG_NOTICE([pkg-config: SSL_LIBS: "$SSL_LIBS"]) AC_MSG_NOTICE([pkg-config: SSL_LDFLAGS: "$SSL_LDFLAGS"]) AC_MSG_NOTICE([pkg-config: SSL_CPPFLAGS: "$SSL_CPPFLAGS"]) LIB_OPENSSL=`echo $SSL_LDFLAGS | sed -e 's/^-L//'` dnl use the values pkg-config reported. This is here dnl instead of below with CPPFLAGS and LDFLAGS because we only dnl learn about this via pkg-config. If we only have dnl the argument to --with-openssl we don't know what dnl additional libs may be necessary. Hope that we dnl don't need any. LIBS="$SSL_LIBS $LIBS" fi fi dnl finally, set flags to use SSL CPPFLAGS="$CPPFLAGS $SSL_CPPFLAGS" LDFLAGS="$LDFLAGS $SSL_LDFLAGS" AC_CHECK_LIB(crypto, HMAC_Update,[ HAVECRYPTO="yes" LIBS="-lcrypto $LIBS" ],[ if test -n "$LIB_OPENSSL" ; then LDFLAGS="$CLEANLDFLAGS -L$LIB_OPENSSL" fi if test "$PKGCONFIG" = "no" -a -n "$PREFIX_OPENSSL" ; then # only set this if pkg-config wasn't used CPPFLAGS="$CLEANCPPFLAGS -I$PREFIX_OPENSSL/include" fi # Linking previously failed, try extra paths from --with-openssl or # pkg-config. Use a different function name to avoid reusing the earlier # cached result. AC_CHECK_LIB(crypto, HMAC_Init_ex,[ HAVECRYPTO="yes" LIBS="-lcrypto $LIBS"], [ dnl still no, but what about with -ldl? AC_MSG_CHECKING([OpenSSL linking with -ldl]) LIBS="-lcrypto $CLEANLIBS -ldl" AC_LINK_IFELSE([ AC_LANG_PROGRAM([[ #include ]], [[ ERR_clear_error(); ]]) ], [ AC_MSG_RESULT(yes) HAVECRYPTO="yes" ], [ AC_MSG_RESULT(no) dnl ok, so what about both -ldl and -lpthread? dnl This may be necessary for static libraries. AC_MSG_CHECKING([OpenSSL linking with -ldl and -lpthread]) LIBS="-lcrypto $CLEANLIBS -ldl -lpthread" AC_LINK_IFELSE([ AC_LANG_PROGRAM([[ #include ]], [[ ERR_clear_error(); ]])], [ AC_MSG_RESULT(yes) HAVECRYPTO="yes" ], [ AC_MSG_RESULT(no) LDFLAGS="$CLEANLDFLAGS" CPPFLAGS="$CLEANCPPFLAGS" LIBS="$CLEANLIBS" ]) ]) ]) ]) if test X"$HAVECRYPTO" = X"yes"; then dnl This is only reasonable to do if crypto actually is there: check for dnl SSL libs NOTE: it is important to do this AFTER the crypto lib AC_CHECK_LIB(ssl, SSL_connect) if test "$ac_cv_lib_ssl_SSL_connect" != yes; then dnl we didn't find the SSL lib, try the RSAglue/rsaref stuff AC_MSG_CHECKING(for ssl with RSAglue/rsaref libs in use); OLIBS=$LIBS LIBS="-lRSAglue -lrsaref $LIBS" AC_CHECK_LIB(ssl, SSL_connect) if test "$ac_cv_lib_ssl_SSL_connect" != yes; then dnl still no SSL_connect AC_MSG_RESULT(no) LIBS=$OLIBS else AC_MSG_RESULT(yes) fi else dnl Have the libraries--check for OpenSSL headers AC_CHECK_HEADERS(openssl/x509.h openssl/rsa.h openssl/crypto.h \ openssl/pem.h openssl/ssl.h openssl/err.h, ssl_msg="OpenSSL" test openssl != "$DEFAULT_SSL_BACKEND" || VALID_DEFAULT_SSL_BACKEND=yes OPENSSL_ENABLED=1 AC_DEFINE(USE_OPENSSL, 1, [if OpenSSL is in use])) if test $ac_cv_header_openssl_x509_h = no; then dnl we don't use the "action" part of the AC_CHECK_HEADERS macro dnl since 'err.h' might in fact find a krb4 header with the same dnl name AC_CHECK_HEADERS(x509.h rsa.h crypto.h pem.h ssl.h err.h) if test $ac_cv_header_x509_h = yes && test $ac_cv_header_crypto_h = yes && test $ac_cv_header_ssl_h = yes; then dnl three matches ssl_msg="OpenSSL" OPENSSL_ENABLED=1 fi fi fi if test X"$OPENSSL_ENABLED" != X"1"; then LIBS="$CLEANLIBS" fi if test X"$OPT_OPENSSL" != Xoff && test "$OPENSSL_ENABLED" != "1"; then AC_MSG_ERROR([OpenSSL libs and/or directories were not found where specified!]) fi fi if test X"$OPENSSL_ENABLED" = X"1"; then dnl These can only exist if OpenSSL exists AC_MSG_CHECKING([for BoringSSL]) AC_COMPILE_IFELSE([ AC_LANG_PROGRAM([[ #include ]],[[ #ifndef OPENSSL_IS_BORINGSSL #error not boringssl #endif ]]) ],[ AC_MSG_RESULT([yes]) ssl_msg="BoringSSL" OPENSSL_IS_BORINGSSL=1 ],[ AC_MSG_RESULT([no]) ]) AC_MSG_CHECKING([for AWS-LC]) AC_COMPILE_IFELSE([ AC_LANG_PROGRAM([[ #include ]],[[ #ifndef OPENSSL_IS_AWSLC #error not AWS-LC #endif ]]) ],[ AC_MSG_RESULT([yes]) ssl_msg="AWS-LC" OPENSSL_IS_BORINGSSL=1 ],[ AC_MSG_RESULT([no]) ]) AC_MSG_CHECKING([for LibreSSL]) AC_COMPILE_IFELSE([ AC_LANG_PROGRAM([[ #include ]],[[ int dummy = LIBRESSL_VERSION_NUMBER; ]]) ],[ AC_MSG_RESULT([yes]) AC_DEFINE_UNQUOTED(HAVE_LIBRESSL, 1, [Define to 1 if using LibreSSL.]) ssl_msg="LibreSSL" ],[ AC_MSG_RESULT([no]) ]) AC_MSG_CHECKING([for OpenSSL >= v3]) AC_COMPILE_IFELSE([ AC_LANG_PROGRAM([[ #include ]],[[ #if (OPENSSL_VERSION_NUMBER >= 0x30000000L) return 0; #else #error older than 3 #endif ]]) ],[ AC_MSG_RESULT([yes]) ssl_msg="OpenSSL v3+" ],[ AC_MSG_RESULT([no]) ]) fi dnl is this OpenSSL (fork) providing the original QUIC API? AC_CHECK_FUNCS([SSL_set_quic_use_legacy_codepoint], [QUIC_ENABLED=yes]) if test "$QUIC_ENABLED" = "yes"; then AC_MSG_NOTICE([OpenSSL fork speaks QUIC API]) else AC_MSG_NOTICE([OpenSSL version does not speak QUIC API]) fi if test "$OPENSSL_ENABLED" = "1"; then if test -n "$LIB_OPENSSL"; then dnl when the ssl shared libs were found in a path that the run-time dnl linker doesn't search through, we need to add it to CURL_LIBRARY_PATH dnl to prevent further configure tests to fail due to this if test "x$cross_compiling" != "xyes"; then CURL_LIBRARY_PATH="$CURL_LIBRARY_PATH:$LIB_OPENSSL" export CURL_LIBRARY_PATH AC_MSG_NOTICE([Added $LIB_OPENSSL to CURL_LIBRARY_PATH]) fi fi check_for_ca_bundle=1 LIBCURL_PC_REQUIRES_PRIVATE="$LIBCURL_PC_REQUIRES_PRIVATE openssl" fi test -z "$ssl_msg" || ssl_backends="${ssl_backends:+$ssl_backends, }$ssl_msg" fi if test X"$OPT_OPENSSL" != Xno && test "$OPENSSL_ENABLED" != "1"; then AC_MSG_NOTICE([OPT_OPENSSL: $OPT_OPENSSL]) AC_MSG_NOTICE([OPENSSL_ENABLED: $OPENSSL_ENABLED]) AC_MSG_ERROR([--with-openssl was given but OpenSSL could not be detected]) fi dnl --- dnl We require OpenSSL with SRP support. dnl --- if test "$OPENSSL_ENABLED" = "1"; then AC_MSG_CHECKING([for SRP support in OpenSSL]) AC_LINK_IFELSE([ AC_LANG_PROGRAM([[ #include ]],[[ SSL_CTX_set_srp_username(NULL, ""); SSL_CTX_set_srp_password(NULL, ""); ]]) ],[ AC_MSG_RESULT([yes]) AC_DEFINE(HAVE_OPENSSL_SRP, 1, [if you have the functions SSL_CTX_set_srp_username and SSL_CTX_set_srp_password]) AC_SUBST(HAVE_OPENSSL_SRP, [1]) ],[ AC_MSG_RESULT([no]) ]) fi dnl --- dnl Whether the OpenSSL configuration will be loaded automatically dnl --- if test X"$OPENSSL_ENABLED" = X"1"; then AC_ARG_ENABLE(openssl-auto-load-config, AS_HELP_STRING([--enable-openssl-auto-load-config],[Enable automatic loading of OpenSSL configuration]) AS_HELP_STRING([--disable-openssl-auto-load-config],[Disable automatic loading of OpenSSL configuration]), [ if test X"$enableval" = X"no"; then AC_MSG_NOTICE([automatic loading of OpenSSL configuration disabled]) AC_DEFINE(CURL_DISABLE_OPENSSL_AUTO_LOAD_CONFIG, 1, [if the OpenSSL configuration won't be loaded automatically]) fi ]) fi dnl --- dnl We may use OpenSSL QUIC. dnl --- if test "$OPENSSL_ENABLED" = "1"; then AC_MSG_CHECKING([for QUIC support and OpenSSL >= 3.3]) AC_LINK_IFELSE([ AC_LANG_PROGRAM([[ #include ]],[[ #if (OPENSSL_VERSION_NUMBER < 0x30300000L) #error need at least version 3.3.0 #endif OSSL_QUIC_client_method(); ]]) ],[ AC_MSG_RESULT([yes]) have_openssl_quic=1 ],[ AC_MSG_RESULT([no]) ]) fi ]) m4trace:m4/curl-override.m4:37: -1- AC_DEFUN([CURL_OVERRIDE_AUTOCONF], [ AC_BEFORE([$0],[AC_PROG_LIBTOOL]) # using curl-override.m4 ]) m4trace:m4/curl-reentrant.m4:40: -1- AC_DEFUN([CURL_CHECK_NEED_REENTRANT_ERRNO], [ AC_COMPILE_IFELSE([ AC_LANG_PROGRAM([[ #include ]],[[ if(0 != errno) return 1; ]]) ],[ tmp_errno="yes" ],[ tmp_errno="no" ]) if test "$tmp_errno" = "yes"; then AC_COMPILE_IFELSE([ AC_LANG_PROGRAM([[ #include ]],[[ #ifdef errno int dummy=1; #else #error force compilation error #endif ]]) ],[ tmp_errno="errno_macro_defined" ],[ AC_COMPILE_IFELSE([ AC_LANG_PROGRAM([[ #define _REENTRANT #include ]],[[ #ifdef errno int dummy=1; #else #error force compilation error #endif ]]) ],[ tmp_errno="errno_macro_needs_reentrant" tmp_need_reentrant="yes" ]) ]) fi ]) m4trace:m4/curl-reentrant.m4:92: -1- AC_DEFUN([CURL_CHECK_NEED_REENTRANT_GMTIME_R], [ AC_LINK_IFELSE([ AC_LANG_FUNC_LINK_TRY([gmtime_r]) ],[ tmp_gmtime_r="yes" ],[ tmp_gmtime_r="no" ]) if test "$tmp_gmtime_r" = "yes"; then AC_EGREP_CPP([gmtime_r],[ #include #include ],[ tmp_gmtime_r="proto_declared" ],[ AC_EGREP_CPP([gmtime_r],[ #define _REENTRANT #include #include ],[ tmp_gmtime_r="proto_needs_reentrant" tmp_need_reentrant="yes" ]) ]) fi ]) m4trace:m4/curl-reentrant.m4:125: -1- AC_DEFUN([CURL_CHECK_NEED_REENTRANT_LOCALTIME_R], [ AC_LINK_IFELSE([ AC_LANG_FUNC_LINK_TRY([localtime_r]) ],[ tmp_localtime_r="yes" ],[ tmp_localtime_r="no" ]) if test "$tmp_localtime_r" = "yes"; then AC_EGREP_CPP([localtime_r],[ #include #include ],[ tmp_localtime_r="proto_declared" ],[ AC_EGREP_CPP([localtime_r],[ #define _REENTRANT #include #include ],[ tmp_localtime_r="proto_needs_reentrant" tmp_need_reentrant="yes" ]) ]) fi ]) m4trace:m4/curl-reentrant.m4:158: -1- AC_DEFUN([CURL_CHECK_NEED_REENTRANT_STRERROR_R], [ AC_LINK_IFELSE([ AC_LANG_FUNC_LINK_TRY([strerror_r]) ],[ tmp_strerror_r="yes" ],[ tmp_strerror_r="no" ]) if test "$tmp_strerror_r" = "yes"; then AC_EGREP_CPP([strerror_r],[ #include #include ],[ tmp_strerror_r="proto_declared" ],[ AC_EGREP_CPP([strerror_r],[ #define _REENTRANT #include #include ],[ tmp_strerror_r="proto_needs_reentrant" tmp_need_reentrant="yes" ]) ]) fi ]) m4trace:m4/curl-reentrant.m4:191: -1- AC_DEFUN([CURL_CHECK_NEED_REENTRANT_STRTOK_R], [ AC_LINK_IFELSE([ AC_LANG_FUNC_LINK_TRY([strtok_r]) ],[ tmp_strtok_r="yes" ],[ tmp_strtok_r="no" ]) if test "$tmp_strtok_r" = "yes"; then AC_EGREP_CPP([strtok_r],[ #include #include ],[ tmp_strtok_r="proto_declared" ],[ AC_EGREP_CPP([strtok_r],[ #define _REENTRANT #include #include ],[ tmp_strtok_r="proto_needs_reentrant" tmp_need_reentrant="yes" ]) ]) fi ]) m4trace:m4/curl-reentrant.m4:224: -1- AC_DEFUN([CURL_CHECK_NEED_REENTRANT_GETHOSTBYNAME_R], [ AC_LINK_IFELSE([ AC_LANG_FUNC_LINK_TRY([gethostbyname_r]) ],[ tmp_gethostbyname_r="yes" ],[ tmp_gethostbyname_r="no" ]) if test "$tmp_gethostbyname_r" = "yes"; then AC_EGREP_CPP([gethostbyname_r],[ #include #include ],[ tmp_gethostbyname_r="proto_declared" ],[ AC_EGREP_CPP([gethostbyname_r],[ #define _REENTRANT #include #include ],[ tmp_gethostbyname_r="proto_needs_reentrant" tmp_need_reentrant="yes" ]) ]) fi ]) m4trace:m4/curl-reentrant.m4:257: -1- AC_DEFUN([CURL_CHECK_NEED_REENTRANT_GETPROTOBYNAME_R], [ AC_LINK_IFELSE([ AC_LANG_FUNC_LINK_TRY([getprotobyname_r]) ],[ tmp_getprotobyname_r="yes" ],[ tmp_getprotobyname_r="no" ]) if test "$tmp_getprotobyname_r" = "yes"; then AC_EGREP_CPP([getprotobyname_r],[ #include #include ],[ tmp_getprotobyname_r="proto_declared" ],[ AC_EGREP_CPP([getprotobyname_r],[ #define _REENTRANT #include #include ],[ tmp_getprotobyname_r="proto_needs_reentrant" tmp_need_reentrant="yes" ]) ]) fi ]) m4trace:m4/curl-reentrant.m4:291: -1- AC_DEFUN([CURL_CHECK_NEED_REENTRANT_FUNCTIONS_R], [ if test "$tmp_need_reentrant" = "no"; then CURL_CHECK_NEED_REENTRANT_GMTIME_R fi if test "$tmp_need_reentrant" = "no"; then CURL_CHECK_NEED_REENTRANT_LOCALTIME_R fi if test "$tmp_need_reentrant" = "no"; then CURL_CHECK_NEED_REENTRANT_STRERROR_R fi if test "$tmp_need_reentrant" = "no"; then CURL_CHECK_NEED_REENTRANT_STRTOK_R fi if test "$tmp_need_reentrant" = "no"; then CURL_CHECK_NEED_REENTRANT_GETHOSTBYNAME_R fi if test "$tmp_need_reentrant" = "no"; then CURL_CHECK_NEED_REENTRANT_GETPROTOBYNAME_R fi ]) m4trace:m4/curl-reentrant.m4:319: -1- AC_DEFUN([CURL_CHECK_NEED_REENTRANT_SYSTEM], [ case $host_os in solaris*) tmp_need_reentrant="yes" ;; *) tmp_need_reentrant="no" ;; esac ]) m4trace:m4/curl-reentrant.m4:337: -1- AC_DEFUN([CURL_CHECK_NEED_THREAD_SAFE_SYSTEM], [ case $host_os in aix[[123]].* | aix4.[[012]].*) dnl aix 4.2 and older tmp_need_thread_safe="no" ;; aix*) dnl AIX 4.3 and newer tmp_need_thread_safe="yes" ;; *) tmp_need_thread_safe="no" ;; esac ]) m4trace:m4/curl-reentrant.m4:363: -1- AC_DEFUN([CURL_CONFIGURE_FROM_NOW_ON_WITH_REENTRANT], [ AC_DEFINE(NEED_REENTRANT, 1, [Define to 1 if _REENTRANT preprocessor symbol must be defined.]) cat >>confdefs.h <<_EOF #ifndef _REENTRANT # define _REENTRANT #endif _EOF ]) m4trace:m4/curl-reentrant.m4:383: -1- AC_DEFUN([CURL_CONFIGURE_FROM_NOW_ON_WITH_THREAD_SAFE], [ AC_DEFINE(NEED_THREAD_SAFE, 1, [Define to 1 if _THREAD_SAFE preprocessor symbol must be defined.]) cat >>confdefs.h <<_EOF #ifndef _THREAD_SAFE # define _THREAD_SAFE #endif _EOF ]) m4trace:m4/curl-reentrant.m4:406: -1- AC_DEFUN([CURL_CONFIGURE_REENTRANT], [ AC_PREREQ([2.50])dnl # AC_MSG_CHECKING([if _REENTRANT is already defined]) AC_COMPILE_IFELSE([ AC_LANG_PROGRAM([[ ]],[[ #ifdef _REENTRANT int dummy=1; #else #error force compilation error #endif ]]) ],[ AC_MSG_RESULT([yes]) tmp_reentrant_initially_defined="yes" ],[ AC_MSG_RESULT([no]) tmp_reentrant_initially_defined="no" ]) # if test "$tmp_reentrant_initially_defined" = "no"; then AC_MSG_CHECKING([if _REENTRANT is actually needed]) CURL_CHECK_NEED_REENTRANT_SYSTEM if test "$tmp_need_reentrant" = "no"; then CURL_CHECK_NEED_REENTRANT_ERRNO fi if test "$tmp_need_reentrant" = "no"; then CURL_CHECK_NEED_REENTRANT_FUNCTIONS_R fi if test "$tmp_need_reentrant" = "yes"; then AC_MSG_RESULT([yes]) else AC_MSG_RESULT([no]) fi fi # AC_MSG_CHECKING([if _REENTRANT is onwards defined]) if test "$tmp_reentrant_initially_defined" = "yes" || test "$tmp_need_reentrant" = "yes"; then CURL_CONFIGURE_FROM_NOW_ON_WITH_REENTRANT AC_MSG_RESULT([yes]) else AC_MSG_RESULT([no]) fi # ]) m4trace:m4/curl-reentrant.m4:466: -1- AC_DEFUN([CURL_CONFIGURE_THREAD_SAFE], [ AC_PREREQ([2.50])dnl # AC_MSG_CHECKING([if _THREAD_SAFE is already defined]) AC_COMPILE_IFELSE([ AC_LANG_PROGRAM([[ ]],[[ #ifdef _THREAD_SAFE int dummy=1; #else #error force compilation error #endif ]]) ],[ AC_MSG_RESULT([yes]) tmp_thread_safe_initially_defined="yes" ],[ AC_MSG_RESULT([no]) tmp_thread_safe_initially_defined="no" ]) # if test "$tmp_thread_safe_initially_defined" = "no"; then AC_MSG_CHECKING([if _THREAD_SAFE is actually needed]) CURL_CHECK_NEED_THREAD_SAFE_SYSTEM if test "$tmp_need_thread_safe" = "yes"; then AC_MSG_RESULT([yes]) else AC_MSG_RESULT([no]) fi fi # AC_MSG_CHECKING([if _THREAD_SAFE is onwards defined]) if test "$tmp_thread_safe_initially_defined" = "yes" || test "$tmp_need_thread_safe" = "yes"; then CURL_CONFIGURE_FROM_NOW_ON_WITH_THREAD_SAFE AC_MSG_RESULT([yes]) else AC_MSG_RESULT([no]) fi # ]) m4trace:m4/curl-rustls.m4:25: -1- AC_DEFUN([CURL_WITH_RUSTLS], [ dnl ---------------------------------------------------- dnl check for Rustls dnl ---------------------------------------------------- if test "x$OPT_RUSTLS" != xno; then ssl_msg= dnl backup the pre-ssl variables CLEANLDFLAGS="$LDFLAGS" CLEANCPPFLAGS="$CPPFLAGS" case $host_os in darwin*) LDFLAGS="$LDFLAGS -framework Security" ;; *) ;; esac ## NEW CODE dnl use pkg-config unless we have been given a path dnl even then, try pkg-config first case "$OPT_RUSTLS" in yes) dnl --with-rustls (without path) used PKGTEST="yes" PREFIX_RUSTLS= ;; *) dnl check the provided --with-rustls path PKGTEST="no" PREFIX_RUSTLS=$OPT_RUSTLS dnl Try pkg-config even when cross-compiling. Since we dnl specify PKG_CONFIG_LIBDIR we are only looking where dnl the user told us to look RUSTLS_PCDIR="$PREFIX_RUSTLS/lib/pkgconfig" if test -f "$RUSTLS_PCDIR/rustls.pc"; then AC_MSG_NOTICE([PKG_CONFIG_LIBDIR will be set to "$RUSTLS_PCDIR"]) PKGTEST="yes" fi if test "$PKGTEST" != "yes"; then # try lib64 instead RUSTLS_PCDIR="$PREFIX_RUSTLS/lib64/pkgconfig" if test -f "$RUSTLS_PCDIR/rustls.pc"; then AC_MSG_NOTICE([PKG_CONFIG_LIBDIR will be set to "$RUSTLS_PCDIR"]) PKGTEST="yes" fi fi if test "$PKGTEST" != "yes"; then dnl pkg-config came up empty, use what we got dnl via --with-rustls addld=-L$PREFIX_RUSTLS/lib$libsuff addcflags=-I$PREFIX_RUSTLS/include LDFLAGS="$LDFLAGS $addld" if test "$addcflags" != "-I/usr/include"; then CPPFLAGS="$CPPFLAGS $addcflags" fi AC_CHECK_LIB(rustls, rustls_connection_read, [ AC_DEFINE(USE_RUSTLS, 1, [if Rustls is enabled]) AC_SUBST(USE_RUSTLS, [1]) RUSTLS_ENABLED=1 USE_RUSTLS="yes" ssl_msg="rustls" test rustls != "$DEFAULT_SSL_BACKEND" || VALID_DEFAULT_SSL_BACKEND=yes ], AC_MSG_ERROR([--with-rustls was specified but could not find Rustls.]), -lpthread -ldl -lm) LIB_RUSTLS="$PREFIX_RUSTLS/lib$libsuff" if test "$PREFIX_RUSTLS" != "/usr" ; then SSL_LDFLAGS="-L$LIB_RUSTLS" SSL_CPPFLAGS="-I$PREFIX_RUSTLS/include" fi fi ;; esac if test "$PKGTEST" = "yes"; then CURL_CHECK_PKGCONFIG(rustls, [$RUSTLS_PCDIR]) if test "$PKGCONFIG" != "no" ; then SSL_LIBS=`CURL_EXPORT_PCDIR([$RUSTLS_PCDIR]) dnl $PKGCONFIG --libs-only-l --libs-only-other rustls 2>/dev/null` SSL_LDFLAGS=`CURL_EXPORT_PCDIR([$RUSTLS_PCDIR]) dnl $PKGCONFIG --libs-only-L rustls 2>/dev/null` SSL_CPPFLAGS=`CURL_EXPORT_PCDIR([$RUSTLS_PCDIR]) dnl $PKGCONFIG --cflags-only-I rustls 2>/dev/null` AC_SUBST(SSL_LIBS) AC_MSG_NOTICE([pkg-config: SSL_LIBS: "$SSL_LIBS"]) AC_MSG_NOTICE([pkg-config: SSL_LDFLAGS: "$SSL_LDFLAGS"]) AC_MSG_NOTICE([pkg-config: SSL_CPPFLAGS: "$SSL_CPPFLAGS"]) LIB_RUSTLS=`echo $SSL_LDFLAGS | sed -e 's/^-L//'` dnl use the values pkg-config reported. This is here dnl instead of below with CPPFLAGS and LDFLAGS because we only dnl learn about this via pkg-config. If we only have dnl the argument to --with-rustls we don't know what dnl additional libs may be necessary. Hope that we dnl don't need any. LIBS="$SSL_LIBS $LIBS" ssl_msg="rustls" AC_DEFINE(USE_RUSTLS, 1, [if Rustls is enabled]) AC_SUBST(USE_RUSTLS, [1]) USE_RUSTLS="yes" RUSTLS_ENABLED=1 test rustls != "$DEFAULT_SSL_BACKEND" || VALID_DEFAULT_SSL_BACKEND=yes else AC_MSG_ERROR([pkg-config: Could not find Rustls]) fi else dnl we did not use pkg-config, so we need to add the dnl Rustls lib to LIBS LIBS="-lrustls -lpthread -ldl -lm $LIBS" fi dnl finally, set flags to use this TLS backend CPPFLAGS="$CLEAN_CPPFLAGS $SSL_CPPFLAGS" LDFLAGS="$CLAN_LDFLAGS $SSL_LDFLAGS" if test "x$USE_RUSTLS" = "xyes"; then AC_MSG_NOTICE([detected Rustls]) check_for_ca_bundle=1 if test -n "$LIB_RUSTLS"; then dnl when shared libs were found in a path that the run-time dnl linker does not search through, we need to add it to dnl CURL_LIBRARY_PATH so that further configure tests do not dnl fail due to this if test "x$cross_compiling" != "xyes"; then CURL_LIBRARY_PATH="$CURL_LIBRARY_PATH:$LIB_RUSTLS" export CURL_LIBRARY_PATH AC_MSG_NOTICE([Added $LIB_RUSTLS to CURL_LIBRARY_PATH]) fi fi LIBCURL_PC_REQUIRES_PRIVATE="$LIBCURL_PC_REQUIRES_PRIVATE rustls" fi test -z "$ssl_msg" || ssl_backends="${ssl_backends:+$ssl_backends, }$ssl_msg" if test X"$OPT_RUSTLS" != Xno && test "$RUSTLS_ENABLED" != "1"; then AC_MSG_NOTICE([OPT_RUSTLS: $OPT_RUSTLS]) AC_MSG_NOTICE([RUSTLS_ENABLED: $RUSTLS_ENABLED]) AC_MSG_ERROR([--with-rustls was given but Rustls could not be detected]) fi fi ]) m4trace:m4/curl-schannel.m4:25: -1- AC_DEFUN([CURL_WITH_SCHANNEL], [ AC_MSG_CHECKING([whether to enable Windows native SSL/TLS]) if test "x$OPT_SCHANNEL" != xno; then ssl_msg= if test "x$OPT_SCHANNEL" != "xno" && test "x$curl_cv_native_windows" = "xyes"; then AC_MSG_RESULT(yes) AC_DEFINE(USE_SCHANNEL, 1, [to enable Windows native SSL/TLS support]) AC_SUBST(USE_SCHANNEL, [1]) ssl_msg="Schannel" test schannel != "$DEFAULT_SSL_BACKEND" || VALID_DEFAULT_SSL_BACKEND=yes SCHANNEL_ENABLED=1 # --with-schannel implies --enable-sspi AC_DEFINE(USE_WINDOWS_SSPI, 1, [to enable SSPI support]) AC_SUBST(USE_WINDOWS_SSPI, [1]) curl_sspi_msg="enabled" else AC_MSG_RESULT(no) fi test -z "$ssl_msg" || ssl_backends="${ssl_backends:+$ssl_backends, }$ssl_msg" else AC_MSG_RESULT(no) fi ]) m4trace:m4/curl-sectransp.m4:25: -1- AC_DEFUN([CURL_WITH_SECURETRANSPORT], [ AC_MSG_CHECKING([whether to enable Secure Transport]) if test "x$OPT_SECURETRANSPORT" != xno; then if test "x$OPT_SECURETRANSPORT" != "xno" && (test "x$cross_compiling" != "xno" || test -d "/System/Library/Frameworks/Security.framework"); then AC_MSG_RESULT(yes) AC_DEFINE(USE_SECTRANSP, 1, [enable Secure Transport]) AC_SUBST(USE_SECTRANSP, [1]) ssl_msg="Secure Transport" test secure-transport != "$DEFAULT_SSL_BACKEND" || VALID_DEFAULT_SSL_BACKEND=yes SECURETRANSPORT_ENABLED=1 LDFLAGS="$LDFLAGS -framework CoreFoundation -framework CoreServices -framework Security" else AC_MSG_RESULT(no) fi test -z "$ssl_msg" || ssl_backends="${ssl_backends:+$ssl_backends, }$ssl_msg" else AC_MSG_RESULT(no) fi ]) m4trace:m4/curl-sysconfig.m4:25: -1- AC_DEFUN([CURL_DARWIN_SYSTEMCONFIGURATION], [ AC_MSG_CHECKING([whether to link macOS CoreFoundation, CoreServices, and SystemConfiguration frameworks]) case $host_os in darwin*) AC_COMPILE_IFELSE([ AC_LANG_PROGRAM([[ #include #include ]],[[ #if TARGET_OS_MAC && !(defined(TARGET_OS_IPHONE) && TARGET_OS_IPHONE) return 0; #else #error Not macOS #endif ]]) ],[ build_for_macos="yes" ],[ build_for_macos="no" ]) if test "x$build_for_macos" != xno; then AC_MSG_RESULT(yes) LDFLAGS="$LDFLAGS -framework CoreFoundation -framework CoreServices -framework SystemConfiguration" else AC_MSG_RESULT(no) fi ;; *) AC_MSG_RESULT(no) esac ]) m4trace:m4/curl-wolfssl.m4:25: -1- AC_DEFUN([CURL_WITH_WOLFSSL], [ dnl ---------------------------------------------------- dnl check for wolfSSL dnl ---------------------------------------------------- case "$OPT_WOLFSSL" in yes|no) wolfpkg="" ;; *) wolfpkg="$withval/lib/pkgconfig" ;; esac if test "x$OPT_WOLFSSL" != xno; then _cppflags=$CPPFLAGS _ldflags=$LDFLAGS ssl_msg= if test X"$OPT_WOLFSSL" != Xno; then if test "$OPT_WOLFSSL" = "yes"; then OPT_WOLFSSL="" fi dnl try pkg-config magic CURL_CHECK_PKGCONFIG(wolfssl, [$wolfpkg]) AC_MSG_NOTICE([Check dir $wolfpkg]) addld="" addlib="" addcflags="" if test "$PKGCONFIG" != "no" ; then addlib=`CURL_EXPORT_PCDIR([$wolfpkg]) $PKGCONFIG --libs-only-l wolfssl` addld=`CURL_EXPORT_PCDIR([$wolfpkg]) $PKGCONFIG --libs-only-L wolfssl` addcflags=`CURL_EXPORT_PCDIR([$wolfpkg]) $PKGCONFIG --cflags-only-I wolfssl` version=`CURL_EXPORT_PCDIR([$wolfpkg]) $PKGCONFIG --modversion wolfssl` wolfssllibpath=`echo $addld | $SED -e 's/^-L//'` else addlib=-lwolfssl dnl use system defaults if user does not supply a path if test -n "$OPT_WOLFSSL"; then addld=-L$OPT_WOLFSSL/lib$libsuff addcflags=-I$OPT_WOLFSSL/include wolfssllibpath=$OPT_WOLFSSL/lib$libsuff fi fi if test "x$USE_WOLFSSL" != "xyes"; then LDFLAGS="$LDFLAGS $addld" AC_MSG_NOTICE([Add $addld to LDFLAGS]) if test "$addcflags" != "-I/usr/include"; then CPPFLAGS="$CPPFLAGS $addcflags" AC_MSG_NOTICE([Add $addcflags to CPPFLAGS]) fi my_ac_save_LIBS="$LIBS" LIBS="$addlib $LIBS" AC_MSG_NOTICE([Add $addlib to LIBS]) AC_MSG_CHECKING([for wolfSSL_Init in -lwolfssl]) AC_LINK_IFELSE([ AC_LANG_PROGRAM([[ /* These are not needed for detection and confuse wolfSSL. They are set up properly later if it is detected. */ #undef SIZEOF_LONG #undef SIZEOF_LONG_LONG #include #include ]],[[ return wolfSSL_Init(); ]]) ],[ AC_MSG_RESULT(yes) AC_DEFINE(USE_WOLFSSL, 1, [if wolfSSL is enabled]) AC_SUBST(USE_WOLFSSL, [1]) WOLFSSL_ENABLED=1 USE_WOLFSSL="yes" ssl_msg="wolfSSL" QUIC_ENABLED=yes test wolfssl != "$DEFAULT_SSL_BACKEND" || VALID_DEFAULT_SSL_BACKEND=yes ], [ AC_MSG_RESULT(no) CPPFLAGS=$_cppflags LDFLAGS=$_ldflags wolfssllibpath="" ]) LIBS="$my_ac_save_LIBS" fi if test "x$USE_WOLFSSL" = "xyes"; then AC_MSG_NOTICE([detected wolfSSL]) check_for_ca_bundle=1 dnl wolfssl/ctaocrypt/types.h needs SIZEOF_LONG_LONG defined! CURL_SIZEOF(long long) LIBS="$addlib -lm $LIBS" dnl wolfSSL needs configure --enable-opensslextra to have *get_peer* dnl DES* is needed for NTLM support and lives in the OpenSSL compatibility dnl layer AC_CHECK_FUNCS(wolfSSL_get_peer_certificate \ wolfSSL_UseALPN ) dnl if this symbol is present, we want the include path to include the dnl OpenSSL API root as well AC_CHECK_FUNC(wolfSSL_DES_ecb_encrypt, [ AC_DEFINE(HAVE_WOLFSSL_DES_ECB_ENCRYPT, 1, [if you have wolfSSL_DES_ecb_encrypt]) WOLFSSL_NTLM=1 ] ) dnl if this symbol is present, we can make use of BIO filter chains AC_CHECK_FUNC(wolfSSL_BIO_set_shutdown, [ AC_DEFINE(HAVE_WOLFSSL_FULL_BIO, 1, [if you have wolfSSL_BIO_set_shutdown]) WOLFSSL_FULL_BIO=1 ] ) if test -n "$wolfssllibpath"; then dnl when shared libs were found in a path that the run-time dnl linker doesn't search through, we need to add it to dnl CURL_LIBRARY_PATH to prevent further configure tests to fail dnl due to this if test "x$cross_compiling" != "xyes"; then CURL_LIBRARY_PATH="$CURL_LIBRARY_PATH:$wolfssllibpath" export CURL_LIBRARY_PATH AC_MSG_NOTICE([Added $wolfssllibpath to CURL_LIBRARY_PATH]) fi fi LIBCURL_PC_REQUIRES_PRIVATE="$LIBCURL_PC_REQUIRES_PRIVATE wolfssl" else AC_MSG_ERROR([--with-wolfssl but wolfSSL was not found or doesn't work]) fi fi dnl wolfSSL not disabled test -z "$ssl_msg" || ssl_backends="${ssl_backends:+$ssl_backends, }$ssl_msg" fi ]) m4trace:m4/libtool.m4:62: -1- AC_DEFUN([LT_INIT], [AC_PREREQ([2.62])dnl We use AC_PATH_PROGS_FEATURE_CHECK AC_REQUIRE([AC_CONFIG_AUX_DIR_DEFAULT])dnl AC_BEFORE([$0], [LT_LANG])dnl AC_BEFORE([$0], [LT_OUTPUT])dnl AC_BEFORE([$0], [LTDL_INIT])dnl m4_require([_LT_CHECK_BUILDDIR])dnl dnl Autoconf doesn't catch unexpanded LT_ macros by default: m4_pattern_forbid([^_?LT_[A-Z_]+$])dnl m4_pattern_allow([^(_LT_EOF|LT_DLGLOBAL|LT_DLLAZY_OR_NOW|LT_MULTI_MODULE)$])dnl dnl aclocal doesn't pull ltoptions.m4, ltsugar.m4, or ltversion.m4 dnl unless we require an AC_DEFUNed macro: AC_REQUIRE([LTOPTIONS_VERSION])dnl AC_REQUIRE([LTSUGAR_VERSION])dnl AC_REQUIRE([LTVERSION_VERSION])dnl AC_REQUIRE([LTOBSOLETE_VERSION])dnl m4_require([_LT_PROG_LTMAIN])dnl _LT_SHELL_INIT([SHELL=${CONFIG_SHELL-/bin/sh}]) dnl Parse OPTIONS _LT_SET_OPTIONS([$0], [$1]) # This can be used to rebuild libtool when needed LIBTOOL_DEPS=$ltmain # Always use our own libtool. LIBTOOL='$(SHELL) $(top_builddir)/libtool' AC_SUBST(LIBTOOL)dnl _LT_SETUP # Only expand once: m4_define([LT_INIT]) ]) m4trace:m4/libtool.m4:100: -1- AU_DEFUN([AC_PROG_LIBTOOL], [m4_if($#, 0, [LT_INIT], [LT_INIT($@)])], [], []) m4trace:m4/libtool.m4:100: -1- AC_DEFUN([AC_PROG_LIBTOOL], [m4_warn([obsolete], [The macro `AC_PROG_LIBTOOL' is obsolete. You should run autoupdate.])dnl m4_if($#, 0, [LT_INIT], [LT_INIT($@)])]) m4trace:m4/libtool.m4:101: -1- AU_DEFUN([AM_PROG_LIBTOOL], [m4_if($#, 0, [LT_INIT], [LT_INIT($@)])], [], []) m4trace:m4/libtool.m4:101: -1- AC_DEFUN([AM_PROG_LIBTOOL], [m4_warn([obsolete], [The macro `AM_PROG_LIBTOOL' is obsolete. You should run autoupdate.])dnl m4_if($#, 0, [LT_INIT], [LT_INIT($@)])]) m4trace:m4/libtool.m4:621: -1- AC_DEFUN([LT_OUTPUT], [: ${CONFIG_LT=./config.lt} AC_MSG_NOTICE([creating $CONFIG_LT]) _LT_GENERATED_FILE_INIT(["$CONFIG_LT"], [# Run this file to recreate a libtool stub with the current configuration.]) cat >>"$CONFIG_LT" <<\_LTEOF lt_cl_silent=false exec AS_MESSAGE_LOG_FD>>config.log { echo AS_BOX([Running $as_me.]) } >&AS_MESSAGE_LOG_FD lt_cl_help="\ '$as_me' creates a local libtool stub from the current configuration, for use in further configure time tests before the real libtool is generated. Usage: $[0] [[OPTIONS]] -h, --help print this help, then exit -V, --version print version number, then exit -q, --quiet do not print progress messages -d, --debug don't remove temporary files Report bugs to ." lt_cl_version="\ m4_ifset([AC_PACKAGE_NAME], [AC_PACKAGE_NAME ])config.lt[]dnl m4_ifset([AC_PACKAGE_VERSION], [ AC_PACKAGE_VERSION]) configured by $[0], generated by m4_PACKAGE_STRING. Copyright (C) 2011 Free Software Foundation, Inc. This config.lt script is free software; the Free Software Foundation gives unlimited permision to copy, distribute and modify it." while test 0 != $[#] do case $[1] in --version | --v* | -V ) echo "$lt_cl_version"; exit 0 ;; --help | --h* | -h ) echo "$lt_cl_help"; exit 0 ;; --debug | --d* | -d ) debug=: ;; --quiet | --q* | --silent | --s* | -q ) lt_cl_silent=: ;; -*) AC_MSG_ERROR([unrecognized option: $[1] Try '$[0] --help' for more information.]) ;; *) AC_MSG_ERROR([unrecognized argument: $[1] Try '$[0] --help' for more information.]) ;; esac shift done if $lt_cl_silent; then exec AS_MESSAGE_FD>/dev/null fi _LTEOF cat >>"$CONFIG_LT" <<_LTEOF _LT_OUTPUT_LIBTOOL_COMMANDS_INIT _LTEOF cat >>"$CONFIG_LT" <<\_LTEOF AC_MSG_NOTICE([creating $ofile]) _LT_OUTPUT_LIBTOOL_COMMANDS AS_EXIT(0) _LTEOF chmod +x "$CONFIG_LT" # configure is writing to config.log, but config.lt does its own redirection, # appending to config.log, which fails on DOS, as config.log is still kept # open by configure. Here we exec the FD to /dev/null, effectively closing # config.log, so it can be properly (re)opened and appended to by config.lt. lt_cl_success=: test yes = "$silent" && lt_config_lt_args="$lt_config_lt_args --quiet" exec AS_MESSAGE_LOG_FD>/dev/null $SHELL "$CONFIG_LT" $lt_config_lt_args || lt_cl_success=false exec AS_MESSAGE_LOG_FD>>config.log $lt_cl_success || AS_EXIT(1) ]) m4trace:m4/libtool.m4:814: -1- AC_DEFUN([LT_SUPPORTED_TAG], []) m4trace:m4/libtool.m4:825: -1- AC_DEFUN([LT_LANG], [AC_BEFORE([$0], [LT_OUTPUT])dnl m4_case([$1], [C], [_LT_LANG(C)], [C++], [_LT_LANG(CXX)], [Go], [_LT_LANG(GO)], [Java], [_LT_LANG(GCJ)], [Fortran 77], [_LT_LANG(F77)], [Fortran], [_LT_LANG(FC)], [Windows Resource], [_LT_LANG(RC)], [m4_ifdef([_LT_LANG_]$1[_CONFIG], [_LT_LANG($1)], [m4_fatal([$0: unsupported language: "$1"])])])dnl ]) m4trace:m4/libtool.m4:917: -1- AU_DEFUN([AC_LIBTOOL_CXX], [LT_LANG(C++)]) m4trace:m4/libtool.m4:917: -1- AC_DEFUN([AC_LIBTOOL_CXX], [m4_warn([obsolete], [The macro `AC_LIBTOOL_CXX' is obsolete. You should run autoupdate.])dnl LT_LANG(C++)]) m4trace:m4/libtool.m4:918: -1- AU_DEFUN([AC_LIBTOOL_F77], [LT_LANG(Fortran 77)]) m4trace:m4/libtool.m4:918: -1- AC_DEFUN([AC_LIBTOOL_F77], [m4_warn([obsolete], [The macro `AC_LIBTOOL_F77' is obsolete. You should run autoupdate.])dnl LT_LANG(Fortran 77)]) m4trace:m4/libtool.m4:919: -1- AU_DEFUN([AC_LIBTOOL_FC], [LT_LANG(Fortran)]) m4trace:m4/libtool.m4:919: -1- AC_DEFUN([AC_LIBTOOL_FC], [m4_warn([obsolete], [The macro `AC_LIBTOOL_FC' is obsolete. You should run autoupdate.])dnl LT_LANG(Fortran)]) m4trace:m4/libtool.m4:920: -1- AU_DEFUN([AC_LIBTOOL_GCJ], [LT_LANG(Java)]) m4trace:m4/libtool.m4:920: -1- AC_DEFUN([AC_LIBTOOL_GCJ], [m4_warn([obsolete], [The macro `AC_LIBTOOL_GCJ' is obsolete. You should run autoupdate.])dnl LT_LANG(Java)]) m4trace:m4/libtool.m4:921: -1- AU_DEFUN([AC_LIBTOOL_RC], [LT_LANG(Windows Resource)]) m4trace:m4/libtool.m4:921: -1- AC_DEFUN([AC_LIBTOOL_RC], [m4_warn([obsolete], [The macro `AC_LIBTOOL_RC' is obsolete. You should run autoupdate.])dnl LT_LANG(Windows Resource)]) m4trace:m4/libtool.m4:1244: -1- AC_DEFUN([_LT_WITH_SYSROOT], [m4_require([_LT_DECL_SED])dnl AC_MSG_CHECKING([for sysroot]) AC_ARG_WITH([sysroot], [AS_HELP_STRING([--with-sysroot@<:@=DIR@:>@], [Search for dependent libraries within DIR (or the compiler's sysroot if not specified).])], [], [with_sysroot=no]) dnl lt_sysroot will always be passed unquoted. We quote it here dnl in case the user passed a directory name. lt_sysroot= case $with_sysroot in #( yes) if test yes = "$GCC"; then lt_sysroot=`$CC --print-sysroot 2>/dev/null` fi ;; #( /*) lt_sysroot=`echo "$with_sysroot" | $SED -e "$sed_quote_subst"` ;; #( no|'') ;; #( *) AC_MSG_RESULT([$with_sysroot]) AC_MSG_ERROR([The sysroot must be an absolute path.]) ;; esac AC_MSG_RESULT([${lt_sysroot:-no}]) _LT_DECL([], [lt_sysroot], [0], [The root where to search for ]dnl [dependent libraries, and where our libraries should be installed.])]) m4trace:m4/libtool.m4:1589: -1- AC_DEFUN([_LT_COMPILER_OPTION], [m4_require([_LT_FILEUTILS_DEFAULTS])dnl m4_require([_LT_DECL_SED])dnl AC_CACHE_CHECK([$1], [$2], [$2=no m4_if([$4], , [ac_outfile=conftest.$ac_objext], [ac_outfile=$4]) echo "$lt_simple_compile_test_code" > conftest.$ac_ext lt_compiler_flag="$3" ## exclude from sc_useless_quotes_in_assignment # Insert the option either (1) after the last *FLAGS variable, or # (2) before a word containing "conftest.", or (3) at the end. # Note that $ac_compile itself does not contain backslashes and begins # with a dollar sign (not a hyphen), so the echo should work correctly. # The option is referenced via a variable to avoid confusing sed. lt_compile=`echo "$ac_compile" | $SED \ -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \ -e 's: [[^ ]]*conftest\.: $lt_compiler_flag&:; t' \ -e 's:$: $lt_compiler_flag:'` (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&AS_MESSAGE_LOG_FD) (eval "$lt_compile" 2>conftest.err) ac_status=$? cat conftest.err >&AS_MESSAGE_LOG_FD echo "$as_me:$LINENO: \$? = $ac_status" >&AS_MESSAGE_LOG_FD if (exit $ac_status) && test -s "$ac_outfile"; then # The compiler can only warn and ignore the option if not recognized # So say no if there are warnings other than the usual output. $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2 if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then $2=yes fi fi $RM conftest* ]) if test yes = "[$]$2"; then m4_if([$5], , :, [$5]) else m4_if([$6], , :, [$6]) fi ]) m4trace:m4/libtool.m4:1631: -1- AU_DEFUN([AC_LIBTOOL_COMPILER_OPTION], [m4_if($#, 0, [_LT_COMPILER_OPTION], [_LT_COMPILER_OPTION($@)])], [], []) m4trace:m4/libtool.m4:1631: -1- AC_DEFUN([AC_LIBTOOL_COMPILER_OPTION], [m4_warn([obsolete], [The macro `AC_LIBTOOL_COMPILER_OPTION' is obsolete. You should run autoupdate.])dnl m4_if($#, 0, [_LT_COMPILER_OPTION], [_LT_COMPILER_OPTION($@)])]) m4trace:m4/libtool.m4:1640: -1- AC_DEFUN([_LT_LINKER_OPTION], [m4_require([_LT_FILEUTILS_DEFAULTS])dnl m4_require([_LT_DECL_SED])dnl AC_CACHE_CHECK([$1], [$2], [$2=no save_LDFLAGS=$LDFLAGS LDFLAGS="$LDFLAGS $3" echo "$lt_simple_link_test_code" > conftest.$ac_ext if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then # The linker can only warn and ignore the option if not recognized # So say no if there are warnings if test -s conftest.err; then # Append any errors to the config.log. cat conftest.err 1>&AS_MESSAGE_LOG_FD $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2 if diff conftest.exp conftest.er2 >/dev/null; then $2=yes fi else $2=yes fi fi $RM -r conftest* LDFLAGS=$save_LDFLAGS ]) if test yes = "[$]$2"; then m4_if([$4], , :, [$4]) else m4_if([$5], , :, [$5]) fi ]) m4trace:m4/libtool.m4:1675: -1- AU_DEFUN([AC_LIBTOOL_LINKER_OPTION], [m4_if($#, 0, [_LT_LINKER_OPTION], [_LT_LINKER_OPTION($@)])], [], []) m4trace:m4/libtool.m4:1675: -1- AC_DEFUN([AC_LIBTOOL_LINKER_OPTION], [m4_warn([obsolete], [The macro `AC_LIBTOOL_LINKER_OPTION' is obsolete. You should run autoupdate.])dnl m4_if($#, 0, [_LT_LINKER_OPTION], [_LT_LINKER_OPTION($@)])]) m4trace:m4/libtool.m4:1682: -1- AC_DEFUN([LT_CMD_MAX_LEN], [AC_REQUIRE([AC_CANONICAL_HOST])dnl # find the maximum length of command line arguments AC_MSG_CHECKING([the maximum length of command line arguments]) AC_CACHE_VAL([lt_cv_sys_max_cmd_len], [dnl i=0 teststring=ABCD case $build_os in msdosdjgpp*) # On DJGPP, this test can blow up pretty badly due to problems in libc # (any single argument exceeding 2000 bytes causes a buffer overrun # during glob expansion). Even if it were fixed, the result of this # check would be larger than it should be. lt_cv_sys_max_cmd_len=12288; # 12K is about right ;; gnu*) # Under GNU Hurd, this test is not required because there is # no limit to the length of command line arguments. # Libtool will interpret -1 as no limit whatsoever lt_cv_sys_max_cmd_len=-1; ;; cygwin* | mingw* | cegcc*) # On Win9x/ME, this test blows up -- it succeeds, but takes # about 5 minutes as the teststring grows exponentially. # Worse, since 9x/ME are not pre-emptively multitasking, # you end up with a "frozen" computer, even though with patience # the test eventually succeeds (with a max line length of 256k). # Instead, let's just punt: use the minimum linelength reported by # all of the supported platforms: 8192 (on NT/2K/XP). lt_cv_sys_max_cmd_len=8192; ;; mint*) # On MiNT this can take a long time and run out of memory. lt_cv_sys_max_cmd_len=8192; ;; amigaos*) # On AmigaOS with pdksh, this test takes hours, literally. # So we just punt and use a minimum line length of 8192. lt_cv_sys_max_cmd_len=8192; ;; bitrig* | darwin* | dragonfly* | freebsd* | midnightbsd* | netbsd* | openbsd*) # This has been around since 386BSD, at least. Likely further. if test -x /sbin/sysctl; then lt_cv_sys_max_cmd_len=`/sbin/sysctl -n kern.argmax` elif test -x /usr/sbin/sysctl; then lt_cv_sys_max_cmd_len=`/usr/sbin/sysctl -n kern.argmax` else lt_cv_sys_max_cmd_len=65536 # usable default for all BSDs fi # And add a safety zone lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4` lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3` ;; interix*) # We know the value 262144 and hardcode it with a safety zone (like BSD) lt_cv_sys_max_cmd_len=196608 ;; os2*) # The test takes a long time on OS/2. lt_cv_sys_max_cmd_len=8192 ;; osf*) # Dr. Hans Ekkehard Plesser reports seeing a kernel panic running configure # due to this test when exec_disable_arg_limit is 1 on Tru64. It is not # nice to cause kernel panics so lets avoid the loop below. # First set a reasonable default. lt_cv_sys_max_cmd_len=16384 # if test -x /sbin/sysconfig; then case `/sbin/sysconfig -q proc exec_disable_arg_limit` in *1*) lt_cv_sys_max_cmd_len=-1 ;; esac fi ;; sco3.2v5*) lt_cv_sys_max_cmd_len=102400 ;; sysv5* | sco5v6* | sysv4.2uw2*) kargmax=`grep ARG_MAX /etc/conf/cf.d/stune 2>/dev/null` if test -n "$kargmax"; then lt_cv_sys_max_cmd_len=`echo $kargmax | $SED 's/.*[[ ]]//'` else lt_cv_sys_max_cmd_len=32768 fi ;; *) lt_cv_sys_max_cmd_len=`(getconf ARG_MAX) 2> /dev/null` if test -n "$lt_cv_sys_max_cmd_len" && \ test undefined != "$lt_cv_sys_max_cmd_len"; then lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4` lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3` else # Make teststring a little bigger before we do anything with it. # a 1K string should be a reasonable start. for i in 1 2 3 4 5 6 7 8; do teststring=$teststring$teststring done SHELL=${SHELL-${CONFIG_SHELL-/bin/sh}} # If test is not a shell built-in, we'll probably end up computing a # maximum length that is only half of the actual maximum length, but # we can't tell. while { test X`env echo "$teststring$teststring" 2>/dev/null` \ = "X$teststring$teststring"; } >/dev/null 2>&1 && test 17 != "$i" # 1/2 MB should be enough do i=`expr $i + 1` teststring=$teststring$teststring done # Only check the string length outside the loop. lt_cv_sys_max_cmd_len=`expr "X$teststring" : ".*" 2>&1` teststring= # Add a significant safety factor because C++ compilers can tack on # massive amounts of additional arguments before passing them to the # linker. It appears as though 1/2 is a usable value. lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 2` fi ;; esac ]) if test -n "$lt_cv_sys_max_cmd_len"; then AC_MSG_RESULT($lt_cv_sys_max_cmd_len) else AC_MSG_RESULT(none) fi max_cmd_len=$lt_cv_sys_max_cmd_len _LT_DECL([], [max_cmd_len], [0], [What is the maximum length of a command?]) ]) m4trace:m4/libtool.m4:1821: -1- AU_DEFUN([AC_LIBTOOL_SYS_MAX_CMD_LEN], [m4_if($#, 0, [LT_CMD_MAX_LEN], [LT_CMD_MAX_LEN($@)])], [], []) m4trace:m4/libtool.m4:1821: -1- AC_DEFUN([AC_LIBTOOL_SYS_MAX_CMD_LEN], [m4_warn([obsolete], [The macro `AC_LIBTOOL_SYS_MAX_CMD_LEN' is obsolete. You should run autoupdate.])dnl m4_if($#, 0, [LT_CMD_MAX_LEN], [LT_CMD_MAX_LEN($@)])]) m4trace:m4/libtool.m4:1932: -1- AC_DEFUN([LT_SYS_DLOPEN_SELF], [m4_require([_LT_HEADER_DLFCN])dnl if test yes != "$enable_dlopen"; then enable_dlopen=unknown enable_dlopen_self=unknown enable_dlopen_self_static=unknown else lt_cv_dlopen=no lt_cv_dlopen_libs= case $host_os in beos*) lt_cv_dlopen=load_add_on lt_cv_dlopen_libs= lt_cv_dlopen_self=yes ;; mingw* | pw32* | cegcc*) lt_cv_dlopen=LoadLibrary lt_cv_dlopen_libs= ;; cygwin*) lt_cv_dlopen=dlopen lt_cv_dlopen_libs= ;; darwin*) # if libdl is installed we need to link against it AC_CHECK_LIB([dl], [dlopen], [lt_cv_dlopen=dlopen lt_cv_dlopen_libs=-ldl],[ lt_cv_dlopen=dyld lt_cv_dlopen_libs= lt_cv_dlopen_self=yes ]) ;; tpf*) # Don't try to run any link tests for TPF. We know it's impossible # because TPF is a cross-compiler, and we know how we open DSOs. lt_cv_dlopen=dlopen lt_cv_dlopen_libs= lt_cv_dlopen_self=no ;; *) AC_CHECK_FUNC([shl_load], [lt_cv_dlopen=shl_load], [AC_CHECK_LIB([dld], [shl_load], [lt_cv_dlopen=shl_load lt_cv_dlopen_libs=-ldld], [AC_CHECK_FUNC([dlopen], [lt_cv_dlopen=dlopen], [AC_CHECK_LIB([dl], [dlopen], [lt_cv_dlopen=dlopen lt_cv_dlopen_libs=-ldl], [AC_CHECK_LIB([svld], [dlopen], [lt_cv_dlopen=dlopen lt_cv_dlopen_libs=-lsvld], [AC_CHECK_LIB([dld], [dld_link], [lt_cv_dlopen=dld_link lt_cv_dlopen_libs=-ldld]) ]) ]) ]) ]) ]) ;; esac if test no = "$lt_cv_dlopen"; then enable_dlopen=no else enable_dlopen=yes fi case $lt_cv_dlopen in dlopen) save_CPPFLAGS=$CPPFLAGS test yes = "$ac_cv_header_dlfcn_h" && CPPFLAGS="$CPPFLAGS -DHAVE_DLFCN_H" save_LDFLAGS=$LDFLAGS wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $export_dynamic_flag_spec\" save_LIBS=$LIBS LIBS="$lt_cv_dlopen_libs $LIBS" AC_CACHE_CHECK([whether a program can dlopen itself], lt_cv_dlopen_self, [dnl _LT_TRY_DLOPEN_SELF( lt_cv_dlopen_self=yes, lt_cv_dlopen_self=yes, lt_cv_dlopen_self=no, lt_cv_dlopen_self=cross) ]) if test yes = "$lt_cv_dlopen_self"; then wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $lt_prog_compiler_static\" AC_CACHE_CHECK([whether a statically linked program can dlopen itself], lt_cv_dlopen_self_static, [dnl _LT_TRY_DLOPEN_SELF( lt_cv_dlopen_self_static=yes, lt_cv_dlopen_self_static=yes, lt_cv_dlopen_self_static=no, lt_cv_dlopen_self_static=cross) ]) fi CPPFLAGS=$save_CPPFLAGS LDFLAGS=$save_LDFLAGS LIBS=$save_LIBS ;; esac case $lt_cv_dlopen_self in yes|no) enable_dlopen_self=$lt_cv_dlopen_self ;; *) enable_dlopen_self=unknown ;; esac case $lt_cv_dlopen_self_static in yes|no) enable_dlopen_self_static=$lt_cv_dlopen_self_static ;; *) enable_dlopen_self_static=unknown ;; esac fi _LT_DECL([dlopen_support], [enable_dlopen], [0], [Whether dlopen is supported]) _LT_DECL([dlopen_self], [enable_dlopen_self], [0], [Whether dlopen of programs is supported]) _LT_DECL([dlopen_self_static], [enable_dlopen_self_static], [0], [Whether dlopen of statically linked programs is supported]) ]) m4trace:m4/libtool.m4:2057: -1- AU_DEFUN([AC_LIBTOOL_DLOPEN_SELF], [m4_if($#, 0, [LT_SYS_DLOPEN_SELF], [LT_SYS_DLOPEN_SELF($@)])], [], []) m4trace:m4/libtool.m4:2057: -1- AC_DEFUN([AC_LIBTOOL_DLOPEN_SELF], [m4_warn([obsolete], [The macro `AC_LIBTOOL_DLOPEN_SELF' is obsolete. You should run autoupdate.])dnl m4_if($#, 0, [LT_SYS_DLOPEN_SELF], [LT_SYS_DLOPEN_SELF($@)])]) m4trace:m4/libtool.m4:3175: -1- AC_DEFUN([_LT_PATH_TOOL_PREFIX], [m4_require([_LT_DECL_EGREP])dnl AC_MSG_CHECKING([for $1]) AC_CACHE_VAL(lt_cv_path_MAGIC_CMD, [case $MAGIC_CMD in [[\\/*] | ?:[\\/]*]) lt_cv_path_MAGIC_CMD=$MAGIC_CMD # Let the user override the test with a path. ;; *) lt_save_MAGIC_CMD=$MAGIC_CMD lt_save_ifs=$IFS; IFS=$PATH_SEPARATOR dnl $ac_dummy forces splitting on constant user-supplied paths. dnl POSIX.2 word splitting is done only on the output of word expansions, dnl not every word. This closes a longstanding sh security hole. ac_dummy="m4_if([$2], , $PATH, [$2])" for ac_dir in $ac_dummy; do IFS=$lt_save_ifs test -z "$ac_dir" && ac_dir=. if test -f "$ac_dir/$1"; then lt_cv_path_MAGIC_CMD=$ac_dir/"$1" if test -n "$file_magic_test_file"; then case $deplibs_check_method in "file_magic "*) file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"` MAGIC_CMD=$lt_cv_path_MAGIC_CMD if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null | $EGREP "$file_magic_regex" > /dev/null; then : else cat <<_LT_EOF 1>&2 *** Warning: the command libtool uses to detect shared libraries, *** $file_magic_cmd, produces output that libtool cannot recognize. *** The result is that libtool may fail to recognize shared libraries *** as such. This will affect the creation of libtool libraries that *** depend on shared libraries, but programs linked with such libtool *** libraries will work regardless of this problem. Nevertheless, you *** may want to report the problem to your system manager and/or to *** bug-libtool@gnu.org _LT_EOF fi ;; esac fi break fi done IFS=$lt_save_ifs MAGIC_CMD=$lt_save_MAGIC_CMD ;; esac]) MAGIC_CMD=$lt_cv_path_MAGIC_CMD if test -n "$MAGIC_CMD"; then AC_MSG_RESULT($MAGIC_CMD) else AC_MSG_RESULT(no) fi _LT_DECL([], [MAGIC_CMD], [0], [Used to examine libraries when file_magic_cmd begins with "file"])dnl ]) m4trace:m4/libtool.m4:3237: -1- AU_DEFUN([AC_PATH_TOOL_PREFIX], [m4_if($#, 0, [_LT_PATH_TOOL_PREFIX], [_LT_PATH_TOOL_PREFIX($@)])], [], []) m4trace:m4/libtool.m4:3237: -1- AC_DEFUN([AC_PATH_TOOL_PREFIX], [m4_warn([obsolete], [The macro `AC_PATH_TOOL_PREFIX' is obsolete. You should run autoupdate.])dnl m4_if($#, 0, [_LT_PATH_TOOL_PREFIX], [_LT_PATH_TOOL_PREFIX($@)])]) m4trace:m4/libtool.m4:3260: -1- AC_DEFUN([LT_PATH_LD], [AC_REQUIRE([AC_PROG_CC])dnl AC_REQUIRE([AC_CANONICAL_HOST])dnl AC_REQUIRE([AC_CANONICAL_BUILD])dnl m4_require([_LT_DECL_SED])dnl m4_require([_LT_DECL_EGREP])dnl m4_require([_LT_PROG_ECHO_BACKSLASH])dnl AC_ARG_WITH([gnu-ld], [AS_HELP_STRING([--with-gnu-ld], [assume the C compiler uses GNU ld @<:@default=no@:>@])], [test no = "$withval" || with_gnu_ld=yes], [with_gnu_ld=no])dnl ac_prog=ld if test yes = "$GCC"; then # Check if gcc -print-prog-name=ld gives a path. AC_MSG_CHECKING([for ld used by $CC]) case $host in *-*-mingw*) # gcc leaves a trailing carriage return, which upsets mingw ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;; *) ac_prog=`($CC -print-prog-name=ld) 2>&5` ;; esac case $ac_prog in # Accept absolute paths. [[\\/]]* | ?:[[\\/]]*) re_direlt='/[[^/]][[^/]]*/\.\./' # Canonicalize the pathname of ld ac_prog=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'` while $ECHO "$ac_prog" | $GREP "$re_direlt" > /dev/null 2>&1; do ac_prog=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"` done test -z "$LD" && LD=$ac_prog ;; "") # If it fails, then pretend we aren't using GCC. ac_prog=ld ;; *) # If it is relative, then search for the first ld in PATH. with_gnu_ld=unknown ;; esac elif test yes = "$with_gnu_ld"; then AC_MSG_CHECKING([for GNU ld]) else AC_MSG_CHECKING([for non-GNU ld]) fi AC_CACHE_VAL(lt_cv_path_LD, [if test -z "$LD"; then lt_save_ifs=$IFS; IFS=$PATH_SEPARATOR for ac_dir in $PATH; do IFS=$lt_save_ifs test -z "$ac_dir" && ac_dir=. if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then lt_cv_path_LD=$ac_dir/$ac_prog # Check to see if the program is GNU ld. I'd rather use --version, # but apparently some variants of GNU ld only accept -v. # Break only if it was the GNU/non-GNU ld that we prefer. case `"$lt_cv_path_LD" -v 2>&1 &1 | $SED '1q'` in *$lt_bad_file* | *'Invalid file or object type'*) lt_cv_path_NM="$tmp_nm -B" break 2 ;; *) case `"$tmp_nm" -p /dev/null 2>&1 | $SED '1q'` in */dev/null*) lt_cv_path_NM="$tmp_nm -p" break 2 ;; *) lt_cv_path_NM=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but continue # so that we can try to find one that supports BSD flags ;; esac ;; esac fi done IFS=$lt_save_ifs done : ${lt_cv_path_NM=no} fi]) if test no != "$lt_cv_path_NM"; then NM=$lt_cv_path_NM else # Didn't find any BSD compatible name lister, look for dumpbin. if test -n "$DUMPBIN"; then : # Let the user override the test. else AC_CHECK_TOOLS(DUMPBIN, [dumpbin "link -dump"], :) case `$DUMPBIN -symbols -headers /dev/null 2>&1 | $SED '1q'` in *COFF*) DUMPBIN="$DUMPBIN -symbols -headers" ;; *) DUMPBIN=: ;; esac fi AC_SUBST([DUMPBIN]) if test : != "$DUMPBIN"; then NM=$DUMPBIN fi fi test -z "$NM" && NM=nm AC_SUBST([NM]) _LT_DECL([], [NM], [1], [A BSD- or MS-compatible name lister])dnl AC_CACHE_CHECK([the name lister ($NM) interface], [lt_cv_nm_interface], [lt_cv_nm_interface="BSD nm" echo "int some_variable = 0;" > conftest.$ac_ext (eval echo "\"\$as_me:$LINENO: $ac_compile\"" >&AS_MESSAGE_LOG_FD) (eval "$ac_compile" 2>conftest.err) cat conftest.err >&AS_MESSAGE_LOG_FD (eval echo "\"\$as_me:$LINENO: $NM \\\"conftest.$ac_objext\\\"\"" >&AS_MESSAGE_LOG_FD) (eval "$NM \"conftest.$ac_objext\"" 2>conftest.err > conftest.out) cat conftest.err >&AS_MESSAGE_LOG_FD (eval echo "\"\$as_me:$LINENO: output\"" >&AS_MESSAGE_LOG_FD) cat conftest.out >&AS_MESSAGE_LOG_FD if $GREP 'External.*some_variable' conftest.out > /dev/null; then lt_cv_nm_interface="MS dumpbin" fi rm -f conftest*]) ]) m4trace:m4/libtool.m4:3774: -1- AU_DEFUN([AM_PROG_NM], [m4_if($#, 0, [LT_PATH_NM], [LT_PATH_NM($@)])], [], []) m4trace:m4/libtool.m4:3774: -1- AC_DEFUN([AM_PROG_NM], [m4_warn([obsolete], [The macro `AM_PROG_NM' is obsolete. You should run autoupdate.])dnl m4_if($#, 0, [LT_PATH_NM], [LT_PATH_NM($@)])]) m4trace:m4/libtool.m4:3775: -1- AU_DEFUN([AC_PROG_NM], [m4_if($#, 0, [LT_PATH_NM], [LT_PATH_NM($@)])], [], []) m4trace:m4/libtool.m4:3775: -1- AC_DEFUN([AC_PROG_NM], [m4_warn([obsolete], [The macro `AC_PROG_NM' is obsolete. You should run autoupdate.])dnl m4_if($#, 0, [LT_PATH_NM], [LT_PATH_NM($@)])]) m4trace:m4/libtool.m4:3846: -1- AC_DEFUN([_LT_DLL_DEF_P], [dnl test DEF = "`$SED -n dnl -e '\''s/^[[ ]]*//'\'' dnl Strip leading whitespace -e '\''/^\(;.*\)*$/d'\'' dnl Delete empty lines and comments -e '\''s/^\(EXPORTS\|LIBRARY\)\([[ ]].*\)*$/DEF/p'\'' dnl -e q dnl Only consider the first "real" line $1`" dnl ]) m4trace:m4/libtool.m4:3860: -1- AC_DEFUN([LT_LIB_M], [AC_REQUIRE([AC_CANONICAL_HOST])dnl LIBM= case $host in *-*-beos* | *-*-cegcc* | *-*-cygwin* | *-*-haiku* | *-*-pw32* | *-*-darwin*) # These system don't have libm, or don't need it ;; *-ncr-sysv4.3*) AC_CHECK_LIB(mw, _mwvalidcheckl, LIBM=-lmw) AC_CHECK_LIB(m, cos, LIBM="$LIBM -lm") ;; *) AC_CHECK_LIB(m, cos, LIBM=-lm) ;; esac AC_SUBST([LIBM]) ]) m4trace:m4/libtool.m4:3879: -1- AU_DEFUN([AC_CHECK_LIBM], [m4_if($#, 0, [LT_LIB_M], [LT_LIB_M($@)])], [], []) m4trace:m4/libtool.m4:3879: -1- AC_DEFUN([AC_CHECK_LIBM], [m4_warn([obsolete], [The macro `AC_CHECK_LIBM' is obsolete. You should run autoupdate.])dnl m4_if($#, 0, [LT_LIB_M], [LT_LIB_M($@)])]) m4trace:m4/libtool.m4:8145: -1- AC_DEFUN([LT_PROG_GCJ], [m4_ifdef([AC_PROG_GCJ], [AC_PROG_GCJ], [m4_ifdef([A][M_PROG_GCJ], [A][M_PROG_GCJ], [AC_CHECK_TOOL(GCJ, gcj,) test set = "${GCJFLAGS+set}" || GCJFLAGS="-g -O2" AC_SUBST(GCJFLAGS)])])[]dnl ]) m4trace:m4/libtool.m4:8154: -1- AU_DEFUN([LT_AC_PROG_GCJ], [m4_if($#, 0, [LT_PROG_GCJ], [LT_PROG_GCJ($@)])], [], []) m4trace:m4/libtool.m4:8154: -1- AC_DEFUN([LT_AC_PROG_GCJ], [m4_warn([obsolete], [The macro `LT_AC_PROG_GCJ' is obsolete. You should run autoupdate.])dnl m4_if($#, 0, [LT_PROG_GCJ], [LT_PROG_GCJ($@)])]) m4trace:m4/libtool.m4:8161: -1- AC_DEFUN([LT_PROG_GO], [AC_CHECK_TOOL(GOC, gccgo,) ]) m4trace:m4/libtool.m4:8168: -1- AC_DEFUN([LT_PROG_RC], [AC_CHECK_TOOL(RC, windres,) ]) m4trace:m4/libtool.m4:8173: -1- AU_DEFUN([LT_AC_PROG_RC], [m4_if($#, 0, [LT_PROG_RC], [LT_PROG_RC($@)])], [], []) m4trace:m4/libtool.m4:8173: -1- AC_DEFUN([LT_AC_PROG_RC], [m4_warn([obsolete], [The macro `LT_AC_PROG_RC' is obsolete. You should run autoupdate.])dnl m4_if($#, 0, [LT_PROG_RC], [LT_PROG_RC($@)])]) m4trace:m4/libtool.m4:8300: -1- AU_DEFUN([LT_AC_PROG_SED], [m4_if($#, 0, [AC_PROG_SED], [AC_PROG_SED($@)])], [], []) m4trace:m4/libtool.m4:8300: -1- AC_DEFUN([LT_AC_PROG_SED], [m4_warn([obsolete], [The macro `LT_AC_PROG_SED' is obsolete. You should run autoupdate.])dnl m4_if($#, 0, [AC_PROG_SED], [AC_PROG_SED($@)])]) m4trace:m4/ltoptions.m4:14: -1- AC_DEFUN([LTOPTIONS_VERSION], [m4_if([1])]) m4trace:m4/ltoptions.m4:113: -1- AU_DEFUN([AC_LIBTOOL_DLOPEN], [_LT_SET_OPTION([LT_INIT], [dlopen]) AC_DIAGNOSE([obsolete], [$0: Remove this warning and the call to _LT_SET_OPTION when you put the 'dlopen' option into LT_INIT's first parameter.]) ]) m4trace:m4/ltoptions.m4:113: -1- AC_DEFUN([AC_LIBTOOL_DLOPEN], [m4_warn([obsolete], [The macro `AC_LIBTOOL_DLOPEN' is obsolete. You should run autoupdate.])dnl _LT_SET_OPTION([LT_INIT], [dlopen]) AC_DIAGNOSE([obsolete], [$0: Remove this warning and the call to _LT_SET_OPTION when you put the 'dlopen' option into LT_INIT's first parameter.]) ]) m4trace:m4/ltoptions.m4:148: -1- AU_DEFUN([AC_LIBTOOL_WIN32_DLL], [AC_REQUIRE([AC_CANONICAL_HOST])dnl _LT_SET_OPTION([LT_INIT], [win32-dll]) AC_DIAGNOSE([obsolete], [$0: Remove this warning and the call to _LT_SET_OPTION when you put the 'win32-dll' option into LT_INIT's first parameter.]) ]) m4trace:m4/ltoptions.m4:148: -1- AC_DEFUN([AC_LIBTOOL_WIN32_DLL], [m4_warn([obsolete], [The macro `AC_LIBTOOL_WIN32_DLL' is obsolete. You should run autoupdate.])dnl AC_REQUIRE([AC_CANONICAL_HOST])dnl _LT_SET_OPTION([LT_INIT], [win32-dll]) AC_DIAGNOSE([obsolete], [$0: Remove this warning and the call to _LT_SET_OPTION when you put the 'win32-dll' option into LT_INIT's first parameter.]) ]) m4trace:m4/ltoptions.m4:197: -1- AC_DEFUN([AC_ENABLE_SHARED], [_LT_SET_OPTION([LT_INIT], m4_if([$1], [no], [disable-])[shared]) ]) m4trace:m4/ltoptions.m4:201: -1- AC_DEFUN([AC_DISABLE_SHARED], [_LT_SET_OPTION([LT_INIT], [disable-shared]) ]) m4trace:m4/ltoptions.m4:205: -1- AU_DEFUN([AM_ENABLE_SHARED], [AC_ENABLE_SHARED($@)]) m4trace:m4/ltoptions.m4:205: -1- AC_DEFUN([AM_ENABLE_SHARED], [m4_warn([obsolete], [The macro `AM_ENABLE_SHARED' is obsolete. You should run autoupdate.])dnl AC_ENABLE_SHARED($@)]) m4trace:m4/ltoptions.m4:206: -1- AU_DEFUN([AM_DISABLE_SHARED], [AC_DISABLE_SHARED($@)]) m4trace:m4/ltoptions.m4:206: -1- AC_DEFUN([AM_DISABLE_SHARED], [m4_warn([obsolete], [The macro `AM_DISABLE_SHARED' is obsolete. You should run autoupdate.])dnl AC_DISABLE_SHARED($@)]) m4trace:m4/ltoptions.m4:251: -1- AC_DEFUN([AC_ENABLE_STATIC], [_LT_SET_OPTION([LT_INIT], m4_if([$1], [no], [disable-])[static]) ]) m4trace:m4/ltoptions.m4:255: -1- AC_DEFUN([AC_DISABLE_STATIC], [_LT_SET_OPTION([LT_INIT], [disable-static]) ]) m4trace:m4/ltoptions.m4:259: -1- AU_DEFUN([AM_ENABLE_STATIC], [AC_ENABLE_STATIC($@)]) m4trace:m4/ltoptions.m4:259: -1- AC_DEFUN([AM_ENABLE_STATIC], [m4_warn([obsolete], [The macro `AM_ENABLE_STATIC' is obsolete. You should run autoupdate.])dnl AC_ENABLE_STATIC($@)]) m4trace:m4/ltoptions.m4:260: -1- AU_DEFUN([AM_DISABLE_STATIC], [AC_DISABLE_STATIC($@)]) m4trace:m4/ltoptions.m4:260: -1- AC_DEFUN([AM_DISABLE_STATIC], [m4_warn([obsolete], [The macro `AM_DISABLE_STATIC' is obsolete. You should run autoupdate.])dnl AC_DISABLE_STATIC($@)]) m4trace:m4/ltoptions.m4:305: -1- AU_DEFUN([AC_ENABLE_FAST_INSTALL], [_LT_SET_OPTION([LT_INIT], m4_if([$1], [no], [disable-])[fast-install]) AC_DIAGNOSE([obsolete], [$0: Remove this warning and the call to _LT_SET_OPTION when you put the 'fast-install' option into LT_INIT's first parameter.]) ]) m4trace:m4/ltoptions.m4:305: -1- AC_DEFUN([AC_ENABLE_FAST_INSTALL], [m4_warn([obsolete], [The macro `AC_ENABLE_FAST_INSTALL' is obsolete. You should run autoupdate.])dnl _LT_SET_OPTION([LT_INIT], m4_if([$1], [no], [disable-])[fast-install]) AC_DIAGNOSE([obsolete], [$0: Remove this warning and the call to _LT_SET_OPTION when you put the 'fast-install' option into LT_INIT's first parameter.]) ]) m4trace:m4/ltoptions.m4:312: -1- AU_DEFUN([AC_DISABLE_FAST_INSTALL], [_LT_SET_OPTION([LT_INIT], [disable-fast-install]) AC_DIAGNOSE([obsolete], [$0: Remove this warning and the call to _LT_SET_OPTION when you put the 'disable-fast-install' option into LT_INIT's first parameter.]) ]) m4trace:m4/ltoptions.m4:312: -1- AC_DEFUN([AC_DISABLE_FAST_INSTALL], [m4_warn([obsolete], [The macro `AC_DISABLE_FAST_INSTALL' is obsolete. You should run autoupdate.])dnl _LT_SET_OPTION([LT_INIT], [disable-fast-install]) AC_DIAGNOSE([obsolete], [$0: Remove this warning and the call to _LT_SET_OPTION when you put the 'disable-fast-install' option into LT_INIT's first parameter.]) ]) m4trace:m4/ltoptions.m4:411: -1- AU_DEFUN([AC_LIBTOOL_PICMODE], [_LT_SET_OPTION([LT_INIT], [pic-only]) AC_DIAGNOSE([obsolete], [$0: Remove this warning and the call to _LT_SET_OPTION when you put the 'pic-only' option into LT_INIT's first parameter.]) ]) m4trace:m4/ltoptions.m4:411: -1- AC_DEFUN([AC_LIBTOOL_PICMODE], [m4_warn([obsolete], [The macro `AC_LIBTOOL_PICMODE' is obsolete. You should run autoupdate.])dnl _LT_SET_OPTION([LT_INIT], [pic-only]) AC_DIAGNOSE([obsolete], [$0: Remove this warning and the call to _LT_SET_OPTION when you put the 'pic-only' option into LT_INIT's first parameter.]) ]) m4trace:m4/ltsugar.m4:14: -1- AC_DEFUN([LTSUGAR_VERSION], [m4_if([0.1])]) m4trace:m4/ltversion.m4:19: -1- AC_DEFUN([LTVERSION_VERSION], [macro_version='2.4.7' macro_revision='2.4.7' _LT_DECL(, macro_version, 0, [Which release of libtool.m4 was used?]) _LT_DECL(, macro_revision, 0) ]) m4trace:m4/lt~obsolete.m4:37: -1- AC_DEFUN([LTOBSOLETE_VERSION], [m4_if([1])]) m4trace:m4/lt~obsolete.m4:41: -1- AC_DEFUN([_LT_AC_PROG_ECHO_BACKSLASH]) m4trace:m4/lt~obsolete.m4:42: -1- AC_DEFUN([_LT_AC_SHELL_INIT]) m4trace:m4/lt~obsolete.m4:43: -1- AC_DEFUN([_LT_AC_SYS_LIBPATH_AIX]) m4trace:m4/lt~obsolete.m4:45: -1- AC_DEFUN([_LT_AC_TAGVAR]) m4trace:m4/lt~obsolete.m4:46: -1- AC_DEFUN([AC_LTDL_ENABLE_INSTALL]) m4trace:m4/lt~obsolete.m4:47: -1- AC_DEFUN([AC_LTDL_PREOPEN]) m4trace:m4/lt~obsolete.m4:48: -1- AC_DEFUN([_LT_AC_SYS_COMPILER]) m4trace:m4/lt~obsolete.m4:49: -1- AC_DEFUN([_LT_AC_LOCK]) m4trace:m4/lt~obsolete.m4:50: -1- AC_DEFUN([AC_LIBTOOL_SYS_OLD_ARCHIVE]) m4trace:m4/lt~obsolete.m4:51: -1- AC_DEFUN([_LT_AC_TRY_DLOPEN_SELF]) m4trace:m4/lt~obsolete.m4:52: -1- AC_DEFUN([AC_LIBTOOL_PROG_CC_C_O]) m4trace:m4/lt~obsolete.m4:53: -1- AC_DEFUN([AC_LIBTOOL_SYS_HARD_LINK_LOCKS]) m4trace:m4/lt~obsolete.m4:54: -1- AC_DEFUN([AC_LIBTOOL_OBJDIR]) m4trace:m4/lt~obsolete.m4:55: -1- AC_DEFUN([AC_LTDL_OBJDIR]) m4trace:m4/lt~obsolete.m4:56: -1- AC_DEFUN([AC_LIBTOOL_PROG_LD_HARDCODE_LIBPATH]) m4trace:m4/lt~obsolete.m4:57: -1- AC_DEFUN([AC_LIBTOOL_SYS_LIB_STRIP]) m4trace:m4/lt~obsolete.m4:58: -1- AC_DEFUN([AC_PATH_MAGIC]) m4trace:m4/lt~obsolete.m4:59: -1- AC_DEFUN([AC_PROG_LD_GNU]) m4trace:m4/lt~obsolete.m4:60: -1- AC_DEFUN([AC_PROG_LD_RELOAD_FLAG]) m4trace:m4/lt~obsolete.m4:61: -1- AC_DEFUN([AC_DEPLIBS_CHECK_METHOD]) m4trace:m4/lt~obsolete.m4:62: -1- AC_DEFUN([AC_LIBTOOL_PROG_COMPILER_NO_RTTI]) m4trace:m4/lt~obsolete.m4:63: -1- AC_DEFUN([AC_LIBTOOL_SYS_GLOBAL_SYMBOL_PIPE]) m4trace:m4/lt~obsolete.m4:64: -1- AC_DEFUN([AC_LIBTOOL_PROG_COMPILER_PIC]) m4trace:m4/lt~obsolete.m4:65: -1- AC_DEFUN([AC_LIBTOOL_PROG_LD_SHLIBS]) m4trace:m4/lt~obsolete.m4:66: -1- AC_DEFUN([AC_LIBTOOL_POSTDEP_PREDEP]) m4trace:m4/lt~obsolete.m4:67: -1- AC_DEFUN([LT_AC_PROG_EGREP]) m4trace:m4/lt~obsolete.m4:72: -1- AC_DEFUN([_AC_PROG_LIBTOOL]) m4trace:m4/lt~obsolete.m4:73: -1- AC_DEFUN([AC_LIBTOOL_SETUP]) m4trace:m4/lt~obsolete.m4:74: -1- AC_DEFUN([_LT_AC_CHECK_DLFCN]) m4trace:m4/lt~obsolete.m4:75: -1- AC_DEFUN([AC_LIBTOOL_SYS_DYNAMIC_LINKER]) m4trace:m4/lt~obsolete.m4:76: -1- AC_DEFUN([_LT_AC_TAGCONFIG]) m4trace:m4/lt~obsolete.m4:78: -1- AC_DEFUN([_LT_AC_LANG_CXX]) m4trace:m4/lt~obsolete.m4:79: -1- AC_DEFUN([_LT_AC_LANG_F77]) m4trace:m4/lt~obsolete.m4:80: -1- AC_DEFUN([_LT_AC_LANG_GCJ]) m4trace:m4/lt~obsolete.m4:81: -1- AC_DEFUN([AC_LIBTOOL_LANG_C_CONFIG]) m4trace:m4/lt~obsolete.m4:82: -1- AC_DEFUN([_LT_AC_LANG_C_CONFIG]) m4trace:m4/lt~obsolete.m4:83: -1- AC_DEFUN([AC_LIBTOOL_LANG_CXX_CONFIG]) m4trace:m4/lt~obsolete.m4:84: -1- AC_DEFUN([_LT_AC_LANG_CXX_CONFIG]) m4trace:m4/lt~obsolete.m4:85: -1- AC_DEFUN([AC_LIBTOOL_LANG_F77_CONFIG]) m4trace:m4/lt~obsolete.m4:86: -1- AC_DEFUN([_LT_AC_LANG_F77_CONFIG]) m4trace:m4/lt~obsolete.m4:87: -1- AC_DEFUN([AC_LIBTOOL_LANG_GCJ_CONFIG]) m4trace:m4/lt~obsolete.m4:88: -1- AC_DEFUN([_LT_AC_LANG_GCJ_CONFIG]) m4trace:m4/lt~obsolete.m4:89: -1- AC_DEFUN([AC_LIBTOOL_LANG_RC_CONFIG]) m4trace:m4/lt~obsolete.m4:90: -1- AC_DEFUN([_LT_AC_LANG_RC_CONFIG]) m4trace:m4/lt~obsolete.m4:91: -1- AC_DEFUN([AC_LIBTOOL_CONFIG]) m4trace:m4/lt~obsolete.m4:92: -1- AC_DEFUN([_LT_AC_FILE_LTDLL_C]) m4trace:m4/lt~obsolete.m4:94: -1- AC_DEFUN([_LT_AC_PROG_CXXCPP]) m4trace:m4/lt~obsolete.m4:97: -1- AC_DEFUN([_LT_PROG_F77]) m4trace:m4/lt~obsolete.m4:98: -1- AC_DEFUN([_LT_PROG_FC]) m4trace:m4/lt~obsolete.m4:99: -1- AC_DEFUN([_LT_PROG_CXX]) m4trace:m4/xc-am-iface.m4:73: -1- AC_DEFUN([XC_AUTOMAKE], [dnl AC_PREREQ([2.50])dnl dnl AC_BEFORE([$0],[AM_INIT_AUTOMAKE])dnl dnl _XC_AUTOMAKE_BODY dnl m4_ifdef([AM_INIT_AUTOMAKE], [m4_undefine([AM_INIT_AUTOMAKE])])dnl dnl m4_define([$0], [])[]dnl ]) m4trace:m4/xc-cc-check.m4:30: -1- AC_DEFUN([_XC_PROG_CC_PREAMBLE], [ xc_prog_cc_prev_IFS=$IFS xc_prog_cc_prev_LIBS=$LIBS xc_prog_cc_prev_CFLAGS=$CFLAGS xc_prog_cc_prev_LDFLAGS=$LDFLAGS xc_prog_cc_prev_CPPFLAGS=$CPPFLAGS ]) m4trace:m4/xc-cc-check.m4:43: -1- AC_DEFUN([_XC_PROG_CC_POSTLUDE], [ IFS=$xc_prog_cc_prev_IFS LIBS=$xc_prog_cc_prev_LIBS CFLAGS=$xc_prog_cc_prev_CFLAGS LDFLAGS=$xc_prog_cc_prev_LDFLAGS CPPFLAGS=$xc_prog_cc_prev_CPPFLAGS AC_SUBST([CC])dnl AC_SUBST([CPP])dnl AC_SUBST([LIBS])dnl AC_SUBST([CFLAGS])dnl AC_SUBST([LDFLAGS])dnl AC_SUBST([CPPFLAGS])dnl ]) m4trace:m4/xc-cc-check.m4:62: -1- AC_DEFUN([_XC_PROG_CC], [ AC_REQUIRE([_XC_PROG_CC_PREAMBLE])dnl AC_REQUIRE([XC_CHECK_BUILD_FLAGS])dnl AC_REQUIRE([AC_PROG_INSTALL])dnl AC_REQUIRE([AC_PROG_CC])dnl AC_REQUIRE([AM_PROG_CC_C_O])dnl AC_REQUIRE([AC_PROG_CPP])dnl AC_REQUIRE([_XC_PROG_CC_POSTLUDE])dnl ]) m4trace:m4/xc-cc-check.m4:86: -1- AC_DEFUN([XC_CHECK_PROG_CC], [ AC_PREREQ([2.50])dnl AC_BEFORE([$0],[_XC_PROG_CC_PREAMBLE])dnl AC_BEFORE([$0],[AC_PROG_INSTALL])dnl AC_BEFORE([$0],[AC_PROG_CC])dnl AC_BEFORE([$0],[AM_PROG_CC_C_O])dnl AC_BEFORE([$0],[AC_PROG_CPP])dnl AC_BEFORE([$0],[AC_PROG_LIBTOOL])dnl AC_BEFORE([$0],[AM_INIT_AUTOMAKE])dnl AC_BEFORE([$0],[_XC_PROG_CC_POSTLUDE])dnl AC_REQUIRE([_XC_PROG_CC])dnl ]) m4trace:m4/xc-lt-iface.m4:442: -1- AC_DEFUN([XC_LIBTOOL], [dnl AC_PREREQ([2.50])dnl dnl AC_BEFORE([$0],[LT_INIT])dnl AC_BEFORE([$0],[AC_PROG_LIBTOOL])dnl AC_BEFORE([$0],[AC_LIBTOOL_WIN32_DLL])dnl dnl AC_REQUIRE([XC_CHECK_PATH_SEPARATOR])dnl AC_REQUIRE([AC_CANONICAL_HOST])dnl AC_REQUIRE([AC_PROG_CC])dnl dnl _XC_LIBTOOL_PREAMBLE _XC_LIBTOOL_BODY _XC_LIBTOOL_POSTLUDE dnl m4_ifdef([AC_LIBTOOL_WIN32_DLL], [m4_undefine([AC_LIBTOOL_WIN32_DLL])])dnl m4_ifdef([AC_PROG_LIBTOOL], [m4_undefine([AC_PROG_LIBTOOL])])dnl m4_ifdef([LT_INIT], [m4_undefine([LT_INIT])])dnl dnl m4_define([$0],[])dnl ]) m4trace:m4/xc-val-flgs.m4:30: -1- AC_DEFUN([_XC_CHECK_VAR_LIBS], [ xc_bad_var_libs=no for xc_word in $LIBS; do case "$xc_word" in -l* | --library=*) : ;; *) xc_bad_var_libs=yes ;; esac done if test $xc_bad_var_libs = yes; then AC_MSG_NOTICE([using LIBS: $LIBS]) AC_MSG_NOTICE([LIBS note: LIBS should only be used to specify libraries (-lname).]) fi ]) m4trace:m4/xc-val-flgs.m4:53: -1- AC_DEFUN([_XC_CHECK_VAR_LDFLAGS], [ xc_bad_var_ldflags=no for xc_word in $LDFLAGS; do case "$xc_word" in -D*) xc_bad_var_ldflags=yes ;; -U*) xc_bad_var_ldflags=yes ;; -I*) xc_bad_var_ldflags=yes ;; -l* | --library=*) xc_bad_var_ldflags=yes ;; esac done if test $xc_bad_var_ldflags = yes; then AC_MSG_NOTICE([using LDFLAGS: $LDFLAGS]) xc_bad_var_msg="LDFLAGS note: LDFLAGS should only be used to specify linker flags, not" for xc_word in $LDFLAGS; do case "$xc_word" in -D*) AC_MSG_NOTICE([$xc_bad_var_msg macro definitions. Use CPPFLAGS for: $xc_word]) ;; -U*) AC_MSG_NOTICE([$xc_bad_var_msg macro suppressions. Use CPPFLAGS for: $xc_word]) ;; -I*) AC_MSG_NOTICE([$xc_bad_var_msg include directories. Use CPPFLAGS for: $xc_word]) ;; -l* | --library=*) AC_MSG_NOTICE([$xc_bad_var_msg libraries. Use LIBS for: $xc_word]) ;; esac done fi ]) m4trace:m4/xc-val-flgs.m4:98: -1- AC_DEFUN([_XC_CHECK_VAR_CPPFLAGS], [ xc_bad_var_cppflags=no for xc_word in $CPPFLAGS; do case "$xc_word" in -rpath*) xc_bad_var_cppflags=yes ;; -L* | --library-path=*) xc_bad_var_cppflags=yes ;; -l* | --library=*) xc_bad_var_cppflags=yes ;; esac done if test $xc_bad_var_cppflags = yes; then AC_MSG_NOTICE([using CPPFLAGS: $CPPFLAGS]) xc_bad_var_msg="CPPFLAGS note: CPPFLAGS should only be used to specify C preprocessor flags, not" for xc_word in $CPPFLAGS; do case "$xc_word" in -rpath*) AC_MSG_NOTICE([$xc_bad_var_msg library runtime directories. Use LDFLAGS for: $xc_word]) ;; -L* | --library-path=*) AC_MSG_NOTICE([$xc_bad_var_msg library directories. Use LDFLAGS for: $xc_word]) ;; -l* | --library=*) AC_MSG_NOTICE([$xc_bad_var_msg libraries. Use LIBS for: $xc_word]) ;; esac done fi ]) m4trace:m4/xc-val-flgs.m4:137: -1- AC_DEFUN([_XC_CHECK_VAR_CFLAGS], [ xc_bad_var_cflags=no for xc_word in $CFLAGS; do case "$xc_word" in -D*) xc_bad_var_cflags=yes ;; -U*) xc_bad_var_cflags=yes ;; -I*) xc_bad_var_cflags=yes ;; -rpath*) xc_bad_var_cflags=yes ;; -L* | --library-path=*) xc_bad_var_cflags=yes ;; -l* | --library=*) xc_bad_var_cflags=yes ;; esac done if test $xc_bad_var_cflags = yes; then AC_MSG_NOTICE([using CFLAGS: $CFLAGS]) xc_bad_var_msg="CFLAGS note: CFLAGS should only be used to specify C compiler flags, not" for xc_word in $CFLAGS; do case "$xc_word" in -D*) AC_MSG_NOTICE([$xc_bad_var_msg macro definitions. Use CPPFLAGS for: $xc_word]) ;; -U*) AC_MSG_NOTICE([$xc_bad_var_msg macro suppressions. Use CPPFLAGS for: $xc_word]) ;; -I*) AC_MSG_NOTICE([$xc_bad_var_msg include directories. Use CPPFLAGS for: $xc_word]) ;; -rpath*) AC_MSG_NOTICE([$xc_bad_var_msg library runtime directories. Use LDFLAGS for: $xc_word]) ;; -L* | --library-path=*) AC_MSG_NOTICE([$xc_bad_var_msg library directories. Use LDFLAGS for: $xc_word]) ;; -l* | --library=*) AC_MSG_NOTICE([$xc_bad_var_msg libraries. Use LIBS for: $xc_word]) ;; esac done fi ]) m4trace:m4/xc-val-flgs.m4:202: -1- AC_DEFUN([XC_CHECK_USER_FLAGS], [ AC_PREREQ([2.50])dnl AC_BEFORE([$0],[XC_CHECK_PROG_CC])dnl dnl check order below matters _XC_CHECK_VAR_LIBS _XC_CHECK_VAR_LDFLAGS _XC_CHECK_VAR_CPPFLAGS _XC_CHECK_VAR_CFLAGS if test $xc_bad_var_libs = yes || test $xc_bad_var_cflags = yes || test $xc_bad_var_ldflags = yes || test $xc_bad_var_cppflags = yes; then AC_MSG_ERROR([Can not continue. Fix errors mentioned immediately above this line.]) fi ]) m4trace:m4/xc-val-flgs.m4:231: -1- AC_DEFUN([XC_CHECK_BUILD_FLAGS], [ AC_PREREQ([2.50])dnl dnl check order below matters _XC_CHECK_VAR_LIBS _XC_CHECK_VAR_LDFLAGS _XC_CHECK_VAR_CPPFLAGS _XC_CHECK_VAR_CFLAGS if test $xc_bad_var_libs = yes || test $xc_bad_var_cflags = yes || test $xc_bad_var_ldflags = yes || test $xc_bad_var_cppflags = yes; then AC_MSG_WARN([Continuing even with errors mentioned immediately above this line.]) fi ]) m4trace:m4/zz40-xc-ovr.m4:42: -1- AC_DEFUN([_XC_CFG_PRE_PREAMBLE], [ ## -------------------------------- ## @%:@@%:@ [XC_CONFIGURE_PREAMBLE] ver: []dnl XC_CONFIGURE_PREAMBLE_VER_MAJOR.[]dnl XC_CONFIGURE_PREAMBLE_VER_MINOR ## ## -------------------------------- ## xc_configure_preamble_ver_major='XC_CONFIGURE_PREAMBLE_VER_MAJOR' xc_configure_preamble_ver_minor='XC_CONFIGURE_PREAMBLE_VER_MINOR' # # Set IFS to space, tab and newline. # xc_space=' ' xc_tab=' ' xc_newline=' ' IFS="$xc_space$xc_tab$xc_newline" # # Set internationalization behavior variables. # LANG='C' LC_ALL='C' LANGUAGE='C' export LANG export LC_ALL export LANGUAGE # # Some useful variables. # xc_msg_warn='configure: WARNING:' xc_msg_abrt='Can not continue.' xc_msg_err='configure: error:' ]) m4trace:m4/zz40-xc-ovr.m4:91: -1- AC_DEFUN([_XC_CFG_PRE_BASIC_CHK_CMD_ECHO], [dnl AC_REQUIRE([_XC_CFG_PRE_PREAMBLE])dnl # # Verify that 'echo' command is available, otherwise abort. # xc_tst_str='unknown' (`echo "$xc_tst_str" >/dev/null 2>&1`) && xc_tst_str='success' case "x$xc_tst_str" in @%:@ (( xsuccess) : ;; *) # Try built-in echo, and fail. echo "$xc_msg_err 'echo' command not found. $xc_msg_abrt" >&2 exit 1 ;; esac ]) m4trace:m4/zz40-xc-ovr.m4:120: -1- AC_DEFUN([_XC_CFG_PRE_BASIC_CHK_CMD_TEST], [dnl AC_REQUIRE([_XC_CFG_PRE_BASIC_CHK_CMD_ECHO])dnl # # Verify that 'test' command is available, otherwise abort. # xc_tst_str='unknown' (`test -n "$xc_tst_str" >/dev/null 2>&1`) && xc_tst_str='success' case "x$xc_tst_str" in @%:@ (( xsuccess) : ;; *) echo "$xc_msg_err 'test' command not found. $xc_msg_abrt" >&2 exit 1 ;; esac ]) m4trace:m4/zz40-xc-ovr.m4:148: -1- AC_DEFUN([_XC_CFG_PRE_BASIC_CHK_VAR_PATH], [dnl AC_REQUIRE([_XC_CFG_PRE_BASIC_CHK_CMD_TEST])dnl # # Verify that 'PATH' variable is set, otherwise abort. # xc_tst_str='unknown' (`test -n "$PATH" >/dev/null 2>&1`) && xc_tst_str='success' case "x$xc_tst_str" in @%:@ (( xsuccess) : ;; *) echo "$xc_msg_err 'PATH' variable not set. $xc_msg_abrt" >&2 exit 1 ;; esac ]) m4trace:m4/zz40-xc-ovr.m4:176: -1- AC_DEFUN([_XC_CFG_PRE_BASIC_CHK_CMD_EXPR], [dnl AC_REQUIRE([_XC_CFG_PRE_BASIC_CHK_VAR_PATH])dnl # # Verify that 'expr' command is available, otherwise abort. # xc_tst_str='unknown' xc_tst_str=`expr "$xc_tst_str" : '.*' 2>/dev/null` case "x$xc_tst_str" in @%:@ (( x7) : ;; *) echo "$xc_msg_err 'expr' command not found. $xc_msg_abrt" >&2 exit 1 ;; esac ]) m4trace:m4/zz40-xc-ovr.m4:208: -1- AC_DEFUN([_XC_CFG_PRE_BASIC_CHK_UTIL_SED], [dnl AC_REQUIRE([_XC_CFG_PRE_BASIC_CHK_VAR_PATH])dnl # # Verify that 'sed' utility is found within 'PATH', otherwise abort. # xc_tst_str='unknown' xc_tst_str=`echo "$xc_tst_str" 2>/dev/null \ | sed -e 's:unknown:success:' 2>/dev/null` case "x$xc_tst_str" in @%:@ (( xsuccess) : ;; *) echo "$xc_msg_err 'sed' utility not found in 'PATH'. $xc_msg_abrt" >&2 exit 1 ;; esac ]) m4trace:m4/zz40-xc-ovr.m4:241: -1- AC_DEFUN([_XC_CFG_PRE_BASIC_CHK_UTIL_GREP], [dnl AC_REQUIRE([_XC_CFG_PRE_BASIC_CHK_VAR_PATH])dnl # # Verify that 'grep' utility is found within 'PATH', otherwise abort. # xc_tst_str='unknown' (`echo "$xc_tst_str" 2>/dev/null \ | grep 'unknown' >/dev/null 2>&1`) && xc_tst_str='success' case "x$xc_tst_str" in @%:@ (( xsuccess) : ;; *) echo "$xc_msg_err 'grep' utility not found in 'PATH'. $xc_msg_abrt" >&2 exit 1 ;; esac ]) m4trace:m4/zz40-xc-ovr.m4:270: -1- AC_DEFUN([_XC_CFG_PRE_BASIC_CHK_UTIL_TR], [dnl AC_REQUIRE([_XC_CFG_PRE_BASIC_CHK_VAR_PATH])dnl # # Verify that 'tr' utility is found within 'PATH', otherwise abort. # xc_tst_str="${xc_tab}98s7u6c5c4e3s2s10" xc_tst_str=`echo "$xc_tst_str" 2>/dev/null \ | tr -d "0123456789$xc_tab" 2>/dev/null` case "x$xc_tst_str" in @%:@ (( xsuccess) : ;; *) echo "$xc_msg_err 'tr' utility not found in 'PATH'. $xc_msg_abrt" >&2 exit 1 ;; esac ]) m4trace:m4/zz40-xc-ovr.m4:299: -1- AC_DEFUN([_XC_CFG_PRE_BASIC_CHK_UTIL_WC], [dnl AC_REQUIRE([_XC_CFG_PRE_BASIC_CHK_UTIL_TR])dnl # # Verify that 'wc' utility is found within 'PATH', otherwise abort. # xc_tst_str='unknown unknown unknown unknown' xc_tst_str=`echo "$xc_tst_str" 2>/dev/null \ | wc -w 2>/dev/null | tr -d "$xc_space$xc_tab" 2>/dev/null` case "x$xc_tst_str" in @%:@ (( x4) : ;; *) echo "$xc_msg_err 'wc' utility not found in 'PATH'. $xc_msg_abrt" >&2 exit 1 ;; esac ]) m4trace:m4/zz40-xc-ovr.m4:328: -1- AC_DEFUN([_XC_CFG_PRE_BASIC_CHK_UTIL_CAT], [dnl AC_REQUIRE([_XC_CFG_PRE_BASIC_CHK_UTIL_WC])dnl # # Verify that 'cat' utility is found within 'PATH', otherwise abort. # xc_tst_str='unknown' xc_tst_str=`cat <<_EOT 2>/dev/null \ | wc -l 2>/dev/null | tr -d "$xc_space$xc_tab" 2>/dev/null unknown unknown unknown _EOT` case "x$xc_tst_str" in @%:@ (( x3) : ;; *) echo "$xc_msg_err 'cat' utility not found in 'PATH'. $xc_msg_abrt" >&2 exit 1 ;; esac ]) m4trace:m4/zz40-xc-ovr.m4:369: -1- AC_DEFUN([_XC_CFG_PRE_CHECK_PATH_SEPARATOR], [dnl AC_REQUIRE([_XC_CFG_PRE_BASIC_CHK_CMD_EXPR])dnl # # Auto-detect and set 'PATH_SEPARATOR', unless it is already non-empty set. # # Directory count in 'PATH' when using a colon separator. xc_tst_dirs_col='x' xc_tst_prev_IFS=$IFS; IFS=':' for xc_tst_dir in $PATH; do IFS=$xc_tst_prev_IFS xc_tst_dirs_col="x$xc_tst_dirs_col" done IFS=$xc_tst_prev_IFS xc_tst_dirs_col=`expr "$xc_tst_dirs_col" : '.*'` # Directory count in 'PATH' when using a semicolon separator. xc_tst_dirs_sem='x' xc_tst_prev_IFS=$IFS; IFS=';' for xc_tst_dir in $PATH; do IFS=$xc_tst_prev_IFS xc_tst_dirs_sem="x$xc_tst_dirs_sem" done IFS=$xc_tst_prev_IFS xc_tst_dirs_sem=`expr "$xc_tst_dirs_sem" : '.*'` if test $xc_tst_dirs_sem -eq $xc_tst_dirs_col; then # When both counting methods give the same result we do not want to # chose one over the other, and consider auto-detection not possible. if test -z "$PATH_SEPARATOR"; then # User should provide the correct 'PATH_SEPARATOR' definition. # Until then, guess that it is colon! echo "$xc_msg_warn path separator not determined, guessing colon" >&2 PATH_SEPARATOR=':' fi else # Separator with the greater directory count is the auto-detected one. if test $xc_tst_dirs_sem -gt $xc_tst_dirs_col; then xc_tst_auto_separator=';' else xc_tst_auto_separator=':' fi if test -z "$PATH_SEPARATOR"; then # Simply use the auto-detected one when not already set. PATH_SEPARATOR=$xc_tst_auto_separator elif test "x$PATH_SEPARATOR" != "x$xc_tst_auto_separator"; then echo "$xc_msg_warn 'PATH_SEPARATOR' does not match auto-detected one." >&2 fi fi xc_PATH_SEPARATOR=$PATH_SEPARATOR AC_SUBST([PATH_SEPARATOR])dnl ]) m4trace:m4/zz40-xc-ovr.m4:428: -1- AC_DEFUN([_XC_CFG_PRE_POSTLUDE], [dnl AC_REQUIRE([_XC_CFG_PRE_PREAMBLE])dnl AC_REQUIRE([_XC_CFG_PRE_BASIC_CHK_CMD_ECHO])dnl AC_REQUIRE([_XC_CFG_PRE_BASIC_CHK_CMD_TEST])dnl AC_REQUIRE([_XC_CFG_PRE_BASIC_CHK_VAR_PATH])dnl AC_REQUIRE([_XC_CFG_PRE_BASIC_CHK_CMD_EXPR])dnl AC_REQUIRE([_XC_CFG_PRE_BASIC_CHK_UTIL_SED])dnl AC_REQUIRE([_XC_CFG_PRE_BASIC_CHK_UTIL_GREP])dnl AC_REQUIRE([_XC_CFG_PRE_BASIC_CHK_UTIL_TR])dnl AC_REQUIRE([_XC_CFG_PRE_BASIC_CHK_UTIL_WC])dnl AC_REQUIRE([_XC_CFG_PRE_BASIC_CHK_UTIL_CAT])dnl AC_REQUIRE([_XC_CFG_PRE_CHECK_PATH_SEPARATOR])dnl dnl xc_configure_preamble_result='yes' ]) m4trace:m4/zz40-xc-ovr.m4:473: -1- AC_DEFUN([XC_CONFIGURE_PREAMBLE], [dnl AC_PREREQ([2.50])dnl dnl AC_BEFORE([$0],[_XC_CFG_PRE_PREAMBLE])dnl AC_BEFORE([$0],[_XC_CFG_PRE_BASIC_CHK_CMD_ECHO])dnl AC_BEFORE([$0],[_XC_CFG_PRE_BASIC_CHK_CMD_TEST])dnl AC_BEFORE([$0],[_XC_CFG_PRE_BASIC_CHK_VAR_PATH])dnl AC_BEFORE([$0],[_XC_CFG_PRE_BASIC_CHK_CMD_EXPR])dnl AC_BEFORE([$0],[_XC_CFG_PRE_BASIC_CHK_UTIL_SED])dnl AC_BEFORE([$0],[_XC_CFG_PRE_BASIC_CHK_UTIL_GREP])dnl AC_BEFORE([$0],[_XC_CFG_PRE_BASIC_CHK_UTIL_TR])dnl AC_BEFORE([$0],[_XC_CFG_PRE_BASIC_CHK_UTIL_WC])dnl AC_BEFORE([$0],[_XC_CFG_PRE_BASIC_CHK_UTIL_CAT])dnl AC_BEFORE([$0],[_XC_CFG_PRE_CHECK_PATH_SEPARATOR])dnl AC_BEFORE([$0],[_XC_CFG_PRE_POSTLUDE])dnl dnl AC_BEFORE([$0],[AC_CHECK_TOOL])dnl AC_BEFORE([$0],[AC_CHECK_PROG])dnl AC_BEFORE([$0],[AC_CHECK_TOOLS])dnl AC_BEFORE([$0],[AC_CHECK_PROGS])dnl dnl AC_BEFORE([$0],[AC_PATH_TOOL])dnl AC_BEFORE([$0],[AC_PATH_PROG])dnl AC_BEFORE([$0],[AC_PATH_PROGS])dnl dnl AC_BEFORE([$0],[AC_PROG_SED])dnl AC_BEFORE([$0],[AC_PROG_GREP])dnl AC_BEFORE([$0],[AC_PROG_LN_S])dnl AC_BEFORE([$0],[AC_PROG_MKDIR_P])dnl AC_BEFORE([$0],[AC_PROG_INSTALL])dnl AC_BEFORE([$0],[AC_PROG_MAKE_SET])dnl AC_BEFORE([$0],[AC_PROG_LIBTOOL])dnl dnl AC_BEFORE([$0],[LT_INIT])dnl AC_BEFORE([$0],[AM_INIT_AUTOMAKE])dnl AC_BEFORE([$0],[AC_LIBTOOL_WIN32_DLL])dnl dnl AC_REQUIRE([_XC_CFG_PRE_PREAMBLE])dnl AC_REQUIRE([_XC_CFG_PRE_BASIC_CHK_CMD_ECHO])dnl AC_REQUIRE([_XC_CFG_PRE_BASIC_CHK_CMD_TEST])dnl AC_REQUIRE([_XC_CFG_PRE_BASIC_CHK_VAR_PATH])dnl AC_REQUIRE([_XC_CFG_PRE_BASIC_CHK_CMD_EXPR])dnl AC_REQUIRE([_XC_CFG_PRE_BASIC_CHK_UTIL_SED])dnl AC_REQUIRE([_XC_CFG_PRE_BASIC_CHK_UTIL_GREP])dnl AC_REQUIRE([_XC_CFG_PRE_BASIC_CHK_UTIL_TR])dnl AC_REQUIRE([_XC_CFG_PRE_BASIC_CHK_UTIL_WC])dnl AC_REQUIRE([_XC_CFG_PRE_BASIC_CHK_UTIL_CAT])dnl AC_REQUIRE([_XC_CFG_PRE_CHECK_PATH_SEPARATOR])dnl AC_REQUIRE([_XC_CFG_PRE_POSTLUDE])dnl dnl m4_pattern_forbid([^_*XC])dnl m4_define([$0],[])dnl ]) m4trace:m4/zz40-xc-ovr.m4:612: -1- AC_DEFUN([XC_CHECK_PATH_SEPARATOR], [dnl AC_PREREQ([2.50])dnl dnl AC_BEFORE([$0],[AC_CHECK_TOOL])dnl AC_BEFORE([$0],[AC_CHECK_PROG])dnl AC_BEFORE([$0],[AC_CHECK_TOOLS])dnl AC_BEFORE([$0],[AC_CHECK_PROGS])dnl dnl AC_BEFORE([$0],[AC_PATH_TOOL])dnl AC_BEFORE([$0],[AC_PATH_PROG])dnl AC_BEFORE([$0],[AC_PATH_PROGS])dnl dnl AC_BEFORE([$0],[AC_PROG_SED])dnl AC_BEFORE([$0],[AC_PROG_GREP])dnl AC_BEFORE([$0],[AC_PROG_LN_S])dnl AC_BEFORE([$0],[AC_PROG_MKDIR_P])dnl AC_BEFORE([$0],[AC_PROG_INSTALL])dnl AC_BEFORE([$0],[AC_PROG_MAKE_SET])dnl AC_BEFORE([$0],[AC_PROG_LIBTOOL])dnl dnl AC_BEFORE([$0],[LT_INIT])dnl AC_BEFORE([$0],[AM_INIT_AUTOMAKE])dnl AC_BEFORE([$0],[AC_LIBTOOL_WIN32_DLL])dnl dnl AC_REQUIRE([XC_CONFIGURE_PREAMBLE])dnl dnl # # Check that 'XC_CONFIGURE_PREAMBLE' has already run. # if test -z "$xc_configure_preamble_result"; then AC_MSG_ERROR([xc_configure_preamble_result not set (internal problem)]) fi # # Check that 'PATH_SEPARATOR' has already been set. # if test -z "$xc_PATH_SEPARATOR"; then AC_MSG_ERROR([xc_PATH_SEPARATOR not set (internal problem)]) fi if test -z "$PATH_SEPARATOR"; then AC_MSG_ERROR([PATH_SEPARATOR not set (internal or config.site problem)]) fi AC_MSG_CHECKING([for path separator]) AC_MSG_RESULT([$PATH_SEPARATOR]) if test "x$PATH_SEPARATOR" != "x$xc_PATH_SEPARATOR"; then AC_MSG_CHECKING([for initial path separator]) AC_MSG_RESULT([$xc_PATH_SEPARATOR]) AC_MSG_ERROR([path separator mismatch (internal or config.site problem)]) fi dnl m4_pattern_forbid([^_*XC])dnl m4_define([$0],[])dnl ]) m4trace:m4/zz50-xc-ovr.m4:60: -1- AC_DEFUN([XC_OVR_ZZ50], [AC_BEFORE([$0],[AC_PROG_LIBTOOL])]) m4trace:m4/zz60-xc-ovr.m4:56: -1- AC_DEFUN([XC_OVR_ZZ60], [dnl AC_BEFORE([$0],[LT_INIT])dnl AC_BEFORE([$0],[AM_INIT_AUTOMAKE])dnl AC_BEFORE([$0],[AC_LIBTOOL_WIN32_DLL])dnl AC_BEFORE([$0],[AC_PROG_LIBTOOL])dnl dnl AC_BEFORE([$0],[AC_CONFIG_MACRO_DIR])dnl AC_BEFORE([$0],[AC_CONFIG_MACRO_DIRS])dnl ]) m4trace:acinclude.m4:34: -1- AC_DEFUN([CURL_CHECK_DEF], [ AC_REQUIRE([CURL_CPP_P])dnl OLDCPPFLAGS=$CPPFLAGS # CPPPFLAG comes from CURL_CPP_P CPPFLAGS="$CPPFLAGS $CPPPFLAG" AS_VAR_PUSHDEF([ac_HaveDef], [curl_cv_have_def_$1])dnl AS_VAR_PUSHDEF([ac_Def], [curl_cv_def_$1])dnl if test -z "$SED"; then AC_MSG_ERROR([SED not set. Cannot continue without SED being set.]) fi if test -z "$GREP"; then AC_MSG_ERROR([GREP not set. Cannot continue without GREP being set.]) fi ifelse($3,,[AC_MSG_CHECKING([for preprocessor definition of $1])]) tmp_exp="" AC_PREPROC_IFELSE([ AC_LANG_SOURCE( ifelse($2,,,[$2])[[ #ifdef $1 CURL_DEF_TOKEN $1 #endif ]]) ],[ tmp_exp=`eval "$ac_cpp conftest.$ac_ext" 2>/dev/null | \ "$GREP" CURL_DEF_TOKEN 2>/dev/null | \ "$SED" 's/.*CURL_DEF_TOKEN[[ ]][[ ]]*//' 2>/dev/null | \ "$SED" 's/[["]][[ ]]*[["]]//g' 2>/dev/null` if test -z "$tmp_exp" || test "$tmp_exp" = "$1"; then tmp_exp="" fi ]) if test -z "$tmp_exp"; then AS_VAR_SET(ac_HaveDef, no) ifelse($3,,[AC_MSG_RESULT([no])]) else AS_VAR_SET(ac_HaveDef, yes) AS_VAR_SET(ac_Def, $tmp_exp) ifelse($3,,[AC_MSG_RESULT([$tmp_exp])]) fi AS_VAR_POPDEF([ac_Def])dnl AS_VAR_POPDEF([ac_HaveDef])dnl CPPFLAGS=$OLDCPPFLAGS ]) m4trace:acinclude.m4:86: -1- AC_DEFUN([CURL_CHECK_DEF_CC], [ AS_VAR_PUSHDEF([ac_HaveDef], [curl_cv_have_def_$1])dnl ifelse($3,,[AC_MSG_CHECKING([for compiler definition of $1])]) AC_COMPILE_IFELSE([ AC_LANG_SOURCE( ifelse($2,,,[$2])[[ int main (void) { #ifdef $1 return 0; #else #error force compilation error #endif } ]]) ],[ tst_symbol_defined="yes" ],[ tst_symbol_defined="no" ]) if test "$tst_symbol_defined" = "yes"; then AS_VAR_SET(ac_HaveDef, yes) ifelse($3,,[AC_MSG_RESULT([yes])]) else AS_VAR_SET(ac_HaveDef, no) ifelse($3,,[AC_MSG_RESULT([no])]) fi AS_VAR_POPDEF([ac_HaveDef])dnl ]) m4trace:acinclude.m4:121: -1- AC_DEFUN([CURL_CHECK_LIB_XNET], [ AC_MSG_CHECKING([if X/Open network library is required]) tst_lib_xnet_required="no" AC_COMPILE_IFELSE([ AC_LANG_SOURCE([[ int main (void) { #if defined(__hpux) && defined(_XOPEN_SOURCE) && (_XOPEN_SOURCE >= 600) return 0; #elif defined(__hpux) && defined(_XOPEN_SOURCE_EXTENDED) return 0; #else #error force compilation error #endif } ]]) ],[ tst_lib_xnet_required="yes" LIBS="-lxnet $LIBS" ]) AC_MSG_RESULT([$tst_lib_xnet_required]) ]) m4trace:acinclude.m4:151: -1- AC_DEFUN([CURL_CHECK_AIX_ALL_SOURCE], [ AH_VERBATIM([_ALL_SOURCE], [/* Define to 1 if OS is AIX. */ #ifndef _ALL_SOURCE # undef _ALL_SOURCE #endif]) AC_BEFORE([$0], [AC_SYS_LARGEFILE])dnl AC_BEFORE([$0], [CURL_CONFIGURE_REENTRANT])dnl AC_MSG_CHECKING([if OS is AIX (to define _ALL_SOURCE)]) AC_EGREP_CPP([yes_this_is_aix],[ #ifdef _AIX yes_this_is_aix #endif ],[ AC_MSG_RESULT([yes]) AC_DEFINE(_ALL_SOURCE) ],[ AC_MSG_RESULT([no]) ]) ]) m4trace:acinclude.m4:177: -1- AC_DEFUN([CURL_CHECK_NATIVE_WINDOWS], [ AC_CACHE_CHECK([whether build target is a native Windows one], [curl_cv_native_windows], [ AC_COMPILE_IFELSE([ AC_LANG_PROGRAM([[ ]],[[ #ifdef _WIN32 int dummy=1; #else Not a native Windows build target. #endif ]]) ],[ curl_cv_native_windows="yes" ],[ curl_cv_native_windows="no" ]) ]) AM_CONDITIONAL(DOING_NATIVE_WINDOWS, test "x$curl_cv_native_windows" = xyes) ]) m4trace:acinclude.m4:203: -1- AC_DEFUN([CURL_CHECK_HEADER_LBER], [ AC_REQUIRE([CURL_CHECK_NATIVE_WINDOWS])dnl AC_CACHE_CHECK([for lber.h], [curl_cv_header_lber_h], [ AC_COMPILE_IFELSE([ AC_LANG_PROGRAM([[ #undef inline #ifdef _WIN32 #ifndef WIN32_LEAN_AND_MEAN #define WIN32_LEAN_AND_MEAN #endif #include #else #ifdef HAVE_SYS_TYPES_H #include #endif #endif #ifndef NULL #define NULL (void *)0 #endif #include ]],[[ BerValue *bvp = NULL; BerElement *bep = ber_init(bvp); ber_free(bep, 1); ]]) ],[ curl_cv_header_lber_h="yes" ],[ curl_cv_header_lber_h="no" ]) ]) if test "$curl_cv_header_lber_h" = "yes"; then AC_DEFINE_UNQUOTED(HAVE_LBER_H, 1, [Define to 1 if you have the lber.h header file.]) # AC_COMPILE_IFELSE([ AC_LANG_PROGRAM([[ #undef inline #ifdef _WIN32 #ifndef WIN32_LEAN_AND_MEAN #define WIN32_LEAN_AND_MEAN #endif #include #else #ifdef HAVE_SYS_TYPES_H #include #endif #endif #ifndef NULL #define NULL (void *)0 #endif #ifndef LDAP_DEPRECATED #define LDAP_DEPRECATED 1 #endif #include ]],[[ BerValue *bvp = NULL; BerElement *bep = ber_init(bvp); ber_free(bep, 1); ]]) ],[ curl_cv_need_header_lber_h="no" ],[ curl_cv_need_header_lber_h="yes" ]) # case "$curl_cv_need_header_lber_h" in yes) AC_DEFINE_UNQUOTED(NEED_LBER_H, 1, [Define to 1 if you need the lber.h header file even with ldap.h]) ;; esac fi ]) m4trace:acinclude.m4:283: -1- AC_DEFUN([CURL_CHECK_HEADER_LDAP], [ AC_REQUIRE([CURL_CHECK_HEADER_LBER])dnl AC_CACHE_CHECK([for ldap.h], [curl_cv_header_ldap_h], [ AC_COMPILE_IFELSE([ AC_LANG_PROGRAM([[ #undef inline #ifdef _WIN32 #ifndef WIN32_LEAN_AND_MEAN #define WIN32_LEAN_AND_MEAN #endif #include #else #ifdef HAVE_SYS_TYPES_H #include #endif #endif #ifndef LDAP_DEPRECATED #define LDAP_DEPRECATED 1 #endif #ifdef NEED_LBER_H #include #endif #include ]],[[ LDAP *ldp = ldap_init("0.0.0.0", LDAP_PORT); int res = ldap_unbind(ldp); ]]) ],[ curl_cv_header_ldap_h="yes" ],[ curl_cv_header_ldap_h="no" ]) ]) case "$curl_cv_header_ldap_h" in yes) AC_DEFINE_UNQUOTED(HAVE_LDAP_H, 1, [Define to 1 if you have the ldap.h header file.]) ;; esac ]) m4trace:acinclude.m4:329: -1- AC_DEFUN([CURL_CHECK_HEADER_LDAP_SSL], [ AC_REQUIRE([CURL_CHECK_HEADER_LDAP])dnl AC_CACHE_CHECK([for ldap_ssl.h], [curl_cv_header_ldap_ssl_h], [ AC_COMPILE_IFELSE([ AC_LANG_PROGRAM([[ #undef inline #ifdef _WIN32 #ifndef WIN32_LEAN_AND_MEAN #define WIN32_LEAN_AND_MEAN #endif #include #else #ifdef HAVE_SYS_TYPES_H #include #endif #endif #ifndef LDAP_DEPRECATED #define LDAP_DEPRECATED 1 #endif #ifdef NEED_LBER_H #include #endif #ifdef HAVE_LDAP_H #include #endif #include ]],[[ LDAP *ldp = ldapssl_init("0.0.0.0", LDAPS_PORT, 1); ]]) ],[ curl_cv_header_ldap_ssl_h="yes" ],[ curl_cv_header_ldap_ssl_h="no" ]) ]) case "$curl_cv_header_ldap_ssl_h" in yes) AC_DEFINE_UNQUOTED(HAVE_LDAP_SSL_H, 1, [Define to 1 if you have the ldap_ssl.h header file.]) ;; esac ]) m4trace:acinclude.m4:381: -1- AC_DEFUN([CURL_CHECK_LIBS_WINLDAP], [ AC_REQUIRE([CURL_CHECK_HEADER_WINBER])dnl # AC_MSG_CHECKING([for WINLDAP libraries]) # u_libs="" # ifelse($1,,,[ for x_lib in $1; do case "$x_lib" in -l*) l_lib="$x_lib" ;; *) l_lib="-l$x_lib" ;; esac if test -z "$u_libs"; then u_libs="$l_lib" else u_libs="$u_libs $l_lib" fi done ]) # curl_cv_save_LIBS="$LIBS" curl_cv_ldap_LIBS="unknown" # for x_nlibs in '' "$u_libs" \ '-lwldap32' ; do if test "$curl_cv_ldap_LIBS" = "unknown"; then if test -z "$x_nlibs"; then LIBS="$curl_cv_save_LIBS" else LIBS="$x_nlibs $curl_cv_save_LIBS" fi AC_LINK_IFELSE([ AC_LANG_PROGRAM([[ #undef inline #ifdef _WIN32 #ifndef WIN32_LEAN_AND_MEAN #define WIN32_LEAN_AND_MEAN #endif #include #include #ifdef HAVE_WINBER_H #include #endif #endif ]],[[ BERVAL *bvp = NULL; BerElement *bep = ber_init(bvp); LDAP *ldp = ldap_init("0.0.0.0", LDAP_PORT); ULONG res = ldap_unbind(ldp); ber_free(bep, 1); ]]) ],[ curl_cv_ldap_LIBS="$x_nlibs" ]) fi done # LIBS="$curl_cv_save_LIBS" # case X-"$curl_cv_ldap_LIBS" in X-unknown) AC_MSG_RESULT([cannot find WINLDAP libraries]) ;; X-) AC_MSG_RESULT([no additional lib required]) ;; *) if test -z "$curl_cv_save_LIBS"; then LIBS="$curl_cv_ldap_LIBS" else LIBS="$curl_cv_ldap_LIBS $curl_cv_save_LIBS" fi AC_MSG_RESULT([$curl_cv_ldap_LIBS]) ;; esac # ]) m4trace:acinclude.m4:473: -1- AC_DEFUN([CURL_CHECK_LIBS_LDAP], [ AC_REQUIRE([CURL_CHECK_HEADER_LDAP])dnl # AC_MSG_CHECKING([for LDAP libraries]) # u_libs="" # ifelse($1,,,[ for x_lib in $1; do case "$x_lib" in -l*) l_lib="$x_lib" ;; *) l_lib="-l$x_lib" ;; esac if test -z "$u_libs"; then u_libs="$l_lib" else u_libs="$u_libs $l_lib" fi done ]) # curl_cv_save_LIBS="$LIBS" curl_cv_ldap_LIBS="unknown" # for x_nlibs in '' "$u_libs" \ '-lldap' \ '-lldap -llber' \ '-llber -lldap' \ '-lldapssl -lldapx -lldapsdk' \ '-lldapsdk -lldapx -lldapssl' \ '-lldap -llber -lssl -lcrypto' ; do if test "$curl_cv_ldap_LIBS" = "unknown"; then if test -z "$x_nlibs"; then LIBS="$curl_cv_save_LIBS" else LIBS="$x_nlibs $curl_cv_save_LIBS" fi AC_LINK_IFELSE([ AC_LANG_PROGRAM([[ #undef inline #ifdef _WIN32 #ifndef WIN32_LEAN_AND_MEAN #define WIN32_LEAN_AND_MEAN #endif #include #else #ifdef HAVE_SYS_TYPES_H #include #endif #endif #ifndef NULL #define NULL (void *)0 #endif #ifndef LDAP_DEPRECATED #define LDAP_DEPRECATED 1 #endif #ifdef NEED_LBER_H #include #endif #ifdef HAVE_LDAP_H #include #endif ]],[[ BerValue *bvp = NULL; BerElement *bep = ber_init(bvp); LDAP *ldp = ldap_init("0.0.0.0", LDAP_PORT); int res = ldap_unbind(ldp); ber_free(bep, 1); ]]) ],[ curl_cv_ldap_LIBS="$x_nlibs" ]) fi done # LIBS="$curl_cv_save_LIBS" # case X-"$curl_cv_ldap_LIBS" in X-unknown) AC_MSG_RESULT([cannot find LDAP libraries]) ;; X-) AC_MSG_RESULT([no additional lib required]) ;; *) if test -z "$curl_cv_save_LIBS"; then LIBS="$curl_cv_ldap_LIBS" else LIBS="$curl_cv_ldap_LIBS $curl_cv_save_LIBS" fi AC_MSG_RESULT([$curl_cv_ldap_LIBS]) ;; esac # ]) m4trace:acinclude.m4:580: -1- AC_DEFUN([TYPE_SOCKADDR_STORAGE], [ AC_CHECK_TYPE([struct sockaddr_storage], AC_DEFINE(HAVE_STRUCT_SOCKADDR_STORAGE, 1, [if struct sockaddr_storage is defined]), , [ #undef inline #ifdef _WIN32 #ifndef WIN32_LEAN_AND_MEAN #define WIN32_LEAN_AND_MEAN #endif #include #else #ifdef HAVE_SYS_TYPES_H #include #endif #ifdef HAVE_SYS_SOCKET_H #include #endif #ifdef HAVE_NETINET_IN_H #include #endif #ifdef HAVE_ARPA_INET_H #include #endif #endif ]) ]) m4trace:acinclude.m4:613: -1- AC_DEFUN([CURL_CHECK_FUNC_RECV], [ AC_REQUIRE([CURL_CHECK_NATIVE_WINDOWS])dnl AC_REQUIRE([CURL_INCLUDES_BSDSOCKET])dnl AC_CHECK_HEADERS(sys/types.h sys/socket.h) # AC_MSG_CHECKING([for recv]) AC_LINK_IFELSE([ AC_LANG_PROGRAM([[ #undef inline #ifdef _WIN32 #ifndef WIN32_LEAN_AND_MEAN #define WIN32_LEAN_AND_MEAN #endif #include #else $curl_includes_bsdsocket #ifdef HAVE_SYS_TYPES_H #include #endif #ifdef HAVE_SYS_SOCKET_H #include #endif #endif ]],[[ recv(0, 0, 0, 0); ]]) ],[ AC_MSG_RESULT([yes]) curl_cv_recv="yes" ],[ AC_MSG_RESULT([no]) curl_cv_recv="no" ]) # if test "$curl_cv_recv" = "yes"; then AC_DEFINE_UNQUOTED(HAVE_RECV, 1, [Define to 1 if you have the recv function.]) curl_cv_func_recv="yes" else AC_MSG_ERROR([Unable to link function recv]) fi ]) m4trace:acinclude.m4:661: -1- AC_DEFUN([CURL_CHECK_FUNC_SEND], [ AC_REQUIRE([CURL_CHECK_NATIVE_WINDOWS])dnl AC_REQUIRE([CURL_INCLUDES_BSDSOCKET])dnl AC_CHECK_HEADERS(sys/types.h sys/socket.h) # AC_MSG_CHECKING([for send]) AC_LINK_IFELSE([ AC_LANG_PROGRAM([[ #undef inline #ifdef _WIN32 #ifndef WIN32_LEAN_AND_MEAN #define WIN32_LEAN_AND_MEAN #endif #include #else $curl_includes_bsdsocket #ifdef HAVE_SYS_TYPES_H #include #endif #ifdef HAVE_SYS_SOCKET_H #include #endif #endif ]],[[ send(0, 0, 0, 0); ]]) ],[ AC_MSG_RESULT([yes]) curl_cv_send="yes" ],[ AC_MSG_RESULT([no]) curl_cv_send="no" ]) # if test "$curl_cv_send" = "yes"; then AC_DEFINE_UNQUOTED(HAVE_SEND, 1, [Define to 1 if you have the send function.]) curl_cv_func_send="yes" else AC_MSG_ERROR([Unable to link function send]) fi ]) m4trace:acinclude.m4:708: -1- AC_DEFUN([CURL_CHECK_MSG_NOSIGNAL], [ AC_CHECK_HEADERS(sys/types.h sys/socket.h) AC_CACHE_CHECK([for MSG_NOSIGNAL], [curl_cv_msg_nosignal], [ AC_COMPILE_IFELSE([ AC_LANG_PROGRAM([[ #undef inline #ifdef _WIN32 #ifndef WIN32_LEAN_AND_MEAN #define WIN32_LEAN_AND_MEAN #endif #include #else #ifdef HAVE_SYS_TYPES_H #include #endif #ifdef HAVE_SYS_SOCKET_H #include #endif #endif ]],[[ int flag=MSG_NOSIGNAL; ]]) ],[ curl_cv_msg_nosignal="yes" ],[ curl_cv_msg_nosignal="no" ]) ]) case "$curl_cv_msg_nosignal" in yes) AC_DEFINE_UNQUOTED(HAVE_MSG_NOSIGNAL, 1, [Define to 1 if you have the MSG_NOSIGNAL flag.]) ;; esac ]) m4trace:acinclude.m4:749: -1- AC_DEFUN([CURL_CHECK_STRUCT_TIMEVAL], [ AC_REQUIRE([CURL_CHECK_NATIVE_WINDOWS])dnl AC_CHECK_HEADERS(sys/types.h sys/time.h sys/socket.h) AC_CACHE_CHECK([for struct timeval], [curl_cv_struct_timeval], [ AC_COMPILE_IFELSE([ AC_LANG_PROGRAM([[ #undef inline #ifdef _WIN32 #ifndef WIN32_LEAN_AND_MEAN #define WIN32_LEAN_AND_MEAN #endif #include #endif #ifdef HAVE_SYS_TYPES_H #include #endif #ifdef HAVE_SYS_TIME_H #include #endif #include #ifdef HAVE_SYS_SOCKET_H #include #endif ]],[[ struct timeval ts; ts.tv_sec = 0; ts.tv_usec = 0; ]]) ],[ curl_cv_struct_timeval="yes" ],[ curl_cv_struct_timeval="no" ]) ]) case "$curl_cv_struct_timeval" in yes) AC_DEFINE_UNQUOTED(HAVE_STRUCT_TIMEVAL, 1, [Define to 1 if you have the timeval struct.]) ;; esac ]) m4trace:acinclude.m4:797: -1- AC_DEFUN([TYPE_IN_ADDR_T], [ AC_CHECK_TYPE([in_addr_t], ,[ dnl in_addr_t not available AC_CACHE_CHECK([for in_addr_t equivalent], [curl_cv_in_addr_t_equiv], [ curl_cv_in_addr_t_equiv="unknown" for t in "unsigned long" int size_t unsigned long; do if test "$curl_cv_in_addr_t_equiv" = "unknown"; then AC_LINK_IFELSE([ AC_LANG_PROGRAM([[ #undef inline #ifdef _WIN32 #ifndef WIN32_LEAN_AND_MEAN #define WIN32_LEAN_AND_MEAN #endif #include #else #ifdef HAVE_SYS_TYPES_H #include #endif #ifdef HAVE_SYS_SOCKET_H #include #endif #ifdef HAVE_NETINET_IN_H #include #endif #ifdef HAVE_ARPA_INET_H #include #endif #endif ]],[[ $t data = inet_addr ("1.2.3.4"); ]]) ],[ curl_cv_in_addr_t_equiv="$t" ]) fi done ]) case "$curl_cv_in_addr_t_equiv" in unknown) AC_MSG_ERROR([Cannot find a type to use in place of in_addr_t]) ;; *) AC_DEFINE_UNQUOTED(in_addr_t, $curl_cv_in_addr_t_equiv, [Type to use in place of in_addr_t when system does not provide it.]) ;; esac ],[ #undef inline #ifdef _WIN32 #ifndef WIN32_LEAN_AND_MEAN #define WIN32_LEAN_AND_MEAN #endif #include #else #ifdef HAVE_SYS_TYPES_H #include #endif #ifdef HAVE_SYS_SOCKET_H #include #endif #ifdef HAVE_NETINET_IN_H #include #endif #ifdef HAVE_ARPA_INET_H #include #endif #endif ]) ]) m4trace:acinclude.m4:874: -1- AC_DEFUN([CURL_CHECK_FUNC_CLOCK_GETTIME_MONOTONIC], [ AC_CHECK_HEADERS(sys/types.h sys/time.h) AC_MSG_CHECKING([for monotonic clock_gettime]) # if test "x$dontwant_rt" = "xno" ; then AC_COMPILE_IFELSE([ AC_LANG_PROGRAM([[ #ifdef HAVE_SYS_TYPES_H #include #endif #ifdef HAVE_SYS_TIME_H #include #endif #include ]],[[ struct timespec ts; (void)clock_gettime(CLOCK_MONOTONIC, &ts); ]]) ],[ AC_MSG_RESULT([yes]) curl_func_clock_gettime="yes" ],[ AC_MSG_RESULT([no]) curl_func_clock_gettime="no" ]) fi dnl Definition of HAVE_CLOCK_GETTIME_MONOTONIC is intentionally postponed dnl until library linking and run-time checks for clock_gettime succeed. ]) m4trace:acinclude.m4:908: -1- AC_DEFUN([CURL_CHECK_FUNC_CLOCK_GETTIME_MONOTONIC_RAW], [ AC_CHECK_HEADERS(sys/types.h sys/time.h) AC_MSG_CHECKING([for raw monotonic clock_gettime]) # if test "x$dontwant_rt" = "xno" ; then AC_COMPILE_IFELSE([ AC_LANG_PROGRAM([[ #ifdef HAVE_SYS_TYPES_H #include #endif #ifdef HAVE_SYS_TIME_H #include #endif #include ]],[[ struct timespec ts; (void)clock_gettime(CLOCK_MONOTONIC_RAW, &ts); ]]) ],[ AC_MSG_RESULT([yes]) AC_DEFINE_UNQUOTED(HAVE_CLOCK_GETTIME_MONOTONIC_RAW, 1, [Define to 1 if you have the clock_gettime function and raw monotonic timer.]) ],[ AC_MSG_RESULT([no]) ]) fi ]) m4trace:acinclude.m4:942: -1- AC_DEFUN([CURL_CHECK_LIBS_CLOCK_GETTIME_MONOTONIC], [ AC_REQUIRE([CURL_CHECK_FUNC_CLOCK_GETTIME_MONOTONIC])dnl # if test "$curl_func_clock_gettime" = "yes"; then # AC_MSG_CHECKING([for clock_gettime in libraries]) # curl_cv_save_LIBS="$LIBS" curl_cv_gclk_LIBS="unknown" # for x_xlibs in '' '-lrt' '-lposix4' ; do if test "$curl_cv_gclk_LIBS" = "unknown"; then if test -z "$x_xlibs"; then LIBS="$curl_cv_save_LIBS" else LIBS="$x_xlibs $curl_cv_save_LIBS" fi AC_LINK_IFELSE([ AC_LANG_PROGRAM([[ #ifdef HAVE_SYS_TYPES_H #include #endif #ifdef HAVE_SYS_TIME_H #include #endif #include ]],[[ struct timespec ts; (void)clock_gettime(CLOCK_MONOTONIC, &ts); ]]) ],[ curl_cv_gclk_LIBS="$x_xlibs" ]) fi done # LIBS="$curl_cv_save_LIBS" # case X-"$curl_cv_gclk_LIBS" in X-unknown) AC_MSG_RESULT([cannot find clock_gettime]) AC_MSG_WARN([HAVE_CLOCK_GETTIME_MONOTONIC will not be defined]) curl_func_clock_gettime="no" ;; X-) AC_MSG_RESULT([no additional lib required]) curl_func_clock_gettime="yes" ;; *) if test -z "$curl_cv_save_LIBS"; then LIBS="$curl_cv_gclk_LIBS" else LIBS="$curl_cv_gclk_LIBS $curl_cv_save_LIBS" fi AC_MSG_RESULT([$curl_cv_gclk_LIBS]) curl_func_clock_gettime="yes" ;; esac # dnl only do runtime verification when not cross-compiling if test "x$cross_compiling" != "xyes" && test "$curl_func_clock_gettime" = "yes"; then AC_MSG_CHECKING([if monotonic clock_gettime works]) CURL_RUN_IFELSE([ AC_LANG_PROGRAM([[ #include #ifdef HAVE_SYS_TYPES_H #include #endif #ifdef HAVE_SYS_TIME_H #include #endif #include ]],[[ struct timespec ts; if (0 == clock_gettime(CLOCK_MONOTONIC, &ts)) exit(0); else exit(1); ]]) ],[ AC_MSG_RESULT([yes]) ],[ AC_MSG_RESULT([no]) AC_MSG_WARN([HAVE_CLOCK_GETTIME_MONOTONIC will not be defined]) curl_func_clock_gettime="no" LIBS="$curl_cv_save_LIBS" ]) fi # case "$curl_func_clock_gettime" in yes) AC_DEFINE_UNQUOTED(HAVE_CLOCK_GETTIME_MONOTONIC, 1, [Define to 1 if you have the clock_gettime function and monotonic timer.]) ;; esac # fi # ]) m4trace:acinclude.m4:1049: -1- AC_DEFUN([CURL_CHECK_LIBS_CONNECT], [ AC_REQUIRE([CURL_INCLUDES_WINSOCK2])dnl AC_REQUIRE([CURL_INCLUDES_BSDSOCKET])dnl AC_MSG_CHECKING([for connect in libraries]) tst_connect_save_LIBS="$LIBS" tst_connect_need_LIBS="unknown" for tst_lib in '' '-lsocket' ; do if test "$tst_connect_need_LIBS" = "unknown"; then LIBS="$tst_lib $tst_connect_save_LIBS" AC_LINK_IFELSE([ AC_LANG_PROGRAM([[ $curl_includes_winsock2 $curl_includes_bsdsocket #if !defined(_WIN32) && !defined(HAVE_PROTO_BSDSOCKET_H) int connect(int, void*, int); #endif ]],[[ if(0 != connect(0, 0, 0)) return 1; ]]) ],[ tst_connect_need_LIBS="$tst_lib" ]) fi done LIBS="$tst_connect_save_LIBS" # case X-"$tst_connect_need_LIBS" in X-unknown) AC_MSG_RESULT([cannot find connect]) AC_MSG_ERROR([cannot find connect function in libraries.]) ;; X-) AC_MSG_RESULT([yes]) ;; *) AC_MSG_RESULT([$tst_connect_need_LIBS]) LIBS="$tst_connect_need_LIBS $tst_connect_save_LIBS" ;; esac ]) m4trace:acinclude.m4:1096: -1- AC_DEFUN([CURL_CHECK_FUNC_SELECT], [ AC_REQUIRE([CURL_CHECK_STRUCT_TIMEVAL])dnl AC_REQUIRE([CURL_INCLUDES_BSDSOCKET])dnl AC_CHECK_HEADERS(sys/select.h sys/socket.h) # AC_MSG_CHECKING([for select]) AC_LINK_IFELSE([ AC_LANG_PROGRAM([[ #undef inline #ifdef _WIN32 #ifndef WIN32_LEAN_AND_MEAN #define WIN32_LEAN_AND_MEAN #endif #include #endif #ifdef HAVE_SYS_TYPES_H #include #endif #ifdef HAVE_SYS_TIME_H #include #endif #include #ifndef _WIN32 #ifdef HAVE_SYS_SELECT_H #include #elif defined(HAVE_UNISTD_H) #include #endif #ifdef HAVE_SYS_SOCKET_H #include #endif $curl_includes_bsdsocket #endif ]],[[ select(0, 0, 0, 0, 0); ]]) ],[ AC_MSG_RESULT([yes]) curl_cv_select="yes" ],[ AC_MSG_RESULT([no]) curl_cv_select="no" ]) # if test "$curl_cv_select" = "yes"; then AC_DEFINE_UNQUOTED(HAVE_SELECT, 1, [Define to 1 if you have the select function.]) curl_cv_func_select="yes" fi ]) m4trace:acinclude.m4:1158: -1- AC_DEFUN([CURL_VERIFY_RUNTIMELIBS], [ dnl this test is of course not sensible if we are cross-compiling! if test "x$cross_compiling" != xyes; then dnl just run a program to verify that the libs checked for previous to this dnl point also is available run-time! AC_MSG_CHECKING([run-time libs availability]) CURL_RUN_IFELSE([ int main() { return 0; } ], AC_MSG_RESULT([fine]), AC_MSG_RESULT([failed]) AC_MSG_ERROR([one or more libs available at link-time are not available run-time. Libs used at link-time: $LIBS]) ) dnl if this test fails, configure has already stopped fi ]) m4trace:acinclude.m4:1194: -1- AC_DEFUN([CURL_CHECK_CA_BUNDLE], [ AC_MSG_CHECKING([default CA cert bundle/path]) AC_ARG_WITH(ca-bundle, AS_HELP_STRING([--with-ca-bundle=FILE], [Path to a file containing CA certificates (example: /etc/ca-bundle.crt)]) AS_HELP_STRING([--without-ca-bundle], [Don't use a default CA bundle]), [ want_ca="$withval" if test "x$want_ca" = "xyes"; then AC_MSG_ERROR([--with-ca-bundle=FILE requires a path to the CA bundle]) fi ], [ want_ca="unset" ]) AC_ARG_WITH(ca-path, AS_HELP_STRING([--with-ca-path=DIRECTORY], [Path to a directory containing CA certificates stored individually, with \ their filenames in a hash format. This option can be used with the OpenSSL, \ GnuTLS, mbedTLS and wolfSSL backends. Refer to OpenSSL c_rehash for details. \ (example: /etc/certificates)]) AS_HELP_STRING([--without-ca-path], [Don't use a default CA path]), [ want_capath="$withval" if test "x$want_capath" = "xyes"; then AC_MSG_ERROR([--with-ca-path=DIRECTORY requires a path to the CA path directory]) fi ], [ want_capath="unset"]) ca_warning=" (warning: certs not found)" capath_warning=" (warning: certs not found)" check_capath="" if test "x$want_ca" != "xno" -a "x$want_ca" != "xunset" -a \ "x$want_capath" != "xno" -a "x$want_capath" != "xunset"; then dnl both given ca="$want_ca" capath="$want_capath" elif test "x$want_ca" != "xno" -a "x$want_ca" != "xunset"; then dnl --with-ca-bundle given ca="$want_ca" capath="no" elif test "x$want_capath" != "xno" -a "x$want_capath" != "xunset"; then dnl --with-ca-path given capath="$want_capath" ca="no" else dnl First try auto-detecting a CA bundle, then a CA path. dnl Both auto-detections can be skipped by --without-ca-* ca="no" capath="no" if test "x$cross_compiling" != "xyes" -a \ "x$curl_cv_native_windows" != "xyes"; then dnl NOT cross-compiling and... dnl neither of the --with-ca-* options are provided if test "x$want_ca" = "xunset"; then dnl the path we previously would have installed the curl CA bundle dnl to, and thus we now check for an already existing cert in that dnl place in case we find no other if test "x$prefix" != xNONE; then cac="${prefix}/share/curl/curl-ca-bundle.crt" else cac="$ac_default_prefix/share/curl/curl-ca-bundle.crt" fi for a in /etc/ssl/certs/ca-certificates.crt \ /etc/pki/tls/certs/ca-bundle.crt \ /usr/share/ssl/certs/ca-bundle.crt \ /usr/local/share/certs/ca-root-nss.crt \ /etc/ssl/cert.pem \ "$cac"; do if test -f "$a"; then ca="$a" break fi done fi AC_MSG_NOTICE([want $want_capath ca $ca]) if test "x$want_capath" = "xunset"; then check_capath="/etc/ssl/certs" fi else dnl no option given and cross-compiling AC_MSG_WARN([skipped the ca-cert path detection when cross-compiling]) fi fi if test "x$ca" = "xno" || test -f "$ca"; then ca_warning="" fi if test "x$capath" != "xno"; then check_capath="$capath" fi if test ! -z "$check_capath"; then for a in "$check_capath"; do if test -d "$a" && ls "$a"/[[0-9a-f][0-9a-f][0-9a-f][0-9a-f][0-9a-f][0-9a-f][0-9a-f][0-9a-f]].0 >/dev/null 2>/dev/null; then if test "x$capath" = "xno"; then capath="$a" fi capath_warning="" break fi done fi if test "x$capath" = "xno"; then capath_warning="" fi if test "x$ca" != "xno"; then CURL_CA_BUNDLE='"'$ca'"' AC_DEFINE_UNQUOTED(CURL_CA_BUNDLE, "$ca", [Location of default ca bundle]) AC_SUBST(CURL_CA_BUNDLE) AC_MSG_RESULT([$ca]) fi if test "x$capath" != "xno"; then CURL_CA_PATH="\"$capath\"" AC_DEFINE_UNQUOTED(CURL_CA_PATH, "$capath", [Location of default ca path]) AC_MSG_RESULT([$capath (capath)]) fi if test "x$ca" = "xno" && test "x$capath" = "xno"; then AC_MSG_RESULT([no]) fi AC_MSG_CHECKING([whether to use built-in CA store of SSL library]) AC_ARG_WITH(ca-fallback, AS_HELP_STRING([--with-ca-fallback], [Use the built-in CA store of the SSL library]) AS_HELP_STRING([--without-ca-fallback], [Don't use the built-in CA store of the SSL library]), [ if test "x$with_ca_fallback" != "xyes" -a "x$with_ca_fallback" != "xno"; then AC_MSG_ERROR([--with-ca-fallback only allows yes or no as parameter]) fi ], [ with_ca_fallback="no"]) AC_MSG_RESULT([$with_ca_fallback]) if test "x$with_ca_fallback" = "xyes"; then if test "x$OPENSSL_ENABLED" != "x1" -a "x$GNUTLS_ENABLED" != "x1"; then AC_MSG_ERROR([--with-ca-fallback only works with OpenSSL or GnuTLS]) fi AC_DEFINE_UNQUOTED(CURL_CA_FALLBACK, 1, [define "1" to use built-in CA store of SSL library ]) fi ]) m4trace:acinclude.m4:1345: -1- AC_DEFUN([CURL_CHECK_CA_EMBED], [ AC_MSG_CHECKING([CA cert bundle path to embed]) AC_ARG_WITH(ca-embed, AS_HELP_STRING([--with-ca-embed=FILE], [Path to a file containing CA certificates (example: /etc/ca-bundle.crt)]) AS_HELP_STRING([--without-ca-embed], [Don't embed a default CA bundle]), [ want_ca_embed="$withval" if test "x$want_ca_embed" = "xyes"; then AC_MSG_ERROR([--with-ca-embed=FILE requires a path to the CA bundle]) fi ], [ want_ca_embed="unset" ]) CURL_CA_EMBED='' if test "x$want_ca_embed" != "xno" -a "x$want_ca_embed" != "xunset" -a -f "$want_ca_embed"; then CURL_CA_EMBED="$want_ca_embed" AC_SUBST(CURL_CA_EMBED) AC_MSG_RESULT([$want_ca_embed]) else AC_MSG_RESULT([no]) fi ]) m4trace:acinclude.m4:1375: -1- AC_DEFUN([CURL_CHECK_WIN32_LARGEFILE], [ AC_REQUIRE([CURL_CHECK_NATIVE_WINDOWS])dnl AC_MSG_CHECKING([whether build target supports Win32 file API]) curl_win32_file_api="no" if test "$curl_cv_native_windows" = "yes"; then if test x"$enable_largefile" != "xno"; then AC_COMPILE_IFELSE([ AC_LANG_PROGRAM([[ ]],[[ #if !defined(_WIN32_WCE) && (defined(__MINGW32__) || defined(_MSC_VER)) int dummy=1; #else Win32 large file API not supported. #endif ]]) ],[ curl_win32_file_api="win32_large_files" ]) fi if test "$curl_win32_file_api" = "no"; then AC_COMPILE_IFELSE([ AC_LANG_PROGRAM([[ ]],[[ #if defined(_WIN32_WCE) || defined(__MINGW32__) || defined(_MSC_VER) int dummy=1; #else Win32 small file API not supported. #endif ]]) ],[ curl_win32_file_api="win32_small_files" ]) fi fi case "$curl_win32_file_api" in win32_large_files) AC_MSG_RESULT([yes (large file enabled)]) AC_DEFINE_UNQUOTED(USE_WIN32_LARGE_FILES, 1, [Define to 1 if you are building a Windows target with large file support.]) AC_SUBST(USE_WIN32_LARGE_FILES, [1]) ;; win32_small_files) AC_MSG_RESULT([yes (large file disabled)]) AC_DEFINE_UNQUOTED(USE_WIN32_SMALL_FILES, 1, [Define to 1 if you are building a Windows target without large file support.]) AC_SUBST(USE_WIN32_SMALL_FILES, [1]) ;; *) AC_MSG_RESULT([no]) ;; esac ]) m4trace:acinclude.m4:1432: -1- AC_DEFUN([CURL_CHECK_WIN32_CRYPTO], [ AC_REQUIRE([CURL_CHECK_NATIVE_WINDOWS])dnl AC_MSG_CHECKING([whether build target supports Win32 crypto API]) curl_win32_crypto_api="no" if test "$curl_cv_native_windows" = "yes"; then AC_COMPILE_IFELSE([ AC_LANG_PROGRAM([[ #undef inline #ifndef WIN32_LEAN_AND_MEAN #define WIN32_LEAN_AND_MEAN #endif #include #include ]],[[ HCRYPTPROV hCryptProv; if(CryptAcquireContext(&hCryptProv, NULL, NULL, PROV_RSA_FULL, CRYPT_VERIFYCONTEXT | CRYPT_SILENT)) { CryptReleaseContext(hCryptProv, 0); } ]]) ],[ curl_win32_crypto_api="yes" ]) fi case "$curl_win32_crypto_api" in yes) AC_MSG_RESULT([yes]) AC_DEFINE_UNQUOTED(USE_WIN32_CRYPTO, 1, [Define to 1 if you are building a Windows target with crypto API support.]) AC_SUBST(USE_WIN32_CRYPTO, [1]) ;; *) AC_MSG_RESULT([no]) ;; esac ]) m4trace:acinclude.m4:1477: -1- AC_DEFUN([CURL_EXPORT_PCDIR], [ if test -n "$1"; then PKG_CONFIG_LIBDIR="$1" export PKG_CONFIG_LIBDIR fi ]) m4trace:acinclude.m4:1495: -1- AC_DEFUN([CURL_CHECK_PKGCONFIG], [ if test -n "$PKG_CONFIG"; then PKGCONFIG="$PKG_CONFIG" else AC_PATH_TOOL([PKGCONFIG], [pkg-config], [no], [$PATH:/usr/bin:/usr/local/bin]) fi if test "x$PKGCONFIG" != "xno"; then AC_MSG_CHECKING([for $1 options with pkg-config]) dnl ask pkg-config about $1 itexists=`CURL_EXPORT_PCDIR([$2]) dnl $PKGCONFIG --exists $1 >/dev/null 2>&1 && echo 1` if test -z "$itexists"; then dnl pkg-config does not have info about the given module! set the dnl variable to 'no' PKGCONFIG="no" AC_MSG_RESULT([no]) else AC_MSG_RESULT([found]) fi fi ]) m4trace:acinclude.m4:1528: -1- AC_DEFUN([CURL_GENERATE_CONFIGUREHELP_PM], [ AC_REQUIRE([AC_PROG_CPP])dnl tmp_cpp=`eval echo "$ac_cpp" 2>/dev/null` if test -z "$tmp_cpp"; then tmp_cpp='cpp' fi cat >./tests/configurehelp.pm <<_EOF [@%:@] This is a generated file. Do not edit. package configurehelp; use strict; use warnings; use Exporter; use vars qw( @ISA @EXPORT_OK \$Cpreprocessor ); @ISA = qw(Exporter); @EXPORT_OK = qw( \$Cpreprocessor ); \$Cpreprocessor = '$tmp_cpp'; 1; _EOF ]) m4trace:acinclude.m4:1566: -1- AC_DEFUN([CURL_GENERATE_BUILDINFO_TXT], [ curl_pflags="" case $host in *-apple-*) curl_pflags="${curl_pflags} APPLE";; esac if test "$curl_cv_native_windows" = 'yes'; then curl_pflags="${curl_pflags} WIN32" else case $host in *-*-*bsd*|*-*-aix*|*-*-hpux*|*-*-interix*|*-*-irix*|*-*-linux*|*-*-solaris*|*-*-sunos*|*-apple-*|*-*-cygwin*|*-*-msys*) curl_pflags="${curl_pflags} UNIX";; esac fi case $host_os in cygwin*|msys*) curl_pflags="${curl_pflags} CYGWIN";; esac case $host_os in msys*) curl_pflags="${curl_pflags} MSYS";; esac if test "x$compiler_id" = 'xGNU_C'; then curl_pflags="${curl_pflags} GCC" fi case $host_os in mingw*) curl_pflags="${curl_pflags} MINGW";; esac if test "x$cross_compiling" = 'xyes'; then curl_pflags="${curl_pflags} CROSS" fi squeeze curl_pflags cat >./tests/buildinfo.txt <<_EOF [@%:@] This is a generated file. Do not edit. configure.tool: configure configure.args: $ac_configure_args host: $build host.os: $build_os host.cpu: $build_cpu host.vendor: $build_vendor target: $host target.os: $host_os target.cpu: $host_cpu target.vendor: $host_vendor target.flags: $curl_pflags compiler: $compiler_id compiler.version: $compiler_num _EOF ]) m4trace:acinclude.m4:1627: -1- AC_DEFUN([CURL_CPP_P], [ AC_MSG_CHECKING([if cpp -P is needed]) AC_EGREP_CPP([TEST.*TEST], [ #include TEST EINVAL TEST ], [cpp=no], [cpp=yes]) AC_MSG_RESULT([$cpp]) dnl we need cpp -P so check if it works then if test "x$cpp" = "xyes"; then AC_MSG_CHECKING([if cpp -P works]) OLDCPPFLAGS=$CPPFLAGS CPPFLAGS="$CPPFLAGS -P" AC_EGREP_CPP([TEST.*TEST], [ #include TEST EINVAL TEST ], [cpp_p=yes], [cpp_p=no]) AC_MSG_RESULT([$cpp_p]) if test "x$cpp_p" = "xno"; then AC_MSG_WARN([failed to figure out cpp -P alternative]) # without -P CPPPFLAG="" else # with -P CPPPFLAG="-P" fi dnl restore CPPFLAGS CPPFLAGS=$OLDCPPFLAGS else # without -P CPPPFLAG="" fi ]) m4trace:acinclude.m4:1669: -1- AC_DEFUN([CURL_DARWIN_CFLAGS], [ tst_cflags="no" case $host_os in darwin*) tst_cflags="yes" ;; esac AC_MSG_CHECKING([for good-to-use Darwin CFLAGS]) AC_MSG_RESULT([$tst_cflags]); if test "$tst_cflags" = "yes"; then old_CFLAGS=$CFLAGS CFLAGS="$CFLAGS -Werror=partial-availability" AC_MSG_CHECKING([whether $CC accepts -Werror=partial-availability]) AC_COMPILE_IFELSE([AC_LANG_PROGRAM()], [AC_MSG_RESULT([yes])], [AC_MSG_RESULT([no]) CFLAGS=$old_CFLAGS]) fi ]) m4trace:acinclude.m4:1702: -1- AC_DEFUN([CURL_SUPPORTS_BUILTIN_AVAILABLE], [ AC_MSG_CHECKING([to see if the compiler supports __builtin_available()]) AC_COMPILE_IFELSE([ AC_LANG_PROGRAM([[ ]],[[ if(__builtin_available(macOS 10.12, iOS 5.0, *)) {} ]]) ],[ AC_MSG_RESULT([yes]) AC_DEFINE_UNQUOTED(HAVE_BUILTIN_AVAILABLE, 1, [Define to 1 if you have the __builtin_available function.]) ],[ AC_MSG_RESULT([no]) ]) ]) m4trace:configure.ac:29: -1- m4_pattern_forbid([^_?A[CHUM]_]) m4trace:configure.ac:29: -1- m4_pattern_forbid([_AC_]) m4trace:configure.ac:29: -1- m4_pattern_forbid([^LIBOBJS$], [do not use LIBOBJS directly, use AC_LIBOBJ (see section `AC_LIBOBJ vs LIBOBJS']) m4trace:configure.ac:29: -1- m4_pattern_allow([^AS_FLAGS$]) m4trace:configure.ac:29: -1- m4_pattern_forbid([^_?m4_]) m4trace:configure.ac:29: -1- m4_pattern_forbid([^dnl$]) m4trace:configure.ac:29: -1- m4_pattern_forbid([^_?AS_]) m4trace:configure.ac:29: -1- XC_CONFIGURE_PREAMBLE m4trace:configure.ac:29: -1- _XC_CFG_PRE_PREAMBLE m4trace:configure.ac:29: -1- _XC_CFG_PRE_BASIC_CHK_CMD_ECHO m4trace:configure.ac:29: -1- _XC_CFG_PRE_BASIC_CHK_CMD_TEST m4trace:configure.ac:29: -1- _XC_CFG_PRE_BASIC_CHK_VAR_PATH m4trace:configure.ac:29: -1- _XC_CFG_PRE_BASIC_CHK_CMD_EXPR m4trace:configure.ac:29: -1- _XC_CFG_PRE_BASIC_CHK_UTIL_SED m4trace:configure.ac:29: -1- _XC_CFG_PRE_BASIC_CHK_UTIL_GREP m4trace:configure.ac:29: -1- _XC_CFG_PRE_BASIC_CHK_UTIL_TR m4trace:configure.ac:29: -1- _XC_CFG_PRE_BASIC_CHK_UTIL_WC m4trace:configure.ac:29: -1- _XC_CFG_PRE_BASIC_CHK_UTIL_CAT m4trace:configure.ac:29: -1- _XC_CFG_PRE_CHECK_PATH_SEPARATOR m4trace:configure.ac:29: -1- m4_pattern_allow([^PATH_SEPARATOR$]) m4trace:configure.ac:29: -1- _XC_CFG_PRE_POSTLUDE m4trace:configure.ac:29: -1- m4_pattern_forbid([^_*XC]) m4trace:configure.ac:29: -1- m4_pattern_allow([^SHELL$]) m4trace:configure.ac:29: -1- m4_pattern_allow([^PATH_SEPARATOR$]) m4trace:configure.ac:29: -1- m4_pattern_allow([^PACKAGE_NAME$]) m4trace:configure.ac:29: -1- m4_pattern_allow([^PACKAGE_TARNAME$]) m4trace:configure.ac:29: -1- m4_pattern_allow([^PACKAGE_VERSION$]) m4trace:configure.ac:29: -1- m4_pattern_allow([^PACKAGE_STRING$]) m4trace:configure.ac:29: -1- m4_pattern_allow([^PACKAGE_BUGREPORT$]) m4trace:configure.ac:29: -1- m4_pattern_allow([^PACKAGE_URL$]) m4trace:configure.ac:29: -1- m4_pattern_allow([^exec_prefix$]) m4trace:configure.ac:29: -1- m4_pattern_allow([^prefix$]) m4trace:configure.ac:29: -1- m4_pattern_allow([^program_transform_name$]) m4trace:configure.ac:29: -1- m4_pattern_allow([^bindir$]) m4trace:configure.ac:29: -1- m4_pattern_allow([^sbindir$]) m4trace:configure.ac:29: -1- m4_pattern_allow([^libexecdir$]) m4trace:configure.ac:29: -1- m4_pattern_allow([^datarootdir$]) m4trace:configure.ac:29: -1- m4_pattern_allow([^datadir$]) m4trace:configure.ac:29: -1- m4_pattern_allow([^sysconfdir$]) m4trace:configure.ac:29: -1- m4_pattern_allow([^sharedstatedir$]) m4trace:configure.ac:29: -1- m4_pattern_allow([^localstatedir$]) m4trace:configure.ac:29: -1- m4_pattern_allow([^runstatedir$]) m4trace:configure.ac:29: -1- m4_pattern_allow([^includedir$]) m4trace:configure.ac:29: -1- m4_pattern_allow([^oldincludedir$]) m4trace:configure.ac:29: -1- m4_pattern_allow([^docdir$]) m4trace:configure.ac:29: -1- m4_pattern_allow([^infodir$]) m4trace:configure.ac:29: -1- m4_pattern_allow([^htmldir$]) m4trace:configure.ac:29: -1- m4_pattern_allow([^dvidir$]) m4trace:configure.ac:29: -1- m4_pattern_allow([^pdfdir$]) m4trace:configure.ac:29: -1- m4_pattern_allow([^psdir$]) m4trace:configure.ac:29: -1- m4_pattern_allow([^libdir$]) m4trace:configure.ac:29: -1- m4_pattern_allow([^localedir$]) m4trace:configure.ac:29: -1- m4_pattern_allow([^mandir$]) m4trace:configure.ac:29: -1- m4_pattern_allow([^PACKAGE_NAME$]) m4trace:configure.ac:29: -1- m4_pattern_allow([^PACKAGE_TARNAME$]) m4trace:configure.ac:29: -1- m4_pattern_allow([^PACKAGE_VERSION$]) m4trace:configure.ac:29: -1- m4_pattern_allow([^PACKAGE_STRING$]) m4trace:configure.ac:29: -1- m4_pattern_allow([^PACKAGE_BUGREPORT$]) m4trace:configure.ac:29: -1- m4_pattern_allow([^PACKAGE_URL$]) m4trace:configure.ac:29: -1- m4_pattern_allow([^DEFS$]) m4trace:configure.ac:29: -1- m4_pattern_allow([^ECHO_C$]) m4trace:configure.ac:29: -1- m4_pattern_allow([^ECHO_N$]) m4trace:configure.ac:29: -1- m4_pattern_allow([^ECHO_T$]) m4trace:configure.ac:29: -1- m4_pattern_allow([^LIBS$]) m4trace:configure.ac:29: -1- m4_pattern_allow([^build_alias$]) m4trace:configure.ac:29: -1- m4_pattern_allow([^host_alias$]) m4trace:configure.ac:29: -1- m4_pattern_allow([^target_alias$]) m4trace:configure.ac:31: -1- XC_OVR_ZZ50 m4trace:configure.ac:32: -1- XC_OVR_ZZ60 m4trace:configure.ac:33: -1- CURL_OVERRIDE_AUTOCONF m4trace:configure.ac:42: -1- AC_CONFIG_MACRO_DIR([m4]) m4trace:configure.ac:43: -1- AM_MAINTAINER_MODE m4trace:configure.ac:43: -1- AM_CONDITIONAL([MAINTAINER_MODE], [test $USE_MAINTAINER_MODE = yes]) m4trace:configure.ac:43: -1- m4_pattern_allow([^MAINTAINER_MODE_TRUE$]) m4trace:configure.ac:43: -1- m4_pattern_allow([^MAINTAINER_MODE_FALSE$]) m4trace:configure.ac:43: -1- _AM_SUBST_NOTMAKE([MAINTAINER_MODE_TRUE]) m4trace:configure.ac:43: -1- _AM_SUBST_NOTMAKE([MAINTAINER_MODE_FALSE]) m4trace:configure.ac:43: -1- m4_pattern_allow([^MAINT$]) m4trace:configure.ac:44: -1- AM_SILENT_RULES([yes]) m4trace:configure.ac:44: -1- m4_pattern_allow([^AM_V$]) m4trace:configure.ac:44: -1- AM_SUBST_NOTMAKE([AM_V]) m4trace:configure.ac:44: -1- _AM_SUBST_NOTMAKE([AM_V]) m4trace:configure.ac:44: -1- m4_pattern_allow([^AM_DEFAULT_V$]) m4trace:configure.ac:44: -1- AM_SUBST_NOTMAKE([AM_DEFAULT_V]) m4trace:configure.ac:44: -1- _AM_SUBST_NOTMAKE([AM_DEFAULT_V]) m4trace:configure.ac:44: -1- m4_pattern_allow([^AM_DEFAULT_VERBOSITY$]) m4trace:configure.ac:44: -1- m4_pattern_allow([^AM_BACKSLASH$]) m4trace:configure.ac:44: -1- _AM_SUBST_NOTMAKE([AM_BACKSLASH]) m4trace:configure.ac:46: -1- CURL_CHECK_OPTION_DEBUG m4trace:configure.ac:46: -1- m4_pattern_allow([^DEBUGBUILD$]) m4trace:configure.ac:47: -1- AM_CONDITIONAL([DEBUGBUILD], [test x$want_debug = xyes]) m4trace:configure.ac:47: -1- m4_pattern_allow([^DEBUGBUILD_TRUE$]) m4trace:configure.ac:47: -1- m4_pattern_allow([^DEBUGBUILD_FALSE$]) m4trace:configure.ac:47: -1- _AM_SUBST_NOTMAKE([DEBUGBUILD_TRUE]) m4trace:configure.ac:47: -1- _AM_SUBST_NOTMAKE([DEBUGBUILD_FALSE]) m4trace:configure.ac:48: -1- CURL_CHECK_OPTION_OPTIMIZE m4trace:configure.ac:49: -1- CURL_CHECK_OPTION_WARNINGS m4trace:configure.ac:50: -1- CURL_CHECK_OPTION_WERROR m4trace:configure.ac:51: -1- CURL_CHECK_OPTION_CURLDEBUG m4trace:configure.ac:51: -1- m4_pattern_allow([^CURLDEBUG$]) m4trace:configure.ac:51: -1- m4_pattern_allow([^CURLDEBUG$]) m4trace:configure.ac:52: -1- CURL_CHECK_OPTION_SYMBOL_HIDING m4trace:configure.ac:53: -1- CURL_CHECK_OPTION_ARES m4trace:configure.ac:54: -1- CURL_CHECK_OPTION_RT m4trace:configure.ac:55: -1- CURL_CHECK_OPTION_HTTPSRR m4trace:configure.ac:56: -1- CURL_CHECK_OPTION_ECH m4trace:configure.ac:58: -1- XC_CHECK_PATH_SEPARATOR m4trace:configure.ac:58: -1- m4_pattern_forbid([^_*XC]) m4trace:configure.ac:64: -1- m4_pattern_allow([^CONFIGURE_OPTIONS$]) m4trace:configure.ac:70: -1- m4_pattern_allow([^SED$]) m4trace:configure.ac:76: -1- m4_pattern_allow([^SED$]) m4trace:configure.ac:82: -1- m4_pattern_allow([^GREP$]) m4trace:configure.ac:88: -1- m4_pattern_allow([^GREP$]) m4trace:configure.ac:100: -1- m4_pattern_allow([^EGREP$]) m4trace:configure.ac:107: -1- m4_pattern_allow([^EGREP$]) m4trace:configure.ac:113: -1- m4_pattern_allow([^AR$]) m4trace:configure.ac:119: -1- m4_pattern_allow([^AR$]) m4trace:configure.ac:121: -1- m4_pattern_allow([^libext$]) m4trace:configure.ac:125: -1- XC_CHECK_PROG_CC m4trace:configure.ac:125: -1- _XC_PROG_CC m4trace:configure.ac:125: -1- _XC_PROG_CC_PREAMBLE m4trace:configure.ac:125: -1- XC_CHECK_BUILD_FLAGS m4trace:configure.ac:125: -1- _XC_CHECK_VAR_LIBS m4trace:configure.ac:125: -1- _XC_CHECK_VAR_LDFLAGS m4trace:configure.ac:125: -1- _XC_CHECK_VAR_CPPFLAGS m4trace:configure.ac:125: -1- _XC_CHECK_VAR_CFLAGS m4trace:configure.ac:125: -1- m4_pattern_allow([^INSTALL_PROGRAM$]) m4trace:configure.ac:125: -1- m4_pattern_allow([^INSTALL_SCRIPT$]) m4trace:configure.ac:125: -1- m4_pattern_allow([^INSTALL_DATA$]) m4trace:configure.ac:125: -1- AC_PROG_CC m4trace:configure.ac:125: -1- m4_pattern_allow([^CC$]) m4trace:configure.ac:125: -1- m4_pattern_allow([^CFLAGS$]) m4trace:configure.ac:125: -1- m4_pattern_allow([^LDFLAGS$]) m4trace:configure.ac:125: -1- m4_pattern_allow([^LIBS$]) m4trace:configure.ac:125: -1- m4_pattern_allow([^CPPFLAGS$]) m4trace:configure.ac:125: -1- m4_pattern_allow([^CC$]) m4trace:configure.ac:125: -1- m4_pattern_allow([^CC$]) m4trace:configure.ac:125: -1- m4_pattern_allow([^CC$]) m4trace:configure.ac:125: -1- m4_pattern_allow([^CC$]) m4trace:configure.ac:125: -1- m4_pattern_allow([^ac_ct_CC$]) m4trace:configure.ac:125: -1- m4_pattern_allow([^CC$]) m4trace:configure.ac:125: -1- m4_pattern_allow([^EXEEXT$]) m4trace:configure.ac:125: -1- m4_pattern_allow([^OBJEXT$]) m4trace:configure.ac:125: -1- _AM_PROG_CC_C_O m4trace:configure.ac:125: -1- AM_AUX_DIR_EXPAND m4trace:configure.ac:125: -1- AM_RUN_LOG([$CC -c conftest.$ac_ext -o conftest2.$ac_objext]) m4trace:configure.ac:125: -1- AM_PROG_CC_C_O m4trace:configure.ac:125: -1- m4_pattern_allow([^CPP$]) m4trace:configure.ac:125: -1- m4_pattern_allow([^CPPFLAGS$]) m4trace:configure.ac:125: -1- m4_pattern_allow([^CPP$]) m4trace:configure.ac:125: -1- _XC_PROG_CC_POSTLUDE m4trace:configure.ac:125: -1- m4_pattern_allow([^CC$]) m4trace:configure.ac:125: -1- m4_pattern_allow([^CPP$]) m4trace:configure.ac:125: -1- m4_pattern_allow([^LIBS$]) m4trace:configure.ac:125: -1- m4_pattern_allow([^CFLAGS$]) m4trace:configure.ac:125: -1- m4_pattern_allow([^LDFLAGS$]) m4trace:configure.ac:125: -1- m4_pattern_allow([^CPPFLAGS$]) m4trace:configure.ac:126: -1- CURL_ATOMIC m4trace:configure.ac:126: -1- AC_DEFUN([_AC_Header_stdio_h], [m4_divert_text([INIT_PREPARE], [AS_VAR_APPEND([ac_header_]]_AC_LANG_ABBREV[[_list], [" stdio.h ]AS_TR_SH([stdio.h]) AS_TR_CPP([HAVE_stdio.h])["])])_AC_HEADERS_EXPANSION(_AC_LANG_ABBREV)]) m4trace:configure.ac:126: -1- AC_DEFUN([_AC_Header_stdlib_h], [m4_divert_text([INIT_PREPARE], [AS_VAR_APPEND([ac_header_]]_AC_LANG_ABBREV[[_list], [" stdlib.h ]AS_TR_SH([stdlib.h]) AS_TR_CPP([HAVE_stdlib.h])["])])_AC_HEADERS_EXPANSION(_AC_LANG_ABBREV)]) m4trace:configure.ac:126: -1- AC_DEFUN([_AC_Header_string_h], [m4_divert_text([INIT_PREPARE], [AS_VAR_APPEND([ac_header_]]_AC_LANG_ABBREV[[_list], [" string.h ]AS_TR_SH([string.h]) AS_TR_CPP([HAVE_string.h])["])])_AC_HEADERS_EXPANSION(_AC_LANG_ABBREV)]) m4trace:configure.ac:126: -1- AC_DEFUN([_AC_Header_inttypes_h], [m4_divert_text([INIT_PREPARE], [AS_VAR_APPEND([ac_header_]]_AC_LANG_ABBREV[[_list], [" inttypes.h ]AS_TR_SH([inttypes.h]) AS_TR_CPP([HAVE_inttypes.h])["])])_AC_HEADERS_EXPANSION(_AC_LANG_ABBREV)]) m4trace:configure.ac:126: -1- AC_DEFUN([_AC_Header_stdint_h], [m4_divert_text([INIT_PREPARE], [AS_VAR_APPEND([ac_header_]]_AC_LANG_ABBREV[[_list], [" stdint.h ]AS_TR_SH([stdint.h]) AS_TR_CPP([HAVE_stdint.h])["])])_AC_HEADERS_EXPANSION(_AC_LANG_ABBREV)]) m4trace:configure.ac:126: -1- AC_DEFUN([_AC_Header_strings_h], [m4_divert_text([INIT_PREPARE], [AS_VAR_APPEND([ac_header_]]_AC_LANG_ABBREV[[_list], [" strings.h ]AS_TR_SH([strings.h]) AS_TR_CPP([HAVE_strings.h])["])])_AC_HEADERS_EXPANSION(_AC_LANG_ABBREV)]) m4trace:configure.ac:126: -1- AC_DEFUN([_AC_Header_sys_stat_h], [m4_divert_text([INIT_PREPARE], [AS_VAR_APPEND([ac_header_]]_AC_LANG_ABBREV[[_list], [" sys/stat.h ]AS_TR_SH([sys/stat.h]) AS_TR_CPP([HAVE_sys/stat.h])["])])_AC_HEADERS_EXPANSION(_AC_LANG_ABBREV)]) m4trace:configure.ac:126: -1- AC_DEFUN([_AC_Header_sys_types_h], [m4_divert_text([INIT_PREPARE], [AS_VAR_APPEND([ac_header_]]_AC_LANG_ABBREV[[_list], [" sys/types.h ]AS_TR_SH([sys/types.h]) AS_TR_CPP([HAVE_sys/types.h])["])])_AC_HEADERS_EXPANSION(_AC_LANG_ABBREV)]) m4trace:configure.ac:126: -1- AC_DEFUN([_AC_Header_unistd_h], [m4_divert_text([INIT_PREPARE], [AS_VAR_APPEND([ac_header_]]_AC_LANG_ABBREV[[_list], [" unistd.h ]AS_TR_SH([unistd.h]) AS_TR_CPP([HAVE_unistd.h])["])])_AC_HEADERS_EXPANSION(_AC_LANG_ABBREV)]) m4trace:configure.ac:126: -1- m4_pattern_allow([^STDC_HEADERS$]) m4trace:configure.ac:126: -1- m4_pattern_allow([^HAVE_STDATOMIC_H$]) m4trace:configure.ac:126: -1- m4_pattern_allow([^HAVE_ATOMIC$]) m4trace:configure.ac:129: -1- CURL_COVERAGE m4trace:configure.ac:129: -1- m4_pattern_allow([^SED$]) m4trace:configure.ac:129: -1- m4_pattern_allow([^GCOV$]) m4trace:configure.ac:129: -1- m4_pattern_allow([^LCOV$]) m4trace:configure.ac:131: -1- XC_AUTOMAKE m4trace:configure.ac:131: -1- AM_INIT_AUTOMAKE([subdir-objects]) m4trace:configure.ac:131: -1- m4_pattern_allow([^AM_[A-Z]+FLAGS$]) m4trace:configure.ac:131: -1- AM_SET_CURRENT_AUTOMAKE_VERSION m4trace:configure.ac:131: -1- AM_AUTOMAKE_VERSION([1.16.5]) m4trace:configure.ac:131: -1- _AM_AUTOCONF_VERSION([2.71]) m4trace:configure.ac:131: -1- m4_pattern_allow([^am__isrc$]) m4trace:configure.ac:131: -1- _AM_SUBST_NOTMAKE([am__isrc]) m4trace:configure.ac:131: -1- m4_pattern_allow([^CYGPATH_W$]) m4trace:configure.ac:131: -1- _AM_SET_OPTIONS([subdir-objects]) m4trace:configure.ac:131: -1- _AM_SET_OPTION([subdir-objects]) m4trace:configure.ac:131: -2- _AM_MANGLE_OPTION([subdir-objects]) m4trace:configure.ac:131: -1- m4_pattern_allow([^PACKAGE$]) m4trace:configure.ac:131: -1- m4_pattern_allow([^VERSION$]) m4trace:configure.ac:131: -1- _AM_IF_OPTION([no-define], [], [AC_DEFINE_UNQUOTED([PACKAGE], ["$PACKAGE"], [Name of package]) AC_DEFINE_UNQUOTED([VERSION], ["$VERSION"], [Version number of package])]) m4trace:configure.ac:131: -2- _AM_MANGLE_OPTION([no-define]) m4trace:configure.ac:131: -1- m4_pattern_allow([^PACKAGE$]) m4trace:configure.ac:131: -1- m4_pattern_allow([^VERSION$]) m4trace:configure.ac:131: -1- AM_SANITY_CHECK m4trace:configure.ac:131: -1- AM_MISSING_PROG([ACLOCAL], [aclocal-${am__api_version}]) m4trace:configure.ac:131: -1- AM_MISSING_HAS_RUN m4trace:configure.ac:131: -1- m4_pattern_allow([^ACLOCAL$]) m4trace:configure.ac:131: -1- AM_MISSING_PROG([AUTOCONF], [autoconf]) m4trace:configure.ac:131: -1- m4_pattern_allow([^AUTOCONF$]) m4trace:configure.ac:131: -1- AM_MISSING_PROG([AUTOMAKE], [automake-${am__api_version}]) m4trace:configure.ac:131: -1- m4_pattern_allow([^AUTOMAKE$]) m4trace:configure.ac:131: -1- AM_MISSING_PROG([AUTOHEADER], [autoheader]) m4trace:configure.ac:131: -1- m4_pattern_allow([^AUTOHEADER$]) m4trace:configure.ac:131: -1- AM_MISSING_PROG([MAKEINFO], [makeinfo]) m4trace:configure.ac:131: -1- m4_pattern_allow([^MAKEINFO$]) m4trace:configure.ac:131: -1- AM_PROG_INSTALL_SH m4trace:configure.ac:131: -1- m4_pattern_allow([^install_sh$]) m4trace:configure.ac:131: -1- AM_PROG_INSTALL_STRIP m4trace:configure.ac:131: -1- m4_pattern_allow([^STRIP$]) m4trace:configure.ac:131: -1- m4_pattern_allow([^INSTALL_STRIP_PROGRAM$]) m4trace:configure.ac:131: -1- m4_pattern_allow([^MKDIR_P$]) m4trace:configure.ac:131: -1- m4_pattern_allow([^mkdir_p$]) m4trace:configure.ac:131: -1- m4_pattern_allow([^AWK$]) m4trace:configure.ac:131: -1- m4_pattern_allow([^SET_MAKE$]) m4trace:configure.ac:131: -1- AM_SET_LEADING_DOT m4trace:configure.ac:131: -1- m4_pattern_allow([^am__leading_dot$]) m4trace:configure.ac:131: -1- _AM_IF_OPTION([tar-ustar], [_AM_PROG_TAR([ustar])], [_AM_IF_OPTION([tar-pax], [_AM_PROG_TAR([pax])], [_AM_PROG_TAR([v7])])]) m4trace:configure.ac:131: -2- _AM_MANGLE_OPTION([tar-ustar]) m4trace:configure.ac:131: -1- _AM_IF_OPTION([tar-pax], [_AM_PROG_TAR([pax])], [_AM_PROG_TAR([v7])]) m4trace:configure.ac:131: -2- _AM_MANGLE_OPTION([tar-pax]) m4trace:configure.ac:131: -1- _AM_PROG_TAR([v7]) m4trace:configure.ac:131: -1- m4_pattern_allow([^AMTAR$]) m4trace:configure.ac:131: -1- m4_pattern_allow([^am__tar$]) m4trace:configure.ac:131: -1- m4_pattern_allow([^am__untar$]) m4trace:configure.ac:131: -1- _AM_IF_OPTION([no-dependencies], [], [AC_PROVIDE_IFELSE([AC_PROG_CC], [_AM_DEPENDENCIES([CC])], [m4_define([AC_PROG_CC], m4_defn([AC_PROG_CC])[_AM_DEPENDENCIES([CC])])])dnl AC_PROVIDE_IFELSE([AC_PROG_CXX], [_AM_DEPENDENCIES([CXX])], [m4_define([AC_PROG_CXX], m4_defn([AC_PROG_CXX])[_AM_DEPENDENCIES([CXX])])])dnl AC_PROVIDE_IFELSE([AC_PROG_OBJC], [_AM_DEPENDENCIES([OBJC])], [m4_define([AC_PROG_OBJC], m4_defn([AC_PROG_OBJC])[_AM_DEPENDENCIES([OBJC])])])dnl AC_PROVIDE_IFELSE([AC_PROG_OBJCXX], [_AM_DEPENDENCIES([OBJCXX])], [m4_define([AC_PROG_OBJCXX], m4_defn([AC_PROG_OBJCXX])[_AM_DEPENDENCIES([OBJCXX])])])dnl ]) m4trace:configure.ac:131: -2- _AM_MANGLE_OPTION([no-dependencies]) m4trace:configure.ac:131: -1- _AM_DEPENDENCIES([CC]) m4trace:configure.ac:131: -1- AM_SET_DEPDIR m4trace:configure.ac:131: -1- m4_pattern_allow([^DEPDIR$]) m4trace:configure.ac:131: -1- AM_OUTPUT_DEPENDENCY_COMMANDS m4trace:configure.ac:131: -1- AM_MAKE_INCLUDE m4trace:configure.ac:131: -1- AM_RUN_LOG([${MAKE-make} -f confmf.$s && cat confinc.out]) m4trace:configure.ac:131: -1- m4_pattern_allow([^am__include$]) m4trace:configure.ac:131: -1- AM_DEP_TRACK m4trace:configure.ac:131: -1- AM_CONDITIONAL([AMDEP], [test "x$enable_dependency_tracking" != xno]) m4trace:configure.ac:131: -1- m4_pattern_allow([^AMDEP_TRUE$]) m4trace:configure.ac:131: -1- m4_pattern_allow([^AMDEP_FALSE$]) m4trace:configure.ac:131: -1- _AM_SUBST_NOTMAKE([AMDEP_TRUE]) m4trace:configure.ac:131: -1- _AM_SUBST_NOTMAKE([AMDEP_FALSE]) m4trace:configure.ac:131: -1- m4_pattern_allow([^AMDEPBACKSLASH$]) m4trace:configure.ac:131: -1- _AM_SUBST_NOTMAKE([AMDEPBACKSLASH]) m4trace:configure.ac:131: -1- m4_pattern_allow([^am__nodep$]) m4trace:configure.ac:131: -1- _AM_SUBST_NOTMAKE([am__nodep]) m4trace:configure.ac:131: -1- m4_pattern_allow([^CCDEPMODE$]) m4trace:configure.ac:131: -1- AM_CONDITIONAL([am__fastdepCC], [ test "x$enable_dependency_tracking" != xno \ && test "$am_cv_CC_dependencies_compiler_type" = gcc3]) m4trace:configure.ac:131: -1- m4_pattern_allow([^am__fastdepCC_TRUE$]) m4trace:configure.ac:131: -1- m4_pattern_allow([^am__fastdepCC_FALSE$]) m4trace:configure.ac:131: -1- _AM_SUBST_NOTMAKE([am__fastdepCC_TRUE]) m4trace:configure.ac:131: -1- _AM_SUBST_NOTMAKE([am__fastdepCC_FALSE]) m4trace:configure.ac:131: -1- m4_pattern_allow([^CTAGS$]) m4trace:configure.ac:131: -1- m4_pattern_allow([^ETAGS$]) m4trace:configure.ac:131: -1- m4_pattern_allow([^CSCOPE$]) m4trace:configure.ac:135: -1- m4_pattern_allow([^CURLVERSION$]) m4trace:configure.ac:140: -1- m4_pattern_allow([^VERSIONNUM$]) m4trace:configure.ac:146: -1- m4_pattern_allow([^PKGADD_PKG$]) m4trace:configure.ac:147: -1- m4_pattern_allow([^PKGADD_NAME$]) m4trace:configure.ac:148: -1- m4_pattern_allow([^PKGADD_VENDOR$]) m4trace:configure.ac:312: -1- m4_pattern_allow([^TEST_NGHTTPX$]) m4trace:configure.ac:322: -1- m4_pattern_allow([^CADDY$]) m4trace:configure.ac:332: -1- m4_pattern_allow([^VSFTPD$]) m4trace:configure.ac:345: -1- m4_pattern_allow([^APXS$]) m4trace:configure.ac:351: -1- m4_pattern_allow([^HTTPD$]) m4trace:configure.ac:353: -1- m4_pattern_allow([^HTTPD$]) m4trace:configure.ac:355: -1- m4_pattern_allow([^APACHECTL$]) m4trace:configure.ac:356: -1- m4_pattern_allow([^APXS$]) m4trace:configure.ac:388: -1- m4_pattern_allow([^HTTPD$]) m4trace:configure.ac:389: -1- m4_pattern_allow([^APACHECTL$]) m4trace:configure.ac:390: -1- m4_pattern_allow([^APXS$]) m4trace:configure.ac:396: -1- m4_pattern_allow([^HTTPD_NGHTTPX$]) m4trace:configure.ac:399: -1- m4_pattern_allow([^HTTPD_NGHTTPX$]) m4trace:configure.ac:405: -1- m4_pattern_allow([^CADDY$]) m4trace:configure.ac:407: -1- m4_pattern_allow([^CADDY$]) m4trace:configure.ac:437: -1- m4_pattern_allow([^build$]) m4trace:configure.ac:437: -1- m4_pattern_allow([^build_cpu$]) m4trace:configure.ac:437: -1- m4_pattern_allow([^build_vendor$]) m4trace:configure.ac:437: -1- m4_pattern_allow([^build_os$]) m4trace:configure.ac:437: -1- m4_pattern_allow([^host$]) m4trace:configure.ac:437: -1- m4_pattern_allow([^host_cpu$]) m4trace:configure.ac:437: -1- m4_pattern_allow([^host_vendor$]) m4trace:configure.ac:437: -1- m4_pattern_allow([^host_os$]) m4trace:configure.ac:439: -1- m4_pattern_allow([^OS$]) m4trace:configure.ac:442: -1- m4_pattern_allow([^AR_FLAGS$]) m4trace:configure.ac:445: -1- CURL_CHECK_AIX_ALL_SOURCE m4trace:configure.ac:445: -1- AC_PROG_EGREP m4trace:configure.ac:445: -1- m4_pattern_allow([^GREP$]) m4trace:configure.ac:445: -1- m4_pattern_allow([^EGREP$]) m4trace:configure.ac:445: -1- m4_pattern_allow([^_ALL_SOURCE$]) m4trace:configure.ac:448: -1- CURL_CONFIGURE_THREAD_SAFE m4trace:configure.ac:448: -1- CURL_CHECK_NEED_THREAD_SAFE_SYSTEM m4trace:configure.ac:448: -1- CURL_CONFIGURE_FROM_NOW_ON_WITH_THREAD_SAFE m4trace:configure.ac:448: -1- m4_pattern_allow([^NEED_THREAD_SAFE$]) m4trace:configure.ac:449: -1- CURL_CONFIGURE_REENTRANT m4trace:configure.ac:449: -1- CURL_CHECK_NEED_REENTRANT_SYSTEM m4trace:configure.ac:449: -1- CURL_CHECK_NEED_REENTRANT_ERRNO m4trace:configure.ac:449: -1- CURL_CHECK_NEED_REENTRANT_FUNCTIONS_R m4trace:configure.ac:449: -1- CURL_CHECK_NEED_REENTRANT_GMTIME_R m4trace:configure.ac:449: -1- CURL_CHECK_NEED_REENTRANT_LOCALTIME_R m4trace:configure.ac:449: -1- CURL_CHECK_NEED_REENTRANT_STRERROR_R m4trace:configure.ac:449: -1- CURL_CHECK_NEED_REENTRANT_STRTOK_R m4trace:configure.ac:449: -1- CURL_CHECK_NEED_REENTRANT_GETHOSTBYNAME_R m4trace:configure.ac:449: -1- CURL_CHECK_NEED_REENTRANT_GETPROTOBYNAME_R m4trace:configure.ac:449: -1- CURL_CONFIGURE_FROM_NOW_ON_WITH_REENTRANT m4trace:configure.ac:449: -1- m4_pattern_allow([^NEED_REENTRANT$]) m4trace:configure.ac:452: -1- AC_SYS_LARGEFILE m4trace:configure.ac:452: -1- _AC_SYS_LARGEFILE_PROBE m4trace:configure.ac:452: -1- m4_pattern_allow([^_FILE_OFFSET_BITS$]) m4trace:configure.ac:452: -1- m4_pattern_allow([^_LARGE_FILES$]) m4trace:configure.ac:452: -1- _AC_SYS_YEAR2038_PROBE m4trace:configure.ac:452: -1- _AC_SYS_YEAR2038_TEST_CODE m4trace:configure.ac:452: -1- m4_pattern_allow([^_TIME_BITS$]) m4trace:configure.ac:452: -1- m4_pattern_allow([^__MINGW_USE_VC2005_COMPAT$]) m4trace:configure.ac:454: -1- XC_LIBTOOL m4trace:configure.ac:454: -1- LT_INIT([win32-dll]) m4trace:configure.ac:454: -1- m4_pattern_forbid([^_?LT_[A-Z_]+$]) m4trace:configure.ac:454: -1- m4_pattern_allow([^(_LT_EOF|LT_DLGLOBAL|LT_DLLAZY_OR_NOW|LT_MULTI_MODULE)$]) m4trace:configure.ac:454: -1- LTOPTIONS_VERSION m4trace:configure.ac:454: -1- LTSUGAR_VERSION m4trace:configure.ac:454: -1- LTVERSION_VERSION m4trace:configure.ac:454: -1- LTOBSOLETE_VERSION m4trace:configure.ac:454: -1- _LT_PROG_LTMAIN m4trace:configure.ac:454: -1- m4_pattern_allow([^AS$]) m4trace:configure.ac:454: -1- m4_pattern_allow([^DLLTOOL$]) m4trace:configure.ac:454: -1- m4_pattern_allow([^OBJDUMP$]) m4trace:configure.ac:454: -1- m4_pattern_allow([^LIBTOOL$]) m4trace:configure.ac:454: -1- _LT_PREPARE_SED_QUOTE_VARS m4trace:configure.ac:454: -1- _LT_PROG_ECHO_BACKSLASH m4trace:configure.ac:454: -1- LT_PATH_LD m4trace:configure.ac:454: -1- m4_pattern_allow([^SED$]) m4trace:configure.ac:454: -1- m4_pattern_allow([^FGREP$]) m4trace:configure.ac:454: -1- m4_pattern_allow([^GREP$]) m4trace:configure.ac:454: -1- m4_pattern_allow([^LD$]) m4trace:configure.ac:454: -1- LT_PATH_NM m4trace:configure.ac:454: -1- m4_pattern_allow([^DUMPBIN$]) m4trace:configure.ac:454: -1- m4_pattern_allow([^ac_ct_DUMPBIN$]) m4trace:configure.ac:454: -1- m4_pattern_allow([^DUMPBIN$]) m4trace:configure.ac:454: -1- m4_pattern_allow([^NM$]) m4trace:configure.ac:454: -1- m4_pattern_allow([^LN_S$]) m4trace:configure.ac:454: -1- LT_CMD_MAX_LEN m4trace:configure.ac:454: -1- m4_pattern_allow([^FILECMD$]) m4trace:configure.ac:454: -1- m4_pattern_allow([^OBJDUMP$]) m4trace:configure.ac:454: -1- m4_pattern_allow([^OBJDUMP$]) m4trace:configure.ac:454: -1- m4_pattern_allow([^DLLTOOL$]) m4trace:configure.ac:454: -1- m4_pattern_allow([^DLLTOOL$]) m4trace:configure.ac:454: -1- m4_pattern_allow([^AR$]) m4trace:configure.ac:454: -1- m4_pattern_allow([^ac_ct_AR$]) m4trace:configure.ac:454: -1- m4_pattern_allow([^STRIP$]) m4trace:configure.ac:454: -1- m4_pattern_allow([^RANLIB$]) m4trace:configure.ac:454: -1- _LT_WITH_SYSROOT m4trace:configure.ac:454: -1- m4_pattern_allow([LT_OBJDIR]) m4trace:configure.ac:454: -1- m4_pattern_allow([^LT_OBJDIR$]) m4trace:configure.ac:454: -1- _LT_CC_BASENAME([$compiler]) m4trace:configure.ac:454: -1- _LT_PATH_TOOL_PREFIX([${ac_tool_prefix}file], [/usr/bin$PATH_SEPARATOR$PATH]) m4trace:configure.ac:454: -1- _LT_PATH_TOOL_PREFIX([file], [/usr/bin$PATH_SEPARATOR$PATH]) m4trace:configure.ac:454: -1- LT_SUPPORTED_TAG([CC]) m4trace:configure.ac:454: -1- _LT_COMPILER_BOILERPLATE m4trace:configure.ac:454: -1- _LT_LINKER_BOILERPLATE m4trace:configure.ac:454: -1- _LT_COMPILER_OPTION([if $compiler supports -fno-rtti -fno-exceptions], [lt_cv_prog_compiler_rtti_exceptions], [-fno-rtti -fno-exceptions], [], [_LT_TAGVAR(lt_prog_compiler_no_builtin_flag, )="$_LT_TAGVAR(lt_prog_compiler_no_builtin_flag, ) -fno-rtti -fno-exceptions"]) m4trace:configure.ac:454: -1- _LT_COMPILER_OPTION([if $compiler PIC flag $_LT_TAGVAR(lt_prog_compiler_pic, ) works], [_LT_TAGVAR(lt_cv_prog_compiler_pic_works, )], [$_LT_TAGVAR(lt_prog_compiler_pic, )@&t@m4_if([],[],[ -DPIC],[m4_if([],[CXX],[ -DPIC],[])])], [], [case $_LT_TAGVAR(lt_prog_compiler_pic, ) in "" | " "*) ;; *) _LT_TAGVAR(lt_prog_compiler_pic, )=" $_LT_TAGVAR(lt_prog_compiler_pic, )" ;; esac], [_LT_TAGVAR(lt_prog_compiler_pic, )= _LT_TAGVAR(lt_prog_compiler_can_build_shared, )=no]) m4trace:configure.ac:454: -1- _LT_LINKER_OPTION([if $compiler static flag $lt_tmp_static_flag works], [lt_cv_prog_compiler_static_works], [$lt_tmp_static_flag], [], [_LT_TAGVAR(lt_prog_compiler_static, )=]) m4trace:configure.ac:454: -1- m4_pattern_allow([^MANIFEST_TOOL$]) m4trace:configure.ac:454: -1- _LT_DLL_DEF_P([$export_symbols]) m4trace:configure.ac:454: -1- _LT_DLL_DEF_P([$export_symbols]) m4trace:configure.ac:454: -1- _LT_REQUIRED_DARWIN_CHECKS m4trace:configure.ac:454: -1- m4_pattern_allow([^DSYMUTIL$]) m4trace:configure.ac:454: -1- m4_pattern_allow([^NMEDIT$]) m4trace:configure.ac:454: -1- m4_pattern_allow([^LIPO$]) m4trace:configure.ac:454: -1- m4_pattern_allow([^OTOOL$]) m4trace:configure.ac:454: -1- m4_pattern_allow([^OTOOL64$]) m4trace:configure.ac:454: -1- _LT_LINKER_OPTION([if $CC understands -b], [lt_cv_prog_compiler__b], [-b], [_LT_TAGVAR(archive_cmds, )='$CC -b $wl+h $wl$soname $wl+b $wl$install_libdir -o $lib $libobjs $deplibs $compiler_flags'], [_LT_TAGVAR(archive_cmds, )='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags']) m4trace:configure.ac:454: -1- m4_pattern_allow([^LT_SYS_LIBRARY_PATH$]) m4trace:configure.ac:454: -1- LT_SYS_DLOPEN_SELF m4trace:configure.ac:454: -1- m4_pattern_allow([^HAVE_DLFCN_H$]) m4trace:configure.ac:456: -1- LT_LANG([Windows Resource]) m4trace:configure.ac:456: -1- LT_SUPPORTED_TAG([RC]) m4trace:configure.ac:456: -1- LT_PROG_RC m4trace:configure.ac:456: -1- m4_pattern_allow([^RC$]) m4trace:configure.ac:456: -1- LT_LANG([RC]) m4trace:configure.ac:456: -1- _LT_COMPILER_BOILERPLATE m4trace:configure.ac:456: -1- _LT_LINKER_BOILERPLATE m4trace:configure.ac:456: -1- _LT_CC_BASENAME([$compiler]) m4trace:configure.ac:462: -1- AM_CONDITIONAL([CURL_LT_SHLIB_USE_VERSION_INFO], [test "x$xc_lt_shlib_use_version_info" = 'xyes']) m4trace:configure.ac:462: -1- m4_pattern_allow([^CURL_LT_SHLIB_USE_VERSION_INFO_TRUE$]) m4trace:configure.ac:462: -1- m4_pattern_allow([^CURL_LT_SHLIB_USE_VERSION_INFO_FALSE$]) m4trace:configure.ac:462: -1- _AM_SUBST_NOTMAKE([CURL_LT_SHLIB_USE_VERSION_INFO_TRUE]) m4trace:configure.ac:462: -1- _AM_SUBST_NOTMAKE([CURL_LT_SHLIB_USE_VERSION_INFO_FALSE]) m4trace:configure.ac:464: -1- AM_CONDITIONAL([CURL_LT_SHLIB_USE_NO_UNDEFINED], [test "x$xc_lt_shlib_use_no_undefined" = 'xyes']) m4trace:configure.ac:464: -1- m4_pattern_allow([^CURL_LT_SHLIB_USE_NO_UNDEFINED_TRUE$]) m4trace:configure.ac:464: -1- m4_pattern_allow([^CURL_LT_SHLIB_USE_NO_UNDEFINED_FALSE$]) m4trace:configure.ac:464: -1- _AM_SUBST_NOTMAKE([CURL_LT_SHLIB_USE_NO_UNDEFINED_TRUE]) m4trace:configure.ac:464: -1- _AM_SUBST_NOTMAKE([CURL_LT_SHLIB_USE_NO_UNDEFINED_FALSE]) m4trace:configure.ac:466: -1- AM_CONDITIONAL([CURL_LT_SHLIB_USE_MIMPURE_TEXT], [test "x$xc_lt_shlib_use_mimpure_text" = 'xyes']) m4trace:configure.ac:466: -1- m4_pattern_allow([^CURL_LT_SHLIB_USE_MIMPURE_TEXT_TRUE$]) m4trace:configure.ac:466: -1- m4_pattern_allow([^CURL_LT_SHLIB_USE_MIMPURE_TEXT_FALSE$]) m4trace:configure.ac:466: -1- _AM_SUBST_NOTMAKE([CURL_LT_SHLIB_USE_MIMPURE_TEXT_TRUE]) m4trace:configure.ac:466: -1- _AM_SUBST_NOTMAKE([CURL_LT_SHLIB_USE_MIMPURE_TEXT_FALSE]) m4trace:configure.ac:485: -1- AM_CONDITIONAL([USE_CPPFLAG_CURL_STATICLIB], [test "x$xc_lt_build_static_only" = 'xyes']) m4trace:configure.ac:485: -1- m4_pattern_allow([^USE_CPPFLAG_CURL_STATICLIB_TRUE$]) m4trace:configure.ac:485: -1- m4_pattern_allow([^USE_CPPFLAG_CURL_STATICLIB_FALSE$]) m4trace:configure.ac:485: -1- _AM_SUBST_NOTMAKE([USE_CPPFLAG_CURL_STATICLIB_TRUE]) m4trace:configure.ac:485: -1- _AM_SUBST_NOTMAKE([USE_CPPFLAG_CURL_STATICLIB_FALSE]) m4trace:configure.ac:495: -1- m4_pattern_allow([^LIBCURL_PC_CFLAGS_PRIVATE$]) m4trace:configure.ac:501: -1- m4_pattern_allow([^LIBCURL_PC_CFLAGS$]) m4trace:configure.ac:508: -1- CURL_CHECK_COMPILER m4trace:configure.ac:508: -1- CURL_CHECK_COMPILER_DEC_C m4trace:configure.ac:508: -1- CURL_CHECK_DEF([__DECC], [], [silent]) m4trace:configure.ac:508: -1- CURL_CPP_P m4trace:configure.ac:508: -1- CURL_CHECK_DEF([__DECC_VER], [], [silent]) m4trace:configure.ac:508: -1- CURL_CHECK_COMPILER_HPUX_C m4trace:configure.ac:508: -1- CURL_CHECK_DEF([__HP_cc], [], [silent]) m4trace:configure.ac:508: -1- CURL_CHECK_COMPILER_IBM_C m4trace:configure.ac:508: -1- CURL_CHECK_DEF([__IBMC__], [], [silent]) m4trace:configure.ac:508: -1- CURL_CHECK_COMPILER_INTEL_C m4trace:configure.ac:508: -1- CURL_CHECK_DEF([__INTEL_COMPILER], [], [silent]) m4trace:configure.ac:508: -1- CURL_CHECK_DEF([__unix__], [], [silent]) m4trace:configure.ac:508: -1- CURL_CHECK_COMPILER_CLANG m4trace:configure.ac:508: -1- CURL_CHECK_DEF([__clang__], [], [silent]) m4trace:configure.ac:508: -1- CURL_CHECK_DEF([__ibmxl__], [], [silent]) m4trace:configure.ac:508: -1- CURL_CHECK_COMPILER_GNU_C m4trace:configure.ac:508: -1- CURL_CHECK_DEF([__GNUC__], [], [silent]) m4trace:configure.ac:508: -1- CURL_CHECK_COMPILER_SGI_MIPSPRO_C m4trace:configure.ac:508: -1- CURL_CHECK_DEF([__GNUC__], [], [silent]) m4trace:configure.ac:508: -1- CURL_CHECK_DEF([_COMPILER_VERSION], [], [silent]) m4trace:configure.ac:508: -1- CURL_CHECK_DEF([_SGI_COMPILER_VERSION], [], [silent]) m4trace:configure.ac:508: -1- CURL_CHECK_COMPILER_SGI_MIPS_C m4trace:configure.ac:508: -1- CURL_CHECK_DEF([__GNUC__], [], [silent]) m4trace:configure.ac:508: -1- CURL_CHECK_DEF([__sgi], [], [silent]) m4trace:configure.ac:508: -1- CURL_CHECK_COMPILER_SUNPRO_C m4trace:configure.ac:508: -1- CURL_CHECK_DEF([__SUNPRO_C], [], [silent]) m4trace:configure.ac:508: -1- CURL_CHECK_COMPILER_TINY_C m4trace:configure.ac:508: -1- CURL_CHECK_DEF([__TINYC__], [], [silent]) m4trace:configure.ac:509: -1- CURL_CHECK_NATIVE_WINDOWS m4trace:configure.ac:509: -1- AM_CONDITIONAL([DOING_NATIVE_WINDOWS], [test "x$curl_cv_native_windows" = xyes]) m4trace:configure.ac:509: -1- m4_pattern_allow([^DOING_NATIVE_WINDOWS_TRUE$]) m4trace:configure.ac:509: -1- m4_pattern_allow([^DOING_NATIVE_WINDOWS_FALSE$]) m4trace:configure.ac:509: -1- _AM_SUBST_NOTMAKE([DOING_NATIVE_WINDOWS_TRUE]) m4trace:configure.ac:509: -1- _AM_SUBST_NOTMAKE([DOING_NATIVE_WINDOWS_FALSE]) m4trace:configure.ac:510: -1- CURL_SET_COMPILER_BASIC_OPTS m4trace:configure.ac:510: -1- CURL_SHFUNC_SQUEEZE m4trace:configure.ac:510: -1- CURL_COMPILER_WORKS_IFELSE([ AC_MSG_RESULT([yes]) AC_MSG_NOTICE([compiler options added: $tmp_CFLAGS $tmp_CPPFLAGS]) ], [ AC_MSG_RESULT([no]) AC_MSG_WARN([compiler options rejected: $tmp_CFLAGS $tmp_CPPFLAGS]) dnl restore initial settings CPPFLAGS="$tmp_save_CPPFLAGS" CFLAGS="$tmp_save_CFLAGS" ]) m4trace:configure.ac:510: -1- CURL_RUN_IFELSE([ AC_LANG_PROGRAM([[ # ifdef __STDC__ # include # endif ]],[[ int i = 0; exit(i); ]]) ], [ tmp_compiler_works="yes" ], [ tmp_compiler_works="no" echo " " >&6 echo "run-fail: test program exited with status $ac_status" >&6 echo " " >&6 ]) m4trace:configure.ac:510: -1- _m4_warn([cross], [AC_RUN_IFELSE called without default to allow cross compiling], [./lib/autoconf/general.m4:2981: AC_RUN_IFELSE is expanded from... m4/curl-functions.m4:4876: CURL_RUN_IFELSE is expanded from... m4/curl-compilers.m4:433: CURL_COMPILER_WORKS_IFELSE is expanded from... m4/curl-compilers.m4:503: CURL_SET_COMPILER_BASIC_OPTS is expanded from... configure.ac:510: the top level]) m4trace:configure.ac:510: -1- _m4_warn([cross], [AC_RUN_IFELSE called without default to allow cross compiling], [./lib/autoconf/general.m4:2981: AC_RUN_IFELSE is expanded from... m4/curl-functions.m4:4876: CURL_RUN_IFELSE is expanded from... m4/curl-compilers.m4:433: CURL_COMPILER_WORKS_IFELSE is expanded from... m4/curl-compilers.m4:503: CURL_SET_COMPILER_BASIC_OPTS is expanded from... configure.ac:510: the top level]) m4trace:configure.ac:511: -1- CURL_SET_COMPILER_DEBUG_OPTS m4trace:configure.ac:512: -1- CURL_SET_COMPILER_OPTIMIZE_OPTS m4trace:configure.ac:512: -1- CURL_VAR_MATCH_IFELSE([tmp_CFLAGS], [$flags_opt_all], [ honor_optimize_option="no" ]) m4trace:configure.ac:512: -1- CURL_VAR_MATCH([tmp_CFLAGS], [$flags_opt_all]) m4trace:configure.ac:512: -1- CURL_VAR_MATCH_IFELSE([tmp_CPPFLAGS], [$flags_opt_all], [ honor_optimize_option="no" ]) m4trace:configure.ac:512: -1- CURL_VAR_MATCH([tmp_CPPFLAGS], [$flags_opt_all]) m4trace:configure.ac:512: -1- CURL_VAR_STRIP([tmp_CFLAGS], [$flags_opt_all]) m4trace:configure.ac:512: -1- CURL_VAR_STRIP([tmp_CPPFLAGS], [$flags_opt_all]) m4trace:configure.ac:512: -1- CURL_COMPILER_WORKS_IFELSE([ AC_MSG_RESULT([yes]) AC_MSG_NOTICE([compiler options added: $tmp_options]) ], [ AC_MSG_RESULT([no]) AC_MSG_WARN([compiler options rejected: $tmp_options]) dnl restore initial settings CPPFLAGS="$tmp_save_CPPFLAGS" CFLAGS="$tmp_save_CFLAGS" ]) m4trace:configure.ac:512: -1- CURL_RUN_IFELSE([ AC_LANG_PROGRAM([[ # ifdef __STDC__ # include # endif ]],[[ int i = 0; exit(i); ]]) ], [ tmp_compiler_works="yes" ], [ tmp_compiler_works="no" echo " " >&6 echo "run-fail: test program exited with status $ac_status" >&6 echo " " >&6 ]) m4trace:configure.ac:512: -1- _m4_warn([cross], [AC_RUN_IFELSE called without default to allow cross compiling], [./lib/autoconf/general.m4:2981: AC_RUN_IFELSE is expanded from... m4/curl-functions.m4:4876: CURL_RUN_IFELSE is expanded from... m4/curl-compilers.m4:433: CURL_COMPILER_WORKS_IFELSE is expanded from... m4/curl-compilers.m4:689: CURL_SET_COMPILER_OPTIMIZE_OPTS is expanded from... configure.ac:512: the top level]) m4trace:configure.ac:512: -1- _m4_warn([cross], [AC_RUN_IFELSE called without default to allow cross compiling], [./lib/autoconf/general.m4:2981: AC_RUN_IFELSE is expanded from... m4/curl-functions.m4:4876: CURL_RUN_IFELSE is expanded from... m4/curl-compilers.m4:433: CURL_COMPILER_WORKS_IFELSE is expanded from... m4/curl-compilers.m4:689: CURL_SET_COMPILER_OPTIMIZE_OPTS is expanded from... configure.ac:512: the top level]) m4trace:configure.ac:513: -1- CURL_SET_COMPILER_WARNING_OPTS m4trace:configure.ac:513: -1- CURL_ADD_COMPILER_WARNINGS([tmp_CFLAGS], [all extra]) m4trace:configure.ac:513: -1- CURL_VAR_MATCH([CFLAGS], [-Wno-$warning -W$warning]) m4trace:configure.ac:513: -1- CURL_ADD_COMPILER_WARNINGS([tmp_CFLAGS], [pointer-arith write-strings]) m4trace:configure.ac:513: -1- CURL_VAR_MATCH([CFLAGS], [-Wno-$warning -W$warning]) m4trace:configure.ac:513: -1- CURL_ADD_COMPILER_WARNINGS([tmp_CFLAGS], [shadow]) m4trace:configure.ac:513: -1- CURL_VAR_MATCH([CFLAGS], [-Wno-$warning -W$warning]) m4trace:configure.ac:513: -1- CURL_ADD_COMPILER_WARNINGS([tmp_CFLAGS], [inline nested-externs]) m4trace:configure.ac:513: -1- CURL_VAR_MATCH([CFLAGS], [-Wno-$warning -W$warning]) m4trace:configure.ac:513: -1- CURL_ADD_COMPILER_WARNINGS([tmp_CFLAGS], [missing-declarations]) m4trace:configure.ac:513: -1- CURL_VAR_MATCH([CFLAGS], [-Wno-$warning -W$warning]) m4trace:configure.ac:513: -1- CURL_ADD_COMPILER_WARNINGS([tmp_CFLAGS], [missing-prototypes]) m4trace:configure.ac:513: -1- CURL_VAR_MATCH([CFLAGS], [-Wno-$warning -W$warning]) m4trace:configure.ac:513: -1- CURL_ADD_COMPILER_WARNINGS([tmp_CFLAGS], [float-equal]) m4trace:configure.ac:513: -1- CURL_VAR_MATCH([CFLAGS], [-Wno-$warning -W$warning]) m4trace:configure.ac:513: -1- CURL_ADD_COMPILER_WARNINGS([tmp_CFLAGS], [sign-compare]) m4trace:configure.ac:513: -1- CURL_VAR_MATCH([CFLAGS], [-Wno-$warning -W$warning]) m4trace:configure.ac:513: -1- CURL_ADD_COMPILER_WARNINGS([tmp_CFLAGS], [undef]) m4trace:configure.ac:513: -1- CURL_VAR_MATCH([CFLAGS], [-Wno-$warning -W$warning]) m4trace:configure.ac:513: -1- CURL_ADD_COMPILER_WARNINGS([tmp_CFLAGS], [endif-labels strict-prototypes]) m4trace:configure.ac:513: -1- CURL_VAR_MATCH([CFLAGS], [-Wno-$warning -W$warning]) m4trace:configure.ac:513: -1- CURL_ADD_COMPILER_WARNINGS([tmp_CFLAGS], [declaration-after-statement]) m4trace:configure.ac:513: -1- CURL_VAR_MATCH([CFLAGS], [-Wno-$warning -W$warning]) m4trace:configure.ac:513: -1- CURL_ADD_COMPILER_WARNINGS([tmp_CFLAGS], [cast-align]) m4trace:configure.ac:513: -1- CURL_VAR_MATCH([CFLAGS], [-Wno-$warning -W$warning]) m4trace:configure.ac:513: -1- CURL_ADD_COMPILER_WARNINGS([tmp_CFLAGS], [shorten-64-to-32]) m4trace:configure.ac:513: -1- CURL_VAR_MATCH([CFLAGS], [-Wno-$warning -W$warning]) m4trace:configure.ac:513: -1- CURL_ADD_COMPILER_WARNINGS([tmp_CFLAGS], [unused]) m4trace:configure.ac:513: -1- CURL_VAR_MATCH([CFLAGS], [-Wno-$warning -W$warning]) m4trace:configure.ac:513: -1- CURL_ADD_COMPILER_WARNINGS([tmp_CFLAGS], [address]) m4trace:configure.ac:513: -1- CURL_VAR_MATCH([CFLAGS], [-Wno-$warning -W$warning]) m4trace:configure.ac:513: -1- CURL_ADD_COMPILER_WARNINGS([tmp_CFLAGS], [attributes]) m4trace:configure.ac:513: -1- CURL_VAR_MATCH([CFLAGS], [-Wno-$warning -W$warning]) m4trace:configure.ac:513: -1- CURL_ADD_COMPILER_WARNINGS([tmp_CFLAGS], [bad-function-cast]) m4trace:configure.ac:513: -1- CURL_VAR_MATCH([CFLAGS], [-Wno-$warning -W$warning]) m4trace:configure.ac:513: -1- CURL_ADD_COMPILER_WARNINGS([tmp_CFLAGS], [conversion]) m4trace:configure.ac:513: -1- CURL_VAR_MATCH([CFLAGS], [-Wno-$warning -W$warning]) m4trace:configure.ac:513: -1- CURL_ADD_COMPILER_WARNINGS([tmp_CFLAGS], [div-by-zero format-security]) m4trace:configure.ac:513: -1- CURL_VAR_MATCH([CFLAGS], [-Wno-$warning -W$warning]) m4trace:configure.ac:513: -1- CURL_ADD_COMPILER_WARNINGS([tmp_CFLAGS], [empty-body]) m4trace:configure.ac:513: -1- CURL_VAR_MATCH([CFLAGS], [-Wno-$warning -W$warning]) m4trace:configure.ac:513: -1- CURL_ADD_COMPILER_WARNINGS([tmp_CFLAGS], [missing-field-initializers]) m4trace:configure.ac:513: -1- CURL_VAR_MATCH([CFLAGS], [-Wno-$warning -W$warning]) m4trace:configure.ac:513: -1- CURL_ADD_COMPILER_WARNINGS([tmp_CFLAGS], [missing-noreturn]) m4trace:configure.ac:513: -1- CURL_VAR_MATCH([CFLAGS], [-Wno-$warning -W$warning]) m4trace:configure.ac:513: -1- CURL_ADD_COMPILER_WARNINGS([tmp_CFLAGS], [old-style-definition]) m4trace:configure.ac:513: -1- CURL_VAR_MATCH([CFLAGS], [-Wno-$warning -W$warning]) m4trace:configure.ac:513: -1- CURL_ADD_COMPILER_WARNINGS([tmp_CFLAGS], [redundant-decls]) m4trace:configure.ac:513: -1- CURL_VAR_MATCH([CFLAGS], [-Wno-$warning -W$warning]) m4trace:configure.ac:513: -1- CURL_ADD_COMPILER_WARNINGS([tmp_CFLAGS], [type-limits]) m4trace:configure.ac:513: -1- CURL_VAR_MATCH([CFLAGS], [-Wno-$warning -W$warning]) m4trace:configure.ac:513: -1- CURL_ADD_COMPILER_WARNINGS([tmp_CFLAGS], [unreachable-code unused-parameter]) m4trace:configure.ac:513: -1- CURL_VAR_MATCH([CFLAGS], [-Wno-$warning -W$warning]) m4trace:configure.ac:513: -1- CURL_ADD_COMPILER_WARNINGS([tmp_CFLAGS], [ignored-qualifiers]) m4trace:configure.ac:513: -1- CURL_VAR_MATCH([CFLAGS], [-Wno-$warning -W$warning]) m4trace:configure.ac:513: -1- CURL_ADD_COMPILER_WARNINGS([tmp_CFLAGS], [vla]) m4trace:configure.ac:513: -1- CURL_VAR_MATCH([CFLAGS], [-Wno-$warning -W$warning]) m4trace:configure.ac:513: -1- CURL_ADD_COMPILER_WARNINGS([tmp_CFLAGS], [sign-conversion]) m4trace:configure.ac:513: -1- CURL_VAR_MATCH([CFLAGS], [-Wno-$warning -W$warning]) m4trace:configure.ac:513: -1- CURL_ADD_COMPILER_WARNINGS([tmp_CFLAGS], [shift-sign-overflow]) m4trace:configure.ac:513: -1- CURL_VAR_MATCH([CFLAGS], [-Wno-$warning -W$warning]) m4trace:configure.ac:513: -1- CURL_ADD_COMPILER_WARNINGS([tmp_CFLAGS], [language-extension-token]) m4trace:configure.ac:513: -1- CURL_VAR_MATCH([CFLAGS], [-Wno-$warning -W$warning]) m4trace:configure.ac:513: -1- CURL_ADD_COMPILER_WARNINGS([tmp_CFLAGS], [enum-conversion]) m4trace:configure.ac:513: -1- CURL_VAR_MATCH([CFLAGS], [-Wno-$warning -W$warning]) m4trace:configure.ac:513: -1- CURL_ADD_COMPILER_WARNINGS([tmp_CFLAGS], [sometimes-uninitialized]) m4trace:configure.ac:513: -1- CURL_VAR_MATCH([CFLAGS], [-Wno-$warning -W$warning]) m4trace:configure.ac:513: -1- CURL_ADD_COMPILER_WARNINGS([tmp_CFLAGS], [missing-variable-declarations]) m4trace:configure.ac:513: -1- CURL_VAR_MATCH([CFLAGS], [-Wno-$warning -W$warning]) m4trace:configure.ac:513: -1- CURL_ADD_COMPILER_WARNINGS([tmp_CFLAGS], [header-guard]) m4trace:configure.ac:513: -1- CURL_VAR_MATCH([CFLAGS], [-Wno-$warning -W$warning]) m4trace:configure.ac:513: -1- CURL_ADD_COMPILER_WARNINGS([tmp_CFLAGS], [unused-const-variable]) m4trace:configure.ac:513: -1- CURL_VAR_MATCH([CFLAGS], [-Wno-$warning -W$warning]) m4trace:configure.ac:513: -1- CURL_ADD_COMPILER_WARNINGS([tmp_CFLAGS], [pragmas]) m4trace:configure.ac:513: -1- CURL_VAR_MATCH([CFLAGS], [-Wno-$warning -W$warning]) m4trace:configure.ac:513: -1- CURL_ADD_COMPILER_WARNINGS([tmp_CFLAGS], [unreachable-code-break]) m4trace:configure.ac:513: -1- CURL_VAR_MATCH([CFLAGS], [-Wno-$warning -W$warning]) m4trace:configure.ac:513: -1- CURL_ADD_COMPILER_WARNINGS([tmp_CFLAGS], [double-promotion]) m4trace:configure.ac:513: -1- CURL_VAR_MATCH([CFLAGS], [-Wno-$warning -W$warning]) m4trace:configure.ac:513: -1- CURL_ADD_COMPILER_WARNINGS([tmp_CFLAGS], [comma]) m4trace:configure.ac:513: -1- CURL_VAR_MATCH([CFLAGS], [-Wno-$warning -W$warning]) m4trace:configure.ac:513: -1- CURL_ADD_COMPILER_WARNINGS([tmp_CFLAGS], [assign-enum]) m4trace:configure.ac:513: -1- CURL_VAR_MATCH([CFLAGS], [-Wno-$warning -W$warning]) m4trace:configure.ac:513: -1- CURL_ADD_COMPILER_WARNINGS([tmp_CFLAGS], [extra-semi-stmt]) m4trace:configure.ac:513: -1- CURL_VAR_MATCH([CFLAGS], [-Wno-$warning -W$warning]) m4trace:configure.ac:513: -1- CURL_ADD_COMPILER_WARNINGS([tmp_CFLAGS], [all]) m4trace:configure.ac:513: -1- CURL_VAR_MATCH([CFLAGS], [-Wno-$warning -W$warning]) m4trace:configure.ac:513: -1- CURL_ADD_COMPILER_WARNINGS([tmp_CFLAGS], [pointer-arith write-strings]) m4trace:configure.ac:513: -1- CURL_VAR_MATCH([CFLAGS], [-Wno-$warning -W$warning]) m4trace:configure.ac:513: -1- CURL_ADD_COMPILER_WARNINGS([tmp_CFLAGS], [unused shadow]) m4trace:configure.ac:513: -1- CURL_VAR_MATCH([CFLAGS], [-Wno-$warning -W$warning]) m4trace:configure.ac:513: -1- CURL_ADD_COMPILER_WARNINGS([tmp_CFLAGS], [inline nested-externs]) m4trace:configure.ac:513: -1- CURL_VAR_MATCH([CFLAGS], [-Wno-$warning -W$warning]) m4trace:configure.ac:513: -1- CURL_ADD_COMPILER_WARNINGS([tmp_CFLAGS], [missing-declarations]) m4trace:configure.ac:513: -1- CURL_VAR_MATCH([CFLAGS], [-Wno-$warning -W$warning]) m4trace:configure.ac:513: -1- CURL_ADD_COMPILER_WARNINGS([tmp_CFLAGS], [missing-prototypes]) m4trace:configure.ac:513: -1- CURL_VAR_MATCH([CFLAGS], [-Wno-$warning -W$warning]) m4trace:configure.ac:513: -1- CURL_ADD_COMPILER_WARNINGS([tmp_CFLAGS], [bad-function-cast]) m4trace:configure.ac:513: -1- CURL_VAR_MATCH([CFLAGS], [-Wno-$warning -W$warning]) m4trace:configure.ac:513: -1- CURL_ADD_COMPILER_WARNINGS([tmp_CFLAGS], [float-equal]) m4trace:configure.ac:513: -1- CURL_VAR_MATCH([CFLAGS], [-Wno-$warning -W$warning]) m4trace:configure.ac:513: -1- CURL_ADD_COMPILER_WARNINGS([tmp_CFLAGS], [sign-compare]) m4trace:configure.ac:513: -1- CURL_VAR_MATCH([CFLAGS], [-Wno-$warning -W$warning]) m4trace:configure.ac:513: -1- CURL_ADD_COMPILER_WARNINGS([tmp_CFLAGS], [undef]) m4trace:configure.ac:513: -1- CURL_VAR_MATCH([CFLAGS], [-Wno-$warning -W$warning]) m4trace:configure.ac:513: -1- CURL_ADD_COMPILER_WARNINGS([tmp_CFLAGS], [endif-labels strict-prototypes]) m4trace:configure.ac:513: -1- CURL_VAR_MATCH([CFLAGS], [-Wno-$warning -W$warning]) m4trace:configure.ac:513: -1- CURL_ADD_COMPILER_WARNINGS([tmp_CFLAGS], [declaration-after-statement]) m4trace:configure.ac:513: -1- CURL_VAR_MATCH([CFLAGS], [-Wno-$warning -W$warning]) m4trace:configure.ac:513: -1- CURL_ADD_COMPILER_WARNINGS([tmp_CFLAGS], [old-style-definition]) m4trace:configure.ac:513: -1- CURL_VAR_MATCH([CFLAGS], [-Wno-$warning -W$warning]) m4trace:configure.ac:513: -1- CURL_ADD_COMPILER_WARNINGS([tmp_CFLAGS], [attributes]) m4trace:configure.ac:513: -1- CURL_VAR_MATCH([CFLAGS], [-Wno-$warning -W$warning]) m4trace:configure.ac:513: -1- CURL_ADD_COMPILER_WARNINGS([tmp_CFLAGS], [div-by-zero format-security]) m4trace:configure.ac:513: -1- CURL_VAR_MATCH([CFLAGS], [-Wno-$warning -W$warning]) m4trace:configure.ac:513: -1- CURL_ADD_COMPILER_WARNINGS([tmp_CFLAGS], [missing-field-initializers]) m4trace:configure.ac:513: -1- CURL_VAR_MATCH([CFLAGS], [-Wno-$warning -W$warning]) m4trace:configure.ac:513: -1- CURL_ADD_COMPILER_WARNINGS([tmp_CFLAGS], [missing-noreturn]) m4trace:configure.ac:513: -1- CURL_VAR_MATCH([CFLAGS], [-Wno-$warning -W$warning]) m4trace:configure.ac:513: -1- CURL_ADD_COMPILER_WARNINGS([tmp_CFLAGS], [unreachable-code unused-parameter]) m4trace:configure.ac:513: -1- CURL_VAR_MATCH([CFLAGS], [-Wno-$warning -W$warning]) m4trace:configure.ac:513: -1- CURL_ADD_COMPILER_WARNINGS([tmp_CFLAGS], [pragmas]) m4trace:configure.ac:513: -1- CURL_VAR_MATCH([CFLAGS], [-Wno-$warning -W$warning]) m4trace:configure.ac:513: -1- CURL_ADD_COMPILER_WARNINGS([tmp_CFLAGS], [redundant-decls]) m4trace:configure.ac:513: -1- CURL_VAR_MATCH([CFLAGS], [-Wno-$warning -W$warning]) m4trace:configure.ac:513: -1- CURL_ADD_COMPILER_WARNINGS([tmp_CFLAGS], [cast-align]) m4trace:configure.ac:513: -1- CURL_VAR_MATCH([CFLAGS], [-Wno-$warning -W$warning]) m4trace:configure.ac:513: -1- CURL_ADD_COMPILER_WARNINGS([tmp_CFLAGS], [address]) m4trace:configure.ac:513: -1- CURL_VAR_MATCH([CFLAGS], [-Wno-$warning -W$warning]) m4trace:configure.ac:513: -1- CURL_ADD_COMPILER_WARNINGS([tmp_CFLAGS], [type-limits old-style-declaration]) m4trace:configure.ac:513: -1- CURL_VAR_MATCH([CFLAGS], [-Wno-$warning -W$warning]) m4trace:configure.ac:513: -1- CURL_ADD_COMPILER_WARNINGS([tmp_CFLAGS], [missing-parameter-type empty-body]) m4trace:configure.ac:513: -1- CURL_VAR_MATCH([CFLAGS], [-Wno-$warning -W$warning]) m4trace:configure.ac:513: -1- CURL_ADD_COMPILER_WARNINGS([tmp_CFLAGS], [clobbered ignored-qualifiers]) m4trace:configure.ac:513: -1- CURL_VAR_MATCH([CFLAGS], [-Wno-$warning -W$warning]) m4trace:configure.ac:513: -1- CURL_ADD_COMPILER_WARNINGS([tmp_CFLAGS], [conversion trampolines]) m4trace:configure.ac:513: -1- CURL_VAR_MATCH([CFLAGS], [-Wno-$warning -W$warning]) m4trace:configure.ac:513: -1- CURL_ADD_COMPILER_WARNINGS([tmp_CFLAGS], [sign-conversion]) m4trace:configure.ac:513: -1- CURL_VAR_MATCH([CFLAGS], [-Wno-$warning -W$warning]) m4trace:configure.ac:513: -1- CURL_ADD_COMPILER_WARNINGS([tmp_CFLAGS], [vla]) m4trace:configure.ac:513: -1- CURL_VAR_MATCH([CFLAGS], [-Wno-$warning -W$warning]) m4trace:configure.ac:513: -1- CURL_ADD_COMPILER_WARNINGS([tmp_CFLAGS], [double-promotion]) m4trace:configure.ac:513: -1- CURL_VAR_MATCH([CFLAGS], [-Wno-$warning -W$warning]) m4trace:configure.ac:513: -1- CURL_ADD_COMPILER_WARNINGS([tmp_CFLAGS], [shift-negative-value]) m4trace:configure.ac:513: -1- CURL_VAR_MATCH([CFLAGS], [-Wno-$warning -W$warning]) m4trace:configure.ac:513: -1- CURL_ADD_COMPILER_WARNINGS([tmp_CFLAGS], [null-dereference]) m4trace:configure.ac:513: -1- CURL_VAR_MATCH([CFLAGS], [-Wno-$warning -W$warning]) m4trace:configure.ac:513: -1- CURL_ADD_COMPILER_WARNINGS([tmp_CFLAGS], [duplicated-cond]) m4trace:configure.ac:513: -1- CURL_VAR_MATCH([CFLAGS], [-Wno-$warning -W$warning]) m4trace:configure.ac:513: -1- CURL_ADD_COMPILER_WARNINGS([tmp_CFLAGS], [unused-const-variable]) m4trace:configure.ac:513: -1- CURL_VAR_MATCH([CFLAGS], [-Wno-$warning -W$warning]) m4trace:configure.ac:513: -1- CURL_ADD_COMPILER_WARNINGS([tmp_CFLAGS], [duplicated-branches]) m4trace:configure.ac:513: -1- CURL_VAR_MATCH([CFLAGS], [-Wno-$warning -W$warning]) m4trace:configure.ac:513: -1- CURL_ADD_COMPILER_WARNINGS([tmp_CFLAGS], [restrict]) m4trace:configure.ac:513: -1- CURL_VAR_MATCH([CFLAGS], [-Wno-$warning -W$warning]) m4trace:configure.ac:513: -1- CURL_ADD_COMPILER_WARNINGS([tmp_CFLAGS], [alloc-zero]) m4trace:configure.ac:513: -1- CURL_VAR_MATCH([CFLAGS], [-Wno-$warning -W$warning]) m4trace:configure.ac:513: -1- CURL_ADD_COMPILER_WARNINGS([tmp_CFLAGS], [arith-conversion]) m4trace:configure.ac:513: -1- CURL_VAR_MATCH([CFLAGS], [-Wno-$warning -W$warning]) m4trace:configure.ac:513: -1- CURL_ADD_COMPILER_WARNINGS([tmp_CFLAGS], [enum-conversion]) m4trace:configure.ac:513: -1- CURL_VAR_MATCH([CFLAGS], [-Wno-$warning -W$warning]) m4trace:configure.ac:513: -1- CURL_ADD_COMPILER_WARNINGS([tmp_CFLAGS], [all]) m4trace:configure.ac:513: -1- CURL_VAR_MATCH([CFLAGS], [-Wno-$warning -W$warning]) m4trace:configure.ac:513: -1- CURL_ADD_COMPILER_WARNINGS([tmp_CFLAGS], [write-strings]) m4trace:configure.ac:513: -1- CURL_VAR_MATCH([CFLAGS], [-Wno-$warning -W$warning]) m4trace:configure.ac:513: -1- CURL_ADD_COMPILER_WARNINGS([tmp_CFLAGS], [unsupported]) m4trace:configure.ac:513: -1- CURL_VAR_MATCH([CFLAGS], [-Wno-$warning -W$warning]) m4trace:configure.ac:513: -1- CURL_COMPILER_WORKS_IFELSE([ AC_MSG_RESULT([yes]) AC_MSG_NOTICE([compiler options added: $tmp_CFLAGS $tmp_CPPFLAGS]) ], [ AC_MSG_RESULT([no]) AC_MSG_WARN([compiler options rejected: $tmp_CFLAGS $tmp_CPPFLAGS]) dnl restore initial settings CPPFLAGS="$tmp_save_CPPFLAGS" CFLAGS="$tmp_save_CFLAGS" ]) m4trace:configure.ac:513: -1- CURL_RUN_IFELSE([ AC_LANG_PROGRAM([[ # ifdef __STDC__ # include # endif ]],[[ int i = 0; exit(i); ]]) ], [ tmp_compiler_works="yes" ], [ tmp_compiler_works="no" echo " " >&6 echo "run-fail: test program exited with status $ac_status" >&6 echo " " >&6 ]) m4trace:configure.ac:513: -1- _m4_warn([cross], [AC_RUN_IFELSE called without default to allow cross compiling], [./lib/autoconf/general.m4:2981: AC_RUN_IFELSE is expanded from... m4/curl-functions.m4:4876: CURL_RUN_IFELSE is expanded from... m4/curl-compilers.m4:433: CURL_COMPILER_WORKS_IFELSE is expanded from... m4/curl-compilers.m4:771: CURL_SET_COMPILER_WARNING_OPTS is expanded from... configure.ac:513: the top level]) m4trace:configure.ac:513: -1- _m4_warn([cross], [AC_RUN_IFELSE called without default to allow cross compiling], [./lib/autoconf/general.m4:2981: AC_RUN_IFELSE is expanded from... m4/curl-functions.m4:4876: CURL_RUN_IFELSE is expanded from... m4/curl-compilers.m4:433: CURL_COMPILER_WORKS_IFELSE is expanded from... m4/curl-compilers.m4:771: CURL_SET_COMPILER_WARNING_OPTS is expanded from... configure.ac:513: the top level]) m4trace:configure.ac:540: -1- m4_pattern_allow([^CURL_CFLAG_EXTRAS$]) m4trace:configure.ac:542: -1- CURL_CHECK_COMPILER_HALT_ON_ERROR m4trace:configure.ac:543: -1- CURL_CHECK_COMPILER_ARRAY_SIZE_NEGATIVE m4trace:configure.ac:544: -1- CURL_CHECK_COMPILER_PROTOTYPE_MISMATCH m4trace:configure.ac:545: -1- CURL_CHECK_COMPILER_SYMBOL_HIDING m4trace:configure.ac:583: -1- AM_CONDITIONAL([BUILD_UNITTESTS], [test x$want_unittests = xyes]) m4trace:configure.ac:583: -1- m4_pattern_allow([^BUILD_UNITTESTS_TRUE$]) m4trace:configure.ac:583: -1- m4_pattern_allow([^BUILD_UNITTESTS_FALSE$]) m4trace:configure.ac:583: -1- _AM_SUBST_NOTMAKE([BUILD_UNITTESTS_TRUE]) m4trace:configure.ac:583: -1- _AM_SUBST_NOTMAKE([BUILD_UNITTESTS_FALSE]) m4trace:configure.ac:589: -1- CURL_CHECK_WIN32_LARGEFILE m4trace:configure.ac:589: -1- m4_pattern_allow([^USE_WIN32_LARGE_FILES$]) m4trace:configure.ac:589: -1- m4_pattern_allow([^USE_WIN32_LARGE_FILES$]) m4trace:configure.ac:589: -1- m4_pattern_allow([^USE_WIN32_SMALL_FILES$]) m4trace:configure.ac:589: -1- m4_pattern_allow([^USE_WIN32_SMALL_FILES$]) m4trace:configure.ac:590: -1- CURL_CHECK_WIN32_CRYPTO m4trace:configure.ac:590: -1- m4_pattern_allow([^USE_WIN32_CRYPTO$]) m4trace:configure.ac:590: -1- m4_pattern_allow([^USE_WIN32_CRYPTO$]) m4trace:configure.ac:592: -1- CURL_DARWIN_CFLAGS m4trace:configure.ac:596: -1- CURL_SUPPORTS_BUILTIN_AVAILABLE m4trace:configure.ac:596: -1- m4_pattern_allow([^HAVE_BUILTIN_AVAILABLE$]) m4trace:configure.ac:600: -1- AM_CONDITIONAL([HAVE_WINDRES], [test "$curl_cv_native_windows" = "yes" && test -n "${RC}"]) m4trace:configure.ac:600: -1- m4_pattern_allow([^HAVE_WINDRES_TRUE$]) m4trace:configure.ac:600: -1- m4_pattern_allow([^HAVE_WINDRES_FALSE$]) m4trace:configure.ac:600: -1- _AM_SUBST_NOTMAKE([HAVE_WINDRES_TRUE]) m4trace:configure.ac:600: -1- _AM_SUBST_NOTMAKE([HAVE_WINDRES_FALSE]) m4trace:configure.ac:604: -1- AM_COND_IF([HAVE_WINDRES], [], [AC_MSG_ERROR([windres not found in PATH. Windows builds require windres. Cannot continue.])]) m4trace:configure.ac:612: -1- m4_pattern_allow([^CURL_DISABLE_HTTP$]) m4trace:configure.ac:612: -1- m4_pattern_allow([^CURL_DISABLE_HTTP$]) m4trace:configure.ac:612: -1- m4_pattern_allow([^CURL_DISABLE_RTSP$]) m4trace:configure.ac:612: -1- m4_pattern_allow([^CURL_DISABLE_RTSP$]) m4trace:configure.ac:612: -1- m4_pattern_allow([^CURL_DISABLE_ALTSVC$]) m4trace:configure.ac:612: -1- m4_pattern_allow([^CURL_DISABLE_HSTS$]) m4trace:configure.ac:640: -1- m4_pattern_allow([^CURL_DISABLE_FTP$]) m4trace:configure.ac:640: -1- m4_pattern_allow([^CURL_DISABLE_FTP$]) m4trace:configure.ac:656: -1- m4_pattern_allow([^CURL_DISABLE_FILE$]) m4trace:configure.ac:656: -1- m4_pattern_allow([^CURL_DISABLE_FILE$]) m4trace:configure.ac:672: -1- m4_pattern_allow([^CURL_DISABLE_LDAP$]) m4trace:configure.ac:672: -1- m4_pattern_allow([^CURL_DISABLE_LDAP$]) m4trace:configure.ac:692: -1- m4_pattern_allow([^CURL_DISABLE_LDAPS$]) m4trace:configure.ac:692: -1- m4_pattern_allow([^CURL_DISABLE_LDAPS$]) m4trace:configure.ac:692: -1- m4_pattern_allow([^CURL_DISABLE_LDAPS$]) m4trace:configure.ac:692: -1- m4_pattern_allow([^CURL_DISABLE_LDAPS$]) m4trace:configure.ac:692: -1- m4_pattern_allow([^HAVE_LDAP_SSL$]) m4trace:configure.ac:692: -1- m4_pattern_allow([^HAVE_LDAP_SSL$]) m4trace:configure.ac:692: -1- m4_pattern_allow([^CURL_DISABLE_LDAPS$]) m4trace:configure.ac:692: -1- m4_pattern_allow([^CURL_DISABLE_LDAPS$]) m4trace:configure.ac:692: -1- m4_pattern_allow([^HAVE_LDAP_SSL$]) m4trace:configure.ac:692: -1- m4_pattern_allow([^HAVE_LDAP_SSL$]) m4trace:configure.ac:761: -1- CURL_CHECK_PKGCONFIG([hyper], [$want_hyper_path]) m4trace:configure.ac:761: -1- m4_pattern_allow([^PKGCONFIG$]) m4trace:configure.ac:761: -1- CURL_EXPORT_PCDIR([$want_hyper_path]) m4trace:configure.ac:764: -1- CURL_EXPORT_PCDIR([$want_hyper_path]) m4trace:configure.ac:766: -1- CURL_EXPORT_PCDIR([$want_hyper_path]) m4trace:configure.ac:768: -1- CURL_EXPORT_PCDIR([$want_hyper_path]) m4trace:configure.ac:792: -2- m4_pattern_allow([^USE_HYPER$]) m4trace:configure.ac:792: -2- m4_pattern_allow([^USE_HYPER$]) m4trace:configure.ac:792: -1- m4_pattern_allow([^HAVE_HYPER_H$]) m4trace:configure.ac:819: -1- m4_pattern_allow([^CURL_DISABLE_RTSP$]) m4trace:configure.ac:820: -1- m4_pattern_allow([^CURL_DISABLE_RTSP$]) m4trace:configure.ac:823: -1- m4_pattern_allow([^CURL_DISABLE_RTSP$]) m4trace:configure.ac:823: -1- m4_pattern_allow([^CURL_DISABLE_RTSP$]) m4trace:configure.ac:851: -1- m4_pattern_allow([^CURL_DISABLE_PROXY$]) m4trace:configure.ac:851: -1- m4_pattern_allow([^CURL_DISABLE_PROXY$]) m4trace:configure.ac:869: -1- m4_pattern_allow([^CURL_DISABLE_DICT$]) m4trace:configure.ac:869: -1- m4_pattern_allow([^CURL_DISABLE_DICT$]) m4trace:configure.ac:886: -1- m4_pattern_allow([^CURL_DISABLE_TELNET$]) m4trace:configure.ac:886: -1- m4_pattern_allow([^CURL_DISABLE_TELNET$]) m4trace:configure.ac:903: -1- m4_pattern_allow([^CURL_DISABLE_TFTP$]) m4trace:configure.ac:903: -1- m4_pattern_allow([^CURL_DISABLE_TFTP$]) m4trace:configure.ac:920: -1- m4_pattern_allow([^CURL_DISABLE_POP3$]) m4trace:configure.ac:920: -1- m4_pattern_allow([^CURL_DISABLE_POP3$]) m4trace:configure.ac:937: -1- m4_pattern_allow([^CURL_DISABLE_IMAP$]) m4trace:configure.ac:937: -1- m4_pattern_allow([^CURL_DISABLE_IMAP$]) m4trace:configure.ac:954: -1- m4_pattern_allow([^CURL_DISABLE_SMB$]) m4trace:configure.ac:954: -1- m4_pattern_allow([^CURL_DISABLE_SMB$]) m4trace:configure.ac:971: -1- m4_pattern_allow([^CURL_DISABLE_SMTP$]) m4trace:configure.ac:971: -1- m4_pattern_allow([^CURL_DISABLE_SMTP$]) m4trace:configure.ac:988: -1- m4_pattern_allow([^CURL_DISABLE_GOPHER$]) m4trace:configure.ac:988: -1- m4_pattern_allow([^CURL_DISABLE_GOPHER$]) m4trace:configure.ac:1005: -1- m4_pattern_allow([^CURL_DISABLE_MQTT$]) m4trace:configure.ac:1005: -1- m4_pattern_allow([^CURL_DISABLE_MQTT$]) m4trace:configure.ac:1074: -1- m4_pattern_allow([^CURL_DISABLE_LIBCURL_OPTION$]) m4trace:configure.ac:1109: -1- CURL_CHECK_LIB_XNET m4trace:configure.ac:1238: -1- m4_pattern_allow([^HAVE_PROTO_BSDSOCKET_H$]) m4trace:configure.ac:1238: -1- m4_pattern_allow([^HAVE_PROTO_BSDSOCKET_H$]) m4trace:configure.ac:1275: -1- CURL_CHECK_LIBS_CONNECT m4trace:configure.ac:1275: -1- CURL_INCLUDES_WINSOCK2 m4trace:configure.ac:1275: -1- CURL_CHECK_NATIVE_WINDOWS m4trace:configure.ac:1275: -1- AM_CONDITIONAL([DOING_NATIVE_WINDOWS], [test "x$curl_cv_native_windows" = xyes]) m4trace:configure.ac:1275: -1- m4_pattern_allow([^DOING_NATIVE_WINDOWS_TRUE$]) m4trace:configure.ac:1275: -1- m4_pattern_allow([^DOING_NATIVE_WINDOWS_FALSE$]) m4trace:configure.ac:1275: -1- _AM_SUBST_NOTMAKE([DOING_NATIVE_WINDOWS_TRUE]) m4trace:configure.ac:1275: -1- _AM_SUBST_NOTMAKE([DOING_NATIVE_WINDOWS_FALSE]) m4trace:configure.ac:1275: -1- CURL_INCLUDES_BSDSOCKET m4trace:configure.ac:1275: -1- m4_pattern_allow([^HAVE_PROTO_BSDSOCKET_H$]) m4trace:configure.ac:1283: -1- CURL_CHECK_LIBS_CLOCK_GETTIME_MONOTONIC m4trace:configure.ac:1283: -1- CURL_CHECK_FUNC_CLOCK_GETTIME_MONOTONIC m4trace:configure.ac:1283: -1- m4_pattern_allow([^HAVE_SYS_TYPES_H$]) m4trace:configure.ac:1283: -1- m4_pattern_allow([^HAVE_SYS_TIME_H$]) m4trace:configure.ac:1283: -1- CURL_RUN_IFELSE([ AC_LANG_PROGRAM([[ #include #ifdef HAVE_SYS_TYPES_H #include #endif #ifdef HAVE_SYS_TIME_H #include #endif #include ]],[[ struct timespec ts; if (0 == clock_gettime(CLOCK_MONOTONIC, &ts)) exit(0); else exit(1); ]]) ], [ AC_MSG_RESULT([yes]) ], [ AC_MSG_RESULT([no]) AC_MSG_WARN([HAVE_CLOCK_GETTIME_MONOTONIC will not be defined]) curl_func_clock_gettime="no" LIBS="$curl_cv_save_LIBS" ]) m4trace:configure.ac:1283: -1- _m4_warn([cross], [AC_RUN_IFELSE called without default to allow cross compiling], [./lib/autoconf/general.m4:2981: AC_RUN_IFELSE is expanded from... m4/curl-functions.m4:4876: CURL_RUN_IFELSE is expanded from... acinclude.m4:942: CURL_CHECK_LIBS_CLOCK_GETTIME_MONOTONIC is expanded from... configure.ac:1283: the top level]) m4trace:configure.ac:1283: -1- _m4_warn([cross], [AC_RUN_IFELSE called without default to allow cross compiling], [./lib/autoconf/general.m4:2981: AC_RUN_IFELSE is expanded from... m4/curl-functions.m4:4876: CURL_RUN_IFELSE is expanded from... acinclude.m4:942: CURL_CHECK_LIBS_CLOCK_GETTIME_MONOTONIC is expanded from... configure.ac:1283: the top level]) m4trace:configure.ac:1283: -1- m4_pattern_allow([^HAVE_CLOCK_GETTIME_MONOTONIC$]) m4trace:configure.ac:1286: -1- CURL_CHECK_FUNC_CLOCK_GETTIME_MONOTONIC_RAW m4trace:configure.ac:1286: -1- m4_pattern_allow([^HAVE_SYS_TYPES_H$]) m4trace:configure.ac:1286: -1- m4_pattern_allow([^HAVE_SYS_TIME_H$]) m4trace:configure.ac:1286: -1- m4_pattern_allow([^HAVE_CLOCK_GETTIME_MONOTONIC_RAW$]) m4trace:configure.ac:1319: -1- CURL_CHECK_PKGCONFIG([zlib]) m4trace:configure.ac:1319: -1- m4_pattern_allow([^PKGCONFIG$]) m4trace:configure.ac:1319: -1- CURL_EXPORT_PCDIR([]) m4trace:configure.ac:1401: -1- m4_pattern_allow([^HAVE_LIBZ$]) m4trace:configure.ac:1402: -1- m4_pattern_allow([^HAVE_LIBZ$]) m4trace:configure.ac:1414: -1- AM_CONDITIONAL([HAVE_LIBZ], [test x"$AMFIXLIB" = x1]) m4trace:configure.ac:1414: -1- m4_pattern_allow([^HAVE_LIBZ_TRUE$]) m4trace:configure.ac:1414: -1- m4_pattern_allow([^HAVE_LIBZ_FALSE$]) m4trace:configure.ac:1414: -1- _AM_SUBST_NOTMAKE([HAVE_LIBZ_TRUE]) m4trace:configure.ac:1414: -1- _AM_SUBST_NOTMAKE([HAVE_LIBZ_FALSE]) m4trace:configure.ac:1415: -1- m4_pattern_allow([^ZLIB_LIBS$]) m4trace:configure.ac:1439: -1- CURL_CHECK_PKGCONFIG([libbrotlidec]) m4trace:configure.ac:1439: -1- m4_pattern_allow([^PKGCONFIG$]) m4trace:configure.ac:1439: -1- CURL_EXPORT_PCDIR([]) m4trace:configure.ac:1471: -1- m4_pattern_allow([^HAVE_LIBBROTLIDEC$]) m4trace:configure.ac:1476: -2- m4_pattern_allow([^HAVE_BROTLI$]) m4trace:configure.ac:1477: -2- m4_pattern_allow([^HAVE_BROTLI$]) m4trace:configure.ac:1473: -1- m4_pattern_allow([^HAVE_BROTLI_DECODE_H$]) m4trace:configure.ac:1526: -1- CURL_CHECK_PKGCONFIG([libzstd]) m4trace:configure.ac:1526: -1- m4_pattern_allow([^PKGCONFIG$]) m4trace:configure.ac:1526: -1- CURL_EXPORT_PCDIR([]) m4trace:configure.ac:1558: -1- m4_pattern_allow([^HAVE_LIBZSTD$]) m4trace:configure.ac:1563: -2- m4_pattern_allow([^HAVE_ZSTD$]) m4trace:configure.ac:1564: -2- m4_pattern_allow([^HAVE_ZSTD$]) m4trace:configure.ac:1560: -1- m4_pattern_allow([^HAVE_ZSTD_H$]) m4trace:configure.ac:1610: -1- CURL_CHECK_HEADER_LBER m4trace:configure.ac:1610: -1- m4_pattern_allow([^HAVE_LBER_H$]) m4trace:configure.ac:1610: -1- m4_pattern_allow([^NEED_LBER_H$]) m4trace:configure.ac:1611: -1- CURL_CHECK_HEADER_LDAP m4trace:configure.ac:1611: -1- m4_pattern_allow([^HAVE_LDAP_H$]) m4trace:configure.ac:1612: -1- CURL_CHECK_HEADER_LDAP_SSL m4trace:configure.ac:1612: -1- m4_pattern_allow([^HAVE_LDAP_SSL_H$]) m4trace:configure.ac:1623: -1- m4_pattern_allow([^CURL_DISABLE_LDAP$]) m4trace:configure.ac:1623: -1- m4_pattern_allow([^CURL_DISABLE_LDAP$]) m4trace:configure.ac:1623: -1- m4_pattern_allow([^CURL_DISABLE_LDAPS$]) m4trace:configure.ac:1623: -1- m4_pattern_allow([^CURL_DISABLE_LDAPS$]) m4trace:configure.ac:1634: -1- CURL_CHECK_LIBS_LDAP m4trace:configure.ac:1641: -1- m4_pattern_allow([^CURL_DISABLE_LDAP$]) m4trace:configure.ac:1642: -1- m4_pattern_allow([^CURL_DISABLE_LDAP$]) m4trace:configure.ac:1643: -1- m4_pattern_allow([^CURL_DISABLE_LDAPS$]) m4trace:configure.ac:1644: -1- m4_pattern_allow([^CURL_DISABLE_LDAPS$]) m4trace:configure.ac:1656: -1- m4_pattern_allow([^CURL_DISABLE_LDAP$]) m4trace:configure.ac:1656: -1- m4_pattern_allow([^CURL_DISABLE_LDAP$]) m4trace:configure.ac:1656: -1- m4_pattern_allow([^CURL_DISABLE_LDAPS$]) m4trace:configure.ac:1656: -1- m4_pattern_allow([^CURL_DISABLE_LDAPS$]) m4trace:configure.ac:1667: -1- m4_pattern_allow([^HAVE_LDAP_URL_PARSE$]) m4trace:configure.ac:1667: -1- m4_pattern_allow([^HAVE_LDAP_INIT_FD$]) m4trace:configure.ac:1672: -1- m4_pattern_allow([^USE_WIN32_LDAP$]) m4trace:configure.ac:1676: -1- m4_pattern_allow([^USE_OPENLDAP$]) m4trace:configure.ac:1677: -1- m4_pattern_allow([^USE_OPENLDAP$]) m4trace:configure.ac:1739: -1- m4_pattern_allow([^USE_IPV6$]) m4trace:configure.ac:1741: -1- m4_pattern_allow([^IPV6_ENABLED$]) m4trace:configure.ac:1744: -1- m4_pattern_allow([^HAVE_SOCKADDR_IN6_SIN6_SCOPE_ID$]) m4trace:configure.ac:1771: -1- CURL_RUN_IFELSE([[ int main(int argc, char **argv) { #ifdef _WIN32 /* on Windows, writing to the argv does not hide the argument in process lists so it can just be skipped */ (void)argc; (void)argv; return 1; #else (void)argc; argv[0][0] = ' '; return (argv[0][0] == ' ')?0:1; #endif } ]], [ curl_cv_writable_argv=yes ], [ curl_cv_writable_argv=no ], [ curl_cv_writable_argv=cross ]) m4trace:configure.ac:1795: -1- m4_pattern_allow([^HAVE_WRITABLE_ARGV$]) m4trace:configure.ac:1849: -1- CURL_CHECK_PKGCONFIG([mit-krb5-gssapi], [$GSSAPI_ROOT/lib/pkgconfig]) m4trace:configure.ac:1849: -1- m4_pattern_allow([^PKGCONFIG$]) m4trace:configure.ac:1849: -1- CURL_EXPORT_PCDIR([$GSSAPI_ROOT/lib/pkgconfig]) m4trace:configure.ac:1851: -1- CURL_CHECK_PKGCONFIG([mit-krb5-gssapi]) m4trace:configure.ac:1851: -1- m4_pattern_allow([^PKGCONFIG$]) m4trace:configure.ac:1851: -1- CURL_EXPORT_PCDIR([]) m4trace:configure.ac:1867: -1- m4_pattern_allow([^HAVE_GSSGNU$]) m4trace:configure.ac:1867: -1- m4_pattern_allow([^HAVE_GSSAPI_GSSAPI_H$]) m4trace:configure.ac:1867: -1- m4_pattern_allow([^HAVE_OLD_GSSMIT$]) m4trace:configure.ac:1926: -1- m4_pattern_allow([^HAVE_GSSAPI$]) m4trace:configure.ac:1941: -1- CURL_CHECK_PKGCONFIG([mit-krb5-gssapi], [$GSSAPI_ROOT/lib/pkgconfig]) m4trace:configure.ac:1941: -1- m4_pattern_allow([^PKGCONFIG$]) m4trace:configure.ac:1941: -1- CURL_EXPORT_PCDIR([$GSSAPI_ROOT/lib/pkgconfig]) m4trace:configure.ac:1943: -1- CURL_CHECK_PKGCONFIG([mit-krb5-gssapi]) m4trace:configure.ac:1943: -1- m4_pattern_allow([^PKGCONFIG$]) m4trace:configure.ac:1943: -1- CURL_EXPORT_PCDIR([]) m4trace:configure.ac:2009: -1- AM_CONDITIONAL([BUILD_STUB_GSS], [test "x$build_libstubgss" = "xyes"]) m4trace:configure.ac:2009: -1- m4_pattern_allow([^BUILD_STUB_GSS_TRUE$]) m4trace:configure.ac:2009: -1- m4_pattern_allow([^BUILD_STUB_GSS_FALSE$]) m4trace:configure.ac:2009: -1- _AM_SUBST_NOTMAKE([BUILD_STUB_GSS_TRUE]) m4trace:configure.ac:2009: -1- _AM_SUBST_NOTMAKE([BUILD_STUB_GSS_FALSE]) m4trace:configure.ac:2031: -1- m4_pattern_allow([^DEFAULT_SSL_BACKEND$]) m4trace:configure.ac:2037: -1- CURL_WITH_SCHANNEL m4trace:configure.ac:2037: -1- m4_pattern_allow([^USE_SCHANNEL$]) m4trace:configure.ac:2037: -1- m4_pattern_allow([^USE_SCHANNEL$]) m4trace:configure.ac:2037: -1- m4_pattern_allow([^USE_WINDOWS_SSPI$]) m4trace:configure.ac:2037: -1- m4_pattern_allow([^USE_WINDOWS_SSPI$]) m4trace:configure.ac:2038: -1- CURL_WITH_SECURETRANSPORT m4trace:configure.ac:2038: -1- m4_pattern_allow([^USE_SECTRANSP$]) m4trace:configure.ac:2038: -1- m4_pattern_allow([^USE_SECTRANSP$]) m4trace:configure.ac:2039: -1- CURL_WITH_AMISSL m4trace:configure.ac:2039: -1- m4_pattern_allow([^USE_AMISSL$]) m4trace:configure.ac:2039: -1- m4_pattern_allow([^USE_OPENSSL$]) m4trace:configure.ac:2039: -1- m4_pattern_allow([^HAVE_OPENSSL_X509_H$]) m4trace:configure.ac:2039: -1- m4_pattern_allow([^HAVE_OPENSSL_RSA_H$]) m4trace:configure.ac:2039: -1- m4_pattern_allow([^HAVE_OPENSSL_CRYPTO_H$]) m4trace:configure.ac:2039: -1- m4_pattern_allow([^HAVE_OPENSSL_PEM_H$]) m4trace:configure.ac:2039: -1- m4_pattern_allow([^HAVE_OPENSSL_SSL_H$]) m4trace:configure.ac:2039: -1- m4_pattern_allow([^HAVE_OPENSSL_ERR_H$]) m4trace:configure.ac:2040: -1- CURL_WITH_OPENSSL m4trace:configure.ac:2040: -1- CURL_CHECK_PKGCONFIG([openssl], [$OPENSSL_PCDIR]) m4trace:configure.ac:2040: -1- m4_pattern_allow([^PKGCONFIG$]) m4trace:configure.ac:2040: -1- CURL_EXPORT_PCDIR([$OPENSSL_PCDIR]) m4trace:configure.ac:2040: -1- CURL_EXPORT_PCDIR([$OPENSSL_PCDIR]) m4trace:configure.ac:2040: -1- CURL_EXPORT_PCDIR([$OPENSSL_PCDIR]) m4trace:configure.ac:2040: -1- CURL_EXPORT_PCDIR([$OPENSSL_PCDIR]) m4trace:configure.ac:2040: -1- m4_pattern_allow([^SSL_LIBS$]) m4trace:configure.ac:2040: -1- m4_pattern_allow([^HAVE_LIBSSL$]) m4trace:configure.ac:2040: -1- m4_pattern_allow([^HAVE_LIBSSL$]) m4trace:configure.ac:2040: -2- m4_pattern_allow([^USE_OPENSSL$]) m4trace:configure.ac:2040: -1- m4_pattern_allow([^HAVE_X509_H$]) m4trace:configure.ac:2040: -1- m4_pattern_allow([^HAVE_RSA_H$]) m4trace:configure.ac:2040: -1- m4_pattern_allow([^HAVE_CRYPTO_H$]) m4trace:configure.ac:2040: -1- m4_pattern_allow([^HAVE_PEM_H$]) m4trace:configure.ac:2040: -1- m4_pattern_allow([^HAVE_SSL_H$]) m4trace:configure.ac:2040: -1- m4_pattern_allow([^HAVE_ERR_H$]) m4trace:configure.ac:2040: -1- m4_pattern_allow([^HAVE_LIBRESSL$]) m4trace:configure.ac:2040: -1- m4_pattern_allow([^HAVE_SSL_SET_QUIC_USE_LEGACY_CODEPOINT$]) m4trace:configure.ac:2040: -1- m4_pattern_allow([^HAVE_OPENSSL_SRP$]) m4trace:configure.ac:2040: -1- m4_pattern_allow([^HAVE_OPENSSL_SRP$]) m4trace:configure.ac:2040: -1- m4_pattern_allow([^CURL_DISABLE_OPENSSL_AUTO_LOAD_CONFIG$]) m4trace:configure.ac:2041: -1- CURL_WITH_GNUTLS m4trace:configure.ac:2041: -1- CURL_CHECK_PKGCONFIG([gnutls]) m4trace:configure.ac:2041: -1- m4_pattern_allow([^PKGCONFIG$]) m4trace:configure.ac:2041: -1- CURL_EXPORT_PCDIR([]) m4trace:configure.ac:2041: -1- m4_pattern_allow([^USE_GNUTLS$]) m4trace:configure.ac:2041: -1- m4_pattern_allow([^USE_GNUTLS$]) m4trace:configure.ac:2041: -1- m4_pattern_allow([^HAVE_GNUTLS_SRP$]) m4trace:configure.ac:2041: -1- m4_pattern_allow([^HAVE_GNUTLS_SRP$]) m4trace:configure.ac:2042: -1- CURL_WITH_MBEDTLS m4trace:configure.ac:2042: -1- m4_pattern_allow([^USE_MBEDTLS$]) m4trace:configure.ac:2042: -1- m4_pattern_allow([^USE_MBEDTLS$]) m4trace:configure.ac:2042: -1- m4_pattern_allow([^USE_MBEDTLS$]) m4trace:configure.ac:2042: -1- m4_pattern_allow([^USE_MBEDTLS$]) m4trace:configure.ac:2043: -1- CURL_WITH_WOLFSSL m4trace:configure.ac:2043: -1- CURL_CHECK_PKGCONFIG([wolfssl], [$wolfpkg]) m4trace:configure.ac:2043: -1- m4_pattern_allow([^PKGCONFIG$]) m4trace:configure.ac:2043: -1- CURL_EXPORT_PCDIR([$wolfpkg]) m4trace:configure.ac:2043: -1- CURL_EXPORT_PCDIR([$wolfpkg]) m4trace:configure.ac:2043: -1- CURL_EXPORT_PCDIR([$wolfpkg]) m4trace:configure.ac:2043: -1- CURL_EXPORT_PCDIR([$wolfpkg]) m4trace:configure.ac:2043: -1- CURL_EXPORT_PCDIR([$wolfpkg]) m4trace:configure.ac:2043: -1- m4_pattern_allow([^USE_WOLFSSL$]) m4trace:configure.ac:2043: -1- m4_pattern_allow([^USE_WOLFSSL$]) m4trace:configure.ac:2043: -1- CURL_SIZEOF([long long]) m4trace:configure.ac:2043: -1- m4_pattern_allow([^SIZEOF_LONG_LONG$]) m4trace:configure.ac:2043: -1- m4_pattern_allow([^HAVE_WOLFSSL_GET_PEER_CERTIFICATE$]) m4trace:configure.ac:2043: -1- m4_pattern_allow([^HAVE_WOLFSSL_USEALPN$]) m4trace:configure.ac:2043: -1- m4_pattern_allow([^HAVE_WOLFSSL_DES_ECB_ENCRYPT$]) m4trace:configure.ac:2043: -1- m4_pattern_allow([^HAVE_WOLFSSL_FULL_BIO$]) m4trace:configure.ac:2044: -1- CURL_WITH_BEARSSL m4trace:configure.ac:2044: -1- m4_pattern_allow([^USE_BEARSSL$]) m4trace:configure.ac:2044: -1- m4_pattern_allow([^USE_BEARSSL$]) m4trace:configure.ac:2044: -1- m4_pattern_allow([^USE_BEARSSL$]) m4trace:configure.ac:2044: -1- m4_pattern_allow([^USE_BEARSSL$]) m4trace:configure.ac:2045: -1- CURL_WITH_RUSTLS m4trace:configure.ac:2045: -1- m4_pattern_allow([^USE_RUSTLS$]) m4trace:configure.ac:2045: -1- m4_pattern_allow([^USE_RUSTLS$]) m4trace:configure.ac:2045: -1- CURL_CHECK_PKGCONFIG([rustls], [$RUSTLS_PCDIR]) m4trace:configure.ac:2045: -1- m4_pattern_allow([^PKGCONFIG$]) m4trace:configure.ac:2045: -1- CURL_EXPORT_PCDIR([$RUSTLS_PCDIR]) m4trace:configure.ac:2045: -1- CURL_EXPORT_PCDIR([$RUSTLS_PCDIR]) m4trace:configure.ac:2045: -1- CURL_EXPORT_PCDIR([$RUSTLS_PCDIR]) m4trace:configure.ac:2045: -1- CURL_EXPORT_PCDIR([$RUSTLS_PCDIR]) m4trace:configure.ac:2045: -1- m4_pattern_allow([^SSL_LIBS$]) m4trace:configure.ac:2045: -1- m4_pattern_allow([^USE_RUSTLS$]) m4trace:configure.ac:2045: -1- m4_pattern_allow([^USE_RUSTLS$]) m4trace:configure.ac:2064: -1- m4_pattern_allow([^SSL_ENABLED$]) m4trace:configure.ac:2078: -1- m4_pattern_allow([^SSL_ENABLED$]) m4trace:configure.ac:2080: -1- m4_pattern_allow([^CURL_WITH_MULTI_SSL$]) m4trace:configure.ac:2082: -1- m4_pattern_allow([^CURL_WITH_MULTI_SSL$]) m4trace:configure.ac:2098: -1- m4_pattern_allow([^CURL_DEFAULT_SSL_BACKEND$]) m4trace:configure.ac:2106: -1- CURL_CHECK_CA_BUNDLE m4trace:configure.ac:2106: -1- m4_pattern_allow([^CURL_CA_BUNDLE$]) m4trace:configure.ac:2106: -1- m4_pattern_allow([^CURL_CA_BUNDLE$]) m4trace:configure.ac:2106: -1- m4_pattern_allow([^CURL_CA_PATH$]) m4trace:configure.ac:2106: -1- m4_pattern_allow([^CURL_CA_FALLBACK$]) m4trace:configure.ac:2107: -1- CURL_CHECK_CA_EMBED m4trace:configure.ac:2107: -1- m4_pattern_allow([^CURL_CA_EMBED$]) m4trace:configure.ac:2110: -1- AM_CONDITIONAL([CURL_CA_EMBED_SET], [test "x$CURL_CA_EMBED" != "x"]) m4trace:configure.ac:2110: -1- m4_pattern_allow([^CURL_CA_EMBED_SET_TRUE$]) m4trace:configure.ac:2110: -1- m4_pattern_allow([^CURL_CA_EMBED_SET_FALSE$]) m4trace:configure.ac:2110: -1- _AM_SUBST_NOTMAKE([CURL_CA_EMBED_SET_TRUE]) m4trace:configure.ac:2110: -1- _AM_SUBST_NOTMAKE([CURL_CA_EMBED_SET_FALSE]) m4trace:configure.ac:2132: -1- CURL_CHECK_PKGCONFIG([libpsl]) m4trace:configure.ac:2132: -1- m4_pattern_allow([^PKGCONFIG$]) m4trace:configure.ac:2132: -1- CURL_EXPORT_PCDIR([]) m4trace:configure.ac:2161: -2- m4_pattern_allow([^USE_LIBPSL$]) m4trace:configure.ac:2161: -2- m4_pattern_allow([^USE_LIBPSL$]) m4trace:configure.ac:2161: -1- m4_pattern_allow([^HAVE_LIBPSL_H$]) m4trace:configure.ac:2181: -1- AM_CONDITIONAL([USE_LIBPSL], [test "$curl_psl_msg" = "enabled"]) m4trace:configure.ac:2181: -1- m4_pattern_allow([^USE_LIBPSL_TRUE$]) m4trace:configure.ac:2181: -1- m4_pattern_allow([^USE_LIBPSL_FALSE$]) m4trace:configure.ac:2181: -1- _AM_SUBST_NOTMAKE([USE_LIBPSL_TRUE]) m4trace:configure.ac:2181: -1- _AM_SUBST_NOTMAKE([USE_LIBPSL_FALSE]) m4trace:configure.ac:2194: -1- m4_pattern_allow([^USE_GSASL$]) m4trace:configure.ac:2204: -1- AM_CONDITIONAL([USE_GSASL], [test "$curl_gsasl_msg" = "enabled"]) m4trace:configure.ac:2204: -1- m4_pattern_allow([^USE_GSASL_TRUE$]) m4trace:configure.ac:2204: -1- m4_pattern_allow([^USE_GSASL_FALSE$]) m4trace:configure.ac:2204: -1- _AM_SUBST_NOTMAKE([USE_GSASL_TRUE]) m4trace:configure.ac:2204: -1- _AM_SUBST_NOTMAKE([USE_GSASL_FALSE]) m4trace:configure.ac:2242: -1- CURL_CHECK_PKGCONFIG([libssh2]) m4trace:configure.ac:2242: -1- m4_pattern_allow([^PKGCONFIG$]) m4trace:configure.ac:2242: -1- CURL_EXPORT_PCDIR([]) m4trace:configure.ac:2275: -1- m4_pattern_allow([^HAVE_LIBSSH2$]) m4trace:configure.ac:2280: -2- m4_pattern_allow([^USE_LIBSSH2$]) m4trace:configure.ac:2281: -2- m4_pattern_allow([^USE_LIBSSH2$]) m4trace:configure.ac:2317: -1- CURL_CHECK_PKGCONFIG([libssh]) m4trace:configure.ac:2317: -1- m4_pattern_allow([^PKGCONFIG$]) m4trace:configure.ac:2317: -1- CURL_EXPORT_PCDIR([]) m4trace:configure.ac:2349: -1- m4_pattern_allow([^HAVE_LIBSSH$]) m4trace:configure.ac:2354: -2- m4_pattern_allow([^USE_LIBSSH$]) m4trace:configure.ac:2355: -2- m4_pattern_allow([^USE_LIBSSH$]) m4trace:configure.ac:2398: -1- m4_pattern_allow([^HAVE_LIBWOLFSSH$]) m4trace:configure.ac:2403: -2- m4_pattern_allow([^USE_WOLFSSH$]) m4trace:configure.ac:2404: -2- m4_pattern_allow([^USE_WOLFSSH$]) m4trace:configure.ac:2400: -1- m4_pattern_allow([^HAVE_WOLFSSH_SSH_H$]) m4trace:configure.ac:2428: -1- CURL_CHECK_PKGCONFIG([librtmp]) m4trace:configure.ac:2428: -1- m4_pattern_allow([^PKGCONFIG$]) m4trace:configure.ac:2428: -1- CURL_EXPORT_PCDIR([]) m4trace:configure.ac:2465: -2- m4_pattern_allow([^USE_LIBRTMP$]) m4trace:configure.ac:2465: -2- m4_pattern_allow([^USE_LIBRTMP$]) m4trace:configure.ac:2465: -1- m4_pattern_allow([^HAVE_LIBRTMP_RTMP_H$]) m4trace:configure.ac:2537: -1- m4_pattern_allow([^CURL_LT_SHLIB_VERSIONED_FLAVOUR$]) m4trace:configure.ac:2539: -1- AM_CONDITIONAL([CURL_LT_SHLIB_USE_VERSIONED_SYMBOLS], [test "x$versioned_symbols" = 'xyes']) m4trace:configure.ac:2539: -1- m4_pattern_allow([^CURL_LT_SHLIB_USE_VERSIONED_SYMBOLS_TRUE$]) m4trace:configure.ac:2539: -1- m4_pattern_allow([^CURL_LT_SHLIB_USE_VERSIONED_SYMBOLS_FALSE$]) m4trace:configure.ac:2539: -1- _AM_SUBST_NOTMAKE([CURL_LT_SHLIB_USE_VERSIONED_SYMBOLS_TRUE]) m4trace:configure.ac:2539: -1- _AM_SUBST_NOTMAKE([CURL_LT_SHLIB_USE_VERSIONED_SYMBOLS_FALSE]) m4trace:configure.ac:2566: -1- AM_CONDITIONAL([USE_UNICODE], [test "$want_winuni" = "yes"]) m4trace:configure.ac:2566: -1- m4_pattern_allow([^USE_UNICODE_TRUE$]) m4trace:configure.ac:2566: -1- m4_pattern_allow([^USE_UNICODE_FALSE$]) m4trace:configure.ac:2566: -1- _AM_SUBST_NOTMAKE([USE_UNICODE_TRUE]) m4trace:configure.ac:2566: -1- _AM_SUBST_NOTMAKE([USE_UNICODE_FALSE]) m4trace:configure.ac:2643: -1- m4_pattern_allow([^USE_WIN32_IDN$]) m4trace:configure.ac:2644: -1- m4_pattern_allow([^IDN_ENABLED$]) m4trace:configure.ac:2672: -2- m4_pattern_allow([^USE_APPLE_IDN$]) m4trace:configure.ac:2672: -2- m4_pattern_allow([^USE_APPLE_IDN$]) m4trace:configure.ac:2672: -2- m4_pattern_allow([^IDN_ENABLED$]) m4trace:configure.ac:2672: -1- m4_pattern_allow([^HAVE_UNICODE_UIDNA_H$]) m4trace:configure.ac:2745: -1- CURL_CHECK_PKGCONFIG([libidn2], [$IDN_PCDIR]) m4trace:configure.ac:2745: -1- m4_pattern_allow([^PKGCONFIG$]) m4trace:configure.ac:2745: -1- CURL_EXPORT_PCDIR([$IDN_PCDIR]) m4trace:configure.ac:2747: -1- CURL_EXPORT_PCDIR([$IDN_PCDIR]) m4trace:configure.ac:2749: -1- CURL_EXPORT_PCDIR([$IDN_PCDIR]) m4trace:configure.ac:2751: -1- CURL_EXPORT_PCDIR([$IDN_PCDIR]) m4trace:configure.ac:2763: -1- CURL_CHECK_PKGCONFIG([libidn2]) m4trace:configure.ac:2763: -1- m4_pattern_allow([^PKGCONFIG$]) m4trace:configure.ac:2763: -1- CURL_EXPORT_PCDIR([]) m4trace:configure.ac:2802: -1- m4_pattern_allow([^HAVE_IDN2_H$]) m4trace:configure.ac:2805: -1- m4_pattern_allow([^HAVE_LIBIDN2$]) m4trace:configure.ac:2808: -1- m4_pattern_allow([^IDN_ENABLED$]) m4trace:configure.ac:2865: -1- CURL_CHECK_PKGCONFIG([libnghttp2], [$want_nghttp2_pkg_config_path]) m4trace:configure.ac:2865: -1- m4_pattern_allow([^PKGCONFIG$]) m4trace:configure.ac:2865: -1- CURL_EXPORT_PCDIR([$want_nghttp2_pkg_config_path]) m4trace:configure.ac:2868: -1- CURL_EXPORT_PCDIR([$want_nghttp2_pkg_config_path]) m4trace:configure.ac:2872: -1- CURL_EXPORT_PCDIR([$want_nghttp2_pkg_config_path]) m4trace:configure.ac:2876: -1- CURL_EXPORT_PCDIR([$want_nghttp2_pkg_config_path]) m4trace:configure.ac:2900: -2- m4_pattern_allow([^USE_NGHTTP2$]) m4trace:configure.ac:2900: -2- m4_pattern_allow([^USE_NGHTTP2$]) m4trace:configure.ac:2900: -1- m4_pattern_allow([^HAVE_NGHTTP2_NGHTTP2_H$]) m4trace:configure.ac:2965: -1- CURL_CHECK_PKGCONFIG([libngtcp2], [$want_tcp2_path]) m4trace:configure.ac:2965: -1- m4_pattern_allow([^PKGCONFIG$]) m4trace:configure.ac:2965: -1- CURL_EXPORT_PCDIR([$want_tcp2_path]) m4trace:configure.ac:2968: -1- CURL_EXPORT_PCDIR([$want_tcp2_path]) m4trace:configure.ac:2972: -1- CURL_EXPORT_PCDIR([$want_tcp2_path]) m4trace:configure.ac:2976: -1- CURL_EXPORT_PCDIR([$want_tcp2_path]) m4trace:configure.ac:2987: -2- m4_pattern_allow([^USE_NGTCP2$]) m4trace:configure.ac:2987: -2- m4_pattern_allow([^USE_NGTCP2$]) m4trace:configure.ac:2987: -1- m4_pattern_allow([^HAVE_NGTCP2_NGTCP2_H$]) m4trace:configure.ac:3021: -1- CURL_CHECK_PKGCONFIG([libngtcp2_crypto_quictls], [$want_tcp2_path]) m4trace:configure.ac:3021: -1- m4_pattern_allow([^PKGCONFIG$]) m4trace:configure.ac:3021: -1- CURL_EXPORT_PCDIR([$want_tcp2_path]) m4trace:configure.ac:3024: -1- CURL_EXPORT_PCDIR([$want_tcp2_path]) m4trace:configure.ac:3028: -1- CURL_EXPORT_PCDIR([$want_tcp2_path]) m4trace:configure.ac:3032: -1- CURL_EXPORT_PCDIR([$want_tcp2_path]) m4trace:configure.ac:3043: -2- m4_pattern_allow([^USE_NGTCP2_CRYPTO_QUICTLS$]) m4trace:configure.ac:3043: -2- m4_pattern_allow([^USE_NGTCP2_CRYPTO_QUICTLS$]) m4trace:configure.ac:3043: -1- m4_pattern_allow([^HAVE_NGTCP2_NGTCP2_CRYPTO_H$]) m4trace:configure.ac:3077: -1- CURL_CHECK_PKGCONFIG([libngtcp2_crypto_boringssl], [$want_tcp2_path]) m4trace:configure.ac:3077: -1- m4_pattern_allow([^PKGCONFIG$]) m4trace:configure.ac:3077: -1- CURL_EXPORT_PCDIR([$want_tcp2_path]) m4trace:configure.ac:3080: -1- CURL_EXPORT_PCDIR([$want_tcp2_path]) m4trace:configure.ac:3084: -1- CURL_EXPORT_PCDIR([$want_tcp2_path]) m4trace:configure.ac:3088: -1- CURL_EXPORT_PCDIR([$want_tcp2_path]) m4trace:configure.ac:3099: -2- m4_pattern_allow([^USE_NGTCP2_CRYPTO_BORINGSSL$]) m4trace:configure.ac:3099: -2- m4_pattern_allow([^USE_NGTCP2_CRYPTO_BORINGSSL$]) m4trace:configure.ac:3099: -1- m4_pattern_allow([^HAVE_NGTCP2_NGTCP2_CRYPTO_H$]) m4trace:configure.ac:3133: -1- CURL_CHECK_PKGCONFIG([libngtcp2_crypto_gnutls], [$want_tcp2_path]) m4trace:configure.ac:3133: -1- m4_pattern_allow([^PKGCONFIG$]) m4trace:configure.ac:3133: -1- CURL_EXPORT_PCDIR([$want_tcp2_path]) m4trace:configure.ac:3136: -1- CURL_EXPORT_PCDIR([$want_tcp2_path]) m4trace:configure.ac:3140: -1- CURL_EXPORT_PCDIR([$want_tcp2_path]) m4trace:configure.ac:3144: -1- CURL_EXPORT_PCDIR([$want_tcp2_path]) m4trace:configure.ac:3155: -2- m4_pattern_allow([^USE_NGTCP2_CRYPTO_GNUTLS$]) m4trace:configure.ac:3155: -2- m4_pattern_allow([^USE_NGTCP2_CRYPTO_GNUTLS$]) m4trace:configure.ac:3155: -1- m4_pattern_allow([^HAVE_NGTCP2_NGTCP2_CRYPTO_H$]) m4trace:configure.ac:3189: -1- CURL_CHECK_PKGCONFIG([libngtcp2_crypto_wolfssl], [$want_tcp2_path]) m4trace:configure.ac:3189: -1- m4_pattern_allow([^PKGCONFIG$]) m4trace:configure.ac:3189: -1- CURL_EXPORT_PCDIR([$want_tcp2_path]) m4trace:configure.ac:3192: -1- CURL_EXPORT_PCDIR([$want_tcp2_path]) m4trace:configure.ac:3196: -1- CURL_EXPORT_PCDIR([$want_tcp2_path]) m4trace:configure.ac:3200: -1- CURL_EXPORT_PCDIR([$want_tcp2_path]) m4trace:configure.ac:3211: -2- m4_pattern_allow([^USE_NGTCP2_CRYPTO_WOLFSSL$]) m4trace:configure.ac:3211: -2- m4_pattern_allow([^USE_NGTCP2_CRYPTO_WOLFSSL$]) m4trace:configure.ac:3211: -1- m4_pattern_allow([^HAVE_NGTCP2_NGTCP2_CRYPTO_H$]) m4trace:configure.ac:3274: -1- m4_pattern_allow([^USE_OPENSSL_QUIC$]) m4trace:configure.ac:3275: -1- m4_pattern_allow([^USE_OPENSSL_QUIC$]) m4trace:configure.ac:3324: -1- CURL_CHECK_PKGCONFIG([libnghttp3], [$want_nghttp3_path]) m4trace:configure.ac:3324: -1- m4_pattern_allow([^PKGCONFIG$]) m4trace:configure.ac:3324: -1- CURL_EXPORT_PCDIR([$want_nghttp3_path]) m4trace:configure.ac:3327: -1- CURL_EXPORT_PCDIR([$want_nghttp3_path]) m4trace:configure.ac:3331: -1- CURL_EXPORT_PCDIR([$want_nghttp3_path]) m4trace:configure.ac:3335: -1- CURL_EXPORT_PCDIR([$want_nghttp3_path]) m4trace:configure.ac:3346: -2- m4_pattern_allow([^USE_NGHTTP3$]) m4trace:configure.ac:3346: -2- m4_pattern_allow([^USE_NGHTTP3$]) m4trace:configure.ac:3346: -1- m4_pattern_allow([^HAVE_NGHTTP3_NGHTTP3_H$]) m4trace:configure.ac:3378: -1- m4_pattern_allow([^USE_NGTCP2_H3$]) m4trace:configure.ac:3379: -1- m4_pattern_allow([^USE_NGTCP2_H3$]) m4trace:configure.ac:3390: -1- m4_pattern_allow([^USE_OPENSSL_H3$]) m4trace:configure.ac:3391: -1- m4_pattern_allow([^USE_OPENSSL_H3$]) m4trace:configure.ac:3443: -1- CURL_CHECK_PKGCONFIG([quiche], [$want_quiche_path]) m4trace:configure.ac:3443: -1- m4_pattern_allow([^PKGCONFIG$]) m4trace:configure.ac:3443: -1- CURL_EXPORT_PCDIR([$want_quiche_path]) m4trace:configure.ac:3446: -1- CURL_EXPORT_PCDIR([$want_quiche_path]) m4trace:configure.ac:3450: -1- CURL_EXPORT_PCDIR([$want_quiche_path]) m4trace:configure.ac:3454: -1- CURL_EXPORT_PCDIR([$want_quiche_path]) m4trace:configure.ac:3465: -2- m4_pattern_allow([^USE_QUICHE$]) m4trace:configure.ac:3465: -2- m4_pattern_allow([^USE_QUICHE$]) m4trace:configure.ac:3465: -2- m4_pattern_allow([^HAVE_QUICHE_CONN_SET_QLOG_FD$]) m4trace:configure.ac:3465: -1- m4_pattern_allow([^HAVE_QUICHE_H$]) m4trace:configure.ac:3564: -2- m4_pattern_allow([^USE_MSH3$]) m4trace:configure.ac:3564: -2- m4_pattern_allow([^USE_MSH3$]) m4trace:configure.ac:3564: -1- m4_pattern_allow([^HAVE_MSH3_H$]) m4trace:configure.ac:3621: -1- CURL_CHECK_PKGCONFIG([libuv], [$want_libuv_path]) m4trace:configure.ac:3621: -1- m4_pattern_allow([^PKGCONFIG$]) m4trace:configure.ac:3621: -1- CURL_EXPORT_PCDIR([$want_libuv_path]) m4trace:configure.ac:3624: -1- CURL_EXPORT_PCDIR([$want_libuv_path]) m4trace:configure.ac:3628: -1- CURL_EXPORT_PCDIR([$want_libuv_path]) m4trace:configure.ac:3632: -1- CURL_EXPORT_PCDIR([$want_libuv_path]) m4trace:configure.ac:3643: -2- m4_pattern_allow([^USE_LIBUV$]) m4trace:configure.ac:3643: -2- m4_pattern_allow([^USE_LIBUV$]) m4trace:configure.ac:3643: -1- m4_pattern_allow([^HAVE_UV_H$]) m4trace:configure.ac:3688: -1- m4_pattern_allow([^ZSH_FUNCTIONS_DIR$]) m4trace:configure.ac:3693: -1- m4_pattern_allow([^ZSH_FUNCTIONS_DIR$]) m4trace:configure.ac:3696: -1- AM_CONDITIONAL([USE_ZSH_COMPLETION], [test x"$ZSH_FUNCTIONS_DIR" != x]) m4trace:configure.ac:3696: -1- m4_pattern_allow([^USE_ZSH_COMPLETION_TRUE$]) m4trace:configure.ac:3696: -1- m4_pattern_allow([^USE_ZSH_COMPLETION_FALSE$]) m4trace:configure.ac:3696: -1- _AM_SUBST_NOTMAKE([USE_ZSH_COMPLETION_TRUE]) m4trace:configure.ac:3696: -1- _AM_SUBST_NOTMAKE([USE_ZSH_COMPLETION_FALSE]) m4trace:configure.ac:3713: -1- CURL_CHECK_PKGCONFIG([fish]) m4trace:configure.ac:3713: -1- m4_pattern_allow([^PKGCONFIG$]) m4trace:configure.ac:3713: -1- CURL_EXPORT_PCDIR([]) m4trace:configure.ac:3719: -1- m4_pattern_allow([^FISH_FUNCTIONS_DIR$]) m4trace:configure.ac:3724: -1- m4_pattern_allow([^FISH_FUNCTIONS_DIR$]) m4trace:configure.ac:3727: -1- AM_CONDITIONAL([USE_FISH_COMPLETION], [test x"$FISH_FUNCTIONS_DIR" != x]) m4trace:configure.ac:3727: -1- m4_pattern_allow([^USE_FISH_COMPLETION_TRUE$]) m4trace:configure.ac:3727: -1- m4_pattern_allow([^USE_FISH_COMPLETION_FALSE$]) m4trace:configure.ac:3727: -1- _AM_SUBST_NOTMAKE([USE_FISH_COMPLETION_TRUE]) m4trace:configure.ac:3727: -1- _AM_SUBST_NOTMAKE([USE_FISH_COMPLETION_FALSE]) m4trace:configure.ac:3731: -1- m4_pattern_allow([^HAVE_SYS_TYPES_H$]) m4trace:configure.ac:3731: -1- m4_pattern_allow([^HAVE_SYS_TIME_H$]) m4trace:configure.ac:3731: -1- m4_pattern_allow([^HAVE_SYS_SELECT_H$]) m4trace:configure.ac:3731: -1- m4_pattern_allow([^HAVE_SYS_SOCKET_H$]) m4trace:configure.ac:3731: -1- m4_pattern_allow([^HAVE_SYS_IOCTL_H$]) m4trace:configure.ac:3731: -1- m4_pattern_allow([^HAVE_UNISTD_H$]) m4trace:configure.ac:3731: -1- m4_pattern_allow([^HAVE_STDLIB_H$]) m4trace:configure.ac:3731: -1- m4_pattern_allow([^HAVE_ARPA_INET_H$]) m4trace:configure.ac:3731: -1- m4_pattern_allow([^HAVE_NET_IF_H$]) m4trace:configure.ac:3731: -1- m4_pattern_allow([^HAVE_NETINET_IN_H$]) m4trace:configure.ac:3731: -1- m4_pattern_allow([^HAVE_NETINET_IN6_H$]) m4trace:configure.ac:3731: -1- m4_pattern_allow([^HAVE_SYS_UN_H$]) m4trace:configure.ac:3731: -1- m4_pattern_allow([^HAVE_LINUX_TCP_H$]) m4trace:configure.ac:3731: -1- m4_pattern_allow([^HAVE_NETINET_TCP_H$]) m4trace:configure.ac:3731: -1- m4_pattern_allow([^HAVE_NETINET_UDP_H$]) m4trace:configure.ac:3731: -1- m4_pattern_allow([^HAVE_NETDB_H$]) m4trace:configure.ac:3731: -1- m4_pattern_allow([^HAVE_SYS_SOCKIO_H$]) m4trace:configure.ac:3731: -1- m4_pattern_allow([^HAVE_SYS_STAT_H$]) m4trace:configure.ac:3731: -1- m4_pattern_allow([^HAVE_SYS_PARAM_H$]) m4trace:configure.ac:3731: -1- m4_pattern_allow([^HAVE_TERMIOS_H$]) m4trace:configure.ac:3731: -1- m4_pattern_allow([^HAVE_TERMIO_H$]) m4trace:configure.ac:3731: -1- m4_pattern_allow([^HAVE_FCNTL_H$]) m4trace:configure.ac:3731: -1- m4_pattern_allow([^HAVE_IO_H$]) m4trace:configure.ac:3731: -1- m4_pattern_allow([^HAVE_PWD_H$]) m4trace:configure.ac:3731: -1- m4_pattern_allow([^HAVE_UTIME_H$]) m4trace:configure.ac:3731: -1- m4_pattern_allow([^HAVE_SYS_UTIME_H$]) m4trace:configure.ac:3731: -1- m4_pattern_allow([^HAVE_SYS_POLL_H$]) m4trace:configure.ac:3731: -1- m4_pattern_allow([^HAVE_POLL_H$]) m4trace:configure.ac:3731: -1- m4_pattern_allow([^HAVE_SOCKET_H$]) m4trace:configure.ac:3731: -1- m4_pattern_allow([^HAVE_SYS_RESOURCE_H$]) m4trace:configure.ac:3731: -1- m4_pattern_allow([^HAVE_LIBGEN_H$]) m4trace:configure.ac:3731: -1- m4_pattern_allow([^HAVE_LOCALE_H$]) m4trace:configure.ac:3731: -1- m4_pattern_allow([^HAVE_STDBOOL_H$]) m4trace:configure.ac:3731: -1- m4_pattern_allow([^HAVE_SYS_FILIO_H$]) m4trace:configure.ac:3731: -1- m4_pattern_allow([^HAVE_SYS_WAIT_H$]) m4trace:configure.ac:3731: -1- m4_pattern_allow([^HAVE_SYS_EVENTFD_H$]) m4trace:configure.ac:3731: -1- m4_pattern_allow([^HAVE_SETJMP_H$]) m4trace:configure.ac:3803: -1- m4_pattern_allow([^const$]) m4trace:configure.ac:3804: -1- m4_pattern_allow([^size_t$]) m4trace:configure.ac:3806: -1- CURL_CHECK_STRUCT_TIMEVAL m4trace:configure.ac:3806: -1- m4_pattern_allow([^HAVE_SYS_TYPES_H$]) m4trace:configure.ac:3806: -1- m4_pattern_allow([^HAVE_SYS_TIME_H$]) m4trace:configure.ac:3806: -1- m4_pattern_allow([^HAVE_SYS_SOCKET_H$]) m4trace:configure.ac:3806: -1- m4_pattern_allow([^HAVE_STRUCT_TIMEVAL$]) m4trace:configure.ac:3807: -1- CURL_VERIFY_RUNTIMELIBS m4trace:configure.ac:3807: -1- CURL_RUN_IFELSE([ int main() { return 0; } ], [{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: fine" >&5 printf "%s\n" "fine" >&6; }], [{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: failed" >&5 printf "%s\n" "failed" >&6; } as_fn_error $? "one or more libs available at link-time are not available run-time. Libs used at link-time: $LIBS" "$LINENO" 5 ]) m4trace:configure.ac:3807: -1- _m4_warn([cross], [AC_RUN_IFELSE called without default to allow cross compiling], [./lib/autoconf/general.m4:2981: AC_RUN_IFELSE is expanded from... m4/curl-functions.m4:4876: CURL_RUN_IFELSE is expanded from... acinclude.m4:1158: CURL_VERIFY_RUNTIMELIBS is expanded from... configure.ac:3807: the top level]) m4trace:configure.ac:3807: -1- _m4_warn([cross], [AC_RUN_IFELSE called without default to allow cross compiling], [./lib/autoconf/general.m4:2981: AC_RUN_IFELSE is expanded from... m4/curl-functions.m4:4876: CURL_RUN_IFELSE is expanded from... acinclude.m4:1158: CURL_VERIFY_RUNTIMELIBS is expanded from... configure.ac:3807: the top level]) m4trace:configure.ac:3809: -1- CURL_SIZEOF([size_t]) m4trace:configure.ac:3809: -1- m4_pattern_allow([^SIZEOF_SIZE_T$]) m4trace:configure.ac:3810: -1- CURL_SIZEOF([long]) m4trace:configure.ac:3810: -1- m4_pattern_allow([^SIZEOF_LONG$]) m4trace:configure.ac:3811: -1- CURL_SIZEOF([int]) m4trace:configure.ac:3811: -1- m4_pattern_allow([^SIZEOF_INT$]) m4trace:configure.ac:3812: -1- CURL_SIZEOF([time_t]) m4trace:configure.ac:3812: -1- m4_pattern_allow([^SIZEOF_TIME_T$]) m4trace:configure.ac:3813: -1- CURL_SIZEOF([off_t]) m4trace:configure.ac:3813: -1- m4_pattern_allow([^SIZEOF_OFF_T$]) m4trace:configure.ac:3817: -1- CURL_SIZEOF([curl_off_t], [ #include ]) m4trace:configure.ac:3817: -1- m4_pattern_allow([^SIZEOF_CURL_OFF_T$]) m4trace:configure.ac:3820: -1- CURL_SIZEOF([curl_socket_t], [ #include ]) m4trace:configure.ac:3820: -1- m4_pattern_allow([^SIZEOF_CURL_SOCKET_T$]) m4trace:configure.ac:3825: -1- m4_pattern_allow([^HAVE_LONGLONG$]) m4trace:configure.ac:3837: -2- m4_pattern_allow([^ssize_t$]) m4trace:configure.ac:3840: -1- m4_pattern_allow([^HAVE_BOOL_T$]) m4trace:configure.ac:3854: -2- m4_pattern_allow([^CURL_SA_FAMILY_T$]) m4trace:configure.ac:3853: -2- m4_pattern_allow([^CURL_SA_FAMILY_T$]) m4trace:configure.ac:3853: -2- m4_pattern_allow([^CURL_SA_FAMILY_T$]) m4trace:configure.ac:3879: -1- m4_pattern_allow([^HAVE_SUSECONDS_T$]) m4trace:configure.ac:3892: -1- CURL_RUN_IFELSE([ #include #include int main(void) { time_t t = -1; return (t < 0); } ], [ AC_MSG_RESULT([yes]) AC_DEFINE(HAVE_TIME_T_UNSIGNED, 1, [Define this if time_t is unsigned]) ], [ AC_MSG_RESULT([no]) ], [ dnl cross-compiling, most systems are unsigned AC_MSG_RESULT([no]) ]) m4trace:configure.ac:3892: -2- m4_pattern_allow([^HAVE_TIME_T_UNSIGNED$]) m4trace:configure.ac:3892: -2- m4_pattern_allow([^HAVE_TIME_T_UNSIGNED$]) m4trace:configure.ac:3910: -1- TYPE_IN_ADDR_T m4trace:configure.ac:3910: -1- m4_pattern_allow([^in_addr_t$]) m4trace:configure.ac:3912: -1- TYPE_SOCKADDR_STORAGE m4trace:configure.ac:3912: -2- m4_pattern_allow([^HAVE_STRUCT_SOCKADDR_STORAGE$]) m4trace:configure.ac:3914: -1- CURL_CHECK_FUNC_SELECT m4trace:configure.ac:3914: -1- m4_pattern_allow([^HAVE_SYS_SELECT_H$]) m4trace:configure.ac:3914: -1- m4_pattern_allow([^HAVE_SYS_SOCKET_H$]) m4trace:configure.ac:3914: -1- m4_pattern_allow([^HAVE_SELECT$]) m4trace:configure.ac:3916: -1- CURL_CHECK_FUNC_RECV m4trace:configure.ac:3916: -1- m4_pattern_allow([^HAVE_SYS_TYPES_H$]) m4trace:configure.ac:3916: -1- m4_pattern_allow([^HAVE_SYS_SOCKET_H$]) m4trace:configure.ac:3916: -1- m4_pattern_allow([^HAVE_RECV$]) m4trace:configure.ac:3917: -1- CURL_CHECK_FUNC_SEND m4trace:configure.ac:3917: -1- m4_pattern_allow([^HAVE_SYS_TYPES_H$]) m4trace:configure.ac:3917: -1- m4_pattern_allow([^HAVE_SYS_SOCKET_H$]) m4trace:configure.ac:3917: -1- m4_pattern_allow([^HAVE_SEND$]) m4trace:configure.ac:3918: -1- CURL_CHECK_MSG_NOSIGNAL m4trace:configure.ac:3918: -1- m4_pattern_allow([^HAVE_SYS_TYPES_H$]) m4trace:configure.ac:3918: -1- m4_pattern_allow([^HAVE_SYS_SOCKET_H$]) m4trace:configure.ac:3918: -1- m4_pattern_allow([^HAVE_MSG_NOSIGNAL$]) m4trace:configure.ac:3920: -1- CURL_CHECK_FUNC_ALARM m4trace:configure.ac:3920: -1- CURL_INCLUDES_UNISTD m4trace:configure.ac:3920: -1- m4_pattern_allow([^HAVE_SYS_TYPES_H$]) m4trace:configure.ac:3920: -1- m4_pattern_allow([^HAVE_UNISTD_H$]) m4trace:configure.ac:3920: -1- m4_pattern_allow([^HAVE_ALARM$]) m4trace:configure.ac:3921: -1- CURL_CHECK_FUNC_BASENAME m4trace:configure.ac:3921: -1- CURL_INCLUDES_STRING m4trace:configure.ac:3921: -1- m4_pattern_allow([^HAVE_SYS_TYPES_H$]) m4trace:configure.ac:3921: -1- m4_pattern_allow([^HAVE_STRINGS_H$]) m4trace:configure.ac:3921: -1- CURL_INCLUDES_LIBGEN m4trace:configure.ac:3921: -1- m4_pattern_allow([^HAVE_SYS_TYPES_H$]) m4trace:configure.ac:3921: -1- m4_pattern_allow([^HAVE_LIBGEN_H$]) m4trace:configure.ac:3921: -1- m4_pattern_allow([^HAVE_BASENAME$]) m4trace:configure.ac:3922: -1- CURL_CHECK_FUNC_CLOSESOCKET m4trace:configure.ac:3922: -1- CURL_INCLUDES_SOCKET m4trace:configure.ac:3922: -1- m4_pattern_allow([^HAVE_SYS_TYPES_H$]) m4trace:configure.ac:3922: -1- m4_pattern_allow([^HAVE_SOCKET_H$]) m4trace:configure.ac:3922: -1- m4_pattern_allow([^HAVE_CLOSESOCKET$]) m4trace:configure.ac:3923: -1- CURL_CHECK_FUNC_CLOSESOCKET_CAMEL m4trace:configure.ac:3923: -1- CURL_INCLUDES_SYS_SOCKET m4trace:configure.ac:3923: -1- m4_pattern_allow([^HAVE_SYS_TYPES_H$]) m4trace:configure.ac:3923: -1- m4_pattern_allow([^HAVE_SYS_SOCKET_H$]) m4trace:configure.ac:3923: -1- m4_pattern_allow([^HAVE_CLOSESOCKET_CAMEL$]) m4trace:configure.ac:3924: -1- CURL_CHECK_FUNC_FCNTL m4trace:configure.ac:3924: -1- CURL_INCLUDES_FCNTL m4trace:configure.ac:3924: -1- m4_pattern_allow([^HAVE_SYS_TYPES_H$]) m4trace:configure.ac:3924: -1- m4_pattern_allow([^HAVE_UNISTD_H$]) m4trace:configure.ac:3924: -1- m4_pattern_allow([^HAVE_FCNTL_H$]) m4trace:configure.ac:3924: -1- m4_pattern_allow([^HAVE_FCNTL$]) m4trace:configure.ac:3924: -1- CURL_CHECK_FUNC_FCNTL_O_NONBLOCK m4trace:configure.ac:3924: -1- m4_pattern_allow([^HAVE_FCNTL_O_NONBLOCK$]) m4trace:configure.ac:3925: -1- CURL_CHECK_FUNC_FREEADDRINFO m4trace:configure.ac:3925: -1- CURL_INCLUDES_WS2TCPIP m4trace:configure.ac:3925: -1- CURL_CHECK_NATIVE_WINDOWS m4trace:configure.ac:3925: -1- AM_CONDITIONAL([DOING_NATIVE_WINDOWS], [test "x$curl_cv_native_windows" = xyes]) m4trace:configure.ac:3925: -1- m4_pattern_allow([^DOING_NATIVE_WINDOWS_TRUE$]) m4trace:configure.ac:3925: -1- m4_pattern_allow([^DOING_NATIVE_WINDOWS_FALSE$]) m4trace:configure.ac:3925: -1- _AM_SUBST_NOTMAKE([DOING_NATIVE_WINDOWS_TRUE]) m4trace:configure.ac:3925: -1- _AM_SUBST_NOTMAKE([DOING_NATIVE_WINDOWS_FALSE]) m4trace:configure.ac:3925: -1- CURL_INCLUDES_NETDB m4trace:configure.ac:3925: -1- m4_pattern_allow([^HAVE_SYS_TYPES_H$]) m4trace:configure.ac:3925: -1- m4_pattern_allow([^HAVE_NETDB_H$]) m4trace:configure.ac:3925: -1- m4_pattern_allow([^HAVE_FREEADDRINFO$]) m4trace:configure.ac:3926: -1- CURL_CHECK_FUNC_FSETXATTR m4trace:configure.ac:3926: -1- CURL_INCLUDES_SYS_XATTR m4trace:configure.ac:3926: -1- m4_pattern_allow([^HAVE_SYS_TYPES_H$]) m4trace:configure.ac:3926: -1- m4_pattern_allow([^HAVE_SYS_XATTR_H$]) m4trace:configure.ac:3926: -1- m4_pattern_allow([^HAVE_FSETXATTR$]) m4trace:configure.ac:3926: -1- m4_pattern_allow([^HAVE_FSETXATTR_5$]) m4trace:configure.ac:3926: -1- m4_pattern_allow([^HAVE_FSETXATTR_6$]) m4trace:configure.ac:3927: -1- CURL_CHECK_FUNC_FTRUNCATE m4trace:configure.ac:3927: -1- m4_pattern_allow([^HAVE_FTRUNCATE$]) m4trace:configure.ac:3928: -1- CURL_CHECK_FUNC_GETADDRINFO m4trace:configure.ac:3928: -1- CURL_INCLUDES_STDLIB m4trace:configure.ac:3928: -1- m4_pattern_allow([^HAVE_SYS_TYPES_H$]) m4trace:configure.ac:3928: -1- CURL_RUN_IFELSE([ AC_LANG_PROGRAM([[ $curl_includes_ws2tcpip $curl_includes_stdlib $curl_includes_string $curl_includes_sys_socket $curl_includes_netdb ]],[[ struct addrinfo hints; struct addrinfo *ai = 0; int error; #ifdef _WIN32 WSADATA wsa; if(WSAStartup(MAKEWORD(2, 2), &wsa)) exit(2); #endif memset(&hints, 0, sizeof(hints)); hints.ai_flags = AI_NUMERICHOST; hints.ai_family = AF_UNSPEC; hints.ai_socktype = SOCK_STREAM; error = getaddrinfo("127.0.0.1", 0, &hints, &ai); if(error || !ai) exit(1); /* fail */ else exit(0); ]]) ], [ AC_MSG_RESULT([yes]) tst_works_getaddrinfo="yes" ], [ AC_MSG_RESULT([no]) tst_works_getaddrinfo="no" ]) m4trace:configure.ac:3928: -1- _m4_warn([cross], [AC_RUN_IFELSE called without default to allow cross compiling], [./lib/autoconf/general.m4:2981: AC_RUN_IFELSE is expanded from... m4/curl-functions.m4:4876: CURL_RUN_IFELSE is expanded from... m4/curl-functions.m4:1337: CURL_CHECK_FUNC_GETADDRINFO is expanded from... configure.ac:3928: the top level]) m4trace:configure.ac:3928: -1- _m4_warn([cross], [AC_RUN_IFELSE called without default to allow cross compiling], [./lib/autoconf/general.m4:2981: AC_RUN_IFELSE is expanded from... m4/curl-functions.m4:4876: CURL_RUN_IFELSE is expanded from... m4/curl-functions.m4:1337: CURL_CHECK_FUNC_GETADDRINFO is expanded from... configure.ac:3928: the top level]) m4trace:configure.ac:3928: -1- m4_pattern_allow([^HAVE_GETADDRINFO$]) m4trace:configure.ac:3928: -1- CURL_CHECK_DEF_CC([h_errno], [ $curl_includes_sys_socket $curl_includes_netdb ], [silent]) m4trace:configure.ac:3928: -1- m4_pattern_allow([^HAVE_GETADDRINFO_THREADSAFE$]) m4trace:configure.ac:3929: -1- CURL_CHECK_FUNC_GETHOSTBYNAME m4trace:configure.ac:3929: -1- m4_pattern_allow([^HAVE_GETHOSTBYNAME$]) m4trace:configure.ac:3930: -1- CURL_CHECK_FUNC_GETHOSTBYNAME_R m4trace:configure.ac:3930: -1- m4_pattern_allow([^HAVE_GETHOSTBYNAME_R$]) m4trace:configure.ac:3930: -1- m4_pattern_allow([^HAVE_GETHOSTBYNAME_R_3$]) m4trace:configure.ac:3930: -1- m4_pattern_allow([^HAVE_GETHOSTBYNAME_R_5$]) m4trace:configure.ac:3930: -1- m4_pattern_allow([^HAVE_GETHOSTBYNAME_R_6$]) m4trace:configure.ac:3931: -1- CURL_CHECK_FUNC_GETHOSTNAME m4trace:configure.ac:3931: -1- CURL_PREPROCESS_CALLCONV m4trace:configure.ac:3931: -1- m4_pattern_allow([^GETHOSTNAME_TYPE_ARG2$]) m4trace:configure.ac:3931: -1- m4_pattern_allow([^HAVE_GETHOSTNAME$]) m4trace:configure.ac:3932: -1- CURL_CHECK_FUNC_GETPEERNAME m4trace:configure.ac:3932: -1- m4_pattern_allow([^HAVE_GETPEERNAME$]) m4trace:configure.ac:3933: -1- CURL_CHECK_FUNC_GETSOCKNAME m4trace:configure.ac:3933: -1- m4_pattern_allow([^HAVE_GETSOCKNAME$]) m4trace:configure.ac:3934: -1- CURL_CHECK_FUNC_IF_NAMETOINDEX m4trace:configure.ac:3934: -1- CURL_INCLUDES_NETIF m4trace:configure.ac:3934: -1- m4_pattern_allow([^HAVE_NET_IF_H$]) m4trace:configure.ac:3934: -1- m4_pattern_allow([^HAVE_IF_NAMETOINDEX$]) m4trace:configure.ac:3935: -1- CURL_CHECK_FUNC_GETIFADDRS m4trace:configure.ac:3935: -1- CURL_INCLUDES_IFADDRS m4trace:configure.ac:3935: -1- m4_pattern_allow([^HAVE_SYS_TYPES_H$]) m4trace:configure.ac:3935: -1- m4_pattern_allow([^HAVE_SYS_SOCKET_H$]) m4trace:configure.ac:3935: -1- m4_pattern_allow([^HAVE_NETINET_IN_H$]) m4trace:configure.ac:3935: -1- m4_pattern_allow([^HAVE_IFADDRS_H$]) m4trace:configure.ac:3935: -1- CURL_RUN_IFELSE([ AC_LANG_PROGRAM([[ $curl_includes_stdlib $curl_includes_ifaddrs ]],[[ struct ifaddrs *ifa = 0; int error; error = getifaddrs(&ifa); if(error || !ifa) exit(1); /* fail */ else exit(0); ]]) ], [ AC_MSG_RESULT([yes]) tst_works_getifaddrs="yes" ], [ AC_MSG_RESULT([no]) tst_works_getifaddrs="no" ]) m4trace:configure.ac:3935: -1- _m4_warn([cross], [AC_RUN_IFELSE called without default to allow cross compiling], [./lib/autoconf/general.m4:2981: AC_RUN_IFELSE is expanded from... m4/curl-functions.m4:4876: CURL_RUN_IFELSE is expanded from... m4/curl-functions.m4:2264: CURL_CHECK_FUNC_GETIFADDRS is expanded from... configure.ac:3935: the top level]) m4trace:configure.ac:3935: -1- _m4_warn([cross], [AC_RUN_IFELSE called without default to allow cross compiling], [./lib/autoconf/general.m4:2981: AC_RUN_IFELSE is expanded from... m4/curl-functions.m4:4876: CURL_RUN_IFELSE is expanded from... m4/curl-functions.m4:2264: CURL_CHECK_FUNC_GETIFADDRS is expanded from... configure.ac:3935: the top level]) m4trace:configure.ac:3935: -1- m4_pattern_allow([^HAVE_GETIFADDRS$]) m4trace:configure.ac:3936: -1- CURL_CHECK_FUNC_GMTIME_R m4trace:configure.ac:3936: -1- CURL_INCLUDES_TIME m4trace:configure.ac:3936: -1- m4_pattern_allow([^HAVE_SYS_TYPES_H$]) m4trace:configure.ac:3936: -1- m4_pattern_allow([^HAVE_SYS_TIME_H$]) m4trace:configure.ac:3936: -1- CURL_RUN_IFELSE([ AC_LANG_PROGRAM([[ $curl_includes_stdlib $curl_includes_time ]],[[ time_t local = 1170352587; struct tm *gmt = 0; struct tm result; gmt = gmtime_r(&local, &result); if(gmt) exit(0); else exit(1); ]]) ], [ AC_MSG_RESULT([yes]) tst_works_gmtime_r="yes" ], [ AC_MSG_RESULT([no]) tst_works_gmtime_r="no" ]) m4trace:configure.ac:3936: -1- _m4_warn([cross], [AC_RUN_IFELSE called without default to allow cross compiling], [./lib/autoconf/general.m4:2981: AC_RUN_IFELSE is expanded from... m4/curl-functions.m4:4876: CURL_RUN_IFELSE is expanded from... m4/curl-functions.m4:2380: CURL_CHECK_FUNC_GMTIME_R is expanded from... configure.ac:3936: the top level]) m4trace:configure.ac:3936: -1- _m4_warn([cross], [AC_RUN_IFELSE called without default to allow cross compiling], [./lib/autoconf/general.m4:2981: AC_RUN_IFELSE is expanded from... m4/curl-functions.m4:4876: CURL_RUN_IFELSE is expanded from... m4/curl-functions.m4:2380: CURL_CHECK_FUNC_GMTIME_R is expanded from... configure.ac:3936: the top level]) m4trace:configure.ac:3936: -1- m4_pattern_allow([^HAVE_GMTIME_R$]) m4trace:configure.ac:3937: -1- CURL_CHECK_FUNC_INET_NTOP m4trace:configure.ac:3937: -1- CURL_INCLUDES_ARPA_INET m4trace:configure.ac:3937: -1- m4_pattern_allow([^HAVE_SYS_TYPES_H$]) m4trace:configure.ac:3937: -1- m4_pattern_allow([^HAVE_SYS_SOCKET_H$]) m4trace:configure.ac:3937: -1- m4_pattern_allow([^HAVE_NETINET_IN_H$]) m4trace:configure.ac:3937: -1- m4_pattern_allow([^HAVE_ARPA_INET_H$]) m4trace:configure.ac:3937: -1- CURL_RUN_IFELSE([ AC_LANG_PROGRAM([[ $curl_includes_stdlib $curl_includes_arpa_inet $curl_includes_string ]],[[ char ipv6res[sizeof("ffff:ffff:ffff:ffff:ffff:ffff:255.255.255.255")]; char ipv4res[sizeof "255.255.255.255"]; unsigned char ipv6a[26]; unsigned char ipv4a[5]; char *ipv6ptr = 0; char *ipv4ptr = 0; /* - */ ipv4res[0] = '\0'; ipv4a[0] = 0xc0; ipv4a[1] = 0xa8; ipv4a[2] = 0x64; ipv4a[3] = 0x01; ipv4a[4] = 0x01; /* - */ ipv4ptr = inet_ntop(AF_INET, ipv4a, ipv4res, sizeof(ipv4res)); if(!ipv4ptr) exit(1); /* fail */ if(ipv4ptr != ipv4res) exit(1); /* fail */ if(!ipv4ptr[0]) exit(1); /* fail */ if(memcmp(ipv4res, "192.168.100.1", 13) != 0) exit(1); /* fail */ /* - */ ipv6res[0] = '\0'; memset(ipv6a, 0, sizeof(ipv6a)); ipv6a[0] = 0xfe; ipv6a[1] = 0x80; ipv6a[8] = 0x02; ipv6a[9] = 0x14; ipv6a[10] = 0x4f; ipv6a[11] = 0xff; ipv6a[12] = 0xfe; ipv6a[13] = 0x0b; ipv6a[14] = 0x76; ipv6a[15] = 0xc8; ipv6a[25] = 0x01; /* - */ ipv6ptr = inet_ntop(AF_INET6, ipv6a, ipv6res, sizeof(ipv6res)); if(!ipv6ptr) exit(1); /* fail */ if(ipv6ptr != ipv6res) exit(1); /* fail */ if(!ipv6ptr[0]) exit(1); /* fail */ if(memcmp(ipv6res, "fe80::214:4fff:fe0b:76c8", 24) != 0) exit(1); /* fail */ /* - */ exit(0); ]]) ], [ AC_MSG_RESULT([yes]) tst_works_inet_ntop="yes" ], [ AC_MSG_RESULT([no]) tst_works_inet_ntop="no" ]) m4trace:configure.ac:3937: -1- _m4_warn([cross], [AC_RUN_IFELSE called without default to allow cross compiling], [./lib/autoconf/general.m4:2981: AC_RUN_IFELSE is expanded from... m4/curl-functions.m4:4876: CURL_RUN_IFELSE is expanded from... m4/curl-functions.m4:2496: CURL_CHECK_FUNC_INET_NTOP is expanded from... configure.ac:3937: the top level]) m4trace:configure.ac:3937: -1- _m4_warn([cross], [AC_RUN_IFELSE called without default to allow cross compiling], [./lib/autoconf/general.m4:2981: AC_RUN_IFELSE is expanded from... m4/curl-functions.m4:4876: CURL_RUN_IFELSE is expanded from... m4/curl-functions.m4:2496: CURL_CHECK_FUNC_INET_NTOP is expanded from... configure.ac:3937: the top level]) m4trace:configure.ac:3937: -1- m4_pattern_allow([^HAVE_INET_NTOP$]) m4trace:configure.ac:3938: -1- CURL_CHECK_FUNC_INET_PTON m4trace:configure.ac:3938: -1- CURL_RUN_IFELSE([ AC_LANG_PROGRAM([[ $curl_includes_stdlib $curl_includes_arpa_inet $curl_includes_string ]],[[ unsigned char ipv6a[16+1]; unsigned char ipv4a[4+1]; const char *ipv6src = "fe80::214:4fff:fe0b:76c8"; const char *ipv4src = "192.168.100.1"; /* - */ memset(ipv4a, 1, sizeof(ipv4a)); if(1 != inet_pton(AF_INET, ipv4src, ipv4a)) exit(1); /* fail */ /* - */ if( (ipv4a[0] != 0xc0) || (ipv4a[1] != 0xa8) || (ipv4a[2] != 0x64) || (ipv4a[3] != 0x01) || (ipv4a[4] != 0x01) ) exit(1); /* fail */ /* - */ memset(ipv6a, 1, sizeof(ipv6a)); if(1 != inet_pton(AF_INET6, ipv6src, ipv6a)) exit(1); /* fail */ /* - */ if( (ipv6a[0] != 0xfe) || (ipv6a[1] != 0x80) || (ipv6a[8] != 0x02) || (ipv6a[9] != 0x14) || (ipv6a[10] != 0x4f) || (ipv6a[11] != 0xff) || (ipv6a[12] != 0xfe) || (ipv6a[13] != 0x0b) || (ipv6a[14] != 0x76) || (ipv6a[15] != 0xc8) || (ipv6a[16] != 0x01) ) exit(1); /* fail */ /* - */ if( (ipv6a[2] != 0x0) || (ipv6a[3] != 0x0) || (ipv6a[4] != 0x0) || (ipv6a[5] != 0x0) || (ipv6a[6] != 0x0) || (ipv6a[7] != 0x0) ) exit(1); /* fail */ /* - */ exit(0); ]]) ], [ AC_MSG_RESULT([yes]) tst_works_inet_pton="yes" ], [ AC_MSG_RESULT([no]) tst_works_inet_pton="no" ]) m4trace:configure.ac:3938: -1- _m4_warn([cross], [AC_RUN_IFELSE called without default to allow cross compiling], [./lib/autoconf/general.m4:2981: AC_RUN_IFELSE is expanded from... m4/curl-functions.m4:4876: CURL_RUN_IFELSE is expanded from... m4/curl-functions.m4:2655: CURL_CHECK_FUNC_INET_PTON is expanded from... configure.ac:3938: the top level]) m4trace:configure.ac:3938: -1- _m4_warn([cross], [AC_RUN_IFELSE called without default to allow cross compiling], [./lib/autoconf/general.m4:2981: AC_RUN_IFELSE is expanded from... m4/curl-functions.m4:4876: CURL_RUN_IFELSE is expanded from... m4/curl-functions.m4:2655: CURL_CHECK_FUNC_INET_PTON is expanded from... configure.ac:3938: the top level]) m4trace:configure.ac:3938: -1- m4_pattern_allow([^HAVE_INET_PTON$]) m4trace:configure.ac:3939: -1- CURL_CHECK_FUNC_IOCTL m4trace:configure.ac:3939: -1- CURL_INCLUDES_STROPTS m4trace:configure.ac:3939: -1- m4_pattern_allow([^HAVE_SYS_TYPES_H$]) m4trace:configure.ac:3939: -1- m4_pattern_allow([^HAVE_UNISTD_H$]) m4trace:configure.ac:3939: -1- m4_pattern_allow([^HAVE_SYS_SOCKET_H$]) m4trace:configure.ac:3939: -1- m4_pattern_allow([^HAVE_SYS_IOCTL_H$]) m4trace:configure.ac:3939: -1- m4_pattern_allow([^HAVE_STROPTS_H$]) m4trace:configure.ac:3939: -1- m4_pattern_allow([^HAVE_IOCTL$]) m4trace:configure.ac:3939: -1- CURL_CHECK_FUNC_IOCTL_FIONBIO m4trace:configure.ac:3939: -1- m4_pattern_allow([^HAVE_IOCTL_FIONBIO$]) m4trace:configure.ac:3939: -1- CURL_CHECK_FUNC_IOCTL_SIOCGIFADDR m4trace:configure.ac:3939: -1- m4_pattern_allow([^HAVE_IOCTL_SIOCGIFADDR$]) m4trace:configure.ac:3940: -1- CURL_CHECK_FUNC_IOCTLSOCKET m4trace:configure.ac:3940: -1- m4_pattern_allow([^HAVE_IOCTLSOCKET$]) m4trace:configure.ac:3940: -1- CURL_CHECK_FUNC_IOCTLSOCKET_FIONBIO m4trace:configure.ac:3940: -1- m4_pattern_allow([^HAVE_IOCTLSOCKET_FIONBIO$]) m4trace:configure.ac:3941: -1- CURL_CHECK_FUNC_IOCTLSOCKET_CAMEL m4trace:configure.ac:3941: -1- m4_pattern_allow([^HAVE_IOCTLSOCKET_CAMEL$]) m4trace:configure.ac:3941: -1- CURL_CHECK_FUNC_IOCTLSOCKET_CAMEL_FIONBIO m4trace:configure.ac:3941: -1- m4_pattern_allow([^HAVE_IOCTLSOCKET_CAMEL_FIONBIO$]) m4trace:configure.ac:3942: -1- CURL_CHECK_FUNC_MEMRCHR m4trace:configure.ac:3942: -1- m4_pattern_allow([^HAVE_MEMRCHR$]) m4trace:configure.ac:3943: -1- CURL_CHECK_FUNC_POLL m4trace:configure.ac:3943: -1- CURL_INCLUDES_POLL m4trace:configure.ac:3943: -1- m4_pattern_allow([^HAVE_SYS_TYPES_H$]) m4trace:configure.ac:3943: -1- m4_pattern_allow([^HAVE_POLL_H$]) m4trace:configure.ac:3943: -1- m4_pattern_allow([^HAVE_SYS_POLL_H$]) m4trace:configure.ac:3943: -1- CURL_RUN_IFELSE([ AC_LANG_PROGRAM([[ $curl_includes_stdlib $curl_includes_poll ]],[[ /* detect the original poll() breakage */ if(0 != poll(0, 0, 10)) { return 1; /* fail */ } ]]) ], [ AC_MSG_RESULT([yes]) tst_works_poll="yes" ], [ AC_MSG_RESULT([no]) tst_works_poll="no" ]) m4trace:configure.ac:3943: -1- _m4_warn([cross], [AC_RUN_IFELSE called without default to allow cross compiling], [./lib/autoconf/general.m4:2981: AC_RUN_IFELSE is expanded from... m4/curl-functions.m4:4876: CURL_RUN_IFELSE is expanded from... m4/curl-functions.m4:3402: CURL_CHECK_FUNC_POLL is expanded from... configure.ac:3943: the top level]) m4trace:configure.ac:3943: -1- _m4_warn([cross], [AC_RUN_IFELSE called without default to allow cross compiling], [./lib/autoconf/general.m4:2981: AC_RUN_IFELSE is expanded from... m4/curl-functions.m4:4876: CURL_RUN_IFELSE is expanded from... m4/curl-functions.m4:3402: CURL_CHECK_FUNC_POLL is expanded from... configure.ac:3943: the top level]) m4trace:configure.ac:3943: -1- m4_pattern_allow([^HAVE_POLL_FINE$]) m4trace:configure.ac:3944: -1- CURL_CHECK_FUNC_SIGACTION m4trace:configure.ac:3944: -1- CURL_INCLUDES_SIGNAL m4trace:configure.ac:3944: -1- m4_pattern_allow([^HAVE_SYS_TYPES_H$]) m4trace:configure.ac:3944: -1- m4_pattern_allow([^HAVE_SIGACTION$]) m4trace:configure.ac:3945: -1- CURL_CHECK_FUNC_SIGINTERRUPT m4trace:configure.ac:3945: -1- m4_pattern_allow([^HAVE_SIGINTERRUPT$]) m4trace:configure.ac:3946: -1- CURL_CHECK_FUNC_SIGNAL m4trace:configure.ac:3946: -1- m4_pattern_allow([^HAVE_SIGNAL$]) m4trace:configure.ac:3947: -1- CURL_CHECK_FUNC_SIGSETJMP m4trace:configure.ac:3947: -1- CURL_INCLUDES_SETJMP m4trace:configure.ac:3947: -1- m4_pattern_allow([^HAVE_SYS_TYPES_H$]) m4trace:configure.ac:3947: -1- m4_pattern_allow([^HAVE_SIGSETJMP$]) m4trace:configure.ac:3948: -1- CURL_CHECK_FUNC_SOCKET m4trace:configure.ac:3948: -1- m4_pattern_allow([^HAVE_SOCKET$]) m4trace:configure.ac:3949: -1- CURL_CHECK_FUNC_SOCKETPAIR m4trace:configure.ac:3949: -1- m4_pattern_allow([^HAVE_SOCKETPAIR$]) m4trace:configure.ac:3950: -1- CURL_CHECK_FUNC_STRCASECMP m4trace:configure.ac:3950: -1- m4_pattern_allow([^HAVE_STRCASECMP$]) m4trace:configure.ac:3951: -1- CURL_CHECK_FUNC_STRCMPI m4trace:configure.ac:3951: -1- m4_pattern_allow([^HAVE_STRCMPI$]) m4trace:configure.ac:3952: -1- CURL_CHECK_FUNC_STRDUP m4trace:configure.ac:3952: -1- m4_pattern_allow([^HAVE_STRDUP$]) m4trace:configure.ac:3953: -1- CURL_CHECK_FUNC_STRERROR_R m4trace:configure.ac:3953: -1- CURL_RUN_IFELSE([ AC_LANG_PROGRAM([[ $curl_includes_stdlib $curl_includes_string # include ]],[[ char buffer[1024]; char *string = 0; buffer[0] = '\0'; string = strerror_r(EACCES, buffer, sizeof(buffer)); if(!string) exit(1); /* fail */ if(!string[0]) exit(1); /* fail */ else exit(0); ]]) ], [ AC_MSG_RESULT([yes]) tst_works_glibc_strerror_r="yes" ], [ AC_MSG_RESULT([no]) tst_works_glibc_strerror_r="no" ]) m4trace:configure.ac:3953: -1- _m4_warn([cross], [AC_RUN_IFELSE called without default to allow cross compiling], [./lib/autoconf/general.m4:2981: AC_RUN_IFELSE is expanded from... m4/curl-functions.m4:4876: CURL_RUN_IFELSE is expanded from... m4/curl-functions.m4:4378: CURL_CHECK_FUNC_STRERROR_R is expanded from... configure.ac:3953: the top level]) m4trace:configure.ac:3953: -1- _m4_warn([cross], [AC_RUN_IFELSE called without default to allow cross compiling], [./lib/autoconf/general.m4:2981: AC_RUN_IFELSE is expanded from... m4/curl-functions.m4:4876: CURL_RUN_IFELSE is expanded from... m4/curl-functions.m4:4378: CURL_CHECK_FUNC_STRERROR_R is expanded from... configure.ac:3953: the top level]) m4trace:configure.ac:3953: -1- CURL_RUN_IFELSE([ AC_LANG_PROGRAM([[ $curl_includes_stdlib $curl_includes_string # include ]],[[ char buffer[1024]; int error = 1; buffer[0] = '\0'; error = strerror_r(EACCES, buffer, sizeof(buffer)); if(error) exit(1); /* fail */ if(buffer[0] == '\0') exit(1); /* fail */ else exit(0); ]]) ], [ AC_MSG_RESULT([yes]) tst_works_posix_strerror_r="yes" ], [ AC_MSG_RESULT([no]) tst_works_posix_strerror_r="no" ]) m4trace:configure.ac:3953: -1- _m4_warn([cross], [AC_RUN_IFELSE called without default to allow cross compiling], [./lib/autoconf/general.m4:2981: AC_RUN_IFELSE is expanded from... m4/curl-functions.m4:4876: CURL_RUN_IFELSE is expanded from... m4/curl-functions.m4:4378: CURL_CHECK_FUNC_STRERROR_R is expanded from... configure.ac:3953: the top level]) m4trace:configure.ac:3953: -1- _m4_warn([cross], [AC_RUN_IFELSE called without default to allow cross compiling], [./lib/autoconf/general.m4:2981: AC_RUN_IFELSE is expanded from... m4/curl-functions.m4:4876: CURL_RUN_IFELSE is expanded from... m4/curl-functions.m4:4378: CURL_CHECK_FUNC_STRERROR_R is expanded from... configure.ac:3953: the top level]) m4trace:configure.ac:3953: -1- m4_pattern_allow([^HAVE_STRERROR_R$]) m4trace:configure.ac:3953: -1- m4_pattern_allow([^HAVE_GLIBC_STRERROR_R$]) m4trace:configure.ac:3953: -1- m4_pattern_allow([^HAVE_STRERROR_R$]) m4trace:configure.ac:3953: -1- m4_pattern_allow([^HAVE_POSIX_STRERROR_R$]) m4trace:configure.ac:3954: -1- CURL_CHECK_FUNC_STRICMP m4trace:configure.ac:3954: -1- m4_pattern_allow([^HAVE_STRICMP$]) m4trace:configure.ac:3955: -1- CURL_CHECK_FUNC_STRTOK_R m4trace:configure.ac:3955: -1- m4_pattern_allow([^HAVE_STRTOK_R$]) m4trace:configure.ac:3956: -1- CURL_CHECK_FUNC_STRTOLL m4trace:configure.ac:3956: -1- m4_pattern_allow([^HAVE_STRTOLL$]) m4trace:configure.ac:3966: -1- AC_DEFUN([_AC_UNDECLARED_BUILTIN_c], [_AC_UNDECLARED_BUILTIN]) m4trace:configure.ac:3966: -1- m4_pattern_allow([^HAVE_DECL_GETPWUID_R$]) m4trace:configure.ac:3966: -1- m4_pattern_allow([^HAVE_DECL_GETPWUID_R_MISSING$]) m4trace:configure.ac:3970: -1- m4_pattern_allow([^HAVE__FSEEKI64$]) m4trace:configure.ac:3970: -1- m4_pattern_allow([^HAVE_ARC4RANDOM$]) m4trace:configure.ac:3970: -1- m4_pattern_allow([^HAVE_EVENTFD$]) m4trace:configure.ac:3970: -1- m4_pattern_allow([^HAVE_FNMATCH$]) m4trace:configure.ac:3970: -1- m4_pattern_allow([^HAVE_GETEUID$]) m4trace:configure.ac:3970: -1- m4_pattern_allow([^HAVE_GETPASS_R$]) m4trace:configure.ac:3970: -1- m4_pattern_allow([^HAVE_GETPPID$]) m4trace:configure.ac:3970: -1- m4_pattern_allow([^HAVE_GETPWUID$]) m4trace:configure.ac:3970: -1- m4_pattern_allow([^HAVE_GETPWUID_R$]) m4trace:configure.ac:3970: -1- m4_pattern_allow([^HAVE_GETRLIMIT$]) m4trace:configure.ac:3970: -1- m4_pattern_allow([^HAVE_GETTIMEOFDAY$]) m4trace:configure.ac:3970: -1- m4_pattern_allow([^HAVE_IF_NAMETOINDEX$]) m4trace:configure.ac:3970: -1- m4_pattern_allow([^HAVE_MACH_ABSOLUTE_TIME$]) m4trace:configure.ac:3970: -1- m4_pattern_allow([^HAVE_PIPE$]) m4trace:configure.ac:3970: -1- m4_pattern_allow([^HAVE_SCHED_YIELD$]) m4trace:configure.ac:3970: -1- m4_pattern_allow([^HAVE_SENDMSG$]) m4trace:configure.ac:3970: -1- m4_pattern_allow([^HAVE_SETLOCALE$]) m4trace:configure.ac:3970: -1- m4_pattern_allow([^HAVE_SETMODE$]) m4trace:configure.ac:3970: -1- m4_pattern_allow([^HAVE_SETRLIMIT$]) m4trace:configure.ac:3970: -1- m4_pattern_allow([^HAVE_SNPRINTF$]) m4trace:configure.ac:3970: -1- m4_pattern_allow([^HAVE_UTIME$]) m4trace:configure.ac:3970: -1- m4_pattern_allow([^HAVE_UTIMES$]) m4trace:configure.ac:3996: -1- m4_pattern_allow([^HAVE_FSEEKO$]) m4trace:configure.ac:4001: -1- AC_DEFUN([_AC_UNDECLARED_BUILTIN_c], [_AC_UNDECLARED_BUILTIN]) m4trace:configure.ac:4001: -1- m4_pattern_allow([^HAVE_DECL_FSEEKO$]) m4trace:configure.ac:4008: -1- CURL_CHECK_NONBLOCKING_SOCKET m4trace:configure.ac:4011: -1- m4_pattern_allow([^PERL$]) m4trace:configure.ac:4013: -1- m4_pattern_allow([^PERL$]) m4trace:configure.ac:4021: -1- AM_CONDITIONAL([BUILD_DOCS], [test x"$BUILD_DOCS" = x1]) m4trace:configure.ac:4021: -1- m4_pattern_allow([^BUILD_DOCS_TRUE$]) m4trace:configure.ac:4021: -1- m4_pattern_allow([^BUILD_DOCS_FALSE$]) m4trace:configure.ac:4021: -1- _AM_SUBST_NOTMAKE([BUILD_DOCS_TRUE]) m4trace:configure.ac:4021: -1- _AM_SUBST_NOTMAKE([BUILD_DOCS_FALSE]) m4trace:configure.ac:4032: -1- AM_CONDITIONAL([USE_MANUAL], [test x"$USE_MANUAL" = x1]) m4trace:configure.ac:4032: -1- m4_pattern_allow([^USE_MANUAL_TRUE$]) m4trace:configure.ac:4032: -1- m4_pattern_allow([^USE_MANUAL_FALSE$]) m4trace:configure.ac:4032: -1- _AM_SUBST_NOTMAKE([USE_MANUAL_TRUE]) m4trace:configure.ac:4032: -1- _AM_SUBST_NOTMAKE([USE_MANUAL_FALSE]) m4trace:configure.ac:4034: -1- CURL_CHECK_LIB_ARES m4trace:configure.ac:4034: -1- CURL_CHECK_PKGCONFIG([libcares], [$ARES_PCDIR]) m4trace:configure.ac:4034: -1- m4_pattern_allow([^PKGCONFIG$]) m4trace:configure.ac:4034: -1- CURL_EXPORT_PCDIR([$ARES_PCDIR]) m4trace:configure.ac:4034: -1- CURL_EXPORT_PCDIR([$ARES_PCDIR]) m4trace:configure.ac:4034: -1- CURL_EXPORT_PCDIR([$ARES_PCDIR]) m4trace:configure.ac:4034: -1- CURL_EXPORT_PCDIR([$ARES_PCDIR]) m4trace:configure.ac:4034: -1- CURL_CHECK_PKGCONFIG([libcares]) m4trace:configure.ac:4034: -1- m4_pattern_allow([^PKGCONFIG$]) m4trace:configure.ac:4034: -1- CURL_EXPORT_PCDIR([]) m4trace:configure.ac:4034: -1- m4_pattern_allow([^USE_ARES$]) m4trace:configure.ac:4034: -1- m4_pattern_allow([^CARES_NO_DEPRECATED$]) m4trace:configure.ac:4034: -1- m4_pattern_allow([^USE_ARES$]) m4trace:configure.ac:4037: -1- CURL_CHECK_OPTION_THREADED_RESOLVER m4trace:configure.ac:4040: -1- CURL_DARWIN_SYSTEMCONFIGURATION m4trace:configure.ac:4103: -1- m4_pattern_allow([^HAVE_PTHREAD_H$]) m4trace:configure.ac:4103: -1- m4_pattern_allow([^USE_THREADS_POSIX$]) m4trace:configure.ac:4171: -1- m4_pattern_allow([^USE_THREADS_WIN32$]) m4trace:configure.ac:4178: -1- m4_pattern_allow([^HAVE_DIRENT_H$]) m4trace:configure.ac:4178: -2- m4_pattern_allow([^HAVE_OPENDIR$]) m4trace:configure.ac:4184: -1- CURL_CONVERT_INCLUDE_TO_ISYSTEM m4trace:configure.ac:4190: -1- m4_pattern_allow([^CURL_DISABLE_VERBOSE_STRINGS$]) m4trace:configure.ac:4210: -1- m4_pattern_allow([^USE_WINDOWS_SSPI$]) m4trace:configure.ac:4210: -1- m4_pattern_allow([^USE_WINDOWS_SSPI$]) m4trace:configure.ac:4246: -1- m4_pattern_allow([^CURL_DISABLE_BASIC_AUTH$]) m4trace:configure.ac:4266: -1- m4_pattern_allow([^CURL_DISABLE_BEARER_AUTH$]) m4trace:configure.ac:4286: -1- m4_pattern_allow([^CURL_DISABLE_DIGEST_AUTH$]) m4trace:configure.ac:4306: -1- m4_pattern_allow([^CURL_DISABLE_KERBEROS_AUTH$]) m4trace:configure.ac:4326: -1- m4_pattern_allow([^CURL_DISABLE_NEGOTIATE_AUTH$]) m4trace:configure.ac:4346: -1- m4_pattern_allow([^CURL_DISABLE_AWS$]) m4trace:configure.ac:4366: -1- m4_pattern_allow([^CURL_DISABLE_NTLM$]) m4trace:configure.ac:4404: -1- m4_pattern_allow([^USE_TLS_SRP$]) m4trace:configure.ac:4433: -1- m4_pattern_allow([^USE_UNIX_SOCKETS$]) m4trace:configure.ac:4436: -1- m4_pattern_allow([^USE_UNIX_SOCKETS$]) m4trace:configure.ac:4436: -1- m4_pattern_allow([^USE_UNIX_SOCKETS$]) m4trace:configure.ac:4454: -1- m4_pattern_allow([^CURL_DISABLE_COOKIES$]) m4trace:configure.ac:4473: -1- m4_pattern_allow([^CURL_DISABLE_SOCKETPAIR$]) m4trace:configure.ac:4492: -1- m4_pattern_allow([^CURL_DISABLE_HTTP_AUTH$]) m4trace:configure.ac:4511: -1- m4_pattern_allow([^CURL_DISABLE_DOH$]) m4trace:configure.ac:4530: -1- m4_pattern_allow([^CURL_DISABLE_MIME$]) m4trace:configure.ac:4549: -1- m4_pattern_allow([^CURL_DISABLE_BINDLOCAL$]) m4trace:configure.ac:4568: -1- m4_pattern_allow([^CURL_DISABLE_FORM_API$]) m4trace:configure.ac:4568: -1- m4_pattern_allow([^CURL_DISABLE_FORM_API$]) m4trace:configure.ac:4596: -1- m4_pattern_allow([^CURL_DISABLE_PARSEDATE$]) m4trace:configure.ac:4615: -1- m4_pattern_allow([^CURL_DISABLE_NETRC$]) m4trace:configure.ac:4634: -1- m4_pattern_allow([^CURL_DISABLE_PROGRESS_METER$]) m4trace:configure.ac:4653: -1- m4_pattern_allow([^CURL_DISABLE_SHA512_256$]) m4trace:configure.ac:4672: -1- m4_pattern_allow([^CURL_DISABLE_SHUFFLE_DNS$]) m4trace:configure.ac:4691: -1- m4_pattern_allow([^CURL_DISABLE_GETOPTIONS$]) m4trace:configure.ac:4710: -1- m4_pattern_allow([^CURL_DISABLE_ALTSVC$]) m4trace:configure.ac:4731: -1- m4_pattern_allow([^CURL_DISABLE_HEADERS_API$]) m4trace:configure.ac:4774: -1- m4_pattern_allow([^CURL_DISABLE_HSTS$]) m4trace:configure.ac:4783: -1- m4_pattern_allow([^USE_HTTPSRR$]) m4trace:configure.ac:4799: -1- m4_pattern_allow([^HAVE_SSL_ECH_SET1_ECHCONFIG$]) m4trace:configure.ac:4805: -1- m4_pattern_allow([^HAVE_SSL_SET1_ECH_CONFIG_LIST$]) m4trace:configure.ac:4810: -1- m4_pattern_allow([^HAVE_WOLFSSL_CTX_GENERATEECHCONFIG$]) m4trace:configure.ac:4818: -1- m4_pattern_allow([^USE_HTTPSRR$]) m4trace:configure.ac:4819: -1- m4_pattern_allow([^USE_ECH$]) m4trace:configure.ac:4831: -1- m4_pattern_allow([^HAVE_SSL_SET0_WBIO$]) m4trace:configure.ac:4838: -1- m4_pattern_allow([^USE_WEBSOCKETS$]) m4trace:configure.ac:4869: -1- CURL_CONFIGURE_SYMBOL_HIDING m4trace:configure.ac:4869: -1- m4_pattern_allow([^CURL_EXTERN_SYMBOL$]) m4trace:configure.ac:4869: -1- AM_CONDITIONAL([DOING_CURL_SYMBOL_HIDING], [test x$doing_symbol_hiding = xyes]) m4trace:configure.ac:4869: -1- m4_pattern_allow([^DOING_CURL_SYMBOL_HIDING_TRUE$]) m4trace:configure.ac:4869: -1- m4_pattern_allow([^DOING_CURL_SYMBOL_HIDING_FALSE$]) m4trace:configure.ac:4869: -1- _AM_SUBST_NOTMAKE([DOING_CURL_SYMBOL_HIDING_TRUE]) m4trace:configure.ac:4869: -1- _AM_SUBST_NOTMAKE([DOING_CURL_SYMBOL_HIDING_FALSE]) m4trace:configure.ac:4869: -1- m4_pattern_allow([^CFLAG_CURL_SYMBOL_HIDING$]) m4trace:configure.ac:4876: -1- m4_pattern_allow([^LIBCURL_PC_LIBS_PRIVATE$]) m4trace:configure.ac:4877: -1- m4_pattern_allow([^CURL_NETWORK_LIBS$]) m4trace:configure.ac:4878: -1- m4_pattern_allow([^CURL_NETWORK_AND_TIME_LIBS$]) m4trace:configure.ac:4885: -1- m4_pattern_allow([^BLANK_AT_MAKETIME$]) m4trace:configure.ac:4887: -1- AM_CONDITIONAL([CROSSCOMPILING], [test x$cross_compiling = xyes]) m4trace:configure.ac:4887: -1- m4_pattern_allow([^CROSSCOMPILING_TRUE$]) m4trace:configure.ac:4887: -1- m4_pattern_allow([^CROSSCOMPILING_FALSE$]) m4trace:configure.ac:4887: -1- _AM_SUBST_NOTMAKE([CROSSCOMPILING_TRUE]) m4trace:configure.ac:4887: -1- _AM_SUBST_NOTMAKE([CROSSCOMPILING_FALSE]) m4trace:configure.ac:4891: -1- m4_pattern_allow([^ENABLE_SHARED$]) m4trace:configure.ac:4895: -1- m4_pattern_allow([^ENABLE_STATIC$]) m4trace:configure.ac:4900: -1- m4_pattern_allow([^LIBCURL_PC_REQUIRES_PRIVATE$]) m4trace:configure.ac:4910: -1- m4_pattern_allow([^LIBCURL_PC_REQUIRES$]) m4trace:configure.ac:4911: -1- m4_pattern_allow([^LIBCURL_PC_LIBS$]) m4trace:configure.ac:5098: -1- m4_pattern_allow([^SUPPORT_FEATURES$]) m4trace:configure.ac:5191: -1- m4_pattern_allow([^SUPPORT_PROTOCOLS$]) m4trace:configure.ac:5208: -1- XC_CHECK_BUILD_FLAGS m4trace:configure.ac:5208: -1- _XC_CHECK_VAR_LIBS m4trace:configure.ac:5208: -1- _XC_CHECK_VAR_LDFLAGS m4trace:configure.ac:5208: -1- _XC_CHECK_VAR_CPPFLAGS m4trace:configure.ac:5208: -1- _XC_CHECK_VAR_CFLAGS m4trace:configure.ac:5211: -1- m4_pattern_allow([^SSL_BACKENDS$]) m4trace:configure.ac:5247: -1- m4_pattern_allow([^LIB@&t@OBJS$]) m4trace:configure.ac:5247: -1- m4_pattern_allow([^LTLIBOBJS$]) m4trace:configure.ac:5247: -1- AM_CONDITIONAL([am__EXEEXT], [test -n "$EXEEXT"]) m4trace:configure.ac:5247: -1- m4_pattern_allow([^am__EXEEXT_TRUE$]) m4trace:configure.ac:5247: -1- m4_pattern_allow([^am__EXEEXT_FALSE$]) m4trace:configure.ac:5247: -1- _AM_SUBST_NOTMAKE([am__EXEEXT_TRUE]) m4trace:configure.ac:5247: -1- _AM_SUBST_NOTMAKE([am__EXEEXT_FALSE]) m4trace:configure.ac:5247: -1- _AC_AM_CONFIG_HEADER_HOOK(["$ac_file"]) m4trace:configure.ac:5247: -1- _AM_OUTPUT_DEPENDENCY_COMMANDS m4trace:configure.ac:5247: -1- AM_RUN_LOG([cd "$am_dirpart" \ && sed -e '/# am--include-marker/d' "$am_filepart" \ | $MAKE -f - am--depfiles]) m4trace:configure.ac:5247: -1- _LT_PROG_LTMAIN m4trace:configure.ac:5249: -1- CURL_GENERATE_CONFIGUREHELP_PM m4trace:configure.ac:5250: -1- CURL_GENERATE_BUILDINFO_TXT