Source code upload
[framework/connectivity/libgphoto2.git] / libgphoto2_port / autom4te.cache / traces.0
1 m4trace:/usr/share/aclocal/argz.m4:12: -1- AC_DEFUN([gl_FUNC_ARGZ], [gl_PREREQ_ARGZ
2
3 AC_CHECK_HEADERS([argz.h], [], [], [AC_INCLUDES_DEFAULT])
4
5 AC_CHECK_TYPES([error_t],
6   [],
7   [AC_DEFINE([error_t], [int],
8    [Define to a type to use for `error_t' if it is not otherwise available.])
9    AC_DEFINE([__error_t_defined], [1], [Define so that glibc/gnulib argp.h
10     does not typedef error_t.])],
11   [#if defined(HAVE_ARGZ_H)
12 #  include <argz.h>
13 #endif])
14
15 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])])
18
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"],
29     [AC_CACHE_CHECK(
30         [if argz actually works],
31         [lt_cv_sys_argz_works],
32         [[case $host_os in #(
33          *cygwin*)
34            lt_cv_sys_argz_works=no
35            if test "$cross_compiling" != no; then
36              lt_cv_sys_argz_works="guessing no"
37            else
38              lt_sed_extract_leading_digits='s/^\([0-9\.]*\).*/\1/'
39              save_IFS=$IFS
40              IFS=-.
41              set x `uname -r | sed -e "$lt_sed_extract_leading_digits"`
42              IFS=$save_IFS
43              lt_os_major=${2-0}
44              lt_os_minor=${3-0}
45              lt_os_micro=${4-0}
46              if test "$lt_os_major" -gt 1 \
47                 || { test "$lt_os_major" -eq 1 \
48                   && { test "$lt_os_minor" -gt 5 \
49                     || { test "$lt_os_minor" -eq 5 \
50                       && test "$lt_os_micro" -gt 24; }; }; }; then
51                lt_cv_sys_argz_works=yes
52              fi
53            fi
54            ;; #(
55          *) lt_cv_sys_argz_works=yes ;;
56          esac]])
57      AS_IF([test $lt_cv_sys_argz_works = yes],
58         [AC_DEFINE([HAVE_WORKING_ARGZ], 1,
59                    [This value is set to 1 to indicate that the system argz facility works])],
60         [ARGZ_H=argz.h
61         AC_LIBOBJ([argz])])])
62
63 AC_SUBST([ARGZ_H])
64 ])
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])
72     ])
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).])
76   fi
77 ])
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
81
82   AC_CACHE_CHECK([whether integer division by zero raises SIGFPE],
83     gt_cv_int_divbyzero_sigfpe,
84     [
85       gt_cv_int_divbyzero_sigfpe=
86 changequote(,)dnl
87       case "$host_os" in
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.
92           case "$host_cpu" in
93             i[34567]86 | x86_64)
94               gt_cv_int_divbyzero_sigfpe="guessing yes" ;;
95           esac
96           ;;
97       esac
98 changequote([,])dnl
99       if test -z "$gt_cv_int_divbyzero_sigfpe"; then
100         AC_TRY_RUN([
101 #include <stdlib.h>
102 #include <signal.h>
103
104 static void
105 sigfpe_handler (int sig)
106 {
107   /* Exit with code 0 if SIGFPE, with code 1 if any other signal.  */
108   exit (sig != SIGFPE);
109 }
110
111 int x = 1;
112 int y = 0;
113 int z;
114 int nan;
115
116 int main ()
117 {
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);
122 #endif
123 /* Linux/SPARC yields signal SIGILL.  */
124 #if defined (__sparc__) && defined (__linux__)
125   signal (SIGILL, sigfpe_handler);
126 #endif
127
128   z = x / y;
129   nan = y / y;
130   exit (1);
131 }
132 ], [gt_cv_int_divbyzero_sigfpe=yes], [gt_cv_int_divbyzero_sigfpe=no],
133           [
134             # Guess based on the CPU.
135 changequote(,)dnl
136             case "$host_cpu" in
137               alpha* | i[34567]86 | x86_64 | m68k | s390*)
138                 gt_cv_int_divbyzero_sigfpe="guessing yes";;
139               *)
140                 gt_cv_int_divbyzero_sigfpe="guessing no";;
141             esac
142 changequote([,])dnl
143           ])
144       fi
145     ])
146   case "$gt_cv_int_divbyzero_sigfpe" in
147     *yes) value=1;;
148     *) value=0;;
149   esac
150   AC_DEFINE_UNQUOTED([INTDIV0_RAISES_SIGFPE], [$value],
151     [Define if integer division by zero raises signal SIGFPE.])
152 ])
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],
157     [AC_TRY_COMPILE([
158 #include <stddef.h>
159 #include <stdlib.h>
160 #if HAVE_STDINT_H_WITH_UINTMAX
161 #include <stdint.h>
162 #endif
163 #if HAVE_INTTYPES_H_WITH_UINTMAX
164 #include <inttypes.h>
165 #endif
166 ],     [intmax_t x = -1;
167         return !x;],
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>.])
173   fi
174 ])
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],
180       [
181         AC_TRY_COMPILE([#include <inttypes.h>
182 #ifdef PRId32
183 char *p = PRId32;
184 #endif
185 ], [], [gt_cv_inttypes_pri_broken=no], [gt_cv_inttypes_pri_broken=yes])
186       ])
187   fi
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.])
191     PRI_MACROS_BROKEN=1
192   else
193     PRI_MACROS_BROKEN=0
194   fi
195   AC_SUBST([PRI_MACROS_BROKEN])
196 ])
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],
199   [AC_TRY_COMPILE(
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. ])
209   fi
210 ])
211 m4trace:/usr/share/aclocal/ltdl.m4:16: -1- AC_DEFUN([LT_CONFIG_LTDL_DIR], [AC_BEFORE([$0], [LTDL_INIT])
212 _$0($*)
213 ])
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
221 _$0()
222 ])
223 m4trace:/usr/share/aclocal/ltdl.m4:81: -1- AU_DEFUN([AC_LIBLTDL_CONVENIENCE], [_LT_CONFIG_LTDL_DIR([m4_default([$1], [libltdl])])
224 _LTDL_CONVENIENCE])
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])])
228 _LTDL_CONVENIENCE])
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
236 _$0()
237 ])
238 m4trace:/usr/share/aclocal/ltdl.m4:137: -1- AU_DEFUN([AC_LIBLTDL_INSTALLABLE], [_LT_CONFIG_LTDL_DIR([m4_default([$1], [libltdl])])
239 _LTDL_INSTALLABLE])
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])])
243 _LTDL_INSTALLABLE])
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"
247 ])
248 m4trace:/usr/share/aclocal/ltdl.m4:226: -1- AC_DEFUN([LTDL_INIT], [dnl Parse OPTIONS
249 _LT_SET_OPTIONS([$0], [$1])
250
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])
256
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)])])
262
263 AC_ARG_WITH([included_ltdl],
264     [AS_HELP_STRING([--with-included-ltdl],
265                     [use the GNU ltdl sources included here])])
266
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],
276            [AC_INCLUDES_DEFAULT
277             #include <ltdl.h>])],
278       [with_included_ltdl=yes],
279       [AC_INCLUDES_DEFAULT]
280   )
281 fi
282
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])])
287
288 AC_ARG_WITH([ltdl_include],
289     [AS_HELP_STRING([--with-ltdl-include=DIR],
290                     [use the ltdl headers installed in DIR])])
291
292 if test -n "$with_ltdl_include"; then
293   if test -f "$with_ltdl_include/ltdl.h"; then :
294   else
295     AC_MSG_ERROR([invalid ltdl include directory: `$with_ltdl_include'])
296   fi
297 else
298   with_ltdl_include=no
299 fi
300
301 AC_ARG_WITH([ltdl_lib],
302     [AS_HELP_STRING([--with-ltdl-lib=DIR],
303                     [use the libltdl.la installed in DIR])])
304
305 if test -n "$with_ltdl_lib"; then
306   if test -f "$with_ltdl_lib/libltdl.la"; then :
307   else
308     AC_MSG_ERROR([invalid ltdl library directory: `$with_ltdl_lib'])
309   fi
310 else
311   with_ltdl_lib=no
312 fi
313
314 case ,$with_included_ltdl,$with_ltdl_include,$with_ltdl_lib, in
315   ,yes,no,no,)
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)])
320         ;;
321   ,no,no,no,)
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])
326         LIBLTDL=-lltdl
327         LTDLDEPS=
328         LTDLINCL=
329         ;;
330   ,no*,no,*)
331         AC_MSG_ERROR([`--with-ltdl-include' and `--with-ltdl-lib' options must be used together])
332         ;;
333   *)    with_included_ltdl=no
334         LIBLTDL="-L$with_ltdl_lib -lltdl"
335         LTDLDEPS=
336         LTDLINCL="-I$with_ltdl_include"
337         ;;
338 esac
339 INCLTDL="$LTDLINCL"
340
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])
346
347 _LTDL_SETUP
348
349 dnl restore autoconf definition.
350 m4_popdef([AC_LIBOBJ])
351 m4_popdef([AC_LIBSOURCES])
352
353 AC_CONFIG_COMMANDS_PRE([
354     _ltdl_libobjs=
355     _ltdl_ltlibobjs=
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"
362       done
363     fi
364     AC_SUBST([ltdl_LIBOBJS], [$_ltdl_libobjs])
365     AC_SUBST([ltdl_LTLIBOBJS], [$_ltdl_ltlibobjs])
366 ])
367
368 # Only expand once:
369 m4_define([LTDL_INIT])
370 ])
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
374 LTDL_INIT($@)])
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
378 LTDL_INIT($@)])
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
382 LTDL_INIT($@)])
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
392
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
397
398 dnl Don't require this, or it will be expanded earlier than the code
399 dnl that sets the variables it relies on:
400 _LT_ENABLE_INSTALL
401
402 dnl _LTDL_MODE specific code must be called at least once:
403 _LTDL_MODE_DISPATCH
404
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,[[ :]].*$,,'`],
416         [])])])
417 AC_SUBST([LT_CONFIG_H])
418
419 AC_CHECK_HEADERS([unistd.h dl.h sys/dl.h dld.h mach-o/dyld.h dirent.h],
420         [], [], [AC_INCLUDES_DEFAULT])
421
422 AC_CHECK_FUNCS([closedir opendir readdir], [], [AC_LIBOBJ([lt__dirent])])
423 AC_CHECK_FUNCS([strlcat strlcpy], [], [AC_LIBOBJ([lt__strl])])
424
425 AC_DEFINE_UNQUOTED([LT_LIBEXT],["$libext"],[The archive extension])
426
427 name=ltdl
428 LTDLOPEN=`eval "\\$ECHO \"$libname_spec\""`
429 AC_SUBST([LTDLOPEN])
430 ])
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
439   case $host_os in
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
444     ;;
445   aix[[4-9]]*)
446     lt_cv_sys_dlopen_deplibs=yes
447     ;;
448   amigaos*)
449     case $host_cpu in
450     powerpc)
451       lt_cv_sys_dlopen_deplibs=no
452       ;;
453     esac
454     ;;
455   darwin*)
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
459     ;;
460   freebsd* | dragonfly*)
461     lt_cv_sys_dlopen_deplibs=yes
462     ;;
463   gnu* | linux* | k*bsd*-gnu)
464     # GNU and its variants, using gnu ld.so (Glibc)
465     lt_cv_sys_dlopen_deplibs=yes
466     ;;
467   hpux10*|hpux11*)
468     lt_cv_sys_dlopen_deplibs=yes
469     ;;
470   interix*)
471     lt_cv_sys_dlopen_deplibs=yes
472     ;;
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
477     ;;
478   irix*)
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
482     ;;
483   netbsd*)
484     lt_cv_sys_dlopen_deplibs=yes
485     ;;
486   openbsd*)
487     lt_cv_sys_dlopen_deplibs=yes
488     ;;
489   osf[[1234]]*)
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
494     ;;
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
503     ;;
504   osf*)
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
510     ;;
511   qnx*)
512     lt_cv_sys_dlopen_deplibs=yes
513     ;;
514   solaris*)
515     lt_cv_sys_dlopen_deplibs=yes
516     ;;
517   sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
518     libltdl_cv_sys_dlopen_deplibs=yes
519     ;;
520   esac
521   ])
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().])
525 fi
526 ])
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],
534 [
535 module=yes
536 eval libltdl_cv_shlibext=$shrext_cmds
537   ])
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".])
542 fi
543 ])
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.])
555 fi
556 ])
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
566   sys_dlsearch_path=
567   for dir in $lt_cv_sys_dlsearch_path; do
568     if test -z "$sys_dlsearch_path"; then
569       sys_dlsearch_path="$dir"
570     else
571       sys_dlsearch_path="$sys_dlsearch_path$PATH_SEPARATOR$dir"
572     fi
573   done
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.])
577 fi
578 ])
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$])
584 LT_DLLOADERS=
585 AC_SUBST([LT_DLLOADERS])
586
587 AC_LANG_PUSH([C])
588
589 LIBADD_DLOPEN=
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
594           LIBADD_DLOPEN="-ldl"
595         fi
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
599 #  include <dlfcn.h>
600 #endif
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
612 then
613   lt_save_LIBS="$LIBS"
614   LIBS="$LIBS $LIBADD_DLOPEN"
615   AC_CHECK_FUNCS([dlerror])
616   LIBS="$lt_save_LIBS"
617 fi
618 AC_SUBST([LIBADD_DLOPEN])
619
620 LIBADD_SHL_LOAD=
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])
631
632 case $host_os in
633 darwin[[1567]].*)
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"])
639   ;;
640 beos*)
641   LT_DLLOADERS="$LT_DLLOADERS ${lt_dlopen_dir+$lt_dlopen_dir/}load_add_on.la"
642   ;;
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"
646   ;;
647 esac
648
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])
654
655 m4_pattern_allow([^LT_DLPREOPEN$])
656 LT_DLPREOPEN=
657 if test -n "$LT_DLLOADERS"
658 then
659   for lt_loader in $LT_DLLOADERS; do
660     LT_DLPREOPEN="$LT_DLPREOPEN-dlpreopen $lt_loader "
661   done
662   AC_DEFINE([HAVE_LIBDLLOADER], [1],
663             [Define if libdlloader will be built on this platform])
664 fi
665 AC_SUBST([LT_DLPREOPEN])
666
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])
670
671 AC_LANG_POP
672 ])
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;}
684 _LT_EOF
685   if AC_TRY_EVAL(ac_compile); then
686     # Now try to grab the symbols.
687     ac_nlist=conftest.nm
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
692       else
693         if grep '^. nm_test_func ' "$ac_nlist" >/dev/null; then
694           :
695         else
696           echo "configure: cannot find nm_test_func in $ac_nlist" >&AS_MESSAGE_LOG_FD
697         fi
698       fi
699     else
700       echo "configure: cannot run $lt_cv_sys_global_symbol_pipe" >&AS_MESSAGE_LOG_FD
701     fi
702   else
703     echo "configure: failed program was:" >&AS_MESSAGE_LOG_FD
704     cat conftest.c >&AS_MESSAGE_LOG_FD
705   fi
706   rm -rf conftest*
707   ])
708   sys_symbol_underscore=$lt_cv_sys_symbol_underscore
709   AC_SUBST([sys_symbol_underscore])
710 ])
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
722           save_LIBS="$LIBS"
723           LIBS="$LIBS $LIBADD_DLOPEN"
724           _LT_TRY_DLOPEN_SELF(
725             [libltdl_cv_need_uscore=no], [libltdl_cv_need_uscore=yes],
726             [],                          [libltdl_cv_need_uscore=cross])
727           LIBS="$save_LIBS"
728         ])
729   fi
730 fi
731
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.])
735 fi
736 ])
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])
746
747 if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
748         AC_PATH_TOOL([PKG_CONFIG], [pkg-config])
749 fi
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
754                 AC_MSG_RESULT([yes])
755         else
756                 AC_MSG_RESULT([no])
757                 PKG_CONFIG=""
758         fi
759 fi[]dnl
760 ])
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
766   $3])dnl
767 fi])
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
771 else
772         _pkg_short_errors_supported=no
773 fi[]dnl
774 ])
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
778
779 pkg_failed=no
780 AC_MSG_CHECKING([for $1])
781
782 _PKG_CONFIG([$1][_CFLAGS], [cflags], [$2])
783 _PKG_CONFIG([$1][_LIBS], [libs], [$2])
784
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.])
788
789 if test $pkg_failed = yes; then
790         AC_MSG_RESULT([no])
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`
794         else 
795                 $1[]_PKG_ERRORS=`$PKG_CONFIG --print-errors "$2" 2>&1`
796         fi
797         # Put the nasty error message in config.log where it belongs
798         echo "$$1[]_PKG_ERRORS" >&AS_MESSAGE_LOG_FD
799
800         m4_default([$4], [AC_MSG_ERROR(
801 [Package requirements ($2) were not met:
802
803 $$1_PKG_ERRORS
804
805 Consider adjusting the PKG_CONFIG_PATH environment variable if you
806 installed software in a non-standard prefix.
807
808 _PKG_TEXT])dnl
809         ])
810 elif test $pkg_failed = untried; then
811         AC_MSG_RESULT([no])
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
815 path to pkg-config.
816
817 _PKG_TEXT
818
819 To get pkg-config, see <http://pkg-config.freedesktop.org/>.])dnl
820         ])
821 else
822         $1[]_CFLAGS=$pkg_cv_[]$1[]_CFLAGS
823         $1[]_LIBS=$pkg_cv_[]$1[]_LIBS
824         AC_MSG_RESULT([yes])
825         $3
826 fi[]dnl
827 ])
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,
832     [
833       AC_TRY_RUN([
834 #include <stdio.h>
835 #include <string.h>
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];
840 int main ()
841 {
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,
845       [
846         AC_EGREP_CPP([notposix], [
847 #if defined __NetBSD__ || defined __BEOS__ || defined _MSC_VER || defined __MINGW32__ || defined __CYGWIN__
848   notposix
849 #endif
850           ],
851           [gt_cv_func_printf_posix="guessing no"],
852           [gt_cv_func_printf_posix="guessing yes"])
853       ])
854     ])
855   case $gt_cv_func_printf_posix in
856     *yes)
857       AC_DEFINE([HAVE_POSIX_PRINTF], [1],
858         [Define if your printf() function supports format strings with positions.])
859       ;;
860   esac
861 ])
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], [
866     gl_cv_size_max=
867     AC_EGREP_CPP([Found it], [
868 #include <limits.h>
869 #if HAVE_STDINT_H
870 #include <stdint.h>
871 #endif
872 #ifdef SIZE_MAX
873 Found it
874 #endif
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],
881         [#include <stddef.h>
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>
890             extern size_t foo;
891             extern unsigned long foo;
892             ], [], [fits_in_uint=0])
893         fi
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)"
899         else
900           gl_cv_size_max="(((1UL << $size_t_bits_minus_1) - 1) * 2 + 1)"
901         fi
902       else
903         dnl Shouldn't happen, but who knows...
904         gl_cv_size_max='((size_t)~(size_t)0)'
905       fi
906     fi
907   ])
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.])
911   fi
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
917    it. */
918 #ifndef SIZE_MAX
919 # undef SIZE_MAX
920 #endif])
921 ])
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],
924   [AC_TRY_COMPILE(
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. ])
934   fi
935 ])
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.])
943   fi
944 ])
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],
947     [AC_TRY_COMPILE([
948 /* Tru64 with Desktop Toolkit C has a bug: <stdio.h> must be included before
949    <wchar.h>.
950    BSD/OS 4.0.1 has a bug: <stddef.h>, <stdio.h> and <time.h> must be included
951    before <wchar.h>.  */
952 #include <stddef.h>
953 #include <stdio.h>
954 #include <time.h>
955 #include <wchar.h>
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.])
960   fi
961 ])
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])
967 ])
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
973 ])
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.
979 AC_PREREQ([2.50])dnl
980 # expand $ac_aux_dir to an absolute path
981 am_aux_dir=`cd $ac_aux_dir && pwd`
982 ])
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
991 if $2; then
992   $1_TRUE=
993   $1_FALSE='#'
994 else
995   $1_TRUE='#'
996   $1_FALSE=
997 fi
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.]])
1002 fi])])
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
1007
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=])
1014
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
1022   # in D'.
1023   mkdir conftest.dir
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
1027   cd 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
1033   # directory.
1034   mkdir sub
1035
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`
1039   fi
1040   am__universal=false
1041   m4_case([$1], [CC],
1042     [case " $depcc " in #(
1043      *\ -arch\ *\ -arch\ *) am__universal=true ;;
1044      esac],
1045     [CXX],
1046     [case " $depcc " in #(
1047      *\ -arch\ *\ -arch\ *) am__universal=true ;;
1048      esac])
1049
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.
1054     #
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.
1058     : > sub/conftest.c
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
1064     done
1065     echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
1066
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"
1073     case $depmode in
1074     gcc)
1075       # This depmode causes a compiler race in universal mode.
1076       test "$am__universal" = false || continue
1077       ;;
1078     nosideeffect)
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
1082         continue
1083       else
1084         break
1085       fi
1086       ;;
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}
1092       am__minus_obj=
1093       ;;
1094     none) break ;;
1095     esac
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
1115         break
1116       fi
1117     fi
1118   done
1119
1120   cd ..
1121   rm -rf conftest.dir
1122 else
1123   am_cv_$1_dependencies_compiler_type=none
1124 fi
1125 ])
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])
1130 ])
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
1133 ])
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"
1139   AMDEPBACKSLASH='\'
1140 fi
1141 AM_CONDITIONAL([AMDEP], [test "x$enable_dependency_tracking" != xno])
1142 AC_SUBST([AMDEPBACKSLASH])dnl
1143 _AM_SUBST_NOTMAKE([AMDEPBACKSLASH])dnl
1144 ])
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 ;;
1152   esac
1153   shift
1154   for mf
1155   do
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")`
1167     else
1168       continue
1169     fi
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
1182     # expansion.
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"
1192     done
1193   done
1194 }
1195 ])
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"])
1199 ])
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])
1213   fi
1214 fi
1215
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'
1220   else
1221     CYGPATH_W=echo
1222   fi
1223 fi
1224 AC_SUBST([CYGPATH_W])
1225
1226 # Define the identity of the package.
1227 dnl Distinguish between old-style and new-style calls.
1228 m4_ifval([$2],
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
1238
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
1242
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
1255 # some platforms.
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
1275 ])
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
1283 ])
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.
1285 _am_arg=$1
1286 _am_stamp_count=1
1287 for _am_header in $config_headers :; do
1288   case $_am_header in
1289     $_am_arg | $_am_arg:* )
1290       break ;;
1291     * )
1292       _am_stamp_count=`expr $_am_stamp_count + 1` ;;
1293   esac
1294 done
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
1298   case $am_aux_dir in
1299   *\ * | *\     *)
1300     install_sh="\${SHELL} '$am_aux_dir/install-sh'" ;;
1301   *)
1302     install_sh="\${SHELL} $am_aux_dir/install-sh"
1303   esac
1304 fi
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
1309   am__leading_dot=.
1310 else
1311   am__leading_dot=_
1312 fi
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'
1317 am__doit:
1318         @echo this is the am__doit target
1319 .PHONY: am__doit
1320 END
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])
1323 am__include="#"
1324 am__quote=
1325 _am_result=none
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*)
1331   am__include=include
1332   am__quote=
1333   _am_result=GNU
1334   ;;
1335 esac
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
1342      am__quote="\""
1343      _am_result=BSD
1344      ;;
1345    esac
1346 fi
1347 AC_SUBST([am__include])
1348 AC_SUBST([am__quote])
1349 AC_MSG_RESULT([$_am_result])
1350 rm -f confinc confmf
1351 ])
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.
1357 set dummy $CC
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"
1367 fi
1368 dnl Make sure AC_PROG_CC is never called again, or it will override our
1369 dnl setting of CC.
1370 m4_define([AC_PROG_CC],
1371           [m4_fatal([AC_PROG_CC cannot be called after AM_PROG_CC_C_O])])
1372 ])
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"}
1375 AC_SUBST($1)])
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
1379   case $am_aux_dir in
1380   *\ * | *\     *)
1381     MISSING="\${SHELL} \"$am_aux_dir/missing\"" ;;
1382   *)
1383     MISSING="\${SHELL} $am_aux_dir/missing" ;;
1384   esac
1385 fi
1386 # Use eval to expand $SHELL
1387 if eval "$MISSING --run true"; then
1388   am_missing_run="$MISSING --run "
1389 else
1390   am_missing_run=
1391   AC_MSG_WARN([`missing' script is too old or missing])
1392 fi
1393 ])
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
1402 dnl MKDIR_P).
1403 AC_SUBST([mkdir_p], ["$MKDIR_P"])dnl
1404 case $mkdir_p in
1405   [[\\/$]]* | ?:[[\\/]]*) ;;
1406   */*) mkdir_p="\$(top_builddir)/$mkdir_p" ;;
1407 esac
1408 ])
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
1415    ac_status=$?
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])
1419 # Just in case
1420 sleep 1
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.
1424 am_lf='
1425 '
1426 case `pwd` in
1427   *[[\\\"\#\$\&\'\`$am_lf]]*)
1428     AC_MSG_ERROR([unsafe absolute working directory name]);;
1429 esac
1430 case $srcdir in
1431   *[[\\\"\#\$\&\'\`$am_lf\ \    ]]*)
1432     AC_MSG_ERROR([unsafe srcdir value: `$srcdir']);;
1433 esac
1434
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
1439 # directory).
1440 if (
1441    set X `ls -Lt "$srcdir/configure" conftest.file 2> /dev/null`
1442    if test "$[*]" = "X"; then
1443       # -L didn't work.
1444       set X `ls -t "$srcdir/configure" conftest.file`
1445    fi
1446    rm -f conftest.file
1447    if test "$[*]" != "X $srcdir/configure conftest.file" \
1448       && test "$[*]" != "X conftest.file $srcdir/configure"; then
1449
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])
1456    fi
1457
1458    test "$[2]" = conftest.file
1459    )
1460 then
1461    # Ok.
1462    :
1463 else
1464    AC_MSG_ERROR([newly created file is older than distributed files!
1465 Check your system clock])
1466 fi
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]);;
1475 esac
1476 AC_SUBST([AM_DEFAULT_VERBOSITY])dnl
1477 AM_BACKSLASH='\'
1478 AC_SUBST([AM_BACKSLASH])dnl
1479 _AM_SUBST_NOTMAKE([AM_BACKSLASH])dnl
1480 ])
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], :)
1489 fi
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])
1496 m4_if([$1], [v7],
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
1507 do
1508   case $_am_tool in
1509   gnutar)
1510     for _am_tar in tar gnutar gtar;
1511     do
1512       AM_RUN_LOG([$_am_tar --version]) && break
1513     done
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 -"
1517     ;;
1518   plaintar)
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 -'
1525     ;;
1526   pax)
1527     am__tar='pax -L -x $1 -w "$$tardir"'
1528     am__tar_='pax -L -x $1 -w "$tardir"'
1529     am__untar='pax -r'
1530     ;;
1531   cpio)
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'
1535     ;;
1536   none)
1537     am__tar=false
1538     am__tar_=false
1539     am__untar=false
1540     ;;
1541   esac
1542
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
1546
1547   # tar/untar a dummy directory, and stop if the command works
1548   rm -rf conftest.dir
1549   mkdir conftest.dir
1550   echo GrepMe > conftest.dir/file
1551   AM_RUN_LOG([tardir=conftest.dir && eval $am__tar_ >conftest.tar])
1552   rm -rf conftest.dir
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
1556   fi
1557 done
1558 rm -rf conftest.dir
1559
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])])
1562 AC_SUBST([am__tar])
1563 AC_SUBST([am__untar])
1564 ])
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])
1573 else
1574         AC_SUBST([HAVE_DOT],[NO])
1575 fi
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"])
1579 ])
1580 m4trace:m4/gp-check-library.m4:73: -1- AC_DEFUN([_GP_CHECK_LIBRARY_SOEXT], [dnl
1581 AC_MSG_CHECKING([for dynamic library extension])
1582 soext=""
1583 case "$host" in
1584         *linux*)        soext=".so" ;;
1585         *sunos*)        soext=".so" ;;
1586         *solaris*)      soext=".so" ;;
1587         *bsd*)          soext=".so" ;;
1588         *darwin*)       soext=".dylib" ;;
1589         *w32*)          soext=".dll" ;;
1590 esac
1591 if test "x$soext" = "x"; then
1592         soext=".so"
1593         AC_MSG_RESULT([${soext}])
1594         AC_MSG_WARN([
1595 Host system "${host}" not recognized, defaulting to "${soext}".
1596 ])
1597 else
1598         AC_MSG_RESULT([${soext}])
1599 fi
1600 ])
1601 m4trace:m4/gp-check-library.m4:95: -1- AC_DEFUN([_GP_CHECK_LIBRARY], [
1602 # ----------------------------------------------------------------------
1603 # [GP_CHECK_LIBRARY]([$1],[$2],[$3],
1604 #                    [$4],[$5],
1605 #                    [...],[...],[$8])
1606 m4_ifval([$9],[dnl
1607 # $9
1608 ])dnl
1609 # ----------------------------------------------------------------------
1610 dnl
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
1619 dnl
1620 AC_MSG_CHECKING([for ][$2][ to use])
1621 m4_ifval([$3],[REQUIREMENTS_FOR_][$1][="][$2][ $3]["],
1622               [REQUIREMENTS_FOR_][$1][="][$2]["])
1623 userdef_[$1]=no
1624 have_[$1]=no
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
1629                         try_[$1]=no
1630                 ],
1631                 [m4_pushdef([gp_lib_arg],[--with-][$2])dnl
1632                         try_[$1]=auto
1633                 ])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][=]
1637         fi
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
1646                         m4_ifval([$3],
1647                                 [PKG_CHECK_MODULES([$1],[$2][ $3],[have_][$1][=yes],[:])],
1648                                 [PKG_CHECK_MODULES([$1],[$2],     [have_][$1][=yes],[:])]
1649                         )
1650                 fi
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],
1658                                 [none])])dnl
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
1663                                 m4_ifval([$3],[
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 ">=", ">", "<", "<=", "=".
1674 ])m4_exit(1)])
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}])
1688                                 _tmp=false
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;
1694                                 fi
1695                                 AC_MSG_CHECKING([if ][$2][ version is matching requirement ][$3])
1696                                 if "${_tmp}"; then
1697                                    AC_MSG_RESULT([no])
1698                                    AC_MSG_ERROR([Version requirement ][$2][ ][$3][ not met. Found: ${_][$1][_VERSION}])
1699                                 else
1700                                    AC_MSG_RESULT([yes])
1701                                 fi
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])
1709                                 else
1710                                         have_[$1]=yes
1711                                         AC_MSG_RESULT([ok])
1712                                 fi
1713                         fi
1714                         m4_popdef([gp_lib_config])dnl
1715                 fi
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
1722                         ifs="$IFS"
1723                         IFS=":" # FIXME: for W32 and OS/2 we may need ";" here
1724                         for _libdir_ in \
1725                                 ${LD_LIBRARY_PATH} \
1726                                 "${libdir}" \
1727                                 "${prefix}/lib64" "${prefix}/lib" \
1728                                 /usr/lib64 /usr/lib \
1729                                 /usr/local/lib64 /usr/local/lib \
1730                                 /opt/lib64 /opt/lib
1731                         do
1732                                 IFS="$ifs"
1733                                 for _soext_ in .la ${soext} .a; do
1734                                         if test -f "${_libdir_}/[$2]${_soext_}"
1735                                         then
1736                                                 if test "x${_soext_}" = "x.la" ||
1737                                                    test "x${_soext_}" = "x.a"; then
1738                                                         [$1]_LIBS="${_libdir_}/[$2]${_soext_}"
1739                                                 else
1740                                                         [$1]_LIBS="-L${_libdir_} -l$(echo "$2" | sed 's/^lib//')"
1741                                                 fi
1742                                                 break
1743                                         fi
1744                                 done
1745                                 if test "x${[$1][_LIBS]}" != "x"; then
1746                                         break
1747                                 fi
1748                         done
1749                         IFS="$ifs"
1750                         if test "x${[$1][_LIBS]}" != "x"; then
1751                                 have_[$1]=yes
1752                         fi
1753                 fi
1754                 ])
1755         elif test "x${[try_][$1]}" = "xno"; then
1756                 :
1757         else
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)])
1765                         have_[$1]=yes
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)])
1770                         have_[$1]=yes
1771                 else
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"
1775                         have_[$1]=yes
1776                         AC_MSG_WARN([
1777 * Warning:
1778 *   libtool file $2.la could not be found.
1779 *   We may be linking against the WRONG library.
1780 ])
1781                 fi
1782         fi
1783 elif test "x${[$1][_LIBS]}" != "x" && test "x${[$1][_CFLAGS]}" != "x"; then
1784         AC_MSG_RESULT([user-defined])
1785         userdef_[$1]=yes
1786         have_[$1]=yes
1787 else
1788         AC_MSG_RESULT([broken call])
1789         AC_MSG_ERROR([
1790 * Fatal:
1791 * When calling configure for ${PACKAGE_TARNAME}
1792 *     ${PACKAGE_NAME}
1793 * either set both [$1][_LIBS] *and* [$1][_CFLAGS]
1794 * or neither.
1795 ])
1796 fi
1797 AC_SUBST([REQUIREMENTS_FOR_][$1])
1798 dnl
1799 dnl ACTION-IF-FOUND
1800 dnl
1801 m4_ifval([$6],[dnl
1802 if test "x${[have_][$1]}" = "xyes"; then
1803 # ACTION-IF-FOUND
1804 $6
1805 fi
1806 ])dnl
1807 dnl
1808 dnl ACTION-IF-NOT-FOUND
1809 dnl
1810 m4_ifval([$7],[dnl
1811 if test "x${[have_][$1]}" = "xno"; then
1812 # ACTION-IF-NOT-FOUND
1813 $7
1814 fi
1815 ])dnl
1816 dnl
1817 dnl Run our own test compilation
1818 dnl
1819 m4_ifval([$4],[dnl
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"
1827 fi
1828 ])dnl
1829 dnl
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_).
1833 dnl
1834 m4_ifval([$5],[dnl
1835 if test "x${[userdef_][$1]}" = "xno" && test "x${[have_][$1]}" = "xyes"; then
1836         AC_MSG_CHECKING([for function ][$5][ in ][$2])
1837         LIBS_save="$LIBS"
1838         LIBS="${[$1]_LIBS}"
1839         AC_TRY_LINK_FUNC([$5],[],[have_][$1][=no])
1840         LIBS="$LIBS_save"
1841         AC_MSG_RESULT([${[have_][$1]}])
1842 fi
1843 ])dnl
1844 dnl
1845 dnl Abort configure script if mandatory, but not found
1846 dnl
1847 m4_if([$8],[mandatory],[
1848 if test "x${[have_][$1]}" = "xno"; then
1849         AC_MSG_ERROR([
1850 PKG_CONFIG_PATH=${PKG_CONFIG_PATH}
1851 [$1][_LIBS]=${[$1][_LIBS]}
1852 [$1][_CFLAGS]=${[$1][_CFLAGS]}
1853
1854 * Fatal: ${PACKAGE_NAME} requires $2 $3 to build.
1855
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
1860 ]m4_ifval([$9],[dnl
1861 *   - get $2 and install it
1862 ],[dnl
1863 *   - get $2 and install it:
1864       $9]))
1865 fi
1866 ])dnl
1867 dnl
1868 dnl Abort configure script if not found and not explicitly disabled
1869 dnl
1870 m4_if([$8],[disable-explicitly],[
1871 if test "x${[try_][$1]}" != "xno" && test "x${[have_][$1]}" = "xno"; then
1872         AC_MSG_ERROR([
1873 PKG_CONFIG_PATH=${PKG_CONFIG_PATH}
1874 [$1][_LIBS]=${[$1][_LIBS]}
1875 [$1][_CFLAGS]=${[$1][_CFLAGS]}
1876
1877 * Fatal: ${PACKAGE_NAME} by default requires $2 $3 to build.
1878 *        You must explicitly disable $2 to build ${PACKAGE_TARNAME} without it.
1879
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
1885 ]m4_ifval([$9],[dnl
1886 *   - get $2 and install it
1887 ],[dnl
1888 *   - get $2 and install it:
1889       $9]))
1890 fi
1891 ])dnl
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]}"])
1900 else
1901         GP_CONFIG_MSG([$2],[no])dnl
1902 fi
1903 dnl AC_SUBST is done implicitly by AC_ARG_VAR above.
1904 dnl AC_SUBST([$1][_LIBS])
1905 dnl AC_SUBST([$1][_CFLAGS])
1906 ])
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
1910 *** Aborting.
1911 ])dnl
1912 m4_exit(1)dnl
1913 ])
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".
1931 ])m4_exit(1)])dnl
1932 ])
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
1936 then
1937         CDPATH=:
1938         export CDPATH
1939 fi
1940
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`" # ''''
1944 then
1945         AC_MSG_RESULT([yes])
1946 else
1947         AC_MSG_RESULT([no])
1948         uname=`uname 2>&1` # ''
1949         uname_a=`uname -a 2>&1` # ''
1950         AC_MSG_ERROR([
1951
1952 * POSIX sh \$() command substition does not work with this shell.
1953 *
1954 * You are running a very rare species of shell. Please report this
1955 * sighting to <${PACKAGE_BUGREPORT}>:
1956 * SHELL=${SHELL}
1957 * uname=${uname}
1958 * uname-a=${uname_a}
1959 * Please also include your OS and version.
1960 *
1961 * Run this configure script using a better (i.e. POSIX compliant) shell.
1962 ])
1963 fi
1964 dnl
1965 m4_if([$1],[true],[dnl
1966 printenv | grep -E '^(LC_|LANG)'
1967 ])dnl
1968
1969 dnl
1970 ])
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"])
1977 gp_config_empty=""
1978 gp_config_len3="$(expr "$gp_config_len" - 3)"
1979 n="$gp_config_len"
1980 while test "$n" -gt 0; do
1981       gp_config_empty="${gp_config_empty} "
1982       n="$(expr "$n" - 1)"
1983 done
1984 gp_config_msg="
1985 Configuration (${PACKAGE_TARNAME} ${PACKAGE_VERSION}):
1986 "
1987 ])
1988 m4trace:m4/gp-config-msg.m4:50: -1- AC_DEFUN([GP_CONFIG_MSG], [AC_REQUIRE([GP_CONFIG_INIT])dnl
1989 m4_if([$1],[],[
1990 gp_config_msg="${gp_config_msg}
1991 "
1992 ],[$2],[],[
1993 gp_config_msg="${gp_config_msg}
1994   [$1]
1995 "
1996 ],[
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}\}\)")..:"
2000 else
2001         gp_config_msg_lhs="$(expr "[$1]:${gp_config_empty}" : "\(.\{0,${gp_config_len}\}\)")"
2002 fi
2003 gp_config_msg="${gp_config_msg}    ${gp_config_msg_lhs} [$2]
2004 "
2005 ])])
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
2009         GP_CONFIG_MSG()dnl
2010         _subdirs=""
2011         for sd in $subdirs; do
2012                 ssd="$(basename "$sd")"
2013                 if test "x$_subdirs" = "x"; then
2014                         _subdirs="$ssd";
2015                 else
2016                         _subdirs="$_subdirs $ssd"
2017                 fi
2018         done
2019         GP_CONFIG_MSG([Subprojects],[${_subdirs}])dnl
2020 fi
2021 ])
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."
2027 ])
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
2031
2032 AC_ARG_WITH([doc-dir],
2033 [AS_HELP_STRING([--with-doc-dir=PATH],
2034 [Where to install docs  [default=autodetect]])])
2035
2036 # check for the main ("root") documentation directory
2037 AC_MSG_CHECKING([main docdir])
2038
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"
2045     then
2046         maindocdir='${prefix}/share/doc'
2047         AC_MSG_RESULT([${maindocdir} (FHS style)])
2048     elif test -d "/usr/doc"
2049     then
2050         maindocdir='${prefix}/doc'
2051         AC_MSG_RESULT([${maindocdir} (old style)])
2052     else
2053         maindocdir='${datadir}/doc'
2054         AC_MSG_RESULT([${maindocdir} (default value)])
2055     fi
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
2060     then
2061         docdir="${maindocdir}/${PACKAGE}-${VERSION}"
2062         AC_MSG_RESULT([${docdir} (redhat style)])
2063     else
2064         docdir="${maindocdir}/${PACKAGE}"
2065         AC_MSG_RESULT([${docdir} (default style)])
2066     fi
2067 fi
2068
2069 AC_SUBST([docdir])
2070 ])
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])
2074
2075 # ---------------------------------------------------------------------------
2076 # gtk-doc: We use gtk-doc for building our documentation. However, we
2077 #          require the user to explicitely request the build.
2078 # ---------------------------------------------------------------------------
2079 try_gtkdoc=false
2080 gtkdoc_msg="no (not requested)"
2081 have_gtkdoc=false
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
2086                 try_gtkdoc=true
2087         fi
2088 ])
2089 if $try_gtkdoc; then
2090         AC_PATH_PROG([GTKDOC],[gtkdoc-mkdb])
2091         if test -n "${GTKDOC}"; then
2092                 have_gtkdoc=true
2093                 gtkdoc_msg="yes"
2094         else
2095                 gtkdoc_msg="no (http://www.gtk.org/rdp/download.html)"
2096         fi
2097 fi
2098 AM_CONDITIONAL([ENABLE_GTK_DOC], [$have_gtkdoc])
2099 GP_CONFIG_MSG([build API docs with gtk-doc],[$gtkdoc_msg])
2100
2101
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]])])
2109
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)])
2114 else
2115     htmldir="${with_html_dir}"
2116     AC_MSG_RESULT([${htmldir} (from parameter)])
2117 fi
2118 AC_SUBST([htmldir])
2119 apidocdir="${htmldir}/api"
2120 AC_SUBST([apidocdir])
2121
2122 ])
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|"])
2132 m4_ifval([$3],[
2133 if test -n "$PACKAGE_BUGREPORT"; then
2134    sed_mb="${PACKAGE_BUGREPORT}"
2135 else
2136    AC_MSG_ERROR([
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.
2140 ***
2141 ])
2142 fi
2143 ],[
2144 sed_mb="$3"
2145 ])
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.])
2152 else
2153    AC_MSG_RESULT([no])
2154 fi
2155 ])
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"
2161 fi
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}])
2165 fi
2166 ])
2167 m4trace:m4/gp-pkg-config.m4:5: -1- AC_DEFUN([GP_PKG_CONFIG], [
2168 #
2169 # [GP_PKG_CONFIG]
2170 #
2171 AC_ARG_VAR([PKG_CONFIG],[pkg-config package config utility])
2172 export PKG_CONFIG
2173 AC_ARG_VAR([PKG_CONFIG_PATH],[directory where pkg-config looks for *.pc files])
2174 export PKG_CONFIG_PATH
2175
2176 AC_MSG_CHECKING([PKG_CONFIG_PATH])
2177 if test "x${PKG_CONFIG_PATH}" = "x"; then
2178         AC_MSG_RESULT([empty])
2179 else
2180         AC_MSG_RESULT([${PKG_CONFIG_PATH}])
2181 fi
2182
2183 dnl AC_REQUIRE([PKG_CHECK_MODULES])
2184 AC_PATH_PROG([PKG_CONFIG],[pkg-config],[false])
2185 if test "$PKG_CONFIG" = "false"; then
2186 AC_MSG_ERROR([
2187 *** Build requires pkg-config
2188 ***
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
2193 ])
2194 fi
2195 ])
2196 m4trace:m4/gp-references.m4:8: -1- AC_DEFUN([GP_REF], [
2197 AC_SUBST([$1],["$2"])
2198 AC_DEFINE_UNQUOTED([$1],["$2"],[$3])
2199 ])
2200 m4trace:m4/gp-references.m4:13: -1- AC_DEFUN([GP_REFERENCES], [
2201
2202 GP_REF( [URL_GPHOTO_HOME], 
2203         [http://www.gphoto.org/], 
2204         [gphoto project home page])dnl
2205
2206 GP_REF( [URL_GPHOTO_PROJECT], 
2207         [http://sourceforge.net/projects/gphoto], 
2208         [gphoto sourceforge project page])
2209
2210 GP_REF( [URL_DIGICAM_LIST],
2211         [http://www.teaser.fr/~hfiguiere/linux/digicam.html],
2212         [camera list with support status])
2213
2214 GP_REF( [URL_JPHOTO_HOME],
2215         [http://jphoto.sourceforge.net/],
2216         [jphoto home page])
2217
2218 GP_REF( [URL_USB_MASSSTORAGE],
2219         [http://www.linux-usb.org/USB-guide/x498.html],
2220         [information about using USB mass storage])
2221
2222 GP_REF( [MAIL_GPHOTO_DEVEL],
2223         [<gphoto-devel@lists.sourceforge.net>],
2224         [gphoto development mailing list])
2225
2226 GP_REF( [MAIL_GPHOTO_USER],
2227         [<gphoto-user@lists.sourceforge.net>],
2228         [gphoto user mailing list])
2229
2230 GP_REF( [MAIL_GPHOTO_TRANSLATION],
2231         [<gphoto-translation@lists.sourceforge.net>],
2232         [gphoto translation mailing list])
2233
2234 ])
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 ])
2240 ])
2241 m4trace:m4/gp-va-copy.m4:18: -1- AC_DEFUN([GP_VA_COPY], [dnl
2242 dnl
2243 AC_CHECK_HEADER([stdarg.h],[],[
2244         AC_MSG_ERROR([
2245 Building $PACKAGE_NAME requires <stdarg.h>.
2246 ])
2247 ])
2248 dnl
2249 have_va_copy=no
2250 AC_TRY_LINK([
2251         #include <stdarg.h>
2252 ],[
2253         va_list a,b;
2254         va_copy(a,b);
2255 ],[
2256         have_va_copy="va_copy"
2257 ],[
2258         AC_TRY_LINK([
2259                 #include <stdarg.h>
2260         ],[
2261                 va_list a,b;
2262                 __va_copy(a,b);
2263         ],[
2264                 have_va_copy="__va_copy"
2265                 AC_DEFINE([va_copy],[__va_copy],[__va_copy() was the originally proposed name])
2266         ])
2267 ])
2268 dnl
2269 AC_MSG_CHECKING([for va_copy() or replacement])
2270 AC_MSG_RESULT([$have_va_copy])
2271 dnl
2272 if test "x$have_va_copy" != "xno"; then
2273         AC_DEFINE([HAVE_VA_COPY],1,[Whether we have the va_copy() function])
2274 fi
2275 ])
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
2280 ])])])])])
2281   ifelse([$2], [], , [ifelse([$2], [need-ngettext], , [ifelse([$2], [need-formatstring-macros], ,
2282     [errprint([ERROR: invalid second argument to AM_GNU_GETTEXT
2283 ])])])])
2284   define(gt_included_intl, ifelse([$1], [external], [no], [yes]))
2285   define(gt_libtool_suffix_prefix, ifelse([$1], [use-libtool], [l], []))
2286
2287   AC_REQUIRE([AM_PO_SUBDIRS])dnl
2288   ifelse(gt_included_intl, yes, [
2289     AC_REQUIRE([AM_INTL_SUBDIR])dnl
2290   ])
2291
2292   dnl Prerequisites of AC_LIB_LINKFLAGS_BODY.
2293   AC_REQUIRE([AC_LIB_PREPARE_PREFIX])
2294   AC_REQUIRE([AC_LIB_RPATH])
2295
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])
2309   ])
2310
2311   dnl Set USE_NLS.
2312   AM_NLS
2313
2314   ifelse(gt_included_intl, yes, [
2315     BUILD_INCLUDED_LIBINTL=no
2316     USE_INCLUDED_LIBINTL=no
2317   ])
2318   LIBINTL=
2319   LTLIBINTL=
2320   POSUB=
2321
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)
2332
2333       nls_cv_use_gnu_gettext="$nls_cv_force_use_gnu_gettext"
2334       if test "$nls_cv_force_use_gnu_gettext" != "yes"; then
2335     ])
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.
2339
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])
2344
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)
2350 #endif
2351 changequote(,)dnl
2352 typedef int array [2 * (__GNU_GETTEXT_SUPPORTED_REVISION(0) >= 1) - 1];
2353 changequote([,])dnl
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)])
2360
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, , [
2364             AM_ICONV_LINK
2365           ])
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)
2382 #endif
2383 changequote(,)dnl
2384 typedef int array [2 * (__GNU_GETTEXT_SUPPORTED_REVISION(0) >= 1) - 1];
2385 changequote([,])dnl
2386 ], [])[extern int _nl_msg_cat_cntr;
2387 extern
2388 #ifdef __cplusplus
2389 "C"
2390 #endif
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)
2403 #endif
2404 changequote(,)dnl
2405 typedef int array [2 * (__GNU_GETTEXT_SUPPORTED_REVISION(0) >= 1) - 1];
2406 changequote([,])dnl
2407 ], [])[extern int _nl_msg_cat_cntr;
2408 extern
2409 #ifdef __cplusplus
2410 "C"
2411 #endif
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
2418                ])
2419             fi
2420             CPPFLAGS="$gt_save_CPPFLAGS"
2421             LIBS="$gt_save_LIBS"])
2422         fi
2423
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
2433         else
2434           dnl Reset the values set by searching for libintl.
2435           LIBINTL=
2436           LTLIBINTL=
2437           INCINTL=
2438         fi
2439
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
2445         fi
2446       fi
2447
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/ $//'`
2455       fi
2456
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.
2460         CATOBJEXT=.gmo
2461       fi
2462     ])
2463
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
2468    is requested.])
2469     else
2470       USE_NLS=no
2471     fi
2472   fi
2473
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"
2481       else
2482         gt_source="libc"
2483       fi
2484     else
2485       gt_source="included intl directory"
2486     fi
2487     AC_MSG_RESULT([$gt_source])
2488   fi
2489
2490   if test "$USE_NLS" = "yes"; then
2491
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])
2497       fi
2498
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.])
2504     fi
2505
2506     dnl We need to process the po/ directory.
2507     POSUB=po
2508   fi
2509
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
2515     fi
2516
2517     dnl Make all variables we use known to autoconf.
2518     AC_SUBST(BUILD_INCLUDED_LIBINTL)
2519     AC_SUBST(USE_INCLUDED_LIBINTL)
2520     AC_SUBST(CATOBJEXT)
2521
2522     dnl For backward compatibility. Some configure.ins may be using this.
2523     nls_cv_header_intl=
2524     nls_cv_header_libgt=
2525
2526     dnl For backward compatibility. Some Makefiles may be using this.
2527     DATADIRNAME=share
2528     AC_SUBST(DATADIRNAME)
2529
2530     dnl For backward compatibility. Some Makefiles may be using this.
2531     INSTOBJEXT=.mo
2532     AC_SUBST(INSTOBJEXT)
2533
2534     dnl For backward compatibility. Some Makefiles may be using this.
2535     GENCAT=gencat
2536     AC_SUBST(GENCAT)
2537
2538     dnl For backward compatibility. Some Makefiles may be using this.
2539     if test "$USE_INCLUDED_LIBINTL" = yes; then
2540       INTLOBJS="\$(GETTOBJS)"
2541     fi
2542     AC_SUBST(INTLOBJS)
2543
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)
2547   ])
2548
2549   dnl For backward compatibility. Some Makefiles may be using this.
2550   INTLLIBS="$LIBINTL"
2551   AC_SUBST(INTLLIBS)
2552
2553   dnl Make all documented variables known to autoconf.
2554   AC_SUBST(LIBINTL)
2555   AC_SUBST(LTLIBINTL)
2556   AC_SUBST(POSUB)
2557 ])
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
2587
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.])
2591     ])
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 \
2597 __fsetlocking])
2598
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>])
2603
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>])
2612
2613   case $gt_cv_func_printf_posix in
2614     *yes) HAVE_POSIX_PRINTF=1 ;;
2615     *) HAVE_POSIX_PRINTF=0 ;;
2616   esac
2617   AC_SUBST([HAVE_POSIX_PRINTF])
2618   if test "$ac_cv_func_asprintf" = yes; then
2619     HAVE_ASPRINTF=1
2620   else
2621     HAVE_ASPRINTF=0
2622   fi
2623   AC_SUBST([HAVE_ASPRINTF])
2624   if test "$ac_cv_func_snprintf" = yes; then
2625     HAVE_SNPRINTF=1
2626   else
2627     HAVE_SNPRINTF=0
2628   fi
2629   AC_SUBST([HAVE_SNPRINTF])
2630   if test "$ac_cv_func_wprintf" = yes; then
2631     HAVE_WPRINTF=1
2632   else
2633     HAVE_WPRINTF=0
2634   fi
2635   AC_SUBST([HAVE_WPRINTF])
2636
2637   AM_ICONV
2638   AM_LANGINFO_CODESET
2639   if test $ac_cv_header_locale_h = yes; then
2640     AM_LC_MESSAGES
2641   fi
2642
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
2646   dnl compile.
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
2655     ac_verc_fail=yes
2656   else
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].*)
2664 changequote([,])dnl
2665          ac_prog_version="$ac_prog_version, ok"; ac_verc_fail=no;;
2666       *) ac_prog_version="$ac_prog_version, bad"; ac_verc_fail=yes;;
2667     esac
2668     AC_MSG_RESULT([$ac_prog_version])
2669   fi
2670   if test $ac_verc_fail = yes; then
2671     INTLBISON=:
2672   fi
2673 ])
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], [
2677 #ifndef $1
2678   char *p = (char *) $1;
2679 #endif
2680 ], ac_cv_have_decl_$1=yes, ac_cv_have_decl_$1=no)])
2681   if test $ac_cv_have_decl_$1 = yes; then
2682     gt_value=1
2683   else
2684     gt_value=0
2685   fi
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.])
2688 ])
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])
2694
2695   dnl Search for libiconv and define LIBICONV, LTLIBICONV and INCICONV
2696   dnl accordingly.
2697   AC_LIB_LINKFLAGS_BODY([iconv])
2698 ])
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).
2702
2703   dnl Search for libiconv and define LIBICONV, LTLIBICONV and INCICONV
2704   dnl accordingly.
2705   AC_REQUIRE([AM_ICONV_LINKFLAGS_BODY])
2706
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])
2713
2714   AC_CACHE_CHECK(for iconv, am_cv_func_iconv, [
2715     am_cv_func_iconv="no, consider installing GNU libiconv"
2716     am_cv_lib_iconv=no
2717     AC_TRY_LINK([#include <stdlib.h>
2718 #include <iconv.h>],
2719       [iconv_t cd = iconv_open("","");
2720        iconv(cd,NULL,NULL,NULL,NULL);
2721        iconv_close(cd);],
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);
2730          iconv_close(cd);],
2731         am_cv_lib_iconv=yes
2732         am_cv_func_iconv=yes)
2733       LIBS="$am_save_LIBS"
2734     fi
2735   ])
2736   if test "$am_cv_func_iconv" = yes; then
2737     AC_DEFINE(HAVE_ICONV, 1, [Define if you have the iconv() function.])
2738   fi
2739   if test "$am_cv_lib_iconv" = yes; then
2740     AC_MSG_CHECKING([how to link with libiconv])
2741     AC_MSG_RESULT([$LIBICONV])
2742   else
2743     dnl If $LIBICONV didn't lead to a usable library, we don't need $INCICONV
2744     dnl either.
2745     CPPFLAGS="$am_save_CPPFLAGS"
2746     LIBICONV=
2747     LTLIBICONV=
2748   fi
2749   AC_SUBST(LIBICONV)
2750   AC_SUBST(LTLIBICONV)
2751 ])
2752 m4trace:auto-m4/iconv.m4:77: -1- AC_DEFUN([AM_ICONV], [
2753   AM_ICONV_LINK
2754   if test "$am_cv_func_iconv" = yes; then
2755     AC_MSG_CHECKING([for iconv declaration])
2756     AC_CACHE_VAL(am_cv_proto_iconv, [
2757       AC_TRY_COMPILE([
2758 #include <stdlib.h>
2759 #include <iconv.h>
2760 extern
2761 #ifdef __cplusplus
2762 "C"
2763 #endif
2764 #if defined(__STDC__) || defined(__cplusplus)
2765 size_t iconv (iconv_t cd, char * *inbuf, size_t *inbytesleft, char * *outbuf, size_t *outbytesleft);
2766 #else
2767 size_t iconv();
2768 #endif
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.])
2776   fi
2777 ])
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 ;;
2783 *)
2784   acl_cv_prog_gnu_ld=no ;;
2785 esac])
2786 with_gnu_ld=$acl_cv_prog_gnu_ld
2787 ])
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
2798   chmod +x conf$$.sh
2799   if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
2800     PATH_SEPARATOR=';'
2801   else
2802     PATH_SEPARATOR=:
2803   fi
2804   rm -f conf$$.sh
2805 fi
2806 ac_prog=ld
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])
2810   case $host in
2811   *-*-mingw*)
2812     # gcc leaves a trailing carriage return which upsets mingw
2813     ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
2814   *)
2815     ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
2816   esac
2817   case $ac_prog in
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%/%"`
2825       done
2826       test -z "$LD" && LD="$ac_prog"
2827       ;;
2828   "")
2829     # If it fails, then pretend we aren't using GCC.
2830     ac_prog=ld
2831     ;;
2832   *)
2833     # If it is relative, then search for the first ld in PATH.
2834     with_gnu_ld=unknown
2835     ;;
2836   esac
2837 elif test "$with_gnu_ld" = yes; then
2838   AC_MSG_CHECKING([for GNU ld])
2839 else
2840   AC_MSG_CHECKING([for non-GNU ld])
2841 fi
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 ;;
2855       *)
2856         test "$with_gnu_ld" != yes && break ;;
2857       esac
2858     fi
2859   done
2860   IFS="$ac_save_ifs"
2861 else
2862   acl_cv_path_LD="$LD" # Let the user override the test with a path.
2863 fi])
2864 LD="$acl_cv_path_LD"
2865 if test -n "$LD"; then
2866   AC_MSG_RESULT($LD)
2867 else
2868   AC_MSG_RESULT(no)
2869 fi
2870 test -z "$LD" && AC_MSG_ERROR([no acceptable ld found in \$PATH])
2871 AC_LIB_PROG_LD_GNU
2872 ])
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"
2884   ])
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)
2889   AC_SUBST([LIB]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.
2893   HAVE_LIB[]NAME=yes
2894   undefine([Name])
2895   undefine([NAME])
2896 ])
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___])])
2903
2904   dnl Search for lib[]Name and define LIB[]NAME, LTLIB[]NAME and INC[]NAME
2905   dnl accordingly.
2906   AC_LIB_LINKFLAGS_BODY([$1], [$2])
2907
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)
2913
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"
2919   ])
2920   if test "$ac_cv_lib[]Name" = yes; then
2921     HAVE_LIB[]NAME=yes
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])
2925   else
2926     HAVE_LIB[]NAME=no
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"
2930     LIB[]NAME=
2931     LTLIB[]NAME=
2932   fi
2933   AC_SUBST([HAVE_LIB]NAME)
2934   AC_SUBST([LIB]NAME)
2935   AC_SUBST([LTLIB]NAME)
2936   undefine([Name])
2937   undefine([NAME])
2938 ])
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
2947     . ./conftest.sh
2948     rm -f ./conftest.sh
2949     acl_cv_rpath=done
2950   ])
2951   wl="$acl_cv_wl"
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)
2962 ])
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.
2967   use_additional=yes
2968   AC_LIB_WITH_FINAL_PREFIX([
2969     eval additional_includedir=\"$includedir\"
2970     eval additional_libdir=\"$libdir\"
2971   ])
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],
2975 [
2976     if test "X$withval" = "Xno"; then
2977       use_additional=no
2978     else
2979       if test "X$withval" = "X"; then
2980         AC_LIB_WITH_FINAL_PREFIX([
2981           eval additional_includedir=\"$includedir\"
2982           eval additional_libdir=\"$libdir\"
2983         ])
2984       else
2985         additional_includedir="$withval/include"
2986         additional_libdir="$withval/lib"
2987       fi
2988     fi
2989 ])
2990   dnl Search the library and its dependencies in $additional_libdir and
2991   dnl $LDFLAGS. Using breadth-first-seach.
2992   LIB[]NAME=
2993   LTLIB[]NAME=
2994   INC[]NAME=
2995   rpathdirs=
2996   ltrpathdirs=
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"
3001     names_next_round=
3002     for name in $names_this_round; do
3003       already_handled=
3004       for n in $names_already_handled; do
3005         if test "$n" = "$name"; then
3006           already_handled=yes
3007           break
3008         fi
3009       done
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"
3022           else
3023             dnl An earlier call to AC_LIB_HAVE_LINKFLAGS has determined
3024             dnl that this library doesn't exist. So just drop it.
3025             :
3026           fi
3027         else
3028           dnl Search the library lib$name in $additional_libdir and $LDFLAGS
3029           dnl and the already constructed $LIBNAME/$LTLIBNAME.
3030           found_dir=
3031           found_la=
3032           found_so=
3033           found_a=
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"
3040               fi
3041             else
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"
3047                 fi
3048               fi
3049             fi
3050           fi
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\"])
3054               case "$x" in
3055                 -L*)
3056                   dir=`echo "X$x" | sed -e 's/^X-L//'`
3057                   if test -n "$shlibext" && test -f "$dir/lib$name.$shlibext"; then
3058                     found_dir="$dir"
3059                     found_so="$dir/lib$name.$shlibext"
3060                     if test -f "$dir/lib$name.la"; then
3061                       found_la="$dir/lib$name.la"
3062                     fi
3063                   else
3064                     if test -f "$dir/lib$name.$libext"; then
3065                       found_dir="$dir"
3066                       found_a="$dir/lib$name.$libext"
3067                       if test -f "$dir/lib$name.la"; then
3068                         found_la="$dir/lib$name.la"
3069                       fi
3070                     fi
3071                   fi
3072                   ;;
3073               esac
3074               if test "X$found_dir" != "X"; then
3075                 break
3076               fi
3077             done
3078           fi
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"
3089               else
3090                 dnl Use an explicit option to hardcode DIR into the resulting
3091                 dnl binary.
3092                 dnl Potentially add DIR to ltrpathdirs.
3093                 dnl The ltrpathdirs will be appended to $LTLIBNAME at the end.
3094                 haveit=
3095                 for x in $ltrpathdirs; do
3096                   if test "X$x" = "X$found_dir"; then
3097                     haveit=yes
3098                     break
3099                   fi
3100                 done
3101                 if test -z "$haveit"; then
3102                   ltrpathdirs="$ltrpathdirs $found_dir"
3103                 fi
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"
3109                 else
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
3112                     dnl binary.
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.
3116                     haveit=
3117                     for x in $rpathdirs; do
3118                       if test "X$x" = "X$found_dir"; then
3119                         haveit=yes
3120                         break
3121                       fi
3122                     done
3123                     if test -z "$haveit"; then
3124                       rpathdirs="$rpathdirs $found_dir"
3125                     fi
3126                   else
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
3130                     haveit=
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
3134                         haveit=yes
3135                         break
3136                       fi
3137                     done
3138                     if test -z "$haveit"; then
3139                       LIB[]NAME="${LIB[]NAME}${LIB[]NAME:+ }-L$found_dir"
3140                     fi
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"
3144                       dnl here.
3145                       LIB[]NAME="${LIB[]NAME}${LIB[]NAME:+ }$found_so"
3146                     else
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"
3153                       dnl here.
3154                       LIB[]NAME="${LIB[]NAME}${LIB[]NAME:+ }-l$name"
3155                     fi
3156                   fi
3157                 fi
3158               fi
3159             else
3160               if test "X$found_a" != "X"; then
3161                 dnl Linking with a static library.
3162                 LIB[]NAME="${LIB[]NAME}${LIB[]NAME:+ }$found_a"
3163               else
3164                 dnl We shouldn't come here, but anyway it's good to have a
3165                 dnl fallback.
3166                 LIB[]NAME="${LIB[]NAME}${LIB[]NAME:+ }-L$found_dir -l$name"
3167               fi
3168             fi
3169             dnl Assume the include files are nearby.
3170             additional_includedir=
3171             case "$found_dir" in
3172               */lib | */lib/)
3173                 basedir=`echo "X$found_dir" | sed -e 's,^X,,' -e 's,/lib/*$,,'`
3174                 additional_includedir="$basedir/include"
3175                 ;;
3176             esac
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
3186                 haveit=
3187                 if test "X$additional_includedir" = "X/usr/local/include"; then
3188                   if test -n "$GCC"; then
3189                     case $host_os in
3190                       linux*) haveit=yes;;
3191                     esac
3192                   fi
3193                 fi
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
3198                       haveit=yes
3199                       break
3200                     fi
3201                   done
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"
3206                     fi
3207                   fi
3208                 fi
3209               fi
3210             fi
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"
3217               case "$found_la" in
3218                 */* | *\\*) . "$found_la" ;;
3219                 *) . "./$found_la" ;;
3220               esac
3221               libdir="$save_libdir"
3222               dnl We use only dependency_libs.
3223               for dep in $dependency_libs; do
3224                 case "$dep" in
3225                   -L*)
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
3235                       haveit=
3236                       if test "X$additional_libdir" = "X/usr/local/lib"; then
3237                         if test -n "$GCC"; then
3238                           case $host_os in
3239                             linux*) haveit=yes;;
3240                           esac
3241                         fi
3242                       fi
3243                       if test -z "$haveit"; then
3244                         haveit=
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
3248                             haveit=yes
3249                             break
3250                           fi
3251                         done
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"
3256                           fi
3257                         fi
3258                         haveit=
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
3262                             haveit=yes
3263                             break
3264                           fi
3265                         done
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"
3270                           fi
3271                         fi
3272                       fi
3273                     fi
3274                     ;;
3275                   -R*)
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.
3280                       haveit=
3281                       for x in $rpathdirs; do
3282                         if test "X$x" = "X$dir"; then
3283                           haveit=yes
3284                           break
3285                         fi
3286                       done
3287                       if test -z "$haveit"; then
3288                         rpathdirs="$rpathdirs $dir"
3289                       fi
3290                       dnl Potentially add DIR to ltrpathdirs.
3291                       dnl The ltrpathdirs will be appended to $LTLIBNAME at the end.
3292                       haveit=
3293                       for x in $ltrpathdirs; do
3294                         if test "X$x" = "X$dir"; then
3295                           haveit=yes
3296                           break
3297                         fi
3298                       done
3299                       if test -z "$haveit"; then
3300                         ltrpathdirs="$ltrpathdirs $dir"
3301                       fi
3302                     fi
3303                     ;;
3304                   -l*)
3305                     dnl Handle this in the next round.
3306                     names_next_round="$names_next_round "`echo "X$dep" | sed -e 's/^X-l//'`
3307                     ;;
3308                   *.la)
3309                     dnl Handle this in the next round. Throw away the .la's
3310                     dnl directory; it is already contained in a preceding -L
3311                     dnl option.
3312                     names_next_round="$names_next_round "`echo "X$dep" | sed -e 's,^X.*/,,' -e 's,^lib,,' -e 's,\.la$,,'`
3313                     ;;
3314                   *)
3315                     dnl Most likely an immediate library name.
3316                     LIB[]NAME="${LIB[]NAME}${LIB[]NAME:+ }$dep"
3317                     LTLIB[]NAME="${LTLIB[]NAME}${LTLIB[]NAME:+ }$dep"
3318                     ;;
3319                 esac
3320               done
3321             fi
3322           else
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"
3329           fi
3330         fi
3331       fi
3332     done
3333   done
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.
3339       alldirs=
3340       for found_dir in $rpathdirs; do
3341         alldirs="${alldirs}${alldirs:+$hardcode_libdir_separator}$found_dir"
3342       done
3343       dnl Note: hardcode_libdir_flag_spec uses $libdir and $wl.
3344       acl_save_libdir="$libdir"
3345       libdir="$alldirs"
3346       eval flag=\"$hardcode_libdir_flag_spec\"
3347       libdir="$acl_save_libdir"
3348       LIB[]NAME="${LIB[]NAME}${LIB[]NAME:+ }$flag"
3349     else
3350       dnl The -rpath options are cumulative.
3351       for found_dir in $rpathdirs; do
3352         acl_save_libdir="$libdir"
3353         libdir="$found_dir"
3354         eval flag=\"$hardcode_libdir_flag_spec\"
3355         libdir="$acl_save_libdir"
3356         LIB[]NAME="${LIB[]NAME}${LIB[]NAME:+ }$flag"
3357       done
3358     fi
3359   fi
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"
3365     done
3366   fi
3367 ])
3368 m4trace:auto-m4/lib-link.m4:536: -1- AC_DEFUN([AC_LIB_APPENDTOVAR], [
3369   for element in [$2]; do
3370     haveit=
3371     for x in $[$1]; do
3372       AC_LIB_WITH_FINAL_PREFIX([eval x=\"$x\"])
3373       if test "X$x" = "X$element"; then
3374         haveit=yes
3375         break
3376       fi
3377     done
3378     if test -z "$haveit"; then
3379       [$1]="${[$1]}${[$1]:+ }$element"
3380     fi
3381   done
3382 ])
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.
3390   use_additional=yes
3391   AC_LIB_WITH_FINAL_PREFIX([
3392     eval additional_includedir=\"$includedir\"
3393     eval additional_libdir=\"$libdir\"
3394   ])
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],
3398 [
3399     if test "X$withval" = "Xno"; then
3400       use_additional=no
3401     else
3402       if test "X$withval" = "X"; then
3403         AC_LIB_WITH_FINAL_PREFIX([
3404           eval additional_includedir=\"$includedir\"
3405           eval additional_libdir=\"$libdir\"
3406         ])
3407       else
3408         additional_includedir="$withval/include"
3409         additional_libdir="$withval/lib"
3410       fi
3411     fi
3412 ])
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
3421       haveit=
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
3425           haveit=yes
3426           break
3427         fi
3428       done
3429       if test -z "$haveit"; then
3430         if test "X$additional_includedir" = "X/usr/local/include"; then
3431           if test -n "$GCC"; then
3432             case $host_os in
3433               linux*) haveit=yes;;
3434             esac
3435           fi
3436         fi
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"
3441           fi
3442         fi
3443       fi
3444     fi
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
3452       haveit=
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
3456           haveit=yes
3457           break
3458         fi
3459       done
3460       if test -z "$haveit"; then
3461         if test "X$additional_libdir" = "X/usr/local/lib"; then
3462           if test -n "$GCC"; then
3463             case $host_os in
3464               linux*) haveit=yes;;
3465             esac
3466           fi
3467         fi
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"
3472           fi
3473         fi
3474       fi
3475     fi
3476   fi
3477 ])
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"
3483   else
3484     acl_final_prefix="$prefix"
3485   fi
3486   if test "X$exec_prefix" = "XNONE"; then
3487     acl_final_exec_prefix='${prefix}'
3488   else
3489     acl_final_exec_prefix="$exec_prefix"
3490   fi
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"
3495 ])
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"
3501   $1
3502   exec_prefix="$acl_save_exec_prefix"
3503   prefix="$acl_save_prefix"
3504 ])
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
3510
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
3521
3522 dnl Parse OPTIONS
3523 _LT_SET_OPTIONS([$0], [$1])
3524
3525 # This can be used to rebuild libtool when needed
3526 LIBTOOL_DEPS="$ltmain"
3527
3528 # Always use our own libtool.
3529 LIBTOOL='$(SHELL) $(top_builddir)/libtool'
3530 AC_SUBST(LIBTOOL)dnl
3531
3532 _LT_SETUP
3533
3534 # Only expand once:
3535 m4_define([LT_INIT])
3536 ])
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
3548 #! $SHELL
3549 # Generated by $as_me.
3550 # Run this file to recreate a libtool stub with the current configuration.
3551
3552 lt_cl_silent=false
3553 SHELL=\${CONFIG_SHELL-$SHELL}
3554 _LTEOF
3555
3556 cat >>"$CONFIG_LT" <<\_LTEOF
3557 AS_SHELL_SANITIZE
3558 _AS_PREPARE
3559
3560 exec AS_MESSAGE_FD>&1
3561 exec AS_MESSAGE_LOG_FD>>config.log
3562 {
3563   echo
3564   AS_BOX([Running $as_me.])
3565 } >&AS_MESSAGE_LOG_FD
3566
3567 lt_cl_help="\
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
3570 generated.
3571
3572 Usage: $[0] [[OPTIONS]]
3573
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
3578
3579 Report bugs to <bug-libtool@gnu.org>."
3580
3581 lt_cl_version="\
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.
3585
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."
3589
3590 while test $[#] != 0
3591 do
3592   case $[1] in
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 )
3598       debug=: ;;
3599     --quiet | --q* | --silent | --s* | -q )
3600       lt_cl_silent=: ;;
3601
3602     -*) AC_MSG_ERROR([unrecognized option: $[1]
3603 Try \`$[0] --help' for more information.]) ;;
3604
3605     *) AC_MSG_ERROR([unrecognized argument: $[1]
3606 Try \`$[0] --help' for more information.]) ;;
3607   esac
3608   shift
3609 done
3610
3611 if $lt_cl_silent; then
3612   exec AS_MESSAGE_FD>/dev/null
3613 fi
3614 _LTEOF
3615
3616 cat >>"$CONFIG_LT" <<_LTEOF
3617 _LT_OUTPUT_LIBTOOL_COMMANDS_INIT
3618 _LTEOF
3619
3620 cat >>"$CONFIG_LT" <<\_LTEOF
3621 AC_MSG_NOTICE([creating $ofile])
3622 _LT_OUTPUT_LIBTOOL_COMMANDS
3623 AS_EXIT(0)
3624 _LTEOF
3625 chmod +x "$CONFIG_LT"
3626
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
3632   lt_cl_success=:
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)
3639 fi
3640 ])
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
3643 m4_case([$1],
3644   [C],                  [_LT_LANG(C)],
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],
3651     [_LT_LANG($1)],
3652     [m4_fatal([$0: unsupported language: "$1"])])])dnl
3653 ])
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
3657 LT_LANG(C++)])
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
3665 LT_LANG(Fortran)])
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
3669 LT_LANG(Java)])
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],
3673   [$2=no
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)
3688    ac_status=$?
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
3697        $2=yes
3698      fi
3699    fi
3700    $RM conftest*
3701 ])
3702
3703 if test x"[$]$2" = xyes; then
3704     m4_if([$5], , :, [$5])
3705 else
3706     m4_if([$6], , :, [$6])
3707 fi
3708 ])
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],
3716   [$2=no
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
3729          $2=yes
3730        fi
3731      else
3732        $2=yes
3733      fi
3734    fi
3735    $RM -r conftest*
3736    LDFLAGS="$save_LDFLAGS"
3737 ])
3738
3739 if test x"[$]$2" = xyes; then
3740     m4_if([$4], , :, [$4])
3741 else
3742     m4_if([$5], , :, [$5])
3743 fi
3744 ])
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
3753   i=0
3754   teststring="ABCD"
3755
3756   case $build_os in
3757   msdosdjgpp*)
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
3763     ;;
3764
3765   gnu*)
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;
3770     ;;
3771
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;
3781     ;;
3782
3783   amigaos*)
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;
3787     ;;
3788
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`
3795     else
3796       lt_cv_sys_max_cmd_len=65536       # usable default for all BSDs
3797     fi
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`
3801     ;;
3802
3803   interix*)
3804     # We know the value 262144 and hardcode it with a safety zone (like BSD)
3805     lt_cv_sys_max_cmd_len=196608
3806     ;;
3807
3808   osf*)
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
3814     #
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 ;;
3818       esac
3819     fi
3820     ;;
3821   sco3.2v5*)
3822     lt_cv_sys_max_cmd_len=102400
3823     ;;
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/.*[[         ]]//'`
3828     else
3829       lt_cv_sys_max_cmd_len=32768
3830     fi
3831     ;;
3832   *)
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`
3837     else
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
3842       done
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
3846       # we can't tell.
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
3850       do
3851         i=`expr $i + 1`
3852         teststring=$teststring$teststring
3853       done
3854       # Only check the string length outside the loop.
3855       lt_cv_sys_max_cmd_len=`expr "X$teststring" : ".*" 2>&1`
3856       teststring=
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`
3861     fi
3862     ;;
3863   esac
3864 ])
3865 if test -n $lt_cv_sys_max_cmd_len ; then
3866   AC_MSG_RESULT($lt_cv_sys_max_cmd_len)
3867 else
3868   AC_MSG_RESULT(none)
3869 fi
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?])
3873 ])
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
3883 else
3884   lt_cv_dlopen=no
3885   lt_cv_dlopen_libs=
3886
3887   case $host_os in
3888   beos*)
3889     lt_cv_dlopen="load_add_on"
3890     lt_cv_dlopen_libs=
3891     lt_cv_dlopen_self=yes
3892     ;;
3893
3894   mingw* | pw32* | cegcc*)
3895     lt_cv_dlopen="LoadLibrary"
3896     lt_cv_dlopen_libs=
3897     ;;
3898
3899   cygwin*)
3900     lt_cv_dlopen="dlopen"
3901     lt_cv_dlopen_libs=
3902     ;;
3903
3904   darwin*)
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"],[
3908     lt_cv_dlopen="dyld"
3909     lt_cv_dlopen_libs=
3910     lt_cv_dlopen_self=yes
3911     ])
3912     ;;
3913
3914   *)
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"])
3927               ])
3928             ])
3929           ])
3930         ])
3931       ])
3932     ;;
3933   esac
3934
3935   if test "x$lt_cv_dlopen" != xno; then
3936     enable_dlopen=yes
3937   else
3938     enable_dlopen=no
3939   fi
3940
3941   case $lt_cv_dlopen in
3942   dlopen)
3943     save_CPPFLAGS="$CPPFLAGS"
3944     test "x$ac_cv_header_dlfcn_h" = xyes && CPPFLAGS="$CPPFLAGS -DHAVE_DLFCN_H"
3945
3946     save_LDFLAGS="$LDFLAGS"
3947     wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $export_dynamic_flag_spec\"
3948
3949     save_LIBS="$LIBS"
3950     LIBS="$lt_cv_dlopen_libs $LIBS"
3951
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)
3957     ])
3958
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)
3966       ])
3967     fi
3968
3969     CPPFLAGS="$save_CPPFLAGS"
3970     LDFLAGS="$save_LDFLAGS"
3971     LIBS="$save_LIBS"
3972     ;;
3973   esac
3974
3975   case $lt_cv_dlopen_self in
3976   yes|no) enable_dlopen_self=$lt_cv_dlopen_self ;;
3977   *) enable_dlopen_self=unknown ;;
3978   esac
3979
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 ;;
3983   esac
3984 fi
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])
3991 ])
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,
3999 [case $MAGIC_CMD in
4000 [[\\/*] |  ?:[\\/]*])
4001   lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
4002   ;;
4003 *)
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
4011     IFS="$lt_save_ifs"
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
4017         "file_magic "*)
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
4022             :
4023           else
4024             cat <<_LT_EOF 1>&2
4025
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
4034
4035 _LT_EOF
4036           fi ;;
4037         esac
4038       fi
4039       break
4040     fi
4041   done
4042   IFS="$lt_save_ifs"
4043   MAGIC_CMD="$lt_save_MAGIC_CMD"
4044   ;;
4045 esac])
4046 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
4047 if test -n "$MAGIC_CMD"; then
4048   AC_MSG_RESULT($MAGIC_CMD)
4049 else
4050   AC_MSG_RESULT(no)
4051 fi
4052 _LT_DECL([], [MAGIC_CMD], [0],
4053          [Used to examine libraries when file_magic_cmd begins with "file"])dnl
4054 ])
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
4064
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
4070
4071 ac_prog=ld
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])
4075   case $host in
4076   *-*-mingw*)
4077     # gcc leaves a trailing carriage return which upsets mingw
4078     ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
4079   *)
4080     ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
4081   esac
4082   case $ac_prog in
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%/%"`
4090       done
4091       test -z "$LD" && LD="$ac_prog"
4092       ;;
4093   "")
4094     # If it fails, then pretend we aren't using GCC.
4095     ac_prog=ld
4096     ;;
4097   *)
4098     # If it is relative, then search for the first ld in PATH.
4099     with_gnu_ld=unknown
4100     ;;
4101   esac
4102 elif test "$with_gnu_ld" = yes; then
4103   AC_MSG_CHECKING([for GNU ld])
4104 else
4105   AC_MSG_CHECKING([for non-GNU ld])
4106 fi
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
4111     IFS="$lt_save_ifs"
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
4121         ;;
4122       *)
4123         test "$with_gnu_ld" != yes && break
4124         ;;
4125       esac
4126     fi
4127   done
4128   IFS="$lt_save_ifs"
4129 else
4130   lt_cv_path_LD="$LD" # Let the user override the test with a path.
4131 fi])
4132 LD="$lt_cv_path_LD"
4133 if test -n "$LD"; then
4134   AC_MSG_RESULT($LD)
4135 else
4136   AC_MSG_RESULT(no)
4137 fi
4138 test -z "$LD" && AC_MSG_ERROR([no acceptable ld found in \$PATH])
4139 _LT_PATH_LD_GNU
4140 AC_SUBST([LD])
4141
4142 _LT_TAGDECL([], [LD], [1], [The linker used to build libraries])
4143 ])
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.
4156   lt_cv_path_NM="$NM"
4157 else
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"
4161   fi
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
4165       IFS="$lt_save_ifs"
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"
4176           break
4177           ;;
4178         *)
4179           case `"$tmp_nm" -p /dev/null 2>&1 | sed '1q'` in
4180           */dev/null*)
4181             lt_cv_path_NM="$tmp_nm -p"
4182             break
4183             ;;
4184           *)
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
4187             ;;
4188           esac
4189           ;;
4190         esac
4191       fi
4192     done
4193     IFS="$lt_save_ifs"
4194   done
4195   : ${lt_cv_path_NM=no}
4196 fi])
4197 if test "$lt_cv_path_NM" != "no"; then
4198   NM="$lt_cv_path_NM"
4199 else
4200   # Didn't find any BSD compatible name lister, look for dumpbin.
4201   AC_CHECK_TOOLS(DUMPBIN, ["dumpbin -symbols" "link -dump -symbols"], :)
4202   AC_SUBST([DUMPBIN])
4203   if test "$DUMPBIN" != ":"; then
4204     NM="$DUMPBIN"
4205   fi
4206 fi
4207 test -z "$NM" && NM=nm
4208 AC_SUBST([NM])
4209 _LT_DECL([], [NM], [1], [A BSD- or MS-compatible name lister])dnl
4210
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"
4224   fi
4225   rm -f conftest*])
4226 ])
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
4236 LIBM=
4237 case $host in
4238 *-*-beos* | *-*-cygwin* | *-*-pw32* | *-*-darwin*)
4239   # These system don't have libm, or don't need it
4240   ;;
4241 *-ncr-sysv4.3*)
4242   AC_CHECK_LIB(mw, _mwvalidcheckl, LIBM="-lmw")
4243   AC_CHECK_LIB(m, cos, LIBM="$LIBM -lm")
4244   ;;
4245 *)
4246   AC_CHECK_LIB(m, cos, LIBM="-lm")
4247   ;;
4248 esac
4249 AC_SUBST([LIBM])
4250 ])
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
4260 ])
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,)
4266 ])
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.])
4280 ])
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.])
4287 ])
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.])
4293 ])
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.])
4301 ])
4302 m4trace:auto-m4/ltoptions.m4:194: -1- AC_DEFUN([AC_ENABLE_SHARED], [_LT_SET_OPTION([LT_INIT], m4_if([$1], [no], [disable-])[shared])
4303 ])
4304 m4trace:auto-m4/ltoptions.m4:198: -1- AC_DEFUN([AC_DISABLE_SHARED], [_LT_SET_OPTION([LT_INIT], [disable-shared])
4305 ])
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])
4315 ])
4316 m4trace:auto-m4/ltoptions.m4:252: -1- AC_DEFUN([AC_DISABLE_STATIC], [_LT_SET_OPTION([LT_INIT], [disable-static])
4317 ])
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.])
4330 ])
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.])
4337 ])
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.])
4342 ])
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.])
4349 ])
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.])
4354 ])
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.])
4361 ])
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)
4367 ])
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
4419   AC_ARG_ENABLE(nls,
4420     [  --disable-nls           do not use Native Language Support],
4421     USE_NLS=$enableval, USE_NLS=yes)
4422   AC_MSG_RESULT($USE_NLS)
4423   AC_SUBST(USE_NLS)
4424 ])
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.
4429   MKINSTALLDIRS=
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" ;;
4434     esac
4435   fi
4436   if test -z "$MKINSTALLDIRS"; then
4437     MKINSTALLDIRS="\$(top_srcdir)/mkinstalldirs"
4438   fi
4439   AC_SUBST(MKINSTALLDIRS)
4440 ])
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
4446
4447   dnl Perform the following tests also if --disable-nls has been given,
4448   dnl because they are needed for "make dist" to work.
4449
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)],
4456     :)
4457   AC_PATH_PROG(GMSGFMT, gmsgfmt, $MSGFMT)
4458
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)],
4465     :)
4466   dnl Remove leftover from FreeBSD xgettext call.
4467   rm -f messages.po
4468
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], :)
4472
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
4480       : ;
4481     else
4482       GMSGFMT=`echo "$GMSGFMT" | sed -e 's,^.*/,,'`
4483       AC_MSG_RESULT(
4484         [found $GMSGFMT program is not GNU msgfmt; ignore it])
4485       GMSGFMT=":"
4486     fi
4487   fi
4488
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
4496       : ;
4497     else
4498       AC_MSG_RESULT(
4499         [found xgettext program is not GNU xgettext; ignore it])
4500       XGETTEXT=":"
4501     fi
4502     dnl Remove leftover from FreeBSD xgettext call.
4503     rm -f messages.po
4504   fi
4505
4506   AC_OUTPUT_COMMANDS([
4507     for ac_file in $CONFIG_FILES; do
4508       # Support "outfile[:infile[:infile...]]"
4509       case "$ac_file" in
4510         *:*) ac_file=`echo "$ac_file"|sed 's%:.*%%'` ;;
4511       esac
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" ;;
4525         esac
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
4533           # parameters.
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"
4538             fi
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"
4543           else
4544             # The set of available languages was given in configure.in.
4545             eval 'ALL_LINGUAS''=$OBSOLETE_ALL_LINGUAS'
4546           fi
4547           # Compute POFILES
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)
4553           # Compute GMOFILES
4554           # as      $(foreach lang, $(ALL_LINGUAS), $(srcdir)/$(lang).gmo)
4555           case "$ac_given_srcdir" in
4556             .) srcdirpre= ;;
4557             *) srcdirpre='$(srcdir)/' ;;
4558           esac
4559           POFILES=
4560           UPDATEPOFILES=
4561           DUMMYPOFILES=
4562           GMOFILES=
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"
4568           done
4569           # CATALOGS depends on both $ac_dir and the user's LINGUAS
4570           # environment variable.
4571           INST_LINGUAS=
4572           if test -n "$ALL_LINGUAS"; then
4573             for presentlang in $ALL_LINGUAS; do
4574               useit=no
4575               if test "%UNSET%" != "$LINGUAS"; then
4576                 desiredlanguages="$LINGUAS"
4577               else
4578                 desiredlanguages="$ALL_LINGUAS"
4579               fi
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;;
4588                 esac
4589               done
4590               if test $useit = yes; then
4591                 INST_LINGUAS="$INST_LINGUAS $presentlang"
4592               fi
4593             done
4594           fi
4595           CATALOGS=
4596           if test -n "$INST_LINGUAS"; then
4597             for lang in $INST_LINGUAS; do
4598               CATALOGS="$CATALOGS $lang.gmo"
4599             done
4600           fi
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
4605               case "$f" in
4606                 *.orig | *.bak | *~) ;;
4607                 *) cat "$f" >> "$ac_dir/Makefile" ;;
4608               esac
4609             fi
4610           done
4611         fi
4612         ;;
4613       esac
4614     done],
4615    [# Capture the value of obsolete ALL_LINGUAS because we need it to compute
4616     # POFILES, UPDATEPOFILES, DUMMYPOFILES, GMOFILES, CATALOGS. But hide it
4617     # from automake.
4618     eval 'OBSOLETE_ALL_LINGUAS''="$ALL_LINGUAS"'
4619     # Capture the value of LINGUAS because we need it to compute CATALOGS.
4620     LINGUAS="${LINGUAS-%UNSET%}"
4621    ])
4622 ])
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
4625   # set:
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
4628   #   time.
4629
4630 changequote(,)dnl
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" ;;
4642   esac
4643
4644   # Find a way to echo strings without interpreting backslash.
4645   if test "X`(echo '\t') 2>/dev/null`" = 'X\t'; then
4646     gt_echo='echo'
4647   else
4648     if test "X`(printf '%s\n' '\t') 2>/dev/null`" = 'X\t'; then
4649       gt_echo='printf %s\n'
4650     else
4651       echo_func () {
4652         cat <<EOT
4653 $*
4654 EOT
4655       }
4656       gt_echo='echo_func'
4657     fi
4658   fi
4659
4660   # A sed script that extracts the value of VARIABLE from a Makefile.
4661   sed_x_variable='
4662 # Test if the hold space is empty.
4663 x
4664 s/P/P/
4665 x
4666 ta
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[     ]*=//
4671   ba
4672 }
4673 bd
4674 :a
4675 # Here we are processing a line from the variable definition.
4676 # Remove comment, more precisely replace it with a space.
4677 s/#.*$/ /
4678 # See if the line ends in a backslash.
4679 tb
4680 :b
4681 s/\\$//
4682 # Print the line, without the trailing backslash.
4683 p
4684 tc
4685 # There was no trailing backslash. The end of the variable definition is
4686 # reached. Clear the hold space.
4687 s/^.*$//
4688 x
4689 bd
4690 :c
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.
4693 s/^.*$/P/
4694 x
4695 :d
4696 '
4697 changequote([,])dnl
4698
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))
4704   POTFILES_DEPS=
4705   for file in $POTFILES; do
4706     POTFILES_DEPS="$POTFILES_DEPS "'$(top_srcdir)/'"$file"
4707   done
4708   POMAKEFILEDEPS=""
4709
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"
4712   fi
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"
4717   else
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"`
4721   fi
4722   # Hide the ALL_LINGUAS assigment from automake.
4723   eval 'ALL_LINGUAS''=$ALL_LINGUAS_'
4724   # Compute POFILES
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)
4730   # Compute GMOFILES
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)
4736   # Compute QMFILES
4737   # as      $(foreach lang, $(ALL_LINGUAS), $(srcdir)/$(lang).qm)
4738   # Compute MSGFILES
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
4743     .) srcdirpre= ;;
4744     *) srcdirpre='$(srcdir)/' ;;
4745   esac
4746   POFILES=
4747   UPDATEPOFILES=
4748   DUMMYPOFILES=
4749   GMOFILES=
4750   PROPERTIESFILES=
4751   CLASSFILES=
4752   QMFILES=
4753   MSGFILES=
4754   RESOURCESDLLFILES=
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"
4767   done
4768   # CATALOGS depends on both $ac_dir and the user's LINGUAS
4769   # environment variable.
4770   INST_LINGUAS=
4771   if test -n "$ALL_LINGUAS"; then
4772     for presentlang in $ALL_LINGUAS; do
4773       useit=no
4774       if test "%UNSET%" != "$LINGUAS"; then
4775         desiredlanguages="$LINGUAS"
4776       else
4777         desiredlanguages="$ALL_LINGUAS"
4778       fi
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;;
4787         esac
4788       done
4789       if test $useit = yes; then
4790         INST_LINGUAS="$INST_LINGUAS $presentlang"
4791       fi
4792     done
4793   fi
4794   CATALOGS=
4795   JAVACATALOGS=
4796   QTCATALOGS=
4797   TCLCATALOGS=
4798   CSHARPCATALOGS=
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"
4808     done
4809   fi
4810
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; }
4820 EOF
4821     done
4822   fi
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; }
4831 EOF
4832     done
4833   fi
4834   if test -n "$POMAKEFILEDEPS"; then
4835     cat >> "$ac_file.tmp" <<EOF
4836 Makefile: $POMAKEFILEDEPS
4837 EOF
4838   fi
4839   mv "$ac_file.tmp" "$ac_file"
4840 ])
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
4847   chmod +x conf$$.sh
4848   if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
4849     PATH_SEPARATOR=';'
4850   else
4851     PATH_SEPARATOR=:
4852   fi
4853   rm -f conf$$.sh
4854 fi
4855
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
4859 #! /bin/sh
4860 exit 0
4861 _ASEOF
4862 chmod +x conf$$.file
4863 if test -x conf$$.file >/dev/null 2>&1; then
4864   ac_executable_p="test -x"
4865 else
4866   ac_executable_p="test -f"
4867 fi
4868 rm -f conf$$.file
4869
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,
4874 [case "[$]$1" in
4875   [[\\/]]* | ?:[[\\/]]*)
4876     ac_cv_path_$1="[$]$1" # Let the user override the test with a path.
4877     ;;
4878   *)
4879     ac_save_IFS="$IFS"; IFS=$PATH_SEPARATOR
4880     for ac_dir in ifelse([$5], , $PATH, [$5]); do
4881       IFS="$ac_save_IFS"
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
4885           if [$3]; then
4886             ac_cv_path_$1="$ac_dir/$ac_word$ac_exec_ext"
4887             break 2
4888           fi
4889         fi
4890       done
4891     done
4892     IFS="$ac_save_IFS"
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"
4896 ])dnl
4897     ;;
4898 esac])dnl
4899 $1="$ac_cv_path_$1"
4900 if test ifelse([$4], , [-n "[$]$1"], ["[$]$1" != "$4"]); then
4901   AC_MSG_RESULT([$]$1)
4902 else
4903   AC_MSG_RESULT(no)
4904 fi
4905 AC_SUBST($1)dnl
4906 ])
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
5034 ])
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
5153      "" | " "*) ;;
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\"
5259   ])
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
5263       use_additional=no
5264     else
5265       if test "X$withval" = "X"; then
5266         AC_LIB_WITH_FINAL_PREFIX([
5267           eval additional_includedir=\"$includedir\"
5268           eval additional_libdir=\"$libdir\"
5269         ])
5270       else
5271         additional_includedir="$withval/include"
5272         additional_libdir="$withval/lib"
5273       fi
5274     fi
5275 ])
5276 m4trace:configure.ac:117: -1- AC_LIB_WITH_FINAL_PREFIX([
5277           eval additional_includedir=\"$includedir\"
5278           eval additional_libdir=\"$libdir\"
5279         ])
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\"
5320   ])
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
5324       use_additional=no
5325     else
5326       if test "X$withval" = "X"; then
5327         AC_LIB_WITH_FINAL_PREFIX([
5328           eval additional_includedir=\"$includedir\"
5329           eval additional_libdir=\"$libdir\"
5330         ])
5331       else
5332         additional_includedir="$withval/include"
5333         additional_libdir="$withval/lib"
5334       fi
5335     fi
5336 ])
5337 m4trace:configure.ac:117: -1- AC_LIB_WITH_FINAL_PREFIX([
5338           eval additional_includedir=\"$includedir\"
5339           eval additional_libdir=\"$libdir\"
5340         ])
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
5459 # $0([$1])
5460 AC_ARG_ENABLE([$1],
5461 [AS_HELP_STRING([--disable-][$1],
5462                 [do not use ][$1][ library])
5463 ],[
5464         if test x$enableval = xno; then
5465                 try_[$1]=false
5466         fi
5467 ])
5468 ])
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/
5504 ])
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/
5508 ])
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}])