1m4trace:/usr/local/share/aclocal/ltargz.m4:74: -1- AC_DEFUN([LT_FUNC_ARGZ], [ 2AC_CHECK_HEADERS([argz.h], [], [], [AC_INCLUDES_DEFAULT]) 3 4AC_CHECK_TYPES([error_t], 5 [], 6 [AC_DEFINE([error_t], [int], 7 [Define to a type to use for 'error_t' if it is not otherwise available.]) 8 AC_DEFINE([__error_t_defined], [1], [Define so that glibc/gnulib argp.h 9 does not typedef error_t.])], 10 [#if defined(HAVE_ARGZ_H) 11# include <argz.h> 12#endif]) 13 14LT_ARGZ_H= 15AC_CHECK_FUNCS([argz_add argz_append argz_count argz_create_sep argz_insert \ 16 argz_next argz_stringify], [], [LT_ARGZ_H=lt__argz.h; AC_LIBOBJ([lt__argz])]) 17 18dnl if have system argz functions, allow forced use of 19dnl libltdl-supplied implementation (and default to do so 20dnl on "known bad" systems). Could use a runtime check, but 21dnl (a) detecting malloc issues is notoriously unreliable 22dnl (b) only known system that declares argz functions, 23dnl provides them, yet they are broken, is cygwin 24dnl releases prior to 16-Mar-2007 (1.5.24 and earlier) 25dnl So, it's more straightforward simply to special case 26dnl this for known bad systems. 27AS_IF([test -z "$LT_ARGZ_H"], 28 [AC_CACHE_CHECK( 29 [if argz actually works], 30 [lt_cv_sys_argz_works], 31 [[case $host_os in #( 32 *cygwin*) 33 lt_cv_sys_argz_works=no 34 if test no != "$cross_compiling"; then 35 lt_cv_sys_argz_works="guessing no" 36 else 37 lt_sed_extract_leading_digits='s/^\([0-9\.]*\).*/\1/' 38 save_IFS=$IFS 39 IFS=-. 40 set x `uname -r | sed -e "$lt_sed_extract_leading_digits"` 41 IFS=$save_IFS 42 lt_os_major=${2-0} 43 lt_os_minor=${3-0} 44 lt_os_micro=${4-0} 45 if test 1 -lt "$lt_os_major" \ 46 || { test 1 -eq "$lt_os_major" \ 47 && { test 5 -lt "$lt_os_minor" \ 48 || { test 5 -eq "$lt_os_minor" \ 49 && test 24 -lt "$lt_os_micro"; }; }; }; then 50 lt_cv_sys_argz_works=yes 51 fi 52 fi 53 ;; #( 54 *) lt_cv_sys_argz_works=yes ;; 55 esac]]) 56 AS_IF([test yes = "$lt_cv_sys_argz_works"], 57 [AC_DEFINE([HAVE_WORKING_ARGZ], 1, 58 [This value is set to 1 to indicate that the system argz facility works])], 59 [LT_ARGZ_H=lt__argz.h 60 AC_LIBOBJ([lt__argz])])]) 61 62AC_SUBST([LT_ARGZ_H]) 63]) 64m4trace:/usr/local/share/aclocal/ltdl.m4:19: -1- AC_DEFUN([LT_CONFIG_LTDL_DIR], [AC_BEFORE([$0], [LTDL_INIT]) 65_$0($*) 66]) 67m4trace:/usr/local/share/aclocal/ltdl.m4:77: -1- AC_DEFUN([LTDL_CONVENIENCE], [AC_BEFORE([$0], [LTDL_INIT])dnl 68dnl Although the argument is deprecated and no longer documented, 69dnl LTDL_CONVENIENCE used to take a DIRECTORY orgument, if we have one 70dnl here make sure it is the same as any other declaration of libltdl's 71dnl location! This also ensures lt_ltdl_dir is set when configure.ac is 72dnl not yet using an explicit LT_CONFIG_LTDL_DIR. 73m4_ifval([$1], [_LT_CONFIG_LTDL_DIR([$1])])dnl 74_$0() 75]) 76m4trace:/usr/local/share/aclocal/ltdl.m4:83: -1- AU_DEFUN([AC_LIBLTDL_CONVENIENCE], [_LT_CONFIG_LTDL_DIR([m4_default([$1], [libltdl])]) 77_LTDL_CONVENIENCE]) 78m4trace:/usr/local/share/aclocal/ltdl.m4:83: -1- AC_DEFUN([AC_LIBLTDL_CONVENIENCE], [AC_DIAGNOSE([obsolete], [The macro `AC_LIBLTDL_CONVENIENCE' is obsolete. 79You should run autoupdate.])dnl 80_LT_CONFIG_LTDL_DIR([m4_default([$1], [libltdl])]) 81_LTDL_CONVENIENCE]) 82m4trace:/usr/local/share/aclocal/ltdl.m4:133: -1- AC_DEFUN([LTDL_INSTALLABLE], [AC_BEFORE([$0], [LTDL_INIT])dnl 83dnl Although the argument is deprecated and no longer documented, 84dnl LTDL_INSTALLABLE used to take a DIRECTORY orgument, if we have one 85dnl here make sure it is the same as any other declaration of libltdl's 86dnl location! This also ensures lt_ltdl_dir is set when configure.ac is 87dnl not yet using an explicit LT_CONFIG_LTDL_DIR. 88m4_ifval([$1], [_LT_CONFIG_LTDL_DIR([$1])])dnl 89_$0() 90]) 91m4trace:/usr/local/share/aclocal/ltdl.m4:139: -1- AU_DEFUN([AC_LIBLTDL_INSTALLABLE], [_LT_CONFIG_LTDL_DIR([m4_default([$1], [libltdl])]) 92_LTDL_INSTALLABLE]) 93m4trace:/usr/local/share/aclocal/ltdl.m4:139: -1- AC_DEFUN([AC_LIBLTDL_INSTALLABLE], [AC_DIAGNOSE([obsolete], [The macro `AC_LIBLTDL_INSTALLABLE' is obsolete. 94You should run autoupdate.])dnl 95_LT_CONFIG_LTDL_DIR([m4_default([$1], [libltdl])]) 96_LTDL_INSTALLABLE]) 97m4trace:/usr/local/share/aclocal/ltdl.m4:216: -1- AC_DEFUN([_LT_LIBOBJ], [ 98 m4_pattern_allow([^_LT_LIBOBJS$]) 99 _LT_LIBOBJS="$_LT_LIBOBJS $1.$ac_objext" 100]) 101m4trace:/usr/local/share/aclocal/ltdl.m4:349: -1- AC_DEFUN([LTDL_INIT], [dnl Parse OPTIONS 102_LT_SET_OPTIONS([$0], [$1]) 103 104dnl We need to keep our own list of libobjs separate from our parent project, 105dnl and the easiest way to do that is redefine the AC_LIBOBJs macro while 106dnl we look for our own LIBOBJs. 107m4_pushdef([AC_LIBOBJ], m4_defn([_LT_LIBOBJ])) 108m4_pushdef([AC_LIBSOURCES]) 109 110dnl If not otherwise defined, default to the 1.5.x compatible subproject mode: 111m4_if(_LTDL_MODE, [], 112 [m4_define([_LTDL_MODE], m4_default([$2], [subproject])) 113 m4_if([-1], [m4_bregexp(_LTDL_MODE, [\(subproject\|\(non\)?recursive\)])], 114 [m4_fatal([unknown libltdl mode: ]_LTDL_MODE)])]) 115 116AC_ARG_WITH([included_ltdl], 117 [AS_HELP_STRING([--with-included-ltdl], 118 [use the GNU ltdl sources included here])]) 119 120if test yes != "$with_included_ltdl"; then 121 # We are not being forced to use the included libltdl sources, so 122 # decide whether there is a useful installed version we can use. 123 AC_CHECK_HEADER([ltdl.h], 124 [AC_CHECK_DECL([lt_dlinterface_register], 125 [AC_CHECK_LIB([ltdl], [lt_dladvise_preload], 126 [with_included_ltdl=no], 127 [with_included_ltdl=yes])], 128 [with_included_ltdl=yes], 129 [AC_INCLUDES_DEFAULT 130 #include <ltdl.h>])], 131 [with_included_ltdl=yes], 132 [AC_INCLUDES_DEFAULT] 133 ) 134fi 135 136dnl If neither LT_CONFIG_LTDL_DIR, LTDL_CONVENIENCE nor LTDL_INSTALLABLE 137dnl was called yet, then for old times' sake, we assume libltdl is in an 138dnl eponymous directory: 139AC_PROVIDE_IFELSE([LT_CONFIG_LTDL_DIR], [], [_LT_CONFIG_LTDL_DIR([libltdl])]) 140 141AC_ARG_WITH([ltdl_include], 142 [AS_HELP_STRING([--with-ltdl-include=DIR], 143 [use the ltdl headers installed in DIR])]) 144 145if test -n "$with_ltdl_include"; then 146 if test -f "$with_ltdl_include/ltdl.h"; then : 147 else 148 AC_MSG_ERROR([invalid ltdl include directory: '$with_ltdl_include']) 149 fi 150else 151 with_ltdl_include=no 152fi 153 154AC_ARG_WITH([ltdl_lib], 155 [AS_HELP_STRING([--with-ltdl-lib=DIR], 156 [use the libltdl.la installed in DIR])]) 157 158if test -n "$with_ltdl_lib"; then 159 if test -f "$with_ltdl_lib/libltdl.la"; then : 160 else 161 AC_MSG_ERROR([invalid ltdl library directory: '$with_ltdl_lib']) 162 fi 163else 164 with_ltdl_lib=no 165fi 166 167case ,$with_included_ltdl,$with_ltdl_include,$with_ltdl_lib, in 168 ,yes,no,no,) 169 m4_case(m4_default(_LTDL_TYPE, [convenience]), 170 [convenience], [_LTDL_CONVENIENCE], 171 [installable], [_LTDL_INSTALLABLE], 172 [m4_fatal([unknown libltdl build type: ]_LTDL_TYPE)]) 173 ;; 174 ,no,no,no,) 175 # If the included ltdl is not to be used, then use the 176 # preinstalled libltdl we found. 177 AC_DEFINE([HAVE_LTDL], [1], 178 [Define this if a modern libltdl is already installed]) 179 LIBLTDL=-lltdl 180 LTDLDEPS= 181 LTDLINCL= 182 ;; 183 ,no*,no,*) 184 AC_MSG_ERROR(['--with-ltdl-include' and '--with-ltdl-lib' options must be used together]) 185 ;; 186 *) with_included_ltdl=no 187 LIBLTDL="-L$with_ltdl_lib -lltdl" 188 LTDLDEPS= 189 LTDLINCL=-I$with_ltdl_include 190 ;; 191esac 192INCLTDL=$LTDLINCL 193 194# Report our decision... 195AC_MSG_CHECKING([where to find libltdl headers]) 196AC_MSG_RESULT([$LTDLINCL]) 197AC_MSG_CHECKING([where to find libltdl library]) 198AC_MSG_RESULT([$LIBLTDL]) 199 200_LTDL_SETUP 201 202dnl restore autoconf definition. 203m4_popdef([AC_LIBOBJ]) 204m4_popdef([AC_LIBSOURCES]) 205 206AC_CONFIG_COMMANDS_PRE([ 207 _ltdl_libobjs= 208 _ltdl_ltlibobjs= 209 if test -n "$_LT_LIBOBJS"; then 210 # Remove the extension. 211 _lt_sed_drop_objext='s/\.o$//;s/\.obj$//' 212 for i in `for i in $_LT_LIBOBJS; do echo "$i"; done | sed "$_lt_sed_drop_objext" | sort -u`; do 213 _ltdl_libobjs="$_ltdl_libobjs $lt_libobj_prefix$i.$ac_objext" 214 _ltdl_ltlibobjs="$_ltdl_ltlibobjs $lt_libobj_prefix$i.lo" 215 done 216 fi 217 AC_SUBST([ltdl_LIBOBJS], [$_ltdl_libobjs]) 218 AC_SUBST([ltdl_LTLIBOBJS], [$_ltdl_ltlibobjs]) 219]) 220 221# Only expand once: 222m4_define([LTDL_INIT]) 223]) 224m4trace:/usr/local/share/aclocal/ltdl.m4:352: -1- AU_DEFUN([AC_LIB_LTDL], [LTDL_INIT($@)]) 225m4trace:/usr/local/share/aclocal/ltdl.m4:352: -1- AC_DEFUN([AC_LIB_LTDL], [AC_DIAGNOSE([obsolete], [The macro `AC_LIB_LTDL' is obsolete. 226You should run autoupdate.])dnl 227LTDL_INIT($@)]) 228m4trace:/usr/local/share/aclocal/ltdl.m4:353: -1- AU_DEFUN([AC_WITH_LTDL], [LTDL_INIT($@)]) 229m4trace:/usr/local/share/aclocal/ltdl.m4:353: -1- AC_DEFUN([AC_WITH_LTDL], [AC_DIAGNOSE([obsolete], [The macro `AC_WITH_LTDL' is obsolete. 230You should run autoupdate.])dnl 231LTDL_INIT($@)]) 232m4trace:/usr/local/share/aclocal/ltdl.m4:354: -1- AU_DEFUN([LT_WITH_LTDL], [LTDL_INIT($@)]) 233m4trace:/usr/local/share/aclocal/ltdl.m4:354: -1- AC_DEFUN([LT_WITH_LTDL], [AC_DIAGNOSE([obsolete], [The macro `LT_WITH_LTDL' is obsolete. 234You should run autoupdate.])dnl 235LTDL_INIT($@)]) 236m4trace:/usr/local/share/aclocal/ltdl.m4:421: -1- AC_DEFUN([_LTDL_SETUP], [AC_REQUIRE([AC_PROG_CC])dnl 237AC_REQUIRE([LT_SYS_MODULE_EXT])dnl 238AC_REQUIRE([LT_SYS_MODULE_PATH])dnl 239AC_REQUIRE([LT_SYS_DLSEARCH_PATH])dnl 240AC_REQUIRE([LT_LIB_DLLOAD])dnl 241AC_REQUIRE([LT_SYS_SYMBOL_USCORE])dnl 242AC_REQUIRE([LT_FUNC_DLSYM_USCORE])dnl 243AC_REQUIRE([LT_SYS_DLOPEN_DEPLIBS])dnl 244AC_REQUIRE([LT_FUNC_ARGZ])dnl 245 246m4_require([_LT_CHECK_OBJDIR])dnl 247m4_require([_LT_HEADER_DLFCN])dnl 248m4_require([_LT_CHECK_DLPREOPEN])dnl 249m4_require([_LT_DECL_SED])dnl 250 251dnl Don't require this, or it will be expanded earlier than the code 252dnl that sets the variables it relies on: 253_LT_ENABLE_INSTALL 254 255dnl _LTDL_MODE specific code must be called at least once: 256_LTDL_MODE_DISPATCH 257 258# In order that ltdl.c can compile, find out the first AC_CONFIG_HEADERS 259# the user used. This is so that ltdl.h can pick up the parent projects 260# config.h file, The first file in AC_CONFIG_HEADERS must contain the 261# definitions required by ltdl.c. 262# FIXME: Remove use of undocumented AC_LIST_HEADERS (2.59 compatibility). 263AC_CONFIG_COMMANDS_PRE([dnl 264m4_pattern_allow([^LT_CONFIG_H$])dnl 265m4_ifset([AH_HEADER], 266 [LT_CONFIG_H=AH_HEADER], 267 [m4_ifset([AC_LIST_HEADERS], 268 [LT_CONFIG_H=`echo "AC_LIST_HEADERS" | $SED 's|^[[ ]]*||;s|[[ :]].*$||'`], 269 [])])]) 270AC_SUBST([LT_CONFIG_H]) 271 272AC_CHECK_HEADERS([unistd.h dl.h sys/dl.h dld.h mach-o/dyld.h dirent.h], 273 [], [], [AC_INCLUDES_DEFAULT]) 274 275AC_CHECK_FUNCS([closedir opendir readdir], [], [AC_LIBOBJ([lt__dirent])]) 276AC_CHECK_FUNCS([strlcat strlcpy], [], [AC_LIBOBJ([lt__strl])]) 277 278m4_pattern_allow([LT_LIBEXT])dnl 279AC_DEFINE_UNQUOTED([LT_LIBEXT],["$libext"],[The archive extension]) 280 281name= 282eval "lt_libprefix=\"$libname_spec\"" 283m4_pattern_allow([LT_LIBPREFIX])dnl 284AC_DEFINE_UNQUOTED([LT_LIBPREFIX],["$lt_libprefix"],[The archive prefix]) 285 286name=ltdl 287eval "LTDLOPEN=\"$libname_spec\"" 288AC_SUBST([LTDLOPEN]) 289]) 290m4trace:/usr/local/share/aclocal/ltdl.m4:542: -1- AC_DEFUN([LT_SYS_DLOPEN_DEPLIBS], [AC_REQUIRE([AC_CANONICAL_HOST])dnl 291AC_CACHE_CHECK([whether deplibs are loaded by dlopen], 292 [lt_cv_sys_dlopen_deplibs], 293 [# PORTME does your system automatically load deplibs for dlopen? 294 # or its logical equivalent (e.g. shl_load for HP-UX < 11) 295 # For now, we just catch OSes we know something about -- in the 296 # future, we'll try test this programmatically. 297 lt_cv_sys_dlopen_deplibs=unknown 298 case $host_os in 299 aix3*|aix4.1.*|aix4.2.*) 300 # Unknown whether this is true for these versions of AIX, but 301 # we want this 'case' here to explicitly catch those versions. 302 lt_cv_sys_dlopen_deplibs=unknown 303 ;; 304 aix[[4-9]]*) 305 lt_cv_sys_dlopen_deplibs=yes 306 ;; 307 amigaos*) 308 case $host_cpu in 309 powerpc) 310 lt_cv_sys_dlopen_deplibs=no 311 ;; 312 esac 313 ;; 314 bitrig*) 315 lt_cv_sys_dlopen_deplibs=yes 316 ;; 317 darwin*) 318 # Assuming the user has installed a libdl from somewhere, this is true 319 # If you are looking for one http://www.opendarwin.org/projects/dlcompat 320 lt_cv_sys_dlopen_deplibs=yes 321 ;; 322 freebsd* | dragonfly*) 323 lt_cv_sys_dlopen_deplibs=yes 324 ;; 325 gnu* | linux* | k*bsd*-gnu | kopensolaris*-gnu) 326 # GNU and its variants, using gnu ld.so (Glibc) 327 lt_cv_sys_dlopen_deplibs=yes 328 ;; 329 hpux10*|hpux11*) 330 lt_cv_sys_dlopen_deplibs=yes 331 ;; 332 interix*) 333 lt_cv_sys_dlopen_deplibs=yes 334 ;; 335 irix[[12345]]*|irix6.[[01]]*) 336 # Catch all versions of IRIX before 6.2, and indicate that we don't 337 # know how it worked for any of those versions. 338 lt_cv_sys_dlopen_deplibs=unknown 339 ;; 340 irix*) 341 # The case above catches anything before 6.2, and it's known that 342 # at 6.2 and later dlopen does load deplibs. 343 lt_cv_sys_dlopen_deplibs=yes 344 ;; 345 netbsd*) 346 lt_cv_sys_dlopen_deplibs=yes 347 ;; 348 openbsd*) 349 lt_cv_sys_dlopen_deplibs=yes 350 ;; 351 osf[[1234]]*) 352 # dlopen did load deplibs (at least at 4.x), but until the 5.x series, 353 # it did *not* use an RPATH in a shared library to find objects the 354 # library depends on, so we explicitly say 'no'. 355 lt_cv_sys_dlopen_deplibs=no 356 ;; 357 osf5.0|osf5.0a|osf5.1) 358 # dlopen *does* load deplibs and with the right loader patch applied 359 # it even uses RPATH in a shared library to search for shared objects 360 # that the library depends on, but there's no easy way to know if that 361 # patch is installed. Since this is the case, all we can really 362 # say is unknown -- it depends on the patch being installed. If 363 # it is, this changes to 'yes'. Without it, it would be 'no'. 364 lt_cv_sys_dlopen_deplibs=unknown 365 ;; 366 osf*) 367 # the two cases above should catch all versions of osf <= 5.1. Read 368 # the comments above for what we know about them. 369 # At > 5.1, deplibs are loaded *and* any RPATH in a shared library 370 # is used to find them so we can finally say 'yes'. 371 lt_cv_sys_dlopen_deplibs=yes 372 ;; 373 qnx*) 374 lt_cv_sys_dlopen_deplibs=yes 375 ;; 376 solaris*) 377 lt_cv_sys_dlopen_deplibs=yes 378 ;; 379 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*) 380 libltdl_cv_sys_dlopen_deplibs=yes 381 ;; 382 esac 383 ]) 384if test yes != "$lt_cv_sys_dlopen_deplibs"; then 385 AC_DEFINE([LTDL_DLOPEN_DEPLIBS], [1], 386 [Define if the OS needs help to load dependent libraries for dlopen().]) 387fi 388]) 389m4trace:/usr/local/share/aclocal/ltdl.m4:545: -1- AU_DEFUN([AC_LTDL_SYS_DLOPEN_DEPLIBS], [m4_if($#, 0, [LT_SYS_DLOPEN_DEPLIBS], [LT_SYS_DLOPEN_DEPLIBS($@)])]) 390m4trace:/usr/local/share/aclocal/ltdl.m4:545: -1- AC_DEFUN([AC_LTDL_SYS_DLOPEN_DEPLIBS], [AC_DIAGNOSE([obsolete], [The macro `AC_LTDL_SYS_DLOPEN_DEPLIBS' is obsolete. 391You should run autoupdate.])dnl 392m4_if($#, 0, [LT_SYS_DLOPEN_DEPLIBS], [LT_SYS_DLOPEN_DEPLIBS($@)])]) 393m4trace:/usr/local/share/aclocal/ltdl.m4:577: -1- AC_DEFUN([LT_SYS_MODULE_EXT], [m4_require([_LT_SYS_DYNAMIC_LINKER])dnl 394AC_CACHE_CHECK([what extension is used for runtime loadable modules], 395 [libltdl_cv_shlibext], 396[ 397module=yes 398eval libltdl_cv_shlibext=$shrext_cmds 399module=no 400eval libltdl_cv_shrext=$shrext_cmds 401 ]) 402if test -n "$libltdl_cv_shlibext"; then 403 m4_pattern_allow([LT_MODULE_EXT])dnl 404 AC_DEFINE_UNQUOTED([LT_MODULE_EXT], ["$libltdl_cv_shlibext"], 405 [Define to the extension used for runtime loadable modules, say, ".so".]) 406fi 407if test "$libltdl_cv_shrext" != "$libltdl_cv_shlibext"; then 408 m4_pattern_allow([LT_SHARED_EXT])dnl 409 AC_DEFINE_UNQUOTED([LT_SHARED_EXT], ["$libltdl_cv_shrext"], 410 [Define to the shared library suffix, say, ".dylib".]) 411fi 412if test -n "$shared_archive_member_spec"; then 413 m4_pattern_allow([LT_SHARED_LIB_MEMBER])dnl 414 AC_DEFINE_UNQUOTED([LT_SHARED_LIB_MEMBER], ["($shared_archive_member_spec.o)"], 415 [Define to the shared archive member specification, say "(shr.o)".]) 416fi 417]) 418m4trace:/usr/local/share/aclocal/ltdl.m4:580: -1- AU_DEFUN([AC_LTDL_SHLIBEXT], [m4_if($#, 0, [LT_SYS_MODULE_EXT], [LT_SYS_MODULE_EXT($@)])]) 419m4trace:/usr/local/share/aclocal/ltdl.m4:580: -1- AC_DEFUN([AC_LTDL_SHLIBEXT], [AC_DIAGNOSE([obsolete], [The macro `AC_LTDL_SHLIBEXT' is obsolete. 420You should run autoupdate.])dnl 421m4_if($#, 0, [LT_SYS_MODULE_EXT], [LT_SYS_MODULE_EXT($@)])]) 422m4trace:/usr/local/share/aclocal/ltdl.m4:596: -1- AC_DEFUN([LT_SYS_MODULE_PATH], [m4_require([_LT_SYS_DYNAMIC_LINKER])dnl 423AC_CACHE_CHECK([what variable specifies run-time module search path], 424 [lt_cv_module_path_var], [lt_cv_module_path_var=$shlibpath_var]) 425if test -n "$lt_cv_module_path_var"; then 426 m4_pattern_allow([LT_MODULE_PATH_VAR])dnl 427 AC_DEFINE_UNQUOTED([LT_MODULE_PATH_VAR], ["$lt_cv_module_path_var"], 428 [Define to the name of the environment variable that determines the run-time module search path.]) 429fi 430]) 431m4trace:/usr/local/share/aclocal/ltdl.m4:599: -1- AU_DEFUN([AC_LTDL_SHLIBPATH], [m4_if($#, 0, [LT_SYS_MODULE_PATH], [LT_SYS_MODULE_PATH($@)])]) 432m4trace:/usr/local/share/aclocal/ltdl.m4:599: -1- AC_DEFUN([AC_LTDL_SHLIBPATH], [AC_DIAGNOSE([obsolete], [The macro `AC_LTDL_SHLIBPATH' is obsolete. 433You should run autoupdate.])dnl 434m4_if($#, 0, [LT_SYS_MODULE_PATH], [LT_SYS_MODULE_PATH($@)])]) 435m4trace:/usr/local/share/aclocal/ltdl.m4:624: -1- AC_DEFUN([LT_SYS_DLSEARCH_PATH], [m4_require([_LT_SYS_DYNAMIC_LINKER])dnl 436AC_CACHE_CHECK([for the default library search path], 437 [lt_cv_sys_dlsearch_path], 438 [lt_cv_sys_dlsearch_path=$sys_lib_dlsearch_path_spec]) 439if test -n "$lt_cv_sys_dlsearch_path"; then 440 sys_dlsearch_path= 441 for dir in $lt_cv_sys_dlsearch_path; do 442 if test -z "$sys_dlsearch_path"; then 443 sys_dlsearch_path=$dir 444 else 445 sys_dlsearch_path=$sys_dlsearch_path$PATH_SEPARATOR$dir 446 fi 447 done 448 m4_pattern_allow([LT_DLSEARCH_PATH])dnl 449 AC_DEFINE_UNQUOTED([LT_DLSEARCH_PATH], ["$sys_dlsearch_path"], 450 [Define to the system default library search path.]) 451fi 452]) 453m4trace:/usr/local/share/aclocal/ltdl.m4:627: -1- AU_DEFUN([AC_LTDL_SYSSEARCHPATH], [m4_if($#, 0, [LT_SYS_DLSEARCH_PATH], [LT_SYS_DLSEARCH_PATH($@)])]) 454m4trace:/usr/local/share/aclocal/ltdl.m4:627: -1- AC_DEFUN([AC_LTDL_SYSSEARCHPATH], [AC_DIAGNOSE([obsolete], [The macro `AC_LTDL_SYSSEARCHPATH' is obsolete. 455You should run autoupdate.])dnl 456m4_if($#, 0, [LT_SYS_DLSEARCH_PATH], [LT_SYS_DLSEARCH_PATH($@)])]) 457m4trace:/usr/local/share/aclocal/ltdl.m4:745: -1- AC_DEFUN([LT_LIB_DLLOAD], [m4_pattern_allow([^LT_DLLOADERS$]) 458LT_DLLOADERS= 459AC_SUBST([LT_DLLOADERS]) 460 461AC_LANG_PUSH([C]) 462lt_dlload_save_LIBS=$LIBS 463 464LIBADD_DLOPEN= 465AC_SEARCH_LIBS([dlopen], [dl], 466 [AC_DEFINE([HAVE_LIBDL], [1], 467 [Define if you have the libdl library or equivalent.]) 468 if test "$ac_cv_search_dlopen" != "none required"; then 469 LIBADD_DLOPEN=-ldl 470 fi 471 libltdl_cv_lib_dl_dlopen=yes 472 LT_DLLOADERS="$LT_DLLOADERS ${lt_dlopen_dir+$lt_dlopen_dir/}dlopen.la"], 473 [AC_LINK_IFELSE([AC_LANG_PROGRAM([[#if HAVE_DLFCN_H 474# include <dlfcn.h> 475#endif 476 ]], [[dlopen(0, 0);]])], 477 [AC_DEFINE([HAVE_LIBDL], [1], 478 [Define if you have the libdl library or equivalent.]) 479 libltdl_cv_func_dlopen=yes 480 LT_DLLOADERS="$LT_DLLOADERS ${lt_dlopen_dir+$lt_dlopen_dir/}dlopen.la"], 481 [AC_CHECK_LIB([svld], [dlopen], 482 [AC_DEFINE([HAVE_LIBDL], [1], 483 [Define if you have the libdl library or equivalent.]) 484 LIBADD_DLOPEN=-lsvld libltdl_cv_func_dlopen=yes 485 LT_DLLOADERS="$LT_DLLOADERS ${lt_dlopen_dir+$lt_dlopen_dir/}dlopen.la"])])]) 486if test yes = "$libltdl_cv_func_dlopen" || test yes = "$libltdl_cv_lib_dl_dlopen" 487then 488 lt_save_LIBS=$LIBS 489 LIBS="$LIBS $LIBADD_DLOPEN" 490 AC_CHECK_FUNCS([dlerror]) 491 LIBS=$lt_save_LIBS 492fi 493AC_SUBST([LIBADD_DLOPEN]) 494 495LIBADD_SHL_LOAD= 496AC_CHECK_FUNC([shl_load], 497 [AC_DEFINE([HAVE_SHL_LOAD], [1], 498 [Define if you have the shl_load function.]) 499 LT_DLLOADERS="$LT_DLLOADERS ${lt_dlopen_dir+$lt_dlopen_dir/}shl_load.la"], 500 [AC_CHECK_LIB([dld], [shl_load], 501 [AC_DEFINE([HAVE_SHL_LOAD], [1], 502 [Define if you have the shl_load function.]) 503 LT_DLLOADERS="$LT_DLLOADERS ${lt_dlopen_dir+$lt_dlopen_dir/}shl_load.la" 504 LIBADD_SHL_LOAD=-ldld])]) 505AC_SUBST([LIBADD_SHL_LOAD]) 506 507case $host_os in 508darwin[[1567]].*) 509# We only want this for pre-Mac OS X 10.4. 510 AC_CHECK_FUNC([_dyld_func_lookup], 511 [AC_DEFINE([HAVE_DYLD], [1], 512 [Define if you have the _dyld_func_lookup function.]) 513 LT_DLLOADERS="$LT_DLLOADERS ${lt_dlopen_dir+$lt_dlopen_dir/}dyld.la"]) 514 ;; 515beos*) 516 LT_DLLOADERS="$LT_DLLOADERS ${lt_dlopen_dir+$lt_dlopen_dir/}load_add_on.la" 517 ;; 518cygwin* | mingw* | pw32*) 519 AC_CHECK_DECLS([cygwin_conv_path], [], [], [[#include <sys/cygwin.h>]]) 520 LT_DLLOADERS="$LT_DLLOADERS ${lt_dlopen_dir+$lt_dlopen_dir/}loadlibrary.la" 521 ;; 522esac 523 524AC_CHECK_LIB([dld], [dld_link], 525 [AC_DEFINE([HAVE_DLD], [1], 526 [Define if you have the GNU dld library.]) 527 LT_DLLOADERS="$LT_DLLOADERS ${lt_dlopen_dir+$lt_dlopen_dir/}dld_link.la"]) 528AC_SUBST([LIBADD_DLD_LINK]) 529 530m4_pattern_allow([^LT_DLPREOPEN$]) 531LT_DLPREOPEN= 532if test -n "$LT_DLLOADERS" 533then 534 for lt_loader in $LT_DLLOADERS; do 535 LT_DLPREOPEN="$LT_DLPREOPEN-dlpreopen $lt_loader " 536 done 537 AC_DEFINE([HAVE_LIBDLLOADER], [1], 538 [Define if libdlloader will be built on this platform]) 539fi 540AC_SUBST([LT_DLPREOPEN]) 541 542dnl This isn't used anymore, but set it for backwards compatibility 543LIBADD_DL="$LIBADD_DLOPEN $LIBADD_SHL_LOAD" 544AC_SUBST([LIBADD_DL]) 545 546LIBS=$lt_dlload_save_LIBS 547AC_LANG_POP 548]) 549m4trace:/usr/local/share/aclocal/ltdl.m4:748: -1- AU_DEFUN([AC_LTDL_DLLIB], [m4_if($#, 0, [LT_LIB_DLLOAD], [LT_LIB_DLLOAD($@)])]) 550m4trace:/usr/local/share/aclocal/ltdl.m4:748: -1- AC_DEFUN([AC_LTDL_DLLIB], [AC_DIAGNOSE([obsolete], [The macro `AC_LTDL_DLLIB' is obsolete. 551You should run autoupdate.])dnl 552m4_if($#, 0, [LT_LIB_DLLOAD], [LT_LIB_DLLOAD($@)])]) 553m4trace:/usr/local/share/aclocal/ltdl.m4:790: -1- AC_DEFUN([LT_SYS_SYMBOL_USCORE], [m4_require([_LT_CMD_GLOBAL_SYMBOLS])dnl 554AC_CACHE_CHECK([for _ prefix in compiled symbols], 555 [lt_cv_sys_symbol_underscore], 556 [lt_cv_sys_symbol_underscore=no 557 cat > conftest.$ac_ext <<_LT_EOF 558void nm_test_func(){} 559int main(){nm_test_func;return 0;} 560_LT_EOF 561 if AC_TRY_EVAL(ac_compile); then 562 # Now try to grab the symbols. 563 ac_nlist=conftest.nm 564 if AC_TRY_EVAL(NM conftest.$ac_objext \| $lt_cv_sys_global_symbol_pipe \> $ac_nlist) && test -s "$ac_nlist"; then 565 # See whether the symbols have a leading underscore. 566 if grep '^. _nm_test_func' "$ac_nlist" >/dev/null; then 567 lt_cv_sys_symbol_underscore=yes 568 else 569 if grep '^. nm_test_func ' "$ac_nlist" >/dev/null; then 570 : 571 else 572 echo "configure: cannot find nm_test_func in $ac_nlist" >&AS_MESSAGE_LOG_FD 573 fi 574 fi 575 else 576 echo "configure: cannot run $lt_cv_sys_global_symbol_pipe" >&AS_MESSAGE_LOG_FD 577 fi 578 else 579 echo "configure: failed program was:" >&AS_MESSAGE_LOG_FD 580 cat conftest.c >&AS_MESSAGE_LOG_FD 581 fi 582 rm -rf conftest* 583 ]) 584 sys_symbol_underscore=$lt_cv_sys_symbol_underscore 585 AC_SUBST([sys_symbol_underscore]) 586]) 587m4trace:/usr/local/share/aclocal/ltdl.m4:793: -1- AU_DEFUN([AC_LTDL_SYMBOL_USCORE], [m4_if($#, 0, [LT_SYS_SYMBOL_USCORE], [LT_SYS_SYMBOL_USCORE($@)])]) 588m4trace:/usr/local/share/aclocal/ltdl.m4:793: -1- AC_DEFUN([AC_LTDL_SYMBOL_USCORE], [AC_DIAGNOSE([obsolete], [The macro `AC_LTDL_SYMBOL_USCORE' is obsolete. 589You should run autoupdate.])dnl 590m4_if($#, 0, [LT_SYS_SYMBOL_USCORE], [LT_SYS_SYMBOL_USCORE($@)])]) 591m4trace:/usr/local/share/aclocal/ltdl.m4:904: -1- AC_DEFUN([LT_FUNC_DLSYM_USCORE], [AC_REQUIRE([_LT_COMPILER_PIC])dnl for lt_prog_compiler_wl 592AC_REQUIRE([LT_SYS_SYMBOL_USCORE])dnl for lt_cv_sys_symbol_underscore 593AC_REQUIRE([LT_SYS_MODULE_EXT])dnl for libltdl_cv_shlibext 594if test yes = "$lt_cv_sys_symbol_underscore"; then 595 if test yes = "$libltdl_cv_func_dlopen" || test yes = "$libltdl_cv_lib_dl_dlopen"; then 596 AC_CACHE_CHECK([whether we have to add an underscore for dlsym], 597 [libltdl_cv_need_uscore], 598 [libltdl_cv_need_uscore=unknown 599 dlsym_uscore_save_LIBS=$LIBS 600 LIBS="$LIBS $LIBADD_DLOPEN" 601 libname=conftmod # stay within 8.3 filename limits! 602 cat >$libname.$ac_ext <<_LT_EOF 603[#line $LINENO "configure" 604#include "confdefs.h" 605/* When -fvisibility=hidden is used, assume the code has been annotated 606 correspondingly for the symbols needed. */ 607#if defined __GNUC__ && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3)) 608int fnord () __attribute__((visibility("default"))); 609#endif 610int fnord () { return 42; }] 611_LT_EOF 612 613 # ltfn_module_cmds module_cmds 614 # Execute tilde-delimited MODULE_CMDS with environment primed for 615 # $module_cmds or $archive_cmds type content. 616 ltfn_module_cmds () 617 {( # subshell avoids polluting parent global environment 618 module_cmds_save_ifs=$IFS; IFS='~' 619 for cmd in @S|@1; do 620 IFS=$module_cmds_save_ifs 621 libobjs=$libname.$ac_objext; lib=$libname$libltdl_cv_shlibext 622 rpath=/not-exists; soname=$libname$libltdl_cv_shlibext; output_objdir=. 623 major=; versuffix=; verstring=; deplibs= 624 ECHO=echo; wl=$lt_prog_compiler_wl; allow_undefined_flag= 625 eval $cmd 626 done 627 IFS=$module_cmds_save_ifs 628 )} 629 630 # Compile a loadable module using libtool macro expansion results. 631 $CC $pic_flag -c $libname.$ac_ext 632 ltfn_module_cmds "${module_cmds:-$archive_cmds}" 633 634 # Try to fetch fnord with dlsym(). 635 libltdl_dlunknown=0; libltdl_dlnouscore=1; libltdl_dluscore=2 636 cat >conftest.$ac_ext <<_LT_EOF 637[#line $LINENO "configure" 638#include "confdefs.h" 639#if HAVE_DLFCN_H 640#include <dlfcn.h> 641#endif 642#include <stdio.h> 643#ifndef RTLD_GLOBAL 644# ifdef DL_GLOBAL 645# define RTLD_GLOBAL DL_GLOBAL 646# else 647# define RTLD_GLOBAL 0 648# endif 649#endif 650#ifndef RTLD_NOW 651# ifdef DL_NOW 652# define RTLD_NOW DL_NOW 653# else 654# define RTLD_NOW 0 655# endif 656#endif 657int main () { 658 void *handle = dlopen ("`pwd`/$libname$libltdl_cv_shlibext", RTLD_GLOBAL|RTLD_NOW); 659 int status = $libltdl_dlunknown; 660 if (handle) { 661 if (dlsym (handle, "fnord")) 662 status = $libltdl_dlnouscore; 663 else { 664 if (dlsym (handle, "_fnord")) 665 status = $libltdl_dluscore; 666 else 667 puts (dlerror ()); 668 } 669 dlclose (handle); 670 } else 671 puts (dlerror ()); 672 return status; 673}] 674_LT_EOF 675 if AC_TRY_EVAL(ac_link) && test -s "conftest$ac_exeext" 2>/dev/null; then 676 (./conftest; exit; ) >&AS_MESSAGE_LOG_FD 2>/dev/null 677 libltdl_status=$? 678 case x$libltdl_status in 679 x$libltdl_dlnouscore) libltdl_cv_need_uscore=no ;; 680 x$libltdl_dluscore) libltdl_cv_need_uscore=yes ;; 681 x*) libltdl_cv_need_uscore=unknown ;; 682 esac 683 fi 684 rm -rf conftest* $libname* 685 LIBS=$dlsym_uscore_save_LIBS 686 ]) 687 fi 688fi 689 690if test yes = "$libltdl_cv_need_uscore"; then 691 AC_DEFINE([NEED_USCORE], [1], 692 [Define if dlsym() requires a leading underscore in symbol names.]) 693fi 694]) 695m4trace:/usr/local/share/aclocal/ltdl.m4:907: -1- AU_DEFUN([AC_LTDL_DLSYM_USCORE], [m4_if($#, 0, [LT_FUNC_DLSYM_USCORE], [LT_FUNC_DLSYM_USCORE($@)])]) 696m4trace:/usr/local/share/aclocal/ltdl.m4:907: -1- AC_DEFUN([AC_LTDL_DLSYM_USCORE], [AC_DIAGNOSE([obsolete], [The macro `AC_LTDL_DLSYM_USCORE' is obsolete. 697You should run autoupdate.])dnl 698m4_if($#, 0, [LT_FUNC_DLSYM_USCORE], [LT_FUNC_DLSYM_USCORE($@)])]) 699m4trace:/usr/local/share/aclocal/pkg.m4:79: -1- AC_DEFUN([PKG_PROG_PKG_CONFIG], [m4_pattern_forbid([^_?PKG_[A-Z_]+$]) 700m4_pattern_allow([^PKG_CONFIG(_(PATH|LIBDIR|SYSROOT_DIR|ALLOW_SYSTEM_(CFLAGS|LIBS)))?$]) 701m4_pattern_allow([^PKG_CONFIG_(DISABLE_UNINSTALLED|TOP_BUILD_DIR|DEBUG_SPEW)$]) 702AC_ARG_VAR([PKG_CONFIG], [path to pkg-config utility]) 703AC_ARG_VAR([PKG_CONFIG_PATH], [directories to add to pkg-config's search path]) 704AC_ARG_VAR([PKG_CONFIG_LIBDIR], [path overriding pkg-config's built-in search path]) 705 706if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then 707 AC_PATH_TOOL([PKG_CONFIG], [pkg-config]) 708fi 709if test -n "$PKG_CONFIG"; then 710 _pkg_min_version=m4_default([$1], [0.9.0]) 711 AC_MSG_CHECKING([pkg-config is at least version $_pkg_min_version]) 712 if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then 713 AC_MSG_RESULT([yes]) 714 else 715 AC_MSG_RESULT([no]) 716 PKG_CONFIG="" 717 fi 718fi[]dnl 719]) 720m4trace:/usr/local/share/aclocal/pkg.m4:99: -1- AC_DEFUN([PKG_CHECK_EXISTS], [AC_REQUIRE([PKG_PROG_PKG_CONFIG])dnl 721if test -n "$PKG_CONFIG" && \ 722 AC_RUN_LOG([$PKG_CONFIG --exists --print-errors "$1"]); then 723 m4_default([$2], [:]) 724m4_ifvaln([$3], [else 725 $3])dnl 726fi]) 727m4trace:/usr/local/share/aclocal/pkg.m4:128: -1- AC_DEFUN([_PKG_SHORT_ERRORS_SUPPORTED], [AC_REQUIRE([PKG_PROG_PKG_CONFIG]) 728if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then 729 _pkg_short_errors_supported=yes 730else 731 _pkg_short_errors_supported=no 732fi[]dnl 733]) 734m4trace:/usr/local/share/aclocal/pkg.m4:192: -1- AC_DEFUN([PKG_CHECK_MODULES], [AC_REQUIRE([PKG_PROG_PKG_CONFIG])dnl 735AC_ARG_VAR([$1][_CFLAGS], [C compiler flags for $1, overriding pkg-config])dnl 736AC_ARG_VAR([$1][_LIBS], [linker flags for $1, overriding pkg-config])dnl 737 738pkg_failed=no 739AC_MSG_CHECKING([for $2]) 740 741_PKG_CONFIG([$1][_CFLAGS], [cflags], [$2]) 742_PKG_CONFIG([$1][_LIBS], [libs], [$2]) 743 744m4_define([_PKG_TEXT], [Alternatively, you may set the environment variables $1[]_CFLAGS 745and $1[]_LIBS to avoid the need to call pkg-config. 746See the pkg-config man page for more details.]) 747 748if test $pkg_failed = yes; then 749 AC_MSG_RESULT([no]) 750 _PKG_SHORT_ERRORS_SUPPORTED 751 if test $_pkg_short_errors_supported = yes; then 752 $1[]_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "$2" 2>&1` 753 else 754 $1[]_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "$2" 2>&1` 755 fi 756 # Put the nasty error message in config.log where it belongs 757 echo "$$1[]_PKG_ERRORS" >&AS_MESSAGE_LOG_FD 758 759 m4_default([$4], [AC_MSG_ERROR( 760[Package requirements ($2) were not met: 761 762$$1_PKG_ERRORS 763 764Consider adjusting the PKG_CONFIG_PATH environment variable if you 765installed software in a non-standard prefix. 766 767_PKG_TEXT])[]dnl 768 ]) 769elif test $pkg_failed = untried; then 770 AC_MSG_RESULT([no]) 771 m4_default([$4], [AC_MSG_FAILURE( 772[The pkg-config script could not be found or is too old. Make sure it 773is in your PATH or set the PKG_CONFIG environment variable to the full 774path to pkg-config. 775 776_PKG_TEXT 777 778To get pkg-config, see <http://pkg-config.freedesktop.org/>.])[]dnl 779 ]) 780else 781 $1[]_CFLAGS=$pkg_cv_[]$1[]_CFLAGS 782 $1[]_LIBS=$pkg_cv_[]$1[]_LIBS 783 AC_MSG_RESULT([yes]) 784 $3 785fi[]dnl 786]) 787m4trace:/usr/local/share/aclocal/pkg.m4:214: -1- AC_DEFUN([PKG_CHECK_MODULES_STATIC], [AC_REQUIRE([PKG_PROG_PKG_CONFIG])dnl 788_save_PKG_CONFIG=$PKG_CONFIG 789PKG_CONFIG="$PKG_CONFIG --static" 790PKG_CHECK_MODULES($@) 791PKG_CONFIG=$_save_PKG_CONFIG[]dnl 792]) 793m4trace:/usr/local/share/aclocal/pkg.m4:236: -1- AC_DEFUN([PKG_INSTALLDIR], [m4_pushdef([pkg_default], [m4_default([$1], ['${libdir}/pkgconfig'])]) 794m4_pushdef([pkg_description], 795 [pkg-config installation directory @<:@]pkg_default[@:>@]) 796AC_ARG_WITH([pkgconfigdir], 797 [AS_HELP_STRING([--with-pkgconfigdir], pkg_description)],, 798 [with_pkgconfigdir=]pkg_default) 799AC_SUBST([pkgconfigdir], [$with_pkgconfigdir]) 800m4_popdef([pkg_default]) 801m4_popdef([pkg_description]) 802]) 803m4trace:/usr/local/share/aclocal/pkg.m4:258: -1- AC_DEFUN([PKG_NOARCH_INSTALLDIR], [m4_pushdef([pkg_default], [m4_default([$1], ['${datadir}/pkgconfig'])]) 804m4_pushdef([pkg_description], 805 [pkg-config arch-independent installation directory @<:@]pkg_default[@:>@]) 806AC_ARG_WITH([noarch-pkgconfigdir], 807 [AS_HELP_STRING([--with-noarch-pkgconfigdir], pkg_description)],, 808 [with_noarch_pkgconfigdir=]pkg_default) 809AC_SUBST([noarch_pkgconfigdir], [$with_noarch_pkgconfigdir]) 810m4_popdef([pkg_default]) 811m4_popdef([pkg_description]) 812]) 813m4trace:/usr/local/share/aclocal/pkg.m4:275: -1- AC_DEFUN([PKG_CHECK_VAR], [AC_REQUIRE([PKG_PROG_PKG_CONFIG])dnl 814AC_ARG_VAR([$1], [value of $3 for $2, overriding pkg-config])dnl 815 816_PKG_CONFIG([$1], [variable="][$3]["], [$2]) 817AS_VAR_COPY([$1], [pkg_cv_][$1]) 818 819AS_VAR_IF([$1], [""], [$5], [$4])dnl 820]) 821m4trace:/usr/local/Cellar/automake/1.16.1_1/share/aclocal-1.16/amversion.m4:20: -1- AC_DEFUN([AM_AUTOMAKE_VERSION], [am__api_version='1.16' 822dnl Some users find AM_AUTOMAKE_VERSION and mistake it for a way to 823dnl require some minimum version. Point them to the right macro. 824m4_if([$1], [1.16.1], [], 825 [AC_FATAL([Do not call $0, use AM_INIT_AUTOMAKE([$1]).])])dnl 826]) 827m4trace:/usr/local/Cellar/automake/1.16.1_1/share/aclocal-1.16/amversion.m4:37: -1- AC_DEFUN([AM_SET_CURRENT_AUTOMAKE_VERSION], [AM_AUTOMAKE_VERSION([1.16.1])dnl 828m4_ifndef([AC_AUTOCONF_VERSION], 829 [m4_copy([m4_PACKAGE_VERSION], [AC_AUTOCONF_VERSION])])dnl 830_AM_AUTOCONF_VERSION(m4_defn([AC_AUTOCONF_VERSION]))]) 831m4trace:/usr/local/Cellar/automake/1.16.1_1/share/aclocal-1.16/ar-lib.m4:60: -1- AC_DEFUN([AM_PROG_AR], [AC_BEFORE([$0], [LT_INIT])dnl 832AC_BEFORE([$0], [AC_PROG_LIBTOOL])dnl 833AC_REQUIRE([AM_AUX_DIR_EXPAND])dnl 834AC_REQUIRE_AUX_FILE([ar-lib])dnl 835AC_CHECK_TOOLS([AR], [ar lib "link -lib"], [false]) 836: ${AR=ar} 837 838AC_CACHE_CHECK([the archiver ($AR) interface], [am_cv_ar_interface], 839 [AC_LANG_PUSH([C]) 840 am_cv_ar_interface=ar 841 AC_COMPILE_IFELSE([AC_LANG_SOURCE([[int some_variable = 0;]])], 842 [am_ar_try='$AR cru libconftest.a conftest.$ac_objext >&AS_MESSAGE_LOG_FD' 843 AC_TRY_EVAL([am_ar_try]) 844 if test "$ac_status" -eq 0; then 845 am_cv_ar_interface=ar 846 else 847 am_ar_try='$AR -NOLOGO -OUT:conftest.lib conftest.$ac_objext >&AS_MESSAGE_LOG_FD' 848 AC_TRY_EVAL([am_ar_try]) 849 if test "$ac_status" -eq 0; then 850 am_cv_ar_interface=lib 851 else 852 am_cv_ar_interface=unknown 853 fi 854 fi 855 rm -f conftest.lib libconftest.a 856 ]) 857 AC_LANG_POP([C])]) 858 859case $am_cv_ar_interface in 860ar) 861 ;; 862lib) 863 # Microsoft lib, so override with the ar-lib wrapper script. 864 # FIXME: It is wrong to rewrite AR. 865 # But if we don't then we get into trouble of one sort or another. 866 # A longer-term fix would be to have automake use am__AR in this case, 867 # and then we could set am__AR="$am_aux_dir/ar-lib \$(AR)" or something 868 # similar. 869 AR="$am_aux_dir/ar-lib $AR" 870 ;; 871unknown) 872 m4_default([$1], 873 [AC_MSG_ERROR([could not determine $AR interface])]) 874 ;; 875esac 876AC_SUBST([AR])dnl 877]) 878m4trace:/usr/local/Cellar/automake/1.16.1_1/share/aclocal-1.16/auxdir.m4:51: -1- AC_DEFUN([AM_AUX_DIR_EXPAND], [AC_REQUIRE([AC_CONFIG_AUX_DIR_DEFAULT])dnl 879# Expand $ac_aux_dir to an absolute path. 880am_aux_dir=`cd "$ac_aux_dir" && pwd` 881]) 882m4trace:/usr/local/Cellar/automake/1.16.1_1/share/aclocal-1.16/cond.m4:32: -1- AC_DEFUN([AM_CONDITIONAL], [AC_PREREQ([2.52])dnl 883 m4_if([$1], [TRUE], [AC_FATAL([$0: invalid condition: $1])], 884 [$1], [FALSE], [AC_FATAL([$0: invalid condition: $1])])dnl 885AC_SUBST([$1_TRUE])dnl 886AC_SUBST([$1_FALSE])dnl 887_AM_SUBST_NOTMAKE([$1_TRUE])dnl 888_AM_SUBST_NOTMAKE([$1_FALSE])dnl 889m4_define([_AM_COND_VALUE_$1], [$2])dnl 890if $2; then 891 $1_TRUE= 892 $1_FALSE='#' 893else 894 $1_TRUE='#' 895 $1_FALSE= 896fi 897AC_CONFIG_COMMANDS_PRE( 898[if test -z "${$1_TRUE}" && test -z "${$1_FALSE}"; then 899 AC_MSG_ERROR([[conditional "$1" was never defined. 900Usually this means the macro was only invoked conditionally.]]) 901fi])]) 902m4trace:/usr/local/Cellar/automake/1.16.1_1/share/aclocal-1.16/depend.m4:156: -1- AC_DEFUN([_AM_DEPENDENCIES], [AC_REQUIRE([AM_SET_DEPDIR])dnl 903AC_REQUIRE([AM_OUTPUT_DEPENDENCY_COMMANDS])dnl 904AC_REQUIRE([AM_MAKE_INCLUDE])dnl 905AC_REQUIRE([AM_DEP_TRACK])dnl 906 907m4_if([$1], [CC], [depcc="$CC" am_compiler_list=], 908 [$1], [CXX], [depcc="$CXX" am_compiler_list=], 909 [$1], [OBJC], [depcc="$OBJC" am_compiler_list='gcc3 gcc'], 910 [$1], [OBJCXX], [depcc="$OBJCXX" am_compiler_list='gcc3 gcc'], 911 [$1], [UPC], [depcc="$UPC" am_compiler_list=], 912 [$1], [GCJ], [depcc="$GCJ" am_compiler_list='gcc3 gcc'], 913 [depcc="$$1" am_compiler_list=]) 914 915AC_CACHE_CHECK([dependency style of $depcc], 916 [am_cv_$1_dependencies_compiler_type], 917[if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then 918 # We make a subdir and do the tests there. Otherwise we can end up 919 # making bogus files that we don't know about and never remove. For 920 # instance it was reported that on HP-UX the gcc test will end up 921 # making a dummy file named 'D' -- because '-MD' means "put the output 922 # in D". 923 rm -rf conftest.dir 924 mkdir conftest.dir 925 # Copy depcomp to subdir because otherwise we won't find it if we're 926 # using a relative directory. 927 cp "$am_depcomp" conftest.dir 928 cd conftest.dir 929 # We will build objects and dependencies in a subdirectory because 930 # it helps to detect inapplicable dependency modes. For instance 931 # both Tru64's cc and ICC support -MD to output dependencies as a 932 # side effect of compilation, but ICC will put the dependencies in 933 # the current directory while Tru64 will put them in the object 934 # directory. 935 mkdir sub 936 937 am_cv_$1_dependencies_compiler_type=none 938 if test "$am_compiler_list" = ""; then 939 am_compiler_list=`sed -n ['s/^#*\([a-zA-Z0-9]*\))$/\1/p'] < ./depcomp` 940 fi 941 am__universal=false 942 m4_case([$1], [CC], 943 [case " $depcc " in #( 944 *\ -arch\ *\ -arch\ *) am__universal=true ;; 945 esac], 946 [CXX], 947 [case " $depcc " in #( 948 *\ -arch\ *\ -arch\ *) am__universal=true ;; 949 esac]) 950 951 for depmode in $am_compiler_list; do 952 # Setup a source with many dependencies, because some compilers 953 # like to wrap large dependency lists on column 80 (with \), and 954 # we should not choose a depcomp mode which is confused by this. 955 # 956 # We need to recreate these files for each test, as the compiler may 957 # overwrite some of them when testing with obscure command lines. 958 # This happens at least with the AIX C compiler. 959 : > sub/conftest.c 960 for i in 1 2 3 4 5 6; do 961 echo '#include "conftst'$i'.h"' >> sub/conftest.c 962 # Using ": > sub/conftst$i.h" creates only sub/conftst1.h with 963 # Solaris 10 /bin/sh. 964 echo '/* dummy */' > sub/conftst$i.h 965 done 966 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf 967 968 # We check with '-c' and '-o' for the sake of the "dashmstdout" 969 # mode. It turns out that the SunPro C++ compiler does not properly 970 # handle '-M -o', and we need to detect this. Also, some Intel 971 # versions had trouble with output in subdirs. 972 am__obj=sub/conftest.${OBJEXT-o} 973 am__minus_obj="-o $am__obj" 974 case $depmode in 975 gcc) 976 # This depmode causes a compiler race in universal mode. 977 test "$am__universal" = false || continue 978 ;; 979 nosideeffect) 980 # After this tag, mechanisms are not by side-effect, so they'll 981 # only be used when explicitly requested. 982 if test "x$enable_dependency_tracking" = xyes; then 983 continue 984 else 985 break 986 fi 987 ;; 988 msvc7 | msvc7msys | msvisualcpp | msvcmsys) 989 # This compiler won't grok '-c -o', but also, the minuso test has 990 # not run yet. These depmodes are late enough in the game, and 991 # so weak that their functioning should not be impacted. 992 am__obj=conftest.${OBJEXT-o} 993 am__minus_obj= 994 ;; 995 none) break ;; 996 esac 997 if depmode=$depmode \ 998 source=sub/conftest.c object=$am__obj \ 999 depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \ 1000 $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \ 1001 >/dev/null 2>conftest.err && 1002 grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 && 1003 grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 && 1004 grep $am__obj sub/conftest.Po > /dev/null 2>&1 && 1005 ${MAKE-make} -s -f confmf > /dev/null 2>&1; then 1006 # icc doesn't choke on unknown options, it will just issue warnings 1007 # or remarks (even with -Werror). So we grep stderr for any message 1008 # that says an option was ignored or not supported. 1009 # When given -MP, icc 7.0 and 7.1 complain thusly: 1010 # icc: Command line warning: ignoring option '-M'; no argument required 1011 # The diagnosis changed in icc 8.0: 1012 # icc: Command line remark: option '-MP' not supported 1013 if (grep 'ignoring option' conftest.err || 1014 grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else 1015 am_cv_$1_dependencies_compiler_type=$depmode 1016 break 1017 fi 1018 fi 1019 done 1020 1021 cd .. 1022 rm -rf conftest.dir 1023else 1024 am_cv_$1_dependencies_compiler_type=none 1025fi 1026]) 1027AC_SUBST([$1DEPMODE], [depmode=$am_cv_$1_dependencies_compiler_type]) 1028AM_CONDITIONAL([am__fastdep$1], [ 1029 test "x$enable_dependency_tracking" != xno \ 1030 && test "$am_cv_$1_dependencies_compiler_type" = gcc3]) 1031]) 1032m4trace:/usr/local/Cellar/automake/1.16.1_1/share/aclocal-1.16/depend.m4:166: -1- AC_DEFUN([AM_SET_DEPDIR], [AC_REQUIRE([AM_SET_LEADING_DOT])dnl 1033AC_SUBST([DEPDIR], ["${am__leading_dot}deps"])dnl 1034]) 1035m4trace:/usr/local/Cellar/automake/1.16.1_1/share/aclocal-1.16/depend.m4:189: -1- AC_DEFUN([AM_DEP_TRACK], [AC_ARG_ENABLE([dependency-tracking], [dnl 1036AS_HELP_STRING( 1037 [--enable-dependency-tracking], 1038 [do not reject slow dependency extractors]) 1039AS_HELP_STRING( 1040 [--disable-dependency-tracking], 1041 [speeds up one-time build])]) 1042if test "x$enable_dependency_tracking" != xno; then 1043 am_depcomp="$ac_aux_dir/depcomp" 1044 AMDEPBACKSLASH='\' 1045 am__nodep='_no' 1046fi 1047AM_CONDITIONAL([AMDEP], [test "x$enable_dependency_tracking" != xno]) 1048AC_SUBST([AMDEPBACKSLASH])dnl 1049_AM_SUBST_NOTMAKE([AMDEPBACKSLASH])dnl 1050AC_SUBST([am__nodep])dnl 1051_AM_SUBST_NOTMAKE([am__nodep])dnl 1052]) 1053m4trace:/usr/local/Cellar/automake/1.16.1_1/share/aclocal-1.16/depout.m4:52: -1- AC_DEFUN([_AM_OUTPUT_DEPENDENCY_COMMANDS], [{ 1054 # Older Autoconf quotes --file arguments for eval, but not when files 1055 # are listed without --file. Let's play safe and only enable the eval 1056 # if we detect the quoting. 1057 # TODO: see whether this extra hack can be removed once we start 1058 # requiring Autoconf 2.70 or later. 1059 AS_CASE([$CONFIG_FILES], 1060 [*\'*], [eval set x "$CONFIG_FILES"], 1061 [*], [set x $CONFIG_FILES]) 1062 shift 1063 # Used to flag and report bootstrapping failures. 1064 am_rc=0 1065 for am_mf 1066 do 1067 # Strip MF so we end up with the name of the file. 1068 am_mf=`AS_ECHO(["$am_mf"]) | sed -e 's/:.*$//'` 1069 # Check whether this is an Automake generated Makefile which includes 1070 # dependency-tracking related rules and includes. 1071 # Grep'ing the whole file directly is not great: AIX grep has a line 1072 # limit of 2048, but all sed's we know have understand at least 4000. 1073 sed -n 's,^am--depfiles:.*,X,p' "$am_mf" | grep X >/dev/null 2>&1 \ 1074 || continue 1075 am_dirpart=`AS_DIRNAME(["$am_mf"])` 1076 am_filepart=`AS_BASENAME(["$am_mf"])` 1077 AM_RUN_LOG([cd "$am_dirpart" \ 1078 && sed -e '/# am--include-marker/d' "$am_filepart" \ 1079 | $MAKE -f - am--depfiles]) || am_rc=$? 1080 done 1081 if test $am_rc -ne 0; then 1082 AC_MSG_FAILURE([Something went wrong bootstrapping makefile fragments 1083 for automatic dependency tracking. Try re-running configure with the 1084 '--disable-dependency-tracking' option to at least be able to build 1085 the package (albeit without support for automatic dependency tracking).]) 1086 fi 1087 AS_UNSET([am_dirpart]) 1088 AS_UNSET([am_filepart]) 1089 AS_UNSET([am_mf]) 1090 AS_UNSET([am_rc]) 1091 rm -f conftest-deps.mk 1092} 1093]) 1094m4trace:/usr/local/Cellar/automake/1.16.1_1/share/aclocal-1.16/depout.m4:65: -1- AC_DEFUN([AM_OUTPUT_DEPENDENCY_COMMANDS], [AC_CONFIG_COMMANDS([depfiles], 1095 [test x"$AMDEP_TRUE" != x"" || _AM_OUTPUT_DEPENDENCY_COMMANDS], 1096 [AMDEP_TRUE="$AMDEP_TRUE" MAKE="${MAKE-make}"])]) 1097m4trace:/usr/local/Cellar/automake/1.16.1_1/share/aclocal-1.16/init.m4:171: -1- AC_DEFUN([AM_INIT_AUTOMAKE], [AC_PREREQ([2.65])dnl 1098dnl Autoconf wants to disallow AM_ names. We explicitly allow 1099dnl the ones we care about. 1100m4_pattern_allow([^AM_[A-Z]+FLAGS$])dnl 1101AC_REQUIRE([AM_SET_CURRENT_AUTOMAKE_VERSION])dnl 1102AC_REQUIRE([AC_PROG_INSTALL])dnl 1103if test "`cd $srcdir && pwd`" != "`pwd`"; then 1104 # Use -I$(srcdir) only when $(srcdir) != ., so that make's output 1105 # is not polluted with repeated "-I." 1106 AC_SUBST([am__isrc], [' -I$(srcdir)'])_AM_SUBST_NOTMAKE([am__isrc])dnl 1107 # test to see if srcdir already configured 1108 if test -f $srcdir/config.status; then 1109 AC_MSG_ERROR([source directory already configured; run "make distclean" there first]) 1110 fi 1111fi 1112 1113# test whether we have cygpath 1114if test -z "$CYGPATH_W"; then 1115 if (cygpath --version) >/dev/null 2>/dev/null; then 1116 CYGPATH_W='cygpath -w' 1117 else 1118 CYGPATH_W=echo 1119 fi 1120fi 1121AC_SUBST([CYGPATH_W]) 1122 1123# Define the identity of the package. 1124dnl Distinguish between old-style and new-style calls. 1125m4_ifval([$2], 1126[AC_DIAGNOSE([obsolete], 1127 [$0: two- and three-arguments forms are deprecated.]) 1128m4_ifval([$3], [_AM_SET_OPTION([no-define])])dnl 1129 AC_SUBST([PACKAGE], [$1])dnl 1130 AC_SUBST([VERSION], [$2])], 1131[_AM_SET_OPTIONS([$1])dnl 1132dnl Diagnose old-style AC_INIT with new-style AM_AUTOMAKE_INIT. 1133m4_if( 1134 m4_ifdef([AC_PACKAGE_NAME], [ok]):m4_ifdef([AC_PACKAGE_VERSION], [ok]), 1135 [ok:ok],, 1136 [m4_fatal([AC_INIT should be called with package and version arguments])])dnl 1137 AC_SUBST([PACKAGE], ['AC_PACKAGE_TARNAME'])dnl 1138 AC_SUBST([VERSION], ['AC_PACKAGE_VERSION'])])dnl 1139 1140_AM_IF_OPTION([no-define],, 1141[AC_DEFINE_UNQUOTED([PACKAGE], ["$PACKAGE"], [Name of package]) 1142 AC_DEFINE_UNQUOTED([VERSION], ["$VERSION"], [Version number of package])])dnl 1143 1144# Some tools Automake needs. 1145AC_REQUIRE([AM_SANITY_CHECK])dnl 1146AC_REQUIRE([AC_ARG_PROGRAM])dnl 1147AM_MISSING_PROG([ACLOCAL], [aclocal-${am__api_version}]) 1148AM_MISSING_PROG([AUTOCONF], [autoconf]) 1149AM_MISSING_PROG([AUTOMAKE], [automake-${am__api_version}]) 1150AM_MISSING_PROG([AUTOHEADER], [autoheader]) 1151AM_MISSING_PROG([MAKEINFO], [makeinfo]) 1152AC_REQUIRE([AM_PROG_INSTALL_SH])dnl 1153AC_REQUIRE([AM_PROG_INSTALL_STRIP])dnl 1154AC_REQUIRE([AC_PROG_MKDIR_P])dnl 1155# For better backward compatibility. To be removed once Automake 1.9.x 1156# dies out for good. For more background, see: 1157# <https://lists.gnu.org/archive/html/automake/2012-07/msg00001.html> 1158# <https://lists.gnu.org/archive/html/automake/2012-07/msg00014.html> 1159AC_SUBST([mkdir_p], ['$(MKDIR_P)']) 1160# We need awk for the "check" target (and possibly the TAP driver). The 1161# system "awk" is bad on some platforms. 1162AC_REQUIRE([AC_PROG_AWK])dnl 1163AC_REQUIRE([AC_PROG_MAKE_SET])dnl 1164AC_REQUIRE([AM_SET_LEADING_DOT])dnl 1165_AM_IF_OPTION([tar-ustar], [_AM_PROG_TAR([ustar])], 1166 [_AM_IF_OPTION([tar-pax], [_AM_PROG_TAR([pax])], 1167 [_AM_PROG_TAR([v7])])]) 1168_AM_IF_OPTION([no-dependencies],, 1169[AC_PROVIDE_IFELSE([AC_PROG_CC], 1170 [_AM_DEPENDENCIES([CC])], 1171 [m4_define([AC_PROG_CC], 1172 m4_defn([AC_PROG_CC])[_AM_DEPENDENCIES([CC])])])dnl 1173AC_PROVIDE_IFELSE([AC_PROG_CXX], 1174 [_AM_DEPENDENCIES([CXX])], 1175 [m4_define([AC_PROG_CXX], 1176 m4_defn([AC_PROG_CXX])[_AM_DEPENDENCIES([CXX])])])dnl 1177AC_PROVIDE_IFELSE([AC_PROG_OBJC], 1178 [_AM_DEPENDENCIES([OBJC])], 1179 [m4_define([AC_PROG_OBJC], 1180 m4_defn([AC_PROG_OBJC])[_AM_DEPENDENCIES([OBJC])])])dnl 1181AC_PROVIDE_IFELSE([AC_PROG_OBJCXX], 1182 [_AM_DEPENDENCIES([OBJCXX])], 1183 [m4_define([AC_PROG_OBJCXX], 1184 m4_defn([AC_PROG_OBJCXX])[_AM_DEPENDENCIES([OBJCXX])])])dnl 1185]) 1186AC_REQUIRE([AM_SILENT_RULES])dnl 1187dnl The testsuite driver may need to know about EXEEXT, so add the 1188dnl 'am__EXEEXT' conditional if _AM_COMPILER_EXEEXT was seen. This 1189dnl macro is hooked onto _AC_COMPILER_EXEEXT early, see below. 1190AC_CONFIG_COMMANDS_PRE(dnl 1191[m4_provide_if([_AM_COMPILER_EXEEXT], 1192 [AM_CONDITIONAL([am__EXEEXT], [test -n "$EXEEXT"])])])dnl 1193 1194# POSIX will say in a future version that running "rm -f" with no argument 1195# is OK; and we want to be able to make that assumption in our Makefile 1196# recipes. So use an aggressive probe to check that the usage we want is 1197# actually supported "in the wild" to an acceptable degree. 1198# See automake bug#10828. 1199# To make any issue more visible, cause the running configure to be aborted 1200# by default if the 'rm' program in use doesn't match our expectations; the 1201# user can still override this though. 1202if rm -f && rm -fr && rm -rf; then : OK; else 1203 cat >&2 <<'END' 1204Oops! 1205 1206Your 'rm' program seems unable to run without file operands specified 1207on the command line, even when the '-f' option is present. This is contrary 1208to the behaviour of most rm programs out there, and not conforming with 1209the upcoming POSIX standard: <http://austingroupbugs.net/view.php?id=542> 1210 1211Please tell bug-automake@gnu.org about your system, including the value 1212of your $PATH and any error possibly output before this message. This 1213can help us improve future automake versions. 1214 1215END 1216 if test x"$ACCEPT_INFERIOR_RM_PROGRAM" = x"yes"; then 1217 echo 'Configuration will proceed anyway, since you have set the' >&2 1218 echo 'ACCEPT_INFERIOR_RM_PROGRAM variable to "yes"' >&2 1219 echo >&2 1220 else 1221 cat >&2 <<'END' 1222Aborting the configuration process, to ensure you take notice of the issue. 1223 1224You can download and install GNU coreutils to get an 'rm' implementation 1225that behaves properly: <https://www.gnu.org/software/coreutils/>. 1226 1227If you want to complete the configuration process using your problematic 1228'rm' anyway, export the environment variable ACCEPT_INFERIOR_RM_PROGRAM 1229to "yes", and re-run configure. 1230 1231END 1232 AC_MSG_ERROR([Your 'rm' program is bad, sorry.]) 1233 fi 1234fi 1235dnl The trailing newline in this macro's definition is deliberate, for 1236dnl backward compatibility and to allow trailing 'dnl'-style comments 1237dnl after the AM_INIT_AUTOMAKE invocation. See automake bug#16841. 1238]) 1239m4trace:/usr/local/Cellar/automake/1.16.1_1/share/aclocal-1.16/init.m4:198: -1- AC_DEFUN([_AC_AM_CONFIG_HEADER_HOOK], [# Compute $1's index in $config_headers. 1240_am_arg=$1 1241_am_stamp_count=1 1242for _am_header in $config_headers :; do 1243 case $_am_header in 1244 $_am_arg | $_am_arg:* ) 1245 break ;; 1246 * ) 1247 _am_stamp_count=`expr $_am_stamp_count + 1` ;; 1248 esac 1249done 1250echo "timestamp for $_am_arg" >`AS_DIRNAME(["$_am_arg"])`/stamp-h[]$_am_stamp_count]) 1251m4trace:/usr/local/Cellar/automake/1.16.1_1/share/aclocal-1.16/install-sh.m4:21: -1- AC_DEFUN([AM_PROG_INSTALL_SH], [AC_REQUIRE([AM_AUX_DIR_EXPAND])dnl 1252if test x"${install_sh+set}" != xset; then 1253 case $am_aux_dir in 1254 *\ * | *\ *) 1255 install_sh="\${SHELL} '$am_aux_dir/install-sh'" ;; 1256 *) 1257 install_sh="\${SHELL} $am_aux_dir/install-sh" 1258 esac 1259fi 1260AC_SUBST([install_sh])]) 1261m4trace:/usr/local/Cellar/automake/1.16.1_1/share/aclocal-1.16/lead-dot.m4:19: -1- AC_DEFUN([AM_SET_LEADING_DOT], [rm -rf .tst 2>/dev/null 1262mkdir .tst 2>/dev/null 1263if test -d .tst; then 1264 am__leading_dot=. 1265else 1266 am__leading_dot=_ 1267fi 1268rmdir .tst 2>/dev/null 1269AC_SUBST([am__leading_dot])]) 1270m4trace:/usr/local/Cellar/automake/1.16.1_1/share/aclocal-1.16/maintainer.m4:35: -1- AC_DEFUN([AM_MAINTAINER_MODE], [m4_case(m4_default([$1], [disable]), 1271 [enable], [m4_define([am_maintainer_other], [disable])], 1272 [disable], [m4_define([am_maintainer_other], [enable])], 1273 [m4_define([am_maintainer_other], [enable]) 1274 m4_warn([syntax], [unexpected argument to AM@&t@_MAINTAINER_MODE: $1])]) 1275AC_MSG_CHECKING([whether to enable maintainer-specific portions of Makefiles]) 1276 dnl maintainer-mode's default is 'disable' unless 'enable' is passed 1277 AC_ARG_ENABLE([maintainer-mode], 1278 [AS_HELP_STRING([--]am_maintainer_other[-maintainer-mode], 1279 am_maintainer_other[ make rules and dependencies not useful 1280 (and sometimes confusing) to the casual installer])], 1281 [USE_MAINTAINER_MODE=$enableval], 1282 [USE_MAINTAINER_MODE=]m4_if(am_maintainer_other, [enable], [no], [yes])) 1283 AC_MSG_RESULT([$USE_MAINTAINER_MODE]) 1284 AM_CONDITIONAL([MAINTAINER_MODE], [test $USE_MAINTAINER_MODE = yes]) 1285 MAINT=$MAINTAINER_MODE_TRUE 1286 AC_SUBST([MAINT])dnl 1287 1288]) 1289m4trace:/usr/local/Cellar/automake/1.16.1_1/share/aclocal-1.16/make.m4:41: -1- AC_DEFUN([AM_MAKE_INCLUDE], [AC_MSG_CHECKING([whether ${MAKE-make} supports the include directive]) 1290cat > confinc.mk << 'END' 1291am__doit: 1292 @echo this is the am__doit target >confinc.out 1293.PHONY: am__doit 1294END 1295am__include="#" 1296am__quote= 1297# BSD make does it like this. 1298echo '.include "confinc.mk" # ignored' > confmf.BSD 1299# Other make implementations (GNU, Solaris 10, AIX) do it like this. 1300echo 'include confinc.mk # ignored' > confmf.GNU 1301_am_result=no 1302for s in GNU BSD; do 1303 AM_RUN_LOG([${MAKE-make} -f confmf.$s && cat confinc.out]) 1304 AS_CASE([$?:`cat confinc.out 2>/dev/null`], 1305 ['0:this is the am__doit target'], 1306 [AS_CASE([$s], 1307 [BSD], [am__include='.include' am__quote='"'], 1308 [am__include='include' am__quote=''])]) 1309 if test "$am__include" != "#"; then 1310 _am_result="yes ($s style)" 1311 break 1312 fi 1313done 1314rm -f confinc.* confmf.* 1315AC_MSG_RESULT([${_am_result}]) 1316AC_SUBST([am__include])]) 1317m4trace:/usr/local/Cellar/automake/1.16.1_1/share/aclocal-1.16/make.m4:42: -1- m4_pattern_allow([^am__quote$]) 1318m4trace:/usr/local/Cellar/automake/1.16.1_1/share/aclocal-1.16/missing.m4:14: -1- AC_DEFUN([AM_MISSING_PROG], [AC_REQUIRE([AM_MISSING_HAS_RUN]) 1319$1=${$1-"${am_missing_run}$2"} 1320AC_SUBST($1)]) 1321m4trace:/usr/local/Cellar/automake/1.16.1_1/share/aclocal-1.16/missing.m4:38: -1- AC_DEFUN([AM_MISSING_HAS_RUN], [AC_REQUIRE([AM_AUX_DIR_EXPAND])dnl 1322AC_REQUIRE_AUX_FILE([missing])dnl 1323if test x"${MISSING+set}" != xset; then 1324 case $am_aux_dir in 1325 *\ * | *\ *) 1326 MISSING="\${SHELL} \"$am_aux_dir/missing\"" ;; 1327 *) 1328 MISSING="\${SHELL} $am_aux_dir/missing" ;; 1329 esac 1330fi 1331# Use eval to expand $SHELL 1332if eval "$MISSING --is-lightweight"; then 1333 am_missing_run="$MISSING " 1334else 1335 am_missing_run= 1336 AC_MSG_WARN(['missing' script is too old or missing]) 1337fi 1338]) 1339m4trace:/usr/local/Cellar/automake/1.16.1_1/share/aclocal-1.16/options.m4:12: -1- AC_DEFUN([_AM_MANGLE_OPTION], [[_AM_OPTION_]m4_bpatsubst($1, [[^a-zA-Z0-9_]], [_])]) 1340m4trace:/usr/local/Cellar/automake/1.16.1_1/share/aclocal-1.16/options.m4:18: -1- AC_DEFUN([_AM_SET_OPTION], [m4_define(_AM_MANGLE_OPTION([$1]), [1])]) 1341m4trace:/usr/local/Cellar/automake/1.16.1_1/share/aclocal-1.16/options.m4:24: -1- AC_DEFUN([_AM_SET_OPTIONS], [m4_foreach_w([_AM_Option], [$1], [_AM_SET_OPTION(_AM_Option)])]) 1342m4trace:/usr/local/Cellar/automake/1.16.1_1/share/aclocal-1.16/options.m4:30: -1- AC_DEFUN([_AM_IF_OPTION], [m4_ifset(_AM_MANGLE_OPTION([$1]), [$2], [$3])]) 1343m4trace:/usr/local/Cellar/automake/1.16.1_1/share/aclocal-1.16/prog-cc-c-o.m4:44: -1- AC_DEFUN([_AM_PROG_CC_C_O], [AC_REQUIRE([AM_AUX_DIR_EXPAND])dnl 1344AC_REQUIRE_AUX_FILE([compile])dnl 1345AC_LANG_PUSH([C])dnl 1346AC_CACHE_CHECK( 1347 [whether $CC understands -c and -o together], 1348 [am_cv_prog_cc_c_o], 1349 [AC_LANG_CONFTEST([AC_LANG_PROGRAM([])]) 1350 # Make sure it works both with $CC and with simple cc. 1351 # Following AC_PROG_CC_C_O, we do the test twice because some 1352 # compilers refuse to overwrite an existing .o file with -o, 1353 # though they will create one. 1354 am_cv_prog_cc_c_o=yes 1355 for am_i in 1 2; do 1356 if AM_RUN_LOG([$CC -c conftest.$ac_ext -o conftest2.$ac_objext]) \ 1357 && test -f conftest2.$ac_objext; then 1358 : OK 1359 else 1360 am_cv_prog_cc_c_o=no 1361 break 1362 fi 1363 done 1364 rm -f core conftest* 1365 unset am_i]) 1366if test "$am_cv_prog_cc_c_o" != yes; then 1367 # Losing compiler, so override with the script. 1368 # FIXME: It is wrong to rewrite CC. 1369 # But if we don't then we get into trouble of one sort or another. 1370 # A longer-term fix would be to have automake use am__CC in this case, 1371 # and then we could set am__CC="\$(top_srcdir)/compile \$(CC)" 1372 CC="$am_aux_dir/compile $CC" 1373fi 1374AC_LANG_POP([C])]) 1375m4trace:/usr/local/Cellar/automake/1.16.1_1/share/aclocal-1.16/prog-cc-c-o.m4:47: -1- AC_DEFUN_ONCE([AM_PROG_CC_C_O], [AC_REQUIRE([AC_PROG_CC])]) 1376m4trace:/usr/local/Cellar/automake/1.16.1_1/share/aclocal-1.16/runlog.m4:17: -1- AC_DEFUN([AM_RUN_LOG], [{ echo "$as_me:$LINENO: $1" >&AS_MESSAGE_LOG_FD 1377 ($1) >&AS_MESSAGE_LOG_FD 2>&AS_MESSAGE_LOG_FD 1378 ac_status=$? 1379 echo "$as_me:$LINENO: \$? = $ac_status" >&AS_MESSAGE_LOG_FD 1380 (exit $ac_status); }]) 1381m4trace:/usr/local/Cellar/automake/1.16.1_1/share/aclocal-1.16/sanity.m4:82: -1- AC_DEFUN([AM_SANITY_CHECK], [AC_MSG_CHECKING([whether build environment is sane]) 1382# Reject unsafe characters in $srcdir or the absolute working directory 1383# name. Accept space and tab only in the latter. 1384am_lf=' 1385' 1386case `pwd` in 1387 *[[\\\"\#\$\&\'\`$am_lf]]*) 1388 AC_MSG_ERROR([unsafe absolute working directory name]);; 1389esac 1390case $srcdir in 1391 *[[\\\"\#\$\&\'\`$am_lf\ \ ]]*) 1392 AC_MSG_ERROR([unsafe srcdir value: '$srcdir']);; 1393esac 1394 1395# Do 'set' in a subshell so we don't clobber the current shell's 1396# arguments. Must try -L first in case configure is actually a 1397# symlink; some systems play weird games with the mod time of symlinks 1398# (eg FreeBSD returns the mod time of the symlink's containing 1399# directory). 1400if ( 1401 am_has_slept=no 1402 for am_try in 1 2; do 1403 echo "timestamp, slept: $am_has_slept" > conftest.file 1404 set X `ls -Lt "$srcdir/configure" conftest.file 2> /dev/null` 1405 if test "$[*]" = "X"; then 1406 # -L didn't work. 1407 set X `ls -t "$srcdir/configure" conftest.file` 1408 fi 1409 if test "$[*]" != "X $srcdir/configure conftest.file" \ 1410 && test "$[*]" != "X conftest.file $srcdir/configure"; then 1411 1412 # If neither matched, then we have a broken ls. This can happen 1413 # if, for instance, CONFIG_SHELL is bash and it inherits a 1414 # broken ls alias from the environment. This has actually 1415 # happened. Such a system could not be considered "sane". 1416 AC_MSG_ERROR([ls -t appears to fail. Make sure there is not a broken 1417 alias in your environment]) 1418 fi 1419 if test "$[2]" = conftest.file || test $am_try -eq 2; then 1420 break 1421 fi 1422 # Just in case. 1423 sleep 1 1424 am_has_slept=yes 1425 done 1426 test "$[2]" = conftest.file 1427 ) 1428then 1429 # Ok. 1430 : 1431else 1432 AC_MSG_ERROR([newly created file is older than distributed files! 1433Check your system clock]) 1434fi 1435AC_MSG_RESULT([yes]) 1436# If we didn't sleep, we still need to ensure time stamps of config.status and 1437# generated files are strictly newer. 1438am_sleep_pid= 1439if grep 'slept: no' conftest.file >/dev/null 2>&1; then 1440 ( sleep 1 ) & 1441 am_sleep_pid=$! 1442fi 1443AC_CONFIG_COMMANDS_PRE( 1444 [AC_MSG_CHECKING([that generated files are newer than configure]) 1445 if test -n "$am_sleep_pid"; then 1446 # Hide warnings about reused PIDs. 1447 wait $am_sleep_pid 2>/dev/null 1448 fi 1449 AC_MSG_RESULT([done])]) 1450rm -f conftest.file 1451]) 1452m4trace:/usr/local/Cellar/automake/1.16.1_1/share/aclocal-1.16/silent.m4:60: -1- AC_DEFUN([AM_SILENT_RULES], [AC_ARG_ENABLE([silent-rules], [dnl 1453AS_HELP_STRING( 1454 [--enable-silent-rules], 1455 [less verbose build output (undo: "make V=1")]) 1456AS_HELP_STRING( 1457 [--disable-silent-rules], 1458 [verbose build output (undo: "make V=0")])dnl 1459]) 1460case $enable_silent_rules in @%:@ ((( 1461 yes) AM_DEFAULT_VERBOSITY=0;; 1462 no) AM_DEFAULT_VERBOSITY=1;; 1463 *) AM_DEFAULT_VERBOSITY=m4_if([$1], [yes], [0], [1]);; 1464esac 1465dnl 1466dnl A few 'make' implementations (e.g., NonStop OS and NextStep) 1467dnl do not support nested variable expansions. 1468dnl See automake bug#9928 and bug#10237. 1469am_make=${MAKE-make} 1470AC_CACHE_CHECK([whether $am_make supports nested variables], 1471 [am_cv_make_support_nested_variables], 1472 [if AS_ECHO([['TRUE=$(BAR$(V)) 1473BAR0=false 1474BAR1=true 1475V=1 1476am__doit: 1477 @$(TRUE) 1478.PHONY: am__doit']]) | $am_make -f - >/dev/null 2>&1; then 1479 am_cv_make_support_nested_variables=yes 1480else 1481 am_cv_make_support_nested_variables=no 1482fi]) 1483if test $am_cv_make_support_nested_variables = yes; then 1484 dnl Using '$V' instead of '$(V)' breaks IRIX make. 1485 AM_V='$(V)' 1486 AM_DEFAULT_V='$(AM_DEFAULT_VERBOSITY)' 1487else 1488 AM_V=$AM_DEFAULT_VERBOSITY 1489 AM_DEFAULT_V=$AM_DEFAULT_VERBOSITY 1490fi 1491AC_SUBST([AM_V])dnl 1492AM_SUBST_NOTMAKE([AM_V])dnl 1493AC_SUBST([AM_DEFAULT_V])dnl 1494AM_SUBST_NOTMAKE([AM_DEFAULT_V])dnl 1495AC_SUBST([AM_DEFAULT_VERBOSITY])dnl 1496AM_BACKSLASH='\' 1497AC_SUBST([AM_BACKSLASH])dnl 1498_AM_SUBST_NOTMAKE([AM_BACKSLASH])dnl 1499]) 1500m4trace:/usr/local/Cellar/automake/1.16.1_1/share/aclocal-1.16/strip.m4:28: -1- AC_DEFUN([AM_PROG_INSTALL_STRIP], [AC_REQUIRE([AM_PROG_INSTALL_SH])dnl 1501# Installed binaries are usually stripped using 'strip' when the user 1502# run "make install-strip". However 'strip' might not be the right 1503# tool to use in cross-compilation environments, therefore Automake 1504# will honor the 'STRIP' environment variable to overrule this program. 1505dnl Don't test for $cross_compiling = yes, because it might be 'maybe'. 1506if test "$cross_compiling" != no; then 1507 AC_CHECK_TOOL([STRIP], [strip], :) 1508fi 1509INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s" 1510AC_SUBST([INSTALL_STRIP_PROGRAM])]) 1511m4trace:/usr/local/Cellar/automake/1.16.1_1/share/aclocal-1.16/substnot.m4:12: -1- AC_DEFUN([_AM_SUBST_NOTMAKE]) 1512m4trace:/usr/local/Cellar/automake/1.16.1_1/share/aclocal-1.16/substnot.m4:17: -1- AC_DEFUN([AM_SUBST_NOTMAKE], [_AM_SUBST_NOTMAKE($@)]) 1513m4trace:/usr/local/Cellar/automake/1.16.1_1/share/aclocal-1.16/tar.m4:132: -1- AC_DEFUN([_AM_PROG_TAR], [# Always define AMTAR for backward compatibility. Yes, it's still used 1514# in the wild :-( We should find a proper way to deprecate it ... 1515AC_SUBST([AMTAR], ['$${TAR-tar}']) 1516 1517# We'll loop over all known methods to create a tar archive until one works. 1518_am_tools='gnutar m4_if([$1], [ustar], [plaintar]) pax cpio none' 1519 1520m4_if([$1], [v7], 1521 [am__tar='$${TAR-tar} chof - "$$tardir"' am__untar='$${TAR-tar} xf -'], 1522 1523 [m4_case([$1], 1524 [ustar], 1525 [# The POSIX 1988 'ustar' format is defined with fixed-size fields. 1526 # There is notably a 21 bits limit for the UID and the GID. In fact, 1527 # the 'pax' utility can hang on bigger UID/GID (see automake bug#8343 1528 # and bug#13588). 1529 am_max_uid=2097151 # 2^21 - 1 1530 am_max_gid=$am_max_uid 1531 # The $UID and $GID variables are not portable, so we need to resort 1532 # to the POSIX-mandated id(1) utility. Errors in the 'id' calls 1533 # below are definitely unexpected, so allow the users to see them 1534 # (that is, avoid stderr redirection). 1535 am_uid=`id -u || echo unknown` 1536 am_gid=`id -g || echo unknown` 1537 AC_MSG_CHECKING([whether UID '$am_uid' is supported by ustar format]) 1538 if test $am_uid -le $am_max_uid; then 1539 AC_MSG_RESULT([yes]) 1540 else 1541 AC_MSG_RESULT([no]) 1542 _am_tools=none 1543 fi 1544 AC_MSG_CHECKING([whether GID '$am_gid' is supported by ustar format]) 1545 if test $am_gid -le $am_max_gid; then 1546 AC_MSG_RESULT([yes]) 1547 else 1548 AC_MSG_RESULT([no]) 1549 _am_tools=none 1550 fi], 1551 1552 [pax], 1553 [], 1554 1555 [m4_fatal([Unknown tar format])]) 1556 1557 AC_MSG_CHECKING([how to create a $1 tar archive]) 1558 1559 # Go ahead even if we have the value already cached. We do so because we 1560 # need to set the values for the 'am__tar' and 'am__untar' variables. 1561 _am_tools=${am_cv_prog_tar_$1-$_am_tools} 1562 1563 for _am_tool in $_am_tools; do 1564 case $_am_tool in 1565 gnutar) 1566 for _am_tar in tar gnutar gtar; do 1567 AM_RUN_LOG([$_am_tar --version]) && break 1568 done 1569 am__tar="$_am_tar --format=m4_if([$1], [pax], [posix], [$1]) -chf - "'"$$tardir"' 1570 am__tar_="$_am_tar --format=m4_if([$1], [pax], [posix], [$1]) -chf - "'"$tardir"' 1571 am__untar="$_am_tar -xf -" 1572 ;; 1573 plaintar) 1574 # Must skip GNU tar: if it does not support --format= it doesn't create 1575 # ustar tarball either. 1576 (tar --version) >/dev/null 2>&1 && continue 1577 am__tar='tar chf - "$$tardir"' 1578 am__tar_='tar chf - "$tardir"' 1579 am__untar='tar xf -' 1580 ;; 1581 pax) 1582 am__tar='pax -L -x $1 -w "$$tardir"' 1583 am__tar_='pax -L -x $1 -w "$tardir"' 1584 am__untar='pax -r' 1585 ;; 1586 cpio) 1587 am__tar='find "$$tardir" -print | cpio -o -H $1 -L' 1588 am__tar_='find "$tardir" -print | cpio -o -H $1 -L' 1589 am__untar='cpio -i -H $1 -d' 1590 ;; 1591 none) 1592 am__tar=false 1593 am__tar_=false 1594 am__untar=false 1595 ;; 1596 esac 1597 1598 # If the value was cached, stop now. We just wanted to have am__tar 1599 # and am__untar set. 1600 test -n "${am_cv_prog_tar_$1}" && break 1601 1602 # tar/untar a dummy directory, and stop if the command works. 1603 rm -rf conftest.dir 1604 mkdir conftest.dir 1605 echo GrepMe > conftest.dir/file 1606 AM_RUN_LOG([tardir=conftest.dir && eval $am__tar_ >conftest.tar]) 1607 rm -rf conftest.dir 1608 if test -s conftest.tar; then 1609 AM_RUN_LOG([$am__untar <conftest.tar]) 1610 AM_RUN_LOG([cat conftest.dir/file]) 1611 grep GrepMe conftest.dir/file >/dev/null 2>&1 && break 1612 fi 1613 done 1614 rm -rf conftest.dir 1615 1616 AC_CACHE_VAL([am_cv_prog_tar_$1], [am_cv_prog_tar_$1=$_am_tool]) 1617 AC_MSG_RESULT([$am_cv_prog_tar_$1])]) 1618 1619AC_SUBST([am__tar]) 1620AC_SUBST([am__untar]) 1621]) 1622m4trace:m4/ax_check_fmt.m4:30: -1- AC_DEFUN([AX_CHECK_FMT], [ 1623 AC_ARG_WITH([external-fmt], 1624 [AC_HELP_STRING([--with-external-fmt], 1625 [use the external fmt])], 1626 [with_external_fmt=yes], 1627 [with_external_fmt=no]) 1628 AC_MSG_CHECKING([whether to use external fmt]) 1629 AC_MSG_RESULT([$with_external_fmt]) 1630 1631 REQUI_FMT_VERSION="$(cat $srcdir/extern/.FMT_VERSION)" 1632 if test "$with_external_fmt" = yes; then 1633 m4_ifdef([PKG_CHECK_MODULES], [ 1634 PKG_CHECK_MODULES([FMT], 1635 [fmt >= $REQUI_FMT_VERSION])], 1636 [AC_MSG_ERROR([cannot use flag --with-external-fmt, the libsemigroups configure file was created on a system without m4 macros for pkg-config available...])]) 1637 else 1638 AC_CHECK_FILE( 1639 [$srcdir/extern/fmt-5.3.0/README.rst], 1640 [], 1641 [AC_MSG_ERROR([fmt is required, clone or download the repo from https://github.com/fmt/fmt into this directory])]) 1642 1643 AC_SUBST(FMT_CFLAGS, ['-I$(srcdir)/extern/fmt-5.3.0/include']) 1644 fi 1645]) 1646m4trace:m4/ax_check_hpcombi.m4:15: -1- AC_DEFUN([CHECK_COMPILER_BUILTIN], [AC_MSG_CHECKING([for $1]) 1647 AC_LINK_IFELSE( 1648 [AC_LANG_PROGRAM( 1649 [[#include <x86intrin.h>]], 1650 [$1[($2)]; 1651 ] 1652 )], 1653 [], 1654 [enable_hpcombi=no] 1655 ) 1656 AC_MSG_RESULT([$enable_hpcombi]) 1657 ]) 1658m4trace:m4/ax_check_hpcombi.m4:114: -1- AC_DEFUN([AX_CHECK_HPCOMBI], [ 1659 AC_ARG_ENABLE([hpcombi], 1660 [AS_HELP_STRING([--enable-hpcombi], [enable HPCombi])], 1661 [], 1662 [enable_hpcombi=yes] 1663 ) 1664 AC_MSG_CHECKING([whether to enable HPCombi]) 1665 AC_MSG_RESULT([$enable_hpcombi]) 1666 1667 AS_IF([test "x$enable_hpcombi" = xyes], 1668 [AC_CHECK_FILE([$srcdir/extern/HPCombi/VERSION], 1669 [], 1670 [AC_MSG_WARN([HPCombi is not available]) 1671 [enable_hpcombi=no]])]) 1672 1673 AS_IF([test "x$enable_hpcombi" = xyes], 1674 [AC_MSG_CHECKING([the required version of HPCombi]) 1675 REQUIRED_HPCOMBI="$(cat $srcdir/extern/.HPCombi_VERSION)" 1676 AC_MSG_RESULT([$REQUIRED_HPCOMBI])]) 1677 1678 AS_IF([test "x$enable_hpcombi" = xyes], 1679 [AC_MSG_CHECKING([the version of HPCombi that's present]) 1680 FOUND_HPCOMBI="$(cat $srcdir/extern/HPCombi/VERSION)" 1681 AC_MSG_RESULT([$FOUND_HPCOMBI])]) 1682 1683 AS_IF([test "x$enable_hpcombi" = xyes], 1684 [AX_COMPARE_VERSION($FOUND_HPCOMBI, 1685 [ge], 1686 $REQUIRED_HPCOMBI, 1687 [], 1688 [AC_MSG_WARN([the incorrect version of HPCombi is present, HPCombi is disabled]) 1689 enable_hpcombi=no])]) 1690 1691 dnl # Check if the flags required for HPCombi are supported 1692 AS_IF([test "x$enable_hpcombi" = xyes], 1693 [AX_CHECK_COMPILE_FLAG(-march=native, 1694 AX_APPEND_FLAG(-march=native), 1695 [AC_MSG_WARN([flag -march=native not supported, HPCombi is disabled]) 1696 enable_hpcombi=no])]) 1697 1698 AS_IF([test "x$enable_hpcombi" = xyes], 1699 [AX_CHECK_COMPILE_FLAG(-flax-vector-conversions, 1700 AX_APPEND_FLAG(-flax-vector-conversions), 1701 [AC_MSG_WARN([flag -flax-vector-conversions not supported, HPCombi is disabled]) 1702 enable_hpcombi=no])]) 1703 1704 dnl # Check if the x86intrin.h header is available 1705 AS_IF([test "x$enable_hpcombi" = xyes], 1706 [AC_CHECK_HEADERS([x86intrin.h], [], [AC_MSG_WARN([header x86intrin.h is required for HPCombi, HPCombi is disabled]) 1707 enable_hpcombi=no])]) 1708 1709 AS_IF([test "x$enable_hpcombi" = xyes], 1710 [enable_hpcombi_before_builtin_check=yes]) 1711 1712 AS_IF([test "x$enable_hpcombi" = xyes], [CHECK_COMPILER_BUILTIN([_mm_blendv_epi8],[__m128i{},__m128i{},__m128i{}])]) 1713 AS_IF([test "x$enable_hpcombi" = xyes], [CHECK_COMPILER_BUILTIN([_mm_cmpeq_epi8],[__m128i{},__m128i{}])]) 1714 AS_IF([test "x$enable_hpcombi" = xyes], [CHECK_COMPILER_BUILTIN([_mm_cmpestri],[__m128i{},1,__m128i{},1,1])]) 1715 AS_IF([test "x$enable_hpcombi" = xyes], [CHECK_COMPILER_BUILTIN([_mm_cmpestrm],[__m128i{},1,__m128i{},1,1])]) 1716 AS_IF([test "x$enable_hpcombi" = xyes], [CHECK_COMPILER_BUILTIN([_mm_cmplt_epi8],[__m128i{},__m128i{}])]) 1717 AS_IF([test "x$enable_hpcombi" = xyes], [CHECK_COMPILER_BUILTIN([_mm_extract_epi64],[__m128i{},1])]) 1718 AS_IF([test "x$enable_hpcombi" = xyes], [CHECK_COMPILER_BUILTIN([_mm_max_epi8],[__m128i{},__m128i{}])]) 1719 AS_IF([test "x$enable_hpcombi" = xyes], [CHECK_COMPILER_BUILTIN([_mm_max_epu8],[__m128i{},__m128i{}])]) 1720 AS_IF([test "x$enable_hpcombi" = xyes], [CHECK_COMPILER_BUILTIN([_mm_min_epi8],[__m128i{},__m128i{}])]) 1721 AS_IF([test "x$enable_hpcombi" = xyes], [CHECK_COMPILER_BUILTIN([_mm_min_epu8],[__m128i{},__m128i{}])]) 1722 AS_IF([test "x$enable_hpcombi" = xyes], [CHECK_COMPILER_BUILTIN([_mm_movemask_epi8],[__m128i{}])]) 1723 AS_IF([test "x$enable_hpcombi" = xyes], [CHECK_COMPILER_BUILTIN([_mm_popcnt_u32],[{}])]) 1724 AS_IF([test "x$enable_hpcombi" = xyes], [CHECK_COMPILER_BUILTIN([_mm_set_epi64x],[1,1])]) 1725 AS_IF([test "x$enable_hpcombi" = xyes], [CHECK_COMPILER_BUILTIN([_mm_shuffle_epi8],[__m128i{},__m128i{}])]) 1726 AS_IF([test "x$enable_hpcombi" = xyes], [CHECK_COMPILER_BUILTIN([_mm_slli_epi32],[__m128i{},1])]) 1727 1728 AS_IF([test "x$enable_hpcombi_before_builtin_check" = xyes], 1729 [AS_IF([test "x$enable_hpcombi" = xno], 1730 [AC_MSG_WARN([compiler builtin not supported, HPCombi is disabled])])]) 1731 1732 AS_IF([test "x$enable_hpcombi" = xyes], 1733 [AC_DEFINE([HPCOMBI], [1], [define if building with HPCombi])]) 1734 1735 dnl # the following is used in Makefile.am 1736 AM_CONDITIONAL([LIBSEMIGROUPS_HPCOMBI], [test "x$enable_hpcombi" = xyes]) 1737 1738 dnl # check for HPCombi's preprocessor macro 1739 AS_IF([test "x$enable_hpcombi" = xyes], 1740 [AC_MSG_CHECKING([for HPCOMBI_CONSTEXPR_FUN_ARGS]) 1741 AC_COMPILE_IFELSE( 1742 [AC_LANG_PROGRAM( 1743 [[using T = int; constexpr int exec(T f()) { return f(); } 1744 constexpr int foo() { return 1; } 1745 static_assert(exec(foo) == 1, "Failed exec");]] 1746 )], 1747 [hpcombi_constexpr_fun_args=yes], 1748 [hpcombi_constexpr_fun_args=no] 1749 ) 1750 AC_MSG_RESULT([$hpcombi_constexpr_fun_args])]) 1751 1752 AM_CONDITIONAL([HPCOMBI_CONSTEXPR_FUN_ARGS], 1753 [test "x$hpcombi_constexpr_fun_args" = xyes]) 1754 1755]) 1756m4trace:m4/ax_compare_version.m4:177: -1- AC_DEFUN([AX_COMPARE_VERSION], [ 1757 AC_REQUIRE([AC_PROG_AWK]) 1758 1759 # Used to indicate true or false condition 1760 ax_compare_version=false 1761 1762 # Convert the two version strings to be compared into a format that 1763 # allows a simple string comparison. The end result is that a version 1764 # string of the form 1.12.5-r617 will be converted to the form 1765 # 0001001200050617. In other words, each number is zero padded to four 1766 # digits, and non digits are removed. 1767 AS_VAR_PUSHDEF([A],[ax_compare_version_A]) 1768 A=`echo "$1" | sed -e 's/\([[0-9]]*\)/Z\1Z/g' \ 1769 -e 's/Z\([[0-9]]\)Z/Z0\1Z/g' \ 1770 -e 's/Z\([[0-9]][[0-9]]\)Z/Z0\1Z/g' \ 1771 -e 's/Z\([[0-9]][[0-9]][[0-9]]\)Z/Z0\1Z/g' \ 1772 -e 's/[[^0-9]]//g'` 1773 1774 AS_VAR_PUSHDEF([B],[ax_compare_version_B]) 1775 B=`echo "$3" | sed -e 's/\([[0-9]]*\)/Z\1Z/g' \ 1776 -e 's/Z\([[0-9]]\)Z/Z0\1Z/g' \ 1777 -e 's/Z\([[0-9]][[0-9]]\)Z/Z0\1Z/g' \ 1778 -e 's/Z\([[0-9]][[0-9]][[0-9]]\)Z/Z0\1Z/g' \ 1779 -e 's/[[^0-9]]//g'` 1780 1781 dnl # In the case of le, ge, lt, and gt, the strings are sorted as necessary 1782 dnl # then the first line is used to determine if the condition is true. 1783 dnl # The sed right after the echo is to remove any indented white space. 1784 m4_case(m4_tolower($2), 1785 [lt],[ 1786 ax_compare_version=`echo "x$A 1787x$B" | sed 's/^ *//' | sort -r | sed "s/x${A}/false/;s/x${B}/true/;1q"` 1788 ], 1789 [gt],[ 1790 ax_compare_version=`echo "x$A 1791x$B" | sed 's/^ *//' | sort | sed "s/x${A}/false/;s/x${B}/true/;1q"` 1792 ], 1793 [le],[ 1794 ax_compare_version=`echo "x$A 1795x$B" | sed 's/^ *//' | sort | sed "s/x${A}/true/;s/x${B}/false/;1q"` 1796 ], 1797 [ge],[ 1798 ax_compare_version=`echo "x$A 1799x$B" | sed 's/^ *//' | sort -r | sed "s/x${A}/true/;s/x${B}/false/;1q"` 1800 ],[ 1801 dnl Split the operator from the subversion count if present. 1802 m4_bmatch(m4_substr($2,2), 1803 [0],[ 1804 # A count of zero means use the length of the shorter version. 1805 # Determine the number of characters in A and B. 1806 ax_compare_version_len_A=`echo "$A" | $AWK '{print(length)}'` 1807 ax_compare_version_len_B=`echo "$B" | $AWK '{print(length)}'` 1808 1809 # Set A to no more than B's length and B to no more than A's length. 1810 A=`echo "$A" | sed "s/\(.\{$ax_compare_version_len_B\}\).*/\1/"` 1811 B=`echo "$B" | sed "s/\(.\{$ax_compare_version_len_A\}\).*/\1/"` 1812 ], 1813 [[0-9]+],[ 1814 # A count greater than zero means use only that many subversions 1815 A=`echo "$A" | sed "s/\(\([[0-9]]\{4\}\)\{m4_substr($2,2)\}\).*/\1/"` 1816 B=`echo "$B" | sed "s/\(\([[0-9]]\{4\}\)\{m4_substr($2,2)\}\).*/\1/"` 1817 ], 1818 [.+],[ 1819 AC_WARNING( 1820 [invalid OP numeric parameter: $2]) 1821 ],[]) 1822 1823 # Pad zeros at end of numbers to make same length. 1824 ax_compare_version_tmp_A="$A`echo $B | sed 's/./0/g'`" 1825 B="$B`echo $A | sed 's/./0/g'`" 1826 A="$ax_compare_version_tmp_A" 1827 1828 # Check for equality or inequality as necessary. 1829 m4_case(m4_tolower(m4_substr($2,0,2)), 1830 [eq],[ 1831 test "x$A" = "x$B" && ax_compare_version=true 1832 ], 1833 [ne],[ 1834 test "x$A" != "x$B" && ax_compare_version=true 1835 ],[ 1836 AC_WARNING([invalid OP parameter: $2]) 1837 ]) 1838 ]) 1839 1840 AS_VAR_POPDEF([A])dnl 1841 AS_VAR_POPDEF([B])dnl 1842 1843 dnl # Execute ACTION-IF-TRUE / ACTION-IF-FALSE. 1844 if test "$ax_compare_version" = "true" ; then 1845 m4_ifvaln([$4],[$4],[:])dnl 1846 m4_ifvaln([$5],[else $5])dnl 1847 fi 1848]) 1849m4trace:m4/ax_prefix_config_h.m4:203: -1- AC_DEFUN([AX_PREFIX_CONFIG_H], [dnl 1850AC_PREREQ([2.62]) 1851AC_BEFORE([AC_CONFIG_HEADERS],[$0])dnl 1852AC_CONFIG_COMMANDS(m4_default([$1], [$PACKAGE-config.h]),[dnl 1853AS_VAR_PUSHDEF([_OUT],[ac_prefix_conf_OUT])dnl 1854AS_VAR_PUSHDEF([_DEF],[ac_prefix_conf_DEF])dnl 1855AS_VAR_PUSHDEF([_PKG],[ac_prefix_conf_PKG])dnl 1856AS_VAR_PUSHDEF([_LOW],[ac_prefix_conf_LOW])dnl 1857AS_VAR_PUSHDEF([_UPP],[ac_prefix_conf_UPP])dnl 1858AS_VAR_PUSHDEF([_INP],[ac_prefix_conf_INP])dnl 1859m4_pushdef([_script],[conftest.prefix])dnl 1860m4_pushdef([_symbol],[m4_cr_Letters[]m4_cr_digits[]_])dnl 1861_OUT=`echo m4_default([$1], [$PACKAGE-config.h])` 1862_DEF=`echo _$_OUT | sed -e "y:m4_cr_letters:m4_cr_LETTERS[]:" -e "s/@<:@^m4_cr_Letters@:>@/_/g"` 1863_PKG=`echo m4_default([$2], [$PACKAGE])` 1864_LOW=`echo _$_PKG | sed -e "y:m4_cr_LETTERS-:m4_cr_letters[]_:"` 1865_UPP=`echo $_PKG | sed -e "y:m4_cr_letters-:m4_cr_LETTERS[]_:" -e "/^@<:@m4_cr_digits@:>@/s/^/_/"` 1866_INP=`echo "$3" | sed -e 's/ *//'` 1867if test ".$_INP" = "."; then 1868 for ac_file in : $CONFIG_HEADERS; do test "_$ac_file" = _: && continue 1869 case "$ac_file" in 1870 *.h) _INP=$ac_file ;; 1871 *) 1872 esac 1873 test ".$_INP" != "." && break 1874 done 1875fi 1876if test ".$_INP" = "."; then 1877 case "$_OUT" in 1878 */*) _INP=`basename "$_OUT"` 1879 ;; 1880 *-*) _INP=`echo "$_OUT" | sed -e "s/@<:@_symbol@:>@*-//"` 1881 ;; 1882 *) _INP=config.h 1883 ;; 1884 esac 1885fi 1886if test -z "$_PKG" ; then 1887 AC_MSG_ERROR([no prefix for _PREFIX_PKG_CONFIG_H]) 1888else 1889 if test ! -f "$_INP" ; then if test -f "$srcdir/$_INP" ; then 1890 _INP="$srcdir/$_INP" 1891 fi fi 1892 AC_MSG_NOTICE(creating $_OUT - prefix $_UPP for $_INP defines) 1893 if test -f $_INP ; then 1894 AS_ECHO(["s/^@%:@undef *\\(@<:@m4_cr_LETTERS[]_@:>@\\)/@%:@undef $_UPP""_\\1/"]) > _script 1895 AS_ECHO(["s/^@%:@undef *\\(@<:@m4_cr_letters@:>@\\)/@%:@undef $_LOW""_\\1/"]) >> _script 1896 AS_ECHO(["s/^@%:@def[]ine *\\(@<:@m4_cr_LETTERS[]_@:>@@<:@_symbol@:>@*\\)\\(.*\\)/@%:@ifndef $_UPP""_\\1\\"]) >> _script 1897 AS_ECHO(["@%:@def[]ine $_UPP""_\\1\\2\\"]) >> _script 1898 AS_ECHO(["@%:@endif/"]) >> _script 1899 AS_ECHO(["s/^@%:@def[]ine *\\(@<:@m4_cr_letters@:>@@<:@_symbol@:>@*\\)\\(.*\\)/@%:@ifndef $_LOW""_\\1\\"]) >> _script 1900 AS_ECHO(["@%:@define $_LOW""_\\1\\2\\"]) >> _script 1901 AS_ECHO(["@%:@endif/"]) >> _script 1902 # now executing _script on _DEF input to create _OUT output file 1903 echo "@%:@ifndef $_DEF" >$tmp/pconfig.h 1904 echo "@%:@def[]ine $_DEF 1" >>$tmp/pconfig.h 1905 echo ' ' >>$tmp/pconfig.h 1906 echo /'*' $_OUT. Generated automatically at end of configure. '*'/ >>$tmp/pconfig.h 1907 1908 sed -f _script $_INP >>$tmp/pconfig.h 1909 echo ' ' >>$tmp/pconfig.h 1910 echo '/* once:' $_DEF '*/' >>$tmp/pconfig.h 1911 echo "@%:@endif" >>$tmp/pconfig.h 1912 if cmp -s $_OUT $tmp/pconfig.h 2>/dev/null; then 1913 AC_MSG_NOTICE([$_OUT is unchanged]) 1914 else 1915 ac_dir=`AS_DIRNAME(["$_OUT"])` 1916 AS_MKDIR_P(["$ac_dir"]) 1917 rm -f "$_OUT" 1918 mv $tmp/pconfig.h "$_OUT" 1919 fi 1920 else 1921 AC_MSG_ERROR([input file $_INP does not exist - skip generating $_OUT]) 1922 fi 1923 rm -f conftest.* 1924fi 1925m4_popdef([_symbol])dnl 1926m4_popdef([_script])dnl 1927AS_VAR_POPDEF([_INP])dnl 1928AS_VAR_POPDEF([_UPP])dnl 1929AS_VAR_POPDEF([_LOW])dnl 1930AS_VAR_POPDEF([_PKG])dnl 1931AS_VAR_POPDEF([_DEF])dnl 1932AS_VAR_POPDEF([_OUT])dnl 1933],[PACKAGE="$PACKAGE"])]) 1934m4trace:m4/ax_pthread.m4:87: -1- AU_DEFUN([ACX_PTHREAD], [m4_if($#, 0, [AX_PTHREAD], [AX_PTHREAD($@)])]) 1935m4trace:m4/ax_pthread.m4:87: -1- AC_DEFUN([ACX_PTHREAD], [AC_DIAGNOSE([obsolete], [The macro `ACX_PTHREAD' is obsolete. 1936You should run autoupdate.])dnl 1937m4_if($#, 0, [AX_PTHREAD], [AX_PTHREAD($@)])]) 1938m4trace:m4/ax_pthread.m4:485: -1- AC_DEFUN([AX_PTHREAD], [ 1939AC_REQUIRE([AC_CANONICAL_HOST]) 1940AC_REQUIRE([AC_PROG_CC]) 1941AC_REQUIRE([AC_PROG_SED]) 1942AC_LANG_PUSH([C]) 1943ax_pthread_ok=no 1944 1945# We used to check for pthread.h first, but this fails if pthread.h 1946# requires special compiler flags (e.g. on Tru64 or Sequent). 1947# It gets checked for in the link test anyway. 1948 1949# First of all, check if the user has set any of the PTHREAD_LIBS, 1950# etcetera environment variables, and if threads linking works using 1951# them: 1952if test "x$PTHREAD_CFLAGS$PTHREAD_LIBS" != "x"; then 1953 ax_pthread_save_CC="$CC" 1954 ax_pthread_save_CFLAGS="$CFLAGS" 1955 ax_pthread_save_LIBS="$LIBS" 1956 AS_IF([test "x$PTHREAD_CC" != "x"], [CC="$PTHREAD_CC"]) 1957 CFLAGS="$CFLAGS $PTHREAD_CFLAGS" 1958 LIBS="$PTHREAD_LIBS $LIBS" 1959 AC_MSG_CHECKING([for pthread_join using $CC $PTHREAD_CFLAGS $PTHREAD_LIBS]) 1960 AC_LINK_IFELSE([AC_LANG_CALL([], [pthread_join])], [ax_pthread_ok=yes]) 1961 AC_MSG_RESULT([$ax_pthread_ok]) 1962 if test "x$ax_pthread_ok" = "xno"; then 1963 PTHREAD_LIBS="" 1964 PTHREAD_CFLAGS="" 1965 fi 1966 CC="$ax_pthread_save_CC" 1967 CFLAGS="$ax_pthread_save_CFLAGS" 1968 LIBS="$ax_pthread_save_LIBS" 1969fi 1970 1971# We must check for the threads library under a number of different 1972# names; the ordering is very important because some systems 1973# (e.g. DEC) have both -lpthread and -lpthreads, where one of the 1974# libraries is broken (non-POSIX). 1975 1976# Create a list of thread flags to try. Items starting with a "-" are 1977# C compiler flags, and other items are library names, except for "none" 1978# which indicates that we try without any flags at all, and "pthread-config" 1979# which is a program returning the flags for the Pth emulation library. 1980 1981ax_pthread_flags="pthreads none -Kthread -pthread -pthreads -mthreads pthread --thread-safe -mt pthread-config" 1982 1983# The ordering *is* (sometimes) important. Some notes on the 1984# individual items follow: 1985 1986# pthreads: AIX (must check this before -lpthread) 1987# none: in case threads are in libc; should be tried before -Kthread and 1988# other compiler flags to prevent continual compiler warnings 1989# -Kthread: Sequent (threads in libc, but -Kthread needed for pthread.h) 1990# -pthread: Linux/gcc (kernel threads), BSD/gcc (userland threads), Tru64 1991# (Note: HP C rejects this with "bad form for `-t' option") 1992# -pthreads: Solaris/gcc (Note: HP C also rejects) 1993# -mt: Sun Workshop C (may only link SunOS threads [-lthread], but it 1994# doesn't hurt to check since this sometimes defines pthreads and 1995# -D_REENTRANT too), HP C (must be checked before -lpthread, which 1996# is present but should not be used directly; and before -mthreads, 1997# because the compiler interprets this as "-mt" + "-hreads") 1998# -mthreads: Mingw32/gcc, Lynx/gcc 1999# pthread: Linux, etcetera 2000# --thread-safe: KAI C++ 2001# pthread-config: use pthread-config program (for GNU Pth library) 2002 2003case $host_os in 2004 2005 freebsd*) 2006 2007 # -kthread: FreeBSD kernel threads (preferred to -pthread since SMP-able) 2008 # lthread: LinuxThreads port on FreeBSD (also preferred to -pthread) 2009 2010 ax_pthread_flags="-kthread lthread $ax_pthread_flags" 2011 ;; 2012 2013 hpux*) 2014 2015 # From the cc(1) man page: "[-mt] Sets various -D flags to enable 2016 # multi-threading and also sets -lpthread." 2017 2018 ax_pthread_flags="-mt -pthread pthread $ax_pthread_flags" 2019 ;; 2020 2021 openedition*) 2022 2023 # IBM z/OS requires a feature-test macro to be defined in order to 2024 # enable POSIX threads at all, so give the user a hint if this is 2025 # not set. (We don't define these ourselves, as they can affect 2026 # other portions of the system API in unpredictable ways.) 2027 2028 AC_EGREP_CPP([AX_PTHREAD_ZOS_MISSING], 2029 [ 2030# if !defined(_OPEN_THREADS) && !defined(_UNIX03_THREADS) 2031 AX_PTHREAD_ZOS_MISSING 2032# endif 2033 ], 2034 [AC_MSG_WARN([IBM z/OS requires -D_OPEN_THREADS or -D_UNIX03_THREADS to enable pthreads support.])]) 2035 ;; 2036 2037 solaris*) 2038 2039 # On Solaris (at least, for some versions), libc contains stubbed 2040 # (non-functional) versions of the pthreads routines, so link-based 2041 # tests will erroneously succeed. (N.B.: The stubs are missing 2042 # pthread_cleanup_push, or rather a function called by this macro, 2043 # so we could check for that, but who knows whether they'll stub 2044 # that too in a future libc.) So we'll check first for the 2045 # standard Solaris way of linking pthreads (-mt -lpthread). 2046 2047 ax_pthread_flags="-mt,pthread pthread $ax_pthread_flags" 2048 ;; 2049esac 2050 2051# GCC generally uses -pthread, or -pthreads on some platforms (e.g. SPARC) 2052 2053AS_IF([test "x$GCC" = "xyes"], 2054 [ax_pthread_flags="-pthread -pthreads $ax_pthread_flags"]) 2055 2056# The presence of a feature test macro requesting re-entrant function 2057# definitions is, on some systems, a strong hint that pthreads support is 2058# correctly enabled 2059 2060case $host_os in 2061 darwin* | hpux* | linux* | osf* | solaris*) 2062 ax_pthread_check_macro="_REENTRANT" 2063 ;; 2064 2065 aix*) 2066 ax_pthread_check_macro="_THREAD_SAFE" 2067 ;; 2068 2069 *) 2070 ax_pthread_check_macro="--" 2071 ;; 2072esac 2073AS_IF([test "x$ax_pthread_check_macro" = "x--"], 2074 [ax_pthread_check_cond=0], 2075 [ax_pthread_check_cond="!defined($ax_pthread_check_macro)"]) 2076 2077# Are we compiling with Clang? 2078 2079AC_CACHE_CHECK([whether $CC is Clang], 2080 [ax_cv_PTHREAD_CLANG], 2081 [ax_cv_PTHREAD_CLANG=no 2082 # Note that Autoconf sets GCC=yes for Clang as well as GCC 2083 if test "x$GCC" = "xyes"; then 2084 AC_EGREP_CPP([AX_PTHREAD_CC_IS_CLANG], 2085 [/* Note: Clang 2.7 lacks __clang_[a-z]+__ */ 2086# if defined(__clang__) && defined(__llvm__) 2087 AX_PTHREAD_CC_IS_CLANG 2088# endif 2089 ], 2090 [ax_cv_PTHREAD_CLANG=yes]) 2091 fi 2092 ]) 2093ax_pthread_clang="$ax_cv_PTHREAD_CLANG" 2094 2095ax_pthread_clang_warning=no 2096 2097# Clang needs special handling, because older versions handle the -pthread 2098# option in a rather... idiosyncratic way 2099 2100if test "x$ax_pthread_clang" = "xyes"; then 2101 2102 # Clang takes -pthread; it has never supported any other flag 2103 2104 # (Note 1: This will need to be revisited if a system that Clang 2105 # supports has POSIX threads in a separate library. This tends not 2106 # to be the way of modern systems, but it's conceivable.) 2107 2108 # (Note 2: On some systems, notably Darwin, -pthread is not needed 2109 # to get POSIX threads support; the API is always present and 2110 # active. We could reasonably leave PTHREAD_CFLAGS empty. But 2111 # -pthread does define _REENTRANT, and while the Darwin headers 2112 # ignore this macro, third-party headers might not.) 2113 2114 PTHREAD_CFLAGS="-pthread" 2115 PTHREAD_LIBS= 2116 2117 ax_pthread_ok=yes 2118 2119 # However, older versions of Clang make a point of warning the user 2120 # that, in an invocation where only linking and no compilation is 2121 # taking place, the -pthread option has no effect ("argument unused 2122 # during compilation"). They expect -pthread to be passed in only 2123 # when source code is being compiled. 2124 # 2125 # Problem is, this is at odds with the way Automake and most other 2126 # C build frameworks function, which is that the same flags used in 2127 # compilation (CFLAGS) are also used in linking. Many systems 2128 # supported by AX_PTHREAD require exactly this for POSIX threads 2129 # support, and in fact it is often not straightforward to specify a 2130 # flag that is used only in the compilation phase and not in 2131 # linking. Such a scenario is extremely rare in practice. 2132 # 2133 # Even though use of the -pthread flag in linking would only print 2134 # a warning, this can be a nuisance for well-run software projects 2135 # that build with -Werror. So if the active version of Clang has 2136 # this misfeature, we search for an option to squash it. 2137 2138 AC_CACHE_CHECK([whether Clang needs flag to prevent "argument unused" warning when linking with -pthread], 2139 [ax_cv_PTHREAD_CLANG_NO_WARN_FLAG], 2140 [ax_cv_PTHREAD_CLANG_NO_WARN_FLAG=unknown 2141 # Create an alternate version of $ac_link that compiles and 2142 # links in two steps (.c -> .o, .o -> exe) instead of one 2143 # (.c -> exe), because the warning occurs only in the second 2144 # step 2145 ax_pthread_save_ac_link="$ac_link" 2146 ax_pthread_sed='s/conftest\.\$ac_ext/conftest.$ac_objext/g' 2147 ax_pthread_link_step=`$as_echo "$ac_link" | sed "$ax_pthread_sed"` 2148 ax_pthread_2step_ac_link="($ac_compile) && (echo ==== >&5) && ($ax_pthread_link_step)" 2149 ax_pthread_save_CFLAGS="$CFLAGS" 2150 for ax_pthread_try in '' -Qunused-arguments -Wno-unused-command-line-argument unknown; do 2151 AS_IF([test "x$ax_pthread_try" = "xunknown"], [break]) 2152 CFLAGS="-Werror -Wunknown-warning-option $ax_pthread_try -pthread $ax_pthread_save_CFLAGS" 2153 ac_link="$ax_pthread_save_ac_link" 2154 AC_LINK_IFELSE([AC_LANG_SOURCE([[int main(void){return 0;}]])], 2155 [ac_link="$ax_pthread_2step_ac_link" 2156 AC_LINK_IFELSE([AC_LANG_SOURCE([[int main(void){return 0;}]])], 2157 [break]) 2158 ]) 2159 done 2160 ac_link="$ax_pthread_save_ac_link" 2161 CFLAGS="$ax_pthread_save_CFLAGS" 2162 AS_IF([test "x$ax_pthread_try" = "x"], [ax_pthread_try=no]) 2163 ax_cv_PTHREAD_CLANG_NO_WARN_FLAG="$ax_pthread_try" 2164 ]) 2165 2166 case "$ax_cv_PTHREAD_CLANG_NO_WARN_FLAG" in 2167 no | unknown) ;; 2168 *) PTHREAD_CFLAGS="$ax_cv_PTHREAD_CLANG_NO_WARN_FLAG $PTHREAD_CFLAGS" ;; 2169 esac 2170 2171fi # $ax_pthread_clang = yes 2172 2173if test "x$ax_pthread_ok" = "xno"; then 2174for ax_pthread_try_flag in $ax_pthread_flags; do 2175 2176 case $ax_pthread_try_flag in 2177 none) 2178 AC_MSG_CHECKING([whether pthreads work without any flags]) 2179 ;; 2180 2181 -mt,pthread) 2182 AC_MSG_CHECKING([whether pthreads work with -mt -lpthread]) 2183 PTHREAD_CFLAGS="-mt" 2184 PTHREAD_LIBS="-lpthread" 2185 ;; 2186 2187 -*) 2188 AC_MSG_CHECKING([whether pthreads work with $ax_pthread_try_flag]) 2189 PTHREAD_CFLAGS="$ax_pthread_try_flag" 2190 ;; 2191 2192 pthread-config) 2193 AC_CHECK_PROG([ax_pthread_config], [pthread-config], [yes], [no]) 2194 AS_IF([test "x$ax_pthread_config" = "xno"], [continue]) 2195 PTHREAD_CFLAGS="`pthread-config --cflags`" 2196 PTHREAD_LIBS="`pthread-config --ldflags` `pthread-config --libs`" 2197 ;; 2198 2199 *) 2200 AC_MSG_CHECKING([for the pthreads library -l$ax_pthread_try_flag]) 2201 PTHREAD_LIBS="-l$ax_pthread_try_flag" 2202 ;; 2203 esac 2204 2205 ax_pthread_save_CFLAGS="$CFLAGS" 2206 ax_pthread_save_LIBS="$LIBS" 2207 CFLAGS="$CFLAGS $PTHREAD_CFLAGS" 2208 LIBS="$PTHREAD_LIBS $LIBS" 2209 2210 # Check for various functions. We must include pthread.h, 2211 # since some functions may be macros. (On the Sequent, we 2212 # need a special flag -Kthread to make this header compile.) 2213 # We check for pthread_join because it is in -lpthread on IRIX 2214 # while pthread_create is in libc. We check for pthread_attr_init 2215 # due to DEC craziness with -lpthreads. We check for 2216 # pthread_cleanup_push because it is one of the few pthread 2217 # functions on Solaris that doesn't have a non-functional libc stub. 2218 # We try pthread_create on general principles. 2219 2220 AC_LINK_IFELSE([AC_LANG_PROGRAM([#include <pthread.h> 2221# if $ax_pthread_check_cond 2222# error "$ax_pthread_check_macro must be defined" 2223# endif 2224 static void routine(void *a) { a = 0; } 2225 static void *start_routine(void *a) { return a; }], 2226 [pthread_t th; pthread_attr_t attr; 2227 pthread_create(&th, 0, start_routine, 0); 2228 pthread_join(th, 0); 2229 pthread_attr_init(&attr); 2230 pthread_cleanup_push(routine, 0); 2231 pthread_cleanup_pop(0) /* ; */])], 2232 [ax_pthread_ok=yes], 2233 []) 2234 2235 CFLAGS="$ax_pthread_save_CFLAGS" 2236 LIBS="$ax_pthread_save_LIBS" 2237 2238 AC_MSG_RESULT([$ax_pthread_ok]) 2239 AS_IF([test "x$ax_pthread_ok" = "xyes"], [break]) 2240 2241 PTHREAD_LIBS="" 2242 PTHREAD_CFLAGS="" 2243done 2244fi 2245 2246# Various other checks: 2247if test "x$ax_pthread_ok" = "xyes"; then 2248 ax_pthread_save_CFLAGS="$CFLAGS" 2249 ax_pthread_save_LIBS="$LIBS" 2250 CFLAGS="$CFLAGS $PTHREAD_CFLAGS" 2251 LIBS="$PTHREAD_LIBS $LIBS" 2252 2253 # Detect AIX lossage: JOINABLE attribute is called UNDETACHED. 2254 AC_CACHE_CHECK([for joinable pthread attribute], 2255 [ax_cv_PTHREAD_JOINABLE_ATTR], 2256 [ax_cv_PTHREAD_JOINABLE_ATTR=unknown 2257 for ax_pthread_attr in PTHREAD_CREATE_JOINABLE PTHREAD_CREATE_UNDETACHED; do 2258 AC_LINK_IFELSE([AC_LANG_PROGRAM([#include <pthread.h>], 2259 [int attr = $ax_pthread_attr; return attr /* ; */])], 2260 [ax_cv_PTHREAD_JOINABLE_ATTR=$ax_pthread_attr; break], 2261 []) 2262 done 2263 ]) 2264 AS_IF([test "x$ax_cv_PTHREAD_JOINABLE_ATTR" != "xunknown" && \ 2265 test "x$ax_cv_PTHREAD_JOINABLE_ATTR" != "xPTHREAD_CREATE_JOINABLE" && \ 2266 test "x$ax_pthread_joinable_attr_defined" != "xyes"], 2267 [AC_DEFINE_UNQUOTED([PTHREAD_CREATE_JOINABLE], 2268 [$ax_cv_PTHREAD_JOINABLE_ATTR], 2269 [Define to necessary symbol if this constant 2270 uses a non-standard name on your system.]) 2271 ax_pthread_joinable_attr_defined=yes 2272 ]) 2273 2274 AC_CACHE_CHECK([whether more special flags are required for pthreads], 2275 [ax_cv_PTHREAD_SPECIAL_FLAGS], 2276 [ax_cv_PTHREAD_SPECIAL_FLAGS=no 2277 case $host_os in 2278 solaris*) 2279 ax_cv_PTHREAD_SPECIAL_FLAGS="-D_POSIX_PTHREAD_SEMANTICS" 2280 ;; 2281 esac 2282 ]) 2283 AS_IF([test "x$ax_cv_PTHREAD_SPECIAL_FLAGS" != "xno" && \ 2284 test "x$ax_pthread_special_flags_added" != "xyes"], 2285 [PTHREAD_CFLAGS="$ax_cv_PTHREAD_SPECIAL_FLAGS $PTHREAD_CFLAGS" 2286 ax_pthread_special_flags_added=yes]) 2287 2288 AC_CACHE_CHECK([for PTHREAD_PRIO_INHERIT], 2289 [ax_cv_PTHREAD_PRIO_INHERIT], 2290 [AC_LINK_IFELSE([AC_LANG_PROGRAM([[#include <pthread.h>]], 2291 [[int i = PTHREAD_PRIO_INHERIT;]])], 2292 [ax_cv_PTHREAD_PRIO_INHERIT=yes], 2293 [ax_cv_PTHREAD_PRIO_INHERIT=no]) 2294 ]) 2295 AS_IF([test "x$ax_cv_PTHREAD_PRIO_INHERIT" = "xyes" && \ 2296 test "x$ax_pthread_prio_inherit_defined" != "xyes"], 2297 [AC_DEFINE([HAVE_PTHREAD_PRIO_INHERIT], [1], [Have PTHREAD_PRIO_INHERIT.]) 2298 ax_pthread_prio_inherit_defined=yes 2299 ]) 2300 2301 CFLAGS="$ax_pthread_save_CFLAGS" 2302 LIBS="$ax_pthread_save_LIBS" 2303 2304 # More AIX lossage: compile with *_r variant 2305 if test "x$GCC" != "xyes"; then 2306 case $host_os in 2307 aix*) 2308 AS_CASE(["x/$CC"], 2309 [x*/c89|x*/c89_128|x*/c99|x*/c99_128|x*/cc|x*/cc128|x*/xlc|x*/xlc_v6|x*/xlc128|x*/xlc128_v6], 2310 [#handle absolute path differently from PATH based program lookup 2311 AS_CASE(["x$CC"], 2312 [x/*], 2313 [AS_IF([AS_EXECUTABLE_P([${CC}_r])],[PTHREAD_CC="${CC}_r"])], 2314 [AC_CHECK_PROGS([PTHREAD_CC],[${CC}_r],[$CC])])]) 2315 ;; 2316 esac 2317 fi 2318fi 2319 2320test -n "$PTHREAD_CC" || PTHREAD_CC="$CC" 2321 2322AC_SUBST([PTHREAD_LIBS]) 2323AC_SUBST([PTHREAD_CFLAGS]) 2324AC_SUBST([PTHREAD_CC]) 2325 2326# Finally, execute ACTION-IF-FOUND/ACTION-IF-NOT-FOUND: 2327if test "x$ax_pthread_ok" = "xyes"; then 2328 ifelse([$1],,[AC_DEFINE([HAVE_PTHREAD],[1],[Define if you have POSIX threads libraries and header files.])],[$1]) 2329 : 2330else 2331 ax_pthread_ok=no 2332 $2 2333fi 2334AC_LANG_POP 2335]) 2336m4trace:m4/ax_require_defined.m4:37: -1- AC_DEFUN([AX_REQUIRE_DEFINED], [dnl 2337 m4_ifndef([$1], [m4_fatal([macro ]$1[ is not defined; is a m4 file missing?])]) 2338]) 2339m4trace:m4/libtool.m4:96: -1- AC_DEFUN([LT_INIT], [AC_PREREQ([2.62])dnl We use AC_PATH_PROGS_FEATURE_CHECK 2340AC_REQUIRE([AC_CONFIG_AUX_DIR_DEFAULT])dnl 2341AC_BEFORE([$0], [LT_LANG])dnl 2342AC_BEFORE([$0], [LT_OUTPUT])dnl 2343AC_BEFORE([$0], [LTDL_INIT])dnl 2344m4_require([_LT_CHECK_BUILDDIR])dnl 2345 2346dnl Autoconf doesn't catch unexpanded LT_ macros by default: 2347m4_pattern_forbid([^_?LT_[A-Z_]+$])dnl 2348m4_pattern_allow([^(_LT_EOF|LT_DLGLOBAL|LT_DLLAZY_OR_NOW|LT_MULTI_MODULE)$])dnl 2349dnl aclocal doesn't pull ltoptions.m4, ltsugar.m4, or ltversion.m4 2350dnl unless we require an AC_DEFUNed macro: 2351AC_REQUIRE([LTOPTIONS_VERSION])dnl 2352AC_REQUIRE([LTSUGAR_VERSION])dnl 2353AC_REQUIRE([LTVERSION_VERSION])dnl 2354AC_REQUIRE([LTOBSOLETE_VERSION])dnl 2355m4_require([_LT_PROG_LTMAIN])dnl 2356 2357_LT_SHELL_INIT([SHELL=${CONFIG_SHELL-/bin/sh}]) 2358 2359dnl Parse OPTIONS 2360_LT_SET_OPTIONS([$0], [$1]) 2361 2362# This can be used to rebuild libtool when needed 2363LIBTOOL_DEPS=$ltmain 2364 2365# Always use our own libtool. 2366LIBTOOL='$(SHELL) $(top_builddir)/libtool' 2367AC_SUBST(LIBTOOL)dnl 2368 2369_LT_SETUP 2370 2371# Only expand once: 2372m4_define([LT_INIT]) 2373]) 2374m4trace:m4/libtool.m4:99: -1- AU_DEFUN([AC_PROG_LIBTOOL], [m4_if($#, 0, [LT_INIT], [LT_INIT($@)])]) 2375m4trace:m4/libtool.m4:99: -1- AC_DEFUN([AC_PROG_LIBTOOL], [AC_DIAGNOSE([obsolete], [The macro `AC_PROG_LIBTOOL' is obsolete. 2376You should run autoupdate.])dnl 2377m4_if($#, 0, [LT_INIT], [LT_INIT($@)])]) 2378m4trace:m4/libtool.m4:100: -1- AU_DEFUN([AM_PROG_LIBTOOL], [m4_if($#, 0, [LT_INIT], [LT_INIT($@)])]) 2379m4trace:m4/libtool.m4:100: -1- AC_DEFUN([AM_PROG_LIBTOOL], [AC_DIAGNOSE([obsolete], [The macro `AM_PROG_LIBTOOL' is obsolete. 2380You should run autoupdate.])dnl 2381m4_if($#, 0, [LT_INIT], [LT_INIT($@)])]) 2382m4trace:m4/libtool.m4:704: -1- AC_DEFUN([LT_OUTPUT], [: ${CONFIG_LT=./config.lt} 2383AC_MSG_NOTICE([creating $CONFIG_LT]) 2384_LT_GENERATED_FILE_INIT(["$CONFIG_LT"], 2385[# Run this file to recreate a libtool stub with the current configuration.]) 2386 2387cat >>"$CONFIG_LT" <<\_LTEOF 2388lt_cl_silent=false 2389exec AS_MESSAGE_LOG_FD>>config.log 2390{ 2391 echo 2392 AS_BOX([Running $as_me.]) 2393} >&AS_MESSAGE_LOG_FD 2394 2395lt_cl_help="\ 2396'$as_me' creates a local libtool stub from the current configuration, 2397for use in further configure time tests before the real libtool is 2398generated. 2399 2400Usage: $[0] [[OPTIONS]] 2401 2402 -h, --help print this help, then exit 2403 -V, --version print version number, then exit 2404 -q, --quiet do not print progress messages 2405 -d, --debug don't remove temporary files 2406 2407Report bugs to <bug-libtool@gnu.org>." 2408 2409lt_cl_version="\ 2410m4_ifset([AC_PACKAGE_NAME], [AC_PACKAGE_NAME ])config.lt[]dnl 2411m4_ifset([AC_PACKAGE_VERSION], [ AC_PACKAGE_VERSION]) 2412configured by $[0], generated by m4_PACKAGE_STRING. 2413 2414Copyright (C) 2011 Free Software Foundation, Inc. 2415This config.lt script is free software; the Free Software Foundation 2416gives unlimited permision to copy, distribute and modify it." 2417 2418while test 0 != $[#] 2419do 2420 case $[1] in 2421 --version | --v* | -V ) 2422 echo "$lt_cl_version"; exit 0 ;; 2423 --help | --h* | -h ) 2424 echo "$lt_cl_help"; exit 0 ;; 2425 --debug | --d* | -d ) 2426 debug=: ;; 2427 --quiet | --q* | --silent | --s* | -q ) 2428 lt_cl_silent=: ;; 2429 2430 -*) AC_MSG_ERROR([unrecognized option: $[1] 2431Try '$[0] --help' for more information.]) ;; 2432 2433 *) AC_MSG_ERROR([unrecognized argument: $[1] 2434Try '$[0] --help' for more information.]) ;; 2435 esac 2436 shift 2437done 2438 2439if $lt_cl_silent; then 2440 exec AS_MESSAGE_FD>/dev/null 2441fi 2442_LTEOF 2443 2444cat >>"$CONFIG_LT" <<_LTEOF 2445_LT_OUTPUT_LIBTOOL_COMMANDS_INIT 2446_LTEOF 2447 2448cat >>"$CONFIG_LT" <<\_LTEOF 2449AC_MSG_NOTICE([creating $ofile]) 2450_LT_OUTPUT_LIBTOOL_COMMANDS 2451AS_EXIT(0) 2452_LTEOF 2453chmod +x "$CONFIG_LT" 2454 2455# configure is writing to config.log, but config.lt does its own redirection, 2456# appending to config.log, which fails on DOS, as config.log is still kept 2457# open by configure. Here we exec the FD to /dev/null, effectively closing 2458# config.log, so it can be properly (re)opened and appended to by config.lt. 2459lt_cl_success=: 2460test yes = "$silent" && 2461 lt_config_lt_args="$lt_config_lt_args --quiet" 2462exec AS_MESSAGE_LOG_FD>/dev/null 2463$SHELL "$CONFIG_LT" $lt_config_lt_args || lt_cl_success=false 2464exec AS_MESSAGE_LOG_FD>>config.log 2465$lt_cl_success || AS_EXIT(1) 2466]) 2467m4trace:m4/libtool.m4:812: -1- AC_DEFUN([LT_SUPPORTED_TAG], []) 2468m4trace:m4/libtool.m4:836: -1- AC_DEFUN([LT_LANG], [AC_BEFORE([$0], [LT_OUTPUT])dnl 2469m4_case([$1], 2470 [C], [_LT_LANG(C)], 2471 [C++], [_LT_LANG(CXX)], 2472 [Go], [_LT_LANG(GO)], 2473 [Java], [_LT_LANG(GCJ)], 2474 [Fortran 77], [_LT_LANG(F77)], 2475 [Fortran], [_LT_LANG(FC)], 2476 [Windows Resource], [_LT_LANG(RC)], 2477 [m4_ifdef([_LT_LANG_]$1[_CONFIG], 2478 [_LT_LANG($1)], 2479 [m4_fatal([$0: unsupported language: "$1"])])])dnl 2480]) 2481m4trace:m4/libtool.m4:915: -1- AU_DEFUN([AC_LIBTOOL_CXX], [LT_LANG(C++)]) 2482m4trace:m4/libtool.m4:915: -1- AC_DEFUN([AC_LIBTOOL_CXX], [AC_DIAGNOSE([obsolete], [The macro `AC_LIBTOOL_CXX' is obsolete. 2483You should run autoupdate.])dnl 2484LT_LANG(C++)]) 2485m4trace:m4/libtool.m4:916: -1- AU_DEFUN([AC_LIBTOOL_F77], [LT_LANG(Fortran 77)]) 2486m4trace:m4/libtool.m4:916: -1- AC_DEFUN([AC_LIBTOOL_F77], [AC_DIAGNOSE([obsolete], [The macro `AC_LIBTOOL_F77' is obsolete. 2487You should run autoupdate.])dnl 2488LT_LANG(Fortran 77)]) 2489m4trace:m4/libtool.m4:917: -1- AU_DEFUN([AC_LIBTOOL_FC], [LT_LANG(Fortran)]) 2490m4trace:m4/libtool.m4:917: -1- AC_DEFUN([AC_LIBTOOL_FC], [AC_DIAGNOSE([obsolete], [The macro `AC_LIBTOOL_FC' is obsolete. 2491You should run autoupdate.])dnl 2492LT_LANG(Fortran)]) 2493m4trace:m4/libtool.m4:918: -1- AU_DEFUN([AC_LIBTOOL_GCJ], [LT_LANG(Java)]) 2494m4trace:m4/libtool.m4:918: -1- AC_DEFUN([AC_LIBTOOL_GCJ], [AC_DIAGNOSE([obsolete], [The macro `AC_LIBTOOL_GCJ' is obsolete. 2495You should run autoupdate.])dnl 2496LT_LANG(Java)]) 2497m4trace:m4/libtool.m4:919: -1- AU_DEFUN([AC_LIBTOOL_RC], [LT_LANG(Windows Resource)]) 2498m4trace:m4/libtool.m4:919: -1- AC_DEFUN([AC_LIBTOOL_RC], [AC_DIAGNOSE([obsolete], [The macro `AC_LIBTOOL_RC' is obsolete. 2499You should run autoupdate.])dnl 2500LT_LANG(Windows Resource)]) 2501m4trace:m4/libtool.m4:1277: -1- AC_DEFUN([_LT_WITH_SYSROOT], [AC_MSG_CHECKING([for sysroot]) 2502AC_ARG_WITH([sysroot], 2503[AS_HELP_STRING([--with-sysroot@<:@=DIR@:>@], 2504 [Search for dependent libraries within DIR (or the compiler's sysroot 2505 if not specified).])], 2506[], [with_sysroot=no]) 2507 2508dnl lt_sysroot will always be passed unquoted. We quote it here 2509dnl in case the user passed a directory name. 2510lt_sysroot= 2511case $with_sysroot in #( 2512 yes) 2513 if test yes = "$GCC"; then 2514 lt_sysroot=`$CC --print-sysroot 2>/dev/null` 2515 fi 2516 ;; #( 2517 /*) 2518 lt_sysroot=`echo "$with_sysroot" | sed -e "$sed_quote_subst"` 2519 ;; #( 2520 no|'') 2521 ;; #( 2522 *) 2523 AC_MSG_RESULT([$with_sysroot]) 2524 AC_MSG_ERROR([The sysroot must be an absolute path.]) 2525 ;; 2526esac 2527 2528 AC_MSG_RESULT([${lt_sysroot:-no}]) 2529_LT_DECL([], [lt_sysroot], [0], [The root where to search for ]dnl 2530[dependent libraries, and where our libraries should be installed.])]) 2531m4trace:m4/libtool.m4:1617: -1- AC_DEFUN([_LT_COMPILER_OPTION], [m4_require([_LT_FILEUTILS_DEFAULTS])dnl 2532m4_require([_LT_DECL_SED])dnl 2533AC_CACHE_CHECK([$1], [$2], 2534 [$2=no 2535 m4_if([$4], , [ac_outfile=conftest.$ac_objext], [ac_outfile=$4]) 2536 echo "$lt_simple_compile_test_code" > conftest.$ac_ext 2537 lt_compiler_flag="$3" ## exclude from sc_useless_quotes_in_assignment 2538 # Insert the option either (1) after the last *FLAGS variable, or 2539 # (2) before a word containing "conftest.", or (3) at the end. 2540 # Note that $ac_compile itself does not contain backslashes and begins 2541 # with a dollar sign (not a hyphen), so the echo should work correctly. 2542 # The option is referenced via a variable to avoid confusing sed. 2543 lt_compile=`echo "$ac_compile" | $SED \ 2544 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \ 2545 -e 's: [[^ ]]*conftest\.: $lt_compiler_flag&:; t' \ 2546 -e 's:$: $lt_compiler_flag:'` 2547 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&AS_MESSAGE_LOG_FD) 2548 (eval "$lt_compile" 2>conftest.err) 2549 ac_status=$? 2550 cat conftest.err >&AS_MESSAGE_LOG_FD 2551 echo "$as_me:$LINENO: \$? = $ac_status" >&AS_MESSAGE_LOG_FD 2552 if (exit $ac_status) && test -s "$ac_outfile"; then 2553 # The compiler can only warn and ignore the option if not recognized 2554 # So say no if there are warnings other than the usual output. 2555 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp 2556 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2 2557 if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then 2558 $2=yes 2559 fi 2560 fi 2561 $RM conftest* 2562]) 2563 2564if test yes = "[$]$2"; then 2565 m4_if([$5], , :, [$5]) 2566else 2567 m4_if([$6], , :, [$6]) 2568fi 2569]) 2570m4trace:m4/libtool.m4:1620: -1- AU_DEFUN([AC_LIBTOOL_COMPILER_OPTION], [m4_if($#, 0, [_LT_COMPILER_OPTION], [_LT_COMPILER_OPTION($@)])]) 2571m4trace:m4/libtool.m4:1620: -1- AC_DEFUN([AC_LIBTOOL_COMPILER_OPTION], [AC_DIAGNOSE([obsolete], [The macro `AC_LIBTOOL_COMPILER_OPTION' is obsolete. 2572You should run autoupdate.])dnl 2573m4_if($#, 0, [_LT_COMPILER_OPTION], [_LT_COMPILER_OPTION($@)])]) 2574m4trace:m4/libtool.m4:1661: -1- AC_DEFUN([_LT_LINKER_OPTION], [m4_require([_LT_FILEUTILS_DEFAULTS])dnl 2575m4_require([_LT_DECL_SED])dnl 2576AC_CACHE_CHECK([$1], [$2], 2577 [$2=no 2578 save_LDFLAGS=$LDFLAGS 2579 LDFLAGS="$LDFLAGS $3" 2580 echo "$lt_simple_link_test_code" > conftest.$ac_ext 2581 if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then 2582 # The linker can only warn and ignore the option if not recognized 2583 # So say no if there are warnings 2584 if test -s conftest.err; then 2585 # Append any errors to the config.log. 2586 cat conftest.err 1>&AS_MESSAGE_LOG_FD 2587 $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp 2588 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2 2589 if diff conftest.exp conftest.er2 >/dev/null; then 2590 $2=yes 2591 fi 2592 else 2593 $2=yes 2594 fi 2595 fi 2596 $RM -r conftest* 2597 LDFLAGS=$save_LDFLAGS 2598]) 2599 2600if test yes = "[$]$2"; then 2601 m4_if([$4], , :, [$4]) 2602else 2603 m4_if([$5], , :, [$5]) 2604fi 2605]) 2606m4trace:m4/libtool.m4:1664: -1- AU_DEFUN([AC_LIBTOOL_LINKER_OPTION], [m4_if($#, 0, [_LT_LINKER_OPTION], [_LT_LINKER_OPTION($@)])]) 2607m4trace:m4/libtool.m4:1664: -1- AC_DEFUN([AC_LIBTOOL_LINKER_OPTION], [AC_DIAGNOSE([obsolete], [The macro `AC_LIBTOOL_LINKER_OPTION' is obsolete. 2608You should run autoupdate.])dnl 2609m4_if($#, 0, [_LT_LINKER_OPTION], [_LT_LINKER_OPTION($@)])]) 2610m4trace:m4/libtool.m4:1807: -1- AC_DEFUN([LT_CMD_MAX_LEN], [AC_REQUIRE([AC_CANONICAL_HOST])dnl 2611# find the maximum length of command line arguments 2612AC_MSG_CHECKING([the maximum length of command line arguments]) 2613AC_CACHE_VAL([lt_cv_sys_max_cmd_len], [dnl 2614 i=0 2615 teststring=ABCD 2616 2617 case $build_os in 2618 msdosdjgpp*) 2619 # On DJGPP, this test can blow up pretty badly due to problems in libc 2620 # (any single argument exceeding 2000 bytes causes a buffer overrun 2621 # during glob expansion). Even if it were fixed, the result of this 2622 # check would be larger than it should be. 2623 lt_cv_sys_max_cmd_len=12288; # 12K is about right 2624 ;; 2625 2626 gnu*) 2627 # Under GNU Hurd, this test is not required because there is 2628 # no limit to the length of command line arguments. 2629 # Libtool will interpret -1 as no limit whatsoever 2630 lt_cv_sys_max_cmd_len=-1; 2631 ;; 2632 2633 cygwin* | mingw* | cegcc*) 2634 # On Win9x/ME, this test blows up -- it succeeds, but takes 2635 # about 5 minutes as the teststring grows exponentially. 2636 # Worse, since 9x/ME are not pre-emptively multitasking, 2637 # you end up with a "frozen" computer, even though with patience 2638 # the test eventually succeeds (with a max line length of 256k). 2639 # Instead, let's just punt: use the minimum linelength reported by 2640 # all of the supported platforms: 8192 (on NT/2K/XP). 2641 lt_cv_sys_max_cmd_len=8192; 2642 ;; 2643 2644 mint*) 2645 # On MiNT this can take a long time and run out of memory. 2646 lt_cv_sys_max_cmd_len=8192; 2647 ;; 2648 2649 amigaos*) 2650 # On AmigaOS with pdksh, this test takes hours, literally. 2651 # So we just punt and use a minimum line length of 8192. 2652 lt_cv_sys_max_cmd_len=8192; 2653 ;; 2654 2655 bitrig* | darwin* | dragonfly* | freebsd* | netbsd* | openbsd*) 2656 # This has been around since 386BSD, at least. Likely further. 2657 if test -x /sbin/sysctl; then 2658 lt_cv_sys_max_cmd_len=`/sbin/sysctl -n kern.argmax` 2659 elif test -x /usr/sbin/sysctl; then 2660 lt_cv_sys_max_cmd_len=`/usr/sbin/sysctl -n kern.argmax` 2661 else 2662 lt_cv_sys_max_cmd_len=65536 # usable default for all BSDs 2663 fi 2664 # And add a safety zone 2665 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4` 2666 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3` 2667 ;; 2668 2669 interix*) 2670 # We know the value 262144 and hardcode it with a safety zone (like BSD) 2671 lt_cv_sys_max_cmd_len=196608 2672 ;; 2673 2674 os2*) 2675 # The test takes a long time on OS/2. 2676 lt_cv_sys_max_cmd_len=8192 2677 ;; 2678 2679 osf*) 2680 # Dr. Hans Ekkehard Plesser reports seeing a kernel panic running configure 2681 # due to this test when exec_disable_arg_limit is 1 on Tru64. It is not 2682 # nice to cause kernel panics so lets avoid the loop below. 2683 # First set a reasonable default. 2684 lt_cv_sys_max_cmd_len=16384 2685 # 2686 if test -x /sbin/sysconfig; then 2687 case `/sbin/sysconfig -q proc exec_disable_arg_limit` in 2688 *1*) lt_cv_sys_max_cmd_len=-1 ;; 2689 esac 2690 fi 2691 ;; 2692 sco3.2v5*) 2693 lt_cv_sys_max_cmd_len=102400 2694 ;; 2695 sysv5* | sco5v6* | sysv4.2uw2*) 2696 kargmax=`grep ARG_MAX /etc/conf/cf.d/stune 2>/dev/null` 2697 if test -n "$kargmax"; then 2698 lt_cv_sys_max_cmd_len=`echo $kargmax | sed 's/.*[[ ]]//'` 2699 else 2700 lt_cv_sys_max_cmd_len=32768 2701 fi 2702 ;; 2703 *) 2704 lt_cv_sys_max_cmd_len=`(getconf ARG_MAX) 2> /dev/null` 2705 if test -n "$lt_cv_sys_max_cmd_len" && \ 2706 test undefined != "$lt_cv_sys_max_cmd_len"; then 2707 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4` 2708 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3` 2709 else 2710 # Make teststring a little bigger before we do anything with it. 2711 # a 1K string should be a reasonable start. 2712 for i in 1 2 3 4 5 6 7 8; do 2713 teststring=$teststring$teststring 2714 done 2715 SHELL=${SHELL-${CONFIG_SHELL-/bin/sh}} 2716 # If test is not a shell built-in, we'll probably end up computing a 2717 # maximum length that is only half of the actual maximum length, but 2718 # we can't tell. 2719 while { test X`env echo "$teststring$teststring" 2>/dev/null` \ 2720 = "X$teststring$teststring"; } >/dev/null 2>&1 && 2721 test 17 != "$i" # 1/2 MB should be enough 2722 do 2723 i=`expr $i + 1` 2724 teststring=$teststring$teststring 2725 done 2726 # Only check the string length outside the loop. 2727 lt_cv_sys_max_cmd_len=`expr "X$teststring" : ".*" 2>&1` 2728 teststring= 2729 # Add a significant safety factor because C++ compilers can tack on 2730 # massive amounts of additional arguments before passing them to the 2731 # linker. It appears as though 1/2 is a usable value. 2732 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 2` 2733 fi 2734 ;; 2735 esac 2736]) 2737if test -n "$lt_cv_sys_max_cmd_len"; then 2738 AC_MSG_RESULT($lt_cv_sys_max_cmd_len) 2739else 2740 AC_MSG_RESULT(none) 2741fi 2742max_cmd_len=$lt_cv_sys_max_cmd_len 2743_LT_DECL([], [max_cmd_len], [0], 2744 [What is the maximum length of a command?]) 2745]) 2746m4trace:m4/libtool.m4:1810: -1- AU_DEFUN([AC_LIBTOOL_SYS_MAX_CMD_LEN], [m4_if($#, 0, [LT_CMD_MAX_LEN], [LT_CMD_MAX_LEN($@)])]) 2747m4trace:m4/libtool.m4:1810: -1- AC_DEFUN([AC_LIBTOOL_SYS_MAX_CMD_LEN], [AC_DIAGNOSE([obsolete], [The macro `AC_LIBTOOL_SYS_MAX_CMD_LEN' is obsolete. 2748You should run autoupdate.])dnl 2749m4_if($#, 0, [LT_CMD_MAX_LEN], [LT_CMD_MAX_LEN($@)])]) 2750m4trace:m4/libtool.m4:2043: -1- AC_DEFUN([LT_SYS_DLOPEN_SELF], [m4_require([_LT_HEADER_DLFCN])dnl 2751if test yes != "$enable_dlopen"; then 2752 enable_dlopen=unknown 2753 enable_dlopen_self=unknown 2754 enable_dlopen_self_static=unknown 2755else 2756 lt_cv_dlopen=no 2757 lt_cv_dlopen_libs= 2758 2759 case $host_os in 2760 beos*) 2761 lt_cv_dlopen=load_add_on 2762 lt_cv_dlopen_libs= 2763 lt_cv_dlopen_self=yes 2764 ;; 2765 2766 mingw* | pw32* | cegcc*) 2767 lt_cv_dlopen=LoadLibrary 2768 lt_cv_dlopen_libs= 2769 ;; 2770 2771 cygwin*) 2772 lt_cv_dlopen=dlopen 2773 lt_cv_dlopen_libs= 2774 ;; 2775 2776 darwin*) 2777 # if libdl is installed we need to link against it 2778 AC_CHECK_LIB([dl], [dlopen], 2779 [lt_cv_dlopen=dlopen lt_cv_dlopen_libs=-ldl],[ 2780 lt_cv_dlopen=dyld 2781 lt_cv_dlopen_libs= 2782 lt_cv_dlopen_self=yes 2783 ]) 2784 ;; 2785 2786 tpf*) 2787 # Don't try to run any link tests for TPF. We know it's impossible 2788 # because TPF is a cross-compiler, and we know how we open DSOs. 2789 lt_cv_dlopen=dlopen 2790 lt_cv_dlopen_libs= 2791 lt_cv_dlopen_self=no 2792 ;; 2793 2794 *) 2795 AC_CHECK_FUNC([shl_load], 2796 [lt_cv_dlopen=shl_load], 2797 [AC_CHECK_LIB([dld], [shl_load], 2798 [lt_cv_dlopen=shl_load lt_cv_dlopen_libs=-ldld], 2799 [AC_CHECK_FUNC([dlopen], 2800 [lt_cv_dlopen=dlopen], 2801 [AC_CHECK_LIB([dl], [dlopen], 2802 [lt_cv_dlopen=dlopen lt_cv_dlopen_libs=-ldl], 2803 [AC_CHECK_LIB([svld], [dlopen], 2804 [lt_cv_dlopen=dlopen lt_cv_dlopen_libs=-lsvld], 2805 [AC_CHECK_LIB([dld], [dld_link], 2806 [lt_cv_dlopen=dld_link lt_cv_dlopen_libs=-ldld]) 2807 ]) 2808 ]) 2809 ]) 2810 ]) 2811 ]) 2812 ;; 2813 esac 2814 2815 if test no = "$lt_cv_dlopen"; then 2816 enable_dlopen=no 2817 else 2818 enable_dlopen=yes 2819 fi 2820 2821 case $lt_cv_dlopen in 2822 dlopen) 2823 save_CPPFLAGS=$CPPFLAGS 2824 test yes = "$ac_cv_header_dlfcn_h" && CPPFLAGS="$CPPFLAGS -DHAVE_DLFCN_H" 2825 2826 save_LDFLAGS=$LDFLAGS 2827 wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $export_dynamic_flag_spec\" 2828 2829 save_LIBS=$LIBS 2830 LIBS="$lt_cv_dlopen_libs $LIBS" 2831 2832 AC_CACHE_CHECK([whether a program can dlopen itself], 2833 lt_cv_dlopen_self, [dnl 2834 _LT_TRY_DLOPEN_SELF( 2835 lt_cv_dlopen_self=yes, lt_cv_dlopen_self=yes, 2836 lt_cv_dlopen_self=no, lt_cv_dlopen_self=cross) 2837 ]) 2838 2839 if test yes = "$lt_cv_dlopen_self"; then 2840 wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $lt_prog_compiler_static\" 2841 AC_CACHE_CHECK([whether a statically linked program can dlopen itself], 2842 lt_cv_dlopen_self_static, [dnl 2843 _LT_TRY_DLOPEN_SELF( 2844 lt_cv_dlopen_self_static=yes, lt_cv_dlopen_self_static=yes, 2845 lt_cv_dlopen_self_static=no, lt_cv_dlopen_self_static=cross) 2846 ]) 2847 fi 2848 2849 CPPFLAGS=$save_CPPFLAGS 2850 LDFLAGS=$save_LDFLAGS 2851 LIBS=$save_LIBS 2852 ;; 2853 esac 2854 2855 case $lt_cv_dlopen_self in 2856 yes|no) enable_dlopen_self=$lt_cv_dlopen_self ;; 2857 *) enable_dlopen_self=unknown ;; 2858 esac 2859 2860 case $lt_cv_dlopen_self_static in 2861 yes|no) enable_dlopen_self_static=$lt_cv_dlopen_self_static ;; 2862 *) enable_dlopen_self_static=unknown ;; 2863 esac 2864fi 2865_LT_DECL([dlopen_support], [enable_dlopen], [0], 2866 [Whether dlopen is supported]) 2867_LT_DECL([dlopen_self], [enable_dlopen_self], [0], 2868 [Whether dlopen of programs is supported]) 2869_LT_DECL([dlopen_self_static], [enable_dlopen_self_static], [0], 2870 [Whether dlopen of statically linked programs is supported]) 2871]) 2872m4trace:m4/libtool.m4:2046: -1- AU_DEFUN([AC_LIBTOOL_DLOPEN_SELF], [m4_if($#, 0, [LT_SYS_DLOPEN_SELF], [LT_SYS_DLOPEN_SELF($@)])]) 2873m4trace:m4/libtool.m4:2046: -1- AC_DEFUN([AC_LIBTOOL_DLOPEN_SELF], [AC_DIAGNOSE([obsolete], [The macro `AC_LIBTOOL_DLOPEN_SELF' is obsolete. 2874You should run autoupdate.])dnl 2875m4_if($#, 0, [LT_SYS_DLOPEN_SELF], [LT_SYS_DLOPEN_SELF($@)])]) 2876m4trace:m4/libtool.m4:3214: -1- AC_DEFUN([_LT_PATH_TOOL_PREFIX], [m4_require([_LT_DECL_EGREP])dnl 2877AC_MSG_CHECKING([for $1]) 2878AC_CACHE_VAL(lt_cv_path_MAGIC_CMD, 2879[case $MAGIC_CMD in 2880[[\\/*] | ?:[\\/]*]) 2881 lt_cv_path_MAGIC_CMD=$MAGIC_CMD # Let the user override the test with a path. 2882 ;; 2883*) 2884 lt_save_MAGIC_CMD=$MAGIC_CMD 2885 lt_save_ifs=$IFS; IFS=$PATH_SEPARATOR 2886dnl $ac_dummy forces splitting on constant user-supplied paths. 2887dnl POSIX.2 word splitting is done only on the output of word expansions, 2888dnl not every word. This closes a longstanding sh security hole. 2889 ac_dummy="m4_if([$2], , $PATH, [$2])" 2890 for ac_dir in $ac_dummy; do 2891 IFS=$lt_save_ifs 2892 test -z "$ac_dir" && ac_dir=. 2893 if test -f "$ac_dir/$1"; then 2894 lt_cv_path_MAGIC_CMD=$ac_dir/"$1" 2895 if test -n "$file_magic_test_file"; then 2896 case $deplibs_check_method in 2897 "file_magic "*) 2898 file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"` 2899 MAGIC_CMD=$lt_cv_path_MAGIC_CMD 2900 if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null | 2901 $EGREP "$file_magic_regex" > /dev/null; then 2902 : 2903 else 2904 cat <<_LT_EOF 1>&2 2905 2906*** Warning: the command libtool uses to detect shared libraries, 2907*** $file_magic_cmd, produces output that libtool cannot recognize. 2908*** The result is that libtool may fail to recognize shared libraries 2909*** as such. This will affect the creation of libtool libraries that 2910*** depend on shared libraries, but programs linked with such libtool 2911*** libraries will work regardless of this problem. Nevertheless, you 2912*** may want to report the problem to your system manager and/or to 2913*** bug-libtool@gnu.org 2914 2915_LT_EOF 2916 fi ;; 2917 esac 2918 fi 2919 break 2920 fi 2921 done 2922 IFS=$lt_save_ifs 2923 MAGIC_CMD=$lt_save_MAGIC_CMD 2924 ;; 2925esac]) 2926MAGIC_CMD=$lt_cv_path_MAGIC_CMD 2927if test -n "$MAGIC_CMD"; then 2928 AC_MSG_RESULT($MAGIC_CMD) 2929else 2930 AC_MSG_RESULT(no) 2931fi 2932_LT_DECL([], [MAGIC_CMD], [0], 2933 [Used to examine libraries when file_magic_cmd begins with "file"])dnl 2934]) 2935m4trace:m4/libtool.m4:3217: -1- AU_DEFUN([AC_PATH_TOOL_PREFIX], [m4_if($#, 0, [_LT_PATH_TOOL_PREFIX], [_LT_PATH_TOOL_PREFIX($@)])]) 2936m4trace:m4/libtool.m4:3217: -1- AC_DEFUN([AC_PATH_TOOL_PREFIX], [AC_DIAGNOSE([obsolete], [The macro `AC_PATH_TOOL_PREFIX' is obsolete. 2937You should run autoupdate.])dnl 2938m4_if($#, 0, [_LT_PATH_TOOL_PREFIX], [_LT_PATH_TOOL_PREFIX($@)])]) 2939m4trace:m4/libtool.m4:3326: -1- AC_DEFUN([LT_PATH_LD], [AC_REQUIRE([AC_PROG_CC])dnl 2940AC_REQUIRE([AC_CANONICAL_HOST])dnl 2941AC_REQUIRE([AC_CANONICAL_BUILD])dnl 2942m4_require([_LT_DECL_SED])dnl 2943m4_require([_LT_DECL_EGREP])dnl 2944m4_require([_LT_PROG_ECHO_BACKSLASH])dnl 2945 2946AC_ARG_WITH([gnu-ld], 2947 [AS_HELP_STRING([--with-gnu-ld], 2948 [assume the C compiler uses GNU ld @<:@default=no@:>@])], 2949 [test no = "$withval" || with_gnu_ld=yes], 2950 [with_gnu_ld=no])dnl 2951 2952ac_prog=ld 2953if test yes = "$GCC"; then 2954 # Check if gcc -print-prog-name=ld gives a path. 2955 AC_MSG_CHECKING([for ld used by $CC]) 2956 case $host in 2957 *-*-mingw*) 2958 # gcc leaves a trailing carriage return, which upsets mingw 2959 ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;; 2960 *) 2961 ac_prog=`($CC -print-prog-name=ld) 2>&5` ;; 2962 esac 2963 case $ac_prog in 2964 # Accept absolute paths. 2965 [[\\/]]* | ?:[[\\/]]*) 2966 re_direlt='/[[^/]][[^/]]*/\.\./' 2967 # Canonicalize the pathname of ld 2968 ac_prog=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'` 2969 while $ECHO "$ac_prog" | $GREP "$re_direlt" > /dev/null 2>&1; do 2970 ac_prog=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"` 2971 done 2972 test -z "$LD" && LD=$ac_prog 2973 ;; 2974 "") 2975 # If it fails, then pretend we aren't using GCC. 2976 ac_prog=ld 2977 ;; 2978 *) 2979 # If it is relative, then search for the first ld in PATH. 2980 with_gnu_ld=unknown 2981 ;; 2982 esac 2983elif test yes = "$with_gnu_ld"; then 2984 AC_MSG_CHECKING([for GNU ld]) 2985else 2986 AC_MSG_CHECKING([for non-GNU ld]) 2987fi 2988AC_CACHE_VAL(lt_cv_path_LD, 2989[if test -z "$LD"; then 2990 lt_save_ifs=$IFS; IFS=$PATH_SEPARATOR 2991 for ac_dir in $PATH; do 2992 IFS=$lt_save_ifs 2993 test -z "$ac_dir" && ac_dir=. 2994 if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then 2995 lt_cv_path_LD=$ac_dir/$ac_prog 2996 # Check to see if the program is GNU ld. I'd rather use --version, 2997 # but apparently some variants of GNU ld only accept -v. 2998 # Break only if it was the GNU/non-GNU ld that we prefer. 2999 case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in 3000 *GNU* | *'with BFD'*) 3001 test no != "$with_gnu_ld" && break 3002 ;; 3003 *) 3004 test yes != "$with_gnu_ld" && break 3005 ;; 3006 esac 3007 fi 3008 done 3009 IFS=$lt_save_ifs 3010else 3011 lt_cv_path_LD=$LD # Let the user override the test with a path. 3012fi]) 3013LD=$lt_cv_path_LD 3014if test -n "$LD"; then 3015 AC_MSG_RESULT($LD) 3016else 3017 AC_MSG_RESULT(no) 3018fi 3019test -z "$LD" && AC_MSG_ERROR([no acceptable ld found in \$PATH]) 3020_LT_PATH_LD_GNU 3021AC_SUBST([LD]) 3022 3023_LT_TAGDECL([], [LD], [1], [The linker used to build libraries]) 3024]) 3025m4trace:m4/libtool.m4:3329: -1- AU_DEFUN([AM_PROG_LD], [m4_if($#, 0, [LT_PATH_LD], [LT_PATH_LD($@)])]) 3026m4trace:m4/libtool.m4:3329: -1- AC_DEFUN([AM_PROG_LD], [AC_DIAGNOSE([obsolete], [The macro `AM_PROG_LD' is obsolete. 3027You should run autoupdate.])dnl 3028m4_if($#, 0, [LT_PATH_LD], [LT_PATH_LD($@)])]) 3029m4trace:m4/libtool.m4:3330: -1- AU_DEFUN([AC_PROG_LD], [m4_if($#, 0, [LT_PATH_LD], [LT_PATH_LD($@)])]) 3030m4trace:m4/libtool.m4:3330: -1- AC_DEFUN([AC_PROG_LD], [AC_DIAGNOSE([obsolete], [The macro `AC_PROG_LD' is obsolete. 3031You should run autoupdate.])dnl 3032m4_if($#, 0, [LT_PATH_LD], [LT_PATH_LD($@)])]) 3033m4trace:m4/libtool.m4:3751: -1- AC_DEFUN([LT_PATH_NM], [AC_REQUIRE([AC_PROG_CC])dnl 3034AC_CACHE_CHECK([for BSD- or MS-compatible name lister (nm)], lt_cv_path_NM, 3035[if test -n "$NM"; then 3036 # Let the user override the test. 3037 lt_cv_path_NM=$NM 3038else 3039 lt_nm_to_check=${ac_tool_prefix}nm 3040 if test -n "$ac_tool_prefix" && test "$build" = "$host"; then 3041 lt_nm_to_check="$lt_nm_to_check nm" 3042 fi 3043 for lt_tmp_nm in $lt_nm_to_check; do 3044 lt_save_ifs=$IFS; IFS=$PATH_SEPARATOR 3045 for ac_dir in $PATH /usr/ccs/bin/elf /usr/ccs/bin /usr/ucb /bin; do 3046 IFS=$lt_save_ifs 3047 test -z "$ac_dir" && ac_dir=. 3048 tmp_nm=$ac_dir/$lt_tmp_nm 3049 if test -f "$tmp_nm" || test -f "$tmp_nm$ac_exeext"; then 3050 # Check to see if the nm accepts a BSD-compat flag. 3051 # Adding the 'sed 1q' prevents false positives on HP-UX, which says: 3052 # nm: unknown option "B" ignored 3053 # Tru64's nm complains that /dev/null is an invalid object file 3054 # MSYS converts /dev/null to NUL, MinGW nm treats NUL as empty 3055 case $build_os in 3056 mingw*) lt_bad_file=conftest.nm/nofile ;; 3057 *) lt_bad_file=/dev/null ;; 3058 esac 3059 case `"$tmp_nm" -B $lt_bad_file 2>&1 | sed '1q'` in 3060 *$lt_bad_file* | *'Invalid file or object type'*) 3061 lt_cv_path_NM="$tmp_nm -B" 3062 break 2 3063 ;; 3064 *) 3065 case `"$tmp_nm" -p /dev/null 2>&1 | sed '1q'` in 3066 */dev/null*) 3067 lt_cv_path_NM="$tmp_nm -p" 3068 break 2 3069 ;; 3070 *) 3071 lt_cv_path_NM=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but 3072 continue # so that we can try to find one that supports BSD flags 3073 ;; 3074 esac 3075 ;; 3076 esac 3077 fi 3078 done 3079 IFS=$lt_save_ifs 3080 done 3081 : ${lt_cv_path_NM=no} 3082fi]) 3083if test no != "$lt_cv_path_NM"; then 3084 NM=$lt_cv_path_NM 3085else 3086 # Didn't find any BSD compatible name lister, look for dumpbin. 3087 if test -n "$DUMPBIN"; then : 3088 # Let the user override the test. 3089 else 3090 AC_CHECK_TOOLS(DUMPBIN, [dumpbin "link -dump"], :) 3091 case `$DUMPBIN -symbols -headers /dev/null 2>&1 | sed '1q'` in 3092 *COFF*) 3093 DUMPBIN="$DUMPBIN -symbols -headers" 3094 ;; 3095 *) 3096 DUMPBIN=: 3097 ;; 3098 esac 3099 fi 3100 AC_SUBST([DUMPBIN]) 3101 if test : != "$DUMPBIN"; then 3102 NM=$DUMPBIN 3103 fi 3104fi 3105test -z "$NM" && NM=nm 3106AC_SUBST([NM]) 3107_LT_DECL([], [NM], [1], [A BSD- or MS-compatible name lister])dnl 3108 3109AC_CACHE_CHECK([the name lister ($NM) interface], [lt_cv_nm_interface], 3110 [lt_cv_nm_interface="BSD nm" 3111 echo "int some_variable = 0;" > conftest.$ac_ext 3112 (eval echo "\"\$as_me:$LINENO: $ac_compile\"" >&AS_MESSAGE_LOG_FD) 3113 (eval "$ac_compile" 2>conftest.err) 3114 cat conftest.err >&AS_MESSAGE_LOG_FD 3115 (eval echo "\"\$as_me:$LINENO: $NM \\\"conftest.$ac_objext\\\"\"" >&AS_MESSAGE_LOG_FD) 3116 (eval "$NM \"conftest.$ac_objext\"" 2>conftest.err > conftest.out) 3117 cat conftest.err >&AS_MESSAGE_LOG_FD 3118 (eval echo "\"\$as_me:$LINENO: output\"" >&AS_MESSAGE_LOG_FD) 3119 cat conftest.out >&AS_MESSAGE_LOG_FD 3120 if $GREP 'External.*some_variable' conftest.out > /dev/null; then 3121 lt_cv_nm_interface="MS dumpbin" 3122 fi 3123 rm -f conftest*]) 3124]) 3125m4trace:m4/libtool.m4:3754: -1- AU_DEFUN([AM_PROG_NM], [m4_if($#, 0, [LT_PATH_NM], [LT_PATH_NM($@)])]) 3126m4trace:m4/libtool.m4:3754: -1- AC_DEFUN([AM_PROG_NM], [AC_DIAGNOSE([obsolete], [The macro `AM_PROG_NM' is obsolete. 3127You should run autoupdate.])dnl 3128m4_if($#, 0, [LT_PATH_NM], [LT_PATH_NM($@)])]) 3129m4trace:m4/libtool.m4:3755: -1- AU_DEFUN([AC_PROG_NM], [m4_if($#, 0, [LT_PATH_NM], [LT_PATH_NM($@)])]) 3130m4trace:m4/libtool.m4:3755: -1- AC_DEFUN([AC_PROG_NM], [AC_DIAGNOSE([obsolete], [The macro `AC_PROG_NM' is obsolete. 3131You should run autoupdate.])dnl 3132m4_if($#, 0, [LT_PATH_NM], [LT_PATH_NM($@)])]) 3133m4trace:m4/libtool.m4:3834: -1- AC_DEFUN([_LT_DLL_DEF_P], [dnl 3134 test DEF = "`$SED -n dnl 3135 -e '\''s/^[[ ]]*//'\'' dnl Strip leading whitespace 3136 -e '\''/^\(;.*\)*$/d'\'' dnl Delete empty lines and comments 3137 -e '\''s/^\(EXPORTS\|LIBRARY\)\([[ ]].*\)*$/DEF/p'\'' dnl 3138 -e q dnl Only consider the first "real" line 3139 $1`" dnl 3140]) 3141m4trace:m4/libtool.m4:3856: -1- AC_DEFUN([LT_LIB_M], [AC_REQUIRE([AC_CANONICAL_HOST])dnl 3142LIBM= 3143case $host in 3144*-*-beos* | *-*-cegcc* | *-*-cygwin* | *-*-haiku* | *-*-pw32* | *-*-darwin*) 3145 # These system don't have libm, or don't need it 3146 ;; 3147*-ncr-sysv4.3*) 3148 AC_CHECK_LIB(mw, _mwvalidcheckl, LIBM=-lmw) 3149 AC_CHECK_LIB(m, cos, LIBM="$LIBM -lm") 3150 ;; 3151*) 3152 AC_CHECK_LIB(m, cos, LIBM=-lm) 3153 ;; 3154esac 3155AC_SUBST([LIBM]) 3156]) 3157m4trace:m4/libtool.m4:3859: -1- AU_DEFUN([AC_CHECK_LIBM], [m4_if($#, 0, [LT_LIB_M], [LT_LIB_M($@)])]) 3158m4trace:m4/libtool.m4:3859: -1- AC_DEFUN([AC_CHECK_LIBM], [AC_DIAGNOSE([obsolete], [The macro `AC_CHECK_LIBM' is obsolete. 3159You should run autoupdate.])dnl 3160m4_if($#, 0, [LT_LIB_M], [LT_LIB_M($@)])]) 3161m4trace:m4/libtool.m4:8128: -1- AC_DEFUN([LT_PROG_GCJ], [m4_ifdef([AC_PROG_GCJ], [AC_PROG_GCJ], 3162 [m4_ifdef([A][M_PROG_GCJ], [A][M_PROG_GCJ], 3163 [AC_CHECK_TOOL(GCJ, gcj,) 3164 test set = "${GCJFLAGS+set}" || GCJFLAGS="-g -O2" 3165 AC_SUBST(GCJFLAGS)])])[]dnl 3166]) 3167m4trace:m4/libtool.m4:8131: -1- AU_DEFUN([LT_AC_PROG_GCJ], [m4_if($#, 0, [LT_PROG_GCJ], [LT_PROG_GCJ($@)])]) 3168m4trace:m4/libtool.m4:8131: -1- AC_DEFUN([LT_AC_PROG_GCJ], [AC_DIAGNOSE([obsolete], [The macro `LT_AC_PROG_GCJ' is obsolete. 3169You should run autoupdate.])dnl 3170m4_if($#, 0, [LT_PROG_GCJ], [LT_PROG_GCJ($@)])]) 3171m4trace:m4/libtool.m4:8140: -1- AC_DEFUN([LT_PROG_GO], [AC_CHECK_TOOL(GOC, gccgo,) 3172]) 3173m4trace:m4/libtool.m4:8147: -1- AC_DEFUN([LT_PROG_RC], [AC_CHECK_TOOL(RC, windres,) 3174]) 3175m4trace:m4/libtool.m4:8150: -1- AU_DEFUN([LT_AC_PROG_RC], [m4_if($#, 0, [LT_PROG_RC], [LT_PROG_RC($@)])]) 3176m4trace:m4/libtool.m4:8150: -1- AC_DEFUN([LT_AC_PROG_RC], [AC_DIAGNOSE([obsolete], [The macro `LT_AC_PROG_RC' is obsolete. 3177You should run autoupdate.])dnl 3178m4_if($#, 0, [LT_PROG_RC], [LT_PROG_RC($@)])]) 3179m4trace:m4/libtool.m4:8270: -1- AU_DEFUN([LT_AC_PROG_SED], [m4_if($#, 0, [AC_PROG_SED], [AC_PROG_SED($@)])]) 3180m4trace:m4/libtool.m4:8270: -1- AC_DEFUN([LT_AC_PROG_SED], [AC_DIAGNOSE([obsolete], [The macro `LT_AC_PROG_SED' is obsolete. 3181You should run autoupdate.])dnl 3182m4_if($#, 0, [AC_PROG_SED], [AC_PROG_SED($@)])]) 3183m4trace:m4/ltoptions.m4:14: -1- AC_DEFUN([LTOPTIONS_VERSION], [m4_if([1])]) 3184m4trace:m4/ltoptions.m4:118: -1- AU_DEFUN([AC_LIBTOOL_DLOPEN], [_LT_SET_OPTION([LT_INIT], [dlopen]) 3185AC_DIAGNOSE([obsolete], 3186[$0: Remove this warning and the call to _LT_SET_OPTION when you 3187put the 'dlopen' option into LT_INIT's first parameter.]) 3188]) 3189m4trace:m4/ltoptions.m4:118: -1- AC_DEFUN([AC_LIBTOOL_DLOPEN], [AC_DIAGNOSE([obsolete], [The macro `AC_LIBTOOL_DLOPEN' is obsolete. 3190You should run autoupdate.])dnl 3191_LT_SET_OPTION([LT_INIT], [dlopen]) 3192AC_DIAGNOSE([obsolete], 3193[$0: Remove this warning and the call to _LT_SET_OPTION when you 3194put the 'dlopen' option into LT_INIT's first parameter.]) 3195]) 3196m4trace:m4/ltoptions.m4:154: -1- AU_DEFUN([AC_LIBTOOL_WIN32_DLL], [AC_REQUIRE([AC_CANONICAL_HOST])dnl 3197_LT_SET_OPTION([LT_INIT], [win32-dll]) 3198AC_DIAGNOSE([obsolete], 3199[$0: Remove this warning and the call to _LT_SET_OPTION when you 3200put the 'win32-dll' option into LT_INIT's first parameter.]) 3201]) 3202m4trace:m4/ltoptions.m4:154: -1- AC_DEFUN([AC_LIBTOOL_WIN32_DLL], [AC_DIAGNOSE([obsolete], [The macro `AC_LIBTOOL_WIN32_DLL' is obsolete. 3203You should run autoupdate.])dnl 3204AC_REQUIRE([AC_CANONICAL_HOST])dnl 3205_LT_SET_OPTION([LT_INIT], [win32-dll]) 3206AC_DIAGNOSE([obsolete], 3207[$0: Remove this warning and the call to _LT_SET_OPTION when you 3208put the 'win32-dll' option into LT_INIT's first parameter.]) 3209]) 3210m4trace:m4/ltoptions.m4:199: -1- AC_DEFUN([AC_ENABLE_SHARED], [_LT_SET_OPTION([LT_INIT], m4_if([$1], [no], [disable-])[shared]) 3211]) 3212m4trace:m4/ltoptions.m4:203: -1- AC_DEFUN([AC_DISABLE_SHARED], [_LT_SET_OPTION([LT_INIT], [disable-shared]) 3213]) 3214m4trace:m4/ltoptions.m4:205: -1- AU_DEFUN([AM_ENABLE_SHARED], [AC_ENABLE_SHARED($@)]) 3215m4trace:m4/ltoptions.m4:205: -1- AC_DEFUN([AM_ENABLE_SHARED], [AC_DIAGNOSE([obsolete], [The macro `AM_ENABLE_SHARED' is obsolete. 3216You should run autoupdate.])dnl 3217AC_ENABLE_SHARED($@)]) 3218m4trace:m4/ltoptions.m4:206: -1- AU_DEFUN([AM_DISABLE_SHARED], [AC_DISABLE_SHARED($@)]) 3219m4trace:m4/ltoptions.m4:206: -1- AC_DEFUN([AM_DISABLE_SHARED], [AC_DIAGNOSE([obsolete], [The macro `AM_DISABLE_SHARED' is obsolete. 3220You should run autoupdate.])dnl 3221AC_DISABLE_SHARED($@)]) 3222m4trace:m4/ltoptions.m4:253: -1- AC_DEFUN([AC_ENABLE_STATIC], [_LT_SET_OPTION([LT_INIT], m4_if([$1], [no], [disable-])[static]) 3223]) 3224m4trace:m4/ltoptions.m4:257: -1- AC_DEFUN([AC_DISABLE_STATIC], [_LT_SET_OPTION([LT_INIT], [disable-static]) 3225]) 3226m4trace:m4/ltoptions.m4:259: -1- AU_DEFUN([AM_ENABLE_STATIC], [AC_ENABLE_STATIC($@)]) 3227m4trace:m4/ltoptions.m4:259: -1- AC_DEFUN([AM_ENABLE_STATIC], [AC_DIAGNOSE([obsolete], [The macro `AM_ENABLE_STATIC' is obsolete. 3228You should run autoupdate.])dnl 3229AC_ENABLE_STATIC($@)]) 3230m4trace:m4/ltoptions.m4:260: -1- AU_DEFUN([AM_DISABLE_STATIC], [AC_DISABLE_STATIC($@)]) 3231m4trace:m4/ltoptions.m4:260: -1- AC_DEFUN([AM_DISABLE_STATIC], [AC_DIAGNOSE([obsolete], [The macro `AM_DISABLE_STATIC' is obsolete. 3232You should run autoupdate.])dnl 3233AC_DISABLE_STATIC($@)]) 3234m4trace:m4/ltoptions.m4:310: -1- AU_DEFUN([AC_ENABLE_FAST_INSTALL], [_LT_SET_OPTION([LT_INIT], m4_if([$1], [no], [disable-])[fast-install]) 3235AC_DIAGNOSE([obsolete], 3236[$0: Remove this warning and the call to _LT_SET_OPTION when you put 3237the 'fast-install' option into LT_INIT's first parameter.]) 3238]) 3239m4trace:m4/ltoptions.m4:310: -1- AC_DEFUN([AC_ENABLE_FAST_INSTALL], [AC_DIAGNOSE([obsolete], [The macro `AC_ENABLE_FAST_INSTALL' is obsolete. 3240You should run autoupdate.])dnl 3241_LT_SET_OPTION([LT_INIT], m4_if([$1], [no], [disable-])[fast-install]) 3242AC_DIAGNOSE([obsolete], 3243[$0: Remove this warning and the call to _LT_SET_OPTION when you put 3244the 'fast-install' option into LT_INIT's first parameter.]) 3245]) 3246m4trace:m4/ltoptions.m4:317: -1- AU_DEFUN([AC_DISABLE_FAST_INSTALL], [_LT_SET_OPTION([LT_INIT], [disable-fast-install]) 3247AC_DIAGNOSE([obsolete], 3248[$0: Remove this warning and the call to _LT_SET_OPTION when you put 3249the 'disable-fast-install' option into LT_INIT's first parameter.]) 3250]) 3251m4trace:m4/ltoptions.m4:317: -1- AC_DEFUN([AC_DISABLE_FAST_INSTALL], [AC_DIAGNOSE([obsolete], [The macro `AC_DISABLE_FAST_INSTALL' is obsolete. 3252You should run autoupdate.])dnl 3253_LT_SET_OPTION([LT_INIT], [disable-fast-install]) 3254AC_DIAGNOSE([obsolete], 3255[$0: Remove this warning and the call to _LT_SET_OPTION when you put 3256the 'disable-fast-install' option into LT_INIT's first parameter.]) 3257]) 3258m4trace:m4/ltoptions.m4:416: -1- AU_DEFUN([AC_LIBTOOL_PICMODE], [_LT_SET_OPTION([LT_INIT], [pic-only]) 3259AC_DIAGNOSE([obsolete], 3260[$0: Remove this warning and the call to _LT_SET_OPTION when you 3261put the 'pic-only' option into LT_INIT's first parameter.]) 3262]) 3263m4trace:m4/ltoptions.m4:416: -1- AC_DEFUN([AC_LIBTOOL_PICMODE], [AC_DIAGNOSE([obsolete], [The macro `AC_LIBTOOL_PICMODE' is obsolete. 3264You should run autoupdate.])dnl 3265_LT_SET_OPTION([LT_INIT], [pic-only]) 3266AC_DIAGNOSE([obsolete], 3267[$0: Remove this warning and the call to _LT_SET_OPTION when you 3268put the 'pic-only' option into LT_INIT's first parameter.]) 3269]) 3270m4trace:m4/ltsugar.m4:14: -1- AC_DEFUN([LTSUGAR_VERSION], [m4_if([0.1])]) 3271m4trace:m4/ltversion.m4:23: -1- AC_DEFUN([LTVERSION_VERSION], [macro_version='2.4.6' 3272macro_revision='2.4.6' 3273_LT_DECL(, macro_version, 0, [Which release of libtool.m4 was used?]) 3274_LT_DECL(, macro_revision, 0) 3275]) 3276m4trace:m4/lt~obsolete.m4:37: -1- AC_DEFUN([LTOBSOLETE_VERSION], [m4_if([1])]) 3277m4trace:m4/lt~obsolete.m4:41: -1- AC_DEFUN([_LT_AC_PROG_ECHO_BACKSLASH]) 3278m4trace:m4/lt~obsolete.m4:42: -1- AC_DEFUN([_LT_AC_SHELL_INIT]) 3279m4trace:m4/lt~obsolete.m4:43: -1- AC_DEFUN([_LT_AC_SYS_LIBPATH_AIX]) 3280m4trace:m4/lt~obsolete.m4:45: -1- AC_DEFUN([_LT_AC_TAGVAR]) 3281m4trace:m4/lt~obsolete.m4:46: -1- AC_DEFUN([AC_LTDL_ENABLE_INSTALL]) 3282m4trace:m4/lt~obsolete.m4:47: -1- AC_DEFUN([AC_LTDL_PREOPEN]) 3283m4trace:m4/lt~obsolete.m4:48: -1- AC_DEFUN([_LT_AC_SYS_COMPILER]) 3284m4trace:m4/lt~obsolete.m4:49: -1- AC_DEFUN([_LT_AC_LOCK]) 3285m4trace:m4/lt~obsolete.m4:50: -1- AC_DEFUN([AC_LIBTOOL_SYS_OLD_ARCHIVE]) 3286m4trace:m4/lt~obsolete.m4:51: -1- AC_DEFUN([_LT_AC_TRY_DLOPEN_SELF]) 3287m4trace:m4/lt~obsolete.m4:52: -1- AC_DEFUN([AC_LIBTOOL_PROG_CC_C_O]) 3288m4trace:m4/lt~obsolete.m4:53: -1- AC_DEFUN([AC_LIBTOOL_SYS_HARD_LINK_LOCKS]) 3289m4trace:m4/lt~obsolete.m4:54: -1- AC_DEFUN([AC_LIBTOOL_OBJDIR]) 3290m4trace:m4/lt~obsolete.m4:55: -1- AC_DEFUN([AC_LTDL_OBJDIR]) 3291m4trace:m4/lt~obsolete.m4:56: -1- AC_DEFUN([AC_LIBTOOL_PROG_LD_HARDCODE_LIBPATH]) 3292m4trace:m4/lt~obsolete.m4:57: -1- AC_DEFUN([AC_LIBTOOL_SYS_LIB_STRIP]) 3293m4trace:m4/lt~obsolete.m4:58: -1- AC_DEFUN([AC_PATH_MAGIC]) 3294m4trace:m4/lt~obsolete.m4:59: -1- AC_DEFUN([AC_PROG_LD_GNU]) 3295m4trace:m4/lt~obsolete.m4:60: -1- AC_DEFUN([AC_PROG_LD_RELOAD_FLAG]) 3296m4trace:m4/lt~obsolete.m4:61: -1- AC_DEFUN([AC_DEPLIBS_CHECK_METHOD]) 3297m4trace:m4/lt~obsolete.m4:62: -1- AC_DEFUN([AC_LIBTOOL_PROG_COMPILER_NO_RTTI]) 3298m4trace:m4/lt~obsolete.m4:63: -1- AC_DEFUN([AC_LIBTOOL_SYS_GLOBAL_SYMBOL_PIPE]) 3299m4trace:m4/lt~obsolete.m4:64: -1- AC_DEFUN([AC_LIBTOOL_PROG_COMPILER_PIC]) 3300m4trace:m4/lt~obsolete.m4:65: -1- AC_DEFUN([AC_LIBTOOL_PROG_LD_SHLIBS]) 3301m4trace:m4/lt~obsolete.m4:66: -1- AC_DEFUN([AC_LIBTOOL_POSTDEP_PREDEP]) 3302m4trace:m4/lt~obsolete.m4:67: -1- AC_DEFUN([LT_AC_PROG_EGREP]) 3303m4trace:m4/lt~obsolete.m4:72: -1- AC_DEFUN([_AC_PROG_LIBTOOL]) 3304m4trace:m4/lt~obsolete.m4:73: -1- AC_DEFUN([AC_LIBTOOL_SETUP]) 3305m4trace:m4/lt~obsolete.m4:74: -1- AC_DEFUN([_LT_AC_CHECK_DLFCN]) 3306m4trace:m4/lt~obsolete.m4:75: -1- AC_DEFUN([AC_LIBTOOL_SYS_DYNAMIC_LINKER]) 3307m4trace:m4/lt~obsolete.m4:76: -1- AC_DEFUN([_LT_AC_TAGCONFIG]) 3308m4trace:m4/lt~obsolete.m4:78: -1- AC_DEFUN([_LT_AC_LANG_CXX]) 3309m4trace:m4/lt~obsolete.m4:79: -1- AC_DEFUN([_LT_AC_LANG_F77]) 3310m4trace:m4/lt~obsolete.m4:80: -1- AC_DEFUN([_LT_AC_LANG_GCJ]) 3311m4trace:m4/lt~obsolete.m4:81: -1- AC_DEFUN([AC_LIBTOOL_LANG_C_CONFIG]) 3312m4trace:m4/lt~obsolete.m4:82: -1- AC_DEFUN([_LT_AC_LANG_C_CONFIG]) 3313m4trace:m4/lt~obsolete.m4:83: -1- AC_DEFUN([AC_LIBTOOL_LANG_CXX_CONFIG]) 3314m4trace:m4/lt~obsolete.m4:84: -1- AC_DEFUN([_LT_AC_LANG_CXX_CONFIG]) 3315m4trace:m4/lt~obsolete.m4:85: -1- AC_DEFUN([AC_LIBTOOL_LANG_F77_CONFIG]) 3316m4trace:m4/lt~obsolete.m4:86: -1- AC_DEFUN([_LT_AC_LANG_F77_CONFIG]) 3317m4trace:m4/lt~obsolete.m4:87: -1- AC_DEFUN([AC_LIBTOOL_LANG_GCJ_CONFIG]) 3318m4trace:m4/lt~obsolete.m4:88: -1- AC_DEFUN([_LT_AC_LANG_GCJ_CONFIG]) 3319m4trace:m4/lt~obsolete.m4:89: -1- AC_DEFUN([AC_LIBTOOL_LANG_RC_CONFIG]) 3320m4trace:m4/lt~obsolete.m4:90: -1- AC_DEFUN([_LT_AC_LANG_RC_CONFIG]) 3321m4trace:m4/lt~obsolete.m4:91: -1- AC_DEFUN([AC_LIBTOOL_CONFIG]) 3322m4trace:m4/lt~obsolete.m4:92: -1- AC_DEFUN([_LT_AC_FILE_LTDLL_C]) 3323m4trace:m4/lt~obsolete.m4:94: -1- AC_DEFUN([_LT_AC_PROG_CXXCPP]) 3324m4trace:m4/lt~obsolete.m4:97: -1- AC_DEFUN([_LT_PROG_F77]) 3325m4trace:m4/lt~obsolete.m4:98: -1- AC_DEFUN([_LT_PROG_FC]) 3326m4trace:m4/lt~obsolete.m4:99: -1- AC_DEFUN([_LT_PROG_CXX]) 3327m4trace:m4/m4_ax_append_compile_flags.m4:67: -1- AC_DEFUN([AX_APPEND_COMPILE_FLAGS], [AX_REQUIRE_DEFINED([AX_CHECK_COMPILE_FLAG]) 3328AX_REQUIRE_DEFINED([AX_APPEND_FLAG]) 3329for flag in $1; do 3330 AX_CHECK_COMPILE_FLAG([$flag], [AX_APPEND_FLAG([$flag], [$2])], [], [$3], [$4]) 3331done 3332]) 3333m4trace:m4/m4_ax_append_flag.m4:71: -1- AC_DEFUN([AX_APPEND_FLAG], [dnl 3334AC_PREREQ(2.64)dnl for _AC_LANG_PREFIX and AS_VAR_SET_IF 3335AS_VAR_PUSHDEF([FLAGS], [m4_default($2,_AC_LANG_PREFIX[FLAGS])]) 3336AS_VAR_SET_IF(FLAGS,[ 3337 AS_CASE([" AS_VAR_GET(FLAGS) "], 3338 [*" $1 "*], [AC_RUN_LOG([: FLAGS already contains $1])], 3339 [ 3340 AS_VAR_APPEND(FLAGS,[" $1"]) 3341 AC_RUN_LOG([: FLAGS="$FLAGS"]) 3342 ]) 3343 ], 3344 [ 3345 AS_VAR_SET(FLAGS,[$1]) 3346 AC_RUN_LOG([: FLAGS="$FLAGS"]) 3347 ]) 3348AS_VAR_POPDEF([FLAGS])dnl 3349]) 3350m4trace:m4/m4_ax_check_compile_flag.m4:53: -1- AC_DEFUN([AX_CHECK_COMPILE_FLAG], [AC_PREREQ(2.64)dnl for _AC_LANG_PREFIX and AS_VAR_IF 3351AS_VAR_PUSHDEF([CACHEVAR],[ax_cv_check_[]_AC_LANG_ABBREV[]flags_$4_$1])dnl 3352AC_CACHE_CHECK([whether _AC_LANG compiler accepts $1], CACHEVAR, [ 3353 ax_check_save_flags=$[]_AC_LANG_PREFIX[]FLAGS 3354 _AC_LANG_PREFIX[]FLAGS="$[]_AC_LANG_PREFIX[]FLAGS $4 $1" 3355 AC_COMPILE_IFELSE([m4_default([$5],[AC_LANG_PROGRAM()])], 3356 [AS_VAR_SET(CACHEVAR,[yes])], 3357 [AS_VAR_SET(CACHEVAR,[no])]) 3358 _AC_LANG_PREFIX[]FLAGS=$ax_check_save_flags]) 3359AS_VAR_IF(CACHEVAR,yes, 3360 [m4_default([$2], :)], 3361 [m4_default([$3], :)]) 3362AS_VAR_POPDEF([CACHEVAR])dnl 3363]) 3364m4trace:m4/m4_ax_code_coverage.m4:264: -1- AC_DEFUN([AX_CODE_COVERAGE], [ 3365 dnl Check for --enable-code-coverage 3366 AC_REQUIRE([AC_PROG_SED]) 3367 3368 # allow to override gcov location 3369 AC_ARG_WITH([gcov], 3370 [AS_HELP_STRING([--with-gcov[=GCOV]], [use given GCOV for coverage (GCOV=gcov).])], 3371 [_AX_CODE_COVERAGE_GCOV_PROG_WITH=$with_gcov], 3372 [_AX_CODE_COVERAGE_GCOV_PROG_WITH=gcov]) 3373 3374 AC_MSG_CHECKING([whether to build with code coverage support]) 3375 AC_ARG_ENABLE([code-coverage], 3376 AS_HELP_STRING([--enable-code-coverage], 3377 [Whether to enable code coverage support]),, 3378 enable_code_coverage=no) 3379 3380 AM_CONDITIONAL([CODE_COVERAGE_ENABLED], [test x$enable_code_coverage = xyes]) 3381 AC_SUBST([CODE_COVERAGE_ENABLED], [$enable_code_coverage]) 3382 AC_MSG_RESULT($enable_code_coverage) 3383 3384 AS_IF([ test "$enable_code_coverage" = "yes" ], [ 3385 # check for gcov 3386 AC_CHECK_TOOL([GCOV], 3387 [$_AX_CODE_COVERAGE_GCOV_PROG_WITH], 3388 [:]) 3389 AS_IF([test "X$GCOV" = "X:"], 3390 [AC_MSG_ERROR([gcov is needed to do coverage])]) 3391 AC_SUBST([GCOV]) 3392 3393 dnl Check if gcc is being used 3394 AS_IF([ test "$GCC" = "no" ], [ 3395 AC_MSG_ERROR([not compiling with gcc, which is required for gcov code coverage]) 3396 ]) 3397 3398 AC_CHECK_PROG([LCOV], [lcov], [lcov]) 3399 AC_CHECK_PROG([GENHTML], [genhtml], [genhtml]) 3400 3401 AS_IF([ test -z "$LCOV" ], [ 3402 AC_MSG_ERROR([To enable code coverage reporting you must have lcov installed]) 3403 ]) 3404 3405 AS_IF([ test -z "$GENHTML" ], [ 3406 AC_MSG_ERROR([Could not find genhtml from the lcov package]) 3407 ]) 3408 3409 dnl Build the code coverage flags 3410 dnl Define CODE_COVERAGE_LDFLAGS for backwards compatibility 3411 CODE_COVERAGE_CPPFLAGS="-DNDEBUG" 3412 CODE_COVERAGE_CFLAGS="-O0 -g -fprofile-arcs -ftest-coverage" 3413 CODE_COVERAGE_CXXFLAGS="-O0 -g -fprofile-arcs -ftest-coverage" 3414 CODE_COVERAGE_LIBS="-lgcov" 3415 CODE_COVERAGE_LDFLAGS="$CODE_COVERAGE_LIBS" 3416 3417 AC_SUBST([CODE_COVERAGE_CPPFLAGS]) 3418 AC_SUBST([CODE_COVERAGE_CFLAGS]) 3419 AC_SUBST([CODE_COVERAGE_CXXFLAGS]) 3420 AC_SUBST([CODE_COVERAGE_LIBS]) 3421 AC_SUBST([CODE_COVERAGE_LDFLAGS]) 3422 3423 [CODE_COVERAGE_RULES_CHECK=' 3424 -$(A''M_V_at)$(MAKE) $(AM_MAKEFLAGS) -k check 3425 $(A''M_V_at)$(MAKE) $(AM_MAKEFLAGS) code-coverage-capture 3426'] 3427 [CODE_COVERAGE_RULES_CAPTURE=' 3428 $(code_coverage_v_lcov_cap)$(LCOV) $(code_coverage_quiet) $(addprefix --directory ,$(CODE_COVERAGE_DIRECTORY)) --capture --output-file "$(CODE_COVERAGE_OUTPUT_FILE).tmp" --test-name "$(call code_coverage_sanitize,$(PACKAGE_NAME)-$(PACKAGE_VERSION))" --no-checksum --compat-libtool $(CODE_COVERAGE_LCOV_SHOPTS) $(CODE_COVERAGE_LCOV_OPTIONS) 3429 $(code_coverage_v_lcov_ign)$(LCOV) $(code_coverage_quiet) $(addprefix --directory ,$(CODE_COVERAGE_DIRECTORY)) --remove "$(CODE_COVERAGE_OUTPUT_FILE).tmp" "/tmp/*" $(CODE_COVERAGE_IGNORE_PATTERN) --output-file "$(CODE_COVERAGE_OUTPUT_FILE)" $(CODE_COVERAGE_LCOV_SHOPTS) $(CODE_COVERAGE_LCOV_RMOPTS) 3430 -@rm -f $(CODE_COVERAGE_OUTPUT_FILE).tmp 3431 $(code_coverage_v_genhtml)LANG=C $(GENHTML) $(code_coverage_quiet) $(addprefix --prefix ,$(CODE_COVERAGE_DIRECTORY)) --output-directory "$(CODE_COVERAGE_OUTPUT_DIRECTORY)" --title "$(PACKAGE_NAME)-$(PACKAGE_VERSION) Code Coverage" --legend --show-details "$(CODE_COVERAGE_OUTPUT_FILE)" $(CODE_COVERAGE_GENHTML_OPTIONS) 3432 @echo "file://$(abs_builddir)/$(CODE_COVERAGE_OUTPUT_DIRECTORY)/index.html" 3433'] 3434 [CODE_COVERAGE_RULES_CLEAN=' 3435clean: code-coverage-clean 3436distclean: code-coverage-clean 3437code-coverage-clean: 3438 -$(LCOV) --directory $(top_builddir) -z 3439 -rm -rf $(CODE_COVERAGE_OUTPUT_FILE) $(CODE_COVERAGE_OUTPUT_FILE).tmp $(CODE_COVERAGE_OUTPUT_DIRECTORY) 3440 -find . \( -name "*.gcda" -o -name "*.gcno" -o -name "*.gcov" \) -delete 3441'] 3442 ], [ 3443 [CODE_COVERAGE_RULES_CHECK=' 3444 @echo "Need to reconfigure with --enable-code-coverage" 3445'] 3446 CODE_COVERAGE_RULES_CAPTURE="$CODE_COVERAGE_RULES_CHECK" 3447 CODE_COVERAGE_RULES_CLEAN='' 3448 ]) 3449 3450[CODE_COVERAGE_RULES=' 3451# Code coverage 3452# 3453# Optional: 3454# - CODE_COVERAGE_DIRECTORY: Top-level directory for code coverage reporting. 3455# Multiple directories may be specified, separated by whitespace. 3456# (Default: $(top_builddir)) 3457# - CODE_COVERAGE_OUTPUT_FILE: Filename and path for the .info file generated 3458# by lcov for code coverage. (Default: 3459# $(PACKAGE_NAME)-$(PACKAGE_VERSION)-coverage.info) 3460# - CODE_COVERAGE_OUTPUT_DIRECTORY: Directory for generated code coverage 3461# reports to be created. (Default: 3462# $(PACKAGE_NAME)-$(PACKAGE_VERSION)-coverage) 3463# - CODE_COVERAGE_BRANCH_COVERAGE: Set to 1 to enforce branch coverage, 3464# set to 0 to disable it and leave empty to stay with the default. 3465# (Default: empty) 3466# - CODE_COVERAGE_LCOV_SHOPTS_DEFAULT: Extra options shared between both lcov 3467# instances. (Default: based on $CODE_COVERAGE_BRANCH_COVERAGE) 3468# - CODE_COVERAGE_LCOV_SHOPTS: Extra options to shared between both lcov 3469# instances. (Default: $CODE_COVERAGE_LCOV_SHOPTS_DEFAULT) 3470# - CODE_COVERAGE_LCOV_OPTIONS_GCOVPATH: --gcov-tool pathtogcov 3471# - CODE_COVERAGE_LCOV_OPTIONS_DEFAULT: Extra options to pass to the 3472# collecting lcov instance. (Default: $CODE_COVERAGE_LCOV_OPTIONS_GCOVPATH) 3473# - CODE_COVERAGE_LCOV_OPTIONS: Extra options to pass to the collecting lcov 3474# instance. (Default: $CODE_COVERAGE_LCOV_OPTIONS_DEFAULT) 3475# - CODE_COVERAGE_LCOV_RMOPTS_DEFAULT: Extra options to pass to the filtering 3476# lcov instance. (Default: empty) 3477# - CODE_COVERAGE_LCOV_RMOPTS: Extra options to pass to the filtering lcov 3478# instance. (Default: $CODE_COVERAGE_LCOV_RMOPTS_DEFAULT) 3479# - CODE_COVERAGE_GENHTML_OPTIONS_DEFAULT: Extra options to pass to the 3480# genhtml instance. (Default: based on $CODE_COVERAGE_BRANCH_COVERAGE) 3481# - CODE_COVERAGE_GENHTML_OPTIONS: Extra options to pass to the genhtml 3482# instance. (Default: $CODE_COVERAGE_GENHTML_OPTIONS_DEFAULT) 3483# - CODE_COVERAGE_IGNORE_PATTERN: Extra glob pattern of files to ignore 3484# 3485# The generated report will be titled using the $(PACKAGE_NAME) and 3486# $(PACKAGE_VERSION). In order to add the current git hash to the title, 3487# use the git-version-gen script, available online. 3488 3489# Optional variables 3490CODE_COVERAGE_DIRECTORY ?= $(top_builddir) 3491CODE_COVERAGE_OUTPUT_FILE ?= $(PACKAGE_NAME)-$(PACKAGE_VERSION)-coverage.info 3492CODE_COVERAGE_OUTPUT_DIRECTORY ?= $(PACKAGE_NAME)-$(PACKAGE_VERSION)-coverage 3493CODE_COVERAGE_BRANCH_COVERAGE ?= 3494CODE_COVERAGE_LCOV_SHOPTS_DEFAULT ?= $(if $(CODE_COVERAGE_BRANCH_COVERAGE),\ 3495--rc lcov_branch_coverage=$(CODE_COVERAGE_BRANCH_COVERAGE)) 3496CODE_COVERAGE_LCOV_SHOPTS ?= $(CODE_COVERAGE_LCOV_SHOPTS_DEFAULT) 3497CODE_COVERAGE_LCOV_OPTIONS_GCOVPATH ?= --gcov-tool "$(GCOV)" 3498CODE_COVERAGE_LCOV_OPTIONS_DEFAULT ?= $(CODE_COVERAGE_LCOV_OPTIONS_GCOVPATH) 3499CODE_COVERAGE_LCOV_OPTIONS ?= $(CODE_COVERAGE_LCOV_OPTIONS_DEFAULT) 3500CODE_COVERAGE_LCOV_RMOPTS_DEFAULT ?= 3501CODE_COVERAGE_LCOV_RMOPTS ?= $(CODE_COVERAGE_LCOV_RMOPTS_DEFAULT) 3502CODE_COVERAGE_GENHTML_OPTIONS_DEFAULT ?=\ 3503$(if $(CODE_COVERAGE_BRANCH_COVERAGE),\ 3504--rc genhtml_branch_coverage=$(CODE_COVERAGE_BRANCH_COVERAGE)) 3505CODE_COVERAGE_GENHTML_OPTIONS ?= $(CODE_COVERAGE_GENHTML_OPTIONS_DEFAULT) 3506CODE_COVERAGE_IGNORE_PATTERN ?= 3507 3508GITIGNOREFILES ?= 3509GITIGNOREFILES += $(CODE_COVERAGE_OUTPUT_FILE) $(CODE_COVERAGE_OUTPUT_DIRECTORY) 3510 3511code_coverage_v_lcov_cap = $(code_coverage_v_lcov_cap_$(V)) 3512code_coverage_v_lcov_cap_ = $(code_coverage_v_lcov_cap_$(AM_DEFAULT_VERBOSITY)) 3513code_coverage_v_lcov_cap_0 = @echo " LCOV --capture"\ 3514 $(CODE_COVERAGE_OUTPUT_FILE); 3515code_coverage_v_lcov_ign = $(code_coverage_v_lcov_ign_$(V)) 3516code_coverage_v_lcov_ign_ = $(code_coverage_v_lcov_ign_$(AM_DEFAULT_VERBOSITY)) 3517code_coverage_v_lcov_ign_0 = @echo " LCOV --remove /tmp/*"\ 3518 $(CODE_COVERAGE_IGNORE_PATTERN); 3519code_coverage_v_genhtml = $(code_coverage_v_genhtml_$(V)) 3520code_coverage_v_genhtml_ = $(code_coverage_v_genhtml_$(AM_DEFAULT_VERBOSITY)) 3521code_coverage_v_genhtml_0 = @echo " GEN " $(CODE_COVERAGE_OUTPUT_DIRECTORY); 3522code_coverage_quiet = $(code_coverage_quiet_$(V)) 3523code_coverage_quiet_ = $(code_coverage_quiet_$(AM_DEFAULT_VERBOSITY)) 3524code_coverage_quiet_0 = --quiet 3525 3526# sanitizes the test-name: replaces with underscores: dashes and dots 3527code_coverage_sanitize = $(subst -,_,$(subst .,_,$(1))) 3528 3529# Use recursive makes in order to ignore errors during check 3530check-code-coverage:'"$CODE_COVERAGE_RULES_CHECK"' 3531 3532# Capture code coverage data 3533code-coverage-capture: code-coverage-capture-hook'"$CODE_COVERAGE_RULES_CAPTURE"' 3534 3535# Hook rule executed before code-coverage-capture, overridable by the user 3536code-coverage-capture-hook: 3537 3538'"$CODE_COVERAGE_RULES_CLEAN"' 3539 3540A''M_DISTCHECK_CONFIGURE_FLAGS ?= 3541A''M_DISTCHECK_CONFIGURE_FLAGS += --disable-code-coverage 3542 3543.PHONY: check-code-coverage code-coverage-capture code-coverage-capture-hook code-coverage-clean 3544'] 3545 3546 AC_SUBST([CODE_COVERAGE_RULES]) 3547 m4_ifdef([_AM_SUBST_NOTMAKE], [_AM_SUBST_NOTMAKE([CODE_COVERAGE_RULES])]) 3548]) 3549m4trace:m4/m4_ax_compiler_flags_cxxflags.m4:136: -1- AC_DEFUN([AX_COMPILER_FLAGS_CXXFLAGS], [ 3550 AC_REQUIRE([AC_PROG_SED]) 3551 AX_REQUIRE_DEFINED([AX_APPEND_COMPILE_FLAGS]) 3552 AX_REQUIRE_DEFINED([AX_APPEND_FLAG]) 3553 AX_REQUIRE_DEFINED([AX_CHECK_COMPILE_FLAG]) 3554 3555 # Variable names 3556 m4_define([ax_warn_cxxflags_variable], 3557 [m4_normalize(ifelse([$1],,[WARN_CXXFLAGS],[$1]))]) 3558 3559 AC_LANG_PUSH([C++]) 3560 3561 # Always pass -Werror=unknown-warning-option to get Clang to fail on bad 3562 # flags, otherwise they are always appended to the warn_cxxflags variable, 3563 # and Clang warns on them for every compilation unit. 3564 # If this is passed to GCC, it will explode, so the flag must be enabled 3565 # conditionally. 3566 AX_CHECK_COMPILE_FLAG([-Werror=unknown-warning-option],[ 3567 ax_compiler_flags_test="-Werror=unknown-warning-option" 3568 ],[ 3569 ax_compiler_flags_test="" 3570 ]) 3571 3572 # Check that -Wno-suggest-attribute=format is supported 3573 AX_CHECK_COMPILE_FLAG([-Wno-suggest-attribute=format],[ 3574 ax_compiler_no_suggest_attribute_flags="-Wno-suggest-attribute=format" 3575 ],[ 3576 ax_compiler_no_suggest_attribute_flags="" 3577 ]) 3578 3579 # Base flags 3580 AX_APPEND_COMPILE_FLAGS([ dnl 3581 -fno-strict-aliasing dnl 3582 $3 dnl 3583 ],ax_warn_cxxflags_variable,[$ax_compiler_flags_test]) 3584 3585 AS_IF([test "$ax_enable_compile_warnings" != "no"],[ 3586 # "yes" flags 3587 AX_APPEND_COMPILE_FLAGS([ dnl 3588 -Wall dnl 3589 -Wextra dnl 3590 -Wundef dnl 3591 -Wwrite-strings dnl 3592 -Wpointer-arith dnl 3593 -Wmissing-declarations dnl 3594 -Wredundant-decls dnl 3595 -Wno-unused-parameter dnl 3596 -Wno-missing-field-initializers dnl 3597 -Wformat=2 dnl 3598 -Wcast-align dnl 3599 -Wformat-nonliteral dnl 3600 -Wformat-security dnl 3601 -Wsign-compare dnl 3602 -Wstrict-aliasing dnl 3603 -Wshadow dnl 3604 -Winline dnl 3605 -Wpacked dnl 3606 -Wmissing-format-attribute dnl 3607 -Wmissing-noreturn dnl 3608 -Winit-self dnl 3609 -Wredundant-decls dnl 3610 -Wmissing-include-dirs dnl 3611 -Wunused-but-set-variable dnl 3612 -Warray-bounds dnl 3613 -Wreturn-type dnl 3614 -Wno-overloaded-virtual dnl 3615 -Wswitch-enum dnl 3616 -Wswitch-default dnl 3617 $4 dnl 3618 $5 dnl 3619 $6 dnl 3620 $7 dnl 3621 ],ax_warn_cxxflags_variable,[$ax_compiler_flags_test]) 3622 ]) 3623 AS_IF([test "$ax_enable_compile_warnings" = "error"],[ 3624 # "error" flags; -Werror has to be appended unconditionally because 3625 # it's not possible to test for 3626 # 3627 # suggest-attribute=format is disabled because it gives too many false 3628 # positives 3629 AX_APPEND_FLAG([-Werror],ax_warn_cxxflags_variable) 3630 3631 AX_APPEND_COMPILE_FLAGS([ dnl 3632 [$ax_compiler_no_suggest_attribute_flags] dnl 3633 ],ax_warn_cxxflags_variable,[$ax_compiler_flags_test]) 3634 ]) 3635 3636 # In the flags below, when disabling specific flags, always add *both* 3637 # -Wno-foo and -Wno-error=foo. This fixes the situation where (for example) 3638 # we enable -Werror, disable a flag, and a build bot passes CXXFLAGS=-Wall, 3639 # which effectively turns that flag back on again as an error. 3640 for flag in $ax_warn_cxxflags_variable; do 3641 AS_CASE([$flag], 3642 [-Wno-*=*],[], 3643 [-Wno-*],[ 3644 AX_APPEND_COMPILE_FLAGS([-Wno-error=$(AS_ECHO([$flag]) | $SED 's/^-Wno-//')], 3645 ax_warn_cxxflags_variable, 3646 [$ax_compiler_flags_test]) 3647 ]) 3648 done 3649 3650 AC_LANG_POP([C++]) 3651 3652 # Substitute the variables 3653 AC_SUBST(ax_warn_cxxflags_variable) 3654]) 3655m4trace:m4/m4_ax_cxx_compile_stdcxx.m4:48: -1- AX_REQUIRE_DEFINED([AC_MSG_WARN]) 3656m4trace:m4/m4_ax_cxx_compile_stdcxx.m4:143: -1- AC_DEFUN([AX_CXX_COMPILE_STDCXX], [dnl 3657 m4_if([$1], [11], [ax_cxx_compile_alternatives="11 0x"], 3658 [$1], [14], [ax_cxx_compile_alternatives="14 1y"], 3659 [$1], [17], [ax_cxx_compile_alternatives="17 1z"], 3660 [m4_fatal([invalid first argument `$1' to AX_CXX_COMPILE_STDCXX])])dnl 3661 m4_if([$2], [], [], 3662 [$2], [ext], [], 3663 [$2], [noext], [], 3664 [m4_fatal([invalid second argument `$2' to AX_CXX_COMPILE_STDCXX])])dnl 3665 m4_if([$3], [], [ax_cxx_compile_cxx$1_required=true], 3666 [$3], [mandatory], [ax_cxx_compile_cxx$1_required=true], 3667 [$3], [optional], [ax_cxx_compile_cxx$1_required=false], 3668 [m4_fatal([invalid third argument `$3' to AX_CXX_COMPILE_STDCXX])]) 3669 AC_LANG_PUSH([C++])dnl 3670 ac_success=no 3671 AC_CACHE_CHECK(whether $CXX supports C++$1 features by default, 3672 ax_cv_cxx_compile_cxx$1, 3673 [AC_COMPILE_IFELSE([AC_LANG_SOURCE([_AX_CXX_COMPILE_STDCXX_testbody_$1])], 3674 [ax_cv_cxx_compile_cxx$1=yes], 3675 [ax_cv_cxx_compile_cxx$1=no])]) 3676 if test x$ax_cv_cxx_compile_cxx$1 = xyes; then 3677 ac_success=yes 3678 fi 3679 3680 m4_if([$2], [noext], [], [dnl 3681 if test x$ac_success = xno; then 3682 for alternative in ${ax_cxx_compile_alternatives}; do 3683 switch="-std=gnu++${alternative}" 3684 cachevar=AS_TR_SH([ax_cv_cxx_compile_cxx$1_$switch]) 3685 AC_CACHE_CHECK(whether $CXX supports C++$1 features with $switch, 3686 $cachevar, 3687 [ac_save_CXX="$CXX" 3688 CXX="$CXX $switch" 3689 AC_COMPILE_IFELSE([AC_LANG_SOURCE([_AX_CXX_COMPILE_STDCXX_testbody_$1])], 3690 [eval $cachevar=yes], 3691 [eval $cachevar=no]) 3692 CXX="$ac_save_CXX"]) 3693 if eval test x\$$cachevar = xyes; then 3694 CXX="$CXX $switch" 3695 if test -n "$CXXCPP" ; then 3696 CXXCPP="$CXXCPP $switch" 3697 fi 3698 ac_success=yes 3699 break 3700 fi 3701 done 3702 fi]) 3703 3704 m4_if([$2], [ext], [], [dnl 3705 if test x$ac_success = xno; then 3706 dnl HP's aCC needs +std=c++11 according to: 3707 dnl http://h21007.www2.hp.com/portal/download/files/unprot/aCxx/PDF_Release_Notes/769149-001.pdf 3708 dnl Cray's crayCC needs "-h std=c++11" 3709 for alternative in ${ax_cxx_compile_alternatives}; do 3710 for switch in -std=c++${alternative} +std=c++${alternative} "-h std=c++${alternative}"; do 3711 cachevar=AS_TR_SH([ax_cv_cxx_compile_cxx$1_$switch]) 3712 AC_CACHE_CHECK(whether $CXX supports C++$1 features with $switch, 3713 $cachevar, 3714 [ac_save_CXX="$CXX" 3715 CXX="$CXX $switch" 3716 AC_COMPILE_IFELSE([AC_LANG_SOURCE([_AX_CXX_COMPILE_STDCXX_testbody_$1])], 3717 [eval $cachevar=yes], 3718 [eval $cachevar=no]) 3719 CXX="$ac_save_CXX"]) 3720 if eval test x\$$cachevar = xyes; then 3721 CXX="$CXX $switch" 3722 if test -n "$CXXCPP" ; then 3723 CXXCPP="$CXXCPP $switch" 3724 fi 3725 ac_success=yes 3726 break 3727 fi 3728 done 3729 if test x$ac_success = xyes; then 3730 break 3731 fi 3732 done 3733 fi]) 3734 AC_LANG_POP([C++]) 3735 if test x$ax_cxx_compile_cxx$1_required = xtrue; then 3736 if test x$ac_success = xno; then 3737 AC_MSG_ERROR([*** A compiler with support for C++$1 language features is required.]) 3738 fi 3739 fi 3740 if test x$ac_success = xno; then 3741 HAVE_CXX$1=0 3742 AC_MSG_NOTICE([No compiler with C++$1 support was found]) 3743 else 3744 HAVE_CXX$1=1 3745 AC_DEFINE(HAVE_CXX$1,1, 3746 [define if the compiler supports basic C++$1 syntax]) 3747 fi 3748 AC_SUBST(HAVE_CXX$1) 3749 m4_if([$1], [17], [AC_MSG_WARN([C++17 is not yet standardized, so the checks may change in incompatible ways anytime])]) 3750]) 3751m4trace:m4/m4_ax_cxx_compile_stdcxx_11.m4:38: -1- AX_REQUIRE_DEFINED([AX_CXX_COMPILE_STDCXX]) 3752m4trace:m4/m4_ax_cxx_compile_stdcxx_11.m4:39: -1- AC_DEFUN([AX_CXX_COMPILE_STDCXX_11], [AX_CXX_COMPILE_STDCXX([11], [$1], [$2])]) 3753m4trace:configure.ac:6: -1- m4_pattern_forbid([^_?A[CHUM]_]) 3754m4trace:configure.ac:6: -1- m4_pattern_forbid([_AC_]) 3755m4trace:configure.ac:6: -1- m4_pattern_forbid([^LIBOBJS$], [do not use LIBOBJS directly, use AC_LIBOBJ (see section `AC_LIBOBJ vs LIBOBJS']) 3756m4trace:configure.ac:6: -1- m4_pattern_allow([^AS_FLAGS$]) 3757m4trace:configure.ac:6: -1- m4_pattern_forbid([^_?m4_]) 3758m4trace:configure.ac:6: -1- m4_pattern_forbid([^dnl$]) 3759m4trace:configure.ac:6: -1- m4_pattern_forbid([^_?AS_]) 3760m4trace:configure.ac:6: -1- m4_pattern_allow([^SHELL$]) 3761m4trace:configure.ac:6: -1- m4_pattern_allow([^PATH_SEPARATOR$]) 3762m4trace:configure.ac:6: -1- m4_pattern_allow([^PACKAGE_NAME$]) 3763m4trace:configure.ac:6: -1- m4_pattern_allow([^PACKAGE_TARNAME$]) 3764m4trace:configure.ac:6: -1- m4_pattern_allow([^PACKAGE_VERSION$]) 3765m4trace:configure.ac:6: -1- m4_pattern_allow([^PACKAGE_STRING$]) 3766m4trace:configure.ac:6: -1- m4_pattern_allow([^PACKAGE_BUGREPORT$]) 3767m4trace:configure.ac:6: -1- m4_pattern_allow([^PACKAGE_URL$]) 3768m4trace:configure.ac:6: -1- m4_pattern_allow([^exec_prefix$]) 3769m4trace:configure.ac:6: -1- m4_pattern_allow([^prefix$]) 3770m4trace:configure.ac:6: -1- m4_pattern_allow([^program_transform_name$]) 3771m4trace:configure.ac:6: -1- m4_pattern_allow([^bindir$]) 3772m4trace:configure.ac:6: -1- m4_pattern_allow([^sbindir$]) 3773m4trace:configure.ac:6: -1- m4_pattern_allow([^libexecdir$]) 3774m4trace:configure.ac:6: -1- m4_pattern_allow([^datarootdir$]) 3775m4trace:configure.ac:6: -1- m4_pattern_allow([^datadir$]) 3776m4trace:configure.ac:6: -1- m4_pattern_allow([^sysconfdir$]) 3777m4trace:configure.ac:6: -1- m4_pattern_allow([^sharedstatedir$]) 3778m4trace:configure.ac:6: -1- m4_pattern_allow([^localstatedir$]) 3779m4trace:configure.ac:6: -1- m4_pattern_allow([^includedir$]) 3780m4trace:configure.ac:6: -1- m4_pattern_allow([^oldincludedir$]) 3781m4trace:configure.ac:6: -1- m4_pattern_allow([^docdir$]) 3782m4trace:configure.ac:6: -1- m4_pattern_allow([^infodir$]) 3783m4trace:configure.ac:6: -1- m4_pattern_allow([^htmldir$]) 3784m4trace:configure.ac:6: -1- m4_pattern_allow([^dvidir$]) 3785m4trace:configure.ac:6: -1- m4_pattern_allow([^pdfdir$]) 3786m4trace:configure.ac:6: -1- m4_pattern_allow([^psdir$]) 3787m4trace:configure.ac:6: -1- m4_pattern_allow([^libdir$]) 3788m4trace:configure.ac:6: -1- m4_pattern_allow([^localedir$]) 3789m4trace:configure.ac:6: -1- m4_pattern_allow([^mandir$]) 3790m4trace:configure.ac:6: -1- m4_pattern_allow([^PACKAGE_NAME$]) 3791m4trace:configure.ac:6: -1- m4_pattern_allow([^PACKAGE_TARNAME$]) 3792m4trace:configure.ac:6: -1- m4_pattern_allow([^PACKAGE_VERSION$]) 3793m4trace:configure.ac:6: -1- m4_pattern_allow([^PACKAGE_STRING$]) 3794m4trace:configure.ac:6: -1- m4_pattern_allow([^PACKAGE_BUGREPORT$]) 3795m4trace:configure.ac:6: -1- m4_pattern_allow([^PACKAGE_URL$]) 3796m4trace:configure.ac:6: -1- m4_pattern_allow([^DEFS$]) 3797m4trace:configure.ac:6: -1- m4_pattern_allow([^ECHO_C$]) 3798m4trace:configure.ac:6: -1- m4_pattern_allow([^ECHO_N$]) 3799m4trace:configure.ac:6: -1- m4_pattern_allow([^ECHO_T$]) 3800m4trace:configure.ac:6: -1- m4_pattern_allow([^LIBS$]) 3801m4trace:configure.ac:6: -1- m4_pattern_allow([^build_alias$]) 3802m4trace:configure.ac:6: -1- m4_pattern_allow([^host_alias$]) 3803m4trace:configure.ac:6: -1- m4_pattern_allow([^target_alias$]) 3804m4trace:configure.ac:9: -1- AC_CONFIG_MACRO_DIR([m4]) 3805m4trace:configure.ac:17: -1- AM_INIT_AUTOMAKE([1.11 -Wall foreign subdir-objects]) 3806m4trace:configure.ac:17: -1- m4_pattern_allow([^AM_[A-Z]+FLAGS$]) 3807m4trace:configure.ac:17: -1- AM_SET_CURRENT_AUTOMAKE_VERSION 3808m4trace:configure.ac:17: -1- AM_AUTOMAKE_VERSION([1.16.1]) 3809m4trace:configure.ac:17: -1- _AM_AUTOCONF_VERSION([2.69]) 3810m4trace:configure.ac:17: -1- m4_pattern_allow([^INSTALL_PROGRAM$]) 3811m4trace:configure.ac:17: -1- m4_pattern_allow([^INSTALL_SCRIPT$]) 3812m4trace:configure.ac:17: -1- m4_pattern_allow([^INSTALL_DATA$]) 3813m4trace:configure.ac:17: -1- m4_pattern_allow([^am__isrc$]) 3814m4trace:configure.ac:17: -1- _AM_SUBST_NOTMAKE([am__isrc]) 3815m4trace:configure.ac:17: -1- m4_pattern_allow([^CYGPATH_W$]) 3816m4trace:configure.ac:17: -1- _AM_SET_OPTIONS([1.11 -Wall foreign subdir-objects]) 3817m4trace:configure.ac:17: -1- _AM_SET_OPTION([1.11]) 3818m4trace:configure.ac:17: -2- _AM_MANGLE_OPTION([1.11]) 3819m4trace:configure.ac:17: -1- _AM_SET_OPTION([-Wall]) 3820m4trace:configure.ac:17: -2- _AM_MANGLE_OPTION([-Wall]) 3821m4trace:configure.ac:17: -1- _AM_SET_OPTION([foreign]) 3822m4trace:configure.ac:17: -2- _AM_MANGLE_OPTION([foreign]) 3823m4trace:configure.ac:17: -1- _AM_SET_OPTION([subdir-objects]) 3824m4trace:configure.ac:17: -2- _AM_MANGLE_OPTION([subdir-objects]) 3825m4trace:configure.ac:17: -1- m4_pattern_allow([^PACKAGE$]) 3826m4trace:configure.ac:17: -1- m4_pattern_allow([^VERSION$]) 3827m4trace:configure.ac:17: -1- _AM_IF_OPTION([no-define], [], [AC_DEFINE_UNQUOTED([PACKAGE], ["$PACKAGE"], [Name of package]) 3828 AC_DEFINE_UNQUOTED([VERSION], ["$VERSION"], [Version number of package])]) 3829m4trace:configure.ac:17: -2- _AM_MANGLE_OPTION([no-define]) 3830m4trace:configure.ac:17: -1- m4_pattern_allow([^PACKAGE$]) 3831m4trace:configure.ac:17: -1- m4_pattern_allow([^VERSION$]) 3832m4trace:configure.ac:17: -1- AM_SANITY_CHECK 3833m4trace:configure.ac:17: -1- AM_MISSING_PROG([ACLOCAL], [aclocal-${am__api_version}]) 3834m4trace:configure.ac:17: -1- AM_MISSING_HAS_RUN 3835m4trace:configure.ac:17: -1- AM_AUX_DIR_EXPAND 3836m4trace:configure.ac:17: -1- m4_pattern_allow([^ACLOCAL$]) 3837m4trace:configure.ac:17: -1- AM_MISSING_PROG([AUTOCONF], [autoconf]) 3838m4trace:configure.ac:17: -1- m4_pattern_allow([^AUTOCONF$]) 3839m4trace:configure.ac:17: -1- AM_MISSING_PROG([AUTOMAKE], [automake-${am__api_version}]) 3840m4trace:configure.ac:17: -1- m4_pattern_allow([^AUTOMAKE$]) 3841m4trace:configure.ac:17: -1- AM_MISSING_PROG([AUTOHEADER], [autoheader]) 3842m4trace:configure.ac:17: -1- m4_pattern_allow([^AUTOHEADER$]) 3843m4trace:configure.ac:17: -1- AM_MISSING_PROG([MAKEINFO], [makeinfo]) 3844m4trace:configure.ac:17: -1- m4_pattern_allow([^MAKEINFO$]) 3845m4trace:configure.ac:17: -1- AM_PROG_INSTALL_SH 3846m4trace:configure.ac:17: -1- m4_pattern_allow([^install_sh$]) 3847m4trace:configure.ac:17: -1- AM_PROG_INSTALL_STRIP 3848m4trace:configure.ac:17: -1- m4_pattern_allow([^STRIP$]) 3849m4trace:configure.ac:17: -1- m4_pattern_allow([^INSTALL_STRIP_PROGRAM$]) 3850m4trace:configure.ac:17: -1- m4_pattern_allow([^MKDIR_P$]) 3851m4trace:configure.ac:17: -1- m4_pattern_allow([^mkdir_p$]) 3852m4trace:configure.ac:17: -1- m4_pattern_allow([^AWK$]) 3853m4trace:configure.ac:17: -1- m4_pattern_allow([^SET_MAKE$]) 3854m4trace:configure.ac:17: -1- AM_SET_LEADING_DOT 3855m4trace:configure.ac:17: -1- m4_pattern_allow([^am__leading_dot$]) 3856m4trace:configure.ac:17: -1- _AM_IF_OPTION([tar-ustar], [_AM_PROG_TAR([ustar])], [_AM_IF_OPTION([tar-pax], [_AM_PROG_TAR([pax])], 3857 [_AM_PROG_TAR([v7])])]) 3858m4trace:configure.ac:17: -2- _AM_MANGLE_OPTION([tar-ustar]) 3859m4trace:configure.ac:17: -1- _AM_IF_OPTION([tar-pax], [_AM_PROG_TAR([pax])], [_AM_PROG_TAR([v7])]) 3860m4trace:configure.ac:17: -2- _AM_MANGLE_OPTION([tar-pax]) 3861m4trace:configure.ac:17: -1- _AM_PROG_TAR([v7]) 3862m4trace:configure.ac:17: -1- m4_pattern_allow([^AMTAR$]) 3863m4trace:configure.ac:17: -1- m4_pattern_allow([^am__tar$]) 3864m4trace:configure.ac:17: -1- m4_pattern_allow([^am__untar$]) 3865m4trace:configure.ac:17: -1- _AM_IF_OPTION([no-dependencies], [], [AC_PROVIDE_IFELSE([AC_PROG_CC], 3866 [_AM_DEPENDENCIES([CC])], 3867 [m4_define([AC_PROG_CC], 3868 m4_defn([AC_PROG_CC])[_AM_DEPENDENCIES([CC])])])dnl 3869AC_PROVIDE_IFELSE([AC_PROG_CXX], 3870 [_AM_DEPENDENCIES([CXX])], 3871 [m4_define([AC_PROG_CXX], 3872 m4_defn([AC_PROG_CXX])[_AM_DEPENDENCIES([CXX])])])dnl 3873AC_PROVIDE_IFELSE([AC_PROG_OBJC], 3874 [_AM_DEPENDENCIES([OBJC])], 3875 [m4_define([AC_PROG_OBJC], 3876 m4_defn([AC_PROG_OBJC])[_AM_DEPENDENCIES([OBJC])])])dnl 3877AC_PROVIDE_IFELSE([AC_PROG_OBJCXX], 3878 [_AM_DEPENDENCIES([OBJCXX])], 3879 [m4_define([AC_PROG_OBJCXX], 3880 m4_defn([AC_PROG_OBJCXX])[_AM_DEPENDENCIES([OBJCXX])])])dnl 3881]) 3882m4trace:configure.ac:17: -2- _AM_MANGLE_OPTION([no-dependencies]) 3883m4trace:configure.ac:17: -1- AM_SILENT_RULES 3884m4trace:configure.ac:17: -1- m4_pattern_allow([^AM_V$]) 3885m4trace:configure.ac:17: -1- AM_SUBST_NOTMAKE([AM_V]) 3886m4trace:configure.ac:17: -1- _AM_SUBST_NOTMAKE([AM_V]) 3887m4trace:configure.ac:17: -1- m4_pattern_allow([^AM_DEFAULT_V$]) 3888m4trace:configure.ac:17: -1- AM_SUBST_NOTMAKE([AM_DEFAULT_V]) 3889m4trace:configure.ac:17: -1- _AM_SUBST_NOTMAKE([AM_DEFAULT_V]) 3890m4trace:configure.ac:17: -1- m4_pattern_allow([^AM_DEFAULT_VERBOSITY$]) 3891m4trace:configure.ac:17: -1- m4_pattern_allow([^AM_BACKSLASH$]) 3892m4trace:configure.ac:17: -1- _AM_SUBST_NOTMAKE([AM_BACKSLASH]) 3893m4trace:configure.ac:18: -1- AM_SILENT_RULES([yes]) 3894m4trace:configure.ac:18: -1- m4_pattern_allow([^AM_V$]) 3895m4trace:configure.ac:18: -1- AM_SUBST_NOTMAKE([AM_V]) 3896m4trace:configure.ac:18: -1- _AM_SUBST_NOTMAKE([AM_V]) 3897m4trace:configure.ac:18: -1- m4_pattern_allow([^AM_DEFAULT_V$]) 3898m4trace:configure.ac:18: -1- AM_SUBST_NOTMAKE([AM_DEFAULT_V]) 3899m4trace:configure.ac:18: -1- _AM_SUBST_NOTMAKE([AM_DEFAULT_V]) 3900m4trace:configure.ac:18: -1- m4_pattern_allow([^AM_DEFAULT_VERBOSITY$]) 3901m4trace:configure.ac:18: -1- m4_pattern_allow([^AM_BACKSLASH$]) 3902m4trace:configure.ac:18: -1- _AM_SUBST_NOTMAKE([AM_BACKSLASH]) 3903m4trace:configure.ac:19: -1- AM_PROG_AR 3904m4trace:configure.ac:19: -1- m4_pattern_allow([^AR$]) 3905m4trace:configure.ac:19: -1- m4_pattern_allow([^ac_ct_AR$]) 3906m4trace:configure.ac:19: -1- m4_pattern_allow([^CC$]) 3907m4trace:configure.ac:19: -1- m4_pattern_allow([^CFLAGS$]) 3908m4trace:configure.ac:19: -1- m4_pattern_allow([^LDFLAGS$]) 3909m4trace:configure.ac:19: -1- m4_pattern_allow([^LIBS$]) 3910m4trace:configure.ac:19: -1- m4_pattern_allow([^CPPFLAGS$]) 3911m4trace:configure.ac:19: -1- m4_pattern_allow([^CC$]) 3912m4trace:configure.ac:19: -1- m4_pattern_allow([^CC$]) 3913m4trace:configure.ac:19: -1- m4_pattern_allow([^CC$]) 3914m4trace:configure.ac:19: -1- m4_pattern_allow([^CC$]) 3915m4trace:configure.ac:19: -1- m4_pattern_allow([^ac_ct_CC$]) 3916m4trace:configure.ac:19: -1- m4_pattern_allow([^EXEEXT$]) 3917m4trace:configure.ac:19: -1- m4_pattern_allow([^OBJEXT$]) 3918m4trace:configure.ac:19: -1- _AM_PROG_CC_C_O 3919m4trace:configure.ac:19: -1- AM_RUN_LOG([$CC -c conftest.$ac_ext -o conftest2.$ac_objext]) 3920m4trace:configure.ac:19: -1- _AM_DEPENDENCIES([CC]) 3921m4trace:configure.ac:19: -1- AM_SET_DEPDIR 3922m4trace:configure.ac:19: -1- m4_pattern_allow([^DEPDIR$]) 3923m4trace:configure.ac:19: -1- AM_OUTPUT_DEPENDENCY_COMMANDS 3924m4trace:configure.ac:19: -1- AM_MAKE_INCLUDE 3925m4trace:configure.ac:19: -1- AM_RUN_LOG([${MAKE-make} -f confmf.$s && cat confinc.out]) 3926m4trace:configure.ac:19: -1- m4_pattern_allow([^am__include$]) 3927m4trace:configure.ac:19: -1- AM_DEP_TRACK 3928m4trace:configure.ac:19: -1- AM_CONDITIONAL([AMDEP], [test "x$enable_dependency_tracking" != xno]) 3929m4trace:configure.ac:19: -1- m4_pattern_allow([^AMDEP_TRUE$]) 3930m4trace:configure.ac:19: -1- m4_pattern_allow([^AMDEP_FALSE$]) 3931m4trace:configure.ac:19: -1- _AM_SUBST_NOTMAKE([AMDEP_TRUE]) 3932m4trace:configure.ac:19: -1- _AM_SUBST_NOTMAKE([AMDEP_FALSE]) 3933m4trace:configure.ac:19: -1- m4_pattern_allow([^AMDEPBACKSLASH$]) 3934m4trace:configure.ac:19: -1- _AM_SUBST_NOTMAKE([AMDEPBACKSLASH]) 3935m4trace:configure.ac:19: -1- m4_pattern_allow([^am__nodep$]) 3936m4trace:configure.ac:19: -1- _AM_SUBST_NOTMAKE([am__nodep]) 3937m4trace:configure.ac:19: -1- m4_pattern_allow([^CCDEPMODE$]) 3938m4trace:configure.ac:19: -1- AM_CONDITIONAL([am__fastdepCC], [ 3939 test "x$enable_dependency_tracking" != xno \ 3940 && test "$am_cv_CC_dependencies_compiler_type" = gcc3]) 3941m4trace:configure.ac:19: -1- m4_pattern_allow([^am__fastdepCC_TRUE$]) 3942m4trace:configure.ac:19: -1- m4_pattern_allow([^am__fastdepCC_FALSE$]) 3943m4trace:configure.ac:19: -1- _AM_SUBST_NOTMAKE([am__fastdepCC_TRUE]) 3944m4trace:configure.ac:19: -1- _AM_SUBST_NOTMAKE([am__fastdepCC_FALSE]) 3945m4trace:configure.ac:19: -1- m4_pattern_allow([^AR$]) 3946m4trace:configure.ac:21: -1- AX_PREFIX_CONFIG_H([include/libsemigroups-config.hpp], [], [config/config.h]) 3947m4trace:configure.ac:23: -1- m4_pattern_allow([^CXX$]) 3948m4trace:configure.ac:23: -1- m4_pattern_allow([^CXXFLAGS$]) 3949m4trace:configure.ac:23: -1- m4_pattern_allow([^LDFLAGS$]) 3950m4trace:configure.ac:23: -1- m4_pattern_allow([^LIBS$]) 3951m4trace:configure.ac:23: -1- m4_pattern_allow([^CPPFLAGS$]) 3952m4trace:configure.ac:23: -1- m4_pattern_allow([^CXX$]) 3953m4trace:configure.ac:23: -1- m4_pattern_allow([^ac_ct_CXX$]) 3954m4trace:configure.ac:23: -1- _AM_DEPENDENCIES([CXX]) 3955m4trace:configure.ac:23: -1- m4_pattern_allow([^CXXDEPMODE$]) 3956m4trace:configure.ac:23: -1- AM_CONDITIONAL([am__fastdepCXX], [ 3957 test "x$enable_dependency_tracking" != xno \ 3958 && test "$am_cv_CXX_dependencies_compiler_type" = gcc3]) 3959m4trace:configure.ac:23: -1- m4_pattern_allow([^am__fastdepCXX_TRUE$]) 3960m4trace:configure.ac:23: -1- m4_pattern_allow([^am__fastdepCXX_FALSE$]) 3961m4trace:configure.ac:23: -1- _AM_SUBST_NOTMAKE([am__fastdepCXX_TRUE]) 3962m4trace:configure.ac:23: -1- _AM_SUBST_NOTMAKE([am__fastdepCXX_FALSE]) 3963m4trace:configure.ac:25: -1- AX_CXX_COMPILE_STDCXX_11([], [mandatory]) 3964m4trace:configure.ac:25: -1- AX_CXX_COMPILE_STDCXX([11], [], [mandatory]) 3965m4trace:configure.ac:25: -1- m4_pattern_allow([^HAVE_CXX11$]) 3966m4trace:configure.ac:25: -1- m4_pattern_allow([^HAVE_CXX11$]) 3967m4trace:configure.ac:28: -1- AX_PTHREAD([], [AC_MSG_ERROR([pthread is required])]) 3968m4trace:configure.ac:28: -1- m4_pattern_allow([^build$]) 3969m4trace:configure.ac:28: -1- m4_pattern_allow([^build_cpu$]) 3970m4trace:configure.ac:28: -1- m4_pattern_allow([^build_vendor$]) 3971m4trace:configure.ac:28: -1- m4_pattern_allow([^build_os$]) 3972m4trace:configure.ac:28: -1- m4_pattern_allow([^host$]) 3973m4trace:configure.ac:28: -1- m4_pattern_allow([^host_cpu$]) 3974m4trace:configure.ac:28: -1- m4_pattern_allow([^host_vendor$]) 3975m4trace:configure.ac:28: -1- m4_pattern_allow([^host_os$]) 3976m4trace:configure.ac:28: -1- m4_pattern_allow([^SED$]) 3977m4trace:configure.ac:28: -1- m4_pattern_allow([^CPP$]) 3978m4trace:configure.ac:28: -1- m4_pattern_allow([^CPPFLAGS$]) 3979m4trace:configure.ac:28: -1- m4_pattern_allow([^CPP$]) 3980m4trace:configure.ac:28: -1- AC_PROG_EGREP 3981m4trace:configure.ac:28: -1- m4_pattern_allow([^GREP$]) 3982m4trace:configure.ac:28: -1- m4_pattern_allow([^EGREP$]) 3983m4trace:configure.ac:28: -1- m4_pattern_allow([^ax_pthread_config$]) 3984m4trace:configure.ac:28: -1- m4_pattern_allow([^PTHREAD_CREATE_JOINABLE$]) 3985m4trace:configure.ac:28: -1- m4_pattern_allow([^HAVE_PTHREAD_PRIO_INHERIT$]) 3986m4trace:configure.ac:28: -1- m4_pattern_allow([^PTHREAD_CC$]) 3987m4trace:configure.ac:28: -1- m4_pattern_allow([^PTHREAD_LIBS$]) 3988m4trace:configure.ac:28: -1- m4_pattern_allow([^PTHREAD_CFLAGS$]) 3989m4trace:configure.ac:28: -1- m4_pattern_allow([^PTHREAD_CC$]) 3990m4trace:configure.ac:28: -1- m4_pattern_allow([^HAVE_PTHREAD$]) 3991m4trace:configure.ac:29: -1- m4_pattern_allow([^HAVE_LIBPTHREAD$]) 3992m4trace:configure.ac:31: -1- AM_MAINTAINER_MODE 3993m4trace:configure.ac:31: -1- AM_CONDITIONAL([MAINTAINER_MODE], [test $USE_MAINTAINER_MODE = yes]) 3994m4trace:configure.ac:31: -1- m4_pattern_allow([^MAINTAINER_MODE_TRUE$]) 3995m4trace:configure.ac:31: -1- m4_pattern_allow([^MAINTAINER_MODE_FALSE$]) 3996m4trace:configure.ac:31: -1- _AM_SUBST_NOTMAKE([MAINTAINER_MODE_TRUE]) 3997m4trace:configure.ac:31: -1- _AM_SUBST_NOTMAKE([MAINTAINER_MODE_FALSE]) 3998m4trace:configure.ac:31: -1- m4_pattern_allow([^MAINT$]) 3999m4trace:configure.ac:33: -1- m4_pattern_allow([^ac_aux_dir$]) 4000m4trace:configure.ac:38: -1- m4_pattern_allow([^LN_S$]) 4001m4trace:configure.ac:39: -1- AC_PROG_LIBTOOL 4002m4trace:configure.ac:39: -1- _m4_warn([obsolete], [The macro `AC_PROG_LIBTOOL' is obsolete. 4003You should run autoupdate.], [m4/libtool.m4:99: AC_PROG_LIBTOOL is expanded from... 4004configure.ac:39: the top level]) 4005m4trace:configure.ac:39: -1- LT_INIT 4006m4trace:configure.ac:39: -1- m4_pattern_forbid([^_?LT_[A-Z_]+$]) 4007m4trace:configure.ac:39: -1- m4_pattern_allow([^(_LT_EOF|LT_DLGLOBAL|LT_DLLAZY_OR_NOW|LT_MULTI_MODULE)$]) 4008m4trace:configure.ac:39: -1- LTOPTIONS_VERSION 4009m4trace:configure.ac:39: -1- LTSUGAR_VERSION 4010m4trace:configure.ac:39: -1- LTVERSION_VERSION 4011m4trace:configure.ac:39: -1- LTOBSOLETE_VERSION 4012m4trace:configure.ac:39: -1- _LT_PROG_LTMAIN 4013m4trace:configure.ac:39: -1- m4_pattern_allow([^LIBTOOL$]) 4014m4trace:configure.ac:39: -1- _LT_PREPARE_SED_QUOTE_VARS 4015m4trace:configure.ac:39: -1- _LT_PROG_ECHO_BACKSLASH 4016m4trace:configure.ac:39: -1- LT_PATH_LD 4017m4trace:configure.ac:39: -1- m4_pattern_allow([^SED$]) 4018m4trace:configure.ac:39: -1- m4_pattern_allow([^FGREP$]) 4019m4trace:configure.ac:39: -1- m4_pattern_allow([^GREP$]) 4020m4trace:configure.ac:39: -1- m4_pattern_allow([^LD$]) 4021m4trace:configure.ac:39: -1- LT_PATH_NM 4022m4trace:configure.ac:39: -1- m4_pattern_allow([^DUMPBIN$]) 4023m4trace:configure.ac:39: -1- m4_pattern_allow([^ac_ct_DUMPBIN$]) 4024m4trace:configure.ac:39: -1- m4_pattern_allow([^DUMPBIN$]) 4025m4trace:configure.ac:39: -1- m4_pattern_allow([^NM$]) 4026m4trace:configure.ac:39: -1- LT_CMD_MAX_LEN 4027m4trace:configure.ac:39: -1- m4_pattern_allow([^OBJDUMP$]) 4028m4trace:configure.ac:39: -1- m4_pattern_allow([^OBJDUMP$]) 4029m4trace:configure.ac:39: -1- m4_pattern_allow([^DLLTOOL$]) 4030m4trace:configure.ac:39: -1- m4_pattern_allow([^DLLTOOL$]) 4031m4trace:configure.ac:39: -1- m4_pattern_allow([^AR$]) 4032m4trace:configure.ac:39: -1- m4_pattern_allow([^ac_ct_AR$]) 4033m4trace:configure.ac:39: -1- m4_pattern_allow([^STRIP$]) 4034m4trace:configure.ac:39: -1- m4_pattern_allow([^RANLIB$]) 4035m4trace:configure.ac:39: -1- _LT_WITH_SYSROOT 4036m4trace:configure.ac:39: -1- m4_pattern_allow([LT_OBJDIR]) 4037m4trace:configure.ac:39: -1- m4_pattern_allow([^LT_OBJDIR$]) 4038m4trace:configure.ac:39: -1- _LT_CC_BASENAME([$compiler]) 4039m4trace:configure.ac:39: -1- _LT_PATH_TOOL_PREFIX([${ac_tool_prefix}file], [/usr/bin$PATH_SEPARATOR$PATH]) 4040m4trace:configure.ac:39: -1- _LT_PATH_TOOL_PREFIX([file], [/usr/bin$PATH_SEPARATOR$PATH]) 4041m4trace:configure.ac:39: -1- LT_SUPPORTED_TAG([CC]) 4042m4trace:configure.ac:39: -1- _LT_COMPILER_BOILERPLATE 4043m4trace:configure.ac:39: -1- _LT_LINKER_BOILERPLATE 4044m4trace:configure.ac:39: -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"]) 4045m4trace:configure.ac:39: -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 4046 "" | " "*) ;; 4047 *) _LT_TAGVAR(lt_prog_compiler_pic, )=" $_LT_TAGVAR(lt_prog_compiler_pic, )" ;; 4048 esac], [_LT_TAGVAR(lt_prog_compiler_pic, )= 4049 _LT_TAGVAR(lt_prog_compiler_can_build_shared, )=no]) 4050m4trace:configure.ac:39: -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, )=]) 4051m4trace:configure.ac:39: -1- m4_pattern_allow([^MANIFEST_TOOL$]) 4052m4trace:configure.ac:39: -1- _LT_DLL_DEF_P([$export_symbols]) 4053m4trace:configure.ac:39: -1- _LT_DLL_DEF_P([$export_symbols]) 4054m4trace:configure.ac:39: -1- _LT_REQUIRED_DARWIN_CHECKS 4055m4trace:configure.ac:39: -1- m4_pattern_allow([^DSYMUTIL$]) 4056m4trace:configure.ac:39: -1- m4_pattern_allow([^NMEDIT$]) 4057m4trace:configure.ac:39: -1- m4_pattern_allow([^LIPO$]) 4058m4trace:configure.ac:39: -1- m4_pattern_allow([^OTOOL$]) 4059m4trace:configure.ac:39: -1- m4_pattern_allow([^OTOOL64$]) 4060m4trace:configure.ac:39: -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']) 4061m4trace:configure.ac:39: -1- m4_pattern_allow([^LT_SYS_LIBRARY_PATH$]) 4062m4trace:configure.ac:39: -1- LT_SYS_DLOPEN_SELF 4063m4trace:configure.ac:39: -1- m4_pattern_allow([^STDC_HEADERS$]) 4064m4trace:configure.ac:39: -1- m4_pattern_allow([^HAVE_DLFCN_H$]) 4065m4trace:configure.ac:39: -1- LT_LANG([CXX]) 4066m4trace:configure.ac:39: -1- LT_SUPPORTED_TAG([CXX]) 4067m4trace:configure.ac:39: -1- m4_pattern_allow([^CXXCPP$]) 4068m4trace:configure.ac:39: -1- m4_pattern_allow([^CPPFLAGS$]) 4069m4trace:configure.ac:39: -1- m4_pattern_allow([^CXXCPP$]) 4070m4trace:configure.ac:39: -1- _LT_COMPILER_BOILERPLATE 4071m4trace:configure.ac:39: -1- _LT_LINKER_BOILERPLATE 4072m4trace:configure.ac:39: -1- _LT_CC_BASENAME([$compiler]) 4073m4trace:configure.ac:39: -1- LT_PATH_LD 4074m4trace:configure.ac:39: -1- m4_pattern_allow([^LD$]) 4075m4trace:configure.ac:39: -1- _LT_DLL_DEF_P([$export_symbols]) 4076m4trace:configure.ac:39: -1- _LT_DLL_DEF_P([$export_symbols]) 4077m4trace:configure.ac:39: -1- _LT_COMPILER_OPTION([if $compiler PIC flag $_LT_TAGVAR(lt_prog_compiler_pic, CXX) works], [_LT_TAGVAR(lt_cv_prog_compiler_pic_works, CXX)], [$_LT_TAGVAR(lt_prog_compiler_pic, CXX)@&t@m4_if([CXX],[],[ -DPIC],[m4_if([CXX],[CXX],[ -DPIC],[])])], [], [case $_LT_TAGVAR(lt_prog_compiler_pic, CXX) in 4078 "" | " "*) ;; 4079 *) _LT_TAGVAR(lt_prog_compiler_pic, CXX)=" $_LT_TAGVAR(lt_prog_compiler_pic, CXX)" ;; 4080 esac], [_LT_TAGVAR(lt_prog_compiler_pic, CXX)= 4081 _LT_TAGVAR(lt_prog_compiler_can_build_shared, CXX)=no]) 4082m4trace:configure.ac:39: -1- _LT_LINKER_OPTION([if $compiler static flag $lt_tmp_static_flag works], [lt_cv_prog_compiler_static_works_CXX], [$lt_tmp_static_flag], [], [_LT_TAGVAR(lt_prog_compiler_static, CXX)=]) 4083m4trace:configure.ac:39: -1- m4_pattern_allow([^LT_SYS_LIBRARY_PATH$]) 4084m4trace:configure.ac:45: -1- m4_pattern_allow([^HAVE__BOOL$]) 4085m4trace:configure.ac:47: -1- m4_pattern_allow([^int64_t$]) 4086m4trace:configure.ac:48: -1- m4_pattern_allow([^size_t$]) 4087m4trace:configure.ac:49: -1- m4_pattern_allow([^_UINT64_T$]) 4088m4trace:configure.ac:49: -1- m4_pattern_allow([^uint64_t$]) 4089m4trace:configure.ac:50: -1- m4_pattern_allow([^HAVE_PTRDIFF_T$]) 4090m4trace:configure.ac:51: -1- m4_pattern_allow([^SIZEOF_VOID_P$]) 4091m4trace:configure.ac:54: -1- m4_pattern_allow([^HAVE_STDLIB_H$]) 4092m4trace:configure.ac:54: -1- m4_pattern_allow([^HAVE_MALLOC$]) 4093m4trace:configure.ac:54: -1- m4_pattern_allow([^HAVE_MALLOC$]) 4094m4trace:configure.ac:54: -1- m4_pattern_allow([^LIB@&t@OBJS$]) 4095m4trace:configure.ac:54: -1- m4_pattern_allow([^malloc$]) 4096m4trace:configure.ac:62: -1- m4_pattern_allow([^DEBUG$]) 4097m4trace:configure.ac:66: -1- AM_CONDITIONAL([LIBSEMIGROUPS_DEBUG], [test "x$enable_debug" = xyes]) 4098m4trace:configure.ac:66: -1- m4_pattern_allow([^LIBSEMIGROUPS_DEBUG_TRUE$]) 4099m4trace:configure.ac:66: -1- m4_pattern_allow([^LIBSEMIGROUPS_DEBUG_FALSE$]) 4100m4trace:configure.ac:66: -1- _AM_SUBST_NOTMAKE([LIBSEMIGROUPS_DEBUG_TRUE]) 4101m4trace:configure.ac:66: -1- _AM_SUBST_NOTMAKE([LIBSEMIGROUPS_DEBUG_FALSE]) 4102m4trace:configure.ac:72: -1- m4_pattern_allow([^VERBOSE$]) 4103m4trace:configure.ac:112: -1- AX_COMPILER_FLAGS_CXXFLAGS([WARNING_CXXFLAGS], [], [ dnl 4104 -pedantic dnl 4105 -Wold-style-cast]) 4106m4trace:configure.ac:112: -1- AX_REQUIRE_DEFINED([AX_APPEND_COMPILE_FLAGS]) 4107m4trace:configure.ac:112: -1- AX_REQUIRE_DEFINED([AX_APPEND_FLAG]) 4108m4trace:configure.ac:112: -1- AX_REQUIRE_DEFINED([AX_CHECK_COMPILE_FLAG]) 4109m4trace:configure.ac:112: -1- AX_CHECK_COMPILE_FLAG([-Werror=unknown-warning-option], [ 4110 ax_compiler_flags_test="-Werror=unknown-warning-option" 4111 ], [ 4112 ax_compiler_flags_test="" 4113 ]) 4114m4trace:configure.ac:112: -1- AX_CHECK_COMPILE_FLAG([-Wno-suggest-attribute=format], [ 4115 ax_compiler_no_suggest_attribute_flags="-Wno-suggest-attribute=format" 4116 ], [ 4117 ax_compiler_no_suggest_attribute_flags="" 4118 ]) 4119m4trace:configure.ac:112: -1- AX_APPEND_COMPILE_FLAGS([ dnl 4120 -fno-strict-aliasing dnl 4121 dnl 4122 -pedantic dnl 4123 -Wold-style-cast dnl 4124 ], [WARNING_CXXFLAGS], [$ax_compiler_flags_test]) 4125m4trace:configure.ac:112: -1- AX_REQUIRE_DEFINED([AX_CHECK_COMPILE_FLAG]) 4126m4trace:configure.ac:112: -1- AX_REQUIRE_DEFINED([AX_APPEND_FLAG]) 4127m4trace:configure.ac:112: -1- AX_CHECK_COMPILE_FLAG([$flag], [AX_APPEND_FLAG([$flag], [WARNING_CXXFLAGS])], [], [$ax_compiler_flags_test], []) 4128m4trace:configure.ac:112: -1- AX_APPEND_FLAG([$flag], [WARNING_CXXFLAGS]) 4129m4trace:configure.ac:112: -1- AX_APPEND_COMPILE_FLAGS([ dnl 4130 -Wall dnl 4131 -Wextra dnl 4132 -Wundef dnl 4133 -Wwrite-strings dnl 4134 -Wpointer-arith dnl 4135 -Wmissing-declarations dnl 4136 -Wredundant-decls dnl 4137 -Wno-unused-parameter dnl 4138 -Wno-missing-field-initializers dnl 4139 -Wformat=2 dnl 4140 -Wcast-align dnl 4141 -Wformat-nonliteral dnl 4142 -Wformat-security dnl 4143 -Wsign-compare dnl 4144 -Wstrict-aliasing dnl 4145 -Wshadow dnl 4146 -Winline dnl 4147 -Wpacked dnl 4148 -Wmissing-format-attribute dnl 4149 -Wmissing-noreturn dnl 4150 -Winit-self dnl 4151 -Wredundant-decls dnl 4152 -Wmissing-include-dirs dnl 4153 -Wunused-but-set-variable dnl 4154 -Warray-bounds dnl 4155 -Wreturn-type dnl 4156 -Wno-overloaded-virtual dnl 4157 -Wswitch-enum dnl 4158 -Wswitch-default dnl 4159 dnl 4160 dnl 4161 dnl 4162 dnl 4163 ], [WARNING_CXXFLAGS], [$ax_compiler_flags_test]) 4164m4trace:configure.ac:112: -1- AX_REQUIRE_DEFINED([AX_CHECK_COMPILE_FLAG]) 4165m4trace:configure.ac:112: -1- AX_REQUIRE_DEFINED([AX_APPEND_FLAG]) 4166m4trace:configure.ac:112: -1- AX_CHECK_COMPILE_FLAG([$flag], [AX_APPEND_FLAG([$flag], [WARNING_CXXFLAGS])], [], [$ax_compiler_flags_test], []) 4167m4trace:configure.ac:112: -1- AX_APPEND_FLAG([$flag], [WARNING_CXXFLAGS]) 4168m4trace:configure.ac:112: -1- AX_APPEND_FLAG([-Werror], [WARNING_CXXFLAGS]) 4169m4trace:configure.ac:112: -1- AX_APPEND_COMPILE_FLAGS([ dnl 4170 [$ax_compiler_no_suggest_attribute_flags] dnl 4171 ], [WARNING_CXXFLAGS], [$ax_compiler_flags_test]) 4172m4trace:configure.ac:112: -1- AX_REQUIRE_DEFINED([AX_CHECK_COMPILE_FLAG]) 4173m4trace:configure.ac:112: -1- AX_REQUIRE_DEFINED([AX_APPEND_FLAG]) 4174m4trace:configure.ac:112: -1- AX_CHECK_COMPILE_FLAG([$flag], [AX_APPEND_FLAG([$flag], [WARNING_CXXFLAGS])], [], [$ax_compiler_flags_test], []) 4175m4trace:configure.ac:112: -1- AX_APPEND_FLAG([$flag], [WARNING_CXXFLAGS]) 4176m4trace:configure.ac:112: -1- AX_APPEND_COMPILE_FLAGS([-Wno-error=$(AS_ECHO([$flag]) | $SED 's/^-Wno-//')], [WARNING_CXXFLAGS], [$ax_compiler_flags_test]) 4177m4trace:configure.ac:112: -1- AX_REQUIRE_DEFINED([AX_CHECK_COMPILE_FLAG]) 4178m4trace:configure.ac:112: -1- AX_REQUIRE_DEFINED([AX_APPEND_FLAG]) 4179m4trace:configure.ac:112: -1- AX_CHECK_COMPILE_FLAG([$flag], [AX_APPEND_FLAG([$flag], [WARNING_CXXFLAGS])], [], [$ax_compiler_flags_test], []) 4180m4trace:configure.ac:112: -1- AX_APPEND_FLAG([$flag], [WARNING_CXXFLAGS]) 4181m4trace:configure.ac:112: -1- m4_pattern_allow([^WARNING_CXXFLAGS$]) 4182m4trace:configure.ac:112: -1- m4_pattern_allow([^WARNING_CXXFLAGS$]) 4183m4trace:configure.ac:116: -1- AX_CODE_COVERAGE([]) 4184m4trace:configure.ac:116: -1- AM_CONDITIONAL([CODE_COVERAGE_ENABLED], [test x$enable_code_coverage = xyes]) 4185m4trace:configure.ac:116: -1- m4_pattern_allow([^CODE_COVERAGE_ENABLED_TRUE$]) 4186m4trace:configure.ac:116: -1- m4_pattern_allow([^CODE_COVERAGE_ENABLED_FALSE$]) 4187m4trace:configure.ac:116: -1- _AM_SUBST_NOTMAKE([CODE_COVERAGE_ENABLED_TRUE]) 4188m4trace:configure.ac:116: -1- _AM_SUBST_NOTMAKE([CODE_COVERAGE_ENABLED_FALSE]) 4189m4trace:configure.ac:116: -1- m4_pattern_allow([^CODE_COVERAGE_ENABLED$]) 4190m4trace:configure.ac:116: -1- m4_pattern_allow([^GCOV$]) 4191m4trace:configure.ac:116: -1- m4_pattern_allow([^GCOV$]) 4192m4trace:configure.ac:116: -1- m4_pattern_allow([^LCOV$]) 4193m4trace:configure.ac:116: -1- m4_pattern_allow([^GENHTML$]) 4194m4trace:configure.ac:116: -1- m4_pattern_allow([^CODE_COVERAGE_CPPFLAGS$]) 4195m4trace:configure.ac:116: -1- m4_pattern_allow([^CODE_COVERAGE_CFLAGS$]) 4196m4trace:configure.ac:116: -1- m4_pattern_allow([^CODE_COVERAGE_CXXFLAGS$]) 4197m4trace:configure.ac:116: -1- m4_pattern_allow([^CODE_COVERAGE_LIBS$]) 4198m4trace:configure.ac:116: -1- m4_pattern_allow([^CODE_COVERAGE_LDFLAGS$]) 4199m4trace:configure.ac:116: -1- m4_pattern_allow([^CODE_COVERAGE_RULES$]) 4200m4trace:configure.ac:116: -1- _AM_SUBST_NOTMAKE([CODE_COVERAGE_RULES]) 4201m4trace:configure.ac:119: -1- AX_CHECK_HPCOMBI([]) 4202m4trace:configure.ac:119: -1- _m4_warn([cross], [cannot check for file existence when cross compiling], [../../lib/autoconf/general.m4:2791: AC_CHECK_FILE is expanded from... 4203../../lib/m4sugar/m4sh.m4:643: AS_IF is expanded from... 4204m4/ax_check_hpcombi.m4:114: AX_CHECK_HPCOMBI is expanded from... 4205configure.ac:119: the top level]) 4206m4trace:configure.ac:119: -1- AX_COMPARE_VERSION([$FOUND_HPCOMBI], [ge], [$REQUIRED_HPCOMBI], [], [AC_MSG_WARN([the incorrect version of HPCombi is present, HPCombi is disabled]) 4207 enable_hpcombi=no]) 4208m4trace:configure.ac:119: -2- AX_APPEND_FLAG([-march=native]) 4209m4trace:configure.ac:119: -1- AX_CHECK_COMPILE_FLAG([-march=native], [ 4210if ${CXXFLAGS+:} false; then : 4211 4212 case " $CXXFLAGS " in @%:@( 4213 *" -march=native "*) : 4214 { { $as_echo "$as_me:${as_lineno-$LINENO}: : CXXFLAGS already contains -march=native"; } >&5 4215 (: CXXFLAGS already contains -march=native) 2>&5 4216 ac_status=$? 4217 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 4218 test $ac_status = 0; } ;; @%:@( 4219 *) : 4220 4221 as_fn_append CXXFLAGS " -march=native" 4222 { { $as_echo "$as_me:${as_lineno-$LINENO}: : CXXFLAGS=\"\$CXXFLAGS\""; } >&5 4223 (: CXXFLAGS="$CXXFLAGS") 2>&5 4224 ac_status=$? 4225 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 4226 test $ac_status = 0; } 4227 ;; 4228esac 4229 4230else 4231 4232 CXXFLAGS=-march=native 4233 { { $as_echo "$as_me:${as_lineno-$LINENO}: : CXXFLAGS=\"\$CXXFLAGS\""; } >&5 4234 (: CXXFLAGS="$CXXFLAGS") 2>&5 4235 ac_status=$? 4236 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 4237 test $ac_status = 0; } 4238 4239fi 4240], [AC_MSG_WARN([flag -march=native not supported, HPCombi is disabled]) 4241 enable_hpcombi=no]) 4242m4trace:configure.ac:119: -2- AX_APPEND_FLAG([-flax-vector-conversions]) 4243m4trace:configure.ac:119: -1- AX_CHECK_COMPILE_FLAG([-flax-vector-conversions], [ 4244if ${CXXFLAGS+:} false; then : 4245 4246 case " $CXXFLAGS " in @%:@( 4247 *" -flax-vector-conversions "*) : 4248 { { $as_echo "$as_me:${as_lineno-$LINENO}: : CXXFLAGS already contains -flax-vector-conversions"; } >&5 4249 (: CXXFLAGS already contains -flax-vector-conversions) 2>&5 4250 ac_status=$? 4251 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 4252 test $ac_status = 0; } ;; @%:@( 4253 *) : 4254 4255 as_fn_append CXXFLAGS " -flax-vector-conversions" 4256 { { $as_echo "$as_me:${as_lineno-$LINENO}: : CXXFLAGS=\"\$CXXFLAGS\""; } >&5 4257 (: CXXFLAGS="$CXXFLAGS") 2>&5 4258 ac_status=$? 4259 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 4260 test $ac_status = 0; } 4261 ;; 4262esac 4263 4264else 4265 4266 CXXFLAGS=-flax-vector-conversions 4267 { { $as_echo "$as_me:${as_lineno-$LINENO}: : CXXFLAGS=\"\$CXXFLAGS\""; } >&5 4268 (: CXXFLAGS="$CXXFLAGS") 2>&5 4269 ac_status=$? 4270 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 4271 test $ac_status = 0; } 4272 4273fi 4274], [AC_MSG_WARN([flag -flax-vector-conversions not supported, HPCombi is disabled]) 4275 enable_hpcombi=no]) 4276m4trace:configure.ac:119: -1- m4_pattern_allow([^HAVE_X86INTRIN_H$]) 4277m4trace:configure.ac:119: -1- CHECK_COMPILER_BUILTIN([_mm_blendv_epi8], [__m128i{},__m128i{},__m128i{}]) 4278m4trace:configure.ac:119: -1- CHECK_COMPILER_BUILTIN([_mm_cmpeq_epi8], [__m128i{},__m128i{}]) 4279m4trace:configure.ac:119: -1- CHECK_COMPILER_BUILTIN([_mm_cmpestri], [__m128i{},1,__m128i{},1,1]) 4280m4trace:configure.ac:119: -1- CHECK_COMPILER_BUILTIN([_mm_cmpestrm], [__m128i{},1,__m128i{},1,1]) 4281m4trace:configure.ac:119: -1- CHECK_COMPILER_BUILTIN([_mm_cmplt_epi8], [__m128i{},__m128i{}]) 4282m4trace:configure.ac:119: -1- CHECK_COMPILER_BUILTIN([_mm_extract_epi64], [__m128i{},1]) 4283m4trace:configure.ac:119: -1- CHECK_COMPILER_BUILTIN([_mm_max_epi8], [__m128i{},__m128i{}]) 4284m4trace:configure.ac:119: -1- CHECK_COMPILER_BUILTIN([_mm_max_epu8], [__m128i{},__m128i{}]) 4285m4trace:configure.ac:119: -1- CHECK_COMPILER_BUILTIN([_mm_min_epi8], [__m128i{},__m128i{}]) 4286m4trace:configure.ac:119: -1- CHECK_COMPILER_BUILTIN([_mm_min_epu8], [__m128i{},__m128i{}]) 4287m4trace:configure.ac:119: -1- CHECK_COMPILER_BUILTIN([_mm_movemask_epi8], [__m128i{}]) 4288m4trace:configure.ac:119: -1- CHECK_COMPILER_BUILTIN([_mm_popcnt_u32], [{}]) 4289m4trace:configure.ac:119: -1- CHECK_COMPILER_BUILTIN([_mm_set_epi64x], [1,1]) 4290m4trace:configure.ac:119: -1- CHECK_COMPILER_BUILTIN([_mm_shuffle_epi8], [__m128i{},__m128i{}]) 4291m4trace:configure.ac:119: -1- CHECK_COMPILER_BUILTIN([_mm_slli_epi32], [__m128i{},1]) 4292m4trace:configure.ac:119: -1- m4_pattern_allow([^HPCOMBI$]) 4293m4trace:configure.ac:119: -1- AM_CONDITIONAL([LIBSEMIGROUPS_HPCOMBI], [test "x$enable_hpcombi" = xyes]) 4294m4trace:configure.ac:119: -1- m4_pattern_allow([^LIBSEMIGROUPS_HPCOMBI_TRUE$]) 4295m4trace:configure.ac:119: -1- m4_pattern_allow([^LIBSEMIGROUPS_HPCOMBI_FALSE$]) 4296m4trace:configure.ac:119: -1- _AM_SUBST_NOTMAKE([LIBSEMIGROUPS_HPCOMBI_TRUE]) 4297m4trace:configure.ac:119: -1- _AM_SUBST_NOTMAKE([LIBSEMIGROUPS_HPCOMBI_FALSE]) 4298m4trace:configure.ac:119: -1- AM_CONDITIONAL([HPCOMBI_CONSTEXPR_FUN_ARGS], [test "x$hpcombi_constexpr_fun_args" = xyes]) 4299m4trace:configure.ac:119: -1- m4_pattern_allow([^HPCOMBI_CONSTEXPR_FUN_ARGS_TRUE$]) 4300m4trace:configure.ac:119: -1- m4_pattern_allow([^HPCOMBI_CONSTEXPR_FUN_ARGS_FALSE$]) 4301m4trace:configure.ac:119: -1- _AM_SUBST_NOTMAKE([HPCOMBI_CONSTEXPR_FUN_ARGS_TRUE]) 4302m4trace:configure.ac:119: -1- _AM_SUBST_NOTMAKE([HPCOMBI_CONSTEXPR_FUN_ARGS_FALSE]) 4303m4trace:configure.ac:122: -1- AX_CHECK_FMT([]) 4304m4trace:configure.ac:122: -1- _m4_warn([obsolete], [The macro `AC_HELP_STRING' is obsolete. 4305You should run autoupdate.], [../../lib/autoconf/general.m4:207: AC_HELP_STRING is expanded from... 4306../../lib/autoconf/general.m4:1490: AC_ARG_WITH is expanded from... 4307m4/ax_check_fmt.m4:30: AX_CHECK_FMT is expanded from... 4308configure.ac:122: the top level]) 4309m4trace:configure.ac:122: -1- PKG_CHECK_MODULES([FMT], [fmt >= $REQUI_FMT_VERSION]) 4310m4trace:configure.ac:122: -1- PKG_PROG_PKG_CONFIG 4311m4trace:configure.ac:122: -1- m4_pattern_forbid([^_?PKG_[A-Z_]+$]) 4312m4trace:configure.ac:122: -1- m4_pattern_allow([^PKG_CONFIG(_(PATH|LIBDIR|SYSROOT_DIR|ALLOW_SYSTEM_(CFLAGS|LIBS)))?$]) 4313m4trace:configure.ac:122: -1- m4_pattern_allow([^PKG_CONFIG_(DISABLE_UNINSTALLED|TOP_BUILD_DIR|DEBUG_SPEW)$]) 4314m4trace:configure.ac:122: -1- m4_pattern_allow([^PKG_CONFIG$]) 4315m4trace:configure.ac:122: -1- m4_pattern_allow([^PKG_CONFIG_PATH$]) 4316m4trace:configure.ac:122: -1- m4_pattern_allow([^PKG_CONFIG_LIBDIR$]) 4317m4trace:configure.ac:122: -1- m4_pattern_allow([^PKG_CONFIG$]) 4318m4trace:configure.ac:122: -1- m4_pattern_allow([^FMT_CFLAGS$]) 4319m4trace:configure.ac:122: -1- m4_pattern_allow([^FMT_LIBS$]) 4320m4trace:configure.ac:122: -1- PKG_CHECK_EXISTS([fmt >= $REQUI_FMT_VERSION], [pkg_cv_[]FMT_CFLAGS=`$PKG_CONFIG --[]cflags "fmt >= $REQUI_FMT_VERSION" 2>/dev/null` 4321 test "x$?" != "x0" && pkg_failed=yes ], [pkg_failed=yes]) 4322m4trace:configure.ac:122: -1- PKG_CHECK_EXISTS([fmt >= $REQUI_FMT_VERSION], [pkg_cv_[]FMT_LIBS=`$PKG_CONFIG --[]libs "fmt >= $REQUI_FMT_VERSION" 2>/dev/null` 4323 test "x$?" != "x0" && pkg_failed=yes ], [pkg_failed=yes]) 4324m4trace:configure.ac:122: -1- _PKG_SHORT_ERRORS_SUPPORTED 4325m4trace:configure.ac:122: -1- _m4_warn([cross], [cannot check for file existence when cross compiling], [../../lib/autoconf/general.m4:2791: AC_CHECK_FILE is expanded from... 4326m4/ax_check_fmt.m4:30: AX_CHECK_FMT is expanded from... 4327configure.ac:122: the top level]) 4328m4trace:configure.ac:122: -1- m4_pattern_allow([^FMT_CFLAGS$]) 4329m4trace:configure.ac:127: -1- m4_pattern_allow([^LIB@&t@OBJS$]) 4330m4trace:configure.ac:127: -1- m4_pattern_allow([^LTLIBOBJS$]) 4331m4trace:configure.ac:127: -1- AM_CONDITIONAL([am__EXEEXT], [test -n "$EXEEXT"]) 4332m4trace:configure.ac:127: -1- m4_pattern_allow([^am__EXEEXT_TRUE$]) 4333m4trace:configure.ac:127: -1- m4_pattern_allow([^am__EXEEXT_FALSE$]) 4334m4trace:configure.ac:127: -1- _AM_SUBST_NOTMAKE([am__EXEEXT_TRUE]) 4335m4trace:configure.ac:127: -1- _AM_SUBST_NOTMAKE([am__EXEEXT_FALSE]) 4336m4trace:configure.ac:127: -1- _AC_AM_CONFIG_HEADER_HOOK(["$ac_file"]) 4337m4trace:configure.ac:127: -1- _AM_OUTPUT_DEPENDENCY_COMMANDS 4338m4trace:configure.ac:127: -1- AM_RUN_LOG([cd "$am_dirpart" \ 4339 && sed -e '/# am--include-marker/d' "$am_filepart" \ 4340 | $MAKE -f - am--depfiles]) 4341m4trace:configure.ac:127: -1- _LT_PROG_LTMAIN 4342