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/intdiv0.m4:9: -1- AC_DEFUN([gt_INTDIV0], [
79 AC_REQUIRE([AC_PROG_CC])dnl
80 AC_REQUIRE([AC_CANONICAL_HOST])dnl
82 AC_CACHE_CHECK([whether integer division by zero raises SIGFPE],
83 gt_cv_int_divbyzero_sigfpe,
85 gt_cv_int_divbyzero_sigfpe=
88 macos* | darwin[6-9]* | darwin[1-9][0-9]*)
89 # On MacOS X 10.2 or newer, just assume the same as when cross-
90 # compiling. If we were to perform the real test, 1 Crash Report
91 # dialog window would pop up.
94 gt_cv_int_divbyzero_sigfpe="guessing yes" ;;
99 if test -z "$gt_cv_int_divbyzero_sigfpe"; then
105 sigfpe_handler (int sig)
107 /* Exit with code 0 if SIGFPE, with code 1 if any other signal. */
108 exit (sig != SIGFPE);
118 signal (SIGFPE, sigfpe_handler);
119 /* IRIX and AIX (when "xlc -qcheck" is used) yield signal SIGTRAP. */
120 #if (defined (__sgi) || defined (_AIX)) && defined (SIGTRAP)
121 signal (SIGTRAP, sigfpe_handler);
123 /* Linux/SPARC yields signal SIGILL. */
124 #if defined (__sparc__) && defined (__linux__)
125 signal (SIGILL, sigfpe_handler);
132 ], [gt_cv_int_divbyzero_sigfpe=yes], [gt_cv_int_divbyzero_sigfpe=no],
134 # Guess based on the CPU.
137 alpha* | i[34567]86 | x86_64 | m68k | s390*)
138 gt_cv_int_divbyzero_sigfpe="guessing yes";;
140 gt_cv_int_divbyzero_sigfpe="guessing no";;
146 case "$gt_cv_int_divbyzero_sigfpe" in
150 AC_DEFINE_UNQUOTED([INTDIV0_RAISES_SIGFPE], [$value],
151 [Define if integer division by zero raises signal SIGFPE.])
153 m4trace:/usr/share/aclocal/intmax.m4:11: -1- AC_DEFUN([gt_TYPE_INTMAX_T], [
154 AC_REQUIRE([gl_AC_HEADER_INTTYPES_H])
155 AC_REQUIRE([gl_AC_HEADER_STDINT_H])
156 AC_CACHE_CHECK([for intmax_t], [gt_cv_c_intmax_t],
160 #if HAVE_STDINT_H_WITH_UINTMAX
163 #if HAVE_INTTYPES_H_WITH_UINTMAX
164 #include <inttypes.h>
168 [gt_cv_c_intmax_t=yes],
169 [gt_cv_c_intmax_t=no])])
170 if test $gt_cv_c_intmax_t = yes; then
171 AC_DEFINE([HAVE_INTMAX_T], [1],
172 [Define if you have the 'intmax_t' type in <stdint.h> or <inttypes.h>.])
175 m4trace:/usr/share/aclocal/inttypes-pri.m4:14: -1- AC_DEFUN([gt_INTTYPES_PRI], [
176 AC_CHECK_HEADERS([inttypes.h])
177 if test $ac_cv_header_inttypes_h = yes; then
178 AC_CACHE_CHECK([whether the inttypes.h PRIxNN macros are broken],
179 [gt_cv_inttypes_pri_broken],
181 AC_TRY_COMPILE([#include <inttypes.h>
185 ], [], [gt_cv_inttypes_pri_broken=no], [gt_cv_inttypes_pri_broken=yes])
188 if test "$gt_cv_inttypes_pri_broken" = yes; then
189 AC_DEFINE_UNQUOTED([PRI_MACROS_BROKEN], [1],
190 [Define if <inttypes.h> exists and defines unusable PRI* macros.])
195 AC_SUBST([PRI_MACROS_BROKEN])
197 m4trace:/usr/share/aclocal/inttypes_h.m4:12: -1- AC_DEFUN([gl_AC_HEADER_INTTYPES_H], [
198 AC_CACHE_CHECK([for inttypes.h], [gl_cv_header_inttypes_h],
200 [#include <sys/types.h>
201 #include <inttypes.h>],
202 [uintmax_t i = (uintmax_t) -1; return !i;],
203 [gl_cv_header_inttypes_h=yes],
204 [gl_cv_header_inttypes_h=no])])
205 if test $gl_cv_header_inttypes_h = yes; then
206 AC_DEFINE_UNQUOTED([HAVE_INTTYPES_H_WITH_UINTMAX], [1],
207 [Define if <inttypes.h> exists, doesn't clash with <sys/types.h>,
208 and declares uintmax_t. ])
211 m4trace:/usr/share/aclocal/ltdl.m4:16: -1- AC_DEFUN([LT_CONFIG_LTDL_DIR], [AC_BEFORE([$0], [LTDL_INIT])
214 m4trace:/usr/share/aclocal/ltdl.m4:68: -1- AC_DEFUN([LTDL_CONVENIENCE], [AC_BEFORE([$0], [LTDL_INIT])dnl
215 dnl Although the argument is deprecated and no longer documented,
216 dnl LTDL_CONVENIENCE used to take a DIRECTORY orgument, if we have one
217 dnl here make sure it is the same as any other declaration of libltdl's
218 dnl location! This also ensures lt_ltdl_dir is set when configure.ac is
219 dnl not yet using an explicit LT_CONFIG_LTDL_DIR.
220 m4_ifval([$1], [_LT_CONFIG_LTDL_DIR([$1])])dnl
223 m4trace:/usr/share/aclocal/ltdl.m4:81: -1- AU_DEFUN([AC_LIBLTDL_CONVENIENCE], [_LT_CONFIG_LTDL_DIR([m4_default([$1], [libltdl])])
225 m4trace:/usr/share/aclocal/ltdl.m4:81: -1- AC_DEFUN([AC_LIBLTDL_CONVENIENCE], [AC_DIAGNOSE([obsolete], [The macro `AC_LIBLTDL_CONVENIENCE' is obsolete.
226 You should run autoupdate.])dnl
227 _LT_CONFIG_LTDL_DIR([m4_default([$1], [libltdl])])
229 m4trace:/usr/share/aclocal/ltdl.m4:124: -1- AC_DEFUN([LTDL_INSTALLABLE], [AC_BEFORE([$0], [LTDL_INIT])dnl
230 dnl Although the argument is deprecated and no longer documented,
231 dnl LTDL_INSTALLABLE used to take a DIRECTORY orgument, if we have one
232 dnl here make sure it is the same as any other declaration of libltdl's
233 dnl location! This also ensures lt_ltdl_dir is set when configure.ac is
234 dnl not yet using an explicit LT_CONFIG_LTDL_DIR.
235 m4_ifval([$1], [_LT_CONFIG_LTDL_DIR([$1])])dnl
238 m4trace:/usr/share/aclocal/ltdl.m4:137: -1- AU_DEFUN([AC_LIBLTDL_INSTALLABLE], [_LT_CONFIG_LTDL_DIR([m4_default([$1], [libltdl])])
240 m4trace:/usr/share/aclocal/ltdl.m4:137: -1- AC_DEFUN([AC_LIBLTDL_INSTALLABLE], [AC_DIAGNOSE([obsolete], [The macro `AC_LIBLTDL_INSTALLABLE' is obsolete.
241 You should run autoupdate.])dnl
242 _LT_CONFIG_LTDL_DIR([m4_default([$1], [libltdl])])
244 m4trace:/usr/share/aclocal/ltdl.m4:213: -1- AC_DEFUN([_LT_LIBOBJ], [
245 m4_pattern_allow([^_LT_LIBOBJS$])
246 _LT_LIBOBJS="$_LT_LIBOBJS $1.$ac_objext"
248 m4trace:/usr/share/aclocal/ltdl.m4:226: -1- AC_DEFUN([LTDL_INIT], [dnl Parse OPTIONS
249 _LT_SET_OPTIONS([$0], [$1])
251 dnl We need to keep our own list of libobjs separate from our parent project,
252 dnl and the easiest way to do that is redefine the AC_LIBOBJs macro while
253 dnl we look for our own LIBOBJs.
254 m4_pushdef([AC_LIBOBJ], m4_defn([_LT_LIBOBJ]))
255 m4_pushdef([AC_LIBSOURCES])
257 dnl If not otherwise defined, default to the 1.5.x compatible subproject mode:
258 m4_if(_LTDL_MODE, [],
259 [m4_define([_LTDL_MODE], m4_default([$2], [subproject]))
260 m4_if([-1], [m4_bregexp(_LTDL_MODE, [\(subproject\|\(non\)?recursive\)])],
261 [m4_fatal([unknown libltdl mode: ]_LTDL_MODE)])])
263 AC_ARG_WITH([included_ltdl],
264 [AS_HELP_STRING([--with-included-ltdl],
265 [use the GNU ltdl sources included here])])
267 if test "x$with_included_ltdl" != xyes; then
268 # We are not being forced to use the included libltdl sources, so
269 # decide whether there is a useful installed version we can use.
270 AC_CHECK_HEADER([ltdl.h],
271 [AC_CHECK_DECL([lt_dlinterface_register],
272 [AC_CHECK_LIB([ltdl], [lt_dladvise_preload],
273 [with_included_ltdl=no],
274 [with_included_ltdl=yes])],
275 [with_included_ltdl=yes],
277 #include <ltdl.h>])],
278 [with_included_ltdl=yes],
279 [AC_INCLUDES_DEFAULT]
283 dnl If neither LT_CONFIG_LTDL_DIR, LTDL_CONVENIENCE nor LTDL_INSTALLABLE
284 dnl was called yet, then for old times' sake, we assume libltdl is in an
285 dnl eponymous directory:
286 AC_PROVIDE_IFELSE([LT_CONFIG_LTDL_DIR], [], [_LT_CONFIG_LTDL_DIR([libltdl])])
288 AC_ARG_WITH([ltdl_include],
289 [AS_HELP_STRING([--with-ltdl-include=DIR],
290 [use the ltdl headers installed in DIR])])
292 if test -n "$with_ltdl_include"; then
293 if test -f "$with_ltdl_include/ltdl.h"; then :
295 AC_MSG_ERROR([invalid ltdl include directory: `$with_ltdl_include'])
301 AC_ARG_WITH([ltdl_lib],
302 [AS_HELP_STRING([--with-ltdl-lib=DIR],
303 [use the libltdl.la installed in DIR])])
305 if test -n "$with_ltdl_lib"; then
306 if test -f "$with_ltdl_lib/libltdl.la"; then :
308 AC_MSG_ERROR([invalid ltdl library directory: `$with_ltdl_lib'])
314 case ,$with_included_ltdl,$with_ltdl_include,$with_ltdl_lib, in
316 m4_case(m4_default(_LTDL_TYPE, [convenience]),
317 [convenience], [_LTDL_CONVENIENCE],
318 [installable], [_LTDL_INSTALLABLE],
319 [m4_fatal([unknown libltdl build type: ]_LTDL_TYPE)])
322 # If the included ltdl is not to be used, then use the
323 # preinstalled libltdl we found.
324 AC_DEFINE([HAVE_LTDL], [1],
325 [Define this if a modern libltdl is already installed])
331 AC_MSG_ERROR([`--with-ltdl-include' and `--with-ltdl-lib' options must be used together])
333 *) with_included_ltdl=no
334 LIBLTDL="-L$with_ltdl_lib -lltdl"
336 LTDLINCL="-I$with_ltdl_include"
341 # Report our decision...
342 AC_MSG_CHECKING([where to find libltdl headers])
343 AC_MSG_RESULT([$LTDLINCL])
344 AC_MSG_CHECKING([where to find libltdl library])
345 AC_MSG_RESULT([$LIBLTDL])
349 dnl restore autoconf definition.
350 m4_popdef([AC_LIBOBJ])
351 m4_popdef([AC_LIBSOURCES])
353 AC_CONFIG_COMMANDS_PRE([
356 if test -n "$_LT_LIBOBJS"; then
357 # Remove the extension.
358 _lt_sed_drop_objext='s/\.o$//;s/\.obj$//'
359 for i in `for i in $_LT_LIBOBJS; do echo "$i"; done | sed "$_lt_sed_drop_objext" | sort -u`; do
360 _ltdl_libobjs="$_ltdl_libobjs $lt_libobj_prefix$i.$ac_objext"
361 _ltdl_ltlibobjs="$_ltdl_ltlibobjs $lt_libobj_prefix$i.lo"
364 AC_SUBST([ltdl_LIBOBJS], [$_ltdl_libobjs])
365 AC_SUBST([ltdl_LTLIBOBJS], [$_ltdl_ltlibobjs])
369 m4_define([LTDL_INIT])
371 m4trace:/usr/share/aclocal/ltdl.m4:352: -1- AU_DEFUN([AC_LIB_LTDL], [LTDL_INIT($@)])
372 m4trace:/usr/share/aclocal/ltdl.m4:352: -1- AC_DEFUN([AC_LIB_LTDL], [AC_DIAGNOSE([obsolete], [The macro `AC_LIB_LTDL' is obsolete.
373 You should run autoupdate.])dnl
375 m4trace:/usr/share/aclocal/ltdl.m4:353: -1- AU_DEFUN([AC_WITH_LTDL], [LTDL_INIT($@)])
376 m4trace:/usr/share/aclocal/ltdl.m4:353: -1- AC_DEFUN([AC_WITH_LTDL], [AC_DIAGNOSE([obsolete], [The macro `AC_WITH_LTDL' is obsolete.
377 You should run autoupdate.])dnl
379 m4trace:/usr/share/aclocal/ltdl.m4:354: -1- AU_DEFUN([LT_WITH_LTDL], [LTDL_INIT($@)])
380 m4trace:/usr/share/aclocal/ltdl.m4:354: -1- AC_DEFUN([LT_WITH_LTDL], [AC_DIAGNOSE([obsolete], [The macro `LT_WITH_LTDL' is obsolete.
381 You should run autoupdate.])dnl
383 m4trace:/usr/share/aclocal/ltdl.m4:367: -1- AC_DEFUN([_LTDL_SETUP], [AC_REQUIRE([AC_PROG_CC])dnl
384 AC_REQUIRE([LT_SYS_MODULE_EXT])dnl
385 AC_REQUIRE([LT_SYS_MODULE_PATH])dnl
386 AC_REQUIRE([LT_SYS_DLSEARCH_PATH])dnl
387 AC_REQUIRE([LT_LIB_DLLOAD])dnl
388 AC_REQUIRE([LT_SYS_SYMBOL_USCORE])dnl
389 AC_REQUIRE([LT_FUNC_DLSYM_USCORE])dnl
390 AC_REQUIRE([LT_SYS_DLOPEN_DEPLIBS])dnl
391 AC_REQUIRE([gl_FUNC_ARGZ])dnl
393 m4_require([_LT_CHECK_OBJDIR])dnl
394 m4_require([_LT_HEADER_DLFCN])dnl
395 m4_require([_LT_CHECK_DLPREOPEN])dnl
396 m4_require([_LT_DECL_SED])dnl
398 dnl Don't require this, or it will be expanded earlier than the code
399 dnl that sets the variables it relies on:
402 dnl _LTDL_MODE specific code must be called at least once:
405 # In order that ltdl.c can compile, find out the first AC_CONFIG_HEADERS
406 # the user used. This is so that ltdl.h can pick up the parent projects
407 # config.h file, The first file in AC_CONFIG_HEADERS must contain the
408 # definitions required by ltdl.c.
409 # FIXME: Remove use of undocumented AC_LIST_HEADERS (2.59 compatibility).
410 AC_CONFIG_COMMANDS_PRE([dnl
411 m4_pattern_allow([^LT_CONFIG_H$])dnl
412 m4_ifset([AH_HEADER],
413 [LT_CONFIG_H=AH_HEADER],
414 [m4_ifset([AC_LIST_HEADERS],
415 [LT_CONFIG_H=`echo "AC_LIST_HEADERS" | $SED 's,^[[ ]]*,,;s,[[ :]].*$,,'`],
417 AC_SUBST([LT_CONFIG_H])
419 AC_CHECK_HEADERS([unistd.h dl.h sys/dl.h dld.h mach-o/dyld.h dirent.h],
420 [], [], [AC_INCLUDES_DEFAULT])
422 AC_CHECK_FUNCS([closedir opendir readdir], [], [AC_LIBOBJ([lt__dirent])])
423 AC_CHECK_FUNCS([strlcat strlcpy], [], [AC_LIBOBJ([lt__strl])])
425 AC_DEFINE_UNQUOTED([LT_LIBEXT],["$libext"],[The archive extension])
428 LTDLOPEN=`eval "\\$ECHO \"$libname_spec\""`
431 m4trace:/usr/share/aclocal/ltdl.m4:437: -1- AC_DEFUN([LT_SYS_DLOPEN_DEPLIBS], [AC_REQUIRE([AC_CANONICAL_HOST])dnl
432 AC_CACHE_CHECK([whether deplibs are loaded by dlopen],
433 [lt_cv_sys_dlopen_deplibs],
434 [# PORTME does your system automatically load deplibs for dlopen?
435 # or its logical equivalent (e.g. shl_load for HP-UX < 11)
436 # For now, we just catch OSes we know something about -- in the
437 # future, we'll try test this programmatically.
438 lt_cv_sys_dlopen_deplibs=unknown
440 aix3*|aix4.1.*|aix4.2.*)
441 # Unknown whether this is true for these versions of AIX, but
442 # we want this `case' here to explicitly catch those versions.
443 lt_cv_sys_dlopen_deplibs=unknown
446 lt_cv_sys_dlopen_deplibs=yes
451 lt_cv_sys_dlopen_deplibs=no
456 # Assuming the user has installed a libdl from somewhere, this is true
457 # If you are looking for one http://www.opendarwin.org/projects/dlcompat
458 lt_cv_sys_dlopen_deplibs=yes
460 freebsd* | dragonfly*)
461 lt_cv_sys_dlopen_deplibs=yes
463 gnu* | linux* | k*bsd*-gnu)
464 # GNU and its variants, using gnu ld.so (Glibc)
465 lt_cv_sys_dlopen_deplibs=yes
468 lt_cv_sys_dlopen_deplibs=yes
471 lt_cv_sys_dlopen_deplibs=yes
473 irix[[12345]]*|irix6.[[01]]*)
474 # Catch all versions of IRIX before 6.2, and indicate that we don't
475 # know how it worked for any of those versions.
476 lt_cv_sys_dlopen_deplibs=unknown
479 # The case above catches anything before 6.2, and it's known that
480 # at 6.2 and later dlopen does load deplibs.
481 lt_cv_sys_dlopen_deplibs=yes
484 lt_cv_sys_dlopen_deplibs=yes
487 lt_cv_sys_dlopen_deplibs=yes
490 # dlopen did load deplibs (at least at 4.x), but until the 5.x series,
491 # it did *not* use an RPATH in a shared library to find objects the
492 # library depends on, so we explicitly say `no'.
493 lt_cv_sys_dlopen_deplibs=no
495 osf5.0|osf5.0a|osf5.1)
496 # dlopen *does* load deplibs and with the right loader patch applied
497 # it even uses RPATH in a shared library to search for shared objects
498 # that the library depends on, but there's no easy way to know if that
499 # patch is installed. Since this is the case, all we can really
500 # say is unknown -- it depends on the patch being installed. If
501 # it is, this changes to `yes'. Without it, it would be `no'.
502 lt_cv_sys_dlopen_deplibs=unknown
505 # the two cases above should catch all versions of osf <= 5.1. Read
506 # the comments above for what we know about them.
507 # At > 5.1, deplibs are loaded *and* any RPATH in a shared library
508 # is used to find them so we can finally say `yes'.
509 lt_cv_sys_dlopen_deplibs=yes
512 lt_cv_sys_dlopen_deplibs=yes
515 lt_cv_sys_dlopen_deplibs=yes
517 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
518 libltdl_cv_sys_dlopen_deplibs=yes
522 if test "$lt_cv_sys_dlopen_deplibs" != yes; then
523 AC_DEFINE([LTDL_DLOPEN_DEPLIBS], [1],
524 [Define if the OS needs help to load dependent libraries for dlopen().])
527 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($@)])])
528 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.
529 You should run autoupdate.])dnl
530 m4_if($#, 0, [LT_SYS_DLOPEN_DEPLIBS], [LT_SYS_DLOPEN_DEPLIBS($@)])])
531 m4trace:/usr/share/aclocal/ltdl.m4:543: -1- AC_DEFUN([LT_SYS_MODULE_EXT], [m4_require([_LT_SYS_DYNAMIC_LINKER])dnl
532 AC_CACHE_CHECK([which extension is used for runtime loadable modules],
533 [libltdl_cv_shlibext],
536 eval libltdl_cv_shlibext=$shrext_cmds
538 if test -n "$libltdl_cv_shlibext"; then
539 m4_pattern_allow([LT_MODULE_EXT])dnl
540 AC_DEFINE_UNQUOTED([LT_MODULE_EXT], ["$libltdl_cv_shlibext"],
541 [Define to the extension used for runtime loadable modules, say, ".so".])
544 m4trace:/usr/share/aclocal/ltdl.m4:559: -1- AU_DEFUN([AC_LTDL_SHLIBEXT], [m4_if($#, 0, [LT_SYS_MODULE_EXT], [LT_SYS_MODULE_EXT($@)])])
545 m4trace:/usr/share/aclocal/ltdl.m4:559: -1- AC_DEFUN([AC_LTDL_SHLIBEXT], [AC_DIAGNOSE([obsolete], [The macro `AC_LTDL_SHLIBEXT' is obsolete.
546 You should run autoupdate.])dnl
547 m4_if($#, 0, [LT_SYS_MODULE_EXT], [LT_SYS_MODULE_EXT($@)])])
548 m4trace:/usr/share/aclocal/ltdl.m4:566: -1- AC_DEFUN([LT_SYS_MODULE_PATH], [m4_require([_LT_SYS_DYNAMIC_LINKER])dnl
549 AC_CACHE_CHECK([which variable specifies run-time module search path],
550 [lt_cv_module_path_var], [lt_cv_module_path_var="$shlibpath_var"])
551 if test -n "$lt_cv_module_path_var"; then
552 m4_pattern_allow([LT_MODULE_PATH_VAR])dnl
553 AC_DEFINE_UNQUOTED([LT_MODULE_PATH_VAR], ["$lt_cv_module_path_var"],
554 [Define to the name of the environment variable that determines the run-time module search path.])
557 m4trace:/usr/share/aclocal/ltdl.m4:578: -1- AU_DEFUN([AC_LTDL_SHLIBPATH], [m4_if($#, 0, [LT_SYS_MODULE_PATH], [LT_SYS_MODULE_PATH($@)])])
558 m4trace:/usr/share/aclocal/ltdl.m4:578: -1- AC_DEFUN([AC_LTDL_SHLIBPATH], [AC_DIAGNOSE([obsolete], [The macro `AC_LTDL_SHLIBPATH' is obsolete.
559 You should run autoupdate.])dnl
560 m4_if($#, 0, [LT_SYS_MODULE_PATH], [LT_SYS_MODULE_PATH($@)])])
561 m4trace:/usr/share/aclocal/ltdl.m4:585: -1- AC_DEFUN([LT_SYS_DLSEARCH_PATH], [m4_require([_LT_SYS_DYNAMIC_LINKER])dnl
562 AC_CACHE_CHECK([for the default library search path],
563 [lt_cv_sys_dlsearch_path],
564 [lt_cv_sys_dlsearch_path="$sys_lib_dlsearch_path_spec"])
565 if test -n "$lt_cv_sys_dlsearch_path"; then
567 for dir in $lt_cv_sys_dlsearch_path; do
568 if test -z "$sys_dlsearch_path"; then
569 sys_dlsearch_path="$dir"
571 sys_dlsearch_path="$sys_dlsearch_path$PATH_SEPARATOR$dir"
574 m4_pattern_allow([LT_DLSEARCH_PATH])dnl
575 AC_DEFINE_UNQUOTED([LT_DLSEARCH_PATH], ["$sys_dlsearch_path"],
576 [Define to the system default library search path.])
579 m4trace:/usr/share/aclocal/ltdl.m4:606: -1- AU_DEFUN([AC_LTDL_SYSSEARCHPATH], [m4_if($#, 0, [LT_SYS_DLSEARCH_PATH], [LT_SYS_DLSEARCH_PATH($@)])])
580 m4trace:/usr/share/aclocal/ltdl.m4:606: -1- AC_DEFUN([AC_LTDL_SYSSEARCHPATH], [AC_DIAGNOSE([obsolete], [The macro `AC_LTDL_SYSSEARCHPATH' is obsolete.
581 You should run autoupdate.])dnl
582 m4_if($#, 0, [LT_SYS_DLSEARCH_PATH], [LT_SYS_DLSEARCH_PATH($@)])])
583 m4trace:/usr/share/aclocal/ltdl.m4:632: -1- AC_DEFUN([LT_LIB_DLLOAD], [m4_pattern_allow([^LT_DLLOADERS$])
585 AC_SUBST([LT_DLLOADERS])
590 AC_SEARCH_LIBS([dlopen], [dl],
591 [AC_DEFINE([HAVE_LIBDL], [1],
592 [Define if you have the libdl library or equivalent.])
593 if test "$ac_cv_search_dlopen" != "none required" ; then
596 libltdl_cv_lib_dl_dlopen="yes"
597 LT_DLLOADERS="$LT_DLLOADERS ${lt_dlopen_dir+$lt_dlopen_dir/}dlopen.la"],
598 [AC_LINK_IFELSE([AC_LANG_PROGRAM([[#if HAVE_DLFCN_H
601 ]], [[dlopen(0, 0);]])],
602 [AC_DEFINE([HAVE_LIBDL], [1],
603 [Define if you have the libdl library or equivalent.])
604 libltdl_cv_func_dlopen="yes"
605 LT_DLLOADERS="$LT_DLLOADERS ${lt_dlopen_dir+$lt_dlopen_dir/}dlopen.la"],
606 [AC_CHECK_LIB([svld], [dlopen],
607 [AC_DEFINE([HAVE_LIBDL], [1],
608 [Define if you have the libdl library or equivalent.])
609 LIBADD_DLOPEN="-lsvld" libltdl_cv_func_dlopen="yes"
610 LT_DLLOADERS="$LT_DLLOADERS ${lt_dlopen_dir+$lt_dlopen_dir/}dlopen.la"])])])
611 if test x"$libltdl_cv_func_dlopen" = xyes || test x"$libltdl_cv_lib_dl_dlopen" = xyes
614 LIBS="$LIBS $LIBADD_DLOPEN"
615 AC_CHECK_FUNCS([dlerror])
618 AC_SUBST([LIBADD_DLOPEN])
621 AC_CHECK_FUNC([shl_load],
622 [AC_DEFINE([HAVE_SHL_LOAD], [1],
623 [Define if you have the shl_load function.])
624 LT_DLLOADERS="$LT_DLLOADERS ${lt_dlopen_dir+$lt_dlopen_dir/}shl_load.la"],
625 [AC_CHECK_LIB([dld], [shl_load],
626 [AC_DEFINE([HAVE_SHL_LOAD], [1],
627 [Define if you have the shl_load function.])
628 LT_DLLOADERS="$LT_DLLOADERS ${lt_dlopen_dir+$lt_dlopen_dir/}shl_load.la"
629 LIBADD_SHL_LOAD="-ldld"])])
630 AC_SUBST([LIBADD_SHL_LOAD])
634 # We only want this for pre-Mac OS X 10.4.
635 AC_CHECK_FUNC([_dyld_func_lookup],
636 [AC_DEFINE([HAVE_DYLD], [1],
637 [Define if you have the _dyld_func_lookup function.])
638 LT_DLLOADERS="$LT_DLLOADERS ${lt_dlopen_dir+$lt_dlopen_dir/}dyld.la"])
641 LT_DLLOADERS="$LT_DLLOADERS ${lt_dlopen_dir+$lt_dlopen_dir/}load_add_on.la"
643 cygwin* | mingw* | os2* | pw32*)
644 AC_CHECK_DECLS([cygwin_conv_path], [], [], [[#include <sys/cygwin.h>]])
645 LT_DLLOADERS="$LT_DLLOADERS ${lt_dlopen_dir+$lt_dlopen_dir/}loadlibrary.la"
649 AC_CHECK_LIB([dld], [dld_link],
650 [AC_DEFINE([HAVE_DLD], [1],
651 [Define if you have the GNU dld library.])
652 LT_DLLOADERS="$LT_DLLOADERS ${lt_dlopen_dir+$lt_dlopen_dir/}dld_link.la"])
653 AC_SUBST([LIBADD_DLD_LINK])
655 m4_pattern_allow([^LT_DLPREOPEN$])
657 if test -n "$LT_DLLOADERS"
659 for lt_loader in $LT_DLLOADERS; do
660 LT_DLPREOPEN="$LT_DLPREOPEN-dlpreopen $lt_loader "
662 AC_DEFINE([HAVE_LIBDLLOADER], [1],
663 [Define if libdlloader will be built on this platform])
665 AC_SUBST([LT_DLPREOPEN])
667 dnl This isn't used anymore, but set it for backwards compatibility
668 LIBADD_DL="$LIBADD_DLOPEN $LIBADD_SHL_LOAD"
669 AC_SUBST([LIBADD_DL])
673 m4trace:/usr/share/aclocal/ltdl.m4:725: -1- AU_DEFUN([AC_LTDL_DLLIB], [m4_if($#, 0, [LT_LIB_DLLOAD], [LT_LIB_DLLOAD($@)])])
674 m4trace:/usr/share/aclocal/ltdl.m4:725: -1- AC_DEFUN([AC_LTDL_DLLIB], [AC_DIAGNOSE([obsolete], [The macro `AC_LTDL_DLLIB' is obsolete.
675 You should run autoupdate.])dnl
676 m4_if($#, 0, [LT_LIB_DLLOAD], [LT_LIB_DLLOAD($@)])])
677 m4trace:/usr/share/aclocal/ltdl.m4:733: -1- AC_DEFUN([LT_SYS_SYMBOL_USCORE], [m4_require([_LT_CMD_GLOBAL_SYMBOLS])dnl
678 AC_CACHE_CHECK([for _ prefix in compiled symbols],
679 [lt_cv_sys_symbol_underscore],
680 [lt_cv_sys_symbol_underscore=no
681 cat > conftest.$ac_ext <<_LT_EOF
682 void nm_test_func(){}
683 int main(){nm_test_func;return 0;}
685 if AC_TRY_EVAL(ac_compile); then
686 # Now try to grab the symbols.
688 if AC_TRY_EVAL(NM conftest.$ac_objext \| $lt_cv_sys_global_symbol_pipe \> $ac_nlist) && test -s "$ac_nlist"; then
689 # See whether the symbols have a leading underscore.
690 if grep '^. _nm_test_func' "$ac_nlist" >/dev/null; then
691 lt_cv_sys_symbol_underscore=yes
693 if grep '^. nm_test_func ' "$ac_nlist" >/dev/null; then
696 echo "configure: cannot find nm_test_func in $ac_nlist" >&AS_MESSAGE_LOG_FD
700 echo "configure: cannot run $lt_cv_sys_global_symbol_pipe" >&AS_MESSAGE_LOG_FD
703 echo "configure: failed program was:" >&AS_MESSAGE_LOG_FD
704 cat conftest.c >&AS_MESSAGE_LOG_FD
708 sys_symbol_underscore=$lt_cv_sys_symbol_underscore
709 AC_SUBST([sys_symbol_underscore])
711 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($@)])])
712 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.
713 You should run autoupdate.])dnl
714 m4_if($#, 0, [LT_SYS_SYMBOL_USCORE], [LT_SYS_SYMBOL_USCORE($@)])])
715 m4trace:/usr/share/aclocal/ltdl.m4:777: -1- AC_DEFUN([LT_FUNC_DLSYM_USCORE], [AC_REQUIRE([LT_SYS_SYMBOL_USCORE])dnl
716 if test x"$lt_cv_sys_symbol_underscore" = xyes; then
717 if test x"$libltdl_cv_func_dlopen" = xyes ||
718 test x"$libltdl_cv_lib_dl_dlopen" = xyes ; then
719 AC_CACHE_CHECK([whether we have to add an underscore for dlsym],
720 [libltdl_cv_need_uscore],
721 [libltdl_cv_need_uscore=unknown
723 LIBS="$LIBS $LIBADD_DLOPEN"
725 [libltdl_cv_need_uscore=no], [libltdl_cv_need_uscore=yes],
726 [], [libltdl_cv_need_uscore=cross])
732 if test x"$libltdl_cv_need_uscore" = xyes; then
733 AC_DEFINE([NEED_USCORE], [1],
734 [Define if dlsym() requires a leading underscore in symbol names.])
737 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($@)])])
738 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.
739 You should run autoupdate.])dnl
740 m4_if($#, 0, [LT_FUNC_DLSYM_USCORE], [LT_FUNC_DLSYM_USCORE($@)])])
741 m4trace:/usr/share/aclocal/pkg.m4:27: -1- AC_DEFUN([PKG_PROG_PKG_CONFIG], [m4_pattern_forbid([^_?PKG_[A-Z_]+$])
742 m4_pattern_allow([^PKG_CONFIG(_PATH)?$])
743 AC_ARG_VAR([PKG_CONFIG], [path to pkg-config utility])
744 AC_ARG_VAR([PKG_CONFIG_PATH], [directories to add to pkg-config's search path])
745 AC_ARG_VAR([PKG_CONFIG_LIBDIR], [path overriding pkg-config's built-in search path])
747 if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
748 AC_PATH_TOOL([PKG_CONFIG], [pkg-config])
750 if test -n "$PKG_CONFIG"; then
751 _pkg_min_version=m4_default([$1], [0.9.0])
752 AC_MSG_CHECKING([pkg-config is at least version $_pkg_min_version])
753 if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
761 m4trace:/usr/share/aclocal/pkg.m4:59: -1- AC_DEFUN([PKG_CHECK_EXISTS], [AC_REQUIRE([PKG_PROG_PKG_CONFIG])dnl
762 if test -n "$PKG_CONFIG" && \
763 AC_RUN_LOG([$PKG_CONFIG --exists --print-errors "$1"]); then
764 m4_default([$2], [:])
765 m4_ifvaln([$3], [else
768 m4trace:/usr/share/aclocal/pkg.m4:84: -1- AC_DEFUN([_PKG_SHORT_ERRORS_SUPPORTED], [AC_REQUIRE([PKG_PROG_PKG_CONFIG])
769 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
770 _pkg_short_errors_supported=yes
772 _pkg_short_errors_supported=no
775 m4trace:/usr/share/aclocal/pkg.m4:104: -1- AC_DEFUN([PKG_CHECK_MODULES], [AC_REQUIRE([PKG_PROG_PKG_CONFIG])dnl
776 AC_ARG_VAR([$1][_CFLAGS], [C compiler flags for $1, overriding pkg-config])dnl
777 AC_ARG_VAR([$1][_LIBS], [linker flags for $1, overriding pkg-config])dnl
780 AC_MSG_CHECKING([for $1])
782 _PKG_CONFIG([$1][_CFLAGS], [cflags], [$2])
783 _PKG_CONFIG([$1][_LIBS], [libs], [$2])
785 m4_define([_PKG_TEXT], [Alternatively, you may set the environment variables $1[]_CFLAGS
786 and $1[]_LIBS to avoid the need to call pkg-config.
787 See the pkg-config man page for more details.])
789 if test $pkg_failed = yes; then
791 _PKG_SHORT_ERRORS_SUPPORTED
792 if test $_pkg_short_errors_supported = yes; then
793 $1[]_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors "$2" 2>&1`
795 $1[]_PKG_ERRORS=`$PKG_CONFIG --print-errors "$2" 2>&1`
797 # Put the nasty error message in config.log where it belongs
798 echo "$$1[]_PKG_ERRORS" >&AS_MESSAGE_LOG_FD
800 m4_default([$4], [AC_MSG_ERROR(
801 [Package requirements ($2) were not met:
805 Consider adjusting the PKG_CONFIG_PATH environment variable if you
806 installed software in a non-standard prefix.
810 elif test $pkg_failed = untried; then
812 m4_default([$4], [AC_MSG_FAILURE(
813 [The pkg-config script could not be found or is too old. Make sure it
814 is in your PATH or set the PKG_CONFIG environment variable to the full
819 To get pkg-config, see <http://pkg-config.freedesktop.org/>.])dnl
822 $1[]_CFLAGS=$pkg_cv_[]$1[]_CFLAGS
823 $1[]_LIBS=$pkg_cv_[]$1[]_LIBS
828 m4trace:/usr/share/aclocal/printf-posix.m4:11: -1- AC_DEFUN([gt_PRINTF_POSIX], [
829 AC_REQUIRE([AC_PROG_CC])
830 AC_CACHE_CHECK([whether printf() supports POSIX/XSI format strings],
831 gt_cv_func_printf_posix,
836 /* The string "%2$d %1$d", with dollar characters protected from the shell's
837 dollar expansion (possibly an autoconf bug). */
838 static char format[] = { '%', '2', '$', 'd', ' ', '%', '1', '$', 'd', '\0' };
839 static char buf[100];
842 sprintf (buf, format, 33, 55);
843 return (strcmp (buf, "55 33") != 0);
844 }], gt_cv_func_printf_posix=yes, gt_cv_func_printf_posix=no,
846 AC_EGREP_CPP([notposix], [
847 #if defined __NetBSD__ || defined __BEOS__ || defined _MSC_VER || defined __MINGW32__ || defined __CYGWIN__
851 [gt_cv_func_printf_posix="guessing no"],
852 [gt_cv_func_printf_posix="guessing yes"])
855 case $gt_cv_func_printf_posix in
857 AC_DEFINE([HAVE_POSIX_PRINTF], [1],
858 [Define if your printf() function supports format strings with positions.])
862 m4trace:/usr/share/aclocal/size_max.m4:9: -1- AC_DEFUN([gl_SIZE_MAX], [
863 AC_CHECK_HEADERS([stdint.h])
864 dnl First test whether the system already has SIZE_MAX.
865 AC_CACHE_CHECK([for SIZE_MAX], [gl_cv_size_max], [
867 AC_EGREP_CPP([Found it], [
875 ], [gl_cv_size_max=yes])
876 if test -z "$gl_cv_size_max"; then
877 dnl Define it ourselves. Here we assume that the type 'size_t' is not wider
878 dnl than the type 'unsigned long'. Try hard to find a definition that can
879 dnl be used in a preprocessor #if, i.e. doesn't contain a cast.
880 AC_COMPUTE_INT([size_t_bits_minus_1], [sizeof (size_t) * CHAR_BIT - 1],
882 #include <limits.h>], [size_t_bits_minus_1=])
883 AC_COMPUTE_INT([fits_in_uint], [sizeof (size_t) <= sizeof (unsigned int)],
884 [#include <stddef.h>], [fits_in_uint=])
885 if test -n "$size_t_bits_minus_1" && test -n "$fits_in_uint"; then
886 if test $fits_in_uint = 1; then
887 dnl Even though SIZE_MAX fits in an unsigned int, it must be of type
888 dnl 'unsigned long' if the type 'size_t' is the same as 'unsigned long'.
889 AC_TRY_COMPILE([#include <stddef.h>
891 extern unsigned long foo;
892 ], [], [fits_in_uint=0])
894 dnl We cannot use 'expr' to simplify this expression, because 'expr'
895 dnl works only with 'long' integers in the host environment, while we
896 dnl might be cross-compiling from a 32-bit platform to a 64-bit platform.
897 if test $fits_in_uint = 1; then
898 gl_cv_size_max="(((1U << $size_t_bits_minus_1) - 1) * 2 + 1)"
900 gl_cv_size_max="(((1UL << $size_t_bits_minus_1) - 1) * 2 + 1)"
903 dnl Shouldn't happen, but who knows...
904 gl_cv_size_max='((size_t)~(size_t)0)'
908 if test "$gl_cv_size_max" != yes; then
909 AC_DEFINE_UNQUOTED([SIZE_MAX], [$gl_cv_size_max],
910 [Define as the maximum value of type 'size_t', if the system doesn't define it.])
912 dnl Don't redefine SIZE_MAX in config.h if config.h is re-included after
913 dnl <stdint.h>. Remember that the #undef in AH_VERBATIM gets replaced with
914 dnl #define by AC_DEFINE_UNQUOTED.
915 AH_VERBATIM([SIZE_MAX],
916 [/* Define as the maximum value of type 'size_t', if the system doesn't define
922 m4trace:/usr/share/aclocal/stdint_h.m4:12: -1- AC_DEFUN([gl_AC_HEADER_STDINT_H], [
923 AC_CACHE_CHECK([for stdint.h], [gl_cv_header_stdint_h],
925 [#include <sys/types.h>
926 #include <stdint.h>],
927 [uintmax_t i = (uintmax_t) -1; return !i;],
928 [gl_cv_header_stdint_h=yes],
929 [gl_cv_header_stdint_h=no])])
930 if test $gl_cv_header_stdint_h = yes; then
931 AC_DEFINE_UNQUOTED([HAVE_STDINT_H_WITH_UINTMAX], [1],
932 [Define if <stdint.h> exists, doesn't clash with <sys/types.h>,
933 and declares uintmax_t. ])
936 m4trace:/usr/share/aclocal/wchar_t.m4:11: -1- AC_DEFUN([gt_TYPE_WCHAR_T], [
937 AC_CACHE_CHECK([for wchar_t], [gt_cv_c_wchar_t],
938 [AC_TRY_COMPILE([#include <stddef.h>
939 wchar_t foo = (wchar_t)'\0';], ,
940 [gt_cv_c_wchar_t=yes], [gt_cv_c_wchar_t=no])])
941 if test $gt_cv_c_wchar_t = yes; then
942 AC_DEFINE([HAVE_WCHAR_T], [1], [Define if you have the 'wchar_t' type.])
945 m4trace:/usr/share/aclocal/wint_t.m4:11: -1- AC_DEFUN([gt_TYPE_WINT_T], [
946 AC_CACHE_CHECK([for wint_t], [gt_cv_c_wint_t],
948 /* Tru64 with Desktop Toolkit C has a bug: <stdio.h> must be included before
950 BSD/OS 4.0.1 has a bug: <stddef.h>, <stdio.h> and <time.h> must be included
956 wint_t foo = (wchar_t)'\0';], ,
957 [gt_cv_c_wint_t=yes], [gt_cv_c_wint_t=no])])
958 if test $gt_cv_c_wint_t = yes; then
959 AC_DEFINE([HAVE_WINT_T], [1], [Define if you have the 'wint_t' type.])
962 m4trace:/usr/share/aclocal/xsize.m4:7: -1- AC_DEFUN([gl_XSIZE], [
963 dnl Prerequisites of lib/xsize.h.
964 AC_REQUIRE([gl_SIZE_MAX])
965 AC_REQUIRE([AC_C_INLINE])
966 AC_CHECK_HEADERS([stdint.h])
968 m4trace:/usr/share/aclocal-1.11/amversion.m4:14: -1- AC_DEFUN([AM_AUTOMAKE_VERSION], [am__api_version='1.11'
969 dnl Some users find AM_AUTOMAKE_VERSION and mistake it for a way to
970 dnl require some minimum version. Point them to the right macro.
971 m4_if([$1], [1.11.1], [],
972 [AC_FATAL([Do not call $0, use AM_INIT_AUTOMAKE([$1]).])])dnl
974 m4trace:/usr/share/aclocal-1.11/amversion.m4:33: -1- AC_DEFUN([AM_SET_CURRENT_AUTOMAKE_VERSION], [AM_AUTOMAKE_VERSION([1.11.1])dnl
975 m4_ifndef([AC_AUTOCONF_VERSION],
976 [m4_copy([m4_PACKAGE_VERSION], [AC_AUTOCONF_VERSION])])dnl
977 _AM_AUTOCONF_VERSION(m4_defn([AC_AUTOCONF_VERSION]))])
978 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.
980 # expand $ac_aux_dir to an absolute path
981 am_aux_dir=`cd $ac_aux_dir && pwd`
983 m4trace:/usr/share/aclocal-1.11/cond.m4:15: -1- AC_DEFUN([AM_CONDITIONAL], [AC_PREREQ(2.52)dnl
984 ifelse([$1], [TRUE], [AC_FATAL([$0: invalid condition: $1])],
985 [$1], [FALSE], [AC_FATAL([$0: invalid condition: $1])])dnl
986 AC_SUBST([$1_TRUE])dnl
987 AC_SUBST([$1_FALSE])dnl
988 _AM_SUBST_NOTMAKE([$1_TRUE])dnl
989 _AM_SUBST_NOTMAKE([$1_FALSE])dnl
990 m4_define([_AM_COND_VALUE_$1], [$2])dnl
998 AC_CONFIG_COMMANDS_PRE(
999 [if test -z "${$1_TRUE}" && test -z "${$1_FALSE}"; then
1000 AC_MSG_ERROR([[conditional "$1" was never defined.
1001 Usually this means the macro was only invoked conditionally.]])
1003 m4trace:/usr/share/aclocal-1.11/depend.m4:28: -1- AC_DEFUN([_AM_DEPENDENCIES], [AC_REQUIRE([AM_SET_DEPDIR])dnl
1004 AC_REQUIRE([AM_OUTPUT_DEPENDENCY_COMMANDS])dnl
1005 AC_REQUIRE([AM_MAKE_INCLUDE])dnl
1006 AC_REQUIRE([AM_DEP_TRACK])dnl
1008 ifelse([$1], CC, [depcc="$CC" am_compiler_list=],
1009 [$1], CXX, [depcc="$CXX" am_compiler_list=],
1010 [$1], OBJC, [depcc="$OBJC" am_compiler_list='gcc3 gcc'],
1011 [$1], UPC, [depcc="$UPC" am_compiler_list=],
1012 [$1], GCJ, [depcc="$GCJ" am_compiler_list='gcc3 gcc'],
1013 [depcc="$$1" am_compiler_list=])
1015 AC_CACHE_CHECK([dependency style of $depcc],
1016 [am_cv_$1_dependencies_compiler_type],
1017 [if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
1018 # We make a subdir and do the tests there. Otherwise we can end up
1019 # making bogus files that we don't know about and never remove. For
1020 # instance it was reported that on HP-UX the gcc test will end up
1021 # making a dummy file named `D' -- because `-MD' means `put the output
1024 # Copy depcomp to subdir because otherwise we won't find it if we're
1025 # using a relative directory.
1026 cp "$am_depcomp" conftest.dir
1028 # We will build objects and dependencies in a subdirectory because
1029 # it helps to detect inapplicable dependency modes. For instance
1030 # both Tru64's cc and ICC support -MD to output dependencies as a
1031 # side effect of compilation, but ICC will put the dependencies in
1032 # the current directory while Tru64 will put them in the object
1036 am_cv_$1_dependencies_compiler_type=none
1037 if test "$am_compiler_list" = ""; then
1038 am_compiler_list=`sed -n ['s/^#*\([a-zA-Z0-9]*\))$/\1/p'] < ./depcomp`
1042 [case " $depcc " in #(
1043 *\ -arch\ *\ -arch\ *) am__universal=true ;;
1046 [case " $depcc " in #(
1047 *\ -arch\ *\ -arch\ *) am__universal=true ;;
1050 for depmode in $am_compiler_list; do
1051 # Setup a source with many dependencies, because some compilers
1052 # like to wrap large dependency lists on column 80 (with \), and
1053 # we should not choose a depcomp mode which is confused by this.
1055 # We need to recreate these files for each test, as the compiler may
1056 # overwrite some of them when testing with obscure command lines.
1057 # This happens at least with the AIX C compiler.
1059 for i in 1 2 3 4 5 6; do
1060 echo '#include "conftst'$i'.h"' >> sub/conftest.c
1061 # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
1062 # Solaris 8's {/usr,}/bin/sh.
1063 touch sub/conftst$i.h
1065 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
1067 # We check with `-c' and `-o' for the sake of the "dashmstdout"
1068 # mode. It turns out that the SunPro C++ compiler does not properly
1069 # handle `-M -o', and we need to detect this. Also, some Intel
1070 # versions had trouble with output in subdirs
1071 am__obj=sub/conftest.${OBJEXT-o}
1072 am__minus_obj="-o $am__obj"
1075 # This depmode causes a compiler race in universal mode.
1076 test "$am__universal" = false || continue
1079 # after this tag, mechanisms are not by side-effect, so they'll
1080 # only be used when explicitly requested
1081 if test "x$enable_dependency_tracking" = xyes; then
1087 msvisualcpp | msvcmsys)
1088 # This compiler won't grok `-c -o', but also, the minuso test has
1089 # not run yet. These depmodes are late enough in the game, and
1090 # so weak that their functioning should not be impacted.
1091 am__obj=conftest.${OBJEXT-o}
1096 if depmode=$depmode \
1097 source=sub/conftest.c object=$am__obj \
1098 depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
1099 $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
1100 >/dev/null 2>conftest.err &&
1101 grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
1102 grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
1103 grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
1104 ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
1105 # icc doesn't choke on unknown options, it will just issue warnings
1106 # or remarks (even with -Werror). So we grep stderr for any message
1107 # that says an option was ignored or not supported.
1108 # When given -MP, icc 7.0 and 7.1 complain thusly:
1109 # icc: Command line warning: ignoring option '-M'; no argument required
1110 # The diagnosis changed in icc 8.0:
1111 # icc: Command line remark: option '-MP' not supported
1112 if (grep 'ignoring option' conftest.err ||
1113 grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
1114 am_cv_$1_dependencies_compiler_type=$depmode
1123 am_cv_$1_dependencies_compiler_type=none
1126 AC_SUBST([$1DEPMODE], [depmode=$am_cv_$1_dependencies_compiler_type])
1127 AM_CONDITIONAL([am__fastdep$1], [
1128 test "x$enable_dependency_tracking" != xno \
1129 && test "$am_cv_$1_dependencies_compiler_type" = gcc3])
1131 m4trace:/usr/share/aclocal-1.11/depend.m4:163: -1- AC_DEFUN([AM_SET_DEPDIR], [AC_REQUIRE([AM_SET_LEADING_DOT])dnl
1132 AC_SUBST([DEPDIR], ["${am__leading_dot}deps"])dnl
1134 m4trace:/usr/share/aclocal-1.11/depend.m4:171: -1- AC_DEFUN([AM_DEP_TRACK], [AC_ARG_ENABLE(dependency-tracking,
1135 [ --disable-dependency-tracking speeds up one-time build
1136 --enable-dependency-tracking do not reject slow dependency extractors])
1137 if test "x$enable_dependency_tracking" != xno; then
1138 am_depcomp="$ac_aux_dir/depcomp"
1141 AM_CONDITIONAL([AMDEP], [test "x$enable_dependency_tracking" != xno])
1142 AC_SUBST([AMDEPBACKSLASH])dnl
1143 _AM_SUBST_NOTMAKE([AMDEPBACKSLASH])dnl
1145 m4trace:/usr/share/aclocal-1.11/depout.m4:14: -1- AC_DEFUN([_AM_OUTPUT_DEPENDENCY_COMMANDS], [{
1146 # Autoconf 2.62 quotes --file arguments for eval, but not when files
1147 # are listed without --file. Let's play safe and only enable the eval
1148 # if we detect the quoting.
1149 case $CONFIG_FILES in
1150 *\'*) eval set x "$CONFIG_FILES" ;;
1151 *) set x $CONFIG_FILES ;;
1156 # Strip MF so we end up with the name of the file.
1157 mf=`echo "$mf" | sed -e 's/:.*$//'`
1158 # Check whether this is an Automake generated Makefile or not.
1159 # We used to match only the files named `Makefile.in', but
1160 # some people rename them; so instead we look at the file content.
1161 # Grep'ing the first line is not enough: some people post-process
1162 # each Makefile.in and add a new line on top of each file to say so.
1163 # Grep'ing the whole file is not good either: AIX grep has a line
1164 # limit of 2048, but all sed's we know have understand at least 4000.
1165 if sed -n 's,^#.*generated by automake.*,X,p' "$mf" | grep X >/dev/null 2>&1; then
1166 dirpart=`AS_DIRNAME("$mf")`
1170 # Extract the definition of DEPDIR, am__include, and am__quote
1171 # from the Makefile without running `make'.
1172 DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"`
1173 test -z "$DEPDIR" && continue
1174 am__include=`sed -n 's/^am__include = //p' < "$mf"`
1175 test -z "am__include" && continue
1176 am__quote=`sed -n 's/^am__quote = //p' < "$mf"`
1177 # When using ansi2knr, U may be empty or an underscore; expand it
1178 U=`sed -n 's/^U = //p' < "$mf"`
1179 # Find all dependency output files, they are included files with
1180 # $(DEPDIR) in their names. We invoke sed twice because it is the
1181 # simplest approach to changing $(DEPDIR) to its actual value in the
1183 for file in `sed -n "
1184 s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
1185 sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do
1186 # Make sure the directory exists.
1187 test -f "$dirpart/$file" && continue
1188 fdir=`AS_DIRNAME(["$file"])`
1189 AS_MKDIR_P([$dirpart/$fdir])
1190 # echo "creating $dirpart/$file"
1191 echo '# dummy' > "$dirpart/$file"
1196 m4trace:/usr/share/aclocal-1.11/depout.m4:75: -1- AC_DEFUN([AM_OUTPUT_DEPENDENCY_COMMANDS], [AC_CONFIG_COMMANDS([depfiles],
1197 [test x"$AMDEP_TRUE" != x"" || _AM_OUTPUT_DEPENDENCY_COMMANDS],
1198 [AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"])
1200 m4trace:/usr/share/aclocal-1.11/init.m4:26: -1- AC_DEFUN([AM_INIT_AUTOMAKE], [AC_PREREQ([2.62])dnl
1201 dnl Autoconf wants to disallow AM_ names. We explicitly allow
1202 dnl the ones we care about.
1203 m4_pattern_allow([^AM_[A-Z]+FLAGS$])dnl
1204 AC_REQUIRE([AM_SET_CURRENT_AUTOMAKE_VERSION])dnl
1205 AC_REQUIRE([AC_PROG_INSTALL])dnl
1206 if test "`cd $srcdir && pwd`" != "`pwd`"; then
1207 # Use -I$(srcdir) only when $(srcdir) != ., so that make's output
1208 # is not polluted with repeated "-I."
1209 AC_SUBST([am__isrc], [' -I$(srcdir)'])_AM_SUBST_NOTMAKE([am__isrc])dnl
1210 # test to see if srcdir already configured
1211 if test -f $srcdir/config.status; then
1212 AC_MSG_ERROR([source directory already configured; run "make distclean" there first])
1216 # test whether we have cygpath
1217 if test -z "$CYGPATH_W"; then
1218 if (cygpath --version) >/dev/null 2>/dev/null; then
1219 CYGPATH_W='cygpath -w'
1224 AC_SUBST([CYGPATH_W])
1226 # Define the identity of the package.
1227 dnl Distinguish between old-style and new-style calls.
1229 [m4_ifval([$3], [_AM_SET_OPTION([no-define])])dnl
1230 AC_SUBST([PACKAGE], [$1])dnl
1231 AC_SUBST([VERSION], [$2])],
1232 [_AM_SET_OPTIONS([$1])dnl
1233 dnl Diagnose old-style AC_INIT with new-style AM_AUTOMAKE_INIT.
1234 m4_if(m4_ifdef([AC_PACKAGE_NAME], 1)m4_ifdef([AC_PACKAGE_VERSION], 1), 11,,
1235 [m4_fatal([AC_INIT should be called with package and version arguments])])dnl
1236 AC_SUBST([PACKAGE], ['AC_PACKAGE_TARNAME'])dnl
1237 AC_SUBST([VERSION], ['AC_PACKAGE_VERSION'])])dnl
1239 _AM_IF_OPTION([no-define],,
1240 [AC_DEFINE_UNQUOTED(PACKAGE, "$PACKAGE", [Name of package])
1241 AC_DEFINE_UNQUOTED(VERSION, "$VERSION", [Version number of package])])dnl
1243 # Some tools Automake needs.
1244 AC_REQUIRE([AM_SANITY_CHECK])dnl
1245 AC_REQUIRE([AC_ARG_PROGRAM])dnl
1246 AM_MISSING_PROG(ACLOCAL, aclocal-${am__api_version})
1247 AM_MISSING_PROG(AUTOCONF, autoconf)
1248 AM_MISSING_PROG(AUTOMAKE, automake-${am__api_version})
1249 AM_MISSING_PROG(AUTOHEADER, autoheader)
1250 AM_MISSING_PROG(MAKEINFO, makeinfo)
1251 AC_REQUIRE([AM_PROG_INSTALL_SH])dnl
1252 AC_REQUIRE([AM_PROG_INSTALL_STRIP])dnl
1253 AC_REQUIRE([AM_PROG_MKDIR_P])dnl
1254 # We need awk for the "check" target. The system "awk" is bad on
1256 AC_REQUIRE([AC_PROG_AWK])dnl
1257 AC_REQUIRE([AC_PROG_MAKE_SET])dnl
1258 AC_REQUIRE([AM_SET_LEADING_DOT])dnl
1259 _AM_IF_OPTION([tar-ustar], [_AM_PROG_TAR([ustar])],
1260 [_AM_IF_OPTION([tar-pax], [_AM_PROG_TAR([pax])],
1261 [_AM_PROG_TAR([v7])])])
1262 _AM_IF_OPTION([no-dependencies],,
1263 [AC_PROVIDE_IFELSE([AC_PROG_CC],
1264 [_AM_DEPENDENCIES(CC)],
1265 [define([AC_PROG_CC],
1266 defn([AC_PROG_CC])[_AM_DEPENDENCIES(CC)])])dnl
1267 AC_PROVIDE_IFELSE([AC_PROG_CXX],
1268 [_AM_DEPENDENCIES(CXX)],
1269 [define([AC_PROG_CXX],
1270 defn([AC_PROG_CXX])[_AM_DEPENDENCIES(CXX)])])dnl
1271 AC_PROVIDE_IFELSE([AC_PROG_OBJC],
1272 [_AM_DEPENDENCIES(OBJC)],
1273 [define([AC_PROG_OBJC],
1274 defn([AC_PROG_OBJC])[_AM_DEPENDENCIES(OBJC)])])dnl
1276 _AM_IF_OPTION([silent-rules], [AC_REQUIRE([AM_SILENT_RULES])])dnl
1277 dnl The `parallel-tests' driver may need to know about EXEEXT, so add the
1278 dnl `am__EXEEXT' conditional if _AM_COMPILER_EXEEXT was seen. This macro
1279 dnl is hooked onto _AC_COMPILER_EXEEXT early, see below.
1280 AC_CONFIG_COMMANDS_PRE(dnl
1281 [m4_provide_if([_AM_COMPILER_EXEEXT],
1282 [AM_CONDITIONAL([am__EXEEXT], [test -n "$EXEEXT"])])])dnl
1284 m4trace:/usr/share/aclocal-1.11/init.m4:126: -1- AC_DEFUN([_AC_AM_CONFIG_HEADER_HOOK], [# Compute $1's index in $config_headers.
1287 for _am_header in $config_headers :; do
1289 $_am_arg | $_am_arg:* )
1292 _am_stamp_count=`expr $_am_stamp_count + 1` ;;
1295 echo "timestamp for $_am_arg" >`AS_DIRNAME(["$_am_arg"])`/stamp-h[]$_am_stamp_count])
1296 m4trace:/usr/share/aclocal-1.11/install-sh.m4:11: -1- AC_DEFUN([AM_PROG_INSTALL_SH], [AC_REQUIRE([AM_AUX_DIR_EXPAND])dnl
1297 if test x"${install_sh}" != xset; then
1300 install_sh="\${SHELL} '$am_aux_dir/install-sh'" ;;
1302 install_sh="\${SHELL} $am_aux_dir/install-sh"
1305 AC_SUBST(install_sh)])
1306 m4trace:/usr/share/aclocal-1.11/lead-dot.m4:12: -1- AC_DEFUN([AM_SET_LEADING_DOT], [rm -rf .tst 2>/dev/null
1307 mkdir .tst 2>/dev/null
1308 if test -d .tst; then
1313 rmdir .tst 2>/dev/null
1314 AC_SUBST([am__leading_dot])])
1315 m4trace:/usr/share/aclocal-1.11/make.m4:14: -1- AC_DEFUN([AM_MAKE_INCLUDE], [am_make=${MAKE-make}
1316 cat > confinc << 'END'
1318 @echo this is the am__doit target
1321 # If we don't find an include directive, just comment out the code.
1322 AC_MSG_CHECKING([for style of include used by $am_make])
1326 # First try GNU make style include.
1327 echo "include confinc" > confmf
1328 # Ignore all kinds of additional output from `make'.
1329 case `$am_make -s -f confmf 2> /dev/null` in #(
1330 *the\ am__doit\ target*)
1336 # Now try BSD make style include.
1337 if test "$am__include" = "#"; then
1338 echo '.include "confinc"' > confmf
1339 case `$am_make -s -f confmf 2> /dev/null` in #(
1340 *the\ am__doit\ target*)
1341 am__include=.include
1347 AC_SUBST([am__include])
1348 AC_SUBST([am__quote])
1349 AC_MSG_RESULT([$_am_result])
1350 rm -f confinc confmf
1352 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
1353 AC_REQUIRE([AM_AUX_DIR_EXPAND])dnl
1354 AC_REQUIRE_AUX_FILE([compile])dnl
1355 # FIXME: we rely on the cache variable name because
1356 # there is no other way.
1358 am_cc=`echo $[2] | sed ['s/[^a-zA-Z0-9_]/_/g;s/^[0-9]/_/']`
1359 eval am_t=\$ac_cv_prog_cc_${am_cc}_c_o
1360 if test "$am_t" != yes; then
1361 # Losing compiler, so override with the script.
1362 # FIXME: It is wrong to rewrite CC.
1363 # But if we don't then we get into trouble of one sort or another.
1364 # A longer-term fix would be to have automake use am__CC in this case,
1365 # and then we could set am__CC="\$(top_srcdir)/compile \$(CC)"
1366 CC="$am_aux_dir/compile $CC"
1368 dnl Make sure AC_PROG_CC is never called again, or it will override our
1370 m4_define([AC_PROG_CC],
1371 [m4_fatal([AC_PROG_CC cannot be called after AM_PROG_CC_C_O])])
1373 m4trace:/usr/share/aclocal-1.11/missing.m4:14: -1- AC_DEFUN([AM_MISSING_PROG], [AC_REQUIRE([AM_MISSING_HAS_RUN])
1374 $1=${$1-"${am_missing_run}$2"}
1376 m4trace:/usr/share/aclocal-1.11/missing.m4:24: -1- AC_DEFUN([AM_MISSING_HAS_RUN], [AC_REQUIRE([AM_AUX_DIR_EXPAND])dnl
1377 AC_REQUIRE_AUX_FILE([missing])dnl
1378 if test x"${MISSING+set}" != xset; then
1381 MISSING="\${SHELL} \"$am_aux_dir/missing\"" ;;
1383 MISSING="\${SHELL} $am_aux_dir/missing" ;;
1386 # Use eval to expand $SHELL
1387 if eval "$MISSING --run true"; then
1388 am_missing_run="$MISSING --run "
1391 AC_MSG_WARN([`missing' script is too old or missing])
1394 m4trace:/usr/share/aclocal-1.11/mkdirp.m4:11: -1- AC_DEFUN([AM_PROG_MKDIR_P], [AC_PREREQ([2.60])dnl
1395 AC_REQUIRE([AC_PROG_MKDIR_P])dnl
1396 dnl Automake 1.8 to 1.9.6 used to define mkdir_p. We now use MKDIR_P,
1397 dnl while keeping a definition of mkdir_p for backward compatibility.
1398 dnl @MKDIR_P@ is magic: AC_OUTPUT adjusts its value for each Makefile.
1399 dnl However we cannot define mkdir_p as $(MKDIR_P) for the sake of
1400 dnl Makefile.ins that do not define MKDIR_P, so we do our own
1401 dnl adjustment using top_builddir (which is defined more often than
1403 AC_SUBST([mkdir_p], ["$MKDIR_P"])dnl
1405 [[\\/$]]* | ?:[[\\/]]*) ;;
1406 */*) mkdir_p="\$(top_builddir)/$mkdir_p" ;;
1409 m4trace:/usr/share/aclocal-1.11/options.m4:13: -1- AC_DEFUN([_AM_MANGLE_OPTION], [[_AM_OPTION_]m4_bpatsubst($1, [[^a-zA-Z0-9_]], [_])])
1410 m4trace:/usr/share/aclocal-1.11/options.m4:19: -1- AC_DEFUN([_AM_SET_OPTION], [m4_define(_AM_MANGLE_OPTION([$1]), 1)])
1411 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)])])
1412 m4trace:/usr/share/aclocal-1.11/options.m4:31: -1- AC_DEFUN([_AM_IF_OPTION], [m4_ifset(_AM_MANGLE_OPTION([$1]), [$2], [$3])])
1413 m4trace:/usr/share/aclocal-1.11/runlog.m4:12: -1- AC_DEFUN([AM_RUN_LOG], [{ echo "$as_me:$LINENO: $1" >&AS_MESSAGE_LOG_FD
1414 ($1) >&AS_MESSAGE_LOG_FD 2>&AS_MESSAGE_LOG_FD
1416 echo "$as_me:$LINENO: \$? = $ac_status" >&AS_MESSAGE_LOG_FD
1417 (exit $ac_status); }])
1418 m4trace:/usr/share/aclocal-1.11/sanity.m4:14: -1- AC_DEFUN([AM_SANITY_CHECK], [AC_MSG_CHECKING([whether build environment is sane])
1421 echo timestamp > conftest.file
1422 # Reject unsafe characters in $srcdir or the absolute working directory
1423 # name. Accept space and tab only in the latter.
1427 *[[\\\"\#\$\&\'\`$am_lf]]*)
1428 AC_MSG_ERROR([unsafe absolute working directory name]);;
1431 *[[\\\"\#\$\&\'\`$am_lf\ \ ]]*)
1432 AC_MSG_ERROR([unsafe srcdir value: `$srcdir']);;
1435 # Do `set' in a subshell so we don't clobber the current shell's
1436 # arguments. Must try -L first in case configure is actually a
1437 # symlink; some systems play weird games with the mod time of symlinks
1438 # (eg FreeBSD returns the mod time of the symlink's containing
1441 set X `ls -Lt "$srcdir/configure" conftest.file 2> /dev/null`
1442 if test "$[*]" = "X"; then
1444 set X `ls -t "$srcdir/configure" conftest.file`
1447 if test "$[*]" != "X $srcdir/configure conftest.file" \
1448 && test "$[*]" != "X conftest.file $srcdir/configure"; then
1450 # If neither matched, then we have a broken ls. This can happen
1451 # if, for instance, CONFIG_SHELL is bash and it inherits a
1452 # broken ls alias from the environment. This has actually
1453 # happened. Such a system could not be considered "sane".
1454 AC_MSG_ERROR([ls -t appears to fail. Make sure there is not a broken
1455 alias in your environment])
1458 test "$[2]" = conftest.file
1464 AC_MSG_ERROR([newly created file is older than distributed files!
1465 Check your system clock])
1467 AC_MSG_RESULT(yes)])
1468 m4trace:/usr/share/aclocal-1.11/silent.m4:14: -1- AC_DEFUN([AM_SILENT_RULES], [AC_ARG_ENABLE([silent-rules],
1469 [ --enable-silent-rules less verbose build output (undo: `make V=1')
1470 --disable-silent-rules verbose build output (undo: `make V=0')])
1471 case $enable_silent_rules in
1472 yes) AM_DEFAULT_VERBOSITY=0;;
1473 no) AM_DEFAULT_VERBOSITY=1;;
1474 *) AM_DEFAULT_VERBOSITY=m4_if([$1], [yes], [0], [1]);;
1476 AC_SUBST([AM_DEFAULT_VERBOSITY])dnl
1478 AC_SUBST([AM_BACKSLASH])dnl
1479 _AM_SUBST_NOTMAKE([AM_BACKSLASH])dnl
1481 m4trace:/usr/share/aclocal-1.11/strip.m4:17: -1- AC_DEFUN([AM_PROG_INSTALL_STRIP], [AC_REQUIRE([AM_PROG_INSTALL_SH])dnl
1482 # Installed binaries are usually stripped using `strip' when the user
1483 # run `make install-strip'. However `strip' might not be the right
1484 # tool to use in cross-compilation environments, therefore Automake
1485 # will honor the `STRIP' environment variable to overrule this program.
1486 dnl Don't test for $cross_compiling = yes, because it might be `maybe'.
1487 if test "$cross_compiling" != no; then
1488 AC_CHECK_TOOL([STRIP], [strip], :)
1490 INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s"
1491 AC_SUBST([INSTALL_STRIP_PROGRAM])])
1492 m4trace:/usr/share/aclocal-1.11/substnot.m4:14: -1- AC_DEFUN([_AM_SUBST_NOTMAKE])
1493 m4trace:/usr/share/aclocal-1.11/substnot.m4:19: -1- AC_DEFUN([AM_SUBST_NOTMAKE], [_AM_SUBST_NOTMAKE($@)])
1494 m4trace:/usr/share/aclocal-1.11/tar.m4:24: -1- AC_DEFUN([_AM_PROG_TAR], [# Always define AMTAR for backward compatibility.
1495 AM_MISSING_PROG([AMTAR], [tar])
1497 [am__tar='${AMTAR} chof - "$$tardir"'; am__untar='${AMTAR} xf -'],
1498 [m4_case([$1], [ustar],, [pax],,
1499 [m4_fatal([Unknown tar format])])
1500 AC_MSG_CHECKING([how to create a $1 tar archive])
1501 # Loop over all known methods to create a tar archive until one works.
1502 _am_tools='gnutar m4_if([$1], [ustar], [plaintar]) pax cpio none'
1503 _am_tools=${am_cv_prog_tar_$1-$_am_tools}
1504 # Do not fold the above two line into one, because Tru64 sh and
1505 # Solaris sh will not grok spaces in the rhs of `-'.
1506 for _am_tool in $_am_tools
1510 for _am_tar in tar gnutar gtar;
1512 AM_RUN_LOG([$_am_tar --version]) && break
1514 am__tar="$_am_tar --format=m4_if([$1], [pax], [posix], [$1]) -chf - "'"$$tardir"'
1515 am__tar_="$_am_tar --format=m4_if([$1], [pax], [posix], [$1]) -chf - "'"$tardir"'
1516 am__untar="$_am_tar -xf -"
1519 # Must skip GNU tar: if it does not support --format= it doesn't create
1520 # ustar tarball either.
1521 (tar --version) >/dev/null 2>&1 && continue
1522 am__tar='tar chf - "$$tardir"'
1523 am__tar_='tar chf - "$tardir"'
1524 am__untar='tar xf -'
1527 am__tar='pax -L -x $1 -w "$$tardir"'
1528 am__tar_='pax -L -x $1 -w "$tardir"'
1532 am__tar='find "$$tardir" -print | cpio -o -H $1 -L'
1533 am__tar_='find "$tardir" -print | cpio -o -H $1 -L'
1534 am__untar='cpio -i -H $1 -d'
1543 # If the value was cached, stop now. We just wanted to have am__tar
1544 # and am__untar set.
1545 test -n "${am_cv_prog_tar_$1}" && break
1547 # tar/untar a dummy directory, and stop if the command works
1550 echo GrepMe > conftest.dir/file
1551 AM_RUN_LOG([tardir=conftest.dir && eval $am__tar_ >conftest.tar])
1553 if test -s conftest.tar; then
1554 AM_RUN_LOG([$am__untar <conftest.tar])
1555 grep GrepMe conftest.dir/file >/dev/null 2>&1 && break
1560 AC_CACHE_VAL([am_cv_prog_tar_$1], [am_cv_prog_tar_$1=$_am_tool])
1561 AC_MSG_RESULT([$am_cv_prog_tar_$1])])
1563 AC_SUBST([am__untar])
1565 m4trace:m4/gp-check-doxygen.m4:4: -1- AC_DEFUN([GP_CHECK_DOXYGEN], [dnl
1566 AC_REQUIRE([GP_CHECK_DOC_DIR])dnl
1567 AC_PATH_PROG([DOT], [dot], [false])
1568 AC_PATH_PROG([DOXYGEN], [doxygen], [false])
1569 AM_CONDITIONAL([HAVE_DOXYGEN], [test "x$DOXYGEN" != "xfalse"])
1570 AM_CONDITIONAL([HAVE_DOT], [test "x$DOT" != "xfalse"])
1571 if test "x$DOT" != "xfalse"; then
1572 AC_SUBST([HAVE_DOT],[YES])
1574 AC_SUBST([HAVE_DOT],[NO])
1576 AC_SUBST([HTML_APIDOC_DIR], ["${PACKAGE_TARNAME}-api.html"])
1577 AC_SUBST([DOXYGEN_OUTPUT_DIR], [doxygen-output])
1578 AC_SUBST([HTML_APIDOC_INTERNALS_DIR], ["${PACKAGE_TARNAME}-internals.html"])
1580 m4trace:m4/gp-check-library.m4:73: -1- AC_DEFUN([_GP_CHECK_LIBRARY_SOEXT], [dnl
1581 AC_MSG_CHECKING([for dynamic library extension])
1584 *linux*) soext=".so" ;;
1585 *sunos*) soext=".so" ;;
1586 *solaris*) soext=".so" ;;
1587 *bsd*) soext=".so" ;;
1588 *darwin*) soext=".dylib" ;;
1589 *w32*) soext=".dll" ;;
1591 if test "x$soext" = "x"; then
1593 AC_MSG_RESULT([${soext}])
1595 Host system "${host}" not recognized, defaulting to "${soext}".
1598 AC_MSG_RESULT([${soext}])
1601 m4trace:m4/gp-check-library.m4:95: -1- AC_DEFUN([_GP_CHECK_LIBRARY], [
1602 # ----------------------------------------------------------------------
1603 # [GP_CHECK_LIBRARY]([$1],[$2],[$3],
1609 # ----------------------------------------------------------------------
1611 AC_REQUIRE([GP_CONFIG_MSG])dnl
1612 AC_REQUIRE([GP_PKG_CONFIG])dnl
1613 AC_REQUIRE([_GP_CHECK_LIBRARY_SOEXT])dnl
1614 # Use _CFLAGS and _LIBS given to configure.
1615 # This makes it possible to set these vars in a configure script
1616 # and AC_CONFIG_SUBDIRS this configure.
1617 AC_ARG_VAR([$1][_CFLAGS], [CFLAGS for compiling with ][$2])dnl
1618 AC_ARG_VAR([$1][_LIBS], [LIBS to add for linking against ][$2])dnl
1620 AC_MSG_CHECKING([for ][$2][ to use])
1621 m4_ifval([$3],[REQUIREMENTS_FOR_][$1][="][$2][ $3]["],
1622 [REQUIREMENTS_FOR_][$1][="][$2]["])
1625 if test "x${[$1][_LIBS]}" = "x" && test "x${[$1][_CFLAGS]}" = "x"; then
1626 # define --with/--without argument
1627 m4_if([$8], [default-off],
1628 [m4_pushdef([gp_lib_arg],[--without-][$2])dnl
1631 [m4_pushdef([gp_lib_arg],[--with-][$2])dnl
1634 AC_ARG_WITH([$2],[AS_HELP_STRING([gp_lib_arg][=PREFIX],[where to find ][$2][, "no" or "auto"])],[try_][$1][="$withval"])
1635 if test "x${[try_][$1]}" = "xno"; then
1636 [REQUIREMENTS_FOR_][$1][=]
1638 if test "x${[try_][$1]}" = "xauto"; then [try_][$1]=autodetect; fi
1639 AC_MSG_RESULT([${try_][$1][}])
1640 m4_popdef([gp_lib_arg])dnl
1641 if test "x${[try_][$1]}" = "xautodetect"; then
1642 # OK, we have to autodetect.
1643 # We start autodetection with the cleanest known method: pkg-config
1644 if test "x${[have_][$1]}" = "xno"; then
1645 # we need that line break after the PKG_CHECK_MODULES
1647 [PKG_CHECK_MODULES([$1],[$2][ $3],[have_][$1][=yes],[:])],
1648 [PKG_CHECK_MODULES([$1],[$2], [have_][$1][=yes],[:])]
1651 # If pkg-config didn't find anything, try the libfoo-config program
1652 # certain known libraries ship with.
1653 if test "x${[have_][$1]}" = "xno"; then
1654 AC_MSG_CHECKING([$2][ config program])
1655 m4_pushdef([gp_lib_config],[m4_if([$2],[libusb],[libusb-config],
1656 [$2],[libgphoto2],[gphoto2-config],
1657 [$2],[libgphoto2_port],[gphoto2-port-config],
1659 AC_MSG_RESULT([gp_lib_config])
1660 AC_PATH_PROG([$1][_CONFIG_PROG],[gp_lib_config])
1661 if test -n "${[$1][_CONFIG_PROG]}" &&
1662 test "${[$1][_CONFIG_PROG]}" != "none"; then
1664 AC_MSG_CHECKING([for ][$2][ version according to ][gp_lib_config])
1665 m4_pushdef([gp_lib_compop],[regexp([$3], [\(>=\|>\|<\|<=\|=\)[ \t]*.*], [\1])])dnl comparison operator
1666 m4_if( gp_lib_compop,[>=],[_][$1][_COMPN="-lt"],
1667 gp_lib_compop,[>], [_][$1][_COMPN="-le"],
1668 gp_lib_compop,[<], [_][$1][_COMPN="-ge"],
1669 gp_lib_compop,[<=],[_][$1][_COMPN="-gt"],
1670 gp_lib_compop,[=], [_][$1][_COMPN="-ne"],
1671 [m4_errprint(__file__:__line__:[ Error:
1672 Illegal version comparison operator: `gp_lib_compop'
1673 It must be one of ">=", ">", "<", "<=", "=".
1675 m4_popdef([gp_lib_compop])dnl
1676 # split requested version number using m4 regexps
1677 _[$1]_REQ_1="regexp([$3], [\(>=\|>\|<\|<=\|=\)[ \t]*\([0-9]+\).*], [\2])"
1678 _[$1]_REQ_2="regexp([$3], [\(>=\|>\|<\|<=\|=\)[ \t]*\([0-9]+\)\.\([0-9]+\).*], [\3])"
1679 _[$1]_REQ_3="regexp([$3], [\(>=\|>\|<\|<=\|=\)[ \t]*\([0-9]+\)\.\([0-9]+\)\.\([0-9]+\).*], [\4])"
1680 _[$1]_REQ_4="regexp([$3], [\(>=\|>\|<\|<=\|=\)[ \t]*\([0-9]+\)\.\([0-9]+\)\.\([0-9]+\)\(.*\)], [\5])"
1681 # split installed version number via shell and sed
1682 _[$1]_VERSION="$("${[$1][_CONFIG_PROG]}" --version | sed 's/^.* //')"
1683 _[$1]_VER_1="$(echo "${_[$1]_VERSION}" | sed 's/\([[0-9]]*\).*/\1/g')"
1684 _[$1]_VER_2="$(echo "${_[$1]_VERSION}" | sed 's/\([[0-9]]*\)\.\([[0-9]]*\).*/\2/g')"
1685 _[$1]_VER_3="$(echo "${_[$1]_VERSION}" | sed 's/\([[0-9]]*\)\.\([[0-9]]*\)\.\([[0-9]]*\).*/\3/g')"
1686 _[$1]_VER_4="$(echo "${_[$1]_VERSION}" | sed 's/\([[0-9]]*\)\.\([[0-9]]*\)\.\([[0-9]]*\)\(.*\)/\4/g')"
1687 AC_MSG_RESULT([${_][$1][_VERSION}])
1689 if test "${_[$1]_VER_1}" "${_[$1]_COMPN}" "${_[$1]_REQ_1}"; then _tmp=true;
1690 elif test "${_[$1]_VER_2}" "${_[$1]_COMPN}" "${_[$1]_REQ_2}"; then _tmp=true;
1691 elif test "${_[$1]_VER_3}" "${_[$1]_COMPN}" "${_[$1]_REQ_3}"; then _tmp=true;
1692 elif test "x${_[$1]_VER_4}" = "x" && test "x${_[$1]_REQ_4}" != "x"; then _tmp=true;
1693 elif test "${_[$1]_VER_4}" "${_[$1]_COMPN}" "${_[$1]_REQ_4}"; then _tmp=true;
1695 AC_MSG_CHECKING([if ][$2][ version is matching requirement ][$3])
1698 AC_MSG_ERROR([Version requirement ][$2][ ][$3][ not met. Found: ${_][$1][_VERSION}])
1700 AC_MSG_RESULT([yes])
1702 ])dnl if version requirement given
1703 AC_MSG_CHECKING([for ][$2][ parameters from ][gp_lib_config])
1704 [$1]_LIBS="$(${[$1][_CONFIG_PROG]} --libs || echo "*error*")"
1705 [$1]_CFLAGS="$(${[$1][_CONFIG_PROG]} --cflags || echo "*error*")"
1706 if test "x${[$1]_LIBS}" = "*error*" ||
1707 test "x${[$1]_CFLAGS}" = "*error*"; then
1708 AC_MSG_RESULT([error])
1714 m4_popdef([gp_lib_config])dnl
1716 m4_ifval([$3],[# Version requirement given, so we do not rely on probing.],[
1717 # Neither pkg-config, nor the libfoo-config program have found anything.
1718 # So let's just probe the system.
1719 AC_MSG_WARN([The `$2' library could not be found using pkg-config or its known config program.
1720 No version checks will be performed if it is found using any other method.])
1721 if test "x${[have_][$1]}" = "xno"; then
1723 IFS=":" # FIXME: for W32 and OS/2 we may need ";" here
1725 ${LD_LIBRARY_PATH} \
1727 "${prefix}/lib64" "${prefix}/lib" \
1728 /usr/lib64 /usr/lib \
1729 /usr/local/lib64 /usr/local/lib \
1733 for _soext_ in .la ${soext} .a; do
1734 if test -f "${_libdir_}/[$2]${_soext_}"
1736 if test "x${_soext_}" = "x.la" ||
1737 test "x${_soext_}" = "x.a"; then
1738 [$1]_LIBS="${_libdir_}/[$2]${_soext_}"
1740 [$1]_LIBS="-L${_libdir_} -l$(echo "$2" | sed 's/^lib//')"
1745 if test "x${[$1][_LIBS]}" != "x"; then
1750 if test "x${[$1][_LIBS]}" != "x"; then
1755 elif test "x${[try_][$1]}" = "xno"; then
1758 # We've been given a prefix to look in for library $2.
1759 # We start looking for $2.la files first.
1760 AC_MSG_CHECKING([for ][$2][.la file in ${[try_][$1]}])
1761 if test -f "${[try_][$1]}/lib/[$2].la"; then
1762 [$1][_LIBS]="${[try_][$1]}/lib/[$2].la"
1763 [$1][_CFLAGS]="-I${[try_][$1]}/include"
1764 AC_MSG_RESULT([libtool file $][$1][_LIBS (good)])
1766 elif test -f "${[try_][$1]}/lib64/[$2].la"; then # HACK
1767 [$1][_LIBS]="${[try_][$1]}/lib64/[$2].la"
1768 [$1][_CFLAGS]="-I${[try_][$1]}/include"
1769 AC_MSG_RESULT([libtool file $][$1][_LIBS (good)])
1772 AC_MSG_RESULT([wild guess that something is in $try_][$1])
1773 [$1][_LIBS]="-L${[try_][$1]}/lib -l$(echo "$2" | sed 's/^lib//')"
1774 [$1][_CFLAGS]="-I${[try_][$1]}/include"
1778 * libtool file $2.la could not be found.
1779 * We may be linking against the WRONG library.
1783 elif test "x${[$1][_LIBS]}" != "x" && test "x${[$1][_CFLAGS]}" != "x"; then
1784 AC_MSG_RESULT([user-defined])
1788 AC_MSG_RESULT([broken call])
1791 * When calling configure for ${PACKAGE_TARNAME}
1793 * either set both [$1][_LIBS] *and* [$1][_CFLAGS]
1797 AC_SUBST([REQUIREMENTS_FOR_][$1])
1802 if test "x${[have_][$1]}" = "xyes"; then
1808 dnl ACTION-IF-NOT-FOUND
1811 if test "x${[have_][$1]}" = "xno"; then
1812 # ACTION-IF-NOT-FOUND
1817 dnl Run our own test compilation
1820 if test "x${[have_][$1]}" = "xyes"; then
1821 dnl AC_MSG_CHECKING([whether ][$2][ test compile succeeds])
1822 dnl AC_MSG_RESULT([${[have_][$1]}])
1823 CPPFLAGS_save="$CPPFLAGS"
1824 CPPFLAGS="${[$1]_CFLAGS}"
1825 AC_CHECK_HEADER([$4],[have_][$1][=yes],[have_][$1][=no])
1826 CPPFLAGS="$CPPFLAGS_save"
1830 dnl Run our own test link
1831 dnl Does not work for libraries which be built after configure time,
1832 dnl so we deactivate it for them (userdef_).
1835 if test "x${[userdef_][$1]}" = "xno" && test "x${[have_][$1]}" = "xyes"; then
1836 AC_MSG_CHECKING([for function ][$5][ in ][$2])
1839 AC_TRY_LINK_FUNC([$5],[],[have_][$1][=no])
1841 AC_MSG_RESULT([${[have_][$1]}])
1845 dnl Abort configure script if mandatory, but not found
1847 m4_if([$8],[mandatory],[
1848 if test "x${[have_][$1]}" = "xno"; then
1850 PKG_CONFIG_PATH=${PKG_CONFIG_PATH}
1851 [$1][_LIBS]=${[$1][_LIBS]}
1852 [$1][_CFLAGS]=${[$1][_CFLAGS]}
1854 * Fatal: ${PACKAGE_NAME} requires $2 $3 to build.
1856 * Possible solutions:
1857 * - set PKG_CONFIG_PATH to adequate value
1858 * - call configure with [$1][_LIBS]=.. and [$1][_CFLAGS]=..
1859 * - call configure with one of the --with-$2 parameters
1861 * - get $2 and install it
1863 * - get $2 and install it:
1868 dnl Abort configure script if not found and not explicitly disabled
1870 m4_if([$8],[disable-explicitly],[
1871 if test "x${[try_][$1]}" != "xno" && test "x${[have_][$1]}" = "xno"; then
1873 PKG_CONFIG_PATH=${PKG_CONFIG_PATH}
1874 [$1][_LIBS]=${[$1][_LIBS]}
1875 [$1][_CFLAGS]=${[$1][_CFLAGS]}
1877 * Fatal: ${PACKAGE_NAME} by default requires $2 $3 to build.
1878 * You must explicitly disable $2 to build ${PACKAGE_TARNAME} without it.
1880 * Possible solutions:
1881 * - call configure with --with-$2=no or --without-$2
1882 * - set PKG_CONFIG_PATH to adequate value
1883 * - call configure with [$1][_LIBS]=.. and [$1][_CFLAGS]=..
1884 * - call configure with one of the --with-$2 parameters
1886 * - get $2 and install it
1888 * - get $2 and install it:
1892 AM_CONDITIONAL([HAVE_][$1], [test "x$have_[$1]" = "xyes"])
1893 if test "x$have_[$1]" = "xyes"; then
1894 AC_DEFINE([HAVE_][$1], 1, [whether we compile with ][$2][ support])
1895 GP_CONFIG_MSG([$2],[yes])dnl
1896 AC_MSG_CHECKING([$2][ library flags])
1897 AC_MSG_RESULT(["${[$1][_LIBS]}"])
1898 AC_MSG_CHECKING([$2][ cpp flags])
1899 AC_MSG_RESULT(["${[$1][_CFLAGS]}"])
1901 GP_CONFIG_MSG([$2],[no])dnl
1903 dnl AC_SUBST is done implicitly by AC_ARG_VAR above.
1904 dnl AC_SUBST([$1][_LIBS])
1905 dnl AC_SUBST([$1][_CFLAGS])
1907 m4trace:m4/gp-check-library.m4:404: -1- AC_DEFUN([_GP_CHECK_LIBRARY_SYNTAX_ERROR], [dnl
1908 m4_errprint(__file__:__line__:[ Error:
1909 *** Calling $0 macro with old syntax
1914 m4trace:m4/gp-check-library.m4:414: -1- AC_DEFUN([GP_CHECK_LIBRARY], [dnl
1915 m4_if([$4], [mandatory], [_GP_CHECK_LIBRARY_SYNTAX_ERROR($0)],
1916 [$4], [default-enabled], [_GP_CHECK_LIBRARY_SYNTAX_ERROR($0)],
1917 [$4], [default-disabled], [_GP_CHECK_LIBRARY_SYNTAX_ERROR($0)])dnl
1918 m4_if([$8], [], [dnl
1919 _GP_CHECK_LIBRARY([$1],[$2],[$3],[$4],[$5],[$6],[$7],[mandatory],[$9])],
1920 [$8], [default-on], [dnl
1921 _GP_CHECK_LIBRARY([$1],[$2],[$3],[$4],[$5],[$6],[$7],[$8],[$9])],
1922 [$8], [disable-explicitly], [dnl
1923 _GP_CHECK_LIBRARY([$1],[$2],[$3],[$4],[$5],[$6],[$7],[$8],[$9])],
1924 [$8], [default-off], [dnl
1925 _GP_CHECK_LIBRARY([$1],[$2],[$3],[$4],[$5],[$6],[$7],[$8],[$9])],
1926 [$8], [mandatory], [dnl
1927 _GP_CHECK_LIBRARY([$1],[$2],[$3],[$4],[$5],[$6],[$7],[$8],[$9])],
1928 [m4_errprint(__file__:__line__:[ Error:
1929 Illegal argument 6 to $0: `$6'
1930 It must be one of "default-on", "default-off", "mandatory".
1933 m4trace:m4/gp-check-shell-environment.m4:9: -1- AC_DEFUN([GP_CHECK_SHELL_ENVIRONMENT], [
1934 # make sure "cd" doesn't print anything on stdout
1935 if test x"${CDPATH+set}" = xset
1941 # make sure $() command substitution works
1942 AC_MSG_CHECKING([for POSIX sh \$() command substitution])
1943 if test "x$(pwd)" = "x`pwd`" && test "y$(echo "foobar")" = "y`echo foobar`" # ''''
1945 AC_MSG_RESULT([yes])
1948 uname=`uname 2>&1` # ''
1949 uname_a=`uname -a 2>&1` # ''
1952 * POSIX sh \$() command substition does not work with this shell.
1954 * You are running a very rare species of shell. Please report this
1955 * sighting to <${PACKAGE_BUGREPORT}>:
1958 * uname-a=${uname_a}
1959 * Please also include your OS and version.
1961 * Run this configure script using a better (i.e. POSIX compliant) shell.
1965 m4_if([$1],[true],[dnl
1966 printenv | grep -E '^(LC_|LANG)'
1971 m4trace:m4/gp-config-msg.m4:30: -1- AC_DEFUN([GP_CONFIG_INIT], [dnl
1972 AC_REQUIRE([GP_CHECK_SHELL_ENVIRONMENT])
1973 dnl the empty string must contain at least as many spaces as the substr length
1974 dnl FIXME: let m4 determine that length
1975 dnl (collect left parts in array and choose largest length)
1976 m4_if([$1],[],[gp_config_len="30"],[gp_config_len="$1"])
1978 gp_config_len3="$(expr "$gp_config_len" - 3)"
1980 while test "$n" -gt 0; do
1981 gp_config_empty="${gp_config_empty} "
1982 n="$(expr "$n" - 1)"
1985 Configuration (${PACKAGE_TARNAME} ${PACKAGE_VERSION}):
1988 m4trace:m4/gp-config-msg.m4:50: -1- AC_DEFUN([GP_CONFIG_MSG], [AC_REQUIRE([GP_CONFIG_INIT])dnl
1990 gp_config_msg="${gp_config_msg}
1993 gp_config_msg="${gp_config_msg}
1997 gp_config_msg_len="$(expr "[$1]" : '.*')"
1998 if test "$gp_config_msg_len" -ge "$gp_config_len"; then
1999 gp_config_msg_lhs="$(expr "[$1]" : "\(.\{0,${gp_config_len3}\}\)")..:"
2001 gp_config_msg_lhs="$(expr "[$1]:${gp_config_empty}" : "\(.\{0,${gp_config_len}\}\)")"
2003 gp_config_msg="${gp_config_msg} ${gp_config_msg_lhs} [$2]
2006 m4trace:m4/gp-config-msg.m4:70: -1- AC_DEFUN([GP_CONFIG_MSG_SUBDIRS], [dnl
2007 # Message about configured subprojects
2008 if test "x$subdirs" != "x"; then
2011 for sd in $subdirs; do
2012 ssd="$(basename "$sd")"
2013 if test "x$_subdirs" = "x"; then
2016 _subdirs="$_subdirs $ssd"
2019 GP_CONFIG_MSG([Subprojects],[${_subdirs}])dnl
2022 m4trace:m4/gp-config-msg.m4:87: -1- AC_DEFUN([GP_CONFIG_OUTPUT], [AC_REQUIRE([GP_CONFIG_INIT])dnl
2023 AC_REQUIRE([GP_CONFIG_MSG])dnl
2024 AC_REQUIRE([GP_CONFIG_MSG_SUBDIRS])dnl
2025 echo "${gp_config_msg}
2026 You may run \"make\" and \"make install\" now."
2028 m4trace:m4/gp-documentation.m4:8: -1- AC_DEFUN([GP_CHECK_DOC_DIR], [
2029 AC_BEFORE([$0], [GP_BUILD_GTK_DOCS])dnl
2030 AC_BEFORE([$0], [GP_CHECK_DOXYGEN])dnl
2032 AC_ARG_WITH([doc-dir],
2033 [AS_HELP_STRING([--with-doc-dir=PATH],
2034 [Where to install docs [default=autodetect]])])
2036 # check for the main ("root") documentation directory
2037 AC_MSG_CHECKING([main docdir])
2039 if test "x${with_doc_dir}" != "x"
2040 then # docdir is given as parameter
2041 docdir="${with_doc_dir}"
2042 AC_MSG_RESULT([${docdir} (from parameter)])
2043 else # otherwise invent a docdir hopefully compatible with system policy
2044 if test -d "/usr/share/doc"
2046 maindocdir='${prefix}/share/doc'
2047 AC_MSG_RESULT([${maindocdir} (FHS style)])
2048 elif test -d "/usr/doc"
2050 maindocdir='${prefix}/doc'
2051 AC_MSG_RESULT([${maindocdir} (old style)])
2053 maindocdir='${datadir}/doc'
2054 AC_MSG_RESULT([${maindocdir} (default value)])
2056 AC_MSG_CHECKING([package docdir])
2057 # check whether to include package version into documentation path
2058 # FIXME: doesn't work properly.
2059 if ls -d /usr/{share/,}doc/make-[0-9]* > /dev/null 2>&1
2061 docdir="${maindocdir}/${PACKAGE}-${VERSION}"
2062 AC_MSG_RESULT([${docdir} (redhat style)])
2064 docdir="${maindocdir}/${PACKAGE}"
2065 AC_MSG_RESULT([${docdir} (default style)])
2071 m4trace:m4/gp-documentation.m4:60: -1- AC_DEFUN([GP_BUILD_GTK_DOCS], [
2072 # docdir has to be determined in advance
2073 AC_REQUIRE([GP_CHECK_DOC_DIR])
2075 # ---------------------------------------------------------------------------
2076 # gtk-doc: We use gtk-doc for building our documentation. However, we
2077 # require the user to explicitely request the build.
2078 # ---------------------------------------------------------------------------
2080 gtkdoc_msg="no (not requested)"
2082 AC_ARG_ENABLE([docs],
2083 [AS_HELP_STRING([--enable-docs],
2084 [Use gtk-doc to build documentation [default=no]])],[
2085 if test x$enableval = xyes; then
2089 if $try_gtkdoc; then
2090 AC_PATH_PROG([GTKDOC],[gtkdoc-mkdb])
2091 if test -n "${GTKDOC}"; then
2095 gtkdoc_msg="no (http://www.gtk.org/rdp/download.html)"
2098 AM_CONDITIONAL([ENABLE_GTK_DOC], [$have_gtkdoc])
2099 GP_CONFIG_MSG([build API docs with gtk-doc],[$gtkdoc_msg])
2102 # ---------------------------------------------------------------------------
2103 # Give the user the possibility to install html documentation in a
2104 # user-defined location.
2105 # ---------------------------------------------------------------------------
2106 AC_ARG_WITH([html-dir],
2107 [AS_HELP_STRING([--with-html-dir=PATH],
2108 [Where to install html docs [default=autodetect]])])
2110 AC_MSG_CHECKING([for html dir])
2111 if test "x${with_html_dir}" = "x" ; then
2112 htmldir="${docdir}/html"
2113 AC_MSG_RESULT([${htmldir} (default)])
2115 htmldir="${with_html_dir}"
2116 AC_MSG_RESULT([${htmldir} (from parameter)])
2119 apidocdir="${htmldir}/api"
2120 AC_SUBST([apidocdir])
2123 m4trace:m4/gp-gettext-hack.m4:23: -1- AC_DEFUN([GP_GETTEXT_HACK], [
2124 AC_BEFORE([$0], [AM_GNU_GETTEXT])dnl
2125 AC_BEFORE([$0], [AM_GNU_GETTEXT_VERSION])dnl
2126 m4_if([$1],[],[GETTEXT_PACKAGE="${PACKAGE_TARNAME}"],[GETTEXT_PACKAGE="$1"])
2127 AC_DEFINE_UNQUOTED([GETTEXT_PACKAGE], ["$GETTEXT_PACKAGE"],
2128 [The gettext domain we're using])
2129 AC_SUBST([GETTEXT_PACKAGE])
2130 sed_cmds="s|^DOMAIN.*|DOMAIN = ${GETTEXT_PACKAGE}|"
2131 m4_if([$2],[],[],[sed_cmds="${sed_cmds};s|^COPYRIGHT_HOLDER.*|COPYRIGHT_HOLDER = $2|"])
2133 if test -n "$PACKAGE_BUGREPORT"; then
2134 sed_mb="${PACKAGE_BUGREPORT}"
2137 *** Your configure.{ac,in} is wrong.
2138 *** Either define PACKAGE_BUGREPORT (by using the 4-parameter AC INIT syntax)
2139 *** or give [GP_GETTEXT_HACK] the third parameter.
2146 sed_cmds="${sed_cmds};s|^MSGID_BUGS_ADDRESS.*|MSGID_BUGS_ADDRESS = ${sed_mb}|"
2147 # Not so sure whether this hack is all *that* evil...
2148 AC_MSG_CHECKING([for po/Makevars requiring hack])
2149 if test -f "${srcdir}/po/Makevars.template"; then
2150 sed "$sed_cmds" < "${srcdir}/po/Makevars.template" > "${srcdir}/po/Makevars"
2151 AC_MSG_RESULT([yes, done.])
2156 m4trace:m4/gp-gettext-hack.m4:58: -1- AC_DEFUN([GP_GETTEXT_FLAGS], [
2157 AC_REQUIRE([AM_GNU_GETTEXT])
2158 AC_REQUIRE([GP_CONFIG_INIT])
2159 if test "x${BUILD_INCLUDED_LIBINTL}" = "xyes"; then
2160 AM_CFLAGS="${AM_CFLAGS} -I\$(top_srcdir)/intl"
2162 GP_CONFIG_MSG([Use translations],[${USE_NLS}])
2163 if test "x$USE_NLS" = "xyes" && test "${BUILD_INCLUDED_LIBINTL}"; then
2164 GP_CONFIG_MSG([Use included libintl],[${BUILD_INCLUDED_LIBINTL}])
2167 m4trace:m4/gp-pkg-config.m4:5: -1- AC_DEFUN([GP_PKG_CONFIG], [
2171 AC_ARG_VAR([PKG_CONFIG],[pkg-config package config utility])
2173 AC_ARG_VAR([PKG_CONFIG_PATH],[directory where pkg-config looks for *.pc files])
2174 export PKG_CONFIG_PATH
2176 AC_MSG_CHECKING([PKG_CONFIG_PATH])
2177 if test "x${PKG_CONFIG_PATH}" = "x"; then
2178 AC_MSG_RESULT([empty])
2180 AC_MSG_RESULT([${PKG_CONFIG_PATH}])
2183 dnl AC_REQUIRE([PKG_CHECK_MODULES])
2184 AC_PATH_PROG([PKG_CONFIG],[pkg-config],[false])
2185 if test "$PKG_CONFIG" = "false"; then
2187 *** Build requires pkg-config
2189 *** Possible solutions:
2190 *** - set PKG_CONFIG to where your pkg-config is located
2191 *** - set PATH to include the directory where pkg-config is installed
2192 *** - get it from http://freedesktop.org/software/pkgconfig/ and install it
2196 m4trace:m4/gp-references.m4:8: -1- AC_DEFUN([GP_REF], [
2197 AC_SUBST([$1],["$2"])
2198 AC_DEFINE_UNQUOTED([$1],["$2"],[$3])
2200 m4trace:m4/gp-references.m4:13: -1- AC_DEFUN([GP_REFERENCES], [
2202 GP_REF( [URL_GPHOTO_HOME],
2203 [http://www.gphoto.org/],
2204 [gphoto project home page])dnl
2206 GP_REF( [URL_GPHOTO_PROJECT],
2207 [http://sourceforge.net/projects/gphoto],
2208 [gphoto sourceforge project page])
2210 GP_REF( [URL_DIGICAM_LIST],
2211 [http://www.teaser.fr/~hfiguiere/linux/digicam.html],
2212 [camera list with support status])
2214 GP_REF( [URL_JPHOTO_HOME],
2215 [http://jphoto.sourceforge.net/],
2218 GP_REF( [URL_USB_MASSSTORAGE],
2219 [http://www.linux-usb.org/USB-guide/x498.html],
2220 [information about using USB mass storage])
2222 GP_REF( [MAIL_GPHOTO_DEVEL],
2223 [<gphoto-devel@lists.sourceforge.net>],
2224 [gphoto development mailing list])
2226 GP_REF( [MAIL_GPHOTO_USER],
2227 [<gphoto-user@lists.sourceforge.net>],
2228 [gphoto user mailing list])
2230 GP_REF( [MAIL_GPHOTO_TRANSLATION],
2231 [<gphoto-translation@lists.sourceforge.net>],
2232 [gphoto translation mailing list])
2235 m4trace:m4/gp-udev.m4:4: -1- AC_DEFUN([GP_UDEV], [dnl
2236 if test "x${udevscriptdir}" = "x"; then udevscriptdir="\${libdir}/udev"; fi
2237 AC_ARG_VAR([udevscriptdir],[Directory where udev scripts like check-ptp-camera will be installed])
2238 AC_SUBST([udevscriptdir])
2239 AM_CONDITIONAL([HAVE_UDEV],[if echo "$host"|grep -i linux >/dev/null ; then $1; fi ])
2241 m4trace:m4/gp-va-copy.m4:18: -1- AC_DEFUN([GP_VA_COPY], [dnl
2243 AC_CHECK_HEADER([stdarg.h],[],[
2245 Building $PACKAGE_NAME requires <stdarg.h>.
2256 have_va_copy="va_copy"
2264 have_va_copy="__va_copy"
2265 AC_DEFINE([va_copy],[__va_copy],[__va_copy() was the originally proposed name])
2269 AC_MSG_CHECKING([for va_copy() or replacement])
2270 AC_MSG_RESULT([$have_va_copy])
2272 if test "x$have_va_copy" != "xno"; then
2273 AC_DEFINE([HAVE_VA_COPY],1,[Whether we have the va_copy() function])
2276 m4trace:auto-m4/gettext.m4:59: -1- AC_DEFUN([AM_GNU_GETTEXT], [
2277 dnl Argument checking.
2278 ifelse([$1], [], , [ifelse([$1], [external], , [ifelse([$1], [no-libtool], , [ifelse([$1], [use-libtool], ,
2279 [errprint([ERROR: invalid first argument to AM_GNU_GETTEXT
2281 ifelse([$2], [], , [ifelse([$2], [need-ngettext], , [ifelse([$2], [need-formatstring-macros], ,
2282 [errprint([ERROR: invalid second argument to AM_GNU_GETTEXT
2284 define(gt_included_intl, ifelse([$1], [external], [no], [yes]))
2285 define(gt_libtool_suffix_prefix, ifelse([$1], [use-libtool], [l], []))
2287 AC_REQUIRE([AM_PO_SUBDIRS])dnl
2288 ifelse(gt_included_intl, yes, [
2289 AC_REQUIRE([AM_INTL_SUBDIR])dnl
2292 dnl Prerequisites of AC_LIB_LINKFLAGS_BODY.
2293 AC_REQUIRE([AC_LIB_PREPARE_PREFIX])
2294 AC_REQUIRE([AC_LIB_RPATH])
2296 dnl Sometimes libintl requires libiconv, so first search for libiconv.
2297 dnl Ideally we would do this search only after the
2298 dnl if test "$USE_NLS" = "yes"; then
2299 dnl if test "$gt_cv_func_gnugettext_libc" != "yes"; then
2300 dnl tests. But if configure.in invokes AM_ICONV after AM_GNU_GETTEXT
2301 dnl the configure script would need to contain the same shell code
2302 dnl again, outside any 'if'. There are two solutions:
2303 dnl - Invoke AM_ICONV_LINKFLAGS_BODY here, outside any 'if'.
2304 dnl - Control the expansions in more detail using AC_PROVIDE_IFELSE.
2305 dnl Since AC_PROVIDE_IFELSE is only in autoconf >= 2.52 and not
2306 dnl documented, we avoid it.
2307 ifelse(gt_included_intl, yes, , [
2308 AC_REQUIRE([AM_ICONV_LINKFLAGS_BODY])
2314 ifelse(gt_included_intl, yes, [
2315 BUILD_INCLUDED_LIBINTL=no
2316 USE_INCLUDED_LIBINTL=no
2322 dnl If we use NLS figure out what method
2323 if test "$USE_NLS" = "yes"; then
2324 gt_use_preinstalled_gnugettext=no
2325 ifelse(gt_included_intl, yes, [
2326 AC_MSG_CHECKING([whether included gettext is requested])
2327 AC_ARG_WITH(included-gettext,
2328 [ --with-included-gettext use the GNU gettext library included here],
2329 nls_cv_force_use_gnu_gettext=$withval,
2330 nls_cv_force_use_gnu_gettext=no)
2331 AC_MSG_RESULT($nls_cv_force_use_gnu_gettext)
2333 nls_cv_use_gnu_gettext="$nls_cv_force_use_gnu_gettext"
2334 if test "$nls_cv_force_use_gnu_gettext" != "yes"; then
2336 dnl User does not insist on using GNU NLS library. Figure out what
2337 dnl to use. If GNU gettext is available we use this. Else we have
2338 dnl to fall back to GNU NLS library.
2340 dnl Add a version number to the cache macros.
2341 define([gt_api_version], ifelse([$2], [need-formatstring-macros], 3, ifelse([$2], [need-ngettext], 2, 1)))
2342 define([gt_cv_func_gnugettext_libc], [gt_cv_func_gnugettext]gt_api_version[_libc])
2343 define([gt_cv_func_gnugettext_libintl], [gt_cv_func_gnugettext]gt_api_version[_libintl])
2345 AC_CACHE_CHECK([for GNU gettext in libc], gt_cv_func_gnugettext_libc,
2346 [AC_TRY_LINK([#include <libintl.h>
2347 ]ifelse([$2], [need-formatstring-macros],
2348 [#ifndef __GNU_GETTEXT_SUPPORTED_REVISION
2349 #define __GNU_GETTEXT_SUPPORTED_REVISION(major) ((major) == 0 ? 0 : -1)
2352 typedef int array [2 * (__GNU_GETTEXT_SUPPORTED_REVISION(0) >= 1) - 1];
2354 ], [])[extern int _nl_msg_cat_cntr;
2355 extern int *_nl_domain_bindings;],
2356 [bindtextdomain ("", "");
2357 return (long) gettext ("")]ifelse([$2], [need-ngettext], [ + (long) ngettext ("", "", 0)], [])[ + _nl_msg_cat_cntr + *_nl_domain_bindings],
2358 gt_cv_func_gnugettext_libc=yes,
2359 gt_cv_func_gnugettext_libc=no)])
2361 if test "$gt_cv_func_gnugettext_libc" != "yes"; then
2362 dnl Sometimes libintl requires libiconv, so first search for libiconv.
2363 ifelse(gt_included_intl, yes, , [
2366 dnl Search for libintl and define LIBINTL, LTLIBINTL and INCINTL
2367 dnl accordingly. Don't use AC_LIB_LINKFLAGS_BODY([intl],[iconv])
2368 dnl because that would add "-liconv" to LIBINTL and LTLIBINTL
2369 dnl even if libiconv doesn't exist.
2370 AC_LIB_LINKFLAGS_BODY([intl])
2371 AC_CACHE_CHECK([for GNU gettext in libintl],
2372 gt_cv_func_gnugettext_libintl,
2373 [gt_save_CPPFLAGS="$CPPFLAGS"
2374 CPPFLAGS="$CPPFLAGS $INCINTL"
2375 gt_save_LIBS="$LIBS"
2376 LIBS="$LIBS $LIBINTL"
2377 dnl Now see whether libintl exists and does not depend on libiconv.
2378 AC_TRY_LINK([#include <libintl.h>
2379 ]ifelse([$2], [need-formatstring-macros],
2380 [#ifndef __GNU_GETTEXT_SUPPORTED_REVISION
2381 #define __GNU_GETTEXT_SUPPORTED_REVISION(major) ((major) == 0 ? 0 : -1)
2384 typedef int array [2 * (__GNU_GETTEXT_SUPPORTED_REVISION(0) >= 1) - 1];
2386 ], [])[extern int _nl_msg_cat_cntr;
2391 const char *_nl_expand_alias ();],
2392 [bindtextdomain ("", "");
2393 return (long) gettext ("")]ifelse([$2], [need-ngettext], [ + (long) ngettext ("", "", 0)], [])[ + _nl_msg_cat_cntr + *_nl_expand_alias (0)],
2394 gt_cv_func_gnugettext_libintl=yes,
2395 gt_cv_func_gnugettext_libintl=no)
2396 dnl Now see whether libintl exists and depends on libiconv.
2397 if test "$gt_cv_func_gnugettext_libintl" != yes && test -n "$LIBICONV"; then
2398 LIBS="$LIBS $LIBICONV"
2399 AC_TRY_LINK([#include <libintl.h>
2400 ]ifelse([$2], [need-formatstring-macros],
2401 [#ifndef __GNU_GETTEXT_SUPPORTED_REVISION
2402 #define __GNU_GETTEXT_SUPPORTED_REVISION(major) ((major) == 0 ? 0 : -1)
2405 typedef int array [2 * (__GNU_GETTEXT_SUPPORTED_REVISION(0) >= 1) - 1];
2407 ], [])[extern int _nl_msg_cat_cntr;
2412 const char *_nl_expand_alias ();],
2413 [bindtextdomain ("", "");
2414 return (long) gettext ("")]ifelse([$2], [need-ngettext], [ + (long) ngettext ("", "", 0)], [])[ + _nl_msg_cat_cntr + *_nl_expand_alias (0)],
2415 [LIBINTL="$LIBINTL $LIBICONV"
2416 LTLIBINTL="$LTLIBINTL $LTLIBICONV"
2417 gt_cv_func_gnugettext_libintl=yes
2420 CPPFLAGS="$gt_save_CPPFLAGS"
2421 LIBS="$gt_save_LIBS"])
2424 dnl If an already present or preinstalled GNU gettext() is found,
2425 dnl use it. But if this macro is used in GNU gettext, and GNU
2426 dnl gettext is already preinstalled in libintl, we update this
2427 dnl libintl. (Cf. the install rule in intl/Makefile.in.)
2428 if test "$gt_cv_func_gnugettext_libc" = "yes" \
2429 || { test "$gt_cv_func_gnugettext_libintl" = "yes" \
2430 && test "$PACKAGE" != gettext-runtime \
2431 && test "$PACKAGE" != gettext-tools; }; then
2432 gt_use_preinstalled_gnugettext=yes
2434 dnl Reset the values set by searching for libintl.
2440 ifelse(gt_included_intl, yes, [
2441 if test "$gt_use_preinstalled_gnugettext" != "yes"; then
2442 dnl GNU gettext is not found in the C library.
2443 dnl Fall back on included GNU gettext library.
2444 nls_cv_use_gnu_gettext=yes
2448 if test "$nls_cv_use_gnu_gettext" = "yes"; then
2449 dnl Mark actions used to generate GNU NLS library.
2450 BUILD_INCLUDED_LIBINTL=yes
2451 USE_INCLUDED_LIBINTL=yes
2452 LIBINTL="ifelse([$3],[],\${top_builddir}/intl,[$3])/libintl.[]gt_libtool_suffix_prefix[]a $LIBICONV"
2453 LTLIBINTL="ifelse([$3],[],\${top_builddir}/intl,[$3])/libintl.[]gt_libtool_suffix_prefix[]a $LTLIBICONV"
2454 LIBS=`echo " $LIBS " | sed -e 's/ -lintl / /' -e 's/^ //' -e 's/ $//'`
2457 if test "$gt_use_preinstalled_gnugettext" = "yes" \
2458 || test "$nls_cv_use_gnu_gettext" = "yes"; then
2459 dnl Mark actions to use GNU gettext tools.
2464 if test "$gt_use_preinstalled_gnugettext" = "yes" \
2465 || test "$nls_cv_use_gnu_gettext" = "yes"; then
2466 AC_DEFINE(ENABLE_NLS, 1,
2467 [Define to 1 if translation of program messages to the user's native language
2474 AC_MSG_CHECKING([whether to use NLS])
2475 AC_MSG_RESULT([$USE_NLS])
2476 if test "$USE_NLS" = "yes"; then
2477 AC_MSG_CHECKING([where the gettext function comes from])
2478 if test "$gt_use_preinstalled_gnugettext" = "yes"; then
2479 if test "$gt_cv_func_gnugettext_libintl" = "yes"; then
2480 gt_source="external libintl"
2485 gt_source="included intl directory"
2487 AC_MSG_RESULT([$gt_source])
2490 if test "$USE_NLS" = "yes"; then
2492 if test "$gt_use_preinstalled_gnugettext" = "yes"; then
2493 if test "$gt_cv_func_gnugettext_libintl" = "yes"; then
2494 AC_MSG_CHECKING([how to link with libintl])
2495 AC_MSG_RESULT([$LIBINTL])
2496 AC_LIB_APPENDTOVAR([CPPFLAGS], [$INCINTL])
2499 dnl For backward compatibility. Some packages may be using this.
2500 AC_DEFINE(HAVE_GETTEXT, 1,
2501 [Define if the GNU gettext() function is already present or preinstalled.])
2502 AC_DEFINE(HAVE_DCGETTEXT, 1,
2503 [Define if the GNU dcgettext() function is already present or preinstalled.])
2506 dnl We need to process the po/ directory.
2510 ifelse(gt_included_intl, yes, [
2511 dnl If this is used in GNU gettext we have to set BUILD_INCLUDED_LIBINTL
2512 dnl to 'yes' because some of the testsuite requires it.
2513 if test "$PACKAGE" = gettext-runtime || test "$PACKAGE" = gettext-tools; then
2514 BUILD_INCLUDED_LIBINTL=yes
2517 dnl Make all variables we use known to autoconf.
2518 AC_SUBST(BUILD_INCLUDED_LIBINTL)
2519 AC_SUBST(USE_INCLUDED_LIBINTL)
2522 dnl For backward compatibility. Some configure.ins may be using this.
2524 nls_cv_header_libgt=
2526 dnl For backward compatibility. Some Makefiles may be using this.
2528 AC_SUBST(DATADIRNAME)
2530 dnl For backward compatibility. Some Makefiles may be using this.
2532 AC_SUBST(INSTOBJEXT)
2534 dnl For backward compatibility. Some Makefiles may be using this.
2538 dnl For backward compatibility. Some Makefiles may be using this.
2539 if test "$USE_INCLUDED_LIBINTL" = yes; then
2540 INTLOBJS="\$(GETTOBJS)"
2544 dnl Enable libtool support if the surrounding package wishes it.
2545 INTL_LIBTOOL_SUFFIX_PREFIX=gt_libtool_suffix_prefix
2546 AC_SUBST(INTL_LIBTOOL_SUFFIX_PREFIX)
2549 dnl For backward compatibility. Some Makefiles may be using this.
2553 dnl Make all documented variables known to autoconf.
2558 m4trace:auto-m4/gettext.m4:347: -1- AC_DEFUN([AM_INTL_SUBDIR], [
2559 AC_REQUIRE([AC_PROG_INSTALL])dnl
2560 AC_REQUIRE([AM_MKINSTALLDIRS])dnl
2561 AC_REQUIRE([AC_PROG_CC])dnl
2562 AC_REQUIRE([AC_CANONICAL_HOST])dnl
2563 AC_REQUIRE([AC_PROG_RANLIB])dnl
2564 AC_REQUIRE([AC_ISC_POSIX])dnl
2565 AC_REQUIRE([AC_HEADER_STDC])dnl
2566 AC_REQUIRE([AC_C_CONST])dnl
2567 AC_REQUIRE([bh_C_SIGNED])dnl
2568 AC_REQUIRE([AC_C_INLINE])dnl
2569 AC_REQUIRE([AC_TYPE_OFF_T])dnl
2570 AC_REQUIRE([AC_TYPE_SIZE_T])dnl
2571 AC_REQUIRE([jm_AC_TYPE_LONG_LONG])dnl
2572 AC_REQUIRE([gt_TYPE_LONGDOUBLE])dnl
2573 AC_REQUIRE([gt_TYPE_WCHAR_T])dnl
2574 AC_REQUIRE([gt_TYPE_WINT_T])dnl
2575 AC_REQUIRE([jm_AC_HEADER_INTTYPES_H])
2576 AC_REQUIRE([jm_AC_HEADER_STDINT_H])
2577 AC_REQUIRE([gt_TYPE_INTMAX_T])
2578 AC_REQUIRE([gt_PRINTF_POSIX])
2579 AC_REQUIRE([AC_FUNC_ALLOCA])dnl
2580 AC_REQUIRE([AC_FUNC_MMAP])dnl
2581 AC_REQUIRE([jm_GLIBC21])dnl
2582 AC_REQUIRE([gt_INTDIV0])dnl
2583 AC_REQUIRE([jm_AC_TYPE_UINTMAX_T])dnl
2584 AC_REQUIRE([gt_HEADER_INTTYPES_H])dnl
2585 AC_REQUIRE([gt_INTTYPES_PRI])dnl
2586 AC_REQUIRE([gl_XSIZE])dnl
2588 AC_CHECK_TYPE([ptrdiff_t], ,
2589 [AC_DEFINE([ptrdiff_t], [long],
2590 [Define as the type of the result of subtracting two pointers, if the system doesn't define it.])
2592 AC_CHECK_HEADERS([argz.h limits.h locale.h nl_types.h malloc.h stddef.h \
2593 stdlib.h string.h unistd.h sys/param.h])
2594 AC_CHECK_FUNCS([asprintf fwprintf getcwd getegid geteuid getgid getuid \
2595 mempcpy munmap putenv setenv setlocale snprintf stpcpy strcasecmp strdup \
2596 strtoul tsearch wcslen __argz_count __argz_stringify __argz_next \
2599 dnl Use the _snprintf function only if it is declared (because on NetBSD it
2600 dnl is defined as a weak alias of snprintf; we prefer to use the latter).
2601 gt_CHECK_DECL(_snprintf, [#include <stdio.h>])
2602 gt_CHECK_DECL(_snwprintf, [#include <stdio.h>])
2604 dnl Use the *_unlocked functions only if they are declared.
2605 dnl (because some of them were defined without being declared in Solaris
2606 dnl 2.5.1 but were removed in Solaris 2.6, whereas we want binaries built
2607 dnl on Solaris 2.5.1 to run on Solaris 2.6).
2608 dnl Don't use AC_CHECK_DECLS because it isn't supported in autoconf-2.13.
2609 gt_CHECK_DECL(feof_unlocked, [#include <stdio.h>])
2610 gt_CHECK_DECL(fgets_unlocked, [#include <stdio.h>])
2611 gt_CHECK_DECL(getc_unlocked, [#include <stdio.h>])
2613 case $gt_cv_func_printf_posix in
2614 *yes) HAVE_POSIX_PRINTF=1 ;;
2615 *) HAVE_POSIX_PRINTF=0 ;;
2617 AC_SUBST([HAVE_POSIX_PRINTF])
2618 if test "$ac_cv_func_asprintf" = yes; then
2623 AC_SUBST([HAVE_ASPRINTF])
2624 if test "$ac_cv_func_snprintf" = yes; then
2629 AC_SUBST([HAVE_SNPRINTF])
2630 if test "$ac_cv_func_wprintf" = yes; then
2635 AC_SUBST([HAVE_WPRINTF])
2639 if test $ac_cv_header_locale_h = yes; then
2643 dnl intl/plural.c is generated from intl/plural.y. It requires bison,
2644 dnl because plural.y uses bison specific features. It requires at least
2645 dnl bison-1.26 because earlier versions generate a plural.c that doesn't
2647 dnl bison is only needed for the maintainer (who touches plural.y). But in
2648 dnl order to avoid separate Makefiles or --enable-maintainer-mode, we put
2649 dnl the rule in general Makefile. Now, some people carelessly touch the
2650 dnl files or have a broken "make" program, hence the plural.c rule will
2651 dnl sometimes fire. To avoid an error, defines BISON to ":" if it is not
2652 dnl present or too old.
2653 AC_CHECK_PROGS([INTLBISON], [bison])
2654 if test -z "$INTLBISON"; then
2657 dnl Found it, now check the version.
2658 AC_MSG_CHECKING([version of bison])
2659 changequote(<<,>>)dnl
2660 ac_prog_version=`$INTLBISON --version 2>&1 | sed -n 's/^.*GNU Bison.* \([0-9]*\.[0-9.]*\).*$/\1/p'`
2661 case $ac_prog_version in
2662 '') ac_prog_version="v. ?.??, bad"; ac_verc_fail=yes;;
2663 1.2[6-9]* | 1.[3-9][0-9]* | [2-9].*)
2665 ac_prog_version="$ac_prog_version, ok"; ac_verc_fail=no;;
2666 *) ac_prog_version="$ac_prog_version, bad"; ac_verc_fail=yes;;
2668 AC_MSG_RESULT([$ac_prog_version])
2670 if test $ac_verc_fail = yes; then
2674 m4trace:auto-m4/gettext.m4:468: -1- AC_DEFUN([gt_CHECK_DECL], [
2675 AC_CACHE_CHECK([whether $1 is declared], ac_cv_have_decl_$1,
2676 [AC_TRY_COMPILE([$2], [
2678 char *p = (char *) $1;
2680 ], ac_cv_have_decl_$1=yes, ac_cv_have_decl_$1=no)])
2681 if test $ac_cv_have_decl_$1 = yes; then
2686 AC_DEFINE_UNQUOTED([HAVE_DECL_]translit($1, [a-z], [A-Z]), [$gt_value],
2687 [Define to 1 if you have the declaration of `$1', and to 0 if you don't.])
2689 m4trace:auto-m4/gettext.m4:487: -1- AC_DEFUN([AM_GNU_GETTEXT_VERSION], [])
2690 m4trace:auto-m4/iconv.m4:11: -1- AC_DEFUN([AM_ICONV_LINKFLAGS_BODY], [
2691 dnl Prerequisites of AC_LIB_LINKFLAGS_BODY.
2692 AC_REQUIRE([AC_LIB_PREPARE_PREFIX])
2693 AC_REQUIRE([AC_LIB_RPATH])
2695 dnl Search for libiconv and define LIBICONV, LTLIBICONV and INCICONV
2697 AC_LIB_LINKFLAGS_BODY([iconv])
2699 m4trace:auto-m4/iconv.m4:22: -1- AC_DEFUN([AM_ICONV_LINK], [
2700 dnl Some systems have iconv in libc, some have it in libiconv (OSF/1 and
2701 dnl those with the standalone portable GNU libiconv installed).
2703 dnl Search for libiconv and define LIBICONV, LTLIBICONV and INCICONV
2705 AC_REQUIRE([AM_ICONV_LINKFLAGS_BODY])
2707 dnl Add $INCICONV to CPPFLAGS before performing the following checks,
2708 dnl because if the user has installed libiconv and not disabled its use
2709 dnl via --without-libiconv-prefix, he wants to use it. The first
2710 dnl AC_TRY_LINK will then fail, the second AC_TRY_LINK will succeed.
2711 am_save_CPPFLAGS="$CPPFLAGS"
2712 AC_LIB_APPENDTOVAR([CPPFLAGS], [$INCICONV])
2714 AC_CACHE_CHECK(for iconv, am_cv_func_iconv, [
2715 am_cv_func_iconv="no, consider installing GNU libiconv"
2717 AC_TRY_LINK([#include <stdlib.h>
2718 #include <iconv.h>],
2719 [iconv_t cd = iconv_open("","");
2720 iconv(cd,NULL,NULL,NULL,NULL);
2722 am_cv_func_iconv=yes)
2723 if test "$am_cv_func_iconv" != yes; then
2724 am_save_LIBS="$LIBS"
2725 LIBS="$LIBS $LIBICONV"
2726 AC_TRY_LINK([#include <stdlib.h>
2727 #include <iconv.h>],
2728 [iconv_t cd = iconv_open("","");
2729 iconv(cd,NULL,NULL,NULL,NULL);
2732 am_cv_func_iconv=yes)
2733 LIBS="$am_save_LIBS"
2736 if test "$am_cv_func_iconv" = yes; then
2737 AC_DEFINE(HAVE_ICONV, 1, [Define if you have the iconv() function.])
2739 if test "$am_cv_lib_iconv" = yes; then
2740 AC_MSG_CHECKING([how to link with libiconv])
2741 AC_MSG_RESULT([$LIBICONV])
2743 dnl If $LIBICONV didn't lead to a usable library, we don't need $INCICONV
2745 CPPFLAGS="$am_save_CPPFLAGS"
2750 AC_SUBST(LTLIBICONV)
2752 m4trace:auto-m4/iconv.m4:77: -1- AC_DEFUN([AM_ICONV], [
2754 if test "$am_cv_func_iconv" = yes; then
2755 AC_MSG_CHECKING([for iconv declaration])
2756 AC_CACHE_VAL(am_cv_proto_iconv, [
2764 #if defined(__STDC__) || defined(__cplusplus)
2765 size_t iconv (iconv_t cd, char * *inbuf, size_t *inbytesleft, char * *outbuf, size_t *outbytesleft);
2769 ], [], am_cv_proto_iconv_arg1="", am_cv_proto_iconv_arg1="const")
2770 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);"])
2771 am_cv_proto_iconv=`echo "[$]am_cv_proto_iconv" | tr -s ' ' | sed -e 's/( /(/'`
2772 AC_MSG_RESULT([$]{ac_t:-
2773 }[$]am_cv_proto_iconv)
2774 AC_DEFINE_UNQUOTED(ICONV_CONST, $am_cv_proto_iconv_arg1,
2775 [Define as const if the declaration of iconv() needs const.])
2778 m4trace:auto-m4/lib-ld.m4:14: -1- AC_DEFUN([AC_LIB_PROG_LD_GNU], [AC_CACHE_CHECK([if the linker ($LD) is GNU ld], acl_cv_prog_gnu_ld,
2779 [# I'd rather use --version here, but apparently some GNU ld's only accept -v.
2780 case `$LD -v 2>&1 </dev/null` in
2781 *GNU* | *'with BFD'*)
2782 acl_cv_prog_gnu_ld=yes ;;
2784 acl_cv_prog_gnu_ld=no ;;
2786 with_gnu_ld=$acl_cv_prog_gnu_ld
2788 m4trace:auto-m4/lib-ld.m4:27: -1- AC_DEFUN([AC_LIB_PROG_LD], [AC_ARG_WITH(gnu-ld,
2789 [ --with-gnu-ld assume the C compiler uses GNU ld [default=no]],
2790 test "$withval" = no || with_gnu_ld=yes, with_gnu_ld=no)
2791 AC_REQUIRE([AC_PROG_CC])dnl
2792 AC_REQUIRE([AC_CANONICAL_HOST])dnl
2793 # Prepare PATH_SEPARATOR.
2794 # The user is always right.
2795 if test "${PATH_SEPARATOR+set}" != set; then
2796 echo "#! /bin/sh" >conf$$.sh
2797 echo "exit 0" >>conf$$.sh
2799 if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
2807 if test "$GCC" = yes; then
2808 # Check if gcc -print-prog-name=ld gives a path.
2809 AC_MSG_CHECKING([for ld used by GCC])
2812 # gcc leaves a trailing carriage return which upsets mingw
2813 ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
2815 ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
2818 # Accept absolute paths.
2819 [[\\/]* | [A-Za-z]:[\\/]*)]
2820 [re_direlt='/[^/][^/]*/\.\./']
2821 # Canonicalize the path of ld
2822 ac_prog=`echo $ac_prog| sed 's%\\\\%/%g'`
2823 while echo $ac_prog | grep "$re_direlt" > /dev/null 2>&1; do
2824 ac_prog=`echo $ac_prog| sed "s%$re_direlt%/%"`
2826 test -z "$LD" && LD="$ac_prog"
2829 # If it fails, then pretend we aren't using GCC.
2833 # If it is relative, then search for the first ld in PATH.
2837 elif test "$with_gnu_ld" = yes; then
2838 AC_MSG_CHECKING([for GNU ld])
2840 AC_MSG_CHECKING([for non-GNU ld])
2842 AC_CACHE_VAL(acl_cv_path_LD,
2843 [if test -z "$LD"; then
2844 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}${PATH_SEPARATOR-:}"
2845 for ac_dir in $PATH; do
2846 test -z "$ac_dir" && ac_dir=.
2847 if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
2848 acl_cv_path_LD="$ac_dir/$ac_prog"
2849 # Check to see if the program is GNU ld. I'd rather use --version,
2850 # but apparently some GNU ld's only accept -v.
2851 # Break only if it was the GNU/non-GNU ld that we prefer.
2852 case `"$acl_cv_path_LD" -v 2>&1 < /dev/null` in
2853 *GNU* | *'with BFD'*)
2854 test "$with_gnu_ld" != no && break ;;
2856 test "$with_gnu_ld" != yes && break ;;
2862 acl_cv_path_LD="$LD" # Let the user override the test with a path.
2864 LD="$acl_cv_path_LD"
2865 if test -n "$LD"; then
2870 test -z "$LD" && AC_MSG_ERROR([no acceptable ld found in \$PATH])
2873 m4trace:auto-m4/lib-link.m4:15: -1- AC_DEFUN([AC_LIB_LINKFLAGS], [
2874 AC_REQUIRE([AC_LIB_PREPARE_PREFIX])
2875 AC_REQUIRE([AC_LIB_RPATH])
2876 define([Name],[translit([$1],[./-], [___])])
2877 define([NAME],[translit([$1],[abcdefghijklmnopqrstuvwxyz./-],
2878 [ABCDEFGHIJKLMNOPQRSTUVWXYZ___])])
2879 AC_CACHE_CHECK([how to link with lib[]$1], [ac_cv_lib[]Name[]_libs], [
2880 AC_LIB_LINKFLAGS_BODY([$1], [$2])
2881 ac_cv_lib[]Name[]_libs="$LIB[]NAME"
2882 ac_cv_lib[]Name[]_ltlibs="$LTLIB[]NAME"
2883 ac_cv_lib[]Name[]_cppflags="$INC[]NAME"
2885 LIB[]NAME="$ac_cv_lib[]Name[]_libs"
2886 LTLIB[]NAME="$ac_cv_lib[]Name[]_ltlibs"
2887 INC[]NAME="$ac_cv_lib[]Name[]_cppflags"
2888 AC_LIB_APPENDTOVAR([CPPFLAGS], [$INC]NAME)
2890 AC_SUBST([LTLIB]NAME)
2891 dnl Also set HAVE_LIB[]NAME so that AC_LIB_HAVE_LINKFLAGS can reuse the
2892 dnl results of this search when this library appears as a dependency.
2897 m4trace:auto-m4/lib-link.m4:49: -1- AC_DEFUN([AC_LIB_HAVE_LINKFLAGS], [
2898 AC_REQUIRE([AC_LIB_PREPARE_PREFIX])
2899 AC_REQUIRE([AC_LIB_RPATH])
2900 define([Name],[translit([$1],[./-], [___])])
2901 define([NAME],[translit([$1],[abcdefghijklmnopqrstuvwxyz./-],
2902 [ABCDEFGHIJKLMNOPQRSTUVWXYZ___])])
2904 dnl Search for lib[]Name and define LIB[]NAME, LTLIB[]NAME and INC[]NAME
2906 AC_LIB_LINKFLAGS_BODY([$1], [$2])
2908 dnl Add $INC[]NAME to CPPFLAGS before performing the following checks,
2909 dnl because if the user has installed lib[]Name and not disabled its use
2910 dnl via --without-lib[]Name-prefix, he wants to use it.
2911 ac_save_CPPFLAGS="$CPPFLAGS"
2912 AC_LIB_APPENDTOVAR([CPPFLAGS], [$INC]NAME)
2914 AC_CACHE_CHECK([for lib[]$1], [ac_cv_lib[]Name], [
2915 ac_save_LIBS="$LIBS"
2916 LIBS="$LIBS $LIB[]NAME"
2917 AC_TRY_LINK([$3], [$4], [ac_cv_lib[]Name=yes], [ac_cv_lib[]Name=no])
2918 LIBS="$ac_save_LIBS"
2920 if test "$ac_cv_lib[]Name" = yes; then
2922 AC_DEFINE([HAVE_LIB]NAME, 1, [Define if you have the $1 library.])
2923 AC_MSG_CHECKING([how to link with lib[]$1])
2924 AC_MSG_RESULT([$LIB[]NAME])
2927 dnl If $LIB[]NAME didn't lead to a usable library, we don't need
2928 dnl $INC[]NAME either.
2929 CPPFLAGS="$ac_save_CPPFLAGS"
2933 AC_SUBST([HAVE_LIB]NAME)
2935 AC_SUBST([LTLIB]NAME)
2939 m4trace:auto-m4/lib-link.m4:96: -1- AC_DEFUN([AC_LIB_RPATH], [
2940 AC_REQUIRE([AC_PROG_CC]) dnl we use $CC, $GCC, $LDFLAGS
2941 AC_REQUIRE([AC_LIB_PROG_LD]) dnl we use $LD, $with_gnu_ld
2942 AC_REQUIRE([AC_CANONICAL_HOST]) dnl we use $host
2943 AC_REQUIRE([AC_CONFIG_AUX_DIR_DEFAULT]) dnl we use $ac_aux_dir
2944 AC_CACHE_CHECK([for shared library run path origin], acl_cv_rpath, [
2945 CC="$CC" GCC="$GCC" LDFLAGS="$LDFLAGS" LD="$LD" with_gnu_ld="$with_gnu_ld" \
2946 ${CONFIG_SHELL-/bin/sh} "$ac_aux_dir/config.rpath" "$host" > conftest.sh
2952 libext="$acl_cv_libext"
2953 shlibext="$acl_cv_shlibext"
2954 hardcode_libdir_flag_spec="$acl_cv_hardcode_libdir_flag_spec"
2955 hardcode_libdir_separator="$acl_cv_hardcode_libdir_separator"
2956 hardcode_direct="$acl_cv_hardcode_direct"
2957 hardcode_minus_L="$acl_cv_hardcode_minus_L"
2958 dnl Determine whether the user wants rpath handling at all.
2959 AC_ARG_ENABLE(rpath,
2960 [ --disable-rpath do not hardcode runtime library paths],
2961 :, enable_rpath=yes)
2963 m4trace:auto-m4/lib-link.m4:125: -1- AC_DEFUN([AC_LIB_LINKFLAGS_BODY], [
2964 define([NAME],[translit([$1],[abcdefghijklmnopqrstuvwxyz./-],
2965 [ABCDEFGHIJKLMNOPQRSTUVWXYZ___])])
2966 dnl By default, look in $includedir and $libdir.
2968 AC_LIB_WITH_FINAL_PREFIX([
2969 eval additional_includedir=\"$includedir\"
2970 eval additional_libdir=\"$libdir\"
2972 AC_LIB_ARG_WITH([lib$1-prefix],
2973 [ --with-lib$1-prefix[=DIR] search for lib$1 in DIR/include and DIR/lib
2974 --without-lib$1-prefix don't search for lib$1 in includedir and libdir],
2976 if test "X$withval" = "Xno"; then
2979 if test "X$withval" = "X"; then
2980 AC_LIB_WITH_FINAL_PREFIX([
2981 eval additional_includedir=\"$includedir\"
2982 eval additional_libdir=\"$libdir\"
2985 additional_includedir="$withval/include"
2986 additional_libdir="$withval/lib"
2990 dnl Search the library and its dependencies in $additional_libdir and
2991 dnl $LDFLAGS. Using breadth-first-seach.
2997 names_already_handled=
2998 names_next_round='$1 $2'
2999 while test -n "$names_next_round"; do
3000 names_this_round="$names_next_round"
3002 for name in $names_this_round; do
3004 for n in $names_already_handled; do
3005 if test "$n" = "$name"; then
3010 if test -z "$already_handled"; then
3011 names_already_handled="$names_already_handled $name"
3012 dnl See if it was already located by an earlier AC_LIB_LINKFLAGS
3013 dnl or AC_LIB_HAVE_LINKFLAGS call.
3014 uppername=`echo "$name" | sed -e 'y|abcdefghijklmnopqrstuvwxyz./-|ABCDEFGHIJKLMNOPQRSTUVWXYZ___|'`
3015 eval value=\"\$HAVE_LIB$uppername\"
3016 if test -n "$value"; then
3017 if test "$value" = yes; then
3018 eval value=\"\$LIB$uppername\"
3019 test -z "$value" || LIB[]NAME="${LIB[]NAME}${LIB[]NAME:+ }$value"
3020 eval value=\"\$LTLIB$uppername\"
3021 test -z "$value" || LTLIB[]NAME="${LTLIB[]NAME}${LTLIB[]NAME:+ }$value"
3023 dnl An earlier call to AC_LIB_HAVE_LINKFLAGS has determined
3024 dnl that this library doesn't exist. So just drop it.
3028 dnl Search the library lib$name in $additional_libdir and $LDFLAGS
3029 dnl and the already constructed $LIBNAME/$LTLIBNAME.
3034 if test $use_additional = yes; then
3035 if test -n "$shlibext" && test -f "$additional_libdir/lib$name.$shlibext"; then
3036 found_dir="$additional_libdir"
3037 found_so="$additional_libdir/lib$name.$shlibext"
3038 if test -f "$additional_libdir/lib$name.la"; then
3039 found_la="$additional_libdir/lib$name.la"
3042 if test -f "$additional_libdir/lib$name.$libext"; then
3043 found_dir="$additional_libdir"
3044 found_a="$additional_libdir/lib$name.$libext"
3045 if test -f "$additional_libdir/lib$name.la"; then
3046 found_la="$additional_libdir/lib$name.la"
3051 if test "X$found_dir" = "X"; then
3052 for x in $LDFLAGS $LTLIB[]NAME; do
3053 AC_LIB_WITH_FINAL_PREFIX([eval x=\"$x\"])
3056 dir=`echo "X$x" | sed -e 's/^X-L//'`
3057 if test -n "$shlibext" && test -f "$dir/lib$name.$shlibext"; then
3059 found_so="$dir/lib$name.$shlibext"
3060 if test -f "$dir/lib$name.la"; then
3061 found_la="$dir/lib$name.la"
3064 if test -f "$dir/lib$name.$libext"; then
3066 found_a="$dir/lib$name.$libext"
3067 if test -f "$dir/lib$name.la"; then
3068 found_la="$dir/lib$name.la"
3074 if test "X$found_dir" != "X"; then
3079 if test "X$found_dir" != "X"; then
3080 dnl Found the library.
3081 LTLIB[]NAME="${LTLIB[]NAME}${LTLIB[]NAME:+ }-L$found_dir -l$name"
3082 if test "X$found_so" != "X"; then
3083 dnl Linking with a shared library. We attempt to hardcode its
3084 dnl directory into the executable's runpath, unless it's the
3085 dnl standard /usr/lib.
3086 if test "$enable_rpath" = no || test "X$found_dir" = "X/usr/lib"; then
3087 dnl No hardcoding is needed.
3088 LIB[]NAME="${LIB[]NAME}${LIB[]NAME:+ }$found_so"
3090 dnl Use an explicit option to hardcode DIR into the resulting
3092 dnl Potentially add DIR to ltrpathdirs.
3093 dnl The ltrpathdirs will be appended to $LTLIBNAME at the end.
3095 for x in $ltrpathdirs; do
3096 if test "X$x" = "X$found_dir"; then
3101 if test -z "$haveit"; then
3102 ltrpathdirs="$ltrpathdirs $found_dir"
3104 dnl The hardcoding into $LIBNAME is system dependent.
3105 if test "$hardcode_direct" = yes; then
3106 dnl Using DIR/libNAME.so during linking hardcodes DIR into the
3107 dnl resulting binary.
3108 LIB[]NAME="${LIB[]NAME}${LIB[]NAME:+ }$found_so"
3110 if test -n "$hardcode_libdir_flag_spec" && test "$hardcode_minus_L" = no; then
3111 dnl Use an explicit option to hardcode DIR into the resulting
3113 LIB[]NAME="${LIB[]NAME}${LIB[]NAME:+ }$found_so"
3114 dnl Potentially add DIR to rpathdirs.
3115 dnl The rpathdirs will be appended to $LIBNAME at the end.
3117 for x in $rpathdirs; do
3118 if test "X$x" = "X$found_dir"; then
3123 if test -z "$haveit"; then
3124 rpathdirs="$rpathdirs $found_dir"
3127 dnl Rely on "-L$found_dir".
3128 dnl But don't add it if it's already contained in the LDFLAGS
3129 dnl or the already constructed $LIBNAME
3131 for x in $LDFLAGS $LIB[]NAME; do
3132 AC_LIB_WITH_FINAL_PREFIX([eval x=\"$x\"])
3133 if test "X$x" = "X-L$found_dir"; then
3138 if test -z "$haveit"; then
3139 LIB[]NAME="${LIB[]NAME}${LIB[]NAME:+ }-L$found_dir"
3141 if test "$hardcode_minus_L" != no; then
3142 dnl FIXME: Not sure whether we should use
3143 dnl "-L$found_dir -l$name" or "-L$found_dir $found_so"
3145 LIB[]NAME="${LIB[]NAME}${LIB[]NAME:+ }$found_so"
3147 dnl We cannot use $hardcode_runpath_var and LD_RUN_PATH
3148 dnl here, because this doesn't fit in flags passed to the
3149 dnl compiler. So give up. No hardcoding. This affects only
3150 dnl very old systems.
3151 dnl FIXME: Not sure whether we should use
3152 dnl "-L$found_dir -l$name" or "-L$found_dir $found_so"
3154 LIB[]NAME="${LIB[]NAME}${LIB[]NAME:+ }-l$name"
3160 if test "X$found_a" != "X"; then
3161 dnl Linking with a static library.
3162 LIB[]NAME="${LIB[]NAME}${LIB[]NAME:+ }$found_a"
3164 dnl We shouldn't come here, but anyway it's good to have a
3166 LIB[]NAME="${LIB[]NAME}${LIB[]NAME:+ }-L$found_dir -l$name"
3169 dnl Assume the include files are nearby.
3170 additional_includedir=
3171 case "$found_dir" in
3173 basedir=`echo "X$found_dir" | sed -e 's,^X,,' -e 's,/lib/*$,,'`
3174 additional_includedir="$basedir/include"
3177 if test "X$additional_includedir" != "X"; then
3178 dnl Potentially add $additional_includedir to $INCNAME.
3179 dnl But don't add it
3180 dnl 1. if it's the standard /usr/include,
3181 dnl 2. if it's /usr/local/include and we are using GCC on Linux,
3182 dnl 3. if it's already present in $CPPFLAGS or the already
3183 dnl constructed $INCNAME,
3184 dnl 4. if it doesn't exist as a directory.
3185 if test "X$additional_includedir" != "X/usr/include"; then
3187 if test "X$additional_includedir" = "X/usr/local/include"; then
3188 if test -n "$GCC"; then
3190 linux*) haveit=yes;;
3194 if test -z "$haveit"; then
3195 for x in $CPPFLAGS $INC[]NAME; do
3196 AC_LIB_WITH_FINAL_PREFIX([eval x=\"$x\"])
3197 if test "X$x" = "X-I$additional_includedir"; then
3202 if test -z "$haveit"; then
3203 if test -d "$additional_includedir"; then
3204 dnl Really add $additional_includedir to $INCNAME.
3205 INC[]NAME="${INC[]NAME}${INC[]NAME:+ }-I$additional_includedir"
3211 dnl Look for dependencies.
3212 if test -n "$found_la"; then
3213 dnl Read the .la file. It defines the variables
3214 dnl dlname, library_names, old_library, dependency_libs, current,
3215 dnl age, revision, installed, dlopen, dlpreopen, libdir.
3216 save_libdir="$libdir"
3218 */* | *\\*) . "$found_la" ;;
3219 *) . "./$found_la" ;;
3221 libdir="$save_libdir"
3222 dnl We use only dependency_libs.
3223 for dep in $dependency_libs; do
3226 additional_libdir=`echo "X$dep" | sed -e 's/^X-L//'`
3227 dnl Potentially add $additional_libdir to $LIBNAME and $LTLIBNAME.
3228 dnl But don't add it
3229 dnl 1. if it's the standard /usr/lib,
3230 dnl 2. if it's /usr/local/lib and we are using GCC on Linux,
3231 dnl 3. if it's already present in $LDFLAGS or the already
3232 dnl constructed $LIBNAME,
3233 dnl 4. if it doesn't exist as a directory.
3234 if test "X$additional_libdir" != "X/usr/lib"; then
3236 if test "X$additional_libdir" = "X/usr/local/lib"; then
3237 if test -n "$GCC"; then
3239 linux*) haveit=yes;;
3243 if test -z "$haveit"; then
3245 for x in $LDFLAGS $LIB[]NAME; do
3246 AC_LIB_WITH_FINAL_PREFIX([eval x=\"$x\"])
3247 if test "X$x" = "X-L$additional_libdir"; then
3252 if test -z "$haveit"; then
3253 if test -d "$additional_libdir"; then
3254 dnl Really add $additional_libdir to $LIBNAME.
3255 LIB[]NAME="${LIB[]NAME}${LIB[]NAME:+ }-L$additional_libdir"
3259 for x in $LDFLAGS $LTLIB[]NAME; do
3260 AC_LIB_WITH_FINAL_PREFIX([eval x=\"$x\"])
3261 if test "X$x" = "X-L$additional_libdir"; then
3266 if test -z "$haveit"; then
3267 if test -d "$additional_libdir"; then
3268 dnl Really add $additional_libdir to $LTLIBNAME.
3269 LTLIB[]NAME="${LTLIB[]NAME}${LTLIB[]NAME:+ }-L$additional_libdir"
3276 dir=`echo "X$dep" | sed -e 's/^X-R//'`
3277 if test "$enable_rpath" != no; then
3278 dnl Potentially add DIR to rpathdirs.
3279 dnl The rpathdirs will be appended to $LIBNAME at the end.
3281 for x in $rpathdirs; do
3282 if test "X$x" = "X$dir"; then
3287 if test -z "$haveit"; then
3288 rpathdirs="$rpathdirs $dir"
3290 dnl Potentially add DIR to ltrpathdirs.
3291 dnl The ltrpathdirs will be appended to $LTLIBNAME at the end.
3293 for x in $ltrpathdirs; do
3294 if test "X$x" = "X$dir"; then
3299 if test -z "$haveit"; then
3300 ltrpathdirs="$ltrpathdirs $dir"
3305 dnl Handle this in the next round.
3306 names_next_round="$names_next_round "`echo "X$dep" | sed -e 's/^X-l//'`
3309 dnl Handle this in the next round. Throw away the .la's
3310 dnl directory; it is already contained in a preceding -L
3312 names_next_round="$names_next_round "`echo "X$dep" | sed -e 's,^X.*/,,' -e 's,^lib,,' -e 's,\.la$,,'`
3315 dnl Most likely an immediate library name.
3316 LIB[]NAME="${LIB[]NAME}${LIB[]NAME:+ }$dep"
3317 LTLIB[]NAME="${LTLIB[]NAME}${LTLIB[]NAME:+ }$dep"
3323 dnl Didn't find the library; assume it is in the system directories
3324 dnl known to the linker and runtime loader. (All the system
3325 dnl directories known to the linker should also be known to the
3326 dnl runtime loader, otherwise the system is severely misconfigured.)
3327 LIB[]NAME="${LIB[]NAME}${LIB[]NAME:+ }-l$name"
3328 LTLIB[]NAME="${LTLIB[]NAME}${LTLIB[]NAME:+ }-l$name"
3334 if test "X$rpathdirs" != "X"; then
3335 if test -n "$hardcode_libdir_separator"; then
3336 dnl Weird platform: only the last -rpath option counts, the user must
3337 dnl pass all path elements in one option. We can arrange that for a
3338 dnl single library, but not when more than one $LIBNAMEs are used.
3340 for found_dir in $rpathdirs; do
3341 alldirs="${alldirs}${alldirs:+$hardcode_libdir_separator}$found_dir"
3343 dnl Note: hardcode_libdir_flag_spec uses $libdir and $wl.
3344 acl_save_libdir="$libdir"
3346 eval flag=\"$hardcode_libdir_flag_spec\"
3347 libdir="$acl_save_libdir"
3348 LIB[]NAME="${LIB[]NAME}${LIB[]NAME:+ }$flag"
3350 dnl The -rpath options are cumulative.
3351 for found_dir in $rpathdirs; do
3352 acl_save_libdir="$libdir"
3354 eval flag=\"$hardcode_libdir_flag_spec\"
3355 libdir="$acl_save_libdir"
3356 LIB[]NAME="${LIB[]NAME}${LIB[]NAME:+ }$flag"
3360 if test "X$ltrpathdirs" != "X"; then
3361 dnl When using libtool, the option that works for both libraries and
3362 dnl executables is -R. The -R options are cumulative.
3363 for found_dir in $ltrpathdirs; do
3364 LTLIB[]NAME="${LTLIB[]NAME}${LTLIB[]NAME:+ }-R$found_dir"
3368 m4trace:auto-m4/lib-link.m4:536: -1- AC_DEFUN([AC_LIB_APPENDTOVAR], [
3369 for element in [$2]; do
3372 AC_LIB_WITH_FINAL_PREFIX([eval x=\"$x\"])
3373 if test "X$x" = "X$element"; then
3378 if test -z "$haveit"; then
3379 [$1]="${[$1]}${[$1]:+ }$element"
3383 m4trace:auto-m4/lib-prefix.m4:14: -1- AC_DEFUN([AC_LIB_ARG_WITH], [AC_ARG_WITH([$1],[[$2]],[$3],[$4])])
3384 m4trace:auto-m4/lib-prefix.m4:24: -1- AC_DEFUN([AC_LIB_PREFIX], [
3385 AC_BEFORE([$0], [AC_LIB_LINKFLAGS])
3386 AC_REQUIRE([AC_PROG_CC])
3387 AC_REQUIRE([AC_CANONICAL_HOST])
3388 AC_REQUIRE([AC_LIB_PREPARE_PREFIX])
3389 dnl By default, look in $includedir and $libdir.
3391 AC_LIB_WITH_FINAL_PREFIX([
3392 eval additional_includedir=\"$includedir\"
3393 eval additional_libdir=\"$libdir\"
3395 AC_LIB_ARG_WITH([lib-prefix],
3396 [ --with-lib-prefix[=DIR] search for libraries in DIR/include and DIR/lib
3397 --without-lib-prefix don't search for libraries in includedir and libdir],
3399 if test "X$withval" = "Xno"; then
3402 if test "X$withval" = "X"; then
3403 AC_LIB_WITH_FINAL_PREFIX([
3404 eval additional_includedir=\"$includedir\"
3405 eval additional_libdir=\"$libdir\"
3408 additional_includedir="$withval/include"
3409 additional_libdir="$withval/lib"
3413 if test $use_additional = yes; then
3414 dnl Potentially add $additional_includedir to $CPPFLAGS.
3415 dnl But don't add it
3416 dnl 1. if it's the standard /usr/include,
3417 dnl 2. if it's already present in $CPPFLAGS,
3418 dnl 3. if it's /usr/local/include and we are using GCC on Linux,
3419 dnl 4. if it doesn't exist as a directory.
3420 if test "X$additional_includedir" != "X/usr/include"; then
3422 for x in $CPPFLAGS; do
3423 AC_LIB_WITH_FINAL_PREFIX([eval x=\"$x\"])
3424 if test "X$x" = "X-I$additional_includedir"; then
3429 if test -z "$haveit"; then
3430 if test "X$additional_includedir" = "X/usr/local/include"; then
3431 if test -n "$GCC"; then
3433 linux*) haveit=yes;;
3437 if test -z "$haveit"; then
3438 if test -d "$additional_includedir"; then
3439 dnl Really add $additional_includedir to $CPPFLAGS.
3440 CPPFLAGS="${CPPFLAGS}${CPPFLAGS:+ }-I$additional_includedir"
3445 dnl Potentially add $additional_libdir to $LDFLAGS.
3446 dnl But don't add it
3447 dnl 1. if it's the standard /usr/lib,
3448 dnl 2. if it's already present in $LDFLAGS,
3449 dnl 3. if it's /usr/local/lib and we are using GCC on Linux,
3450 dnl 4. if it doesn't exist as a directory.
3451 if test "X$additional_libdir" != "X/usr/lib"; then
3453 for x in $LDFLAGS; do
3454 AC_LIB_WITH_FINAL_PREFIX([eval x=\"$x\"])
3455 if test "X$x" = "X-L$additional_libdir"; then
3460 if test -z "$haveit"; then
3461 if test "X$additional_libdir" = "X/usr/local/lib"; then
3462 if test -n "$GCC"; then
3464 linux*) haveit=yes;;
3468 if test -z "$haveit"; then
3469 if test -d "$additional_libdir"; then
3470 dnl Really add $additional_libdir to $LDFLAGS.
3471 LDFLAGS="${LDFLAGS}${LDFLAGS:+ }-L$additional_libdir"
3478 m4trace:auto-m4/lib-prefix.m4:123: -1- AC_DEFUN([AC_LIB_PREPARE_PREFIX], [
3479 dnl Unfortunately, prefix and exec_prefix get only finally determined
3480 dnl at the end of configure.
3481 if test "X$prefix" = "XNONE"; then
3482 acl_final_prefix="$ac_default_prefix"
3484 acl_final_prefix="$prefix"
3486 if test "X$exec_prefix" = "XNONE"; then
3487 acl_final_exec_prefix='${prefix}'
3489 acl_final_exec_prefix="$exec_prefix"
3491 acl_save_prefix="$prefix"
3492 prefix="$acl_final_prefix"
3493 eval acl_final_exec_prefix=\"$acl_final_exec_prefix\"
3494 prefix="$acl_save_prefix"
3496 m4trace:auto-m4/lib-prefix.m4:146: -1- AC_DEFUN([AC_LIB_WITH_FINAL_PREFIX], [
3497 acl_save_prefix="$prefix"
3498 prefix="$acl_final_prefix"
3499 acl_save_exec_prefix="$exec_prefix"
3500 exec_prefix="$acl_final_exec_prefix"
3502 exec_prefix="$acl_save_exec_prefix"
3503 prefix="$acl_save_prefix"
3505 m4trace:auto-m4/libtool.m4:67: -1- AC_DEFUN([LT_INIT], [AC_PREREQ([2.58])dnl We use AC_INCLUDES_DEFAULT
3506 AC_BEFORE([$0], [LT_LANG])dnl
3507 AC_BEFORE([$0], [LT_OUTPUT])dnl
3508 AC_BEFORE([$0], [LTDL_INIT])dnl
3509 m4_require([_LT_CHECK_BUILDDIR])dnl
3511 dnl Autoconf doesn't catch unexpanded LT_ macros by default:
3512 m4_pattern_forbid([^_?LT_[A-Z_]+$])dnl
3513 m4_pattern_allow([^(_LT_EOF|LT_DLGLOBAL|LT_DLLAZY_OR_NOW|LT_MULTI_MODULE)$])dnl
3514 dnl aclocal doesn't pull ltoptions.m4, ltsugar.m4, or ltversion.m4
3515 dnl unless we require an AC_DEFUNed macro:
3516 AC_REQUIRE([LTOPTIONS_VERSION])dnl
3517 AC_REQUIRE([LTSUGAR_VERSION])dnl
3518 AC_REQUIRE([LTVERSION_VERSION])dnl
3519 AC_REQUIRE([LTOBSOLETE_VERSION])dnl
3520 m4_require([_LT_PROG_LTMAIN])dnl
3523 _LT_SET_OPTIONS([$0], [$1])
3525 # This can be used to rebuild libtool when needed
3526 LIBTOOL_DEPS="$ltmain"
3528 # Always use our own libtool.
3529 LIBTOOL='$(SHELL) $(top_builddir)/libtool'
3530 AC_SUBST(LIBTOOL)dnl
3535 m4_define([LT_INIT])
3537 m4trace:auto-m4/libtool.m4:102: -1- AU_DEFUN([AC_PROG_LIBTOOL], [m4_if($#, 0, [LT_INIT], [LT_INIT($@)])])
3538 m4trace:auto-m4/libtool.m4:102: -1- AC_DEFUN([AC_PROG_LIBTOOL], [AC_DIAGNOSE([obsolete], [The macro `AC_PROG_LIBTOOL' is obsolete.
3539 You should run autoupdate.])dnl
3540 m4_if($#, 0, [LT_INIT], [LT_INIT($@)])])
3541 m4trace:auto-m4/libtool.m4:103: -1- AU_DEFUN([AM_PROG_LIBTOOL], [m4_if($#, 0, [LT_INIT], [LT_INIT($@)])])
3542 m4trace:auto-m4/libtool.m4:103: -1- AC_DEFUN([AM_PROG_LIBTOOL], [AC_DIAGNOSE([obsolete], [The macro `AM_PROG_LIBTOOL' is obsolete.
3543 You should run autoupdate.])dnl
3544 m4_if($#, 0, [LT_INIT], [LT_INIT($@)])])
3545 m4trace:auto-m4/libtool.m4:562: -1- AC_DEFUN([LT_OUTPUT], [: ${CONFIG_LT=./config.lt}
3546 AC_MSG_NOTICE([creating $CONFIG_LT])
3547 cat >"$CONFIG_LT" <<_LTEOF
3549 # Generated by $as_me.
3550 # Run this file to recreate a libtool stub with the current configuration.
3553 SHELL=\${CONFIG_SHELL-$SHELL}
3556 cat >>"$CONFIG_LT" <<\_LTEOF
3560 exec AS_MESSAGE_FD>&1
3561 exec AS_MESSAGE_LOG_FD>>config.log
3564 AS_BOX([Running $as_me.])
3565 } >&AS_MESSAGE_LOG_FD
3568 \`$as_me' creates a local libtool stub from the current configuration,
3569 for use in further configure time tests before the real libtool is
3572 Usage: $[0] [[OPTIONS]]
3574 -h, --help print this help, then exit
3575 -V, --version print version number, then exit
3576 -q, --quiet do not print progress messages
3577 -d, --debug don't remove temporary files
3579 Report bugs to <bug-libtool@gnu.org>."
3582 m4_ifset([AC_PACKAGE_NAME], [AC_PACKAGE_NAME ])config.lt[]dnl
3583 m4_ifset([AC_PACKAGE_VERSION], [ AC_PACKAGE_VERSION])
3584 configured by $[0], generated by m4_PACKAGE_STRING.
3586 Copyright (C) 2008 Free Software Foundation, Inc.
3587 This config.lt script is free software; the Free Software Foundation
3588 gives unlimited permision to copy, distribute and modify it."
3590 while test $[#] != 0
3593 --version | --v* | -V )
3594 echo "$lt_cl_version"; exit 0 ;;
3595 --help | --h* | -h )
3596 echo "$lt_cl_help"; exit 0 ;;
3597 --debug | --d* | -d )
3599 --quiet | --q* | --silent | --s* | -q )
3602 -*) AC_MSG_ERROR([unrecognized option: $[1]
3603 Try \`$[0] --help' for more information.]) ;;
3605 *) AC_MSG_ERROR([unrecognized argument: $[1]
3606 Try \`$[0] --help' for more information.]) ;;
3611 if $lt_cl_silent; then
3612 exec AS_MESSAGE_FD>/dev/null
3616 cat >>"$CONFIG_LT" <<_LTEOF
3617 _LT_OUTPUT_LIBTOOL_COMMANDS_INIT
3620 cat >>"$CONFIG_LT" <<\_LTEOF
3621 AC_MSG_NOTICE([creating $ofile])
3622 _LT_OUTPUT_LIBTOOL_COMMANDS
3625 chmod +x "$CONFIG_LT"
3627 # configure is writing to config.log, but config.lt does its own redirection,
3628 # appending to config.log, which fails on DOS, as config.log is still kept
3629 # open by configure. Here we exec the FD to /dev/null, effectively closing
3630 # config.log, so it can be properly (re)opened and appended to by config.lt.
3631 if test "$no_create" != yes; then
3633 test "$silent" = yes &&
3634 lt_config_lt_args="$lt_config_lt_args --quiet"
3635 exec AS_MESSAGE_LOG_FD>/dev/null
3636 $SHELL "$CONFIG_LT" $lt_config_lt_args || lt_cl_success=false
3637 exec AS_MESSAGE_LOG_FD>>config.log
3638 $lt_cl_success || AS_EXIT(1)
3641 m4trace:auto-m4/libtool.m4:756: -1- AC_DEFUN([LT_SUPPORTED_TAG], [])
3642 m4trace:auto-m4/libtool.m4:767: -1- AC_DEFUN([LT_LANG], [AC_BEFORE([$0], [LT_OUTPUT])dnl
3645 [C++], [_LT_LANG(CXX)],
3646 [Java], [_LT_LANG(GCJ)],
3647 [Fortran 77], [_LT_LANG(F77)],
3648 [Fortran], [_LT_LANG(FC)],
3649 [Windows Resource], [_LT_LANG(RC)],
3650 [m4_ifdef([_LT_LANG_]$1[_CONFIG],
3652 [m4_fatal([$0: unsupported language: "$1"])])])dnl
3654 m4trace:auto-m4/libtool.m4:829: -1- AU_DEFUN([AC_LIBTOOL_CXX], [LT_LANG(C++)])
3655 m4trace:auto-m4/libtool.m4:829: -1- AC_DEFUN([AC_LIBTOOL_CXX], [AC_DIAGNOSE([obsolete], [The macro `AC_LIBTOOL_CXX' is obsolete.
3656 You should run autoupdate.])dnl
3658 m4trace:auto-m4/libtool.m4:830: -1- AU_DEFUN([AC_LIBTOOL_F77], [LT_LANG(Fortran 77)])
3659 m4trace:auto-m4/libtool.m4:830: -1- AC_DEFUN([AC_LIBTOOL_F77], [AC_DIAGNOSE([obsolete], [The macro `AC_LIBTOOL_F77' is obsolete.
3660 You should run autoupdate.])dnl
3661 LT_LANG(Fortran 77)])
3662 m4trace:auto-m4/libtool.m4:831: -1- AU_DEFUN([AC_LIBTOOL_FC], [LT_LANG(Fortran)])
3663 m4trace:auto-m4/libtool.m4:831: -1- AC_DEFUN([AC_LIBTOOL_FC], [AC_DIAGNOSE([obsolete], [The macro `AC_LIBTOOL_FC' is obsolete.
3664 You should run autoupdate.])dnl
3666 m4trace:auto-m4/libtool.m4:832: -1- AU_DEFUN([AC_LIBTOOL_GCJ], [LT_LANG(Java)])
3667 m4trace:auto-m4/libtool.m4:832: -1- AC_DEFUN([AC_LIBTOOL_GCJ], [AC_DIAGNOSE([obsolete], [The macro `AC_LIBTOOL_GCJ' is obsolete.
3668 You should run autoupdate.])dnl
3670 m4trace:auto-m4/libtool.m4:1401: -1- AC_DEFUN([_LT_COMPILER_OPTION], [m4_require([_LT_FILEUTILS_DEFAULTS])dnl
3671 m4_require([_LT_DECL_SED])dnl
3672 AC_CACHE_CHECK([$1], [$2],
3674 m4_if([$4], , [ac_outfile=conftest.$ac_objext], [ac_outfile=$4])
3675 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
3676 lt_compiler_flag="$3"
3677 # Insert the option either (1) after the last *FLAGS variable, or
3678 # (2) before a word containing "conftest.", or (3) at the end.
3679 # Note that $ac_compile itself does not contain backslashes and begins
3680 # with a dollar sign (not a hyphen), so the echo should work correctly.
3681 # The option is referenced via a variable to avoid confusing sed.
3682 lt_compile=`echo "$ac_compile" | $SED \
3683 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
3684 -e 's: [[^ ]]*conftest\.: $lt_compiler_flag&:; t' \
3685 -e 's:$: $lt_compiler_flag:'`
3686 (eval echo "\"\$as_me:__oline__: $lt_compile\"" >&AS_MESSAGE_LOG_FD)
3687 (eval "$lt_compile" 2>conftest.err)
3689 cat conftest.err >&AS_MESSAGE_LOG_FD
3690 echo "$as_me:__oline__: \$? = $ac_status" >&AS_MESSAGE_LOG_FD
3691 if (exit $ac_status) && test -s "$ac_outfile"; then
3692 # The compiler can only warn and ignore the option if not recognized
3693 # So say no if there are warnings other than the usual output.
3694 $ECHO "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' >conftest.exp
3695 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
3696 if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
3703 if test x"[$]$2" = xyes; then
3704 m4_if([$5], , :, [$5])
3706 m4_if([$6], , :, [$6])
3709 m4trace:auto-m4/libtool.m4:1443: -1- AU_DEFUN([AC_LIBTOOL_COMPILER_OPTION], [m4_if($#, 0, [_LT_COMPILER_OPTION], [_LT_COMPILER_OPTION($@)])])
3710 m4trace:auto-m4/libtool.m4:1443: -1- AC_DEFUN([AC_LIBTOOL_COMPILER_OPTION], [AC_DIAGNOSE([obsolete], [The macro `AC_LIBTOOL_COMPILER_OPTION' is obsolete.
3711 You should run autoupdate.])dnl
3712 m4_if($#, 0, [_LT_COMPILER_OPTION], [_LT_COMPILER_OPTION($@)])])
3713 m4trace:auto-m4/libtool.m4:1452: -1- AC_DEFUN([_LT_LINKER_OPTION], [m4_require([_LT_FILEUTILS_DEFAULTS])dnl
3714 m4_require([_LT_DECL_SED])dnl
3715 AC_CACHE_CHECK([$1], [$2],
3717 save_LDFLAGS="$LDFLAGS"
3718 LDFLAGS="$LDFLAGS $3"
3719 echo "$lt_simple_link_test_code" > conftest.$ac_ext
3720 if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
3721 # The linker can only warn and ignore the option if not recognized
3722 # So say no if there are warnings
3723 if test -s conftest.err; then
3724 # Append any errors to the config.log.
3725 cat conftest.err 1>&AS_MESSAGE_LOG_FD
3726 $ECHO "X$_lt_linker_boilerplate" | $Xsed -e '/^$/d' > conftest.exp
3727 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
3728 if diff conftest.exp conftest.er2 >/dev/null; then
3736 LDFLAGS="$save_LDFLAGS"
3739 if test x"[$]$2" = xyes; then
3740 m4_if([$4], , :, [$4])
3742 m4_if([$5], , :, [$5])
3745 m4trace:auto-m4/libtool.m4:1487: -1- AU_DEFUN([AC_LIBTOOL_LINKER_OPTION], [m4_if($#, 0, [_LT_LINKER_OPTION], [_LT_LINKER_OPTION($@)])])
3746 m4trace:auto-m4/libtool.m4:1487: -1- AC_DEFUN([AC_LIBTOOL_LINKER_OPTION], [AC_DIAGNOSE([obsolete], [The macro `AC_LIBTOOL_LINKER_OPTION' is obsolete.
3747 You should run autoupdate.])dnl
3748 m4_if($#, 0, [_LT_LINKER_OPTION], [_LT_LINKER_OPTION($@)])])
3749 m4trace:auto-m4/libtool.m4:1494: -1- AC_DEFUN([LT_CMD_MAX_LEN], [AC_REQUIRE([AC_CANONICAL_HOST])dnl
3750 # find the maximum length of command line arguments
3751 AC_MSG_CHECKING([the maximum length of command line arguments])
3752 AC_CACHE_VAL([lt_cv_sys_max_cmd_len], [dnl
3758 # On DJGPP, this test can blow up pretty badly due to problems in libc
3759 # (any single argument exceeding 2000 bytes causes a buffer overrun
3760 # during glob expansion). Even if it were fixed, the result of this
3761 # check would be larger than it should be.
3762 lt_cv_sys_max_cmd_len=12288; # 12K is about right
3766 # Under GNU Hurd, this test is not required because there is
3767 # no limit to the length of command line arguments.
3768 # Libtool will interpret -1 as no limit whatsoever
3769 lt_cv_sys_max_cmd_len=-1;
3772 cygwin* | mingw* | cegcc*)
3773 # On Win9x/ME, this test blows up -- it succeeds, but takes
3774 # about 5 minutes as the teststring grows exponentially.
3775 # Worse, since 9x/ME are not pre-emptively multitasking,
3776 # you end up with a "frozen" computer, even though with patience
3777 # the test eventually succeeds (with a max line length of 256k).
3778 # Instead, let's just punt: use the minimum linelength reported by
3779 # all of the supported platforms: 8192 (on NT/2K/XP).
3780 lt_cv_sys_max_cmd_len=8192;
3784 # On AmigaOS with pdksh, this test takes hours, literally.
3785 # So we just punt and use a minimum line length of 8192.
3786 lt_cv_sys_max_cmd_len=8192;
3789 netbsd* | freebsd* | openbsd* | darwin* | dragonfly*)
3790 # This has been around since 386BSD, at least. Likely further.
3791 if test -x /sbin/sysctl; then
3792 lt_cv_sys_max_cmd_len=`/sbin/sysctl -n kern.argmax`
3793 elif test -x /usr/sbin/sysctl; then
3794 lt_cv_sys_max_cmd_len=`/usr/sbin/sysctl -n kern.argmax`
3796 lt_cv_sys_max_cmd_len=65536 # usable default for all BSDs
3798 # And add a safety zone
3799 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
3800 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
3804 # We know the value 262144 and hardcode it with a safety zone (like BSD)
3805 lt_cv_sys_max_cmd_len=196608
3809 # Dr. Hans Ekkehard Plesser reports seeing a kernel panic running configure
3810 # due to this test when exec_disable_arg_limit is 1 on Tru64. It is not
3811 # nice to cause kernel panics so lets avoid the loop below.
3812 # First set a reasonable default.
3813 lt_cv_sys_max_cmd_len=16384
3815 if test -x /sbin/sysconfig; then
3816 case `/sbin/sysconfig -q proc exec_disable_arg_limit` in
3817 *1*) lt_cv_sys_max_cmd_len=-1 ;;
3822 lt_cv_sys_max_cmd_len=102400
3824 sysv5* | sco5v6* | sysv4.2uw2*)
3825 kargmax=`grep ARG_MAX /etc/conf/cf.d/stune 2>/dev/null`
3826 if test -n "$kargmax"; then
3827 lt_cv_sys_max_cmd_len=`echo $kargmax | sed 's/.*[[ ]]//'`
3829 lt_cv_sys_max_cmd_len=32768
3833 lt_cv_sys_max_cmd_len=`(getconf ARG_MAX) 2> /dev/null`
3834 if test -n "$lt_cv_sys_max_cmd_len"; then
3835 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
3836 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
3838 # Make teststring a little bigger before we do anything with it.
3839 # a 1K string should be a reasonable start.
3840 for i in 1 2 3 4 5 6 7 8 ; do
3841 teststring=$teststring$teststring
3843 SHELL=${SHELL-${CONFIG_SHELL-/bin/sh}}
3844 # If test is not a shell built-in, we'll probably end up computing a
3845 # maximum length that is only half of the actual maximum length, but
3847 while { test "X"`$SHELL [$]0 --fallback-echo "X$teststring$teststring" 2>/dev/null` \
3848 = "XX$teststring$teststring"; } >/dev/null 2>&1 &&
3849 test $i != 17 # 1/2 MB should be enough
3852 teststring=$teststring$teststring
3854 # Only check the string length outside the loop.
3855 lt_cv_sys_max_cmd_len=`expr "X$teststring" : ".*" 2>&1`
3857 # Add a significant safety factor because C++ compilers can tack on
3858 # massive amounts of additional arguments before passing them to the
3859 # linker. It appears as though 1/2 is a usable value.
3860 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 2`
3865 if test -n $lt_cv_sys_max_cmd_len ; then
3866 AC_MSG_RESULT($lt_cv_sys_max_cmd_len)
3870 max_cmd_len=$lt_cv_sys_max_cmd_len
3871 _LT_DECL([], [max_cmd_len], [0],
3872 [What is the maximum length of a command?])
3874 m4trace:auto-m4/libtool.m4:1622: -1- AU_DEFUN([AC_LIBTOOL_SYS_MAX_CMD_LEN], [m4_if($#, 0, [LT_CMD_MAX_LEN], [LT_CMD_MAX_LEN($@)])])
3875 m4trace:auto-m4/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.
3876 You should run autoupdate.])dnl
3877 m4_if($#, 0, [LT_CMD_MAX_LEN], [LT_CMD_MAX_LEN($@)])])
3878 m4trace:auto-m4/libtool.m4:1723: -1- AC_DEFUN([LT_SYS_DLOPEN_SELF], [m4_require([_LT_HEADER_DLFCN])dnl
3879 if test "x$enable_dlopen" != xyes; then
3880 enable_dlopen=unknown
3881 enable_dlopen_self=unknown
3882 enable_dlopen_self_static=unknown
3889 lt_cv_dlopen="load_add_on"
3891 lt_cv_dlopen_self=yes
3894 mingw* | pw32* | cegcc*)
3895 lt_cv_dlopen="LoadLibrary"
3900 lt_cv_dlopen="dlopen"
3905 # if libdl is installed we need to link against it
3906 AC_CHECK_LIB([dl], [dlopen],
3907 [lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"],[
3910 lt_cv_dlopen_self=yes
3915 AC_CHECK_FUNC([shl_load],
3916 [lt_cv_dlopen="shl_load"],
3917 [AC_CHECK_LIB([dld], [shl_load],
3918 [lt_cv_dlopen="shl_load" lt_cv_dlopen_libs="-ldld"],
3919 [AC_CHECK_FUNC([dlopen],
3920 [lt_cv_dlopen="dlopen"],
3921 [AC_CHECK_LIB([dl], [dlopen],
3922 [lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"],
3923 [AC_CHECK_LIB([svld], [dlopen],
3924 [lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-lsvld"],
3925 [AC_CHECK_LIB([dld], [dld_link],
3926 [lt_cv_dlopen="dld_link" lt_cv_dlopen_libs="-ldld"])
3935 if test "x$lt_cv_dlopen" != xno; then
3941 case $lt_cv_dlopen in
3943 save_CPPFLAGS="$CPPFLAGS"
3944 test "x$ac_cv_header_dlfcn_h" = xyes && CPPFLAGS="$CPPFLAGS -DHAVE_DLFCN_H"
3946 save_LDFLAGS="$LDFLAGS"
3947 wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $export_dynamic_flag_spec\"
3950 LIBS="$lt_cv_dlopen_libs $LIBS"
3952 AC_CACHE_CHECK([whether a program can dlopen itself],
3953 lt_cv_dlopen_self, [dnl
3954 _LT_TRY_DLOPEN_SELF(
3955 lt_cv_dlopen_self=yes, lt_cv_dlopen_self=yes,
3956 lt_cv_dlopen_self=no, lt_cv_dlopen_self=cross)
3959 if test "x$lt_cv_dlopen_self" = xyes; then
3960 wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $lt_prog_compiler_static\"
3961 AC_CACHE_CHECK([whether a statically linked program can dlopen itself],
3962 lt_cv_dlopen_self_static, [dnl
3963 _LT_TRY_DLOPEN_SELF(
3964 lt_cv_dlopen_self_static=yes, lt_cv_dlopen_self_static=yes,
3965 lt_cv_dlopen_self_static=no, lt_cv_dlopen_self_static=cross)
3969 CPPFLAGS="$save_CPPFLAGS"
3970 LDFLAGS="$save_LDFLAGS"
3975 case $lt_cv_dlopen_self in
3976 yes|no) enable_dlopen_self=$lt_cv_dlopen_self ;;
3977 *) enable_dlopen_self=unknown ;;
3980 case $lt_cv_dlopen_self_static in
3981 yes|no) enable_dlopen_self_static=$lt_cv_dlopen_self_static ;;
3982 *) enable_dlopen_self_static=unknown ;;
3985 _LT_DECL([dlopen_support], [enable_dlopen], [0],
3986 [Whether dlopen is supported])
3987 _LT_DECL([dlopen_self], [enable_dlopen_self], [0],
3988 [Whether dlopen of programs is supported])
3989 _LT_DECL([dlopen_self_static], [enable_dlopen_self_static], [0],
3990 [Whether dlopen of statically linked programs is supported])
3992 m4trace:auto-m4/libtool.m4:1840: -1- AU_DEFUN([AC_LIBTOOL_DLOPEN_SELF], [m4_if($#, 0, [LT_SYS_DLOPEN_SELF], [LT_SYS_DLOPEN_SELF($@)])])
3993 m4trace:auto-m4/libtool.m4:1840: -1- AC_DEFUN([AC_LIBTOOL_DLOPEN_SELF], [AC_DIAGNOSE([obsolete], [The macro `AC_LIBTOOL_DLOPEN_SELF' is obsolete.
3994 You should run autoupdate.])dnl
3995 m4_if($#, 0, [LT_SYS_DLOPEN_SELF], [LT_SYS_DLOPEN_SELF($@)])])
3996 m4trace:auto-m4/libtool.m4:2728: -1- AC_DEFUN([_LT_PATH_TOOL_PREFIX], [m4_require([_LT_DECL_EGREP])dnl
3997 AC_MSG_CHECKING([for $1])
3998 AC_CACHE_VAL(lt_cv_path_MAGIC_CMD,
4000 [[\\/*] | ?:[\\/]*])
4001 lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
4004 lt_save_MAGIC_CMD="$MAGIC_CMD"
4005 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
4006 dnl $ac_dummy forces splitting on constant user-supplied paths.
4007 dnl POSIX.2 word splitting is done only on the output of word expansions,
4008 dnl not every word. This closes a longstanding sh security hole.
4009 ac_dummy="m4_if([$2], , $PATH, [$2])"
4010 for ac_dir in $ac_dummy; do
4012 test -z "$ac_dir" && ac_dir=.
4013 if test -f $ac_dir/$1; then
4014 lt_cv_path_MAGIC_CMD="$ac_dir/$1"
4015 if test -n "$file_magic_test_file"; then
4016 case $deplibs_check_method in
4018 file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
4019 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
4020 if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
4021 $EGREP "$file_magic_regex" > /dev/null; then
4026 *** Warning: the command libtool uses to detect shared libraries,
4027 *** $file_magic_cmd, produces output that libtool cannot recognize.
4028 *** The result is that libtool may fail to recognize shared libraries
4029 *** as such. This will affect the creation of libtool libraries that
4030 *** depend on shared libraries, but programs linked with such libtool
4031 *** libraries will work regardless of this problem. Nevertheless, you
4032 *** may want to report the problem to your system manager and/or to
4033 *** bug-libtool@gnu.org
4043 MAGIC_CMD="$lt_save_MAGIC_CMD"
4046 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
4047 if test -n "$MAGIC_CMD"; then
4048 AC_MSG_RESULT($MAGIC_CMD)
4052 _LT_DECL([], [MAGIC_CMD], [0],
4053 [Used to examine libraries when file_magic_cmd begins with "file"])dnl
4055 m4trace:auto-m4/libtool.m4:2790: -1- AU_DEFUN([AC_PATH_TOOL_PREFIX], [m4_if($#, 0, [_LT_PATH_TOOL_PREFIX], [_LT_PATH_TOOL_PREFIX($@)])])
4056 m4trace:auto-m4/libtool.m4:2790: -1- AC_DEFUN([AC_PATH_TOOL_PREFIX], [AC_DIAGNOSE([obsolete], [The macro `AC_PATH_TOOL_PREFIX' is obsolete.
4057 You should run autoupdate.])dnl
4058 m4_if($#, 0, [_LT_PATH_TOOL_PREFIX], [_LT_PATH_TOOL_PREFIX($@)])])
4059 m4trace:auto-m4/libtool.m4:2813: -1- AC_DEFUN([LT_PATH_LD], [AC_REQUIRE([AC_PROG_CC])dnl
4060 AC_REQUIRE([AC_CANONICAL_HOST])dnl
4061 AC_REQUIRE([AC_CANONICAL_BUILD])dnl
4062 m4_require([_LT_DECL_SED])dnl
4063 m4_require([_LT_DECL_EGREP])dnl
4065 AC_ARG_WITH([gnu-ld],
4066 [AS_HELP_STRING([--with-gnu-ld],
4067 [assume the C compiler uses GNU ld @<:@default=no@:>@])],
4068 [test "$withval" = no || with_gnu_ld=yes],
4069 [with_gnu_ld=no])dnl
4072 if test "$GCC" = yes; then
4073 # Check if gcc -print-prog-name=ld gives a path.
4074 AC_MSG_CHECKING([for ld used by $CC])
4077 # gcc leaves a trailing carriage return which upsets mingw
4078 ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
4080 ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
4083 # Accept absolute paths.
4084 [[\\/]]* | ?:[[\\/]]*)
4085 re_direlt='/[[^/]][[^/]]*/\.\./'
4086 # Canonicalize the pathname of ld
4087 ac_prog=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'`
4088 while $ECHO "$ac_prog" | $GREP "$re_direlt" > /dev/null 2>&1; do
4089 ac_prog=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"`
4091 test -z "$LD" && LD="$ac_prog"
4094 # If it fails, then pretend we aren't using GCC.
4098 # If it is relative, then search for the first ld in PATH.
4102 elif test "$with_gnu_ld" = yes; then
4103 AC_MSG_CHECKING([for GNU ld])
4105 AC_MSG_CHECKING([for non-GNU ld])
4107 AC_CACHE_VAL(lt_cv_path_LD,
4108 [if test -z "$LD"; then
4109 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
4110 for ac_dir in $PATH; do
4112 test -z "$ac_dir" && ac_dir=.
4113 if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
4114 lt_cv_path_LD="$ac_dir/$ac_prog"
4115 # Check to see if the program is GNU ld. I'd rather use --version,
4116 # but apparently some variants of GNU ld only accept -v.
4117 # Break only if it was the GNU/non-GNU ld that we prefer.
4118 case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
4119 *GNU* | *'with BFD'*)
4120 test "$with_gnu_ld" != no && break
4123 test "$with_gnu_ld" != yes && break
4130 lt_cv_path_LD="$LD" # Let the user override the test with a path.
4133 if test -n "$LD"; then
4138 test -z "$LD" && AC_MSG_ERROR([no acceptable ld found in \$PATH])
4142 _LT_TAGDECL([], [LD], [1], [The linker used to build libraries])
4144 m4trace:auto-m4/libtool.m4:2901: -1- AU_DEFUN([AM_PROG_LD], [m4_if($#, 0, [LT_PATH_LD], [LT_PATH_LD($@)])])
4145 m4trace:auto-m4/libtool.m4:2901: -1- AC_DEFUN([AM_PROG_LD], [AC_DIAGNOSE([obsolete], [The macro `AM_PROG_LD' is obsolete.
4146 You should run autoupdate.])dnl
4147 m4_if($#, 0, [LT_PATH_LD], [LT_PATH_LD($@)])])
4148 m4trace:auto-m4/libtool.m4:2902: -1- AU_DEFUN([AC_PROG_LD], [m4_if($#, 0, [LT_PATH_LD], [LT_PATH_LD($@)])])
4149 m4trace:auto-m4/libtool.m4:2902: -1- AC_DEFUN([AC_PROG_LD], [AC_DIAGNOSE([obsolete], [The macro `AC_PROG_LD' is obsolete.
4150 You should run autoupdate.])dnl
4151 m4_if($#, 0, [LT_PATH_LD], [LT_PATH_LD($@)])])
4152 m4trace:auto-m4/libtool.m4:3166: -1- AC_DEFUN([LT_PATH_NM], [AC_REQUIRE([AC_PROG_CC])dnl
4153 AC_CACHE_CHECK([for BSD- or MS-compatible name lister (nm)], lt_cv_path_NM,
4154 [if test -n "$NM"; then
4155 # Let the user override the test.
4158 lt_nm_to_check="${ac_tool_prefix}nm"
4159 if test -n "$ac_tool_prefix" && test "$build" = "$host"; then
4160 lt_nm_to_check="$lt_nm_to_check nm"
4162 for lt_tmp_nm in $lt_nm_to_check; do
4163 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
4164 for ac_dir in $PATH /usr/ccs/bin/elf /usr/ccs/bin /usr/ucb /bin; do
4166 test -z "$ac_dir" && ac_dir=.
4167 tmp_nm="$ac_dir/$lt_tmp_nm"
4168 if test -f "$tmp_nm" || test -f "$tmp_nm$ac_exeext" ; then
4169 # Check to see if the nm accepts a BSD-compat flag.
4170 # Adding the `sed 1q' prevents false positives on HP-UX, which says:
4171 # nm: unknown option "B" ignored
4172 # Tru64's nm complains that /dev/null is an invalid object file
4173 case `"$tmp_nm" -B /dev/null 2>&1 | sed '1q'` in
4174 */dev/null* | *'Invalid file or object type'*)
4175 lt_cv_path_NM="$tmp_nm -B"
4179 case `"$tmp_nm" -p /dev/null 2>&1 | sed '1q'` in
4181 lt_cv_path_NM="$tmp_nm -p"
4185 lt_cv_path_NM=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but
4186 continue # so that we can try to find one that supports BSD flags
4195 : ${lt_cv_path_NM=no}
4197 if test "$lt_cv_path_NM" != "no"; then
4200 # Didn't find any BSD compatible name lister, look for dumpbin.
4201 AC_CHECK_TOOLS(DUMPBIN, ["dumpbin -symbols" "link -dump -symbols"], :)
4203 if test "$DUMPBIN" != ":"; then
4207 test -z "$NM" && NM=nm
4209 _LT_DECL([], [NM], [1], [A BSD- or MS-compatible name lister])dnl
4211 AC_CACHE_CHECK([the name lister ($NM) interface], [lt_cv_nm_interface],
4212 [lt_cv_nm_interface="BSD nm"
4213 echo "int some_variable = 0;" > conftest.$ac_ext
4214 (eval echo "\"\$as_me:__oline__: $ac_compile\"" >&AS_MESSAGE_LOG_FD)
4215 (eval "$ac_compile" 2>conftest.err)
4216 cat conftest.err >&AS_MESSAGE_LOG_FD
4217 (eval echo "\"\$as_me:__oline__: $NM \\\"conftest.$ac_objext\\\"\"" >&AS_MESSAGE_LOG_FD)
4218 (eval "$NM \"conftest.$ac_objext\"" 2>conftest.err > conftest.out)
4219 cat conftest.err >&AS_MESSAGE_LOG_FD
4220 (eval echo "\"\$as_me:__oline__: output\"" >&AS_MESSAGE_LOG_FD)
4221 cat conftest.out >&AS_MESSAGE_LOG_FD
4222 if $GREP 'External.*some_variable' conftest.out > /dev/null; then
4223 lt_cv_nm_interface="MS dumpbin"
4227 m4trace:auto-m4/libtool.m4:3244: -1- AU_DEFUN([AM_PROG_NM], [m4_if($#, 0, [LT_PATH_NM], [LT_PATH_NM($@)])])
4228 m4trace:auto-m4/libtool.m4:3244: -1- AC_DEFUN([AM_PROG_NM], [AC_DIAGNOSE([obsolete], [The macro `AM_PROG_NM' is obsolete.
4229 You should run autoupdate.])dnl
4230 m4_if($#, 0, [LT_PATH_NM], [LT_PATH_NM($@)])])
4231 m4trace:auto-m4/libtool.m4:3245: -1- AU_DEFUN([AC_PROG_NM], [m4_if($#, 0, [LT_PATH_NM], [LT_PATH_NM($@)])])
4232 m4trace:auto-m4/libtool.m4:3245: -1- AC_DEFUN([AC_PROG_NM], [AC_DIAGNOSE([obsolete], [The macro `AC_PROG_NM' is obsolete.
4233 You should run autoupdate.])dnl
4234 m4_if($#, 0, [LT_PATH_NM], [LT_PATH_NM($@)])])
4235 m4trace:auto-m4/libtool.m4:3254: -1- AC_DEFUN([LT_LIB_M], [AC_REQUIRE([AC_CANONICAL_HOST])dnl
4238 *-*-beos* | *-*-cygwin* | *-*-pw32* | *-*-darwin*)
4239 # These system don't have libm, or don't need it
4242 AC_CHECK_LIB(mw, _mwvalidcheckl, LIBM="-lmw")
4243 AC_CHECK_LIB(m, cos, LIBM="$LIBM -lm")
4246 AC_CHECK_LIB(m, cos, LIBM="-lm")
4251 m4trace:auto-m4/libtool.m4:3273: -1- AU_DEFUN([AC_CHECK_LIBM], [m4_if($#, 0, [LT_LIB_M], [LT_LIB_M($@)])])
4252 m4trace:auto-m4/libtool.m4:3273: -1- AC_DEFUN([AC_CHECK_LIBM], [AC_DIAGNOSE([obsolete], [The macro `AC_CHECK_LIBM' is obsolete.
4253 You should run autoupdate.])dnl
4254 m4_if($#, 0, [LT_LIB_M], [LT_LIB_M($@)])])
4255 m4trace:auto-m4/libtool.m4:6966: -1- AC_DEFUN([LT_PROG_GCJ], [m4_ifdef([AC_PROG_GCJ], [AC_PROG_GCJ],
4256 [m4_ifdef([A][M_PROG_GCJ], [A][M_PROG_GCJ],
4257 [AC_CHECK_TOOL(GCJ, gcj,)
4258 test "x${GCJFLAGS+set}" = xset || GCJFLAGS="-g -O2"
4259 AC_SUBST(GCJFLAGS)])])[]dnl
4261 m4trace:auto-m4/libtool.m4:6975: -1- AU_DEFUN([LT_AC_PROG_GCJ], [m4_if($#, 0, [LT_PROG_GCJ], [LT_PROG_GCJ($@)])])
4262 m4trace:auto-m4/libtool.m4:6975: -1- AC_DEFUN([LT_AC_PROG_GCJ], [AC_DIAGNOSE([obsolete], [The macro `LT_AC_PROG_GCJ' is obsolete.
4263 You should run autoupdate.])dnl
4264 m4_if($#, 0, [LT_PROG_GCJ], [LT_PROG_GCJ($@)])])
4265 m4trace:auto-m4/libtool.m4:6982: -1- AC_DEFUN([LT_PROG_RC], [AC_CHECK_TOOL(RC, windres,)
4267 m4trace:auto-m4/libtool.m4:6987: -1- AU_DEFUN([LT_AC_PROG_RC], [m4_if($#, 0, [LT_PROG_RC], [LT_PROG_RC($@)])])
4268 m4trace:auto-m4/libtool.m4:6987: -1- AC_DEFUN([LT_AC_PROG_RC], [AC_DIAGNOSE([obsolete], [The macro `LT_AC_PROG_RC' is obsolete.
4269 You should run autoupdate.])dnl
4270 m4_if($#, 0, [LT_PROG_RC], [LT_PROG_RC($@)])])
4271 m4trace:auto-m4/libtool.m4:7098: -1- AU_DEFUN([LT_AC_PROG_SED], [m4_if($#, 0, [AC_PROG_SED], [AC_PROG_SED($@)])])
4272 m4trace:auto-m4/libtool.m4:7098: -1- AC_DEFUN([LT_AC_PROG_SED], [AC_DIAGNOSE([obsolete], [The macro `LT_AC_PROG_SED' is obsolete.
4273 You should run autoupdate.])dnl
4274 m4_if($#, 0, [AC_PROG_SED], [AC_PROG_SED($@)])])
4275 m4trace:auto-m4/ltoptions.m4:13: -1- AC_DEFUN([LTOPTIONS_VERSION], [m4_if([1])])
4276 m4trace:auto-m4/ltoptions.m4:110: -1- AU_DEFUN([AC_LIBTOOL_DLOPEN], [_LT_SET_OPTION([LT_INIT], [dlopen])
4277 AC_DIAGNOSE([obsolete],
4278 [$0: Remove this warning and the call to _LT_SET_OPTION when you
4279 put the `dlopen' option into LT_INIT's first parameter.])
4281 m4trace:auto-m4/ltoptions.m4:110: -1- AC_DEFUN([AC_LIBTOOL_DLOPEN], [AC_DIAGNOSE([obsolete], [The macro `AC_LIBTOOL_DLOPEN' is obsolete.
4282 You should run autoupdate.])dnl
4283 _LT_SET_OPTION([LT_INIT], [dlopen])
4284 AC_DIAGNOSE([obsolete],
4285 [$0: Remove this warning and the call to _LT_SET_OPTION when you
4286 put the `dlopen' option into LT_INIT's first parameter.])
4288 m4trace:auto-m4/ltoptions.m4:145: -1- AU_DEFUN([AC_LIBTOOL_WIN32_DLL], [AC_REQUIRE([AC_CANONICAL_HOST])dnl
4289 _LT_SET_OPTION([LT_INIT], [win32-dll])
4290 AC_DIAGNOSE([obsolete],
4291 [$0: Remove this warning and the call to _LT_SET_OPTION when you
4292 put the `win32-dll' option into LT_INIT's first parameter.])
4294 m4trace:auto-m4/ltoptions.m4:145: -1- AC_DEFUN([AC_LIBTOOL_WIN32_DLL], [AC_DIAGNOSE([obsolete], [The macro `AC_LIBTOOL_WIN32_DLL' is obsolete.
4295 You should run autoupdate.])dnl
4296 AC_REQUIRE([AC_CANONICAL_HOST])dnl
4297 _LT_SET_OPTION([LT_INIT], [win32-dll])
4298 AC_DIAGNOSE([obsolete],
4299 [$0: Remove this warning and the call to _LT_SET_OPTION when you
4300 put the `win32-dll' option into LT_INIT's first parameter.])
4302 m4trace:auto-m4/ltoptions.m4:194: -1- AC_DEFUN([AC_ENABLE_SHARED], [_LT_SET_OPTION([LT_INIT], m4_if([$1], [no], [disable-])[shared])
4304 m4trace:auto-m4/ltoptions.m4:198: -1- AC_DEFUN([AC_DISABLE_SHARED], [_LT_SET_OPTION([LT_INIT], [disable-shared])
4306 m4trace:auto-m4/ltoptions.m4:202: -1- AU_DEFUN([AM_ENABLE_SHARED], [AC_ENABLE_SHARED($@)])
4307 m4trace:auto-m4/ltoptions.m4:202: -1- AC_DEFUN([AM_ENABLE_SHARED], [AC_DIAGNOSE([obsolete], [The macro `AM_ENABLE_SHARED' is obsolete.
4308 You should run autoupdate.])dnl
4309 AC_ENABLE_SHARED($@)])
4310 m4trace:auto-m4/ltoptions.m4:203: -1- AU_DEFUN([AM_DISABLE_SHARED], [AC_DISABLE_SHARED($@)])
4311 m4trace:auto-m4/ltoptions.m4:203: -1- AC_DEFUN([AM_DISABLE_SHARED], [AC_DIAGNOSE([obsolete], [The macro `AM_DISABLE_SHARED' is obsolete.
4312 You should run autoupdate.])dnl
4313 AC_DISABLE_SHARED($@)])
4314 m4trace:auto-m4/ltoptions.m4:248: -1- AC_DEFUN([AC_ENABLE_STATIC], [_LT_SET_OPTION([LT_INIT], m4_if([$1], [no], [disable-])[static])
4316 m4trace:auto-m4/ltoptions.m4:252: -1- AC_DEFUN([AC_DISABLE_STATIC], [_LT_SET_OPTION([LT_INIT], [disable-static])
4318 m4trace:auto-m4/ltoptions.m4:256: -1- AU_DEFUN([AM_ENABLE_STATIC], [AC_ENABLE_STATIC($@)])
4319 m4trace:auto-m4/ltoptions.m4:256: -1- AC_DEFUN([AM_ENABLE_STATIC], [AC_DIAGNOSE([obsolete], [The macro `AM_ENABLE_STATIC' is obsolete.
4320 You should run autoupdate.])dnl
4321 AC_ENABLE_STATIC($@)])
4322 m4trace:auto-m4/ltoptions.m4:257: -1- AU_DEFUN([AM_DISABLE_STATIC], [AC_DISABLE_STATIC($@)])
4323 m4trace:auto-m4/ltoptions.m4:257: -1- AC_DEFUN([AM_DISABLE_STATIC], [AC_DIAGNOSE([obsolete], [The macro `AM_DISABLE_STATIC' is obsolete.
4324 You should run autoupdate.])dnl
4325 AC_DISABLE_STATIC($@)])
4326 m4trace:auto-m4/ltoptions.m4:302: -1- AU_DEFUN([AC_ENABLE_FAST_INSTALL], [_LT_SET_OPTION([LT_INIT], m4_if([$1], [no], [disable-])[fast-install])
4327 AC_DIAGNOSE([obsolete],
4328 [$0: Remove this warning and the call to _LT_SET_OPTION when you put
4329 the `fast-install' option into LT_INIT's first parameter.])
4331 m4trace:auto-m4/ltoptions.m4:302: -1- AC_DEFUN([AC_ENABLE_FAST_INSTALL], [AC_DIAGNOSE([obsolete], [The macro `AC_ENABLE_FAST_INSTALL' is obsolete.
4332 You should run autoupdate.])dnl
4333 _LT_SET_OPTION([LT_INIT], m4_if([$1], [no], [disable-])[fast-install])
4334 AC_DIAGNOSE([obsolete],
4335 [$0: Remove this warning and the call to _LT_SET_OPTION when you put
4336 the `fast-install' option into LT_INIT's first parameter.])
4338 m4trace:auto-m4/ltoptions.m4:309: -1- AU_DEFUN([AC_DISABLE_FAST_INSTALL], [_LT_SET_OPTION([LT_INIT], [disable-fast-install])
4339 AC_DIAGNOSE([obsolete],
4340 [$0: Remove this warning and the call to _LT_SET_OPTION when you put
4341 the `disable-fast-install' option into LT_INIT's first parameter.])
4343 m4trace:auto-m4/ltoptions.m4:309: -1- AC_DEFUN([AC_DISABLE_FAST_INSTALL], [AC_DIAGNOSE([obsolete], [The macro `AC_DISABLE_FAST_INSTALL' is obsolete.
4344 You should run autoupdate.])dnl
4345 _LT_SET_OPTION([LT_INIT], [disable-fast-install])
4346 AC_DIAGNOSE([obsolete],
4347 [$0: Remove this warning and the call to _LT_SET_OPTION when you put
4348 the `disable-fast-install' option into LT_INIT's first parameter.])
4350 m4trace:auto-m4/ltoptions.m4:342: -1- AU_DEFUN([AC_LIBTOOL_PICMODE], [_LT_SET_OPTION([LT_INIT], [pic-only])
4351 AC_DIAGNOSE([obsolete],
4352 [$0: Remove this warning and the call to _LT_SET_OPTION when you
4353 put the `pic-only' option into LT_INIT's first parameter.])
4355 m4trace:auto-m4/ltoptions.m4:342: -1- AC_DEFUN([AC_LIBTOOL_PICMODE], [AC_DIAGNOSE([obsolete], [The macro `AC_LIBTOOL_PICMODE' is obsolete.
4356 You should run autoupdate.])dnl
4357 _LT_SET_OPTION([LT_INIT], [pic-only])
4358 AC_DIAGNOSE([obsolete],
4359 [$0: Remove this warning and the call to _LT_SET_OPTION when you
4360 put the `pic-only' option into LT_INIT's first parameter.])
4362 m4trace:auto-m4/ltsugar.m4:13: -1- AC_DEFUN([LTSUGAR_VERSION], [m4_if([0.1])])
4363 m4trace:auto-m4/ltversion.m4:18: -1- AC_DEFUN([LTVERSION_VERSION], [macro_version='2.2.6b'
4364 macro_revision='1.3017'
4365 _LT_DECL(, macro_version, 0, [Which release of libtool.m4 was used?])
4366 _LT_DECL(, macro_revision, 0)
4368 m4trace:auto-m4/lt~obsolete.m4:36: -1- AC_DEFUN([LTOBSOLETE_VERSION], [m4_if([1])])
4369 m4trace:auto-m4/lt~obsolete.m4:40: -1- AC_DEFUN([_LT_AC_PROG_ECHO_BACKSLASH])
4370 m4trace:auto-m4/lt~obsolete.m4:41: -1- AC_DEFUN([_LT_AC_SHELL_INIT])
4371 m4trace:auto-m4/lt~obsolete.m4:42: -1- AC_DEFUN([_LT_AC_SYS_LIBPATH_AIX])
4372 m4trace:auto-m4/lt~obsolete.m4:44: -1- AC_DEFUN([_LT_AC_TAGVAR])
4373 m4trace:auto-m4/lt~obsolete.m4:45: -1- AC_DEFUN([AC_LTDL_ENABLE_INSTALL])
4374 m4trace:auto-m4/lt~obsolete.m4:46: -1- AC_DEFUN([AC_LTDL_PREOPEN])
4375 m4trace:auto-m4/lt~obsolete.m4:47: -1- AC_DEFUN([_LT_AC_SYS_COMPILER])
4376 m4trace:auto-m4/lt~obsolete.m4:48: -1- AC_DEFUN([_LT_AC_LOCK])
4377 m4trace:auto-m4/lt~obsolete.m4:49: -1- AC_DEFUN([AC_LIBTOOL_SYS_OLD_ARCHIVE])
4378 m4trace:auto-m4/lt~obsolete.m4:50: -1- AC_DEFUN([_LT_AC_TRY_DLOPEN_SELF])
4379 m4trace:auto-m4/lt~obsolete.m4:51: -1- AC_DEFUN([AC_LIBTOOL_PROG_CC_C_O])
4380 m4trace:auto-m4/lt~obsolete.m4:52: -1- AC_DEFUN([AC_LIBTOOL_SYS_HARD_LINK_LOCKS])
4381 m4trace:auto-m4/lt~obsolete.m4:53: -1- AC_DEFUN([AC_LIBTOOL_OBJDIR])
4382 m4trace:auto-m4/lt~obsolete.m4:54: -1- AC_DEFUN([AC_LTDL_OBJDIR])
4383 m4trace:auto-m4/lt~obsolete.m4:55: -1- AC_DEFUN([AC_LIBTOOL_PROG_LD_HARDCODE_LIBPATH])
4384 m4trace:auto-m4/lt~obsolete.m4:56: -1- AC_DEFUN([AC_LIBTOOL_SYS_LIB_STRIP])
4385 m4trace:auto-m4/lt~obsolete.m4:57: -1- AC_DEFUN([AC_PATH_MAGIC])
4386 m4trace:auto-m4/lt~obsolete.m4:58: -1- AC_DEFUN([AC_PROG_LD_GNU])
4387 m4trace:auto-m4/lt~obsolete.m4:59: -1- AC_DEFUN([AC_PROG_LD_RELOAD_FLAG])
4388 m4trace:auto-m4/lt~obsolete.m4:60: -1- AC_DEFUN([AC_DEPLIBS_CHECK_METHOD])
4389 m4trace:auto-m4/lt~obsolete.m4:61: -1- AC_DEFUN([AC_LIBTOOL_PROG_COMPILER_NO_RTTI])
4390 m4trace:auto-m4/lt~obsolete.m4:62: -1- AC_DEFUN([AC_LIBTOOL_SYS_GLOBAL_SYMBOL_PIPE])
4391 m4trace:auto-m4/lt~obsolete.m4:63: -1- AC_DEFUN([AC_LIBTOOL_PROG_COMPILER_PIC])
4392 m4trace:auto-m4/lt~obsolete.m4:64: -1- AC_DEFUN([AC_LIBTOOL_PROG_LD_SHLIBS])
4393 m4trace:auto-m4/lt~obsolete.m4:65: -1- AC_DEFUN([AC_LIBTOOL_POSTDEP_PREDEP])
4394 m4trace:auto-m4/lt~obsolete.m4:66: -1- AC_DEFUN([LT_AC_PROG_EGREP])
4395 m4trace:auto-m4/lt~obsolete.m4:71: -1- AC_DEFUN([_AC_PROG_LIBTOOL])
4396 m4trace:auto-m4/lt~obsolete.m4:72: -1- AC_DEFUN([AC_LIBTOOL_SETUP])
4397 m4trace:auto-m4/lt~obsolete.m4:73: -1- AC_DEFUN([_LT_AC_CHECK_DLFCN])
4398 m4trace:auto-m4/lt~obsolete.m4:74: -1- AC_DEFUN([AC_LIBTOOL_SYS_DYNAMIC_LINKER])
4399 m4trace:auto-m4/lt~obsolete.m4:75: -1- AC_DEFUN([_LT_AC_TAGCONFIG])
4400 m4trace:auto-m4/lt~obsolete.m4:77: -1- AC_DEFUN([_LT_AC_LANG_CXX])
4401 m4trace:auto-m4/lt~obsolete.m4:78: -1- AC_DEFUN([_LT_AC_LANG_F77])
4402 m4trace:auto-m4/lt~obsolete.m4:79: -1- AC_DEFUN([_LT_AC_LANG_GCJ])
4403 m4trace:auto-m4/lt~obsolete.m4:80: -1- AC_DEFUN([AC_LIBTOOL_RC])
4404 m4trace:auto-m4/lt~obsolete.m4:81: -1- AC_DEFUN([AC_LIBTOOL_LANG_C_CONFIG])
4405 m4trace:auto-m4/lt~obsolete.m4:82: -1- AC_DEFUN([_LT_AC_LANG_C_CONFIG])
4406 m4trace:auto-m4/lt~obsolete.m4:83: -1- AC_DEFUN([AC_LIBTOOL_LANG_CXX_CONFIG])
4407 m4trace:auto-m4/lt~obsolete.m4:84: -1- AC_DEFUN([_LT_AC_LANG_CXX_CONFIG])
4408 m4trace:auto-m4/lt~obsolete.m4:85: -1- AC_DEFUN([AC_LIBTOOL_LANG_F77_CONFIG])
4409 m4trace:auto-m4/lt~obsolete.m4:86: -1- AC_DEFUN([_LT_AC_LANG_F77_CONFIG])
4410 m4trace:auto-m4/lt~obsolete.m4:87: -1- AC_DEFUN([AC_LIBTOOL_LANG_GCJ_CONFIG])
4411 m4trace:auto-m4/lt~obsolete.m4:88: -1- AC_DEFUN([_LT_AC_LANG_GCJ_CONFIG])
4412 m4trace:auto-m4/lt~obsolete.m4:89: -1- AC_DEFUN([AC_LIBTOOL_LANG_RC_CONFIG])
4413 m4trace:auto-m4/lt~obsolete.m4:90: -1- AC_DEFUN([_LT_AC_LANG_RC_CONFIG])
4414 m4trace:auto-m4/lt~obsolete.m4:91: -1- AC_DEFUN([AC_LIBTOOL_CONFIG])
4415 m4trace:auto-m4/lt~obsolete.m4:92: -1- AC_DEFUN([_LT_AC_FILE_LTDLL_C])
4416 m4trace:auto-m4/nls.m4:22: -1- AC_DEFUN([AM_NLS], [
4417 AC_MSG_CHECKING([whether NLS is requested])
4418 dnl Default is enabled NLS
4420 [ --disable-nls do not use Native Language Support],
4421 USE_NLS=$enableval, USE_NLS=yes)
4422 AC_MSG_RESULT($USE_NLS)
4425 m4trace:auto-m4/nls.m4:33: -1- AC_DEFUN([AM_MKINSTALLDIRS], [
4426 dnl If the AC_CONFIG_AUX_DIR macro for autoconf is used we possibly
4427 dnl find the mkinstalldirs script in another subdir but $(top_srcdir).
4428 dnl Try to locate it.
4430 if test -n "$ac_aux_dir"; then
4431 case "$ac_aux_dir" in
4432 /*) MKINSTALLDIRS="$ac_aux_dir/mkinstalldirs" ;;
4433 *) MKINSTALLDIRS="\$(top_builddir)/$ac_aux_dir/mkinstalldirs" ;;
4436 if test -z "$MKINSTALLDIRS"; then
4437 MKINSTALLDIRS="\$(top_srcdir)/mkinstalldirs"
4439 AC_SUBST(MKINSTALLDIRS)
4441 m4trace:auto-m4/po.m4:23: -1- AC_DEFUN([AM_PO_SUBDIRS], [
4442 AC_REQUIRE([AC_PROG_MAKE_SET])dnl
4443 AC_REQUIRE([AC_PROG_INSTALL])dnl
4444 AC_REQUIRE([AM_MKINSTALLDIRS])dnl
4445 AC_REQUIRE([AM_NLS])dnl
4447 dnl Perform the following tests also if --disable-nls has been given,
4448 dnl because they are needed for "make dist" to work.
4450 dnl Search for GNU msgfmt in the PATH.
4451 dnl The first test excludes Solaris msgfmt and early GNU msgfmt versions.
4452 dnl The second test excludes FreeBSD msgfmt.
4453 AM_PATH_PROG_WITH_TEST(MSGFMT, msgfmt,
4454 [$ac_dir/$ac_word --statistics /dev/null >/dev/null 2>&1 &&
4455 (if $ac_dir/$ac_word --statistics /dev/null 2>&1 >/dev/null | grep usage >/dev/null; then exit 1; else exit 0; fi)],
4457 AC_PATH_PROG(GMSGFMT, gmsgfmt, $MSGFMT)
4459 dnl Search for GNU xgettext 0.12 or newer in the PATH.
4460 dnl The first test excludes Solaris xgettext and early GNU xgettext versions.
4461 dnl The second test excludes FreeBSD xgettext.
4462 AM_PATH_PROG_WITH_TEST(XGETTEXT, xgettext,
4463 [$ac_dir/$ac_word --omit-header --copyright-holder= --msgid-bugs-address= /dev/null >/dev/null 2>&1 &&
4464 (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)],
4466 dnl Remove leftover from FreeBSD xgettext call.
4469 dnl Search for GNU msgmerge 0.11 or newer in the PATH.
4470 AM_PATH_PROG_WITH_TEST(MSGMERGE, msgmerge,
4471 [$ac_dir/$ac_word --update -q /dev/null /dev/null >/dev/null 2>&1], :)
4473 dnl This could go away some day; the PATH_PROG_WITH_TEST already does it.
4474 dnl Test whether we really found GNU msgfmt.
4475 if test "$GMSGFMT" != ":"; then
4476 dnl If it is no GNU msgfmt we define it as : so that the
4477 dnl Makefiles still can work.
4478 if $GMSGFMT --statistics /dev/null >/dev/null 2>&1 &&
4479 (if $GMSGFMT --statistics /dev/null 2>&1 >/dev/null | grep usage >/dev/null; then exit 1; else exit 0; fi); then
4482 GMSGFMT=`echo "$GMSGFMT" | sed -e 's,^.*/,,'`
4484 [found $GMSGFMT program is not GNU msgfmt; ignore it])
4489 dnl This could go away some day; the PATH_PROG_WITH_TEST already does it.
4490 dnl Test whether we really found GNU xgettext.
4491 if test "$XGETTEXT" != ":"; then
4492 dnl If it is no GNU xgettext we define it as : so that the
4493 dnl Makefiles still can work.
4494 if $XGETTEXT --omit-header --copyright-holder= --msgid-bugs-address= /dev/null >/dev/null 2>&1 &&
4495 (if $XGETTEXT --omit-header --copyright-holder= --msgid-bugs-address= /dev/null 2>&1 >/dev/null | grep usage >/dev/null; then exit 1; else exit 0; fi); then
4499 [found xgettext program is not GNU xgettext; ignore it])
4502 dnl Remove leftover from FreeBSD xgettext call.
4506 AC_OUTPUT_COMMANDS([
4507 for ac_file in $CONFIG_FILES; do
4508 # Support "outfile[:infile[:infile...]]"
4510 *:*) ac_file=`echo "$ac_file"|sed 's%:.*%%'` ;;
4512 # PO directories have a Makefile.in generated from Makefile.in.in.
4513 case "$ac_file" in */Makefile.in)
4514 # Adjust a relative srcdir.
4515 ac_dir=`echo "$ac_file"|sed 's%/[^/][^/]*$%%'`
4516 ac_dir_suffix="/`echo "$ac_dir"|sed 's%^\./%%'`"
4517 ac_dots=`echo "$ac_dir_suffix"|sed 's%/[^/]*%../%g'`
4518 # In autoconf-2.13 it is called $ac_given_srcdir.
4519 # In autoconf-2.50 it is called $srcdir.
4520 test -n "$ac_given_srcdir" || ac_given_srcdir="$srcdir"
4521 case "$ac_given_srcdir" in
4522 .) top_srcdir=`echo $ac_dots|sed 's%/$%%'` ;;
4523 /*) top_srcdir="$ac_given_srcdir" ;;
4524 *) top_srcdir="$ac_dots$ac_given_srcdir" ;;
4526 if test -f "$ac_given_srcdir/$ac_dir/POTFILES.in"; then
4527 rm -f "$ac_dir/POTFILES"
4528 test -n "$as_me" && echo "$as_me: creating $ac_dir/POTFILES" || echo "creating $ac_dir/POTFILES"
4529 cat "$ac_given_srcdir/$ac_dir/POTFILES.in" | sed -e "/^#/d" -e "/^[ ]*\$/d" -e "s,.*, $top_srcdir/& \\\\," | sed -e "\$s/\(.*\) \\\\/\1/" > "$ac_dir/POTFILES"
4530 POMAKEFILEDEPS="POTFILES.in"
4531 # ALL_LINGUAS, POFILES, UPDATEPOFILES, DUMMYPOFILES, GMOFILES depend
4532 # on $ac_dir but don't depend on user-specified configuration
4534 if test -f "$ac_given_srcdir/$ac_dir/LINGUAS"; then
4535 # The LINGUAS file contains the set of available languages.
4536 if test -n "$OBSOLETE_ALL_LINGUAS"; then
4537 test -n "$as_me" && echo "$as_me: setting ALL_LINGUAS in configure.in is obsolete" || echo "setting ALL_LINGUAS in configure.in is obsolete"
4539 ALL_LINGUAS_=`sed -e "/^#/d" "$ac_given_srcdir/$ac_dir/LINGUAS"`
4540 # Hide the ALL_LINGUAS assigment from automake.
4541 eval 'ALL_LINGUAS''=$ALL_LINGUAS_'
4542 POMAKEFILEDEPS="$POMAKEFILEDEPS LINGUAS"
4544 # The set of available languages was given in configure.in.
4545 eval 'ALL_LINGUAS''=$OBSOLETE_ALL_LINGUAS'
4548 # as $(foreach lang, $(ALL_LINGUAS), $(srcdir)/$(lang).po)
4549 # Compute UPDATEPOFILES
4550 # as $(foreach lang, $(ALL_LINGUAS), $(lang).po-update)
4551 # Compute DUMMYPOFILES
4552 # as $(foreach lang, $(ALL_LINGUAS), $(lang).nop)
4554 # as $(foreach lang, $(ALL_LINGUAS), $(srcdir)/$(lang).gmo)
4555 case "$ac_given_srcdir" in
4557 *) srcdirpre='$(srcdir)/' ;;
4563 for lang in $ALL_LINGUAS; do
4564 POFILES="$POFILES $srcdirpre$lang.po"
4565 UPDATEPOFILES="$UPDATEPOFILES $lang.po-update"
4566 DUMMYPOFILES="$DUMMYPOFILES $lang.nop"
4567 GMOFILES="$GMOFILES $srcdirpre$lang.gmo"
4569 # CATALOGS depends on both $ac_dir and the user's LINGUAS
4570 # environment variable.
4572 if test -n "$ALL_LINGUAS"; then
4573 for presentlang in $ALL_LINGUAS; do
4575 if test "%UNSET%" != "$LINGUAS"; then
4576 desiredlanguages="$LINGUAS"
4578 desiredlanguages="$ALL_LINGUAS"
4580 for desiredlang in $desiredlanguages; do
4581 # Use the presentlang catalog if desiredlang is
4582 # a. equal to presentlang, or
4583 # b. a variant of presentlang (because in this case,
4584 # presentlang can be used as a fallback for messages
4585 # which are not translated in the desiredlang catalog).
4586 case "$desiredlang" in
4587 "$presentlang"*) useit=yes;;
4590 if test $useit = yes; then
4591 INST_LINGUAS="$INST_LINGUAS $presentlang"
4596 if test -n "$INST_LINGUAS"; then
4597 for lang in $INST_LINGUAS; do
4598 CATALOGS="$CATALOGS $lang.gmo"
4601 test -n "$as_me" && echo "$as_me: creating $ac_dir/Makefile" || echo "creating $ac_dir/Makefile"
4602 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"
4603 for f in "$ac_given_srcdir/$ac_dir"/Rules-*; do
4604 if test -f "$f"; then
4606 *.orig | *.bak | *~) ;;
4607 *) cat "$f" >> "$ac_dir/Makefile" ;;
4615 [# Capture the value of obsolete ALL_LINGUAS because we need it to compute
4616 # POFILES, UPDATEPOFILES, DUMMYPOFILES, GMOFILES, CATALOGS. But hide it
4618 eval 'OBSOLETE_ALL_LINGUAS''="$ALL_LINGUAS"'
4619 # Capture the value of LINGUAS because we need it to compute CATALOGS.
4620 LINGUAS="${LINGUAS-%UNSET%}"
4623 m4trace:auto-m4/po.m4:208: -1- AC_DEFUN([AM_POSTPROCESS_PO_MAKEFILE], [
4624 # When this code is run, in config.status, two variables have already been
4626 # - OBSOLETE_ALL_LINGUAS is the value of LINGUAS set in configure.in,
4627 # - LINGUAS is the value of the environment variable LINGUAS at configure
4631 # Adjust a relative srcdir.
4632 ac_dir=`echo "$ac_file"|sed 's%/[^/][^/]*$%%'`
4633 ac_dir_suffix="/`echo "$ac_dir"|sed 's%^\./%%'`"
4634 ac_dots=`echo "$ac_dir_suffix"|sed 's%/[^/]*%../%g'`
4635 # In autoconf-2.13 it is called $ac_given_srcdir.
4636 # In autoconf-2.50 it is called $srcdir.
4637 test -n "$ac_given_srcdir" || ac_given_srcdir="$srcdir"
4638 case "$ac_given_srcdir" in
4639 .) top_srcdir=`echo $ac_dots|sed 's%/$%%'` ;;
4640 /*) top_srcdir="$ac_given_srcdir" ;;
4641 *) top_srcdir="$ac_dots$ac_given_srcdir" ;;
4644 # Find a way to echo strings without interpreting backslash.
4645 if test "X`(echo '\t') 2>/dev/null`" = 'X\t'; then
4648 if test "X`(printf '%s\n' '\t') 2>/dev/null`" = 'X\t'; then
4649 gt_echo='printf %s\n'
4660 # A sed script that extracts the value of VARIABLE from a Makefile.
4662 # Test if the hold space is empty.
4667 # Yes it was empty. Look if we have the expected variable definition.
4668 /^[ ]*VARIABLE[ ]*=/{
4669 # Seen the first line of the variable definition.
4670 s/^[ ]*VARIABLE[ ]*=//
4675 # Here we are processing a line from the variable definition.
4676 # Remove comment, more precisely replace it with a space.
4678 # See if the line ends in a backslash.
4682 # Print the line, without the trailing backslash.
4685 # There was no trailing backslash. The end of the variable definition is
4686 # reached. Clear the hold space.
4691 # A trailing backslash means that the variable definition continues in the
4692 # next line. Put a nonempty string into the hold space to indicate this.
4699 # Set POTFILES to the value of the Makefile variable POTFILES.
4700 sed_x_POTFILES="`$gt_echo \"$sed_x_variable\" | sed -e '/^ *#/d' -e 's/VARIABLE/POTFILES/g'`"
4701 POTFILES=`sed -n -e "$sed_x_POTFILES" < "$ac_file"`
4702 # Compute POTFILES_DEPS as
4703 # $(foreach file, $(POTFILES), $(top_srcdir)/$(file))
4705 for file in $POTFILES; do
4706 POTFILES_DEPS="$POTFILES_DEPS "'$(top_srcdir)/'"$file"
4710 if test -n "$OBSOLETE_ALL_LINGUAS"; then
4711 test -n "$as_me" && echo "$as_me: setting ALL_LINGUAS in configure.in is obsolete" || echo "setting ALL_LINGUAS in configure.in is obsolete"
4713 if test -f "$ac_given_srcdir/$ac_dir/LINGUAS"; then
4714 # The LINGUAS file contains the set of available languages.
4715 ALL_LINGUAS_=`sed -e "/^#/d" "$ac_given_srcdir/$ac_dir/LINGUAS"`
4716 POMAKEFILEDEPS="$POMAKEFILEDEPS LINGUAS"
4718 # Set ALL_LINGUAS to the value of the Makefile variable LINGUAS.
4719 sed_x_LINGUAS="`$gt_echo \"$sed_x_variable\" | sed -e '/^ *#/d' -e 's/VARIABLE/LINGUAS/g'`"
4720 ALL_LINGUAS_=`sed -n -e "$sed_x_LINGUAS" < "$ac_file"`
4722 # Hide the ALL_LINGUAS assigment from automake.
4723 eval 'ALL_LINGUAS''=$ALL_LINGUAS_'
4725 # as $(foreach lang, $(ALL_LINGUAS), $(srcdir)/$(lang).po)
4726 # Compute UPDATEPOFILES
4727 # as $(foreach lang, $(ALL_LINGUAS), $(lang).po-update)
4728 # Compute DUMMYPOFILES
4729 # as $(foreach lang, $(ALL_LINGUAS), $(lang).nop)
4731 # as $(foreach lang, $(ALL_LINGUAS), $(srcdir)/$(lang).gmo)
4732 # Compute PROPERTIESFILES
4733 # as $(foreach lang, $(ALL_LINGUAS), $(top_srcdir)/$(DOMAIN)_$(lang).properties)
4734 # Compute CLASSFILES
4735 # as $(foreach lang, $(ALL_LINGUAS), $(top_srcdir)/$(DOMAIN)_$(lang).class)
4737 # as $(foreach lang, $(ALL_LINGUAS), $(srcdir)/$(lang).qm)
4739 # as $(foreach lang, $(ALL_LINGUAS), $(srcdir)/$(frob $(lang)).msg)
4740 # Compute RESOURCESDLLFILES
4741 # as $(foreach lang, $(ALL_LINGUAS), $(srcdir)/$(frob $(lang))/$(DOMAIN).resources.dll)
4742 case "$ac_given_srcdir" in
4744 *) srcdirpre='$(srcdir)/' ;;
4755 for lang in $ALL_LINGUAS; do
4756 POFILES="$POFILES $srcdirpre$lang.po"
4757 UPDATEPOFILES="$UPDATEPOFILES $lang.po-update"
4758 DUMMYPOFILES="$DUMMYPOFILES $lang.nop"
4759 GMOFILES="$GMOFILES $srcdirpre$lang.gmo"
4760 PROPERTIESFILES="$PROPERTIESFILES \$(top_srcdir)/\$(DOMAIN)_$lang.properties"
4761 CLASSFILES="$CLASSFILES \$(top_srcdir)/\$(DOMAIN)_$lang.class"
4762 QMFILES="$QMFILES $srcdirpre$lang.qm"
4763 frobbedlang=`echo $lang | sed -e 's/\..*$//' -e 'y/ABCDEFGHIJKLMNOPQRSTUVWXYZ/abcdefghijklmnopqrstuvwxyz/'`
4764 MSGFILES="$MSGFILES $srcdirpre$frobbedlang.msg"
4765 frobbedlang=`echo $lang | sed -e 's/_/-/g'`
4766 RESOURCESDLLFILES="$RESOURCESDLLFILES $srcdirpre$frobbedlang/\$(DOMAIN).resources.dll"
4768 # CATALOGS depends on both $ac_dir and the user's LINGUAS
4769 # environment variable.
4771 if test -n "$ALL_LINGUAS"; then
4772 for presentlang in $ALL_LINGUAS; do
4774 if test "%UNSET%" != "$LINGUAS"; then
4775 desiredlanguages="$LINGUAS"
4777 desiredlanguages="$ALL_LINGUAS"
4779 for desiredlang in $desiredlanguages; do
4780 # Use the presentlang catalog if desiredlang is
4781 # a. equal to presentlang, or
4782 # b. a variant of presentlang (because in this case,
4783 # presentlang can be used as a fallback for messages
4784 # which are not translated in the desiredlang catalog).
4785 case "$desiredlang" in
4786 "$presentlang"*) useit=yes;;
4789 if test $useit = yes; then
4790 INST_LINGUAS="$INST_LINGUAS $presentlang"
4799 if test -n "$INST_LINGUAS"; then
4800 for lang in $INST_LINGUAS; do
4801 CATALOGS="$CATALOGS $lang.gmo"
4802 JAVACATALOGS="$JAVACATALOGS \$(DOMAIN)_$lang.properties"
4803 QTCATALOGS="$QTCATALOGS $lang.qm"
4804 frobbedlang=`echo $lang | sed -e 's/\..*$//' -e 'y/ABCDEFGHIJKLMNOPQRSTUVWXYZ/abcdefghijklmnopqrstuvwxyz/'`
4805 TCLCATALOGS="$TCLCATALOGS $frobbedlang.msg"
4806 frobbedlang=`echo $lang | sed -e 's/_/-/g'`
4807 CSHARPCATALOGS="$CSHARPCATALOGS $frobbedlang/\$(DOMAIN).resources.dll"
4811 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"
4812 if grep -l '@TCLCATALOGS@' "$ac_file" > /dev/null; then
4813 # Add dependencies that cannot be formulated as a simple suffix rule.
4814 for lang in $ALL_LINGUAS; do
4815 frobbedlang=`echo $lang | sed -e 's/\..*$//' -e 'y/ABCDEFGHIJKLMNOPQRSTUVWXYZ/abcdefghijklmnopqrstuvwxyz/'`
4816 cat >> "$ac_file.tmp" <<EOF
4817 $frobbedlang.msg: $lang.po
4818 @echo "\$(MSGFMT) -c --tcl -d \$(srcdir) -l $lang $srcdirpre$lang.po"; \
4819 \$(MSGFMT) -c --tcl -d "\$(srcdir)" -l $lang $srcdirpre$lang.po || { rm -f "\$(srcdir)/$frobbedlang.msg"; exit 1; }
4823 if grep -l '@CSHARPCATALOGS@' "$ac_file" > /dev/null; then
4824 # Add dependencies that cannot be formulated as a simple suffix rule.
4825 for lang in $ALL_LINGUAS; do
4826 frobbedlang=`echo $lang | sed -e 's/_/-/g'`
4827 cat >> "$ac_file.tmp" <<EOF
4828 $frobbedlang/\$(DOMAIN).resources.dll: $lang.po
4829 @echo "\$(MSGFMT) -c --csharp -d \$(srcdir) -l $lang $srcdirpre$lang.po -r \$(DOMAIN)"; \
4830 \$(MSGFMT) -c --csharp -d "\$(srcdir)" -l $lang $srcdirpre$lang.po -r "\$(DOMAIN)" || { rm -f "\$(srcdir)/$frobbedlang.msg"; exit 1; }
4834 if test -n "$POMAKEFILEDEPS"; then
4835 cat >> "$ac_file.tmp" <<EOF
4836 Makefile: $POMAKEFILEDEPS
4839 mv "$ac_file.tmp" "$ac_file"
4841 m4trace:auto-m4/progtest.m4:25: -1- AC_DEFUN([AM_PATH_PROG_WITH_TEST], [
4842 # Prepare PATH_SEPARATOR.
4843 # The user is always right.
4844 if test "${PATH_SEPARATOR+set}" != set; then
4845 echo "#! /bin/sh" >conf$$.sh
4846 echo "exit 0" >>conf$$.sh
4848 if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
4856 # Find out how to test for executable files. Don't use a zero-byte file,
4857 # as systems may use methods other than mode bits to determine executability.
4858 cat >conf$$.file <<_ASEOF
4862 chmod +x conf$$.file
4863 if test -x conf$$.file >/dev/null 2>&1; then
4864 ac_executable_p="test -x"
4866 ac_executable_p="test -f"
4870 # Extract the first word of "$2", so it can be a program name with args.
4871 set dummy $2; ac_word=[$]2
4872 AC_MSG_CHECKING([for $ac_word])
4873 AC_CACHE_VAL(ac_cv_path_$1,
4875 [[\\/]]* | ?:[[\\/]]*)
4876 ac_cv_path_$1="[$]$1" # Let the user override the test with a path.
4879 ac_save_IFS="$IFS"; IFS=$PATH_SEPARATOR
4880 for ac_dir in ifelse([$5], , $PATH, [$5]); do
4882 test -z "$ac_dir" && ac_dir=.
4883 for ac_exec_ext in '' $ac_executable_extensions; do
4884 if $ac_executable_p "$ac_dir/$ac_word$ac_exec_ext"; then
4886 ac_cv_path_$1="$ac_dir/$ac_word$ac_exec_ext"
4893 dnl If no 4th arg is given, leave the cache variable unset,
4894 dnl so AC_PATH_PROGS will keep looking.
4895 ifelse([$4], , , [ test -z "[$]ac_cv_path_$1" && ac_cv_path_$1="$4"
4900 if test ifelse([$4], , [-n "[$]$1"], ["[$]$1" != "$4"]); then
4901 AC_MSG_RESULT([$]$1)
4907 m4trace:configure.ac:3: -1- m4_pattern_forbid([^_?A[CHUM]_])
4908 m4trace:configure.ac:3: -1- m4_pattern_forbid([_AC_])
4909 m4trace:configure.ac:3: -1- m4_pattern_forbid([^LIBOBJS$], [do not use LIBOBJS directly, use AC_LIBOBJ (see section `AC_LIBOBJ vs LIBOBJS'])
4910 m4trace:configure.ac:3: -1- m4_pattern_allow([^AS_FLAGS$])
4911 m4trace:configure.ac:3: -1- m4_pattern_forbid([^_?m4_])
4912 m4trace:configure.ac:3: -1- m4_pattern_forbid([^dnl$])
4913 m4trace:configure.ac:3: -1- m4_pattern_forbid([^_?AS_])
4914 m4trace:configure.ac:3: -1- m4_pattern_allow([^SHELL$])
4915 m4trace:configure.ac:3: -1- m4_pattern_allow([^PATH_SEPARATOR$])
4916 m4trace:configure.ac:3: -1- m4_pattern_allow([^PACKAGE_NAME$])
4917 m4trace:configure.ac:3: -1- m4_pattern_allow([^PACKAGE_TARNAME$])
4918 m4trace:configure.ac:3: -1- m4_pattern_allow([^PACKAGE_VERSION$])
4919 m4trace:configure.ac:3: -1- m4_pattern_allow([^PACKAGE_STRING$])
4920 m4trace:configure.ac:3: -1- m4_pattern_allow([^PACKAGE_BUGREPORT$])
4921 m4trace:configure.ac:3: -1- m4_pattern_allow([^PACKAGE_URL$])
4922 m4trace:configure.ac:3: -1- m4_pattern_allow([^exec_prefix$])
4923 m4trace:configure.ac:3: -1- m4_pattern_allow([^prefix$])
4924 m4trace:configure.ac:3: -1- m4_pattern_allow([^program_transform_name$])
4925 m4trace:configure.ac:3: -1- m4_pattern_allow([^bindir$])
4926 m4trace:configure.ac:3: -1- m4_pattern_allow([^sbindir$])
4927 m4trace:configure.ac:3: -1- m4_pattern_allow([^libexecdir$])
4928 m4trace:configure.ac:3: -1- m4_pattern_allow([^datarootdir$])
4929 m4trace:configure.ac:3: -1- m4_pattern_allow([^datadir$])
4930 m4trace:configure.ac:3: -1- m4_pattern_allow([^sysconfdir$])
4931 m4trace:configure.ac:3: -1- m4_pattern_allow([^sharedstatedir$])
4932 m4trace:configure.ac:3: -1- m4_pattern_allow([^localstatedir$])
4933 m4trace:configure.ac:3: -1- m4_pattern_allow([^includedir$])
4934 m4trace:configure.ac:3: -1- m4_pattern_allow([^oldincludedir$])
4935 m4trace:configure.ac:3: -1- m4_pattern_allow([^docdir$])
4936 m4trace:configure.ac:3: -1- m4_pattern_allow([^infodir$])
4937 m4trace:configure.ac:3: -1- m4_pattern_allow([^htmldir$])
4938 m4trace:configure.ac:3: -1- m4_pattern_allow([^dvidir$])
4939 m4trace:configure.ac:3: -1- m4_pattern_allow([^pdfdir$])
4940 m4trace:configure.ac:3: -1- m4_pattern_allow([^psdir$])
4941 m4trace:configure.ac:3: -1- m4_pattern_allow([^libdir$])
4942 m4trace:configure.ac:3: -1- m4_pattern_allow([^localedir$])
4943 m4trace:configure.ac:3: -1- m4_pattern_allow([^mandir$])
4944 m4trace:configure.ac:3: -1- m4_pattern_allow([^PACKAGE_NAME$])
4945 m4trace:configure.ac:3: -1- m4_pattern_allow([^PACKAGE_TARNAME$])
4946 m4trace:configure.ac:3: -1- m4_pattern_allow([^PACKAGE_VERSION$])
4947 m4trace:configure.ac:3: -1- m4_pattern_allow([^PACKAGE_STRING$])
4948 m4trace:configure.ac:3: -1- m4_pattern_allow([^PACKAGE_BUGREPORT$])
4949 m4trace:configure.ac:3: -1- m4_pattern_allow([^PACKAGE_URL$])
4950 m4trace:configure.ac:3: -1- m4_pattern_allow([^DEFS$])
4951 m4trace:configure.ac:3: -1- m4_pattern_allow([^ECHO_C$])
4952 m4trace:configure.ac:3: -1- m4_pattern_allow([^ECHO_N$])
4953 m4trace:configure.ac:3: -1- m4_pattern_allow([^ECHO_T$])
4954 m4trace:configure.ac:3: -1- m4_pattern_allow([^LIBS$])
4955 m4trace:configure.ac:3: -1- m4_pattern_allow([^build_alias$])
4956 m4trace:configure.ac:3: -1- m4_pattern_allow([^host_alias$])
4957 m4trace:configure.ac:3: -1- m4_pattern_allow([^target_alias$])
4958 m4trace:configure.ac:15: -1- AM_INIT_AUTOMAKE([-Wall gnu 1.9 dist-bzip2 check-news])
4959 m4trace:configure.ac:15: -1- m4_pattern_allow([^AM_[A-Z]+FLAGS$])
4960 m4trace:configure.ac:15: -1- AM_SET_CURRENT_AUTOMAKE_VERSION
4961 m4trace:configure.ac:15: -1- AM_AUTOMAKE_VERSION([1.11.1])
4962 m4trace:configure.ac:15: -1- _AM_AUTOCONF_VERSION([2.68])
4963 m4trace:configure.ac:15: -1- m4_pattern_allow([^INSTALL_PROGRAM$])
4964 m4trace:configure.ac:15: -1- m4_pattern_allow([^INSTALL_SCRIPT$])
4965 m4trace:configure.ac:15: -1- m4_pattern_allow([^INSTALL_DATA$])
4966 m4trace:configure.ac:15: -1- m4_pattern_allow([^am__isrc$])
4967 m4trace:configure.ac:15: -1- _AM_SUBST_NOTMAKE([am__isrc])
4968 m4trace:configure.ac:15: -1- m4_pattern_allow([^CYGPATH_W$])
4969 m4trace:configure.ac:15: -1- _AM_SET_OPTIONS([-Wall gnu 1.9 dist-bzip2 check-news])
4970 m4trace:configure.ac:15: -1- _AM_SET_OPTION([-Wall])
4971 m4trace:configure.ac:15: -2- _AM_MANGLE_OPTION([-Wall])
4972 m4trace:configure.ac:15: -1- _AM_SET_OPTION([gnu])
4973 m4trace:configure.ac:15: -2- _AM_MANGLE_OPTION([gnu])
4974 m4trace:configure.ac:15: -1- _AM_SET_OPTION([1.9])
4975 m4trace:configure.ac:15: -2- _AM_MANGLE_OPTION([1.9])
4976 m4trace:configure.ac:15: -1- _AM_SET_OPTION([dist-bzip2])
4977 m4trace:configure.ac:15: -2- _AM_MANGLE_OPTION([dist-bzip2])
4978 m4trace:configure.ac:15: -1- _AM_SET_OPTION([check-news])
4979 m4trace:configure.ac:15: -2- _AM_MANGLE_OPTION([check-news])
4980 m4trace:configure.ac:15: -1- m4_pattern_allow([^PACKAGE$])
4981 m4trace:configure.ac:15: -1- m4_pattern_allow([^VERSION$])
4982 m4trace:configure.ac:15: -1- _AM_IF_OPTION([no-define], [], [AC_DEFINE_UNQUOTED(PACKAGE, "$PACKAGE", [Name of package])
4983 AC_DEFINE_UNQUOTED(VERSION, "$VERSION", [Version number of package])])
4984 m4trace:configure.ac:15: -2- _AM_MANGLE_OPTION([no-define])
4985 m4trace:configure.ac:15: -1- m4_pattern_allow([^PACKAGE$])
4986 m4trace:configure.ac:15: -1- m4_pattern_allow([^VERSION$])
4987 m4trace:configure.ac:15: -1- AM_SANITY_CHECK
4988 m4trace:configure.ac:15: -1- AM_MISSING_PROG([ACLOCAL], [aclocal-${am__api_version}])
4989 m4trace:configure.ac:15: -1- AM_MISSING_HAS_RUN
4990 m4trace:configure.ac:15: -1- AM_AUX_DIR_EXPAND
4991 m4trace:configure.ac:15: -1- m4_pattern_allow([^ACLOCAL$])
4992 m4trace:configure.ac:15: -1- AM_MISSING_PROG([AUTOCONF], [autoconf])
4993 m4trace:configure.ac:15: -1- m4_pattern_allow([^AUTOCONF$])
4994 m4trace:configure.ac:15: -1- AM_MISSING_PROG([AUTOMAKE], [automake-${am__api_version}])
4995 m4trace:configure.ac:15: -1- m4_pattern_allow([^AUTOMAKE$])
4996 m4trace:configure.ac:15: -1- AM_MISSING_PROG([AUTOHEADER], [autoheader])
4997 m4trace:configure.ac:15: -1- m4_pattern_allow([^AUTOHEADER$])
4998 m4trace:configure.ac:15: -1- AM_MISSING_PROG([MAKEINFO], [makeinfo])
4999 m4trace:configure.ac:15: -1- m4_pattern_allow([^MAKEINFO$])
5000 m4trace:configure.ac:15: -1- AM_PROG_INSTALL_SH
5001 m4trace:configure.ac:15: -1- m4_pattern_allow([^install_sh$])
5002 m4trace:configure.ac:15: -1- AM_PROG_INSTALL_STRIP
5003 m4trace:configure.ac:15: -1- m4_pattern_allow([^STRIP$])
5004 m4trace:configure.ac:15: -1- m4_pattern_allow([^INSTALL_STRIP_PROGRAM$])
5005 m4trace:configure.ac:15: -1- AM_PROG_MKDIR_P
5006 m4trace:configure.ac:15: -1- m4_pattern_allow([^MKDIR_P$])
5007 m4trace:configure.ac:15: -1- m4_pattern_allow([^mkdir_p$])
5008 m4trace:configure.ac:15: -1- m4_pattern_allow([^AWK$])
5009 m4trace:configure.ac:15: -1- m4_pattern_allow([^SET_MAKE$])
5010 m4trace:configure.ac:15: -1- AM_SET_LEADING_DOT
5011 m4trace:configure.ac:15: -1- m4_pattern_allow([^am__leading_dot$])
5012 m4trace:configure.ac:15: -1- _AM_IF_OPTION([tar-ustar], [_AM_PROG_TAR([ustar])], [_AM_IF_OPTION([tar-pax], [_AM_PROG_TAR([pax])],
5013 [_AM_PROG_TAR([v7])])])
5014 m4trace:configure.ac:15: -2- _AM_MANGLE_OPTION([tar-ustar])
5015 m4trace:configure.ac:15: -1- _AM_IF_OPTION([tar-pax], [_AM_PROG_TAR([pax])], [_AM_PROG_TAR([v7])])
5016 m4trace:configure.ac:15: -2- _AM_MANGLE_OPTION([tar-pax])
5017 m4trace:configure.ac:15: -1- _AM_PROG_TAR([v7])
5018 m4trace:configure.ac:15: -1- AM_MISSING_PROG([AMTAR], [tar])
5019 m4trace:configure.ac:15: -1- m4_pattern_allow([^AMTAR$])
5020 m4trace:configure.ac:15: -1- m4_pattern_allow([^am__tar$])
5021 m4trace:configure.ac:15: -1- m4_pattern_allow([^am__untar$])
5022 m4trace:configure.ac:15: -1- _AM_IF_OPTION([no-dependencies], [], [AC_PROVIDE_IFELSE([AC_PROG_CC],
5023 [_AM_DEPENDENCIES(CC)],
5024 [define([AC_PROG_CC],
5025 defn([AC_PROG_CC])[_AM_DEPENDENCIES(CC)])])dnl
5026 AC_PROVIDE_IFELSE([AC_PROG_CXX],
5027 [_AM_DEPENDENCIES(CXX)],
5028 [define([AC_PROG_CXX],
5029 defn([AC_PROG_CXX])[_AM_DEPENDENCIES(CXX)])])dnl
5030 AC_PROVIDE_IFELSE([AC_PROG_OBJC],
5031 [_AM_DEPENDENCIES(OBJC)],
5032 [define([AC_PROG_OBJC],
5033 defn([AC_PROG_OBJC])[_AM_DEPENDENCIES(OBJC)])])dnl
5035 m4trace:configure.ac:15: -2- _AM_MANGLE_OPTION([no-dependencies])
5036 m4trace:configure.ac:15: -1- _AM_IF_OPTION([silent-rules], [AC_REQUIRE([AM_SILENT_RULES])])
5037 m4trace:configure.ac:15: -2- _AM_MANGLE_OPTION([silent-rules])
5038 m4trace:configure.ac:44: -1- m4_pattern_allow([^LIBGPHOTO2_PORT_AGE$])
5039 m4trace:configure.ac:45: -1- m4_pattern_allow([^LIBGPHOTO2_PORT_REVISION$])
5040 m4trace:configure.ac:46: -1- m4_pattern_allow([^LIBGPHOTO2_PORT_CURRENT$])
5041 m4trace:configure.ac:47: -1- m4_pattern_allow([^LIBGPHOTO2_PORT_CURRENT_MIN$])
5042 m4trace:configure.ac:49: -1- m4_pattern_allow([^LIBGPHOTO2_PORT_VERSION_INFO$])
5043 m4trace:configure.ac:56: -1- m4_pattern_allow([^CC$])
5044 m4trace:configure.ac:56: -1- m4_pattern_allow([^CFLAGS$])
5045 m4trace:configure.ac:56: -1- m4_pattern_allow([^LDFLAGS$])
5046 m4trace:configure.ac:56: -1- m4_pattern_allow([^LIBS$])
5047 m4trace:configure.ac:56: -1- m4_pattern_allow([^CPPFLAGS$])
5048 m4trace:configure.ac:56: -1- m4_pattern_allow([^CC$])
5049 m4trace:configure.ac:56: -1- m4_pattern_allow([^CC$])
5050 m4trace:configure.ac:56: -1- m4_pattern_allow([^CC$])
5051 m4trace:configure.ac:56: -1- m4_pattern_allow([^CC$])
5052 m4trace:configure.ac:56: -1- m4_pattern_allow([^ac_ct_CC$])
5053 m4trace:configure.ac:56: -1- m4_pattern_allow([^EXEEXT$])
5054 m4trace:configure.ac:56: -1- m4_pattern_allow([^OBJEXT$])
5055 m4trace:configure.ac:56: -1- _AM_DEPENDENCIES([CC])
5056 m4trace:configure.ac:56: -1- AM_SET_DEPDIR
5057 m4trace:configure.ac:56: -1- m4_pattern_allow([^DEPDIR$])
5058 m4trace:configure.ac:56: -1- AM_OUTPUT_DEPENDENCY_COMMANDS
5059 m4trace:configure.ac:56: -1- AM_MAKE_INCLUDE
5060 m4trace:configure.ac:56: -1- m4_pattern_allow([^am__include$])
5061 m4trace:configure.ac:56: -1- m4_pattern_allow([^am__quote$])
5062 m4trace:configure.ac:56: -1- AM_DEP_TRACK
5063 m4trace:configure.ac:56: -1- AM_CONDITIONAL([AMDEP], [test "x$enable_dependency_tracking" != xno])
5064 m4trace:configure.ac:56: -1- m4_pattern_allow([^AMDEP_TRUE$])
5065 m4trace:configure.ac:56: -1- m4_pattern_allow([^AMDEP_FALSE$])
5066 m4trace:configure.ac:56: -1- _AM_SUBST_NOTMAKE([AMDEP_TRUE])
5067 m4trace:configure.ac:56: -1- _AM_SUBST_NOTMAKE([AMDEP_FALSE])
5068 m4trace:configure.ac:56: -1- m4_pattern_allow([^AMDEPBACKSLASH$])
5069 m4trace:configure.ac:56: -1- _AM_SUBST_NOTMAKE([AMDEPBACKSLASH])
5070 m4trace:configure.ac:56: -1- m4_pattern_allow([^CCDEPMODE$])
5071 m4trace:configure.ac:56: -1- AM_CONDITIONAL([am__fastdepCC], [
5072 test "x$enable_dependency_tracking" != xno \
5073 && test "$am_cv_CC_dependencies_compiler_type" = gcc3])
5074 m4trace:configure.ac:56: -1- m4_pattern_allow([^am__fastdepCC_TRUE$])
5075 m4trace:configure.ac:56: -1- m4_pattern_allow([^am__fastdepCC_FALSE$])
5076 m4trace:configure.ac:56: -1- _AM_SUBST_NOTMAKE([am__fastdepCC_TRUE])
5077 m4trace:configure.ac:56: -1- _AM_SUBST_NOTMAKE([am__fastdepCC_FALSE])
5078 m4trace:configure.ac:57: -1- m4_pattern_allow([^CPP$])
5079 m4trace:configure.ac:57: -1- m4_pattern_allow([^CPPFLAGS$])
5080 m4trace:configure.ac:57: -1- m4_pattern_allow([^CPP$])
5081 m4trace:configure.ac:59: -1- AM_PROG_CC_C_O
5082 m4trace:configure.ac:59: -1- m4_pattern_allow([^NO_MINUS_C_MINUS_O$])
5083 m4trace:configure.ac:72: -1- AC_DISABLE_STATIC
5084 m4trace:configure.ac:73: -1- AC_LIBTOOL_WIN32_DLL
5085 m4trace:configure.ac:73: -1- _m4_warn([obsolete], [The macro `AC_LIBTOOL_WIN32_DLL' is obsolete.
5086 You should run autoupdate.], [auto-m4/ltoptions.m4:145: AC_LIBTOOL_WIN32_DLL is expanded from...
5087 configure.ac:73: the top level])
5088 m4trace:configure.ac:73: -1- m4_pattern_allow([^build$])
5089 m4trace:configure.ac:73: -1- m4_pattern_allow([^build_cpu$])
5090 m4trace:configure.ac:73: -1- m4_pattern_allow([^build_vendor$])
5091 m4trace:configure.ac:73: -1- m4_pattern_allow([^build_os$])
5092 m4trace:configure.ac:73: -1- m4_pattern_allow([^host$])
5093 m4trace:configure.ac:73: -1- m4_pattern_allow([^host_cpu$])
5094 m4trace:configure.ac:73: -1- m4_pattern_allow([^host_vendor$])
5095 m4trace:configure.ac:73: -1- m4_pattern_allow([^host_os$])
5096 m4trace:configure.ac:73: -1- m4_pattern_allow([^AS$])
5097 m4trace:configure.ac:73: -1- m4_pattern_allow([^DLLTOOL$])
5098 m4trace:configure.ac:73: -1- m4_pattern_allow([^OBJDUMP$])
5099 m4trace:configure.ac:73: -1- _m4_warn([obsolete], [AC_LIBTOOL_WIN32_DLL: Remove this warning and the call to _LT_SET_OPTION when you
5100 put the `win32-dll' option into LT_INIT's first parameter.], [auto-m4/ltoptions.m4:145: AC_LIBTOOL_WIN32_DLL is expanded from...
5101 configure.ac:73: the top level])
5102 m4trace:configure.ac:74: -1- AC_LIBTOOL_DLOPEN
5103 m4trace:configure.ac:74: -1- _m4_warn([obsolete], [The macro `AC_LIBTOOL_DLOPEN' is obsolete.
5104 You should run autoupdate.], [auto-m4/ltoptions.m4:110: AC_LIBTOOL_DLOPEN is expanded from...
5105 configure.ac:74: the top level])
5106 m4trace:configure.ac:74: -1- _m4_warn([obsolete], [AC_LIBTOOL_DLOPEN: Remove this warning and the call to _LT_SET_OPTION when you
5107 put the `dlopen' option into LT_INIT's first parameter.], [auto-m4/ltoptions.m4:110: AC_LIBTOOL_DLOPEN is expanded from...
5108 configure.ac:74: the top level])
5109 m4trace:configure.ac:75: -1- AC_PROG_LIBTOOL
5110 m4trace:configure.ac:75: -1- _m4_warn([obsolete], [The macro `AC_PROG_LIBTOOL' is obsolete.
5111 You should run autoupdate.], [auto-m4/libtool.m4:102: AC_PROG_LIBTOOL is expanded from...
5112 configure.ac:75: the top level])
5113 m4trace:configure.ac:75: -1- LT_INIT
5114 m4trace:configure.ac:75: -1- m4_pattern_forbid([^_?LT_[A-Z_]+$])
5115 m4trace:configure.ac:75: -1- m4_pattern_allow([^(_LT_EOF|LT_DLGLOBAL|LT_DLLAZY_OR_NOW|LT_MULTI_MODULE)$])
5116 m4trace:configure.ac:75: -1- LTOPTIONS_VERSION
5117 m4trace:configure.ac:75: -1- LTSUGAR_VERSION
5118 m4trace:configure.ac:75: -1- LTVERSION_VERSION
5119 m4trace:configure.ac:75: -1- LTOBSOLETE_VERSION
5120 m4trace:configure.ac:75: -1- _LT_PROG_LTMAIN
5121 m4trace:configure.ac:75: -1- m4_pattern_allow([^LIBTOOL$])
5122 m4trace:configure.ac:75: -1- LT_PATH_LD
5123 m4trace:configure.ac:75: -1- m4_pattern_allow([^SED$])
5124 m4trace:configure.ac:75: -1- AC_PROG_EGREP
5125 m4trace:configure.ac:75: -1- m4_pattern_allow([^GREP$])
5126 m4trace:configure.ac:75: -1- m4_pattern_allow([^EGREP$])
5127 m4trace:configure.ac:75: -1- m4_pattern_allow([^FGREP$])
5128 m4trace:configure.ac:75: -1- m4_pattern_allow([^GREP$])
5129 m4trace:configure.ac:75: -1- m4_pattern_allow([^LD$])
5130 m4trace:configure.ac:75: -1- LT_PATH_NM
5131 m4trace:configure.ac:75: -1- m4_pattern_allow([^DUMPBIN$])
5132 m4trace:configure.ac:75: -1- m4_pattern_allow([^ac_ct_DUMPBIN$])
5133 m4trace:configure.ac:75: -1- m4_pattern_allow([^DUMPBIN$])
5134 m4trace:configure.ac:75: -1- m4_pattern_allow([^NM$])
5135 m4trace:configure.ac:75: -1- m4_pattern_allow([^LN_S$])
5136 m4trace:configure.ac:75: -1- LT_CMD_MAX_LEN
5137 m4trace:configure.ac:75: -1- m4_pattern_allow([^OBJDUMP$])
5138 m4trace:configure.ac:75: -1- m4_pattern_allow([^OBJDUMP$])
5139 m4trace:configure.ac:75: -1- m4_pattern_allow([^AR$])
5140 m4trace:configure.ac:75: -1- m4_pattern_allow([^STRIP$])
5141 m4trace:configure.ac:75: -1- m4_pattern_allow([^RANLIB$])
5142 m4trace:configure.ac:75: -1- m4_pattern_allow([LT_OBJDIR])
5143 m4trace:configure.ac:75: -1- m4_pattern_allow([^LT_OBJDIR$])
5144 m4trace:configure.ac:75: -1- m4_pattern_allow([^lt_ECHO$])
5145 m4trace:configure.ac:75: -1- _LT_CC_BASENAME([$compiler])
5146 m4trace:configure.ac:75: -1- _LT_PATH_TOOL_PREFIX([${ac_tool_prefix}file], [/usr/bin$PATH_SEPARATOR$PATH])
5147 m4trace:configure.ac:75: -1- _LT_PATH_TOOL_PREFIX([file], [/usr/bin$PATH_SEPARATOR$PATH])
5148 m4trace:configure.ac:75: -1- LT_SUPPORTED_TAG([CC])
5149 m4trace:configure.ac:75: -1- _LT_COMPILER_BOILERPLATE
5150 m4trace:configure.ac:75: -1- _LT_LINKER_BOILERPLATE
5151 m4trace:configure.ac:75: -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"])
5152 m4trace:configure.ac:75: -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
5154 *) _LT_TAGVAR(lt_prog_compiler_pic, )=" $_LT_TAGVAR(lt_prog_compiler_pic, )" ;;
5155 esac], [_LT_TAGVAR(lt_prog_compiler_pic, )=
5156 _LT_TAGVAR(lt_prog_compiler_can_build_shared, )=no])
5157 m4trace:configure.ac:75: -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, )=])
5158 m4trace:configure.ac:75: -1- _m4_warn([syntax], [AC_LANG_CONFTEST: no AC_LANG_SOURCE call detected in body], [../../lib/autoconf/lang.m4:194: AC_LANG_CONFTEST is expanded from...
5159 ../../lib/autoconf/general.m4:2662: _AC_LINK_IFELSE is expanded from...
5160 ../../lib/autoconf/general.m4:2679: AC_LINK_IFELSE is expanded from...
5161 auto-m4/libtool.m4:1021: _LT_SYS_MODULE_PATH_AIX is expanded from...
5162 auto-m4/libtool.m4:4157: _LT_LINKER_SHLIBS is expanded from...
5163 auto-m4/libtool.m4:5232: _LT_LANG_C_CONFIG is expanded from...
5164 auto-m4/libtool.m4:138: _LT_SETUP is expanded from...
5165 auto-m4/libtool.m4:67: LT_INIT is expanded from...
5166 auto-m4/libtool.m4:102: AC_PROG_LIBTOOL is expanded from...
5167 configure.ac:75: the top level])
5168 m4trace:configure.ac:75: -1- _m4_warn([syntax], [AC_LANG_CONFTEST: no AC_LANG_SOURCE call detected in body], [../../lib/autoconf/lang.m4:194: AC_LANG_CONFTEST is expanded from...
5169 ../../lib/autoconf/general.m4:2662: _AC_LINK_IFELSE is expanded from...
5170 ../../lib/autoconf/general.m4:2679: AC_LINK_IFELSE is expanded from...
5171 auto-m4/libtool.m4:1021: _LT_SYS_MODULE_PATH_AIX is expanded from...
5172 auto-m4/libtool.m4:4157: _LT_LINKER_SHLIBS is expanded from...
5173 auto-m4/libtool.m4:5232: _LT_LANG_C_CONFIG is expanded from...
5174 auto-m4/libtool.m4:138: _LT_SETUP is expanded from...
5175 auto-m4/libtool.m4:67: LT_INIT is expanded from...
5176 auto-m4/libtool.m4:102: AC_PROG_LIBTOOL is expanded from...
5177 configure.ac:75: the top level])
5178 m4trace:configure.ac:75: -1- m4_pattern_allow([^DSYMUTIL$])
5179 m4trace:configure.ac:75: -1- m4_pattern_allow([^NMEDIT$])
5180 m4trace:configure.ac:75: -1- m4_pattern_allow([^LIPO$])
5181 m4trace:configure.ac:75: -1- m4_pattern_allow([^OTOOL$])
5182 m4trace:configure.ac:75: -1- m4_pattern_allow([^OTOOL64$])
5183 m4trace:configure.ac:75: -1- _m4_warn([syntax], [AC_LANG_CONFTEST: no AC_LANG_SOURCE call detected in body], [../../lib/autoconf/lang.m4:194: AC_LANG_CONFTEST is expanded from...
5184 ../../lib/autoconf/general.m4:2662: _AC_LINK_IFELSE is expanded from...
5185 ../../lib/autoconf/general.m4:2679: AC_LINK_IFELSE is expanded from...
5186 auto-m4/libtool.m4:4157: _LT_LINKER_SHLIBS is expanded from...
5187 auto-m4/libtool.m4:5232: _LT_LANG_C_CONFIG is expanded from...
5188 auto-m4/libtool.m4:138: _LT_SETUP is expanded from...
5189 auto-m4/libtool.m4:67: LT_INIT is expanded from...
5190 auto-m4/libtool.m4:102: AC_PROG_LIBTOOL is expanded from...
5191 configure.ac:75: the top level])
5192 m4trace:configure.ac:75: -1- LT_SYS_DLOPEN_SELF
5193 m4trace:configure.ac:75: -1- m4_pattern_allow([^STDC_HEADERS$])
5194 m4trace:configure.ac:75: -1- m4_pattern_allow([^HAVE_DLFCN_H$])
5195 m4trace:configure.ac:84: -1- GP_CONFIG_MSG([Build])
5196 m4trace:configure.ac:84: -1- GP_CONFIG_INIT
5197 m4trace:configure.ac:84: -1- GP_CHECK_SHELL_ENVIRONMENT
5198 m4trace:configure.ac:85: -1- GP_CONFIG_MSG([Source directory], [${srcdir}])
5199 m4trace:configure.ac:86: -1- GP_CONFIG_MSG([Compiler], [${CC}])
5200 m4trace:configure.ac:90: -1- m4_pattern_allow([^HAVE_CC$])
5201 m4trace:configure.ac:99: -1- GP_REFERENCES([])
5202 m4trace:configure.ac:99: -1- GP_REF([URL_GPHOTO_HOME], [http://www.gphoto.org/], [gphoto project home page])
5203 m4trace:configure.ac:99: -1- m4_pattern_allow([^URL_GPHOTO_HOME$])
5204 m4trace:configure.ac:99: -1- m4_pattern_allow([^URL_GPHOTO_HOME$])
5205 m4trace:configure.ac:99: -1- GP_REF([URL_GPHOTO_PROJECT], [http://sourceforge.net/projects/gphoto], [gphoto sourceforge project page])
5206 m4trace:configure.ac:99: -1- m4_pattern_allow([^URL_GPHOTO_PROJECT$])
5207 m4trace:configure.ac:99: -1- m4_pattern_allow([^URL_GPHOTO_PROJECT$])
5208 m4trace:configure.ac:99: -1- GP_REF([URL_DIGICAM_LIST], [http://www.teaser.fr/~hfiguiere/linux/digicam.html], [camera list with support status])
5209 m4trace:configure.ac:99: -1- m4_pattern_allow([^URL_DIGICAM_LIST$])
5210 m4trace:configure.ac:99: -1- m4_pattern_allow([^URL_DIGICAM_LIST$])
5211 m4trace:configure.ac:99: -1- GP_REF([URL_JPHOTO_HOME], [http://jphoto.sourceforge.net/], [jphoto home page])
5212 m4trace:configure.ac:99: -1- m4_pattern_allow([^URL_JPHOTO_HOME$])
5213 m4trace:configure.ac:99: -1- m4_pattern_allow([^URL_JPHOTO_HOME$])
5214 m4trace:configure.ac:99: -1- GP_REF([URL_USB_MASSSTORAGE], [http://www.linux-usb.org/USB-guide/x498.html], [information about using USB mass storage])
5215 m4trace:configure.ac:99: -1- m4_pattern_allow([^URL_USB_MASSSTORAGE$])
5216 m4trace:configure.ac:99: -1- m4_pattern_allow([^URL_USB_MASSSTORAGE$])
5217 m4trace:configure.ac:99: -1- GP_REF([MAIL_GPHOTO_DEVEL], [<gphoto-devel@lists.sourceforge.net>], [gphoto development mailing list])
5218 m4trace:configure.ac:99: -1- m4_pattern_allow([^MAIL_GPHOTO_DEVEL$])
5219 m4trace:configure.ac:99: -1- m4_pattern_allow([^MAIL_GPHOTO_DEVEL$])
5220 m4trace:configure.ac:99: -1- GP_REF([MAIL_GPHOTO_USER], [<gphoto-user@lists.sourceforge.net>], [gphoto user mailing list])
5221 m4trace:configure.ac:99: -1- m4_pattern_allow([^MAIL_GPHOTO_USER$])
5222 m4trace:configure.ac:99: -1- m4_pattern_allow([^MAIL_GPHOTO_USER$])
5223 m4trace:configure.ac:99: -1- GP_REF([MAIL_GPHOTO_TRANSLATION], [<gphoto-translation@lists.sourceforge.net>], [gphoto translation mailing list])
5224 m4trace:configure.ac:99: -1- m4_pattern_allow([^MAIL_GPHOTO_TRANSLATION$])
5225 m4trace:configure.ac:99: -1- m4_pattern_allow([^MAIL_GPHOTO_TRANSLATION$])
5226 m4trace:configure.ac:114: -1- GP_GETTEXT_HACK([${PACKAGE}-${LIBGPHOTO2_PORT_CURRENT_MIN}], [Lutz Mueller and others], [${MAIL_GPHOTO_TRANSLATION}])
5227 m4trace:configure.ac:114: -1- m4_pattern_allow([^GETTEXT_PACKAGE$])
5228 m4trace:configure.ac:114: -1- m4_pattern_allow([^GETTEXT_PACKAGE$])
5229 m4trace:configure.ac:116: -1- AM_GNU_GETTEXT_VERSION([0.14.1])
5230 m4trace:configure.ac:117: -1- AM_GNU_GETTEXT([external])
5231 m4trace:configure.ac:117: -1- AM_PO_SUBDIRS
5232 m4trace:configure.ac:117: -1- AM_MKINSTALLDIRS
5233 m4trace:configure.ac:117: -1- m4_pattern_allow([^MKINSTALLDIRS$])
5234 m4trace:configure.ac:117: -1- AM_NLS
5235 m4trace:configure.ac:117: -1- m4_pattern_allow([^USE_NLS$])
5236 m4trace:configure.ac:117: -1- AM_PATH_PROG_WITH_TEST([MSGFMT], [msgfmt], [$ac_dir/$ac_word --statistics /dev/null >/dev/null 2>&1 &&
5237 (if $ac_dir/$ac_word --statistics /dev/null 2>&1 >/dev/null | grep usage >/dev/null; then exit 1; else exit 0; fi)], [:])
5238 m4trace:configure.ac:117: -1- m4_pattern_allow([^MSGFMT$])
5239 m4trace:configure.ac:117: -1- m4_pattern_allow([^GMSGFMT$])
5240 m4trace:configure.ac:117: -1- AM_PATH_PROG_WITH_TEST([XGETTEXT], [xgettext], [$ac_dir/$ac_word --omit-header --copyright-holder= --msgid-bugs-address= /dev/null >/dev/null 2>&1 &&
5241 (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)], [:])
5242 m4trace:configure.ac:117: -1- m4_pattern_allow([^XGETTEXT$])
5243 m4trace:configure.ac:117: -1- AM_PATH_PROG_WITH_TEST([MSGMERGE], [msgmerge], [$ac_dir/$ac_word --update -q /dev/null /dev/null >/dev/null 2>&1], [:])
5244 m4trace:configure.ac:117: -1- m4_pattern_allow([^MSGMERGE$])
5245 m4trace:configure.ac:117: -1- _m4_warn([obsolete], [The macro `AC_OUTPUT_COMMANDS' is obsolete.
5246 You should run autoupdate.], [../../lib/autoconf/status.m4:1028: AC_OUTPUT_COMMANDS is expanded from...
5247 auto-m4/po.m4:23: AM_PO_SUBDIRS is expanded from...
5248 auto-m4/gettext.m4:59: AM_GNU_GETTEXT is expanded from...
5249 configure.ac:117: the top level])
5250 m4trace:configure.ac:117: -1- AC_LIB_PREPARE_PREFIX
5251 m4trace:configure.ac:117: -1- AC_LIB_RPATH
5252 m4trace:configure.ac:117: -1- AC_LIB_PROG_LD
5253 m4trace:configure.ac:117: -1- AC_LIB_PROG_LD_GNU
5254 m4trace:configure.ac:117: -1- AM_ICONV_LINKFLAGS_BODY
5255 m4trace:configure.ac:117: -1- AC_LIB_LINKFLAGS_BODY([iconv])
5256 m4trace:configure.ac:117: -1- AC_LIB_WITH_FINAL_PREFIX([
5257 eval additional_includedir=\"$includedir\"
5258 eval additional_libdir=\"$libdir\"
5260 m4trace:configure.ac:117: -1- AC_LIB_ARG_WITH([libiconv-prefix], [ --with-libiconv-prefix[=DIR] search for libiconv in DIR/include and DIR/lib
5261 --without-libiconv-prefix don't search for libiconv in includedir and libdir], [
5262 if test "X$withval" = "Xno"; then
5265 if test "X$withval" = "X"; then
5266 AC_LIB_WITH_FINAL_PREFIX([
5267 eval additional_includedir=\"$includedir\"
5268 eval additional_libdir=\"$libdir\"
5271 additional_includedir="$withval/include"
5272 additional_libdir="$withval/lib"
5276 m4trace:configure.ac:117: -1- AC_LIB_WITH_FINAL_PREFIX([
5277 eval additional_includedir=\"$includedir\"
5278 eval additional_libdir=\"$libdir\"
5280 m4trace:configure.ac:117: -1- AC_LIB_WITH_FINAL_PREFIX([eval x=\"$x\"])
5281 m4trace:configure.ac:117: -1- AC_LIB_WITH_FINAL_PREFIX([eval x=\"$x\"])
5282 m4trace:configure.ac:117: -1- AC_LIB_WITH_FINAL_PREFIX([eval x=\"$x\"])
5283 m4trace:configure.ac:117: -1- AC_LIB_WITH_FINAL_PREFIX([eval x=\"$x\"])
5284 m4trace:configure.ac:117: -1- AC_LIB_WITH_FINAL_PREFIX([eval x=\"$x\"])
5285 m4trace:configure.ac:117: -1- AM_NLS
5286 m4trace:configure.ac:117: -1- m4_pattern_allow([^USE_NLS$])
5287 m4trace:configure.ac:117: -1- _m4_warn([obsolete], [The macro `AC_TRY_LINK' is obsolete.
5288 You should run autoupdate.], [../../lib/autoconf/general.m4:2688: AC_TRY_LINK is expanded from...
5289 ../../lib/m4sugar/m4sh.m4:606: AS_IF is expanded from...
5290 ../../lib/autoconf/general.m4:2032: AC_CACHE_VAL is expanded from...
5291 ../../lib/autoconf/general.m4:2053: AC_CACHE_CHECK is expanded from...
5292 auto-m4/gettext.m4:59: AM_GNU_GETTEXT is expanded from...
5293 configure.ac:117: the top level])
5294 m4trace:configure.ac:117: -1- AM_ICONV_LINK
5295 m4trace:configure.ac:117: -1- AC_LIB_APPENDTOVAR([CPPFLAGS], [$INCICONV])
5296 m4trace:configure.ac:117: -1- AC_LIB_WITH_FINAL_PREFIX([eval x=\"$x\"])
5297 m4trace:configure.ac:117: -1- _m4_warn([obsolete], [The macro `AC_TRY_LINK' is obsolete.
5298 You should run autoupdate.], [../../lib/autoconf/general.m4:2688: AC_TRY_LINK is expanded from...
5299 ../../lib/m4sugar/m4sh.m4:606: AS_IF is expanded from...
5300 ../../lib/autoconf/general.m4:2032: AC_CACHE_VAL is expanded from...
5301 ../../lib/autoconf/general.m4:2053: AC_CACHE_CHECK is expanded from...
5302 auto-m4/iconv.m4:22: AM_ICONV_LINK is expanded from...
5303 auto-m4/gettext.m4:59: AM_GNU_GETTEXT is expanded from...
5304 configure.ac:117: the top level])
5305 m4trace:configure.ac:117: -1- _m4_warn([obsolete], [The macro `AC_TRY_LINK' is obsolete.
5306 You should run autoupdate.], [../../lib/autoconf/general.m4:2688: AC_TRY_LINK is expanded from...
5307 ../../lib/m4sugar/m4sh.m4:606: AS_IF is expanded from...
5308 ../../lib/autoconf/general.m4:2032: AC_CACHE_VAL is expanded from...
5309 ../../lib/autoconf/general.m4:2053: AC_CACHE_CHECK is expanded from...
5310 auto-m4/iconv.m4:22: AM_ICONV_LINK is expanded from...
5311 auto-m4/gettext.m4:59: AM_GNU_GETTEXT is expanded from...
5312 configure.ac:117: the top level])
5313 m4trace:configure.ac:117: -1- m4_pattern_allow([^HAVE_ICONV$])
5314 m4trace:configure.ac:117: -1- m4_pattern_allow([^LIBICONV$])
5315 m4trace:configure.ac:117: -1- m4_pattern_allow([^LTLIBICONV$])
5316 m4trace:configure.ac:117: -1- AC_LIB_LINKFLAGS_BODY([intl])
5317 m4trace:configure.ac:117: -1- AC_LIB_WITH_FINAL_PREFIX([
5318 eval additional_includedir=\"$includedir\"
5319 eval additional_libdir=\"$libdir\"
5321 m4trace:configure.ac:117: -1- AC_LIB_ARG_WITH([libintl-prefix], [ --with-libintl-prefix[=DIR] search for libintl in DIR/include and DIR/lib
5322 --without-libintl-prefix don't search for libintl in includedir and libdir], [
5323 if test "X$withval" = "Xno"; then
5326 if test "X$withval" = "X"; then
5327 AC_LIB_WITH_FINAL_PREFIX([
5328 eval additional_includedir=\"$includedir\"
5329 eval additional_libdir=\"$libdir\"
5332 additional_includedir="$withval/include"
5333 additional_libdir="$withval/lib"
5337 m4trace:configure.ac:117: -1- AC_LIB_WITH_FINAL_PREFIX([
5338 eval additional_includedir=\"$includedir\"
5339 eval additional_libdir=\"$libdir\"
5341 m4trace:configure.ac:117: -1- AC_LIB_WITH_FINAL_PREFIX([eval x=\"$x\"])
5342 m4trace:configure.ac:117: -1- AC_LIB_WITH_FINAL_PREFIX([eval x=\"$x\"])
5343 m4trace:configure.ac:117: -1- AC_LIB_WITH_FINAL_PREFIX([eval x=\"$x\"])
5344 m4trace:configure.ac:117: -1- AC_LIB_WITH_FINAL_PREFIX([eval x=\"$x\"])
5345 m4trace:configure.ac:117: -1- AC_LIB_WITH_FINAL_PREFIX([eval x=\"$x\"])
5346 m4trace:configure.ac:117: -1- _m4_warn([obsolete], [The macro `AC_TRY_LINK' is obsolete.
5347 You should run autoupdate.], [../../lib/autoconf/general.m4:2688: AC_TRY_LINK is expanded from...
5348 ../../lib/m4sugar/m4sh.m4:606: AS_IF is expanded from...
5349 ../../lib/autoconf/general.m4:2032: AC_CACHE_VAL is expanded from...
5350 ../../lib/autoconf/general.m4:2053: AC_CACHE_CHECK is expanded from...
5351 auto-m4/gettext.m4:59: AM_GNU_GETTEXT is expanded from...
5352 configure.ac:117: the top level])
5353 m4trace:configure.ac:117: -1- _m4_warn([obsolete], [The macro `AC_TRY_LINK' is obsolete.
5354 You should run autoupdate.], [../../lib/autoconf/general.m4:2688: AC_TRY_LINK is expanded from...
5355 ../../lib/m4sugar/m4sh.m4:606: AS_IF is expanded from...
5356 ../../lib/autoconf/general.m4:2032: AC_CACHE_VAL is expanded from...
5357 ../../lib/autoconf/general.m4:2053: AC_CACHE_CHECK is expanded from...
5358 auto-m4/gettext.m4:59: AM_GNU_GETTEXT is expanded from...
5359 configure.ac:117: the top level])
5360 m4trace:configure.ac:117: -1- m4_pattern_allow([^ENABLE_NLS$])
5361 m4trace:configure.ac:117: -1- AC_LIB_APPENDTOVAR([CPPFLAGS], [$INCINTL])
5362 m4trace:configure.ac:117: -1- AC_LIB_WITH_FINAL_PREFIX([eval x=\"$x\"])
5363 m4trace:configure.ac:117: -1- m4_pattern_allow([^HAVE_GETTEXT$])
5364 m4trace:configure.ac:117: -1- m4_pattern_allow([^HAVE_DCGETTEXT$])
5365 m4trace:configure.ac:117: -1- m4_pattern_allow([^INTLLIBS$])
5366 m4trace:configure.ac:117: -1- m4_pattern_allow([^LIBINTL$])
5367 m4trace:configure.ac:117: -1- m4_pattern_allow([^LTLIBINTL$])
5368 m4trace:configure.ac:117: -1- m4_pattern_allow([^POSUB$])
5369 m4trace:configure.ac:118: -1- AM_PO_SUBDIRS([])
5370 m4trace:configure.ac:118: -1- AM_PATH_PROG_WITH_TEST([MSGFMT], [msgfmt], [$ac_dir/$ac_word --statistics /dev/null >/dev/null 2>&1 &&
5371 (if $ac_dir/$ac_word --statistics /dev/null 2>&1 >/dev/null | grep usage >/dev/null; then exit 1; else exit 0; fi)], [:])
5372 m4trace:configure.ac:118: -1- m4_pattern_allow([^MSGFMT$])
5373 m4trace:configure.ac:118: -1- m4_pattern_allow([^GMSGFMT$])
5374 m4trace:configure.ac:118: -1- AM_PATH_PROG_WITH_TEST([XGETTEXT], [xgettext], [$ac_dir/$ac_word --omit-header --copyright-holder= --msgid-bugs-address= /dev/null >/dev/null 2>&1 &&
5375 (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)], [:])
5376 m4trace:configure.ac:118: -1- m4_pattern_allow([^XGETTEXT$])
5377 m4trace:configure.ac:118: -1- AM_PATH_PROG_WITH_TEST([MSGMERGE], [msgmerge], [$ac_dir/$ac_word --update -q /dev/null /dev/null >/dev/null 2>&1], [:])
5378 m4trace:configure.ac:118: -1- m4_pattern_allow([^MSGMERGE$])
5379 m4trace:configure.ac:118: -1- _m4_warn([obsolete], [The macro `AC_OUTPUT_COMMANDS' is obsolete.
5380 You should run autoupdate.], [../../lib/autoconf/status.m4:1028: AC_OUTPUT_COMMANDS is expanded from...
5381 auto-m4/po.m4:23: AM_PO_SUBDIRS is expanded from...
5382 configure.ac:118: the top level])
5383 m4trace:configure.ac:119: -1- AM_ICONV([])
5384 m4trace:configure.ac:119: -1- AM_ICONV_LINK
5385 m4trace:configure.ac:119: -1- AC_LIB_APPENDTOVAR([CPPFLAGS], [$INCICONV])
5386 m4trace:configure.ac:119: -1- AC_LIB_WITH_FINAL_PREFIX([eval x=\"$x\"])
5387 m4trace:configure.ac:119: -1- _m4_warn([obsolete], [The macro `AC_TRY_LINK' is obsolete.
5388 You should run autoupdate.], [../../lib/autoconf/general.m4:2688: AC_TRY_LINK is expanded from...
5389 ../../lib/m4sugar/m4sh.m4:606: AS_IF is expanded from...
5390 ../../lib/autoconf/general.m4:2032: AC_CACHE_VAL is expanded from...
5391 ../../lib/autoconf/general.m4:2053: AC_CACHE_CHECK is expanded from...
5392 auto-m4/iconv.m4:22: AM_ICONV_LINK is expanded from...
5393 auto-m4/iconv.m4:77: AM_ICONV is expanded from...
5394 configure.ac:119: the top level])
5395 m4trace:configure.ac:119: -1- _m4_warn([obsolete], [The macro `AC_TRY_LINK' is obsolete.
5396 You should run autoupdate.], [../../lib/autoconf/general.m4:2688: AC_TRY_LINK is expanded from...
5397 ../../lib/m4sugar/m4sh.m4:606: AS_IF is expanded from...
5398 ../../lib/autoconf/general.m4:2032: AC_CACHE_VAL is expanded from...
5399 ../../lib/autoconf/general.m4:2053: AC_CACHE_CHECK is expanded from...
5400 auto-m4/iconv.m4:22: AM_ICONV_LINK is expanded from...
5401 auto-m4/iconv.m4:77: AM_ICONV is expanded from...
5402 configure.ac:119: the top level])
5403 m4trace:configure.ac:119: -1- m4_pattern_allow([^HAVE_ICONV$])
5404 m4trace:configure.ac:119: -1- m4_pattern_allow([^LIBICONV$])
5405 m4trace:configure.ac:119: -1- m4_pattern_allow([^LTLIBICONV$])
5406 m4trace:configure.ac:119: -1- _m4_warn([obsolete], [The macro `AC_TRY_COMPILE' is obsolete.
5407 You should run autoupdate.], [../../lib/autoconf/general.m4:2615: AC_TRY_COMPILE is expanded from...
5408 ../../lib/m4sugar/m4sh.m4:606: AS_IF is expanded from...
5409 ../../lib/autoconf/general.m4:2032: AC_CACHE_VAL is expanded from...
5410 auto-m4/iconv.m4:77: AM_ICONV is expanded from...
5411 configure.ac:119: the top level])
5412 m4trace:configure.ac:119: -1- m4_pattern_allow([^ICONV_CONST$])
5413 m4trace:configure.ac:120: -1- GP_GETTEXT_FLAGS([])
5414 m4trace:configure.ac:120: -1- GP_CONFIG_MSG([Use translations], [${USE_NLS}])
5415 m4trace:configure.ac:120: -1- GP_CONFIG_MSG([Use included libintl], [${BUILD_INCLUDED_LIBINTL}])
5416 m4trace:configure.ac:122: -1- m4_pattern_allow([^localedir$])
5417 m4trace:configure.ac:140: -1- m4_pattern_allow([^STDC_HEADERS$])
5418 m4trace:configure.ac:143: -1- m4_pattern_allow([^const$])
5419 m4trace:configure.ac:153: -1- m4_pattern_allow([^HAVE_REGEX$])
5420 m4trace:configure.ac:173: -1- m4_pattern_allow([^HAVE_MDNS_BONJOUR$])
5421 m4trace:configure.ac:180: -1- m4_pattern_allow([^MDNS_LIBS$])
5422 m4trace:configure.ac:184: -1- m4_pattern_allow([^HAVE_MNTTAB$])
5423 m4trace:configure.ac:202: -1- m4_pattern_allow([^MDNS_LIBS$])
5424 m4trace:configure.ac:209: -2- m4_pattern_allow([^HAVE_RTS_IOCTL$])
5425 m4trace:configure.ac:208: -1- _m4_warn([obsolete], [The macro `AC_TRY_COMPILE' is obsolete.
5426 You should run autoupdate.], [../../lib/autoconf/general.m4:2615: AC_TRY_COMPILE is expanded from...
5427 configure.ac:208: the top level])
5428 m4trace:configure.ac:211: -2- m4_pattern_allow([^HAVE_RTS_IOCTL$])
5429 m4trace:configure.ac:210: -1- _m4_warn([obsolete], [The macro `AC_TRY_COMPILE' is obsolete.
5430 You should run autoupdate.], [../../lib/autoconf/general.m4:2615: AC_TRY_COMPILE is expanded from...
5431 configure.ac:210: the top level])
5432 m4trace:configure.ac:213: -2- m4_pattern_allow([^HAVE_RTS_IOCTL$])
5433 m4trace:configure.ac:212: -1- _m4_warn([obsolete], [The macro `AC_TRY_COMPILE' is obsolete.
5434 You should run autoupdate.], [../../lib/autoconf/general.m4:2615: AC_TRY_COMPILE is expanded from...
5435 configure.ac:212: the top level])
5436 m4trace:configure.ac:215: -2- m4_pattern_allow([^HAVE_RTS_IOCTL$])
5437 m4trace:configure.ac:214: -1- _m4_warn([obsolete], [The macro `AC_TRY_COMPILE' is obsolete.
5438 You should run autoupdate.], [../../lib/autoconf/general.m4:2615: AC_TRY_COMPILE is expanded from...
5439 configure.ac:214: the top level])
5440 m4trace:configure.ac:218: -1- GP_VA_COPY
5441 m4trace:configure.ac:218: -1- _m4_warn([obsolete], [The macro `AC_TRY_LINK' is obsolete.
5442 You should run autoupdate.], [../../lib/autoconf/general.m4:2688: AC_TRY_LINK is expanded from...
5443 m4/gp-va-copy.m4:18: GP_VA_COPY is expanded from...
5444 configure.ac:218: the top level])
5445 m4trace:configure.ac:218: -1- _m4_warn([obsolete], [The macro `AC_TRY_LINK' is obsolete.
5446 You should run autoupdate.], [../../lib/autoconf/general.m4:2688: AC_TRY_LINK is expanded from...
5447 ../../lib/m4sugar/m4sh.m4:606: AS_IF is expanded from...
5448 ../../lib/autoconf/general.m4:2662: _AC_LINK_IFELSE is expanded from...
5449 ../../lib/autoconf/general.m4:2679: AC_LINK_IFELSE is expanded from...
5450 ../../lib/autoconf/general.m4:2688: AC_TRY_LINK is expanded from...
5451 m4/gp-va-copy.m4:18: GP_VA_COPY is expanded from...
5452 configure.ac:218: the top level])
5453 m4trace:configure.ac:218: -1- m4_pattern_allow([^va_copy$])
5454 m4trace:configure.ac:218: -1- m4_pattern_allow([^HAVE_VA_COPY$])
5455 m4trace:configure.ac:245: -1- m4_pattern_allow([^HAVE_SERIAL$])
5456 m4trace:configure.ac:247: -1- GP_CONFIG_MSG([Serial ports])
5457 m4trace:configure.ac:248: -1- GP_CONFIG_MSG([Serial support], [$serial_msg])
5458 m4trace:configure.ac:260: -1- AC_DEFUN([GP_SERLOCK], [dnl
5461 [AS_HELP_STRING([--disable-][$1],
5462 [do not use ][$1][ library])
5464 if test x$enableval = xno; then
5469 m4trace:configure.ac:271: -1- GP_SERLOCK([baudboy])
5470 m4trace:configure.ac:272: -1- GP_SERLOCK([ttylock])
5471 m4trace:configure.ac:273: -1- GP_SERLOCK([lockdev])
5472 m4trace:configure.ac:274: -1- GP_SERLOCK([resmgr])
5473 m4trace:configure.ac:278: -1- m4_pattern_allow([^HAVE_RESMGR$])
5474 m4trace:configure.ac:286: -1- GP_CONFIG_MSG([resmgr locking], [${resmgr_msg}])
5475 m4trace:configure.ac:290: -1- m4_pattern_allow([^HAVE_BAUDBOY$])
5476 m4trace:configure.ac:297: -1- GP_CONFIG_MSG([baudboy locking], [${baudboy_msg}])
5477 m4trace:configure.ac:302: -1- _m4_warn([obsolete], [The macro `AC_TRY_LINK' is obsolete.
5478 You should run autoupdate.], [../../lib/autoconf/general.m4:2688: AC_TRY_LINK is expanded from...
5479 ../../lib/m4sugar/m4sh.m4:606: AS_IF is expanded from...
5480 ../../lib/autoconf/headers.m4:162: _AC_CHECK_HEADER_COMPILE is expanded from...
5481 ../../lib/autoconf/headers.m4:67: AC_CHECK_HEADER is expanded from...
5482 configure.ac:302: the top level])
5483 m4trace:configure.ac:302: -1- m4_pattern_allow([^HAVE_TTYLOCK$])
5484 m4trace:configure.ac:302: -1- _m4_warn([obsolete], [The macro `AC_TRY_LINK' is obsolete.
5485 You should run autoupdate.], [../../lib/autoconf/general.m4:2688: AC_TRY_LINK is expanded from...
5486 ../../lib/m4sugar/m4sh.m4:606: AS_IF is expanded from...
5487 ../../lib/autoconf/general.m4:2662: _AC_LINK_IFELSE is expanded from...
5488 ../../lib/autoconf/general.m4:2679: AC_LINK_IFELSE is expanded from...
5489 ../../lib/autoconf/general.m4:2688: AC_TRY_LINK is expanded from...
5490 ../../lib/m4sugar/m4sh.m4:606: AS_IF is expanded from...
5491 ../../lib/autoconf/headers.m4:162: _AC_CHECK_HEADER_COMPILE is expanded from...
5492 ../../lib/autoconf/headers.m4:67: AC_CHECK_HEADER is expanded from...
5493 configure.ac:302: the top level])
5494 m4trace:configure.ac:302: -1- m4_pattern_allow([^HAVE_TTYLOCK$])
5495 m4trace:configure.ac:325: -1- GP_CONFIG_MSG([ttylock locking], [${ttylock_msg}])
5496 m4trace:configure.ac:329: -1- m4_pattern_allow([^HAVE_LOCKDEV$])
5497 m4trace:configure.ac:337: -1- GP_CONFIG_MSG([lockdev locking], [${lockdev_msg}])
5498 m4trace:configure.ac:341: -1- m4_pattern_allow([^SERIAL_LIBS$])
5499 m4trace:configure.ac:350: -1- m4_pattern_allow([^HAVE_LIBPTHREAD$])
5500 m4trace:configure.ac:352: -1- GP_CONFIG_MSG([USB ports])
5501 m4trace:configure.ac:353: -1- GP_CHECK_LIBRARY([LIBUSB], [libusb], [>= 0.1.4], [usb.h], [usb_open], [
5502 IOLIB_SUBDIRS="$IOLIB_SUBDIRS usb usbdiskdirect usbscsi"
5503 ], [], [disable-explicitly], [http://libusb.sourceforge.net/
5505 m4trace:configure.ac:353: -1- _GP_CHECK_LIBRARY([LIBUSB], [libusb], [>= 0.1.4], [usb.h], [usb_open], [
5506 IOLIB_SUBDIRS="$IOLIB_SUBDIRS usb usbdiskdirect usbscsi"
5507 ], [], [disable-explicitly], [http://libusb.sourceforge.net/
5509 m4trace:configure.ac:353: -1- GP_PKG_CONFIG
5510 m4trace:configure.ac:353: -1- m4_pattern_allow([^PKG_CONFIG$])
5511 m4trace:configure.ac:353: -1- m4_pattern_allow([^PKG_CONFIG_PATH$])
5512 m4trace:configure.ac:353: -1- m4_pattern_allow([^PKG_CONFIG$])
5513 m4trace:configure.ac:353: -1- _GP_CHECK_LIBRARY_SOEXT
5514 m4trace:configure.ac:353: -1- m4_pattern_allow([^LIBUSB_CFLAGS$])
5515 m4trace:configure.ac:353: -1- m4_pattern_allow([^LIBUSB_LIBS$])
5516 m4trace:configure.ac:353: -1- PKG_CHECK_MODULES([LIBUSB], [libusb >= 0.1.4], [have_LIBUSB=yes], [:])
5517 m4trace:configure.ac:353: -1- PKG_PROG_PKG_CONFIG
5518 m4trace:configure.ac:353: -1- m4_pattern_forbid([^_?PKG_[A-Z_]+$])
5519 m4trace:configure.ac:353: -1- m4_pattern_allow([^PKG_CONFIG(_PATH)?$])
5520 m4trace:configure.ac:353: -1- m4_pattern_allow([^PKG_CONFIG$])
5521 m4trace:configure.ac:353: -1- m4_pattern_allow([^PKG_CONFIG_PATH$])
5522 m4trace:configure.ac:353: -1- m4_pattern_allow([^PKG_CONFIG_LIBDIR$])
5523 m4trace:configure.ac:353: -1- m4_pattern_allow([^PKG_CONFIG$])
5524 m4trace:configure.ac:353: -1- m4_pattern_allow([^LIBUSB_CFLAGS$])
5525 m4trace:configure.ac:353: -1- m4_pattern_allow([^LIBUSB_LIBS$])
5526 m4trace:configure.ac:353: -1- PKG_CHECK_EXISTS([libusb >= 0.1.4], [pkg_cv_[]LIBUSB_CFLAGS=`$PKG_CONFIG --[]cflags "libusb >= 0.1.4" 2>/dev/null`], [pkg_failed=yes])
5527 m4trace:configure.ac:353: -1- PKG_CHECK_EXISTS([libusb >= 0.1.4], [pkg_cv_[]LIBUSB_LIBS=`$PKG_CONFIG --[]libs "libusb >= 0.1.4" 2>/dev/null`], [pkg_failed=yes])
5528 m4trace:configure.ac:353: -1- _PKG_SHORT_ERRORS_SUPPORTED
5529 m4trace:configure.ac:353: -1- m4_pattern_allow([^LIBUSB_CONFIG_PROG$])
5530 m4trace:configure.ac:353: -1- m4_pattern_allow([^REQUIREMENTS_FOR_LIBUSB$])
5531 m4trace:configure.ac:353: -1- AM_CONDITIONAL([HAVE_LIBUSB], [test "x$have_[LIBUSB]" = "xyes"])
5532 m4trace:configure.ac:353: -1- m4_pattern_allow([^HAVE_LIBUSB_TRUE$])
5533 m4trace:configure.ac:353: -1- m4_pattern_allow([^HAVE_LIBUSB_FALSE$])
5534 m4trace:configure.ac:353: -1- _AM_SUBST_NOTMAKE([HAVE_LIBUSB_TRUE])
5535 m4trace:configure.ac:353: -1- _AM_SUBST_NOTMAKE([HAVE_LIBUSB_FALSE])
5536 m4trace:configure.ac:353: -1- m4_pattern_allow([^HAVE_LIBUSB$])
5537 m4trace:configure.ac:353: -1- GP_CONFIG_MSG([libusb], [yes])
5538 m4trace:configure.ac:353: -1- GP_CONFIG_MSG([libusb], [no])
5539 m4trace:configure.ac:362: -1- GP_UDEV([test "x$have_LIBUSB" = xyes])
5540 m4trace:configure.ac:362: -1- m4_pattern_allow([^udevscriptdir$])
5541 m4trace:configure.ac:362: -1- m4_pattern_allow([^udevscriptdir$])
5542 m4trace:configure.ac:362: -1- AM_CONDITIONAL([HAVE_UDEV], [if echo "$host"|grep -i linux >/dev/null ; then test "x$have_LIBUSB" = xyes; fi ])
5543 m4trace:configure.ac:362: -1- m4_pattern_allow([^HAVE_UDEV_TRUE$])
5544 m4trace:configure.ac:362: -1- m4_pattern_allow([^HAVE_UDEV_FALSE$])
5545 m4trace:configure.ac:362: -1- _AM_SUBST_NOTMAKE([HAVE_UDEV_TRUE])
5546 m4trace:configure.ac:362: -1- _AM_SUBST_NOTMAKE([HAVE_UDEV_FALSE])
5547 m4trace:configure.ac:373: -1- PKG_CHECK_MODULES([HAL], [dbus-1 >= 0.31 hal >= 0.5.0], [have_hal=true], [have_hal=false])
5548 m4trace:configure.ac:373: -1- m4_pattern_allow([^HAL_CFLAGS$])
5549 m4trace:configure.ac:373: -1- m4_pattern_allow([^HAL_LIBS$])
5550 m4trace:configure.ac:373: -1- PKG_CHECK_EXISTS([dbus-1 >= 0.31 hal >= 0.5.0], [pkg_cv_[]HAL_CFLAGS=`$PKG_CONFIG --[]cflags "dbus-1 >= 0.31 hal >= 0.5.0" 2>/dev/null`], [pkg_failed=yes])
5551 m4trace:configure.ac:373: -1- PKG_CHECK_EXISTS([dbus-1 >= 0.31 hal >= 0.5.0], [pkg_cv_[]HAL_LIBS=`$PKG_CONFIG --[]libs "dbus-1 >= 0.31 hal >= 0.5.0" 2>/dev/null`], [pkg_failed=yes])
5552 m4trace:configure.ac:373: -1- _PKG_SHORT_ERRORS_SUPPORTED
5553 m4trace:configure.ac:377: -1- m4_pattern_allow([^HAL_CFLAGS$])
5554 m4trace:configure.ac:378: -1- m4_pattern_allow([^HAL_LIBS$])
5555 m4trace:configure.ac:379: -1- m4_pattern_allow([^HAVE_HAL$])
5556 m4trace:configure.ac:410: -1- m4_pattern_allow([^IOLIB_SUBDIRS$])
5557 m4trace:configure.ac:411: -1- m4_pattern_allow([^iolibdir$])
5558 m4trace:configure.ac:419: -1- m4_pattern_allow([^pkgconfigdir$])
5559 m4trace:configure.ac:426: -2- m4_pattern_allow([^HAVE_GNU_REGEX$])
5560 m4trace:configure.ac:433: -1- m4_pattern_allow([^DISABLE_DEBUGGING$])
5561 m4trace:configure.ac:445: -1- GP_CONFIG_MSG([Documentation])
5562 m4trace:configure.ac:446: -1- GP_CHECK_DOC_DIR([])
5563 m4trace:configure.ac:446: -1- m4_pattern_allow([^docdir$])
5564 m4trace:configure.ac:447: -1- GP_BUILD_GTK_DOCS([])
5565 m4trace:configure.ac:447: -1- m4_pattern_allow([^GTKDOC$])
5566 m4trace:configure.ac:447: -1- AM_CONDITIONAL([ENABLE_GTK_DOC], [$have_gtkdoc])
5567 m4trace:configure.ac:447: -1- m4_pattern_allow([^ENABLE_GTK_DOC_TRUE$])
5568 m4trace:configure.ac:447: -1- m4_pattern_allow([^ENABLE_GTK_DOC_FALSE$])
5569 m4trace:configure.ac:447: -1- _AM_SUBST_NOTMAKE([ENABLE_GTK_DOC_TRUE])
5570 m4trace:configure.ac:447: -1- _AM_SUBST_NOTMAKE([ENABLE_GTK_DOC_FALSE])
5571 m4trace:configure.ac:447: -1- GP_CONFIG_MSG([build API docs with gtk-doc], [$gtkdoc_msg])
5572 m4trace:configure.ac:447: -1- m4_pattern_allow([^htmldir$])
5573 m4trace:configure.ac:447: -1- m4_pattern_allow([^apidocdir$])
5574 m4trace:configure.ac:476: -1- m4_pattern_allow([^AM_CPPFLAGS$])
5575 m4trace:configure.ac:478: -1- m4_pattern_allow([^AM_CFLAGS$])
5576 m4trace:configure.ac:480: -1- m4_pattern_allow([^AM_CXXFLAGS$])
5577 m4trace:configure.ac:482: -1- m4_pattern_allow([^AM_LDFLAGS$])
5578 m4trace:configure.ac:505: -1- m4_pattern_allow([^LIB@&t@OBJS$])
5579 m4trace:configure.ac:505: -1- m4_pattern_allow([^LTLIBOBJS$])
5580 m4trace:configure.ac:505: -1- AM_CONDITIONAL([am__EXEEXT], [test -n "$EXEEXT"])
5581 m4trace:configure.ac:505: -1- m4_pattern_allow([^am__EXEEXT_TRUE$])
5582 m4trace:configure.ac:505: -1- m4_pattern_allow([^am__EXEEXT_FALSE$])
5583 m4trace:configure.ac:505: -1- _AM_SUBST_NOTMAKE([am__EXEEXT_TRUE])
5584 m4trace:configure.ac:505: -1- _AM_SUBST_NOTMAKE([am__EXEEXT_FALSE])
5585 m4trace:configure.ac:505: -1- _AC_AM_CONFIG_HEADER_HOOK(["$ac_file"])
5586 m4trace:configure.ac:505: -1- _AM_OUTPUT_DEPENDENCY_COMMANDS
5587 m4trace:configure.ac:505: -1- _LT_PROG_LTMAIN
5588 m4trace:configure.ac:507: -1- GP_CONFIG_OUTPUT
5589 m4trace:configure.ac:507: -1- GP_CONFIG_MSG_SUBDIRS
5590 m4trace:configure.ac:507: -1- GP_CONFIG_MSG([])
5591 m4trace:configure.ac:507: -1- GP_CONFIG_MSG([Subprojects], [${_subdirs}])