/[zanavi_public1]/navit/autom4te.cache/traces.1
ZANavi

Contents of /navit/autom4te.cache/traces.1

Parent Directory Parent Directory | Revision Log Revision Log


Revision 31 - (hide annotations) (download)
Mon Feb 4 17:41:59 2013 UTC (7 years, 2 months ago) by zoff99
File size: 273954 byte(s)
new map version, lots of fixes and experimental new features
1 zoff99 31 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/ltdl.m4:16: -1- AC_DEFUN([LT_CONFIG_LTDL_DIR], [AC_BEFORE([$0], [LTDL_INIT])
67     _$0($*)
68     ])
69     m4trace:/usr/share/aclocal/ltdl.m4:68: -1- AC_DEFUN([LTDL_CONVENIENCE], [AC_BEFORE([$0], [LTDL_INIT])dnl
70     dnl Although the argument is deprecated and no longer documented,
71     dnl LTDL_CONVENIENCE used to take a DIRECTORY orgument, if we have one
72     dnl here make sure it is the same as any other declaration of libltdl's
73     dnl location! This also ensures lt_ltdl_dir is set when configure.ac is
74     dnl not yet using an explicit LT_CONFIG_LTDL_DIR.
75     m4_ifval([$1], [_LT_CONFIG_LTDL_DIR([$1])])dnl
76     _$0()
77     ])
78     m4trace:/usr/share/aclocal/ltdl.m4:81: -1- AU_DEFUN([AC_LIBLTDL_CONVENIENCE], [_LT_CONFIG_LTDL_DIR([m4_default([$1], [libltdl])])
79     _LTDL_CONVENIENCE])
80     m4trace:/usr/share/aclocal/ltdl.m4:81: -1- AC_DEFUN([AC_LIBLTDL_CONVENIENCE], [AC_DIAGNOSE([obsolete], [The macro `AC_LIBLTDL_CONVENIENCE' is obsolete.
81     You should run autoupdate.])dnl
82     _LT_CONFIG_LTDL_DIR([m4_default([$1], [libltdl])])
83     _LTDL_CONVENIENCE])
84     m4trace:/usr/share/aclocal/ltdl.m4:124: -1- AC_DEFUN([LTDL_INSTALLABLE], [AC_BEFORE([$0], [LTDL_INIT])dnl
85     dnl Although the argument is deprecated and no longer documented,
86     dnl LTDL_INSTALLABLE used to take a DIRECTORY orgument, if we have one
87     dnl here make sure it is the same as any other declaration of libltdl's
88     dnl location! This also ensures lt_ltdl_dir is set when configure.ac is
89     dnl not yet using an explicit LT_CONFIG_LTDL_DIR.
90     m4_ifval([$1], [_LT_CONFIG_LTDL_DIR([$1])])dnl
91     _$0()
92     ])
93     m4trace:/usr/share/aclocal/ltdl.m4:137: -1- AU_DEFUN([AC_LIBLTDL_INSTALLABLE], [_LT_CONFIG_LTDL_DIR([m4_default([$1], [libltdl])])
94     _LTDL_INSTALLABLE])
95     m4trace:/usr/share/aclocal/ltdl.m4:137: -1- AC_DEFUN([AC_LIBLTDL_INSTALLABLE], [AC_DIAGNOSE([obsolete], [The macro `AC_LIBLTDL_INSTALLABLE' is obsolete.
96     You should run autoupdate.])dnl
97     _LT_CONFIG_LTDL_DIR([m4_default([$1], [libltdl])])
98     _LTDL_INSTALLABLE])
99     m4trace:/usr/share/aclocal/ltdl.m4:213: -1- AC_DEFUN([_LT_LIBOBJ], [
100     m4_pattern_allow([^_LT_LIBOBJS$])
101     _LT_LIBOBJS="$_LT_LIBOBJS $1.$ac_objext"
102     ])
103     m4trace:/usr/share/aclocal/ltdl.m4:226: -1- AC_DEFUN([LTDL_INIT], [dnl Parse OPTIONS
104     _LT_SET_OPTIONS([$0], [$1])
105    
106     dnl We need to keep our own list of libobjs separate from our parent project,
107     dnl and the easiest way to do that is redefine the AC_LIBOBJs macro while
108     dnl we look for our own LIBOBJs.
109     m4_pushdef([AC_LIBOBJ], m4_defn([_LT_LIBOBJ]))
110     m4_pushdef([AC_LIBSOURCES])
111    
112     dnl If not otherwise defined, default to the 1.5.x compatible subproject mode:
113     m4_if(_LTDL_MODE, [],
114     [m4_define([_LTDL_MODE], m4_default([$2], [subproject]))
115     m4_if([-1], [m4_bregexp(_LTDL_MODE, [\(subproject\|\(non\)?recursive\)])],
116     [m4_fatal([unknown libltdl mode: ]_LTDL_MODE)])])
117    
118     AC_ARG_WITH([included_ltdl],
119     [AS_HELP_STRING([--with-included-ltdl],
120     [use the GNU ltdl sources included here])])
121    
122     if test "x$with_included_ltdl" != xyes; then
123     # We are not being forced to use the included libltdl sources, so
124     # decide whether there is a useful installed version we can use.
125     AC_CHECK_HEADER([ltdl.h],
126     [AC_CHECK_DECL([lt_dlinterface_register],
127     [AC_CHECK_LIB([ltdl], [lt_dladvise_preload],
128     [with_included_ltdl=no],
129     [with_included_ltdl=yes])],
130     [with_included_ltdl=yes],
131     [AC_INCLUDES_DEFAULT
132     #include <ltdl.h>])],
133     [with_included_ltdl=yes],
134     [AC_INCLUDES_DEFAULT]
135     )
136     fi
137    
138     dnl If neither LT_CONFIG_LTDL_DIR, LTDL_CONVENIENCE nor LTDL_INSTALLABLE
139     dnl was called yet, then for old times' sake, we assume libltdl is in an
140     dnl eponymous directory:
141     AC_PROVIDE_IFELSE([LT_CONFIG_LTDL_DIR], [], [_LT_CONFIG_LTDL_DIR([libltdl])])
142    
143     AC_ARG_WITH([ltdl_include],
144     [AS_HELP_STRING([--with-ltdl-include=DIR],
145     [use the ltdl headers installed in DIR])])
146    
147     if test -n "$with_ltdl_include"; then
148     if test -f "$with_ltdl_include/ltdl.h"; then :
149     else
150     AC_MSG_ERROR([invalid ltdl include directory: `$with_ltdl_include'])
151     fi
152     else
153     with_ltdl_include=no
154     fi
155    
156     AC_ARG_WITH([ltdl_lib],
157     [AS_HELP_STRING([--with-ltdl-lib=DIR],
158     [use the libltdl.la installed in DIR])])
159    
160     if test -n "$with_ltdl_lib"; then
161     if test -f "$with_ltdl_lib/libltdl.la"; then :
162     else
163     AC_MSG_ERROR([invalid ltdl library directory: `$with_ltdl_lib'])
164     fi
165     else
166     with_ltdl_lib=no
167     fi
168    
169     case ,$with_included_ltdl,$with_ltdl_include,$with_ltdl_lib, in
170     ,yes,no,no,)
171     m4_case(m4_default(_LTDL_TYPE, [convenience]),
172     [convenience], [_LTDL_CONVENIENCE],
173     [installable], [_LTDL_INSTALLABLE],
174     [m4_fatal([unknown libltdl build type: ]_LTDL_TYPE)])
175     ;;
176     ,no,no,no,)
177     # If the included ltdl is not to be used, then use the
178     # preinstalled libltdl we found.
179     AC_DEFINE([HAVE_LTDL], [1],
180     [Define this if a modern libltdl is already installed])
181     LIBLTDL=-lltdl
182     LTDLDEPS=
183     LTDLINCL=
184     ;;
185     ,no*,no,*)
186     AC_MSG_ERROR([`--with-ltdl-include' and `--with-ltdl-lib' options must be used together])
187     ;;
188     *) with_included_ltdl=no
189     LIBLTDL="-L$with_ltdl_lib -lltdl"
190     LTDLDEPS=
191     LTDLINCL="-I$with_ltdl_include"
192     ;;
193     esac
194     INCLTDL="$LTDLINCL"
195    
196     # Report our decision...
197     AC_MSG_CHECKING([where to find libltdl headers])
198     AC_MSG_RESULT([$LTDLINCL])
199     AC_MSG_CHECKING([where to find libltdl library])
200     AC_MSG_RESULT([$LIBLTDL])
201    
202     _LTDL_SETUP
203    
204     dnl restore autoconf definition.
205     m4_popdef([AC_LIBOBJ])
206     m4_popdef([AC_LIBSOURCES])
207    
208     AC_CONFIG_COMMANDS_PRE([
209     _ltdl_libobjs=
210     _ltdl_ltlibobjs=
211     if test -n "$_LT_LIBOBJS"; then
212     # Remove the extension.
213     _lt_sed_drop_objext='s/\.o$//;s/\.obj$//'
214     for i in `for i in $_LT_LIBOBJS; do echo "$i"; done | sed "$_lt_sed_drop_objext" | sort -u`; do
215     _ltdl_libobjs="$_ltdl_libobjs $lt_libobj_prefix$i.$ac_objext"
216     _ltdl_ltlibobjs="$_ltdl_ltlibobjs $lt_libobj_prefix$i.lo"
217     done
218     fi
219     AC_SUBST([ltdl_LIBOBJS], [$_ltdl_libobjs])
220     AC_SUBST([ltdl_LTLIBOBJS], [$_ltdl_ltlibobjs])
221     ])
222    
223     # Only expand once:
224     m4_define([LTDL_INIT])
225     ])
226     m4trace:/usr/share/aclocal/ltdl.m4:352: -1- AU_DEFUN([AC_LIB_LTDL], [LTDL_INIT($@)])
227     m4trace:/usr/share/aclocal/ltdl.m4:352: -1- AC_DEFUN([AC_LIB_LTDL], [AC_DIAGNOSE([obsolete], [The macro `AC_LIB_LTDL' is obsolete.
228     You should run autoupdate.])dnl
229     LTDL_INIT($@)])
230     m4trace:/usr/share/aclocal/ltdl.m4:353: -1- AU_DEFUN([AC_WITH_LTDL], [LTDL_INIT($@)])
231     m4trace:/usr/share/aclocal/ltdl.m4:353: -1- AC_DEFUN([AC_WITH_LTDL], [AC_DIAGNOSE([obsolete], [The macro `AC_WITH_LTDL' is obsolete.
232     You should run autoupdate.])dnl
233     LTDL_INIT($@)])
234     m4trace:/usr/share/aclocal/ltdl.m4:354: -1- AU_DEFUN([LT_WITH_LTDL], [LTDL_INIT($@)])
235     m4trace:/usr/share/aclocal/ltdl.m4:354: -1- AC_DEFUN([LT_WITH_LTDL], [AC_DIAGNOSE([obsolete], [The macro `LT_WITH_LTDL' is obsolete.
236     You should run autoupdate.])dnl
237     LTDL_INIT($@)])
238     m4trace:/usr/share/aclocal/ltdl.m4:367: -1- AC_DEFUN([_LTDL_SETUP], [AC_REQUIRE([AC_PROG_CC])dnl
239     AC_REQUIRE([LT_SYS_MODULE_EXT])dnl
240     AC_REQUIRE([LT_SYS_MODULE_PATH])dnl
241     AC_REQUIRE([LT_SYS_DLSEARCH_PATH])dnl
242     AC_REQUIRE([LT_LIB_DLLOAD])dnl
243     AC_REQUIRE([LT_SYS_SYMBOL_USCORE])dnl
244     AC_REQUIRE([LT_FUNC_DLSYM_USCORE])dnl
245     AC_REQUIRE([LT_SYS_DLOPEN_DEPLIBS])dnl
246     AC_REQUIRE([gl_FUNC_ARGZ])dnl
247    
248     m4_require([_LT_CHECK_OBJDIR])dnl
249     m4_require([_LT_HEADER_DLFCN])dnl
250     m4_require([_LT_CHECK_DLPREOPEN])dnl
251     m4_require([_LT_DECL_SED])dnl
252    
253     dnl Don't require this, or it will be expanded earlier than the code
254     dnl that sets the variables it relies on:
255     _LT_ENABLE_INSTALL
256    
257     dnl _LTDL_MODE specific code must be called at least once:
258     _LTDL_MODE_DISPATCH
259    
260     # In order that ltdl.c can compile, find out the first AC_CONFIG_HEADERS
261     # the user used. This is so that ltdl.h can pick up the parent projects
262     # config.h file, The first file in AC_CONFIG_HEADERS must contain the
263     # definitions required by ltdl.c.
264     # FIXME: Remove use of undocumented AC_LIST_HEADERS (2.59 compatibility).
265     AC_CONFIG_COMMANDS_PRE([dnl
266     m4_pattern_allow([^LT_CONFIG_H$])dnl
267     m4_ifset([AH_HEADER],
268     [LT_CONFIG_H=AH_HEADER],
269     [m4_ifset([AC_LIST_HEADERS],
270     [LT_CONFIG_H=`echo "AC_LIST_HEADERS" | $SED 's,^[[ ]]*,,;s,[[ :]].*$,,'`],
271     [])])])
272     AC_SUBST([LT_CONFIG_H])
273    
274     AC_CHECK_HEADERS([unistd.h dl.h sys/dl.h dld.h mach-o/dyld.h dirent.h],
275     [], [], [AC_INCLUDES_DEFAULT])
276    
277     AC_CHECK_FUNCS([closedir opendir readdir], [], [AC_LIBOBJ([lt__dirent])])
278     AC_CHECK_FUNCS([strlcat strlcpy], [], [AC_LIBOBJ([lt__strl])])
279    
280     AC_DEFINE_UNQUOTED([LT_LIBEXT],["$libext"],[The archive extension])
281    
282     name=ltdl
283     LTDLOPEN=`eval "\\$ECHO \"$libname_spec\""`
284     AC_SUBST([LTDLOPEN])
285     ])
286     m4trace:/usr/share/aclocal/ltdl.m4:437: -1- AC_DEFUN([LT_SYS_DLOPEN_DEPLIBS], [AC_REQUIRE([AC_CANONICAL_HOST])dnl
287     AC_CACHE_CHECK([whether deplibs are loaded by dlopen],
288     [lt_cv_sys_dlopen_deplibs],
289     [# PORTME does your system automatically load deplibs for dlopen?
290     # or its logical equivalent (e.g. shl_load for HP-UX < 11)
291     # For now, we just catch OSes we know something about -- in the
292     # future, we'll try test this programmatically.
293     lt_cv_sys_dlopen_deplibs=unknown
294     case $host_os in
295     aix3*|aix4.1.*|aix4.2.*)
296     # Unknown whether this is true for these versions of AIX, but
297     # we want this `case' here to explicitly catch those versions.
298     lt_cv_sys_dlopen_deplibs=unknown
299     ;;
300     aix[[4-9]]*)
301     lt_cv_sys_dlopen_deplibs=yes
302     ;;
303     amigaos*)
304     case $host_cpu in
305     powerpc)
306     lt_cv_sys_dlopen_deplibs=no
307     ;;
308     esac
309     ;;
310     darwin*)
311     # Assuming the user has installed a libdl from somewhere, this is true
312     # If you are looking for one http://www.opendarwin.org/projects/dlcompat
313     lt_cv_sys_dlopen_deplibs=yes
314     ;;
315     freebsd* | dragonfly*)
316     lt_cv_sys_dlopen_deplibs=yes
317     ;;
318     gnu* | linux* | k*bsd*-gnu | kopensolaris*-gnu)
319     # GNU and its variants, using gnu ld.so (Glibc)
320     lt_cv_sys_dlopen_deplibs=yes
321     ;;
322     hpux10*|hpux11*)
323     lt_cv_sys_dlopen_deplibs=yes
324     ;;
325     interix*)
326     lt_cv_sys_dlopen_deplibs=yes
327     ;;
328     irix[[12345]]*|irix6.[[01]]*)
329     # Catch all versions of IRIX before 6.2, and indicate that we don't
330     # know how it worked for any of those versions.
331     lt_cv_sys_dlopen_deplibs=unknown
332     ;;
333     irix*)
334     # The case above catches anything before 6.2, and it's known that
335     # at 6.2 and later dlopen does load deplibs.
336     lt_cv_sys_dlopen_deplibs=yes
337     ;;
338     netbsd* | netbsdelf*-gnu)
339     lt_cv_sys_dlopen_deplibs=yes
340     ;;
341     openbsd*)
342     lt_cv_sys_dlopen_deplibs=yes
343     ;;
344     osf[[1234]]*)
345     # dlopen did load deplibs (at least at 4.x), but until the 5.x series,
346     # it did *not* use an RPATH in a shared library to find objects the
347     # library depends on, so we explicitly say `no'.
348     lt_cv_sys_dlopen_deplibs=no
349     ;;
350     osf5.0|osf5.0a|osf5.1)
351     # dlopen *does* load deplibs and with the right loader patch applied
352     # it even uses RPATH in a shared library to search for shared objects
353     # that the library depends on, but there's no easy way to know if that
354     # patch is installed. Since this is the case, all we can really
355     # say is unknown -- it depends on the patch being installed. If
356     # it is, this changes to `yes'. Without it, it would be `no'.
357     lt_cv_sys_dlopen_deplibs=unknown
358     ;;
359     osf*)
360     # the two cases above should catch all versions of osf <= 5.1. Read
361     # the comments above for what we know about them.
362     # At > 5.1, deplibs are loaded *and* any RPATH in a shared library
363     # is used to find them so we can finally say `yes'.
364     lt_cv_sys_dlopen_deplibs=yes
365     ;;
366     qnx*)
367     lt_cv_sys_dlopen_deplibs=yes
368     ;;
369     solaris*)
370     lt_cv_sys_dlopen_deplibs=yes
371     ;;
372     sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
373     libltdl_cv_sys_dlopen_deplibs=yes
374     ;;
375     esac
376     ])
377     if test "$lt_cv_sys_dlopen_deplibs" != yes; then
378     AC_DEFINE([LTDL_DLOPEN_DEPLIBS], [1],
379     [Define if the OS needs help to load dependent libraries for dlopen().])
380     fi
381     ])
382     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($@)])])
383     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.
384     You should run autoupdate.])dnl
385     m4_if($#, 0, [LT_SYS_DLOPEN_DEPLIBS], [LT_SYS_DLOPEN_DEPLIBS($@)])])
386     m4trace:/usr/share/aclocal/ltdl.m4:543: -1- AC_DEFUN([LT_SYS_MODULE_EXT], [m4_require([_LT_SYS_DYNAMIC_LINKER])dnl
387     AC_CACHE_CHECK([which extension is used for runtime loadable modules],
388     [libltdl_cv_shlibext],
389     [
390     module=yes
391     eval libltdl_cv_shlibext=$shrext_cmds
392     ])
393     if test -n "$libltdl_cv_shlibext"; then
394     m4_pattern_allow([LT_MODULE_EXT])dnl
395     AC_DEFINE_UNQUOTED([LT_MODULE_EXT], ["$libltdl_cv_shlibext"],
396     [Define to the extension used for runtime loadable modules, say, ".so".])
397     fi
398     ])
399     m4trace:/usr/share/aclocal/ltdl.m4:559: -1- AU_DEFUN([AC_LTDL_SHLIBEXT], [m4_if($#, 0, [LT_SYS_MODULE_EXT], [LT_SYS_MODULE_EXT($@)])])
400     m4trace:/usr/share/aclocal/ltdl.m4:559: -1- AC_DEFUN([AC_LTDL_SHLIBEXT], [AC_DIAGNOSE([obsolete], [The macro `AC_LTDL_SHLIBEXT' is obsolete.
401     You should run autoupdate.])dnl
402     m4_if($#, 0, [LT_SYS_MODULE_EXT], [LT_SYS_MODULE_EXT($@)])])
403     m4trace:/usr/share/aclocal/ltdl.m4:566: -1- AC_DEFUN([LT_SYS_MODULE_PATH], [m4_require([_LT_SYS_DYNAMIC_LINKER])dnl
404     AC_CACHE_CHECK([which variable specifies run-time module search path],
405     [lt_cv_module_path_var], [lt_cv_module_path_var="$shlibpath_var"])
406     if test -n "$lt_cv_module_path_var"; then
407     m4_pattern_allow([LT_MODULE_PATH_VAR])dnl
408     AC_DEFINE_UNQUOTED([LT_MODULE_PATH_VAR], ["$lt_cv_module_path_var"],
409     [Define to the name of the environment variable that determines the run-time module search path.])
410     fi
411     ])
412     m4trace:/usr/share/aclocal/ltdl.m4:578: -1- AU_DEFUN([AC_LTDL_SHLIBPATH], [m4_if($#, 0, [LT_SYS_MODULE_PATH], [LT_SYS_MODULE_PATH($@)])])
413     m4trace:/usr/share/aclocal/ltdl.m4:578: -1- AC_DEFUN([AC_LTDL_SHLIBPATH], [AC_DIAGNOSE([obsolete], [The macro `AC_LTDL_SHLIBPATH' is obsolete.
414     You should run autoupdate.])dnl
415     m4_if($#, 0, [LT_SYS_MODULE_PATH], [LT_SYS_MODULE_PATH($@)])])
416     m4trace:/usr/share/aclocal/ltdl.m4:585: -1- AC_DEFUN([LT_SYS_DLSEARCH_PATH], [m4_require([_LT_SYS_DYNAMIC_LINKER])dnl
417     AC_CACHE_CHECK([for the default library search path],
418     [lt_cv_sys_dlsearch_path],
419     [lt_cv_sys_dlsearch_path="$sys_lib_dlsearch_path_spec"])
420     if test -n "$lt_cv_sys_dlsearch_path"; then
421     sys_dlsearch_path=
422     for dir in $lt_cv_sys_dlsearch_path; do
423     if test -z "$sys_dlsearch_path"; then
424     sys_dlsearch_path="$dir"
425     else
426     sys_dlsearch_path="$sys_dlsearch_path$PATH_SEPARATOR$dir"
427     fi
428     done
429     m4_pattern_allow([LT_DLSEARCH_PATH])dnl
430     AC_DEFINE_UNQUOTED([LT_DLSEARCH_PATH], ["$sys_dlsearch_path"],
431     [Define to the system default library search path.])
432     fi
433     ])
434     m4trace:/usr/share/aclocal/ltdl.m4:606: -1- AU_DEFUN([AC_LTDL_SYSSEARCHPATH], [m4_if($#, 0, [LT_SYS_DLSEARCH_PATH], [LT_SYS_DLSEARCH_PATH($@)])])
435     m4trace:/usr/share/aclocal/ltdl.m4:606: -1- AC_DEFUN([AC_LTDL_SYSSEARCHPATH], [AC_DIAGNOSE([obsolete], [The macro `AC_LTDL_SYSSEARCHPATH' is obsolete.
436     You should run autoupdate.])dnl
437     m4_if($#, 0, [LT_SYS_DLSEARCH_PATH], [LT_SYS_DLSEARCH_PATH($@)])])
438     m4trace:/usr/share/aclocal/ltdl.m4:632: -1- AC_DEFUN([LT_LIB_DLLOAD], [m4_pattern_allow([^LT_DLLOADERS$])
439     LT_DLLOADERS=
440     AC_SUBST([LT_DLLOADERS])
441    
442     AC_LANG_PUSH([C])
443    
444     LIBADD_DLOPEN=
445     AC_SEARCH_LIBS([dlopen], [dl],
446     [AC_DEFINE([HAVE_LIBDL], [1],
447     [Define if you have the libdl library or equivalent.])
448     if test "$ac_cv_search_dlopen" != "none required" ; then
449     LIBADD_DLOPEN="-ldl"
450     fi
451     libltdl_cv_lib_dl_dlopen="yes"
452     LT_DLLOADERS="$LT_DLLOADERS ${lt_dlopen_dir+$lt_dlopen_dir/}dlopen.la"],
453     [AC_LINK_IFELSE([AC_LANG_PROGRAM([[#if HAVE_DLFCN_H
454     # include <dlfcn.h>
455     #endif
456     ]], [[dlopen(0, 0);]])],
457     [AC_DEFINE([HAVE_LIBDL], [1],
458     [Define if you have the libdl library or equivalent.])
459     libltdl_cv_func_dlopen="yes"
460     LT_DLLOADERS="$LT_DLLOADERS ${lt_dlopen_dir+$lt_dlopen_dir/}dlopen.la"],
461     [AC_CHECK_LIB([svld], [dlopen],
462     [AC_DEFINE([HAVE_LIBDL], [1],
463     [Define if you have the libdl library or equivalent.])
464     LIBADD_DLOPEN="-lsvld" libltdl_cv_func_dlopen="yes"
465     LT_DLLOADERS="$LT_DLLOADERS ${lt_dlopen_dir+$lt_dlopen_dir/}dlopen.la"])])])
466     if test x"$libltdl_cv_func_dlopen" = xyes || test x"$libltdl_cv_lib_dl_dlopen" = xyes
467     then
468     lt_save_LIBS="$LIBS"
469     LIBS="$LIBS $LIBADD_DLOPEN"
470     AC_CHECK_FUNCS([dlerror])
471     LIBS="$lt_save_LIBS"
472     fi
473     AC_SUBST([LIBADD_DLOPEN])
474    
475     LIBADD_SHL_LOAD=
476     AC_CHECK_FUNC([shl_load],
477     [AC_DEFINE([HAVE_SHL_LOAD], [1],
478     [Define if you have the shl_load function.])
479     LT_DLLOADERS="$LT_DLLOADERS ${lt_dlopen_dir+$lt_dlopen_dir/}shl_load.la"],
480     [AC_CHECK_LIB([dld], [shl_load],
481     [AC_DEFINE([HAVE_SHL_LOAD], [1],
482     [Define if you have the shl_load function.])
483     LT_DLLOADERS="$LT_DLLOADERS ${lt_dlopen_dir+$lt_dlopen_dir/}shl_load.la"
484     LIBADD_SHL_LOAD="-ldld"])])
485     AC_SUBST([LIBADD_SHL_LOAD])
486    
487     case $host_os in
488     darwin[[1567]].*)
489     # We only want this for pre-Mac OS X 10.4.
490     AC_CHECK_FUNC([_dyld_func_lookup],
491     [AC_DEFINE([HAVE_DYLD], [1],
492     [Define if you have the _dyld_func_lookup function.])
493     LT_DLLOADERS="$LT_DLLOADERS ${lt_dlopen_dir+$lt_dlopen_dir/}dyld.la"])
494     ;;
495     beos*)
496     LT_DLLOADERS="$LT_DLLOADERS ${lt_dlopen_dir+$lt_dlopen_dir/}load_add_on.la"
497     ;;
498     cygwin* | mingw* | os2* | pw32*)
499     AC_CHECK_DECLS([cygwin_conv_path], [], [], [[#include <sys/cygwin.h>]])
500     LT_DLLOADERS="$LT_DLLOADERS ${lt_dlopen_dir+$lt_dlopen_dir/}loadlibrary.la"
501     ;;
502     esac
503    
504     AC_CHECK_LIB([dld], [dld_link],
505     [AC_DEFINE([HAVE_DLD], [1],
506     [Define if you have the GNU dld library.])
507     LT_DLLOADERS="$LT_DLLOADERS ${lt_dlopen_dir+$lt_dlopen_dir/}dld_link.la"])
508     AC_SUBST([LIBADD_DLD_LINK])
509    
510     m4_pattern_allow([^LT_DLPREOPEN$])
511     LT_DLPREOPEN=
512     if test -n "$LT_DLLOADERS"
513     then
514     for lt_loader in $LT_DLLOADERS; do
515     LT_DLPREOPEN="$LT_DLPREOPEN-dlpreopen $lt_loader "
516     done
517     AC_DEFINE([HAVE_LIBDLLOADER], [1],
518     [Define if libdlloader will be built on this platform])
519     fi
520     AC_SUBST([LT_DLPREOPEN])
521    
522     dnl This isn't used anymore, but set it for backwards compatibility
523     LIBADD_DL="$LIBADD_DLOPEN $LIBADD_SHL_LOAD"
524     AC_SUBST([LIBADD_DL])
525    
526     AC_LANG_POP
527     ])
528     m4trace:/usr/share/aclocal/ltdl.m4:725: -1- AU_DEFUN([AC_LTDL_DLLIB], [m4_if($#, 0, [LT_LIB_DLLOAD], [LT_LIB_DLLOAD($@)])])
529     m4trace:/usr/share/aclocal/ltdl.m4:725: -1- AC_DEFUN([AC_LTDL_DLLIB], [AC_DIAGNOSE([obsolete], [The macro `AC_LTDL_DLLIB' is obsolete.
530     You should run autoupdate.])dnl
531     m4_if($#, 0, [LT_LIB_DLLOAD], [LT_LIB_DLLOAD($@)])])
532     m4trace:/usr/share/aclocal/ltdl.m4:733: -1- AC_DEFUN([LT_SYS_SYMBOL_USCORE], [m4_require([_LT_CMD_GLOBAL_SYMBOLS])dnl
533     AC_CACHE_CHECK([for _ prefix in compiled symbols],
534     [lt_cv_sys_symbol_underscore],
535     [lt_cv_sys_symbol_underscore=no
536     cat > conftest.$ac_ext <<_LT_EOF
537     void nm_test_func(){}
538     int main(){nm_test_func;return 0;}
539     _LT_EOF
540     if AC_TRY_EVAL(ac_compile); then
541     # Now try to grab the symbols.
542     ac_nlist=conftest.nm
543     if AC_TRY_EVAL(NM conftest.$ac_objext \| $lt_cv_sys_global_symbol_pipe \> $ac_nlist) && test -s "$ac_nlist"; then
544     # See whether the symbols have a leading underscore.
545     if grep '^. _nm_test_func' "$ac_nlist" >/dev/null; then
546     lt_cv_sys_symbol_underscore=yes
547     else
548     if grep '^. nm_test_func ' "$ac_nlist" >/dev/null; then
549     :
550     else
551     echo "configure: cannot find nm_test_func in $ac_nlist" >&AS_MESSAGE_LOG_FD
552     fi
553     fi
554     else
555     echo "configure: cannot run $lt_cv_sys_global_symbol_pipe" >&AS_MESSAGE_LOG_FD
556     fi
557     else
558     echo "configure: failed program was:" >&AS_MESSAGE_LOG_FD
559     cat conftest.c >&AS_MESSAGE_LOG_FD
560     fi
561     rm -rf conftest*
562     ])
563     sys_symbol_underscore=$lt_cv_sys_symbol_underscore
564     AC_SUBST([sys_symbol_underscore])
565     ])
566     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($@)])])
567     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.
568     You should run autoupdate.])dnl
569     m4_if($#, 0, [LT_SYS_SYMBOL_USCORE], [LT_SYS_SYMBOL_USCORE($@)])])
570     m4trace:/usr/share/aclocal/ltdl.m4:777: -1- AC_DEFUN([LT_FUNC_DLSYM_USCORE], [AC_REQUIRE([LT_SYS_SYMBOL_USCORE])dnl
571     if test x"$lt_cv_sys_symbol_underscore" = xyes; then
572     if test x"$libltdl_cv_func_dlopen" = xyes ||
573     test x"$libltdl_cv_lib_dl_dlopen" = xyes ; then
574     AC_CACHE_CHECK([whether we have to add an underscore for dlsym],
575     [libltdl_cv_need_uscore],
576     [libltdl_cv_need_uscore=unknown
577     save_LIBS="$LIBS"
578     LIBS="$LIBS $LIBADD_DLOPEN"
579     _LT_TRY_DLOPEN_SELF(
580     [libltdl_cv_need_uscore=no], [libltdl_cv_need_uscore=yes],
581     [], [libltdl_cv_need_uscore=cross])
582     LIBS="$save_LIBS"
583     ])
584     fi
585     fi
586    
587     if test x"$libltdl_cv_need_uscore" = xyes; then
588     AC_DEFINE([NEED_USCORE], [1],
589     [Define if dlsym() requires a leading underscore in symbol names.])
590     fi
591     ])
592     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($@)])])
593     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.
594     You should run autoupdate.])dnl
595     m4_if($#, 0, [LT_FUNC_DLSYM_USCORE], [LT_FUNC_DLSYM_USCORE($@)])])
596     m4trace:/usr/share/aclocal/pkg.m4:26: -1- AC_DEFUN([PKG_PROG_PKG_CONFIG], [m4_pattern_forbid([^_?PKG_[A-Z_]+$])
597     m4_pattern_allow([^PKG_CONFIG(_PATH)?$])
598     AC_ARG_VAR([PKG_CONFIG], [path to pkg-config utility])dnl
599     if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
600     AC_PATH_TOOL([PKG_CONFIG], [pkg-config])
601     fi
602     if test -n "$PKG_CONFIG"; then
603     _pkg_min_version=m4_default([$1], [0.9.0])
604     AC_MSG_CHECKING([pkg-config is at least version $_pkg_min_version])
605     if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
606     AC_MSG_RESULT([yes])
607     else
608     AC_MSG_RESULT([no])
609     PKG_CONFIG=""
610     fi
611    
612     fi[]dnl
613     ])
614     m4trace:/usr/share/aclocal/pkg.m4:56: -1- AC_DEFUN([PKG_CHECK_EXISTS], [AC_REQUIRE([PKG_PROG_PKG_CONFIG])dnl
615     if test -n "$PKG_CONFIG" && \
616     AC_RUN_LOG([$PKG_CONFIG --exists --print-errors "$1"]); then
617     m4_ifval([$2], [$2], [:])
618     m4_ifvaln([$3], [else
619     $3])dnl
620     fi])
621     m4trace:/usr/share/aclocal/pkg.m4:84: -1- AC_DEFUN([_PKG_SHORT_ERRORS_SUPPORTED], [AC_REQUIRE([PKG_PROG_PKG_CONFIG])
622     if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
623     _pkg_short_errors_supported=yes
624     else
625     _pkg_short_errors_supported=no
626     fi[]dnl
627     ])
628     m4trace:/usr/share/aclocal/pkg.m4:104: -1- AC_DEFUN([PKG_CHECK_MODULES], [AC_REQUIRE([PKG_PROG_PKG_CONFIG])dnl
629     AC_ARG_VAR([$1][_CFLAGS], [C compiler flags for $1, overriding pkg-config])dnl
630     AC_ARG_VAR([$1][_LIBS], [linker flags for $1, overriding pkg-config])dnl
631    
632     pkg_failed=no
633     AC_MSG_CHECKING([for $1])
634    
635     _PKG_CONFIG([$1][_CFLAGS], [cflags], [$2])
636     _PKG_CONFIG([$1][_LIBS], [libs], [$2])
637    
638     m4_define([_PKG_TEXT], [Alternatively, you may set the environment variables $1[]_CFLAGS
639     and $1[]_LIBS to avoid the need to call pkg-config.
640     See the pkg-config man page for more details.])
641    
642     if test $pkg_failed = yes; then
643     _PKG_SHORT_ERRORS_SUPPORTED
644     if test $_pkg_short_errors_supported = yes; then
645     $1[]_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "$2"`
646     else
647     $1[]_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "$2"`
648     fi
649     # Put the nasty error message in config.log where it belongs
650     echo "$$1[]_PKG_ERRORS" >&AS_MESSAGE_LOG_FD
651    
652     ifelse([$4], , [AC_MSG_ERROR(dnl
653     [Package requirements ($2) were not met:
654    
655     $$1_PKG_ERRORS
656    
657     Consider adjusting the PKG_CONFIG_PATH environment variable if you
658     installed software in a non-standard prefix.
659    
660     _PKG_TEXT
661     ])],
662     [AC_MSG_RESULT([no])
663     $4])
664     elif test $pkg_failed = untried; then
665     ifelse([$4], , [AC_MSG_FAILURE(dnl
666     [The pkg-config script could not be found or is too old. Make sure it
667     is in your PATH or set the PKG_CONFIG environment variable to the full
668     path to pkg-config.
669    
670     _PKG_TEXT
671    
672     To get pkg-config, see <http://pkg-config.freedesktop.org/>.])],
673     [$4])
674     else
675     $1[]_CFLAGS=$pkg_cv_[]$1[]_CFLAGS
676     $1[]_LIBS=$pkg_cv_[]$1[]_LIBS
677     AC_MSG_RESULT([yes])
678     ifelse([$3], , :, [$3])
679     fi[]dnl
680     ])
681     m4trace:/usr/share/aclocal-1.11/amversion.m4:14: -1- AC_DEFUN([AM_AUTOMAKE_VERSION], [am__api_version='1.11'
682     dnl Some users find AM_AUTOMAKE_VERSION and mistake it for a way to
683     dnl require some minimum version. Point them to the right macro.
684     m4_if([$1], [1.11.1], [],
685     [AC_FATAL([Do not call $0, use AM_INIT_AUTOMAKE([$1]).])])dnl
686     ])
687     m4trace:/usr/share/aclocal-1.11/amversion.m4:33: -1- AC_DEFUN([AM_SET_CURRENT_AUTOMAKE_VERSION], [AM_AUTOMAKE_VERSION([1.11.1])dnl
688     m4_ifndef([AC_AUTOCONF_VERSION],
689     [m4_copy([m4_PACKAGE_VERSION], [AC_AUTOCONF_VERSION])])dnl
690     _AM_AUTOCONF_VERSION(m4_defn([AC_AUTOCONF_VERSION]))])
691     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.
692     AC_PREREQ([2.50])dnl
693     # expand $ac_aux_dir to an absolute path
694     am_aux_dir=`cd $ac_aux_dir && pwd`
695     ])
696     m4trace:/usr/share/aclocal-1.11/cond.m4:15: -1- AC_DEFUN([AM_CONDITIONAL], [AC_PREREQ(2.52)dnl
697     ifelse([$1], [TRUE], [AC_FATAL([$0: invalid condition: $1])],
698     [$1], [FALSE], [AC_FATAL([$0: invalid condition: $1])])dnl
699     AC_SUBST([$1_TRUE])dnl
700     AC_SUBST([$1_FALSE])dnl
701     _AM_SUBST_NOTMAKE([$1_TRUE])dnl
702     _AM_SUBST_NOTMAKE([$1_FALSE])dnl
703     m4_define([_AM_COND_VALUE_$1], [$2])dnl
704     if $2; then
705     $1_TRUE=
706     $1_FALSE='#'
707     else
708     $1_TRUE='#'
709     $1_FALSE=
710     fi
711     AC_CONFIG_COMMANDS_PRE(
712     [if test -z "${$1_TRUE}" && test -z "${$1_FALSE}"; then
713     AC_MSG_ERROR([[conditional "$1" was never defined.
714     Usually this means the macro was only invoked conditionally.]])
715     fi])])
716     m4trace:/usr/share/aclocal-1.11/depend.m4:28: -1- AC_DEFUN([_AM_DEPENDENCIES], [AC_REQUIRE([AM_SET_DEPDIR])dnl
717     AC_REQUIRE([AM_OUTPUT_DEPENDENCY_COMMANDS])dnl
718     AC_REQUIRE([AM_MAKE_INCLUDE])dnl
719     AC_REQUIRE([AM_DEP_TRACK])dnl
720    
721     ifelse([$1], CC, [depcc="$CC" am_compiler_list=],
722     [$1], CXX, [depcc="$CXX" am_compiler_list=],
723     [$1], OBJC, [depcc="$OBJC" am_compiler_list='gcc3 gcc'],
724     [$1], UPC, [depcc="$UPC" am_compiler_list=],
725     [$1], GCJ, [depcc="$GCJ" am_compiler_list='gcc3 gcc'],
726     [depcc="$$1" am_compiler_list=])
727    
728     AC_CACHE_CHECK([dependency style of $depcc],
729     [am_cv_$1_dependencies_compiler_type],
730     [if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
731     # We make a subdir and do the tests there. Otherwise we can end up
732     # making bogus files that we don't know about and never remove. For
733     # instance it was reported that on HP-UX the gcc test will end up
734     # making a dummy file named `D' -- because `-MD' means `put the output
735     # in D'.
736     mkdir conftest.dir
737     # Copy depcomp to subdir because otherwise we won't find it if we're
738     # using a relative directory.
739     cp "$am_depcomp" conftest.dir
740     cd conftest.dir
741     # We will build objects and dependencies in a subdirectory because
742     # it helps to detect inapplicable dependency modes. For instance
743     # both Tru64's cc and ICC support -MD to output dependencies as a
744     # side effect of compilation, but ICC will put the dependencies in
745     # the current directory while Tru64 will put them in the object
746     # directory.
747     mkdir sub
748    
749     am_cv_$1_dependencies_compiler_type=none
750     if test "$am_compiler_list" = ""; then
751     am_compiler_list=`sed -n ['s/^#*\([a-zA-Z0-9]*\))$/\1/p'] < ./depcomp`
752     fi
753     am__universal=false
754     m4_case([$1], [CC],
755     [case " $depcc " in #(
756     *\ -arch\ *\ -arch\ *) am__universal=true ;;
757     esac],
758     [CXX],
759     [case " $depcc " in #(
760     *\ -arch\ *\ -arch\ *) am__universal=true ;;
761     esac])
762    
763     for depmode in $am_compiler_list; do
764     # Setup a source with many dependencies, because some compilers
765     # like to wrap large dependency lists on column 80 (with \), and
766     # we should not choose a depcomp mode which is confused by this.
767     #
768     # We need to recreate these files for each test, as the compiler may
769     # overwrite some of them when testing with obscure command lines.
770     # This happens at least with the AIX C compiler.
771     : > sub/conftest.c
772     for i in 1 2 3 4 5 6; do
773     echo '#include "conftst'$i'.h"' >> sub/conftest.c
774     # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
775     # Solaris 8's {/usr,}/bin/sh.
776     touch sub/conftst$i.h
777     done
778     echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
779    
780     # We check with `-c' and `-o' for the sake of the "dashmstdout"
781     # mode. It turns out that the SunPro C++ compiler does not properly
782     # handle `-M -o', and we need to detect this. Also, some Intel
783     # versions had trouble with output in subdirs
784     am__obj=sub/conftest.${OBJEXT-o}
785     am__minus_obj="-o $am__obj"
786     case $depmode in
787     gcc)
788     # This depmode causes a compiler race in universal mode.
789     test "$am__universal" = false || continue
790     ;;
791     nosideeffect)
792     # after this tag, mechanisms are not by side-effect, so they'll
793     # only be used when explicitly requested
794     if test "x$enable_dependency_tracking" = xyes; then
795     continue
796     else
797     break
798     fi
799     ;;
800     msvisualcpp | msvcmsys)
801     # This compiler won't grok `-c -o', but also, the minuso test has
802     # not run yet. These depmodes are late enough in the game, and
803     # so weak that their functioning should not be impacted.
804     am__obj=conftest.${OBJEXT-o}
805     am__minus_obj=
806     ;;
807     none) break ;;
808     esac
809     if depmode=$depmode \
810     source=sub/conftest.c object=$am__obj \
811     depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
812     $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
813     >/dev/null 2>conftest.err &&
814     grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
815     grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
816     grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
817     ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
818     # icc doesn't choke on unknown options, it will just issue warnings
819     # or remarks (even with -Werror). So we grep stderr for any message
820     # that says an option was ignored or not supported.
821     # When given -MP, icc 7.0 and 7.1 complain thusly:
822     # icc: Command line warning: ignoring option '-M'; no argument required
823     # The diagnosis changed in icc 8.0:
824     # icc: Command line remark: option '-MP' not supported
825     if (grep 'ignoring option' conftest.err ||
826     grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
827     am_cv_$1_dependencies_compiler_type=$depmode
828     break
829     fi
830     fi
831     done
832    
833     cd ..
834     rm -rf conftest.dir
835     else
836     am_cv_$1_dependencies_compiler_type=none
837     fi
838     ])
839     AC_SUBST([$1DEPMODE], [depmode=$am_cv_$1_dependencies_compiler_type])
840     AM_CONDITIONAL([am__fastdep$1], [
841     test "x$enable_dependency_tracking" != xno \
842     && test "$am_cv_$1_dependencies_compiler_type" = gcc3])
843     ])
844     m4trace:/usr/share/aclocal-1.11/depend.m4:163: -1- AC_DEFUN([AM_SET_DEPDIR], [AC_REQUIRE([AM_SET_LEADING_DOT])dnl
845     AC_SUBST([DEPDIR], ["${am__leading_dot}deps"])dnl
846     ])
847     m4trace:/usr/share/aclocal-1.11/depend.m4:171: -1- AC_DEFUN([AM_DEP_TRACK], [AC_ARG_ENABLE(dependency-tracking,
848     [ --disable-dependency-tracking speeds up one-time build
849     --enable-dependency-tracking do not reject slow dependency extractors])
850     if test "x$enable_dependency_tracking" != xno; then
851     am_depcomp="$ac_aux_dir/depcomp"
852     AMDEPBACKSLASH='\'
853     fi
854     AM_CONDITIONAL([AMDEP], [test "x$enable_dependency_tracking" != xno])
855     AC_SUBST([AMDEPBACKSLASH])dnl
856     _AM_SUBST_NOTMAKE([AMDEPBACKSLASH])dnl
857     ])
858     m4trace:/usr/share/aclocal-1.11/depout.m4:14: -1- AC_DEFUN([_AM_OUTPUT_DEPENDENCY_COMMANDS], [{
859     # Autoconf 2.62 quotes --file arguments for eval, but not when files
860     # are listed without --file. Let's play safe and only enable the eval
861     # if we detect the quoting.
862     case $CONFIG_FILES in
863     *\'*) eval set x "$CONFIG_FILES" ;;
864     *) set x $CONFIG_FILES ;;
865     esac
866     shift
867     for mf
868     do
869     # Strip MF so we end up with the name of the file.
870     mf=`echo "$mf" | sed -e 's/:.*$//'`
871     # Check whether this is an Automake generated Makefile or not.
872     # We used to match only the files named `Makefile.in', but
873     # some people rename them; so instead we look at the file content.
874     # Grep'ing the first line is not enough: some people post-process
875     # each Makefile.in and add a new line on top of each file to say so.
876     # Grep'ing the whole file is not good either: AIX grep has a line
877     # limit of 2048, but all sed's we know have understand at least 4000.
878     if sed -n 's,^#.*generated by automake.*,X,p' "$mf" | grep X >/dev/null 2>&1; then
879     dirpart=`AS_DIRNAME("$mf")`
880     else
881     continue
882     fi
883     # Extract the definition of DEPDIR, am__include, and am__quote
884     # from the Makefile without running `make'.
885     DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"`
886     test -z "$DEPDIR" && continue
887     am__include=`sed -n 's/^am__include = //p' < "$mf"`
888     test -z "am__include" && continue
889     am__quote=`sed -n 's/^am__quote = //p' < "$mf"`
890     # When using ansi2knr, U may be empty or an underscore; expand it
891     U=`sed -n 's/^U = //p' < "$mf"`
892     # Find all dependency output files, they are included files with
893     # $(DEPDIR) in their names. We invoke sed twice because it is the
894     # simplest approach to changing $(DEPDIR) to its actual value in the
895     # expansion.
896     for file in `sed -n "
897     s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
898     sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do
899     # Make sure the directory exists.
900     test -f "$dirpart/$file" && continue
901     fdir=`AS_DIRNAME(["$file"])`
902     AS_MKDIR_P([$dirpart/$fdir])
903     # echo "creating $dirpart/$file"
904     echo '# dummy' > "$dirpart/$file"
905     done
906     done
907     }
908     ])
909     m4trace:/usr/share/aclocal-1.11/depout.m4:75: -1- AC_DEFUN([AM_OUTPUT_DEPENDENCY_COMMANDS], [AC_CONFIG_COMMANDS([depfiles],
910     [test x"$AMDEP_TRUE" != x"" || _AM_OUTPUT_DEPENDENCY_COMMANDS],
911     [AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"])
912     ])
913     m4trace:/usr/share/aclocal-1.11/header.m4:12: -1- AU_DEFUN([AM_CONFIG_HEADER], [AC_CONFIG_HEADERS($@)])
914     m4trace:/usr/share/aclocal-1.11/header.m4:12: -1- AC_DEFUN([AM_CONFIG_HEADER], [AC_DIAGNOSE([obsolete], [The macro `AM_CONFIG_HEADER' is obsolete.
915     You should run autoupdate.])dnl
916     AC_CONFIG_HEADERS($@)])
917     m4trace:/usr/share/aclocal-1.11/init.m4:26: -1- AC_DEFUN([AM_INIT_AUTOMAKE], [AC_PREREQ([2.62])dnl
918     dnl Autoconf wants to disallow AM_ names. We explicitly allow
919     dnl the ones we care about.
920     m4_pattern_allow([^AM_[A-Z]+FLAGS$])dnl
921     AC_REQUIRE([AM_SET_CURRENT_AUTOMAKE_VERSION])dnl
922     AC_REQUIRE([AC_PROG_INSTALL])dnl
923     if test "`cd $srcdir && pwd`" != "`pwd`"; then
924     # Use -I$(srcdir) only when $(srcdir) != ., so that make's output
925     # is not polluted with repeated "-I."
926     AC_SUBST([am__isrc], [' -I$(srcdir)'])_AM_SUBST_NOTMAKE([am__isrc])dnl
927     # test to see if srcdir already configured
928     if test -f $srcdir/config.status; then
929     AC_MSG_ERROR([source directory already configured; run "make distclean" there first])
930     fi
931     fi
932    
933     # test whether we have cygpath
934     if test -z "$CYGPATH_W"; then
935     if (cygpath --version) >/dev/null 2>/dev/null; then
936     CYGPATH_W='cygpath -w'
937     else
938     CYGPATH_W=echo
939     fi
940     fi
941     AC_SUBST([CYGPATH_W])
942    
943     # Define the identity of the package.
944     dnl Distinguish between old-style and new-style calls.
945     m4_ifval([$2],
946     [m4_ifval([$3], [_AM_SET_OPTION([no-define])])dnl
947     AC_SUBST([PACKAGE], [$1])dnl
948     AC_SUBST([VERSION], [$2])],
949     [_AM_SET_OPTIONS([$1])dnl
950     dnl Diagnose old-style AC_INIT with new-style AM_AUTOMAKE_INIT.
951     m4_if(m4_ifdef([AC_PACKAGE_NAME], 1)m4_ifdef([AC_PACKAGE_VERSION], 1), 11,,
952     [m4_fatal([AC_INIT should be called with package and version arguments])])dnl
953     AC_SUBST([PACKAGE], ['AC_PACKAGE_TARNAME'])dnl
954     AC_SUBST([VERSION], ['AC_PACKAGE_VERSION'])])dnl
955    
956     _AM_IF_OPTION([no-define],,
957     [AC_DEFINE_UNQUOTED(PACKAGE, "$PACKAGE", [Name of package])
958     AC_DEFINE_UNQUOTED(VERSION, "$VERSION", [Version number of package])])dnl
959    
960     # Some tools Automake needs.
961     AC_REQUIRE([AM_SANITY_CHECK])dnl
962     AC_REQUIRE([AC_ARG_PROGRAM])dnl
963     AM_MISSING_PROG(ACLOCAL, aclocal-${am__api_version})
964     AM_MISSING_PROG(AUTOCONF, autoconf)
965     AM_MISSING_PROG(AUTOMAKE, automake-${am__api_version})
966     AM_MISSING_PROG(AUTOHEADER, autoheader)
967     AM_MISSING_PROG(MAKEINFO, makeinfo)
968     AC_REQUIRE([AM_PROG_INSTALL_SH])dnl
969     AC_REQUIRE([AM_PROG_INSTALL_STRIP])dnl
970     AC_REQUIRE([AM_PROG_MKDIR_P])dnl
971     # We need awk for the "check" target. The system "awk" is bad on
972     # some platforms.
973     AC_REQUIRE([AC_PROG_AWK])dnl
974     AC_REQUIRE([AC_PROG_MAKE_SET])dnl
975     AC_REQUIRE([AM_SET_LEADING_DOT])dnl
976     _AM_IF_OPTION([tar-ustar], [_AM_PROG_TAR([ustar])],
977     [_AM_IF_OPTION([tar-pax], [_AM_PROG_TAR([pax])],
978     [_AM_PROG_TAR([v7])])])
979     _AM_IF_OPTION([no-dependencies],,
980     [AC_PROVIDE_IFELSE([AC_PROG_CC],
981     [_AM_DEPENDENCIES(CC)],
982     [define([AC_PROG_CC],
983     defn([AC_PROG_CC])[_AM_DEPENDENCIES(CC)])])dnl
984     AC_PROVIDE_IFELSE([AC_PROG_CXX],
985     [_AM_DEPENDENCIES(CXX)],
986     [define([AC_PROG_CXX],
987     defn([AC_PROG_CXX])[_AM_DEPENDENCIES(CXX)])])dnl
988     AC_PROVIDE_IFELSE([AC_PROG_OBJC],
989     [_AM_DEPENDENCIES(OBJC)],
990     [define([AC_PROG_OBJC],
991     defn([AC_PROG_OBJC])[_AM_DEPENDENCIES(OBJC)])])dnl
992     ])
993     _AM_IF_OPTION([silent-rules], [AC_REQUIRE([AM_SILENT_RULES])])dnl
994     dnl The `parallel-tests' driver may need to know about EXEEXT, so add the
995     dnl `am__EXEEXT' conditional if _AM_COMPILER_EXEEXT was seen. This macro
996     dnl is hooked onto _AC_COMPILER_EXEEXT early, see below.
997     AC_CONFIG_COMMANDS_PRE(dnl
998     [m4_provide_if([_AM_COMPILER_EXEEXT],
999     [AM_CONDITIONAL([am__EXEEXT], [test -n "$EXEEXT"])])])dnl
1000     ])
1001     m4trace:/usr/share/aclocal-1.11/init.m4:126: -1- AC_DEFUN([_AC_AM_CONFIG_HEADER_HOOK], [# Compute $1's index in $config_headers.
1002     _am_arg=$1
1003     _am_stamp_count=1
1004     for _am_header in $config_headers :; do
1005     case $_am_header in
1006     $_am_arg | $_am_arg:* )
1007     break ;;
1008     * )
1009     _am_stamp_count=`expr $_am_stamp_count + 1` ;;
1010     esac
1011     done
1012     echo "timestamp for $_am_arg" >`AS_DIRNAME(["$_am_arg"])`/stamp-h[]$_am_stamp_count])
1013     m4trace:/usr/share/aclocal-1.11/install-sh.m4:11: -1- AC_DEFUN([AM_PROG_INSTALL_SH], [AC_REQUIRE([AM_AUX_DIR_EXPAND])dnl
1014     if test x"${install_sh}" != xset; then
1015     case $am_aux_dir in
1016     *\ * | *\ *)
1017     install_sh="\${SHELL} '$am_aux_dir/install-sh'" ;;
1018     *)
1019     install_sh="\${SHELL} $am_aux_dir/install-sh"
1020     esac
1021     fi
1022     AC_SUBST(install_sh)])
1023     m4trace:/usr/share/aclocal-1.11/lead-dot.m4:12: -1- AC_DEFUN([AM_SET_LEADING_DOT], [rm -rf .tst 2>/dev/null
1024     mkdir .tst 2>/dev/null
1025     if test -d .tst; then
1026     am__leading_dot=.
1027     else
1028     am__leading_dot=_
1029     fi
1030     rmdir .tst 2>/dev/null
1031     AC_SUBST([am__leading_dot])])
1032     m4trace:/usr/share/aclocal-1.11/make.m4:14: -1- AC_DEFUN([AM_MAKE_INCLUDE], [am_make=${MAKE-make}
1033     cat > confinc << 'END'
1034     am__doit:
1035     @echo this is the am__doit target
1036     .PHONY: am__doit
1037     END
1038     # If we don't find an include directive, just comment out the code.
1039     AC_MSG_CHECKING([for style of include used by $am_make])
1040     am__include="#"
1041     am__quote=
1042     _am_result=none
1043     # First try GNU make style include.
1044     echo "include confinc" > confmf
1045     # Ignore all kinds of additional output from `make'.
1046     case `$am_make -s -f confmf 2> /dev/null` in #(
1047     *the\ am__doit\ target*)
1048     am__include=include
1049     am__quote=
1050     _am_result=GNU
1051     ;;
1052     esac
1053     # Now try BSD make style include.
1054     if test "$am__include" = "#"; then
1055     echo '.include "confinc"' > confmf
1056     case `$am_make -s -f confmf 2> /dev/null` in #(
1057     *the\ am__doit\ target*)
1058     am__include=.include
1059     am__quote="\""
1060     _am_result=BSD
1061     ;;
1062     esac
1063     fi
1064     AC_SUBST([am__include])
1065     AC_SUBST([am__quote])
1066     AC_MSG_RESULT([$_am_result])
1067     rm -f confinc confmf
1068     ])
1069     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
1070     AC_REQUIRE([AM_AUX_DIR_EXPAND])dnl
1071     AC_REQUIRE_AUX_FILE([compile])dnl
1072     # FIXME: we rely on the cache variable name because
1073     # there is no other way.
1074     set dummy $CC
1075     am_cc=`echo $[2] | sed ['s/[^a-zA-Z0-9_]/_/g;s/^[0-9]/_/']`
1076     eval am_t=\$ac_cv_prog_cc_${am_cc}_c_o
1077     if test "$am_t" != yes; then
1078     # Losing compiler, so override with the script.
1079     # FIXME: It is wrong to rewrite CC.
1080     # But if we don't then we get into trouble of one sort or another.
1081     # A longer-term fix would be to have automake use am__CC in this case,
1082     # and then we could set am__CC="\$(top_srcdir)/compile \$(CC)"
1083     CC="$am_aux_dir/compile $CC"
1084     fi
1085     dnl Make sure AC_PROG_CC is never called again, or it will override our
1086     dnl setting of CC.
1087     m4_define([AC_PROG_CC],
1088     [m4_fatal([AC_PROG_CC cannot be called after AM_PROG_CC_C_O])])
1089     ])
1090     m4trace:/usr/share/aclocal-1.11/missing.m4:14: -1- AC_DEFUN([AM_MISSING_PROG], [AC_REQUIRE([AM_MISSING_HAS_RUN])
1091     $1=${$1-"${am_missing_run}$2"}
1092     AC_SUBST($1)])
1093     m4trace:/usr/share/aclocal-1.11/missing.m4:24: -1- AC_DEFUN([AM_MISSING_HAS_RUN], [AC_REQUIRE([AM_AUX_DIR_EXPAND])dnl
1094     AC_REQUIRE_AUX_FILE([missing])dnl
1095     if test x"${MISSING+set}" != xset; then
1096     case $am_aux_dir in
1097     *\ * | *\ *)
1098     MISSING="\${SHELL} \"$am_aux_dir/missing\"" ;;
1099     *)
1100     MISSING="\${SHELL} $am_aux_dir/missing" ;;
1101     esac
1102     fi
1103     # Use eval to expand $SHELL
1104     if eval "$MISSING --run true"; then
1105     am_missing_run="$MISSING --run "
1106     else
1107     am_missing_run=
1108     AC_MSG_WARN([`missing' script is too old or missing])
1109     fi
1110     ])
1111     m4trace:/usr/share/aclocal-1.11/mkdirp.m4:11: -1- AC_DEFUN([AM_PROG_MKDIR_P], [AC_PREREQ([2.60])dnl
1112     AC_REQUIRE([AC_PROG_MKDIR_P])dnl
1113     dnl Automake 1.8 to 1.9.6 used to define mkdir_p. We now use MKDIR_P,
1114     dnl while keeping a definition of mkdir_p for backward compatibility.
1115     dnl @MKDIR_P@ is magic: AC_OUTPUT adjusts its value for each Makefile.
1116     dnl However we cannot define mkdir_p as $(MKDIR_P) for the sake of
1117     dnl Makefile.ins that do not define MKDIR_P, so we do our own
1118     dnl adjustment using top_builddir (which is defined more often than
1119     dnl MKDIR_P).
1120     AC_SUBST([mkdir_p], ["$MKDIR_P"])dnl
1121     case $mkdir_p in
1122     [[\\/$]]* | ?:[[\\/]]*) ;;
1123     */*) mkdir_p="\$(top_builddir)/$mkdir_p" ;;
1124     esac
1125     ])
1126     m4trace:/usr/share/aclocal-1.11/options.m4:13: -1- AC_DEFUN([_AM_MANGLE_OPTION], [[_AM_OPTION_]m4_bpatsubst($1, [[^a-zA-Z0-9_]], [_])])
1127     m4trace:/usr/share/aclocal-1.11/options.m4:19: -1- AC_DEFUN([_AM_SET_OPTION], [m4_define(_AM_MANGLE_OPTION([$1]), 1)])
1128     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)])])
1129     m4trace:/usr/share/aclocal-1.11/options.m4:31: -1- AC_DEFUN([_AM_IF_OPTION], [m4_ifset(_AM_MANGLE_OPTION([$1]), [$2], [$3])])
1130     m4trace:/usr/share/aclocal-1.11/runlog.m4:12: -1- AC_DEFUN([AM_RUN_LOG], [{ echo "$as_me:$LINENO: $1" >&AS_MESSAGE_LOG_FD
1131     ($1) >&AS_MESSAGE_LOG_FD 2>&AS_MESSAGE_LOG_FD
1132     ac_status=$?
1133     echo "$as_me:$LINENO: \$? = $ac_status" >&AS_MESSAGE_LOG_FD
1134     (exit $ac_status); }])
1135     m4trace:/usr/share/aclocal-1.11/sanity.m4:14: -1- AC_DEFUN([AM_SANITY_CHECK], [AC_MSG_CHECKING([whether build environment is sane])
1136     # Just in case
1137     sleep 1
1138     echo timestamp > conftest.file
1139     # Reject unsafe characters in $srcdir or the absolute working directory
1140     # name. Accept space and tab only in the latter.
1141     am_lf='
1142     '
1143     case `pwd` in
1144     *[[\\\"\#\$\&\'\`$am_lf]]*)
1145     AC_MSG_ERROR([unsafe absolute working directory name]);;
1146     esac
1147     case $srcdir in
1148     *[[\\\"\#\$\&\'\`$am_lf\ \ ]]*)
1149     AC_MSG_ERROR([unsafe srcdir value: `$srcdir']);;
1150     esac
1151    
1152     # Do `set' in a subshell so we don't clobber the current shell's
1153     # arguments. Must try -L first in case configure is actually a
1154     # symlink; some systems play weird games with the mod time of symlinks
1155     # (eg FreeBSD returns the mod time of the symlink's containing
1156     # directory).
1157     if (
1158     set X `ls -Lt "$srcdir/configure" conftest.file 2> /dev/null`
1159     if test "$[*]" = "X"; then
1160     # -L didn't work.
1161     set X `ls -t "$srcdir/configure" conftest.file`
1162     fi
1163     rm -f conftest.file
1164     if test "$[*]" != "X $srcdir/configure conftest.file" \
1165     && test "$[*]" != "X conftest.file $srcdir/configure"; then
1166    
1167     # If neither matched, then we have a broken ls. This can happen
1168     # if, for instance, CONFIG_SHELL is bash and it inherits a
1169     # broken ls alias from the environment. This has actually
1170     # happened. Such a system could not be considered "sane".
1171     AC_MSG_ERROR([ls -t appears to fail. Make sure there is not a broken
1172     alias in your environment])
1173     fi
1174    
1175     test "$[2]" = conftest.file
1176     )
1177     then
1178     # Ok.
1179     :
1180     else
1181     AC_MSG_ERROR([newly created file is older than distributed files!
1182     Check your system clock])
1183     fi
1184     AC_MSG_RESULT(yes)])
1185     m4trace:/usr/share/aclocal-1.11/silent.m4:14: -1- AC_DEFUN([AM_SILENT_RULES], [AC_ARG_ENABLE([silent-rules],
1186     [ --enable-silent-rules less verbose build output (undo: `make V=1')
1187     --disable-silent-rules verbose build output (undo: `make V=0')])
1188     case $enable_silent_rules in
1189     yes) AM_DEFAULT_VERBOSITY=0;;
1190     no) AM_DEFAULT_VERBOSITY=1;;
1191     *) AM_DEFAULT_VERBOSITY=m4_if([$1], [yes], [0], [1]);;
1192     esac
1193     AC_SUBST([AM_DEFAULT_VERBOSITY])dnl
1194     AM_BACKSLASH='\'
1195     AC_SUBST([AM_BACKSLASH])dnl
1196     _AM_SUBST_NOTMAKE([AM_BACKSLASH])dnl
1197     ])
1198     m4trace:/usr/share/aclocal-1.11/strip.m4:17: -1- AC_DEFUN([AM_PROG_INSTALL_STRIP], [AC_REQUIRE([AM_PROG_INSTALL_SH])dnl
1199     # Installed binaries are usually stripped using `strip' when the user
1200     # run `make install-strip'. However `strip' might not be the right
1201     # tool to use in cross-compilation environments, therefore Automake
1202     # will honor the `STRIP' environment variable to overrule this program.
1203     dnl Don't test for $cross_compiling = yes, because it might be `maybe'.
1204     if test "$cross_compiling" != no; then
1205     AC_CHECK_TOOL([STRIP], [strip], :)
1206     fi
1207     INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s"
1208     AC_SUBST([INSTALL_STRIP_PROGRAM])])
1209     m4trace:/usr/share/aclocal-1.11/substnot.m4:14: -1- AC_DEFUN([_AM_SUBST_NOTMAKE])
1210     m4trace:/usr/share/aclocal-1.11/substnot.m4:19: -1- AC_DEFUN([AM_SUBST_NOTMAKE], [_AM_SUBST_NOTMAKE($@)])
1211     m4trace:/usr/share/aclocal-1.11/tar.m4:24: -1- AC_DEFUN([_AM_PROG_TAR], [# Always define AMTAR for backward compatibility.
1212     AM_MISSING_PROG([AMTAR], [tar])
1213     m4_if([$1], [v7],
1214     [am__tar='${AMTAR} chof - "$$tardir"'; am__untar='${AMTAR} xf -'],
1215     [m4_case([$1], [ustar],, [pax],,
1216     [m4_fatal([Unknown tar format])])
1217     AC_MSG_CHECKING([how to create a $1 tar archive])
1218     # Loop over all known methods to create a tar archive until one works.
1219     _am_tools='gnutar m4_if([$1], [ustar], [plaintar]) pax cpio none'
1220     _am_tools=${am_cv_prog_tar_$1-$_am_tools}
1221     # Do not fold the above two line into one, because Tru64 sh and
1222     # Solaris sh will not grok spaces in the rhs of `-'.
1223     for _am_tool in $_am_tools
1224     do
1225     case $_am_tool in
1226     gnutar)
1227     for _am_tar in tar gnutar gtar;
1228     do
1229     AM_RUN_LOG([$_am_tar --version]) && break
1230     done
1231     am__tar="$_am_tar --format=m4_if([$1], [pax], [posix], [$1]) -chf - "'"$$tardir"'
1232     am__tar_="$_am_tar --format=m4_if([$1], [pax], [posix], [$1]) -chf - "'"$tardir"'
1233     am__untar="$_am_tar -xf -"
1234     ;;
1235     plaintar)
1236     # Must skip GNU tar: if it does not support --format= it doesn't create
1237     # ustar tarball either.
1238     (tar --version) >/dev/null 2>&1 && continue
1239     am__tar='tar chf - "$$tardir"'
1240     am__tar_='tar chf - "$tardir"'
1241     am__untar='tar xf -'
1242     ;;
1243     pax)
1244     am__tar='pax -L -x $1 -w "$$tardir"'
1245     am__tar_='pax -L -x $1 -w "$tardir"'
1246     am__untar='pax -r'
1247     ;;
1248     cpio)
1249     am__tar='find "$$tardir" -print | cpio -o -H $1 -L'
1250     am__tar_='find "$tardir" -print | cpio -o -H $1 -L'
1251     am__untar='cpio -i -H $1 -d'
1252     ;;
1253     none)
1254     am__tar=false
1255     am__tar_=false
1256     am__untar=false
1257     ;;
1258     esac
1259    
1260     # If the value was cached, stop now. We just wanted to have am__tar
1261     # and am__untar set.
1262     test -n "${am_cv_prog_tar_$1}" && break
1263    
1264     # tar/untar a dummy directory, and stop if the command works
1265     rm -rf conftest.dir
1266     mkdir conftest.dir
1267     echo GrepMe > conftest.dir/file
1268     AM_RUN_LOG([tardir=conftest.dir && eval $am__tar_ >conftest.tar])
1269     rm -rf conftest.dir
1270     if test -s conftest.tar; then
1271     AM_RUN_LOG([$am__untar <conftest.tar])
1272     grep GrepMe conftest.dir/file >/dev/null 2>&1 && break
1273     fi
1274     done
1275     rm -rf conftest.dir
1276    
1277     AC_CACHE_VAL([am_cv_prog_tar_$1], [am_cv_prog_tar_$1=$_am_tool])
1278     AC_MSG_RESULT([$am_cv_prog_tar_$1])])
1279     AC_SUBST([am__tar])
1280     AC_SUBST([am__untar])
1281     ])
1282     m4trace:m4/codeset.m4:11: -1- AC_DEFUN([AM_LANGINFO_CODESET], [
1283     AC_CACHE_CHECK([for nl_langinfo and CODESET], am_cv_langinfo_codeset,
1284     [AC_TRY_LINK([#include <langinfo.h>],
1285     [char* cs = nl_langinfo(CODESET);],
1286     am_cv_langinfo_codeset=yes,
1287     am_cv_langinfo_codeset=no)
1288     ])
1289     if test $am_cv_langinfo_codeset = yes; then
1290     AC_DEFINE(HAVE_LANGINFO_CODESET, 1,
1291     [Define if you have <langinfo.h> and nl_langinfo(CODESET).])
1292     fi
1293     ])
1294     m4trace:m4/gettext.m4:59: -1- AC_DEFUN([AM_GNU_GETTEXT], [
1295     dnl Argument checking.
1296     ifelse([$1], [], , [ifelse([$1], [external], , [ifelse([$1], [no-libtool], , [ifelse([$1], [use-libtool], ,
1297     [errprint([ERROR: invalid first argument to AM_GNU_GETTEXT
1298     ])])])])])
1299     ifelse([$2], [], , [ifelse([$2], [need-ngettext], , [ifelse([$2], [need-formatstring-macros], ,
1300     [errprint([ERROR: invalid second argument to AM_GNU_GETTEXT
1301     ])])])])
1302     define(gt_included_intl, ifelse([$1], [external], [no], [yes]))
1303     define(gt_libtool_suffix_prefix, ifelse([$1], [use-libtool], [l], []))
1304    
1305     AC_REQUIRE([AM_PO_SUBDIRS])dnl
1306     ifelse(gt_included_intl, yes, [
1307     AC_REQUIRE([AM_INTL_SUBDIR])dnl
1308     ])
1309    
1310     dnl Prerequisites of AC_LIB_LINKFLAGS_BODY.
1311     AC_REQUIRE([AC_LIB_PREPARE_PREFIX])
1312     AC_REQUIRE([AC_LIB_RPATH])
1313    
1314     dnl Sometimes libintl requires libiconv, so first search for libiconv.
1315     dnl Ideally we would do this search only after the
1316     dnl if test "$USE_NLS" = "yes"; then
1317     dnl if test "$gt_cv_func_gnugettext_libc" != "yes"; then
1318     dnl tests. But if configure.in invokes AM_ICONV after AM_GNU_GETTEXT
1319     dnl the configure script would need to contain the same shell code
1320     dnl again, outside any 'if'. There are two solutions:
1321     dnl - Invoke AM_ICONV_LINKFLAGS_BODY here, outside any 'if'.
1322     dnl - Control the expansions in more detail using AC_PROVIDE_IFELSE.
1323     dnl Since AC_PROVIDE_IFELSE is only in autoconf >= 2.52 and not
1324     dnl documented, we avoid it.
1325     ifelse(gt_included_intl, yes, , [
1326     AC_REQUIRE([AM_ICONV_LINKFLAGS_BODY])
1327     ])
1328    
1329     dnl Set USE_NLS.
1330     AM_NLS
1331    
1332     ifelse(gt_included_intl, yes, [
1333     BUILD_INCLUDED_LIBINTL=no
1334     USE_INCLUDED_LIBINTL=no
1335     ])
1336     LIBINTL=
1337     LTLIBINTL=
1338     POSUB=
1339    
1340     dnl If we use NLS figure out what method
1341     if test "$USE_NLS" = "yes"; then
1342     gt_use_preinstalled_gnugettext=no
1343     ifelse(gt_included_intl, yes, [
1344     AC_MSG_CHECKING([whether included gettext is requested])
1345     AC_ARG_WITH(included-gettext,
1346     [ --with-included-gettext use the GNU gettext library included here],
1347     nls_cv_force_use_gnu_gettext=$withval,
1348     nls_cv_force_use_gnu_gettext=no)
1349     AC_MSG_RESULT($nls_cv_force_use_gnu_gettext)
1350    
1351     nls_cv_use_gnu_gettext="$nls_cv_force_use_gnu_gettext"
1352     if test "$nls_cv_force_use_gnu_gettext" != "yes"; then
1353     ])
1354     dnl User does not insist on using GNU NLS library. Figure out what
1355     dnl to use. If GNU gettext is available we use this. Else we have
1356     dnl to fall back to GNU NLS library.
1357    
1358     dnl Add a version number to the cache macros.
1359     define([gt_api_version], ifelse([$2], [need-formatstring-macros], 3, ifelse([$2], [need-ngettext], 2, 1)))
1360     define([gt_cv_func_gnugettext_libc], [gt_cv_func_gnugettext]gt_api_version[_libc])
1361     define([gt_cv_func_gnugettext_libintl], [gt_cv_func_gnugettext]gt_api_version[_libintl])
1362    
1363     AC_CACHE_CHECK([for GNU gettext in libc], gt_cv_func_gnugettext_libc,
1364     [AC_TRY_LINK([#include <libintl.h>
1365     ]ifelse([$2], [need-formatstring-macros],
1366     [#ifndef __GNU_GETTEXT_SUPPORTED_REVISION
1367     #define __GNU_GETTEXT_SUPPORTED_REVISION(major) ((major) == 0 ? 0 : -1)
1368     #endif
1369     changequote(,)dnl
1370     typedef int array [2 * (__GNU_GETTEXT_SUPPORTED_REVISION(0) >= 1) - 1];
1371     changequote([,])dnl
1372     ], [])[extern int _nl_msg_cat_cntr;
1373     extern int *_nl_domain_bindings;],
1374     [bindtextdomain ("", "");
1375     return (int) gettext ("")]ifelse([$2], [need-ngettext], [ + (int) ngettext ("", "", 0)], [])[ + _nl_msg_cat_cntr + *_nl_domain_bindings],
1376     gt_cv_func_gnugettext_libc=yes,
1377     gt_cv_func_gnugettext_libc=no)])
1378    
1379     if test "$gt_cv_func_gnugettext_libc" != "yes"; then
1380     dnl Sometimes libintl requires libiconv, so first search for libiconv.
1381     ifelse(gt_included_intl, yes, , [
1382     AM_ICONV_LINK
1383     ])
1384     dnl Search for libintl and define LIBINTL, LTLIBINTL and INCINTL
1385     dnl accordingly. Don't use AC_LIB_LINKFLAGS_BODY([intl],[iconv])
1386     dnl because that would add "-liconv" to LIBINTL and LTLIBINTL
1387     dnl even if libiconv doesn't exist.
1388     AC_LIB_LINKFLAGS_BODY([intl])
1389     AC_CACHE_CHECK([for GNU gettext in libintl],
1390     gt_cv_func_gnugettext_libintl,
1391     [gt_save_CPPFLAGS="$CPPFLAGS"
1392     CPPFLAGS="$CPPFLAGS $INCINTL"
1393     gt_save_LIBS="$LIBS"
1394     LIBS="$LIBS $LIBINTL"
1395     dnl Now see whether libintl exists and does not depend on libiconv.
1396     AC_TRY_LINK([#include <libintl.h>
1397     ]ifelse([$2], [need-formatstring-macros],
1398     [#ifndef __GNU_GETTEXT_SUPPORTED_REVISION
1399     #define __GNU_GETTEXT_SUPPORTED_REVISION(major) ((major) == 0 ? 0 : -1)
1400     #endif
1401     changequote(,)dnl
1402     typedef int array [2 * (__GNU_GETTEXT_SUPPORTED_REVISION(0) >= 1) - 1];
1403     changequote([,])dnl
1404     ], [])[extern int _nl_msg_cat_cntr;
1405     extern
1406     #ifdef __cplusplus
1407     "C"
1408     #endif
1409     const char *_nl_expand_alias ();],
1410     [bindtextdomain ("", "");
1411     return (int) gettext ("")]ifelse([$2], [need-ngettext], [ + (int) ngettext ("", "", 0)], [])[ + _nl_msg_cat_cntr + *_nl_expand_alias (0)],
1412     gt_cv_func_gnugettext_libintl=yes,
1413     gt_cv_func_gnugettext_libintl=no)
1414     dnl Now see whether libintl exists and depends on libiconv.
1415     if test "$gt_cv_func_gnugettext_libintl" != yes && test -n "$LIBICONV"; then
1416     LIBS="$LIBS $LIBICONV"
1417     AC_TRY_LINK([#include <libintl.h>
1418     ]ifelse([$2], [need-formatstring-macros],
1419     [#ifndef __GNU_GETTEXT_SUPPORTED_REVISION
1420     #define __GNU_GETTEXT_SUPPORTED_REVISION(major) ((major) == 0 ? 0 : -1)
1421     #endif
1422     changequote(,)dnl
1423     typedef int array [2 * (__GNU_GETTEXT_SUPPORTED_REVISION(0) >= 1) - 1];
1424     changequote([,])dnl
1425     ], [])[extern int _nl_msg_cat_cntr;
1426     extern
1427     #ifdef __cplusplus
1428     "C"
1429     #endif
1430     const char *_nl_expand_alias ();],
1431     [bindtextdomain ("", "");
1432     return (int) gettext ("")]ifelse([$2], [need-ngettext], [ + (int) ngettext ("", "", 0)], [])[ + _nl_msg_cat_cntr + *_nl_expand_alias (0)],
1433     [LIBINTL="$LIBINTL $LIBICONV"
1434     LTLIBINTL="$LTLIBINTL $LTLIBICONV"
1435     gt_cv_func_gnugettext_libintl=yes
1436     ])
1437     fi
1438     CPPFLAGS="$gt_save_CPPFLAGS"
1439     LIBS="$gt_save_LIBS"])
1440     fi
1441    
1442     dnl If an already present or preinstalled GNU gettext() is found,
1443     dnl use it. But if this macro is used in GNU gettext, and GNU
1444     dnl gettext is already preinstalled in libintl, we update this
1445     dnl libintl. (Cf. the install rule in intl/Makefile.in.)
1446     if test "$gt_cv_func_gnugettext_libc" = "yes" \
1447     || { test "$gt_cv_func_gnugettext_libintl" = "yes" \
1448     && test "$PACKAGE" != gettext-runtime \
1449     && test "$PACKAGE" != gettext-tools; }; then
1450     gt_use_preinstalled_gnugettext=yes
1451     else
1452     dnl Reset the values set by searching for libintl.
1453     LIBINTL=
1454     LTLIBINTL=
1455     INCINTL=
1456     fi
1457    
1458     ifelse(gt_included_intl, yes, [
1459     if test "$gt_use_preinstalled_gnugettext" != "yes"; then
1460     dnl GNU gettext is not found in the C library.
1461     dnl Fall back on included GNU gettext library.
1462     nls_cv_use_gnu_gettext=yes
1463     fi
1464     fi
1465    
1466     if test "$nls_cv_use_gnu_gettext" = "yes"; then
1467     dnl Mark actions used to generate GNU NLS library.
1468     BUILD_INCLUDED_LIBINTL=yes
1469     USE_INCLUDED_LIBINTL=yes
1470     LIBINTL="ifelse([$3],[],\${top_builddir}/intl,[$3])/libintl.[]gt_libtool_suffix_prefix[]a $LIBICONV"
1471     LTLIBINTL="ifelse([$3],[],\${top_builddir}/intl,[$3])/libintl.[]gt_libtool_suffix_prefix[]a $LTLIBICONV"
1472     LIBS=`echo " $LIBS " | sed -e 's/ -lintl / /' -e 's/^ //' -e 's/ $//'`
1473     fi
1474    
1475     if test "$gt_use_preinstalled_gnugettext" = "yes" \
1476     || test "$nls_cv_use_gnu_gettext" = "yes"; then
1477     dnl Mark actions to use GNU gettext tools.
1478     CATOBJEXT=.gmo
1479     fi
1480     ])
1481    
1482     if test "$gt_use_preinstalled_gnugettext" = "yes" \
1483     || test "$nls_cv_use_gnu_gettext" = "yes"; then
1484     AC_DEFINE(ENABLE_NLS, 1,
1485     [Define to 1 if translation of program messages to the user's native language
1486     is requested.])
1487     else
1488     USE_NLS=no
1489     fi
1490     fi
1491    
1492     AC_MSG_CHECKING([whether to use NLS])
1493     AC_MSG_RESULT([$USE_NLS])
1494     if test "$USE_NLS" = "yes"; then
1495     AC_MSG_CHECKING([where the gettext function comes from])
1496     if test "$gt_use_preinstalled_gnugettext" = "yes"; then
1497     if test "$gt_cv_func_gnugettext_libintl" = "yes"; then
1498     gt_source="external libintl"
1499     else
1500     gt_source="libc"
1501     fi
1502     else
1503     gt_source="included intl directory"
1504     fi
1505     AC_MSG_RESULT([$gt_source])
1506     fi
1507    
1508     if test "$USE_NLS" = "yes"; then
1509    
1510     if test "$gt_use_preinstalled_gnugettext" = "yes"; then
1511     if test "$gt_cv_func_gnugettext_libintl" = "yes"; then
1512     AC_MSG_CHECKING([how to link with libintl])
1513     AC_MSG_RESULT([$LIBINTL])
1514     AC_LIB_APPENDTOVAR([CPPFLAGS], [$INCINTL])
1515     fi
1516    
1517     dnl For backward compatibility. Some packages may be using this.
1518     AC_DEFINE(HAVE_GETTEXT, 1,
1519     [Define if the GNU gettext() function is already present or preinstalled.])
1520     AC_DEFINE(HAVE_DCGETTEXT, 1,
1521     [Define if the GNU dcgettext() function is already present or preinstalled.])
1522     fi
1523    
1524     dnl We need to process the po/ directory.
1525     POSUB=po
1526     fi
1527    
1528     ifelse(gt_included_intl, yes, [
1529     dnl If this is used in GNU gettext we have to set BUILD_INCLUDED_LIBINTL
1530     dnl to 'yes' because some of the testsuite requires it.
1531     if test "$PACKAGE" = gettext-runtime || test "$PACKAGE" = gettext-tools; then
1532     BUILD_INCLUDED_LIBINTL=yes
1533     fi
1534    
1535     dnl Make all variables we use known to autoconf.
1536     AC_SUBST(BUILD_INCLUDED_LIBINTL)
1537     AC_SUBST(USE_INCLUDED_LIBINTL)
1538     AC_SUBST(CATOBJEXT)
1539    
1540     dnl For backward compatibility. Some configure.ins may be using this.
1541     nls_cv_header_intl=
1542     nls_cv_header_libgt=
1543    
1544     dnl For backward compatibility. Some Makefiles may be using this.
1545     DATADIRNAME=share
1546     AC_SUBST(DATADIRNAME)
1547    
1548     dnl For backward compatibility. Some Makefiles may be using this.
1549     INSTOBJEXT=.mo
1550     AC_SUBST(INSTOBJEXT)
1551    
1552     dnl For backward compatibility. Some Makefiles may be using this.
1553     GENCAT=gencat
1554     AC_SUBST(GENCAT)
1555    
1556     dnl For backward compatibility. Some Makefiles may be using this.
1557     if test "$USE_INCLUDED_LIBINTL" = yes; then
1558     INTLOBJS="\$(GETTOBJS)"
1559     fi
1560     AC_SUBST(INTLOBJS)
1561    
1562     dnl Enable libtool support if the surrounding package wishes it.
1563     INTL_LIBTOOL_SUFFIX_PREFIX=gt_libtool_suffix_prefix
1564     AC_SUBST(INTL_LIBTOOL_SUFFIX_PREFIX)
1565     ])
1566    
1567     dnl For backward compatibility. Some Makefiles may be using this.
1568     INTLLIBS="$LIBINTL"
1569     AC_SUBST(INTLLIBS)
1570    
1571     dnl Make all documented variables known to autoconf.
1572     AC_SUBST(LIBINTL)
1573     AC_SUBST(LTLIBINTL)
1574     AC_SUBST(POSUB)
1575     ])
1576     m4trace:m4/gettext.m4:347: -1- AC_DEFUN([AM_INTL_SUBDIR], [
1577     AC_REQUIRE([AC_PROG_INSTALL])dnl
1578     AC_REQUIRE([AM_MKINSTALLDIRS])dnl
1579     AC_REQUIRE([AC_PROG_CC])dnl
1580     AC_REQUIRE([AC_CANONICAL_HOST])dnl
1581     AC_REQUIRE([AC_PROG_RANLIB])dnl
1582     AC_REQUIRE([AC_ISC_POSIX])dnl
1583     AC_REQUIRE([AC_HEADER_STDC])dnl
1584     AC_REQUIRE([AC_C_CONST])dnl
1585     AC_REQUIRE([bh_C_SIGNED])dnl
1586     AC_REQUIRE([AC_C_INLINE])dnl
1587     AC_REQUIRE([AC_TYPE_OFF_T])dnl
1588     AC_REQUIRE([AC_TYPE_SIZE_T])dnl
1589     AC_REQUIRE([jm_AC_TYPE_LONG_LONG])dnl
1590     AC_REQUIRE([gt_TYPE_LONGDOUBLE])dnl
1591     AC_REQUIRE([gt_TYPE_WCHAR_T])dnl
1592     AC_REQUIRE([gt_TYPE_WINT_T])dnl
1593     AC_REQUIRE([jm_AC_HEADER_INTTYPES_H])
1594     AC_REQUIRE([jm_AC_HEADER_STDINT_H])
1595     AC_REQUIRE([gt_TYPE_INTMAX_T])
1596     AC_REQUIRE([gt_PRINTF_POSIX])
1597     AC_REQUIRE([AC_FUNC_ALLOCA])dnl
1598     AC_REQUIRE([AC_FUNC_MMAP])dnl
1599     AC_REQUIRE([jm_GLIBC21])dnl
1600     AC_REQUIRE([gt_INTDIV0])dnl
1601     AC_REQUIRE([jm_AC_TYPE_UINTMAX_T])dnl
1602     AC_REQUIRE([gt_HEADER_INTTYPES_H])dnl
1603     AC_REQUIRE([gt_INTTYPES_PRI])dnl
1604     AC_REQUIRE([gl_XSIZE])dnl
1605    
1606     AC_CHECK_TYPE([ptrdiff_t], ,
1607     [AC_DEFINE([ptrdiff_t], [long],
1608     [Define as the type of the result of subtracting two pointers, if the system doesn't define it.])
1609     ])
1610     AC_CHECK_HEADERS([argz.h limits.h locale.h nl_types.h malloc.h stddef.h \
1611     stdlib.h string.h unistd.h sys/param.h])
1612     AC_CHECK_FUNCS([asprintf fwprintf getcwd getegid geteuid getgid getuid \
1613     mempcpy munmap putenv setenv setlocale snprintf stpcpy strcasecmp strdup \
1614     strtoul tsearch wcslen __argz_count __argz_stringify __argz_next \
1615     __fsetlocking])
1616    
1617     dnl Use the _snprintf function only if it is declared (because on NetBSD it
1618     dnl is defined as a weak alias of snprintf; we prefer to use the latter).
1619     gt_CHECK_DECL(_snprintf, [#include <stdio.h>])
1620     gt_CHECK_DECL(_snwprintf, [#include <stdio.h>])
1621    
1622     dnl Use the *_unlocked functions only if they are declared.
1623     dnl (because some of them were defined without being declared in Solaris
1624     dnl 2.5.1 but were removed in Solaris 2.6, whereas we want binaries built
1625     dnl on Solaris 2.5.1 to run on Solaris 2.6).
1626     dnl Don't use AC_CHECK_DECLS because it isn't supported in autoconf-2.13.
1627     gt_CHECK_DECL(feof_unlocked, [#include <stdio.h>])
1628     gt_CHECK_DECL(fgets_unlocked, [#include <stdio.h>])
1629     gt_CHECK_DECL(getc_unlocked, [#include <stdio.h>])
1630    
1631     case $gt_cv_func_printf_posix in
1632     *yes) HAVE_POSIX_PRINTF=1 ;;
1633     *) HAVE_POSIX_PRINTF=0 ;;
1634     esac
1635     AC_SUBST([HAVE_POSIX_PRINTF])
1636     if test "$ac_cv_func_asprintf" = yes; then
1637     HAVE_ASPRINTF=1
1638     else
1639     HAVE_ASPRINTF=0
1640     fi
1641     AC_SUBST([HAVE_ASPRINTF])
1642     if test "$ac_cv_func_snprintf" = yes; then
1643     HAVE_SNPRINTF=1
1644     else
1645     HAVE_SNPRINTF=0
1646     fi
1647     AC_SUBST([HAVE_SNPRINTF])
1648     if test "$ac_cv_func_wprintf" = yes; then
1649     HAVE_WPRINTF=1
1650     else
1651     HAVE_WPRINTF=0
1652     fi
1653     AC_SUBST([HAVE_WPRINTF])
1654    
1655     AM_ICONV
1656     AM_LANGINFO_CODESET
1657     if test $ac_cv_header_locale_h = yes; then
1658     AM_LC_MESSAGES
1659     fi
1660    
1661     dnl intl/plural.c is generated from intl/plural.y. It requires bison,
1662     dnl because plural.y uses bison specific features. It requires at least
1663     dnl bison-1.26 because earlier versions generate a plural.c that doesn't
1664     dnl compile.
1665     dnl bison is only needed for the maintainer (who touches plural.y). But in
1666     dnl order to avoid separate Makefiles or --enable-maintainer-mode, we put
1667     dnl the rule in general Makefile. Now, some people carelessly touch the
1668     dnl files or have a broken "make" program, hence the plural.c rule will
1669     dnl sometimes fire. To avoid an error, defines BISON to ":" if it is not
1670     dnl present or too old.
1671     AC_CHECK_PROGS([INTLBISON], [bison])
1672     if test -z "$INTLBISON"; then
1673     ac_verc_fail=yes
1674     else
1675     dnl Found it, now check the version.
1676     AC_MSG_CHECKING([version of bison])
1677     changequote(<<,>>)dnl
1678     ac_prog_version=`$INTLBISON --version 2>&1 | sed -n 's/^.*GNU Bison.* \([0-9]*\.[0-9.]*\).*$/\1/p'`
1679     case $ac_prog_version in
1680     '') ac_prog_version="v. ?.??, bad"; ac_verc_fail=yes;;
1681     1.2[6-9]* | 1.[3-9][0-9]* | [2-9].*)
1682     changequote([,])dnl
1683     ac_prog_version="$ac_prog_version, ok"; ac_verc_fail=no;;
1684     *) ac_prog_version="$ac_prog_version, bad"; ac_verc_fail=yes;;
1685     esac
1686     AC_MSG_RESULT([$ac_prog_version])
1687     fi
1688     if test $ac_verc_fail = yes; then
1689     INTLBISON=:
1690     fi
1691     ])
1692     m4trace:m4/gettext.m4:468: -1- AC_DEFUN([gt_CHECK_DECL], [
1693     AC_CACHE_CHECK([whether $1 is declared], ac_cv_have_decl_$1,
1694     [AC_TRY_COMPILE([$2], [
1695     #ifndef $1
1696     char *p = (char *) $1;
1697     #endif
1698     ], ac_cv_have_decl_$1=yes, ac_cv_have_decl_$1=no)])
1699     if test $ac_cv_have_decl_$1 = yes; then
1700     gt_value=1
1701     else
1702     gt_value=0
1703     fi
1704     AC_DEFINE_UNQUOTED([HAVE_DECL_]translit($1, [a-z], [A-Z]), [$gt_value],
1705     [Define to 1 if you have the declaration of `$1', and to 0 if you don't.])
1706     ])
1707     m4trace:m4/gettext.m4:487: -1- AC_DEFUN([AM_GNU_GETTEXT_VERSION], [])
1708     m4trace:m4/glibc21.m4:12: -1- AC_DEFUN([jm_GLIBC21], [
1709     AC_CACHE_CHECK(whether we are using the GNU C Library 2.1 or newer,
1710     ac_cv_gnu_library_2_1,
1711     [AC_EGREP_CPP([Lucky GNU user],
1712     [
1713     #include <features.h>
1714     #ifdef __GNU_LIBRARY__
1715     #if (__GLIBC__ == 2 && __GLIBC_MINOR__ >= 1) || (__GLIBC__ > 2)
1716     Lucky GNU user
1717     #endif
1718     #endif
1719     ],
1720     ac_cv_gnu_library_2_1=yes,
1721     ac_cv_gnu_library_2_1=no)
1722     ]
1723     )
1724     AC_SUBST(GLIBC21)
1725     GLIBC21="$ac_cv_gnu_library_2_1"
1726    
1727     ])
1728     m4trace:m4/iconv.m4:11: -1- AC_DEFUN([AM_ICONV_LINKFLAGS_BODY], [
1729     dnl Prerequisites of AC_LIB_LINKFLAGS_BODY.
1730     AC_REQUIRE([AC_LIB_PREPARE_PREFIX])
1731     AC_REQUIRE([AC_LIB_RPATH])
1732    
1733     dnl Search for libiconv and define LIBICONV, LTLIBICONV and INCICONV
1734     dnl accordingly.
1735     AC_LIB_LINKFLAGS_BODY([iconv])
1736     ])
1737     m4trace:m4/iconv.m4:22: -1- AC_DEFUN([AM_ICONV_LINK], [
1738     dnl Some systems have iconv in libc, some have it in libiconv (OSF/1 and
1739     dnl those with the standalone portable GNU libiconv installed).
1740    
1741     dnl Search for libiconv and define LIBICONV, LTLIBICONV and INCICONV
1742     dnl accordingly.
1743     AC_REQUIRE([AM_ICONV_LINKFLAGS_BODY])
1744    
1745     dnl Add $INCICONV to CPPFLAGS before performing the following checks,
1746     dnl because if the user has installed libiconv and not disabled its use
1747     dnl via --without-libiconv-prefix, he wants to use it. The first
1748     dnl AC_TRY_LINK will then fail, the second AC_TRY_LINK will succeed.
1749     am_save_CPPFLAGS="$CPPFLAGS"
1750     AC_LIB_APPENDTOVAR([CPPFLAGS], [$INCICONV])
1751    
1752     AC_CACHE_CHECK(for iconv, am_cv_func_iconv, [
1753     am_cv_func_iconv="no, consider installing GNU libiconv"
1754     am_cv_lib_iconv=no
1755     AC_TRY_LINK([#include <stdlib.h>
1756     #include <iconv.h>],
1757     [iconv_t cd = iconv_open("","");
1758     iconv(cd,NULL,NULL,NULL,NULL);
1759     iconv_close(cd);],
1760     am_cv_func_iconv=yes)
1761     if test "$am_cv_func_iconv" != yes; then
1762     am_save_LIBS="$LIBS"
1763     LIBS="$LIBS $LIBICONV"
1764     AC_TRY_LINK([#include <stdlib.h>
1765     #include <iconv.h>],
1766     [iconv_t cd = iconv_open("","");
1767     iconv(cd,NULL,NULL,NULL,NULL);
1768     iconv_close(cd);],
1769     am_cv_lib_iconv=yes
1770     am_cv_func_iconv=yes)
1771     LIBS="$am_save_LIBS"
1772     fi
1773     ])
1774     if test "$am_cv_func_iconv" = yes; then
1775     AC_DEFINE(HAVE_ICONV, 1, [Define if you have the iconv() function.])
1776     fi
1777     if test "$am_cv_lib_iconv" = yes; then
1778     AC_MSG_CHECKING([how to link with libiconv])
1779     AC_MSG_RESULT([$LIBICONV])
1780     else
1781     dnl If $LIBICONV didn't lead to a usable library, we don't need $INCICONV
1782     dnl either.
1783     CPPFLAGS="$am_save_CPPFLAGS"
1784     LIBICONV=
1785     LTLIBICONV=
1786     fi
1787     AC_SUBST(LIBICONV)
1788     AC_SUBST(LTLIBICONV)
1789     ])
1790     m4trace:m4/iconv.m4:77: -1- AC_DEFUN([AM_ICONV], [
1791     AM_ICONV_LINK
1792     if test "$am_cv_func_iconv" = yes; then
1793     AC_MSG_CHECKING([for iconv declaration])
1794     AC_CACHE_VAL(am_cv_proto_iconv, [
1795     AC_TRY_COMPILE([
1796     #include <stdlib.h>
1797     #include <iconv.h>
1798     extern
1799     #ifdef __cplusplus
1800     "C"
1801     #endif
1802     #if defined(__STDC__) || defined(__cplusplus)
1803     size_t iconv (iconv_t cd, char * *inbuf, size_t *inbytesleft, char * *outbuf, size_t *outbytesleft);
1804     #else
1805     size_t iconv();
1806     #endif
1807     ], [], am_cv_proto_iconv_arg1="", am_cv_proto_iconv_arg1="const")
1808     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);"])
1809     am_cv_proto_iconv=`echo "[$]am_cv_proto_iconv" | tr -s ' ' | sed -e 's/( /(/'`
1810     AC_MSG_RESULT([$]{ac_t:-
1811     }[$]am_cv_proto_iconv)
1812     AC_DEFINE_UNQUOTED(ICONV_CONST, $am_cv_proto_iconv_arg1,
1813     [Define as const if the declaration of iconv() needs const.])
1814     fi
1815     ])
1816     m4trace:m4/intdiv0.m4:11: -1- AC_DEFUN([gt_INTDIV0], [
1817     AC_REQUIRE([AC_PROG_CC])dnl
1818     AC_REQUIRE([AC_CANONICAL_HOST])dnl
1819    
1820     AC_CACHE_CHECK([whether integer division by zero raises SIGFPE],
1821     gt_cv_int_divbyzero_sigfpe,
1822     [
1823     AC_TRY_RUN([
1824     #include <stdlib.h>
1825     #include <signal.h>
1826    
1827     static void
1828     #ifdef __cplusplus
1829     sigfpe_handler (int sig)
1830     #else
1831     sigfpe_handler (sig) int sig;
1832     #endif
1833     {
1834     /* Exit with code 0 if SIGFPE, with code 1 if any other signal. */
1835     exit (sig != SIGFPE);
1836     }
1837    
1838     int x = 1;
1839     int y = 0;
1840     int z;
1841     int nan;
1842    
1843     int main ()
1844     {
1845     signal (SIGFPE, sigfpe_handler);
1846     /* IRIX and AIX (when "xlc -qcheck" is used) yield signal SIGTRAP. */
1847     #if (defined (__sgi) || defined (_AIX)) && defined (SIGTRAP)
1848     signal (SIGTRAP, sigfpe_handler);
1849     #endif
1850     /* Linux/SPARC yields signal SIGILL. */
1851     #if defined (__sparc__) && defined (__linux__)
1852     signal (SIGILL, sigfpe_handler);
1853     #endif
1854    
1855     z = x / y;
1856     nan = y / y;
1857     exit (1);
1858     }
1859     ], gt_cv_int_divbyzero_sigfpe=yes, gt_cv_int_divbyzero_sigfpe=no,
1860     [
1861     # Guess based on the CPU.
1862     case "$host_cpu" in
1863     alpha* | i[34567]86 | m68k | s390*)
1864     gt_cv_int_divbyzero_sigfpe="guessing yes";;
1865     *)
1866     gt_cv_int_divbyzero_sigfpe="guessing no";;
1867     esac
1868     ])
1869     ])
1870     case "$gt_cv_int_divbyzero_sigfpe" in
1871     *yes) value=1;;
1872     *) value=0;;
1873     esac
1874     AC_DEFINE_UNQUOTED(INTDIV0_RAISES_SIGFPE, $value,
1875     [Define if integer division by zero raises signal SIGFPE.])
1876     ])
1877     m4trace:m4/intmax.m4:13: -1- AC_DEFUN([gt_TYPE_INTMAX_T], [
1878     AC_REQUIRE([jm_AC_HEADER_INTTYPES_H])
1879     AC_REQUIRE([jm_AC_HEADER_STDINT_H])
1880     AC_CACHE_CHECK(for intmax_t, gt_cv_c_intmax_t,
1881     [AC_TRY_COMPILE([
1882     #include <stddef.h>
1883     #include <stdlib.h>
1884     #if HAVE_STDINT_H_WITH_UINTMAX
1885     #include <stdint.h>
1886     #endif
1887     #if HAVE_INTTYPES_H_WITH_UINTMAX
1888     #include <inttypes.h>
1889     #endif
1890     ], [intmax_t x = -1;], gt_cv_c_intmax_t=yes, gt_cv_c_intmax_t=no)])
1891     if test $gt_cv_c_intmax_t = yes; then
1892     AC_DEFINE(HAVE_INTMAX_T, 1,
1893     [Define if you have the 'intmax_t' type in <stdint.h> or <inttypes.h>.])
1894     fi
1895     ])
1896     m4trace:m4/inttypes-pri.m4:14: -1- AC_DEFUN([gt_INTTYPES_PRI], [
1897     AC_REQUIRE([gt_HEADER_INTTYPES_H])
1898     if test $gt_cv_header_inttypes_h = yes; then
1899     AC_CACHE_CHECK([whether the inttypes.h PRIxNN macros are broken],
1900     gt_cv_inttypes_pri_broken,
1901     [
1902     AC_TRY_COMPILE([#include <inttypes.h>
1903     #ifdef PRId32
1904     char *p = PRId32;
1905     #endif
1906     ], [], gt_cv_inttypes_pri_broken=no, gt_cv_inttypes_pri_broken=yes)
1907     ])
1908     fi
1909     if test "$gt_cv_inttypes_pri_broken" = yes; then
1910     AC_DEFINE_UNQUOTED(PRI_MACROS_BROKEN, 1,
1911     [Define if <inttypes.h> exists and defines unusable PRI* macros.])
1912     fi
1913     ])
1914     m4trace:m4/inttypes.m4:14: -1- AC_DEFUN([gt_HEADER_INTTYPES_H], [
1915     AC_CACHE_CHECK([for inttypes.h], gt_cv_header_inttypes_h,
1916     [
1917     AC_TRY_COMPILE(
1918     [#include <sys/types.h>
1919     #include <inttypes.h>],
1920     [], gt_cv_header_inttypes_h=yes, gt_cv_header_inttypes_h=no)
1921     ])
1922     if test $gt_cv_header_inttypes_h = yes; then
1923     AC_DEFINE_UNQUOTED(HAVE_INTTYPES_H, 1,
1924     [Define if <inttypes.h> exists and doesn't clash with <sys/types.h>.])
1925     fi
1926     ])
1927     m4trace:m4/inttypes_h.m4:14: -1- AC_DEFUN([jm_AC_HEADER_INTTYPES_H], [
1928     AC_CACHE_CHECK([for inttypes.h], jm_ac_cv_header_inttypes_h,
1929     [AC_TRY_COMPILE(
1930     [#include <sys/types.h>
1931     #include <inttypes.h>],
1932     [uintmax_t i = (uintmax_t) -1;],
1933     jm_ac_cv_header_inttypes_h=yes,
1934     jm_ac_cv_header_inttypes_h=no)])
1935     if test $jm_ac_cv_header_inttypes_h = yes; then
1936     AC_DEFINE_UNQUOTED(HAVE_INTTYPES_H_WITH_UINTMAX, 1,
1937     [Define if <inttypes.h> exists, doesn't clash with <sys/types.h>,
1938     and declares uintmax_t. ])
1939     fi
1940     ])
1941     m4trace:m4/isc-posix.m4:21: -1- AC_DEFUN([AC_ISC_POSIX], [
1942     dnl This test replaces the obsolescent AC_ISC_POSIX kludge.
1943     AC_CHECK_LIB(cposix, strerror, [LIBS="$LIBS -lcposix"])
1944    
1945     ])
1946     m4trace:m4/lcmessage.m4:23: -1- AC_DEFUN([AM_LC_MESSAGES], [
1947     AC_CACHE_CHECK([for LC_MESSAGES], am_cv_val_LC_MESSAGES,
1948     [AC_TRY_LINK([#include <locale.h>], [return LC_MESSAGES],
1949     am_cv_val_LC_MESSAGES=yes, am_cv_val_LC_MESSAGES=no)])
1950     if test $am_cv_val_LC_MESSAGES = yes; then
1951     AC_DEFINE(HAVE_LC_MESSAGES, 1,
1952     [Define if your <locale.h> file defines LC_MESSAGES.])
1953     fi
1954     ])
1955     m4trace: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,
1956     [# I'd rather use --version here, but apparently some GNU ld's only accept -v.
1957     case `$LD -v 2>&1 </dev/null` in
1958     *GNU* | *'with BFD'*)
1959     acl_cv_prog_gnu_ld=yes ;;
1960     *)
1961     acl_cv_prog_gnu_ld=no ;;
1962     esac])
1963     with_gnu_ld=$acl_cv_prog_gnu_ld
1964     ])
1965     m4trace:m4/lib-ld.m4:27: -1- AC_DEFUN([AC_LIB_PROG_LD], [AC_ARG_WITH(gnu-ld,
1966     [ --with-gnu-ld assume the C compiler uses GNU ld [default=no]],
1967     test "$withval" = no || with_gnu_ld=yes, with_gnu_ld=no)
1968     AC_REQUIRE([AC_PROG_CC])dnl
1969     AC_REQUIRE([AC_CANONICAL_HOST])dnl
1970     # Prepare PATH_SEPARATOR.
1971     # The user is always right.
1972     if test "${PATH_SEPARATOR+set}" != set; then
1973     echo "#! /bin/sh" >conf$$.sh
1974     echo "exit 0" >>conf$$.sh
1975     chmod +x conf$$.sh
1976     if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
1977     PATH_SEPARATOR=';'
1978     else
1979     PATH_SEPARATOR=:
1980     fi
1981     rm -f conf$$.sh
1982     fi
1983     ac_prog=ld
1984     if test "$GCC" = yes; then
1985     # Check if gcc -print-prog-name=ld gives a path.
1986     AC_MSG_CHECKING([for ld used by GCC])
1987     case $host in
1988     *-*-mingw*)
1989     # gcc leaves a trailing carriage return which upsets mingw
1990     ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
1991     *)
1992     ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
1993     esac
1994     case $ac_prog in
1995     # Accept absolute paths.
1996     [[\\/]* | [A-Za-z]:[\\/]*)]
1997     [re_direlt='/[^/][^/]*/\.\./']
1998     # Canonicalize the path of ld
1999     ac_prog=`echo $ac_prog| sed 's%\\\\%/%g'`
2000     while echo $ac_prog | grep "$re_direlt" > /dev/null 2>&1; do
2001     ac_prog=`echo $ac_prog| sed "s%$re_direlt%/%"`
2002     done
2003     test -z "$LD" && LD="$ac_prog"
2004     ;;
2005     "")
2006     # If it fails, then pretend we aren't using GCC.
2007     ac_prog=ld
2008     ;;
2009     *)
2010     # If it is relative, then search for the first ld in PATH.
2011     with_gnu_ld=unknown
2012     ;;
2013     esac
2014     elif test "$with_gnu_ld" = yes; then
2015     AC_MSG_CHECKING([for GNU ld])
2016     else
2017     AC_MSG_CHECKING([for non-GNU ld])
2018     fi
2019     AC_CACHE_VAL(acl_cv_path_LD,
2020     [if test -z "$LD"; then
2021     IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}${PATH_SEPARATOR-:}"
2022     for ac_dir in $PATH; do
2023     test -z "$ac_dir" && ac_dir=.
2024     if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
2025     acl_cv_path_LD="$ac_dir/$ac_prog"
2026     # Check to see if the program is GNU ld. I'd rather use --version,
2027     # but apparently some GNU ld's only accept -v.
2028     # Break only if it was the GNU/non-GNU ld that we prefer.
2029     case `"$acl_cv_path_LD" -v 2>&1 < /dev/null` in
2030     *GNU* | *'with BFD'*)
2031     test "$with_gnu_ld" != no && break ;;
2032     *)
2033     test "$with_gnu_ld" != yes && break ;;
2034     esac
2035     fi
2036     done
2037     IFS="$ac_save_ifs"
2038     else
2039     acl_cv_path_LD="$LD" # Let the user override the test with a path.
2040     fi])
2041     LD="$acl_cv_path_LD"
2042     if test -n "$LD"; then
2043     AC_MSG_RESULT($LD)
2044     else
2045     AC_MSG_RESULT(no)
2046     fi
2047     test -z "$LD" && AC_MSG_ERROR([no acceptable ld found in \$PATH])
2048     AC_LIB_PROG_LD_GNU
2049     ])
2050     m4trace:m4/lib-link.m4:15: -1- AC_DEFUN([AC_LIB_LINKFLAGS], [
2051     AC_REQUIRE([AC_LIB_PREPARE_PREFIX])
2052     AC_REQUIRE([AC_LIB_RPATH])
2053     define([Name],[translit([$1],[./-], [___])])
2054     define([NAME],[translit([$1],[abcdefghijklmnopqrstuvwxyz./-],
2055     [ABCDEFGHIJKLMNOPQRSTUVWXYZ___])])
2056     AC_CACHE_CHECK([how to link with lib[]$1], [ac_cv_lib[]Name[]_libs], [
2057     AC_LIB_LINKFLAGS_BODY([$1], [$2])
2058     ac_cv_lib[]Name[]_libs="$LIB[]NAME"
2059     ac_cv_lib[]Name[]_ltlibs="$LTLIB[]NAME"
2060     ac_cv_lib[]Name[]_cppflags="$INC[]NAME"
2061     ])
2062     LIB[]NAME="$ac_cv_lib[]Name[]_libs"
2063     LTLIB[]NAME="$ac_cv_lib[]Name[]_ltlibs"
2064     INC[]NAME="$ac_cv_lib[]Name[]_cppflags"
2065     AC_LIB_APPENDTOVAR([CPPFLAGS], [$INC]NAME)
2066     AC_SUBST([LIB]NAME)
2067     AC_SUBST([LTLIB]NAME)
2068     dnl Also set HAVE_LIB[]NAME so that AC_LIB_HAVE_LINKFLAGS can reuse the
2069     dnl results of this search when this library appears as a dependency.
2070     HAVE_LIB[]NAME=yes
2071     undefine([Name])
2072     undefine([NAME])
2073     ])
2074     m4trace:m4/lib-link.m4:49: -1- AC_DEFUN([AC_LIB_HAVE_LINKFLAGS], [
2075     AC_REQUIRE([AC_LIB_PREPARE_PREFIX])
2076     AC_REQUIRE([AC_LIB_RPATH])
2077     define([Name],[translit([$1],[./-], [___])])
2078     define([NAME],[translit([$1],[abcdefghijklmnopqrstuvwxyz./-],
2079     [ABCDEFGHIJKLMNOPQRSTUVWXYZ___])])
2080    
2081     dnl Search for lib[]Name and define LIB[]NAME, LTLIB[]NAME and INC[]NAME
2082     dnl accordingly.
2083     AC_LIB_LINKFLAGS_BODY([$1], [$2])
2084    
2085     dnl Add $INC[]NAME to CPPFLAGS before performing the following checks,
2086     dnl because if the user has installed lib[]Name and not disabled its use
2087     dnl via --without-lib[]Name-prefix, he wants to use it.
2088     ac_save_CPPFLAGS="$CPPFLAGS"
2089     AC_LIB_APPENDTOVAR([CPPFLAGS], [$INC]NAME)
2090    
2091     AC_CACHE_CHECK([for lib[]$1], [ac_cv_lib[]Name], [
2092     ac_save_LIBS="$LIBS"
2093     LIBS="$LIBS $LIB[]NAME"
2094     AC_TRY_LINK([$3], [$4], [ac_cv_lib[]Name=yes], [ac_cv_lib[]Name=no])
2095     LIBS="$ac_save_LIBS"
2096     ])
2097     if test "$ac_cv_lib[]Name" = yes; then
2098     HAVE_LIB[]NAME=yes
2099     AC_DEFINE([HAVE_LIB]NAME, 1, [Define if you have the $1 library.])
2100     AC_MSG_CHECKING([how to link with lib[]$1])
2101     AC_MSG_RESULT([$LIB[]NAME])
2102     else
2103     HAVE_LIB[]NAME=no
2104     dnl If $LIB[]NAME didn't lead to a usable library, we don't need
2105     dnl $INC[]NAME either.
2106     CPPFLAGS="$ac_save_CPPFLAGS"
2107     LIB[]NAME=
2108     LTLIB[]NAME=
2109     fi
2110     AC_SUBST([HAVE_LIB]NAME)
2111     AC_SUBST([LIB]NAME)
2112     AC_SUBST([LTLIB]NAME)
2113     undefine([Name])
2114     undefine([NAME])
2115     ])
2116     m4trace:m4/lib-link.m4:96: -1- AC_DEFUN([AC_LIB_RPATH], [
2117     AC_REQUIRE([AC_PROG_CC]) dnl we use $CC, $GCC, $LDFLAGS
2118     AC_REQUIRE([AC_LIB_PROG_LD]) dnl we use $LD, $with_gnu_ld
2119     AC_REQUIRE([AC_CANONICAL_HOST]) dnl we use $host
2120     AC_REQUIRE([AC_CONFIG_AUX_DIR_DEFAULT]) dnl we use $ac_aux_dir
2121     AC_CACHE_CHECK([for shared library run path origin], acl_cv_rpath, [
2122     CC="$CC" GCC="$GCC" LDFLAGS="$LDFLAGS" LD="$LD" with_gnu_ld="$with_gnu_ld" \
2123     ${CONFIG_SHELL-/bin/sh} "$ac_aux_dir/config.rpath" "$host" > conftest.sh
2124     . ./conftest.sh
2125     rm -f ./conftest.sh
2126     acl_cv_rpath=done
2127     ])
2128     wl="$acl_cv_wl"
2129     libext="$acl_cv_libext"
2130     shlibext="$acl_cv_shlibext"
2131     hardcode_libdir_flag_spec="$acl_cv_hardcode_libdir_flag_spec"
2132     hardcode_libdir_separator="$acl_cv_hardcode_libdir_separator"
2133     hardcode_direct="$acl_cv_hardcode_direct"
2134     hardcode_minus_L="$acl_cv_hardcode_minus_L"
2135     dnl Determine whether the user wants rpath handling at all.
2136     AC_ARG_ENABLE(rpath,
2137     [ --disable-rpath do not hardcode runtime library paths],
2138     :, enable_rpath=yes)
2139     ])
2140     m4trace:m4/lib-link.m4:125: -1- AC_DEFUN([AC_LIB_LINKFLAGS_BODY], [
2141     define([NAME],[translit([$1],[abcdefghijklmnopqrstuvwxyz./-],
2142     [ABCDEFGHIJKLMNOPQRSTUVWXYZ___])])
2143     dnl By default, look in $includedir and $libdir.
2144     use_additional=yes
2145     AC_LIB_WITH_FINAL_PREFIX([
2146     eval additional_includedir=\"$includedir\"
2147     eval additional_libdir=\"$libdir\"
2148     ])
2149     AC_LIB_ARG_WITH([lib$1-prefix],
2150     [ --with-lib$1-prefix[=DIR] search for lib$1 in DIR/include and DIR/lib
2151     --without-lib$1-prefix don't search for lib$1 in includedir and libdir],
2152     [
2153     if test "X$withval" = "Xno"; then
2154     use_additional=no
2155     else
2156     if test "X$withval" = "X"; then
2157     AC_LIB_WITH_FINAL_PREFIX([
2158     eval additional_includedir=\"$includedir\"
2159     eval additional_libdir=\"$libdir\"
2160     ])
2161     else
2162     additional_includedir="$withval/include"
2163     additional_libdir="$withval/lib"
2164     fi
2165     fi
2166     ])
2167     dnl Search the library and its dependencies in $additional_libdir and
2168     dnl $LDFLAGS. Using breadth-first-seach.
2169     LIB[]NAME=
2170     LTLIB[]NAME=
2171     INC[]NAME=
2172     rpathdirs=
2173     ltrpathdirs=
2174     names_already_handled=
2175     names_next_round='$1 $2'
2176     while test -n "$names_next_round"; do
2177     names_this_round="$names_next_round"
2178     names_next_round=
2179     for name in $names_this_round; do
2180     already_handled=
2181     for n in $names_already_handled; do
2182     if test "$n" = "$name"; then
2183     already_handled=yes
2184     break
2185     fi
2186     done
2187     if test -z "$already_handled"; then
2188     names_already_handled="$names_already_handled $name"
2189     dnl See if it was already located by an earlier AC_LIB_LINKFLAGS
2190     dnl or AC_LIB_HAVE_LINKFLAGS call.
2191     uppername=`echo "$name" | sed -e 'y|abcdefghijklmnopqrstuvwxyz./-|ABCDEFGHIJKLMNOPQRSTUVWXYZ___|'`
2192     eval value=\"\$HAVE_LIB$uppername\"
2193     if test -n "$value"; then
2194     if test "$value" = yes; then
2195     eval value=\"\$LIB$uppername\"
2196     test -z "$value" || LIB[]NAME="${LIB[]NAME}${LIB[]NAME:+ }$value"
2197     eval value=\"\$LTLIB$uppername\"
2198     test -z "$value" || LTLIB[]NAME="${LTLIB[]NAME}${LTLIB[]NAME:+ }$value"
2199     else
2200     dnl An earlier call to AC_LIB_HAVE_LINKFLAGS has determined
2201     dnl that this library doesn't exist. So just drop it.
2202     :
2203     fi
2204     else
2205     dnl Search the library lib$name in $additional_libdir and $LDFLAGS
2206     dnl and the already constructed $LIBNAME/$LTLIBNAME.
2207     found_dir=
2208     found_la=
2209     found_so=
2210     found_a=
2211     if test $use_additional = yes; then
2212     if test -n "$shlibext" && test -f "$additional_libdir/lib$name.$shlibext"; then
2213     found_dir="$additional_libdir"
2214     found_so="$additional_libdir/lib$name.$shlibext"
2215     if test -f "$additional_libdir/lib$name.la"; then
2216     found_la="$additional_libdir/lib$name.la"
2217     fi
2218     else
2219     if test -f "$additional_libdir/lib$name.$libext"; then
2220     found_dir="$additional_libdir"
2221     found_a="$additional_libdir/lib$name.$libext"
2222     if test -f "$additional_libdir/lib$name.la"; then
2223     found_la="$additional_libdir/lib$name.la"
2224     fi
2225     fi
2226     fi
2227     fi
2228     if test "X$found_dir" = "X"; then
2229     for x in $LDFLAGS $LTLIB[]NAME; do
2230     AC_LIB_WITH_FINAL_PREFIX([eval x=\"$x\"])
2231     case "$x" in
2232     -L*)
2233     dir=`echo "X$x" | sed -e 's/^X-L//'`
2234     if test -n "$shlibext" && test -f "$dir/lib$name.$shlibext"; then
2235     found_dir="$dir"
2236     found_so="$dir/lib$name.$shlibext"
2237     if test -f "$dir/lib$name.la"; then
2238     found_la="$dir/lib$name.la"
2239     fi
2240     else
2241     if test -f "$dir/lib$name.$libext"; then
2242     found_dir="$dir"
2243     found_a="$dir/lib$name.$libext"
2244     if test -f "$dir/lib$name.la"; then
2245     found_la="$dir/lib$name.la"
2246     fi
2247     fi
2248     fi
2249     ;;
2250     esac
2251     if test "X$found_dir" != "X"; then
2252     break
2253     fi
2254     done
2255     fi
2256     if test "X$found_dir" != "X"; then
2257     dnl Found the library.
2258     LTLIB[]NAME="${LTLIB[]NAME}${LTLIB[]NAME:+ }-L$found_dir -l$name"
2259     if test "X$found_so" != "X"; then
2260     dnl Linking with a shared library. We attempt to hardcode its
2261     dnl directory into the executable's runpath, unless it's the
2262     dnl standard /usr/lib.
2263     if test "$enable_rpath" = no || test "X$found_dir" = "X/usr/lib"; then
2264     dnl No hardcoding is needed.
2265     LIB[]NAME="${LIB[]NAME}${LIB[]NAME:+ }$found_so"
2266     else
2267     dnl Use an explicit option to hardcode DIR into the resulting
2268     dnl binary.
2269     dnl Potentially add DIR to ltrpathdirs.
2270     dnl The ltrpathdirs will be appended to $LTLIBNAME at the end.
2271     haveit=
2272     for x in $ltrpathdirs; do
2273     if test "X$x" = "X$found_dir"; then
2274     haveit=yes
2275     break
2276     fi
2277     done
2278     if test -z "$haveit"; then
2279     ltrpathdirs="$ltrpathdirs $found_dir"
2280     fi
2281     dnl The hardcoding into $LIBNAME is system dependent.
2282     if test "$hardcode_direct" = yes; then
2283     dnl Using DIR/libNAME.so during linking hardcodes DIR into the
2284     dnl resulting binary.
2285     LIB[]NAME="${LIB[]NAME}${LIB[]NAME:+ }$found_so"
2286     else
2287     if test -n "$hardcode_libdir_flag_spec" && test "$hardcode_minus_L" = no; then
2288     dnl Use an explicit option to hardcode DIR into the resulting
2289     dnl binary.
2290     LIB[]NAME="${LIB[]NAME}${LIB[]NAME:+ }$found_so"
2291     dnl Potentially add DIR to rpathdirs.
2292     dnl The rpathdirs will be appended to $LIBNAME at the end.
2293     haveit=
2294     for x in $rpathdirs; do
2295     if test "X$x" = "X$found_dir"; then
2296     haveit=yes
2297     break
2298     fi
2299     done
2300     if test -z "$haveit"; then
2301     rpathdirs="$rpathdirs $found_dir"
2302     fi
2303     else
2304     dnl Rely on "-L$found_dir".
2305     dnl But don't add it if it's already contained in the LDFLAGS
2306     dnl or the already constructed $LIBNAME
2307     haveit=
2308     for x in $LDFLAGS $LIB[]NAME; do
2309     AC_LIB_WITH_FINAL_PREFIX([eval x=\"$x\"])
2310     if test "X$x" = "X-L$found_dir"; then
2311     haveit=yes
2312     break
2313     fi
2314     done
2315     if test -z "$haveit"; then
2316     LIB[]NAME="${LIB[]NAME}${LIB[]NAME:+ }-L$found_dir"
2317     fi
2318     if test "$hardcode_minus_L" != no; then
2319     dnl FIXME: Not sure whether we should use
2320     dnl "-L$found_dir -l$name" or "-L$found_dir $found_so"
2321     dnl here.
2322     LIB[]NAME="${LIB[]NAME}${LIB[]NAME:+ }$found_so"
2323     else
2324     dnl We cannot use $hardcode_runpath_var and LD_RUN_PATH
2325     dnl here, because this doesn't fit in flags passed to the
2326     dnl compiler. So give up. No hardcoding. This affects only
2327     dnl very old systems.
2328     dnl FIXME: Not sure whether we should use
2329     dnl "-L$found_dir -l$name" or "-L$found_dir $found_so"
2330     dnl here.
2331     LIB[]NAME="${LIB[]NAME}${LIB[]NAME:+ }-l$name"
2332     fi
2333     fi
2334     fi
2335     fi
2336     else
2337     if test "X$found_a" != "X"; then
2338     dnl Linking with a static library.
2339     LIB[]NAME="${LIB[]NAME}${LIB[]NAME:+ }$found_a"
2340     else
2341     dnl We shouldn't come here, but anyway it's good to have a
2342     dnl fallback.
2343     LIB[]NAME="${LIB[]NAME}${LIB[]NAME:+ }-L$found_dir -l$name"
2344     fi
2345     fi
2346     dnl Assume the include files are nearby.
2347     additional_includedir=
2348     case "$found_dir" in
2349     */lib | */lib/)
2350     basedir=`echo "X$found_dir" | sed -e 's,^X,,' -e 's,/lib/*$,,'`
2351     additional_includedir="$basedir/include"
2352     ;;
2353     esac
2354     if test "X$additional_includedir" != "X"; then
2355     dnl Potentially add $additional_includedir to $INCNAME.
2356     dnl But don't add it
2357     dnl 1. if it's the standard /usr/include,
2358     dnl 2. if it's /usr/local/include and we are using GCC on Linux,
2359     dnl 3. if it's already present in $CPPFLAGS or the already
2360     dnl constructed $INCNAME,
2361     dnl 4. if it doesn't exist as a directory.
2362     if test "X$additional_includedir" != "X/usr/include"; then
2363     haveit=
2364     if test "X$additional_includedir" = "X/usr/local/include"; then
2365     if test -n "$GCC"; then
2366     case $host_os in
2367     linux*) haveit=yes;;
2368     esac
2369     fi
2370     fi
2371     if test -z "$haveit"; then
2372     for x in $CPPFLAGS $INC[]NAME; do
2373     AC_LIB_WITH_FINAL_PREFIX([eval x=\"$x\"])
2374     if test "X$x" = "X-I$additional_includedir"; then
2375     haveit=yes
2376     break
2377     fi
2378     done
2379     if test -z "$haveit"; then
2380     if test -d "$additional_includedir"; then
2381     dnl Really add $additional_includedir to $INCNAME.
2382     INC[]NAME="${INC[]NAME}${INC[]NAME:+ }-I$additional_includedir"
2383     fi
2384     fi
2385     fi
2386     fi
2387     fi
2388     dnl Look for dependencies.
2389     if test -n "$found_la"; then
2390     dnl Read the .la file. It defines the variables
2391     dnl dlname, library_names, old_library, dependency_libs, current,
2392     dnl age, revision, installed, dlopen, dlpreopen, libdir.
2393     save_libdir="$libdir"
2394     case "$found_la" in
2395     */* | *\\*) . "$found_la" ;;
2396     *) . "./$found_la" ;;
2397     esac
2398     libdir="$save_libdir"
2399     dnl We use only dependency_libs.
2400     for dep in $dependency_libs; do
2401     case "$dep" in
2402     -L*)
2403     additional_libdir=`echo "X$dep" | sed -e 's/^X-L//'`
2404     dnl Potentially add $additional_libdir to $LIBNAME and $LTLIBNAME.
2405     dnl But don't add it
2406     dnl 1. if it's the standard /usr/lib,
2407     dnl 2. if it's /usr/local/lib and we are using GCC on Linux,
2408     dnl 3. if it's already present in $LDFLAGS or the already
2409     dnl constructed $LIBNAME,
2410     dnl 4. if it doesn't exist as a directory.
2411     if test "X$additional_libdir" != "X/usr/lib"; then
2412     haveit=
2413     if test "X$additional_libdir" = "X/usr/local/lib"; then
2414     if test -n "$GCC"; then
2415     case $host_os in
2416     linux*) haveit=yes;;
2417     esac
2418     fi
2419     fi
2420     if test -z "$haveit"; then
2421     haveit=
2422     for x in $LDFLAGS $LIB[]NAME; do
2423     AC_LIB_WITH_FINAL_PREFIX([eval x=\"$x\"])
2424     if test "X$x" = "X-L$additional_libdir"; then
2425     haveit=yes
2426     break
2427     fi
2428     done
2429     if test -z "$haveit"; then
2430     if test -d "$additional_libdir"; then
2431     dnl Really add $additional_libdir to $LIBNAME.
2432     LIB[]NAME="${LIB[]NAME}${LIB[]NAME:+ }-L$additional_libdir"
2433     fi
2434     fi
2435     haveit=
2436     for x in $LDFLAGS $LTLIB[]NAME; do
2437     AC_LIB_WITH_FINAL_PREFIX([eval x=\"$x\"])
2438     if test "X$x" = "X-L$additional_libdir"; then
2439     haveit=yes
2440     break
2441     fi
2442     done
2443     if test -z "$haveit"; then
2444     if test -d "$additional_libdir"; then
2445     dnl Really add $additional_libdir to $LTLIBNAME.
2446     LTLIB[]NAME="${LTLIB[]NAME}${LTLIB[]NAME:+ }-L$additional_libdir"
2447     fi
2448     fi
2449     fi
2450     fi
2451     ;;
2452     -R*)
2453     dir=`echo "X$dep" | sed -e 's/^X-R//'`
2454     if test "$enable_rpath" != no; then
2455     dnl Potentially add DIR to rpathdirs.
2456     dnl The rpathdirs will be appended to $LIBNAME at the end.
2457     haveit=
2458     for x in $rpathdirs; do
2459     if test "X$x" = "X$dir"; then
2460     haveit=yes
2461     break
2462     fi
2463     done
2464     if test -z "$haveit"; then
2465     rpathdirs="$rpathdirs $dir"
2466     fi
2467     dnl Potentially add DIR to ltrpathdirs.
2468     dnl The ltrpathdirs will be appended to $LTLIBNAME at the end.
2469     haveit=
2470     for x in $ltrpathdirs; do
2471     if test "X$x" = "X$dir"; then
2472     haveit=yes
2473     break
2474     fi
2475     done
2476     if test -z "$haveit"; then
2477     ltrpathdirs="$ltrpathdirs $dir"
2478     fi
2479     fi
2480     ;;
2481     -l*)
2482     dnl Handle this in the next round.
2483     names_next_round="$names_next_round "`echo "X$dep" | sed -e 's/^X-l//'`
2484     ;;
2485     *.la)
2486     dnl Handle this in the next round. Throw away the .la's
2487     dnl directory; it is already contained in a preceding -L
2488     dnl option.
2489     names_next_round="$names_next_round "`echo "X$dep" | sed -e 's,^X.*/,,' -e 's,^lib,,' -e 's,\.la$,,'`
2490     ;;
2491     *)
2492     dnl Most likely an immediate library name.
2493     LIB[]NAME="${LIB[]NAME}${LIB[]NAME:+ }$dep"
2494     LTLIB[]NAME="${LTLIB[]NAME}${LTLIB[]NAME:+ }$dep"
2495     ;;
2496     esac
2497     done
2498     fi
2499     else
2500     dnl Didn't find the library; assume it is in the system directories
2501     dnl known to the linker and runtime loader. (All the system
2502     dnl directories known to the linker should also be known to the
2503     dnl runtime loader, otherwise the system is severely misconfigured.)
2504     LIB[]NAME="${LIB[]NAME}${LIB[]NAME:+ }-l$name"
2505     LTLIB[]NAME="${LTLIB[]NAME}${LTLIB[]NAME:+ }-l$name"
2506     fi
2507     fi
2508     fi
2509     done
2510     done
2511     if test "X$rpathdirs" != "X"; then
2512     if test -n "$hardcode_libdir_separator"; then
2513     dnl Weird platform: only the last -rpath option counts, the user must
2514     dnl pass all path elements in one option. We can arrange that for a
2515     dnl single library, but not when more than one $LIBNAMEs are used.
2516     alldirs=
2517     for found_dir in $rpathdirs; do
2518     alldirs="${alldirs}${alldirs:+$hardcode_libdir_separator}$found_dir"
2519     done
2520     dnl Note: hardcode_libdir_flag_spec uses $libdir and $wl.
2521     acl_save_libdir="$libdir"
2522     libdir="$alldirs"
2523     eval flag=\"$hardcode_libdir_flag_spec\"
2524     libdir="$acl_save_libdir"
2525     LIB[]NAME="${LIB[]NAME}${LIB[]NAME:+ }$flag"
2526     else
2527     dnl The -rpath options are cumulative.
2528     for found_dir in $rpathdirs; do
2529     acl_save_libdir="$libdir"
2530     libdir="$found_dir"
2531     eval flag=\"$hardcode_libdir_flag_spec\"
2532     libdir="$acl_save_libdir"
2533     LIB[]NAME="${LIB[]NAME}${LIB[]NAME:+ }$flag"
2534     done
2535     fi
2536     fi
2537     if test "X$ltrpathdirs" != "X"; then
2538     dnl When using libtool, the option that works for both libraries and
2539     dnl executables is -R. The -R options are cumulative.
2540     for found_dir in $ltrpathdirs; do
2541     LTLIB[]NAME="${LTLIB[]NAME}${LTLIB[]NAME:+ }-R$found_dir"
2542     done
2543     fi
2544     ])
2545     m4trace:m4/lib-link.m4:536: -1- AC_DEFUN([AC_LIB_APPENDTOVAR], [
2546     for element in [$2]; do
2547     haveit=
2548     for x in $[$1]; do
2549     AC_LIB_WITH_FINAL_PREFIX([eval x=\"$x\"])
2550     if test "X$x" = "X$element"; then
2551     haveit=yes
2552     break
2553     fi
2554     done
2555     if test -z "$haveit"; then
2556     [$1]="${[$1]}${[$1]:+ }$element"
2557     fi
2558     done
2559     ])
2560     m4trace:m4/lib-prefix.m4:14: -1- AC_DEFUN([AC_LIB_ARG_WITH], [AC_ARG_WITH([$1],[[$2]],[$3],[$4])])
2561     m4trace:m4/lib-prefix.m4:24: -1- AC_DEFUN([AC_LIB_PREFIX], [
2562     AC_BEFORE([$0], [AC_LIB_LINKFLAGS])
2563     AC_REQUIRE([AC_PROG_CC])
2564     AC_REQUIRE([AC_CANONICAL_HOST])
2565     AC_REQUIRE([AC_LIB_PREPARE_PREFIX])
2566     dnl By default, look in $includedir and $libdir.
2567     use_additional=yes
2568     AC_LIB_WITH_FINAL_PREFIX([
2569     eval additional_includedir=\"$includedir\"
2570     eval additional_libdir=\"$libdir\"
2571     ])
2572     AC_LIB_ARG_WITH([lib-prefix],
2573     [ --with-lib-prefix[=DIR] search for libraries in DIR/include and DIR/lib
2574     --without-lib-prefix don't search for libraries in includedir and libdir],
2575     [
2576     if test "X$withval" = "Xno"; then
2577     use_additional=no
2578     else
2579     if test "X$withval" = "X"; then
2580     AC_LIB_WITH_FINAL_PREFIX([
2581     eval additional_includedir=\"$includedir\"
2582     eval additional_libdir=\"$libdir\"
2583     ])
2584     else
2585     additional_includedir="$withval/include"
2586     additional_libdir="$withval/lib"
2587     fi
2588     fi
2589     ])
2590     if test $use_additional = yes; then
2591     dnl Potentially add $additional_includedir to $CPPFLAGS.
2592     dnl But don't add it
2593     dnl 1. if it's the standard /usr/include,
2594     dnl 2. if it's already present in $CPPFLAGS,
2595     dnl 3. if it's /usr/local/include and we are using GCC on Linux,
2596     dnl 4. if it doesn't exist as a directory.
2597     if test "X$additional_includedir" != "X/usr/include"; then
2598     haveit=
2599     for x in $CPPFLAGS; do
2600     AC_LIB_WITH_FINAL_PREFIX([eval x=\"$x\"])
2601     if test "X$x" = "X-I$additional_includedir"; then
2602     haveit=yes
2603     break
2604     fi
2605     done
2606     if test -z "$haveit"; then
2607     if test "X$additional_includedir" = "X/usr/local/include"; then
2608     if test -n "$GCC"; then
2609     case $host_os in
2610     linux*) haveit=yes;;
2611     esac
2612     fi
2613     fi
2614     if test -z "$haveit"; then
2615     if test -d "$additional_includedir"; then
2616     dnl Really add $additional_includedir to $CPPFLAGS.
2617     CPPFLAGS="${CPPFLAGS}${CPPFLAGS:+ }-I$additional_includedir"
2618     fi
2619     fi
2620     fi
2621     fi
2622     dnl Potentially add $additional_libdir to $LDFLAGS.
2623     dnl But don't add it
2624     dnl 1. if it's the standard /usr/lib,
2625     dnl 2. if it's already present in $LDFLAGS,
2626     dnl 3. if it's /usr/local/lib and we are using GCC on Linux,
2627     dnl 4. if it doesn't exist as a directory.
2628     if test "X$additional_libdir" != "X/usr/lib"; then
2629     haveit=
2630     for x in $LDFLAGS; do
2631     AC_LIB_WITH_FINAL_PREFIX([eval x=\"$x\"])
2632     if test "X$x" = "X-L$additional_libdir"; then
2633     haveit=yes
2634     break
2635     fi
2636     done
2637     if test -z "$haveit"; then
2638     if test "X$additional_libdir" = "X/usr/local/lib"; then
2639     if test -n "$GCC"; then
2640     case $host_os in
2641     linux*) haveit=yes;;
2642     esac
2643     fi
2644     fi
2645     if test -z "$haveit"; then
2646     if test -d "$additional_libdir"; then
2647     dnl Really add $additional_libdir to $LDFLAGS.
2648     LDFLAGS="${LDFLAGS}${LDFLAGS:+ }-L$additional_libdir"
2649     fi
2650     fi
2651     fi
2652     fi
2653     fi
2654     ])
2655     m4trace:m4/lib-prefix.m4:123: -1- AC_DEFUN([AC_LIB_PREPARE_PREFIX], [
2656     dnl Unfortunately, prefix and exec_prefix get only finally determined
2657     dnl at the end of configure.
2658     if test "X$prefix" = "XNONE"; then
2659     acl_final_prefix="$ac_default_prefix"
2660     else
2661     acl_final_prefix="$prefix"
2662     fi
2663     if test "X$exec_prefix" = "XNONE"; then
2664     acl_final_exec_prefix='${prefix}'
2665     else
2666     acl_final_exec_prefix="$exec_prefix"
2667     fi
2668     acl_save_prefix="$prefix"
2669     prefix="$acl_final_prefix"
2670     eval acl_final_exec_prefix=\"$acl_final_exec_prefix\"
2671     prefix="$acl_save_prefix"
2672     ])
2673     m4trace:m4/lib-prefix.m4:146: -1- AC_DEFUN([AC_LIB_WITH_FINAL_PREFIX], [
2674     acl_save_prefix="$prefix"
2675     prefix="$acl_final_prefix"
2676     acl_save_exec_prefix="$exec_prefix"
2677     exec_prefix="$acl_final_exec_prefix"
2678     $1
2679     exec_prefix="$acl_save_exec_prefix"
2680     prefix="$acl_save_prefix"
2681     ])
2682     m4trace:m4/libtool.m4:67: -1- AC_DEFUN([LT_INIT], [AC_PREREQ([2.58])dnl We use AC_INCLUDES_DEFAULT
2683     AC_BEFORE([$0], [LT_LANG])dnl
2684     AC_BEFORE([$0], [LT_OUTPUT])dnl
2685     AC_BEFORE([$0], [LTDL_INIT])dnl
2686     m4_require([_LT_CHECK_BUILDDIR])dnl
2687    
2688     dnl Autoconf doesn't catch unexpanded LT_ macros by default:
2689     m4_pattern_forbid([^_?LT_[A-Z_]+$])dnl
2690     m4_pattern_allow([^(_LT_EOF|LT_DLGLOBAL|LT_DLLAZY_OR_NOW|LT_MULTI_MODULE)$])dnl
2691     dnl aclocal doesn't pull ltoptions.m4, ltsugar.m4, or ltversion.m4
2692     dnl unless we require an AC_DEFUNed macro:
2693     AC_REQUIRE([LTOPTIONS_VERSION])dnl
2694     AC_REQUIRE([LTSUGAR_VERSION])dnl
2695     AC_REQUIRE([LTVERSION_VERSION])dnl
2696     AC_REQUIRE([LTOBSOLETE_VERSION])dnl
2697     m4_require([_LT_PROG_LTMAIN])dnl
2698    
2699     dnl Parse OPTIONS
2700     _LT_SET_OPTIONS([$0], [$1])
2701    
2702     # This can be used to rebuild libtool when needed
2703     LIBTOOL_DEPS="$ltmain"
2704    
2705     # Always use our own libtool.
2706     LIBTOOL='$(SHELL) $(top_builddir)/libtool'
2707     AC_SUBST(LIBTOOL)dnl
2708    
2709     _LT_SETUP
2710    
2711     # Only expand once:
2712     m4_define([LT_INIT])
2713     ])
2714     m4trace:m4/libtool.m4:102: -1- AU_DEFUN([AC_PROG_LIBTOOL], [m4_if($#, 0, [LT_INIT], [LT_INIT($@)])])
2715     m4trace:m4/libtool.m4:102: -1- AC_DEFUN([AC_PROG_LIBTOOL], [AC_DIAGNOSE([obsolete], [The macro `AC_PROG_LIBTOOL' is obsolete.
2716     You should run autoupdate.])dnl
2717     m4_if($#, 0, [LT_INIT], [LT_INIT($@)])])
2718     m4trace:m4/libtool.m4:103: -1- AU_DEFUN([AM_PROG_LIBTOOL], [m4_if($#, 0, [LT_INIT], [LT_INIT($@)])])
2719     m4trace:m4/libtool.m4:103: -1- AC_DEFUN([AM_PROG_LIBTOOL], [AC_DIAGNOSE([obsolete], [The macro `AM_PROG_LIBTOOL' is obsolete.
2720     You should run autoupdate.])dnl
2721     m4_if($#, 0, [LT_INIT], [LT_INIT($@)])])
2722     m4trace:m4/libtool.m4:562: -1- AC_DEFUN([LT_OUTPUT], [: ${CONFIG_LT=./config.lt}
2723     AC_MSG_NOTICE([creating $CONFIG_LT])
2724     cat >"$CONFIG_LT" <<_LTEOF
2725     #! $SHELL
2726     # Generated by $as_me.
2727     # Run this file to recreate a libtool stub with the current configuration.
2728    
2729     lt_cl_silent=false
2730     SHELL=\${CONFIG_SHELL-$SHELL}
2731     _LTEOF
2732    
2733     cat >>"$CONFIG_LT" <<\_LTEOF
2734     AS_SHELL_SANITIZE
2735     _AS_PREPARE
2736    
2737     exec AS_MESSAGE_FD>&1
2738     exec AS_MESSAGE_LOG_FD>>config.log
2739     {
2740     echo
2741     AS_BOX([Running $as_me.])
2742     } >&AS_MESSAGE_LOG_FD
2743    
2744     lt_cl_help="\
2745     \`$as_me' creates a local libtool stub from the current configuration,
2746     for use in further configure time tests before the real libtool is
2747     generated.
2748    
2749     Usage: $[0] [[OPTIONS]]
2750    
2751     -h, --help print this help, then exit
2752     -V, --version print version number, then exit
2753     -q, --quiet do not print progress messages
2754     -d, --debug don't remove temporary files
2755    
2756     Report bugs to <bug-libtool@gnu.org>."
2757    
2758     lt_cl_version="\
2759     m4_ifset([AC_PACKAGE_NAME], [AC_PACKAGE_NAME ])config.lt[]dnl
2760     m4_ifset([AC_PACKAGE_VERSION], [ AC_PACKAGE_VERSION])
2761     configured by $[0], generated by m4_PACKAGE_STRING.
2762    
2763     Copyright (C) 2008 Free Software Foundation, Inc.
2764     This config.lt script is free software; the Free Software Foundation
2765     gives unlimited permision to copy, distribute and modify it."
2766    
2767     while test $[#] != 0
2768     do
2769     case $[1] in
2770     --version | --v* | -V )
2771     echo "$lt_cl_version"; exit 0 ;;
2772     --help | --h* | -h )
2773     echo "$lt_cl_help"; exit 0 ;;
2774     --debug | --d* | -d )
2775     debug=: ;;
2776     --quiet | --q* | --silent | --s* | -q )
2777     lt_cl_silent=: ;;
2778    
2779     -*) AC_MSG_ERROR([unrecognized option: $[1]
2780     Try \`$[0] --help' for more information.]) ;;
2781    
2782     *) AC_MSG_ERROR([unrecognized argument: $[1]
2783     Try \`$[0] --help' for more information.]) ;;
2784     esac
2785     shift
2786     done
2787    
2788     if $lt_cl_silent; then
2789     exec AS_MESSAGE_FD>/dev/null
2790     fi
2791     _LTEOF
2792    
2793     cat >>"$CONFIG_LT" <<_LTEOF
2794     _LT_OUTPUT_LIBTOOL_COMMANDS_INIT
2795     _LTEOF
2796    
2797     cat >>"$CONFIG_LT" <<\_LTEOF
2798     AC_MSG_NOTICE([creating $ofile])
2799     _LT_OUTPUT_LIBTOOL_COMMANDS
2800     AS_EXIT(0)
2801     _LTEOF
2802     chmod +x "$CONFIG_LT"
2803    
2804     # configure is writing to config.log, but config.lt does its own redirection,
2805     # appending to config.log, which fails on DOS, as config.log is still kept
2806     # open by configure. Here we exec the FD to /dev/null, effectively closing
2807     # config.log, so it can be properly (re)opened and appended to by config.lt.
2808     if test "$no_create" != yes; then
2809     lt_cl_success=:
2810     test "$silent" = yes &&
2811     lt_config_lt_args="$lt_config_lt_args --quiet"
2812     exec AS_MESSAGE_LOG_FD>/dev/null
2813     $SHELL "$CONFIG_LT" $lt_config_lt_args || lt_cl_success=false
2814     exec AS_MESSAGE_LOG_FD>>config.log
2815     $lt_cl_success || AS_EXIT(1)
2816     fi
2817     ])
2818     m4trace:m4/libtool.m4:757: -1- AC_DEFUN([LT_SUPPORTED_TAG], [])
2819     m4trace:m4/libtool.m4:768: -1- AC_DEFUN([LT_LANG], [AC_BEFORE([$0], [LT_OUTPUT])dnl
2820     m4_case([$1],
2821     [C], [_LT_LANG(C)],
2822     [C++], [_LT_LANG(CXX)],
2823     [Java], [_LT_LANG(GCJ)],
2824     [Fortran 77], [_LT_LANG(F77)],
2825     [Fortran], [_LT_LANG(FC)],
2826     [Windows Resource], [_LT_LANG(RC)],
2827     [m4_ifdef([_LT_LANG_]$1[_CONFIG],
2828     [_LT_LANG($1)],
2829     [m4_fatal([$0: unsupported language: "$1"])])])dnl
2830     ])
2831     m4trace:m4/libtool.m4:830: -1- AU_DEFUN([AC_LIBTOOL_CXX], [LT_LANG(C++)])
2832     m4trace:m4/libtool.m4:830: -1- AC_DEFUN([AC_LIBTOOL_CXX], [AC_DIAGNOSE([obsolete], [The macro `AC_LIBTOOL_CXX' is obsolete.
2833     You should run autoupdate.])dnl
2834     LT_LANG(C++)])
2835     m4trace:m4/libtool.m4:831: -1- AU_DEFUN([AC_LIBTOOL_F77], [LT_LANG(Fortran 77)])
2836     m4trace:m4/libtool.m4:831: -1- AC_DEFUN([AC_LIBTOOL_F77], [AC_DIAGNOSE([obsolete], [The macro `AC_LIBTOOL_F77' is obsolete.
2837     You should run autoupdate.])dnl
2838     LT_LANG(Fortran 77)])
2839     m4trace:m4/libtool.m4:832: -1- AU_DEFUN([AC_LIBTOOL_FC], [LT_LANG(Fortran)])
2840     m4trace:m4/libtool.m4:832: -1- AC_DEFUN([AC_LIBTOOL_FC], [AC_DIAGNOSE([obsolete], [The macro `AC_LIBTOOL_FC' is obsolete.
2841     You should run autoupdate.])dnl
2842     LT_LANG(Fortran)])
2843     m4trace:m4/libtool.m4:833: -1- AU_DEFUN([AC_LIBTOOL_GCJ], [LT_LANG(Java)])
2844     m4trace:m4/libtool.m4:833: -1- AC_DEFUN([AC_LIBTOOL_GCJ], [AC_DIAGNOSE([obsolete], [The macro `AC_LIBTOOL_GCJ' is obsolete.
2845     You should run autoupdate.])dnl
2846     LT_LANG(Java)])
2847     m4trace:m4/libtool.m4:1402: -1- AC_DEFUN([_LT_COMPILER_OPTION], [m4_require([_LT_FILEUTILS_DEFAULTS])dnl
2848     m4_require([_LT_DECL_SED])dnl
2849     AC_CACHE_CHECK([$1], [$2],
2850     [$2=no
2851     m4_if([$4], , [ac_outfile=conftest.$ac_objext], [ac_outfile=$4])
2852     echo "$lt_simple_compile_test_code" > conftest.$ac_ext
2853     lt_compiler_flag="$3"
2854     # Insert the option either (1) after the last *FLAGS variable, or
2855     # (2) before a word containing "conftest.", or (3) at the end.
2856     # Note that $ac_compile itself does not contain backslashes and begins
2857     # with a dollar sign (not a hyphen), so the echo should work correctly.
2858     # The option is referenced via a variable to avoid confusing sed.
2859     lt_compile=`echo "$ac_compile" | $SED \
2860     -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
2861     -e 's: [[^ ]]*conftest\.: $lt_compiler_flag&:; t' \
2862     -e 's:$: $lt_compiler_flag:'`
2863     (eval echo "\"\$as_me:__oline__: $lt_compile\"" >&AS_MESSAGE_LOG_FD)
2864     (eval "$lt_compile" 2>conftest.err)
2865     ac_status=$?
2866     cat conftest.err >&AS_MESSAGE_LOG_FD
2867     echo "$as_me:__oline__: \$? = $ac_status" >&AS_MESSAGE_LOG_FD
2868     if (exit $ac_status) && test -s "$ac_outfile"; then
2869     # The compiler can only warn and ignore the option if not recognized
2870     # So say no if there are warnings other than the usual output.
2871     $ECHO "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' >conftest.exp
2872     $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
2873     if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
2874     $2=yes
2875     fi
2876     fi
2877     $RM conftest*
2878     ])
2879    
2880     if test x"[$]$2" = xyes; then
2881     m4_if([$5], , :, [$5])
2882     else
2883     m4_if([$6], , :, [$6])
2884     fi
2885     ])
2886     m4trace:m4/libtool.m4:1444: -1- AU_DEFUN([AC_LIBTOOL_COMPILER_OPTION], [m4_if($#, 0, [_LT_COMPILER_OPTION], [_LT_COMPILER_OPTION($@)])])
2887     m4trace:m4/libtool.m4:1444: -1- AC_DEFUN([AC_LIBTOOL_COMPILER_OPTION], [AC_DIAGNOSE([obsolete], [The macro `AC_LIBTOOL_COMPILER_OPTION' is obsolete.
2888     You should run autoupdate.])dnl
2889     m4_if($#, 0, [_LT_COMPILER_OPTION], [_LT_COMPILER_OPTION($@)])])
2890     m4trace:m4/libtool.m4:1453: -1- AC_DEFUN([_LT_LINKER_OPTION], [m4_require([_LT_FILEUTILS_DEFAULTS])dnl
2891     m4_require([_LT_DECL_SED])dnl
2892     AC_CACHE_CHECK([$1], [$2],
2893     [$2=no
2894     save_LDFLAGS="$LDFLAGS"
2895     LDFLAGS="$LDFLAGS $3"
2896     echo "$lt_simple_link_test_code" > conftest.$ac_ext
2897     if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
2898     # The linker can only warn and ignore the option if not recognized
2899     # So say no if there are warnings
2900     if test -s conftest.err; then
2901     # Append any errors to the config.log.
2902     cat conftest.err 1>&AS_MESSAGE_LOG_FD
2903     $ECHO "X$_lt_linker_boilerplate" | $Xsed -e '/^$/d' > conftest.exp
2904     $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
2905     if diff conftest.exp conftest.er2 >/dev/null; then
2906     $2=yes
2907     fi
2908     else
2909     $2=yes
2910     fi
2911     fi
2912     $RM -r conftest*
2913     LDFLAGS="$save_LDFLAGS"
2914     ])
2915    
2916     if test x"[$]$2" = xyes; then
2917     m4_if([$4], , :, [$4])
2918     else
2919     m4_if([$5], , :, [$5])
2920     fi
2921     ])
2922     m4trace:m4/libtool.m4:1488: -1- AU_DEFUN([AC_LIBTOOL_LINKER_OPTION], [m4_if($#, 0, [_LT_LINKER_OPTION], [_LT_LINKER_OPTION($@)])])
2923     m4trace:m4/libtool.m4:1488: -1- AC_DEFUN([AC_LIBTOOL_LINKER_OPTION], [AC_DIAGNOSE([obsolete], [The macro `AC_LIBTOOL_LINKER_OPTION' is obsolete.
2924     You should run autoupdate.])dnl
2925     m4_if($#, 0, [_LT_LINKER_OPTION], [_LT_LINKER_OPTION($@)])])
2926     m4trace:m4/libtool.m4:1495: -1- AC_DEFUN([LT_CMD_MAX_LEN], [AC_REQUIRE([AC_CANONICAL_HOST])dnl
2927     # find the maximum length of command line arguments
2928     AC_MSG_CHECKING([the maximum length of command line arguments])
2929     AC_CACHE_VAL([lt_cv_sys_max_cmd_len], [dnl
2930     i=0
2931     teststring="ABCD"
2932    
2933     case $build_os in
2934     msdosdjgpp*)
2935     # On DJGPP, this test can blow up pretty badly due to problems in libc
2936     # (any single argument exceeding 2000 bytes causes a buffer overrun
2937     # during glob expansion). Even if it were fixed, the result of this
2938     # check would be larger than it should be.
2939     lt_cv_sys_max_cmd_len=12288; # 12K is about right
2940     ;;
2941    
2942     gnu*)
2943     # Under GNU Hurd, this test is not required because there is
2944     # no limit to the length of command line arguments.
2945     # Libtool will interpret -1 as no limit whatsoever
2946     lt_cv_sys_max_cmd_len=-1;
2947     ;;
2948    
2949     cygwin* | mingw* | cegcc*)
2950     # On Win9x/ME, this test blows up -- it succeeds, but takes
2951     # about 5 minutes as the teststring grows exponentially.
2952     # Worse, since 9x/ME are not pre-emptively multitasking,
2953     # you end up with a "frozen" computer, even though with patience
2954     # the test eventually succeeds (with a max line length of 256k).
2955     # Instead, let's just punt: use the minimum linelength reported by
2956     # all of the supported platforms: 8192 (on NT/2K/XP).
2957     lt_cv_sys_max_cmd_len=8192;
2958     ;;
2959    
2960     amigaos*)
2961     # On AmigaOS with pdksh, this test takes hours, literally.
2962     # So we just punt and use a minimum line length of 8192.
2963     lt_cv_sys_max_cmd_len=8192;
2964     ;;
2965    
2966     netbsd* | freebsd* | openbsd* | darwin* | dragonfly*)
2967     # This has been around since 386BSD, at least. Likely further.
2968     if test -x /sbin/sysctl; then
2969     lt_cv_sys_max_cmd_len=`/sbin/sysctl -n kern.argmax`
2970     elif test -x /usr/sbin/sysctl; then
2971     lt_cv_sys_max_cmd_len=`/usr/sbin/sysctl -n kern.argmax`
2972     else
2973     lt_cv_sys_max_cmd_len=65536 # usable default for all BSDs
2974     fi
2975     # And add a safety zone
2976     lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
2977     lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
2978     ;;
2979    
2980     interix*)
2981     # We know the value 262144 and hardcode it with a safety zone (like BSD)
2982     lt_cv_sys_max_cmd_len=196608
2983     ;;
2984    
2985     osf*)
2986     # Dr. Hans Ekkehard Plesser reports seeing a kernel panic running configure
2987     # due to this test when exec_disable_arg_limit is 1 on Tru64. It is not
2988     # nice to cause kernel panics so lets avoid the loop below.
2989     # First set a reasonable default.
2990     lt_cv_sys_max_cmd_len=16384
2991     #
2992     if test -x /sbin/sysconfig; then
2993     case `/sbin/sysconfig -q proc exec_disable_arg_limit` in
2994     *1*) lt_cv_sys_max_cmd_len=-1 ;;
2995     esac
2996     fi
2997     ;;
2998     sco3.2v5*)
2999     lt_cv_sys_max_cmd_len=102400
3000     ;;
3001     sysv5* | sco5v6* | sysv4.2uw2*)
3002     kargmax=`grep ARG_MAX /etc/conf/cf.d/stune 2>/dev/null`
3003     if test -n "$kargmax"; then
3004     lt_cv_sys_max_cmd_len=`echo $kargmax | sed 's/.*[[ ]]//'`
3005     else
3006     lt_cv_sys_max_cmd_len=32768
3007     fi
3008     ;;
3009     *)
3010     lt_cv_sys_max_cmd_len=`(getconf ARG_MAX) 2> /dev/null`
3011     if test -n "$lt_cv_sys_max_cmd_len"; then
3012     lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
3013     lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
3014     else
3015     # Make teststring a little bigger before we do anything with it.
3016     # a 1K string should be a reasonable start.
3017     for i in 1 2 3 4 5 6 7 8 ; do
3018     teststring=$teststring$teststring
3019     done
3020     SHELL=${SHELL-${CONFIG_SHELL-/bin/sh}}
3021     # If test is not a shell built-in, we'll probably end up computing a
3022     # maximum length that is only half of the actual maximum length, but
3023     # we can't tell.
3024     while { test "X"`$SHELL [$]0 --fallback-echo "X$teststring$teststring" 2>/dev/null` \
3025     = "XX$teststring$teststring"; } >/dev/null 2>&1 &&
3026     test $i != 17 # 1/2 MB should be enough
3027     do
3028     i=`expr $i + 1`
3029     teststring=$teststring$teststring
3030     done
3031     # Only check the string length outside the loop.
3032     lt_cv_sys_max_cmd_len=`expr "X$teststring" : ".*" 2>&1`
3033     teststring=
3034     # Add a significant safety factor because C++ compilers can tack on
3035     # massive amounts of additional arguments before passing them to the
3036     # linker. It appears as though 1/2 is a usable value.
3037     lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 2`
3038     fi
3039     ;;
3040     esac
3041     ])
3042     if test -n $lt_cv_sys_max_cmd_len ; then
3043     AC_MSG_RESULT($lt_cv_sys_max_cmd_len)
3044     else
3045     AC_MSG_RESULT(none)
3046     fi
3047     max_cmd_len=$lt_cv_sys_max_cmd_len
3048     _LT_DECL([], [max_cmd_len], [0],
3049     [What is the maximum length of a command?])
3050     ])
3051     m4trace:m4/libtool.m4:1623: -1- AU_DEFUN([AC_LIBTOOL_SYS_MAX_CMD_LEN], [m4_if($#, 0, [LT_CMD_MAX_LEN], [LT_CMD_MAX_LEN($@)])])
3052     m4trace:m4/libtool.m4:1623: -1- AC_DEFUN([AC_LIBTOOL_SYS_MAX_CMD_LEN], [AC_DIAGNOSE([obsolete], [The macro `AC_LIBTOOL_SYS_MAX_CMD_LEN' is obsolete.
3053     You should run autoupdate.])dnl
3054     m4_if($#, 0, [LT_CMD_MAX_LEN], [LT_CMD_MAX_LEN($@)])])
3055     m4trace:m4/libtool.m4:1724: -1- AC_DEFUN([LT_SYS_DLOPEN_SELF], [m4_require([_LT_HEADER_DLFCN])dnl
3056     if test "x$enable_dlopen" != xyes; then
3057     enable_dlopen=unknown
3058     enable_dlopen_self=unknown
3059     enable_dlopen_self_static=unknown
3060     else
3061     lt_cv_dlopen=no
3062     lt_cv_dlopen_libs=
3063    
3064     case $host_os in
3065     beos*)
3066     lt_cv_dlopen="load_add_on"
3067     lt_cv_dlopen_libs=
3068     lt_cv_dlopen_self=yes
3069     ;;
3070    
3071     mingw* | pw32* | cegcc*)
3072     lt_cv_dlopen="LoadLibrary"
3073     lt_cv_dlopen_libs=
3074     ;;
3075    
3076     cygwin*)
3077     lt_cv_dlopen="dlopen"
3078     lt_cv_dlopen_libs=
3079     ;;
3080    
3081     darwin*)
3082     # if libdl is installed we need to link against it
3083     AC_CHECK_LIB([dl], [dlopen],
3084     [lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"],[
3085     lt_cv_dlopen="dyld"
3086     lt_cv_dlopen_libs=
3087     lt_cv_dlopen_self=yes
3088     ])
3089     ;;
3090    
3091     *)
3092     AC_CHECK_FUNC([shl_load],
3093     [lt_cv_dlopen="shl_load"],
3094     [AC_CHECK_LIB([dld], [shl_load],
3095     [lt_cv_dlopen="shl_load" lt_cv_dlopen_libs="-ldld"],
3096     [AC_CHECK_FUNC([dlopen],
3097     [lt_cv_dlopen="dlopen"],
3098     [AC_CHECK_LIB([dl], [dlopen],
3099     [lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"],
3100     [AC_CHECK_LIB([svld], [dlopen],
3101     [lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-lsvld"],
3102     [AC_CHECK_LIB([dld], [dld_link],
3103     [lt_cv_dlopen="dld_link" lt_cv_dlopen_libs="-ldld"])
3104     ])
3105     ])
3106     ])
3107     ])
3108     ])
3109     ;;
3110     esac
3111    
3112     if test "x$lt_cv_dlopen" != xno; then
3113     enable_dlopen=yes
3114     else
3115     enable_dlopen=no
3116     fi
3117    
3118     case $lt_cv_dlopen in
3119     dlopen)
3120     save_CPPFLAGS="$CPPFLAGS"
3121     test "x$ac_cv_header_dlfcn_h" = xyes && CPPFLAGS="$CPPFLAGS -DHAVE_DLFCN_H"
3122    
3123     save_LDFLAGS="$LDFLAGS"
3124     wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $export_dynamic_flag_spec\"
3125    
3126     save_LIBS="$LIBS"
3127     LIBS="$lt_cv_dlopen_libs $LIBS"
3128    
3129     AC_CACHE_CHECK([whether a program can dlopen itself],
3130     lt_cv_dlopen_self, [dnl
3131     _LT_TRY_DLOPEN_SELF(
3132     lt_cv_dlopen_self=yes, lt_cv_dlopen_self=yes,
3133     lt_cv_dlopen_self=no, lt_cv_dlopen_self=cross)
3134     ])
3135    
3136     if test "x$lt_cv_dlopen_self" = xyes; then
3137     wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $lt_prog_compiler_static\"
3138     AC_CACHE_CHECK([whether a statically linked program can dlopen itself],
3139     lt_cv_dlopen_self_static, [dnl
3140     _LT_TRY_DLOPEN_SELF(
3141     lt_cv_dlopen_self_static=yes, lt_cv_dlopen_self_static=yes,
3142     lt_cv_dlopen_self_static=no, lt_cv_dlopen_self_static=cross)
3143     ])
3144     fi
3145    
3146     CPPFLAGS="$save_CPPFLAGS"
3147     LDFLAGS="$save_LDFLAGS"
3148     LIBS="$save_LIBS"
3149     ;;
3150     esac
3151    
3152     case $lt_cv_dlopen_self in
3153     yes|no) enable_dlopen_self=$lt_cv_dlopen_self ;;
3154     *) enable_dlopen_self=unknown ;;
3155     esac
3156    
3157     case $lt_cv_dlopen_self_static in
3158     yes|no) enable_dlopen_self_static=$lt_cv_dlopen_self_static ;;
3159     *) enable_dlopen_self_static=unknown ;;
3160     esac
3161     fi
3162     _LT_DECL([dlopen_support], [enable_dlopen], [0],
3163     [Whether dlopen is supported])
3164     _LT_DECL([dlopen_self], [enable_dlopen_self], [0],
3165     [Whether dlopen of programs is supported])
3166     _LT_DECL([dlopen_self_static], [enable_dlopen_self_static], [0],
3167     [Whether dlopen of statically linked programs is supported])
3168     ])
3169     m4trace:m4/libtool.m4:1841: -1- AU_DEFUN([AC_LIBTOOL_DLOPEN_SELF], [m4_if($#, 0, [LT_SYS_DLOPEN_SELF], [LT_SYS_DLOPEN_SELF($@)])])
3170     m4trace:m4/libtool.m4:1841: -1- AC_DEFUN([AC_LIBTOOL_DLOPEN_SELF], [AC_DIAGNOSE([obsolete], [The macro `AC_LIBTOOL_DLOPEN_SELF' is obsolete.
3171     You should run autoupdate.])dnl
3172     m4_if($#, 0, [LT_SYS_DLOPEN_SELF], [LT_SYS_DLOPEN_SELF($@)])])
3173     m4trace:m4/libtool.m4:2741: -1- AC_DEFUN([_LT_PATH_TOOL_PREFIX], [m4_require([_LT_DECL_EGREP])dnl
3174     AC_MSG_CHECKING([for $1])
3175     AC_CACHE_VAL(lt_cv_path_MAGIC_CMD,
3176     [case $MAGIC_CMD in
3177     [[\\/*] | ?:[\\/]*])
3178     lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
3179     ;;
3180     *)
3181     lt_save_MAGIC_CMD="$MAGIC_CMD"
3182     lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
3183     dnl $ac_dummy forces splitting on constant user-supplied paths.
3184     dnl POSIX.2 word splitting is done only on the output of word expansions,
3185     dnl not every word. This closes a longstanding sh security hole.
3186     ac_dummy="m4_if([$2], , $PATH, [$2])"
3187     for ac_dir in $ac_dummy; do
3188     IFS="$lt_save_ifs"
3189     test -z "$ac_dir" && ac_dir=.
3190     if test -f $ac_dir/$1; then
3191     lt_cv_path_MAGIC_CMD="$ac_dir/$1"
3192     if test -n "$file_magic_test_file"; then
3193     case $deplibs_check_method in
3194     "file_magic "*)
3195     file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
3196     MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
3197     if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
3198     $EGREP "$file_magic_regex" > /dev/null; then
3199     :
3200     else
3201     cat <<_LT_EOF 1>&2
3202    
3203     *** Warning: the command libtool uses to detect shared libraries,
3204     *** $file_magic_cmd, produces output that libtool cannot recognize.
3205     *** The result is that libtool may fail to recognize shared libraries
3206     *** as such. This will affect the creation of libtool libraries that
3207     *** depend on shared libraries, but programs linked with such libtool
3208     *** libraries will work regardless of this problem. Nevertheless, you
3209     *** may want to report the problem to your system manager and/or to
3210     *** bug-libtool@gnu.org
3211    
3212     _LT_EOF
3213     fi ;;
3214     esac
3215     fi
3216     break
3217     fi
3218     done
3219     IFS="$lt_save_ifs"
3220     MAGIC_CMD="$lt_save_MAGIC_CMD"
3221     ;;
3222     esac])
3223     MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
3224     if test -n "$MAGIC_CMD"; then
3225     AC_MSG_RESULT($MAGIC_CMD)
3226     else
3227     AC_MSG_RESULT(no)
3228     fi
3229     _LT_DECL([], [MAGIC_CMD], [0],
3230     [Used to examine libraries when file_magic_cmd begins with "file"])dnl
3231     ])
3232     m4trace:m4/libtool.m4:2803: -1- AU_DEFUN([AC_PATH_TOOL_PREFIX], [m4_if($#, 0, [_LT_PATH_TOOL_PREFIX], [_LT_PATH_TOOL_PREFIX($@)])])
3233     m4trace:m4/libtool.m4:2803: -1- AC_DEFUN([AC_PATH_TOOL_PREFIX], [AC_DIAGNOSE([obsolete], [The macro `AC_PATH_TOOL_PREFIX' is obsolete.
3234     You should run autoupdate.])dnl
3235     m4_if($#, 0, [_LT_PATH_TOOL_PREFIX], [_LT_PATH_TOOL_PREFIX($@)])])
3236     m4trace:m4/libtool.m4:2826: -1- AC_DEFUN([LT_PATH_LD], [AC_REQUIRE([AC_PROG_CC])dnl
3237     AC_REQUIRE([AC_CANONICAL_HOST])dnl
3238     AC_REQUIRE([AC_CANONICAL_BUILD])dnl
3239     m4_require([_LT_DECL_SED])dnl
3240     m4_require([_LT_DECL_EGREP])dnl
3241    
3242     AC_ARG_WITH([gnu-ld],
3243     [AS_HELP_STRING([--with-gnu-ld],
3244     [assume the C compiler uses GNU ld @<:@default=no@:>@])],
3245     [test "$withval" = no || with_gnu_ld=yes],
3246     [with_gnu_ld=no])dnl
3247    
3248     ac_prog=ld
3249     if test "$GCC" = yes; then
3250     # Check if gcc -print-prog-name=ld gives a path.
3251     AC_MSG_CHECKING([for ld used by $CC])
3252     case $host in
3253     *-*-mingw*)
3254     # gcc leaves a trailing carriage return which upsets mingw
3255     ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
3256     *)
3257     ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
3258     esac
3259     case $ac_prog in
3260     # Accept absolute paths.
3261     [[\\/]]* | ?:[[\\/]]*)
3262     re_direlt='/[[^/]][[^/]]*/\.\./'
3263     # Canonicalize the pathname of ld
3264     ac_prog=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'`
3265     while $ECHO "$ac_prog" | $GREP "$re_direlt" > /dev/null 2>&1; do
3266     ac_prog=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"`
3267     done
3268     test -z "$LD" && LD="$ac_prog"
3269     ;;
3270     "")
3271     # If it fails, then pretend we aren't using GCC.
3272     ac_prog=ld
3273     ;;
3274     *)
3275     # If it is relative, then search for the first ld in PATH.
3276     with_gnu_ld=unknown
3277     ;;
3278     esac
3279     elif test "$with_gnu_ld" = yes; then
3280     AC_MSG_CHECKING([for GNU ld])
3281     else
3282     AC_MSG_CHECKING([for non-GNU ld])
3283     fi
3284     AC_CACHE_VAL(lt_cv_path_LD,
3285     [if test -z "$LD"; then
3286     lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
3287     for ac_dir in $PATH; do
3288     IFS="$lt_save_ifs"
3289     test -z "$ac_dir" && ac_dir=.
3290     if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
3291     lt_cv_path_LD="$ac_dir/$ac_prog"
3292     # Check to see if the program is GNU ld. I'd rather use --version,
3293     # but apparently some variants of GNU ld only accept -v.
3294     # Break only if it was the GNU/non-GNU ld that we prefer.
3295     case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
3296     *GNU* | *'with BFD'*)
3297     test "$with_gnu_ld" != no && break
3298     ;;
3299     *)
3300     test "$with_gnu_ld" != yes && break
3301     ;;
3302     esac
3303     fi
3304     done
3305     IFS="$lt_save_ifs"
3306     else
3307     lt_cv_path_LD="$LD" # Let the user override the test with a path.
3308     fi])
3309     LD="$lt_cv_path_LD"
3310     if test -n "$LD"; then
3311     AC_MSG_RESULT($LD)
3312     else
3313     AC_MSG_RESULT(no)
3314     fi
3315     test -z "$LD" && AC_MSG_ERROR([no acceptable ld found in \$PATH])
3316     _LT_PATH_LD_GNU
3317     AC_SUBST([LD])
3318    
3319     _LT_TAGDECL([], [LD], [1], [The linker used to build libraries])
3320     ])
3321     m4trace:m4/libtool.m4:2914: -1- AU_DEFUN([AM_PROG_LD], [m4_if($#, 0, [LT_PATH_LD], [LT_PATH_LD($@)])])
3322     m4trace:m4/libtool.m4:2914: -1- AC_DEFUN([AM_PROG_LD], [AC_DIAGNOSE([obsolete], [The macro `AM_PROG_LD' is obsolete.
3323     You should run autoupdate.])dnl
3324     m4_if($#, 0, [LT_PATH_LD], [LT_PATH_LD($@)])])
3325     m4trace:m4/libtool.m4:2915: -1- AU_DEFUN([AC_PROG_LD], [m4_if($#, 0, [LT_PATH_LD], [LT_PATH_LD($@)])])
3326     m4trace:m4/libtool.m4:2915: -1- AC_DEFUN([AC_PROG_LD], [AC_DIAGNOSE([obsolete], [The macro `AC_PROG_LD' is obsolete.
3327     You should run autoupdate.])dnl
3328     m4_if($#, 0, [LT_PATH_LD], [LT_PATH_LD($@)])])
3329     m4trace:m4/libtool.m4:3179: -1- AC_DEFUN([LT_PATH_NM], [AC_REQUIRE([AC_PROG_CC])dnl
3330     AC_CACHE_CHECK([for BSD- or MS-compatible name lister (nm)], lt_cv_path_NM,
3331     [if test -n "$NM"; then
3332     # Let the user override the test.
3333     lt_cv_path_NM="$NM"
3334     else
3335     lt_nm_to_check="${ac_tool_prefix}nm"
3336     if test -n "$ac_tool_prefix" && test "$build" = "$host"; then
3337     lt_nm_to_check="$lt_nm_to_check nm"
3338     fi
3339     for lt_tmp_nm in $lt_nm_to_check; do
3340     lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
3341     for ac_dir in $PATH /usr/ccs/bin/elf /usr/ccs/bin /usr/ucb /bin; do
3342     IFS="$lt_save_ifs"
3343     test -z "$ac_dir" && ac_dir=.
3344     tmp_nm="$ac_dir/$lt_tmp_nm"
3345     if test -f "$tmp_nm" || test -f "$tmp_nm$ac_exeext" ; then
3346     # Check to see if the nm accepts a BSD-compat flag.
3347     # Adding the `sed 1q' prevents false positives on HP-UX, which says:
3348     # nm: unknown option "B" ignored
3349     # Tru64's nm complains that /dev/null is an invalid object file
3350     case `"$tmp_nm" -B /dev/null 2>&1 | sed '1q'` in
3351     */dev/null* | *'Invalid file or object type'*)
3352     lt_cv_path_NM="$tmp_nm -B"
3353     break
3354     ;;
3355     *)
3356     case `"$tmp_nm" -p /dev/null 2>&1 | sed '1q'` in
3357     */dev/null*)
3358     lt_cv_path_NM="$tmp_nm -p"
3359     break
3360     ;;
3361     *)
3362     lt_cv_path_NM=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but
3363     continue # so that we can try to find one that supports BSD flags
3364     ;;
3365     esac
3366     ;;
3367     esac
3368     fi
3369     done
3370     IFS="$lt_save_ifs"
3371     done
3372     : ${lt_cv_path_NM=no}
3373     fi])
3374     if test "$lt_cv_path_NM" != "no"; then
3375     NM="$lt_cv_path_NM"
3376     else
3377     # Didn't find any BSD compatible name lister, look for dumpbin.
3378     AC_CHECK_TOOLS(DUMPBIN, ["dumpbin -symbols" "link -dump -symbols"], :)
3379     AC_SUBST([DUMPBIN])
3380     if test "$DUMPBIN" != ":"; then
3381     NM="$DUMPBIN"
3382     fi
3383     fi
3384     test -z "$NM" && NM=nm
3385     AC_SUBST([NM])
3386     _LT_DECL([], [NM], [1], [A BSD- or MS-compatible name lister])dnl
3387    
3388     AC_CACHE_CHECK([the name lister ($NM) interface], [lt_cv_nm_interface],
3389     [lt_cv_nm_interface="BSD nm"
3390     echo "int some_variable = 0;" > conftest.$ac_ext
3391     (eval echo "\"\$as_me:__oline__: $ac_compile\"" >&AS_MESSAGE_LOG_FD)
3392     (eval "$ac_compile" 2>conftest.err)
3393     cat conftest.err >&AS_MESSAGE_LOG_FD
3394     (eval echo "\"\$as_me:__oline__: $NM \\\"conftest.$ac_objext\\\"\"" >&AS_MESSAGE_LOG_FD)
3395     (eval "$NM \"conftest.$ac_objext\"" 2>conftest.err > conftest.out)
3396     cat conftest.err >&AS_MESSAGE_LOG_FD
3397     (eval echo "\"\$as_me:__oline__: output\"" >&AS_MESSAGE_LOG_FD)
3398     cat conftest.out >&AS_MESSAGE_LOG_FD
3399     if $GREP 'External.*some_variable' conftest.out > /dev/null; then
3400     lt_cv_nm_interface="MS dumpbin"
3401     fi
3402     rm -f conftest*])
3403     ])
3404     m4trace:m4/libtool.m4:3257: -1- AU_DEFUN([AM_PROG_NM], [m4_if($#, 0, [LT_PATH_NM], [LT_PATH_NM($@)])])
3405     m4trace:m4/libtool.m4:3257: -1- AC_DEFUN([AM_PROG_NM], [AC_DIAGNOSE([obsolete], [The macro `AM_PROG_NM' is obsolete.
3406     You should run autoupdate.])dnl
3407     m4_if($#, 0, [LT_PATH_NM], [LT_PATH_NM($@)])])
3408     m4trace:m4/libtool.m4:3258: -1- AU_DEFUN([AC_PROG_NM], [m4_if($#, 0, [LT_PATH_NM], [LT_PATH_NM($@)])])
3409     m4trace:m4/libtool.m4:3258: -1- AC_DEFUN([AC_PROG_NM], [AC_DIAGNOSE([obsolete], [The macro `AC_PROG_NM' is obsolete.
3410     You should run autoupdate.])dnl
3411     m4_if($#, 0, [LT_PATH_NM], [LT_PATH_NM($@)])])
3412     m4trace:m4/libtool.m4:3267: -1- AC_DEFUN([LT_LIB_M], [AC_REQUIRE([AC_CANONICAL_HOST])dnl
3413     LIBM=
3414     case $host in
3415     *-*-beos* | *-*-cygwin* | *-*-pw32* | *-*-darwin*)
3416     # These system don't have libm, or don't need it
3417     ;;
3418     *-ncr-sysv4.3*)
3419     AC_CHECK_LIB(mw, _mwvalidcheckl, LIBM="-lmw")
3420     AC_CHECK_LIB(m, cos, LIBM="$LIBM -lm")
3421     ;;
3422     *)
3423     AC_CHECK_LIB(m, cos, LIBM="-lm")
3424     ;;
3425     esac
3426     AC_SUBST([LIBM])
3427     ])
3428     m4trace:m4/libtool.m4:3286: -1- AU_DEFUN([AC_CHECK_LIBM], [m4_if($#, 0, [LT_LIB_M], [LT_LIB_M($@)])])
3429     m4trace:m4/libtool.m4:3286: -1- AC_DEFUN([AC_CHECK_LIBM], [AC_DIAGNOSE([obsolete], [The macro `AC_CHECK_LIBM' is obsolete.
3430     You should run autoupdate.])dnl
3431     m4_if($#, 0, [LT_LIB_M], [LT_LIB_M($@)])])
3432     m4trace:m4/libtool.m4:6987: -1- AC_DEFUN([LT_PROG_GCJ], [m4_ifdef([AC_PROG_GCJ], [AC_PROG_GCJ],
3433     [m4_ifdef([A][M_PROG_GCJ], [A][M_PROG_GCJ],
3434     [AC_CHECK_TOOL(GCJ, gcj,)
3435     test "x${GCJFLAGS+set}" = xset || GCJFLAGS="-g -O2"
3436     AC_SUBST(GCJFLAGS)])])[]dnl
3437     ])
3438     m4trace:m4/libtool.m4:6996: -1- AU_DEFUN([LT_AC_PROG_GCJ], [m4_if($#, 0, [LT_PROG_GCJ], [LT_PROG_GCJ($@)])])
3439     m4trace:m4/libtool.m4:6996: -1- AC_DEFUN([LT_AC_PROG_GCJ], [AC_DIAGNOSE([obsolete], [The macro `LT_AC_PROG_GCJ' is obsolete.
3440     You should run autoupdate.])dnl
3441     m4_if($#, 0, [LT_PROG_GCJ], [LT_PROG_GCJ($@)])])
3442     m4trace:m4/libtool.m4:7003: -1- AC_DEFUN([LT_PROG_RC], [AC_CHECK_TOOL(RC, windres,)
3443     ])
3444     m4trace:m4/libtool.m4:7008: -1- AU_DEFUN([LT_AC_PROG_RC], [m4_if($#, 0, [LT_PROG_RC], [LT_PROG_RC($@)])])
3445     m4trace:m4/libtool.m4:7008: -1- AC_DEFUN([LT_AC_PROG_RC], [AC_DIAGNOSE([obsolete], [The macro `LT_AC_PROG_RC' is obsolete.
3446     You should run autoupdate.])dnl
3447     m4_if($#, 0, [LT_PROG_RC], [LT_PROG_RC($@)])])
3448     m4trace:m4/libtool.m4:7119: -1- AU_DEFUN([LT_AC_PROG_SED], [m4_if($#, 0, [AC_PROG_SED], [AC_PROG_SED($@)])])
3449     m4trace:m4/libtool.m4:7119: -1- AC_DEFUN([LT_AC_PROG_SED], [AC_DIAGNOSE([obsolete], [The macro `LT_AC_PROG_SED' is obsolete.
3450     You should run autoupdate.])dnl
3451     m4_if($#, 0, [AC_PROG_SED], [AC_PROG_SED($@)])])
3452     m4trace:m4/longdouble.m4:13: -1- AC_DEFUN([gt_TYPE_LONGDOUBLE], [
3453     AC_CACHE_CHECK([for long double], gt_cv_c_long_double,
3454     [if test "$GCC" = yes; then
3455     gt_cv_c_long_double=yes
3456     else
3457     AC_TRY_COMPILE([
3458     /* The Stardent Vistra knows sizeof(long double), but does not support it. */
3459     long double foo = 0.0;
3460     /* On Ultrix 4.3 cc, long double is 4 and double is 8. */
3461     int array [2*(sizeof(long double) >= sizeof(double)) - 1];
3462     ], ,
3463     gt_cv_c_long_double=yes, gt_cv_c_long_double=no)
3464     fi])
3465     if test $gt_cv_c_long_double = yes; then
3466     AC_DEFINE(HAVE_LONG_DOUBLE, 1, [Define if you have the 'long double' type.])
3467     fi
3468     ])
3469     m4trace:m4/longlong.m4:13: -1- AC_DEFUN([jm_AC_TYPE_LONG_LONG], [
3470     AC_CACHE_CHECK([for long long], ac_cv_type_long_long,
3471     [AC_TRY_LINK([long long ll = 1LL; int i = 63;],
3472     [long long llmax = (long long) -1;
3473     return ll << i | ll >> i | llmax / ll | llmax % ll;],
3474     ac_cv_type_long_long=yes,
3475     ac_cv_type_long_long=no)])
3476     if test $ac_cv_type_long_long = yes; then
3477     AC_DEFINE(HAVE_LONG_LONG, 1,
3478     [Define if you have the 'long long' type.])
3479     fi
3480     ])
3481     m4trace:m4/ltoptions.m4:13: -1- AC_DEFUN([LTOPTIONS_VERSION], [m4_if([1])])
3482     m4trace:m4/ltoptions.m4:110: -1- AU_DEFUN([AC_LIBTOOL_DLOPEN], [_LT_SET_OPTION([LT_INIT], [dlopen])
3483     AC_DIAGNOSE([obsolete],
3484     [$0: Remove this warning and the call to _LT_SET_OPTION when you
3485     put the `dlopen' option into LT_INIT's first parameter.])
3486     ])
3487     m4trace:m4/ltoptions.m4:110: -1- AC_DEFUN([AC_LIBTOOL_DLOPEN], [AC_DIAGNOSE([obsolete], [The macro `AC_LIBTOOL_DLOPEN' is obsolete.
3488     You should run autoupdate.])dnl
3489     _LT_SET_OPTION([LT_INIT], [dlopen])
3490     AC_DIAGNOSE([obsolete],
3491     [$0: Remove this warning and the call to _LT_SET_OPTION when you
3492     put the `dlopen' option into LT_INIT's first parameter.])
3493     ])
3494     m4trace:m4/ltoptions.m4:145: -1- AU_DEFUN([AC_LIBTOOL_WIN32_DLL], [AC_REQUIRE([AC_CANONICAL_HOST])dnl
3495     _LT_SET_OPTION([LT_INIT], [win32-dll])
3496     AC_DIAGNOSE([obsolete],
3497     [$0: Remove this warning and the call to _LT_SET_OPTION when you
3498     put the `win32-dll' option into LT_INIT's first parameter.])
3499     ])
3500     m4trace:m4/ltoptions.m4:145: -1- AC_DEFUN([AC_LIBTOOL_WIN32_DLL], [AC_DIAGNOSE([obsolete], [The macro `AC_LIBTOOL_WIN32_DLL' is obsolete.
3501     You should run autoupdate.])dnl
3502     AC_REQUIRE([AC_CANONICAL_HOST])dnl
3503     _LT_SET_OPTION([LT_INIT], [win32-dll])
3504     AC_DIAGNOSE([obsolete],
3505     [$0: Remove this warning and the call to _LT_SET_OPTION when you
3506     put the `win32-dll' option into LT_INIT's first parameter.])
3507     ])
3508     m4trace:m4/ltoptions.m4:194: -1- AC_DEFUN([AC_ENABLE_SHARED], [_LT_SET_OPTION([LT_INIT], m4_if([$1], [no], [disable-])[shared])
3509     ])
3510     m4trace:m4/ltoptions.m4:198: -1- AC_DEFUN([AC_DISABLE_SHARED], [_LT_SET_OPTION([LT_INIT], [disable-shared])
3511     ])
3512     m4trace:m4/ltoptions.m4:202: -1- AU_DEFUN([AM_ENABLE_SHARED], [AC_ENABLE_SHARED($@)])
3513     m4trace:m4/ltoptions.m4:202: -1- AC_DEFUN([AM_ENABLE_SHARED], [AC_DIAGNOSE([obsolete], [The macro `AM_ENABLE_SHARED' is obsolete.
3514     You should run autoupdate.])dnl
3515     AC_ENABLE_SHARED($@)])
3516     m4trace:m4/ltoptions.m4:203: -1- AU_DEFUN([AM_DISABLE_SHARED], [AC_DISABLE_SHARED($@)])
3517     m4trace:m4/ltoptions.m4:203: -1- AC_DEFUN([AM_DISABLE_SHARED], [AC_DIAGNOSE([obsolete], [The macro `AM_DISABLE_SHARED' is obsolete.
3518     You should run autoupdate.])dnl
3519     AC_DISABLE_SHARED($@)])
3520     m4trace:m4/ltoptions.m4:248: -1- AC_DEFUN([AC_ENABLE_STATIC], [_LT_SET_OPTION([LT_INIT], m4_if([$1], [no], [disable-])[static])
3521     ])
3522     m4trace:m4/ltoptions.m4:252: -1- AC_DEFUN([AC_DISABLE_STATIC], [_LT_SET_OPTION([LT_INIT], [disable-static])
3523     ])
3524     m4trace:m4/ltoptions.m4:256: -1- AU_DEFUN([AM_ENABLE_STATIC], [AC_ENABLE_STATIC($@)])
3525     m4trace:m4/ltoptions.m4:256: -1- AC_DEFUN([AM_ENABLE_STATIC], [AC_DIAGNOSE([obsolete], [The macro `AM_ENABLE_STATIC' is obsolete.
3526     You should run autoupdate.])dnl
3527     AC_ENABLE_STATIC($@)])
3528     m4trace:m4/ltoptions.m4:257: -1- AU_DEFUN([AM_DISABLE_STATIC], [AC_DISABLE_STATIC($@)])
3529     m4trace:m4/ltoptions.m4:257: -1- AC_DEFUN([AM_DISABLE_STATIC], [AC_DIAGNOSE([obsolete], [The macro `AM_DISABLE_STATIC' is obsolete.
3530     You should run autoupdate.])dnl
3531     AC_DISABLE_STATIC($@)])
3532     m4trace:m4/ltoptions.m4:302: -1- AU_DEFUN([AC_ENABLE_FAST_INSTALL], [_LT_SET_OPTION([LT_INIT], m4_if([$1], [no], [disable-])[fast-install])
3533     AC_DIAGNOSE([obsolete],
3534     [$0: Remove this warning and the call to _LT_SET_OPTION when you put
3535     the `fast-install' option into LT_INIT's first parameter.])
3536     ])
3537     m4trace:m4/ltoptions.m4:302: -1- AC_DEFUN([AC_ENABLE_FAST_INSTALL], [AC_DIAGNOSE([obsolete], [The macro `AC_ENABLE_FAST_INSTALL' is obsolete.
3538     You should run autoupdate.])dnl
3539     _LT_SET_OPTION([LT_INIT], m4_if([$1], [no], [disable-])[fast-install])
3540     AC_DIAGNOSE([obsolete],
3541     [$0: Remove this warning and the call to _LT_SET_OPTION when you put
3542     the `fast-install' option into LT_INIT's first parameter.])
3543     ])
3544     m4trace:m4/ltoptions.m4:309: -1- AU_DEFUN([AC_DISABLE_FAST_INSTALL], [_LT_SET_OPTION([LT_INIT], [disable-fast-install])
3545     AC_DIAGNOSE([obsolete],
3546     [$0: Remove this warning and the call to _LT_SET_OPTION when you put
3547     the `disable-fast-install' option into LT_INIT's first parameter.])
3548     ])
3549     m4trace:m4/ltoptions.m4:309: -1- AC_DEFUN([AC_DISABLE_FAST_INSTALL], [AC_DIAGNOSE([obsolete], [The macro `AC_DISABLE_FAST_INSTALL' is obsolete.
3550     You should run autoupdate.])dnl
3551     _LT_SET_OPTION([LT_INIT], [disable-fast-install])
3552     AC_DIAGNOSE([obsolete],
3553     [$0: Remove this warning and the call to _LT_SET_OPTION when you put
3554     the `disable-fast-install' option into LT_INIT's first parameter.])
3555     ])
3556     m4trace:m4/ltoptions.m4:342: -1- AU_DEFUN([AC_LIBTOOL_PICMODE], [_LT_SET_OPTION([LT_INIT], [pic-only])
3557     AC_DIAGNOSE([obsolete],
3558     [$0: Remove this warning and the call to _LT_SET_OPTION when you
3559     put the `pic-only' option into LT_INIT's first parameter.])
3560     ])
3561     m4trace:m4/ltoptions.m4:342: -1- AC_DEFUN([AC_LIBTOOL_PICMODE], [AC_DIAGNOSE([obsolete], [The macro `AC_LIBTOOL_PICMODE' is obsolete.
3562     You should run autoupdate.])dnl
3563     _LT_SET_OPTION([LT_INIT], [pic-only])
3564     AC_DIAGNOSE([obsolete],
3565     [$0: Remove this warning and the call to _LT_SET_OPTION when you
3566     put the `pic-only' option into LT_INIT's first parameter.])
3567     ])
3568     m4trace:m4/ltsugar.m4:13: -1- AC_DEFUN([LTSUGAR_VERSION], [m4_if([0.1])])
3569     m4trace:m4/ltversion.m4:18: -1- AC_DEFUN([LTVERSION_VERSION], [macro_version='2.2.6b'
3570     macro_revision='1.3017'
3571     _LT_DECL(, macro_version, 0, [Which release of libtool.m4 was used?])
3572     _LT_DECL(, macro_revision, 0)
3573     ])
3574     m4trace:m4/lt~obsolete.m4:36: -1- AC_DEFUN([LTOBSOLETE_VERSION], [m4_if([1])])
3575     m4trace:m4/lt~obsolete.m4:40: -1- AC_DEFUN([_LT_AC_PROG_ECHO_BACKSLASH])
3576     m4trace:m4/lt~obsolete.m4:41: -1- AC_DEFUN([_LT_AC_SHELL_INIT])
3577     m4trace:m4/lt~obsolete.m4:42: -1- AC_DEFUN([_LT_AC_SYS_LIBPATH_AIX])
3578     m4trace:m4/lt~obsolete.m4:44: -1- AC_DEFUN([_LT_AC_TAGVAR])
3579     m4trace:m4/lt~obsolete.m4:45: -1- AC_DEFUN([AC_LTDL_ENABLE_INSTALL])
3580     m4trace:m4/lt~obsolete.m4:46: -1- AC_DEFUN([AC_LTDL_PREOPEN])
3581     m4trace:m4/lt~obsolete.m4:47: -1- AC_DEFUN([_LT_AC_SYS_COMPILER])
3582     m4trace:m4/lt~obsolete.m4:48: -1- AC_DEFUN([_LT_AC_LOCK])
3583     m4trace:m4/lt~obsolete.m4:49: -1- AC_DEFUN([AC_LIBTOOL_SYS_OLD_ARCHIVE])
3584     m4trace:m4/lt~obsolete.m4:50: -1- AC_DEFUN([_LT_AC_TRY_DLOPEN_SELF])
3585     m4trace:m4/lt~obsolete.m4:51: -1- AC_DEFUN([AC_LIBTOOL_PROG_CC_C_O])
3586     m4trace:m4/lt~obsolete.m4:52: -1- AC_DEFUN([AC_LIBTOOL_SYS_HARD_LINK_LOCKS])
3587     m4trace:m4/lt~obsolete.m4:53: -1- AC_DEFUN([AC_LIBTOOL_OBJDIR])
3588     m4trace:m4/lt~obsolete.m4:54: -1- AC_DEFUN([AC_LTDL_OBJDIR])
3589     m4trace:m4/lt~obsolete.m4:55: -1- AC_DEFUN([AC_LIBTOOL_PROG_LD_HARDCODE_LIBPATH])
3590     m4trace:m4/lt~obsolete.m4:56: -1- AC_DEFUN([AC_LIBTOOL_SYS_LIB_STRIP])
3591     m4trace:m4/lt~obsolete.m4:57: -1- AC_DEFUN([AC_PATH_MAGIC])
3592     m4trace:m4/lt~obsolete.m4:58: -1- AC_DEFUN([AC_PROG_LD_GNU])
3593     m4trace:m4/lt~obsolete.m4:59: -1- AC_DEFUN([AC_PROG_LD_RELOAD_FLAG])
3594     m4trace:m4/lt~obsolete.m4:60: -1- AC_DEFUN([AC_DEPLIBS_CHECK_METHOD])
3595     m4trace:m4/lt~obsolete.m4:61: -1- AC_DEFUN([AC_LIBTOOL_PROG_COMPILER_NO_RTTI])
3596     m4trace:m4/lt~obsolete.m4:62: -1- AC_DEFUN([AC_LIBTOOL_SYS_GLOBAL_SYMBOL_PIPE])
3597     m4trace:m4/lt~obsolete.m4:63: -1- AC_DEFUN([AC_LIBTOOL_PROG_COMPILER_PIC])
3598     m4trace:m4/lt~obsolete.m4:64: -1- AC_DEFUN([AC_LIBTOOL_PROG_LD_SHLIBS])
3599     m4trace:m4/lt~obsolete.m4:65: -1- AC_DEFUN([AC_LIBTOOL_POSTDEP_PREDEP])
3600     m4trace:m4/lt~obsolete.m4:66: -1- AC_DEFUN([LT_AC_PROG_EGREP])
3601     m4trace:m4/lt~obsolete.m4:71: -1- AC_DEFUN([_AC_PROG_LIBTOOL])
3602     m4trace:m4/lt~obsolete.m4:72: -1- AC_DEFUN([AC_LIBTOOL_SETUP])
3603     m4trace:m4/lt~obsolete.m4:73: -1- AC_DEFUN([_LT_AC_CHECK_DLFCN])
3604     m4trace:m4/lt~obsolete.m4:74: -1- AC_DEFUN([AC_LIBTOOL_SYS_DYNAMIC_LINKER])
3605     m4trace:m4/lt~obsolete.m4:75: -1- AC_DEFUN([_LT_AC_TAGCONFIG])
3606     m4trace:m4/lt~obsolete.m4:77: -1- AC_DEFUN([_LT_AC_LANG_CXX])
3607     m4trace:m4/lt~obsolete.m4:78: -1- AC_DEFUN([_LT_AC_LANG_F77])
3608     m4trace:m4/lt~obsolete.m4:79: -1- AC_DEFUN([_LT_AC_LANG_GCJ])
3609     m4trace:m4/lt~obsolete.m4:80: -1- AC_DEFUN([AC_LIBTOOL_RC])
3610     m4trace:m4/lt~obsolete.m4:81: -1- AC_DEFUN([AC_LIBTOOL_LANG_C_CONFIG])
3611     m4trace:m4/lt~obsolete.m4:82: -1- AC_DEFUN([_LT_AC_LANG_C_CONFIG])
3612     m4trace:m4/lt~obsolete.m4:83: -1- AC_DEFUN([AC_LIBTOOL_LANG_CXX_CONFIG])
3613     m4trace:m4/lt~obsolete.m4:84: -1- AC_DEFUN([_LT_AC_LANG_CXX_CONFIG])
3614     m4trace:m4/lt~obsolete.m4:85: -1- AC_DEFUN([AC_LIBTOOL_LANG_F77_CONFIG])
3615     m4trace:m4/lt~obsolete.m4:86: -1- AC_DEFUN([_LT_AC_LANG_F77_CONFIG])
3616     m4trace:m4/lt~obsolete.m4:87: -1- AC_DEFUN([AC_LIBTOOL_LANG_GCJ_CONFIG])
3617     m4trace:m4/lt~obsolete.m4:88: -1- AC_DEFUN([_LT_AC_LANG_GCJ_CONFIG])
3618     m4trace:m4/lt~obsolete.m4:89: -1- AC_DEFUN([AC_LIBTOOL_LANG_RC_CONFIG])
3619     m4trace:m4/lt~obsolete.m4:90: -1- AC_DEFUN([_LT_AC_LANG_RC_CONFIG])
3620     m4trace:m4/lt~obsolete.m4:91: -1- AC_DEFUN([AC_LIBTOOL_CONFIG])
3621     m4trace:m4/lt~obsolete.m4:92: -1- AC_DEFUN([_LT_AC_FILE_LTDLL_C])
3622     m4trace:m4/nls.m4:22: -1- AC_DEFUN([AM_NLS], [
3623     AC_MSG_CHECKING([whether NLS is requested])
3624     dnl Default is enabled NLS
3625     AC_ARG_ENABLE(nls,
3626     [ --disable-nls do not use Native Language Support],
3627     USE_NLS=$enableval, USE_NLS=yes)
3628     AC_MSG_RESULT($USE_NLS)
3629     AC_SUBST(USE_NLS)
3630     ])
3631     m4trace:m4/nls.m4:33: -1- AC_DEFUN([AM_MKINSTALLDIRS], [
3632     dnl If the AC_CONFIG_AUX_DIR macro for autoconf is used we possibly
3633     dnl find the mkinstalldirs script in another subdir but $(top_srcdir).
3634     dnl Try to locate it.
3635     MKINSTALLDIRS=
3636     if test -n "$ac_aux_dir"; then
3637     case "$ac_aux_dir" in
3638     /*) MKINSTALLDIRS="$ac_aux_dir/mkinstalldirs" ;;
3639     *) MKINSTALLDIRS="\$(top_builddir)/$ac_aux_dir/mkinstalldirs" ;;
3640     esac
3641     fi
3642     if test -z "$MKINSTALLDIRS"; then
3643     MKINSTALLDIRS="\$(top_srcdir)/mkinstalldirs"
3644     fi
3645     AC_SUBST(MKINSTALLDIRS)
3646     ])
3647     m4trace:m4/po.m4:23: -1- AC_DEFUN([AM_PO_SUBDIRS], [
3648     AC_REQUIRE([AC_PROG_MAKE_SET])dnl
3649     AC_REQUIRE([AC_PROG_INSTALL])dnl
3650     AC_REQUIRE([AM_MKINSTALLDIRS])dnl
3651     AC_REQUIRE([AM_NLS])dnl
3652    
3653     dnl Perform the following tests also if --disable-nls has been given,
3654     dnl because they are needed for "make dist" to work.
3655    
3656     dnl Search for GNU msgfmt in the PATH.
3657     dnl The first test excludes Solaris msgfmt and early GNU msgfmt versions.
3658     dnl The second test excludes FreeBSD msgfmt.
3659     AM_PATH_PROG_WITH_TEST(MSGFMT, msgfmt,
3660     [$ac_dir/$ac_word --statistics /dev/null >/dev/null 2>&1 &&
3661     (if $ac_dir/$ac_word --statistics /dev/null 2>&1 >/dev/null | grep usage >/dev/null; then exit 1; else exit 0; fi)],
3662     :)
3663     AC_PATH_PROG(GMSGFMT, gmsgfmt, $MSGFMT)
3664    
3665     dnl Search for GNU xgettext 0.12 or newer in the PATH.
3666     dnl The first test excludes Solaris xgettext and early GNU xgettext versions.
3667     dnl The second test excludes FreeBSD xgettext.
3668     AM_PATH_PROG_WITH_TEST(XGETTEXT, xgettext,
3669     [$ac_dir/$ac_word --omit-header --copyright-holder= --msgid-bugs-address= /dev/null >/dev/null 2>&1 &&
3670     (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)],
3671     :)
3672     dnl Remove leftover from FreeBSD xgettext call.
3673     rm -f messages.po
3674    
3675     dnl Search for GNU msgmerge 0.11 or newer in the PATH.
3676     AM_PATH_PROG_WITH_TEST(MSGMERGE, msgmerge,
3677     [$ac_dir/$ac_word --update -q /dev/null /dev/null >/dev/null 2>&1], :)
3678    
3679     dnl This could go away some day; the PATH_PROG_WITH_TEST already does it.
3680     dnl Test whether we really found GNU msgfmt.
3681     if test "$GMSGFMT" != ":"; then
3682     dnl If it is no GNU msgfmt we define it as : so that the
3683     dnl Makefiles still can work.
3684     if $GMSGFMT --statistics /dev/null >/dev/null 2>&1 &&
3685     (if $GMSGFMT --statistics /dev/null 2>&1 >/dev/null | grep usage >/dev/null; then exit 1; else exit 0; fi); then
3686     : ;
3687     else
3688     GMSGFMT=`echo "$GMSGFMT" | sed -e 's,^.*/,,'`
3689     AC_MSG_RESULT(
3690     [found $GMSGFMT program is not GNU msgfmt; ignore it])
3691     GMSGFMT=":"
3692     fi
3693     fi
3694    
3695     dnl This could go away some day; the PATH_PROG_WITH_TEST already does it.
3696     dnl Test whether we really found GNU xgettext.
3697     if test "$XGETTEXT" != ":"; then
3698     dnl If it is no GNU xgettext we define it as : so that the
3699     dnl Makefiles still can work.
3700     if $XGETTEXT --omit-header --copyright-holder= --msgid-bugs-address= /dev/null >/dev/null 2>&1 &&
3701     (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
3702     : ;
3703     else
3704     AC_MSG_RESULT(
3705     [found xgettext program is not GNU xgettext; ignore it])
3706     XGETTEXT=":"
3707     fi
3708     dnl Remove leftover from FreeBSD xgettext call.
3709     rm -f messages.po
3710     fi
3711    
3712     AC_OUTPUT_COMMANDS([
3713     for ac_file in $CONFIG_FILES; do
3714     # Support "outfile[:infile[:infile...]]"
3715     case "$ac_file" in
3716     *:*) ac_file=`echo "$ac_file"|sed 's%:.*%%'` ;;
3717     esac
3718     # PO directories have a Makefile.in generated from Makefile.in.in.
3719     case "$ac_file" in */Makefile.in)
3720     # Adjust a relative srcdir.
3721     ac_dir=`echo "$ac_file"|sed 's%/[^/][^/]*$%%'`
3722     ac_dir_suffix="/`echo "$ac_dir"|sed 's%^\./%%'`"
3723     ac_dots=`echo "$ac_dir_suffix"|sed 's%/[^/]*%../%g'`
3724     # In autoconf-2.13 it is called $ac_given_srcdir.
3725     # In autoconf-2.50 it is called $srcdir.
3726     test -n "$ac_given_srcdir" || ac_given_srcdir="$srcdir"
3727     case "$ac_given_srcdir" in
3728     .) top_srcdir=`echo $ac_dots|sed 's%/$%%'` ;;
3729     /*) top_srcdir="$ac_given_srcdir" ;;
3730     *) top_srcdir="$ac_dots$ac_given_srcdir" ;;
3731     esac
3732     if test -f "$ac_given_srcdir/$ac_dir/POTFILES.in"; then
3733     rm -f "$ac_dir/POTFILES"
3734     test -n "$as_me" && echo "$as_me: creating $ac_dir/POTFILES" || echo "creating $ac_dir/POTFILES"
3735     cat "$ac_given_srcdir/$ac_dir/POTFILES.in" | sed -e "/^#/d" -e "/^[ ]*\$/d" -e "s,.*, $top_srcdir/& \\\\," | sed -e "\$s/\(.*\) \\\\/\1/" > "$ac_dir/POTFILES"
3736     POMAKEFILEDEPS="POTFILES.in"
3737     # ALL_LINGUAS, POFILES, UPDATEPOFILES, DUMMYPOFILES, GMOFILES depend
3738     # on $ac_dir but don't depend on user-specified configuration
3739     # parameters.
3740     if test -f "$ac_given_srcdir/$ac_dir/LINGUAS"; then
3741     # The LINGUAS file contains the set of available languages.
3742     if test -n "$OBSOLETE_ALL_LINGUAS"; then
3743     test -n "$as_me" && echo "$as_me: setting ALL_LINGUAS in configure.in is obsolete" || echo "setting ALL_LINGUAS in configure.in is obsolete"
3744     fi
3745     ALL_LINGUAS_=`sed -e "/^#/d" "$ac_given_srcdir/$ac_dir/LINGUAS"`
3746     # Hide the ALL_LINGUAS assigment from automake.
3747     eval 'ALL_LINGUAS''=$ALL_LINGUAS_'
3748     POMAKEFILEDEPS="$POMAKEFILEDEPS LINGUAS"
3749     else
3750     # The set of available languages was given in configure.in.
3751     eval 'ALL_LINGUAS''=$OBSOLETE_ALL_LINGUAS'
3752     fi
3753     # Compute POFILES
3754     # as $(foreach lang, $(ALL_LINGUAS), $(srcdir)/$(lang).po)
3755     # Compute UPDATEPOFILES
3756     # as $(foreach lang, $(ALL_LINGUAS), $(lang).po-update)
3757     # Compute DUMMYPOFILES
3758     # as $(foreach lang, $(ALL_LINGUAS), $(lang).nop)
3759     # Compute GMOFILES
3760     # as $(foreach lang, $(ALL_LINGUAS), $(srcdir)/$(lang).gmo)
3761     case "$ac_given_srcdir" in
3762     .) srcdirpre= ;;
3763     *) srcdirpre='$(srcdir)/' ;;
3764     esac
3765     POFILES=
3766     UPDATEPOFILES=
3767     DUMMYPOFILES=
3768     GMOFILES=
3769     for lang in $ALL_LINGUAS; do
3770     POFILES="$POFILES $srcdirpre$lang.po"
3771     UPDATEPOFILES="$UPDATEPOFILES $lang.po-update"
3772     DUMMYPOFILES="$DUMMYPOFILES $lang.nop"
3773     GMOFILES="$GMOFILES $srcdirpre$lang.gmo"
3774     done
3775     # CATALOGS depends on both $ac_dir and the user's LINGUAS
3776     # environment variable.
3777     INST_LINGUAS=
3778     if test -n "$ALL_LINGUAS"; then
3779     for presentlang in $ALL_LINGUAS; do
3780     useit=no
3781     if test "%UNSET%" != "$LINGUAS"; then
3782     desiredlanguages="$LINGUAS"
3783     else
3784     desiredlanguages="$ALL_LINGUAS"
3785     fi
3786     for desiredlang in $desiredlanguages; do
3787     # Use the presentlang catalog if desiredlang is
3788     # a. equal to presentlang, or
3789     # b. a variant of presentlang (because in this case,
3790     # presentlang can be used as a fallback for messages
3791     # which are not translated in the desiredlang catalog).
3792     case "$desiredlang" in
3793     "$presentlang"*) useit=yes;;
3794     esac
3795     done
3796     if test $useit = yes; then
3797     INST_LINGUAS="$INST_LINGUAS $presentlang"
3798     fi
3799     done
3800     fi
3801     CATALOGS=
3802     if test -n "$INST_LINGUAS"; then
3803     for lang in $INST_LINGUAS; do
3804     CATALOGS="$CATALOGS $lang.gmo"
3805     done
3806     fi
3807     test -n "$as_me" && echo "$as_me: creating $ac_dir/Makefile" || echo "creating $ac_dir/Makefile"
3808     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"
3809     for f in "$ac_given_srcdir/$ac_dir"/Rules-*; do
3810     if test -f "$f"; then
3811     case "$f" in
3812     *.orig | *.bak | *~) ;;
3813     *) cat "$f" >> "$ac_dir/Makefile" ;;
3814     esac
3815     fi
3816     done
3817     fi
3818     ;;
3819     esac
3820     done],
3821     [# Capture the value of obsolete ALL_LINGUAS because we need it to compute
3822     # POFILES, UPDATEPOFILES, DUMMYPOFILES, GMOFILES, CATALOGS. But hide it
3823     # from automake.
3824     eval 'OBSOLETE_ALL_LINGUAS''="$ALL_LINGUAS"'
3825     # Capture the value of LINGUAS because we need it to compute CATALOGS.
3826     LINGUAS="${LINGUAS-%UNSET%}"
3827     ])
3828     ])
3829     m4trace:m4/po.m4:208: -1- AC_DEFUN([AM_POSTPROCESS_PO_MAKEFILE], [
3830     # When this code is run, in config.status, two variables have already been
3831     # set:
3832     # - OBSOLETE_ALL_LINGUAS is the value of LINGUAS set in configure.in,
3833     # - LINGUAS is the value of the environment variable LINGUAS at configure
3834     # time.
3835    
3836     changequote(,)dnl
3837     # Adjust a relative srcdir.
3838     ac_dir=`echo "$ac_file"|sed 's%/[^/][^/]*$%%'`
3839     ac_dir_suffix="/`echo "$ac_dir"|sed 's%^\./%%'`"
3840     ac_dots=`echo "$ac_dir_suffix"|sed 's%/[^/]*%../%g'`
3841     # In autoconf-2.13 it is called $ac_given_srcdir.
3842     # In autoconf-2.50 it is called $srcdir.
3843     test -n "$ac_given_srcdir" || ac_given_srcdir="$srcdir"
3844     case "$ac_given_srcdir" in
3845     .) top_srcdir=`echo $ac_dots|sed 's%/$%%'` ;;
3846     /*) top_srcdir="$ac_given_srcdir" ;;
3847     *) top_srcdir="$ac_dots$ac_given_srcdir" ;;
3848     esac
3849    
3850     # Find a way to echo strings without interpreting backslash.
3851     if test "X`(echo '\t') 2>/dev/null`" = 'X\t'; then
3852     gt_echo='echo'
3853     else
3854     if test "X`(printf '%s\n' '\t') 2>/dev/null`" = 'X\t'; then
3855     gt_echo='printf %s\n'
3856     else
3857     echo_func () {
3858     cat <<EOT
3859     $*
3860     EOT
3861     }
3862     gt_echo='echo_func'
3863     fi
3864     fi
3865    
3866     # A sed script that extracts the value of VARIABLE from a Makefile.
3867     sed_x_variable='
3868     # Test if the hold space is empty.
3869     x
3870     s/P/P/
3871     x
3872     ta
3873     # Yes it was empty. Look if we have the expected variable definition.
3874     /^[ ]*VARIABLE[ ]*=/{
3875     # Seen the first line of the variable definition.
3876     s/^[ ]*VARIABLE[ ]*=//
3877     ba
3878     }
3879     bd
3880     :a
3881     # Here we are processing a line from the variable definition.
3882     # Remove comment, more precisely replace it with a space.
3883     s/#.*$/ /
3884     # See if the line ends in a backslash.
3885     tb
3886     :b
3887     s/\\$//
3888     # Print the line, without the trailing backslash.
3889     p
3890     tc
3891     # There was no trailing backslash. The end of the variable definition is
3892     # reached. Clear the hold space.
3893     s/^.*$//
3894     x
3895     bd
3896     :c
3897     # A trailing backslash means that the variable definition continues in the
3898     # next line. Put a nonempty string into the hold space to indicate this.
3899     s/^.*$/P/
3900     x
3901     :d
3902     '
3903     changequote([,])dnl
3904    
3905     # Set POTFILES to the value of the Makefile variable POTFILES.
3906     sed_x_POTFILES="`$gt_echo \"$sed_x_variable\" | sed -e '/^ *#/d' -e 's/VARIABLE/POTFILES/g'`"
3907     POTFILES=`sed -n -e "$sed_x_POTFILES" < "$ac_file"`
3908     # Compute POTFILES_DEPS as
3909     # $(foreach file, $(POTFILES), $(top_srcdir)/$(file))
3910     POTFILES_DEPS=
3911     for file in $POTFILES; do
3912     POTFILES_DEPS="$POTFILES_DEPS "'$(top_srcdir)/'"$file"
3913     done
3914     POMAKEFILEDEPS=""
3915    
3916     if test -n "$OBSOLETE_ALL_LINGUAS"; then
3917     test -n "$as_me" && echo "$as_me: setting ALL_LINGUAS in configure.in is obsolete" || echo "setting ALL_LINGUAS in configure.in is obsolete"
3918     fi
3919     if test -f "$ac_given_srcdir/$ac_dir/LINGUAS"; then
3920     # The LINGUAS file contains the set of available languages.
3921     ALL_LINGUAS_=`sed -e "/^#/d" "$ac_given_srcdir/$ac_dir/LINGUAS"`
3922     POMAKEFILEDEPS="$POMAKEFILEDEPS LINGUAS"
3923     else
3924     # Set ALL_LINGUAS to the value of the Makefile variable LINGUAS.
3925     sed_x_LINGUAS="`$gt_echo \"$sed_x_variable\" | sed -e '/^ *#/d' -e 's/VARIABLE/LINGUAS/g'`"
3926     ALL_LINGUAS_=`sed -n -e "$sed_x_LINGUAS" < "$ac_file"`
3927     fi
3928     # Hide the ALL_LINGUAS assigment from automake.
3929     eval 'ALL_LINGUAS''=$ALL_LINGUAS_'
3930     # Compute POFILES
3931     # as $(foreach lang, $(ALL_LINGUAS), $(srcdir)/$(lang).po)
3932     # Compute UPDATEPOFILES
3933     # as $(foreach lang, $(ALL_LINGUAS), $(lang).po-update)
3934     # Compute DUMMYPOFILES
3935     # as $(foreach lang, $(ALL_LINGUAS), $(lang).nop)
3936     # Compute GMOFILES
3937     # as $(foreach lang, $(ALL_LINGUAS), $(srcdir)/$(lang).gmo)
3938     # Compute PROPERTIESFILES
3939     # as $(foreach lang, $(ALL_LINGUAS), $(top_srcdir)/$(DOMAIN)_$(lang).properties)
3940     # Compute CLASSFILES
3941     # as $(foreach lang, $(ALL_LINGUAS), $(top_srcdir)/$(DOMAIN)_$(lang).class)
3942     # Compute QMFILES
3943     # as $(foreach lang, $(ALL_LINGUAS), $(srcdir)/$(lang).qm)
3944     # Compute MSGFILES
3945     # as $(foreach lang, $(ALL_LINGUAS), $(srcdir)/$(frob $(lang)).msg)
3946     # Compute RESOURCESDLLFILES
3947     # as $(foreach lang, $(ALL_LINGUAS), $(srcdir)/$(frob $(lang))/$(DOMAIN).resources.dll)
3948     case "$ac_given_srcdir" in
3949     .) srcdirpre= ;;
3950     *) srcdirpre='$(srcdir)/' ;;
3951     esac
3952     POFILES=
3953     UPDATEPOFILES=
3954     DUMMYPOFILES=
3955     GMOFILES=
3956     PROPERTIESFILES=
3957     CLASSFILES=
3958     QMFILES=
3959     MSGFILES=
3960     RESOURCESDLLFILES=
3961     for lang in $ALL_LINGUAS; do
3962     POFILES="$POFILES $srcdirpre$lang.po"
3963     UPDATEPOFILES="$UPDATEPOFILES $lang.po-update"
3964     DUMMYPOFILES="$DUMMYPOFILES $lang.nop"
3965     GMOFILES="$GMOFILES $srcdirpre$lang.gmo"
3966     PROPERTIESFILES="$PROPERTIESFILES \$(top_srcdir)/\$(DOMAIN)_$lang.properties"
3967     CLASSFILES="$CLASSFILES \$(top_srcdir)/\$(DOMAIN)_$lang.class"
3968     QMFILES="$QMFILES $srcdirpre$lang.qm"
3969     frobbedlang=`echo $lang | sed -e 's/\..*$//' -e 'y/ABCDEFGHIJKLMNOPQRSTUVWXYZ/abcdefghijklmnopqrstuvwxyz/'`
3970     MSGFILES="$MSGFILES $srcdirpre$frobbedlang.msg"
3971     frobbedlang=`echo $lang | sed -e 's/_/-/g'`
3972     RESOURCESDLLFILES="$RESOURCESDLLFILES $srcdirpre$frobbedlang/\$(DOMAIN).resources.dll"
3973     done
3974     # CATALOGS depends on both $ac_dir and the user's LINGUAS
3975     # environment variable.
3976     INST_LINGUAS=
3977     if test -n "$ALL_LINGUAS"; then
3978     for presentlang in $ALL_LINGUAS; do
3979     useit=no
3980     if test "%UNSET%" != "$LINGUAS"; then
3981     desiredlanguages="$LINGUAS"
3982     else
3983     desiredlanguages="$ALL_LINGUAS"
3984     fi
3985     for desiredlang in $desiredlanguages; do
3986     # Use the presentlang catalog if desiredlang is
3987     # a. equal to presentlang, or
3988     # b. a variant of presentlang (because in this case,
3989     # presentlang can be used as a fallback for messages
3990     # which are not translated in the desiredlang catalog).
3991     case "$desiredlang" in
3992     "$presentlang"*) useit=yes;;
3993     esac
3994     done
3995     if test $useit = yes; then
3996     INST_LINGUAS="$INST_LINGUAS $presentlang"
3997     fi
3998     done
3999     fi
4000     CATALOGS=
4001     JAVACATALOGS=
4002     QTCATALOGS=
4003     TCLCATALOGS=
4004     CSHARPCATALOGS=
4005     if test -n "$INST_LINGUAS"; then
4006     for lang in $INST_LINGUAS; do
4007     CATALOGS="$CATALOGS $lang.gmo"
4008     JAVACATALOGS="$JAVACATALOGS \$(DOMAIN)_$lang.properties"
4009     QTCATALOGS="$QTCATALOGS $lang.qm"
4010     frobbedlang=`echo $lang | sed -e 's/\..*$//' -e 'y/ABCDEFGHIJKLMNOPQRSTUVWXYZ/abcdefghijklmnopqrstuvwxyz/'`
4011     TCLCATALOGS="$TCLCATALOGS $frobbedlang.msg"
4012     frobbedlang=`echo $lang | sed -e 's/_/-/g'`
4013     CSHARPCATALOGS="$CSHARPCATALOGS $frobbedlang/\$(DOMAIN).resources.dll"
4014     done
4015     fi
4016    
4017     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"
4018     if grep -l '@TCLCATALOGS@' "$ac_file" > /dev/null; then
4019     # Add dependencies that cannot be formulated as a simple suffix rule.
4020     for lang in $ALL_LINGUAS; do
4021     frobbedlang=`echo $lang | sed -e 's/\..*$//' -e 'y/ABCDEFGHIJKLMNOPQRSTUVWXYZ/abcdefghijklmnopqrstuvwxyz/'`
4022     cat >> "$ac_file.tmp" <<EOF
4023     $frobbedlang.msg: $lang.po
4024     @echo "\$(MSGFMT) -c --tcl -d \$(srcdir) -l $lang $srcdirpre$lang.po"; \
4025     \$(MSGFMT) -c --tcl -d "\$(srcdir)" -l $lang $srcdirpre$lang.po || { rm -f "\$(srcdir)/$frobbedlang.msg"; exit 1; }
4026     EOF
4027     done
4028     fi
4029     if grep -l '@CSHARPCATALOGS@' "$ac_file" > /dev/null; then
4030     # Add dependencies that cannot be formulated as a simple suffix rule.
4031     for lang in $ALL_LINGUAS; do
4032     frobbedlang=`echo $lang | sed -e 's/_/-/g'`
4033     cat >> "$ac_file.tmp" <<EOF
4034