1m4trace:/usr/share/aclocal/argz.m4:12: -1- AC_DEFUN([gl_FUNC_ARGZ], [gl_PREREQ_ARGZ 2 3AC_CHECK_HEADERS([argz.h], [], [], [AC_INCLUDES_DEFAULT]) 4 5AC_CHECK_TYPES([error_t], 6 [], 7 [AC_DEFINE([error_t], [int], 8 [Define to a type to use for `error_t' if it is not otherwise available.]) 9 AC_DEFINE([__error_t_defined], [1], [Define so that glibc/gnulib argp.h 10 does not typedef error_t.])], 11 [#if defined(HAVE_ARGZ_H) 12# include <argz.h> 13#endif]) 14 15ARGZ_H= 16AC_CHECK_FUNCS([argz_add argz_append argz_count argz_create_sep argz_insert \ 17 argz_next argz_stringify], [], [ARGZ_H=argz.h; AC_LIBOBJ([argz])]) 18 19dnl if have system argz functions, allow forced use of 20dnl libltdl-supplied implementation (and default to do so 21dnl on "known bad" systems). Could use a runtime check, but 22dnl (a) detecting malloc issues is notoriously unreliable 23dnl (b) only known system that declares argz functions, 24dnl provides them, yet they are broken, is cygwin 25dnl releases prior to 16-Mar-2007 (1.5.24 and earlier) 26dnl So, it's more straightforward simply to special case 27dnl this for known bad systems. 28AS_IF([test -z "$ARGZ_H"], 29 [AC_CACHE_CHECK( 30 [if argz actually works], 31 [lt_cv_sys_argz_works], 32 [[case $host_os in #( 33 *cygwin*) 34 lt_cv_sys_argz_works=no 35 if test "$cross_compiling" != no; then 36 lt_cv_sys_argz_works="guessing no" 37 else 38 lt_sed_extract_leading_digits='s/^\([0-9\.]*\).*/\1/' 39 save_IFS=$IFS 40 IFS=-. 41 set x `uname -r | sed -e "$lt_sed_extract_leading_digits"` 42 IFS=$save_IFS 43 lt_os_major=${2-0} 44 lt_os_minor=${3-0} 45 lt_os_micro=${4-0} 46 if test "$lt_os_major" -gt 1 \ 47 || { test "$lt_os_major" -eq 1 \ 48 && { test "$lt_os_minor" -gt 5 \ 49 || { test "$lt_os_minor" -eq 5 \ 50 && test "$lt_os_micro" -gt 24; }; }; }; then 51 lt_cv_sys_argz_works=yes 52 fi 53 fi 54 ;; #( 55 *) lt_cv_sys_argz_works=yes ;; 56 esac]]) 57 AS_IF([test "$lt_cv_sys_argz_works" = yes], 58 [AC_DEFINE([HAVE_WORKING_ARGZ], 1, 59 [This value is set to 1 to indicate that the system argz facility works])], 60 [ARGZ_H=argz.h 61 AC_LIBOBJ([argz])])]) 62 63AC_SUBST([ARGZ_H]) 64]) 65m4trace:/usr/share/aclocal/argz.m4:79: -1- AC_DEFUN([gl_PREREQ_ARGZ], [:]) 66m4trace:/usr/share/aclocal/ltdl.m4:16: -1- AC_DEFUN([LT_CONFIG_LTDL_DIR], [AC_BEFORE([$0], [LTDL_INIT]) 67_$0($*) 68]) 69m4trace:/usr/share/aclocal/ltdl.m4:68: -1- AC_DEFUN([LTDL_CONVENIENCE], [AC_BEFORE([$0], [LTDL_INIT])dnl 70dnl Although the argument is deprecated and no longer documented, 71dnl LTDL_CONVENIENCE used to take a DIRECTORY orgument, if we have one 72dnl here make sure it is the same as any other declaration of libltdl's 73dnl location! This also ensures lt_ltdl_dir is set when configure.ac is 74dnl not yet using an explicit LT_CONFIG_LTDL_DIR. 75m4_ifval([$1], [_LT_CONFIG_LTDL_DIR([$1])])dnl 76_$0() 77]) 78m4trace:/usr/share/aclocal/ltdl.m4:81: -1- AU_DEFUN([AC_LIBLTDL_CONVENIENCE], [_LT_CONFIG_LTDL_DIR([m4_default([$1], [libltdl])]) 79_LTDL_CONVENIENCE]) 80m4trace:/usr/share/aclocal/ltdl.m4:81: -1- AC_DEFUN([AC_LIBLTDL_CONVENIENCE], [AC_DIAGNOSE([obsolete], [The macro `AC_LIBLTDL_CONVENIENCE' is obsolete. 81You should run autoupdate.])dnl 82_LT_CONFIG_LTDL_DIR([m4_default([$1], [libltdl])]) 83_LTDL_CONVENIENCE]) 84m4trace:/usr/share/aclocal/ltdl.m4:124: -1- AC_DEFUN([LTDL_INSTALLABLE], [AC_BEFORE([$0], [LTDL_INIT])dnl 85dnl Although the argument is deprecated and no longer documented, 86dnl LTDL_INSTALLABLE used to take a DIRECTORY orgument, if we have one 87dnl here make sure it is the same as any other declaration of libltdl's 88dnl location! This also ensures lt_ltdl_dir is set when configure.ac is 89dnl not yet using an explicit LT_CONFIG_LTDL_DIR. 90m4_ifval([$1], [_LT_CONFIG_LTDL_DIR([$1])])dnl 91_$0() 92]) 93m4trace:/usr/share/aclocal/ltdl.m4:137: -1- AU_DEFUN([AC_LIBLTDL_INSTALLABLE], [_LT_CONFIG_LTDL_DIR([m4_default([$1], [libltdl])]) 94_LTDL_INSTALLABLE]) 95m4trace:/usr/share/aclocal/ltdl.m4:137: -1- AC_DEFUN([AC_LIBLTDL_INSTALLABLE], [AC_DIAGNOSE([obsolete], [The macro `AC_LIBLTDL_INSTALLABLE' is obsolete. 96You should run autoupdate.])dnl 97_LT_CONFIG_LTDL_DIR([m4_default([$1], [libltdl])]) 98_LTDL_INSTALLABLE]) 99m4trace:/usr/share/aclocal/ltdl.m4:213: -1- AC_DEFUN([_LT_LIBOBJ], [ 100 m4_pattern_allow([^_LT_LIBOBJS$]) 101 _LT_LIBOBJS="$_LT_LIBOBJS $1.$ac_objext" 102]) 103m4trace:/usr/share/aclocal/ltdl.m4:226: -1- AC_DEFUN([LTDL_INIT], [dnl Parse OPTIONS 104_LT_SET_OPTIONS([$0], [$1]) 105 106dnl We need to keep our own list of libobjs separate from our parent project, 107dnl and the easiest way to do that is redefine the AC_LIBOBJs macro while 108dnl we look for our own LIBOBJs. 109m4_pushdef([AC_LIBOBJ], m4_defn([_LT_LIBOBJ])) 110m4_pushdef([AC_LIBSOURCES]) 111 112dnl If not otherwise defined, default to the 1.5.x compatible subproject mode: 113m4_if(_LTDL_MODE, [], 114 [m4_define([_LTDL_MODE], m4_default([$2], [subproject])) 115 m4_if([-1], [m4_bregexp(_LTDL_MODE, [\(subproject\|\(non\)?recursive\)])], 116 [m4_fatal([unknown libltdl mode: ]_LTDL_MODE)])]) 117 118AC_ARG_WITH([included_ltdl], 119 [AS_HELP_STRING([--with-included-ltdl], 120 [use the GNU ltdl sources included here])]) 121 122if test "x$with_included_ltdl" != xyes; then 123 # We are not being forced to use the included libltdl sources, so 124 # decide whether there is a useful installed version we can use. 125 AC_CHECK_HEADER([ltdl.h], 126 [AC_CHECK_DECL([lt_dlinterface_register], 127 [AC_CHECK_LIB([ltdl], [lt_dladvise_preload], 128 [with_included_ltdl=no], 129 [with_included_ltdl=yes])], 130 [with_included_ltdl=yes], 131 [AC_INCLUDES_DEFAULT 132 #include <ltdl.h>])], 133 [with_included_ltdl=yes], 134 [AC_INCLUDES_DEFAULT] 135 ) 136fi 137 138dnl If neither LT_CONFIG_LTDL_DIR, LTDL_CONVENIENCE nor LTDL_INSTALLABLE 139dnl was called yet, then for old times' sake, we assume libltdl is in an 140dnl eponymous directory: 141AC_PROVIDE_IFELSE([LT_CONFIG_LTDL_DIR], [], [_LT_CONFIG_LTDL_DIR([libltdl])]) 142 143AC_ARG_WITH([ltdl_include], 144 [AS_HELP_STRING([--with-ltdl-include=DIR], 145 [use the ltdl headers installed in DIR])]) 146 147if test -n "$with_ltdl_include"; then 148 if test -f "$with_ltdl_include/ltdl.h"; then : 149 else 150 AC_MSG_ERROR([invalid ltdl include directory: `$with_ltdl_include']) 151 fi 152else 153 with_ltdl_include=no 154fi 155 156AC_ARG_WITH([ltdl_lib], 157 [AS_HELP_STRING([--with-ltdl-lib=DIR], 158 [use the libltdl.la installed in DIR])]) 159 160if test -n "$with_ltdl_lib"; then 161 if test -f "$with_ltdl_lib/libltdl.la"; then : 162 else 163 AC_MSG_ERROR([invalid ltdl library directory: `$with_ltdl_lib']) 164 fi 165else 166 with_ltdl_lib=no 167fi 168 169case ,$with_included_ltdl,$with_ltdl_include,$with_ltdl_lib, in 170 ,yes,no,no,) 171 m4_case(m4_default(_LTDL_TYPE, [convenience]), 172 [convenience], [_LTDL_CONVENIENCE], 173 [installable], [_LTDL_INSTALLABLE], 174 [m4_fatal([unknown libltdl build type: ]_LTDL_TYPE)]) 175 ;; 176 ,no,no,no,) 177 # If the included ltdl is not to be used, then use the 178 # preinstalled libltdl we found. 179 AC_DEFINE([HAVE_LTDL], [1], 180 [Define this if a modern libltdl is already installed]) 181 LIBLTDL=-lltdl 182 LTDLDEPS= 183 LTDLINCL= 184 ;; 185 ,no*,no,*) 186 AC_MSG_ERROR([`--with-ltdl-include' and `--with-ltdl-lib' options must be used together]) 187 ;; 188 *) with_included_ltdl=no 189 LIBLTDL="-L$with_ltdl_lib -lltdl" 190 LTDLDEPS= 191 LTDLINCL="-I$with_ltdl_include" 192 ;; 193esac 194INCLTDL="$LTDLINCL" 195 196# Report our decision... 197AC_MSG_CHECKING([where to find libltdl headers]) 198AC_MSG_RESULT([$LTDLINCL]) 199AC_MSG_CHECKING([where to find libltdl library]) 200AC_MSG_RESULT([$LIBLTDL]) 201 202_LTDL_SETUP 203 204dnl restore autoconf definition. 205m4_popdef([AC_LIBOBJ]) 206m4_popdef([AC_LIBSOURCES]) 207 208AC_CONFIG_COMMANDS_PRE([ 209 _ltdl_libobjs= 210 _ltdl_ltlibobjs= 211 if test -n "$_LT_LIBOBJS"; then 212 # Remove the extension. 213 _lt_sed_drop_objext='s/\.o$//;s/\.obj$//' 214 for i in `for i in $_LT_LIBOBJS; do echo "$i"; done | sed "$_lt_sed_drop_objext" | sort -u`; do 215 _ltdl_libobjs="$_ltdl_libobjs $lt_libobj_prefix$i.$ac_objext" 216 _ltdl_ltlibobjs="$_ltdl_ltlibobjs $lt_libobj_prefix$i.lo" 217 done 218 fi 219 AC_SUBST([ltdl_LIBOBJS], [$_ltdl_libobjs]) 220 AC_SUBST([ltdl_LTLIBOBJS], [$_ltdl_ltlibobjs]) 221]) 222 223# Only expand once: 224m4_define([LTDL_INIT]) 225]) 226m4trace:/usr/share/aclocal/ltdl.m4:352: -1- AU_DEFUN([AC_LIB_LTDL], [LTDL_INIT($@)]) 227m4trace:/usr/share/aclocal/ltdl.m4:352: -1- AC_DEFUN([AC_LIB_LTDL], [AC_DIAGNOSE([obsolete], [The macro `AC_LIB_LTDL' is obsolete. 228You should run autoupdate.])dnl 229LTDL_INIT($@)]) 230m4trace:/usr/share/aclocal/ltdl.m4:353: -1- AU_DEFUN([AC_WITH_LTDL], [LTDL_INIT($@)]) 231m4trace:/usr/share/aclocal/ltdl.m4:353: -1- AC_DEFUN([AC_WITH_LTDL], [AC_DIAGNOSE([obsolete], [The macro `AC_WITH_LTDL' is obsolete. 232You should run autoupdate.])dnl 233LTDL_INIT($@)]) 234m4trace:/usr/share/aclocal/ltdl.m4:354: -1- AU_DEFUN([LT_WITH_LTDL], [LTDL_INIT($@)]) 235m4trace:/usr/share/aclocal/ltdl.m4:354: -1- AC_DEFUN([LT_WITH_LTDL], [AC_DIAGNOSE([obsolete], [The macro `LT_WITH_LTDL' is obsolete. 236You should run autoupdate.])dnl 237LTDL_INIT($@)]) 238m4trace:/usr/share/aclocal/ltdl.m4:367: -1- AC_DEFUN([_LTDL_SETUP], [AC_REQUIRE([AC_PROG_CC])dnl 239AC_REQUIRE([LT_SYS_MODULE_EXT])dnl 240AC_REQUIRE([LT_SYS_MODULE_PATH])dnl 241AC_REQUIRE([LT_SYS_DLSEARCH_PATH])dnl 242AC_REQUIRE([LT_LIB_DLLOAD])dnl 243AC_REQUIRE([LT_SYS_SYMBOL_USCORE])dnl 244AC_REQUIRE([LT_FUNC_DLSYM_USCORE])dnl 245AC_REQUIRE([LT_SYS_DLOPEN_DEPLIBS])dnl 246AC_REQUIRE([gl_FUNC_ARGZ])dnl 247 248m4_require([_LT_CHECK_OBJDIR])dnl 249m4_require([_LT_HEADER_DLFCN])dnl 250m4_require([_LT_CHECK_DLPREOPEN])dnl 251m4_require([_LT_DECL_SED])dnl 252 253dnl Don't require this, or it will be expanded earlier than the code 254dnl that sets the variables it relies on: 255_LT_ENABLE_INSTALL 256 257dnl _LTDL_MODE specific code must be called at least once: 258_LTDL_MODE_DISPATCH 259 260# In order that ltdl.c can compile, find out the first AC_CONFIG_HEADERS 261# the user used. This is so that ltdl.h can pick up the parent projects 262# config.h file, The first file in AC_CONFIG_HEADERS must contain the 263# definitions required by ltdl.c. 264# FIXME: Remove use of undocumented AC_LIST_HEADERS (2.59 compatibility). 265AC_CONFIG_COMMANDS_PRE([dnl 266m4_pattern_allow([^LT_CONFIG_H$])dnl 267m4_ifset([AH_HEADER], 268 [LT_CONFIG_H=AH_HEADER], 269 [m4_ifset([AC_LIST_HEADERS], 270 [LT_CONFIG_H=`echo "AC_LIST_HEADERS" | $SED 's,^[[ ]]*,,;s,[[ :]].*$,,'`], 271 [])])]) 272AC_SUBST([LT_CONFIG_H]) 273 274AC_CHECK_HEADERS([unistd.h dl.h sys/dl.h dld.h mach-o/dyld.h dirent.h], 275 [], [], [AC_INCLUDES_DEFAULT]) 276 277AC_CHECK_FUNCS([closedir opendir readdir], [], [AC_LIBOBJ([lt__dirent])]) 278AC_CHECK_FUNCS([strlcat strlcpy], [], [AC_LIBOBJ([lt__strl])]) 279 280m4_pattern_allow([LT_LIBEXT])dnl 281AC_DEFINE_UNQUOTED([LT_LIBEXT],["$libext"],[The archive extension]) 282 283name= 284eval "lt_libprefix=\"$libname_spec\"" 285m4_pattern_allow([LT_LIBPREFIX])dnl 286AC_DEFINE_UNQUOTED([LT_LIBPREFIX],["$lt_libprefix"],[The archive prefix]) 287 288name=ltdl 289eval "LTDLOPEN=\"$libname_spec\"" 290AC_SUBST([LTDLOPEN]) 291]) 292m4trace:/usr/share/aclocal/ltdl.m4:443: -1- AC_DEFUN([LT_SYS_DLOPEN_DEPLIBS], [AC_REQUIRE([AC_CANONICAL_HOST])dnl 293AC_CACHE_CHECK([whether deplibs are loaded by dlopen], 294 [lt_cv_sys_dlopen_deplibs], 295 [# PORTME does your system automatically load deplibs for dlopen? 296 # or its logical equivalent (e.g. shl_load for HP-UX < 11) 297 # For now, we just catch OSes we know something about -- in the 298 # future, we'll try test this programmatically. 299 lt_cv_sys_dlopen_deplibs=unknown 300 case $host_os in 301 aix3*|aix4.1.*|aix4.2.*) 302 # Unknown whether this is true for these versions of AIX, but 303 # we want this `case' here to explicitly catch those versions. 304 lt_cv_sys_dlopen_deplibs=unknown 305 ;; 306 aix[[4-9]]*) 307 lt_cv_sys_dlopen_deplibs=yes 308 ;; 309 amigaos*) 310 case $host_cpu in 311 powerpc) 312 lt_cv_sys_dlopen_deplibs=no 313 ;; 314 esac 315 ;; 316 darwin*) 317 # Assuming the user has installed a libdl from somewhere, this is true 318 # If you are looking for one http://www.opendarwin.org/projects/dlcompat 319 lt_cv_sys_dlopen_deplibs=yes 320 ;; 321 freebsd* | dragonfly*) 322 lt_cv_sys_dlopen_deplibs=yes 323 ;; 324 gnu* | linux* | k*bsd*-gnu | kopensolaris*-gnu) 325 # GNU and its variants, using gnu ld.so (Glibc) 326 lt_cv_sys_dlopen_deplibs=yes 327 ;; 328 hpux10*|hpux11*) 329 lt_cv_sys_dlopen_deplibs=yes 330 ;; 331 interix*) 332 lt_cv_sys_dlopen_deplibs=yes 333 ;; 334 irix[[12345]]*|irix6.[[01]]*) 335 # Catch all versions of IRIX before 6.2, and indicate that we don't 336 # know how it worked for any of those versions. 337 lt_cv_sys_dlopen_deplibs=unknown 338 ;; 339 irix*) 340 # The case above catches anything before 6.2, and it's known that 341 # at 6.2 and later dlopen does load deplibs. 342 lt_cv_sys_dlopen_deplibs=yes 343 ;; 344 netbsd* | netbsdelf*-gnu) 345 lt_cv_sys_dlopen_deplibs=yes 346 ;; 347 openbsd*) 348 lt_cv_sys_dlopen_deplibs=yes 349 ;; 350 osf[[1234]]*) 351 # dlopen did load deplibs (at least at 4.x), but until the 5.x series, 352 # it did *not* use an RPATH in a shared library to find objects the 353 # library depends on, so we explicitly say `no'. 354 lt_cv_sys_dlopen_deplibs=no 355 ;; 356 osf5.0|osf5.0a|osf5.1) 357 # dlopen *does* load deplibs and with the right loader patch applied 358 # it even uses RPATH in a shared library to search for shared objects 359 # that the library depends on, but there's no easy way to know if that 360 # patch is installed. Since this is the case, all we can really 361 # say is unknown -- it depends on the patch being installed. If 362 # it is, this changes to `yes'. Without it, it would be `no'. 363 lt_cv_sys_dlopen_deplibs=unknown 364 ;; 365 osf*) 366 # the two cases above should catch all versions of osf <= 5.1. Read 367 # the comments above for what we know about them. 368 # At > 5.1, deplibs are loaded *and* any RPATH in a shared library 369 # is used to find them so we can finally say `yes'. 370 lt_cv_sys_dlopen_deplibs=yes 371 ;; 372 qnx*) 373 lt_cv_sys_dlopen_deplibs=yes 374 ;; 375 solaris*) 376 lt_cv_sys_dlopen_deplibs=yes 377 ;; 378 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*) 379 libltdl_cv_sys_dlopen_deplibs=yes 380 ;; 381 esac 382 ]) 383if test "$lt_cv_sys_dlopen_deplibs" != yes; then 384 AC_DEFINE([LTDL_DLOPEN_DEPLIBS], [1], 385 [Define if the OS needs help to load dependent libraries for dlopen().]) 386fi 387]) 388m4trace:/usr/share/aclocal/ltdl.m4:542: -1- AU_DEFUN([AC_LTDL_SYS_DLOPEN_DEPLIBS], [m4_if($#, 0, [LT_SYS_DLOPEN_DEPLIBS], [LT_SYS_DLOPEN_DEPLIBS($@)])]) 389m4trace:/usr/share/aclocal/ltdl.m4:542: -1- AC_DEFUN([AC_LTDL_SYS_DLOPEN_DEPLIBS], [AC_DIAGNOSE([obsolete], [The macro `AC_LTDL_SYS_DLOPEN_DEPLIBS' is obsolete. 390You should run autoupdate.])dnl 391m4_if($#, 0, [LT_SYS_DLOPEN_DEPLIBS], [LT_SYS_DLOPEN_DEPLIBS($@)])]) 392m4trace:/usr/share/aclocal/ltdl.m4:549: -1- AC_DEFUN([LT_SYS_MODULE_EXT], [m4_require([_LT_SYS_DYNAMIC_LINKER])dnl 393AC_CACHE_CHECK([which extension is used for runtime loadable modules], 394 [libltdl_cv_shlibext], 395[ 396module=yes 397eval libltdl_cv_shlibext=$shrext_cmds 398module=no 399eval libltdl_cv_shrext=$shrext_cmds 400 ]) 401if test -n "$libltdl_cv_shlibext"; then 402 m4_pattern_allow([LT_MODULE_EXT])dnl 403 AC_DEFINE_UNQUOTED([LT_MODULE_EXT], ["$libltdl_cv_shlibext"], 404 [Define to the extension used for runtime loadable modules, say, ".so".]) 405fi 406if test "$libltdl_cv_shrext" != "$libltdl_cv_shlibext"; then 407 m4_pattern_allow([LT_SHARED_EXT])dnl 408 AC_DEFINE_UNQUOTED([LT_SHARED_EXT], ["$libltdl_cv_shrext"], 409 [Define to the shared library suffix, say, ".dylib".]) 410fi 411]) 412m4trace:/usr/share/aclocal/ltdl.m4:572: -1- AU_DEFUN([AC_LTDL_SHLIBEXT], [m4_if($#, 0, [LT_SYS_MODULE_EXT], [LT_SYS_MODULE_EXT($@)])]) 413m4trace:/usr/share/aclocal/ltdl.m4:572: -1- AC_DEFUN([AC_LTDL_SHLIBEXT], [AC_DIAGNOSE([obsolete], [The macro `AC_LTDL_SHLIBEXT' is obsolete. 414You should run autoupdate.])dnl 415m4_if($#, 0, [LT_SYS_MODULE_EXT], [LT_SYS_MODULE_EXT($@)])]) 416m4trace:/usr/share/aclocal/ltdl.m4:579: -1- AC_DEFUN([LT_SYS_MODULE_PATH], [m4_require([_LT_SYS_DYNAMIC_LINKER])dnl 417AC_CACHE_CHECK([which variable specifies run-time module search path], 418 [lt_cv_module_path_var], [lt_cv_module_path_var="$shlibpath_var"]) 419if test -n "$lt_cv_module_path_var"; then 420 m4_pattern_allow([LT_MODULE_PATH_VAR])dnl 421 AC_DEFINE_UNQUOTED([LT_MODULE_PATH_VAR], ["$lt_cv_module_path_var"], 422 [Define to the name of the environment variable that determines the run-time module search path.]) 423fi 424]) 425m4trace:/usr/share/aclocal/ltdl.m4:591: -1- AU_DEFUN([AC_LTDL_SHLIBPATH], [m4_if($#, 0, [LT_SYS_MODULE_PATH], [LT_SYS_MODULE_PATH($@)])]) 426m4trace:/usr/share/aclocal/ltdl.m4:591: -1- AC_DEFUN([AC_LTDL_SHLIBPATH], [AC_DIAGNOSE([obsolete], [The macro `AC_LTDL_SHLIBPATH' is obsolete. 427You should run autoupdate.])dnl 428m4_if($#, 0, [LT_SYS_MODULE_PATH], [LT_SYS_MODULE_PATH($@)])]) 429m4trace:/usr/share/aclocal/ltdl.m4:598: -1- AC_DEFUN([LT_SYS_DLSEARCH_PATH], [m4_require([_LT_SYS_DYNAMIC_LINKER])dnl 430AC_CACHE_CHECK([for the default library search path], 431 [lt_cv_sys_dlsearch_path], 432 [lt_cv_sys_dlsearch_path="$sys_lib_dlsearch_path_spec"]) 433if test -n "$lt_cv_sys_dlsearch_path"; then 434 sys_dlsearch_path= 435 for dir in $lt_cv_sys_dlsearch_path; do 436 if test -z "$sys_dlsearch_path"; then 437 sys_dlsearch_path="$dir" 438 else 439 sys_dlsearch_path="$sys_dlsearch_path$PATH_SEPARATOR$dir" 440 fi 441 done 442 m4_pattern_allow([LT_DLSEARCH_PATH])dnl 443 AC_DEFINE_UNQUOTED([LT_DLSEARCH_PATH], ["$sys_dlsearch_path"], 444 [Define to the system default library search path.]) 445fi 446]) 447m4trace:/usr/share/aclocal/ltdl.m4:619: -1- AU_DEFUN([AC_LTDL_SYSSEARCHPATH], [m4_if($#, 0, [LT_SYS_DLSEARCH_PATH], [LT_SYS_DLSEARCH_PATH($@)])]) 448m4trace:/usr/share/aclocal/ltdl.m4:619: -1- AC_DEFUN([AC_LTDL_SYSSEARCHPATH], [AC_DIAGNOSE([obsolete], [The macro `AC_LTDL_SYSSEARCHPATH' is obsolete. 449You should run autoupdate.])dnl 450m4_if($#, 0, [LT_SYS_DLSEARCH_PATH], [LT_SYS_DLSEARCH_PATH($@)])]) 451m4trace:/usr/share/aclocal/ltdl.m4:645: -1- AC_DEFUN([LT_LIB_DLLOAD], [m4_pattern_allow([^LT_DLLOADERS$]) 452LT_DLLOADERS= 453AC_SUBST([LT_DLLOADERS]) 454 455AC_LANG_PUSH([C]) 456 457LIBADD_DLOPEN= 458AC_SEARCH_LIBS([dlopen], [dl], 459 [AC_DEFINE([HAVE_LIBDL], [1], 460 [Define if you have the libdl library or equivalent.]) 461 if test "$ac_cv_search_dlopen" != "none required" ; then 462 LIBADD_DLOPEN="-ldl" 463 fi 464 libltdl_cv_lib_dl_dlopen="yes" 465 LT_DLLOADERS="$LT_DLLOADERS ${lt_dlopen_dir+$lt_dlopen_dir/}dlopen.la"], 466 [AC_LINK_IFELSE([AC_LANG_PROGRAM([[#if HAVE_DLFCN_H 467# include <dlfcn.h> 468#endif 469 ]], [[dlopen(0, 0);]])], 470 [AC_DEFINE([HAVE_LIBDL], [1], 471 [Define if you have the libdl library or equivalent.]) 472 libltdl_cv_func_dlopen="yes" 473 LT_DLLOADERS="$LT_DLLOADERS ${lt_dlopen_dir+$lt_dlopen_dir/}dlopen.la"], 474 [AC_CHECK_LIB([svld], [dlopen], 475 [AC_DEFINE([HAVE_LIBDL], [1], 476 [Define if you have the libdl library or equivalent.]) 477 LIBADD_DLOPEN="-lsvld" libltdl_cv_func_dlopen="yes" 478 LT_DLLOADERS="$LT_DLLOADERS ${lt_dlopen_dir+$lt_dlopen_dir/}dlopen.la"])])]) 479if test x"$libltdl_cv_func_dlopen" = xyes || test x"$libltdl_cv_lib_dl_dlopen" = xyes 480then 481 lt_save_LIBS="$LIBS" 482 LIBS="$LIBS $LIBADD_DLOPEN" 483 AC_CHECK_FUNCS([dlerror]) 484 LIBS="$lt_save_LIBS" 485fi 486AC_SUBST([LIBADD_DLOPEN]) 487 488LIBADD_SHL_LOAD= 489AC_CHECK_FUNC([shl_load], 490 [AC_DEFINE([HAVE_SHL_LOAD], [1], 491 [Define if you have the shl_load function.]) 492 LT_DLLOADERS="$LT_DLLOADERS ${lt_dlopen_dir+$lt_dlopen_dir/}shl_load.la"], 493 [AC_CHECK_LIB([dld], [shl_load], 494 [AC_DEFINE([HAVE_SHL_LOAD], [1], 495 [Define if you have the shl_load function.]) 496 LT_DLLOADERS="$LT_DLLOADERS ${lt_dlopen_dir+$lt_dlopen_dir/}shl_load.la" 497 LIBADD_SHL_LOAD="-ldld"])]) 498AC_SUBST([LIBADD_SHL_LOAD]) 499 500case $host_os in 501darwin[[1567]].*) 502# We only want this for pre-Mac OS X 10.4. 503 AC_CHECK_FUNC([_dyld_func_lookup], 504 [AC_DEFINE([HAVE_DYLD], [1], 505 [Define if you have the _dyld_func_lookup function.]) 506 LT_DLLOADERS="$LT_DLLOADERS ${lt_dlopen_dir+$lt_dlopen_dir/}dyld.la"]) 507 ;; 508beos*) 509 LT_DLLOADERS="$LT_DLLOADERS ${lt_dlopen_dir+$lt_dlopen_dir/}load_add_on.la" 510 ;; 511cygwin* | mingw* | os2* | pw32*) 512 AC_CHECK_DECLS([cygwin_conv_path], [], [], [[#include <sys/cygwin.h>]]) 513 LT_DLLOADERS="$LT_DLLOADERS ${lt_dlopen_dir+$lt_dlopen_dir/}loadlibrary.la" 514 ;; 515esac 516 517AC_CHECK_LIB([dld], [dld_link], 518 [AC_DEFINE([HAVE_DLD], [1], 519 [Define if you have the GNU dld library.]) 520 LT_DLLOADERS="$LT_DLLOADERS ${lt_dlopen_dir+$lt_dlopen_dir/}dld_link.la"]) 521AC_SUBST([LIBADD_DLD_LINK]) 522 523m4_pattern_allow([^LT_DLPREOPEN$]) 524LT_DLPREOPEN= 525if test -n "$LT_DLLOADERS" 526then 527 for lt_loader in $LT_DLLOADERS; do 528 LT_DLPREOPEN="$LT_DLPREOPEN-dlpreopen $lt_loader " 529 done 530 AC_DEFINE([HAVE_LIBDLLOADER], [1], 531 [Define if libdlloader will be built on this platform]) 532fi 533AC_SUBST([LT_DLPREOPEN]) 534 535dnl This isn't used anymore, but set it for backwards compatibility 536LIBADD_DL="$LIBADD_DLOPEN $LIBADD_SHL_LOAD" 537AC_SUBST([LIBADD_DL]) 538 539AC_LANG_POP 540]) 541m4trace:/usr/share/aclocal/ltdl.m4:738: -1- AU_DEFUN([AC_LTDL_DLLIB], [m4_if($#, 0, [LT_LIB_DLLOAD], [LT_LIB_DLLOAD($@)])]) 542m4trace:/usr/share/aclocal/ltdl.m4:738: -1- AC_DEFUN([AC_LTDL_DLLIB], [AC_DIAGNOSE([obsolete], [The macro `AC_LTDL_DLLIB' is obsolete. 543You should run autoupdate.])dnl 544m4_if($#, 0, [LT_LIB_DLLOAD], [LT_LIB_DLLOAD($@)])]) 545m4trace:/usr/share/aclocal/ltdl.m4:746: -1- AC_DEFUN([LT_SYS_SYMBOL_USCORE], [m4_require([_LT_CMD_GLOBAL_SYMBOLS])dnl 546AC_CACHE_CHECK([for _ prefix in compiled symbols], 547 [lt_cv_sys_symbol_underscore], 548 [lt_cv_sys_symbol_underscore=no 549 cat > conftest.$ac_ext <<_LT_EOF 550void nm_test_func(){} 551int main(){nm_test_func;return 0;} 552_LT_EOF 553 if AC_TRY_EVAL(ac_compile); then 554 # Now try to grab the symbols. 555 ac_nlist=conftest.nm 556 if AC_TRY_EVAL(NM conftest.$ac_objext \| $lt_cv_sys_global_symbol_pipe \> $ac_nlist) && test -s "$ac_nlist"; then 557 # See whether the symbols have a leading underscore. 558 if grep '^. _nm_test_func' "$ac_nlist" >/dev/null; then 559 lt_cv_sys_symbol_underscore=yes 560 else 561 if grep '^. nm_test_func ' "$ac_nlist" >/dev/null; then 562 : 563 else 564 echo "configure: cannot find nm_test_func in $ac_nlist" >&AS_MESSAGE_LOG_FD 565 fi 566 fi 567 else 568 echo "configure: cannot run $lt_cv_sys_global_symbol_pipe" >&AS_MESSAGE_LOG_FD 569 fi 570 else 571 echo "configure: failed program was:" >&AS_MESSAGE_LOG_FD 572 cat conftest.c >&AS_MESSAGE_LOG_FD 573 fi 574 rm -rf conftest* 575 ]) 576 sys_symbol_underscore=$lt_cv_sys_symbol_underscore 577 AC_SUBST([sys_symbol_underscore]) 578]) 579m4trace:/usr/share/aclocal/ltdl.m4:783: -1- AU_DEFUN([AC_LTDL_SYMBOL_USCORE], [m4_if($#, 0, [LT_SYS_SYMBOL_USCORE], [LT_SYS_SYMBOL_USCORE($@)])]) 580m4trace:/usr/share/aclocal/ltdl.m4:783: -1- AC_DEFUN([AC_LTDL_SYMBOL_USCORE], [AC_DIAGNOSE([obsolete], [The macro `AC_LTDL_SYMBOL_USCORE' is obsolete. 581You should run autoupdate.])dnl 582m4_if($#, 0, [LT_SYS_SYMBOL_USCORE], [LT_SYS_SYMBOL_USCORE($@)])]) 583m4trace:/usr/share/aclocal/ltdl.m4:790: -1- AC_DEFUN([LT_FUNC_DLSYM_USCORE], [AC_REQUIRE([LT_SYS_SYMBOL_USCORE])dnl 584if test x"$lt_cv_sys_symbol_underscore" = xyes; then 585 if test x"$libltdl_cv_func_dlopen" = xyes || 586 test x"$libltdl_cv_lib_dl_dlopen" = xyes ; then 587 AC_CACHE_CHECK([whether we have to add an underscore for dlsym], 588 [libltdl_cv_need_uscore], 589 [libltdl_cv_need_uscore=unknown 590 save_LIBS="$LIBS" 591 LIBS="$LIBS $LIBADD_DLOPEN" 592 _LT_TRY_DLOPEN_SELF( 593 [libltdl_cv_need_uscore=no], [libltdl_cv_need_uscore=yes], 594 [], [libltdl_cv_need_uscore=cross]) 595 LIBS="$save_LIBS" 596 ]) 597 fi 598fi 599 600if test x"$libltdl_cv_need_uscore" = xyes; then 601 AC_DEFINE([NEED_USCORE], [1], 602 [Define if dlsym() requires a leading underscore in symbol names.]) 603fi 604]) 605m4trace:/usr/share/aclocal/ltdl.m4:815: -1- AU_DEFUN([AC_LTDL_DLSYM_USCORE], [m4_if($#, 0, [LT_FUNC_DLSYM_USCORE], [LT_FUNC_DLSYM_USCORE($@)])]) 606m4trace:/usr/share/aclocal/ltdl.m4:815: -1- AC_DEFUN([AC_LTDL_DLSYM_USCORE], [AC_DIAGNOSE([obsolete], [The macro `AC_LTDL_DLSYM_USCORE' is obsolete. 607You should run autoupdate.])dnl 608m4_if($#, 0, [LT_FUNC_DLSYM_USCORE], [LT_FUNC_DLSYM_USCORE($@)])]) 609m4trace:/usr/share/aclocal/pkg.m4:27: -1- AC_DEFUN([PKG_PROG_PKG_CONFIG], [m4_pattern_forbid([^_?PKG_[A-Z_]+$]) 610m4_pattern_allow([^PKG_CONFIG(_(PATH|LIBDIR|SYSROOT_DIR|ALLOW_SYSTEM_(CFLAGS|LIBS)))?$]) 611m4_pattern_allow([^PKG_CONFIG_(DISABLE_UNINSTALLED|TOP_BUILD_DIR|DEBUG_SPEW)$]) 612AC_ARG_VAR([PKG_CONFIG], [path to pkg-config utility]) 613AC_ARG_VAR([PKG_CONFIG_PATH], [directories to add to pkg-config's search path]) 614AC_ARG_VAR([PKG_CONFIG_LIBDIR], [path overriding pkg-config's built-in search path]) 615 616if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then 617 AC_PATH_TOOL([PKG_CONFIG], [pkg-config]) 618fi 619if test -n "$PKG_CONFIG"; then 620 _pkg_min_version=m4_default([$1], [0.9.0]) 621 AC_MSG_CHECKING([pkg-config is at least version $_pkg_min_version]) 622 if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then 623 AC_MSG_RESULT([yes]) 624 else 625 AC_MSG_RESULT([no]) 626 PKG_CONFIG="" 627 fi 628fi[]dnl 629]) 630m4trace:/usr/share/aclocal/pkg.m4:60: -1- AC_DEFUN([PKG_CHECK_EXISTS], [AC_REQUIRE([PKG_PROG_PKG_CONFIG])dnl 631if test -n "$PKG_CONFIG" && \ 632 AC_RUN_LOG([$PKG_CONFIG --exists --print-errors "$1"]); then 633 m4_default([$2], [:]) 634m4_ifvaln([$3], [else 635 $3])dnl 636fi]) 637m4trace:/usr/share/aclocal/pkg.m4:86: -1- AC_DEFUN([_PKG_SHORT_ERRORS_SUPPORTED], [AC_REQUIRE([PKG_PROG_PKG_CONFIG]) 638if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then 639 _pkg_short_errors_supported=yes 640else 641 _pkg_short_errors_supported=no 642fi[]dnl 643]) 644m4trace:/usr/share/aclocal/pkg.m4:106: -1- AC_DEFUN([PKG_CHECK_MODULES], [AC_REQUIRE([PKG_PROG_PKG_CONFIG])dnl 645AC_ARG_VAR([$1][_CFLAGS], [C compiler flags for $1, overriding pkg-config])dnl 646AC_ARG_VAR([$1][_LIBS], [linker flags for $1, overriding pkg-config])dnl 647 648pkg_failed=no 649AC_MSG_CHECKING([for $1]) 650 651_PKG_CONFIG([$1][_CFLAGS], [cflags], [$2]) 652_PKG_CONFIG([$1][_LIBS], [libs], [$2]) 653 654m4_define([_PKG_TEXT], [Alternatively, you may set the environment variables $1[]_CFLAGS 655and $1[]_LIBS to avoid the need to call pkg-config. 656See the pkg-config man page for more details.]) 657 658if test $pkg_failed = yes; then 659 AC_MSG_RESULT([no]) 660 _PKG_SHORT_ERRORS_SUPPORTED 661 if test $_pkg_short_errors_supported = yes; then 662 $1[]_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "$2" 2>&1` 663 else 664 $1[]_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "$2" 2>&1` 665 fi 666 # Put the nasty error message in config.log where it belongs 667 echo "$$1[]_PKG_ERRORS" >&AS_MESSAGE_LOG_FD 668 669 m4_default([$4], [AC_MSG_ERROR( 670[Package requirements ($2) were not met: 671 672$$1_PKG_ERRORS 673 674Consider adjusting the PKG_CONFIG_PATH environment variable if you 675installed software in a non-standard prefix. 676 677_PKG_TEXT])[]dnl 678 ]) 679elif test $pkg_failed = untried; then 680 AC_MSG_RESULT([no]) 681 m4_default([$4], [AC_MSG_FAILURE( 682[The pkg-config script could not be found or is too old. Make sure it 683is in your PATH or set the PKG_CONFIG environment variable to the full 684path to pkg-config. 685 686_PKG_TEXT 687 688To get pkg-config, see <http://pkg-config.freedesktop.org/>.])[]dnl 689 ]) 690else 691 $1[]_CFLAGS=$pkg_cv_[]$1[]_CFLAGS 692 $1[]_LIBS=$pkg_cv_[]$1[]_LIBS 693 AC_MSG_RESULT([yes]) 694 $3 695fi[]dnl 696]) 697m4trace:/usr/share/aclocal/xorg-macros.m4:58: -1- AC_DEFUN([XORG_PROG_RAWCPP], [ 698AC_REQUIRE([AC_PROG_CPP]) 699AC_PATH_PROGS(RAWCPP, [cpp], [${CPP}], 700 [$PATH:/bin:/usr/bin:/usr/lib:/usr/libexec:/usr/ccs/lib:/usr/ccs/lbin:/lib]) 701 702# Check for flag to avoid builtin definitions - assumes unix is predefined, 703# which is not the best choice for supporting other OS'es, but covers most 704# of the ones we need for now. 705AC_MSG_CHECKING([if $RAWCPP requires -undef]) 706AC_LANG_CONFTEST([AC_LANG_SOURCE([[Does cpp redefine unix ?]])]) 707if test `${RAWCPP} < conftest.$ac_ext | grep -c 'unix'` -eq 1 ; then 708 AC_MSG_RESULT([no]) 709else 710 if test `${RAWCPP} -undef < conftest.$ac_ext | grep -c 'unix'` -eq 1 ; then 711 RAWCPPFLAGS=-undef 712 AC_MSG_RESULT([yes]) 713 # under Cygwin unix is still defined even with -undef 714 elif test `${RAWCPP} -undef -ansi < conftest.$ac_ext | grep -c 'unix'` -eq 1 ; then 715 RAWCPPFLAGS="-undef -ansi" 716 AC_MSG_RESULT([yes, with -ansi]) 717 else 718 AC_MSG_ERROR([${RAWCPP} defines unix with or without -undef. I don't know what to do.]) 719 fi 720fi 721rm -f conftest.$ac_ext 722 723AC_MSG_CHECKING([if $RAWCPP requires -traditional]) 724AC_LANG_CONFTEST([AC_LANG_SOURCE([[Does cpp preserve "whitespace"?]])]) 725if test `${RAWCPP} < conftest.$ac_ext | grep -c 'preserve \"'` -eq 1 ; then 726 AC_MSG_RESULT([no]) 727else 728 if test `${RAWCPP} -traditional < conftest.$ac_ext | grep -c 'preserve \"'` -eq 1 ; then 729 RAWCPPFLAGS="${RAWCPPFLAGS} -traditional" 730 AC_MSG_RESULT([yes]) 731 else 732 AC_MSG_ERROR([${RAWCPP} does not preserve whitespace with or without -traditional. I don't know what to do.]) 733 fi 734fi 735rm -f conftest.$ac_ext 736AC_SUBST(RAWCPPFLAGS) 737]) 738m4trace:/usr/share/aclocal/xorg-macros.m4:111: -1- AC_DEFUN([XORG_MANPAGE_SECTIONS], [ 739AC_REQUIRE([AC_CANONICAL_HOST]) 740AC_REQUIRE([AC_PROG_SED]) 741 742if test x$APP_MAN_SUFFIX = x ; then 743 APP_MAN_SUFFIX=1 744fi 745if test x$APP_MAN_DIR = x ; then 746 APP_MAN_DIR='$(mandir)/man$(APP_MAN_SUFFIX)' 747fi 748 749if test x$LIB_MAN_SUFFIX = x ; then 750 LIB_MAN_SUFFIX=3 751fi 752if test x$LIB_MAN_DIR = x ; then 753 LIB_MAN_DIR='$(mandir)/man$(LIB_MAN_SUFFIX)' 754fi 755 756if test x$FILE_MAN_SUFFIX = x ; then 757 case $host_os in 758 solaris*) FILE_MAN_SUFFIX=4 ;; 759 *) FILE_MAN_SUFFIX=5 ;; 760 esac 761fi 762if test x$FILE_MAN_DIR = x ; then 763 FILE_MAN_DIR='$(mandir)/man$(FILE_MAN_SUFFIX)' 764fi 765 766if test x$MISC_MAN_SUFFIX = x ; then 767 case $host_os in 768 solaris*) MISC_MAN_SUFFIX=5 ;; 769 *) MISC_MAN_SUFFIX=7 ;; 770 esac 771fi 772if test x$MISC_MAN_DIR = x ; then 773 MISC_MAN_DIR='$(mandir)/man$(MISC_MAN_SUFFIX)' 774fi 775 776if test x$DRIVER_MAN_SUFFIX = x ; then 777 case $host_os in 778 solaris*) DRIVER_MAN_SUFFIX=7 ;; 779 *) DRIVER_MAN_SUFFIX=4 ;; 780 esac 781fi 782if test x$DRIVER_MAN_DIR = x ; then 783 DRIVER_MAN_DIR='$(mandir)/man$(DRIVER_MAN_SUFFIX)' 784fi 785 786if test x$ADMIN_MAN_SUFFIX = x ; then 787 case $host_os in 788 solaris*) ADMIN_MAN_SUFFIX=1m ;; 789 *) ADMIN_MAN_SUFFIX=8 ;; 790 esac 791fi 792if test x$ADMIN_MAN_DIR = x ; then 793 ADMIN_MAN_DIR='$(mandir)/man$(ADMIN_MAN_SUFFIX)' 794fi 795 796 797AC_SUBST([APP_MAN_SUFFIX]) 798AC_SUBST([LIB_MAN_SUFFIX]) 799AC_SUBST([FILE_MAN_SUFFIX]) 800AC_SUBST([MISC_MAN_SUFFIX]) 801AC_SUBST([DRIVER_MAN_SUFFIX]) 802AC_SUBST([ADMIN_MAN_SUFFIX]) 803AC_SUBST([APP_MAN_DIR]) 804AC_SUBST([LIB_MAN_DIR]) 805AC_SUBST([FILE_MAN_DIR]) 806AC_SUBST([MISC_MAN_DIR]) 807AC_SUBST([DRIVER_MAN_DIR]) 808AC_SUBST([ADMIN_MAN_DIR]) 809 810XORG_MAN_PAGE="X Version 11" 811AC_SUBST([XORG_MAN_PAGE]) 812MAN_SUBSTS="\ 813 -e 's|__vendorversion__|\"\$(PACKAGE_STRING)\" \"\$(XORG_MAN_PAGE)\"|' \ 814 -e 's|__xorgversion__|\"\$(PACKAGE_STRING)\" \"\$(XORG_MAN_PAGE)\"|' \ 815 -e 's|__xservername__|Xorg|g' \ 816 -e 's|__xconfigfile__|xorg.conf|g' \ 817 -e 's|__projectroot__|\$(prefix)|g' \ 818 -e 's|__apploaddir__|\$(appdefaultdir)|g' \ 819 -e 's|__appmansuffix__|\$(APP_MAN_SUFFIX)|g' \ 820 -e 's|__drivermansuffix__|\$(DRIVER_MAN_SUFFIX)|g' \ 821 -e 's|__adminmansuffix__|\$(ADMIN_MAN_SUFFIX)|g' \ 822 -e 's|__libmansuffix__|\$(LIB_MAN_SUFFIX)|g' \ 823 -e 's|__miscmansuffix__|\$(MISC_MAN_SUFFIX)|g' \ 824 -e 's|__filemansuffix__|\$(FILE_MAN_SUFFIX)|g'" 825AC_SUBST([MAN_SUBSTS]) 826 827]) 828m4trace:/usr/share/aclocal/xorg-macros.m4:208: -1- AC_DEFUN([XORG_CHECK_SGML_DOCTOOLS], [ 829AC_MSG_CHECKING([for X.Org SGML entities m4_ifval([$1],[>= $1])]) 830XORG_SGML_PATH= 831PKG_CHECK_EXISTS([xorg-sgml-doctools m4_ifval([$1],[>= $1])], 832 [XORG_SGML_PATH=`$PKG_CONFIG --variable=sgmlrootdir xorg-sgml-doctools`], 833 [m4_ifval([$1],[:], 834 [if test x"$cross_compiling" != x"yes" ; then 835 AC_CHECK_FILE([$prefix/share/sgml/X11/defs.ent], 836 [XORG_SGML_PATH=$prefix/share/sgml]) 837 fi]) 838 ]) 839 840# Define variables STYLESHEET_SRCDIR and XSL_STYLESHEET containing 841# the path and the name of the doc stylesheet 842if test "x$XORG_SGML_PATH" != "x" ; then 843 AC_MSG_RESULT([$XORG_SGML_PATH]) 844 STYLESHEET_SRCDIR=$XORG_SGML_PATH/X11 845 XSL_STYLESHEET=$STYLESHEET_SRCDIR/xorg.xsl 846else 847 AC_MSG_RESULT([no]) 848fi 849 850AC_SUBST(XORG_SGML_PATH) 851AC_SUBST(STYLESHEET_SRCDIR) 852AC_SUBST(XSL_STYLESHEET) 853AM_CONDITIONAL([HAVE_STYLESHEETS], [test "x$XSL_STYLESHEET" != "x"]) 854]) 855m4trace:/usr/share/aclocal/xorg-macros.m4:244: -1- AC_DEFUN([XORG_CHECK_LINUXDOC], [ 856AC_REQUIRE([XORG_CHECK_SGML_DOCTOOLS]) 857AC_REQUIRE([XORG_WITH_PS2PDF]) 858 859AC_PATH_PROG(LINUXDOC, linuxdoc) 860 861AC_MSG_CHECKING([whether to build documentation]) 862 863if test x$XORG_SGML_PATH != x && test x$LINUXDOC != x ; then 864 BUILDDOC=yes 865else 866 BUILDDOC=no 867fi 868 869AM_CONDITIONAL(BUILD_LINUXDOC, [test x$BUILDDOC = xyes]) 870 871AC_MSG_RESULT([$BUILDDOC]) 872 873AC_MSG_CHECKING([whether to build pdf documentation]) 874 875if test x$have_ps2pdf != xno && test x$BUILD_PDFDOC != xno; then 876 BUILDPDFDOC=yes 877else 878 BUILDPDFDOC=no 879fi 880 881AM_CONDITIONAL(BUILD_PDFDOC, [test x$BUILDPDFDOC = xyes]) 882 883AC_MSG_RESULT([$BUILDPDFDOC]) 884 885MAKE_TEXT="SGML_SEARCH_PATH=$XORG_SGML_PATH GROFF_NO_SGR=y $LINUXDOC -B txt -f" 886MAKE_PS="SGML_SEARCH_PATH=$XORG_SGML_PATH $LINUXDOC -B latex --papersize=letter --output=ps" 887MAKE_PDF="$PS2PDF" 888MAKE_HTML="SGML_SEARCH_PATH=$XORG_SGML_PATH $LINUXDOC -B html --split=0" 889 890AC_SUBST(MAKE_TEXT) 891AC_SUBST(MAKE_PS) 892AC_SUBST(MAKE_PDF) 893AC_SUBST(MAKE_HTML) 894]) 895m4trace:/usr/share/aclocal/xorg-macros.m4:293: -1- AC_DEFUN([XORG_CHECK_DOCBOOK], [ 896AC_REQUIRE([XORG_CHECK_SGML_DOCTOOLS]) 897 898BUILDTXTDOC=no 899BUILDPDFDOC=no 900BUILDPSDOC=no 901BUILDHTMLDOC=no 902 903AC_PATH_PROG(DOCBOOKPS, docbook2ps) 904AC_PATH_PROG(DOCBOOKPDF, docbook2pdf) 905AC_PATH_PROG(DOCBOOKHTML, docbook2html) 906AC_PATH_PROG(DOCBOOKTXT, docbook2txt) 907 908AC_MSG_CHECKING([whether to build text documentation]) 909if test x$XORG_SGML_PATH != x && test x$DOCBOOKTXT != x && 910 test x$BUILD_TXTDOC != xno; then 911 BUILDTXTDOC=yes 912fi 913AM_CONDITIONAL(BUILD_TXTDOC, [test x$BUILDTXTDOC = xyes]) 914AC_MSG_RESULT([$BUILDTXTDOC]) 915 916AC_MSG_CHECKING([whether to build PDF documentation]) 917if test x$XORG_SGML_PATH != x && test x$DOCBOOKPDF != x && 918 test x$BUILD_PDFDOC != xno; then 919 BUILDPDFDOC=yes 920fi 921AM_CONDITIONAL(BUILD_PDFDOC, [test x$BUILDPDFDOC = xyes]) 922AC_MSG_RESULT([$BUILDPDFDOC]) 923 924AC_MSG_CHECKING([whether to build PostScript documentation]) 925if test x$XORG_SGML_PATH != x && test x$DOCBOOKPS != x && 926 test x$BUILD_PSDOC != xno; then 927 BUILDPSDOC=yes 928fi 929AM_CONDITIONAL(BUILD_PSDOC, [test x$BUILDPSDOC = xyes]) 930AC_MSG_RESULT([$BUILDPSDOC]) 931 932AC_MSG_CHECKING([whether to build HTML documentation]) 933if test x$XORG_SGML_PATH != x && test x$DOCBOOKHTML != x && 934 test x$BUILD_HTMLDOC != xno; then 935 BUILDHTMLDOC=yes 936fi 937AM_CONDITIONAL(BUILD_HTMLDOC, [test x$BUILDHTMLDOC = xyes]) 938AC_MSG_RESULT([$BUILDHTMLDOC]) 939 940MAKE_TEXT="SGML_SEARCH_PATH=$XORG_SGML_PATH $DOCBOOKTXT" 941MAKE_PS="SGML_SEARCH_PATH=$XORG_SGML_PATH $DOCBOOKPS" 942MAKE_PDF="SGML_SEARCH_PATH=$XORG_SGML_PATH $DOCBOOKPDF" 943MAKE_HTML="SGML_SEARCH_PATH=$XORG_SGML_PATH $DOCBOOKHTML" 944 945AC_SUBST(MAKE_TEXT) 946AC_SUBST(MAKE_PS) 947AC_SUBST(MAKE_PDF) 948AC_SUBST(MAKE_HTML) 949]) 950m4trace:/usr/share/aclocal/xorg-macros.m4:374: -1- AC_DEFUN([XORG_WITH_XMLTO], [ 951AC_ARG_VAR([XMLTO], [Path to xmlto command]) 952m4_define([_defopt], m4_default([$2], [auto])) 953AC_ARG_WITH(xmlto, 954 AS_HELP_STRING([--with-xmlto], 955 [Use xmlto to regenerate documentation (default: ]_defopt[)]), 956 [use_xmlto=$withval], [use_xmlto=]_defopt) 957m4_undefine([_defopt]) 958 959if test "x$use_xmlto" = x"auto"; then 960 AC_PATH_PROG([XMLTO], [xmlto]) 961 if test "x$XMLTO" = "x"; then 962 AC_MSG_WARN([xmlto not found - documentation targets will be skipped]) 963 have_xmlto=no 964 else 965 have_xmlto=yes 966 fi 967elif test "x$use_xmlto" = x"yes" ; then 968 AC_PATH_PROG([XMLTO], [xmlto]) 969 if test "x$XMLTO" = "x"; then 970 AC_MSG_ERROR([--with-xmlto=yes specified but xmlto not found in PATH]) 971 fi 972 have_xmlto=yes 973elif test "x$use_xmlto" = x"no" ; then 974 if test "x$XMLTO" != "x"; then 975 AC_MSG_WARN([ignoring XMLTO environment variable since --with-xmlto=no was specified]) 976 fi 977 have_xmlto=no 978else 979 AC_MSG_ERROR([--with-xmlto expects 'yes' or 'no']) 980fi 981 982# Test for a minimum version of xmlto, if provided. 983m4_ifval([$1], 984[if test "$have_xmlto" = yes; then 985 # scrape the xmlto version 986 AC_MSG_CHECKING([the xmlto version]) 987 xmlto_version=`$XMLTO --version 2>/dev/null | cut -d' ' -f3` 988 AC_MSG_RESULT([$xmlto_version]) 989 AS_VERSION_COMPARE([$xmlto_version], [$1], 990 [if test "x$use_xmlto" = xauto; then 991 AC_MSG_WARN([xmlto version $xmlto_version found, but $1 needed]) 992 have_xmlto=no 993 else 994 AC_MSG_ERROR([xmlto version $xmlto_version found, but $1 needed]) 995 fi]) 996fi]) 997 998# Test for the ability of xmlto to generate a text target 999have_xmlto_text=no 1000cat > conftest.xml << "EOF" 1001EOF 1002AS_IF([test "$have_xmlto" = yes], 1003 [AS_IF([$XMLTO --skip-validation txt conftest.xml >/dev/null 2>&1], 1004 [have_xmlto_text=yes], 1005 [AC_MSG_WARN([xmlto cannot generate text format, this format skipped])])]) 1006rm -f conftest.xml 1007AM_CONDITIONAL([HAVE_XMLTO_TEXT], [test $have_xmlto_text = yes]) 1008AM_CONDITIONAL([HAVE_XMLTO], [test "$have_xmlto" = yes]) 1009]) 1010m4trace:/usr/share/aclocal/xorg-macros.m4:458: -1- AC_DEFUN([XORG_WITH_XSLTPROC], [ 1011AC_ARG_VAR([XSLTPROC], [Path to xsltproc command]) 1012# Preserves the interface, should it be implemented later 1013m4_ifval([$1], [m4_warn([syntax], [Checking for xsltproc MIN-VERSION is not implemented])]) 1014m4_define([_defopt], m4_default([$2], [auto])) 1015AC_ARG_WITH(xsltproc, 1016 AS_HELP_STRING([--with-xsltproc], 1017 [Use xsltproc for the transformation of XML documents (default: ]_defopt[)]), 1018 [use_xsltproc=$withval], [use_xsltproc=]_defopt) 1019m4_undefine([_defopt]) 1020 1021if test "x$use_xsltproc" = x"auto"; then 1022 AC_PATH_PROG([XSLTPROC], [xsltproc]) 1023 if test "x$XSLTPROC" = "x"; then 1024 AC_MSG_WARN([xsltproc not found - cannot transform XML documents]) 1025 have_xsltproc=no 1026 else 1027 have_xsltproc=yes 1028 fi 1029elif test "x$use_xsltproc" = x"yes" ; then 1030 AC_PATH_PROG([XSLTPROC], [xsltproc]) 1031 if test "x$XSLTPROC" = "x"; then 1032 AC_MSG_ERROR([--with-xsltproc=yes specified but xsltproc not found in PATH]) 1033 fi 1034 have_xsltproc=yes 1035elif test "x$use_xsltproc" = x"no" ; then 1036 if test "x$XSLTPROC" != "x"; then 1037 AC_MSG_WARN([ignoring XSLTPROC environment variable since --with-xsltproc=no was specified]) 1038 fi 1039 have_xsltproc=no 1040else 1041 AC_MSG_ERROR([--with-xsltproc expects 'yes' or 'no']) 1042fi 1043 1044AM_CONDITIONAL([HAVE_XSLTPROC], [test "$have_xsltproc" = yes]) 1045]) 1046m4trace:/usr/share/aclocal/xorg-macros.m4:515: -1- AC_DEFUN([XORG_WITH_PERL], [ 1047AC_ARG_VAR([PERL], [Path to perl command]) 1048# Preserves the interface, should it be implemented later 1049m4_ifval([$1], [m4_warn([syntax], [Checking for perl MIN-VERSION is not implemented])]) 1050m4_define([_defopt], m4_default([$2], [auto])) 1051AC_ARG_WITH(perl, 1052 AS_HELP_STRING([--with-perl], 1053 [Use perl for extracting information from files (default: ]_defopt[)]), 1054 [use_perl=$withval], [use_perl=]_defopt) 1055m4_undefine([_defopt]) 1056 1057if test "x$use_perl" = x"auto"; then 1058 AC_PATH_PROG([PERL], [perl]) 1059 if test "x$PERL" = "x"; then 1060 AC_MSG_WARN([perl not found - cannot extract information and report]) 1061 have_perl=no 1062 else 1063 have_perl=yes 1064 fi 1065elif test "x$use_perl" = x"yes" ; then 1066 AC_PATH_PROG([PERL], [perl]) 1067 if test "x$PERL" = "x"; then 1068 AC_MSG_ERROR([--with-perl=yes specified but perl not found in PATH]) 1069 fi 1070 have_perl=yes 1071elif test "x$use_perl" = x"no" ; then 1072 if test "x$PERL" != "x"; then 1073 AC_MSG_WARN([ignoring PERL environment variable since --with-perl=no was specified]) 1074 fi 1075 have_perl=no 1076else 1077 AC_MSG_ERROR([--with-perl expects 'yes' or 'no']) 1078fi 1079 1080AM_CONDITIONAL([HAVE_PERL], [test "$have_perl" = yes]) 1081]) 1082m4trace:/usr/share/aclocal/xorg-macros.m4:573: -1- AC_DEFUN([XORG_WITH_ASCIIDOC], [ 1083AC_ARG_VAR([ASCIIDOC], [Path to asciidoc command]) 1084m4_define([_defopt], m4_default([$2], [auto])) 1085AC_ARG_WITH(asciidoc, 1086 AS_HELP_STRING([--with-asciidoc], 1087 [Use asciidoc to regenerate documentation (default: ]_defopt[)]), 1088 [use_asciidoc=$withval], [use_asciidoc=]_defopt) 1089m4_undefine([_defopt]) 1090 1091if test "x$use_asciidoc" = x"auto"; then 1092 AC_PATH_PROG([ASCIIDOC], [asciidoc]) 1093 if test "x$ASCIIDOC" = "x"; then 1094 AC_MSG_WARN([asciidoc not found - documentation targets will be skipped]) 1095 have_asciidoc=no 1096 else 1097 have_asciidoc=yes 1098 fi 1099elif test "x$use_asciidoc" = x"yes" ; then 1100 AC_PATH_PROG([ASCIIDOC], [asciidoc]) 1101 if test "x$ASCIIDOC" = "x"; then 1102 AC_MSG_ERROR([--with-asciidoc=yes specified but asciidoc not found in PATH]) 1103 fi 1104 have_asciidoc=yes 1105elif test "x$use_asciidoc" = x"no" ; then 1106 if test "x$ASCIIDOC" != "x"; then 1107 AC_MSG_WARN([ignoring ASCIIDOC environment variable since --with-asciidoc=no was specified]) 1108 fi 1109 have_asciidoc=no 1110else 1111 AC_MSG_ERROR([--with-asciidoc expects 'yes' or 'no']) 1112fi 1113m4_ifval([$1], 1114[if test "$have_asciidoc" = yes; then 1115 # scrape the asciidoc version 1116 AC_MSG_CHECKING([the asciidoc version]) 1117 asciidoc_version=`$ASCIIDOC --version 2>/dev/null | cut -d' ' -f2` 1118 AC_MSG_RESULT([$asciidoc_version]) 1119 AS_VERSION_COMPARE([$asciidoc_version], [$1], 1120 [if test "x$use_asciidoc" = xauto; then 1121 AC_MSG_WARN([asciidoc version $asciidoc_version found, but $1 needed]) 1122 have_asciidoc=no 1123 else 1124 AC_MSG_ERROR([asciidoc version $asciidoc_version found, but $1 needed]) 1125 fi]) 1126fi]) 1127AM_CONDITIONAL([HAVE_ASCIIDOC], [test "$have_asciidoc" = yes]) 1128]) 1129m4trace:/usr/share/aclocal/xorg-macros.m4:642: -1- AC_DEFUN([XORG_WITH_DOXYGEN], [ 1130AC_ARG_VAR([DOXYGEN], [Path to doxygen command]) 1131m4_define([_defopt], m4_default([$2], [auto])) 1132AC_ARG_WITH(doxygen, 1133 AS_HELP_STRING([--with-doxygen], 1134 [Use doxygen to regenerate documentation (default: ]_defopt[)]), 1135 [use_doxygen=$withval], [use_doxygen=]_defopt) 1136m4_undefine([_defopt]) 1137 1138if test "x$use_doxygen" = x"auto"; then 1139 AC_PATH_PROG([DOXYGEN], [doxygen]) 1140 if test "x$DOXYGEN" = "x"; then 1141 AC_MSG_WARN([doxygen not found - documentation targets will be skipped]) 1142 have_doxygen=no 1143 else 1144 have_doxygen=yes 1145 fi 1146elif test "x$use_doxygen" = x"yes" ; then 1147 AC_PATH_PROG([DOXYGEN], [doxygen]) 1148 if test "x$DOXYGEN" = "x"; then 1149 AC_MSG_ERROR([--with-doxygen=yes specified but doxygen not found in PATH]) 1150 fi 1151 have_doxygen=yes 1152elif test "x$use_doxygen" = x"no" ; then 1153 if test "x$DOXYGEN" != "x"; then 1154 AC_MSG_WARN([ignoring DOXYGEN environment variable since --with-doxygen=no was specified]) 1155 fi 1156 have_doxygen=no 1157else 1158 AC_MSG_ERROR([--with-doxygen expects 'yes' or 'no']) 1159fi 1160m4_ifval([$1], 1161[if test "$have_doxygen" = yes; then 1162 # scrape the doxygen version 1163 AC_MSG_CHECKING([the doxygen version]) 1164 doxygen_version=`$DOXYGEN --version 2>/dev/null` 1165 AC_MSG_RESULT([$doxygen_version]) 1166 AS_VERSION_COMPARE([$doxygen_version], [$1], 1167 [if test "x$use_doxygen" = xauto; then 1168 AC_MSG_WARN([doxygen version $doxygen_version found, but $1 needed]) 1169 have_doxygen=no 1170 else 1171 AC_MSG_ERROR([doxygen version $doxygen_version found, but $1 needed]) 1172 fi]) 1173fi]) 1174AM_CONDITIONAL([HAVE_DOXYGEN], [test "$have_doxygen" = yes]) 1175]) 1176m4trace:/usr/share/aclocal/xorg-macros.m4:727: -1- AC_DEFUN([XORG_WITH_GROFF], [ 1177AC_ARG_VAR([GROFF], [Path to groff command]) 1178m4_define([_defopt], m4_default([$1], [auto])) 1179AC_ARG_WITH(groff, 1180 AS_HELP_STRING([--with-groff], 1181 [Use groff to regenerate documentation (default: ]_defopt[)]), 1182 [use_groff=$withval], [use_groff=]_defopt) 1183m4_undefine([_defopt]) 1184 1185if test "x$use_groff" = x"auto"; then 1186 AC_PATH_PROG([GROFF], [groff]) 1187 if test "x$GROFF" = "x"; then 1188 AC_MSG_WARN([groff not found - documentation targets will be skipped]) 1189 have_groff=no 1190 else 1191 have_groff=yes 1192 fi 1193elif test "x$use_groff" = x"yes" ; then 1194 AC_PATH_PROG([GROFF], [groff]) 1195 if test "x$GROFF" = "x"; then 1196 AC_MSG_ERROR([--with-groff=yes specified but groff not found in PATH]) 1197 fi 1198 have_groff=yes 1199elif test "x$use_groff" = x"no" ; then 1200 if test "x$GROFF" != "x"; then 1201 AC_MSG_WARN([ignoring GROFF environment variable since --with-groff=no was specified]) 1202 fi 1203 have_groff=no 1204else 1205 AC_MSG_ERROR([--with-groff expects 'yes' or 'no']) 1206fi 1207 1208# We have groff, test for the presence of the macro packages 1209if test "x$have_groff" = x"yes"; then 1210 AC_MSG_CHECKING([for ${GROFF} -ms macros]) 1211 if ${GROFF} -ms -I. /dev/null >/dev/null 2>&1 ; then 1212 groff_ms_works=yes 1213 else 1214 groff_ms_works=no 1215 fi 1216 AC_MSG_RESULT([$groff_ms_works]) 1217 AC_MSG_CHECKING([for ${GROFF} -mm macros]) 1218 if ${GROFF} -mm -I. /dev/null >/dev/null 2>&1 ; then 1219 groff_mm_works=yes 1220 else 1221 groff_mm_works=no 1222 fi 1223 AC_MSG_RESULT([$groff_mm_works]) 1224fi 1225 1226# We have groff, test for HTML dependencies, one command per package 1227if test "x$have_groff" = x"yes"; then 1228 AC_PATH_PROGS(GS_PATH, [gs gswin32c]) 1229 AC_PATH_PROG(PNMTOPNG_PATH, [pnmtopng]) 1230 AC_PATH_PROG(PSSELECT_PATH, [psselect]) 1231 if test "x$GS_PATH" != "x" -a "x$PNMTOPNG_PATH" != "x" -a "x$PSSELECT_PATH" != "x"; then 1232 have_groff_html=yes 1233 else 1234 have_groff_html=no 1235 AC_MSG_WARN([grohtml dependencies not found - HTML Documentation skipped. Refer to grohtml man pages]) 1236 fi 1237fi 1238 1239# Set Automake conditionals for Makefiles 1240AM_CONDITIONAL([HAVE_GROFF], [test "$have_groff" = yes]) 1241AM_CONDITIONAL([HAVE_GROFF_MS], [test "$groff_ms_works" = yes]) 1242AM_CONDITIONAL([HAVE_GROFF_MM], [test "$groff_mm_works" = yes]) 1243AM_CONDITIONAL([HAVE_GROFF_HTML], [test "$have_groff_html" = yes]) 1244]) 1245m4trace:/usr/share/aclocal/xorg-macros.m4:819: -1- AC_DEFUN([XORG_WITH_FOP], [ 1246AC_ARG_VAR([FOP], [Path to fop command]) 1247m4_define([_defopt], m4_default([$2], [auto])) 1248AC_ARG_WITH(fop, 1249 AS_HELP_STRING([--with-fop], 1250 [Use fop to regenerate documentation (default: ]_defopt[)]), 1251 [use_fop=$withval], [use_fop=]_defopt) 1252m4_undefine([_defopt]) 1253 1254if test "x$use_fop" = x"auto"; then 1255 AC_PATH_PROG([FOP], [fop]) 1256 if test "x$FOP" = "x"; then 1257 AC_MSG_WARN([fop not found - documentation targets will be skipped]) 1258 have_fop=no 1259 else 1260 have_fop=yes 1261 fi 1262elif test "x$use_fop" = x"yes" ; then 1263 AC_PATH_PROG([FOP], [fop]) 1264 if test "x$FOP" = "x"; then 1265 AC_MSG_ERROR([--with-fop=yes specified but fop not found in PATH]) 1266 fi 1267 have_fop=yes 1268elif test "x$use_fop" = x"no" ; then 1269 if test "x$FOP" != "x"; then 1270 AC_MSG_WARN([ignoring FOP environment variable since --with-fop=no was specified]) 1271 fi 1272 have_fop=no 1273else 1274 AC_MSG_ERROR([--with-fop expects 'yes' or 'no']) 1275fi 1276 1277# Test for a minimum version of fop, if provided. 1278m4_ifval([$1], 1279[if test "$have_fop" = yes; then 1280 # scrape the fop version 1281 AC_MSG_CHECKING([for fop minimum version]) 1282 fop_version=`$FOP -version 2>/dev/null | cut -d' ' -f3` 1283 AC_MSG_RESULT([$fop_version]) 1284 AS_VERSION_COMPARE([$fop_version], [$1], 1285 [if test "x$use_fop" = xauto; then 1286 AC_MSG_WARN([fop version $fop_version found, but $1 needed]) 1287 have_fop=no 1288 else 1289 AC_MSG_ERROR([fop version $fop_version found, but $1 needed]) 1290 fi]) 1291fi]) 1292AM_CONDITIONAL([HAVE_FOP], [test "$have_fop" = yes]) 1293]) 1294m4trace:/usr/share/aclocal/xorg-macros.m4:890: -1- AC_DEFUN([XORG_WITH_PS2PDF], [ 1295AC_ARG_VAR([PS2PDF], [Path to ps2pdf command]) 1296m4_define([_defopt], m4_default([$1], [auto])) 1297AC_ARG_WITH(ps2pdf, 1298 AS_HELP_STRING([--with-ps2pdf], 1299 [Use ps2pdf to regenerate documentation (default: ]_defopt[)]), 1300 [use_ps2pdf=$withval], [use_ps2pdf=]_defopt) 1301m4_undefine([_defopt]) 1302 1303if test "x$use_ps2pdf" = x"auto"; then 1304 AC_PATH_PROG([PS2PDF], [ps2pdf]) 1305 if test "x$PS2PDF" = "x"; then 1306 AC_MSG_WARN([ps2pdf not found - documentation targets will be skipped]) 1307 have_ps2pdf=no 1308 else 1309 have_ps2pdf=yes 1310 fi 1311elif test "x$use_ps2pdf" = x"yes" ; then 1312 AC_PATH_PROG([PS2PDF], [ps2pdf]) 1313 if test "x$PS2PDF" = "x"; then 1314 AC_MSG_ERROR([--with-ps2pdf=yes specified but ps2pdf not found in PATH]) 1315 fi 1316 have_ps2pdf=yes 1317elif test "x$use_ps2pdf" = x"no" ; then 1318 if test "x$PS2PDF" != "x"; then 1319 AC_MSG_WARN([ignoring PS2PDF environment variable since --with-ps2pdf=no was specified]) 1320 fi 1321 have_ps2pdf=no 1322else 1323 AC_MSG_ERROR([--with-ps2pdf expects 'yes' or 'no']) 1324fi 1325AM_CONDITIONAL([HAVE_PS2PDF], [test "$have_ps2pdf" = yes]) 1326]) 1327m4trace:/usr/share/aclocal/xorg-macros.m4:947: -1- AC_DEFUN([XORG_ENABLE_DOCS], [ 1328m4_define([docs_default], m4_default([$1], [yes])) 1329AC_ARG_ENABLE(docs, 1330 AS_HELP_STRING([--enable-docs], 1331 [Enable building the documentation (default: ]docs_default[)]), 1332 [build_docs=$enableval], [build_docs=]docs_default) 1333m4_undefine([docs_default]) 1334AM_CONDITIONAL(ENABLE_DOCS, [test x$build_docs = xyes]) 1335AC_MSG_CHECKING([whether to build documentation]) 1336AC_MSG_RESULT([$build_docs]) 1337]) 1338m4trace:/usr/share/aclocal/xorg-macros.m4:980: -1- AC_DEFUN([XORG_ENABLE_DEVEL_DOCS], [ 1339m4_define([devel_default], m4_default([$1], [yes])) 1340AC_ARG_ENABLE(devel-docs, 1341 AS_HELP_STRING([--enable-devel-docs], 1342 [Enable building the developer documentation (default: ]devel_default[)]), 1343 [build_devel_docs=$enableval], [build_devel_docs=]devel_default) 1344m4_undefine([devel_default]) 1345AM_CONDITIONAL(ENABLE_DEVEL_DOCS, [test x$build_devel_docs = xyes]) 1346AC_MSG_CHECKING([whether to build developer documentation]) 1347AC_MSG_RESULT([$build_devel_docs]) 1348]) 1349m4trace:/usr/share/aclocal/xorg-macros.m4:1013: -1- AC_DEFUN([XORG_ENABLE_SPECS], [ 1350m4_define([spec_default], m4_default([$1], [yes])) 1351AC_ARG_ENABLE(specs, 1352 AS_HELP_STRING([--enable-specs], 1353 [Enable building the specs (default: ]spec_default[)]), 1354 [build_specs=$enableval], [build_specs=]spec_default) 1355m4_undefine([spec_default]) 1356AM_CONDITIONAL(ENABLE_SPECS, [test x$build_specs = xyes]) 1357AC_MSG_CHECKING([whether to build functional specifications]) 1358AC_MSG_RESULT([$build_specs]) 1359]) 1360m4trace:/usr/share/aclocal/xorg-macros.m4:1045: -1- AC_DEFUN([XORG_ENABLE_UNIT_TESTS], [ 1361AC_BEFORE([$0], [XORG_WITH_GLIB]) 1362AC_BEFORE([$0], [XORG_LD_WRAP]) 1363AC_REQUIRE([XORG_MEMORY_CHECK_FLAGS]) 1364m4_define([_defopt], m4_default([$1], [auto])) 1365AC_ARG_ENABLE(unit-tests, AS_HELP_STRING([--enable-unit-tests], 1366 [Enable building unit test cases (default: ]_defopt[)]), 1367 [enable_unit_tests=$enableval], [enable_unit_tests=]_defopt) 1368m4_undefine([_defopt]) 1369AM_CONDITIONAL(ENABLE_UNIT_TESTS, [test "x$enable_unit_tests" != xno]) 1370AC_MSG_CHECKING([whether to build unit test cases]) 1371AC_MSG_RESULT([$enable_unit_tests]) 1372]) 1373m4trace:/usr/share/aclocal/xorg-macros.m4:1078: -1- AC_DEFUN([XORG_ENABLE_INTEGRATION_TESTS], [ 1374AC_REQUIRE([XORG_MEMORY_CHECK_FLAGS]) 1375m4_define([_defopt], m4_default([$1], [auto])) 1376AC_ARG_ENABLE(integration-tests, AS_HELP_STRING([--enable-integration-tests], 1377 [Enable building integration test cases (default: ]_defopt[)]), 1378 [enable_integration_tests=$enableval], 1379 [enable_integration_tests=]_defopt) 1380m4_undefine([_defopt]) 1381AM_CONDITIONAL([ENABLE_INTEGRATION_TESTS], 1382 [test "x$enable_integration_tests" != xno]) 1383AC_MSG_CHECKING([whether to build unit test cases]) 1384AC_MSG_RESULT([$enable_integration_tests]) 1385]) 1386m4trace:/usr/share/aclocal/xorg-macros.m4:1112: -1- AC_DEFUN([XORG_WITH_GLIB], [ 1387AC_REQUIRE([PKG_PROG_PKG_CONFIG]) 1388m4_define([_defopt], m4_default([$2], [auto])) 1389AC_ARG_WITH(glib, AS_HELP_STRING([--with-glib], 1390 [Use GLib library for unit testing (default: ]_defopt[)]), 1391 [with_glib=$withval], [with_glib=]_defopt) 1392m4_undefine([_defopt]) 1393 1394have_glib=no 1395# Do not probe GLib if user explicitly disabled unit testing 1396if test "x$enable_unit_tests" != x"no"; then 1397 # Do not probe GLib if user explicitly disabled it 1398 if test "x$with_glib" != x"no"; then 1399 m4_ifval( 1400 [$1], 1401 [PKG_CHECK_MODULES([GLIB], [glib-2.0 >= $1], [have_glib=yes], [have_glib=no])], 1402 [PKG_CHECK_MODULES([GLIB], [glib-2.0], [have_glib=yes], [have_glib=no])] 1403 ) 1404 fi 1405fi 1406 1407# Not having GLib when unit testing has been explicitly requested is an error 1408if test "x$enable_unit_tests" = x"yes"; then 1409 if test "x$have_glib" = x"no"; then 1410 AC_MSG_ERROR([--enable-unit-tests=yes specified but glib-2.0 not found]) 1411 fi 1412fi 1413 1414# Having unit testing disabled when GLib has been explicitly requested is an error 1415if test "x$enable_unit_tests" = x"no"; then 1416 if test "x$with_glib" = x"yes"; then 1417 AC_MSG_ERROR([--enable-unit-tests=yes specified but glib-2.0 not found]) 1418 fi 1419fi 1420 1421# Not having GLib when it has been explicitly requested is an error 1422if test "x$with_glib" = x"yes"; then 1423 if test "x$have_glib" = x"no"; then 1424 AC_MSG_ERROR([--with-glib=yes specified but glib-2.0 not found]) 1425 fi 1426fi 1427 1428AM_CONDITIONAL([HAVE_GLIB], [test "$have_glib" = yes]) 1429]) 1430m4trace:/usr/share/aclocal/xorg-macros.m4:1171: -1- AC_DEFUN([XORG_LD_WRAP], [ 1431XORG_CHECK_LINKER_FLAGS([-Wl,-wrap,exit],[have_ld_wrap=yes],[have_ld_wrap=no], 1432 [AC_LANG_PROGRAM([#include <stdlib.h> 1433 void __wrap_exit(int status) { return; }], 1434 [exit(0);])]) 1435# Not having ld wrap when unit testing has been explicitly requested is an error 1436if test "x$enable_unit_tests" = x"yes" -a "x$1" != "xoptional"; then 1437 if test "x$have_ld_wrap" = x"no"; then 1438 AC_MSG_ERROR([--enable-unit-tests=yes specified but ld -wrap support is not available]) 1439 fi 1440fi 1441AM_CONDITIONAL([HAVE_LD_WRAP], [test "$have_ld_wrap" = yes]) 1442# 1443]) 1444m4trace:/usr/share/aclocal/xorg-macros.m4:1235: -1- AC_DEFUN([XORG_CHECK_LINKER_FLAGS], [AC_MSG_CHECKING([whether the linker accepts $1]) 1445dnl Some hackery here since AC_CACHE_VAL can't handle a non-literal varname: 1446AS_LITERAL_IF([$1], 1447 [AC_CACHE_VAL(AS_TR_SH(xorg_cv_linker_flags_[$1]), [ 1448 ax_save_FLAGS=$LDFLAGS 1449 LDFLAGS="$1" 1450 AC_LINK_IFELSE([m4_default([$4],[AC_LANG_PROGRAM()])], 1451 AS_TR_SH(xorg_cv_linker_flags_[$1])=yes, 1452 AS_TR_SH(xorg_cv_linker_flags_[$1])=no) 1453 LDFLAGS=$ax_save_FLAGS])], 1454 [ax_save_FLAGS=$LDFLAGS 1455 LDFLAGS="$1" 1456 AC_LINK_IFELSE([AC_LANG_PROGRAM()], 1457 eval AS_TR_SH(xorg_cv_linker_flags_[$1])=yes, 1458 eval AS_TR_SH(xorg_cv_linker_flags_[$1])=no) 1459 LDFLAGS=$ax_save_FLAGS]) 1460eval xorg_check_linker_flags=$AS_TR_SH(xorg_cv_linker_flags_[$1]) 1461AC_MSG_RESULT($xorg_check_linker_flags) 1462if test "x$xorg_check_linker_flags" = xyes; then 1463 m4_default([$2], :) 1464else 1465 m4_default([$3], :) 1466fi 1467]) 1468m4trace:/usr/share/aclocal/xorg-macros.m4:1275: -1- AC_DEFUN([XORG_MEMORY_CHECK_FLAGS], [ 1469 1470AC_REQUIRE([AC_CANONICAL_HOST]) 1471AC_ARG_VAR([XORG_MALLOC_DEBUG_ENV], 1472 [Environment variables to enable memory checking in tests]) 1473 1474# Check for different types of support on different platforms 1475case $host_os in 1476 solaris*) 1477 AC_CHECK_LIB([umem], [umem_alloc], 1478 [malloc_debug_env='LD_PRELOAD=libumem.so UMEM_DEBUG=default']) 1479 ;; 1480 *-gnu*) # GNU libc - Value is used as a single byte bit pattern, 1481 # both directly and inverted, so should not be 0 or 255. 1482 malloc_debug_env='MALLOC_PERTURB_=15' 1483 ;; 1484 darwin*) 1485 malloc_debug_env='MallocPreScribble=1 MallocScribble=1 DYLD_INSERT_LIBRARIES=/usr/lib/libgmalloc.dylib' 1486 ;; 1487 *bsd*) 1488 malloc_debug_env='MallocPreScribble=1 MallocScribble=1' 1489 ;; 1490esac 1491 1492# User supplied flags override default flags 1493if test "x$XORG_MALLOC_DEBUG_ENV" != "x"; then 1494 malloc_debug_env="$XORG_MALLOC_DEBUG_ENV" 1495fi 1496 1497AC_SUBST([XORG_MALLOC_DEBUG_ENV],[$malloc_debug_env]) 1498]) 1499m4trace:/usr/share/aclocal/xorg-macros.m4:1314: -1- AC_DEFUN([XORG_CHECK_MALLOC_ZERO], [ 1500AC_ARG_ENABLE(malloc0returnsnull, 1501 AS_HELP_STRING([--enable-malloc0returnsnull], 1502 [malloc(0) returns NULL (default: auto)]), 1503 [MALLOC_ZERO_RETURNS_NULL=$enableval], 1504 [MALLOC_ZERO_RETURNS_NULL=auto]) 1505 1506AC_MSG_CHECKING([whether malloc(0) returns NULL]) 1507if test "x$MALLOC_ZERO_RETURNS_NULL" = xauto; then 1508 AC_RUN_IFELSE([AC_LANG_PROGRAM([ 1509#include <stdlib.h> 1510],[ 1511 char *m0, *r0, *c0, *p; 1512 m0 = malloc(0); 1513 p = malloc(10); 1514 r0 = realloc(p,0); 1515 c0 = calloc(0,10); 1516 exit((m0 == 0 || r0 == 0 || c0 == 0) ? 0 : 1); 1517])], 1518 [MALLOC_ZERO_RETURNS_NULL=yes], 1519 [MALLOC_ZERO_RETURNS_NULL=no], 1520 [MALLOC_ZERO_RETURNS_NULL=yes]) 1521fi 1522AC_MSG_RESULT([$MALLOC_ZERO_RETURNS_NULL]) 1523 1524if test "x$MALLOC_ZERO_RETURNS_NULL" = xyes; then 1525 MALLOC_ZERO_CFLAGS="-DMALLOC_0_RETURNS_NULL" 1526 XMALLOC_ZERO_CFLAGS=$MALLOC_ZERO_CFLAGS 1527 XTMALLOC_ZERO_CFLAGS="$MALLOC_ZERO_CFLAGS -DXTMALLOC_BC" 1528else 1529 MALLOC_ZERO_CFLAGS="" 1530 XMALLOC_ZERO_CFLAGS="" 1531 XTMALLOC_ZERO_CFLAGS="" 1532fi 1533 1534AC_SUBST([MALLOC_ZERO_CFLAGS]) 1535AC_SUBST([XMALLOC_ZERO_CFLAGS]) 1536AC_SUBST([XTMALLOC_ZERO_CFLAGS]) 1537]) 1538m4trace:/usr/share/aclocal/xorg-macros.m4:1375: -1- AC_DEFUN([XORG_WITH_LINT], [ 1539 1540AC_ARG_VAR([LINT], [Path to a lint-style command]) 1541AC_ARG_VAR([LINT_FLAGS], [Flags for the lint-style command]) 1542AC_ARG_WITH(lint, [AS_HELP_STRING([--with-lint], 1543 [Use a lint-style source code checker (default: disabled)])], 1544 [use_lint=$withval], [use_lint=no]) 1545 1546# Obtain platform specific info like program name and options 1547# The lint program on FreeBSD and NetBSD is different from the one on Solaris 1548case $host_os in 1549 *linux* | *openbsd* | kfreebsd*-gnu | darwin* | cygwin*) 1550 lint_name=splint 1551 lint_options="-badflag" 1552 ;; 1553 *freebsd* | *netbsd*) 1554 lint_name=lint 1555 lint_options="-u -b" 1556 ;; 1557 *solaris*) 1558 lint_name=lint 1559 lint_options="-u -b -h -erroff=E_INDISTING_FROM_TRUNC2" 1560 ;; 1561esac 1562 1563# Test for the presence of the program (either guessed by the code or spelled out by the user) 1564if test "x$use_lint" = x"yes" ; then 1565 AC_PATH_PROG([LINT], [$lint_name]) 1566 if test "x$LINT" = "x"; then 1567 AC_MSG_ERROR([--with-lint=yes specified but lint-style tool not found in PATH]) 1568 fi 1569elif test "x$use_lint" = x"no" ; then 1570 if test "x$LINT" != "x"; then 1571 AC_MSG_WARN([ignoring LINT environment variable since --with-lint=no was specified]) 1572 fi 1573else 1574 AC_MSG_ERROR([--with-lint expects 'yes' or 'no'. Use LINT variable to specify path.]) 1575fi 1576 1577# User supplied flags override default flags 1578if test "x$LINT_FLAGS" != "x"; then 1579 lint_options=$LINT_FLAGS 1580fi 1581 1582AC_SUBST([LINT_FLAGS],[$lint_options]) 1583AM_CONDITIONAL(LINT, [test "x$LINT" != x]) 1584 1585]) 1586m4trace:/usr/share/aclocal/xorg-macros.m4:1438: -1- AC_DEFUN([XORG_LINT_LIBRARY], [ 1587AC_REQUIRE([XORG_WITH_LINT]) 1588AC_ARG_ENABLE(lint-library, [AS_HELP_STRING([--enable-lint-library], 1589 [Create lint library (default: disabled)])], 1590 [make_lint_lib=$enableval], [make_lint_lib=no]) 1591 1592if test "x$make_lint_lib" = x"yes" ; then 1593 LINTLIB=llib-l$1.ln 1594 if test "x$LINT" = "x"; then 1595 AC_MSG_ERROR([Cannot make lint library without --with-lint]) 1596 fi 1597elif test "x$make_lint_lib" != x"no" ; then 1598 AC_MSG_ERROR([--enable-lint-library expects 'yes' or 'no'.]) 1599fi 1600 1601AC_SUBST(LINTLIB) 1602AM_CONDITIONAL(MAKE_LINT_LIB, [test x$make_lint_lib != xno]) 1603 1604]) 1605m4trace:/usr/share/aclocal/xorg-macros.m4:1469: -1- AC_DEFUN([XORG_COMPILER_BRAND], [ 1606AC_LANG_CASE( 1607 [C], [ 1608 AC_REQUIRE([AC_PROG_CC_C99]) 1609 ], 1610 [C++], [ 1611 AC_REQUIRE([AC_PROG_CXX]) 1612 ] 1613) 1614AC_CHECK_DECL([__clang__], [CLANGCC="yes"], [CLANGCC="no"]) 1615AC_CHECK_DECL([__INTEL_COMPILER], [INTELCC="yes"], [INTELCC="no"]) 1616AC_CHECK_DECL([__SUNPRO_C], [SUNCC="yes"], [SUNCC="no"]) 1617]) 1618m4trace:/usr/share/aclocal/xorg-macros.m4:1496: -1- AC_DEFUN([XORG_TESTSET_CFLAG], [ 1619m4_if([$#], 0, [m4_fatal([XORG_TESTSET_CFLAG was given with an unsupported number of arguments])]) 1620m4_if([$#], 1, [m4_fatal([XORG_TESTSET_CFLAG was given with an unsupported number of arguments])]) 1621 1622AC_LANG_COMPILER_REQUIRE 1623 1624AC_LANG_CASE( 1625 [C], [ 1626 AC_REQUIRE([AC_PROG_CC_C99]) 1627 define([PREFIX], [C]) 1628 define([CACHE_PREFIX], [cc]) 1629 define([COMPILER], [$CC]) 1630 ], 1631 [C++], [ 1632 define([PREFIX], [CXX]) 1633 define([CACHE_PREFIX], [cxx]) 1634 define([COMPILER], [$CXX]) 1635 ] 1636) 1637 1638[xorg_testset_save_]PREFIX[FLAGS]="$PREFIX[FLAGS]" 1639 1640if test "x$[xorg_testset_]CACHE_PREFIX[_unknown_warning_option]" = "x" ; then 1641 PREFIX[FLAGS]="$PREFIX[FLAGS] -Werror=unknown-warning-option" 1642 AC_CACHE_CHECK([if ]COMPILER[ supports -Werror=unknown-warning-option], 1643 [xorg_cv_]CACHE_PREFIX[_flag_unknown_warning_option], 1644 AC_COMPILE_IFELSE([AC_LANG_SOURCE([int i;])], 1645 [xorg_cv_]CACHE_PREFIX[_flag_unknown_warning_option=yes], 1646 [xorg_cv_]CACHE_PREFIX[_flag_unknown_warning_option=no])) 1647 [xorg_testset_]CACHE_PREFIX[_unknown_warning_option]=$[xorg_cv_]CACHE_PREFIX[_flag_unknown_warning_option] 1648 PREFIX[FLAGS]="$[xorg_testset_save_]PREFIX[FLAGS]" 1649fi 1650 1651if test "x$[xorg_testset_]CACHE_PREFIX[_unused_command_line_argument]" = "x" ; then 1652 if test "x$[xorg_testset_]CACHE_PREFIX[_unknown_warning_option]" = "xyes" ; then 1653 PREFIX[FLAGS]="$PREFIX[FLAGS] -Werror=unknown-warning-option" 1654 fi 1655 PREFIX[FLAGS]="$PREFIX[FLAGS] -Werror=unused-command-line-argument" 1656 AC_CACHE_CHECK([if ]COMPILER[ supports -Werror=unused-command-line-argument], 1657 [xorg_cv_]CACHE_PREFIX[_flag_unused_command_line_argument], 1658 AC_COMPILE_IFELSE([AC_LANG_SOURCE([int i;])], 1659 [xorg_cv_]CACHE_PREFIX[_flag_unused_command_line_argument=yes], 1660 [xorg_cv_]CACHE_PREFIX[_flag_unused_command_line_argument=no])) 1661 [xorg_testset_]CACHE_PREFIX[_unused_command_line_argument]=$[xorg_cv_]CACHE_PREFIX[_flag_unused_command_line_argument] 1662 PREFIX[FLAGS]="$[xorg_testset_save_]PREFIX[FLAGS]" 1663fi 1664 1665found="no" 1666m4_foreach([flag], m4_cdr($@), [ 1667 if test $found = "no" ; then 1668 if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then 1669 PREFIX[FLAGS]="$PREFIX[FLAGS] -Werror=unknown-warning-option" 1670 fi 1671 1672 if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then 1673 PREFIX[FLAGS]="$PREFIX[FLAGS] -Werror=unused-command-line-argument" 1674 fi 1675 1676 PREFIX[FLAGS]="$PREFIX[FLAGS] ]flag[" 1677 1678dnl Some hackery here since AC_CACHE_VAL can't handle a non-literal varname 1679 AC_MSG_CHECKING([if ]COMPILER[ supports]flag[]) 1680 cacheid=AS_TR_SH([xorg_cv_]CACHE_PREFIX[_flag_]flag[]) 1681 AC_CACHE_VAL($cacheid, 1682 [AC_LINK_IFELSE([AC_LANG_PROGRAM([int i;])], 1683 [eval $cacheid=yes], 1684 [eval $cacheid=no])]) 1685 1686 PREFIX[FLAGS]="$[xorg_testset_save_]PREFIX[FLAGS]" 1687 1688 eval supported=\$$cacheid 1689 AC_MSG_RESULT([$supported]) 1690 if test "$supported" = "yes" ; then 1691 $1="$$1 ]flag[" 1692 found="yes" 1693 fi 1694 fi 1695]) 1696]) 1697m4trace:/usr/share/aclocal/xorg-macros.m4:1588: -1- AC_DEFUN([XORG_COMPILER_FLAGS], [ 1698AC_REQUIRE([XORG_COMPILER_BRAND]) 1699 1700AC_ARG_ENABLE(selective-werror, 1701 AS_HELP_STRING([--disable-selective-werror], 1702 [Turn off selective compiler errors. (default: enabled)]), 1703 [SELECTIVE_WERROR=$enableval], 1704 [SELECTIVE_WERROR=yes]) 1705 1706AC_LANG_CASE( 1707 [C], [ 1708 define([PREFIX], [C]) 1709 ], 1710 [C++], [ 1711 define([PREFIX], [CXX]) 1712 ] 1713) 1714# -v is too short to test reliably with XORG_TESTSET_CFLAG 1715if test "x$SUNCC" = "xyes"; then 1716 [BASE_]PREFIX[FLAGS]="-v" 1717else 1718 [BASE_]PREFIX[FLAGS]="" 1719fi 1720 1721# This chunk of warnings were those that existed in the legacy CWARNFLAGS 1722XORG_TESTSET_CFLAG([[BASE_]PREFIX[FLAGS]], [-Wall]) 1723XORG_TESTSET_CFLAG([[BASE_]PREFIX[FLAGS]], [-Wpointer-arith]) 1724XORG_TESTSET_CFLAG([[BASE_]PREFIX[FLAGS]], [-Wmissing-declarations]) 1725XORG_TESTSET_CFLAG([[BASE_]PREFIX[FLAGS]], [-Wformat=2], [-Wformat]) 1726 1727AC_LANG_CASE( 1728 [C], [ 1729 XORG_TESTSET_CFLAG([[BASE_]PREFIX[FLAGS]], [-Wstrict-prototypes]) 1730 XORG_TESTSET_CFLAG([[BASE_]PREFIX[FLAGS]], [-Wmissing-prototypes]) 1731 XORG_TESTSET_CFLAG([[BASE_]PREFIX[FLAGS]], [-Wnested-externs]) 1732 XORG_TESTSET_CFLAG([[BASE_]PREFIX[FLAGS]], [-Wbad-function-cast]) 1733 XORG_TESTSET_CFLAG([[BASE_]PREFIX[FLAGS]], [-Wold-style-definition]) 1734 XORG_TESTSET_CFLAG([[BASE_]PREFIX[FLAGS]], [-Wdeclaration-after-statement]) 1735 ] 1736) 1737 1738# This chunk adds additional warnings that could catch undesired effects. 1739XORG_TESTSET_CFLAG([[BASE_]PREFIX[FLAGS]], [-Wunused]) 1740XORG_TESTSET_CFLAG([[BASE_]PREFIX[FLAGS]], [-Wuninitialized]) 1741XORG_TESTSET_CFLAG([[BASE_]PREFIX[FLAGS]], [-Wshadow]) 1742XORG_TESTSET_CFLAG([[BASE_]PREFIX[FLAGS]], [-Wcast-qual]) 1743XORG_TESTSET_CFLAG([[BASE_]PREFIX[FLAGS]], [-Wmissing-noreturn]) 1744XORG_TESTSET_CFLAG([[BASE_]PREFIX[FLAGS]], [-Wmissing-format-attribute]) 1745XORG_TESTSET_CFLAG([[BASE_]PREFIX[FLAGS]], [-Wredundant-decls]) 1746 1747# These are currently disabled because they are noisy. They will be enabled 1748# in the future once the codebase is sufficiently modernized to silence 1749# them. For now, I don't want them to drown out the other warnings. 1750# XORG_TESTSET_CFLAG([[BASE_]PREFIX[FLAGS]], [-Wlogical-op]) 1751# XORG_TESTSET_CFLAG([[BASE_]PREFIX[FLAGS]], [-Wparentheses]) 1752# XORG_TESTSET_CFLAG([[BASE_]PREFIX[FLAGS]], [-Wcast-align]) 1753 1754# Turn some warnings into errors, so we don't accidently get successful builds 1755# when there are problems that should be fixed. 1756 1757if test "x$SELECTIVE_WERROR" = "xyes" ; then 1758XORG_TESTSET_CFLAG([[BASE_]PREFIX[FLAGS]], [-Werror=implicit], [-errwarn=E_NO_EXPLICIT_TYPE_GIVEN -errwarn=E_NO_IMPLICIT_DECL_ALLOWED]) 1759XORG_TESTSET_CFLAG([[BASE_]PREFIX[FLAGS]], [-Werror=nonnull]) 1760XORG_TESTSET_CFLAG([[BASE_]PREFIX[FLAGS]], [-Werror=init-self]) 1761XORG_TESTSET_CFLAG([[BASE_]PREFIX[FLAGS]], [-Werror=main]) 1762XORG_TESTSET_CFLAG([[BASE_]PREFIX[FLAGS]], [-Werror=missing-braces]) 1763XORG_TESTSET_CFLAG([[BASE_]PREFIX[FLAGS]], [-Werror=sequence-point]) 1764XORG_TESTSET_CFLAG([[BASE_]PREFIX[FLAGS]], [-Werror=return-type], [-errwarn=E_FUNC_HAS_NO_RETURN_STMT]) 1765XORG_TESTSET_CFLAG([[BASE_]PREFIX[FLAGS]], [-Werror=trigraphs]) 1766XORG_TESTSET_CFLAG([[BASE_]PREFIX[FLAGS]], [-Werror=array-bounds]) 1767XORG_TESTSET_CFLAG([[BASE_]PREFIX[FLAGS]], [-Werror=write-strings]) 1768XORG_TESTSET_CFLAG([[BASE_]PREFIX[FLAGS]], [-Werror=address]) 1769XORG_TESTSET_CFLAG([[BASE_]PREFIX[FLAGS]], [-Werror=int-to-pointer-cast], [-errwarn=E_BAD_PTR_INT_COMBINATION]) 1770XORG_TESTSET_CFLAG([[BASE_]PREFIX[FLAGS]], [-Werror=pointer-to-int-cast]) # Also -errwarn=E_BAD_PTR_INT_COMBINATION 1771else 1772AC_MSG_WARN([You have chosen not to turn some select compiler warnings into errors. This should not be necessary. Please report why you needed to do so in a bug report at $PACKAGE_BUGREPORT]) 1773XORG_TESTSET_CFLAG([[BASE_]PREFIX[FLAGS]], [-Wimplicit]) 1774XORG_TESTSET_CFLAG([[BASE_]PREFIX[FLAGS]], [-Wnonnull]) 1775XORG_TESTSET_CFLAG([[BASE_]PREFIX[FLAGS]], [-Winit-self]) 1776XORG_TESTSET_CFLAG([[BASE_]PREFIX[FLAGS]], [-Wmain]) 1777XORG_TESTSET_CFLAG([[BASE_]PREFIX[FLAGS]], [-Wmissing-braces]) 1778XORG_TESTSET_CFLAG([[BASE_]PREFIX[FLAGS]], [-Wsequence-point]) 1779XORG_TESTSET_CFLAG([[BASE_]PREFIX[FLAGS]], [-Wreturn-type]) 1780XORG_TESTSET_CFLAG([[BASE_]PREFIX[FLAGS]], [-Wtrigraphs]) 1781XORG_TESTSET_CFLAG([[BASE_]PREFIX[FLAGS]], [-Warray-bounds]) 1782XORG_TESTSET_CFLAG([[BASE_]PREFIX[FLAGS]], [-Wwrite-strings]) 1783XORG_TESTSET_CFLAG([[BASE_]PREFIX[FLAGS]], [-Waddress]) 1784XORG_TESTSET_CFLAG([[BASE_]PREFIX[FLAGS]], [-Wint-to-pointer-cast]) 1785XORG_TESTSET_CFLAG([[BASE_]PREFIX[FLAGS]], [-Wpointer-to-int-cast]) 1786fi 1787 1788AC_SUBST([BASE_]PREFIX[FLAGS]) 1789]) 1790m4trace:/usr/share/aclocal/xorg-macros.m4:1694: -1- AC_DEFUN([XORG_CWARNFLAGS], [ 1791AC_REQUIRE([XORG_COMPILER_FLAGS]) 1792AC_REQUIRE([XORG_COMPILER_BRAND]) 1793AC_LANG_CASE( 1794 [C], [ 1795 CWARNFLAGS="$BASE_CFLAGS" 1796 if test "x$GCC" = xyes ; then 1797 CWARNFLAGS="$CWARNFLAGS -fno-strict-aliasing" 1798 fi 1799 AC_SUBST(CWARNFLAGS) 1800 ] 1801) 1802]) 1803m4trace:/usr/share/aclocal/xorg-macros.m4:1719: -1- AC_DEFUN([XORG_STRICT_OPTION], [ 1804AC_REQUIRE([XORG_CWARNFLAGS]) 1805AC_REQUIRE([XORG_COMPILER_FLAGS]) 1806 1807AC_ARG_ENABLE(strict-compilation, 1808 AS_HELP_STRING([--enable-strict-compilation], 1809 [Enable all warnings from compiler and make them errors (default: disabled)]), 1810 [STRICT_COMPILE=$enableval], [STRICT_COMPILE=no]) 1811 1812AC_LANG_CASE( 1813 [C], [ 1814 define([PREFIX], [C]) 1815 ], 1816 [C++], [ 1817 define([PREFIX], [CXX]) 1818 ] 1819) 1820 1821[STRICT_]PREFIX[FLAGS]="" 1822XORG_TESTSET_CFLAG([[STRICT_]PREFIX[FLAGS]], [-pedantic]) 1823XORG_TESTSET_CFLAG([[STRICT_]PREFIX[FLAGS]], [-Werror], [-errwarn]) 1824 1825# Earlier versions of gcc (eg: 4.2) support -Werror=attributes, but do not 1826# activate it with -Werror, so we add it here explicitly. 1827XORG_TESTSET_CFLAG([[STRICT_]PREFIX[FLAGS]], [-Werror=attributes]) 1828 1829if test "x$STRICT_COMPILE" = "xyes"; then 1830 [BASE_]PREFIX[FLAGS]="$[BASE_]PREFIX[FLAGS] $[STRICT_]PREFIX[FLAGS]" 1831 AC_LANG_CASE([C], [CWARNFLAGS="$CWARNFLAGS $STRICT_CFLAGS"]) 1832fi 1833AC_SUBST([STRICT_]PREFIX[FLAGS]) 1834AC_SUBST([BASE_]PREFIX[FLAGS]) 1835AC_LANG_CASE([C], AC_SUBST([CWARNFLAGS])) 1836]) 1837m4trace:/usr/share/aclocal/xorg-macros.m4:1760: -1- AC_DEFUN([XORG_DEFAULT_OPTIONS], [ 1838AC_REQUIRE([AC_PROG_INSTALL]) 1839XORG_COMPILER_FLAGS 1840XORG_CWARNFLAGS 1841XORG_STRICT_OPTION 1842XORG_RELEASE_VERSION 1843XORG_CHANGELOG 1844XORG_INSTALL 1845XORG_MANPAGE_SECTIONS 1846m4_ifdef([AM_SILENT_RULES], [AM_SILENT_RULES([yes])], 1847 [AC_SUBST([AM_DEFAULT_VERBOSITY], [1])]) 1848]) 1849m4trace:/usr/share/aclocal/xorg-macros.m4:1780: -1- AC_DEFUN([XORG_INSTALL], [ 1850AC_REQUIRE([PKG_PROG_PKG_CONFIG]) 1851macros_datadir=`$PKG_CONFIG --print-errors --variable=pkgdatadir xorg-macros` 1852INSTALL_CMD="(cp -f "$macros_datadir/INSTALL" \$(top_srcdir)/.INSTALL.tmp && \ 1853mv \$(top_srcdir)/.INSTALL.tmp \$(top_srcdir)/INSTALL) \ 1854|| (rm -f \$(top_srcdir)/.INSTALL.tmp; touch \$(top_srcdir)/INSTALL; \ 1855echo 'util-macros \"pkgdatadir\" from xorg-macros.pc not found: installing possibly empty INSTALL.' >&2)" 1856AC_SUBST([INSTALL_CMD]) 1857]) 1858m4trace:/usr/share/aclocal/xorg-macros.m4:1818: -1- AC_DEFUN([XORG_RELEASE_VERSION], [ 1859 AC_DEFINE_UNQUOTED([PACKAGE_VERSION_MAJOR], 1860 [`echo $PACKAGE_VERSION | cut -d . -f 1`], 1861 [Major version of this package]) 1862 PVM=`echo $PACKAGE_VERSION | cut -d . -f 2 | cut -d - -f 1` 1863 if test "x$PVM" = "x"; then 1864 PVM="0" 1865 fi 1866 AC_DEFINE_UNQUOTED([PACKAGE_VERSION_MINOR], 1867 [$PVM], 1868 [Minor version of this package]) 1869 PVP=`echo $PACKAGE_VERSION | cut -d . -f 3 | cut -d - -f 1` 1870 if test "x$PVP" = "x"; then 1871 PVP="0" 1872 fi 1873 AC_DEFINE_UNQUOTED([PACKAGE_VERSION_PATCHLEVEL], 1874 [$PVP], 1875 [Patch version of this package]) 1876]) 1877m4trace:/usr/share/aclocal/xorg-macros.m4:1846: -1- AC_DEFUN([XORG_CHANGELOG], [ 1878CHANGELOG_CMD="(GIT_DIR=\$(top_srcdir)/.git git log > \$(top_srcdir)/.changelog.tmp && \ 1879mv \$(top_srcdir)/.changelog.tmp \$(top_srcdir)/ChangeLog) \ 1880|| (rm -f \$(top_srcdir)/.changelog.tmp; touch \$(top_srcdir)/ChangeLog; \ 1881echo 'git directory not found: installing possibly empty changelog.' >&2)" 1882AC_SUBST([CHANGELOG_CMD]) 1883]) 1884m4trace:/usr/share/aclocal-1.14/amversion.m4:14: -1- AC_DEFUN([AM_AUTOMAKE_VERSION], [am__api_version='1.14' 1885dnl Some users find AM_AUTOMAKE_VERSION and mistake it for a way to 1886dnl require some minimum version. Point them to the right macro. 1887m4_if([$1], [1.14.1], [], 1888 [AC_FATAL([Do not call $0, use AM_INIT_AUTOMAKE([$1]).])])dnl 1889]) 1890m4trace:/usr/share/aclocal-1.14/amversion.m4:33: -1- AC_DEFUN([AM_SET_CURRENT_AUTOMAKE_VERSION], [AM_AUTOMAKE_VERSION([1.14.1])dnl 1891m4_ifndef([AC_AUTOCONF_VERSION], 1892 [m4_copy([m4_PACKAGE_VERSION], [AC_AUTOCONF_VERSION])])dnl 1893_AM_AUTOCONF_VERSION(m4_defn([AC_AUTOCONF_VERSION]))]) 1894m4trace:/usr/share/aclocal-1.14/auxdir.m4:47: -1- AC_DEFUN([AM_AUX_DIR_EXPAND], [dnl Rely on autoconf to set up CDPATH properly. 1895AC_PREREQ([2.50])dnl 1896# expand $ac_aux_dir to an absolute path 1897am_aux_dir=`cd $ac_aux_dir && pwd` 1898]) 1899m4trace:/usr/share/aclocal-1.14/cond.m4:12: -1- AC_DEFUN([AM_CONDITIONAL], [AC_PREREQ([2.52])dnl 1900 m4_if([$1], [TRUE], [AC_FATAL([$0: invalid condition: $1])], 1901 [$1], [FALSE], [AC_FATAL([$0: invalid condition: $1])])dnl 1902AC_SUBST([$1_TRUE])dnl 1903AC_SUBST([$1_FALSE])dnl 1904_AM_SUBST_NOTMAKE([$1_TRUE])dnl 1905_AM_SUBST_NOTMAKE([$1_FALSE])dnl 1906m4_define([_AM_COND_VALUE_$1], [$2])dnl 1907if $2; then 1908 $1_TRUE= 1909 $1_FALSE='#' 1910else 1911 $1_TRUE='#' 1912 $1_FALSE= 1913fi 1914AC_CONFIG_COMMANDS_PRE( 1915[if test -z "${$1_TRUE}" && test -z "${$1_FALSE}"; then 1916 AC_MSG_ERROR([[conditional "$1" was never defined. 1917Usually this means the macro was only invoked conditionally.]]) 1918fi])]) 1919m4trace:/usr/share/aclocal-1.14/depend.m4:26: -1- AC_DEFUN([_AM_DEPENDENCIES], [AC_REQUIRE([AM_SET_DEPDIR])dnl 1920AC_REQUIRE([AM_OUTPUT_DEPENDENCY_COMMANDS])dnl 1921AC_REQUIRE([AM_MAKE_INCLUDE])dnl 1922AC_REQUIRE([AM_DEP_TRACK])dnl 1923 1924m4_if([$1], [CC], [depcc="$CC" am_compiler_list=], 1925 [$1], [CXX], [depcc="$CXX" am_compiler_list=], 1926 [$1], [OBJC], [depcc="$OBJC" am_compiler_list='gcc3 gcc'], 1927 [$1], [OBJCXX], [depcc="$OBJCXX" am_compiler_list='gcc3 gcc'], 1928 [$1], [UPC], [depcc="$UPC" am_compiler_list=], 1929 [$1], [GCJ], [depcc="$GCJ" am_compiler_list='gcc3 gcc'], 1930 [depcc="$$1" am_compiler_list=]) 1931 1932AC_CACHE_CHECK([dependency style of $depcc], 1933 [am_cv_$1_dependencies_compiler_type], 1934[if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then 1935 # We make a subdir and do the tests there. Otherwise we can end up 1936 # making bogus files that we don't know about and never remove. For 1937 # instance it was reported that on HP-UX the gcc test will end up 1938 # making a dummy file named 'D' -- because '-MD' means "put the output 1939 # in D". 1940 rm -rf conftest.dir 1941 mkdir conftest.dir 1942 # Copy depcomp to subdir because otherwise we won't find it if we're 1943 # using a relative directory. 1944 cp "$am_depcomp" conftest.dir 1945 cd conftest.dir 1946 # We will build objects and dependencies in a subdirectory because 1947 # it helps to detect inapplicable dependency modes. For instance 1948 # both Tru64's cc and ICC support -MD to output dependencies as a 1949 # side effect of compilation, but ICC will put the dependencies in 1950 # the current directory while Tru64 will put them in the object 1951 # directory. 1952 mkdir sub 1953 1954 am_cv_$1_dependencies_compiler_type=none 1955 if test "$am_compiler_list" = ""; then 1956 am_compiler_list=`sed -n ['s/^#*\([a-zA-Z0-9]*\))$/\1/p'] < ./depcomp` 1957 fi 1958 am__universal=false 1959 m4_case([$1], [CC], 1960 [case " $depcc " in #( 1961 *\ -arch\ *\ -arch\ *) am__universal=true ;; 1962 esac], 1963 [CXX], 1964 [case " $depcc " in #( 1965 *\ -arch\ *\ -arch\ *) am__universal=true ;; 1966 esac]) 1967 1968 for depmode in $am_compiler_list; do 1969 # Setup a source with many dependencies, because some compilers 1970 # like to wrap large dependency lists on column 80 (with \), and 1971 # we should not choose a depcomp mode which is confused by this. 1972 # 1973 # We need to recreate these files for each test, as the compiler may 1974 # overwrite some of them when testing with obscure command lines. 1975 # This happens at least with the AIX C compiler. 1976 : > sub/conftest.c 1977 for i in 1 2 3 4 5 6; do 1978 echo '#include "conftst'$i'.h"' >> sub/conftest.c 1979 # Using ": > sub/conftst$i.h" creates only sub/conftst1.h with 1980 # Solaris 10 /bin/sh. 1981 echo '/* dummy */' > sub/conftst$i.h 1982 done 1983 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf 1984 1985 # We check with '-c' and '-o' for the sake of the "dashmstdout" 1986 # mode. It turns out that the SunPro C++ compiler does not properly 1987 # handle '-M -o', and we need to detect this. Also, some Intel 1988 # versions had trouble with output in subdirs. 1989 am__obj=sub/conftest.${OBJEXT-o} 1990 am__minus_obj="-o $am__obj" 1991 case $depmode in 1992 gcc) 1993 # This depmode causes a compiler race in universal mode. 1994 test "$am__universal" = false || continue 1995 ;; 1996 nosideeffect) 1997 # After this tag, mechanisms are not by side-effect, so they'll 1998 # only be used when explicitly requested. 1999 if test "x$enable_dependency_tracking" = xyes; then 2000 continue 2001 else 2002 break 2003 fi 2004 ;; 2005 msvc7 | msvc7msys | msvisualcpp | msvcmsys) 2006 # This compiler won't grok '-c -o', but also, the minuso test has 2007 # not run yet. These depmodes are late enough in the game, and 2008 # so weak that their functioning should not be impacted. 2009 am__obj=conftest.${OBJEXT-o} 2010 am__minus_obj= 2011 ;; 2012 none) break ;; 2013 esac 2014 if depmode=$depmode \ 2015 source=sub/conftest.c object=$am__obj \ 2016 depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \ 2017 $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \ 2018 >/dev/null 2>conftest.err && 2019 grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 && 2020 grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 && 2021 grep $am__obj sub/conftest.Po > /dev/null 2>&1 && 2022 ${MAKE-make} -s -f confmf > /dev/null 2>&1; then 2023 # icc doesn't choke on unknown options, it will just issue warnings 2024 # or remarks (even with -Werror). So we grep stderr for any message 2025 # that says an option was ignored or not supported. 2026 # When given -MP, icc 7.0 and 7.1 complain thusly: 2027 # icc: Command line warning: ignoring option '-M'; no argument required 2028 # The diagnosis changed in icc 8.0: 2029 # icc: Command line remark: option '-MP' not supported 2030 if (grep 'ignoring option' conftest.err || 2031 grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else 2032 am_cv_$1_dependencies_compiler_type=$depmode 2033 break 2034 fi 2035 fi 2036 done 2037 2038 cd .. 2039 rm -rf conftest.dir 2040else 2041 am_cv_$1_dependencies_compiler_type=none 2042fi 2043]) 2044AC_SUBST([$1DEPMODE], [depmode=$am_cv_$1_dependencies_compiler_type]) 2045AM_CONDITIONAL([am__fastdep$1], [ 2046 test "x$enable_dependency_tracking" != xno \ 2047 && test "$am_cv_$1_dependencies_compiler_type" = gcc3]) 2048]) 2049m4trace:/usr/share/aclocal-1.14/depend.m4:163: -1- AC_DEFUN([AM_SET_DEPDIR], [AC_REQUIRE([AM_SET_LEADING_DOT])dnl 2050AC_SUBST([DEPDIR], ["${am__leading_dot}deps"])dnl 2051]) 2052m4trace:/usr/share/aclocal-1.14/depend.m4:171: -1- AC_DEFUN([AM_DEP_TRACK], [AC_ARG_ENABLE([dependency-tracking], [dnl 2053AS_HELP_STRING( 2054 [--enable-dependency-tracking], 2055 [do not reject slow dependency extractors]) 2056AS_HELP_STRING( 2057 [--disable-dependency-tracking], 2058 [speeds up one-time build])]) 2059if test "x$enable_dependency_tracking" != xno; then 2060 am_depcomp="$ac_aux_dir/depcomp" 2061 AMDEPBACKSLASH='\' 2062 am__nodep='_no' 2063fi 2064AM_CONDITIONAL([AMDEP], [test "x$enable_dependency_tracking" != xno]) 2065AC_SUBST([AMDEPBACKSLASH])dnl 2066_AM_SUBST_NOTMAKE([AMDEPBACKSLASH])dnl 2067AC_SUBST([am__nodep])dnl 2068_AM_SUBST_NOTMAKE([am__nodep])dnl 2069]) 2070m4trace:/usr/share/aclocal-1.14/depout.m4:12: -1- AC_DEFUN([_AM_OUTPUT_DEPENDENCY_COMMANDS], [{ 2071 # Older Autoconf quotes --file arguments for eval, but not when files 2072 # are listed without --file. Let's play safe and only enable the eval 2073 # if we detect the quoting. 2074 case $CONFIG_FILES in 2075 *\'*) eval set x "$CONFIG_FILES" ;; 2076 *) set x $CONFIG_FILES ;; 2077 esac 2078 shift 2079 for mf 2080 do 2081 # Strip MF so we end up with the name of the file. 2082 mf=`echo "$mf" | sed -e 's/:.*$//'` 2083 # Check whether this is an Automake generated Makefile or not. 2084 # We used to match only the files named 'Makefile.in', but 2085 # some people rename them; so instead we look at the file content. 2086 # Grep'ing the first line is not enough: some people post-process 2087 # each Makefile.in and add a new line on top of each file to say so. 2088 # Grep'ing the whole file is not good either: AIX grep has a line 2089 # limit of 2048, but all sed's we know have understand at least 4000. 2090 if sed -n 's,^#.*generated by automake.*,X,p' "$mf" | grep X >/dev/null 2>&1; then 2091 dirpart=`AS_DIRNAME("$mf")` 2092 else 2093 continue 2094 fi 2095 # Extract the definition of DEPDIR, am__include, and am__quote 2096 # from the Makefile without running 'make'. 2097 DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"` 2098 test -z "$DEPDIR" && continue 2099 am__include=`sed -n 's/^am__include = //p' < "$mf"` 2100 test -z "$am__include" && continue 2101 am__quote=`sed -n 's/^am__quote = //p' < "$mf"` 2102 # Find all dependency output files, they are included files with 2103 # $(DEPDIR) in their names. We invoke sed twice because it is the 2104 # simplest approach to changing $(DEPDIR) to its actual value in the 2105 # expansion. 2106 for file in `sed -n " 2107 s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \ 2108 sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g'`; do 2109 # Make sure the directory exists. 2110 test -f "$dirpart/$file" && continue 2111 fdir=`AS_DIRNAME(["$file"])` 2112 AS_MKDIR_P([$dirpart/$fdir]) 2113 # echo "creating $dirpart/$file" 2114 echo '# dummy' > "$dirpart/$file" 2115 done 2116 done 2117} 2118]) 2119m4trace:/usr/share/aclocal-1.14/depout.m4:71: -1- AC_DEFUN([AM_OUTPUT_DEPENDENCY_COMMANDS], [AC_CONFIG_COMMANDS([depfiles], 2120 [test x"$AMDEP_TRUE" != x"" || _AM_OUTPUT_DEPENDENCY_COMMANDS], 2121 [AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"]) 2122]) 2123m4trace:/usr/share/aclocal-1.14/init.m4:29: -1- AC_DEFUN([AM_INIT_AUTOMAKE], [AC_PREREQ([2.65])dnl 2124dnl Autoconf wants to disallow AM_ names. We explicitly allow 2125dnl the ones we care about. 2126m4_pattern_allow([^AM_[A-Z]+FLAGS$])dnl 2127AC_REQUIRE([AM_SET_CURRENT_AUTOMAKE_VERSION])dnl 2128AC_REQUIRE([AC_PROG_INSTALL])dnl 2129if test "`cd $srcdir && pwd`" != "`pwd`"; then 2130 # Use -I$(srcdir) only when $(srcdir) != ., so that make's output 2131 # is not polluted with repeated "-I." 2132 AC_SUBST([am__isrc], [' -I$(srcdir)'])_AM_SUBST_NOTMAKE([am__isrc])dnl 2133 # test to see if srcdir already configured 2134 if test -f $srcdir/config.status; then 2135 AC_MSG_ERROR([source directory already configured; run "make distclean" there first]) 2136 fi 2137fi 2138 2139# test whether we have cygpath 2140if test -z "$CYGPATH_W"; then 2141 if (cygpath --version) >/dev/null 2>/dev/null; then 2142 CYGPATH_W='cygpath -w' 2143 else 2144 CYGPATH_W=echo 2145 fi 2146fi 2147AC_SUBST([CYGPATH_W]) 2148 2149# Define the identity of the package. 2150dnl Distinguish between old-style and new-style calls. 2151m4_ifval([$2], 2152[AC_DIAGNOSE([obsolete], 2153 [$0: two- and three-arguments forms are deprecated.]) 2154m4_ifval([$3], [_AM_SET_OPTION([no-define])])dnl 2155 AC_SUBST([PACKAGE], [$1])dnl 2156 AC_SUBST([VERSION], [$2])], 2157[_AM_SET_OPTIONS([$1])dnl 2158dnl Diagnose old-style AC_INIT with new-style AM_AUTOMAKE_INIT. 2159m4_if( 2160 m4_ifdef([AC_PACKAGE_NAME], [ok]):m4_ifdef([AC_PACKAGE_VERSION], [ok]), 2161 [ok:ok],, 2162 [m4_fatal([AC_INIT should be called with package and version arguments])])dnl 2163 AC_SUBST([PACKAGE], ['AC_PACKAGE_TARNAME'])dnl 2164 AC_SUBST([VERSION], ['AC_PACKAGE_VERSION'])])dnl 2165 2166_AM_IF_OPTION([no-define],, 2167[AC_DEFINE_UNQUOTED([PACKAGE], ["$PACKAGE"], [Name of package]) 2168 AC_DEFINE_UNQUOTED([VERSION], ["$VERSION"], [Version number of package])])dnl 2169 2170# Some tools Automake needs. 2171AC_REQUIRE([AM_SANITY_CHECK])dnl 2172AC_REQUIRE([AC_ARG_PROGRAM])dnl 2173AM_MISSING_PROG([ACLOCAL], [aclocal-${am__api_version}]) 2174AM_MISSING_PROG([AUTOCONF], [autoconf]) 2175AM_MISSING_PROG([AUTOMAKE], [automake-${am__api_version}]) 2176AM_MISSING_PROG([AUTOHEADER], [autoheader]) 2177AM_MISSING_PROG([MAKEINFO], [makeinfo]) 2178AC_REQUIRE([AM_PROG_INSTALL_SH])dnl 2179AC_REQUIRE([AM_PROG_INSTALL_STRIP])dnl 2180AC_REQUIRE([AC_PROG_MKDIR_P])dnl 2181# For better backward compatibility. To be removed once Automake 1.9.x 2182# dies out for good. For more background, see: 2183# <http://lists.gnu.org/archive/html/automake/2012-07/msg00001.html> 2184# <http://lists.gnu.org/archive/html/automake/2012-07/msg00014.html> 2185AC_SUBST([mkdir_p], ['$(MKDIR_P)']) 2186# We need awk for the "check" target. The system "awk" is bad on 2187# some platforms. 2188AC_REQUIRE([AC_PROG_AWK])dnl 2189AC_REQUIRE([AC_PROG_MAKE_SET])dnl 2190AC_REQUIRE([AM_SET_LEADING_DOT])dnl 2191_AM_IF_OPTION([tar-ustar], [_AM_PROG_TAR([ustar])], 2192 [_AM_IF_OPTION([tar-pax], [_AM_PROG_TAR([pax])], 2193 [_AM_PROG_TAR([v7])])]) 2194_AM_IF_OPTION([no-dependencies],, 2195[AC_PROVIDE_IFELSE([AC_PROG_CC], 2196 [_AM_DEPENDENCIES([CC])], 2197 [m4_define([AC_PROG_CC], 2198 m4_defn([AC_PROG_CC])[_AM_DEPENDENCIES([CC])])])dnl 2199AC_PROVIDE_IFELSE([AC_PROG_CXX], 2200 [_AM_DEPENDENCIES([CXX])], 2201 [m4_define([AC_PROG_CXX], 2202 m4_defn([AC_PROG_CXX])[_AM_DEPENDENCIES([CXX])])])dnl 2203AC_PROVIDE_IFELSE([AC_PROG_OBJC], 2204 [_AM_DEPENDENCIES([OBJC])], 2205 [m4_define([AC_PROG_OBJC], 2206 m4_defn([AC_PROG_OBJC])[_AM_DEPENDENCIES([OBJC])])])dnl 2207AC_PROVIDE_IFELSE([AC_PROG_OBJCXX], 2208 [_AM_DEPENDENCIES([OBJCXX])], 2209 [m4_define([AC_PROG_OBJCXX], 2210 m4_defn([AC_PROG_OBJCXX])[_AM_DEPENDENCIES([OBJCXX])])])dnl 2211]) 2212AC_REQUIRE([AM_SILENT_RULES])dnl 2213dnl The testsuite driver may need to know about EXEEXT, so add the 2214dnl 'am__EXEEXT' conditional if _AM_COMPILER_EXEEXT was seen. This 2215dnl macro is hooked onto _AC_COMPILER_EXEEXT early, see below. 2216AC_CONFIG_COMMANDS_PRE(dnl 2217[m4_provide_if([_AM_COMPILER_EXEEXT], 2218 [AM_CONDITIONAL([am__EXEEXT], [test -n "$EXEEXT"])])])dnl 2219 2220# POSIX will say in a future version that running "rm -f" with no argument 2221# is OK; and we want to be able to make that assumption in our Makefile 2222# recipes. So use an aggressive probe to check that the usage we want is 2223# actually supported "in the wild" to an acceptable degree. 2224# See automake bug#10828. 2225# To make any issue more visible, cause the running configure to be aborted 2226# by default if the 'rm' program in use doesn't match our expectations; the 2227# user can still override this though. 2228if rm -f && rm -fr && rm -rf; then : OK; else 2229 cat >&2 <<'END' 2230Oops! 2231 2232Your 'rm' program seems unable to run without file operands specified 2233on the command line, even when the '-f' option is present. This is contrary 2234to the behaviour of most rm programs out there, and not conforming with 2235the upcoming POSIX standard: <http://austingroupbugs.net/view.php?id=542> 2236 2237Please tell bug-automake@gnu.org about your system, including the value 2238of your $PATH and any error possibly output before this message. This 2239can help us improve future automake versions. 2240 2241END 2242 if test x"$ACCEPT_INFERIOR_RM_PROGRAM" = x"yes"; then 2243 echo 'Configuration will proceed anyway, since you have set the' >&2 2244 echo 'ACCEPT_INFERIOR_RM_PROGRAM variable to "yes"' >&2 2245 echo >&2 2246 else 2247 cat >&2 <<'END' 2248Aborting the configuration process, to ensure you take notice of the issue. 2249 2250You can download and install GNU coreutils to get an 'rm' implementation 2251that behaves properly: <http://www.gnu.org/software/coreutils/>. 2252 2253If you want to complete the configuration process using your problematic 2254'rm' anyway, export the environment variable ACCEPT_INFERIOR_RM_PROGRAM 2255to "yes", and re-run configure. 2256 2257END 2258 AC_MSG_ERROR([Your 'rm' program is bad, sorry.]) 2259 fi 2260fi]) 2261m4trace:/usr/share/aclocal-1.14/init.m4:182: -1- AC_DEFUN([_AC_AM_CONFIG_HEADER_HOOK], [# Compute $1's index in $config_headers. 2262_am_arg=$1 2263_am_stamp_count=1 2264for _am_header in $config_headers :; do 2265 case $_am_header in 2266 $_am_arg | $_am_arg:* ) 2267 break ;; 2268 * ) 2269 _am_stamp_count=`expr $_am_stamp_count + 1` ;; 2270 esac 2271done 2272echo "timestamp for $_am_arg" >`AS_DIRNAME(["$_am_arg"])`/stamp-h[]$_am_stamp_count]) 2273m4trace:/usr/share/aclocal-1.14/install-sh.m4:11: -1- AC_DEFUN([AM_PROG_INSTALL_SH], [AC_REQUIRE([AM_AUX_DIR_EXPAND])dnl 2274if test x"${install_sh}" != xset; then 2275 case $am_aux_dir in 2276 *\ * | *\ *) 2277 install_sh="\${SHELL} '$am_aux_dir/install-sh'" ;; 2278 *) 2279 install_sh="\${SHELL} $am_aux_dir/install-sh" 2280 esac 2281fi 2282AC_SUBST([install_sh])]) 2283m4trace:/usr/share/aclocal-1.14/lead-dot.m4:10: -1- AC_DEFUN([AM_SET_LEADING_DOT], [rm -rf .tst 2>/dev/null 2284mkdir .tst 2>/dev/null 2285if test -d .tst; then 2286 am__leading_dot=. 2287else 2288 am__leading_dot=_ 2289fi 2290rmdir .tst 2>/dev/null 2291AC_SUBST([am__leading_dot])]) 2292m4trace:/usr/share/aclocal-1.14/maintainer.m4:16: -1- AC_DEFUN([AM_MAINTAINER_MODE], [m4_case(m4_default([$1], [disable]), 2293 [enable], [m4_define([am_maintainer_other], [disable])], 2294 [disable], [m4_define([am_maintainer_other], [enable])], 2295 [m4_define([am_maintainer_other], [enable]) 2296 m4_warn([syntax], [unexpected argument to AM@&t@_MAINTAINER_MODE: $1])]) 2297AC_MSG_CHECKING([whether to enable maintainer-specific portions of Makefiles]) 2298 dnl maintainer-mode's default is 'disable' unless 'enable' is passed 2299 AC_ARG_ENABLE([maintainer-mode], 2300 [AS_HELP_STRING([--]am_maintainer_other[-maintainer-mode], 2301 am_maintainer_other[ make rules and dependencies not useful 2302 (and sometimes confusing) to the casual installer])], 2303 [USE_MAINTAINER_MODE=$enableval], 2304 [USE_MAINTAINER_MODE=]m4_if(am_maintainer_other, [enable], [no], [yes])) 2305 AC_MSG_RESULT([$USE_MAINTAINER_MODE]) 2306 AM_CONDITIONAL([MAINTAINER_MODE], [test $USE_MAINTAINER_MODE = yes]) 2307 MAINT=$MAINTAINER_MODE_TRUE 2308 AC_SUBST([MAINT])dnl 2309 2310]) 2311m4trace:/usr/share/aclocal-1.14/make.m4:12: -1- AC_DEFUN([AM_MAKE_INCLUDE], [am_make=${MAKE-make} 2312cat > confinc << 'END' 2313am__doit: 2314 @echo this is the am__doit target 2315.PHONY: am__doit 2316END 2317# If we don't find an include directive, just comment out the code. 2318AC_MSG_CHECKING([for style of include used by $am_make]) 2319am__include="#" 2320am__quote= 2321_am_result=none 2322# First try GNU make style include. 2323echo "include confinc" > confmf 2324# Ignore all kinds of additional output from 'make'. 2325case `$am_make -s -f confmf 2> /dev/null` in #( 2326*the\ am__doit\ target*) 2327 am__include=include 2328 am__quote= 2329 _am_result=GNU 2330 ;; 2331esac 2332# Now try BSD make style include. 2333if test "$am__include" = "#"; then 2334 echo '.include "confinc"' > confmf 2335 case `$am_make -s -f confmf 2> /dev/null` in #( 2336 *the\ am__doit\ target*) 2337 am__include=.include 2338 am__quote="\"" 2339 _am_result=BSD 2340 ;; 2341 esac 2342fi 2343AC_SUBST([am__include]) 2344AC_SUBST([am__quote]) 2345AC_MSG_RESULT([$_am_result]) 2346rm -f confinc confmf 2347]) 2348m4trace:/usr/share/aclocal-1.14/missing.m4:11: -1- AC_DEFUN([AM_MISSING_PROG], [AC_REQUIRE([AM_MISSING_HAS_RUN]) 2349$1=${$1-"${am_missing_run}$2"} 2350AC_SUBST($1)]) 2351m4trace:/usr/share/aclocal-1.14/missing.m4:20: -1- AC_DEFUN([AM_MISSING_HAS_RUN], [AC_REQUIRE([AM_AUX_DIR_EXPAND])dnl 2352AC_REQUIRE_AUX_FILE([missing])dnl 2353if test x"${MISSING+set}" != xset; then 2354 case $am_aux_dir in 2355 *\ * | *\ *) 2356 MISSING="\${SHELL} \"$am_aux_dir/missing\"" ;; 2357 *) 2358 MISSING="\${SHELL} $am_aux_dir/missing" ;; 2359 esac 2360fi 2361# Use eval to expand $SHELL 2362if eval "$MISSING --is-lightweight"; then 2363 am_missing_run="$MISSING " 2364else 2365 am_missing_run= 2366 AC_MSG_WARN(['missing' script is too old or missing]) 2367fi 2368]) 2369m4trace:/usr/share/aclocal-1.14/options.m4:11: -1- AC_DEFUN([_AM_MANGLE_OPTION], [[_AM_OPTION_]m4_bpatsubst($1, [[^a-zA-Z0-9_]], [_])]) 2370m4trace:/usr/share/aclocal-1.14/options.m4:17: -1- AC_DEFUN([_AM_SET_OPTION], [m4_define(_AM_MANGLE_OPTION([$1]), [1])]) 2371m4trace:/usr/share/aclocal-1.14/options.m4:23: -1- AC_DEFUN([_AM_SET_OPTIONS], [m4_foreach_w([_AM_Option], [$1], [_AM_SET_OPTION(_AM_Option)])]) 2372m4trace:/usr/share/aclocal-1.14/options.m4:29: -1- AC_DEFUN([_AM_IF_OPTION], [m4_ifset(_AM_MANGLE_OPTION([$1]), [$2], [$3])]) 2373m4trace:/usr/share/aclocal-1.14/prog-cc-c-o.m4:12: -1- AC_DEFUN([_AM_PROG_CC_C_O], [AC_REQUIRE([AM_AUX_DIR_EXPAND])dnl 2374AC_REQUIRE_AUX_FILE([compile])dnl 2375AC_LANG_PUSH([C])dnl 2376AC_CACHE_CHECK( 2377 [whether $CC understands -c and -o together], 2378 [am_cv_prog_cc_c_o], 2379 [AC_LANG_CONFTEST([AC_LANG_PROGRAM([])]) 2380 # Make sure it works both with $CC and with simple cc. 2381 # Following AC_PROG_CC_C_O, we do the test twice because some 2382 # compilers refuse to overwrite an existing .o file with -o, 2383 # though they will create one. 2384 am_cv_prog_cc_c_o=yes 2385 for am_i in 1 2; do 2386 if AM_RUN_LOG([$CC -c conftest.$ac_ext -o conftest2.$ac_objext]) \ 2387 && test -f conftest2.$ac_objext; then 2388 : OK 2389 else 2390 am_cv_prog_cc_c_o=no 2391 break 2392 fi 2393 done 2394 rm -f core conftest* 2395 unset am_i]) 2396if test "$am_cv_prog_cc_c_o" != yes; then 2397 # Losing compiler, so override with the script. 2398 # FIXME: It is wrong to rewrite CC. 2399 # But if we don't then we get into trouble of one sort or another. 2400 # A longer-term fix would be to have automake use am__CC in this case, 2401 # and then we could set am__CC="\$(top_srcdir)/compile \$(CC)" 2402 CC="$am_aux_dir/compile $CC" 2403fi 2404AC_LANG_POP([C])]) 2405m4trace:/usr/share/aclocal-1.14/prog-cc-c-o.m4:47: -1- AC_DEFUN_ONCE([AM_PROG_CC_C_O], [AC_REQUIRE([AC_PROG_CC])]) 2406m4trace:/usr/share/aclocal-1.14/runlog.m4:12: -1- AC_DEFUN([AM_RUN_LOG], [{ echo "$as_me:$LINENO: $1" >&AS_MESSAGE_LOG_FD 2407 ($1) >&AS_MESSAGE_LOG_FD 2>&AS_MESSAGE_LOG_FD 2408 ac_status=$? 2409 echo "$as_me:$LINENO: \$? = $ac_status" >&AS_MESSAGE_LOG_FD 2410 (exit $ac_status); }]) 2411m4trace:/usr/share/aclocal-1.14/sanity.m4:11: -1- AC_DEFUN([AM_SANITY_CHECK], [AC_MSG_CHECKING([whether build environment is sane]) 2412# Reject unsafe characters in $srcdir or the absolute working directory 2413# name. Accept space and tab only in the latter. 2414am_lf=' 2415' 2416case `pwd` in 2417 *[[\\\"\#\$\&\'\`$am_lf]]*) 2418 AC_MSG_ERROR([unsafe absolute working directory name]);; 2419esac 2420case $srcdir in 2421 *[[\\\"\#\$\&\'\`$am_lf\ \ ]]*) 2422 AC_MSG_ERROR([unsafe srcdir value: '$srcdir']);; 2423esac 2424 2425# Do 'set' in a subshell so we don't clobber the current shell's 2426# arguments. Must try -L first in case configure is actually a 2427# symlink; some systems play weird games with the mod time of symlinks 2428# (eg FreeBSD returns the mod time of the symlink's containing 2429# directory). 2430if ( 2431 am_has_slept=no 2432 for am_try in 1 2; do 2433 echo "timestamp, slept: $am_has_slept" > conftest.file 2434 set X `ls -Lt "$srcdir/configure" conftest.file 2> /dev/null` 2435 if test "$[*]" = "X"; then 2436 # -L didn't work. 2437 set X `ls -t "$srcdir/configure" conftest.file` 2438 fi 2439 if test "$[*]" != "X $srcdir/configure conftest.file" \ 2440 && test "$[*]" != "X conftest.file $srcdir/configure"; then 2441 2442 # If neither matched, then we have a broken ls. This can happen 2443 # if, for instance, CONFIG_SHELL is bash and it inherits a 2444 # broken ls alias from the environment. This has actually 2445 # happened. Such a system could not be considered "sane". 2446 AC_MSG_ERROR([ls -t appears to fail. Make sure there is not a broken 2447 alias in your environment]) 2448 fi 2449 if test "$[2]" = conftest.file || test $am_try -eq 2; then 2450 break 2451 fi 2452 # Just in case. 2453 sleep 1 2454 am_has_slept=yes 2455 done 2456 test "$[2]" = conftest.file 2457 ) 2458then 2459 # Ok. 2460 : 2461else 2462 AC_MSG_ERROR([newly created file is older than distributed files! 2463Check your system clock]) 2464fi 2465AC_MSG_RESULT([yes]) 2466# If we didn't sleep, we still need to ensure time stamps of config.status and 2467# generated files are strictly newer. 2468am_sleep_pid= 2469if grep 'slept: no' conftest.file >/dev/null 2>&1; then 2470 ( sleep 1 ) & 2471 am_sleep_pid=$! 2472fi 2473AC_CONFIG_COMMANDS_PRE( 2474 [AC_MSG_CHECKING([that generated files are newer than configure]) 2475 if test -n "$am_sleep_pid"; then 2476 # Hide warnings about reused PIDs. 2477 wait $am_sleep_pid 2>/dev/null 2478 fi 2479 AC_MSG_RESULT([done])]) 2480rm -f conftest.file 2481]) 2482m4trace:/usr/share/aclocal-1.14/silent.m4:12: -1- AC_DEFUN([AM_SILENT_RULES], [AC_ARG_ENABLE([silent-rules], [dnl 2483AS_HELP_STRING( 2484 [--enable-silent-rules], 2485 [less verbose build output (undo: "make V=1")]) 2486AS_HELP_STRING( 2487 [--disable-silent-rules], 2488 [verbose build output (undo: "make V=0")])dnl 2489]) 2490case $enable_silent_rules in @%:@ ((( 2491 yes) AM_DEFAULT_VERBOSITY=0;; 2492 no) AM_DEFAULT_VERBOSITY=1;; 2493 *) AM_DEFAULT_VERBOSITY=m4_if([$1], [yes], [0], [1]);; 2494esac 2495dnl 2496dnl A few 'make' implementations (e.g., NonStop OS and NextStep) 2497dnl do not support nested variable expansions. 2498dnl See automake bug#9928 and bug#10237. 2499am_make=${MAKE-make} 2500AC_CACHE_CHECK([whether $am_make supports nested variables], 2501 [am_cv_make_support_nested_variables], 2502 [if AS_ECHO([['TRUE=$(BAR$(V)) 2503BAR0=false 2504BAR1=true 2505V=1 2506am__doit: 2507 @$(TRUE) 2508.PHONY: am__doit']]) | $am_make -f - >/dev/null 2>&1; then 2509 am_cv_make_support_nested_variables=yes 2510else 2511 am_cv_make_support_nested_variables=no 2512fi]) 2513if test $am_cv_make_support_nested_variables = yes; then 2514 dnl Using '$V' instead of '$(V)' breaks IRIX make. 2515 AM_V='$(V)' 2516 AM_DEFAULT_V='$(AM_DEFAULT_VERBOSITY)' 2517else 2518 AM_V=$AM_DEFAULT_VERBOSITY 2519 AM_DEFAULT_V=$AM_DEFAULT_VERBOSITY 2520fi 2521AC_SUBST([AM_V])dnl 2522AM_SUBST_NOTMAKE([AM_V])dnl 2523AC_SUBST([AM_DEFAULT_V])dnl 2524AM_SUBST_NOTMAKE([AM_DEFAULT_V])dnl 2525AC_SUBST([AM_DEFAULT_VERBOSITY])dnl 2526AM_BACKSLASH='\' 2527AC_SUBST([AM_BACKSLASH])dnl 2528_AM_SUBST_NOTMAKE([AM_BACKSLASH])dnl 2529]) 2530m4trace:/usr/share/aclocal-1.14/strip.m4:17: -1- AC_DEFUN([AM_PROG_INSTALL_STRIP], [AC_REQUIRE([AM_PROG_INSTALL_SH])dnl 2531# Installed binaries are usually stripped using 'strip' when the user 2532# run "make install-strip". However 'strip' might not be the right 2533# tool to use in cross-compilation environments, therefore Automake 2534# will honor the 'STRIP' environment variable to overrule this program. 2535dnl Don't test for $cross_compiling = yes, because it might be 'maybe'. 2536if test "$cross_compiling" != no; then 2537 AC_CHECK_TOOL([STRIP], [strip], :) 2538fi 2539INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s" 2540AC_SUBST([INSTALL_STRIP_PROGRAM])]) 2541m4trace:/usr/share/aclocal-1.14/substnot.m4:12: -1- AC_DEFUN([_AM_SUBST_NOTMAKE]) 2542m4trace:/usr/share/aclocal-1.14/substnot.m4:17: -1- AC_DEFUN([AM_SUBST_NOTMAKE], [_AM_SUBST_NOTMAKE($@)]) 2543m4trace:/usr/share/aclocal-1.14/tar.m4:23: -1- AC_DEFUN([_AM_PROG_TAR], [# Always define AMTAR for backward compatibility. Yes, it's still used 2544# in the wild :-( We should find a proper way to deprecate it ... 2545AC_SUBST([AMTAR], ['$${TAR-tar}']) 2546 2547# We'll loop over all known methods to create a tar archive until one works. 2548_am_tools='gnutar m4_if([$1], [ustar], [plaintar]) pax cpio none' 2549 2550m4_if([$1], [v7], 2551 [am__tar='$${TAR-tar} chof - "$$tardir"' am__untar='$${TAR-tar} xf -'], 2552 2553 [m4_case([$1], 2554 [ustar], 2555 [# The POSIX 1988 'ustar' format is defined with fixed-size fields. 2556 # There is notably a 21 bits limit for the UID and the GID. In fact, 2557 # the 'pax' utility can hang on bigger UID/GID (see automake bug#8343 2558 # and bug#13588). 2559 am_max_uid=2097151 # 2^21 - 1 2560 am_max_gid=$am_max_uid 2561 # The $UID and $GID variables are not portable, so we need to resort 2562 # to the POSIX-mandated id(1) utility. Errors in the 'id' calls 2563 # below are definitely unexpected, so allow the users to see them 2564 # (that is, avoid stderr redirection). 2565 am_uid=`id -u || echo unknown` 2566 am_gid=`id -g || echo unknown` 2567 AC_MSG_CHECKING([whether UID '$am_uid' is supported by ustar format]) 2568 if test $am_uid -le $am_max_uid; then 2569 AC_MSG_RESULT([yes]) 2570 else 2571 AC_MSG_RESULT([no]) 2572 _am_tools=none 2573 fi 2574 AC_MSG_CHECKING([whether GID '$am_gid' is supported by ustar format]) 2575 if test $am_gid -le $am_max_gid; then 2576 AC_MSG_RESULT([yes]) 2577 else 2578 AC_MSG_RESULT([no]) 2579 _am_tools=none 2580 fi], 2581 2582 [pax], 2583 [], 2584 2585 [m4_fatal([Unknown tar format])]) 2586 2587 AC_MSG_CHECKING([how to create a $1 tar archive]) 2588 2589 # Go ahead even if we have the value already cached. We do so because we 2590 # need to set the values for the 'am__tar' and 'am__untar' variables. 2591 _am_tools=${am_cv_prog_tar_$1-$_am_tools} 2592 2593 for _am_tool in $_am_tools; do 2594 case $_am_tool in 2595 gnutar) 2596 for _am_tar in tar gnutar gtar; do 2597 AM_RUN_LOG([$_am_tar --version]) && break 2598 done 2599 am__tar="$_am_tar --format=m4_if([$1], [pax], [posix], [$1]) -chf - "'"$$tardir"' 2600 am__tar_="$_am_tar --format=m4_if([$1], [pax], [posix], [$1]) -chf - "'"$tardir"' 2601 am__untar="$_am_tar -xf -" 2602 ;; 2603 plaintar) 2604 # Must skip GNU tar: if it does not support --format= it doesn't create 2605 # ustar tarball either. 2606 (tar --version) >/dev/null 2>&1 && continue 2607 am__tar='tar chf - "$$tardir"' 2608 am__tar_='tar chf - "$tardir"' 2609 am__untar='tar xf -' 2610 ;; 2611 pax) 2612 am__tar='pax -L -x $1 -w "$$tardir"' 2613 am__tar_='pax -L -x $1 -w "$tardir"' 2614 am__untar='pax -r' 2615 ;; 2616 cpio) 2617 am__tar='find "$$tardir" -print | cpio -o -H $1 -L' 2618 am__tar_='find "$tardir" -print | cpio -o -H $1 -L' 2619 am__untar='cpio -i -H $1 -d' 2620 ;; 2621 none) 2622 am__tar=false 2623 am__tar_=false 2624 am__untar=false 2625 ;; 2626 esac 2627 2628 # If the value was cached, stop now. We just wanted to have am__tar 2629 # and am__untar set. 2630 test -n "${am_cv_prog_tar_$1}" && break 2631 2632 # tar/untar a dummy directory, and stop if the command works. 2633 rm -rf conftest.dir 2634 mkdir conftest.dir 2635 echo GrepMe > conftest.dir/file 2636 AM_RUN_LOG([tardir=conftest.dir && eval $am__tar_ >conftest.tar]) 2637 rm -rf conftest.dir 2638 if test -s conftest.tar; then 2639 AM_RUN_LOG([$am__untar <conftest.tar]) 2640 AM_RUN_LOG([cat conftest.dir/file]) 2641 grep GrepMe conftest.dir/file >/dev/null 2>&1 && break 2642 fi 2643 done 2644 rm -rf conftest.dir 2645 2646 AC_CACHE_VAL([am_cv_prog_tar_$1], [am_cv_prog_tar_$1=$_am_tool]) 2647 AC_MSG_RESULT([$am_cv_prog_tar_$1])]) 2648 2649AC_SUBST([am__tar]) 2650AC_SUBST([am__untar]) 2651]) 2652m4trace:m4/ax_gcc_builtin.m4:95: -1- AC_DEFUN([AX_GCC_BUILTIN], [ 2653 AS_VAR_PUSHDEF([ac_var], [ax_cv_have_$1]) 2654 2655 AC_CACHE_CHECK([for $1], [ac_var], [ 2656 AC_LINK_IFELSE([AC_LANG_PROGRAM([], [ 2657 m4_case([$1], 2658 [__builtin_assume_aligned], [$1("", 0)], 2659 [__builtin_bswap32], [$1(0)], 2660 [__builtin_bswap64], [$1(0)], 2661 [__builtin_choose_expr], [$1(0, 0, 0)], 2662 [__builtin___clear_cache], [$1("", "")], 2663 [__builtin_clrsb], [$1(0)], 2664 [__builtin_clrsbl], [$1(0)], 2665 [__builtin_clrsbll], [$1(0)], 2666 [__builtin_clz], [$1(0)], 2667 [__builtin_clzl], [$1(0)], 2668 [__builtin_clzll], [$1(0)], 2669 [__builtin_complex], [$1(0.0, 0.0)], 2670 [__builtin_constant_p], [$1(0)], 2671 [__builtin_ctz], [$1(0)], 2672 [__builtin_ctzl], [$1(0)], 2673 [__builtin_ctzll], [$1(0)], 2674 [__builtin_expect], [$1(0, 0)], 2675 [__builtin_ffs], [$1(0)], 2676 [__builtin_ffsl], [$1(0)], 2677 [__builtin_ffsll], [$1(0)], 2678 [__builtin_fpclassify], [$1(0, 1, 2, 3, 4, 0.0)], 2679 [__builtin_huge_val], [$1()], 2680 [__builtin_huge_valf], [$1()], 2681 [__builtin_huge_vall], [$1()], 2682 [__builtin_inf], [$1()], 2683 [__builtin_infd128], [$1()], 2684 [__builtin_infd32], [$1()], 2685 [__builtin_infd64], [$1()], 2686 [__builtin_inff], [$1()], 2687 [__builtin_infl], [$1()], 2688 [__builtin_isinf_sign], [$1(0.0)], 2689 [__builtin_nan], [$1("")], 2690 [__builtin_nand128], [$1("")], 2691 [__builtin_nand32], [$1("")], 2692 [__builtin_nand64], [$1("")], 2693 [__builtin_nanf], [$1("")], 2694 [__builtin_nanl], [$1("")], 2695 [__builtin_nans], [$1("")], 2696 [__builtin_nansf], [$1("")], 2697 [__builtin_nansl], [$1("")], 2698 [__builtin_object_size], [$1("", 0)], 2699 [__builtin_parity], [$1(0)], 2700 [__builtin_parityl], [$1(0)], 2701 [__builtin_parityll], [$1(0)], 2702 [__builtin_popcount], [$1(0)], 2703 [__builtin_popcountl], [$1(0)], 2704 [__builtin_popcountll], [$1(0)], 2705 [__builtin_powi], [$1(0, 0)], 2706 [__builtin_powif], [$1(0, 0)], 2707 [__builtin_powil], [$1(0, 0)], 2708 [__builtin_prefetch], [$1("")], 2709 [__builtin_trap], [$1()], 2710 [__builtin_types_compatible_p], [$1(int, int)], 2711 [__builtin_unreachable], [$1()], 2712 [m4_warn([syntax], [Unsupported built-in $1, the test may fail]) 2713 $1()] 2714 ) 2715 ])], 2716 [AS_VAR_SET([ac_var], [yes])], 2717 [AS_VAR_SET([ac_var], [no])]) 2718 ]) 2719 2720 AS_IF([test yes = AS_VAR_GET([ac_var])], 2721 [AC_DEFINE_UNQUOTED(AS_TR_CPP(HAVE_$1), 1, 2722 [Define to 1 if the system has the `$1' built-in function])], []) 2723 2724 AS_VAR_POPDEF([ac_var]) 2725]) 2726m4trace:m4/libtool.m4:69: -1- AC_DEFUN([LT_INIT], [AC_PREREQ([2.58])dnl We use AC_INCLUDES_DEFAULT 2727AC_REQUIRE([AC_CONFIG_AUX_DIR_DEFAULT])dnl 2728AC_BEFORE([$0], [LT_LANG])dnl 2729AC_BEFORE([$0], [LT_OUTPUT])dnl 2730AC_BEFORE([$0], [LTDL_INIT])dnl 2731m4_require([_LT_CHECK_BUILDDIR])dnl 2732 2733dnl Autoconf doesn't catch unexpanded LT_ macros by default: 2734m4_pattern_forbid([^_?LT_[A-Z_]+$])dnl 2735m4_pattern_allow([^(_LT_EOF|LT_DLGLOBAL|LT_DLLAZY_OR_NOW|LT_MULTI_MODULE)$])dnl 2736dnl aclocal doesn't pull ltoptions.m4, ltsugar.m4, or ltversion.m4 2737dnl unless we require an AC_DEFUNed macro: 2738AC_REQUIRE([LTOPTIONS_VERSION])dnl 2739AC_REQUIRE([LTSUGAR_VERSION])dnl 2740AC_REQUIRE([LTVERSION_VERSION])dnl 2741AC_REQUIRE([LTOBSOLETE_VERSION])dnl 2742m4_require([_LT_PROG_LTMAIN])dnl 2743 2744_LT_SHELL_INIT([SHELL=${CONFIG_SHELL-/bin/sh}]) 2745 2746dnl Parse OPTIONS 2747_LT_SET_OPTIONS([$0], [$1]) 2748 2749# This can be used to rebuild libtool when needed 2750LIBTOOL_DEPS="$ltmain" 2751 2752# Always use our own libtool. 2753LIBTOOL='$(SHELL) $(top_builddir)/libtool' 2754AC_SUBST(LIBTOOL)dnl 2755 2756_LT_SETUP 2757 2758# Only expand once: 2759m4_define([LT_INIT]) 2760]) 2761m4trace:m4/libtool.m4:107: -1- AU_DEFUN([AC_PROG_LIBTOOL], [m4_if($#, 0, [LT_INIT], [LT_INIT($@)])]) 2762m4trace:m4/libtool.m4:107: -1- AC_DEFUN([AC_PROG_LIBTOOL], [AC_DIAGNOSE([obsolete], [The macro `AC_PROG_LIBTOOL' is obsolete. 2763You should run autoupdate.])dnl 2764m4_if($#, 0, [LT_INIT], [LT_INIT($@)])]) 2765m4trace:m4/libtool.m4:108: -1- AU_DEFUN([AM_PROG_LIBTOOL], [m4_if($#, 0, [LT_INIT], [LT_INIT($@)])]) 2766m4trace:m4/libtool.m4:108: -1- AC_DEFUN([AM_PROG_LIBTOOL], [AC_DIAGNOSE([obsolete], [The macro `AM_PROG_LIBTOOL' is obsolete. 2767You should run autoupdate.])dnl 2768m4_if($#, 0, [LT_INIT], [LT_INIT($@)])]) 2769m4trace:m4/libtool.m4:609: -1- AC_DEFUN([LT_OUTPUT], [: ${CONFIG_LT=./config.lt} 2770AC_MSG_NOTICE([creating $CONFIG_LT]) 2771_LT_GENERATED_FILE_INIT(["$CONFIG_LT"], 2772[# Run this file to recreate a libtool stub with the current configuration.]) 2773 2774cat >>"$CONFIG_LT" <<\_LTEOF 2775lt_cl_silent=false 2776exec AS_MESSAGE_LOG_FD>>config.log 2777{ 2778 echo 2779 AS_BOX([Running $as_me.]) 2780} >&AS_MESSAGE_LOG_FD 2781 2782lt_cl_help="\ 2783\`$as_me' creates a local libtool stub from the current configuration, 2784for use in further configure time tests before the real libtool is 2785generated. 2786 2787Usage: $[0] [[OPTIONS]] 2788 2789 -h, --help print this help, then exit 2790 -V, --version print version number, then exit 2791 -q, --quiet do not print progress messages 2792 -d, --debug don't remove temporary files 2793 2794Report bugs to <bug-libtool@gnu.org>." 2795 2796lt_cl_version="\ 2797m4_ifset([AC_PACKAGE_NAME], [AC_PACKAGE_NAME ])config.lt[]dnl 2798m4_ifset([AC_PACKAGE_VERSION], [ AC_PACKAGE_VERSION]) 2799configured by $[0], generated by m4_PACKAGE_STRING. 2800 2801Copyright (C) 2011 Free Software Foundation, Inc. 2802This config.lt script is free software; the Free Software Foundation 2803gives unlimited permision to copy, distribute and modify it." 2804 2805while test $[#] != 0 2806do 2807 case $[1] in 2808 --version | --v* | -V ) 2809 echo "$lt_cl_version"; exit 0 ;; 2810 --help | --h* | -h ) 2811 echo "$lt_cl_help"; exit 0 ;; 2812 --debug | --d* | -d ) 2813 debug=: ;; 2814 --quiet | --q* | --silent | --s* | -q ) 2815 lt_cl_silent=: ;; 2816 2817 -*) AC_MSG_ERROR([unrecognized option: $[1] 2818Try \`$[0] --help' for more information.]) ;; 2819 2820 *) AC_MSG_ERROR([unrecognized argument: $[1] 2821Try \`$[0] --help' for more information.]) ;; 2822 esac 2823 shift 2824done 2825 2826if $lt_cl_silent; then 2827 exec AS_MESSAGE_FD>/dev/null 2828fi 2829_LTEOF 2830 2831cat >>"$CONFIG_LT" <<_LTEOF 2832_LT_OUTPUT_LIBTOOL_COMMANDS_INIT 2833_LTEOF 2834 2835cat >>"$CONFIG_LT" <<\_LTEOF 2836AC_MSG_NOTICE([creating $ofile]) 2837_LT_OUTPUT_LIBTOOL_COMMANDS 2838AS_EXIT(0) 2839_LTEOF 2840chmod +x "$CONFIG_LT" 2841 2842# configure is writing to config.log, but config.lt does its own redirection, 2843# appending to config.log, which fails on DOS, as config.log is still kept 2844# open by configure. Here we exec the FD to /dev/null, effectively closing 2845# config.log, so it can be properly (re)opened and appended to by config.lt. 2846lt_cl_success=: 2847test "$silent" = yes && 2848 lt_config_lt_args="$lt_config_lt_args --quiet" 2849exec AS_MESSAGE_LOG_FD>/dev/null 2850$SHELL "$CONFIG_LT" $lt_config_lt_args || lt_cl_success=false 2851exec AS_MESSAGE_LOG_FD>>config.log 2852$lt_cl_success || AS_EXIT(1) 2853]) 2854m4trace:m4/libtool.m4:790: -1- AC_DEFUN([LT_SUPPORTED_TAG], []) 2855m4trace:m4/libtool.m4:801: -1- AC_DEFUN([LT_LANG], [AC_BEFORE([$0], [LT_OUTPUT])dnl 2856m4_case([$1], 2857 [C], [_LT_LANG(C)], 2858 [C++], [_LT_LANG(CXX)], 2859 [Go], [_LT_LANG(GO)], 2860 [Java], [_LT_LANG(GCJ)], 2861 [Fortran 77], [_LT_LANG(F77)], 2862 [Fortran], [_LT_LANG(FC)], 2863 [Windows Resource], [_LT_LANG(RC)], 2864 [m4_ifdef([_LT_LANG_]$1[_CONFIG], 2865 [_LT_LANG($1)], 2866 [m4_fatal([$0: unsupported language: "$1"])])])dnl 2867]) 2868m4trace:m4/libtool.m4:893: -1- AU_DEFUN([AC_LIBTOOL_CXX], [LT_LANG(C++)]) 2869m4trace:m4/libtool.m4:893: -1- AC_DEFUN([AC_LIBTOOL_CXX], [AC_DIAGNOSE([obsolete], [The macro `AC_LIBTOOL_CXX' is obsolete. 2870You should run autoupdate.])dnl 2871LT_LANG(C++)]) 2872m4trace:m4/libtool.m4:894: -1- AU_DEFUN([AC_LIBTOOL_F77], [LT_LANG(Fortran 77)]) 2873m4trace:m4/libtool.m4:894: -1- AC_DEFUN([AC_LIBTOOL_F77], [AC_DIAGNOSE([obsolete], [The macro `AC_LIBTOOL_F77' is obsolete. 2874You should run autoupdate.])dnl 2875LT_LANG(Fortran 77)]) 2876m4trace:m4/libtool.m4:895: -1- AU_DEFUN([AC_LIBTOOL_FC], [LT_LANG(Fortran)]) 2877m4trace:m4/libtool.m4:895: -1- AC_DEFUN([AC_LIBTOOL_FC], [AC_DIAGNOSE([obsolete], [The macro `AC_LIBTOOL_FC' is obsolete. 2878You should run autoupdate.])dnl 2879LT_LANG(Fortran)]) 2880m4trace:m4/libtool.m4:896: -1- AU_DEFUN([AC_LIBTOOL_GCJ], [LT_LANG(Java)]) 2881m4trace:m4/libtool.m4:896: -1- AC_DEFUN([AC_LIBTOOL_GCJ], [AC_DIAGNOSE([obsolete], [The macro `AC_LIBTOOL_GCJ' is obsolete. 2882You should run autoupdate.])dnl 2883LT_LANG(Java)]) 2884m4trace:m4/libtool.m4:897: -1- AU_DEFUN([AC_LIBTOOL_RC], [LT_LANG(Windows Resource)]) 2885m4trace:m4/libtool.m4:897: -1- AC_DEFUN([AC_LIBTOOL_RC], [AC_DIAGNOSE([obsolete], [The macro `AC_LIBTOOL_RC' is obsolete. 2886You should run autoupdate.])dnl 2887LT_LANG(Windows Resource)]) 2888m4trace:m4/libtool.m4:1225: -1- AC_DEFUN([_LT_WITH_SYSROOT], [AC_MSG_CHECKING([for sysroot]) 2889AC_ARG_WITH([sysroot], 2890[ --with-sysroot[=DIR] Search for dependent libraries within DIR 2891 (or the compiler's sysroot if not specified).], 2892[], [with_sysroot=no]) 2893 2894dnl lt_sysroot will always be passed unquoted. We quote it here 2895dnl in case the user passed a directory name. 2896lt_sysroot= 2897case ${with_sysroot} in #( 2898 yes) 2899 if test "$GCC" = yes; then 2900 lt_sysroot=`$CC --print-sysroot 2>/dev/null` 2901 fi 2902 ;; #( 2903 /*) 2904 lt_sysroot=`echo "$with_sysroot" | sed -e "$sed_quote_subst"` 2905 ;; #( 2906 no|'') 2907 ;; #( 2908 *) 2909 AC_MSG_RESULT([${with_sysroot}]) 2910 AC_MSG_ERROR([The sysroot must be an absolute path.]) 2911 ;; 2912esac 2913 2914 AC_MSG_RESULT([${lt_sysroot:-no}]) 2915_LT_DECL([], [lt_sysroot], [0], [The root where to search for ]dnl 2916[dependent libraries, and in which our libraries should be installed.])]) 2917m4trace:m4/libtool.m4:1515: -1- AC_DEFUN([_LT_COMPILER_OPTION], [m4_require([_LT_FILEUTILS_DEFAULTS])dnl 2918m4_require([_LT_DECL_SED])dnl 2919AC_CACHE_CHECK([$1], [$2], 2920 [$2=no 2921 m4_if([$4], , [ac_outfile=conftest.$ac_objext], [ac_outfile=$4]) 2922 echo "$lt_simple_compile_test_code" > conftest.$ac_ext 2923 lt_compiler_flag="$3" 2924 # Insert the option either (1) after the last *FLAGS variable, or 2925 # (2) before a word containing "conftest.", or (3) at the end. 2926 # Note that $ac_compile itself does not contain backslashes and begins 2927 # with a dollar sign (not a hyphen), so the echo should work correctly. 2928 # The option is referenced via a variable to avoid confusing sed. 2929 lt_compile=`echo "$ac_compile" | $SED \ 2930 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \ 2931 -e 's: [[^ ]]*conftest\.: $lt_compiler_flag&:; t' \ 2932 -e 's:$: $lt_compiler_flag:'` 2933 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&AS_MESSAGE_LOG_FD) 2934 (eval "$lt_compile" 2>conftest.err) 2935 ac_status=$? 2936 cat conftest.err >&AS_MESSAGE_LOG_FD 2937 echo "$as_me:$LINENO: \$? = $ac_status" >&AS_MESSAGE_LOG_FD 2938 if (exit $ac_status) && test -s "$ac_outfile"; then 2939 # The compiler can only warn and ignore the option if not recognized 2940 # So say no if there are warnings other than the usual output. 2941 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp 2942 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2 2943 if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then 2944 $2=yes 2945 fi 2946 fi 2947 $RM conftest* 2948]) 2949 2950if test x"[$]$2" = xyes; then 2951 m4_if([$5], , :, [$5]) 2952else 2953 m4_if([$6], , :, [$6]) 2954fi 2955]) 2956m4trace:m4/libtool.m4:1557: -1- AU_DEFUN([AC_LIBTOOL_COMPILER_OPTION], [m4_if($#, 0, [_LT_COMPILER_OPTION], [_LT_COMPILER_OPTION($@)])]) 2957m4trace:m4/libtool.m4:1557: -1- AC_DEFUN([AC_LIBTOOL_COMPILER_OPTION], [AC_DIAGNOSE([obsolete], [The macro `AC_LIBTOOL_COMPILER_OPTION' is obsolete. 2958You should run autoupdate.])dnl 2959m4_if($#, 0, [_LT_COMPILER_OPTION], [_LT_COMPILER_OPTION($@)])]) 2960m4trace:m4/libtool.m4:1566: -1- AC_DEFUN([_LT_LINKER_OPTION], [m4_require([_LT_FILEUTILS_DEFAULTS])dnl 2961m4_require([_LT_DECL_SED])dnl 2962AC_CACHE_CHECK([$1], [$2], 2963 [$2=no 2964 save_LDFLAGS="$LDFLAGS" 2965 LDFLAGS="$LDFLAGS $3" 2966 echo "$lt_simple_link_test_code" > conftest.$ac_ext 2967 if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then 2968 # The linker can only warn and ignore the option if not recognized 2969 # So say no if there are warnings 2970 if test -s conftest.err; then 2971 # Append any errors to the config.log. 2972 cat conftest.err 1>&AS_MESSAGE_LOG_FD 2973 $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp 2974 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2 2975 if diff conftest.exp conftest.er2 >/dev/null; then 2976 $2=yes 2977 fi 2978 else 2979 $2=yes 2980 fi 2981 fi 2982 $RM -r conftest* 2983 LDFLAGS="$save_LDFLAGS" 2984]) 2985 2986if test x"[$]$2" = xyes; then 2987 m4_if([$4], , :, [$4]) 2988else 2989 m4_if([$5], , :, [$5]) 2990fi 2991]) 2992m4trace:m4/libtool.m4:1601: -1- AU_DEFUN([AC_LIBTOOL_LINKER_OPTION], [m4_if($#, 0, [_LT_LINKER_OPTION], [_LT_LINKER_OPTION($@)])]) 2993m4trace:m4/libtool.m4:1601: -1- AC_DEFUN([AC_LIBTOOL_LINKER_OPTION], [AC_DIAGNOSE([obsolete], [The macro `AC_LIBTOOL_LINKER_OPTION' is obsolete. 2994You should run autoupdate.])dnl 2995m4_if($#, 0, [_LT_LINKER_OPTION], [_LT_LINKER_OPTION($@)])]) 2996m4trace:m4/libtool.m4:1608: -1- AC_DEFUN([LT_CMD_MAX_LEN], [AC_REQUIRE([AC_CANONICAL_HOST])dnl 2997# find the maximum length of command line arguments 2998AC_MSG_CHECKING([the maximum length of command line arguments]) 2999AC_CACHE_VAL([lt_cv_sys_max_cmd_len], [dnl 3000 i=0 3001 teststring="ABCD" 3002 3003 case $build_os in 3004 msdosdjgpp*) 3005 # On DJGPP, this test can blow up pretty badly due to problems in libc 3006 # (any single argument exceeding 2000 bytes causes a buffer overrun 3007 # during glob expansion). Even if it were fixed, the result of this 3008 # check would be larger than it should be. 3009 lt_cv_sys_max_cmd_len=12288; # 12K is about right 3010 ;; 3011 3012 gnu*) 3013 # Under GNU Hurd, this test is not required because there is 3014 # no limit to the length of command line arguments. 3015 # Libtool will interpret -1 as no limit whatsoever 3016 lt_cv_sys_max_cmd_len=-1; 3017 ;; 3018 3019 cygwin* | mingw* | cegcc*) 3020 # On Win9x/ME, this test blows up -- it succeeds, but takes 3021 # about 5 minutes as the teststring grows exponentially. 3022 # Worse, since 9x/ME are not pre-emptively multitasking, 3023 # you end up with a "frozen" computer, even though with patience 3024 # the test eventually succeeds (with a max line length of 256k). 3025 # Instead, let's just punt: use the minimum linelength reported by 3026 # all of the supported platforms: 8192 (on NT/2K/XP). 3027 lt_cv_sys_max_cmd_len=8192; 3028 ;; 3029 3030 mint*) 3031 # On MiNT this can take a long time and run out of memory. 3032 lt_cv_sys_max_cmd_len=8192; 3033 ;; 3034 3035 amigaos*) 3036 # On AmigaOS with pdksh, this test takes hours, literally. 3037 # So we just punt and use a minimum line length of 8192. 3038 lt_cv_sys_max_cmd_len=8192; 3039 ;; 3040 3041 netbsd* | freebsd* | openbsd* | darwin* | dragonfly*) 3042 # This has been around since 386BSD, at least. Likely further. 3043 if test -x /sbin/sysctl; then 3044 lt_cv_sys_max_cmd_len=`/sbin/sysctl -n kern.argmax` 3045 elif test -x /usr/sbin/sysctl; then 3046 lt_cv_sys_max_cmd_len=`/usr/sbin/sysctl -n kern.argmax` 3047 else 3048 lt_cv_sys_max_cmd_len=65536 # usable default for all BSDs 3049 fi 3050 # And add a safety zone 3051 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4` 3052 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3` 3053 ;; 3054 3055 interix*) 3056 # We know the value 262144 and hardcode it with a safety zone (like BSD) 3057 lt_cv_sys_max_cmd_len=196608 3058 ;; 3059 3060 os2*) 3061 # The test takes a long time on OS/2. 3062 lt_cv_sys_max_cmd_len=8192 3063 ;; 3064 3065 osf*) 3066 # Dr. Hans Ekkehard Plesser reports seeing a kernel panic running configure 3067 # due to this test when exec_disable_arg_limit is 1 on Tru64. It is not 3068 # nice to cause kernel panics so lets avoid the loop below. 3069 # First set a reasonable default. 3070 lt_cv_sys_max_cmd_len=16384 3071 # 3072 if test -x /sbin/sysconfig; then 3073 case `/sbin/sysconfig -q proc exec_disable_arg_limit` in 3074 *1*) lt_cv_sys_max_cmd_len=-1 ;; 3075 esac 3076 fi 3077 ;; 3078 sco3.2v5*) 3079 lt_cv_sys_max_cmd_len=102400 3080 ;; 3081 sysv5* | sco5v6* | sysv4.2uw2*) 3082 kargmax=`grep ARG_MAX /etc/conf/cf.d/stune 2>/dev/null` 3083 if test -n "$kargmax"; then 3084 lt_cv_sys_max_cmd_len=`echo $kargmax | sed 's/.*[[ ]]//'` 3085 else 3086 lt_cv_sys_max_cmd_len=32768 3087 fi 3088 ;; 3089 *) 3090 lt_cv_sys_max_cmd_len=`(getconf ARG_MAX) 2> /dev/null` 3091 if test -n "$lt_cv_sys_max_cmd_len" && \ 3092 test undefined != "$lt_cv_sys_max_cmd_len"; then 3093 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4` 3094 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3` 3095 else 3096 # Make teststring a little bigger before we do anything with it. 3097 # a 1K string should be a reasonable start. 3098 for i in 1 2 3 4 5 6 7 8 ; do 3099 teststring=$teststring$teststring 3100 done 3101 SHELL=${SHELL-${CONFIG_SHELL-/bin/sh}} 3102 # If test is not a shell built-in, we'll probably end up computing a 3103 # maximum length that is only half of the actual maximum length, but 3104 # we can't tell. 3105 while { test "X"`env echo "$teststring$teststring" 2>/dev/null` \ 3106 = "X$teststring$teststring"; } >/dev/null 2>&1 && 3107 test $i != 17 # 1/2 MB should be enough 3108 do 3109 i=`expr $i + 1` 3110 teststring=$teststring$teststring 3111 done 3112 # Only check the string length outside the loop. 3113 lt_cv_sys_max_cmd_len=`expr "X$teststring" : ".*" 2>&1` 3114 teststring= 3115 # Add a significant safety factor because C++ compilers can tack on 3116 # massive amounts of additional arguments before passing them to the 3117 # linker. It appears as though 1/2 is a usable value. 3118 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 2` 3119 fi 3120 ;; 3121 esac 3122]) 3123if test -n $lt_cv_sys_max_cmd_len ; then 3124 AC_MSG_RESULT($lt_cv_sys_max_cmd_len) 3125else 3126 AC_MSG_RESULT(none) 3127fi 3128max_cmd_len=$lt_cv_sys_max_cmd_len 3129_LT_DECL([], [max_cmd_len], [0], 3130 [What is the maximum length of a command?]) 3131]) 3132m4trace:m4/libtool.m4:1747: -1- AU_DEFUN([AC_LIBTOOL_SYS_MAX_CMD_LEN], [m4_if($#, 0, [LT_CMD_MAX_LEN], [LT_CMD_MAX_LEN($@)])]) 3133m4trace:m4/libtool.m4:1747: -1- AC_DEFUN([AC_LIBTOOL_SYS_MAX_CMD_LEN], [AC_DIAGNOSE([obsolete], [The macro `AC_LIBTOOL_SYS_MAX_CMD_LEN' is obsolete. 3134You should run autoupdate.])dnl 3135m4_if($#, 0, [LT_CMD_MAX_LEN], [LT_CMD_MAX_LEN($@)])]) 3136m4trace:m4/libtool.m4:1858: -1- AC_DEFUN([LT_SYS_DLOPEN_SELF], [m4_require([_LT_HEADER_DLFCN])dnl 3137if test "x$enable_dlopen" != xyes; then 3138 enable_dlopen=unknown 3139 enable_dlopen_self=unknown 3140 enable_dlopen_self_static=unknown 3141else 3142 lt_cv_dlopen=no 3143 lt_cv_dlopen_libs= 3144 3145 case $host_os in 3146 beos*) 3147 lt_cv_dlopen="load_add_on" 3148 lt_cv_dlopen_libs= 3149 lt_cv_dlopen_self=yes 3150 ;; 3151 3152 mingw* | pw32* | cegcc*) 3153 lt_cv_dlopen="LoadLibrary" 3154 lt_cv_dlopen_libs= 3155 ;; 3156 3157 cygwin*) 3158 lt_cv_dlopen="dlopen" 3159 lt_cv_dlopen_libs= 3160 ;; 3161 3162 darwin*) 3163 # if libdl is installed we need to link against it 3164 AC_CHECK_LIB([dl], [dlopen], 3165 [lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"],[ 3166 lt_cv_dlopen="dyld" 3167 lt_cv_dlopen_libs= 3168 lt_cv_dlopen_self=yes 3169 ]) 3170 ;; 3171 3172 *) 3173 AC_CHECK_FUNC([shl_load], 3174 [lt_cv_dlopen="shl_load"], 3175 [AC_CHECK_LIB([dld], [shl_load], 3176 [lt_cv_dlopen="shl_load" lt_cv_dlopen_libs="-ldld"], 3177 [AC_CHECK_FUNC([dlopen], 3178 [lt_cv_dlopen="dlopen"], 3179 [AC_CHECK_LIB([dl], [dlopen], 3180 [lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"], 3181 [AC_CHECK_LIB([svld], [dlopen], 3182 [lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-lsvld"], 3183 [AC_CHECK_LIB([dld], [dld_link], 3184 [lt_cv_dlopen="dld_link" lt_cv_dlopen_libs="-ldld"]) 3185 ]) 3186 ]) 3187 ]) 3188 ]) 3189 ]) 3190 ;; 3191 esac 3192 3193 if test "x$lt_cv_dlopen" != xno; then 3194 enable_dlopen=yes 3195 else 3196 enable_dlopen=no 3197 fi 3198 3199 case $lt_cv_dlopen in 3200 dlopen) 3201 save_CPPFLAGS="$CPPFLAGS" 3202 test "x$ac_cv_header_dlfcn_h" = xyes && CPPFLAGS="$CPPFLAGS -DHAVE_DLFCN_H" 3203 3204 save_LDFLAGS="$LDFLAGS" 3205 wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $export_dynamic_flag_spec\" 3206 3207 save_LIBS="$LIBS" 3208 LIBS="$lt_cv_dlopen_libs $LIBS" 3209 3210 AC_CACHE_CHECK([whether a program can dlopen itself], 3211 lt_cv_dlopen_self, [dnl 3212 _LT_TRY_DLOPEN_SELF( 3213 lt_cv_dlopen_self=yes, lt_cv_dlopen_self=yes, 3214 lt_cv_dlopen_self=no, lt_cv_dlopen_self=cross) 3215 ]) 3216 3217 if test "x$lt_cv_dlopen_self" = xyes; then 3218 wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $lt_prog_compiler_static\" 3219 AC_CACHE_CHECK([whether a statically linked program can dlopen itself], 3220 lt_cv_dlopen_self_static, [dnl 3221 _LT_TRY_DLOPEN_SELF( 3222 lt_cv_dlopen_self_static=yes, lt_cv_dlopen_self_static=yes, 3223 lt_cv_dlopen_self_static=no, lt_cv_dlopen_self_static=cross) 3224 ]) 3225 fi 3226 3227 CPPFLAGS="$save_CPPFLAGS" 3228 LDFLAGS="$save_LDFLAGS" 3229 LIBS="$save_LIBS" 3230 ;; 3231 esac 3232 3233 case $lt_cv_dlopen_self in 3234 yes|no) enable_dlopen_self=$lt_cv_dlopen_self ;; 3235 *) enable_dlopen_self=unknown ;; 3236 esac 3237 3238 case $lt_cv_dlopen_self_static in 3239 yes|no) enable_dlopen_self_static=$lt_cv_dlopen_self_static ;; 3240 *) enable_dlopen_self_static=unknown ;; 3241 esac 3242fi 3243_LT_DECL([dlopen_support], [enable_dlopen], [0], 3244 [Whether dlopen is supported]) 3245_LT_DECL([dlopen_self], [enable_dlopen_self], [0], 3246 [Whether dlopen of programs is supported]) 3247_LT_DECL([dlopen_self_static], [enable_dlopen_self_static], [0], 3248 [Whether dlopen of statically linked programs is supported]) 3249]) 3250m4trace:m4/libtool.m4:1975: -1- AU_DEFUN([AC_LIBTOOL_DLOPEN_SELF], [m4_if($#, 0, [LT_SYS_DLOPEN_SELF], [LT_SYS_DLOPEN_SELF($@)])]) 3251m4trace:m4/libtool.m4:1975: -1- AC_DEFUN([AC_LIBTOOL_DLOPEN_SELF], [AC_DIAGNOSE([obsolete], [The macro `AC_LIBTOOL_DLOPEN_SELF' is obsolete. 3252You should run autoupdate.])dnl 3253m4_if($#, 0, [LT_SYS_DLOPEN_SELF], [LT_SYS_DLOPEN_SELF($@)])]) 3254m4trace:m4/libtool.m4:2945: -1- AC_DEFUN([_LT_PATH_TOOL_PREFIX], [m4_require([_LT_DECL_EGREP])dnl 3255AC_MSG_CHECKING([for $1]) 3256AC_CACHE_VAL(lt_cv_path_MAGIC_CMD, 3257[case $MAGIC_CMD in 3258[[\\/*] | ?:[\\/]*]) 3259 lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path. 3260 ;; 3261*) 3262 lt_save_MAGIC_CMD="$MAGIC_CMD" 3263 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR 3264dnl $ac_dummy forces splitting on constant user-supplied paths. 3265dnl POSIX.2 word splitting is done only on the output of word expansions, 3266dnl not every word. This closes a longstanding sh security hole. 3267 ac_dummy="m4_if([$2], , $PATH, [$2])" 3268 for ac_dir in $ac_dummy; do 3269 IFS="$lt_save_ifs" 3270 test -z "$ac_dir" && ac_dir=. 3271 if test -f $ac_dir/$1; then 3272 lt_cv_path_MAGIC_CMD="$ac_dir/$1" 3273 if test -n "$file_magic_test_file"; then 3274 case $deplibs_check_method in 3275 "file_magic "*) 3276 file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"` 3277 MAGIC_CMD="$lt_cv_path_MAGIC_CMD" 3278 if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null | 3279 $EGREP "$file_magic_regex" > /dev/null; then 3280 : 3281 else 3282 cat <<_LT_EOF 1>&2 3283 3284*** Warning: the command libtool uses to detect shared libraries, 3285*** $file_magic_cmd, produces output that libtool cannot recognize. 3286*** The result is that libtool may fail to recognize shared libraries 3287*** as such. This will affect the creation of libtool libraries that 3288*** depend on shared libraries, but programs linked with such libtool 3289*** libraries will work regardless of this problem. Nevertheless, you 3290*** may want to report the problem to your system manager and/or to 3291*** bug-libtool@gnu.org 3292 3293_LT_EOF 3294 fi ;; 3295 esac 3296 fi 3297 break 3298 fi 3299 done 3300 IFS="$lt_save_ifs" 3301 MAGIC_CMD="$lt_save_MAGIC_CMD" 3302 ;; 3303esac]) 3304MAGIC_CMD="$lt_cv_path_MAGIC_CMD" 3305if test -n "$MAGIC_CMD"; then 3306 AC_MSG_RESULT($MAGIC_CMD) 3307else 3308 AC_MSG_RESULT(no) 3309fi 3310_LT_DECL([], [MAGIC_CMD], [0], 3311 [Used to examine libraries when file_magic_cmd begins with "file"])dnl 3312]) 3313m4trace:m4/libtool.m4:3007: -1- AU_DEFUN([AC_PATH_TOOL_PREFIX], [m4_if($#, 0, [_LT_PATH_TOOL_PREFIX], [_LT_PATH_TOOL_PREFIX($@)])]) 3314m4trace:m4/libtool.m4:3007: -1- AC_DEFUN([AC_PATH_TOOL_PREFIX], [AC_DIAGNOSE([obsolete], [The macro `AC_PATH_TOOL_PREFIX' is obsolete. 3315You should run autoupdate.])dnl 3316m4_if($#, 0, [_LT_PATH_TOOL_PREFIX], [_LT_PATH_TOOL_PREFIX($@)])]) 3317m4trace:m4/libtool.m4:3030: -1- AC_DEFUN([LT_PATH_LD], [AC_REQUIRE([AC_PROG_CC])dnl 3318AC_REQUIRE([AC_CANONICAL_HOST])dnl 3319AC_REQUIRE([AC_CANONICAL_BUILD])dnl 3320m4_require([_LT_DECL_SED])dnl 3321m4_require([_LT_DECL_EGREP])dnl 3322m4_require([_LT_PROG_ECHO_BACKSLASH])dnl 3323 3324AC_ARG_WITH([gnu-ld], 3325 [AS_HELP_STRING([--with-gnu-ld], 3326 [assume the C compiler uses GNU ld @<:@default=no@:>@])], 3327 [test "$withval" = no || with_gnu_ld=yes], 3328 [with_gnu_ld=no])dnl 3329 3330ac_prog=ld 3331if test "$GCC" = yes; then 3332 # Check if gcc -print-prog-name=ld gives a path. 3333 AC_MSG_CHECKING([for ld used by $CC]) 3334 case $host in 3335 *-*-mingw*) 3336 # gcc leaves a trailing carriage return which upsets mingw 3337 ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;; 3338 *) 3339 ac_prog=`($CC -print-prog-name=ld) 2>&5` ;; 3340 esac 3341 case $ac_prog in 3342 # Accept absolute paths. 3343 [[\\/]]* | ?:[[\\/]]*) 3344 re_direlt='/[[^/]][[^/]]*/\.\./' 3345 # Canonicalize the pathname of ld 3346 ac_prog=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'` 3347 while $ECHO "$ac_prog" | $GREP "$re_direlt" > /dev/null 2>&1; do 3348 ac_prog=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"` 3349 done 3350 test -z "$LD" && LD="$ac_prog" 3351 ;; 3352 "") 3353 # If it fails, then pretend we aren't using GCC. 3354 ac_prog=ld 3355 ;; 3356 *) 3357 # If it is relative, then search for the first ld in PATH. 3358 with_gnu_ld=unknown 3359 ;; 3360 esac 3361elif test "$with_gnu_ld" = yes; then 3362 AC_MSG_CHECKING([for GNU ld]) 3363else 3364 AC_MSG_CHECKING([for non-GNU ld]) 3365fi 3366AC_CACHE_VAL(lt_cv_path_LD, 3367[if test -z "$LD"; then 3368 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR 3369 for ac_dir in $PATH; do 3370 IFS="$lt_save_ifs" 3371 test -z "$ac_dir" && ac_dir=. 3372 if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then 3373 lt_cv_path_LD="$ac_dir/$ac_prog" 3374 # Check to see if the program is GNU ld. I'd rather use --version, 3375 # but apparently some variants of GNU ld only accept -v. 3376 # Break only if it was the GNU/non-GNU ld that we prefer. 3377 case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in 3378 *GNU* | *'with BFD'*) 3379 test "$with_gnu_ld" != no && break 3380 ;; 3381 *) 3382 test "$with_gnu_ld" != yes && break 3383 ;; 3384 esac 3385 fi 3386 done 3387 IFS="$lt_save_ifs" 3388else 3389 lt_cv_path_LD="$LD" # Let the user override the test with a path. 3390fi]) 3391LD="$lt_cv_path_LD" 3392if test -n "$LD"; then 3393 AC_MSG_RESULT($LD) 3394else 3395 AC_MSG_RESULT(no) 3396fi 3397test -z "$LD" && AC_MSG_ERROR([no acceptable ld found in \$PATH]) 3398_LT_PATH_LD_GNU 3399AC_SUBST([LD]) 3400 3401_LT_TAGDECL([], [LD], [1], [The linker used to build libraries]) 3402]) 3403m4trace:m4/libtool.m4:3119: -1- AU_DEFUN([AM_PROG_LD], [m4_if($#, 0, [LT_PATH_LD], [LT_PATH_LD($@)])]) 3404m4trace:m4/libtool.m4:3119: -1- AC_DEFUN([AM_PROG_LD], [AC_DIAGNOSE([obsolete], [The macro `AM_PROG_LD' is obsolete. 3405You should run autoupdate.])dnl 3406m4_if($#, 0, [LT_PATH_LD], [LT_PATH_LD($@)])]) 3407m4trace:m4/libtool.m4:3120: -1- AU_DEFUN([AC_PROG_LD], [m4_if($#, 0, [LT_PATH_LD], [LT_PATH_LD($@)])]) 3408m4trace:m4/libtool.m4:3120: -1- AC_DEFUN([AC_PROG_LD], [AC_DIAGNOSE([obsolete], [The macro `AC_PROG_LD' is obsolete. 3409You should run autoupdate.])dnl 3410m4_if($#, 0, [LT_PATH_LD], [LT_PATH_LD($@)])]) 3411m4trace:m4/libtool.m4:3410: -1- AC_DEFUN([LT_PATH_NM], [AC_REQUIRE([AC_PROG_CC])dnl 3412AC_CACHE_CHECK([for BSD- or MS-compatible name lister (nm)], lt_cv_path_NM, 3413[if test -n "$NM"; then 3414 # Let the user override the test. 3415 lt_cv_path_NM="$NM" 3416else 3417 lt_nm_to_check="${ac_tool_prefix}nm" 3418 if test -n "$ac_tool_prefix" && test "$build" = "$host"; then 3419 lt_nm_to_check="$lt_nm_to_check nm" 3420 fi 3421 for lt_tmp_nm in $lt_nm_to_check; do 3422 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR 3423 for ac_dir in $PATH /usr/ccs/bin/elf /usr/ccs/bin /usr/ucb /bin; do 3424 IFS="$lt_save_ifs" 3425 test -z "$ac_dir" && ac_dir=. 3426 tmp_nm="$ac_dir/$lt_tmp_nm" 3427 if test -f "$tmp_nm" || test -f "$tmp_nm$ac_exeext" ; then 3428 # Check to see if the nm accepts a BSD-compat flag. 3429 # Adding the `sed 1q' prevents false positives on HP-UX, which says: 3430 # nm: unknown option "B" ignored 3431 # Tru64's nm complains that /dev/null is an invalid object file 3432 case `"$tmp_nm" -B /dev/null 2>&1 | sed '1q'` in 3433 */dev/null* | *'Invalid file or object type'*) 3434 lt_cv_path_NM="$tmp_nm -B" 3435 break 3436 ;; 3437 *) 3438 case `"$tmp_nm" -p /dev/null 2>&1 | sed '1q'` in 3439 */dev/null*) 3440 lt_cv_path_NM="$tmp_nm -p" 3441 break 3442 ;; 3443 *) 3444 lt_cv_path_NM=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but 3445 continue # so that we can try to find one that supports BSD flags 3446 ;; 3447 esac 3448 ;; 3449 esac 3450 fi 3451 done 3452 IFS="$lt_save_ifs" 3453 done 3454 : ${lt_cv_path_NM=no} 3455fi]) 3456if test "$lt_cv_path_NM" != "no"; then 3457 NM="$lt_cv_path_NM" 3458else 3459 # Didn't find any BSD compatible name lister, look for dumpbin. 3460 if test -n "$DUMPBIN"; then : 3461 # Let the user override the test. 3462 else 3463 AC_CHECK_TOOLS(DUMPBIN, [dumpbin "link -dump"], :) 3464 case `$DUMPBIN -symbols /dev/null 2>&1 | sed '1q'` in 3465 *COFF*) 3466 DUMPBIN="$DUMPBIN -symbols" 3467 ;; 3468 *) 3469 DUMPBIN=: 3470 ;; 3471 esac 3472 fi 3473 AC_SUBST([DUMPBIN]) 3474 if test "$DUMPBIN" != ":"; then 3475 NM="$DUMPBIN" 3476 fi 3477fi 3478test -z "$NM" && NM=nm 3479AC_SUBST([NM]) 3480_LT_DECL([], [NM], [1], [A BSD- or MS-compatible name lister])dnl 3481 3482AC_CACHE_CHECK([the name lister ($NM) interface], [lt_cv_nm_interface], 3483 [lt_cv_nm_interface="BSD nm" 3484 echo "int some_variable = 0;" > conftest.$ac_ext 3485 (eval echo "\"\$as_me:$LINENO: $ac_compile\"" >&AS_MESSAGE_LOG_FD) 3486 (eval "$ac_compile" 2>conftest.err) 3487 cat conftest.err >&AS_MESSAGE_LOG_FD 3488 (eval echo "\"\$as_me:$LINENO: $NM \\\"conftest.$ac_objext\\\"\"" >&AS_MESSAGE_LOG_FD) 3489 (eval "$NM \"conftest.$ac_objext\"" 2>conftest.err > conftest.out) 3490 cat conftest.err >&AS_MESSAGE_LOG_FD 3491 (eval echo "\"\$as_me:$LINENO: output\"" >&AS_MESSAGE_LOG_FD) 3492 cat conftest.out >&AS_MESSAGE_LOG_FD 3493 if $GREP 'External.*some_variable' conftest.out > /dev/null; then 3494 lt_cv_nm_interface="MS dumpbin" 3495 fi 3496 rm -f conftest*]) 3497]) 3498m4trace:m4/libtool.m4:3500: -1- AU_DEFUN([AM_PROG_NM], [m4_if($#, 0, [LT_PATH_NM], [LT_PATH_NM($@)])]) 3499m4trace:m4/libtool.m4:3500: -1- AC_DEFUN([AM_PROG_NM], [AC_DIAGNOSE([obsolete], [The macro `AM_PROG_NM' is obsolete. 3500You should run autoupdate.])dnl 3501m4_if($#, 0, [LT_PATH_NM], [LT_PATH_NM($@)])]) 3502m4trace:m4/libtool.m4:3501: -1- AU_DEFUN([AC_PROG_NM], [m4_if($#, 0, [LT_PATH_NM], [LT_PATH_NM($@)])]) 3503m4trace:m4/libtool.m4:3501: -1- AC_DEFUN([AC_PROG_NM], [AC_DIAGNOSE([obsolete], [The macro `AC_PROG_NM' is obsolete. 3504You should run autoupdate.])dnl 3505m4_if($#, 0, [LT_PATH_NM], [LT_PATH_NM($@)])]) 3506m4trace:m4/libtool.m4:3571: -1- AC_DEFUN([LT_LIB_M], [AC_REQUIRE([AC_CANONICAL_HOST])dnl 3507LIBM= 3508case $host in 3509*-*-beos* | *-*-cegcc* | *-*-cygwin* | *-*-haiku* | *-*-pw32* | *-*-darwin*) 3510 # These system don't have libm, or don't need it 3511 ;; 3512*-ncr-sysv4.3*) 3513 AC_CHECK_LIB(mw, _mwvalidcheckl, LIBM="-lmw") 3514 AC_CHECK_LIB(m, cos, LIBM="$LIBM -lm") 3515 ;; 3516*) 3517 AC_CHECK_LIB(m, cos, LIBM="-lm") 3518 ;; 3519esac 3520AC_SUBST([LIBM]) 3521]) 3522m4trace:m4/libtool.m4:3590: -1- AU_DEFUN([AC_CHECK_LIBM], [m4_if($#, 0, [LT_LIB_M], [LT_LIB_M($@)])]) 3523m4trace:m4/libtool.m4:3590: -1- AC_DEFUN([AC_CHECK_LIBM], [AC_DIAGNOSE([obsolete], [The macro `AC_CHECK_LIBM' is obsolete. 3524You should run autoupdate.])dnl 3525m4_if($#, 0, [LT_LIB_M], [LT_LIB_M($@)])]) 3526m4trace:m4/libtool.m4:7637: -1- AC_DEFUN([LT_PROG_GCJ], [m4_ifdef([AC_PROG_GCJ], [AC_PROG_GCJ], 3527 [m4_ifdef([A][M_PROG_GCJ], [A][M_PROG_GCJ], 3528 [AC_CHECK_TOOL(GCJ, gcj,) 3529 test "x${GCJFLAGS+set}" = xset || GCJFLAGS="-g -O2" 3530 AC_SUBST(GCJFLAGS)])])[]dnl 3531]) 3532m4trace:m4/libtool.m4:7646: -1- AU_DEFUN([LT_AC_PROG_GCJ], [m4_if($#, 0, [LT_PROG_GCJ], [LT_PROG_GCJ($@)])]) 3533m4trace:m4/libtool.m4:7646: -1- AC_DEFUN([LT_AC_PROG_GCJ], [AC_DIAGNOSE([obsolete], [The macro `LT_AC_PROG_GCJ' is obsolete. 3534You should run autoupdate.])dnl 3535m4_if($#, 0, [LT_PROG_GCJ], [LT_PROG_GCJ($@)])]) 3536m4trace:m4/libtool.m4:7653: -1- AC_DEFUN([LT_PROG_GO], [AC_CHECK_TOOL(GOC, gccgo,) 3537]) 3538m4trace:m4/libtool.m4:7660: -1- AC_DEFUN([LT_PROG_RC], [AC_CHECK_TOOL(RC, windres,) 3539]) 3540m4trace:m4/libtool.m4:7665: -1- AU_DEFUN([LT_AC_PROG_RC], [m4_if($#, 0, [LT_PROG_RC], [LT_PROG_RC($@)])]) 3541m4trace:m4/libtool.m4:7665: -1- AC_DEFUN([LT_AC_PROG_RC], [AC_DIAGNOSE([obsolete], [The macro `LT_AC_PROG_RC' is obsolete. 3542You should run autoupdate.])dnl 3543m4_if($#, 0, [LT_PROG_RC], [LT_PROG_RC($@)])]) 3544m4trace:m4/libtool.m4:7785: -1- AU_DEFUN([LT_AC_PROG_SED], [m4_if($#, 0, [AC_PROG_SED], [AC_PROG_SED($@)])]) 3545m4trace:m4/libtool.m4:7785: -1- AC_DEFUN([LT_AC_PROG_SED], [AC_DIAGNOSE([obsolete], [The macro `LT_AC_PROG_SED' is obsolete. 3546You should run autoupdate.])dnl 3547m4_if($#, 0, [AC_PROG_SED], [AC_PROG_SED($@)])]) 3548m4trace:m4/ltoptions.m4:14: -1- AC_DEFUN([LTOPTIONS_VERSION], [m4_if([1])]) 3549m4trace:m4/ltoptions.m4:111: -1- AU_DEFUN([AC_LIBTOOL_DLOPEN], [_LT_SET_OPTION([LT_INIT], [dlopen]) 3550AC_DIAGNOSE([obsolete], 3551[$0: Remove this warning and the call to _LT_SET_OPTION when you 3552put the `dlopen' option into LT_INIT's first parameter.]) 3553]) 3554m4trace:m4/ltoptions.m4:111: -1- AC_DEFUN([AC_LIBTOOL_DLOPEN], [AC_DIAGNOSE([obsolete], [The macro `AC_LIBTOOL_DLOPEN' is obsolete. 3555You should run autoupdate.])dnl 3556_LT_SET_OPTION([LT_INIT], [dlopen]) 3557AC_DIAGNOSE([obsolete], 3558[$0: Remove this warning and the call to _LT_SET_OPTION when you 3559put the `dlopen' option into LT_INIT's first parameter.]) 3560]) 3561m4trace:m4/ltoptions.m4:146: -1- AU_DEFUN([AC_LIBTOOL_WIN32_DLL], [AC_REQUIRE([AC_CANONICAL_HOST])dnl 3562_LT_SET_OPTION([LT_INIT], [win32-dll]) 3563AC_DIAGNOSE([obsolete], 3564[$0: Remove this warning and the call to _LT_SET_OPTION when you 3565put the `win32-dll' option into LT_INIT's first parameter.]) 3566]) 3567m4trace:m4/ltoptions.m4:146: -1- AC_DEFUN([AC_LIBTOOL_WIN32_DLL], [AC_DIAGNOSE([obsolete], [The macro `AC_LIBTOOL_WIN32_DLL' is obsolete. 3568You should run autoupdate.])dnl 3569AC_REQUIRE([AC_CANONICAL_HOST])dnl 3570_LT_SET_OPTION([LT_INIT], [win32-dll]) 3571AC_DIAGNOSE([obsolete], 3572[$0: Remove this warning and the call to _LT_SET_OPTION when you 3573put the `win32-dll' option into LT_INIT's first parameter.]) 3574]) 3575m4trace:m4/ltoptions.m4:195: -1- AC_DEFUN([AC_ENABLE_SHARED], [_LT_SET_OPTION([LT_INIT], m4_if([$1], [no], [disable-])[shared]) 3576]) 3577m4trace:m4/ltoptions.m4:199: -1- AC_DEFUN([AC_DISABLE_SHARED], [_LT_SET_OPTION([LT_INIT], [disable-shared]) 3578]) 3579m4trace:m4/ltoptions.m4:203: -1- AU_DEFUN([AM_ENABLE_SHARED], [AC_ENABLE_SHARED($@)]) 3580m4trace:m4/ltoptions.m4:203: -1- AC_DEFUN([AM_ENABLE_SHARED], [AC_DIAGNOSE([obsolete], [The macro `AM_ENABLE_SHARED' is obsolete. 3581You should run autoupdate.])dnl 3582AC_ENABLE_SHARED($@)]) 3583m4trace:m4/ltoptions.m4:204: -1- AU_DEFUN([AM_DISABLE_SHARED], [AC_DISABLE_SHARED($@)]) 3584m4trace:m4/ltoptions.m4:204: -1- AC_DEFUN([AM_DISABLE_SHARED], [AC_DIAGNOSE([obsolete], [The macro `AM_DISABLE_SHARED' is obsolete. 3585You should run autoupdate.])dnl 3586AC_DISABLE_SHARED($@)]) 3587m4trace:m4/ltoptions.m4:249: -1- AC_DEFUN([AC_ENABLE_STATIC], [_LT_SET_OPTION([LT_INIT], m4_if([$1], [no], [disable-])[static]) 3588]) 3589m4trace:m4/ltoptions.m4:253: -1- AC_DEFUN([AC_DISABLE_STATIC], [_LT_SET_OPTION([LT_INIT], [disable-static]) 3590]) 3591m4trace:m4/ltoptions.m4:257: -1- AU_DEFUN([AM_ENABLE_STATIC], [AC_ENABLE_STATIC($@)]) 3592m4trace:m4/ltoptions.m4:257: -1- AC_DEFUN([AM_ENABLE_STATIC], [AC_DIAGNOSE([obsolete], [The macro `AM_ENABLE_STATIC' is obsolete. 3593You should run autoupdate.])dnl 3594AC_ENABLE_STATIC($@)]) 3595m4trace:m4/ltoptions.m4:258: -1- AU_DEFUN([AM_DISABLE_STATIC], [AC_DISABLE_STATIC($@)]) 3596m4trace:m4/ltoptions.m4:258: -1- AC_DEFUN([AM_DISABLE_STATIC], [AC_DIAGNOSE([obsolete], [The macro `AM_DISABLE_STATIC' is obsolete. 3597You should run autoupdate.])dnl 3598AC_DISABLE_STATIC($@)]) 3599m4trace:m4/ltoptions.m4:303: -1- AU_DEFUN([AC_ENABLE_FAST_INSTALL], [_LT_SET_OPTION([LT_INIT], m4_if([$1], [no], [disable-])[fast-install]) 3600AC_DIAGNOSE([obsolete], 3601[$0: Remove this warning and the call to _LT_SET_OPTION when you put 3602the `fast-install' option into LT_INIT's first parameter.]) 3603]) 3604m4trace:m4/ltoptions.m4:303: -1- AC_DEFUN([AC_ENABLE_FAST_INSTALL], [AC_DIAGNOSE([obsolete], [The macro `AC_ENABLE_FAST_INSTALL' is obsolete. 3605You should run autoupdate.])dnl 3606_LT_SET_OPTION([LT_INIT], m4_if([$1], [no], [disable-])[fast-install]) 3607AC_DIAGNOSE([obsolete], 3608[$0: Remove this warning and the call to _LT_SET_OPTION when you put 3609the `fast-install' option into LT_INIT's first parameter.]) 3610]) 3611m4trace:m4/ltoptions.m4:310: -1- AU_DEFUN([AC_DISABLE_FAST_INSTALL], [_LT_SET_OPTION([LT_INIT], [disable-fast-install]) 3612AC_DIAGNOSE([obsolete], 3613[$0: Remove this warning and the call to _LT_SET_OPTION when you put 3614the `disable-fast-install' option into LT_INIT's first parameter.]) 3615]) 3616m4trace:m4/ltoptions.m4:310: -1- AC_DEFUN([AC_DISABLE_FAST_INSTALL], [AC_DIAGNOSE([obsolete], [The macro `AC_DISABLE_FAST_INSTALL' is obsolete. 3617You should run autoupdate.])dnl 3618_LT_SET_OPTION([LT_INIT], [disable-fast-install]) 3619AC_DIAGNOSE([obsolete], 3620[$0: Remove this warning and the call to _LT_SET_OPTION when you put 3621the `disable-fast-install' option into LT_INIT's first parameter.]) 3622]) 3623m4trace:m4/ltoptions.m4:358: -1- AU_DEFUN([AC_LIBTOOL_PICMODE], [_LT_SET_OPTION([LT_INIT], [pic-only]) 3624AC_DIAGNOSE([obsolete], 3625[$0: Remove this warning and the call to _LT_SET_OPTION when you 3626put the `pic-only' option into LT_INIT's first parameter.]) 3627]) 3628m4trace:m4/ltoptions.m4:358: -1- AC_DEFUN([AC_LIBTOOL_PICMODE], [AC_DIAGNOSE([obsolete], [The macro `AC_LIBTOOL_PICMODE' is obsolete. 3629You should run autoupdate.])dnl 3630_LT_SET_OPTION([LT_INIT], [pic-only]) 3631AC_DIAGNOSE([obsolete], 3632[$0: Remove this warning and the call to _LT_SET_OPTION when you 3633put the `pic-only' option into LT_INIT's first parameter.]) 3634]) 3635m4trace:m4/ltsugar.m4:13: -1- AC_DEFUN([LTSUGAR_VERSION], [m4_if([0.1])]) 3636m4trace:m4/ltversion.m4:18: -1- AC_DEFUN([LTVERSION_VERSION], [macro_version='2.4.2' 3637macro_revision='1.3337' 3638_LT_DECL(, macro_version, 0, [Which release of libtool.m4 was used?]) 3639_LT_DECL(, macro_revision, 0) 3640]) 3641m4trace:m4/lt~obsolete.m4:36: -1- AC_DEFUN([LTOBSOLETE_VERSION], [m4_if([1])]) 3642m4trace:m4/lt~obsolete.m4:40: -1- AC_DEFUN([_LT_AC_PROG_ECHO_BACKSLASH]) 3643m4trace:m4/lt~obsolete.m4:41: -1- AC_DEFUN([_LT_AC_SHELL_INIT]) 3644m4trace:m4/lt~obsolete.m4:42: -1- AC_DEFUN([_LT_AC_SYS_LIBPATH_AIX]) 3645m4trace:m4/lt~obsolete.m4:44: -1- AC_DEFUN([_LT_AC_TAGVAR]) 3646m4trace:m4/lt~obsolete.m4:45: -1- AC_DEFUN([AC_LTDL_ENABLE_INSTALL]) 3647m4trace:m4/lt~obsolete.m4:46: -1- AC_DEFUN([AC_LTDL_PREOPEN]) 3648m4trace:m4/lt~obsolete.m4:47: -1- AC_DEFUN([_LT_AC_SYS_COMPILER]) 3649m4trace:m4/lt~obsolete.m4:48: -1- AC_DEFUN([_LT_AC_LOCK]) 3650m4trace:m4/lt~obsolete.m4:49: -1- AC_DEFUN([AC_LIBTOOL_SYS_OLD_ARCHIVE]) 3651m4trace:m4/lt~obsolete.m4:50: -1- AC_DEFUN([_LT_AC_TRY_DLOPEN_SELF]) 3652m4trace:m4/lt~obsolete.m4:51: -1- AC_DEFUN([AC_LIBTOOL_PROG_CC_C_O]) 3653m4trace:m4/lt~obsolete.m4:52: -1- AC_DEFUN([AC_LIBTOOL_SYS_HARD_LINK_LOCKS]) 3654m4trace:m4/lt~obsolete.m4:53: -1- AC_DEFUN([AC_LIBTOOL_OBJDIR]) 3655m4trace:m4/lt~obsolete.m4:54: -1- AC_DEFUN([AC_LTDL_OBJDIR]) 3656m4trace:m4/lt~obsolete.m4:55: -1- AC_DEFUN([AC_LIBTOOL_PROG_LD_HARDCODE_LIBPATH]) 3657m4trace:m4/lt~obsolete.m4:56: -1- AC_DEFUN([AC_LIBTOOL_SYS_LIB_STRIP]) 3658m4trace:m4/lt~obsolete.m4:57: -1- AC_DEFUN([AC_PATH_MAGIC]) 3659m4trace:m4/lt~obsolete.m4:58: -1- AC_DEFUN([AC_PROG_LD_GNU]) 3660m4trace:m4/lt~obsolete.m4:59: -1- AC_DEFUN([AC_PROG_LD_RELOAD_FLAG]) 3661m4trace:m4/lt~obsolete.m4:60: -1- AC_DEFUN([AC_DEPLIBS_CHECK_METHOD]) 3662m4trace:m4/lt~obsolete.m4:61: -1- AC_DEFUN([AC_LIBTOOL_PROG_COMPILER_NO_RTTI]) 3663m4trace:m4/lt~obsolete.m4:62: -1- AC_DEFUN([AC_LIBTOOL_SYS_GLOBAL_SYMBOL_PIPE]) 3664m4trace:m4/lt~obsolete.m4:63: -1- AC_DEFUN([AC_LIBTOOL_PROG_COMPILER_PIC]) 3665m4trace:m4/lt~obsolete.m4:64: -1- AC_DEFUN([AC_LIBTOOL_PROG_LD_SHLIBS]) 3666m4trace:m4/lt~obsolete.m4:65: -1- AC_DEFUN([AC_LIBTOOL_POSTDEP_PREDEP]) 3667m4trace:m4/lt~obsolete.m4:66: -1- AC_DEFUN([LT_AC_PROG_EGREP]) 3668m4trace:m4/lt~obsolete.m4:71: -1- AC_DEFUN([_AC_PROG_LIBTOOL]) 3669m4trace:m4/lt~obsolete.m4:72: -1- AC_DEFUN([AC_LIBTOOL_SETUP]) 3670m4trace:m4/lt~obsolete.m4:73: -1- AC_DEFUN([_LT_AC_CHECK_DLFCN]) 3671m4trace:m4/lt~obsolete.m4:74: -1- AC_DEFUN([AC_LIBTOOL_SYS_DYNAMIC_LINKER]) 3672m4trace:m4/lt~obsolete.m4:75: -1- AC_DEFUN([_LT_AC_TAGCONFIG]) 3673m4trace:m4/lt~obsolete.m4:77: -1- AC_DEFUN([_LT_AC_LANG_CXX]) 3674m4trace:m4/lt~obsolete.m4:78: -1- AC_DEFUN([_LT_AC_LANG_F77]) 3675m4trace:m4/lt~obsolete.m4:79: -1- AC_DEFUN([_LT_AC_LANG_GCJ]) 3676m4trace:m4/lt~obsolete.m4:80: -1- AC_DEFUN([AC_LIBTOOL_LANG_C_CONFIG]) 3677m4trace:m4/lt~obsolete.m4:81: -1- AC_DEFUN([_LT_AC_LANG_C_CONFIG]) 3678m4trace:m4/lt~obsolete.m4:82: -1- AC_DEFUN([AC_LIBTOOL_LANG_CXX_CONFIG]) 3679m4trace:m4/lt~obsolete.m4:83: -1- AC_DEFUN([_LT_AC_LANG_CXX_CONFIG]) 3680m4trace:m4/lt~obsolete.m4:84: -1- AC_DEFUN([AC_LIBTOOL_LANG_F77_CONFIG]) 3681m4trace:m4/lt~obsolete.m4:85: -1- AC_DEFUN([_LT_AC_LANG_F77_CONFIG]) 3682m4trace:m4/lt~obsolete.m4:86: -1- AC_DEFUN([AC_LIBTOOL_LANG_GCJ_CONFIG]) 3683m4trace:m4/lt~obsolete.m4:87: -1- AC_DEFUN([_LT_AC_LANG_GCJ_CONFIG]) 3684m4trace:m4/lt~obsolete.m4:88: -1- AC_DEFUN([AC_LIBTOOL_LANG_RC_CONFIG]) 3685m4trace:m4/lt~obsolete.m4:89: -1- AC_DEFUN([_LT_AC_LANG_RC_CONFIG]) 3686m4trace:m4/lt~obsolete.m4:90: -1- AC_DEFUN([AC_LIBTOOL_CONFIG]) 3687m4trace:m4/lt~obsolete.m4:91: -1- AC_DEFUN([_LT_AC_FILE_LTDLL_C]) 3688m4trace:m4/lt~obsolete.m4:93: -1- AC_DEFUN([_LT_AC_PROG_CXXCPP]) 3689m4trace:m4/lt~obsolete.m4:96: -1- AC_DEFUN([_LT_PROG_F77]) 3690m4trace:m4/lt~obsolete.m4:97: -1- AC_DEFUN([_LT_PROG_FC]) 3691m4trace:m4/lt~obsolete.m4:98: -1- AC_DEFUN([_LT_PROG_CXX]) 3692m4trace:configure.ac:25: -1- m4_pattern_forbid([^_?A[CHUM]_]) 3693m4trace:configure.ac:25: -1- m4_pattern_forbid([_AC_]) 3694m4trace:configure.ac:25: -1- m4_pattern_forbid([^LIBOBJS$], [do not use LIBOBJS directly, use AC_LIBOBJ (see section `AC_LIBOBJ vs LIBOBJS']) 3695m4trace:configure.ac:25: -1- m4_pattern_allow([^AS_FLAGS$]) 3696m4trace:configure.ac:25: -1- m4_pattern_forbid([^_?m4_]) 3697m4trace:configure.ac:25: -1- m4_pattern_forbid([^dnl$]) 3698m4trace:configure.ac:25: -1- m4_pattern_forbid([^_?AS_]) 3699m4trace:configure.ac:25: -1- m4_pattern_allow([^SHELL$]) 3700m4trace:configure.ac:25: -1- m4_pattern_allow([^PATH_SEPARATOR$]) 3701m4trace:configure.ac:25: -1- m4_pattern_allow([^PACKAGE_NAME$]) 3702m4trace:configure.ac:25: -1- m4_pattern_allow([^PACKAGE_TARNAME$]) 3703m4trace:configure.ac:25: -1- m4_pattern_allow([^PACKAGE_VERSION$]) 3704m4trace:configure.ac:25: -1- m4_pattern_allow([^PACKAGE_STRING$]) 3705m4trace:configure.ac:25: -1- m4_pattern_allow([^PACKAGE_BUGREPORT$]) 3706m4trace:configure.ac:25: -1- m4_pattern_allow([^PACKAGE_URL$]) 3707m4trace:configure.ac:25: -1- m4_pattern_allow([^exec_prefix$]) 3708m4trace:configure.ac:25: -1- m4_pattern_allow([^prefix$]) 3709m4trace:configure.ac:25: -1- m4_pattern_allow([^program_transform_name$]) 3710m4trace:configure.ac:25: -1- m4_pattern_allow([^bindir$]) 3711m4trace:configure.ac:25: -1- m4_pattern_allow([^sbindir$]) 3712m4trace:configure.ac:25: -1- m4_pattern_allow([^libexecdir$]) 3713m4trace:configure.ac:25: -1- m4_pattern_allow([^datarootdir$]) 3714m4trace:configure.ac:25: -1- m4_pattern_allow([^datadir$]) 3715m4trace:configure.ac:25: -1- m4_pattern_allow([^sysconfdir$]) 3716m4trace:configure.ac:25: -1- m4_pattern_allow([^sharedstatedir$]) 3717m4trace:configure.ac:25: -1- m4_pattern_allow([^localstatedir$]) 3718m4trace:configure.ac:25: -1- m4_pattern_allow([^includedir$]) 3719m4trace:configure.ac:25: -1- m4_pattern_allow([^oldincludedir$]) 3720m4trace:configure.ac:25: -1- m4_pattern_allow([^docdir$]) 3721m4trace:configure.ac:25: -1- m4_pattern_allow([^infodir$]) 3722m4trace:configure.ac:25: -1- m4_pattern_allow([^htmldir$]) 3723m4trace:configure.ac:25: -1- m4_pattern_allow([^dvidir$]) 3724m4trace:configure.ac:25: -1- m4_pattern_allow([^pdfdir$]) 3725m4trace:configure.ac:25: -1- m4_pattern_allow([^psdir$]) 3726m4trace:configure.ac:25: -1- m4_pattern_allow([^libdir$]) 3727m4trace:configure.ac:25: -1- m4_pattern_allow([^localedir$]) 3728m4trace:configure.ac:25: -1- m4_pattern_allow([^mandir$]) 3729m4trace:configure.ac:25: -1- m4_pattern_allow([^PACKAGE_NAME$]) 3730m4trace:configure.ac:25: -1- m4_pattern_allow([^PACKAGE_TARNAME$]) 3731m4trace:configure.ac:25: -1- m4_pattern_allow([^PACKAGE_VERSION$]) 3732m4trace:configure.ac:25: -1- m4_pattern_allow([^PACKAGE_STRING$]) 3733m4trace:configure.ac:25: -1- m4_pattern_allow([^PACKAGE_BUGREPORT$]) 3734m4trace:configure.ac:25: -1- m4_pattern_allow([^PACKAGE_URL$]) 3735m4trace:configure.ac:25: -1- m4_pattern_allow([^DEFS$]) 3736m4trace:configure.ac:25: -1- m4_pattern_allow([^ECHO_C$]) 3737m4trace:configure.ac:25: -1- m4_pattern_allow([^ECHO_N$]) 3738m4trace:configure.ac:25: -1- m4_pattern_allow([^ECHO_T$]) 3739m4trace:configure.ac:25: -1- m4_pattern_allow([^LIBS$]) 3740m4trace:configure.ac:25: -1- m4_pattern_allow([^build_alias$]) 3741m4trace:configure.ac:25: -1- m4_pattern_allow([^host_alias$]) 3742m4trace:configure.ac:25: -1- m4_pattern_allow([^target_alias$]) 3743m4trace:configure.ac:30: -1- AC_CONFIG_MACRO_DIR([m4]) 3744m4trace:configure.ac:34: -1- AM_INIT_AUTOMAKE([foreign dist-xz no-dist-gzip subdir-objects color-tests parallel-tests check-news]) 3745m4trace:configure.ac:34: -1- m4_pattern_allow([^AM_[A-Z]+FLAGS$]) 3746m4trace:configure.ac:34: -1- AM_SET_CURRENT_AUTOMAKE_VERSION 3747m4trace:configure.ac:34: -1- AM_AUTOMAKE_VERSION([1.14.1]) 3748m4trace:configure.ac:34: -1- _AM_AUTOCONF_VERSION([2.69]) 3749m4trace:configure.ac:34: -1- m4_pattern_allow([^INSTALL_PROGRAM$]) 3750m4trace:configure.ac:34: -1- m4_pattern_allow([^INSTALL_SCRIPT$]) 3751m4trace:configure.ac:34: -1- m4_pattern_allow([^INSTALL_DATA$]) 3752m4trace:configure.ac:34: -1- m4_pattern_allow([^am__isrc$]) 3753m4trace:configure.ac:34: -1- _AM_SUBST_NOTMAKE([am__isrc]) 3754m4trace:configure.ac:34: -1- m4_pattern_allow([^CYGPATH_W$]) 3755m4trace:configure.ac:34: -1- _AM_SET_OPTIONS([foreign dist-xz no-dist-gzip subdir-objects color-tests parallel-tests check-news]) 3756m4trace:configure.ac:34: -1- _AM_SET_OPTION([foreign]) 3757m4trace:configure.ac:34: -2- _AM_MANGLE_OPTION([foreign]) 3758m4trace:configure.ac:34: -1- _AM_SET_OPTION([dist-xz]) 3759m4trace:configure.ac:34: -2- _AM_MANGLE_OPTION([dist-xz]) 3760m4trace:configure.ac:34: -1- _AM_SET_OPTION([no-dist-gzip]) 3761m4trace:configure.ac:34: -2- _AM_MANGLE_OPTION([no-dist-gzip]) 3762m4trace:configure.ac:34: -1- _AM_SET_OPTION([subdir-objects]) 3763m4trace:configure.ac:34: -2- _AM_MANGLE_OPTION([subdir-objects]) 3764m4trace:configure.ac:34: -1- _AM_SET_OPTION([color-tests]) 3765m4trace:configure.ac:34: -2- _AM_MANGLE_OPTION([color-tests]) 3766m4trace:configure.ac:34: -1- _AM_SET_OPTION([parallel-tests]) 3767m4trace:configure.ac:34: -2- _AM_MANGLE_OPTION([parallel-tests]) 3768m4trace:configure.ac:34: -1- _AM_SET_OPTION([check-news]) 3769m4trace:configure.ac:34: -2- _AM_MANGLE_OPTION([check-news]) 3770m4trace:configure.ac:34: -1- m4_pattern_allow([^PACKAGE$]) 3771m4trace:configure.ac:34: -1- m4_pattern_allow([^VERSION$]) 3772m4trace:configure.ac:34: -1- _AM_IF_OPTION([no-define], [], [AC_DEFINE_UNQUOTED([PACKAGE], ["$PACKAGE"], [Name of package]) 3773 AC_DEFINE_UNQUOTED([VERSION], ["$VERSION"], [Version number of package])]) 3774m4trace:configure.ac:34: -2- _AM_MANGLE_OPTION([no-define]) 3775m4trace:configure.ac:34: -1- m4_pattern_allow([^PACKAGE$]) 3776m4trace:configure.ac:34: -1- m4_pattern_allow([^VERSION$]) 3777m4trace:configure.ac:34: -1- AM_SANITY_CHECK 3778m4trace:configure.ac:34: -1- AM_MISSING_PROG([ACLOCAL], [aclocal-${am__api_version}]) 3779m4trace:configure.ac:34: -1- AM_MISSING_HAS_RUN 3780m4trace:configure.ac:34: -1- AM_AUX_DIR_EXPAND 3781m4trace:configure.ac:34: -1- m4_pattern_allow([^ACLOCAL$]) 3782m4trace:configure.ac:34: -1- AM_MISSING_PROG([AUTOCONF], [autoconf]) 3783m4trace:configure.ac:34: -1- m4_pattern_allow([^AUTOCONF$]) 3784m4trace:configure.ac:34: -1- AM_MISSING_PROG([AUTOMAKE], [automake-${am__api_version}]) 3785m4trace:configure.ac:34: -1- m4_pattern_allow([^AUTOMAKE$]) 3786m4trace:configure.ac:34: -1- AM_MISSING_PROG([AUTOHEADER], [autoheader]) 3787m4trace:configure.ac:34: -1- m4_pattern_allow([^AUTOHEADER$]) 3788m4trace:configure.ac:34: -1- AM_MISSING_PROG([MAKEINFO], [makeinfo]) 3789m4trace:configure.ac:34: -1- m4_pattern_allow([^MAKEINFO$]) 3790m4trace:configure.ac:34: -1- AM_PROG_INSTALL_SH 3791m4trace:configure.ac:34: -1- m4_pattern_allow([^install_sh$]) 3792m4trace:configure.ac:34: -1- AM_PROG_INSTALL_STRIP 3793m4trace:configure.ac:34: -1- m4_pattern_allow([^STRIP$]) 3794m4trace:configure.ac:34: -1- m4_pattern_allow([^INSTALL_STRIP_PROGRAM$]) 3795m4trace:configure.ac:34: -1- m4_pattern_allow([^MKDIR_P$]) 3796m4trace:configure.ac:34: -1- m4_pattern_allow([^mkdir_p$]) 3797m4trace:configure.ac:34: -1- m4_pattern_allow([^AWK$]) 3798m4trace:configure.ac:34: -1- m4_pattern_allow([^SET_MAKE$]) 3799m4trace:configure.ac:34: -1- AM_SET_LEADING_DOT 3800m4trace:configure.ac:34: -1- m4_pattern_allow([^am__leading_dot$]) 3801m4trace:configure.ac:34: -1- _AM_IF_OPTION([tar-ustar], [_AM_PROG_TAR([ustar])], [_AM_IF_OPTION([tar-pax], [_AM_PROG_TAR([pax])], 3802 [_AM_PROG_TAR([v7])])]) 3803m4trace:configure.ac:34: -2- _AM_MANGLE_OPTION([tar-ustar]) 3804m4trace:configure.ac:34: -1- _AM_IF_OPTION([tar-pax], [_AM_PROG_TAR([pax])], [_AM_PROG_TAR([v7])]) 3805m4trace:configure.ac:34: -2- _AM_MANGLE_OPTION([tar-pax]) 3806m4trace:configure.ac:34: -1- _AM_PROG_TAR([v7]) 3807m4trace:configure.ac:34: -1- m4_pattern_allow([^AMTAR$]) 3808m4trace:configure.ac:34: -1- m4_pattern_allow([^am__tar$]) 3809m4trace:configure.ac:34: -1- m4_pattern_allow([^am__untar$]) 3810m4trace:configure.ac:34: -1- _AM_IF_OPTION([no-dependencies], [], [AC_PROVIDE_IFELSE([AC_PROG_CC], 3811 [_AM_DEPENDENCIES([CC])], 3812 [m4_define([AC_PROG_CC], 3813 m4_defn([AC_PROG_CC])[_AM_DEPENDENCIES([CC])])])dnl 3814AC_PROVIDE_IFELSE([AC_PROG_CXX], 3815 [_AM_DEPENDENCIES([CXX])], 3816 [m4_define([AC_PROG_CXX], 3817 m4_defn([AC_PROG_CXX])[_AM_DEPENDENCIES([CXX])])])dnl 3818AC_PROVIDE_IFELSE([AC_PROG_OBJC], 3819 [_AM_DEPENDENCIES([OBJC])], 3820 [m4_define([AC_PROG_OBJC], 3821 m4_defn([AC_PROG_OBJC])[_AM_DEPENDENCIES([OBJC])])])dnl 3822AC_PROVIDE_IFELSE([AC_PROG_OBJCXX], 3823 [_AM_DEPENDENCIES([OBJCXX])], 3824 [m4_define([AC_PROG_OBJCXX], 3825 m4_defn([AC_PROG_OBJCXX])[_AM_DEPENDENCIES([OBJCXX])])])dnl 3826]) 3827m4trace:configure.ac:34: -2- _AM_MANGLE_OPTION([no-dependencies]) 3828m4trace:configure.ac:34: -1- AM_SILENT_RULES 3829m4trace:configure.ac:34: -1- m4_pattern_allow([^AM_V$]) 3830m4trace:configure.ac:34: -1- AM_SUBST_NOTMAKE([AM_V]) 3831m4trace:configure.ac:34: -1- _AM_SUBST_NOTMAKE([AM_V]) 3832m4trace:configure.ac:34: -1- m4_pattern_allow([^AM_DEFAULT_V$]) 3833m4trace:configure.ac:34: -1- AM_SUBST_NOTMAKE([AM_DEFAULT_V]) 3834m4trace:configure.ac:34: -1- _AM_SUBST_NOTMAKE([AM_DEFAULT_V]) 3835m4trace:configure.ac:34: -1- m4_pattern_allow([^AM_DEFAULT_VERBOSITY$]) 3836m4trace:configure.ac:34: -1- m4_pattern_allow([^AM_BACKSLASH$]) 3837m4trace:configure.ac:34: -1- _AM_SUBST_NOTMAKE([AM_BACKSLASH]) 3838m4trace:configure.ac:35: -1- AM_MAINTAINER_MODE([enable]) 3839m4trace:configure.ac:35: -1- AM_CONDITIONAL([MAINTAINER_MODE], [test $USE_MAINTAINER_MODE = yes]) 3840m4trace:configure.ac:35: -1- m4_pattern_allow([^MAINTAINER_MODE_TRUE$]) 3841m4trace:configure.ac:35: -1- m4_pattern_allow([^MAINTAINER_MODE_FALSE$]) 3842m4trace:configure.ac:35: -1- _AM_SUBST_NOTMAKE([MAINTAINER_MODE_TRUE]) 3843m4trace:configure.ac:35: -1- _AM_SUBST_NOTMAKE([MAINTAINER_MODE_FALSE]) 3844m4trace:configure.ac:35: -1- m4_pattern_allow([^MAINT$]) 3845m4trace:configure.ac:38: -1- m4_pattern_allow([^CC$]) 3846m4trace:configure.ac:38: -1- m4_pattern_allow([^CFLAGS$]) 3847m4trace:configure.ac:38: -1- m4_pattern_allow([^LDFLAGS$]) 3848m4trace:configure.ac:38: -1- m4_pattern_allow([^LIBS$]) 3849m4trace:configure.ac:38: -1- m4_pattern_allow([^CPPFLAGS$]) 3850m4trace:configure.ac:38: -1- m4_pattern_allow([^CC$]) 3851m4trace:configure.ac:38: -1- m4_pattern_allow([^CC$]) 3852m4trace:configure.ac:38: -1- m4_pattern_allow([^CC$]) 3853m4trace:configure.ac:38: -1- m4_pattern_allow([^CC$]) 3854m4trace:configure.ac:38: -1- m4_pattern_allow([^ac_ct_CC$]) 3855m4trace:configure.ac:38: -1- m4_pattern_allow([^EXEEXT$]) 3856m4trace:configure.ac:38: -1- m4_pattern_allow([^OBJEXT$]) 3857m4trace:configure.ac:38: -1- _AM_PROG_CC_C_O 3858m4trace:configure.ac:38: -1- AM_RUN_LOG([$CC -c conftest.$ac_ext -o conftest2.$ac_objext]) 3859m4trace:configure.ac:38: -1- _AM_DEPENDENCIES([CC]) 3860m4trace:configure.ac:38: -1- AM_SET_DEPDIR 3861m4trace:configure.ac:38: -1- m4_pattern_allow([^DEPDIR$]) 3862m4trace:configure.ac:38: -1- AM_OUTPUT_DEPENDENCY_COMMANDS 3863m4trace:configure.ac:38: -1- AM_MAKE_INCLUDE 3864m4trace:configure.ac:38: -1- m4_pattern_allow([^am__include$]) 3865m4trace:configure.ac:38: -1- m4_pattern_allow([^am__quote$]) 3866m4trace:configure.ac:38: -1- AM_DEP_TRACK 3867m4trace:configure.ac:38: -1- AM_CONDITIONAL([AMDEP], [test "x$enable_dependency_tracking" != xno]) 3868m4trace:configure.ac:38: -1- m4_pattern_allow([^AMDEP_TRUE$]) 3869m4trace:configure.ac:38: -1- m4_pattern_allow([^AMDEP_FALSE$]) 3870m4trace:configure.ac:38: -1- _AM_SUBST_NOTMAKE([AMDEP_TRUE]) 3871m4trace:configure.ac:38: -1- _AM_SUBST_NOTMAKE([AMDEP_FALSE]) 3872m4trace:configure.ac:38: -1- m4_pattern_allow([^AMDEPBACKSLASH$]) 3873m4trace:configure.ac:38: -1- _AM_SUBST_NOTMAKE([AMDEPBACKSLASH]) 3874m4trace:configure.ac:38: -1- m4_pattern_allow([^am__nodep$]) 3875m4trace:configure.ac:38: -1- _AM_SUBST_NOTMAKE([am__nodep]) 3876m4trace:configure.ac:38: -1- m4_pattern_allow([^CCDEPMODE$]) 3877m4trace:configure.ac:38: -1- AM_CONDITIONAL([am__fastdepCC], [ 3878 test "x$enable_dependency_tracking" != xno \ 3879 && test "$am_cv_CC_dependencies_compiler_type" = gcc3]) 3880m4trace:configure.ac:38: -1- m4_pattern_allow([^am__fastdepCC_TRUE$]) 3881m4trace:configure.ac:38: -1- m4_pattern_allow([^am__fastdepCC_FALSE$]) 3882m4trace:configure.ac:38: -1- _AM_SUBST_NOTMAKE([am__fastdepCC_TRUE]) 3883m4trace:configure.ac:38: -1- _AM_SUBST_NOTMAKE([am__fastdepCC_FALSE]) 3884m4trace:configure.ac:38: -1- m4_pattern_allow([^CPP$]) 3885m4trace:configure.ac:38: -1- m4_pattern_allow([^CPPFLAGS$]) 3886m4trace:configure.ac:38: -1- m4_pattern_allow([^CPP$]) 3887m4trace:configure.ac:38: -1- AC_PROG_EGREP 3888m4trace:configure.ac:38: -1- m4_pattern_allow([^GREP$]) 3889m4trace:configure.ac:38: -1- m4_pattern_allow([^EGREP$]) 3890m4trace:configure.ac:38: -1- m4_pattern_allow([^STDC_HEADERS$]) 3891m4trace:configure.ac:38: -1- m4_pattern_allow([^_POSIX_SOURCE$]) 3892m4trace:configure.ac:38: -1- m4_pattern_allow([^_POSIX_1_SOURCE$]) 3893m4trace:configure.ac:38: -1- m4_pattern_allow([^_MINIX$]) 3894m4trace:configure.ac:38: -1- m4_pattern_allow([^__EXTENSIONS__$]) 3895m4trace:configure.ac:38: -1- m4_pattern_allow([^_ALL_SOURCE$]) 3896m4trace:configure.ac:38: -1- m4_pattern_allow([^_GNU_SOURCE$]) 3897m4trace:configure.ac:38: -1- m4_pattern_allow([^_POSIX_PTHREAD_SEMANTICS$]) 3898m4trace:configure.ac:38: -1- m4_pattern_allow([^_TANDEM_SOURCE$]) 3899m4trace:configure.ac:41: -1- LT_INIT 3900m4trace:configure.ac:41: -1- m4_pattern_forbid([^_?LT_[A-Z_]+$]) 3901m4trace:configure.ac:41: -1- m4_pattern_allow([^(_LT_EOF|LT_DLGLOBAL|LT_DLLAZY_OR_NOW|LT_MULTI_MODULE)$]) 3902m4trace:configure.ac:41: -1- LTOPTIONS_VERSION 3903m4trace:configure.ac:41: -1- LTSUGAR_VERSION 3904m4trace:configure.ac:41: -1- LTVERSION_VERSION 3905m4trace:configure.ac:41: -1- LTOBSOLETE_VERSION 3906m4trace:configure.ac:41: -1- _LT_PROG_LTMAIN 3907m4trace:configure.ac:41: -1- m4_pattern_allow([^LIBTOOL$]) 3908m4trace:configure.ac:41: -1- m4_pattern_allow([^build$]) 3909m4trace:configure.ac:41: -1- m4_pattern_allow([^build_cpu$]) 3910m4trace:configure.ac:41: -1- m4_pattern_allow([^build_vendor$]) 3911m4trace:configure.ac:41: -1- m4_pattern_allow([^build_os$]) 3912m4trace:configure.ac:41: -1- m4_pattern_allow([^host$]) 3913m4trace:configure.ac:41: -1- m4_pattern_allow([^host_cpu$]) 3914m4trace:configure.ac:41: -1- m4_pattern_allow([^host_vendor$]) 3915m4trace:configure.ac:41: -1- m4_pattern_allow([^host_os$]) 3916m4trace:configure.ac:41: -1- _LT_PREPARE_SED_QUOTE_VARS 3917m4trace:configure.ac:41: -1- _LT_PROG_ECHO_BACKSLASH 3918m4trace:configure.ac:41: -1- LT_PATH_LD 3919m4trace:configure.ac:41: -1- m4_pattern_allow([^SED$]) 3920m4trace:configure.ac:41: -1- m4_pattern_allow([^FGREP$]) 3921m4trace:configure.ac:41: -1- m4_pattern_allow([^GREP$]) 3922m4trace:configure.ac:41: -1- m4_pattern_allow([^LD$]) 3923m4trace:configure.ac:41: -1- LT_PATH_NM 3924m4trace:configure.ac:41: -1- m4_pattern_allow([^DUMPBIN$]) 3925m4trace:configure.ac:41: -1- m4_pattern_allow([^ac_ct_DUMPBIN$]) 3926m4trace:configure.ac:41: -1- m4_pattern_allow([^DUMPBIN$]) 3927m4trace:configure.ac:41: -1- m4_pattern_allow([^NM$]) 3928m4trace:configure.ac:41: -1- m4_pattern_allow([^LN_S$]) 3929m4trace:configure.ac:41: -1- LT_CMD_MAX_LEN 3930m4trace:configure.ac:41: -1- m4_pattern_allow([^OBJDUMP$]) 3931m4trace:configure.ac:41: -1- m4_pattern_allow([^OBJDUMP$]) 3932m4trace:configure.ac:41: -1- m4_pattern_allow([^DLLTOOL$]) 3933m4trace:configure.ac:41: -1- m4_pattern_allow([^DLLTOOL$]) 3934m4trace:configure.ac:41: -1- m4_pattern_allow([^AR$]) 3935m4trace:configure.ac:41: -1- m4_pattern_allow([^ac_ct_AR$]) 3936m4trace:configure.ac:41: -1- m4_pattern_allow([^STRIP$]) 3937m4trace:configure.ac:41: -1- m4_pattern_allow([^RANLIB$]) 3938m4trace:configure.ac:41: -1- _LT_WITH_SYSROOT 3939m4trace:configure.ac:41: -1- m4_pattern_allow([LT_OBJDIR]) 3940m4trace:configure.ac:41: -1- m4_pattern_allow([^LT_OBJDIR$]) 3941m4trace:configure.ac:41: -1- _LT_CC_BASENAME([$compiler]) 3942m4trace:configure.ac:41: -1- _LT_PATH_TOOL_PREFIX([${ac_tool_prefix}file], [/usr/bin$PATH_SEPARATOR$PATH]) 3943m4trace:configure.ac:41: -1- _LT_PATH_TOOL_PREFIX([file], [/usr/bin$PATH_SEPARATOR$PATH]) 3944m4trace:configure.ac:41: -1- LT_SUPPORTED_TAG([CC]) 3945m4trace:configure.ac:41: -1- _LT_COMPILER_BOILERPLATE 3946m4trace:configure.ac:41: -1- _LT_LINKER_BOILERPLATE 3947m4trace:configure.ac:41: -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"]) 3948m4trace:configure.ac:41: -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 3949 "" | " "*) ;; 3950 *) _LT_TAGVAR(lt_prog_compiler_pic, )=" $_LT_TAGVAR(lt_prog_compiler_pic, )" ;; 3951 esac], [_LT_TAGVAR(lt_prog_compiler_pic, )= 3952 _LT_TAGVAR(lt_prog_compiler_can_build_shared, )=no]) 3953m4trace:configure.ac:41: -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, )=]) 3954m4trace:configure.ac:41: -1- m4_pattern_allow([^MANIFEST_TOOL$]) 3955m4trace:configure.ac:41: -1- _LT_REQUIRED_DARWIN_CHECKS 3956m4trace:configure.ac:41: -1- m4_pattern_allow([^DSYMUTIL$]) 3957m4trace:configure.ac:41: -1- m4_pattern_allow([^NMEDIT$]) 3958m4trace:configure.ac:41: -1- m4_pattern_allow([^LIPO$]) 3959m4trace:configure.ac:41: -1- m4_pattern_allow([^OTOOL$]) 3960m4trace:configure.ac:41: -1- m4_pattern_allow([^OTOOL64$]) 3961m4trace:configure.ac:41: -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']) 3962m4trace:configure.ac:41: -1- LT_SYS_DLOPEN_SELF 3963m4trace:configure.ac:41: -1- m4_pattern_allow([^HAVE_DLFCN_H$]) 3964m4trace:configure.ac:47: -1- XORG_DEFAULT_OPTIONS 3965m4trace:configure.ac:47: -1- XORG_COMPILER_FLAGS 3966m4trace:configure.ac:47: -1- XORG_COMPILER_BRAND 3967m4trace:configure.ac:47: -1- XORG_TESTSET_CFLAG([[BASE_]PREFIX[FLAGS]], [-Wall]) 3968m4trace:configure.ac:47: -1- XORG_TESTSET_CFLAG([[BASE_]PREFIX[FLAGS]], [-Wpointer-arith]) 3969m4trace:configure.ac:47: -1- XORG_TESTSET_CFLAG([[BASE_]PREFIX[FLAGS]], [-Wmissing-declarations]) 3970m4trace:configure.ac:47: -1- XORG_TESTSET_CFLAG([[BASE_]PREFIX[FLAGS]], [-Wformat=2], [-Wformat]) 3971m4trace:configure.ac:47: -1- XORG_TESTSET_CFLAG([[BASE_]PREFIX[FLAGS]], [-Wstrict-prototypes]) 3972m4trace:configure.ac:47: -1- XORG_TESTSET_CFLAG([[BASE_]PREFIX[FLAGS]], [-Wmissing-prototypes]) 3973m4trace:configure.ac:47: -1- XORG_TESTSET_CFLAG([[BASE_]PREFIX[FLAGS]], [-Wnested-externs]) 3974m4trace:configure.ac:47: -1- XORG_TESTSET_CFLAG([[BASE_]PREFIX[FLAGS]], [-Wbad-function-cast]) 3975m4trace:configure.ac:47: -1- XORG_TESTSET_CFLAG([[BASE_]PREFIX[FLAGS]], [-Wold-style-definition]) 3976m4trace:configure.ac:47: -1- XORG_TESTSET_CFLAG([[BASE_]PREFIX[FLAGS]], [-Wdeclaration-after-statement]) 3977m4trace:configure.ac:47: -1- XORG_TESTSET_CFLAG([[BASE_]PREFIX[FLAGS]], [-Wunused]) 3978m4trace:configure.ac:47: -1- XORG_TESTSET_CFLAG([[BASE_]PREFIX[FLAGS]], [-Wuninitialized]) 3979m4trace:configure.ac:47: -1- XORG_TESTSET_CFLAG([[BASE_]PREFIX[FLAGS]], [-Wshadow]) 3980m4trace:configure.ac:47: -1- XORG_TESTSET_CFLAG([[BASE_]PREFIX[FLAGS]], [-Wcast-qual]) 3981m4trace:configure.ac:47: -1- XORG_TESTSET_CFLAG([[BASE_]PREFIX[FLAGS]], [-Wmissing-noreturn]) 3982m4trace:configure.ac:47: -1- XORG_TESTSET_CFLAG([[BASE_]PREFIX[FLAGS]], [-Wmissing-format-attribute]) 3983m4trace:configure.ac:47: -1- XORG_TESTSET_CFLAG([[BASE_]PREFIX[FLAGS]], [-Wredundant-decls]) 3984m4trace:configure.ac:47: -1- XORG_TESTSET_CFLAG([[BASE_]PREFIX[FLAGS]], [-Werror=implicit], [-errwarn=E_NO_EXPLICIT_TYPE_GIVEN -errwarn=E_NO_IMPLICIT_DECL_ALLOWED]) 3985m4trace:configure.ac:47: -1- XORG_TESTSET_CFLAG([[BASE_]PREFIX[FLAGS]], [-Werror=nonnull]) 3986m4trace:configure.ac:47: -1- XORG_TESTSET_CFLAG([[BASE_]PREFIX[FLAGS]], [-Werror=init-self]) 3987m4trace:configure.ac:47: -1- XORG_TESTSET_CFLAG([[BASE_]PREFIX[FLAGS]], [-Werror=main]) 3988m4trace:configure.ac:47: -1- XORG_TESTSET_CFLAG([[BASE_]PREFIX[FLAGS]], [-Werror=missing-braces]) 3989m4trace:configure.ac:47: -1- XORG_TESTSET_CFLAG([[BASE_]PREFIX[FLAGS]], [-Werror=sequence-point]) 3990m4trace:configure.ac:47: -1- XORG_TESTSET_CFLAG([[BASE_]PREFIX[FLAGS]], [-Werror=return-type], [-errwarn=E_FUNC_HAS_NO_RETURN_STMT]) 3991m4trace:configure.ac:47: -1- XORG_TESTSET_CFLAG([[BASE_]PREFIX[FLAGS]], [-Werror=trigraphs]) 3992m4trace:configure.ac:47: -1- XORG_TESTSET_CFLAG([[BASE_]PREFIX[FLAGS]], [-Werror=array-bounds]) 3993m4trace:configure.ac:47: -1- XORG_TESTSET_CFLAG([[BASE_]PREFIX[FLAGS]], [-Werror=write-strings]) 3994m4trace:configure.ac:47: -1- XORG_TESTSET_CFLAG([[BASE_]PREFIX[FLAGS]], [-Werror=address]) 3995m4trace:configure.ac:47: -1- XORG_TESTSET_CFLAG([[BASE_]PREFIX[FLAGS]], [-Werror=int-to-pointer-cast], [-errwarn=E_BAD_PTR_INT_COMBINATION]) 3996m4trace:configure.ac:47: -1- XORG_TESTSET_CFLAG([[BASE_]PREFIX[FLAGS]], [-Werror=pointer-to-int-cast]) 3997m4trace:configure.ac:47: -1- XORG_TESTSET_CFLAG([[BASE_]PREFIX[FLAGS]], [-Wimplicit]) 3998m4trace:configure.ac:47: -1- XORG_TESTSET_CFLAG([[BASE_]PREFIX[FLAGS]], [-Wnonnull]) 3999m4trace:configure.ac:47: -1- XORG_TESTSET_CFLAG([[BASE_]PREFIX[FLAGS]], [-Winit-self]) 4000m4trace:configure.ac:47: -1- XORG_TESTSET_CFLAG([[BASE_]PREFIX[FLAGS]], [-Wmain]) 4001m4trace:configure.ac:47: -1- XORG_TESTSET_CFLAG([[BASE_]PREFIX[FLAGS]], [-Wmissing-braces]) 4002m4trace:configure.ac:47: -1- XORG_TESTSET_CFLAG([[BASE_]PREFIX[FLAGS]], [-Wsequence-point]) 4003m4trace:configure.ac:47: -1- XORG_TESTSET_CFLAG([[BASE_]PREFIX[FLAGS]], [-Wreturn-type]) 4004m4trace:configure.ac:47: -1- XORG_TESTSET_CFLAG([[BASE_]PREFIX[FLAGS]], [-Wtrigraphs]) 4005m4trace:configure.ac:47: -1- XORG_TESTSET_CFLAG([[BASE_]PREFIX[FLAGS]], [-Warray-bounds]) 4006m4trace:configure.ac:47: -1- XORG_TESTSET_CFLAG([[BASE_]PREFIX[FLAGS]], [-Wwrite-strings]) 4007m4trace:configure.ac:47: -1- XORG_TESTSET_CFLAG([[BASE_]PREFIX[FLAGS]], [-Waddress]) 4008m4trace:configure.ac:47: -1- XORG_TESTSET_CFLAG([[BASE_]PREFIX[FLAGS]], [-Wint-to-pointer-cast]) 4009m4trace:configure.ac:47: -1- XORG_TESTSET_CFLAG([[BASE_]PREFIX[FLAGS]], [-Wpointer-to-int-cast]) 4010m4trace:configure.ac:47: -1- m4_pattern_allow([^BASE_CFLAGS$]) 4011m4trace:configure.ac:47: -1- XORG_CWARNFLAGS 4012m4trace:configure.ac:47: -1- m4_pattern_allow([^CWARNFLAGS$]) 4013m4trace:configure.ac:47: -1- XORG_STRICT_OPTION 4014m4trace:configure.ac:47: -1- XORG_TESTSET_CFLAG([[STRICT_]PREFIX[FLAGS]], [-pedantic]) 4015m4trace:configure.ac:47: -1- XORG_TESTSET_CFLAG([[STRICT_]PREFIX[FLAGS]], [-Werror], [-errwarn]) 4016m4trace:configure.ac:47: -1- XORG_TESTSET_CFLAG([[STRICT_]PREFIX[FLAGS]], [-Werror=attributes]) 4017m4trace:configure.ac:47: -1- m4_pattern_allow([^STRICT_CFLAGS$]) 4018m4trace:configure.ac:47: -1- m4_pattern_allow([^BASE_CFLAGS$]) 4019m4trace:configure.ac:47: -2- m4_pattern_allow([^CWARNFLAGS$]) 4020m4trace:configure.ac:47: -1- XORG_RELEASE_VERSION 4021m4trace:configure.ac:47: -1- m4_pattern_allow([^PACKAGE_VERSION_MAJOR$]) 4022m4trace:configure.ac:47: -1- m4_pattern_allow([^PACKAGE_VERSION_MINOR$]) 4023m4trace:configure.ac:47: -1- m4_pattern_allow([^PACKAGE_VERSION_PATCHLEVEL$]) 4024m4trace:configure.ac:47: -1- XORG_CHANGELOG 4025m4trace:configure.ac:47: -1- m4_pattern_allow([^CHANGELOG_CMD$]) 4026m4trace:configure.ac:47: -1- XORG_INSTALL 4027m4trace:configure.ac:47: -1- PKG_PROG_PKG_CONFIG 4028m4trace:configure.ac:47: -1- m4_pattern_forbid([^_?PKG_[A-Z_]+$]) 4029m4trace:configure.ac:47: -1- m4_pattern_allow([^PKG_CONFIG(_(PATH|LIBDIR|SYSROOT_DIR|ALLOW_SYSTEM_(CFLAGS|LIBS)))?$]) 4030m4trace:configure.ac:47: -1- m4_pattern_allow([^PKG_CONFIG_(DISABLE_UNINSTALLED|TOP_BUILD_DIR|DEBUG_SPEW)$]) 4031m4trace:configure.ac:47: -1- m4_pattern_allow([^PKG_CONFIG$]) 4032m4trace:configure.ac:47: -1- m4_pattern_allow([^PKG_CONFIG_PATH$]) 4033m4trace:configure.ac:47: -1- m4_pattern_allow([^PKG_CONFIG_LIBDIR$]) 4034m4trace:configure.ac:47: -1- m4_pattern_allow([^PKG_CONFIG$]) 4035m4trace:configure.ac:47: -1- m4_pattern_allow([^INSTALL_CMD$]) 4036m4trace:configure.ac:47: -1- XORG_MANPAGE_SECTIONS 4037m4trace:configure.ac:47: -1- m4_pattern_allow([^APP_MAN_SUFFIX$]) 4038m4trace:configure.ac:47: -1- m4_pattern_allow([^LIB_MAN_SUFFIX$]) 4039m4trace:configure.ac:47: -1- m4_pattern_allow([^FILE_MAN_SUFFIX$]) 4040m4trace:configure.ac:47: -1- m4_pattern_allow([^MISC_MAN_SUFFIX$]) 4041m4trace:configure.ac:47: -1- m4_pattern_allow([^DRIVER_MAN_SUFFIX$]) 4042m4trace:configure.ac:47: -1- m4_pattern_allow([^ADMIN_MAN_SUFFIX$]) 4043m4trace:configure.ac:47: -1- m4_pattern_allow([^APP_MAN_DIR$]) 4044m4trace:configure.ac:47: -1- m4_pattern_allow([^LIB_MAN_DIR$]) 4045m4trace:configure.ac:47: -1- m4_pattern_allow([^FILE_MAN_DIR$]) 4046m4trace:configure.ac:47: -1- m4_pattern_allow([^MISC_MAN_DIR$]) 4047m4trace:configure.ac:47: -1- m4_pattern_allow([^DRIVER_MAN_DIR$]) 4048m4trace:configure.ac:47: -1- m4_pattern_allow([^ADMIN_MAN_DIR$]) 4049m4trace:configure.ac:47: -1- m4_pattern_allow([^XORG_MAN_PAGE$]) 4050m4trace:configure.ac:47: -1- m4_pattern_allow([^MAN_SUBSTS$]) 4051m4trace:configure.ac:47: -1- AM_SILENT_RULES([yes]) 4052m4trace:configure.ac:47: -1- m4_pattern_allow([^AM_V$]) 4053m4trace:configure.ac:47: -1- AM_SUBST_NOTMAKE([AM_V]) 4054m4trace:configure.ac:47: -1- _AM_SUBST_NOTMAKE([AM_V]) 4055m4trace:configure.ac:47: -1- m4_pattern_allow([^AM_DEFAULT_V$]) 4056m4trace:configure.ac:47: -1- AM_SUBST_NOTMAKE([AM_DEFAULT_V]) 4057m4trace:configure.ac:47: -1- _AM_SUBST_NOTMAKE([AM_DEFAULT_V]) 4058m4trace:configure.ac:47: -1- m4_pattern_allow([^AM_DEFAULT_VERBOSITY$]) 4059m4trace:configure.ac:47: -1- m4_pattern_allow([^AM_BACKSLASH$]) 4060m4trace:configure.ac:47: -1- _AM_SUBST_NOTMAKE([AM_BACKSLASH]) 4061m4trace:configure.ac:48: -1- XORG_MEMORY_CHECK_FLAGS 4062m4trace:configure.ac:48: -1- m4_pattern_allow([^XORG_MALLOC_DEBUG_ENV$]) 4063m4trace:configure.ac:48: -1- m4_pattern_allow([^XORG_MALLOC_DEBUG_ENV$]) 4064m4trace:configure.ac:49: -1- XORG_ENABLE_DOCS 4065m4trace:configure.ac:49: -1- AM_CONDITIONAL([ENABLE_DOCS], [test x$build_docs = xyes]) 4066m4trace:configure.ac:49: -1- m4_pattern_allow([^ENABLE_DOCS_TRUE$]) 4067m4trace:configure.ac:49: -1- m4_pattern_allow([^ENABLE_DOCS_FALSE$]) 4068m4trace:configure.ac:49: -1- _AM_SUBST_NOTMAKE([ENABLE_DOCS_TRUE]) 4069m4trace:configure.ac:49: -1- _AM_SUBST_NOTMAKE([ENABLE_DOCS_FALSE]) 4070m4trace:configure.ac:50: -1- XORG_WITH_DOXYGEN 4071m4trace:configure.ac:50: -1- m4_pattern_allow([^DOXYGEN$]) 4072m4trace:configure.ac:50: -1- m4_pattern_allow([^DOXYGEN$]) 4073m4trace:configure.ac:50: -1- m4_pattern_allow([^DOXYGEN$]) 4074m4trace:configure.ac:50: -1- AM_CONDITIONAL([HAVE_DOXYGEN], [test "$have_doxygen" = yes]) 4075m4trace:configure.ac:50: -1- m4_pattern_allow([^HAVE_DOXYGEN_TRUE$]) 4076m4trace:configure.ac:50: -1- m4_pattern_allow([^HAVE_DOXYGEN_FALSE$]) 4077m4trace:configure.ac:50: -1- _AM_SUBST_NOTMAKE([HAVE_DOXYGEN_TRUE]) 4078m4trace:configure.ac:50: -1- _AM_SUBST_NOTMAKE([HAVE_DOXYGEN_FALSE]) 4079m4trace:configure.ac:53: -1- AM_PROG_CC_C_O 4080m4trace:configure.ac:60: -1- PKG_PROG_PKG_CONFIG 4081m4trace:configure.ac:60: -1- m4_pattern_forbid([^_?PKG_[A-Z_]+$]) 4082m4trace:configure.ac:60: -1- m4_pattern_allow([^PKG_CONFIG(_(PATH|LIBDIR|SYSROOT_DIR|ALLOW_SYSTEM_(CFLAGS|LIBS)))?$]) 4083m4trace:configure.ac:60: -1- m4_pattern_allow([^PKG_CONFIG_(DISABLE_UNINSTALLED|TOP_BUILD_DIR|DEBUG_SPEW)$]) 4084m4trace:configure.ac:60: -1- m4_pattern_allow([^PKG_CONFIG$]) 4085m4trace:configure.ac:60: -1- m4_pattern_allow([^PKG_CONFIG_PATH$]) 4086m4trace:configure.ac:60: -1- m4_pattern_allow([^PKG_CONFIG_LIBDIR$]) 4087m4trace:configure.ac:60: -1- m4_pattern_allow([^PKG_CONFIG$]) 4088m4trace:configure.ac:64: -1- m4_pattern_allow([^YACC$]) 4089m4trace:configure.ac:64: -1- m4_pattern_allow([^YACC$]) 4090m4trace:configure.ac:64: -1- m4_pattern_allow([^YFLAGS$]) 4091m4trace:configure.ac:65: -1- m4_pattern_allow([^YACC_INST$]) 4092m4trace:configure.ac:85: -1- AX_GCC_BUILTIN([__builtin_expect]) 4093m4trace:configure.ac:85: -1- m4_pattern_allow([^HAVE___BUILTIN_EXPECT$]) 4094m4trace:configure.ac:89: -1- AM_CONDITIONAL([BUILD_LINUX_TESTS], [test "x$ac_cv_header_linux_input_h" = xyes]) 4095m4trace:configure.ac:89: -1- m4_pattern_allow([^BUILD_LINUX_TESTS_TRUE$]) 4096m4trace:configure.ac:89: -1- m4_pattern_allow([^BUILD_LINUX_TESTS_FALSE$]) 4097m4trace:configure.ac:89: -1- _AM_SUBST_NOTMAKE([BUILD_LINUX_TESTS_TRUE]) 4098m4trace:configure.ac:89: -1- _AM_SUBST_NOTMAKE([BUILD_LINUX_TESTS_FALSE]) 4099m4trace:configure.ac:91: -1- XORG_TESTSET_CFLAG([BASE_CFLAGS], [-fvisibility=hidden]) 4100m4trace:configure.ac:92: -1- XORG_TESTSET_CFLAG([BASE_CFLAGS], [-Wextra -Wno-unused-parameter -Wno-missing-field-initializers]) 4101m4trace:configure.ac:93: -1- XORG_TESTSET_CFLAG([BASE_CFLAGS], [-Wdocumentation]) 4102m4trace:configure.ac:101: -1- XORG_CHECK_LINKER_FLAGS([-Wl,--no-undefined], [have_no_undefined=yes]) 4103m4trace:configure.ac:104: -1- AM_CONDITIONAL([HAVE_NO_UNDEFINED], [test "x$have_no_undefined" = xyes]) 4104m4trace:configure.ac:104: -1- m4_pattern_allow([^HAVE_NO_UNDEFINED_TRUE$]) 4105m4trace:configure.ac:104: -1- m4_pattern_allow([^HAVE_NO_UNDEFINED_FALSE$]) 4106m4trace:configure.ac:104: -1- _AM_SUBST_NOTMAKE([HAVE_NO_UNDEFINED_TRUE]) 4107m4trace:configure.ac:104: -1- _AM_SUBST_NOTMAKE([HAVE_NO_UNDEFINED_FALSE]) 4108m4trace:configure.ac:106: -1- m4_pattern_allow([^RT_LIBS$]) 4109m4trace:configure.ac:106: -1- m4_pattern_allow([^RT_LIBS$]) 4110m4trace:configure.ac:121: -1- m4_pattern_allow([^XKBCONFIGROOT$]) 4111m4trace:configure.ac:129: -1- m4_pattern_allow([^XLOCALEDIR$]) 4112m4trace:configure.ac:136: -1- m4_pattern_allow([^DEFAULT_XKB_RULES$]) 4113m4trace:configure.ac:144: -1- m4_pattern_allow([^DEFAULT_XKB_MODEL$]) 4114m4trace:configure.ac:152: -1- m4_pattern_allow([^DEFAULT_XKB_LAYOUT$]) 4115m4trace:configure.ac:160: -1- m4_pattern_allow([^DEFAULT_XKB_VARIANT$]) 4116m4trace:configure.ac:170: -1- m4_pattern_allow([^DEFAULT_XKB_OPTIONS$]) 4117m4trace:configure.ac:179: -1- PKG_CHECK_MODULES([XCB_XKB], [xcb xcb-xkb >= 1.10], [], [AC_MSG_ERROR([xkbcommon-x11 requires xcb-xkb >= 1.10 which was not found. \ 4118You can disable X11 support with --disable-x11.])]) 4119m4trace:configure.ac:179: -1- m4_pattern_allow([^XCB_XKB_CFLAGS$]) 4120m4trace:configure.ac:179: -1- m4_pattern_allow([^XCB_XKB_LIBS$]) 4121m4trace:configure.ac:179: -1- PKG_CHECK_EXISTS([xcb xcb-xkb >= 1.10], [pkg_cv_[]XCB_XKB_CFLAGS=`$PKG_CONFIG --[]cflags "xcb xcb-xkb >= 1.10" 2>/dev/null` 4122 test "x$?" != "x0" && pkg_failed=yes ], [pkg_failed=yes]) 4123m4trace:configure.ac:179: -1- PKG_CHECK_EXISTS([xcb xcb-xkb >= 1.10], [pkg_cv_[]XCB_XKB_LIBS=`$PKG_CONFIG --[]libs "xcb xcb-xkb >= 1.10" 2>/dev/null` 4124 test "x$?" != "x0" && pkg_failed=yes ], [pkg_failed=yes]) 4125m4trace:configure.ac:179: -1- _PKG_SHORT_ERRORS_SUPPORTED 4126m4trace:configure.ac:184: -1- AM_CONDITIONAL([ENABLE_X11], [test "x$enable_x11" = xyes]) 4127m4trace:configure.ac:184: -1- m4_pattern_allow([^ENABLE_X11_TRUE$]) 4128m4trace:configure.ac:184: -1- m4_pattern_allow([^ENABLE_X11_FALSE$]) 4129m4trace:configure.ac:184: -1- _AM_SUBST_NOTMAKE([ENABLE_X11_TRUE]) 4130m4trace:configure.ac:184: -1- _AM_SUBST_NOTMAKE([ENABLE_X11_FALSE]) 4131m4trace:configure.ac:194: -1- m4_pattern_allow([^LIB@&t@OBJS$]) 4132m4trace:configure.ac:194: -1- m4_pattern_allow([^LTLIBOBJS$]) 4133m4trace:configure.ac:194: -1- AM_CONDITIONAL([am__EXEEXT], [test -n "$EXEEXT"]) 4134m4trace:configure.ac:194: -1- m4_pattern_allow([^am__EXEEXT_TRUE$]) 4135m4trace:configure.ac:194: -1- m4_pattern_allow([^am__EXEEXT_FALSE$]) 4136m4trace:configure.ac:194: -1- _AM_SUBST_NOTMAKE([am__EXEEXT_TRUE]) 4137m4trace:configure.ac:194: -1- _AM_SUBST_NOTMAKE([am__EXEEXT_FALSE]) 4138m4trace:configure.ac:194: -1- _AC_AM_CONFIG_HEADER_HOOK(["$ac_file"]) 4139m4trace:configure.ac:194: -1- _AM_OUTPUT_DEPENDENCY_COMMANDS 4140m4trace:configure.ac:194: -1- _LT_PROG_LTMAIN 4141