A hint: This file contains one or more very long lines, so maybe it is better readable using the pure text view mode that shows the contents as wrapped lines within the browser window.
1 m4trace:/usr/share/aclocal/codeset.m4:9: -1- AC_DEFUN([AM_LANGINFO_CODESET], [ 2 AC_CACHE_CHECK([for nl_langinfo and CODESET], am_cv_langinfo_codeset, 3 [AC_TRY_LINK([#include <langinfo.h>], 4 [char* cs = nl_langinfo(CODESET); return !cs;], 5 am_cv_langinfo_codeset=yes, 6 am_cv_langinfo_codeset=no) 7 ]) 8 if test $am_cv_langinfo_codeset = yes; then 9 AC_DEFINE(HAVE_LANGINFO_CODESET, 1, 10 [Define if you have <langinfo.h> and nl_langinfo(CODESET).]) 11 fi 12 ]) 13 m4trace:/usr/share/aclocal/glibc2.m4:10: -1- AC_DEFUN([gt_GLIBC2], [ 14 AC_CACHE_CHECK(whether we are using the GNU C Library 2 or newer, 15 ac_cv_gnu_library_2, 16 [AC_EGREP_CPP([Lucky GNU user], 17 [ 18 #include <features.h> 19 #ifdef __GNU_LIBRARY__ 20 #if (__GLIBC__ >= 2) 21 Lucky GNU user 22 #endif 23 #endif 24 ], 25 ac_cv_gnu_library_2=yes, 26 ac_cv_gnu_library_2=no) 27 ] 28 ) 29 AC_SUBST(GLIBC2) 30 GLIBC2="$ac_cv_gnu_library_2" 31 32 ]) 33 m4trace:/usr/share/aclocal/glibc21.m4:10: -1- AC_DEFUN([gl_GLIBC21], [ 34 AC_CACHE_CHECK(whether we are using the GNU C Library 2.1 or newer, 35 ac_cv_gnu_library_2_1, 36 [AC_EGREP_CPP([Lucky GNU user], 37 [ 38 #include <features.h> 39 #ifdef __GNU_LIBRARY__ 40 #if (__GLIBC__ == 2 && __GLIBC_MINOR__ >= 1) || (__GLIBC__ > 2) 41 Lucky GNU user 42 #endif 43 #endif 44 ], 45 ac_cv_gnu_library_2_1=yes, 46 ac_cv_gnu_library_2_1=no) 47 ] 48 ) 49 AC_SUBST(GLIBC21) 50 GLIBC21="$ac_cv_gnu_library_2_1" 51 52 ]) 53 m4trace:/usr/share/aclocal/intdiv0.m4:9: -1- AC_DEFUN([gt_INTDIV0], [ 54 AC_REQUIRE([AC_PROG_CC])dnl 55 AC_REQUIRE([AC_CANONICAL_HOST])dnl 56 57 AC_CACHE_CHECK([whether integer division by zero raises SIGFPE], 58 gt_cv_int_divbyzero_sigfpe, 59 [ 60 AC_TRY_RUN([ 61 #include <stdlib.h> 62 #include <signal.h> 63 64 static void 65 #ifdef __cplusplus 66 sigfpe_handler (int sig) 67 #else 68 sigfpe_handler (sig) int sig; 69 #endif 70 { 71 /* Exit with code 0 if SIGFPE, with code 1 if any other signal. */ 72 exit (sig != SIGFPE); 73 } 74 75 int x = 1; 76 int y = 0; 77 int z; 78 int nan; 79 80 int main () 81 { 82 signal (SIGFPE, sigfpe_handler); 83 /* IRIX and AIX (when "xlc -qcheck" is used) yield signal SIGTRAP. */ 84 #if (defined (__sgi) || defined (_AIX)) && defined (SIGTRAP) 85 signal (SIGTRAP, sigfpe_handler); 86 #endif 87 /* Linux/SPARC yields signal SIGILL. */ 88 #if defined (__sparc__) && defined (__linux__) 89 signal (SIGILL, sigfpe_handler); 90 #endif 91 92 z = x / y; 93 nan = y / y; 94 exit (1); 95 } 96 ], gt_cv_int_divbyzero_sigfpe=yes, gt_cv_int_divbyzero_sigfpe=no, 97 [ 98 # Guess based on the CPU. 99 case "$host_cpu" in 100 alpha* | i[34567]86 | m68k | s390*) 101 gt_cv_int_divbyzero_sigfpe="guessing yes";; 102 *) 103 gt_cv_int_divbyzero_sigfpe="guessing no";; 104 esac 105 ]) 106 ]) 107 case "$gt_cv_int_divbyzero_sigfpe" in 108 *yes) value=1;; 109 *) value=0;; 110 esac 111 AC_DEFINE_UNQUOTED(INTDIV0_RAISES_SIGFPE, $value, 112 [Define if integer division by zero raises signal SIGFPE.]) 113 ]) 114 m4trace:/usr/share/aclocal/intl.m4:25: -1- AC_DEFUN([AM_INTL_SUBDIR], [ 115 AC_REQUIRE([AC_PROG_INSTALL])dnl 116 AC_REQUIRE([AM_PROG_MKDIR_P])dnl defined by automake 117 AC_REQUIRE([AC_PROG_CC])dnl 118 AC_REQUIRE([AC_CANONICAL_HOST])dnl 119 AC_REQUIRE([gt_GLIBC2])dnl 120 AC_REQUIRE([AC_PROG_RANLIB])dnl 121 AC_REQUIRE([gl_VISIBILITY])dnl 122 AC_REQUIRE([gt_INTL_SUBDIR_CORE])dnl 123 AC_REQUIRE([AC_TYPE_LONG_LONG_INT])dnl 124 AC_REQUIRE([gt_TYPE_LONGDOUBLE])dnl 125 AC_REQUIRE([gt_TYPE_WCHAR_T])dnl 126 AC_REQUIRE([gt_TYPE_WINT_T])dnl 127 AC_REQUIRE([gl_AC_HEADER_INTTYPES_H]) 128 AC_REQUIRE([gt_TYPE_INTMAX_T]) 129 AC_REQUIRE([gt_PRINTF_POSIX]) 130 AC_REQUIRE([gl_GLIBC21])dnl 131 AC_REQUIRE([gl_XSIZE])dnl 132 AC_REQUIRE([gt_INTL_MACOSX])dnl 133 134 AC_CHECK_TYPE([ptrdiff_t], , 135 [AC_DEFINE([ptrdiff_t], [long], 136 [Define as the type of the result of subtracting two pointers, if the system doesn't define it.]) 137 ]) 138 AC_CHECK_HEADERS([stddef.h stdlib.h string.h]) 139 AC_CHECK_FUNCS([asprintf fwprintf putenv setenv setlocale snprintf wcslen]) 140 141 dnl Use the _snprintf function only if it is declared (because on NetBSD it 142 dnl is defined as a weak alias of snprintf; we prefer to use the latter). 143 gt_CHECK_DECL(_snprintf, [#include <stdio.h>]) 144 gt_CHECK_DECL(_snwprintf, [#include <stdio.h>]) 145 146 dnl Use the *_unlocked functions only if they are declared. 147 dnl (because some of them were defined without being declared in Solaris 148 dnl 2.5.1 but were removed in Solaris 2.6, whereas we want binaries built 149 dnl on Solaris 2.5.1 to run on Solaris 2.6). 150 dnl Don't use AC_CHECK_DECLS because it isn't supported in autoconf-2.13. 151 gt_CHECK_DECL(getc_unlocked, [#include <stdio.h>]) 152 153 case $gt_cv_func_printf_posix in 154 *yes) HAVE_POSIX_PRINTF=1 ;; 155 *) HAVE_POSIX_PRINTF=0 ;; 156 esac 157 AC_SUBST([HAVE_POSIX_PRINTF]) 158 if test "$ac_cv_func_asprintf" = yes; then 159 HAVE_ASPRINTF=1 160 else 161 HAVE_ASPRINTF=0 162 fi 163 AC_SUBST([HAVE_ASPRINTF]) 164 if test "$ac_cv_func_snprintf" = yes; then 165 HAVE_SNPRINTF=1 166 else 167 HAVE_SNPRINTF=0 168 fi 169 AC_SUBST([HAVE_SNPRINTF]) 170 if test "$ac_cv_func_wprintf" = yes; then 171 HAVE_WPRINTF=1 172 else 173 HAVE_WPRINTF=0 174 fi 175 AC_SUBST([HAVE_WPRINTF]) 176 177 AM_LANGINFO_CODESET 178 gt_LC_MESSAGES 179 180 dnl Compilation on mingw and Cygwin needs special Makefile rules, because 181 dnl 1. when we install a shared library, we must arrange to export 182 dnl auxiliary pointer variables for every exported variable, 183 dnl 2. when we install a shared library and a static library simultaneously, 184 dnl the include file specifies __declspec(dllimport) and therefore we 185 dnl must arrange to define the auxiliary pointer variables for the 186 dnl exported variables _also_ in the static library. 187 if test "$enable_shared" = yes; then 188 case "$host_os" in 189 cygwin*) is_woe32dll=yes ;; 190 *) is_woe32dll=no ;; 191 esac 192 else 193 is_woe32dll=no 194 fi 195 WOE32DLL=$is_woe32dll 196 AC_SUBST([WOE32DLL]) 197 198 dnl Rename some macros and functions used for locking. 199 AH_BOTTOM([ 200 #define __libc_lock_t gl_lock_t 201 #define __libc_lock_define gl_lock_define 202 #define __libc_lock_define_initialized gl_lock_define_initialized 203 #define __libc_lock_init gl_lock_init 204 #define __libc_lock_lock gl_lock_lock 205 #define __libc_lock_unlock gl_lock_unlock 206 #define __libc_lock_recursive_t gl_recursive_lock_t 207 #define __libc_lock_define_recursive gl_recursive_lock_define 208 #define __libc_lock_define_initialized_recursive gl_recursive_lock_define_initialized 209 #define __libc_lock_init_recursive gl_recursive_lock_init 210 #define __libc_lock_lock_recursive gl_recursive_lock_lock 211 #define __libc_lock_unlock_recursive gl_recursive_lock_unlock 212 #define glthread_in_use libintl_thread_in_use 213 #define glthread_lock_init libintl_lock_init 214 #define glthread_lock_lock libintl_lock_lock 215 #define glthread_lock_unlock libintl_lock_unlock 216 #define glthread_lock_destroy libintl_lock_destroy 217 #define glthread_rwlock_init libintl_rwlock_init 218 #define glthread_rwlock_rdlock libintl_rwlock_rdlock 219 #define glthread_rwlock_wrlock libintl_rwlock_wrlock 220 #define glthread_rwlock_unlock libintl_rwlock_unlock 221 #define glthread_rwlock_destroy libintl_rwlock_destroy 222 #define glthread_recursive_lock_init libintl_recursive_lock_init 223 #define glthread_recursive_lock_lock libintl_recursive_lock_lock 224 #define glthread_recursive_lock_unlock libintl_recursive_lock_unlock 225 #define glthread_recursive_lock_destroy libintl_recursive_lock_destroy 226 #define glthread_once libintl_once 227 #define glthread_once_call libintl_once_call 228 #define glthread_once_singlethreaded libintl_once_singlethreaded 229 ]) 230 ]) 231 m4trace:/usr/share/aclocal/intl.m4:162: -1- AC_DEFUN([gt_INTL_SUBDIR_CORE], [ 232 AC_REQUIRE([AC_C_INLINE])dnl 233 AC_REQUIRE([AC_TYPE_SIZE_T])dnl 234 AC_REQUIRE([gl_AC_HEADER_STDINT_H]) 235 AC_REQUIRE([AC_FUNC_ALLOCA])dnl 236 AC_REQUIRE([AC_FUNC_MMAP])dnl 237 AC_REQUIRE([gt_INTDIV0])dnl 238 AC_REQUIRE([gl_AC_TYPE_UINTMAX_T])dnl 239 AC_REQUIRE([gt_INTTYPES_PRI])dnl 240 AC_REQUIRE([gl_LOCK])dnl 241 242 AC_TRY_LINK( 243 [int foo (int a) { a = __builtin_expect (a, 10); return a == 10 ? 0 : 1; }], 244 [], 245 [AC_DEFINE([HAVE_BUILTIN_EXPECT], 1, 246 [Define to 1 if the compiler understands __builtin_expect.])]) 247 248 AC_CHECK_HEADERS([argz.h inttypes.h limits.h unistd.h sys/param.h]) 249 AC_CHECK_FUNCS([getcwd getegid geteuid getgid getuid mempcpy munmap \ 250 stpcpy strcasecmp strdup strtoul tsearch argz_count argz_stringify \ 251 argz_next __fsetlocking]) 252 253 dnl Use the *_unlocked functions only if they are declared. 254 dnl (because some of them were defined without being declared in Solaris 255 dnl 2.5.1 but were removed in Solaris 2.6, whereas we want binaries built 256 dnl on Solaris 2.5.1 to run on Solaris 2.6). 257 dnl Don't use AC_CHECK_DECLS because it isn't supported in autoconf-2.13. 258 gt_CHECK_DECL(feof_unlocked, [#include <stdio.h>]) 259 gt_CHECK_DECL(fgets_unlocked, [#include <stdio.h>]) 260 261 AM_ICONV 262 263 dnl glibc >= 2.4 has a NL_LOCALE_NAME macro when _GNU_SOURCE is defined, 264 dnl and a _NL_LOCALE_NAME macro always. 265 AC_CACHE_CHECK([for NL_LOCALE_NAME macro], gt_cv_nl_locale_name, 266 [AC_TRY_LINK([#include <langinfo.h> 267 #include <locale.h>], 268 [char* cs = nl_langinfo(_NL_LOCALE_NAME(LC_MESSAGES));], 269 gt_cv_nl_locale_name=yes, 270 gt_cv_nl_locale_name=no) 271 ]) 272 if test $gt_cv_nl_locale_name = yes; then 273 AC_DEFINE(HAVE_NL_LOCALE_NAME, 1, 274 [Define if you have <langinfo.h> and it defines the NL_LOCALE_NAME macro if _GNU_SOURCE is defined.]) 275 fi 276 277 dnl intl/plural.c is generated from intl/plural.y. It requires bison, 278 dnl because plural.y uses bison specific features. It requires at least 279 dnl bison-1.26 because earlier versions generate a plural.c that doesn't 280 dnl compile. 281 dnl bison is only needed for the maintainer (who touches plural.y). But in 282 dnl order to avoid separate Makefiles or --enable-maintainer-mode, we put 283 dnl the rule in general Makefile. Now, some people carelessly touch the 284 dnl files or have a broken "make" program, hence the plural.c rule will 285 dnl sometimes fire. To avoid an error, defines BISON to ":" if it is not 286 dnl present or too old. 287 AC_CHECK_PROGS([INTLBISON], [bison]) 288 if test -z "$INTLBISON"; then 289 ac_verc_fail=yes 290 else 291 dnl Found it, now check the version. 292 AC_MSG_CHECKING([version of bison]) 293 changequote(<<,>>)dnl 294 ac_prog_version=`$INTLBISON --version 2>&1 | sed -n 's/^.*GNU Bison.* \([0-9]*\.[0-9.]*\).*$/\1/p'` 295 case $ac_prog_version in 296 '') ac_prog_version="v. ?.??, bad"; ac_verc_fail=yes;; 297 1.2[6-9]* | 1.[3-9][0-9]* | [2-9].*) 298 changequote([,])dnl 299 ac_prog_version="$ac_prog_version, ok"; ac_verc_fail=no;; 300 *) ac_prog_version="$ac_prog_version, bad"; ac_verc_fail=yes;; 301 esac 302 AC_MSG_RESULT([$ac_prog_version]) 303 fi 304 if test $ac_verc_fail = yes; then 305 INTLBISON=: 306 fi 307 ]) 308 m4trace:/usr/share/aclocal/intl.m4:244: -1- AC_DEFUN([gt_CHECK_DECL], [ 309 AC_CACHE_CHECK([whether $1 is declared], ac_cv_have_decl_$1, 310 [AC_TRY_COMPILE([$2], [ 311 #ifndef $1 312 char *p = (char *) $1; 313 #endif 314 ], ac_cv_have_decl_$1=yes, ac_cv_have_decl_$1=no)]) 315 if test $ac_cv_have_decl_$1 = yes; then 316 gt_value=1 317 else 318 gt_value=0 319 fi 320 AC_DEFINE_UNQUOTED([HAVE_DECL_]translit($1, [a-z], [A-Z]), [$gt_value], 321 [Define to 1 if you have the declaration of `$1', and to 0 if you don't.]) 322 ]) 323 m4trace:/usr/share/aclocal/intmax.m4:11: -1- AC_DEFUN([gt_TYPE_INTMAX_T], [ 324 AC_REQUIRE([gl_AC_HEADER_INTTYPES_H]) 325 AC_REQUIRE([gl_AC_HEADER_STDINT_H]) 326 AC_CACHE_CHECK(for intmax_t, gt_cv_c_intmax_t, 327 [AC_TRY_COMPILE([ 328 #include <stddef.h> 329 #include <stdlib.h> 330 #if HAVE_STDINT_H_WITH_UINTMAX 331 #include <stdint.h> 332 #endif 333 #if HAVE_INTTYPES_H_WITH_UINTMAX 334 #include <inttypes.h> 335 #endif 336 ], [intmax_t x = -1; 337 return !x;], 338 gt_cv_c_intmax_t=yes, 339 gt_cv_c_intmax_t=no)]) 340 if test $gt_cv_c_intmax_t = yes; then 341 AC_DEFINE(HAVE_INTMAX_T, 1, 342 [Define if you have the 'intmax_t' type in <stdint.h> or <inttypes.h>.]) 343 fi 344 ]) 345 m4trace:/usr/share/aclocal/inttypes-pri.m4:14: -1- AC_DEFUN([gt_INTTYPES_PRI], [ 346 AC_CHECK_HEADERS([inttypes.h]) 347 if test $ac_cv_header_inttypes_h = yes; then 348 AC_CACHE_CHECK([whether the inttypes.h PRIxNN macros are broken], 349 gt_cv_inttypes_pri_broken, 350 [ 351 AC_TRY_COMPILE([#include <inttypes.h> 352 #ifdef PRId32 353 char *p = PRId32; 354 #endif 355 ], [], gt_cv_inttypes_pri_broken=no, gt_cv_inttypes_pri_broken=yes) 356 ]) 357 fi 358 if test "$gt_cv_inttypes_pri_broken" = yes; then 359 AC_DEFINE_UNQUOTED(PRI_MACROS_BROKEN, 1, 360 [Define if <inttypes.h> exists and defines unusable PRI* macros.]) 361 PRI_MACROS_BROKEN=1 362 else 363 PRI_MACROS_BROKEN=0 364 fi 365 AC_SUBST([PRI_MACROS_BROKEN]) 366 ]) 367 m4trace:/usr/share/aclocal/inttypes_h.m4:12: -1- AC_DEFUN([gl_AC_HEADER_INTTYPES_H], [ 368 AC_CACHE_CHECK([for inttypes.h], gl_cv_header_inttypes_h, 369 [AC_TRY_COMPILE( 370 [#include <sys/types.h> 371 #include <inttypes.h>], 372 [uintmax_t i = (uintmax_t) -1; return !i;], 373 gl_cv_header_inttypes_h=yes, 374 gl_cv_header_inttypes_h=no)]) 375 if test $gl_cv_header_inttypes_h = yes; then 376 AC_DEFINE_UNQUOTED(HAVE_INTTYPES_H_WITH_UINTMAX, 1, 377 [Define if <inttypes.h> exists, doesn't clash with <sys/types.h>, 378 and declares uintmax_t. ]) 379 fi 380 ]) 381 m4trace:/usr/share/aclocal/lcmessage.m4:21: -1- AC_DEFUN([gt_LC_MESSAGES], [ 382 AC_CACHE_CHECK([for LC_MESSAGES], gt_cv_val_LC_MESSAGES, 383 [AC_TRY_LINK([#include <locale.h>], [return LC_MESSAGES], 384 gt_cv_val_LC_MESSAGES=yes, gt_cv_val_LC_MESSAGES=no)]) 385 if test $gt_cv_val_LC_MESSAGES = yes; then 386 AC_DEFINE(HAVE_LC_MESSAGES, 1, 387 [Define if your <locale.h> file defines LC_MESSAGES.]) 388 fi 389 ]) 390 m4trace:/usr/share/aclocal/lock.m4:22: -1- AC_DEFUN([gl_LOCK_EARLY], [ 391 AC_REQUIRE([gl_LOCK_EARLY_BODY]) 392 ]) 393 m4trace:/usr/share/aclocal/lock.m4:29: -1- AC_DEFUN([gl_LOCK_EARLY_BODY], [ 394 dnl Ordering constraints: This macro modifies CPPFLAGS in a way that 395 dnl influences the result of the autoconf tests that test for *_unlocked 396 dnl declarations, on AIX 5 at least. Therefore it must come early. 397 AC_BEFORE([$0], [gl_FUNC_GLIBC_UNLOCKED_IO])dnl 398 AC_BEFORE([$0], [gl_ARGP])dnl 399 400 AC_REQUIRE([AC_CANONICAL_HOST]) 401 AC_REQUIRE([AC_GNU_SOURCE]) dnl needed for pthread_rwlock_t on glibc systems 402 dnl Check for multithreading. 403 AC_ARG_ENABLE(threads, 404 AC_HELP_STRING([--enable-threads={posix|solaris|pth|win32}], [specify multithreading API]) 405 AC_HELP_STRING([--disable-threads], [build without multithread safety]), 406 [gl_use_threads=$enableval], 407 [case "$host_os" in 408 dnl Disable multithreading by default on OSF/1, because it interferes 409 dnl with fork()/exec(): When msgexec is linked with -lpthread, its child 410 dnl process gets an endless segmentation fault inside execvp(). 411 osf*) gl_use_threads=no ;; 412 *) gl_use_threads=yes ;; 413 esac 414 ]) 415 if test "$gl_use_threads" = yes || test "$gl_use_threads" = posix; then 416 # For using <pthread.h>: 417 case "$host_os" in 418 osf*) 419 # On OSF/1, the compiler needs the flag -D_REENTRANT so that it 420 # groks <pthread.h>. cc also understands the flag -pthread, but 421 # we don't use it because 1. gcc-2.95 doesn't understand -pthread, 422 # 2. putting a flag into CPPFLAGS that has an effect on the linker 423 # causes the AC_TRY_LINK test below to succeed unexpectedly, 424 # leading to wrong values of LIBTHREAD and LTLIBTHREAD. 425 CPPFLAGS="$CPPFLAGS -D_REENTRANT" 426 ;; 427 esac 428 # Some systems optimize for single-threaded programs by default, and 429 # need special flags to disable these optimizations. For example, the 430 # definition of 'errno' in <errno.h>. 431 case "$host_os" in 432 aix* | freebsd*) CPPFLAGS="$CPPFLAGS -D_THREAD_SAFE" ;; 433 solaris*) CPPFLAGS="$CPPFLAGS -D_REENTRANT" ;; 434 esac 435 fi 436 ]) 437 m4trace:/usr/share/aclocal/lock.m4:77: -1- AC_DEFUN([gl_LOCK_BODY], [ 438 AC_REQUIRE([gl_LOCK_EARLY_BODY]) 439 gl_threads_api=none 440 LIBTHREAD= 441 LTLIBTHREAD= 442 LIBMULTITHREAD= 443 LTLIBMULTITHREAD= 444 if test "$gl_use_threads" != no; then 445 dnl Check whether the compiler and linker support weak declarations. 446 AC_MSG_CHECKING([whether imported symbols can be declared weak]) 447 gl_have_weak=no 448 AC_TRY_LINK([extern void xyzzy (); 449 #pragma weak xyzzy], [xyzzy();], [gl_have_weak=yes]) 450 AC_MSG_RESULT([$gl_have_weak]) 451 if test "$gl_use_threads" = yes || test "$gl_use_threads" = posix; then 452 # On OSF/1, the compiler needs the flag -pthread or -D_REENTRANT so that 453 # it groks <pthread.h>. It's added above, in gl_LOCK_EARLY_BODY. 454 AC_CHECK_HEADER(pthread.h, gl_have_pthread_h=yes, gl_have_pthread_h=no) 455 if test "$gl_have_pthread_h" = yes; then 456 # Other possible tests: 457 # -lpthreads (FSU threads, PCthreads) 458 # -lgthreads 459 gl_have_pthread= 460 # Test whether both pthread_mutex_lock and pthread_mutexattr_init exist 461 # in libc. IRIX 6.5 has the first one in both libc and libpthread, but 462 # the second one only in libpthread, and lock.c needs it. 463 AC_TRY_LINK([#include <pthread.h>], 464 [pthread_mutex_lock((pthread_mutex_t*)0); 465 pthread_mutexattr_init((pthread_mutexattr_t*)0);], 466 [gl_have_pthread=yes]) 467 # Test for libpthread by looking for pthread_kill. (Not pthread_self, 468 # since it is defined as a macro on OSF/1.) 469 if test -n "$gl_have_pthread"; then 470 # The program links fine without libpthread. But it may actually 471 # need to link with libpthread in order to create multiple threads. 472 AC_CHECK_LIB(pthread, pthread_kill, 473 [LIBMULTITHREAD=-lpthread LTLIBMULTITHREAD=-lpthread 474 # On Solaris and HP-UX, most pthread functions exist also in libc. 475 # Therefore pthread_in_use() needs to actually try to create a 476 # thread: pthread_create from libc will fail, whereas 477 # pthread_create will actually create a thread. 478 case "$host_os" in 479 solaris* | hpux*) 480 AC_DEFINE([PTHREAD_IN_USE_DETECTION_HARD], 1, 481 [Define if the pthread_in_use() detection is hard.]) 482 esac 483 ]) 484 else 485 # Some library is needed. Try libpthread and libc_r. 486 AC_CHECK_LIB(pthread, pthread_kill, 487 [gl_have_pthread=yes 488 LIBTHREAD=-lpthread LTLIBTHREAD=-lpthread 489 LIBMULTITHREAD=-lpthread LTLIBMULTITHREAD=-lpthread]) 490 if test -z "$gl_have_pthread"; then 491 # For FreeBSD 4. 492 AC_CHECK_LIB(c_r, pthread_kill, 493 [gl_have_pthread=yes 494 LIBTHREAD=-lc_r LTLIBTHREAD=-lc_r 495 LIBMULTITHREAD=-lc_r LTLIBMULTITHREAD=-lc_r]) 496 fi 497 fi 498 if test -n "$gl_have_pthread"; then 499 gl_threads_api=posix 500 AC_DEFINE([USE_POSIX_THREADS], 1, 501 [Define if the POSIX multithreading library can be used.]) 502 if test -n "$LIBMULTITHREAD" || test -n "$LTLIBMULTITHREAD"; then 503 if test $gl_have_weak = yes; then 504 AC_DEFINE([USE_POSIX_THREADS_WEAK], 1, 505 [Define if references to the POSIX multithreading library should be made weak.]) 506 LIBTHREAD= 507 LTLIBTHREAD= 508 fi 509 fi 510 # OSF/1 4.0 and MacOS X 10.1 lack the pthread_rwlock_t type and the 511 # pthread_rwlock_* functions. 512 AC_CHECK_TYPE([pthread_rwlock_t], 513 [AC_DEFINE([HAVE_PTHREAD_RWLOCK], 1, 514 [Define if the POSIX multithreading library has read/write locks.])], 515 [], 516 [#include <pthread.h>]) 517 # glibc defines PTHREAD_MUTEX_RECURSIVE as enum, not as a macro. 518 AC_TRY_COMPILE([#include <pthread.h>], 519 [#if __FreeBSD__ == 4 520 error "No, in FreeBSD 4.0 recursive mutexes actually don't work." 521 #else 522 int x = (int)PTHREAD_MUTEX_RECURSIVE; 523 return !x; 524 #endif], 525 [AC_DEFINE([HAVE_PTHREAD_MUTEX_RECURSIVE], 1, 526 [Define if the <pthread.h> defines PTHREAD_MUTEX_RECURSIVE.])]) 527 fi 528 fi 529 fi 530 if test -z "$gl_have_pthread"; then 531 if test "$gl_use_threads" = yes || test "$gl_use_threads" = solaris; then 532 gl_have_solaristhread= 533 gl_save_LIBS="$LIBS" 534 LIBS="$LIBS -lthread" 535 AC_TRY_LINK([#include <thread.h> 536 #include <synch.h>], 537 [thr_self();], 538 [gl_have_solaristhread=yes]) 539 LIBS="$gl_save_LIBS" 540 if test -n "$gl_have_solaristhread"; then 541 gl_threads_api=solaris 542 LIBTHREAD=-lthread 543 LTLIBTHREAD=-lthread 544 LIBMULTITHREAD="$LIBTHREAD" 545 LTLIBMULTITHREAD="$LTLIBTHREAD" 546 AC_DEFINE([USE_SOLARIS_THREADS], 1, 547 [Define if the old Solaris multithreading library can be used.]) 548 if test $gl_have_weak = yes; then 549 AC_DEFINE([USE_SOLARIS_THREADS_WEAK], 1, 550 [Define if references to the old Solaris multithreading library should be made weak.]) 551 LIBTHREAD= 552 LTLIBTHREAD= 553 fi 554 fi 555 fi 556 fi 557 if test "$gl_use_threads" = pth; then 558 gl_save_CPPFLAGS="$CPPFLAGS" 559 AC_LIB_LINKFLAGS(pth) 560 gl_have_pth= 561 gl_save_LIBS="$LIBS" 562 LIBS="$LIBS -lpth" 563 AC_TRY_LINK([#include <pth.h>], [pth_self();], gl_have_pth=yes) 564 LIBS="$gl_save_LIBS" 565 if test -n "$gl_have_pth"; then 566 gl_threads_api=pth 567 LIBTHREAD="$LIBPTH" 568 LTLIBTHREAD="$LTLIBPTH" 569 LIBMULTITHREAD="$LIBTHREAD" 570 LTLIBMULTITHREAD="$LTLIBTHREAD" 571 AC_DEFINE([USE_PTH_THREADS], 1, 572 [Define if the GNU Pth multithreading library can be used.]) 573 if test -n "$LIBMULTITHREAD" || test -n "$LTLIBMULTITHREAD"; then 574 if test $gl_have_weak = yes; then 575 AC_DEFINE([USE_PTH_THREADS_WEAK], 1, 576 [Define if references to the GNU Pth multithreading library should be made weak.]) 577 LIBTHREAD= 578 LTLIBTHREAD= 579 fi 580 fi 581 else 582 CPPFLAGS="$gl_save_CPPFLAGS" 583 fi 584 fi 585 if test -z "$gl_have_pthread"; then 586 if test "$gl_use_threads" = yes || test "$gl_use_threads" = win32; then 587 if { case "$host_os" in 588 mingw*) true;; 589 *) false;; 590 esac 591 }; then 592 gl_threads_api=win32 593 AC_DEFINE([USE_WIN32_THREADS], 1, 594 [Define if the Win32 multithreading API can be used.]) 595 fi 596 fi 597 fi 598 fi 599 AC_MSG_CHECKING([for multithread API to use]) 600 AC_MSG_RESULT([$gl_threads_api]) 601 AC_SUBST(LIBTHREAD) 602 AC_SUBST(LTLIBTHREAD) 603 AC_SUBST(LIBMULTITHREAD) 604 AC_SUBST(LTLIBMULTITHREAD) 605 ]) 606 m4trace:/usr/share/aclocal/lock.m4:248: -1- AC_DEFUN([gl_LOCK], [ 607 AC_REQUIRE([gl_LOCK_EARLY]) 608 AC_REQUIRE([gl_LOCK_BODY]) 609 gl_PREREQ_LOCK 610 ]) 611 m4trace:/usr/share/aclocal/lock.m4:256: -1- AC_DEFUN([gl_PREREQ_LOCK], [ 612 AC_REQUIRE([AC_C_INLINE]) 613 ]) 614 m4trace:/usr/share/aclocal/longdouble.m4:14: -1- AC_DEFUN([gt_TYPE_LONGDOUBLE], [ 615 AC_CACHE_CHECK([for long double], gt_cv_c_long_double, 616 [if test "$GCC" = yes; then 617 gt_cv_c_long_double=yes 618 else 619 AC_TRY_COMPILE([ 620 /* The Stardent Vistra knows sizeof(long double), but does not support it. */ 621 long double foo = 0.0; 622 /* On Ultrix 4.3 cc, long double is 4 and double is 8. */ 623 int array [2*(sizeof(long double) >= sizeof(double)) - 1]; 624 ], , 625 gt_cv_c_long_double=yes, gt_cv_c_long_double=no) 626 fi]) 627 if test $gt_cv_c_long_double = yes; then 628 AC_DEFINE(HAVE_LONG_DOUBLE, 1, [Define if you have the 'long double' type.]) 629 fi 630 ]) 631 m4trace:/usr/share/aclocal/longlong.m4:17: -1- AC_DEFUN([AC_TYPE_LONG_LONG_INT], [ 632 AC_CACHE_CHECK([for long long int], [ac_cv_type_long_long_int], 633 [AC_LINK_IFELSE( 634 [AC_LANG_PROGRAM( 635 [[long long int ll = 9223372036854775807ll; 636 long long int nll = -9223372036854775807LL; 637 typedef int a[((-9223372036854775807LL < 0 638 && 0 < 9223372036854775807ll) 639 ? 1 : -1)]; 640 int i = 63;]], 641 [[long long int llmax = 9223372036854775807ll; 642 return ((ll << 63) | (ll >> 63) | (ll < i) | (ll > i) 643 | (llmax / ll) | (llmax % ll));]])], 644 [ac_cv_type_long_long_int=yes], 645 [ac_cv_type_long_long_int=no])]) 646 if test $ac_cv_type_long_long_int = yes; then 647 AC_DEFINE([HAVE_LONG_LONG_INT], 1, 648 [Define to 1 if the system has the type `long long int'.]) 649 fi 650 ]) 651 m4trace:/usr/share/aclocal/longlong.m4:40: -1- AC_DEFUN([gl_AC_TYPE_LONG_LONG], [ 652 AC_REQUIRE([AC_TYPE_LONG_LONG_INT]) 653 ac_cv_type_long_long=$ac_cv_type_long_long_int 654 if test $ac_cv_type_long_long = yes; then 655 AC_DEFINE(HAVE_LONG_LONG, 1, 656 [Define if you have the 'long long' type.]) 657 fi 658 ]) 659 m4trace:/usr/share/aclocal/printf-posix.m4:11: -1- AC_DEFUN([gt_PRINTF_POSIX], [ 660 AC_REQUIRE([AC_PROG_CC]) 661 AC_CACHE_CHECK([whether printf() supports POSIX/XSI format strings], 662 gt_cv_func_printf_posix, 663 [ 664 AC_TRY_RUN([ 665 #include <stdio.h> 666 #include <string.h> 667 /* The string "%2$d %1$d", with dollar characters protected from the shell's 668 dollar expansion (possibly an autoconf bug). */ 669 static char format[] = { '%', '2', '$', 'd', ' ', '%', '1', '$', 'd', '\0' }; 670 static char buf[100]; 671 int main () 672 { 673 sprintf (buf, format, 33, 55); 674 return (strcmp (buf, "55 33") != 0); 675 }], gt_cv_func_printf_posix=yes, gt_cv_func_printf_posix=no, 676 [ 677 AC_EGREP_CPP(notposix, [ 678 #if defined __NetBSD__ || defined _MSC_VER || defined __MINGW32__ || defined __CYGWIN__ 679 notposix 680 #endif 681 ], gt_cv_func_printf_posix="guessing no", 682 gt_cv_func_printf_posix="guessing yes") 683 ]) 684 ]) 685 case $gt_cv_func_printf_posix in 686 *yes) 687 AC_DEFINE(HAVE_POSIX_PRINTF, 1, 688 [Define if your printf() function supports format strings with positions.]) 689 ;; 690 esac 691 ]) 692 m4trace:/usr/share/aclocal/size_max.m4:9: -1- AC_DEFUN([gl_SIZE_MAX], [ 693 AC_CHECK_HEADERS(stdint.h) 694 dnl First test whether the system already has SIZE_MAX. 695 AC_MSG_CHECKING([for SIZE_MAX]) 696 AC_CACHE_VAL([gl_cv_size_max], [ 697 gl_cv_size_max= 698 AC_EGREP_CPP([Found it], [ 699 #include <limits.h> 700 #if HAVE_STDINT_H 701 #include <stdint.h> 702 #endif 703 #ifdef SIZE_MAX 704 Found it 705 #endif 706 ], gl_cv_size_max=yes) 707 if test -z "$gl_cv_size_max"; then 708 dnl Define it ourselves. Here we assume that the type 'size_t' is not wider 709 dnl than the type 'unsigned long'. Try hard to find a definition that can 710 dnl be used in a preprocessor #if, i.e. doesn't contain a cast. 711 _AC_COMPUTE_INT([sizeof (size_t) * CHAR_BIT - 1], size_t_bits_minus_1, 712 [#include <stddef.h> 713 #include <limits.h>], size_t_bits_minus_1=) 714 _AC_COMPUTE_INT([sizeof (size_t) <= sizeof (unsigned int)], fits_in_uint, 715 [#include <stddef.h>], fits_in_uint=) 716 if test -n "$size_t_bits_minus_1" && test -n "$fits_in_uint"; then 717 if test $fits_in_uint = 1; then 718 dnl Even though SIZE_MAX fits in an unsigned int, it must be of type 719 dnl 'unsigned long' if the type 'size_t' is the same as 'unsigned long'. 720 AC_TRY_COMPILE([#include <stddef.h> 721 extern size_t foo; 722 extern unsigned long foo; 723 ], [], fits_in_uint=0) 724 fi 725 dnl We cannot use 'expr' to simplify this expression, because 'expr' 726 dnl works only with 'long' integers in the host environment, while we 727 dnl might be cross-compiling from a 32-bit platform to a 64-bit platform. 728 if test $fits_in_uint = 1; then 729 gl_cv_size_max="(((1U << $size_t_bits_minus_1) - 1) * 2 + 1)" 730 else 731 gl_cv_size_max="(((1UL << $size_t_bits_minus_1) - 1) * 2 + 1)" 732 fi 733 else 734 dnl Shouldn't happen, but who knows... 735 gl_cv_size_max='((size_t)~(size_t)0)' 736 fi 737 fi 738 ]) 739 AC_MSG_RESULT([$gl_cv_size_max]) 740 if test "$gl_cv_size_max" != yes; then 741 AC_DEFINE_UNQUOTED([SIZE_MAX], [$gl_cv_size_max], 742 [Define as the maximum value of type 'size_t', if the system doesn't define it.]) 743 fi 744 ]) 745 m4trace:/usr/share/aclocal/stdint_h.m4:12: -1- AC_DEFUN([gl_AC_HEADER_STDINT_H], [ 746 AC_CACHE_CHECK([for stdint.h], gl_cv_header_stdint_h, 747 [AC_TRY_COMPILE( 748 [#include <sys/types.h> 749 #include <stdint.h>], 750 [uintmax_t i = (uintmax_t) -1; return !i;], 751 gl_cv_header_stdint_h=yes, 752 gl_cv_header_stdint_h=no)]) 753 if test $gl_cv_header_stdint_h = yes; then 754 AC_DEFINE_UNQUOTED(HAVE_STDINT_H_WITH_UINTMAX, 1, 755 [Define if <stdint.h> exists, doesn't clash with <sys/types.h>, 756 and declares uintmax_t. ]) 757 fi 758 ]) 759 m4trace:/usr/share/aclocal/uintmax_t.m4:14: -1- AC_DEFUN([gl_AC_TYPE_UINTMAX_T], [ 760 AC_REQUIRE([gl_AC_HEADER_INTTYPES_H]) 761 AC_REQUIRE([gl_AC_HEADER_STDINT_H]) 762 if test $gl_cv_header_inttypes_h = no && test $gl_cv_header_stdint_h = no; then 763 AC_REQUIRE([gl_AC_TYPE_UNSIGNED_LONG_LONG]) 764 test $ac_cv_type_unsigned_long_long = yes \ 765 && ac_type='unsigned long long' \ 766 || ac_type='unsigned long' 767 AC_DEFINE_UNQUOTED(uintmax_t, $ac_type, 768 [Define to unsigned long or unsigned long long 769 if <stdint.h> and <inttypes.h> don't define.]) 770 else 771 AC_DEFINE(HAVE_UINTMAX_T, 1, 772 [Define if you have the 'uintmax_t' type in <stdint.h> or <inttypes.h>.]) 773 fi 774 ]) 775 m4trace:/usr/share/aclocal/ulonglong.m4:18: -1- AC_DEFUN([AC_TYPE_UNSIGNED_LONG_LONG_INT], [ 776 AC_CACHE_CHECK([for unsigned long long int], 777 [ac_cv_type_unsigned_long_long_int], 778 [AC_LINK_IFELSE( 779 [AC_LANG_PROGRAM( 780 [[unsigned long long int ull = 18446744073709551615ULL; 781 typedef int a[(18446744073709551615ULL <= (unsigned long long int) -1 782 ? 1 : -1)]; 783 int i = 63;]], 784 [[unsigned long long int ullmax = 18446744073709551615ull; 785 return (ull << 63 | ull >> 63 | ull << i | ull >> i 786 | ullmax / ull | ullmax % ull);]])], 787 [ac_cv_type_unsigned_long_long_int=yes], 788 [ac_cv_type_unsigned_long_long_int=no])]) 789 if test $ac_cv_type_unsigned_long_long_int = yes; then 790 AC_DEFINE([HAVE_UNSIGNED_LONG_LONG_INT], 1, 791 [Define to 1 if the system has the type `unsigned long long int'.]) 792 fi 793 ]) 794 m4trace:/usr/share/aclocal/ulonglong.m4:40: -1- AC_DEFUN([gl_AC_TYPE_UNSIGNED_LONG_LONG], [ 795 AC_REQUIRE([AC_TYPE_UNSIGNED_LONG_LONG_INT]) 796 ac_cv_type_unsigned_long_long=$ac_cv_type_unsigned_long_long_int 797 if test $ac_cv_type_unsigned_long_long = yes; then 798 AC_DEFINE(HAVE_UNSIGNED_LONG_LONG, 1, 799 [Define if you have the 'unsigned long long' type.]) 800 fi 801 ]) 802 m4trace:/usr/share/aclocal/visibility.m4:23: -1- AC_DEFUN([gl_VISIBILITY], [ 803 AC_REQUIRE([AC_PROG_CC]) 804 CFLAG_VISIBILITY= 805 HAVE_VISIBILITY=0 806 if test -n "$GCC"; then 807 AC_MSG_CHECKING([for simple visibility declarations]) 808 AC_CACHE_VAL(gl_cv_cc_visibility, [ 809 gl_save_CFLAGS="$CFLAGS" 810 CFLAGS="$CFLAGS -fvisibility=hidden" 811 AC_TRY_COMPILE( 812 [extern __attribute__((__visibility__("hidden"))) int hiddenvar; 813 extern __attribute__((__visibility__("default"))) int exportedvar; 814 extern __attribute__((__visibility__("hidden"))) int hiddenfunc (void); 815 extern __attribute__((__visibility__("default"))) int exportedfunc (void);], 816 [], 817 gl_cv_cc_visibility=yes, 818 gl_cv_cc_visibility=no) 819 CFLAGS="$gl_save_CFLAGS"]) 820 AC_MSG_RESULT([$gl_cv_cc_visibility]) 821 if test $gl_cv_cc_visibility = yes; then 822 CFLAG_VISIBILITY="-fvisibility=hidden" 823 HAVE_VISIBILITY=1 824 fi 825 fi 826 AC_SUBST([CFLAG_VISIBILITY]) 827 AC_SUBST([HAVE_VISIBILITY]) 828 AC_DEFINE_UNQUOTED([HAVE_VISIBILITY], [$HAVE_VISIBILITY], 829 [Define to 1 or 0, depending whether the compiler supports simple visibility declarations.]) 830 ]) 831 m4trace:/usr/share/aclocal/wchar_t.m4:11: -1- AC_DEFUN([gt_TYPE_WCHAR_T], [ 832 AC_CACHE_CHECK([for wchar_t], gt_cv_c_wchar_t, 833 [AC_TRY_COMPILE([#include <stddef.h> 834 wchar_t foo = (wchar_t)'\0';], , 835 gt_cv_c_wchar_t=yes, gt_cv_c_wchar_t=no)]) 836 if test $gt_cv_c_wchar_t = yes; then 837 AC_DEFINE(HAVE_WCHAR_T, 1, [Define if you have the 'wchar_t' type.]) 838 fi 839 ]) 840 m4trace:/usr/share/aclocal/wint_t.m4:11: -1- AC_DEFUN([gt_TYPE_WINT_T], [ 841 AC_CACHE_CHECK([for wint_t], gt_cv_c_wint_t, 842 [AC_TRY_COMPILE([#include <wchar.h> 843 wint_t foo = (wchar_t)'\0';], , 844 gt_cv_c_wint_t=yes, gt_cv_c_wint_t=no)]) 845 if test $gt_cv_c_wint_t = yes; then 846 AC_DEFINE(HAVE_WINT_T, 1, [Define if you have the 'wint_t' type.]) 847 fi 848 ]) 849 m4trace:/usr/share/aclocal/xsize.m4:7: -1- AC_DEFUN([gl_XSIZE], [ 850 dnl Prerequisites of lib/xsize.h. 851 AC_REQUIRE([gl_SIZE_MAX]) 852 AC_REQUIRE([AC_C_INLINE]) 853 AC_CHECK_HEADERS(stdint.h) 854 ]) 855 m4trace:/usr/share/aclocal-1.9/amversion.m4:13: -1- AC_DEFUN([AM_AUTOMAKE_VERSION], [am__api_version="1.9"]) 856 m4trace:/usr/share/aclocal-1.9/amversion.m4:19: -1- AC_DEFUN([AM_SET_CURRENT_AUTOMAKE_VERSION], [AM_AUTOMAKE_VERSION([1.9.6])]) 857 m4trace:/usr/share/aclocal-1.9/auxdir.m4:47: -1- AC_DEFUN([AM_AUX_DIR_EXPAND], [dnl Rely on autoconf to set up CDPATH properly. 858 AC_PREREQ([2.50])dnl 859 # expand $ac_aux_dir to an absolute path 860 am_aux_dir=`cd $ac_aux_dir && pwd` 861 ]) 862 m4trace:/usr/share/aclocal-1.9/cond.m4:15: -1- AC_DEFUN([AM_CONDITIONAL], [AC_PREREQ(2.52)dnl 863 ifelse([$1], [TRUE], [AC_FATAL([$0: invalid condition: $1])], 864 [$1], [FALSE], [AC_FATAL([$0: invalid condition: $1])])dnl 865 AC_SUBST([$1_TRUE]) 866 AC_SUBST([$1_FALSE]) 867 if $2; then 868 $1_TRUE= 869 $1_FALSE='#' 870 else 871 $1_TRUE='#' 872 $1_FALSE= 873 fi 874 AC_CONFIG_COMMANDS_PRE( 875 [if test -z "${$1_TRUE}" && test -z "${$1_FALSE}"; then 876 AC_MSG_ERROR([[conditional "$1" was never defined. 877 Usually this means the macro was only invoked conditionally.]]) 878 fi])]) 879 m4trace:/usr/share/aclocal-1.9/depend.m4:29: -1- AC_DEFUN([_AM_DEPENDENCIES], [AC_REQUIRE([AM_SET_DEPDIR])dnl 880 AC_REQUIRE([AM_OUTPUT_DEPENDENCY_COMMANDS])dnl 881 AC_REQUIRE([AM_MAKE_INCLUDE])dnl 882 AC_REQUIRE([AM_DEP_TRACK])dnl 883 884 ifelse([$1], CC, [depcc="$CC" am_compiler_list=], 885 [$1], CXX, [depcc="$CXX" am_compiler_list=], 886 [$1], OBJC, [depcc="$OBJC" am_compiler_list='gcc3 gcc'], 887 [$1], GCJ, [depcc="$GCJ" am_compiler_list='gcc3 gcc'], 888 [depcc="$$1" am_compiler_list=]) 889 890 AC_CACHE_CHECK([dependency style of $depcc], 891 [am_cv_$1_dependencies_compiler_type], 892 [if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then 893 # We make a subdir and do the tests there. Otherwise we can end up 894 # making bogus files that we don't know about and never remove. For 895 # instance it was reported that on HP-UX the gcc test will end up 896 # making a dummy file named `D' -- because `-MD' means `put the output 897 # in D'. 898 mkdir conftest.dir 899 # Copy depcomp to subdir because otherwise we won't find it if we're 900 # using a relative directory. 901 cp "$am_depcomp" conftest.dir 902 cd conftest.dir 903 # We will build objects and dependencies in a subdirectory because 904 # it helps to detect inapplicable dependency modes. For instance 905 # both Tru64's cc and ICC support -MD to output dependencies as a 906 # side effect of compilation, but ICC will put the dependencies in 907 # the current directory while Tru64 will put them in the object 908 # directory. 909 mkdir sub 910 911 am_cv_$1_dependencies_compiler_type=none 912 if test "$am_compiler_list" = ""; then 913 am_compiler_list=`sed -n ['s/^#*\([a-zA-Z0-9]*\))$/\1/p'] < ./depcomp` 914 fi 915 for depmode in $am_compiler_list; do 916 # Setup a source with many dependencies, because some compilers 917 # like to wrap large dependency lists on column 80 (with \), and 918 # we should not choose a depcomp mode which is confused by this. 919 # 920 # We need to recreate these files for each test, as the compiler may 921 # overwrite some of them when testing with obscure command lines. 922 # This happens at least with the AIX C compiler. 923 : > sub/conftest.c 924 for i in 1 2 3 4 5 6; do 925 echo '#include "conftst'$i'.h"' >> sub/conftest.c 926 # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with 927 # Solaris 8's {/usr,}/bin/sh. 928 touch sub/conftst$i.h 929 done 930 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf 931 932 case $depmode in 933 nosideeffect) 934 # after this tag, mechanisms are not by side-effect, so they'll 935 # only be used when explicitly requested 936 if test "x$enable_dependency_tracking" = xyes; then 937 continue 938 else 939 break 940 fi 941 ;; 942 none) break ;; 943 esac 944 # We check with `-c' and `-o' for the sake of the "dashmstdout" 945 # mode. It turns out that the SunPro C++ compiler does not properly 946 # handle `-M -o', and we need to detect this. 947 if depmode=$depmode \ 948 source=sub/conftest.c object=sub/conftest.${OBJEXT-o} \ 949 depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \ 950 $SHELL ./depcomp $depcc -c -o sub/conftest.${OBJEXT-o} sub/conftest.c \ 951 >/dev/null 2>conftest.err && 952 grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 && 953 grep sub/conftest.${OBJEXT-o} sub/conftest.Po > /dev/null 2>&1 && 954 ${MAKE-make} -s -f confmf > /dev/null 2>&1; then 955 # icc doesn't choke on unknown options, it will just issue warnings 956 # or remarks (even with -Werror). So we grep stderr for any message 957 # that says an option was ignored or not supported. 958 # When given -MP, icc 7.0 and 7.1 complain thusly: 959 # icc: Command line warning: ignoring option '-M'; no argument required 960 # The diagnosis changed in icc 8.0: 961 # icc: Command line remark: option '-MP' not supported 962 if (grep 'ignoring option' conftest.err || 963 grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else 964 am_cv_$1_dependencies_compiler_type=$depmode 965 break 966 fi 967 fi 968 done 969 970 cd .. 971 rm -rf conftest.dir 972 else 973 am_cv_$1_dependencies_compiler_type=none 974 fi 975 ]) 976 AC_SUBST([$1DEPMODE], [depmode=$am_cv_$1_dependencies_compiler_type]) 977 AM_CONDITIONAL([am__fastdep$1], [ 978 test "x$enable_dependency_tracking" != xno \ 979 && test "$am_cv_$1_dependencies_compiler_type" = gcc3]) 980 ]) 981 m4trace:/usr/share/aclocal-1.9/depend.m4:138: -1- AC_DEFUN([AM_SET_DEPDIR], [AC_REQUIRE([AM_SET_LEADING_DOT])dnl 982 AC_SUBST([DEPDIR], ["${am__leading_dot}deps"])dnl 983 ]) 984 m4trace:/usr/share/aclocal-1.9/depend.m4:146: -1- AC_DEFUN([AM_DEP_TRACK], [AC_ARG_ENABLE(dependency-tracking, 985 [ --disable-dependency-tracking speeds up one-time build 986 --enable-dependency-tracking do not reject slow dependency extractors]) 987 if test "x$enable_dependency_tracking" != xno; then 988 am_depcomp="$ac_aux_dir/depcomp" 989 AMDEPBACKSLASH='\' 990 fi 991 AM_CONDITIONAL([AMDEP], [test "x$enable_dependency_tracking" != xno]) 992 AC_SUBST([AMDEPBACKSLASH]) 993 ]) 994 m4trace:/usr/share/aclocal-1.9/depout.m4:14: -1- AC_DEFUN([_AM_OUTPUT_DEPENDENCY_COMMANDS], [for mf in $CONFIG_FILES; do 995 # Strip MF so we end up with the name of the file. 996 mf=`echo "$mf" | sed -e 's/:.*$//'` 997 # Check whether this is an Automake generated Makefile or not. 998 # We used to match only the files named `Makefile.in', but 999 # some people rename them; so instead we look at the file content. 1000 # Grep'ing the first line is not enough: some people post-process 1001 # each Makefile.in and add a new line on top of each file to say so. 1002 # So let's grep whole file. 1003 if grep '^#.*generated by automake' $mf > /dev/null 2>&1; then 1004 dirpart=`AS_DIRNAME("$mf")` 1005 else 1006 continue 1007 fi 1008 # Extract the definition of DEPDIR, am__include, and am__quote 1009 # from the Makefile without running `make'. 1010 DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"` 1011 test -z "$DEPDIR" && continue 1012 am__include=`sed -n 's/^am__include = //p' < "$mf"` 1013 test -z "am__include" && continue 1014 am__quote=`sed -n 's/^am__quote = //p' < "$mf"` 1015 # When using ansi2knr, U may be empty or an underscore; expand it 1016 U=`sed -n 's/^U = //p' < "$mf"` 1017 # Find all dependency output files, they are included files with 1018 # $(DEPDIR) in their names. We invoke sed twice because it is the 1019 # simplest approach to changing $(DEPDIR) to its actual value in the 1020 # expansion. 1021 for file in `sed -n " 1022 s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \ 1023 sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do 1024 # Make sure the directory exists. 1025 test -f "$dirpart/$file" && continue 1026 fdir=`AS_DIRNAME(["$file"])` 1027 AS_MKDIR_P([$dirpart/$fdir]) 1028 # echo "creating $dirpart/$file" 1029 echo '# dummy' > "$dirpart/$file" 1030 done 1031 done 1032 ]) 1033 m4trace:/usr/share/aclocal-1.9/depout.m4:63: -1- AC_DEFUN([AM_OUTPUT_DEPENDENCY_COMMANDS], [AC_CONFIG_COMMANDS([depfiles], 1034 [test x"$AMDEP_TRUE" != x"" || _AM_OUTPUT_DEPENDENCY_COMMANDS], 1035 [AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"]) 1036 ]) 1037 m4trace:/usr/share/aclocal-1.9/dmalloc.m4:15: -1- AC_DEFUN([AM_WITH_DMALLOC], [AC_MSG_CHECKING([if malloc debugging is wanted]) 1038 AC_ARG_WITH(dmalloc, 1039 [ --with-dmalloc use dmalloc, as in 1040 http://www.dmalloc.com/dmalloc.tar.gz], 1041 [if test "$withval" = yes; then 1042 AC_MSG_RESULT(yes) 1043 AC_DEFINE(WITH_DMALLOC,1, 1044 [Define if using the dmalloc debugging malloc package]) 1045 LIBS="$LIBS -ldmalloc" 1046 LDFLAGS="$LDFLAGS -g" 1047 else 1048 AC_MSG_RESULT(no) 1049 fi], [AC_MSG_RESULT(no)]) 1050 ]) 1051 m4trace:/usr/share/aclocal-1.9/dmalloc.m4:31: -1- AU_DEFUN([fp_WITH_DMALLOC], [AM_WITH_DMALLOC]) 1052 m4trace:/usr/share/aclocal-1.9/dmalloc.m4:31: -1- AC_DEFUN([fp_WITH_DMALLOC], [AC_DIAGNOSE([obsolete], [The macro `fp_WITH_DMALLOC' is obsolete. 1053 You should run autoupdate.])dnl 1054 AM_WITH_DMALLOC]) 1055 m4trace:/usr/share/aclocal-1.9/init.m4:26: -1- AC_DEFUN([AM_INIT_AUTOMAKE], [AC_PREREQ([2.58])dnl 1056 dnl Autoconf wants to disallow AM_ names. We explicitly allow 1057 dnl the ones we care about. 1058 m4_pattern_allow([^AM_[A-Z]+FLAGS$])dnl 1059 AC_REQUIRE([AM_SET_CURRENT_AUTOMAKE_VERSION])dnl 1060 AC_REQUIRE([AC_PROG_INSTALL])dnl 1061 # test to see if srcdir already configured 1062 if test "`cd $srcdir && pwd`" != "`pwd`" && 1063 test -f $srcdir/config.status; then 1064 AC_MSG_ERROR([source directory already configured; run "make distclean" there first]) 1065 fi 1066 1067 # test whether we have cygpath 1068 if test -z "$CYGPATH_W"; then 1069 if (cygpath --version) >/dev/null 2>/dev/null; then 1070 CYGPATH_W='cygpath -w' 1071 else 1072 CYGPATH_W=echo 1073 fi 1074 fi 1075 AC_SUBST([CYGPATH_W]) 1076 1077 # Define the identity of the package. 1078 dnl Distinguish between old-style and new-style calls. 1079 m4_ifval([$2], 1080 [m4_ifval([$3], [_AM_SET_OPTION([no-define])])dnl 1081 AC_SUBST([PACKAGE], [$1])dnl 1082 AC_SUBST([VERSION], [$2])], 1083 [_AM_SET_OPTIONS([$1])dnl 1084 AC_SUBST([PACKAGE], ['AC_PACKAGE_TARNAME'])dnl 1085 AC_SUBST([VERSION], ['AC_PACKAGE_VERSION'])])dnl 1086 1087 _AM_IF_OPTION([no-define],, 1088 [AC_DEFINE_UNQUOTED(PACKAGE, "$PACKAGE", [Name of package]) 1089 AC_DEFINE_UNQUOTED(VERSION, "$VERSION", [Version number of package])])dnl 1090 1091 # Some tools Automake needs. 1092 AC_REQUIRE([AM_SANITY_CHECK])dnl 1093 AC_REQUIRE([AC_ARG_PROGRAM])dnl 1094 AM_MISSING_PROG(ACLOCAL, aclocal-${am__api_version}) 1095 AM_MISSING_PROG(AUTOCONF, autoconf) 1096 AM_MISSING_PROG(AUTOMAKE, automake-${am__api_version}) 1097 AM_MISSING_PROG(AUTOHEADER, autoheader) 1098 AM_MISSING_PROG(MAKEINFO, makeinfo) 1099 AM_PROG_INSTALL_SH 1100 AM_PROG_INSTALL_STRIP 1101 AC_REQUIRE([AM_PROG_MKDIR_P])dnl 1102 # We need awk for the "check" target. The system "awk" is bad on 1103 # some platforms. 1104 AC_REQUIRE([AC_PROG_AWK])dnl 1105 AC_REQUIRE([AC_PROG_MAKE_SET])dnl 1106 AC_REQUIRE([AM_SET_LEADING_DOT])dnl 1107 _AM_IF_OPTION([tar-ustar], [_AM_PROG_TAR([ustar])], 1108 [_AM_IF_OPTION([tar-pax], [_AM_PROG_TAR([pax])], 1109 [_AM_PROG_TAR([v7])])]) 1110 _AM_IF_OPTION([no-dependencies],, 1111 [AC_PROVIDE_IFELSE([AC_PROG_CC], 1112 [_AM_DEPENDENCIES(CC)], 1113 [define([AC_PROG_CC], 1114 defn([AC_PROG_CC])[_AM_DEPENDENCIES(CC)])])dnl 1115 AC_PROVIDE_IFELSE([AC_PROG_CXX], 1116 [_AM_DEPENDENCIES(CXX)], 1117 [define([AC_PROG_CXX], 1118 defn([AC_PROG_CXX])[_AM_DEPENDENCIES(CXX)])])dnl 1119 ]) 1120 ]) 1121 m4trace:/usr/share/aclocal-1.9/init.m4:102: -1- AC_DEFUN([_AC_AM_CONFIG_HEADER_HOOK], [# Compute $1's index in $config_headers. 1122 _am_stamp_count=1 1123 for _am_header in $config_headers :; do 1124 case $_am_header in 1125 $1 | $1:* ) 1126 break ;; 1127 * ) 1128 _am_stamp_count=`expr $_am_stamp_count + 1` ;; 1129 esac 1130 done 1131 echo "timestamp for $1" >`AS_DIRNAME([$1])`/stamp-h[]$_am_stamp_count]) 1132 m4trace:/usr/share/aclocal-1.9/install-sh.m4:11: -1- AC_DEFUN([AM_PROG_INSTALL_SH], [AC_REQUIRE([AM_AUX_DIR_EXPAND])dnl 1133 install_sh=${install_sh-"$am_aux_dir/install-sh"} 1134 AC_SUBST(install_sh)]) 1135 m4trace:/usr/share/aclocal-1.9/lead-dot.m4:12: -1- AC_DEFUN([AM_SET_LEADING_DOT], [rm -rf .tst 2>/dev/null 1136 mkdir .tst 2>/dev/null 1137 if test -d .tst; then 1138 am__leading_dot=. 1139 else 1140 am__leading_dot=_ 1141 fi 1142 rmdir .tst 2>/dev/null 1143 AC_SUBST([am__leading_dot])]) 1144 m4trace:/usr/share/aclocal-1.9/make.m4:14: -1- AC_DEFUN([AM_MAKE_INCLUDE], [am_make=${MAKE-make} 1145 cat > confinc << 'END' 1146 am__doit: 1147 @echo done 1148 .PHONY: am__doit 1149 END 1150 # If we don't find an include directive, just comment out the code. 1151 AC_MSG_CHECKING([for style of include used by $am_make]) 1152 am__include="#" 1153 am__quote= 1154 _am_result=none 1155 # First try GNU make style include. 1156 echo "include confinc" > confmf 1157 # We grep out `Entering directory' and `Leaving directory' 1158 # messages which can occur if `w' ends up in MAKEFLAGS. 1159 # In particular we don't look at `^make:' because GNU make might 1160 # be invoked under some other name (usually "gmake"), in which 1161 # case it prints its new name instead of `make'. 1162 if test "`$am_make -s -f confmf 2> /dev/null | grep -v 'ing directory'`" = "done"; then 1163 am__include=include 1164 am__quote= 1165 _am_result=GNU 1166 fi 1167 # Now try BSD make style include. 1168 if test "$am__include" = "#"; then 1169 echo '.include "confinc"' > confmf 1170 if test "`$am_make -s -f confmf 2> /dev/null`" = "done"; then 1171 am__include=.include 1172 am__quote="\"" 1173 _am_result=BSD 1174 fi 1175 fi 1176 AC_SUBST([am__include]) 1177 AC_SUBST([am__quote]) 1178 AC_MSG_RESULT([$_am_result]) 1179 rm -f confinc confmf 1180 ]) 1181 m4trace:/usr/share/aclocal-1.9/missing.m4:14: -1- AC_DEFUN([AM_MISSING_PROG], [AC_REQUIRE([AM_MISSING_HAS_RUN]) 1182 $1=${$1-"${am_missing_run}$2"} 1183 AC_SUBST($1)]) 1184 m4trace:/usr/share/aclocal-1.9/missing.m4:24: -1- AC_DEFUN([AM_MISSING_HAS_RUN], [AC_REQUIRE([AM_AUX_DIR_EXPAND])dnl 1185 test x"${MISSING+set}" = xset || MISSING="\${SHELL} $am_aux_dir/missing" 1186 # Use eval to expand $SHELL 1187 if eval "$MISSING --run true"; then 1188 am_missing_run="$MISSING --run " 1189 else 1190 am_missing_run= 1191 AC_MSG_WARN([`missing' script is too old or missing]) 1192 fi 1193 ]) 1194 m4trace:/usr/share/aclocal-1.9/mkdirp.m4:30: -1- AC_DEFUN([AM_PROG_MKDIR_P], [if mkdir -p --version . >/dev/null 2>&1 && test ! -d ./--version; then 1195 # We used to keeping the `.' as first argument, in order to 1196 # allow $(mkdir_p) to be used without argument. As in 1197 # $(mkdir_p) $(somedir) 1198 # where $(somedir) is conditionally defined. However this is wrong 1199 # for two reasons: 1200 # 1. if the package is installed by a user who cannot write `.' 1201 # make install will fail, 1202 # 2. the above comment should most certainly read 1203 # $(mkdir_p) $(DESTDIR)$(somedir) 1204 # so it does not work when $(somedir) is undefined and 1205 # $(DESTDIR) is not. 1206 # To support the latter case, we have to write 1207 # test -z "$(somedir)" || $(mkdir_p) $(DESTDIR)$(somedir), 1208 # so the `.' trick is pointless. 1209 mkdir_p='mkdir -p --' 1210 else 1211 # On NextStep and OpenStep, the `mkdir' command does not 1212 # recognize any option. It will interpret all options as 1213 # directories to create, and then abort because `.' already 1214 # exists. 1215 for d in ./-p ./--version; 1216 do 1217 test -d $d && rmdir $d 1218 done 1219 # $(mkinstalldirs) is defined by Automake if mkinstalldirs exists. 1220 if test -f "$ac_aux_dir/mkinstalldirs"; then 1221 mkdir_p='$(mkinstalldirs)' 1222 else 1223 mkdir_p='$(install_sh) -d' 1224 fi 1225 fi 1226 AC_SUBST([mkdir_p])]) 1227 m4trace:/usr/share/aclocal-1.9/options.m4:13: -1- AC_DEFUN([_AM_MANGLE_OPTION], [[_AM_OPTION_]m4_bpatsubst($1, [[^a-zA-Z0-9_]], [_])]) 1228 m4trace:/usr/share/aclocal-1.9/options.m4:19: -1- AC_DEFUN([_AM_SET_OPTION], [m4_define(_AM_MANGLE_OPTION([$1]), 1)]) 1229 m4trace:/usr/share/aclocal-1.9/options.m4:25: -1- AC_DEFUN([_AM_SET_OPTIONS], [AC_FOREACH([_AM_Option], [$1], [_AM_SET_OPTION(_AM_Option)])]) 1230 m4trace:/usr/share/aclocal-1.9/options.m4:31: -1- AC_DEFUN([_AM_IF_OPTION], [m4_ifset(_AM_MANGLE_OPTION([$1]), [$2], [$3])]) 1231 m4trace:/usr/share/aclocal-1.9/runlog.m4:12: -1- AC_DEFUN([AM_RUN_LOG], [{ echo "$as_me:$LINENO: $1" >&AS_MESSAGE_LOG_FD 1232 ($1) >&AS_MESSAGE_LOG_FD 2>&AS_MESSAGE_LOG_FD 1233 ac_status=$? 1234 echo "$as_me:$LINENO: \$? = $ac_status" >&AS_MESSAGE_LOG_FD 1235 (exit $ac_status); }]) 1236 m4trace:/usr/share/aclocal-1.9/sanity.m4:14: -1- AC_DEFUN([AM_SANITY_CHECK], [AC_MSG_CHECKING([whether build environment is sane]) 1237 # Just in case 1238 sleep 1 1239 echo timestamp > conftest.file 1240 # Do `set' in a subshell so we don't clobber the current shell's 1241 # arguments. Must try -L first in case configure is actually a 1242 # symlink; some systems play weird games with the mod time of symlinks 1243 # (eg FreeBSD returns the mod time of the symlink's containing 1244 # directory). 1245 if ( 1246 set X `ls -Lt $srcdir/configure conftest.file 2> /dev/null` 1247 if test "$[*]" = "X"; then 1248 # -L didn't work. 1249 set X `ls -t $srcdir/configure conftest.file` 1250 fi 1251 rm -f conftest.file 1252 if test "$[*]" != "X $srcdir/configure conftest.file" \ 1253 && test "$[*]" != "X conftest.file $srcdir/configure"; then 1254 1255 # If neither matched, then we have a broken ls. This can happen 1256 # if, for instance, CONFIG_SHELL is bash and it inherits a 1257 # broken ls alias from the environment. This has actually 1258 # happened. Such a system could not be considered "sane". 1259 AC_MSG_ERROR([ls -t appears to fail. Make sure there is not a broken 1260 alias in your environment]) 1261 fi 1262 1263 test "$[2]" = conftest.file 1264 ) 1265 then 1266 # Ok. 1267 : 1268 else 1269 AC_MSG_ERROR([newly created file is older than distributed files! 1270 Check your system clock]) 1271 fi 1272 AC_MSG_RESULT(yes)]) 1273 m4trace:/usr/share/aclocal-1.9/strip.m4:17: -1- AC_DEFUN([AM_PROG_INSTALL_STRIP], [AC_REQUIRE([AM_PROG_INSTALL_SH])dnl 1274 # Installed binaries are usually stripped using `strip' when the user 1275 # run `make install-strip'. However `strip' might not be the right 1276 # tool to use in cross-compilation environments, therefore Automake 1277 # will honor the `STRIP' environment variable to overrule this program. 1278 dnl Don't test for $cross_compiling = yes, because it might be `maybe'. 1279 if test "$cross_compiling" != no; then 1280 AC_CHECK_TOOL([STRIP], [strip], :) 1281 fi 1282 INSTALL_STRIP_PROGRAM="\${SHELL} \$(install_sh) -c -s" 1283 AC_SUBST([INSTALL_STRIP_PROGRAM])]) 1284 m4trace:/usr/share/aclocal-1.9/tar.m4:24: -1- AC_DEFUN([_AM_PROG_TAR], [# Always define AMTAR for backward compatibility. 1285 AM_MISSING_PROG([AMTAR], [tar]) 1286 m4_if([$1], [v7], 1287 [am__tar='${AMTAR} chof - "$$tardir"'; am__untar='${AMTAR} xf -'], 1288 [m4_case([$1], [ustar],, [pax],, 1289 [m4_fatal([Unknown tar format])]) 1290 AC_MSG_CHECKING([how to create a $1 tar archive]) 1291 # Loop over all known methods to create a tar archive until one works. 1292 _am_tools='gnutar m4_if([$1], [ustar], [plaintar]) pax cpio none' 1293 _am_tools=${am_cv_prog_tar_$1-$_am_tools} 1294 # Do not fold the above two line into one, because Tru64 sh and 1295 # Solaris sh will not grok spaces in the rhs of `-'. 1296 for _am_tool in $_am_tools 1297 do 1298 case $_am_tool in 1299 gnutar) 1300 for _am_tar in tar gnutar gtar; 1301 do 1302 AM_RUN_LOG([$_am_tar --version]) && break 1303 done 1304 am__tar="$_am_tar --format=m4_if([$1], [pax], [posix], [$1]) -chf - "'"$$tardir"' 1305 am__tar_="$_am_tar --format=m4_if([$1], [pax], [posix], [$1]) -chf - "'"$tardir"' 1306 am__untar="$_am_tar -xf -" 1307 ;; 1308 plaintar) 1309 # Must skip GNU tar: if it does not support --format= it doesn't create 1310 # ustar tarball either. 1311 (tar --version) >/dev/null 2>&1 && continue 1312 am__tar='tar chf - "$$tardir"' 1313 am__tar_='tar chf - "$tardir"' 1314 am__untar='tar xf -' 1315 ;; 1316 pax) 1317 am__tar='pax -L -x $1 -w "$$tardir"' 1318 am__tar_='pax -L -x $1 -w "$tardir"' 1319 am__untar='pax -r' 1320 ;; 1321 cpio) 1322 am__tar='find "$$tardir" -print | cpio -o -H $1 -L' 1323 am__tar_='find "$tardir" -print | cpio -o -H $1 -L' 1324 am__untar='cpio -i -H $1 -d' 1325 ;; 1326 none) 1327 am__tar=false 1328 am__tar_=false 1329 am__untar=false 1330 ;; 1331 esac 1332 1333 # If the value was cached, stop now. We just wanted to have am__tar 1334 # and am__untar set. 1335 test -n "${am_cv_prog_tar_$1}" && break 1336 1337 # tar/untar a dummy directory, and stop if the command works 1338 rm -rf conftest.dir 1339 mkdir conftest.dir 1340 echo GrepMe > conftest.dir/file 1341 AM_RUN_LOG([tardir=conftest.dir && eval $am__tar_ >conftest.tar]) 1342 rm -rf conftest.dir 1343 if test -s conftest.tar; then 1344 AM_RUN_LOG([$am__untar <conftest.tar]) 1345 grep GrepMe conftest.dir/file >/dev/null 2>&1 && break 1346 fi 1347 done 1348 rm -rf conftest.dir 1349 1350 AC_CACHE_VAL([am_cv_prog_tar_$1], [am_cv_prog_tar_$1=$_am_tool]) 1351 AC_MSG_RESULT([$am_cv_prog_tar_$1])]) 1352 AC_SUBST([am__tar]) 1353 AC_SUBST([am__untar]) 1354 ]) 1355 m4trace:m4/gettext.m4:57: -1- AC_DEFUN([AM_GNU_GETTEXT], [ 1356 dnl Argument checking. 1357 ifelse([$1], [], , [ifelse([$1], [external], , [ifelse([$1], [no-libtool], , [ifelse([$1], [use-libtool], , 1358 [errprint([ERROR: invalid first argument to AM_GNU_GETTEXT 1359 ])])])])]) 1360 ifelse([$2], [], , [ifelse([$2], [need-ngettext], , [ifelse([$2], [need-formatstring-macros], , 1361 [errprint([ERROR: invalid second argument to AM_GNU_GETTEXT 1362 ])])])]) 1363 define([gt_included_intl], 1364 ifelse([$1], [external], 1365 ifdef([AM_GNU_GETTEXT_][INTL_SUBDIR], [yes], [no]), 1366 [yes])) 1367 define([gt_libtool_suffix_prefix], ifelse([$1], [use-libtool], [l], [])) 1368 gt_NEEDS_INIT 1369 AM_GNU_GETTEXT_NEED([$2]) 1370 1371 AC_REQUIRE([AM_PO_SUBDIRS])dnl 1372 ifelse(gt_included_intl, yes, [ 1373 AC_REQUIRE([AM_INTL_SUBDIR])dnl 1374 ]) 1375 1376 dnl Prerequisites of AC_LIB_LINKFLAGS_BODY. 1377 AC_REQUIRE([AC_LIB_PREPARE_PREFIX]) 1378 AC_REQUIRE([AC_LIB_RPATH]) 1379 1380 dnl Sometimes libintl requires libiconv, so first search for libiconv. 1381 dnl Ideally we would do this search only after the 1382 dnl if test "$USE_NLS" = "yes"; then 1383 dnl if { eval "gt_val=\$$gt_func_gnugettext_libc"; test "$gt_val" != "yes"; }; then 1384 dnl tests. But if configure.in invokes AM_ICONV after AM_GNU_GETTEXT 1385 dnl the configure script would need to contain the same shell code 1386 dnl again, outside any 'if'. There are two solutions: 1387 dnl - Invoke AM_ICONV_LINKFLAGS_BODY here, outside any 'if'. 1388 dnl - Control the expansions in more detail using AC_PROVIDE_IFELSE. 1389 dnl Since AC_PROVIDE_IFELSE is only in autoconf >= 2.52 and not 1390 dnl documented, we avoid it. 1391 ifelse(gt_included_intl, yes, , [ 1392 AC_REQUIRE([AM_ICONV_LINKFLAGS_BODY]) 1393 ]) 1394 1395 dnl Sometimes, on MacOS X, libintl requires linking with CoreFoundation. 1396 gt_INTL_MACOSX 1397 1398 dnl Set USE_NLS. 1399 AC_REQUIRE([AM_NLS]) 1400 1401 ifelse(gt_included_intl, yes, [ 1402 BUILD_INCLUDED_LIBINTL=no 1403 USE_INCLUDED_LIBINTL=no 1404 ]) 1405 LIBINTL= 1406 LTLIBINTL= 1407 POSUB= 1408 1409 dnl Add a version number to the cache macros. 1410 case " $gt_needs " in 1411 *" need-formatstring-macros "*) gt_api_version=3 ;; 1412 *" need-ngettext "*) gt_api_version=2 ;; 1413 *) gt_api_version=1 ;; 1414 esac 1415 gt_func_gnugettext_libc="gt_cv_func_gnugettext${gt_api_version}_libc" 1416 gt_func_gnugettext_libintl="gt_cv_func_gnugettext${gt_api_version}_libintl" 1417 1418 dnl If we use NLS figure out what method 1419 if test "$USE_NLS" = "yes"; then 1420 gt_use_preinstalled_gnugettext=no 1421 ifelse(gt_included_intl, yes, [ 1422 AC_MSG_CHECKING([whether included gettext is requested]) 1423 AC_ARG_WITH(included-gettext, 1424 [ --with-included-gettext use the GNU gettext library included here], 1425 nls_cv_force_use_gnu_gettext=$withval, 1426 nls_cv_force_use_gnu_gettext=no) 1427 AC_MSG_RESULT($nls_cv_force_use_gnu_gettext) 1428 1429 nls_cv_use_gnu_gettext="$nls_cv_force_use_gnu_gettext" 1430 if test "$nls_cv_force_use_gnu_gettext" != "yes"; then 1431 ]) 1432 dnl User does not insist on using GNU NLS library. Figure out what 1433 dnl to use. If GNU gettext is available we use this. Else we have 1434 dnl to fall back to GNU NLS library. 1435 1436 if test $gt_api_version -ge 3; then 1437 gt_revision_test_code=' 1438 #ifndef __GNU_GETTEXT_SUPPORTED_REVISION 1439 #define __GNU_GETTEXT_SUPPORTED_REVISION(major) ((major) == 0 ? 0 : -1) 1440 #endif 1441 changequote(,)dnl 1442 typedef int array [2 * (__GNU_GETTEXT_SUPPORTED_REVISION(0) >= 1) - 1]; 1443 changequote([,])dnl 1444 ' 1445 else 1446 gt_revision_test_code= 1447 fi 1448 if test $gt_api_version -ge 2; then 1449 gt_expression_test_code=' + * ngettext ("", "", 0)' 1450 else 1451 gt_expression_test_code= 1452 fi 1453 1454 AC_CACHE_CHECK([for GNU gettext in libc], [$gt_func_gnugettext_libc], 1455 [AC_TRY_LINK([#include <libintl.h> 1456 $gt_revision_test_code 1457 extern int _nl_msg_cat_cntr; 1458 extern int *_nl_domain_bindings;], 1459 [bindtextdomain ("", ""); 1460 return * gettext ("")$gt_expression_test_code + _nl_msg_cat_cntr + *_nl_domain_bindings], 1461 [eval "$gt_func_gnugettext_libc=yes"], 1462 [eval "$gt_func_gnugettext_libc=no"])]) 1463 1464 if { eval "gt_val=\$$gt_func_gnugettext_libc"; test "$gt_val" != "yes"; }; then 1465 dnl Sometimes libintl requires libiconv, so first search for libiconv. 1466 ifelse(gt_included_intl, yes, , [ 1467 AM_ICONV_LINK 1468 ]) 1469 dnl Search for libintl and define LIBINTL, LTLIBINTL and INCINTL 1470 dnl accordingly. Don't use AC_LIB_LINKFLAGS_BODY([intl],[iconv]) 1471 dnl because that would add "-liconv" to LIBINTL and LTLIBINTL 1472 dnl even if libiconv doesn't exist. 1473 AC_LIB_LINKFLAGS_BODY([intl]) 1474 AC_CACHE_CHECK([for GNU gettext in libintl], 1475 [$gt_func_gnugettext_libintl], 1476 [gt_save_CPPFLAGS="$CPPFLAGS" 1477 CPPFLAGS="$CPPFLAGS $INCINTL" 1478 gt_save_LIBS="$LIBS" 1479 LIBS="$LIBS $LIBINTL" 1480 dnl Now see whether libintl exists and does not depend on libiconv. 1481 AC_TRY_LINK([#include <libintl.h> 1482 $gt_revision_test_code 1483 extern int _nl_msg_cat_cntr; 1484 extern 1485 #ifdef __cplusplus 1486 "C" 1487 #endif 1488 const char *_nl_expand_alias (const char *);], 1489 [bindtextdomain ("", ""); 1490 return * gettext ("")$gt_expression_test_code + _nl_msg_cat_cntr + *_nl_expand_alias ("")], 1491 [eval "$gt_func_gnugettext_libintl=yes"], 1492 [eval "$gt_func_gnugettext_libintl=no"]) 1493 dnl Now see whether libintl exists and depends on libiconv. 1494 if { eval "gt_val=\$$gt_func_gnugettext_libintl"; test "$gt_val" != yes; } && test -n "$LIBICONV"; then 1495 LIBS="$LIBS $LIBICONV" 1496 AC_TRY_LINK([#include <libintl.h> 1497 $gt_revision_test_code 1498 extern int _nl_msg_cat_cntr; 1499 extern 1500 #ifdef __cplusplus 1501 "C" 1502 #endif 1503 const char *_nl_expand_alias (const char *);], 1504 [bindtextdomain ("", ""); 1505 return * gettext ("")$gt_expression_test_code + _nl_msg_cat_cntr + *_nl_expand_alias ("")], 1506 [LIBINTL="$LIBINTL $LIBICONV" 1507 LTLIBINTL="$LTLIBINTL $LTLIBICONV" 1508 eval "$gt_func_gnugettext_libintl=yes" 1509 ]) 1510 fi 1511 CPPFLAGS="$gt_save_CPPFLAGS" 1512 LIBS="$gt_save_LIBS"]) 1513 fi 1514 1515 dnl If an already present or preinstalled GNU gettext() is found, 1516 dnl use it. But if this macro is used in GNU gettext, and GNU 1517 dnl gettext is already preinstalled in libintl, we update this 1518 dnl libintl. (Cf. the install rule in intl/Makefile.in.) 1519 if { eval "gt_val=\$$gt_func_gnugettext_libc"; test "$gt_val" = "yes"; } \ 1520 || { { eval "gt_val=\$$gt_func_gnugettext_libintl"; test "$gt_val" = "yes"; } \ 1521 && test "$PACKAGE" != gettext-runtime \ 1522 && test "$PACKAGE" != gettext-tools; }; then 1523 gt_use_preinstalled_gnugettext=yes 1524 else 1525 dnl Reset the values set by searching for libintl. 1526 LIBINTL= 1527 LTLIBINTL= 1528 INCINTL= 1529 fi 1530 1531 ifelse(gt_included_intl, yes, [ 1532 if test "$gt_use_preinstalled_gnugettext" != "yes"; then 1533 dnl GNU gettext is not found in the C library. 1534 dnl Fall back on included GNU gettext library. 1535 nls_cv_use_gnu_gettext=yes 1536 fi 1537 fi 1538 1539 if test "$nls_cv_use_gnu_gettext" = "yes"; then 1540 dnl Mark actions used to generate GNU NLS library. 1541 BUILD_INCLUDED_LIBINTL=yes 1542 USE_INCLUDED_LIBINTL=yes 1543 LIBINTL="ifelse([$3],[],\${top_builddir}/intl,[$3])/libintl.[]gt_libtool_suffix_prefix[]a $LIBICONV $LIBTHREAD" 1544 LTLIBINTL="ifelse([$3],[],\${top_builddir}/intl,[$3])/libintl.[]gt_libtool_suffix_prefix[]a $LTLIBICONV $LTLIBTHREAD" 1545 LIBS=`echo " $LIBS " | sed -e 's/ -lintl / /' -e 's/^ //' -e 's/ $//'` 1546 fi 1547 1548 CATOBJEXT= 1549 if test "$gt_use_preinstalled_gnugettext" = "yes" \ 1550 || test "$nls_cv_use_gnu_gettext" = "yes"; then 1551 dnl Mark actions to use GNU gettext tools. 1552 CATOBJEXT=.gmo 1553 fi 1554 ]) 1555 1556 if test -n "$INTL_MACOSX_LIBS"; then 1557 if test "$gt_use_preinstalled_gnugettext" = "yes" \ 1558 || test "$nls_cv_use_gnu_gettext" = "yes"; then 1559 dnl Some extra flags are needed during linking. 1560 LIBINTL="$LIBINTL $INTL_MACOSX_LIBS" 1561 LTLIBINTL="$LTLIBINTL $INTL_MACOSX_LIBS" 1562 fi 1563 fi 1564 1565 if test "$gt_use_preinstalled_gnugettext" = "yes" \ 1566 || test "$nls_cv_use_gnu_gettext" = "yes"; then 1567 AC_DEFINE(ENABLE_NLS, 1, 1568 [Define to 1 if translation of program messages to the user's native language 1569 is requested.]) 1570 else 1571 USE_NLS=no 1572 fi 1573 fi 1574 1575 AC_MSG_CHECKING([whether to use NLS]) 1576 AC_MSG_RESULT([$USE_NLS]) 1577 if test "$USE_NLS" = "yes"; then 1578 AC_MSG_CHECKING([where the gettext function comes from]) 1579 if test "$gt_use_preinstalled_gnugettext" = "yes"; then 1580 if { eval "gt_val=\$$gt_func_gnugettext_libintl"; test "$gt_val" = "yes"; }; then 1581 gt_source="external libintl" 1582 else 1583 gt_source="libc" 1584 fi 1585 else 1586 gt_source="included intl directory" 1587 fi 1588 AC_MSG_RESULT([$gt_source]) 1589 fi 1590 1591 if test "$USE_NLS" = "yes"; then 1592 1593 if test "$gt_use_preinstalled_gnugettext" = "yes"; then 1594 if { eval "gt_val=\$$gt_func_gnugettext_libintl"; test "$gt_val" = "yes"; }; then 1595 AC_MSG_CHECKING([how to link with libintl]) 1596 AC_MSG_RESULT([$LIBINTL]) 1597 AC_LIB_APPENDTOVAR([CPPFLAGS], [$INCINTL]) 1598 fi 1599 1600 dnl For backward compatibility. Some packages may be using this. 1601 AC_DEFINE(HAVE_GETTEXT, 1, 1602 [Define if the GNU gettext() function is already present or preinstalled.]) 1603 AC_DEFINE(HAVE_DCGETTEXT, 1, 1604 [Define if the GNU dcgettext() function is already present or preinstalled.]) 1605 fi 1606 1607 dnl We need to process the po/ directory. 1608 POSUB=po 1609 fi 1610 1611 ifelse(gt_included_intl, yes, [ 1612 dnl If this is used in GNU gettext we have to set BUILD_INCLUDED_LIBINTL 1613 dnl to 'yes' because some of the testsuite requires it. 1614 if test "$PACKAGE" = gettext-runtime || test "$PACKAGE" = gettext-tools; then 1615 BUILD_INCLUDED_LIBINTL=yes 1616 fi 1617 1618 dnl Make all variables we use known to autoconf. 1619 AC_SUBST(BUILD_INCLUDED_LIBINTL) 1620 AC_SUBST(USE_INCLUDED_LIBINTL) 1621 AC_SUBST(CATOBJEXT) 1622 1623 dnl For backward compatibility. Some configure.ins may be using this. 1624 nls_cv_header_intl= 1625 nls_cv_header_libgt= 1626 1627 dnl For backward compatibility. Some Makefiles may be using this. 1628 DATADIRNAME=share 1629 AC_SUBST(DATADIRNAME) 1630 1631 dnl For backward compatibility. Some Makefiles may be using this. 1632 INSTOBJEXT=.mo 1633 AC_SUBST(INSTOBJEXT) 1634 1635 dnl For backward compatibility. Some Makefiles may be using this. 1636 GENCAT=gencat 1637 AC_SUBST(GENCAT) 1638 1639 dnl For backward compatibility. Some Makefiles may be using this. 1640 INTLOBJS= 1641 if test "$USE_INCLUDED_LIBINTL" = yes; then 1642 INTLOBJS="\$(GETTOBJS)" 1643 fi 1644 AC_SUBST(INTLOBJS) 1645 1646 dnl Enable libtool support if the surrounding package wishes it. 1647 INTL_LIBTOOL_SUFFIX_PREFIX=gt_libtool_suffix_prefix 1648 AC_SUBST(INTL_LIBTOOL_SUFFIX_PREFIX) 1649 ]) 1650 1651 dnl For backward compatibility. Some Makefiles may be using this. 1652 INTLLIBS="$LIBINTL" 1653 AC_SUBST(INTLLIBS) 1654 1655 dnl Make all documented variables known to autoconf. 1656 AC_SUBST(LIBINTL) 1657 AC_SUBST(LTLIBINTL) 1658 AC_SUBST(POSUB) 1659 ]) 1660 m4trace:m4/gettext.m4:367: -1- AC_DEFUN([gt_INTL_MACOSX], [ 1661 dnl Check for API introduced in MacOS X 10.2. 1662 AC_CACHE_CHECK([for CFPreferencesCopyAppValue], 1663 gt_cv_func_CFPreferencesCopyAppValue, 1664 [gt_save_LIBS="$LIBS" 1665 LIBS="$LIBS -Wl,-framework -Wl,CoreFoundation" 1666 AC_TRY_LINK([#include <CoreFoundation/CFPreferences.h>], 1667 [CFPreferencesCopyAppValue(NULL, NULL)], 1668 [gt_cv_func_CFPreferencesCopyAppValue=yes], 1669 [gt_cv_func_CFPreferencesCopyAppValue=no]) 1670 LIBS="$gt_save_LIBS"]) 1671 if test $gt_cv_func_CFPreferencesCopyAppValue = yes; then 1672 AC_DEFINE([HAVE_CFPREFERENCESCOPYAPPVALUE], 1, 1673 [Define to 1 if you have the MacOS X function CFPreferencesCopyAppValue in the CoreFoundation framework.]) 1674 fi 1675 dnl Check for API introduced in MacOS X 10.3. 1676 AC_CACHE_CHECK([for CFLocaleCopyCurrent], gt_cv_func_CFLocaleCopyCurrent, 1677 [gt_save_LIBS="$LIBS" 1678 LIBS="$LIBS -Wl,-framework -Wl,CoreFoundation" 1679 AC_TRY_LINK([#include <CoreFoundation/CFLocale.h>], [CFLocaleCopyCurrent();], 1680 [gt_cv_func_CFLocaleCopyCurrent=yes], 1681 [gt_cv_func_CFLocaleCopyCurrent=no]) 1682 LIBS="$gt_save_LIBS"]) 1683 if test $gt_cv_func_CFLocaleCopyCurrent = yes; then 1684 AC_DEFINE([HAVE_CFLOCALECOPYCURRENT], 1, 1685 [Define to 1 if you have the MacOS X function CFLocaleCopyCurrent in the CoreFoundation framework.]) 1686 fi 1687 INTL_MACOSX_LIBS= 1688 if test $gt_cv_func_CFPreferencesCopyAppValue = yes || test $gt_cv_func_CFLocaleCopyCurrent = yes; then 1689 INTL_MACOSX_LIBS="-Wl,-framework -Wl,CoreFoundation" 1690 fi 1691 AC_SUBST([INTL_MACOSX_LIBS]) 1692 ]) 1693 m4trace:m4/gettext.m4:412: -1- AC_DEFUN([AM_GNU_GETTEXT_NEED], [ 1694 m4_divert_text([INIT_PREPARE], [gt_needs="$gt_needs $1"]) 1695 ]) 1696 m4trace:m4/gettext.m4:419: -1- AC_DEFUN([AM_GNU_GETTEXT_VERSION], []) 1697 m4trace:m4/iconv.m4:9: -1- AC_DEFUN([AM_ICONV_LINKFLAGS_BODY], [ 1698 dnl Prerequisites of AC_LIB_LINKFLAGS_BODY. 1699 AC_REQUIRE([AC_LIB_PREPARE_PREFIX]) 1700 AC_REQUIRE([AC_LIB_RPATH]) 1701 1702 dnl Search for libiconv and define LIBICONV, LTLIBICONV and INCICONV 1703 dnl accordingly. 1704 AC_LIB_LINKFLAGS_BODY([iconv]) 1705 ]) 1706 m4trace:m4/iconv.m4:20: -1- AC_DEFUN([AM_ICONV_LINK], [ 1707 dnl Some systems have iconv in libc, some have it in libiconv (OSF/1 and 1708 dnl those with the standalone portable GNU libiconv installed). 1709 1710 dnl Search for libiconv and define LIBICONV, LTLIBICONV and INCICONV 1711 dnl accordingly. 1712 AC_REQUIRE([AM_ICONV_LINKFLAGS_BODY]) 1713 1714 dnl Add $INCICONV to CPPFLAGS before performing the following checks, 1715 dnl because if the user has installed libiconv and not disabled its use 1716 dnl via --without-libiconv-prefix, he wants to use it. The first 1717 dnl AC_TRY_LINK will then fail, the second AC_TRY_LINK will succeed. 1718 am_save_CPPFLAGS="$CPPFLAGS" 1719 AC_LIB_APPENDTOVAR([CPPFLAGS], [$INCICONV]) 1720 1721 AC_CACHE_CHECK(for iconv, am_cv_func_iconv, [ 1722 am_cv_func_iconv="no, consider installing GNU libiconv" 1723 am_cv_lib_iconv=no 1724 AC_TRY_LINK([#include <stdlib.h> 1725 #include <iconv.h>], 1726 [iconv_t cd = iconv_open("",""); 1727 iconv(cd,NULL,NULL,NULL,NULL); 1728 iconv_close(cd);], 1729 am_cv_func_iconv=yes) 1730 if test "$am_cv_func_iconv" != yes; then 1731 am_save_LIBS="$LIBS" 1732 LIBS="$LIBS $LIBICONV" 1733 AC_TRY_LINK([#include <stdlib.h> 1734 #include <iconv.h>], 1735 [iconv_t cd = iconv_open("",""); 1736 iconv(cd,NULL,NULL,NULL,NULL); 1737 iconv_close(cd);], 1738 am_cv_lib_iconv=yes 1739 am_cv_func_iconv=yes) 1740 LIBS="$am_save_LIBS" 1741 fi 1742 ]) 1743 if test "$am_cv_func_iconv" = yes; then 1744 AC_DEFINE(HAVE_ICONV, 1, [Define if you have the iconv() function.]) 1745 fi 1746 if test "$am_cv_lib_iconv" = yes; then 1747 AC_MSG_CHECKING([how to link with libiconv]) 1748 AC_MSG_RESULT([$LIBICONV]) 1749 else 1750 dnl If $LIBICONV didn't lead to a usable library, we don't need $INCICONV 1751 dnl either. 1752 CPPFLAGS="$am_save_CPPFLAGS" 1753 LIBICONV= 1754 LTLIBICONV= 1755 fi 1756 AC_SUBST(LIBICONV) 1757 AC_SUBST(LTLIBICONV) 1758 ]) 1759 m4trace:m4/iconv.m4:75: -1- AC_DEFUN([AM_ICONV], [ 1760 AM_ICONV_LINK 1761 if test "$am_cv_func_iconv" = yes; then 1762 AC_MSG_CHECKING([for iconv declaration]) 1763 AC_CACHE_VAL(am_cv_proto_iconv, [ 1764 AC_TRY_COMPILE([ 1765 #include <stdlib.h> 1766 #include <iconv.h> 1767 extern 1768 #ifdef __cplusplus 1769 "C" 1770 #endif 1771 #if defined(__STDC__) || defined(__cplusplus) 1772 size_t iconv (iconv_t cd, char * *inbuf, size_t *inbytesleft, char * *outbuf, size_t *outbytesleft); 1773 #else 1774 size_t iconv(); 1775 #endif 1776 ], [], am_cv_proto_iconv_arg1="", am_cv_proto_iconv_arg1="const") 1777 am_cv_proto_iconv="extern size_t iconv (iconv_t cd, $am_cv_proto_iconv_arg1 char * *inbuf, size_t *inbytesleft, char * *outbuf, size_t *outbytesleft);"]) 1778 am_cv_proto_iconv=`echo "[$]am_cv_proto_iconv" | tr -s ' ' | sed -e 's/( /(/'` 1779 AC_MSG_RESULT([$]{ac_t:- 1780 }[$]am_cv_proto_iconv) 1781 AC_DEFINE_UNQUOTED(ICONV_CONST, $am_cv_proto_iconv_arg1, 1782 [Define as const if the declaration of iconv() needs const.]) 1783 fi 1784 ]) 1785 m4trace:m4/lib-ld.m4:12: -1- AC_DEFUN([AC_LIB_PROG_LD_GNU], [AC_CACHE_CHECK([if the linker ($LD) is GNU ld], acl_cv_prog_gnu_ld, 1786 [# I'd rather use --version here, but apparently some GNU ld's only accept -v. 1787 case `$LD -v 2>&1 </dev/null` in 1788 *GNU* | *'with BFD'*) 1789 acl_cv_prog_gnu_ld=yes ;; 1790 *) 1791 acl_cv_prog_gnu_ld=no ;; 1792 esac]) 1793 with_gnu_ld=$acl_cv_prog_gnu_ld 1794 ]) 1795 m4trace:m4/lib-ld.m4:25: -1- AC_DEFUN([AC_LIB_PROG_LD], [AC_ARG_WITH(gnu-ld, 1796 [ --with-gnu-ld assume the C compiler uses GNU ld [default=no]], 1797 test "$withval" = no || with_gnu_ld=yes, with_gnu_ld=no) 1798 AC_REQUIRE([AC_PROG_CC])dnl 1799 AC_REQUIRE([AC_CANONICAL_HOST])dnl 1800 # Prepare PATH_SEPARATOR. 1801 # The user is always right. 1802 if test "${PATH_SEPARATOR+set}" != set; then 1803 echo "#! /bin/sh" >conf$$.sh 1804 echo "exit 0" >>conf$$.sh 1805 chmod +x conf$$.sh 1806 if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then 1807 PATH_SEPARATOR=';' 1808 else 1809 PATH_SEPARATOR=: 1810 fi 1811 rm -f conf$$.sh 1812 fi 1813 ac_prog=ld 1814 if test "$GCC" = yes; then 1815 # Check if gcc -print-prog-name=ld gives a path. 1816 AC_MSG_CHECKING([for ld used by GCC]) 1817 case $host in 1818 *-*-mingw*) 1819 # gcc leaves a trailing carriage return which upsets mingw 1820 ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;; 1821 *) 1822 ac_prog=`($CC -print-prog-name=ld) 2>&5` ;; 1823 esac 1824 case $ac_prog in 1825 # Accept absolute paths. 1826 [[\\/]* | [A-Za-z]:[\\/]*)] 1827 [re_direlt='/[^/][^/]*/\.\./'] 1828 # Canonicalize the path of ld 1829 ac_prog=`echo $ac_prog| sed 's%\\\\%/%g'` 1830 while echo $ac_prog | grep "$re_direlt" > /dev/null 2>&1; do 1831 ac_prog=`echo $ac_prog| sed "s%$re_direlt%/%"` 1832 done 1833 test -z "$LD" && LD="$ac_prog" 1834 ;; 1835 "") 1836 # If it fails, then pretend we aren't using GCC. 1837 ac_prog=ld 1838 ;; 1839 *) 1840 # If it is relative, then search for the first ld in PATH. 1841 with_gnu_ld=unknown 1842 ;; 1843 esac 1844 elif test "$with_gnu_ld" = yes; then 1845 AC_MSG_CHECKING([for GNU ld]) 1846 else 1847 AC_MSG_CHECKING([for non-GNU ld]) 1848 fi 1849 AC_CACHE_VAL(acl_cv_path_LD, 1850 [if test -z "$LD"; then 1851 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}${PATH_SEPARATOR-:}" 1852 for ac_dir in $PATH; do 1853 test -z "$ac_dir" && ac_dir=. 1854 if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then 1855 acl_cv_path_LD="$ac_dir/$ac_prog" 1856 # Check to see if the program is GNU ld. I'd rather use --version, 1857 # but apparently some GNU ld's only accept -v. 1858 # Break only if it was the GNU/non-GNU ld that we prefer. 1859 case `"$acl_cv_path_LD" -v 2>&1 < /dev/null` in 1860 *GNU* | *'with BFD'*) 1861 test "$with_gnu_ld" != no && break ;; 1862 *) 1863 test "$with_gnu_ld" != yes && break ;; 1864 esac 1865 fi 1866 done 1867 IFS="$ac_save_ifs" 1868 else 1869 acl_cv_path_LD="$LD" # Let the user override the test with a path. 1870 fi]) 1871 LD="$acl_cv_path_LD" 1872 if test -n "$LD"; then 1873 AC_MSG_RESULT($LD) 1874 else 1875 AC_MSG_RESULT(no) 1876 fi 1877 test -z "$LD" && AC_MSG_ERROR([no acceptable ld found in \$PATH]) 1878 AC_LIB_PROG_LD_GNU 1879 ]) 1880 m4trace:m4/lib-link.m4:15: -1- AC_DEFUN([AC_LIB_LINKFLAGS], [ 1881 AC_REQUIRE([AC_LIB_PREPARE_PREFIX]) 1882 AC_REQUIRE([AC_LIB_RPATH]) 1883 define([Name],[translit([$1],[./-], [___])]) 1884 define([NAME],[translit([$1],[abcdefghijklmnopqrstuvwxyz./-], 1885 [ABCDEFGHIJKLMNOPQRSTUVWXYZ___])]) 1886 AC_CACHE_CHECK([how to link with lib[]$1], [ac_cv_lib[]Name[]_libs], [ 1887 AC_LIB_LINKFLAGS_BODY([$1], [$2]) 1888 ac_cv_lib[]Name[]_libs="$LIB[]NAME" 1889 ac_cv_lib[]Name[]_ltlibs="$LTLIB[]NAME" 1890 ac_cv_lib[]Name[]_cppflags="$INC[]NAME" 1891 ]) 1892 LIB[]NAME="$ac_cv_lib[]Name[]_libs" 1893 LTLIB[]NAME="$ac_cv_lib[]Name[]_ltlibs" 1894 INC[]NAME="$ac_cv_lib[]Name[]_cppflags" 1895 AC_LIB_APPENDTOVAR([CPPFLAGS], [$INC]NAME) 1896 AC_SUBST([LIB]NAME) 1897 AC_SUBST([LTLIB]NAME) 1898 dnl Also set HAVE_LIB[]NAME so that AC_LIB_HAVE_LINKFLAGS can reuse the 1899 dnl results of this search when this library appears as a dependency. 1900 HAVE_LIB[]NAME=yes 1901 undefine([Name]) 1902 undefine([NAME]) 1903 ]) 1904 m4trace:m4/lib-link.m4:49: -1- AC_DEFUN([AC_LIB_HAVE_LINKFLAGS], [ 1905 AC_REQUIRE([AC_LIB_PREPARE_PREFIX]) 1906 AC_REQUIRE([AC_LIB_RPATH]) 1907 define([Name],[translit([$1],[./-], [___])]) 1908 define([NAME],[translit([$1],[abcdefghijklmnopqrstuvwxyz./-], 1909 [ABCDEFGHIJKLMNOPQRSTUVWXYZ___])]) 1910 1911 dnl Search for lib[]Name and define LIB[]NAME, LTLIB[]NAME and INC[]NAME 1912 dnl accordingly. 1913 AC_LIB_LINKFLAGS_BODY([$1], [$2]) 1914 1915 dnl Add $INC[]NAME to CPPFLAGS before performing the following checks, 1916 dnl because if the user has installed lib[]Name and not disabled its use 1917 dnl via --without-lib[]Name-prefix, he wants to use it. 1918 ac_save_CPPFLAGS="$CPPFLAGS" 1919 AC_LIB_APPENDTOVAR([CPPFLAGS], [$INC]NAME) 1920 1921 AC_CACHE_CHECK([for lib[]$1], [ac_cv_lib[]Name], [ 1922 ac_save_LIBS="$LIBS" 1923 LIBS="$LIBS $LIB[]NAME" 1924 AC_TRY_LINK([$3], [$4], [ac_cv_lib[]Name=yes], [ac_cv_lib[]Name=no]) 1925 LIBS="$ac_save_LIBS" 1926 ]) 1927 if test "$ac_cv_lib[]Name" = yes; then 1928 HAVE_LIB[]NAME=yes 1929 AC_DEFINE([HAVE_LIB]NAME, 1, [Define if you have the $1 library.]) 1930 AC_MSG_CHECKING([how to link with lib[]$1]) 1931 AC_MSG_RESULT([$LIB[]NAME]) 1932 else 1933 HAVE_LIB[]NAME=no 1934 dnl If $LIB[]NAME didn't lead to a usable library, we don't need 1935 dnl $INC[]NAME either. 1936 CPPFLAGS="$ac_save_CPPFLAGS" 1937 LIB[]NAME= 1938 LTLIB[]NAME= 1939 fi 1940 AC_SUBST([HAVE_LIB]NAME) 1941 AC_SUBST([LIB]NAME) 1942 AC_SUBST([LTLIB]NAME) 1943 undefine([Name]) 1944 undefine([NAME]) 1945 ]) 1946 m4trace:m4/lib-link.m4:96: -1- AC_DEFUN([AC_LIB_RPATH], [ 1947 dnl Tell automake >= 1.10 to complain if config.rpath is missing. 1948 m4_ifdef([AC_REQUIRE_AUX_FILE], [AC_REQUIRE_AUX_FILE([config.rpath])]) 1949 AC_REQUIRE([AC_PROG_CC]) dnl we use $CC, $GCC, $LDFLAGS 1950 AC_REQUIRE([AC_LIB_PROG_LD]) dnl we use $LD, $with_gnu_ld 1951 AC_REQUIRE([AC_CANONICAL_HOST]) dnl we use $host 1952 AC_REQUIRE([AC_CONFIG_AUX_DIR_DEFAULT]) dnl we use $ac_aux_dir 1953 AC_CACHE_CHECK([for shared library run path origin], acl_cv_rpath, [ 1954 CC="$CC" GCC="$GCC" LDFLAGS="$LDFLAGS" LD="$LD" with_gnu_ld="$with_gnu_ld" \ 1955 ${CONFIG_SHELL-/bin/sh} "$ac_aux_dir/config.rpath" "$host" > conftest.sh 1956 . ./conftest.sh 1957 rm -f ./conftest.sh 1958 acl_cv_rpath=done 1959 ]) 1960 wl="$acl_cv_wl" 1961 libext="$acl_cv_libext" 1962 shlibext="$acl_cv_shlibext" 1963 hardcode_libdir_flag_spec="$acl_cv_hardcode_libdir_flag_spec" 1964 hardcode_libdir_separator="$acl_cv_hardcode_libdir_separator" 1965 hardcode_direct="$acl_cv_hardcode_direct" 1966 hardcode_minus_L="$acl_cv_hardcode_minus_L" 1967 dnl Determine whether the user wants rpath handling at all. 1968 AC_ARG_ENABLE(rpath, 1969 [ --disable-rpath do not hardcode runtime library paths], 1970 :, enable_rpath=yes) 1971 ]) 1972 m4trace:m4/lib-link.m4:127: -1- AC_DEFUN([AC_LIB_LINKFLAGS_BODY], [ 1973 AC_REQUIRE([AC_LIB_PREPARE_MULTILIB]) 1974 define([NAME],[translit([$1],[abcdefghijklmnopqrstuvwxyz./-], 1975 [ABCDEFGHIJKLMNOPQRSTUVWXYZ___])]) 1976 dnl By default, look in $includedir and $libdir. 1977 use_additional=yes 1978 AC_LIB_WITH_FINAL_PREFIX([ 1979 eval additional_includedir=\"$includedir\" 1980 eval additional_libdir=\"$libdir\" 1981 ]) 1982 AC_LIB_ARG_WITH([lib$1-prefix], 1983 [ --with-lib$1-prefix[=DIR] search for lib$1 in DIR/include and DIR/lib 1984 --without-lib$1-prefix don't search for lib$1 in includedir and libdir], 1985 [ 1986 if test "X$withval" = "Xno"; then 1987 use_additional=no 1988 else 1989 if test "X$withval" = "X"; then 1990 AC_LIB_WITH_FINAL_PREFIX([ 1991 eval additional_includedir=\"$includedir\" 1992 eval additional_libdir=\"$libdir\" 1993 ]) 1994 else 1995 additional_includedir="$withval/include" 1996 additional_libdir="$withval/$acl_libdirstem" 1997 fi 1998 fi 1999 ]) 2000 dnl Search the library and its dependencies in $additional_libdir and 2001 dnl $LDFLAGS. Using breadth-first-seach. 2002 LIB[]NAME= 2003 LTLIB[]NAME= 2004 INC[]NAME= 2005 rpathdirs= 2006 ltrpathdirs= 2007 names_already_handled= 2008 names_next_round='$1 $2' 2009 while test -n "$names_next_round"; do 2010 names_this_round="$names_next_round" 2011 names_next_round= 2012 for name in $names_this_round; do 2013 already_handled= 2014 for n in $names_already_handled; do 2015 if test "$n" = "$name"; then 2016 already_handled=yes 2017 break 2018 fi 2019 done 2020 if test -z "$already_handled"; then 2021 names_already_handled="$names_already_handled $name" 2022 dnl See if it was already located by an earlier AC_LIB_LINKFLAGS 2023 dnl or AC_LIB_HAVE_LINKFLAGS call. 2024 uppername=`echo "$name" | sed -e 'y|abcdefghijklmnopqrstuvwxyz./-|ABCDEFGHIJKLMNOPQRSTUVWXYZ___|'` 2025 eval value=\"\$HAVE_LIB$uppername\" 2026 if test -n "$value"; then 2027 if test "$value" = yes; then 2028 eval value=\"\$LIB$uppername\" 2029 test -z "$value" || LIB[]NAME="${LIB[]NAME}${LIB[]NAME:+ }$value" 2030 eval value=\"\$LTLIB$uppername\" 2031 test -z "$value" || LTLIB[]NAME="${LTLIB[]NAME}${LTLIB[]NAME:+ }$value" 2032 else 2033 dnl An earlier call to AC_LIB_HAVE_LINKFLAGS has determined 2034 dnl that this library doesn't exist. So just drop it. 2035 : 2036 fi 2037 else 2038 dnl Search the library lib$name in $additional_libdir and $LDFLAGS 2039 dnl and the already constructed $LIBNAME/$LTLIBNAME. 2040 found_dir= 2041 found_la= 2042 found_so= 2043 found_a= 2044 if test $use_additional = yes; then 2045 if test -n "$shlibext" \ 2046 && { test -f "$additional_libdir/lib$name.$shlibext" \ 2047 || { test "$shlibext" = dll \ 2048 && test -f "$additional_libdir/lib$name.dll.a"; }; }; then 2049 found_dir="$additional_libdir" 2050 if test -f "$additional_libdir/lib$name.$shlibext"; then 2051 found_so="$additional_libdir/lib$name.$shlibext" 2052 else 2053 found_so="$additional_libdir/lib$name.dll.a" 2054 fi 2055 if test -f "$additional_libdir/lib$name.la"; then 2056 found_la="$additional_libdir/lib$name.la" 2057 fi 2058 else 2059 if test -f "$additional_libdir/lib$name.$libext"; then 2060 found_dir="$additional_libdir" 2061 found_a="$additional_libdir/lib$name.$libext" 2062 if test -f "$additional_libdir/lib$name.la"; then 2063 found_la="$additional_libdir/lib$name.la" 2064 fi 2065 fi 2066 fi 2067 fi 2068 if test "X$found_dir" = "X"; then 2069 for x in $LDFLAGS $LTLIB[]NAME; do 2070 AC_LIB_WITH_FINAL_PREFIX([eval x=\"$x\"]) 2071 case "$x" in 2072 -L*) 2073 dir=`echo "X$x" | sed -e 's/^X-L//'` 2074 if test -n "$shlibext" \ 2075 && { test -f "$dir/lib$name.$shlibext" \ 2076 || { test "$shlibext" = dll \ 2077 && test -f "$dir/lib$name.dll.a"; }; }; then 2078 found_dir="$dir" 2079 if test -f "$dir/lib$name.$shlibext"; then 2080 found_so="$dir/lib$name.$shlibext" 2081 else 2082 found_so="$dir/lib$name.dll.a" 2083 fi 2084 if test -f "$dir/lib$name.la"; then 2085 found_la="$dir/lib$name.la" 2086 fi 2087 else 2088 if test -f "$dir/lib$name.$libext"; then 2089 found_dir="$dir" 2090 found_a="$dir/lib$name.$libext" 2091 if test -f "$dir/lib$name.la"; then 2092 found_la="$dir/lib$name.la" 2093 fi 2094 fi 2095 fi 2096 ;; 2097 esac 2098 if test "X$found_dir" != "X"; then 2099 break 2100 fi 2101 done 2102 fi 2103 if test "X$found_dir" != "X"; then 2104 dnl Found the library. 2105 LTLIB[]NAME="${LTLIB[]NAME}${LTLIB[]NAME:+ }-L$found_dir -l$name" 2106 if test "X$found_so" != "X"; then 2107 dnl Linking with a shared library. We attempt to hardcode its 2108 dnl directory into the executable's runpath, unless it's the 2109 dnl standard /usr/lib. 2110 if test "$enable_rpath" = no || test "X$found_dir" = "X/usr/$acl_libdirstem"; then 2111 dnl No hardcoding is needed. 2112 LIB[]NAME="${LIB[]NAME}${LIB[]NAME:+ }$found_so" 2113 else 2114 dnl Use an explicit option to hardcode DIR into the resulting 2115 dnl binary. 2116 dnl Potentially add DIR to ltrpathdirs. 2117 dnl The ltrpathdirs will be appended to $LTLIBNAME at the end. 2118 haveit= 2119 for x in $ltrpathdirs; do 2120 if test "X$x" = "X$found_dir"; then 2121 haveit=yes 2122 break 2123 fi 2124 done 2125 if test -z "$haveit"; then 2126 ltrpathdirs="$ltrpathdirs $found_dir" 2127 fi 2128 dnl The hardcoding into $LIBNAME is system dependent. 2129 if test "$hardcode_direct" = yes; then 2130 dnl Using DIR/libNAME.so during linking hardcodes DIR into the 2131 dnl resulting binary. 2132 LIB[]NAME="${LIB[]NAME}${LIB[]NAME:+ }$found_so" 2133 else 2134 if test -n "$hardcode_libdir_flag_spec" && test "$hardcode_minus_L" = no; then 2135 dnl Use an explicit option to hardcode DIR into the resulting 2136 dnl binary. 2137 LIB[]NAME="${LIB[]NAME}${LIB[]NAME:+ }$found_so" 2138 dnl Potentially add DIR to rpathdirs. 2139 dnl The rpathdirs will be appended to $LIBNAME at the end. 2140 haveit= 2141 for x in $rpathdirs; do 2142 if test "X$x" = "X$found_dir"; then 2143 haveit=yes 2144 break 2145 fi 2146 done 2147 if test -z "$haveit"; then 2148 rpathdirs="$rpathdirs $found_dir" 2149 fi 2150 else 2151 dnl Rely on "-L$found_dir". 2152 dnl But don't add it if it's already contained in the LDFLAGS 2153 dnl or the already constructed $LIBNAME 2154 haveit= 2155 for x in $LDFLAGS $LIB[]NAME; do 2156 AC_LIB_WITH_FINAL_PREFIX([eval x=\"$x\"]) 2157 if test "X$x" = "X-L$found_dir"; then 2158 haveit=yes 2159 break 2160 fi 2161 done 2162 if test -z "$haveit"; then 2163 LIB[]NAME="${LIB[]NAME}${LIB[]NAME:+ }-L$found_dir" 2164 fi 2165 if test "$hardcode_minus_L" != no; then 2166 dnl FIXME: Not sure whether we should use 2167 dnl "-L$found_dir -l$name" or "-L$found_dir $found_so" 2168 dnl here. 2169 LIB[]NAME="${LIB[]NAME}${LIB[]NAME:+ }$found_so" 2170 else 2171 dnl We cannot use $hardcode_runpath_var and LD_RUN_PATH 2172 dnl here, because this doesn't fit in flags passed to the 2173 dnl compiler. So give up. No hardcoding. This affects only 2174 dnl very old systems. 2175 dnl FIXME: Not sure whether we should use 2176 dnl "-L$found_dir -l$name" or "-L$found_dir $found_so" 2177 dnl here. 2178 LIB[]NAME="${LIB[]NAME}${LIB[]NAME:+ }-l$name" 2179 fi 2180 fi 2181 fi 2182 fi 2183 else 2184 if test "X$found_a" != "X"; then 2185 dnl Linking with a static library. 2186 LIB[]NAME="${LIB[]NAME}${LIB[]NAME:+ }$found_a" 2187 else 2188 dnl We shouldn't come here, but anyway it's good to have a 2189 dnl fallback. 2190 LIB[]NAME="${LIB[]NAME}${LIB[]NAME:+ }-L$found_dir -l$name" 2191 fi 2192 fi 2193 dnl Assume the include files are nearby. 2194 additional_includedir= 2195 case "$found_dir" in 2196 */$acl_libdirstem | */$acl_libdirstem/) 2197 basedir=`echo "X$found_dir" | sed -e 's,^X,,' -e "s,/$acl_libdirstem/"'*$,,'` 2198 additional_includedir="$basedir/include" 2199 ;; 2200 esac 2201 if test "X$additional_includedir" != "X"; then 2202 dnl Potentially add $additional_includedir to $INCNAME. 2203 dnl But don't add it 2204 dnl 1. if it's the standard /usr/include, 2205 dnl 2. if it's /usr/local/include and we are using GCC on Linux, 2206 dnl 3. if it's already present in $CPPFLAGS or the already 2207 dnl constructed $INCNAME, 2208 dnl 4. if it doesn't exist as a directory. 2209 if test "X$additional_includedir" != "X/usr/include"; then 2210 haveit= 2211 if test "X$additional_includedir" = "X/usr/local/include"; then 2212 if test -n "$GCC"; then 2213 case $host_os in 2214 linux* | gnu* | k*bsd*-gnu) haveit=yes;; 2215 esac 2216 fi 2217 fi 2218 if test -z "$haveit"; then 2219 for x in $CPPFLAGS $INC[]NAME; do 2220 AC_LIB_WITH_FINAL_PREFIX([eval x=\"$x\"]) 2221 if test "X$x" = "X-I$additional_includedir"; then 2222 haveit=yes 2223 break 2224 fi 2225 done 2226 if test -z "$haveit"; then 2227 if test -d "$additional_includedir"; then 2228 dnl Really add $additional_includedir to $INCNAME. 2229 INC[]NAME="${INC[]NAME}${INC[]NAME:+ }-I$additional_includedir" 2230 fi 2231 fi 2232 fi 2233 fi 2234 fi 2235 dnl Look for dependencies. 2236 if test -n "$found_la"; then 2237 dnl Read the .la file. It defines the variables 2238 dnl dlname, library_names, old_library, dependency_libs, current, 2239 dnl age, revision, installed, dlopen, dlpreopen, libdir. 2240 save_libdir="$libdir" 2241 case "$found_la" in 2242 */* | *\\*) . "$found_la" ;; 2243 *) . "./$found_la" ;; 2244 esac 2245 libdir="$save_libdir" 2246 dnl We use only dependency_libs. 2247 for dep in $dependency_libs; do 2248 case "$dep" in 2249 -L*) 2250 additional_libdir=`echo "X$dep" | sed -e 's/^X-L//'` 2251 dnl Potentially add $additional_libdir to $LIBNAME and $LTLIBNAME. 2252 dnl But don't add it 2253 dnl 1. if it's the standard /usr/lib, 2254 dnl 2. if it's /usr/local/lib and we are using GCC on Linux, 2255 dnl 3. if it's already present in $LDFLAGS or the already 2256 dnl constructed $LIBNAME, 2257 dnl 4. if it doesn't exist as a directory. 2258 if test "X$additional_libdir" != "X/usr/$acl_libdirstem"; then 2259 haveit= 2260 if test "X$additional_libdir" = "X/usr/local/$acl_libdirstem"; then 2261 if test -n "$GCC"; then 2262 case $host_os in 2263 linux* | gnu* | k*bsd*-gnu) haveit=yes;; 2264 esac 2265 fi 2266 fi 2267 if test -z "$haveit"; then 2268 haveit= 2269 for x in $LDFLAGS $LIB[]NAME; do 2270 AC_LIB_WITH_FINAL_PREFIX([eval x=\"$x\"]) 2271 if test "X$x" = "X-L$additional_libdir"; then 2272 haveit=yes 2273 break 2274 fi 2275 done 2276 if test -z "$haveit"; then 2277 if test -d "$additional_libdir"; then 2278 dnl Really add $additional_libdir to $LIBNAME. 2279 LIB[]NAME="${LIB[]NAME}${LIB[]NAME:+ }-L$additional_libdir" 2280 fi 2281 fi 2282 haveit= 2283 for x in $LDFLAGS $LTLIB[]NAME; do 2284 AC_LIB_WITH_FINAL_PREFIX([eval x=\"$x\"]) 2285 if test "X$x" = "X-L$additional_libdir"; then 2286 haveit=yes 2287 break 2288 fi 2289 done 2290 if test -z "$haveit"; then 2291 if test -d "$additional_libdir"; then 2292 dnl Really add $additional_libdir to $LTLIBNAME. 2293 LTLIB[]NAME="${LTLIB[]NAME}${LTLIB[]NAME:+ }-L$additional_libdir" 2294 fi 2295 fi 2296 fi 2297 fi 2298 ;; 2299 -R*) 2300 dir=`echo "X$dep" | sed -e 's/^X-R//'` 2301 if test "$enable_rpath" != no; then 2302 dnl Potentially add DIR to rpathdirs. 2303 dnl The rpathdirs will be appended to $LIBNAME at the end. 2304 haveit= 2305 for x in $rpathdirs; do 2306 if test "X$x" = "X$dir"; then 2307 haveit=yes 2308 break 2309 fi 2310 done 2311 if test -z "$haveit"; then 2312 rpathdirs="$rpathdirs $dir" 2313 fi 2314 dnl Potentially add DIR to ltrpathdirs. 2315 dnl The ltrpathdirs will be appended to $LTLIBNAME at the end. 2316 haveit= 2317 for x in $ltrpathdirs; do 2318 if test "X$x" = "X$dir"; then 2319 haveit=yes 2320 break 2321 fi 2322 done 2323 if test -z "$haveit"; then 2324 ltrpathdirs="$ltrpathdirs $dir" 2325 fi 2326 fi 2327 ;; 2328 -l*) 2329 dnl Handle this in the next round. 2330 names_next_round="$names_next_round "`echo "X$dep" | sed -e 's/^X-l//'` 2331 ;; 2332 *.la) 2333 dnl Handle this in the next round. Throw away the .la's 2334 dnl directory; it is already contained in a preceding -L 2335 dnl option. 2336 names_next_round="$names_next_round "`echo "X$dep" | sed -e 's,^X.*/,,' -e 's,^lib,,' -e 's,\.la$,,'` 2337 ;; 2338 *) 2339 dnl Most likely an immediate library name. 2340 LIB[]NAME="${LIB[]NAME}${LIB[]NAME:+ }$dep" 2341 LTLIB[]NAME="${LTLIB[]NAME}${LTLIB[]NAME:+ }$dep" 2342 ;; 2343 esac 2344 done 2345 fi 2346 else 2347 dnl Didn't find the library; assume it is in the system directories 2348 dnl known to the linker and runtime loader. (All the system 2349 dnl directories known to the linker should also be known to the 2350 dnl runtime loader, otherwise the system is severely misconfigured.) 2351 LIB[]NAME="${LIB[]NAME}${LIB[]NAME:+ }-l$name" 2352 LTLIB[]NAME="${LTLIB[]NAME}${LTLIB[]NAME:+ }-l$name" 2353 fi 2354 fi 2355 fi 2356 done 2357 done 2358 if test "X$rpathdirs" != "X"; then 2359 if test -n "$hardcode_libdir_separator"; then 2360 dnl Weird platform: only the last -rpath option counts, the user must 2361 dnl pass all path elements in one option. We can arrange that for a 2362 dnl single library, but not when more than one $LIBNAMEs are used. 2363 alldirs= 2364 for found_dir in $rpathdirs; do 2365 alldirs="${alldirs}${alldirs:+$hardcode_libdir_separator}$found_dir" 2366 done 2367 dnl Note: hardcode_libdir_flag_spec uses $libdir and $wl. 2368 acl_save_libdir="$libdir" 2369 libdir="$alldirs" 2370 eval flag=\"$hardcode_libdir_flag_spec\" 2371 libdir="$acl_save_libdir" 2372 LIB[]NAME="${LIB[]NAME}${LIB[]NAME:+ }$flag" 2373 else 2374 dnl The -rpath options are cumulative. 2375 for found_dir in $rpathdirs; do 2376 acl_save_libdir="$libdir" 2377 libdir="$found_dir" 2378 eval flag=\"$hardcode_libdir_flag_spec\" 2379 libdir="$acl_save_libdir" 2380 LIB[]NAME="${LIB[]NAME}${LIB[]NAME:+ }$flag" 2381 done 2382 fi 2383 fi 2384 if test "X$ltrpathdirs" != "X"; then 2385 dnl When using libtool, the option that works for both libraries and 2386 dnl executables is -R. The -R options are cumulative. 2387 for found_dir in $ltrpathdirs; do 2388 LTLIB[]NAME="${LTLIB[]NAME}${LTLIB[]NAME:+ }-R$found_dir" 2389 done 2390 fi 2391 ]) 2392 m4trace:m4/lib-link.m4:553: -1- AC_DEFUN([AC_LIB_APPENDTOVAR], [ 2393 for element in [$2]; do 2394 haveit= 2395 for x in $[$1]; do 2396 AC_LIB_WITH_FINAL_PREFIX([eval x=\"$x\"]) 2397 if test "X$x" = "X$element"; then 2398 haveit=yes 2399 break 2400 fi 2401 done 2402 if test -z "$haveit"; then 2403 [$1]="${[$1]}${[$1]:+ }$element" 2404 fi 2405 done 2406 ]) 2407 m4trace:m4/lib-link.m4:577: -1- AC_DEFUN([AC_LIB_LINKFLAGS_FROM_LIBS], [ 2408 AC_REQUIRE([AC_LIB_RPATH]) 2409 AC_REQUIRE([AC_LIB_PREPARE_MULTILIB]) 2410 $1= 2411 if test "$enable_rpath" != no; then 2412 if test -n "$hardcode_libdir_flag_spec" && test "$hardcode_minus_L" = no; then 2413 dnl Use an explicit option to hardcode directories into the resulting 2414 dnl binary. 2415 rpathdirs= 2416 next= 2417 for opt in $2; do 2418 if test -n "$next"; then 2419 dir="$next" 2420 dnl No need to hardcode the standard /usr/lib. 2421 if test "X$dir" != "X/usr/$acl_libdirstem"; then 2422 rpathdirs="$rpathdirs $dir" 2423 fi 2424 next= 2425 else 2426 case $opt in 2427 -L) next=yes ;; 2428 -L*) dir=`echo "X$opt" | sed -e 's,^X-L,,'` 2429 dnl No need to hardcode the standard /usr/lib. 2430 if test "X$dir" != "X/usr/$acl_libdirstem"; then 2431 rpathdirs="$rpathdirs $dir" 2432 fi 2433 next= ;; 2434 *) next= ;; 2435 esac 2436 fi 2437 done 2438 if test "X$rpathdirs" != "X"; then 2439 if test -n ""$3""; then 2440 dnl libtool is used for linking. Use -R options. 2441 for dir in $rpathdirs; do 2442 $1="${$1}${$1:+ }-R$dir" 2443 done 2444 else 2445 dnl The linker is used for linking directly. 2446 if test -n "$hardcode_libdir_separator"; then 2447 dnl Weird platform: only the last -rpath option counts, the user 2448 dnl must pass all path elements in one option. 2449 alldirs= 2450 for dir in $rpathdirs; do 2451 alldirs="${alldirs}${alldirs:+$hardcode_libdir_separator}$dir" 2452 done 2453 acl_save_libdir="$libdir" 2454 libdir="$alldirs" 2455 eval flag=\"$hardcode_libdir_flag_spec\" 2456 libdir="$acl_save_libdir" 2457 $1="$flag" 2458 else 2459 dnl The -rpath options are cumulative. 2460 for dir in $rpathdirs; do 2461 acl_save_libdir="$libdir" 2462 libdir="$dir" 2463 eval flag=\"$hardcode_libdir_flag_spec\" 2464 libdir="$acl_save_libdir" 2465 $1="${$1}${$1:+ }$flag" 2466 done 2467 fi 2468 fi 2469 fi 2470 fi 2471 fi 2472 AC_SUBST([$1]) 2473 ]) 2474 m4trace:m4/lib-prefix.m4:12: -1- AC_DEFUN([AC_LIB_ARG_WITH], [AC_ARG_WITH([$1],[[$2]],[$3],[$4])]) 2475 m4trace:m4/lib-prefix.m4:22: -1- AC_DEFUN([AC_LIB_PREFIX], [ 2476 AC_BEFORE([$0], [AC_LIB_LINKFLAGS]) 2477 AC_REQUIRE([AC_PROG_CC]) 2478 AC_REQUIRE([AC_CANONICAL_HOST]) 2479 AC_REQUIRE([AC_LIB_PREPARE_MULTILIB]) 2480 AC_REQUIRE([AC_LIB_PREPARE_PREFIX]) 2481 dnl By default, look in $includedir and $libdir. 2482 use_additional=yes 2483 AC_LIB_WITH_FINAL_PREFIX([ 2484 eval additional_includedir=\"$includedir\" 2485 eval additional_libdir=\"$libdir\" 2486 ]) 2487 AC_LIB_ARG_WITH([lib-prefix], 2488 [ --with-lib-prefix[=DIR] search for libraries in DIR/include and DIR/lib 2489 --without-lib-prefix don't search for libraries in includedir and libdir], 2490 [ 2491 if test "X$withval" = "Xno"; then 2492 use_additional=no 2493 else 2494 if test "X$withval" = "X"; then 2495 AC_LIB_WITH_FINAL_PREFIX([ 2496 eval additional_includedir=\"$includedir\" 2497 eval additional_libdir=\"$libdir\" 2498 ]) 2499 else 2500 additional_includedir="$withval/include" 2501 additional_libdir="$withval/$acl_libdirstem" 2502 fi 2503 fi 2504 ]) 2505 if test $use_additional = yes; then 2506 dnl Potentially add $additional_includedir to $CPPFLAGS. 2507 dnl But don't add it 2508 dnl 1. if it's the standard /usr/include, 2509 dnl 2. if it's already present in $CPPFLAGS, 2510 dnl 3. if it's /usr/local/include and we are using GCC on Linux, 2511 dnl 4. if it doesn't exist as a directory. 2512 if test "X$additional_includedir" != "X/usr/include"; then 2513 haveit= 2514 for x in $CPPFLAGS; do 2515 AC_LIB_WITH_FINAL_PREFIX([eval x=\"$x\"]) 2516 if test "X$x" = "X-I$additional_includedir"; then 2517 haveit=yes 2518 break 2519 fi 2520 done 2521 if test -z "$haveit"; then 2522 if test "X$additional_includedir" = "X/usr/local/include"; then 2523 if test -n "$GCC"; then 2524 case $host_os in 2525 linux* | gnu* | k*bsd*-gnu) haveit=yes;; 2526 esac 2527 fi 2528 fi 2529 if test -z "$haveit"; then 2530 if test -d "$additional_includedir"; then 2531 dnl Really add $additional_includedir to $CPPFLAGS. 2532 CPPFLAGS="${CPPFLAGS}${CPPFLAGS:+ }-I$additional_includedir" 2533 fi 2534 fi 2535 fi 2536 fi 2537 dnl Potentially add $additional_libdir to $LDFLAGS. 2538 dnl But don't add it 2539 dnl 1. if it's the standard /usr/lib, 2540 dnl 2. if it's already present in $LDFLAGS, 2541 dnl 3. if it's /usr/local/lib and we are using GCC on Linux, 2542 dnl 4. if it doesn't exist as a directory. 2543 if test "X$additional_libdir" != "X/usr/$acl_libdirstem"; then 2544 haveit= 2545 for x in $LDFLAGS; do 2546 AC_LIB_WITH_FINAL_PREFIX([eval x=\"$x\"]) 2547 if test "X$x" = "X-L$additional_libdir"; then 2548 haveit=yes 2549 break 2550 fi 2551 done 2552 if test -z "$haveit"; then 2553 if test "X$additional_libdir" = "X/usr/local/$acl_libdirstem"; then 2554 if test -n "$GCC"; then 2555 case $host_os in 2556 linux*) haveit=yes;; 2557 esac 2558 fi 2559 fi 2560 if test -z "$haveit"; then 2561 if test -d "$additional_libdir"; then 2562 dnl Really add $additional_libdir to $LDFLAGS. 2563 LDFLAGS="${LDFLAGS}${LDFLAGS:+ }-L$additional_libdir" 2564 fi 2565 fi 2566 fi 2567 fi 2568 fi 2569 ]) 2570 m4trace:m4/lib-prefix.m4:122: -1- AC_DEFUN([AC_LIB_PREPARE_PREFIX], [ 2571 dnl Unfortunately, prefix and exec_prefix get only finally determined 2572 dnl at the end of configure. 2573 if test "X$prefix" = "XNONE"; then 2574 acl_final_prefix="$ac_default_prefix" 2575 else 2576 acl_final_prefix="$prefix" 2577 fi 2578 if test "X$exec_prefix" = "XNONE"; then 2579 acl_final_exec_prefix='${prefix}' 2580 else 2581 acl_final_exec_prefix="$exec_prefix" 2582 fi 2583 acl_save_prefix="$prefix" 2584 prefix="$acl_final_prefix" 2585 eval acl_final_exec_prefix=\"$acl_final_exec_prefix\" 2586 prefix="$acl_save_prefix" 2587 ]) 2588 m4trace:m4/lib-prefix.m4:145: -1- AC_DEFUN([AC_LIB_WITH_FINAL_PREFIX], [ 2589 acl_save_prefix="$prefix" 2590 prefix="$acl_final_prefix" 2591 acl_save_exec_prefix="$exec_prefix" 2592 exec_prefix="$acl_final_exec_prefix" 2593 $1 2594 exec_prefix="$acl_save_exec_prefix" 2595 prefix="$acl_save_prefix" 2596 ]) 2597 m4trace:m4/lib-prefix.m4:158: -1- AC_DEFUN([AC_LIB_PREPARE_MULTILIB], [ 2598 dnl There is no formal standard regarding lib and lib64. The current 2599 dnl practice is that on a system supporting 32-bit and 64-bit instruction 2600 dnl sets or ABIs, 64-bit libraries go under $prefix/lib64 and 32-bit 2601 dnl libraries go under $prefix/lib. We determine the compiler's default 2602 dnl mode by looking at the compiler's library search path. If at least 2603 dnl of its elements ends in /lib64 or points to a directory whose absolute 2604 dnl pathname ends in /lib64, we assume a 64-bit ABI. Otherwise we use the 2605 dnl default, namely "lib". 2606 acl_libdirstem=lib 2607 searchpath=`(LC_ALL=C $CC -print-search-dirs) 2>/dev/null | sed -n -e 's,^libraries: ,,p' | sed -e 's,^=,,'` 2608 if test -n "$searchpath"; then 2609 acl_save_IFS="${IFS= }"; IFS=":" 2610 for searchdir in $searchpath; do 2611 if test -d "$searchdir"; then 2612 case "$searchdir" in 2613 */lib64/ | */lib64 ) acl_libdirstem=lib64 ;; 2614 *) searchdir=`cd "$searchdir" && pwd` 2615 case "$searchdir" in 2616 */lib64 ) acl_libdirstem=lib64 ;; 2617 esac ;; 2618 esac 2619 fi 2620 done 2621 IFS="$acl_save_IFS" 2622 fi 2623 ]) 2624 m4trace:m4/nls.m4:22: -1- AC_DEFUN([AM_NLS], [ 2625 AC_MSG_CHECKING([whether NLS is requested]) 2626 dnl Default is enabled NLS 2627 AC_ARG_ENABLE(nls, 2628 [ --disable-nls do not use Native Language Support], 2629 USE_NLS=$enableval, USE_NLS=yes) 2630 AC_MSG_RESULT($USE_NLS) 2631 AC_SUBST(USE_NLS) 2632 ]) 2633 m4trace:m4/po.m4:23: -1- AC_DEFUN([AM_PO_SUBDIRS], [ 2634 AC_REQUIRE([AC_PROG_MAKE_SET])dnl 2635 AC_REQUIRE([AC_PROG_INSTALL])dnl 2636 AC_REQUIRE([AM_PROG_MKDIR_P])dnl defined by automake 2637 AC_REQUIRE([AM_NLS])dnl 2638 2639 dnl Perform the following tests also if --disable-nls has been given, 2640 dnl because they are needed for "make dist" to work. 2641 2642 dnl Search for GNU msgfmt in the PATH. 2643 dnl The first test excludes Solaris msgfmt and early GNU msgfmt versions. 2644 dnl The second test excludes FreeBSD msgfmt. 2645 AM_PATH_PROG_WITH_TEST(MSGFMT, msgfmt, 2646 [$ac_dir/$ac_word --statistics /dev/null >&]AS_MESSAGE_LOG_FD[ 2>&1 && 2647 (if $ac_dir/$ac_word --statistics /dev/null 2>&1 >/dev/null | grep usage >/dev/null; then exit 1; else exit 0; fi)], 2648 :) 2649 AC_PATH_PROG(GMSGFMT, gmsgfmt, $MSGFMT) 2650 2651 dnl Test whether it is GNU msgfmt >= 0.15. 2652 changequote(,)dnl 2653 case `$MSGFMT --version | sed 1q | sed -e 's,^[^0-9]*,,'` in 2654 '' | 0.[0-9] | 0.[0-9].* | 0.1[0-4] | 0.1[0-4].*) MSGFMT_015=: ;; 2655 *) MSGFMT_015=$MSGFMT ;; 2656 esac 2657 changequote([,])dnl 2658 AC_SUBST([MSGFMT_015]) 2659 changequote(,)dnl 2660 case `$GMSGFMT --version | sed 1q | sed -e 's,^[^0-9]*,,'` in 2661 '' | 0.[0-9] | 0.[0-9].* | 0.1[0-4] | 0.1[0-4].*) GMSGFMT_015=: ;; 2662 *) GMSGFMT_015=$GMSGFMT ;; 2663 esac 2664 changequote([,])dnl 2665 AC_SUBST([GMSGFMT_015]) 2666 2667 dnl Search for GNU xgettext 0.12 or newer in the PATH. 2668 dnl The first test excludes Solaris xgettext and early GNU xgettext versions. 2669 dnl The second test excludes FreeBSD xgettext. 2670 AM_PATH_PROG_WITH_TEST(XGETTEXT, xgettext, 2671 [$ac_dir/$ac_word --omit-header --copyright-holder= --msgid-bugs-address= /dev/null >&]AS_MESSAGE_LOG_FD[ 2>&1 && 2672 (if $ac_dir/$ac_word --omit-header --copyright-holder= --msgid-bugs-address= /dev/null 2>&1 >/dev/null | grep usage >/dev/null; then exit 1; else exit 0; fi)], 2673 :) 2674 dnl Remove leftover from FreeBSD xgettext call. 2675 rm -f messages.po 2676 2677 dnl Test whether it is GNU xgettext >= 0.15. 2678 changequote(,)dnl 2679 case `$XGETTEXT --version | sed 1q | sed -e 's,^[^0-9]*,,'` in 2680 '' | 0.[0-9] | 0.[0-9].* | 0.1[0-4] | 0.1[0-4].*) XGETTEXT_015=: ;; 2681 *) XGETTEXT_015=$XGETTEXT ;; 2682 esac 2683 changequote([,])dnl 2684 AC_SUBST([XGETTEXT_015]) 2685 2686 dnl Search for GNU msgmerge 0.11 or newer in the PATH. 2687 AM_PATH_PROG_WITH_TEST(MSGMERGE, msgmerge, 2688 [$ac_dir/$ac_word --update -q /dev/null /dev/null >&]AS_MESSAGE_LOG_FD[ 2>&1], :) 2689 2690 dnl Installation directories. 2691 dnl Autoconf >= 2.60 defines localedir. For older versions of autoconf, we 2692 dnl have to define it here, so that it can be used in po/Makefile. 2693 test -n "$localedir" || localedir='${datadir}/locale' 2694 AC_SUBST([localedir]) 2695 2696 AC_CONFIG_COMMANDS([po-directories], [[ 2697 for ac_file in $CONFIG_FILES; do 2698 # Support "outfile[:infile[:infile...]]" 2699 case "$ac_file" in 2700 *:*) ac_file=`echo "$ac_file"|sed 's%:.*%%'` ;; 2701 esac 2702 # PO directories have a Makefile.in generated from Makefile.in.in. 2703 case "$ac_file" in */Makefile.in) 2704 # Adjust a relative srcdir. 2705 ac_dir=`echo "$ac_file"|sed 's%/[^/][^/]*$%%'` 2706 ac_dir_suffix="/`echo "$ac_dir"|sed 's%^\./%%'`" 2707 ac_dots=`echo "$ac_dir_suffix"|sed 's%/[^/]*%../%g'` 2708 # In autoconf-2.13 it is called $ac_given_srcdir. 2709 # In autoconf-2.50 it is called $srcdir. 2710 test -n "$ac_given_srcdir" || ac_given_srcdir="$srcdir" 2711 case "$ac_given_srcdir" in 2712 .) top_srcdir=`echo $ac_dots|sed 's%/$%%'` ;; 2713 /*) top_srcdir="$ac_given_srcdir" ;; 2714 *) top_srcdir="$ac_dots$ac_given_srcdir" ;; 2715 esac 2716 # Treat a directory as a PO directory if and only if it has a 2717 # POTFILES.in file. This allows packages to have multiple PO 2718 # directories under different names or in different locations. 2719 if test -f "$ac_given_srcdir/$ac_dir/POTFILES.in"; then 2720 rm -f "$ac_dir/POTFILES" 2721 test -n "$as_me" && echo "$as_me: creating $ac_dir/POTFILES" || echo "creating $ac_dir/POTFILES" 2722 cat "$ac_given_srcdir/$ac_dir/POTFILES.in" | sed -e "/^#/d" -e "/^[ ]*\$/d" -e "s,.*, $top_srcdir/& \\\\," | sed -e "\$s/\(.*\) \\\\/\1/" > "$ac_dir/POTFILES" 2723 POMAKEFILEDEPS="POTFILES.in" 2724 # ALL_LINGUAS, POFILES, UPDATEPOFILES, DUMMYPOFILES, GMOFILES depend 2725 # on $ac_dir but don't depend on user-specified configuration 2726 # parameters. 2727 if test -f "$ac_given_srcdir/$ac_dir/LINGUAS"; then 2728 # The LINGUAS file contains the set of available languages. 2729 if test -n "$OBSOLETE_ALL_LINGUAS"; then 2730 test -n "$as_me" && echo "$as_me: setting ALL_LINGUAS in configure.in is obsolete" || echo "setting ALL_LINGUAS in configure.in is obsolete" 2731 fi 2732 ALL_LINGUAS_=`sed -e "/^#/d" -e "s/#.*//" "$ac_given_srcdir/$ac_dir/LINGUAS"` 2733 # Hide the ALL_LINGUAS assigment from automake < 1.5. 2734 eval 'ALL_LINGUAS''=$ALL_LINGUAS_' 2735 POMAKEFILEDEPS="$POMAKEFILEDEPS LINGUAS" 2736 else 2737 # The set of available languages was given in configure.in. 2738 # Hide the ALL_LINGUAS assigment from automake < 1.5. 2739 eval 'ALL_LINGUAS''=$OBSOLETE_ALL_LINGUAS' 2740 fi 2741 # Compute POFILES 2742 # as $(foreach lang, $(ALL_LINGUAS), $(srcdir)/$(lang).po) 2743 # Compute UPDATEPOFILES 2744 # as $(foreach lang, $(ALL_LINGUAS), $(lang).po-update) 2745 # Compute DUMMYPOFILES 2746 # as $(foreach lang, $(ALL_LINGUAS), $(lang).nop) 2747 # Compute GMOFILES 2748 # as $(foreach lang, $(ALL_LINGUAS), $(srcdir)/$(lang).gmo) 2749 case "$ac_given_srcdir" in 2750 .) srcdirpre= ;; 2751 *) srcdirpre='$(srcdir)/' ;; 2752 esac 2753 POFILES= 2754 UPDATEPOFILES= 2755 DUMMYPOFILES= 2756 GMOFILES= 2757 for lang in $ALL_LINGUAS; do 2758 POFILES="$POFILES $srcdirpre$lang.po" 2759 UPDATEPOFILES="$UPDATEPOFILES $lang.po-update" 2760 DUMMYPOFILES="$DUMMYPOFILES $lang.nop" 2761 GMOFILES="$GMOFILES $srcdirpre$lang.gmo" 2762 done 2763 # CATALOGS depends on both $ac_dir and the user's LINGUAS 2764 # environment variable. 2765 INST_LINGUAS= 2766 if test -n "$ALL_LINGUAS"; then 2767 for presentlang in $ALL_LINGUAS; do 2768 useit=no 2769 if test "%UNSET%" != "$LINGUAS"; then 2770 desiredlanguages="$LINGUAS" 2771 else 2772 desiredlanguages="$ALL_LINGUAS" 2773 fi 2774 for desiredlang in $desiredlanguages; do 2775 # Use the presentlang catalog if desiredlang is 2776 # a. equal to presentlang, or 2777 # b. a variant of presentlang (because in this case, 2778 # presentlang can be used as a fallback for messages 2779 # which are not translated in the desiredlang catalog). 2780 case "$desiredlang" in 2781 "$presentlang"*) useit=yes;; 2782 esac 2783 done 2784 if test $useit = yes; then 2785 INST_LINGUAS="$INST_LINGUAS $presentlang" 2786 fi 2787 done 2788 fi 2789 CATALOGS= 2790 if test -n "$INST_LINGUAS"; then 2791 for lang in $INST_LINGUAS; do 2792 CATALOGS="$CATALOGS $lang.gmo" 2793 done 2794 fi 2795 test -n "$as_me" && echo "$as_me: creating $ac_dir/Makefile" || echo "creating $ac_dir/Makefile" 2796 sed -e "/^POTFILES =/r $ac_dir/POTFILES" -e "/^# Makevars/r $ac_given_srcdir/$ac_dir/Makevars" -e "s|@POFILES@|$POFILES|g" -e "s|@UPDATEPOFILES@|$UPDATEPOFILES|g" -e "s|@DUMMYPOFILES@|$DUMMYPOFILES|g" -e "s|@GMOFILES@|$GMOFILES|g" -e "s|@CATALOGS@|$CATALOGS|g" -e "s|@POMAKEFILEDEPS@|$POMAKEFILEDEPS|g" "$ac_dir/Makefile.in" > "$ac_dir/Makefile" 2797 for f in "$ac_given_srcdir/$ac_dir"/Rules-*; do 2798 if test -f "$f"; then 2799 case "$f" in 2800 *.orig | *.bak | *~) ;; 2801 *) cat "$f" >> "$ac_dir/Makefile" ;; 2802 esac 2803 fi 2804 done 2805 fi 2806 ;; 2807 esac 2808 done]], 2809 [# Capture the value of obsolete ALL_LINGUAS because we need it to compute 2810 # POFILES, UPDATEPOFILES, DUMMYPOFILES, GMOFILES, CATALOGS. But hide it 2811 # from automake < 1.5. 2812 eval 'OBSOLETE_ALL_LINGUAS''="$ALL_LINGUAS"' 2813 # Capture the value of LINGUAS because we need it to compute CATALOGS. 2814 LINGUAS="${LINGUAS-%UNSET%}" 2815 ]) 2816 ]) 2817 m4trace:m4/po.m4:210: -1- AC_DEFUN([AM_POSTPROCESS_PO_MAKEFILE], [ 2818 # When this code is run, in config.status, two variables have already been 2819 # set: 2820 # - OBSOLETE_ALL_LINGUAS is the value of LINGUAS set in configure.in, 2821 # - LINGUAS is the value of the environment variable LINGUAS at configure 2822 # time. 2823 2824 changequote(,)dnl 2825 # Adjust a relative srcdir. 2826 ac_dir=`echo "$ac_file"|sed 's%/[^/][^/]*$%%'` 2827 ac_dir_suffix="/`echo "$ac_dir"|sed 's%^\./%%'`" 2828 ac_dots=`echo "$ac_dir_suffix"|sed 's%/[^/]*%../%g'` 2829 # In autoconf-2.13 it is called $ac_given_srcdir. 2830 # In autoconf-2.50 it is called $srcdir. 2831 test -n "$ac_given_srcdir" || ac_given_srcdir="$srcdir" 2832 case "$ac_given_srcdir" in 2833 .) top_srcdir=`echo $ac_dots|sed 's%/$%%'` ;; 2834 /*) top_srcdir="$ac_given_srcdir" ;; 2835 *) top_srcdir="$ac_dots$ac_given_srcdir" ;; 2836 esac 2837 2838 # Find a way to echo strings without interpreting backslash. 2839 if test "X`(echo '\t') 2>/dev/null`" = 'X\t'; then 2840 gt_echo='echo' 2841 else 2842 if test "X`(printf '%s\n' '\t') 2>/dev/null`" = 'X\t'; then 2843 gt_echo='printf %s\n' 2844 else 2845 echo_func () { 2846 cat <<EOT 2847 $* 2848 EOT 2849 } 2850 gt_echo='echo_func' 2851 fi 2852 fi 2853 2854 # A sed script that extracts the value of VARIABLE from a Makefile. 2855 sed_x_variable=' 2856 # Test if the hold space is empty. 2857 x 2858 s/P/P/ 2859 x 2860 ta 2861 # Yes it was empty. Look if we have the expected variable definition. 2862 /^[ ]*VARIABLE[ ]*=/{ 2863 # Seen the first line of the variable definition. 2864 s/^[ ]*VARIABLE[ ]*=// 2865 ba 2866 } 2867 bd 2868 :a 2869 # Here we are processing a line from the variable definition. 2870 # Remove comment, more precisely replace it with a space. 2871 s/#.*$/ / 2872 # See if the line ends in a backslash. 2873 tb 2874 :b 2875 s/\\$// 2876 # Print the line, without the trailing backslash. 2877 p 2878 tc 2879 # There was no trailing backslash. The end of the variable definition is 2880 # reached. Clear the hold space. 2881 s/^.*$// 2882 x 2883 bd 2884 :c 2885 # A trailing backslash means that the variable definition continues in the 2886 # next line. Put a nonempty string into the hold space to indicate this. 2887 s/^.*$/P/ 2888 x 2889 :d 2890 ' 2891 changequote([,])dnl 2892 2893 # Set POTFILES to the value of the Makefile variable POTFILES. 2894 sed_x_POTFILES=`$gt_echo "$sed_x_variable" | sed -e '/^ *#/d' -e 's/VARIABLE/POTFILES/g'` 2895 POTFILES=`sed -n -e "$sed_x_POTFILES" < "$ac_file"` 2896 # Compute POTFILES_DEPS as 2897 # $(foreach file, $(POTFILES), $(top_srcdir)/$(file)) 2898 POTFILES_DEPS= 2899 for file in $POTFILES; do 2900 POTFILES_DEPS="$POTFILES_DEPS "'$(top_srcdir)/'"$file" 2901 done 2902 POMAKEFILEDEPS="" 2903 2904 if test -n "$OBSOLETE_ALL_LINGUAS"; then 2905 test -n "$as_me" && echo "$as_me: setting ALL_LINGUAS in configure.in is obsolete" || echo "setting ALL_LINGUAS in configure.in is obsolete" 2906 fi 2907 if test -f "$ac_given_srcdir/$ac_dir/LINGUAS"; then 2908 # The LINGUAS file contains the set of available languages. 2909 ALL_LINGUAS_=`sed -e "/^#/d" -e "s/#.*//" "$ac_given_srcdir/$ac_dir/LINGUAS"` 2910 POMAKEFILEDEPS="$POMAKEFILEDEPS LINGUAS" 2911 else 2912 # Set ALL_LINGUAS to the value of the Makefile variable LINGUAS. 2913 sed_x_LINGUAS=`$gt_echo "$sed_x_variable" | sed -e '/^ *#/d' -e 's/VARIABLE/LINGUAS/g'` 2914 ALL_LINGUAS_=`sed -n -e "$sed_x_LINGUAS" < "$ac_file"` 2915 fi 2916 # Hide the ALL_LINGUAS assigment from automake < 1.5. 2917 eval 'ALL_LINGUAS''=$ALL_LINGUAS_' 2918 # Compute POFILES 2919 # as $(foreach lang, $(ALL_LINGUAS), $(srcdir)/$(lang).po) 2920 # Compute UPDATEPOFILES 2921 # as $(foreach lang, $(ALL_LINGUAS), $(lang).po-update) 2922 # Compute DUMMYPOFILES 2923 # as $(foreach lang, $(ALL_LINGUAS), $(lang).nop) 2924 # Compute GMOFILES 2925 # as $(foreach lang, $(ALL_LINGUAS), $(srcdir)/$(lang).gmo) 2926 # Compute PROPERTIESFILES 2927 # as $(foreach lang, $(ALL_LINGUAS), $(top_srcdir)/$(DOMAIN)_$(lang).properties) 2928 # Compute CLASSFILES 2929 # as $(foreach lang, $(ALL_LINGUAS), $(top_srcdir)/$(DOMAIN)_$(lang).class) 2930 # Compute QMFILES 2931 # as $(foreach lang, $(ALL_LINGUAS), $(srcdir)/$(lang).qm) 2932 # Compute MSGFILES 2933 # as $(foreach lang, $(ALL_LINGUAS), $(srcdir)/$(frob $(lang)).msg) 2934 # Compute RESOURCESDLLFILES 2935 # as $(foreach lang, $(ALL_LINGUAS), $(srcdir)/$(frob $(lang))/$(DOMAIN).resources.dll) 2936 case "$ac_given_srcdir" in 2937 .) srcdirpre= ;; 2938 *) srcdirpre='$(srcdir)/' ;; 2939 esac 2940 POFILES= 2941 UPDATEPOFILES= 2942 DUMMYPOFILES= 2943 GMOFILES= 2944 PROPERTIESFILES= 2945 CLASSFILES= 2946 QMFILES= 2947 MSGFILES= 2948 RESOURCESDLLFILES= 2949 for lang in $ALL_LINGUAS; do 2950 POFILES="$POFILES $srcdirpre$lang.po" 2951 UPDATEPOFILES="$UPDATEPOFILES $lang.po-update" 2952 DUMMYPOFILES="$DUMMYPOFILES $lang.nop" 2953 GMOFILES="$GMOFILES $srcdirpre$lang.gmo" 2954 PROPERTIESFILES="$PROPERTIESFILES \$(top_srcdir)/\$(DOMAIN)_$lang.properties" 2955 CLASSFILES="$CLASSFILES \$(top_srcdir)/\$(DOMAIN)_$lang.class" 2956 QMFILES="$QMFILES $srcdirpre$lang.qm" 2957 frobbedlang=`echo $lang | sed -e 's/\..*$//' -e 'y/ABCDEFGHIJKLMNOPQRSTUVWXYZ/abcdefghijklmnopqrstuvwxyz/'` 2958 MSGFILES="$MSGFILES $srcdirpre$frobbedlang.msg" 2959 frobbedlang=`echo $lang | sed -e 's/_/-/g' -e 's/^sr-CS/sr-SP/' -e 's/@latin$/-Latn/' -e 's/@cyrillic$/-Cyrl/' -e 's/^sr-SP$/sr-SP-Latn/' -e 's/^uz-UZ$/uz-UZ-Latn/'` 2960 RESOURCESDLLFILES="$RESOURCESDLLFILES $srcdirpre$frobbedlang/\$(DOMAIN).resources.dll" 2961 done 2962 # CATALOGS depends on both $ac_dir and the user's LINGUAS 2963 # environment variable. 2964 INST_LINGUAS= 2965 if test -n "$ALL_LINGUAS"; then 2966 for presentlang in $ALL_LINGUAS; do 2967 useit=no 2968 if test "%UNSET%" != "$LINGUAS"; then 2969 desiredlanguages="$LINGUAS" 2970 else 2971 desiredlanguages="$ALL_LINGUAS" 2972 fi 2973 for desiredlang in $desiredlanguages; do 2974 # Use the presentlang catalog if desiredlang is 2975 # a. equal to presentlang, or 2976 # b. a variant of presentlang (because in this case, 2977 # presentlang can be used as a fallback for messages 2978 # which are not translated in the desiredlang catalog). 2979 case "$desiredlang" in 2980 "$presentlang"*) useit=yes;; 2981 esac 2982 done 2983 if test $useit = yes; then 2984 INST_LINGUAS="$INST_LINGUAS $presentlang" 2985 fi 2986 done 2987 fi 2988 CATALOGS= 2989 JAVACATALOGS= 2990 QTCATALOGS= 2991 TCLCATALOGS= 2992 CSHARPCATALOGS= 2993 if test -n "$INST_LINGUAS"; then 2994 for lang in $INST_LINGUAS; do 2995 CATALOGS="$CATALOGS $lang.gmo" 2996 JAVACATALOGS="$JAVACATALOGS \$(DOMAIN)_$lang.properties" 2997 QTCATALOGS="$QTCATALOGS $lang.qm" 2998 frobbedlang=`echo $lang | sed -e 's/\..*$//' -e 'y/ABCDEFGHIJKLMNOPQRSTUVWXYZ/abcdefghijklmnopqrstuvwxyz/'` 2999 TCLCATALOGS="$TCLCATALOGS $frobbedlang.msg" 3000 frobbedlang=`echo $lang | sed -e 's/_/-/g' -e 's/^sr-CS/sr-SP/' -e 's/@latin$/-Latn/' -e 's/@cyrillic$/-Cyrl/' -e 's/^sr-SP$/sr-SP-Latn/' -e 's/^uz-UZ$/uz-UZ-Latn/'` 3001 CSHARPCATALOGS="$CSHARPCATALOGS $frobbedlang/\$(DOMAIN).resources.dll" 3002 done 3003 fi 3004 3005 sed -e "s|@POTFILES_DEPS@|$POTFILES_DEPS|g" -e "s|@POFILES@|$POFILES|g" -e "s|@UPDATEPOFILES@|$UPDATEPOFILES|g" -e "s|@DUMMYPOFILES@|$DUMMYPOFILES|g" -e "s|@GMOFILES@|$GMOFILES|g" -e "s|@PROPERTIESFILES@|$PROPERTIESFILES|g" -e "s|@CLASSFILES@|$CLASSFILES|g" -e "s|@QMFILES@|$QMFILES|g" -e "s|@MSGFILES@|$MSGFILES|g" -e "s|@RESOURCESDLLFILES@|$RESOURCESDLLFILES|g" -e "s|@CATALOGS@|$CATALOGS|g" -e "s|@JAVACATALOGS@|$JAVACATALOGS|g" -e "s|@QTCATALOGS@|$QTCATALOGS|g" -e "s|@TCLCATALOGS@|$TCLCATALOGS|g" -e "s|@CSHARPCATALOGS@|$CSHARPCATALOGS|g" -e 's,^#distdir:,distdir:,' < "$ac_file" > "$ac_file.tmp" 3006 if grep -l '@TCLCATALOGS@' "$ac_file" > /dev/null; then 3007 # Add dependencies that cannot be formulated as a simple suffix rule. 3008 for lang in $ALL_LINGUAS; do 3009 frobbedlang=`echo $lang | sed -e 's/\..*$//' -e 'y/ABCDEFGHIJKLMNOPQRSTUVWXYZ/abcdefghijklmnopqrstuvwxyz/'` 3010 cat >> "$ac_file.tmp" <<EOF 3011 $frobbedlang.msg: $lang.po 3012 @echo "\$(MSGFMT) -c --tcl -d \$(srcdir) -l $lang $srcdirpre$lang.po"; \ 3013 \$(MSGFMT) -c --tcl -d "\$(srcdir)" -l $lang $srcdirpre$lang.po || { rm -f "\$(srcdir)/$frobbedlang.msg"; exit 1; } 3014 EOF 3015 done 3016 fi 3017 if grep -l '@CSHARPCATALOGS@' "$ac_file" > /dev/null; then 3018 # Add dependencies that cannot be formulated as a simple suffix rule. 3019 for lang in $ALL_LINGUAS; do 3020 frobbedlang=`echo $lang | sed -e 's/_/-/g' -e 's/^sr-CS/sr-SP/' -e 's/@latin$/-Latn/' -e 's/@cyrillic$/-Cyrl/' -e 's/^sr-SP$/sr-SP-Latn/' -e 's/^uz-UZ$/uz-UZ-Latn/'` 3021 cat >> "$ac_file.tmp" <<EOF 3022 $frobbedlang/\$(DOMAIN).resources.dll: $lang.po 3023 @echo "\$(MSGFMT) -c --csharp -d \$(srcdir) -l $lang $srcdirpre$lang.po -r \$(DOMAIN)"; \ 3024 \$(MSGFMT) -c --csharp -d "\$(srcdir)" -l $lang $srcdirpre$lang.po -r "\$(DOMAIN)" || { rm -f "\$(srcdir)/$frobbedlang.msg"; exit 1; } 3025 EOF 3026 done 3027 fi 3028 if test -n "$POMAKEFILEDEPS"; then 3029 cat >> "$ac_file.tmp" <<EOF 3030 Makefile: $POMAKEFILEDEPS 3031 EOF 3032 fi 3033 mv "$ac_file.tmp" "$ac_file" 3034 ]) 3035 m4trace:m4/progtest.m4:25: -1- AC_DEFUN([AM_PATH_PROG_WITH_TEST], [ 3036 # Prepare PATH_SEPARATOR. 3037 # The user is always right. 3038 if test "${PATH_SEPARATOR+set}" != set; then 3039 echo "#! /bin/sh" >conf$$.sh 3040 echo "exit 0" >>conf$$.sh 3041 chmod +x conf$$.sh 3042 if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then 3043 PATH_SEPARATOR=';' 3044 else 3045 PATH_SEPARATOR=: 3046 fi 3047 rm -f conf$$.sh 3048 fi 3049 3050 # Find out how to test for executable files. Don't use a zero-byte file, 3051 # as systems may use methods other than mode bits to determine executability. 3052 cat >conf$$.file <<_ASEOF 3053 #! /bin/sh 3054 exit 0 3055 _ASEOF 3056 chmod +x conf$$.file 3057 if test -x conf$$.file >/dev/null 2>&1; then 3058 ac_executable_p="test -x" 3059 else 3060 ac_executable_p="test -f" 3061 fi 3062 rm -f conf$$.file 3063 3064 # Extract the first word of "$2", so it can be a program name with args. 3065 set dummy $2; ac_word=[$]2 3066 AC_MSG_CHECKING([for $ac_word]) 3067 AC_CACHE_VAL(ac_cv_path_$1, 3068 [case "[$]$1" in 3069 [[\\/]]* | ?:[[\\/]]*) 3070 ac_cv_path_$1="[$]$1" # Let the user override the test with a path. 3071 ;; 3072 *) 3073 ac_save_IFS="$IFS"; IFS=$PATH_SEPARATOR 3074 for ac_dir in ifelse([$5], , $PATH, [$5]); do 3075 IFS="$ac_save_IFS" 3076 test -z "$ac_dir" && ac_dir=. 3077 for ac_exec_ext in '' $ac_executable_extensions; do 3078 if $ac_executable_p "$ac_dir/$ac_word$ac_exec_ext"; then 3079 echo "$as_me: trying $ac_dir/$ac_word..." >&AS_MESSAGE_LOG_FD 3080 if [$3]; then 3081 ac_cv_path_$1="$ac_dir/$ac_word$ac_exec_ext" 3082 break 2 3083 fi 3084 fi 3085 done 3086 done 3087 IFS="$ac_save_IFS" 3088 dnl If no 4th arg is given, leave the cache variable unset, 3089 dnl so AC_PATH_PROGS will keep looking. 3090 ifelse([$4], , , [ test -z "[$]ac_cv_path_$1" && ac_cv_path_$1="$4" 3091 ])dnl 3092 ;; 3093 esac])dnl 3094 $1="$ac_cv_path_$1" 3095 if test ifelse([$4], , [-n "[$]$1"], ["[$]$1" != "$4"]); then 3096 AC_MSG_RESULT([$]$1) 3097 else 3098 AC_MSG_RESULT(no) 3099 fi 3100 AC_SUBST($1)dnl 3101 ]) 3102 m4trace:configure.in:3: -1- m4_pattern_forbid([^_?A[CHUM]_]) 3103 m4trace:configure.in:3: -1- m4_pattern_forbid([_AC_]) 3104 m4trace:configure.in:3: -1- m4_pattern_forbid([^LIBOBJS$], [do not use LIBOBJS directly, use AC_LIBOBJ (see section `AC_LIBOBJ vs LIBOBJS']) 3105 m4trace:configure.in:3: -1- m4_pattern_allow([^AS_FLAGS$]) 3106 m4trace:configure.in:3: -1- m4_pattern_forbid([^_?m4_]) 3107 m4trace:configure.in:3: -1- m4_pattern_forbid([^dnl$]) 3108 m4trace:configure.in:3: -1- m4_pattern_forbid([^_?AS_]) 3109 m4trace:configure.in:3: -1- m4_pattern_allow([^SHELL$]) 3110 m4trace:configure.in:3: -1- m4_pattern_allow([^PATH_SEPARATOR$]) 3111 m4trace:configure.in:3: -1- m4_pattern_allow([^PACKAGE_NAME$]) 3112 m4trace:configure.in:3: -1- m4_pattern_allow([^PACKAGE_TARNAME$]) 3113 m4trace:configure.in:3: -1- m4_pattern_allow([^PACKAGE_VERSION$]) 3114 m4trace:configure.in:3: -1- m4_pattern_allow([^PACKAGE_STRING$]) 3115 m4trace:configure.in:3: -1- m4_pattern_allow([^PACKAGE_BUGREPORT$]) 3116 m4trace:configure.in:3: -1- m4_pattern_allow([^exec_prefix$]) 3117 m4trace:configure.in:3: -1- m4_pattern_allow([^prefix$]) 3118 m4trace:configure.in:3: -1- m4_pattern_allow([^program_transform_name$]) 3119 m4trace:configure.in:3: -1- m4_pattern_allow([^bindir$]) 3120 m4trace:configure.in:3: -1- m4_pattern_allow([^sbindir$]) 3121 m4trace:configure.in:3: -1- m4_pattern_allow([^libexecdir$]) 3122 m4trace:configure.in:3: -1- m4_pattern_allow([^datarootdir$]) 3123 m4trace:configure.in:3: -1- m4_pattern_allow([^datadir$]) 3124 m4trace:configure.in:3: -1- m4_pattern_allow([^sysconfdir$]) 3125 m4trace:configure.in:3: -1- m4_pattern_allow([^sharedstatedir$]) 3126 m4trace:configure.in:3: -1- m4_pattern_allow([^localstatedir$]) 3127 m4trace:configure.in:3: -1- m4_pattern_allow([^includedir$]) 3128 m4trace:configure.in:3: -1- m4_pattern_allow([^oldincludedir$]) 3129 m4trace:configure.in:3: -1- m4_pattern_allow([^docdir$]) 3130 m4trace:configure.in:3: -1- m4_pattern_allow([^infodir$]) 3131 m4trace:configure.in:3: -1- m4_pattern_allow([^htmldir$]) 3132 m4trace:configure.in:3: -1- m4_pattern_allow([^dvidir$]) 3133 m4trace:configure.in:3: -1- m4_pattern_allow([^pdfdir$]) 3134 m4trace:configure.in:3: -1- m4_pattern_allow([^psdir$]) 3135 m4trace:configure.in:3: -1- m4_pattern_allow([^libdir$]) 3136 m4trace:configure.in:3: -1- m4_pattern_allow([^localedir$]) 3137 m4trace:configure.in:3: -1- m4_pattern_allow([^mandir$]) 3138 m4trace:configure.in:3: -1- m4_pattern_allow([^PACKAGE_NAME$]) 3139 m4trace:configure.in:3: -1- m4_pattern_allow([^PACKAGE_TARNAME$]) 3140 m4trace:configure.in:3: -1- m4_pattern_allow([^PACKAGE_VERSION$]) 3141 m4trace:configure.in:3: -1- m4_pattern_allow([^PACKAGE_STRING$]) 3142 m4trace:configure.in:3: -1- m4_pattern_allow([^PACKAGE_BUGREPORT$]) 3143 m4trace:configure.in:3: -1- m4_pattern_allow([^DEFS$]) 3144 m4trace:configure.in:3: -1- m4_pattern_allow([^ECHO_C$]) 3145 m4trace:configure.in:3: -1- m4_pattern_allow([^ECHO_N$]) 3146 m4trace:configure.in:3: -1- m4_pattern_allow([^ECHO_T$]) 3147 m4trace:configure.in:3: -1- m4_pattern_allow([^LIBS$]) 3148 m4trace:configure.in:3: -1- m4_pattern_allow([^build_alias$]) 3149 m4trace:configure.in:3: -1- m4_pattern_allow([^host_alias$]) 3150 m4trace:configure.in:3: -1- m4_pattern_allow([^target_alias$]) 3151 m4trace:configure.in:4: -1- m4_pattern_allow([^build$]) 3152 m4trace:configure.in:4: -1- m4_pattern_allow([^build_cpu$]) 3153 m4trace:configure.in:4: -1- m4_pattern_allow([^build_vendor$]) 3154 m4trace:configure.in:4: -1- m4_pattern_allow([^build_os$]) 3155 m4trace:configure.in:4: -1- m4_pattern_allow([^host$]) 3156 m4trace:configure.in:4: -1- m4_pattern_allow([^host_cpu$]) 3157 m4trace:configure.in:4: -1- m4_pattern_allow([^host_vendor$]) 3158 m4trace:configure.in:4: -1- m4_pattern_allow([^host_os$]) 3159 m4trace:configure.in:4: -1- m4_pattern_allow([^target$]) 3160 m4trace:configure.in:4: -1- m4_pattern_allow([^target_cpu$]) 3161 m4trace:configure.in:4: -1- m4_pattern_allow([^target_vendor$]) 3162 m4trace:configure.in:4: -1- m4_pattern_allow([^target_os$]) 3163 m4trace:configure.in:5: -1- AM_INIT_AUTOMAKE([1.9 gnits dist-bzip2]) 3164 m4trace:configure.in:5: -1- m4_pattern_allow([^AM_[A-Z]+FLAGS$]) 3165 m4trace:configure.in:5: -1- AM_SET_CURRENT_AUTOMAKE_VERSION 3166 m4trace:configure.in:5: -1- AM_AUTOMAKE_VERSION([1.9.6]) 3167 m4trace:configure.in:5: -1- m4_pattern_allow([^INSTALL_PROGRAM$]) 3168 m4trace:configure.in:5: -1- m4_pattern_allow([^INSTALL_SCRIPT$]) 3169 m4trace:configure.in:5: -1- m4_pattern_allow([^INSTALL_DATA$]) 3170 m4trace:configure.in:5: -1- m4_pattern_allow([^CYGPATH_W$]) 3171 m4trace:configure.in:5: -1- _AM_SET_OPTIONS([1.9 gnits dist-bzip2]) 3172 m4trace:configure.in:5: -1- _AM_SET_OPTION([1.9]) 3173 m4trace:configure.in:5: -2- _AM_MANGLE_OPTION([1.9]) 3174 m4trace:configure.in:5: -1- _AM_SET_OPTION([gnits]) 3175 m4trace:configure.in:5: -2- _AM_MANGLE_OPTION([gnits]) 3176 m4trace:configure.in:5: -1- _AM_SET_OPTION([dist-bzip2]) 3177 m4trace:configure.in:5: -2- _AM_MANGLE_OPTION([dist-bzip2]) 3178 m4trace:configure.in:5: -1- _m4_warn([obsolete], [The macro `AC_FOREACH' is obsolete. 3179 You should run autoupdate.], [../../lib/autoconf/general.m4:196: AC_FOREACH is expanded from... 3180 /usr/share/aclocal-1.9/options.m4:25: _AM_SET_OPTIONS is expanded from... 3181 /usr/share/aclocal-1.9/init.m4:26: AM_INIT_AUTOMAKE is expanded from... 3182 configure.in:5: the top level]) 3183 m4trace:configure.in:5: -1- m4_pattern_allow([^PACKAGE$]) 3184 m4trace:configure.in:5: -1- m4_pattern_allow([^VERSION$]) 3185 m4trace:configure.in:5: -1- _AM_IF_OPTION([no-define], [], [AC_DEFINE_UNQUOTED(PACKAGE, "$PACKAGE", [Name of package]) 3186 AC_DEFINE_UNQUOTED(VERSION, "$VERSION", [Version number of package])]) 3187 m4trace:configure.in:5: -2- _AM_MANGLE_OPTION([no-define]) 3188 m4trace:configure.in:5: -1- m4_pattern_allow([^PACKAGE$]) 3189 m4trace:configure.in:5: -1- m4_pattern_allow([^VERSION$]) 3190 m4trace:configure.in:5: -1- AM_SANITY_CHECK 3191 m4trace:configure.in:5: -1- AM_MISSING_PROG([ACLOCAL], [aclocal-${am__api_version}]) 3192 m4trace:configure.in:5: -1- AM_MISSING_HAS_RUN 3193 m4trace:configure.in:5: -1- AM_AUX_DIR_EXPAND 3194 m4trace:configure.in:5: -1- m4_pattern_allow([^ACLOCAL$]) 3195 m4trace:configure.in:5: -1- AM_MISSING_PROG([AUTOCONF], [autoconf]) 3196 m4trace:configure.in:5: -1- m4_pattern_allow([^AUTOCONF$]) 3197 m4trace:configure.in:5: -1- AM_MISSING_PROG([AUTOMAKE], [automake-${am__api_version}]) 3198 m4trace:configure.in:5: -1- m4_pattern_allow([^AUTOMAKE$]) 3199 m4trace:configure.in:5: -1- AM_MISSING_PROG([AUTOHEADER], [autoheader]) 3200 m4trace:configure.in:5: -1- m4_pattern_allow([^AUTOHEADER$]) 3201 m4trace:configure.in:5: -1- AM_MISSING_PROG([MAKEINFO], [makeinfo]) 3202 m4trace:configure.in:5: -1- m4_pattern_allow([^MAKEINFO$]) 3203 m4trace:configure.in:5: -1- AM_PROG_INSTALL_SH 3204 m4trace:configure.in:5: -1- m4_pattern_allow([^install_sh$]) 3205 m4trace:configure.in:5: -1- AM_PROG_INSTALL_STRIP 3206 m4trace:configure.in:5: -1- m4_pattern_allow([^STRIP$]) 3207 m4trace:configure.in:5: -1- m4_pattern_allow([^INSTALL_STRIP_PROGRAM$]) 3208 m4trace:configure.in:5: -1- AM_PROG_MKDIR_P 3209 m4trace:configure.in:5: -1- m4_pattern_allow([^mkdir_p$]) 3210 m4trace:configure.in:5: -1- m4_pattern_allow([^AWK$]) 3211 m4trace:configure.in:5: -1- m4_pattern_allow([^SET_MAKE$]) 3212 m4trace:configure.in:5: -1- AM_SET_LEADING_DOT 3213 m4trace:configure.in:5: -1- m4_pattern_allow([^am__leading_dot$]) 3214 m4trace:configure.in:5: -1- _AM_IF_OPTION([tar-ustar], [_AM_PROG_TAR([ustar])], [_AM_IF_OPTION([tar-pax], [_AM_PROG_TAR([pax])], 3215 [_AM_PROG_TAR([v7])])]) 3216 m4trace:configure.in:5: -2- _AM_MANGLE_OPTION([tar-ustar]) 3217 m4trace:configure.in:5: -1- _AM_IF_OPTION([tar-pax], [_AM_PROG_TAR([pax])], [_AM_PROG_TAR([v7])]) 3218 m4trace:configure.in:5: -2- _AM_MANGLE_OPTION([tar-pax]) 3219 m4trace:configure.in:5: -1- _AM_PROG_TAR([v7]) 3220 m4trace:configure.in:5: -1- AM_MISSING_PROG([AMTAR], [tar]) 3221 m4trace:configure.in:5: -1- m4_pattern_allow([^AMTAR$]) 3222 m4trace:configure.in:5: -1- m4_pattern_allow([^am__tar$]) 3223 m4trace:configure.in:5: -1- m4_pattern_allow([^am__untar$]) 3224 m4trace:configure.in:5: -1- _AM_IF_OPTION([no-dependencies], [], [AC_PROVIDE_IFELSE([AC_PROG_CC], 3225 [_AM_DEPENDENCIES(CC)], 3226 [define([AC_PROG_CC], 3227 defn([AC_PROG_CC])[_AM_DEPENDENCIES(CC)])])dnl 3228 AC_PROVIDE_IFELSE([AC_PROG_CXX], 3229 [_AM_DEPENDENCIES(CXX)], 3230 [define([AC_PROG_CXX], 3231 defn([AC_PROG_CXX])[_AM_DEPENDENCIES(CXX)])])dnl 3232 ]) 3233 m4trace:configure.in:5: -2- _AM_MANGLE_OPTION([no-dependencies]) 3234 m4trace:configure.in:9: -1- AM_WITH_DMALLOC 3235 m4trace:configure.in:9: -1- m4_pattern_allow([^WITH_DMALLOC$]) 3236 m4trace:configure.in:10: -1- AM_GNU_GETTEXT([external]) 3237 m4trace:configure.in:10: -1- AM_GNU_GETTEXT_NEED([]) 3238 m4trace:configure.in:10: -1- AM_PO_SUBDIRS 3239 m4trace:configure.in:10: -1- AM_NLS 3240 m4trace:configure.in:10: -1- m4_pattern_allow([^USE_NLS$]) 3241 m4trace:configure.in:10: -1- AM_PATH_PROG_WITH_TEST([MSGFMT], [msgfmt], [$ac_dir/$ac_word --statistics /dev/null >&5 2>&1 && 3242 (if $ac_dir/$ac_word --statistics /dev/null 2>&1 >/dev/null | grep usage >/dev/null; then exit 1; else exit 0; fi)], [:]) 3243 m4trace:configure.in:10: -1- m4_pattern_allow([^MSGFMT$]) 3244 m4trace:configure.in:10: -1- m4_pattern_allow([^GMSGFMT$]) 3245 m4trace:configure.in:10: -1- m4_pattern_allow([^MSGFMT_015$]) 3246 m4trace:configure.in:10: -1- m4_pattern_allow([^GMSGFMT_015$]) 3247 m4trace:configure.in:10: -1- AM_PATH_PROG_WITH_TEST([XGETTEXT], [xgettext], [$ac_dir/$ac_word --omit-header --copyright-holder= --msgid-bugs-address= /dev/null >&5 2>&1 && 3248 (if $ac_dir/$ac_word --omit-header --copyright-holder= --msgid-bugs-address= /dev/null 2>&1 >/dev/null | grep usage >/dev/null; then exit 1; else exit 0; fi)], [:]) 3249 m4trace:configure.in:10: -1- m4_pattern_allow([^XGETTEXT$]) 3250 m4trace:configure.in:10: -1- m4_pattern_allow([^XGETTEXT_015$]) 3251 m4trace:configure.in:10: -1- AM_PATH_PROG_WITH_TEST([MSGMERGE], [msgmerge], [$ac_dir/$ac_word --update -q /dev/null /dev/null >&5 2>&1], [:]) 3252 m4trace:configure.in:10: -1- m4_pattern_allow([^MSGMERGE$]) 3253 m4trace:configure.in:10: -1- m4_pattern_allow([^localedir$]) 3254 m4trace:configure.in:10: -1- AC_LIB_PREPARE_PREFIX 3255 m4trace:configure.in:10: -1- AC_LIB_RPATH 3256 m4trace:configure.in:10: -1- m4_pattern_allow([^CC$]) 3257 m4trace:configure.in:10: -1- m4_pattern_allow([^CFLAGS$]) 3258 m4trace:configure.in:10: -1- m4_pattern_allow([^LDFLAGS$]) 3259 m4trace:configure.in:10: -1- m4_pattern_allow([^LIBS$]) 3260 m4trace:configure.in:10: -1- m4_pattern_allow([^CPPFLAGS$]) 3261 m4trace:configure.in:10: -1- m4_pattern_allow([^CC$]) 3262 m4trace:configure.in:10: -1- m4_pattern_allow([^CC$]) 3263 m4trace:configure.in:10: -1- m4_pattern_allow([^CC$]) 3264 m4trace:configure.in:10: -1- m4_pattern_allow([^CC$]) 3265 m4trace:configure.in:10: -1- m4_pattern_allow([^ac_ct_CC$]) 3266 m4trace:configure.in:10: -1- m4_pattern_allow([^EXEEXT$]) 3267 m4trace:configure.in:10: -1- m4_pattern_allow([^OBJEXT$]) 3268 m4trace:configure.in:10: -1- _AM_DEPENDENCIES([CC]) 3269 m4trace:configure.in:10: -1- AM_SET_DEPDIR 3270 m4trace:configure.in:10: -1- m4_pattern_allow([^DEPDIR$]) 3271 m4trace:configure.in:10: -1- AM_OUTPUT_DEPENDENCY_COMMANDS 3272 m4trace:configure.in:10: -1- AM_MAKE_INCLUDE 3273 m4trace:configure.in:10: -1- m4_pattern_allow([^am__include$]) 3274 m4trace:configure.in:10: -1- m4_pattern_allow([^am__quote$]) 3275 m4trace:configure.in:10: -1- AM_DEP_TRACK 3276 m4trace:configure.in:10: -1- AM_CONDITIONAL([AMDEP], [test "x$enable_dependency_tracking" != xno]) 3277 m4trace:configure.in:10: -1- m4_pattern_allow([^AMDEP_TRUE$]) 3278 m4trace:configure.in:10: -1- m4_pattern_allow([^AMDEP_FALSE$]) 3279 m4trace:configure.in:10: -1- m4_pattern_allow([^AMDEPBACKSLASH$]) 3280 m4trace:configure.in:10: -1- m4_pattern_allow([^CCDEPMODE$]) 3281 m4trace:configure.in:10: -1- AM_CONDITIONAL([am__fastdepCC], [ 3282 test "x$enable_dependency_tracking" != xno \ 3283 && test "$am_cv_CC_dependencies_compiler_type" = gcc3]) 3284 m4trace:configure.in:10: -1- m4_pattern_allow([^am__fastdepCC_TRUE$]) 3285 m4trace:configure.in:10: -1- m4_pattern_allow([^am__fastdepCC_FALSE$]) 3286 m4trace:configure.in:10: -1- AC_LIB_PROG_LD 3287 m4trace:configure.in:10: -1- AC_LIB_PROG_LD_GNU 3288 m4trace:configure.in:10: -1- AM_ICONV_LINKFLAGS_BODY 3289 m4trace:configure.in:10: -1- AC_LIB_LINKFLAGS_BODY([iconv]) 3290 m4trace:configure.in:10: -1- AC_LIB_PREPARE_MULTILIB 3291 m4trace:configure.in:10: -1- AC_LIB_WITH_FINAL_PREFIX([ 3292 eval additional_includedir=\"$includedir\" 3293 eval additional_libdir=\"$libdir\" 3294 ]) 3295 m4trace:configure.in:10: -1- AC_LIB_ARG_WITH([libiconv-prefix], [ --with-libiconv-prefix[=DIR] search for libiconv in DIR/include and DIR/lib 3296 --without-libiconv-prefix don't search for libiconv in includedir and libdir], [ 3297 if test "X$withval" = "Xno"; then 3298 use_additional=no 3299 else 3300 if test "X$withval" = "X"; then 3301 AC_LIB_WITH_FINAL_PREFIX([ 3302 eval additional_includedir=\"$includedir\" 3303 eval additional_libdir=\"$libdir\" 3304 ]) 3305 else 3306 additional_includedir="$withval/include" 3307 additional_libdir="$withval/$acl_libdirstem" 3308 fi 3309 fi 3310 ]) 3311 m4trace:configure.in:10: -1- AC_LIB_WITH_FINAL_PREFIX([ 3312 eval additional_includedir=\"$includedir\" 3313 eval additional_libdir=\"$libdir\" 3314 ]) 3315 m4trace:configure.in:10: -1- AC_LIB_WITH_FINAL_PREFIX([eval x=\"$x\"]) 3316 m4trace:configure.in:10: -1- AC_LIB_WITH_FINAL_PREFIX([eval x=\"$x\"]) 3317 m4trace:configure.in:10: -1- AC_LIB_WITH_FINAL_PREFIX([eval x=\"$x\"]) 3318 m4trace:configure.in:10: -1- AC_LIB_WITH_FINAL_PREFIX([eval x=\"$x\"]) 3319 m4trace:configure.in:10: -1- AC_LIB_WITH_FINAL_PREFIX([eval x=\"$x\"]) 3320 m4trace:configure.in:10: -1- gt_INTL_MACOSX 3321 m4trace:configure.in:10: -1- _m4_warn([obsolete], [The macro `AC_TRY_LINK' is obsolete. 3322 You should run autoupdate.], [../../lib/autoconf/general.m4:2414: AC_TRY_LINK is expanded from... 3323 ../../lib/m4sugar/m4sh.m4:516: AS_IF is expanded from... 3324 ../../lib/autoconf/general.m4:1898: AC_CACHE_VAL is expanded from... 3325 ../../lib/autoconf/general.m4:1911: AC_CACHE_CHECK is expanded from... 3326 m4/gettext.m4:367: gt_INTL_MACOSX is expanded from... 3327 m4/gettext.m4:57: AM_GNU_GETTEXT is expanded from... 3328 configure.in:10: the top level]) 3329 m4trace:configure.in:10: -1- m4_pattern_allow([^HAVE_CFPREFERENCESCOPYAPPVALUE$]) 3330 m4trace:configure.in:10: -1- _m4_warn([obsolete], [The macro `AC_TRY_LINK' is obsolete. 3331 You should run autoupdate.], [../../lib/autoconf/general.m4:2414: AC_TRY_LINK is expanded from... 3332 ../../lib/m4sugar/m4sh.m4:516: AS_IF is expanded from... 3333 ../../lib/autoconf/general.m4:1898: AC_CACHE_VAL is expanded from... 3334 ../../lib/autoconf/general.m4:1911: AC_CACHE_CHECK is expanded from... 3335 m4/gettext.m4:367: gt_INTL_MACOSX is expanded from... 3336 m4/gettext.m4:57: AM_GNU_GETTEXT is expanded from... 3337 configure.in:10: the top level]) 3338 m4trace:configure.in:10: -1- m4_pattern_allow([^HAVE_CFLOCALECOPYCURRENT$]) 3339 m4trace:configure.in:10: -1- m4_pattern_allow([^INTL_MACOSX_LIBS$]) 3340 m4trace:configure.in:10: -1- _m4_warn([obsolete], [The macro `AC_TRY_LINK' is obsolete. 3341 You should run autoupdate.], [../../lib/autoconf/general.m4:2414: AC_TRY_LINK is expanded from... 3342 ../../lib/m4sugar/m4sh.m4:516: AS_IF is expanded from... 3343 ../../lib/autoconf/general.m4:1898: AC_CACHE_VAL is expanded from... 3344 ../../lib/autoconf/general.m4:1911: AC_CACHE_CHECK is expanded from... 3345 m4/gettext.m4:57: AM_GNU_GETTEXT is expanded from... 3346 configure.in:10: the top level]) 3347 m4trace:configure.in:10: -1- AM_ICONV_LINK 3348 m4trace:configure.in:10: -1- AC_LIB_APPENDTOVAR([CPPFLAGS], [$INCICONV]) 3349 m4trace:configure.in:10: -1- AC_LIB_WITH_FINAL_PREFIX([eval x=\"$x\"]) 3350 m4trace:configure.in:10: -1- _m4_warn([obsolete], [The macro `AC_TRY_LINK' is obsolete. 3351 You should run autoupdate.], [../../lib/autoconf/general.m4:2414: AC_TRY_LINK is expanded from... 3352 ../../lib/m4sugar/m4sh.m4:516: AS_IF is expanded from... 3353 ../../lib/autoconf/general.m4:1898: AC_CACHE_VAL is expanded from... 3354 ../../lib/autoconf/general.m4:1911: AC_CACHE_CHECK is expanded from... 3355 m4/iconv.m4:20: AM_ICONV_LINK is expanded from... 3356 m4/gettext.m4:57: AM_GNU_GETTEXT is expanded from... 3357 configure.in:10: the top level]) 3358 m4trace:configure.in:10: -1- _m4_warn([obsolete], [The macro `AC_TRY_LINK' is obsolete. 3359 You should run autoupdate.], [../../lib/autoconf/general.m4:2414: AC_TRY_LINK is expanded from... 3360 ../../lib/m4sugar/m4sh.m4:516: AS_IF is expanded from... 3361 ../../lib/autoconf/general.m4:1898: AC_CACHE_VAL is expanded from... 3362 ../../lib/autoconf/general.m4:1911: AC_CACHE_CHECK is expanded from... 3363 m4/iconv.m4:20: AM_ICONV_LINK is expanded from... 3364 m4/gettext.m4:57: AM_GNU_GETTEXT is expanded from... 3365 configure.in:10: the top level]) 3366 m4trace:configure.in:10: -1- m4_pattern_allow([^HAVE_ICONV$]) 3367 m4trace:configure.in:10: -1- m4_pattern_allow([^LIBICONV$]) 3368 m4trace:configure.in:10: -1- m4_pattern_allow([^LTLIBICONV$]) 3369 m4trace:configure.in:10: -1- AC_LIB_LINKFLAGS_BODY([intl]) 3370 m4trace:configure.in:10: -1- AC_LIB_WITH_FINAL_PREFIX([ 3371 eval additional_includedir=\"$includedir\" 3372 eval additional_libdir=\"$libdir\" 3373 ]) 3374 m4trace:configure.in:10: -1- AC_LIB_ARG_WITH([libintl-prefix], [ --with-libintl-prefix[=DIR] search for libintl in DIR/include and DIR/lib 3375 --without-libintl-prefix don't search for libintl in includedir and libdir], [ 3376 if test "X$withval" = "Xno"; then 3377 use_additional=no 3378 else 3379 if test "X$withval" = "X"; then 3380 AC_LIB_WITH_FINAL_PREFIX([ 3381 eval additional_includedir=\"$includedir\" 3382 eval additional_libdir=\"$libdir\" 3383 ]) 3384 else 3385 additional_includedir="$withval/include" 3386 additional_libdir="$withval/$acl_libdirstem" 3387 fi 3388 fi 3389 ]) 3390 m4trace:configure.in:10: -1- AC_LIB_WITH_FINAL_PREFIX([ 3391 eval additional_includedir=\"$includedir\" 3392 eval additional_libdir=\"$libdir\" 3393 ]) 3394 m4trace:configure.in:10: -1- AC_LIB_WITH_FINAL_PREFIX([eval x=\"$x\"]) 3395 m4trace:configure.in:10: -1- AC_LIB_WITH_FINAL_PREFIX([eval x=\"$x\"]) 3396 m4trace:configure.in:10: -1- AC_LIB_WITH_FINAL_PREFIX([eval x=\"$x\"]) 3397 m4trace:configure.in:10: -1- AC_LIB_WITH_FINAL_PREFIX([eval x=\"$x\"]) 3398 m4trace:configure.in:10: -1- AC_LIB_WITH_FINAL_PREFIX([eval x=\"$x\"]) 3399 m4trace:configure.in:10: -1- _m4_warn([obsolete], [The macro `AC_TRY_LINK' is obsolete. 3400 You should run autoupdate.], [../../lib/autoconf/general.m4:2414: AC_TRY_LINK is expanded from... 3401 ../../lib/m4sugar/m4sh.m4:516: AS_IF is expanded from... 3402 ../../lib/autoconf/general.m4:1898: AC_CACHE_VAL is expanded from... 3403 ../../lib/autoconf/general.m4:1911: AC_CACHE_CHECK is expanded from... 3404 m4/gettext.m4:57: AM_GNU_GETTEXT is expanded from... 3405 configure.in:10: the top level]) 3406 m4trace:configure.in:10: -1- _m4_warn([obsolete], [The macro `AC_TRY_LINK' is obsolete. 3407 You should run autoupdate.], [../../lib/autoconf/general.m4:2414: AC_TRY_LINK is expanded from... 3408 ../../lib/m4sugar/m4sh.m4:516: AS_IF is expanded from... 3409 ../../lib/autoconf/general.m4:1898: AC_CACHE_VAL is expanded from... 3410 ../../lib/autoconf/general.m4:1911: AC_CACHE_CHECK is expanded from... 3411 m4/gettext.m4:57: AM_GNU_GETTEXT is expanded from... 3412 configure.in:10: the top level]) 3413 m4trace:configure.in:10: -1- m4_pattern_allow([^ENABLE_NLS$]) 3414 m4trace:configure.in:10: -1- AC_LIB_APPENDTOVAR([CPPFLAGS], [$INCINTL]) 3415 m4trace:configure.in:10: -1- AC_LIB_WITH_FINAL_PREFIX([eval x=\"$x\"]) 3416 m4trace:configure.in:10: -1- m4_pattern_allow([^HAVE_GETTEXT$]) 3417 m4trace:configure.in:10: -1- m4_pattern_allow([^HAVE_DCGETTEXT$]) 3418 m4trace:configure.in:10: -1- m4_pattern_allow([^INTLLIBS$]) 3419 m4trace:configure.in:10: -1- m4_pattern_allow([^LIBINTL$]) 3420 m4trace:configure.in:10: -1- m4_pattern_allow([^LTLIBINTL$]) 3421 m4trace:configure.in:10: -1- m4_pattern_allow([^POSUB$]) 3422 m4trace:configure.in:17: -1- m4_pattern_allow([^CC$]) 3423 m4trace:configure.in:17: -1- m4_pattern_allow([^CFLAGS$]) 3424 m4trace:configure.in:17: -1- m4_pattern_allow([^LDFLAGS$]) 3425 m4trace:configure.in:17: -1- m4_pattern_allow([^LIBS$]) 3426 m4trace:configure.in:17: -1- m4_pattern_allow([^CPPFLAGS$]) 3427 m4trace:configure.in:17: -1- m4_pattern_allow([^CC$]) 3428 m4trace:configure.in:17: -1- m4_pattern_allow([^CC$]) 3429 m4trace:configure.in:17: -1- m4_pattern_allow([^CC$]) 3430 m4trace:configure.in:17: -1- m4_pattern_allow([^CC$]) 3431 m4trace:configure.in:17: -1- m4_pattern_allow([^ac_ct_CC$]) 3432 m4trace:configure.in:17: -1- _AM_DEPENDENCIES([CC]) 3433 m4trace:configure.in:17: -1- m4_pattern_allow([^CCDEPMODE$]) 3434 m4trace:configure.in:17: -1- AM_CONDITIONAL([am__fastdepCC], [ 3435 test "x$enable_dependency_tracking" != xno \ 3436 && test "$am_cv_CC_dependencies_compiler_type" = gcc3]) 3437 m4trace:configure.in:17: -1- m4_pattern_allow([^am__fastdepCC_TRUE$]) 3438 m4trace:configure.in:17: -1- m4_pattern_allow([^am__fastdepCC_FALSE$]) 3439 m4trace:configure.in:18: -1- m4_pattern_allow([^INSTALL_PROGRAM$]) 3440 m4trace:configure.in:18: -1- m4_pattern_allow([^INSTALL_SCRIPT$]) 3441 m4trace:configure.in:18: -1- m4_pattern_allow([^INSTALL_DATA$]) 3442 m4trace:configure.in:44: -1- m4_pattern_allow([^USE_CURL$]) 3443 m4trace:configure.in:47: -1- m4_pattern_allow([^USE_DUMMY$]) 3444 m4trace:configure.in:52: -1- m4_pattern_allow([^HAVE_LIBNCURSES$]) 3445 m4trace:configure.in:53: -1- m4_pattern_allow([^HAVE_LIBREADLINE$]) 3446 m4trace:configure.in:56: -1- m4_pattern_allow([^CPP$]) 3447 m4trace:configure.in:56: -1- m4_pattern_allow([^CPPFLAGS$]) 3448 m4trace:configure.in:56: -1- m4_pattern_allow([^CPP$]) 3449 m4trace:configure.in:56: -1- m4_pattern_allow([^GREP$]) 3450 m4trace:configure.in:56: -1- m4_pattern_allow([^GREP$]) 3451 m4trace:configure.in:56: -1- m4_pattern_allow([^EGREP$]) 3452 m4trace:configure.in:56: -1- m4_pattern_allow([^EGREP$]) 3453 m4trace:configure.in:56: -1- m4_pattern_allow([^STDC_HEADERS$]) 3454 m4trace:configure.in:60: -1- m4_pattern_allow([^const$]) 3455 m4trace:configure.in:61: -1- m4_pattern_allow([^size_t$]) 3456 m4trace:configure.in:64: -1- m4_pattern_allow([^RETSIGTYPE$]) 3457 m4trace:configure.in:70: -1- m4_pattern_allow([^DEFAULT_CONFIG$]) 3458 m4trace:configure.in:78: -1- m4_pattern_allow([^DEFAULT_PATH$]) 3459 m4trace:configure.in:80: -1- m4_pattern_allow([^DEFAULT_PATH$]) 3460 m4trace:configure.in:83: -1- _m4_warn([obsolete], [AC_OUTPUT should be used without arguments. 3461 You should run autoupdate.], []) 3462 m4trace:configure.in:83: -1- m4_pattern_allow([^LIB@&t@OBJS$]) 3463 m4trace:configure.in:83: -1- m4_pattern_allow([^LTLIBOBJS$]) 3464 m4trace:configure.in:83: -1- _AC_AM_CONFIG_HEADER_HOOK([$ac_file]) 3465 m4trace:configure.in:83: -1- _AM_OUTPUT_DEPENDENCY_COMMANDS