1m4trace:/usr/share/aclocal/gsettings.m4:6: -1- AC_DEFUN([GLIB_GSETTINGS], [ 2 m4_pattern_allow([AM_V_GEN]) 3 AC_ARG_ENABLE(schemas-compile, 4 AS_HELP_STRING([--disable-schemas-compile], 5 [Disable regeneration of gschemas.compiled on install]), 6 [case ${enableval} in 7 yes) GSETTINGS_DISABLE_SCHEMAS_COMPILE="" ;; 8 no) GSETTINGS_DISABLE_SCHEMAS_COMPILE="1" ;; 9 *) AC_MSG_ERROR([bad value ${enableval} for --enable-schemas-compile]) ;; 10 esac]) 11 AC_SUBST([GSETTINGS_DISABLE_SCHEMAS_COMPILE]) 12 PKG_PROG_PKG_CONFIG([0.16]) 13 AC_SUBST(gsettingsschemadir, [${datadir}/glib-2.0/schemas]) 14 if test x$cross_compiling != xyes; then 15 GLIB_COMPILE_SCHEMAS=`$PKG_CONFIG --variable glib_compile_schemas gio-2.0` 16 else 17 AC_PATH_PROG(GLIB_COMPILE_SCHEMAS, glib-compile-schemas) 18 fi 19 AC_SUBST(GLIB_COMPILE_SCHEMAS) 20 if test "x$GLIB_COMPILE_SCHEMAS" = "x"; then 21 ifelse([$2],,[AC_MSG_ERROR([glib-compile-schemas not found.])],[$2]) 22 else 23 ifelse([$1],,[:],[$1]) 24 fi 25 26 GSETTINGS_RULES=' 27.PHONY : uninstall-gsettings-schemas install-gsettings-schemas clean-gsettings-schemas 28 29mostlyclean-am: clean-gsettings-schemas 30 31gsettings__enum_file = $(addsuffix .enums.xml,$(gsettings_ENUM_NAMESPACE)) 32 33%.gschema.valid: %.gschema.xml $(gsettings__enum_file) 34 $(AM_V_GEN) $(GLIB_COMPILE_SCHEMAS) --strict --dry-run $(addprefix --schema-file=,$(gsettings__enum_file)) --schema-file=$< && mkdir -p [$](@D) && touch [$]@ 35 36all-am: $(gsettings_SCHEMAS:.xml=.valid) 37uninstall-am: uninstall-gsettings-schemas 38install-data-am: install-gsettings-schemas 39 40.SECONDARY: $(gsettings_SCHEMAS) 41 42install-gsettings-schemas: $(gsettings_SCHEMAS) $(gsettings__enum_file) 43 @$(NORMAL_INSTALL) 44 if test -n "$^"; then \ 45 test -z "$(gsettingsschemadir)" || $(MKDIR_P) "$(DESTDIR)$(gsettingsschemadir)"; \ 46 $(INSTALL_DATA) $^ "$(DESTDIR)$(gsettingsschemadir)"; \ 47 test -n "$(GSETTINGS_DISABLE_SCHEMAS_COMPILE)$(DESTDIR)" || $(GLIB_COMPILE_SCHEMAS) $(gsettingsschemadir); \ 48 fi 49 50uninstall-gsettings-schemas: 51 @$(NORMAL_UNINSTALL) 52 @list='\''$(gsettings_SCHEMAS) $(gsettings__enum_file)'\''; test -n "$(gsettingsschemadir)" || list=; \ 53 files=`for p in $$list; do echo $$p; done | sed -e '\''s|^.*/||'\''`; \ 54 test -n "$$files" || exit 0; \ 55 echo " ( cd '\''$(DESTDIR)$(gsettingsschemadir)'\'' && rm -f" $$files ")"; \ 56 cd "$(DESTDIR)$(gsettingsschemadir)" && rm -f $$files 57 test -n "$(GSETTINGS_DISABLE_SCHEMAS_COMPILE)$(DESTDIR)" || $(GLIB_COMPILE_SCHEMAS) $(gsettingsschemadir) 58 59clean-gsettings-schemas: 60 rm -f $(gsettings_SCHEMAS:.xml=.valid) $(gsettings__enum_file) 61 62ifdef gsettings_ENUM_NAMESPACE 63$(gsettings__enum_file): $(gsettings_ENUM_FILES) 64 $(AM_V_GEN) glib-mkenums --comments '\''<!-- @comment@ -->'\'' --fhead "<schemalist>" --vhead " <@type@ id='\''$(gsettings_ENUM_NAMESPACE).@EnumName@'\''>" --vprod " <value nick='\''@valuenick@'\'' value='\''@valuenum@'\''/>" --vtail " </@type@>" --ftail "</schemalist>" [$]^ > [$]@.tmp && mv [$]@.tmp [$]@ 65endif 66' 67 _GSETTINGS_SUBST(GSETTINGS_RULES) 68]) 69m4trace:/usr/share/aclocal/gsettings.m4:78: -1- AC_DEFUN([_GSETTINGS_SUBST], [ 70AC_SUBST([$1]) 71m4_ifdef([_AM_SUBST_NOTMAKE], [_AM_SUBST_NOTMAKE([$1])]) 72 73]) 74m4trace:/usr/share/aclocal/ltargz.m4:12: -1- AC_DEFUN([LT_FUNC_ARGZ], [ 75AC_CHECK_HEADERS([argz.h], [], [], [AC_INCLUDES_DEFAULT]) 76 77AC_CHECK_TYPES([error_t], 78 [], 79 [AC_DEFINE([error_t], [int], 80 [Define to a type to use for 'error_t' if it is not otherwise available.]) 81 AC_DEFINE([__error_t_defined], [1], [Define so that glibc/gnulib argp.h 82 does not typedef error_t.])], 83 [#if defined(HAVE_ARGZ_H) 84# include <argz.h> 85#endif]) 86 87LT_ARGZ_H= 88AC_CHECK_FUNCS([argz_add argz_append argz_count argz_create_sep argz_insert \ 89 argz_next argz_stringify], [], [LT_ARGZ_H=lt__argz.h; AC_LIBOBJ([lt__argz])]) 90 91dnl if have system argz functions, allow forced use of 92dnl libltdl-supplied implementation (and default to do so 93dnl on "known bad" systems). Could use a runtime check, but 94dnl (a) detecting malloc issues is notoriously unreliable 95dnl (b) only known system that declares argz functions, 96dnl provides them, yet they are broken, is cygwin 97dnl releases prior to 16-Mar-2007 (1.5.24 and earlier) 98dnl So, it's more straightforward simply to special case 99dnl this for known bad systems. 100AS_IF([test -z "$LT_ARGZ_H"], 101 [AC_CACHE_CHECK( 102 [if argz actually works], 103 [lt_cv_sys_argz_works], 104 [[case $host_os in #( 105 *cygwin*) 106 lt_cv_sys_argz_works=no 107 if test no != "$cross_compiling"; then 108 lt_cv_sys_argz_works="guessing no" 109 else 110 lt_sed_extract_leading_digits='s/^\([0-9\.]*\).*/\1/' 111 save_IFS=$IFS 112 IFS=-. 113 set x `uname -r | sed -e "$lt_sed_extract_leading_digits"` 114 IFS=$save_IFS 115 lt_os_major=${2-0} 116 lt_os_minor=${3-0} 117 lt_os_micro=${4-0} 118 if test 1 -lt "$lt_os_major" \ 119 || { test 1 -eq "$lt_os_major" \ 120 && { test 5 -lt "$lt_os_minor" \ 121 || { test 5 -eq "$lt_os_minor" \ 122 && test 24 -lt "$lt_os_micro"; }; }; }; then 123 lt_cv_sys_argz_works=yes 124 fi 125 fi 126 ;; #( 127 *) lt_cv_sys_argz_works=yes ;; 128 esac]]) 129 AS_IF([test yes = "$lt_cv_sys_argz_works"], 130 [AC_DEFINE([HAVE_WORKING_ARGZ], 1, 131 [This value is set to 1 to indicate that the system argz facility works])], 132 [LT_ARGZ_H=lt__argz.h 133 AC_LIBOBJ([lt__argz])])]) 134 135AC_SUBST([LT_ARGZ_H]) 136]) 137m4trace:/usr/share/aclocal/ltdl.m4:16: -1- AC_DEFUN([LT_CONFIG_LTDL_DIR], [AC_BEFORE([$0], [LTDL_INIT]) 138_$0($*) 139]) 140m4trace:/usr/share/aclocal/ltdl.m4:68: -1- AC_DEFUN([LTDL_CONVENIENCE], [AC_BEFORE([$0], [LTDL_INIT])dnl 141dnl Although the argument is deprecated and no longer documented, 142dnl LTDL_CONVENIENCE used to take a DIRECTORY orgument, if we have one 143dnl here make sure it is the same as any other declaration of libltdl's 144dnl location! This also ensures lt_ltdl_dir is set when configure.ac is 145dnl not yet using an explicit LT_CONFIG_LTDL_DIR. 146m4_ifval([$1], [_LT_CONFIG_LTDL_DIR([$1])])dnl 147_$0() 148]) 149m4trace:/usr/share/aclocal/ltdl.m4:81: -1- AU_DEFUN([AC_LIBLTDL_CONVENIENCE], [_LT_CONFIG_LTDL_DIR([m4_default([$1], [libltdl])]) 150_LTDL_CONVENIENCE]) 151m4trace:/usr/share/aclocal/ltdl.m4:81: -1- AC_DEFUN([AC_LIBLTDL_CONVENIENCE], [AC_DIAGNOSE([obsolete], [The macro `AC_LIBLTDL_CONVENIENCE' is obsolete. 152You should run autoupdate.])dnl 153_LT_CONFIG_LTDL_DIR([m4_default([$1], [libltdl])]) 154_LTDL_CONVENIENCE]) 155m4trace:/usr/share/aclocal/ltdl.m4:124: -1- AC_DEFUN([LTDL_INSTALLABLE], [AC_BEFORE([$0], [LTDL_INIT])dnl 156dnl Although the argument is deprecated and no longer documented, 157dnl LTDL_INSTALLABLE used to take a DIRECTORY orgument, if we have one 158dnl here make sure it is the same as any other declaration of libltdl's 159dnl location! This also ensures lt_ltdl_dir is set when configure.ac is 160dnl not yet using an explicit LT_CONFIG_LTDL_DIR. 161m4_ifval([$1], [_LT_CONFIG_LTDL_DIR([$1])])dnl 162_$0() 163]) 164m4trace:/usr/share/aclocal/ltdl.m4:137: -1- AU_DEFUN([AC_LIBLTDL_INSTALLABLE], [_LT_CONFIG_LTDL_DIR([m4_default([$1], [libltdl])]) 165_LTDL_INSTALLABLE]) 166m4trace:/usr/share/aclocal/ltdl.m4:137: -1- AC_DEFUN([AC_LIBLTDL_INSTALLABLE], [AC_DIAGNOSE([obsolete], [The macro `AC_LIBLTDL_INSTALLABLE' is obsolete. 167You should run autoupdate.])dnl 168_LT_CONFIG_LTDL_DIR([m4_default([$1], [libltdl])]) 169_LTDL_INSTALLABLE]) 170m4trace:/usr/share/aclocal/ltdl.m4:213: -1- AC_DEFUN([_LT_LIBOBJ], [ 171 m4_pattern_allow([^_LT_LIBOBJS$]) 172 _LT_LIBOBJS="$_LT_LIBOBJS $1.$ac_objext" 173]) 174m4trace:/usr/share/aclocal/ltdl.m4:226: -1- AC_DEFUN([LTDL_INIT], [dnl Parse OPTIONS 175_LT_SET_OPTIONS([$0], [$1]) 176 177dnl We need to keep our own list of libobjs separate from our parent project, 178dnl and the easiest way to do that is redefine the AC_LIBOBJs macro while 179dnl we look for our own LIBOBJs. 180m4_pushdef([AC_LIBOBJ], m4_defn([_LT_LIBOBJ])) 181m4_pushdef([AC_LIBSOURCES]) 182 183dnl If not otherwise defined, default to the 1.5.x compatible subproject mode: 184m4_if(_LTDL_MODE, [], 185 [m4_define([_LTDL_MODE], m4_default([$2], [subproject])) 186 m4_if([-1], [m4_bregexp(_LTDL_MODE, [\(subproject\|\(non\)?recursive\)])], 187 [m4_fatal([unknown libltdl mode: ]_LTDL_MODE)])]) 188 189AC_ARG_WITH([included_ltdl], 190 [AS_HELP_STRING([--with-included-ltdl], 191 [use the GNU ltdl sources included here])]) 192 193if test yes != "$with_included_ltdl"; then 194 # We are not being forced to use the included libltdl sources, so 195 # decide whether there is a useful installed version we can use. 196 AC_CHECK_HEADER([ltdl.h], 197 [AC_CHECK_DECL([lt_dlinterface_register], 198 [AC_CHECK_LIB([ltdl], [lt_dladvise_preload], 199 [with_included_ltdl=no], 200 [with_included_ltdl=yes])], 201 [with_included_ltdl=yes], 202 [AC_INCLUDES_DEFAULT 203 #include <ltdl.h>])], 204 [with_included_ltdl=yes], 205 [AC_INCLUDES_DEFAULT] 206 ) 207fi 208 209dnl If neither LT_CONFIG_LTDL_DIR, LTDL_CONVENIENCE nor LTDL_INSTALLABLE 210dnl was called yet, then for old times' sake, we assume libltdl is in an 211dnl eponymous directory: 212AC_PROVIDE_IFELSE([LT_CONFIG_LTDL_DIR], [], [_LT_CONFIG_LTDL_DIR([libltdl])]) 213 214AC_ARG_WITH([ltdl_include], 215 [AS_HELP_STRING([--with-ltdl-include=DIR], 216 [use the ltdl headers installed in DIR])]) 217 218if test -n "$with_ltdl_include"; then 219 if test -f "$with_ltdl_include/ltdl.h"; then : 220 else 221 AC_MSG_ERROR([invalid ltdl include directory: '$with_ltdl_include']) 222 fi 223else 224 with_ltdl_include=no 225fi 226 227AC_ARG_WITH([ltdl_lib], 228 [AS_HELP_STRING([--with-ltdl-lib=DIR], 229 [use the libltdl.la installed in DIR])]) 230 231if test -n "$with_ltdl_lib"; then 232 if test -f "$with_ltdl_lib/libltdl.la"; then : 233 else 234 AC_MSG_ERROR([invalid ltdl library directory: '$with_ltdl_lib']) 235 fi 236else 237 with_ltdl_lib=no 238fi 239 240case ,$with_included_ltdl,$with_ltdl_include,$with_ltdl_lib, in 241 ,yes,no,no,) 242 m4_case(m4_default(_LTDL_TYPE, [convenience]), 243 [convenience], [_LTDL_CONVENIENCE], 244 [installable], [_LTDL_INSTALLABLE], 245 [m4_fatal([unknown libltdl build type: ]_LTDL_TYPE)]) 246 ;; 247 ,no,no,no,) 248 # If the included ltdl is not to be used, then use the 249 # preinstalled libltdl we found. 250 AC_DEFINE([HAVE_LTDL], [1], 251 [Define this if a modern libltdl is already installed]) 252 LIBLTDL=-lltdl 253 LTDLDEPS= 254 LTDLINCL= 255 ;; 256 ,no*,no,*) 257 AC_MSG_ERROR(['--with-ltdl-include' and '--with-ltdl-lib' options must be used together]) 258 ;; 259 *) with_included_ltdl=no 260 LIBLTDL="-L$with_ltdl_lib -lltdl" 261 LTDLDEPS= 262 LTDLINCL=-I$with_ltdl_include 263 ;; 264esac 265INCLTDL=$LTDLINCL 266 267# Report our decision... 268AC_MSG_CHECKING([where to find libltdl headers]) 269AC_MSG_RESULT([$LTDLINCL]) 270AC_MSG_CHECKING([where to find libltdl library]) 271AC_MSG_RESULT([$LIBLTDL]) 272 273_LTDL_SETUP 274 275dnl restore autoconf definition. 276m4_popdef([AC_LIBOBJ]) 277m4_popdef([AC_LIBSOURCES]) 278 279AC_CONFIG_COMMANDS_PRE([ 280 _ltdl_libobjs= 281 _ltdl_ltlibobjs= 282 if test -n "$_LT_LIBOBJS"; then 283 # Remove the extension. 284 _lt_sed_drop_objext='s/\.o$//;s/\.obj$//' 285 for i in `for i in $_LT_LIBOBJS; do echo "$i"; done | sed "$_lt_sed_drop_objext" | sort -u`; do 286 _ltdl_libobjs="$_ltdl_libobjs $lt_libobj_prefix$i.$ac_objext" 287 _ltdl_ltlibobjs="$_ltdl_ltlibobjs $lt_libobj_prefix$i.lo" 288 done 289 fi 290 AC_SUBST([ltdl_LIBOBJS], [$_ltdl_libobjs]) 291 AC_SUBST([ltdl_LTLIBOBJS], [$_ltdl_ltlibobjs]) 292]) 293 294# Only expand once: 295m4_define([LTDL_INIT]) 296]) 297m4trace:/usr/share/aclocal/ltdl.m4:352: -1- AU_DEFUN([AC_LIB_LTDL], [LTDL_INIT($@)]) 298m4trace:/usr/share/aclocal/ltdl.m4:352: -1- AC_DEFUN([AC_LIB_LTDL], [AC_DIAGNOSE([obsolete], [The macro `AC_LIB_LTDL' is obsolete. 299You should run autoupdate.])dnl 300LTDL_INIT($@)]) 301m4trace:/usr/share/aclocal/ltdl.m4:353: -1- AU_DEFUN([AC_WITH_LTDL], [LTDL_INIT($@)]) 302m4trace:/usr/share/aclocal/ltdl.m4:353: -1- AC_DEFUN([AC_WITH_LTDL], [AC_DIAGNOSE([obsolete], [The macro `AC_WITH_LTDL' is obsolete. 303You should run autoupdate.])dnl 304LTDL_INIT($@)]) 305m4trace:/usr/share/aclocal/ltdl.m4:354: -1- AU_DEFUN([LT_WITH_LTDL], [LTDL_INIT($@)]) 306m4trace:/usr/share/aclocal/ltdl.m4:354: -1- AC_DEFUN([LT_WITH_LTDL], [AC_DIAGNOSE([obsolete], [The macro `LT_WITH_LTDL' is obsolete. 307You should run autoupdate.])dnl 308LTDL_INIT($@)]) 309m4trace:/usr/share/aclocal/ltdl.m4:367: -1- AC_DEFUN([_LTDL_SETUP], [AC_REQUIRE([AC_PROG_CC])dnl 310AC_REQUIRE([LT_SYS_MODULE_EXT])dnl 311AC_REQUIRE([LT_SYS_MODULE_PATH])dnl 312AC_REQUIRE([LT_SYS_DLSEARCH_PATH])dnl 313AC_REQUIRE([LT_LIB_DLLOAD])dnl 314AC_REQUIRE([LT_SYS_SYMBOL_USCORE])dnl 315AC_REQUIRE([LT_FUNC_DLSYM_USCORE])dnl 316AC_REQUIRE([LT_SYS_DLOPEN_DEPLIBS])dnl 317AC_REQUIRE([LT_FUNC_ARGZ])dnl 318 319m4_require([_LT_CHECK_OBJDIR])dnl 320m4_require([_LT_HEADER_DLFCN])dnl 321m4_require([_LT_CHECK_DLPREOPEN])dnl 322m4_require([_LT_DECL_SED])dnl 323 324dnl Don't require this, or it will be expanded earlier than the code 325dnl that sets the variables it relies on: 326_LT_ENABLE_INSTALL 327 328dnl _LTDL_MODE specific code must be called at least once: 329_LTDL_MODE_DISPATCH 330 331# In order that ltdl.c can compile, find out the first AC_CONFIG_HEADERS 332# the user used. This is so that ltdl.h can pick up the parent projects 333# config.h file, The first file in AC_CONFIG_HEADERS must contain the 334# definitions required by ltdl.c. 335# FIXME: Remove use of undocumented AC_LIST_HEADERS (2.59 compatibility). 336AC_CONFIG_COMMANDS_PRE([dnl 337m4_pattern_allow([^LT_CONFIG_H$])dnl 338m4_ifset([AH_HEADER], 339 [LT_CONFIG_H=AH_HEADER], 340 [m4_ifset([AC_LIST_HEADERS], 341 [LT_CONFIG_H=`echo "AC_LIST_HEADERS" | $SED 's|^[[ ]]*||;s|[[ :]].*$||'`], 342 [])])]) 343AC_SUBST([LT_CONFIG_H]) 344 345AC_CHECK_HEADERS([unistd.h dl.h sys/dl.h dld.h mach-o/dyld.h dirent.h], 346 [], [], [AC_INCLUDES_DEFAULT]) 347 348AC_CHECK_FUNCS([closedir opendir readdir], [], [AC_LIBOBJ([lt__dirent])]) 349AC_CHECK_FUNCS([strlcat strlcpy], [], [AC_LIBOBJ([lt__strl])]) 350 351m4_pattern_allow([LT_LIBEXT])dnl 352AC_DEFINE_UNQUOTED([LT_LIBEXT],["$libext"],[The archive extension]) 353 354name= 355eval "lt_libprefix=\"$libname_spec\"" 356m4_pattern_allow([LT_LIBPREFIX])dnl 357AC_DEFINE_UNQUOTED([LT_LIBPREFIX],["$lt_libprefix"],[The archive prefix]) 358 359name=ltdl 360eval "LTDLOPEN=\"$libname_spec\"" 361AC_SUBST([LTDLOPEN]) 362]) 363m4trace:/usr/share/aclocal/ltdl.m4:443: -1- AC_DEFUN([LT_SYS_DLOPEN_DEPLIBS], [AC_REQUIRE([AC_CANONICAL_HOST])dnl 364AC_CACHE_CHECK([whether deplibs are loaded by dlopen], 365 [lt_cv_sys_dlopen_deplibs], 366 [# PORTME does your system automatically load deplibs for dlopen? 367 # or its logical equivalent (e.g. shl_load for HP-UX < 11) 368 # For now, we just catch OSes we know something about -- in the 369 # future, we'll try test this programmatically. 370 lt_cv_sys_dlopen_deplibs=unknown 371 case $host_os in 372 aix3*|aix4.1.*|aix4.2.*) 373 # Unknown whether this is true for these versions of AIX, but 374 # we want this 'case' here to explicitly catch those versions. 375 lt_cv_sys_dlopen_deplibs=unknown 376 ;; 377 aix[[4-9]]*) 378 lt_cv_sys_dlopen_deplibs=yes 379 ;; 380 amigaos*) 381 case $host_cpu in 382 powerpc) 383 lt_cv_sys_dlopen_deplibs=no 384 ;; 385 esac 386 ;; 387 bitrig*) 388 lt_cv_sys_dlopen_deplibs=yes 389 ;; 390 darwin*) 391 # Assuming the user has installed a libdl from somewhere, this is true 392 # If you are looking for one http://www.opendarwin.org/projects/dlcompat 393 lt_cv_sys_dlopen_deplibs=yes 394 ;; 395 freebsd* | dragonfly*) 396 lt_cv_sys_dlopen_deplibs=yes 397 ;; 398 gnu* | linux* | k*bsd*-gnu | kopensolaris*-gnu) 399 # GNU and its variants, using gnu ld.so (Glibc) 400 lt_cv_sys_dlopen_deplibs=yes 401 ;; 402 hpux10*|hpux11*) 403 lt_cv_sys_dlopen_deplibs=yes 404 ;; 405 interix*) 406 lt_cv_sys_dlopen_deplibs=yes 407 ;; 408 irix[[12345]]*|irix6.[[01]]*) 409 # Catch all versions of IRIX before 6.2, and indicate that we don't 410 # know how it worked for any of those versions. 411 lt_cv_sys_dlopen_deplibs=unknown 412 ;; 413 irix*) 414 # The case above catches anything before 6.2, and it's known that 415 # at 6.2 and later dlopen does load deplibs. 416 lt_cv_sys_dlopen_deplibs=yes 417 ;; 418 netbsd* | netbsdelf*-gnu) 419 lt_cv_sys_dlopen_deplibs=yes 420 ;; 421 openbsd*) 422 lt_cv_sys_dlopen_deplibs=yes 423 ;; 424 osf[[1234]]*) 425 # dlopen did load deplibs (at least at 4.x), but until the 5.x series, 426 # it did *not* use an RPATH in a shared library to find objects the 427 # library depends on, so we explicitly say 'no'. 428 lt_cv_sys_dlopen_deplibs=no 429 ;; 430 osf5.0|osf5.0a|osf5.1) 431 # dlopen *does* load deplibs and with the right loader patch applied 432 # it even uses RPATH in a shared library to search for shared objects 433 # that the library depends on, but there's no easy way to know if that 434 # patch is installed. Since this is the case, all we can really 435 # say is unknown -- it depends on the patch being installed. If 436 # it is, this changes to 'yes'. Without it, it would be 'no'. 437 lt_cv_sys_dlopen_deplibs=unknown 438 ;; 439 osf*) 440 # the two cases above should catch all versions of osf <= 5.1. Read 441 # the comments above for what we know about them. 442 # At > 5.1, deplibs are loaded *and* any RPATH in a shared library 443 # is used to find them so we can finally say 'yes'. 444 lt_cv_sys_dlopen_deplibs=yes 445 ;; 446 qnx*) 447 lt_cv_sys_dlopen_deplibs=yes 448 ;; 449 solaris*) 450 lt_cv_sys_dlopen_deplibs=yes 451 ;; 452 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*) 453 libltdl_cv_sys_dlopen_deplibs=yes 454 ;; 455 esac 456 ]) 457if test yes != "$lt_cv_sys_dlopen_deplibs"; then 458 AC_DEFINE([LTDL_DLOPEN_DEPLIBS], [1], 459 [Define if the OS needs help to load dependent libraries for dlopen().]) 460fi 461]) 462m4trace:/usr/share/aclocal/ltdl.m4:545: -1- AU_DEFUN([AC_LTDL_SYS_DLOPEN_DEPLIBS], [m4_if($#, 0, [LT_SYS_DLOPEN_DEPLIBS], [LT_SYS_DLOPEN_DEPLIBS($@)])]) 463m4trace:/usr/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. 464You should run autoupdate.])dnl 465m4_if($#, 0, [LT_SYS_DLOPEN_DEPLIBS], [LT_SYS_DLOPEN_DEPLIBS($@)])]) 466m4trace:/usr/share/aclocal/ltdl.m4:552: -1- AC_DEFUN([LT_SYS_MODULE_EXT], [m4_require([_LT_SYS_DYNAMIC_LINKER])dnl 467AC_CACHE_CHECK([what extension is used for runtime loadable modules], 468 [libltdl_cv_shlibext], 469[ 470module=yes 471eval libltdl_cv_shlibext=$shrext_cmds 472module=no 473eval libltdl_cv_shrext=$shrext_cmds 474 ]) 475if test -n "$libltdl_cv_shlibext"; then 476 m4_pattern_allow([LT_MODULE_EXT])dnl 477 AC_DEFINE_UNQUOTED([LT_MODULE_EXT], ["$libltdl_cv_shlibext"], 478 [Define to the extension used for runtime loadable modules, say, ".so".]) 479fi 480if test "$libltdl_cv_shrext" != "$libltdl_cv_shlibext"; then 481 m4_pattern_allow([LT_SHARED_EXT])dnl 482 AC_DEFINE_UNQUOTED([LT_SHARED_EXT], ["$libltdl_cv_shrext"], 483 [Define to the shared library suffix, say, ".dylib".]) 484fi 485if test -n "$shared_archive_member_spec"; then 486 m4_pattern_allow([LT_SHARED_LIB_MEMBER])dnl 487 AC_DEFINE_UNQUOTED([LT_SHARED_LIB_MEMBER], ["($shared_archive_member_spec.o)"], 488 [Define to the shared archive member specification, say "(shr.o)".]) 489fi 490]) 491m4trace:/usr/share/aclocal/ltdl.m4:580: -1- AU_DEFUN([AC_LTDL_SHLIBEXT], [m4_if($#, 0, [LT_SYS_MODULE_EXT], [LT_SYS_MODULE_EXT($@)])]) 492m4trace:/usr/share/aclocal/ltdl.m4:580: -1- AC_DEFUN([AC_LTDL_SHLIBEXT], [AC_DIAGNOSE([obsolete], [The macro `AC_LTDL_SHLIBEXT' is obsolete. 493You should run autoupdate.])dnl 494m4_if($#, 0, [LT_SYS_MODULE_EXT], [LT_SYS_MODULE_EXT($@)])]) 495m4trace:/usr/share/aclocal/ltdl.m4:587: -1- AC_DEFUN([LT_SYS_MODULE_PATH], [m4_require([_LT_SYS_DYNAMIC_LINKER])dnl 496AC_CACHE_CHECK([what variable specifies run-time module search path], 497 [lt_cv_module_path_var], [lt_cv_module_path_var=$shlibpath_var]) 498if test -n "$lt_cv_module_path_var"; then 499 m4_pattern_allow([LT_MODULE_PATH_VAR])dnl 500 AC_DEFINE_UNQUOTED([LT_MODULE_PATH_VAR], ["$lt_cv_module_path_var"], 501 [Define to the name of the environment variable that determines the run-time module search path.]) 502fi 503]) 504m4trace:/usr/share/aclocal/ltdl.m4:599: -1- AU_DEFUN([AC_LTDL_SHLIBPATH], [m4_if($#, 0, [LT_SYS_MODULE_PATH], [LT_SYS_MODULE_PATH($@)])]) 505m4trace:/usr/share/aclocal/ltdl.m4:599: -1- AC_DEFUN([AC_LTDL_SHLIBPATH], [AC_DIAGNOSE([obsolete], [The macro `AC_LTDL_SHLIBPATH' is obsolete. 506You should run autoupdate.])dnl 507m4_if($#, 0, [LT_SYS_MODULE_PATH], [LT_SYS_MODULE_PATH($@)])]) 508m4trace:/usr/share/aclocal/ltdl.m4:606: -1- AC_DEFUN([LT_SYS_DLSEARCH_PATH], [m4_require([_LT_SYS_DYNAMIC_LINKER])dnl 509AC_CACHE_CHECK([for the default library search path], 510 [lt_cv_sys_dlsearch_path], 511 [lt_cv_sys_dlsearch_path=$sys_lib_dlsearch_path_spec]) 512if test -n "$lt_cv_sys_dlsearch_path"; then 513 sys_dlsearch_path= 514 for dir in $lt_cv_sys_dlsearch_path; do 515 if test -z "$sys_dlsearch_path"; then 516 sys_dlsearch_path=$dir 517 else 518 sys_dlsearch_path=$sys_dlsearch_path$PATH_SEPARATOR$dir 519 fi 520 done 521 m4_pattern_allow([LT_DLSEARCH_PATH])dnl 522 AC_DEFINE_UNQUOTED([LT_DLSEARCH_PATH], ["$sys_dlsearch_path"], 523 [Define to the system default library search path.]) 524fi 525]) 526m4trace:/usr/share/aclocal/ltdl.m4:627: -1- AU_DEFUN([AC_LTDL_SYSSEARCHPATH], [m4_if($#, 0, [LT_SYS_DLSEARCH_PATH], [LT_SYS_DLSEARCH_PATH($@)])]) 527m4trace:/usr/share/aclocal/ltdl.m4:627: -1- AC_DEFUN([AC_LTDL_SYSSEARCHPATH], [AC_DIAGNOSE([obsolete], [The macro `AC_LTDL_SYSSEARCHPATH' is obsolete. 528You should run autoupdate.])dnl 529m4_if($#, 0, [LT_SYS_DLSEARCH_PATH], [LT_SYS_DLSEARCH_PATH($@)])]) 530m4trace:/usr/share/aclocal/ltdl.m4:653: -1- AC_DEFUN([LT_LIB_DLLOAD], [m4_pattern_allow([^LT_DLLOADERS$]) 531LT_DLLOADERS= 532AC_SUBST([LT_DLLOADERS]) 533 534AC_LANG_PUSH([C]) 535lt_dlload_save_LIBS=$LIBS 536 537LIBADD_DLOPEN= 538AC_SEARCH_LIBS([dlopen], [dl], 539 [AC_DEFINE([HAVE_LIBDL], [1], 540 [Define if you have the libdl library or equivalent.]) 541 if test "$ac_cv_search_dlopen" != "none required"; then 542 LIBADD_DLOPEN=-ldl 543 fi 544 libltdl_cv_lib_dl_dlopen=yes 545 LT_DLLOADERS="$LT_DLLOADERS ${lt_dlopen_dir+$lt_dlopen_dir/}dlopen.la"], 546 [AC_LINK_IFELSE([AC_LANG_PROGRAM([[#if HAVE_DLFCN_H 547# include <dlfcn.h> 548#endif 549 ]], [[dlopen(0, 0);]])], 550 [AC_DEFINE([HAVE_LIBDL], [1], 551 [Define if you have the libdl library or equivalent.]) 552 libltdl_cv_func_dlopen=yes 553 LT_DLLOADERS="$LT_DLLOADERS ${lt_dlopen_dir+$lt_dlopen_dir/}dlopen.la"], 554 [AC_CHECK_LIB([svld], [dlopen], 555 [AC_DEFINE([HAVE_LIBDL], [1], 556 [Define if you have the libdl library or equivalent.]) 557 LIBADD_DLOPEN=-lsvld libltdl_cv_func_dlopen=yes 558 LT_DLLOADERS="$LT_DLLOADERS ${lt_dlopen_dir+$lt_dlopen_dir/}dlopen.la"])])]) 559if test yes = "$libltdl_cv_func_dlopen" || test yes = "$libltdl_cv_lib_dl_dlopen" 560then 561 lt_save_LIBS=$LIBS 562 LIBS="$LIBS $LIBADD_DLOPEN" 563 AC_CHECK_FUNCS([dlerror]) 564 LIBS=$lt_save_LIBS 565fi 566AC_SUBST([LIBADD_DLOPEN]) 567 568LIBADD_SHL_LOAD= 569AC_CHECK_FUNC([shl_load], 570 [AC_DEFINE([HAVE_SHL_LOAD], [1], 571 [Define if you have the shl_load function.]) 572 LT_DLLOADERS="$LT_DLLOADERS ${lt_dlopen_dir+$lt_dlopen_dir/}shl_load.la"], 573 [AC_CHECK_LIB([dld], [shl_load], 574 [AC_DEFINE([HAVE_SHL_LOAD], [1], 575 [Define if you have the shl_load function.]) 576 LT_DLLOADERS="$LT_DLLOADERS ${lt_dlopen_dir+$lt_dlopen_dir/}shl_load.la" 577 LIBADD_SHL_LOAD=-ldld])]) 578AC_SUBST([LIBADD_SHL_LOAD]) 579 580case $host_os in 581darwin[[1567]].*) 582# We only want this for pre-Mac OS X 10.4. 583 AC_CHECK_FUNC([_dyld_func_lookup], 584 [AC_DEFINE([HAVE_DYLD], [1], 585 [Define if you have the _dyld_func_lookup function.]) 586 LT_DLLOADERS="$LT_DLLOADERS ${lt_dlopen_dir+$lt_dlopen_dir/}dyld.la"]) 587 ;; 588beos*) 589 LT_DLLOADERS="$LT_DLLOADERS ${lt_dlopen_dir+$lt_dlopen_dir/}load_add_on.la" 590 ;; 591cygwin* | mingw* | pw32*) 592 AC_CHECK_DECLS([cygwin_conv_path], [], [], [[#include <sys/cygwin.h>]]) 593 LT_DLLOADERS="$LT_DLLOADERS ${lt_dlopen_dir+$lt_dlopen_dir/}loadlibrary.la" 594 ;; 595esac 596 597AC_CHECK_LIB([dld], [dld_link], 598 [AC_DEFINE([HAVE_DLD], [1], 599 [Define if you have the GNU dld library.]) 600 LT_DLLOADERS="$LT_DLLOADERS ${lt_dlopen_dir+$lt_dlopen_dir/}dld_link.la"]) 601AC_SUBST([LIBADD_DLD_LINK]) 602 603m4_pattern_allow([^LT_DLPREOPEN$]) 604LT_DLPREOPEN= 605if test -n "$LT_DLLOADERS" 606then 607 for lt_loader in $LT_DLLOADERS; do 608 LT_DLPREOPEN="$LT_DLPREOPEN-dlpreopen $lt_loader " 609 done 610 AC_DEFINE([HAVE_LIBDLLOADER], [1], 611 [Define if libdlloader will be built on this platform]) 612fi 613AC_SUBST([LT_DLPREOPEN]) 614 615dnl This isn't used anymore, but set it for backwards compatibility 616LIBADD_DL="$LIBADD_DLOPEN $LIBADD_SHL_LOAD" 617AC_SUBST([LIBADD_DL]) 618 619LIBS=$lt_dlload_save_LIBS 620AC_LANG_POP 621]) 622m4trace:/usr/share/aclocal/ltdl.m4:748: -1- AU_DEFUN([AC_LTDL_DLLIB], [m4_if($#, 0, [LT_LIB_DLLOAD], [LT_LIB_DLLOAD($@)])]) 623m4trace:/usr/share/aclocal/ltdl.m4:748: -1- AC_DEFUN([AC_LTDL_DLLIB], [AC_DIAGNOSE([obsolete], [The macro `AC_LTDL_DLLIB' is obsolete. 624You should run autoupdate.])dnl 625m4_if($#, 0, [LT_LIB_DLLOAD], [LT_LIB_DLLOAD($@)])]) 626m4trace:/usr/share/aclocal/ltdl.m4:756: -1- AC_DEFUN([LT_SYS_SYMBOL_USCORE], [m4_require([_LT_CMD_GLOBAL_SYMBOLS])dnl 627AC_CACHE_CHECK([for _ prefix in compiled symbols], 628 [lt_cv_sys_symbol_underscore], 629 [lt_cv_sys_symbol_underscore=no 630 cat > conftest.$ac_ext <<_LT_EOF 631void nm_test_func(){} 632int main(){nm_test_func;return 0;} 633_LT_EOF 634 if AC_TRY_EVAL(ac_compile); then 635 # Now try to grab the symbols. 636 ac_nlist=conftest.nm 637 if AC_TRY_EVAL(NM conftest.$ac_objext \| $lt_cv_sys_global_symbol_pipe \> $ac_nlist) && test -s "$ac_nlist"; then 638 # See whether the symbols have a leading underscore. 639 if grep '^. _nm_test_func' "$ac_nlist" >/dev/null; then 640 lt_cv_sys_symbol_underscore=yes 641 else 642 if grep '^. nm_test_func ' "$ac_nlist" >/dev/null; then 643 : 644 else 645 echo "configure: cannot find nm_test_func in $ac_nlist" >&AS_MESSAGE_LOG_FD 646 fi 647 fi 648 else 649 echo "configure: cannot run $lt_cv_sys_global_symbol_pipe" >&AS_MESSAGE_LOG_FD 650 fi 651 else 652 echo "configure: failed program was:" >&AS_MESSAGE_LOG_FD 653 cat conftest.c >&AS_MESSAGE_LOG_FD 654 fi 655 rm -rf conftest* 656 ]) 657 sys_symbol_underscore=$lt_cv_sys_symbol_underscore 658 AC_SUBST([sys_symbol_underscore]) 659]) 660m4trace:/usr/share/aclocal/ltdl.m4:793: -1- AU_DEFUN([AC_LTDL_SYMBOL_USCORE], [m4_if($#, 0, [LT_SYS_SYMBOL_USCORE], [LT_SYS_SYMBOL_USCORE($@)])]) 661m4trace:/usr/share/aclocal/ltdl.m4:793: -1- AC_DEFUN([AC_LTDL_SYMBOL_USCORE], [AC_DIAGNOSE([obsolete], [The macro `AC_LTDL_SYMBOL_USCORE' is obsolete. 662You should run autoupdate.])dnl 663m4_if($#, 0, [LT_SYS_SYMBOL_USCORE], [LT_SYS_SYMBOL_USCORE($@)])]) 664m4trace:/usr/share/aclocal/ltdl.m4:800: -1- AC_DEFUN([LT_FUNC_DLSYM_USCORE], [AC_REQUIRE([_LT_COMPILER_PIC])dnl for lt_prog_compiler_wl 665AC_REQUIRE([LT_SYS_SYMBOL_USCORE])dnl for lt_cv_sys_symbol_underscore 666AC_REQUIRE([LT_SYS_MODULE_EXT])dnl for libltdl_cv_shlibext 667if test yes = "$lt_cv_sys_symbol_underscore"; then 668 if test yes = "$libltdl_cv_func_dlopen" || test yes = "$libltdl_cv_lib_dl_dlopen"; then 669 AC_CACHE_CHECK([whether we have to add an underscore for dlsym], 670 [libltdl_cv_need_uscore], 671 [libltdl_cv_need_uscore=unknown 672 dlsym_uscore_save_LIBS=$LIBS 673 LIBS="$LIBS $LIBADD_DLOPEN" 674 libname=conftmod # stay within 8.3 filename limits! 675 cat >$libname.$ac_ext <<_LT_EOF 676[#line $LINENO "configure" 677#include "confdefs.h" 678/* When -fvisibility=hidden is used, assume the code has been annotated 679 correspondingly for the symbols needed. */ 680#if defined __GNUC__ && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3)) 681int fnord () __attribute__((visibility("default"))); 682#endif 683int fnord () { return 42; }] 684_LT_EOF 685 686 # ltfn_module_cmds module_cmds 687 # Execute tilde-delimited MODULE_CMDS with environment primed for 688 # $module_cmds or $archive_cmds type content. 689 ltfn_module_cmds () 690 {( # subshell avoids polluting parent global environment 691 module_cmds_save_ifs=$IFS; IFS='~' 692 for cmd in @S|@1; do 693 IFS=$module_cmds_save_ifs 694 libobjs=$libname.$ac_objext; lib=$libname$libltdl_cv_shlibext 695 rpath=/not-exists; soname=$libname$libltdl_cv_shlibext; output_objdir=. 696 major=; versuffix=; verstring=; deplibs= 697 ECHO=echo; wl=$lt_prog_compiler_wl; allow_undefined_flag= 698 eval $cmd 699 done 700 IFS=$module_cmds_save_ifs 701 )} 702 703 # Compile a loadable module using libtool macro expansion results. 704 $CC $pic_flag -c $libname.$ac_ext 705 ltfn_module_cmds "${module_cmds:-$archive_cmds}" 706 707 # Try to fetch fnord with dlsym(). 708 libltdl_dlunknown=0; libltdl_dlnouscore=1; libltdl_dluscore=2 709 cat >conftest.$ac_ext <<_LT_EOF 710[#line $LINENO "configure" 711#include "confdefs.h" 712#if HAVE_DLFCN_H 713#include <dlfcn.h> 714#endif 715#include <stdio.h> 716#ifndef RTLD_GLOBAL 717# ifdef DL_GLOBAL 718# define RTLD_GLOBAL DL_GLOBAL 719# else 720# define RTLD_GLOBAL 0 721# endif 722#endif 723#ifndef RTLD_NOW 724# ifdef DL_NOW 725# define RTLD_NOW DL_NOW 726# else 727# define RTLD_NOW 0 728# endif 729#endif 730int main () { 731 void *handle = dlopen ("`pwd`/$libname$libltdl_cv_shlibext", RTLD_GLOBAL|RTLD_NOW); 732 int status = $libltdl_dlunknown; 733 if (handle) { 734 if (dlsym (handle, "fnord")) 735 status = $libltdl_dlnouscore; 736 else { 737 if (dlsym (handle, "_fnord")) 738 status = $libltdl_dluscore; 739 else 740 puts (dlerror ()); 741 } 742 dlclose (handle); 743 } else 744 puts (dlerror ()); 745 return status; 746}] 747_LT_EOF 748 if AC_TRY_EVAL(ac_link) && test -s "conftest$ac_exeext" 2>/dev/null; then 749 (./conftest; exit; ) >&AS_MESSAGE_LOG_FD 2>/dev/null 750 libltdl_status=$? 751 case x$libltdl_status in 752 x$libltdl_dlnouscore) libltdl_cv_need_uscore=no ;; 753 x$libltdl_dluscore) libltdl_cv_need_uscore=yes ;; 754 x*) libltdl_cv_need_uscore=unknown ;; 755 esac 756 fi 757 rm -rf conftest* $libname* 758 LIBS=$dlsym_uscore_save_LIBS 759 ]) 760 fi 761fi 762 763if test yes = "$libltdl_cv_need_uscore"; then 764 AC_DEFINE([NEED_USCORE], [1], 765 [Define if dlsym() requires a leading underscore in symbol names.]) 766fi 767]) 768m4trace:/usr/share/aclocal/ltdl.m4:907: -1- AU_DEFUN([AC_LTDL_DLSYM_USCORE], [m4_if($#, 0, [LT_FUNC_DLSYM_USCORE], [LT_FUNC_DLSYM_USCORE($@)])]) 769m4trace:/usr/share/aclocal/ltdl.m4:907: -1- AC_DEFUN([AC_LTDL_DLSYM_USCORE], [AC_DIAGNOSE([obsolete], [The macro `AC_LTDL_DLSYM_USCORE' is obsolete. 770You should run autoupdate.])dnl 771m4_if($#, 0, [LT_FUNC_DLSYM_USCORE], [LT_FUNC_DLSYM_USCORE($@)])]) 772m4trace:/usr/share/aclocal/pkg.m4:58: -1- AC_DEFUN([PKG_PROG_PKG_CONFIG], [m4_pattern_forbid([^_?PKG_[A-Z_]+$]) 773m4_pattern_allow([^PKG_CONFIG(_(PATH|LIBDIR|SYSROOT_DIR|ALLOW_SYSTEM_(CFLAGS|LIBS)))?$]) 774m4_pattern_allow([^PKG_CONFIG_(DISABLE_UNINSTALLED|TOP_BUILD_DIR|DEBUG_SPEW)$]) 775AC_ARG_VAR([PKG_CONFIG], [path to pkg-config utility]) 776AC_ARG_VAR([PKG_CONFIG_PATH], [directories to add to pkg-config's search path]) 777AC_ARG_VAR([PKG_CONFIG_LIBDIR], [path overriding pkg-config's built-in search path]) 778 779if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then 780 AC_PATH_TOOL([PKG_CONFIG], [pkg-config]) 781fi 782if test -n "$PKG_CONFIG"; then 783 _pkg_min_version=m4_default([$1], [0.9.0]) 784 AC_MSG_CHECKING([pkg-config is at least version $_pkg_min_version]) 785 if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then 786 AC_MSG_RESULT([yes]) 787 else 788 AC_MSG_RESULT([no]) 789 PKG_CONFIG="" 790 fi 791fi[]dnl 792]) 793m4trace:/usr/share/aclocal/pkg.m4:92: -1- AC_DEFUN([PKG_CHECK_EXISTS], [AC_REQUIRE([PKG_PROG_PKG_CONFIG])dnl 794if test -n "$PKG_CONFIG" && \ 795 AC_RUN_LOG([$PKG_CONFIG --exists --print-errors "$1"]); then 796 m4_default([$2], [:]) 797m4_ifvaln([$3], [else 798 $3])dnl 799fi]) 800m4trace:/usr/share/aclocal/pkg.m4:121: -1- AC_DEFUN([_PKG_SHORT_ERRORS_SUPPORTED], [AC_REQUIRE([PKG_PROG_PKG_CONFIG]) 801if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then 802 _pkg_short_errors_supported=yes 803else 804 _pkg_short_errors_supported=no 805fi[]dnl 806]) 807m4trace:/usr/share/aclocal/pkg.m4:139: -1- AC_DEFUN([PKG_CHECK_MODULES], [AC_REQUIRE([PKG_PROG_PKG_CONFIG])dnl 808AC_ARG_VAR([$1][_CFLAGS], [C compiler flags for $1, overriding pkg-config])dnl 809AC_ARG_VAR([$1][_LIBS], [linker flags for $1, overriding pkg-config])dnl 810 811pkg_failed=no 812AC_MSG_CHECKING([for $1]) 813 814_PKG_CONFIG([$1][_CFLAGS], [cflags], [$2]) 815_PKG_CONFIG([$1][_LIBS], [libs], [$2]) 816 817m4_define([_PKG_TEXT], [Alternatively, you may set the environment variables $1[]_CFLAGS 818and $1[]_LIBS to avoid the need to call pkg-config. 819See the pkg-config man page for more details.]) 820 821if test $pkg_failed = yes; then 822 AC_MSG_RESULT([no]) 823 _PKG_SHORT_ERRORS_SUPPORTED 824 if test $_pkg_short_errors_supported = yes; then 825 $1[]_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "$2" 2>&1` 826 else 827 $1[]_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "$2" 2>&1` 828 fi 829 # Put the nasty error message in config.log where it belongs 830 echo "$$1[]_PKG_ERRORS" >&AS_MESSAGE_LOG_FD 831 832 m4_default([$4], [AC_MSG_ERROR( 833[Package requirements ($2) were not met: 834 835$$1_PKG_ERRORS 836 837Consider adjusting the PKG_CONFIG_PATH environment variable if you 838installed software in a non-standard prefix. 839 840_PKG_TEXT])[]dnl 841 ]) 842elif test $pkg_failed = untried; then 843 AC_MSG_RESULT([no]) 844 m4_default([$4], [AC_MSG_FAILURE( 845[The pkg-config script could not be found or is too old. Make sure it 846is in your PATH or set the PKG_CONFIG environment variable to the full 847path to pkg-config. 848 849_PKG_TEXT 850 851To get pkg-config, see <http://pkg-config.freedesktop.org/>.])[]dnl 852 ]) 853else 854 $1[]_CFLAGS=$pkg_cv_[]$1[]_CFLAGS 855 $1[]_LIBS=$pkg_cv_[]$1[]_LIBS 856 AC_MSG_RESULT([yes]) 857 $3 858fi[]dnl 859]) 860m4trace:/usr/share/aclocal/pkg.m4:208: -1- AC_DEFUN([PKG_CHECK_MODULES_STATIC], [AC_REQUIRE([PKG_PROG_PKG_CONFIG])dnl 861_save_PKG_CONFIG=$PKG_CONFIG 862PKG_CONFIG="$PKG_CONFIG --static" 863PKG_CHECK_MODULES($@) 864PKG_CONFIG=$_save_PKG_CONFIG[]dnl 865]) 866m4trace:/usr/share/aclocal/pkg.m4:226: -1- AC_DEFUN([PKG_INSTALLDIR], [m4_pushdef([pkg_default], [m4_default([$1], ['${libdir}/pkgconfig'])]) 867m4_pushdef([pkg_description], 868 [pkg-config installation directory @<:@]pkg_default[@:>@]) 869AC_ARG_WITH([pkgconfigdir], 870 [AS_HELP_STRING([--with-pkgconfigdir], pkg_description)],, 871 [with_pkgconfigdir=]pkg_default) 872AC_SUBST([pkgconfigdir], [$with_pkgconfigdir]) 873m4_popdef([pkg_default]) 874m4_popdef([pkg_description]) 875]) 876m4trace:/usr/share/aclocal/pkg.m4:248: -1- AC_DEFUN([PKG_NOARCH_INSTALLDIR], [m4_pushdef([pkg_default], [m4_default([$1], ['${datadir}/pkgconfig'])]) 877m4_pushdef([pkg_description], 878 [pkg-config arch-independent installation directory @<:@]pkg_default[@:>@]) 879AC_ARG_WITH([noarch-pkgconfigdir], 880 [AS_HELP_STRING([--with-noarch-pkgconfigdir], pkg_description)],, 881 [with_noarch_pkgconfigdir=]pkg_default) 882AC_SUBST([noarch_pkgconfigdir], [$with_noarch_pkgconfigdir]) 883m4_popdef([pkg_default]) 884m4_popdef([pkg_description]) 885]) 886m4trace:/usr/share/aclocal/pkg.m4:267: -1- AC_DEFUN([PKG_CHECK_VAR], [AC_REQUIRE([PKG_PROG_PKG_CONFIG])dnl 887AC_ARG_VAR([$1], [value of $3 for $2, overriding pkg-config])dnl 888 889_PKG_CONFIG([$1], [variable="][$3]["], [$2]) 890AS_VAR_COPY([$1], [pkg_cv_][$1]) 891 892AS_VAR_IF([$1], [""], [$5], [$4])dnl 893]) 894m4trace:/usr/share/aclocal-1.15/amversion.m4:14: -1- AC_DEFUN([AM_AUTOMAKE_VERSION], [am__api_version='1.15' 895dnl Some users find AM_AUTOMAKE_VERSION and mistake it for a way to 896dnl require some minimum version. Point them to the right macro. 897m4_if([$1], [1.15], [], 898 [AC_FATAL([Do not call $0, use AM_INIT_AUTOMAKE([$1]).])])dnl 899]) 900m4trace:/usr/share/aclocal-1.15/amversion.m4:33: -1- AC_DEFUN([AM_SET_CURRENT_AUTOMAKE_VERSION], [AM_AUTOMAKE_VERSION([1.15])dnl 901m4_ifndef([AC_AUTOCONF_VERSION], 902 [m4_copy([m4_PACKAGE_VERSION], [AC_AUTOCONF_VERSION])])dnl 903_AM_AUTOCONF_VERSION(m4_defn([AC_AUTOCONF_VERSION]))]) 904m4trace:/usr/share/aclocal-1.15/auxdir.m4:47: -1- AC_DEFUN([AM_AUX_DIR_EXPAND], [AC_REQUIRE([AC_CONFIG_AUX_DIR_DEFAULT])dnl 905# Expand $ac_aux_dir to an absolute path. 906am_aux_dir=`cd "$ac_aux_dir" && pwd` 907]) 908m4trace:/usr/share/aclocal-1.15/cond.m4:12: -1- AC_DEFUN([AM_CONDITIONAL], [AC_PREREQ([2.52])dnl 909 m4_if([$1], [TRUE], [AC_FATAL([$0: invalid condition: $1])], 910 [$1], [FALSE], [AC_FATAL([$0: invalid condition: $1])])dnl 911AC_SUBST([$1_TRUE])dnl 912AC_SUBST([$1_FALSE])dnl 913_AM_SUBST_NOTMAKE([$1_TRUE])dnl 914_AM_SUBST_NOTMAKE([$1_FALSE])dnl 915m4_define([_AM_COND_VALUE_$1], [$2])dnl 916if $2; then 917 $1_TRUE= 918 $1_FALSE='#' 919else 920 $1_TRUE='#' 921 $1_FALSE= 922fi 923AC_CONFIG_COMMANDS_PRE( 924[if test -z "${$1_TRUE}" && test -z "${$1_FALSE}"; then 925 AC_MSG_ERROR([[conditional "$1" was never defined. 926Usually this means the macro was only invoked conditionally.]]) 927fi])]) 928m4trace:/usr/share/aclocal-1.15/depend.m4:26: -1- AC_DEFUN([_AM_DEPENDENCIES], [AC_REQUIRE([AM_SET_DEPDIR])dnl 929AC_REQUIRE([AM_OUTPUT_DEPENDENCY_COMMANDS])dnl 930AC_REQUIRE([AM_MAKE_INCLUDE])dnl 931AC_REQUIRE([AM_DEP_TRACK])dnl 932 933m4_if([$1], [CC], [depcc="$CC" am_compiler_list=], 934 [$1], [CXX], [depcc="$CXX" am_compiler_list=], 935 [$1], [OBJC], [depcc="$OBJC" am_compiler_list='gcc3 gcc'], 936 [$1], [OBJCXX], [depcc="$OBJCXX" am_compiler_list='gcc3 gcc'], 937 [$1], [UPC], [depcc="$UPC" am_compiler_list=], 938 [$1], [GCJ], [depcc="$GCJ" am_compiler_list='gcc3 gcc'], 939 [depcc="$$1" am_compiler_list=]) 940 941AC_CACHE_CHECK([dependency style of $depcc], 942 [am_cv_$1_dependencies_compiler_type], 943[if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then 944 # We make a subdir and do the tests there. Otherwise we can end up 945 # making bogus files that we don't know about and never remove. For 946 # instance it was reported that on HP-UX the gcc test will end up 947 # making a dummy file named 'D' -- because '-MD' means "put the output 948 # in D". 949 rm -rf conftest.dir 950 mkdir conftest.dir 951 # Copy depcomp to subdir because otherwise we won't find it if we're 952 # using a relative directory. 953 cp "$am_depcomp" conftest.dir 954 cd conftest.dir 955 # We will build objects and dependencies in a subdirectory because 956 # it helps to detect inapplicable dependency modes. For instance 957 # both Tru64's cc and ICC support -MD to output dependencies as a 958 # side effect of compilation, but ICC will put the dependencies in 959 # the current directory while Tru64 will put them in the object 960 # directory. 961 mkdir sub 962 963 am_cv_$1_dependencies_compiler_type=none 964 if test "$am_compiler_list" = ""; then 965 am_compiler_list=`sed -n ['s/^#*\([a-zA-Z0-9]*\))$/\1/p'] < ./depcomp` 966 fi 967 am__universal=false 968 m4_case([$1], [CC], 969 [case " $depcc " in #( 970 *\ -arch\ *\ -arch\ *) am__universal=true ;; 971 esac], 972 [CXX], 973 [case " $depcc " in #( 974 *\ -arch\ *\ -arch\ *) am__universal=true ;; 975 esac]) 976 977 for depmode in $am_compiler_list; do 978 # Setup a source with many dependencies, because some compilers 979 # like to wrap large dependency lists on column 80 (with \), and 980 # we should not choose a depcomp mode which is confused by this. 981 # 982 # We need to recreate these files for each test, as the compiler may 983 # overwrite some of them when testing with obscure command lines. 984 # This happens at least with the AIX C compiler. 985 : > sub/conftest.c 986 for i in 1 2 3 4 5 6; do 987 echo '#include "conftst'$i'.h"' >> sub/conftest.c 988 # Using ": > sub/conftst$i.h" creates only sub/conftst1.h with 989 # Solaris 10 /bin/sh. 990 echo '/* dummy */' > sub/conftst$i.h 991 done 992 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf 993 994 # We check with '-c' and '-o' for the sake of the "dashmstdout" 995 # mode. It turns out that the SunPro C++ compiler does not properly 996 # handle '-M -o', and we need to detect this. Also, some Intel 997 # versions had trouble with output in subdirs. 998 am__obj=sub/conftest.${OBJEXT-o} 999 am__minus_obj="-o $am__obj" 1000 case $depmode in 1001 gcc) 1002 # This depmode causes a compiler race in universal mode. 1003 test "$am__universal" = false || continue 1004 ;; 1005 nosideeffect) 1006 # After this tag, mechanisms are not by side-effect, so they'll 1007 # only be used when explicitly requested. 1008 if test "x$enable_dependency_tracking" = xyes; then 1009 continue 1010 else 1011 break 1012 fi 1013 ;; 1014 msvc7 | msvc7msys | msvisualcpp | msvcmsys) 1015 # This compiler won't grok '-c -o', but also, the minuso test has 1016 # not run yet. These depmodes are late enough in the game, and 1017 # so weak that their functioning should not be impacted. 1018 am__obj=conftest.${OBJEXT-o} 1019 am__minus_obj= 1020 ;; 1021 none) break ;; 1022 esac 1023 if depmode=$depmode \ 1024 source=sub/conftest.c object=$am__obj \ 1025 depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \ 1026 $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \ 1027 >/dev/null 2>conftest.err && 1028 grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 && 1029 grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 && 1030 grep $am__obj sub/conftest.Po > /dev/null 2>&1 && 1031 ${MAKE-make} -s -f confmf > /dev/null 2>&1; then 1032 # icc doesn't choke on unknown options, it will just issue warnings 1033 # or remarks (even with -Werror). So we grep stderr for any message 1034 # that says an option was ignored or not supported. 1035 # When given -MP, icc 7.0 and 7.1 complain thusly: 1036 # icc: Command line warning: ignoring option '-M'; no argument required 1037 # The diagnosis changed in icc 8.0: 1038 # icc: Command line remark: option '-MP' not supported 1039 if (grep 'ignoring option' conftest.err || 1040 grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else 1041 am_cv_$1_dependencies_compiler_type=$depmode 1042 break 1043 fi 1044 fi 1045 done 1046 1047 cd .. 1048 rm -rf conftest.dir 1049else 1050 am_cv_$1_dependencies_compiler_type=none 1051fi 1052]) 1053AC_SUBST([$1DEPMODE], [depmode=$am_cv_$1_dependencies_compiler_type]) 1054AM_CONDITIONAL([am__fastdep$1], [ 1055 test "x$enable_dependency_tracking" != xno \ 1056 && test "$am_cv_$1_dependencies_compiler_type" = gcc3]) 1057]) 1058m4trace:/usr/share/aclocal-1.15/depend.m4:163: -1- AC_DEFUN([AM_SET_DEPDIR], [AC_REQUIRE([AM_SET_LEADING_DOT])dnl 1059AC_SUBST([DEPDIR], ["${am__leading_dot}deps"])dnl 1060]) 1061m4trace:/usr/share/aclocal-1.15/depend.m4:171: -1- AC_DEFUN([AM_DEP_TRACK], [AC_ARG_ENABLE([dependency-tracking], [dnl 1062AS_HELP_STRING( 1063 [--enable-dependency-tracking], 1064 [do not reject slow dependency extractors]) 1065AS_HELP_STRING( 1066 [--disable-dependency-tracking], 1067 [speeds up one-time build])]) 1068if test "x$enable_dependency_tracking" != xno; then 1069 am_depcomp="$ac_aux_dir/depcomp" 1070 AMDEPBACKSLASH='\' 1071 am__nodep='_no' 1072fi 1073AM_CONDITIONAL([AMDEP], [test "x$enable_dependency_tracking" != xno]) 1074AC_SUBST([AMDEPBACKSLASH])dnl 1075_AM_SUBST_NOTMAKE([AMDEPBACKSLASH])dnl 1076AC_SUBST([am__nodep])dnl 1077_AM_SUBST_NOTMAKE([am__nodep])dnl 1078]) 1079m4trace:/usr/share/aclocal-1.15/depout.m4:12: -1- AC_DEFUN([_AM_OUTPUT_DEPENDENCY_COMMANDS], [{ 1080 # Older Autoconf quotes --file arguments for eval, but not when files 1081 # are listed without --file. Let's play safe and only enable the eval 1082 # if we detect the quoting. 1083 case $CONFIG_FILES in 1084 *\'*) eval set x "$CONFIG_FILES" ;; 1085 *) set x $CONFIG_FILES ;; 1086 esac 1087 shift 1088 for mf 1089 do 1090 # Strip MF so we end up with the name of the file. 1091 mf=`echo "$mf" | sed -e 's/:.*$//'` 1092 # Check whether this is an Automake generated Makefile or not. 1093 # We used to match only the files named 'Makefile.in', but 1094 # some people rename them; so instead we look at the file content. 1095 # Grep'ing the first line is not enough: some people post-process 1096 # each Makefile.in and add a new line on top of each file to say so. 1097 # Grep'ing the whole file is not good either: AIX grep has a line 1098 # limit of 2048, but all sed's we know have understand at least 4000. 1099 if sed -n 's,^#.*generated by automake.*,X,p' "$mf" | grep X >/dev/null 2>&1; then 1100 dirpart=`AS_DIRNAME("$mf")` 1101 else 1102 continue 1103 fi 1104 # Extract the definition of DEPDIR, am__include, and am__quote 1105 # from the Makefile without running 'make'. 1106 DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"` 1107 test -z "$DEPDIR" && continue 1108 am__include=`sed -n 's/^am__include = //p' < "$mf"` 1109 test -z "$am__include" && continue 1110 am__quote=`sed -n 's/^am__quote = //p' < "$mf"` 1111 # Find all dependency output files, they are included files with 1112 # $(DEPDIR) in their names. We invoke sed twice because it is the 1113 # simplest approach to changing $(DEPDIR) to its actual value in the 1114 # expansion. 1115 for file in `sed -n " 1116 s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \ 1117 sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g'`; do 1118 # Make sure the directory exists. 1119 test -f "$dirpart/$file" && continue 1120 fdir=`AS_DIRNAME(["$file"])` 1121 AS_MKDIR_P([$dirpart/$fdir]) 1122 # echo "creating $dirpart/$file" 1123 echo '# dummy' > "$dirpart/$file" 1124 done 1125 done 1126} 1127]) 1128m4trace:/usr/share/aclocal-1.15/depout.m4:71: -1- AC_DEFUN([AM_OUTPUT_DEPENDENCY_COMMANDS], [AC_CONFIG_COMMANDS([depfiles], 1129 [test x"$AMDEP_TRUE" != x"" || _AM_OUTPUT_DEPENDENCY_COMMANDS], 1130 [AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"]) 1131]) 1132m4trace:/usr/share/aclocal-1.15/init.m4:29: -1- AC_DEFUN([AM_INIT_AUTOMAKE], [AC_PREREQ([2.65])dnl 1133dnl Autoconf wants to disallow AM_ names. We explicitly allow 1134dnl the ones we care about. 1135m4_pattern_allow([^AM_[A-Z]+FLAGS$])dnl 1136AC_REQUIRE([AM_SET_CURRENT_AUTOMAKE_VERSION])dnl 1137AC_REQUIRE([AC_PROG_INSTALL])dnl 1138if test "`cd $srcdir && pwd`" != "`pwd`"; then 1139 # Use -I$(srcdir) only when $(srcdir) != ., so that make's output 1140 # is not polluted with repeated "-I." 1141 AC_SUBST([am__isrc], [' -I$(srcdir)'])_AM_SUBST_NOTMAKE([am__isrc])dnl 1142 # test to see if srcdir already configured 1143 if test -f $srcdir/config.status; then 1144 AC_MSG_ERROR([source directory already configured; run "make distclean" there first]) 1145 fi 1146fi 1147 1148# test whether we have cygpath 1149if test -z "$CYGPATH_W"; then 1150 if (cygpath --version) >/dev/null 2>/dev/null; then 1151 CYGPATH_W='cygpath -w' 1152 else 1153 CYGPATH_W=echo 1154 fi 1155fi 1156AC_SUBST([CYGPATH_W]) 1157 1158# Define the identity of the package. 1159dnl Distinguish between old-style and new-style calls. 1160m4_ifval([$2], 1161[AC_DIAGNOSE([obsolete], 1162 [$0: two- and three-arguments forms are deprecated.]) 1163m4_ifval([$3], [_AM_SET_OPTION([no-define])])dnl 1164 AC_SUBST([PACKAGE], [$1])dnl 1165 AC_SUBST([VERSION], [$2])], 1166[_AM_SET_OPTIONS([$1])dnl 1167dnl Diagnose old-style AC_INIT with new-style AM_AUTOMAKE_INIT. 1168m4_if( 1169 m4_ifdef([AC_PACKAGE_NAME], [ok]):m4_ifdef([AC_PACKAGE_VERSION], [ok]), 1170 [ok:ok],, 1171 [m4_fatal([AC_INIT should be called with package and version arguments])])dnl 1172 AC_SUBST([PACKAGE], ['AC_PACKAGE_TARNAME'])dnl 1173 AC_SUBST([VERSION], ['AC_PACKAGE_VERSION'])])dnl 1174 1175_AM_IF_OPTION([no-define],, 1176[AC_DEFINE_UNQUOTED([PACKAGE], ["$PACKAGE"], [Name of package]) 1177 AC_DEFINE_UNQUOTED([VERSION], ["$VERSION"], [Version number of package])])dnl 1178 1179# Some tools Automake needs. 1180AC_REQUIRE([AM_SANITY_CHECK])dnl 1181AC_REQUIRE([AC_ARG_PROGRAM])dnl 1182AM_MISSING_PROG([ACLOCAL], [aclocal-${am__api_version}]) 1183AM_MISSING_PROG([AUTOCONF], [autoconf]) 1184AM_MISSING_PROG([AUTOMAKE], [automake-${am__api_version}]) 1185AM_MISSING_PROG([AUTOHEADER], [autoheader]) 1186AM_MISSING_PROG([MAKEINFO], [makeinfo]) 1187AC_REQUIRE([AM_PROG_INSTALL_SH])dnl 1188AC_REQUIRE([AM_PROG_INSTALL_STRIP])dnl 1189AC_REQUIRE([AC_PROG_MKDIR_P])dnl 1190# For better backward compatibility. To be removed once Automake 1.9.x 1191# dies out for good. For more background, see: 1192# <http://lists.gnu.org/archive/html/automake/2012-07/msg00001.html> 1193# <http://lists.gnu.org/archive/html/automake/2012-07/msg00014.html> 1194AC_SUBST([mkdir_p], ['$(MKDIR_P)']) 1195# We need awk for the "check" target (and possibly the TAP driver). The 1196# system "awk" is bad on some platforms. 1197AC_REQUIRE([AC_PROG_AWK])dnl 1198AC_REQUIRE([AC_PROG_MAKE_SET])dnl 1199AC_REQUIRE([AM_SET_LEADING_DOT])dnl 1200_AM_IF_OPTION([tar-ustar], [_AM_PROG_TAR([ustar])], 1201 [_AM_IF_OPTION([tar-pax], [_AM_PROG_TAR([pax])], 1202 [_AM_PROG_TAR([v7])])]) 1203_AM_IF_OPTION([no-dependencies],, 1204[AC_PROVIDE_IFELSE([AC_PROG_CC], 1205 [_AM_DEPENDENCIES([CC])], 1206 [m4_define([AC_PROG_CC], 1207 m4_defn([AC_PROG_CC])[_AM_DEPENDENCIES([CC])])])dnl 1208AC_PROVIDE_IFELSE([AC_PROG_CXX], 1209 [_AM_DEPENDENCIES([CXX])], 1210 [m4_define([AC_PROG_CXX], 1211 m4_defn([AC_PROG_CXX])[_AM_DEPENDENCIES([CXX])])])dnl 1212AC_PROVIDE_IFELSE([AC_PROG_OBJC], 1213 [_AM_DEPENDENCIES([OBJC])], 1214 [m4_define([AC_PROG_OBJC], 1215 m4_defn([AC_PROG_OBJC])[_AM_DEPENDENCIES([OBJC])])])dnl 1216AC_PROVIDE_IFELSE([AC_PROG_OBJCXX], 1217 [_AM_DEPENDENCIES([OBJCXX])], 1218 [m4_define([AC_PROG_OBJCXX], 1219 m4_defn([AC_PROG_OBJCXX])[_AM_DEPENDENCIES([OBJCXX])])])dnl 1220]) 1221AC_REQUIRE([AM_SILENT_RULES])dnl 1222dnl The testsuite driver may need to know about EXEEXT, so add the 1223dnl 'am__EXEEXT' conditional if _AM_COMPILER_EXEEXT was seen. This 1224dnl macro is hooked onto _AC_COMPILER_EXEEXT early, see below. 1225AC_CONFIG_COMMANDS_PRE(dnl 1226[m4_provide_if([_AM_COMPILER_EXEEXT], 1227 [AM_CONDITIONAL([am__EXEEXT], [test -n "$EXEEXT"])])])dnl 1228 1229# POSIX will say in a future version that running "rm -f" with no argument 1230# is OK; and we want to be able to make that assumption in our Makefile 1231# recipes. So use an aggressive probe to check that the usage we want is 1232# actually supported "in the wild" to an acceptable degree. 1233# See automake bug#10828. 1234# To make any issue more visible, cause the running configure to be aborted 1235# by default if the 'rm' program in use doesn't match our expectations; the 1236# user can still override this though. 1237if rm -f && rm -fr && rm -rf; then : OK; else 1238 cat >&2 <<'END' 1239Oops! 1240 1241Your 'rm' program seems unable to run without file operands specified 1242on the command line, even when the '-f' option is present. This is contrary 1243to the behaviour of most rm programs out there, and not conforming with 1244the upcoming POSIX standard: <http://austingroupbugs.net/view.php?id=542> 1245 1246Please tell bug-automake@gnu.org about your system, including the value 1247of your $PATH and any error possibly output before this message. This 1248can help us improve future automake versions. 1249 1250END 1251 if test x"$ACCEPT_INFERIOR_RM_PROGRAM" = x"yes"; then 1252 echo 'Configuration will proceed anyway, since you have set the' >&2 1253 echo 'ACCEPT_INFERIOR_RM_PROGRAM variable to "yes"' >&2 1254 echo >&2 1255 else 1256 cat >&2 <<'END' 1257Aborting the configuration process, to ensure you take notice of the issue. 1258 1259You can download and install GNU coreutils to get an 'rm' implementation 1260that behaves properly: <http://www.gnu.org/software/coreutils/>. 1261 1262If you want to complete the configuration process using your problematic 1263'rm' anyway, export the environment variable ACCEPT_INFERIOR_RM_PROGRAM 1264to "yes", and re-run configure. 1265 1266END 1267 AC_MSG_ERROR([Your 'rm' program is bad, sorry.]) 1268 fi 1269fi 1270dnl The trailing newline in this macro's definition is deliberate, for 1271dnl backward compatibility and to allow trailing 'dnl'-style comments 1272dnl after the AM_INIT_AUTOMAKE invocation. See automake bug#16841. 1273]) 1274m4trace:/usr/share/aclocal-1.15/init.m4:186: -1- AC_DEFUN([_AC_AM_CONFIG_HEADER_HOOK], [# Compute $1's index in $config_headers. 1275_am_arg=$1 1276_am_stamp_count=1 1277for _am_header in $config_headers :; do 1278 case $_am_header in 1279 $_am_arg | $_am_arg:* ) 1280 break ;; 1281 * ) 1282 _am_stamp_count=`expr $_am_stamp_count + 1` ;; 1283 esac 1284done 1285echo "timestamp for $_am_arg" >`AS_DIRNAME(["$_am_arg"])`/stamp-h[]$_am_stamp_count]) 1286m4trace:/usr/share/aclocal-1.15/install-sh.m4:11: -1- AC_DEFUN([AM_PROG_INSTALL_SH], [AC_REQUIRE([AM_AUX_DIR_EXPAND])dnl 1287if test x"${install_sh+set}" != xset; then 1288 case $am_aux_dir in 1289 *\ * | *\ *) 1290 install_sh="\${SHELL} '$am_aux_dir/install-sh'" ;; 1291 *) 1292 install_sh="\${SHELL} $am_aux_dir/install-sh" 1293 esac 1294fi 1295AC_SUBST([install_sh])]) 1296m4trace:/usr/share/aclocal-1.15/lead-dot.m4:10: -1- AC_DEFUN([AM_SET_LEADING_DOT], [rm -rf .tst 2>/dev/null 1297mkdir .tst 2>/dev/null 1298if test -d .tst; then 1299 am__leading_dot=. 1300else 1301 am__leading_dot=_ 1302fi 1303rmdir .tst 2>/dev/null 1304AC_SUBST([am__leading_dot])]) 1305m4trace:/usr/share/aclocal-1.15/maintainer.m4:16: -1- AC_DEFUN([AM_MAINTAINER_MODE], [m4_case(m4_default([$1], [disable]), 1306 [enable], [m4_define([am_maintainer_other], [disable])], 1307 [disable], [m4_define([am_maintainer_other], [enable])], 1308 [m4_define([am_maintainer_other], [enable]) 1309 m4_warn([syntax], [unexpected argument to AM@&t@_MAINTAINER_MODE: $1])]) 1310AC_MSG_CHECKING([whether to enable maintainer-specific portions of Makefiles]) 1311 dnl maintainer-mode's default is 'disable' unless 'enable' is passed 1312 AC_ARG_ENABLE([maintainer-mode], 1313 [AS_HELP_STRING([--]am_maintainer_other[-maintainer-mode], 1314 am_maintainer_other[ make rules and dependencies not useful 1315 (and sometimes confusing) to the casual installer])], 1316 [USE_MAINTAINER_MODE=$enableval], 1317 [USE_MAINTAINER_MODE=]m4_if(am_maintainer_other, [enable], [no], [yes])) 1318 AC_MSG_RESULT([$USE_MAINTAINER_MODE]) 1319 AM_CONDITIONAL([MAINTAINER_MODE], [test $USE_MAINTAINER_MODE = yes]) 1320 MAINT=$MAINTAINER_MODE_TRUE 1321 AC_SUBST([MAINT])dnl 1322 1323]) 1324m4trace:/usr/share/aclocal-1.15/make.m4:12: -1- AC_DEFUN([AM_MAKE_INCLUDE], [am_make=${MAKE-make} 1325cat > confinc << 'END' 1326am__doit: 1327 @echo this is the am__doit target 1328.PHONY: am__doit 1329END 1330# If we don't find an include directive, just comment out the code. 1331AC_MSG_CHECKING([for style of include used by $am_make]) 1332am__include="#" 1333am__quote= 1334_am_result=none 1335# First try GNU make style include. 1336echo "include confinc" > confmf 1337# Ignore all kinds of additional output from 'make'. 1338case `$am_make -s -f confmf 2> /dev/null` in #( 1339*the\ am__doit\ target*) 1340 am__include=include 1341 am__quote= 1342 _am_result=GNU 1343 ;; 1344esac 1345# Now try BSD make style include. 1346if test "$am__include" = "#"; then 1347 echo '.include "confinc"' > confmf 1348 case `$am_make -s -f confmf 2> /dev/null` in #( 1349 *the\ am__doit\ target*) 1350 am__include=.include 1351 am__quote="\"" 1352 _am_result=BSD 1353 ;; 1354 esac 1355fi 1356AC_SUBST([am__include]) 1357AC_SUBST([am__quote]) 1358AC_MSG_RESULT([$_am_result]) 1359rm -f confinc confmf 1360]) 1361m4trace:/usr/share/aclocal-1.15/missing.m4:11: -1- AC_DEFUN([AM_MISSING_PROG], [AC_REQUIRE([AM_MISSING_HAS_RUN]) 1362$1=${$1-"${am_missing_run}$2"} 1363AC_SUBST($1)]) 1364m4trace:/usr/share/aclocal-1.15/missing.m4:20: -1- AC_DEFUN([AM_MISSING_HAS_RUN], [AC_REQUIRE([AM_AUX_DIR_EXPAND])dnl 1365AC_REQUIRE_AUX_FILE([missing])dnl 1366if test x"${MISSING+set}" != xset; then 1367 case $am_aux_dir in 1368 *\ * | *\ *) 1369 MISSING="\${SHELL} \"$am_aux_dir/missing\"" ;; 1370 *) 1371 MISSING="\${SHELL} $am_aux_dir/missing" ;; 1372 esac 1373fi 1374# Use eval to expand $SHELL 1375if eval "$MISSING --is-lightweight"; then 1376 am_missing_run="$MISSING " 1377else 1378 am_missing_run= 1379 AC_MSG_WARN(['missing' script is too old or missing]) 1380fi 1381]) 1382m4trace:/usr/share/aclocal-1.15/obsolete.m4:11: -1- AC_DEFUN([AM_CONFIG_HEADER], [AC_DIAGNOSE([obsolete], 1383['$0': this macro is obsolete. 1384You should use the 'AC][_CONFIG_HEADERS' macro instead.])dnl 1385AC_CONFIG_HEADERS($@)]) 1386m4trace:/usr/share/aclocal-1.15/obsolete.m4:17: -1- AC_DEFUN([AM_PROG_CC_STDC], [AC_PROG_CC 1387am_cv_prog_cc_stdc=$ac_cv_prog_cc_stdc 1388AC_DIAGNOSE([obsolete], 1389['$0': this macro is obsolete. 1390You should simply use the 'AC][_PROG_CC' macro instead. 1391Also, your code should no longer depend upon 'am_cv_prog_cc_stdc', 1392but upon 'ac_cv_prog_cc_stdc'.])]) 1393m4trace:/usr/share/aclocal-1.15/obsolete.m4:26: -1- AC_DEFUN([AM_C_PROTOTYPES], [AC_FATAL([automatic de-ANSI-fication support has been removed])]) 1394m4trace:/usr/share/aclocal-1.15/obsolete.m4:28: -1- AU_DEFUN([fp_C_PROTOTYPES], [AM_C_PROTOTYPES]) 1395m4trace:/usr/share/aclocal-1.15/obsolete.m4:28: -1- AC_DEFUN([fp_C_PROTOTYPES], [AC_DIAGNOSE([obsolete], [The macro `fp_C_PROTOTYPES' is obsolete. 1396You should run autoupdate.])dnl 1397AM_C_PROTOTYPES]) 1398m4trace:/usr/share/aclocal-1.15/options.m4:11: -1- AC_DEFUN([_AM_MANGLE_OPTION], [[_AM_OPTION_]m4_bpatsubst($1, [[^a-zA-Z0-9_]], [_])]) 1399m4trace:/usr/share/aclocal-1.15/options.m4:17: -1- AC_DEFUN([_AM_SET_OPTION], [m4_define(_AM_MANGLE_OPTION([$1]), [1])]) 1400m4trace:/usr/share/aclocal-1.15/options.m4:23: -1- AC_DEFUN([_AM_SET_OPTIONS], [m4_foreach_w([_AM_Option], [$1], [_AM_SET_OPTION(_AM_Option)])]) 1401m4trace:/usr/share/aclocal-1.15/options.m4:29: -1- AC_DEFUN([_AM_IF_OPTION], [m4_ifset(_AM_MANGLE_OPTION([$1]), [$2], [$3])]) 1402m4trace:/usr/share/aclocal-1.15/prog-cc-c-o.m4:12: -1- AC_DEFUN([_AM_PROG_CC_C_O], [AC_REQUIRE([AM_AUX_DIR_EXPAND])dnl 1403AC_REQUIRE_AUX_FILE([compile])dnl 1404AC_LANG_PUSH([C])dnl 1405AC_CACHE_CHECK( 1406 [whether $CC understands -c and -o together], 1407 [am_cv_prog_cc_c_o], 1408 [AC_LANG_CONFTEST([AC_LANG_PROGRAM([])]) 1409 # Make sure it works both with $CC and with simple cc. 1410 # Following AC_PROG_CC_C_O, we do the test twice because some 1411 # compilers refuse to overwrite an existing .o file with -o, 1412 # though they will create one. 1413 am_cv_prog_cc_c_o=yes 1414 for am_i in 1 2; do 1415 if AM_RUN_LOG([$CC -c conftest.$ac_ext -o conftest2.$ac_objext]) \ 1416 && test -f conftest2.$ac_objext; then 1417 : OK 1418 else 1419 am_cv_prog_cc_c_o=no 1420 break 1421 fi 1422 done 1423 rm -f core conftest* 1424 unset am_i]) 1425if test "$am_cv_prog_cc_c_o" != yes; then 1426 # Losing compiler, so override with the script. 1427 # FIXME: It is wrong to rewrite CC. 1428 # But if we don't then we get into trouble of one sort or another. 1429 # A longer-term fix would be to have automake use am__CC in this case, 1430 # and then we could set am__CC="\$(top_srcdir)/compile \$(CC)" 1431 CC="$am_aux_dir/compile $CC" 1432fi 1433AC_LANG_POP([C])]) 1434m4trace:/usr/share/aclocal-1.15/prog-cc-c-o.m4:47: -1- AC_DEFUN_ONCE([AM_PROG_CC_C_O], [AC_REQUIRE([AC_PROG_CC])]) 1435m4trace:/usr/share/aclocal-1.15/runlog.m4:12: -1- AC_DEFUN([AM_RUN_LOG], [{ echo "$as_me:$LINENO: $1" >&AS_MESSAGE_LOG_FD 1436 ($1) >&AS_MESSAGE_LOG_FD 2>&AS_MESSAGE_LOG_FD 1437 ac_status=$? 1438 echo "$as_me:$LINENO: \$? = $ac_status" >&AS_MESSAGE_LOG_FD 1439 (exit $ac_status); }]) 1440m4trace:/usr/share/aclocal-1.15/sanity.m4:11: -1- AC_DEFUN([AM_SANITY_CHECK], [AC_MSG_CHECKING([whether build environment is sane]) 1441# Reject unsafe characters in $srcdir or the absolute working directory 1442# name. Accept space and tab only in the latter. 1443am_lf=' 1444' 1445case `pwd` in 1446 *[[\\\"\#\$\&\'\`$am_lf]]*) 1447 AC_MSG_ERROR([unsafe absolute working directory name]);; 1448esac 1449case $srcdir in 1450 *[[\\\"\#\$\&\'\`$am_lf\ \ ]]*) 1451 AC_MSG_ERROR([unsafe srcdir value: '$srcdir']);; 1452esac 1453 1454# Do 'set' in a subshell so we don't clobber the current shell's 1455# arguments. Must try -L first in case configure is actually a 1456# symlink; some systems play weird games with the mod time of symlinks 1457# (eg FreeBSD returns the mod time of the symlink's containing 1458# directory). 1459if ( 1460 am_has_slept=no 1461 for am_try in 1 2; do 1462 echo "timestamp, slept: $am_has_slept" > conftest.file 1463 set X `ls -Lt "$srcdir/configure" conftest.file 2> /dev/null` 1464 if test "$[*]" = "X"; then 1465 # -L didn't work. 1466 set X `ls -t "$srcdir/configure" conftest.file` 1467 fi 1468 if test "$[*]" != "X $srcdir/configure conftest.file" \ 1469 && test "$[*]" != "X conftest.file $srcdir/configure"; then 1470 1471 # If neither matched, then we have a broken ls. This can happen 1472 # if, for instance, CONFIG_SHELL is bash and it inherits a 1473 # broken ls alias from the environment. This has actually 1474 # happened. Such a system could not be considered "sane". 1475 AC_MSG_ERROR([ls -t appears to fail. Make sure there is not a broken 1476 alias in your environment]) 1477 fi 1478 if test "$[2]" = conftest.file || test $am_try -eq 2; then 1479 break 1480 fi 1481 # Just in case. 1482 sleep 1 1483 am_has_slept=yes 1484 done 1485 test "$[2]" = conftest.file 1486 ) 1487then 1488 # Ok. 1489 : 1490else 1491 AC_MSG_ERROR([newly created file is older than distributed files! 1492Check your system clock]) 1493fi 1494AC_MSG_RESULT([yes]) 1495# If we didn't sleep, we still need to ensure time stamps of config.status and 1496# generated files are strictly newer. 1497am_sleep_pid= 1498if grep 'slept: no' conftest.file >/dev/null 2>&1; then 1499 ( sleep 1 ) & 1500 am_sleep_pid=$! 1501fi 1502AC_CONFIG_COMMANDS_PRE( 1503 [AC_MSG_CHECKING([that generated files are newer than configure]) 1504 if test -n "$am_sleep_pid"; then 1505 # Hide warnings about reused PIDs. 1506 wait $am_sleep_pid 2>/dev/null 1507 fi 1508 AC_MSG_RESULT([done])]) 1509rm -f conftest.file 1510]) 1511m4trace:/usr/share/aclocal-1.15/silent.m4:12: -1- AC_DEFUN([AM_SILENT_RULES], [AC_ARG_ENABLE([silent-rules], [dnl 1512AS_HELP_STRING( 1513 [--enable-silent-rules], 1514 [less verbose build output (undo: "make V=1")]) 1515AS_HELP_STRING( 1516 [--disable-silent-rules], 1517 [verbose build output (undo: "make V=0")])dnl 1518]) 1519case $enable_silent_rules in @%:@ ((( 1520 yes) AM_DEFAULT_VERBOSITY=0;; 1521 no) AM_DEFAULT_VERBOSITY=1;; 1522 *) AM_DEFAULT_VERBOSITY=m4_if([$1], [yes], [0], [1]);; 1523esac 1524dnl 1525dnl A few 'make' implementations (e.g., NonStop OS and NextStep) 1526dnl do not support nested variable expansions. 1527dnl See automake bug#9928 and bug#10237. 1528am_make=${MAKE-make} 1529AC_CACHE_CHECK([whether $am_make supports nested variables], 1530 [am_cv_make_support_nested_variables], 1531 [if AS_ECHO([['TRUE=$(BAR$(V)) 1532BAR0=false 1533BAR1=true 1534V=1 1535am__doit: 1536 @$(TRUE) 1537.PHONY: am__doit']]) | $am_make -f - >/dev/null 2>&1; then 1538 am_cv_make_support_nested_variables=yes 1539else 1540 am_cv_make_support_nested_variables=no 1541fi]) 1542if test $am_cv_make_support_nested_variables = yes; then 1543 dnl Using '$V' instead of '$(V)' breaks IRIX make. 1544 AM_V='$(V)' 1545 AM_DEFAULT_V='$(AM_DEFAULT_VERBOSITY)' 1546else 1547 AM_V=$AM_DEFAULT_VERBOSITY 1548 AM_DEFAULT_V=$AM_DEFAULT_VERBOSITY 1549fi 1550AC_SUBST([AM_V])dnl 1551AM_SUBST_NOTMAKE([AM_V])dnl 1552AC_SUBST([AM_DEFAULT_V])dnl 1553AM_SUBST_NOTMAKE([AM_DEFAULT_V])dnl 1554AC_SUBST([AM_DEFAULT_VERBOSITY])dnl 1555AM_BACKSLASH='\' 1556AC_SUBST([AM_BACKSLASH])dnl 1557_AM_SUBST_NOTMAKE([AM_BACKSLASH])dnl 1558]) 1559m4trace:/usr/share/aclocal-1.15/strip.m4:17: -1- AC_DEFUN([AM_PROG_INSTALL_STRIP], [AC_REQUIRE([AM_PROG_INSTALL_SH])dnl 1560# Installed binaries are usually stripped using 'strip' when the user 1561# run "make install-strip". However 'strip' might not be the right 1562# tool to use in cross-compilation environments, therefore Automake 1563# will honor the 'STRIP' environment variable to overrule this program. 1564dnl Don't test for $cross_compiling = yes, because it might be 'maybe'. 1565if test "$cross_compiling" != no; then 1566 AC_CHECK_TOOL([STRIP], [strip], :) 1567fi 1568INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s" 1569AC_SUBST([INSTALL_STRIP_PROGRAM])]) 1570m4trace:/usr/share/aclocal-1.15/substnot.m4:12: -1- AC_DEFUN([_AM_SUBST_NOTMAKE]) 1571m4trace:/usr/share/aclocal-1.15/substnot.m4:17: -1- AC_DEFUN([AM_SUBST_NOTMAKE], [_AM_SUBST_NOTMAKE($@)]) 1572m4trace:/usr/share/aclocal-1.15/tar.m4:23: -1- AC_DEFUN([_AM_PROG_TAR], [# Always define AMTAR for backward compatibility. Yes, it's still used 1573# in the wild :-( We should find a proper way to deprecate it ... 1574AC_SUBST([AMTAR], ['$${TAR-tar}']) 1575 1576# We'll loop over all known methods to create a tar archive until one works. 1577_am_tools='gnutar m4_if([$1], [ustar], [plaintar]) pax cpio none' 1578 1579m4_if([$1], [v7], 1580 [am__tar='$${TAR-tar} chof - "$$tardir"' am__untar='$${TAR-tar} xf -'], 1581 1582 [m4_case([$1], 1583 [ustar], 1584 [# The POSIX 1988 'ustar' format is defined with fixed-size fields. 1585 # There is notably a 21 bits limit for the UID and the GID. In fact, 1586 # the 'pax' utility can hang on bigger UID/GID (see automake bug#8343 1587 # and bug#13588). 1588 am_max_uid=2097151 # 2^21 - 1 1589 am_max_gid=$am_max_uid 1590 # The $UID and $GID variables are not portable, so we need to resort 1591 # to the POSIX-mandated id(1) utility. Errors in the 'id' calls 1592 # below are definitely unexpected, so allow the users to see them 1593 # (that is, avoid stderr redirection). 1594 am_uid=`id -u || echo unknown` 1595 am_gid=`id -g || echo unknown` 1596 AC_MSG_CHECKING([whether UID '$am_uid' is supported by ustar format]) 1597 if test $am_uid -le $am_max_uid; then 1598 AC_MSG_RESULT([yes]) 1599 else 1600 AC_MSG_RESULT([no]) 1601 _am_tools=none 1602 fi 1603 AC_MSG_CHECKING([whether GID '$am_gid' is supported by ustar format]) 1604 if test $am_gid -le $am_max_gid; then 1605 AC_MSG_RESULT([yes]) 1606 else 1607 AC_MSG_RESULT([no]) 1608 _am_tools=none 1609 fi], 1610 1611 [pax], 1612 [], 1613 1614 [m4_fatal([Unknown tar format])]) 1615 1616 AC_MSG_CHECKING([how to create a $1 tar archive]) 1617 1618 # Go ahead even if we have the value already cached. We do so because we 1619 # need to set the values for the 'am__tar' and 'am__untar' variables. 1620 _am_tools=${am_cv_prog_tar_$1-$_am_tools} 1621 1622 for _am_tool in $_am_tools; do 1623 case $_am_tool in 1624 gnutar) 1625 for _am_tar in tar gnutar gtar; do 1626 AM_RUN_LOG([$_am_tar --version]) && break 1627 done 1628 am__tar="$_am_tar --format=m4_if([$1], [pax], [posix], [$1]) -chf - "'"$$tardir"' 1629 am__tar_="$_am_tar --format=m4_if([$1], [pax], [posix], [$1]) -chf - "'"$tardir"' 1630 am__untar="$_am_tar -xf -" 1631 ;; 1632 plaintar) 1633 # Must skip GNU tar: if it does not support --format= it doesn't create 1634 # ustar tarball either. 1635 (tar --version) >/dev/null 2>&1 && continue 1636 am__tar='tar chf - "$$tardir"' 1637 am__tar_='tar chf - "$tardir"' 1638 am__untar='tar xf -' 1639 ;; 1640 pax) 1641 am__tar='pax -L -x $1 -w "$$tardir"' 1642 am__tar_='pax -L -x $1 -w "$tardir"' 1643 am__untar='pax -r' 1644 ;; 1645 cpio) 1646 am__tar='find "$$tardir" -print | cpio -o -H $1 -L' 1647 am__tar_='find "$tardir" -print | cpio -o -H $1 -L' 1648 am__untar='cpio -i -H $1 -d' 1649 ;; 1650 none) 1651 am__tar=false 1652 am__tar_=false 1653 am__untar=false 1654 ;; 1655 esac 1656 1657 # If the value was cached, stop now. We just wanted to have am__tar 1658 # and am__untar set. 1659 test -n "${am_cv_prog_tar_$1}" && break 1660 1661 # tar/untar a dummy directory, and stop if the command works. 1662 rm -rf conftest.dir 1663 mkdir conftest.dir 1664 echo GrepMe > conftest.dir/file 1665 AM_RUN_LOG([tardir=conftest.dir && eval $am__tar_ >conftest.tar]) 1666 rm -rf conftest.dir 1667 if test -s conftest.tar; then 1668 AM_RUN_LOG([$am__untar <conftest.tar]) 1669 AM_RUN_LOG([cat conftest.dir/file]) 1670 grep GrepMe conftest.dir/file >/dev/null 2>&1 && break 1671 fi 1672 done 1673 rm -rf conftest.dir 1674 1675 AC_CACHE_VAL([am_cv_prog_tar_$1], [am_cv_prog_tar_$1=$_am_tool]) 1676 AC_MSG_RESULT([$am_cv_prog_tar_$1])]) 1677 1678AC_SUBST([am__tar]) 1679AC_SUBST([am__untar]) 1680]) 1681m4trace:m4/codeset.m4:9: -1- AC_DEFUN([AM_LANGINFO_CODESET], [ 1682 AC_CACHE_CHECK([for nl_langinfo and CODESET], [am_cv_langinfo_codeset], 1683 [AC_LINK_IFELSE( 1684 [AC_LANG_PROGRAM( 1685 [[#include <langinfo.h>]], 1686 [[char* cs = nl_langinfo(CODESET); return !cs;]])], 1687 [am_cv_langinfo_codeset=yes], 1688 [am_cv_langinfo_codeset=no]) 1689 ]) 1690 if test $am_cv_langinfo_codeset = yes; then 1691 AC_DEFINE([HAVE_LANGINFO_CODESET], [1], 1692 [Define if you have <langinfo.h> and nl_langinfo(CODESET).]) 1693 fi 1694]) 1695m4trace:m4/extern-inline.m4:8: -1- AC_DEFUN([gl_EXTERN_INLINE], [ 1696 AH_VERBATIM([extern_inline], 1697[/* Please see the Gnulib manual for how to use these macros. 1698 1699 Suppress extern inline with HP-UX cc, as it appears to be broken; see 1700 <http://lists.gnu.org/archive/html/bug-texinfo/2013-02/msg00030.html>. 1701 1702 Suppress extern inline with Sun C in standards-conformance mode, as it 1703 mishandles inline functions that call each other. E.g., for 'inline void f 1704 (void) { } inline void g (void) { f (); }', c99 incorrectly complains 1705 'reference to static identifier "f" in extern inline function'. 1706 This bug was observed with Sun C 5.12 SunOS_i386 2011/11/16. 1707 1708 Suppress the use of extern inline on problematic Apple configurations. 1709 OS X 10.8 and earlier mishandle it; see, e.g., 1710 <http://lists.gnu.org/archive/html/bug-gnulib/2012-12/msg00023.html>. 1711 OS X 10.9 has a macro __header_inline indicating the bug is fixed for C and 1712 for clang but remains for g++; see <http://trac.macports.org/ticket/41033>. 1713 Perhaps Apple will fix this some day. */ 1714#if (defined __APPLE__ \ 1715 && (defined __header_inline \ 1716 ? (defined __cplusplus && defined __GNUC_STDC_INLINE__ \ 1717 && ! defined __clang__) \ 1718 : ((! defined _DONT_USE_CTYPE_INLINE_ \ 1719 && (defined __GNUC__ || defined __cplusplus)) \ 1720 || (defined _FORTIFY_SOURCE && 0 < _FORTIFY_SOURCE \ 1721 && defined __GNUC__ && ! defined __cplusplus)))) 1722# define _GL_EXTERN_INLINE_APPLE_BUG 1723#endif 1724#if ((__GNUC__ \ 1725 ? defined __GNUC_STDC_INLINE__ && __GNUC_STDC_INLINE__ \ 1726 : (199901L <= __STDC_VERSION__ \ 1727 && !defined __HP_cc \ 1728 && !(defined __SUNPRO_C && __STDC__))) \ 1729 && !defined _GL_EXTERN_INLINE_APPLE_BUG) 1730# define _GL_INLINE inline 1731# define _GL_EXTERN_INLINE extern inline 1732# define _GL_EXTERN_INLINE_IN_USE 1733#elif (2 < __GNUC__ + (7 <= __GNUC_MINOR__) && !defined __STRICT_ANSI__ \ 1734 && !defined _GL_EXTERN_INLINE_APPLE_BUG) 1735# if defined __GNUC_GNU_INLINE__ && __GNUC_GNU_INLINE__ 1736 /* __gnu_inline__ suppresses a GCC 4.2 diagnostic. */ 1737# define _GL_INLINE extern inline __attribute__ ((__gnu_inline__)) 1738# else 1739# define _GL_INLINE extern inline 1740# endif 1741# define _GL_EXTERN_INLINE extern 1742# define _GL_EXTERN_INLINE_IN_USE 1743#else 1744# define _GL_INLINE static _GL_UNUSED 1745# define _GL_EXTERN_INLINE static _GL_UNUSED 1746#endif 1747 1748#if 4 < __GNUC__ + (6 <= __GNUC_MINOR__) 1749# if defined __GNUC_STDC_INLINE__ && __GNUC_STDC_INLINE__ 1750# define _GL_INLINE_HEADER_CONST_PRAGMA 1751# else 1752# define _GL_INLINE_HEADER_CONST_PRAGMA \ 1753 _Pragma ("GCC diagnostic ignored \"-Wsuggest-attribute=const\"") 1754# endif 1755 /* Suppress GCC's bogus "no previous prototype for 'FOO'" 1756 and "no previous declaration for 'FOO'" diagnostics, 1757 when FOO is an inline function in the header; see 1758 <http://gcc.gnu.org/bugzilla/show_bug.cgi?id=54113>. */ 1759# define _GL_INLINE_HEADER_BEGIN \ 1760 _Pragma ("GCC diagnostic push") \ 1761 _Pragma ("GCC diagnostic ignored \"-Wmissing-prototypes\"") \ 1762 _Pragma ("GCC diagnostic ignored \"-Wmissing-declarations\"") \ 1763 _GL_INLINE_HEADER_CONST_PRAGMA 1764# define _GL_INLINE_HEADER_END \ 1765 _Pragma ("GCC diagnostic pop") 1766#else 1767# define _GL_INLINE_HEADER_BEGIN 1768# define _GL_INLINE_HEADER_END 1769#endif]) 1770]) 1771m4trace:m4/fcntl-o.m4:12: -1- AC_DEFUN([gl_FCNTL_O_FLAGS], [ 1772 dnl Persuade glibc <fcntl.h> to define O_NOATIME and O_NOFOLLOW. 1773 dnl AC_USE_SYSTEM_EXTENSIONS was introduced in autoconf 2.60 and obsoletes 1774 dnl AC_GNU_SOURCE. 1775 m4_ifdef([AC_USE_SYSTEM_EXTENSIONS], 1776 [AC_REQUIRE([AC_USE_SYSTEM_EXTENSIONS])], 1777 [AC_REQUIRE([AC_GNU_SOURCE])]) 1778 1779 AC_CHECK_HEADERS_ONCE([unistd.h]) 1780 AC_CHECK_FUNCS_ONCE([symlink]) 1781 AC_CACHE_CHECK([for working fcntl.h], [gl_cv_header_working_fcntl_h], 1782 [AC_RUN_IFELSE( 1783 [AC_LANG_PROGRAM( 1784 [[#include <sys/types.h> 1785 #include <sys/stat.h> 1786 #if HAVE_UNISTD_H 1787 # include <unistd.h> 1788 #else /* on Windows with MSVC */ 1789 # include <io.h> 1790 # include <stdlib.h> 1791 # defined sleep(n) _sleep ((n) * 1000) 1792 #endif 1793 #include <fcntl.h> 1794 #ifndef O_NOATIME 1795 #define O_NOATIME 0 1796 #endif 1797 #ifndef O_NOFOLLOW 1798 #define O_NOFOLLOW 0 1799 #endif 1800 static int const constants[] = 1801 { 1802 O_CREAT, O_EXCL, O_NOCTTY, O_TRUNC, O_APPEND, 1803 O_NONBLOCK, O_SYNC, O_ACCMODE, O_RDONLY, O_RDWR, O_WRONLY 1804 }; 1805 ]], 1806 [[ 1807 int result = !constants; 1808 #if HAVE_SYMLINK 1809 { 1810 static char const sym[] = "conftest.sym"; 1811 if (symlink ("/dev/null", sym) != 0) 1812 result |= 2; 1813 else 1814 { 1815 int fd = open (sym, O_WRONLY | O_NOFOLLOW | O_CREAT, 0); 1816 if (fd >= 0) 1817 { 1818 close (fd); 1819 result |= 4; 1820 } 1821 } 1822 if (unlink (sym) != 0 || symlink (".", sym) != 0) 1823 result |= 2; 1824 else 1825 { 1826 int fd = open (sym, O_RDONLY | O_NOFOLLOW); 1827 if (fd >= 0) 1828 { 1829 close (fd); 1830 result |= 4; 1831 } 1832 } 1833 unlink (sym); 1834 } 1835 #endif 1836 { 1837 static char const file[] = "confdefs.h"; 1838 int fd = open (file, O_RDONLY | O_NOATIME); 1839 if (fd < 0) 1840 result |= 8; 1841 else 1842 { 1843 struct stat st0; 1844 if (fstat (fd, &st0) != 0) 1845 result |= 16; 1846 else 1847 { 1848 char c; 1849 sleep (1); 1850 if (read (fd, &c, 1) != 1) 1851 result |= 24; 1852 else 1853 { 1854 if (close (fd) != 0) 1855 result |= 32; 1856 else 1857 { 1858 struct stat st1; 1859 if (stat (file, &st1) != 0) 1860 result |= 40; 1861 else 1862 if (st0.st_atime != st1.st_atime) 1863 result |= 64; 1864 } 1865 } 1866 } 1867 } 1868 } 1869 return result;]])], 1870 [gl_cv_header_working_fcntl_h=yes], 1871 [case $? in #( 1872 4) gl_cv_header_working_fcntl_h='no (bad O_NOFOLLOW)';; #( 1873 64) gl_cv_header_working_fcntl_h='no (bad O_NOATIME)';; #( 1874 68) gl_cv_header_working_fcntl_h='no (bad O_NOATIME, O_NOFOLLOW)';; #( 1875 *) gl_cv_header_working_fcntl_h='no';; 1876 esac], 1877 [gl_cv_header_working_fcntl_h=cross-compiling])]) 1878 1879 case $gl_cv_header_working_fcntl_h in #( 1880 *O_NOATIME* | no | cross-compiling) ac_val=0;; #( 1881 *) ac_val=1;; 1882 esac 1883 AC_DEFINE_UNQUOTED([HAVE_WORKING_O_NOATIME], [$ac_val], 1884 [Define to 1 if O_NOATIME works.]) 1885 1886 case $gl_cv_header_working_fcntl_h in #( 1887 *O_NOFOLLOW* | no | cross-compiling) ac_val=0;; #( 1888 *) ac_val=1;; 1889 esac 1890 AC_DEFINE_UNQUOTED([HAVE_WORKING_O_NOFOLLOW], [$ac_val], 1891 [Define to 1 if O_NOFOLLOW works.]) 1892]) 1893m4trace:m4/gettext.m4:57: -1- AC_DEFUN([AM_GNU_GETTEXT], [ 1894 dnl Argument checking. 1895 ifelse([$1], [], , [ifelse([$1], [external], , [ifelse([$1], [no-libtool], , [ifelse([$1], [use-libtool], , 1896 [errprint([ERROR: invalid first argument to AM_GNU_GETTEXT 1897])])])])]) 1898 ifelse(ifelse([$1], [], [old])[]ifelse([$1], [no-libtool], [old]), [old], 1899 [AC_DIAGNOSE([obsolete], [Use of AM_GNU_GETTEXT without [external] argument is deprecated.])]) 1900 ifelse([$2], [], , [ifelse([$2], [need-ngettext], , [ifelse([$2], [need-formatstring-macros], , 1901 [errprint([ERROR: invalid second argument to AM_GNU_GETTEXT 1902])])])]) 1903 define([gt_included_intl], 1904 ifelse([$1], [external], 1905 ifdef([AM_GNU_GETTEXT_][INTL_SUBDIR], [yes], [no]), 1906 [yes])) 1907 define([gt_libtool_suffix_prefix], ifelse([$1], [use-libtool], [l], [])) 1908 gt_NEEDS_INIT 1909 AM_GNU_GETTEXT_NEED([$2]) 1910 1911 AC_REQUIRE([AM_PO_SUBDIRS])dnl 1912 ifelse(gt_included_intl, yes, [ 1913 AC_REQUIRE([AM_INTL_SUBDIR])dnl 1914 ]) 1915 1916 dnl Prerequisites of AC_LIB_LINKFLAGS_BODY. 1917 AC_REQUIRE([AC_LIB_PREPARE_PREFIX]) 1918 AC_REQUIRE([AC_LIB_RPATH]) 1919 1920 dnl Sometimes libintl requires libiconv, so first search for libiconv. 1921 dnl Ideally we would do this search only after the 1922 dnl if test "$USE_NLS" = "yes"; then 1923 dnl if { eval "gt_val=\$$gt_func_gnugettext_libc"; test "$gt_val" != "yes"; }; then 1924 dnl tests. But if configure.in invokes AM_ICONV after AM_GNU_GETTEXT 1925 dnl the configure script would need to contain the same shell code 1926 dnl again, outside any 'if'. There are two solutions: 1927 dnl - Invoke AM_ICONV_LINKFLAGS_BODY here, outside any 'if'. 1928 dnl - Control the expansions in more detail using AC_PROVIDE_IFELSE. 1929 dnl Since AC_PROVIDE_IFELSE is only in autoconf >= 2.52 and not 1930 dnl documented, we avoid it. 1931 ifelse(gt_included_intl, yes, , [ 1932 AC_REQUIRE([AM_ICONV_LINKFLAGS_BODY]) 1933 ]) 1934 1935 dnl Sometimes, on Mac OS X, libintl requires linking with CoreFoundation. 1936 gt_INTL_MACOSX 1937 1938 dnl Set USE_NLS. 1939 AC_REQUIRE([AM_NLS]) 1940 1941 ifelse(gt_included_intl, yes, [ 1942 BUILD_INCLUDED_LIBINTL=no 1943 USE_INCLUDED_LIBINTL=no 1944 ]) 1945 LIBINTL= 1946 LTLIBINTL= 1947 POSUB= 1948 1949 dnl Add a version number to the cache macros. 1950 case " $gt_needs " in 1951 *" need-formatstring-macros "*) gt_api_version=3 ;; 1952 *" need-ngettext "*) gt_api_version=2 ;; 1953 *) gt_api_version=1 ;; 1954 esac 1955 gt_func_gnugettext_libc="gt_cv_func_gnugettext${gt_api_version}_libc" 1956 gt_func_gnugettext_libintl="gt_cv_func_gnugettext${gt_api_version}_libintl" 1957 1958 dnl If we use NLS figure out what method 1959 if test "$USE_NLS" = "yes"; then 1960 gt_use_preinstalled_gnugettext=no 1961 ifelse(gt_included_intl, yes, [ 1962 AC_MSG_CHECKING([whether included gettext is requested]) 1963 AC_ARG_WITH([included-gettext], 1964 [ --with-included-gettext use the GNU gettext library included here], 1965 nls_cv_force_use_gnu_gettext=$withval, 1966 nls_cv_force_use_gnu_gettext=no) 1967 AC_MSG_RESULT([$nls_cv_force_use_gnu_gettext]) 1968 1969 nls_cv_use_gnu_gettext="$nls_cv_force_use_gnu_gettext" 1970 if test "$nls_cv_force_use_gnu_gettext" != "yes"; then 1971 ]) 1972 dnl User does not insist on using GNU NLS library. Figure out what 1973 dnl to use. If GNU gettext is available we use this. Else we have 1974 dnl to fall back to GNU NLS library. 1975 1976 if test $gt_api_version -ge 3; then 1977 gt_revision_test_code=' 1978#ifndef __GNU_GETTEXT_SUPPORTED_REVISION 1979#define __GNU_GETTEXT_SUPPORTED_REVISION(major) ((major) == 0 ? 0 : -1) 1980#endif 1981changequote(,)dnl 1982typedef int array [2 * (__GNU_GETTEXT_SUPPORTED_REVISION(0) >= 1) - 1]; 1983changequote([,])dnl 1984' 1985 else 1986 gt_revision_test_code= 1987 fi 1988 if test $gt_api_version -ge 2; then 1989 gt_expression_test_code=' + * ngettext ("", "", 0)' 1990 else 1991 gt_expression_test_code= 1992 fi 1993 1994 AC_CACHE_CHECK([for GNU gettext in libc], [$gt_func_gnugettext_libc], 1995 [AC_LINK_IFELSE( 1996 [AC_LANG_PROGRAM( 1997 [[ 1998#include <libintl.h> 1999$gt_revision_test_code 2000extern int _nl_msg_cat_cntr; 2001extern int *_nl_domain_bindings; 2002 ]], 2003 [[ 2004bindtextdomain ("", ""); 2005return * gettext ("")$gt_expression_test_code + _nl_msg_cat_cntr + *_nl_domain_bindings 2006 ]])], 2007 [eval "$gt_func_gnugettext_libc=yes"], 2008 [eval "$gt_func_gnugettext_libc=no"])]) 2009 2010 if { eval "gt_val=\$$gt_func_gnugettext_libc"; test "$gt_val" != "yes"; }; then 2011 dnl Sometimes libintl requires libiconv, so first search for libiconv. 2012 ifelse(gt_included_intl, yes, , [ 2013 AM_ICONV_LINK 2014 ]) 2015 dnl Search for libintl and define LIBINTL, LTLIBINTL and INCINTL 2016 dnl accordingly. Don't use AC_LIB_LINKFLAGS_BODY([intl],[iconv]) 2017 dnl because that would add "-liconv" to LIBINTL and LTLIBINTL 2018 dnl even if libiconv doesn't exist. 2019 AC_LIB_LINKFLAGS_BODY([intl]) 2020 AC_CACHE_CHECK([for GNU gettext in libintl], 2021 [$gt_func_gnugettext_libintl], 2022 [gt_save_CPPFLAGS="$CPPFLAGS" 2023 CPPFLAGS="$CPPFLAGS $INCINTL" 2024 gt_save_LIBS="$LIBS" 2025 LIBS="$LIBS $LIBINTL" 2026 dnl Now see whether libintl exists and does not depend on libiconv. 2027 AC_LINK_IFELSE( 2028 [AC_LANG_PROGRAM( 2029 [[ 2030#include <libintl.h> 2031$gt_revision_test_code 2032extern int _nl_msg_cat_cntr; 2033extern 2034#ifdef __cplusplus 2035"C" 2036#endif 2037const char *_nl_expand_alias (const char *); 2038 ]], 2039 [[ 2040bindtextdomain ("", ""); 2041return * gettext ("")$gt_expression_test_code + _nl_msg_cat_cntr + *_nl_expand_alias ("") 2042 ]])], 2043 [eval "$gt_func_gnugettext_libintl=yes"], 2044 [eval "$gt_func_gnugettext_libintl=no"]) 2045 dnl Now see whether libintl exists and depends on libiconv. 2046 if { eval "gt_val=\$$gt_func_gnugettext_libintl"; test "$gt_val" != yes; } && test -n "$LIBICONV"; then 2047 LIBS="$LIBS $LIBICONV" 2048 AC_LINK_IFELSE( 2049 [AC_LANG_PROGRAM( 2050 [[ 2051#include <libintl.h> 2052$gt_revision_test_code 2053extern int _nl_msg_cat_cntr; 2054extern 2055#ifdef __cplusplus 2056"C" 2057#endif 2058const char *_nl_expand_alias (const char *); 2059 ]], 2060 [[ 2061bindtextdomain ("", ""); 2062return * gettext ("")$gt_expression_test_code + _nl_msg_cat_cntr + *_nl_expand_alias ("") 2063 ]])], 2064 [LIBINTL="$LIBINTL $LIBICONV" 2065 LTLIBINTL="$LTLIBINTL $LTLIBICONV" 2066 eval "$gt_func_gnugettext_libintl=yes" 2067 ]) 2068 fi 2069 CPPFLAGS="$gt_save_CPPFLAGS" 2070 LIBS="$gt_save_LIBS"]) 2071 fi 2072 2073 dnl If an already present or preinstalled GNU gettext() is found, 2074 dnl use it. But if this macro is used in GNU gettext, and GNU 2075 dnl gettext is already preinstalled in libintl, we update this 2076 dnl libintl. (Cf. the install rule in intl/Makefile.in.) 2077 if { eval "gt_val=\$$gt_func_gnugettext_libc"; test "$gt_val" = "yes"; } \ 2078 || { { eval "gt_val=\$$gt_func_gnugettext_libintl"; test "$gt_val" = "yes"; } \ 2079 && test "$PACKAGE" != gettext-runtime \ 2080 && test "$PACKAGE" != gettext-tools; }; then 2081 gt_use_preinstalled_gnugettext=yes 2082 else 2083 dnl Reset the values set by searching for libintl. 2084 LIBINTL= 2085 LTLIBINTL= 2086 INCINTL= 2087 fi 2088 2089 ifelse(gt_included_intl, yes, [ 2090 if test "$gt_use_preinstalled_gnugettext" != "yes"; then 2091 dnl GNU gettext is not found in the C library. 2092 dnl Fall back on included GNU gettext library. 2093 nls_cv_use_gnu_gettext=yes 2094 fi 2095 fi 2096 2097 if test "$nls_cv_use_gnu_gettext" = "yes"; then 2098 dnl Mark actions used to generate GNU NLS library. 2099 BUILD_INCLUDED_LIBINTL=yes 2100 USE_INCLUDED_LIBINTL=yes 2101 LIBINTL="ifelse([$3],[],\${top_builddir}/intl,[$3])/libintl.[]gt_libtool_suffix_prefix[]a $LIBICONV $LIBTHREAD" 2102 LTLIBINTL="ifelse([$3],[],\${top_builddir}/intl,[$3])/libintl.[]gt_libtool_suffix_prefix[]a $LTLIBICONV $LTLIBTHREAD" 2103 LIBS=`echo " $LIBS " | sed -e 's/ -lintl / /' -e 's/^ //' -e 's/ $//'` 2104 fi 2105 2106 CATOBJEXT= 2107 if test "$gt_use_preinstalled_gnugettext" = "yes" \ 2108 || test "$nls_cv_use_gnu_gettext" = "yes"; then 2109 dnl Mark actions to use GNU gettext tools. 2110 CATOBJEXT=.gmo 2111 fi 2112 ]) 2113 2114 if test -n "$INTL_MACOSX_LIBS"; then 2115 if test "$gt_use_preinstalled_gnugettext" = "yes" \ 2116 || test "$nls_cv_use_gnu_gettext" = "yes"; then 2117 dnl Some extra flags are needed during linking. 2118 LIBINTL="$LIBINTL $INTL_MACOSX_LIBS" 2119 LTLIBINTL="$LTLIBINTL $INTL_MACOSX_LIBS" 2120 fi 2121 fi 2122 2123 if test "$gt_use_preinstalled_gnugettext" = "yes" \ 2124 || test "$nls_cv_use_gnu_gettext" = "yes"; then 2125 AC_DEFINE([ENABLE_NLS], [1], 2126 [Define to 1 if translation of program messages to the user's native language 2127 is requested.]) 2128 else 2129 USE_NLS=no 2130 fi 2131 fi 2132 2133 AC_MSG_CHECKING([whether to use NLS]) 2134 AC_MSG_RESULT([$USE_NLS]) 2135 if test "$USE_NLS" = "yes"; then 2136 AC_MSG_CHECKING([where the gettext function comes from]) 2137 if test "$gt_use_preinstalled_gnugettext" = "yes"; then 2138 if { eval "gt_val=\$$gt_func_gnugettext_libintl"; test "$gt_val" = "yes"; }; then 2139 gt_source="external libintl" 2140 else 2141 gt_source="libc" 2142 fi 2143 else 2144 gt_source="included intl directory" 2145 fi 2146 AC_MSG_RESULT([$gt_source]) 2147 fi 2148 2149 if test "$USE_NLS" = "yes"; then 2150 2151 if test "$gt_use_preinstalled_gnugettext" = "yes"; then 2152 if { eval "gt_val=\$$gt_func_gnugettext_libintl"; test "$gt_val" = "yes"; }; then 2153 AC_MSG_CHECKING([how to link with libintl]) 2154 AC_MSG_RESULT([$LIBINTL]) 2155 AC_LIB_APPENDTOVAR([CPPFLAGS], [$INCINTL]) 2156 fi 2157 2158 dnl For backward compatibility. Some packages may be using this. 2159 AC_DEFINE([HAVE_GETTEXT], [1], 2160 [Define if the GNU gettext() function is already present or preinstalled.]) 2161 AC_DEFINE([HAVE_DCGETTEXT], [1], 2162 [Define if the GNU dcgettext() function is already present or preinstalled.]) 2163 fi 2164 2165 dnl We need to process the po/ directory. 2166 POSUB=po 2167 fi 2168 2169 ifelse(gt_included_intl, yes, [ 2170 dnl If this is used in GNU gettext we have to set BUILD_INCLUDED_LIBINTL 2171 dnl to 'yes' because some of the testsuite requires it. 2172 if test "$PACKAGE" = gettext-runtime || test "$PACKAGE" = gettext-tools; then 2173 BUILD_INCLUDED_LIBINTL=yes 2174 fi 2175 2176 dnl Make all variables we use known to autoconf. 2177 AC_SUBST([BUILD_INCLUDED_LIBINTL]) 2178 AC_SUBST([USE_INCLUDED_LIBINTL]) 2179 AC_SUBST([CATOBJEXT]) 2180 2181 dnl For backward compatibility. Some configure.ins may be using this. 2182 nls_cv_header_intl= 2183 nls_cv_header_libgt= 2184 2185 dnl For backward compatibility. Some Makefiles may be using this. 2186 DATADIRNAME=share 2187 AC_SUBST([DATADIRNAME]) 2188 2189 dnl For backward compatibility. Some Makefiles may be using this. 2190 INSTOBJEXT=.mo 2191 AC_SUBST([INSTOBJEXT]) 2192 2193 dnl For backward compatibility. Some Makefiles may be using this. 2194 GENCAT=gencat 2195 AC_SUBST([GENCAT]) 2196 2197 dnl For backward compatibility. Some Makefiles may be using this. 2198 INTLOBJS= 2199 if test "$USE_INCLUDED_LIBINTL" = yes; then 2200 INTLOBJS="\$(GETTOBJS)" 2201 fi 2202 AC_SUBST([INTLOBJS]) 2203 2204 dnl Enable libtool support if the surrounding package wishes it. 2205 INTL_LIBTOOL_SUFFIX_PREFIX=gt_libtool_suffix_prefix 2206 AC_SUBST([INTL_LIBTOOL_SUFFIX_PREFIX]) 2207 ]) 2208 2209 dnl For backward compatibility. Some Makefiles may be using this. 2210 INTLLIBS="$LIBINTL" 2211 AC_SUBST([INTLLIBS]) 2212 2213 dnl Make all documented variables known to autoconf. 2214 AC_SUBST([LIBINTL]) 2215 AC_SUBST([LTLIBINTL]) 2216 AC_SUBST([POSUB]) 2217]) 2218m4trace:m4/gettext.m4:394: -1- AC_DEFUN([AM_GNU_GETTEXT_NEED], [ 2219 m4_divert_text([INIT_PREPARE], [gt_needs="$gt_needs $1"]) 2220]) 2221m4trace:m4/gettext.m4:401: -1- AC_DEFUN([AM_GNU_GETTEXT_VERSION], []) 2222m4trace:m4/glibc2.m4:11: -1- AC_DEFUN([gt_GLIBC2], [ 2223 AC_CACHE_CHECK([whether we are using the GNU C Library 2 or newer], 2224 [ac_cv_gnu_library_2], 2225 [AC_EGREP_CPP([Lucky GNU user], 2226 [ 2227#include <features.h> 2228#ifdef __GNU_LIBRARY__ 2229 #if (__GLIBC__ >= 2) && !defined __UCLIBC__ 2230 Lucky GNU user 2231 #endif 2232#endif 2233 ], 2234 [ac_cv_gnu_library_2=yes], 2235 [ac_cv_gnu_library_2=no]) 2236 ] 2237 ) 2238 AC_SUBST([GLIBC2]) 2239 GLIBC2="$ac_cv_gnu_library_2" 2240 2241]) 2242m4trace:m4/glibc21.m4:11: -1- AC_DEFUN([gl_GLIBC21], [ 2243 AC_CACHE_CHECK([whether we are using the GNU C Library >= 2.1 or uClibc], 2244 [ac_cv_gnu_library_2_1], 2245 [AC_EGREP_CPP([Lucky], 2246 [ 2247#include <features.h> 2248#ifdef __GNU_LIBRARY__ 2249 #if (__GLIBC__ == 2 && __GLIBC_MINOR__ >= 1) || (__GLIBC__ > 2) 2250 Lucky GNU user 2251 #endif 2252#endif 2253#ifdef __UCLIBC__ 2254 Lucky user 2255#endif 2256 ], 2257 [ac_cv_gnu_library_2_1=yes], 2258 [ac_cv_gnu_library_2_1=no]) 2259 ] 2260 ) 2261 AC_SUBST([GLIBC21]) 2262 GLIBC21="$ac_cv_gnu_library_2_1" 2263 2264]) 2265m4trace:m4/iconv.m4:9: -1- AC_DEFUN([AM_ICONV_LINKFLAGS_BODY], [ 2266 dnl Prerequisites of AC_LIB_LINKFLAGS_BODY. 2267 AC_REQUIRE([AC_LIB_PREPARE_PREFIX]) 2268 AC_REQUIRE([AC_LIB_RPATH]) 2269 2270 dnl Search for libiconv and define LIBICONV, LTLIBICONV and INCICONV 2271 dnl accordingly. 2272 AC_LIB_LINKFLAGS_BODY([iconv]) 2273]) 2274m4trace:m4/iconv.m4:20: -1- AC_DEFUN([AM_ICONV_LINK], [ 2275 dnl Some systems have iconv in libc, some have it in libiconv (OSF/1 and 2276 dnl those with the standalone portable GNU libiconv installed). 2277 AC_REQUIRE([AC_CANONICAL_HOST]) dnl for cross-compiles 2278 2279 dnl Search for libiconv and define LIBICONV, LTLIBICONV and INCICONV 2280 dnl accordingly. 2281 AC_REQUIRE([AM_ICONV_LINKFLAGS_BODY]) 2282 2283 dnl Add $INCICONV to CPPFLAGS before performing the following checks, 2284 dnl because if the user has installed libiconv and not disabled its use 2285 dnl via --without-libiconv-prefix, he wants to use it. The first 2286 dnl AC_LINK_IFELSE will then fail, the second AC_LINK_IFELSE will succeed. 2287 am_save_CPPFLAGS="$CPPFLAGS" 2288 AC_LIB_APPENDTOVAR([CPPFLAGS], [$INCICONV]) 2289 2290 AC_CACHE_CHECK([for iconv], [am_cv_func_iconv], [ 2291 am_cv_func_iconv="no, consider installing GNU libiconv" 2292 am_cv_lib_iconv=no 2293 AC_LINK_IFELSE( 2294 [AC_LANG_PROGRAM( 2295 [[ 2296#include <stdlib.h> 2297#include <iconv.h> 2298 ]], 2299 [[iconv_t cd = iconv_open("",""); 2300 iconv(cd,NULL,NULL,NULL,NULL); 2301 iconv_close(cd);]])], 2302 [am_cv_func_iconv=yes]) 2303 if test "$am_cv_func_iconv" != yes; then 2304 am_save_LIBS="$LIBS" 2305 LIBS="$LIBS $LIBICONV" 2306 AC_LINK_IFELSE( 2307 [AC_LANG_PROGRAM( 2308 [[ 2309#include <stdlib.h> 2310#include <iconv.h> 2311 ]], 2312 [[iconv_t cd = iconv_open("",""); 2313 iconv(cd,NULL,NULL,NULL,NULL); 2314 iconv_close(cd);]])], 2315 [am_cv_lib_iconv=yes] 2316 [am_cv_func_iconv=yes]) 2317 LIBS="$am_save_LIBS" 2318 fi 2319 ]) 2320 if test "$am_cv_func_iconv" = yes; then 2321 AC_CACHE_CHECK([for working iconv], [am_cv_func_iconv_works], [ 2322 dnl This tests against bugs in AIX 5.1, AIX 6.1..7.1, HP-UX 11.11, 2323 dnl Solaris 10. 2324 am_save_LIBS="$LIBS" 2325 if test $am_cv_lib_iconv = yes; then 2326 LIBS="$LIBS $LIBICONV" 2327 fi 2328 AC_RUN_IFELSE( 2329 [AC_LANG_SOURCE([[ 2330#include <iconv.h> 2331#include <string.h> 2332int main () 2333{ 2334 int result = 0; 2335 /* Test against AIX 5.1 bug: Failures are not distinguishable from successful 2336 returns. */ 2337 { 2338 iconv_t cd_utf8_to_88591 = iconv_open ("ISO8859-1", "UTF-8"); 2339 if (cd_utf8_to_88591 != (iconv_t)(-1)) 2340 { 2341 static const char input[] = "\342\202\254"; /* EURO SIGN */ 2342 char buf[10]; 2343 const char *inptr = input; 2344 size_t inbytesleft = strlen (input); 2345 char *outptr = buf; 2346 size_t outbytesleft = sizeof (buf); 2347 size_t res = iconv (cd_utf8_to_88591, 2348 (char **) &inptr, &inbytesleft, 2349 &outptr, &outbytesleft); 2350 if (res == 0) 2351 result |= 1; 2352 iconv_close (cd_utf8_to_88591); 2353 } 2354 } 2355 /* Test against Solaris 10 bug: Failures are not distinguishable from 2356 successful returns. */ 2357 { 2358 iconv_t cd_ascii_to_88591 = iconv_open ("ISO8859-1", "646"); 2359 if (cd_ascii_to_88591 != (iconv_t)(-1)) 2360 { 2361 static const char input[] = "\263"; 2362 char buf[10]; 2363 const char *inptr = input; 2364 size_t inbytesleft = strlen (input); 2365 char *outptr = buf; 2366 size_t outbytesleft = sizeof (buf); 2367 size_t res = iconv (cd_ascii_to_88591, 2368 (char **) &inptr, &inbytesleft, 2369 &outptr, &outbytesleft); 2370 if (res == 0) 2371 result |= 2; 2372 iconv_close (cd_ascii_to_88591); 2373 } 2374 } 2375 /* Test against AIX 6.1..7.1 bug: Buffer overrun. */ 2376 { 2377 iconv_t cd_88591_to_utf8 = iconv_open ("UTF-8", "ISO-8859-1"); 2378 if (cd_88591_to_utf8 != (iconv_t)(-1)) 2379 { 2380 static const char input[] = "\304"; 2381 static char buf[2] = { (char)0xDE, (char)0xAD }; 2382 const char *inptr = input; 2383 size_t inbytesleft = 1; 2384 char *outptr = buf; 2385 size_t outbytesleft = 1; 2386 size_t res = iconv (cd_88591_to_utf8, 2387 (char **) &inptr, &inbytesleft, 2388 &outptr, &outbytesleft); 2389 if (res != (size_t)(-1) || outptr - buf > 1 || buf[1] != (char)0xAD) 2390 result |= 4; 2391 iconv_close (cd_88591_to_utf8); 2392 } 2393 } 2394#if 0 /* This bug could be worked around by the caller. */ 2395 /* Test against HP-UX 11.11 bug: Positive return value instead of 0. */ 2396 { 2397 iconv_t cd_88591_to_utf8 = iconv_open ("utf8", "iso88591"); 2398 if (cd_88591_to_utf8 != (iconv_t)(-1)) 2399 { 2400 static const char input[] = "\304rger mit b\366sen B\374bchen ohne Augenma\337"; 2401 char buf[50]; 2402 const char *inptr = input; 2403 size_t inbytesleft = strlen (input); 2404 char *outptr = buf; 2405 size_t outbytesleft = sizeof (buf); 2406 size_t res = iconv (cd_88591_to_utf8, 2407 (char **) &inptr, &inbytesleft, 2408 &outptr, &outbytesleft); 2409 if ((int)res > 0) 2410 result |= 8; 2411 iconv_close (cd_88591_to_utf8); 2412 } 2413 } 2414#endif 2415 /* Test against HP-UX 11.11 bug: No converter from EUC-JP to UTF-8 is 2416 provided. */ 2417 if (/* Try standardized names. */ 2418 iconv_open ("UTF-8", "EUC-JP") == (iconv_t)(-1) 2419 /* Try IRIX, OSF/1 names. */ 2420 && iconv_open ("UTF-8", "eucJP") == (iconv_t)(-1) 2421 /* Try AIX names. */ 2422 && iconv_open ("UTF-8", "IBM-eucJP") == (iconv_t)(-1) 2423 /* Try HP-UX names. */ 2424 && iconv_open ("utf8", "eucJP") == (iconv_t)(-1)) 2425 result |= 16; 2426 return result; 2427}]])], 2428 [am_cv_func_iconv_works=yes], 2429 [am_cv_func_iconv_works=no], 2430 [ 2431changequote(,)dnl 2432 case "$host_os" in 2433 aix* | hpux*) am_cv_func_iconv_works="guessing no" ;; 2434 *) am_cv_func_iconv_works="guessing yes" ;; 2435 esac 2436changequote([,])dnl 2437 ]) 2438 LIBS="$am_save_LIBS" 2439 ]) 2440 case "$am_cv_func_iconv_works" in 2441 *no) am_func_iconv=no am_cv_lib_iconv=no ;; 2442 *) am_func_iconv=yes ;; 2443 esac 2444 else 2445 am_func_iconv=no am_cv_lib_iconv=no 2446 fi 2447 if test "$am_func_iconv" = yes; then 2448 AC_DEFINE([HAVE_ICONV], [1], 2449 [Define if you have the iconv() function and it works.]) 2450 fi 2451 if test "$am_cv_lib_iconv" = yes; then 2452 AC_MSG_CHECKING([how to link with libiconv]) 2453 AC_MSG_RESULT([$LIBICONV]) 2454 else 2455 dnl If $LIBICONV didn't lead to a usable library, we don't need $INCICONV 2456 dnl either. 2457 CPPFLAGS="$am_save_CPPFLAGS" 2458 LIBICONV= 2459 LTLIBICONV= 2460 fi 2461 AC_SUBST([LIBICONV]) 2462 AC_SUBST([LTLIBICONV]) 2463]) 2464m4trace:m4/iconv.m4:230: -1- AC_DEFUN_ONCE([AM_ICONV], [ 2465 AM_ICONV_LINK 2466 if test "$am_cv_func_iconv" = yes; then 2467 AC_MSG_CHECKING([for iconv declaration]) 2468 AC_CACHE_VAL([am_cv_proto_iconv], [ 2469 AC_COMPILE_IFELSE( 2470 [AC_LANG_PROGRAM( 2471 [[ 2472#include <stdlib.h> 2473#include <iconv.h> 2474extern 2475#ifdef __cplusplus 2476"C" 2477#endif 2478#if defined(__STDC__) || defined(_MSC_VER) || defined(__cplusplus) 2479size_t iconv (iconv_t cd, char * *inbuf, size_t *inbytesleft, char * *outbuf, size_t *outbytesleft); 2480#else 2481size_t iconv(); 2482#endif 2483 ]], 2484 [[]])], 2485 [am_cv_proto_iconv_arg1=""], 2486 [am_cv_proto_iconv_arg1="const"]) 2487 am_cv_proto_iconv="extern size_t iconv (iconv_t cd, $am_cv_proto_iconv_arg1 char * *inbuf, size_t *inbytesleft, char * *outbuf, size_t *outbytesleft);"]) 2488 am_cv_proto_iconv=`echo "[$]am_cv_proto_iconv" | tr -s ' ' | sed -e 's/( /(/'` 2489 AC_MSG_RESULT([ 2490 $am_cv_proto_iconv]) 2491 AC_DEFINE_UNQUOTED([ICONV_CONST], [$am_cv_proto_iconv_arg1], 2492 [Define as const if the declaration of iconv() needs const.]) 2493 dnl Also substitute ICONV_CONST in the gnulib generated <iconv.h>. 2494 m4_ifdef([gl_ICONV_H_DEFAULTS], 2495 [AC_REQUIRE([gl_ICONV_H_DEFAULTS]) 2496 if test -n "$am_cv_proto_iconv_arg1"; then 2497 ICONV_CONST="const" 2498 fi 2499 ]) 2500 fi 2501]) 2502m4trace:m4/intdiv0.m4:9: -1- AC_DEFUN([gt_INTDIV0], [ 2503 AC_REQUIRE([AC_PROG_CC])dnl 2504 AC_REQUIRE([AC_CANONICAL_HOST])dnl 2505 2506 AC_CACHE_CHECK([whether integer division by zero raises SIGFPE], 2507 gt_cv_int_divbyzero_sigfpe, 2508 [ 2509 gt_cv_int_divbyzero_sigfpe= 2510changequote(,)dnl 2511 case "$host_os" in 2512 macos* | darwin[6-9]* | darwin[1-9][0-9]*) 2513 # On Mac OS X 10.2 or newer, just assume the same as when cross- 2514 # compiling. If we were to perform the real test, 1 Crash Report 2515 # dialog window would pop up. 2516 case "$host_cpu" in 2517 i[34567]86 | x86_64) 2518 gt_cv_int_divbyzero_sigfpe="guessing yes" ;; 2519 esac 2520 ;; 2521 esac 2522changequote([,])dnl 2523 if test -z "$gt_cv_int_divbyzero_sigfpe"; then 2524 AC_RUN_IFELSE( 2525 [AC_LANG_SOURCE([[ 2526#include <stdlib.h> 2527#include <signal.h> 2528 2529static void 2530sigfpe_handler (int sig) 2531{ 2532 /* Exit with code 0 if SIGFPE, with code 1 if any other signal. */ 2533 exit (sig != SIGFPE); 2534} 2535 2536int x = 1; 2537int y = 0; 2538int z; 2539int nan; 2540 2541int main () 2542{ 2543 signal (SIGFPE, sigfpe_handler); 2544/* IRIX and AIX (when "xlc -qcheck" is used) yield signal SIGTRAP. */ 2545#if (defined (__sgi) || defined (_AIX)) && defined (SIGTRAP) 2546 signal (SIGTRAP, sigfpe_handler); 2547#endif 2548/* Linux/SPARC yields signal SIGILL. */ 2549#if defined (__sparc__) && defined (__linux__) 2550 signal (SIGILL, sigfpe_handler); 2551#endif 2552 2553 z = x / y; 2554 nan = y / y; 2555 exit (2); 2556} 2557]])], 2558 [gt_cv_int_divbyzero_sigfpe=yes], 2559 [gt_cv_int_divbyzero_sigfpe=no], 2560 [ 2561 # Guess based on the CPU. 2562changequote(,)dnl 2563 case "$host_cpu" in 2564 alpha* | i[34567]86 | x86_64 | m68k | s390*) 2565 gt_cv_int_divbyzero_sigfpe="guessing yes";; 2566 *) 2567 gt_cv_int_divbyzero_sigfpe="guessing no";; 2568 esac 2569changequote([,])dnl 2570 ]) 2571 fi 2572 ]) 2573 case "$gt_cv_int_divbyzero_sigfpe" in 2574 *yes) value=1;; 2575 *) value=0;; 2576 esac 2577 AC_DEFINE_UNQUOTED([INTDIV0_RAISES_SIGFPE], [$value], 2578 [Define if integer division by zero raises signal SIGFPE.]) 2579]) 2580m4trace:m4/intl.m4:25: -1- AC_DEFUN([AM_INTL_SUBDIR], [ 2581 AC_REQUIRE([AC_PROG_INSTALL])dnl 2582 AC_REQUIRE([AC_PROG_MKDIR_P])dnl 2583 AC_REQUIRE([AC_PROG_CC])dnl 2584 AC_REQUIRE([AC_CANONICAL_HOST])dnl 2585 AC_REQUIRE([gt_GLIBC2])dnl 2586 AC_REQUIRE([AC_PROG_RANLIB])dnl 2587 AC_REQUIRE([gl_VISIBILITY])dnl 2588 AC_REQUIRE([gt_INTL_SUBDIR_CORE])dnl 2589 AC_REQUIRE([AC_TYPE_LONG_LONG_INT])dnl 2590 AC_REQUIRE([gt_TYPE_WCHAR_T])dnl 2591 AC_REQUIRE([gt_TYPE_WINT_T])dnl 2592 AC_REQUIRE([gl_AC_HEADER_INTTYPES_H]) 2593 AC_REQUIRE([gt_TYPE_INTMAX_T]) 2594 AC_REQUIRE([gt_PRINTF_POSIX]) 2595 AC_REQUIRE([gl_GLIBC21])dnl 2596 AC_REQUIRE([gl_XSIZE])dnl 2597 AC_REQUIRE([gl_FCNTL_O_FLAGS])dnl 2598 AC_REQUIRE([gt_INTL_MACOSX])dnl 2599 AC_REQUIRE([gl_EXTERN_INLINE])dnl 2600 2601 dnl Support for automake's --enable-silent-rules. 2602 case "$enable_silent_rules" in 2603 yes) INTL_DEFAULT_VERBOSITY=0;; 2604 no) INTL_DEFAULT_VERBOSITY=1;; 2605 *) INTL_DEFAULT_VERBOSITY=1;; 2606 esac 2607 AC_SUBST([INTL_DEFAULT_VERBOSITY]) 2608 2609 AC_CHECK_TYPE([ptrdiff_t], , 2610 [AC_DEFINE([ptrdiff_t], [long], 2611 [Define as the type of the result of subtracting two pointers, if the system doesn't define it.]) 2612 ]) 2613 AC_CHECK_HEADERS([features.h stddef.h stdlib.h string.h]) 2614 AC_CHECK_FUNCS([asprintf fwprintf newlocale putenv setenv setlocale \ 2615 snprintf strnlen wcslen wcsnlen mbrtowc wcrtomb]) 2616 2617 dnl Use the _snprintf function only if it is declared (because on NetBSD it 2618 dnl is defined as a weak alias of snprintf; we prefer to use the latter). 2619 AC_CHECK_DECLS([_snprintf, _snwprintf], , , [#include <stdio.h>]) 2620 2621 dnl Use the *_unlocked functions only if they are declared. 2622 dnl (because some of them were defined without being declared in Solaris 2623 dnl 2.5.1 but were removed in Solaris 2.6, whereas we want binaries built 2624 dnl on Solaris 2.5.1 to run on Solaris 2.6). 2625 AC_CHECK_DECLS([getc_unlocked], , , [#include <stdio.h>]) 2626 2627 case $gt_cv_func_printf_posix in 2628 *yes) HAVE_POSIX_PRINTF=1 ;; 2629 *) HAVE_POSIX_PRINTF=0 ;; 2630 esac 2631 AC_SUBST([HAVE_POSIX_PRINTF]) 2632 if test "$ac_cv_func_asprintf" = yes; then 2633 HAVE_ASPRINTF=1 2634 else 2635 HAVE_ASPRINTF=0 2636 fi 2637 AC_SUBST([HAVE_ASPRINTF]) 2638 if test "$ac_cv_func_snprintf" = yes; then 2639 HAVE_SNPRINTF=1 2640 else 2641 HAVE_SNPRINTF=0 2642 fi 2643 AC_SUBST([HAVE_SNPRINTF]) 2644 if test "$ac_cv_func_newlocale" = yes; then 2645 HAVE_NEWLOCALE=1 2646 else 2647 HAVE_NEWLOCALE=0 2648 fi 2649 AC_SUBST([HAVE_NEWLOCALE]) 2650 if test "$ac_cv_func_wprintf" = yes; then 2651 HAVE_WPRINTF=1 2652 else 2653 HAVE_WPRINTF=0 2654 fi 2655 AC_SUBST([HAVE_WPRINTF]) 2656 2657 AM_LANGINFO_CODESET 2658 gt_LC_MESSAGES 2659 2660 dnl Compilation on mingw and Cygwin needs special Makefile rules, because 2661 dnl 1. when we install a shared library, we must arrange to export 2662 dnl auxiliary pointer variables for every exported variable, 2663 dnl 2. when we install a shared library and a static library simultaneously, 2664 dnl the include file specifies __declspec(dllimport) and therefore we 2665 dnl must arrange to define the auxiliary pointer variables for the 2666 dnl exported variables _also_ in the static library. 2667 if test "$enable_shared" = yes; then 2668 case "$host_os" in 2669 mingw* | cygwin*) is_woe32dll=yes ;; 2670 *) is_woe32dll=no ;; 2671 esac 2672 else 2673 is_woe32dll=no 2674 fi 2675 WOE32DLL=$is_woe32dll 2676 AC_SUBST([WOE32DLL]) 2677 2678 dnl On mingw and Cygwin, we can activate special Makefile rules which add 2679 dnl version information to the shared libraries and executables. 2680 case "$host_os" in 2681 mingw* | cygwin*) is_woe32=yes ;; 2682 *) is_woe32=no ;; 2683 esac 2684 WOE32=$is_woe32 2685 AC_SUBST([WOE32]) 2686 if test $WOE32 = yes; then 2687 dnl Check for a program that compiles Windows resource files. 2688 AC_CHECK_TOOL([WINDRES], [windres]) 2689 fi 2690 2691 dnl Determine whether when creating a library, "-lc" should be passed to 2692 dnl libtool or not. On many platforms, it is required for the libtool option 2693 dnl -no-undefined to work. On HP-UX, however, the -lc - stored by libtool 2694 dnl in the *.la files - makes it impossible to create multithreaded programs, 2695 dnl because libtool also reorders the -lc to come before the -pthread, and 2696 dnl this disables pthread_create() <http://docs.hp.com/en/1896/pthreads.html>. 2697 case "$host_os" in 2698 hpux*) LTLIBC="" ;; 2699 *) LTLIBC="-lc" ;; 2700 esac 2701 AC_SUBST([LTLIBC]) 2702 2703 dnl Rename some macros and functions used for locking. 2704 AH_BOTTOM([ 2705#define __libc_lock_t gl_lock_t 2706#define __libc_lock_define gl_lock_define 2707#define __libc_lock_define_initialized gl_lock_define_initialized 2708#define __libc_lock_init gl_lock_init 2709#define __libc_lock_lock gl_lock_lock 2710#define __libc_lock_unlock gl_lock_unlock 2711#define __libc_lock_recursive_t gl_recursive_lock_t 2712#define __libc_lock_define_recursive gl_recursive_lock_define 2713#define __libc_lock_define_initialized_recursive gl_recursive_lock_define_initialized 2714#define __libc_lock_init_recursive gl_recursive_lock_init 2715#define __libc_lock_lock_recursive gl_recursive_lock_lock 2716#define __libc_lock_unlock_recursive gl_recursive_lock_unlock 2717#define glthread_in_use libintl_thread_in_use 2718#define glthread_lock_init_func libintl_lock_init_func 2719#define glthread_lock_lock_func libintl_lock_lock_func 2720#define glthread_lock_unlock_func libintl_lock_unlock_func 2721#define glthread_lock_destroy_func libintl_lock_destroy_func 2722#define glthread_rwlock_init_multithreaded libintl_rwlock_init_multithreaded 2723#define glthread_rwlock_init_func libintl_rwlock_init_func 2724#define glthread_rwlock_rdlock_multithreaded libintl_rwlock_rdlock_multithreaded 2725#define glthread_rwlock_rdlock_func libintl_rwlock_rdlock_func 2726#define glthread_rwlock_wrlock_multithreaded libintl_rwlock_wrlock_multithreaded 2727#define glthread_rwlock_wrlock_func libintl_rwlock_wrlock_func 2728#define glthread_rwlock_unlock_multithreaded libintl_rwlock_unlock_multithreaded 2729#define glthread_rwlock_unlock_func libintl_rwlock_unlock_func 2730#define glthread_rwlock_destroy_multithreaded libintl_rwlock_destroy_multithreaded 2731#define glthread_rwlock_destroy_func libintl_rwlock_destroy_func 2732#define glthread_recursive_lock_init_multithreaded libintl_recursive_lock_init_multithreaded 2733#define glthread_recursive_lock_init_func libintl_recursive_lock_init_func 2734#define glthread_recursive_lock_lock_multithreaded libintl_recursive_lock_lock_multithreaded 2735#define glthread_recursive_lock_lock_func libintl_recursive_lock_lock_func 2736#define glthread_recursive_lock_unlock_multithreaded libintl_recursive_lock_unlock_multithreaded 2737#define glthread_recursive_lock_unlock_func libintl_recursive_lock_unlock_func 2738#define glthread_recursive_lock_destroy_multithreaded libintl_recursive_lock_destroy_multithreaded 2739#define glthread_recursive_lock_destroy_func libintl_recursive_lock_destroy_func 2740#define glthread_once_func libintl_once_func 2741#define glthread_once_singlethreaded libintl_once_singlethreaded 2742#define glthread_once_multithreaded libintl_once_multithreaded 2743]) 2744]) 2745m4trace:m4/intl.m4:210: -1- AC_DEFUN([gt_INTL_SUBDIR_CORE], [ 2746 AC_REQUIRE([AC_C_INLINE])dnl 2747 AC_REQUIRE([AC_TYPE_SIZE_T])dnl 2748 AC_REQUIRE([gl_AC_HEADER_STDINT_H]) 2749 AC_REQUIRE([AC_FUNC_ALLOCA])dnl 2750 AC_REQUIRE([AC_FUNC_MMAP])dnl 2751 AC_REQUIRE([gt_INTDIV0])dnl 2752 AC_REQUIRE([gl_AC_TYPE_UINTMAX_T])dnl 2753 AC_REQUIRE([gt_INTTYPES_PRI])dnl 2754 AC_REQUIRE([gl_LOCK])dnl 2755 2756 AC_LINK_IFELSE( 2757 [AC_LANG_PROGRAM( 2758 [[int foo (int a) { a = __builtin_expect (a, 10); return a == 10 ? 0 : 1; }]], 2759 [[]])], 2760 [AC_DEFINE([HAVE_BUILTIN_EXPECT], [1], 2761 [Define to 1 if the compiler understands __builtin_expect.])]) 2762 2763 AC_CHECK_HEADERS([argz.h inttypes.h limits.h unistd.h sys/param.h]) 2764 AC_CHECK_FUNCS([getcwd getegid geteuid getgid getuid mempcpy munmap \ 2765 stpcpy strcasecmp strdup strtoul tsearch uselocale argz_count \ 2766 argz_stringify argz_next __fsetlocking]) 2767 2768 dnl Use the *_unlocked functions only if they are declared. 2769 dnl (because some of them were defined without being declared in Solaris 2770 dnl 2.5.1 but were removed in Solaris 2.6, whereas we want binaries built 2771 dnl on Solaris 2.5.1 to run on Solaris 2.6). 2772 AC_CHECK_DECLS([feof_unlocked, fgets_unlocked], , , [#include <stdio.h>]) 2773 2774 AM_ICONV 2775 2776 dnl intl/plural.c is generated from intl/plural.y. It requires bison, 2777 dnl because plural.y uses bison specific features. It requires at least 2778 dnl bison-2.7 for %define api.pure. 2779 dnl bison is only needed for the maintainer (who touches plural.y). But in 2780 dnl order to avoid separate Makefiles or --enable-maintainer-mode, we put 2781 dnl the rule in general Makefile. Now, some people carelessly touch the 2782 dnl files or have a broken "make" program, hence the plural.c rule will 2783 dnl sometimes fire. To avoid an error, defines BISON to ":" if it is not 2784 dnl present or too old. 2785 AC_CHECK_PROGS([INTLBISON], [bison]) 2786 if test -z "$INTLBISON"; then 2787 ac_verc_fail=yes 2788 else 2789 dnl Found it, now check the version. 2790 AC_MSG_CHECKING([version of bison]) 2791changequote(<<,>>)dnl 2792 ac_prog_version=`$INTLBISON --version 2>&1 | sed -n 's/^.*GNU Bison.* \([0-9]*\.[0-9.]*\).*$/\1/p'` 2793 case $ac_prog_version in 2794 '') ac_prog_version="v. ?.??, bad"; ac_verc_fail=yes;; 2795 2.[7-9]* | [3-9].*) 2796changequote([,])dnl 2797 ac_prog_version="$ac_prog_version, ok"; ac_verc_fail=no;; 2798 *) ac_prog_version="$ac_prog_version, bad"; ac_verc_fail=yes;; 2799 esac 2800 AC_MSG_RESULT([$ac_prog_version]) 2801 fi 2802 if test $ac_verc_fail = yes; then 2803 INTLBISON=: 2804 fi 2805]) 2806m4trace:m4/intlmacosx.m4:18: -1- AC_DEFUN([gt_INTL_MACOSX], [ 2807 dnl Check for API introduced in Mac OS X 10.2. 2808 AC_CACHE_CHECK([for CFPreferencesCopyAppValue], 2809 [gt_cv_func_CFPreferencesCopyAppValue], 2810 [gt_save_LIBS="$LIBS" 2811 LIBS="$LIBS -Wl,-framework -Wl,CoreFoundation" 2812 AC_LINK_IFELSE( 2813 [AC_LANG_PROGRAM( 2814 [[#include <CoreFoundation/CFPreferences.h>]], 2815 [[CFPreferencesCopyAppValue(NULL, NULL)]])], 2816 [gt_cv_func_CFPreferencesCopyAppValue=yes], 2817 [gt_cv_func_CFPreferencesCopyAppValue=no]) 2818 LIBS="$gt_save_LIBS"]) 2819 if test $gt_cv_func_CFPreferencesCopyAppValue = yes; then 2820 AC_DEFINE([HAVE_CFPREFERENCESCOPYAPPVALUE], [1], 2821 [Define to 1 if you have the Mac OS X function CFPreferencesCopyAppValue in the CoreFoundation framework.]) 2822 fi 2823 dnl Check for API introduced in Mac OS X 10.3. 2824 AC_CACHE_CHECK([for CFLocaleCopyCurrent], [gt_cv_func_CFLocaleCopyCurrent], 2825 [gt_save_LIBS="$LIBS" 2826 LIBS="$LIBS -Wl,-framework -Wl,CoreFoundation" 2827 AC_LINK_IFELSE( 2828 [AC_LANG_PROGRAM( 2829 [[#include <CoreFoundation/CFLocale.h>]], 2830 [[CFLocaleCopyCurrent();]])], 2831 [gt_cv_func_CFLocaleCopyCurrent=yes], 2832 [gt_cv_func_CFLocaleCopyCurrent=no]) 2833 LIBS="$gt_save_LIBS"]) 2834 if test $gt_cv_func_CFLocaleCopyCurrent = yes; then 2835 AC_DEFINE([HAVE_CFLOCALECOPYCURRENT], [1], 2836 [Define to 1 if you have the Mac OS X function CFLocaleCopyCurrent in the CoreFoundation framework.]) 2837 fi 2838 INTL_MACOSX_LIBS= 2839 if test $gt_cv_func_CFPreferencesCopyAppValue = yes || test $gt_cv_func_CFLocaleCopyCurrent = yes; then 2840 INTL_MACOSX_LIBS="-Wl,-framework -Wl,CoreFoundation" 2841 fi 2842 AC_SUBST([INTL_MACOSX_LIBS]) 2843]) 2844m4trace:m4/intmax.m4:11: -1- AC_DEFUN([gt_TYPE_INTMAX_T], [ 2845 AC_REQUIRE([gl_AC_HEADER_INTTYPES_H]) 2846 AC_REQUIRE([gl_AC_HEADER_STDINT_H]) 2847 AC_CACHE_CHECK([for intmax_t], [gt_cv_c_intmax_t], 2848 [AC_COMPILE_IFELSE( 2849 [AC_LANG_PROGRAM( 2850 [[ 2851#include <stddef.h> 2852#include <stdlib.h> 2853#if HAVE_STDINT_H_WITH_UINTMAX 2854#include <stdint.h> 2855#endif 2856#if HAVE_INTTYPES_H_WITH_UINTMAX 2857#include <inttypes.h> 2858#endif 2859 ]], 2860 [[intmax_t x = -1; 2861 return !x;]])], 2862 [gt_cv_c_intmax_t=yes], 2863 [gt_cv_c_intmax_t=no])]) 2864 if test $gt_cv_c_intmax_t = yes; then 2865 AC_DEFINE([HAVE_INTMAX_T], [1], 2866 [Define if you have the 'intmax_t' type in <stdint.h> or <inttypes.h>.]) 2867 fi 2868]) 2869m4trace:m4/inttypes-pri.m4:14: -1- AC_DEFUN([gt_INTTYPES_PRI], [ 2870 AC_CHECK_HEADERS([inttypes.h]) 2871 if test $ac_cv_header_inttypes_h = yes; then 2872 AC_CACHE_CHECK([whether the inttypes.h PRIxNN macros are broken], 2873 [gt_cv_inttypes_pri_broken], 2874 [ 2875 AC_COMPILE_IFELSE( 2876 [AC_LANG_PROGRAM( 2877 [[ 2878#include <inttypes.h> 2879#ifdef PRId32 2880char *p = PRId32; 2881#endif 2882 ]], 2883 [[]])], 2884 [gt_cv_inttypes_pri_broken=no], 2885 [gt_cv_inttypes_pri_broken=yes]) 2886 ]) 2887 fi 2888 if test "$gt_cv_inttypes_pri_broken" = yes; then 2889 AC_DEFINE_UNQUOTED([PRI_MACROS_BROKEN], [1], 2890 [Define if <inttypes.h> exists and defines unusable PRI* macros.]) 2891 PRI_MACROS_BROKEN=1 2892 else 2893 PRI_MACROS_BROKEN=0 2894 fi 2895 AC_SUBST([PRI_MACROS_BROKEN]) 2896]) 2897m4trace:m4/inttypes_h.m4:12: -1- AC_DEFUN([gl_AC_HEADER_INTTYPES_H], [ 2898 AC_CACHE_CHECK([for inttypes.h], [gl_cv_header_inttypes_h], 2899 [AC_COMPILE_IFELSE( 2900 [AC_LANG_PROGRAM( 2901 [[ 2902#include <sys/types.h> 2903#include <inttypes.h> 2904 ]], 2905 [[uintmax_t i = (uintmax_t) -1; return !i;]])], 2906 [gl_cv_header_inttypes_h=yes], 2907 [gl_cv_header_inttypes_h=no])]) 2908 if test $gl_cv_header_inttypes_h = yes; then 2909 AC_DEFINE_UNQUOTED([HAVE_INTTYPES_H_WITH_UINTMAX], [1], 2910 [Define if <inttypes.h> exists, doesn't clash with <sys/types.h>, 2911 and declares uintmax_t. ]) 2912 fi 2913]) 2914m4trace:m4/lcmessage.m4:22: -1- AC_DEFUN([gt_LC_MESSAGES], [ 2915 AC_CACHE_CHECK([for LC_MESSAGES], [gt_cv_val_LC_MESSAGES], 2916 [AC_LINK_IFELSE( 2917 [AC_LANG_PROGRAM( 2918 [[#include <locale.h>]], 2919 [[return LC_MESSAGES]])], 2920 [gt_cv_val_LC_MESSAGES=yes], 2921 [gt_cv_val_LC_MESSAGES=no])]) 2922 if test $gt_cv_val_LC_MESSAGES = yes; then 2923 AC_DEFINE([HAVE_LC_MESSAGES], [1], 2924 [Define if your <locale.h> file defines LC_MESSAGES.]) 2925 fi 2926]) 2927m4trace:m4/lib-ld.m4:12: -1- AC_DEFUN([AC_LIB_PROG_LD_GNU], [AC_CACHE_CHECK([if the linker ($LD) is GNU ld], [acl_cv_prog_gnu_ld], 2928[# I'd rather use --version here, but apparently some GNU lds only accept -v. 2929case `$LD -v 2>&1 </dev/null` in 2930*GNU* | *'with BFD'*) 2931 acl_cv_prog_gnu_ld=yes 2932 ;; 2933*) 2934 acl_cv_prog_gnu_ld=no 2935 ;; 2936esac]) 2937with_gnu_ld=$acl_cv_prog_gnu_ld 2938]) 2939m4trace:m4/lib-ld.m4:27: -1- AC_DEFUN([AC_LIB_PROG_LD], [AC_REQUIRE([AC_PROG_CC])dnl 2940AC_REQUIRE([AC_CANONICAL_HOST])dnl 2941 2942AC_ARG_WITH([gnu-ld], 2943 [AS_HELP_STRING([--with-gnu-ld], 2944 [assume the C compiler uses GNU ld [default=no]])], 2945 [test "$withval" = no || with_gnu_ld=yes], 2946 [with_gnu_ld=no])dnl 2947 2948# Prepare PATH_SEPARATOR. 2949# The user is always right. 2950if test "${PATH_SEPARATOR+set}" != set; then 2951 # Determine PATH_SEPARATOR by trying to find /bin/sh in a PATH which 2952 # contains only /bin. Note that ksh looks also at the FPATH variable, 2953 # so we have to set that as well for the test. 2954 PATH_SEPARATOR=: 2955 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 \ 2956 && { (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 \ 2957 || PATH_SEPARATOR=';' 2958 } 2959fi 2960 2961ac_prog=ld 2962if test "$GCC" = yes; then 2963 # Check if gcc -print-prog-name=ld gives a path. 2964 AC_MSG_CHECKING([for ld used by $CC]) 2965 case $host in 2966 *-*-mingw*) 2967 # gcc leaves a trailing carriage return which upsets mingw 2968 ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;; 2969 *) 2970 ac_prog=`($CC -print-prog-name=ld) 2>&5` ;; 2971 esac 2972 case $ac_prog in 2973 # Accept absolute paths. 2974 [[\\/]]* | ?:[[\\/]]*) 2975 re_direlt='/[[^/]][[^/]]*/\.\./' 2976 # Canonicalize the pathname of ld 2977 ac_prog=`echo "$ac_prog"| sed 's%\\\\%/%g'` 2978 while echo "$ac_prog" | grep "$re_direlt" > /dev/null 2>&1; do 2979 ac_prog=`echo $ac_prog| sed "s%$re_direlt%/%"` 2980 done 2981 test -z "$LD" && LD="$ac_prog" 2982 ;; 2983 "") 2984 # If it fails, then pretend we aren't using GCC. 2985 ac_prog=ld 2986 ;; 2987 *) 2988 # If it is relative, then search for the first ld in PATH. 2989 with_gnu_ld=unknown 2990 ;; 2991 esac 2992elif test "$with_gnu_ld" = yes; then 2993 AC_MSG_CHECKING([for GNU ld]) 2994else 2995 AC_MSG_CHECKING([for non-GNU ld]) 2996fi 2997AC_CACHE_VAL([acl_cv_path_LD], 2998[if test -z "$LD"; then 2999 acl_save_ifs="$IFS"; IFS=$PATH_SEPARATOR 3000 for ac_dir in $PATH; do 3001 IFS="$acl_save_ifs" 3002 test -z "$ac_dir" && ac_dir=. 3003 if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then 3004 acl_cv_path_LD="$ac_dir/$ac_prog" 3005 # Check to see if the program is GNU ld. I'd rather use --version, 3006 # but apparently some variants of GNU ld only accept -v. 3007 # Break only if it was the GNU/non-GNU ld that we prefer. 3008 case `"$acl_cv_path_LD" -v 2>&1 </dev/null` in 3009 *GNU* | *'with BFD'*) 3010 test "$with_gnu_ld" != no && break 3011 ;; 3012 *) 3013 test "$with_gnu_ld" != yes && break 3014 ;; 3015 esac 3016 fi 3017 done 3018 IFS="$acl_save_ifs" 3019else 3020 acl_cv_path_LD="$LD" # Let the user override the test with a path. 3021fi]) 3022LD="$acl_cv_path_LD" 3023if test -n "$LD"; then 3024 AC_MSG_RESULT([$LD]) 3025else 3026 AC_MSG_RESULT([no]) 3027fi 3028test -z "$LD" && AC_MSG_ERROR([no acceptable ld found in \$PATH]) 3029AC_LIB_PROG_LD_GNU 3030]) 3031m4trace:m4/lib-link.m4:17: -1- AC_DEFUN([AC_LIB_LINKFLAGS], [ 3032 AC_REQUIRE([AC_LIB_PREPARE_PREFIX]) 3033 AC_REQUIRE([AC_LIB_RPATH]) 3034 pushdef([Name],[m4_translit([$1],[./+-], [____])]) 3035 pushdef([NAME],[m4_translit([$1],[abcdefghijklmnopqrstuvwxyz./+-], 3036 [ABCDEFGHIJKLMNOPQRSTUVWXYZ____])]) 3037 AC_CACHE_CHECK([how to link with lib[]$1], [ac_cv_lib[]Name[]_libs], [ 3038 AC_LIB_LINKFLAGS_BODY([$1], [$2]) 3039 ac_cv_lib[]Name[]_libs="$LIB[]NAME" 3040 ac_cv_lib[]Name[]_ltlibs="$LTLIB[]NAME" 3041 ac_cv_lib[]Name[]_cppflags="$INC[]NAME" 3042 ac_cv_lib[]Name[]_prefix="$LIB[]NAME[]_PREFIX" 3043 ]) 3044 LIB[]NAME="$ac_cv_lib[]Name[]_libs" 3045 LTLIB[]NAME="$ac_cv_lib[]Name[]_ltlibs" 3046 INC[]NAME="$ac_cv_lib[]Name[]_cppflags" 3047 LIB[]NAME[]_PREFIX="$ac_cv_lib[]Name[]_prefix" 3048 AC_LIB_APPENDTOVAR([CPPFLAGS], [$INC]NAME) 3049 AC_SUBST([LIB]NAME) 3050 AC_SUBST([LTLIB]NAME) 3051 AC_SUBST([LIB]NAME[_PREFIX]) 3052 dnl Also set HAVE_LIB[]NAME so that AC_LIB_HAVE_LINKFLAGS can reuse the 3053 dnl results of this search when this library appears as a dependency. 3054 HAVE_LIB[]NAME=yes 3055 popdef([NAME]) 3056 popdef([Name]) 3057]) 3058m4trace:m4/lib-link.m4:57: -1- AC_DEFUN([AC_LIB_HAVE_LINKFLAGS], [ 3059 AC_REQUIRE([AC_LIB_PREPARE_PREFIX]) 3060 AC_REQUIRE([AC_LIB_RPATH]) 3061 pushdef([Name],[m4_translit([$1],[./+-], [____])]) 3062 pushdef([NAME],[m4_translit([$1],[abcdefghijklmnopqrstuvwxyz./+-], 3063 [ABCDEFGHIJKLMNOPQRSTUVWXYZ____])]) 3064 3065 dnl Search for lib[]Name and define LIB[]NAME, LTLIB[]NAME and INC[]NAME 3066 dnl accordingly. 3067 AC_LIB_LINKFLAGS_BODY([$1], [$2]) 3068 3069 dnl Add $INC[]NAME to CPPFLAGS before performing the following checks, 3070 dnl because if the user has installed lib[]Name and not disabled its use 3071 dnl via --without-lib[]Name-prefix, he wants to use it. 3072 ac_save_CPPFLAGS="$CPPFLAGS" 3073 AC_LIB_APPENDTOVAR([CPPFLAGS], [$INC]NAME) 3074 3075 AC_CACHE_CHECK([for lib[]$1], [ac_cv_lib[]Name], [ 3076 ac_save_LIBS="$LIBS" 3077 dnl If $LIB[]NAME contains some -l options, add it to the end of LIBS, 3078 dnl because these -l options might require -L options that are present in 3079 dnl LIBS. -l options benefit only from the -L options listed before it. 3080 dnl Otherwise, add it to the front of LIBS, because it may be a static 3081 dnl library that depends on another static library that is present in LIBS. 3082 dnl Static libraries benefit only from the static libraries listed after 3083 dnl it. 3084 case " $LIB[]NAME" in 3085 *" -l"*) LIBS="$LIBS $LIB[]NAME" ;; 3086 *) LIBS="$LIB[]NAME $LIBS" ;; 3087 esac 3088 AC_LINK_IFELSE( 3089 [AC_LANG_PROGRAM([[$3]], [[$4]])], 3090 [ac_cv_lib[]Name=yes], 3091 [ac_cv_lib[]Name='m4_if([$5], [], [no], [[$5]])']) 3092 LIBS="$ac_save_LIBS" 3093 ]) 3094 if test "$ac_cv_lib[]Name" = yes; then 3095 HAVE_LIB[]NAME=yes 3096 AC_DEFINE([HAVE_LIB]NAME, 1, [Define if you have the lib][$1 library.]) 3097 AC_MSG_CHECKING([how to link with lib[]$1]) 3098 AC_MSG_RESULT([$LIB[]NAME]) 3099 else 3100 HAVE_LIB[]NAME=no 3101 dnl If $LIB[]NAME didn't lead to a usable library, we don't need 3102 dnl $INC[]NAME either. 3103 CPPFLAGS="$ac_save_CPPFLAGS" 3104 LIB[]NAME= 3105 LTLIB[]NAME= 3106 LIB[]NAME[]_PREFIX= 3107 fi 3108 AC_SUBST([HAVE_LIB]NAME) 3109 AC_SUBST([LIB]NAME) 3110 AC_SUBST([LTLIB]NAME) 3111 AC_SUBST([LIB]NAME[_PREFIX]) 3112 popdef([NAME]) 3113 popdef([Name]) 3114]) 3115m4trace:m4/lib-link.m4:125: -1- AC_DEFUN([AC_LIB_RPATH], [ 3116 dnl Tell automake >= 1.10 to complain if config.rpath is missing. 3117 m4_ifdef([AC_REQUIRE_AUX_FILE], [AC_REQUIRE_AUX_FILE([config.rpath])]) 3118 AC_REQUIRE([AC_PROG_CC]) dnl we use $CC, $GCC, $LDFLAGS 3119 AC_REQUIRE([AC_LIB_PROG_LD]) dnl we use $LD, $with_gnu_ld 3120 AC_REQUIRE([AC_CANONICAL_HOST]) dnl we use $host 3121 AC_REQUIRE([AC_CONFIG_AUX_DIR_DEFAULT]) dnl we use $ac_aux_dir 3122 AC_CACHE_CHECK([for shared library run path origin], [acl_cv_rpath], [ 3123 CC="$CC" GCC="$GCC" LDFLAGS="$LDFLAGS" LD="$LD" with_gnu_ld="$with_gnu_ld" \ 3124 ${CONFIG_SHELL-/bin/sh} "$ac_aux_dir/config.rpath" "$host" > conftest.sh 3125 . ./conftest.sh 3126 rm -f ./conftest.sh 3127 acl_cv_rpath=done 3128 ]) 3129 wl="$acl_cv_wl" 3130 acl_libext="$acl_cv_libext" 3131 acl_shlibext="$acl_cv_shlibext" 3132 acl_libname_spec="$acl_cv_libname_spec" 3133 acl_library_names_spec="$acl_cv_library_names_spec" 3134 acl_hardcode_libdir_flag_spec="$acl_cv_hardcode_libdir_flag_spec" 3135 acl_hardcode_libdir_separator="$acl_cv_hardcode_libdir_separator" 3136 acl_hardcode_direct="$acl_cv_hardcode_direct" 3137 acl_hardcode_minus_L="$acl_cv_hardcode_minus_L" 3138 dnl Determine whether the user wants rpath handling at all. 3139 AC_ARG_ENABLE([rpath], 3140 [ --disable-rpath do not hardcode runtime library paths], 3141 :, enable_rpath=yes) 3142]) 3143m4trace:m4/lib-link.m4:161: -1- AC_DEFUN([AC_LIB_FROMPACKAGE], [ 3144 pushdef([NAME],[m4_translit([$1],[abcdefghijklmnopqrstuvwxyz./+-], 3145 [ABCDEFGHIJKLMNOPQRSTUVWXYZ____])]) 3146 define([acl_frompackage_]NAME, [$2]) 3147 popdef([NAME]) 3148 pushdef([PACK],[$2]) 3149 pushdef([PACKUP],[m4_translit(PACK,[abcdefghijklmnopqrstuvwxyz./+-], 3150 [ABCDEFGHIJKLMNOPQRSTUVWXYZ____])]) 3151 define([acl_libsinpackage_]PACKUP, 3152 m4_ifdef([acl_libsinpackage_]PACKUP, [m4_defn([acl_libsinpackage_]PACKUP)[, ]],)[lib$1]) 3153 popdef([PACKUP]) 3154 popdef([PACK]) 3155]) 3156m4trace:m4/lib-link.m4:181: -1- AC_DEFUN([AC_LIB_LINKFLAGS_BODY], [ 3157 AC_REQUIRE([AC_LIB_PREPARE_MULTILIB]) 3158 pushdef([NAME],[m4_translit([$1],[abcdefghijklmnopqrstuvwxyz./+-], 3159 [ABCDEFGHIJKLMNOPQRSTUVWXYZ____])]) 3160 pushdef([PACK],[m4_ifdef([acl_frompackage_]NAME, [acl_frompackage_]NAME, lib[$1])]) 3161 pushdef([PACKUP],[m4_translit(PACK,[abcdefghijklmnopqrstuvwxyz./+-], 3162 [ABCDEFGHIJKLMNOPQRSTUVWXYZ____])]) 3163 pushdef([PACKLIBS],[m4_ifdef([acl_frompackage_]NAME, [acl_libsinpackage_]PACKUP, lib[$1])]) 3164 dnl Autoconf >= 2.61 supports dots in --with options. 3165 pushdef([P_A_C_K],[m4_if(m4_version_compare(m4_defn([m4_PACKAGE_VERSION]),[2.61]),[-1],[m4_translit(PACK,[.],[_])],PACK)]) 3166 dnl By default, look in $includedir and $libdir. 3167 use_additional=yes 3168 AC_LIB_WITH_FINAL_PREFIX([ 3169 eval additional_includedir=\"$includedir\" 3170 eval additional_libdir=\"$libdir\" 3171 ]) 3172 AC_ARG_WITH(P_A_C_K[-prefix], 3173[[ --with-]]P_A_C_K[[-prefix[=DIR] search for ]PACKLIBS[ in DIR/include and DIR/lib 3174 --without-]]P_A_C_K[[-prefix don't search for ]PACKLIBS[ in includedir and libdir]], 3175[ 3176 if test "X$withval" = "Xno"; then 3177 use_additional=no 3178 else 3179 if test "X$withval" = "X"; then 3180 AC_LIB_WITH_FINAL_PREFIX([ 3181 eval additional_includedir=\"$includedir\" 3182 eval additional_libdir=\"$libdir\" 3183 ]) 3184 else 3185 additional_includedir="$withval/include" 3186 additional_libdir="$withval/$acl_libdirstem" 3187 if test "$acl_libdirstem2" != "$acl_libdirstem" \ 3188 && ! test -d "$withval/$acl_libdirstem"; then 3189 additional_libdir="$withval/$acl_libdirstem2" 3190 fi 3191 fi 3192 fi 3193]) 3194 dnl Search the library and its dependencies in $additional_libdir and 3195 dnl $LDFLAGS. Using breadth-first-seach. 3196 LIB[]NAME= 3197 LTLIB[]NAME= 3198 INC[]NAME= 3199 LIB[]NAME[]_PREFIX= 3200 dnl HAVE_LIB${NAME} is an indicator that LIB${NAME}, LTLIB${NAME} have been 3201 dnl computed. So it has to be reset here. 3202 HAVE_LIB[]NAME= 3203 rpathdirs= 3204 ltrpathdirs= 3205 names_already_handled= 3206 names_next_round='$1 $2' 3207 while test -n "$names_next_round"; do 3208 names_this_round="$names_next_round" 3209 names_next_round= 3210 for name in $names_this_round; do 3211 already_handled= 3212 for n in $names_already_handled; do 3213 if test "$n" = "$name"; then 3214 already_handled=yes 3215 break 3216 fi 3217 done 3218 if test -z "$already_handled"; then 3219 names_already_handled="$names_already_handled $name" 3220 dnl See if it was already located by an earlier AC_LIB_LINKFLAGS 3221 dnl or AC_LIB_HAVE_LINKFLAGS call. 3222 uppername=`echo "$name" | sed -e 'y|abcdefghijklmnopqrstuvwxyz./+-|ABCDEFGHIJKLMNOPQRSTUVWXYZ____|'` 3223 eval value=\"\$HAVE_LIB$uppername\" 3224 if test -n "$value"; then 3225 if test "$value" = yes; then 3226 eval value=\"\$LIB$uppername\" 3227 test -z "$value" || LIB[]NAME="${LIB[]NAME}${LIB[]NAME:+ }$value" 3228 eval value=\"\$LTLIB$uppername\" 3229 test -z "$value" || LTLIB[]NAME="${LTLIB[]NAME}${LTLIB[]NAME:+ }$value" 3230 else 3231 dnl An earlier call to AC_LIB_HAVE_LINKFLAGS has determined 3232 dnl that this library doesn't exist. So just drop it. 3233 : 3234 fi 3235 else 3236 dnl Search the library lib$name in $additional_libdir and $LDFLAGS 3237 dnl and the already constructed $LIBNAME/$LTLIBNAME. 3238 found_dir= 3239 found_la= 3240 found_so= 3241 found_a= 3242 eval libname=\"$acl_libname_spec\" # typically: libname=lib$name 3243 if test -n "$acl_shlibext"; then 3244 shrext=".$acl_shlibext" # typically: shrext=.so 3245 else 3246 shrext= 3247 fi 3248 if test $use_additional = yes; then 3249 dir="$additional_libdir" 3250 dnl The same code as in the loop below: 3251 dnl First look for a shared library. 3252 if test -n "$acl_shlibext"; then 3253 if test -f "$dir/$libname$shrext"; then 3254 found_dir="$dir" 3255 found_so="$dir/$libname$shrext" 3256 else 3257 if test "$acl_library_names_spec" = '$libname$shrext$versuffix'; then 3258 ver=`(cd "$dir" && \ 3259 for f in "$libname$shrext".*; do echo "$f"; done \ 3260 | sed -e "s,^$libname$shrext\\\\.,," \ 3261 | sort -t '.' -n -r -k1,1 -k2,2 -k3,3 -k4,4 -k5,5 \ 3262 | sed 1q ) 2>/dev/null` 3263 if test -n "$ver" && test -f "$dir/$libname$shrext.$ver"; then 3264 found_dir="$dir" 3265 found_so="$dir/$libname$shrext.$ver" 3266 fi 3267 else 3268 eval library_names=\"$acl_library_names_spec\" 3269 for f in $library_names; do 3270 if test -f "$dir/$f"; then 3271 found_dir="$dir" 3272 found_so="$dir/$f" 3273 break 3274 fi 3275 done 3276 fi 3277 fi 3278 fi 3279 dnl Then look for a static library. 3280 if test "X$found_dir" = "X"; then 3281 if test -f "$dir/$libname.$acl_libext"; then 3282 found_dir="$dir" 3283 found_a="$dir/$libname.$acl_libext" 3284 fi 3285 fi 3286 if test "X$found_dir" != "X"; then 3287 if test -f "$dir/$libname.la"; then 3288 found_la="$dir/$libname.la" 3289 fi 3290 fi 3291 fi 3292 if test "X$found_dir" = "X"; then 3293 for x in $LDFLAGS $LTLIB[]NAME; do 3294 AC_LIB_WITH_FINAL_PREFIX([eval x=\"$x\"]) 3295 case "$x" in 3296 -L*) 3297 dir=`echo "X$x" | sed -e 's/^X-L//'` 3298 dnl First look for a shared library. 3299 if test -n "$acl_shlibext"; then 3300 if test -f "$dir/$libname$shrext"; then 3301 found_dir="$dir" 3302 found_so="$dir/$libname$shrext" 3303 else 3304 if test "$acl_library_names_spec" = '$libname$shrext$versuffix'; then 3305 ver=`(cd "$dir" && \ 3306 for f in "$libname$shrext".*; do echo "$f"; done \ 3307 | sed -e "s,^$libname$shrext\\\\.,," \ 3308 | sort -t '.' -n -r -k1,1 -k2,2 -k3,3 -k4,4 -k5,5 \ 3309 | sed 1q ) 2>/dev/null` 3310 if test -n "$ver" && test -f "$dir/$libname$shrext.$ver"; then 3311 found_dir="$dir" 3312 found_so="$dir/$libname$shrext.$ver" 3313 fi 3314 else 3315 eval library_names=\"$acl_library_names_spec\" 3316 for f in $library_names; do 3317 if test -f "$dir/$f"; then 3318 found_dir="$dir" 3319 found_so="$dir/$f" 3320 break 3321 fi 3322 done 3323 fi 3324 fi 3325 fi 3326 dnl Then look for a static library. 3327 if test "X$found_dir" = "X"; then 3328 if test -f "$dir/$libname.$acl_libext"; then 3329 found_dir="$dir" 3330 found_a="$dir/$libname.$acl_libext" 3331 fi 3332 fi 3333 if test "X$found_dir" != "X"; then 3334 if test -f "$dir/$libname.la"; then 3335 found_la="$dir/$libname.la" 3336 fi 3337 fi 3338 ;; 3339 esac 3340 if test "X$found_dir" != "X"; then 3341 break 3342 fi 3343 done 3344 fi 3345 if test "X$found_dir" != "X"; then 3346 dnl Found the library. 3347 LTLIB[]NAME="${LTLIB[]NAME}${LTLIB[]NAME:+ }-L$found_dir -l$name" 3348 if test "X$found_so" != "X"; then 3349 dnl Linking with a shared library. We attempt to hardcode its 3350 dnl directory into the executable's runpath, unless it's the 3351 dnl standard /usr/lib. 3352 if test "$enable_rpath" = no \ 3353 || test "X$found_dir" = "X/usr/$acl_libdirstem" \ 3354 || test "X$found_dir" = "X/usr/$acl_libdirstem2"; then 3355 dnl No hardcoding is needed. 3356 LIB[]NAME="${LIB[]NAME}${LIB[]NAME:+ }$found_so" 3357 else 3358 dnl Use an explicit option to hardcode DIR into the resulting 3359 dnl binary. 3360 dnl Potentially add DIR to ltrpathdirs. 3361 dnl The ltrpathdirs will be appended to $LTLIBNAME at the end. 3362 haveit= 3363 for x in $ltrpathdirs; do 3364 if test "X$x" = "X$found_dir"; then 3365 haveit=yes 3366 break 3367 fi 3368 done 3369 if test -z "$haveit"; then 3370 ltrpathdirs="$ltrpathdirs $found_dir" 3371 fi 3372 dnl The hardcoding into $LIBNAME is system dependent. 3373 if test "$acl_hardcode_direct" = yes; then 3374 dnl Using DIR/libNAME.so during linking hardcodes DIR into the 3375 dnl resulting binary. 3376 LIB[]NAME="${LIB[]NAME}${LIB[]NAME:+ }$found_so" 3377 else 3378 if test -n "$acl_hardcode_libdir_flag_spec" && test "$acl_hardcode_minus_L" = no; then 3379 dnl Use an explicit option to hardcode DIR into the resulting 3380 dnl binary. 3381 LIB[]NAME="${LIB[]NAME}${LIB[]NAME:+ }$found_so" 3382 dnl Potentially add DIR to rpathdirs. 3383 dnl The rpathdirs will be appended to $LIBNAME at the end. 3384 haveit= 3385 for x in $rpathdirs; do 3386 if test "X$x" = "X$found_dir"; then 3387 haveit=yes 3388 break 3389 fi 3390 done 3391 if test -z "$haveit"; then 3392 rpathdirs="$rpathdirs $found_dir" 3393 fi 3394 else 3395 dnl Rely on "-L$found_dir". 3396 dnl But don't add it if it's already contained in the LDFLAGS 3397 dnl or the already constructed $LIBNAME 3398 haveit= 3399 for x in $LDFLAGS $LIB[]NAME; do 3400 AC_LIB_WITH_FINAL_PREFIX([eval x=\"$x\"]) 3401 if test "X$x" = "X-L$found_dir"; then 3402 haveit=yes 3403 break 3404 fi 3405 done 3406 if test -z "$haveit"; then 3407 LIB[]NAME="${LIB[]NAME}${LIB[]NAME:+ }-L$found_dir" 3408 fi 3409 if test "$acl_hardcode_minus_L" != no; then 3410 dnl FIXME: Not sure whether we should use 3411 dnl "-L$found_dir -l$name" or "-L$found_dir $found_so" 3412 dnl here. 3413 LIB[]NAME="${LIB[]NAME}${LIB[]NAME:+ }$found_so" 3414 else 3415 dnl We cannot use $acl_hardcode_runpath_var and LD_RUN_PATH 3416 dnl here, because this doesn't fit in flags passed to the 3417 dnl compiler. So give up. No hardcoding. This affects only 3418 dnl very old systems. 3419 dnl FIXME: Not sure whether we should use 3420 dnl "-L$found_dir -l$name" or "-L$found_dir $found_so" 3421 dnl here. 3422 LIB[]NAME="${LIB[]NAME}${LIB[]NAME:+ }-l$name" 3423 fi 3424 fi 3425 fi 3426 fi 3427 else 3428 if test "X$found_a" != "X"; then 3429 dnl Linking with a static library. 3430 LIB[]NAME="${LIB[]NAME}${LIB[]NAME:+ }$found_a" 3431 else 3432 dnl We shouldn't come here, but anyway it's good to have a 3433 dnl fallback. 3434 LIB[]NAME="${LIB[]NAME}${LIB[]NAME:+ }-L$found_dir -l$name" 3435 fi 3436 fi 3437 dnl Assume the include files are nearby. 3438 additional_includedir= 3439 case "$found_dir" in 3440 */$acl_libdirstem | */$acl_libdirstem/) 3441 basedir=`echo "X$found_dir" | sed -e 's,^X,,' -e "s,/$acl_libdirstem/"'*$,,'` 3442 if test "$name" = '$1'; then 3443 LIB[]NAME[]_PREFIX="$basedir" 3444 fi 3445 additional_includedir="$basedir/include" 3446 ;; 3447 */$acl_libdirstem2 | */$acl_libdirstem2/) 3448 basedir=`echo "X$found_dir" | sed -e 's,^X,,' -e "s,/$acl_libdirstem2/"'*$,,'` 3449 if test "$name" = '$1'; then 3450 LIB[]NAME[]_PREFIX="$basedir" 3451 fi 3452 additional_includedir="$basedir/include" 3453 ;; 3454 esac 3455 if test "X$additional_includedir" != "X"; then 3456 dnl Potentially add $additional_includedir to $INCNAME. 3457 dnl But don't add it 3458 dnl 1. if it's the standard /usr/include, 3459 dnl 2. if it's /usr/local/include and we are using GCC on Linux, 3460 dnl 3. if it's already present in $CPPFLAGS or the already 3461 dnl constructed $INCNAME, 3462 dnl 4. if it doesn't exist as a directory. 3463 if test "X$additional_includedir" != "X/usr/include"; then 3464 haveit= 3465 if test "X$additional_includedir" = "X/usr/local/include"; then 3466 if test -n "$GCC"; then 3467 case $host_os in 3468 linux* | gnu* | k*bsd*-gnu) haveit=yes;; 3469 esac 3470 fi 3471 fi 3472 if test -z "$haveit"; then 3473 for x in $CPPFLAGS $INC[]NAME; do 3474 AC_LIB_WITH_FINAL_PREFIX([eval x=\"$x\"]) 3475 if test "X$x" = "X-I$additional_includedir"; then 3476 haveit=yes 3477 break 3478 fi 3479 done 3480 if test -z "$haveit"; then 3481 if test -d "$additional_includedir"; then 3482 dnl Really add $additional_includedir to $INCNAME. 3483 INC[]NAME="${INC[]NAME}${INC[]NAME:+ }-I$additional_includedir" 3484 fi 3485 fi 3486 fi 3487 fi 3488 fi 3489 dnl Look for dependencies. 3490 if test -n "$found_la"; then 3491 dnl Read the .la file. It defines the variables 3492 dnl dlname, library_names, old_library, dependency_libs, current, 3493 dnl age, revision, installed, dlopen, dlpreopen, libdir. 3494 save_libdir="$libdir" 3495 case "$found_la" in 3496 */* | *\\*) . "$found_la" ;; 3497 *) . "./$found_la" ;; 3498 esac 3499 libdir="$save_libdir" 3500 dnl We use only dependency_libs. 3501 for dep in $dependency_libs; do 3502 case "$dep" in 3503 -L*) 3504 additional_libdir=`echo "X$dep" | sed -e 's/^X-L//'` 3505 dnl Potentially add $additional_libdir to $LIBNAME and $LTLIBNAME. 3506 dnl But don't add it 3507 dnl 1. if it's the standard /usr/lib, 3508 dnl 2. if it's /usr/local/lib and we are using GCC on Linux, 3509 dnl 3. if it's already present in $LDFLAGS or the already 3510 dnl constructed $LIBNAME, 3511 dnl 4. if it doesn't exist as a directory. 3512 if test "X$additional_libdir" != "X/usr/$acl_libdirstem" \ 3513 && test "X$additional_libdir" != "X/usr/$acl_libdirstem2"; then 3514 haveit= 3515 if test "X$additional_libdir" = "X/usr/local/$acl_libdirstem" \ 3516 || test "X$additional_libdir" = "X/usr/local/$acl_libdirstem2"; then 3517 if test -n "$GCC"; then 3518 case $host_os in 3519 linux* | gnu* | k*bsd*-gnu) haveit=yes;; 3520 esac 3521 fi 3522 fi 3523 if test -z "$haveit"; then 3524 haveit= 3525 for x in $LDFLAGS $LIB[]NAME; do 3526 AC_LIB_WITH_FINAL_PREFIX([eval x=\"$x\"]) 3527 if test "X$x" = "X-L$additional_libdir"; then 3528 haveit=yes 3529 break 3530 fi 3531 done 3532 if test -z "$haveit"; then 3533 if test -d "$additional_libdir"; then 3534 dnl Really add $additional_libdir to $LIBNAME. 3535 LIB[]NAME="${LIB[]NAME}${LIB[]NAME:+ }-L$additional_libdir" 3536 fi 3537 fi 3538 haveit= 3539 for x in $LDFLAGS $LTLIB[]NAME; do 3540 AC_LIB_WITH_FINAL_PREFIX([eval x=\"$x\"]) 3541 if test "X$x" = "X-L$additional_libdir"; then 3542 haveit=yes 3543 break 3544 fi 3545 done 3546 if test -z "$haveit"; then 3547 if test -d "$additional_libdir"; then 3548 dnl Really add $additional_libdir to $LTLIBNAME. 3549 LTLIB[]NAME="${LTLIB[]NAME}${LTLIB[]NAME:+ }-L$additional_libdir" 3550 fi 3551 fi 3552 fi 3553 fi 3554 ;; 3555 -R*) 3556 dir=`echo "X$dep" | sed -e 's/^X-R//'` 3557 if test "$enable_rpath" != no; then 3558 dnl Potentially add DIR to rpathdirs. 3559 dnl The rpathdirs will be appended to $LIBNAME at the end. 3560 haveit= 3561 for x in $rpathdirs; do 3562 if test "X$x" = "X$dir"; then 3563 haveit=yes 3564 break 3565 fi 3566 done 3567 if test -z "$haveit"; then 3568 rpathdirs="$rpathdirs $dir" 3569 fi 3570 dnl Potentially add DIR to ltrpathdirs. 3571 dnl The ltrpathdirs will be appended to $LTLIBNAME at the end. 3572 haveit= 3573 for x in $ltrpathdirs; do 3574 if test "X$x" = "X$dir"; then 3575 haveit=yes 3576 break 3577 fi 3578 done 3579 if test -z "$haveit"; then 3580 ltrpathdirs="$ltrpathdirs $dir" 3581 fi 3582 fi 3583 ;; 3584 -l*) 3585 dnl Handle this in the next round. 3586 names_next_round="$names_next_round "`echo "X$dep" | sed -e 's/^X-l//'` 3587 ;; 3588 *.la) 3589 dnl Handle this in the next round. Throw away the .la's 3590 dnl directory; it is already contained in a preceding -L 3591 dnl option. 3592 names_next_round="$names_next_round "`echo "X$dep" | sed -e 's,^X.*/,,' -e 's,^lib,,' -e 's,\.la$,,'` 3593 ;; 3594 *) 3595 dnl Most likely an immediate library name. 3596 LIB[]NAME="${LIB[]NAME}${LIB[]NAME:+ }$dep" 3597 LTLIB[]NAME="${LTLIB[]NAME}${LTLIB[]NAME:+ }$dep" 3598 ;; 3599 esac 3600 done 3601 fi 3602 else 3603 dnl Didn't find the library; assume it is in the system directories 3604 dnl known to the linker and runtime loader. (All the system 3605 dnl directories known to the linker should also be known to the 3606 dnl runtime loader, otherwise the system is severely misconfigured.) 3607 LIB[]NAME="${LIB[]NAME}${LIB[]NAME:+ }-l$name" 3608 LTLIB[]NAME="${LTLIB[]NAME}${LTLIB[]NAME:+ }-l$name" 3609 fi 3610 fi 3611 fi 3612 done 3613 done 3614 if test "X$rpathdirs" != "X"; then 3615 if test -n "$acl_hardcode_libdir_separator"; then 3616 dnl Weird platform: only the last -rpath option counts, the user must 3617 dnl pass all path elements in one option. We can arrange that for a 3618 dnl single library, but not when more than one $LIBNAMEs are used. 3619 alldirs= 3620 for found_dir in $rpathdirs; do 3621 alldirs="${alldirs}${alldirs:+$acl_hardcode_libdir_separator}$found_dir" 3622 done 3623 dnl Note: acl_hardcode_libdir_flag_spec uses $libdir and $wl. 3624 acl_save_libdir="$libdir" 3625 libdir="$alldirs" 3626 eval flag=\"$acl_hardcode_libdir_flag_spec\" 3627 libdir="$acl_save_libdir" 3628 LIB[]NAME="${LIB[]NAME}${LIB[]NAME:+ }$flag" 3629 else 3630 dnl The -rpath options are cumulative. 3631 for found_dir in $rpathdirs; do 3632 acl_save_libdir="$libdir" 3633 libdir="$found_dir" 3634 eval flag=\"$acl_hardcode_libdir_flag_spec\" 3635 libdir="$acl_save_libdir" 3636 LIB[]NAME="${LIB[]NAME}${LIB[]NAME:+ }$flag" 3637 done 3638 fi 3639 fi 3640 if test "X$ltrpathdirs" != "X"; then 3641 dnl When using libtool, the option that works for both libraries and 3642 dnl executables is -R. The -R options are cumulative. 3643 for found_dir in $ltrpathdirs; do 3644 LTLIB[]NAME="${LTLIB[]NAME}${LTLIB[]NAME:+ }-R$found_dir" 3645 done 3646 fi 3647 popdef([P_A_C_K]) 3648 popdef([PACKLIBS]) 3649 popdef([PACKUP]) 3650 popdef([PACK]) 3651 popdef([NAME]) 3652]) 3653m4trace:m4/lib-link.m4:684: -1- AC_DEFUN([AC_LIB_APPENDTOVAR], [ 3654 for element in [$2]; do 3655 haveit= 3656 for x in $[$1]; do 3657 AC_LIB_WITH_FINAL_PREFIX([eval x=\"$x\"]) 3658 if test "X$x" = "X$element"; then 3659 haveit=yes 3660 break 3661 fi 3662 done 3663 if test -z "$haveit"; then 3664 [$1]="${[$1]}${[$1]:+ }$element" 3665 fi 3666 done 3667]) 3668m4trace:m4/lib-link.m4:708: -1- AC_DEFUN([AC_LIB_LINKFLAGS_FROM_LIBS], [ 3669 AC_REQUIRE([AC_LIB_RPATH]) 3670 AC_REQUIRE([AC_LIB_PREPARE_MULTILIB]) 3671 $1= 3672 if test "$enable_rpath" != no; then 3673 if test -n "$acl_hardcode_libdir_flag_spec" && test "$acl_hardcode_minus_L" = no; then 3674 dnl Use an explicit option to hardcode directories into the resulting 3675 dnl binary. 3676 rpathdirs= 3677 next= 3678 for opt in $2; do 3679 if test -n "$next"; then 3680 dir="$next" 3681 dnl No need to hardcode the standard /usr/lib. 3682 if test "X$dir" != "X/usr/$acl_libdirstem" \ 3683 && test "X$dir" != "X/usr/$acl_libdirstem2"; then 3684 rpathdirs="$rpathdirs $dir" 3685 fi 3686 next= 3687 else 3688 case $opt in 3689 -L) next=yes ;; 3690 -L*) dir=`echo "X$opt" | sed -e 's,^X-L,,'` 3691 dnl No need to hardcode the standard /usr/lib. 3692 if test "X$dir" != "X/usr/$acl_libdirstem" \ 3693 && test "X$dir" != "X/usr/$acl_libdirstem2"; then 3694 rpathdirs="$rpathdirs $dir" 3695 fi 3696 next= ;; 3697 *) next= ;; 3698 esac 3699 fi 3700 done 3701 if test "X$rpathdirs" != "X"; then 3702 if test -n ""$3""; then 3703 dnl libtool is used for linking. Use -R options. 3704 for dir in $rpathdirs; do 3705 $1="${$1}${$1:+ }-R$dir" 3706 done 3707 else 3708 dnl The linker is used for linking directly. 3709 if test -n "$acl_hardcode_libdir_separator"; then 3710 dnl Weird platform: only the last -rpath option counts, the user 3711 dnl must pass all path elements in one option. 3712 alldirs= 3713 for dir in $rpathdirs; do 3714 alldirs="${alldirs}${alldirs:+$acl_hardcode_libdir_separator}$dir" 3715 done 3716 acl_save_libdir="$libdir" 3717 libdir="$alldirs" 3718 eval flag=\"$acl_hardcode_libdir_flag_spec\" 3719 libdir="$acl_save_libdir" 3720 $1="$flag" 3721 else 3722 dnl The -rpath options are cumulative. 3723 for dir in $rpathdirs; do 3724 acl_save_libdir="$libdir" 3725 libdir="$dir" 3726 eval flag=\"$acl_hardcode_libdir_flag_spec\" 3727 libdir="$acl_save_libdir" 3728 $1="${$1}${$1:+ }$flag" 3729 done 3730 fi 3731 fi 3732 fi 3733 fi 3734 fi 3735 AC_SUBST([$1]) 3736]) 3737m4trace:m4/lib-prefix.m4:12: -1- AC_DEFUN([AC_LIB_ARG_WITH], [AC_ARG_WITH([$1],[[$2]],[$3],[$4])]) 3738m4trace:m4/lib-prefix.m4:22: -1- AC_DEFUN([AC_LIB_PREFIX], [ 3739 AC_BEFORE([$0], [AC_LIB_LINKFLAGS]) 3740 AC_REQUIRE([AC_PROG_CC]) 3741 AC_REQUIRE([AC_CANONICAL_HOST]) 3742 AC_REQUIRE([AC_LIB_PREPARE_MULTILIB]) 3743 AC_REQUIRE([AC_LIB_PREPARE_PREFIX]) 3744 dnl By default, look in $includedir and $libdir. 3745 use_additional=yes 3746 AC_LIB_WITH_FINAL_PREFIX([ 3747 eval additional_includedir=\"$includedir\" 3748 eval additional_libdir=\"$libdir\" 3749 ]) 3750 AC_LIB_ARG_WITH([lib-prefix], 3751[ --with-lib-prefix[=DIR] search for libraries in DIR/include and DIR/lib 3752 --without-lib-prefix don't search for libraries in includedir and libdir], 3753[ 3754 if test "X$withval" = "Xno"; then 3755 use_additional=no 3756 else 3757 if test "X$withval" = "X"; then 3758 AC_LIB_WITH_FINAL_PREFIX([ 3759 eval additional_includedir=\"$includedir\" 3760 eval additional_libdir=\"$libdir\" 3761 ]) 3762 else 3763 additional_includedir="$withval/include" 3764 additional_libdir="$withval/$acl_libdirstem" 3765 fi 3766 fi 3767]) 3768 if test $use_additional = yes; then 3769 dnl Potentially add $additional_includedir to $CPPFLAGS. 3770 dnl But don't add it 3771 dnl 1. if it's the standard /usr/include, 3772 dnl 2. if it's already present in $CPPFLAGS, 3773 dnl 3. if it's /usr/local/include and we are using GCC on Linux, 3774 dnl 4. if it doesn't exist as a directory. 3775 if test "X$additional_includedir" != "X/usr/include"; then 3776 haveit= 3777 for x in $CPPFLAGS; do 3778 AC_LIB_WITH_FINAL_PREFIX([eval x=\"$x\"]) 3779 if test "X$x" = "X-I$additional_includedir"; then 3780 haveit=yes 3781 break 3782 fi 3783 done 3784 if test -z "$haveit"; then 3785 if test "X$additional_includedir" = "X/usr/local/include"; then 3786 if test -n "$GCC"; then 3787 case $host_os in 3788 linux* | gnu* | k*bsd*-gnu) haveit=yes;; 3789 esac 3790 fi 3791 fi 3792 if test -z "$haveit"; then 3793 if test -d "$additional_includedir"; then 3794 dnl Really add $additional_includedir to $CPPFLAGS. 3795 CPPFLAGS="${CPPFLAGS}${CPPFLAGS:+ }-I$additional_includedir" 3796 fi 3797 fi 3798 fi 3799 fi 3800 dnl Potentially add $additional_libdir to $LDFLAGS. 3801 dnl But don't add it 3802 dnl 1. if it's the standard /usr/lib, 3803 dnl 2. if it's already present in $LDFLAGS, 3804 dnl 3. if it's /usr/local/lib and we are using GCC on Linux, 3805 dnl 4. if it doesn't exist as a directory. 3806 if test "X$additional_libdir" != "X/usr/$acl_libdirstem"; then 3807 haveit= 3808 for x in $LDFLAGS; do 3809 AC_LIB_WITH_FINAL_PREFIX([eval x=\"$x\"]) 3810 if test "X$x" = "X-L$additional_libdir"; then 3811 haveit=yes 3812 break 3813 fi 3814 done 3815 if test -z "$haveit"; then 3816 if test "X$additional_libdir" = "X/usr/local/$acl_libdirstem"; then 3817 if test -n "$GCC"; then 3818 case $host_os in 3819 linux*) haveit=yes;; 3820 esac 3821 fi 3822 fi 3823 if test -z "$haveit"; then 3824 if test -d "$additional_libdir"; then 3825 dnl Really add $additional_libdir to $LDFLAGS. 3826 LDFLAGS="${LDFLAGS}${LDFLAGS:+ }-L$additional_libdir" 3827 fi 3828 fi 3829 fi 3830 fi 3831 fi 3832]) 3833m4trace:m4/lib-prefix.m4:122: -1- AC_DEFUN([AC_LIB_PREPARE_PREFIX], [ 3834 dnl Unfortunately, prefix and exec_prefix get only finally determined 3835 dnl at the end of configure. 3836 if test "X$prefix" = "XNONE"; then 3837 acl_final_prefix="$ac_default_prefix" 3838 else 3839 acl_final_prefix="$prefix" 3840 fi 3841 if test "X$exec_prefix" = "XNONE"; then 3842 acl_final_exec_prefix='${prefix}' 3843 else 3844 acl_final_exec_prefix="$exec_prefix" 3845 fi 3846 acl_save_prefix="$prefix" 3847 prefix="$acl_final_prefix" 3848 eval acl_final_exec_prefix=\"$acl_final_exec_prefix\" 3849 prefix="$acl_save_prefix" 3850]) 3851m4trace:m4/lib-prefix.m4:145: -1- AC_DEFUN([AC_LIB_WITH_FINAL_PREFIX], [ 3852 acl_save_prefix="$prefix" 3853 prefix="$acl_final_prefix" 3854 acl_save_exec_prefix="$exec_prefix" 3855 exec_prefix="$acl_final_exec_prefix" 3856 $1 3857 exec_prefix="$acl_save_exec_prefix" 3858 prefix="$acl_save_prefix" 3859]) 3860m4trace:m4/lib-prefix.m4:162: -1- AC_DEFUN([AC_LIB_PREPARE_MULTILIB], [ 3861 dnl There is no formal standard regarding lib and lib64. 3862 dnl On glibc systems, the current practice is that on a system supporting 3863 dnl 32-bit and 64-bit instruction sets or ABIs, 64-bit libraries go under 3864 dnl $prefix/lib64 and 32-bit libraries go under $prefix/lib. We determine 3865 dnl the compiler's default mode by looking at the compiler's library search 3866 dnl path. If at least one of its elements ends in /lib64 or points to a 3867 dnl directory whose absolute pathname ends in /lib64, we assume a 64-bit ABI. 3868 dnl Otherwise we use the default, namely "lib". 3869 dnl On Solaris systems, the current practice is that on a system supporting 3870 dnl 32-bit and 64-bit instruction sets or ABIs, 64-bit libraries go under 3871 dnl $prefix/lib/64 (which is a symlink to either $prefix/lib/sparcv9 or 3872 dnl $prefix/lib/amd64) and 32-bit libraries go under $prefix/lib. 3873 AC_REQUIRE([AC_CANONICAL_HOST]) 3874 acl_libdirstem=lib 3875 acl_libdirstem2= 3876 case "$host_os" in 3877 solaris*) 3878 dnl See Solaris 10 Software Developer Collection > Solaris 64-bit Developer's Guide > The Development Environment 3879 dnl <http://docs.sun.com/app/docs/doc/816-5138/dev-env?l=en&a=view>. 3880 dnl "Portable Makefiles should refer to any library directories using the 64 symbolic link." 3881 dnl But we want to recognize the sparcv9 or amd64 subdirectory also if the 3882 dnl symlink is missing, so we set acl_libdirstem2 too. 3883 AC_CACHE_CHECK([for 64-bit host], [gl_cv_solaris_64bit], 3884 [AC_EGREP_CPP([sixtyfour bits], [ 3885#ifdef _LP64 3886sixtyfour bits 3887#endif 3888 ], [gl_cv_solaris_64bit=yes], [gl_cv_solaris_64bit=no]) 3889 ]) 3890 if test $gl_cv_solaris_64bit = yes; then 3891 acl_libdirstem=lib/64 3892 case "$host_cpu" in 3893 sparc*) acl_libdirstem2=lib/sparcv9 ;; 3894 i*86 | x86_64) acl_libdirstem2=lib/amd64 ;; 3895 esac 3896 fi 3897 ;; 3898 *) 3899 searchpath=`(LC_ALL=C $CC -print-search-dirs) 2>/dev/null | sed -n -e 's,^libraries: ,,p' | sed -e 's,^=,,'` 3900 if test -n "$searchpath"; then 3901 acl_save_IFS="${IFS= }"; IFS=":" 3902 for searchdir in $searchpath; do 3903 if test -d "$searchdir"; then 3904 case "$searchdir" in 3905 */lib64/ | */lib64 ) acl_libdirstem=lib64 ;; 3906 */../ | */.. ) 3907 # Better ignore directories of this form. They are misleading. 3908 ;; 3909 *) searchdir=`cd "$searchdir" && pwd` 3910 case "$searchdir" in 3911 */lib64 ) acl_libdirstem=lib64 ;; 3912 esac ;; 3913 esac 3914 fi 3915 done 3916 IFS="$acl_save_IFS" 3917 fi 3918 ;; 3919 esac 3920 test -n "$acl_libdirstem2" || acl_libdirstem2="$acl_libdirstem" 3921]) 3922m4trace:m4/libtool.m4:61: -1- AC_DEFUN([LT_INIT], [AC_PREREQ([2.62])dnl We use AC_PATH_PROGS_FEATURE_CHECK 3923AC_REQUIRE([AC_CONFIG_AUX_DIR_DEFAULT])dnl 3924AC_BEFORE([$0], [LT_LANG])dnl 3925AC_BEFORE([$0], [LT_OUTPUT])dnl 3926AC_BEFORE([$0], [LTDL_INIT])dnl 3927m4_require([_LT_CHECK_BUILDDIR])dnl 3928 3929dnl Autoconf doesn't catch unexpanded LT_ macros by default: 3930m4_pattern_forbid([^_?LT_[A-Z_]+$])dnl 3931m4_pattern_allow([^(_LT_EOF|LT_DLGLOBAL|LT_DLLAZY_OR_NOW|LT_MULTI_MODULE)$])dnl 3932dnl aclocal doesn't pull ltoptions.m4, ltsugar.m4, or ltversion.m4 3933dnl unless we require an AC_DEFUNed macro: 3934AC_REQUIRE([LTOPTIONS_VERSION])dnl 3935AC_REQUIRE([LTSUGAR_VERSION])dnl 3936AC_REQUIRE([LTVERSION_VERSION])dnl 3937AC_REQUIRE([LTOBSOLETE_VERSION])dnl 3938m4_require([_LT_PROG_LTMAIN])dnl 3939 3940_LT_SHELL_INIT([SHELL=${CONFIG_SHELL-/bin/sh}]) 3941 3942dnl Parse OPTIONS 3943_LT_SET_OPTIONS([$0], [$1]) 3944 3945# This can be used to rebuild libtool when needed 3946LIBTOOL_DEPS=$ltmain 3947 3948# Always use our own libtool. 3949LIBTOOL='$(SHELL) $(top_builddir)/libtool' 3950AC_SUBST(LIBTOOL)dnl 3951 3952_LT_SETUP 3953 3954# Only expand once: 3955m4_define([LT_INIT]) 3956]) 3957m4trace:m4/libtool.m4:99: -1- AU_DEFUN([AC_PROG_LIBTOOL], [m4_if($#, 0, [LT_INIT], [LT_INIT($@)])]) 3958m4trace:m4/libtool.m4:99: -1- AC_DEFUN([AC_PROG_LIBTOOL], [AC_DIAGNOSE([obsolete], [The macro `AC_PROG_LIBTOOL' is obsolete. 3959You should run autoupdate.])dnl 3960m4_if($#, 0, [LT_INIT], [LT_INIT($@)])]) 3961m4trace:m4/libtool.m4:100: -1- AU_DEFUN([AM_PROG_LIBTOOL], [m4_if($#, 0, [LT_INIT], [LT_INIT($@)])]) 3962m4trace:m4/libtool.m4:100: -1- AC_DEFUN([AM_PROG_LIBTOOL], [AC_DIAGNOSE([obsolete], [The macro `AM_PROG_LIBTOOL' is obsolete. 3963You should run autoupdate.])dnl 3964m4_if($#, 0, [LT_INIT], [LT_INIT($@)])]) 3965m4trace:m4/libtool.m4:619: -1- AC_DEFUN([LT_OUTPUT], [: ${CONFIG_LT=./config.lt} 3966AC_MSG_NOTICE([creating $CONFIG_LT]) 3967_LT_GENERATED_FILE_INIT(["$CONFIG_LT"], 3968[# Run this file to recreate a libtool stub with the current configuration.]) 3969 3970cat >>"$CONFIG_LT" <<\_LTEOF 3971lt_cl_silent=false 3972exec AS_MESSAGE_LOG_FD>>config.log 3973{ 3974 echo 3975 AS_BOX([Running $as_me.]) 3976} >&AS_MESSAGE_LOG_FD 3977 3978lt_cl_help="\ 3979'$as_me' creates a local libtool stub from the current configuration, 3980for use in further configure time tests before the real libtool is 3981generated. 3982 3983Usage: $[0] [[OPTIONS]] 3984 3985 -h, --help print this help, then exit 3986 -V, --version print version number, then exit 3987 -q, --quiet do not print progress messages 3988 -d, --debug don't remove temporary files 3989 3990Report bugs to <bug-libtool@gnu.org>." 3991 3992lt_cl_version="\ 3993m4_ifset([AC_PACKAGE_NAME], [AC_PACKAGE_NAME ])config.lt[]dnl 3994m4_ifset([AC_PACKAGE_VERSION], [ AC_PACKAGE_VERSION]) 3995configured by $[0], generated by m4_PACKAGE_STRING. 3996 3997Copyright (C) 2011 Free Software Foundation, Inc. 3998This config.lt script is free software; the Free Software Foundation 3999gives unlimited permision to copy, distribute and modify it." 4000 4001while test 0 != $[#] 4002do 4003 case $[1] in 4004 --version | --v* | -V ) 4005 echo "$lt_cl_version"; exit 0 ;; 4006 --help | --h* | -h ) 4007 echo "$lt_cl_help"; exit 0 ;; 4008 --debug | --d* | -d ) 4009 debug=: ;; 4010 --quiet | --q* | --silent | --s* | -q ) 4011 lt_cl_silent=: ;; 4012 4013 -*) AC_MSG_ERROR([unrecognized option: $[1] 4014Try '$[0] --help' for more information.]) ;; 4015 4016 *) AC_MSG_ERROR([unrecognized argument: $[1] 4017Try '$[0] --help' for more information.]) ;; 4018 esac 4019 shift 4020done 4021 4022if $lt_cl_silent; then 4023 exec AS_MESSAGE_FD>/dev/null 4024fi 4025_LTEOF 4026 4027cat >>"$CONFIG_LT" <<_LTEOF 4028_LT_OUTPUT_LIBTOOL_COMMANDS_INIT 4029_LTEOF 4030 4031cat >>"$CONFIG_LT" <<\_LTEOF 4032AC_MSG_NOTICE([creating $ofile]) 4033_LT_OUTPUT_LIBTOOL_COMMANDS 4034AS_EXIT(0) 4035_LTEOF 4036chmod +x "$CONFIG_LT" 4037 4038# configure is writing to config.log, but config.lt does its own redirection, 4039# appending to config.log, which fails on DOS, as config.log is still kept 4040# open by configure. Here we exec the FD to /dev/null, effectively closing 4041# config.log, so it can be properly (re)opened and appended to by config.lt. 4042lt_cl_success=: 4043test yes = "$silent" && 4044 lt_config_lt_args="$lt_config_lt_args --quiet" 4045exec AS_MESSAGE_LOG_FD>/dev/null 4046$SHELL "$CONFIG_LT" $lt_config_lt_args || lt_cl_success=false 4047exec AS_MESSAGE_LOG_FD>>config.log 4048$lt_cl_success || AS_EXIT(1) 4049]) 4050m4trace:m4/libtool.m4:811: -1- AC_DEFUN([LT_SUPPORTED_TAG], []) 4051m4trace:m4/libtool.m4:822: -1- AC_DEFUN([LT_LANG], [AC_BEFORE([$0], [LT_OUTPUT])dnl 4052m4_case([$1], 4053 [C], [_LT_LANG(C)], 4054 [C++], [_LT_LANG(CXX)], 4055 [Go], [_LT_LANG(GO)], 4056 [Java], [_LT_LANG(GCJ)], 4057 [Fortran 77], [_LT_LANG(F77)], 4058 [Fortran], [_LT_LANG(FC)], 4059 [Windows Resource], [_LT_LANG(RC)], 4060 [m4_ifdef([_LT_LANG_]$1[_CONFIG], 4061 [_LT_LANG($1)], 4062 [m4_fatal([$0: unsupported language: "$1"])])])dnl 4063]) 4064m4trace:m4/libtool.m4:914: -1- AU_DEFUN([AC_LIBTOOL_CXX], [LT_LANG(C++)]) 4065m4trace:m4/libtool.m4:914: -1- AC_DEFUN([AC_LIBTOOL_CXX], [AC_DIAGNOSE([obsolete], [The macro `AC_LIBTOOL_CXX' is obsolete. 4066You should run autoupdate.])dnl 4067LT_LANG(C++)]) 4068m4trace:m4/libtool.m4:915: -1- AU_DEFUN([AC_LIBTOOL_F77], [LT_LANG(Fortran 77)]) 4069m4trace:m4/libtool.m4:915: -1- AC_DEFUN([AC_LIBTOOL_F77], [AC_DIAGNOSE([obsolete], [The macro `AC_LIBTOOL_F77' is obsolete. 4070You should run autoupdate.])dnl 4071LT_LANG(Fortran 77)]) 4072m4trace:m4/libtool.m4:916: -1- AU_DEFUN([AC_LIBTOOL_FC], [LT_LANG(Fortran)]) 4073m4trace:m4/libtool.m4:916: -1- AC_DEFUN([AC_LIBTOOL_FC], [AC_DIAGNOSE([obsolete], [The macro `AC_LIBTOOL_FC' is obsolete. 4074You should run autoupdate.])dnl 4075LT_LANG(Fortran)]) 4076m4trace:m4/libtool.m4:917: -1- AU_DEFUN([AC_LIBTOOL_GCJ], [LT_LANG(Java)]) 4077m4trace:m4/libtool.m4:917: -1- AC_DEFUN([AC_LIBTOOL_GCJ], [AC_DIAGNOSE([obsolete], [The macro `AC_LIBTOOL_GCJ' is obsolete. 4078You should run autoupdate.])dnl 4079LT_LANG(Java)]) 4080m4trace:m4/libtool.m4:918: -1- AU_DEFUN([AC_LIBTOOL_RC], [LT_LANG(Windows Resource)]) 4081m4trace:m4/libtool.m4:918: -1- AC_DEFUN([AC_LIBTOOL_RC], [AC_DIAGNOSE([obsolete], [The macro `AC_LIBTOOL_RC' is obsolete. 4082You should run autoupdate.])dnl 4083LT_LANG(Windows Resource)]) 4084m4trace:m4/libtool.m4:1246: -1- AC_DEFUN([_LT_WITH_SYSROOT], [AC_MSG_CHECKING([for sysroot]) 4085AC_ARG_WITH([sysroot], 4086[AS_HELP_STRING([--with-sysroot@<:@=DIR@:>@], 4087 [Search for dependent libraries within DIR (or the compiler's sysroot 4088 if not specified).])], 4089[], [with_sysroot=no]) 4090 4091dnl lt_sysroot will always be passed unquoted. We quote it here 4092dnl in case the user passed a directory name. 4093lt_sysroot= 4094case $with_sysroot in #( 4095 yes) 4096 if test yes = "$GCC"; then 4097 lt_sysroot=`$CC --print-sysroot 2>/dev/null` 4098 fi 4099 ;; #( 4100 /*) 4101 lt_sysroot=`echo "$with_sysroot" | sed -e "$sed_quote_subst"` 4102 ;; #( 4103 no|'') 4104 ;; #( 4105 *) 4106 AC_MSG_RESULT([$with_sysroot]) 4107 AC_MSG_ERROR([The sysroot must be an absolute path.]) 4108 ;; 4109esac 4110 4111 AC_MSG_RESULT([${lt_sysroot:-no}]) 4112_LT_DECL([], [lt_sysroot], [0], [The root where to search for ]dnl 4113[dependent libraries, and where our libraries should be installed.])]) 4114m4trace:m4/libtool.m4:1577: -1- AC_DEFUN([_LT_COMPILER_OPTION], [m4_require([_LT_FILEUTILS_DEFAULTS])dnl 4115m4_require([_LT_DECL_SED])dnl 4116AC_CACHE_CHECK([$1], [$2], 4117 [$2=no 4118 m4_if([$4], , [ac_outfile=conftest.$ac_objext], [ac_outfile=$4]) 4119 echo "$lt_simple_compile_test_code" > conftest.$ac_ext 4120 lt_compiler_flag="$3" ## exclude from sc_useless_quotes_in_assignment 4121 # Insert the option either (1) after the last *FLAGS variable, or 4122 # (2) before a word containing "conftest.", or (3) at the end. 4123 # Note that $ac_compile itself does not contain backslashes and begins 4124 # with a dollar sign (not a hyphen), so the echo should work correctly. 4125 # The option is referenced via a variable to avoid confusing sed. 4126 lt_compile=`echo "$ac_compile" | $SED \ 4127 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \ 4128 -e 's: [[^ ]]*conftest\.: $lt_compiler_flag&:; t' \ 4129 -e 's:$: $lt_compiler_flag:'` 4130 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&AS_MESSAGE_LOG_FD) 4131 (eval "$lt_compile" 2>conftest.err) 4132 ac_status=$? 4133 cat conftest.err >&AS_MESSAGE_LOG_FD 4134 echo "$as_me:$LINENO: \$? = $ac_status" >&AS_MESSAGE_LOG_FD 4135 if (exit $ac_status) && test -s "$ac_outfile"; then 4136 # The compiler can only warn and ignore the option if not recognized 4137 # So say no if there are warnings other than the usual output. 4138 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp 4139 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2 4140 if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then 4141 $2=yes 4142 fi 4143 fi 4144 $RM conftest* 4145]) 4146 4147if test yes = "[$]$2"; then 4148 m4_if([$5], , :, [$5]) 4149else 4150 m4_if([$6], , :, [$6]) 4151fi 4152]) 4153m4trace:m4/libtool.m4:1619: -1- AU_DEFUN([AC_LIBTOOL_COMPILER_OPTION], [m4_if($#, 0, [_LT_COMPILER_OPTION], [_LT_COMPILER_OPTION($@)])]) 4154m4trace:m4/libtool.m4:1619: -1- AC_DEFUN([AC_LIBTOOL_COMPILER_OPTION], [AC_DIAGNOSE([obsolete], [The macro `AC_LIBTOOL_COMPILER_OPTION' is obsolete. 4155You should run autoupdate.])dnl 4156m4_if($#, 0, [_LT_COMPILER_OPTION], [_LT_COMPILER_OPTION($@)])]) 4157m4trace:m4/libtool.m4:1628: -1- AC_DEFUN([_LT_LINKER_OPTION], [m4_require([_LT_FILEUTILS_DEFAULTS])dnl 4158m4_require([_LT_DECL_SED])dnl 4159AC_CACHE_CHECK([$1], [$2], 4160 [$2=no 4161 save_LDFLAGS=$LDFLAGS 4162 LDFLAGS="$LDFLAGS $3" 4163 echo "$lt_simple_link_test_code" > conftest.$ac_ext 4164 if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then 4165 # The linker can only warn and ignore the option if not recognized 4166 # So say no if there are warnings 4167 if test -s conftest.err; then 4168 # Append any errors to the config.log. 4169 cat conftest.err 1>&AS_MESSAGE_LOG_FD 4170 $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp 4171 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2 4172 if diff conftest.exp conftest.er2 >/dev/null; then 4173 $2=yes 4174 fi 4175 else 4176 $2=yes 4177 fi 4178 fi 4179 $RM -r conftest* 4180 LDFLAGS=$save_LDFLAGS 4181]) 4182 4183if test yes = "[$]$2"; then 4184 m4_if([$4], , :, [$4]) 4185else 4186 m4_if([$5], , :, [$5]) 4187fi 4188]) 4189m4trace:m4/libtool.m4:1663: -1- AU_DEFUN([AC_LIBTOOL_LINKER_OPTION], [m4_if($#, 0, [_LT_LINKER_OPTION], [_LT_LINKER_OPTION($@)])]) 4190m4trace:m4/libtool.m4:1663: -1- AC_DEFUN([AC_LIBTOOL_LINKER_OPTION], [AC_DIAGNOSE([obsolete], [The macro `AC_LIBTOOL_LINKER_OPTION' is obsolete. 4191You should run autoupdate.])dnl 4192m4_if($#, 0, [_LT_LINKER_OPTION], [_LT_LINKER_OPTION($@)])]) 4193m4trace:m4/libtool.m4:1670: -1- AC_DEFUN([LT_CMD_MAX_LEN], [AC_REQUIRE([AC_CANONICAL_HOST])dnl 4194# find the maximum length of command line arguments 4195AC_MSG_CHECKING([the maximum length of command line arguments]) 4196AC_CACHE_VAL([lt_cv_sys_max_cmd_len], [dnl 4197 i=0 4198 teststring=ABCD 4199 4200 case $build_os in 4201 msdosdjgpp*) 4202 # On DJGPP, this test can blow up pretty badly due to problems in libc 4203 # (any single argument exceeding 2000 bytes causes a buffer overrun 4204 # during glob expansion). Even if it were fixed, the result of this 4205 # check would be larger than it should be. 4206 lt_cv_sys_max_cmd_len=12288; # 12K is about right 4207 ;; 4208 4209 gnu*) 4210 # Under GNU Hurd, this test is not required because there is 4211 # no limit to the length of command line arguments. 4212 # Libtool will interpret -1 as no limit whatsoever 4213 lt_cv_sys_max_cmd_len=-1; 4214 ;; 4215 4216 cygwin* | mingw* | cegcc*) 4217 # On Win9x/ME, this test blows up -- it succeeds, but takes 4218 # about 5 minutes as the teststring grows exponentially. 4219 # Worse, since 9x/ME are not pre-emptively multitasking, 4220 # you end up with a "frozen" computer, even though with patience 4221 # the test eventually succeeds (with a max line length of 256k). 4222 # Instead, let's just punt: use the minimum linelength reported by 4223 # all of the supported platforms: 8192 (on NT/2K/XP). 4224 lt_cv_sys_max_cmd_len=8192; 4225 ;; 4226 4227 mint*) 4228 # On MiNT this can take a long time and run out of memory. 4229 lt_cv_sys_max_cmd_len=8192; 4230 ;; 4231 4232 amigaos*) 4233 # On AmigaOS with pdksh, this test takes hours, literally. 4234 # So we just punt and use a minimum line length of 8192. 4235 lt_cv_sys_max_cmd_len=8192; 4236 ;; 4237 4238 bitrig* | darwin* | dragonfly* | freebsd* | netbsd* | openbsd*) 4239 # This has been around since 386BSD, at least. Likely further. 4240 if test -x /sbin/sysctl; then 4241 lt_cv_sys_max_cmd_len=`/sbin/sysctl -n kern.argmax` 4242 elif test -x /usr/sbin/sysctl; then 4243 lt_cv_sys_max_cmd_len=`/usr/sbin/sysctl -n kern.argmax` 4244 else 4245 lt_cv_sys_max_cmd_len=65536 # usable default for all BSDs 4246 fi 4247 # And add a safety zone 4248 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4` 4249 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3` 4250 ;; 4251 4252 interix*) 4253 # We know the value 262144 and hardcode it with a safety zone (like BSD) 4254 lt_cv_sys_max_cmd_len=196608 4255 ;; 4256 4257 os2*) 4258 # The test takes a long time on OS/2. 4259 lt_cv_sys_max_cmd_len=8192 4260 ;; 4261 4262 osf*) 4263 # Dr. Hans Ekkehard Plesser reports seeing a kernel panic running configure 4264 # due to this test when exec_disable_arg_limit is 1 on Tru64. It is not 4265 # nice to cause kernel panics so lets avoid the loop below. 4266 # First set a reasonable default. 4267 lt_cv_sys_max_cmd_len=16384 4268 # 4269 if test -x /sbin/sysconfig; then 4270 case `/sbin/sysconfig -q proc exec_disable_arg_limit` in 4271 *1*) lt_cv_sys_max_cmd_len=-1 ;; 4272 esac 4273 fi 4274 ;; 4275 sco3.2v5*) 4276 lt_cv_sys_max_cmd_len=102400 4277 ;; 4278 sysv5* | sco5v6* | sysv4.2uw2*) 4279 kargmax=`grep ARG_MAX /etc/conf/cf.d/stune 2>/dev/null` 4280 if test -n "$kargmax"; then 4281 lt_cv_sys_max_cmd_len=`echo $kargmax | sed 's/.*[[ ]]//'` 4282 else 4283 lt_cv_sys_max_cmd_len=32768 4284 fi 4285 ;; 4286 *) 4287 lt_cv_sys_max_cmd_len=`(getconf ARG_MAX) 2> /dev/null` 4288 if test -n "$lt_cv_sys_max_cmd_len" && \ 4289 test undefined != "$lt_cv_sys_max_cmd_len"; then 4290 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4` 4291 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3` 4292 else 4293 # Make teststring a little bigger before we do anything with it. 4294 # a 1K string should be a reasonable start. 4295 for i in 1 2 3 4 5 6 7 8; do 4296 teststring=$teststring$teststring 4297 done 4298 SHELL=${SHELL-${CONFIG_SHELL-/bin/sh}} 4299 # If test is not a shell built-in, we'll probably end up computing a 4300 # maximum length that is only half of the actual maximum length, but 4301 # we can't tell. 4302 while { test X`env echo "$teststring$teststring" 2>/dev/null` \ 4303 = "X$teststring$teststring"; } >/dev/null 2>&1 && 4304 test 17 != "$i" # 1/2 MB should be enough 4305 do 4306 i=`expr $i + 1` 4307 teststring=$teststring$teststring 4308 done 4309 # Only check the string length outside the loop. 4310 lt_cv_sys_max_cmd_len=`expr "X$teststring" : ".*" 2>&1` 4311 teststring= 4312 # Add a significant safety factor because C++ compilers can tack on 4313 # massive amounts of additional arguments before passing them to the 4314 # linker. It appears as though 1/2 is a usable value. 4315 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 2` 4316 fi 4317 ;; 4318 esac 4319]) 4320if test -n "$lt_cv_sys_max_cmd_len"; then 4321 AC_MSG_RESULT($lt_cv_sys_max_cmd_len) 4322else 4323 AC_MSG_RESULT(none) 4324fi 4325max_cmd_len=$lt_cv_sys_max_cmd_len 4326_LT_DECL([], [max_cmd_len], [0], 4327 [What is the maximum length of a command?]) 4328]) 4329m4trace:m4/libtool.m4:1809: -1- AU_DEFUN([AC_LIBTOOL_SYS_MAX_CMD_LEN], [m4_if($#, 0, [LT_CMD_MAX_LEN], [LT_CMD_MAX_LEN($@)])]) 4330m4trace:m4/libtool.m4:1809: -1- AC_DEFUN([AC_LIBTOOL_SYS_MAX_CMD_LEN], [AC_DIAGNOSE([obsolete], [The macro `AC_LIBTOOL_SYS_MAX_CMD_LEN' is obsolete. 4331You should run autoupdate.])dnl 4332m4_if($#, 0, [LT_CMD_MAX_LEN], [LT_CMD_MAX_LEN($@)])]) 4333m4trace:m4/libtool.m4:1920: -1- AC_DEFUN([LT_SYS_DLOPEN_SELF], [m4_require([_LT_HEADER_DLFCN])dnl 4334if test yes != "$enable_dlopen"; then 4335 enable_dlopen=unknown 4336 enable_dlopen_self=unknown 4337 enable_dlopen_self_static=unknown 4338else 4339 lt_cv_dlopen=no 4340 lt_cv_dlopen_libs= 4341 4342 case $host_os in 4343 beos*) 4344 lt_cv_dlopen=load_add_on 4345 lt_cv_dlopen_libs= 4346 lt_cv_dlopen_self=yes 4347 ;; 4348 4349 mingw* | pw32* | cegcc*) 4350 lt_cv_dlopen=LoadLibrary 4351 lt_cv_dlopen_libs= 4352 ;; 4353 4354 cygwin*) 4355 lt_cv_dlopen=dlopen 4356 lt_cv_dlopen_libs= 4357 ;; 4358 4359 darwin*) 4360 # if libdl is installed we need to link against it 4361 AC_CHECK_LIB([dl], [dlopen], 4362 [lt_cv_dlopen=dlopen lt_cv_dlopen_libs=-ldl],[ 4363 lt_cv_dlopen=dyld 4364 lt_cv_dlopen_libs= 4365 lt_cv_dlopen_self=yes 4366 ]) 4367 ;; 4368 4369 tpf*) 4370 # Don't try to run any link tests for TPF. We know it's impossible 4371 # because TPF is a cross-compiler, and we know how we open DSOs. 4372 lt_cv_dlopen=dlopen 4373 lt_cv_dlopen_libs= 4374 lt_cv_dlopen_self=no 4375 ;; 4376 4377 *) 4378 AC_CHECK_FUNC([shl_load], 4379 [lt_cv_dlopen=shl_load], 4380 [AC_CHECK_LIB([dld], [shl_load], 4381 [lt_cv_dlopen=shl_load lt_cv_dlopen_libs=-ldld], 4382 [AC_CHECK_FUNC([dlopen], 4383 [lt_cv_dlopen=dlopen], 4384 [AC_CHECK_LIB([dl], [dlopen], 4385 [lt_cv_dlopen=dlopen lt_cv_dlopen_libs=-ldl], 4386 [AC_CHECK_LIB([svld], [dlopen], 4387 [lt_cv_dlopen=dlopen lt_cv_dlopen_libs=-lsvld], 4388 [AC_CHECK_LIB([dld], [dld_link], 4389 [lt_cv_dlopen=dld_link lt_cv_dlopen_libs=-ldld]) 4390 ]) 4391 ]) 4392 ]) 4393 ]) 4394 ]) 4395 ;; 4396 esac 4397 4398 if test no = "$lt_cv_dlopen"; then 4399 enable_dlopen=no 4400 else 4401 enable_dlopen=yes 4402 fi 4403 4404 case $lt_cv_dlopen in 4405 dlopen) 4406 save_CPPFLAGS=$CPPFLAGS 4407 test yes = "$ac_cv_header_dlfcn_h" && CPPFLAGS="$CPPFLAGS -DHAVE_DLFCN_H" 4408 4409 save_LDFLAGS=$LDFLAGS 4410 wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $export_dynamic_flag_spec\" 4411 4412 save_LIBS=$LIBS 4413 LIBS="$lt_cv_dlopen_libs $LIBS" 4414 4415 AC_CACHE_CHECK([whether a program can dlopen itself], 4416 lt_cv_dlopen_self, [dnl 4417 _LT_TRY_DLOPEN_SELF( 4418 lt_cv_dlopen_self=yes, lt_cv_dlopen_self=yes, 4419 lt_cv_dlopen_self=no, lt_cv_dlopen_self=cross) 4420 ]) 4421 4422 if test yes = "$lt_cv_dlopen_self"; then 4423 wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $lt_prog_compiler_static\" 4424 AC_CACHE_CHECK([whether a statically linked program can dlopen itself], 4425 lt_cv_dlopen_self_static, [dnl 4426 _LT_TRY_DLOPEN_SELF( 4427 lt_cv_dlopen_self_static=yes, lt_cv_dlopen_self_static=yes, 4428 lt_cv_dlopen_self_static=no, lt_cv_dlopen_self_static=cross) 4429 ]) 4430 fi 4431 4432 CPPFLAGS=$save_CPPFLAGS 4433 LDFLAGS=$save_LDFLAGS 4434 LIBS=$save_LIBS 4435 ;; 4436 esac 4437 4438 case $lt_cv_dlopen_self in 4439 yes|no) enable_dlopen_self=$lt_cv_dlopen_self ;; 4440 *) enable_dlopen_self=unknown ;; 4441 esac 4442 4443 case $lt_cv_dlopen_self_static in 4444 yes|no) enable_dlopen_self_static=$lt_cv_dlopen_self_static ;; 4445 *) enable_dlopen_self_static=unknown ;; 4446 esac 4447fi 4448_LT_DECL([dlopen_support], [enable_dlopen], [0], 4449 [Whether dlopen is supported]) 4450_LT_DECL([dlopen_self], [enable_dlopen_self], [0], 4451 [Whether dlopen of programs is supported]) 4452_LT_DECL([dlopen_self_static], [enable_dlopen_self_static], [0], 4453 [Whether dlopen of statically linked programs is supported]) 4454]) 4455m4trace:m4/libtool.m4:2045: -1- AU_DEFUN([AC_LIBTOOL_DLOPEN_SELF], [m4_if($#, 0, [LT_SYS_DLOPEN_SELF], [LT_SYS_DLOPEN_SELF($@)])]) 4456m4trace:m4/libtool.m4:2045: -1- AC_DEFUN([AC_LIBTOOL_DLOPEN_SELF], [AC_DIAGNOSE([obsolete], [The macro `AC_LIBTOOL_DLOPEN_SELF' is obsolete. 4457You should run autoupdate.])dnl 4458m4_if($#, 0, [LT_SYS_DLOPEN_SELF], [LT_SYS_DLOPEN_SELF($@)])]) 4459m4trace:m4/libtool.m4:3166: -1- AC_DEFUN([_LT_PATH_TOOL_PREFIX], [m4_require([_LT_DECL_EGREP])dnl 4460AC_MSG_CHECKING([for $1]) 4461AC_CACHE_VAL(lt_cv_path_MAGIC_CMD, 4462[case $MAGIC_CMD in 4463[[\\/*] | ?:[\\/]*]) 4464 lt_cv_path_MAGIC_CMD=$MAGIC_CMD # Let the user override the test with a path. 4465 ;; 4466*) 4467 lt_save_MAGIC_CMD=$MAGIC_CMD 4468 lt_save_ifs=$IFS; IFS=$PATH_SEPARATOR 4469dnl $ac_dummy forces splitting on constant user-supplied paths. 4470dnl POSIX.2 word splitting is done only on the output of word expansions, 4471dnl not every word. This closes a longstanding sh security hole. 4472 ac_dummy="m4_if([$2], , $PATH, [$2])" 4473 for ac_dir in $ac_dummy; do 4474 IFS=$lt_save_ifs 4475 test -z "$ac_dir" && ac_dir=. 4476 if test -f "$ac_dir/$1"; then 4477 lt_cv_path_MAGIC_CMD=$ac_dir/"$1" 4478 if test -n "$file_magic_test_file"; then 4479 case $deplibs_check_method in 4480 "file_magic "*) 4481 file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"` 4482 MAGIC_CMD=$lt_cv_path_MAGIC_CMD 4483 if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null | 4484 $EGREP "$file_magic_regex" > /dev/null; then 4485 : 4486 else 4487 cat <<_LT_EOF 1>&2 4488 4489*** Warning: the command libtool uses to detect shared libraries, 4490*** $file_magic_cmd, produces output that libtool cannot recognize. 4491*** The result is that libtool may fail to recognize shared libraries 4492*** as such. This will affect the creation of libtool libraries that 4493*** depend on shared libraries, but programs linked with such libtool 4494*** libraries will work regardless of this problem. Nevertheless, you 4495*** may want to report the problem to your system manager and/or to 4496*** bug-libtool@gnu.org 4497 4498_LT_EOF 4499 fi ;; 4500 esac 4501 fi 4502 break 4503 fi 4504 done 4505 IFS=$lt_save_ifs 4506 MAGIC_CMD=$lt_save_MAGIC_CMD 4507 ;; 4508esac]) 4509MAGIC_CMD=$lt_cv_path_MAGIC_CMD 4510if test -n "$MAGIC_CMD"; then 4511 AC_MSG_RESULT($MAGIC_CMD) 4512else 4513 AC_MSG_RESULT(no) 4514fi 4515_LT_DECL([], [MAGIC_CMD], [0], 4516 [Used to examine libraries when file_magic_cmd begins with "file"])dnl 4517]) 4518m4trace:m4/libtool.m4:3228: -1- AU_DEFUN([AC_PATH_TOOL_PREFIX], [m4_if($#, 0, [_LT_PATH_TOOL_PREFIX], [_LT_PATH_TOOL_PREFIX($@)])]) 4519m4trace:m4/libtool.m4:3228: -1- AC_DEFUN([AC_PATH_TOOL_PREFIX], [AC_DIAGNOSE([obsolete], [The macro `AC_PATH_TOOL_PREFIX' is obsolete. 4520You should run autoupdate.])dnl 4521m4_if($#, 0, [_LT_PATH_TOOL_PREFIX], [_LT_PATH_TOOL_PREFIX($@)])]) 4522m4trace:m4/libtool.m4:3251: -1- AC_DEFUN([LT_PATH_LD], [AC_REQUIRE([AC_PROG_CC])dnl 4523AC_REQUIRE([AC_CANONICAL_HOST])dnl 4524AC_REQUIRE([AC_CANONICAL_BUILD])dnl 4525m4_require([_LT_DECL_SED])dnl 4526m4_require([_LT_DECL_EGREP])dnl 4527m4_require([_LT_PROG_ECHO_BACKSLASH])dnl 4528 4529AC_ARG_WITH([gnu-ld], 4530 [AS_HELP_STRING([--with-gnu-ld], 4531 [assume the C compiler uses GNU ld @<:@default=no@:>@])], 4532 [test no = "$withval" || with_gnu_ld=yes], 4533 [with_gnu_ld=no])dnl 4534 4535ac_prog=ld 4536if test yes = "$GCC"; then 4537 # Check if gcc -print-prog-name=ld gives a path. 4538 AC_MSG_CHECKING([for ld used by $CC]) 4539 case $host in 4540 *-*-mingw*) 4541 # gcc leaves a trailing carriage return, which upsets mingw 4542 ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;; 4543 *) 4544 ac_prog=`($CC -print-prog-name=ld) 2>&5` ;; 4545 esac 4546 case $ac_prog in 4547 # Accept absolute paths. 4548 [[\\/]]* | ?:[[\\/]]*) 4549 re_direlt='/[[^/]][[^/]]*/\.\./' 4550 # Canonicalize the pathname of ld 4551 ac_prog=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'` 4552 while $ECHO "$ac_prog" | $GREP "$re_direlt" > /dev/null 2>&1; do 4553 ac_prog=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"` 4554 done 4555 test -z "$LD" && LD=$ac_prog 4556 ;; 4557 "") 4558 # If it fails, then pretend we aren't using GCC. 4559 ac_prog=ld 4560 ;; 4561 *) 4562 # If it is relative, then search for the first ld in PATH. 4563 with_gnu_ld=unknown 4564 ;; 4565 esac 4566elif test yes = "$with_gnu_ld"; then 4567 AC_MSG_CHECKING([for GNU ld]) 4568else 4569 AC_MSG_CHECKING([for non-GNU ld]) 4570fi 4571AC_CACHE_VAL(lt_cv_path_LD, 4572[if test -z "$LD"; then 4573 lt_save_ifs=$IFS; IFS=$PATH_SEPARATOR 4574 for ac_dir in $PATH; do 4575 IFS=$lt_save_ifs 4576 test -z "$ac_dir" && ac_dir=. 4577 if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then 4578 lt_cv_path_LD=$ac_dir/$ac_prog 4579 # Check to see if the program is GNU ld. I'd rather use --version, 4580 # but apparently some variants of GNU ld only accept -v. 4581 # Break only if it was the GNU/non-GNU ld that we prefer. 4582 case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in 4583 *GNU* | *'with BFD'*) 4584 test no != "$with_gnu_ld" && break 4585 ;; 4586 *) 4587 test yes != "$with_gnu_ld" && break 4588 ;; 4589 esac 4590 fi 4591 done 4592 IFS=$lt_save_ifs 4593else 4594 lt_cv_path_LD=$LD # Let the user override the test with a path. 4595fi]) 4596LD=$lt_cv_path_LD 4597if test -n "$LD"; then 4598 AC_MSG_RESULT($LD) 4599else 4600 AC_MSG_RESULT(no) 4601fi 4602test -z "$LD" && AC_MSG_ERROR([no acceptable ld found in \$PATH]) 4603_LT_PATH_LD_GNU 4604AC_SUBST([LD]) 4605 4606_LT_TAGDECL([], [LD], [1], [The linker used to build libraries]) 4607]) 4608m4trace:m4/libtool.m4:3340: -1- AU_DEFUN([AM_PROG_LD], [m4_if($#, 0, [LT_PATH_LD], [LT_PATH_LD($@)])]) 4609m4trace:m4/libtool.m4:3340: -1- AC_DEFUN([AM_PROG_LD], [AC_DIAGNOSE([obsolete], [The macro `AM_PROG_LD' is obsolete. 4610You should run autoupdate.])dnl 4611m4_if($#, 0, [LT_PATH_LD], [LT_PATH_LD($@)])]) 4612m4trace:m4/libtool.m4:3341: -1- AU_DEFUN([AC_PROG_LD], [m4_if($#, 0, [LT_PATH_LD], [LT_PATH_LD($@)])]) 4613m4trace:m4/libtool.m4:3341: -1- AC_DEFUN([AC_PROG_LD], [AC_DIAGNOSE([obsolete], [The macro `AC_PROG_LD' is obsolete. 4614You should run autoupdate.])dnl 4615m4_if($#, 0, [LT_PATH_LD], [LT_PATH_LD($@)])]) 4616m4trace:m4/libtool.m4:3670: -1- AC_DEFUN([LT_PATH_NM], [AC_REQUIRE([AC_PROG_CC])dnl 4617AC_CACHE_CHECK([for BSD- or MS-compatible name lister (nm)], lt_cv_path_NM, 4618[if test -n "$NM"; then 4619 # Let the user override the test. 4620 lt_cv_path_NM=$NM 4621else 4622 lt_nm_to_check=${ac_tool_prefix}nm 4623 if test -n "$ac_tool_prefix" && test "$build" = "$host"; then 4624 lt_nm_to_check="$lt_nm_to_check nm" 4625 fi 4626 for lt_tmp_nm in $lt_nm_to_check; do 4627 lt_save_ifs=$IFS; IFS=$PATH_SEPARATOR 4628 for ac_dir in $PATH /usr/ccs/bin/elf /usr/ccs/bin /usr/ucb /bin; do 4629 IFS=$lt_save_ifs 4630 test -z "$ac_dir" && ac_dir=. 4631 tmp_nm=$ac_dir/$lt_tmp_nm 4632 if test -f "$tmp_nm" || test -f "$tmp_nm$ac_exeext"; then 4633 # Check to see if the nm accepts a BSD-compat flag. 4634 # Adding the 'sed 1q' prevents false positives on HP-UX, which says: 4635 # nm: unknown option "B" ignored 4636 # Tru64's nm complains that /dev/null is an invalid object file 4637 # MSYS converts /dev/null to NUL, MinGW nm treats NUL as empty 4638 case $build_os in 4639 mingw*) lt_bad_file=conftest.nm/nofile ;; 4640 *) lt_bad_file=/dev/null ;; 4641 esac 4642 case `"$tmp_nm" -B $lt_bad_file 2>&1 | sed '1q'` in 4643 *$lt_bad_file* | *'Invalid file or object type'*) 4644 lt_cv_path_NM="$tmp_nm -B" 4645 break 2 4646 ;; 4647 *) 4648 case `"$tmp_nm" -p /dev/null 2>&1 | sed '1q'` in 4649 */dev/null*) 4650 lt_cv_path_NM="$tmp_nm -p" 4651 break 2 4652 ;; 4653 *) 4654 lt_cv_path_NM=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but 4655 continue # so that we can try to find one that supports BSD flags 4656 ;; 4657 esac 4658 ;; 4659 esac 4660 fi 4661 done 4662 IFS=$lt_save_ifs 4663 done 4664 : ${lt_cv_path_NM=no} 4665fi]) 4666if test no != "$lt_cv_path_NM"; then 4667 NM=$lt_cv_path_NM 4668else 4669 # Didn't find any BSD compatible name lister, look for dumpbin. 4670 if test -n "$DUMPBIN"; then : 4671 # Let the user override the test. 4672 else 4673 AC_CHECK_TOOLS(DUMPBIN, [dumpbin "link -dump"], :) 4674 case `$DUMPBIN -symbols -headers /dev/null 2>&1 | sed '1q'` in 4675 *COFF*) 4676 DUMPBIN="$DUMPBIN -symbols -headers" 4677 ;; 4678 *) 4679 DUMPBIN=: 4680 ;; 4681 esac 4682 fi 4683 AC_SUBST([DUMPBIN]) 4684 if test : != "$DUMPBIN"; then 4685 NM=$DUMPBIN 4686 fi 4687fi 4688test -z "$NM" && NM=nm 4689AC_SUBST([NM]) 4690_LT_DECL([], [NM], [1], [A BSD- or MS-compatible name lister])dnl 4691 4692AC_CACHE_CHECK([the name lister ($NM) interface], [lt_cv_nm_interface], 4693 [lt_cv_nm_interface="BSD nm" 4694 echo "int some_variable = 0;" > conftest.$ac_ext 4695 (eval echo "\"\$as_me:$LINENO: $ac_compile\"" >&AS_MESSAGE_LOG_FD) 4696 (eval "$ac_compile" 2>conftest.err) 4697 cat conftest.err >&AS_MESSAGE_LOG_FD 4698 (eval echo "\"\$as_me:$LINENO: $NM \\\"conftest.$ac_objext\\\"\"" >&AS_MESSAGE_LOG_FD) 4699 (eval "$NM \"conftest.$ac_objext\"" 2>conftest.err > conftest.out) 4700 cat conftest.err >&AS_MESSAGE_LOG_FD 4701 (eval echo "\"\$as_me:$LINENO: output\"" >&AS_MESSAGE_LOG_FD) 4702 cat conftest.out >&AS_MESSAGE_LOG_FD 4703 if $GREP 'External.*some_variable' conftest.out > /dev/null; then 4704 lt_cv_nm_interface="MS dumpbin" 4705 fi 4706 rm -f conftest*]) 4707]) 4708m4trace:m4/libtool.m4:3765: -1- AU_DEFUN([AM_PROG_NM], [m4_if($#, 0, [LT_PATH_NM], [LT_PATH_NM($@)])]) 4709m4trace:m4/libtool.m4:3765: -1- AC_DEFUN([AM_PROG_NM], [AC_DIAGNOSE([obsolete], [The macro `AM_PROG_NM' is obsolete. 4710You should run autoupdate.])dnl 4711m4_if($#, 0, [LT_PATH_NM], [LT_PATH_NM($@)])]) 4712m4trace:m4/libtool.m4:3766: -1- AU_DEFUN([AC_PROG_NM], [m4_if($#, 0, [LT_PATH_NM], [LT_PATH_NM($@)])]) 4713m4trace:m4/libtool.m4:3766: -1- AC_DEFUN([AC_PROG_NM], [AC_DIAGNOSE([obsolete], [The macro `AC_PROG_NM' is obsolete. 4714You should run autoupdate.])dnl 4715m4_if($#, 0, [LT_PATH_NM], [LT_PATH_NM($@)])]) 4716m4trace:m4/libtool.m4:3837: -1- AC_DEFUN([_LT_DLL_DEF_P], [dnl 4717 test DEF = "`$SED -n dnl 4718 -e '\''s/^[[ ]]*//'\'' dnl Strip leading whitespace 4719 -e '\''/^\(;.*\)*$/d'\'' dnl Delete empty lines and comments 4720 -e '\''s/^\(EXPORTS\|LIBRARY\)\([[ ]].*\)*$/DEF/p'\'' dnl 4721 -e q dnl Only consider the first "real" line 4722 $1`" dnl 4723]) 4724m4trace:m4/libtool.m4:3851: -1- AC_DEFUN([LT_LIB_M], [AC_REQUIRE([AC_CANONICAL_HOST])dnl 4725LIBM= 4726case $host in 4727*-*-beos* | *-*-cegcc* | *-*-cygwin* | *-*-haiku* | *-*-pw32* | *-*-darwin*) 4728 # These system don't have libm, or don't need it 4729 ;; 4730*-ncr-sysv4.3*) 4731 AC_CHECK_LIB(mw, _mwvalidcheckl, LIBM=-lmw) 4732 AC_CHECK_LIB(m, cos, LIBM="$LIBM -lm") 4733 ;; 4734*) 4735 AC_CHECK_LIB(m, cos, LIBM=-lm) 4736 ;; 4737esac 4738AC_SUBST([LIBM]) 4739]) 4740m4trace:m4/libtool.m4:3870: -1- AU_DEFUN([AC_CHECK_LIBM], [m4_if($#, 0, [LT_LIB_M], [LT_LIB_M($@)])]) 4741m4trace:m4/libtool.m4:3870: -1- AC_DEFUN([AC_CHECK_LIBM], [AC_DIAGNOSE([obsolete], [The macro `AC_CHECK_LIBM' is obsolete. 4742You should run autoupdate.])dnl 4743m4_if($#, 0, [LT_LIB_M], [LT_LIB_M($@)])]) 4744m4trace:m4/libtool.m4:8140: -1- AC_DEFUN([LT_PROG_GCJ], [m4_ifdef([AC_PROG_GCJ], [AC_PROG_GCJ], 4745 [m4_ifdef([A][M_PROG_GCJ], [A][M_PROG_GCJ], 4746 [AC_CHECK_TOOL(GCJ, gcj,) 4747 test set = "${GCJFLAGS+set}" || GCJFLAGS="-g -O2" 4748 AC_SUBST(GCJFLAGS)])])[]dnl 4749]) 4750m4trace:m4/libtool.m4:8149: -1- AU_DEFUN([LT_AC_PROG_GCJ], [m4_if($#, 0, [LT_PROG_GCJ], [LT_PROG_GCJ($@)])]) 4751m4trace:m4/libtool.m4:8149: -1- AC_DEFUN([LT_AC_PROG_GCJ], [AC_DIAGNOSE([obsolete], [The macro `LT_AC_PROG_GCJ' is obsolete. 4752You should run autoupdate.])dnl 4753m4_if($#, 0, [LT_PROG_GCJ], [LT_PROG_GCJ($@)])]) 4754m4trace:m4/libtool.m4:8156: -1- AC_DEFUN([LT_PROG_GO], [AC_CHECK_TOOL(GOC, gccgo,) 4755]) 4756m4trace:m4/libtool.m4:8163: -1- AC_DEFUN([LT_PROG_RC], [AC_CHECK_TOOL(RC, windres,) 4757]) 4758m4trace:m4/libtool.m4:8168: -1- AU_DEFUN([LT_AC_PROG_RC], [m4_if($#, 0, [LT_PROG_RC], [LT_PROG_RC($@)])]) 4759m4trace:m4/libtool.m4:8168: -1- AC_DEFUN([LT_AC_PROG_RC], [AC_DIAGNOSE([obsolete], [The macro `LT_AC_PROG_RC' is obsolete. 4760You should run autoupdate.])dnl 4761m4_if($#, 0, [LT_PROG_RC], [LT_PROG_RC($@)])]) 4762m4trace:m4/libtool.m4:8288: -1- AU_DEFUN([LT_AC_PROG_SED], [m4_if($#, 0, [AC_PROG_SED], [AC_PROG_SED($@)])]) 4763m4trace:m4/libtool.m4:8288: -1- AC_DEFUN([LT_AC_PROG_SED], [AC_DIAGNOSE([obsolete], [The macro `LT_AC_PROG_SED' is obsolete. 4764You should run autoupdate.])dnl 4765m4_if($#, 0, [AC_PROG_SED], [AC_PROG_SED($@)])]) 4766m4trace:m4/lock.m4:9: -1- AC_DEFUN([gl_LOCK], [ 4767 AC_REQUIRE([gl_THREADLIB]) 4768 if test "$gl_threads_api" = posix; then 4769 # OSF/1 4.0 and Mac OS X 10.1 lack the pthread_rwlock_t type and the 4770 # pthread_rwlock_* functions. 4771 AC_CHECK_TYPE([pthread_rwlock_t], 4772 [AC_DEFINE([HAVE_PTHREAD_RWLOCK], [1], 4773 [Define if the POSIX multithreading library has read/write locks.])], 4774 [], 4775 [#include <pthread.h>]) 4776 # glibc defines PTHREAD_MUTEX_RECURSIVE as enum, not as a macro. 4777 AC_COMPILE_IFELSE([ 4778 AC_LANG_PROGRAM( 4779 [[#include <pthread.h>]], 4780 [[ 4781#if __FreeBSD__ == 4 4782error "No, in FreeBSD 4.0 recursive mutexes actually don't work." 4783#elif (defined __ENVIRONMENT_MAC_OS_X_VERSION_MIN_REQUIRED__ \ 4784 && __ENVIRONMENT_MAC_OS_X_VERSION_MIN_REQUIRED__ < 1070) 4785error "No, in Mac OS X < 10.7 recursive mutexes actually don't work." 4786#else 4787int x = (int)PTHREAD_MUTEX_RECURSIVE; 4788return !x; 4789#endif 4790 ]])], 4791 [AC_DEFINE([HAVE_PTHREAD_MUTEX_RECURSIVE], [1], 4792 [Define if the <pthread.h> defines PTHREAD_MUTEX_RECURSIVE.])]) 4793 fi 4794 gl_PREREQ_LOCK 4795]) 4796m4trace:m4/lock.m4:42: -1- AC_DEFUN([gl_PREREQ_LOCK], [:]) 4797m4trace:m4/longlong.m4:17: -1- AC_DEFUN([AC_TYPE_LONG_LONG_INT], [ 4798 AC_REQUIRE([AC_TYPE_UNSIGNED_LONG_LONG_INT]) 4799 AC_CACHE_CHECK([for long long int], [ac_cv_type_long_long_int], 4800 [ac_cv_type_long_long_int=yes 4801 if test "x${ac_cv_prog_cc_c99-no}" = xno; then 4802 ac_cv_type_long_long_int=$ac_cv_type_unsigned_long_long_int 4803 if test $ac_cv_type_long_long_int = yes; then 4804 dnl Catch a bug in Tandem NonStop Kernel (OSS) cc -O circa 2004. 4805 dnl If cross compiling, assume the bug is not important, since 4806 dnl nobody cross compiles for this platform as far as we know. 4807 AC_RUN_IFELSE( 4808 [AC_LANG_PROGRAM( 4809 [[@%:@include <limits.h> 4810 @%:@ifndef LLONG_MAX 4811 @%:@ define HALF \ 4812 (1LL << (sizeof (long long int) * CHAR_BIT - 2)) 4813 @%:@ define LLONG_MAX (HALF - 1 + HALF) 4814 @%:@endif]], 4815 [[long long int n = 1; 4816 int i; 4817 for (i = 0; ; i++) 4818 { 4819 long long int m = n << i; 4820 if (m >> i != n) 4821 return 1; 4822 if (LLONG_MAX / 2 < m) 4823 break; 4824 } 4825 return 0;]])], 4826 [], 4827 [ac_cv_type_long_long_int=no], 4828 [:]) 4829 fi 4830 fi]) 4831 if test $ac_cv_type_long_long_int = yes; then 4832 AC_DEFINE([HAVE_LONG_LONG_INT], [1], 4833 [Define to 1 if the system has the type 'long long int'.]) 4834 fi 4835]) 4836m4trace:m4/longlong.m4:67: -1- AC_DEFUN([AC_TYPE_UNSIGNED_LONG_LONG_INT], [ 4837 AC_CACHE_CHECK([for unsigned long long int], 4838 [ac_cv_type_unsigned_long_long_int], 4839 [ac_cv_type_unsigned_long_long_int=yes 4840 if test "x${ac_cv_prog_cc_c99-no}" = xno; then 4841 AC_LINK_IFELSE( 4842 [_AC_TYPE_LONG_LONG_SNIPPET], 4843 [], 4844 [ac_cv_type_unsigned_long_long_int=no]) 4845 fi]) 4846 if test $ac_cv_type_unsigned_long_long_int = yes; then 4847 AC_DEFINE([HAVE_UNSIGNED_LONG_LONG_INT], [1], 4848 [Define to 1 if the system has the type 'unsigned long long int'.]) 4849 fi 4850]) 4851m4trace:m4/longlong.m4:89: -1- AC_DEFUN([_AC_TYPE_LONG_LONG_SNIPPET], [ 4852 AC_LANG_PROGRAM( 4853 [[/* For now, do not test the preprocessor; as of 2007 there are too many 4854 implementations with broken preprocessors. Perhaps this can 4855 be revisited in 2012. In the meantime, code should not expect 4856 #if to work with literals wider than 32 bits. */ 4857 /* Test literals. */ 4858 long long int ll = 9223372036854775807ll; 4859 long long int nll = -9223372036854775807LL; 4860 unsigned long long int ull = 18446744073709551615ULL; 4861 /* Test constant expressions. */ 4862 typedef int a[((-9223372036854775807LL < 0 && 0 < 9223372036854775807ll) 4863 ? 1 : -1)]; 4864 typedef int b[(18446744073709551615ULL <= (unsigned long long int) -1 4865 ? 1 : -1)]; 4866 int i = 63;]], 4867 [[/* Test availability of runtime routines for shift and division. */ 4868 long long int llmax = 9223372036854775807ll; 4869 unsigned long long int ullmax = 18446744073709551615ull; 4870 return ((ll << 63) | (ll >> 63) | (ll < i) | (ll > i) 4871 | (llmax / ll) | (llmax % ll) 4872 | (ull << 63) | (ull >> 63) | (ull << i) | (ull >> i) 4873 | (ullmax / ull) | (ullmax % ull));]]) 4874]) 4875m4trace:m4/ltoptions.m4:14: -1- AC_DEFUN([LTOPTIONS_VERSION], [m4_if([1])]) 4876m4trace:m4/ltoptions.m4:113: -1- AU_DEFUN([AC_LIBTOOL_DLOPEN], [_LT_SET_OPTION([LT_INIT], [dlopen]) 4877AC_DIAGNOSE([obsolete], 4878[$0: Remove this warning and the call to _LT_SET_OPTION when you 4879put the 'dlopen' option into LT_INIT's first parameter.]) 4880]) 4881m4trace:m4/ltoptions.m4:113: -1- AC_DEFUN([AC_LIBTOOL_DLOPEN], [AC_DIAGNOSE([obsolete], [The macro `AC_LIBTOOL_DLOPEN' is obsolete. 4882You should run autoupdate.])dnl 4883_LT_SET_OPTION([LT_INIT], [dlopen]) 4884AC_DIAGNOSE([obsolete], 4885[$0: Remove this warning and the call to _LT_SET_OPTION when you 4886put the 'dlopen' option into LT_INIT's first parameter.]) 4887]) 4888m4trace:m4/ltoptions.m4:148: -1- AU_DEFUN([AC_LIBTOOL_WIN32_DLL], [AC_REQUIRE([AC_CANONICAL_HOST])dnl 4889_LT_SET_OPTION([LT_INIT], [win32-dll]) 4890AC_DIAGNOSE([obsolete], 4891[$0: Remove this warning and the call to _LT_SET_OPTION when you 4892put the 'win32-dll' option into LT_INIT's first parameter.]) 4893]) 4894m4trace:m4/ltoptions.m4:148: -1- AC_DEFUN([AC_LIBTOOL_WIN32_DLL], [AC_DIAGNOSE([obsolete], [The macro `AC_LIBTOOL_WIN32_DLL' is obsolete. 4895You should run autoupdate.])dnl 4896AC_REQUIRE([AC_CANONICAL_HOST])dnl 4897_LT_SET_OPTION([LT_INIT], [win32-dll]) 4898AC_DIAGNOSE([obsolete], 4899[$0: Remove this warning and the call to _LT_SET_OPTION when you 4900put the 'win32-dll' option into LT_INIT's first parameter.]) 4901]) 4902m4trace:m4/ltoptions.m4:197: -1- AC_DEFUN([AC_ENABLE_SHARED], [_LT_SET_OPTION([LT_INIT], m4_if([$1], [no], [disable-])[shared]) 4903]) 4904m4trace:m4/ltoptions.m4:201: -1- AC_DEFUN([AC_DISABLE_SHARED], [_LT_SET_OPTION([LT_INIT], [disable-shared]) 4905]) 4906m4trace:m4/ltoptions.m4:205: -1- AU_DEFUN([AM_ENABLE_SHARED], [AC_ENABLE_SHARED($@)]) 4907m4trace:m4/ltoptions.m4:205: -1- AC_DEFUN([AM_ENABLE_SHARED], [AC_DIAGNOSE([obsolete], [The macro `AM_ENABLE_SHARED' is obsolete. 4908You should run autoupdate.])dnl 4909AC_ENABLE_SHARED($@)]) 4910m4trace:m4/ltoptions.m4:206: -1- AU_DEFUN([AM_DISABLE_SHARED], [AC_DISABLE_SHARED($@)]) 4911m4trace:m4/ltoptions.m4:206: -1- AC_DEFUN([AM_DISABLE_SHARED], [AC_DIAGNOSE([obsolete], [The macro `AM_DISABLE_SHARED' is obsolete. 4912You should run autoupdate.])dnl 4913AC_DISABLE_SHARED($@)]) 4914m4trace:m4/ltoptions.m4:251: -1- AC_DEFUN([AC_ENABLE_STATIC], [_LT_SET_OPTION([LT_INIT], m4_if([$1], [no], [disable-])[static]) 4915]) 4916m4trace:m4/ltoptions.m4:255: -1- AC_DEFUN([AC_DISABLE_STATIC], [_LT_SET_OPTION([LT_INIT], [disable-static]) 4917]) 4918m4trace:m4/ltoptions.m4:259: -1- AU_DEFUN([AM_ENABLE_STATIC], [AC_ENABLE_STATIC($@)]) 4919m4trace:m4/ltoptions.m4:259: -1- AC_DEFUN([AM_ENABLE_STATIC], [AC_DIAGNOSE([obsolete], [The macro `AM_ENABLE_STATIC' is obsolete. 4920You should run autoupdate.])dnl 4921AC_ENABLE_STATIC($@)]) 4922m4trace:m4/ltoptions.m4:260: -1- AU_DEFUN([AM_DISABLE_STATIC], [AC_DISABLE_STATIC($@)]) 4923m4trace:m4/ltoptions.m4:260: -1- AC_DEFUN([AM_DISABLE_STATIC], [AC_DIAGNOSE([obsolete], [The macro `AM_DISABLE_STATIC' is obsolete. 4924You should run autoupdate.])dnl 4925AC_DISABLE_STATIC($@)]) 4926m4trace:m4/ltoptions.m4:305: -1- AU_DEFUN([AC_ENABLE_FAST_INSTALL], [_LT_SET_OPTION([LT_INIT], m4_if([$1], [no], [disable-])[fast-install]) 4927AC_DIAGNOSE([obsolete], 4928[$0: Remove this warning and the call to _LT_SET_OPTION when you put 4929the 'fast-install' option into LT_INIT's first parameter.]) 4930]) 4931m4trace:m4/ltoptions.m4:305: -1- AC_DEFUN([AC_ENABLE_FAST_INSTALL], [AC_DIAGNOSE([obsolete], [The macro `AC_ENABLE_FAST_INSTALL' is obsolete. 4932You should run autoupdate.])dnl 4933_LT_SET_OPTION([LT_INIT], m4_if([$1], [no], [disable-])[fast-install]) 4934AC_DIAGNOSE([obsolete], 4935[$0: Remove this warning and the call to _LT_SET_OPTION when you put 4936the 'fast-install' option into LT_INIT's first parameter.]) 4937]) 4938m4trace:m4/ltoptions.m4:312: -1- AU_DEFUN([AC_DISABLE_FAST_INSTALL], [_LT_SET_OPTION([LT_INIT], [disable-fast-install]) 4939AC_DIAGNOSE([obsolete], 4940[$0: Remove this warning and the call to _LT_SET_OPTION when you put 4941the 'disable-fast-install' option into LT_INIT's first parameter.]) 4942]) 4943m4trace:m4/ltoptions.m4:312: -1- AC_DEFUN([AC_DISABLE_FAST_INSTALL], [AC_DIAGNOSE([obsolete], [The macro `AC_DISABLE_FAST_INSTALL' is obsolete. 4944You should run autoupdate.])dnl 4945_LT_SET_OPTION([LT_INIT], [disable-fast-install]) 4946AC_DIAGNOSE([obsolete], 4947[$0: Remove this warning and the call to _LT_SET_OPTION when you put 4948the 'disable-fast-install' option into LT_INIT's first parameter.]) 4949]) 4950m4trace:m4/ltoptions.m4:411: -1- AU_DEFUN([AC_LIBTOOL_PICMODE], [_LT_SET_OPTION([LT_INIT], [pic-only]) 4951AC_DIAGNOSE([obsolete], 4952[$0: Remove this warning and the call to _LT_SET_OPTION when you 4953put the 'pic-only' option into LT_INIT's first parameter.]) 4954]) 4955m4trace:m4/ltoptions.m4:411: -1- AC_DEFUN([AC_LIBTOOL_PICMODE], [AC_DIAGNOSE([obsolete], [The macro `AC_LIBTOOL_PICMODE' is obsolete. 4956You should run autoupdate.])dnl 4957_LT_SET_OPTION([LT_INIT], [pic-only]) 4958AC_DIAGNOSE([obsolete], 4959[$0: Remove this warning and the call to _LT_SET_OPTION when you 4960put the 'pic-only' option into LT_INIT's first parameter.]) 4961]) 4962m4trace:m4/ltsugar.m4:14: -1- AC_DEFUN([LTSUGAR_VERSION], [m4_if([0.1])]) 4963m4trace:m4/ltversion.m4:18: -1- AC_DEFUN([LTVERSION_VERSION], [macro_version='2.4.6' 4964macro_revision='2.4.6' 4965_LT_DECL(, macro_version, 0, [Which release of libtool.m4 was used?]) 4966_LT_DECL(, macro_revision, 0) 4967]) 4968m4trace:m4/lt~obsolete.m4:37: -1- AC_DEFUN([LTOBSOLETE_VERSION], [m4_if([1])]) 4969m4trace:m4/lt~obsolete.m4:41: -1- AC_DEFUN([_LT_AC_PROG_ECHO_BACKSLASH]) 4970m4trace:m4/lt~obsolete.m4:42: -1- AC_DEFUN([_LT_AC_SHELL_INIT]) 4971m4trace:m4/lt~obsolete.m4:43: -1- AC_DEFUN([_LT_AC_SYS_LIBPATH_AIX]) 4972m4trace:m4/lt~obsolete.m4:45: -1- AC_DEFUN([_LT_AC_TAGVAR]) 4973m4trace:m4/lt~obsolete.m4:46: -1- AC_DEFUN([AC_LTDL_ENABLE_INSTALL]) 4974m4trace:m4/lt~obsolete.m4:47: -1- AC_DEFUN([AC_LTDL_PREOPEN]) 4975m4trace:m4/lt~obsolete.m4:48: -1- AC_DEFUN([_LT_AC_SYS_COMPILER]) 4976m4trace:m4/lt~obsolete.m4:49: -1- AC_DEFUN([_LT_AC_LOCK]) 4977m4trace:m4/lt~obsolete.m4:50: -1- AC_DEFUN([AC_LIBTOOL_SYS_OLD_ARCHIVE]) 4978m4trace:m4/lt~obsolete.m4:51: -1- AC_DEFUN([_LT_AC_TRY_DLOPEN_SELF]) 4979m4trace:m4/lt~obsolete.m4:52: -1- AC_DEFUN([AC_LIBTOOL_PROG_CC_C_O]) 4980m4trace:m4/lt~obsolete.m4:53: -1- AC_DEFUN([AC_LIBTOOL_SYS_HARD_LINK_LOCKS]) 4981m4trace:m4/lt~obsolete.m4:54: -1- AC_DEFUN([AC_LIBTOOL_OBJDIR]) 4982m4trace:m4/lt~obsolete.m4:55: -1- AC_DEFUN([AC_LTDL_OBJDIR]) 4983m4trace:m4/lt~obsolete.m4:56: -1- AC_DEFUN([AC_LIBTOOL_PROG_LD_HARDCODE_LIBPATH]) 4984m4trace:m4/lt~obsolete.m4:57: -1- AC_DEFUN([AC_LIBTOOL_SYS_LIB_STRIP]) 4985m4trace:m4/lt~obsolete.m4:58: -1- AC_DEFUN([AC_PATH_MAGIC]) 4986m4trace:m4/lt~obsolete.m4:59: -1- AC_DEFUN([AC_PROG_LD_GNU]) 4987m4trace:m4/lt~obsolete.m4:60: -1- AC_DEFUN([AC_PROG_LD_RELOAD_FLAG]) 4988m4trace:m4/lt~obsolete.m4:61: -1- AC_DEFUN([AC_DEPLIBS_CHECK_METHOD]) 4989m4trace:m4/lt~obsolete.m4:62: -1- AC_DEFUN([AC_LIBTOOL_PROG_COMPILER_NO_RTTI]) 4990m4trace:m4/lt~obsolete.m4:63: -1- AC_DEFUN([AC_LIBTOOL_SYS_GLOBAL_SYMBOL_PIPE]) 4991m4trace:m4/lt~obsolete.m4:64: -1- AC_DEFUN([AC_LIBTOOL_PROG_COMPILER_PIC]) 4992m4trace:m4/lt~obsolete.m4:65: -1- AC_DEFUN([AC_LIBTOOL_PROG_LD_SHLIBS]) 4993m4trace:m4/lt~obsolete.m4:66: -1- AC_DEFUN([AC_LIBTOOL_POSTDEP_PREDEP]) 4994m4trace:m4/lt~obsolete.m4:67: -1- AC_DEFUN([LT_AC_PROG_EGREP]) 4995m4trace:m4/lt~obsolete.m4:72: -1- AC_DEFUN([_AC_PROG_LIBTOOL]) 4996m4trace:m4/lt~obsolete.m4:73: -1- AC_DEFUN([AC_LIBTOOL_SETUP]) 4997m4trace:m4/lt~obsolete.m4:74: -1- AC_DEFUN([_LT_AC_CHECK_DLFCN]) 4998m4trace:m4/lt~obsolete.m4:75: -1- AC_DEFUN([AC_LIBTOOL_SYS_DYNAMIC_LINKER]) 4999m4trace:m4/lt~obsolete.m4:76: -1- AC_DEFUN([_LT_AC_TAGCONFIG]) 5000m4trace:m4/lt~obsolete.m4:78: -1- AC_DEFUN([_LT_AC_LANG_CXX]) 5001m4trace:m4/lt~obsolete.m4:79: -1- AC_DEFUN([_LT_AC_LANG_F77]) 5002m4trace:m4/lt~obsolete.m4:80: -1- AC_DEFUN([_LT_AC_LANG_GCJ]) 5003m4trace:m4/lt~obsolete.m4:81: -1- AC_DEFUN([AC_LIBTOOL_LANG_C_CONFIG]) 5004m4trace:m4/lt~obsolete.m4:82: -1- AC_DEFUN([_LT_AC_LANG_C_CONFIG]) 5005m4trace:m4/lt~obsolete.m4:83: -1- AC_DEFUN([AC_LIBTOOL_LANG_CXX_CONFIG]) 5006m4trace:m4/lt~obsolete.m4:84: -1- AC_DEFUN([_LT_AC_LANG_CXX_CONFIG]) 5007m4trace:m4/lt~obsolete.m4:85: -1- AC_DEFUN([AC_LIBTOOL_LANG_F77_CONFIG]) 5008m4trace:m4/lt~obsolete.m4:86: -1- AC_DEFUN([_LT_AC_LANG_F77_CONFIG]) 5009m4trace:m4/lt~obsolete.m4:87: -1- AC_DEFUN([AC_LIBTOOL_LANG_GCJ_CONFIG]) 5010m4trace:m4/lt~obsolete.m4:88: -1- AC_DEFUN([_LT_AC_LANG_GCJ_CONFIG]) 5011m4trace:m4/lt~obsolete.m4:89: -1- AC_DEFUN([AC_LIBTOOL_LANG_RC_CONFIG]) 5012m4trace:m4/lt~obsolete.m4:90: -1- AC_DEFUN([_LT_AC_LANG_RC_CONFIG]) 5013m4trace:m4/lt~obsolete.m4:91: -1- AC_DEFUN([AC_LIBTOOL_CONFIG]) 5014m4trace:m4/lt~obsolete.m4:92: -1- AC_DEFUN([_LT_AC_FILE_LTDLL_C]) 5015m4trace:m4/lt~obsolete.m4:94: -1- AC_DEFUN([_LT_AC_PROG_CXXCPP]) 5016m4trace:m4/lt~obsolete.m4:97: -1- AC_DEFUN([_LT_PROG_F77]) 5017m4trace:m4/lt~obsolete.m4:98: -1- AC_DEFUN([_LT_PROG_FC]) 5018m4trace:m4/lt~obsolete.m4:99: -1- AC_DEFUN([_LT_PROG_CXX]) 5019m4trace:m4/nls.m4:23: -1- AC_DEFUN([AM_NLS], [ 5020 AC_MSG_CHECKING([whether NLS is requested]) 5021 dnl Default is enabled NLS 5022 AC_ARG_ENABLE([nls], 5023 [ --disable-nls do not use Native Language Support], 5024 USE_NLS=$enableval, USE_NLS=yes) 5025 AC_MSG_RESULT([$USE_NLS]) 5026 AC_SUBST([USE_NLS]) 5027]) 5028m4trace:m4/po.m4:23: -1- AC_DEFUN([AM_PO_SUBDIRS], [ 5029 AC_REQUIRE([AC_PROG_MAKE_SET])dnl 5030 AC_REQUIRE([AC_PROG_INSTALL])dnl 5031 AC_REQUIRE([AC_PROG_MKDIR_P])dnl 5032 AC_REQUIRE([AC_PROG_SED])dnl 5033 AC_REQUIRE([AM_NLS])dnl 5034 5035 dnl Release version of the gettext macros. This is used to ensure that 5036 dnl the gettext macros and po/Makefile.in.in are in sync. 5037 AC_SUBST([GETTEXT_MACRO_VERSION], [0.19]) 5038 5039 dnl Perform the following tests also if --disable-nls has been given, 5040 dnl because they are needed for "make dist" to work. 5041 5042 dnl Search for GNU msgfmt in the PATH. 5043 dnl The first test excludes Solaris msgfmt and early GNU msgfmt versions. 5044 dnl The second test excludes FreeBSD msgfmt. 5045 AM_PATH_PROG_WITH_TEST(MSGFMT, msgfmt, 5046 [$ac_dir/$ac_word --statistics /dev/null >&]AS_MESSAGE_LOG_FD[ 2>&1 && 5047 (if $ac_dir/$ac_word --statistics /dev/null 2>&1 >/dev/null | grep usage >/dev/null; then exit 1; else exit 0; fi)], 5048 :) 5049 AC_PATH_PROG([GMSGFMT], [gmsgfmt], [$MSGFMT]) 5050 5051 dnl Test whether it is GNU msgfmt >= 0.15. 5052changequote(,)dnl 5053 case `$MSGFMT --version | sed 1q | sed -e 's,^[^0-9]*,,'` in 5054 '' | 0.[0-9] | 0.[0-9].* | 0.1[0-4] | 0.1[0-4].*) MSGFMT_015=: ;; 5055 *) MSGFMT_015=$MSGFMT ;; 5056 esac 5057changequote([,])dnl 5058 AC_SUBST([MSGFMT_015]) 5059changequote(,)dnl 5060 case `$GMSGFMT --version | sed 1q | sed -e 's,^[^0-9]*,,'` in 5061 '' | 0.[0-9] | 0.[0-9].* | 0.1[0-4] | 0.1[0-4].*) GMSGFMT_015=: ;; 5062 *) GMSGFMT_015=$GMSGFMT ;; 5063 esac 5064changequote([,])dnl 5065 AC_SUBST([GMSGFMT_015]) 5066 5067 dnl Search for GNU xgettext 0.12 or newer in the PATH. 5068 dnl The first test excludes Solaris xgettext and early GNU xgettext versions. 5069 dnl The second test excludes FreeBSD xgettext. 5070 AM_PATH_PROG_WITH_TEST(XGETTEXT, xgettext, 5071 [$ac_dir/$ac_word --omit-header --copyright-holder= --msgid-bugs-address= /dev/null >&]AS_MESSAGE_LOG_FD[ 2>&1 && 5072 (if $ac_dir/$ac_word --omit-header --copyright-holder= --msgid-bugs-address= /dev/null 2>&1 >/dev/null | grep usage >/dev/null; then exit 1; else exit 0; fi)], 5073 :) 5074 dnl Remove leftover from FreeBSD xgettext call. 5075 rm -f messages.po 5076 5077 dnl Test whether it is GNU xgettext >= 0.15. 5078changequote(,)dnl 5079 case `$XGETTEXT --version | sed 1q | sed -e 's,^[^0-9]*,,'` in 5080 '' | 0.[0-9] | 0.[0-9].* | 0.1[0-4] | 0.1[0-4].*) XGETTEXT_015=: ;; 5081 *) XGETTEXT_015=$XGETTEXT ;; 5082 esac 5083changequote([,])dnl 5084 AC_SUBST([XGETTEXT_015]) 5085 5086 dnl Search for GNU msgmerge 0.11 or newer in the PATH. 5087 AM_PATH_PROG_WITH_TEST(MSGMERGE, msgmerge, 5088 [$ac_dir/$ac_word --update -q /dev/null /dev/null >&]AS_MESSAGE_LOG_FD[ 2>&1], :) 5089 5090 dnl Installation directories. 5091 dnl Autoconf >= 2.60 defines localedir. For older versions of autoconf, we 5092 dnl have to define it here, so that it can be used in po/Makefile. 5093 test -n "$localedir" || localedir='${datadir}/locale' 5094 AC_SUBST([localedir]) 5095 5096 dnl Support for AM_XGETTEXT_OPTION. 5097 test -n "${XGETTEXT_EXTRA_OPTIONS+set}" || XGETTEXT_EXTRA_OPTIONS= 5098 AC_SUBST([XGETTEXT_EXTRA_OPTIONS]) 5099 5100 AC_CONFIG_COMMANDS([po-directories], [[ 5101 for ac_file in $CONFIG_FILES; do 5102 # Support "outfile[:infile[:infile...]]" 5103 case "$ac_file" in 5104 *:*) ac_file=`echo "$ac_file"|sed 's%:.*%%'` ;; 5105 esac 5106 # PO directories have a Makefile.in generated from Makefile.in.in. 5107 case "$ac_file" in */Makefile.in) 5108 # Adjust a relative srcdir. 5109 ac_dir=`echo "$ac_file"|sed 's%/[^/][^/]*$%%'` 5110 ac_dir_suffix=/`echo "$ac_dir"|sed 's%^\./%%'` 5111 ac_dots=`echo "$ac_dir_suffix"|sed 's%/[^/]*%../%g'` 5112 # In autoconf-2.13 it is called $ac_given_srcdir. 5113 # In autoconf-2.50 it is called $srcdir. 5114 test -n "$ac_given_srcdir" || ac_given_srcdir="$srcdir" 5115 case "$ac_given_srcdir" in 5116 .) top_srcdir=`echo $ac_dots|sed 's%/$%%'` ;; 5117 /*) top_srcdir="$ac_given_srcdir" ;; 5118 *) top_srcdir="$ac_dots$ac_given_srcdir" ;; 5119 esac 5120 # Treat a directory as a PO directory if and only if it has a 5121 # POTFILES.in file. This allows packages to have multiple PO 5122 # directories under different names or in different locations. 5123 if test -f "$ac_given_srcdir/$ac_dir/POTFILES.in"; then 5124 rm -f "$ac_dir/POTFILES" 5125 test -n "$as_me" && echo "$as_me: creating $ac_dir/POTFILES" || echo "creating $ac_dir/POTFILES" 5126 gt_tab=`printf '\t'` 5127 cat "$ac_given_srcdir/$ac_dir/POTFILES.in" | sed -e "/^#/d" -e "/^[ ${gt_tab}]*\$/d" -e "s,.*, $top_srcdir/& \\\\," | sed -e "\$s/\(.*\) \\\\/\1/" > "$ac_dir/POTFILES" 5128 POMAKEFILEDEPS="POTFILES.in" 5129 # ALL_LINGUAS, POFILES, UPDATEPOFILES, DUMMYPOFILES, GMOFILES depend 5130 # on $ac_dir but don't depend on user-specified configuration 5131 # parameters. 5132 if test -f "$ac_given_srcdir/$ac_dir/LINGUAS"; then 5133 # The LINGUAS file contains the set of available languages. 5134 if test -n "$OBSOLETE_ALL_LINGUAS"; then 5135 test -n "$as_me" && echo "$as_me: setting ALL_LINGUAS in configure.in is obsolete" || echo "setting ALL_LINGUAS in configure.in is obsolete" 5136 fi 5137 ALL_LINGUAS_=`sed -e "/^#/d" -e "s/#.*//" "$ac_given_srcdir/$ac_dir/LINGUAS"` 5138 # Hide the ALL_LINGUAS assignment from automake < 1.5. 5139 eval 'ALL_LINGUAS''=$ALL_LINGUAS_' 5140 POMAKEFILEDEPS="$POMAKEFILEDEPS LINGUAS" 5141 else 5142 # The set of available languages was given in configure.in. 5143 # Hide the ALL_LINGUAS assignment from automake < 1.5. 5144 eval 'ALL_LINGUAS''=$OBSOLETE_ALL_LINGUAS' 5145 fi 5146 # Compute POFILES 5147 # as $(foreach lang, $(ALL_LINGUAS), $(srcdir)/$(lang).po) 5148 # Compute UPDATEPOFILES 5149 # as $(foreach lang, $(ALL_LINGUAS), $(lang).po-update) 5150 # Compute DUMMYPOFILES 5151 # as $(foreach lang, $(ALL_LINGUAS), $(lang).nop) 5152 # Compute GMOFILES 5153 # as $(foreach lang, $(ALL_LINGUAS), $(srcdir)/$(lang).gmo) 5154 case "$ac_given_srcdir" in 5155 .) srcdirpre= ;; 5156 *) srcdirpre='$(srcdir)/' ;; 5157 esac 5158 POFILES= 5159 UPDATEPOFILES= 5160 DUMMYPOFILES= 5161 GMOFILES= 5162 for lang in $ALL_LINGUAS; do 5163 POFILES="$POFILES $srcdirpre$lang.po" 5164 UPDATEPOFILES="$UPDATEPOFILES $lang.po-update" 5165 DUMMYPOFILES="$DUMMYPOFILES $lang.nop" 5166 GMOFILES="$GMOFILES $srcdirpre$lang.gmo" 5167 done 5168 # CATALOGS depends on both $ac_dir and the user's LINGUAS 5169 # environment variable. 5170 INST_LINGUAS= 5171 if test -n "$ALL_LINGUAS"; then 5172 for presentlang in $ALL_LINGUAS; do 5173 useit=no 5174 if test "%UNSET%" != "$LINGUAS"; then 5175 desiredlanguages="$LINGUAS" 5176 else 5177 desiredlanguages="$ALL_LINGUAS" 5178 fi 5179 for desiredlang in $desiredlanguages; do 5180 # Use the presentlang catalog if desiredlang is 5181 # a. equal to presentlang, or 5182 # b. a variant of presentlang (because in this case, 5183 # presentlang can be used as a fallback for messages 5184 # which are not translated in the desiredlang catalog). 5185 case "$desiredlang" in 5186 "$presentlang"*) useit=yes;; 5187 esac 5188 done 5189 if test $useit = yes; then 5190 INST_LINGUAS="$INST_LINGUAS $presentlang" 5191 fi 5192 done 5193 fi 5194 CATALOGS= 5195 if test -n "$INST_LINGUAS"; then 5196 for lang in $INST_LINGUAS; do 5197 CATALOGS="$CATALOGS $lang.gmo" 5198 done 5199 fi 5200 test -n "$as_me" && echo "$as_me: creating $ac_dir/Makefile" || echo "creating $ac_dir/Makefile" 5201 sed -e "/^POTFILES =/r $ac_dir/POTFILES" -e "/^# Makevars/r $ac_given_srcdir/$ac_dir/Makevars" -e "s|@POFILES@|$POFILES|g" -e "s|@UPDATEPOFILES@|$UPDATEPOFILES|g" -e "s|@DUMMYPOFILES@|$DUMMYPOFILES|g" -e "s|@GMOFILES@|$GMOFILES|g" -e "s|@CATALOGS@|$CATALOGS|g" -e "s|@POMAKEFILEDEPS@|$POMAKEFILEDEPS|g" "$ac_dir/Makefile.in" > "$ac_dir/Makefile" 5202 for f in "$ac_given_srcdir/$ac_dir"/Rules-*; do 5203 if test -f "$f"; then 5204 case "$f" in 5205 *.orig | *.bak | *~) ;; 5206 *) cat "$f" >> "$ac_dir/Makefile" ;; 5207 esac 5208 fi 5209 done 5210 fi 5211 ;; 5212 esac 5213 done]], 5214 [# Capture the value of obsolete ALL_LINGUAS because we need it to compute 5215 # POFILES, UPDATEPOFILES, DUMMYPOFILES, GMOFILES, CATALOGS. But hide it 5216 # from automake < 1.5. 5217 eval 'OBSOLETE_ALL_LINGUAS''="$ALL_LINGUAS"' 5218 # Capture the value of LINGUAS because we need it to compute CATALOGS. 5219 LINGUAS="${LINGUAS-%UNSET%}" 5220 ]) 5221]) 5222m4trace:m4/po.m4:220: -1- AC_DEFUN([AM_POSTPROCESS_PO_MAKEFILE], [ 5223 # When this code is run, in config.status, two variables have already been 5224 # set: 5225 # - OBSOLETE_ALL_LINGUAS is the value of LINGUAS set in configure.in, 5226 # - LINGUAS is the value of the environment variable LINGUAS at configure 5227 # time. 5228 5229changequote(,)dnl 5230 # Adjust a relative srcdir. 5231 ac_dir=`echo "$ac_file"|sed 's%/[^/][^/]*$%%'` 5232 ac_dir_suffix=/`echo "$ac_dir"|sed 's%^\./%%'` 5233 ac_dots=`echo "$ac_dir_suffix"|sed 's%/[^/]*%../%g'` 5234 # In autoconf-2.13 it is called $ac_given_srcdir. 5235 # In autoconf-2.50 it is called $srcdir. 5236 test -n "$ac_given_srcdir" || ac_given_srcdir="$srcdir" 5237 case "$ac_given_srcdir" in 5238 .) top_srcdir=`echo $ac_dots|sed 's%/$%%'` ;; 5239 /*) top_srcdir="$ac_given_srcdir" ;; 5240 *) top_srcdir="$ac_dots$ac_given_srcdir" ;; 5241 esac 5242 5243 # Find a way to echo strings without interpreting backslash. 5244 if test "X`(echo '\t') 2>/dev/null`" = 'X\t'; then 5245 gt_echo='echo' 5246 else 5247 if test "X`(printf '%s\n' '\t') 2>/dev/null`" = 'X\t'; then 5248 gt_echo='printf %s\n' 5249 else 5250 echo_func () { 5251 cat <<EOT 5252$* 5253EOT 5254 } 5255 gt_echo='echo_func' 5256 fi 5257 fi 5258 5259 # A sed script that extracts the value of VARIABLE from a Makefile. 5260 tab=`printf '\t'` 5261 sed_x_variable=' 5262# Test if the hold space is empty. 5263x 5264s/P/P/ 5265x 5266ta 5267# Yes it was empty. Look if we have the expected variable definition. 5268/^['"${tab}"' ]*VARIABLE['"${tab}"' ]*=/{ 5269 # Seen the first line of the variable definition. 5270 s/^['"${tab}"' ]*VARIABLE['"${tab}"' ]*=// 5271 ba 5272} 5273bd 5274:a 5275# Here we are processing a line from the variable definition. 5276# Remove comment, more precisely replace it with a space. 5277s/#.*$/ / 5278# See if the line ends in a backslash. 5279tb 5280:b 5281s/\\$// 5282# Print the line, without the trailing backslash. 5283p 5284tc 5285# There was no trailing backslash. The end of the variable definition is 5286# reached. Clear the hold space. 5287s/^.*$// 5288x 5289bd 5290:c 5291# A trailing backslash means that the variable definition continues in the 5292# next line. Put a nonempty string into the hold space to indicate this. 5293s/^.*$/P/ 5294x 5295:d 5296' 5297changequote([,])dnl 5298 5299 # Set POTFILES to the value of the Makefile variable POTFILES. 5300 sed_x_POTFILES=`$gt_echo "$sed_x_variable" | sed -e '/^ *#/d' -e 's/VARIABLE/POTFILES/g'` 5301 POTFILES=`sed -n -e "$sed_x_POTFILES" < "$ac_file"` 5302 # Compute POTFILES_DEPS as 5303 # $(foreach file, $(POTFILES), $(top_srcdir)/$(file)) 5304 POTFILES_DEPS= 5305 for file in $POTFILES; do 5306 POTFILES_DEPS="$POTFILES_DEPS "'$(top_srcdir)/'"$file" 5307 done 5308 POMAKEFILEDEPS="" 5309 5310 if test -n "$OBSOLETE_ALL_LINGUAS"; then 5311 test -n "$as_me" && echo "$as_me: setting ALL_LINGUAS in configure.in is obsolete" || echo "setting ALL_LINGUAS in configure.in is obsolete" 5312 fi 5313 if test -f "$ac_given_srcdir/$ac_dir/LINGUAS"; then 5314 # The LINGUAS file contains the set of available languages. 5315 ALL_LINGUAS_=`sed -e "/^#/d" -e "s/#.*//" "$ac_given_srcdir/$ac_dir/LINGUAS"` 5316 POMAKEFILEDEPS="$POMAKEFILEDEPS LINGUAS" 5317 else 5318 # Set ALL_LINGUAS to the value of the Makefile variable LINGUAS. 5319 sed_x_LINGUAS=`$gt_echo "$sed_x_variable" | sed -e '/^ *#/d' -e 's/VARIABLE/LINGUAS/g'` 5320 ALL_LINGUAS_=`sed -n -e "$sed_x_LINGUAS" < "$ac_file"` 5321 fi 5322 # Hide the ALL_LINGUAS assignment from automake < 1.5. 5323 eval 'ALL_LINGUAS''=$ALL_LINGUAS_' 5324 # Compute POFILES 5325 # as $(foreach lang, $(ALL_LINGUAS), $(srcdir)/$(lang).po) 5326 # Compute UPDATEPOFILES 5327 # as $(foreach lang, $(ALL_LINGUAS), $(lang).po-update) 5328 # Compute DUMMYPOFILES 5329 # as $(foreach lang, $(ALL_LINGUAS), $(lang).nop) 5330 # Compute GMOFILES 5331 # as $(foreach lang, $(ALL_LINGUAS), $(srcdir)/$(lang).gmo) 5332 # Compute PROPERTIESFILES 5333 # as $(foreach lang, $(ALL_LINGUAS), $(top_srcdir)/$(DOMAIN)_$(lang).properties) 5334 # Compute CLASSFILES 5335 # as $(foreach lang, $(ALL_LINGUAS), $(top_srcdir)/$(DOMAIN)_$(lang).class) 5336 # Compute QMFILES 5337 # as $(foreach lang, $(ALL_LINGUAS), $(srcdir)/$(lang).qm) 5338 # Compute MSGFILES 5339 # as $(foreach lang, $(ALL_LINGUAS), $(srcdir)/$(frob $(lang)).msg) 5340 # Compute RESOURCESDLLFILES 5341 # as $(foreach lang, $(ALL_LINGUAS), $(srcdir)/$(frob $(lang))/$(DOMAIN).resources.dll) 5342 case "$ac_given_srcdir" in 5343 .) srcdirpre= ;; 5344 *) srcdirpre='$(srcdir)/' ;; 5345 esac 5346 POFILES= 5347 UPDATEPOFILES= 5348 DUMMYPOFILES= 5349 GMOFILES= 5350 PROPERTIESFILES= 5351 CLASSFILES= 5352 QMFILES= 5353 MSGFILES= 5354 RESOURCESDLLFILES= 5355 for lang in $ALL_LINGUAS; do 5356 POFILES="$POFILES $srcdirpre$lang.po" 5357 UPDATEPOFILES="$UPDATEPOFILES $lang.po-update" 5358 DUMMYPOFILES="$DUMMYPOFILES $lang.nop" 5359 GMOFILES="$GMOFILES $srcdirpre$lang.gmo" 5360 PROPERTIESFILES="$PROPERTIESFILES \$(top_srcdir)/\$(DOMAIN)_$lang.properties" 5361 CLASSFILES="$CLASSFILES \$(top_srcdir)/\$(DOMAIN)_$lang.class" 5362 QMFILES="$QMFILES $srcdirpre$lang.qm" 5363 frobbedlang=`echo $lang | sed -e 's/\..*$//' -e 'y/ABCDEFGHIJKLMNOPQRSTUVWXYZ/abcdefghijklmnopqrstuvwxyz/'` 5364 MSGFILES="$MSGFILES $srcdirpre$frobbedlang.msg" 5365 frobbedlang=`echo $lang | sed -e 's/_/-/g' -e 's/^sr-CS/sr-SP/' -e 's/@latin$/-Latn/' -e 's/@cyrillic$/-Cyrl/' -e 's/^sr-SP$/sr-SP-Latn/' -e 's/^uz-UZ$/uz-UZ-Latn/'` 5366 RESOURCESDLLFILES="$RESOURCESDLLFILES $srcdirpre$frobbedlang/\$(DOMAIN).resources.dll" 5367 done 5368 # CATALOGS depends on both $ac_dir and the user's LINGUAS 5369 # environment variable. 5370 INST_LINGUAS= 5371 if test -n "$ALL_LINGUAS"; then 5372 for presentlang in $ALL_LINGUAS; do 5373 useit=no 5374 if test "%UNSET%" != "$LINGUAS"; then 5375 desiredlanguages="$LINGUAS" 5376 else 5377 desiredlanguages="$ALL_LINGUAS" 5378 fi 5379 for desiredlang in $desiredlanguages; do 5380 # Use the presentlang catalog if desiredlang is 5381 # a. equal to presentlang, or 5382 # b. a variant of presentlang (because in this case, 5383 # presentlang can be used as a fallback for messages 5384 # which are not translated in the desiredlang catalog). 5385 case "$desiredlang" in 5386 "$presentlang"*) useit=yes;; 5387 esac 5388 done 5389 if test $useit = yes; then 5390 INST_LINGUAS="$INST_LINGUAS $presentlang" 5391 fi 5392 done 5393 fi 5394 CATALOGS= 5395 JAVACATALOGS= 5396 QTCATALOGS= 5397 TCLCATALOGS= 5398 CSHARPCATALOGS= 5399 if test -n "$INST_LINGUAS"; then 5400 for lang in $INST_LINGUAS; do 5401 CATALOGS="$CATALOGS $lang.gmo" 5402 JAVACATALOGS="$JAVACATALOGS \$(DOMAIN)_$lang.properties" 5403 QTCATALOGS="$QTCATALOGS $lang.qm" 5404 frobbedlang=`echo $lang | sed -e 's/\..*$//' -e 'y/ABCDEFGHIJKLMNOPQRSTUVWXYZ/abcdefghijklmnopqrstuvwxyz/'` 5405 TCLCATALOGS="$TCLCATALOGS $frobbedlang.msg" 5406 frobbedlang=`echo $lang | sed -e 's/_/-/g' -e 's/^sr-CS/sr-SP/' -e 's/@latin$/-Latn/' -e 's/@cyrillic$/-Cyrl/' -e 's/^sr-SP$/sr-SP-Latn/' -e 's/^uz-UZ$/uz-UZ-Latn/'` 5407 CSHARPCATALOGS="$CSHARPCATALOGS $frobbedlang/\$(DOMAIN).resources.dll" 5408 done 5409 fi 5410 5411 sed -e "s|@POTFILES_DEPS@|$POTFILES_DEPS|g" -e "s|@POFILES@|$POFILES|g" -e "s|@UPDATEPOFILES@|$UPDATEPOFILES|g" -e "s|@DUMMYPOFILES@|$DUMMYPOFILES|g" -e "s|@GMOFILES@|$GMOFILES|g" -e "s|@PROPERTIESFILES@|$PROPERTIESFILES|g" -e "s|@CLASSFILES@|$CLASSFILES|g" -e "s|@QMFILES@|$QMFILES|g" -e "s|@MSGFILES@|$MSGFILES|g" -e "s|@RESOURCESDLLFILES@|$RESOURCESDLLFILES|g" -e "s|@CATALOGS@|$CATALOGS|g" -e "s|@JAVACATALOGS@|$JAVACATALOGS|g" -e "s|@QTCATALOGS@|$QTCATALOGS|g" -e "s|@TCLCATALOGS@|$TCLCATALOGS|g" -e "s|@CSHARPCATALOGS@|$CSHARPCATALOGS|g" -e 's,^#distdir:,distdir:,' < "$ac_file" > "$ac_file.tmp" 5412 tab=`printf '\t'` 5413 if grep -l '@TCLCATALOGS@' "$ac_file" > /dev/null; then 5414 # Add dependencies that cannot be formulated as a simple suffix rule. 5415 for lang in $ALL_LINGUAS; do 5416 frobbedlang=`echo $lang | sed -e 's/\..*$//' -e 'y/ABCDEFGHIJKLMNOPQRSTUVWXYZ/abcdefghijklmnopqrstuvwxyz/'` 5417 cat >> "$ac_file.tmp" <<EOF 5418$frobbedlang.msg: $lang.po 5419${tab}@echo "\$(MSGFMT) -c --tcl -d \$(srcdir) -l $lang $srcdirpre$lang.po"; \ 5420${tab}\$(MSGFMT) -c --tcl -d "\$(srcdir)" -l $lang $srcdirpre$lang.po || { rm -f "\$(srcdir)/$frobbedlang.msg"; exit 1; } 5421EOF 5422 done 5423 fi 5424 if grep -l '@CSHARPCATALOGS@' "$ac_file" > /dev/null; then 5425 # Add dependencies that cannot be formulated as a simple suffix rule. 5426 for lang in $ALL_LINGUAS; do 5427 frobbedlang=`echo $lang | sed -e 's/_/-/g' -e 's/^sr-CS/sr-SP/' -e 's/@latin$/-Latn/' -e 's/@cyrillic$/-Cyrl/' -e 's/^sr-SP$/sr-SP-Latn/' -e 's/^uz-UZ$/uz-UZ-Latn/'` 5428 cat >> "$ac_file.tmp" <<EOF 5429$frobbedlang/\$(DOMAIN).resources.dll: $lang.po 5430${tab}@echo "\$(MSGFMT) -c --csharp -d \$(srcdir) -l $lang $srcdirpre$lang.po -r \$(DOMAIN)"; \ 5431${tab}\$(MSGFMT) -c --csharp -d "\$(srcdir)" -l $lang $srcdirpre$lang.po -r "\$(DOMAIN)" || { rm -f "\$(srcdir)/$frobbedlang.msg"; exit 1; } 5432EOF 5433 done 5434 fi 5435 if test -n "$POMAKEFILEDEPS"; then 5436 cat >> "$ac_file.tmp" <<EOF 5437Makefile: $POMAKEFILEDEPS 5438EOF 5439 fi 5440 mv "$ac_file.tmp" "$ac_file" 5441]) 5442m4trace:m4/po.m4:443: -1- AC_DEFUN([AM_XGETTEXT_OPTION_INIT], [ 5443 XGETTEXT_EXTRA_OPTIONS= 5444]) 5445m4trace:m4/po.m4:449: -1- AC_DEFUN([AM_XGETTEXT_OPTION], [ 5446 AC_REQUIRE([AM_XGETTEXT_OPTION_INIT]) 5447 XGETTEXT_EXTRA_OPTIONS="$XGETTEXT_EXTRA_OPTIONS $1" 5448]) 5449m4trace:m4/printf-posix.m4:11: -1- AC_DEFUN([gt_PRINTF_POSIX], [ 5450 AC_REQUIRE([AC_PROG_CC]) 5451 AC_CACHE_CHECK([whether printf() supports POSIX/XSI format strings], 5452 gt_cv_func_printf_posix, 5453 [ 5454 AC_RUN_IFELSE( 5455 [AC_LANG_SOURCE([[ 5456#include <stdio.h> 5457#include <string.h> 5458/* The string "%2$d %1$d", with dollar characters protected from the shell's 5459 dollar expansion (possibly an autoconf bug). */ 5460static char format[] = { '%', '2', '$', 'd', ' ', '%', '1', '$', 'd', '\0' }; 5461static char buf[100]; 5462int main () 5463{ 5464 sprintf (buf, format, 33, 55); 5465 return (strcmp (buf, "55 33") != 0); 5466}]])], 5467 [gt_cv_func_printf_posix=yes], 5468 [gt_cv_func_printf_posix=no], 5469 [ 5470 AC_EGREP_CPP([notposix], [ 5471#if defined __NetBSD__ || defined __BEOS__ || defined _MSC_VER || defined __MINGW32__ || defined __CYGWIN__ 5472 notposix 5473#endif 5474 ], 5475 [gt_cv_func_printf_posix="guessing no"], 5476 [gt_cv_func_printf_posix="guessing yes"]) 5477 ]) 5478 ]) 5479 case $gt_cv_func_printf_posix in 5480 *yes) 5481 AC_DEFINE([HAVE_POSIX_PRINTF], [1], 5482 [Define if your printf() function supports format strings with positions.]) 5483 ;; 5484 esac 5485]) 5486m4trace:m4/progtest.m4:25: -1- AC_DEFUN([AM_PATH_PROG_WITH_TEST], [ 5487# Prepare PATH_SEPARATOR. 5488# The user is always right. 5489if test "${PATH_SEPARATOR+set}" != set; then 5490 # Determine PATH_SEPARATOR by trying to find /bin/sh in a PATH which 5491 # contains only /bin. Note that ksh looks also at the FPATH variable, 5492 # so we have to set that as well for the test. 5493 PATH_SEPARATOR=: 5494 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 \ 5495 && { (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 \ 5496 || PATH_SEPARATOR=';' 5497 } 5498fi 5499 5500# Find out how to test for executable files. Don't use a zero-byte file, 5501# as systems may use methods other than mode bits to determine executability. 5502cat >conf$$.file <<_ASEOF 5503#! /bin/sh 5504exit 0 5505_ASEOF 5506chmod +x conf$$.file 5507if test -x conf$$.file >/dev/null 2>&1; then 5508 ac_executable_p="test -x" 5509else 5510 ac_executable_p="test -f" 5511fi 5512rm -f conf$$.file 5513 5514# Extract the first word of "$2", so it can be a program name with args. 5515set dummy $2; ac_word=[$]2 5516AC_MSG_CHECKING([for $ac_word]) 5517AC_CACHE_VAL([ac_cv_path_$1], 5518[case "[$]$1" in 5519 [[\\/]]* | ?:[[\\/]]*) 5520 ac_cv_path_$1="[$]$1" # Let the user override the test with a path. 5521 ;; 5522 *) 5523 ac_save_IFS="$IFS"; IFS=$PATH_SEPARATOR 5524 for ac_dir in ifelse([$5], , $PATH, [$5]); do 5525 IFS="$ac_save_IFS" 5526 test -z "$ac_dir" && ac_dir=. 5527 for ac_exec_ext in '' $ac_executable_extensions; do 5528 if $ac_executable_p "$ac_dir/$ac_word$ac_exec_ext"; then 5529 echo "$as_me: trying $ac_dir/$ac_word..." >&AS_MESSAGE_LOG_FD 5530 if [$3]; then 5531 ac_cv_path_$1="$ac_dir/$ac_word$ac_exec_ext" 5532 break 2 5533 fi 5534 fi 5535 done 5536 done 5537 IFS="$ac_save_IFS" 5538dnl If no 4th arg is given, leave the cache variable unset, 5539dnl so AC_PATH_PROGS will keep looking. 5540ifelse([$4], , , [ test -z "[$]ac_cv_path_$1" && ac_cv_path_$1="$4" 5541])dnl 5542 ;; 5543esac])dnl 5544$1="$ac_cv_path_$1" 5545if test ifelse([$4], , [-n "[$]$1"], ["[$]$1" != "$4"]); then 5546 AC_MSG_RESULT([$][$1]) 5547else 5548 AC_MSG_RESULT([no]) 5549fi 5550AC_SUBST([$1])dnl 5551]) 5552m4trace:m4/size_max.m4:9: -1- AC_DEFUN([gl_SIZE_MAX], [ 5553 AC_CHECK_HEADERS([stdint.h]) 5554 dnl First test whether the system already has SIZE_MAX. 5555 AC_CACHE_CHECK([for SIZE_MAX], [gl_cv_size_max], [ 5556 gl_cv_size_max= 5557 AC_EGREP_CPP([Found it], [ 5558#include <limits.h> 5559#if HAVE_STDINT_H 5560#include <stdint.h> 5561#endif 5562#ifdef SIZE_MAX 5563Found it 5564#endif 5565], [gl_cv_size_max=yes]) 5566 if test -z "$gl_cv_size_max"; then 5567 dnl Define it ourselves. Here we assume that the type 'size_t' is not wider 5568 dnl than the type 'unsigned long'. Try hard to find a definition that can 5569 dnl be used in a preprocessor #if, i.e. doesn't contain a cast. 5570 AC_COMPUTE_INT([size_t_bits_minus_1], [sizeof (size_t) * CHAR_BIT - 1], 5571 [#include <stddef.h> 5572#include <limits.h>], [size_t_bits_minus_1=]) 5573 AC_COMPUTE_INT([fits_in_uint], [sizeof (size_t) <= sizeof (unsigned int)], 5574 [#include <stddef.h>], [fits_in_uint=]) 5575 if test -n "$size_t_bits_minus_1" && test -n "$fits_in_uint"; then 5576 if test $fits_in_uint = 1; then 5577 dnl Even though SIZE_MAX fits in an unsigned int, it must be of type 5578 dnl 'unsigned long' if the type 'size_t' is the same as 'unsigned long'. 5579 AC_COMPILE_IFELSE( 5580 [AC_LANG_PROGRAM( 5581 [[#include <stddef.h> 5582 extern size_t foo; 5583 extern unsigned long foo; 5584 ]], 5585 [[]])], 5586 [fits_in_uint=0]) 5587 fi 5588 dnl We cannot use 'expr' to simplify this expression, because 'expr' 5589 dnl works only with 'long' integers in the host environment, while we 5590 dnl might be cross-compiling from a 32-bit platform to a 64-bit platform. 5591 if test $fits_in_uint = 1; then 5592 gl_cv_size_max="(((1U << $size_t_bits_minus_1) - 1) * 2 + 1)" 5593 else 5594 gl_cv_size_max="(((1UL << $size_t_bits_minus_1) - 1) * 2 + 1)" 5595 fi 5596 else 5597 dnl Shouldn't happen, but who knows... 5598 gl_cv_size_max='((size_t)~(size_t)0)' 5599 fi 5600 fi 5601 ]) 5602 if test "$gl_cv_size_max" != yes; then 5603 AC_DEFINE_UNQUOTED([SIZE_MAX], [$gl_cv_size_max], 5604 [Define as the maximum value of type 'size_t', if the system doesn't define it.]) 5605 fi 5606 dnl Don't redefine SIZE_MAX in config.h if config.h is re-included after 5607 dnl <stdint.h>. Remember that the #undef in AH_VERBATIM gets replaced with 5608 dnl #define by AC_DEFINE_UNQUOTED. 5609 AH_VERBATIM([SIZE_MAX], 5610[/* Define as the maximum value of type 'size_t', if the system doesn't define 5611 it. */ 5612#ifndef SIZE_MAX 5613# undef SIZE_MAX 5614#endif]) 5615]) 5616m4trace:m4/stdint_h.m4:12: -1- AC_DEFUN([gl_AC_HEADER_STDINT_H], [ 5617 AC_CACHE_CHECK([for stdint.h], [gl_cv_header_stdint_h], 5618 [AC_COMPILE_IFELSE( 5619 [AC_LANG_PROGRAM( 5620 [[#include <sys/types.h> 5621 #include <stdint.h>]], 5622 [[uintmax_t i = (uintmax_t) -1; return !i;]])], 5623 [gl_cv_header_stdint_h=yes], 5624 [gl_cv_header_stdint_h=no])]) 5625 if test $gl_cv_header_stdint_h = yes; then 5626 AC_DEFINE_UNQUOTED([HAVE_STDINT_H_WITH_UINTMAX], [1], 5627 [Define if <stdint.h> exists, doesn't clash with <sys/types.h>, 5628 and declares uintmax_t. ]) 5629 fi 5630]) 5631m4trace:m4/threadlib.m4:29: -1- AC_DEFUN([gl_THREADLIB_EARLY], [ 5632 AC_REQUIRE([gl_THREADLIB_EARLY_BODY]) 5633]) 5634m4trace:m4/threadlib.m4:36: -1- AC_DEFUN([gl_THREADLIB_EARLY_BODY], [ 5635 dnl Ordering constraints: This macro modifies CPPFLAGS in a way that 5636 dnl influences the result of the autoconf tests that test for *_unlocked 5637 dnl declarations, on AIX 5 at least. Therefore it must come early. 5638 AC_BEFORE([$0], [gl_FUNC_GLIBC_UNLOCKED_IO])dnl 5639 AC_BEFORE([$0], [gl_ARGP])dnl 5640 5641 AC_REQUIRE([AC_CANONICAL_HOST]) 5642 dnl _GNU_SOURCE is needed for pthread_rwlock_t on glibc systems. 5643 dnl AC_USE_SYSTEM_EXTENSIONS was introduced in autoconf 2.60 and obsoletes 5644 dnl AC_GNU_SOURCE. 5645 m4_ifdef([AC_USE_SYSTEM_EXTENSIONS], 5646 [AC_REQUIRE([AC_USE_SYSTEM_EXTENSIONS])], 5647 [AC_REQUIRE([AC_GNU_SOURCE])]) 5648 dnl Check for multithreading. 5649 m4_ifdef([gl_THREADLIB_DEFAULT_NO], 5650 [m4_divert_text([DEFAULTS], [gl_use_threads_default=no])], 5651 [m4_divert_text([DEFAULTS], [gl_use_threads_default=])]) 5652 AC_ARG_ENABLE([threads], 5653AC_HELP_STRING([--enable-threads={posix|solaris|pth|windows}], [specify multithreading API])m4_ifdef([gl_THREADLIB_DEFAULT_NO], [], [ 5654AC_HELP_STRING([--disable-threads], [build without multithread safety])]), 5655 [gl_use_threads=$enableval], 5656 [if test -n "$gl_use_threads_default"; then 5657 gl_use_threads="$gl_use_threads_default" 5658 else 5659changequote(,)dnl 5660 case "$host_os" in 5661 dnl Disable multithreading by default on OSF/1, because it interferes 5662 dnl with fork()/exec(): When msgexec is linked with -lpthread, its 5663 dnl child process gets an endless segmentation fault inside execvp(). 5664 dnl Disable multithreading by default on Cygwin 1.5.x, because it has 5665 dnl bugs that lead to endless loops or crashes. See 5666 dnl <http://cygwin.com/ml/cygwin/2009-08/msg00283.html>. 5667 osf*) gl_use_threads=no ;; 5668 cygwin*) 5669 case `uname -r` in 5670 1.[0-5].*) gl_use_threads=no ;; 5671 *) gl_use_threads=yes ;; 5672 esac 5673 ;; 5674 *) gl_use_threads=yes ;; 5675 esac 5676changequote([,])dnl 5677 fi 5678 ]) 5679 if test "$gl_use_threads" = yes || test "$gl_use_threads" = posix; then 5680 # For using <pthread.h>: 5681 case "$host_os" in 5682 osf*) 5683 # On OSF/1, the compiler needs the flag -D_REENTRANT so that it 5684 # groks <pthread.h>. cc also understands the flag -pthread, but 5685 # we don't use it because 1. gcc-2.95 doesn't understand -pthread, 5686 # 2. putting a flag into CPPFLAGS that has an effect on the linker 5687 # causes the AC_LINK_IFELSE test below to succeed unexpectedly, 5688 # leading to wrong values of LIBTHREAD and LTLIBTHREAD. 5689 CPPFLAGS="$CPPFLAGS -D_REENTRANT" 5690 ;; 5691 esac 5692 # Some systems optimize for single-threaded programs by default, and 5693 # need special flags to disable these optimizations. For example, the 5694 # definition of 'errno' in <errno.h>. 5695 case "$host_os" in 5696 aix* | freebsd*) CPPFLAGS="$CPPFLAGS -D_THREAD_SAFE" ;; 5697 solaris*) CPPFLAGS="$CPPFLAGS -D_REENTRANT" ;; 5698 esac 5699 fi 5700]) 5701m4trace:m4/threadlib.m4:107: -1- AC_DEFUN([gl_THREADLIB_BODY], [ 5702 AC_REQUIRE([gl_THREADLIB_EARLY_BODY]) 5703 gl_threads_api=none 5704 LIBTHREAD= 5705 LTLIBTHREAD= 5706 LIBMULTITHREAD= 5707 LTLIBMULTITHREAD= 5708 if test "$gl_use_threads" != no; then 5709 dnl Check whether the compiler and linker support weak declarations. 5710 AC_CACHE_CHECK([whether imported symbols can be declared weak], 5711 [gl_cv_have_weak], 5712 [gl_cv_have_weak=no 5713 dnl First, test whether the compiler accepts it syntactically. 5714 AC_LINK_IFELSE( 5715 [AC_LANG_PROGRAM( 5716 [[extern void xyzzy (); 5717#pragma weak xyzzy]], 5718 [[xyzzy();]])], 5719 [gl_cv_have_weak=maybe]) 5720 if test $gl_cv_have_weak = maybe; then 5721 dnl Second, test whether it actually works. On Cygwin 1.7.2, with 5722 dnl gcc 4.3, symbols declared weak always evaluate to the address 0. 5723 AC_RUN_IFELSE( 5724 [AC_LANG_SOURCE([[ 5725#include <stdio.h> 5726#pragma weak fputs 5727int main () 5728{ 5729 return (fputs == NULL); 5730}]])], 5731 [gl_cv_have_weak=yes], 5732 [gl_cv_have_weak=no], 5733 [dnl When cross-compiling, assume that only ELF platforms support 5734 dnl weak symbols. 5735 AC_EGREP_CPP([Extensible Linking Format], 5736 [#ifdef __ELF__ 5737 Extensible Linking Format 5738 #endif 5739 ], 5740 [gl_cv_have_weak="guessing yes"], 5741 [gl_cv_have_weak="guessing no"]) 5742 ]) 5743 fi 5744 ]) 5745 if test "$gl_use_threads" = yes || test "$gl_use_threads" = posix; then 5746 # On OSF/1, the compiler needs the flag -pthread or -D_REENTRANT so that 5747 # it groks <pthread.h>. It's added above, in gl_THREADLIB_EARLY_BODY. 5748 AC_CHECK_HEADER([pthread.h], 5749 [gl_have_pthread_h=yes], [gl_have_pthread_h=no]) 5750 if test "$gl_have_pthread_h" = yes; then 5751 # Other possible tests: 5752 # -lpthreads (FSU threads, PCthreads) 5753 # -lgthreads 5754 gl_have_pthread= 5755 # Test whether both pthread_mutex_lock and pthread_mutexattr_init exist 5756 # in libc. IRIX 6.5 has the first one in both libc and libpthread, but 5757 # the second one only in libpthread, and lock.c needs it. 5758 AC_LINK_IFELSE( 5759 [AC_LANG_PROGRAM( 5760 [[#include <pthread.h>]], 5761 [[pthread_mutex_lock((pthread_mutex_t*)0); 5762 pthread_mutexattr_init((pthread_mutexattr_t*)0);]])], 5763 [gl_have_pthread=yes]) 5764 # Test for libpthread by looking for pthread_kill. (Not pthread_self, 5765 # since it is defined as a macro on OSF/1.) 5766 if test -n "$gl_have_pthread"; then 5767 # The program links fine without libpthread. But it may actually 5768 # need to link with libpthread in order to create multiple threads. 5769 AC_CHECK_LIB([pthread], [pthread_kill], 5770 [LIBMULTITHREAD=-lpthread LTLIBMULTITHREAD=-lpthread 5771 # On Solaris and HP-UX, most pthread functions exist also in libc. 5772 # Therefore pthread_in_use() needs to actually try to create a 5773 # thread: pthread_create from libc will fail, whereas 5774 # pthread_create will actually create a thread. 5775 case "$host_os" in 5776 solaris* | hpux*) 5777 AC_DEFINE([PTHREAD_IN_USE_DETECTION_HARD], [1], 5778 [Define if the pthread_in_use() detection is hard.]) 5779 esac 5780 ]) 5781 else 5782 # Some library is needed. Try libpthread and libc_r. 5783 AC_CHECK_LIB([pthread], [pthread_kill], 5784 [gl_have_pthread=yes 5785 LIBTHREAD=-lpthread LTLIBTHREAD=-lpthread 5786 LIBMULTITHREAD=-lpthread LTLIBMULTITHREAD=-lpthread]) 5787 if test -z "$gl_have_pthread"; then 5788 # For FreeBSD 4. 5789 AC_CHECK_LIB([c_r], [pthread_kill], 5790 [gl_have_pthread=yes 5791 LIBTHREAD=-lc_r LTLIBTHREAD=-lc_r 5792 LIBMULTITHREAD=-lc_r LTLIBMULTITHREAD=-lc_r]) 5793 fi 5794 fi 5795 if test -n "$gl_have_pthread"; then 5796 gl_threads_api=posix 5797 AC_DEFINE([USE_POSIX_THREADS], [1], 5798 [Define if the POSIX multithreading library can be used.]) 5799 if test -n "$LIBMULTITHREAD" || test -n "$LTLIBMULTITHREAD"; then 5800 if case "$gl_cv_have_weak" in *yes) true;; *) false;; esac; then 5801 AC_DEFINE([USE_POSIX_THREADS_WEAK], [1], 5802 [Define if references to the POSIX multithreading library should be made weak.]) 5803 LIBTHREAD= 5804 LTLIBTHREAD= 5805 fi 5806 fi 5807 fi 5808 fi 5809 fi 5810 if test -z "$gl_have_pthread"; then 5811 if test "$gl_use_threads" = yes || test "$gl_use_threads" = solaris; then 5812 gl_have_solaristhread= 5813 gl_save_LIBS="$LIBS" 5814 LIBS="$LIBS -lthread" 5815 AC_LINK_IFELSE( 5816 [AC_LANG_PROGRAM( 5817 [[ 5818#include <thread.h> 5819#include <synch.h> 5820 ]], 5821 [[thr_self();]])], 5822 [gl_have_solaristhread=yes]) 5823 LIBS="$gl_save_LIBS" 5824 if test -n "$gl_have_solaristhread"; then 5825 gl_threads_api=solaris 5826 LIBTHREAD=-lthread 5827 LTLIBTHREAD=-lthread 5828 LIBMULTITHREAD="$LIBTHREAD" 5829 LTLIBMULTITHREAD="$LTLIBTHREAD" 5830 AC_DEFINE([USE_SOLARIS_THREADS], [1], 5831 [Define if the old Solaris multithreading library can be used.]) 5832 if case "$gl_cv_have_weak" in *yes) true;; *) false;; esac; then 5833 AC_DEFINE([USE_SOLARIS_THREADS_WEAK], [1], 5834 [Define if references to the old Solaris multithreading library should be made weak.]) 5835 LIBTHREAD= 5836 LTLIBTHREAD= 5837 fi 5838 fi 5839 fi 5840 fi 5841 if test "$gl_use_threads" = pth; then 5842 gl_save_CPPFLAGS="$CPPFLAGS" 5843 AC_LIB_LINKFLAGS([pth]) 5844 gl_have_pth= 5845 gl_save_LIBS="$LIBS" 5846 LIBS="$LIBS $LIBPTH" 5847 AC_LINK_IFELSE( 5848 [AC_LANG_PROGRAM([[#include <pth.h>]], [[pth_self();]])], 5849 [gl_have_pth=yes]) 5850 LIBS="$gl_save_LIBS" 5851 if test -n "$gl_have_pth"; then 5852 gl_threads_api=pth 5853 LIBTHREAD="$LIBPTH" 5854 LTLIBTHREAD="$LTLIBPTH" 5855 LIBMULTITHREAD="$LIBTHREAD" 5856 LTLIBMULTITHREAD="$LTLIBTHREAD" 5857 AC_DEFINE([USE_PTH_THREADS], [1], 5858 [Define if the GNU Pth multithreading library can be used.]) 5859 if test -n "$LIBMULTITHREAD" || test -n "$LTLIBMULTITHREAD"; then 5860 if case "$gl_cv_have_weak" in *yes) true;; *) false;; esac; then 5861 AC_DEFINE([USE_PTH_THREADS_WEAK], [1], 5862 [Define if references to the GNU Pth multithreading library should be made weak.]) 5863 LIBTHREAD= 5864 LTLIBTHREAD= 5865 fi 5866 fi 5867 else 5868 CPPFLAGS="$gl_save_CPPFLAGS" 5869 fi 5870 fi 5871 if test -z "$gl_have_pthread"; then 5872 case "$gl_use_threads" in 5873 yes | windows | win32) # The 'win32' is for backward compatibility. 5874 if { case "$host_os" in 5875 mingw*) true;; 5876 *) false;; 5877 esac 5878 }; then 5879 gl_threads_api=windows 5880 AC_DEFINE([USE_WINDOWS_THREADS], [1], 5881 [Define if the native Windows multithreading API can be used.]) 5882 fi 5883 ;; 5884 esac 5885 fi 5886 fi 5887 AC_MSG_CHECKING([for multithread API to use]) 5888 AC_MSG_RESULT([$gl_threads_api]) 5889 AC_SUBST([LIBTHREAD]) 5890 AC_SUBST([LTLIBTHREAD]) 5891 AC_SUBST([LIBMULTITHREAD]) 5892 AC_SUBST([LTLIBMULTITHREAD]) 5893]) 5894m4trace:m4/threadlib.m4:302: -1- AC_DEFUN([gl_THREADLIB], [ 5895 AC_REQUIRE([gl_THREADLIB_EARLY]) 5896 AC_REQUIRE([gl_THREADLIB_BODY]) 5897]) 5898m4trace:m4/threadlib.m4:315: -1- AC_DEFUN([gl_DISABLE_THREADS], [ 5899 m4_divert_text([INIT_PREPARE], [gl_use_threads_default=no]) 5900]) 5901m4trace:m4/uintmax_t.m4:14: -1- AC_DEFUN([gl_AC_TYPE_UINTMAX_T], [ 5902 AC_REQUIRE([gl_AC_HEADER_INTTYPES_H]) 5903 AC_REQUIRE([gl_AC_HEADER_STDINT_H]) 5904 if test $gl_cv_header_inttypes_h = no && test $gl_cv_header_stdint_h = no; then 5905 AC_REQUIRE([AC_TYPE_UNSIGNED_LONG_LONG_INT]) 5906 test $ac_cv_type_unsigned_long_long_int = yes \ 5907 && ac_type='unsigned long long' \ 5908 || ac_type='unsigned long' 5909 AC_DEFINE_UNQUOTED([uintmax_t], [$ac_type], 5910 [Define to unsigned long or unsigned long long 5911 if <stdint.h> and <inttypes.h> don't define.]) 5912 else 5913 AC_DEFINE([HAVE_UINTMAX_T], [1], 5914 [Define if you have the 'uintmax_t' type in <stdint.h> or <inttypes.h>.]) 5915 fi 5916]) 5917m4trace:m4/visibility.m4:23: -1- AC_DEFUN([gl_VISIBILITY], [ 5918 AC_REQUIRE([AC_PROG_CC]) 5919 CFLAG_VISIBILITY= 5920 HAVE_VISIBILITY=0 5921 if test -n "$GCC"; then 5922 dnl First, check whether -Werror can be added to the command line, or 5923 dnl whether it leads to an error because of some other option that the 5924 dnl user has put into $CC $CFLAGS $CPPFLAGS. 5925 AC_MSG_CHECKING([whether the -Werror option is usable]) 5926 AC_CACHE_VAL([gl_cv_cc_vis_werror], [ 5927 gl_save_CFLAGS="$CFLAGS" 5928 CFLAGS="$CFLAGS -Werror" 5929 AC_COMPILE_IFELSE( 5930 [AC_LANG_PROGRAM([[]], [[]])], 5931 [gl_cv_cc_vis_werror=yes], 5932 [gl_cv_cc_vis_werror=no]) 5933 CFLAGS="$gl_save_CFLAGS"]) 5934 AC_MSG_RESULT([$gl_cv_cc_vis_werror]) 5935 dnl Now check whether visibility declarations are supported. 5936 AC_MSG_CHECKING([for simple visibility declarations]) 5937 AC_CACHE_VAL([gl_cv_cc_visibility], [ 5938 gl_save_CFLAGS="$CFLAGS" 5939 CFLAGS="$CFLAGS -fvisibility=hidden" 5940 dnl We use the option -Werror and a function dummyfunc, because on some 5941 dnl platforms (Cygwin 1.7) the use of -fvisibility triggers a warning 5942 dnl "visibility attribute not supported in this configuration; ignored" 5943 dnl at the first function definition in every compilation unit, and we 5944 dnl don't want to use the option in this case. 5945 if test $gl_cv_cc_vis_werror = yes; then 5946 CFLAGS="$CFLAGS -Werror" 5947 fi 5948 AC_COMPILE_IFELSE( 5949 [AC_LANG_PROGRAM( 5950 [[extern __attribute__((__visibility__("hidden"))) int hiddenvar; 5951 extern __attribute__((__visibility__("default"))) int exportedvar; 5952 extern __attribute__((__visibility__("hidden"))) int hiddenfunc (void); 5953 extern __attribute__((__visibility__("default"))) int exportedfunc (void); 5954 void dummyfunc (void) {} 5955 ]], 5956 [[]])], 5957 [gl_cv_cc_visibility=yes], 5958 [gl_cv_cc_visibility=no]) 5959 CFLAGS="$gl_save_CFLAGS"]) 5960 AC_MSG_RESULT([$gl_cv_cc_visibility]) 5961 if test $gl_cv_cc_visibility = yes; then 5962 CFLAG_VISIBILITY="-fvisibility=hidden" 5963 HAVE_VISIBILITY=1 5964 fi 5965 fi 5966 AC_SUBST([CFLAG_VISIBILITY]) 5967 AC_SUBST([HAVE_VISIBILITY]) 5968 AC_DEFINE_UNQUOTED([HAVE_VISIBILITY], [$HAVE_VISIBILITY], 5969 [Define to 1 or 0, depending whether the compiler supports simple visibility declarations.]) 5970]) 5971m4trace:m4/wchar_t.m4:11: -1- AC_DEFUN([gt_TYPE_WCHAR_T], [ 5972 AC_CACHE_CHECK([for wchar_t], [gt_cv_c_wchar_t], 5973 [AC_COMPILE_IFELSE( 5974 [AC_LANG_PROGRAM( 5975 [[#include <stddef.h> 5976 wchar_t foo = (wchar_t)'\0';]], 5977 [[]])], 5978 [gt_cv_c_wchar_t=yes], 5979 [gt_cv_c_wchar_t=no])]) 5980 if test $gt_cv_c_wchar_t = yes; then 5981 AC_DEFINE([HAVE_WCHAR_T], [1], [Define if you have the 'wchar_t' type.]) 5982 fi 5983]) 5984m4trace:m4/wint_t.m4:11: -1- AC_DEFUN([gt_TYPE_WINT_T], [ 5985 AC_CACHE_CHECK([for wint_t], [gt_cv_c_wint_t], 5986 [AC_COMPILE_IFELSE( 5987 [AC_LANG_PROGRAM( 5988 [[ 5989/* Tru64 with Desktop Toolkit C has a bug: <stdio.h> must be included before 5990 <wchar.h>. 5991 BSD/OS 4.0.1 has a bug: <stddef.h>, <stdio.h> and <time.h> must be included 5992 before <wchar.h>. */ 5993#include <stddef.h> 5994#include <stdio.h> 5995#include <time.h> 5996#include <wchar.h> 5997 wint_t foo = (wchar_t)'\0';]], 5998 [[]])], 5999 [gt_cv_c_wint_t=yes], 6000 [gt_cv_c_wint_t=no])]) 6001 if test $gt_cv_c_wint_t = yes; then 6002 AC_DEFINE([HAVE_WINT_T], [1], [Define if you have the 'wint_t' type.]) 6003 fi 6004]) 6005m4trace:m4/xsize.m4:7: -1- AC_DEFUN([gl_XSIZE], [ 6006 dnl Prerequisites of lib/xsize.h. 6007 AC_REQUIRE([gl_SIZE_MAX]) 6008 AC_CHECK_HEADERS([stdint.h]) 6009]) 6010m4trace:acinclude.m4:8: -1- AC_DEFUN([libiberty_NEED_DECLARATION], [AC_MSG_CHECKING([whether $1 must be declared]) 6011AC_CACHE_VAL(libiberty_cv_decl_needed_$1, 6012[AC_TRY_COMPILE([ 6013#include "confdefs.h" 6014#include <stdio.h> 6015#ifdef HAVE_STRING_H 6016#include <string.h> 6017#else 6018#ifdef HAVE_STRINGS_H 6019#include <strings.h> 6020#endif 6021#endif 6022#ifdef HAVE_STDLIB_H 6023#include <stdlib.h> 6024#endif 6025#ifdef HAVE_UNISTD_H 6026#include <unistd.h> 6027#endif], 6028[char *(*pfn) = (char *(*)) $1], 6029libiberty_cv_decl_needed_$1=no, libiberty_cv_decl_needed_$1=yes)]) 6030AC_MSG_RESULT($libiberty_cv_decl_needed_$1) 6031if test $libiberty_cv_decl_needed_$1 = yes; then 6032 AC_DEFINE([NEED_DECLARATION_]translit($1, [a-z], [A-Z]), 1, 6033 [Define if $1 is not declared in system header files.]) 6034fi 6035]) 6036m4trace:acinclude.m4:55: -1- AC_DEFUN([adl_NORMALIZE_PATH], [case ":[$]$1:" in 6037# change empty paths to '.' 6038 ::) $1='.' ;; 6039# strip trailing slashes 6040 :*[[\\/]]:) $1=`echo "[$]$1" | sed 's,[[\\/]]*[$],,'` ;; 6041 :*:) ;; 6042esac 6043# squeze repeated slashes 6044case ifelse($2,,"[$]$1",$2) in 6045# if the path contains any backslashes, turn slashes into backslashes 6046 *\\*) $1=`echo "[$]$1" | sed 's,\(.\)[[\\/]][[\\/]]*,\1\\\\\\\\,g'` ;; 6047# if the path contains slashes, also turn backslashes into slashes 6048 *) $1=`echo "[$]$1" | sed 's,\(.\)[[\\/]][[\\/]]*,\1/,g'` ;; 6049esac]) 6050m4trace:acinclude.m4:72: -1- AC_DEFUN([adl_COMPUTE_RELATIVE_PATHS], [for _lcl_i in $1; do 6051 _lcl_from=\[$]`echo "[$]_lcl_i" | sed 's,:.*$,,'` 6052 _lcl_to=\[$]`echo "[$]_lcl_i" | sed 's,^[[^:]]*:,,' | sed 's,:[[^:]]*$,,'` 6053 _lcl_result_var=`echo "[$]_lcl_i" | sed 's,^.*:,,'` 6054 adl_RECURSIVE_EVAL([[$]_lcl_from], [_lcl_from]) 6055 adl_RECURSIVE_EVAL([[$]_lcl_to], [_lcl_to]) 6056 _lcl_notation="$_lcl_from$_lcl_to" 6057 adl_NORMALIZE_PATH([_lcl_from],['/']) 6058 adl_NORMALIZE_PATH([_lcl_to],['/']) 6059 adl_COMPUTE_RELATIVE_PATH([_lcl_from], [_lcl_to], [_lcl_result_tmp]) 6060 adl_NORMALIZE_PATH([_lcl_result_tmp],["[$]_lcl_notation"]) 6061 eval $_lcl_result_var='[$]_lcl_result_tmp' 6062done]) 6063m4trace:acinclude.m4:107: -1- AC_DEFUN([adl_COMPUTE_RELATIVE_PATH], [adl_COMPUTE_COMMON_PATH([$1], [$2], [_lcl_common_prefix]) 6064adl_COMPUTE_BACK_PATH([$1], [_lcl_common_prefix], [_lcl_first_rel]) 6065adl_COMPUTE_SUFFIX_PATH([$2], [_lcl_common_prefix], [_lcl_second_suffix]) 6066$3="[$]_lcl_first_rel[$]_lcl_second_suffix"]) 6067m4trace:acinclude.m4:123: -1- AC_DEFUN([adl_COMPUTE_COMMON_PATH], [$3='' 6068_lcl_second_prefix_match='' 6069while test "[$]_lcl_second_prefix_match" != 0; do 6070 _lcl_first_prefix=`expr "x[$]$1" : "x\([$]$3/*[[^/]]*\)"` 6071 _lcl_second_prefix_match=`expr "x[$]$2" : "x[$]_lcl_first_prefix"` 6072 if test "[$]_lcl_second_prefix_match" != 0; then 6073 if test "[$]_lcl_first_prefix" != "[$]$3"; then 6074 $3="[$]_lcl_first_prefix" 6075 else 6076 _lcl_second_prefix_match=0 6077 fi 6078 fi 6079done]) 6080m4trace:acinclude.m4:149: -1- AC_DEFUN([adl_COMPUTE_SUFFIX_PATH], [$3=`expr "x[$]$1" : "x[$]$2/*\(.*\)"`]) 6081m4trace:acinclude.m4:165: -1- AC_DEFUN([adl_COMPUTE_BACK_PATH], [adl_COMPUTE_SUFFIX_PATH([$1], [$2], [_lcl_first_suffix]) 6082$3='' 6083_lcl_tmp='xxx' 6084while test "[$]_lcl_tmp" != ''; do 6085 _lcl_tmp=`expr "x[$]_lcl_first_suffix" : "x[[^/]]*/*\(.*\)"` 6086 if test "[$]_lcl_first_suffix" != ''; then 6087 _lcl_first_suffix="[$]_lcl_tmp" 6088 $3="../[$]$3" 6089 fi 6090done]) 6091m4trace:acinclude.m4:183: -1- AC_DEFUN([adl_RECURSIVE_EVAL], [_lcl_receval="$1" 6092$2=`(test "x$prefix" = xNONE && prefix="$ac_default_prefix" 6093 test "x$exec_prefix" = xNONE && exec_prefix="${prefix}" 6094 _lcl_receval_old='' 6095 while test "[$]_lcl_receval_old" != "[$]_lcl_receval"; do 6096 _lcl_receval_old="[$]_lcl_receval" 6097 eval _lcl_receval="\"[$]_lcl_receval\"" 6098 done 6099 echo "[$]_lcl_receval")`]) 6100m4trace:configure.ac:25: -1- m4_pattern_forbid([^_?A[CHUM]_]) 6101m4trace:configure.ac:25: -1- m4_pattern_forbid([_AC_]) 6102m4trace:configure.ac:25: -1- m4_pattern_forbid([^LIBOBJS$], [do not use LIBOBJS directly, use AC_LIBOBJ (see section `AC_LIBOBJ vs LIBOBJS']) 6103m4trace:configure.ac:25: -1- m4_pattern_allow([^AS_FLAGS$]) 6104m4trace:configure.ac:25: -1- m4_pattern_forbid([^_?m4_]) 6105m4trace:configure.ac:25: -1- m4_pattern_forbid([^dnl$]) 6106m4trace:configure.ac:25: -1- m4_pattern_forbid([^_?AS_]) 6107m4trace:configure.ac:25: -1- m4_pattern_allow([^SHELL$]) 6108m4trace:configure.ac:25: -1- m4_pattern_allow([^PATH_SEPARATOR$]) 6109m4trace:configure.ac:25: -1- m4_pattern_allow([^PACKAGE_NAME$]) 6110m4trace:configure.ac:25: -1- m4_pattern_allow([^PACKAGE_TARNAME$]) 6111m4trace:configure.ac:25: -1- m4_pattern_allow([^PACKAGE_VERSION$]) 6112m4trace:configure.ac:25: -1- m4_pattern_allow([^PACKAGE_STRING$]) 6113m4trace:configure.ac:25: -1- m4_pattern_allow([^PACKAGE_BUGREPORT$]) 6114m4trace:configure.ac:25: -1- m4_pattern_allow([^PACKAGE_URL$]) 6115m4trace:configure.ac:25: -1- m4_pattern_allow([^exec_prefix$]) 6116m4trace:configure.ac:25: -1- m4_pattern_allow([^prefix$]) 6117m4trace:configure.ac:25: -1- m4_pattern_allow([^program_transform_name$]) 6118m4trace:configure.ac:25: -1- m4_pattern_allow([^bindir$]) 6119m4trace:configure.ac:25: -1- m4_pattern_allow([^sbindir$]) 6120m4trace:configure.ac:25: -1- m4_pattern_allow([^libexecdir$]) 6121m4trace:configure.ac:25: -1- m4_pattern_allow([^datarootdir$]) 6122m4trace:configure.ac:25: -1- m4_pattern_allow([^datadir$]) 6123m4trace:configure.ac:25: -1- m4_pattern_allow([^sysconfdir$]) 6124m4trace:configure.ac:25: -1- m4_pattern_allow([^sharedstatedir$]) 6125m4trace:configure.ac:25: -1- m4_pattern_allow([^localstatedir$]) 6126m4trace:configure.ac:25: -1- m4_pattern_allow([^runstatedir$]) 6127m4trace:configure.ac:25: -1- m4_pattern_allow([^includedir$]) 6128m4trace:configure.ac:25: -1- m4_pattern_allow([^oldincludedir$]) 6129m4trace:configure.ac:25: -1- m4_pattern_allow([^docdir$]) 6130m4trace:configure.ac:25: -1- m4_pattern_allow([^infodir$]) 6131m4trace:configure.ac:25: -1- m4_pattern_allow([^htmldir$]) 6132m4trace:configure.ac:25: -1- m4_pattern_allow([^dvidir$]) 6133m4trace:configure.ac:25: -1- m4_pattern_allow([^pdfdir$]) 6134m4trace:configure.ac:25: -1- m4_pattern_allow([^psdir$]) 6135m4trace:configure.ac:25: -1- m4_pattern_allow([^libdir$]) 6136m4trace:configure.ac:25: -1- m4_pattern_allow([^localedir$]) 6137m4trace:configure.ac:25: -1- m4_pattern_allow([^mandir$]) 6138m4trace:configure.ac:25: -1- m4_pattern_allow([^PACKAGE_NAME$]) 6139m4trace:configure.ac:25: -1- m4_pattern_allow([^PACKAGE_TARNAME$]) 6140m4trace:configure.ac:25: -1- m4_pattern_allow([^PACKAGE_VERSION$]) 6141m4trace:configure.ac:25: -1- m4_pattern_allow([^PACKAGE_STRING$]) 6142m4trace:configure.ac:25: -1- m4_pattern_allow([^PACKAGE_BUGREPORT$]) 6143m4trace:configure.ac:25: -1- m4_pattern_allow([^PACKAGE_URL$]) 6144m4trace:configure.ac:25: -1- m4_pattern_allow([^DEFS$]) 6145m4trace:configure.ac:25: -1- m4_pattern_allow([^ECHO_C$]) 6146m4trace:configure.ac:25: -1- m4_pattern_allow([^ECHO_N$]) 6147m4trace:configure.ac:25: -1- m4_pattern_allow([^ECHO_T$]) 6148m4trace:configure.ac:25: -1- m4_pattern_allow([^LIBS$]) 6149m4trace:configure.ac:25: -1- m4_pattern_allow([^build_alias$]) 6150m4trace:configure.ac:25: -1- m4_pattern_allow([^host_alias$]) 6151m4trace:configure.ac:25: -1- m4_pattern_allow([^target_alias$]) 6152m4trace:configure.ac:28: -1- AM_INIT_AUTOMAKE([1.9]) 6153m4trace:configure.ac:28: -1- m4_pattern_allow([^AM_[A-Z]+FLAGS$]) 6154m4trace:configure.ac:28: -1- AM_SET_CURRENT_AUTOMAKE_VERSION 6155m4trace:configure.ac:28: -1- AM_AUTOMAKE_VERSION([1.15]) 6156m4trace:configure.ac:28: -1- _AM_AUTOCONF_VERSION([2.69]) 6157m4trace:configure.ac:28: -1- m4_pattern_allow([^INSTALL_PROGRAM$]) 6158m4trace:configure.ac:28: -1- m4_pattern_allow([^INSTALL_SCRIPT$]) 6159m4trace:configure.ac:28: -1- m4_pattern_allow([^INSTALL_DATA$]) 6160m4trace:configure.ac:28: -1- m4_pattern_allow([^am__isrc$]) 6161m4trace:configure.ac:28: -1- _AM_SUBST_NOTMAKE([am__isrc]) 6162m4trace:configure.ac:28: -1- m4_pattern_allow([^CYGPATH_W$]) 6163m4trace:configure.ac:28: -1- _AM_SET_OPTIONS([1.9]) 6164m4trace:configure.ac:28: -1- _AM_SET_OPTION([1.9]) 6165m4trace:configure.ac:28: -2- _AM_MANGLE_OPTION([1.9]) 6166m4trace:configure.ac:28: -1- m4_pattern_allow([^PACKAGE$]) 6167m4trace:configure.ac:28: -1- m4_pattern_allow([^VERSION$]) 6168m4trace:configure.ac:28: -1- _AM_IF_OPTION([no-define], [], [AC_DEFINE_UNQUOTED([PACKAGE], ["$PACKAGE"], [Name of package]) 6169 AC_DEFINE_UNQUOTED([VERSION], ["$VERSION"], [Version number of package])]) 6170m4trace:configure.ac:28: -2- _AM_MANGLE_OPTION([no-define]) 6171m4trace:configure.ac:28: -1- m4_pattern_allow([^PACKAGE$]) 6172m4trace:configure.ac:28: -1- m4_pattern_allow([^VERSION$]) 6173m4trace:configure.ac:28: -1- AM_SANITY_CHECK 6174m4trace:configure.ac:28: -1- AM_MISSING_PROG([ACLOCAL], [aclocal-${am__api_version}]) 6175m4trace:configure.ac:28: -1- AM_MISSING_HAS_RUN 6176m4trace:configure.ac:28: -1- AM_AUX_DIR_EXPAND 6177m4trace:configure.ac:28: -1- m4_pattern_allow([^ACLOCAL$]) 6178m4trace:configure.ac:28: -1- AM_MISSING_PROG([AUTOCONF], [autoconf]) 6179m4trace:configure.ac:28: -1- m4_pattern_allow([^AUTOCONF$]) 6180m4trace:configure.ac:28: -1- AM_MISSING_PROG([AUTOMAKE], [automake-${am__api_version}]) 6181m4trace:configure.ac:28: -1- m4_pattern_allow([^AUTOMAKE$]) 6182m4trace:configure.ac:28: -1- AM_MISSING_PROG([AUTOHEADER], [autoheader]) 6183m4trace:configure.ac:28: -1- m4_pattern_allow([^AUTOHEADER$]) 6184m4trace:configure.ac:28: -1- AM_MISSING_PROG([MAKEINFO], [makeinfo]) 6185m4trace:configure.ac:28: -1- m4_pattern_allow([^MAKEINFO$]) 6186m4trace:configure.ac:28: -1- AM_PROG_INSTALL_SH 6187m4trace:configure.ac:28: -1- m4_pattern_allow([^install_sh$]) 6188m4trace:configure.ac:28: -1- AM_PROG_INSTALL_STRIP 6189m4trace:configure.ac:28: -1- m4_pattern_allow([^STRIP$]) 6190m4trace:configure.ac:28: -1- m4_pattern_allow([^INSTALL_STRIP_PROGRAM$]) 6191m4trace:configure.ac:28: -1- m4_pattern_allow([^MKDIR_P$]) 6192m4trace:configure.ac:28: -1- m4_pattern_allow([^mkdir_p$]) 6193m4trace:configure.ac:28: -1- m4_pattern_allow([^AWK$]) 6194m4trace:configure.ac:28: -1- m4_pattern_allow([^SET_MAKE$]) 6195m4trace:configure.ac:28: -1- AM_SET_LEADING_DOT 6196m4trace:configure.ac:28: -1- m4_pattern_allow([^am__leading_dot$]) 6197m4trace:configure.ac:28: -1- _AM_IF_OPTION([tar-ustar], [_AM_PROG_TAR([ustar])], [_AM_IF_OPTION([tar-pax], [_AM_PROG_TAR([pax])], 6198 [_AM_PROG_TAR([v7])])]) 6199m4trace:configure.ac:28: -2- _AM_MANGLE_OPTION([tar-ustar]) 6200m4trace:configure.ac:28: -1- _AM_IF_OPTION([tar-pax], [_AM_PROG_TAR([pax])], [_AM_PROG_TAR([v7])]) 6201m4trace:configure.ac:28: -2- _AM_MANGLE_OPTION([tar-pax]) 6202m4trace:configure.ac:28: -1- _AM_PROG_TAR([v7]) 6203m4trace:configure.ac:28: -1- m4_pattern_allow([^AMTAR$]) 6204m4trace:configure.ac:28: -1- m4_pattern_allow([^am__tar$]) 6205m4trace:configure.ac:28: -1- m4_pattern_allow([^am__untar$]) 6206m4trace:configure.ac:28: -1- _AM_IF_OPTION([no-dependencies], [], [AC_PROVIDE_IFELSE([AC_PROG_CC], 6207 [_AM_DEPENDENCIES([CC])], 6208 [m4_define([AC_PROG_CC], 6209 m4_defn([AC_PROG_CC])[_AM_DEPENDENCIES([CC])])])dnl 6210AC_PROVIDE_IFELSE([AC_PROG_CXX], 6211 [_AM_DEPENDENCIES([CXX])], 6212 [m4_define([AC_PROG_CXX], 6213 m4_defn([AC_PROG_CXX])[_AM_DEPENDENCIES([CXX])])])dnl 6214AC_PROVIDE_IFELSE([AC_PROG_OBJC], 6215 [_AM_DEPENDENCIES([OBJC])], 6216 [m4_define([AC_PROG_OBJC], 6217 m4_defn([AC_PROG_OBJC])[_AM_DEPENDENCIES([OBJC])])])dnl 6218AC_PROVIDE_IFELSE([AC_PROG_OBJCXX], 6219 [_AM_DEPENDENCIES([OBJCXX])], 6220 [m4_define([AC_PROG_OBJCXX], 6221 m4_defn([AC_PROG_OBJCXX])[_AM_DEPENDENCIES([OBJCXX])])])dnl 6222]) 6223m4trace:configure.ac:28: -2- _AM_MANGLE_OPTION([no-dependencies]) 6224m4trace:configure.ac:28: -1- AM_SILENT_RULES 6225m4trace:configure.ac:28: -1- m4_pattern_allow([^AM_V$]) 6226m4trace:configure.ac:28: -1- AM_SUBST_NOTMAKE([AM_V]) 6227m4trace:configure.ac:28: -1- _AM_SUBST_NOTMAKE([AM_V]) 6228m4trace:configure.ac:28: -1- m4_pattern_allow([^AM_DEFAULT_V$]) 6229m4trace:configure.ac:28: -1- AM_SUBST_NOTMAKE([AM_DEFAULT_V]) 6230m4trace:configure.ac:28: -1- _AM_SUBST_NOTMAKE([AM_DEFAULT_V]) 6231m4trace:configure.ac:28: -1- m4_pattern_allow([^AM_DEFAULT_VERBOSITY$]) 6232m4trace:configure.ac:28: -1- m4_pattern_allow([^AM_BACKSLASH$]) 6233m4trace:configure.ac:28: -1- _AM_SUBST_NOTMAKE([AM_BACKSLASH]) 6234m4trace:configure.ac:29: -1- _m4_warn([obsolete], [The macro `AC_GNU_SOURCE' is obsolete. 6235You should run autoupdate.], [../../lib/autoconf/specific.m4:314: AC_GNU_SOURCE is expanded from... 6236configure.ac:29: the top level]) 6237m4trace:configure.ac:29: -1- m4_pattern_allow([^CC$]) 6238m4trace:configure.ac:29: -1- m4_pattern_allow([^CFLAGS$]) 6239m4trace:configure.ac:29: -1- m4_pattern_allow([^LDFLAGS$]) 6240m4trace:configure.ac:29: -1- m4_pattern_allow([^LIBS$]) 6241m4trace:configure.ac:29: -1- m4_pattern_allow([^CPPFLAGS$]) 6242m4trace:configure.ac:29: -1- m4_pattern_allow([^CC$]) 6243m4trace:configure.ac:29: -1- m4_pattern_allow([^CC$]) 6244m4trace:configure.ac:29: -1- m4_pattern_allow([^CC$]) 6245m4trace:configure.ac:29: -1- m4_pattern_allow([^CC$]) 6246m4trace:configure.ac:29: -1- m4_pattern_allow([^ac_ct_CC$]) 6247m4trace:configure.ac:29: -1- m4_pattern_allow([^EXEEXT$]) 6248m4trace:configure.ac:29: -1- m4_pattern_allow([^OBJEXT$]) 6249m4trace:configure.ac:29: -1- _AM_PROG_CC_C_O 6250m4trace:configure.ac:29: -1- AM_RUN_LOG([$CC -c conftest.$ac_ext -o conftest2.$ac_objext]) 6251m4trace:configure.ac:29: -1- _AM_DEPENDENCIES([CC]) 6252m4trace:configure.ac:29: -1- AM_SET_DEPDIR 6253m4trace:configure.ac:29: -1- m4_pattern_allow([^DEPDIR$]) 6254m4trace:configure.ac:29: -1- AM_OUTPUT_DEPENDENCY_COMMANDS 6255m4trace:configure.ac:29: -1- AM_MAKE_INCLUDE 6256m4trace:configure.ac:29: -1- m4_pattern_allow([^am__include$]) 6257m4trace:configure.ac:29: -1- m4_pattern_allow([^am__quote$]) 6258m4trace:configure.ac:29: -1- AM_DEP_TRACK 6259m4trace:configure.ac:29: -1- AM_CONDITIONAL([AMDEP], [test "x$enable_dependency_tracking" != xno]) 6260m4trace:configure.ac:29: -1- m4_pattern_allow([^AMDEP_TRUE$]) 6261m4trace:configure.ac:29: -1- m4_pattern_allow([^AMDEP_FALSE$]) 6262m4trace:configure.ac:29: -1- _AM_SUBST_NOTMAKE([AMDEP_TRUE]) 6263m4trace:configure.ac:29: -1- _AM_SUBST_NOTMAKE([AMDEP_FALSE]) 6264m4trace:configure.ac:29: -1- m4_pattern_allow([^AMDEPBACKSLASH$]) 6265m4trace:configure.ac:29: -1- _AM_SUBST_NOTMAKE([AMDEPBACKSLASH]) 6266m4trace:configure.ac:29: -1- m4_pattern_allow([^am__nodep$]) 6267m4trace:configure.ac:29: -1- _AM_SUBST_NOTMAKE([am__nodep]) 6268m4trace:configure.ac:29: -1- m4_pattern_allow([^CCDEPMODE$]) 6269m4trace:configure.ac:29: -1- AM_CONDITIONAL([am__fastdepCC], [ 6270 test "x$enable_dependency_tracking" != xno \ 6271 && test "$am_cv_CC_dependencies_compiler_type" = gcc3]) 6272m4trace:configure.ac:29: -1- m4_pattern_allow([^am__fastdepCC_TRUE$]) 6273m4trace:configure.ac:29: -1- m4_pattern_allow([^am__fastdepCC_FALSE$]) 6274m4trace:configure.ac:29: -1- _AM_SUBST_NOTMAKE([am__fastdepCC_TRUE]) 6275m4trace:configure.ac:29: -1- _AM_SUBST_NOTMAKE([am__fastdepCC_FALSE]) 6276m4trace:configure.ac:29: -1- m4_pattern_allow([^CPP$]) 6277m4trace:configure.ac:29: -1- m4_pattern_allow([^CPPFLAGS$]) 6278m4trace:configure.ac:29: -1- m4_pattern_allow([^CPP$]) 6279m4trace:configure.ac:29: -1- AC_PROG_EGREP 6280m4trace:configure.ac:29: -1- m4_pattern_allow([^GREP$]) 6281m4trace:configure.ac:29: -1- m4_pattern_allow([^EGREP$]) 6282m4trace:configure.ac:29: -1- m4_pattern_allow([^STDC_HEADERS$]) 6283m4trace:configure.ac:29: -1- m4_pattern_allow([^_POSIX_SOURCE$]) 6284m4trace:configure.ac:29: -1- m4_pattern_allow([^_POSIX_1_SOURCE$]) 6285m4trace:configure.ac:29: -1- m4_pattern_allow([^_MINIX$]) 6286m4trace:configure.ac:29: -1- m4_pattern_allow([^__EXTENSIONS__$]) 6287m4trace:configure.ac:29: -1- m4_pattern_allow([^_ALL_SOURCE$]) 6288m4trace:configure.ac:29: -1- m4_pattern_allow([^_GNU_SOURCE$]) 6289m4trace:configure.ac:29: -1- m4_pattern_allow([^_POSIX_PTHREAD_SEMANTICS$]) 6290m4trace:configure.ac:29: -1- m4_pattern_allow([^_TANDEM_SOURCE$]) 6291m4trace:configure.ac:30: -1- AC_CONFIG_MACRO_DIR([m4]) 6292m4trace:configure.ac:33: -1- AM_CONFIG_HEADER([config.h]) 6293m4trace:configure.ac:33: -1- _m4_warn([obsolete], ['AM_CONFIG_HEADER': this macro is obsolete. 6294You should use the 'AC_CONFIG_HEADERS' macro instead.], [/usr/share/aclocal-1.15/obsolete.m4:11: AM_CONFIG_HEADER is expanded from... 6295configure.ac:33: the top level]) 6296m4trace:configure.ac:36: -1- AM_MAINTAINER_MODE 6297m4trace:configure.ac:36: -1- AM_CONDITIONAL([MAINTAINER_MODE], [test $USE_MAINTAINER_MODE = yes]) 6298m4trace:configure.ac:36: -1- m4_pattern_allow([^MAINTAINER_MODE_TRUE$]) 6299m4trace:configure.ac:36: -1- m4_pattern_allow([^MAINTAINER_MODE_FALSE$]) 6300m4trace:configure.ac:36: -1- _AM_SUBST_NOTMAKE([MAINTAINER_MODE_TRUE]) 6301m4trace:configure.ac:36: -1- _AM_SUBST_NOTMAKE([MAINTAINER_MODE_FALSE]) 6302m4trace:configure.ac:36: -1- m4_pattern_allow([^MAINT$]) 6303m4trace:configure.ac:39: -1- AM_NLS 6304m4trace:configure.ac:39: -1- m4_pattern_allow([^USE_NLS$]) 6305m4trace:configure.ac:40: -1- AM_GNU_GETTEXT 6306m4trace:configure.ac:40: -1- _m4_warn([obsolete], [Use of AM_GNU_GETTEXT without [external] argument is deprecated.], [m4/gettext.m4:57: AM_GNU_GETTEXT is expanded from... 6307configure.ac:40: the top level]) 6308m4trace:configure.ac:40: -1- AM_GNU_GETTEXT_NEED([]) 6309m4trace:configure.ac:40: -1- AM_PO_SUBDIRS 6310m4trace:configure.ac:40: -1- m4_pattern_allow([^SED$]) 6311m4trace:configure.ac:40: -1- m4_pattern_allow([^GETTEXT_MACRO_VERSION$]) 6312m4trace:configure.ac:40: -1- AM_PATH_PROG_WITH_TEST([MSGFMT], [msgfmt], [$ac_dir/$ac_word --statistics /dev/null >&5 2>&1 && 6313 (if $ac_dir/$ac_word --statistics /dev/null 2>&1 >/dev/null | grep usage >/dev/null; then exit 1; else exit 0; fi)], [:]) 6314m4trace:configure.ac:40: -1- m4_pattern_allow([^MSGFMT$]) 6315m4trace:configure.ac:40: -1- m4_pattern_allow([^GMSGFMT$]) 6316m4trace:configure.ac:40: -1- m4_pattern_allow([^MSGFMT_015$]) 6317m4trace:configure.ac:40: -1- m4_pattern_allow([^GMSGFMT_015$]) 6318m4trace:configure.ac:40: -1- AM_PATH_PROG_WITH_TEST([XGETTEXT], [xgettext], [$ac_dir/$ac_word --omit-header --copyright-holder= --msgid-bugs-address= /dev/null >&5 2>&1 && 6319 (if $ac_dir/$ac_word --omit-header --copyright-holder= --msgid-bugs-address= /dev/null 2>&1 >/dev/null | grep usage >/dev/null; then exit 1; else exit 0; fi)], [:]) 6320m4trace:configure.ac:40: -1- m4_pattern_allow([^XGETTEXT$]) 6321m4trace:configure.ac:40: -1- m4_pattern_allow([^XGETTEXT_015$]) 6322m4trace:configure.ac:40: -1- AM_PATH_PROG_WITH_TEST([MSGMERGE], [msgmerge], [$ac_dir/$ac_word --update -q /dev/null /dev/null >&5 2>&1], [:]) 6323m4trace:configure.ac:40: -1- m4_pattern_allow([^MSGMERGE$]) 6324m4trace:configure.ac:40: -1- m4_pattern_allow([^localedir$]) 6325m4trace:configure.ac:40: -1- m4_pattern_allow([^XGETTEXT_EXTRA_OPTIONS$]) 6326m4trace:configure.ac:40: -1- AM_INTL_SUBDIR 6327m4trace:configure.ac:40: -1- m4_pattern_allow([^build$]) 6328m4trace:configure.ac:40: -1- m4_pattern_allow([^build_cpu$]) 6329m4trace:configure.ac:40: -1- m4_pattern_allow([^build_vendor$]) 6330m4trace:configure.ac:40: -1- m4_pattern_allow([^build_os$]) 6331m4trace:configure.ac:40: -1- m4_pattern_allow([^host$]) 6332m4trace:configure.ac:40: -1- m4_pattern_allow([^host_cpu$]) 6333m4trace:configure.ac:40: -1- m4_pattern_allow([^host_vendor$]) 6334m4trace:configure.ac:40: -1- m4_pattern_allow([^host_os$]) 6335m4trace:configure.ac:40: -1- gt_GLIBC2 6336m4trace:configure.ac:40: -1- m4_pattern_allow([^GLIBC2$]) 6337m4trace:configure.ac:40: -1- m4_pattern_allow([^RANLIB$]) 6338m4trace:configure.ac:40: -1- gl_VISIBILITY 6339m4trace:configure.ac:40: -1- m4_pattern_allow([^CFLAG_VISIBILITY$]) 6340m4trace:configure.ac:40: -1- m4_pattern_allow([^HAVE_VISIBILITY$]) 6341m4trace:configure.ac:40: -1- m4_pattern_allow([^HAVE_VISIBILITY$]) 6342m4trace:configure.ac:40: -1- gt_INTL_SUBDIR_CORE 6343m4trace:configure.ac:40: -1- m4_pattern_allow([^size_t$]) 6344m4trace:configure.ac:40: -1- gl_AC_HEADER_STDINT_H 6345m4trace:configure.ac:40: -1- m4_pattern_allow([^HAVE_STDINT_H_WITH_UINTMAX$]) 6346m4trace:configure.ac:40: -1- m4_pattern_allow([^HAVE_ALLOCA_H$]) 6347m4trace:configure.ac:40: -1- m4_pattern_allow([^HAVE_ALLOCA$]) 6348m4trace:configure.ac:40: -1- m4_pattern_allow([^ALLOCA$]) 6349m4trace:configure.ac:40: -1- m4_pattern_allow([^C_ALLOCA$]) 6350m4trace:configure.ac:40: -1- m4_pattern_allow([^CRAY_STACKSEG_END$]) 6351m4trace:configure.ac:40: -1- m4_pattern_allow([^STACK_DIRECTION$]) 6352m4trace:configure.ac:40: -1- AC_DEFUN([_AC_Header_stdlib_h], [m4_divert_text([INIT_PREPARE], [AS_VAR_APPEND([ac_header_list], [" stdlib.h"])]) 6353_AC_HEADERS_EXPANSION]) 6354m4trace:configure.ac:40: -1- AC_DEFUN([_AC_Header_unistd_h], [m4_divert_text([INIT_PREPARE], [AS_VAR_APPEND([ac_header_list], [" unistd.h"])]) 6355_AC_HEADERS_EXPANSION]) 6356m4trace:configure.ac:40: -1- AC_DEFUN([_AC_Header_sys_param_h], [m4_divert_text([INIT_PREPARE], [AS_VAR_APPEND([ac_header_list], [" sys/param.h"])]) 6357_AC_HEADERS_EXPANSION]) 6358m4trace:configure.ac:40: -1- m4_pattern_allow([^HAVE_GETPAGESIZE$]) 6359m4trace:configure.ac:40: -1- m4_pattern_allow([^HAVE_MMAP$]) 6360m4trace:configure.ac:40: -1- gt_INTDIV0 6361m4trace:configure.ac:40: -1- m4_pattern_allow([^INTDIV0_RAISES_SIGFPE$]) 6362m4trace:configure.ac:40: -1- gl_AC_TYPE_UINTMAX_T 6363m4trace:configure.ac:40: -1- gl_AC_HEADER_INTTYPES_H 6364m4trace:configure.ac:40: -1- m4_pattern_allow([^HAVE_INTTYPES_H_WITH_UINTMAX$]) 6365m4trace:configure.ac:40: -1- AC_TYPE_UNSIGNED_LONG_LONG_INT 6366m4trace:configure.ac:40: -1- _AC_TYPE_LONG_LONG_SNIPPET 6367m4trace:configure.ac:40: -1- m4_pattern_allow([^HAVE_UNSIGNED_LONG_LONG_INT$]) 6368m4trace:configure.ac:40: -1- m4_pattern_allow([^uintmax_t$]) 6369m4trace:configure.ac:40: -1- m4_pattern_allow([^HAVE_UINTMAX_T$]) 6370m4trace:configure.ac:40: -1- gt_INTTYPES_PRI 6371m4trace:configure.ac:40: -1- m4_pattern_allow([^HAVE_INTTYPES_H$]) 6372m4trace:configure.ac:40: -1- m4_pattern_allow([^PRI_MACROS_BROKEN$]) 6373m4trace:configure.ac:40: -1- m4_pattern_allow([^PRI_MACROS_BROKEN$]) 6374m4trace:configure.ac:40: -1- gl_LOCK 6375m4trace:configure.ac:40: -1- gl_THREADLIB 6376m4trace:configure.ac:40: -1- gl_THREADLIB_EARLY 6377m4trace:configure.ac:40: -1- gl_THREADLIB_EARLY_BODY 6378m4trace:configure.ac:40: -2- _m4_warn([obsolete], [The macro `AC_HELP_STRING' is obsolete. 6379You should run autoupdate.], [../../lib/autoconf/general.m4:207: AC_HELP_STRING is expanded from... 6380m4/threadlib.m4:36: gl_THREADLIB_EARLY_BODY is expanded from... 6381m4/threadlib.m4:29: gl_THREADLIB_EARLY is expanded from... 6382m4/threadlib.m4:302: gl_THREADLIB is expanded from... 6383m4/lock.m4:9: gl_LOCK is expanded from... 6384m4/intl.m4:210: gt_INTL_SUBDIR_CORE is expanded from... 6385m4/intl.m4:25: AM_INTL_SUBDIR is expanded from... 6386m4/gettext.m4:57: AM_GNU_GETTEXT is expanded from... 6387configure.ac:40: the top level]) 6388m4trace:configure.ac:40: -2- _m4_warn([obsolete], [The macro `AC_HELP_STRING' is obsolete. 6389You should run autoupdate.], [../../lib/autoconf/general.m4:207: AC_HELP_STRING is expanded from... 6390m4/threadlib.m4:36: gl_THREADLIB_EARLY_BODY is expanded from... 6391m4/threadlib.m4:29: gl_THREADLIB_EARLY is expanded from... 6392m4/threadlib.m4:302: gl_THREADLIB is expanded from... 6393m4/lock.m4:9: gl_LOCK is expanded from... 6394m4/intl.m4:210: gt_INTL_SUBDIR_CORE is expanded from... 6395m4/intl.m4:25: AM_INTL_SUBDIR is expanded from... 6396m4/gettext.m4:57: AM_GNU_GETTEXT is expanded from... 6397configure.ac:40: the top level]) 6398m4trace:configure.ac:40: -1- gl_THREADLIB_BODY 6399m4trace:configure.ac:40: -1- m4_pattern_allow([^PTHREAD_IN_USE_DETECTION_HARD$]) 6400m4trace:configure.ac:40: -1- m4_pattern_allow([^USE_POSIX_THREADS$]) 6401m4trace:configure.ac:40: -1- m4_pattern_allow([^USE_POSIX_THREADS_WEAK$]) 6402m4trace:configure.ac:40: -1- m4_pattern_allow([^USE_SOLARIS_THREADS$]) 6403m4trace:configure.ac:40: -1- m4_pattern_allow([^USE_SOLARIS_THREADS_WEAK$]) 6404m4trace:configure.ac:40: -1- AC_LIB_LINKFLAGS([pth]) 6405m4trace:configure.ac:40: -1- AC_LIB_PREPARE_PREFIX 6406m4trace:configure.ac:40: -1- AC_LIB_RPATH 6407m4trace:configure.ac:40: -1- AC_LIB_PROG_LD 6408m4trace:configure.ac:40: -1- AC_LIB_PROG_LD_GNU 6409m4trace:configure.ac:40: -1- AC_LIB_LINKFLAGS_BODY([pth], []) 6410m4trace:configure.ac:40: -1- AC_LIB_PREPARE_MULTILIB 6411m4trace:configure.ac:40: -1- AC_LIB_WITH_FINAL_PREFIX([ 6412 eval additional_includedir=\"$includedir\" 6413 eval additional_libdir=\"$libdir\" 6414 ]) 6415m4trace:configure.ac:40: -1- AC_LIB_WITH_FINAL_PREFIX([ 6416 eval additional_includedir=\"$includedir\" 6417 eval additional_libdir=\"$libdir\" 6418 ]) 6419m4trace:configure.ac:40: -1- AC_LIB_WITH_FINAL_PREFIX([eval x=\"$x\"]) 6420m4trace:configure.ac:40: -1- AC_LIB_WITH_FINAL_PREFIX([eval x=\"$x\"]) 6421m4trace:configure.ac:40: -1- AC_LIB_WITH_FINAL_PREFIX([eval x=\"$x\"]) 6422m4trace:configure.ac:40: -1- AC_LIB_WITH_FINAL_PREFIX([eval x=\"$x\"]) 6423m4trace:configure.ac:40: -1- AC_LIB_WITH_FINAL_PREFIX([eval x=\"$x\"]) 6424m4trace:configure.ac:40: -1- AC_LIB_APPENDTOVAR([CPPFLAGS], [$INCPTH]) 6425m4trace:configure.ac:40: -1- AC_LIB_WITH_FINAL_PREFIX([eval x=\"$x\"]) 6426m4trace:configure.ac:40: -1- m4_pattern_allow([^LIBPTH$]) 6427m4trace:configure.ac:40: -1- m4_pattern_allow([^LTLIBPTH$]) 6428m4trace:configure.ac:40: -1- m4_pattern_allow([^LIBPTH_PREFIX$]) 6429m4trace:configure.ac:40: -1- m4_pattern_allow([^USE_PTH_THREADS$]) 6430m4trace:configure.ac:40: -1- m4_pattern_allow([^USE_PTH_THREADS_WEAK$]) 6431m4trace:configure.ac:40: -1- m4_pattern_allow([^USE_WINDOWS_THREADS$]) 6432m4trace:configure.ac:40: -1- m4_pattern_allow([^LIBTHREAD$]) 6433m4trace:configure.ac:40: -1- m4_pattern_allow([^LTLIBTHREAD$]) 6434m4trace:configure.ac:40: -1- m4_pattern_allow([^LIBMULTITHREAD$]) 6435m4trace:configure.ac:40: -1- m4_pattern_allow([^LTLIBMULTITHREAD$]) 6436m4trace:configure.ac:40: -1- m4_pattern_allow([^HAVE_PTHREAD_RWLOCK$]) 6437m4trace:configure.ac:40: -1- m4_pattern_allow([^HAVE_PTHREAD_MUTEX_RECURSIVE$]) 6438m4trace:configure.ac:40: -1- gl_PREREQ_LOCK 6439m4trace:configure.ac:40: -1- m4_pattern_allow([^HAVE_BUILTIN_EXPECT$]) 6440m4trace:configure.ac:40: -1- m4_pattern_allow([^HAVE_DECL_FEOF_UNLOCKED$]) 6441m4trace:configure.ac:40: -1- m4_pattern_allow([^HAVE_DECL_FGETS_UNLOCKED$]) 6442m4trace:configure.ac:40: -1- AM_ICONV 6443m4trace:configure.ac:40: -1- AM_ICONV_LINK 6444m4trace:configure.ac:40: -1- AM_ICONV_LINKFLAGS_BODY 6445m4trace:configure.ac:40: -1- AC_LIB_LINKFLAGS_BODY([iconv]) 6446m4trace:configure.ac:40: -1- AC_LIB_WITH_FINAL_PREFIX([ 6447 eval additional_includedir=\"$includedir\" 6448 eval additional_libdir=\"$libdir\" 6449 ]) 6450m4trace:configure.ac:40: -1- AC_LIB_WITH_FINAL_PREFIX([ 6451 eval additional_includedir=\"$includedir\" 6452 eval additional_libdir=\"$libdir\" 6453 ]) 6454m4trace:configure.ac:40: -1- AC_LIB_WITH_FINAL_PREFIX([eval x=\"$x\"]) 6455m4trace:configure.ac:40: -1- AC_LIB_WITH_FINAL_PREFIX([eval x=\"$x\"]) 6456m4trace:configure.ac:40: -1- AC_LIB_WITH_FINAL_PREFIX([eval x=\"$x\"]) 6457m4trace:configure.ac:40: -1- AC_LIB_WITH_FINAL_PREFIX([eval x=\"$x\"]) 6458m4trace:configure.ac:40: -1- AC_LIB_WITH_FINAL_PREFIX([eval x=\"$x\"]) 6459m4trace:configure.ac:40: -1- AC_LIB_APPENDTOVAR([CPPFLAGS], [$INCICONV]) 6460m4trace:configure.ac:40: -1- AC_LIB_WITH_FINAL_PREFIX([eval x=\"$x\"]) 6461m4trace:configure.ac:40: -1- m4_pattern_allow([^HAVE_ICONV$]) 6462m4trace:configure.ac:40: -1- m4_pattern_allow([^LIBICONV$]) 6463m4trace:configure.ac:40: -1- m4_pattern_allow([^LTLIBICONV$]) 6464m4trace:configure.ac:40: -1- m4_pattern_allow([^ICONV_CONST$]) 6465m4trace:configure.ac:40: -1- m4_pattern_allow([^INTLBISON$]) 6466m4trace:configure.ac:40: -1- AC_TYPE_LONG_LONG_INT 6467m4trace:configure.ac:40: -1- m4_pattern_allow([^HAVE_LONG_LONG_INT$]) 6468m4trace:configure.ac:40: -1- gt_TYPE_WCHAR_T 6469m4trace:configure.ac:40: -1- m4_pattern_allow([^HAVE_WCHAR_T$]) 6470m4trace:configure.ac:40: -1- gt_TYPE_WINT_T 6471m4trace:configure.ac:40: -1- m4_pattern_allow([^HAVE_WINT_T$]) 6472m4trace:configure.ac:40: -1- gt_TYPE_INTMAX_T 6473m4trace:configure.ac:40: -1- m4_pattern_allow([^HAVE_INTMAX_T$]) 6474m4trace:configure.ac:40: -1- gt_PRINTF_POSIX 6475m4trace:configure.ac:40: -1- m4_pattern_allow([^HAVE_POSIX_PRINTF$]) 6476m4trace:configure.ac:40: -1- gl_GLIBC21 6477m4trace:configure.ac:40: -1- m4_pattern_allow([^GLIBC21$]) 6478m4trace:configure.ac:40: -1- gl_XSIZE 6479m4trace:configure.ac:40: -1- gl_SIZE_MAX 6480m4trace:configure.ac:40: -1- m4_pattern_allow([^HAVE_STDINT_H$]) 6481m4trace:configure.ac:40: -1- AC_COMPUTE_INT([size_t_bits_minus_1], [sizeof (size_t) * CHAR_BIT - 1], [#include <stddef.h> 6482#include <limits.h>], [size_t_bits_minus_1=]) 6483m4trace:configure.ac:40: -1- AC_COMPUTE_INT([fits_in_uint], [sizeof (size_t) <= sizeof (unsigned int)], [#include <stddef.h>], [fits_in_uint=]) 6484m4trace:configure.ac:40: -1- m4_pattern_allow([^SIZE_MAX$]) 6485m4trace:configure.ac:40: -1- m4_pattern_allow([^HAVE_STDINT_H$]) 6486m4trace:configure.ac:40: -1- gl_FCNTL_O_FLAGS 6487m4trace:configure.ac:40: -1- AC_DEFUN([_AC_Header_unistd_h], [m4_divert_text([INIT_PREPARE], [AS_VAR_APPEND([ac_header_list], [" unistd.h"])]) 6488_AC_HEADERS_EXPANSION]) 6489m4trace:configure.ac:40: -1- AC_DEFUN([_AC_Func_symlink], [m4_divert_text([INIT_PREPARE], [AS_VAR_APPEND([ac_func_list], [" symlink"])]) 6490_AC_FUNCS_EXPANSION]) 6491m4trace:configure.ac:40: -1- m4_pattern_allow([^HAVE_WORKING_O_NOATIME$]) 6492m4trace:configure.ac:40: -1- m4_pattern_allow([^HAVE_WORKING_O_NOFOLLOW$]) 6493m4trace:configure.ac:40: -1- gt_INTL_MACOSX 6494m4trace:configure.ac:40: -1- m4_pattern_allow([^HAVE_CFPREFERENCESCOPYAPPVALUE$]) 6495m4trace:configure.ac:40: -1- m4_pattern_allow([^HAVE_CFLOCALECOPYCURRENT$]) 6496m4trace:configure.ac:40: -1- m4_pattern_allow([^INTL_MACOSX_LIBS$]) 6497m4trace:configure.ac:40: -1- gl_EXTERN_INLINE 6498m4trace:configure.ac:40: -1- m4_pattern_allow([^INTL_DEFAULT_VERBOSITY$]) 6499m4trace:configure.ac:40: -1- m4_pattern_allow([^ptrdiff_t$]) 6500m4trace:configure.ac:40: -1- m4_pattern_allow([^HAVE_DECL__SNPRINTF$]) 6501m4trace:configure.ac:40: -1- m4_pattern_allow([^HAVE_DECL__SNWPRINTF$]) 6502m4trace:configure.ac:40: -1- m4_pattern_allow([^HAVE_DECL_GETC_UNLOCKED$]) 6503m4trace:configure.ac:40: -1- m4_pattern_allow([^HAVE_POSIX_PRINTF$]) 6504m4trace:configure.ac:40: -1- m4_pattern_allow([^HAVE_ASPRINTF$]) 6505m4trace:configure.ac:40: -1- m4_pattern_allow([^HAVE_SNPRINTF$]) 6506m4trace:configure.ac:40: -1- m4_pattern_allow([^HAVE_NEWLOCALE$]) 6507m4trace:configure.ac:40: -1- m4_pattern_allow([^HAVE_WPRINTF$]) 6508m4trace:configure.ac:40: -1- AM_LANGINFO_CODESET 6509m4trace:configure.ac:40: -1- m4_pattern_allow([^HAVE_LANGINFO_CODESET$]) 6510m4trace:configure.ac:40: -1- gt_LC_MESSAGES 6511m4trace:configure.ac:40: -1- m4_pattern_allow([^HAVE_LC_MESSAGES$]) 6512m4trace:configure.ac:40: -1- m4_pattern_allow([^WOE32DLL$]) 6513m4trace:configure.ac:40: -1- m4_pattern_allow([^WOE32$]) 6514m4trace:configure.ac:40: -1- m4_pattern_allow([^WINDRES$]) 6515m4trace:configure.ac:40: -1- m4_pattern_allow([^LTLIBC$]) 6516m4trace:configure.ac:40: -1- gt_INTL_MACOSX 6517m4trace:configure.ac:40: -1- m4_pattern_allow([^HAVE_CFPREFERENCESCOPYAPPVALUE$]) 6518m4trace:configure.ac:40: -1- m4_pattern_allow([^HAVE_CFLOCALECOPYCURRENT$]) 6519m4trace:configure.ac:40: -1- m4_pattern_allow([^INTL_MACOSX_LIBS$]) 6520m4trace:configure.ac:40: -1- AC_LIB_LINKFLAGS_BODY([intl]) 6521m4trace:configure.ac:40: -1- AC_LIB_WITH_FINAL_PREFIX([ 6522 eval additional_includedir=\"$includedir\" 6523 eval additional_libdir=\"$libdir\" 6524 ]) 6525m4trace:configure.ac:40: -1- AC_LIB_WITH_FINAL_PREFIX([ 6526 eval additional_includedir=\"$includedir\" 6527 eval additional_libdir=\"$libdir\" 6528 ]) 6529m4trace:configure.ac:40: -1- AC_LIB_WITH_FINAL_PREFIX([eval x=\"$x\"]) 6530m4trace:configure.ac:40: -1- AC_LIB_WITH_FINAL_PREFIX([eval x=\"$x\"]) 6531m4trace:configure.ac:40: -1- AC_LIB_WITH_FINAL_PREFIX([eval x=\"$x\"]) 6532m4trace:configure.ac:40: -1- AC_LIB_WITH_FINAL_PREFIX([eval x=\"$x\"]) 6533m4trace:configure.ac:40: -1- AC_LIB_WITH_FINAL_PREFIX([eval x=\"$x\"]) 6534m4trace:configure.ac:40: -1- m4_pattern_allow([^ENABLE_NLS$]) 6535m4trace:configure.ac:40: -1- AC_LIB_APPENDTOVAR([CPPFLAGS], [$INCINTL]) 6536m4trace:configure.ac:40: -1- AC_LIB_WITH_FINAL_PREFIX([eval x=\"$x\"]) 6537m4trace:configure.ac:40: -1- m4_pattern_allow([^HAVE_GETTEXT$]) 6538m4trace:configure.ac:40: -1- m4_pattern_allow([^HAVE_DCGETTEXT$]) 6539m4trace:configure.ac:40: -1- m4_pattern_allow([^BUILD_INCLUDED_LIBINTL$]) 6540m4trace:configure.ac:40: -1- m4_pattern_allow([^USE_INCLUDED_LIBINTL$]) 6541m4trace:configure.ac:40: -1- m4_pattern_allow([^CATOBJEXT$]) 6542m4trace:configure.ac:40: -1- m4_pattern_allow([^DATADIRNAME$]) 6543m4trace:configure.ac:40: -1- m4_pattern_allow([^INSTOBJEXT$]) 6544m4trace:configure.ac:40: -1- m4_pattern_allow([^GENCAT$]) 6545m4trace:configure.ac:40: -1- m4_pattern_allow([^INTLOBJS$]) 6546m4trace:configure.ac:40: -1- m4_pattern_allow([^INTL_LIBTOOL_SUFFIX_PREFIX$]) 6547m4trace:configure.ac:40: -1- m4_pattern_allow([^INTLLIBS$]) 6548m4trace:configure.ac:40: -1- m4_pattern_allow([^LIBINTL$]) 6549m4trace:configure.ac:40: -1- m4_pattern_allow([^LTLIBINTL$]) 6550m4trace:configure.ac:40: -1- m4_pattern_allow([^POSUB$]) 6551m4trace:configure.ac:41: -1- AM_GNU_GETTEXT_VERSION([0.19]) 6552m4trace:configure.ac:45: -1- m4_pattern_allow([^po4a_gettextize$]) 6553m4trace:configure.ac:46: -1- m4_pattern_allow([^po4a_translate$]) 6554m4trace:configure.ac:55: -1- m4_pattern_allow([^onsgmls$]) 6555m4trace:configure.ac:60: -1- m4_pattern_allow([^nsgmls$]) 6556m4trace:configure.ac:70: -1- AM_CONDITIONAL([HAVE_PO4A], [test "x$have_po4a" = "xyes" -a "x$have_onsgmls" = "xyes" -o \ 6557 "x$have_po4a" = "xyes" -a "x$have_nsgmls" = "xyes"]) 6558m4trace:configure.ac:70: -1- m4_pattern_allow([^HAVE_PO4A_TRUE$]) 6559m4trace:configure.ac:70: -1- m4_pattern_allow([^HAVE_PO4A_FALSE$]) 6560m4trace:configure.ac:70: -1- _AM_SUBST_NOTMAKE([HAVE_PO4A_TRUE]) 6561m4trace:configure.ac:70: -1- _AM_SUBST_NOTMAKE([HAVE_PO4A_FALSE]) 6562m4trace:configure.ac:101: -1- m4_pattern_allow([^WIN32$]) 6563m4trace:configure.ac:102: -1- AM_CONDITIONAL([WIN32], [test x$WIN32 = xyes]) 6564m4trace:configure.ac:102: -1- m4_pattern_allow([^WIN32_TRUE$]) 6565m4trace:configure.ac:102: -1- m4_pattern_allow([^WIN32_FALSE$]) 6566m4trace:configure.ac:102: -1- _AM_SUBST_NOTMAKE([WIN32_TRUE]) 6567m4trace:configure.ac:102: -1- _AM_SUBST_NOTMAKE([WIN32_FALSE]) 6568m4trace:configure.ac:113: -1- m4_pattern_allow([^GERBV_DIR_SEPARATOR_C$]) 6569m4trace:configure.ac:114: -1- m4_pattern_allow([^GERBV_DIR_SEPARATOR_S$]) 6570m4trace:configure.ac:115: -1- m4_pattern_allow([^GERBV_PATH_DELIMETER$]) 6571m4trace:configure.ac:139: -1- m4_pattern_allow([^DEBUG$]) 6572m4trace:configure.ac:140: -1- m4_pattern_allow([^GERBV_DEFAULT_BORDER_COEFF$]) 6573m4trace:configure.ac:151: -1- m4_pattern_allow([^GERBV_DEFAULT_UNIT$]) 6574m4trace:configure.ac:153: -1- m4_pattern_allow([^GERBV_DEFAULT_UNIT$]) 6575m4trace:configure.ac:167: -1- AM_SANITY_CHECK 6576m4trace:configure.ac:170: -1- m4_pattern_allow([^CC$]) 6577m4trace:configure.ac:170: -1- m4_pattern_allow([^CFLAGS$]) 6578m4trace:configure.ac:170: -1- m4_pattern_allow([^LDFLAGS$]) 6579m4trace:configure.ac:170: -1- m4_pattern_allow([^LIBS$]) 6580m4trace:configure.ac:170: -1- m4_pattern_allow([^CPPFLAGS$]) 6581m4trace:configure.ac:170: -1- m4_pattern_allow([^CC$]) 6582m4trace:configure.ac:170: -1- m4_pattern_allow([^CC$]) 6583m4trace:configure.ac:170: -1- m4_pattern_allow([^CC$]) 6584m4trace:configure.ac:170: -1- m4_pattern_allow([^CC$]) 6585m4trace:configure.ac:170: -1- m4_pattern_allow([^ac_ct_CC$]) 6586m4trace:configure.ac:170: -1- _AM_PROG_CC_C_O 6587m4trace:configure.ac:170: -1- AM_RUN_LOG([$CC -c conftest.$ac_ext -o conftest2.$ac_objext]) 6588m4trace:configure.ac:170: -1- _AM_DEPENDENCIES([CC]) 6589m4trace:configure.ac:170: -1- m4_pattern_allow([^CCDEPMODE$]) 6590m4trace:configure.ac:170: -1- AM_CONDITIONAL([am__fastdepCC], [ 6591 test "x$enable_dependency_tracking" != xno \ 6592 && test "$am_cv_CC_dependencies_compiler_type" = gcc3]) 6593m4trace:configure.ac:170: -1- m4_pattern_allow([^am__fastdepCC_TRUE$]) 6594m4trace:configure.ac:170: -1- m4_pattern_allow([^am__fastdepCC_FALSE$]) 6595m4trace:configure.ac:170: -1- _AM_SUBST_NOTMAKE([am__fastdepCC_TRUE]) 6596m4trace:configure.ac:170: -1- _AM_SUBST_NOTMAKE([am__fastdepCC_FALSE]) 6597m4trace:configure.ac:173: -1- m4_pattern_allow([^CXX$]) 6598m4trace:configure.ac:173: -1- m4_pattern_allow([^CXXFLAGS$]) 6599m4trace:configure.ac:173: -1- m4_pattern_allow([^LDFLAGS$]) 6600m4trace:configure.ac:173: -1- m4_pattern_allow([^LIBS$]) 6601m4trace:configure.ac:173: -1- m4_pattern_allow([^CPPFLAGS$]) 6602m4trace:configure.ac:173: -1- m4_pattern_allow([^CXX$]) 6603m4trace:configure.ac:173: -1- m4_pattern_allow([^ac_ct_CXX$]) 6604m4trace:configure.ac:173: -1- _AM_DEPENDENCIES([CXX]) 6605m4trace:configure.ac:173: -1- m4_pattern_allow([^CXXDEPMODE$]) 6606m4trace:configure.ac:173: -1- AM_CONDITIONAL([am__fastdepCXX], [ 6607 test "x$enable_dependency_tracking" != xno \ 6608 && test "$am_cv_CXX_dependencies_compiler_type" = gcc3]) 6609m4trace:configure.ac:173: -1- m4_pattern_allow([^am__fastdepCXX_TRUE$]) 6610m4trace:configure.ac:173: -1- m4_pattern_allow([^am__fastdepCXX_FALSE$]) 6611m4trace:configure.ac:173: -1- _AM_SUBST_NOTMAKE([am__fastdepCXX_TRUE]) 6612m4trace:configure.ac:173: -1- _AM_SUBST_NOTMAKE([am__fastdepCXX_FALSE]) 6613m4trace:configure.ac:175: -1- m4_pattern_allow([^SET_MAKE$]) 6614m4trace:configure.ac:177: -1- AC_PROG_LIBTOOL 6615m4trace:configure.ac:177: -1- _m4_warn([obsolete], [The macro `AC_PROG_LIBTOOL' is obsolete. 6616You should run autoupdate.], [m4/libtool.m4:99: AC_PROG_LIBTOOL is expanded from... 6617configure.ac:177: the top level]) 6618m4trace:configure.ac:177: -1- LT_INIT 6619m4trace:configure.ac:177: -1- m4_pattern_forbid([^_?LT_[A-Z_]+$]) 6620m4trace:configure.ac:177: -1- m4_pattern_allow([^(_LT_EOF|LT_DLGLOBAL|LT_DLLAZY_OR_NOW|LT_MULTI_MODULE)$]) 6621m4trace:configure.ac:177: -1- LTOPTIONS_VERSION 6622m4trace:configure.ac:177: -1- LTSUGAR_VERSION 6623m4trace:configure.ac:177: -1- LTVERSION_VERSION 6624m4trace:configure.ac:177: -1- LTOBSOLETE_VERSION 6625m4trace:configure.ac:177: -1- _LT_PROG_LTMAIN 6626m4trace:configure.ac:177: -1- m4_pattern_allow([^LIBTOOL$]) 6627m4trace:configure.ac:177: -1- _LT_PREPARE_SED_QUOTE_VARS 6628m4trace:configure.ac:177: -1- _LT_PROG_ECHO_BACKSLASH 6629m4trace:configure.ac:177: -1- LT_PATH_LD 6630m4trace:configure.ac:177: -1- m4_pattern_allow([^SED$]) 6631m4trace:configure.ac:177: -1- m4_pattern_allow([^FGREP$]) 6632m4trace:configure.ac:177: -1- m4_pattern_allow([^GREP$]) 6633m4trace:configure.ac:177: -1- m4_pattern_allow([^LD$]) 6634m4trace:configure.ac:177: -1- LT_PATH_NM 6635m4trace:configure.ac:177: -1- m4_pattern_allow([^DUMPBIN$]) 6636m4trace:configure.ac:177: -1- m4_pattern_allow([^ac_ct_DUMPBIN$]) 6637m4trace:configure.ac:177: -1- m4_pattern_allow([^DUMPBIN$]) 6638m4trace:configure.ac:177: -1- m4_pattern_allow([^NM$]) 6639m4trace:configure.ac:177: -1- m4_pattern_allow([^LN_S$]) 6640m4trace:configure.ac:177: -1- LT_CMD_MAX_LEN 6641m4trace:configure.ac:177: -1- m4_pattern_allow([^OBJDUMP$]) 6642m4trace:configure.ac:177: -1- m4_pattern_allow([^OBJDUMP$]) 6643m4trace:configure.ac:177: -1- m4_pattern_allow([^DLLTOOL$]) 6644m4trace:configure.ac:177: -1- m4_pattern_allow([^DLLTOOL$]) 6645m4trace:configure.ac:177: -1- m4_pattern_allow([^AR$]) 6646m4trace:configure.ac:177: -1- m4_pattern_allow([^ac_ct_AR$]) 6647m4trace:configure.ac:177: -1- m4_pattern_allow([^STRIP$]) 6648m4trace:configure.ac:177: -1- m4_pattern_allow([^RANLIB$]) 6649m4trace:configure.ac:177: -1- _LT_WITH_SYSROOT 6650m4trace:configure.ac:177: -1- m4_pattern_allow([LT_OBJDIR]) 6651m4trace:configure.ac:177: -1- m4_pattern_allow([^LT_OBJDIR$]) 6652m4trace:configure.ac:177: -1- _LT_CC_BASENAME([$compiler]) 6653m4trace:configure.ac:177: -1- _LT_PATH_TOOL_PREFIX([${ac_tool_prefix}file], [/usr/bin$PATH_SEPARATOR$PATH]) 6654m4trace:configure.ac:177: -1- _LT_PATH_TOOL_PREFIX([file], [/usr/bin$PATH_SEPARATOR$PATH]) 6655m4trace:configure.ac:177: -1- LT_SUPPORTED_TAG([CC]) 6656m4trace:configure.ac:177: -1- _LT_COMPILER_BOILERPLATE 6657m4trace:configure.ac:177: -1- _LT_LINKER_BOILERPLATE 6658m4trace:configure.ac:177: -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"]) 6659m4trace:configure.ac:177: -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 6660 "" | " "*) ;; 6661 *) _LT_TAGVAR(lt_prog_compiler_pic, )=" $_LT_TAGVAR(lt_prog_compiler_pic, )" ;; 6662 esac], [_LT_TAGVAR(lt_prog_compiler_pic, )= 6663 _LT_TAGVAR(lt_prog_compiler_can_build_shared, )=no]) 6664m4trace:configure.ac:177: -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, )=]) 6665m4trace:configure.ac:177: -1- m4_pattern_allow([^MANIFEST_TOOL$]) 6666m4trace:configure.ac:177: -1- _LT_DLL_DEF_P([$export_symbols]) 6667m4trace:configure.ac:177: -1- _LT_DLL_DEF_P([$export_symbols]) 6668m4trace:configure.ac:177: -1- _LT_REQUIRED_DARWIN_CHECKS 6669m4trace:configure.ac:177: -1- m4_pattern_allow([^DSYMUTIL$]) 6670m4trace:configure.ac:177: -1- m4_pattern_allow([^NMEDIT$]) 6671m4trace:configure.ac:177: -1- m4_pattern_allow([^LIPO$]) 6672m4trace:configure.ac:177: -1- m4_pattern_allow([^OTOOL$]) 6673m4trace:configure.ac:177: -1- m4_pattern_allow([^OTOOL64$]) 6674m4trace:configure.ac:177: -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']) 6675m4trace:configure.ac:177: -1- m4_pattern_allow([^LT_SYS_LIBRARY_PATH$]) 6676m4trace:configure.ac:177: -1- LT_SYS_DLOPEN_SELF 6677m4trace:configure.ac:177: -1- m4_pattern_allow([^HAVE_DLFCN_H$]) 6678m4trace:configure.ac:177: -1- LT_LANG([CXX]) 6679m4trace:configure.ac:177: -1- LT_SUPPORTED_TAG([CXX]) 6680m4trace:configure.ac:177: -1- m4_pattern_allow([^CXXCPP$]) 6681m4trace:configure.ac:177: -1- m4_pattern_allow([^CPPFLAGS$]) 6682m4trace:configure.ac:177: -1- m4_pattern_allow([^CXXCPP$]) 6683m4trace:configure.ac:177: -1- _LT_COMPILER_BOILERPLATE 6684m4trace:configure.ac:177: -1- _LT_LINKER_BOILERPLATE 6685m4trace:configure.ac:177: -1- _LT_CC_BASENAME([$compiler]) 6686m4trace:configure.ac:177: -1- LT_PATH_LD 6687m4trace:configure.ac:177: -1- m4_pattern_allow([^LD$]) 6688m4trace:configure.ac:177: -1- _LT_DLL_DEF_P([$export_symbols]) 6689m4trace:configure.ac:177: -1- _LT_DLL_DEF_P([$export_symbols]) 6690m4trace:configure.ac:177: -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 6691 "" | " "*) ;; 6692 *) _LT_TAGVAR(lt_prog_compiler_pic, CXX)=" $_LT_TAGVAR(lt_prog_compiler_pic, CXX)" ;; 6693 esac], [_LT_TAGVAR(lt_prog_compiler_pic, CXX)= 6694 _LT_TAGVAR(lt_prog_compiler_can_build_shared, CXX)=no]) 6695m4trace:configure.ac:177: -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)=]) 6696m4trace:configure.ac:177: -1- m4_pattern_allow([^LT_SYS_LIBRARY_PATH$]) 6697m4trace:configure.ac:180: -1- m4_pattern_allow([^WINDRES$]) 6698m4trace:configure.ac:194: -1- m4_pattern_allow([^IM_ANIMATE$]) 6699m4trace:configure.ac:195: -1- m4_pattern_allow([^IM_COMPARE$]) 6700m4trace:configure.ac:196: -1- m4_pattern_allow([^IM_COMPOSITE$]) 6701m4trace:configure.ac:197: -1- m4_pattern_allow([^IM_CONVERT$]) 6702m4trace:configure.ac:198: -1- m4_pattern_allow([^IM_DISPLAY$]) 6703m4trace:configure.ac:199: -1- m4_pattern_allow([^IM_MONTAGE$]) 6704m4trace:configure.ac:221: -1- AM_CONDITIONAL([HAVE_MAGICK], [test x$have_magick = xyes]) 6705m4trace:configure.ac:221: -1- m4_pattern_allow([^HAVE_MAGICK_TRUE$]) 6706m4trace:configure.ac:221: -1- m4_pattern_allow([^HAVE_MAGICK_FALSE$]) 6707m4trace:configure.ac:221: -1- _AM_SUBST_NOTMAKE([HAVE_MAGICK_TRUE]) 6708m4trace:configure.ac:221: -1- _AM_SUBST_NOTMAKE([HAVE_MAGICK_FALSE]) 6709m4trace:configure.ac:224: -1- m4_pattern_allow([^PKG_CONFIG$]) 6710m4trace:configure.ac:230: -1- GLIB_GSETTINGS 6711m4trace:configure.ac:230: -1- m4_pattern_allow([AM_V_GEN]) 6712m4trace:configure.ac:230: -1- m4_pattern_allow([^GSETTINGS_DISABLE_SCHEMAS_COMPILE$]) 6713m4trace:configure.ac:230: -1- PKG_PROG_PKG_CONFIG([0.16]) 6714m4trace:configure.ac:230: -1- m4_pattern_forbid([^_?PKG_[A-Z_]+$]) 6715m4trace:configure.ac:230: -1- m4_pattern_allow([^PKG_CONFIG(_(PATH|LIBDIR|SYSROOT_DIR|ALLOW_SYSTEM_(CFLAGS|LIBS)))?$]) 6716m4trace:configure.ac:230: -1- m4_pattern_allow([^PKG_CONFIG_(DISABLE_UNINSTALLED|TOP_BUILD_DIR|DEBUG_SPEW)$]) 6717m4trace:configure.ac:230: -1- m4_pattern_allow([^PKG_CONFIG$]) 6718m4trace:configure.ac:230: -1- m4_pattern_allow([^PKG_CONFIG_PATH$]) 6719m4trace:configure.ac:230: -1- m4_pattern_allow([^PKG_CONFIG_LIBDIR$]) 6720m4trace:configure.ac:230: -1- m4_pattern_allow([^PKG_CONFIG$]) 6721m4trace:configure.ac:230: -1- m4_pattern_allow([^gsettingsschemadir$]) 6722m4trace:configure.ac:230: -1- m4_pattern_allow([^GLIB_COMPILE_SCHEMAS$]) 6723m4trace:configure.ac:230: -1- m4_pattern_allow([^GLIB_COMPILE_SCHEMAS$]) 6724m4trace:configure.ac:230: -1- _GSETTINGS_SUBST([GSETTINGS_RULES]) 6725m4trace:configure.ac:230: -1- m4_pattern_allow([^GSETTINGS_RULES$]) 6726m4trace:configure.ac:230: -1- _AM_SUBST_NOTMAKE([GSETTINGS_RULES]) 6727m4trace:configure.ac:242: -1- m4_pattern_allow([^HAVE_LIBM$]) 6728m4trace:configure.ac:245: -1- m4_pattern_allow([^HAVE_LIBDL$]) 6729m4trace:configure.ac:257: -1- PKG_CHECK_MODULES([CAIRO], [cairo >= 1.2.0], [], [AC_MSG_ERROR([ 6730*** Cairo > 1.2.0 required but not found. *** 6731Please review the following errors: 6732$CAIRO_PKG_ERRORS]) 6733]) 6734m4trace:configure.ac:257: -1- m4_pattern_allow([^CAIRO_CFLAGS$]) 6735m4trace:configure.ac:257: -1- m4_pattern_allow([^CAIRO_LIBS$]) 6736m4trace:configure.ac:257: -1- PKG_CHECK_EXISTS([cairo >= 1.2.0], [pkg_cv_[]CAIRO_CFLAGS=`$PKG_CONFIG --[]cflags "cairo >= 1.2.0" 2>/dev/null` 6737 test "x$?" != "x0" && pkg_failed=yes ], [pkg_failed=yes]) 6738m4trace:configure.ac:257: -1- PKG_CHECK_EXISTS([cairo >= 1.2.0], [pkg_cv_[]CAIRO_LIBS=`$PKG_CONFIG --[]libs "cairo >= 1.2.0" 2>/dev/null` 6739 test "x$?" != "x0" && pkg_failed=yes ], [pkg_failed=yes]) 6740m4trace:configure.ac:257: -1- _PKG_SHORT_ERRORS_SUPPORTED 6741m4trace:configure.ac:265: -1- PKG_CHECK_MODULES([GTK], [gtk+-2.0 >= 2.18.0], [], [AC_MSG_ERROR([ 6742*** GTK >= 2.18.0 is required but was not found. Please review 6743the following errors: 6744$GTK_PKG_ERRORS]) 6745]) 6746m4trace:configure.ac:265: -1- m4_pattern_allow([^GTK_CFLAGS$]) 6747m4trace:configure.ac:265: -1- m4_pattern_allow([^GTK_LIBS$]) 6748m4trace:configure.ac:265: -1- PKG_CHECK_EXISTS([gtk+-2.0 >= 2.18.0], [pkg_cv_[]GTK_CFLAGS=`$PKG_CONFIG --[]cflags "gtk+-2.0 >= 2.18.0" 2>/dev/null` 6749 test "x$?" != "x0" && pkg_failed=yes ], [pkg_failed=yes]) 6750m4trace:configure.ac:265: -1- PKG_CHECK_EXISTS([gtk+-2.0 >= 2.18.0], [pkg_cv_[]GTK_LIBS=`$PKG_CONFIG --[]libs "gtk+-2.0 >= 2.18.0" 2>/dev/null` 6751 test "x$?" != "x0" && pkg_failed=yes ], [pkg_failed=yes]) 6752m4trace:configure.ac:265: -1- _PKG_SHORT_ERRORS_SUPPORTED 6753m4trace:configure.ac:282: -1- m4_pattern_allow([^HAVE_LIBDXFLIB$]) 6754m4trace:configure.ac:282: -1- _m4_warn([cross], [AC_RUN_IFELSE called without default to allow cross compiling], [../../lib/autoconf/general.m4:2759: AC_RUN_IFELSE is expanded from... 6755../../lib/m4sugar/m4sh.m4:639: AS_IF is expanded from... 6756../../lib/autoconf/general.m4:1473: AC_ARG_ENABLE is expanded from... 6757configure.ac:282: the top level]) 6758m4trace:configure.ac:316: -1- AM_CONDITIONAL([DXF], [test x$with_dxf = xyes]) 6759m4trace:configure.ac:316: -1- m4_pattern_allow([^DXF_TRUE$]) 6760m4trace:configure.ac:316: -1- m4_pattern_allow([^DXF_FALSE$]) 6761m4trace:configure.ac:316: -1- _AM_SUBST_NOTMAKE([DXF_TRUE]) 6762m4trace:configure.ac:316: -1- _AM_SUBST_NOTMAKE([DXF_FALSE]) 6763m4trace:configure.ac:327: -1- m4_pattern_allow([^HAVE_LIBEFENCE$]) 6764m4trace:configure.ac:352: -1- m4_pattern_allow([^SETENV$]) 6765m4trace:configure.ac:353: -1- m4_pattern_allow([^GTK_UPDATE_ICON_CACHE_BIN$]) 6766m4trace:configure.ac:366: -1- m4_pattern_allow([^XDGDATADIR$]) 6767m4trace:configure.ac:369: -2- _m4_warn([obsolete], [The macro `AC_HELP_STRING' is obsolete. 6768You should run autoupdate.], [../../lib/autoconf/general.m4:207: AC_HELP_STRING is expanded from... 6769configure.ac:369: the top level]) 6770m4trace:configure.ac:373: -1- AM_CONDITIONAL([ENABLE_UPDATE_DESKTOP_DATABASE], [test x$enable_update_desktop_database = xyes]) 6771m4trace:configure.ac:373: -1- m4_pattern_allow([^ENABLE_UPDATE_DESKTOP_DATABASE_TRUE$]) 6772m4trace:configure.ac:373: -1- m4_pattern_allow([^ENABLE_UPDATE_DESKTOP_DATABASE_FALSE$]) 6773m4trace:configure.ac:373: -1- _AM_SUBST_NOTMAKE([ENABLE_UPDATE_DESKTOP_DATABASE_TRUE]) 6774m4trace:configure.ac:373: -1- _AM_SUBST_NOTMAKE([ENABLE_UPDATE_DESKTOP_DATABASE_FALSE]) 6775m4trace:configure.ac:376: -1- m4_pattern_allow([^UPDATE_DESKTOP_DATABASE$]) 6776m4trace:configure.ac:387: -1- m4_pattern_allow([^HAVE_GETOPT_LONG$]) 6777m4trace:configure.ac:388: -1- m4_pattern_allow([^HAVE_STRLWR$]) 6778m4trace:configure.ac:392: -1- libiberty_NEED_DECLARATION([canonicalize_file_name]) 6779m4trace:configure.ac:392: -1- _m4_warn([obsolete], [The macro `AC_TRY_COMPILE' is obsolete. 6780You should run autoupdate.], [../../lib/autoconf/general.m4:2625: AC_TRY_COMPILE is expanded from... 6781../../lib/m4sugar/m4sh.m4:639: AS_IF is expanded from... 6782../../lib/autoconf/general.m4:2042: AC_CACHE_VAL is expanded from... 6783acinclude.m4:8: libiberty_NEED_DECLARATION is expanded from... 6784configure.ac:392: the top level]) 6785m4trace:configure.ac:392: -1- m4_pattern_allow([^NEED_DECLARATION_CANONICALIZE_FILE_NAME$]) 6786m4trace:configure.ac:405: -1- m4_pattern_allow([^STANDALONE$]) 6787m4trace:configure.ac:406: -1- m4_pattern_allow([^USE_DL$]) 6788m4trace:configure.ac:407: -1- m4_pattern_allow([^SUN_DL$]) 6789m4trace:configure.ac:408: -1- m4_pattern_allow([^USE_MATH$]) 6790m4trace:configure.ac:409: -1- m4_pattern_allow([^USE_ASCII_NAMES$]) 6791m4trace:configure.ac:410: -1- m4_pattern_allow([^USE_COLON_HOOKS$]) 6792m4trace:configure.ac:411: -1- m4_pattern_allow([^USE_STRING_HOOKS$]) 6793m4trace:configure.ac:412: -1- m4_pattern_allow([^USE_INTERFACE$]) 6794m4trace:configure.ac:431: -1- adl_COMPUTE_RELATIVE_PATHS([bindir:datadir:bindir_to_datadir]) 6795m4trace:configure.ac:431: -1- adl_RECURSIVE_EVAL([[$]_lcl_from], [_lcl_from]) 6796m4trace:configure.ac:431: -1- adl_RECURSIVE_EVAL([[$]_lcl_to], [_lcl_to]) 6797m4trace:configure.ac:431: -1- adl_NORMALIZE_PATH([_lcl_from], ['/']) 6798m4trace:configure.ac:431: -1- adl_NORMALIZE_PATH([_lcl_to], ['/']) 6799m4trace:configure.ac:431: -1- adl_COMPUTE_RELATIVE_PATH([_lcl_from], [_lcl_to], [_lcl_result_tmp]) 6800m4trace:configure.ac:431: -1- adl_COMPUTE_COMMON_PATH([_lcl_from], [_lcl_to], [_lcl_common_prefix]) 6801m4trace:configure.ac:431: -1- adl_COMPUTE_BACK_PATH([_lcl_from], [_lcl_common_prefix], [_lcl_first_rel]) 6802m4trace:configure.ac:431: -1- adl_COMPUTE_SUFFIX_PATH([_lcl_from], [_lcl_common_prefix], [_lcl_first_suffix]) 6803m4trace:configure.ac:431: -1- adl_COMPUTE_SUFFIX_PATH([_lcl_to], [_lcl_common_prefix], [_lcl_second_suffix]) 6804m4trace:configure.ac:431: -1- adl_NORMALIZE_PATH([_lcl_result_tmp], ["[$]_lcl_notation"]) 6805m4trace:configure.ac:432: -1- adl_NORMALIZE_PATH([bindir_to_datadir], [$GERBV_DIR_SEPARATOR_S]) 6806m4trace:configure.ac:434: -1- m4_pattern_allow([^BINDIR_TO_DATADIR$]) 6807m4trace:configure.ac:438: -1- adl_COMPUTE_RELATIVE_PATHS([bindir:PKGDATADIR:bindir_to_pkgdatadir]) 6808m4trace:configure.ac:438: -1- adl_RECURSIVE_EVAL([[$]_lcl_from], [_lcl_from]) 6809m4trace:configure.ac:438: -1- adl_RECURSIVE_EVAL([[$]_lcl_to], [_lcl_to]) 6810m4trace:configure.ac:438: -1- adl_NORMALIZE_PATH([_lcl_from], ['/']) 6811m4trace:configure.ac:438: -1- adl_NORMALIZE_PATH([_lcl_to], ['/']) 6812m4trace:configure.ac:438: -1- adl_COMPUTE_RELATIVE_PATH([_lcl_from], [_lcl_to], [_lcl_result_tmp]) 6813m4trace:configure.ac:438: -1- adl_COMPUTE_COMMON_PATH([_lcl_from], [_lcl_to], [_lcl_common_prefix]) 6814m4trace:configure.ac:438: -1- adl_COMPUTE_BACK_PATH([_lcl_from], [_lcl_common_prefix], [_lcl_first_rel]) 6815m4trace:configure.ac:438: -1- adl_COMPUTE_SUFFIX_PATH([_lcl_from], [_lcl_common_prefix], [_lcl_first_suffix]) 6816m4trace:configure.ac:438: -1- adl_COMPUTE_SUFFIX_PATH([_lcl_to], [_lcl_common_prefix], [_lcl_second_suffix]) 6817m4trace:configure.ac:438: -1- adl_NORMALIZE_PATH([_lcl_result_tmp], ["[$]_lcl_notation"]) 6818m4trace:configure.ac:439: -1- adl_NORMALIZE_PATH([bindir_to_pkgdatadir], [$GERBV_DIR_SEPARATOR_S]) 6819m4trace:configure.ac:441: -1- m4_pattern_allow([^BINDIR_TO_PKGDATADIR$]) 6820m4trace:configure.ac:444: -1- adl_COMPUTE_RELATIVE_PATHS([bindir:exec_prefix:bindir_to_execprefix]) 6821m4trace:configure.ac:444: -1- adl_RECURSIVE_EVAL([[$]_lcl_from], [_lcl_from]) 6822m4trace:configure.ac:444: -1- adl_RECURSIVE_EVAL([[$]_lcl_to], [_lcl_to]) 6823m4trace:configure.ac:444: -1- adl_NORMALIZE_PATH([_lcl_from], ['/']) 6824m4trace:configure.ac:444: -1- adl_NORMALIZE_PATH([_lcl_to], ['/']) 6825m4trace:configure.ac:444: -1- adl_COMPUTE_RELATIVE_PATH([_lcl_from], [_lcl_to], [_lcl_result_tmp]) 6826m4trace:configure.ac:444: -1- adl_COMPUTE_COMMON_PATH([_lcl_from], [_lcl_to], [_lcl_common_prefix]) 6827m4trace:configure.ac:444: -1- adl_COMPUTE_BACK_PATH([_lcl_from], [_lcl_common_prefix], [_lcl_first_rel]) 6828m4trace:configure.ac:444: -1- adl_COMPUTE_SUFFIX_PATH([_lcl_from], [_lcl_common_prefix], [_lcl_first_suffix]) 6829m4trace:configure.ac:444: -1- adl_COMPUTE_SUFFIX_PATH([_lcl_to], [_lcl_common_prefix], [_lcl_second_suffix]) 6830m4trace:configure.ac:444: -1- adl_NORMALIZE_PATH([_lcl_result_tmp], ["[$]_lcl_notation"]) 6831m4trace:configure.ac:445: -1- adl_NORMALIZE_PATH([bindir_to_execprefix], [$GERBV_DIR_SEPARATOR_S]) 6832m4trace:configure.ac:447: -1- m4_pattern_allow([^BINDIR_TO_EXECPREFIX$]) 6833m4trace:configure.ac:454: -1- _m4_warn([obsolete], [AC_OUTPUT should be used without arguments. 6834You should run autoupdate.], []) 6835m4trace:configure.ac:454: -1- m4_pattern_allow([^LIB@&t@OBJS$]) 6836m4trace:configure.ac:454: -1- m4_pattern_allow([^LTLIBOBJS$]) 6837m4trace:configure.ac:454: -1- AM_CONDITIONAL([am__EXEEXT], [test -n "$EXEEXT"]) 6838m4trace:configure.ac:454: -1- m4_pattern_allow([^am__EXEEXT_TRUE$]) 6839m4trace:configure.ac:454: -1- m4_pattern_allow([^am__EXEEXT_FALSE$]) 6840m4trace:configure.ac:454: -1- _AM_SUBST_NOTMAKE([am__EXEEXT_TRUE]) 6841m4trace:configure.ac:454: -1- _AM_SUBST_NOTMAKE([am__EXEEXT_FALSE]) 6842m4trace:configure.ac:454: -1- _AC_AM_CONFIG_HEADER_HOOK(["$ac_file"]) 6843m4trace:configure.ac:454: -1- _AM_OUTPUT_DEPENDENCY_COMMANDS 6844m4trace:configure.ac:454: -1- _LT_PROG_LTMAIN 6845