1 m4trace:/usr/share/aclocal/argz.m4:12: -1- AC_DEFUN([gl_FUNC_ARGZ], [gl_PREREQ_ARGZ
3 AC_CHECK_HEADERS([argz.h], [], [], [AC_INCLUDES_DEFAULT])
5 AC_CHECK_TYPES([error_t],
7 [AC_DEFINE([error_t], [int],
8 [Define to a type to use for `error_t' if it is not otherwise available.])
9 AC_DEFINE([__error_t_defined], [1], [Define so that glibc/gnulib argp.h
10 does not typedef error_t.])],
11 [#if defined(HAVE_ARGZ_H)
16 AC_CHECK_FUNCS([argz_add argz_append argz_count argz_create_sep argz_insert \
17 argz_next argz_stringify], [], [ARGZ_H=argz.h; AC_LIBOBJ([argz])])
19 dnl if have system argz functions, allow forced use of
20 dnl libltdl-supplied implementation (and default to do so
21 dnl on "known bad" systems). Could use a runtime check, but
22 dnl (a) detecting malloc issues is notoriously unreliable
23 dnl (b) only known system that declares argz functions,
24 dnl provides them, yet they are broken, is cygwin
25 dnl releases prior to 16-Mar-2007 (1.5.24 and earlier)
26 dnl So, it's more straightforward simply to special case
27 dnl this for known bad systems.
28 AS_IF([test -z "$ARGZ_H"],
30 [if argz actually works],
31 [lt_cv_sys_argz_works],
34 lt_cv_sys_argz_works=no
35 if test "$cross_compiling" != no; then
36 lt_cv_sys_argz_works="guessing no"
38 lt_sed_extract_leading_digits='s/^\([0-9\.]*\).*/\1/'
41 set x `uname -r | sed -e "$lt_sed_extract_leading_digits"`
46 if test "$lt_os_major" -gt 1 \
47 || { test "$lt_os_major" -eq 1 \
48 && { test "$lt_os_minor" -gt 5 \
49 || { test "$lt_os_minor" -eq 5 \
50 && test "$lt_os_micro" -gt 24; }; }; }; then
51 lt_cv_sys_argz_works=yes
55 *) lt_cv_sys_argz_works=yes ;;
57 AS_IF([test $lt_cv_sys_argz_works = yes],
58 [AC_DEFINE([HAVE_WORKING_ARGZ], 1,
59 [This value is set to 1 to indicate that the system argz facility works])],
65 m4trace:/usr/share/aclocal/argz.m4:79: -1- AC_DEFUN([gl_PREREQ_ARGZ], [:])
66 m4trace:/usr/share/aclocal/codeset.m4:9: -1- AC_DEFUN([AM_LANGINFO_CODESET], [
67 AC_CACHE_CHECK([for nl_langinfo and CODESET], [am_cv_langinfo_codeset],
68 [AC_TRY_LINK([#include <langinfo.h>],
69 [char* cs = nl_langinfo(CODESET); return !cs;],
70 [am_cv_langinfo_codeset=yes],
71 [am_cv_langinfo_codeset=no])
73 if test $am_cv_langinfo_codeset = yes; then
74 AC_DEFINE([HAVE_LANGINFO_CODESET], [1],
75 [Define if you have <langinfo.h> and nl_langinfo(CODESET).])
78 m4trace:/usr/share/aclocal/fcntl-o.m4:12: -1- AC_DEFUN([gl_FCNTL_O_FLAGS], [
79 dnl Persuade glibc <fcntl.h> to define O_NOATIME and O_NOFOLLOW.
80 AC_REQUIRE([AC_USE_SYSTEM_EXTENSIONS])
81 AC_CACHE_CHECK([for working fcntl.h], [gl_cv_header_working_fcntl_h],
84 [[#include <sys/types.h>
94 static int const constants[] =
96 O_CREAT, O_EXCL, O_NOCTTY, O_TRUNC, O_APPEND,
97 O_NONBLOCK, O_SYNC, O_ACCMODE, O_RDONLY, O_RDWR, O_WRONLY
101 int status = !constants;
103 static char const sym[] = "conftest.sym";
104 if (symlink (".", sym) != 0
105 || close (open (sym, O_RDONLY | O_NOFOLLOW)) == 0)
110 static char const file[] = "confdefs.h";
111 int fd = open (file, O_RDONLY | O_NOATIME);
113 struct stat st0, st1;
115 || fstat (fd, &st0) != 0
117 || read (fd, &c, 1) != 1
119 || stat (file, &st1) != 0
120 || st0.st_atime != st1.st_atime)
124 [gl_cv_header_working_fcntl_h=yes],
126 32) gl_cv_header_working_fcntl_h='no (bad O_NOFOLLOW)';; #(
127 64) gl_cv_header_working_fcntl_h='no (bad O_NOATIME)';; #(
128 96) gl_cv_header_working_fcntl_h='no (bad O_NOATIME, O_NOFOLLOW)';; #(
129 *) gl_cv_header_working_fcntl_h='no';;
131 [gl_cv_header_working_fcntl_h=cross-compiling])])
133 case $gl_cv_header_working_fcntl_h in #(
134 *O_NOATIME* | no | cross-compiling) ac_val=0;; #(
137 AC_DEFINE_UNQUOTED([HAVE_WORKING_O_NOATIME], [$ac_val],
138 [Define to 1 if O_NOATIME works.])
140 case $gl_cv_header_working_fcntl_h in #(
141 *O_NOFOLLOW* | no | cross-compiling) ac_val=0;; #(
144 AC_DEFINE_UNQUOTED([HAVE_WORKING_O_NOFOLLOW], [$ac_val],
145 [Define to 1 if O_NOFOLLOW works.])
147 m4trace:/usr/share/aclocal/gettext.m4:57: -1- AC_DEFUN([AM_GNU_GETTEXT], [
148 dnl Argument checking.
149 ifelse([$1], [], , [ifelse([$1], [external], , [ifelse([$1], [no-libtool], , [ifelse([$1], [use-libtool], ,
150 [errprint([ERROR: invalid first argument to AM_GNU_GETTEXT
152 ifelse(ifelse([$1], [], [old])[]ifelse([$1], [no-libtool], [old]), [old],
153 [AC_DIAGNOSE([obsolete], [Use of AM_GNU_GETTEXT without [external] argument is deprecated.])])
154 ifelse([$2], [], , [ifelse([$2], [need-ngettext], , [ifelse([$2], [need-formatstring-macros], ,
155 [errprint([ERROR: invalid second argument to AM_GNU_GETTEXT
157 define([gt_included_intl],
158 ifelse([$1], [external],
159 ifdef([AM_GNU_GETTEXT_][INTL_SUBDIR], [yes], [no]),
161 define([gt_libtool_suffix_prefix], ifelse([$1], [use-libtool], [l], []))
163 AM_GNU_GETTEXT_NEED([$2])
165 AC_REQUIRE([AM_PO_SUBDIRS])dnl
166 ifelse(gt_included_intl, yes, [
167 AC_REQUIRE([AM_INTL_SUBDIR])dnl
170 dnl Prerequisites of AC_LIB_LINKFLAGS_BODY.
171 AC_REQUIRE([AC_LIB_PREPARE_PREFIX])
172 AC_REQUIRE([AC_LIB_RPATH])
174 dnl Sometimes libintl requires libiconv, so first search for libiconv.
175 dnl Ideally we would do this search only after the
176 dnl if test "$USE_NLS" = "yes"; then
177 dnl if { eval "gt_val=\$$gt_func_gnugettext_libc"; test "$gt_val" != "yes"; }; then
178 dnl tests. But if configure.in invokes AM_ICONV after AM_GNU_GETTEXT
179 dnl the configure script would need to contain the same shell code
180 dnl again, outside any 'if'. There are two solutions:
181 dnl - Invoke AM_ICONV_LINKFLAGS_BODY here, outside any 'if'.
182 dnl - Control the expansions in more detail using AC_PROVIDE_IFELSE.
183 dnl Since AC_PROVIDE_IFELSE is only in autoconf >= 2.52 and not
184 dnl documented, we avoid it.
185 ifelse(gt_included_intl, yes, , [
186 AC_REQUIRE([AM_ICONV_LINKFLAGS_BODY])
189 dnl Sometimes, on MacOS X, libintl requires linking with CoreFoundation.
195 ifelse(gt_included_intl, yes, [
196 BUILD_INCLUDED_LIBINTL=no
197 USE_INCLUDED_LIBINTL=no
203 dnl Add a version number to the cache macros.
204 case " $gt_needs " in
205 *" need-formatstring-macros "*) gt_api_version=3 ;;
206 *" need-ngettext "*) gt_api_version=2 ;;
207 *) gt_api_version=1 ;;
209 gt_func_gnugettext_libc="gt_cv_func_gnugettext${gt_api_version}_libc"
210 gt_func_gnugettext_libintl="gt_cv_func_gnugettext${gt_api_version}_libintl"
212 dnl If we use NLS figure out what method
213 if test "$USE_NLS" = "yes"; then
214 gt_use_preinstalled_gnugettext=no
215 ifelse(gt_included_intl, yes, [
216 AC_MSG_CHECKING([whether included gettext is requested])
217 AC_ARG_WITH([included-gettext],
218 [ --with-included-gettext use the GNU gettext library included here],
219 nls_cv_force_use_gnu_gettext=$withval,
220 nls_cv_force_use_gnu_gettext=no)
221 AC_MSG_RESULT([$nls_cv_force_use_gnu_gettext])
223 nls_cv_use_gnu_gettext="$nls_cv_force_use_gnu_gettext"
224 if test "$nls_cv_force_use_gnu_gettext" != "yes"; then
226 dnl User does not insist on using GNU NLS library. Figure out what
227 dnl to use. If GNU gettext is available we use this. Else we have
228 dnl to fall back to GNU NLS library.
230 if test $gt_api_version -ge 3; then
231 gt_revision_test_code='
232 #ifndef __GNU_GETTEXT_SUPPORTED_REVISION
233 #define __GNU_GETTEXT_SUPPORTED_REVISION(major) ((major) == 0 ? 0 : -1)
236 typedef int array [2 * (__GNU_GETTEXT_SUPPORTED_REVISION(0) >= 1) - 1];
240 gt_revision_test_code=
242 if test $gt_api_version -ge 2; then
243 gt_expression_test_code=' + * ngettext ("", "", 0)'
245 gt_expression_test_code=
248 AC_CACHE_CHECK([for GNU gettext in libc], [$gt_func_gnugettext_libc],
249 [AC_TRY_LINK([#include <libintl.h>
250 $gt_revision_test_code
251 extern int _nl_msg_cat_cntr;
252 extern int *_nl_domain_bindings;],
253 [bindtextdomain ("", "");
254 return * gettext ("")$gt_expression_test_code + _nl_msg_cat_cntr + *_nl_domain_bindings],
255 [eval "$gt_func_gnugettext_libc=yes"],
256 [eval "$gt_func_gnugettext_libc=no"])])
258 if { eval "gt_val=\$$gt_func_gnugettext_libc"; test "$gt_val" != "yes"; }; then
259 dnl Sometimes libintl requires libiconv, so first search for libiconv.
260 ifelse(gt_included_intl, yes, , [
263 dnl Search for libintl and define LIBINTL, LTLIBINTL and INCINTL
264 dnl accordingly. Don't use AC_LIB_LINKFLAGS_BODY([intl],[iconv])
265 dnl because that would add "-liconv" to LIBINTL and LTLIBINTL
266 dnl even if libiconv doesn't exist.
267 AC_LIB_LINKFLAGS_BODY([intl])
268 AC_CACHE_CHECK([for GNU gettext in libintl],
269 [$gt_func_gnugettext_libintl],
270 [gt_save_CPPFLAGS="$CPPFLAGS"
271 CPPFLAGS="$CPPFLAGS $INCINTL"
273 LIBS="$LIBS $LIBINTL"
274 dnl Now see whether libintl exists and does not depend on libiconv.
275 AC_TRY_LINK([#include <libintl.h>
276 $gt_revision_test_code
277 extern int _nl_msg_cat_cntr;
282 const char *_nl_expand_alias (const char *);],
283 [bindtextdomain ("", "");
284 return * gettext ("")$gt_expression_test_code + _nl_msg_cat_cntr + *_nl_expand_alias ("")],
285 [eval "$gt_func_gnugettext_libintl=yes"],
286 [eval "$gt_func_gnugettext_libintl=no"])
287 dnl Now see whether libintl exists and depends on libiconv.
288 if { eval "gt_val=\$$gt_func_gnugettext_libintl"; test "$gt_val" != yes; } && test -n "$LIBICONV"; then
289 LIBS="$LIBS $LIBICONV"
290 AC_TRY_LINK([#include <libintl.h>
291 $gt_revision_test_code
292 extern int _nl_msg_cat_cntr;
297 const char *_nl_expand_alias (const char *);],
298 [bindtextdomain ("", "");
299 return * gettext ("")$gt_expression_test_code + _nl_msg_cat_cntr + *_nl_expand_alias ("")],
300 [LIBINTL="$LIBINTL $LIBICONV"
301 LTLIBINTL="$LTLIBINTL $LTLIBICONV"
302 eval "$gt_func_gnugettext_libintl=yes"
305 CPPFLAGS="$gt_save_CPPFLAGS"
306 LIBS="$gt_save_LIBS"])
309 dnl If an already present or preinstalled GNU gettext() is found,
310 dnl use it. But if this macro is used in GNU gettext, and GNU
311 dnl gettext is already preinstalled in libintl, we update this
312 dnl libintl. (Cf. the install rule in intl/Makefile.in.)
313 if { eval "gt_val=\$$gt_func_gnugettext_libc"; test "$gt_val" = "yes"; } \
314 || { { eval "gt_val=\$$gt_func_gnugettext_libintl"; test "$gt_val" = "yes"; } \
315 && test "$PACKAGE" != gettext-runtime \
316 && test "$PACKAGE" != gettext-tools; }; then
317 gt_use_preinstalled_gnugettext=yes
319 dnl Reset the values set by searching for libintl.
325 ifelse(gt_included_intl, yes, [
326 if test "$gt_use_preinstalled_gnugettext" != "yes"; then
327 dnl GNU gettext is not found in the C library.
328 dnl Fall back on included GNU gettext library.
329 nls_cv_use_gnu_gettext=yes
333 if test "$nls_cv_use_gnu_gettext" = "yes"; then
334 dnl Mark actions used to generate GNU NLS library.
335 BUILD_INCLUDED_LIBINTL=yes
336 USE_INCLUDED_LIBINTL=yes
337 LIBINTL="ifelse([$3],[],\${top_builddir}/intl,[$3])/libintl.[]gt_libtool_suffix_prefix[]a $LIBICONV $LIBTHREAD"
338 LTLIBINTL="ifelse([$3],[],\${top_builddir}/intl,[$3])/libintl.[]gt_libtool_suffix_prefix[]a $LTLIBICONV $LTLIBTHREAD"
339 LIBS=`echo " $LIBS " | sed -e 's/ -lintl / /' -e 's/^ //' -e 's/ $//'`
343 if test "$gt_use_preinstalled_gnugettext" = "yes" \
344 || test "$nls_cv_use_gnu_gettext" = "yes"; then
345 dnl Mark actions to use GNU gettext tools.
350 if test -n "$INTL_MACOSX_LIBS"; then
351 if test "$gt_use_preinstalled_gnugettext" = "yes" \
352 || test "$nls_cv_use_gnu_gettext" = "yes"; then
353 dnl Some extra flags are needed during linking.
354 LIBINTL="$LIBINTL $INTL_MACOSX_LIBS"
355 LTLIBINTL="$LTLIBINTL $INTL_MACOSX_LIBS"
359 if test "$gt_use_preinstalled_gnugettext" = "yes" \
360 || test "$nls_cv_use_gnu_gettext" = "yes"; then
361 AC_DEFINE([ENABLE_NLS], [1],
362 [Define to 1 if translation of program messages to the user's native language
369 AC_MSG_CHECKING([whether to use NLS])
370 AC_MSG_RESULT([$USE_NLS])
371 if test "$USE_NLS" = "yes"; then
372 AC_MSG_CHECKING([where the gettext function comes from])
373 if test "$gt_use_preinstalled_gnugettext" = "yes"; then
374 if { eval "gt_val=\$$gt_func_gnugettext_libintl"; test "$gt_val" = "yes"; }; then
375 gt_source="external libintl"
380 gt_source="included intl directory"
382 AC_MSG_RESULT([$gt_source])
385 if test "$USE_NLS" = "yes"; then
387 if test "$gt_use_preinstalled_gnugettext" = "yes"; then
388 if { eval "gt_val=\$$gt_func_gnugettext_libintl"; test "$gt_val" = "yes"; }; then
389 AC_MSG_CHECKING([how to link with libintl])
390 AC_MSG_RESULT([$LIBINTL])
391 AC_LIB_APPENDTOVAR([CPPFLAGS], [$INCINTL])
394 dnl For backward compatibility. Some packages may be using this.
395 AC_DEFINE([HAVE_GETTEXT], [1],
396 [Define if the GNU gettext() function is already present or preinstalled.])
397 AC_DEFINE([HAVE_DCGETTEXT], [1],
398 [Define if the GNU dcgettext() function is already present or preinstalled.])
401 dnl We need to process the po/ directory.
405 ifelse(gt_included_intl, yes, [
406 dnl If this is used in GNU gettext we have to set BUILD_INCLUDED_LIBINTL
407 dnl to 'yes' because some of the testsuite requires it.
408 if test "$PACKAGE" = gettext-runtime || test "$PACKAGE" = gettext-tools; then
409 BUILD_INCLUDED_LIBINTL=yes
412 dnl Make all variables we use known to autoconf.
413 AC_SUBST([BUILD_INCLUDED_LIBINTL])
414 AC_SUBST([USE_INCLUDED_LIBINTL])
415 AC_SUBST([CATOBJEXT])
417 dnl For backward compatibility. Some configure.ins may be using this.
421 dnl For backward compatibility. Some Makefiles may be using this.
423 AC_SUBST([DATADIRNAME])
425 dnl For backward compatibility. Some Makefiles may be using this.
427 AC_SUBST([INSTOBJEXT])
429 dnl For backward compatibility. Some Makefiles may be using this.
433 dnl For backward compatibility. Some Makefiles may be using this.
435 if test "$USE_INCLUDED_LIBINTL" = yes; then
436 INTLOBJS="\$(GETTOBJS)"
440 dnl Enable libtool support if the surrounding package wishes it.
441 INTL_LIBTOOL_SUFFIX_PREFIX=gt_libtool_suffix_prefix
442 AC_SUBST([INTL_LIBTOOL_SUFFIX_PREFIX])
445 dnl For backward compatibility. Some Makefiles may be using this.
449 dnl Make all documented variables known to autoconf.
451 AC_SUBST([LTLIBINTL])
454 m4trace:/usr/share/aclocal/gettext.m4:376: -1- AC_DEFUN([AM_GNU_GETTEXT_NEED], [
455 m4_divert_text([INIT_PREPARE], [gt_needs="$gt_needs $1"])
457 m4trace:/usr/share/aclocal/gettext.m4:383: -1- AC_DEFUN([AM_GNU_GETTEXT_VERSION], [])
458 m4trace:/usr/share/aclocal/glibc2.m4:10: -1- AC_DEFUN([gt_GLIBC2], [
459 AC_CACHE_CHECK([whether we are using the GNU C Library 2 or newer],
460 [ac_cv_gnu_library_2],
461 [AC_EGREP_CPP([Lucky GNU user],
463 #include <features.h>
464 #ifdef __GNU_LIBRARY__
470 [ac_cv_gnu_library_2=yes],
471 [ac_cv_gnu_library_2=no])
475 GLIBC2="$ac_cv_gnu_library_2"
478 m4trace:/usr/share/aclocal/glibc21.m4:10: -1- AC_DEFUN([gl_GLIBC21], [
479 AC_CACHE_CHECK([whether we are using the GNU C Library 2.1 or newer],
480 [ac_cv_gnu_library_2_1],
481 [AC_EGREP_CPP([Lucky GNU user],
483 #include <features.h>
484 #ifdef __GNU_LIBRARY__
485 #if (__GLIBC__ == 2 && __GLIBC_MINOR__ >= 1) || (__GLIBC__ > 2)
490 [ac_cv_gnu_library_2_1=yes],
491 [ac_cv_gnu_library_2_1=no])
495 GLIBC21="$ac_cv_gnu_library_2_1"
498 m4trace:/usr/share/aclocal/iconv.m4:9: -1- AC_DEFUN([AM_ICONV_LINKFLAGS_BODY], [
499 dnl Prerequisites of AC_LIB_LINKFLAGS_BODY.
500 AC_REQUIRE([AC_LIB_PREPARE_PREFIX])
501 AC_REQUIRE([AC_LIB_RPATH])
503 dnl Search for libiconv and define LIBICONV, LTLIBICONV and INCICONV
505 AC_LIB_LINKFLAGS_BODY([iconv])
507 m4trace:/usr/share/aclocal/iconv.m4:20: -1- AC_DEFUN([AM_ICONV_LINK], [
508 dnl Some systems have iconv in libc, some have it in libiconv (OSF/1 and
509 dnl those with the standalone portable GNU libiconv installed).
510 AC_REQUIRE([AC_CANONICAL_HOST]) dnl for cross-compiles
512 dnl Search for libiconv and define LIBICONV, LTLIBICONV and INCICONV
514 AC_REQUIRE([AM_ICONV_LINKFLAGS_BODY])
516 dnl Add $INCICONV to CPPFLAGS before performing the following checks,
517 dnl because if the user has installed libiconv and not disabled its use
518 dnl via --without-libiconv-prefix, he wants to use it. The first
519 dnl AC_TRY_LINK will then fail, the second AC_TRY_LINK will succeed.
520 am_save_CPPFLAGS="$CPPFLAGS"
521 AC_LIB_APPENDTOVAR([CPPFLAGS], [$INCICONV])
523 AC_CACHE_CHECK([for iconv], [am_cv_func_iconv], [
524 am_cv_func_iconv="no, consider installing GNU libiconv"
526 AC_TRY_LINK([#include <stdlib.h>
528 [iconv_t cd = iconv_open("","");
529 iconv(cd,NULL,NULL,NULL,NULL);
531 [am_cv_func_iconv=yes])
532 if test "$am_cv_func_iconv" != yes; then
534 LIBS="$LIBS $LIBICONV"
535 AC_TRY_LINK([#include <stdlib.h>
537 [iconv_t cd = iconv_open("","");
538 iconv(cd,NULL,NULL,NULL,NULL);
540 [am_cv_lib_iconv=yes]
541 [am_cv_func_iconv=yes])
545 if test "$am_cv_func_iconv" = yes; then
546 AC_CACHE_CHECK([for working iconv], [am_cv_func_iconv_works], [
547 dnl This tests against bugs in AIX 5.1, HP-UX 11.11, Solaris 10.
549 if test $am_cv_lib_iconv = yes; then
550 LIBS="$LIBS $LIBICONV"
557 /* Test against AIX 5.1 bug: Failures are not distinguishable from successful
560 iconv_t cd_utf8_to_88591 = iconv_open ("ISO8859-1", "UTF-8");
561 if (cd_utf8_to_88591 != (iconv_t)(-1))
563 static const char input[] = "\342\202\254"; /* EURO SIGN */
565 const char *inptr = input;
566 size_t inbytesleft = strlen (input);
568 size_t outbytesleft = sizeof (buf);
569 size_t res = iconv (cd_utf8_to_88591,
570 (char **) &inptr, &inbytesleft,
571 &outptr, &outbytesleft);
576 /* Test against Solaris 10 bug: Failures are not distinguishable from
577 successful returns. */
579 iconv_t cd_ascii_to_88591 = iconv_open ("ISO8859-1", "646");
580 if (cd_ascii_to_88591 != (iconv_t)(-1))
582 static const char input[] = "\263";
584 const char *inptr = input;
585 size_t inbytesleft = strlen (input);
587 size_t outbytesleft = sizeof (buf);
588 size_t res = iconv (cd_ascii_to_88591,
589 (char **) &inptr, &inbytesleft,
590 &outptr, &outbytesleft);
595 #if 0 /* This bug could be worked around by the caller. */
596 /* Test against HP-UX 11.11 bug: Positive return value instead of 0. */
598 iconv_t cd_88591_to_utf8 = iconv_open ("utf8", "iso88591");
599 if (cd_88591_to_utf8 != (iconv_t)(-1))
601 static const char input[] = "\304rger mit b\366sen B\374bchen ohne Augenma\337";
603 const char *inptr = input;
604 size_t inbytesleft = strlen (input);
606 size_t outbytesleft = sizeof (buf);
607 size_t res = iconv (cd_88591_to_utf8,
608 (char **) &inptr, &inbytesleft,
609 &outptr, &outbytesleft);
615 /* Test against HP-UX 11.11 bug: No converter from EUC-JP to UTF-8 is
617 if (/* Try standardized names. */
618 iconv_open ("UTF-8", "EUC-JP") == (iconv_t)(-1)
619 /* Try IRIX, OSF/1 names. */
620 && iconv_open ("UTF-8", "eucJP") == (iconv_t)(-1)
622 && iconv_open ("UTF-8", "IBM-eucJP") == (iconv_t)(-1)
623 /* Try HP-UX names. */
624 && iconv_open ("utf8", "eucJP") == (iconv_t)(-1))
627 }], [am_cv_func_iconv_works=yes], [am_cv_func_iconv_works=no],
629 aix* | hpux*) am_cv_func_iconv_works="guessing no" ;;
630 *) am_cv_func_iconv_works="guessing yes" ;;
634 case "$am_cv_func_iconv_works" in
635 *no) am_func_iconv=no am_cv_lib_iconv=no ;;
636 *) am_func_iconv=yes ;;
639 am_func_iconv=no am_cv_lib_iconv=no
641 if test "$am_func_iconv" = yes; then
642 AC_DEFINE([HAVE_ICONV], [1],
643 [Define if you have the iconv() function and it works.])
645 if test "$am_cv_lib_iconv" = yes; then
646 AC_MSG_CHECKING([how to link with libiconv])
647 AC_MSG_RESULT([$LIBICONV])
649 dnl If $LIBICONV didn't lead to a usable library, we don't need $INCICONV
651 CPPFLAGS="$am_save_CPPFLAGS"
656 AC_SUBST([LTLIBICONV])
658 m4trace:/usr/share/aclocal/iconv.m4:188: -1- AC_DEFUN_ONCE([AM_ICONV], [
660 if test "$am_cv_func_iconv" = yes; then
661 AC_MSG_CHECKING([for iconv declaration])
662 AC_CACHE_VAL([am_cv_proto_iconv], [
670 #if defined(__STDC__) || defined(__cplusplus)
671 size_t iconv (iconv_t cd, char * *inbuf, size_t *inbytesleft, char * *outbuf, size_t *outbytesleft);
675 ], [], [am_cv_proto_iconv_arg1=""], [am_cv_proto_iconv_arg1="const"])
676 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);"])
677 am_cv_proto_iconv=`echo "[$]am_cv_proto_iconv" | tr -s ' ' | sed -e 's/( /(/'`
680 AC_DEFINE_UNQUOTED([ICONV_CONST], [$am_cv_proto_iconv_arg1],
681 [Define as const if the declaration of iconv() needs const.])
684 m4trace:/usr/share/aclocal/intdiv0.m4:9: -1- AC_DEFUN([gt_INTDIV0], [
685 AC_REQUIRE([AC_PROG_CC])dnl
686 AC_REQUIRE([AC_CANONICAL_HOST])dnl
688 AC_CACHE_CHECK([whether integer division by zero raises SIGFPE],
689 gt_cv_int_divbyzero_sigfpe,
691 gt_cv_int_divbyzero_sigfpe=
694 macos* | darwin[6-9]* | darwin[1-9][0-9]*)
695 # On MacOS X 10.2 or newer, just assume the same as when cross-
696 # compiling. If we were to perform the real test, 1 Crash Report
697 # dialog window would pop up.
700 gt_cv_int_divbyzero_sigfpe="guessing yes" ;;
705 if test -z "$gt_cv_int_divbyzero_sigfpe"; then
711 sigfpe_handler (int sig)
713 /* Exit with code 0 if SIGFPE, with code 1 if any other signal. */
714 exit (sig != SIGFPE);
724 signal (SIGFPE, sigfpe_handler);
725 /* IRIX and AIX (when "xlc -qcheck" is used) yield signal SIGTRAP. */
726 #if (defined (__sgi) || defined (_AIX)) && defined (SIGTRAP)
727 signal (SIGTRAP, sigfpe_handler);
729 /* Linux/SPARC yields signal SIGILL. */
730 #if defined (__sparc__) && defined (__linux__)
731 signal (SIGILL, sigfpe_handler);
738 ], [gt_cv_int_divbyzero_sigfpe=yes], [gt_cv_int_divbyzero_sigfpe=no],
740 # Guess based on the CPU.
743 alpha* | i[34567]86 | x86_64 | m68k | s390*)
744 gt_cv_int_divbyzero_sigfpe="guessing yes";;
746 gt_cv_int_divbyzero_sigfpe="guessing no";;
752 case "$gt_cv_int_divbyzero_sigfpe" in
756 AC_DEFINE_UNQUOTED([INTDIV0_RAISES_SIGFPE], [$value],
757 [Define if integer division by zero raises signal SIGFPE.])
759 m4trace:/usr/share/aclocal/intl.m4:25: -1- AC_DEFUN([AM_INTL_SUBDIR], [
760 AC_REQUIRE([AC_PROG_INSTALL])dnl
761 AC_REQUIRE([AM_PROG_MKDIR_P])dnl defined by automake
762 AC_REQUIRE([AC_PROG_CC])dnl
763 AC_REQUIRE([AC_CANONICAL_HOST])dnl
764 AC_REQUIRE([gt_GLIBC2])dnl
765 AC_REQUIRE([AC_PROG_RANLIB])dnl
766 AC_REQUIRE([gl_VISIBILITY])dnl
767 AC_REQUIRE([gt_INTL_SUBDIR_CORE])dnl
768 AC_REQUIRE([AC_TYPE_LONG_LONG_INT])dnl
769 AC_REQUIRE([gt_TYPE_WCHAR_T])dnl
770 AC_REQUIRE([gt_TYPE_WINT_T])dnl
771 AC_REQUIRE([gl_AC_HEADER_INTTYPES_H])
772 AC_REQUIRE([gt_TYPE_INTMAX_T])
773 AC_REQUIRE([gt_PRINTF_POSIX])
774 AC_REQUIRE([gl_GLIBC21])dnl
775 AC_REQUIRE([gl_XSIZE])dnl
776 AC_REQUIRE([gl_FCNTL_O_FLAGS])dnl
777 AC_REQUIRE([gt_INTL_MACOSX])dnl
779 dnl Support for automake's --enable-silent-rules.
780 case "$enable_silent_rules" in
781 yes) INTL_DEFAULT_VERBOSITY=0;;
782 no) INTL_DEFAULT_VERBOSITY=1;;
783 *) INTL_DEFAULT_VERBOSITY=1;;
785 AC_SUBST([INTL_DEFAULT_VERBOSITY])
787 AC_CHECK_TYPE([ptrdiff_t], ,
788 [AC_DEFINE([ptrdiff_t], [long],
789 [Define as the type of the result of subtracting two pointers, if the system doesn't define it.])
791 AC_CHECK_HEADERS([stddef.h stdlib.h string.h])
792 AC_CHECK_FUNCS([asprintf fwprintf newlocale putenv setenv setlocale \
793 snprintf strnlen wcslen wcsnlen mbrtowc wcrtomb])
795 dnl Use the _snprintf function only if it is declared (because on NetBSD it
796 dnl is defined as a weak alias of snprintf; we prefer to use the latter).
797 gt_CHECK_DECL(_snprintf, [#include <stdio.h>])
798 gt_CHECK_DECL(_snwprintf, [#include <stdio.h>])
800 dnl Use the *_unlocked functions only if they are declared.
801 dnl (because some of them were defined without being declared in Solaris
802 dnl 2.5.1 but were removed in Solaris 2.6, whereas we want binaries built
803 dnl on Solaris 2.5.1 to run on Solaris 2.6).
804 dnl Don't use AC_CHECK_DECLS because it isn't supported in autoconf-2.13.
805 gt_CHECK_DECL(getc_unlocked, [#include <stdio.h>])
807 case $gt_cv_func_printf_posix in
808 *yes) HAVE_POSIX_PRINTF=1 ;;
809 *) HAVE_POSIX_PRINTF=0 ;;
811 AC_SUBST([HAVE_POSIX_PRINTF])
812 if test "$ac_cv_func_asprintf" = yes; then
817 AC_SUBST([HAVE_ASPRINTF])
818 if test "$ac_cv_func_snprintf" = yes; then
823 AC_SUBST([HAVE_SNPRINTF])
824 if test "$ac_cv_func_newlocale" = yes; then
829 AC_SUBST([HAVE_NEWLOCALE])
830 if test "$ac_cv_func_wprintf" = yes; then
835 AC_SUBST([HAVE_WPRINTF])
840 dnl Compilation on mingw and Cygwin needs special Makefile rules, because
841 dnl 1. when we install a shared library, we must arrange to export
842 dnl auxiliary pointer variables for every exported variable,
843 dnl 2. when we install a shared library and a static library simultaneously,
844 dnl the include file specifies __declspec(dllimport) and therefore we
845 dnl must arrange to define the auxiliary pointer variables for the
846 dnl exported variables _also_ in the static library.
847 if test "$enable_shared" = yes; then
849 mingw* | cygwin*) is_woe32dll=yes ;;
855 WOE32DLL=$is_woe32dll
858 dnl On mingw and Cygwin, we can activate special Makefile rules which add
859 dnl version information to the shared libraries and executables.
861 mingw* | cygwin*) is_woe32=yes ;;
866 if test $WOE32 = yes; then
867 dnl Check for a program that compiles Windows resource files.
868 AC_CHECK_TOOL([WINDRES], [windres])
871 dnl Determine whether when creating a library, "-lc" should be passed to
872 dnl libtool or not. On many platforms, it is required for the libtool option
873 dnl -no-undefined to work. On HP-UX, however, the -lc - stored by libtool
874 dnl in the *.la files - makes it impossible to create multithreaded programs,
875 dnl because libtool also reorders the -lc to come before the -pthread, and
876 dnl this disables pthread_create() <http://docs.hp.com/en/1896/pthreads.html>.
883 dnl Rename some macros and functions used for locking.
885 #define __libc_lock_t gl_lock_t
886 #define __libc_lock_define gl_lock_define
887 #define __libc_lock_define_initialized gl_lock_define_initialized
888 #define __libc_lock_init gl_lock_init
889 #define __libc_lock_lock gl_lock_lock
890 #define __libc_lock_unlock gl_lock_unlock
891 #define __libc_lock_recursive_t gl_recursive_lock_t
892 #define __libc_lock_define_recursive gl_recursive_lock_define
893 #define __libc_lock_define_initialized_recursive gl_recursive_lock_define_initialized
894 #define __libc_lock_init_recursive gl_recursive_lock_init
895 #define __libc_lock_lock_recursive gl_recursive_lock_lock
896 #define __libc_lock_unlock_recursive gl_recursive_lock_unlock
897 #define glthread_in_use libintl_thread_in_use
898 #define glthread_lock_init_func libintl_lock_init_func
899 #define glthread_lock_lock_func libintl_lock_lock_func
900 #define glthread_lock_unlock_func libintl_lock_unlock_func
901 #define glthread_lock_destroy_func libintl_lock_destroy_func
902 #define glthread_rwlock_init_multithreaded libintl_rwlock_init_multithreaded
903 #define glthread_rwlock_init_func libintl_rwlock_init_func
904 #define glthread_rwlock_rdlock_multithreaded libintl_rwlock_rdlock_multithreaded
905 #define glthread_rwlock_rdlock_func libintl_rwlock_rdlock_func
906 #define glthread_rwlock_wrlock_multithreaded libintl_rwlock_wrlock_multithreaded
907 #define glthread_rwlock_wrlock_func libintl_rwlock_wrlock_func
908 #define glthread_rwlock_unlock_multithreaded libintl_rwlock_unlock_multithreaded
909 #define glthread_rwlock_unlock_func libintl_rwlock_unlock_func
910 #define glthread_rwlock_destroy_multithreaded libintl_rwlock_destroy_multithreaded
911 #define glthread_rwlock_destroy_func libintl_rwlock_destroy_func
912 #define glthread_recursive_lock_init_multithreaded libintl_recursive_lock_init_multithreaded
913 #define glthread_recursive_lock_init_func libintl_recursive_lock_init_func
914 #define glthread_recursive_lock_lock_multithreaded libintl_recursive_lock_lock_multithreaded
915 #define glthread_recursive_lock_lock_func libintl_recursive_lock_lock_func
916 #define glthread_recursive_lock_unlock_multithreaded libintl_recursive_lock_unlock_multithreaded
917 #define glthread_recursive_lock_unlock_func libintl_recursive_lock_unlock_func
918 #define glthread_recursive_lock_destroy_multithreaded libintl_recursive_lock_destroy_multithreaded
919 #define glthread_recursive_lock_destroy_func libintl_recursive_lock_destroy_func
920 #define glthread_once_func libintl_once_func
921 #define glthread_once_singlethreaded libintl_once_singlethreaded
922 #define glthread_once_multithreaded libintl_once_multithreaded
925 m4trace:/usr/share/aclocal/intl.m4:211: -1- AC_DEFUN([gt_INTL_SUBDIR_CORE], [
926 AC_REQUIRE([AC_C_INLINE])dnl
927 AC_REQUIRE([AC_TYPE_SIZE_T])dnl
928 AC_REQUIRE([gl_AC_HEADER_STDINT_H])
929 AC_REQUIRE([AC_FUNC_ALLOCA])dnl
930 AC_REQUIRE([AC_FUNC_MMAP])dnl
931 AC_REQUIRE([gt_INTDIV0])dnl
932 AC_REQUIRE([gl_AC_TYPE_UINTMAX_T])dnl
933 AC_REQUIRE([gt_INTTYPES_PRI])dnl
934 AC_REQUIRE([gl_LOCK])dnl
937 [int foo (int a) { a = __builtin_expect (a, 10); return a == 10 ? 0 : 1; }],
939 [AC_DEFINE([HAVE_BUILTIN_EXPECT], [1],
940 [Define to 1 if the compiler understands __builtin_expect.])])
942 AC_CHECK_HEADERS([argz.h inttypes.h limits.h unistd.h sys/param.h])
943 AC_CHECK_FUNCS([getcwd getegid geteuid getgid getuid mempcpy munmap \
944 stpcpy strcasecmp strdup strtoul tsearch uselocale argz_count \
945 argz_stringify argz_next __fsetlocking])
947 dnl Use the *_unlocked functions only if they are declared.
948 dnl (because some of them were defined without being declared in Solaris
949 dnl 2.5.1 but were removed in Solaris 2.6, whereas we want binaries built
950 dnl on Solaris 2.5.1 to run on Solaris 2.6).
951 dnl Don't use AC_CHECK_DECLS because it isn't supported in autoconf-2.13.
952 gt_CHECK_DECL([feof_unlocked], [#include <stdio.h>])
953 gt_CHECK_DECL([fgets_unlocked], [#include <stdio.h>])
957 dnl intl/plural.c is generated from intl/plural.y. It requires bison,
958 dnl because plural.y uses bison specific features. It requires at least
959 dnl bison-1.26 because earlier versions generate a plural.c that doesn't
961 dnl bison is only needed for the maintainer (who touches plural.y). But in
962 dnl order to avoid separate Makefiles or --enable-maintainer-mode, we put
963 dnl the rule in general Makefile. Now, some people carelessly touch the
964 dnl files or have a broken "make" program, hence the plural.c rule will
965 dnl sometimes fire. To avoid an error, defines BISON to ":" if it is not
966 dnl present or too old.
967 AC_CHECK_PROGS([INTLBISON], [bison])
968 if test -z "$INTLBISON"; then
971 dnl Found it, now check the version.
972 AC_MSG_CHECKING([version of bison])
973 changequote(<<,>>)dnl
974 ac_prog_version=`$INTLBISON --version 2>&1 | sed -n 's/^.*GNU Bison.* \([0-9]*\.[0-9.]*\).*$/\1/p'`
975 case $ac_prog_version in
976 '') ac_prog_version="v. ?.??, bad"; ac_verc_fail=yes;;
977 1.2[6-9]* | 1.[3-9][0-9]* | [2-9].*)
979 ac_prog_version="$ac_prog_version, ok"; ac_verc_fail=no;;
980 *) ac_prog_version="$ac_prog_version, bad"; ac_verc_fail=yes;;
982 AC_MSG_RESULT([$ac_prog_version])
984 if test $ac_verc_fail = yes; then
988 m4trace:/usr/share/aclocal/intl.m4:279: -1- AC_DEFUN([gt_CHECK_DECL], [
989 AC_CACHE_CHECK([whether $1 is declared], [ac_cv_have_decl_$1],
990 [AC_TRY_COMPILE([$2], [
992 char *p = (char *) $1;
994 ], ac_cv_have_decl_$1=yes, ac_cv_have_decl_$1=no)])
995 if test $ac_cv_have_decl_$1 = yes; then
1000 AC_DEFINE_UNQUOTED([HAVE_DECL_]translit($1, [a-z], [A-Z]), [$gt_value],
1001 [Define to 1 if you have the declaration of `$1', and to 0 if you don't.])
1003 m4trace:/usr/share/aclocal/intlmacosx.m4:18: -1- AC_DEFUN([gt_INTL_MACOSX], [
1004 dnl Check for API introduced in MacOS X 10.2.
1005 AC_CACHE_CHECK([for CFPreferencesCopyAppValue],
1006 [gt_cv_func_CFPreferencesCopyAppValue],
1007 [gt_save_LIBS="$LIBS"
1008 LIBS="$LIBS -Wl,-framework -Wl,CoreFoundation"
1009 AC_TRY_LINK([#include <CoreFoundation/CFPreferences.h>],
1010 [CFPreferencesCopyAppValue(NULL, NULL)],
1011 [gt_cv_func_CFPreferencesCopyAppValue=yes],
1012 [gt_cv_func_CFPreferencesCopyAppValue=no])
1013 LIBS="$gt_save_LIBS"])
1014 if test $gt_cv_func_CFPreferencesCopyAppValue = yes; then
1015 AC_DEFINE([HAVE_CFPREFERENCESCOPYAPPVALUE], [1],
1016 [Define to 1 if you have the MacOS X function CFPreferencesCopyAppValue in the CoreFoundation framework.])
1018 dnl Check for API introduced in MacOS X 10.3.
1019 AC_CACHE_CHECK([for CFLocaleCopyCurrent], [gt_cv_func_CFLocaleCopyCurrent],
1020 [gt_save_LIBS="$LIBS"
1021 LIBS="$LIBS -Wl,-framework -Wl,CoreFoundation"
1022 AC_TRY_LINK([#include <CoreFoundation/CFLocale.h>], [CFLocaleCopyCurrent();],
1023 [gt_cv_func_CFLocaleCopyCurrent=yes],
1024 [gt_cv_func_CFLocaleCopyCurrent=no])
1025 LIBS="$gt_save_LIBS"])
1026 if test $gt_cv_func_CFLocaleCopyCurrent = yes; then
1027 AC_DEFINE([HAVE_CFLOCALECOPYCURRENT], [1],
1028 [Define to 1 if you have the MacOS X function CFLocaleCopyCurrent in the CoreFoundation framework.])
1031 if test $gt_cv_func_CFPreferencesCopyAppValue = yes || test $gt_cv_func_CFLocaleCopyCurrent = yes; then
1032 INTL_MACOSX_LIBS="-Wl,-framework -Wl,CoreFoundation"
1034 AC_SUBST([INTL_MACOSX_LIBS])
1036 m4trace:/usr/share/aclocal/intmax.m4:11: -1- AC_DEFUN([gt_TYPE_INTMAX_T], [
1037 AC_REQUIRE([gl_AC_HEADER_INTTYPES_H])
1038 AC_REQUIRE([gl_AC_HEADER_STDINT_H])
1039 AC_CACHE_CHECK([for intmax_t], [gt_cv_c_intmax_t],
1043 #if HAVE_STDINT_H_WITH_UINTMAX
1046 #if HAVE_INTTYPES_H_WITH_UINTMAX
1047 #include <inttypes.h>
1049 ], [intmax_t x = -1;
1051 [gt_cv_c_intmax_t=yes],
1052 [gt_cv_c_intmax_t=no])])
1053 if test $gt_cv_c_intmax_t = yes; then
1054 AC_DEFINE([HAVE_INTMAX_T], [1],
1055 [Define if you have the 'intmax_t' type in <stdint.h> or <inttypes.h>.])
1058 m4trace:/usr/share/aclocal/inttypes-pri.m4:14: -1- AC_DEFUN([gt_INTTYPES_PRI], [
1059 AC_CHECK_HEADERS([inttypes.h])
1060 if test $ac_cv_header_inttypes_h = yes; then
1061 AC_CACHE_CHECK([whether the inttypes.h PRIxNN macros are broken],
1062 [gt_cv_inttypes_pri_broken],
1064 AC_TRY_COMPILE([#include <inttypes.h>
1068 ], [], [gt_cv_inttypes_pri_broken=no], [gt_cv_inttypes_pri_broken=yes])
1071 if test "$gt_cv_inttypes_pri_broken" = yes; then
1072 AC_DEFINE_UNQUOTED([PRI_MACROS_BROKEN], [1],
1073 [Define if <inttypes.h> exists and defines unusable PRI* macros.])
1078 AC_SUBST([PRI_MACROS_BROKEN])
1080 m4trace:/usr/share/aclocal/inttypes_h.m4:12: -1- AC_DEFUN([gl_AC_HEADER_INTTYPES_H], [
1081 AC_CACHE_CHECK([for inttypes.h], [gl_cv_header_inttypes_h],
1083 [#include <sys/types.h>
1084 #include <inttypes.h>],
1085 [uintmax_t i = (uintmax_t) -1; return !i;],
1086 [gl_cv_header_inttypes_h=yes],
1087 [gl_cv_header_inttypes_h=no])])
1088 if test $gl_cv_header_inttypes_h = yes; then
1089 AC_DEFINE_UNQUOTED([HAVE_INTTYPES_H_WITH_UINTMAX], [1],
1090 [Define if <inttypes.h> exists, doesn't clash with <sys/types.h>,
1091 and declares uintmax_t. ])
1094 m4trace:/usr/share/aclocal/lcmessage.m4:22: -1- AC_DEFUN([gt_LC_MESSAGES], [
1095 AC_CACHE_CHECK([for LC_MESSAGES], [gt_cv_val_LC_MESSAGES],
1096 [AC_TRY_LINK([#include <locale.h>], [return LC_MESSAGES],
1097 [gt_cv_val_LC_MESSAGES=yes], [gt_cv_val_LC_MESSAGES=no])])
1098 if test $gt_cv_val_LC_MESSAGES = yes; then
1099 AC_DEFINE([HAVE_LC_MESSAGES], [1],
1100 [Define if your <locale.h> file defines LC_MESSAGES.])
1103 m4trace:/usr/share/aclocal/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],
1104 [# I'd rather use --version here, but apparently some GNU ld's only accept -v.
1105 case `$LD -v 2>&1 </dev/null` in
1106 *GNU* | *'with BFD'*)
1107 acl_cv_prog_gnu_ld=yes ;;
1109 acl_cv_prog_gnu_ld=no ;;
1111 with_gnu_ld=$acl_cv_prog_gnu_ld
1113 m4trace:/usr/share/aclocal/lib-ld.m4:25: -1- AC_DEFUN([AC_LIB_PROG_LD], [AC_ARG_WITH([gnu-ld],
1114 [ --with-gnu-ld assume the C compiler uses GNU ld [default=no]],
1115 test "$withval" = no || with_gnu_ld=yes, with_gnu_ld=no)
1116 AC_REQUIRE([AC_PROG_CC])dnl
1117 AC_REQUIRE([AC_CANONICAL_HOST])dnl
1118 # Prepare PATH_SEPARATOR.
1119 # The user is always right.
1120 if test "${PATH_SEPARATOR+set}" != set; then
1121 echo "#! /bin/sh" >conf$$.sh
1122 echo "exit 0" >>conf$$.sh
1124 if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
1132 if test "$GCC" = yes; then
1133 # Check if gcc -print-prog-name=ld gives a path.
1134 AC_MSG_CHECKING([for ld used by GCC])
1137 # gcc leaves a trailing carriage return which upsets mingw
1138 ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
1140 ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
1143 # Accept absolute paths.
1144 [[\\/]* | [A-Za-z]:[\\/]*)]
1145 [re_direlt='/[^/][^/]*/\.\./']
1146 # Canonicalize the path of ld
1147 ac_prog=`echo $ac_prog| sed 's%\\\\%/%g'`
1148 while echo $ac_prog | grep "$re_direlt" > /dev/null 2>&1; do
1149 ac_prog=`echo $ac_prog| sed "s%$re_direlt%/%"`
1151 test -z "$LD" && LD="$ac_prog"
1154 # If it fails, then pretend we aren't using GCC.
1158 # If it is relative, then search for the first ld in PATH.
1162 elif test "$with_gnu_ld" = yes; then
1163 AC_MSG_CHECKING([for GNU ld])
1165 AC_MSG_CHECKING([for non-GNU ld])
1167 AC_CACHE_VAL([acl_cv_path_LD],
1168 [if test -z "$LD"; then
1169 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}${PATH_SEPARATOR-:}"
1170 for ac_dir in $PATH; do
1171 test -z "$ac_dir" && ac_dir=.
1172 if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
1173 acl_cv_path_LD="$ac_dir/$ac_prog"
1174 # Check to see if the program is GNU ld. I'd rather use --version,
1175 # but apparently some GNU ld's only accept -v.
1176 # Break only if it was the GNU/non-GNU ld that we prefer.
1177 case `"$acl_cv_path_LD" -v 2>&1 < /dev/null` in
1178 *GNU* | *'with BFD'*)
1179 test "$with_gnu_ld" != no && break ;;
1181 test "$with_gnu_ld" != yes && break ;;
1187 acl_cv_path_LD="$LD" # Let the user override the test with a path.
1189 LD="$acl_cv_path_LD"
1190 if test -n "$LD"; then
1191 AC_MSG_RESULT([$LD])
1195 test -z "$LD" && AC_MSG_ERROR([no acceptable ld found in \$PATH])
1198 m4trace:/usr/share/aclocal/lib-link.m4:17: -1- AC_DEFUN([AC_LIB_LINKFLAGS], [
1199 AC_REQUIRE([AC_LIB_PREPARE_PREFIX])
1200 AC_REQUIRE([AC_LIB_RPATH])
1201 pushdef([Name],[translit([$1],[./-], [___])])
1202 pushdef([NAME],[translit([$1],[abcdefghijklmnopqrstuvwxyz./-],
1203 [ABCDEFGHIJKLMNOPQRSTUVWXYZ___])])
1204 AC_CACHE_CHECK([how to link with lib[]$1], [ac_cv_lib[]Name[]_libs], [
1205 AC_LIB_LINKFLAGS_BODY([$1], [$2])
1206 ac_cv_lib[]Name[]_libs="$LIB[]NAME"
1207 ac_cv_lib[]Name[]_ltlibs="$LTLIB[]NAME"
1208 ac_cv_lib[]Name[]_cppflags="$INC[]NAME"
1209 ac_cv_lib[]Name[]_prefix="$LIB[]NAME[]_PREFIX"
1211 LIB[]NAME="$ac_cv_lib[]Name[]_libs"
1212 LTLIB[]NAME="$ac_cv_lib[]Name[]_ltlibs"
1213 INC[]NAME="$ac_cv_lib[]Name[]_cppflags"
1214 LIB[]NAME[]_PREFIX="$ac_cv_lib[]Name[]_prefix"
1215 AC_LIB_APPENDTOVAR([CPPFLAGS], [$INC]NAME)
1217 AC_SUBST([LTLIB]NAME)
1218 AC_SUBST([LIB]NAME[_PREFIX])
1219 dnl Also set HAVE_LIB[]NAME so that AC_LIB_HAVE_LINKFLAGS can reuse the
1220 dnl results of this search when this library appears as a dependency.
1225 m4trace:/usr/share/aclocal/lib-link.m4:57: -1- AC_DEFUN([AC_LIB_HAVE_LINKFLAGS], [
1226 AC_REQUIRE([AC_LIB_PREPARE_PREFIX])
1227 AC_REQUIRE([AC_LIB_RPATH])
1228 pushdef([Name],[translit([$1],[./-], [___])])
1229 pushdef([NAME],[translit([$1],[abcdefghijklmnopqrstuvwxyz./-],
1230 [ABCDEFGHIJKLMNOPQRSTUVWXYZ___])])
1232 dnl Search for lib[]Name and define LIB[]NAME, LTLIB[]NAME and INC[]NAME
1234 AC_LIB_LINKFLAGS_BODY([$1], [$2])
1236 dnl Add $INC[]NAME to CPPFLAGS before performing the following checks,
1237 dnl because if the user has installed lib[]Name and not disabled its use
1238 dnl via --without-lib[]Name-prefix, he wants to use it.
1239 ac_save_CPPFLAGS="$CPPFLAGS"
1240 AC_LIB_APPENDTOVAR([CPPFLAGS], [$INC]NAME)
1242 AC_CACHE_CHECK([for lib[]$1], [ac_cv_lib[]Name], [
1243 ac_save_LIBS="$LIBS"
1244 dnl If $LIB[]NAME contains some -l options, add it to the end of LIBS,
1245 dnl because these -l options might require -L options that are present in
1246 dnl LIBS. -l options benefit only from the -L options listed before it.
1247 dnl Otherwise, add it to the front of LIBS, because it may be a static
1248 dnl library that depends on another static library that is present in LIBS.
1249 dnl Static libraries benefit only from the static libraries listed after
1251 case " $LIB[]NAME" in
1252 *" -l"*) LIBS="$LIBS $LIB[]NAME" ;;
1253 *) LIBS="$LIB[]NAME $LIBS" ;;
1255 AC_TRY_LINK([$3], [$4],
1256 [ac_cv_lib[]Name=yes],
1257 [ac_cv_lib[]Name='m4_if([$5], [], [no], [[$5]])'])
1258 LIBS="$ac_save_LIBS"
1260 if test "$ac_cv_lib[]Name" = yes; then
1262 AC_DEFINE([HAVE_LIB]NAME, 1, [Define if you have the lib][$1 library.])
1263 AC_MSG_CHECKING([how to link with lib[]$1])
1264 AC_MSG_RESULT([$LIB[]NAME])
1267 dnl If $LIB[]NAME didn't lead to a usable library, we don't need
1268 dnl $INC[]NAME either.
1269 CPPFLAGS="$ac_save_CPPFLAGS"
1274 AC_SUBST([HAVE_LIB]NAME)
1276 AC_SUBST([LTLIB]NAME)
1277 AC_SUBST([LIB]NAME[_PREFIX])
1281 m4trace:/usr/share/aclocal/lib-link.m4:122: -1- AC_DEFUN([AC_LIB_RPATH], [
1282 dnl Tell automake >= 1.10 to complain if config.rpath is missing.
1283 m4_ifdef([AC_REQUIRE_AUX_FILE], [AC_REQUIRE_AUX_FILE([config.rpath])])
1284 AC_REQUIRE([AC_PROG_CC]) dnl we use $CC, $GCC, $LDFLAGS
1285 AC_REQUIRE([AC_LIB_PROG_LD]) dnl we use $LD, $with_gnu_ld
1286 AC_REQUIRE([AC_CANONICAL_HOST]) dnl we use $host
1287 AC_REQUIRE([AC_CONFIG_AUX_DIR_DEFAULT]) dnl we use $ac_aux_dir
1288 AC_CACHE_CHECK([for shared library run path origin], [acl_cv_rpath], [
1289 CC="$CC" GCC="$GCC" LDFLAGS="$LDFLAGS" LD="$LD" with_gnu_ld="$with_gnu_ld" \
1290 ${CONFIG_SHELL-/bin/sh} "$ac_aux_dir/config.rpath" "$host" > conftest.sh
1296 acl_libext="$acl_cv_libext"
1297 acl_shlibext="$acl_cv_shlibext"
1298 acl_libname_spec="$acl_cv_libname_spec"
1299 acl_library_names_spec="$acl_cv_library_names_spec"
1300 acl_hardcode_libdir_flag_spec="$acl_cv_hardcode_libdir_flag_spec"
1301 acl_hardcode_libdir_separator="$acl_cv_hardcode_libdir_separator"
1302 acl_hardcode_direct="$acl_cv_hardcode_direct"
1303 acl_hardcode_minus_L="$acl_cv_hardcode_minus_L"
1304 dnl Determine whether the user wants rpath handling at all.
1305 AC_ARG_ENABLE([rpath],
1306 [ --disable-rpath do not hardcode runtime library paths],
1307 :, enable_rpath=yes)
1309 m4trace:/usr/share/aclocal/lib-link.m4:158: -1- AC_DEFUN([AC_LIB_FROMPACKAGE], [
1310 pushdef([NAME],[translit([$1],[abcdefghijklmnopqrstuvwxyz./-],
1311 [ABCDEFGHIJKLMNOPQRSTUVWXYZ___])])
1312 define([acl_frompackage_]NAME, [$2])
1314 pushdef([PACK],[$2])
1315 pushdef([PACKUP],[translit(PACK,[abcdefghijklmnopqrstuvwxyz./-],
1316 [ABCDEFGHIJKLMNOPQRSTUVWXYZ___])])
1317 define([acl_libsinpackage_]PACKUP,
1318 m4_ifdef([acl_libsinpackage_]PACKUP, [acl_libsinpackage_]PACKUP[[, ]],)[lib$1])
1322 m4trace:/usr/share/aclocal/lib-link.m4:178: -1- AC_DEFUN([AC_LIB_LINKFLAGS_BODY], [
1323 AC_REQUIRE([AC_LIB_PREPARE_MULTILIB])
1324 pushdef([NAME],[translit([$1],[abcdefghijklmnopqrstuvwxyz./-],
1325 [ABCDEFGHIJKLMNOPQRSTUVWXYZ___])])
1326 pushdef([PACK],[m4_ifdef([acl_frompackage_]NAME, [acl_frompackage_]NAME, lib[$1])])
1327 pushdef([PACKUP],[translit(PACK,[abcdefghijklmnopqrstuvwxyz./-],
1328 [ABCDEFGHIJKLMNOPQRSTUVWXYZ___])])
1329 pushdef([PACKLIBS],[m4_ifdef([acl_frompackage_]NAME, [acl_libsinpackage_]PACKUP, lib[$1])])
1330 dnl Autoconf >= 2.61 supports dots in --with options.
1331 pushdef([P_A_C_K],[m4_if(m4_version_compare(m4_defn([m4_PACKAGE_VERSION]),[2.61]),[-1],[translit(PACK,[.],[_])],PACK)])
1332 dnl By default, look in $includedir and $libdir.
1334 AC_LIB_WITH_FINAL_PREFIX([
1335 eval additional_includedir=\"$includedir\"
1336 eval additional_libdir=\"$libdir\"
1338 AC_ARG_WITH(P_A_C_K[-prefix],
1339 [[ --with-]]P_A_C_K[[-prefix[=DIR] search for ]PACKLIBS[ in DIR/include and DIR/lib
1340 --without-]]P_A_C_K[[-prefix don't search for ]PACKLIBS[ in includedir and libdir]],
1342 if test "X$withval" = "Xno"; then
1345 if test "X$withval" = "X"; then
1346 AC_LIB_WITH_FINAL_PREFIX([
1347 eval additional_includedir=\"$includedir\"
1348 eval additional_libdir=\"$libdir\"
1351 additional_includedir="$withval/include"
1352 additional_libdir="$withval/$acl_libdirstem"
1353 if test "$acl_libdirstem2" != "$acl_libdirstem" \
1354 && ! test -d "$withval/$acl_libdirstem"; then
1355 additional_libdir="$withval/$acl_libdirstem2"
1360 dnl Search the library and its dependencies in $additional_libdir and
1361 dnl $LDFLAGS. Using breadth-first-seach.
1366 dnl HAVE_LIB${NAME} is an indicator that LIB${NAME}, LTLIB${NAME} have been
1367 dnl computed. So it has to be reset here.
1371 names_already_handled=
1372 names_next_round='$1 $2'
1373 while test -n "$names_next_round"; do
1374 names_this_round="$names_next_round"
1376 for name in $names_this_round; do
1378 for n in $names_already_handled; do
1379 if test "$n" = "$name"; then
1384 if test -z "$already_handled"; then
1385 names_already_handled="$names_already_handled $name"
1386 dnl See if it was already located by an earlier AC_LIB_LINKFLAGS
1387 dnl or AC_LIB_HAVE_LINKFLAGS call.
1388 uppername=`echo "$name" | sed -e 'y|abcdefghijklmnopqrstuvwxyz./-|ABCDEFGHIJKLMNOPQRSTUVWXYZ___|'`
1389 eval value=\"\$HAVE_LIB$uppername\"
1390 if test -n "$value"; then
1391 if test "$value" = yes; then
1392 eval value=\"\$LIB$uppername\"
1393 test -z "$value" || LIB[]NAME="${LIB[]NAME}${LIB[]NAME:+ }$value"
1394 eval value=\"\$LTLIB$uppername\"
1395 test -z "$value" || LTLIB[]NAME="${LTLIB[]NAME}${LTLIB[]NAME:+ }$value"
1397 dnl An earlier call to AC_LIB_HAVE_LINKFLAGS has determined
1398 dnl that this library doesn't exist. So just drop it.
1402 dnl Search the library lib$name in $additional_libdir and $LDFLAGS
1403 dnl and the already constructed $LIBNAME/$LTLIBNAME.
1408 eval libname=\"$acl_libname_spec\" # typically: libname=lib$name
1409 if test -n "$acl_shlibext"; then
1410 shrext=".$acl_shlibext" # typically: shrext=.so
1414 if test $use_additional = yes; then
1415 dir="$additional_libdir"
1416 dnl The same code as in the loop below:
1417 dnl First look for a shared library.
1418 if test -n "$acl_shlibext"; then
1419 if test -f "$dir/$libname$shrext"; then
1421 found_so="$dir/$libname$shrext"
1423 if test "$acl_library_names_spec" = '$libname$shrext$versuffix'; then
1424 ver=`(cd "$dir" && \
1425 for f in "$libname$shrext".*; do echo "$f"; done \
1426 | sed -e "s,^$libname$shrext\\\\.,," \
1427 | sort -t '.' -n -r -k1,1 -k2,2 -k3,3 -k4,4 -k5,5 \
1428 | sed 1q ) 2>/dev/null`
1429 if test -n "$ver" && test -f "$dir/$libname$shrext.$ver"; then
1431 found_so="$dir/$libname$shrext.$ver"
1434 eval library_names=\"$acl_library_names_spec\"
1435 for f in $library_names; do
1436 if test -f "$dir/$f"; then
1445 dnl Then look for a static library.
1446 if test "X$found_dir" = "X"; then
1447 if test -f "$dir/$libname.$acl_libext"; then
1449 found_a="$dir/$libname.$acl_libext"
1452 if test "X$found_dir" != "X"; then
1453 if test -f "$dir/$libname.la"; then
1454 found_la="$dir/$libname.la"
1458 if test "X$found_dir" = "X"; then
1459 for x in $LDFLAGS $LTLIB[]NAME; do
1460 AC_LIB_WITH_FINAL_PREFIX([eval x=\"$x\"])
1463 dir=`echo "X$x" | sed -e 's/^X-L//'`
1464 dnl First look for a shared library.
1465 if test -n "$acl_shlibext"; then
1466 if test -f "$dir/$libname$shrext"; then
1468 found_so="$dir/$libname$shrext"
1470 if test "$acl_library_names_spec" = '$libname$shrext$versuffix'; then
1471 ver=`(cd "$dir" && \
1472 for f in "$libname$shrext".*; do echo "$f"; done \
1473 | sed -e "s,^$libname$shrext\\\\.,," \
1474 | sort -t '.' -n -r -k1,1 -k2,2 -k3,3 -k4,4 -k5,5 \
1475 | sed 1q ) 2>/dev/null`
1476 if test -n "$ver" && test -f "$dir/$libname$shrext.$ver"; then
1478 found_so="$dir/$libname$shrext.$ver"
1481 eval library_names=\"$acl_library_names_spec\"
1482 for f in $library_names; do
1483 if test -f "$dir/$f"; then
1492 dnl Then look for a static library.
1493 if test "X$found_dir" = "X"; then
1494 if test -f "$dir/$libname.$acl_libext"; then
1496 found_a="$dir/$libname.$acl_libext"
1499 if test "X$found_dir" != "X"; then
1500 if test -f "$dir/$libname.la"; then
1501 found_la="$dir/$libname.la"
1506 if test "X$found_dir" != "X"; then
1511 if test "X$found_dir" != "X"; then
1512 dnl Found the library.
1513 LTLIB[]NAME="${LTLIB[]NAME}${LTLIB[]NAME:+ }-L$found_dir -l$name"
1514 if test "X$found_so" != "X"; then
1515 dnl Linking with a shared library. We attempt to hardcode its
1516 dnl directory into the executable's runpath, unless it's the
1517 dnl standard /usr/lib.
1518 if test "$enable_rpath" = no \
1519 || test "X$found_dir" = "X/usr/$acl_libdirstem" \
1520 || test "X$found_dir" = "X/usr/$acl_libdirstem2"; then
1521 dnl No hardcoding is needed.
1522 LIB[]NAME="${LIB[]NAME}${LIB[]NAME:+ }$found_so"
1524 dnl Use an explicit option to hardcode DIR into the resulting
1526 dnl Potentially add DIR to ltrpathdirs.
1527 dnl The ltrpathdirs will be appended to $LTLIBNAME at the end.
1529 for x in $ltrpathdirs; do
1530 if test "X$x" = "X$found_dir"; then
1535 if test -z "$haveit"; then
1536 ltrpathdirs="$ltrpathdirs $found_dir"
1538 dnl The hardcoding into $LIBNAME is system dependent.
1539 if test "$acl_hardcode_direct" = yes; then
1540 dnl Using DIR/libNAME.so during linking hardcodes DIR into the
1541 dnl resulting binary.
1542 LIB[]NAME="${LIB[]NAME}${LIB[]NAME:+ }$found_so"
1544 if test -n "$acl_hardcode_libdir_flag_spec" && test "$acl_hardcode_minus_L" = no; then
1545 dnl Use an explicit option to hardcode DIR into the resulting
1547 LIB[]NAME="${LIB[]NAME}${LIB[]NAME:+ }$found_so"
1548 dnl Potentially add DIR to rpathdirs.
1549 dnl The rpathdirs will be appended to $LIBNAME at the end.
1551 for x in $rpathdirs; do
1552 if test "X$x" = "X$found_dir"; then
1557 if test -z "$haveit"; then
1558 rpathdirs="$rpathdirs $found_dir"
1561 dnl Rely on "-L$found_dir".
1562 dnl But don't add it if it's already contained in the LDFLAGS
1563 dnl or the already constructed $LIBNAME
1565 for x in $LDFLAGS $LIB[]NAME; do
1566 AC_LIB_WITH_FINAL_PREFIX([eval x=\"$x\"])
1567 if test "X$x" = "X-L$found_dir"; then
1572 if test -z "$haveit"; then
1573 LIB[]NAME="${LIB[]NAME}${LIB[]NAME:+ }-L$found_dir"
1575 if test "$acl_hardcode_minus_L" != no; then
1576 dnl FIXME: Not sure whether we should use
1577 dnl "-L$found_dir -l$name" or "-L$found_dir $found_so"
1579 LIB[]NAME="${LIB[]NAME}${LIB[]NAME:+ }$found_so"
1581 dnl We cannot use $acl_hardcode_runpath_var and LD_RUN_PATH
1582 dnl here, because this doesn't fit in flags passed to the
1583 dnl compiler. So give up. No hardcoding. This affects only
1584 dnl very old systems.
1585 dnl FIXME: Not sure whether we should use
1586 dnl "-L$found_dir -l$name" or "-L$found_dir $found_so"
1588 LIB[]NAME="${LIB[]NAME}${LIB[]NAME:+ }-l$name"
1594 if test "X$found_a" != "X"; then
1595 dnl Linking with a static library.
1596 LIB[]NAME="${LIB[]NAME}${LIB[]NAME:+ }$found_a"
1598 dnl We shouldn't come here, but anyway it's good to have a
1600 LIB[]NAME="${LIB[]NAME}${LIB[]NAME:+ }-L$found_dir -l$name"
1603 dnl Assume the include files are nearby.
1604 additional_includedir=
1605 case "$found_dir" in
1606 */$acl_libdirstem | */$acl_libdirstem/)
1607 basedir=`echo "X$found_dir" | sed -e 's,^X,,' -e "s,/$acl_libdirstem/"'*$,,'`
1608 if test "$name" = '$1'; then
1609 LIB[]NAME[]_PREFIX="$basedir"
1611 additional_includedir="$basedir/include"
1613 */$acl_libdirstem2 | */$acl_libdirstem2/)
1614 basedir=`echo "X$found_dir" | sed -e 's,^X,,' -e "s,/$acl_libdirstem2/"'*$,,'`
1615 if test "$name" = '$1'; then
1616 LIB[]NAME[]_PREFIX="$basedir"
1618 additional_includedir="$basedir/include"
1621 if test "X$additional_includedir" != "X"; then
1622 dnl Potentially add $additional_includedir to $INCNAME.
1623 dnl But don't add it
1624 dnl 1. if it's the standard /usr/include,
1625 dnl 2. if it's /usr/local/include and we are using GCC on Linux,
1626 dnl 3. if it's already present in $CPPFLAGS or the already
1627 dnl constructed $INCNAME,
1628 dnl 4. if it doesn't exist as a directory.
1629 if test "X$additional_includedir" != "X/usr/include"; then
1631 if test "X$additional_includedir" = "X/usr/local/include"; then
1632 if test -n "$GCC"; then
1634 linux* | gnu* | k*bsd*-gnu) haveit=yes;;
1638 if test -z "$haveit"; then
1639 for x in $CPPFLAGS $INC[]NAME; do
1640 AC_LIB_WITH_FINAL_PREFIX([eval x=\"$x\"])
1641 if test "X$x" = "X-I$additional_includedir"; then
1646 if test -z "$haveit"; then
1647 if test -d "$additional_includedir"; then
1648 dnl Really add $additional_includedir to $INCNAME.
1649 INC[]NAME="${INC[]NAME}${INC[]NAME:+ }-I$additional_includedir"
1655 dnl Look for dependencies.
1656 if test -n "$found_la"; then
1657 dnl Read the .la file. It defines the variables
1658 dnl dlname, library_names, old_library, dependency_libs, current,
1659 dnl age, revision, installed, dlopen, dlpreopen, libdir.
1660 save_libdir="$libdir"
1662 */* | *\\*) . "$found_la" ;;
1663 *) . "./$found_la" ;;
1665 libdir="$save_libdir"
1666 dnl We use only dependency_libs.
1667 for dep in $dependency_libs; do
1670 additional_libdir=`echo "X$dep" | sed -e 's/^X-L//'`
1671 dnl Potentially add $additional_libdir to $LIBNAME and $LTLIBNAME.
1672 dnl But don't add it
1673 dnl 1. if it's the standard /usr/lib,
1674 dnl 2. if it's /usr/local/lib and we are using GCC on Linux,
1675 dnl 3. if it's already present in $LDFLAGS or the already
1676 dnl constructed $LIBNAME,
1677 dnl 4. if it doesn't exist as a directory.
1678 if test "X$additional_libdir" != "X/usr/$acl_libdirstem" \
1679 && test "X$additional_libdir" != "X/usr/$acl_libdirstem2"; then
1681 if test "X$additional_libdir" = "X/usr/local/$acl_libdirstem" \
1682 || test "X$additional_libdir" = "X/usr/local/$acl_libdirstem2"; then
1683 if test -n "$GCC"; then
1685 linux* | gnu* | k*bsd*-gnu) haveit=yes;;
1689 if test -z "$haveit"; then
1691 for x in $LDFLAGS $LIB[]NAME; do
1692 AC_LIB_WITH_FINAL_PREFIX([eval x=\"$x\"])
1693 if test "X$x" = "X-L$additional_libdir"; then
1698 if test -z "$haveit"; then
1699 if test -d "$additional_libdir"; then
1700 dnl Really add $additional_libdir to $LIBNAME.
1701 LIB[]NAME="${LIB[]NAME}${LIB[]NAME:+ }-L$additional_libdir"
1705 for x in $LDFLAGS $LTLIB[]NAME; do
1706 AC_LIB_WITH_FINAL_PREFIX([eval x=\"$x\"])
1707 if test "X$x" = "X-L$additional_libdir"; then
1712 if test -z "$haveit"; then
1713 if test -d "$additional_libdir"; then
1714 dnl Really add $additional_libdir to $LTLIBNAME.
1715 LTLIB[]NAME="${LTLIB[]NAME}${LTLIB[]NAME:+ }-L$additional_libdir"
1722 dir=`echo "X$dep" | sed -e 's/^X-R//'`
1723 if test "$enable_rpath" != no; then
1724 dnl Potentially add DIR to rpathdirs.
1725 dnl The rpathdirs will be appended to $LIBNAME at the end.
1727 for x in $rpathdirs; do
1728 if test "X$x" = "X$dir"; then
1733 if test -z "$haveit"; then
1734 rpathdirs="$rpathdirs $dir"
1736 dnl Potentially add DIR to ltrpathdirs.
1737 dnl The ltrpathdirs will be appended to $LTLIBNAME at the end.
1739 for x in $ltrpathdirs; do
1740 if test "X$x" = "X$dir"; then
1745 if test -z "$haveit"; then
1746 ltrpathdirs="$ltrpathdirs $dir"
1751 dnl Handle this in the next round.
1752 names_next_round="$names_next_round "`echo "X$dep" | sed -e 's/^X-l//'`
1755 dnl Handle this in the next round. Throw away the .la's
1756 dnl directory; it is already contained in a preceding -L
1758 names_next_round="$names_next_round "`echo "X$dep" | sed -e 's,^X.*/,,' -e 's,^lib,,' -e 's,\.la$,,'`
1761 dnl Most likely an immediate library name.
1762 LIB[]NAME="${LIB[]NAME}${LIB[]NAME:+ }$dep"
1763 LTLIB[]NAME="${LTLIB[]NAME}${LTLIB[]NAME:+ }$dep"
1769 dnl Didn't find the library; assume it is in the system directories
1770 dnl known to the linker and runtime loader. (All the system
1771 dnl directories known to the linker should also be known to the
1772 dnl runtime loader, otherwise the system is severely misconfigured.)
1773 LIB[]NAME="${LIB[]NAME}${LIB[]NAME:+ }-l$name"
1774 LTLIB[]NAME="${LTLIB[]NAME}${LTLIB[]NAME:+ }-l$name"
1780 if test "X$rpathdirs" != "X"; then
1781 if test -n "$acl_hardcode_libdir_separator"; then
1782 dnl Weird platform: only the last -rpath option counts, the user must
1783 dnl pass all path elements in one option. We can arrange that for a
1784 dnl single library, but not when more than one $LIBNAMEs are used.
1786 for found_dir in $rpathdirs; do
1787 alldirs="${alldirs}${alldirs:+$acl_hardcode_libdir_separator}$found_dir"
1789 dnl Note: acl_hardcode_libdir_flag_spec uses $libdir and $wl.
1790 acl_save_libdir="$libdir"
1792 eval flag=\"$acl_hardcode_libdir_flag_spec\"
1793 libdir="$acl_save_libdir"
1794 LIB[]NAME="${LIB[]NAME}${LIB[]NAME:+ }$flag"
1796 dnl The -rpath options are cumulative.
1797 for found_dir in $rpathdirs; do
1798 acl_save_libdir="$libdir"
1800 eval flag=\"$acl_hardcode_libdir_flag_spec\"
1801 libdir="$acl_save_libdir"
1802 LIB[]NAME="${LIB[]NAME}${LIB[]NAME:+ }$flag"
1806 if test "X$ltrpathdirs" != "X"; then
1807 dnl When using libtool, the option that works for both libraries and
1808 dnl executables is -R. The -R options are cumulative.
1809 for found_dir in $ltrpathdirs; do
1810 LTLIB[]NAME="${LTLIB[]NAME}${LTLIB[]NAME:+ }-R$found_dir"
1819 m4trace:/usr/share/aclocal/lib-link.m4:681: -1- AC_DEFUN([AC_LIB_APPENDTOVAR], [
1820 for element in [$2]; do
1823 AC_LIB_WITH_FINAL_PREFIX([eval x=\"$x\"])
1824 if test "X$x" = "X$element"; then
1829 if test -z "$haveit"; then
1830 [$1]="${[$1]}${[$1]:+ }$element"
1834 m4trace:/usr/share/aclocal/lib-link.m4:705: -1- AC_DEFUN([AC_LIB_LINKFLAGS_FROM_LIBS], [
1835 AC_REQUIRE([AC_LIB_RPATH])
1836 AC_REQUIRE([AC_LIB_PREPARE_MULTILIB])
1838 if test "$enable_rpath" != no; then
1839 if test -n "$acl_hardcode_libdir_flag_spec" && test "$acl_hardcode_minus_L" = no; then
1840 dnl Use an explicit option to hardcode directories into the resulting
1845 if test -n "$next"; then
1847 dnl No need to hardcode the standard /usr/lib.
1848 if test "X$dir" != "X/usr/$acl_libdirstem" \
1849 && test "X$dir" != "X/usr/$acl_libdirstem2"; then
1850 rpathdirs="$rpathdirs $dir"
1856 -L*) dir=`echo "X$opt" | sed -e 's,^X-L,,'`
1857 dnl No need to hardcode the standard /usr/lib.
1858 if test "X$dir" != "X/usr/$acl_libdirstem" \
1859 && test "X$dir" != "X/usr/$acl_libdirstem2"; then
1860 rpathdirs="$rpathdirs $dir"
1867 if test "X$rpathdirs" != "X"; then
1868 if test -n ""$3""; then
1869 dnl libtool is used for linking. Use -R options.
1870 for dir in $rpathdirs; do
1871 $1="${$1}${$1:+ }-R$dir"
1874 dnl The linker is used for linking directly.
1875 if test -n "$acl_hardcode_libdir_separator"; then
1876 dnl Weird platform: only the last -rpath option counts, the user
1877 dnl must pass all path elements in one option.
1879 for dir in $rpathdirs; do
1880 alldirs="${alldirs}${alldirs:+$acl_hardcode_libdir_separator}$dir"
1882 acl_save_libdir="$libdir"
1884 eval flag=\"$acl_hardcode_libdir_flag_spec\"
1885 libdir="$acl_save_libdir"
1888 dnl The -rpath options are cumulative.
1889 for dir in $rpathdirs; do
1890 acl_save_libdir="$libdir"
1892 eval flag=\"$acl_hardcode_libdir_flag_spec\"
1893 libdir="$acl_save_libdir"
1894 $1="${$1}${$1:+ }$flag"
1903 m4trace:/usr/share/aclocal/lib-prefix.m4:12: -1- AC_DEFUN([AC_LIB_ARG_WITH], [AC_ARG_WITH([$1],[[$2]],[$3],[$4])])
1904 m4trace:/usr/share/aclocal/lib-prefix.m4:22: -1- AC_DEFUN([AC_LIB_PREFIX], [
1905 AC_BEFORE([$0], [AC_LIB_LINKFLAGS])
1906 AC_REQUIRE([AC_PROG_CC])
1907 AC_REQUIRE([AC_CANONICAL_HOST])
1908 AC_REQUIRE([AC_LIB_PREPARE_MULTILIB])
1909 AC_REQUIRE([AC_LIB_PREPARE_PREFIX])
1910 dnl By default, look in $includedir and $libdir.
1912 AC_LIB_WITH_FINAL_PREFIX([
1913 eval additional_includedir=\"$includedir\"
1914 eval additional_libdir=\"$libdir\"
1916 AC_LIB_ARG_WITH([lib-prefix],
1917 [ --with-lib-prefix[=DIR] search for libraries in DIR/include and DIR/lib
1918 --without-lib-prefix don't search for libraries in includedir and libdir],
1920 if test "X$withval" = "Xno"; then
1923 if test "X$withval" = "X"; then
1924 AC_LIB_WITH_FINAL_PREFIX([
1925 eval additional_includedir=\"$includedir\"
1926 eval additional_libdir=\"$libdir\"
1929 additional_includedir="$withval/include"
1930 additional_libdir="$withval/$acl_libdirstem"
1934 if test $use_additional = yes; then
1935 dnl Potentially add $additional_includedir to $CPPFLAGS.
1936 dnl But don't add it
1937 dnl 1. if it's the standard /usr/include,
1938 dnl 2. if it's already present in $CPPFLAGS,
1939 dnl 3. if it's /usr/local/include and we are using GCC on Linux,
1940 dnl 4. if it doesn't exist as a directory.
1941 if test "X$additional_includedir" != "X/usr/include"; then
1943 for x in $CPPFLAGS; do
1944 AC_LIB_WITH_FINAL_PREFIX([eval x=\"$x\"])
1945 if test "X$x" = "X-I$additional_includedir"; then
1950 if test -z "$haveit"; then
1951 if test "X$additional_includedir" = "X/usr/local/include"; then
1952 if test -n "$GCC"; then
1954 linux* | gnu* | k*bsd*-gnu) haveit=yes;;
1958 if test -z "$haveit"; then
1959 if test -d "$additional_includedir"; then
1960 dnl Really add $additional_includedir to $CPPFLAGS.
1961 CPPFLAGS="${CPPFLAGS}${CPPFLAGS:+ }-I$additional_includedir"
1966 dnl Potentially add $additional_libdir to $LDFLAGS.
1967 dnl But don't add it
1968 dnl 1. if it's the standard /usr/lib,
1969 dnl 2. if it's already present in $LDFLAGS,
1970 dnl 3. if it's /usr/local/lib and we are using GCC on Linux,
1971 dnl 4. if it doesn't exist as a directory.
1972 if test "X$additional_libdir" != "X/usr/$acl_libdirstem"; then
1974 for x in $LDFLAGS; do
1975 AC_LIB_WITH_FINAL_PREFIX([eval x=\"$x\"])
1976 if test "X$x" = "X-L$additional_libdir"; then
1981 if test -z "$haveit"; then
1982 if test "X$additional_libdir" = "X/usr/local/$acl_libdirstem"; then
1983 if test -n "$GCC"; then
1985 linux*) haveit=yes;;
1989 if test -z "$haveit"; then
1990 if test -d "$additional_libdir"; then
1991 dnl Really add $additional_libdir to $LDFLAGS.
1992 LDFLAGS="${LDFLAGS}${LDFLAGS:+ }-L$additional_libdir"
1999 m4trace:/usr/share/aclocal/lib-prefix.m4:122: -1- AC_DEFUN([AC_LIB_PREPARE_PREFIX], [
2000 dnl Unfortunately, prefix and exec_prefix get only finally determined
2001 dnl at the end of configure.
2002 if test "X$prefix" = "XNONE"; then
2003 acl_final_prefix="$ac_default_prefix"
2005 acl_final_prefix="$prefix"
2007 if test "X$exec_prefix" = "XNONE"; then
2008 acl_final_exec_prefix='${prefix}'
2010 acl_final_exec_prefix="$exec_prefix"
2012 acl_save_prefix="$prefix"
2013 prefix="$acl_final_prefix"
2014 eval acl_final_exec_prefix=\"$acl_final_exec_prefix\"
2015 prefix="$acl_save_prefix"
2017 m4trace:/usr/share/aclocal/lib-prefix.m4:145: -1- AC_DEFUN([AC_LIB_WITH_FINAL_PREFIX], [
2018 acl_save_prefix="$prefix"
2019 prefix="$acl_final_prefix"
2020 acl_save_exec_prefix="$exec_prefix"
2021 exec_prefix="$acl_final_exec_prefix"
2023 exec_prefix="$acl_save_exec_prefix"
2024 prefix="$acl_save_prefix"
2026 m4trace:/usr/share/aclocal/lib-prefix.m4:162: -1- AC_DEFUN([AC_LIB_PREPARE_MULTILIB], [
2027 dnl There is no formal standard regarding lib and lib64.
2028 dnl On glibc systems, the current practice is that on a system supporting
2029 dnl 32-bit and 64-bit instruction sets or ABIs, 64-bit libraries go under
2030 dnl $prefix/lib64 and 32-bit libraries go under $prefix/lib. We determine
2031 dnl the compiler's default mode by looking at the compiler's library search
2032 dnl path. If at least one of its elements ends in /lib64 or points to a
2033 dnl directory whose absolute pathname ends in /lib64, we assume a 64-bit ABI.
2034 dnl Otherwise we use the default, namely "lib".
2035 dnl On Solaris systems, the current practice is that on a system supporting
2036 dnl 32-bit and 64-bit instruction sets or ABIs, 64-bit libraries go under
2037 dnl $prefix/lib/64 (which is a symlink to either $prefix/lib/sparcv9 or
2038 dnl $prefix/lib/amd64) and 32-bit libraries go under $prefix/lib.
2039 AC_REQUIRE([AC_CANONICAL_HOST])
2044 dnl See Solaris 10 Software Developer Collection > Solaris 64-bit Developer's Guide > The Development Environment
2045 dnl <http://docs.sun.com/app/docs/doc/816-5138/dev-env?l=en&a=view>.
2046 dnl "Portable Makefiles should refer to any library directories using the 64 symbolic link."
2047 dnl But we want to recognize the sparcv9 or amd64 subdirectory also if the
2048 dnl symlink is missing, so we set acl_libdirstem2 too.
2049 AC_CACHE_CHECK([for 64-bit host], [gl_cv_solaris_64bit],
2050 [AC_EGREP_CPP([sixtyfour bits], [
2054 ], [gl_cv_solaris_64bit=yes], [gl_cv_solaris_64bit=no])
2056 if test $gl_cv_solaris_64bit = yes; then
2057 acl_libdirstem=lib/64
2059 sparc*) acl_libdirstem2=lib/sparcv9 ;;
2060 i*86 | x86_64) acl_libdirstem2=lib/amd64 ;;
2065 searchpath=`(LC_ALL=C $CC -print-search-dirs) 2>/dev/null | sed -n -e 's,^libraries: ,,p' | sed -e 's,^=,,'`
2066 if test -n "$searchpath"; then
2067 acl_save_IFS="${IFS= }"; IFS=":"
2068 for searchdir in $searchpath; do
2069 if test -d "$searchdir"; then
2070 case "$searchdir" in
2071 */lib64/ | */lib64 ) acl_libdirstem=lib64 ;;
2073 # Better ignore directories of this form. They are misleading.
2075 *) searchdir=`cd "$searchdir" && pwd`
2076 case "$searchdir" in
2077 */lib64 ) acl_libdirstem=lib64 ;;
2086 test -n "$acl_libdirstem2" || acl_libdirstem2="$acl_libdirstem"
2088 m4trace:/usr/share/aclocal/libtool.m4:67: -1- AC_DEFUN([LT_INIT], [AC_PREREQ([2.58])dnl We use AC_INCLUDES_DEFAULT
2089 AC_BEFORE([$0], [LT_LANG])dnl
2090 AC_BEFORE([$0], [LT_OUTPUT])dnl
2091 AC_BEFORE([$0], [LTDL_INIT])dnl
2092 m4_require([_LT_CHECK_BUILDDIR])dnl
2094 dnl Autoconf doesn't catch unexpanded LT_ macros by default:
2095 m4_pattern_forbid([^_?LT_[A-Z_]+$])dnl
2096 m4_pattern_allow([^(_LT_EOF|LT_DLGLOBAL|LT_DLLAZY_OR_NOW|LT_MULTI_MODULE)$])dnl
2097 dnl aclocal doesn't pull ltoptions.m4, ltsugar.m4, or ltversion.m4
2098 dnl unless we require an AC_DEFUNed macro:
2099 AC_REQUIRE([LTOPTIONS_VERSION])dnl
2100 AC_REQUIRE([LTSUGAR_VERSION])dnl
2101 AC_REQUIRE([LTVERSION_VERSION])dnl
2102 AC_REQUIRE([LTOBSOLETE_VERSION])dnl
2103 m4_require([_LT_PROG_LTMAIN])dnl
2106 _LT_SET_OPTIONS([$0], [$1])
2108 # This can be used to rebuild libtool when needed
2109 LIBTOOL_DEPS="$ltmain"
2111 # Always use our own libtool.
2112 LIBTOOL='$(SHELL) $(top_builddir)/libtool'
2113 AC_SUBST(LIBTOOL)dnl
2118 m4_define([LT_INIT])
2120 m4trace:/usr/share/aclocal/libtool.m4:102: -1- AU_DEFUN([AC_PROG_LIBTOOL], [m4_if($#, 0, [LT_INIT], [LT_INIT($@)])])
2121 m4trace:/usr/share/aclocal/libtool.m4:102: -1- AC_DEFUN([AC_PROG_LIBTOOL], [AC_DIAGNOSE([obsolete], [The macro `AC_PROG_LIBTOOL' is obsolete.
2122 You should run autoupdate.])dnl
2123 m4_if($#, 0, [LT_INIT], [LT_INIT($@)])])
2124 m4trace:/usr/share/aclocal/libtool.m4:103: -1- AU_DEFUN([AM_PROG_LIBTOOL], [m4_if($#, 0, [LT_INIT], [LT_INIT($@)])])
2125 m4trace:/usr/share/aclocal/libtool.m4:103: -1- AC_DEFUN([AM_PROG_LIBTOOL], [AC_DIAGNOSE([obsolete], [The macro `AM_PROG_LIBTOOL' is obsolete.
2126 You should run autoupdate.])dnl
2127 m4_if($#, 0, [LT_INIT], [LT_INIT($@)])])
2128 m4trace:/usr/share/aclocal/libtool.m4:562: -1- AC_DEFUN([LT_OUTPUT], [: ${CONFIG_LT=./config.lt}
2129 AC_MSG_NOTICE([creating $CONFIG_LT])
2130 cat >"$CONFIG_LT" <<_LTEOF
2132 # Generated by $as_me.
2133 # Run this file to recreate a libtool stub with the current configuration.
2136 SHELL=\${CONFIG_SHELL-$SHELL}
2139 cat >>"$CONFIG_LT" <<\_LTEOF
2143 exec AS_MESSAGE_FD>&1
2144 exec AS_MESSAGE_LOG_FD>>config.log
2147 AS_BOX([Running $as_me.])
2148 } >&AS_MESSAGE_LOG_FD
2151 \`$as_me' creates a local libtool stub from the current configuration,
2152 for use in further configure time tests before the real libtool is
2155 Usage: $[0] [[OPTIONS]]
2157 -h, --help print this help, then exit
2158 -V, --version print version number, then exit
2159 -q, --quiet do not print progress messages
2160 -d, --debug don't remove temporary files
2162 Report bugs to <bug-libtool@gnu.org>."
2165 m4_ifset([AC_PACKAGE_NAME], [AC_PACKAGE_NAME ])config.lt[]dnl
2166 m4_ifset([AC_PACKAGE_VERSION], [ AC_PACKAGE_VERSION])
2167 configured by $[0], generated by m4_PACKAGE_STRING.
2169 Copyright (C) 2008 Free Software Foundation, Inc.
2170 This config.lt script is free software; the Free Software Foundation
2171 gives unlimited permision to copy, distribute and modify it."
2173 while test $[#] != 0
2176 --version | --v* | -V )
2177 echo "$lt_cl_version"; exit 0 ;;
2178 --help | --h* | -h )
2179 echo "$lt_cl_help"; exit 0 ;;
2180 --debug | --d* | -d )
2182 --quiet | --q* | --silent | --s* | -q )
2185 -*) AC_MSG_ERROR([unrecognized option: $[1]
2186 Try \`$[0] --help' for more information.]) ;;
2188 *) AC_MSG_ERROR([unrecognized argument: $[1]
2189 Try \`$[0] --help' for more information.]) ;;
2194 if $lt_cl_silent; then
2195 exec AS_MESSAGE_FD>/dev/null
2199 cat >>"$CONFIG_LT" <<_LTEOF
2200 _LT_OUTPUT_LIBTOOL_COMMANDS_INIT
2203 cat >>"$CONFIG_LT" <<\_LTEOF
2204 AC_MSG_NOTICE([creating $ofile])
2205 _LT_OUTPUT_LIBTOOL_COMMANDS
2208 chmod +x "$CONFIG_LT"
2210 # configure is writing to config.log, but config.lt does its own redirection,
2211 # appending to config.log, which fails on DOS, as config.log is still kept
2212 # open by configure. Here we exec the FD to /dev/null, effectively closing
2213 # config.log, so it can be properly (re)opened and appended to by config.lt.
2214 if test "$no_create" != yes; then
2216 test "$silent" = yes &&
2217 lt_config_lt_args="$lt_config_lt_args --quiet"
2218 exec AS_MESSAGE_LOG_FD>/dev/null
2219 $SHELL "$CONFIG_LT" $lt_config_lt_args || lt_cl_success=false
2220 exec AS_MESSAGE_LOG_FD>>config.log
2221 $lt_cl_success || AS_EXIT(1)
2224 m4trace:/usr/share/aclocal/libtool.m4:756: -1- AC_DEFUN([LT_SUPPORTED_TAG], [])
2225 m4trace:/usr/share/aclocal/libtool.m4:767: -1- AC_DEFUN([LT_LANG], [AC_BEFORE([$0], [LT_OUTPUT])dnl
2228 [C++], [_LT_LANG(CXX)],
2229 [Java], [_LT_LANG(GCJ)],
2230 [Fortran 77], [_LT_LANG(F77)],
2231 [Fortran], [_LT_LANG(FC)],
2232 [Windows Resource], [_LT_LANG(RC)],
2233 [m4_ifdef([_LT_LANG_]$1[_CONFIG],
2235 [m4_fatal([$0: unsupported language: "$1"])])])dnl
2237 m4trace:/usr/share/aclocal/libtool.m4:829: -1- AU_DEFUN([AC_LIBTOOL_CXX], [LT_LANG(C++)])
2238 m4trace:/usr/share/aclocal/libtool.m4:829: -1- AC_DEFUN([AC_LIBTOOL_CXX], [AC_DIAGNOSE([obsolete], [The macro `AC_LIBTOOL_CXX' is obsolete.
2239 You should run autoupdate.])dnl
2241 m4trace:/usr/share/aclocal/libtool.m4:830: -1- AU_DEFUN([AC_LIBTOOL_F77], [LT_LANG(Fortran 77)])
2242 m4trace:/usr/share/aclocal/libtool.m4:830: -1- AC_DEFUN([AC_LIBTOOL_F77], [AC_DIAGNOSE([obsolete], [The macro `AC_LIBTOOL_F77' is obsolete.
2243 You should run autoupdate.])dnl
2244 LT_LANG(Fortran 77)])
2245 m4trace:/usr/share/aclocal/libtool.m4:831: -1- AU_DEFUN([AC_LIBTOOL_FC], [LT_LANG(Fortran)])
2246 m4trace:/usr/share/aclocal/libtool.m4:831: -1- AC_DEFUN([AC_LIBTOOL_FC], [AC_DIAGNOSE([obsolete], [The macro `AC_LIBTOOL_FC' is obsolete.
2247 You should run autoupdate.])dnl
2249 m4trace:/usr/share/aclocal/libtool.m4:832: -1- AU_DEFUN([AC_LIBTOOL_GCJ], [LT_LANG(Java)])
2250 m4trace:/usr/share/aclocal/libtool.m4:832: -1- AC_DEFUN([AC_LIBTOOL_GCJ], [AC_DIAGNOSE([obsolete], [The macro `AC_LIBTOOL_GCJ' is obsolete.
2251 You should run autoupdate.])dnl
2253 m4trace:/usr/share/aclocal/libtool.m4:1401: -1- AC_DEFUN([_LT_COMPILER_OPTION], [m4_require([_LT_FILEUTILS_DEFAULTS])dnl
2254 m4_require([_LT_DECL_SED])dnl
2255 AC_CACHE_CHECK([$1], [$2],
2257 m4_if([$4], , [ac_outfile=conftest.$ac_objext], [ac_outfile=$4])
2258 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
2259 lt_compiler_flag="$3"
2260 # Insert the option either (1) after the last *FLAGS variable, or
2261 # (2) before a word containing "conftest.", or (3) at the end.
2262 # Note that $ac_compile itself does not contain backslashes and begins
2263 # with a dollar sign (not a hyphen), so the echo should work correctly.
2264 # The option is referenced via a variable to avoid confusing sed.
2265 lt_compile=`echo "$ac_compile" | $SED \
2266 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
2267 -e 's: [[^ ]]*conftest\.: $lt_compiler_flag&:; t' \
2268 -e 's:$: $lt_compiler_flag:'`
2269 (eval echo "\"\$as_me:__oline__: $lt_compile\"" >&AS_MESSAGE_LOG_FD)
2270 (eval "$lt_compile" 2>conftest.err)
2272 cat conftest.err >&AS_MESSAGE_LOG_FD
2273 echo "$as_me:__oline__: \$? = $ac_status" >&AS_MESSAGE_LOG_FD
2274 if (exit $ac_status) && test -s "$ac_outfile"; then
2275 # The compiler can only warn and ignore the option if not recognized
2276 # So say no if there are warnings other than the usual output.
2277 $ECHO "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' >conftest.exp
2278 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
2279 if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
2286 if test x"[$]$2" = xyes; then
2287 m4_if([$5], , :, [$5])
2289 m4_if([$6], , :, [$6])
2292 m4trace:/usr/share/aclocal/libtool.m4:1443: -1- AU_DEFUN([AC_LIBTOOL_COMPILER_OPTION], [m4_if($#, 0, [_LT_COMPILER_OPTION], [_LT_COMPILER_OPTION($@)])])
2293 m4trace:/usr/share/aclocal/libtool.m4:1443: -1- AC_DEFUN([AC_LIBTOOL_COMPILER_OPTION], [AC_DIAGNOSE([obsolete], [The macro `AC_LIBTOOL_COMPILER_OPTION' is obsolete.
2294 You should run autoupdate.])dnl
2295 m4_if($#, 0, [_LT_COMPILER_OPTION], [_LT_COMPILER_OPTION($@)])])
2296 m4trace:/usr/share/aclocal/libtool.m4:1452: -1- AC_DEFUN([_LT_LINKER_OPTION], [m4_require([_LT_FILEUTILS_DEFAULTS])dnl
2297 m4_require([_LT_DECL_SED])dnl
2298 AC_CACHE_CHECK([$1], [$2],
2300 save_LDFLAGS="$LDFLAGS"
2301 LDFLAGS="$LDFLAGS $3"
2302 echo "$lt_simple_link_test_code" > conftest.$ac_ext
2303 if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
2304 # The linker can only warn and ignore the option if not recognized
2305 # So say no if there are warnings
2306 if test -s conftest.err; then
2307 # Append any errors to the config.log.
2308 cat conftest.err 1>&AS_MESSAGE_LOG_FD
2309 $ECHO "X$_lt_linker_boilerplate" | $Xsed -e '/^$/d' > conftest.exp
2310 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
2311 if diff conftest.exp conftest.er2 >/dev/null; then
2319 LDFLAGS="$save_LDFLAGS"
2322 if test x"[$]$2" = xyes; then
2323 m4_if([$4], , :, [$4])
2325 m4_if([$5], , :, [$5])
2328 m4trace:/usr/share/aclocal/libtool.m4:1487: -1- AU_DEFUN([AC_LIBTOOL_LINKER_OPTION], [m4_if($#, 0, [_LT_LINKER_OPTION], [_LT_LINKER_OPTION($@)])])
2329 m4trace:/usr/share/aclocal/libtool.m4:1487: -1- AC_DEFUN([AC_LIBTOOL_LINKER_OPTION], [AC_DIAGNOSE([obsolete], [The macro `AC_LIBTOOL_LINKER_OPTION' is obsolete.
2330 You should run autoupdate.])dnl
2331 m4_if($#, 0, [_LT_LINKER_OPTION], [_LT_LINKER_OPTION($@)])])
2332 m4trace:/usr/share/aclocal/libtool.m4:1494: -1- AC_DEFUN([LT_CMD_MAX_LEN], [AC_REQUIRE([AC_CANONICAL_HOST])dnl
2333 # find the maximum length of command line arguments
2334 AC_MSG_CHECKING([the maximum length of command line arguments])
2335 AC_CACHE_VAL([lt_cv_sys_max_cmd_len], [dnl
2341 # On DJGPP, this test can blow up pretty badly due to problems in libc
2342 # (any single argument exceeding 2000 bytes causes a buffer overrun
2343 # during glob expansion). Even if it were fixed, the result of this
2344 # check would be larger than it should be.
2345 lt_cv_sys_max_cmd_len=12288; # 12K is about right
2349 # Under GNU Hurd, this test is not required because there is
2350 # no limit to the length of command line arguments.
2351 # Libtool will interpret -1 as no limit whatsoever
2352 lt_cv_sys_max_cmd_len=-1;
2355 cygwin* | mingw* | cegcc*)
2356 # On Win9x/ME, this test blows up -- it succeeds, but takes
2357 # about 5 minutes as the teststring grows exponentially.
2358 # Worse, since 9x/ME are not pre-emptively multitasking,
2359 # you end up with a "frozen" computer, even though with patience
2360 # the test eventually succeeds (with a max line length of 256k).
2361 # Instead, let's just punt: use the minimum linelength reported by
2362 # all of the supported platforms: 8192 (on NT/2K/XP).
2363 lt_cv_sys_max_cmd_len=8192;
2367 # On AmigaOS with pdksh, this test takes hours, literally.
2368 # So we just punt and use a minimum line length of 8192.
2369 lt_cv_sys_max_cmd_len=8192;
2372 netbsd* | freebsd* | openbsd* | darwin* | dragonfly*)
2373 # This has been around since 386BSD, at least. Likely further.
2374 if test -x /sbin/sysctl; then
2375 lt_cv_sys_max_cmd_len=`/sbin/sysctl -n kern.argmax`
2376 elif test -x /usr/sbin/sysctl; then
2377 lt_cv_sys_max_cmd_len=`/usr/sbin/sysctl -n kern.argmax`
2379 lt_cv_sys_max_cmd_len=65536 # usable default for all BSDs
2381 # And add a safety zone
2382 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
2383 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
2387 # We know the value 262144 and hardcode it with a safety zone (like BSD)
2388 lt_cv_sys_max_cmd_len=196608
2392 # Dr. Hans Ekkehard Plesser reports seeing a kernel panic running configure
2393 # due to this test when exec_disable_arg_limit is 1 on Tru64. It is not
2394 # nice to cause kernel panics so lets avoid the loop below.
2395 # First set a reasonable default.
2396 lt_cv_sys_max_cmd_len=16384
2398 if test -x /sbin/sysconfig; then
2399 case `/sbin/sysconfig -q proc exec_disable_arg_limit` in
2400 *1*) lt_cv_sys_max_cmd_len=-1 ;;
2405 lt_cv_sys_max_cmd_len=102400
2407 sysv5* | sco5v6* | sysv4.2uw2*)
2408 kargmax=`grep ARG_MAX /etc/conf/cf.d/stune 2>/dev/null`
2409 if test -n "$kargmax"; then
2410 lt_cv_sys_max_cmd_len=`echo $kargmax | sed 's/.*[[ ]]//'`
2412 lt_cv_sys_max_cmd_len=32768
2416 lt_cv_sys_max_cmd_len=`(getconf ARG_MAX) 2> /dev/null`
2417 if test -n "$lt_cv_sys_max_cmd_len"; then
2418 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
2419 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
2421 # Make teststring a little bigger before we do anything with it.
2422 # a 1K string should be a reasonable start.
2423 for i in 1 2 3 4 5 6 7 8 ; do
2424 teststring=$teststring$teststring
2426 SHELL=${SHELL-${CONFIG_SHELL-/bin/sh}}
2427 # If test is not a shell built-in, we'll probably end up computing a
2428 # maximum length that is only half of the actual maximum length, but
2430 while { test "X"`$SHELL [$]0 --fallback-echo "X$teststring$teststring" 2>/dev/null` \
2431 = "XX$teststring$teststring"; } >/dev/null 2>&1 &&
2432 test $i != 17 # 1/2 MB should be enough
2435 teststring=$teststring$teststring
2437 # Only check the string length outside the loop.
2438 lt_cv_sys_max_cmd_len=`expr "X$teststring" : ".*" 2>&1`
2440 # Add a significant safety factor because C++ compilers can tack on
2441 # massive amounts of additional arguments before passing them to the
2442 # linker. It appears as though 1/2 is a usable value.
2443 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 2`
2448 if test -n $lt_cv_sys_max_cmd_len ; then
2449 AC_MSG_RESULT($lt_cv_sys_max_cmd_len)
2453 max_cmd_len=$lt_cv_sys_max_cmd_len
2454 _LT_DECL([], [max_cmd_len], [0],
2455 [What is the maximum length of a command?])
2457 m4trace:/usr/share/aclocal/libtool.m4:1622: -1- AU_DEFUN([AC_LIBTOOL_SYS_MAX_CMD_LEN], [m4_if($#, 0, [LT_CMD_MAX_LEN], [LT_CMD_MAX_LEN($@)])])
2458 m4trace:/usr/share/aclocal/libtool.m4:1622: -1- AC_DEFUN([AC_LIBTOOL_SYS_MAX_CMD_LEN], [AC_DIAGNOSE([obsolete], [The macro `AC_LIBTOOL_SYS_MAX_CMD_LEN' is obsolete.
2459 You should run autoupdate.])dnl
2460 m4_if($#, 0, [LT_CMD_MAX_LEN], [LT_CMD_MAX_LEN($@)])])
2461 m4trace:/usr/share/aclocal/libtool.m4:1723: -1- AC_DEFUN([LT_SYS_DLOPEN_SELF], [m4_require([_LT_HEADER_DLFCN])dnl
2462 if test "x$enable_dlopen" != xyes; then
2463 enable_dlopen=unknown
2464 enable_dlopen_self=unknown
2465 enable_dlopen_self_static=unknown
2472 lt_cv_dlopen="load_add_on"
2474 lt_cv_dlopen_self=yes
2477 mingw* | pw32* | cegcc*)
2478 lt_cv_dlopen="LoadLibrary"
2483 lt_cv_dlopen="dlopen"
2488 # if libdl is installed we need to link against it
2489 AC_CHECK_LIB([dl], [dlopen],
2490 [lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"],[
2493 lt_cv_dlopen_self=yes
2498 AC_CHECK_FUNC([shl_load],
2499 [lt_cv_dlopen="shl_load"],
2500 [AC_CHECK_LIB([dld], [shl_load],
2501 [lt_cv_dlopen="shl_load" lt_cv_dlopen_libs="-ldld"],
2502 [AC_CHECK_FUNC([dlopen],
2503 [lt_cv_dlopen="dlopen"],
2504 [AC_CHECK_LIB([dl], [dlopen],
2505 [lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"],
2506 [AC_CHECK_LIB([svld], [dlopen],
2507 [lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-lsvld"],
2508 [AC_CHECK_LIB([dld], [dld_link],
2509 [lt_cv_dlopen="dld_link" lt_cv_dlopen_libs="-ldld"])
2518 if test "x$lt_cv_dlopen" != xno; then
2524 case $lt_cv_dlopen in
2526 save_CPPFLAGS="$CPPFLAGS"
2527 test "x$ac_cv_header_dlfcn_h" = xyes && CPPFLAGS="$CPPFLAGS -DHAVE_DLFCN_H"
2529 save_LDFLAGS="$LDFLAGS"
2530 wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $export_dynamic_flag_spec\"
2533 LIBS="$lt_cv_dlopen_libs $LIBS"
2535 AC_CACHE_CHECK([whether a program can dlopen itself],
2536 lt_cv_dlopen_self, [dnl
2537 _LT_TRY_DLOPEN_SELF(
2538 lt_cv_dlopen_self=yes, lt_cv_dlopen_self=yes,
2539 lt_cv_dlopen_self=no, lt_cv_dlopen_self=cross)
2542 if test "x$lt_cv_dlopen_self" = xyes; then
2543 wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $lt_prog_compiler_static\"
2544 AC_CACHE_CHECK([whether a statically linked program can dlopen itself],
2545 lt_cv_dlopen_self_static, [dnl
2546 _LT_TRY_DLOPEN_SELF(
2547 lt_cv_dlopen_self_static=yes, lt_cv_dlopen_self_static=yes,
2548 lt_cv_dlopen_self_static=no, lt_cv_dlopen_self_static=cross)
2552 CPPFLAGS="$save_CPPFLAGS"
2553 LDFLAGS="$save_LDFLAGS"
2558 case $lt_cv_dlopen_self in
2559 yes|no) enable_dlopen_self=$lt_cv_dlopen_self ;;
2560 *) enable_dlopen_self=unknown ;;
2563 case $lt_cv_dlopen_self_static in
2564 yes|no) enable_dlopen_self_static=$lt_cv_dlopen_self_static ;;
2565 *) enable_dlopen_self_static=unknown ;;
2568 _LT_DECL([dlopen_support], [enable_dlopen], [0],
2569 [Whether dlopen is supported])
2570 _LT_DECL([dlopen_self], [enable_dlopen_self], [0],
2571 [Whether dlopen of programs is supported])
2572 _LT_DECL([dlopen_self_static], [enable_dlopen_self_static], [0],
2573 [Whether dlopen of statically linked programs is supported])
2575 m4trace:/usr/share/aclocal/libtool.m4:1840: -1- AU_DEFUN([AC_LIBTOOL_DLOPEN_SELF], [m4_if($#, 0, [LT_SYS_DLOPEN_SELF], [LT_SYS_DLOPEN_SELF($@)])])
2576 m4trace:/usr/share/aclocal/libtool.m4:1840: -1- AC_DEFUN([AC_LIBTOOL_DLOPEN_SELF], [AC_DIAGNOSE([obsolete], [The macro `AC_LIBTOOL_DLOPEN_SELF' is obsolete.
2577 You should run autoupdate.])dnl
2578 m4_if($#, 0, [LT_SYS_DLOPEN_SELF], [LT_SYS_DLOPEN_SELF($@)])])
2579 m4trace:/usr/share/aclocal/libtool.m4:2728: -1- AC_DEFUN([_LT_PATH_TOOL_PREFIX], [m4_require([_LT_DECL_EGREP])dnl
2580 AC_MSG_CHECKING([for $1])
2581 AC_CACHE_VAL(lt_cv_path_MAGIC_CMD,
2583 [[\\/*] | ?:[\\/]*])
2584 lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
2587 lt_save_MAGIC_CMD="$MAGIC_CMD"
2588 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
2589 dnl $ac_dummy forces splitting on constant user-supplied paths.
2590 dnl POSIX.2 word splitting is done only on the output of word expansions,
2591 dnl not every word. This closes a longstanding sh security hole.
2592 ac_dummy="m4_if([$2], , $PATH, [$2])"
2593 for ac_dir in $ac_dummy; do
2595 test -z "$ac_dir" && ac_dir=.
2596 if test -f $ac_dir/$1; then
2597 lt_cv_path_MAGIC_CMD="$ac_dir/$1"
2598 if test -n "$file_magic_test_file"; then
2599 case $deplibs_check_method in
2601 file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
2602 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
2603 if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
2604 $EGREP "$file_magic_regex" > /dev/null; then
2609 *** Warning: the command libtool uses to detect shared libraries,
2610 *** $file_magic_cmd, produces output that libtool cannot recognize.
2611 *** The result is that libtool may fail to recognize shared libraries
2612 *** as such. This will affect the creation of libtool libraries that
2613 *** depend on shared libraries, but programs linked with such libtool
2614 *** libraries will work regardless of this problem. Nevertheless, you
2615 *** may want to report the problem to your system manager and/or to
2616 *** bug-libtool@gnu.org
2626 MAGIC_CMD="$lt_save_MAGIC_CMD"
2629 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
2630 if test -n "$MAGIC_CMD"; then
2631 AC_MSG_RESULT($MAGIC_CMD)
2635 _LT_DECL([], [MAGIC_CMD], [0],
2636 [Used to examine libraries when file_magic_cmd begins with "file"])dnl
2638 m4trace:/usr/share/aclocal/libtool.m4:2790: -1- AU_DEFUN([AC_PATH_TOOL_PREFIX], [m4_if($#, 0, [_LT_PATH_TOOL_PREFIX], [_LT_PATH_TOOL_PREFIX($@)])])
2639 m4trace:/usr/share/aclocal/libtool.m4:2790: -1- AC_DEFUN([AC_PATH_TOOL_PREFIX], [AC_DIAGNOSE([obsolete], [The macro `AC_PATH_TOOL_PREFIX' is obsolete.
2640 You should run autoupdate.])dnl
2641 m4_if($#, 0, [_LT_PATH_TOOL_PREFIX], [_LT_PATH_TOOL_PREFIX($@)])])
2642 m4trace:/usr/share/aclocal/libtool.m4:2813: -1- AC_DEFUN([LT_PATH_LD], [AC_REQUIRE([AC_PROG_CC])dnl
2643 AC_REQUIRE([AC_CANONICAL_HOST])dnl
2644 AC_REQUIRE([AC_CANONICAL_BUILD])dnl
2645 m4_require([_LT_DECL_SED])dnl
2646 m4_require([_LT_DECL_EGREP])dnl
2648 AC_ARG_WITH([gnu-ld],
2649 [AS_HELP_STRING([--with-gnu-ld],
2650 [assume the C compiler uses GNU ld @<:@default=no@:>@])],
2651 [test "$withval" = no || with_gnu_ld=yes],
2652 [with_gnu_ld=no])dnl
2655 if test "$GCC" = yes; then
2656 # Check if gcc -print-prog-name=ld gives a path.
2657 AC_MSG_CHECKING([for ld used by $CC])
2660 # gcc leaves a trailing carriage return which upsets mingw
2661 ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
2663 ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
2666 # Accept absolute paths.
2667 [[\\/]]* | ?:[[\\/]]*)
2668 re_direlt='/[[^/]][[^/]]*/\.\./'
2669 # Canonicalize the pathname of ld
2670 ac_prog=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'`
2671 while $ECHO "$ac_prog" | $GREP "$re_direlt" > /dev/null 2>&1; do
2672 ac_prog=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"`
2674 test -z "$LD" && LD="$ac_prog"
2677 # If it fails, then pretend we aren't using GCC.
2681 # If it is relative, then search for the first ld in PATH.
2685 elif test "$with_gnu_ld" = yes; then
2686 AC_MSG_CHECKING([for GNU ld])
2688 AC_MSG_CHECKING([for non-GNU ld])
2690 AC_CACHE_VAL(lt_cv_path_LD,
2691 [if test -z "$LD"; then
2692 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
2693 for ac_dir in $PATH; do
2695 test -z "$ac_dir" && ac_dir=.
2696 if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
2697 lt_cv_path_LD="$ac_dir/$ac_prog"
2698 # Check to see if the program is GNU ld. I'd rather use --version,
2699 # but apparently some variants of GNU ld only accept -v.
2700 # Break only if it was the GNU/non-GNU ld that we prefer.
2701 case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
2702 *GNU* | *'with BFD'*)
2703 test "$with_gnu_ld" != no && break
2706 test "$with_gnu_ld" != yes && break
2713 lt_cv_path_LD="$LD" # Let the user override the test with a path.
2716 if test -n "$LD"; then
2721 test -z "$LD" && AC_MSG_ERROR([no acceptable ld found in \$PATH])
2725 _LT_TAGDECL([], [LD], [1], [The linker used to build libraries])
2727 m4trace:/usr/share/aclocal/libtool.m4:2901: -1- AU_DEFUN([AM_PROG_LD], [m4_if($#, 0, [LT_PATH_LD], [LT_PATH_LD($@)])])
2728 m4trace:/usr/share/aclocal/libtool.m4:2901: -1- AC_DEFUN([AM_PROG_LD], [AC_DIAGNOSE([obsolete], [The macro `AM_PROG_LD' is obsolete.
2729 You should run autoupdate.])dnl
2730 m4_if($#, 0, [LT_PATH_LD], [LT_PATH_LD($@)])])
2731 m4trace:/usr/share/aclocal/libtool.m4:2902: -1- AU_DEFUN([AC_PROG_LD], [m4_if($#, 0, [LT_PATH_LD], [LT_PATH_LD($@)])])
2732 m4trace:/usr/share/aclocal/libtool.m4:2902: -1- AC_DEFUN([AC_PROG_LD], [AC_DIAGNOSE([obsolete], [The macro `AC_PROG_LD' is obsolete.
2733 You should run autoupdate.])dnl
2734 m4_if($#, 0, [LT_PATH_LD], [LT_PATH_LD($@)])])
2735 m4trace:/usr/share/aclocal/libtool.m4:3166: -1- AC_DEFUN([LT_PATH_NM], [AC_REQUIRE([AC_PROG_CC])dnl
2736 AC_CACHE_CHECK([for BSD- or MS-compatible name lister (nm)], lt_cv_path_NM,
2737 [if test -n "$NM"; then
2738 # Let the user override the test.
2741 lt_nm_to_check="${ac_tool_prefix}nm"
2742 if test -n "$ac_tool_prefix" && test "$build" = "$host"; then
2743 lt_nm_to_check="$lt_nm_to_check nm"
2745 for lt_tmp_nm in $lt_nm_to_check; do
2746 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
2747 for ac_dir in $PATH /usr/ccs/bin/elf /usr/ccs/bin /usr/ucb /bin; do
2749 test -z "$ac_dir" && ac_dir=.
2750 tmp_nm="$ac_dir/$lt_tmp_nm"
2751 if test -f "$tmp_nm" || test -f "$tmp_nm$ac_exeext" ; then
2752 # Check to see if the nm accepts a BSD-compat flag.
2753 # Adding the `sed 1q' prevents false positives on HP-UX, which says:
2754 # nm: unknown option "B" ignored
2755 # Tru64's nm complains that /dev/null is an invalid object file
2756 case `"$tmp_nm" -B /dev/null 2>&1 | sed '1q'` in
2757 */dev/null* | *'Invalid file or object type'*)
2758 lt_cv_path_NM="$tmp_nm -B"
2762 case `"$tmp_nm" -p /dev/null 2>&1 | sed '1q'` in
2764 lt_cv_path_NM="$tmp_nm -p"
2768 lt_cv_path_NM=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but
2769 continue # so that we can try to find one that supports BSD flags
2778 : ${lt_cv_path_NM=no}
2780 if test "$lt_cv_path_NM" != "no"; then
2783 # Didn't find any BSD compatible name lister, look for dumpbin.
2784 AC_CHECK_TOOLS(DUMPBIN, ["dumpbin -symbols" "link -dump -symbols"], :)
2786 if test "$DUMPBIN" != ":"; then
2790 test -z "$NM" && NM=nm
2792 _LT_DECL([], [NM], [1], [A BSD- or MS-compatible name lister])dnl
2794 AC_CACHE_CHECK([the name lister ($NM) interface], [lt_cv_nm_interface],
2795 [lt_cv_nm_interface="BSD nm"
2796 echo "int some_variable = 0;" > conftest.$ac_ext
2797 (eval echo "\"\$as_me:__oline__: $ac_compile\"" >&AS_MESSAGE_LOG_FD)
2798 (eval "$ac_compile" 2>conftest.err)
2799 cat conftest.err >&AS_MESSAGE_LOG_FD
2800 (eval echo "\"\$as_me:__oline__: $NM \\\"conftest.$ac_objext\\\"\"" >&AS_MESSAGE_LOG_FD)
2801 (eval "$NM \"conftest.$ac_objext\"" 2>conftest.err > conftest.out)
2802 cat conftest.err >&AS_MESSAGE_LOG_FD
2803 (eval echo "\"\$as_me:__oline__: output\"" >&AS_MESSAGE_LOG_FD)
2804 cat conftest.out >&AS_MESSAGE_LOG_FD
2805 if $GREP 'External.*some_variable' conftest.out > /dev/null; then
2806 lt_cv_nm_interface="MS dumpbin"
2810 m4trace:/usr/share/aclocal/libtool.m4:3244: -1- AU_DEFUN([AM_PROG_NM], [m4_if($#, 0, [LT_PATH_NM], [LT_PATH_NM($@)])])
2811 m4trace:/usr/share/aclocal/libtool.m4:3244: -1- AC_DEFUN([AM_PROG_NM], [AC_DIAGNOSE([obsolete], [The macro `AM_PROG_NM' is obsolete.
2812 You should run autoupdate.])dnl
2813 m4_if($#, 0, [LT_PATH_NM], [LT_PATH_NM($@)])])
2814 m4trace:/usr/share/aclocal/libtool.m4:3245: -1- AU_DEFUN([AC_PROG_NM], [m4_if($#, 0, [LT_PATH_NM], [LT_PATH_NM($@)])])
2815 m4trace:/usr/share/aclocal/libtool.m4:3245: -1- AC_DEFUN([AC_PROG_NM], [AC_DIAGNOSE([obsolete], [The macro `AC_PROG_NM' is obsolete.
2816 You should run autoupdate.])dnl
2817 m4_if($#, 0, [LT_PATH_NM], [LT_PATH_NM($@)])])
2818 m4trace:/usr/share/aclocal/libtool.m4:3254: -1- AC_DEFUN([LT_LIB_M], [AC_REQUIRE([AC_CANONICAL_HOST])dnl
2821 *-*-beos* | *-*-cygwin* | *-*-pw32* | *-*-darwin*)
2822 # These system don't have libm, or don't need it
2825 AC_CHECK_LIB(mw, _mwvalidcheckl, LIBM="-lmw")
2826 AC_CHECK_LIB(m, cos, LIBM="$LIBM -lm")
2829 AC_CHECK_LIB(m, cos, LIBM="-lm")
2834 m4trace:/usr/share/aclocal/libtool.m4:3273: -1- AU_DEFUN([AC_CHECK_LIBM], [m4_if($#, 0, [LT_LIB_M], [LT_LIB_M($@)])])
2835 m4trace:/usr/share/aclocal/libtool.m4:3273: -1- AC_DEFUN([AC_CHECK_LIBM], [AC_DIAGNOSE([obsolete], [The macro `AC_CHECK_LIBM' is obsolete.
2836 You should run autoupdate.])dnl
2837 m4_if($#, 0, [LT_LIB_M], [LT_LIB_M($@)])])
2838 m4trace:/usr/share/aclocal/libtool.m4:6975: -1- AC_DEFUN([LT_PROG_GCJ], [m4_ifdef([AC_PROG_GCJ], [AC_PROG_GCJ],
2839 [m4_ifdef([A][M_PROG_GCJ], [A][M_PROG_GCJ],
2840 [AC_CHECK_TOOL(GCJ, gcj,)
2841 test "x${GCJFLAGS+set}" = xset || GCJFLAGS="-g -O2"
2842 AC_SUBST(GCJFLAGS)])])[]dnl
2844 m4trace:/usr/share/aclocal/libtool.m4:6984: -1- AU_DEFUN([LT_AC_PROG_GCJ], [m4_if($#, 0, [LT_PROG_GCJ], [LT_PROG_GCJ($@)])])
2845 m4trace:/usr/share/aclocal/libtool.m4:6984: -1- AC_DEFUN([LT_AC_PROG_GCJ], [AC_DIAGNOSE([obsolete], [The macro `LT_AC_PROG_GCJ' is obsolete.
2846 You should run autoupdate.])dnl
2847 m4_if($#, 0, [LT_PROG_GCJ], [LT_PROG_GCJ($@)])])
2848 m4trace:/usr/share/aclocal/libtool.m4:6991: -1- AC_DEFUN([LT_PROG_RC], [AC_CHECK_TOOL(RC, windres,)
2850 m4trace:/usr/share/aclocal/libtool.m4:6996: -1- AU_DEFUN([LT_AC_PROG_RC], [m4_if($#, 0, [LT_PROG_RC], [LT_PROG_RC($@)])])
2851 m4trace:/usr/share/aclocal/libtool.m4:6996: -1- AC_DEFUN([LT_AC_PROG_RC], [AC_DIAGNOSE([obsolete], [The macro `LT_AC_PROG_RC' is obsolete.
2852 You should run autoupdate.])dnl
2853 m4_if($#, 0, [LT_PROG_RC], [LT_PROG_RC($@)])])
2854 m4trace:/usr/share/aclocal/libtool.m4:7107: -1- AU_DEFUN([LT_AC_PROG_SED], [m4_if($#, 0, [AC_PROG_SED], [AC_PROG_SED($@)])])
2855 m4trace:/usr/share/aclocal/libtool.m4:7107: -1- AC_DEFUN([LT_AC_PROG_SED], [AC_DIAGNOSE([obsolete], [The macro `LT_AC_PROG_SED' is obsolete.
2856 You should run autoupdate.])dnl
2857 m4_if($#, 0, [AC_PROG_SED], [AC_PROG_SED($@)])])
2858 m4trace:/usr/share/aclocal/lock.m4:9: -1- AC_DEFUN([gl_LOCK], [
2859 AC_REQUIRE([gl_THREADLIB])
2860 if test "$gl_threads_api" = posix; then
2861 # OSF/1 4.0 and MacOS X 10.1 lack the pthread_rwlock_t type and the
2862 # pthread_rwlock_* functions.
2863 AC_CHECK_TYPE([pthread_rwlock_t],
2864 [AC_DEFINE([HAVE_PTHREAD_RWLOCK], [1],
2865 [Define if the POSIX multithreading library has read/write locks.])],
2867 [#include <pthread.h>])
2868 # glibc defines PTHREAD_MUTEX_RECURSIVE as enum, not as a macro.
2869 AC_TRY_COMPILE([#include <pthread.h>],
2870 [#if __FreeBSD__ == 4
2871 error "No, in FreeBSD 4.0 recursive mutexes actually don't work."
2873 int x = (int)PTHREAD_MUTEX_RECURSIVE;
2876 [AC_DEFINE([HAVE_PTHREAD_MUTEX_RECURSIVE], [1],
2877 [Define if the <pthread.h> defines PTHREAD_MUTEX_RECURSIVE.])])
2881 m4trace:/usr/share/aclocal/lock.m4:35: -1- AC_DEFUN([gl_PREREQ_LOCK], [
2882 AC_REQUIRE([AC_C_INLINE])
2884 m4trace:/usr/share/aclocal/longlong.m4:17: -1- AC_DEFUN([AC_TYPE_LONG_LONG_INT], [
2885 AC_CACHE_CHECK([for long long int], [ac_cv_type_long_long_int],
2887 [_AC_TYPE_LONG_LONG_SNIPPET],
2888 [dnl This catches a bug in Tandem NonStop Kernel (OSS) cc -O circa 2004.
2889 dnl If cross compiling, assume the bug isn't important, since
2890 dnl nobody cross compiles for this platform as far as we know.
2893 [[@%:@include <limits.h>
2894 @%:@ifndef LLONG_MAX
2896 (1LL << (sizeof (long long int) * CHAR_BIT - 2))
2897 @%:@ define LLONG_MAX (HALF - 1 + HALF)
2899 [[long long int n = 1;
2903 long long int m = n << i;
2906 if (LLONG_MAX / 2 < m)
2910 [ac_cv_type_long_long_int=yes],
2911 [ac_cv_type_long_long_int=no],
2912 [ac_cv_type_long_long_int=yes])],
2913 [ac_cv_type_long_long_int=no])])
2914 if test $ac_cv_type_long_long_int = yes; then
2915 AC_DEFINE([HAVE_LONG_LONG_INT], [1],
2916 [Define to 1 if the system has the type `long long int'.])
2919 m4trace:/usr/share/aclocal/longlong.m4:63: -1- AC_DEFUN([AC_TYPE_UNSIGNED_LONG_LONG_INT], [
2920 AC_CACHE_CHECK([for unsigned long long int],
2921 [ac_cv_type_unsigned_long_long_int],
2923 [_AC_TYPE_LONG_LONG_SNIPPET],
2924 [ac_cv_type_unsigned_long_long_int=yes],
2925 [ac_cv_type_unsigned_long_long_int=no])])
2926 if test $ac_cv_type_unsigned_long_long_int = yes; then
2927 AC_DEFINE([HAVE_UNSIGNED_LONG_LONG_INT], [1],
2928 [Define to 1 if the system has the type `unsigned long long int'.])
2931 m4trace:/usr/share/aclocal/longlong.m4:82: -1- AC_DEFUN([_AC_TYPE_LONG_LONG_SNIPPET], [
2933 [[/* For now, do not test the preprocessor; as of 2007 there are too many
2934 implementations with broken preprocessors. Perhaps this can
2935 be revisited in 2012. In the meantime, code should not expect
2936 #if to work with literals wider than 32 bits. */
2937 /* Test literals. */
2938 long long int ll = 9223372036854775807ll;
2939 long long int nll = -9223372036854775807LL;
2940 unsigned long long int ull = 18446744073709551615ULL;
2941 /* Test constant expressions. */
2942 typedef int a[((-9223372036854775807LL < 0 && 0 < 9223372036854775807ll)
2944 typedef int b[(18446744073709551615ULL <= (unsigned long long int) -1
2947 [[/* Test availability of runtime routines for shift and division. */
2948 long long int llmax = 9223372036854775807ll;
2949 unsigned long long int ullmax = 18446744073709551615ull;
2950 return ((ll << 63) | (ll >> 63) | (ll < i) | (ll > i)
2951 | (llmax / ll) | (llmax % ll)
2952 | (ull << 63) | (ull >> 63) | (ull << i) | (ull >> i)
2953 | (ullmax / ull) | (ullmax % ull));]])
2955 m4trace:/usr/share/aclocal/ltdl.m4:16: -1- AC_DEFUN([LT_CONFIG_LTDL_DIR], [AC_BEFORE([$0], [LTDL_INIT])
2958 m4trace:/usr/share/aclocal/ltdl.m4:68: -1- AC_DEFUN([LTDL_CONVENIENCE], [AC_BEFORE([$0], [LTDL_INIT])dnl
2959 dnl Although the argument is deprecated and no longer documented,
2960 dnl LTDL_CONVENIENCE used to take a DIRECTORY orgument, if we have one
2961 dnl here make sure it is the same as any other declaration of libltdl's
2962 dnl location! This also ensures lt_ltdl_dir is set when configure.ac is
2963 dnl not yet using an explicit LT_CONFIG_LTDL_DIR.
2964 m4_ifval([$1], [_LT_CONFIG_LTDL_DIR([$1])])dnl
2967 m4trace:/usr/share/aclocal/ltdl.m4:81: -1- AU_DEFUN([AC_LIBLTDL_CONVENIENCE], [_LT_CONFIG_LTDL_DIR([m4_default([$1], [libltdl])])
2969 m4trace:/usr/share/aclocal/ltdl.m4:81: -1- AC_DEFUN([AC_LIBLTDL_CONVENIENCE], [AC_DIAGNOSE([obsolete], [The macro `AC_LIBLTDL_CONVENIENCE' is obsolete.
2970 You should run autoupdate.])dnl
2971 _LT_CONFIG_LTDL_DIR([m4_default([$1], [libltdl])])
2973 m4trace:/usr/share/aclocal/ltdl.m4:124: -1- AC_DEFUN([LTDL_INSTALLABLE], [AC_BEFORE([$0], [LTDL_INIT])dnl
2974 dnl Although the argument is deprecated and no longer documented,
2975 dnl LTDL_INSTALLABLE used to take a DIRECTORY orgument, if we have one
2976 dnl here make sure it is the same as any other declaration of libltdl's
2977 dnl location! This also ensures lt_ltdl_dir is set when configure.ac is
2978 dnl not yet using an explicit LT_CONFIG_LTDL_DIR.
2979 m4_ifval([$1], [_LT_CONFIG_LTDL_DIR([$1])])dnl
2982 m4trace:/usr/share/aclocal/ltdl.m4:137: -1- AU_DEFUN([AC_LIBLTDL_INSTALLABLE], [_LT_CONFIG_LTDL_DIR([m4_default([$1], [libltdl])])
2984 m4trace:/usr/share/aclocal/ltdl.m4:137: -1- AC_DEFUN([AC_LIBLTDL_INSTALLABLE], [AC_DIAGNOSE([obsolete], [The macro `AC_LIBLTDL_INSTALLABLE' is obsolete.
2985 You should run autoupdate.])dnl
2986 _LT_CONFIG_LTDL_DIR([m4_default([$1], [libltdl])])
2988 m4trace:/usr/share/aclocal/ltdl.m4:213: -1- AC_DEFUN([_LT_LIBOBJ], [
2989 m4_pattern_allow([^_LT_LIBOBJS$])
2990 _LT_LIBOBJS="$_LT_LIBOBJS $1.$ac_objext"
2992 m4trace:/usr/share/aclocal/ltdl.m4:226: -1- AC_DEFUN([LTDL_INIT], [dnl Parse OPTIONS
2993 _LT_SET_OPTIONS([$0], [$1])
2995 dnl We need to keep our own list of libobjs separate from our parent project,
2996 dnl and the easiest way to do that is redefine the AC_LIBOBJs macro while
2997 dnl we look for our own LIBOBJs.
2998 m4_pushdef([AC_LIBOBJ], m4_defn([_LT_LIBOBJ]))
2999 m4_pushdef([AC_LIBSOURCES])
3001 dnl If not otherwise defined, default to the 1.5.x compatible subproject mode:
3002 m4_if(_LTDL_MODE, [],
3003 [m4_define([_LTDL_MODE], m4_default([$2], [subproject]))
3004 m4_if([-1], [m4_bregexp(_LTDL_MODE, [\(subproject\|\(non\)?recursive\)])],
3005 [m4_fatal([unknown libltdl mode: ]_LTDL_MODE)])])
3007 AC_ARG_WITH([included_ltdl],
3008 [AS_HELP_STRING([--with-included-ltdl],
3009 [use the GNU ltdl sources included here])])
3011 if test "x$with_included_ltdl" != xyes; then
3012 # We are not being forced to use the included libltdl sources, so
3013 # decide whether there is a useful installed version we can use.
3014 AC_CHECK_HEADER([ltdl.h],
3015 [AC_CHECK_DECL([lt_dlinterface_register],
3016 [AC_CHECK_LIB([ltdl], [lt_dladvise_preload],
3017 [with_included_ltdl=no],
3018 [with_included_ltdl=yes])],
3019 [with_included_ltdl=yes],
3020 [AC_INCLUDES_DEFAULT
3021 #include <ltdl.h>])],
3022 [with_included_ltdl=yes],
3023 [AC_INCLUDES_DEFAULT]
3027 dnl If neither LT_CONFIG_LTDL_DIR, LTDL_CONVENIENCE nor LTDL_INSTALLABLE
3028 dnl was called yet, then for old times' sake, we assume libltdl is in an
3029 dnl eponymous directory:
3030 AC_PROVIDE_IFELSE([LT_CONFIG_LTDL_DIR], [], [_LT_CONFIG_LTDL_DIR([libltdl])])
3032 AC_ARG_WITH([ltdl_include],
3033 [AS_HELP_STRING([--with-ltdl-include=DIR],
3034 [use the ltdl headers installed in DIR])])
3036 if test -n "$with_ltdl_include"; then
3037 if test -f "$with_ltdl_include/ltdl.h"; then :
3039 AC_MSG_ERROR([invalid ltdl include directory: `$with_ltdl_include'])
3042 with_ltdl_include=no
3045 AC_ARG_WITH([ltdl_lib],
3046 [AS_HELP_STRING([--with-ltdl-lib=DIR],
3047 [use the libltdl.la installed in DIR])])
3049 if test -n "$with_ltdl_lib"; then
3050 if test -f "$with_ltdl_lib/libltdl.la"; then :
3052 AC_MSG_ERROR([invalid ltdl library directory: `$with_ltdl_lib'])
3058 case ,$with_included_ltdl,$with_ltdl_include,$with_ltdl_lib, in
3060 m4_case(m4_default(_LTDL_TYPE, [convenience]),
3061 [convenience], [_LTDL_CONVENIENCE],
3062 [installable], [_LTDL_INSTALLABLE],
3063 [m4_fatal([unknown libltdl build type: ]_LTDL_TYPE)])
3066 # If the included ltdl is not to be used, then use the
3067 # preinstalled libltdl we found.
3068 AC_DEFINE([HAVE_LTDL], [1],
3069 [Define this if a modern libltdl is already installed])
3075 AC_MSG_ERROR([`--with-ltdl-include' and `--with-ltdl-lib' options must be used together])
3077 *) with_included_ltdl=no
3078 LIBLTDL="-L$with_ltdl_lib -lltdl"
3080 LTDLINCL="-I$with_ltdl_include"
3085 # Report our decision...
3086 AC_MSG_CHECKING([where to find libltdl headers])
3087 AC_MSG_RESULT([$LTDLINCL])
3088 AC_MSG_CHECKING([where to find libltdl library])
3089 AC_MSG_RESULT([$LIBLTDL])
3093 dnl restore autoconf definition.
3094 m4_popdef([AC_LIBOBJ])
3095 m4_popdef([AC_LIBSOURCES])
3097 AC_CONFIG_COMMANDS_PRE([
3100 if test -n "$_LT_LIBOBJS"; then
3101 # Remove the extension.
3102 _lt_sed_drop_objext='s/\.o$//;s/\.obj$//'
3103 for i in `for i in $_LT_LIBOBJS; do echo "$i"; done | sed "$_lt_sed_drop_objext" | sort -u`; do
3104 _ltdl_libobjs="$_ltdl_libobjs $lt_libobj_prefix$i.$ac_objext"
3105 _ltdl_ltlibobjs="$_ltdl_ltlibobjs $lt_libobj_prefix$i.lo"
3108 AC_SUBST([ltdl_LIBOBJS], [$_ltdl_libobjs])
3109 AC_SUBST([ltdl_LTLIBOBJS], [$_ltdl_ltlibobjs])
3113 m4_define([LTDL_INIT])
3115 m4trace:/usr/share/aclocal/ltdl.m4:352: -1- AU_DEFUN([AC_LIB_LTDL], [LTDL_INIT($@)])
3116 m4trace:/usr/share/aclocal/ltdl.m4:352: -1- AC_DEFUN([AC_LIB_LTDL], [AC_DIAGNOSE([obsolete], [The macro `AC_LIB_LTDL' is obsolete.
3117 You should run autoupdate.])dnl
3119 m4trace:/usr/share/aclocal/ltdl.m4:353: -1- AU_DEFUN([AC_WITH_LTDL], [LTDL_INIT($@)])
3120 m4trace:/usr/share/aclocal/ltdl.m4:353: -1- AC_DEFUN([AC_WITH_LTDL], [AC_DIAGNOSE([obsolete], [The macro `AC_WITH_LTDL' is obsolete.
3121 You should run autoupdate.])dnl
3123 m4trace:/usr/share/aclocal/ltdl.m4:354: -1- AU_DEFUN([LT_WITH_LTDL], [LTDL_INIT($@)])
3124 m4trace:/usr/share/aclocal/ltdl.m4:354: -1- AC_DEFUN([LT_WITH_LTDL], [AC_DIAGNOSE([obsolete], [The macro `LT_WITH_LTDL' is obsolete.
3125 You should run autoupdate.])dnl
3127 m4trace:/usr/share/aclocal/ltdl.m4:367: -1- AC_DEFUN([_LTDL_SETUP], [AC_REQUIRE([AC_PROG_CC])dnl
3128 AC_REQUIRE([LT_SYS_MODULE_EXT])dnl
3129 AC_REQUIRE([LT_SYS_MODULE_PATH])dnl
3130 AC_REQUIRE([LT_SYS_DLSEARCH_PATH])dnl
3131 AC_REQUIRE([LT_LIB_DLLOAD])dnl
3132 AC_REQUIRE([LT_SYS_SYMBOL_USCORE])dnl
3133 AC_REQUIRE([LT_FUNC_DLSYM_USCORE])dnl
3134 AC_REQUIRE([LT_SYS_DLOPEN_DEPLIBS])dnl
3135 AC_REQUIRE([gl_FUNC_ARGZ])dnl
3137 m4_require([_LT_CHECK_OBJDIR])dnl
3138 m4_require([_LT_HEADER_DLFCN])dnl
3139 m4_require([_LT_CHECK_DLPREOPEN])dnl
3140 m4_require([_LT_DECL_SED])dnl
3142 dnl Don't require this, or it will be expanded earlier than the code
3143 dnl that sets the variables it relies on:
3146 dnl _LTDL_MODE specific code must be called at least once:
3149 # In order that ltdl.c can compile, find out the first AC_CONFIG_HEADERS
3150 # the user used. This is so that ltdl.h can pick up the parent projects
3151 # config.h file, The first file in AC_CONFIG_HEADERS must contain the
3152 # definitions required by ltdl.c.
3153 # FIXME: Remove use of undocumented AC_LIST_HEADERS (2.59 compatibility).
3154 AC_CONFIG_COMMANDS_PRE([dnl
3155 m4_pattern_allow([^LT_CONFIG_H$])dnl
3156 m4_ifset([AH_HEADER],
3157 [LT_CONFIG_H=AH_HEADER],
3158 [m4_ifset([AC_LIST_HEADERS],
3159 [LT_CONFIG_H=`echo "AC_LIST_HEADERS" | $SED 's,^[[ ]]*,,;s,[[ :]].*$,,'`],
3161 AC_SUBST([LT_CONFIG_H])
3163 AC_CHECK_HEADERS([unistd.h dl.h sys/dl.h dld.h mach-o/dyld.h dirent.h],
3164 [], [], [AC_INCLUDES_DEFAULT])
3166 AC_CHECK_FUNCS([closedir opendir readdir], [], [AC_LIBOBJ([lt__dirent])])
3167 AC_CHECK_FUNCS([strlcat strlcpy], [], [AC_LIBOBJ([lt__strl])])
3169 AC_DEFINE_UNQUOTED([LT_LIBEXT],["$libext"],[The archive extension])
3172 LTDLOPEN=`eval "\\$ECHO \"$libname_spec\""`
3173 AC_SUBST([LTDLOPEN])
3175 m4trace:/usr/share/aclocal/ltdl.m4:437: -1- AC_DEFUN([LT_SYS_DLOPEN_DEPLIBS], [AC_REQUIRE([AC_CANONICAL_HOST])dnl
3176 AC_CACHE_CHECK([whether deplibs are loaded by dlopen],
3177 [lt_cv_sys_dlopen_deplibs],
3178 [# PORTME does your system automatically load deplibs for dlopen?
3179 # or its logical equivalent (e.g. shl_load for HP-UX < 11)
3180 # For now, we just catch OSes we know something about -- in the
3181 # future, we'll try test this programmatically.
3182 lt_cv_sys_dlopen_deplibs=unknown
3184 aix3*|aix4.1.*|aix4.2.*)
3185 # Unknown whether this is true for these versions of AIX, but
3186 # we want this `case' here to explicitly catch those versions.
3187 lt_cv_sys_dlopen_deplibs=unknown
3190 lt_cv_sys_dlopen_deplibs=yes
3195 lt_cv_sys_dlopen_deplibs=no
3200 # Assuming the user has installed a libdl from somewhere, this is true
3201 # If you are looking for one http://www.opendarwin.org/projects/dlcompat
3202 lt_cv_sys_dlopen_deplibs=yes
3204 freebsd* | dragonfly*)
3205 lt_cv_sys_dlopen_deplibs=yes
3207 gnu* | linux* | k*bsd*-gnu)
3208 # GNU and its variants, using gnu ld.so (Glibc)
3209 lt_cv_sys_dlopen_deplibs=yes
3212 lt_cv_sys_dlopen_deplibs=yes
3215 lt_cv_sys_dlopen_deplibs=yes
3217 irix[[12345]]*|irix6.[[01]]*)
3218 # Catch all versions of IRIX before 6.2, and indicate that we don't
3219 # know how it worked for any of those versions.
3220 lt_cv_sys_dlopen_deplibs=unknown
3223 # The case above catches anything before 6.2, and it's known that
3224 # at 6.2 and later dlopen does load deplibs.
3225 lt_cv_sys_dlopen_deplibs=yes
3228 lt_cv_sys_dlopen_deplibs=yes
3231 lt_cv_sys_dlopen_deplibs=yes
3234 # dlopen did load deplibs (at least at 4.x), but until the 5.x series,
3235 # it did *not* use an RPATH in a shared library to find objects the
3236 # library depends on, so we explicitly say `no'.
3237 lt_cv_sys_dlopen_deplibs=no
3239 osf5.0|osf5.0a|osf5.1)
3240 # dlopen *does* load deplibs and with the right loader patch applied
3241 # it even uses RPATH in a shared library to search for shared objects
3242 # that the library depends on, but there's no easy way to know if that
3243 # patch is installed. Since this is the case, all we can really
3244 # say is unknown -- it depends on the patch being installed. If
3245 # it is, this changes to `yes'. Without it, it would be `no'.
3246 lt_cv_sys_dlopen_deplibs=unknown
3249 # the two cases above should catch all versions of osf <= 5.1. Read
3250 # the comments above for what we know about them.
3251 # At > 5.1, deplibs are loaded *and* any RPATH in a shared library
3252 # is used to find them so we can finally say `yes'.
3253 lt_cv_sys_dlopen_deplibs=yes
3256 lt_cv_sys_dlopen_deplibs=yes
3259 lt_cv_sys_dlopen_deplibs=yes
3261 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
3262 libltdl_cv_sys_dlopen_deplibs=yes
3266 if test "$lt_cv_sys_dlopen_deplibs" != yes; then
3267 AC_DEFINE([LTDL_DLOPEN_DEPLIBS], [1],
3268 [Define if the OS needs help to load dependent libraries for dlopen().])
3271 m4trace:/usr/share/aclocal/ltdl.m4:536: -1- AU_DEFUN([AC_LTDL_SYS_DLOPEN_DEPLIBS], [m4_if($#, 0, [LT_SYS_DLOPEN_DEPLIBS], [LT_SYS_DLOPEN_DEPLIBS($@)])])
3272 m4trace:/usr/share/aclocal/ltdl.m4:536: -1- AC_DEFUN([AC_LTDL_SYS_DLOPEN_DEPLIBS], [AC_DIAGNOSE([obsolete], [The macro `AC_LTDL_SYS_DLOPEN_DEPLIBS' is obsolete.
3273 You should run autoupdate.])dnl
3274 m4_if($#, 0, [LT_SYS_DLOPEN_DEPLIBS], [LT_SYS_DLOPEN_DEPLIBS($@)])])
3275 m4trace:/usr/share/aclocal/ltdl.m4:543: -1- AC_DEFUN([LT_SYS_MODULE_EXT], [m4_require([_LT_SYS_DYNAMIC_LINKER])dnl
3276 AC_CACHE_CHECK([which extension is used for runtime loadable modules],
3277 [libltdl_cv_shlibext],
3280 eval libltdl_cv_shlibext=$shrext_cmds
3282 if test -n "$libltdl_cv_shlibext"; then
3283 m4_pattern_allow([LT_MODULE_EXT])dnl
3284 AC_DEFINE_UNQUOTED([LT_MODULE_EXT], ["$libltdl_cv_shlibext"],
3285 [Define to the extension used for runtime loadable modules, say, ".so".])
3288 m4trace:/usr/share/aclocal/ltdl.m4:559: -1- AU_DEFUN([AC_LTDL_SHLIBEXT], [m4_if($#, 0, [LT_SYS_MODULE_EXT], [LT_SYS_MODULE_EXT($@)])])
3289 m4trace:/usr/share/aclocal/ltdl.m4:559: -1- AC_DEFUN([AC_LTDL_SHLIBEXT], [AC_DIAGNOSE([obsolete], [The macro `AC_LTDL_SHLIBEXT' is obsolete.
3290 You should run autoupdate.])dnl
3291 m4_if($#, 0, [LT_SYS_MODULE_EXT], [LT_SYS_MODULE_EXT($@)])])
3292 m4trace:/usr/share/aclocal/ltdl.m4:566: -1- AC_DEFUN([LT_SYS_MODULE_PATH], [m4_require([_LT_SYS_DYNAMIC_LINKER])dnl
3293 AC_CACHE_CHECK([which variable specifies run-time module search path],
3294 [lt_cv_module_path_var], [lt_cv_module_path_var="$shlibpath_var"])
3295 if test -n "$lt_cv_module_path_var"; then
3296 m4_pattern_allow([LT_MODULE_PATH_VAR])dnl
3297 AC_DEFINE_UNQUOTED([LT_MODULE_PATH_VAR], ["$lt_cv_module_path_var"],
3298 [Define to the name of the environment variable that determines the run-time module search path.])
3301 m4trace:/usr/share/aclocal/ltdl.m4:578: -1- AU_DEFUN([AC_LTDL_SHLIBPATH], [m4_if($#, 0, [LT_SYS_MODULE_PATH], [LT_SYS_MODULE_PATH($@)])])
3302 m4trace:/usr/share/aclocal/ltdl.m4:578: -1- AC_DEFUN([AC_LTDL_SHLIBPATH], [AC_DIAGNOSE([obsolete], [The macro `AC_LTDL_SHLIBPATH' is obsolete.
3303 You should run autoupdate.])dnl
3304 m4_if($#, 0, [LT_SYS_MODULE_PATH], [LT_SYS_MODULE_PATH($@)])])
3305 m4trace:/usr/share/aclocal/ltdl.m4:585: -1- AC_DEFUN([LT_SYS_DLSEARCH_PATH], [m4_require([_LT_SYS_DYNAMIC_LINKER])dnl
3306 AC_CACHE_CHECK([for the default library search path],
3307 [lt_cv_sys_dlsearch_path],
3308 [lt_cv_sys_dlsearch_path="$sys_lib_dlsearch_path_spec"])
3309 if test -n "$lt_cv_sys_dlsearch_path"; then
3311 for dir in $lt_cv_sys_dlsearch_path; do
3312 if test -z "$sys_dlsearch_path"; then
3313 sys_dlsearch_path="$dir"
3315 sys_dlsearch_path="$sys_dlsearch_path$PATH_SEPARATOR$dir"
3318 m4_pattern_allow([LT_DLSEARCH_PATH])dnl
3319 AC_DEFINE_UNQUOTED([LT_DLSEARCH_PATH], ["$sys_dlsearch_path"],
3320 [Define to the system default library search path.])
3323 m4trace:/usr/share/aclocal/ltdl.m4:606: -1- AU_DEFUN([AC_LTDL_SYSSEARCHPATH], [m4_if($#, 0, [LT_SYS_DLSEARCH_PATH], [LT_SYS_DLSEARCH_PATH($@)])])
3324 m4trace:/usr/share/aclocal/ltdl.m4:606: -1- AC_DEFUN([AC_LTDL_SYSSEARCHPATH], [AC_DIAGNOSE([obsolete], [The macro `AC_LTDL_SYSSEARCHPATH' is obsolete.
3325 You should run autoupdate.])dnl
3326 m4_if($#, 0, [LT_SYS_DLSEARCH_PATH], [LT_SYS_DLSEARCH_PATH($@)])])
3327 m4trace:/usr/share/aclocal/ltdl.m4:632: -1- AC_DEFUN([LT_LIB_DLLOAD], [m4_pattern_allow([^LT_DLLOADERS$])
3329 AC_SUBST([LT_DLLOADERS])
3334 AC_SEARCH_LIBS([dlopen], [dl],
3335 [AC_DEFINE([HAVE_LIBDL], [1],
3336 [Define if you have the libdl library or equivalent.])
3337 if test "$ac_cv_search_dlopen" != "none required" ; then
3338 LIBADD_DLOPEN="-ldl"
3340 libltdl_cv_lib_dl_dlopen="yes"
3341 LT_DLLOADERS="$LT_DLLOADERS ${lt_dlopen_dir+$lt_dlopen_dir/}dlopen.la"],
3342 [AC_LINK_IFELSE([AC_LANG_PROGRAM([[#if HAVE_DLFCN_H
3345 ]], [[dlopen(0, 0);]])],
3346 [AC_DEFINE([HAVE_LIBDL], [1],
3347 [Define if you have the libdl library or equivalent.])
3348 libltdl_cv_func_dlopen="yes"
3349 LT_DLLOADERS="$LT_DLLOADERS ${lt_dlopen_dir+$lt_dlopen_dir/}dlopen.la"],
3350 [AC_CHECK_LIB([svld], [dlopen],
3351 [AC_DEFINE([HAVE_LIBDL], [1],
3352 [Define if you have the libdl library or equivalent.])
3353 LIBADD_DLOPEN="-lsvld" libltdl_cv_func_dlopen="yes"
3354 LT_DLLOADERS="$LT_DLLOADERS ${lt_dlopen_dir+$lt_dlopen_dir/}dlopen.la"])])])
3355 if test x"$libltdl_cv_func_dlopen" = xyes || test x"$libltdl_cv_lib_dl_dlopen" = xyes
3357 lt_save_LIBS="$LIBS"
3358 LIBS="$LIBS $LIBADD_DLOPEN"
3359 AC_CHECK_FUNCS([dlerror])
3360 LIBS="$lt_save_LIBS"
3362 AC_SUBST([LIBADD_DLOPEN])
3365 AC_CHECK_FUNC([shl_load],
3366 [AC_DEFINE([HAVE_SHL_LOAD], [1],
3367 [Define if you have the shl_load function.])
3368 LT_DLLOADERS="$LT_DLLOADERS ${lt_dlopen_dir+$lt_dlopen_dir/}shl_load.la"],
3369 [AC_CHECK_LIB([dld], [shl_load],
3370 [AC_DEFINE([HAVE_SHL_LOAD], [1],
3371 [Define if you have the shl_load function.])
3372 LT_DLLOADERS="$LT_DLLOADERS ${lt_dlopen_dir+$lt_dlopen_dir/}shl_load.la"
3373 LIBADD_SHL_LOAD="-ldld"])])
3374 AC_SUBST([LIBADD_SHL_LOAD])
3378 # We only want this for pre-Mac OS X 10.4.
3379 AC_CHECK_FUNC([_dyld_func_lookup],
3380 [AC_DEFINE([HAVE_DYLD], [1],
3381 [Define if you have the _dyld_func_lookup function.])
3382 LT_DLLOADERS="$LT_DLLOADERS ${lt_dlopen_dir+$lt_dlopen_dir/}dyld.la"])
3385 LT_DLLOADERS="$LT_DLLOADERS ${lt_dlopen_dir+$lt_dlopen_dir/}load_add_on.la"
3387 cygwin* | mingw* | os2* | pw32*)
3388 AC_CHECK_DECLS([cygwin_conv_path], [], [], [[#include <sys/cygwin.h>]])
3389 LT_DLLOADERS="$LT_DLLOADERS ${lt_dlopen_dir+$lt_dlopen_dir/}loadlibrary.la"
3393 AC_CHECK_LIB([dld], [dld_link],
3394 [AC_DEFINE([HAVE_DLD], [1],
3395 [Define if you have the GNU dld library.])
3396 LT_DLLOADERS="$LT_DLLOADERS ${lt_dlopen_dir+$lt_dlopen_dir/}dld_link.la"])
3397 AC_SUBST([LIBADD_DLD_LINK])
3399 m4_pattern_allow([^LT_DLPREOPEN$])
3401 if test -n "$LT_DLLOADERS"
3403 for lt_loader in $LT_DLLOADERS; do
3404 LT_DLPREOPEN="$LT_DLPREOPEN-dlpreopen $lt_loader "
3406 AC_DEFINE([HAVE_LIBDLLOADER], [1],
3407 [Define if libdlloader will be built on this platform])
3409 AC_SUBST([LT_DLPREOPEN])
3411 dnl This isn't used anymore, but set it for backwards compatibility
3412 LIBADD_DL="$LIBADD_DLOPEN $LIBADD_SHL_LOAD"
3413 AC_SUBST([LIBADD_DL])
3417 m4trace:/usr/share/aclocal/ltdl.m4:725: -1- AU_DEFUN([AC_LTDL_DLLIB], [m4_if($#, 0, [LT_LIB_DLLOAD], [LT_LIB_DLLOAD($@)])])
3418 m4trace:/usr/share/aclocal/ltdl.m4:725: -1- AC_DEFUN([AC_LTDL_DLLIB], [AC_DIAGNOSE([obsolete], [The macro `AC_LTDL_DLLIB' is obsolete.
3419 You should run autoupdate.])dnl
3420 m4_if($#, 0, [LT_LIB_DLLOAD], [LT_LIB_DLLOAD($@)])])
3421 m4trace:/usr/share/aclocal/ltdl.m4:733: -1- AC_DEFUN([LT_SYS_SYMBOL_USCORE], [m4_require([_LT_CMD_GLOBAL_SYMBOLS])dnl
3422 AC_CACHE_CHECK([for _ prefix in compiled symbols],
3423 [lt_cv_sys_symbol_underscore],
3424 [lt_cv_sys_symbol_underscore=no
3425 cat > conftest.$ac_ext <<_LT_EOF
3426 void nm_test_func(){}
3427 int main(){nm_test_func;return 0;}
3429 if AC_TRY_EVAL(ac_compile); then
3430 # Now try to grab the symbols.
3431 ac_nlist=conftest.nm
3432 if AC_TRY_EVAL(NM conftest.$ac_objext \| $lt_cv_sys_global_symbol_pipe \> $ac_nlist) && test -s "$ac_nlist"; then
3433 # See whether the symbols have a leading underscore.
3434 if grep '^. _nm_test_func' "$ac_nlist" >/dev/null; then
3435 lt_cv_sys_symbol_underscore=yes
3437 if grep '^. nm_test_func ' "$ac_nlist" >/dev/null; then
3440 echo "configure: cannot find nm_test_func in $ac_nlist" >&AS_MESSAGE_LOG_FD
3444 echo "configure: cannot run $lt_cv_sys_global_symbol_pipe" >&AS_MESSAGE_LOG_FD
3447 echo "configure: failed program was:" >&AS_MESSAGE_LOG_FD
3448 cat conftest.c >&AS_MESSAGE_LOG_FD
3452 sys_symbol_underscore=$lt_cv_sys_symbol_underscore
3453 AC_SUBST([sys_symbol_underscore])
3455 m4trace:/usr/share/aclocal/ltdl.m4:770: -1- AU_DEFUN([AC_LTDL_SYMBOL_USCORE], [m4_if($#, 0, [LT_SYS_SYMBOL_USCORE], [LT_SYS_SYMBOL_USCORE($@)])])
3456 m4trace:/usr/share/aclocal/ltdl.m4:770: -1- AC_DEFUN([AC_LTDL_SYMBOL_USCORE], [AC_DIAGNOSE([obsolete], [The macro `AC_LTDL_SYMBOL_USCORE' is obsolete.
3457 You should run autoupdate.])dnl
3458 m4_if($#, 0, [LT_SYS_SYMBOL_USCORE], [LT_SYS_SYMBOL_USCORE($@)])])
3459 m4trace:/usr/share/aclocal/ltdl.m4:777: -1- AC_DEFUN([LT_FUNC_DLSYM_USCORE], [AC_REQUIRE([LT_SYS_SYMBOL_USCORE])dnl
3460 if test x"$lt_cv_sys_symbol_underscore" = xyes; then
3461 if test x"$libltdl_cv_func_dlopen" = xyes ||
3462 test x"$libltdl_cv_lib_dl_dlopen" = xyes ; then
3463 AC_CACHE_CHECK([whether we have to add an underscore for dlsym],
3464 [libltdl_cv_need_uscore],
3465 [libltdl_cv_need_uscore=unknown
3467 LIBS="$LIBS $LIBADD_DLOPEN"
3468 _LT_TRY_DLOPEN_SELF(
3469 [libltdl_cv_need_uscore=no], [libltdl_cv_need_uscore=yes],
3470 [], [libltdl_cv_need_uscore=cross])
3476 if test x"$libltdl_cv_need_uscore" = xyes; then
3477 AC_DEFINE([NEED_USCORE], [1],
3478 [Define if dlsym() requires a leading underscore in symbol names.])
3481 m4trace:/usr/share/aclocal/ltdl.m4:802: -1- AU_DEFUN([AC_LTDL_DLSYM_USCORE], [m4_if($#, 0, [LT_FUNC_DLSYM_USCORE], [LT_FUNC_DLSYM_USCORE($@)])])
3482 m4trace:/usr/share/aclocal/ltdl.m4:802: -1- AC_DEFUN([AC_LTDL_DLSYM_USCORE], [AC_DIAGNOSE([obsolete], [The macro `AC_LTDL_DLSYM_USCORE' is obsolete.
3483 You should run autoupdate.])dnl
3484 m4_if($#, 0, [LT_FUNC_DLSYM_USCORE], [LT_FUNC_DLSYM_USCORE($@)])])
3485 m4trace:/usr/share/aclocal/ltoptions.m4:13: -1- AC_DEFUN([LTOPTIONS_VERSION], [m4_if([1])])
3486 m4trace:/usr/share/aclocal/ltoptions.m4:110: -1- AU_DEFUN([AC_LIBTOOL_DLOPEN], [_LT_SET_OPTION([LT_INIT], [dlopen])
3487 AC_DIAGNOSE([obsolete],
3488 [$0: Remove this warning and the call to _LT_SET_OPTION when you
3489 put the `dlopen' option into LT_INIT's first parameter.])
3491 m4trace:/usr/share/aclocal/ltoptions.m4:110: -1- AC_DEFUN([AC_LIBTOOL_DLOPEN], [AC_DIAGNOSE([obsolete], [The macro `AC_LIBTOOL_DLOPEN' is obsolete.
3492 You should run autoupdate.])dnl
3493 _LT_SET_OPTION([LT_INIT], [dlopen])
3494 AC_DIAGNOSE([obsolete],
3495 [$0: Remove this warning and the call to _LT_SET_OPTION when you
3496 put the `dlopen' option into LT_INIT's first parameter.])
3498 m4trace:/usr/share/aclocal/ltoptions.m4:145: -1- AU_DEFUN([AC_LIBTOOL_WIN32_DLL], [AC_REQUIRE([AC_CANONICAL_HOST])dnl
3499 _LT_SET_OPTION([LT_INIT], [win32-dll])
3500 AC_DIAGNOSE([obsolete],
3501 [$0: Remove this warning and the call to _LT_SET_OPTION when you
3502 put the `win32-dll' option into LT_INIT's first parameter.])
3504 m4trace:/usr/share/aclocal/ltoptions.m4:145: -1- AC_DEFUN([AC_LIBTOOL_WIN32_DLL], [AC_DIAGNOSE([obsolete], [The macro `AC_LIBTOOL_WIN32_DLL' is obsolete.
3505 You should run autoupdate.])dnl
3506 AC_REQUIRE([AC_CANONICAL_HOST])dnl
3507 _LT_SET_OPTION([LT_INIT], [win32-dll])
3508 AC_DIAGNOSE([obsolete],
3509 [$0: Remove this warning and the call to _LT_SET_OPTION when you
3510 put the `win32-dll' option into LT_INIT's first parameter.])
3512 m4trace:/usr/share/aclocal/ltoptions.m4:194: -1- AC_DEFUN([AC_ENABLE_SHARED], [_LT_SET_OPTION([LT_INIT], m4_if([$1], [no], [disable-])[shared])
3514 m4trace:/usr/share/aclocal/ltoptions.m4:198: -1- AC_DEFUN([AC_DISABLE_SHARED], [_LT_SET_OPTION([LT_INIT], [disable-shared])
3516 m4trace:/usr/share/aclocal/ltoptions.m4:202: -1- AU_DEFUN([AM_ENABLE_SHARED], [AC_ENABLE_SHARED($@)])
3517 m4trace:/usr/share/aclocal/ltoptions.m4:202: -1- AC_DEFUN([AM_ENABLE_SHARED], [AC_DIAGNOSE([obsolete], [The macro `AM_ENABLE_SHARED' is obsolete.
3518 You should run autoupdate.])dnl
3519 AC_ENABLE_SHARED($@)])
3520 m4trace:/usr/share/aclocal/ltoptions.m4:203: -1- AU_DEFUN([AM_DISABLE_SHARED], [AC_DISABLE_SHARED($@)])
3521 m4trace:/usr/share/aclocal/ltoptions.m4:203: -1- AC_DEFUN([AM_DISABLE_SHARED], [AC_DIAGNOSE([obsolete], [The macro `AM_DISABLE_SHARED' is obsolete.
3522 You should run autoupdate.])dnl
3523 AC_DISABLE_SHARED($@)])
3524 m4trace:/usr/share/aclocal/ltoptions.m4:248: -1- AC_DEFUN([AC_ENABLE_STATIC], [_LT_SET_OPTION([LT_INIT], m4_if([$1], [no], [disable-])[static])
3526 m4trace:/usr/share/aclocal/ltoptions.m4:252: -1- AC_DEFUN([AC_DISABLE_STATIC], [_LT_SET_OPTION([LT_INIT], [disable-static])
3528 m4trace:/usr/share/aclocal/ltoptions.m4:256: -1- AU_DEFUN([AM_ENABLE_STATIC], [AC_ENABLE_STATIC($@)])
3529 m4trace:/usr/share/aclocal/ltoptions.m4:256: -1- AC_DEFUN([AM_ENABLE_STATIC], [AC_DIAGNOSE([obsolete], [The macro `AM_ENABLE_STATIC' is obsolete.
3530 You should run autoupdate.])dnl
3531 AC_ENABLE_STATIC($@)])
3532 m4trace:/usr/share/aclocal/ltoptions.m4:257: -1- AU_DEFUN([AM_DISABLE_STATIC], [AC_DISABLE_STATIC($@)])
3533 m4trace:/usr/share/aclocal/ltoptions.m4:257: -1- AC_DEFUN([AM_DISABLE_STATIC], [AC_DIAGNOSE([obsolete], [The macro `AM_DISABLE_STATIC' is obsolete.
3534 You should run autoupdate.])dnl
3535 AC_DISABLE_STATIC($@)])
3536 m4trace:/usr/share/aclocal/ltoptions.m4:302: -1- AU_DEFUN([AC_ENABLE_FAST_INSTALL], [_LT_SET_OPTION([LT_INIT], m4_if([$1], [no], [disable-])[fast-install])
3537 AC_DIAGNOSE([obsolete],
3538 [$0: Remove this warning and the call to _LT_SET_OPTION when you put
3539 the `fast-install' option into LT_INIT's first parameter.])
3541 m4trace:/usr/share/aclocal/ltoptions.m4:302: -1- AC_DEFUN([AC_ENABLE_FAST_INSTALL], [AC_DIAGNOSE([obsolete], [The macro `AC_ENABLE_FAST_INSTALL' is obsolete.
3542 You should run autoupdate.])dnl
3543 _LT_SET_OPTION([LT_INIT], m4_if([$1], [no], [disable-])[fast-install])
3544 AC_DIAGNOSE([obsolete],
3545 [$0: Remove this warning and the call to _LT_SET_OPTION when you put
3546 the `fast-install' option into LT_INIT's first parameter.])
3548 m4trace:/usr/share/aclocal/ltoptions.m4:309: -1- AU_DEFUN([AC_DISABLE_FAST_INSTALL], [_LT_SET_OPTION([LT_INIT], [disable-fast-install])
3549 AC_DIAGNOSE([obsolete],
3550 [$0: Remove this warning and the call to _LT_SET_OPTION when you put
3551 the `disable-fast-install' option into LT_INIT's first parameter.])
3553 m4trace:/usr/share/aclocal/ltoptions.m4:309: -1- AC_DEFUN([AC_DISABLE_FAST_INSTALL], [AC_DIAGNOSE([obsolete], [The macro `AC_DISABLE_FAST_INSTALL' is obsolete.
3554 You should run autoupdate.])dnl
3555 _LT_SET_OPTION([LT_INIT], [disable-fast-install])
3556 AC_DIAGNOSE([obsolete],
3557 [$0: Remove this warning and the call to _LT_SET_OPTION when you put
3558 the `disable-fast-install' option into LT_INIT's first parameter.])
3560 m4trace:/usr/share/aclocal/ltoptions.m4:342: -1- AU_DEFUN([AC_LIBTOOL_PICMODE], [_LT_SET_OPTION([LT_INIT], [pic-only])
3561 AC_DIAGNOSE([obsolete],
3562 [$0: Remove this warning and the call to _LT_SET_OPTION when you
3563 put the `pic-only' option into LT_INIT's first parameter.])
3565 m4trace:/usr/share/aclocal/ltoptions.m4:342: -1- AC_DEFUN([AC_LIBTOOL_PICMODE], [AC_DIAGNOSE([obsolete], [The macro `AC_LIBTOOL_PICMODE' is obsolete.
3566 You should run autoupdate.])dnl
3567 _LT_SET_OPTION([LT_INIT], [pic-only])
3568 AC_DIAGNOSE([obsolete],
3569 [$0: Remove this warning and the call to _LT_SET_OPTION when you
3570 put the `pic-only' option into LT_INIT's first parameter.])
3572 m4trace:/usr/share/aclocal/ltsugar.m4:13: -1- AC_DEFUN([LTSUGAR_VERSION], [m4_if([0.1])])
3573 m4trace:/usr/share/aclocal/ltversion.m4:18: -1- AC_DEFUN([LTVERSION_VERSION], [macro_version='2.2.6b'
3574 macro_revision='1.3017'
3575 _LT_DECL(, macro_version, 0, [Which release of libtool.m4 was used?])
3576 _LT_DECL(, macro_revision, 0)
3578 m4trace:/usr/share/aclocal/lt~obsolete.m4:36: -1- AC_DEFUN([LTOBSOLETE_VERSION], [m4_if([1])])
3579 m4trace:/usr/share/aclocal/lt~obsolete.m4:40: -1- AC_DEFUN([_LT_AC_PROG_ECHO_BACKSLASH])
3580 m4trace:/usr/share/aclocal/lt~obsolete.m4:41: -1- AC_DEFUN([_LT_AC_SHELL_INIT])
3581 m4trace:/usr/share/aclocal/lt~obsolete.m4:42: -1- AC_DEFUN([_LT_AC_SYS_LIBPATH_AIX])
3582 m4trace:/usr/share/aclocal/lt~obsolete.m4:44: -1- AC_DEFUN([_LT_AC_TAGVAR])
3583 m4trace:/usr/share/aclocal/lt~obsolete.m4:45: -1- AC_DEFUN([AC_LTDL_ENABLE_INSTALL])
3584 m4trace:/usr/share/aclocal/lt~obsolete.m4:46: -1- AC_DEFUN([AC_LTDL_PREOPEN])
3585 m4trace:/usr/share/aclocal/lt~obsolete.m4:47: -1- AC_DEFUN([_LT_AC_SYS_COMPILER])
3586 m4trace:/usr/share/aclocal/lt~obsolete.m4:48: -1- AC_DEFUN([_LT_AC_LOCK])
3587 m4trace:/usr/share/aclocal/lt~obsolete.m4:49: -1- AC_DEFUN([AC_LIBTOOL_SYS_OLD_ARCHIVE])
3588 m4trace:/usr/share/aclocal/lt~obsolete.m4:50: -1- AC_DEFUN([_LT_AC_TRY_DLOPEN_SELF])
3589 m4trace:/usr/share/aclocal/lt~obsolete.m4:51: -1- AC_DEFUN([AC_LIBTOOL_PROG_CC_C_O])
3590 m4trace:/usr/share/aclocal/lt~obsolete.m4:52: -1- AC_DEFUN([AC_LIBTOOL_SYS_HARD_LINK_LOCKS])
3591 m4trace:/usr/share/aclocal/lt~obsolete.m4:53: -1- AC_DEFUN([AC_LIBTOOL_OBJDIR])
3592 m4trace:/usr/share/aclocal/lt~obsolete.m4:54: -1- AC_DEFUN([AC_LTDL_OBJDIR])
3593 m4trace:/usr/share/aclocal/lt~obsolete.m4:55: -1- AC_DEFUN([AC_LIBTOOL_PROG_LD_HARDCODE_LIBPATH])
3594 m4trace:/usr/share/aclocal/lt~obsolete.m4:56: -1- AC_DEFUN([AC_LIBTOOL_SYS_LIB_STRIP])
3595 m4trace:/usr/share/aclocal/lt~obsolete.m4:57: -1- AC_DEFUN([AC_PATH_MAGIC])
3596 m4trace:/usr/share/aclocal/lt~obsolete.m4:58: -1- AC_DEFUN([AC_PROG_LD_GNU])
3597 m4trace:/usr/share/aclocal/lt~obsolete.m4:59: -1- AC_DEFUN([AC_PROG_LD_RELOAD_FLAG])
3598 m4trace:/usr/share/aclocal/lt~obsolete.m4:60: -1- AC_DEFUN([AC_DEPLIBS_CHECK_METHOD])
3599 m4trace:/usr/share/aclocal/lt~obsolete.m4:61: -1- AC_DEFUN([AC_LIBTOOL_PROG_COMPILER_NO_RTTI])
3600 m4trace:/usr/share/aclocal/lt~obsolete.m4:62: -1- AC_DEFUN([AC_LIBTOOL_SYS_GLOBAL_SYMBOL_PIPE])
3601 m4trace:/usr/share/aclocal/lt~obsolete.m4:63: -1- AC_DEFUN([AC_LIBTOOL_PROG_COMPILER_PIC])
3602 m4trace:/usr/share/aclocal/lt~obsolete.m4:64: -1- AC_DEFUN([AC_LIBTOOL_PROG_LD_SHLIBS])
3603 m4trace:/usr/share/aclocal/lt~obsolete.m4:65: -1- AC_DEFUN([AC_LIBTOOL_POSTDEP_PREDEP])
3604 m4trace:/usr/share/aclocal/lt~obsolete.m4:66: -1- AC_DEFUN([LT_AC_PROG_EGREP])
3605 m4trace:/usr/share/aclocal/lt~obsolete.m4:71: -1- AC_DEFUN([_AC_PROG_LIBTOOL])
3606 m4trace:/usr/share/aclocal/lt~obsolete.m4:72: -1- AC_DEFUN([AC_LIBTOOL_SETUP])
3607 m4trace:/usr/share/aclocal/lt~obsolete.m4:73: -1- AC_DEFUN([_LT_AC_CHECK_DLFCN])
3608 m4trace:/usr/share/aclocal/lt~obsolete.m4:74: -1- AC_DEFUN([AC_LIBTOOL_SYS_DYNAMIC_LINKER])
3609 m4trace:/usr/share/aclocal/lt~obsolete.m4:75: -1- AC_DEFUN([_LT_AC_TAGCONFIG])
3610 m4trace:/usr/share/aclocal/lt~obsolete.m4:77: -1- AC_DEFUN([_LT_AC_LANG_CXX])
3611 m4trace:/usr/share/aclocal/lt~obsolete.m4:78: -1- AC_DEFUN([_LT_AC_LANG_F77])
3612 m4trace:/usr/share/aclocal/lt~obsolete.m4:79: -1- AC_DEFUN([_LT_AC_LANG_GCJ])
3613 m4trace:/usr/share/aclocal/lt~obsolete.m4:80: -1- AC_DEFUN([AC_LIBTOOL_RC])
3614 m4trace:/usr/share/aclocal/lt~obsolete.m4:81: -1- AC_DEFUN([AC_LIBTOOL_LANG_C_CONFIG])
3615 m4trace:/usr/share/aclocal/lt~obsolete.m4:82: -1- AC_DEFUN([_LT_AC_LANG_C_CONFIG])
3616 m4trace:/usr/share/aclocal/lt~obsolete.m4:83: -1- AC_DEFUN([AC_LIBTOOL_LANG_CXX_CONFIG])
3617 m4trace:/usr/share/aclocal/lt~obsolete.m4:84: -1- AC_DEFUN([_LT_AC_LANG_CXX_CONFIG])
3618 m4trace:/usr/share/aclocal/lt~obsolete.m4:85: -1- AC_DEFUN([AC_LIBTOOL_LANG_F77_CONFIG])
3619 m4trace:/usr/share/aclocal/lt~obsolete.m4:86: -1- AC_DEFUN([_LT_AC_LANG_F77_CONFIG])
3620 m4trace:/usr/share/aclocal/lt~obsolete.m4:87: -1- AC_DEFUN([AC_LIBTOOL_LANG_GCJ_CONFIG])
3621 m4trace:/usr/share/aclocal/lt~obsolete.m4:88: -1- AC_DEFUN([_LT_AC_LANG_GCJ_CONFIG])
3622 m4trace:/usr/share/aclocal/lt~obsolete.m4:89: -1- AC_DEFUN([AC_LIBTOOL_LANG_RC_CONFIG])
3623 m4trace:/usr/share/aclocal/lt~obsolete.m4:90: -1- AC_DEFUN([_LT_AC_LANG_RC_CONFIG])
3624 m4trace:/usr/share/aclocal/lt~obsolete.m4:91: -1- AC_DEFUN([AC_LIBTOOL_CONFIG])
3625 m4trace:/usr/share/aclocal/lt~obsolete.m4:92: -1- AC_DEFUN([_LT_AC_FILE_LTDLL_C])
3626 m4trace:/usr/share/aclocal/nls.m4:23: -1- AC_DEFUN([AM_NLS], [
3627 AC_MSG_CHECKING([whether NLS is requested])
3628 dnl Default is enabled NLS
3629 AC_ARG_ENABLE([nls],
3630 [ --disable-nls do not use Native Language Support],
3631 USE_NLS=$enableval, USE_NLS=yes)
3632 AC_MSG_RESULT([$USE_NLS])
3635 m4trace:/usr/share/aclocal/po.m4:23: -1- AC_DEFUN([AM_PO_SUBDIRS], [
3636 AC_REQUIRE([AC_PROG_MAKE_SET])dnl
3637 AC_REQUIRE([AC_PROG_INSTALL])dnl
3638 AC_REQUIRE([AM_PROG_MKDIR_P])dnl defined by automake
3639 AC_REQUIRE([AM_NLS])dnl
3641 dnl Release version of the gettext macros. This is used to ensure that
3642 dnl the gettext macros and po/Makefile.in.in are in sync.
3643 AC_SUBST([GETTEXT_MACRO_VERSION], [0.18])
3645 dnl Perform the following tests also if --disable-nls has been given,
3646 dnl because they are needed for "make dist" to work.
3648 dnl Search for GNU msgfmt in the PATH.
3649 dnl The first test excludes Solaris msgfmt and early GNU msgfmt versions.
3650 dnl The second test excludes FreeBSD msgfmt.
3651 AM_PATH_PROG_WITH_TEST(MSGFMT, msgfmt,
3652 [$ac_dir/$ac_word --statistics /dev/null >&]AS_MESSAGE_LOG_FD[ 2>&1 &&
3653 (if $ac_dir/$ac_word --statistics /dev/null 2>&1 >/dev/null | grep usage >/dev/null; then exit 1; else exit 0; fi)],
3655 AC_PATH_PROG([GMSGFMT], [gmsgfmt], [$MSGFMT])
3657 dnl Test whether it is GNU msgfmt >= 0.15.
3659 case `$MSGFMT --version | sed 1q | sed -e 's,^[^0-9]*,,'` in
3660 '' | 0.[0-9] | 0.[0-9].* | 0.1[0-4] | 0.1[0-4].*) MSGFMT_015=: ;;
3661 *) MSGFMT_015=$MSGFMT ;;
3664 AC_SUBST([MSGFMT_015])
3666 case `$GMSGFMT --version | sed 1q | sed -e 's,^[^0-9]*,,'` in
3667 '' | 0.[0-9] | 0.[0-9].* | 0.1[0-4] | 0.1[0-4].*) GMSGFMT_015=: ;;
3668 *) GMSGFMT_015=$GMSGFMT ;;
3671 AC_SUBST([GMSGFMT_015])
3673 dnl Search for GNU xgettext 0.12 or newer in the PATH.
3674 dnl The first test excludes Solaris xgettext and early GNU xgettext versions.
3675 dnl The second test excludes FreeBSD xgettext.
3676 AM_PATH_PROG_WITH_TEST(XGETTEXT, xgettext,
3677 [$ac_dir/$ac_word --omit-header --copyright-holder= --msgid-bugs-address= /dev/null >&]AS_MESSAGE_LOG_FD[ 2>&1 &&
3678 (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)],
3680 dnl Remove leftover from FreeBSD xgettext call.
3683 dnl Test whether it is GNU xgettext >= 0.15.
3685 case `$XGETTEXT --version | sed 1q | sed -e 's,^[^0-9]*,,'` in
3686 '' | 0.[0-9] | 0.[0-9].* | 0.1[0-4] | 0.1[0-4].*) XGETTEXT_015=: ;;
3687 *) XGETTEXT_015=$XGETTEXT ;;
3690 AC_SUBST([XGETTEXT_015])
3692 dnl Search for GNU msgmerge 0.11 or newer in the PATH.
3693 AM_PATH_PROG_WITH_TEST(MSGMERGE, msgmerge,
3694 [$ac_dir/$ac_word --update -q /dev/null /dev/null >&]AS_MESSAGE_LOG_FD[ 2>&1], :)
3696 dnl Installation directories.
3697 dnl Autoconf >= 2.60 defines localedir. For older versions of autoconf, we
3698 dnl have to define it here, so that it can be used in po/Makefile.
3699 test -n "$localedir" || localedir='${datadir}/locale'
3700 AC_SUBST([localedir])
3702 dnl Support for AM_XGETTEXT_OPTION.
3703 test -n "${XGETTEXT_EXTRA_OPTIONS+set}" || XGETTEXT_EXTRA_OPTIONS=
3704 AC_SUBST([XGETTEXT_EXTRA_OPTIONS])
3706 AC_CONFIG_COMMANDS([po-directories], [[
3707 for ac_file in $CONFIG_FILES; do
3708 # Support "outfile[:infile[:infile...]]"
3710 *:*) ac_file=`echo "$ac_file"|sed 's%:.*%%'` ;;
3712 # PO directories have a Makefile.in generated from Makefile.in.in.
3713 case "$ac_file" in */Makefile.in)
3714 # Adjust a relative srcdir.
3715 ac_dir=`echo "$ac_file"|sed 's%/[^/][^/]*$%%'`
3716 ac_dir_suffix="/`echo "$ac_dir"|sed 's%^\./%%'`"
3717 ac_dots=`echo "$ac_dir_suffix"|sed 's%/[^/]*%../%g'`
3718 # In autoconf-2.13 it is called $ac_given_srcdir.
3719 # In autoconf-2.50 it is called $srcdir.
3720 test -n "$ac_given_srcdir" || ac_given_srcdir="$srcdir"
3721 case "$ac_given_srcdir" in
3722 .) top_srcdir=`echo $ac_dots|sed 's%/$%%'` ;;
3723 /*) top_srcdir="$ac_given_srcdir" ;;
3724 *) top_srcdir="$ac_dots$ac_given_srcdir" ;;
3726 # Treat a directory as a PO directory if and only if it has a
3727 # POTFILES.in file. This allows packages to have multiple PO
3728 # directories under different names or in different locations.
3729 if test -f "$ac_given_srcdir/$ac_dir/POTFILES.in"; then
3730 rm -f "$ac_dir/POTFILES"
3731 test -n "$as_me" && echo "$as_me: creating $ac_dir/POTFILES" || echo "creating $ac_dir/POTFILES"
3732 cat "$ac_given_srcdir/$ac_dir/POTFILES.in" | sed -e "/^#/d" -e "/^[ ]*\$/d" -e "s,.*, $top_srcdir/& \\\\," | sed -e "\$s/\(.*\) \\\\/\1/" > "$ac_dir/POTFILES"
3733 POMAKEFILEDEPS="POTFILES.in"
3734 # ALL_LINGUAS, POFILES, UPDATEPOFILES, DUMMYPOFILES, GMOFILES depend
3735 # on $ac_dir but don't depend on user-specified configuration
3737 if test -f "$ac_given_srcdir/$ac_dir/LINGUAS"; then
3738 # The LINGUAS file contains the set of available languages.
3739 if test -n "$OBSOLETE_ALL_LINGUAS"; then
3740 test -n "$as_me" && echo "$as_me: setting ALL_LINGUAS in configure.in is obsolete" || echo "setting ALL_LINGUAS in configure.in is obsolete"
3742 ALL_LINGUAS_=`sed -e "/^#/d" -e "s/#.*//" "$ac_given_srcdir/$ac_dir/LINGUAS"`
3743 # Hide the ALL_LINGUAS assigment from automake < 1.5.
3744 eval 'ALL_LINGUAS''=$ALL_LINGUAS_'
3745 POMAKEFILEDEPS="$POMAKEFILEDEPS LINGUAS"
3747 # The set of available languages was given in configure.in.
3748 # Hide the ALL_LINGUAS assigment from automake < 1.5.
3749 eval 'ALL_LINGUAS''=$OBSOLETE_ALL_LINGUAS'
3752 # as $(foreach lang, $(ALL_LINGUAS), $(srcdir)/$(lang).po)
3753 # Compute UPDATEPOFILES
3754 # as $(foreach lang, $(ALL_LINGUAS), $(lang).po-update)
3755 # Compute DUMMYPOFILES
3756 # as $(foreach lang, $(ALL_LINGUAS), $(lang).nop)
3758 # as $(foreach lang, $(ALL_LINGUAS), $(srcdir)/$(lang).gmo)
3759 case "$ac_given_srcdir" in
3761 *) srcdirpre='$(srcdir)/' ;;
3767 for lang in $ALL_LINGUAS; do
3768 POFILES="$POFILES $srcdirpre$lang.po"
3769 UPDATEPOFILES="$UPDATEPOFILES $lang.po-update"
3770 DUMMYPOFILES="$DUMMYPOFILES $lang.nop"
3771 GMOFILES="$GMOFILES $srcdirpre$lang.gmo"
3773 # CATALOGS depends on both $ac_dir and the user's LINGUAS
3774 # environment variable.
3776 if test -n "$ALL_LINGUAS"; then
3777 for presentlang in $ALL_LINGUAS; do
3779 if test "%UNSET%" != "$LINGUAS"; then
3780 desiredlanguages="$LINGUAS"
3782 desiredlanguages="$ALL_LINGUAS"
3784 for desiredlang in $desiredlanguages; do
3785 # Use the presentlang catalog if desiredlang is
3786 # a. equal to presentlang, or
3787 # b. a variant of presentlang (because in this case,
3788 # presentlang can be used as a fallback for messages
3789 # which are not translated in the desiredlang catalog).
3790 case "$desiredlang" in
3791 "$presentlang"*) useit=yes;;
3794 if test $useit = yes; then
3795 INST_LINGUAS="$INST_LINGUAS $presentlang"
3800 if test -n "$INST_LINGUAS"; then
3801 for lang in $INST_LINGUAS; do
3802 CATALOGS="$CATALOGS $lang.gmo"
3805 test -n "$as_me" && echo "$as_me: creating $ac_dir/Makefile" || echo "creating $ac_dir/Makefile"
3806 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"
3807 for f in "$ac_given_srcdir/$ac_dir"/Rules-*; do
3808 if test -f "$f"; then
3810 *.orig | *.bak | *~) ;;
3811 *) cat "$f" >> "$ac_dir/Makefile" ;;
3819 [# Capture the value of obsolete ALL_LINGUAS because we need it to compute
3820 # POFILES, UPDATEPOFILES, DUMMYPOFILES, GMOFILES, CATALOGS. But hide it
3821 # from automake < 1.5.
3822 eval 'OBSOLETE_ALL_LINGUAS''="$ALL_LINGUAS"'
3823 # Capture the value of LINGUAS because we need it to compute CATALOGS.
3824 LINGUAS="${LINGUAS-%UNSET%}"
3827 m4trace:/usr/share/aclocal/po.m4:218: -1- AC_DEFUN([AM_POSTPROCESS_PO_MAKEFILE], [
3828 # When this code is run, in config.status, two variables have already been
3830 # - OBSOLETE_ALL_LINGUAS is the value of LINGUAS set in configure.in,
3831 # - LINGUAS is the value of the environment variable LINGUAS at configure
3835 # Adjust a relative srcdir.
3836 ac_dir=`echo "$ac_file"|sed 's%/[^/][^/]*$%%'`
3837 ac_dir_suffix="/`echo "$ac_dir"|sed 's%^\./%%'`"
3838 ac_dots=`echo "$ac_dir_suffix"|sed 's%/[^/]*%../%g'`
3839 # In autoconf-2.13 it is called $ac_given_srcdir.
3840 # In autoconf-2.50 it is called $srcdir.
3841 test -n "$ac_given_srcdir" || ac_given_srcdir="$srcdir"
3842 case "$ac_given_srcdir" in
3843 .) top_srcdir=`echo $ac_dots|sed 's%/$%%'` ;;
3844 /*) top_srcdir="$ac_given_srcdir" ;;
3845 *) top_srcdir="$ac_dots$ac_given_srcdir" ;;
3848 # Find a way to echo strings without interpreting backslash.
3849 if test "X`(echo '\t') 2>/dev/null`" = 'X\t'; then
3852 if test "X`(printf '%s\n' '\t') 2>/dev/null`" = 'X\t'; then
3853 gt_echo='printf %s\n'
3864 # A sed script that extracts the value of VARIABLE from a Makefile.
3866 # Test if the hold space is empty.
3871 # Yes it was empty. Look if we have the expected variable definition.
3872 /^[ ]*VARIABLE[ ]*=/{
3873 # Seen the first line of the variable definition.
3874 s/^[ ]*VARIABLE[ ]*=//
3879 # Here we are processing a line from the variable definition.
3880 # Remove comment, more precisely replace it with a space.
3882 # See if the line ends in a backslash.
3886 # Print the line, without the trailing backslash.
3889 # There was no trailing backslash. The end of the variable definition is
3890 # reached. Clear the hold space.
3895 # A trailing backslash means that the variable definition continues in the
3896 # next line. Put a nonempty string into the hold space to indicate this.
3903 # Set POTFILES to the value of the Makefile variable POTFILES.
3904 sed_x_POTFILES=`$gt_echo "$sed_x_variable" | sed -e '/^ *#/d' -e 's/VARIABLE/POTFILES/g'`
3905 POTFILES=`sed -n -e "$sed_x_POTFILES" < "$ac_file"`
3906 # Compute POTFILES_DEPS as
3907 # $(foreach file, $(POTFILES), $(top_srcdir)/$(file))
3909 for file in $POTFILES; do
3910 POTFILES_DEPS="$POTFILES_DEPS "'$(top_srcdir)/'"$file"
3914 if test -n "$OBSOLETE_ALL_LINGUAS"; then
3915 test -n "$as_me" && echo "$as_me: setting ALL_LINGUAS in configure.in is obsolete" || echo "setting ALL_LINGUAS in configure.in is obsolete"
3917 if test -f "$ac_given_srcdir/$ac_dir/LINGUAS"; then
3918 # The LINGUAS file contains the set of available languages.
3919 ALL_LINGUAS_=`sed -e "/^#/d" -e "s/#.*//" "$ac_given_srcdir/$ac_dir/LINGUAS"`
3920 POMAKEFILEDEPS="$POMAKEFILEDEPS LINGUAS"
3922 # Set ALL_LINGUAS to the value of the Makefile variable LINGUAS.
3923 sed_x_LINGUAS=`$gt_echo "$sed_x_variable" | sed -e '/^ *#/d' -e 's/VARIABLE/LINGUAS/g'`
3924 ALL_LINGUAS_=`sed -n -e "$sed_x_LINGUAS" < "$ac_file"`
3926 # Hide the ALL_LINGUAS assigment from automake < 1.5.
3927 eval 'ALL_LINGUAS''=$ALL_LINGUAS_'
3929 # as $(foreach lang, $(ALL_LINGUAS), $(srcdir)/$(lang).po)
3930 # Compute UPDATEPOFILES
3931 # as $(foreach lang, $(ALL_LINGUAS), $(lang).po-update)
3932 # Compute DUMMYPOFILES
3933 # as $(foreach lang, $(ALL_LINGUAS), $(lang).nop)
3935 # as $(foreach lang, $(ALL_LINGUAS), $(srcdir)/$(lang).gmo)
3936 # Compute PROPERTIESFILES
3937 # as $(foreach lang, $(ALL_LINGUAS), $(top_srcdir)/$(DOMAIN)_$(lang).properties)
3938 # Compute CLASSFILES
3939 # as $(foreach lang, $(ALL_LINGUAS), $(top_srcdir)/$(DOMAIN)_$(lang).class)
3941 # as $(foreach lang, $(ALL_LINGUAS), $(srcdir)/$(lang).qm)
3943 # as $(foreach lang, $(ALL_LINGUAS), $(srcdir)/$(frob $(lang)).msg)
3944 # Compute RESOURCESDLLFILES
3945 # as $(foreach lang, $(ALL_LINGUAS), $(srcdir)/$(frob $(lang))/$(DOMAIN).resources.dll)
3946 case "$ac_given_srcdir" in
3948 *) srcdirpre='$(srcdir)/' ;;
3959 for lang in $ALL_LINGUAS; do
3960 POFILES="$POFILES $srcdirpre$lang.po"
3961 UPDATEPOFILES="$UPDATEPOFILES $lang.po-update"
3962 DUMMYPOFILES="$DUMMYPOFILES $lang.nop"
3963 GMOFILES="$GMOFILES $srcdirpre$lang.gmo"
3964 PROPERTIESFILES="$PROPERTIESFILES \$(top_srcdir)/\$(DOMAIN)_$lang.properties"
3965 CLASSFILES="$CLASSFILES \$(top_srcdir)/\$(DOMAIN)_$lang.class"
3966 QMFILES="$QMFILES $srcdirpre$lang.qm"
3967 frobbedlang=`echo $lang | sed -e 's/\..*$//' -e 'y/ABCDEFGHIJKLMNOPQRSTUVWXYZ/abcdefghijklmnopqrstuvwxyz/'`
3968 MSGFILES="$MSGFILES $srcdirpre$frobbedlang.msg"
3969 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/'`
3970 RESOURCESDLLFILES="$RESOURCESDLLFILES $srcdirpre$frobbedlang/\$(DOMAIN).resources.dll"
3972 # CATALOGS depends on both $ac_dir and the user's LINGUAS
3973 # environment variable.
3975 if test -n "$ALL_LINGUAS"; then
3976 for presentlang in $ALL_LINGUAS; do
3978 if test "%UNSET%" != "$LINGUAS"; then
3979 desiredlanguages="$LINGUAS"
3981 desiredlanguages="$ALL_LINGUAS"
3983 for desiredlang in $desiredlanguages; do
3984 # Use the presentlang catalog if desiredlang is
3985 # a. equal to presentlang, or
3986 # b. a variant of presentlang (because in this case,
3987 # presentlang can be used as a fallback for messages
3988 # which are not translated in the desiredlang catalog).
3989 case "$desiredlang" in
3990 "$presentlang"*) useit=yes;;
3993 if test $useit = yes; then
3994 INST_LINGUAS="$INST_LINGUAS $presentlang"
4003 if test -n "$INST_LINGUAS"; then
4004 for lang in $INST_LINGUAS; do
4005 CATALOGS="$CATALOGS $lang.gmo"
4006 JAVACATALOGS="$JAVACATALOGS \$(DOMAIN)_$lang.properties"
4007 QTCATALOGS="$QTCATALOGS $lang.qm"
4008 frobbedlang=`echo $lang | sed -e 's/\..*$//' -e 'y/ABCDEFGHIJKLMNOPQRSTUVWXYZ/abcdefghijklmnopqrstuvwxyz/'`
4009 TCLCATALOGS="$TCLCATALOGS $frobbedlang.msg"
4010 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/'`
4011 CSHARPCATALOGS="$CSHARPCATALOGS $frobbedlang/\$(DOMAIN).resources.dll"
4015 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"
4016 if grep -l '@TCLCATALOGS@' "$ac_file" > /dev/null; then
4017 # Add dependencies that cannot be formulated as a simple suffix rule.
4018 for lang in $ALL_LINGUAS; do
4019 frobbedlang=`echo $lang | sed -e 's/\..*$//' -e 'y/ABCDEFGHIJKLMNOPQRSTUVWXYZ/abcdefghijklmnopqrstuvwxyz/'`
4020 cat >> "$ac_file.tmp" <<EOF
4021 $frobbedlang.msg: $lang.po
4022 @echo "\$(MSGFMT) -c --tcl -d \$(srcdir) -l $lang $srcdirpre$lang.po"; \
4023 \$(MSGFMT) -c --tcl -d "\$(srcdir)" -l $lang $srcdirpre$lang.po || { rm -f "\$(srcdir)/$frobbedlang.msg"; exit 1; }
4027 if grep -l '@CSHARPCATALOGS@' "$ac_file" > /dev/null; then
4028 # Add dependencies that cannot be formulated as a simple suffix rule.
4029 for lang in $ALL_LINGUAS; do
4030 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/'`
4031 cat >> "$ac_file.tmp" <<EOF
4032 $frobbedlang/\$(DOMAIN).resources.dll: $lang.po
4033 @echo "\$(MSGFMT) -c --csharp -d \$(srcdir) -l $lang $srcdirpre$lang.po -r \$(DOMAIN)"; \
4034 \$(MSGFMT) -c --csharp -d "\$(srcdir)" -l $lang $srcdirpre$lang.po -r "\$(DOMAIN)" || { rm -f "\$(srcdir)/$frobbedlang.msg"; exit 1; }
4038 if test -n "$POMAKEFILEDEPS"; then
4039 cat >> "$ac_file.tmp" <<EOF
4040 Makefile: $POMAKEFILEDEPS
4043 mv "$ac_file.tmp" "$ac_file"
4045 m4trace:/usr/share/aclocal/po.m4:439: -1- AC_DEFUN([AM_XGETTEXT_OPTION_INIT], [
4046 XGETTEXT_EXTRA_OPTIONS=
4048 m4trace:/usr/share/aclocal/po.m4:445: -1- AC_DEFUN([AM_XGETTEXT_OPTION], [
4049 AC_REQUIRE([AM_XGETTEXT_OPTION_INIT])
4050 XGETTEXT_EXTRA_OPTIONS="$XGETTEXT_EXTRA_OPTIONS $1"
4052 m4trace:/usr/share/aclocal/printf-posix.m4:11: -1- AC_DEFUN([gt_PRINTF_POSIX], [
4053 AC_REQUIRE([AC_PROG_CC])
4054 AC_CACHE_CHECK([whether printf() supports POSIX/XSI format strings],
4055 gt_cv_func_printf_posix,
4060 /* The string "%2$d %1$d", with dollar characters protected from the shell's
4061 dollar expansion (possibly an autoconf bug). */
4062 static char format[] = { '%', '2', '$', 'd', ' ', '%', '1', '$', 'd', '\0' };
4063 static char buf[100];
4066 sprintf (buf, format, 33, 55);
4067 return (strcmp (buf, "55 33") != 0);
4068 }], gt_cv_func_printf_posix=yes, gt_cv_func_printf_posix=no,
4070 AC_EGREP_CPP([notposix], [
4071 #if defined __NetBSD__ || defined __BEOS__ || defined _MSC_VER || defined __MINGW32__ || defined __CYGWIN__
4075 [gt_cv_func_printf_posix="guessing no"],
4076 [gt_cv_func_printf_posix="guessing yes"])
4079 case $gt_cv_func_printf_posix in
4081 AC_DEFINE([HAVE_POSIX_PRINTF], [1],
4082 [Define if your printf() function supports format strings with positions.])
4086 m4trace:/usr/share/aclocal/progtest.m4:25: -1- AC_DEFUN([AM_PATH_PROG_WITH_TEST], [
4087 # Prepare PATH_SEPARATOR.
4088 # The user is always right.
4089 if test "${PATH_SEPARATOR+set}" != set; then
4090 echo "#! /bin/sh" >conf$$.sh
4091 echo "exit 0" >>conf$$.sh
4093 if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
4101 # Find out how to test for executable files. Don't use a zero-byte file,
4102 # as systems may use methods other than mode bits to determine executability.
4103 cat >conf$$.file <<_ASEOF
4107 chmod +x conf$$.file
4108 if test -x conf$$.file >/dev/null 2>&1; then
4109 ac_executable_p="test -x"
4111 ac_executable_p="test -f"
4115 # Extract the first word of "$2", so it can be a program name with args.
4116 set dummy $2; ac_word=[$]2
4117 AC_MSG_CHECKING([for $ac_word])
4118 AC_CACHE_VAL([ac_cv_path_$1],
4120 [[\\/]]* | ?:[[\\/]]*)
4121 ac_cv_path_$1="[$]$1" # Let the user override the test with a path.
4124 ac_save_IFS="$IFS"; IFS=$PATH_SEPARATOR
4125 for ac_dir in ifelse([$5], , $PATH, [$5]); do
4127 test -z "$ac_dir" && ac_dir=.
4128 for ac_exec_ext in '' $ac_executable_extensions; do
4129 if $ac_executable_p "$ac_dir/$ac_word$ac_exec_ext"; then
4130 echo "$as_me: trying $ac_dir/$ac_word..." >&AS_MESSAGE_LOG_FD
4132 ac_cv_path_$1="$ac_dir/$ac_word$ac_exec_ext"
4139 dnl If no 4th arg is given, leave the cache variable unset,
4140 dnl so AC_PATH_PROGS will keep looking.
4141 ifelse([$4], , , [ test -z "[$]ac_cv_path_$1" && ac_cv_path_$1="$4"
4146 if test ifelse([$4], , [-n "[$]$1"], ["[$]$1" != "$4"]); then
4147 AC_MSG_RESULT([$][$1])
4153 m4trace:/usr/share/aclocal/size_max.m4:9: -1- AC_DEFUN([gl_SIZE_MAX], [
4154 AC_CHECK_HEADERS([stdint.h])
4155 dnl First test whether the system already has SIZE_MAX.
4156 AC_CACHE_CHECK([for SIZE_MAX], [gl_cv_size_max], [
4158 AC_EGREP_CPP([Found it], [
4166 ], [gl_cv_size_max=yes])
4167 if test -z "$gl_cv_size_max"; then
4168 dnl Define it ourselves. Here we assume that the type 'size_t' is not wider
4169 dnl than the type 'unsigned long'. Try hard to find a definition that can
4170 dnl be used in a preprocessor #if, i.e. doesn't contain a cast.
4171 AC_COMPUTE_INT([size_t_bits_minus_1], [sizeof (size_t) * CHAR_BIT - 1],
4172 [#include <stddef.h>
4173 #include <limits.h>], [size_t_bits_minus_1=])
4174 AC_COMPUTE_INT([fits_in_uint], [sizeof (size_t) <= sizeof (unsigned int)],
4175 [#include <stddef.h>], [fits_in_uint=])
4176 if test -n "$size_t_bits_minus_1" && test -n "$fits_in_uint"; then
4177 if test $fits_in_uint = 1; then
4178 dnl Even though SIZE_MAX fits in an unsigned int, it must be of type
4179 dnl 'unsigned long' if the type 'size_t' is the same as 'unsigned long'.
4180 AC_TRY_COMPILE([#include <stddef.h>
4182 extern unsigned long foo;
4183 ], [], [fits_in_uint=0])
4185 dnl We cannot use 'expr' to simplify this expression, because 'expr'
4186 dnl works only with 'long' integers in the host environment, while we
4187 dnl might be cross-compiling from a 32-bit platform to a 64-bit platform.
4188 if test $fits_in_uint = 1; then
4189 gl_cv_size_max="(((1U << $size_t_bits_minus_1) - 1) * 2 + 1)"
4191 gl_cv_size_max="(((1UL << $size_t_bits_minus_1) - 1) * 2 + 1)"
4194 dnl Shouldn't happen, but who knows...
4195 gl_cv_size_max='((size_t)~(size_t)0)'
4199 if test "$gl_cv_size_max" != yes; then
4200 AC_DEFINE_UNQUOTED([SIZE_MAX], [$gl_cv_size_max],
4201 [Define as the maximum value of type 'size_t', if the system doesn't define it.])
4203 dnl Don't redefine SIZE_MAX in config.h if config.h is re-included after
4204 dnl <stdint.h>. Remember that the #undef in AH_VERBATIM gets replaced with
4205 dnl #define by AC_DEFINE_UNQUOTED.
4206 AH_VERBATIM([SIZE_MAX],
4207 [/* Define as the maximum value of type 'size_t', if the system doesn't define
4213 m4trace:/usr/share/aclocal/stdint_h.m4:12: -1- AC_DEFUN([gl_AC_HEADER_STDINT_H], [
4214 AC_CACHE_CHECK([for stdint.h], [gl_cv_header_stdint_h],
4216 [#include <sys/types.h>
4217 #include <stdint.h>],
4218 [uintmax_t i = (uintmax_t) -1; return !i;],
4219 [gl_cv_header_stdint_h=yes],
4220 [gl_cv_header_stdint_h=no])])
4221 if test $gl_cv_header_stdint_h = yes; then
4222 AC_DEFINE_UNQUOTED([HAVE_STDINT_H_WITH_UINTMAX], [1],
4223 [Define if <stdint.h> exists, doesn't clash with <sys/types.h>,
4224 and declares uintmax_t. ])
4227 m4trace:/usr/share/aclocal/threadlib.m4:24: -1- AC_DEFUN([gl_THREADLIB_EARLY], [
4228 AC_REQUIRE([gl_THREADLIB_EARLY_BODY])
4230 m4trace:/usr/share/aclocal/threadlib.m4:31: -1- AC_DEFUN([gl_THREADLIB_EARLY_BODY], [
4231 dnl Ordering constraints: This macro modifies CPPFLAGS in a way that
4232 dnl influences the result of the autoconf tests that test for *_unlocked
4233 dnl declarations, on AIX 5 at least. Therefore it must come early.
4234 AC_BEFORE([$0], [gl_FUNC_GLIBC_UNLOCKED_IO])dnl
4235 AC_BEFORE([$0], [gl_ARGP])dnl
4237 AC_REQUIRE([AC_CANONICAL_HOST])
4238 dnl _GNU_SOURCE is needed for pthread_rwlock_t on glibc systems.
4239 dnl AC_USE_SYSTEM_EXTENSIONS was introduced in autoconf 2.60 and obsoletes
4241 m4_ifdef([AC_USE_SYSTEM_EXTENSIONS],
4242 [AC_REQUIRE([AC_USE_SYSTEM_EXTENSIONS])],
4243 [AC_REQUIRE([AC_GNU_SOURCE])])
4244 dnl Check for multithreading.
4245 m4_divert_text([DEFAULTS], [gl_use_threads_default=])
4246 AC_ARG_ENABLE([threads],
4247 AC_HELP_STRING([--enable-threads={posix|solaris|pth|win32}], [specify multithreading API])
4248 AC_HELP_STRING([--disable-threads], [build without multithread safety]),
4249 [gl_use_threads=$enableval],
4250 [if test -n "$gl_use_threads_default"; then
4251 gl_use_threads="$gl_use_threads_default"
4255 dnl Disable multithreading by default on OSF/1, because it interferes
4256 dnl with fork()/exec(): When msgexec is linked with -lpthread, its
4257 dnl child process gets an endless segmentation fault inside execvp().
4258 dnl Disable multithreading by default on Cygwin 1.5.x, because it has
4259 dnl bugs that lead to endless loops or crashes. See
4260 dnl <http://cygwin.com/ml/cygwin/2009-08/msg00283.html>.
4261 osf*) gl_use_threads=no ;;
4264 1.[0-5].*) gl_use_threads=no ;;
4265 *) gl_use_threads=yes ;;
4268 *) gl_use_threads=yes ;;
4273 if test "$gl_use_threads" = yes || test "$gl_use_threads" = posix; then
4274 # For using <pthread.h>:
4277 # On OSF/1, the compiler needs the flag -D_REENTRANT so that it
4278 # groks <pthread.h>. cc also understands the flag -pthread, but
4279 # we don't use it because 1. gcc-2.95 doesn't understand -pthread,
4280 # 2. putting a flag into CPPFLAGS that has an effect on the linker
4281 # causes the AC_TRY_LINK test below to succeed unexpectedly,
4282 # leading to wrong values of LIBTHREAD and LTLIBTHREAD.
4283 CPPFLAGS="$CPPFLAGS -D_REENTRANT"
4286 # Some systems optimize for single-threaded programs by default, and
4287 # need special flags to disable these optimizations. For example, the
4288 # definition of 'errno' in <errno.h>.
4290 aix* | freebsd*) CPPFLAGS="$CPPFLAGS -D_THREAD_SAFE" ;;
4291 solaris*) CPPFLAGS="$CPPFLAGS -D_REENTRANT" ;;
4295 m4trace:/usr/share/aclocal/threadlib.m4:100: -1- AC_DEFUN([gl_THREADLIB_BODY], [
4296 AC_REQUIRE([gl_THREADLIB_EARLY_BODY])
4302 if test "$gl_use_threads" != no; then
4303 dnl Check whether the compiler and linker support weak declarations.
4304 AC_CACHE_CHECK([whether imported symbols can be declared weak],
4307 dnl First, test whether the compiler accepts it syntactically.
4308 AC_TRY_LINK([extern void xyzzy ();
4309 #pragma weak xyzzy], [xyzzy();], [gl_cv_have_weak=maybe])
4310 if test $gl_cv_have_weak = maybe; then
4311 dnl Second, test whether it actually works. On Cygwin 1.7.2, with
4312 dnl gcc 4.3, symbols declared weak always evaluate to the address 0.
4318 return (fputs == NULL);
4319 }], [gl_cv_have_weak=yes], [gl_cv_have_weak=no],
4320 [dnl When cross-compiling, assume that only ELF platforms support
4322 AC_EGREP_CPP([Extensible Linking Format],
4324 Extensible Linking Format
4327 [gl_cv_have_weak="guessing yes"],
4328 [gl_cv_have_weak="guessing no"])
4332 if test "$gl_use_threads" = yes || test "$gl_use_threads" = posix; then
4333 # On OSF/1, the compiler needs the flag -pthread or -D_REENTRANT so that
4334 # it groks <pthread.h>. It's added above, in gl_THREADLIB_EARLY_BODY.
4335 AC_CHECK_HEADER([pthread.h],
4336 [gl_have_pthread_h=yes], [gl_have_pthread_h=no])
4337 if test "$gl_have_pthread_h" = yes; then
4338 # Other possible tests:
4339 # -lpthreads (FSU threads, PCthreads)
4342 # Test whether both pthread_mutex_lock and pthread_mutexattr_init exist
4343 # in libc. IRIX 6.5 has the first one in both libc and libpthread, but
4344 # the second one only in libpthread, and lock.c needs it.
4345 AC_TRY_LINK([#include <pthread.h>],
4346 [pthread_mutex_lock((pthread_mutex_t*)0);
4347 pthread_mutexattr_init((pthread_mutexattr_t*)0);],
4348 [gl_have_pthread=yes])
4349 # Test for libpthread by looking for pthread_kill. (Not pthread_self,
4350 # since it is defined as a macro on OSF/1.)
4351 if test -n "$gl_have_pthread"; then
4352 # The program links fine without libpthread. But it may actually
4353 # need to link with libpthread in order to create multiple threads.
4354 AC_CHECK_LIB([pthread], [pthread_kill],
4355 [LIBMULTITHREAD=-lpthread LTLIBMULTITHREAD=-lpthread
4356 # On Solaris and HP-UX, most pthread functions exist also in libc.
4357 # Therefore pthread_in_use() needs to actually try to create a
4358 # thread: pthread_create from libc will fail, whereas
4359 # pthread_create will actually create a thread.
4362 AC_DEFINE([PTHREAD_IN_USE_DETECTION_HARD], [1],
4363 [Define if the pthread_in_use() detection is hard.])
4367 # Some library is needed. Try libpthread and libc_r.
4368 AC_CHECK_LIB([pthread], [pthread_kill],
4369 [gl_have_pthread=yes
4370 LIBTHREAD=-lpthread LTLIBTHREAD=-lpthread
4371 LIBMULTITHREAD=-lpthread LTLIBMULTITHREAD=-lpthread])
4372 if test -z "$gl_have_pthread"; then
4374 AC_CHECK_LIB([c_r], [pthread_kill],
4375 [gl_have_pthread=yes
4376 LIBTHREAD=-lc_r LTLIBTHREAD=-lc_r
4377 LIBMULTITHREAD=-lc_r LTLIBMULTITHREAD=-lc_r])
4380 if test -n "$gl_have_pthread"; then
4381 gl_threads_api=posix
4382 AC_DEFINE([USE_POSIX_THREADS], [1],
4383 [Define if the POSIX multithreading library can be used.])
4384 if test -n "$LIBMULTITHREAD" || test -n "$LTLIBMULTITHREAD"; then
4385 if case "$gl_cv_have_weak" in *yes) true;; *) false;; esac; then
4386 AC_DEFINE([USE_POSIX_THREADS_WEAK], [1],
4387 [Define if references to the POSIX multithreading library should be made weak.])
4395 if test -z "$gl_have_pthread"; then
4396 if test "$gl_use_threads" = yes || test "$gl_use_threads" = solaris; then
4397 gl_have_solaristhread=
4398 gl_save_LIBS="$LIBS"
4399 LIBS="$LIBS -lthread"
4400 AC_TRY_LINK([#include <thread.h>
4401 #include <synch.h>],
4403 [gl_have_solaristhread=yes])
4404 LIBS="$gl_save_LIBS"
4405 if test -n "$gl_have_solaristhread"; then
4406 gl_threads_api=solaris
4408 LTLIBTHREAD=-lthread
4409 LIBMULTITHREAD="$LIBTHREAD"
4410 LTLIBMULTITHREAD="$LTLIBTHREAD"
4411 AC_DEFINE([USE_SOLARIS_THREADS], [1],
4412 [Define if the old Solaris multithreading library can be used.])
4413 if case "$gl_cv_have_weak" in *yes) true;; *) false;; esac; then
4414 AC_DEFINE([USE_SOLARIS_THREADS_WEAK], [1],
4415 [Define if references to the old Solaris multithreading library should be made weak.])
4422 if test "$gl_use_threads" = pth; then
4423 gl_save_CPPFLAGS="$CPPFLAGS"
4424 AC_LIB_LINKFLAGS([pth])
4426 gl_save_LIBS="$LIBS"
4428 AC_TRY_LINK([#include <pth.h>], [pth_self();], [gl_have_pth=yes])
4429 LIBS="$gl_save_LIBS"
4430 if test -n "$gl_have_pth"; then
4433 LTLIBTHREAD="$LTLIBPTH"
4434 LIBMULTITHREAD="$LIBTHREAD"
4435 LTLIBMULTITHREAD="$LTLIBTHREAD"
4436 AC_DEFINE([USE_PTH_THREADS], [1],
4437 [Define if the GNU Pth multithreading library can be used.])
4438 if test -n "$LIBMULTITHREAD" || test -n "$LTLIBMULTITHREAD"; then
4439 if case "$gl_cv_have_weak" in *yes) true;; *) false;; esac; then
4440 AC_DEFINE([USE_PTH_THREADS_WEAK], [1],
4441 [Define if references to the GNU Pth multithreading library should be made weak.])
4447 CPPFLAGS="$gl_save_CPPFLAGS"
4450 if test -z "$gl_have_pthread"; then
4451 if test "$gl_use_threads" = yes || test "$gl_use_threads" = win32; then
4452 if { case "$host_os" in
4457 gl_threads_api=win32
4458 AC_DEFINE([USE_WIN32_THREADS], [1],
4459 [Define if the Win32 multithreading API can be used.])
4464 AC_MSG_CHECKING([for multithread API to use])
4465 AC_MSG_RESULT([$gl_threads_api])
4466 AC_SUBST([LIBTHREAD])
4467 AC_SUBST([LTLIBTHREAD])
4468 AC_SUBST([LIBMULTITHREAD])
4469 AC_SUBST([LTLIBMULTITHREAD])
4471 m4trace:/usr/share/aclocal/threadlib.m4:278: -1- AC_DEFUN([gl_THREADLIB], [
4472 AC_REQUIRE([gl_THREADLIB_EARLY])
4473 AC_REQUIRE([gl_THREADLIB_BODY])
4475 m4trace:/usr/share/aclocal/threadlib.m4:291: -1- AC_DEFUN([gl_DISABLE_THREADS], [
4476 m4_divert_text([INIT_PREPARE], [gl_use_threads_default=no])
4478 m4trace:/usr/share/aclocal/uintmax_t.m4:14: -1- AC_DEFUN([gl_AC_TYPE_UINTMAX_T], [
4479 AC_REQUIRE([gl_AC_HEADER_INTTYPES_H])
4480 AC_REQUIRE([gl_AC_HEADER_STDINT_H])
4481 if test $gl_cv_header_inttypes_h = no && test $gl_cv_header_stdint_h = no; then
4482 AC_REQUIRE([AC_TYPE_UNSIGNED_LONG_LONG_INT])
4483 test $ac_cv_type_unsigned_long_long_int = yes \
4484 && ac_type='unsigned long long' \
4485 || ac_type='unsigned long'
4486 AC_DEFINE_UNQUOTED([uintmax_t], [$ac_type],
4487 [Define to unsigned long or unsigned long long
4488 if <stdint.h> and <inttypes.h> don't define.])
4490 AC_DEFINE([HAVE_UINTMAX_T], [1],
4491 [Define if you have the 'uintmax_t' type in <stdint.h> or <inttypes.h>.])
4494 m4trace:/usr/share/aclocal/visibility.m4:23: -1- AC_DEFUN([gl_VISIBILITY], [
4495 AC_REQUIRE([AC_PROG_CC])
4498 if test -n "$GCC"; then
4499 dnl First, check whether -Werror can be added to the command line, or
4500 dnl whether it leads to an error because of some other option that the
4501 dnl user has put into $CC $CFLAGS $CPPFLAGS.
4502 AC_MSG_CHECKING([whether the -Werror option is usable])
4503 AC_CACHE_VAL([gl_cv_cc_vis_werror], [
4504 gl_save_CFLAGS="$CFLAGS"
4505 CFLAGS="$CFLAGS -Werror"
4506 AC_TRY_COMPILE([], [],
4507 [gl_cv_cc_vis_werror=yes],
4508 [gl_cv_cc_vis_werror=no])
4509 CFLAGS="$gl_save_CFLAGS"])
4510 AC_MSG_RESULT([$gl_cv_cc_vis_werror])
4511 dnl Now check whether visibility declarations are supported.
4512 AC_MSG_CHECKING([for simple visibility declarations])
4513 AC_CACHE_VAL([gl_cv_cc_visibility], [
4514 gl_save_CFLAGS="$CFLAGS"
4515 CFLAGS="$CFLAGS -fvisibility=hidden"
4516 dnl We use the option -Werror and a function dummyfunc, because on some
4517 dnl platforms (Cygwin 1.7) the use of -fvisibility triggers a warning
4518 dnl "visibility attribute not supported in this configuration; ignored"
4519 dnl at the first function definition in every compilation unit, and we
4520 dnl don't want to use the option in this case.
4521 if test $gl_cv_cc_vis_werror = yes; then
4522 CFLAGS="$CFLAGS -Werror"
4525 [extern __attribute__((__visibility__("hidden"))) int hiddenvar;
4526 extern __attribute__((__visibility__("default"))) int exportedvar;
4527 extern __attribute__((__visibility__("hidden"))) int hiddenfunc (void);
4528 extern __attribute__((__visibility__("default"))) int exportedfunc (void);
4529 void dummyfunc (void) {}],
4531 [gl_cv_cc_visibility=yes],
4532 [gl_cv_cc_visibility=no])
4533 CFLAGS="$gl_save_CFLAGS"])
4534 AC_MSG_RESULT([$gl_cv_cc_visibility])
4535 if test $gl_cv_cc_visibility = yes; then
4536 CFLAG_VISIBILITY="-fvisibility=hidden"
4540 AC_SUBST([CFLAG_VISIBILITY])
4541 AC_SUBST([HAVE_VISIBILITY])
4542 AC_DEFINE_UNQUOTED([HAVE_VISIBILITY], [$HAVE_VISIBILITY],
4543 [Define to 1 or 0, depending whether the compiler supports simple visibility declarations.])
4545 m4trace:/usr/share/aclocal/wchar_t.m4:11: -1- AC_DEFUN([gt_TYPE_WCHAR_T], [
4546 AC_CACHE_CHECK([for wchar_t], [gt_cv_c_wchar_t],
4547 [AC_TRY_COMPILE([#include <stddef.h>
4548 wchar_t foo = (wchar_t)'\0';], ,
4549 [gt_cv_c_wchar_t=yes], [gt_cv_c_wchar_t=no])])
4550 if test $gt_cv_c_wchar_t = yes; then
4551 AC_DEFINE([HAVE_WCHAR_T], [1], [Define if you have the 'wchar_t' type.])
4554 m4trace:/usr/share/aclocal/wint_t.m4:11: -1- AC_DEFUN([gt_TYPE_WINT_T], [
4555 AC_CACHE_CHECK([for wint_t], [gt_cv_c_wint_t],
4557 /* Tru64 with Desktop Toolkit C has a bug: <stdio.h> must be included before
4559 BSD/OS 4.0.1 has a bug: <stddef.h>, <stdio.h> and <time.h> must be included
4560 before <wchar.h>. */
4565 wint_t foo = (wchar_t)'\0';], ,
4566 [gt_cv_c_wint_t=yes], [gt_cv_c_wint_t=no])])
4567 if test $gt_cv_c_wint_t = yes; then
4568 AC_DEFINE([HAVE_WINT_T], [1], [Define if you have the 'wint_t' type.])
4571 m4trace:/usr/share/aclocal/xsize.m4:7: -1- AC_DEFUN([gl_XSIZE], [
4572 dnl Prerequisites of lib/xsize.h.
4573 AC_REQUIRE([gl_SIZE_MAX])
4574 AC_REQUIRE([AC_C_INLINE])
4575 AC_CHECK_HEADERS([stdint.h])
4577 m4trace:/usr/share/aclocal-1.11/amversion.m4:14: -1- AC_DEFUN([AM_AUTOMAKE_VERSION], [am__api_version='1.11'
4578 dnl Some users find AM_AUTOMAKE_VERSION and mistake it for a way to
4579 dnl require some minimum version. Point them to the right macro.
4580 m4_if([$1], [1.11.1], [],
4581 [AC_FATAL([Do not call $0, use AM_INIT_AUTOMAKE([$1]).])])dnl
4583 m4trace:/usr/share/aclocal-1.11/amversion.m4:33: -1- AC_DEFUN([AM_SET_CURRENT_AUTOMAKE_VERSION], [AM_AUTOMAKE_VERSION([1.11.1])dnl
4584 m4_ifndef([AC_AUTOCONF_VERSION],
4585 [m4_copy([m4_PACKAGE_VERSION], [AC_AUTOCONF_VERSION])])dnl
4586 _AM_AUTOCONF_VERSION(m4_defn([AC_AUTOCONF_VERSION]))])
4587 m4trace:/usr/share/aclocal-1.11/auxdir.m4:47: -1- AC_DEFUN([AM_AUX_DIR_EXPAND], [dnl Rely on autoconf to set up CDPATH properly.
4588 AC_PREREQ([2.50])dnl
4589 # expand $ac_aux_dir to an absolute path
4590 am_aux_dir=`cd $ac_aux_dir && pwd`
4592 m4trace:/usr/share/aclocal-1.11/cond.m4:15: -1- AC_DEFUN([AM_CONDITIONAL], [AC_PREREQ(2.52)dnl
4593 ifelse([$1], [TRUE], [AC_FATAL([$0: invalid condition: $1])],
4594 [$1], [FALSE], [AC_FATAL([$0: invalid condition: $1])])dnl
4595 AC_SUBST([$1_TRUE])dnl
4596 AC_SUBST([$1_FALSE])dnl
4597 _AM_SUBST_NOTMAKE([$1_TRUE])dnl
4598 _AM_SUBST_NOTMAKE([$1_FALSE])dnl
4599 m4_define([_AM_COND_VALUE_$1], [$2])dnl
4607 AC_CONFIG_COMMANDS_PRE(
4608 [if test -z "${$1_TRUE}" && test -z "${$1_FALSE}"; then
4609 AC_MSG_ERROR([[conditional "$1" was never defined.
4610 Usually this means the macro was only invoked conditionally.]])
4612 m4trace:/usr/share/aclocal-1.11/depend.m4:28: -1- AC_DEFUN([_AM_DEPENDENCIES], [AC_REQUIRE([AM_SET_DEPDIR])dnl
4613 AC_REQUIRE([AM_OUTPUT_DEPENDENCY_COMMANDS])dnl
4614 AC_REQUIRE([AM_MAKE_INCLUDE])dnl
4615 AC_REQUIRE([AM_DEP_TRACK])dnl
4617 ifelse([$1], CC, [depcc="$CC" am_compiler_list=],
4618 [$1], CXX, [depcc="$CXX" am_compiler_list=],
4619 [$1], OBJC, [depcc="$OBJC" am_compiler_list='gcc3 gcc'],
4620 [$1], UPC, [depcc="$UPC" am_compiler_list=],
4621 [$1], GCJ, [depcc="$GCJ" am_compiler_list='gcc3 gcc'],
4622 [depcc="$$1" am_compiler_list=])
4624 AC_CACHE_CHECK([dependency style of $depcc],
4625 [am_cv_$1_dependencies_compiler_type],
4626 [if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
4627 # We make a subdir and do the tests there. Otherwise we can end up
4628 # making bogus files that we don't know about and never remove. For
4629 # instance it was reported that on HP-UX the gcc test will end up
4630 # making a dummy file named `D' -- because `-MD' means `put the output
4633 # Copy depcomp to subdir because otherwise we won't find it if we're
4634 # using a relative directory.
4635 cp "$am_depcomp" conftest.dir
4637 # We will build objects and dependencies in a subdirectory because
4638 # it helps to detect inapplicable dependency modes. For instance
4639 # both Tru64's cc and ICC support -MD to output dependencies as a
4640 # side effect of compilation, but ICC will put the dependencies in
4641 # the current directory while Tru64 will put them in the object
4645 am_cv_$1_dependencies_compiler_type=none
4646 if test "$am_compiler_list" = ""; then
4647 am_compiler_list=`sed -n ['s/^#*\([a-zA-Z0-9]*\))$/\1/p'] < ./depcomp`
4651 [case " $depcc " in #(
4652 *\ -arch\ *\ -arch\ *) am__universal=true ;;
4655 [case " $depcc " in #(
4656 *\ -arch\ *\ -arch\ *) am__universal=true ;;
4659 for depmode in $am_compiler_list; do
4660 # Setup a source with many dependencies, because some compilers
4661 # like to wrap large dependency lists on column 80 (with \), and
4662 # we should not choose a depcomp mode which is confused by this.
4664 # We need to recreate these files for each test, as the compiler may
4665 # overwrite some of them when testing with obscure command lines.
4666 # This happens at least with the AIX C compiler.
4668 for i in 1 2 3 4 5 6; do
4669 echo '#include "conftst'$i'.h"' >> sub/conftest.c
4670 # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
4671 # Solaris 8's {/usr,}/bin/sh.
4672 touch sub/conftst$i.h
4674 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
4676 # We check with `-c' and `-o' for the sake of the "dashmstdout"
4677 # mode. It turns out that the SunPro C++ compiler does not properly
4678 # handle `-M -o', and we need to detect this. Also, some Intel
4679 # versions had trouble with output in subdirs
4680 am__obj=sub/conftest.${OBJEXT-o}
4681 am__minus_obj="-o $am__obj"
4684 # This depmode causes a compiler race in universal mode.
4685 test "$am__universal" = false || continue
4688 # after this tag, mechanisms are not by side-effect, so they'll
4689 # only be used when explicitly requested
4690 if test "x$enable_dependency_tracking" = xyes; then
4696 msvisualcpp | msvcmsys)
4697 # This compiler won't grok `-c -o', but also, the minuso test has
4698 # not run yet. These depmodes are late enough in the game, and
4699 # so weak that their functioning should not be impacted.
4700 am__obj=conftest.${OBJEXT-o}
4705 if depmode=$depmode \
4706 source=sub/conftest.c object=$am__obj \
4707 depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
4708 $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
4709 >/dev/null 2>conftest.err &&
4710 grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
4711 grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
4712 grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
4713 ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
4714 # icc doesn't choke on unknown options, it will just issue warnings
4715 # or remarks (even with -Werror). So we grep stderr for any message
4716 # that says an option was ignored or not supported.
4717 # When given -MP, icc 7.0 and 7.1 complain thusly:
4718 # icc: Command line warning: ignoring option '-M'; no argument required
4719 # The diagnosis changed in icc 8.0:
4720 # icc: Command line remark: option '-MP' not supported
4721 if (grep 'ignoring option' conftest.err ||
4722 grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
4723 am_cv_$1_dependencies_compiler_type=$depmode
4732 am_cv_$1_dependencies_compiler_type=none
4735 AC_SUBST([$1DEPMODE], [depmode=$am_cv_$1_dependencies_compiler_type])
4736 AM_CONDITIONAL([am__fastdep$1], [
4737 test "x$enable_dependency_tracking" != xno \
4738 && test "$am_cv_$1_dependencies_compiler_type" = gcc3])
4740 m4trace:/usr/share/aclocal-1.11/depend.m4:163: -1- AC_DEFUN([AM_SET_DEPDIR], [AC_REQUIRE([AM_SET_LEADING_DOT])dnl
4741 AC_SUBST([DEPDIR], ["${am__leading_dot}deps"])dnl
4743 m4trace:/usr/share/aclocal-1.11/depend.m4:171: -1- AC_DEFUN([AM_DEP_TRACK], [AC_ARG_ENABLE(dependency-tracking,
4744 [ --disable-dependency-tracking speeds up one-time build
4745 --enable-dependency-tracking do not reject slow dependency extractors])
4746 if test "x$enable_dependency_tracking" != xno; then
4747 am_depcomp="$ac_aux_dir/depcomp"
4750 AM_CONDITIONAL([AMDEP], [test "x$enable_dependency_tracking" != xno])
4751 AC_SUBST([AMDEPBACKSLASH])dnl
4752 _AM_SUBST_NOTMAKE([AMDEPBACKSLASH])dnl
4754 m4trace:/usr/share/aclocal-1.11/depout.m4:14: -1- AC_DEFUN([_AM_OUTPUT_DEPENDENCY_COMMANDS], [{
4755 # Autoconf 2.62 quotes --file arguments for eval, but not when files
4756 # are listed without --file. Let's play safe and only enable the eval
4757 # if we detect the quoting.
4758 case $CONFIG_FILES in
4759 *\'*) eval set x "$CONFIG_FILES" ;;
4760 *) set x $CONFIG_FILES ;;
4765 # Strip MF so we end up with the name of the file.
4766 mf=`echo "$mf" | sed -e 's/:.*$//'`
4767 # Check whether this is an Automake generated Makefile or not.
4768 # We used to match only the files named `Makefile.in', but
4769 # some people rename them; so instead we look at the file content.
4770 # Grep'ing the first line is not enough: some people post-process
4771 # each Makefile.in and add a new line on top of each file to say so.
4772 # Grep'ing the whole file is not good either: AIX grep has a line
4773 # limit of 2048, but all sed's we know have understand at least 4000.
4774 if sed -n 's,^#.*generated by automake.*,X,p' "$mf" | grep X >/dev/null 2>&1; then
4775 dirpart=`AS_DIRNAME("$mf")`
4779 # Extract the definition of DEPDIR, am__include, and am__quote
4780 # from the Makefile without running `make'.
4781 DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"`
4782 test -z "$DEPDIR" && continue
4783 am__include=`sed -n 's/^am__include = //p' < "$mf"`
4784 test -z "am__include" && continue
4785 am__quote=`sed -n 's/^am__quote = //p' < "$mf"`
4786 # When using ansi2knr, U may be empty or an underscore; expand it
4787 U=`sed -n 's/^U = //p' < "$mf"`
4788 # Find all dependency output files, they are included files with
4789 # $(DEPDIR) in their names. We invoke sed twice because it is the
4790 # simplest approach to changing $(DEPDIR) to its actual value in the
4792 for file in `sed -n "
4793 s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
4794 sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do
4795 # Make sure the directory exists.
4796 test -f "$dirpart/$file" && continue
4797 fdir=`AS_DIRNAME(["$file"])`
4798 AS_MKDIR_P([$dirpart/$fdir])
4799 # echo "creating $dirpart/$file"
4800 echo '# dummy' > "$dirpart/$file"
4805 m4trace:/usr/share/aclocal-1.11/depout.m4:75: -1- AC_DEFUN([AM_OUTPUT_DEPENDENCY_COMMANDS], [AC_CONFIG_COMMANDS([depfiles],
4806 [test x"$AMDEP_TRUE" != x"" || _AM_OUTPUT_DEPENDENCY_COMMANDS],
4807 [AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"])
4809 m4trace:/usr/share/aclocal-1.11/init.m4:26: -1- AC_DEFUN([AM_INIT_AUTOMAKE], [AC_PREREQ([2.62])dnl
4810 dnl Autoconf wants to disallow AM_ names. We explicitly allow
4811 dnl the ones we care about.
4812 m4_pattern_allow([^AM_[A-Z]+FLAGS$])dnl
4813 AC_REQUIRE([AM_SET_CURRENT_AUTOMAKE_VERSION])dnl
4814 AC_REQUIRE([AC_PROG_INSTALL])dnl
4815 if test "`cd $srcdir && pwd`" != "`pwd`"; then
4816 # Use -I$(srcdir) only when $(srcdir) != ., so that make's output
4817 # is not polluted with repeated "-I."
4818 AC_SUBST([am__isrc], [' -I$(srcdir)'])_AM_SUBST_NOTMAKE([am__isrc])dnl
4819 # test to see if srcdir already configured
4820 if test -f $srcdir/config.status; then
4821 AC_MSG_ERROR([source directory already configured; run "make distclean" there first])
4825 # test whether we have cygpath
4826 if test -z "$CYGPATH_W"; then
4827 if (cygpath --version) >/dev/null 2>/dev/null; then
4828 CYGPATH_W='cygpath -w'
4833 AC_SUBST([CYGPATH_W])
4835 # Define the identity of the package.
4836 dnl Distinguish between old-style and new-style calls.
4838 [m4_ifval([$3], [_AM_SET_OPTION([no-define])])dnl
4839 AC_SUBST([PACKAGE], [$1])dnl
4840 AC_SUBST([VERSION], [$2])],
4841 [_AM_SET_OPTIONS([$1])dnl
4842 dnl Diagnose old-style AC_INIT with new-style AM_AUTOMAKE_INIT.
4843 m4_if(m4_ifdef([AC_PACKAGE_NAME], 1)m4_ifdef([AC_PACKAGE_VERSION], 1), 11,,
4844 [m4_fatal([AC_INIT should be called with package and version arguments])])dnl
4845 AC_SUBST([PACKAGE], ['AC_PACKAGE_TARNAME'])dnl
4846 AC_SUBST([VERSION], ['AC_PACKAGE_VERSION'])])dnl
4848 _AM_IF_OPTION([no-define],,
4849 [AC_DEFINE_UNQUOTED(PACKAGE, "$PACKAGE", [Name of package])
4850 AC_DEFINE_UNQUOTED(VERSION, "$VERSION", [Version number of package])])dnl
4852 # Some tools Automake needs.
4853 AC_REQUIRE([AM_SANITY_CHECK])dnl
4854 AC_REQUIRE([AC_ARG_PROGRAM])dnl
4855 AM_MISSING_PROG(ACLOCAL, aclocal-${am__api_version})
4856 AM_MISSING_PROG(AUTOCONF, autoconf)
4857 AM_MISSING_PROG(AUTOMAKE, automake-${am__api_version})
4858 AM_MISSING_PROG(AUTOHEADER, autoheader)
4859 AM_MISSING_PROG(MAKEINFO, makeinfo)
4860 AC_REQUIRE([AM_PROG_INSTALL_SH])dnl
4861 AC_REQUIRE([AM_PROG_INSTALL_STRIP])dnl
4862 AC_REQUIRE([AM_PROG_MKDIR_P])dnl
4863 # We need awk for the "check" target. The system "awk" is bad on
4865 AC_REQUIRE([AC_PROG_AWK])dnl
4866 AC_REQUIRE([AC_PROG_MAKE_SET])dnl
4867 AC_REQUIRE([AM_SET_LEADING_DOT])dnl
4868 _AM_IF_OPTION([tar-ustar], [_AM_PROG_TAR([ustar])],
4869 [_AM_IF_OPTION([tar-pax], [_AM_PROG_TAR([pax])],
4870 [_AM_PROG_TAR([v7])])])
4871 _AM_IF_OPTION([no-dependencies],,
4872 [AC_PROVIDE_IFELSE([AC_PROG_CC],
4873 [_AM_DEPENDENCIES(CC)],
4874 [define([AC_PROG_CC],
4875 defn([AC_PROG_CC])[_AM_DEPENDENCIES(CC)])])dnl
4876 AC_PROVIDE_IFELSE([AC_PROG_CXX],
4877 [_AM_DEPENDENCIES(CXX)],
4878 [define([AC_PROG_CXX],
4879 defn([AC_PROG_CXX])[_AM_DEPENDENCIES(CXX)])])dnl
4880 AC_PROVIDE_IFELSE([AC_PROG_OBJC],
4881 [_AM_DEPENDENCIES(OBJC)],
4882 [define([AC_PROG_OBJC],
4883 defn([AC_PROG_OBJC])[_AM_DEPENDENCIES(OBJC)])])dnl
4885 _AM_IF_OPTION([silent-rules], [AC_REQUIRE([AM_SILENT_RULES])])dnl
4886 dnl The `parallel-tests' driver may need to know about EXEEXT, so add the
4887 dnl `am__EXEEXT' conditional if _AM_COMPILER_EXEEXT was seen. This macro
4888 dnl is hooked onto _AC_COMPILER_EXEEXT early, see below.
4889 AC_CONFIG_COMMANDS_PRE(dnl
4890 [m4_provide_if([_AM_COMPILER_EXEEXT],
4891 [AM_CONDITIONAL([am__EXEEXT], [test -n "$EXEEXT"])])])dnl
4893 m4trace:/usr/share/aclocal-1.11/init.m4:126: -1- AC_DEFUN([_AC_AM_CONFIG_HEADER_HOOK], [# Compute $1's index in $config_headers.
4896 for _am_header in $config_headers :; do
4898 $_am_arg | $_am_arg:* )
4901 _am_stamp_count=`expr $_am_stamp_count + 1` ;;
4904 echo "timestamp for $_am_arg" >`AS_DIRNAME(["$_am_arg"])`/stamp-h[]$_am_stamp_count])
4905 m4trace:/usr/share/aclocal-1.11/install-sh.m4:11: -1- AC_DEFUN([AM_PROG_INSTALL_SH], [AC_REQUIRE([AM_AUX_DIR_EXPAND])dnl
4906 if test x"${install_sh}" != xset; then
4909 install_sh="\${SHELL} '$am_aux_dir/install-sh'" ;;
4911 install_sh="\${SHELL} $am_aux_dir/install-sh"
4914 AC_SUBST(install_sh)])
4915 m4trace:/usr/share/aclocal-1.11/lead-dot.m4:12: -1- AC_DEFUN([AM_SET_LEADING_DOT], [rm -rf .tst 2>/dev/null
4916 mkdir .tst 2>/dev/null
4917 if test -d .tst; then
4922 rmdir .tst 2>/dev/null
4923 AC_SUBST([am__leading_dot])])
4924 m4trace:/usr/share/aclocal-1.11/make.m4:14: -1- AC_DEFUN([AM_MAKE_INCLUDE], [am_make=${MAKE-make}
4925 cat > confinc << 'END'
4927 @echo this is the am__doit target
4930 # If we don't find an include directive, just comment out the code.
4931 AC_MSG_CHECKING([for style of include used by $am_make])
4935 # First try GNU make style include.
4936 echo "include confinc" > confmf
4937 # Ignore all kinds of additional output from `make'.
4938 case `$am_make -s -f confmf 2> /dev/null` in #(
4939 *the\ am__doit\ target*)
4945 # Now try BSD make style include.
4946 if test "$am__include" = "#"; then
4947 echo '.include "confinc"' > confmf
4948 case `$am_make -s -f confmf 2> /dev/null` in #(
4949 *the\ am__doit\ target*)
4950 am__include=.include
4956 AC_SUBST([am__include])
4957 AC_SUBST([am__quote])
4958 AC_MSG_RESULT([$_am_result])
4959 rm -f confinc confmf
4961 m4trace:/usr/share/aclocal-1.11/minuso.m4:14: -1- AC_DEFUN([AM_PROG_CC_C_O], [AC_REQUIRE([AC_PROG_CC_C_O])dnl
4962 AC_REQUIRE([AM_AUX_DIR_EXPAND])dnl
4963 AC_REQUIRE_AUX_FILE([compile])dnl
4964 # FIXME: we rely on the cache variable name because
4965 # there is no other way.
4967 am_cc=`echo $[2] | sed ['s/[^a-zA-Z0-9_]/_/g;s/^[0-9]/_/']`
4968 eval am_t=\$ac_cv_prog_cc_${am_cc}_c_o
4969 if test "$am_t" != yes; then
4970 # Losing compiler, so override with the script.
4971 # FIXME: It is wrong to rewrite CC.
4972 # But if we don't then we get into trouble of one sort or another.
4973 # A longer-term fix would be to have automake use am__CC in this case,
4974 # and then we could set am__CC="\$(top_srcdir)/compile \$(CC)"
4975 CC="$am_aux_dir/compile $CC"
4977 dnl Make sure AC_PROG_CC is never called again, or it will override our
4979 m4_define([AC_PROG_CC],
4980 [m4_fatal([AC_PROG_CC cannot be called after AM_PROG_CC_C_O])])
4982 m4trace:/usr/share/aclocal-1.11/missing.m4:14: -1- AC_DEFUN([AM_MISSING_PROG], [AC_REQUIRE([AM_MISSING_HAS_RUN])
4983 $1=${$1-"${am_missing_run}$2"}
4985 m4trace:/usr/share/aclocal-1.11/missing.m4:24: -1- AC_DEFUN([AM_MISSING_HAS_RUN], [AC_REQUIRE([AM_AUX_DIR_EXPAND])dnl
4986 AC_REQUIRE_AUX_FILE([missing])dnl
4987 if test x"${MISSING+set}" != xset; then
4990 MISSING="\${SHELL} \"$am_aux_dir/missing\"" ;;
4992 MISSING="\${SHELL} $am_aux_dir/missing" ;;
4995 # Use eval to expand $SHELL
4996 if eval "$MISSING --run true"; then
4997 am_missing_run="$MISSING --run "
5000 AC_MSG_WARN([`missing' script is too old or missing])
5003 m4trace:/usr/share/aclocal-1.11/mkdirp.m4:11: -1- AC_DEFUN([AM_PROG_MKDIR_P], [AC_PREREQ([2.60])dnl
5004 AC_REQUIRE([AC_PROG_MKDIR_P])dnl
5005 dnl Automake 1.8 to 1.9.6 used to define mkdir_p. We now use MKDIR_P,
5006 dnl while keeping a definition of mkdir_p for backward compatibility.
5007 dnl @MKDIR_P@ is magic: AC_OUTPUT adjusts its value for each Makefile.
5008 dnl However we cannot define mkdir_p as $(MKDIR_P) for the sake of
5009 dnl Makefile.ins that do not define MKDIR_P, so we do our own
5010 dnl adjustment using top_builddir (which is defined more often than
5012 AC_SUBST([mkdir_p], ["$MKDIR_P"])dnl
5014 [[\\/$]]* | ?:[[\\/]]*) ;;
5015 */*) mkdir_p="\$(top_builddir)/$mkdir_p" ;;
5018 m4trace:/usr/share/aclocal-1.11/options.m4:13: -1- AC_DEFUN([_AM_MANGLE_OPTION], [[_AM_OPTION_]m4_bpatsubst($1, [[^a-zA-Z0-9_]], [_])])
5019 m4trace:/usr/share/aclocal-1.11/options.m4:19: -1- AC_DEFUN([_AM_SET_OPTION], [m4_define(_AM_MANGLE_OPTION([$1]), 1)])
5020 m4trace:/usr/share/aclocal-1.11/options.m4:25: -1- AC_DEFUN([_AM_SET_OPTIONS], [m4_foreach_w([_AM_Option], [$1], [_AM_SET_OPTION(_AM_Option)])])
5021 m4trace:/usr/share/aclocal-1.11/options.m4:31: -1- AC_DEFUN([_AM_IF_OPTION], [m4_ifset(_AM_MANGLE_OPTION([$1]), [$2], [$3])])
5022 m4trace:/usr/share/aclocal-1.11/runlog.m4:12: -1- AC_DEFUN([AM_RUN_LOG], [{ echo "$as_me:$LINENO: $1" >&AS_MESSAGE_LOG_FD
5023 ($1) >&AS_MESSAGE_LOG_FD 2>&AS_MESSAGE_LOG_FD
5025 echo "$as_me:$LINENO: \$? = $ac_status" >&AS_MESSAGE_LOG_FD
5026 (exit $ac_status); }])
5027 m4trace:/usr/share/aclocal-1.11/sanity.m4:14: -1- AC_DEFUN([AM_SANITY_CHECK], [AC_MSG_CHECKING([whether build environment is sane])
5030 echo timestamp > conftest.file
5031 # Reject unsafe characters in $srcdir or the absolute working directory
5032 # name. Accept space and tab only in the latter.
5036 *[[\\\"\#\$\&\'\`$am_lf]]*)
5037 AC_MSG_ERROR([unsafe absolute working directory name]);;
5040 *[[\\\"\#\$\&\'\`$am_lf\ \ ]]*)
5041 AC_MSG_ERROR([unsafe srcdir value: `$srcdir']);;
5044 # Do `set' in a subshell so we don't clobber the current shell's
5045 # arguments. Must try -L first in case configure is actually a
5046 # symlink; some systems play weird games with the mod time of symlinks
5047 # (eg FreeBSD returns the mod time of the symlink's containing
5050 set X `ls -Lt "$srcdir/configure" conftest.file 2> /dev/null`
5051 if test "$[*]" = "X"; then
5053 set X `ls -t "$srcdir/configure" conftest.file`
5056 if test "$[*]" != "X $srcdir/configure conftest.file" \
5057 && test "$[*]" != "X conftest.file $srcdir/configure"; then
5059 # If neither matched, then we have a broken ls. This can happen
5060 # if, for instance, CONFIG_SHELL is bash and it inherits a
5061 # broken ls alias from the environment. This has actually
5062 # happened. Such a system could not be considered "sane".
5063 AC_MSG_ERROR([ls -t appears to fail. Make sure there is not a broken
5064 alias in your environment])
5067 test "$[2]" = conftest.file
5073 AC_MSG_ERROR([newly created file is older than distributed files!
5074 Check your system clock])
5076 AC_MSG_RESULT(yes)])
5077 m4trace:/usr/share/aclocal-1.11/silent.m4:14: -1- AC_DEFUN([AM_SILENT_RULES], [AC_ARG_ENABLE([silent-rules],
5078 [ --enable-silent-rules less verbose build output (undo: `make V=1')
5079 --disable-silent-rules verbose build output (undo: `make V=0')])
5080 case $enable_silent_rules in
5081 yes) AM_DEFAULT_VERBOSITY=0;;
5082 no) AM_DEFAULT_VERBOSITY=1;;
5083 *) AM_DEFAULT_VERBOSITY=m4_if([$1], [yes], [0], [1]);;
5085 AC_SUBST([AM_DEFAULT_VERBOSITY])dnl
5087 AC_SUBST([AM_BACKSLASH])dnl
5088 _AM_SUBST_NOTMAKE([AM_BACKSLASH])dnl
5090 m4trace:/usr/share/aclocal-1.11/strip.m4:17: -1- AC_DEFUN([AM_PROG_INSTALL_STRIP], [AC_REQUIRE([AM_PROG_INSTALL_SH])dnl
5091 # Installed binaries are usually stripped using `strip' when the user
5092 # run `make install-strip'. However `strip' might not be the right
5093 # tool to use in cross-compilation environments, therefore Automake
5094 # will honor the `STRIP' environment variable to overrule this program.
5095 dnl Don't test for $cross_compiling = yes, because it might be `maybe'.
5096 if test "$cross_compiling" != no; then
5097 AC_CHECK_TOOL([STRIP], [strip], :)
5099 INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s"
5100 AC_SUBST([INSTALL_STRIP_PROGRAM])])
5101 m4trace:/usr/share/aclocal-1.11/substnot.m4:14: -1- AC_DEFUN([_AM_SUBST_NOTMAKE])
5102 m4trace:/usr/share/aclocal-1.11/substnot.m4:19: -1- AC_DEFUN([AM_SUBST_NOTMAKE], [_AM_SUBST_NOTMAKE($@)])
5103 m4trace:/usr/share/aclocal-1.11/tar.m4:24: -1- AC_DEFUN([_AM_PROG_TAR], [# Always define AMTAR for backward compatibility.
5104 AM_MISSING_PROG([AMTAR], [tar])
5106 [am__tar='${AMTAR} chof - "$$tardir"'; am__untar='${AMTAR} xf -'],
5107 [m4_case([$1], [ustar],, [pax],,
5108 [m4_fatal([Unknown tar format])])
5109 AC_MSG_CHECKING([how to create a $1 tar archive])
5110 # Loop over all known methods to create a tar archive until one works.
5111 _am_tools='gnutar m4_if([$1], [ustar], [plaintar]) pax cpio none'
5112 _am_tools=${am_cv_prog_tar_$1-$_am_tools}
5113 # Do not fold the above two line into one, because Tru64 sh and
5114 # Solaris sh will not grok spaces in the rhs of `-'.
5115 for _am_tool in $_am_tools
5119 for _am_tar in tar gnutar gtar;
5121 AM_RUN_LOG([$_am_tar --version]) && break
5123 am__tar="$_am_tar --format=m4_if([$1], [pax], [posix], [$1]) -chf - "'"$$tardir"'
5124 am__tar_="$_am_tar --format=m4_if([$1], [pax], [posix], [$1]) -chf - "'"$tardir"'
5125 am__untar="$_am_tar -xf -"
5128 # Must skip GNU tar: if it does not support --format= it doesn't create
5129 # ustar tarball either.
5130 (tar --version) >/dev/null 2>&1 && continue
5131 am__tar='tar chf - "$$tardir"'
5132 am__tar_='tar chf - "$tardir"'
5133 am__untar='tar xf -'
5136 am__tar='pax -L -x $1 -w "$$tardir"'
5137 am__tar_='pax -L -x $1 -w "$tardir"'
5141 am__tar='find "$$tardir" -print | cpio -o -H $1 -L'
5142 am__tar_='find "$tardir" -print | cpio -o -H $1 -L'
5143 am__untar='cpio -i -H $1 -d'
5152 # If the value was cached, stop now. We just wanted to have am__tar
5153 # and am__untar set.
5154 test -n "${am_cv_prog_tar_$1}" && break
5156 # tar/untar a dummy directory, and stop if the command works
5159 echo GrepMe > conftest.dir/file
5160 AM_RUN_LOG([tardir=conftest.dir && eval $am__tar_ >conftest.tar])
5162 if test -s conftest.tar; then
5163 AM_RUN_LOG([$am__untar <conftest.tar])
5164 grep GrepMe conftest.dir/file >/dev/null 2>&1 && break
5169 AC_CACHE_VAL([am_cv_prog_tar_$1], [am_cv_prog_tar_$1=$_am_tool])
5170 AC_MSG_RESULT([$am_cv_prog_tar_$1])])
5172 AC_SUBST([am__untar])
5174 m4trace:configure.ac:8: -1- m4_pattern_forbid([^_?A[CHUM]_])
5175 m4trace:configure.ac:8: -1- m4_pattern_forbid([_AC_])
5176 m4trace:configure.ac:8: -1- m4_pattern_forbid([^LIBOBJS$], [do not use LIBOBJS directly, use AC_LIBOBJ (see section `AC_LIBOBJ vs LIBOBJS'])
5177 m4trace:configure.ac:8: -1- m4_pattern_allow([^AS_FLAGS$])
5178 m4trace:configure.ac:8: -1- m4_pattern_forbid([^_?m4_])
5179 m4trace:configure.ac:8: -1- m4_pattern_forbid([^dnl$])
5180 m4trace:configure.ac:8: -1- m4_pattern_forbid([^_?AS_])
5181 m4trace:configure.ac:8: -1- m4_pattern_allow([^SHELL$])
5182 m4trace:configure.ac:8: -1- m4_pattern_allow([^PATH_SEPARATOR$])
5183 m4trace:configure.ac:8: -1- m4_pattern_allow([^PACKAGE_NAME$])
5184 m4trace:configure.ac:8: -1- m4_pattern_allow([^PACKAGE_TARNAME$])
5185 m4trace:configure.ac:8: -1- m4_pattern_allow([^PACKAGE_VERSION$])
5186 m4trace:configure.ac:8: -1- m4_pattern_allow([^PACKAGE_STRING$])
5187 m4trace:configure.ac:8: -1- m4_pattern_allow([^PACKAGE_BUGREPORT$])
5188 m4trace:configure.ac:8: -1- m4_pattern_allow([^PACKAGE_URL$])
5189 m4trace:configure.ac:8: -1- m4_pattern_allow([^exec_prefix$])
5190 m4trace:configure.ac:8: -1- m4_pattern_allow([^prefix$])
5191 m4trace:configure.ac:8: -1- m4_pattern_allow([^program_transform_name$])
5192 m4trace:configure.ac:8: -1- m4_pattern_allow([^bindir$])
5193 m4trace:configure.ac:8: -1- m4_pattern_allow([^sbindir$])
5194 m4trace:configure.ac:8: -1- m4_pattern_allow([^libexecdir$])
5195 m4trace:configure.ac:8: -1- m4_pattern_allow([^datarootdir$])
5196 m4trace:configure.ac:8: -1- m4_pattern_allow([^datadir$])
5197 m4trace:configure.ac:8: -1- m4_pattern_allow([^sysconfdir$])
5198 m4trace:configure.ac:8: -1- m4_pattern_allow([^sharedstatedir$])
5199 m4trace:configure.ac:8: -1- m4_pattern_allow([^localstatedir$])
5200 m4trace:configure.ac:8: -1- m4_pattern_allow([^includedir$])
5201 m4trace:configure.ac:8: -1- m4_pattern_allow([^oldincludedir$])
5202 m4trace:configure.ac:8: -1- m4_pattern_allow([^docdir$])
5203 m4trace:configure.ac:8: -1- m4_pattern_allow([^infodir$])
5204 m4trace:configure.ac:8: -1- m4_pattern_allow([^htmldir$])
5205 m4trace:configure.ac:8: -1- m4_pattern_allow([^dvidir$])
5206 m4trace:configure.ac:8: -1- m4_pattern_allow([^pdfdir$])
5207 m4trace:configure.ac:8: -1- m4_pattern_allow([^psdir$])
5208 m4trace:configure.ac:8: -1- m4_pattern_allow([^libdir$])
5209 m4trace:configure.ac:8: -1- m4_pattern_allow([^localedir$])
5210 m4trace:configure.ac:8: -1- m4_pattern_allow([^mandir$])
5211 m4trace:configure.ac:8: -1- m4_pattern_allow([^PACKAGE_NAME$])
5212 m4trace:configure.ac:8: -1- m4_pattern_allow([^PACKAGE_TARNAME$])
5213 m4trace:configure.ac:8: -1- m4_pattern_allow([^PACKAGE_VERSION$])
5214 m4trace:configure.ac:8: -1- m4_pattern_allow([^PACKAGE_STRING$])
5215 m4trace:configure.ac:8: -1- m4_pattern_allow([^PACKAGE_BUGREPORT$])
5216 m4trace:configure.ac:8: -1- m4_pattern_allow([^PACKAGE_URL$])
5217 m4trace:configure.ac:8: -1- m4_pattern_allow([^DEFS$])
5218 m4trace:configure.ac:8: -1- m4_pattern_allow([^ECHO_C$])
5219 m4trace:configure.ac:8: -1- m4_pattern_allow([^ECHO_N$])
5220 m4trace:configure.ac:8: -1- m4_pattern_allow([^ECHO_T$])
5221 m4trace:configure.ac:8: -1- m4_pattern_allow([^LIBS$])
5222 m4trace:configure.ac:8: -1- m4_pattern_allow([^build_alias$])
5223 m4trace:configure.ac:8: -1- m4_pattern_allow([^host_alias$])
5224 m4trace:configure.ac:8: -1- m4_pattern_allow([^target_alias$])
5225 m4trace:configure.ac:20: -1- AM_INIT_AUTOMAKE([-Wall gnu 1.9 dist-bzip2 check-news subdir-objects])
5226 m4trace:configure.ac:20: -1- m4_pattern_allow([^AM_[A-Z]+FLAGS$])
5227 m4trace:configure.ac:20: -1- AM_SET_CURRENT_AUTOMAKE_VERSION
5228 m4trace:configure.ac:20: -1- AM_AUTOMAKE_VERSION([1.11.1])
5229 m4trace:configure.ac:20: -1- _AM_AUTOCONF_VERSION([2.68])
5230 m4trace:configure.ac:20: -1- m4_pattern_allow([^INSTALL_PROGRAM$])
5231 m4trace:configure.ac:20: -1- m4_pattern_allow([^INSTALL_SCRIPT$])
5232 m4trace:configure.ac:20: -1- m4_pattern_allow([^INSTALL_DATA$])
5233 m4trace:configure.ac:20: -1- m4_pattern_allow([^am__isrc$])
5234 m4trace:configure.ac:20: -1- _AM_SUBST_NOTMAKE([am__isrc])
5235 m4trace:configure.ac:20: -1- m4_pattern_allow([^CYGPATH_W$])
5236 m4trace:configure.ac:20: -1- _AM_SET_OPTIONS([-Wall gnu 1.9 dist-bzip2 check-news subdir-objects])
5237 m4trace:configure.ac:20: -1- _AM_SET_OPTION([-Wall])
5238 m4trace:configure.ac:20: -2- _AM_MANGLE_OPTION([-Wall])
5239 m4trace:configure.ac:20: -1- _AM_SET_OPTION([gnu])
5240 m4trace:configure.ac:20: -2- _AM_MANGLE_OPTION([gnu])
5241 m4trace:configure.ac:20: -1- _AM_SET_OPTION([1.9])
5242 m4trace:configure.ac:20: -2- _AM_MANGLE_OPTION([1.9])
5243 m4trace:configure.ac:20: -1- _AM_SET_OPTION([dist-bzip2])
5244 m4trace:configure.ac:20: -2- _AM_MANGLE_OPTION([dist-bzip2])
5245 m4trace:configure.ac:20: -1- _AM_SET_OPTION([check-news])
5246 m4trace:configure.ac:20: -2- _AM_MANGLE_OPTION([check-news])
5247 m4trace:configure.ac:20: -1- _AM_SET_OPTION([subdir-objects])
5248 m4trace:configure.ac:20: -2- _AM_MANGLE_OPTION([subdir-objects])
5249 m4trace:configure.ac:20: -1- m4_pattern_allow([^PACKAGE$])
5250 m4trace:configure.ac:20: -1- m4_pattern_allow([^VERSION$])
5251 m4trace:configure.ac:20: -1- _AM_IF_OPTION([no-define], [], [AC_DEFINE_UNQUOTED(PACKAGE, "$PACKAGE", [Name of package])
5252 AC_DEFINE_UNQUOTED(VERSION, "$VERSION", [Version number of package])])
5253 m4trace:configure.ac:20: -2- _AM_MANGLE_OPTION([no-define])
5254 m4trace:configure.ac:20: -1- m4_pattern_allow([^PACKAGE$])
5255 m4trace:configure.ac:20: -1- m4_pattern_allow([^VERSION$])
5256 m4trace:configure.ac:20: -1- AM_SANITY_CHECK
5257 m4trace:configure.ac:20: -1- AM_MISSING_PROG([ACLOCAL], [aclocal-${am__api_version}])
5258 m4trace:configure.ac:20: -1- AM_MISSING_HAS_RUN
5259 m4trace:configure.ac:20: -1- AM_AUX_DIR_EXPAND
5260 m4trace:configure.ac:20: -1- m4_pattern_allow([^ACLOCAL$])
5261 m4trace:configure.ac:20: -1- AM_MISSING_PROG([AUTOCONF], [autoconf])
5262 m4trace:configure.ac:20: -1- m4_pattern_allow([^AUTOCONF$])
5263 m4trace:configure.ac:20: -1- AM_MISSING_PROG([AUTOMAKE], [automake-${am__api_version}])
5264 m4trace:configure.ac:20: -1- m4_pattern_allow([^AUTOMAKE$])
5265 m4trace:configure.ac:20: -1- AM_MISSING_PROG([AUTOHEADER], [autoheader])
5266 m4trace:configure.ac:20: -1- m4_pattern_allow([^AUTOHEADER$])
5267 m4trace:configure.ac:20: -1- AM_MISSING_PROG([MAKEINFO], [makeinfo])
5268 m4trace:configure.ac:20: -1- m4_pattern_allow([^MAKEINFO$])
5269 m4trace:configure.ac:20: -1- AM_PROG_INSTALL_SH
5270 m4trace:configure.ac:20: -1- m4_pattern_allow([^install_sh$])
5271 m4trace:configure.ac:20: -1- AM_PROG_INSTALL_STRIP
5272 m4trace:configure.ac:20: -1- m4_pattern_allow([^STRIP$])
5273 m4trace:configure.ac:20: -1- m4_pattern_allow([^INSTALL_STRIP_PROGRAM$])
5274 m4trace:configure.ac:20: -1- AM_PROG_MKDIR_P
5275 m4trace:configure.ac:20: -1- m4_pattern_allow([^MKDIR_P$])
5276 m4trace:configure.ac:20: -1- m4_pattern_allow([^mkdir_p$])
5277 m4trace:configure.ac:20: -1- m4_pattern_allow([^AWK$])
5278 m4trace:configure.ac:20: -1- m4_pattern_allow([^SET_MAKE$])
5279 m4trace:configure.ac:20: -1- AM_SET_LEADING_DOT
5280 m4trace:configure.ac:20: -1- m4_pattern_allow([^am__leading_dot$])
5281 m4trace:configure.ac:20: -1- _AM_IF_OPTION([tar-ustar], [_AM_PROG_TAR([ustar])], [_AM_IF_OPTION([tar-pax], [_AM_PROG_TAR([pax])],
5282 [_AM_PROG_TAR([v7])])])
5283 m4trace:configure.ac:20: -2- _AM_MANGLE_OPTION([tar-ustar])
5284 m4trace:configure.ac:20: -1- _AM_IF_OPTION([tar-pax], [_AM_PROG_TAR([pax])], [_AM_PROG_TAR([v7])])
5285 m4trace:configure.ac:20: -2- _AM_MANGLE_OPTION([tar-pax])
5286 m4trace:configure.ac:20: -1- _AM_PROG_TAR([v7])
5287 m4trace:configure.ac:20: -1- AM_MISSING_PROG([AMTAR], [tar])
5288 m4trace:configure.ac:20: -1- m4_pattern_allow([^AMTAR$])
5289 m4trace:configure.ac:20: -1- m4_pattern_allow([^am__tar$])
5290 m4trace:configure.ac:20: -1- m4_pattern_allow([^am__untar$])
5291 m4trace:configure.ac:20: -1- _AM_IF_OPTION([no-dependencies], [], [AC_PROVIDE_IFELSE([AC_PROG_CC],
5292 [_AM_DEPENDENCIES(CC)],
5293 [define([AC_PROG_CC],
5294 defn([AC_PROG_CC])[_AM_DEPENDENCIES(CC)])])dnl
5295 AC_PROVIDE_IFELSE([AC_PROG_CXX],
5296 [_AM_DEPENDENCIES(CXX)],
5297 [define([AC_PROG_CXX],
5298 defn([AC_PROG_CXX])[_AM_DEPENDENCIES(CXX)])])dnl
5299 AC_PROVIDE_IFELSE([AC_PROG_OBJC],
5300 [_AM_DEPENDENCIES(OBJC)],
5301 [define([AC_PROG_OBJC],
5302 defn([AC_PROG_OBJC])[_AM_DEPENDENCIES(OBJC)])])dnl
5304 m4trace:configure.ac:20: -2- _AM_MANGLE_OPTION([no-dependencies])
5305 m4trace:configure.ac:20: -1- _AM_IF_OPTION([silent-rules], [AC_REQUIRE([AM_SILENT_RULES])])
5306 m4trace:configure.ac:20: -2- _AM_MANGLE_OPTION([silent-rules])
5307 m4trace:configure.ac:54: -1- m4_pattern_allow([^LIBGPHOTO2_AGE$])
5308 m4trace:configure.ac:55: -1- m4_pattern_allow([^LIBGPHOTO2_REVISION$])
5309 m4trace:configure.ac:56: -1- m4_pattern_allow([^LIBGPHOTO2_CURRENT$])
5310 m4trace:configure.ac:57: -1- m4_pattern_allow([^LIBGPHOTO2_CURRENT_MIN$])
5311 m4trace:configure.ac:59: -1- m4_pattern_allow([^LIBGPHOTO2_VERSION_INFO$])
5312 m4trace:configure.ac:79: -1- m4_pattern_allow([^CC$])
5313 m4trace:configure.ac:79: -1- m4_pattern_allow([^CFLAGS$])
5314 m4trace:configure.ac:79: -1- m4_pattern_allow([^LDFLAGS$])
5315 m4trace:configure.ac:79: -1- m4_pattern_allow([^LIBS$])
5316 m4trace:configure.ac:79: -1- m4_pattern_allow([^CPPFLAGS$])
5317 m4trace:configure.ac:79: -1- m4_pattern_allow([^CC$])
5318 m4trace:configure.ac:79: -1- m4_pattern_allow([^CC$])
5319 m4trace:configure.ac:79: -1- m4_pattern_allow([^CC$])
5320 m4trace:configure.ac:79: -1- m4_pattern_allow([^CC$])
5321 m4trace:configure.ac:79: -1- m4_pattern_allow([^ac_ct_CC$])
5322 m4trace:configure.ac:79: -1- m4_pattern_allow([^EXEEXT$])
5323 m4trace:configure.ac:79: -1- m4_pattern_allow([^OBJEXT$])
5324 m4trace:configure.ac:79: -1- _AM_DEPENDENCIES([CC])
5325 m4trace:configure.ac:79: -1- AM_SET_DEPDIR
5326 m4trace:configure.ac:79: -1- m4_pattern_allow([^DEPDIR$])
5327 m4trace:configure.ac:79: -1- AM_OUTPUT_DEPENDENCY_COMMANDS
5328 m4trace:configure.ac:79: -1- AM_MAKE_INCLUDE
5329 m4trace:configure.ac:79: -1- m4_pattern_allow([^am__include$])
5330 m4trace:configure.ac:79: -1- m4_pattern_allow([^am__quote$])
5331 m4trace:configure.ac:79: -1- AM_DEP_TRACK
5332 m4trace:configure.ac:79: -1- AM_CONDITIONAL([AMDEP], [test "x$enable_dependency_tracking" != xno])
5333 m4trace:configure.ac:79: -1- m4_pattern_allow([^AMDEP_TRUE$])
5334 m4trace:configure.ac:79: -1- m4_pattern_allow([^AMDEP_FALSE$])
5335 m4trace:configure.ac:79: -1- _AM_SUBST_NOTMAKE([AMDEP_TRUE])
5336 m4trace:configure.ac:79: -1- _AM_SUBST_NOTMAKE([AMDEP_FALSE])
5337 m4trace:configure.ac:79: -1- m4_pattern_allow([^AMDEPBACKSLASH$])
5338 m4trace:configure.ac:79: -1- _AM_SUBST_NOTMAKE([AMDEPBACKSLASH])
5339 m4trace:configure.ac:79: -1- m4_pattern_allow([^CCDEPMODE$])
5340 m4trace:configure.ac:79: -1- AM_CONDITIONAL([am__fastdepCC], [
5341 test "x$enable_dependency_tracking" != xno \
5342 && test "$am_cv_CC_dependencies_compiler_type" = gcc3])
5343 m4trace:configure.ac:79: -1- m4_pattern_allow([^am__fastdepCC_TRUE$])
5344 m4trace:configure.ac:79: -1- m4_pattern_allow([^am__fastdepCC_FALSE$])
5345 m4trace:configure.ac:79: -1- _AM_SUBST_NOTMAKE([am__fastdepCC_TRUE])
5346 m4trace:configure.ac:79: -1- _AM_SUBST_NOTMAKE([am__fastdepCC_FALSE])
5347 m4trace:configure.ac:80: -1- m4_pattern_allow([^CPP$])
5348 m4trace:configure.ac:80: -1- m4_pattern_allow([^CPPFLAGS$])
5349 m4trace:configure.ac:80: -1- m4_pattern_allow([^CPP$])
5350 m4trace:configure.ac:81: -1- m4_pattern_allow([^CXX$])
5351 m4trace:configure.ac:81: -1- m4_pattern_allow([^CXXFLAGS$])
5352 m4trace:configure.ac:81: -1- m4_pattern_allow([^LDFLAGS$])
5353 m4trace:configure.ac:81: -1- m4_pattern_allow([^LIBS$])
5354 m4trace:configure.ac:81: -1- m4_pattern_allow([^CPPFLAGS$])
5355 m4trace:configure.ac:81: -1- m4_pattern_allow([^CXX$])
5356 m4trace:configure.ac:81: -1- m4_pattern_allow([^ac_ct_CXX$])
5357 m4trace:configure.ac:81: -1- _AM_DEPENDENCIES([CXX])
5358 m4trace:configure.ac:81: -1- m4_pattern_allow([^CXXDEPMODE$])
5359 m4trace:configure.ac:81: -1- AM_CONDITIONAL([am__fastdepCXX], [
5360 test "x$enable_dependency_tracking" != xno \
5361 && test "$am_cv_CXX_dependencies_compiler_type" = gcc3])
5362 m4trace:configure.ac:81: -1- m4_pattern_allow([^am__fastdepCXX_TRUE$])
5363 m4trace:configure.ac:81: -1- m4_pattern_allow([^am__fastdepCXX_FALSE$])
5364 m4trace:configure.ac:81: -1- _AM_SUBST_NOTMAKE([am__fastdepCXX_TRUE])
5365 m4trace:configure.ac:81: -1- _AM_SUBST_NOTMAKE([am__fastdepCXX_FALSE])
5366 m4trace:configure.ac:83: -1- AM_PROG_CC_C_O
5367 m4trace:configure.ac:83: -1- m4_pattern_allow([^NO_MINUS_C_MINUS_O$])
5368 m4trace:configure.ac:111: -1- m4_pattern_allow([^NO_UNUSED_CFLAGS$])
5369 m4trace:configure.ac:113: -1- AM_CONDITIONAL([HAVE_GCC], [test "x$GCC" = "xyes"])
5370 m4trace:configure.ac:113: -1- m4_pattern_allow([^HAVE_GCC_TRUE$])
5371 m4trace:configure.ac:113: -1- m4_pattern_allow([^HAVE_GCC_FALSE$])
5372 m4trace:configure.ac:113: -1- _AM_SUBST_NOTMAKE([HAVE_GCC_TRUE])
5373 m4trace:configure.ac:113: -1- _AM_SUBST_NOTMAKE([HAVE_GCC_FALSE])
5374 m4trace:configure.ac:122: -1- m4_pattern_allow([^AM_CPPFLAGS$])
5375 m4trace:configure.ac:124: -1- m4_pattern_allow([^AM_CFLAGS$])
5376 m4trace:configure.ac:126: -1- m4_pattern_allow([^AM_CXXFLAGS$])
5377 m4trace:configure.ac:128: -1- m4_pattern_allow([^AM_LDFLAGS$])
5378 m4trace:configure.ac:153: -1- m4_pattern_allow([^FLEX$])
5379 m4trace:configure.ac:154: -1- m4_pattern_allow([^FLEX$])
5380 m4trace:configure.ac:155: -1- m4_pattern_allow([^BISON$])
5381 m4trace:configure.ac:156: -1- m4_pattern_allow([^BISON$])
5382 m4trace:configure.ac:176: -1- AM_CONDITIONAL([ENABLED_GP2DDB], ["$try_gp2ddb" && test -x "$FLEX" && test -x "$BISON"])
5383 m4trace:configure.ac:176: -1- m4_pattern_allow([^ENABLED_GP2DDB_TRUE$])
5384 m4trace:configure.ac:176: -1- m4_pattern_allow([^ENABLED_GP2DDB_FALSE$])
5385 m4trace:configure.ac:176: -1- _AM_SUBST_NOTMAKE([ENABLED_GP2DDB_TRUE])
5386 m4trace:configure.ac:176: -1- _AM_SUBST_NOTMAKE([ENABLED_GP2DDB_FALSE])
5387 m4trace:configure.ac:180: -1- m4_pattern_allow([^ENABLED_GP2DDB$])
5388 m4trace:configure.ac:195: -1- AC_DISABLE_STATIC
5389 m4trace:configure.ac:196: -1- AC_LIBTOOL_WIN32_DLL
5390 m4trace:configure.ac:196: -1- _m4_warn([obsolete], [The macro `AC_LIBTOOL_WIN32_DLL' is obsolete.
5391 You should run autoupdate.], [/usr/share/aclocal/ltoptions.m4:145: AC_LIBTOOL_WIN32_DLL is expanded from...
5392 configure.ac:196: the top level])
5393 m4trace:configure.ac:196: -1- m4_pattern_allow([^build$])
5394 m4trace:configure.ac:196: -1- m4_pattern_allow([^build_cpu$])
5395 m4trace:configure.ac:196: -1- m4_pattern_allow([^build_vendor$])
5396 m4trace:configure.ac:196: -1- m4_pattern_allow([^build_os$])
5397 m4trace:configure.ac:196: -1- m4_pattern_allow([^host$])
5398 m4trace:configure.ac:196: -1- m4_pattern_allow([^host_cpu$])
5399 m4trace:configure.ac:196: -1- m4_pattern_allow([^host_vendor$])
5400 m4trace:configure.ac:196: -1- m4_pattern_allow([^host_os$])
5401 m4trace:configure.ac:196: -1- m4_pattern_allow([^AS$])
5402 m4trace:configure.ac:196: -1- m4_pattern_allow([^DLLTOOL$])
5403 m4trace:configure.ac:196: -1- m4_pattern_allow([^OBJDUMP$])
5404 m4trace:configure.ac:196: -1- _m4_warn([obsolete], [AC_LIBTOOL_WIN32_DLL: Remove this warning and the call to _LT_SET_OPTION when you
5405 put the `win32-dll' option into LT_INIT's first parameter.], [/usr/share/aclocal/ltoptions.m4:145: AC_LIBTOOL_WIN32_DLL is expanded from...
5406 configure.ac:196: the top level])
5407 m4trace:configure.ac:197: -1- AC_LIBTOOL_DLOPEN
5408 m4trace:configure.ac:197: -1- _m4_warn([obsolete], [The macro `AC_LIBTOOL_DLOPEN' is obsolete.
5409 You should run autoupdate.], [/usr/share/aclocal/ltoptions.m4:110: AC_LIBTOOL_DLOPEN is expanded from...
5410 configure.ac:197: the top level])
5411 m4trace:configure.ac:197: -1- _m4_warn([obsolete], [AC_LIBTOOL_DLOPEN: Remove this warning and the call to _LT_SET_OPTION when you
5412 put the `dlopen' option into LT_INIT's first parameter.], [/usr/share/aclocal/ltoptions.m4:110: AC_LIBTOOL_DLOPEN is expanded from...
5413 configure.ac:197: the top level])
5414 m4trace:configure.ac:198: -1- AC_PROG_LIBTOOL
5415 m4trace:configure.ac:198: -1- _m4_warn([obsolete], [The macro `AC_PROG_LIBTOOL' is obsolete.
5416 You should run autoupdate.], [/usr/share/aclocal/libtool.m4:102: AC_PROG_LIBTOOL is expanded from...
5417 configure.ac:198: the top level])
5418 m4trace:configure.ac:198: -1- LT_INIT
5419 m4trace:configure.ac:198: -1- m4_pattern_forbid([^_?LT_[A-Z_]+$])
5420 m4trace:configure.ac:198: -1- m4_pattern_allow([^(_LT_EOF|LT_DLGLOBAL|LT_DLLAZY_OR_NOW|LT_MULTI_MODULE)$])
5421 m4trace:configure.ac:198: -1- LTOPTIONS_VERSION
5422 m4trace:configure.ac:198: -1- LTSUGAR_VERSION
5423 m4trace:configure.ac:198: -1- LTVERSION_VERSION
5424 m4trace:configure.ac:198: -1- LTOBSOLETE_VERSION
5425 m4trace:configure.ac:198: -1- _LT_PROG_LTMAIN
5426 m4trace:configure.ac:198: -1- m4_pattern_allow([^LIBTOOL$])
5427 m4trace:configure.ac:198: -1- LT_PATH_LD
5428 m4trace:configure.ac:198: -1- m4_pattern_allow([^SED$])
5429 m4trace:configure.ac:198: -1- AC_PROG_EGREP
5430 m4trace:configure.ac:198: -1- m4_pattern_allow([^GREP$])
5431 m4trace:configure.ac:198: -1- m4_pattern_allow([^EGREP$])
5432 m4trace:configure.ac:198: -1- m4_pattern_allow([^FGREP$])
5433 m4trace:configure.ac:198: -1- m4_pattern_allow([^GREP$])
5434 m4trace:configure.ac:198: -1- m4_pattern_allow([^LD$])
5435 m4trace:configure.ac:198: -1- LT_PATH_NM
5436 m4trace:configure.ac:198: -1- m4_pattern_allow([^DUMPBIN$])
5437 m4trace:configure.ac:198: -1- m4_pattern_allow([^ac_ct_DUMPBIN$])
5438 m4trace:configure.ac:198: -1- m4_pattern_allow([^DUMPBIN$])
5439 m4trace:configure.ac:198: -1- m4_pattern_allow([^NM$])
5440 m4trace:configure.ac:198: -1- m4_pattern_allow([^LN_S$])
5441 m4trace:configure.ac:198: -1- LT_CMD_MAX_LEN
5442 m4trace:configure.ac:198: -1- m4_pattern_allow([^OBJDUMP$])
5443 m4trace:configure.ac:198: -1- m4_pattern_allow([^OBJDUMP$])
5444 m4trace:configure.ac:198: -1- m4_pattern_allow([^AR$])
5445 m4trace:configure.ac:198: -1- m4_pattern_allow([^STRIP$])
5446 m4trace:configure.ac:198: -1- m4_pattern_allow([^RANLIB$])
5447 m4trace:configure.ac:198: -1- m4_pattern_allow([LT_OBJDIR])
5448 m4trace:configure.ac:198: -1- m4_pattern_allow([^LT_OBJDIR$])
5449 m4trace:configure.ac:198: -1- m4_pattern_allow([^lt_ECHO$])
5450 m4trace:configure.ac:198: -1- _LT_CC_BASENAME([$compiler])
5451 m4trace:configure.ac:198: -1- _LT_PATH_TOOL_PREFIX([${ac_tool_prefix}file], [/usr/bin$PATH_SEPARATOR$PATH])
5452 m4trace:configure.ac:198: -1- _LT_PATH_TOOL_PREFIX([file], [/usr/bin$PATH_SEPARATOR$PATH])
5453 m4trace:configure.ac:198: -1- LT_SUPPORTED_TAG([CC])
5454 m4trace:configure.ac:198: -1- _LT_COMPILER_BOILERPLATE
5455 m4trace:configure.ac:198: -1- _LT_LINKER_BOILERPLATE
5456 m4trace:configure.ac:198: -1- _LT_COMPILER_OPTION([if $compiler supports -fno-rtti -fno-exceptions], [lt_cv_prog_compiler_rtti_exceptions], [-fno-rtti -fno-exceptions], [], [_LT_TAGVAR(lt_prog_compiler_no_builtin_flag, )="$_LT_TAGVAR(lt_prog_compiler_no_builtin_flag, ) -fno-rtti -fno-exceptions"])
5457 m4trace:configure.ac:198: -1- _LT_COMPILER_OPTION([if $compiler PIC flag $_LT_TAGVAR(lt_prog_compiler_pic, ) works], [_LT_TAGVAR(lt_cv_prog_compiler_pic_works, )], [$_LT_TAGVAR(lt_prog_compiler_pic, )@&t@m4_if([],[],[ -DPIC],[m4_if([],[CXX],[ -DPIC],[])])], [], [case $_LT_TAGVAR(lt_prog_compiler_pic, ) in
5459 *) _LT_TAGVAR(lt_prog_compiler_pic, )=" $_LT_TAGVAR(lt_prog_compiler_pic, )" ;;
5460 esac], [_LT_TAGVAR(lt_prog_compiler_pic, )=
5461 _LT_TAGVAR(lt_prog_compiler_can_build_shared, )=no])
5462 m4trace:configure.ac:198: -1- _LT_LINKER_OPTION([if $compiler static flag $lt_tmp_static_flag works], [lt_cv_prog_compiler_static_works], [$lt_tmp_static_flag], [], [_LT_TAGVAR(lt_prog_compiler_static, )=])
5463 m4trace:configure.ac:198: -1- m4_pattern_allow([^DSYMUTIL$])
5464 m4trace:configure.ac:198: -1- m4_pattern_allow([^NMEDIT$])
5465 m4trace:configure.ac:198: -1- m4_pattern_allow([^LIPO$])
5466 m4trace:configure.ac:198: -1- m4_pattern_allow([^OTOOL$])
5467 m4trace:configure.ac:198: -1- m4_pattern_allow([^OTOOL64$])
5468 m4trace:configure.ac:198: -1- LT_SYS_DLOPEN_SELF
5469 m4trace:configure.ac:198: -1- m4_pattern_allow([^STDC_HEADERS$])
5470 m4trace:configure.ac:198: -1- m4_pattern_allow([^HAVE_DLFCN_H$])
5471 m4trace:configure.ac:198: -1- LT_LANG([CXX])
5472 m4trace:configure.ac:198: -1- LT_SUPPORTED_TAG([CXX])
5473 m4trace:configure.ac:198: -1- m4_pattern_allow([^CXX$])
5474 m4trace:configure.ac:198: -1- m4_pattern_allow([^CXXFLAGS$])
5475 m4trace:configure.ac:198: -1- m4_pattern_allow([^LDFLAGS$])
5476 m4trace:configure.ac:198: -1- m4_pattern_allow([^LIBS$])
5477 m4trace:configure.ac:198: -1- m4_pattern_allow([^CPPFLAGS$])
5478 m4trace:configure.ac:198: -1- m4_pattern_allow([^CXX$])
5479 m4trace:configure.ac:198: -1- m4_pattern_allow([^ac_ct_CXX$])
5480 m4trace:configure.ac:198: -1- _AM_DEPENDENCIES([CXX])
5481 m4trace:configure.ac:198: -1- m4_pattern_allow([^CXXDEPMODE$])
5482 m4trace:configure.ac:198: -1- AM_CONDITIONAL([am__fastdepCXX], [
5483 test "x$enable_dependency_tracking" != xno \
5484 && test "$am_cv_CXX_dependencies_compiler_type" = gcc3])
5485 m4trace:configure.ac:198: -1- m4_pattern_allow([^am__fastdepCXX_TRUE$])
5486 m4trace:configure.ac:198: -1- m4_pattern_allow([^am__fastdepCXX_FALSE$])
5487 m4trace:configure.ac:198: -1- _AM_SUBST_NOTMAKE([am__fastdepCXX_TRUE])
5488 m4trace:configure.ac:198: -1- _AM_SUBST_NOTMAKE([am__fastdepCXX_FALSE])
5489 m4trace:configure.ac:198: -1- m4_pattern_allow([^CXXCPP$])
5490 m4trace:configure.ac:198: -1- m4_pattern_allow([^CPPFLAGS$])
5491 m4trace:configure.ac:198: -1- m4_pattern_allow([^CXXCPP$])
5492 m4trace:configure.ac:198: -1- _LT_COMPILER_BOILERPLATE
5493 m4trace:configure.ac:198: -1- _LT_LINKER_BOILERPLATE
5494 m4trace:configure.ac:198: -1- _LT_CC_BASENAME([$compiler])
5495 m4trace:configure.ac:198: -1- LT_PATH_LD
5496 m4trace:configure.ac:198: -1- m4_pattern_allow([^LD$])
5497 m4trace:configure.ac:198: -1- _LT_COMPILER_OPTION([if $compiler PIC flag $_LT_TAGVAR(lt_prog_compiler_pic, CXX) works], [_LT_TAGVAR(lt_cv_prog_compiler_pic_works, CXX)], [$_LT_TAGVAR(lt_prog_compiler_pic, CXX)@&t@m4_if([CXX],[],[ -DPIC],[m4_if([CXX],[CXX],[ -DPIC],[])])], [], [case $_LT_TAGVAR(lt_prog_compiler_pic, CXX) in
5499 *) _LT_TAGVAR(lt_prog_compiler_pic, CXX)=" $_LT_TAGVAR(lt_prog_compiler_pic, CXX)" ;;
5500 esac], [_LT_TAGVAR(lt_prog_compiler_pic, CXX)=
5501 _LT_TAGVAR(lt_prog_compiler_can_build_shared, CXX)=no])
5502 m4trace:configure.ac:198: -1- _LT_LINKER_OPTION([if $compiler static flag $lt_tmp_static_flag works], [lt_cv_prog_compiler_static_works_CXX], [$lt_tmp_static_flag], [], [_LT_TAGVAR(lt_prog_compiler_static, CXX)=])
5503 m4trace:configure.ac:212: -1- m4_pattern_allow([^HAVE_CC$])
5504 m4trace:configure.ac:231: -1- AM_GNU_GETTEXT_VERSION([0.14.1])
5505 m4trace:configure.ac:232: -1- AM_GNU_GETTEXT([external])
5506 m4trace:configure.ac:232: -1- AM_GNU_GETTEXT_NEED([])
5507 m4trace:configure.ac:232: -1- AM_PO_SUBDIRS
5508 m4trace:configure.ac:232: -1- AM_NLS
5509 m4trace:configure.ac:232: -1- m4_pattern_allow([^USE_NLS$])
5510 m4trace:configure.ac:232: -1- m4_pattern_allow([^GETTEXT_MACRO_VERSION$])
5511 m4trace:configure.ac:232: -1- AM_PATH_PROG_WITH_TEST([MSGFMT], [msgfmt], [$ac_dir/$ac_word --statistics /dev/null >&5 2>&1 &&
5512 (if $ac_dir/$ac_word --statistics /dev/null 2>&1 >/dev/null | grep usage >/dev/null; then exit 1; else exit 0; fi)], [:])
5513 m4trace:configure.ac:232: -1- m4_pattern_allow([^MSGFMT$])
5514 m4trace:configure.ac:232: -1- m4_pattern_allow([^GMSGFMT$])
5515 m4trace:configure.ac:232: -1- m4_pattern_allow([^MSGFMT_015$])
5516 m4trace:configure.ac:232: -1- m4_pattern_allow([^GMSGFMT_015$])
5517 m4trace:configure.ac:232: -1- AM_PATH_PROG_WITH_TEST([XGETTEXT], [xgettext], [$ac_dir/$ac_word --omit-header --copyright-holder= --msgid-bugs-address= /dev/null >&5 2>&1 &&
5518 (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)], [:])
5519 m4trace:configure.ac:232: -1- m4_pattern_allow([^XGETTEXT$])
5520 m4trace:configure.ac:232: -1- m4_pattern_allow([^XGETTEXT_015$])
5521 m4trace:configure.ac:232: -1- AM_PATH_PROG_WITH_TEST([MSGMERGE], [msgmerge], [$ac_dir/$ac_word --update -q /dev/null /dev/null >&5 2>&1], [:])
5522 m4trace:configure.ac:232: -1- m4_pattern_allow([^MSGMERGE$])
5523 m4trace:configure.ac:232: -1- m4_pattern_allow([^localedir$])
5524 m4trace:configure.ac:232: -1- m4_pattern_allow([^XGETTEXT_EXTRA_OPTIONS$])
5525 m4trace:configure.ac:232: -1- AC_LIB_PREPARE_PREFIX
5526 m4trace:configure.ac:232: -1- AC_LIB_RPATH
5527 m4trace:configure.ac:232: -1- AC_LIB_PROG_LD
5528 m4trace:configure.ac:232: -1- AC_LIB_PROG_LD_GNU
5529 m4trace:configure.ac:232: -1- AM_ICONV_LINKFLAGS_BODY
5530 m4trace:configure.ac:232: -1- AC_LIB_LINKFLAGS_BODY([iconv])
5531 m4trace:configure.ac:232: -1- AC_LIB_PREPARE_MULTILIB
5532 m4trace:configure.ac:232: -1- AC_LIB_WITH_FINAL_PREFIX([
5533 eval additional_includedir=\"$includedir\"
5534 eval additional_libdir=\"$libdir\"
5536 m4trace:configure.ac:232: -1- AC_LIB_WITH_FINAL_PREFIX([
5537 eval additional_includedir=\"$includedir\"
5538 eval additional_libdir=\"$libdir\"
5540 m4trace:configure.ac:232: -1- AC_LIB_WITH_FINAL_PREFIX([eval x=\"$x\"])
5541 m4trace:configure.ac:232: -1- AC_LIB_WITH_FINAL_PREFIX([eval x=\"$x\"])
5542 m4trace:configure.ac:232: -1- AC_LIB_WITH_FINAL_PREFIX([eval x=\"$x\"])
5543 m4trace:configure.ac:232: -1- AC_LIB_WITH_FINAL_PREFIX([eval x=\"$x\"])
5544 m4trace:configure.ac:232: -1- AC_LIB_WITH_FINAL_PREFIX([eval x=\"$x\"])
5545 m4trace:configure.ac:232: -1- gt_INTL_MACOSX
5546 m4trace:configure.ac:232: -1- _m4_warn([obsolete], [The macro `AC_TRY_LINK' is obsolete.
5547 You should run autoupdate.], [../../lib/autoconf/general.m4:2688: AC_TRY_LINK is expanded from...
5548 ../../lib/m4sugar/m4sh.m4:606: AS_IF is expanded from...
5549 ../../lib/autoconf/general.m4:2032: AC_CACHE_VAL is expanded from...
5550 ../../lib/autoconf/general.m4:2053: AC_CACHE_CHECK is expanded from...
5551 /usr/share/aclocal/intlmacosx.m4:18: gt_INTL_MACOSX is expanded from...
5552 /usr/share/aclocal/gettext.m4:57: AM_GNU_GETTEXT is expanded from...
5553 configure.ac:232: the top level])
5554 m4trace:configure.ac:232: -1- m4_pattern_allow([^HAVE_CFPREFERENCESCOPYAPPVALUE$])
5555 m4trace:configure.ac:232: -1- _m4_warn([obsolete], [The macro `AC_TRY_LINK' is obsolete.
5556 You should run autoupdate.], [../../lib/autoconf/general.m4:2688: AC_TRY_LINK is expanded from...
5557 ../../lib/m4sugar/m4sh.m4:606: AS_IF is expanded from...
5558 ../../lib/autoconf/general.m4:2032: AC_CACHE_VAL is expanded from...
5559 ../../lib/autoconf/general.m4:2053: AC_CACHE_CHECK is expanded from...
5560 /usr/share/aclocal/intlmacosx.m4:18: gt_INTL_MACOSX is expanded from...
5561 /usr/share/aclocal/gettext.m4:57: AM_GNU_GETTEXT is expanded from...
5562 configure.ac:232: the top level])
5563 m4trace:configure.ac:232: -1- m4_pattern_allow([^HAVE_CFLOCALECOPYCURRENT$])
5564 m4trace:configure.ac:232: -1- m4_pattern_allow([^INTL_MACOSX_LIBS$])
5565 m4trace:configure.ac:232: -1- _m4_warn([obsolete], [The macro `AC_TRY_LINK' is obsolete.
5566 You should run autoupdate.], [../../lib/autoconf/general.m4:2688: AC_TRY_LINK is expanded from...
5567 ../../lib/m4sugar/m4sh.m4:606: AS_IF is expanded from...
5568 ../../lib/autoconf/general.m4:2032: AC_CACHE_VAL is expanded from...
5569 ../../lib/autoconf/general.m4:2053: AC_CACHE_CHECK is expanded from...
5570 /usr/share/aclocal/gettext.m4:57: AM_GNU_GETTEXT is expanded from...
5571 configure.ac:232: the top level])
5572 m4trace:configure.ac:232: -1- AM_ICONV_LINK
5573 m4trace:configure.ac:232: -1- AC_LIB_APPENDTOVAR([CPPFLAGS], [$INCICONV])
5574 m4trace:configure.ac:232: -1- AC_LIB_WITH_FINAL_PREFIX([eval x=\"$x\"])
5575 m4trace:configure.ac:232: -1- _m4_warn([obsolete], [The macro `AC_TRY_LINK' is obsolete.
5576 You should run autoupdate.], [../../lib/autoconf/general.m4:2688: AC_TRY_LINK is expanded from...
5577 ../../lib/m4sugar/m4sh.m4:606: AS_IF is expanded from...
5578 ../../lib/autoconf/general.m4:2032: AC_CACHE_VAL is expanded from...
5579 ../../lib/autoconf/general.m4:2053: AC_CACHE_CHECK is expanded from...
5580 /usr/share/aclocal/iconv.m4:20: AM_ICONV_LINK is expanded from...
5581 /usr/share/aclocal/gettext.m4:57: AM_GNU_GETTEXT is expanded from...
5582 configure.ac:232: the top level])
5583 m4trace:configure.ac:232: -1- _m4_warn([obsolete], [The macro `AC_TRY_LINK' is obsolete.
5584 You should run autoupdate.], [../../lib/autoconf/general.m4:2688: AC_TRY_LINK is expanded from...
5585 ../../lib/m4sugar/m4sh.m4:606: AS_IF is expanded from...
5586 ../../lib/autoconf/general.m4:2032: AC_CACHE_VAL is expanded from...
5587 ../../lib/autoconf/general.m4:2053: AC_CACHE_CHECK is expanded from...
5588 /usr/share/aclocal/iconv.m4:20: AM_ICONV_LINK is expanded from...
5589 /usr/share/aclocal/gettext.m4:57: AM_GNU_GETTEXT is expanded from...
5590 configure.ac:232: the top level])
5591 m4trace:configure.ac:232: -1- _m4_warn([obsolete], [The macro `AC_TRY_RUN' is obsolete.
5592 You should run autoupdate.], [../../lib/autoconf/general.m4:2765: AC_TRY_RUN is expanded from...
5593 ../../lib/m4sugar/m4sh.m4:606: AS_IF is expanded from...
5594 ../../lib/autoconf/general.m4:2032: AC_CACHE_VAL is expanded from...
5595 ../../lib/autoconf/general.m4:2053: AC_CACHE_CHECK is expanded from...
5596 /usr/share/aclocal/iconv.m4:20: AM_ICONV_LINK is expanded from...
5597 /usr/share/aclocal/gettext.m4:57: AM_GNU_GETTEXT is expanded from...
5598 configure.ac:232: the top level])
5599 m4trace:configure.ac:232: -1- m4_pattern_allow([^HAVE_ICONV$])
5600 m4trace:configure.ac:232: -1- m4_pattern_allow([^LIBICONV$])
5601 m4trace:configure.ac:232: -1- m4_pattern_allow([^LTLIBICONV$])
5602 m4trace:configure.ac:232: -1- AC_LIB_LINKFLAGS_BODY([intl])
5603 m4trace:configure.ac:232: -1- AC_LIB_WITH_FINAL_PREFIX([
5604 eval additional_includedir=\"$includedir\"
5605 eval additional_libdir=\"$libdir\"
5607 m4trace:configure.ac:232: -1- AC_LIB_WITH_FINAL_PREFIX([
5608 eval additional_includedir=\"$includedir\"
5609 eval additional_libdir=\"$libdir\"
5611 m4trace:configure.ac:232: -1- AC_LIB_WITH_FINAL_PREFIX([eval x=\"$x\"])
5612 m4trace:configure.ac:232: -1- AC_LIB_WITH_FINAL_PREFIX([eval x=\"$x\"])
5613 m4trace:configure.ac:232: -1- AC_LIB_WITH_FINAL_PREFIX([eval x=\"$x\"])
5614 m4trace:configure.ac:232: -1- AC_LIB_WITH_FINAL_PREFIX([eval x=\"$x\"])
5615 m4trace:configure.ac:232: -1- AC_LIB_WITH_FINAL_PREFIX([eval x=\"$x\"])
5616 m4trace:configure.ac:232: -1- _m4_warn([obsolete], [The macro `AC_TRY_LINK' is obsolete.
5617 You should run autoupdate.], [../../lib/autoconf/general.m4:2688: AC_TRY_LINK is expanded from...
5618 ../../lib/m4sugar/m4sh.m4:606: AS_IF is expanded from...
5619 ../../lib/autoconf/general.m4:2032: AC_CACHE_VAL is expanded from...
5620 ../../lib/autoconf/general.m4:2053: AC_CACHE_CHECK is expanded from...
5621 /usr/share/aclocal/gettext.m4:57: AM_GNU_GETTEXT is expanded from...
5622 configure.ac:232: the top level])
5623 m4trace:configure.ac:232: -1- _m4_warn([obsolete], [The macro `AC_TRY_LINK' is obsolete.
5624 You should run autoupdate.], [../../lib/autoconf/general.m4:2688: AC_TRY_LINK is expanded from...
5625 ../../lib/m4sugar/m4sh.m4:606: AS_IF is expanded from...
5626 ../../lib/autoconf/general.m4:2032: AC_CACHE_VAL is expanded from...
5627 ../../lib/autoconf/general.m4:2053: AC_CACHE_CHECK is expanded from...
5628 /usr/share/aclocal/gettext.m4:57: AM_GNU_GETTEXT is expanded from...
5629 configure.ac:232: the top level])
5630 m4trace:configure.ac:232: -1- m4_pattern_allow([^ENABLE_NLS$])
5631 m4trace:configure.ac:232: -1- AC_LIB_APPENDTOVAR([CPPFLAGS], [$INCINTL])
5632 m4trace:configure.ac:232: -1- AC_LIB_WITH_FINAL_PREFIX([eval x=\"$x\"])
5633 m4trace:configure.ac:232: -1- m4_pattern_allow([^HAVE_GETTEXT$])
5634 m4trace:configure.ac:232: -1- m4_pattern_allow([^HAVE_DCGETTEXT$])
5635 m4trace:configure.ac:232: -1- m4_pattern_allow([^INTLLIBS$])
5636 m4trace:configure.ac:232: -1- m4_pattern_allow([^LIBINTL$])
5637 m4trace:configure.ac:232: -1- m4_pattern_allow([^LTLIBINTL$])
5638 m4trace:configure.ac:232: -1- m4_pattern_allow([^POSUB$])
5639 m4trace:configure.ac:233: -1- AM_PO_SUBDIRS([])
5640 m4trace:configure.ac:233: -1- m4_pattern_allow([^GETTEXT_MACRO_VERSION$])
5641 m4trace:configure.ac:233: -1- AM_PATH_PROG_WITH_TEST([MSGFMT], [msgfmt], [$ac_dir/$ac_word --statistics /dev/null >&5 2>&1 &&
5642 (if $ac_dir/$ac_word --statistics /dev/null 2>&1 >/dev/null | grep usage >/dev/null; then exit 1; else exit 0; fi)], [:])
5643 m4trace:configure.ac:233: -1- m4_pattern_allow([^MSGFMT$])
5644 m4trace:configure.ac:233: -1- m4_pattern_allow([^GMSGFMT$])
5645 m4trace:configure.ac:233: -1- m4_pattern_allow([^MSGFMT_015$])
5646 m4trace:configure.ac:233: -1- m4_pattern_allow([^GMSGFMT_015$])
5647 m4trace:configure.ac:233: -1- AM_PATH_PROG_WITH_TEST([XGETTEXT], [xgettext], [$ac_dir/$ac_word --omit-header --copyright-holder= --msgid-bugs-address= /dev/null >&5 2>&1 &&
5648 (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)], [:])
5649 m4trace:configure.ac:233: -1- m4_pattern_allow([^XGETTEXT$])
5650 m4trace:configure.ac:233: -1- m4_pattern_allow([^XGETTEXT_015$])
5651 m4trace:configure.ac:233: -1- AM_PATH_PROG_WITH_TEST([MSGMERGE], [msgmerge], [$ac_dir/$ac_word --update -q /dev/null /dev/null >&5 2>&1], [:])
5652 m4trace:configure.ac:233: -1- m4_pattern_allow([^MSGMERGE$])
5653 m4trace:configure.ac:233: -1- m4_pattern_allow([^localedir$])
5654 m4trace:configure.ac:233: -1- m4_pattern_allow([^XGETTEXT_EXTRA_OPTIONS$])