m4trace:/home/ubuntu/demo.zhiyu.school/luckfox-pico/sysdrv/source/buildroot/buildroot-2023.02.6/output/host/share/aclocal/ltargz.m4:12: -1- AC_DEFUN([LT_FUNC_ARGZ], [ 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/ubuntu/demo.zhiyu.school/luckfox-pico/sysdrv/source/buildroot/buildroot-2023.02.6/output/host/share/aclocal/ltdl.m4:16: -1- AC_DEFUN([LT_CONFIG_LTDL_DIR], [AC_BEFORE([$0], [LTDL_INIT]) _$0($*) ]) m4trace:/home/ubuntu/demo.zhiyu.school/luckfox-pico/sysdrv/source/buildroot/buildroot-2023.02.6/output/host/share/aclocal/ltdl.m4:68: -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/ubuntu/demo.zhiyu.school/luckfox-pico/sysdrv/source/buildroot/buildroot-2023.02.6/output/host/share/aclocal/ltdl.m4:81: -1- AU_DEFUN([AC_LIBLTDL_CONVENIENCE], [_LT_CONFIG_LTDL_DIR([m4_default([$1], [libltdl])]) _LTDL_CONVENIENCE]) m4trace:/home/ubuntu/demo.zhiyu.school/luckfox-pico/sysdrv/source/buildroot/buildroot-2023.02.6/output/host/share/aclocal/ltdl.m4:81: -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/ubuntu/demo.zhiyu.school/luckfox-pico/sysdrv/source/buildroot/buildroot-2023.02.6/output/host/share/aclocal/ltdl.m4:124: -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/ubuntu/demo.zhiyu.school/luckfox-pico/sysdrv/source/buildroot/buildroot-2023.02.6/output/host/share/aclocal/ltdl.m4:137: -1- AU_DEFUN([AC_LIBLTDL_INSTALLABLE], [_LT_CONFIG_LTDL_DIR([m4_default([$1], [libltdl])]) _LTDL_INSTALLABLE]) m4trace:/home/ubuntu/demo.zhiyu.school/luckfox-pico/sysdrv/source/buildroot/buildroot-2023.02.6/output/host/share/aclocal/ltdl.m4:137: -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/ubuntu/demo.zhiyu.school/luckfox-pico/sysdrv/source/buildroot/buildroot-2023.02.6/output/host/share/aclocal/ltdl.m4:213: -1- AC_DEFUN([_LT_LIBOBJ], [ m4_pattern_allow([^_LT_LIBOBJS$]) _LT_LIBOBJS="$_LT_LIBOBJS $1.$ac_objext" ]) m4trace:/home/ubuntu/demo.zhiyu.school/luckfox-pico/sysdrv/source/buildroot/buildroot-2023.02.6/output/host/share/aclocal/ltdl.m4:226: -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/ubuntu/demo.zhiyu.school/luckfox-pico/sysdrv/source/buildroot/buildroot-2023.02.6/output/host/share/aclocal/ltdl.m4:352: -1- AU_DEFUN([AC_LIB_LTDL], [LTDL_INIT($@)]) m4trace:/home/ubuntu/demo.zhiyu.school/luckfox-pico/sysdrv/source/buildroot/buildroot-2023.02.6/output/host/share/aclocal/ltdl.m4:352: -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/ubuntu/demo.zhiyu.school/luckfox-pico/sysdrv/source/buildroot/buildroot-2023.02.6/output/host/share/aclocal/ltdl.m4:353: -1- AU_DEFUN([AC_WITH_LTDL], [LTDL_INIT($@)]) m4trace:/home/ubuntu/demo.zhiyu.school/luckfox-pico/sysdrv/source/buildroot/buildroot-2023.02.6/output/host/share/aclocal/ltdl.m4:353: -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/ubuntu/demo.zhiyu.school/luckfox-pico/sysdrv/source/buildroot/buildroot-2023.02.6/output/host/share/aclocal/ltdl.m4:354: -1- AU_DEFUN([LT_WITH_LTDL], [LTDL_INIT($@)]) m4trace:/home/ubuntu/demo.zhiyu.school/luckfox-pico/sysdrv/source/buildroot/buildroot-2023.02.6/output/host/share/aclocal/ltdl.m4:354: -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/ubuntu/demo.zhiyu.school/luckfox-pico/sysdrv/source/buildroot/buildroot-2023.02.6/output/host/share/aclocal/ltdl.m4:367: -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/ubuntu/demo.zhiyu.school/luckfox-pico/sysdrv/source/buildroot/buildroot-2023.02.6/output/host/share/aclocal/ltdl.m4:443: -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*) 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/ubuntu/demo.zhiyu.school/luckfox-pico/sysdrv/source/buildroot/buildroot-2023.02.6/output/host/share/aclocal/ltdl.m4:545: -1- AU_DEFUN([AC_LTDL_SYS_DLOPEN_DEPLIBS], [m4_if($#, 0, [LT_SYS_DLOPEN_DEPLIBS], [LT_SYS_DLOPEN_DEPLIBS($@)])], [], []) m4trace:/home/ubuntu/demo.zhiyu.school/luckfox-pico/sysdrv/source/buildroot/buildroot-2023.02.6/output/host/share/aclocal/ltdl.m4:545: -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/ubuntu/demo.zhiyu.school/luckfox-pico/sysdrv/source/buildroot/buildroot-2023.02.6/output/host/share/aclocal/ltdl.m4:552: -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/ubuntu/demo.zhiyu.school/luckfox-pico/sysdrv/source/buildroot/buildroot-2023.02.6/output/host/share/aclocal/ltdl.m4:580: -1- AU_DEFUN([AC_LTDL_SHLIBEXT], [m4_if($#, 0, [LT_SYS_MODULE_EXT], [LT_SYS_MODULE_EXT($@)])], [], []) m4trace:/home/ubuntu/demo.zhiyu.school/luckfox-pico/sysdrv/source/buildroot/buildroot-2023.02.6/output/host/share/aclocal/ltdl.m4:580: -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/ubuntu/demo.zhiyu.school/luckfox-pico/sysdrv/source/buildroot/buildroot-2023.02.6/output/host/share/aclocal/ltdl.m4:587: -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/ubuntu/demo.zhiyu.school/luckfox-pico/sysdrv/source/buildroot/buildroot-2023.02.6/output/host/share/aclocal/ltdl.m4:599: -1- AU_DEFUN([AC_LTDL_SHLIBPATH], [m4_if($#, 0, [LT_SYS_MODULE_PATH], [LT_SYS_MODULE_PATH($@)])], [], []) m4trace:/home/ubuntu/demo.zhiyu.school/luckfox-pico/sysdrv/source/buildroot/buildroot-2023.02.6/output/host/share/aclocal/ltdl.m4:599: -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/ubuntu/demo.zhiyu.school/luckfox-pico/sysdrv/source/buildroot/buildroot-2023.02.6/output/host/share/aclocal/ltdl.m4:606: -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/ubuntu/demo.zhiyu.school/luckfox-pico/sysdrv/source/buildroot/buildroot-2023.02.6/output/host/share/aclocal/ltdl.m4:627: -1- AU_DEFUN([AC_LTDL_SYSSEARCHPATH], [m4_if($#, 0, [LT_SYS_DLSEARCH_PATH], [LT_SYS_DLSEARCH_PATH($@)])], [], []) m4trace:/home/ubuntu/demo.zhiyu.school/luckfox-pico/sysdrv/source/buildroot/buildroot-2023.02.6/output/host/share/aclocal/ltdl.m4:627: -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/ubuntu/demo.zhiyu.school/luckfox-pico/sysdrv/source/buildroot/buildroot-2023.02.6/output/host/share/aclocal/ltdl.m4:653: -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/ubuntu/demo.zhiyu.school/luckfox-pico/sysdrv/source/buildroot/buildroot-2023.02.6/output/host/share/aclocal/ltdl.m4:748: -1- AU_DEFUN([AC_LTDL_DLLIB], [m4_if($#, 0, [LT_LIB_DLLOAD], [LT_LIB_DLLOAD($@)])], [], []) m4trace:/home/ubuntu/demo.zhiyu.school/luckfox-pico/sysdrv/source/buildroot/buildroot-2023.02.6/output/host/share/aclocal/ltdl.m4:748: -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/ubuntu/demo.zhiyu.school/luckfox-pico/sysdrv/source/buildroot/buildroot-2023.02.6/output/host/share/aclocal/ltdl.m4:756: -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/ubuntu/demo.zhiyu.school/luckfox-pico/sysdrv/source/buildroot/buildroot-2023.02.6/output/host/share/aclocal/ltdl.m4:793: -1- AU_DEFUN([AC_LTDL_SYMBOL_USCORE], [m4_if($#, 0, [LT_SYS_SYMBOL_USCORE], [LT_SYS_SYMBOL_USCORE($@)])], [], []) m4trace:/home/ubuntu/demo.zhiyu.school/luckfox-pico/sysdrv/source/buildroot/buildroot-2023.02.6/output/host/share/aclocal/ltdl.m4:793: -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/ubuntu/demo.zhiyu.school/luckfox-pico/sysdrv/source/buildroot/buildroot-2023.02.6/output/host/share/aclocal/ltdl.m4:800: -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/ubuntu/demo.zhiyu.school/luckfox-pico/sysdrv/source/buildroot/buildroot-2023.02.6/output/host/share/aclocal/ltdl.m4:907: -1- AU_DEFUN([AC_LTDL_DLSYM_USCORE], [m4_if($#, 0, [LT_FUNC_DLSYM_USCORE], [LT_FUNC_DLSYM_USCORE($@)])], [], []) m4trace:/home/ubuntu/demo.zhiyu.school/luckfox-pico/sysdrv/source/buildroot/buildroot-2023.02.6/output/host/share/aclocal/ltdl.m4:907: -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/ubuntu/demo.zhiyu.school/luckfox-pico/sysdrv/source/buildroot/buildroot-2023.02.6/output/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/ubuntu/demo.zhiyu.school/luckfox-pico/sysdrv/source/buildroot/buildroot-2023.02.6/output/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/ubuntu/demo.zhiyu.school/luckfox-pico/sysdrv/source/buildroot/buildroot-2023.02.6/output/host/share/aclocal-1.16/ar-lib.m4:13: -1- AC_DEFUN([AM_PROG_AR], [AC_BEFORE([$0], [LT_INIT])dnl AC_BEFORE([$0], [AC_PROG_LIBTOOL])dnl AC_REQUIRE([AM_AUX_DIR_EXPAND])dnl AC_REQUIRE_AUX_FILE([ar-lib])dnl AC_CHECK_TOOLS([AR], [ar lib "link -lib"], [false]) : ${AR=ar} AC_CACHE_CHECK([the archiver ($AR) interface], [am_cv_ar_interface], [AC_LANG_PUSH([C]) am_cv_ar_interface=ar AC_COMPILE_IFELSE([AC_LANG_SOURCE([[int some_variable = 0;]])], [am_ar_try='$AR cru libconftest.a conftest.$ac_objext >&AS_MESSAGE_LOG_FD' AC_TRY_EVAL([am_ar_try]) if test "$ac_status" -eq 0; then am_cv_ar_interface=ar else am_ar_try='$AR -NOLOGO -OUT:conftest.lib conftest.$ac_objext >&AS_MESSAGE_LOG_FD' AC_TRY_EVAL([am_ar_try]) if test "$ac_status" -eq 0; then am_cv_ar_interface=lib else am_cv_ar_interface=unknown fi fi rm -f conftest.lib libconftest.a ]) AC_LANG_POP([C])]) case $am_cv_ar_interface in ar) ;; lib) # Microsoft lib, so override with the ar-lib wrapper script. # FIXME: It is wrong to rewrite AR. # 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__AR in this case, # and then we could set am__AR="$am_aux_dir/ar-lib \$(AR)" or something # similar. AR="$am_aux_dir/ar-lib $AR" ;; unknown) m4_default([$1], [AC_MSG_ERROR([could not determine $AR interface])]) ;; esac AC_SUBST([AR])dnl ]) m4trace:/home/ubuntu/demo.zhiyu.school/luckfox-pico/sysdrv/source/buildroot/buildroot-2023.02.6/output/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/ubuntu/demo.zhiyu.school/luckfox-pico/sysdrv/source/buildroot/buildroot-2023.02.6/output/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/ubuntu/demo.zhiyu.school/luckfox-pico/sysdrv/source/buildroot/buildroot-2023.02.6/output/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/ubuntu/demo.zhiyu.school/luckfox-pico/sysdrv/source/buildroot/buildroot-2023.02.6/output/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/ubuntu/demo.zhiyu.school/luckfox-pico/sysdrv/source/buildroot/buildroot-2023.02.6/output/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/ubuntu/demo.zhiyu.school/luckfox-pico/sysdrv/source/buildroot/buildroot-2023.02.6/output/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/ubuntu/demo.zhiyu.school/luckfox-pico/sysdrv/source/buildroot/buildroot-2023.02.6/output/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/ubuntu/demo.zhiyu.school/luckfox-pico/sysdrv/source/buildroot/buildroot-2023.02.6/output/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/ubuntu/demo.zhiyu.school/luckfox-pico/sysdrv/source/buildroot/buildroot-2023.02.6/output/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/ubuntu/demo.zhiyu.school/luckfox-pico/sysdrv/source/buildroot/buildroot-2023.02.6/output/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/ubuntu/demo.zhiyu.school/luckfox-pico/sysdrv/source/buildroot/buildroot-2023.02.6/output/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/ubuntu/demo.zhiyu.school/luckfox-pico/sysdrv/source/buildroot/buildroot-2023.02.6/output/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/ubuntu/demo.zhiyu.school/luckfox-pico/sysdrv/source/buildroot/buildroot-2023.02.6/output/host/share/aclocal-1.16/make.m4:42: -1- m4_pattern_allow([^am__quote$]) m4trace:/home/ubuntu/demo.zhiyu.school/luckfox-pico/sysdrv/source/buildroot/buildroot-2023.02.6/output/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/ubuntu/demo.zhiyu.school/luckfox-pico/sysdrv/source/buildroot/buildroot-2023.02.6/output/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/ubuntu/demo.zhiyu.school/luckfox-pico/sysdrv/source/buildroot/buildroot-2023.02.6/output/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/ubuntu/demo.zhiyu.school/luckfox-pico/sysdrv/source/buildroot/buildroot-2023.02.6/output/host/share/aclocal-1.16/options.m4:17: -1- AC_DEFUN([_AM_SET_OPTION], [m4_define(_AM_MANGLE_OPTION([$1]), [1])]) m4trace:/home/ubuntu/demo.zhiyu.school/luckfox-pico/sysdrv/source/buildroot/buildroot-2023.02.6/output/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/ubuntu/demo.zhiyu.school/luckfox-pico/sysdrv/source/buildroot/buildroot-2023.02.6/output/host/share/aclocal-1.16/options.m4:29: -1- AC_DEFUN([_AM_IF_OPTION], [m4_ifset(_AM_MANGLE_OPTION([$1]), [$2], [$3])]) m4trace:/home/ubuntu/demo.zhiyu.school/luckfox-pico/sysdrv/source/buildroot/buildroot-2023.02.6/output/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/ubuntu/demo.zhiyu.school/luckfox-pico/sysdrv/source/buildroot/buildroot-2023.02.6/output/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/ubuntu/demo.zhiyu.school/luckfox-pico/sysdrv/source/buildroot/buildroot-2023.02.6/output/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/ubuntu/demo.zhiyu.school/luckfox-pico/sysdrv/source/buildroot/buildroot-2023.02.6/output/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/ubuntu/demo.zhiyu.school/luckfox-pico/sysdrv/source/buildroot/buildroot-2023.02.6/output/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='$(V)' 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/ubuntu/demo.zhiyu.school/luckfox-pico/sysdrv/source/buildroot/buildroot-2023.02.6/output/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/ubuntu/demo.zhiyu.school/luckfox-pico/sysdrv/source/buildroot/buildroot-2023.02.6/output/host/share/aclocal-1.16/substnot.m4:12: -1- AC_DEFUN([_AM_SUBST_NOTMAKE]) m4trace:/home/ubuntu/demo.zhiyu.school/luckfox-pico/sysdrv/source/buildroot/buildroot-2023.02.6/output/host/share/aclocal-1.16/substnot.m4:17: -1- AC_DEFUN([AM_SUBST_NOTMAKE], [_AM_SUBST_NOTMAKE($@)]) m4trace:/home/ubuntu/demo.zhiyu.school/luckfox-pico/sysdrv/source/buildroot/buildroot-2023.02.6/output/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:libopts/m4/libopts.m4:11: -1- AC_DEFUN([INVOKE_LIBOPTS_MACROS_FIRST], [ AC_REQUIRE([AC_HEADER_STDC]) AC_HEADER_DIRENT # ================= # AC_CHECK_HEADERS # ================= AC_CHECK_HEADERS([ \ sys/mman.h sys/param.h sys/poll.h sys/procset.h \ sys/select.h sys/socket.h sys/stropts.h sys/time.h \ sys/un.h sys/wait.h dlfcn.h errno.h \ fcntl.h libgen.h libintl.h memory.h \ netinet/in.h setjmp.h stdbool.h sysexits.h \ unistd.h utime.h]) AC_CHECK_HEADERS([stdarg.h varargs.h], [lo_have_arg_hdr=true;break], [lo_have_arg_hdr=false]) AC_CHECK_HEADERS([string.h strings.h], [lo_have_str_hdr=true;break], [lo_have_str_hdr=false]) AC_CHECK_HEADERS([limits.h sys/limits.h values.h], [lo_have_lim_hdr=true;break], [lo_have_lim_hdr=false]) AC_CHECK_HEADERS([inttypes.h stdint.h], [lo_have_typ_hdr=true;break], [lo_have_typ_hdr=false]) gl_STDNORETURN_H # ---------------------------------------------------------------------- # check for various programs used during the build. # On OS/X, "wchar.h" needs "runetype.h" to work properly. # ---------------------------------------------------------------------- AC_CHECK_HEADERS([runetype.h wchar.h], [], [],[ AC_INCLUDES_DEFAULT #if HAVE_RUNETYPE_H # include #endif ]) AC_ARG_ENABLE([nls], AS_HELP_STRING([--disable-nls],[disable nls support in libopts])) AS_IF([test "x$enable_nls" != "xno" && \ test "X${ac_cv_header_libintl_h}" = Xyes], [ AC_DEFINE([ENABLE_NLS],[1],[nls support in libopts])]) # -------------------------------------------- # Verify certain entries from AC_CHECK_HEADERS # -------------------------------------------- [${lo_have_arg_hdr} || \ ]AC_MSG_ERROR([you must have stdarg.h or varargs.h on your system])[ ${lo_have_str_hdr} || \ ]AC_MSG_ERROR([you must have string.h or strings.h on your system])[ ${lo_have_lim_hdr} || \ ]AC_MSG_ERROR( [you must have one of limits.h, sys/limits.h or values.h])[ ${lo_have_typ_hdr} || \ ]AC_MSG_ERROR([you must have inttypes.h or stdint.h on your system])[ for f in sys_types sys_param sys_stat string errno stdlib memory setjmp do eval as_ac_var=\${ac_cv_header_${f}_h} test "X${as_ac_var}" = Xyes || { ]AC_MSG_ERROR([you must have ${f}.h on your system])[ } done test "X${ac_cv_header_inttypes_h-no}" = Xyes || \ echo '#include ' > inttypes.h] # ---------------------------------------------------------------------- # Checks for typedefs # ---------------------------------------------------------------------- AC_CHECK_TYPES(wchar_t) AC_CHECK_TYPES(wint_t, [], [], [ AC_INCLUDES_DEFAULT #if HAVE_RUNETYPE_H # include #endif #if HAVE_WCHAR_H # include #endif ]) AC_CHECK_TYPES([int8_t, uint8_t, int16_t, uint16_t, int32_t, uint32_t, intptr_t, uintptr_t, uint_t, pid_t, size_t, ptrdiff_t]) AC_CHECK_SIZEOF(char *, 8) AC_CHECK_SIZEOF(int, 4) AC_CHECK_SIZEOF(long, 8) AC_CHECK_SIZEOF(short, 2) # ------------ # AC_CHECK_LIB # ------------ AC_CHECK_LIB(gen, pathfind) AC_CHECK_LIB(intl,gettext) AC_FUNC_VPRINTF AC_FUNC_FORK AC_CHECK_FUNCS([mmap canonicalize_file_name snprintf strdup strchr \ strrchr strsignal fchmod fstat chmod]) AC_PROG_SED [while : do test -x "$POSIX_SHELL" && break POSIX_SHELL=`which bash` test -x "$POSIX_SHELL" && break POSIX_SHELL=`which dash` test -x "$POSIX_SHELL" && break POSIX_SHELL=/usr/xpg4/bin/sh test -x "$POSIX_SHELL" && break POSIX_SHELL=`/bin/sh -c ' exec 2>/dev/null if ! true ; then exit 1 ; fi echo /bin/sh'` test -x "$POSIX_SHELL" && break ]AC_MSG_ERROR([cannot locate a working POSIX shell])[ done] AC_DEFINE_UNQUOTED([POSIX_SHELL], ["${POSIX_SHELL}"], [define to a working POSIX compliant shell]) AC_SUBST([POSIX_SHELL]) ]) m4trace:libopts/m4/libopts.m4:142: -1- AC_DEFUN([LIBOPTS_WITH_REGEX_HEADER], [ AC_ARG_WITH([regex-header], AS_HELP_STRING([--with-regex-header], [a reg expr header is specified]), [libopts_cv_with_regex_header=${with_regex_header}], AC_CACHE_CHECK([whether a reg expr header is specified], libopts_cv_with_regex_header, libopts_cv_with_regex_header=no) ) # end of AC_ARG_WITH if test "X${libopts_cv_with_regex_header}" != Xno then AC_DEFINE_UNQUOTED([REGEX_HEADER],[<${libopts_cv_with_regex_header}>]) else AC_DEFINE([REGEX_HEADER],[],[name of regex header file]) fi ]) m4trace:libopts/m4/libopts.m4:159: -1- AC_DEFUN([LIBOPTS_WITHLIB_REGEX], [ AC_ARG_WITH([libregex], AS_HELP_STRING([--with-libregex], [libregex installation prefix]), [libopts_cv_with_libregex_root=${with_libregex}], AC_CACHE_CHECK([whether with-libregex was specified], libopts_cv_with_libregex_root, libopts_cv_with_libregex_root=no) ) # end of AC_ARG_WITH libregex if test "${with_libregex+set}" = set && \ test "X${withval}" = Xno then ## disabled by request libopts_cv_with_libregex_root=no libopts_cv_with_libregex_cflags=no libopts_cv_with_libregex_libs=no else AC_ARG_WITH([libregex-cflags], AS_HELP_STRING([--with-libregex-cflags], [libregex compile flags]), [libopts_cv_with_libregex_cflags=${with_libregex_cflags}], AC_CACHE_CHECK([whether with-libregex-cflags was specified], libopts_cv_with_libregex_cflags, libopts_cv_with_libregex_cflags=no) ) # end of AC_ARG_WITH libregex-cflags AC_ARG_WITH([libregex-libs], AS_HELP_STRING([--with-libregex-libs], [libregex link command arguments]), [libopts_cv_with_libregex_libs=${with_libregex_libs}], AC_CACHE_CHECK([whether with-libregex-libs was specified], libopts_cv_with_libregex_libs, libopts_cv_with_libregex_libs=no) ) # end of AC_ARG_WITH libregex-libs case "X${libopts_cv_with_libregex_cflags}" in Xyes|Xno|X ) case "X${libopts_cv_with_libregex_root}" in Xyes|Xno|X ) libopts_cv_with_libregex_cflags=no ;; * ) libopts_cv_with_libregex_cflags=-I${libopts_cv_with_libregex_root}/include ;; esac esac case "X${libopts_cv_with_libregex_libs}" in Xyes|Xno|X ) case "X${libopts_cv_with_libregex_root}" in Xyes|Xno|X ) libopts_cv_with_libregex_libs=no ;; * ) libopts_cv_with_libregex_libs="-L${libopts_cv_with_libregex_root}/lib -lregex" ;; esac esac libopts_save_CPPFLAGS="${CPPFLAGS}" libopts_save_LIBS="${LIBS}" case "X${libopts_cv_with_libregex_cflags}" in Xyes|Xno|X ) libopts_cv_with_libregex_cflags="" ;; * ) CPPFLAGS="${CPPFLAGS} ${libopts_cv_with_libregex_cflags}" ;; esac case "X${libopts_cv_with_libregex_libs}" in Xyes|Xno|X ) libopts_cv_with_libregex_libs="" ;; * ) LIBS="${LIBS} ${libopts_cv_with_libregex_libs}" ;; esac LIBREGEX_CFLAGS="" LIBREGEX_LIBS="" AC_MSG_CHECKING([whether libregex functions properly]) AC_CACHE_VAL([libopts_cv_with_libregex],[ AC_RUN_IFELSE([AC_LANG_SOURCE([@%:@include @%:@include @%:@include @%:@include REGEX_HEADER static regex_t re; void comp_re(char const * pzPat) { int res = regcomp( &re, pzPat, REG_EXTENDED|REG_ICASE|REG_NEWLINE ); if (res == 0) return; exit( res ); } int main() { regmatch_t m@<:@2@:>@; comp_re( "^.*\@S|@" ); comp_re( "()|no.*" ); comp_re( "." ); if (regexec( &re, "X", 2, m, 0 ) != 0) return 1; if ((m@<:@0@:>@.rm_so != 0) || (m@<:@0@:>@.rm_eo != 1)) { fputs( "error: regex -->.<-- did not match\n", stderr ); return 1; } return 0; }])], [libopts_cv_with_libregex=yes], [libopts_cv_with_libregex=no], [libopts_cv_with_libregex=no]) # end of AC_RUN_IFELSE ]) # end of AC_CACHE_VAL for libopts_cv_with_libregex fi ## disabled by request AC_MSG_RESULT([${libopts_cv_with_libregex}]) if test "X${libopts_cv_with_libregex}" != Xno then AC_DEFINE([WITH_LIBREGEX],[1], [Define this if a working libregex can be found]) else CPPFLAGS="${libopts_save_CPPFLAGS}" LIBS="${libopts_save_LIBS}" libopts_cv_with_libregex_root=no libopts_cv_with_libregex_cflags=no libopts_cv_with_libregex_libs=no libopts_cv_with_libregex=no fi ]) m4trace:libopts/m4/libopts.m4:261: -1- AC_DEFUN([LIBOPTS_RUN_PATHFIND], [ AC_MSG_CHECKING([whether pathfind(3) works]) AC_CACHE_VAL([libopts_cv_run_pathfind],[ AC_RUN_IFELSE([AC_LANG_SOURCE([@%:@include @%:@include int main (int argc, char ** argv) { char * pz = pathfind( getenv( "PATH" ), "sh", "x" ); return (pz == 0) ? 1 : 0; }])], [libopts_cv_run_pathfind=yes],[libopts_cv_run_pathfind=no],[libopts_cv_run_pathfind=no] ) # end of RUN_IFELSE ]) # end of AC_CACHE_VAL for libopts_cv_run_pathfind AC_MSG_RESULT([${libopts_cv_run_pathfind}]) if test "X${libopts_cv_run_pathfind}" != Xno then AC_DEFINE([HAVE_PATHFIND],[1], [Define this if pathfind(3) works]) fi ]) m4trace:libopts/m4/libopts.m4:283: -1- AC_DEFUN([LIBOPTS_TEST_DEV_ZERO], [ AC_MSG_CHECKING([whether /dev/zero is readable device]) AC_CACHE_VAL([libopts_cv_test_dev_zero],[ libopts_cv_test_dev_zero=`exec 2> /dev/null dzero=\`ls -lL /dev/zero | egrep ^c......r\` test -z "${dzero}" && exit 1 echo ${dzero}` if test $? -ne 0 || test -z "$libopts_cv_test_dev_zero" then libopts_cv_test_dev_zero=no fi ]) # end of CACHE_VAL of libopts_cv_test_dev_zero AC_MSG_RESULT([${libopts_cv_test_dev_zero}]) if test "X${libopts_cv_test_dev_zero}" != Xno then AC_DEFINE([HAVE_DEV_ZERO],[1], [Define this if /dev/zero is readable device]) fi ]) m4trace:libopts/m4/libopts.m4:304: -1- AC_DEFUN([LIBOPTS_RUN_REALPATH], [ AC_MSG_CHECKING([whether we have a functional realpath(3C)]) AC_CACHE_VAL([libopts_cv_run_realpath],[ AC_RUN_IFELSE([AC_LANG_SOURCE([@%:@include @%:@include int main (int argc, char ** argv) { @%:@ifndef PATH_MAX choke me!! @%:@else char zPath@<:@PATH_MAX+1@:>@; @%:@endif char *pz = realpath(argv@<:@0@:>@, zPath); return (pz == zPath) ? 0 : 1; }])], [libopts_cv_run_realpath=yes],[libopts_cv_run_realpath=no],[libopts_cv_run_realpath=no] ) # end of RUN_IFELSE ]) # end of AC_CACHE_VAL for libopts_cv_run_realpath AC_MSG_RESULT([${libopts_cv_run_realpath}]) if test "X${libopts_cv_run_realpath}" != Xno then AC_DEFINE([HAVE_REALPATH],[1], [Define this if we have a functional realpath(3C)]) fi ]) m4trace:libopts/m4/libopts.m4:331: -1- AC_DEFUN([LIBOPTS_RUN_STRFTIME], [ AC_MSG_CHECKING([whether strftime() works]) AC_CACHE_VAL([libopts_cv_run_strftime],[ AC_RUN_IFELSE([AC_LANG_SOURCE([@%:@include @%:@include char t_buf@<:@ 64 @:>@; int main() { static char const z@<:@@:>@ = "Thursday Aug 28 240"; struct tm tm; tm.tm_sec = 36; /* seconds after the minute @<:@0, 61@:>@ */ tm.tm_min = 44; /* minutes after the hour @<:@0, 59@:>@ */ tm.tm_hour = 12; /* hour since midnight @<:@0, 23@:>@ */ tm.tm_mday = 28; /* day of the month @<:@1, 31@:>@ */ tm.tm_mon = 7; /* months since January @<:@0, 11@:>@ */ tm.tm_year = 86; /* years since 1900 */ tm.tm_wday = 4; /* days since Sunday @<:@0, 6@:>@ */ tm.tm_yday = 239; /* days since January 1 @<:@0, 365@:>@ */ tm.tm_isdst = 1; /* flag for daylight savings time */ strftime( t_buf, sizeof( t_buf ), "%A %b %d %j", &tm ); return (strcmp( t_buf, z ) != 0); }])], [libopts_cv_run_strftime=yes],[libopts_cv_run_strftime=no],[libopts_cv_run_strftime=no] ) # end of RUN_IFELSE ]) # end of AC_CACHE_VAL for libopts_cv_run_strftime AC_MSG_RESULT([${libopts_cv_run_strftime}]) if test "X${libopts_cv_run_strftime}" != Xno then AC_DEFINE([HAVE_STRFTIME],[1], [Define this if strftime() works]) fi ]) m4trace:libopts/m4/libopts.m4:364: -1- AC_DEFUN([LIBOPTS_RUN_FOPEN_BINARY], [ AC_MSG_CHECKING([whether fopen accepts "b" mode]) AC_CACHE_VAL([libopts_cv_run_fopen_binary],[ AC_RUN_IFELSE([AC_LANG_SOURCE([@%:@include int main (int argc, char ** argv) { FILE * fp = fopen("conftest.@S|@ac_ext", "rb"); return (fp == NULL) ? 1 : fclose(fp); }])], [libopts_cv_run_fopen_binary=yes],[libopts_cv_run_fopen_binary=no],[libopts_cv_run_fopen_binary=no] ) # end of RUN_IFELSE ]) # end of AC_CACHE_VAL for libopts_cv_run_fopen_binary AC_MSG_RESULT([${libopts_cv_run_fopen_binary}]) if test "X${libopts_cv_run_fopen_binary}" != Xno then AC_DEFINE([FOPEN_BINARY_FLAG],"b", [fopen(3) accepts a 'b' in the mode flag]) else AC_DEFINE([FOPEN_BINARY_FLAG],"", [fopen(3) accepts a 'b' in the mode flag]) fi ]) m4trace:libopts/m4/libopts.m4:387: -1- AC_DEFUN([LIBOPTS_RUN_FOPEN_TEXT], [ AC_MSG_CHECKING([whether fopen accepts "t" mode]) AC_CACHE_VAL([libopts_cv_run_fopen_text],[ AC_RUN_IFELSE([AC_LANG_SOURCE([@%:@include int main (int argc, char ** argv) { FILE * fp = fopen("conftest.@S|@ac_ext", "rt"); return (fp == NULL) ? 1 : fclose(fp); }])], [libopts_cv_run_fopen_text=yes],[libopts_cv_run_fopen_text=no],[libopts_cv_run_fopen_text=no] ) # end of RUN_IFELSE ]) # end of AC_CACHE_VAL for libopts_cv_run_fopen_text AC_MSG_RESULT([${libopts_cv_run_fopen_text}]) if test "X${libopts_cv_run_fopen_text}" != Xno then AC_DEFINE([FOPEN_TEXT_FLAG],"t", [fopen(3) accepts a 't' in the mode flag]) else AC_DEFINE([FOPEN_TEXT_FLAG],"", [fopen(3) accepts a 't' in the mode flag]) fi ]) m4trace:libopts/m4/libopts.m4:410: -1- AC_DEFUN([LIBOPTS_DISABLE_OPTIONAL_ARGS], [ AC_ARG_ENABLE([optional-args], AS_HELP_STRING([--disable-optional-args], [not wanting optional option args]), [libopts_cv_enable_optional_args=${enable_optional_args}], AC_CACHE_CHECK([whether not wanting optional option args], libopts_cv_enable_optional_args, libopts_cv_enable_optional_args=yes) ) # end of AC_ARG_ENABLE if test "X${libopts_cv_enable_optional_args}" = Xno then AC_DEFINE([NO_OPTIONAL_OPT_ARGS], [1], [Define this if optional arguments are disallowed]) fi ]) m4trace:libopts/m4/libopts.m4:426: -1- AC_DEFUN([INVOKE_LIBOPTS_MACROS], [ AC_REQUIRE([INVOKE_LIBOPTS_MACROS_FIRST]) # Check to see if a reg expr header is specified. LIBOPTS_WITH_REGEX_HEADER # Check to see if a working libregex can be found. LIBOPTS_WITHLIB_REGEX # Check to see if pathfind(3) works. LIBOPTS_RUN_PATHFIND # Check to see if /dev/zero is readable device. LIBOPTS_TEST_DEV_ZERO # Check to see if we have a functional realpath(3C). LIBOPTS_RUN_REALPATH # Check to see if strftime() works. LIBOPTS_RUN_STRFTIME # Check to see if fopen accepts "b" mode. LIBOPTS_RUN_FOPEN_BINARY # Check to see if fopen accepts "t" mode. LIBOPTS_RUN_FOPEN_TEXT # Check to see if not wanting optional option args. LIBOPTS_DISABLE_OPTIONAL_ARGS ]) m4trace:libopts/m4/libopts.m4:482: -1- AC_DEFUN([LIBOPTS_CHECK_COMMON], [ AC_REQUIRE([INVOKE_LIBOPTS_MACROS_FIRST]) [NEED_LIBOPTS_DIR=''] m4_pushdef([AO_Libopts_Dir], [ifelse($1, , [libopts], [$1])]) AC_ARG_ENABLE([local-libopts], AC_HELP_STRING([--enable-local-libopts], [Use the supplied libopts tearoff code]),[ if test x$enableval = xyes ; then AC_MSG_NOTICE([Using supplied libopts tearoff]) LIBOPTS_CFLAGS='-I$(top_srcdir)/AO_Libopts_Dir' NEED_LIBOPTS_DIR=true LIBOPTS_LDADD='$(top_builddir)/AO_Libopts_Dir/libopts.la' fi]) AC_ARG_ENABLE([libopts-install], AC_HELP_STRING([--enable-libopts-install], [Install libopts with client installation])) AM_CONDITIONAL([INSTALL_LIBOPTS],[test "X${enable_libopts_install}" = Xyes]) [if test -z "${NEED_LIBOPTS_DIR}" ; then] AC_MSG_CHECKING([whether autoopts-config can be found]) AC_ARG_WITH([autoopts-config], AC_HELP_STRING([--with-autoopts-config], [specify the config-info script]), [lo_cv_with_autoopts_config=${with_autoopts_config}], AC_CACHE_CHECK([whether autoopts-config is specified], [lo_cv_with_autoopts_config], [if autoopts-config --help 2>/dev/null 1>&2 then lo_cv_with_autoopts_config=autoopts-config elif libopts-config --help 2>/dev/null 1>&2 then lo_cv_with_autoopts_config=libopts-config else lo_cv_with_autoopts_config=no ; fi]) ) # end of AC_ARG_WITH AC_CACHE_VAL([lo_cv_test_autoopts],[ if test -z "${lo_cv_with_autoopts_config}" \ -o X"${lo_cv_with_autoopts_config}" = Xno then if autoopts-config --help 2>/dev/null 1>&2 then lo_cv_with_autoopts_config=autoopts-config elif libopts-config --help 2>/dev/null 1>&2 then lo_cv_with_autoopts_config=libopts-config else lo_cv_with_autoopts_config=false ; fi fi lo_cv_test_autoopts=` ${lo_cv_with_autoopts_config} --libs` 2> /dev/null if test $? -ne 0 -o -z "${lo_cv_test_autoopts}" then lo_cv_test_autoopts=no ; fi ]) # end of CACHE_VAL AC_MSG_RESULT([${lo_cv_test_autoopts}]) [if test "X${lo_cv_test_autoopts}" != Xno then LIBOPTS_LDADD="${lo_cv_test_autoopts}" LIBOPTS_CFLAGS="`${lo_cv_with_autoopts_config} --cflags`" else LIBOPTS_LDADD='$(top_builddir)/]AO_Libopts_Dir[/libopts.la' LIBOPTS_CFLAGS='-I$(top_srcdir)/]AO_Libopts_Dir[' NEED_LIBOPTS_DIR=true fi fi # end of if test -z "${NEED_LIBOPTS_DIR}" if test -n "${LIBOPTS_BUILD_BLOCKED}" ; then NEED_LIBOPTS_DIR='' fi] AM_CONDITIONAL([NEED_LIBOPTS], [test -n "${NEED_LIBOPTS_DIR}"]) AC_SUBST(LIBOPTS_LDADD) AC_SUBST(LIBOPTS_CFLAGS) AC_SUBST(LIBOPTS_DIR, AO_Libopts_Dir) m4_popdef([AO_Libopts_Dir]) [# end of AC_DEFUN of LIBOPTS_CHECK_COMMON] ]) m4trace:libopts/m4/libopts.m4:561: -1- AC_DEFUN([AM_COND_IF], [ if test -z "$$1_TRUE"; then : m4_n([$2])[]dnl m4_ifval([$3],[ else $3 ])dnl fi[]dnl ]) m4trace:libopts/m4/libopts.m4:573: -1- AC_DEFUN([LIBOPTS_CHECK_NOBUILD], [ m4_pushdef([AO_Libopts_Dir], [ifelse($1, , [libopts], [$1])]) LIBOPTS_BUILD_BLOCKED=true LIBOPTS_CHECK_COMMON(AO_Libopts_Dir) m4_popdef([AO_Libopts_Dir])dnl # end of AC_DEFUN of LIBOPTS_CHECK_NOBUILD ]) m4trace:libopts/m4/libopts.m4:582: -1- AC_DEFUN([LIBOPTS_CHECK], [ m4_pushdef([AO_Libopts_Dir], [ifelse($1, , [libopts], [$1])]) LIBOPTS_BUILD_BLOCKED='' LIBOPTS_CHECK_COMMON(AO_Libopts_Dir) AM_COND_IF([NEED_LIBOPTS], [ INVOKE_LIBOPTS_MACROS ]) AC_CONFIG_FILES(AO_Libopts_Dir/Makefile) m4_popdef([AO_Libopts_Dir])dnl # end of AC_DEFUN of LIBOPTS_CHECK ]) m4trace:libopts/m4/stdnoreturn.m4:10: -1- AC_DEFUN([gl_STDNORETURN_H], [ AC_CACHE_CHECK([for working stdnoreturn.h], [gl_cv_header_working_stdnoreturn_h], [AC_COMPILE_IFELSE( [AC_LANG_PROGRAM( [[#include #include /* Do not check for 'noreturn' after the return type. C11 allows it, but it's rarely done that way and circa-2012 bleeding-edge GCC rejects it when given -Werror=old-style-declaration. */ noreturn void foo1 (void) { exit (0); } _Noreturn void foo2 (void) { exit (0); } int testit (int argc, char **argv) { if (argc & 1) return 0; (argv[0][0] ? foo1 : foo2) (); } ]])], [gl_cv_header_working_stdnoreturn_h=yes], [gl_cv_header_working_stdnoreturn_h=no])]) if test $gl_cv_header_working_stdnoreturn_h = yes; then STDNORETURN_H='' else STDNORETURN_H='stdnoreturn.h' fi AC_SUBST([STDNORETURN_H]) AM_CONDITIONAL([GL_GENERATE_STDNORETURN_H], [test -n "$STDNORETURN_H"]) ]) m4trace:m4/hms_search_lib.m4:22: -1- AC_DEFUN([HMS_SEARCH_LIBS], [AC_SEARCH_LIBS([$2], [$3], [case "$ac_cv_search_$2[]" in 'none required') ;; no) ;; *) $1[]="$ac_cv_search_$2[] $[]$1" ;; esac $4], $5, [$6])]) m4trace:m4/libtool.m4:61: -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:99: -1- AU_DEFUN([AC_PROG_LIBTOOL], [m4_if($#, 0, [LT_INIT], [LT_INIT($@)])], [], []) m4trace:m4/libtool.m4:99: -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:100: -1- AU_DEFUN([AM_PROG_LIBTOOL], [m4_if($#, 0, [LT_INIT], [LT_INIT($@)])], [], []) m4trace:m4/libtool.m4:100: -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:619: -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:812: -1- AC_DEFUN([LT_SUPPORTED_TAG], []) m4trace:m4/libtool.m4:823: -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:915: -1- AU_DEFUN([AC_LIBTOOL_CXX], [LT_LANG(C++)]) m4trace:m4/libtool.m4:915: -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:916: -1- AU_DEFUN([AC_LIBTOOL_F77], [LT_LANG(Fortran 77)]) m4trace:m4/libtool.m4:916: -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:917: -1- AU_DEFUN([AC_LIBTOOL_FC], [LT_LANG(Fortran)]) m4trace:m4/libtool.m4:917: -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:918: -1- AU_DEFUN([AC_LIBTOOL_GCJ], [LT_LANG(Java)]) m4trace:m4/libtool.m4:918: -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:919: -1- AU_DEFUN([AC_LIBTOOL_RC], [LT_LANG(Windows Resource)]) m4trace:m4/libtool.m4:919: -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:1247: -1- AC_DEFUN([_LT_WITH_SYSROOT], [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:1578: -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:1620: -1- AU_DEFUN([AC_LIBTOOL_COMPILER_OPTION], [m4_if($#, 0, [_LT_COMPILER_OPTION], [_LT_COMPILER_OPTION($@)])], [], []) m4trace:m4/libtool.m4:1620: -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:1629: -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:1664: -1- AU_DEFUN([AC_LIBTOOL_LINKER_OPTION], [m4_if($#, 0, [_LT_LINKER_OPTION], [_LT_LINKER_OPTION($@)])], [], []) m4trace:m4/libtool.m4:1664: -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:1671: -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* | 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:1810: -1- AU_DEFUN([AC_LIBTOOL_SYS_MAX_CMD_LEN], [m4_if($#, 0, [LT_CMD_MAX_LEN], [LT_CMD_MAX_LEN($@)])], [], []) m4trace:m4/libtool.m4:1810: -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:1921: -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:2046: -1- AU_DEFUN([AC_LIBTOOL_DLOPEN_SELF], [m4_if($#, 0, [LT_SYS_DLOPEN_SELF], [LT_SYS_DLOPEN_SELF($@)])], [], []) m4trace:m4/libtool.m4:2046: -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:3155: -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:3217: -1- AU_DEFUN([AC_PATH_TOOL_PREFIX], [m4_if($#, 0, [_LT_PATH_TOOL_PREFIX], [_LT_PATH_TOOL_PREFIX($@)])], [], []) m4trace:m4/libtool.m4:3217: -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:3240: -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:3754: -1- AU_DEFUN([AM_PROG_NM], [m4_if($#, 0, [LT_PATH_NM], [LT_PATH_NM($@)])], [], []) m4trace:m4/libtool.m4:3754: -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:3755: -1- AU_DEFUN([AC_PROG_NM], [m4_if($#, 0, [LT_PATH_NM], [LT_PATH_NM($@)])], [], []) m4trace:m4/libtool.m4:3755: -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:3826: -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:3840: -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:3859: -1- AU_DEFUN([AC_CHECK_LIBM], [m4_if($#, 0, [LT_LIB_M], [LT_LIB_M($@)])], [], []) m4trace:m4/libtool.m4:3859: -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:8122: -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:8131: -1- AU_DEFUN([LT_AC_PROG_GCJ], [m4_if($#, 0, [LT_PROG_GCJ], [LT_PROG_GCJ($@)])], [], []) m4trace:m4/libtool.m4:8131: -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:8138: -1- AC_DEFUN([LT_PROG_GO], [AC_CHECK_TOOL(GOC, gccgo,) ]) m4trace:m4/libtool.m4:8145: -1- AC_DEFUN([LT_PROG_RC], [AC_CHECK_TOOL(RC, windres,) ]) m4trace:m4/libtool.m4:8150: -1- AU_DEFUN([LT_AC_PROG_RC], [m4_if($#, 0, [LT_PROG_RC], [LT_PROG_RC($@)])], [], []) m4trace:m4/libtool.m4:8150: -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:8270: -1- AU_DEFUN([LT_AC_PROG_SED], [m4_if($#, 0, [AC_PROG_SED], [AC_PROG_SED($@)])], [], []) m4trace:m4/libtool.m4:8270: -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:18: -1- AC_DEFUN([LTVERSION_VERSION], [macro_version='2.4.6' macro_revision='2.4.6' _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/ntp_cacheversion.m4:25: -1- AC_DEFUN_ONCE([NTP_CACHEVERSION], [ AC_BEFORE([$0], [AM_INIT_AUTOMAKE])dnl AC_BEFORE([$0], [AC_CONFIG_HEADERS])dnl AC_BEFORE([$0], [AC_PROG_CC])dnl AC_BEFORE([$0], [AC_CONFIG_SUBDIRS])dnl ntp_cache_flush=1 case "$ntp_cv_[$1]_cache_version" in [$2]) # same version, good ntp_cache_flush=0 ;; '') # No cache, predates ntp_cv_$1_cache_version, or is empty. case "$cache_file" in /dev/null) ntp_cache_flush=0 ;; *) case "$NTP_CACHEVERSION_PARENT" in '') # Do not clear the cache immediately after it is created # empty as it is noisy. Differentiate a newly-created # config.cache from one predating the cache version # mechanism by looking for the first cached variable set # by Autoconf case "$ac_cv_path_install" in '') # empty config.cache file ntp_cache_flush=0 esac ;; *) # Parent configure just created cache from empty, # flushing would be counterproductive. ntp_cache_flush=0; ;; esac esac ;; *) # configure cache version mismatches config.cache version ;; esac case "$ntp_cache_flush" in 1) c_version="${ntp_cv_[$1]_cache_version:-(no version found)}" # Do we flush all variables or exclude others' version stamps? case "$NTP_CACHEVERSION_PARENT" in '') # Clear all *_cv_* variables including our child subdirs' # ntp_cv_*_cache_version variables. This prevents subdir # configure scripts from noticing a version mismatch just # after the top configure in the invocation cleared and # recreated the cache. c_varname_list=`set | sed -n -e 's/=.*$//' \ -e '/_cv_/p' ` ;; *) # This is not the top configure this particular invocation. # Clear all *_cv_* variables sparing the version stamps # of other configure scripts, so we don't trigger # useless repeated clearings. c_varname_list=`set | sed -n -e 's/=.*$//' \ -e '/ntp_cv_.*_cache_version/d' \ -e '/_cv_/p' ` esac for c_varname in $c_varname_list do dnl AS_UNSET([$c_varname]) dnl With Autoconf 2.61 and automake 1.10.3, using AS_UNSET dnl here triggers generation of a syntax error in configure. dnl Once we require a newer Autoconf we can revert to the dnl AS_UNSET code. { eval $c_varname=; unset $c_varname; } done AC_MSG_NOTICE([[$cache_file saved by another version, ignored.]]) AC_MSG_NOTICE([[configure script cache version: ]][$2]) AC_MSG_NOTICE([[$cache_file version: $c_version]]) AS_UNSET([c_varname]) AS_UNSET([c_varname_list]) AS_UNSET([c_version]) esac AS_UNSET([ntp_cache_flush]) # save configure version in config.cache for next time ntp_cv_[$1]_cache_version="[$2]" # let any subdir configure.ac NTP_CACHEVERSION invocations # know they are not the top level. NTP_CACHEVERSION_PARENT='[$1]' ; export NTP_CACHEVERSION_PARENT ]) m4trace:m4/ntp_compiler.m4:3: -1- AC_DEFUN([NTP_COMPILER], [ AC_USE_SYSTEM_EXTENSIONS # Ralf Wildenhues: With per-target flags we need CC_C_O # AM_PROG_CC_C_O supersets AC_PROG_CC_C_O AM_PROG_CC_C_O AC_PROG_GCC_TRADITIONAL AC_REQUIRE([AC_PROG_CC_STDC]) dnl AC_REQUIRE([AC_PROG_CC_C89]) dnl AC_REQUIRE([AC_PROG_CC_C99]) CFLAGS_NTP= CPPFLAGS_NTP= LDADD_NTP= LDFLAGS_NTP= AC_SUBST([CFLAGS_NTP]) AC_SUBST([CPPFLAGS_NTP]) AC_SUBST([LDADD_NTP]) AC_SUBST([LDFLAGS_NTP]) case "$ac_cv_prog_cc_c89" in no) AC_MSG_WARN([ANSI C89/ISO C90 is the minimum to compile NTP] [ version 4.2.5 and higher.]) ;; esac AC_CACHE_CHECK( [if $CC can handle @%:@warning], [ntp_cv_cpp_warning], [AC_COMPILE_IFELSE( [AC_LANG_PROGRAM([[]], [[#warning foo]])], [ntp_cv_cpp_warning=yes], [ntp_cv_cpp_warning=no] )] ) case "$ntp_cv_cpp_warning" in no) AC_DEFINE([NO_OPTION_NAME_WARNINGS], [1], [Should we avoid @%:@warning on option name collisions?]) esac AC_CACHE_CHECK( [if $CC supports __attribute__((...))], [ntp_cv_cc_attribute], [AC_COMPILE_IFELSE( [AC_LANG_PROGRAM( [[]], [[void foo(void) __attribute__((__noreturn__));]] )], [ntp_cv_cc_attribute=yes], [ntp_cv_cc_attribute=no] )] ) case "$ntp_cv_cc_attribute" in yes) AC_DEFINE([HAVE___ATTRIBUTE__], [], [defined if C compiler supports __attribute__((...))]) esac AH_VERBATIM( [HAVE___ATTRIBUTE___VERBATIM], [ /* define away __attribute__() if unsupported */ #ifndef HAVE___ATTRIBUTE__ # define __attribute__(x) /* empty */ #endif #define ISC_PLATFORM_NORETURN_PRE #define ISC_PLATFORM_NORETURN_POST __attribute__((__noreturn__)) ] ) case "$GCC" in yes) SAVED_CFLAGS="$CFLAGS" CFLAGS="$CFLAGS -Wstrict-overflow" AC_CACHE_CHECK( [if $CC can handle -Wstrict-overflow], [ntp_cv_gcc_Wstrict_overflow], [AC_COMPILE_IFELSE( [AC_LANG_PROGRAM([[]], [[]])], [ntp_cv_gcc_Wstrict_overflow=yes], [ntp_cv_gcc_Wstrict_overflow=no] ) ] ) # # $ntp_cv_gcc_Wstrict_overflow is tested later to add the # flag to CFLAGS. # CFLAGS="$SAVED_CFLAGS -Winit-self" AC_CACHE_CHECK( [if $CC can handle -Winit-self], [ntp_cv_gcc_Winit_self], [ AC_COMPILE_IFELSE( [AC_LANG_PROGRAM([[]], [[]])], [ntp_cv_gcc_Winit_self=yes], [ntp_cv_gcc_Winit_self=no] ) ] ) CFLAGS="$SAVED_CFLAGS" AS_UNSET([SAVED_CFLAGS]) # # $ntp_cv_gcc_Winit_self is tested later to add the # flag to CFLAGS_NTP. # AC_CACHE_CHECK( [if linker supports omitting unused code and data], [ntp_cv_gc_sections_runs], [ dnl NetBSD will link but likely not run with --gc-sections dnl http://bugs.ntp.org/1844 dnl http://gnats.netbsd.org/40401 dnl --gc-sections causes attempt to load as linux elf, with dnl wrong syscalls in place. Test a little gauntlet of dnl simple stdio read code checking for errors, expecting dnl enough syscall differences that the NetBSD code will dnl fail even with Linux emulation working as designed. dnl A shorter test could be refined by someone with access dnl to a NetBSD host with Linux emulation working. origCFLAGS="$CFLAGS" CFLAGS="$CFLAGS -Wl,--gc-sections" AC_LINK_IFELSE( [AC_LANG_PROGRAM( [[ #include #include ]], [[ FILE * fpC; char buf[32]; size_t cch; int read_success_once; fpC = fopen("conftest.c", "r"); if (NULL == fpC) exit(1); do { cch = fread(buf, sizeof(buf), 1, fpC); read_success_once |= (0 != cch); } while (0 != cch); if (!read_success_once) exit(2); if (!feof(fpC)) exit(3); if (0 != fclose(fpC)) exit(4); exit(EXIT_SUCCESS); ]] )], [ if test "X$cross_compiling" = "Xyes" || grep gc-sections conftest.err ; then ntp_cv_gc_sections_runs=no else ntp_cv_gc_sections_runs=no ./conftest >/dev/null 2>&1 && ntp_cv_gc_sections_runs=yes fi ], [ntp_cv_gc_sections_runs=no] ) CFLAGS="$origCFLAGS" AS_UNSET([origCFLAGS]) ] ) case "$ntp_cv_gc_sections_runs" in yes) LDADD_LIBNTP="-Wl,--gc-sections" CFLAGS_NTP="$CFLAGS_NTP -ffunction-sections -fdata-sections" ;; no) LDADD_LIBNTP= ;; esac CFLAGS_NTP="$CFLAGS_NTP -Wall" CFLAGS_NTP="$CFLAGS_NTP -Wcast-align" CFLAGS_NTP="$CFLAGS_NTP -Wcast-qual" # CFLAGS_NTP="$CFLAGS_NTP -Wconversion" # CFLAGS_NTP="$CFLAGS_NTP -Werror" # CFLAGS_NTP="$CFLAGS_NTP -Wextra" # CFLAGS_NTP="$CFLAGS_NTP -Wfloat-equal" CFLAGS_NTP="$CFLAGS_NTP -Wmissing-prototypes" CFLAGS_NTP="$CFLAGS_NTP -Wpointer-arith" CFLAGS_NTP="$CFLAGS_NTP -Wshadow" # CFLAGS_NTP="$CFLAGS_NTP -Wtraditional" # CFLAGS_NTP="$CFLAGS_NTP -Wwrite-strings" case "$ntp_cv_gcc_Winit_self" in yes) CFLAGS_NTP="$CFLAGS_NTP -Winit-self" esac case "$ntp_cv_gcc_Wstrict_overflow" in yes) CFLAGS_NTP="$CFLAGS_NTP -Wstrict-overflow" esac # -W[no-]strict-prototypes might be added by NTP_OPENSSL esac NTP_OS_CFLAGS AC_C_BIGENDIAN AC_C_VOLATILE AC_PROG_CPP ]) m4trace:m4/ntp_crosscompile.m4:2: -1- AC_DEFUN([NTP_CROSSCOMPILE], [ # Expose a cross-compilation indicator to makefiles AM_CONDITIONAL([NTP_CROSSCOMPILE], [test $build != $host]) ]) m4trace:m4/ntp_debug.m4:3: -1- AC_DEFUN([NTP_DEBUG], [ AC_MSG_CHECKING([if we're including debugging code]) AC_ARG_ENABLE( [debugging], [AS_HELP_STRING( [--enable-debugging], [+ include ntpd debugging code] )], [ntp_ok=$enableval], [ntp_ok=yes] ) case "$ntp_ok" in yes) AC_DEFINE([DEBUG], [1], [Enable debugging code?]) esac AC_MSG_RESULT([$ntp_ok]) ]) m4trace:m4/ntp_dir_sep.m4:3: -1- AC_DEFUN([NTP_DIR_SEP], [ AC_CACHE_CHECK( [for directory path separator], [ntp_cv_dir_sep], [ case "$ntp_cv_dir_sep" in '') case "$host_os" in *djgpp | *mingw32* | *emx*) ntp_cv_dir_sep="'\\'" ;; *) ntp_cv_dir_sep="'/'" ;; esac esac ] ) AC_DEFINE_UNQUOTED([DIR_SEP], [$ntp_cv_dir_sep], [Directory separator character, usually / or \\]) ]) m4trace:m4/ntp_facilitynames.m4:3: -1- AC_DEFUN([NTP_FACILITYNAMES], [ AC_CACHE_CHECK([for facilitynames in syslog.h],ac_cv_HAVE_SYSLOG_FACILITYNAMES,[ AC_TRY_COMPILE([ #define SYSLOG_NAMES #include #include ], [ void *fnames; fnames = facilitynames; ], ac_cv_HAVE_SYSLOG_FACILITYNAMES=yes,ac_cv_HAVE_SYSLOG_FACILITYNAMES=no,ac_cv_HAVE_SYSLOG_FACILITYNAMES=cross)]) case "$ac_cv_HAVE_SYSLOG_FACILITYNAMES" in yes) AC_DEFINE(HAVE_SYSLOG_FACILITYNAMES,1,[ ]) ;; no) AC_MSG_WARN([No facilitynames in ]) ;; cross) AC_MSG_WARN([facilitynames in - cross-compiling]) ;; esac ]) m4trace:m4/ntp_harden.m4:8: -1- AC_DEFUN([NTP_HARDEN], [ AC_MSG_CHECKING([for compile/link hardening flags]) AC_ARG_WITH( [hardenfile], [AS_HELP_STRING( [--with-hardenfile=XXX], [os-specific or "/dev/null"] )], [], [with_hardenfile=no] ) ( \ SENTINEL_DIR="$PWD" && \ cd $srcdir/$1 && \ case "$with_hardenfile" in \ yes|no|'') \ scripts/genHardFlags -d "$SENTINEL_DIR" \ ;; \ *) \ scripts/genHardFlags -d "$SENTINEL_DIR" -f "$with_hardenfile" \ ;; \ esac \ ) > genHardFlags.i 2> genHardFlags.err . ./genHardFlags.i case "$GENHARDFLAG" in OK) AC_MSG_RESULT([in file $GENHARDFLAGFILE]) rm genHardFlags.err genHardFlags.i ;; *) AC_MSG_RESULT([failed.]) AC_MSG_ERROR([Problem with genHardFlags!]) ;; esac AC_SUBST([NTP_HARD_CFLAGS]) AC_SUBST([NTP_HARD_CPPFLAGS]) AC_SUBST([NTP_HARD_LDFLAGS]) ]) m4trace:m4/ntp_ipv6.m4:3: -1- AC_DEFUN([NTP_IPV6], [ AC_CACHE_CHECK( [for struct sockaddr_storage], [ntp_cv_sockaddr_storage], [AC_COMPILE_IFELSE( [AC_LANG_PROGRAM( [[ #ifdef HAVE_SYS_TYPES_H # include #endif #ifdef HAVE_SYS_SOCKET_H # include #endif #ifdef HAVE_NETINET_IN_H # include #endif ]], [[ struct sockaddr_storage n; ]] )], [ntp_cv_sockaddr_storage=yes], [ntp_cv_sockaddr_storage=no] )] ) case "$ntp_cv_sockaddr_storage" in yes) AC_DEFINE([HAVE_STRUCT_SOCKADDR_STORAGE], [1], [Does a system header define struct sockaddr_storage?]) AC_CACHE_CHECK( [for sockaddr_storage.__ss_family], [ntp_cv_have___ss_family], [AC_COMPILE_IFELSE( [AC_LANG_PROGRAM( [[ #ifdef HAVE_SYS_TYPES_H # include #endif #ifdef HAVE_SYS_SOCKET_H # include #endif #ifdef HAVE_NETINET_IN_H # include #endif ]], [[ struct sockaddr_storage s; s.__ss_family = 1; ]] )], [ntp_cv_have___ss_family=yes], [ntp_cv_have___ss_family=no] )] ) case "$ntp_cv_have___ss_family" in yes) AC_DEFINE([HAVE___SS_FAMILY_IN_SS], [1], [Does struct sockaddr_storage have __ss_family?]) esac AH_VERBATIM( [HAVE___SS_FAMILY_IN_SS_VERBATIM], [ /* Handle sockaddr_storage.__ss_family */ #ifdef HAVE___SS_FAMILY_IN_SS # define ss_family __ss_family #endif /* HAVE___SS_FAMILY_IN_SS */ ] ) esac # # Look for in_port_t. # AC_CACHE_CHECK( [for in_port_t], [isc_cv_have_in_port_t], [AC_COMPILE_IFELSE( [AC_LANG_PROGRAM( [[ #include #include ]], [[ in_port_t port = 25; return (0); ]] )], [isc_cv_have_in_port_t=yes], [isc_cv_have_in_port_t=no] )] ) case "$isc_cv_have_in_port_t" in no) AC_DEFINE([ISC_PLATFORM_NEEDPORTT], [1], [Declare in_port_t?]) esac AC_CACHE_CHECK( [type of socklen arg for getsockname()], [ntp_cv_getsockname_socklen_type], [ getsockname_socklen_type_found=no for getsockname_arg2 in 'struct sockaddr *' 'void *'; do for ntp_cv_getsockname_socklen_type in 'socklen_t' 'size_t' 'unsigned int' 'int'; do AC_COMPILE_IFELSE( [AC_LANG_PROGRAM( [[ #ifdef HAVE_SYS_TYPES_H # include #endif #ifdef HAVE_SYS_SOCKET_H # include #endif ]], [[ extern getsockname(int, $getsockname_arg2, $ntp_cv_getsockname_socklen_type *); ]] )], [getsockname_socklen_type_found=yes ; break 2], [] ) done done case "$getsockname_socklen_type_found" in no) ntp_cv_getsockname_socklen_type='socklen_t' esac AS_UNSET([getsockname_arg2]) AS_UNSET([getsockname_socklen_type_found]) ] ) AC_DEFINE_UNQUOTED([GETSOCKNAME_SOCKLEN_TYPE], [$ntp_cv_getsockname_socklen_type], [What is getsockname()'s socklen type?]) AC_CACHE_CHECK( [struct sockaddr for sa_len], [isc_cv_platform_havesalen], [AC_COMPILE_IFELSE( [AC_LANG_PROGRAM( [[ #include #include ]], [[ extern struct sockaddr *ps; return ps->sa_len; ]] )], [isc_cv_platform_havesalen=yes], [isc_cv_platform_havesalen=no] )] ) case "$isc_cv_platform_havesalen" in yes) AC_DEFINE([ISC_PLATFORM_HAVESALEN], [1], [struct sockaddr has sa_len?]) esac AC_ARG_ENABLE( [ipv6], [AS_HELP_STRING( [--enable-ipv6], [s use IPv6?] )] ) case "$enable_ipv6" in yes|''|autodetect) case "$host" in powerpc-ibm-aix4*) ;; *) AC_DEFINE([WANT_IPV6], [1], [configure --enable-ipv6]) ;; esac ;; no) ;; esac dnl [Bug 1984] ntp/libisc fails to compile on OS X 10.7 (Lion) case "$host" in *-*-darwin*) AC_DEFINE([__APPLE_USE_RFC_3542], [1], [Are we _special_?]) esac AC_CACHE_CHECK( [for IPv6 structures], [isc_cv_found_ipv6], [AC_COMPILE_IFELSE( [AC_LANG_PROGRAM( [[ #include #include #include ]], [[ struct sockaddr_in6 sin6; ]] )], [isc_cv_found_ipv6=yes], [isc_cv_found_ipv6=no] )] ) # # See whether IPv6 support is provided via a Kame add-on. # This is done before other IPv6 linking tests so LIBS is properly set. # AC_MSG_CHECKING([for Kame IPv6 support]) AC_ARG_WITH( [kame], [AS_HELP_STRING( [--with-kame], [- =/usr/local/v6] )], [use_kame="$withval"], [use_kame="no"] ) case "$use_kame" in no) ;; yes) kame_path=/usr/local/v6 ;; *) kame_path="$use_kame" ;; esac case "$use_kame" in no) AC_MSG_RESULT([no]) ;; *) if test -f $kame_path/lib/libinet6.a; then AC_MSG_RESULT([$kame_path/lib/libinet6.a]) LIBS="-L$kame_path/lib -linet6 $LIBS" else AC_MSG_ERROR([$kame_path/lib/libinet6.a not found. Please choose the proper path with the following command: configure --with-kame=PATH ]) fi ;; esac # # Whether netinet6/in6.h is needed has to be defined in isc/platform.h. # Including it on Kame-using platforms is very bad, though, because # Kame uses #error against direct inclusion. So include it on only # the platform that is otherwise broken without it -- BSD/OS 4.0 through 4.1. # This is done before the in6_pktinfo check because that's what # netinet6/in6.h is needed for. # case "$host" in *-bsdi4.[[01]]*) AC_DEFINE([ISC_PLATFORM_NEEDNETINET6IN6H], [1], [Do we need netinet6/in6.h?]) isc_netinet6in6_hack="#include " ;; *) isc_netinet6in6_hack="" ;; esac # # This is similar to the netinet6/in6.h issue. # case "$host" in *-sco-sysv*uw*|*-*-sysv*UnixWare*|*-*-sysv*OpenUNIX*) AC_DEFINE([ISC_PLATFORM_FIXIN6ISADDR], [1], [Do we need to fix in6isaddr?]) isc_netinetin6_hack="#include " ;; *) isc_netinetin6_hack="" ;; esac case "$isc_cv_found_ipv6" in yes) AC_DEFINE([ISC_PLATFORM_HAVEIPV6], [1], [have IPv6?]) AC_CACHE_CHECK( [for in6_pktinfo], [isc_cv_have_in6_pktinfo], [AC_COMPILE_IFELSE( [AC_LANG_PROGRAM( [[ #include #include #include $isc_netinetin6_hack $isc_netinet6in6_hack ]], [[ struct in6_pktinfo xyzzy; ]] )], [isc_cv_have_in6_pktinfo=yes], [isc_cv_have_in6_pktinfo=no] )] ) case "$isc_cv_have_in6_pktinfo" in yes) AC_DEFINE([ISC_PLATFORM_HAVEIN6PKTINFO], [1], [have struct in6_pktinfo?]) esac # HMS: Use HAVE_STRUCT_SOCKADDR_IN6_SIN6_SCOPE_ID instead? AC_CACHE_CHECK( [for sockaddr_in6.sin6_scope_id], [isc_cv_have_sin6_scope_id], [AC_COMPILE_IFELSE( [AC_LANG_PROGRAM( [[ #include #include #include $isc_netinetin6_hack $isc_netinet6in6_hack ]], [[ struct sockaddr_in6 xyzzy; xyzzy.sin6_scope_id = 0; ]] )], [isc_cv_have_sin6_scope_id=yes], [isc_cv_have_sin6_scope_id=no] )] ) case "$isc_cv_have_sin6_scope_id" in yes) AC_DEFINE([ISC_PLATFORM_HAVESCOPEID], [1], [sin6_scope_id?]) esac esac # We need this check run even without isc_cv_found_ipv6=yes AC_CACHE_CHECK( [for in6addr_any], [isc_cv_in6addr_any_links], [ SAVED_LIBS="$LIBS" LIBS="$LDADD_LIBNTP $LIBS" AC_LINK_IFELSE( [AC_LANG_PROGRAM( AC_INCLUDES_DEFAULT [[ #include #include $isc_netinetin6_hack $isc_netinet6in6_hack ]], [[ printf("%x", in6addr_any.s6_addr[15]); ]] )], [isc_cv_in6addr_any_links=yes], [isc_cv_in6addr_any_links=no] ) LIBS="$SAVED_LIBS" AS_UNSET([SAVED_LIBS]) ] ) case "$isc_cv_in6addr_any_links" in no) AC_DEFINE([ISC_PLATFORM_NEEDIN6ADDRANY], [1], [missing in6addr_any?]) esac AC_CACHE_CHECK( [for struct if_laddrconf], [isc_cv_struct_if_laddrconf], [AC_COMPILE_IFELSE( [AC_LANG_PROGRAM( [[ #include #include ]], [[ struct if_laddrconf a; ]] )], [isc_cv_struct_if_laddrconf=yes], [isc_cv_struct_if_laddrconf=no] )] ) case "$isc_cv_struct_if_laddrconf" in yes) AC_DEFINE([ISC_PLATFORM_HAVEIF_LADDRCONF], [1], [have struct if_laddrconf?]) esac AC_CACHE_CHECK( [for struct if_laddrreq], isc_cv_struct_if_laddrreq, [AC_COMPILE_IFELSE( [AC_LANG_PROGRAM( [[ #include #include ]], [[ struct if_laddrreq a; ]] )], [isc_cv_struct_if_laddrreq=yes], [isc_cv_struct_if_laddrreq=no] )] ) case "$isc_cv_struct_if_laddrreq" in yes) AC_DEFINE([ISC_PLATFORM_HAVEIF_LADDRREQ], [1], [have struct if_laddrreq?]) esac AC_CACHE_CHECK( [for multicast IP support], [ntp_cv_multicast], [ ntp_cv_multicast=no case "$host" in i386-sequent-sysv4) ;; *) AC_COMPILE_IFELSE( [AC_LANG_PROGRAM( [[ #ifdef HAVE_NETINET_IN_H # include #endif ]], [[ struct ip_mreq ipmr; ipmr.imr_interface.s_addr = 0; ]] )], [ntp_cv_multicast=yes], [] ) ;; esac ] ) case "$ntp_cv_multicast" in yes) AC_DEFINE([MCAST], [1], [Does the target support multicast IP?]) AC_CACHE_CHECK( [arg type needed for setsockopt() IP*_MULTICAST_LOOP], [ntp_cv_typeof_ip_multicast_loop], [ case "$host" in *-*-netbsd*|*-*-*linux*) ntp_cv_typeof_ip_multicast_loop=u_int ;; *) ntp_cv_typeof_ip_multicast_loop=u_char ;; esac ] ) AC_DEFINE_UNQUOTED([TYPEOF_IP_MULTICAST_LOOP], [$ntp_cv_typeof_ip_multicast_loop], [What type to use for setsockopt]) esac AC_ARG_ENABLE( [getifaddrs], [AS_HELP_STRING( [--enable-getifaddrs], [+ Enable the use of getifaddrs() [[yes|no]].] )], [want_getifaddrs="$enableval"], [want_getifaddrs="yes"] ) case $want_getifaddrs in glibc) AC_MSG_WARN([--enable-getifaddrs=glibc is no longer required]) esac case $want_getifaddrs in no) ;; *) SAVED_LIBS="$LIBS" LIBS="$LDADD_LIBNTP $LIBS" AC_CHECK_FUNCS([getifaddrs]) LIBS="$SAVED_LIBS" AS_UNSET([SAVED_LIBS]) ;; esac # # Check for if_nametoindex() for IPv6 scoped addresses support # case "$host" in *-hp-hpux*) AC_SEARCH_LIBS([if_nametoindex], [ipv6]) esac SAVED_LIBS="$LIBS" LIBS="$LDADD_LIBNTP $LIBS" AC_CHECK_FUNCS([if_nametoindex]) LIBS="$SAVED_LIBS" AS_UNSET([SAVED_LIBS]) case "$ac_cv_func_if_nametoindex" in yes) AC_DEFINE([ISC_PLATFORM_HAVEIFNAMETOINDEX], [1], [ISC: do we have if_nametoindex()?]) esac ]) m4trace:m4/ntp_lib_m.m4:3: -1- AC_DEFUN([NTP_LIB_M], [ LIBM= case "$host" in *-*-darwin*) ;; *) _libs=$LIBS AC_SEARCH_LIBS([cos], [m], [LIBM="-lm"]) LIBS=$_libs ;; esac AC_SUBST([LIBM]) AS_UNSET([_libs]) ]) m4trace:m4/ntp_libevent.m4:31: -1- AC_DEFUN([NTP_ENABLE_LOCAL_LIBEVENT], [ AC_ARG_ENABLE( [local-libevent], [AC_HELP_STRING( [--enable-local-libevent], [Force using the supplied libevent tearoff code] )], [ntp_use_local_libevent=$enableval], [ntp_use_local_libevent=${ntp_use_local_libevent-detect}] ) ]) m4trace:m4/ntp_libevent.m4:60: -1- AC_DEFUN([NTP_LIBEVENT_CHECK_NOBUILD], [ AC_REQUIRE([NTP_PKG_CONFIG])dnl AC_REQUIRE([NTP_ENABLE_LOCAL_LIBEVENT])dnl ntp_libevent_min_version=m4_default([$1], [2.0.9]) ntp_libevent_tearoff=m4_default([$2], [libevent]) AC_SUBST([CFLAGS_LIBEVENT]) AC_SUBST([CPPFLAGS_LIBEVENT]) AC_SUBST([LDADD_LIBEVENT]) case "$ntp_use_local_libevent" in yes) ;; *) # If we have (a good enough) pkg-config, see if it can find libevent case "$PKG_CONFIG" in /*) AC_MSG_CHECKING([if libevent $ntp_libevent_min_version or later is installed]) if $PKG_CONFIG --atleast-version=$ntp_libevent_min_version libevent then ntp_use_local_libevent=no ntp_libevent_version="`$PKG_CONFIG --modversion libevent`" case "$ntp_libevent_version" in *.*) ;; *) ntp_libevent_version='(unknown)' ;; esac AC_MSG_RESULT([yes, version $ntp_libevent_version]) CFLAGS_LIBEVENT=`$PKG_CONFIG --cflags libevent_pthreads` CPPFLAGS_LIBEVENT=`$PKG_CONFIG --cflags-only-I libevent` # HMS: I hope the following is accurate. # We don't need -levent, we only need -levent_core. # While we could grab only the -L stuff, there *might* be # other flags there we want. Originally we just removed -levent # but then somebody decided to install -levent-2.0 # LDADD_LIBEVENT=`$PKG_CONFIG --libs libevent | sed 's:-levent::'` # So now we dance... LDADD_LIBEVENT= for i in `$PKG_CONFIG --libs libevent` `$PKG_CONFIG --cflags-only-other libevent_pthreads` do case "$i" in -D*) ;; -levent*) ;; *) case "$LDADD_LIBEVENT" in '') LDADD_LIBEVENT="$i" ;; *) LDADD_LIBEVENT="$LDADD_LIBEVENT $i" ;; esac ;; esac done case "$LIBISC_PTHREADS_NOTHREADS" in pthreads) LDADD_LIBEVENT="$LDADD_LIBEVENT -levent_pthreads" esac LDADD_LIBEVENT="$LDADD_LIBEVENT -levent_core" else ntp_use_local_libevent=yes # HMS: do we only need to do this if LIBISC_PTHREADS_NOTHREADS # is "pthreads"? CFLAGS_LIBEVENT=`$PKG_CONFIG --cflags libevent_pthreads` AC_MSG_RESULT([no]) fi ;; *) ntp_use_local_libevent=yes ;; esac ;; esac case "$ntp_use_local_libevent" in yes) AC_MSG_NOTICE([Using libevent tearoff]) CPPFLAGS_LIBEVENT="-I\$(top_builddir)/$ntp_libevent_tearoff/include -I\$(top_srcdir)/$ntp_libevent_tearoff/include" case "$LIBISC_PTHREADS_NOTHREADS" in pthreads) LDADD_LIBEVENT="\$(top_builddir)/$ntp_libevent_tearoff/libevent_pthreads.la \$(top_builddir)/$ntp_libevent_tearoff/libevent_core.la" ;; *) LDADD_LIBEVENT="\$(top_builddir)/$ntp_libevent_tearoff/libevent_core.la" esac esac dnl AC_ARG_ENABLE( dnl [cflags-libevent], dnl [AC_HELP_STRING( dnl [--enable-cflags-libevent=-pthread], dnl [CFLAGS value to build with pthreads] dnl )], dnl [CFLAGS_LIBEVENT=$enableval], dnl [# See above about LIBISC_PTHREADS_NOTHREADS dnl case "$CFLAGS_LIBEVENT" in dnl '') CFLAGS_LIBEVENT="-pthread" ;; dnl *) ;; dnl esac] dnl ) dnl AC_MSG_NOTICE([LIBISC_PTHREADS_NOTHREADS is <$LIBISC_PTHREADS_NOTHREADS>]) dnl AC_MSG_NOTICE([CFLAGS_LIBEVENT is <$CFLAGS_LIBEVENT>]) AM_CONDITIONAL([BUILD_LIBEVENT], [test "x$ntp_use_local_libevent" = "xyes"]) ]) m4trace:m4/ntp_libevent.m4:163: -1- AC_DEFUN([NTP_LIBEVENT_CHECK], [ AC_SUBST([NTP_FORCE_LIBEVENT_DIST]) NTP_LIBEVENT_CHECK_NOBUILD([$1], [$2]) case "$ntp_libevent_tearoff" in libevent) ;; *) AC_MSG_ERROR([ntp_libevent.m4 dir must be libevent, not $ntp_libevent_tearoff]) ;; esac case "$ntp_use_local_libevent" in yes) dnl ac_configure_args is undocumented but widely abused, as here, dnl to modify the defaults of the libevent subpackage, by prefixing dnl our changes to the child configure arguments already assembled. dnl User-supplied contradictory choices should prevail thanks to dnl "last wins". ac_configure_args=" --disable-openssl${ac_configure_args}" ac_configure_args=" --disable-shared${ac_configure_args}" ac_configure_args=" --disable-libevent-regress${ac_configure_args}" ac_configure_args=" --disable-libevent-install${ac_configure_args}" ac_configure_args=" --enable-silent-rules${ac_configure_args}" ac_configure_args=" --enable-function-sections${ac_configure_args}" ac_configure_args=" LEP_CFLAGS='${NTP_HARD_CFLAGS}'${ac_configure_args}" ac_configure_args=" LEP_CPPFLAGS='${NTP_HARD_CPPFLAGS}'${ac_configure_args}" ac_configure_args=" LEP_LDFLAGS='${NTP_HARD_LDFLAGS}'${ac_configure_args}" AC_CONFIG_SUBDIRS([libevent]) ;; *) NTP_FORCE_LIBEVENT_DIST=libevent ;; esac ]) m4trace:m4/ntp_libntp.m4:9: -1- AC_DEFUN([NTP_LIBNTP], [ AC_REQUIRE([NTP_CROSSCOMPILE]) # HMS: Save $LIBS and empty it. # any LIBS we add here should go in to LDADD_LIBNTP AC_SUBST([LDADD_LIBNTP]) __LIBS=$LIBS LIBS= dnl The contents of NTP_PROG_CC used to be here... AC_PROG_INSTALL # [Bug 2332] because we need to know if we are using GNU ld... LT_PATH_LD NTP_DIR_SEP NTP_LINEEDITLIBS NTP_LIB_M AC_FUNC_FORK AC_FUNC_ALLOCA AC_FUNC_STRERROR_R ac_busted_vpath_in_make=no case "$build" in *-*-irix6.1*) # 64 bit only # busted vpath? ;; *-*-irix6*) # 6.2 (and later?) ac_busted_vpath_in_make=yes ;; *-*-solaris2.5.1) ac_busted_vpath_in_make=yes ;; *-*-unicosmp*) ac_busted_vpath_in_make=yes ;; esac case "$ac_busted_vpath_in_make$srcdir" in yes.|no*) ;; *) case "`${MAKE-make} -v -f /dev/null 2>/dev/null | grep 'GNU Make'`" in '') AC_MSG_ERROR([building outside of the main directory requires GNU make]) esac ;; esac case "$host" in *-*-aix4*) # Bug 2516: # Was *-*-aix[[4-9]]* # XXX only verified thru AIX6. But... # Ken Link says this is fine for AIX 5.3 and 7.1, and sees no reason # that this support would be in 5.3, removed in 6, and added back. # # (prr) aix 4.1 doesn't have clock_settime, but in aix 4.3 it's a stub # (returning ENOSYS). I didn't check 4.2. If, in the future, # IBM pulls its thumbs out long enough to implement clock_settime, # this conditional will need to change. Maybe use AC_TRY_RUN # instead to try to set the time to itself and check errno. ;; *) HMS_SEARCH_LIBS([LDADD_LIBNTP], [clock_gettime], [rt]) AC_CHECK_FUNCS([clock_getres clock_gettime clock_settime]) ;; esac AC_CHECK_FUNCS([getclock stime timegm strlcpy strlcat]) # Bug 2713 LDADD_LIBUTIL= AC_SUBST([LDADD_LIBUTIL]) HMS_SEARCH_LIBS([LDADD_LIBUTIL], [snprintb], [util], [AC_DEFINE([USE_SNPRINTB], 1, [OK to use snprintb()?])]) dnl HP-UX 11.31 on HPPA has a net/if.h that can't be compiled with gcc4 dnl due to an incomplete type (a union) mpinfou used in an array. gcc3 dnl compiles it without complaint. The mpinfou union is defined later dnl in the resulting preprocessed source than the spu_info array in dnl /usr/include/machine/sys/getppdp.h: dnl extern union mpinfou spu_info[]; dnl triggering the error. Our strategy is on HP-UX only, test compile dnl net/if.h. If that fails, try adding a duplicate definition of dnl mpinfou, and if that helps add it to confdefs.h (used for further dnl configure tests) and config.h. # AC_CHECK_HEADERS([errno.h sys/socket.h sys/types.h time.h]) AC_CHECK_HEADERS([net/if.h], [], [], [ #ifdef HAVE_SYS_SOCKET_H # include #endif ]) case "$host" in *-hp-hpux*) AC_CACHE_CHECK( [if net/if.h requires mpinfou predeclaration], [ntp_cv_predecl_mpinfou], [ np_cv_predecl_mpinfou=no case "$ac_cv_header_net_if_h" in no) AC_COMPILE_IFELSE( [AC_LANG_PROGRAM( [[ typedef union mpinfou { struct pdk_mpinfo *pdkptr; struct mpinfo *pikptr; } mpinfou_t; #ifdef HAVE_SYS_SOCKET_H # include #endif #include ]], [[ ]] )], [ ntp_cv_predecl_mpinfou=yes ac_cv_header_net_if_h=yes ] ) esac ] ) case "$ntp_cv_predecl_mpinfou" in yes) cat >>confdefs.h <<_ACEOF #ifndef MPINFOU_PREDECLARED # define MPINFOU_PREDECLARED typedef union mpinfou { struct pdk_mpinfo *pdkptr; struct mpinfo *pikptr; } mpinfou_t; #endif _ACEOF AH_BOTTOM([ #ifndef MPINFOU_PREDECLARED # define MPINFOU_PREDECLARED typedef union mpinfou { struct pdk_mpinfo *pdkptr; struct mpinfo *pikptr; } mpinfou_t; #endif ]) esac esac case "$host" in *-linux*) AC_CHECK_HEADERS([linux/if_addr.h], [], [], [ #ifdef HAVE_SYS_SOCKET_H # include #endif ]) AC_DEFINE([NEED_EARLY_FORK], [1], [having to fork the DNS worker early when doing chroot?]) esac AC_CHECK_HEADERS([arpa/nameser.h sys/param.h sys/time.h sys/timers.h]) # sys/sysctl.h depends on sys/param.h on OpenBSD - Bug 1576 AC_CHECK_HEADERS([sys/sysctl.h], [], [], [ #if defined HAVE_SYS_PARAM_H # include #endif ]) AC_CHECK_HEADERS([netinet/in_system.h netinet/in_systm.h netinet/in.h]) AC_CHECK_HEADERS([resolv.h], [], [], [ #ifdef HAVE_SYS_TYPES_H # include #endif #ifdef HAVE_NETINET_IN_H # include #endif #ifdef HAVE_ARPA_NAMESER_H # include #endif ]) AC_CHECK_HEADERS([net/if_var.h], [], [], [ #if HAVE_SYS_TYPES_H # include #endif #ifdef HAVE_SYS_SOCKET_H # include #endif #ifdef HAVE_NETINET_IN_H # include #endif #ifdef HAVE_NET_IF_H # include #endif ]) AC_CHECK_HEADERS([netinet/ip.h netinet/in_var.h], [], [], [ #ifdef HAVE_SYS_TYPES_H # include #endif #ifdef HAVE_SYS_SOCKET_H # include #endif #ifdef HAVE_NET_IF_H # include #endif #ifdef HAVE_NETINET_IN_H # include #endif #ifdef HAVE_NET_IF_VAR_H # include #endif #ifdef HAVE_NETINET_IN_SYSTM_H # include #endif ]) # HMS: Do we need to check for -lsocket before or after these tests? HMS_SEARCH_LIBS([LDADD_LIBNTP], [inet_pton], [nsl]) HMS_SEARCH_LIBS([LDADD_LIBNTP], [inet_ntop], [resolv], , , [-lnsl]) # [Bug 1628] On Solaris, we need -lxnet -lsocket. Generalize this to # avoid keying on the OS name: If we find socket functions in # libsocket, next try for them in libxnet without libsocket, if found, # list both. If we simply tested libxnet first, we would find the # functions there and never add libsocket. See also [Bug 660] # http://bugs.ntp.org/show_bug.cgi?id=660#c9 saved_LIBS=$LIBS HMS_SEARCH_LIBS([LDADD_LIBNTP], [setsockopt], [socket]) case "$ac_cv_search_setsockopt" in -lsocket) LIBS="$saved_LIBS" HMS_SEARCH_LIBS([LDADD_LIBNTP], [getsockopt], [xnet]) # XXX Possible trouble here - reading the comments above and looking at the # code below I wonder if we'll add -lxnet when we don't need it. # Also, do we need to add -lxnet to LDADD_LIBNTP, or perhaps see if it's # there when it is not needed? case "$ac_cv_search_getsockopt" in -lxnet) LIBS="-lxnet -lsocket $saved_LIBS" ;; *) LIBS="-lsocket $saved_LIBS" ;; esac ;; esac AS_UNSET([saved_LIBS]) # Bug 2427 - look for recvmsg here. AC_CHECK_FUNCS([recvmsg]) AC_C_INLINE case "$ac_cv_c_inline" in '') ;; *) AC_DEFINE([HAVE_INLINE], [1], [inline keyword or macro available]) AC_SUBST([HAVE_INLINE]) esac AC_HEADER_TIME AC_CHECK_SIZEOF([time_t]) AC_C_CHAR_UNSIGNED dnl CROSS_COMPILE? AC_CHECK_SIZEOF([signed char]) AC_CHECK_TYPES([s_char, long long]) AC_CHECK_SIZEOF([short]) AC_CHECK_SIZEOF([int]) AC_CHECK_SIZEOF([long]) case "$ac_cv_type_long_long" in no) ;; *) AC_CHECK_SIZEOF([long long]) ;; esac case "$ac_cv_c_char_unsigned$ac_cv_sizeof_signed_char$ac_cv_type_s_char" in *yes) # We have a typedef for s_char. Might as well believe it... ;; no0no) # We have signed chars, can't say 'signed char', no s_char typedef. AC_DEFINE([NEED_S_CHAR_TYPEDEF], [1], [Do we need an s_char typedef?]) ;; no1no) # We have signed chars, can say 'signed char', no s_char typedef. AC_DEFINE([NEED_S_CHAR_TYPEDEF], [1], [Do we need an s_char typedef?]) ;; yes0no) # We have unsigned chars, can't say 'signed char', no s_char typedef. AC_MSG_ERROR([No way to specify a signed character!]) ;; yes1no) # We have unsigned chars, can say 'signed char', no s_char typedef. AC_DEFINE([NEED_S_CHAR_TYPEDEF], [1], [Do we need an s_char typedef?]) ;; esac AC_TYPE_UID_T m4_divert_text([HELP_ENABLE], [AS_HELP_STRING([defaults:], [+ yes, - no, s system-specific])]) NTP_DEBUG # check if we can compile with pthreads AC_CHECK_HEADERS([semaphore.h]) AC_CHECK_FUNCS([socketpair]) AC_ARG_ENABLE( [thread-support], [AS_HELP_STRING([--enable-thread-support], [s use threads (+ if available)])], [], [enable_thread_support=yes] ) have_pthreads=no case "$enable_thread_support" in no) ;; *) ol_found_pthreads=no OL_THREAD_CHECK([ol_found_pthreads=yes]) case "$ol_found_pthreads" in yes) saved_LIBS="$LIBS" LIBS="$LTHREAD_LIBS $LIBS" saved_CFLAGS="$CFLAGS" CFLAGS="$PTHREAD_CFLAGS $CFLAGS" AC_CHECK_FUNCS([sem_timedwait]) LIBS="$saved_LIBS" AS_UNSET([saved_LIBS]) CFLAGS="$saved_CFLAGS" AS_UNSET([saved_CFLAGS]) case "$ac_cv_func_sem_timedwait" in yes) PTHREAD_LIBS="$LTHREAD_LIBS" have_pthreads=yes esac esac esac AC_SUBST([PTHREAD_LIBS]) case "$have_pthreads" in yes) CFLAGS_NTP="$CFLAGS_NTP $PTHREAD_CFLAGS" saved_LIBS="$LIBS" LIBS="$LTHREAD_LIBS $LIBS" saved_CFLAGS="$CFLAGS" CFLAGS="$PTHREAD_CFLAGS $CFLAGS" AC_CHECK_SIZEOF( [pthread_t], , [ AC_INCLUDES_DEFAULT() #include ] ) LIBISC_PTHREADS_NOTHREADS=pthreads AC_DEFINE([ISC_PLATFORM_USETHREADS], [1], [enable libisc thread support?]) # # We'd like to use sigwait() too # AC_CHECK_FUNC( [sigwait], [have_sigwait=yes], [AC_CHECK_LIB( [c], [sigwait], [have_sigwait=yes], [AC_CHECK_LIB( [pthread], [sigwait], [have_sigwait=yes], [AC_CHECK_LIB( [pthread], [_Psigwait], [have_sigwait=yes], [have_sigwait=no] )] )] )] ) case "$host:$have_sigwait" in *-freebsd*:no) AC_CHECK_LIB( [c_r], [sigwait], [have_sigwait=yes] ) esac case "$have_sigwait" in yes) ac_cv_func_sigwait=yes AC_DEFINE([HAVE_SIGWAIT], [1], [sigwait() available?]) esac AC_CHECK_FUNCS([pthread_attr_getstacksize]) AC_CHECK_FUNCS([pthread_attr_setstacksize sysconf]) case "$host" in *-freebsd5.[[012]]|*-freebsd5.[[012]].*) ;; *-freebsd5.[[3456789]]|*-freebsd5.[[3456789]].*|*-freebsd6.*) AC_DEFINE([NEED_PTHREAD_SCOPE_SYSTEM], [1], [use PTHREAD_SCOPE_SYSTEM?]) ;; *-bsdi3.*|*-bsdi4.0*) AC_DEFINE([NEED_PTHREAD_INIT], [1], [pthread_init() required?]) ;; *-linux*) AC_DEFINE([HAVE_LINUXTHREADS], [1], [using Linux pthread?]) ;; *-solaris*) AC_DEFINE([_POSIX_PTHREAD_SEMANTICS], [1]) AC_CHECK_FUNCS([pthread_setconcurrency]) case "$ac_cv_func_pthread_setconcurrency" in yes) AC_DEFINE([CALL_PTHREAD_SETCONCURRENCY], [1], [why not HAVE_P_S?]) esac ;; *-sco-sysv*uw*|*-*-sysv*UnixWare*|*-*-sysv*OpenUNIX*) AC_DEFINE([HAVE_UNIXWARE_SIGWAIT], [1], [deviant sigwait?]) ;; esac hack_shutup_pthreadonceinit=no case "$host" in *-aix5.[[123]].*) hack_shutup_pthreadonceinit=yes ;; *-solaris2.[[89]]) hack_shutup_pthreadonceinit=yes ;; *-solaris2.1[[0-9]]) AC_CACHE_CHECK( [if extra braces are needed for PTHREAD_ONCE_INIT], [ntp_cv_braces_around_pthread_once_init], [AC_COMPILE_IFELSE( [AC_LANG_PROGRAM( [[ #include ]], [[ static pthread_once_t once_test = PTHREAD_ONCE_INIT; ]] )], [ntp_cv_braces_around_pthread_once_init=no], [ntp_cv_braces_around_pthread_once_init=yes] )] ) case "$ntp_cv_braces_around_pthread_once_init" in yes) hack_shutup_pthreadonceinit=yes esac ;; esac case "$hack_shutup_pthreadonceinit" in yes) AC_DEFINE([ISC_PLATFORM_BRACEPTHREADONCEINIT], [1], [Enclose PTHREAD_ONCE_INIT in extra braces?]) esac LIBS="$saved_LIBS" AS_UNSET([saved_LIBS]) CFLAGS="$saved_CFLAGS" AS_UNSET([saved_CFLAGS]) ;; *) LIBISC_PTHREADS_NOTHREADS=nothreads ;; esac AC_SUBST([LIBISC_PTHREADS_NOTHREADS]) AM_CONDITIONAL([PTHREADS], [test "$have_pthreads" != "no"]) AC_DEFUN([NTP_BEFORE_HW_FUNC_VSNPRINTF], [ AC_BEFORE([$0], [HW_FUNC_VSNPRINTF])dnl AC_BEFORE([$0], [HW_FUNC_SNPRINTF])dnl AC_ARG_ENABLE( [c99-snprintf], [AS_HELP_STRING([--enable-c99-snprintf], [s force replacement])], [force_c99_snprintf=$enableval], [force_c99_snprintf=no] ) case "$force_c99_snprintf" in yes) hw_force_rpl_snprintf=yes hw_force_rpl_vsnprintf=yes esac AH_VERBATIM( [snprinte],dnl sorted in config.h just before #define snprintf [ #if !defined(_KERNEL) && !defined(PARSESTREAM) /* * stdio.h must be included after _GNU_SOURCE is defined * but before #define snprintf rpl_snprintf */ # include #endif ]) AH_BOTTOM([ #if !defined(_KERNEL) && !defined(PARSESTREAM) # if defined(HW_WANT_RPL_VSNPRINTF) # if defined(__cplusplus) extern "C" { # endif # include int rpl_vsnprintf(char *, size_t, const char *, va_list); # if defined(__cplusplus) } # endif # endif # if defined(HW_WANT_RPL_SNPRINTF) # if defined(__cplusplus) extern "C" { # endif int rpl_snprintf(char *, size_t, const char *, ...); # if defined(__cplusplus) } # endif # endif #endif /* !defined(_KERNEL) && !defined(PARSESTREAM) */ ]) ]) dnl end of AC_DEFUN of NTP_BEFORE_HW_FUNC_VSNPRINTF AC_DEFUN([NTP_C99_SNPRINTF], [ AC_REQUIRE([NTP_BEFORE_HW_FUNC_VSNPRINTF])dnl AC_REQUIRE([HW_FUNC_VSNPRINTF])dnl AC_REQUIRE([HW_FUNC_SNPRINTF])dnl ]) dnl end of DEFUN of NTP_C99_SNPRINTF NTP_C99_SNPRINTF dnl C99-snprintf does not handle %m case "$hw_use_rpl_vsnprintf:$hw_cv_func_vsnprintf" in no:yes) AC_CACHE_CHECK( [if vsnprintf expands "%m" to strerror(errno)], [ntp_cv_vsnprintf_percent_m], [AC_RUN_IFELSE( [AC_LANG_PROGRAM( [[ #include #include #include #include int call_vsnprintf( char * dst, size_t sz, const char *fmt, ... ); int call_vsnprintf( char * dst, size_t sz, const char *fmt, ... ) { va_list ap; int rc; va_start(ap, fmt); rc = vsnprintf(dst, sz, fmt, ap); va_end(ap); return rc; } ]], [[ char sbuf[512]; char pbuf[512]; int slen; strcpy(sbuf, strerror(ENOENT)); errno = ENOENT; slen = call_vsnprintf(pbuf, sizeof(pbuf), "%m", "wrong"); return strcmp(sbuf, pbuf); ]] )], [ntp_cv_vsnprintf_percent_m=yes], [ntp_cv_vsnprintf_percent_m=no], [ntp_cv_vsnprintf_percent_m=no] )] ) case "$ntp_cv_vsnprintf_percent_m" in yes) AC_DEFINE([VSNPRINTF_PERCENT_M], [1], [vsnprintf expands "%m" to strerror(errno)]) esac esac AC_CHECK_HEADERS([sys/clockctl.h]) AC_ARG_ENABLE( [clockctl], [AS_HELP_STRING( [--enable-clockctl], [s Use /dev/clockctl for non-root clock control] )], [ntp_use_dev_clockctl=$enableval], [ntp_use_dev_clockctl=$ac_cv_header_sys_clockctl_h] ) AC_MSG_CHECKING([if we should use /dev/clockctl]) AC_MSG_RESULT([$ntp_use_dev_clockctl]) AC_CHECK_HEADERS([sys/capability.h sys/prctl.h]) AC_MSG_CHECKING([if we have linux capabilities (libcap)]) case "$ac_cv_header_sys_capability_h$ac_cv_header_sys_prctl_h" in yesyes) case "$host" in mips-sgi-irix*) ntp_have_linuxcaps=no ;; *) ntp_have_linuxcaps=yes ;; esac ;; *) ntp_have_linuxcaps=no ;; esac AC_ARG_ENABLE( [linuxcaps], [AS_HELP_STRING( [--enable-linuxcaps], [+ Use Linux capabilities for non-root clock control] )], [ntp_have_linuxcaps=$enableval] ) AC_MSG_RESULT([$ntp_have_linuxcaps]) case "$ntp_have_linuxcaps" in yes) AC_DEFINE([HAVE_LINUX_CAPABILITIES], [1], [Do we have Linux capabilities?]) LIBS="$LIBS -lcap" ;; esac AC_CHECK_HEADERS([priv.h]) case "$ac_cv_header_priv_h" in yes) case "$host" in *-solaris*) AC_CHECK_FUNC( [setppriv], [ntp_have_solarisprivs=yes], [ntp_have_solarisprivs=no] ) ;; esac esac AC_ARG_ENABLE( [solarisprivs], [AS_HELP_STRING( [--enable-solarisprivs], [+ Use Solaris privileges for non-root clock control] )], [ntp_have_solarisprivs=$enableval] ) AC_MSG_CHECKING([if we have solaris privileges]) case "$ntp_have_solarisprivs" in yes) AC_DEFINE([HAVE_SOLARIS_PRIVS], [1], [Are Solaris privileges available?]) ;; '') ntp_have_solarisprivs="no" ;; esac AC_MSG_RESULT([$ntp_have_solarisprivs]) AC_CHECK_HEADERS([sys/mac.h]) AC_ARG_ENABLE( [trustedbsd_mac], [AS_HELP_STRING( [--enable-trustedbsd-mac], [s Use TrustedBSD MAC policy for non-root clock control] )], [ntp_use_trustedbsd_mac=$enableval] ) AC_MSG_CHECKING([if we should use TrustedBSD MAC privileges]) case "$ntp_use_trustedbsd_mac$ac_cv_header_sys_mac_h" in yesyes) AC_DEFINE([HAVE_TRUSTEDBSD_MAC], [1], [Are TrustedBSD MAC policy privileges available?]) ;; *) ntp_use_trustedbsd_mac="no"; ;; esac AC_MSG_RESULT([$ntp_use_trustedbsd_mac]) case "$ntp_use_dev_clockctl$ntp_have_linuxcaps$ntp_have_solarisprivs$ntp_use_trustedbsd_mac" in *yes*) AC_DEFINE([HAVE_DROPROOT], [1], [Can we drop root privileges?]) esac case "$host" in *-*-darwin*) AC_SEARCH_LIBS([res_9_init], [resolv]) ;; *) AC_SEARCH_LIBS([res_init], [resolv]) ;; esac AC_HEADER_RESOLV #HMS: Why do we do this check so "early"? AC_CHECK_FUNCS([res_init], , [AC_CHECK_FUNCS([__res_init])]) # We also need -lsocket, but we have tested for that already. AC_CHECK_FUNC([inet_ntop], [], [AC_DEFINE([ISC_PLATFORM_NEEDNTOP], [1], [ISC: provide inet_ntop()])]) AC_CHECK_FUNC([inet_pton], [], [AC_DEFINE([ISC_PLATFORM_NEEDPTON], [1], [ISC: provide inet_pton()])]) AC_CHECK_TYPES([uintptr_t, int32, u_int32]) AH_VERBATIM([TYPEDEF_UINTPTR_T], [/* Provide a typedef for uintptr_t? */ #ifndef HAVE_UINTPTR_T typedef unsigned int uintptr_t; #define HAVE_UINTPTR_T 1 #endif]) case "$ac_cv_type_int32::$ac_cv_header_resolv_h" in no::yes) AC_CACHE_CHECK( [for int32 with DNS headers included], [ntp_cv_type_int32_with_dns], [AC_COMPILE_IFELSE( [AC_LANG_PROGRAM( [[ #ifdef HAVE_ARPA_NAMESER_H # include #endif #include ]], [[ size_t cb = sizeof(int32); ]] )], [ntp_cv_type_int32_with_dns=yes], [ntp_cv_type_int32_with_dns=no] )] ) case "$ntp_cv_type_int32_with_dns" in yes) AC_DEFINE([HAVE_INT32_ONLY_WITH_DNS], [1], [int32 type in DNS headers, not others.]) esac esac case "$ac_cv_type_u_int32::$ac_cv_header_resolv_h" in no::yes) AC_CACHE_CHECK( [for u_int32 with DNS headers included], [ntp_cv_type_u_int32_with_dns], [AC_COMPILE_IFELSE( [AC_LANG_PROGRAM( [[ #ifdef HAVE_ARPA_NAMESER_H # include #endif #include ]], [[ size_t cb = sizeof(u_int32); ]] )], [ntp_cv_type_u_int32_with_dns=yes], [ntp_cv_type_u_int32_with_dns=no] )] ) case "$ntp_cv_type_u_int32_with_dns" in yes) AC_DEFINE([HAVE_U_INT32_ONLY_WITH_DNS], [1], [u_int32 type in DNS headers, not others.]) esac esac AC_CHECK_HEADERS( [sys/timepps.h], [], [], [ #ifdef HAVE_SYS_TIME_H # include #endif #ifdef HAVE_ERRNO_H # include #endif ] ) AC_CACHE_CHECK( [for struct timespec], [ntp_cv_struct_timespec], [AC_COMPILE_IFELSE( [AC_LANG_PROGRAM( [[ #include /* Under SunOS, timespec is in sys/timepps.h, which needs errno.h and FRAC */ #ifdef HAVE_ERRNO_H # include #endif #ifdef HAVE_SYS_TIMEPPS_H # define FRAC 4294967296 # include #endif ]], [[ struct timespec n; ]] )], [ntp_cv_struct_timespec=yes], [ntp_cv_struct_timespec=no] )] ) case "$ntp_cv_struct_timespec" in yes) AC_DEFINE([HAVE_STRUCT_TIMESPEC], [1], [struct timespec declared?]) esac AC_CACHE_CHECK( [for struct ntptimeval], [ntp_cv_struct_ntptimeval], [AC_COMPILE_IFELSE( [AC_LANG_PROGRAM( [[ #include #include ]], [[ struct ntptimeval n; ]] )], [ntp_cv_struct_ntptimeval=yes], [ntp_cv_struct_ntptimeval=no] )] ) case "$ntp_cv_struct_ntptimeval" in yes) AC_DEFINE([HAVE_STRUCT_NTPTIMEVAL], [1], [Do we have struct ntptimeval?]) esac AC_CHECK_HEADERS( [md5.h], [], [], [ #ifdef HAVE_SYS_TYPES_H # include #endif ] ) AC_SEARCH_LIBS([MD5Init], [md5 md]) AC_CHECK_FUNCS([MD5Init sysconf getdtablesize sigaction sigset sigvec]) # HMS: does this need to be a cached variable? AC_ARG_ENABLE( [signalled-io], [AS_HELP_STRING([--enable-signalled-io], [s Use signalled IO if we can])], [use_signalled_io=$enableval], [use_signalled_io=yes] ) AC_CACHE_CHECK( [for SIGIO], [ntp_cv_hdr_def_sigio], [AC_PREPROC_IFELSE( [AC_LANG_SOURCE([ #include #ifndef SIGIO # error #endif ])], [ntp_cv_hdr_def_sigio=yes], [ntp_cv_hdr_def_sigio=no] )] ) dnl Override those system that have a losing SIGIO AC_MSG_CHECKING([if we want to use SIGIO]) ans=no case "$ntp_cv_hdr_def_sigio" in yes) ans=yes case "$host" in alpha*-dec-osf4*|alpha*-dec-osf5*) ans=no ;; *-convex-*) ans=no ;; *-dec-*) ans=no ;; *-pc-cygwin*) ans=no ;; *-sni-sysv*) ans=no ;; *-stratus-vos) ans=no ;; *-univel-sysv*) ans=no ;; *-*-irix6*) ans=no ;; *-*-freebsd*) ans=no ;; *-*-*linux*) ans=no ;; *-*-unicosmp*) ans=no ;; *-*-kfreebsd*) ans=no ;; m68k-*-mint*) ans=no ;; esac case "$ans" in no) ans="Possible for $host but disabled because of reported problems" ;; esac ;; esac case "$ans" in yes) case "$use_signalled_io" in yes) AC_DEFINE([HAVE_SIGNALED_IO], [1], [Can we use SIGIO for tcp and udp IO?]) ;; *) ans="Allowed for $host but --disable-signalled-io was given" ;; esac esac AC_MSG_RESULT([$ans]) AC_CACHE_CHECK( [for SIGPOLL], [ntp_cv_hdr_def_sigpoll], [AC_PREPROC_IFELSE( [AC_LANG_SOURCE([ #include #ifndef SIGPOLL # error #endif ])], [ntp_cv_hdr_def_sigpoll=yes], [ntp_cv_hdr_def_sigpoll=no] )] ) AC_MSG_CHECKING([if we can use SIGPOLL for UDP I/O]) ans=no case "$ntp_cv_hdr_def_sigpoll" in yes) case "$host" in mips-sgi-irix*) ans=no ;; vax-dec-bsd) ans=no ;; *-pc-cygwin*) ans=no ;; *-sni-sysv*) ans=no ;; *-stratus-vos) ans=no ;; *-*-aix[[4-9]]*) # XXX Only verified thru AIX6 ans=no ;; *-*-hpux*) ans=no ;; *-*-*linux*) ans=no ;; *-*-osf*) ans=no ;; *-*-qnx*) ans=no ;; *-*-sunos*) ans=no ;; *-*-solaris*) ans=no ;; *-*-ultrix*) ans=no ;; *-*-unicosmp*) ans=no ;; *-*-kfreebsd*) ans=no ;; *) ans=yes ;; esac ;; esac case "$ans" in yes) AC_DEFINE([USE_UDP_SIGPOLL], [1], [Can we use SIGPOLL for UDP?]) esac AC_MSG_RESULT([$ans]) AC_MSG_CHECKING([if we can use SIGPOLL for TTY I/O]) ans=no case "$ntp_cv_hdr_def_sigpoll" in yes) case "$host" in mips-sgi-irix*) ans=no ;; vax-dec-bsd) ans=no ;; *-pc-cygwin*) ans=no ;; *-sni-sysv*) ans=no ;; *-stratus-vos) ans=no ;; *-*-aix[[4-9]]*) # XXX Only verified thru AIX6 ans=no ;; *-*-hpux*) ans=no ;; *-*-*linux*) ans=no ;; *-*-osf*) ans=no ;; *-*-sunos*) ans=no ;; *-*-ultrix*) ans=no ;; *-*-qnx*) ans=no ;; *-*-unicosmp*) ans=no ;; *-*-kfreebsd*) ans=no ;; *) ans=yes ;; esac ;; esac case "$ans" in yes) AC_DEFINE([USE_TTY_SIGPOLL], [1], [Can we use SIGPOLL for tty IO?]) esac AC_MSG_RESULT([$ans]) AC_CACHE_CHECK( [number of arguments to gettimeofday()], [ntp_cv_func_Xettimeofday_nargs], [AC_COMPILE_IFELSE( [AC_LANG_PROGRAM( [[ #include ]], [[ gettimeofday(0, 0); settimeofday(0, 0); ]] )], [ntp_cv_func_Xettimeofday_nargs=2], [ntp_cv_func_Xettimeofday_nargs=1] )] ) case "$ntp_cv_func_Xettimeofday_nargs" in 1) AC_DEFINE([SYSV_TIMEOFDAY], [1], [Does Xettimeofday take 1 arg?]) esac AC_CHECK_FUNCS([settimeofday], ,[ case "$host" in *-*-mpeix*) ac_cv_func_settimeofday=yes esac ]) AC_MSG_CHECKING([if we'll use clock_settime or settimeofday or stime]) ntp_warning='GRONK' ans=none case "$ac_cv_func_clock_settime$ac_cv_func_settimeofday$ac_cv_func_stime" in yes*) ntp_warning='' ans='clock_settime()' ;; noyes*) ntp_warning='But clock_settime() would be better (if we had it)' ans='settimeofday()' ;; nonoyes) ntp_warning='Which is the worst of the three' ans='stime()' ;; *) case "$build" in $host) ntp_warning='Which leaves us with nothing to use!' esac esac AC_MSG_RESULT([$ans]) case "$ntp_warning" in '') ;; *) AC_MSG_WARN([*** $ntp_warning ***]) ;; esac dnl add to LDADD_LIBNTP set by ntp_compiler.m4 LDADD_LIBNTP="$LDADD_LIBNTP $LIBS" LIBS=$__LIBS AS_UNSET([__LIBS]) ]) m4trace:m4/ntp_lineeditlibs.m4:1: -1- AC_DEFUN([NTP_LINEEDITLIBS], [ NTP_ORIG_LIBS="$LIBS" AC_ARG_WITH( [lineeditlibs], [AS_HELP_STRING( [--with-lineeditlibs], [edit,editline (readline may be specified if desired)] )], [use_lineeditlibs="$withval"], [use_lineeditlibs="edit,editline"] ) AC_MSG_CHECKING([line editing libraries]) AC_MSG_RESULT([$use_lineeditlibs]) case "$use_lineeditlibs" in no) ntp_lib_lineedit=no ;; *) for lineedit_lib in `echo $use_lineeditlibs | sed -e 's/,/ /'`; do for term_lib in "" termcap curses ncurses; do case "$term_lib" in '') TRY_LIB="-l$lineedit_lib" ;; *) TRY_LIB="-l$lineedit_lib -l$term_lib" ;; esac LIBS="$NTP_ORIG_LIBS $TRY_LIB" AC_MSG_CHECKING([for readline() with $TRY_LIB]) AC_TRY_LINK_FUNC([readline], [ntp_lib_lineedit="$TRY_LIB"]) case "$ntp_lib_lineedit" in '') AC_MSG_RESULT([no]) ;; *) # Use readline() AC_MSG_RESULT([yes]) break esac case "$term_lib" in '') # do not try el_gets without a terminal library ;; *) AC_MSG_CHECKING([for el_gets() with $TRY_LIB]) AC_TRY_LINK_FUNC([el_gets], [ntp_lib_lineedit="$TRY_LIB"]) case "$ntp_lib_lineedit" in '') AC_MSG_RESULT([no]) ;; *) # Use el_gets() AC_MSG_RESULT([yes]) break ;; esac # $ntp_lib_lineedit esac # $term_lib done case "$ntp_lib_lineedit" in '') ;; *) break ;; esac done LIBS="$NTP_ORIG_LIBS" ;; esac # $use_lineeditlibs case "$ntp_lib_lineedit" in '') ntp_lib_lineedit="no" ;; no) ;; *) EDITLINE_LIBS="$ntp_lib_lineedit" AC_SUBST([EDITLINE_LIBS]) ;; esac # $ntp_lib_lineedit case "$ntp_lib_lineedit" in no) ;; *) AC_CHECK_HEADERS([readline.h readline/readline.h histedit.h]) AC_CHECK_HEADERS([history.h readline/history.h]) case "$ac_cv_header_histedit_h" in yes) AC_CACHE_CHECK( [number of arguments to el_init()], [ntp_cv_el_init_args], [AC_COMPILE_IFELSE( [AC_LANG_PROGRAM( [[ #include #include ]], [[ el_init("conftest", stdin, stdout, stderr); ]] )], [ntp_cv_el_init_args=4], [ntp_cv_el_init_args=3] )] ) AC_DEFINE_UNQUOTED( [EL_INIT_ARGS], [$ntp_cv_el_init_args], [number of args to el_init()] ) esac AC_MSG_CHECKING([whether readline supports history]) ntp_lib_lineedit_history="no" ORIG_LIBS="$LIBS" LIBS="$ORIG_LIBS $ntp_lib_lineedit" AC_TRY_LINK_FUNC([add_history], [ntp_lib_lineedit_history="yes"]) LIBS="$ORIG_LIBS" AC_MSG_RESULT([$ntp_lib_lineedit_history]) case "$ntp_lib_lineedit_history" in yes) AC_DEFINE([HAVE_READLINE_HISTORY], [1], [Define if your readline library has \`add_history']) esac esac # $ntp_lib_lineedit AS_UNSET([NTP_ORIG_LIBS]) AS_UNSET([ORIG_LIBS]) AS_UNSET([TRY_LIB]) AS_UNSET([use_lineeditlibs]) ]) m4trace:m4/ntp_locinfo.m4:9: -1- AC_DEFUN([NTP_LOCINFO], [ AC_MSG_CHECKING([for install dir and man conventions]) AC_ARG_WITH( [locfile], [AS_HELP_STRING( [--with-locfile=XXX], [os-specific or "legacy"] )], [], [with_locfile=no] ) ( \ SENTINEL_DIR="$PWD" && \ cd $srcdir/$1 && \ case "$with_locfile" in \ yes|no|'') \ scripts/genLocInfo -d "$SENTINEL_DIR" \ ;; \ *) \ scripts/genLocInfo -d "$SENTINEL_DIR" -f "$with_locfile" \ ;; \ esac \ ) > genLocInfo.i 2> genLocInfo.err . ./genLocInfo.i case "$GENLOCINFO" in OK) AC_MSG_RESULT([in file $GENLOCINFOFILE]) rm genLocInfo.err genLocInfo.i ;; *) AC_MSG_RESULT([failed.]) AC_MSG_ERROR([Problem with genLocInfo!]) ;; esac AM_CONDITIONAL([WANT_CALC_TICKADJ_MS], [test "$CALC_TICKADJ_MS" ]) AC_SUBST([CALC_TICKADJ_DB]) AC_SUBST([CALC_TICKADJ_DL]) AC_SUBST([CALC_TICKADJ_DS]) AC_SUBST([CALC_TICKADJ_MS]) AC_SUBST([CALC_TICKADJ_NI]) AC_SUBST([MANTAGFMT]) AC_SUBST([NTPDATE_DB]) AC_SUBST([NTPDATE_DL]) AC_SUBST([NTPDATE_DS]) AC_SUBST([NTPDATE_MS]) AC_SUBST([NTPDATE_NI]) AC_SUBST([NTPDC_DB]) AC_SUBST([NTPDC_DL]) AC_SUBST([NTPDC_DS]) AC_SUBST([NTPDC_MS]) AC_SUBST([NTPDC_NI]) AC_SUBST([NTPDSIM_DB]) AC_SUBST([NTPDSIM_DL]) AC_SUBST([NTPDSIM_DS]) AC_SUBST([NTPDSIM_MS]) AC_SUBST([NTPDSIM_NI]) AC_SUBST([NTPD_DB]) AC_SUBST([NTPD_DL]) AC_SUBST([NTPD_DS]) AC_SUBST([NTPD_MS]) AC_SUBST([NTPD_NI]) AC_SUBST([NTPQ_DB]) AC_SUBST([NTPQ_DL]) AC_SUBST([NTPQ_DS]) AC_SUBST([NTPQ_MS]) AC_SUBST([NTPQ_NI]) AC_SUBST([NTPSNMPD_DB]) AC_SUBST([NTPSNMPD_DL]) AC_SUBST([NTPSNMPD_DS]) AC_SUBST([NTPSNMPD_MS]) AC_SUBST([NTPSNMPD_NI]) AC_SUBST([NTPSWEEP_DB]) AC_SUBST([NTPSWEEP_DL]) AC_SUBST([NTPSWEEP_DS]) AC_SUBST([NTPSWEEP_MS]) AC_SUBST([NTPSWEEP_NI]) AM_CONDITIONAL([INSTALL_NTPSWEEP], [test -z "$NTPSWEEP_NI" ]) AC_SUBST([NTPTIME_DB]) AC_SUBST([NTPTIME_DL]) AC_SUBST([NTPTIME_DS]) AC_SUBST([NTPTIME_MS]) AC_SUBST([NTPTIME_NI]) AC_SUBST([NTPTRACE_DB]) AC_SUBST([NTPTRACE_DL]) AC_SUBST([NTPTRACE_DS]) AC_SUBST([NTPTRACE_MS]) AC_SUBST([NTPTRACE_NI]) AC_SUBST([NTP_KEYGEN_DB]) AC_SUBST([NTP_KEYGEN_DL]) AC_SUBST([NTP_KEYGEN_DS]) AC_SUBST([NTP_KEYGEN_MS]) AC_SUBST([NTP_KEYGEN_NI]) AC_SUBST([NTP_WAIT_DB]) AC_SUBST([NTP_WAIT_DL]) AC_SUBST([NTP_WAIT_DS]) AC_SUBST([NTP_WAIT_MS]) AC_SUBST([NTP_WAIT_NI]) AC_SUBST([SNTP_DB]) AC_SUBST([SNTP_DL]) AC_SUBST([SNTP_DS]) AC_SUBST([SNTP_MS]) AC_SUBST([SNTP_NI]) AC_SUBST([TICKADJ_DB]) AC_SUBST([TICKADJ_DL]) AC_SUBST([TICKADJ_DS]) AC_SUBST([TICKADJ_MS]) AC_SUBST([TICKADJ_NI]) AC_SUBST([TIMETRIM_DB]) AC_SUBST([TIMETRIM_DL]) AC_SUBST([TIMETRIM_DS]) AC_SUBST([TIMETRIM_MS]) AC_SUBST([TIMETRIM_NI]) AC_SUBST([UPDATE_LEAP_DB]) AC_SUBST([UPDATE_LEAP_DL]) AC_SUBST([UPDATE_LEAP_DS]) AC_SUBST([UPDATE_LEAP_MS]) AC_SUBST([UPDATE_LEAP_NI]) AM_CONDITIONAL([INSTALL_UPDATE_LEAP], [test -z "$UPDATE_LEAP_NI" ]) ]) m4trace:m4/ntp_openssl.m4:28: -1- AC_DEFUN([NTP_OPENSSL], [ AC_REQUIRE([NTP_PKG_CONFIG])dnl AC_REQUIRE([NTP_VER_SUFFIX])dnl AC_ARG_WITH( [crypto], [AS_HELP_STRING( [--with-crypto], [+ =openssl,libcrypto] )] ) AC_ARG_WITH( [openssl-libdir], [AS_HELP_STRING( [--with-openssl-libdir], [+ =/something/reasonable] )] ) AC_ARG_WITH( [openssl-incdir], [AS_HELP_STRING( [--with-openssl-incdir], [+ =/something/reasonable] )] ) AC_ARG_WITH( [rpath], [AS_HELP_STRING( [--without-rpath], [s Disable auto-added -R linker paths] )] ) ntp_openssl=no ntp_openssl_from_pkg_config=no with_crypto=${with_crypto:-openssl,libcrypto} case "$with_crypto" in yes) with_crypto=openssl,libcrypto esac dnl AC_MSG_NOTICE(['%with_crypto:%{PKG_CONFIG:+notempty}:%{with_openssl_libdir-notgiven}:%{with_openssl_incdir-notgiven}']) dnl str="$with_crypto:${PKG_CONFIG:+notempty}:${with_openssl_libdir-notgiven}:${with_openssl_incdir-notgiven}" dnl AC_MSG_NOTICE([$str]) case "$with_crypto:${PKG_CONFIG:+notempty}:${with_openssl_libdir-notgiven}:${with_openssl_incdir-notgiven}" in no:*) ;; *:notempty:notgiven:notgiven) for pkg in `echo $with_crypto | sed -e 's/,/ /'`; do AC_MSG_CHECKING([pkg-config for $pkg]) if $PKG_CONFIG --exists $pkg ; then CPPFLAGS_NTP="$CPPFLAGS_NTP `$PKG_CONFIG --cflags-only-I $pkg`" CFLAGS_NTP="$CFLAGS_NTP `$PKG_CONFIG --cflags-only-other $pkg`" LDADD_NTP="$LDADD_NTP `$PKG_CONFIG --libs-only-L $pkg`" LDADD_NTP="$LDADD_NTP `$PKG_CONFIG --libs-only-l --static $pkg`" LDFLAGS_NTP="$LDFLAGS_NTP `$PKG_CONFIG --libs-only-other $pkg`" VER_SUFFIX=o ntp_openssl=yes ntp_openssl_from_pkg_config=yes ntp_openssl_version="`$PKG_CONFIG --modversion $pkg`" case "$ntp_openssl_version" in *.*) ;; *) ntp_openssl_version='(unknown)' ;; esac AC_MSG_RESULT([yes, version $ntp_openssl_version]) break fi AC_MSG_RESULT([no]) done esac dnl AC_MSG_NOTICE([OpenSSL Phase I checks:]) dnl AC_MSG_NOTICE([CPPFLAGS_NTP: $CPPFLAGS_NTP]) dnl AC_MSG_NOTICE([CFLAGS_NTP: $CFLAGS_NTP]) dnl AC_MSG_NOTICE([LDADD_NTP: $LDADD_NTP]) dnl AC_MSG_NOTICE([LDFLAGS_NTP: $LDFLAGS_NTP]) case "$with_crypto:$ntp_openssl" in no:*) ;; *:no) need_dash_r= need_dash_Wlrpath= case "${with_rpath-notgiven}" in yes) # Lame - what to do if we need -Wl... but not -R? need_dash_r=1 ;; notgiven) case "$host" in *-*-linux*) # This may really only be true for gcc need_dash_Wlrpath=1 ;; *-*-netbsd*) need_dash_r=1 ;; *-*-solaris*) need_dash_r=1 ;; esac ;; esac AC_MSG_CHECKING([for openssl library directory]) with_openssl_libdir=${with_openssl_libdir-notgiven} case "$with_openssl_libdir" in notgiven) case "$build" in $host) with_openssl_libdir=default ;; *) with_openssl_libdir=no ;; esac esac case "$with_openssl_libdir" in default) # Look in: with_openssl_libdir="/usr/lib /usr/lib/openssl /usr/sfw/lib" with_openssl_libdir="$with_openssl_libdir /usr/local/lib" with_openssl_libdir="$with_openssl_libdir /usr/local/ssl/lib /lib" esac case "$with_openssl_libdir" in no) ;; *) # Look for libcrypto.a and libssl.a: for i in $with_openssl_libdir no do case "$host" in *-*-darwin*) test -f $i/libcrypto.dylib -a -f $i/libssl.dylib && break ;; *) test -f $i/libcrypto.so -a -f $i/libssl.so && break test -f $i/libcrypto.a -a -f $i/libssl.a && break ;; esac done openssl_libdir=$i ;; esac AC_MSG_RESULT([$openssl_libdir]) case "$openssl_libdir" in no) openssl_libdir= AC_MSG_WARN([libcrypto and libssl not found in any of $with_openssl_libdir]) esac AC_MSG_CHECKING([for openssl include directory]) with_openssl_incdir=${with_openssl_incdir-notgiven} case "$with_openssl_incdir" in notgiven) # Look in: with_openssl_incdir="/usr/include /usr/sfw/include" with_openssl_incdir="$with_openssl_incdir /usr/local/include" with_openssl_incdir="$with_openssl_incdir /usr/local/ssl/include" esac case "$with_openssl_incdir" in no) ;; *) # look for openssl/evp.h: for i in $with_openssl_incdir no do test -f $i/openssl/evp.h && break done openssl_incdir=$i ;; esac AS_UNSET([i]) AC_MSG_RESULT([$openssl_incdir]) case "$openssl_incdir" in no) openssl_incdir= AC_MSG_WARN([did not find openssl/evp.h in any of $with_openssl_incdir]) esac if test -z "$openssl_libdir" -o -z "$openssl_incdir" then ntp_openssl=no else ntp_openssl=yes VER_SUFFIX=o fi case "$ntp_openssl" in yes) # We have OpenSSL inc/lib dirs - use them. case "$openssl_incdir" in /usr/include) ;; *) CPPFLAGS_NTP="$CPPFLAGS_NTP -I$openssl_incdir" ;; esac case "$openssl_libdir" in /usr/lib) ;; *) LDADD_NTP="$LDADD_NTP -L$openssl_libdir" case "$need_dash_r" in 1) LDFLAGS_NTP="$LDFLAGS_NTP -R$openssl_libdir" esac case "$need_dash_Wlrpath" in 1) LDFLAGS_NTP="$LDFLAGS_NTP -Wl,-rpath,$openssl_libdir" esac ;; esac LDADD_NTP="$LDADD_NTP -lcrypto" esac esac AC_MSG_CHECKING([if we will use crypto]) AC_MSG_RESULT([$ntp_openssl]) case "$ntp_openssl" in yes) AC_CHECK_HEADERS([openssl/cmac.h openssl/hmac.h]) AC_DEFINE([OPENSSL], [], [Use OpenSSL?]) case "$VER_SUFFIX" in *o*) ;; *) AC_MSG_ERROR([OPENSSL set but no 'o' in VER_SUFFIX!]) ;; esac ;; esac NTPO_SAVED_CPPFLAGS="$CPPFLAGS" CPPFLAGS="$CPPFLAGS $CPPFLAGS_NTP" NTPO_SAVED_LIBS="$LIBS" # # check for linking with -lcrypto failure, and try -lcrypto -lz. # Helps m68k-atari-mint # case "$ntp_openssl:$ntp_openssl_from_pkg_config" in yes:no) LIBS="$NTPO_SAVED_LIBS $LDADD_NTP" AC_CACHE_CHECK( [if linking with -lcrypto alone works], [ntp_cv_bare_lcrypto], [AC_LINK_IFELSE( [AC_LANG_PROGRAM( [[ #include "openssl/err.h" #include "openssl/evp.h" ]], [[ ERR_load_crypto_strings(); OpenSSL_add_all_algorithms(); ]] )], [ntp_cv_bare_lcrypto=yes], [ntp_cv_bare_lcrypto=no] )] ) case "$ntp_cv_bare_lcrypto" in no) LIBS="$NTPO_SAVED_LIBS $LDADD_NTP -lz" AC_CACHE_CHECK( [if linking with -lcrypto -lz works], [ntp_cv_lcrypto_lz], [AC_LINK_IFELSE( [AC_LANG_PROGRAM( [[ #include "openssl/err.h" #include "openssl/evp.h" ]], [[ ERR_load_crypto_strings(); OpenSSL_add_all_algorithms(); ]] )], [ntp_cv_lcrypto_lz=yes], [ntp_cv_lcrypto_lz=no] )] ) case "$ntp_cv_lcrypto_lz" in yes) LDADD_NTP="$LDADD_NTP -lz" esac esac esac # # Older OpenSSL headers have a number of callback prototypes inside # other function prototypes which trigger copious warnings with gcc's # -Wstrict-prototypes, which is included in -Wall. # # An example: # # int i2d_RSA_NET(const RSA *a, unsigned char **pp, # int (*cb)(), int sgckey); # ^^^^^^^^^^^ # # # openssl_triggers_warnings=unknown NTPO_SAVED_CFLAGS="$CFLAGS" case "$ntp_openssl:$GCC" in yes:yes) CFLAGS="$CFLAGS -Werror" AC_COMPILE_IFELSE( [AC_LANG_PROGRAM( [[ ]], [[ /* see if -Werror breaks gcc */ ]] )], [gcc_handles_Werror=yes], [gcc_handles_Werror=no] ) case "$gcc_handles_Werror" in no) # if this gcc doesn't do -Werror go ahead and use # -Wstrict-prototypes. openssl_triggers_warnings=yes ;; yes) CFLAGS="$CFLAGS -Wstrict-prototypes" AC_COMPILE_IFELSE( [AC_LANG_PROGRAM( [[ #include "openssl/asn1_mac.h" #include "openssl/bn.h" #include "openssl/err.h" #include "openssl/evp.h" #include "openssl/pem.h" #include "openssl/rand.h" #include "openssl/x509v3.h" ]], [[ /* empty body */ ]] )], [openssl_triggers_warnings=no], [openssl_triggers_warnings=yes] ) esac case "$openssl_triggers_warnings" in yes) CFLAGS_NTP="$CFLAGS_NTP -Wno-strict-prototypes" ;; *) CFLAGS_NTP="$CFLAGS_NTP -Wstrict-prototypes" esac ;; no:yes) # gcc without OpenSSL CFLAGS_NTP="$CFLAGS_NTP -Wstrict-prototypes" esac # Because we don't want -Werror for the EVP_MD_do_all_sorted check CFLAGS="$NTPO_SAVED_CFLAGS" case "$ntp_openssl" in yes) LIBS="$NTPO_SAVED_LIBS $LDADD_NTP" AC_CHECK_FUNCS([EVP_MD_do_all_sorted]) ;; esac dnl AC_MSG_NOTICE([OpenSSL final checks:]) dnl AC_MSG_NOTICE([CPPFLAGS_NTP: $CPPFLAGS_NTP]) dnl AC_MSG_NOTICE([CFLAGS_NTP: $CFLAGS_NTP]) dnl AC_MSG_NOTICE([LDADD_NTP: $LDADD_NTP]) dnl AC_MSG_NOTICE([LDFLAGS_NTP: $LDFLAGS_NTP]) CPPFLAGS="$NTPO_SAVED_CPPFLAGS" LIBS="$NTPO_SAVED_LIBS" AS_UNSET([NTPO_SAVED_CFLAGS]) AS_UNSET([NTPO_SAVED_CPPFLAGS]) AS_UNSET([NTPO_SAVED_LIBS]) AS_UNSET([openssl_triggers_warnings]) AS_UNSET([ntp_openssl_from_pkg_config]) ]) m4trace:m4/ntp_pkg_config.m4:6: -1- AC_DEFUN([NTP_PKG_CONFIG], [ dnl lower the minimum version if you find an earlier one works ntp_pkgconfig_min_version='0.15.0' AC_PATH_TOOL([PKG_CONFIG], [pkg-config]) AS_UNSET([ac_cv_path_PKG_CONFIG]) AS_UNSET([ac_cv_path_ac_pt_PKG_CONFIG]) case "$PKG_CONFIG" in /*) AC_MSG_CHECKING([if pkg-config is at least version $ntp_pkgconfig_min_version]) if $PKG_CONFIG --atleast-pkgconfig-version $ntp_pkgconfig_min_version; then AC_MSG_RESULT([yes]) else AC_MSG_RESULT([no]) PKG_CONFIG="" fi ;; esac ]) m4trace:m4/ntp_prog_cc.m4:4: -1- AC_DEFUN([NTP_PROG_CC], [ case "$build" in *-*-freebsd1?.*) cclist=cc ;; *) cclist="cc gcc" ;; esac dnl we need to check for cross compile tools for vxWorks here dnl must come before AC_PROG_CC or similar #AC_USE_SYSTEM_EXTENSIONS AC_PROG_CC([$cclist]) ]) m4trace:m4/ntp_sntp.m4:3: -1- AC_DEFUN([NTP_WITHSNTP], [ dnl preset withsntp=no in env to change default to --without-sntp AC_MSG_CHECKING([if sntp will be built]) AC_ARG_WITH( [sntp], [AS_HELP_STRING( [--without-sntp], [- disable building sntp and sntp/tests] )], [], [with_sntp="${withsntp=yes}"] ) case "$with_sntp" in no) SNTP= ;; *) SNTP=sntp ;; esac AC_SUBST([SNTP]) AM_CONDITIONAL([BUILD_SNTP], [test -n "$SNTP"]) AC_MSG_RESULT([$with_sntp]) ]) m4trace:m4/ntp_sysexits.m4:3: -1- AC_DEFUN([NTP_SYSEXITS_H], [ AC_CHECK_HEADERS([sysexits.h], [],[ AC_DEFINE([EX_OK], [0], [successful termination]) AC_DEFINE([EX_SOFTWARE], [70], [internal software error]) ])dnl ]) m4trace:m4/ntp_unitytest.m4:4: -1- AC_DEFUN([NTP_UNITYBUILD], [ # We may not need have_unity have_unity=false AC_PATH_PROG([PATH_RUBY], [ruby]) case "$PATH_RUBY" in /*) have_unity=true ;; *) PATH_RUBY="false" ;; esac # We may not need UNITYBUILD_AVAILABLE AM_CONDITIONAL([UNITYBUILD_AVAILABLE], [$have_unity]) ]) m4trace:m4/ntp_ver_suffix.m4:8: -1- AC_DEFUN([NTP_VER_SUFFIX], [ AC_SUBST([VER_SUFFIX]) VER_SUFFIX= ]) m4trace:m4/openldap-thread-check.m4:23: -1- AC_DEFUN([OL_THREAD_CHECK], [ AC_REQUIRE([AC_CANONICAL_HOST]) AC_LANG_SAVE AC_LANG([C]) OL_ARG_WITH(threads,[ --with-threads with threads], auto, [auto nt posix mach pth lwp yes no manual] ) case "$ol_with_threads$host" in auto*-*-solaris2.[[0-6]]) dnl signals sometimes delivered to wrong thread with Solaris 2.6 ol_with_threads=no ;; esac dnl AIX Thread requires we use cc_r or xlc_r. dnl But only do this IF AIX and CC is not set dnl and threads are auto|yes|posix. dnl dnl If we find cc_r|xlc_r, force pthreads and assume dnl pthread_create is in $LIBS (ie: don't bring in dnl any additional thread libraries) dnl If we do not find cc_r|xlc_r, disable threads ol_aix_threads=no case "$host" in *-*-aix*) dnl all AIX is not a good idea. if test -z "$CC" ; then case "$ol_with_threads" in auto | yes | posix) ol_aix_threads=yes ;; esac fi ;; esac if test $ol_aix_threads = yes ; then if test -z "${CC}" ; then AC_CHECK_PROGS(CC,cc_r xlc_r cc) if test "$CC" = cc ; then dnl no CC! don't allow --with-threads if test $ol_with_threads != auto ; then AC_MSG_ERROR([--with-threads requires cc_r (or other suitable compiler) on AIX]) else AC_MSG_WARN([disabling threads, no cc_r on AIX]) fi ol_with_threads=no fi fi case ${CC} in cc_r | xlc_r) ol_with_threads=posix ol_cv_pthread_create=yes ;; esac fi dnl ---------------------------------------------------------------- dnl Threads? ol_link_threads=no dnl ol_with_yielding_select=${ol_with_yielding_select:-auto} OL_ARG_WITH(yielding_select,[ --with-yielding-select with yielding select], auto, [auto yes no manual] ) case $ol_with_threads in auto | yes | nt) OL_NT_THREADS if test "$ol_cv_nt_threads" = yes ; then ol_link_threads=nt ol_with_threads=found ol_with_yielding_select=yes AC_DEFINE([HAVE_NT_SERVICE_MANAGER], [1], [if you have NT Service Manager]) AC_DEFINE([HAVE_NT_EVENT_LOG], [1], [if you have NT Event Log]) fi if test $ol_with_threads = nt ; then AC_MSG_ERROR([could not locate NT Threads]) fi ;; esac case $ol_with_threads in auto | yes | posix) AC_CHECK_HEADERS(pthread.h) if test $ac_cv_header_pthread_h = yes ; then OL_POSIX_THREAD_VERSION if test $ol_cv_pthread_version != 0 ; then AC_DEFINE_UNQUOTED([HAVE_PTHREADS], [$ol_cv_pthread_version], [define to pthreads API spec revision]) else AC_MSG_ERROR([unknown pthread version]) fi # consider threads found ol_with_threads=found OL_HEADER_LINUX_THREADS OL_HEADER_GNU_PTH_PTHREAD_H if test $ol_cv_header_gnu_pth_pthread_h = no ; then AC_CHECK_HEADERS(sched.h) fi dnl Now the hard part, how to link? dnl dnl currently supported checks: dnl dnl Check for no flags dnl pthread_create() in $LIBS dnl dnl Check special pthread (final) flags dnl [skipped] pthread_create() with -mt (Solaris) [disabled] dnl pthread_create() with -kthread (FreeBSD) dnl pthread_create() with -pthread (FreeBSD/Digital Unix) dnl pthread_create() with -pthreads (?) dnl pthread_create() with -mthreads (AIX) dnl pthread_create() with -thread (?) dnl dnl Check pthread (final) libraries dnl pthread_mutex_unlock() in -lpthread -lmach -lexc -lc_r (OSF/1) dnl pthread_mutex_lock() in -lpthread -lmach -lexc (OSF/1) dnl [skipped] pthread_mutex_trylock() in -lpthread -lexc (OSF/1) dnl pthread_join() -Wl,-woff,85 -lpthread (IRIX) dnl pthread_create() in -lpthread (many) dnl pthread_create() in -lc_r (FreeBSD) dnl dnl Check pthread (draft4) flags (depreciated) dnl pthread_create() with -threads (OSF/1) dnl dnl Check pthread (draft4) libraries (depreciated) dnl pthread_mutex_unlock() in -lpthreads -lmach -lexc -lc_r (OSF/1) dnl pthread_mutex_lock() in -lpthreads -lmach -lexc (OSF/1) dnl pthread_mutex_trylock() in -lpthreads -lexc (OSF/1) dnl pthread_create() in -lpthreads (many) dnl dnl pthread_create in $LIBS AC_CACHE_CHECK([for pthread_create in default libraries], ol_cv_pthread_create,[ AC_RUN_IFELSE([OL_PTHREAD_TEST_PROGRAM], [ol_cv_pthread_create=yes], [ol_cv_pthread_create=no], [AC_TRY_LINK(OL_PTHREAD_TEST_INCLUDES,OL_PTHREAD_TEST_FUNCTION, [ol_cv_pthread_create=yes], [ol_cv_pthread_create=no])])]) if test $ol_cv_pthread_create != no ; then ol_link_threads=posix ol_link_pthreads="" fi dnl OL_PTHREAD_TRY([-mt], [ol_cv_pthread_mt]) OL_PTHREAD_TRY([-kthread], [ol_cv_pthread_kthread]) OL_PTHREAD_TRY([-pthread], [ol_cv_pthread_pthread]) OL_PTHREAD_TRY([-pthreads], [ol_cv_pthread_pthreads]) OL_PTHREAD_TRY([-mthreads], [ol_cv_pthread_mthreads]) OL_PTHREAD_TRY([-thread], [ol_cv_pthread_thread]) OL_PTHREAD_TRY([-lpthread -lmach -lexc -lc_r], [ol_cv_pthread_lpthread_lmach_lexc_lc_r]) OL_PTHREAD_TRY([-lpthread -lmach -lexc], [ol_cv_pthread_lpthread_lmach_lexc]) dnl OL_PTHREAD_TRY([-lpthread -lexc], dnl [ol_cv_pthread_lpthread_lexc]) OL_PTHREAD_TRY([-lpthread -Wl,-woff,85], [ol_cv_pthread_lib_lpthread_woff]) OL_PTHREAD_TRY([-lpthread], [ol_cv_pthread_lpthread]) OL_PTHREAD_TRY([-lc_r], [ol_cv_pthread_lc_r]) OL_PTHREAD_TRY([-threads], [ol_cv_pthread_threads]) OL_PTHREAD_TRY([-lpthreads -lmach -lexc -lc_r], [ol_cv_pthread_lpthreads_lmach_lexc_lc_r]) OL_PTHREAD_TRY([-lpthreads -lmach -lexc], [ol_cv_pthread_lpthreads_lmach_lexc]) OL_PTHREAD_TRY([-lpthreads -lexc], [ol_cv_pthread_lpthreads_lexc]) OL_PTHREAD_TRY([-lpthreads],[ol_cv_pthread_lib_lpthreads]) AC_MSG_NOTICE([ol_link_threads: <$ol_link_threads> ol_link_pthreads <$ol_link_pthreads>]) if test $ol_link_threads != no ; then LTHREAD_LIBS="$LTHREAD_LIBS $ol_link_pthreads" dnl save flags save_CPPFLAGS="$CPPFLAGS" save_LIBS="$LIBS" LIBS="$LTHREAD_LIBS $LIBS" dnl All POSIX Thread (final) implementations should have dnl sched_yield instead of pthread yield. dnl check for both, and thr_yield for Solaris AC_CHECK_FUNCS(sched_yield pthread_yield thr_yield) if test $ac_cv_func_sched_yield = no && test $ac_cv_func_pthread_yield = no && test $ac_cv_func_thr_yield = no ; then dnl Digital UNIX has sched_yield() in -lrt AC_CHECK_LIB(rt, sched_yield, [LTHREAD_LIBS="$LTHREAD_LIBS -lrt" AC_DEFINE([HAVE_SCHED_YIELD], [1], [Define if you have the sched_yield function.]) ac_cv_func_sched_yield=yes], [ac_cv_func_sched_yield=no]) fi if test $ac_cv_func_sched_yield = no && test $ac_cv_func_pthread_yield = no && test "$ac_cv_func_thr_yield" = no ; then AC_MSG_WARN([could not locate sched_yield() or pthread_yield()]) fi dnl Check functions for compatibility AC_CHECK_FUNCS(pthread_kill) dnl Check for pthread_rwlock_destroy with dnl as pthread_rwlock_t may not be defined. AC_CACHE_CHECK([for pthread_rwlock_destroy with ], [ol_cv_func_pthread_rwlock_destroy], [ dnl save the flags AC_LINK_IFELSE([AC_LANG_PROGRAM([[ #include pthread_rwlock_t rwlock; ]], [[pthread_rwlock_destroy(&rwlock);]])],[ol_cv_func_pthread_rwlock_destroy=yes],[ol_cv_func_pthread_rwlock_destroy=no]) ]) if test $ol_cv_func_pthread_rwlock_destroy = yes ; then AC_DEFINE([HAVE_PTHREAD_RWLOCK_DESTROY], [1], [define if you have pthread_rwlock_destroy function]) fi dnl Check for pthread_detach with inclusion dnl as it's symbol may have been mangled. AC_CACHE_CHECK([for pthread_detach with ], [ol_cv_func_pthread_detach], [ dnl save the flags AC_LINK_IFELSE([AC_LANG_PROGRAM([[ #include #ifndef NULL #define NULL (void*)0 #endif ]], [[pthread_detach(NULL);]])],[ol_cv_func_pthread_detach=yes],[ol_cv_func_pthread_detach=no]) ]) if test $ol_cv_func_pthread_detach = no ; then AC_MSG_ERROR([could not locate pthread_detach()]) fi AC_DEFINE([HAVE_PTHREAD_DETACH], [1], [define if you have pthread_detach function]) dnl Check for setconcurreny functions AC_CHECK_FUNCS( \ pthread_setconcurrency \ pthread_getconcurrency \ thr_setconcurrency \ thr_getconcurrency \ ) OL_SYS_LINUX_THREADS OL_LINUX_THREADS if test $ol_cv_linux_threads = error; then AC_MSG_ERROR([LinuxThreads header/library mismatch]); fi AC_CACHE_CHECK([if pthread_create() works], ol_cv_pthread_create_works,[ AC_RUN_IFELSE([OL_PTHREAD_TEST_PROGRAM], [ol_cv_pthread_create_works=yes], [ol_cv_pthread_create_works=no], [dnl assume yes ol_cv_pthread_create_works=yes])]) if test $ol_cv_pthread_create_works = no ; then AC_MSG_ERROR([pthread_create is not usable, check environment settings]) fi ol_replace_broken_yield=no dnl case "$host" in dnl *-*-linux*) dnl AC_CHECK_FUNCS(nanosleep) dnl ol_replace_broken_yield=yes dnl ;; dnl esac if test $ol_replace_broken_yield = yes ; then AC_DEFINE([REPLACE_BROKEN_YIELD], [1], [define if sched_yield yields the entire process]) fi dnl Check if select causes an yield if test x$ol_with_yielding_select = xauto ; then AC_CACHE_CHECK([if select yields when using pthreads], ol_cv_pthread_select_yields,[ AC_RUN_IFELSE([AC_LANG_SOURCE([[ #include #include #include #include #ifndef NULL #define NULL (void*) 0 #endif static int fildes[2]; static void *task(p) void *p; { int i; struct timeval tv; fd_set rfds; tv.tv_sec=10; tv.tv_usec=0; FD_ZERO(&rfds); FD_SET(fildes[0], &rfds); /* we're not interested in any fds */ i = select(FD_SETSIZE, &rfds, NULL, NULL, &tv); if(i < 0) { perror("select"); exit(10); } exit(0); /* if we exit here, the select blocked the whole process */ } int main(argc, argv) int argc; char **argv; { pthread_t t; /* create a pipe to select */ if(pipe(&fildes[0])) { perror("select"); exit(1); } #ifdef HAVE_PTHREAD_SETCONCURRENCY (void) pthread_setconcurrency(2); #else #ifdef HAVE_THR_SETCONCURRENCY /* Set Solaris LWP concurrency to 2 */ thr_setconcurrency(2); #endif #endif #if HAVE_PTHREADS < 6 pthread_create(&t, pthread_attr_default, task, NULL); #else pthread_create(&t, NULL, task, NULL); #endif /* make sure task runs first */ #ifdef HAVE_THR_YIELD thr_yield(); #elif defined( HAVE_SCHED_YIELD ) sched_yield(); #elif defined( HAVE_PTHREAD_YIELD ) pthread_yield(); #endif exit(2); }]])],[ol_cv_pthread_select_yields=no],[ol_cv_pthread_select_yields=yes],[ol_cv_pthread_select_yields=cross])]) if test $ol_cv_pthread_select_yields = cross ; then AC_MSG_ERROR([crossing compiling: use --with-yielding-select=yes|no|manual]) fi if test $ol_cv_pthread_select_yields = yes ; then ol_with_yielding_select=yes fi fi dnl restore flags CPPFLAGS="$save_CPPFLAGS" LIBS="$save_LIBS" else AC_MSG_ERROR([could not locate usable POSIX Threads]) fi fi if test $ol_with_threads = posix ; then AC_MSG_ERROR([could not locate POSIX Threads]) fi ;; esac case $ol_with_threads in auto | yes | mach) dnl check for Mach CThreads AC_CHECK_HEADERS(mach/cthreads.h cthreads.h) if test $ac_cv_header_mach_cthreads_h = yes ; then ol_with_threads=found dnl check for cthreads support in current $LIBS AC_CHECK_FUNC(cthread_fork,[ol_link_threads=yes]) if test $ol_link_threads = no ; then dnl try -all_load dnl this test needs work AC_CACHE_CHECK([for cthread_fork with -all_load], [ol_cv_cthread_all_load], [ dnl save the flags save_LIBS="$LIBS" LIBS="-all_load $LIBS" AC_LINK_IFELSE([AC_LANG_PROGRAM([[#include ]], [[ cthread_fork((void *)0, (void *)0); ]])],[ol_cv_cthread_all_load=yes],[ol_cv_cthread_all_load=no]) dnl restore the LIBS LIBS="$save_LIBS" ]) if test $ol_cv_cthread_all_load = yes ; then LTHREAD_LIBS="$LTHREAD_LIBS -all_load" ol_link_threads=mach ol_with_threads=found fi fi elif test $ac_cv_header_cthreads_h = yes ; then dnl Hurd variant of Mach Cthreads dnl uses and -lthreads ol_with_threads=found dnl save the flags save_LIBS="$LIBS" LIBS="$LIBS -lthreads" AC_CHECK_FUNC(cthread_fork,[ol_link_threads=yes]) LIBS="$save_LIBS" if test $ol_link_threads = yes ; then LTHREAD_LIBS="-lthreads" ol_link_threads=mach ol_with_threads=found else AC_MSG_ERROR([could not link with Mach CThreads]) fi elif test $ol_with_threads = mach ; then AC_MSG_ERROR([could not locate Mach CThreads]) fi if test $ol_link_threads = mach ; then AC_DEFINE([HAVE_MACH_CTHREADS], [1], [define if you have Mach Cthreads]) elif test $ol_with_threads = found ; then AC_MSG_ERROR([could not link with Mach CThreads]) fi ;; esac case $ol_with_threads in auto | yes | pth) AC_CHECK_HEADERS(pth.h) if test $ac_cv_header_pth_h = yes ; then AC_CHECK_LIB(pth, pth_version, [have_pth=yes], [have_pth=no]) if test $have_pth = yes ; then AC_DEFINE([HAVE_GNU_PTH], [1], [if you have GNU Pth]) LTHREAD_LIBS="$LTHREAD_LIBS -lpth" ol_link_threads=pth ol_with_threads=found if test x$ol_with_yielding_select = xauto ; then ol_with_yielding_select=yes fi fi fi ;; esac case $ol_with_threads in auto | yes | lwp) dnl check for SunOS5 LWP AC_CHECK_HEADERS(thread.h synch.h) if test $ac_cv_header_thread_h = yes && test $ac_cv_header_synch_h = yes ; then AC_CHECK_LIB(thread, thr_create, [have_thr=yes], [have_thr=no]) if test $have_thr = yes ; then AC_DEFINE([HAVE_THR], [1], [if you have Solaris LWP (thr) package]) LTHREAD_LIBS="$LTHREAD_LIBS -lthread" ol_link_threads=thr if test x$ol_with_yielding_select = xauto ; then ol_with_yielding_select=yes fi dnl Check for setconcurrency functions AC_CHECK_FUNCS( \ thr_setconcurrency \ thr_getconcurrency \ ) fi fi dnl check for SunOS4 LWP AC_CHECK_HEADERS(lwp/lwp.h) if test $ac_cv_header_lwp_lwp_h = yes ; then AC_CHECK_LIB(lwp, lwp_create, [have_lwp=yes], [have_lwp=no]) if test $have_lwp = yes ; then AC_DEFINE([HAVE_LWP], [1], [if you have SunOS LWP package]) LTHREAD_LIBS="$LTHREAD_LIBS -llwp" ol_link_threads=lwp if test x$ol_with_yielding_select = xauto ; then ol_with_yielding_select=no fi fi fi ;; esac if test $ol_with_yielding_select = yes ; then AC_DEFINE([HAVE_YIELDING_SELECT], [1], [define if select implicitly yields]) fi if test $ol_with_threads = manual ; then dnl User thinks he can manually configure threads. ol_link_threads=yes AC_MSG_WARN([thread defines and link options must be set manually]) AC_CHECK_HEADERS(pthread.h sched.h) AC_CHECK_FUNCS(sched_yield pthread_yield) OL_HEADER_LINUX_THREADS AC_CHECK_HEADERS(mach/cthreads.h) AC_CHECK_HEADERS(lwp/lwp.h) AC_CHECK_HEADERS(thread.h synch.h) fi if test $ol_link_threads != no && test $ol_link_threads != nt ; then dnl needed to get reentrant/threadsafe versions dnl AC_DEFINE([REENTRANT], [1], [enable thread safety]) AC_DEFINE([_REENTRANT], [1], [enable thread safety]) AC_DEFINE([THREAD_SAFE], [1], [enable thread safety]) AC_DEFINE([_THREAD_SAFE], [1], [enable thread safety]) AC_DEFINE([THREADSAFE], [1], [enable thread safety]) AC_DEFINE([_THREADSAFE], [1], [enable thread safety]) AC_DEFINE([_SGI_MP_SOURCE], [1], [enable thread safety]) dnl The errno declaration may dependent upon _REENTRANT. dnl If it does, we must link with thread support. AC_CACHE_CHECK([for thread specific errno], [ol_cv_errno_thread_specific], [ AC_LINK_IFELSE([AC_LANG_PROGRAM([[#include ]], [[errno = 0;]])],[ol_cv_errno_thread_specific=yes],[ol_cv_errno_thread_specific=no]) ]) dnl The h_errno declaration may dependent upon _REENTRANT. dnl If it does, we must link with thread support. AC_CACHE_CHECK([for thread specific h_errno], [ol_cv_h_errno_thread_specific], [ AC_LINK_IFELSE([AC_LANG_PROGRAM([[#include ]], [[h_errno = 0;]])],[ol_cv_h_errno_thread_specific=yes],[ol_cv_h_errno_thread_specific=no]) ]) if test $ol_cv_errno_thread_specific != yes || test $ol_cv_h_errno_thread_specific != yes ; then LIBS="$LTHREAD_LIBS $LIBS" LTHREAD_LIBS="" fi dnl When in thread environment, use dnl #if defined( HAVE_REENTRANT_FUNCTIONS ) || defined( HAVE_FUNC_R ) dnl func_r(...); dnl #else dnl # if defined( HAVE_THREADS ) dnl /* lock */ dnl # endif dnl func(...); dnl # if defined( HAVE_THREADS ) dnl /* unlock */ dnl # endif dnl #endif dnl dnl HAVE_REENTRANT_FUNCTIONS is derived from: dnl _POSIX_REENTRANT_FUNCTIONS dnl _POSIX_THREAD_SAFE_FUNCTIONS dnl _POSIX_THREADSAFE_FUNCTIONS dnl dnl and is currently defined in dnl dnl HAVE_THREADS is defined by iff -UNO_THREADS dnl dnl libldap/*.c should only include iff dnl LDAP_R_COMPILE is defined. ie: dnl #ifdef LDAP_R_COMPILE dnl # include dnl #endif dnl dnl LDAP_R_COMPILE is defined by libldap_r/Makefile.in dnl specifically for compiling the threadsafe version of dnl the ldap library (-lldap_r). dnl dnl dnl check for reentrant/threadsafe functions dnl dnl dnl dnl note: these should only be used when linking dnl dnl with $LTHREAD_LIBS dnl dnl dnl save_CPPFLAGS="$CPPFLAGS" dnl save_LIBS="$LIBS" dnl LIBS="$LTHREAD_LIBS $LIBS" dnl AC_CHECK_FUNCS( \ dnl gmtime_r \ dnl gethostbyaddr_r gethostbyname_r \ dnl feof_unlocked unlocked_feof \ dnl putc_unlocked unlocked_putc \ dnl flockfile ftrylockfile \ dnl ) dnl CPPFLAGS="$save_CPPFLAGS" dnl LIBS="$save_LIBS" fi if test $ol_link_threads = no ; then if test $ol_with_threads = yes ; then AC_MSG_ERROR([no suitable thread support]) fi if test $ol_with_threads = auto ; then AC_MSG_WARN([no suitable thread support, disabling threads]) ol_with_threads=no fi AC_DEFINE([NO_THREADS], [1], [define if you have (or want) no threads]) LTHREAD_LIBS="" BUILD_THREAD=no else BUILD_THREAD=yes fi if test $ol_link_threads != no ; then AC_DEFINE([LDAP_API_FEATURE_X_OPENLDAP_THREAD_SAFE], [1], [define to 1 if library is thread safe]) fi # Finally, execute ACTION-IF-FOUND/ACTION-IF-NOT-FOUND: case "$ol_with_threads" in no) ol_pthread_ok=no $2 ;; *) ifelse([$1],,AC_DEFINE(HAVE_PTHREAD,1,[Define if you have POSIX threads libraries and header files.]),[$1]) ;; esac AC_LANG_RESTORE AC_SUBST(BUILD_THREAD) AC_SUBST(LTHREAD_LIBS) ]) m4trace:m4/openldap.m4:24: -1- AC_DEFUN([OL_ARG_ENABLE], [# OpenLDAP --enable-$1 pushdef([ol_DefVal],ifelse($3,,auto,$3)) AC_ARG_ENABLE($1,ifelse($4,,[$2],[$2] translit([$4],[ ],[|])) ifelse($3,--,,@<:@ol_DefVal@:>@),[ ol_arg=invalid for ol_val in ifelse($4,,[auto yes no],[$4]) ; do if test "$enableval" = "$ol_val" ; then ol_arg="$ol_val" fi done if test "$ol_arg" = "invalid" ; then AC_MSG_ERROR(bad value $enableval for --enable-$1) fi ol_enable_$1="$ol_arg" ]ifelse($3,--,,[, [ ol_enable_$1=ifelse($5,,ol_DefVal,[${]$5[:-]ol_DefVal[}])]]))dnl dnl AC_MSG_RESULT([OpenLDAP -enable-$1 $ol_enable_$1]) popdef([ol_DefVal]) # end --enable-$1 ]) m4trace:m4/openldap.m4:51: -1- AC_DEFUN([OL_ARG_WITH], [# OpenLDAP --with-$1 AC_ARG_WITH($1,[$2 @<:@]ifelse($3,,yes,$3)@:>@,[ ol_arg=invalid for ol_val in ifelse($4,,[yes no],[$4]) ; do if test "$withval" = "$ol_val" ; then ol_arg="$ol_val" fi done if test "$ol_arg" = "invalid" ; then AC_MSG_ERROR(bad value $withval for --with-$1) fi ol_with_$1="$ol_arg" ], [ ol_with_$1=ifelse($3,,"no","$3")])dnl dnl AC_MSG_RESULT([OpenLDAP --with-$1 $ol_with_$1]) # end --with-$1 ]) m4trace:m4/openldap.m4:70: -1- AC_DEFUN([OL_MKDEPEND], [# test for make depend flag OL_MKDEP= OL_MKDEP_FLAGS= if test -z "${MKDEP}"; then OL_MKDEP="${CC-cc}" if test -z "${MKDEP_FLAGS}"; then AC_CACHE_CHECK([for ${OL_MKDEP} depend flag], ol_cv_mkdep, [ ol_cv_mkdep=no for flag in "-M" "-xM"; do cat > conftest.c </dev/null 2>&1 then if test ! -f conftest."${ac_object}" ; then ol_cv_mkdep=$flag OL_MKDEP_FLAGS="$flag" break fi fi done rm -f conftest* ]) test "$ol_cv_mkdep" = no && OL_MKDEP=":" else cc_cv_mkdep=yes OL_MKDEP_FLAGS="${MKDEP_FLAGS}" fi else cc_cv_mkdep=yes OL_MKDEP="${MKDEP}" OL_MKDEP_FLAGS="${MKDEP_FLAGS}" fi AC_SUBST(OL_MKDEP) AC_SUBST(OL_MKDEP_FLAGS) ]) m4trace:m4/openldap.m4:110: -1- AC_DEFUN([OL_CPP_EBCDIC], [# test for EBCDIC AC_CACHE_CHECK([for EBCDIC],ol_cv_cpp_ebcdic,[ AC_PREPROC_IFELSE([AC_LANG_SOURCE([[ #if !('M' == 0xd4) #include <__ASCII__/generate_error.h> #endif ]])],[ol_cv_cpp_ebcdic=yes],[ol_cv_cpp_ebcdic=no])]) if test $ol_cv_cpp_ebcdic = yes ; then AC_DEFINE(HAVE_EBCDIC,1, [define if system uses EBCDIC instead of ASCII]) fi ]) m4trace:m4/openldap.m4:124: -1- AC_DEFUN([OL_MSVC], [AC_REQUIRE_CPP()dnl AC_CACHE_CHECK([whether we are using MS Visual C++], ol_cv_msvc, [AC_PREPROC_IFELSE([AC_LANG_SOURCE([[ #ifndef _MSC_VER #include <__FOO__/generate_error.h> #endif ]])],[ol_cv_msvc=yes],[ol_cv_msvc=no])])]) m4trace:m4/openldap.m4:135: -1- AC_DEFUN([OL_HEADER_STDC], [AC_REQUIRE_CPP()dnl AC_REQUIRE([OL_CPP_EBCDIC])dnl AC_CACHE_CHECK([for ANSI C header files], ol_cv_header_stdc, [AC_PREPROC_IFELSE([AC_LANG_SOURCE([[#include #include #include #include ]])],[ol_cv_header_stdc=yes],[ol_cv_header_stdc=no]) if test $ol_cv_header_stdc = yes; then # SunOS 4.x string.h does not declare mem*, contrary to ANSI. AC_EGREP_HEADER(memchr, string.h, , ol_cv_header_stdc=no) fi if test $ol_cv_header_stdc = yes; then # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI. AC_EGREP_HEADER(free, stdlib.h, , ol_cv_header_stdc=no) fi if test $ol_cv_header_stdc = yes; then # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi. AC_RUN_IFELSE([AC_LANG_SOURCE([[#include #ifndef HAVE_EBCDIC # define ISLOWER(c) ('a' <= (c) && (c) <= 'z') # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c)) #else # define ISLOWER(c) (('a' <= (c) && (c) <= 'i') \ || ('j' <= (c) && (c) <= 'r') \ || ('s' <= (c) && (c) <= 'z')) # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c)) #endif #define XOR(e, f) (((e) && !(f)) || (!(e) && (f))) int main () { int i; for (i = 0; i < 256; i++) if (XOR (islower (i), ISLOWER (i)) || toupper (i) != TOUPPER (i)) exit(2); exit (0); } ]])],[],[ol_cv_header_stdc=no],[:]) fi]) if test $ol_cv_header_stdc = yes; then AC_DEFINE([STDC_HEADERS], [1], [is standard C provided?]) fi ac_cv_header_stdc=disable ]) m4trace:m4/openldap.m4:180: -1- AC_DEFUN([OL_RESOLVER_TRY], [if test $ol_cv_lib_resolver = no ; then AC_CACHE_CHECK([for resolver link (]ifelse($2,,default,$2)[)],[$1], [ ol_RESOLVER_LIB=ifelse($2,,,$2) ol_LIBS=$LIBS LIBS="$ol_RESOLVER_LIB $LIBS" AC_LINK_IFELSE([AC_LANG_PROGRAM([[ #ifdef HAVE_SYS_TYPES_H # include #endif #include #ifdef HAVE_ARPA_NAMESER_H # include #endif #ifdef HAVE_RESOLV_H # include #endif ]], [[{ int len, status; char *request = NULL; unsigned char reply[64*1024]; unsigned char host[64*1024]; unsigned char *p; #ifdef NS_HFIXEDSZ /* Bind 8/9 interface */ len = res_query(request, ns_c_in, ns_t_srv, reply, sizeof(reply)); #else /* Bind 4 interface */ # ifndef T_SRV # define T_SRV 33 # endif len = res_query(request, C_IN, T_SRV, reply, sizeof(reply)); #endif p = reply; #ifdef NS_HFIXEDSZ /* Bind 8/9 interface */ p += NS_HFIXEDSZ; #elif defined(HFIXEDSZ) /* Bind 4 interface w/ HFIXEDSZ */ p += HFIXEDSZ; #else /* Bind 4 interface w/o HFIXEDSZ */ p += sizeof(HEADER); #endif status = dn_expand( reply, reply+len, p, host, sizeof(host)); }]])],[$1=yes],[$1=no]) LIBS="$ol_LIBS" ]) if test $$1 = yes ; then ol_cv_lib_resolver=ifelse($2,,yes,$2) fi fi ]) m4trace:m4/openldap.m4:240: -1- AC_DEFUN([OL_RESOLVER_LINK], [ol_cv_lib_resolver=no OL_RESOLVER_TRY(ol_cv_resolver_none) OL_RESOLVER_TRY(ol_cv_resolver_resolv,[-lresolv]) OL_RESOLVER_TRY(ol_cv_resolver_bind,[-lbind]) ]) m4trace:m4/openldap.m4:249: -1- AC_DEFUN([OL_ICU], [ol_icu=no AC_CHECK_HEADERS( unicode/utypes.h ) if test $ac_cv_header_unicode_utypes_h = yes ; then dnl OL_ICULIBS="-licui18n -licuuc -licudata" OL_ICULIBS="-licuuc -licudata" AC_CACHE_CHECK([for ICU libraries], [ol_cv_lib_icu], [ ol_LIBS="$LIBS" LIBS="$OL_ICULIBS $LIBS" AC_LINK_IFELSE([AC_LANG_PROGRAM([[ #include ]], [[ (void) u_errorName(0); ]])],[ol_cv_lib_icu=yes],[ol_cv_lib_icu=no]) LIBS="$ol_LIBS" ]) if test $ol_cv_lib_icu != no ; then ol_icu="$OL_ICULIBS" AC_DEFINE([HAVE_ICU], [1], [define if you actually have ICU]) fi fi ]) m4trace:m4/openldap.m4:279: -1- AC_DEFUN([OL_BERKELEY_DB_TRY], [if test $ol_cv_lib_db = no ; then AC_CACHE_CHECK([for Berkeley DB link (]ifelse($2,,default,$2)[)],[$1], [ ol_DB_LIB=ifelse($2,,,$2) ol_LIBS=$LIBS LIBS="$ol_DB_LIB $LTHREAD_LIBS $LIBS" AC_LINK_IFELSE([AC_LANG_PROGRAM([[ #ifdef HAVE_DB_185_H # include #else # include #endif #ifndef DB_VERSION_MAJOR # define DB_VERSION_MAJOR 1 #endif #ifndef NULL #define NULL ((void*)0) #endif ]], [[ #if DB_VERSION_MAJOR > 2 db_env_create( NULL, 0 ); #elif DB_VERSION_MAJOR > 1 db_appexit( NULL ); #else (void) dbopen( NULL, 0, 0, 0, NULL); #endif ]])],[$1=yes],[$1=no]) LIBS="$ol_LIBS" ]) if test $$1 = yes ; then ol_cv_lib_db=ifelse($2,,yes,$2) fi fi ]) m4trace:m4/openldap.m4:322: -1- AC_DEFUN([OL_BDB_HEADER_VERSION], [AC_CACHE_CHECK([for Berkeley DB major version in db.h], [ol_cv_bdb_major],[ AC_LANG_CONFTEST([ #include #ifndef DB_VERSION_MAJOR # define DB_VERSION_MAJOR 1 #endif __db_version DB_VERSION_MAJOR ]) set X `eval "$ac_cpp conftest.$ac_ext" | $EGREP __db_version` none none ol_cv_bdb_major=${3} ]) case $ol_cv_bdb_major in [[1-9]]*) : ;; *) AC_MSG_ERROR([Unknown Berkeley DB major version in db.h]) ;; esac dnl Determine minor version AC_CACHE_CHECK([for Berkeley DB minor version in db.h], [ol_cv_bdb_minor],[ AC_LANG_CONFTEST([ #include #ifndef DB_VERSION_MINOR # define DB_VERSION_MINOR 0 #endif __db_version DB_VERSION_MINOR ]) set X `eval "$ac_cpp conftest.$ac_ext" | $EGREP __db_version` none none ol_cv_bdb_minor=${3} ]) case $ol_cv_bdb_minor in [[0-9]]*) : ;; *) AC_MSG_ERROR([Unknown Berkeley DB minor version in db.h]) ;; esac ]) m4trace:m4/openldap.m4:357: -1- AC_DEFUN([OL_BERKELEY_DB_LINK], [ol_cv_lib_db=no if test $ol_cv_bdb_major = 4 ; then OL_BERKELEY_DB_TRY(ol_cv_db_db_4_dot_m,[-ldb-4.$ol_cv_bdb_minor]) OL_BERKELEY_DB_TRY(ol_cv_db_db4m,[-ldb4$ol_cv_bdb_minor]) OL_BERKELEY_DB_TRY(ol_cv_db_db_4m,[-ldb-4$ol_cv_bdb_minor]) OL_BERKELEY_DB_TRY(ol_cv_db_db_4_m,[-ldb-4-$ol_cv_bdb_minor]) OL_BERKELEY_DB_TRY(ol_cv_db_db_4,[-ldb-4]) OL_BERKELEY_DB_TRY(ol_cv_db_db4,[-ldb4]) OL_BERKELEY_DB_TRY(ol_cv_db_db,[-ldb]) fi OL_BERKELEY_DB_TRY(ol_cv_db_none) ]) m4trace:m4/openldap.m4:374: -1- AC_DEFUN([OL_BERKELEY_DB_VERSION], [AC_CACHE_CHECK([for Berkeley DB library and header version match], [ol_cv_berkeley_db_version], [ ol_LIBS="$LIBS" LIBS="$LTHREAD_LIBS $LIBS" if test $ol_cv_lib_db != yes ; then LIBS="$ol_cv_lib_db $LIBS" fi AC_RUN_IFELSE([AC_LANG_SOURCE([[ #ifdef HAVE_DB_185_H choke me; #else #include #endif #ifndef DB_VERSION_MAJOR # define DB_VERSION_MAJOR 1 #endif #ifndef NULL #define NULL ((void *)0) #endif main() { #if DB_VERSION_MAJOR > 1 char *version; int major, minor, patch; version = db_version( &major, &minor, &patch ); if( major != DB_VERSION_MAJOR || minor != DB_VERSION_MINOR || patch != DB_VERSION_PATCH ) { printf("Berkeley DB version mismatch\n" "\theader: %s\n\tlibrary: %s\n", DB_VERSION_STRING, version); return 1; } #endif return 0; }]])],[ol_cv_berkeley_db_version=yes],[ol_cv_berkeley_db_version=no],[ol_cv_berkeley_db_version=cross]) LIBS="$ol_LIBS" ]) if test $ol_cv_berkeley_db_version = no ; then AC_MSG_ERROR([Berkeley DB version mismatch]) fi ]) m4trace:m4/openldap.m4:426: -1- AC_DEFUN([OL_BERKELEY_DB_THREAD], [AC_CACHE_CHECK([for Berkeley DB thread support], [ol_cv_berkeley_db_thread], [ ol_LIBS="$LIBS" LIBS="$LTHREAD_LIBS $LIBS" if test $ol_cv_lib_db != yes ; then LIBS="$ol_cv_lib_db $LIBS" fi AC_RUN_IFELSE([AC_LANG_SOURCE([[ #ifdef HAVE_DB_185_H choke me; #else #include #endif #ifndef NULL #define NULL ((void *)0) #endif main() { int rc; u_int32_t flags = DB_CREATE | #ifdef DB_PRIVATE DB_PRIVATE | #endif DB_THREAD; #if DB_VERSION_MAJOR > 2 DB_ENV *env = NULL; rc = db_env_create( &env, 0 ); flags |= DB_INIT_MPOOL; #ifdef DB_MPOOL_PRIVATE flags |= DB_MPOOL_PRIVATE; #endif if( rc ) { printf("BerkeleyDB: %s\n", db_strerror(rc) ); return rc; } #if (DB_VERSION_MAJOR > 3) || (DB_VERSION_MINOR >= 1) rc = (env->open)( env, NULL, flags, 0 ); #else rc = (env->open)( env, NULL, NULL, flags, 0 ); #endif if ( rc == 0 ) { rc = env->close( env, 0 ); } if( rc ) { printf("BerkeleyDB: %s\n", db_strerror(rc) ); return rc; } #else DB_ENV env; memset( &env, '\0', sizeof(env) ); rc = db_appinit( NULL, NULL, &env, flags ); if( rc == 0 ) { db_appexit( &env ); } unlink("__db_mpool.share"); unlink("__db_lock.share"); #endif return rc; }]])],[ol_cv_berkeley_db_thread=yes],[ol_cv_berkeley_db_thread=no],[ol_cv_berkeley_db_thread=cross]) LIBS="$ol_LIBS" ]) if test $ol_cv_berkeley_db_thread != no ; then AC_DEFINE([HAVE_BERKELEY_DB_THREAD], [1], [define if Berkeley DB has DB_THREAD support]) fi ]) m4trace:m4/openldap.m4:510: -1- AC_DEFUN([OL_BERKELEY_DB], [ol_cv_berkeley_db=no AC_CHECK_HEADERS(db.h) if test $ac_cv_header_db_h = yes; then OL_BDB_HEADER_VERSION OL_BDB_COMPAT if test $ol_cv_bdb_compat != yes ; then AC_MSG_ERROR([BerkeleyDB version incompatible with BDB/HDB backends]) fi OL_BERKELEY_DB_LINK if test "$ol_cv_lib_db" != no ; then ol_cv_berkeley_db=yes OL_BERKELEY_DB_VERSION OL_BERKELEY_DB_THREAD fi fi ]) m4trace:m4/openldap.m4:531: -1- AC_DEFUN([OL_BDB_COMPAT], [AC_CACHE_CHECK([if Berkeley DB version supported by BDB/HDB backends], [ol_cv_bdb_compat],[ AC_EGREP_CPP(__db_version_compat,[ #include /* this check could be improved */ #ifndef DB_VERSION_MAJOR # define DB_VERSION_MAJOR 1 #endif #ifndef DB_VERSION_MINOR # define DB_VERSION_MINOR 0 #endif #define DB_VERSION_MM ((DB_VERSION_MAJOR<<8)|DB_VERSION_MINOR) /* require 4.4 or later */ #if DB_VERSION_MM >= 0x0404 __db_version_compat #endif ], [ol_cv_bdb_compat=yes], [ol_cv_bdb_compat=no])]) ]) m4trace:m4/openldap.m4:576: -1- AC_DEFUN([OL_POSIX_THREAD_VERSION], [AC_CACHE_CHECK([POSIX thread version],[ol_cv_pthread_version],[ AC_COMPILE_IFELSE([AC_LANG_PROGRAM([[ # include ]], [[ int i = PTHREAD_CREATE_JOINABLE; ]])],[ AC_EGREP_HEADER(pthread_detach,pthread.h, ol_cv_pthread_version=10, ol_cv_pthread_version=8)],[ AC_EGREP_CPP(draft7,[ # include # ifdef PTHREAD_CREATE_UNDETACHED draft7 # endif ], ol_cv_pthread_version=7, [ AC_EGREP_HEADER(pthread_attr_init,pthread.h, ol_cv_pthread_version=6, [ AC_EGREP_CPP(draft5,[ # include #ifdef PTHREAD_MUTEX_INITIALIZER draft5 #endif ], ol_cv_pthread_version=5, ol_cv_pthread_version=4) ]) ]) ]) ]) ]) m4trace:m4/openldap.m4:603: -1- AC_DEFUN([OL_PTHREAD_TEST_INCLUDES], [[ /* pthread test headers */ #include #if HAVE_PTHREADS < 7 #include #endif #ifndef NULL #define NULL (void*)0 #endif static void *task(p) void *p; { return (void *) (p == NULL); } ]]) m4trace:m4/openldap.m4:619: -1- AC_DEFUN([OL_PTHREAD_TEST_FUNCTION], [[ /* pthread test function */ #ifndef PTHREAD_CREATE_DETACHED #define PTHREAD_CREATE_DETACHED 1 #endif pthread_t t; int status; int detach = PTHREAD_CREATE_DETACHED; #if HAVE_PTHREADS > 4 /* Final pthreads */ pthread_attr_t attr; status = pthread_attr_init(&attr); if( status ) return status; #if HAVE_PTHREADS < 7 status = pthread_attr_setdetachstate(&attr, &detach); if( status < 0 ) status = errno; #else status = pthread_attr_setdetachstate(&attr, detach); #endif if( status ) return status; status = pthread_create( &t, &attr, task, NULL ); #if HAVE_PTHREADS < 7 if( status < 0 ) status = errno; #endif if( status ) return status; #else /* Draft 4 pthreads */ status = pthread_create( &t, pthread_attr_default, task, NULL ); if( status ) return errno; /* give thread a chance to complete */ /* it should remain joinable and hence detachable */ sleep( 1 ); status = pthread_detach( &t ); if( status ) return errno; #endif #ifdef HAVE_LINUX_THREADS pthread_kill_other_threads_np(); #endif return 0; ]]) m4trace:m4/openldap.m4:667: -1- AC_DEFUN([OL_PTHREAD_TEST_PROGRAM], [ AC_LANG_SOURCE([OL_PTHREAD_TEST_INCLUDES int main(argc, argv) int argc; char **argv; { OL_PTHREAD_TEST_FUNCTION } ])]) m4trace:m4/openldap.m4:678: -1- AC_DEFUN([OL_PTHREAD_TRY], [# Pthread try link: $1 ($2) if test "$ol_link_threads" = no ; then # try $1 AC_CACHE_CHECK([for pthread link with $1], [$2], [ # save the flags ol_LIBS="$LIBS" LIBS="$1 $LIBS" AC_RUN_IFELSE([OL_PTHREAD_TEST_PROGRAM], [$2=yes], [$2=no], [AC_LINK_IFELSE([AC_LANG_PROGRAM(OL_PTHREAD_TEST_INCLUDES, OL_PTHREAD_TEST_FUNCTION)], [$2=yes], [$2=no])]) # restore the LIBS LIBS="$ol_LIBS" ]) if test $$2 = yes ; then ol_link_pthreads="$1" ol_link_threads=posix fi fi ]) m4trace:m4/openldap.m4:712: -1- AC_DEFUN([OL_HEADER_GNU_PTH_PTHREAD_H], [ AC_CACHE_CHECK([for GNU Pth pthread.h], [ol_cv_header_gnu_pth_pthread_h], [AC_EGREP_CPP(__gnu_pth__, [#include #ifdef _POSIX_THREAD_IS_GNU_PTH __gnu_pth__; #endif ], [ol_cv_header_gnu_pth_pthread_h=yes], [ol_cv_header_gnu_pth_pthread_h=no]) ]) ]) m4trace:m4/openldap.m4:727: -1- AC_DEFUN([OL_NT_THREADS], [ AC_CHECK_FUNC(_beginthread) if test $ac_cv_func__beginthread = yes ; then AC_DEFINE([HAVE_NT_THREADS], [1], [if you have NT Threads]) ol_cv_nt_threads=yes fi ]) m4trace:m4/openldap.m4:743: -1- AC_DEFUN([OL_HEADER_LINUX_THREADS], [ AC_CACHE_CHECK([for LinuxThreads pthread.h], [ol_cv_header_linux_threads], [AC_EGREP_CPP(pthread_kill_other_threads_np, [#include ], [ol_cv_header_linux_threads=yes], [ol_cv_header_linux_threads=no]) ]) if test $ol_cv_header_linux_threads = yes; then AC_DEFINE([HAVE_LINUX_THREADS], [1], [if you have LinuxThreads]) fi ]) m4trace:m4/openldap.m4:761: -1- AC_DEFUN([OL_SYS_LINUX_THREADS], [ AC_CHECK_FUNCS(pthread_kill_other_threads_np) AC_CACHE_CHECK([for LinuxThreads implementation], [ol_cv_sys_linux_threads], [ol_cv_sys_linux_threads=$ac_cv_func_pthread_kill_other_threads_np]) ]) m4trace:m4/openldap.m4:770: -1- AC_DEFUN([OL_LINUX_THREADS], [ AC_REQUIRE([OL_HEADER_LINUX_THREADS]) AC_REQUIRE([OL_SYS_LINUX_THREADS]) AC_CACHE_CHECK([for LinuxThreads consistency], [ol_cv_linux_threads], [ if test $ol_cv_header_linux_threads = yes && test $ol_cv_sys_linux_threads = yes; then ol_cv_linux_threads=yes elif test $ol_cv_header_linux_threads = no && test $ol_cv_sys_linux_threads = no; then ol_cv_linux_threads=no else ol_cv_linux_threads=error fi ]) ]) m4trace:m4/openldap.m4:788: -1- AC_DEFUN([OL_POSIX_REGEX], [ AC_CACHE_CHECK([for compatible POSIX regex],ol_cv_c_posix_regex,[ AC_RUN_IFELSE([AC_LANG_SOURCE([[ #include #include static char *pattern, *string; main() { int rc; regex_t re; pattern = "^A"; if(regcomp(&re, pattern, 0)) { return -1; } string = "ALL MATCH"; rc = regexec(&re, string, 0, (void*)0, 0); regfree(&re); return rc; }]])],[ol_cv_c_posix_regex=yes],[ol_cv_c_posix_regex=no],[ol_cv_c_posix_regex=cross])]) ]) m4trace:m4/openldap.m4:817: -1- AC_DEFUN([OL_C_UPPER_LOWER], [AC_CACHE_CHECK([if toupper() requires islower()],ol_cv_c_upper_lower,[ AC_RUN_IFELSE([AC_LANG_SOURCE([[ #include main() { if ('C' == toupper('C')) exit(0); else exit(1); }]])],[ol_cv_c_upper_lower=no],[ol_cv_c_upper_lower=yes],[ol_cv_c_upper_lower=safe])]) if test $ol_cv_c_upper_lower != no ; then AC_DEFINE([C_UPPER_LOWER], [1], [define if toupper() requires islower()]) fi ]) m4trace:m4/openldap.m4:839: -1- AC_DEFUN([OL_SYS_ERRLIST], [AC_CACHE_CHECK([declaration of sys_errlist],ol_cv_dcl_sys_errlist,[ AC_COMPILE_IFELSE([AC_LANG_PROGRAM([[ #include #include #include #ifdef _WIN32 #include #endif ]], [[char *c = (char *) *sys_errlist]])],[ol_cv_dcl_sys_errlist=yes ol_cv_have_sys_errlist=yes],[ol_cv_dcl_sys_errlist=no])]) # # It's possible (for near-UNIX clones) that sys_errlist doesn't exist if test $ol_cv_dcl_sys_errlist = no ; then AC_DEFINE([DECL_SYS_ERRLIST], [1], [define if sys_errlist is not declared in stdio.h or errno.h]) AC_CACHE_CHECK([existence of sys_errlist],ol_cv_have_sys_errlist,[ AC_LINK_IFELSE([AC_LANG_PROGRAM([[#include ]], [[char *c = (char *) *sys_errlist]])],[ol_cv_have_sys_errlist=yes],[ol_cv_have_sys_errlist=no])]) fi if test $ol_cv_have_sys_errlist = yes ; then AC_DEFINE([HAVE_SYS_ERRLIST], [1], [define if you actually have sys_errlist in your libs]) fi ]) m4trace:m4/openldap.m4:863: -1- AC_DEFUN([OL_NONPOSIX_STRERROR_R], [AC_CACHE_CHECK([non-posix strerror_r],ol_cv_nonposix_strerror_r,[ AC_EGREP_CPP(strerror_r,[#include ], ol_decl_strerror_r=yes, ol_decl_strerror_r=no)dnl if test $ol_decl_strerror_r = yes ; then AC_COMPILE_IFELSE([AC_LANG_PROGRAM([[#include ]], [[ /* from autoconf 2.59 */ char buf[100]; char x = *strerror_r (0, buf, sizeof buf); char *p = strerror_r (0, buf, sizeof buf); ]])],[ol_cv_nonposix_strerror_r=yes],[ol_cv_nonposix_strerror_r=no]) else AC_RUN_IFELSE([AC_LANG_SOURCE([[ main() { char buf[100]; buf[0] = 0; strerror_r( 1, buf, sizeof buf ); exit( buf[0] == 0 ); } ]])],[ol_cv_nonposix_strerror_r=yes],[ol_cv_nonposix_strerror=no],[ol_cv_nonposix_strerror=no]) fi ]) if test $ol_cv_nonposix_strerror_r = yes ; then AC_DEFINE([HAVE_NONPOSIX_STRERROR_R], [1], [define if strerror_r returns char* instead of int]) fi ]) m4trace:m4/openldap.m4:891: -1- AC_DEFUN([OL_STRERROR], [OL_SYS_ERRLIST dnl TEMPORARY AC_CHECK_FUNCS(strerror strerror_r) ol_cv_func_strerror_r=no if test "${ac_cv_func_strerror_r}" = yes ; then OL_NONPOSIX_STRERROR_R elif test "${ac_cv_func_strerror}" = no ; then OL_SYS_ERRLIST fi ]) m4trace:m4/openldap.m4:905: -1- AC_DEFUN([OL_C_VOLATILE], [AC_CACHE_CHECK(if compiler understands volatile, ol_cv_c_volatile, [AC_COMPILE_IFELSE([AC_LANG_PROGRAM([[int x, y, z;]], [[volatile int a; int * volatile b = x ? &y : &z; /* Older MIPS compilers (eg., in Ultrix 4.2) don't like *b = 0 */ *b = 0;]])],[ol_cv_c_volatile=yes],[ol_cv_c_volatile=no])]) if test $ol_cv_c_volatile = yes; then : else AC_DEFINE([volatile], [], [define as empty if volatile is not supported]) fi ]) m4trace:m4/openldap.m4:919: -1- AC_DEFUN([OL_LIB_FETCH], [ol_LIBS=$LIBS LIBS="-lfetch -lcom_err $LIBS" AC_CACHE_CHECK([fetch(3) library],ol_cv_lib_fetch,[ AC_LINK_IFELSE([AC_LANG_PROGRAM([[ #ifdef HAVE_SYS_PARAM_H #include #endif #include #include ]], [[struct url *u = fetchParseURL("file:///"); ]])],[ol_cv_lib_fetch=yes],[ol_cv_lib_fetch=no])]) LIBS=$ol_LIBS if test $ol_cv_lib_fetch != no ; then ol_link_fetch="-lfetch -lcom_err" AC_DEFINE([HAVE_FETCH], [1], [define if you actually have FreeBSD fetch(3)]) fi ]) m4trace:m4/openldap.m4:939: -1- AC_DEFUN([OL_FUNC_INET_ATON], [AC_CACHE_CHECK([for inet_aton()], ol_cv_func_inet_aton, [AC_LINK_IFELSE([AC_LANG_PROGRAM([[ #ifdef HAVE_SYS_TYPES_H # include #endif #ifdef HAVE_SYS_SOCKET_H # include # ifdef HAVE_SYS_SELECT_H # include # endif # include # ifdef HAVE_ARPA_INET_H # include # endif #endif ]], [[struct in_addr in; int rc = inet_aton( "255.255.255.255", &in );]])],[ol_cv_func_inet_aton=yes],[ol_cv_func_inet_aton=no])]) if test $ol_cv_func_inet_aton != no; then AC_DEFINE(HAVE_INET_ATON, 1, [define to you inet_aton(3) is available]) fi ]) m4trace:m4/openldap.m4:965: -1- AC_DEFUN([OL_FUNC_CTIME_R_NARGS], [AC_CACHE_CHECK(number of arguments of ctime_r, ol_cv_func_ctime_r_nargs, [AC_COMPILE_IFELSE([AC_LANG_PROGRAM([[#include ]], [[time_t ti; char *buffer; ctime_r(&ti,buffer,32);]])],[ol_cv_func_ctime_r_nargs3=yes],[ol_cv_func_ctime_r_nargs3=no]) AC_COMPILE_IFELSE([AC_LANG_PROGRAM([[#include ]], [[time_t ti; char *buffer; ctime_r(&ti,buffer);]])],[ol_cv_func_ctime_r_nargs2=yes],[ol_cv_func_ctime_r_nargs2=no]) if test $ol_cv_func_ctime_r_nargs3 = yes && test $ol_cv_func_ctime_r_nargs2 = no ; then ol_cv_func_ctime_r_nargs=3 elif test $ol_cv_func_ctime_r_nargs3 = no && test $ol_cv_func_ctime_r_nargs2 = yes ; then ol_cv_func_ctime_r_nargs=2 else ol_cv_func_ctime_r_nargs=0 fi ]) if test $ol_cv_func_ctime_r_nargs -gt 1 ; then AC_DEFINE_UNQUOTED(CTIME_R_NARGS, $ol_cv_func_ctime_r_nargs, [set to the number of arguments ctime_r() expects]) fi ]) m4trace:m4/openldap.m4:994: -1- AC_DEFUN([OL_FUNC_CTIME_R_TYPE], [AC_CACHE_CHECK(return type of ctime_r, ol_cv_func_ctime_r_type, [AC_COMPILE_IFELSE([AC_LANG_PROGRAM([[#include ]], [[extern int (ctime_r)();]])],[ol_cv_func_ctime_r_type="int"],[ol_cv_func_ctime_r_type="charp"]) ]) if test $ol_cv_func_ctime_r_type = "int" ; then AC_DEFINE(CTIME_R_RETURNS_INT,1, [define if ctime_r() returns int]) fi ]) m4trace:m4/openldap.m4:1004: -1- AC_DEFUN([OL_FUNC_GETHOSTBYNAME_R_NARGS], [AC_CACHE_CHECK(number of arguments of gethostbyname_r, ol_cv_func_gethostbyname_r_nargs, [AC_COMPILE_IFELSE([AC_LANG_PROGRAM([[#include #include #include #include #define BUFSIZE (sizeof(struct hostent)+10)]], [[struct hostent hent; char buffer[BUFSIZE]; int bufsize=BUFSIZE;int h_errno; (void)gethostbyname_r("segovia.cs.purdue.edu", &hent, buffer, bufsize, &h_errno);]])],[ol_cv_func_gethostbyname_r_nargs5=yes],[ol_cv_func_gethostbyname_r_nargs5=no]) AC_COMPILE_IFELSE([AC_LANG_PROGRAM([[#include #include #include #include #define BUFSIZE (sizeof(struct hostent)+10)]], [[struct hostent hent;struct hostent *rhent; char buffer[BUFSIZE]; int bufsize=BUFSIZE;int h_errno; (void)gethostbyname_r("localhost", &hent, buffer, bufsize, &rhent, &h_errno);]])],[ol_cv_func_gethostbyname_r_nargs6=yes],[ol_cv_func_gethostbyname_r_nargs6=no]) if test $ol_cv_func_gethostbyname_r_nargs5 = yes && test $ol_cv_func_gethostbyname_r_nargs6 = no ; then ol_cv_func_gethostbyname_r_nargs=5 elif test $ol_cv_func_gethostbyname_r_nargs5 = no && test $ol_cv_func_gethostbyname_r_nargs6 = yes ; then ol_cv_func_gethostbyname_r_nargs=6 else ol_cv_func_gethostbyname_r_nargs=0 fi ]) if test $ol_cv_func_gethostbyname_r_nargs -gt 1 ; then AC_DEFINE_UNQUOTED(GETHOSTBYNAME_R_NARGS, $ol_cv_func_gethostbyname_r_nargs, [set to the number of arguments gethostbyname_r() expects]) fi ]) m4trace:m4/openldap.m4:1048: -1- AC_DEFUN([OL_FUNC_GETHOSTBYADDR_R_NARGS], [AC_CACHE_CHECK(number of arguments of gethostbyaddr_r, [ol_cv_func_gethostbyaddr_r_nargs], [AC_COMPILE_IFELSE([AC_LANG_PROGRAM([[#include #include #include #include #define BUFSIZE (sizeof(struct hostent)+10)]], [[struct hostent hent; char buffer[BUFSIZE]; struct in_addr add; size_t alen=sizeof(struct in_addr); int bufsize=BUFSIZE;int h_errno; (void)gethostbyaddr_r( (void *)&(add.s_addr), alen, AF_INET, &hent, buffer, bufsize, &h_errno);]])],[ol_cv_func_gethostbyaddr_r_nargs7=yes],[ol_cv_func_gethostbyaddr_r_nargs7=no]) AC_COMPILE_IFELSE([AC_LANG_PROGRAM([[#include #include #include #include #define BUFSIZE (sizeof(struct hostent)+10)]], [[struct hostent hent; struct hostent *rhent; char buffer[BUFSIZE]; struct in_addr add; size_t alen=sizeof(struct in_addr); int bufsize=BUFSIZE;int h_errno; (void)gethostbyaddr_r( (void *)&(add.s_addr), alen, AF_INET, &hent, buffer, bufsize, &rhent, &h_errno);]])],[ol_cv_func_gethostbyaddr_r_nargs8=yes],[ol_cv_func_gethostbyaddr_r_nargs8=no]) if test $ol_cv_func_gethostbyaddr_r_nargs7 = yes && test $ol_cv_func_gethostbyaddr_r_nargs8 = no ; then ol_cv_func_gethostbyaddr_r_nargs=7 elif test $ol_cv_func_gethostbyaddr_r_nargs7 = no && test $ol_cv_func_gethostbyaddr_r_nargs8 = yes ; then ol_cv_func_gethostbyaddr_r_nargs=8 else ol_cv_func_gethostbyaddr_r_nargs=0 fi ]) if test $ol_cv_func_gethostbyaddr_r_nargs -gt 1 ; then AC_DEFINE_UNQUOTED(GETHOSTBYADDR_R_NARGS, $ol_cv_func_gethostbyaddr_r_nargs, [set to the number of arguments gethostbyaddr_r() expects]) fi ]) m4trace:m4/openldap.m4:1098: -1- AC_DEFUN([OL_SASL_COMPAT], [AC_CACHE_CHECK([Cyrus SASL library version], [ol_cv_sasl_compat],[ AC_EGREP_CPP(__sasl_compat,[ #ifdef HAVE_SASL_SASL_H #include #else #include #endif /* Require 2.1.15+ */ #if SASL_VERSION_MAJOR == 2 && SASL_VERSION_MINOR > 1 char *__sasl_compat = "2.2+ or better okay (we guess)"; #elif SASL_VERSION_MAJOR == 2 && SASL_VERSION_MINOR == 1 \ && SASL_VERSION_STEP >=15 char *__sasl_compat = "2.1.15+ or better okay"; #endif ], [ol_cv_sasl_compat=yes], [ol_cv_sasl_compat=no])]) ]) m4trace:m4/openldap.m4:1118: -1- AC_DEFUN([OL_SSL_COMPAT], [AC_CACHE_CHECK([OpenSSL library version (CRL checking capability)], [ol_cv_ssl_crl_compat],[ AC_EGREP_CPP(__ssl_compat,[ #ifdef HAVE_OPENSSL_SSL_H #include #endif /* Require 0.9.7d+ */ #if OPENSSL_VERSION_NUMBER >= 0x0090704fL char *__ssl_compat = "0.9.7d"; #endif ], [ol_cv_ssl_crl_compat=yes], [ol_cv_ssl_crl_compat=no])]) ]) m4trace:m4/os_cflags.m4:3: -1- AC_DEFUN([NTP_OS_CFLAGS], [ AC_MSG_CHECKING([additional compiler flags]) # allow ntp_os_cflags to be preset to skip this stuff case "${ntp_os_cflags+set}" in set) ;; *) ntp_os_cflags= case "$host_os" in aix[[1-3]]*) ;; aix4.[[0-2]]*) # turn on additional headers ntp_os_cflags="-D_XOPEN_EXTENDED_SOURCE" ;; aix5.3*) # avoid circular dependencies in yp headers, and more ntp_os_cflags="-DHAVE_BAD_HEADERS -D_XOPEN_EXTENDED_SOURCE" ntp_os_cflags="${ntp_os_cflags} -D_USE_IRS -D_MSGQSUPPORT" ;; aix*) # XXX Only verified thru AIX6. # aix7 seems to need a different XOPEN_SOURCE_EXTENDED thing. # avoid circular dependencies in yp headers # _XOPEN_SOURCE=500 = X/Open 5: POSIX 1995 # _XOPEN_SOURCE=600 = X/Open 6: POSIX 2004 # _XOPEN_SOURCE=700 = X/Open 7: POSIX 2008 ntp_os_cflags="-DHAVE_BAD_HEADERS -D_XOPEN_SOURCE=600" ntp_os_cflags="${ntp_os_cflags} -D_USE_IRS" ;; amigaos) ntp_os_cflags="-DSYS_AMIGA" ;; darwin*|macosx*|rhapsody*) ntp_os_cflags="-D_P1003_1B_VISIBLE" ;; hpux10.*) # at least for hppa2.0-hp-hpux10.20 case "$GCC" in yes) ;; *) # use Ansi compiler on HPUX, and some -Wp magic ntp_os_cflags="-Ae -Wp,-H18816" ;; esac ntp_os_cflags="${ntp_os_cflags} -D_HPUX_SOURCE -D__STDC_VERSION__=199901L" ;; hpux*) case "$GCC" in yes) ;; *) # use Ansi compiler on HPUX ntp_os_cflags="-Ae" esac ntp_os_cflags="${ntp_os_cflags} -D_HPUX_SOURCE -D__STDC_VERSION__=199901L" ;; irix6*) case "$CC" in cc) # do not use 64-bit compiler ntp_os_cflags="-n32 -mips3 -Wl,-woff,84" esac ;; nextstep3) ntp_os_cflags="-posix" ;; solaris1*|solaris2.[[0-5]]|solaris2.5.*) ;; sunos[[34]]*|sunos5.[[0-5]]|sunos5.5.*) ;; solaris2*|sunos5*) # turn on 64-bit file offset interface ntp_os_cflags="-D_LARGEFILE64_SOURCE" ;; vxworks*) case "$build" in $host) ;; *) # Quick and dirty sanity check case "$VX_KERNEL" in '') AC_MSG_ERROR([See html/build/hints/vxworks.html]) esac ntp_os_cflags="-DSYS_VXWORKS" esac ;; esac esac case "$ntp_os_cflags" in '') ntp_os_cflags_msg="none needed" ;; *) ntp_os_cflags_msg="$ntp_os_cflags" esac CFLAGS_NTP="$CFLAGS_NTP $ntp_os_cflags" AC_MSG_RESULT([$ntp_os_cflags_msg]) AS_UNSET([ntp_os_cflags_msg]) ### AC_MSG_CHECKING([additional linker flags]) # HMS: The following might still need tweaking # allow ntp_os_ldflags to be preset to skip this stuff case "${ntp_os_ldflags+set}" in set) ;; *) ntp_os_ldflags= case "$host_os" in hpux*) case "$GCC" in yes) ntp_os_ldflags="-Wl,+allowdups" ;; esac ;; esac ;; esac case "$ntp_os_ldflags" in '') ntp_os_ldflags_msg="none needed" ;; *) ntp_os_ldflags_msg="$ntp_os_ldflags" esac LDFLAGS_NTP="$LDFLAGS_NTP $ntp_os_ldflags" AC_MSG_RESULT([$ntp_os_ldflags_msg]) AS_UNSET([ntp_os_ldflags_msg]) ]) m4trace:m4/snprintf.m4:31: -1- AC_DEFUN([HW_HEADER_STDARG_H], [ AC_PREREQ([2.60])dnl Older releases should work if AC_CHECK_HEADERS is used. AC_CHECK_HEADERS_ONCE([stdarg.h]) ]) m4trace:m4/snprintf.m4:40: -1- AC_DEFUN([HW_HEADER_VARARGS_H], [ AC_PREREQ([2.60])dnl Older releases should work if AC_CHECK_HEADERS is used. AC_CHECK_HEADERS_ONCE([varargs.h]) ]) m4trace:m4/snprintf.m4:53: -1- AC_DEFUN([HW_FUNC_VA_COPY], [ AC_REQUIRE([HW_HEADER_STDARG_H])dnl Our check evaluates HAVE_STDARG_H. AC_REQUIRE([HW_HEADER_VARARGS_H])dnl Our check evaluates HAVE_VARARGS_H. AC_CACHE_CHECK([for va_copy], [hw_cv_func_va_copy], [AC_RUN_IFELSE( [AC_LANG_PROGRAM( [[#if HAVE_STDARG_H #include #elif HAVE_VARARGS_H #include #endif]], [[va_list ap, aq; va_copy(aq, ap);]])], [hw_cv_func_va_copy=yes], [hw_cv_func_va_copy=no], [hw_cv_func_va_copy=no])]) AS_IF([test "$hw_cv_func_va_copy" = yes], [AC_DEFINE([HAVE_VA_COPY], [1], [Define to 1 if you have the `va_copy' function or macro.])]) ]) m4trace:m4/snprintf.m4:79: -1- AC_DEFUN([HW_FUNC___VA_COPY], [ AC_REQUIRE([HW_HEADER_STDARG_H])dnl Our check evaluates HAVE_STDARG_H. AC_REQUIRE([HW_HEADER_VARARGS_H])dnl Our check evaluates HAVE_VARARGS_H. AC_CACHE_CHECK([for __va_copy], [hw_cv_func___va_copy], [AC_RUN_IFELSE( [AC_LANG_PROGRAM( [[#if HAVE_STDARG_H #include #elif HAVE_VARARGS_H #include #endif]], [[va_list ap, aq; __va_copy(aq, ap);]])], [hw_cv_func___va_copy=yes], [hw_cv_func___va_copy=no], [hw_cv_func___va_copy=no])]) AS_IF([test "$hw_cv_func___va_copy" = yes], [AC_DEFINE([HAVE___VA_COPY], [1], [Define to 1 if you have the `__va_copy' function or macro.])]) ]) m4trace:m4/snprintf.m4:107: -1- AC_DEFUN([HW_FUNC_VSNPRINTF], [ AC_PREREQ([2.60])dnl 2.59 should work if some AC_TYPE_* macros are replaced. AC_REQUIRE([HW_HEADER_STDARG_H])dnl Our check evaluates HAVE_STDARG_H. AC_CHECK_FUNC([vsnprintf], [hw_cv_func_vsnprintf=yes], [hw_cv_func_vsnprintf=no]) AS_IF([test "$hw_cv_func_vsnprintf" = yes], [AC_CACHE_CHECK([whether vsnprintf is C99 compliant], [hw_cv_func_vsnprintf_c99], [AC_RUN_IFELSE( [AC_LANG_PROGRAM( [[#if HAVE_STDARG_H #include #endif #include static int testprintf(char *buf, size_t size, const char *format, ...) { int result; va_list ap; va_start(ap, format); result = vsnprintf(buf, size, format, ap); va_end(ap); return result; }]], [[char buf[43]; if (testprintf(buf, 4, "The answer is %27.2g.", 42.0) != 42 || testprintf(buf, 0, "No, it's %32zu.", (size_t)42) != 42 || buf[0] != 'T' || buf[3] != '\0') return 1;]])], [hw_cv_func_vsnprintf_c99=yes], [hw_cv_func_vsnprintf_c99=no], [hw_cv_func_vsnprintf_c99=no])])], [hw_cv_func_vsnprintf_c99=no]) AC_DEFINE([HAVE_VSNPRINTF], [1], [Define if C99-compliant `vsnprintf' is available.]) AC_MSG_CHECKING([if C99-snprintf replacement vsnprintf will be used]) AS_IF([test "${hw_force_rpl_vsnprintf=no}" = yes -o "$hw_cv_func_vsnprintf_c99" = no], [hw_use_rpl_vsnprintf=yes], [hw_use_rpl_vsnprintf=no]) AC_MSG_RESULT([$hw_use_rpl_vsnprintf]) AS_IF([test "$hw_use_rpl_vsnprintf" = yes], [AC_DEFINE([HW_WANT_RPL_VSNPRINTF], [1], [Define to provide `rpl_vsnprintf' function.]) AS_IF([test ${hw_nodef_vsnprintf=no} = no], [AC_DEFINE([vsnprintf], [rpl_vsnprintf], [Define to rpl_vsnprintf if the replacement function should be used.])]) AC_CHECK_HEADERS([inttypes.h locale.h stddef.h stdint.h]) AC_CHECK_MEMBERS([struct lconv.decimal_point, struct lconv.thousands_sep], [], [], [#include ]) AC_TYPE_LONG_DOUBLE AC_TYPE_LONG_LONG_INT AC_TYPE_UNSIGNED_LONG_LONG_INT AC_TYPE_SIZE_T AC_TYPE_INTMAX_T AC_TYPE_UINTMAX_T AC_TYPE_UINTPTR_T AC_CHECK_TYPES([ptrdiff_t]) AC_CHECK_FUNCS([localeconv]) _HW_FUNC_XPRINTF_REPLACE]) ]) m4trace:m4/snprintf.m4:177: -1- AC_DEFUN([HW_FUNC_SNPRINTF], [ AC_REQUIRE([HW_FUNC_VSNPRINTF])dnl Our snprintf(3) calls vsnprintf(3). AC_CHECK_FUNC([snprintf], [hw_cv_func_snprintf=yes], [hw_cv_func_snprintf=no]) AS_IF([test "$hw_cv_func_snprintf" = yes], [AC_CACHE_CHECK([whether snprintf is C99 compliant], [hw_cv_func_snprintf_c99], [AC_RUN_IFELSE( [AC_LANG_PROGRAM([[#include ]], [[char buf[43]; if (snprintf(buf, 4, "The answer is %27.2g.", 42.0) != 42 || snprintf(buf, 0, "No, it's %32zu.", (size_t)42) != 42 || buf[0] != 'T' || buf[3] != '\0') return 1;]])], [hw_cv_func_snprintf_c99=yes], [hw_cv_func_snprintf_c99=no], [hw_cv_func_snprintf_c99=no])])], [hw_cv_func_snprintf_c99=no]) AC_DEFINE([HAVE_SNPRINTF], [1], [Define if C99-compliant `snprintf' is available.]) AC_MSG_CHECKING([if C99-snprintf replacement snprintf will be used]) AS_IF([test "${hw_force_rpl_snprintf=no}" = yes -o "$hw_cv_func_snprintf_c99" = no], [hw_use_rpl_snprintf=yes], [hw_use_rpl_snprintf=no]) AC_MSG_RESULT([$hw_use_rpl_snprintf]) AS_IF([test "$hw_use_rpl_snprintf" = yes], [AC_DEFINE([HW_WANT_RPL_SNPRINTF], [1], [Define to provide `rpl_snprintf' function.]) AS_IF([test ${hw_nodef_snprintf=no} = no], [AC_DEFINE([snprintf], [rpl_snprintf], [Define to rpl_snprintf if the replacement function should be used.])]) _HW_FUNC_XPRINTF_REPLACE]) ]) m4trace:m4/snprintf.m4:220: -1- AC_DEFUN([HW_FUNC_VASPRINTF], [ AC_REQUIRE([HW_FUNC_VSNPRINTF])dnl Our vasprintf(3) calls vsnprintf(3). AC_CHECK_FUNCS([vasprintf], [hw_cv_func_vasprintf=yes], [hw_cv_func_vasprintf=no]) AC_DEFINE([HAVE_VASPRINTF], [1], [Define if `vasprintf' is available.]) AC_MSG_CHECKING([if C99-snprintf replacement vasprintf will be used]) AS_IF([test "${hw_force_rpl_vasprintf=no}" = yes -o "$hw_cv_func_vasprintf" = no], [hw_use_rpl_vasprintf=yes], [hw_use_rpl_vasprintf=no]) AC_MSG_RESULT([$hw_use_rpl_vasprintf]) AS_IF([test "$hw_use_rpl_vasprintf" = yes], [AC_DEFINE([HW_WANT_RPL_VASPRINTF], [1], [Define to provide `rpl_vasprintf' function.]) AS_IF([test ${hw_nodef_vasprintf=no} = no], [AC_DEFINE([vasprintf], [rpl_vasprintf], [Define to rpl_vasprintf if the replacement function should be used.])]) AC_CHECK_HEADERS([stdlib.h]) HW_FUNC_VA_COPY AS_IF([test "$hw_cv_func_va_copy" = no], [HW_FUNC___VA_COPY]) _HW_FUNC_XPRINTF_REPLACE]) ]) m4trace:m4/snprintf.m4:253: -1- AC_DEFUN([HW_FUNC_ASPRINTF], [ AC_REQUIRE([HW_FUNC_VASPRINTF])dnl Our asprintf(3) calls vasprintf(3). AC_CHECK_FUNCS([asprintf], [hw_cv_func_asprintf=yes], [hw_cv_func_asprintf=no]) AC_DEFINE([HAVE_ASPRINTF], [1], [Define if `asprintf' is available.]) AC_MSG_CHECKING([if C99-snprintf replacement asprintf will be used]) AS_IF([test "${hw_force_rpl_asprintf=no}" = yes -o "$hw_cv_func_asprintf" = no], [hw_use_rpl_asprintf=yes], [hw_use_rpl_asprintf=no]) AC_MSG_RESULT([$hw_use_rpl_asprintf]) AS_IF([test "$hw_use_rpl_asprintf" = yes], [AC_DEFINE([HW_WANT_RPL_ASPRINTF], [1], [Define to provide `rpl_asprintf' function.]) AS_IF([test ${hw_nodef_asprintf=no} = no], [AC_DEFINE([asprintf], [rpl_asprintf], [Define to rpl_asprintf if the replacement function should be used.])]) _HW_FUNC_XPRINTF_REPLACE]) ]) m4trace:m4/snprintf.m4:279: -1- AC_DEFUN([_HW_FUNC_XPRINTF_REPLACE], [ AS_IF([test "x$_hw_cv_func_xprintf_replace_done" != xyes], [AC_C_CONST HW_HEADER_STDARG_H AC_LIBOBJ([snprintf]) _hw_cv_func_xprintf_replace_done=yes]) ]) m4trace:m4/sntp_problemtests.m4:10: -1- AC_DEFUN([SNTP_PROBLEM_TESTS], [ case "$build" in $host) cross=0 ;; *) cross=1 ;; esac AC_MSG_CHECKING([if we want to enable tests with undiagnosed problems]) AC_ARG_ENABLE( [problem-tests], [AS_HELP_STRING( [--enable-problem-tests], [+ enable tests with undiagnosed problems] )], [sntp_ept=$enableval], [sntp_ept=yes] ) AC_MSG_RESULT([$sntp_ept]) AC_MSG_CHECKING([if we can run test-kodDatabase]) sntp_test_kodDatabase="no" case "$sntp_ept:$cross:$host" in no:0:*-apple-darwin12.6.0) ;; *) sntp_test_kodDatabase="yes" ;; esac AC_MSG_RESULT([$sntp_test_kodDatabase]) AM_CONDITIONAL([BUILD_TEST_KODDATABASE], [test x$sntp_test_kodDatabase = xyes]) AC_MSG_CHECKING([if we can run test-kodFile]) sntp_test_kodFile="no" case "$sntp_ept:$cross:$host" in no:0:*-apple-darwin12.6.0) ;; *) sntp_test_kodFile="yes" ;; esac AC_MSG_RESULT([$sntp_test_kodFile]) AM_CONDITIONAL([BUILD_TEST_KODFILE], [test x$sntp_test_kodFile = xyes]) ]) m4trace:configure.ac:3: -1- m4_include([m4/version.m4]) m4trace:configure.ac:5: -1- m4_pattern_forbid([^_?A[CHUM]_]) m4trace:configure.ac:5: -1- m4_pattern_forbid([_AC_]) m4trace:configure.ac:5: -1- m4_pattern_forbid([^LIBOBJS$], [do not use LIBOBJS directly, use AC_LIBOBJ (see section `AC_LIBOBJ vs LIBOBJS']) m4trace:configure.ac:5: -1- m4_pattern_allow([^AS_FLAGS$]) m4trace:configure.ac:5: -1- m4_pattern_forbid([^_?m4_]) m4trace:configure.ac:5: -1- m4_pattern_forbid([^dnl$]) m4trace:configure.ac:5: -1- m4_pattern_forbid([^_?AS_]) m4trace:configure.ac:5: -1- m4_pattern_allow([^SHELL$]) m4trace:configure.ac:5: -1- m4_pattern_allow([^PATH_SEPARATOR$]) m4trace:configure.ac:5: -1- m4_pattern_allow([^PACKAGE_NAME$]) m4trace:configure.ac:5: -1- m4_pattern_allow([^PACKAGE_TARNAME$]) m4trace:configure.ac:5: -1- m4_pattern_allow([^PACKAGE_VERSION$]) m4trace:configure.ac:5: -1- m4_pattern_allow([^PACKAGE_STRING$]) m4trace:configure.ac:5: -1- m4_pattern_allow([^PACKAGE_BUGREPORT$]) m4trace:configure.ac:5: -1- m4_pattern_allow([^PACKAGE_URL$]) m4trace:configure.ac:5: -1- m4_pattern_allow([^exec_prefix$]) m4trace:configure.ac:5: -1- m4_pattern_allow([^prefix$]) m4trace:configure.ac:5: -1- m4_pattern_allow([^program_transform_name$]) m4trace:configure.ac:5: -1- m4_pattern_allow([^bindir$]) m4trace:configure.ac:5: -1- m4_pattern_allow([^sbindir$]) m4trace:configure.ac:5: -1- m4_pattern_allow([^libexecdir$]) m4trace:configure.ac:5: -1- m4_pattern_allow([^datarootdir$]) m4trace:configure.ac:5: -1- m4_pattern_allow([^datadir$]) m4trace:configure.ac:5: -1- m4_pattern_allow([^sysconfdir$]) m4trace:configure.ac:5: -1- m4_pattern_allow([^sharedstatedir$]) m4trace:configure.ac:5: -1- m4_pattern_allow([^localstatedir$]) m4trace:configure.ac:5: -1- m4_pattern_allow([^runstatedir$]) m4trace:configure.ac:5: -1- m4_pattern_allow([^includedir$]) m4trace:configure.ac:5: -1- m4_pattern_allow([^oldincludedir$]) m4trace:configure.ac:5: -1- m4_pattern_allow([^docdir$]) m4trace:configure.ac:5: -1- m4_pattern_allow([^infodir$]) m4trace:configure.ac:5: -1- m4_pattern_allow([^htmldir$]) m4trace:configure.ac:5: -1- m4_pattern_allow([^dvidir$]) m4trace:configure.ac:5: -1- m4_pattern_allow([^pdfdir$]) m4trace:configure.ac:5: -1- m4_pattern_allow([^psdir$]) m4trace:configure.ac:5: -1- m4_pattern_allow([^libdir$]) m4trace:configure.ac:5: -1- m4_pattern_allow([^localedir$]) m4trace:configure.ac:5: -1- m4_pattern_allow([^mandir$]) m4trace:configure.ac:5: -1- m4_pattern_allow([^PACKAGE_NAME$]) m4trace:configure.ac:5: -1- m4_pattern_allow([^PACKAGE_TARNAME$]) m4trace:configure.ac:5: -1- m4_pattern_allow([^PACKAGE_VERSION$]) m4trace:configure.ac:5: -1- m4_pattern_allow([^PACKAGE_STRING$]) m4trace:configure.ac:5: -1- m4_pattern_allow([^PACKAGE_BUGREPORT$]) m4trace:configure.ac:5: -1- m4_pattern_allow([^PACKAGE_URL$]) m4trace:configure.ac:5: -1- m4_pattern_allow([^DEFS$]) m4trace:configure.ac:5: -1- m4_pattern_allow([^ECHO_C$]) m4trace:configure.ac:5: -1- m4_pattern_allow([^ECHO_N$]) m4trace:configure.ac:5: -1- m4_pattern_allow([^ECHO_T$]) m4trace:configure.ac:5: -1- m4_pattern_allow([^LIBS$]) m4trace:configure.ac:5: -1- m4_pattern_allow([^build_alias$]) m4trace:configure.ac:5: -1- m4_pattern_allow([^host_alias$]) m4trace:configure.ac:5: -1- m4_pattern_allow([^target_alias$]) m4trace:configure.ac:12: -1- AC_CONFIG_MACRO_DIR([m4]) m4trace:configure.ac:12: -1- AC_CONFIG_MACRO_DIR_TRACE([m4]) m4trace:configure.ac:41: -1- NTP_CACHEVERSION([sntp], [$sntp_configure_cache_version]) m4trace:configure.ac:43: -1- AM_INIT_AUTOMAKE([1.15 foreign -Wall -Wno-gnu]) m4trace:configure.ac:43: -1- m4_pattern_allow([^AM_[A-Z]+FLAGS$]) m4trace:configure.ac:43: -1- AM_SET_CURRENT_AUTOMAKE_VERSION m4trace:configure.ac:43: -1- AM_AUTOMAKE_VERSION([1.16.5]) m4trace:configure.ac:43: -1- _AM_AUTOCONF_VERSION([2.71]) m4trace:configure.ac:43: -1- m4_pattern_allow([^INSTALL_PROGRAM$]) m4trace:configure.ac:43: -1- m4_pattern_allow([^INSTALL_SCRIPT$]) m4trace:configure.ac:43: -1- m4_pattern_allow([^INSTALL_DATA$]) m4trace:configure.ac:43: -1- m4_pattern_allow([^am__isrc$]) m4trace:configure.ac:43: -1- _AM_SUBST_NOTMAKE([am__isrc]) m4trace:configure.ac:43: -1- m4_pattern_allow([^CYGPATH_W$]) m4trace:configure.ac:43: -1- _AM_SET_OPTIONS([1.15 foreign -Wall -Wno-gnu]) m4trace:configure.ac:43: -1- _AM_SET_OPTION([1.15]) m4trace:configure.ac:43: -2- _AM_MANGLE_OPTION([1.15]) m4trace:configure.ac:43: -1- _AM_SET_OPTION([foreign]) m4trace:configure.ac:43: -2- _AM_MANGLE_OPTION([foreign]) m4trace:configure.ac:43: -1- _AM_SET_OPTION([-Wall]) m4trace:configure.ac:43: -2- _AM_MANGLE_OPTION([-Wall]) m4trace:configure.ac:43: -1- _AM_SET_OPTION([-Wno-gnu]) m4trace:configure.ac:43: -2- _AM_MANGLE_OPTION([-Wno-gnu]) m4trace:configure.ac:43: -1- m4_pattern_allow([^PACKAGE$]) m4trace:configure.ac:43: -1- m4_pattern_allow([^VERSION$]) m4trace:configure.ac:43: -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:43: -2- _AM_MANGLE_OPTION([no-define]) m4trace:configure.ac:43: -1- m4_pattern_allow([^PACKAGE$]) m4trace:configure.ac:43: -1- m4_pattern_allow([^VERSION$]) m4trace:configure.ac:43: -1- AM_SANITY_CHECK m4trace:configure.ac:43: -1- AM_MISSING_PROG([ACLOCAL], [aclocal-${am__api_version}]) m4trace:configure.ac:43: -1- AM_MISSING_HAS_RUN m4trace:configure.ac:43: -1- AM_AUX_DIR_EXPAND m4trace:configure.ac:43: -1- m4_pattern_allow([^ACLOCAL$]) m4trace:configure.ac:43: -1- AM_MISSING_PROG([AUTOCONF], [autoconf]) m4trace:configure.ac:43: -1- m4_pattern_allow([^AUTOCONF$]) m4trace:configure.ac:43: -1- AM_MISSING_PROG([AUTOMAKE], [automake-${am__api_version}]) m4trace:configure.ac:43: -1- m4_pattern_allow([^AUTOMAKE$]) m4trace:configure.ac:43: -1- AM_MISSING_PROG([AUTOHEADER], [autoheader]) m4trace:configure.ac:43: -1- m4_pattern_allow([^AUTOHEADER$]) m4trace:configure.ac:43: -1- AM_MISSING_PROG([MAKEINFO], [makeinfo]) m4trace:configure.ac:43: -1- m4_pattern_allow([^MAKEINFO$]) m4trace:configure.ac:43: -1- AM_PROG_INSTALL_SH m4trace:configure.ac:43: -1- m4_pattern_allow([^install_sh$]) m4trace:configure.ac:43: -1- AM_PROG_INSTALL_STRIP m4trace:configure.ac:43: -1- m4_pattern_allow([^STRIP$]) m4trace:configure.ac:43: -1- m4_pattern_allow([^INSTALL_STRIP_PROGRAM$]) m4trace:configure.ac:43: -1- m4_pattern_allow([^MKDIR_P$]) m4trace:configure.ac:43: -1- m4_pattern_allow([^mkdir_p$]) m4trace:configure.ac:43: -1- m4_pattern_allow([^AWK$]) m4trace:configure.ac:43: -1- m4_pattern_allow([^SET_MAKE$]) m4trace:configure.ac:43: -1- AM_SET_LEADING_DOT m4trace:configure.ac:43: -1- m4_pattern_allow([^am__leading_dot$]) m4trace:configure.ac:43: -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:43: -2- _AM_MANGLE_OPTION([tar-ustar]) m4trace:configure.ac:43: -1- _AM_IF_OPTION([tar-pax], [_AM_PROG_TAR([pax])], [_AM_PROG_TAR([v7])]) m4trace:configure.ac:43: -2- _AM_MANGLE_OPTION([tar-pax]) m4trace:configure.ac:43: -1- _AM_PROG_TAR([v7]) m4trace:configure.ac:43: -1- m4_pattern_allow([^AMTAR$]) m4trace:configure.ac:43: -1- m4_pattern_allow([^am__tar$]) m4trace:configure.ac:43: -1- m4_pattern_allow([^am__untar$]) m4trace:configure.ac:43: -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:43: -2- _AM_MANGLE_OPTION([no-dependencies]) m4trace:configure.ac:43: -1- m4_pattern_allow([^CTAGS$]) m4trace:configure.ac:43: -1- m4_pattern_allow([^ETAGS$]) m4trace:configure.ac:43: -1- m4_pattern_allow([^CSCOPE$]) m4trace:configure.ac:43: -1- AM_SILENT_RULES m4trace:configure.ac:43: -1- m4_pattern_allow([^AM_V$]) m4trace:configure.ac:43: -1- AM_SUBST_NOTMAKE([AM_V]) m4trace:configure.ac:43: -1- _AM_SUBST_NOTMAKE([AM_V]) m4trace:configure.ac:43: -1- m4_pattern_allow([^AM_DEFAULT_V$]) m4trace:configure.ac:43: -1- AM_SUBST_NOTMAKE([AM_DEFAULT_V]) m4trace:configure.ac:43: -1- _AM_SUBST_NOTMAKE([AM_DEFAULT_V]) m4trace:configure.ac:43: -1- m4_pattern_allow([^AM_DEFAULT_VERBOSITY$]) m4trace:configure.ac:43: -1- m4_pattern_allow([^AM_BACKSLASH$]) m4trace:configure.ac:43: -1- _AM_SUBST_NOTMAKE([AM_BACKSLASH]) m4trace:configure.ac:45: -1- AM_SILENT_RULES([yes]) m4trace:configure.ac:45: -1- m4_pattern_allow([^AM_V$]) m4trace:configure.ac:45: -1- AM_SUBST_NOTMAKE([AM_V]) m4trace:configure.ac:45: -1- _AM_SUBST_NOTMAKE([AM_V]) m4trace:configure.ac:45: -1- m4_pattern_allow([^AM_DEFAULT_V$]) m4trace:configure.ac:45: -1- AM_SUBST_NOTMAKE([AM_DEFAULT_V]) m4trace:configure.ac:45: -1- _AM_SUBST_NOTMAKE([AM_DEFAULT_V]) m4trace:configure.ac:45: -1- m4_pattern_allow([^AM_DEFAULT_VERBOSITY$]) m4trace:configure.ac:45: -1- m4_pattern_allow([^AM_BACKSLASH$]) m4trace:configure.ac:45: -1- _AM_SUBST_NOTMAKE([AM_BACKSLASH]) m4trace:configure.ac:47: -1- m4_pattern_allow([^build$]) m4trace:configure.ac:47: -1- m4_pattern_allow([^build_cpu$]) m4trace:configure.ac:47: -1- m4_pattern_allow([^build_vendor$]) m4trace:configure.ac:47: -1- m4_pattern_allow([^build_os$]) m4trace:configure.ac:48: -1- m4_pattern_allow([^host$]) m4trace:configure.ac:48: -1- m4_pattern_allow([^host_cpu$]) m4trace:configure.ac:48: -1- m4_pattern_allow([^host_vendor$]) m4trace:configure.ac:48: -1- m4_pattern_allow([^host_os$]) m4trace:configure.ac:51: -1- m4_pattern_allow([^STR_SYSTEM$]) m4trace:configure.ac:52: -1- _m4_warn([obsolete], [The macro `AC_CONFIG_HEADER' is obsolete. You should run autoupdate.], [./lib/autoconf/status.m4:719: AC_CONFIG_HEADER is expanded from... configure.ac:52: the top level]) m4trace:configure.ac:55: -1- NTP_PROG_CC m4trace:configure.ac:55: -1- m4_pattern_allow([^CC$]) m4trace:configure.ac:55: -1- m4_pattern_allow([^CFLAGS$]) m4trace:configure.ac:55: -1- m4_pattern_allow([^LDFLAGS$]) m4trace:configure.ac:55: -1- m4_pattern_allow([^LIBS$]) m4trace:configure.ac:55: -1- m4_pattern_allow([^CPPFLAGS$]) m4trace:configure.ac:55: -1- m4_pattern_allow([^CC$]) m4trace:configure.ac:55: -1- m4_pattern_allow([^ac_ct_CC$]) m4trace:configure.ac:55: -1- m4_pattern_allow([^EXEEXT$]) m4trace:configure.ac:55: -1- m4_pattern_allow([^OBJEXT$]) m4trace:configure.ac:55: -1- _AM_PROG_CC_C_O m4trace:configure.ac:55: -1- AM_RUN_LOG([$CC -c conftest.$ac_ext -o conftest2.$ac_objext]) m4trace:configure.ac:55: -1- _AM_DEPENDENCIES([CC]) m4trace:configure.ac:55: -1- AM_SET_DEPDIR m4trace:configure.ac:55: -1- m4_pattern_allow([^DEPDIR$]) m4trace:configure.ac:55: -1- AM_OUTPUT_DEPENDENCY_COMMANDS m4trace:configure.ac:55: -1- AM_MAKE_INCLUDE m4trace:configure.ac:55: -1- AM_RUN_LOG([${MAKE-make} -f confmf.$s && cat confinc.out]) m4trace:configure.ac:55: -1- m4_pattern_allow([^am__include$]) m4trace:configure.ac:55: -1- AM_DEP_TRACK m4trace:configure.ac:55: -1- AM_CONDITIONAL([AMDEP], [test "x$enable_dependency_tracking" != xno]) m4trace:configure.ac:55: -1- m4_pattern_allow([^AMDEP_TRUE$]) m4trace:configure.ac:55: -1- m4_pattern_allow([^AMDEP_FALSE$]) m4trace:configure.ac:55: -1- _AM_SUBST_NOTMAKE([AMDEP_TRUE]) m4trace:configure.ac:55: -1- _AM_SUBST_NOTMAKE([AMDEP_FALSE]) m4trace:configure.ac:55: -1- m4_pattern_allow([^AMDEPBACKSLASH$]) m4trace:configure.ac:55: -1- _AM_SUBST_NOTMAKE([AMDEPBACKSLASH]) m4trace:configure.ac:55: -1- m4_pattern_allow([^am__nodep$]) m4trace:configure.ac:55: -1- _AM_SUBST_NOTMAKE([am__nodep]) m4trace:configure.ac:55: -1- m4_pattern_allow([^CCDEPMODE$]) m4trace:configure.ac:55: -1- AM_CONDITIONAL([am__fastdepCC], [ test "x$enable_dependency_tracking" != xno \ && test "$am_cv_CC_dependencies_compiler_type" = gcc3]) m4trace:configure.ac:55: -1- m4_pattern_allow([^am__fastdepCC_TRUE$]) m4trace:configure.ac:55: -1- m4_pattern_allow([^am__fastdepCC_FALSE$]) m4trace:configure.ac:55: -1- _AM_SUBST_NOTMAKE([am__fastdepCC_TRUE]) m4trace:configure.ac:55: -1- _AM_SUBST_NOTMAKE([am__fastdepCC_FALSE]) m4trace:configure.ac:56: -1- NTP_COMPILER m4trace:configure.ac:56: -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:56: -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:56: -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:56: -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:56: -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:56: -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:56: -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:56: -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:56: -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:56: -1- m4_pattern_allow([^STDC_HEADERS$]) m4trace:configure.ac:56: -1- AC_DEFUN([_AC_Header_wchar_h], [m4_divert_text([INIT_PREPARE], [AS_VAR_APPEND([ac_header_]]_AC_LANG_ABBREV[[_list], [" wchar.h ]AS_TR_SH([wchar.h]) AS_TR_CPP([HAVE_wchar.h])["])])_AC_HEADERS_EXPANSION(_AC_LANG_ABBREV)]) m4trace:configure.ac:56: -1- AC_DEFUN([_AC_Header_minix_config_h], [m4_divert_text([INIT_PREPARE], [AS_VAR_APPEND([ac_header_]]_AC_LANG_ABBREV[[_list], [" minix/config.h ]AS_TR_SH([minix/config.h]) AS_TR_CPP([HAVE_minix/config.h])["])])_AC_HEADERS_EXPANSION(_AC_LANG_ABBREV)]) m4trace:configure.ac:56: -1- m4_pattern_allow([^_ALL_SOURCE$]) m4trace:configure.ac:56: -1- m4_pattern_allow([^_DARWIN_C_SOURCE$]) m4trace:configure.ac:56: -1- m4_pattern_allow([^_GNU_SOURCE$]) m4trace:configure.ac:56: -1- m4_pattern_allow([^_HPUX_ALT_XOPEN_SOCKET_API$]) m4trace:configure.ac:56: -1- m4_pattern_allow([^_NETBSD_SOURCE$]) m4trace:configure.ac:56: -1- m4_pattern_allow([^_OPENBSD_SOURCE$]) m4trace:configure.ac:56: -1- m4_pattern_allow([^_POSIX_PTHREAD_SEMANTICS$]) m4trace:configure.ac:56: -1- m4_pattern_allow([^__STDC_WANT_IEC_60559_ATTRIBS_EXT__$]) m4trace:configure.ac:56: -1- m4_pattern_allow([^__STDC_WANT_IEC_60559_BFP_EXT__$]) m4trace:configure.ac:56: -1- m4_pattern_allow([^__STDC_WANT_IEC_60559_DFP_EXT__$]) m4trace:configure.ac:56: -1- m4_pattern_allow([^__STDC_WANT_IEC_60559_FUNCS_EXT__$]) m4trace:configure.ac:56: -1- m4_pattern_allow([^__STDC_WANT_IEC_60559_TYPES_EXT__$]) m4trace:configure.ac:56: -1- m4_pattern_allow([^__STDC_WANT_LIB_EXT2__$]) m4trace:configure.ac:56: -1- m4_pattern_allow([^__STDC_WANT_MATH_SPEC_FUNCS__$]) m4trace:configure.ac:56: -1- m4_pattern_allow([^_TANDEM_SOURCE$]) m4trace:configure.ac:56: -1- m4_pattern_allow([^_MINIX$]) m4trace:configure.ac:56: -1- m4_pattern_allow([^_POSIX_SOURCE$]) m4trace:configure.ac:56: -1- m4_pattern_allow([^_POSIX_1_SOURCE$]) m4trace:configure.ac:56: -1- m4_pattern_allow([^__EXTENSIONS__$]) m4trace:configure.ac:56: -1- m4_pattern_allow([^_XOPEN_SOURCE$]) m4trace:configure.ac:56: -1- AM_PROG_CC_C_O m4trace:configure.ac:56: -1- m4_pattern_allow([^CPP$]) m4trace:configure.ac:56: -1- m4_pattern_allow([^CPPFLAGS$]) m4trace:configure.ac:56: -1- m4_pattern_allow([^CPP$]) m4trace:configure.ac:56: -1- AC_PROG_EGREP m4trace:configure.ac:56: -1- m4_pattern_allow([^GREP$]) m4trace:configure.ac:56: -1- m4_pattern_allow([^EGREP$]) m4trace:configure.ac:56: -1- _m4_warn([obsolete], [The macro `AC_PROG_CC_STDC' is obsolete. You should run autoupdate.], [./lib/autoconf/c.m4:1666: AC_PROG_CC_STDC is expanded from... m4/ntp_compiler.m4:3: NTP_COMPILER is expanded from... configure.ac:56: the top level]) m4trace:configure.ac:56: -1- m4_pattern_allow([^CFLAGS_NTP$]) m4trace:configure.ac:56: -1- m4_pattern_allow([^CPPFLAGS_NTP$]) m4trace:configure.ac:56: -1- m4_pattern_allow([^LDADD_NTP$]) m4trace:configure.ac:56: -1- m4_pattern_allow([^LDFLAGS_NTP$]) m4trace:configure.ac:56: -1- m4_pattern_allow([^NO_OPTION_NAME_WARNINGS$]) m4trace:configure.ac:56: -1- m4_pattern_allow([^HAVE___ATTRIBUTE__$]) m4trace:configure.ac:56: -1- NTP_OS_CFLAGS m4trace:configure.ac:56: -1- m4_pattern_allow([^WORDS_BIGENDIAN$]) m4trace:configure.ac:56: -1- m4_pattern_allow([^AC_APPLE_UNIVERSAL_BUILD$]) m4trace:configure.ac:56: -1- m4_pattern_allow([^volatile$]) m4trace:configure.ac:56: -1- m4_pattern_allow([^CPP$]) m4trace:configure.ac:56: -1- m4_pattern_allow([^CPPFLAGS$]) m4trace:configure.ac:56: -1- m4_pattern_allow([^CPP$]) m4trace:configure.ac:57: -1- NTP_HARDEN m4trace:configure.ac:57: -1- m4_pattern_allow([^NTP_HARD_CFLAGS$]) m4trace:configure.ac:57: -1- m4_pattern_allow([^NTP_HARD_CPPFLAGS$]) m4trace:configure.ac:57: -1- m4_pattern_allow([^NTP_HARD_LDFLAGS$]) m4trace:configure.ac:59: -1- NTP_LOCINFO([]) m4trace:configure.ac:59: -1- AM_CONDITIONAL([WANT_CALC_TICKADJ_MS], [test "$CALC_TICKADJ_MS" ]) m4trace:configure.ac:59: -1- m4_pattern_allow([^WANT_CALC_TICKADJ_MS_TRUE$]) m4trace:configure.ac:59: -1- m4_pattern_allow([^WANT_CALC_TICKADJ_MS_FALSE$]) m4trace:configure.ac:59: -1- _AM_SUBST_NOTMAKE([WANT_CALC_TICKADJ_MS_TRUE]) m4trace:configure.ac:59: -1- _AM_SUBST_NOTMAKE([WANT_CALC_TICKADJ_MS_FALSE]) m4trace:configure.ac:59: -1- m4_pattern_allow([^CALC_TICKADJ_DB$]) m4trace:configure.ac:59: -1- m4_pattern_allow([^CALC_TICKADJ_DL$]) m4trace:configure.ac:59: -1- m4_pattern_allow([^CALC_TICKADJ_DS$]) m4trace:configure.ac:59: -1- m4_pattern_allow([^CALC_TICKADJ_MS$]) m4trace:configure.ac:59: -1- m4_pattern_allow([^CALC_TICKADJ_NI$]) m4trace:configure.ac:59: -1- m4_pattern_allow([^MANTAGFMT$]) m4trace:configure.ac:59: -1- m4_pattern_allow([^NTPDATE_DB$]) m4trace:configure.ac:59: -1- m4_pattern_allow([^NTPDATE_DL$]) m4trace:configure.ac:59: -1- m4_pattern_allow([^NTPDATE_DS$]) m4trace:configure.ac:59: -1- m4_pattern_allow([^NTPDATE_MS$]) m4trace:configure.ac:59: -1- m4_pattern_allow([^NTPDATE_NI$]) m4trace:configure.ac:59: -1- m4_pattern_allow([^NTPDC_DB$]) m4trace:configure.ac:59: -1- m4_pattern_allow([^NTPDC_DL$]) m4trace:configure.ac:59: -1- m4_pattern_allow([^NTPDC_DS$]) m4trace:configure.ac:59: -1- m4_pattern_allow([^NTPDC_MS$]) m4trace:configure.ac:59: -1- m4_pattern_allow([^NTPDC_NI$]) m4trace:configure.ac:59: -1- m4_pattern_allow([^NTPDSIM_DB$]) m4trace:configure.ac:59: -1- m4_pattern_allow([^NTPDSIM_DL$]) m4trace:configure.ac:59: -1- m4_pattern_allow([^NTPDSIM_DS$]) m4trace:configure.ac:59: -1- m4_pattern_allow([^NTPDSIM_MS$]) m4trace:configure.ac:59: -1- m4_pattern_allow([^NTPDSIM_NI$]) m4trace:configure.ac:59: -1- m4_pattern_allow([^NTPD_DB$]) m4trace:configure.ac:59: -1- m4_pattern_allow([^NTPD_DL$]) m4trace:configure.ac:59: -1- m4_pattern_allow([^NTPD_DS$]) m4trace:configure.ac:59: -1- m4_pattern_allow([^NTPD_MS$]) m4trace:configure.ac:59: -1- m4_pattern_allow([^NTPD_NI$]) m4trace:configure.ac:59: -1- m4_pattern_allow([^NTPQ_DB$]) m4trace:configure.ac:59: -1- m4_pattern_allow([^NTPQ_DL$]) m4trace:configure.ac:59: -1- m4_pattern_allow([^NTPQ_DS$]) m4trace:configure.ac:59: -1- m4_pattern_allow([^NTPQ_MS$]) m4trace:configure.ac:59: -1- m4_pattern_allow([^NTPQ_NI$]) m4trace:configure.ac:59: -1- m4_pattern_allow([^NTPSNMPD_DB$]) m4trace:configure.ac:59: -1- m4_pattern_allow([^NTPSNMPD_DL$]) m4trace:configure.ac:59: -1- m4_pattern_allow([^NTPSNMPD_DS$]) m4trace:configure.ac:59: -1- m4_pattern_allow([^NTPSNMPD_MS$]) m4trace:configure.ac:59: -1- m4_pattern_allow([^NTPSNMPD_NI$]) m4trace:configure.ac:59: -1- m4_pattern_allow([^NTPSWEEP_DB$]) m4trace:configure.ac:59: -1- m4_pattern_allow([^NTPSWEEP_DL$]) m4trace:configure.ac:59: -1- m4_pattern_allow([^NTPSWEEP_DS$]) m4trace:configure.ac:59: -1- m4_pattern_allow([^NTPSWEEP_MS$]) m4trace:configure.ac:59: -1- m4_pattern_allow([^NTPSWEEP_NI$]) m4trace:configure.ac:59: -1- AM_CONDITIONAL([INSTALL_NTPSWEEP], [test -z "$NTPSWEEP_NI" ]) m4trace:configure.ac:59: -1- m4_pattern_allow([^INSTALL_NTPSWEEP_TRUE$]) m4trace:configure.ac:59: -1- m4_pattern_allow([^INSTALL_NTPSWEEP_FALSE$]) m4trace:configure.ac:59: -1- _AM_SUBST_NOTMAKE([INSTALL_NTPSWEEP_TRUE]) m4trace:configure.ac:59: -1- _AM_SUBST_NOTMAKE([INSTALL_NTPSWEEP_FALSE]) m4trace:configure.ac:59: -1- m4_pattern_allow([^NTPTIME_DB$]) m4trace:configure.ac:59: -1- m4_pattern_allow([^NTPTIME_DL$]) m4trace:configure.ac:59: -1- m4_pattern_allow([^NTPTIME_DS$]) m4trace:configure.ac:59: -1- m4_pattern_allow([^NTPTIME_MS$]) m4trace:configure.ac:59: -1- m4_pattern_allow([^NTPTIME_NI$]) m4trace:configure.ac:59: -1- m4_pattern_allow([^NTPTRACE_DB$]) m4trace:configure.ac:59: -1- m4_pattern_allow([^NTPTRACE_DL$]) m4trace:configure.ac:59: -1- m4_pattern_allow([^NTPTRACE_DS$]) m4trace:configure.ac:59: -1- m4_pattern_allow([^NTPTRACE_MS$]) m4trace:configure.ac:59: -1- m4_pattern_allow([^NTPTRACE_NI$]) m4trace:configure.ac:59: -1- m4_pattern_allow([^NTP_KEYGEN_DB$]) m4trace:configure.ac:59: -1- m4_pattern_allow([^NTP_KEYGEN_DL$]) m4trace:configure.ac:59: -1- m4_pattern_allow([^NTP_KEYGEN_DS$]) m4trace:configure.ac:59: -1- m4_pattern_allow([^NTP_KEYGEN_MS$]) m4trace:configure.ac:59: -1- m4_pattern_allow([^NTP_KEYGEN_NI$]) m4trace:configure.ac:59: -1- m4_pattern_allow([^NTP_WAIT_DB$]) m4trace:configure.ac:59: -1- m4_pattern_allow([^NTP_WAIT_DL$]) m4trace:configure.ac:59: -1- m4_pattern_allow([^NTP_WAIT_DS$]) m4trace:configure.ac:59: -1- m4_pattern_allow([^NTP_WAIT_MS$]) m4trace:configure.ac:59: -1- m4_pattern_allow([^NTP_WAIT_NI$]) m4trace:configure.ac:59: -1- m4_pattern_allow([^SNTP_DB$]) m4trace:configure.ac:59: -1- m4_pattern_allow([^SNTP_DL$]) m4trace:configure.ac:59: -1- m4_pattern_allow([^SNTP_DS$]) m4trace:configure.ac:59: -1- m4_pattern_allow([^SNTP_MS$]) m4trace:configure.ac:59: -1- m4_pattern_allow([^SNTP_NI$]) m4trace:configure.ac:59: -1- m4_pattern_allow([^TICKADJ_DB$]) m4trace:configure.ac:59: -1- m4_pattern_allow([^TICKADJ_DL$]) m4trace:configure.ac:59: -1- m4_pattern_allow([^TICKADJ_DS$]) m4trace:configure.ac:59: -1- m4_pattern_allow([^TICKADJ_MS$]) m4trace:configure.ac:59: -1- m4_pattern_allow([^TICKADJ_NI$]) m4trace:configure.ac:59: -1- m4_pattern_allow([^TIMETRIM_DB$]) m4trace:configure.ac:59: -1- m4_pattern_allow([^TIMETRIM_DL$]) m4trace:configure.ac:59: -1- m4_pattern_allow([^TIMETRIM_DS$]) m4trace:configure.ac:59: -1- m4_pattern_allow([^TIMETRIM_MS$]) m4trace:configure.ac:59: -1- m4_pattern_allow([^TIMETRIM_NI$]) m4trace:configure.ac:59: -1- m4_pattern_allow([^UPDATE_LEAP_DB$]) m4trace:configure.ac:59: -1- m4_pattern_allow([^UPDATE_LEAP_DL$]) m4trace:configure.ac:59: -1- m4_pattern_allow([^UPDATE_LEAP_DS$]) m4trace:configure.ac:59: -1- m4_pattern_allow([^UPDATE_LEAP_MS$]) m4trace:configure.ac:59: -1- m4_pattern_allow([^UPDATE_LEAP_NI$]) m4trace:configure.ac:59: -1- AM_CONDITIONAL([INSTALL_UPDATE_LEAP], [test -z "$UPDATE_LEAP_NI" ]) m4trace:configure.ac:59: -1- m4_pattern_allow([^INSTALL_UPDATE_LEAP_TRUE$]) m4trace:configure.ac:59: -1- m4_pattern_allow([^INSTALL_UPDATE_LEAP_FALSE$]) m4trace:configure.ac:59: -1- _AM_SUBST_NOTMAKE([INSTALL_UPDATE_LEAP_TRUE]) m4trace:configure.ac:59: -1- _AM_SUBST_NOTMAKE([INSTALL_UPDATE_LEAP_FALSE]) m4trace:configure.ac:62: -1- AM_PROG_AR m4trace:configure.ac:62: -1- m4_pattern_allow([^AR$]) m4trace:configure.ac:62: -1- m4_pattern_allow([^ac_ct_AR$]) m4trace:configure.ac:62: -1- m4_pattern_allow([^AR$]) m4trace:configure.ac:67: -1- NTP_LIBNTP m4trace:configure.ac:67: -1- NTP_CROSSCOMPILE m4trace:configure.ac:67: -1- AM_CONDITIONAL([NTP_CROSSCOMPILE], [test $build != $host]) m4trace:configure.ac:67: -1- m4_pattern_allow([^NTP_CROSSCOMPILE_TRUE$]) m4trace:configure.ac:67: -1- m4_pattern_allow([^NTP_CROSSCOMPILE_FALSE$]) m4trace:configure.ac:67: -1- _AM_SUBST_NOTMAKE([NTP_CROSSCOMPILE_TRUE]) m4trace:configure.ac:67: -1- _AM_SUBST_NOTMAKE([NTP_CROSSCOMPILE_FALSE]) m4trace:configure.ac:67: -1- m4_pattern_allow([^LDADD_LIBNTP$]) m4trace:configure.ac:67: -1- LT_PATH_LD m4trace:configure.ac:67: -1- m4_pattern_allow([^SED$]) m4trace:configure.ac:67: -1- m4_pattern_allow([^FGREP$]) m4trace:configure.ac:67: -1- m4_pattern_allow([^GREP$]) m4trace:configure.ac:67: -1- _LT_PROG_ECHO_BACKSLASH m4trace:configure.ac:67: -1- m4_pattern_allow([^LD$]) m4trace:configure.ac:67: -1- NTP_DIR_SEP m4trace:configure.ac:67: -1- m4_pattern_allow([^DIR_SEP$]) m4trace:configure.ac:67: -1- NTP_LINEEDITLIBS m4trace:configure.ac:67: -1- m4_pattern_allow([^EDITLINE_LIBS$]) m4trace:configure.ac:67: -1- m4_pattern_allow([^HAVE_READLINE_H$]) m4trace:configure.ac:67: -1- m4_pattern_allow([^HAVE_READLINE_READLINE_H$]) m4trace:configure.ac:67: -1- m4_pattern_allow([^HAVE_HISTEDIT_H$]) m4trace:configure.ac:67: -1- m4_pattern_allow([^HAVE_HISTORY_H$]) m4trace:configure.ac:67: -1- m4_pattern_allow([^HAVE_READLINE_HISTORY_H$]) m4trace:configure.ac:67: -1- m4_pattern_allow([^EL_INIT_ARGS$]) m4trace:configure.ac:67: -1- m4_pattern_allow([^HAVE_READLINE_HISTORY$]) m4trace:configure.ac:67: -1- NTP_LIB_M m4trace:configure.ac:67: -1- m4_pattern_allow([^LIBM$]) m4trace:configure.ac:67: -1- m4_pattern_allow([^pid_t$]) m4trace:configure.ac:67: -1- AC_DEFUN([_AC_Header_vfork_h], [m4_divert_text([INIT_PREPARE], [AS_VAR_APPEND([ac_header_]]_AC_LANG_ABBREV[[_list], [" vfork.h ]AS_TR_SH([vfork.h]) AS_TR_CPP([HAVE_vfork.h])["])])_AC_HEADERS_EXPANSION(_AC_LANG_ABBREV)]) m4trace:configure.ac:67: -1- AC_DEFUN([_AC_Func_fork], [m4_divert_text([INIT_PREPARE], [AS_VAR_APPEND([ac_func_]]_AC_LANG_ABBREV[[_list], [" fork ]AS_TR_CPP([HAVE_fork])["])])_AC_FUNCS_EXPANSION(_AC_LANG_ABBREV)]) m4trace:configure.ac:67: -1- AC_DEFUN([_AC_Func_vfork], [m4_divert_text([INIT_PREPARE], [AS_VAR_APPEND([ac_func_]]_AC_LANG_ABBREV[[_list], [" vfork ]AS_TR_CPP([HAVE_vfork])["])])_AC_FUNCS_EXPANSION(_AC_LANG_ABBREV)]) m4trace:configure.ac:67: -1- m4_pattern_allow([^HAVE_WORKING_VFORK$]) m4trace:configure.ac:67: -1- m4_pattern_allow([^vfork$]) m4trace:configure.ac:67: -1- m4_pattern_allow([^HAVE_WORKING_FORK$]) m4trace:configure.ac:67: -1- m4_pattern_allow([^size_t$]) m4trace:configure.ac:67: -1- m4_pattern_allow([^HAVE_ALLOCA_H$]) m4trace:configure.ac:67: -1- m4_pattern_allow([^HAVE_ALLOCA$]) m4trace:configure.ac:67: -1- m4_pattern_allow([^ALLOCA$]) m4trace:configure.ac:67: -1- m4_pattern_allow([^C_ALLOCA$]) m4trace:configure.ac:67: -1- m4_pattern_allow([^STACK_DIRECTION$]) m4trace:configure.ac:67: -1- AC_DEFUN([_AC_Check_Decl_strerror_r], [_AC_CHECK_DECLS([strerror_r])]) m4trace:configure.ac:67: -1- AC_DEFUN([_AC_UNDECLARED_BUILTIN_c], [_AC_UNDECLARED_BUILTIN]) m4trace:configure.ac:67: -1- m4_pattern_allow([^HAVE_DECL_STRERROR_R$]) m4trace:configure.ac:67: -1- m4_pattern_allow([^HAVE_STRERROR_R$]) m4trace:configure.ac:67: -1- m4_pattern_allow([^STRERROR_R_CHAR_P$]) m4trace:configure.ac:67: -1- HMS_SEARCH_LIBS([LDADD_LIBNTP], [clock_gettime], [rt]) m4trace:configure.ac:67: -1- m4_pattern_allow([^HAVE_CLOCK_GETRES$]) m4trace:configure.ac:67: -1- m4_pattern_allow([^HAVE_CLOCK_GETTIME$]) m4trace:configure.ac:67: -1- m4_pattern_allow([^HAVE_CLOCK_SETTIME$]) m4trace:configure.ac:67: -1- m4_pattern_allow([^HAVE_GETCLOCK$]) m4trace:configure.ac:67: -1- m4_pattern_allow([^HAVE_STIME$]) m4trace:configure.ac:67: -1- m4_pattern_allow([^HAVE_TIMEGM$]) m4trace:configure.ac:67: -1- m4_pattern_allow([^HAVE_STRLCPY$]) m4trace:configure.ac:67: -1- m4_pattern_allow([^HAVE_STRLCAT$]) m4trace:configure.ac:67: -1- m4_pattern_allow([^LDADD_LIBUTIL$]) m4trace:configure.ac:67: -1- HMS_SEARCH_LIBS([LDADD_LIBUTIL], [snprintb], [util], [AC_DEFINE([USE_SNPRINTB], 1, [OK to use snprintb()?])]) m4trace:configure.ac:67: -1- m4_pattern_allow([^USE_SNPRINTB$]) m4trace:configure.ac:67: -1- m4_pattern_allow([^HAVE_ERRNO_H$]) m4trace:configure.ac:67: -1- m4_pattern_allow([^HAVE_SYS_SOCKET_H$]) m4trace:configure.ac:67: -1- m4_pattern_allow([^HAVE_SYS_TYPES_H$]) m4trace:configure.ac:67: -1- m4_pattern_allow([^HAVE_TIME_H$]) m4trace:configure.ac:67: -1- m4_pattern_allow([^HAVE_NET_IF_H$]) m4trace:configure.ac:67: -1- m4_pattern_allow([^HAVE_LINUX_IF_ADDR_H$]) m4trace:configure.ac:67: -1- m4_pattern_allow([^NEED_EARLY_FORK$]) m4trace:configure.ac:67: -1- m4_pattern_allow([^HAVE_ARPA_NAMESER_H$]) m4trace:configure.ac:67: -1- m4_pattern_allow([^HAVE_SYS_PARAM_H$]) m4trace:configure.ac:67: -1- m4_pattern_allow([^HAVE_SYS_TIME_H$]) m4trace:configure.ac:67: -1- m4_pattern_allow([^HAVE_SYS_TIMERS_H$]) m4trace:configure.ac:67: -1- m4_pattern_allow([^HAVE_SYS_SYSCTL_H$]) m4trace:configure.ac:67: -1- m4_pattern_allow([^HAVE_NETINET_IN_SYSTEM_H$]) m4trace:configure.ac:67: -1- m4_pattern_allow([^HAVE_NETINET_IN_SYSTM_H$]) m4trace:configure.ac:67: -1- m4_pattern_allow([^HAVE_NETINET_IN_H$]) m4trace:configure.ac:67: -1- m4_pattern_allow([^HAVE_RESOLV_H$]) m4trace:configure.ac:67: -1- m4_pattern_allow([^HAVE_NET_IF_VAR_H$]) m4trace:configure.ac:67: -1- m4_pattern_allow([^HAVE_NETINET_IP_H$]) m4trace:configure.ac:67: -1- m4_pattern_allow([^HAVE_NETINET_IN_VAR_H$]) m4trace:configure.ac:67: -1- HMS_SEARCH_LIBS([LDADD_LIBNTP], [inet_pton], [nsl]) m4trace:configure.ac:67: -1- HMS_SEARCH_LIBS([LDADD_LIBNTP], [inet_ntop], [resolv], [], [], [-lnsl]) m4trace:configure.ac:67: -1- HMS_SEARCH_LIBS([LDADD_LIBNTP], [setsockopt], [socket]) m4trace:configure.ac:67: -1- HMS_SEARCH_LIBS([LDADD_LIBNTP], [getsockopt], [xnet]) m4trace:configure.ac:67: -1- m4_pattern_allow([^HAVE_RECVMSG$]) m4trace:configure.ac:67: -1- m4_pattern_allow([^HAVE_INLINE$]) m4trace:configure.ac:67: -1- m4_pattern_allow([^HAVE_INLINE$]) m4trace:configure.ac:67: -1- _m4_warn([obsolete], [The macro `AC_HEADER_TIME' is obsolete. You should run autoupdate.], [./lib/autoconf/headers.m4:743: AC_HEADER_TIME is expanded from... m4/ntp_libntp.m4:9: NTP_LIBNTP is expanded from... configure.ac:67: the top level]) m4trace:configure.ac:67: -1- AC_DEFUN([_AC_Header_sys_time_h], [m4_divert_text([INIT_PREPARE], [AS_VAR_APPEND([ac_header_]]_AC_LANG_ABBREV[[_list], [" sys/time.h ]AS_TR_SH([sys/time.h]) AS_TR_CPP([HAVE_sys/time.h])["])])_AC_HEADERS_EXPANSION(_AC_LANG_ABBREV)]) m4trace:configure.ac:67: -1- m4_pattern_allow([^TIME_WITH_SYS_TIME$]) m4trace:configure.ac:67: -1- m4_pattern_allow([^SIZEOF_TIME_T$]) m4trace:configure.ac:67: -1- m4_pattern_allow([^__CHAR_UNSIGNED__$]) m4trace:configure.ac:67: -1- m4_pattern_allow([^SIZEOF_SIGNED_CHAR$]) m4trace:configure.ac:67: -1- m4_pattern_allow([^HAVE_S_CHAR$]) m4trace:configure.ac:67: -1- m4_pattern_allow([^HAVE_LONG_LONG$]) m4trace:configure.ac:67: -1- m4_pattern_allow([^SIZEOF_SHORT$]) m4trace:configure.ac:67: -1- m4_pattern_allow([^SIZEOF_INT$]) m4trace:configure.ac:67: -1- m4_pattern_allow([^SIZEOF_LONG$]) m4trace:configure.ac:67: -1- m4_pattern_allow([^SIZEOF_LONG_LONG$]) m4trace:configure.ac:67: -1- m4_pattern_allow([^NEED_S_CHAR_TYPEDEF$]) m4trace:configure.ac:67: -1- m4_pattern_allow([^NEED_S_CHAR_TYPEDEF$]) m4trace:configure.ac:67: -1- m4_pattern_allow([^NEED_S_CHAR_TYPEDEF$]) m4trace:configure.ac:67: -1- m4_pattern_allow([^uid_t$]) m4trace:configure.ac:67: -1- m4_pattern_allow([^gid_t$]) m4trace:configure.ac:67: -1- NTP_DEBUG m4trace:configure.ac:67: -1- m4_pattern_allow([^DEBUG$]) m4trace:configure.ac:67: -1- m4_pattern_allow([^HAVE_SEMAPHORE_H$]) m4trace:configure.ac:67: -1- m4_pattern_allow([^HAVE_SOCKETPAIR$]) m4trace:configure.ac:67: -1- OL_THREAD_CHECK([ol_found_pthreads=yes]) m4trace:configure.ac:67: -1- OL_ARG_WITH([threads], [ --with-threads with threads], [auto], [auto nt posix mach pth lwp yes no manual ]) m4trace:configure.ac:67: -1- m4_pattern_allow([^CC$]) m4trace:configure.ac:67: -1- OL_ARG_WITH([yielding_select], [ --with-yielding-select with yielding select], [auto], [auto yes no manual ]) m4trace:configure.ac:67: -1- OL_NT_THREADS m4trace:configure.ac:67: -1- m4_pattern_allow([^HAVE_NT_THREADS$]) m4trace:configure.ac:67: -1- m4_pattern_allow([^HAVE_NT_SERVICE_MANAGER$]) m4trace:configure.ac:67: -1- m4_pattern_allow([^HAVE_NT_EVENT_LOG$]) m4trace:configure.ac:67: -1- m4_pattern_allow([^HAVE_PTHREAD_H$]) m4trace:configure.ac:67: -1- OL_POSIX_THREAD_VERSION m4trace:configure.ac:67: -1- m4_pattern_allow([^HAVE_PTHREADS$]) m4trace:configure.ac:67: -1- OL_HEADER_LINUX_THREADS m4trace:configure.ac:67: -1- m4_pattern_allow([^HAVE_LINUX_THREADS$]) m4trace:configure.ac:67: -1- OL_HEADER_GNU_PTH_PTHREAD_H m4trace:configure.ac:67: -1- m4_pattern_allow([^HAVE_SCHED_H$]) m4trace:configure.ac:67: -2- OL_PTHREAD_TEST_INCLUDES m4trace:configure.ac:67: -2- OL_PTHREAD_TEST_FUNCTION m4trace:configure.ac:67: -1- _m4_warn([obsolete], [The macro `AC_TRY_LINK' is obsolete. You should run autoupdate.], [./lib/autoconf/general.m4:2920: AC_TRY_LINK is expanded from... lib/m4sugar/m4sh.m4:699: AS_IF is expanded from... ./lib/autoconf/general.m4:2981: AC_RUN_IFELSE is expanded from... lib/m4sugar/m4sh.m4:692: _AS_IF_ELSE is expanded from... lib/m4sugar/m4sh.m4:699: AS_IF is expanded from... ./lib/autoconf/general.m4:2249: AC_CACHE_VAL is expanded from... ./lib/autoconf/general.m4:2270: AC_CACHE_CHECK is expanded from... m4/openldap-thread-check.m4:23: OL_THREAD_CHECK is expanded from... m4/ntp_libntp.m4:9: NTP_LIBNTP is expanded from... configure.ac:67: the top level]) m4trace:configure.ac:67: -1- OL_PTHREAD_TEST_PROGRAM m4trace:configure.ac:67: -1- OL_PTHREAD_TEST_INCLUDES m4trace:configure.ac:67: -1- OL_PTHREAD_TEST_FUNCTION m4trace:configure.ac:67: -1- OL_PTHREAD_TRY([-kthread], [ol_cv_pthread_kthread]) m4trace:configure.ac:67: -2- OL_PTHREAD_TEST_INCLUDES m4trace:configure.ac:67: -2- OL_PTHREAD_TEST_FUNCTION m4trace:configure.ac:67: -1- OL_PTHREAD_TEST_PROGRAM m4trace:configure.ac:67: -1- OL_PTHREAD_TEST_INCLUDES m4trace:configure.ac:67: -1- OL_PTHREAD_TEST_FUNCTION m4trace:configure.ac:67: -1- OL_PTHREAD_TRY([-pthread], [ol_cv_pthread_pthread]) m4trace:configure.ac:67: -2- OL_PTHREAD_TEST_INCLUDES m4trace:configure.ac:67: -2- OL_PTHREAD_TEST_FUNCTION m4trace:configure.ac:67: -1- OL_PTHREAD_TEST_PROGRAM m4trace:configure.ac:67: -1- OL_PTHREAD_TEST_INCLUDES m4trace:configure.ac:67: -1- OL_PTHREAD_TEST_FUNCTION m4trace:configure.ac:67: -1- OL_PTHREAD_TRY([-pthreads], [ol_cv_pthread_pthreads]) m4trace:configure.ac:67: -2- OL_PTHREAD_TEST_INCLUDES m4trace:configure.ac:67: -2- OL_PTHREAD_TEST_FUNCTION m4trace:configure.ac:67: -1- OL_PTHREAD_TEST_PROGRAM m4trace:configure.ac:67: -1- OL_PTHREAD_TEST_INCLUDES m4trace:configure.ac:67: -1- OL_PTHREAD_TEST_FUNCTION m4trace:configure.ac:67: -1- OL_PTHREAD_TRY([-mthreads], [ol_cv_pthread_mthreads]) m4trace:configure.ac:67: -2- OL_PTHREAD_TEST_INCLUDES m4trace:configure.ac:67: -2- OL_PTHREAD_TEST_FUNCTION m4trace:configure.ac:67: -1- OL_PTHREAD_TEST_PROGRAM m4trace:configure.ac:67: -1- OL_PTHREAD_TEST_INCLUDES m4trace:configure.ac:67: -1- OL_PTHREAD_TEST_FUNCTION m4trace:configure.ac:67: -1- OL_PTHREAD_TRY([-thread], [ol_cv_pthread_thread]) m4trace:configure.ac:67: -2- OL_PTHREAD_TEST_INCLUDES m4trace:configure.ac:67: -2- OL_PTHREAD_TEST_FUNCTION m4trace:configure.ac:67: -1- OL_PTHREAD_TEST_PROGRAM m4trace:configure.ac:67: -1- OL_PTHREAD_TEST_INCLUDES m4trace:configure.ac:67: -1- OL_PTHREAD_TEST_FUNCTION m4trace:configure.ac:67: -1- OL_PTHREAD_TRY([-lpthread -lmach -lexc -lc_r], [ol_cv_pthread_lpthread_lmach_lexc_lc_r]) m4trace:configure.ac:67: -2- OL_PTHREAD_TEST_INCLUDES m4trace:configure.ac:67: -2- OL_PTHREAD_TEST_FUNCTION m4trace:configure.ac:67: -1- OL_PTHREAD_TEST_PROGRAM m4trace:configure.ac:67: -1- OL_PTHREAD_TEST_INCLUDES m4trace:configure.ac:67: -1- OL_PTHREAD_TEST_FUNCTION m4trace:configure.ac:67: -1- OL_PTHREAD_TRY([-lpthread -lmach -lexc], [ol_cv_pthread_lpthread_lmach_lexc]) m4trace:configure.ac:67: -2- OL_PTHREAD_TEST_INCLUDES m4trace:configure.ac:67: -2- OL_PTHREAD_TEST_FUNCTION m4trace:configure.ac:67: -1- OL_PTHREAD_TEST_PROGRAM m4trace:configure.ac:67: -1- OL_PTHREAD_TEST_INCLUDES m4trace:configure.ac:67: -1- OL_PTHREAD_TEST_FUNCTION m4trace:configure.ac:67: -1- OL_PTHREAD_TRY([-lpthread -Wl,-woff,85], [ol_cv_pthread_lib_lpthread_woff]) m4trace:configure.ac:67: -2- OL_PTHREAD_TEST_INCLUDES m4trace:configure.ac:67: -2- OL_PTHREAD_TEST_FUNCTION m4trace:configure.ac:67: -1- OL_PTHREAD_TEST_PROGRAM m4trace:configure.ac:67: -1- OL_PTHREAD_TEST_INCLUDES m4trace:configure.ac:67: -1- OL_PTHREAD_TEST_FUNCTION m4trace:configure.ac:67: -1- OL_PTHREAD_TRY([-lpthread], [ol_cv_pthread_lpthread]) m4trace:configure.ac:67: -2- OL_PTHREAD_TEST_INCLUDES m4trace:configure.ac:67: -2- OL_PTHREAD_TEST_FUNCTION m4trace:configure.ac:67: -1- OL_PTHREAD_TEST_PROGRAM m4trace:configure.ac:67: -1- OL_PTHREAD_TEST_INCLUDES m4trace:configure.ac:67: -1- OL_PTHREAD_TEST_FUNCTION m4trace:configure.ac:67: -1- OL_PTHREAD_TRY([-lc_r], [ol_cv_pthread_lc_r]) m4trace:configure.ac:67: -2- OL_PTHREAD_TEST_INCLUDES m4trace:configure.ac:67: -2- OL_PTHREAD_TEST_FUNCTION m4trace:configure.ac:67: -1- OL_PTHREAD_TEST_PROGRAM m4trace:configure.ac:67: -1- OL_PTHREAD_TEST_INCLUDES m4trace:configure.ac:67: -1- OL_PTHREAD_TEST_FUNCTION m4trace:configure.ac:67: -1- OL_PTHREAD_TRY([-threads], [ol_cv_pthread_threads]) m4trace:configure.ac:67: -2- OL_PTHREAD_TEST_INCLUDES m4trace:configure.ac:67: -2- OL_PTHREAD_TEST_FUNCTION m4trace:configure.ac:67: -1- OL_PTHREAD_TEST_PROGRAM m4trace:configure.ac:67: -1- OL_PTHREAD_TEST_INCLUDES m4trace:configure.ac:67: -1- OL_PTHREAD_TEST_FUNCTION m4trace:configure.ac:67: -1- OL_PTHREAD_TRY([-lpthreads -lmach -lexc -lc_r], [ol_cv_pthread_lpthreads_lmach_lexc_lc_r]) m4trace:configure.ac:67: -2- OL_PTHREAD_TEST_INCLUDES m4trace:configure.ac:67: -2- OL_PTHREAD_TEST_FUNCTION m4trace:configure.ac:67: -1- OL_PTHREAD_TEST_PROGRAM m4trace:configure.ac:67: -1- OL_PTHREAD_TEST_INCLUDES m4trace:configure.ac:67: -1- OL_PTHREAD_TEST_FUNCTION m4trace:configure.ac:67: -1- OL_PTHREAD_TRY([-lpthreads -lmach -lexc], [ol_cv_pthread_lpthreads_lmach_lexc]) m4trace:configure.ac:67: -2- OL_PTHREAD_TEST_INCLUDES m4trace:configure.ac:67: -2- OL_PTHREAD_TEST_FUNCTION m4trace:configure.ac:67: -1- OL_PTHREAD_TEST_PROGRAM m4trace:configure.ac:67: -1- OL_PTHREAD_TEST_INCLUDES m4trace:configure.ac:67: -1- OL_PTHREAD_TEST_FUNCTION m4trace:configure.ac:67: -1- OL_PTHREAD_TRY([-lpthreads -lexc], [ol_cv_pthread_lpthreads_lexc]) m4trace:configure.ac:67: -2- OL_PTHREAD_TEST_INCLUDES m4trace:configure.ac:67: -2- OL_PTHREAD_TEST_FUNCTION m4trace:configure.ac:67: -1- OL_PTHREAD_TEST_PROGRAM m4trace:configure.ac:67: -1- OL_PTHREAD_TEST_INCLUDES m4trace:configure.ac:67: -1- OL_PTHREAD_TEST_FUNCTION m4trace:configure.ac:67: -1- OL_PTHREAD_TRY([-lpthreads], [ol_cv_pthread_lib_lpthreads]) m4trace:configure.ac:67: -2- OL_PTHREAD_TEST_INCLUDES m4trace:configure.ac:67: -2- OL_PTHREAD_TEST_FUNCTION m4trace:configure.ac:67: -1- OL_PTHREAD_TEST_PROGRAM m4trace:configure.ac:67: -1- OL_PTHREAD_TEST_INCLUDES m4trace:configure.ac:67: -1- OL_PTHREAD_TEST_FUNCTION m4trace:configure.ac:67: -1- m4_pattern_allow([^HAVE_SCHED_YIELD$]) m4trace:configure.ac:67: -1- m4_pattern_allow([^HAVE_PTHREAD_YIELD$]) m4trace:configure.ac:67: -1- m4_pattern_allow([^HAVE_THR_YIELD$]) m4trace:configure.ac:67: -1- m4_pattern_allow([^HAVE_SCHED_YIELD$]) m4trace:configure.ac:67: -1- m4_pattern_allow([^HAVE_PTHREAD_KILL$]) m4trace:configure.ac:67: -1- m4_pattern_allow([^HAVE_PTHREAD_RWLOCK_DESTROY$]) m4trace:configure.ac:67: -1- m4_pattern_allow([^HAVE_PTHREAD_DETACH$]) m4trace:configure.ac:67: -1- m4_pattern_allow([^HAVE_PTHREAD_SETCONCURRENCY$]) m4trace:configure.ac:67: -1- m4_pattern_allow([^HAVE_PTHREAD_GETCONCURRENCY$]) m4trace:configure.ac:67: -1- m4_pattern_allow([^HAVE_THR_SETCONCURRENCY$]) m4trace:configure.ac:67: -1- m4_pattern_allow([^HAVE_THR_GETCONCURRENCY$]) m4trace:configure.ac:67: -1- OL_SYS_LINUX_THREADS m4trace:configure.ac:67: -1- m4_pattern_allow([^HAVE_PTHREAD_KILL_OTHER_THREADS_NP$]) m4trace:configure.ac:67: -1- OL_LINUX_THREADS m4trace:configure.ac:67: -1- OL_PTHREAD_TEST_PROGRAM m4trace:configure.ac:67: -1- OL_PTHREAD_TEST_INCLUDES m4trace:configure.ac:67: -1- OL_PTHREAD_TEST_FUNCTION m4trace:configure.ac:67: -1- m4_pattern_allow([^REPLACE_BROKEN_YIELD$]) m4trace:configure.ac:67: -1- m4_pattern_allow([^HAVE_MACH_CTHREADS_H$]) m4trace:configure.ac:67: -1- m4_pattern_allow([^HAVE_CTHREADS_H$]) m4trace:configure.ac:67: -1- m4_pattern_allow([^HAVE_MACH_CTHREADS$]) m4trace:configure.ac:67: -1- m4_pattern_allow([^HAVE_PTH_H$]) m4trace:configure.ac:67: -1- m4_pattern_allow([^HAVE_GNU_PTH$]) m4trace:configure.ac:67: -1- m4_pattern_allow([^HAVE_THREAD_H$]) m4trace:configure.ac:67: -1- m4_pattern_allow([^HAVE_SYNCH_H$]) m4trace:configure.ac:67: -1- m4_pattern_allow([^HAVE_THR$]) m4trace:configure.ac:67: -1- m4_pattern_allow([^HAVE_THR_SETCONCURRENCY$]) m4trace:configure.ac:67: -1- m4_pattern_allow([^HAVE_THR_GETCONCURRENCY$]) m4trace:configure.ac:67: -1- m4_pattern_allow([^HAVE_LWP_LWP_H$]) m4trace:configure.ac:67: -1- m4_pattern_allow([^HAVE_LWP$]) m4trace:configure.ac:67: -1- m4_pattern_allow([^HAVE_YIELDING_SELECT$]) m4trace:configure.ac:67: -1- m4_pattern_allow([^HAVE_PTHREAD_H$]) m4trace:configure.ac:67: -1- m4_pattern_allow([^HAVE_SCHED_H$]) m4trace:configure.ac:67: -1- m4_pattern_allow([^HAVE_SCHED_YIELD$]) m4trace:configure.ac:67: -1- m4_pattern_allow([^HAVE_PTHREAD_YIELD$]) m4trace:configure.ac:67: -1- OL_HEADER_LINUX_THREADS m4trace:configure.ac:67: -1- m4_pattern_allow([^HAVE_LINUX_THREADS$]) m4trace:configure.ac:67: -1- m4_pattern_allow([^HAVE_MACH_CTHREADS_H$]) m4trace:configure.ac:67: -1- m4_pattern_allow([^HAVE_LWP_LWP_H$]) m4trace:configure.ac:67: -1- m4_pattern_allow([^HAVE_THREAD_H$]) m4trace:configure.ac:67: -1- m4_pattern_allow([^HAVE_SYNCH_H$]) m4trace:configure.ac:67: -1- m4_pattern_allow([^REENTRANT$]) m4trace:configure.ac:67: -1- m4_pattern_allow([^_REENTRANT$]) m4trace:configure.ac:67: -1- m4_pattern_allow([^THREAD_SAFE$]) m4trace:configure.ac:67: -1- m4_pattern_allow([^_THREAD_SAFE$]) m4trace:configure.ac:67: -1- m4_pattern_allow([^THREADSAFE$]) m4trace:configure.ac:67: -1- m4_pattern_allow([^_THREADSAFE$]) m4trace:configure.ac:67: -1- m4_pattern_allow([^_SGI_MP_SOURCE$]) m4trace:configure.ac:67: -1- m4_pattern_allow([^NO_THREADS$]) m4trace:configure.ac:67: -1- m4_pattern_allow([^LDAP_API_FEATURE_X_OPENLDAP_THREAD_SAFE$]) m4trace:configure.ac:67: -2- m4_pattern_allow([^HAVE_PTHREAD$]) m4trace:configure.ac:67: -1- m4_pattern_allow([^BUILD_THREAD$]) m4trace:configure.ac:67: -1- m4_pattern_allow([^LTHREAD_LIBS$]) m4trace:configure.ac:67: -1- m4_pattern_allow([^HAVE_SEM_TIMEDWAIT$]) m4trace:configure.ac:67: -1- m4_pattern_allow([^PTHREAD_LIBS$]) m4trace:configure.ac:67: -1- m4_pattern_allow([^SIZEOF_PTHREAD_T$]) m4trace:configure.ac:67: -1- m4_pattern_allow([^ISC_PLATFORM_USETHREADS$]) m4trace:configure.ac:67: -1- m4_pattern_allow([^HAVE_SIGWAIT$]) m4trace:configure.ac:67: -1- m4_pattern_allow([^HAVE_PTHREAD_ATTR_GETSTACKSIZE$]) m4trace:configure.ac:67: -1- m4_pattern_allow([^HAVE_PTHREAD_ATTR_SETSTACKSIZE$]) m4trace:configure.ac:67: -1- m4_pattern_allow([^HAVE_SYSCONF$]) m4trace:configure.ac:67: -1- m4_pattern_allow([^NEED_PTHREAD_SCOPE_SYSTEM$]) m4trace:configure.ac:67: -1- m4_pattern_allow([^NEED_PTHREAD_INIT$]) m4trace:configure.ac:67: -1- m4_pattern_allow([^HAVE_LINUXTHREADS$]) m4trace:configure.ac:67: -1- m4_pattern_allow([^_POSIX_PTHREAD_SEMANTICS$]) m4trace:configure.ac:67: -1- m4_pattern_allow([^HAVE_PTHREAD_SETCONCURRENCY$]) m4trace:configure.ac:67: -1- m4_pattern_allow([^CALL_PTHREAD_SETCONCURRENCY$]) m4trace:configure.ac:67: -1- m4_pattern_allow([^HAVE_UNIXWARE_SIGWAIT$]) m4trace:configure.ac:67: -1- m4_pattern_allow([^ISC_PLATFORM_BRACEPTHREADONCEINIT$]) m4trace:configure.ac:67: -1- m4_pattern_allow([^LIBISC_PTHREADS_NOTHREADS$]) m4trace:configure.ac:67: -1- AM_CONDITIONAL([PTHREADS], [test "$have_pthreads" != "no"]) m4trace:configure.ac:67: -1- m4_pattern_allow([^PTHREADS_TRUE$]) m4trace:configure.ac:67: -1- m4_pattern_allow([^PTHREADS_FALSE$]) m4trace:configure.ac:67: -1- _AM_SUBST_NOTMAKE([PTHREADS_TRUE]) m4trace:configure.ac:67: -1- _AM_SUBST_NOTMAKE([PTHREADS_FALSE]) m4trace:configure.ac:67: -1- AC_DEFUN([NTP_BEFORE_HW_FUNC_VSNPRINTF], [ AC_BEFORE([NTP_LIBNTP], [HW_FUNC_VSNPRINTF])dnl AC_BEFORE([NTP_LIBNTP], [HW_FUNC_SNPRINTF])dnl AC_ARG_ENABLE( [c99-snprintf], [AS_HELP_STRING([--enable-c99-snprintf], [s force replacement])], [force_c99_snprintf=$enableval], [force_c99_snprintf=no] ) case "$force_c99_snprintf" in yes) hw_force_rpl_snprintf=yes hw_force_rpl_vsnprintf=yes esac AH_VERBATIM( [snprinte],dnl sorted in config.h just before #define snprintf [ #if !defined(_KERNEL) && !defined(PARSESTREAM) /* * stdio.h must be included after _GNU_SOURCE is defined * but before #define snprintf rpl_snprintf */ # include #endif ]) AH_BOTTOM([ #if !defined(_KERNEL) && !defined(PARSESTREAM) # if defined(HW_WANT_RPL_VSNPRINTF) # if defined(__cplusplus) extern "C" { # endif # include int rpl_vsnprintf(char *, size_t, const char *, va_list); # if defined(__cplusplus) } # endif # endif # if defined(HW_WANT_RPL_SNPRINTF) # if defined(__cplusplus) extern "C" { # endif int rpl_snprintf(char *, size_t, const char *, ...); # if defined(__cplusplus) } # endif # endif #endif /* !defined(_KERNEL) && !defined(PARSESTREAM) */ ]) ]) m4trace:configure.ac:67: -1- AC_DEFUN([NTP_C99_SNPRINTF], [ AC_REQUIRE([NTP_BEFORE_HW_FUNC_VSNPRINTF])dnl AC_REQUIRE([HW_FUNC_VSNPRINTF])dnl AC_REQUIRE([HW_FUNC_SNPRINTF])dnl ]) m4trace:configure.ac:67: -1- NTP_C99_SNPRINTF m4trace:configure.ac:67: -1- NTP_BEFORE_HW_FUNC_VSNPRINTF m4trace:configure.ac:67: -1- HW_FUNC_VSNPRINTF m4trace:configure.ac:67: -1- HW_HEADER_STDARG_H m4trace:configure.ac:67: -1- AC_DEFUN([_AC_Header_stdarg_h], [m4_divert_text([INIT_PREPARE], [AS_VAR_APPEND([ac_header_]]_AC_LANG_ABBREV[[_list], [" stdarg.h ]AS_TR_SH([stdarg.h]) AS_TR_CPP([HAVE_stdarg.h])["])])_AC_HEADERS_EXPANSION(_AC_LANG_ABBREV)]) m4trace:configure.ac:67: -1- m4_pattern_allow([^HAVE_VSNPRINTF$]) m4trace:configure.ac:67: -1- m4_pattern_allow([^HW_WANT_RPL_VSNPRINTF$]) m4trace:configure.ac:67: -1- m4_pattern_allow([^vsnprintf$]) m4trace:configure.ac:67: -1- m4_pattern_allow([^HAVE_INTTYPES_H$]) m4trace:configure.ac:67: -1- m4_pattern_allow([^HAVE_LOCALE_H$]) m4trace:configure.ac:67: -1- m4_pattern_allow([^HAVE_STDDEF_H$]) m4trace:configure.ac:67: -1- m4_pattern_allow([^HAVE_STDINT_H$]) m4trace:configure.ac:67: -1- m4_pattern_allow([^HAVE_STRUCT_LCONV_DECIMAL_POINT$]) m4trace:configure.ac:67: -1- m4_pattern_allow([^HAVE_STRUCT_LCONV_THOUSANDS_SEP$]) m4trace:configure.ac:67: -1- m4_pattern_allow([^HAVE_LONG_DOUBLE$]) m4trace:configure.ac:67: -1- m4_pattern_allow([^HAVE_UNSIGNED_LONG_LONG_INT$]) m4trace:configure.ac:67: -1- m4_pattern_allow([^HAVE_LONG_LONG_INT$]) m4trace:configure.ac:67: -1- m4_pattern_allow([^HAVE_UNSIGNED_LONG_LONG_INT$]) m4trace:configure.ac:67: -1- m4_pattern_allow([^size_t$]) m4trace:configure.ac:67: -1- m4_pattern_allow([^HAVE_INTMAX_T$]) m4trace:configure.ac:67: -1- m4_pattern_allow([^intmax_t$]) m4trace:configure.ac:67: -1- m4_pattern_allow([^HAVE_UINTMAX_T$]) m4trace:configure.ac:67: -1- m4_pattern_allow([^uintmax_t$]) m4trace:configure.ac:67: -1- m4_pattern_allow([^HAVE_UINTPTR_T$]) m4trace:configure.ac:67: -1- m4_pattern_allow([^uintptr_t$]) m4trace:configure.ac:67: -1- m4_pattern_allow([^HAVE_PTRDIFF_T$]) m4trace:configure.ac:67: -1- m4_pattern_allow([^HAVE_LOCALECONV$]) m4trace:configure.ac:67: -1- _HW_FUNC_XPRINTF_REPLACE m4trace:configure.ac:67: -1- m4_pattern_allow([^const$]) m4trace:configure.ac:67: -1- HW_HEADER_STDARG_H m4trace:configure.ac:67: -1- AC_DEFUN([_AC_Header_stdarg_h], [m4_divert_text([INIT_PREPARE], [AS_VAR_APPEND([ac_header_]]_AC_LANG_ABBREV[[_list], [" stdarg.h ]AS_TR_SH([stdarg.h]) AS_TR_CPP([HAVE_stdarg.h])["])])_AC_HEADERS_EXPANSION(_AC_LANG_ABBREV)]) m4trace:configure.ac:67: -1- m4_pattern_allow([^LIB@&t@OBJS$]) m4trace:configure.ac:67: -1- HW_FUNC_SNPRINTF m4trace:configure.ac:67: -1- m4_pattern_allow([^HAVE_SNPRINTF$]) m4trace:configure.ac:67: -1- m4_pattern_allow([^HW_WANT_RPL_SNPRINTF$]) m4trace:configure.ac:67: -1- m4_pattern_allow([^snprintf$]) m4trace:configure.ac:67: -1- _HW_FUNC_XPRINTF_REPLACE m4trace:configure.ac:67: -1- m4_pattern_allow([^const$]) m4trace:configure.ac:67: -1- HW_HEADER_STDARG_H m4trace:configure.ac:67: -1- AC_DEFUN([_AC_Header_stdarg_h], [m4_divert_text([INIT_PREPARE], [AS_VAR_APPEND([ac_header_]]_AC_LANG_ABBREV[[_list], [" stdarg.h ]AS_TR_SH([stdarg.h]) AS_TR_CPP([HAVE_stdarg.h])["])])_AC_HEADERS_EXPANSION(_AC_LANG_ABBREV)]) m4trace:configure.ac:67: -1- m4_pattern_allow([^LIB@&t@OBJS$]) m4trace:configure.ac:67: -1- m4_pattern_allow([^VSNPRINTF_PERCENT_M$]) m4trace:configure.ac:67: -1- m4_pattern_allow([^HAVE_SYS_CLOCKCTL_H$]) m4trace:configure.ac:67: -1- m4_pattern_allow([^HAVE_SYS_CAPABILITY_H$]) m4trace:configure.ac:67: -1- m4_pattern_allow([^HAVE_SYS_PRCTL_H$]) m4trace:configure.ac:67: -1- m4_pattern_allow([^HAVE_LINUX_CAPABILITIES$]) m4trace:configure.ac:67: -1- m4_pattern_allow([^HAVE_PRIV_H$]) m4trace:configure.ac:67: -1- m4_pattern_allow([^HAVE_SOLARIS_PRIVS$]) m4trace:configure.ac:67: -1- m4_pattern_allow([^HAVE_SYS_MAC_H$]) m4trace:configure.ac:67: -1- m4_pattern_allow([^HAVE_TRUSTEDBSD_MAC$]) m4trace:configure.ac:67: -1- m4_pattern_allow([^HAVE_DROPROOT$]) m4trace:configure.ac:67: -1- m4_pattern_allow([^HAVE_SYS_TYPES_H$]) m4trace:configure.ac:67: -1- m4_pattern_allow([^HAVE_NETINET_IN_H$]) m4trace:configure.ac:67: -1- m4_pattern_allow([^HAVE_ARPA_NAMESER_H$]) m4trace:configure.ac:67: -1- m4_pattern_allow([^HAVE_NETDB_H$]) m4trace:configure.ac:67: -1- m4_pattern_allow([^HAVE_RESOLV_H$]) m4trace:configure.ac:67: -1- m4_pattern_allow([^HAVE_RES_INIT$]) m4trace:configure.ac:67: -1- m4_pattern_allow([^HAVE___RES_INIT$]) m4trace:configure.ac:67: -1- m4_pattern_allow([^ISC_PLATFORM_NEEDNTOP$]) m4trace:configure.ac:67: -1- m4_pattern_allow([^ISC_PLATFORM_NEEDPTON$]) m4trace:configure.ac:67: -1- m4_pattern_allow([^HAVE_UINTPTR_T$]) m4trace:configure.ac:67: -1- m4_pattern_allow([^HAVE_INT32$]) m4trace:configure.ac:67: -1- m4_pattern_allow([^HAVE_U_INT32$]) m4trace:configure.ac:67: -1- m4_pattern_allow([^HAVE_INT32_ONLY_WITH_DNS$]) m4trace:configure.ac:67: -1- m4_pattern_allow([^HAVE_U_INT32_ONLY_WITH_DNS$]) m4trace:configure.ac:67: -1- m4_pattern_allow([^HAVE_SYS_TIMEPPS_H$]) m4trace:configure.ac:67: -1- m4_pattern_allow([^HAVE_STRUCT_TIMESPEC$]) m4trace:configure.ac:67: -1- m4_pattern_allow([^HAVE_STRUCT_NTPTIMEVAL$]) m4trace:configure.ac:67: -1- m4_pattern_allow([^HAVE_MD5_H$]) m4trace:configure.ac:67: -1- m4_pattern_allow([^HAVE_MD5INIT$]) m4trace:configure.ac:67: -1- m4_pattern_allow([^HAVE_SYSCONF$]) m4trace:configure.ac:67: -1- m4_pattern_allow([^HAVE_GETDTABLESIZE$]) m4trace:configure.ac:67: -1- m4_pattern_allow([^HAVE_SIGACTION$]) m4trace:configure.ac:67: -1- m4_pattern_allow([^HAVE_SIGSET$]) m4trace:configure.ac:67: -1- m4_pattern_allow([^HAVE_SIGVEC$]) m4trace:configure.ac:67: -1- m4_pattern_allow([^HAVE_SIGNALED_IO$]) m4trace:configure.ac:67: -1- m4_pattern_allow([^USE_UDP_SIGPOLL$]) m4trace:configure.ac:67: -1- m4_pattern_allow([^USE_TTY_SIGPOLL$]) m4trace:configure.ac:67: -1- m4_pattern_allow([^SYSV_TIMEOFDAY$]) m4trace:configure.ac:67: -1- m4_pattern_allow([^HAVE_SETTIMEOFDAY$]) m4trace:configure.ac:69: -1- AC_DISABLE_SHARED m4trace:configure.ac:70: -1- AC_PROG_LIBTOOL m4trace:configure.ac:70: -1- _m4_warn([obsolete], [The macro `AC_PROG_LIBTOOL' is obsolete. You should run autoupdate.], [m4/libtool.m4:99: AC_PROG_LIBTOOL is expanded from... configure.ac:70: the top level]) m4trace:configure.ac:70: -1- LT_INIT m4trace:configure.ac:70: -1- m4_pattern_forbid([^_?LT_[A-Z_]+$]) m4trace:configure.ac:70: -1- m4_pattern_allow([^(_LT_EOF|LT_DLGLOBAL|LT_DLLAZY_OR_NOW|LT_MULTI_MODULE)$]) m4trace:configure.ac:70: -1- LTOPTIONS_VERSION m4trace:configure.ac:70: -1- LTSUGAR_VERSION m4trace:configure.ac:70: -1- LTVERSION_VERSION m4trace:configure.ac:70: -1- LTOBSOLETE_VERSION m4trace:configure.ac:70: -1- _LT_PROG_LTMAIN m4trace:configure.ac:70: -1- m4_pattern_allow([^LIBTOOL$]) m4trace:configure.ac:70: -1- _LT_PREPARE_SED_QUOTE_VARS m4trace:configure.ac:70: -1- LT_PATH_NM m4trace:configure.ac:70: -1- m4_pattern_allow([^DUMPBIN$]) m4trace:configure.ac:70: -1- m4_pattern_allow([^ac_ct_DUMPBIN$]) m4trace:configure.ac:70: -1- m4_pattern_allow([^DUMPBIN$]) m4trace:configure.ac:70: -1- m4_pattern_allow([^NM$]) m4trace:configure.ac:70: -1- m4_pattern_allow([^LN_S$]) m4trace:configure.ac:70: -1- LT_CMD_MAX_LEN m4trace:configure.ac:70: -1- m4_pattern_allow([^OBJDUMP$]) m4trace:configure.ac:70: -1- m4_pattern_allow([^OBJDUMP$]) m4trace:configure.ac:70: -1- m4_pattern_allow([^DLLTOOL$]) m4trace:configure.ac:70: -1- m4_pattern_allow([^DLLTOOL$]) m4trace:configure.ac:70: -1- m4_pattern_allow([^AR$]) m4trace:configure.ac:70: -1- m4_pattern_allow([^ac_ct_AR$]) m4trace:configure.ac:70: -1- m4_pattern_allow([^STRIP$]) m4trace:configure.ac:70: -1- m4_pattern_allow([^RANLIB$]) m4trace:configure.ac:70: -1- _LT_WITH_SYSROOT m4trace:configure.ac:70: -1- m4_pattern_allow([LT_OBJDIR]) m4trace:configure.ac:70: -1- m4_pattern_allow([^LT_OBJDIR$]) m4trace:configure.ac:70: -1- _LT_CC_BASENAME([$compiler]) m4trace:configure.ac:70: -1- _LT_PATH_TOOL_PREFIX([${ac_tool_prefix}file], [/usr/bin$PATH_SEPARATOR$PATH]) m4trace:configure.ac:70: -1- _LT_PATH_TOOL_PREFIX([file], [/usr/bin$PATH_SEPARATOR$PATH]) m4trace:configure.ac:70: -1- LT_SUPPORTED_TAG([CC]) m4trace:configure.ac:70: -1- _LT_COMPILER_BOILERPLATE m4trace:configure.ac:70: -1- _LT_LINKER_BOILERPLATE m4trace:configure.ac:70: -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:70: -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:70: -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:70: -1- m4_pattern_allow([^MANIFEST_TOOL$]) m4trace:configure.ac:70: -1- _LT_DLL_DEF_P([$export_symbols]) m4trace:configure.ac:70: -1- _LT_DLL_DEF_P([$export_symbols]) m4trace:configure.ac:70: -1- _LT_REQUIRED_DARWIN_CHECKS m4trace:configure.ac:70: -1- m4_pattern_allow([^DSYMUTIL$]) m4trace:configure.ac:70: -1- m4_pattern_allow([^NMEDIT$]) m4trace:configure.ac:70: -1- m4_pattern_allow([^LIPO$]) m4trace:configure.ac:70: -1- m4_pattern_allow([^OTOOL$]) m4trace:configure.ac:70: -1- m4_pattern_allow([^OTOOL64$]) m4trace:configure.ac:70: -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:70: -1- m4_pattern_allow([^LT_SYS_LIBRARY_PATH$]) m4trace:configure.ac:70: -1- LT_SYS_DLOPEN_SELF m4trace:configure.ac:70: -1- m4_pattern_allow([^HAVE_DLFCN_H$]) m4trace:configure.ac:71: -1- m4_pattern_allow([^LIBTOOL_DEPS$]) m4trace:configure.ac:73: -1- NTP_WITHSNTP m4trace:configure.ac:73: -1- m4_pattern_allow([^SNTP$]) m4trace:configure.ac:73: -1- AM_CONDITIONAL([BUILD_SNTP], [test -n "$SNTP"]) m4trace:configure.ac:73: -1- m4_pattern_allow([^BUILD_SNTP_TRUE$]) m4trace:configure.ac:73: -1- m4_pattern_allow([^BUILD_SNTP_FALSE$]) m4trace:configure.ac:73: -1- _AM_SUBST_NOTMAKE([BUILD_SNTP_TRUE]) m4trace:configure.ac:73: -1- _AM_SUBST_NOTMAKE([BUILD_SNTP_FALSE]) m4trace:configure.ac:99: -1- LIBOPTS_CHECK m4trace:configure.ac:99: -1- LIBOPTS_CHECK_COMMON([libopts]) m4trace:configure.ac:99: -1- INVOKE_LIBOPTS_MACROS_FIRST m4trace:configure.ac:99: -1- _m4_warn([obsolete], [The macro `AC_HEADER_STDC' is obsolete. You should run autoupdate.], [./lib/autoconf/headers.m4:704: AC_HEADER_STDC is expanded from... libopts/m4/libopts.m4:11: INVOKE_LIBOPTS_MACROS_FIRST is expanded from... libopts/m4/libopts.m4:482: LIBOPTS_CHECK_COMMON is expanded from... libopts/m4/libopts.m4:582: LIBOPTS_CHECK is expanded from... configure.ac:99: the top level]) m4trace:configure.ac:99: -1- AC_PROG_EGREP m4trace:configure.ac:99: -1- m4_pattern_allow([^EGREP$]) m4trace:configure.ac:99: -1- m4_pattern_allow([^HAVE_SYS_MMAN_H$]) m4trace:configure.ac:99: -1- m4_pattern_allow([^HAVE_SYS_PARAM_H$]) m4trace:configure.ac:99: -1- m4_pattern_allow([^HAVE_SYS_POLL_H$]) m4trace:configure.ac:99: -1- m4_pattern_allow([^HAVE_SYS_PROCSET_H$]) m4trace:configure.ac:99: -1- m4_pattern_allow([^HAVE_SYS_SELECT_H$]) m4trace:configure.ac:99: -1- m4_pattern_allow([^HAVE_SYS_SOCKET_H$]) m4trace:configure.ac:99: -1- m4_pattern_allow([^HAVE_SYS_STROPTS_H$]) m4trace:configure.ac:99: -1- m4_pattern_allow([^HAVE_SYS_TIME_H$]) m4trace:configure.ac:99: -1- m4_pattern_allow([^HAVE_SYS_UN_H$]) m4trace:configure.ac:99: -1- m4_pattern_allow([^HAVE_SYS_WAIT_H$]) m4trace:configure.ac:99: -1- m4_pattern_allow([^HAVE_DLFCN_H$]) m4trace:configure.ac:99: -1- m4_pattern_allow([^HAVE_ERRNO_H$]) m4trace:configure.ac:99: -1- m4_pattern_allow([^HAVE_FCNTL_H$]) m4trace:configure.ac:99: -1- m4_pattern_allow([^HAVE_LIBGEN_H$]) m4trace:configure.ac:99: -1- m4_pattern_allow([^HAVE_LIBINTL_H$]) m4trace:configure.ac:99: -1- m4_pattern_allow([^HAVE_MEMORY_H$]) m4trace:configure.ac:99: -1- m4_pattern_allow([^HAVE_NETINET_IN_H$]) m4trace:configure.ac:99: -1- m4_pattern_allow([^HAVE_SETJMP_H$]) m4trace:configure.ac:99: -1- m4_pattern_allow([^HAVE_STDBOOL_H$]) m4trace:configure.ac:99: -1- m4_pattern_allow([^HAVE_SYSEXITS_H$]) m4trace:configure.ac:99: -1- m4_pattern_allow([^HAVE_UNISTD_H$]) m4trace:configure.ac:99: -1- m4_pattern_allow([^HAVE_UTIME_H$]) m4trace:configure.ac:99: -1- gl_STDNORETURN_H m4trace:configure.ac:99: -1- m4_pattern_allow([^STDNORETURN_H$]) m4trace:configure.ac:99: -1- AM_CONDITIONAL([GL_GENERATE_STDNORETURN_H], [test -n "$STDNORETURN_H"]) m4trace:configure.ac:99: -1- m4_pattern_allow([^GL_GENERATE_STDNORETURN_H_TRUE$]) m4trace:configure.ac:99: -1- m4_pattern_allow([^GL_GENERATE_STDNORETURN_H_FALSE$]) m4trace:configure.ac:99: -1- _AM_SUBST_NOTMAKE([GL_GENERATE_STDNORETURN_H_TRUE]) m4trace:configure.ac:99: -1- _AM_SUBST_NOTMAKE([GL_GENERATE_STDNORETURN_H_FALSE]) m4trace:configure.ac:99: -1- m4_pattern_allow([^HAVE_RUNETYPE_H$]) m4trace:configure.ac:99: -1- m4_pattern_allow([^HAVE_WCHAR_H$]) m4trace:configure.ac:99: -1- m4_pattern_allow([^ENABLE_NLS$]) m4trace:configure.ac:99: -1- m4_pattern_allow([^HAVE_WCHAR_T$]) m4trace:configure.ac:99: -1- m4_pattern_allow([^HAVE_WINT_T$]) m4trace:configure.ac:99: -1- m4_pattern_allow([^HAVE_INT8_T$]) m4trace:configure.ac:99: -1- m4_pattern_allow([^HAVE_UINT8_T$]) m4trace:configure.ac:99: -1- m4_pattern_allow([^HAVE_INT16_T$]) m4trace:configure.ac:99: -1- m4_pattern_allow([^HAVE_UINT16_T$]) m4trace:configure.ac:99: -1- m4_pattern_allow([^HAVE_INT32_T$]) m4trace:configure.ac:99: -1- m4_pattern_allow([^HAVE_UINT32_T$]) m4trace:configure.ac:99: -1- m4_pattern_allow([^HAVE_INTPTR_T$]) m4trace:configure.ac:99: -1- m4_pattern_allow([^HAVE_UINTPTR_T$]) m4trace:configure.ac:99: -1- m4_pattern_allow([^HAVE_UINT_T$]) m4trace:configure.ac:99: -1- m4_pattern_allow([^HAVE_PID_T$]) m4trace:configure.ac:99: -1- m4_pattern_allow([^HAVE_SIZE_T$]) m4trace:configure.ac:99: -1- m4_pattern_allow([^HAVE_PTRDIFF_T$]) m4trace:configure.ac:99: -1- m4_pattern_allow([^SIZEOF_CHAR_P$]) m4trace:configure.ac:99: -1- m4_pattern_allow([^SIZEOF_INT$]) m4trace:configure.ac:99: -1- m4_pattern_allow([^SIZEOF_LONG$]) m4trace:configure.ac:99: -1- m4_pattern_allow([^SIZEOF_SHORT$]) m4trace:configure.ac:99: -1- m4_pattern_allow([^HAVE_LIBGEN$]) m4trace:configure.ac:99: -1- m4_pattern_allow([^HAVE_LIBINTL$]) m4trace:configure.ac:99: -1- AC_DEFUN([_AC_Func_vprintf], [m4_divert_text([INIT_PREPARE], [AS_VAR_APPEND([ac_func_]]_AC_LANG_ABBREV[[_list], [" vprintf ]AS_TR_CPP([HAVE_vprintf])["])])_AC_FUNCS_EXPANSION(_AC_LANG_ABBREV)]) m4trace:configure.ac:99: -1- m4_pattern_allow([^HAVE_DOPRNT$]) m4trace:configure.ac:99: -1- AC_DEFUN([_AC_Header_vfork_h], [m4_divert_text([INIT_PREPARE], [AS_VAR_APPEND([ac_header_]]_AC_LANG_ABBREV[[_list], [" vfork.h ]AS_TR_SH([vfork.h]) AS_TR_CPP([HAVE_vfork.h])["])])_AC_HEADERS_EXPANSION(_AC_LANG_ABBREV)]) m4trace:configure.ac:99: -1- AC_DEFUN([_AC_Func_fork], [m4_divert_text([INIT_PREPARE], [AS_VAR_APPEND([ac_func_]]_AC_LANG_ABBREV[[_list], [" fork ]AS_TR_CPP([HAVE_fork])["])])_AC_FUNCS_EXPANSION(_AC_LANG_ABBREV)]) m4trace:configure.ac:99: -1- AC_DEFUN([_AC_Func_vfork], [m4_divert_text([INIT_PREPARE], [AS_VAR_APPEND([ac_func_]]_AC_LANG_ABBREV[[_list], [" vfork ]AS_TR_CPP([HAVE_vfork])["])])_AC_FUNCS_EXPANSION(_AC_LANG_ABBREV)]) m4trace:configure.ac:99: -1- m4_pattern_allow([^HAVE_WORKING_VFORK$]) m4trace:configure.ac:99: -1- m4_pattern_allow([^vfork$]) m4trace:configure.ac:99: -1- m4_pattern_allow([^HAVE_WORKING_FORK$]) m4trace:configure.ac:99: -1- m4_pattern_allow([^HAVE_MMAP$]) m4trace:configure.ac:99: -1- m4_pattern_allow([^HAVE_CANONICALIZE_FILE_NAME$]) m4trace:configure.ac:99: -1- m4_pattern_allow([^HAVE_SNPRINTF$]) m4trace:configure.ac:99: -1- m4_pattern_allow([^HAVE_STRDUP$]) m4trace:configure.ac:99: -1- m4_pattern_allow([^HAVE_STRCHR$]) m4trace:configure.ac:99: -1- m4_pattern_allow([^HAVE_STRRCHR$]) m4trace:configure.ac:99: -1- m4_pattern_allow([^HAVE_STRSIGNAL$]) m4trace:configure.ac:99: -1- m4_pattern_allow([^HAVE_FCHMOD$]) m4trace:configure.ac:99: -1- m4_pattern_allow([^HAVE_FSTAT$]) m4trace:configure.ac:99: -1- m4_pattern_allow([^HAVE_CHMOD$]) m4trace:configure.ac:99: -1- m4_pattern_allow([^SED$]) m4trace:configure.ac:99: -1- m4_pattern_allow([^POSIX_SHELL$]) m4trace:configure.ac:99: -1- m4_pattern_allow([^POSIX_SHELL$]) m4trace:configure.ac:99: -2- _m4_warn([obsolete], [The macro `AC_HELP_STRING' is obsolete. You should run autoupdate.], [./lib/autoconf/general.m4:204: AC_HELP_STRING is expanded from... libopts/m4/libopts.m4:482: LIBOPTS_CHECK_COMMON is expanded from... libopts/m4/libopts.m4:582: LIBOPTS_CHECK is expanded from... configure.ac:99: the top level]) m4trace:configure.ac:99: -2- _m4_warn([obsolete], [The macro `AC_HELP_STRING' is obsolete. You should run autoupdate.], [./lib/autoconf/general.m4:204: AC_HELP_STRING is expanded from... libopts/m4/libopts.m4:482: LIBOPTS_CHECK_COMMON is expanded from... libopts/m4/libopts.m4:582: LIBOPTS_CHECK is expanded from... configure.ac:99: the top level]) m4trace:configure.ac:99: -1- AM_CONDITIONAL([INSTALL_LIBOPTS], [test "X${enable_libopts_install}" = Xyes]) m4trace:configure.ac:99: -1- m4_pattern_allow([^INSTALL_LIBOPTS_TRUE$]) m4trace:configure.ac:99: -1- m4_pattern_allow([^INSTALL_LIBOPTS_FALSE$]) m4trace:configure.ac:99: -1- _AM_SUBST_NOTMAKE([INSTALL_LIBOPTS_TRUE]) m4trace:configure.ac:99: -1- _AM_SUBST_NOTMAKE([INSTALL_LIBOPTS_FALSE]) m4trace:configure.ac:99: -2- _m4_warn([obsolete], [The macro `AC_HELP_STRING' is obsolete. You should run autoupdate.], [./lib/autoconf/general.m4:204: AC_HELP_STRING is expanded from... libopts/m4/libopts.m4:482: LIBOPTS_CHECK_COMMON is expanded from... libopts/m4/libopts.m4:582: LIBOPTS_CHECK is expanded from... configure.ac:99: the top level]) m4trace:configure.ac:99: -1- AM_CONDITIONAL([NEED_LIBOPTS], [test -n "${NEED_LIBOPTS_DIR}"]) m4trace:configure.ac:99: -1- m4_pattern_allow([^NEED_LIBOPTS_TRUE$]) m4trace:configure.ac:99: -1- m4_pattern_allow([^NEED_LIBOPTS_FALSE$]) m4trace:configure.ac:99: -1- _AM_SUBST_NOTMAKE([NEED_LIBOPTS_TRUE]) m4trace:configure.ac:99: -1- _AM_SUBST_NOTMAKE([NEED_LIBOPTS_FALSE]) m4trace:configure.ac:99: -1- m4_pattern_allow([^LIBOPTS_LDADD$]) m4trace:configure.ac:99: -1- m4_pattern_allow([^LIBOPTS_CFLAGS$]) m4trace:configure.ac:99: -1- m4_pattern_allow([^LIBOPTS_DIR$]) m4trace:configure.ac:99: -1- AM_COND_IF([NEED_LIBOPTS], [ INVOKE_LIBOPTS_MACROS ]) m4trace:configure.ac:99: -1- INVOKE_LIBOPTS_MACROS m4trace:configure.ac:99: -1- LIBOPTS_WITH_REGEX_HEADER m4trace:configure.ac:99: -1- m4_pattern_allow([^REGEX_HEADER$]) m4trace:configure.ac:99: -1- m4_pattern_allow([^REGEX_HEADER$]) m4trace:configure.ac:99: -1- LIBOPTS_WITHLIB_REGEX m4trace:configure.ac:99: -1- m4_pattern_allow([^WITH_LIBREGEX$]) m4trace:configure.ac:99: -1- LIBOPTS_RUN_PATHFIND m4trace:configure.ac:99: -1- m4_pattern_allow([^HAVE_PATHFIND$]) m4trace:configure.ac:99: -1- LIBOPTS_TEST_DEV_ZERO m4trace:configure.ac:99: -1- m4_pattern_allow([^HAVE_DEV_ZERO$]) m4trace:configure.ac:99: -1- LIBOPTS_RUN_REALPATH m4trace:configure.ac:99: -1- m4_pattern_allow([^HAVE_REALPATH$]) m4trace:configure.ac:99: -1- LIBOPTS_RUN_STRFTIME m4trace:configure.ac:99: -1- m4_pattern_allow([^HAVE_STRFTIME$]) m4trace:configure.ac:99: -1- LIBOPTS_RUN_FOPEN_BINARY m4trace:configure.ac:99: -1- m4_pattern_allow([^FOPEN_BINARY_FLAG$]) m4trace:configure.ac:99: -1- m4_pattern_allow([^FOPEN_BINARY_FLAG$]) m4trace:configure.ac:99: -1- LIBOPTS_RUN_FOPEN_TEXT m4trace:configure.ac:99: -1- m4_pattern_allow([^FOPEN_TEXT_FLAG$]) m4trace:configure.ac:99: -1- m4_pattern_allow([^FOPEN_TEXT_FLAG$]) m4trace:configure.ac:99: -1- LIBOPTS_DISABLE_OPTIONAL_ARGS m4trace:configure.ac:99: -1- m4_pattern_allow([^NO_OPTIONAL_OPT_ARGS$]) m4trace:configure.ac:108: -1- NTP_LIBEVENT_CHECK([2]) m4trace:configure.ac:108: -1- m4_pattern_allow([^NTP_FORCE_LIBEVENT_DIST$]) m4trace:configure.ac:108: -1- NTP_LIBEVENT_CHECK_NOBUILD([2], []) m4trace:configure.ac:108: -1- NTP_PKG_CONFIG m4trace:configure.ac:108: -1- m4_pattern_allow([^PKG_CONFIG$]) m4trace:configure.ac:108: -1- NTP_ENABLE_LOCAL_LIBEVENT m4trace:configure.ac:108: -1- _m4_warn([obsolete], [The macro `AC_HELP_STRING' is obsolete. You should run autoupdate.], [./lib/autoconf/general.m4:204: AC_HELP_STRING is expanded from... ./lib/autoconf/general.m4:1534: AC_ARG_ENABLE is expanded from... m4/ntp_libevent.m4:31: NTP_ENABLE_LOCAL_LIBEVENT is expanded from... m4/ntp_libevent.m4:60: NTP_LIBEVENT_CHECK_NOBUILD is expanded from... m4/ntp_libevent.m4:163: NTP_LIBEVENT_CHECK is expanded from... configure.ac:108: the top level]) m4trace:configure.ac:108: -1- m4_pattern_allow([^CFLAGS_LIBEVENT$]) m4trace:configure.ac:108: -1- m4_pattern_allow([^CPPFLAGS_LIBEVENT$]) m4trace:configure.ac:108: -1- m4_pattern_allow([^LDADD_LIBEVENT$]) m4trace:configure.ac:108: -1- AM_CONDITIONAL([BUILD_LIBEVENT], [test "x$ntp_use_local_libevent" = "xyes"]) m4trace:configure.ac:108: -1- m4_pattern_allow([^BUILD_LIBEVENT_TRUE$]) m4trace:configure.ac:108: -1- m4_pattern_allow([^BUILD_LIBEVENT_FALSE$]) m4trace:configure.ac:108: -1- _AM_SUBST_NOTMAKE([BUILD_LIBEVENT_TRUE]) m4trace:configure.ac:108: -1- _AM_SUBST_NOTMAKE([BUILD_LIBEVENT_FALSE]) m4trace:configure.ac:108: -1- m4_pattern_allow([^subdirs$]) m4trace:configure.ac:117: -1- m4_pattern_allow([^LIB_SYSLOG$]) m4trace:configure.ac:118: -1- HMS_SEARCH_LIBS([LIB_SYSLOG], [openlog], [gen syslog]) m4trace:configure.ac:121: -1- m4_pattern_allow([^HAVE_NETDB_H$]) m4trace:configure.ac:121: -1- m4_pattern_allow([^HAVE_STRING_H$]) m4trace:configure.ac:121: -1- m4_pattern_allow([^HAVE_STRINGS_H$]) m4trace:configure.ac:121: -1- m4_pattern_allow([^HAVE_SYSLOG_H$]) m4trace:configure.ac:122: -1- NTP_SYSEXITS_H m4trace:configure.ac:122: -1- m4_pattern_allow([^HAVE_SYSEXITS_H$]) m4trace:configure.ac:122: -1- m4_pattern_allow([^EX_OK$]) m4trace:configure.ac:122: -1- m4_pattern_allow([^EX_SOFTWARE$]) m4trace:configure.ac:123: -1- NTP_FACILITYNAMES m4trace:configure.ac:123: -1- _m4_warn([obsolete], [The macro `AC_TRY_COMPILE' is obsolete. You should run autoupdate.], [./lib/autoconf/general.m4:2847: AC_TRY_COMPILE is expanded from... lib/m4sugar/m4sh.m4:692: _AS_IF_ELSE is expanded from... lib/m4sugar/m4sh.m4:699: AS_IF is expanded from... ./lib/autoconf/general.m4:2249: AC_CACHE_VAL is expanded from... ./lib/autoconf/general.m4:2270: AC_CACHE_CHECK is expanded from... m4/ntp_facilitynames.m4:3: NTP_FACILITYNAMES is expanded from... configure.ac:123: the top level]) m4trace:configure.ac:123: -1- m4_pattern_allow([^HAVE_SYSLOG_FACILITYNAMES$]) m4trace:configure.ac:126: -1- m4_pattern_allow([^HAVE__BOOL$]) m4trace:configure.ac:126: -1- m4_pattern_allow([^HAVE_STDBOOL_H$]) m4trace:configure.ac:128: -1- NTP_OPENSSL m4trace:configure.ac:128: -1- NTP_VER_SUFFIX m4trace:configure.ac:128: -1- m4_pattern_allow([^VER_SUFFIX$]) m4trace:configure.ac:128: -1- m4_pattern_allow([^HAVE_OPENSSL_CMAC_H$]) m4trace:configure.ac:128: -1- m4_pattern_allow([^HAVE_OPENSSL_HMAC_H$]) m4trace:configure.ac:128: -1- m4_pattern_allow([^OPENSSL$]) m4trace:configure.ac:128: -1- m4_pattern_allow([^HAVE_EVP_MD_DO_ALL_SORTED$]) m4trace:configure.ac:129: -1- NTP_IPV6 m4trace:configure.ac:129: -1- m4_pattern_allow([^HAVE_STRUCT_SOCKADDR_STORAGE$]) m4trace:configure.ac:129: -1- m4_pattern_allow([^HAVE___SS_FAMILY_IN_SS$]) m4trace:configure.ac:129: -1- m4_pattern_allow([^ISC_PLATFORM_NEEDPORTT$]) m4trace:configure.ac:129: -1- m4_pattern_allow([^GETSOCKNAME_SOCKLEN_TYPE$]) m4trace:configure.ac:129: -1- m4_pattern_allow([^ISC_PLATFORM_HAVESALEN$]) m4trace:configure.ac:129: -1- m4_pattern_allow([^WANT_IPV6$]) m4trace:configure.ac:129: -1- m4_pattern_allow([^__APPLE_USE_RFC_3542$]) m4trace:configure.ac:129: -1- m4_pattern_allow([^ISC_PLATFORM_NEEDNETINET6IN6H$]) m4trace:configure.ac:129: -1- m4_pattern_allow([^ISC_PLATFORM_FIXIN6ISADDR$]) m4trace:configure.ac:129: -1- m4_pattern_allow([^ISC_PLATFORM_HAVEIPV6$]) m4trace:configure.ac:129: -1- m4_pattern_allow([^ISC_PLATFORM_HAVEIN6PKTINFO$]) m4trace:configure.ac:129: -1- m4_pattern_allow([^ISC_PLATFORM_HAVESCOPEID$]) m4trace:configure.ac:129: -1- m4_pattern_allow([^ISC_PLATFORM_NEEDIN6ADDRANY$]) m4trace:configure.ac:129: -1- m4_pattern_allow([^ISC_PLATFORM_HAVEIF_LADDRCONF$]) m4trace:configure.ac:129: -1- m4_pattern_allow([^ISC_PLATFORM_HAVEIF_LADDRREQ$]) m4trace:configure.ac:129: -1- m4_pattern_allow([^MCAST$]) m4trace:configure.ac:129: -1- m4_pattern_allow([^TYPEOF_IP_MULTICAST_LOOP$]) m4trace:configure.ac:129: -1- m4_pattern_allow([^HAVE_GETIFADDRS$]) m4trace:configure.ac:129: -1- m4_pattern_allow([^HAVE_IF_NAMETOINDEX$]) m4trace:configure.ac:129: -1- m4_pattern_allow([^ISC_PLATFORM_HAVEIFNAMETOINDEX$]) m4trace:configure.ac:135: -1- m4_pattern_allow([^HAVE_NO_NICE$]) m4trace:configure.ac:136: -1- m4_pattern_allow([^HAVE_TERMIOS$]) m4trace:configure.ac:139: -1- m4_pattern_allow([^HAVE_SOCKET$]) m4trace:configure.ac:141: -1- NTP_UNITYBUILD m4trace:configure.ac:141: -1- m4_pattern_allow([^PATH_RUBY$]) m4trace:configure.ac:141: -1- AM_CONDITIONAL([UNITYBUILD_AVAILABLE], [$have_unity]) m4trace:configure.ac:141: -1- m4_pattern_allow([^UNITYBUILD_AVAILABLE_TRUE$]) m4trace:configure.ac:141: -1- m4_pattern_allow([^UNITYBUILD_AVAILABLE_FALSE$]) m4trace:configure.ac:141: -1- _AM_SUBST_NOTMAKE([UNITYBUILD_AVAILABLE_TRUE]) m4trace:configure.ac:141: -1- _AM_SUBST_NOTMAKE([UNITYBUILD_AVAILABLE_FALSE]) m4trace:configure.ac:146: -1- SNTP_PROBLEM_TESTS m4trace:configure.ac:146: -1- AM_CONDITIONAL([BUILD_TEST_KODDATABASE], [test x$sntp_test_kodDatabase = xyes]) m4trace:configure.ac:146: -1- m4_pattern_allow([^BUILD_TEST_KODDATABASE_TRUE$]) m4trace:configure.ac:146: -1- m4_pattern_allow([^BUILD_TEST_KODDATABASE_FALSE$]) m4trace:configure.ac:146: -1- _AM_SUBST_NOTMAKE([BUILD_TEST_KODDATABASE_TRUE]) m4trace:configure.ac:146: -1- _AM_SUBST_NOTMAKE([BUILD_TEST_KODDATABASE_FALSE]) m4trace:configure.ac:146: -1- AM_CONDITIONAL([BUILD_TEST_KODFILE], [test x$sntp_test_kodFile = xyes]) m4trace:configure.ac:146: -1- m4_pattern_allow([^BUILD_TEST_KODFILE_TRUE$]) m4trace:configure.ac:146: -1- m4_pattern_allow([^BUILD_TEST_KODFILE_FALSE$]) m4trace:configure.ac:146: -1- _AM_SUBST_NOTMAKE([BUILD_TEST_KODFILE_TRUE]) m4trace:configure.ac:146: -1- _AM_SUBST_NOTMAKE([BUILD_TEST_KODFILE_FALSE]) m4trace:configure.ac:160: -1- m4_pattern_allow([^LIB@&t@OBJS$]) m4trace:configure.ac:160: -1- m4_pattern_allow([^LTLIBOBJS$]) m4trace:configure.ac:160: -1- AM_CONDITIONAL([am__EXEEXT], [test -n "$EXEEXT"]) m4trace:configure.ac:160: -1- m4_pattern_allow([^am__EXEEXT_TRUE$]) m4trace:configure.ac:160: -1- m4_pattern_allow([^am__EXEEXT_FALSE$]) m4trace:configure.ac:160: -1- _AM_SUBST_NOTMAKE([am__EXEEXT_TRUE]) m4trace:configure.ac:160: -1- _AM_SUBST_NOTMAKE([am__EXEEXT_FALSE]) m4trace:configure.ac:160: -1- _AC_AM_CONFIG_HEADER_HOOK(["$ac_file"]) m4trace:configure.ac:160: -1- _AM_OUTPUT_DEPENDENCY_COMMANDS m4trace:configure.ac:160: -1- AM_RUN_LOG([cd "$am_dirpart" \ && sed -e '/# am--include-marker/d' "$am_filepart" \ | $MAKE -f - am--depfiles]) m4trace:configure.ac:160: -1- _LT_PROG_LTMAIN