1 m4trace:/usr/share/aclocal/argz.m4:12: -1- AC_DEFUN([gl_FUNC_ARGZ], [gl_PREREQ_ARGZ
3 AC_CHECK_HEADERS([argz.h], [], [], [AC_INCLUDES_DEFAULT])
5 AC_CHECK_TYPES([error_t],
7 [AC_DEFINE([error_t], [int],
8 [Define to a type to use for `error_t' if it is not otherwise available.])
9 AC_DEFINE([__error_t_defined], [1], [Define so that glibc/gnulib argp.h
10 does not typedef error_t.])],
11 [#if defined(HAVE_ARGZ_H)
16 AC_CHECK_FUNCS([argz_add argz_append argz_count argz_create_sep argz_insert \
17 argz_next argz_stringify], [], [ARGZ_H=argz.h; AC_LIBOBJ([argz])])
19 dnl if have system argz functions, allow forced use of
20 dnl libltdl-supplied implementation (and default to do so
21 dnl on "known bad" systems). Could use a runtime check, but
22 dnl (a) detecting malloc issues is notoriously unreliable
23 dnl (b) only known system that declares argz functions,
24 dnl provides them, yet they are broken, is cygwin
25 dnl releases prior to 16-Mar-2007 (1.5.24 and earlier)
26 dnl So, it's more straightforward simply to special case
27 dnl this for known bad systems.
28 AS_IF([test -z "$ARGZ_H"],
30 [if argz actually works],
31 [lt_cv_sys_argz_works],
34 lt_cv_sys_argz_works=no
35 if test "$cross_compiling" != no; then
36 lt_cv_sys_argz_works="guessing no"
38 lt_sed_extract_leading_digits='s/^\([0-9\.]*\).*/\1/'
41 set x `uname -r | sed -e "$lt_sed_extract_leading_digits"`
46 if test "$lt_os_major" -gt 1 \
47 || { test "$lt_os_major" -eq 1 \
48 && { test "$lt_os_minor" -gt 5 \
49 || { test "$lt_os_minor" -eq 5 \
50 && test "$lt_os_micro" -gt 24; }; }; }; then
51 lt_cv_sys_argz_works=yes
55 *) lt_cv_sys_argz_works=yes ;;
57 AS_IF([test $lt_cv_sys_argz_works = yes],
58 [AC_DEFINE([HAVE_WORKING_ARGZ], 1,
59 [This value is set to 1 to indicate that the system argz facility works])],
65 m4trace:/usr/share/aclocal/argz.m4:79: -1- AC_DEFUN([gl_PREREQ_ARGZ], [:])
66 m4trace:/usr/share/aclocal/ltdl.m4:16: -1- AC_DEFUN([LT_CONFIG_LTDL_DIR], [AC_BEFORE([$0], [LTDL_INIT])
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
78 m4trace:/usr/share/aclocal/ltdl.m4:81: -1- AU_DEFUN([AC_LIBLTDL_CONVENIENCE], [_LT_CONFIG_LTDL_DIR([m4_default([$1], [libltdl])])
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])])
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
93 m4trace:/usr/share/aclocal/ltdl.m4:137: -1- AU_DEFUN([AC_LIBLTDL_INSTALLABLE], [_LT_CONFIG_LTDL_DIR([m4_default([$1], [libltdl])])
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])])
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"
103 m4trace:/usr/share/aclocal/ltdl.m4:226: -1- AC_DEFUN([LTDL_INIT], [dnl Parse OPTIONS
104 _LT_SET_OPTIONS([$0], [$1])
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])
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)])])
118 AC_ARG_WITH([included_ltdl],
119 [AS_HELP_STRING([--with-included-ltdl],
120 [use the GNU ltdl sources included here])])
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],
132 #include <ltdl.h>])],
133 [with_included_ltdl=yes],
134 [AC_INCLUDES_DEFAULT]
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])])
143 AC_ARG_WITH([ltdl_include],
144 [AS_HELP_STRING([--with-ltdl-include=DIR],
145 [use the ltdl headers installed in DIR])])
147 if test -n "$with_ltdl_include"; then
148 if test -f "$with_ltdl_include/ltdl.h"; then :
150 AC_MSG_ERROR([invalid ltdl include directory: `$with_ltdl_include'])
156 AC_ARG_WITH([ltdl_lib],
157 [AS_HELP_STRING([--with-ltdl-lib=DIR],
158 [use the libltdl.la installed in DIR])])
160 if test -n "$with_ltdl_lib"; then
161 if test -f "$with_ltdl_lib/libltdl.la"; then :
163 AC_MSG_ERROR([invalid ltdl library directory: `$with_ltdl_lib'])
169 case ,$with_included_ltdl,$with_ltdl_include,$with_ltdl_lib, in
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)])
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])
186 AC_MSG_ERROR([`--with-ltdl-include' and `--with-ltdl-lib' options must be used together])
188 *) with_included_ltdl=no
189 LIBLTDL="-L$with_ltdl_lib -lltdl"
191 LTDLINCL="-I$with_ltdl_include"
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])
204 dnl restore autoconf definition.
205 m4_popdef([AC_LIBOBJ])
206 m4_popdef([AC_LIBSOURCES])
208 AC_CONFIG_COMMANDS_PRE([
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"
219 AC_SUBST([ltdl_LIBOBJS], [$_ltdl_libobjs])
220 AC_SUBST([ltdl_LTLIBOBJS], [$_ltdl_ltlibobjs])
224 m4_define([LTDL_INIT])
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
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
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
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
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
253 dnl Don't require this, or it will be expanded earlier than the code
254 dnl that sets the variables it relies on:
257 dnl _LTDL_MODE specific code must be called at least once:
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,[[ :]].*$,,'`],
272 AC_SUBST([LT_CONFIG_H])
274 AC_CHECK_HEADERS([unistd.h dl.h sys/dl.h dld.h mach-o/dyld.h dirent.h],
275 [], [], [AC_INCLUDES_DEFAULT])
277 AC_CHECK_FUNCS([closedir opendir readdir], [], [AC_LIBOBJ([lt__dirent])])
278 AC_CHECK_FUNCS([strlcat strlcpy], [], [AC_LIBOBJ([lt__strl])])
280 AC_DEFINE_UNQUOTED([LT_LIBEXT],["$libext"],[The archive extension])
283 LTDLOPEN=`eval "\\$ECHO \"$libname_spec\""`
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
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
301 lt_cv_sys_dlopen_deplibs=yes
306 lt_cv_sys_dlopen_deplibs=no
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
315 freebsd* | dragonfly*)
316 lt_cv_sys_dlopen_deplibs=yes
318 gnu* | linux* | k*bsd*-gnu)
319 # GNU and its variants, using gnu ld.so (Glibc)
320 lt_cv_sys_dlopen_deplibs=yes
323 lt_cv_sys_dlopen_deplibs=yes
326 lt_cv_sys_dlopen_deplibs=yes
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
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
339 lt_cv_sys_dlopen_deplibs=yes
342 lt_cv_sys_dlopen_deplibs=yes
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
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
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
367 lt_cv_sys_dlopen_deplibs=yes
370 lt_cv_sys_dlopen_deplibs=yes
372 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
373 libltdl_cv_sys_dlopen_deplibs=yes
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().])
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],
391 eval libltdl_cv_shlibext=$shrext_cmds
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".])
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.])
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
422 for dir in $lt_cv_sys_dlsearch_path; do
423 if test -z "$sys_dlsearch_path"; then
424 sys_dlsearch_path="$dir"
426 sys_dlsearch_path="$sys_dlsearch_path$PATH_SEPARATOR$dir"
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.])
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$])
440 AC_SUBST([LT_DLLOADERS])
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
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
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
469 LIBS="$LIBS $LIBADD_DLOPEN"
470 AC_CHECK_FUNCS([dlerror])
473 AC_SUBST([LIBADD_DLOPEN])
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])
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"])
496 LT_DLLOADERS="$LT_DLLOADERS ${lt_dlopen_dir+$lt_dlopen_dir/}load_add_on.la"
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"
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])
510 m4_pattern_allow([^LT_DLPREOPEN$])
512 if test -n "$LT_DLLOADERS"
514 for lt_loader in $LT_DLLOADERS; do
515 LT_DLPREOPEN="$LT_DLPREOPEN-dlpreopen $lt_loader "
517 AC_DEFINE([HAVE_LIBDLLOADER], [1],
518 [Define if libdlloader will be built on this platform])
520 AC_SUBST([LT_DLPREOPEN])
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])
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;}
540 if AC_TRY_EVAL(ac_compile); then
541 # Now try to grab the symbols.
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
548 if grep '^. nm_test_func ' "$ac_nlist" >/dev/null; then
551 echo "configure: cannot find nm_test_func in $ac_nlist" >&AS_MESSAGE_LOG_FD
555 echo "configure: cannot run $lt_cv_sys_global_symbol_pipe" >&AS_MESSAGE_LOG_FD
558 echo "configure: failed program was:" >&AS_MESSAGE_LOG_FD
559 cat conftest.c >&AS_MESSAGE_LOG_FD
563 sys_symbol_underscore=$lt_cv_sys_symbol_underscore
564 AC_SUBST([sys_symbol_underscore])
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
578 LIBS="$LIBS $LIBADD_DLOPEN"
580 [libltdl_cv_need_uscore=no], [libltdl_cv_need_uscore=yes],
581 [], [libltdl_cv_need_uscore=cross])
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.])
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:27: -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])
599 AC_ARG_VAR([PKG_CONFIG_PATH], [directories to add to pkg-config's search path])
600 AC_ARG_VAR([PKG_CONFIG_LIBDIR], [path overriding pkg-config's built-in search path])
602 if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
603 AC_PATH_TOOL([PKG_CONFIG], [pkg-config])
605 if test -n "$PKG_CONFIG"; then
606 _pkg_min_version=m4_default([$1], [0.9.0])
607 AC_MSG_CHECKING([pkg-config is at least version $_pkg_min_version])
608 if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
616 m4trace:/usr/share/aclocal/pkg.m4:59: -1- AC_DEFUN([PKG_CHECK_EXISTS], [AC_REQUIRE([PKG_PROG_PKG_CONFIG])dnl
617 if test -n "$PKG_CONFIG" && \
618 AC_RUN_LOG([$PKG_CONFIG --exists --print-errors "$1"]); then
619 m4_default([$2], [:])
620 m4_ifvaln([$3], [else
623 m4trace:/usr/share/aclocal/pkg.m4:84: -1- AC_DEFUN([_PKG_SHORT_ERRORS_SUPPORTED], [AC_REQUIRE([PKG_PROG_PKG_CONFIG])
624 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
625 _pkg_short_errors_supported=yes
627 _pkg_short_errors_supported=no
630 m4trace:/usr/share/aclocal/pkg.m4:104: -1- AC_DEFUN([PKG_CHECK_MODULES], [AC_REQUIRE([PKG_PROG_PKG_CONFIG])dnl
631 AC_ARG_VAR([$1][_CFLAGS], [C compiler flags for $1, overriding pkg-config])dnl
632 AC_ARG_VAR([$1][_LIBS], [linker flags for $1, overriding pkg-config])dnl
635 AC_MSG_CHECKING([for $1])
637 _PKG_CONFIG([$1][_CFLAGS], [cflags], [$2])
638 _PKG_CONFIG([$1][_LIBS], [libs], [$2])
640 m4_define([_PKG_TEXT], [Alternatively, you may set the environment variables $1[]_CFLAGS
641 and $1[]_LIBS to avoid the need to call pkg-config.
642 See the pkg-config man page for more details.])
644 if test $pkg_failed = yes; then
646 _PKG_SHORT_ERRORS_SUPPORTED
647 if test $_pkg_short_errors_supported = yes; then
648 $1[]_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors "$2" 2>&1`
650 $1[]_PKG_ERRORS=`$PKG_CONFIG --print-errors "$2" 2>&1`
652 # Put the nasty error message in config.log where it belongs
653 echo "$$1[]_PKG_ERRORS" >&AS_MESSAGE_LOG_FD
655 m4_default([$4], [AC_MSG_ERROR(
656 [Package requirements ($2) were not met:
660 Consider adjusting the PKG_CONFIG_PATH environment variable if you
661 installed software in a non-standard prefix.
665 elif test $pkg_failed = untried; then
667 m4_default([$4], [AC_MSG_FAILURE(
668 [The pkg-config script could not be found or is too old. Make sure it
669 is in your PATH or set the PKG_CONFIG environment variable to the full
674 To get pkg-config, see <http://pkg-config.freedesktop.org/>.])dnl
677 $1[]_CFLAGS=$pkg_cv_[]$1[]_CFLAGS
678 $1[]_LIBS=$pkg_cv_[]$1[]_LIBS
683 m4trace:/usr/share/aclocal-1.11/amversion.m4:14: -1- AC_DEFUN([AM_AUTOMAKE_VERSION], [am__api_version='1.11'
684 dnl Some users find AM_AUTOMAKE_VERSION and mistake it for a way to
685 dnl require some minimum version. Point them to the right macro.
686 m4_if([$1], [1.11.1], [],
687 [AC_FATAL([Do not call $0, use AM_INIT_AUTOMAKE([$1]).])])dnl
689 m4trace:/usr/share/aclocal-1.11/amversion.m4:33: -1- AC_DEFUN([AM_SET_CURRENT_AUTOMAKE_VERSION], [AM_AUTOMAKE_VERSION([1.11.1])dnl
690 m4_ifndef([AC_AUTOCONF_VERSION],
691 [m4_copy([m4_PACKAGE_VERSION], [AC_AUTOCONF_VERSION])])dnl
692 _AM_AUTOCONF_VERSION(m4_defn([AC_AUTOCONF_VERSION]))])
693 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.
695 # expand $ac_aux_dir to an absolute path
696 am_aux_dir=`cd $ac_aux_dir && pwd`
698 m4trace:/usr/share/aclocal-1.11/cond.m4:15: -1- AC_DEFUN([AM_CONDITIONAL], [AC_PREREQ(2.52)dnl
699 ifelse([$1], [TRUE], [AC_FATAL([$0: invalid condition: $1])],
700 [$1], [FALSE], [AC_FATAL([$0: invalid condition: $1])])dnl
701 AC_SUBST([$1_TRUE])dnl
702 AC_SUBST([$1_FALSE])dnl
703 _AM_SUBST_NOTMAKE([$1_TRUE])dnl
704 _AM_SUBST_NOTMAKE([$1_FALSE])dnl
705 m4_define([_AM_COND_VALUE_$1], [$2])dnl
713 AC_CONFIG_COMMANDS_PRE(
714 [if test -z "${$1_TRUE}" && test -z "${$1_FALSE}"; then
715 AC_MSG_ERROR([[conditional "$1" was never defined.
716 Usually this means the macro was only invoked conditionally.]])
718 m4trace:/usr/share/aclocal-1.11/depend.m4:28: -1- AC_DEFUN([_AM_DEPENDENCIES], [AC_REQUIRE([AM_SET_DEPDIR])dnl
719 AC_REQUIRE([AM_OUTPUT_DEPENDENCY_COMMANDS])dnl
720 AC_REQUIRE([AM_MAKE_INCLUDE])dnl
721 AC_REQUIRE([AM_DEP_TRACK])dnl
723 ifelse([$1], CC, [depcc="$CC" am_compiler_list=],
724 [$1], CXX, [depcc="$CXX" am_compiler_list=],
725 [$1], OBJC, [depcc="$OBJC" am_compiler_list='gcc3 gcc'],
726 [$1], UPC, [depcc="$UPC" am_compiler_list=],
727 [$1], GCJ, [depcc="$GCJ" am_compiler_list='gcc3 gcc'],
728 [depcc="$$1" am_compiler_list=])
730 AC_CACHE_CHECK([dependency style of $depcc],
731 [am_cv_$1_dependencies_compiler_type],
732 [if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
733 # We make a subdir and do the tests there. Otherwise we can end up
734 # making bogus files that we don't know about and never remove. For
735 # instance it was reported that on HP-UX the gcc test will end up
736 # making a dummy file named `D' -- because `-MD' means `put the output
739 # Copy depcomp to subdir because otherwise we won't find it if we're
740 # using a relative directory.
741 cp "$am_depcomp" conftest.dir
743 # We will build objects and dependencies in a subdirectory because
744 # it helps to detect inapplicable dependency modes. For instance
745 # both Tru64's cc and ICC support -MD to output dependencies as a
746 # side effect of compilation, but ICC will put the dependencies in
747 # the current directory while Tru64 will put them in the object
751 am_cv_$1_dependencies_compiler_type=none
752 if test "$am_compiler_list" = ""; then
753 am_compiler_list=`sed -n ['s/^#*\([a-zA-Z0-9]*\))$/\1/p'] < ./depcomp`
757 [case " $depcc " in #(
758 *\ -arch\ *\ -arch\ *) am__universal=true ;;
761 [case " $depcc " in #(
762 *\ -arch\ *\ -arch\ *) am__universal=true ;;
765 for depmode in $am_compiler_list; do
766 # Setup a source with many dependencies, because some compilers
767 # like to wrap large dependency lists on column 80 (with \), and
768 # we should not choose a depcomp mode which is confused by this.
770 # We need to recreate these files for each test, as the compiler may
771 # overwrite some of them when testing with obscure command lines.
772 # This happens at least with the AIX C compiler.
774 for i in 1 2 3 4 5 6; do
775 echo '#include "conftst'$i'.h"' >> sub/conftest.c
776 # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
777 # Solaris 8's {/usr,}/bin/sh.
778 touch sub/conftst$i.h
780 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
782 # We check with `-c' and `-o' for the sake of the "dashmstdout"
783 # mode. It turns out that the SunPro C++ compiler does not properly
784 # handle `-M -o', and we need to detect this. Also, some Intel
785 # versions had trouble with output in subdirs
786 am__obj=sub/conftest.${OBJEXT-o}
787 am__minus_obj="-o $am__obj"
790 # This depmode causes a compiler race in universal mode.
791 test "$am__universal" = false || continue
794 # after this tag, mechanisms are not by side-effect, so they'll
795 # only be used when explicitly requested
796 if test "x$enable_dependency_tracking" = xyes; then
802 msvisualcpp | msvcmsys)
803 # This compiler won't grok `-c -o', but also, the minuso test has
804 # not run yet. These depmodes are late enough in the game, and
805 # so weak that their functioning should not be impacted.
806 am__obj=conftest.${OBJEXT-o}
811 if depmode=$depmode \
812 source=sub/conftest.c object=$am__obj \
813 depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
814 $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
815 >/dev/null 2>conftest.err &&
816 grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
817 grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
818 grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
819 ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
820 # icc doesn't choke on unknown options, it will just issue warnings
821 # or remarks (even with -Werror). So we grep stderr for any message
822 # that says an option was ignored or not supported.
823 # When given -MP, icc 7.0 and 7.1 complain thusly:
824 # icc: Command line warning: ignoring option '-M'; no argument required
825 # The diagnosis changed in icc 8.0:
826 # icc: Command line remark: option '-MP' not supported
827 if (grep 'ignoring option' conftest.err ||
828 grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
829 am_cv_$1_dependencies_compiler_type=$depmode
838 am_cv_$1_dependencies_compiler_type=none
841 AC_SUBST([$1DEPMODE], [depmode=$am_cv_$1_dependencies_compiler_type])
842 AM_CONDITIONAL([am__fastdep$1], [
843 test "x$enable_dependency_tracking" != xno \
844 && test "$am_cv_$1_dependencies_compiler_type" = gcc3])
846 m4trace:/usr/share/aclocal-1.11/depend.m4:163: -1- AC_DEFUN([AM_SET_DEPDIR], [AC_REQUIRE([AM_SET_LEADING_DOT])dnl
847 AC_SUBST([DEPDIR], ["${am__leading_dot}deps"])dnl
849 m4trace:/usr/share/aclocal-1.11/depend.m4:171: -1- AC_DEFUN([AM_DEP_TRACK], [AC_ARG_ENABLE(dependency-tracking,
850 [ --disable-dependency-tracking speeds up one-time build
851 --enable-dependency-tracking do not reject slow dependency extractors])
852 if test "x$enable_dependency_tracking" != xno; then
853 am_depcomp="$ac_aux_dir/depcomp"
856 AM_CONDITIONAL([AMDEP], [test "x$enable_dependency_tracking" != xno])
857 AC_SUBST([AMDEPBACKSLASH])dnl
858 _AM_SUBST_NOTMAKE([AMDEPBACKSLASH])dnl
860 m4trace:/usr/share/aclocal-1.11/depout.m4:14: -1- AC_DEFUN([_AM_OUTPUT_DEPENDENCY_COMMANDS], [{
861 # Autoconf 2.62 quotes --file arguments for eval, but not when files
862 # are listed without --file. Let's play safe and only enable the eval
863 # if we detect the quoting.
864 case $CONFIG_FILES in
865 *\'*) eval set x "$CONFIG_FILES" ;;
866 *) set x $CONFIG_FILES ;;
871 # Strip MF so we end up with the name of the file.
872 mf=`echo "$mf" | sed -e 's/:.*$//'`
873 # Check whether this is an Automake generated Makefile or not.
874 # We used to match only the files named `Makefile.in', but
875 # some people rename them; so instead we look at the file content.
876 # Grep'ing the first line is not enough: some people post-process
877 # each Makefile.in and add a new line on top of each file to say so.
878 # Grep'ing the whole file is not good either: AIX grep has a line
879 # limit of 2048, but all sed's we know have understand at least 4000.
880 if sed -n 's,^#.*generated by automake.*,X,p' "$mf" | grep X >/dev/null 2>&1; then
881 dirpart=`AS_DIRNAME("$mf")`
885 # Extract the definition of DEPDIR, am__include, and am__quote
886 # from the Makefile without running `make'.
887 DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"`
888 test -z "$DEPDIR" && continue
889 am__include=`sed -n 's/^am__include = //p' < "$mf"`
890 test -z "am__include" && continue
891 am__quote=`sed -n 's/^am__quote = //p' < "$mf"`
892 # When using ansi2knr, U may be empty or an underscore; expand it
893 U=`sed -n 's/^U = //p' < "$mf"`
894 # Find all dependency output files, they are included files with
895 # $(DEPDIR) in their names. We invoke sed twice because it is the
896 # simplest approach to changing $(DEPDIR) to its actual value in the
898 for file in `sed -n "
899 s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
900 sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do
901 # Make sure the directory exists.
902 test -f "$dirpart/$file" && continue
903 fdir=`AS_DIRNAME(["$file"])`
904 AS_MKDIR_P([$dirpart/$fdir])
905 # echo "creating $dirpart/$file"
906 echo '# dummy' > "$dirpart/$file"
911 m4trace:/usr/share/aclocal-1.11/depout.m4:75: -1- AC_DEFUN([AM_OUTPUT_DEPENDENCY_COMMANDS], [AC_CONFIG_COMMANDS([depfiles],
912 [test x"$AMDEP_TRUE" != x"" || _AM_OUTPUT_DEPENDENCY_COMMANDS],
913 [AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"])
915 m4trace:/usr/share/aclocal-1.11/init.m4:26: -1- AC_DEFUN([AM_INIT_AUTOMAKE], [AC_PREREQ([2.62])dnl
916 dnl Autoconf wants to disallow AM_ names. We explicitly allow
917 dnl the ones we care about.
918 m4_pattern_allow([^AM_[A-Z]+FLAGS$])dnl
919 AC_REQUIRE([AM_SET_CURRENT_AUTOMAKE_VERSION])dnl
920 AC_REQUIRE([AC_PROG_INSTALL])dnl
921 if test "`cd $srcdir && pwd`" != "`pwd`"; then
922 # Use -I$(srcdir) only when $(srcdir) != ., so that make's output
923 # is not polluted with repeated "-I."
924 AC_SUBST([am__isrc], [' -I$(srcdir)'])_AM_SUBST_NOTMAKE([am__isrc])dnl
925 # test to see if srcdir already configured
926 if test -f $srcdir/config.status; then
927 AC_MSG_ERROR([source directory already configured; run "make distclean" there first])
931 # test whether we have cygpath
932 if test -z "$CYGPATH_W"; then
933 if (cygpath --version) >/dev/null 2>/dev/null; then
934 CYGPATH_W='cygpath -w'
939 AC_SUBST([CYGPATH_W])
941 # Define the identity of the package.
942 dnl Distinguish between old-style and new-style calls.
944 [m4_ifval([$3], [_AM_SET_OPTION([no-define])])dnl
945 AC_SUBST([PACKAGE], [$1])dnl
946 AC_SUBST([VERSION], [$2])],
947 [_AM_SET_OPTIONS([$1])dnl
948 dnl Diagnose old-style AC_INIT with new-style AM_AUTOMAKE_INIT.
949 m4_if(m4_ifdef([AC_PACKAGE_NAME], 1)m4_ifdef([AC_PACKAGE_VERSION], 1), 11,,
950 [m4_fatal([AC_INIT should be called with package and version arguments])])dnl
951 AC_SUBST([PACKAGE], ['AC_PACKAGE_TARNAME'])dnl
952 AC_SUBST([VERSION], ['AC_PACKAGE_VERSION'])])dnl
954 _AM_IF_OPTION([no-define],,
955 [AC_DEFINE_UNQUOTED(PACKAGE, "$PACKAGE", [Name of package])
956 AC_DEFINE_UNQUOTED(VERSION, "$VERSION", [Version number of package])])dnl
958 # Some tools Automake needs.
959 AC_REQUIRE([AM_SANITY_CHECK])dnl
960 AC_REQUIRE([AC_ARG_PROGRAM])dnl
961 AM_MISSING_PROG(ACLOCAL, aclocal-${am__api_version})
962 AM_MISSING_PROG(AUTOCONF, autoconf)
963 AM_MISSING_PROG(AUTOMAKE, automake-${am__api_version})
964 AM_MISSING_PROG(AUTOHEADER, autoheader)
965 AM_MISSING_PROG(MAKEINFO, makeinfo)
966 AC_REQUIRE([AM_PROG_INSTALL_SH])dnl
967 AC_REQUIRE([AM_PROG_INSTALL_STRIP])dnl
968 AC_REQUIRE([AM_PROG_MKDIR_P])dnl
969 # We need awk for the "check" target. The system "awk" is bad on
971 AC_REQUIRE([AC_PROG_AWK])dnl
972 AC_REQUIRE([AC_PROG_MAKE_SET])dnl
973 AC_REQUIRE([AM_SET_LEADING_DOT])dnl
974 _AM_IF_OPTION([tar-ustar], [_AM_PROG_TAR([ustar])],
975 [_AM_IF_OPTION([tar-pax], [_AM_PROG_TAR([pax])],
976 [_AM_PROG_TAR([v7])])])
977 _AM_IF_OPTION([no-dependencies],,
978 [AC_PROVIDE_IFELSE([AC_PROG_CC],
979 [_AM_DEPENDENCIES(CC)],
980 [define([AC_PROG_CC],
981 defn([AC_PROG_CC])[_AM_DEPENDENCIES(CC)])])dnl
982 AC_PROVIDE_IFELSE([AC_PROG_CXX],
983 [_AM_DEPENDENCIES(CXX)],
984 [define([AC_PROG_CXX],
985 defn([AC_PROG_CXX])[_AM_DEPENDENCIES(CXX)])])dnl
986 AC_PROVIDE_IFELSE([AC_PROG_OBJC],
987 [_AM_DEPENDENCIES(OBJC)],
988 [define([AC_PROG_OBJC],
989 defn([AC_PROG_OBJC])[_AM_DEPENDENCIES(OBJC)])])dnl
991 _AM_IF_OPTION([silent-rules], [AC_REQUIRE([AM_SILENT_RULES])])dnl
992 dnl The `parallel-tests' driver may need to know about EXEEXT, so add the
993 dnl `am__EXEEXT' conditional if _AM_COMPILER_EXEEXT was seen. This macro
994 dnl is hooked onto _AC_COMPILER_EXEEXT early, see below.
995 AC_CONFIG_COMMANDS_PRE(dnl
996 [m4_provide_if([_AM_COMPILER_EXEEXT],
997 [AM_CONDITIONAL([am__EXEEXT], [test -n "$EXEEXT"])])])dnl
999 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 for _am_header in $config_headers :; do
1004 $_am_arg | $_am_arg:* )
1007 _am_stamp_count=`expr $_am_stamp_count + 1` ;;
1010 echo "timestamp for $_am_arg" >`AS_DIRNAME(["$_am_arg"])`/stamp-h[]$_am_stamp_count])
1011 m4trace:/usr/share/aclocal-1.11/install-sh.m4:11: -1- AC_DEFUN([AM_PROG_INSTALL_SH], [AC_REQUIRE([AM_AUX_DIR_EXPAND])dnl
1012 if test x"${install_sh}" != xset; then
1015 install_sh="\${SHELL} '$am_aux_dir/install-sh'" ;;
1017 install_sh="\${SHELL} $am_aux_dir/install-sh"
1020 AC_SUBST(install_sh)])
1021 m4trace:/usr/share/aclocal-1.11/lead-dot.m4:12: -1- AC_DEFUN([AM_SET_LEADING_DOT], [rm -rf .tst 2>/dev/null
1022 mkdir .tst 2>/dev/null
1023 if test -d .tst; then
1028 rmdir .tst 2>/dev/null
1029 AC_SUBST([am__leading_dot])])
1030 m4trace:/usr/share/aclocal-1.11/make.m4:14: -1- AC_DEFUN([AM_MAKE_INCLUDE], [am_make=${MAKE-make}
1031 cat > confinc << 'END'
1033 @echo this is the am__doit target
1036 # If we don't find an include directive, just comment out the code.
1037 AC_MSG_CHECKING([for style of include used by $am_make])
1041 # First try GNU make style include.
1042 echo "include confinc" > confmf
1043 # Ignore all kinds of additional output from `make'.
1044 case `$am_make -s -f confmf 2> /dev/null` in #(
1045 *the\ am__doit\ target*)
1051 # Now try BSD make style include.
1052 if test "$am__include" = "#"; then
1053 echo '.include "confinc"' > confmf
1054 case `$am_make -s -f confmf 2> /dev/null` in #(
1055 *the\ am__doit\ target*)
1056 am__include=.include
1062 AC_SUBST([am__include])
1063 AC_SUBST([am__quote])
1064 AC_MSG_RESULT([$_am_result])
1065 rm -f confinc confmf
1067 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
1068 AC_REQUIRE([AM_AUX_DIR_EXPAND])dnl
1069 AC_REQUIRE_AUX_FILE([compile])dnl
1070 # FIXME: we rely on the cache variable name because
1071 # there is no other way.
1073 am_cc=`echo $[2] | sed ['s/[^a-zA-Z0-9_]/_/g;s/^[0-9]/_/']`
1074 eval am_t=\$ac_cv_prog_cc_${am_cc}_c_o
1075 if test "$am_t" != yes; then
1076 # Losing compiler, so override with the script.
1077 # FIXME: It is wrong to rewrite CC.
1078 # But if we don't then we get into trouble of one sort or another.
1079 # A longer-term fix would be to have automake use am__CC in this case,
1080 # and then we could set am__CC="\$(top_srcdir)/compile \$(CC)"
1081 CC="$am_aux_dir/compile $CC"
1083 dnl Make sure AC_PROG_CC is never called again, or it will override our
1085 m4_define([AC_PROG_CC],
1086 [m4_fatal([AC_PROG_CC cannot be called after AM_PROG_CC_C_O])])
1088 m4trace:/usr/share/aclocal-1.11/missing.m4:14: -1- AC_DEFUN([AM_MISSING_PROG], [AC_REQUIRE([AM_MISSING_HAS_RUN])
1089 $1=${$1-"${am_missing_run}$2"}
1091 m4trace:/usr/share/aclocal-1.11/missing.m4:24: -1- AC_DEFUN([AM_MISSING_HAS_RUN], [AC_REQUIRE([AM_AUX_DIR_EXPAND])dnl
1092 AC_REQUIRE_AUX_FILE([missing])dnl
1093 if test x"${MISSING+set}" != xset; then
1096 MISSING="\${SHELL} \"$am_aux_dir/missing\"" ;;
1098 MISSING="\${SHELL} $am_aux_dir/missing" ;;
1101 # Use eval to expand $SHELL
1102 if eval "$MISSING --run true"; then
1103 am_missing_run="$MISSING --run "
1106 AC_MSG_WARN([`missing' script is too old or missing])
1109 m4trace:/usr/share/aclocal-1.11/mkdirp.m4:11: -1- AC_DEFUN([AM_PROG_MKDIR_P], [AC_PREREQ([2.60])dnl
1110 AC_REQUIRE([AC_PROG_MKDIR_P])dnl
1111 dnl Automake 1.8 to 1.9.6 used to define mkdir_p. We now use MKDIR_P,
1112 dnl while keeping a definition of mkdir_p for backward compatibility.
1113 dnl @MKDIR_P@ is magic: AC_OUTPUT adjusts its value for each Makefile.
1114 dnl However we cannot define mkdir_p as $(MKDIR_P) for the sake of
1115 dnl Makefile.ins that do not define MKDIR_P, so we do our own
1116 dnl adjustment using top_builddir (which is defined more often than
1118 AC_SUBST([mkdir_p], ["$MKDIR_P"])dnl
1120 [[\\/$]]* | ?:[[\\/]]*) ;;
1121 */*) mkdir_p="\$(top_builddir)/$mkdir_p" ;;
1124 m4trace:/usr/share/aclocal-1.11/options.m4:13: -1- AC_DEFUN([_AM_MANGLE_OPTION], [[_AM_OPTION_]m4_bpatsubst($1, [[^a-zA-Z0-9_]], [_])])
1125 m4trace:/usr/share/aclocal-1.11/options.m4:19: -1- AC_DEFUN([_AM_SET_OPTION], [m4_define(_AM_MANGLE_OPTION([$1]), 1)])
1126 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)])])
1127 m4trace:/usr/share/aclocal-1.11/options.m4:31: -1- AC_DEFUN([_AM_IF_OPTION], [m4_ifset(_AM_MANGLE_OPTION([$1]), [$2], [$3])])
1128 m4trace:/usr/share/aclocal-1.11/runlog.m4:12: -1- AC_DEFUN([AM_RUN_LOG], [{ echo "$as_me:$LINENO: $1" >&AS_MESSAGE_LOG_FD
1129 ($1) >&AS_MESSAGE_LOG_FD 2>&AS_MESSAGE_LOG_FD
1131 echo "$as_me:$LINENO: \$? = $ac_status" >&AS_MESSAGE_LOG_FD
1132 (exit $ac_status); }])
1133 m4trace:/usr/share/aclocal-1.11/sanity.m4:14: -1- AC_DEFUN([AM_SANITY_CHECK], [AC_MSG_CHECKING([whether build environment is sane])
1136 echo timestamp > conftest.file
1137 # Reject unsafe characters in $srcdir or the absolute working directory
1138 # name. Accept space and tab only in the latter.
1142 *[[\\\"\#\$\&\'\`$am_lf]]*)
1143 AC_MSG_ERROR([unsafe absolute working directory name]);;
1146 *[[\\\"\#\$\&\'\`$am_lf\ \ ]]*)
1147 AC_MSG_ERROR([unsafe srcdir value: `$srcdir']);;
1150 # Do `set' in a subshell so we don't clobber the current shell's
1151 # arguments. Must try -L first in case configure is actually a
1152 # symlink; some systems play weird games with the mod time of symlinks
1153 # (eg FreeBSD returns the mod time of the symlink's containing
1156 set X `ls -Lt "$srcdir/configure" conftest.file 2> /dev/null`
1157 if test "$[*]" = "X"; then
1159 set X `ls -t "$srcdir/configure" conftest.file`
1162 if test "$[*]" != "X $srcdir/configure conftest.file" \
1163 && test "$[*]" != "X conftest.file $srcdir/configure"; then
1165 # If neither matched, then we have a broken ls. This can happen
1166 # if, for instance, CONFIG_SHELL is bash and it inherits a
1167 # broken ls alias from the environment. This has actually
1168 # happened. Such a system could not be considered "sane".
1169 AC_MSG_ERROR([ls -t appears to fail. Make sure there is not a broken
1170 alias in your environment])
1173 test "$[2]" = conftest.file
1179 AC_MSG_ERROR([newly created file is older than distributed files!
1180 Check your system clock])
1182 AC_MSG_RESULT(yes)])
1183 m4trace:/usr/share/aclocal-1.11/silent.m4:14: -1- AC_DEFUN([AM_SILENT_RULES], [AC_ARG_ENABLE([silent-rules],
1184 [ --enable-silent-rules less verbose build output (undo: `make V=1')
1185 --disable-silent-rules verbose build output (undo: `make V=0')])
1186 case $enable_silent_rules in
1187 yes) AM_DEFAULT_VERBOSITY=0;;
1188 no) AM_DEFAULT_VERBOSITY=1;;
1189 *) AM_DEFAULT_VERBOSITY=m4_if([$1], [yes], [0], [1]);;
1191 AC_SUBST([AM_DEFAULT_VERBOSITY])dnl
1193 AC_SUBST([AM_BACKSLASH])dnl
1194 _AM_SUBST_NOTMAKE([AM_BACKSLASH])dnl
1196 m4trace:/usr/share/aclocal-1.11/strip.m4:17: -1- AC_DEFUN([AM_PROG_INSTALL_STRIP], [AC_REQUIRE([AM_PROG_INSTALL_SH])dnl
1197 # Installed binaries are usually stripped using `strip' when the user
1198 # run `make install-strip'. However `strip' might not be the right
1199 # tool to use in cross-compilation environments, therefore Automake
1200 # will honor the `STRIP' environment variable to overrule this program.
1201 dnl Don't test for $cross_compiling = yes, because it might be `maybe'.
1202 if test "$cross_compiling" != no; then
1203 AC_CHECK_TOOL([STRIP], [strip], :)
1205 INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s"
1206 AC_SUBST([INSTALL_STRIP_PROGRAM])])
1207 m4trace:/usr/share/aclocal-1.11/substnot.m4:14: -1- AC_DEFUN([_AM_SUBST_NOTMAKE])
1208 m4trace:/usr/share/aclocal-1.11/substnot.m4:19: -1- AC_DEFUN([AM_SUBST_NOTMAKE], [_AM_SUBST_NOTMAKE($@)])
1209 m4trace:/usr/share/aclocal-1.11/tar.m4:24: -1- AC_DEFUN([_AM_PROG_TAR], [# Always define AMTAR for backward compatibility.
1210 AM_MISSING_PROG([AMTAR], [tar])
1212 [am__tar='${AMTAR} chof - "$$tardir"'; am__untar='${AMTAR} xf -'],
1213 [m4_case([$1], [ustar],, [pax],,
1214 [m4_fatal([Unknown tar format])])
1215 AC_MSG_CHECKING([how to create a $1 tar archive])
1216 # Loop over all known methods to create a tar archive until one works.
1217 _am_tools='gnutar m4_if([$1], [ustar], [plaintar]) pax cpio none'
1218 _am_tools=${am_cv_prog_tar_$1-$_am_tools}
1219 # Do not fold the above two line into one, because Tru64 sh and
1220 # Solaris sh will not grok spaces in the rhs of `-'.
1221 for _am_tool in $_am_tools
1225 for _am_tar in tar gnutar gtar;
1227 AM_RUN_LOG([$_am_tar --version]) && break
1229 am__tar="$_am_tar --format=m4_if([$1], [pax], [posix], [$1]) -chf - "'"$$tardir"'
1230 am__tar_="$_am_tar --format=m4_if([$1], [pax], [posix], [$1]) -chf - "'"$tardir"'
1231 am__untar="$_am_tar -xf -"
1234 # Must skip GNU tar: if it does not support --format= it doesn't create
1235 # ustar tarball either.
1236 (tar --version) >/dev/null 2>&1 && continue
1237 am__tar='tar chf - "$$tardir"'
1238 am__tar_='tar chf - "$tardir"'
1239 am__untar='tar xf -'
1242 am__tar='pax -L -x $1 -w "$$tardir"'
1243 am__tar_='pax -L -x $1 -w "$tardir"'
1247 am__tar='find "$$tardir" -print | cpio -o -H $1 -L'
1248 am__tar_='find "$tardir" -print | cpio -o -H $1 -L'
1249 am__untar='cpio -i -H $1 -d'
1258 # If the value was cached, stop now. We just wanted to have am__tar
1259 # and am__untar set.
1260 test -n "${am_cv_prog_tar_$1}" && break
1262 # tar/untar a dummy directory, and stop if the command works
1265 echo GrepMe > conftest.dir/file
1266 AM_RUN_LOG([tardir=conftest.dir && eval $am__tar_ >conftest.tar])
1268 if test -s conftest.tar; then
1269 AM_RUN_LOG([$am__untar <conftest.tar])
1270 grep GrepMe conftest.dir/file >/dev/null 2>&1 && break
1275 AC_CACHE_VAL([am_cv_prog_tar_$1], [am_cv_prog_tar_$1=$_am_tool])
1276 AC_MSG_RESULT([$am_cv_prog_tar_$1])])
1278 AC_SUBST([am__untar])
1280 m4trace:m4m/gp-byteorder.m4:15: -1- AC_DEFUN([AC_HAVE_SYMBOL], [
1281 AC_MSG_CHECKING(for $1 in $2)
1282 AC_EGREP_CPP([symbol is present|\<$1\>],[
1294 m4trace:m4m/gp-byteorder.m4:33: -1- AC_DEFUN([AC_NEED_BYTEORDER_H], [
1295 ac_dir=`AS_DIRNAME(["$1"])`
1296 if test "$ac_dir" != "$1" && test "$ac_dir" != .; then
1297 # The file is in a subdirectory.
1298 test ! -d "$ac_dir" && AS_MKDIR_P(["$ac_dir"])
1301 # We're only interested in the target CPU, but it's not always set
1302 effective_target="$target"
1303 if test "x$effective_target" = xNONE -o "x$effective_target" = x ; then
1304 effective_target="$host"
1306 AC_SUBST(effective_target)
1309 /* This file is generated automatically by configure */
1310 /* It is valid only for the system type ${effective_target} */
1312 #ifndef __BYTEORDER_H
1313 #define __BYTEORDER_H
1317 dnl First, do an endian check
1320 dnl Look for NetBSD-style extended byte swapping macros
1321 AC_HAVE_SYMBOL(le32toh,machine/endian.h,
1324 /* extended byte swapping macros are already available */
1325 #include <machine/endian.h>
1331 dnl Look for standard byte swapping macros
1332 AC_HAVE_SYMBOL(ntohl,arpa/inet.h,
1334 /* ntohl and relatives live here */
1335 #include <arpa/inet.h>
1339 [AC_HAVE_SYMBOL(ntohl,netinet/in.h,
1341 /* ntohl and relatives live here */
1342 #include <netinet/in.h>
1347 dnl Look for generic byte swapping macros
1350 AC_HAVE_SYMBOL(swap32,machine/endian.h,
1352 /* swap32 and swap16 are defined in machine/endian.h */
1358 AC_HAVE_SYMBOL(bswap_32,byteswap.h,
1360 /* Define generic byte swapping functions */
1361 #include <byteswap.h>
1362 #define swap16(x) bswap_16(x)
1363 #define swap32(x) bswap_32(x)
1364 #define swap64(x) bswap_64(x)
1370 AC_HAVE_SYMBOL(bswap32,machine/endian.h,
1371 dnl We're already including machine/endian.h if this test succeeds
1373 /* Define generic byte swapping functions */
1375 if test "$HAVE_LE32TOH" != "1"; then
1376 echo '#include <machine/endian.h>'>> "$1"
1379 #define swap16(x) bswap16(x)
1380 #define swap32(x) bswap32(x)
1381 #define swap64(x) bswap64(x)
1387 AC_HAVE_SYMBOL(__byte_swap_long,sys/types.h,
1389 /* Define generic byte swapping functions */
1390 #include <sys/types.h>
1391 #define swap16(x) __byte_swap_word(x)
1392 #define swap32(x) __byte_swap_long(x)
1393 /* No optimized 64 bit byte swapping macro is available */
1394 #define swap64(x) ((uint64_t)(((uint64_t)(x) << 56) & 0xff00000000000000ULL | \\
1395 ((uint64_t)(x) << 40) & 0x00ff000000000000ULL | \\
1396 ((uint64_t)(x) << 24) & 0x0000ff0000000000ULL | \\
1397 ((uint64_t)(x) << 8) & 0x000000ff00000000ULL | \\
1398 ((x) >> 8) & 0x00000000ff000000ULL | \\
1399 ((x) >> 24) & 0x0000000000ff0000ULL | \\
1400 ((x) >> 40) & 0x000000000000ff00ULL | \\
1401 ((x) >> 56) & 0x00000000000000ffULL))
1407 AC_HAVE_SYMBOL(NXSwapLong,machine/byte_order.h,
1409 /* Define generic byte swapping functions */
1410 #include <machine/byte_order.h>
1411 #define swap16(x) NXSwapShort(x)
1412 #define swap32(x) NXSwapLong(x)
1413 #define swap64(x) NXSwapLongLong(x)
1417 if test $ac_cv_c_bigendian = yes; then
1419 /* No other byte swapping functions are available on this big-endian system */
1420 #define swap16(x) ((uint16_t)(((x) << 8) | ((uint16_t)(x) >> 8)))
1421 #define swap32(x) ((uint32_t)(((uint32_t)(x) << 24) & 0xff000000UL | \\
1422 ((uint32_t)(x) << 8) & 0x00ff0000UL | \\
1423 ((x) >> 8) & 0x0000ff00UL | \\
1424 ((x) >> 24) & 0x000000ffUL))
1425 #define swap64(x) ((uint64_t)(((uint64_t)(x) << 56) & 0xff00000000000000ULL | \\
1426 ((uint64_t)(x) << 40) & 0x00ff000000000000ULL | \\
1427 ((uint64_t)(x) << 24) & 0x0000ff0000000000ULL | \\
1428 ((uint64_t)(x) << 8) & 0x000000ff00000000ULL | \\
1429 ((x) >> 8) & 0x00000000ff000000ULL | \\
1430 ((x) >> 24) & 0x0000000000ff0000ULL | \\
1431 ((x) >> 40) & 0x000000000000ff00ULL | \\
1432 ((x) >> 56) & 0x00000000000000ffULL))
1437 /* Use these as generic byteswapping macros on this little endian system */
1438 #define swap16(x) ntohs(x)
1439 #define swap32(x) ntohl(x)
1440 /* No optimized 64 bit byte swapping macro is available */
1441 #define swap64(x) ((uint64_t)(((uint64_t)(x) << 56) & 0xff00000000000000ULL | \\
1442 ((uint64_t)(x) << 40) & 0x00ff000000000000ULL | \\
1443 ((uint64_t)(x) << 24) & 0x0000ff0000000000ULL | \\
1444 ((uint64_t)(x) << 8) & 0x000000ff00000000ULL | \\
1445 ((x) >> 8) & 0x00000000ff000000ULL | \\
1446 ((x) >> 24) & 0x0000000000ff0000ULL | \\
1447 ((x) >> 40) & 0x000000000000ff00ULL | \\
1448 ((x) >> 56) & 0x00000000000000ffULL))
1460 if test "$HAVE_LE32TOH" != "1"; then
1462 /* The byte swapping macros have the form: */
1463 /* EENN[a]toh or htoEENN[a] where EE is be (big endian) or */
1464 /* le (little-endian), NN is 16 or 32 (number of bits) and a, */
1465 /* if present, indicates that the endian side is a pointer to an */
1466 /* array of uint8_t bytes instead of an integer of the specified length. */
1467 /* h refers to the host's ordering method. */
1469 /* So, to convert a 32-bit integer stored in a buffer in little-endian */
1470 /* format into a uint32_t usable on this machine, you could use: */
1471 /* uint32_t value = le32atoh(&buf[3]); */
1472 /* To put that value back into the buffer, you could use: */
1473 /* htole32a(&buf[3], value); */
1475 /* Define aliases for the standard byte swapping macros */
1476 /* Arguments to these macros must be properly aligned on natural word */
1477 /* boundaries in order to work properly on all architectures */
1479 # define htobe16(x) htons(x)
1482 # define htobe32(x) htonl(x)
1485 # define be16toh(x) ntohs(x)
1488 # define be32toh(x) ntohl(x)
1491 #define HTOBE16(x) (x) = htobe16(x)
1492 #define HTOBE32(x) (x) = htobe32(x)
1493 #define BE32TOH(x) (x) = be32toh(x)
1494 #define BE16TOH(x) (x) = be16toh(x)
1498 if test $ac_cv_c_bigendian = yes; then
1500 /* Define our own extended byte swapping macros for big-endian machines */
1502 # define htole16(x) swap16(x)
1505 # define htole32(x) swap32(x)
1508 # define le16toh(x) swap16(x)
1511 # define le32toh(x) swap32(x)
1514 # define le64toh(x) swap64(x)
1518 # define htobe64(x) (x)
1521 # define be64toh(x) (x)
1524 #define HTOLE16(x) (x) = htole16(x)
1525 #define HTOLE32(x) (x) = htole32(x)
1526 #define LE16TOH(x) (x) = le16toh(x)
1527 #define LE32TOH(x) (x) = le32toh(x)
1528 #define LE64TOH(x) (x) = le64toh(x)
1530 #define HTOBE64(x) (void) (x)
1531 #define BE64TOH(x) (void) (x)
1536 /* On little endian machines, these macros are null */
1538 # define htole16(x) (x)
1541 # define htole32(x) (x)
1544 # define htole64(x) (x)
1547 # define le16toh(x) (x)
1550 # define le32toh(x) (x)
1553 # define le64toh(x) (x)
1556 #define HTOLE16(x) (void) (x)
1557 #define HTOLE32(x) (void) (x)
1558 #define HTOLE64(x) (void) (x)
1559 #define LE16TOH(x) (void) (x)
1560 #define LE32TOH(x) (void) (x)
1561 #define LE64TOH(x) (void) (x)
1563 /* These don't have standard aliases */
1565 # define htobe64(x) swap64(x)
1568 # define be64toh(x) swap64(x)
1571 #define HTOBE64(x) (x) = htobe64(x)
1572 #define BE64TOH(x) (x) = be64toh(x)
1579 /* Define the C99 standard length-specific integer types */
1580 #include <_stdint.h>
1584 case "${effective_target}" in
1587 /* Here are some macros to create integers from a byte array */
1588 /* These are used to get and put integers from/into a uint8_t array */
1589 /* with a specific endianness. This is the most portable way to generate */
1590 /* and read messages to a network or serial device. Each member of a */
1591 /* packet structure must be handled separately. */
1593 /* The i386 and compatibles can handle unaligned memory access, */
1594 /* so use the optimized macros above to do this job */
1596 # define be16atoh(x) be16toh(*(uint16_t*)(x))
1599 # define be32atoh(x) be32toh(*(uint32_t*)(x))
1602 # define be64atoh(x) be64toh(*(uint64_t*)(x))
1605 # define le16atoh(x) le16toh(*(uint16_t*)(x))
1608 # define le32atoh(x) le32toh(*(uint32_t*)(x))
1611 # define le64atoh(x) le64toh(*(uint64_t*)(x))
1615 # define htobe16a(a,x) *(uint16_t*)(a) = htobe16(x)
1618 # define htobe32a(a,x) *(uint32_t*)(a) = htobe32(x)
1621 # define htobe64a(a,x) *(uint64_t*)(a) = htobe64(x)
1624 # define htole16a(a,x) *(uint16_t*)(a) = htole16(x)
1627 # define htole32a(a,x) *(uint32_t*)(a) = htole32(x)
1630 # define htole64a(a,x) *(uint64_t*)(a) = htole64(x)
1638 /* Here are some macros to create integers from a byte array */
1639 /* These are used to get and put integers from/into a uint8_t array */
1640 /* with a specific endianness. This is the most portable way to generate */
1641 /* and read messages to a network or serial device. Each member of a */
1642 /* packet structure must be handled separately. */
1644 /* Non-optimized but portable macros */
1645 #define be16atoh(x) ((uint16_t)(((x)[0]<<8)|(x)[1]))
1646 #define be32atoh(x) ((uint32_t)(((x)[0]<<24)|((x)[1]<<16)|((x)[2]<<8)|(x)[3]))
1647 #define be64atoh_x(x,off,shift) (((uint64_t)((x)[off]))<<shift)
1648 #define be64atoh(x) ((uint64_t)(be64atoh_x(x,0,56)|be64atoh_x(x,1,48)|be64atoh_x(x,2,40)| \\
1649 be64atoh_x(x,3,32)|be64atoh_x(x,4,24)|be64atoh_x(x,5,16)|be64atoh_x(x,6,8)|((x)[7])))
1650 #define le16atoh(x) ((uint16_t)(((x)[1]<<8)|(x)[0]))
1651 #define le32atoh(x) ((uint32_t)(((x)[3]<<24)|((x)[2]<<16)|((x)[1]<<8)|(x)[0]))
1652 #define le64atoh_x(x,off,shift) (((uint64_t)(x)[off])<<shift)
1653 #define le64atoh(x) ((uint64_t)(le64atoh_x(x,7,56)|le64atoh_x(x,6,48)|le64atoh_x(x,5,40)| \\
1654 le64atoh_x(x,4,32)|le64atoh_x(x,3,24)|le64atoh_x(x,2,16)|le64atoh_x(x,1,8)|((x)[0])))
1656 #define htobe16a(a,x) (a)[0]=(uint8_t)((x)>>8), (a)[1]=(uint8_t)(x)
1657 #define htobe32a(a,x) (a)[0]=(uint8_t)((x)>>24), (a)[1]=(uint8_t)((x)>>16), \\
1658 (a)[2]=(uint8_t)((x)>>8), (a)[3]=(uint8_t)(x)
1659 #define htobe64a(a,x) (a)[0]=(uint8_t)((x)>>56), (a)[1]=(uint8_t)((x)>>48), \\
1660 (a)[2]=(uint8_t)((x)>>40), (a)[3]=(uint8_t)((x)>>32), \\
1661 (a)[4]=(uint8_t)((x)>>24), (a)[5]=(uint8_t)((x)>>16), \\
1662 (a)[6]=(uint8_t)((x)>>8), (a)[7]=(uint8_t)(x)
1663 #define htole16a(a,x) (a)[1]=(uint8_t)((x)>>8), (a)[0]=(uint8_t)(x)
1664 #define htole32a(a,x) (a)[3]=(uint8_t)((x)>>24), (a)[2]=(uint8_t)((x)>>16), \\
1665 (a)[1]=(uint8_t)((x)>>8), (a)[0]=(uint8_t)(x)
1666 #define htole64a(a,x) (a)[7]=(uint8_t)((x)>>56), (a)[6]=(uint8_t)((x)>>48), \\
1667 (a)[5]=(uint8_t)((x)>>40), (a)[4]=(uint8_t)((x)>>32), \\
1668 (a)[3]=(uint8_t)((x)>>24), (a)[2]=(uint8_t)((x)>>16), \\
1669 (a)[1]=(uint8_t)((x)>>8), (a)[0]=(uint8_t)(x)
1677 #endif /*__BYTEORDER_H*/
1679 m4trace:m4m/gp-camlibs.m4:27: -1- AC_DEFUN([GP_CAMLIBS_INIT], [dnl
1680 AC_BEFORE([$0],[GP_CAMLIB])dnl
1681 m4_define_default([gp_camlib_srcdir], [camlibs])dnl
1682 m4_define_default([gp_camlibs], [])dnl
1683 m4_define_default([gp_camlibs_obsolete], [])dnl
1685 m4trace:m4m/gp-camlibs.m4:36: -1- AC_DEFUN([GP_CAMLIB], [dnl
1686 AC_REQUIRE([GP_CAMLIBS_INIT])dnl
1687 AC_BEFORE([$0],[GP_CAMLIBS_DEFINE])dnl
1688 m4_if([$2],[obsolete],[dnl
1690 m4_append([gp_camlibs_obsolete], [$1], [ ])dnl
1693 m4_append([gp_camlibs], [$1], [ ])dnl
1695 m4_errprint(__file__:__line__:[ Error:
1696 *** Illegal parameter 2 to $0: `$2'
1697 *** Valid values are: undefined or [obsolete]
1702 m4trace:m4m/gp-camlibs.m4:56: -1- AC_DEFUN([GP_CAMLIBS_DEFINE], [dnl
1703 AC_REQUIRE([GP_CAMLIBS_INIT])dnl
1704 m4_pattern_allow([m4_strip])dnl
1705 m4_ifval([$1],[m4_define([gp_camlib_srcdir],[$1])])dnl
1706 dnl for camlib in m4_strip(gp_camlibs) m4_strip(gp_camlibs_obsolete)
1708 dnl if test -d "$srcdir/m4_strip(gp_camlib_srcdir)/$camlib"; then :; else
1711 dnl * Source subdirectory for camlib \`$camlib' not found in
1712 dnl * directory \`$srcdir/m4_strip(gp_camlib_srcdir)/'
1716 AC_MSG_CHECKING([which drivers to compile])
1717 dnl Yes, that help output won't be all that pretty, but we at least
1718 dnl do not have to edit it by hand.
1719 AC_ARG_WITH([drivers],[AS_HELP_STRING(
1720 [--with-drivers=<list>],
1721 [Compile drivers in <list>. ]dnl
1722 [Drivers may be separated with commas. ]dnl
1723 ['all' is the default and compiles all drivers. ]dnl
1724 [Possible drivers are: ]dnl
1725 m4_strip(gp_camlibs))],
1726 [drivers="$withval"],
1729 ALL_DEFINED_CAMLIBS="m4_strip(gp_camlibs) m4_strip(gp_camlibs_obsolete)"
1730 ALL_CURRENT_CAMLIBS="m4_strip(gp_camlibs)"
1731 BUILD_THESE_CAMLIBS_BASE=""
1732 if test "$drivers" = "all"; then
1733 BUILD_THESE_CAMLIBS_BASE="$ALL_CURRENT_CAMLIBS"
1734 AC_MSG_RESULT([all])
1736 # drivers=$(echo $drivers | sed 's/,/ /g')
1739 for driver in $drivers; do
1742 for camlib in ${ALL_DEFINED_CAMLIBS}; do
1743 if test "$driver" = "$camlib"; then
1744 BUILD_THESE_CAMLIBS_BASE="$BUILD_THESE_CAMLIBS_BASE $driver"
1749 if $found; then :; else
1750 AC_MSG_ERROR([Unknown driver $driver!])
1753 if test "x$BUILD_THESE_CAMLIBS_BASE" = "x canon" ; then
1754 # Gentoo mode... if user just said "canon", add "ptp2" ... should save support requests.
1755 BUILD_THESE_CAMLIBS_BASE="$BUILD_THESE_CAMLIBS_BASE ptp2"
1756 camlibs="$camlibs ptp2"
1758 You have just selected the old canon driver. However most current Canons
1759 are supported by the PTP2 driver.
1760 Autoselecting ptp2 driver too to avoid support requests.
1764 AC_MSG_RESULT([$drivers])
1766 BUILD_THESE_CAMLIBS=""
1767 for f in $BUILD_THESE_CAMLIBS_BASE
1769 BUILD_THESE_CAMLIBS="${BUILD_THESE_CAMLIBS}${BUILD_THESE_CAMLIBS+ }${f}.la"
1771 AC_SUBST([BUILD_THESE_CAMLIBS])
1772 AC_SUBST([ALL_DEFINED_CAMLIBS])
1773 AC_SUBST([ALL_CURRENT_CAMLIBS])
1775 m4trace:m4m/gp-check-doxygen.m4:4: -1- AC_DEFUN([GP_CHECK_DOXYGEN], [dnl
1776 AC_REQUIRE([GP_CHECK_DOC_DIR])dnl
1777 AC_PATH_PROG([DOT], [dot], [false])
1778 AC_PATH_PROG([DOXYGEN], [doxygen], [false])
1779 AM_CONDITIONAL([HAVE_DOXYGEN], [test "x$DOXYGEN" != "xfalse"])
1780 AM_CONDITIONAL([HAVE_DOT], [test "x$DOT" != "xfalse"])
1781 if test "x$DOT" != "xfalse"; then
1782 AC_SUBST([HAVE_DOT],[YES])
1784 AC_SUBST([HAVE_DOT],[NO])
1786 AC_SUBST([HTML_APIDOC_DIR], ["${PACKAGE_TARNAME}-api.html"])
1787 AC_SUBST([DOXYGEN_OUTPUT_DIR], [doxygen-output])
1788 AC_SUBST([HTML_APIDOC_INTERNALS_DIR], ["${PACKAGE_TARNAME}-internals.html"])
1790 m4trace:m4m/gp-check-library.m4:73: -1- AC_DEFUN([_GP_CHECK_LIBRARY_SOEXT], [dnl
1791 AC_MSG_CHECKING([for dynamic library extension])
1794 *linux*) soext=".so" ;;
1795 *sunos*) soext=".so" ;;
1796 *solaris*) soext=".so" ;;
1797 *bsd*) soext=".so" ;;
1798 *darwin*) soext=".dylib" ;;
1799 *w32*) soext=".dll" ;;
1801 if test "x$soext" = "x"; then
1803 AC_MSG_RESULT([${soext}])
1805 Host system "${host}" not recognized, defaulting to "${soext}".
1808 AC_MSG_RESULT([${soext}])
1811 m4trace:m4m/gp-check-library.m4:95: -1- AC_DEFUN([_GP_CHECK_LIBRARY], [
1812 # ----------------------------------------------------------------------
1813 # [GP_CHECK_LIBRARY]([$1],[$2],[$3],
1819 # ----------------------------------------------------------------------
1821 AC_REQUIRE([GP_CONFIG_MSG])dnl
1822 AC_REQUIRE([GP_PKG_CONFIG])dnl
1823 AC_REQUIRE([_GP_CHECK_LIBRARY_SOEXT])dnl
1824 # Use _CFLAGS and _LIBS given to configure.
1825 # This makes it possible to set these vars in a configure script
1826 # and AC_CONFIG_SUBDIRS this configure.
1827 AC_ARG_VAR([$1][_CFLAGS], [CFLAGS for compiling with ][$2])dnl
1828 AC_ARG_VAR([$1][_LIBS], [LIBS to add for linking against ][$2])dnl
1830 AC_MSG_CHECKING([for ][$2][ to use])
1831 m4_ifval([$3],[REQUIREMENTS_FOR_][$1][="][$2][ $3]["],
1832 [REQUIREMENTS_FOR_][$1][="][$2]["])
1835 if test "x${[$1][_LIBS]}" = "x" && test "x${[$1][_CFLAGS]}" = "x"; then
1836 # define --with/--without argument
1837 m4_if([$8], [default-off],
1838 [m4_pushdef([gp_lib_arg],[--without-][$2])dnl
1841 [m4_pushdef([gp_lib_arg],[--with-][$2])dnl
1844 AC_ARG_WITH([$2],[AS_HELP_STRING([gp_lib_arg][=PREFIX],[where to find ][$2][, "no" or "auto"])],[try_][$1][="$withval"])
1845 if test "x${[try_][$1]}" = "xno"; then
1846 [REQUIREMENTS_FOR_][$1][=]
1848 if test "x${[try_][$1]}" = "xauto"; then [try_][$1]=autodetect; fi
1849 AC_MSG_RESULT([${try_][$1][}])
1850 m4_popdef([gp_lib_arg])dnl
1851 if test "x${[try_][$1]}" = "xautodetect"; then
1852 # OK, we have to autodetect.
1853 # We start autodetection with the cleanest known method: pkg-config
1854 if test "x${[have_][$1]}" = "xno"; then
1855 # we need that line break after the PKG_CHECK_MODULES
1857 [PKG_CHECK_MODULES([$1],[$2][ $3],[have_][$1][=yes],[:])],
1858 [PKG_CHECK_MODULES([$1],[$2], [have_][$1][=yes],[:])]
1861 # If pkg-config didn't find anything, try the libfoo-config program
1862 # certain known libraries ship with.
1863 if test "x${[have_][$1]}" = "xno"; then
1864 AC_MSG_CHECKING([$2][ config program])
1865 m4_pushdef([gp_lib_config],[m4_if([$2],[libusb],[libusb-config],
1866 [$2],[libgphoto2],[gphoto2-config],
1867 [$2],[libgphoto2_port],[gphoto2-port-config],
1869 AC_MSG_RESULT([gp_lib_config])
1870 AC_PATH_PROG([$1][_CONFIG_PROG],[gp_lib_config])
1871 if test -n "${[$1][_CONFIG_PROG]}" &&
1872 test "${[$1][_CONFIG_PROG]}" != "none"; then
1874 AC_MSG_CHECKING([for ][$2][ version according to ][gp_lib_config])
1875 m4_pushdef([gp_lib_compop],[regexp([$3], [\(>=\|>\|<\|<=\|=\)[ \t]*.*], [\1])])dnl comparison operator
1876 m4_if( gp_lib_compop,[>=],[_][$1][_COMPN="-lt"],
1877 gp_lib_compop,[>], [_][$1][_COMPN="-le"],
1878 gp_lib_compop,[<], [_][$1][_COMPN="-ge"],
1879 gp_lib_compop,[<=],[_][$1][_COMPN="-gt"],
1880 gp_lib_compop,[=], [_][$1][_COMPN="-ne"],
1881 [m4_errprint(__file__:__line__:[ Error:
1882 Illegal version comparison operator: `gp_lib_compop'
1883 It must be one of ">=", ">", "<", "<=", "=".
1885 m4_popdef([gp_lib_compop])dnl
1886 # split requested version number using m4 regexps
1887 _[$1]_REQ_1="regexp([$3], [\(>=\|>\|<\|<=\|=\)[ \t]*\([0-9]+\).*], [\2])"
1888 _[$1]_REQ_2="regexp([$3], [\(>=\|>\|<\|<=\|=\)[ \t]*\([0-9]+\)\.\([0-9]+\).*], [\3])"
1889 _[$1]_REQ_3="regexp([$3], [\(>=\|>\|<\|<=\|=\)[ \t]*\([0-9]+\)\.\([0-9]+\)\.\([0-9]+\).*], [\4])"
1890 _[$1]_REQ_4="regexp([$3], [\(>=\|>\|<\|<=\|=\)[ \t]*\([0-9]+\)\.\([0-9]+\)\.\([0-9]+\)\(.*\)], [\5])"
1891 # split installed version number via shell and sed
1892 _[$1]_VERSION="$("${[$1][_CONFIG_PROG]}" --version | sed 's/^.* //')"
1893 _[$1]_VER_1="$(echo "${_[$1]_VERSION}" | sed 's/\([[0-9]]*\).*/\1/g')"
1894 _[$1]_VER_2="$(echo "${_[$1]_VERSION}" | sed 's/\([[0-9]]*\)\.\([[0-9]]*\).*/\2/g')"
1895 _[$1]_VER_3="$(echo "${_[$1]_VERSION}" | sed 's/\([[0-9]]*\)\.\([[0-9]]*\)\.\([[0-9]]*\).*/\3/g')"
1896 _[$1]_VER_4="$(echo "${_[$1]_VERSION}" | sed 's/\([[0-9]]*\)\.\([[0-9]]*\)\.\([[0-9]]*\)\(.*\)/\4/g')"
1897 AC_MSG_RESULT([${_][$1][_VERSION}])
1899 if test "${_[$1]_VER_1}" "${_[$1]_COMPN}" "${_[$1]_REQ_1}"; then _tmp=true;
1900 elif test "${_[$1]_VER_2}" "${_[$1]_COMPN}" "${_[$1]_REQ_2}"; then _tmp=true;
1901 elif test "${_[$1]_VER_3}" "${_[$1]_COMPN}" "${_[$1]_REQ_3}"; then _tmp=true;
1902 elif test "x${_[$1]_VER_4}" = "x" && test "x${_[$1]_REQ_4}" != "x"; then _tmp=true;
1903 elif test "${_[$1]_VER_4}" "${_[$1]_COMPN}" "${_[$1]_REQ_4}"; then _tmp=true;
1905 AC_MSG_CHECKING([if ][$2][ version is matching requirement ][$3])
1908 AC_MSG_ERROR([Version requirement ][$2][ ][$3][ not met. Found: ${_][$1][_VERSION}])
1910 AC_MSG_RESULT([yes])
1912 ])dnl if version requirement given
1913 AC_MSG_CHECKING([for ][$2][ parameters from ][gp_lib_config])
1914 [$1]_LIBS="$(${[$1][_CONFIG_PROG]} --libs || echo "*error*")"
1915 [$1]_CFLAGS="$(${[$1][_CONFIG_PROG]} --cflags || echo "*error*")"
1916 if test "x${[$1]_LIBS}" = "*error*" ||
1917 test "x${[$1]_CFLAGS}" = "*error*"; then
1918 AC_MSG_RESULT([error])
1924 m4_popdef([gp_lib_config])dnl
1926 m4_ifval([$3],[# Version requirement given, so we do not rely on probing.],[
1927 # Neither pkg-config, nor the libfoo-config program have found anything.
1928 # So let's just probe the system.
1929 AC_MSG_WARN([The `$2' library could not be found using pkg-config or its known config program.
1930 No version checks will be performed if it is found using any other method.])
1931 if test "x${[have_][$1]}" = "xno"; then
1933 IFS=":" # FIXME: for W32 and OS/2 we may need ";" here
1935 ${LD_LIBRARY_PATH} \
1937 "${prefix}/lib64" "${prefix}/lib" \
1938 /usr/lib64 /usr/lib \
1939 /usr/local/lib64 /usr/local/lib \
1943 for _soext_ in .la ${soext} .a; do
1944 if test -f "${_libdir_}/[$2]${_soext_}"
1946 if test "x${_soext_}" = "x.la" ||
1947 test "x${_soext_}" = "x.a"; then
1948 [$1]_LIBS="${_libdir_}/[$2]${_soext_}"
1950 [$1]_LIBS="-L${_libdir_} -l$(echo "$2" | sed 's/^lib//')"
1955 if test "x${[$1][_LIBS]}" != "x"; then
1960 if test "x${[$1][_LIBS]}" != "x"; then
1965 elif test "x${[try_][$1]}" = "xno"; then
1968 # We've been given a prefix to look in for library $2.
1969 # We start looking for $2.la files first.
1970 AC_MSG_CHECKING([for ][$2][.la file in ${[try_][$1]}])
1971 if test -f "${[try_][$1]}/lib/[$2].la"; then
1972 [$1][_LIBS]="${[try_][$1]}/lib/[$2].la"
1973 [$1][_CFLAGS]="-I${[try_][$1]}/include"
1974 AC_MSG_RESULT([libtool file $][$1][_LIBS (good)])
1976 elif test -f "${[try_][$1]}/lib64/[$2].la"; then # HACK
1977 [$1][_LIBS]="${[try_][$1]}/lib64/[$2].la"
1978 [$1][_CFLAGS]="-I${[try_][$1]}/include"
1979 AC_MSG_RESULT([libtool file $][$1][_LIBS (good)])
1982 AC_MSG_RESULT([wild guess that something is in $try_][$1])
1983 [$1][_LIBS]="-L${[try_][$1]}/lib -l$(echo "$2" | sed 's/^lib//')"
1984 [$1][_CFLAGS]="-I${[try_][$1]}/include"
1988 * libtool file $2.la could not be found.
1989 * We may be linking against the WRONG library.
1993 elif test "x${[$1][_LIBS]}" != "x" && test "x${[$1][_CFLAGS]}" != "x"; then
1994 AC_MSG_RESULT([user-defined])
1998 AC_MSG_RESULT([broken call])
2001 * When calling configure for ${PACKAGE_TARNAME}
2003 * either set both [$1][_LIBS] *and* [$1][_CFLAGS]
2007 AC_SUBST([REQUIREMENTS_FOR_][$1])
2012 if test "x${[have_][$1]}" = "xyes"; then
2018 dnl ACTION-IF-NOT-FOUND
2021 if test "x${[have_][$1]}" = "xno"; then
2022 # ACTION-IF-NOT-FOUND
2027 dnl Run our own test compilation
2030 if test "x${[have_][$1]}" = "xyes"; then
2031 dnl AC_MSG_CHECKING([whether ][$2][ test compile succeeds])
2032 dnl AC_MSG_RESULT([${[have_][$1]}])
2033 CPPFLAGS_save="$CPPFLAGS"
2034 CPPFLAGS="${[$1]_CFLAGS}"
2035 AC_CHECK_HEADER([$4],[have_][$1][=yes],[have_][$1][=no])
2036 CPPFLAGS="$CPPFLAGS_save"
2040 dnl Run our own test link
2041 dnl Does not work for libraries which be built after configure time,
2042 dnl so we deactivate it for them (userdef_).
2045 if test "x${[userdef_][$1]}" = "xno" && test "x${[have_][$1]}" = "xyes"; then
2046 AC_MSG_CHECKING([for function ][$5][ in ][$2])
2049 AC_TRY_LINK_FUNC([$5],[],[have_][$1][=no])
2051 AC_MSG_RESULT([${[have_][$1]}])
2055 dnl Abort configure script if mandatory, but not found
2057 m4_if([$8],[mandatory],[
2058 if test "x${[have_][$1]}" = "xno"; then
2060 PKG_CONFIG_PATH=${PKG_CONFIG_PATH}
2061 [$1][_LIBS]=${[$1][_LIBS]}
2062 [$1][_CFLAGS]=${[$1][_CFLAGS]}
2064 * Fatal: ${PACKAGE_NAME} requires $2 $3 to build.
2066 * Possible solutions:
2067 * - set PKG_CONFIG_PATH to adequate value
2068 * - call configure with [$1][_LIBS]=.. and [$1][_CFLAGS]=..
2069 * - call configure with one of the --with-$2 parameters
2071 * - get $2 and install it
2073 * - get $2 and install it:
2078 dnl Abort configure script if not found and not explicitly disabled
2080 m4_if([$8],[disable-explicitly],[
2081 if test "x${[try_][$1]}" != "xno" && test "x${[have_][$1]}" = "xno"; then
2083 PKG_CONFIG_PATH=${PKG_CONFIG_PATH}
2084 [$1][_LIBS]=${[$1][_LIBS]}
2085 [$1][_CFLAGS]=${[$1][_CFLAGS]}
2087 * Fatal: ${PACKAGE_NAME} by default requires $2 $3 to build.
2088 * You must explicitly disable $2 to build ${PACKAGE_TARNAME} without it.
2090 * Possible solutions:
2091 * - call configure with --with-$2=no or --without-$2
2092 * - set PKG_CONFIG_PATH to adequate value
2093 * - call configure with [$1][_LIBS]=.. and [$1][_CFLAGS]=..
2094 * - call configure with one of the --with-$2 parameters
2096 * - get $2 and install it
2098 * - get $2 and install it:
2102 AM_CONDITIONAL([HAVE_][$1], [test "x$have_[$1]" = "xyes"])
2103 if test "x$have_[$1]" = "xyes"; then
2104 AC_DEFINE([HAVE_][$1], 1, [whether we compile with ][$2][ support])
2105 GP_CONFIG_MSG([$2],[yes])dnl
2106 AC_MSG_CHECKING([$2][ library flags])
2107 AC_MSG_RESULT(["${[$1][_LIBS]}"])
2108 AC_MSG_CHECKING([$2][ cpp flags])
2109 AC_MSG_RESULT(["${[$1][_CFLAGS]}"])
2111 GP_CONFIG_MSG([$2],[no])dnl
2113 dnl AC_SUBST is done implicitly by AC_ARG_VAR above.
2114 dnl AC_SUBST([$1][_LIBS])
2115 dnl AC_SUBST([$1][_CFLAGS])
2117 m4trace:m4m/gp-check-library.m4:404: -1- AC_DEFUN([_GP_CHECK_LIBRARY_SYNTAX_ERROR], [dnl
2118 m4_errprint(__file__:__line__:[ Error:
2119 *** Calling $0 macro with old syntax
2124 m4trace:m4m/gp-check-library.m4:414: -1- AC_DEFUN([GP_CHECK_LIBRARY], [dnl
2125 m4_if([$4], [mandatory], [_GP_CHECK_LIBRARY_SYNTAX_ERROR($0)],
2126 [$4], [default-enabled], [_GP_CHECK_LIBRARY_SYNTAX_ERROR($0)],
2127 [$4], [default-disabled], [_GP_CHECK_LIBRARY_SYNTAX_ERROR($0)])dnl
2128 m4_if([$8], [], [dnl
2129 _GP_CHECK_LIBRARY([$1],[$2],[$3],[$4],[$5],[$6],[$7],[mandatory],[$9])],
2130 [$8], [default-on], [dnl
2131 _GP_CHECK_LIBRARY([$1],[$2],[$3],[$4],[$5],[$6],[$7],[$8],[$9])],
2132 [$8], [disable-explicitly], [dnl
2133 _GP_CHECK_LIBRARY([$1],[$2],[$3],[$4],[$5],[$6],[$7],[$8],[$9])],
2134 [$8], [default-off], [dnl
2135 _GP_CHECK_LIBRARY([$1],[$2],[$3],[$4],[$5],[$6],[$7],[$8],[$9])],
2136 [$8], [mandatory], [dnl
2137 _GP_CHECK_LIBRARY([$1],[$2],[$3],[$4],[$5],[$6],[$7],[$8],[$9])],
2138 [m4_errprint(__file__:__line__:[ Error:
2139 Illegal argument 6 to $0: `$6'
2140 It must be one of "default-on", "default-off", "mandatory".
2143 m4trace:m4m/gp-check-shell-environment.m4:9: -1- AC_DEFUN([GP_CHECK_SHELL_ENVIRONMENT], [
2144 # make sure "cd" doesn't print anything on stdout
2145 if test x"${CDPATH+set}" = xset
2151 # make sure $() command substitution works
2152 AC_MSG_CHECKING([for POSIX sh \$() command substitution])
2153 if test "x$(pwd)" = "x`pwd`" && test "y$(echo "foobar")" = "y`echo foobar`" # ''''
2155 AC_MSG_RESULT([yes])
2158 uname=`uname 2>&1` # ''
2159 uname_a=`uname -a 2>&1` # ''
2162 * POSIX sh \$() command substition does not work with this shell.
2164 * You are running a very rare species of shell. Please report this
2165 * sighting to <${PACKAGE_BUGREPORT}>:
2168 * uname-a=${uname_a}
2169 * Please also include your OS and version.
2171 * Run this configure script using a better (i.e. POSIX compliant) shell.
2175 m4_if([$1],[true],[dnl
2176 printenv | grep -E '^(LC_|LANG)'
2181 m4trace:m4m/gp-config-msg.m4:30: -1- AC_DEFUN([GP_CONFIG_INIT], [dnl
2182 AC_REQUIRE([GP_CHECK_SHELL_ENVIRONMENT])
2183 dnl the empty string must contain at least as many spaces as the substr length
2184 dnl FIXME: let m4 determine that length
2185 dnl (collect left parts in array and choose largest length)
2186 m4_if([$1],[],[gp_config_len="30"],[gp_config_len="$1"])
2188 gp_config_len3="$(expr "$gp_config_len" - 3)"
2190 while test "$n" -gt 0; do
2191 gp_config_empty="${gp_config_empty} "
2192 n="$(expr "$n" - 1)"
2195 Configuration (${PACKAGE_TARNAME} ${PACKAGE_VERSION}):
2198 m4trace:m4m/gp-config-msg.m4:50: -1- AC_DEFUN([GP_CONFIG_MSG], [AC_REQUIRE([GP_CONFIG_INIT])dnl
2200 gp_config_msg="${gp_config_msg}
2203 gp_config_msg="${gp_config_msg}
2207 gp_config_msg_len="$(expr "[$1]" : '.*')"
2208 if test "$gp_config_msg_len" -ge "$gp_config_len"; then
2209 gp_config_msg_lhs="$(expr "[$1]" : "\(.\{0,${gp_config_len3}\}\)")..:"
2211 gp_config_msg_lhs="$(expr "[$1]:${gp_config_empty}" : "\(.\{0,${gp_config_len}\}\)")"
2213 gp_config_msg="${gp_config_msg} ${gp_config_msg_lhs} [$2]
2216 m4trace:m4m/gp-config-msg.m4:70: -1- AC_DEFUN([GP_CONFIG_MSG_SUBDIRS], [dnl
2217 # Message about configured subprojects
2218 if test "x$subdirs" != "x"; then
2221 for sd in $subdirs; do
2222 ssd="$(basename "$sd")"
2223 if test "x$_subdirs" = "x"; then
2226 _subdirs="$_subdirs $ssd"
2229 GP_CONFIG_MSG([Subprojects],[${_subdirs}])dnl
2232 m4trace:m4m/gp-config-msg.m4:87: -1- AC_DEFUN([GP_CONFIG_OUTPUT], [AC_REQUIRE([GP_CONFIG_INIT])dnl
2233 AC_REQUIRE([GP_CONFIG_MSG])dnl
2234 AC_REQUIRE([GP_CONFIG_MSG_SUBDIRS])dnl
2235 echo "${gp_config_msg}
2236 You may run \"make\" and \"make install\" now."
2238 m4trace:m4m/gp-documentation.m4:8: -1- AC_DEFUN([GP_CHECK_DOC_DIR], [
2239 AC_BEFORE([$0], [GP_BUILD_GTK_DOCS])dnl
2240 AC_BEFORE([$0], [GP_CHECK_DOXYGEN])dnl
2242 AC_ARG_WITH([doc-dir],
2243 [AS_HELP_STRING([--with-doc-dir=PATH],
2244 [Where to install docs [default=autodetect]])])
2246 # check for the main ("root") documentation directory
2247 AC_MSG_CHECKING([main docdir])
2249 if test "x${with_doc_dir}" != "x"
2250 then # docdir is given as parameter
2251 docdir="${with_doc_dir}"
2252 AC_MSG_RESULT([${docdir} (from parameter)])
2253 else # otherwise invent a docdir hopefully compatible with system policy
2254 if test -d "/usr/share/doc"
2256 maindocdir='${prefix}/share/doc'
2257 AC_MSG_RESULT([${maindocdir} (FHS style)])
2258 elif test -d "/usr/doc"
2260 maindocdir='${prefix}/doc'
2261 AC_MSG_RESULT([${maindocdir} (old style)])
2263 maindocdir='${datadir}/doc'
2264 AC_MSG_RESULT([${maindocdir} (default value)])
2266 AC_MSG_CHECKING([package docdir])
2267 # check whether to include package version into documentation path
2268 # FIXME: doesn't work properly.
2269 if ls -d /usr/{share/,}doc/make-[0-9]* > /dev/null 2>&1
2271 docdir="${maindocdir}/${PACKAGE}-${VERSION}"
2272 AC_MSG_RESULT([${docdir} (redhat style)])
2274 docdir="${maindocdir}/${PACKAGE}"
2275 AC_MSG_RESULT([${docdir} (default style)])
2281 m4trace:m4m/gp-documentation.m4:60: -1- AC_DEFUN([GP_BUILD_GTK_DOCS], [
2282 # docdir has to be determined in advance
2283 AC_REQUIRE([GP_CHECK_DOC_DIR])
2285 # ---------------------------------------------------------------------------
2286 # gtk-doc: We use gtk-doc for building our documentation. However, we
2287 # require the user to explicitely request the build.
2288 # ---------------------------------------------------------------------------
2290 gtkdoc_msg="no (not requested)"
2292 AC_ARG_ENABLE([docs],
2293 [AS_HELP_STRING([--enable-docs],
2294 [Use gtk-doc to build documentation [default=no]])],[
2295 if test x$enableval = xyes; then
2299 if $try_gtkdoc; then
2300 AC_PATH_PROG([GTKDOC],[gtkdoc-mkdb])
2301 if test -n "${GTKDOC}"; then
2305 gtkdoc_msg="no (http://www.gtk.org/rdp/download.html)"
2308 AM_CONDITIONAL([ENABLE_GTK_DOC], [$have_gtkdoc])
2309 GP_CONFIG_MSG([build API docs with gtk-doc],[$gtkdoc_msg])
2312 # ---------------------------------------------------------------------------
2313 # Give the user the possibility to install html documentation in a
2314 # user-defined location.
2315 # ---------------------------------------------------------------------------
2316 AC_ARG_WITH([html-dir],
2317 [AS_HELP_STRING([--with-html-dir=PATH],
2318 [Where to install html docs [default=autodetect]])])
2320 AC_MSG_CHECKING([for html dir])
2321 if test "x${with_html_dir}" = "x" ; then
2322 htmldir="${docdir}/html"
2323 AC_MSG_RESULT([${htmldir} (default)])
2325 htmldir="${with_html_dir}"
2326 AC_MSG_RESULT([${htmldir} (from parameter)])
2329 apidocdir="${htmldir}/api"
2330 AC_SUBST([apidocdir])
2333 m4trace:m4m/gp-gettext-hack.m4:23: -1- AC_DEFUN([GP_GETTEXT_HACK], [
2334 AC_BEFORE([$0], [AM_GNU_GETTEXT])dnl
2335 AC_BEFORE([$0], [AM_GNU_GETTEXT_VERSION])dnl
2336 m4_if([$1],[],[GETTEXT_PACKAGE="${PACKAGE_TARNAME}"],[GETTEXT_PACKAGE="$1"])
2337 AC_DEFINE_UNQUOTED([GETTEXT_PACKAGE], ["$GETTEXT_PACKAGE"],
2338 [The gettext domain we're using])
2339 AC_SUBST([GETTEXT_PACKAGE])
2340 sed_cmds="s|^DOMAIN.*|DOMAIN = ${GETTEXT_PACKAGE}|"
2341 m4_if([$2],[],[],[sed_cmds="${sed_cmds};s|^COPYRIGHT_HOLDER.*|COPYRIGHT_HOLDER = $2|"])
2343 if test -n "$PACKAGE_BUGREPORT"; then
2344 sed_mb="${PACKAGE_BUGREPORT}"
2347 *** Your configure.{ac,in} is wrong.
2348 *** Either define PACKAGE_BUGREPORT (by using the 4-parameter AC INIT syntax)
2349 *** or give [GP_GETTEXT_HACK] the third parameter.
2356 sed_cmds="${sed_cmds};s|^MSGID_BUGS_ADDRESS.*|MSGID_BUGS_ADDRESS = ${sed_mb}|"
2357 # Not so sure whether this hack is all *that* evil...
2358 AC_MSG_CHECKING([for po/Makevars requiring hack])
2359 if test -f "${srcdir}/po/Makevars.template"; then
2360 sed "$sed_cmds" < "${srcdir}/po/Makevars.template" > "${srcdir}/po/Makevars"
2361 AC_MSG_RESULT([yes, done.])
2366 m4trace:m4m/gp-gettext-hack.m4:58: -1- AC_DEFUN([GP_GETTEXT_FLAGS], [
2367 AC_REQUIRE([AM_GNU_GETTEXT])
2368 AC_REQUIRE([GP_CONFIG_INIT])
2369 if test "x${BUILD_INCLUDED_LIBINTL}" = "xyes"; then
2370 AM_CFLAGS="${AM_CFLAGS} -I\$(top_srcdir)/intl"
2372 GP_CONFIG_MSG([Use translations],[${USE_NLS}])
2373 if test "x$USE_NLS" = "xyes" && test "${BUILD_INCLUDED_LIBINTL}"; then
2374 GP_CONFIG_MSG([Use included libintl],[${BUILD_INCLUDED_LIBINTL}])
2377 m4trace:m4m/gp-packaging.m4:1: -1- AC_DEFUN([GPKG_CHECK_RPM], [
2378 AC_ARG_WITH([rpmbuild],
2379 [AS_HELP_STRING([--with-rpmbuild=PATH],
2380 [Program to use for building RPMs])])
2382 AC_MSG_CHECKING([for rpmbuild or rpm])
2383 if test -x "${with_rpmbuild}"
2385 RPMBUILD="${with_rpmbuild}"
2386 AC_MSG_RESULT([${RPMBUILD} (from parameter)])
2388 AC_MSG_RESULT([using autodetection])
2389 AC_CHECK_PROGS(RPMBUILD, [rpmbuild rpm], false)
2390 AC_MSG_CHECKING([for rpmbuild or rpm])
2391 AC_MSG_RESULT([${RPMBUILD} (autodetected)])
2393 AC_SUBST([RPMBUILD])
2394 AM_CONDITIONAL([ENABLE_RPM], [test "$RPMBUILD" != "false"])
2397 m4trace:m4m/gp-packaging.m4:23: -1- AC_DEFUN([GPKG_CHECK_LINUX], [
2398 # effective_target has to be determined in advance
2399 AC_REQUIRE([AC_NEED_BYTEORDER_H])
2402 case "$effective_target" in
2407 AM_CONDITIONAL([HAVE_LINUX], ["$is_linux"])
2409 # required for docdir
2410 # FIXME: Implicit dependency
2411 # AC_REQUIRE(GP_CHECK_DOC_DIR)
2413 AC_ARG_WITH([hotplug-doc-dir],
2414 [AS_HELP_STRING([--with-hotplug-doc-dir=PATH],
2415 [Where to install hotplug scripts as docs [default=autodetect]])])
2417 if "$is_linux"; then
2418 AC_MSG_CHECKING([for hotplug doc dir])
2419 if test "x${with_hotplug_doc_dir}" != "x"
2420 then # given as parameter
2421 hotplugdocdir="${with_hotplug_doc_dir}"
2422 AC_MSG_RESULT([${hotplugdocdir} (from parameter)])
2423 else # start at docdir
2424 hotplugdocdir="${docdir}/linux-hotplug"
2425 AC_MSG_RESULT([${hotplugdocdir} (default)])
2431 AC_ARG_WITH([hotplug-usermap-dir],
2432 [AS_HELP_STRING([--with-hotplug-usermap-dir=PATH],
2433 [Where to install hotplug scripts as docs [default=autodetect]])])
2435 if "$is_linux"; then
2436 AC_MSG_CHECKING([for hotplug usermap dir])
2437 if test "x${with_hotplug_usermap_dir}" != "x"
2438 then # given as parameter
2439 hotplugusermapdir="${with_hotplug_usermap_dir}"
2440 AC_MSG_RESULT([${hotplugusermapdir} (from parameter)])
2441 else # start at docdir
2442 hotplugusermapdir="${docdir}/linux-hotplug"
2443 AC_MSG_RESULT([${hotplugusermapdir} (default)])
2446 hotplugusermapdir=""
2449 # Let us hope that automake does not create "" directories
2450 # on non-Linux systems now.
2451 AC_SUBST([hotplugdocdir])
2452 AC_SUBST([hotplugusermapdir])
2454 m4trace:m4m/gp-pkg-config.m4:5: -1- AC_DEFUN([GP_PKG_CONFIG], [
2458 AC_ARG_VAR([PKG_CONFIG],[pkg-config package config utility])
2460 AC_ARG_VAR([PKG_CONFIG_PATH],[directory where pkg-config looks for *.pc files])
2461 export PKG_CONFIG_PATH
2463 AC_MSG_CHECKING([PKG_CONFIG_PATH])
2464 if test "x${PKG_CONFIG_PATH}" = "x"; then
2465 AC_MSG_RESULT([empty])
2467 AC_MSG_RESULT([${PKG_CONFIG_PATH}])
2470 dnl AC_REQUIRE([PKG_CHECK_MODULES])
2471 AC_PATH_PROG([PKG_CONFIG],[pkg-config],[false])
2472 if test "$PKG_CONFIG" = "false"; then
2474 *** Build requires pkg-config
2476 *** Possible solutions:
2477 *** - set PKG_CONFIG to where your pkg-config is located
2478 *** - set PATH to include the directory where pkg-config is installed
2479 *** - get it from http://freedesktop.org/software/pkgconfig/ and install it
2483 m4trace:m4m/gp-references.m4:8: -1- AC_DEFUN([GP_REF], [
2484 AC_SUBST([$1],["$2"])
2485 AC_DEFINE_UNQUOTED([$1],["$2"],[$3])
2487 m4trace:m4m/gp-references.m4:13: -1- AC_DEFUN([GP_REFERENCES], [
2489 GP_REF( [URL_GPHOTO_HOME],
2490 [http://www.gphoto.org/],
2491 [gphoto project home page])dnl
2493 GP_REF( [URL_GPHOTO_PROJECT],
2494 [http://sourceforge.net/projects/gphoto],
2495 [gphoto sourceforge project page])
2497 GP_REF( [URL_DIGICAM_LIST],
2498 [http://www.teaser.fr/~hfiguiere/linux/digicam.html],
2499 [camera list with support status])
2501 GP_REF( [URL_JPHOTO_HOME],
2502 [http://jphoto.sourceforge.net/],
2505 GP_REF( [URL_USB_MASSSTORAGE],
2506 [http://www.linux-usb.org/USB-guide/x498.html],
2507 [information about using USB mass storage])
2509 GP_REF( [MAIL_GPHOTO_DEVEL],
2510 [<gphoto-devel@lists.sourceforge.net>],
2511 [gphoto development mailing list])
2513 GP_REF( [MAIL_GPHOTO_USER],
2514 [<gphoto-user@lists.sourceforge.net>],
2515 [gphoto user mailing list])
2517 GP_REF( [MAIL_GPHOTO_TRANSLATION],
2518 [<gphoto-translation@lists.sourceforge.net>],
2519 [gphoto translation mailing list])
2522 m4trace:m4m/gp-stdint.m4:17: -1- AC_DEFUN([AX_CHECK_DEFINED_TYPE], [AC_MSG_CHECKING([for $1 in $2])
2523 AC_EGREP_CPP(changequote(<<,>>)dnl
2524 <<(^|[^a-zA-Z_0-9])$1[^a-zA-Z_0-9]>>dnl
2525 changequote([,]), [#include <$2>],
2526 ac_cv_type_$1=yes, ac_cv_type_$1=no)dnl
2527 AC_MSG_RESULT($ac_cv_type_$1)
2528 if test $ac_cv_type_$1 = yes; then
2534 m4trace:m4m/gp-stdint.m4:32: -1- AC_DEFUN([AX_NEED_STDINT_H], [
2536 ac_dir=`echo "$1"|sed 's%/[^/][^/]*$%%'`
2537 changequote([, ])dnl
2538 if test "$ac_dir" != "$1" && test "$ac_dir" != .; then
2539 # The file is in a subdirectory.
2540 test ! -d "$ac_dir" && mkdir "$ac_dir"
2543 AX_CHECK_DEFINED_TYPE(uint8_t,
2547 /* This file is generated automatically by configure */
2550 [AX_CHECK_DEFINED_TYPE(uint8_t,
2553 /* This file is generated automatically by configure */
2554 #include <inttypes.h>
2556 [AX_CHECK_DEFINED_TYPE(uint8_t,
2559 /* This file is generated automatically by configure */
2560 #include <sys/types.h>
2562 [AX_CHECK_DEFINED_TYPE(u_int8_t,
2565 /* This file is generated automatically by configure */
2568 #include <sys/types.h>
2569 typedef u_int8_t uint8_t;
2570 typedef u_int16_t uint16_t;
2571 typedef u_int32_t uint32_t;
2574 AX_CHECK_DEFINED_TYPE(u_int64_t,
2577 typedef u_int64_t uint64_t;
2578 #endif /*!__STDINT_H*/
2581 /* 64-bit types are not available on this system */
2582 /* typedef u_int64_t uint64_t; */
2583 #endif /*!__STDINT_H*/
2587 [AC_MSG_WARN([I can't find size-specific integer definitions on this system])
2588 if test -e "$1" ; then
2593 m4trace:m4m/gp-stdint.m4:93: -1- AC_DEFUN([AX_CHECK_DATA_MODEL], [
2594 AC_CHECK_SIZEOF(char)
2595 AC_CHECK_SIZEOF(short)
2596 AC_CHECK_SIZEOF(int)
2597 AC_CHECK_SIZEOF(long)
2598 AC_CHECK_SIZEOF(void*)
2599 ac_cv_char_data_model=""
2600 ac_cv_char_data_model="$ac_cv_char_data_model$ac_cv_sizeof_char"
2601 ac_cv_char_data_model="$ac_cv_char_data_model$ac_cv_sizeof_short"
2602 ac_cv_char_data_model="$ac_cv_char_data_model$ac_cv_sizeof_int"
2603 ac_cv_long_data_model=""
2604 ac_cv_long_data_model="$ac_cv_long_data_model$ac_cv_sizeof_int"
2605 ac_cv_long_data_model="$ac_cv_long_data_model$ac_cv_sizeof_long"
2606 ac_cv_long_data_model="$ac_cv_long_data_model$ac_cv_sizeof_voidp"
2607 AC_MSG_CHECKING([data model])
2608 case "$ac_cv_char_data_model/$ac_cv_long_data_model" in
2609 122/242) ac_cv_data_model="IP16" ; n="standard 16bit machine" ;;
2610 122/244) ac_cv_data_model="LP32" ; n="standard 32bit machine" ;;
2611 122/*) ac_cv_data_model="i16" ; n="unusual int16 model" ;;
2612 124/444) ac_cv_data_model="ILP32" ; n="standard 32bit unixish" ;;
2613 124/488) ac_cv_data_model="LP64" ; n="standard 64bit unixish" ;;
2614 124/448) ac_cv_data_model="LLP64" ; n="unusual 64bit unixish" ;;
2615 124/*) ac_cv_data_model="i32" ; n="unusual int32 model" ;;
2616 128/888) ac_cv_data_model="ILP64" ; n="unusual 64bit numeric" ;;
2617 128/*) ac_cv_data_model="i64" ; n="unusual int64 model" ;;
2618 222/*2) ac_cv_data_model="DSP16" ; n="strict 16bit dsptype" ;;
2619 333/*3) ac_cv_data_model="DSP24" ; n="strict 24bit dsptype" ;;
2620 444/*4) ac_cv_data_model="DSP32" ; n="strict 32bit dsptype" ;;
2621 666/*6) ac_cv_data_model="DSP48" ; n="strict 48bit dsptype" ;;
2622 888/*8) ac_cv_data_model="DSP64" ; n="strict 64bit dsptype" ;;
2623 222/*|333/*|444/*|666/*|888/*) :
2624 ac_cv_data_model="iDSP" ; n="unusual dsptype" ;;
2625 *) ac_cv_data_model="none" ; n="very unusual model" ;;
2627 AC_MSG_RESULT([$ac_cv_data_model ($ac_cv_long_data_model, $n)])
2629 m4trace:m4m/gp-stdint.m4:131: -1- AC_DEFUN([AX_CHECK_HEADER_STDINT_X], [
2630 AC_CACHE_CHECK([for stdint uintptr_t], [ac_cv_header_stdint_x],[
2631 ac_cv_header_stdint_x="" # the 1997 typedefs (inttypes.h)
2632 AC_MSG_RESULT([(..)])
2633 for i in m4_ifval([$1],[$1],[stdint.h inttypes.h sys/inttypes.h]) ; do
2634 unset ac_cv_type_uintptr_t
2635 unset ac_cv_type_uint64_t
2636 AC_CHECK_TYPE(uintptr_t,[ac_cv_header_stdint_x=$i],continue,[#include <$i>])
2637 AC_CHECK_TYPE(uint64_t,[and64="/uint64_t"],[and64=""],[#include<$i>])
2638 m4_ifvaln([$1],[$1]) break
2640 AC_MSG_CHECKING([for stdint uintptr_t])
2643 m4trace:m4m/gp-stdint.m4:146: -1- AC_DEFUN([AX_CHECK_HEADER_STDINT_O], [
2644 AC_CACHE_CHECK([for stdint uint32_t], [ac_cv_header_stdint_o],[
2645 ac_cv_header_stdint_o="" # the 1995 typedefs (sys/inttypes.h)
2646 AC_MSG_RESULT([(..)])
2647 for i in m4_ifval([$1],[$1],[inttypes.h sys/inttypes.h stdint.h]) ; do
2648 unset ac_cv_type_uint32_t
2649 unset ac_cv_type_uint64_t
2650 AC_CHECK_TYPE(uint32_t,[ac_cv_header_stdint_o=$i],continue,[#include <$i>])
2651 AC_CHECK_TYPE(uint64_t,[and64="/uint64_t"],[and64=""],[#include<$i>])
2652 m4_ifvaln([$1],[$1]) break
2655 AC_MSG_CHECKING([for stdint uint32_t])
2658 m4trace:m4m/gp-stdint.m4:162: -1- AC_DEFUN([AX_CHECK_HEADER_STDINT_U], [
2659 AC_CACHE_CHECK([for stdint u_int32_t], [ac_cv_header_stdint_u],[
2660 ac_cv_header_stdint_u="" # the BSD typedefs (sys/types.h)
2661 AC_MSG_RESULT([(..)])
2662 for i in m4_ifval([$1],[$1],[sys/types.h inttypes.h sys/inttypes.h]) ; do
2663 unset ac_cv_type_u_int32_t
2664 unset ac_cv_type_u_int64_t
2665 AC_CHECK_TYPE(u_int32_t,[ac_cv_header_stdint_u=$i],continue,[#include <$i>])
2666 AC_CHECK_TYPE(u_int64_t,[and64="/u_int64_t"],[and64=""],[#include<$i>])
2667 m4_ifvaln([$1],[$1]) break
2670 AC_MSG_CHECKING([for stdint u_int32_t])
2673 m4trace:m4m/gp-stdint.m4:178: -1- AC_DEFUN([AX_CREATE_STDINT_H], [# ------ AX CREATE STDINT H -------------------------------------
2674 AC_MSG_CHECKING([for stdint types])
2675 ac_stdint_h=`echo ifelse($1, , _stdint.h, $1)`
2676 # try to shortcircuit - if the default include path of the compiler
2677 # can find a "stdint.h" header then we assume that all compilers can.
2678 AC_CACHE_VAL([ac_cv_header_stdint_t],[
2679 old_CXXFLAGS="$CXXFLAGS" ; CXXFLAGS=""
2680 old_CPPFLAGS="$CPPFLAGS" ; CPPFLAGS=""
2681 old_CFLAGS="$CFLAGS" ; CFLAGS=""
2682 AC_TRY_COMPILE([#include <stdint.h>],[int_least32_t v = 0;],
2683 [ac_cv_stdint_result="(assuming C99 compatible system)"
2684 ac_cv_header_stdint_t="stdint.h"; ],
2685 [ac_cv_header_stdint_t=""])
2686 CXXFLAGS="$old_CXXFLAGS"
2687 CPPFLAGS="$old_CPPFLAGS"
2688 CFLAGS="$old_CFLAGS" ])
2690 v="... $ac_cv_header_stdint_h"
2691 if test "$ac_stdint_h" = "stdint.h" ; then
2692 AC_MSG_RESULT([(are you sure you want them in ./stdint.h?)])
2693 elif test "$ac_stdint_h" = "inttypes.h" ; then
2694 AC_MSG_RESULT([(are you sure you want them in ./inttypes.h?)])
2695 elif test "_$ac_cv_header_stdint_t" = "_" ; then
2696 AC_MSG_RESULT([(putting them into $ac_stdint_h)$v])
2698 ac_cv_header_stdint="$ac_cv_header_stdint_t"
2699 AC_MSG_RESULT([$ac_cv_header_stdint (shortcircuit)])
2702 if test "_$ac_cv_header_stdint_t" = "_" ; then # can not shortcircuit..
2704 dnl .....intro message done, now do a few system checks.....
2705 dnl btw, all old CHECK_TYPE macros do automatically "DEFINE" a type,
2706 dnl therefore we use the autoconf implementation detail CHECK_TYPE_NEW
2707 dnl instead that is triggered with 3 or more arguments (see types.m4)
2709 inttype_headers=`echo $2 | sed -e 's/,/ /g'`
2711 ac_cv_stdint_result="(no helpful system typedefs seen)"
2712 AX_CHECK_HEADER_STDINT_X(dnl
2713 stdint.h inttypes.h sys/inttypes.h $inttype_headers,
2714 ac_cv_stdint_result="(seen uintptr_t$and64 in $i)")
2716 if test "_$ac_cv_header_stdint_x" = "_" ; then
2717 AX_CHECK_HEADER_STDINT_O(dnl,
2718 inttypes.h sys/inttypes.h stdint.h $inttype_headers,
2719 ac_cv_stdint_result="(seen uint32_t$and64 in $i)")
2722 if test "_$ac_cv_header_stdint_x" = "_" ; then
2723 if test "_$ac_cv_header_stdint_o" = "_" ; then
2724 AX_CHECK_HEADER_STDINT_U(dnl,
2725 sys/types.h inttypes.h sys/inttypes.h $inttype_headers,
2726 ac_cv_stdint_result="(seen u_int32_t$and64 in $i)")
2729 dnl if there was no good C99 header file, do some typedef checks...
2730 if test "_$ac_cv_header_stdint_x" = "_" ; then
2731 AC_MSG_CHECKING([for stdint datatype model])
2732 AC_MSG_RESULT([(..)])
2736 if test "_$ac_cv_header_stdint_x" != "_" ; then
2737 ac_cv_header_stdint="$ac_cv_header_stdint_x"
2738 elif test "_$ac_cv_header_stdint_o" != "_" ; then
2739 ac_cv_header_stdint="$ac_cv_header_stdint_o"
2740 elif test "_$ac_cv_header_stdint_u" != "_" ; then
2741 ac_cv_header_stdint="$ac_cv_header_stdint_u"
2743 ac_cv_header_stdint="stddef.h"
2746 AC_MSG_CHECKING([for extra inttypes in chosen header])
2747 AC_MSG_RESULT([($ac_cv_header_stdint)])
2748 dnl see if int_least and int_fast types are present in _this_ header.
2749 unset ac_cv_type_int_least32_t
2750 unset ac_cv_type_int_fast32_t
2751 AC_CHECK_TYPE(int_least32_t,,,[#include <$ac_cv_header_stdint>])
2752 AC_CHECK_TYPE(int_fast32_t,,,[#include<$ac_cv_header_stdint>])
2753 AC_CHECK_TYPE(intmax_t,,,[#include <$ac_cv_header_stdint>])
2755 fi # shortcircut to system "stdint.h"
2756 # ------------------ PREPARE VARIABLES ------------------------------
2757 if test "$GCC" = "yes" ; then
2758 ac_cv_stdint_message="using gnu compiler "`$CC --version | head -1`
2760 ac_cv_stdint_message="using $CC"
2763 AC_MSG_RESULT([make use of $ac_cv_header_stdint in $ac_stdint_h dnl
2764 $ac_cv_stdint_result])
2766 dnl -----------------------------------------------------------------
2767 # ----------------- DONE inttypes.h checks START header -------------
2768 AC_CONFIG_COMMANDS([$ac_stdint_h],[
2769 AC_MSG_NOTICE(creating $ac_stdint_h : $_ac_stdint_h)
2770 ac_stdint=$tmp/_stdint.h
2772 echo "#ifndef" $_ac_stdint_h >$ac_stdint
2773 echo "#define" $_ac_stdint_h "1" >>$ac_stdint
2774 echo "#ifndef" _GENERATED_STDINT_H >>$ac_stdint
2775 echo "#define" _GENERATED_STDINT_H '"'$PACKAGE $VERSION'"' >>$ac_stdint
2776 echo "/* generated $ac_cv_stdint_message */" >>$ac_stdint
2777 if test "_$ac_cv_header_stdint_t" != "_" ; then
2778 echo "#define _STDINT_HAVE_STDINT_H" "1" >>$ac_stdint
2779 echo "#include <stdint.h>" >>$ac_stdint
2780 echo "#endif" >>$ac_stdint
2781 echo "#endif" >>$ac_stdint
2784 cat >>$ac_stdint <<STDINT_EOF
2786 /* ................... shortcircuit part ........................... */
2788 #if defined HAVE_STDINT_H || defined _STDINT_HAVE_STDINT_H
2793 /* .................... configured part ............................ */
2797 echo "/* whether we have a C99 compatible stdint header file */" >>$ac_stdint
2798 if test "_$ac_cv_header_stdint_x" != "_" ; then
2799 ac_header="$ac_cv_header_stdint_x"
2800 echo "#define _STDINT_HEADER_INTPTR" '"'"$ac_header"'"' >>$ac_stdint
2802 echo "/* #undef _STDINT_HEADER_INTPTR */" >>$ac_stdint
2805 echo "/* whether we have a C96 compatible inttypes header file */" >>$ac_stdint
2806 if test "_$ac_cv_header_stdint_o" != "_" ; then
2807 ac_header="$ac_cv_header_stdint_o"
2808 echo "#define _STDINT_HEADER_UINT32" '"'"$ac_header"'"' >>$ac_stdint
2810 echo "/* #undef _STDINT_HEADER_UINT32 */" >>$ac_stdint
2813 echo "/* whether we have a BSD compatible inet types header */" >>$ac_stdint
2814 if test "_$ac_cv_header_stdint_u" != "_" ; then
2815 ac_header="$ac_cv_header_stdint_u"
2816 echo "#define _STDINT_HEADER_U_INT32" '"'"$ac_header"'"' >>$ac_stdint
2818 echo "/* #undef _STDINT_HEADER_U_INT32 */" >>$ac_stdint
2821 echo "" >>$ac_stdint
2823 if test "_$ac_header" != "_" ; then if test "$ac_header" != "stddef.h" ; then
2824 echo "#include <$ac_header>" >>$ac_stdint
2825 echo "" >>$ac_stdint
2828 echo "/* which 64bit typedef has been found */" >>$ac_stdint
2829 if test "$ac_cv_type_uint64_t" = "yes" ; then
2830 echo "#define _STDINT_HAVE_UINT64_T" "1" >>$ac_stdint
2832 echo "/* #undef _STDINT_HAVE_UINT64_T */" >>$ac_stdint
2834 if test "$ac_cv_type_u_int64_t" = "yes" ; then
2835 echo "#define _STDINT_HAVE_U_INT64_T" "1" >>$ac_stdint
2837 echo "/* #undef _STDINT_HAVE_U_INT64_T */" >>$ac_stdint
2839 echo "" >>$ac_stdint
2841 echo "/* which type model has been detected */" >>$ac_stdint
2842 if test "_$ac_cv_char_data_model" != "_" ; then
2843 echo "#define _STDINT_CHAR_MODEL" "$ac_cv_char_data_model" >>$ac_stdint
2844 echo "#define _STDINT_LONG_MODEL" "$ac_cv_long_data_model" >>$ac_stdint
2846 echo "/* #undef _STDINT_CHAR_MODEL // skipped */" >>$ac_stdint
2847 echo "/* #undef _STDINT_LONG_MODEL // skipped */" >>$ac_stdint
2849 echo "" >>$ac_stdint
2851 echo "/* whether int_least types were detected */" >>$ac_stdint
2852 if test "$ac_cv_type_int_least32_t" = "yes"; then
2853 echo "#define _STDINT_HAVE_INT_LEAST32_T" "1" >>$ac_stdint
2855 echo "/* #undef _STDINT_HAVE_INT_LEAST32_T */" >>$ac_stdint
2857 echo "/* whether int_fast types were detected */" >>$ac_stdint
2858 if test "$ac_cv_type_int_fast32_t" = "yes"; then
2859 echo "#define _STDINT_HAVE_INT_FAST32_T" "1" >>$ac_stdint
2861 echo "/* #undef _STDINT_HAVE_INT_FAST32_T */" >>$ac_stdint
2863 echo "/* whether intmax_t type was detected */" >>$ac_stdint
2864 if test "$ac_cv_type_intmax_t" = "yes"; then
2865 echo "#define _STDINT_HAVE_INTMAX_T" "1" >>$ac_stdint
2867 echo "/* #undef _STDINT_HAVE_INTMAX_T */" >>$ac_stdint
2869 echo "" >>$ac_stdint
2871 cat >>$ac_stdint <<STDINT_EOF
2872 /* .................... detections part ............................ */
2874 /* whether we need to define bitspecific types from compiler base types */
2875 #ifndef _STDINT_HEADER_INTPTR
2876 #ifndef _STDINT_HEADER_UINT32
2877 #ifndef _STDINT_HEADER_U_INT32
2878 #define _STDINT_NEED_INT_MODEL_T
2880 #define _STDINT_HAVE_U_INT_TYPES
2885 #ifdef _STDINT_HAVE_U_INT_TYPES
2886 #undef _STDINT_NEED_INT_MODEL_T
2889 #ifdef _STDINT_CHAR_MODEL
2890 #if _STDINT_CHAR_MODEL+0 == 122 || _STDINT_CHAR_MODEL+0 == 124
2891 #ifndef _STDINT_BYTE_MODEL
2892 #define _STDINT_BYTE_MODEL 12
2897 #ifndef _STDINT_HAVE_INT_LEAST32_T
2898 #define _STDINT_NEED_INT_LEAST_T
2901 #ifndef _STDINT_HAVE_INT_FAST32_T
2902 #define _STDINT_NEED_INT_FAST_T
2905 #ifndef _STDINT_HEADER_INTPTR
2906 #define _STDINT_NEED_INTPTR_T
2907 #ifndef _STDINT_HAVE_INTMAX_T
2908 #define _STDINT_NEED_INTMAX_T
2913 /* .................... definition part ............................ */
2915 /* some system headers have good uint64_t */
2916 #ifndef _HAVE_UINT64_T
2917 #if defined _STDINT_HAVE_UINT64_T || defined HAVE_UINT64_T
2918 #define _HAVE_UINT64_T
2919 #elif defined _STDINT_HAVE_U_INT64_T || defined HAVE_U_INT64_T
2920 #define _HAVE_UINT64_T
2921 typedef u_int64_t uint64_t;
2925 #ifndef _HAVE_UINT64_T
2926 /* .. here are some common heuristics using compiler runtime specifics */
2927 #if defined __STDC_VERSION__ && defined __STDC_VERSION__ >= 199901L
2928 #define _HAVE_UINT64_T
2929 #define _HAVE_LONGLONG_UINT64_T
2930 typedef long long int64_t;
2931 typedef unsigned long long uint64_t;
2933 #elif !defined __STRICT_ANSI__
2934 #if defined _MSC_VER || defined __WATCOMC__ || defined __BORLANDC__
2935 #define _HAVE_UINT64_T
2936 typedef __int64 int64_t;
2937 typedef unsigned __int64 uint64_t;
2939 #elif defined __GNUC__ || defined __MWERKS__ || defined __ELF__
2940 /* note: all ELF-systems seem to have loff-support which needs 64-bit */
2941 #if !defined _NO_LONGLONG
2942 #define _HAVE_UINT64_T
2943 #define _HAVE_LONGLONG_UINT64_T
2944 typedef long long int64_t;
2945 typedef unsigned long long uint64_t;
2948 #elif defined __alpha || (defined __mips && defined _ABIN32)
2949 #if !defined _NO_LONGLONG
2950 typedef long int64_t;
2951 typedef unsigned long uint64_t;
2953 /* compiler/cpu type to define int64_t */
2958 #if defined _STDINT_HAVE_U_INT_TYPES
2959 /* int8_t int16_t int32_t defined by inet code, redeclare the u_intXX types */
2960 typedef u_int8_t uint8_t;
2961 typedef u_int16_t uint16_t;
2962 typedef u_int32_t uint32_t;
2964 /* glibc compatibility */
2965 #ifndef __int8_t_defined
2966 #define __int8_t_defined
2970 #ifdef _STDINT_NEED_INT_MODEL_T
2971 /* we must guess all the basic types. Apart from byte-adressable system, */
2972 /* there a few 32-bit-only dsp-systems that we guard with BYTE_MODEL 8-} */
2973 /* (btw, those nibble-addressable systems are way off, or so we assume) */
2975 dnl /* have a look at "64bit and data size neutrality" at */
2976 dnl /* http://unix.org/version2/whatsnew/login_64bit.html */
2977 dnl /* (the shorthand "ILP" types always have a "P" part) */
2979 #if defined _STDINT_BYTE_MODEL
2980 #if _STDINT_LONG_MODEL+0 == 242
2981 /* 2:4:2 = IP16 = a normal 16-bit system */
2982 typedef unsigned char uint8_t;
2983 typedef unsigned short uint16_t;
2984 typedef unsigned long uint32_t;
2985 #ifndef __int8_t_defined
2986 #define __int8_t_defined
2987 typedef char int8_t;
2988 typedef short int16_t;
2989 typedef long int32_t;
2991 #elif _STDINT_LONG_MODEL+0 == 244 || _STDINT_LONG_MODEL == 444
2992 /* 2:4:4 = LP32 = a 32-bit system derived from a 16-bit */
2993 /* 4:4:4 = ILP32 = a normal 32-bit system */
2994 typedef unsigned char uint8_t;
2995 typedef unsigned short uint16_t;
2996 typedef unsigned int uint32_t;
2997 #ifndef __int8_t_defined
2998 #define __int8_t_defined
2999 typedef char int8_t;
3000 typedef short int16_t;
3001 typedef int int32_t;
3003 #elif _STDINT_LONG_MODEL+0 == 484 || _STDINT_LONG_MODEL+0 == 488
3004 /* 4:8:4 = IP32 = a 32-bit system prepared for 64-bit */
3005 /* 4:8:8 = LP64 = a normal 64-bit system */
3006 typedef unsigned char uint8_t;
3007 typedef unsigned short uint16_t;
3008 typedef unsigned int uint32_t;
3009 #ifndef __int8_t_defined
3010 #define __int8_t_defined
3011 typedef char int8_t;
3012 typedef short int16_t;
3013 typedef int int32_t;
3015 /* this system has a "long" of 64bit */
3016 #ifndef _HAVE_UINT64_T
3017 #define _HAVE_UINT64_T
3018 typedef unsigned long uint64_t;
3019 typedef long int64_t;
3021 #elif _STDINT_LONG_MODEL+0 == 448
3022 /* LLP64 a 64-bit system derived from a 32-bit system */
3023 typedef unsigned char uint8_t;
3024 typedef unsigned short uint16_t;
3025 typedef unsigned int uint32_t;
3026 #ifndef __int8_t_defined
3027 #define __int8_t_defined
3028 typedef char int8_t;
3029 typedef short int16_t;
3030 typedef int int32_t;
3032 /* assuming the system has a "long long" */
3033 #ifndef _HAVE_UINT64_T
3034 #define _HAVE_UINT64_T
3035 #define _HAVE_LONGLONG_UINT64_T
3036 typedef unsigned long long uint64_t;
3037 typedef long long int64_t;
3040 #define _STDINT_NO_INT32_T
3043 #define _STDINT_NO_INT8_T
3044 #define _STDINT_NO_INT32_T
3049 * quote from SunOS-5.8 sys/inttypes.h:
3050 * Use at your own risk. As of February 1996, the committee is squarely
3051 * behind the fixed sized types; the "least" and "fast" types are still being
3052 * discussed. The probability that the "fast" types may be removed before
3053 * the standard is finalized is high enough that they are not currently
3057 #if defined _STDINT_NEED_INT_LEAST_T
3058 typedef int8_t int_least8_t;
3059 typedef int16_t int_least16_t;
3060 typedef int32_t int_least32_t;
3061 #ifdef _HAVE_UINT64_T
3062 typedef int64_t int_least64_t;
3065 typedef uint8_t uint_least8_t;
3066 typedef uint16_t uint_least16_t;
3067 typedef uint32_t uint_least32_t;
3068 #ifdef _HAVE_UINT64_T
3069 typedef uint64_t uint_least64_t;
3074 #if defined _STDINT_NEED_INT_FAST_T
3075 typedef int8_t int_fast8_t;
3076 typedef int int_fast16_t;
3077 typedef int32_t int_fast32_t;
3078 #ifdef _HAVE_UINT64_T
3079 typedef int64_t int_fast64_t;
3082 typedef uint8_t uint_fast8_t;
3083 typedef unsigned uint_fast16_t;
3084 typedef uint32_t uint_fast32_t;
3085 #ifdef _HAVE_UINT64_T
3086 typedef uint64_t uint_fast64_t;
3091 #ifdef _STDINT_NEED_INTMAX_T
3092 #ifdef _HAVE_UINT64_T
3093 typedef int64_t intmax_t;
3094 typedef uint64_t uintmax_t;
3096 typedef long intmax_t;
3097 typedef unsigned long uintmax_t;
3101 #ifdef _STDINT_NEED_INTPTR_T
3102 #ifndef __intptr_t_defined
3103 #define __intptr_t_defined
3104 /* we encourage using "long" to store pointer values, never use "int" ! */
3105 #if _STDINT_LONG_MODEL+0 == 242 || _STDINT_LONG_MODEL+0 == 484
3106 typedef unsinged int uintptr_t;
3107 typedef int intptr_t;
3108 #elif _STDINT_LONG_MODEL+0 == 244 || _STDINT_LONG_MODEL+0 == 444
3109 typedef unsigned long uintptr_t;
3110 typedef long intptr_t;
3111 #elif _STDINT_LONG_MODEL+0 == 448 && defined _HAVE_UINT64_T
3112 typedef uint64_t uintptr_t;
3113 typedef int64_t intptr_t;
3114 #else /* matches typical system types ILP32 and LP64 - but not IP16 or LLP64 */
3115 typedef unsigned long uintptr_t;
3116 typedef long intptr_t;
3121 /* The ISO C99 standard specifies that in C++ implementations these
3122 should only be defined if explicitly requested. */
3123 #if !defined __cplusplus || defined __STDC_CONSTANT_MACROS
3127 # define INT8_C(c) c
3128 # define INT16_C(c) c
3129 # define INT32_C(c) c
3130 # ifdef _HAVE_LONGLONG_UINT64_T
3131 # define INT64_C(c) c ## L
3133 # define INT64_C(c) c ## LL
3137 # define UINT8_C(c) c ## U
3138 # define UINT16_C(c) c ## U
3139 # define UINT32_C(c) c ## U
3140 # ifdef _HAVE_LONGLONG_UINT64_T
3141 # define UINT64_C(c) c ## UL
3143 # define UINT64_C(c) c ## ULL
3147 # ifdef _HAVE_LONGLONG_UINT64_T
3148 # define INTMAX_C(c) c ## L
3149 # define UINTMAX_C(c) c ## UL
3151 # define INTMAX_C(c) c ## LL
3152 # define UINTMAX_C(c) c ## ULL
3155 /* literalnumbers */
3159 /* These limits are merily those of a two complement byte-oriented system */
3161 /* Minimum of signed integral types. */
3162 # define INT8_MIN (-128)
3163 # define INT16_MIN (-32767-1)
3164 # define INT32_MIN (-2147483647-1)
3165 # define INT64_MIN (-__INT64_C(9223372036854775807)-1)
3166 /* Maximum of signed integral types. */
3167 # define INT8_MAX (127)
3168 # define INT16_MAX (32767)
3169 # define INT32_MAX (2147483647)
3170 # define INT64_MAX (__INT64_C(9223372036854775807))
3172 /* Maximum of unsigned integral types. */
3173 # define UINT8_MAX (255)
3174 # define UINT16_MAX (65535)
3175 # define UINT32_MAX (4294967295U)
3176 # define UINT64_MAX (__UINT64_C(18446744073709551615))
3178 /* Minimum of signed integral types having a minimum size. */
3179 # define INT_LEAST8_MIN INT8_MIN
3180 # define INT_LEAST16_MIN INT16_MIN
3181 # define INT_LEAST32_MIN INT32_MIN
3182 # define INT_LEAST64_MIN INT64_MIN
3183 /* Maximum of signed integral types having a minimum size. */
3184 # define INT_LEAST8_MAX INT8_MAX
3185 # define INT_LEAST16_MAX INT16_MAX
3186 # define INT_LEAST32_MAX INT32_MAX
3187 # define INT_LEAST64_MAX INT64_MAX
3189 /* Maximum of unsigned integral types having a minimum size. */
3190 # define UINT_LEAST8_MAX UINT8_MAX
3191 # define UINT_LEAST16_MAX UINT16_MAX
3192 # define UINT_LEAST32_MAX UINT32_MAX
3193 # define UINT_LEAST64_MAX UINT64_MAX
3202 if cmp -s $ac_stdint_h $ac_stdint 2>/dev/null; then
3203 AC_MSG_NOTICE([$ac_stdint_h is unchanged])
3205 ac_dir=`AS_DIRNAME(["$ac_stdint_h"])`
3206 AS_MKDIR_P(["$ac_dir"])
3208 mv $ac_stdint $ac_stdint_h
3210 ],[# variables for create stdint.h replacement
3213 ac_stdint_h="$ac_stdint_h"
3214 _ac_stdint_h=AS_TR_CPP(_$PACKAGE-$ac_stdint_h)
3215 ac_cv_stdint_message="$ac_cv_stdint_message"
3216 ac_cv_header_stdint_t="$ac_cv_header_stdint_t"
3217 ac_cv_header_stdint_x="$ac_cv_header_stdint_x"
3218 ac_cv_header_stdint_o="$ac_cv_header_stdint_o"
3219 ac_cv_header_stdint_u="$ac_cv_header_stdint_u"
3220 ac_cv_type_uint64_t="$ac_cv_type_uint64_t"
3221 ac_cv_type_u_int64_t="$ac_cv_type_u_int64_t"
3222 ac_cv_char_data_model="$ac_cv_char_data_model"
3223 ac_cv_long_data_model="$ac_cv_long_data_model"
3224 ac_cv_type_int_least32_t="$ac_cv_type_int_least32_t"
3225 ac_cv_type_int_fast32_t="$ac_cv_type_int_fast32_t"
3226 ac_cv_type_intmax_t="$ac_cv_type_intmax_t"
3229 m4trace:m4m/gp-udev.m4:4: -1- AC_DEFUN([GP_UDEV], [dnl
3230 if test "x${udevscriptdir}" = "x"; then udevscriptdir="\${libdir}/udev"; fi
3231 AC_ARG_VAR([udevscriptdir],[Directory where udev scripts like check-ptp-camera will be installed])
3232 AC_SUBST([udevscriptdir])
3233 AM_CONDITIONAL([HAVE_UDEV],[if echo "$host"|grep -i linux >/dev/null ; then $1; fi ])
3235 m4trace:auto-m4/codeset.m4:11: -1- AC_DEFUN([AM_LANGINFO_CODESET], [
3236 AC_CACHE_CHECK([for nl_langinfo and CODESET], am_cv_langinfo_codeset,
3237 [AC_TRY_LINK([#include <langinfo.h>],
3238 [char* cs = nl_langinfo(CODESET);],
3239 am_cv_langinfo_codeset=yes,
3240 am_cv_langinfo_codeset=no)
3242 if test $am_cv_langinfo_codeset = yes; then
3243 AC_DEFINE(HAVE_LANGINFO_CODESET, 1,
3244 [Define if you have <langinfo.h> and nl_langinfo(CODESET).])
3247 m4trace:auto-m4/gettext.m4:59: -1- AC_DEFUN([AM_GNU_GETTEXT], [
3248 dnl Argument checking.
3249 ifelse([$1], [], , [ifelse([$1], [external], , [ifelse([$1], [no-libtool], , [ifelse([$1], [use-libtool], ,
3250 [errprint([ERROR: invalid first argument to AM_GNU_GETTEXT
3252 ifelse([$2], [], , [ifelse([$2], [need-ngettext], , [ifelse([$2], [need-formatstring-macros], ,
3253 [errprint([ERROR: invalid second argument to AM_GNU_GETTEXT
3255 define(gt_included_intl, ifelse([$1], [external], [no], [yes]))
3256 define(gt_libtool_suffix_prefix, ifelse([$1], [use-libtool], [l], []))
3258 AC_REQUIRE([AM_PO_SUBDIRS])dnl
3259 ifelse(gt_included_intl, yes, [
3260 AC_REQUIRE([AM_INTL_SUBDIR])dnl
3263 dnl Prerequisites of AC_LIB_LINKFLAGS_BODY.
3264 AC_REQUIRE([AC_LIB_PREPARE_PREFIX])
3265 AC_REQUIRE([AC_LIB_RPATH])
3267 dnl Sometimes libintl requires libiconv, so first search for libiconv.
3268 dnl Ideally we would do this search only after the
3269 dnl if test "$USE_NLS" = "yes"; then
3270 dnl if test "$gt_cv_func_gnugettext_libc" != "yes"; then
3271 dnl tests. But if configure.in invokes AM_ICONV after AM_GNU_GETTEXT
3272 dnl the configure script would need to contain the same shell code
3273 dnl again, outside any 'if'. There are two solutions:
3274 dnl - Invoke AM_ICONV_LINKFLAGS_BODY here, outside any 'if'.
3275 dnl - Control the expansions in more detail using AC_PROVIDE_IFELSE.
3276 dnl Since AC_PROVIDE_IFELSE is only in autoconf >= 2.52 and not
3277 dnl documented, we avoid it.
3278 ifelse(gt_included_intl, yes, , [
3279 AC_REQUIRE([AM_ICONV_LINKFLAGS_BODY])
3285 ifelse(gt_included_intl, yes, [
3286 BUILD_INCLUDED_LIBINTL=no
3287 USE_INCLUDED_LIBINTL=no
3293 dnl If we use NLS figure out what method
3294 if test "$USE_NLS" = "yes"; then
3295 gt_use_preinstalled_gnugettext=no
3296 ifelse(gt_included_intl, yes, [
3297 AC_MSG_CHECKING([whether included gettext is requested])
3298 AC_ARG_WITH(included-gettext,
3299 [ --with-included-gettext use the GNU gettext library included here],
3300 nls_cv_force_use_gnu_gettext=$withval,
3301 nls_cv_force_use_gnu_gettext=no)
3302 AC_MSG_RESULT($nls_cv_force_use_gnu_gettext)
3304 nls_cv_use_gnu_gettext="$nls_cv_force_use_gnu_gettext"
3305 if test "$nls_cv_force_use_gnu_gettext" != "yes"; then
3307 dnl User does not insist on using GNU NLS library. Figure out what
3308 dnl to use. If GNU gettext is available we use this. Else we have
3309 dnl to fall back to GNU NLS library.
3311 dnl Add a version number to the cache macros.
3312 define([gt_api_version], ifelse([$2], [need-formatstring-macros], 3, ifelse([$2], [need-ngettext], 2, 1)))
3313 define([gt_cv_func_gnugettext_libc], [gt_cv_func_gnugettext]gt_api_version[_libc])
3314 define([gt_cv_func_gnugettext_libintl], [gt_cv_func_gnugettext]gt_api_version[_libintl])
3316 AC_CACHE_CHECK([for GNU gettext in libc], gt_cv_func_gnugettext_libc,
3317 [AC_TRY_LINK([#include <libintl.h>
3318 ]ifelse([$2], [need-formatstring-macros],
3319 [#ifndef __GNU_GETTEXT_SUPPORTED_REVISION
3320 #define __GNU_GETTEXT_SUPPORTED_REVISION(major) ((major) == 0 ? 0 : -1)
3323 typedef int array [2 * (__GNU_GETTEXT_SUPPORTED_REVISION(0) >= 1) - 1];
3325 ], [])[extern int _nl_msg_cat_cntr;
3326 extern int *_nl_domain_bindings;],
3327 [bindtextdomain ("", "");
3328 return (int) gettext ("")]ifelse([$2], [need-ngettext], [ + (int) ngettext ("", "", 0)], [])[ + _nl_msg_cat_cntr + *_nl_domain_bindings],
3329 gt_cv_func_gnugettext_libc=yes,
3330 gt_cv_func_gnugettext_libc=no)])
3332 if test "$gt_cv_func_gnugettext_libc" != "yes"; then
3333 dnl Sometimes libintl requires libiconv, so first search for libiconv.
3334 ifelse(gt_included_intl, yes, , [
3337 dnl Search for libintl and define LIBINTL, LTLIBINTL and INCINTL
3338 dnl accordingly. Don't use AC_LIB_LINKFLAGS_BODY([intl],[iconv])
3339 dnl because that would add "-liconv" to LIBINTL and LTLIBINTL
3340 dnl even if libiconv doesn't exist.
3341 AC_LIB_LINKFLAGS_BODY([intl])
3342 AC_CACHE_CHECK([for GNU gettext in libintl],
3343 gt_cv_func_gnugettext_libintl,
3344 [gt_save_CPPFLAGS="$CPPFLAGS"
3345 CPPFLAGS="$CPPFLAGS $INCINTL"
3346 gt_save_LIBS="$LIBS"
3347 LIBS="$LIBS $LIBINTL"
3348 dnl Now see whether libintl exists and does not depend on libiconv.
3349 AC_TRY_LINK([#include <libintl.h>
3350 ]ifelse([$2], [need-formatstring-macros],
3351 [#ifndef __GNU_GETTEXT_SUPPORTED_REVISION
3352 #define __GNU_GETTEXT_SUPPORTED_REVISION(major) ((major) == 0 ? 0 : -1)
3355 typedef int array [2 * (__GNU_GETTEXT_SUPPORTED_REVISION(0) >= 1) - 1];
3357 ], [])[extern int _nl_msg_cat_cntr;
3362 const char *_nl_expand_alias ();],
3363 [bindtextdomain ("", "");
3364 return (int) gettext ("")]ifelse([$2], [need-ngettext], [ + (int) ngettext ("", "", 0)], [])[ + _nl_msg_cat_cntr + *_nl_expand_alias (0)],
3365 gt_cv_func_gnugettext_libintl=yes,
3366 gt_cv_func_gnugettext_libintl=no)
3367 dnl Now see whether libintl exists and depends on libiconv.
3368 if test "$gt_cv_func_gnugettext_libintl" != yes && test -n "$LIBICONV"; then
3369 LIBS="$LIBS $LIBICONV"
3370 AC_TRY_LINK([#include <libintl.h>
3371 ]ifelse([$2], [need-formatstring-macros],
3372 [#ifndef __GNU_GETTEXT_SUPPORTED_REVISION
3373 #define __GNU_GETTEXT_SUPPORTED_REVISION(major) ((major) == 0 ? 0 : -1)
3376 typedef int array [2 * (__GNU_GETTEXT_SUPPORTED_REVISION(0) >= 1) - 1];
3378 ], [])[extern int _nl_msg_cat_cntr;
3383 const char *_nl_expand_alias ();],
3384 [bindtextdomain ("", "");
3385 return (int) gettext ("")]ifelse([$2], [need-ngettext], [ + (int) ngettext ("", "", 0)], [])[ + _nl_msg_cat_cntr + *_nl_expand_alias (0)],
3386 [LIBINTL="$LIBINTL $LIBICONV"
3387 LTLIBINTL="$LTLIBINTL $LTLIBICONV"
3388 gt_cv_func_gnugettext_libintl=yes
3391 CPPFLAGS="$gt_save_CPPFLAGS"
3392 LIBS="$gt_save_LIBS"])
3395 dnl If an already present or preinstalled GNU gettext() is found,
3396 dnl use it. But if this macro is used in GNU gettext, and GNU
3397 dnl gettext is already preinstalled in libintl, we update this
3398 dnl libintl. (Cf. the install rule in intl/Makefile.in.)
3399 if test "$gt_cv_func_gnugettext_libc" = "yes" \
3400 || { test "$gt_cv_func_gnugettext_libintl" = "yes" \
3401 && test "$PACKAGE" != gettext-runtime \
3402 && test "$PACKAGE" != gettext-tools; }; then
3403 gt_use_preinstalled_gnugettext=yes
3405 dnl Reset the values set by searching for libintl.
3411 ifelse(gt_included_intl, yes, [
3412 if test "$gt_use_preinstalled_gnugettext" != "yes"; then
3413 dnl GNU gettext is not found in the C library.
3414 dnl Fall back on included GNU gettext library.
3415 nls_cv_use_gnu_gettext=yes
3419 if test "$nls_cv_use_gnu_gettext" = "yes"; then
3420 dnl Mark actions used to generate GNU NLS library.
3421 BUILD_INCLUDED_LIBINTL=yes
3422 USE_INCLUDED_LIBINTL=yes
3423 LIBINTL="ifelse([$3],[],\${top_builddir}/intl,[$3])/libintl.[]gt_libtool_suffix_prefix[]a $LIBICONV"
3424 LTLIBINTL="ifelse([$3],[],\${top_builddir}/intl,[$3])/libintl.[]gt_libtool_suffix_prefix[]a $LTLIBICONV"
3425 LIBS=`echo " $LIBS " | sed -e 's/ -lintl / /' -e 's/^ //' -e 's/ $//'`
3428 if test "$gt_use_preinstalled_gnugettext" = "yes" \
3429 || test "$nls_cv_use_gnu_gettext" = "yes"; then
3430 dnl Mark actions to use GNU gettext tools.
3435 if test "$gt_use_preinstalled_gnugettext" = "yes" \
3436 || test "$nls_cv_use_gnu_gettext" = "yes"; then
3437 AC_DEFINE(ENABLE_NLS, 1,
3438 [Define to 1 if translation of program messages to the user's native language
3445 AC_MSG_CHECKING([whether to use NLS])
3446 AC_MSG_RESULT([$USE_NLS])
3447 if test "$USE_NLS" = "yes"; then
3448 AC_MSG_CHECKING([where the gettext function comes from])
3449 if test "$gt_use_preinstalled_gnugettext" = "yes"; then
3450 if test "$gt_cv_func_gnugettext_libintl" = "yes"; then
3451 gt_source="external libintl"
3456 gt_source="included intl directory"
3458 AC_MSG_RESULT([$gt_source])
3461 if test "$USE_NLS" = "yes"; then
3463 if test "$gt_use_preinstalled_gnugettext" = "yes"; then
3464 if test "$gt_cv_func_gnugettext_libintl" = "yes"; then
3465 AC_MSG_CHECKING([how to link with libintl])
3466 AC_MSG_RESULT([$LIBINTL])
3467 AC_LIB_APPENDTOVAR([CPPFLAGS], [$INCINTL])
3470 dnl For backward compatibility. Some packages may be using this.
3471 AC_DEFINE(HAVE_GETTEXT, 1,
3472 [Define if the GNU gettext() function is already present or preinstalled.])
3473 AC_DEFINE(HAVE_DCGETTEXT, 1,
3474 [Define if the GNU dcgettext() function is already present or preinstalled.])
3477 dnl We need to process the po/ directory.
3481 ifelse(gt_included_intl, yes, [
3482 dnl If this is used in GNU gettext we have to set BUILD_INCLUDED_LIBINTL
3483 dnl to 'yes' because some of the testsuite requires it.
3484 if test "$PACKAGE" = gettext-runtime || test "$PACKAGE" = gettext-tools; then
3485 BUILD_INCLUDED_LIBINTL=yes
3488 dnl Make all variables we use known to autoconf.
3489 AC_SUBST(BUILD_INCLUDED_LIBINTL)
3490 AC_SUBST(USE_INCLUDED_LIBINTL)
3493 dnl For backward compatibility. Some configure.ins may be using this.
3495 nls_cv_header_libgt=
3497 dnl For backward compatibility. Some Makefiles may be using this.
3499 AC_SUBST(DATADIRNAME)
3501 dnl For backward compatibility. Some Makefiles may be using this.
3503 AC_SUBST(INSTOBJEXT)
3505 dnl For backward compatibility. Some Makefiles may be using this.
3509 dnl For backward compatibility. Some Makefiles may be using this.
3510 if test "$USE_INCLUDED_LIBINTL" = yes; then
3511 INTLOBJS="\$(GETTOBJS)"
3515 dnl Enable libtool support if the surrounding package wishes it.
3516 INTL_LIBTOOL_SUFFIX_PREFIX=gt_libtool_suffix_prefix
3517 AC_SUBST(INTL_LIBTOOL_SUFFIX_PREFIX)
3520 dnl For backward compatibility. Some Makefiles may be using this.
3524 dnl Make all documented variables known to autoconf.
3529 m4trace:auto-m4/gettext.m4:347: -1- AC_DEFUN([AM_INTL_SUBDIR], [
3530 AC_REQUIRE([AC_PROG_INSTALL])dnl
3531 AC_REQUIRE([AM_MKINSTALLDIRS])dnl
3532 AC_REQUIRE([AC_PROG_CC])dnl
3533 AC_REQUIRE([AC_CANONICAL_HOST])dnl
3534 AC_REQUIRE([AC_PROG_RANLIB])dnl
3535 AC_REQUIRE([AC_ISC_POSIX])dnl
3536 AC_REQUIRE([AC_HEADER_STDC])dnl
3537 AC_REQUIRE([AC_C_CONST])dnl
3538 AC_REQUIRE([bh_C_SIGNED])dnl
3539 AC_REQUIRE([AC_C_INLINE])dnl
3540 AC_REQUIRE([AC_TYPE_OFF_T])dnl
3541 AC_REQUIRE([AC_TYPE_SIZE_T])dnl
3542 AC_REQUIRE([jm_AC_TYPE_LONG_LONG])dnl
3543 AC_REQUIRE([gt_TYPE_LONGDOUBLE])dnl
3544 AC_REQUIRE([gt_TYPE_WCHAR_T])dnl
3545 AC_REQUIRE([gt_TYPE_WINT_T])dnl
3546 AC_REQUIRE([jm_AC_HEADER_INTTYPES_H])
3547 AC_REQUIRE([jm_AC_HEADER_STDINT_H])
3548 AC_REQUIRE([gt_TYPE_INTMAX_T])
3549 AC_REQUIRE([gt_PRINTF_POSIX])
3550 AC_REQUIRE([AC_FUNC_ALLOCA])dnl
3551 AC_REQUIRE([AC_FUNC_MMAP])dnl
3552 AC_REQUIRE([jm_GLIBC21])dnl
3553 AC_REQUIRE([gt_INTDIV0])dnl
3554 AC_REQUIRE([jm_AC_TYPE_UINTMAX_T])dnl
3555 AC_REQUIRE([gt_HEADER_INTTYPES_H])dnl
3556 AC_REQUIRE([gt_INTTYPES_PRI])dnl
3557 AC_REQUIRE([gl_XSIZE])dnl
3559 AC_CHECK_TYPE([ptrdiff_t], ,
3560 [AC_DEFINE([ptrdiff_t], [long],
3561 [Define as the type of the result of subtracting two pointers, if the system doesn't define it.])
3563 AC_CHECK_HEADERS([argz.h limits.h locale.h nl_types.h malloc.h stddef.h \
3564 stdlib.h string.h unistd.h sys/param.h])
3565 AC_CHECK_FUNCS([asprintf fwprintf getcwd getegid geteuid getgid getuid \
3566 mempcpy munmap putenv setenv setlocale snprintf stpcpy strcasecmp strdup \
3567 strtoul tsearch wcslen __argz_count __argz_stringify __argz_next \
3570 dnl Use the _snprintf function only if it is declared (because on NetBSD it
3571 dnl is defined as a weak alias of snprintf; we prefer to use the latter).
3572 gt_CHECK_DECL(_snprintf, [#include <stdio.h>])
3573 gt_CHECK_DECL(_snwprintf, [#include <stdio.h>])
3575 dnl Use the *_unlocked functions only if they are declared.
3576 dnl (because some of them were defined without being declared in Solaris
3577 dnl 2.5.1 but were removed in Solaris 2.6, whereas we want binaries built
3578 dnl on Solaris 2.5.1 to run on Solaris 2.6).
3579 dnl Don't use AC_CHECK_DECLS because it isn't supported in autoconf-2.13.
3580 gt_CHECK_DECL(feof_unlocked, [#include <stdio.h>])
3581 gt_CHECK_DECL(fgets_unlocked, [#include <stdio.h>])
3582 gt_CHECK_DECL(getc_unlocked, [#include <stdio.h>])
3584 case $gt_cv_func_printf_posix in
3585 *yes) HAVE_POSIX_PRINTF=1 ;;
3586 *) HAVE_POSIX_PRINTF=0 ;;
3588 AC_SUBST([HAVE_POSIX_PRINTF])
3589 if test "$ac_cv_func_asprintf" = yes; then
3594 AC_SUBST([HAVE_ASPRINTF])
3595 if test "$ac_cv_func_snprintf" = yes; then
3600 AC_SUBST([HAVE_SNPRINTF])
3601 if test "$ac_cv_func_wprintf" = yes; then
3606 AC_SUBST([HAVE_WPRINTF])
3610 if test $ac_cv_header_locale_h = yes; then
3614 dnl intl/plural.c is generated from intl/plural.y. It requires bison,
3615 dnl because plural.y uses bison specific features. It requires at least
3616 dnl bison-1.26 because earlier versions generate a plural.c that doesn't
3618 dnl bison is only needed for the maintainer (who touches plural.y). But in
3619 dnl order to avoid separate Makefiles or --enable-maintainer-mode, we put
3620 dnl the rule in general Makefile. Now, some people carelessly touch the
3621 dnl files or have a broken "make" program, hence the plural.c rule will
3622 dnl sometimes fire. To avoid an error, defines BISON to ":" if it is not
3623 dnl present or too old.
3624 AC_CHECK_PROGS([INTLBISON], [bison])
3625 if test -z "$INTLBISON"; then
3628 dnl Found it, now check the version.
3629 AC_MSG_CHECKING([version of bison])
3630 changequote(<<,>>)dnl
3631 ac_prog_version=`$INTLBISON --version 2>&1 | sed -n 's/^.*GNU Bison.* \([0-9]*\.[0-9.]*\).*$/\1/p'`
3632 case $ac_prog_version in
3633 '') ac_prog_version="v. ?.??, bad"; ac_verc_fail=yes;;
3634 1.2[6-9]* | 1.[3-9][0-9]* | [2-9].*)
3636 ac_prog_version="$ac_prog_version, ok"; ac_verc_fail=no;;
3637 *) ac_prog_version="$ac_prog_version, bad"; ac_verc_fail=yes;;
3639 AC_MSG_RESULT([$ac_prog_version])
3641 if test $ac_verc_fail = yes; then
3645 m4trace:auto-m4/gettext.m4:468: -1- AC_DEFUN([gt_CHECK_DECL], [
3646 AC_CACHE_CHECK([whether $1 is declared], ac_cv_have_decl_$1,
3647 [AC_TRY_COMPILE([$2], [
3649 char *p = (char *) $1;
3651 ], ac_cv_have_decl_$1=yes, ac_cv_have_decl_$1=no)])
3652 if test $ac_cv_have_decl_$1 = yes; then
3657 AC_DEFINE_UNQUOTED([HAVE_DECL_]translit($1, [a-z], [A-Z]), [$gt_value],
3658 [Define to 1 if you have the declaration of `$1', and to 0 if you don't.])
3660 m4trace:auto-m4/gettext.m4:487: -1- AC_DEFUN([AM_GNU_GETTEXT_VERSION], [])
3661 m4trace:auto-m4/glibc21.m4:12: -1- AC_DEFUN([jm_GLIBC21], [
3662 AC_CACHE_CHECK(whether we are using the GNU C Library 2.1 or newer,
3663 ac_cv_gnu_library_2_1,
3664 [AC_EGREP_CPP([Lucky GNU user],
3666 #include <features.h>
3667 #ifdef __GNU_LIBRARY__
3668 #if (__GLIBC__ == 2 && __GLIBC_MINOR__ >= 1) || (__GLIBC__ > 2)
3673 ac_cv_gnu_library_2_1=yes,
3674 ac_cv_gnu_library_2_1=no)
3678 GLIBC21="$ac_cv_gnu_library_2_1"
3681 m4trace:auto-m4/iconv.m4:11: -1- AC_DEFUN([AM_ICONV_LINKFLAGS_BODY], [
3682 dnl Prerequisites of AC_LIB_LINKFLAGS_BODY.
3683 AC_REQUIRE([AC_LIB_PREPARE_PREFIX])
3684 AC_REQUIRE([AC_LIB_RPATH])
3686 dnl Search for libiconv and define LIBICONV, LTLIBICONV and INCICONV
3688 AC_LIB_LINKFLAGS_BODY([iconv])
3690 m4trace:auto-m4/iconv.m4:22: -1- AC_DEFUN([AM_ICONV_LINK], [
3691 dnl Some systems have iconv in libc, some have it in libiconv (OSF/1 and
3692 dnl those with the standalone portable GNU libiconv installed).
3694 dnl Search for libiconv and define LIBICONV, LTLIBICONV and INCICONV
3696 AC_REQUIRE([AM_ICONV_LINKFLAGS_BODY])
3698 dnl Add $INCICONV to CPPFLAGS before performing the following checks,
3699 dnl because if the user has installed libiconv and not disabled its use
3700 dnl via --without-libiconv-prefix, he wants to use it. The first
3701 dnl AC_TRY_LINK will then fail, the second AC_TRY_LINK will succeed.
3702 am_save_CPPFLAGS="$CPPFLAGS"
3703 AC_LIB_APPENDTOVAR([CPPFLAGS], [$INCICONV])
3705 AC_CACHE_CHECK(for iconv, am_cv_func_iconv, [
3706 am_cv_func_iconv="no, consider installing GNU libiconv"
3708 AC_TRY_LINK([#include <stdlib.h>
3709 #include <iconv.h>],
3710 [iconv_t cd = iconv_open("","");
3711 iconv(cd,NULL,NULL,NULL,NULL);
3713 am_cv_func_iconv=yes)
3714 if test "$am_cv_func_iconv" != yes; then
3715 am_save_LIBS="$LIBS"
3716 LIBS="$LIBS $LIBICONV"
3717 AC_TRY_LINK([#include <stdlib.h>
3718 #include <iconv.h>],
3719 [iconv_t cd = iconv_open("","");
3720 iconv(cd,NULL,NULL,NULL,NULL);
3723 am_cv_func_iconv=yes)
3724 LIBS="$am_save_LIBS"
3727 if test "$am_cv_func_iconv" = yes; then
3728 AC_DEFINE(HAVE_ICONV, 1, [Define if you have the iconv() function.])
3730 if test "$am_cv_lib_iconv" = yes; then
3731 AC_MSG_CHECKING([how to link with libiconv])
3732 AC_MSG_RESULT([$LIBICONV])
3734 dnl If $LIBICONV didn't lead to a usable library, we don't need $INCICONV
3736 CPPFLAGS="$am_save_CPPFLAGS"
3741 AC_SUBST(LTLIBICONV)
3743 m4trace:auto-m4/iconv.m4:77: -1- AC_DEFUN([AM_ICONV], [
3745 if test "$am_cv_func_iconv" = yes; then
3746 AC_MSG_CHECKING([for iconv declaration])
3747 AC_CACHE_VAL(am_cv_proto_iconv, [
3755 #if defined(__STDC__) || defined(__cplusplus)
3756 size_t iconv (iconv_t cd, char * *inbuf, size_t *inbytesleft, char * *outbuf, size_t *outbytesleft);
3760 ], [], am_cv_proto_iconv_arg1="", am_cv_proto_iconv_arg1="const")
3761 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);"])
3762 am_cv_proto_iconv=`echo "[$]am_cv_proto_iconv" | tr -s ' ' | sed -e 's/( /(/'`
3763 AC_MSG_RESULT([$]{ac_t:-
3764 }[$]am_cv_proto_iconv)
3765 AC_DEFINE_UNQUOTED(ICONV_CONST, $am_cv_proto_iconv_arg1,
3766 [Define as const if the declaration of iconv() needs const.])
3769 m4trace:auto-m4/intdiv0.m4:11: -1- AC_DEFUN([gt_INTDIV0], [
3770 AC_REQUIRE([AC_PROG_CC])dnl
3771 AC_REQUIRE([AC_CANONICAL_HOST])dnl
3773 AC_CACHE_CHECK([whether integer division by zero raises SIGFPE],
3774 gt_cv_int_divbyzero_sigfpe,
3782 sigfpe_handler (int sig)
3784 sigfpe_handler (sig) int sig;
3787 /* Exit with code 0 if SIGFPE, with code 1 if any other signal. */
3788 exit (sig != SIGFPE);
3798 signal (SIGFPE, sigfpe_handler);
3799 /* IRIX and AIX (when "xlc -qcheck" is used) yield signal SIGTRAP. */
3800 #if (defined (__sgi) || defined (_AIX)) && defined (SIGTRAP)
3801 signal (SIGTRAP, sigfpe_handler);
3803 /* Linux/SPARC yields signal SIGILL. */
3804 #if defined (__sparc__) && defined (__linux__)
3805 signal (SIGILL, sigfpe_handler);
3812 ], gt_cv_int_divbyzero_sigfpe=yes, gt_cv_int_divbyzero_sigfpe=no,
3814 # Guess based on the CPU.
3816 alpha* | i[34567]86 | m68k | s390*)
3817 gt_cv_int_divbyzero_sigfpe="guessing yes";;
3819 gt_cv_int_divbyzero_sigfpe="guessing no";;
3823 case "$gt_cv_int_divbyzero_sigfpe" in
3827 AC_DEFINE_UNQUOTED(INTDIV0_RAISES_SIGFPE, $value,
3828 [Define if integer division by zero raises signal SIGFPE.])
3830 m4trace:auto-m4/intmax.m4:13: -1- AC_DEFUN([gt_TYPE_INTMAX_T], [
3831 AC_REQUIRE([jm_AC_HEADER_INTTYPES_H])
3832 AC_REQUIRE([jm_AC_HEADER_STDINT_H])
3833 AC_CACHE_CHECK(for intmax_t, gt_cv_c_intmax_t,
3837 #if HAVE_STDINT_H_WITH_UINTMAX
3840 #if HAVE_INTTYPES_H_WITH_UINTMAX
3841 #include <inttypes.h>
3843 ], [intmax_t x = -1;], gt_cv_c_intmax_t=yes, gt_cv_c_intmax_t=no)])
3844 if test $gt_cv_c_intmax_t = yes; then
3845 AC_DEFINE(HAVE_INTMAX_T, 1,
3846 [Define if you have the 'intmax_t' type in <stdint.h> or <inttypes.h>.])
3849 m4trace:auto-m4/inttypes-pri.m4:14: -1- AC_DEFUN([gt_INTTYPES_PRI], [
3850 AC_REQUIRE([gt_HEADER_INTTYPES_H])
3851 if test $gt_cv_header_inttypes_h = yes; then
3852 AC_CACHE_CHECK([whether the inttypes.h PRIxNN macros are broken],
3853 gt_cv_inttypes_pri_broken,
3855 AC_TRY_COMPILE([#include <inttypes.h>
3859 ], [], gt_cv_inttypes_pri_broken=no, gt_cv_inttypes_pri_broken=yes)
3862 if test "$gt_cv_inttypes_pri_broken" = yes; then
3863 AC_DEFINE_UNQUOTED(PRI_MACROS_BROKEN, 1,
3864 [Define if <inttypes.h> exists and defines unusable PRI* macros.])
3867 m4trace:auto-m4/inttypes.m4:14: -1- AC_DEFUN([gt_HEADER_INTTYPES_H], [
3868 AC_CACHE_CHECK([for inttypes.h], gt_cv_header_inttypes_h,
3871 [#include <sys/types.h>
3872 #include <inttypes.h>],
3873 [], gt_cv_header_inttypes_h=yes, gt_cv_header_inttypes_h=no)
3875 if test $gt_cv_header_inttypes_h = yes; then
3876 AC_DEFINE_UNQUOTED(HAVE_INTTYPES_H, 1,
3877 [Define if <inttypes.h> exists and doesn't clash with <sys/types.h>.])
3880 m4trace:auto-m4/inttypes_h.m4:14: -1- AC_DEFUN([jm_AC_HEADER_INTTYPES_H], [
3881 AC_CACHE_CHECK([for inttypes.h], jm_ac_cv_header_inttypes_h,
3883 [#include <sys/types.h>
3884 #include <inttypes.h>],
3885 [uintmax_t i = (uintmax_t) -1;],
3886 jm_ac_cv_header_inttypes_h=yes,
3887 jm_ac_cv_header_inttypes_h=no)])
3888 if test $jm_ac_cv_header_inttypes_h = yes; then
3889 AC_DEFINE_UNQUOTED(HAVE_INTTYPES_H_WITH_UINTMAX, 1,
3890 [Define if <inttypes.h> exists, doesn't clash with <sys/types.h>,
3891 and declares uintmax_t. ])
3894 m4trace:auto-m4/isc-posix.m4:21: -1- AC_DEFUN([AC_ISC_POSIX], [
3895 dnl This test replaces the obsolescent AC_ISC_POSIX kludge.
3896 AC_CHECK_LIB(cposix, strerror, [LIBS="$LIBS -lcposix"])
3899 m4trace:auto-m4/lcmessage.m4:23: -1- AC_DEFUN([AM_LC_MESSAGES], [
3900 AC_CACHE_CHECK([for LC_MESSAGES], am_cv_val_LC_MESSAGES,
3901 [AC_TRY_LINK([#include <locale.h>], [return LC_MESSAGES],
3902 am_cv_val_LC_MESSAGES=yes, am_cv_val_LC_MESSAGES=no)])
3903 if test $am_cv_val_LC_MESSAGES = yes; then
3904 AC_DEFINE(HAVE_LC_MESSAGES, 1,
3905 [Define if your <locale.h> file defines LC_MESSAGES.])
3908 m4trace:auto-m4/lib-ld.m4:14: -1- AC_DEFUN([AC_LIB_PROG_LD_GNU], [AC_CACHE_CHECK([if the linker ($LD) is GNU ld], acl_cv_prog_gnu_ld,
3909 [# I'd rather use --version here, but apparently some GNU ld's only accept -v.
3910 case `$LD -v 2>&1 </dev/null` in
3911 *GNU* | *'with BFD'*)
3912 acl_cv_prog_gnu_ld=yes ;;
3914 acl_cv_prog_gnu_ld=no ;;
3916 with_gnu_ld=$acl_cv_prog_gnu_ld
3918 m4trace:auto-m4/lib-ld.m4:27: -1- AC_DEFUN([AC_LIB_PROG_LD], [AC_ARG_WITH(gnu-ld,
3919 [ --with-gnu-ld assume the C compiler uses GNU ld [default=no]],
3920 test "$withval" = no || with_gnu_ld=yes, with_gnu_ld=no)
3921 AC_REQUIRE([AC_PROG_CC])dnl
3922 AC_REQUIRE([AC_CANONICAL_HOST])dnl
3923 # Prepare PATH_SEPARATOR.
3924 # The user is always right.
3925 if test "${PATH_SEPARATOR+set}" != set; then
3926 echo "#! /bin/sh" >conf$$.sh
3927 echo "exit 0" >>conf$$.sh
3929 if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
3937 if test "$GCC" = yes; then
3938 # Check if gcc -print-prog-name=ld gives a path.
3939 AC_MSG_CHECKING([for ld used by GCC])
3942 # gcc leaves a trailing carriage return which upsets mingw
3943 ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
3945 ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
3948 # Accept absolute paths.
3949 [[\\/]* | [A-Za-z]:[\\/]*)]
3950 [re_direlt='/[^/][^/]*/\.\./']
3951 # Canonicalize the path of ld
3952 ac_prog=`echo $ac_prog| sed 's%\\\\%/%g'`
3953 while echo $ac_prog | grep "$re_direlt" > /dev/null 2>&1; do
3954 ac_prog=`echo $ac_prog| sed "s%$re_direlt%/%"`
3956 test -z "$LD" && LD="$ac_prog"
3959 # If it fails, then pretend we aren't using GCC.
3963 # If it is relative, then search for the first ld in PATH.
3967 elif test "$with_gnu_ld" = yes; then
3968 AC_MSG_CHECKING([for GNU ld])
3970 AC_MSG_CHECKING([for non-GNU ld])
3972 AC_CACHE_VAL(acl_cv_path_LD,
3973 [if test -z "$LD"; then
3974 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}${PATH_SEPARATOR-:}"
3975 for ac_dir in $PATH; do
3976 test -z "$ac_dir" && ac_dir=.
3977 if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
3978 acl_cv_path_LD="$ac_dir/$ac_prog"
3979 # Check to see if the program is GNU ld. I'd rather use --version,
3980 # but apparently some GNU ld's only accept -v.
3981 # Break only if it was the GNU/non-GNU ld that we prefer.
3982 case `"$acl_cv_path_LD" -v 2>&1 < /dev/null` in
3983 *GNU* | *'with BFD'*)
3984 test "$with_gnu_ld" != no && break ;;
3986 test "$with_gnu_ld" != yes && break ;;
3992 acl_cv_path_LD="$LD" # Let the user override the test with a path.
3994 LD="$acl_cv_path_LD"
3995 if test -n "$LD"; then
4000 test -z "$LD" && AC_MSG_ERROR([no acceptable ld found in \$PATH])
4003 m4trace:auto-m4/lib-link.m4:15: -1- AC_DEFUN([AC_LIB_LINKFLAGS], [
4004 AC_REQUIRE([AC_LIB_PREPARE_PREFIX])
4005 AC_REQUIRE([AC_LIB_RPATH])
4006 define([Name],[translit([$1],[./-], [___])])
4007 define([NAME],[translit([$1],[abcdefghijklmnopqrstuvwxyz./-],
4008 [ABCDEFGHIJKLMNOPQRSTUVWXYZ___])])
4009 AC_CACHE_CHECK([how to link with lib[]$1], [ac_cv_lib[]Name[]_libs], [
4010 AC_LIB_LINKFLAGS_BODY([$1], [$2])
4011 ac_cv_lib[]Name[]_libs="$LIB[]NAME"
4012 ac_cv_lib[]Name[]_ltlibs="$LTLIB[]NAME"
4013 ac_cv_lib[]Name[]_cppflags="$INC[]NAME"
4015 LIB[]NAME="$ac_cv_lib[]Name[]_libs"
4016 LTLIB[]NAME="$ac_cv_lib[]Name[]_ltlibs"
4017 INC[]NAME="$ac_cv_lib[]Name[]_cppflags"
4018 AC_LIB_APPENDTOVAR([CPPFLAGS], [$INC]NAME)
4020 AC_SUBST([LTLIB]NAME)
4021 dnl Also set HAVE_LIB[]NAME so that AC_LIB_HAVE_LINKFLAGS can reuse the
4022 dnl results of this search when this library appears as a dependency.
4027 m4trace:auto-m4/lib-link.m4:49: -1- AC_DEFUN([AC_LIB_HAVE_LINKFLAGS], [
4028 AC_REQUIRE([AC_LIB_PREPARE_PREFIX])
4029 AC_REQUIRE([AC_LIB_RPATH])
4030 define([Name],[translit([$1],[./-], [___])])
4031 define([NAME],[translit([$1],[abcdefghijklmnopqrstuvwxyz./-],
4032 [ABCDEFGHIJKLMNOPQRSTUVWXYZ___])])
4034 dnl Search for lib[]Name and define LIB[]NAME, LTLIB[]NAME and INC[]NAME
4036 AC_LIB_LINKFLAGS_BODY([$1], [$2])
4038 dnl Add $INC[]NAME to CPPFLAGS before performing the following checks,
4039 dnl because if the user has installed lib[]Name and not disabled its use
4040 dnl via --without-lib[]Name-prefix, he wants to use it.
4041 ac_save_CPPFLAGS="$CPPFLAGS"
4042 AC_LIB_APPENDTOVAR([CPPFLAGS], [$INC]NAME)
4044 AC_CACHE_CHECK([for lib[]$1], [ac_cv_lib[]Name], [
4045 ac_save_LIBS="$LIBS"
4046 LIBS="$LIBS $LIB[]NAME"
4047 AC_TRY_LINK([$3], [$4], [ac_cv_lib[]Name=yes], [ac_cv_lib[]Name=no])
4048 LIBS="$ac_save_LIBS"
4050 if test "$ac_cv_lib[]Name" = yes; then
4052 AC_DEFINE([HAVE_LIB]NAME, 1, [Define if you have the $1 library.])
4053 AC_MSG_CHECKING([how to link with lib[]$1])
4054 AC_MSG_RESULT([$LIB[]NAME])
4057 dnl If $LIB[]NAME didn't lead to a usable library, we don't need
4058 dnl $INC[]NAME either.
4059 CPPFLAGS="$ac_save_CPPFLAGS"
4063 AC_SUBST([HAVE_LIB]NAME)
4065 AC_SUBST([LTLIB]NAME)
4069 m4trace:auto-m4/lib-link.m4:96: -1- AC_DEFUN([AC_LIB_RPATH], [
4070 AC_REQUIRE([AC_PROG_CC]) dnl we use $CC, $GCC, $LDFLAGS
4071 AC_REQUIRE([AC_LIB_PROG_LD]) dnl we use $LD, $with_gnu_ld
4072 AC_REQUIRE([AC_CANONICAL_HOST]) dnl we use $host
4073 AC_REQUIRE([AC_CONFIG_AUX_DIR_DEFAULT]) dnl we use $ac_aux_dir
4074 AC_CACHE_CHECK([for shared library run path origin], acl_cv_rpath, [
4075 CC="$CC" GCC="$GCC" LDFLAGS="$LDFLAGS" LD="$LD" with_gnu_ld="$with_gnu_ld" \
4076 ${CONFIG_SHELL-/bin/sh} "$ac_aux_dir/config.rpath" "$host" > conftest.sh
4082 libext="$acl_cv_libext"
4083 shlibext="$acl_cv_shlibext"
4084 hardcode_libdir_flag_spec="$acl_cv_hardcode_libdir_flag_spec"
4085 hardcode_libdir_separator="$acl_cv_hardcode_libdir_separator"
4086 hardcode_direct="$acl_cv_hardcode_direct"
4087 hardcode_minus_L="$acl_cv_hardcode_minus_L"
4088 dnl Determine whether the user wants rpath handling at all.
4089 AC_ARG_ENABLE(rpath,
4090 [ --disable-rpath do not hardcode runtime library paths],
4091 :, enable_rpath=yes)
4093 m4trace:auto-m4/lib-link.m4:125: -1- AC_DEFUN([AC_LIB_LINKFLAGS_BODY], [
4094 define([NAME],[translit([$1],[abcdefghijklmnopqrstuvwxyz./-],
4095 [ABCDEFGHIJKLMNOPQRSTUVWXYZ___])])
4096 dnl By default, look in $includedir and $libdir.
4098 AC_LIB_WITH_FINAL_PREFIX([
4099 eval additional_includedir=\"$includedir\"
4100 eval additional_libdir=\"$libdir\"
4102 AC_LIB_ARG_WITH([lib$1-prefix],
4103 [ --with-lib$1-prefix[=DIR] search for lib$1 in DIR/include and DIR/lib
4104 --without-lib$1-prefix don't search for lib$1 in includedir and libdir],
4106 if test "X$withval" = "Xno"; then
4109 if test "X$withval" = "X"; then
4110 AC_LIB_WITH_FINAL_PREFIX([
4111 eval additional_includedir=\"$includedir\"
4112 eval additional_libdir=\"$libdir\"
4115 additional_includedir="$withval/include"
4116 additional_libdir="$withval/lib"
4120 dnl Search the library and its dependencies in $additional_libdir and
4121 dnl $LDFLAGS. Using breadth-first-seach.
4127 names_already_handled=
4128 names_next_round='$1 $2'
4129 while test -n "$names_next_round"; do
4130 names_this_round="$names_next_round"
4132 for name in $names_this_round; do
4134 for n in $names_already_handled; do
4135 if test "$n" = "$name"; then
4140 if test -z "$already_handled"; then
4141 names_already_handled="$names_already_handled $name"
4142 dnl See if it was already located by an earlier AC_LIB_LINKFLAGS
4143 dnl or AC_LIB_HAVE_LINKFLAGS call.
4144 uppername=`echo "$name" | sed -e 'y|abcdefghijklmnopqrstuvwxyz./-|ABCDEFGHIJKLMNOPQRSTUVWXYZ___|'`
4145 eval value=\"\$HAVE_LIB$uppername\"
4146 if test -n "$value"; then
4147 if test "$value" = yes; then
4148 eval value=\"\$LIB$uppername\"
4149 test -z "$value" || LIB[]NAME="${LIB[]NAME}${LIB[]NAME:+ }$value"
4150 eval value=\"\$LTLIB$uppername\"
4151 test -z "$value" || LTLIB[]NAME="${LTLIB[]NAME}${LTLIB[]NAME:+ }$value"
4153 dnl An earlier call to AC_LIB_HAVE_LINKFLAGS has determined
4154 dnl that this library doesn't exist. So just drop it.
4158 dnl Search the library lib$name in $additional_libdir and $LDFLAGS
4159 dnl and the already constructed $LIBNAME/$LTLIBNAME.
4164 if test $use_additional = yes; then
4165 if test -n "$shlibext" && test -f "$additional_libdir/lib$name.$shlibext"; then
4166 found_dir="$additional_libdir"
4167 found_so="$additional_libdir/lib$name.$shlibext"
4168 if test -f "$additional_libdir/lib$name.la"; then
4169 found_la="$additional_libdir/lib$name.la"
4172 if test -f "$additional_libdir/lib$name.$libext"; then
4173 found_dir="$additional_libdir"
4174 found_a="$additional_libdir/lib$name.$libext"
4175 if test -f "$additional_libdir/lib$name.la"; then
4176 found_la="$additional_libdir/lib$name.la"
4181 if test "X$found_dir" = "X"; then
4182 for x in $LDFLAGS $LTLIB[]NAME; do
4183 AC_LIB_WITH_FINAL_PREFIX([eval x=\"$x\"])
4186 dir=`echo "X$x" | sed -e 's/^X-L//'`
4187 if test -n "$shlibext" && test -f "$dir/lib$name.$shlibext"; then
4189 found_so="$dir/lib$name.$shlibext"
4190 if test -f "$dir/lib$name.la"; then
4191 found_la="$dir/lib$name.la"
4194 if test -f "$dir/lib$name.$libext"; then
4196 found_a="$dir/lib$name.$libext"
4197 if test -f "$dir/lib$name.la"; then
4198 found_la="$dir/lib$name.la"
4204 if test "X$found_dir" != "X"; then
4209 if test "X$found_dir" != "X"; then
4210 dnl Found the library.
4211 LTLIB[]NAME="${LTLIB[]NAME}${LTLIB[]NAME:+ }-L$found_dir -l$name"
4212 if test "X$found_so" != "X"; then
4213 dnl Linking with a shared library. We attempt to hardcode its
4214 dnl directory into the executable's runpath, unless it's the
4215 dnl standard /usr/lib.
4216 if test "$enable_rpath" = no || test "X$found_dir" = "X/usr/lib"; then
4217 dnl No hardcoding is needed.
4218 LIB[]NAME="${LIB[]NAME}${LIB[]NAME:+ }$found_so"
4220 dnl Use an explicit option to hardcode DIR into the resulting
4222 dnl Potentially add DIR to ltrpathdirs.
4223 dnl The ltrpathdirs will be appended to $LTLIBNAME at the end.
4225 for x in $ltrpathdirs; do
4226 if test "X$x" = "X$found_dir"; then
4231 if test -z "$haveit"; then
4232 ltrpathdirs="$ltrpathdirs $found_dir"
4234 dnl The hardcoding into $LIBNAME is system dependent.
4235 if test "$hardcode_direct" = yes; then
4236 dnl Using DIR/libNAME.so during linking hardcodes DIR into the
4237 dnl resulting binary.
4238 LIB[]NAME="${LIB[]NAME}${LIB[]NAME:+ }$found_so"
4240 if test -n "$hardcode_libdir_flag_spec" && test "$hardcode_minus_L" = no; then
4241 dnl Use an explicit option to hardcode DIR into the resulting
4243 LIB[]NAME="${LIB[]NAME}${LIB[]NAME:+ }$found_so"
4244 dnl Potentially add DIR to rpathdirs.
4245 dnl The rpathdirs will be appended to $LIBNAME at the end.
4247 for x in $rpathdirs; do
4248 if test "X$x" = "X$found_dir"; then
4253 if test -z "$haveit"; then
4254 rpathdirs="$rpathdirs $found_dir"
4257 dnl Rely on "-L$found_dir".
4258 dnl But don't add it if it's already contained in the LDFLAGS
4259 dnl or the already constructed $LIBNAME
4261 for x in $LDFLAGS $LIB[]NAME; do
4262 AC_LIB_WITH_FINAL_PREFIX([eval x=\"$x\"])
4263 if test "X$x" = "X-L$found_dir"; then
4268 if test -z "$haveit"; then
4269 LIB[]NAME="${LIB[]NAME}${LIB[]NAME:+ }-L$found_dir"
4271 if test "$hardcode_minus_L" != no; then
4272 dnl FIXME: Not sure whether we should use
4273 dnl "-L$found_dir -l$name" or "-L$found_dir $found_so"
4275 LIB[]NAME="${LIB[]NAME}${LIB[]NAME:+ }$found_so"
4277 dnl We cannot use $hardcode_runpath_var and LD_RUN_PATH
4278 dnl here, because this doesn't fit in flags passed to the
4279 dnl compiler. So give up. No hardcoding. This affects only
4280 dnl very old systems.
4281 dnl FIXME: Not sure whether we should use
4282 dnl "-L$found_dir -l$name" or "-L$found_dir $found_so"
4284 LIB[]NAME="${LIB[]NAME}${LIB[]NAME:+ }-l$name"
4290 if test "X$found_a" != "X"; then
4291 dnl Linking with a static library.
4292 LIB[]NAME="${LIB[]NAME}${LIB[]NAME:+ }$found_a"
4294 dnl We shouldn't come here, but anyway it's good to have a
4296 LIB[]NAME="${LIB[]NAME}${LIB[]NAME:+ }-L$found_dir -l$name"
4299 dnl Assume the include files are nearby.
4300 additional_includedir=
4301 case "$found_dir" in
4303 basedir=`echo "X$found_dir" | sed -e 's,^X,,' -e 's,/lib/*$,,'`
4304 additional_includedir="$basedir/include"
4307 if test "X$additional_includedir" != "X"; then
4308 dnl Potentially add $additional_includedir to $INCNAME.
4309 dnl But don't add it
4310 dnl 1. if it's the standard /usr/include,
4311 dnl 2. if it's /usr/local/include and we are using GCC on Linux,
4312 dnl 3. if it's already present in $CPPFLAGS or the already
4313 dnl constructed $INCNAME,
4314 dnl 4. if it doesn't exist as a directory.
4315 if test "X$additional_includedir" != "X/usr/include"; then
4317 if test "X$additional_includedir" = "X/usr/local/include"; then
4318 if test -n "$GCC"; then
4320 linux*) haveit=yes;;
4324 if test -z "$haveit"; then
4325 for x in $CPPFLAGS $INC[]NAME; do
4326 AC_LIB_WITH_FINAL_PREFIX([eval x=\"$x\"])
4327 if test "X$x" = "X-I$additional_includedir"; then
4332 if test -z "$haveit"; then
4333 if test -d "$additional_includedir"; then
4334 dnl Really add $additional_includedir to $INCNAME.
4335 INC[]NAME="${INC[]NAME}${INC[]NAME:+ }-I$additional_includedir"
4341 dnl Look for dependencies.
4342 if test -n "$found_la"; then
4343 dnl Read the .la file. It defines the variables
4344 dnl dlname, library_names, old_library, dependency_libs, current,
4345 dnl age, revision, installed, dlopen, dlpreopen, libdir.
4346 save_libdir="$libdir"
4348 */* | *\\*) . "$found_la" ;;
4349 *) . "./$found_la" ;;
4351 libdir="$save_libdir"
4352 dnl We use only dependency_libs.
4353 for dep in $dependency_libs; do
4356 additional_libdir=`echo "X$dep" | sed -e 's/^X-L//'`
4357 dnl Potentially add $additional_libdir to $LIBNAME and $LTLIBNAME.
4358 dnl But don't add it
4359 dnl 1. if it's the standard /usr/lib,
4360 dnl 2. if it's /usr/local/lib and we are using GCC on Linux,
4361 dnl 3. if it's already present in $LDFLAGS or the already
4362 dnl constructed $LIBNAME,
4363 dnl 4. if it doesn't exist as a directory.
4364 if test "X$additional_libdir" != "X/usr/lib"; then
4366 if test "X$additional_libdir" = "X/usr/local/lib"; then
4367 if test -n "$GCC"; then
4369 linux*) haveit=yes;;
4373 if test -z "$haveit"; then
4375 for x in $LDFLAGS $LIB[]NAME; do
4376 AC_LIB_WITH_FINAL_PREFIX([eval x=\"$x\"])
4377 if test "X$x" = "X-L$additional_libdir"; then
4382 if test -z "$haveit"; then
4383 if test -d "$additional_libdir"; then
4384 dnl Really add $additional_libdir to $LIBNAME.
4385 LIB[]NAME="${LIB[]NAME}${LIB[]NAME:+ }-L$additional_libdir"
4389 for x in $LDFLAGS $LTLIB[]NAME; do
4390 AC_LIB_WITH_FINAL_PREFIX([eval x=\"$x\"])
4391 if test "X$x" = "X-L$additional_libdir"; then
4396 if test -z "$haveit"; then
4397 if test -d "$additional_libdir"; then
4398 dnl Really add $additional_libdir to $LTLIBNAME.
4399 LTLIB[]NAME="${LTLIB[]NAME}${LTLIB[]NAME:+ }-L$additional_libdir"
4406 dir=`echo "X$dep" | sed -e 's/^X-R//'`
4407 if test "$enable_rpath" != no; then
4408 dnl Potentially add DIR to rpathdirs.
4409 dnl The rpathdirs will be appended to $LIBNAME at the end.
4411 for x in $rpathdirs; do
4412 if test "X$x" = "X$dir"; then
4417 if test -z "$haveit"; then
4418 rpathdirs="$rpathdirs $dir"
4420 dnl Potentially add DIR to ltrpathdirs.
4421 dnl The ltrpathdirs will be appended to $LTLIBNAME at the end.
4423 for x in $ltrpathdirs; do
4424 if test "X$x" = "X$dir"; then
4429 if test -z "$haveit"; then
4430 ltrpathdirs="$ltrpathdirs $dir"
4435 dnl Handle this in the next round.
4436 names_next_round="$names_next_round "`echo "X$dep" | sed -e 's/^X-l//'`
4439 dnl Handle this in the next round. Throw away the .la's
4440 dnl directory; it is already contained in a preceding -L
4442 names_next_round="$names_next_round "`echo "X$dep" | sed -e 's,^X.*/,,' -e 's,^lib,,' -e 's,\.la$,,'`
4445 dnl Most likely an immediate library name.
4446 LIB[]NAME="${LIB[]NAME}${LIB[]NAME:+ }$dep"
4447 LTLIB[]NAME="${LTLIB[]NAME}${LTLIB[]NAME:+ }$dep"
4453 dnl Didn't find the library; assume it is in the system directories
4454 dnl known to the linker and runtime loader. (All the system
4455 dnl directories known to the linker should also be known to the
4456 dnl runtime loader, otherwise the system is severely misconfigured.)
4457 LIB[]NAME="${LIB[]NAME}${LIB[]NAME:+ }-l$name"
4458 LTLIB[]NAME="${LTLIB[]NAME}${LTLIB[]NAME:+ }-l$name"
4464 if test "X$rpathdirs" != "X"; then
4465 if test -n "$hardcode_libdir_separator"; then
4466 dnl Weird platform: only the last -rpath option counts, the user must
4467 dnl pass all path elements in one option. We can arrange that for a
4468 dnl single library, but not when more than one $LIBNAMEs are used.
4470 for found_dir in $rpathdirs; do
4471 alldirs="${alldirs}${alldirs:+$hardcode_libdir_separator}$found_dir"
4473 dnl Note: hardcode_libdir_flag_spec uses $libdir and $wl.
4474 acl_save_libdir="$libdir"
4476 eval flag=\"$hardcode_libdir_flag_spec\"
4477 libdir="$acl_save_libdir"
4478 LIB[]NAME="${LIB[]NAME}${LIB[]NAME:+ }$flag"
4480 dnl The -rpath options are cumulative.
4481 for found_dir in $rpathdirs; do
4482 acl_save_libdir="$libdir"
4484 eval flag=\"$hardcode_libdir_flag_spec\"
4485 libdir="$acl_save_libdir"
4486 LIB[]NAME="${LIB[]NAME}${LIB[]NAME:+ }$flag"
4490 if test "X$ltrpathdirs" != "X"; then
4491 dnl When using libtool, the option that works for both libraries and
4492 dnl executables is -R. The -R options are cumulative.
4493 for found_dir in $ltrpathdirs; do
4494 LTLIB[]NAME="${LTLIB[]NAME}${LTLIB[]NAME:+ }-R$found_dir"
4498 m4trace:auto-m4/lib-link.m4:536: -1- AC_DEFUN([AC_LIB_APPENDTOVAR], [
4499 for element in [$2]; do
4502 AC_LIB_WITH_FINAL_PREFIX([eval x=\"$x\"])
4503 if test "X$x" = "X$element"; then
4508 if test -z "$haveit"; then
4509 [$1]="${[$1]}${[$1]:+ }$element"
4513 m4trace:auto-m4/lib-prefix.m4:14: -1- AC_DEFUN([AC_LIB_ARG_WITH], [AC_ARG_WITH([$1],[[$2]],[$3],[$4])])
4514 m4trace:auto-m4/lib-prefix.m4:24: -1- AC_DEFUN([AC_LIB_PREFIX], [
4515 AC_BEFORE([$0], [AC_LIB_LINKFLAGS])
4516 AC_REQUIRE([AC_PROG_CC])
4517 AC_REQUIRE([AC_CANONICAL_HOST])
4518 AC_REQUIRE([AC_LIB_PREPARE_PREFIX])
4519 dnl By default, look in $includedir and $libdir.
4521 AC_LIB_WITH_FINAL_PREFIX([
4522 eval additional_includedir=\"$includedir\"
4523 eval additional_libdir=\"$libdir\"
4525 AC_LIB_ARG_WITH([lib-prefix],
4526 [ --with-lib-prefix[=DIR] search for libraries in DIR/include and DIR/lib
4527 --without-lib-prefix don't search for libraries in includedir and libdir],
4529 if test "X$withval" = "Xno"; then
4532 if test "X$withval" = "X"; then
4533 AC_LIB_WITH_FINAL_PREFIX([
4534 eval additional_includedir=\"$includedir\"
4535 eval additional_libdir=\"$libdir\"
4538 additional_includedir="$withval/include"
4539 additional_libdir="$withval/lib"
4543 if test $use_additional = yes; then
4544 dnl Potentially add $additional_includedir to $CPPFLAGS.
4545 dnl But don't add it
4546 dnl 1. if it's the standard /usr/include,
4547 dnl 2. if it's already present in $CPPFLAGS,
4548 dnl 3. if it's /usr/local/include and we are using GCC on Linux,
4549 dnl 4. if it doesn't exist as a directory.
4550 if test "X$additional_includedir" != "X/usr/include"; then
4552 for x in $CPPFLAGS; do
4553 AC_LIB_WITH_FINAL_PREFIX([eval x=\"$x\"])
4554 if test "X$x" = "X-I$additional_includedir"; then
4559 if test -z "$haveit"; then
4560 if test "X$additional_includedir" = "X/usr/local/include"; then
4561 if test -n "$GCC"; then
4563 linux*) haveit=yes;;
4567 if test -z "$haveit"; then
4568 if test -d "$additional_includedir"; then
4569 dnl Really add $additional_includedir to $CPPFLAGS.
4570 CPPFLAGS="${CPPFLAGS}${CPPFLAGS:+ }-I$additional_includedir"
4575 dnl Potentially add $additional_libdir to $LDFLAGS.
4576 dnl But don't add it
4577 dnl 1. if it's the standard /usr/lib,
4578 dnl 2. if it's already present in $LDFLAGS,
4579 dnl 3. if it's /usr/local/lib and we are using GCC on Linux,
4580 dnl 4. if it doesn't exist as a directory.
4581 if test "X$additional_libdir" != "X/usr/lib"; then
4583 for x in $LDFLAGS; do
4584 AC_LIB_WITH_FINAL_PREFIX([eval x=\"$x\"])
4585 if test "X$x" = "X-L$additional_libdir"; then
4590 if test -z "$haveit"; then
4591 if test "X$additional_libdir" = "X/usr/local/lib"; then
4592 if test -n "$GCC"; then
4594 linux*) haveit=yes;;
4598 if test -z "$haveit"; then
4599 if test -d "$additional_libdir"; then
4600 dnl Really add $additional_libdir to $LDFLAGS.
4601 LDFLAGS="${LDFLAGS}${LDFLAGS:+ }-L$additional_libdir"
4608 m4trace:auto-m4/lib-prefix.m4:123: -1- AC_DEFUN([AC_LIB_PREPARE_PREFIX], [
4609 dnl Unfortunately, prefix and exec_prefix get only finally determined
4610 dnl at the end of configure.
4611 if test "X$prefix" = "XNONE"; then
4612 acl_final_prefix="$ac_default_prefix"
4614 acl_final_prefix="$prefix"
4616 if test "X$exec_prefix" = "XNONE"; then
4617 acl_final_exec_prefix='${prefix}'
4619 acl_final_exec_prefix="$exec_prefix"
4621 acl_save_prefix="$prefix"
4622 prefix="$acl_final_prefix"
4623 eval acl_final_exec_prefix=\"$acl_final_exec_prefix\"
4624 prefix="$acl_save_prefix"
4626 m4trace:auto-m4/lib-prefix.m4:146: -1- AC_DEFUN([AC_LIB_WITH_FINAL_PREFIX], [
4627 acl_save_prefix="$prefix"
4628 prefix="$acl_final_prefix"
4629 acl_save_exec_prefix="$exec_prefix"
4630 exec_prefix="$acl_final_exec_prefix"
4632 exec_prefix="$acl_save_exec_prefix"
4633 prefix="$acl_save_prefix"
4635 m4trace:auto-m4/libtool.m4:67: -1- AC_DEFUN([LT_INIT], [AC_PREREQ([2.58])dnl We use AC_INCLUDES_DEFAULT
4636 AC_BEFORE([$0], [LT_LANG])dnl
4637 AC_BEFORE([$0], [LT_OUTPUT])dnl
4638 AC_BEFORE([$0], [LTDL_INIT])dnl
4639 m4_require([_LT_CHECK_BUILDDIR])dnl
4641 dnl Autoconf doesn't catch unexpanded LT_ macros by default:
4642 m4_pattern_forbid([^_?LT_[A-Z_]+$])dnl
4643 m4_pattern_allow([^(_LT_EOF|LT_DLGLOBAL|LT_DLLAZY_OR_NOW|LT_MULTI_MODULE)$])dnl
4644 dnl aclocal doesn't pull ltoptions.m4, ltsugar.m4, or ltversion.m4
4645 dnl unless we require an AC_DEFUNed macro:
4646 AC_REQUIRE([LTOPTIONS_VERSION])dnl
4647 AC_REQUIRE([LTSUGAR_VERSION])dnl
4648 AC_REQUIRE([LTVERSION_VERSION])dnl
4649 AC_REQUIRE([LTOBSOLETE_VERSION])dnl
4650 m4_require([_LT_PROG_LTMAIN])dnl
4653 _LT_SET_OPTIONS([$0], [$1])
4655 # This can be used to rebuild libtool when needed
4656 LIBTOOL_DEPS="$ltmain"
4658 # Always use our own libtool.
4659 LIBTOOL='$(SHELL) $(top_builddir)/libtool'
4660 AC_SUBST(LIBTOOL)dnl
4665 m4_define([LT_INIT])
4667 m4trace:auto-m4/libtool.m4:102: -1- AU_DEFUN([AC_PROG_LIBTOOL], [m4_if($#, 0, [LT_INIT], [LT_INIT($@)])])
4668 m4trace:auto-m4/libtool.m4:102: -1- AC_DEFUN([AC_PROG_LIBTOOL], [AC_DIAGNOSE([obsolete], [The macro `AC_PROG_LIBTOOL' is obsolete.
4669 You should run autoupdate.])dnl
4670 m4_if($#, 0, [LT_INIT], [LT_INIT($@)])])
4671 m4trace:auto-m4/libtool.m4:103: -1- AU_DEFUN([AM_PROG_LIBTOOL], [m4_if($#, 0, [LT_INIT], [LT_INIT($@)])])
4672 m4trace:auto-m4/libtool.m4:103: -1- AC_DEFUN([AM_PROG_LIBTOOL], [AC_DIAGNOSE([obsolete], [The macro `AM_PROG_LIBTOOL' is obsolete.
4673 You should run autoupdate.])dnl
4674 m4_if($#, 0, [LT_INIT], [LT_INIT($@)])])
4675 m4trace:auto-m4/libtool.m4:562: -1- AC_DEFUN([LT_OUTPUT], [: ${CONFIG_LT=./config.lt}
4676 AC_MSG_NOTICE([creating $CONFIG_LT])
4677 cat >"$CONFIG_LT" <<_LTEOF
4679 # Generated by $as_me.
4680 # Run this file to recreate a libtool stub with the current configuration.
4683 SHELL=\${CONFIG_SHELL-$SHELL}
4686 cat >>"$CONFIG_LT" <<\_LTEOF
4690 exec AS_MESSAGE_FD>&1
4691 exec AS_MESSAGE_LOG_FD>>config.log
4694 AS_BOX([Running $as_me.])
4695 } >&AS_MESSAGE_LOG_FD
4698 \`$as_me' creates a local libtool stub from the current configuration,
4699 for use in further configure time tests before the real libtool is
4702 Usage: $[0] [[OPTIONS]]
4704 -h, --help print this help, then exit
4705 -V, --version print version number, then exit
4706 -q, --quiet do not print progress messages
4707 -d, --debug don't remove temporary files
4709 Report bugs to <bug-libtool@gnu.org>."
4712 m4_ifset([AC_PACKAGE_NAME], [AC_PACKAGE_NAME ])config.lt[]dnl
4713 m4_ifset([AC_PACKAGE_VERSION], [ AC_PACKAGE_VERSION])
4714 configured by $[0], generated by m4_PACKAGE_STRING.
4716 Copyright (C) 2008 Free Software Foundation, Inc.
4717 This config.lt script is free software; the Free Software Foundation
4718 gives unlimited permision to copy, distribute and modify it."
4720 while test $[#] != 0
4723 --version | --v* | -V )
4724 echo "$lt_cl_version"; exit 0 ;;
4725 --help | --h* | -h )
4726 echo "$lt_cl_help"; exit 0 ;;
4727 --debug | --d* | -d )
4729 --quiet | --q* | --silent | --s* | -q )
4732 -*) AC_MSG_ERROR([unrecognized option: $[1]
4733 Try \`$[0] --help' for more information.]) ;;
4735 *) AC_MSG_ERROR([unrecognized argument: $[1]
4736 Try \`$[0] --help' for more information.]) ;;
4741 if $lt_cl_silent; then
4742 exec AS_MESSAGE_FD>/dev/null
4746 cat >>"$CONFIG_LT" <<_LTEOF
4747 _LT_OUTPUT_LIBTOOL_COMMANDS_INIT
4750 cat >>"$CONFIG_LT" <<\_LTEOF
4751 AC_MSG_NOTICE([creating $ofile])
4752 _LT_OUTPUT_LIBTOOL_COMMANDS
4755 chmod +x "$CONFIG_LT"
4757 # configure is writing to config.log, but config.lt does its own redirection,
4758 # appending to config.log, which fails on DOS, as config.log is still kept
4759 # open by configure. Here we exec the FD to /dev/null, effectively closing
4760 # config.log, so it can be properly (re)opened and appended to by config.lt.
4761 if test "$no_create" != yes; then
4763 test "$silent" = yes &&
4764 lt_config_lt_args="$lt_config_lt_args --quiet"
4765 exec AS_MESSAGE_LOG_FD>/dev/null
4766 $SHELL "$CONFIG_LT" $lt_config_lt_args || lt_cl_success=false
4767 exec AS_MESSAGE_LOG_FD>>config.log
4768 $lt_cl_success || AS_EXIT(1)
4771 m4trace:auto-m4/libtool.m4:757: -1- AC_DEFUN([LT_SUPPORTED_TAG], [])
4772 m4trace:auto-m4/libtool.m4:768: -1- AC_DEFUN([LT_LANG], [AC_BEFORE([$0], [LT_OUTPUT])dnl
4775 [C++], [_LT_LANG(CXX)],
4776 [Java], [_LT_LANG(GCJ)],
4777 [Fortran 77], [_LT_LANG(F77)],
4778 [Fortran], [_LT_LANG(FC)],
4779 [Windows Resource], [_LT_LANG(RC)],
4780 [m4_ifdef([_LT_LANG_]$1[_CONFIG],
4782 [m4_fatal([$0: unsupported language: "$1"])])])dnl
4784 m4trace:auto-m4/libtool.m4:830: -1- AU_DEFUN([AC_LIBTOOL_CXX], [LT_LANG(C++)])
4785 m4trace:auto-m4/libtool.m4:830: -1- AC_DEFUN([AC_LIBTOOL_CXX], [AC_DIAGNOSE([obsolete], [The macro `AC_LIBTOOL_CXX' is obsolete.
4786 You should run autoupdate.])dnl
4788 m4trace:auto-m4/libtool.m4:831: -1- AU_DEFUN([AC_LIBTOOL_F77], [LT_LANG(Fortran 77)])
4789 m4trace:auto-m4/libtool.m4:831: -1- AC_DEFUN([AC_LIBTOOL_F77], [AC_DIAGNOSE([obsolete], [The macro `AC_LIBTOOL_F77' is obsolete.
4790 You should run autoupdate.])dnl
4791 LT_LANG(Fortran 77)])
4792 m4trace:auto-m4/libtool.m4:832: -1- AU_DEFUN([AC_LIBTOOL_FC], [LT_LANG(Fortran)])
4793 m4trace:auto-m4/libtool.m4:832: -1- AC_DEFUN([AC_LIBTOOL_FC], [AC_DIAGNOSE([obsolete], [The macro `AC_LIBTOOL_FC' is obsolete.
4794 You should run autoupdate.])dnl
4796 m4trace:auto-m4/libtool.m4:833: -1- AU_DEFUN([AC_LIBTOOL_GCJ], [LT_LANG(Java)])
4797 m4trace:auto-m4/libtool.m4:833: -1- AC_DEFUN([AC_LIBTOOL_GCJ], [AC_DIAGNOSE([obsolete], [The macro `AC_LIBTOOL_GCJ' is obsolete.
4798 You should run autoupdate.])dnl
4800 m4trace:auto-m4/libtool.m4:1402: -1- AC_DEFUN([_LT_COMPILER_OPTION], [m4_require([_LT_FILEUTILS_DEFAULTS])dnl
4801 m4_require([_LT_DECL_SED])dnl
4802 AC_CACHE_CHECK([$1], [$2],
4804 m4_if([$4], , [ac_outfile=conftest.$ac_objext], [ac_outfile=$4])
4805 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
4806 lt_compiler_flag="$3"
4807 # Insert the option either (1) after the last *FLAGS variable, or
4808 # (2) before a word containing "conftest.", or (3) at the end.
4809 # Note that $ac_compile itself does not contain backslashes and begins
4810 # with a dollar sign (not a hyphen), so the echo should work correctly.
4811 # The option is referenced via a variable to avoid confusing sed.
4812 lt_compile=`echo "$ac_compile" | $SED \
4813 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
4814 -e 's: [[^ ]]*conftest\.: $lt_compiler_flag&:; t' \
4815 -e 's:$: $lt_compiler_flag:'`
4816 (eval echo "\"\$as_me:__oline__: $lt_compile\"" >&AS_MESSAGE_LOG_FD)
4817 (eval "$lt_compile" 2>conftest.err)
4819 cat conftest.err >&AS_MESSAGE_LOG_FD
4820 echo "$as_me:__oline__: \$? = $ac_status" >&AS_MESSAGE_LOG_FD
4821 if (exit $ac_status) && test -s "$ac_outfile"; then
4822 # The compiler can only warn and ignore the option if not recognized
4823 # So say no if there are warnings other than the usual output.
4824 $ECHO "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' >conftest.exp
4825 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
4826 if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
4833 if test x"[$]$2" = xyes; then
4834 m4_if([$5], , :, [$5])
4836 m4_if([$6], , :, [$6])
4839 m4trace:auto-m4/libtool.m4:1444: -1- AU_DEFUN([AC_LIBTOOL_COMPILER_OPTION], [m4_if($#, 0, [_LT_COMPILER_OPTION], [_LT_COMPILER_OPTION($@)])])
4840 m4trace:auto-m4/libtool.m4:1444: -1- AC_DEFUN([AC_LIBTOOL_COMPILER_OPTION], [AC_DIAGNOSE([obsolete], [The macro `AC_LIBTOOL_COMPILER_OPTION' is obsolete.
4841 You should run autoupdate.])dnl
4842 m4_if($#, 0, [_LT_COMPILER_OPTION], [_LT_COMPILER_OPTION($@)])])
4843 m4trace:auto-m4/libtool.m4:1453: -1- AC_DEFUN([_LT_LINKER_OPTION], [m4_require([_LT_FILEUTILS_DEFAULTS])dnl
4844 m4_require([_LT_DECL_SED])dnl
4845 AC_CACHE_CHECK([$1], [$2],
4847 save_LDFLAGS="$LDFLAGS"
4848 LDFLAGS="$LDFLAGS $3"
4849 echo "$lt_simple_link_test_code" > conftest.$ac_ext
4850 if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
4851 # The linker can only warn and ignore the option if not recognized
4852 # So say no if there are warnings
4853 if test -s conftest.err; then
4854 # Append any errors to the config.log.
4855 cat conftest.err 1>&AS_MESSAGE_LOG_FD
4856 $ECHO "X$_lt_linker_boilerplate" | $Xsed -e '/^$/d' > conftest.exp
4857 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
4858 if diff conftest.exp conftest.er2 >/dev/null; then
4866 LDFLAGS="$save_LDFLAGS"
4869 if test x"[$]$2" = xyes; then
4870 m4_if([$4], , :, [$4])
4872 m4_if([$5], , :, [$5])
4875 m4trace:auto-m4/libtool.m4:1488: -1- AU_DEFUN([AC_LIBTOOL_LINKER_OPTION], [m4_if($#, 0, [_LT_LINKER_OPTION], [_LT_LINKER_OPTION($@)])])
4876 m4trace:auto-m4/libtool.m4:1488: -1- AC_DEFUN([AC_LIBTOOL_LINKER_OPTION], [AC_DIAGNOSE([obsolete], [The macro `AC_LIBTOOL_LINKER_OPTION' is obsolete.
4877 You should run autoupdate.])dnl
4878 m4_if($#, 0, [_LT_LINKER_OPTION], [_LT_LINKER_OPTION($@)])])
4879 m4trace:auto-m4/libtool.m4:1495: -1- AC_DEFUN([LT_CMD_MAX_LEN], [AC_REQUIRE([AC_CANONICAL_HOST])dnl
4880 # find the maximum length of command line arguments
4881 AC_MSG_CHECKING([the maximum length of command line arguments])
4882 AC_CACHE_VAL([lt_cv_sys_max_cmd_len], [dnl
4888 # On DJGPP, this test can blow up pretty badly due to problems in libc
4889 # (any single argument exceeding 2000 bytes causes a buffer overrun
4890 # during glob expansion). Even if it were fixed, the result of this
4891 # check would be larger than it should be.
4892 lt_cv_sys_max_cmd_len=12288; # 12K is about right
4896 # Under GNU Hurd, this test is not required because there is
4897 # no limit to the length of command line arguments.
4898 # Libtool will interpret -1 as no limit whatsoever
4899 lt_cv_sys_max_cmd_len=-1;
4902 cygwin* | mingw* | cegcc*)
4903 # On Win9x/ME, this test blows up -- it succeeds, but takes
4904 # about 5 minutes as the teststring grows exponentially.
4905 # Worse, since 9x/ME are not pre-emptively multitasking,
4906 # you end up with a "frozen" computer, even though with patience
4907 # the test eventually succeeds (with a max line length of 256k).
4908 # Instead, let's just punt: use the minimum linelength reported by
4909 # all of the supported platforms: 8192 (on NT/2K/XP).
4910 lt_cv_sys_max_cmd_len=8192;
4914 # On AmigaOS with pdksh, this test takes hours, literally.
4915 # So we just punt and use a minimum line length of 8192.
4916 lt_cv_sys_max_cmd_len=8192;
4919 netbsd* | freebsd* | openbsd* | darwin* | dragonfly*)
4920 # This has been around since 386BSD, at least. Likely further.
4921 if test -x /sbin/sysctl; then
4922 lt_cv_sys_max_cmd_len=`/sbin/sysctl -n kern.argmax`
4923 elif test -x /usr/sbin/sysctl; then
4924 lt_cv_sys_max_cmd_len=`/usr/sbin/sysctl -n kern.argmax`
4926 lt_cv_sys_max_cmd_len=65536 # usable default for all BSDs
4928 # And add a safety zone
4929 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
4930 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
4934 # We know the value 262144 and hardcode it with a safety zone (like BSD)
4935 lt_cv_sys_max_cmd_len=196608
4939 # Dr. Hans Ekkehard Plesser reports seeing a kernel panic running configure
4940 # due to this test when exec_disable_arg_limit is 1 on Tru64. It is not
4941 # nice to cause kernel panics so lets avoid the loop below.
4942 # First set a reasonable default.
4943 lt_cv_sys_max_cmd_len=16384
4945 if test -x /sbin/sysconfig; then
4946 case `/sbin/sysconfig -q proc exec_disable_arg_limit` in
4947 *1*) lt_cv_sys_max_cmd_len=-1 ;;
4952 lt_cv_sys_max_cmd_len=102400
4954 sysv5* | sco5v6* | sysv4.2uw2*)
4955 kargmax=`grep ARG_MAX /etc/conf/cf.d/stune 2>/dev/null`
4956 if test -n "$kargmax"; then
4957 lt_cv_sys_max_cmd_len=`echo $kargmax | sed 's/.*[[ ]]//'`
4959 lt_cv_sys_max_cmd_len=32768
4963 lt_cv_sys_max_cmd_len=`(getconf ARG_MAX) 2> /dev/null`
4964 if test -n "$lt_cv_sys_max_cmd_len"; then
4965 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
4966 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
4968 # Make teststring a little bigger before we do anything with it.
4969 # a 1K string should be a reasonable start.
4970 for i in 1 2 3 4 5 6 7 8 ; do
4971 teststring=$teststring$teststring
4973 SHELL=${SHELL-${CONFIG_SHELL-/bin/sh}}
4974 # If test is not a shell built-in, we'll probably end up computing a
4975 # maximum length that is only half of the actual maximum length, but
4977 while { test "X"`$SHELL [$]0 --fallback-echo "X$teststring$teststring" 2>/dev/null` \
4978 = "XX$teststring$teststring"; } >/dev/null 2>&1 &&
4979 test $i != 17 # 1/2 MB should be enough
4982 teststring=$teststring$teststring
4984 # Only check the string length outside the loop.
4985 lt_cv_sys_max_cmd_len=`expr "X$teststring" : ".*" 2>&1`
4987 # Add a significant safety factor because C++ compilers can tack on
4988 # massive amounts of additional arguments before passing them to the
4989 # linker. It appears as though 1/2 is a usable value.
4990 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 2`
4995 if test -n $lt_cv_sys_max_cmd_len ; then
4996 AC_MSG_RESULT($lt_cv_sys_max_cmd_len)
5000 max_cmd_len=$lt_cv_sys_max_cmd_len
5001 _LT_DECL([], [max_cmd_len], [0],
5002 [What is the maximum length of a command?])
5004 m4trace:auto-m4/libtool.m4:1623: -1- AU_DEFUN([AC_LIBTOOL_SYS_MAX_CMD_LEN], [m4_if($#, 0, [LT_CMD_MAX_LEN], [LT_CMD_MAX_LEN($@)])])
5005 m4trace:auto-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.
5006 You should run autoupdate.])dnl
5007 m4_if($#, 0, [LT_CMD_MAX_LEN], [LT_CMD_MAX_LEN($@)])])
5008 m4trace:auto-m4/libtool.m4:1724: -1- AC_DEFUN([LT_SYS_DLOPEN_SELF], [m4_require([_LT_HEADER_DLFCN])dnl
5009 if test "x$enable_dlopen" != xyes; then
5010 enable_dlopen=unknown
5011 enable_dlopen_self=unknown
5012 enable_dlopen_self_static=unknown
5019 lt_cv_dlopen="load_add_on"
5021 lt_cv_dlopen_self=yes
5024 mingw* | pw32* | cegcc*)
5025 lt_cv_dlopen="LoadLibrary"
5030 lt_cv_dlopen="dlopen"
5035 # if libdl is installed we need to link against it
5036 AC_CHECK_LIB([dl], [dlopen],
5037 [lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"],[
5040 lt_cv_dlopen_self=yes
5045 AC_CHECK_FUNC([shl_load],
5046 [lt_cv_dlopen="shl_load"],
5047 [AC_CHECK_LIB([dld], [shl_load],
5048 [lt_cv_dlopen="shl_load" lt_cv_dlopen_libs="-ldld"],
5049 [AC_CHECK_FUNC([dlopen],
5050 [lt_cv_dlopen="dlopen"],
5051 [AC_CHECK_LIB([dl], [dlopen],
5052 [lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"],
5053 [AC_CHECK_LIB([svld], [dlopen],
5054 [lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-lsvld"],
5055 [AC_CHECK_LIB([dld], [dld_link],
5056 [lt_cv_dlopen="dld_link" lt_cv_dlopen_libs="-ldld"])
5065 if test "x$lt_cv_dlopen" != xno; then
5071 case $lt_cv_dlopen in
5073 save_CPPFLAGS="$CPPFLAGS"
5074 test "x$ac_cv_header_dlfcn_h" = xyes && CPPFLAGS="$CPPFLAGS -DHAVE_DLFCN_H"
5076 save_LDFLAGS="$LDFLAGS"
5077 wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $export_dynamic_flag_spec\"
5080 LIBS="$lt_cv_dlopen_libs $LIBS"
5082 AC_CACHE_CHECK([whether a program can dlopen itself],
5083 lt_cv_dlopen_self, [dnl
5084 _LT_TRY_DLOPEN_SELF(
5085 lt_cv_dlopen_self=yes, lt_cv_dlopen_self=yes,
5086 lt_cv_dlopen_self=no, lt_cv_dlopen_self=cross)
5089 if test "x$lt_cv_dlopen_self" = xyes; then
5090 wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $lt_prog_compiler_static\"
5091 AC_CACHE_CHECK([whether a statically linked program can dlopen itself],
5092 lt_cv_dlopen_self_static, [dnl
5093 _LT_TRY_DLOPEN_SELF(
5094 lt_cv_dlopen_self_static=yes, lt_cv_dlopen_self_static=yes,
5095 lt_cv_dlopen_self_static=no, lt_cv_dlopen_self_static=cross)
5099 CPPFLAGS="$save_CPPFLAGS"
5100 LDFLAGS="$save_LDFLAGS"
5105 case $lt_cv_dlopen_self in
5106 yes|no) enable_dlopen_self=$lt_cv_dlopen_self ;;
5107 *) enable_dlopen_self=unknown ;;
5110 case $lt_cv_dlopen_self_static in
5111 yes|no) enable_dlopen_self_static=$lt_cv_dlopen_self_static ;;
5112 *) enable_dlopen_self_static=unknown ;;
5115 _LT_DECL([dlopen_support], [enable_dlopen], [0],
5116 [Whether dlopen is supported])
5117 _LT_DECL([dlopen_self], [enable_dlopen_self], [0],
5118 [Whether dlopen of programs is supported])
5119 _LT_DECL([dlopen_self_static], [enable_dlopen_self_static], [0],
5120 [Whether dlopen of statically linked programs is supported])
5122 m4trace:auto-m4/libtool.m4:1841: -1- AU_DEFUN([AC_LIBTOOL_DLOPEN_SELF], [m4_if($#, 0, [LT_SYS_DLOPEN_SELF], [LT_SYS_DLOPEN_SELF($@)])])
5123 m4trace:auto-m4/libtool.m4:1841: -1- AC_DEFUN([AC_LIBTOOL_DLOPEN_SELF], [AC_DIAGNOSE([obsolete], [The macro `AC_LIBTOOL_DLOPEN_SELF' is obsolete.
5124 You should run autoupdate.])dnl
5125 m4_if($#, 0, [LT_SYS_DLOPEN_SELF], [LT_SYS_DLOPEN_SELF($@)])])
5126 m4trace:auto-m4/libtool.m4:2741: -1- AC_DEFUN([_LT_PATH_TOOL_PREFIX], [m4_require([_LT_DECL_EGREP])dnl
5127 AC_MSG_CHECKING([for $1])
5128 AC_CACHE_VAL(lt_cv_path_MAGIC_CMD,
5130 [[\\/*] | ?:[\\/]*])
5131 lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
5134 lt_save_MAGIC_CMD="$MAGIC_CMD"
5135 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
5136 dnl $ac_dummy forces splitting on constant user-supplied paths.
5137 dnl POSIX.2 word splitting is done only on the output of word expansions,
5138 dnl not every word. This closes a longstanding sh security hole.
5139 ac_dummy="m4_if([$2], , $PATH, [$2])"
5140 for ac_dir in $ac_dummy; do
5142 test -z "$ac_dir" && ac_dir=.
5143 if test -f $ac_dir/$1; then
5144 lt_cv_path_MAGIC_CMD="$ac_dir/$1"
5145 if test -n "$file_magic_test_file"; then
5146 case $deplibs_check_method in
5148 file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
5149 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
5150 if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
5151 $EGREP "$file_magic_regex" > /dev/null; then
5156 *** Warning: the command libtool uses to detect shared libraries,
5157 *** $file_magic_cmd, produces output that libtool cannot recognize.
5158 *** The result is that libtool may fail to recognize shared libraries
5159 *** as such. This will affect the creation of libtool libraries that
5160 *** depend on shared libraries, but programs linked with such libtool
5161 *** libraries will work regardless of this problem. Nevertheless, you
5162 *** may want to report the problem to your system manager and/or to
5163 *** bug-libtool@gnu.org
5173 MAGIC_CMD="$lt_save_MAGIC_CMD"
5176 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
5177 if test -n "$MAGIC_CMD"; then
5178 AC_MSG_RESULT($MAGIC_CMD)
5182 _LT_DECL([], [MAGIC_CMD], [0],
5183 [Used to examine libraries when file_magic_cmd begins with "file"])dnl
5185 m4trace:auto-m4/libtool.m4:2803: -1- AU_DEFUN([AC_PATH_TOOL_PREFIX], [m4_if($#, 0, [_LT_PATH_TOOL_PREFIX], [_LT_PATH_TOOL_PREFIX($@)])])
5186 m4trace:auto-m4/libtool.m4:2803: -1- AC_DEFUN([AC_PATH_TOOL_PREFIX], [AC_DIAGNOSE([obsolete], [The macro `AC_PATH_TOOL_PREFIX' is obsolete.
5187 You should run autoupdate.])dnl
5188 m4_if($#, 0, [_LT_PATH_TOOL_PREFIX], [_LT_PATH_TOOL_PREFIX($@)])])
5189 m4trace:auto-m4/libtool.m4:2826: -1- AC_DEFUN([LT_PATH_LD], [AC_REQUIRE([AC_PROG_CC])dnl
5190 AC_REQUIRE([AC_CANONICAL_HOST])dnl
5191 AC_REQUIRE([AC_CANONICAL_BUILD])dnl
5192 m4_require([_LT_DECL_SED])dnl
5193 m4_require([_LT_DECL_EGREP])dnl
5195 AC_ARG_WITH([gnu-ld],
5196 [AS_HELP_STRING([--with-gnu-ld],
5197 [assume the C compiler uses GNU ld @<:@default=no@:>@])],
5198 [test "$withval" = no || with_gnu_ld=yes],
5199 [with_gnu_ld=no])dnl
5202 if test "$GCC" = yes; then
5203 # Check if gcc -print-prog-name=ld gives a path.
5204 AC_MSG_CHECKING([for ld used by $CC])
5207 # gcc leaves a trailing carriage return which upsets mingw
5208 ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
5210 ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
5213 # Accept absolute paths.
5214 [[\\/]]* | ?:[[\\/]]*)
5215 re_direlt='/[[^/]][[^/]]*/\.\./'
5216 # Canonicalize the pathname of ld
5217 ac_prog=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'`
5218 while $ECHO "$ac_prog" | $GREP "$re_direlt" > /dev/null 2>&1; do
5219 ac_prog=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"`
5221 test -z "$LD" && LD="$ac_prog"
5224 # If it fails, then pretend we aren't using GCC.
5228 # If it is relative, then search for the first ld in PATH.
5232 elif test "$with_gnu_ld" = yes; then
5233 AC_MSG_CHECKING([for GNU ld])
5235 AC_MSG_CHECKING([for non-GNU ld])
5237 AC_CACHE_VAL(lt_cv_path_LD,
5238 [if test -z "$LD"; then
5239 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
5240 for ac_dir in $PATH; do
5242 test -z "$ac_dir" && ac_dir=.
5243 if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
5244 lt_cv_path_LD="$ac_dir/$ac_prog"
5245 # Check to see if the program is GNU ld. I'd rather use --version,
5246 # but apparently some variants of GNU ld only accept -v.
5247 # Break only if it was the GNU/non-GNU ld that we prefer.
5248 case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
5249 *GNU* | *'with BFD'*)
5250 test "$with_gnu_ld" != no && break
5253 test "$with_gnu_ld" != yes && break
5260 lt_cv_path_LD="$LD" # Let the user override the test with a path.
5263 if test -n "$LD"; then
5268 test -z "$LD" && AC_MSG_ERROR([no acceptable ld found in \$PATH])
5272 _LT_TAGDECL([], [LD], [1], [The linker used to build libraries])
5274 m4trace:auto-m4/libtool.m4:2914: -1- AU_DEFUN([AM_PROG_LD], [m4_if($#, 0, [LT_PATH_LD], [LT_PATH_LD($@)])])
5275 m4trace:auto-m4/libtool.m4:2914: -1- AC_DEFUN([AM_PROG_LD], [AC_DIAGNOSE([obsolete], [The macro `AM_PROG_LD' is obsolete.
5276 You should run autoupdate.])dnl
5277 m4_if($#, 0, [LT_PATH_LD], [LT_PATH_LD($@)])])
5278 m4trace:auto-m4/libtool.m4:2915: -1- AU_DEFUN([AC_PROG_LD], [m4_if($#, 0, [LT_PATH_LD], [LT_PATH_LD($@)])])
5279 m4trace:auto-m4/libtool.m4:2915: -1- AC_DEFUN([AC_PROG_LD], [AC_DIAGNOSE([obsolete], [The macro `AC_PROG_LD' is obsolete.
5280 You should run autoupdate.])dnl
5281 m4_if($#, 0, [LT_PATH_LD], [LT_PATH_LD($@)])])
5282 m4trace:auto-m4/libtool.m4:3179: -1- AC_DEFUN([LT_PATH_NM], [AC_REQUIRE([AC_PROG_CC])dnl
5283 AC_CACHE_CHECK([for BSD- or MS-compatible name lister (nm)], lt_cv_path_NM,
5284 [if test -n "$NM"; then
5285 # Let the user override the test.
5288 lt_nm_to_check="${ac_tool_prefix}nm"
5289 if test -n "$ac_tool_prefix" && test "$build" = "$host"; then
5290 lt_nm_to_check="$lt_nm_to_check nm"
5292 for lt_tmp_nm in $lt_nm_to_check; do
5293 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
5294 for ac_dir in $PATH /usr/ccs/bin/elf /usr/ccs/bin /usr/ucb /bin; do
5296 test -z "$ac_dir" && ac_dir=.
5297 tmp_nm="$ac_dir/$lt_tmp_nm"
5298 if test -f "$tmp_nm" || test -f "$tmp_nm$ac_exeext" ; then
5299 # Check to see if the nm accepts a BSD-compat flag.
5300 # Adding the `sed 1q' prevents false positives on HP-UX, which says:
5301 # nm: unknown option "B" ignored
5302 # Tru64's nm complains that /dev/null is an invalid object file
5303 case `"$tmp_nm" -B /dev/null 2>&1 | sed '1q'` in
5304 */dev/null* | *'Invalid file or object type'*)
5305 lt_cv_path_NM="$tmp_nm -B"
5309 case `"$tmp_nm" -p /dev/null 2>&1 | sed '1q'` in
5311 lt_cv_path_NM="$tmp_nm -p"
5315 lt_cv_path_NM=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but
5316 continue # so that we can try to find one that supports BSD flags
5325 : ${lt_cv_path_NM=no}
5327 if test "$lt_cv_path_NM" != "no"; then
5330 # Didn't find any BSD compatible name lister, look for dumpbin.
5331 AC_CHECK_TOOLS(DUMPBIN, ["dumpbin -symbols" "link -dump -symbols"], :)
5333 if test "$DUMPBIN" != ":"; then
5337 test -z "$NM" && NM=nm
5339 _LT_DECL([], [NM], [1], [A BSD- or MS-compatible name lister])dnl
5341 AC_CACHE_CHECK([the name lister ($NM) interface], [lt_cv_nm_interface],
5342 [lt_cv_nm_interface="BSD nm"
5343 echo "int some_variable = 0;" > conftest.$ac_ext
5344 (eval echo "\"\$as_me:__oline__: $ac_compile\"" >&AS_MESSAGE_LOG_FD)
5345 (eval "$ac_compile" 2>conftest.err)
5346 cat conftest.err >&AS_MESSAGE_LOG_FD
5347 (eval echo "\"\$as_me:__oline__: $NM \\\"conftest.$ac_objext\\\"\"" >&AS_MESSAGE_LOG_FD)
5348 (eval "$NM \"conftest.$ac_objext\"" 2>conftest.err > conftest.out)
5349 cat conftest.err >&AS_MESSAGE_LOG_FD
5350 (eval echo "\"\$as_me:__oline__: output\"" >&AS_MESSAGE_LOG_FD)
5351 cat conftest.out >&AS_MESSAGE_LOG_FD
5352 if $GREP 'External.*some_variable' conftest.out > /dev/null; then
5353 lt_cv_nm_interface="MS dumpbin"
5357 m4trace:auto-m4/libtool.m4:3257: -1- AU_DEFUN([AM_PROG_NM], [m4_if($#, 0, [LT_PATH_NM], [LT_PATH_NM($@)])])
5358 m4trace:auto-m4/libtool.m4:3257: -1- AC_DEFUN([AM_PROG_NM], [AC_DIAGNOSE([obsolete], [The macro `AM_PROG_NM' is obsolete.
5359 You should run autoupdate.])dnl
5360 m4_if($#, 0, [LT_PATH_NM], [LT_PATH_NM($@)])])
5361 m4trace:auto-m4/libtool.m4:3258: -1- AU_DEFUN([AC_PROG_NM], [m4_if($#, 0, [LT_PATH_NM], [LT_PATH_NM($@)])])
5362 m4trace:auto-m4/libtool.m4:3258: -1- AC_DEFUN([AC_PROG_NM], [AC_DIAGNOSE([obsolete], [The macro `AC_PROG_NM' is obsolete.
5363 You should run autoupdate.])dnl
5364 m4_if($#, 0, [LT_PATH_NM], [LT_PATH_NM($@)])])
5365 m4trace:auto-m4/libtool.m4:3267: -1- AC_DEFUN([LT_LIB_M], [AC_REQUIRE([AC_CANONICAL_HOST])dnl
5368 *-*-beos* | *-*-cygwin* | *-*-pw32* | *-*-darwin*)
5369 # These system don't have libm, or don't need it
5372 AC_CHECK_LIB(mw, _mwvalidcheckl, LIBM="-lmw")
5373 AC_CHECK_LIB(m, cos, LIBM="$LIBM -lm")
5376 AC_CHECK_LIB(m, cos, LIBM="-lm")
5381 m4trace:auto-m4/libtool.m4:3286: -1- AU_DEFUN([AC_CHECK_LIBM], [m4_if($#, 0, [LT_LIB_M], [LT_LIB_M($@)])])
5382 m4trace:auto-m4/libtool.m4:3286: -1- AC_DEFUN([AC_CHECK_LIBM], [AC_DIAGNOSE([obsolete], [The macro `AC_CHECK_LIBM' is obsolete.
5383 You should run autoupdate.])dnl
5384 m4_if($#, 0, [LT_LIB_M], [LT_LIB_M($@)])])
5385 m4trace:auto-m4/libtool.m4:6987: -1- AC_DEFUN([LT_PROG_GCJ], [m4_ifdef([AC_PROG_GCJ], [AC_PROG_GCJ],
5386 [m4_ifdef([A][M_PROG_GCJ], [A][M_PROG_GCJ],
5387 [AC_CHECK_TOOL(GCJ, gcj,)
5388 test "x${GCJFLAGS+set}" = xset || GCJFLAGS="-g -O2"
5389 AC_SUBST(GCJFLAGS)])])[]dnl
5391 m4trace:auto-m4/libtool.m4:6996: -1- AU_DEFUN([LT_AC_PROG_GCJ], [m4_if($#, 0, [LT_PROG_GCJ], [LT_PROG_GCJ($@)])])
5392 m4trace:auto-m4/libtool.m4:6996: -1- AC_DEFUN([LT_AC_PROG_GCJ], [AC_DIAGNOSE([obsolete], [The macro `LT_AC_PROG_GCJ' is obsolete.
5393 You should run autoupdate.])dnl
5394 m4_if($#, 0, [LT_PROG_GCJ], [LT_PROG_GCJ($@)])])
5395 m4trace:auto-m4/libtool.m4:7003: -1- AC_DEFUN([LT_PROG_RC], [AC_CHECK_TOOL(RC, windres,)
5397 m4trace:auto-m4/libtool.m4:7008: -1- AU_DEFUN([LT_AC_PROG_RC], [m4_if($#, 0, [LT_PROG_RC], [LT_PROG_RC($@)])])
5398 m4trace:auto-m4/libtool.m4:7008: -1- AC_DEFUN([LT_AC_PROG_RC], [AC_DIAGNOSE([obsolete], [The macro `LT_AC_PROG_RC' is obsolete.
5399 You should run autoupdate.])dnl
5400 m4_if($#, 0, [LT_PROG_RC], [LT_PROG_RC($@)])])
5401 m4trace:auto-m4/libtool.m4:7119: -1- AU_DEFUN([LT_AC_PROG_SED], [m4_if($#, 0, [AC_PROG_SED], [AC_PROG_SED($@)])])
5402 m4trace:auto-m4/libtool.m4:7119: -1- AC_DEFUN([LT_AC_PROG_SED], [AC_DIAGNOSE([obsolete], [The macro `LT_AC_PROG_SED' is obsolete.
5403 You should run autoupdate.])dnl
5404 m4_if($#, 0, [AC_PROG_SED], [AC_PROG_SED($@)])])
5405 m4trace:auto-m4/longdouble.m4:13: -1- AC_DEFUN([gt_TYPE_LONGDOUBLE], [
5406 AC_CACHE_CHECK([for long double], gt_cv_c_long_double,
5407 [if test "$GCC" = yes; then
5408 gt_cv_c_long_double=yes
5411 /* The Stardent Vistra knows sizeof(long double), but does not support it. */
5412 long double foo = 0.0;
5413 /* On Ultrix 4.3 cc, long double is 4 and double is 8. */
5414 int array [2*(sizeof(long double) >= sizeof(double)) - 1];
5416 gt_cv_c_long_double=yes, gt_cv_c_long_double=no)
5418 if test $gt_cv_c_long_double = yes; then
5419 AC_DEFINE(HAVE_LONG_DOUBLE, 1, [Define if you have the 'long double' type.])
5422 m4trace:auto-m4/longlong.m4:13: -1- AC_DEFUN([jm_AC_TYPE_LONG_LONG], [
5423 AC_CACHE_CHECK([for long long], ac_cv_type_long_long,
5424 [AC_TRY_LINK([long long ll = 1LL; int i = 63;],
5425 [long long llmax = (long long) -1;
5426 return ll << i | ll >> i | llmax / ll | llmax % ll;],
5427 ac_cv_type_long_long=yes,
5428 ac_cv_type_long_long=no)])
5429 if test $ac_cv_type_long_long = yes; then
5430 AC_DEFINE(HAVE_LONG_LONG, 1,
5431 [Define if you have the 'long long' type.])
5434 m4trace:auto-m4/ltoptions.m4:13: -1- AC_DEFUN([LTOPTIONS_VERSION], [m4_if([1])])
5435 m4trace:auto-m4/ltoptions.m4:110: -1- AU_DEFUN([AC_LIBTOOL_DLOPEN], [_LT_SET_OPTION([LT_INIT], [dlopen])
5436 AC_DIAGNOSE([obsolete],
5437 [$0: Remove this warning and the call to _LT_SET_OPTION when you
5438 put the `dlopen' option into LT_INIT's first parameter.])
5440 m4trace:auto-m4/ltoptions.m4:110: -1- AC_DEFUN([AC_LIBTOOL_DLOPEN], [AC_DIAGNOSE([obsolete], [The macro `AC_LIBTOOL_DLOPEN' is obsolete.
5441 You should run autoupdate.])dnl
5442 _LT_SET_OPTION([LT_INIT], [dlopen])
5443 AC_DIAGNOSE([obsolete],
5444 [$0: Remove this warning and the call to _LT_SET_OPTION when you
5445 put the `dlopen' option into LT_INIT's first parameter.])
5447 m4trace:auto-m4/ltoptions.m4:145: -1- AU_DEFUN([AC_LIBTOOL_WIN32_DLL], [AC_REQUIRE([AC_CANONICAL_HOST])dnl
5448 _LT_SET_OPTION([LT_INIT], [win32-dll])
5449 AC_DIAGNOSE([obsolete],
5450 [$0: Remove this warning and the call to _LT_SET_OPTION when you
5451 put the `win32-dll' option into LT_INIT's first parameter.])
5453 m4trace:auto-m4/ltoptions.m4:145: -1- AC_DEFUN([AC_LIBTOOL_WIN32_DLL], [AC_DIAGNOSE([obsolete], [The macro `AC_LIBTOOL_WIN32_DLL' is obsolete.
5454 You should run autoupdate.])dnl
5455 AC_REQUIRE([AC_CANONICAL_HOST])dnl
5456 _LT_SET_OPTION([LT_INIT], [win32-dll])
5457 AC_DIAGNOSE([obsolete],
5458 [$0: Remove this warning and the call to _LT_SET_OPTION when you
5459 put the `win32-dll' option into LT_INIT's first parameter.])
5461 m4trace:auto-m4/ltoptions.m4:194: -1- AC_DEFUN([AC_ENABLE_SHARED], [_LT_SET_OPTION([LT_INIT], m4_if([$1], [no], [disable-])[shared])
5463 m4trace:auto-m4/ltoptions.m4:198: -1- AC_DEFUN([AC_DISABLE_SHARED], [_LT_SET_OPTION([LT_INIT], [disable-shared])
5465 m4trace:auto-m4/ltoptions.m4:202: -1- AU_DEFUN([AM_ENABLE_SHARED], [AC_ENABLE_SHARED($@)])
5466 m4trace:auto-m4/ltoptions.m4:202: -1- AC_DEFUN([AM_ENABLE_SHARED], [AC_DIAGNOSE([obsolete], [The macro `AM_ENABLE_SHARED' is obsolete.
5467 You should run autoupdate.])dnl
5468 AC_ENABLE_SHARED($@)])
5469 m4trace:auto-m4/ltoptions.m4:203: -1- AU_DEFUN([AM_DISABLE_SHARED], [AC_DISABLE_SHARED($@)])
5470 m4trace:auto-m4/ltoptions.m4:203: -1- AC_DEFUN([AM_DISABLE_SHARED], [AC_DIAGNOSE([obsolete], [The macro `AM_DISABLE_SHARED' is obsolete.
5471 You should run autoupdate.])dnl
5472 AC_DISABLE_SHARED($@)])
5473 m4trace:auto-m4/ltoptions.m4:248: -1- AC_DEFUN([AC_ENABLE_STATIC], [_LT_SET_OPTION([LT_INIT], m4_if([$1], [no], [disable-])[static])
5475 m4trace:auto-m4/ltoptions.m4:252: -1- AC_DEFUN([AC_DISABLE_STATIC], [_LT_SET_OPTION([LT_INIT], [disable-static])
5477 m4trace:auto-m4/ltoptions.m4:256: -1- AU_DEFUN([AM_ENABLE_STATIC], [AC_ENABLE_STATIC($@)])
5478 m4trace:auto-m4/ltoptions.m4:256: -1- AC_DEFUN([AM_ENABLE_STATIC], [AC_DIAGNOSE([obsolete], [The macro `AM_ENABLE_STATIC' is obsolete.
5479 You should run autoupdate.])dnl
5480 AC_ENABLE_STATIC($@)])
5481 m4trace:auto-m4/ltoptions.m4:257: -1- AU_DEFUN([AM_DISABLE_STATIC], [AC_DISABLE_STATIC($@)])
5482 m4trace:auto-m4/ltoptions.m4:257: -1- AC_DEFUN([AM_DISABLE_STATIC], [AC_DIAGNOSE([obsolete], [The macro `AM_DISABLE_STATIC' is obsolete.
5483 You should run autoupdate.])dnl
5484 AC_DISABLE_STATIC($@)])
5485 m4trace:auto-m4/ltoptions.m4:302: -1- AU_DEFUN([AC_ENABLE_FAST_INSTALL], [_LT_SET_OPTION([LT_INIT], m4_if([$1], [no], [disable-])[fast-install])
5486 AC_DIAGNOSE([obsolete],
5487 [$0: Remove this warning and the call to _LT_SET_OPTION when you put
5488 the `fast-install' option into LT_INIT's first parameter.])
5490 m4trace:auto-m4/ltoptions.m4:302: -1- AC_DEFUN([AC_ENABLE_FAST_INSTALL], [AC_DIAGNOSE([obsolete], [The macro `AC_ENABLE_FAST_INSTALL' is obsolete.
5491 You should run autoupdate.])dnl
5492 _LT_SET_OPTION([LT_INIT], m4_if([$1], [no], [disable-])[fast-install])
5493 AC_DIAGNOSE([obsolete],
5494 [$0: Remove this warning and the call to _LT_SET_OPTION when you put
5495 the `fast-install' option into LT_INIT's first parameter.])
5497 m4trace:auto-m4/ltoptions.m4:309: -1- AU_DEFUN([AC_DISABLE_FAST_INSTALL], [_LT_SET_OPTION([LT_INIT], [disable-fast-install])
5498 AC_DIAGNOSE([obsolete],
5499 [$0: Remove this warning and the call to _LT_SET_OPTION when you put
5500 the `disable-fast-install' option into LT_INIT's first parameter.])
5502 m4trace:auto-m4/ltoptions.m4:309: -1- AC_DEFUN([AC_DISABLE_FAST_INSTALL], [AC_DIAGNOSE([obsolete], [The macro `AC_DISABLE_FAST_INSTALL' is obsolete.
5503 You should run autoupdate.])dnl
5504 _LT_SET_OPTION([LT_INIT], [disable-fast-install])
5505 AC_DIAGNOSE([obsolete],
5506 [$0: Remove this warning and the call to _LT_SET_OPTION when you put
5507 the `disable-fast-install' option into LT_INIT's first parameter.])
5509 m4trace:auto-m4/ltoptions.m4:342: -1- AU_DEFUN([AC_LIBTOOL_PICMODE], [_LT_SET_OPTION([LT_INIT], [pic-only])
5510 AC_DIAGNOSE([obsolete],
5511 [$0: Remove this warning and the call to _LT_SET_OPTION when you
5512 put the `pic-only' option into LT_INIT's first parameter.])
5514 m4trace:auto-m4/ltoptions.m4:342: -1- AC_DEFUN([AC_LIBTOOL_PICMODE], [AC_DIAGNOSE([obsolete], [The macro `AC_LIBTOOL_PICMODE' is obsolete.
5515 You should run autoupdate.])dnl
5516 _LT_SET_OPTION([LT_INIT], [pic-only])
5517 AC_DIAGNOSE([obsolete],
5518 [$0: Remove this warning and the call to _LT_SET_OPTION when you
5519 put the `pic-only' option into LT_INIT's first parameter.])
5521 m4trace:auto-m4/ltsugar.m4:13: -1- AC_DEFUN([LTSUGAR_VERSION], [m4_if([0.1])])
5522 m4trace:auto-m4/ltversion.m4:18: -1- AC_DEFUN([LTVERSION_VERSION], [macro_version='2.2.6b'
5523 macro_revision='1.3017'
5524 _LT_DECL(, macro_version, 0, [Which release of libtool.m4 was used?])
5525 _LT_DECL(, macro_revision, 0)
5527 m4trace:auto-m4/lt~obsolete.m4:36: -1- AC_DEFUN([LTOBSOLETE_VERSION], [m4_if([1])])
5528 m4trace:auto-m4/lt~obsolete.m4:40: -1- AC_DEFUN([_LT_AC_PROG_ECHO_BACKSLASH])
5529 m4trace:auto-m4/lt~obsolete.m4:41: -1- AC_DEFUN([_LT_AC_SHELL_INIT])
5530 m4trace:auto-m4/lt~obsolete.m4:42: -1- AC_DEFUN([_LT_AC_SYS_LIBPATH_AIX])
5531 m4trace:auto-m4/lt~obsolete.m4:44: -1- AC_DEFUN([_LT_AC_TAGVAR])
5532 m4trace:auto-m4/lt~obsolete.m4:45: -1- AC_DEFUN([AC_LTDL_ENABLE_INSTALL])
5533 m4trace:auto-m4/lt~obsolete.m4:46: -1- AC_DEFUN([AC_LTDL_PREOPEN])
5534 m4trace:auto-m4/lt~obsolete.m4:47: -1- AC_DEFUN([_LT_AC_SYS_COMPILER])
5535 m4trace:auto-m4/lt~obsolete.m4:48: -1- AC_DEFUN([_LT_AC_LOCK])
5536 m4trace:auto-m4/lt~obsolete.m4:49: -1- AC_DEFUN([AC_LIBTOOL_SYS_OLD_ARCHIVE])
5537 m4trace:auto-m4/lt~obsolete.m4:50: -1- AC_DEFUN([_LT_AC_TRY_DLOPEN_SELF])
5538 m4trace:auto-m4/lt~obsolete.m4:51: -1- AC_DEFUN([AC_LIBTOOL_PROG_CC_C_O])
5539 m4trace:auto-m4/lt~obsolete.m4:52: -1- AC_DEFUN([AC_LIBTOOL_SYS_HARD_LINK_LOCKS])
5540 m4trace:auto-m4/lt~obsolete.m4:53: -1- AC_DEFUN([AC_LIBTOOL_OBJDIR])
5541 m4trace:auto-m4/lt~obsolete.m4:54: -1- AC_DEFUN([AC_LTDL_OBJDIR])
5542 m4trace:auto-m4/lt~obsolete.m4:55: -1- AC_DEFUN([AC_LIBTOOL_PROG_LD_HARDCODE_LIBPATH])
5543 m4trace:auto-m4/lt~obsolete.m4:56: -1- AC_DEFUN([AC_LIBTOOL_SYS_LIB_STRIP])
5544 m4trace:auto-m4/lt~obsolete.m4:57: -1- AC_DEFUN([AC_PATH_MAGIC])
5545 m4trace:auto-m4/lt~obsolete.m4:58: -1- AC_DEFUN([AC_PROG_LD_GNU])
5546 m4trace:auto-m4/lt~obsolete.m4:59: -1- AC_DEFUN([AC_PROG_LD_RELOAD_FLAG])
5547 m4trace:auto-m4/lt~obsolete.m4:60: -1- AC_DEFUN([AC_DEPLIBS_CHECK_METHOD])
5548 m4trace:auto-m4/lt~obsolete.m4:61: -1- AC_DEFUN([AC_LIBTOOL_PROG_COMPILER_NO_RTTI])
5549 m4trace:auto-m4/lt~obsolete.m4:62: -1- AC_DEFUN([AC_LIBTOOL_SYS_GLOBAL_SYMBOL_PIPE])
5550 m4trace:auto-m4/lt~obsolete.m4:63: -1- AC_DEFUN([AC_LIBTOOL_PROG_COMPILER_PIC])
5551 m4trace:auto-m4/lt~obsolete.m4:64: -1- AC_DEFUN([AC_LIBTOOL_PROG_LD_SHLIBS])
5552 m4trace:auto-m4/lt~obsolete.m4:65: -1- AC_DEFUN([AC_LIBTOOL_POSTDEP_PREDEP])
5553 m4trace:auto-m4/lt~obsolete.m4:66: -1- AC_DEFUN([LT_AC_PROG_EGREP])
5554 m4trace:auto-m4/lt~obsolete.m4:71: -1- AC_DEFUN([_AC_PROG_LIBTOOL])
5555 m4trace:auto-m4/lt~obsolete.m4:72: -1- AC_DEFUN([AC_LIBTOOL_SETUP])
5556 m4trace:auto-m4/lt~obsolete.m4:73: -1- AC_DEFUN([_LT_AC_CHECK_DLFCN])
5557 m4trace:auto-m4/lt~obsolete.m4:74: -1- AC_DEFUN([AC_LIBTOOL_SYS_DYNAMIC_LINKER])
5558 m4trace:auto-m4/lt~obsolete.m4:75: -1- AC_DEFUN([_LT_AC_TAGCONFIG])
5559 m4trace:auto-m4/lt~obsolete.m4:77: -1- AC_DEFUN([_LT_AC_LANG_CXX])
5560 m4trace:auto-m4/lt~obsolete.m4:78: -1- AC_DEFUN([_LT_AC_LANG_F77])
5561 m4trace:auto-m4/lt~obsolete.m4:79: -1- AC_DEFUN([_LT_AC_LANG_GCJ])
5562 m4trace:auto-m4/lt~obsolete.m4:80: -1- AC_DEFUN([AC_LIBTOOL_RC])
5563 m4trace:auto-m4/lt~obsolete.m4:81: -1- AC_DEFUN([AC_LIBTOOL_LANG_C_CONFIG])
5564 m4trace:auto-m4/lt~obsolete.m4:82: -1- AC_DEFUN([_LT_AC_LANG_C_CONFIG])
5565 m4trace:auto-m4/lt~obsolete.m4:83: -1- AC_DEFUN([AC_LIBTOOL_LANG_CXX_CONFIG])
5566 m4trace:auto-m4/lt~obsolete.m4:84: -1- AC_DEFUN([_LT_AC_LANG_CXX_CONFIG])
5567 m4trace:auto-m4/lt~obsolete.m4:85: -1- AC_DEFUN([AC_LIBTOOL_LANG_F77_CONFIG])
5568 m4trace:auto-m4/lt~obsolete.m4:86: -1- AC_DEFUN([_LT_AC_LANG_F77_CONFIG])
5569 m4trace:auto-m4/lt~obsolete.m4:87: -1- AC_DEFUN([AC_LIBTOOL_LANG_GCJ_CONFIG])
5570 m4trace:auto-m4/lt~obsolete.m4:88: -1- AC_DEFUN([_LT_AC_LANG_GCJ_CONFIG])
5571 m4trace:auto-m4/lt~obsolete.m4:89: -1- AC_DEFUN([AC_LIBTOOL_LANG_RC_CONFIG])
5572 m4trace:auto-m4/lt~obsolete.m4:90: -1- AC_DEFUN([_LT_AC_LANG_RC_CONFIG])
5573 m4trace:auto-m4/lt~obsolete.m4:91: -1- AC_DEFUN([AC_LIBTOOL_CONFIG])
5574 m4trace:auto-m4/lt~obsolete.m4:92: -1- AC_DEFUN([_LT_AC_FILE_LTDLL_C])
5575 m4trace:auto-m4/nls.m4:22: -1- AC_DEFUN([AM_NLS], [
5576 AC_MSG_CHECKING([whether NLS is requested])
5577 dnl Default is enabled NLS
5579 [ --disable-nls do not use Native Language Support],
5580 USE_NLS=$enableval, USE_NLS=yes)
5581 AC_MSG_RESULT($USE_NLS)
5584 m4trace:auto-m4/nls.m4:33: -1- AC_DEFUN([AM_MKINSTALLDIRS], [
5585 dnl If the AC_CONFIG_AUX_DIR macro for autoconf is used we possibly
5586 dnl find the mkinstalldirs script in another subdir but $(top_srcdir).
5587 dnl Try to locate it.
5589 if test -n "$ac_aux_dir"; then
5590 case "$ac_aux_dir" in
5591 /*) MKINSTALLDIRS="$ac_aux_dir/mkinstalldirs" ;;
5592 *) MKINSTALLDIRS="\$(top_builddir)/$ac_aux_dir/mkinstalldirs" ;;
5595 if test -z "$MKINSTALLDIRS"; then
5596 MKINSTALLDIRS="\$(top_srcdir)/mkinstalldirs"
5598 AC_SUBST(MKINSTALLDIRS)
5600 m4trace:auto-m4/po.m4:23: -1- AC_DEFUN([AM_PO_SUBDIRS], [
5601 AC_REQUIRE([AC_PROG_MAKE_SET])dnl
5602 AC_REQUIRE([AC_PROG_INSTALL])dnl
5603 AC_REQUIRE([AM_MKINSTALLDIRS])dnl
5604 AC_REQUIRE([AM_NLS])dnl
5606 dnl Perform the following tests also if --disable-nls has been given,
5607 dnl because they are needed for "make dist" to work.
5609 dnl Search for GNU msgfmt in the PATH.
5610 dnl The first test excludes Solaris msgfmt and early GNU msgfmt versions.
5611 dnl The second test excludes FreeBSD msgfmt.
5612 AM_PATH_PROG_WITH_TEST(MSGFMT, msgfmt,
5613 [$ac_dir/$ac_word --statistics /dev/null >/dev/null 2>&1 &&
5614 (if $ac_dir/$ac_word --statistics /dev/null 2>&1 >/dev/null | grep usage >/dev/null; then exit 1; else exit 0; fi)],
5616 AC_PATH_PROG(GMSGFMT, gmsgfmt, $MSGFMT)
5618 dnl Search for GNU xgettext 0.12 or newer in the PATH.
5619 dnl The first test excludes Solaris xgettext and early GNU xgettext versions.
5620 dnl The second test excludes FreeBSD xgettext.
5621 AM_PATH_PROG_WITH_TEST(XGETTEXT, xgettext,
5622 [$ac_dir/$ac_word --omit-header --copyright-holder= --msgid-bugs-address= /dev/null >/dev/null 2>&1 &&
5623 (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)],
5625 dnl Remove leftover from FreeBSD xgettext call.
5628 dnl Search for GNU msgmerge 0.11 or newer in the PATH.
5629 AM_PATH_PROG_WITH_TEST(MSGMERGE, msgmerge,
5630 [$ac_dir/$ac_word --update -q /dev/null /dev/null >/dev/null 2>&1], :)
5632 dnl This could go away some day; the PATH_PROG_WITH_TEST already does it.
5633 dnl Test whether we really found GNU msgfmt.
5634 if test "$GMSGFMT" != ":"; then
5635 dnl If it is no GNU msgfmt we define it as : so that the
5636 dnl Makefiles still can work.
5637 if $GMSGFMT --statistics /dev/null >/dev/null 2>&1 &&
5638 (if $GMSGFMT --statistics /dev/null 2>&1 >/dev/null | grep usage >/dev/null; then exit 1; else exit 0; fi); then
5641 GMSGFMT=`echo "$GMSGFMT" | sed -e 's,^.*/,,'`
5643 [found $GMSGFMT program is not GNU msgfmt; ignore it])
5648 dnl This could go away some day; the PATH_PROG_WITH_TEST already does it.
5649 dnl Test whether we really found GNU xgettext.
5650 if test "$XGETTEXT" != ":"; then
5651 dnl If it is no GNU xgettext we define it as : so that the
5652 dnl Makefiles still can work.
5653 if $XGETTEXT --omit-header --copyright-holder= --msgid-bugs-address= /dev/null >/dev/null 2>&1 &&
5654 (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
5658 [found xgettext program is not GNU xgettext; ignore it])
5661 dnl Remove leftover from FreeBSD xgettext call.
5665 AC_OUTPUT_COMMANDS([
5666 for ac_file in $CONFIG_FILES; do
5667 # Support "outfile[:infile[:infile...]]"
5669 *:*) ac_file=`echo "$ac_file"|sed 's%:.*%%'` ;;
5671 # PO directories have a Makefile.in generated from Makefile.in.in.
5672 case "$ac_file" in */Makefile.in)
5673 # Adjust a relative srcdir.
5674 ac_dir=`echo "$ac_file"|sed 's%/[^/][^/]*$%%'`
5675 ac_dir_suffix="/`echo "$ac_dir"|sed 's%^\./%%'`"
5676 ac_dots=`echo "$ac_dir_suffix"|sed 's%/[^/]*%../%g'`
5677 # In autoconf-2.13 it is called $ac_given_srcdir.
5678 # In autoconf-2.50 it is called $srcdir.
5679 test -n "$ac_given_srcdir" || ac_given_srcdir="$srcdir"
5680 case "$ac_given_srcdir" in
5681 .) top_srcdir=`echo $ac_dots|sed 's%/$%%'` ;;
5682 /*) top_srcdir="$ac_given_srcdir" ;;
5683 *) top_srcdir="$ac_dots$ac_given_srcdir" ;;
5685 if test -f "$ac_given_srcdir/$ac_dir/POTFILES.in"; then
5686 rm -f "$ac_dir/POTFILES"
5687 test -n "$as_me" && echo "$as_me: creating $ac_dir/POTFILES" || echo "creating $ac_dir/POTFILES"
5688 cat "$ac_given_srcdir/$ac_dir/POTFILES.in" | sed -e "/^#/d" -e "/^[ ]*\$/d" -e "s,.*, $top_srcdir/& \\\\," | sed -e "\$s/\(.*\) \\\\/\1/" > "$ac_dir/POTFILES"
5689 POMAKEFILEDEPS="POTFILES.in"
5690 # ALL_LINGUAS, POFILES, UPDATEPOFILES, DUMMYPOFILES, GMOFILES depend
5691 # on $ac_dir but don't depend on user-specified configuration
5693 if test -f "$ac_given_srcdir/$ac_dir/LINGUAS"; then
5694 # The LINGUAS file contains the set of available languages.
5695 if test -n "$OBSOLETE_ALL_LINGUAS"; then
5696 test -n "$as_me" && echo "$as_me: setting ALL_LINGUAS in configure.in is obsolete" || echo "setting ALL_LINGUAS in configure.in is obsolete"
5698 ALL_LINGUAS_=`sed -e "/^#/d" "$ac_given_srcdir/$ac_dir/LINGUAS"`
5699 # Hide the ALL_LINGUAS assigment from automake.
5700 eval 'ALL_LINGUAS''=$ALL_LINGUAS_'
5701 POMAKEFILEDEPS="$POMAKEFILEDEPS LINGUAS"
5703 # The set of available languages was given in configure.in.
5704 eval 'ALL_LINGUAS''=$OBSOLETE_ALL_LINGUAS'
5707 # as $(foreach lang, $(ALL_LINGUAS), $(srcdir)/$(lang).po)
5708 # Compute UPDATEPOFILES
5709 # as $(foreach lang, $(ALL_LINGUAS), $(lang).po-update)
5710 # Compute DUMMYPOFILES
5711 # as $(foreach lang, $(ALL_LINGUAS), $(lang).nop)
5713 # as $(foreach lang, $(ALL_LINGUAS), $(srcdir)/$(lang).gmo)
5714 case "$ac_given_srcdir" in
5716 *) srcdirpre='$(srcdir)/' ;;
5722 for lang in $ALL_LINGUAS; do
5723 POFILES="$POFILES $srcdirpre$lang.po"
5724 UPDATEPOFILES="$UPDATEPOFILES $lang.po-update"
5725 DUMMYPOFILES="$DUMMYPOFILES $lang.nop"
5726 GMOFILES="$GMOFILES $srcdirpre$lang.gmo"
5728 # CATALOGS depends on both $ac_dir and the user's LINGUAS
5729 # environment variable.
5731 if test -n "$ALL_LINGUAS"; then
5732 for presentlang in $ALL_LINGUAS; do
5734 if test "%UNSET%" != "$LINGUAS"; then
5735 desiredlanguages="$LINGUAS"
5737 desiredlanguages="$ALL_LINGUAS"
5739 for desiredlang in $desiredlanguages; do
5740 # Use the presentlang catalog if desiredlang is
5741 # a. equal to presentlang, or
5742 # b. a variant of presentlang (because in this case,
5743 # presentlang can be used as a fallback for messages
5744 # which are not translated in the desiredlang catalog).
5745 case "$desiredlang" in
5746 "$presentlang"*) useit=yes;;
5749 if test $useit = yes; then
5750 INST_LINGUAS="$INST_LINGUAS $presentlang"
5755 if test -n "$INST_LINGUAS"; then
5756 for lang in $INST_LINGUAS; do
5757 CATALOGS="$CATALOGS $lang.gmo"
5760 test -n "$as_me" && echo "$as_me: creating $ac_dir/Makefile" || echo "creating $ac_dir/Makefile"
5761 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"
5762 for f in "$ac_given_srcdir/$ac_dir"/Rules-*; do
5763 if test -f "$f"; then
5765 *.orig | *.bak | *~) ;;
5766 *) cat "$f" >> "$ac_dir/Makefile" ;;
5774 [# Capture the value of obsolete ALL_LINGUAS because we need it to compute
5775 # POFILES, UPDATEPOFILES, DUMMYPOFILES, GMOFILES, CATALOGS. But hide it
5777 eval 'OBSOLETE_ALL_LINGUAS''="$ALL_LINGUAS"'
5778 # Capture the value of LINGUAS because we need it to compute CATALOGS.
5779 LINGUAS="${LINGUAS-%UNSET%}"
5782 m4trace:auto-m4/po.m4:208: -1- AC_DEFUN([AM_POSTPROCESS_PO_MAKEFILE], [
5783 # When this code is run, in config.status, two variables have already been
5785 # - OBSOLETE_ALL_LINGUAS is the value of LINGUAS set in configure.in,
5786 # - LINGUAS is the value of the environment variable LINGUAS at configure
5790 # Adjust a relative srcdir.
5791 ac_dir=`echo "$ac_file"|sed 's%/[^/][^/]*$%%'`
5792 ac_dir_suffix="/`echo "$ac_dir"|sed 's%^\./%%'`"
5793 ac_dots=`echo "$ac_dir_suffix"|sed 's%/[^/]*%../%g'`
5794 # In autoconf-2.13 it is called $ac_given_srcdir.
5795 # In autoconf-2.50 it is called $srcdir.
5796 test -n "$ac_given_srcdir" || ac_given_srcdir="$srcdir"
5797 case "$ac_given_srcdir" in
5798 .) top_srcdir=`echo $ac_dots|sed 's%/$%%'` ;;
5799 /*) top_srcdir="$ac_given_srcdir" ;;
5800 *) top_srcdir="$ac_dots$ac_given_srcdir" ;;
5803 # Find a way to echo strings without interpreting backslash.
5804 if test "X`(echo '\t') 2>/dev/null`" = 'X\t'; then
5807 if test "X`(printf '%s\n' '\t') 2>/dev/null`" = 'X\t'; then
5808 gt_echo='printf %s\n'
5819 # A sed script that extracts the value of VARIABLE from a Makefile.
5821 # Test if the hold space is empty.
5826 # Yes it was empty. Look if we have the expected variable definition.
5827 /^[ ]*VARIABLE[ ]*=/{
5828 # Seen the first line of the variable definition.
5829 s/^[ ]*VARIABLE[ ]*=//
5834 # Here we are processing a line from the variable definition.
5835 # Remove comment, more precisely replace it with a space.
5837 # See if the line ends in a backslash.
5841 # Print the line, without the trailing backslash.
5844 # There was no trailing backslash. The end of the variable definition is
5845 # reached. Clear the hold space.
5850 # A trailing backslash means that the variable definition continues in the
5851 # next line. Put a nonempty string into the hold space to indicate this.
5858 # Set POTFILES to the value of the Makefile variable POTFILES.
5859 sed_x_POTFILES="`$gt_echo \"$sed_x_variable\" | sed -e '/^ *#/d' -e 's/VARIABLE/POTFILES/g'`"
5860 POTFILES=`sed -n -e "$sed_x_POTFILES" < "$ac_file"`
5861 # Compute POTFILES_DEPS as
5862 # $(foreach file, $(POTFILES), $(top_srcdir)/$(file))
5864 for file in $POTFILES; do
5865 POTFILES_DEPS="$POTFILES_DEPS "'$(top_srcdir)/'"$file"
5869 if test -n "$OBSOLETE_ALL_LINGUAS"; then
5870 test -n "$as_me" && echo "$as_me: setting ALL_LINGUAS in configure.in is obsolete" || echo "setting ALL_LINGUAS in configure.in is obsolete"
5872 if test -f "$ac_given_srcdir/$ac_dir/LINGUAS"; then
5873 # The LINGUAS file contains the set of available languages.
5874 ALL_LINGUAS_=`sed -e "/^#/d" "$ac_given_srcdir/$ac_dir/LINGUAS"`
5875 POMAKEFILEDEPS="$POMAKEFILEDEPS LINGUAS"
5877 # Set ALL_LINGUAS to the value of the Makefile variable LINGUAS.
5878 sed_x_LINGUAS="`$gt_echo \"$sed_x_variable\" | sed -e '/^ *#/d' -e 's/VARIABLE/LINGUAS/g'`"
5879 ALL_LINGUAS_=`sed -n -e "$sed_x_LINGUAS" < "$ac_file"`
5881 # Hide the ALL_LINGUAS assigment from automake.
5882 eval 'ALL_LINGUAS''=$ALL_LINGUAS_'
5884 # as $(foreach lang, $(ALL_LINGUAS), $(srcdir)/$(lang).po)
5885 # Compute UPDATEPOFILES
5886 # as $(foreach lang, $(ALL_LINGUAS), $(lang).po-update)
5887 # Compute DUMMYPOFILES
5888 # as $(foreach lang, $(ALL_LINGUAS), $(lang).nop)
5890 # as $(foreach lang, $(ALL_LINGUAS), $(srcdir)/$(lang).gmo)
5891 # Compute PROPERTIESFILES
5892 # as $(foreach lang, $(ALL_LINGUAS), $(top_srcdir)/$(DOMAIN)_$(lang).properties)
5893 # Compute CLASSFILES
5894 # as $(foreach lang, $(ALL_LINGUAS), $(top_srcdir)/$(DOMAIN)_$(lang).class)
5896 # as $(foreach lang, $(ALL_LINGUAS), $(srcdir)/$(lang).qm)
5898 # as $(foreach lang, $(ALL_LINGUAS), $(srcdir)/$(frob $(lang)).msg)
5899 # Compute RESOURCESDLLFILES
5900 # as $(foreach lang, $(ALL_LINGUAS), $(srcdir)/$(frob $(lang))/$(DOMAIN).resources.dll)
5901 case "$ac_given_srcdir" in
5903 *) srcdirpre='$(srcdir)/' ;;
5914 for lang in $ALL_LINGUAS; do
5915 POFILES="$POFILES $srcdirpre$lang.po"
5916 UPDATEPOFILES="$UPDATEPOFILES $lang.po-update"
5917 DUMMYPOFILES="$DUMMYPOFILES $lang.nop"
5918 GMOFILES="$GMOFILES $srcdirpre$lang.gmo"
5919 PROPERTIESFILES="$PROPERTIESFILES \$(top_srcdir)/\$(DOMAIN)_$lang.properties"
5920 CLASSFILES="$CLASSFILES \$(top_srcdir)/\$(DOMAIN)_$lang.class"
5921 QMFILES="$QMFILES $srcdirpre$lang.qm"
5922 frobbedlang=`echo $lang | sed -e 's/\..*$//' -e 'y/ABCDEFGHIJKLMNOPQRSTUVWXYZ/abcdefghijklmnopqrstuvwxyz/'`
5923 MSGFILES="$MSGFILES $srcdirpre$frobbedlang.msg"
5924 frobbedlang=`echo $lang | sed -e 's/_/-/g'`
5925 RESOURCESDLLFILES="$RESOURCESDLLFILES $srcdirpre$frobbedlang/\$(DOMAIN).resources.dll"
5927 # CATALOGS depends on both $ac_dir and the user's LINGUAS
5928 # environment variable.
5930 if test -n "$ALL_LINGUAS"; then
5931 for presentlang in $ALL_LINGUAS; do
5933 if test "%UNSET%" != "$LINGUAS"; then
5934 desiredlanguages="$LINGUAS"
5936 desiredlanguages="$ALL_LINGUAS"
5938 for desiredlang in $desiredlanguages; do
5939 # Use the presentlang catalog if desiredlang is
5940 # a. equal to presentlang, or
5941 # b. a variant of presentlang (because in this case,
5942 # presentlang can be used as a fallback for messages
5943 # which are not translated in the desiredlang catalog).
5944 case "$desiredlang" in
5945 "$presentlang"*) useit=yes;;
5948 if test $useit = yes; then
5949 INST_LINGUAS="$INST_LINGUAS $presentlang"
5958 if test -n "$INST_LINGUAS"; then
5959 for lang in $INST_LINGUAS; do
5960 CATALOGS="$CATALOGS $lang.gmo"
5961 JAVACATALOGS="$JAVACATALOGS \$(DOMAIN)_$lang.properties"
5962 QTCATALOGS="$QTCATALOGS $lang.qm"
5963 frobbedlang=`echo $lang | sed -e 's/\..*$//' -e 'y/ABCDEFGHIJKLMNOPQRSTUVWXYZ/abcdefghijklmnopqrstuvwxyz/'`
5964 TCLCATALOGS="$TCLCATALOGS $frobbedlang.msg"
5965 frobbedlang=`echo $lang | sed -e 's/_/-/g'`
5966 CSHARPCATALOGS="$CSHARPCATALOGS $frobbedlang/\$(DOMAIN).resources.dll"
5970 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"
5971 if grep -l '@TCLCATALOGS@' "$ac_file" > /dev/null; then
5972 # Add dependencies that cannot be formulated as a simple suffix rule.
5973 for lang in $ALL_LINGUAS; do
5974 frobbedlang=`echo $lang | sed -e 's/\..*$//' -e 'y/ABCDEFGHIJKLMNOPQRSTUVWXYZ/abcdefghijklmnopqrstuvwxyz/'`
5975 cat >> "$ac_file.tmp" <<EOF
5976 $frobbedlang.msg: $lang.po
5977 @echo "\$(MSGFMT) -c --tcl -d \$(srcdir) -l $lang $srcdirpre$lang.po"; \
5978 \$(MSGFMT) -c --tcl -d "\$(srcdir)" -l $lang $srcdirpre$lang.po || { rm -f "\$(srcdir)/$frobbedlang.msg"; exit 1; }
5982 if grep -l '@CSHARPCATALOGS@' "$ac_file" > /dev/null; then
5983 # Add dependencies that cannot be formulated as a simple suffix rule.
5984 for lang in $ALL_LINGUAS; do
5985 frobbedlang=`echo $lang | sed -e 's/_/-/g'`
5986 cat >> "$ac_file.tmp" <<EOF
5987 $frobbedlang/\$(DOMAIN).resources.dll: $lang.po
5988 @echo "\$(MSGFMT) -c --csharp -d \$(srcdir) -l $lang $srcdirpre$lang.po -r \$(DOMAIN)"; \
5989 \$(MSGFMT) -c --csharp -d "\$(srcdir)" -l $lang $srcdirpre$lang.po -r "\$(DOMAIN)" || { rm -f "\$(srcdir)/$frobbedlang.msg"; exit 1; }
5993 if test -n "$POMAKEFILEDEPS"; then
5994 cat >> "$ac_file.tmp" <<EOF
5995 Makefile: $POMAKEFILEDEPS
5998 mv "$ac_file.tmp" "$ac_file"
6000 m4trace:auto-m4/printf-posix.m4:13: -1- AC_DEFUN([gt_PRINTF_POSIX], [
6001 AC_REQUIRE([AC_PROG_CC])
6002 AC_CACHE_CHECK([whether printf() supports POSIX/XSI format strings],
6003 gt_cv_func_printf_posix,
6008 /* The string "%2$d %1$d", with dollar characters protected from the shell's
6009 dollar expansion (possibly an autoconf bug). */
6010 static char format[] = { '%', '2', '$', 'd', ' ', '%', '1', '$', 'd', '\0' };
6011 static char buf[100];
6014 sprintf (buf, format, 33, 55);
6015 return (strcmp (buf, "55 33") != 0);
6016 }], gt_cv_func_printf_posix=yes, gt_cv_func_printf_posix=no,
6018 AC_EGREP_CPP(notposix, [
6019 #if defined __NetBSD__ || defined _MSC_VER || defined __MINGW32__ || defined __CYGWIN__
6022 ], gt_cv_func_printf_posix="guessing no",
6023 gt_cv_func_printf_posix="guessing yes")
6026 case $gt_cv_func_printf_posix in
6028 AC_DEFINE(HAVE_POSIX_PRINTF, 1,
6029 [Define if your printf() function supports format strings with positions.])
6033 m4trace:auto-m4/progtest.m4:25: -1- AC_DEFUN([AM_PATH_PROG_WITH_TEST], [
6034 # Prepare PATH_SEPARATOR.
6035 # The user is always right.
6036 if test "${PATH_SEPARATOR+set}" != set; then
6037 echo "#! /bin/sh" >conf$$.sh
6038 echo "exit 0" >>conf$$.sh
6040 if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
6048 # Find out how to test for executable files. Don't use a zero-byte file,
6049 # as systems may use methods other than mode bits to determine executability.
6050 cat >conf$$.file <<_ASEOF
6054 chmod +x conf$$.file
6055 if test -x conf$$.file >/dev/null 2>&1; then
6056 ac_executable_p="test -x"
6058 ac_executable_p="test -f"
6062 # Extract the first word of "$2", so it can be a program name with args.
6063 set dummy $2; ac_word=[$]2
6064 AC_MSG_CHECKING([for $ac_word])
6065 AC_CACHE_VAL(ac_cv_path_$1,
6067 [[\\/]]* | ?:[[\\/]]*)
6068 ac_cv_path_$1="[$]$1" # Let the user override the test with a path.
6071 ac_save_IFS="$IFS"; IFS=$PATH_SEPARATOR
6072 for ac_dir in ifelse([$5], , $PATH, [$5]); do
6074 test -z "$ac_dir" && ac_dir=.
6075 for ac_exec_ext in '' $ac_executable_extensions; do
6076 if $ac_executable_p "$ac_dir/$ac_word$ac_exec_ext"; then
6078 ac_cv_path_$1="$ac_dir/$ac_word$ac_exec_ext"
6085 dnl If no 4th arg is given, leave the cache variable unset,
6086 dnl so AC_PATH_PROGS will keep looking.
6087 ifelse([$4], , , [ test -z "[$]ac_cv_path_$1" && ac_cv_path_$1="$4"
6092 if test ifelse([$4], , [-n "[$]$1"], ["[$]$1" != "$4"]); then
6093 AC_MSG_RESULT([$]$1)
6099 m4trace:auto-m4/signed.m4:11: -1- AC_DEFUN([bh_C_SIGNED], [
6100 AC_CACHE_CHECK([for signed], bh_cv_c_signed,
6101 [AC_TRY_COMPILE(, [signed char x;], bh_cv_c_signed=yes, bh_cv_c_signed=no)])
6102 if test $bh_cv_c_signed = no; then
6104 [Define to empty if the C compiler doesn't support this keyword.])
6107 m4trace:auto-m4/size_max.m4:11: -1- AC_DEFUN([gl_SIZE_MAX], [
6108 AC_CHECK_HEADERS(stdint.h)
6109 dnl First test whether the system already has SIZE_MAX.
6110 AC_MSG_CHECKING([for SIZE_MAX])
6112 AC_EGREP_CPP([Found it], [
6121 if test -z "$result"; then
6122 dnl Define it ourselves. Here we assume that the type 'size_t' is not wider
6123 dnl than the type 'unsigned long'.
6124 dnl The _AC_COMPUTE_INT macro works up to LONG_MAX, since it uses 'expr',
6125 dnl which is guaranteed to work from LONG_MIN to LONG_MAX.
6126 _AC_COMPUTE_INT([~(size_t)0 / 10], res_hi,
6127 [#include <stddef.h>], result=?)
6128 _AC_COMPUTE_INT([~(size_t)0 % 10], res_lo,
6129 [#include <stddef.h>], result=?)
6130 _AC_COMPUTE_INT([sizeof (size_t) <= sizeof (unsigned int)], fits_in_uint,
6131 [#include <stddef.h>], result=?)
6132 if test "$fits_in_uint" = 1; then
6133 dnl Even though SIZE_MAX fits in an unsigned int, it must be of type
6134 dnl 'unsigned long' if the type 'size_t' is the same as 'unsigned long'.
6135 AC_TRY_COMPILE([#include <stddef.h>
6137 extern unsigned long foo;
6138 ], [], fits_in_uint=0)
6140 if test -z "$result"; then
6141 if test "$fits_in_uint" = 1; then
6142 result="$res_hi$res_lo"U
6144 result="$res_hi$res_lo"UL
6147 dnl Shouldn't happen, but who knows...
6151 AC_MSG_RESULT([$result])
6152 if test "$result" != yes; then
6153 AC_DEFINE_UNQUOTED([SIZE_MAX], [$result],
6154 [Define as the maximum value of type 'size_t', if the system doesn't define it.])
6157 m4trace:auto-m4/stdint_h.m4:14: -1- AC_DEFUN([jm_AC_HEADER_STDINT_H], [
6158 AC_CACHE_CHECK([for stdint.h], jm_ac_cv_header_stdint_h,
6160 [#include <sys/types.h>
6161 #include <stdint.h>],
6162 [uintmax_t i = (uintmax_t) -1;],
6163 jm_ac_cv_header_stdint_h=yes,
6164 jm_ac_cv_header_stdint_h=no)])
6165 if test $jm_ac_cv_header_stdint_h = yes; then
6166 AC_DEFINE_UNQUOTED(HAVE_STDINT_H_WITH_UINTMAX, 1,
6167 [Define if <stdint.h> exists, doesn't clash with <sys/types.h>,
6168 and declares uintmax_t. ])
6171 m4trace:auto-m4/uintmax_t.m4:16: -1- AC_DEFUN([jm_AC_TYPE_UINTMAX_T], [
6172 AC_REQUIRE([jm_AC_HEADER_INTTYPES_H])
6173 AC_REQUIRE([jm_AC_HEADER_STDINT_H])
6174 if test $jm_ac_cv_header_inttypes_h = no && test $jm_ac_cv_header_stdint_h = no; then
6175 AC_REQUIRE([jm_AC_TYPE_UNSIGNED_LONG_LONG])
6176 test $ac_cv_type_unsigned_long_long = yes \
6177 && ac_type='unsigned long long' \
6178 || ac_type='unsigned long'
6179 AC_DEFINE_UNQUOTED(uintmax_t, $ac_type,
6180 [Define to unsigned long or unsigned long long
6181 if <stdint.h> and <inttypes.h> don't define.])
6183 AC_DEFINE(HAVE_UINTMAX_T, 1,
6184 [Define if you have the 'uintmax_t' type in <stdint.h> or <inttypes.h>.])
6187 m4trace:auto-m4/ulonglong.m4:13: -1- AC_DEFUN([jm_AC_TYPE_UNSIGNED_LONG_LONG], [
6188 AC_CACHE_CHECK([for unsigned long long], ac_cv_type_unsigned_long_long,
6189 [AC_TRY_LINK([unsigned long long ull = 1ULL; int i = 63;],
6190 [unsigned long long ullmax = (unsigned long long) -1;
6191 return ull << i | ull >> i | ullmax / ull | ullmax % ull;],
6192 ac_cv_type_unsigned_long_long=yes,
6193 ac_cv_type_unsigned_long_long=no)])
6194 if test $ac_cv_type_unsigned_long_long = yes; then
6195 AC_DEFINE(HAVE_UNSIGNED_LONG_LONG, 1,
6196 [Define if you have the 'unsigned long long' type.])
6199 m4trace:auto-m4/wchar_t.m4:13: -1- AC_DEFUN([gt_TYPE_WCHAR_T], [
6200 AC_CACHE_CHECK([for wchar_t], gt_cv_c_wchar_t,
6201 [AC_TRY_COMPILE([#include <stddef.h>
6202 wchar_t foo = (wchar_t)'\0';], ,
6203 gt_cv_c_wchar_t=yes, gt_cv_c_wchar_t=no)])
6204 if test $gt_cv_c_wchar_t = yes; then
6205 AC_DEFINE(HAVE_WCHAR_T, 1, [Define if you have the 'wchar_t' type.])
6208 m4trace:auto-m4/wint_t.m4:13: -1- AC_DEFUN([gt_TYPE_WINT_T], [
6209 AC_CACHE_CHECK([for wint_t], gt_cv_c_wint_t,
6210 [AC_TRY_COMPILE([#include <wchar.h>
6211 wint_t foo = (wchar_t)'\0';], ,
6212 gt_cv_c_wint_t=yes, gt_cv_c_wint_t=no)])
6213 if test $gt_cv_c_wint_t = yes; then
6214 AC_DEFINE(HAVE_WINT_T, 1, [Define if you have the 'wint_t' type.])
6217 m4trace:auto-m4/xsize.m4:9: -1- AC_DEFUN([gl_XSIZE], [
6218 dnl Prerequisites of lib/xsize.h.
6219 AC_REQUIRE([gl_SIZE_MAX])
6220 AC_CHECK_HEADERS(stdint.h)
6222 m4trace:configure.ac:8: -1- m4_pattern_forbid([^_?A[CHUM]_])
6223 m4trace:configure.ac:8: -1- m4_pattern_forbid([_AC_])
6224 m4trace:configure.ac:8: -1- m4_pattern_forbid([^LIBOBJS$], [do not use LIBOBJS directly, use AC_LIBOBJ (see section `AC_LIBOBJ vs LIBOBJS'])
6225 m4trace:configure.ac:8: -1- m4_pattern_allow([^AS_FLAGS$])
6226 m4trace:configure.ac:8: -1- m4_pattern_forbid([^_?m4_])
6227 m4trace:configure.ac:8: -1- m4_pattern_forbid([^dnl$])
6228 m4trace:configure.ac:8: -1- m4_pattern_forbid([^_?AS_])
6229 m4trace:configure.ac:8: -1- m4_pattern_allow([^SHELL$])
6230 m4trace:configure.ac:8: -1- m4_pattern_allow([^PATH_SEPARATOR$])
6231 m4trace:configure.ac:8: -1- m4_pattern_allow([^PACKAGE_NAME$])
6232 m4trace:configure.ac:8: -1- m4_pattern_allow([^PACKAGE_TARNAME$])
6233 m4trace:configure.ac:8: -1- m4_pattern_allow([^PACKAGE_VERSION$])
6234 m4trace:configure.ac:8: -1- m4_pattern_allow([^PACKAGE_STRING$])
6235 m4trace:configure.ac:8: -1- m4_pattern_allow([^PACKAGE_BUGREPORT$])
6236 m4trace:configure.ac:8: -1- m4_pattern_allow([^PACKAGE_URL$])
6237 m4trace:configure.ac:8: -1- m4_pattern_allow([^exec_prefix$])
6238 m4trace:configure.ac:8: -1- m4_pattern_allow([^prefix$])
6239 m4trace:configure.ac:8: -1- m4_pattern_allow([^program_transform_name$])
6240 m4trace:configure.ac:8: -1- m4_pattern_allow([^bindir$])
6241 m4trace:configure.ac:8: -1- m4_pattern_allow([^sbindir$])
6242 m4trace:configure.ac:8: -1- m4_pattern_allow([^libexecdir$])
6243 m4trace:configure.ac:8: -1- m4_pattern_allow([^datarootdir$])
6244 m4trace:configure.ac:8: -1- m4_pattern_allow([^datadir$])
6245 m4trace:configure.ac:8: -1- m4_pattern_allow([^sysconfdir$])
6246 m4trace:configure.ac:8: -1- m4_pattern_allow([^sharedstatedir$])
6247 m4trace:configure.ac:8: -1- m4_pattern_allow([^localstatedir$])
6248 m4trace:configure.ac:8: -1- m4_pattern_allow([^includedir$])
6249 m4trace:configure.ac:8: -1- m4_pattern_allow([^oldincludedir$])
6250 m4trace:configure.ac:8: -1- m4_pattern_allow([^docdir$])
6251 m4trace:configure.ac:8: -1- m4_pattern_allow([^infodir$])
6252 m4trace:configure.ac:8: -1- m4_pattern_allow([^htmldir$])
6253 m4trace:configure.ac:8: -1- m4_pattern_allow([^dvidir$])
6254 m4trace:configure.ac:8: -1- m4_pattern_allow([^pdfdir$])
6255 m4trace:configure.ac:8: -1- m4_pattern_allow([^psdir$])
6256 m4trace:configure.ac:8: -1- m4_pattern_allow([^libdir$])
6257 m4trace:configure.ac:8: -1- m4_pattern_allow([^localedir$])
6258 m4trace:configure.ac:8: -1- m4_pattern_allow([^mandir$])
6259 m4trace:configure.ac:8: -1- m4_pattern_allow([^PACKAGE_NAME$])
6260 m4trace:configure.ac:8: -1- m4_pattern_allow([^PACKAGE_TARNAME$])
6261 m4trace:configure.ac:8: -1- m4_pattern_allow([^PACKAGE_VERSION$])
6262 m4trace:configure.ac:8: -1- m4_pattern_allow([^PACKAGE_STRING$])
6263 m4trace:configure.ac:8: -1- m4_pattern_allow([^PACKAGE_BUGREPORT$])
6264 m4trace:configure.ac:8: -1- m4_pattern_allow([^PACKAGE_URL$])
6265 m4trace:configure.ac:8: -1- m4_pattern_allow([^DEFS$])
6266 m4trace:configure.ac:8: -1- m4_pattern_allow([^ECHO_C$])
6267 m4trace:configure.ac:8: -1- m4_pattern_allow([^ECHO_N$])
6268 m4trace:configure.ac:8: -1- m4_pattern_allow([^ECHO_T$])
6269 m4trace:configure.ac:8: -1- m4_pattern_allow([^LIBS$])
6270 m4trace:configure.ac:8: -1- m4_pattern_allow([^build_alias$])
6271 m4trace:configure.ac:8: -1- m4_pattern_allow([^host_alias$])
6272 m4trace:configure.ac:8: -1- m4_pattern_allow([^target_alias$])
6273 m4trace:configure.ac:20: -1- AM_INIT_AUTOMAKE([-Wall gnu 1.9 dist-bzip2 check-news subdir-objects])
6274 m4trace:configure.ac:20: -1- m4_pattern_allow([^AM_[A-Z]+FLAGS$])
6275 m4trace:configure.ac:20: -1- AM_SET_CURRENT_AUTOMAKE_VERSION
6276 m4trace:configure.ac:20: -1- AM_AUTOMAKE_VERSION([1.11.1])
6277 m4trace:configure.ac:20: -1- _AM_AUTOCONF_VERSION([2.68])
6278 m4trace:configure.ac:20: -1- m4_pattern_allow([^INSTALL_PROGRAM$])
6279 m4trace:configure.ac:20: -1- m4_pattern_allow([^INSTALL_SCRIPT$])
6280 m4trace:configure.ac:20: -1- m4_pattern_allow([^INSTALL_DATA$])
6281 m4trace:configure.ac:20: -1- m4_pattern_allow([^am__isrc$])
6282 m4trace:configure.ac:20: -1- _AM_SUBST_NOTMAKE([am__isrc])
6283 m4trace:configure.ac:20: -1- m4_pattern_allow([^CYGPATH_W$])
6284 m4trace:configure.ac:20: -1- _AM_SET_OPTIONS([-Wall gnu 1.9 dist-bzip2 check-news subdir-objects])
6285 m4trace:configure.ac:20: -1- _AM_SET_OPTION([-Wall])
6286 m4trace:configure.ac:20: -2- _AM_MANGLE_OPTION([-Wall])
6287 m4trace:configure.ac:20: -1- _AM_SET_OPTION([gnu])
6288 m4trace:configure.ac:20: -2- _AM_MANGLE_OPTION([gnu])
6289 m4trace:configure.ac:20: -1- _AM_SET_OPTION([1.9])
6290 m4trace:configure.ac:20: -2- _AM_MANGLE_OPTION([1.9])
6291 m4trace:configure.ac:20: -1- _AM_SET_OPTION([dist-bzip2])
6292 m4trace:configure.ac:20: -2- _AM_MANGLE_OPTION([dist-bzip2])
6293 m4trace:configure.ac:20: -1- _AM_SET_OPTION([check-news])
6294 m4trace:configure.ac:20: -2- _AM_MANGLE_OPTION([check-news])
6295 m4trace:configure.ac:20: -1- _AM_SET_OPTION([subdir-objects])
6296 m4trace:configure.ac:20: -2- _AM_MANGLE_OPTION([subdir-objects])
6297 m4trace:configure.ac:20: -1- m4_pattern_allow([^PACKAGE$])
6298 m4trace:configure.ac:20: -1- m4_pattern_allow([^VERSION$])
6299 m4trace:configure.ac:20: -1- _AM_IF_OPTION([no-define], [], [AC_DEFINE_UNQUOTED(PACKAGE, "$PACKAGE", [Name of package])
6300 AC_DEFINE_UNQUOTED(VERSION, "$VERSION", [Version number of package])])
6301 m4trace:configure.ac:20: -2- _AM_MANGLE_OPTION([no-define])
6302 m4trace:configure.ac:20: -1- m4_pattern_allow([^PACKAGE$])
6303 m4trace:configure.ac:20: -1- m4_pattern_allow([^VERSION$])
6304 m4trace:configure.ac:20: -1- AM_SANITY_CHECK
6305 m4trace:configure.ac:20: -1- AM_MISSING_PROG([ACLOCAL], [aclocal-${am__api_version}])
6306 m4trace:configure.ac:20: -1- AM_MISSING_HAS_RUN
6307 m4trace:configure.ac:20: -1- AM_AUX_DIR_EXPAND
6308 m4trace:configure.ac:20: -1- m4_pattern_allow([^ACLOCAL$])
6309 m4trace:configure.ac:20: -1- AM_MISSING_PROG([AUTOCONF], [autoconf])
6310 m4trace:configure.ac:20: -1- m4_pattern_allow([^AUTOCONF$])
6311 m4trace:configure.ac:20: -1- AM_MISSING_PROG([AUTOMAKE], [automake-${am__api_version}])
6312 m4trace:configure.ac:20: -1- m4_pattern_allow([^AUTOMAKE$])
6313 m4trace:configure.ac:20: -1- AM_MISSING_PROG([AUTOHEADER], [autoheader])
6314 m4trace:configure.ac:20: -1- m4_pattern_allow([^AUTOHEADER$])
6315 m4trace:configure.ac:20: -1- AM_MISSING_PROG([MAKEINFO], [makeinfo])
6316 m4trace:configure.ac:20: -1- m4_pattern_allow([^MAKEINFO$])
6317 m4trace:configure.ac:20: -1- AM_PROG_INSTALL_SH
6318 m4trace:configure.ac:20: -1- m4_pattern_allow([^install_sh$])
6319 m4trace:configure.ac:20: -1- AM_PROG_INSTALL_STRIP
6320 m4trace:configure.ac:20: -1- m4_pattern_allow([^STRIP$])
6321 m4trace:configure.ac:20: -1- m4_pattern_allow([^INSTALL_STRIP_PROGRAM$])
6322 m4trace:configure.ac:20: -1- AM_PROG_MKDIR_P
6323 m4trace:configure.ac:20: -1- m4_pattern_allow([^MKDIR_P$])
6324 m4trace:configure.ac:20: -1- m4_pattern_allow([^mkdir_p$])
6325 m4trace:configure.ac:20: -1- m4_pattern_allow([^AWK$])
6326 m4trace:configure.ac:20: -1- m4_pattern_allow([^SET_MAKE$])
6327 m4trace:configure.ac:20: -1- AM_SET_LEADING_DOT
6328 m4trace:configure.ac:20: -1- m4_pattern_allow([^am__leading_dot$])
6329 m4trace:configure.ac:20: -1- _AM_IF_OPTION([tar-ustar], [_AM_PROG_TAR([ustar])], [_AM_IF_OPTION([tar-pax], [_AM_PROG_TAR([pax])],
6330 [_AM_PROG_TAR([v7])])])
6331 m4trace:configure.ac:20: -2- _AM_MANGLE_OPTION([tar-ustar])
6332 m4trace:configure.ac:20: -1- _AM_IF_OPTION([tar-pax], [_AM_PROG_TAR([pax])], [_AM_PROG_TAR([v7])])
6333 m4trace:configure.ac:20: -2- _AM_MANGLE_OPTION([tar-pax])
6334 m4trace:configure.ac:20: -1- _AM_PROG_TAR([v7])
6335 m4trace:configure.ac:20: -1- AM_MISSING_PROG([AMTAR], [tar])
6336 m4trace:configure.ac:20: -1- m4_pattern_allow([^AMTAR$])
6337 m4trace:configure.ac:20: -1- m4_pattern_allow([^am__tar$])
6338 m4trace:configure.ac:20: -1- m4_pattern_allow([^am__untar$])
6339 m4trace:configure.ac:20: -1- _AM_IF_OPTION([no-dependencies], [], [AC_PROVIDE_IFELSE([AC_PROG_CC],
6340 [_AM_DEPENDENCIES(CC)],
6341 [define([AC_PROG_CC],
6342 defn([AC_PROG_CC])[_AM_DEPENDENCIES(CC)])])dnl
6343 AC_PROVIDE_IFELSE([AC_PROG_CXX],
6344 [_AM_DEPENDENCIES(CXX)],
6345 [define([AC_PROG_CXX],
6346 defn([AC_PROG_CXX])[_AM_DEPENDENCIES(CXX)])])dnl
6347 AC_PROVIDE_IFELSE([AC_PROG_OBJC],
6348 [_AM_DEPENDENCIES(OBJC)],
6349 [define([AC_PROG_OBJC],
6350 defn([AC_PROG_OBJC])[_AM_DEPENDENCIES(OBJC)])])dnl
6352 m4trace:configure.ac:20: -2- _AM_MANGLE_OPTION([no-dependencies])
6353 m4trace:configure.ac:20: -1- _AM_IF_OPTION([silent-rules], [AC_REQUIRE([AM_SILENT_RULES])])
6354 m4trace:configure.ac:20: -2- _AM_MANGLE_OPTION([silent-rules])
6355 m4trace:configure.ac:22: -1- GP_CHECK_SHELL_ENVIRONMENT
6356 m4trace:configure.ac:23: -1- GP_CONFIG_MSG([Build])
6357 m4trace:configure.ac:23: -1- GP_CONFIG_INIT
6358 m4trace:configure.ac:24: -1- GP_CONFIG_MSG([Source code location], [${srcdir}])
6359 m4trace:configure.ac:54: -1- m4_pattern_allow([^LIBGPHOTO2_AGE$])
6360 m4trace:configure.ac:55: -1- m4_pattern_allow([^LIBGPHOTO2_REVISION$])
6361 m4trace:configure.ac:56: -1- m4_pattern_allow([^LIBGPHOTO2_CURRENT$])
6362 m4trace:configure.ac:57: -1- m4_pattern_allow([^LIBGPHOTO2_CURRENT_MIN$])
6363 m4trace:configure.ac:59: -1- m4_pattern_allow([^LIBGPHOTO2_VERSION_INFO$])
6364 m4trace:configure.ac:79: -1- m4_pattern_allow([^CC$])
6365 m4trace:configure.ac:79: -1- m4_pattern_allow([^CFLAGS$])
6366 m4trace:configure.ac:79: -1- m4_pattern_allow([^LDFLAGS$])
6367 m4trace:configure.ac:79: -1- m4_pattern_allow([^LIBS$])
6368 m4trace:configure.ac:79: -1- m4_pattern_allow([^CPPFLAGS$])
6369 m4trace:configure.ac:79: -1- m4_pattern_allow([^CC$])
6370 m4trace:configure.ac:79: -1- m4_pattern_allow([^CC$])
6371 m4trace:configure.ac:79: -1- m4_pattern_allow([^CC$])
6372 m4trace:configure.ac:79: -1- m4_pattern_allow([^CC$])
6373 m4trace:configure.ac:79: -1- m4_pattern_allow([^ac_ct_CC$])
6374 m4trace:configure.ac:79: -1- m4_pattern_allow([^EXEEXT$])
6375 m4trace:configure.ac:79: -1- m4_pattern_allow([^OBJEXT$])
6376 m4trace:configure.ac:79: -1- _AM_DEPENDENCIES([CC])
6377 m4trace:configure.ac:79: -1- AM_SET_DEPDIR
6378 m4trace:configure.ac:79: -1- m4_pattern_allow([^DEPDIR$])
6379 m4trace:configure.ac:79: -1- AM_OUTPUT_DEPENDENCY_COMMANDS
6380 m4trace:configure.ac:79: -1- AM_MAKE_INCLUDE
6381 m4trace:configure.ac:79: -1- m4_pattern_allow([^am__include$])
6382 m4trace:configure.ac:79: -1- m4_pattern_allow([^am__quote$])
6383 m4trace:configure.ac:79: -1- AM_DEP_TRACK
6384 m4trace:configure.ac:79: -1- AM_CONDITIONAL([AMDEP], [test "x$enable_dependency_tracking" != xno])
6385 m4trace:configure.ac:79: -1- m4_pattern_allow([^AMDEP_TRUE$])
6386 m4trace:configure.ac:79: -1- m4_pattern_allow([^AMDEP_FALSE$])
6387 m4trace:configure.ac:79: -1- _AM_SUBST_NOTMAKE([AMDEP_TRUE])
6388 m4trace:configure.ac:79: -1- _AM_SUBST_NOTMAKE([AMDEP_FALSE])
6389 m4trace:configure.ac:79: -1- m4_pattern_allow([^AMDEPBACKSLASH$])
6390 m4trace:configure.ac:79: -1- _AM_SUBST_NOTMAKE([AMDEPBACKSLASH])
6391 m4trace:configure.ac:79: -1- m4_pattern_allow([^CCDEPMODE$])
6392 m4trace:configure.ac:79: -1- AM_CONDITIONAL([am__fastdepCC], [
6393 test "x$enable_dependency_tracking" != xno \
6394 && test "$am_cv_CC_dependencies_compiler_type" = gcc3])
6395 m4trace:configure.ac:79: -1- m4_pattern_allow([^am__fastdepCC_TRUE$])
6396 m4trace:configure.ac:79: -1- m4_pattern_allow([^am__fastdepCC_FALSE$])
6397 m4trace:configure.ac:79: -1- _AM_SUBST_NOTMAKE([am__fastdepCC_TRUE])
6398 m4trace:configure.ac:79: -1- _AM_SUBST_NOTMAKE([am__fastdepCC_FALSE])
6399 m4trace:configure.ac:80: -1- m4_pattern_allow([^CPP$])
6400 m4trace:configure.ac:80: -1- m4_pattern_allow([^CPPFLAGS$])
6401 m4trace:configure.ac:80: -1- m4_pattern_allow([^CPP$])
6402 m4trace:configure.ac:81: -1- m4_pattern_allow([^CXX$])
6403 m4trace:configure.ac:81: -1- m4_pattern_allow([^CXXFLAGS$])
6404 m4trace:configure.ac:81: -1- m4_pattern_allow([^LDFLAGS$])
6405 m4trace:configure.ac:81: -1- m4_pattern_allow([^LIBS$])
6406 m4trace:configure.ac:81: -1- m4_pattern_allow([^CPPFLAGS$])
6407 m4trace:configure.ac:81: -1- m4_pattern_allow([^CXX$])
6408 m4trace:configure.ac:81: -1- m4_pattern_allow([^ac_ct_CXX$])
6409 m4trace:configure.ac:81: -1- _AM_DEPENDENCIES([CXX])
6410 m4trace:configure.ac:81: -1- m4_pattern_allow([^CXXDEPMODE$])
6411 m4trace:configure.ac:81: -1- AM_CONDITIONAL([am__fastdepCXX], [
6412 test "x$enable_dependency_tracking" != xno \
6413 && test "$am_cv_CXX_dependencies_compiler_type" = gcc3])
6414 m4trace:configure.ac:81: -1- m4_pattern_allow([^am__fastdepCXX_TRUE$])
6415 m4trace:configure.ac:81: -1- m4_pattern_allow([^am__fastdepCXX_FALSE$])
6416 m4trace:configure.ac:81: -1- _AM_SUBST_NOTMAKE([am__fastdepCXX_TRUE])
6417 m4trace:configure.ac:81: -1- _AM_SUBST_NOTMAKE([am__fastdepCXX_FALSE])
6418 m4trace:configure.ac:83: -1- AM_PROG_CC_C_O
6419 m4trace:configure.ac:83: -1- m4_pattern_allow([^NO_MINUS_C_MINUS_O$])
6420 m4trace:configure.ac:111: -1- m4_pattern_allow([^NO_UNUSED_CFLAGS$])
6421 m4trace:configure.ac:113: -1- AM_CONDITIONAL([HAVE_GCC], [test "x$GCC" = "xyes"])
6422 m4trace:configure.ac:113: -1- m4_pattern_allow([^HAVE_GCC_TRUE$])
6423 m4trace:configure.ac:113: -1- m4_pattern_allow([^HAVE_GCC_FALSE$])
6424 m4trace:configure.ac:113: -1- _AM_SUBST_NOTMAKE([HAVE_GCC_TRUE])
6425 m4trace:configure.ac:113: -1- _AM_SUBST_NOTMAKE([HAVE_GCC_FALSE])
6426 m4trace:configure.ac:122: -1- m4_pattern_allow([^AM_CPPFLAGS$])
6427 m4trace:configure.ac:124: -1- m4_pattern_allow([^AM_CFLAGS$])
6428 m4trace:configure.ac:126: -1- m4_pattern_allow([^AM_CXXFLAGS$])
6429 m4trace:configure.ac:128: -1- m4_pattern_allow([^AM_LDFLAGS$])
6430 m4trace:configure.ac:153: -1- m4_pattern_allow([^FLEX$])
6431 m4trace:configure.ac:154: -1- m4_pattern_allow([^FLEX$])
6432 m4trace:configure.ac:155: -1- m4_pattern_allow([^BISON$])
6433 m4trace:configure.ac:156: -1- m4_pattern_allow([^BISON$])
6434 m4trace:configure.ac:176: -1- AM_CONDITIONAL([ENABLED_GP2DDB], ["$try_gp2ddb" && test -x "$FLEX" && test -x "$BISON"])
6435 m4trace:configure.ac:176: -1- m4_pattern_allow([^ENABLED_GP2DDB_TRUE$])
6436 m4trace:configure.ac:176: -1- m4_pattern_allow([^ENABLED_GP2DDB_FALSE$])
6437 m4trace:configure.ac:176: -1- _AM_SUBST_NOTMAKE([ENABLED_GP2DDB_TRUE])
6438 m4trace:configure.ac:176: -1- _AM_SUBST_NOTMAKE([ENABLED_GP2DDB_FALSE])
6439 m4trace:configure.ac:180: -1- m4_pattern_allow([^ENABLED_GP2DDB$])
6440 m4trace:configure.ac:184: -1- GP_CONFIG_MSG([GP2DDB support], [${gp_msg_gp2ddb} (EXPERIMENTAL)])
6441 m4trace:configure.ac:186: -1- GP_PKG_CONFIG
6442 m4trace:configure.ac:186: -1- m4_pattern_allow([^PKG_CONFIG$])
6443 m4trace:configure.ac:186: -1- m4_pattern_allow([^PKG_CONFIG_PATH$])
6444 m4trace:configure.ac:186: -1- m4_pattern_allow([^PKG_CONFIG$])
6445 m4trace:configure.ac:195: -1- AC_DISABLE_STATIC
6446 m4trace:configure.ac:196: -1- AC_LIBTOOL_WIN32_DLL
6447 m4trace:configure.ac:196: -1- _m4_warn([obsolete], [The macro `AC_LIBTOOL_WIN32_DLL' is obsolete.
6448 You should run autoupdate.], [auto-m4/ltoptions.m4:145: AC_LIBTOOL_WIN32_DLL is expanded from...
6449 configure.ac:196: the top level])
6450 m4trace:configure.ac:196: -1- m4_pattern_allow([^build$])
6451 m4trace:configure.ac:196: -1- m4_pattern_allow([^build_cpu$])
6452 m4trace:configure.ac:196: -1- m4_pattern_allow([^build_vendor$])
6453 m4trace:configure.ac:196: -1- m4_pattern_allow([^build_os$])
6454 m4trace:configure.ac:196: -1- m4_pattern_allow([^host$])
6455 m4trace:configure.ac:196: -1- m4_pattern_allow([^host_cpu$])
6456 m4trace:configure.ac:196: -1- m4_pattern_allow([^host_vendor$])
6457 m4trace:configure.ac:196: -1- m4_pattern_allow([^host_os$])
6458 m4trace:configure.ac:196: -1- m4_pattern_allow([^AS$])
6459 m4trace:configure.ac:196: -1- m4_pattern_allow([^DLLTOOL$])
6460 m4trace:configure.ac:196: -1- m4_pattern_allow([^OBJDUMP$])
6461 m4trace:configure.ac:196: -1- _m4_warn([obsolete], [AC_LIBTOOL_WIN32_DLL: Remove this warning and the call to _LT_SET_OPTION when you
6462 put the `win32-dll' option into LT_INIT's first parameter.], [auto-m4/ltoptions.m4:145: AC_LIBTOOL_WIN32_DLL is expanded from...
6463 configure.ac:196: the top level])
6464 m4trace:configure.ac:197: -1- AC_LIBTOOL_DLOPEN
6465 m4trace:configure.ac:197: -1- _m4_warn([obsolete], [The macro `AC_LIBTOOL_DLOPEN' is obsolete.
6466 You should run autoupdate.], [auto-m4/ltoptions.m4:110: AC_LIBTOOL_DLOPEN is expanded from...
6467 configure.ac:197: the top level])
6468 m4trace:configure.ac:197: -1- _m4_warn([obsolete], [AC_LIBTOOL_DLOPEN: Remove this warning and the call to _LT_SET_OPTION when you
6469 put the `dlopen' option into LT_INIT's first parameter.], [auto-m4/ltoptions.m4:110: AC_LIBTOOL_DLOPEN is expanded from...
6470 configure.ac:197: the top level])
6471 m4trace:configure.ac:198: -1- AC_PROG_LIBTOOL
6472 m4trace:configure.ac:198: -1- _m4_warn([obsolete], [The macro `AC_PROG_LIBTOOL' is obsolete.
6473 You should run autoupdate.], [auto-m4/libtool.m4:102: AC_PROG_LIBTOOL is expanded from...
6474 configure.ac:198: the top level])
6475 m4trace:configure.ac:198: -1- LT_INIT
6476 m4trace:configure.ac:198: -1- m4_pattern_forbid([^_?LT_[A-Z_]+$])
6477 m4trace:configure.ac:198: -1- m4_pattern_allow([^(_LT_EOF|LT_DLGLOBAL|LT_DLLAZY_OR_NOW|LT_MULTI_MODULE)$])
6478 m4trace:configure.ac:198: -1- LTOPTIONS_VERSION
6479 m4trace:configure.ac:198: -1- LTSUGAR_VERSION
6480 m4trace:configure.ac:198: -1- LTVERSION_VERSION
6481 m4trace:configure.ac:198: -1- LTOBSOLETE_VERSION
6482 m4trace:configure.ac:198: -1- _LT_PROG_LTMAIN
6483 m4trace:configure.ac:198: -1- m4_pattern_allow([^LIBTOOL$])
6484 m4trace:configure.ac:198: -1- LT_PATH_LD
6485 m4trace:configure.ac:198: -1- m4_pattern_allow([^SED$])
6486 m4trace:configure.ac:198: -1- AC_PROG_EGREP
6487 m4trace:configure.ac:198: -1- m4_pattern_allow([^GREP$])
6488 m4trace:configure.ac:198: -1- m4_pattern_allow([^EGREP$])
6489 m4trace:configure.ac:198: -1- m4_pattern_allow([^FGREP$])
6490 m4trace:configure.ac:198: -1- m4_pattern_allow([^GREP$])
6491 m4trace:configure.ac:198: -1- m4_pattern_allow([^LD$])
6492 m4trace:configure.ac:198: -1- LT_PATH_NM
6493 m4trace:configure.ac:198: -1- m4_pattern_allow([^DUMPBIN$])
6494 m4trace:configure.ac:198: -1- m4_pattern_allow([^ac_ct_DUMPBIN$])
6495 m4trace:configure.ac:198: -1- m4_pattern_allow([^DUMPBIN$])
6496 m4trace:configure.ac:198: -1- m4_pattern_allow([^NM$])
6497 m4trace:configure.ac:198: -1- m4_pattern_allow([^LN_S$])
6498 m4trace:configure.ac:198: -1- LT_CMD_MAX_LEN
6499 m4trace:configure.ac:198: -1- m4_pattern_allow([^OBJDUMP$])
6500 m4trace:configure.ac:198: -1- m4_pattern_allow([^OBJDUMP$])
6501 m4trace:configure.ac:198: -1- m4_pattern_allow([^AR$])
6502 m4trace:configure.ac:198: -1- m4_pattern_allow([^STRIP$])
6503 m4trace:configure.ac:198: -1- m4_pattern_allow([^RANLIB$])
6504 m4trace:configure.ac:198: -1- m4_pattern_allow([LT_OBJDIR])
6505 m4trace:configure.ac:198: -1- m4_pattern_allow([^LT_OBJDIR$])
6506 m4trace:configure.ac:198: -1- m4_pattern_allow([^lt_ECHO$])
6507 m4trace:configure.ac:198: -1- _LT_CC_BASENAME([$compiler])
6508 m4trace:configure.ac:198: -1- _LT_PATH_TOOL_PREFIX([${ac_tool_prefix}file], [/usr/bin$PATH_SEPARATOR$PATH])
6509 m4trace:configure.ac:198: -1- _LT_PATH_TOOL_PREFIX([file], [/usr/bin$PATH_SEPARATOR$PATH])
6510 m4trace:configure.ac:198: -1- LT_SUPPORTED_TAG([CC])
6511 m4trace:configure.ac:198: -1- _LT_COMPILER_BOILERPLATE
6512 m4trace:configure.ac:198: -1- _LT_LINKER_BOILERPLATE
6513 m4trace:configure.ac:198: -1- _LT_COMPILER_OPTION([if $compiler supports -fno-rtti -fno-exceptions], [lt_cv_prog_compiler_rtti_exceptions], [-fno-rtti -fno-exceptions], [], [_LT_TAGVAR(lt_prog_compiler_no_builtin_flag, )="$_LT_TAGVAR(lt_prog_compiler_no_builtin_flag, ) -fno-rtti -fno-exceptions"])
6514 m4trace:configure.ac:198: -1- _LT_COMPILER_OPTION([if $compiler PIC flag $_LT_TAGVAR(lt_prog_compiler_pic, ) works], [_LT_TAGVAR(lt_cv_prog_compiler_pic_works, )], [$_LT_TAGVAR(lt_prog_compiler_pic, )@&t@m4_if([],[],[ -DPIC],[m4_if([],[CXX],[ -DPIC],[])])], [], [case $_LT_TAGVAR(lt_prog_compiler_pic, ) in
6516 *) _LT_TAGVAR(lt_prog_compiler_pic, )=" $_LT_TAGVAR(lt_prog_compiler_pic, )" ;;
6517 esac], [_LT_TAGVAR(lt_prog_compiler_pic, )=
6518 _LT_TAGVAR(lt_prog_compiler_can_build_shared, )=no])
6519 m4trace:configure.ac:198: -1- _LT_LINKER_OPTION([if $compiler static flag $lt_tmp_static_flag works], [lt_cv_prog_compiler_static_works], [$lt_tmp_static_flag], [], [_LT_TAGVAR(lt_prog_compiler_static, )=])
6520 m4trace:configure.ac:198: -1- _m4_warn([syntax], [AC_LANG_CONFTEST: no AC_LANG_SOURCE call detected in body], [../../lib/autoconf/lang.m4:194: AC_LANG_CONFTEST is expanded from...
6521 ../../lib/autoconf/general.m4:2662: _AC_LINK_IFELSE is expanded from...
6522 ../../lib/autoconf/general.m4:2679: AC_LINK_IFELSE is expanded from...
6523 auto-m4/libtool.m4:1022: _LT_SYS_MODULE_PATH_AIX is expanded from...
6524 auto-m4/libtool.m4:4170: _LT_LINKER_SHLIBS is expanded from...
6525 auto-m4/libtool.m4:5253: _LT_LANG_C_CONFIG is expanded from...
6526 auto-m4/libtool.m4:138: _LT_SETUP is expanded from...
6527 auto-m4/libtool.m4:67: LT_INIT is expanded from...
6528 auto-m4/libtool.m4:102: AC_PROG_LIBTOOL is expanded from...
6529 configure.ac:198: the top level])
6530 m4trace:configure.ac:198: -1- _m4_warn([syntax], [AC_LANG_CONFTEST: no AC_LANG_SOURCE call detected in body], [../../lib/autoconf/lang.m4:194: AC_LANG_CONFTEST is expanded from...
6531 ../../lib/autoconf/general.m4:2662: _AC_LINK_IFELSE is expanded from...
6532 ../../lib/autoconf/general.m4:2679: AC_LINK_IFELSE is expanded from...
6533 auto-m4/libtool.m4:1022: _LT_SYS_MODULE_PATH_AIX is expanded from...
6534 auto-m4/libtool.m4:4170: _LT_LINKER_SHLIBS is expanded from...
6535 auto-m4/libtool.m4:5253: _LT_LANG_C_CONFIG is expanded from...
6536 auto-m4/libtool.m4:138: _LT_SETUP is expanded from...
6537 auto-m4/libtool.m4:67: LT_INIT is expanded from...
6538 auto-m4/libtool.m4:102: AC_PROG_LIBTOOL is expanded from...
6539 configure.ac:198: the top level])
6540 m4trace:configure.ac:198: -1- m4_pattern_allow([^DSYMUTIL$])
6541 m4trace:configure.ac:198: -1- m4_pattern_allow([^NMEDIT$])
6542 m4trace:configure.ac:198: -1- m4_pattern_allow([^LIPO$])
6543 m4trace:configure.ac:198: -1- m4_pattern_allow([^OTOOL$])
6544 m4trace:configure.ac:198: -1- m4_pattern_allow([^OTOOL64$])
6545 m4trace:configure.ac:198: -1- _m4_warn([syntax], [AC_LANG_CONFTEST: no AC_LANG_SOURCE call detected in body], [../../lib/autoconf/lang.m4:194: AC_LANG_CONFTEST is expanded from...
6546 ../../lib/autoconf/general.m4:2662: _AC_LINK_IFELSE is expanded from...
6547 ../../lib/autoconf/general.m4:2679: AC_LINK_IFELSE is expanded from...
6548 auto-m4/libtool.m4:4170: _LT_LINKER_SHLIBS is expanded from...
6549 auto-m4/libtool.m4:5253: _LT_LANG_C_CONFIG is expanded from...
6550 auto-m4/libtool.m4:138: _LT_SETUP is expanded from...
6551 auto-m4/libtool.m4:67: LT_INIT is expanded from...
6552 auto-m4/libtool.m4:102: AC_PROG_LIBTOOL is expanded from...
6553 configure.ac:198: the top level])
6554 m4trace:configure.ac:198: -1- LT_SYS_DLOPEN_SELF
6555 m4trace:configure.ac:198: -1- m4_pattern_allow([^STDC_HEADERS$])
6556 m4trace:configure.ac:198: -1- m4_pattern_allow([^HAVE_DLFCN_H$])
6557 m4trace:configure.ac:198: -1- LT_LANG([CXX])
6558 m4trace:configure.ac:198: -1- LT_SUPPORTED_TAG([CXX])
6559 m4trace:configure.ac:198: -1- m4_pattern_allow([^CXX$])
6560 m4trace:configure.ac:198: -1- m4_pattern_allow([^CXXFLAGS$])
6561 m4trace:configure.ac:198: -1- m4_pattern_allow([^LDFLAGS$])
6562 m4trace:configure.ac:198: -1- m4_pattern_allow([^LIBS$])
6563 m4trace:configure.ac:198: -1- m4_pattern_allow([^CPPFLAGS$])
6564 m4trace:configure.ac:198: -1- m4_pattern_allow([^CXX$])
6565 m4trace:configure.ac:198: -1- m4_pattern_allow([^ac_ct_CXX$])
6566 m4trace:configure.ac:198: -1- _AM_DEPENDENCIES([CXX])
6567 m4trace:configure.ac:198: -1- m4_pattern_allow([^CXXDEPMODE$])
6568 m4trace:configure.ac:198: -1- AM_CONDITIONAL([am__fastdepCXX], [
6569 test "x$enable_dependency_tracking" != xno \
6570 && test "$am_cv_CXX_dependencies_compiler_type" = gcc3])
6571 m4trace:configure.ac:198: -1- m4_pattern_allow([^am__fastdepCXX_TRUE$])
6572 m4trace:configure.ac:198: -1- m4_pattern_allow([^am__fastdepCXX_FALSE$])
6573 m4trace:configure.ac:198: -1- _AM_SUBST_NOTMAKE([am__fastdepCXX_TRUE])
6574 m4trace:configure.ac:198: -1- _AM_SUBST_NOTMAKE([am__fastdepCXX_FALSE])
6575 m4trace:configure.ac:198: -1- m4_pattern_allow([^CXXCPP$])
6576 m4trace:configure.ac:198: -1- m4_pattern_allow([^CPPFLAGS$])
6577 m4trace:configure.ac:198: -1- m4_pattern_allow([^CXXCPP$])
6578 m4trace:configure.ac:198: -1- _LT_COMPILER_BOILERPLATE
6579 m4trace:configure.ac:198: -1- _LT_LINKER_BOILERPLATE
6580 m4trace:configure.ac:198: -1- _LT_CC_BASENAME([$compiler])
6581 m4trace:configure.ac:198: -1- LT_PATH_LD
6582 m4trace:configure.ac:198: -1- m4_pattern_allow([^LD$])
6583 m4trace:configure.ac:198: -1- _m4_warn([syntax], [AC_LANG_CONFTEST: no AC_LANG_SOURCE call detected in body], [../../lib/autoconf/lang.m4:194: AC_LANG_CONFTEST is expanded from...
6584 ../../lib/autoconf/general.m4:2662: _AC_LINK_IFELSE is expanded from...
6585 ../../lib/autoconf/general.m4:2679: AC_LINK_IFELSE is expanded from...
6586 auto-m4/libtool.m4:1022: _LT_SYS_MODULE_PATH_AIX is expanded from...
6587 auto-m4/libtool.m4:5360: _LT_LANG_CXX_CONFIG is expanded from...
6588 auto-m4/libtool.m4:785: _LT_LANG is expanded from...
6589 auto-m4/libtool.m4:768: LT_LANG is expanded from...
6590 auto-m4/libtool.m4:796: _LT_LANG_DEFAULT_CONFIG is expanded from...
6591 auto-m4/libtool.m4:138: _LT_SETUP is expanded from...
6592 auto-m4/libtool.m4:67: LT_INIT is expanded from...
6593 auto-m4/libtool.m4:102: AC_PROG_LIBTOOL is expanded from...
6594 configure.ac:198: the top level])
6595 m4trace:configure.ac:198: -1- _m4_warn([syntax], [AC_LANG_CONFTEST: no AC_LANG_SOURCE call detected in body], [../../lib/autoconf/lang.m4:194: AC_LANG_CONFTEST is expanded from...
6596 ../../lib/autoconf/general.m4:2662: _AC_LINK_IFELSE is expanded from...
6597 ../../lib/autoconf/general.m4:2679: AC_LINK_IFELSE is expanded from...
6598 auto-m4/libtool.m4:1022: _LT_SYS_MODULE_PATH_AIX is expanded from...
6599 auto-m4/libtool.m4:5360: _LT_LANG_CXX_CONFIG is expanded from...
6600 auto-m4/libtool.m4:785: _LT_LANG is expanded from...
6601 auto-m4/libtool.m4:768: LT_LANG is expanded from...
6602 auto-m4/libtool.m4:796: _LT_LANG_DEFAULT_CONFIG is expanded from...
6603 auto-m4/libtool.m4:138: _LT_SETUP is expanded from...
6604 auto-m4/libtool.m4:67: LT_INIT is expanded from...
6605 auto-m4/libtool.m4:102: AC_PROG_LIBTOOL is expanded from...
6606 configure.ac:198: the top level])
6607 m4trace:configure.ac:198: -1- _LT_COMPILER_OPTION([if $compiler PIC flag $_LT_TAGVAR(lt_prog_compiler_pic, CXX) works], [_LT_TAGVAR(lt_cv_prog_compiler_pic_works, CXX)], [$_LT_TAGVAR(lt_prog_compiler_pic, CXX)@&t@m4_if([CXX],[],[ -DPIC],[m4_if([CXX],[CXX],[ -DPIC],[])])], [], [case $_LT_TAGVAR(lt_prog_compiler_pic, CXX) in
6609 *) _LT_TAGVAR(lt_prog_compiler_pic, CXX)=" $_LT_TAGVAR(lt_prog_compiler_pic, CXX)" ;;
6610 esac], [_LT_TAGVAR(lt_prog_compiler_pic, CXX)=
6611 _LT_TAGVAR(lt_prog_compiler_can_build_shared, CXX)=no])
6612 m4trace:configure.ac:198: -1- _LT_LINKER_OPTION([if $compiler static flag $lt_tmp_static_flag works], [lt_cv_prog_compiler_static_works_CXX], [$lt_tmp_static_flag], [], [_LT_TAGVAR(lt_prog_compiler_static, CXX)=])
6613 m4trace:configure.ac:208: -1- GP_CONFIG_MSG([Compiler], [${CC}])
6614 m4trace:configure.ac:212: -1- m4_pattern_allow([^HAVE_CC$])
6615 m4trace:configure.ac:220: -1- GP_REFERENCES([])
6616 m4trace:configure.ac:220: -1- GP_REF([URL_GPHOTO_HOME], [http://www.gphoto.org/], [gphoto project home page])
6617 m4trace:configure.ac:220: -1- m4_pattern_allow([^URL_GPHOTO_HOME$])
6618 m4trace:configure.ac:220: -1- m4_pattern_allow([^URL_GPHOTO_HOME$])
6619 m4trace:configure.ac:220: -1- GP_REF([URL_GPHOTO_PROJECT], [http://sourceforge.net/projects/gphoto], [gphoto sourceforge project page])
6620 m4trace:configure.ac:220: -1- m4_pattern_allow([^URL_GPHOTO_PROJECT$])
6621 m4trace:configure.ac:220: -1- m4_pattern_allow([^URL_GPHOTO_PROJECT$])
6622 m4trace:configure.ac:220: -1- GP_REF([URL_DIGICAM_LIST], [http://www.teaser.fr/~hfiguiere/linux/digicam.html], [camera list with support status])
6623 m4trace:configure.ac:220: -1- m4_pattern_allow([^URL_DIGICAM_LIST$])
6624 m4trace:configure.ac:220: -1- m4_pattern_allow([^URL_DIGICAM_LIST$])
6625 m4trace:configure.ac:220: -1- GP_REF([URL_JPHOTO_HOME], [http://jphoto.sourceforge.net/], [jphoto home page])
6626 m4trace:configure.ac:220: -1- m4_pattern_allow([^URL_JPHOTO_HOME$])
6627 m4trace:configure.ac:220: -1- m4_pattern_allow([^URL_JPHOTO_HOME$])
6628 m4trace:configure.ac:220: -1- GP_REF([URL_USB_MASSSTORAGE], [http://www.linux-usb.org/USB-guide/x498.html], [information about using USB mass storage])
6629 m4trace:configure.ac:220: -1- m4_pattern_allow([^URL_USB_MASSSTORAGE$])
6630 m4trace:configure.ac:220: -1- m4_pattern_allow([^URL_USB_MASSSTORAGE$])
6631 m4trace:configure.ac:220: -1- GP_REF([MAIL_GPHOTO_DEVEL], [<gphoto-devel@lists.sourceforge.net>], [gphoto development mailing list])
6632 m4trace:configure.ac:220: -1- m4_pattern_allow([^MAIL_GPHOTO_DEVEL$])
6633 m4trace:configure.ac:220: -1- m4_pattern_allow([^MAIL_GPHOTO_DEVEL$])
6634 m4trace:configure.ac:220: -1- GP_REF([MAIL_GPHOTO_USER], [<gphoto-user@lists.sourceforge.net>], [gphoto user mailing list])
6635 m4trace:configure.ac:220: -1- m4_pattern_allow([^MAIL_GPHOTO_USER$])
6636 m4trace:configure.ac:220: -1- m4_pattern_allow([^MAIL_GPHOTO_USER$])
6637 m4trace:configure.ac:220: -1- GP_REF([MAIL_GPHOTO_TRANSLATION], [<gphoto-translation@lists.sourceforge.net>], [gphoto translation mailing list])
6638 m4trace:configure.ac:220: -1- m4_pattern_allow([^MAIL_GPHOTO_TRANSLATION$])
6639 m4trace:configure.ac:220: -1- m4_pattern_allow([^MAIL_GPHOTO_TRANSLATION$])
6640 m4trace:configure.ac:223: -1- GP_CONFIG_MSG([Features])
6641 m4trace:configure.ac:230: -1- GP_GETTEXT_HACK([${PACKAGE}-${LIBGPHOTO2_CURRENT_MIN}], [The gPhoto Team], [${MAIL_GPHOTO_TRANSLATION}])
6642 m4trace:configure.ac:230: -1- m4_pattern_allow([^GETTEXT_PACKAGE$])
6643 m4trace:configure.ac:230: -1- m4_pattern_allow([^GETTEXT_PACKAGE$])
6644 m4trace:configure.ac:231: -1- AM_GNU_GETTEXT_VERSION([0.14.1])
6645 m4trace:configure.ac:232: -1- AM_GNU_GETTEXT([external])
6646 m4trace:configure.ac:232: -1- AM_PO_SUBDIRS
6647 m4trace:configure.ac:232: -1- AM_MKINSTALLDIRS
6648 m4trace:configure.ac:232: -1- m4_pattern_allow([^MKINSTALLDIRS$])
6649 m4trace:configure.ac:232: -1- AM_NLS
6650 m4trace:configure.ac:232: -1- m4_pattern_allow([^USE_NLS$])
6651 m4trace:configure.ac:232: -1- AM_PATH_PROG_WITH_TEST([MSGFMT], [msgfmt], [$ac_dir/$ac_word --statistics /dev/null >/dev/null 2>&1 &&
6652 (if $ac_dir/$ac_word --statistics /dev/null 2>&1 >/dev/null | grep usage >/dev/null; then exit 1; else exit 0; fi)], [:])
6653 m4trace:configure.ac:232: -1- m4_pattern_allow([^MSGFMT$])
6654 m4trace:configure.ac:232: -1- m4_pattern_allow([^GMSGFMT$])
6655 m4trace:configure.ac:232: -1- AM_PATH_PROG_WITH_TEST([XGETTEXT], [xgettext], [$ac_dir/$ac_word --omit-header --copyright-holder= --msgid-bugs-address= /dev/null >/dev/null 2>&1 &&
6656 (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)], [:])
6657 m4trace:configure.ac:232: -1- m4_pattern_allow([^XGETTEXT$])
6658 m4trace:configure.ac:232: -1- AM_PATH_PROG_WITH_TEST([MSGMERGE], [msgmerge], [$ac_dir/$ac_word --update -q /dev/null /dev/null >/dev/null 2>&1], [:])
6659 m4trace:configure.ac:232: -1- m4_pattern_allow([^MSGMERGE$])
6660 m4trace:configure.ac:232: -1- _m4_warn([obsolete], [The macro `AC_OUTPUT_COMMANDS' is obsolete.
6661 You should run autoupdate.], [../../lib/autoconf/status.m4:1028: AC_OUTPUT_COMMANDS is expanded from...
6662 auto-m4/po.m4:23: AM_PO_SUBDIRS is expanded from...
6663 auto-m4/gettext.m4:59: AM_GNU_GETTEXT is expanded from...
6664 configure.ac:232: the top level])
6665 m4trace:configure.ac:232: -1- AC_LIB_PREPARE_PREFIX
6666 m4trace:configure.ac:232: -1- AC_LIB_RPATH
6667 m4trace:configure.ac:232: -1- AC_LIB_PROG_LD
6668 m4trace:configure.ac:232: -1- AC_LIB_PROG_LD_GNU
6669 m4trace:configure.ac:232: -1- AM_ICONV_LINKFLAGS_BODY
6670 m4trace:configure.ac:232: -1- AC_LIB_LINKFLAGS_BODY([iconv])
6671 m4trace:configure.ac:232: -1- AC_LIB_WITH_FINAL_PREFIX([
6672 eval additional_includedir=\"$includedir\"
6673 eval additional_libdir=\"$libdir\"
6675 m4trace:configure.ac:232: -1- AC_LIB_ARG_WITH([libiconv-prefix], [ --with-libiconv-prefix[=DIR] search for libiconv in DIR/include and DIR/lib
6676 --without-libiconv-prefix don't search for libiconv in includedir and libdir], [
6677 if test "X$withval" = "Xno"; then
6680 if test "X$withval" = "X"; then
6681 AC_LIB_WITH_FINAL_PREFIX([
6682 eval additional_includedir=\"$includedir\"
6683 eval additional_libdir=\"$libdir\"
6686 additional_includedir="$withval/include"
6687 additional_libdir="$withval/lib"
6691 m4trace:configure.ac:232: -1- AC_LIB_WITH_FINAL_PREFIX([
6692 eval additional_includedir=\"$includedir\"
6693 eval additional_libdir=\"$libdir\"
6695 m4trace:configure.ac:232: -1- AC_LIB_WITH_FINAL_PREFIX([eval x=\"$x\"])
6696 m4trace:configure.ac:232: -1- AC_LIB_WITH_FINAL_PREFIX([eval x=\"$x\"])
6697 m4trace:configure.ac:232: -1- AC_LIB_WITH_FINAL_PREFIX([eval x=\"$x\"])
6698 m4trace:configure.ac:232: -1- AC_LIB_WITH_FINAL_PREFIX([eval x=\"$x\"])
6699 m4trace:configure.ac:232: -1- AC_LIB_WITH_FINAL_PREFIX([eval x=\"$x\"])
6700 m4trace:configure.ac:232: -1- AM_NLS
6701 m4trace:configure.ac:232: -1- m4_pattern_allow([^USE_NLS$])
6702 m4trace:configure.ac:232: -1- _m4_warn([obsolete], [The macro `AC_TRY_LINK' is obsolete.
6703 You should run autoupdate.], [../../lib/autoconf/general.m4:2688: AC_TRY_LINK is expanded from...
6704 ../../lib/m4sugar/m4sh.m4:606: AS_IF is expanded from...
6705 ../../lib/autoconf/general.m4:2032: AC_CACHE_VAL is expanded from...
6706 ../../lib/autoconf/general.m4:2053: AC_CACHE_CHECK is expanded from...
6707 auto-m4/gettext.m4:59: AM_GNU_GETTEXT is expanded from...
6708 configure.ac:232: the top level])
6709 m4trace:configure.ac:232: -1- AM_ICONV_LINK
6710 m4trace:configure.ac:232: -1- AC_LIB_APPENDTOVAR([CPPFLAGS], [$INCICONV])
6711 m4trace:configure.ac:232: -1- AC_LIB_WITH_FINAL_PREFIX([eval x=\"$x\"])
6712 m4trace:configure.ac:232: -1- _m4_warn([obsolete], [The macro `AC_TRY_LINK' is obsolete.
6713 You should run autoupdate.], [../../lib/autoconf/general.m4:2688: AC_TRY_LINK is expanded from...
6714 ../../lib/m4sugar/m4sh.m4:606: AS_IF is expanded from...
6715 ../../lib/autoconf/general.m4:2032: AC_CACHE_VAL is expanded from...
6716 ../../lib/autoconf/general.m4:2053: AC_CACHE_CHECK is expanded from...
6717 auto-m4/iconv.m4:22: AM_ICONV_LINK is expanded from...
6718 auto-m4/gettext.m4:59: AM_GNU_GETTEXT is expanded from...
6719 configure.ac:232: the top level])
6720 m4trace:configure.ac:232: -1- _m4_warn([obsolete], [The macro `AC_TRY_LINK' is obsolete.
6721 You should run autoupdate.], [../../lib/autoconf/general.m4:2688: AC_TRY_LINK is expanded from...
6722 ../../lib/m4sugar/m4sh.m4:606: AS_IF is expanded from...
6723 ../../lib/autoconf/general.m4:2032: AC_CACHE_VAL is expanded from...
6724 ../../lib/autoconf/general.m4:2053: AC_CACHE_CHECK is expanded from...
6725 auto-m4/iconv.m4:22: AM_ICONV_LINK is expanded from...
6726 auto-m4/gettext.m4:59: AM_GNU_GETTEXT is expanded from...
6727 configure.ac:232: the top level])
6728 m4trace:configure.ac:232: -1- m4_pattern_allow([^HAVE_ICONV$])
6729 m4trace:configure.ac:232: -1- m4_pattern_allow([^LIBICONV$])
6730 m4trace:configure.ac:232: -1- m4_pattern_allow([^LTLIBICONV$])
6731 m4trace:configure.ac:232: -1- AC_LIB_LINKFLAGS_BODY([intl])
6732 m4trace:configure.ac:232: -1- AC_LIB_WITH_FINAL_PREFIX([
6733 eval additional_includedir=\"$includedir\"
6734 eval additional_libdir=\"$libdir\"
6736 m4trace:configure.ac:232: -1- AC_LIB_ARG_WITH([libintl-prefix], [ --with-libintl-prefix[=DIR] search for libintl in DIR/include and DIR/lib
6737 --without-libintl-prefix don't search for libintl in includedir and libdir], [
6738 if test "X$withval" = "Xno"; then
6741 if test "X$withval" = "X"; then
6742 AC_LIB_WITH_FINAL_PREFIX([
6743 eval additional_includedir=\"$includedir\"
6744 eval additional_libdir=\"$libdir\"
6747 additional_includedir="$withval/include"
6748 additional_libdir="$withval/lib"
6752 m4trace:configure.ac:232: -1- AC_LIB_WITH_FINAL_PREFIX([
6753 eval additional_includedir=\"$includedir\"
6754 eval additional_libdir=\"$libdir\"
6756 m4trace:configure.ac:232: -1- AC_LIB_WITH_FINAL_PREFIX([eval x=\"$x\"])
6757 m4trace:configure.ac:232: -1- AC_LIB_WITH_FINAL_PREFIX([eval x=\"$x\"])
6758 m4trace:configure.ac:232: -1- AC_LIB_WITH_FINAL_PREFIX([eval x=\"$x\"])
6759 m4trace:configure.ac:232: -1- AC_LIB_WITH_FINAL_PREFIX([eval x=\"$x\"])
6760 m4trace:configure.ac:232: -1- AC_LIB_WITH_FINAL_PREFIX([eval x=\"$x\"])
6761 m4trace:configure.ac:232: -1- _m4_warn([obsolete], [The macro `AC_TRY_LINK' is obsolete.
6762 You should run autoupdate.], [../../lib/autoconf/general.m4:2688: AC_TRY_LINK is expanded from...
6763 ../../lib/m4sugar/m4sh.m4:606: AS_IF is expanded from...
6764 ../../lib/autoconf/general.m4:2032: AC_CACHE_VAL is expanded from...
6765 ../../lib/autoconf/general.m4:2053: AC_CACHE_CHECK is expanded from...
6766 auto-m4/gettext.m4:59: AM_GNU_GETTEXT is expanded from...
6767 configure.ac:232: the top level])
6768 m4trace:configure.ac:232: -1- _m4_warn([obsolete], [The macro `AC_TRY_LINK' is obsolete.
6769 You should run autoupdate.], [../../lib/autoconf/general.m4:2688: AC_TRY_LINK is expanded from...
6770 ../../lib/m4sugar/m4sh.m4:606: AS_IF is expanded from...
6771 ../../lib/autoconf/general.m4:2032: AC_CACHE_VAL is expanded from...
6772 ../../lib/autoconf/general.m4:2053: AC_CACHE_CHECK is expanded from...
6773 auto-m4/gettext.m4:59: AM_GNU_GETTEXT is expanded from...
6774 configure.ac:232: the top level])
6775 m4trace:configure.ac:232: -1- m4_pattern_allow([^ENABLE_NLS$])
6776 m4trace:configure.ac:232: -1- AC_LIB_APPENDTOVAR([CPPFLAGS], [$INCINTL])
6777 m4trace:configure.ac:232: -1- AC_LIB_WITH_FINAL_PREFIX([eval x=\"$x\"])
6778 m4trace:configure.ac:232: -1- m4_pattern_allow([^HAVE_GETTEXT$])
6779 m4trace:configure.ac:232: -1- m4_pattern_allow([^HAVE_DCGETTEXT$])
6780 m4trace:configure.ac:232: -1- m4_pattern_allow([^INTLLIBS$])
6781 m4trace:configure.ac:232: -1- m4_pattern_allow([^LIBINTL$])
6782 m4trace:configure.ac:232: -1- m4_pattern_allow([^LTLIBINTL$])
6783 m4trace:configure.ac:232: -1- m4_pattern_allow([^POSUB$])
6784 m4trace:configure.ac:233: -1- AM_PO_SUBDIRS([])
6785 m4trace:configure.ac:233: -1- AM_PATH_PROG_WITH_TEST([MSGFMT], [msgfmt], [$ac_dir/$ac_word --statistics /dev/null >/dev/null 2>&1 &&
6786 (if $ac_dir/$ac_word --statistics /dev/null 2>&1 >/dev/null | grep usage >/dev/null; then exit 1; else exit 0; fi)], [:])
6787 m4trace:configure.ac:233: -1- m4_pattern_allow([^MSGFMT$])
6788 m4trace:configure.ac:233: -1- m4_pattern_allow([^GMSGFMT$])
6789 m4trace:configure.ac:233: -1- AM_PATH_PROG_WITH_TEST([XGETTEXT], [xgettext], [$ac_dir/$ac_word --omit-header --copyright-holder= --msgid-bugs-address= /dev/null >/dev/null 2>&1 &&
6790 (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)], [:])
6791 m4trace:configure.ac:233: -1- m4_pattern_allow([^XGETTEXT$])
6792 m4trace:configure.ac:233: -1- AM_PATH_PROG_WITH_TEST([MSGMERGE], [msgmerge], [$ac_dir/$ac_word --update -q /dev/null /dev/null >/dev/null 2>&1], [:])
6793 m4trace:configure.ac:233: -1- m4_pattern_allow([^MSGMERGE$])
6794 m4trace:configure.ac:233: -1- _m4_warn([obsolete], [The macro `AC_OUTPUT_COMMANDS' is obsolete.
6795 You should run autoupdate.], [../../lib/autoconf/status.m4:1028: AC_OUTPUT_COMMANDS is expanded from...
6796 auto-m4/po.m4:23: AM_PO_SUBDIRS is expanded from...
6797 configure.ac:233: the top level])
6798 m4trace:configure.ac:234: -1- AM_ICONV([])
6799 m4trace:configure.ac:234: -1- AM_ICONV_LINK
6800 m4trace:configure.ac:234: -1- AC_LIB_APPENDTOVAR([CPPFLAGS], [$INCICONV])
6801 m4trace:configure.ac:234: -1- AC_LIB_WITH_FINAL_PREFIX([eval x=\"$x\"])
6802 m4trace:configure.ac:234: -1- _m4_warn([obsolete], [The macro `AC_TRY_LINK' is obsolete.
6803 You should run autoupdate.], [../../lib/autoconf/general.m4:2688: AC_TRY_LINK is expanded from...
6804 ../../lib/m4sugar/m4sh.m4:606: AS_IF is expanded from...
6805 ../../lib/autoconf/general.m4:2032: AC_CACHE_VAL is expanded from...
6806 ../../lib/autoconf/general.m4:2053: AC_CACHE_CHECK is expanded from...
6807 auto-m4/iconv.m4:22: AM_ICONV_LINK is expanded from...
6808 auto-m4/iconv.m4:77: AM_ICONV is expanded from...
6809 configure.ac:234: the top level])
6810 m4trace:configure.ac:234: -1- _m4_warn([obsolete], [The macro `AC_TRY_LINK' is obsolete.
6811 You should run autoupdate.], [../../lib/autoconf/general.m4:2688: AC_TRY_LINK is expanded from...
6812 ../../lib/m4sugar/m4sh.m4:606: AS_IF is expanded from...
6813 ../../lib/autoconf/general.m4:2032: AC_CACHE_VAL is expanded from...
6814 ../../lib/autoconf/general.m4:2053: AC_CACHE_CHECK is expanded from...
6815 auto-m4/iconv.m4:22: AM_ICONV_LINK is expanded from...
6816 auto-m4/iconv.m4:77: AM_ICONV is expanded from...
6817 configure.ac:234: the top level])
6818 m4trace:configure.ac:234: -1- m4_pattern_allow([^HAVE_ICONV$])
6819 m4trace:configure.ac:234: -1- m4_pattern_allow([^LIBICONV$])
6820 m4trace:configure.ac:234: -1- m4_pattern_allow([^LTLIBICONV$])
6821 m4trace:configure.ac:234: -1- _m4_warn([obsolete], [The macro `AC_TRY_COMPILE' is obsolete.
6822 You should run autoupdate.], [../../lib/autoconf/general.m4:2615: AC_TRY_COMPILE is expanded from...
6823 ../../lib/m4sugar/m4sh.m4:606: AS_IF is expanded from...
6824 ../../lib/autoconf/general.m4:2032: AC_CACHE_VAL is expanded from...
6825 auto-m4/iconv.m4:77: AM_ICONV is expanded from...
6826 configure.ac:234: the top level])
6827 m4trace:configure.ac:234: -1- m4_pattern_allow([^ICONV_CONST$])
6828 m4trace:configure.ac:235: -1- GP_GETTEXT_FLAGS([])
6829 m4trace:configure.ac:235: -1- GP_CONFIG_MSG([Use translations], [${USE_NLS}])
6830 m4trace:configure.ac:235: -1- GP_CONFIG_MSG([Use included libintl], [${BUILD_INCLUDED_LIBINTL}])
6831 m4trace:configure.ac:247: -1- m4_pattern_allow([^localedir$])
6832 m4trace:configure.ac:250: -1- m4_pattern_allow([^_FILE_OFFSET_BITS$])
6833 m4trace:configure.ac:250: -1- m4_pattern_allow([^_LARGE_FILES$])
6834 m4trace:configure.ac:256: -1- m4_pattern_allow([^HAVE_LIBIBS$])
6835 m4trace:configure.ac:264: -1- m4_pattern_allow([^LIBJPEG$])
6836 m4trace:configure.ac:265: -1- m4_pattern_allow([^HAVE_LIBJPEG$])
6837 m4trace:configure.ac:272: -1- GP_CONFIG_MSG([JPEG mangling support], [${libjpeg_msg}])
6838 m4trace:configure.ac:279: -1- m4_pattern_allow([^LIBGD$])
6839 m4trace:configure.ac:280: -1- m4_pattern_allow([^HAVE_GD$])
6840 m4trace:configure.ac:287: -1- GP_CONFIG_MSG([GD conversion support], [${libgd_msg}])
6841 m4trace:configure.ac:294: -1- m4_pattern_allow([^STDC_HEADERS$])
6842 m4trace:configure.ac:298: -1- m4_pattern_allow([^const$])
6843 m4trace:configure.ac:307: -1- m4_pattern_allow([^size_t$])
6844 m4trace:configure.ac:313: -1- m4_pattern_allow([^TM_IN_SYS_TIME$])
6845 m4trace:configure.ac:317: -1- m4_pattern_allow([^HAVE_TM_GMTOFF$])
6846 m4trace:configure.ac:340: -1- m4_pattern_allow([^HAVE_STRUCT_STATFS_F_BFREE$])
6847 m4trace:configure.ac:340: -1- m4_pattern_allow([^HAVE_STRUCT_STATFS_F_BAVAIL$])
6848 m4trace:configure.ac:340: -1- m4_pattern_allow([^HAVE_STRUCT_STATFS_F_FAVAIL$])
6849 m4trace:configure.ac:356: -1- m4_pattern_allow([^HAVE_STRUCT_STATVFS_F_BLOCKS$])
6850 m4trace:configure.ac:374: -1- AX_NEED_STDINT_H([libgphoto2/_stdint.h])
6851 m4trace:configure.ac:374: -1- AX_CHECK_DEFINED_TYPE([uint8_t], [stdint.h], [
6852 cat > "libgphoto2/_stdint.h" <<EOF
6853 /* This file is generated automatically by configure */
6855 EOF], [AX_CHECK_DEFINED_TYPE(uint8_t,
6857 [cat > "libgphoto2/_stdint.h" <<EOF
6858 /* This file is generated automatically by configure */
6859 #include <inttypes.h>
6861 [AX_CHECK_DEFINED_TYPE(uint8_t,
6863 [cat > "libgphoto2/_stdint.h" <<EOF
6864 /* This file is generated automatically by configure */
6865 #include <sys/types.h>
6867 [AX_CHECK_DEFINED_TYPE(u_int8_t,
6869 [cat > "libgphoto2/_stdint.h" <<EOF
6870 /* This file is generated automatically by configure */
6873 #include <sys/types.h>
6874 typedef u_int8_t uint8_t;
6875 typedef u_int16_t uint16_t;
6876 typedef u_int32_t uint32_t;
6879 AX_CHECK_DEFINED_TYPE(u_int64_t,
6881 [cat >> "libgphoto2/_stdint.h" <<EOF
6882 typedef u_int64_t uint64_t;
6883 #endif /*!__STDINT_H*/
6885 [cat >> "libgphoto2/_stdint.h" <<EOF
6886 /* 64-bit types are not available on this system */
6887 /* typedef u_int64_t uint64_t; */
6888 #endif /*!__STDINT_H*/
6892 [AC_MSG_WARN([I can't find size-specific integer definitions on this system])
6893 if test -e "libgphoto2/_stdint.h" ; then
6894 rm -f "libgphoto2/_stdint.h"
6897 m4trace:configure.ac:374: -1- AX_CHECK_DEFINED_TYPE([uint8_t], [inttypes.h], [cat > "libgphoto2/_stdint.h" <<EOF
6898 /* This file is generated automatically by configure */
6899 #include <inttypes.h>
6900 EOF], [AX_CHECK_DEFINED_TYPE(uint8_t,
6902 [cat > "libgphoto2/_stdint.h" <<EOF
6903 /* This file is generated automatically by configure */
6904 #include <sys/types.h>
6906 [AX_CHECK_DEFINED_TYPE(u_int8_t,
6908 [cat > "libgphoto2/_stdint.h" <<EOF
6909 /* This file is generated automatically by configure */
6912 #include <sys/types.h>
6913 typedef u_int8_t uint8_t;
6914 typedef u_int16_t uint16_t;
6915 typedef u_int32_t uint32_t;
6918 AX_CHECK_DEFINED_TYPE(u_int64_t,
6920 [cat >> "libgphoto2/_stdint.h" <<EOF
6921 typedef u_int64_t uint64_t;
6922 #endif /*!__STDINT_H*/
6924 [cat >> "libgphoto2/_stdint.h" <<EOF
6925 /* 64-bit types are not available on this system */
6926 /* typedef u_int64_t uint64_t; */
6927 #endif /*!__STDINT_H*/
6931 [AC_MSG_WARN([I can't find size-specific integer definitions on this system])
6932 if test -e "libgphoto2/_stdint.h" ; then
6933 rm -f "libgphoto2/_stdint.h"
6936 m4trace:configure.ac:374: -1- AX_CHECK_DEFINED_TYPE([uint8_t], [sys/types.h], [cat > "libgphoto2/_stdint.h" <<EOF
6937 /* This file is generated automatically by configure */
6938 #include <sys/types.h>
6939 EOF], [AX_CHECK_DEFINED_TYPE(u_int8_t,
6941 [cat > "libgphoto2/_stdint.h" <<EOF
6942 /* This file is generated automatically by configure */
6945 #include <sys/types.h>
6946 typedef u_int8_t uint8_t;
6947 typedef u_int16_t uint16_t;
6948 typedef u_int32_t uint32_t;
6951 AX_CHECK_DEFINED_TYPE(u_int64_t,
6953 [cat >> "libgphoto2/_stdint.h" <<EOF
6954 typedef u_int64_t uint64_t;
6955 #endif /*!__STDINT_H*/
6957 [cat >> "libgphoto2/_stdint.h" <<EOF
6958 /* 64-bit types are not available on this system */
6959 /* typedef u_int64_t uint64_t; */
6960 #endif /*!__STDINT_H*/
6964 [AC_MSG_WARN([I can't find size-specific integer definitions on this system])
6965 if test -e "libgphoto2/_stdint.h" ; then
6966 rm -f "libgphoto2/_stdint.h"
6969 m4trace:configure.ac:374: -1- AX_CHECK_DEFINED_TYPE([u_int8_t], [sys/types.h], [cat > "libgphoto2/_stdint.h" <<EOF
6970 /* This file is generated automatically by configure */
6973 #include <sys/types.h>
6974 typedef u_int8_t uint8_t;
6975 typedef u_int16_t uint16_t;
6976 typedef u_int32_t uint32_t;
6979 AX_CHECK_DEFINED_TYPE(u_int64_t,
6981 [cat >> "libgphoto2/_stdint.h" <<EOF
6982 typedef u_int64_t uint64_t;
6983 #endif /*!__STDINT_H*/
6985 [cat >> "libgphoto2/_stdint.h" <<EOF
6986 /* 64-bit types are not available on this system */
6987 /* typedef u_int64_t uint64_t; */
6988 #endif /*!__STDINT_H*/
6991 ], [AC_MSG_WARN([I can't find size-specific integer definitions on this system])
6992 if test -e "libgphoto2/_stdint.h" ; then
6993 rm -f "libgphoto2/_stdint.h"
6996 m4trace:configure.ac:374: -1- AX_CHECK_DEFINED_TYPE([u_int64_t], [sys/types.h], [cat >> "libgphoto2/_stdint.h" <<EOF
6997 typedef u_int64_t uint64_t;
6998 #endif /*!__STDINT_H*/
6999 EOF], [cat >> "libgphoto2/_stdint.h" <<EOF
7000 /* 64-bit types are not available on this system */
7001 /* typedef u_int64_t uint64_t; */
7002 #endif /*!__STDINT_H*/
7004 m4trace:configure.ac:377: -1- AC_NEED_BYTEORDER_H([libgphoto2/gphoto2-endian.h])
7005 m4trace:configure.ac:377: -1- m4_pattern_allow([^effective_target$])
7006 m4trace:configure.ac:377: -1- m4_pattern_allow([^WORDS_BIGENDIAN$])
7007 m4trace:configure.ac:377: -1- m4_pattern_allow([^AC_APPLE_UNIVERSAL_BUILD$])
7008 m4trace:configure.ac:377: -1- AC_HAVE_SYMBOL([le32toh], [machine/endian.h], [HAVE_LE32TOH=1
7009 cat >> "libgphoto2/gphoto2-endian.h" << EOF
7010 /* extended byte swapping macros are already available */
7011 #include <machine/endian.h>
7015 dnl Look for standard byte swapping macros
7016 AC_HAVE_SYMBOL(ntohl,arpa/inet.h,
7017 [cat >> "libgphoto2/gphoto2-endian.h" << EOF
7018 /* ntohl and relatives live here */
7019 #include <arpa/inet.h>
7023 [AC_HAVE_SYMBOL(ntohl,netinet/in.h,
7024 [cat >> "libgphoto2/gphoto2-endian.h" << EOF
7025 /* ntohl and relatives live here */
7026 #include <netinet/in.h>
7030 m4trace:configure.ac:377: -1- AC_HAVE_SYMBOL([ntohl], [arpa/inet.h], [cat >> "libgphoto2/gphoto2-endian.h" << EOF
7031 /* ntohl and relatives live here */
7032 #include <arpa/inet.h>
7034 EOF], [AC_HAVE_SYMBOL(ntohl,netinet/in.h,
7035 [cat >> "libgphoto2/gphoto2-endian.h" << EOF
7036 /* ntohl and relatives live here */
7037 #include <netinet/in.h>
7040 m4trace:configure.ac:377: -1- AC_HAVE_SYMBOL([ntohl], [netinet/in.h], [cat >> "libgphoto2/gphoto2-endian.h" << EOF
7041 /* ntohl and relatives live here */
7042 #include <netinet/in.h>
7045 m4trace:configure.ac:377: -1- AC_HAVE_SYMBOL([swap32], [machine/endian.h], [cat >> "libgphoto2/gphoto2-endian.h" << EOF
7046 /* swap32 and swap16 are defined in machine/endian.h */
7050 AC_HAVE_SYMBOL(bswap_32,byteswap.h,
7051 [cat >> "libgphoto2/gphoto2-endian.h" << EOF
7052 /* Define generic byte swapping functions */
7053 #include <byteswap.h>
7054 #define swap16(x) bswap_16(x)
7055 #define swap32(x) bswap_32(x)
7056 #define swap64(x) bswap_64(x)
7062 AC_HAVE_SYMBOL(bswap32,machine/endian.h,
7063 dnl We're already including machine/endian.h if this test succeeds
7064 [cat >> "libgphoto2/gphoto2-endian.h" << EOF
7065 /* Define generic byte swapping functions */
7067 if test "$HAVE_LE32TOH" != "1"; then
7068 echo '#include <machine/endian.h>'>> "libgphoto2/gphoto2-endian.h"
7070 cat >> "libgphoto2/gphoto2-endian.h" << EOF
7071 #define swap16(x) bswap16(x)
7072 #define swap32(x) bswap32(x)
7073 #define swap64(x) bswap64(x)
7079 AC_HAVE_SYMBOL(__byte_swap_long,sys/types.h,
7080 [cat >> "libgphoto2/gphoto2-endian.h" << EOF
7081 /* Define generic byte swapping functions */
7082 #include <sys/types.h>
7083 #define swap16(x) __byte_swap_word(x)
7084 #define swap32(x) __byte_swap_long(x)
7085 /* No optimized 64 bit byte swapping macro is available */
7086 #define swap64(x) ((uint64_t)(((uint64_t)(x) << 56) & 0xff00000000000000ULL | \\
7087 ((uint64_t)(x) << 40) & 0x00ff000000000000ULL | \\
7088 ((uint64_t)(x) << 24) & 0x0000ff0000000000ULL | \\
7089 ((uint64_t)(x) << 8) & 0x000000ff00000000ULL | \\
7090 ((x) >> 8) & 0x00000000ff000000ULL | \\
7091 ((x) >> 24) & 0x0000000000ff0000ULL | \\
7092 ((x) >> 40) & 0x000000000000ff00ULL | \\
7093 ((x) >> 56) & 0x00000000000000ffULL))
7099 AC_HAVE_SYMBOL(NXSwapLong,machine/byte_order.h,
7100 [cat >> "libgphoto2/gphoto2-endian.h" << EOF
7101 /* Define generic byte swapping functions */
7102 #include <machine/byte_order.h>
7103 #define swap16(x) NXSwapShort(x)
7104 #define swap32(x) NXSwapLong(x)
7105 #define swap64(x) NXSwapLongLong(x)
7109 if test $ac_cv_c_bigendian = yes; then
7110 cat >> "libgphoto2/gphoto2-endian.h" << EOF
7111 /* No other byte swapping functions are available on this big-endian system */
7112 #define swap16(x) ((uint16_t)(((x) << 8) | ((uint16_t)(x) >> 8)))
7113 #define swap32(x) ((uint32_t)(((uint32_t)(x) << 24) & 0xff000000UL | \\
7114 ((uint32_t)(x) << 8) & 0x00ff0000UL | \\
7115 ((x) >> 8) & 0x0000ff00UL | \\
7116 ((x) >> 24) & 0x000000ffUL))
7117 #define swap64(x) ((uint64_t)(((uint64_t)(x) << 56) & 0xff00000000000000ULL | \\
7118 ((uint64_t)(x) << 40) & 0x00ff000000000000ULL | \\
7119 ((uint64_t)(x) << 24) & 0x0000ff0000000000ULL | \\
7120 ((uint64_t)(x) << 8) & 0x000000ff00000000ULL | \\
7121 ((x) >> 8) & 0x00000000ff000000ULL | \\
7122 ((x) >> 24) & 0x0000000000ff0000ULL | \\
7123 ((x) >> 40) & 0x000000000000ff00ULL | \\
7124 ((x) >> 56) & 0x00000000000000ffULL))
7128 cat >> "libgphoto2/gphoto2-endian.h" << EOF
7129 /* Use these as generic byteswapping macros on this little endian system */
7130 #define swap16(x) ntohs(x)
7131 #define swap32(x) ntohl(x)
7132 /* No optimized 64 bit byte swapping macro is available */
7133 #define swap64(x) ((uint64_t)(((uint64_t)(x) << 56) & 0xff00000000000000ULL | \\
7134 ((uint64_t)(x) << 40) & 0x00ff000000000000ULL | \\
7135 ((uint64_t)(x) << 24) & 0x0000ff0000000000ULL | \\
7136 ((uint64_t)(x) << 8) & 0x000000ff00000000ULL | \\
7137 ((x) >> 8) & 0x00000000ff000000ULL | \\
7138 ((x) >> 24) & 0x0000000000ff0000ULL | \\
7139 ((x) >> 40) & 0x000000000000ff00ULL | \\
7140 ((x) >> 56) & 0x00000000000000ffULL))
7149 m4trace:configure.ac:377: -1- AC_HAVE_SYMBOL([bswap_32], [byteswap.h], [cat >> "libgphoto2/gphoto2-endian.h" << EOF
7150 /* Define generic byte swapping functions */
7151 #include <byteswap.h>
7152 #define swap16(x) bswap_16(x)
7153 #define swap32(x) bswap_32(x)
7154 #define swap64(x) bswap_64(x)
7158 AC_HAVE_SYMBOL(bswap32,machine/endian.h,
7159 dnl We're already including machine/endian.h if this test succeeds
7160 [cat >> "libgphoto2/gphoto2-endian.h" << EOF
7161 /* Define generic byte swapping functions */
7163 if test "$HAVE_LE32TOH" != "1"; then
7164 echo '#include <machine/endian.h>'>> "libgphoto2/gphoto2-endian.h"
7166 cat >> "libgphoto2/gphoto2-endian.h" << EOF
7167 #define swap16(x) bswap16(x)
7168 #define swap32(x) bswap32(x)
7169 #define swap64(x) bswap64(x)
7175 AC_HAVE_SYMBOL(__byte_swap_long,sys/types.h,
7176 [cat >> "libgphoto2/gphoto2-endian.h" << EOF
7177 /* Define generic byte swapping functions */
7178 #include <sys/types.h>
7179 #define swap16(x) __byte_swap_word(x)
7180 #define swap32(x) __byte_swap_long(x)
7181 /* No optimized 64 bit byte swapping macro is available */
7182 #define swap64(x) ((uint64_t)(((uint64_t)(x) << 56) & 0xff00000000000000ULL | \\
7183 ((uint64_t)(x) << 40) & 0x00ff000000000000ULL | \\
7184 ((uint64_t)(x) << 24) & 0x0000ff0000000000ULL | \\
7185 ((uint64_t)(x) << 8) & 0x000000ff00000000ULL | \\
7186 ((x) >> 8) & 0x00000000ff000000ULL | \\
7187 ((x) >> 24) & 0x0000000000ff0000ULL | \\
7188 ((x) >> 40) & 0x000000000000ff00ULL | \\
7189 ((x) >> 56) & 0x00000000000000ffULL))
7195 AC_HAVE_SYMBOL(NXSwapLong,machine/byte_order.h,
7196 [cat >> "libgphoto2/gphoto2-endian.h" << EOF
7197 /* Define generic byte swapping functions */
7198 #include <machine/byte_order.h>
7199 #define swap16(x) NXSwapShort(x)
7200 #define swap32(x) NXSwapLong(x)
7201 #define swap64(x) NXSwapLongLong(x)
7205 if test $ac_cv_c_bigendian = yes; then
7206 cat >> "libgphoto2/gphoto2-endian.h" << EOF
7207 /* No other byte swapping functions are available on this big-endian system */
7208 #define swap16(x) ((uint16_t)(((x) << 8) | ((uint16_t)(x) >> 8)))
7209 #define swap32(x) ((uint32_t)(((uint32_t)(x) << 24) & 0xff000000UL | \\
7210 ((uint32_t)(x) << 8) & 0x00ff0000UL | \\
7211 ((x) >> 8) & 0x0000ff00UL | \\
7212 ((x) >> 24) & 0x000000ffUL))
7213 #define swap64(x) ((uint64_t)(((uint64_t)(x) << 56) & 0xff00000000000000ULL | \\
7214 ((uint64_t)(x) << 40) & 0x00ff000000000000ULL | \\
7215 ((uint64_t)(x) << 24) & 0x0000ff0000000000ULL | \\
7216 ((uint64_t)(x) << 8) & 0x000000ff00000000ULL | \\
7217 ((x) >> 8) & 0x00000000ff000000ULL | \\
7218 ((x) >> 24) & 0x0000000000ff0000ULL | \\
7219 ((x) >> 40) & 0x000000000000ff00ULL | \\
7220 ((x) >> 56) & 0x00000000000000ffULL))
7224 cat >> "libgphoto2/gphoto2-endian.h" << EOF
7225 /* Use these as generic byteswapping macros on this little endian system */
7226 #define swap16(x) ntohs(x)
7227 #define swap32(x) ntohl(x)
7228 /* No optimized 64 bit byte swapping macro is available */
7229 #define swap64(x) ((uint64_t)(((uint64_t)(x) << 56) & 0xff00000000000000ULL | \\
7230 ((uint64_t)(x) << 40) & 0x00ff000000000000ULL | \\
7231 ((uint64_t)(x) << 24) & 0x0000ff0000000000ULL | \\
7232 ((uint64_t)(x) << 8) & 0x000000ff00000000ULL | \\
7233 ((x) >> 8) & 0x00000000ff000000ULL | \\
7234 ((x) >> 24) & 0x0000000000ff0000ULL | \\
7235 ((x) >> 40) & 0x000000000000ff00ULL | \\
7236 ((x) >> 56) & 0x00000000000000ffULL))
7244 m4trace:configure.ac:377: -1- AC_HAVE_SYMBOL([bswap32], [machine/endian.h], [ cat >> "libgphoto2/gphoto2-endian.h" << EOF
7245 /* Define generic byte swapping functions */
7247 if test "$HAVE_LE32TOH" != "1"; then
7248 echo '#include <machine/endian.h>'>> "libgphoto2/gphoto2-endian.h"
7250 cat >> "libgphoto2/gphoto2-endian.h" << EOF
7251 #define swap16(x) bswap16(x)
7252 #define swap32(x) bswap32(x)
7253 #define swap64(x) bswap64(x)
7257 AC_HAVE_SYMBOL(__byte_swap_long,sys/types.h,
7258 [cat >> "libgphoto2/gphoto2-endian.h" << EOF
7259 /* Define generic byte swapping functions */
7260 #include <sys/types.h>
7261 #define swap16(x) __byte_swap_word(x)
7262 #define swap32(x) __byte_swap_long(x)
7263 /* No optimized 64 bit byte swapping macro is available */
7264 #define swap64(x) ((uint64_t)(((uint64_t)(x) << 56) & 0xff00000000000000ULL | \\
7265 ((uint64_t)(x) << 40) & 0x00ff000000000000ULL | \\
7266 ((uint64_t)(x) << 24) & 0x0000ff0000000000ULL | \\
7267 ((uint64_t)(x) << 8) & 0x000000ff00000000ULL | \\
7268 ((x) >> 8) & 0x00000000ff000000ULL | \\
7269 ((x) >> 24) & 0x0000000000ff0000ULL | \\
7270 ((x) >> 40) & 0x000000000000ff00ULL | \\
7271 ((x) >> 56) & 0x00000000000000ffULL))
7277 AC_HAVE_SYMBOL(NXSwapLong,machine/byte_order.h,
7278 [cat >> "libgphoto2/gphoto2-endian.h" << EOF
7279 /* Define generic byte swapping functions */
7280 #include <machine/byte_order.h>
7281 #define swap16(x) NXSwapShort(x)
7282 #define swap32(x) NXSwapLong(x)
7283 #define swap64(x) NXSwapLongLong(x)
7287 if test $ac_cv_c_bigendian = yes; then
7288 cat >> "libgphoto2/gphoto2-endian.h" << EOF
7289 /* No other byte swapping functions are available on this big-endian system */
7290 #define swap16(x) ((uint16_t)(((x) << 8) | ((uint16_t)(x) >> 8)))
7291 #define swap32(x) ((uint32_t)(((uint32_t)(x) << 24) & 0xff000000UL | \\
7292 ((uint32_t)(x) << 8) & 0x00ff0000UL | \\
7293 ((x) >> 8) & 0x0000ff00UL | \\
7294 ((x) >> 24) & 0x000000ffUL))
7295 #define swap64(x) ((uint64_t)(((uint64_t)(x) << 56) & 0xff00000000000000ULL | \\
7296 ((uint64_t)(x) << 40) & 0x00ff000000000000ULL | \\
7297 ((uint64_t)(x) << 24) & 0x0000ff0000000000ULL | \\
7298 ((uint64_t)(x) << 8) & 0x000000ff00000000ULL | \\
7299 ((x) >> 8) & 0x00000000ff000000ULL | \\
7300 ((x) >> 24) & 0x0000000000ff0000ULL | \\
7301 ((x) >> 40) & 0x000000000000ff00ULL | \\
7302 ((x) >> 56) & 0x00000000000000ffULL))
7306 cat >> "libgphoto2/gphoto2-endian.h" << EOF
7307 /* Use these as generic byteswapping macros on this little endian system */
7308 #define swap16(x) ntohs(x)
7309 #define swap32(x) ntohl(x)
7310 /* No optimized 64 bit byte swapping macro is available */
7311 #define swap64(x) ((uint64_t)(((uint64_t)(x) << 56) & 0xff00000000000000ULL | \\
7312 ((uint64_t)(x) << 40) & 0x00ff000000000000ULL | \\
7313 ((uint64_t)(x) << 24) & 0x0000ff0000000000ULL | \\
7314 ((uint64_t)(x) << 8) & 0x000000ff00000000ULL | \\
7315 ((x) >> 8) & 0x00000000ff000000ULL | \\
7316 ((x) >> 24) & 0x0000000000ff0000ULL | \\
7317 ((x) >> 40) & 0x000000000000ff00ULL | \\
7318 ((x) >> 56) & 0x00000000000000ffULL))
7325 m4trace:configure.ac:377: -1- AC_HAVE_SYMBOL([__byte_swap_long], [sys/types.h], [cat >> "libgphoto2/gphoto2-endian.h" << EOF
7326 /* Define generic byte swapping functions */
7327 #include <sys/types.h>
7328 #define swap16(x) __byte_swap_word(x)
7329 #define swap32(x) __byte_swap_long(x)
7330 /* No optimized 64 bit byte swapping macro is available */
7331 #define swap64(x) ((uint64_t)(((uint64_t)(x) << 56) & 0xff00000000000000ULL | \\
7332 ((uint64_t)(x) << 40) & 0x00ff000000000000ULL | \\
7333 ((uint64_t)(x) << 24) & 0x0000ff0000000000ULL | \\
7334 ((uint64_t)(x) << 8) & 0x000000ff00000000ULL | \\
7335 ((x) >> 8) & 0x00000000ff000000ULL | \\
7336 ((x) >> 24) & 0x0000000000ff0000ULL | \\
7337 ((x) >> 40) & 0x000000000000ff00ULL | \\
7338 ((x) >> 56) & 0x00000000000000ffULL))
7342 AC_HAVE_SYMBOL(NXSwapLong,machine/byte_order.h,
7343 [cat >> "libgphoto2/gphoto2-endian.h" << EOF
7344 /* Define generic byte swapping functions */
7345 #include <machine/byte_order.h>
7346 #define swap16(x) NXSwapShort(x)
7347 #define swap32(x) NXSwapLong(x)
7348 #define swap64(x) NXSwapLongLong(x)
7352 if test $ac_cv_c_bigendian = yes; then
7353 cat >> "libgphoto2/gphoto2-endian.h" << EOF
7354 /* No other byte swapping functions are available on this big-endian system */
7355 #define swap16(x) ((uint16_t)(((x) << 8) | ((uint16_t)(x) >> 8)))
7356 #define swap32(x) ((uint32_t)(((uint32_t)(x) << 24) & 0xff000000UL | \\
7357 ((uint32_t)(x) << 8) & 0x00ff0000UL | \\
7358 ((x) >> 8) & 0x0000ff00UL | \\
7359 ((x) >> 24) & 0x000000ffUL))
7360 #define swap64(x) ((uint64_t)(((uint64_t)(x) << 56) & 0xff00000000000000ULL | \\
7361 ((uint64_t)(x) << 40) & 0x00ff000000000000ULL | \\
7362 ((uint64_t)(x) << 24) & 0x0000ff0000000000ULL | \\
7363 ((uint64_t)(x) << 8) & 0x000000ff00000000ULL | \\
7364 ((x) >> 8) & 0x00000000ff000000ULL | \\
7365 ((x) >> 24) & 0x0000000000ff0000ULL | \\
7366 ((x) >> 40) & 0x000000000000ff00ULL | \\
7367 ((x) >> 56) & 0x00000000000000ffULL))
7371 cat >> "libgphoto2/gphoto2-endian.h" << EOF
7372 /* Use these as generic byteswapping macros on this little endian system */
7373 #define swap16(x) ntohs(x)
7374 #define swap32(x) ntohl(x)
7375 /* No optimized 64 bit byte swapping macro is available */
7376 #define swap64(x) ((uint64_t)(((uint64_t)(x) << 56) & 0xff00000000000000ULL | \\
7377 ((uint64_t)(x) << 40) & 0x00ff000000000000ULL | \\
7378 ((uint64_t)(x) << 24) & 0x0000ff0000000000ULL | \\
7379 ((uint64_t)(x) << 8) & 0x000000ff00000000ULL | \\
7380 ((x) >> 8) & 0x00000000ff000000ULL | \\
7381 ((x) >> 24) & 0x0000000000ff0000ULL | \\
7382 ((x) >> 40) & 0x000000000000ff00ULL | \\
7383 ((x) >> 56) & 0x00000000000000ffULL))
7389 m4trace:configure.ac:377: -1- AC_HAVE_SYMBOL([NXSwapLong], [machine/byte_order.h], [cat >> "libgphoto2/gphoto2-endian.h" << EOF
7390 /* Define generic byte swapping functions */
7391 #include <machine/byte_order.h>
7392 #define swap16(x) NXSwapShort(x)
7393 #define swap32(x) NXSwapLong(x)
7394 #define swap64(x) NXSwapLongLong(x)
7397 if test $ac_cv_c_bigendian = yes; then
7398 cat >> "libgphoto2/gphoto2-endian.h" << EOF
7399 /* No other byte swapping functions are available on this big-endian system */
7400 #define swap16(x) ((uint16_t)(((x) << 8) | ((uint16_t)(x) >> 8)))
7401 #define swap32(x) ((uint32_t)(((uint32_t)(x) << 24) & 0xff000000UL | \\
7402 ((uint32_t)(x) << 8) & 0x00ff0000UL | \\
7403 ((x) >> 8) & 0x0000ff00UL | \\
7404 ((x) >> 24) & 0x000000ffUL))
7405 #define swap64(x) ((uint64_t)(((uint64_t)(x) << 56) & 0xff00000000000000ULL | \\
7406 ((uint64_t)(x) << 40) & 0x00ff000000000000ULL | \\
7407 ((uint64_t)(x) << 24) & 0x0000ff0000000000ULL | \\
7408 ((uint64_t)(x) << 8) & 0x000000ff00000000ULL | \\
7409 ((x) >> 8) & 0x00000000ff000000ULL | \\
7410 ((x) >> 24) & 0x0000000000ff0000ULL | \\
7411 ((x) >> 40) & 0x000000000000ff00ULL | \\
7412 ((x) >> 56) & 0x00000000000000ffULL))
7416 cat >> "libgphoto2/gphoto2-endian.h" << EOF
7417 /* Use these as generic byteswapping macros on this little endian system */
7418 #define swap16(x) ntohs(x)
7419 #define swap32(x) ntohl(x)
7420 /* No optimized 64 bit byte swapping macro is available */
7421 #define swap64(x) ((uint64_t)(((uint64_t)(x) << 56) & 0xff00000000000000ULL | \\
7422 ((uint64_t)(x) << 40) & 0x00ff000000000000ULL | \\
7423 ((uint64_t)(x) << 24) & 0x0000ff0000000000ULL | \\
7424 ((uint64_t)(x) << 8) & 0x000000ff00000000ULL | \\
7425 ((x) >> 8) & 0x00000000ff000000ULL | \\
7426 ((x) >> 24) & 0x0000000000ff0000ULL | \\
7427 ((x) >> 40) & 0x000000000000ff00ULL | \\
7428 ((x) >> 56) & 0x00000000000000ffULL))
7433 m4trace:configure.ac:434: -1- m4_pattern_allow([^PACKAGE_TARNAME$])
7434 m4trace:configure.ac:437: -1- m4_pattern_allow([^utilsdir$])
7435 m4trace:configure.ac:438: -1- m4_pattern_allow([^utilsdir$])
7436 m4trace:configure.ac:440: -1- GP_UDEV([true])
7437 m4trace:configure.ac:440: -1- m4_pattern_allow([^udevscriptdir$])
7438 m4trace:configure.ac:440: -1- m4_pattern_allow([^udevscriptdir$])
7439 m4trace:configure.ac:440: -1- AM_CONDITIONAL([HAVE_UDEV], [if echo "$host"|grep -i linux >/dev/null ; then true; fi ])
7440 m4trace:configure.ac:440: -1- m4_pattern_allow([^HAVE_UDEV_TRUE$])
7441 m4trace:configure.ac:440: -1- m4_pattern_allow([^HAVE_UDEV_FALSE$])
7442 m4trace:configure.ac:440: -1- _AM_SUBST_NOTMAKE([HAVE_UDEV_TRUE])
7443 m4trace:configure.ac:440: -1- _AM_SUBST_NOTMAKE([HAVE_UDEV_FALSE])
7444 m4trace:configure.ac:456: -1- m4_pattern_allow([^camlibdir$])
7445 m4trace:configure.ac:461: -1- m4_pattern_allow([^CAMLIB_LDFLAGS$])
7446 m4trace:configure.ac:462: -1- m4_pattern_allow([^CAMLIB_LIBS$])
7447 m4trace:configure.ac:471: -1- GP_CAMLIB([agfa_cl20])
7448 m4trace:configure.ac:471: -1- GP_CAMLIBS_INIT
7449 m4trace:configure.ac:472: -1- GP_CAMLIB([aox])
7450 m4trace:configure.ac:473: -1- GP_CAMLIB([ax203])
7451 m4trace:configure.ac:474: -1- GP_CAMLIB([barbie])
7452 m4trace:configure.ac:475: -1- GP_CAMLIB([canon])
7453 m4trace:configure.ac:476: -1- GP_CAMLIB([casio_qv])
7454 m4trace:configure.ac:477: -1- GP_CAMLIB([clicksmart310])
7455 m4trace:configure.ac:478: -1- GP_CAMLIB([digigr8])
7456 m4trace:configure.ac:479: -1- GP_CAMLIB([digita])
7457 m4trace:configure.ac:480: -1- GP_CAMLIB([dimera3500])
7458 m4trace:configure.ac:481: -1- GP_CAMLIB([directory])
7459 m4trace:configure.ac:482: -1- GP_CAMLIB([enigma13])
7460 m4trace:configure.ac:483: -1- GP_CAMLIB([gsmart300])
7461 m4trace:configure.ac:484: -1- GP_CAMLIB([hp215])
7462 m4trace:configure.ac:485: -1- GP_CAMLIB([iclick])
7463 m4trace:configure.ac:486: -1- GP_CAMLIB([jamcam])
7464 m4trace:configure.ac:487: -1- GP_CAMLIB([jd11])
7465 m4trace:configure.ac:488: -1- GP_CAMLIB([jl2005a])
7466 m4trace:configure.ac:489: -1- GP_CAMLIB([kodak_dc120])
7467 m4trace:configure.ac:490: -1- GP_CAMLIB([kodak_dc210])
7468 m4trace:configure.ac:491: -1- GP_CAMLIB([kodak_dc240])
7469 m4trace:configure.ac:492: -1- GP_CAMLIB([kodak_ez200])
7470 m4trace:configure.ac:493: -1- GP_CAMLIB([largan])
7471 m4trace:configure.ac:494: -1- GP_CAMLIB([lg_gsm])
7472 m4trace:configure.ac:495: -1- GP_CAMLIB([mars])
7473 m4trace:configure.ac:496: -1- GP_CAMLIB([panasonic_coolshot])
7474 m4trace:configure.ac:497: -1- GP_CAMLIB([panasonic_l859])
7475 m4trace:configure.ac:498: -1- GP_CAMLIB([panasonic_dc1000])
7476 m4trace:configure.ac:499: -1- GP_CAMLIB([panasonic_dc1580])
7477 m4trace:configure.ac:500: -1- GP_CAMLIB([pccam300])
7478 m4trace:configure.ac:501: -1- GP_CAMLIB([pccam600])
7479 m4trace:configure.ac:502: -1- GP_CAMLIB([polaroid_pdc320])
7480 m4trace:configure.ac:503: -1- GP_CAMLIB([polaroid_pdc640])
7481 m4trace:configure.ac:504: -1- GP_CAMLIB([polaroid_pdc700])
7482 m4trace:configure.ac:505: -1- GP_CAMLIB([ptp2])
7483 m4trace:configure.ac:506: -1- GP_CAMLIB([ricoh])
7484 m4trace:configure.ac:507: -1- GP_CAMLIB([ricoh_g3])
7485 m4trace:configure.ac:508: -1- GP_CAMLIB([samsung])
7486 m4trace:configure.ac:509: -1- GP_CAMLIB([sierra])
7487 m4trace:configure.ac:510: -1- GP_CAMLIB([sipix_blink], [obsolete])
7488 m4trace:configure.ac:511: -1- GP_CAMLIB([sipix_blink2])
7489 m4trace:configure.ac:512: -1- GP_CAMLIB([sipix_web2])
7490 m4trace:configure.ac:513: -1- GP_CAMLIB([smal])
7491 m4trace:configure.ac:514: -1- GP_CAMLIB([sonix])
7492 m4trace:configure.ac:515: -1- GP_CAMLIB([sony_dscf1])
7493 m4trace:configure.ac:516: -1- GP_CAMLIB([sony_dscf55])
7494 m4trace:configure.ac:517: -1- GP_CAMLIB([soundvision])
7495 m4trace:configure.ac:518: -1- GP_CAMLIB([spca50x])
7496 m4trace:configure.ac:519: -1- GP_CAMLIB([sq905])
7497 m4trace:configure.ac:520: -1- GP_CAMLIB([st2205])
7498 m4trace:configure.ac:521: -1- GP_CAMLIB([stv0674])
7499 m4trace:configure.ac:522: -1- GP_CAMLIB([sx330z])
7500 m4trace:configure.ac:523: -1- GP_CAMLIB([template], [obsolete])
7501 m4trace:configure.ac:524: -1- GP_CAMLIB([toshiba_pdrm11])
7502 m4trace:configure.ac:526: -1- GP_CAMLIBS_DEFINE([])
7503 m4trace:configure.ac:526: -1- m4_pattern_allow([m4_strip])
7504 m4trace:configure.ac:526: -1- m4_pattern_allow([^BUILD_THESE_CAMLIBS$])
7505 m4trace:configure.ac:526: -1- m4_pattern_allow([^ALL_DEFINED_CAMLIBS$])
7506 m4trace:configure.ac:526: -1- m4_pattern_allow([^ALL_CURRENT_CAMLIBS$])
7507 m4trace:configure.ac:531: -1- GP_CHECK_DOC_DIR([])
7508 m4trace:configure.ac:531: -1- m4_pattern_allow([^docdir$])
7509 m4trace:configure.ac:532: -1- GP_CHECK_DOXYGEN([])
7510 m4trace:configure.ac:532: -1- m4_pattern_allow([^DOT$])
7511 m4trace:configure.ac:532: -1- m4_pattern_allow([^DOXYGEN$])
7512 m4trace:configure.ac:532: -1- AM_CONDITIONAL([HAVE_DOXYGEN], [test "x$DOXYGEN" != "xfalse"])
7513 m4trace:configure.ac:532: -1- m4_pattern_allow([^HAVE_DOXYGEN_TRUE$])
7514 m4trace:configure.ac:532: -1- m4_pattern_allow([^HAVE_DOXYGEN_FALSE$])
7515 m4trace:configure.ac:532: -1- _AM_SUBST_NOTMAKE([HAVE_DOXYGEN_TRUE])
7516 m4trace:configure.ac:532: -1- _AM_SUBST_NOTMAKE([HAVE_DOXYGEN_FALSE])
7517 m4trace:configure.ac:532: -1- AM_CONDITIONAL([HAVE_DOT], [test "x$DOT" != "xfalse"])
7518 m4trace:configure.ac:532: -1- m4_pattern_allow([^HAVE_DOT_TRUE$])
7519 m4trace:configure.ac:532: -1- m4_pattern_allow([^HAVE_DOT_FALSE$])
7520 m4trace:configure.ac:532: -1- _AM_SUBST_NOTMAKE([HAVE_DOT_TRUE])
7521 m4trace:configure.ac:532: -1- _AM_SUBST_NOTMAKE([HAVE_DOT_FALSE])
7522 m4trace:configure.ac:532: -1- m4_pattern_allow([^HAVE_DOT$])
7523 m4trace:configure.ac:532: -1- m4_pattern_allow([^HAVE_DOT$])
7524 m4trace:configure.ac:532: -1- m4_pattern_allow([^HTML_APIDOC_DIR$])
7525 m4trace:configure.ac:532: -1- m4_pattern_allow([^DOXYGEN_OUTPUT_DIR$])
7526 m4trace:configure.ac:532: -1- m4_pattern_allow([^HTML_APIDOC_INTERNALS_DIR$])
7527 m4trace:configure.ac:533: -1- GP_BUILD_GTK_DOCS([])
7528 m4trace:configure.ac:533: -1- m4_pattern_allow([^GTKDOC$])
7529 m4trace:configure.ac:533: -1- AM_CONDITIONAL([ENABLE_GTK_DOC], [$have_gtkdoc])
7530 m4trace:configure.ac:533: -1- m4_pattern_allow([^ENABLE_GTK_DOC_TRUE$])
7531 m4trace:configure.ac:533: -1- m4_pattern_allow([^ENABLE_GTK_DOC_FALSE$])
7532 m4trace:configure.ac:533: -1- _AM_SUBST_NOTMAKE([ENABLE_GTK_DOC_TRUE])
7533 m4trace:configure.ac:533: -1- _AM_SUBST_NOTMAKE([ENABLE_GTK_DOC_FALSE])
7534 m4trace:configure.ac:533: -1- GP_CONFIG_MSG([build API docs with gtk-doc], [$gtkdoc_msg])
7535 m4trace:configure.ac:533: -1- m4_pattern_allow([^htmldir$])
7536 m4trace:configure.ac:533: -1- m4_pattern_allow([^apidocdir$])
7537 m4trace:configure.ac:534: -1- m4_pattern_allow([^camlibdocdir$])
7538 m4trace:configure.ac:540: -1- GPKG_CHECK_RPM([])
7539 m4trace:configure.ac:540: -1- m4_pattern_allow([^RPMBUILD$])
7540 m4trace:configure.ac:540: -1- m4_pattern_allow([^RPMBUILD$])
7541 m4trace:configure.ac:540: -1- AM_CONDITIONAL([ENABLE_RPM], [test "$RPMBUILD" != "false"])
7542 m4trace:configure.ac:540: -1- m4_pattern_allow([^ENABLE_RPM_TRUE$])
7543 m4trace:configure.ac:540: -1- m4_pattern_allow([^ENABLE_RPM_FALSE$])
7544 m4trace:configure.ac:540: -1- _AM_SUBST_NOTMAKE([ENABLE_RPM_TRUE])
7545 m4trace:configure.ac:540: -1- _AM_SUBST_NOTMAKE([ENABLE_RPM_FALSE])
7546 m4trace:configure.ac:541: -1- GPKG_CHECK_LINUX([])
7547 m4trace:configure.ac:541: -1- AM_CONDITIONAL([HAVE_LINUX], ["$is_linux"])
7548 m4trace:configure.ac:541: -1- m4_pattern_allow([^HAVE_LINUX_TRUE$])
7549 m4trace:configure.ac:541: -1- m4_pattern_allow([^HAVE_LINUX_FALSE$])
7550 m4trace:configure.ac:541: -1- _AM_SUBST_NOTMAKE([HAVE_LINUX_TRUE])
7551 m4trace:configure.ac:541: -1- _AM_SUBST_NOTMAKE([HAVE_LINUX_FALSE])
7552 m4trace:configure.ac:541: -1- m4_pattern_allow([^hotplugdocdir$])
7553 m4trace:configure.ac:541: -1- m4_pattern_allow([^hotplugusermapdir$])
7554 m4trace:configure.ac:548: -1- m4_pattern_allow([^pkgconfigdir$])
7555 m4trace:configure.ac:558: -1- GP_CHECK_LIBRARY([LIBEXIF], [libexif], [>= 0.6.13], [libexif/exif-data.h], [exif_data_new], [
7556 AC_MSG_CHECKING([whether we use a version of libexif with ExifData.ifd[[]]])
7557 # Check for libexif version
7558 dnl FIXME: Use AC_CHECK_MEMBER?
7559 CPPFLAGS_save="$CPPFLAGS"
7560 CPPFLAGS="$LIBEXIF_CFLAGS"
7561 AC_COMPILE_IFELSE([AC_LANG_SOURCE([[
7563 /* CPPFLAGS=${CPPFLAGS} */
7564 /* LDFLAGS=${LDFLAGS} */
7565 #include <libexif/exif-data.h>
7566 #include <libexif/exif-content.h>
7569 ExifContent *ec0, *ec1;
7573 AC_DEFINE([HAVE_LIBEXIF_IFD],1,
7574 [whether we use a version of libexif with ExifData.ifd[[]]])
7575 AC_MSG_RESULT([yes])
7579 CPPFLAGS="$CPPFLAGS_save"
7580 ], [], [default-on], [http://www.sourceforge.net/projects/libexif])
7581 m4trace:configure.ac:558: -1- _GP_CHECK_LIBRARY([LIBEXIF], [libexif], [>= 0.6.13], [libexif/exif-data.h], [exif_data_new], [
7582 AC_MSG_CHECKING([whether we use a version of libexif with ExifData.ifd[[]]])
7583 # Check for libexif version
7584 dnl FIXME: Use AC_CHECK_MEMBER?
7585 CPPFLAGS_save="$CPPFLAGS"
7586 CPPFLAGS="$LIBEXIF_CFLAGS"
7587 AC_COMPILE_IFELSE([AC_LANG_SOURCE([[
7589 /* CPPFLAGS=${CPPFLAGS} */
7590 /* LDFLAGS=${LDFLAGS} */
7591 #include <libexif/exif-data.h>
7592 #include <libexif/exif-content.h>
7595 ExifContent *ec0, *ec1;
7599 AC_DEFINE([HAVE_LIBEXIF_IFD],1,
7600 [whether we use a version of libexif with ExifData.ifd[[]]])
7601 AC_MSG_RESULT([yes])
7605 CPPFLAGS="$CPPFLAGS_save"
7606 ], [], [default-on], [http://www.sourceforge.net/projects/libexif])
7607 m4trace:configure.ac:558: -1- _GP_CHECK_LIBRARY_SOEXT
7608 m4trace:configure.ac:558: -1- m4_pattern_allow([^LIBEXIF_CFLAGS$])
7609 m4trace:configure.ac:558: -1- m4_pattern_allow([^LIBEXIF_LIBS$])
7610 m4trace:configure.ac:558: -1- PKG_CHECK_MODULES([LIBEXIF], [libexif >= 0.6.13], [have_LIBEXIF=yes], [:])
7611 m4trace:configure.ac:558: -1- PKG_PROG_PKG_CONFIG
7612 m4trace:configure.ac:558: -1- m4_pattern_forbid([^_?PKG_[A-Z_]+$])
7613 m4trace:configure.ac:558: -1- m4_pattern_allow([^PKG_CONFIG(_PATH)?$])
7614 m4trace:configure.ac:558: -1- m4_pattern_allow([^PKG_CONFIG$])
7615 m4trace:configure.ac:558: -1- m4_pattern_allow([^PKG_CONFIG_PATH$])
7616 m4trace:configure.ac:558: -1- m4_pattern_allow([^PKG_CONFIG_LIBDIR$])
7617 m4trace:configure.ac:558: -1- m4_pattern_allow([^PKG_CONFIG$])
7618 m4trace:configure.ac:558: -1- m4_pattern_allow([^LIBEXIF_CFLAGS$])
7619 m4trace:configure.ac:558: -1- m4_pattern_allow([^LIBEXIF_LIBS$])
7620 m4trace:configure.ac:558: -1- PKG_CHECK_EXISTS([libexif >= 0.6.13], [pkg_cv_[]LIBEXIF_CFLAGS=`$PKG_CONFIG --[]cflags "libexif >= 0.6.13" 2>/dev/null`], [pkg_failed=yes])
7621 m4trace:configure.ac:558: -1- PKG_CHECK_EXISTS([libexif >= 0.6.13], [pkg_cv_[]LIBEXIF_LIBS=`$PKG_CONFIG --[]libs "libexif >= 0.6.13" 2>/dev/null`], [pkg_failed=yes])
7622 m4trace:configure.ac:558: -1- _PKG_SHORT_ERRORS_SUPPORTED
7623 m4trace:configure.ac:558: -1- m4_pattern_allow([^LIBEXIF_CONFIG_PROG$])
7624 m4trace:configure.ac:558: -1- m4_pattern_allow([^REQUIREMENTS_FOR_LIBEXIF$])
7625 m4trace:configure.ac:558: -1- m4_pattern_allow([^HAVE_LIBEXIF_IFD$])
7626 m4trace:configure.ac:558: -1- AM_CONDITIONAL([HAVE_LIBEXIF], [test "x$have_[LIBEXIF]" = "xyes"])
7627 m4trace:configure.ac:558: -1- m4_pattern_allow([^HAVE_LIBEXIF_TRUE$])
7628 m4trace:configure.ac:558: -1- m4_pattern_allow([^HAVE_LIBEXIF_FALSE$])
7629 m4trace:configure.ac:558: -1- _AM_SUBST_NOTMAKE([HAVE_LIBEXIF_TRUE])
7630 m4trace:configure.ac:558: -1- _AM_SUBST_NOTMAKE([HAVE_LIBEXIF_FALSE])
7631 m4trace:configure.ac:558: -1- m4_pattern_allow([^HAVE_LIBEXIF$])
7632 m4trace:configure.ac:558: -1- GP_CONFIG_MSG([libexif], [yes])
7633 m4trace:configure.ac:558: -1- GP_CONFIG_MSG([libexif], [no])
7634 m4trace:configure.ac:591: -1- m4_pattern_allow([^LIBUSB_CONFIG$])
7635 m4trace:configure.ac:592: -1- AM_CONDITIONAL([HAVE_LIBUSB], [test -n "${LIBUSB_CONFIG}"])
7636 m4trace:configure.ac:592: -1- m4_pattern_allow([^HAVE_LIBUSB_TRUE$])
7637 m4trace:configure.ac:592: -1- m4_pattern_allow([^HAVE_LIBUSB_FALSE$])
7638 m4trace:configure.ac:592: -1- _AM_SUBST_NOTMAKE([HAVE_LIBUSB_TRUE])
7639 m4trace:configure.ac:592: -1- _AM_SUBST_NOTMAKE([HAVE_LIBUSB_FALSE])
7640 m4trace:configure.ac:596: -1- AM_CONDITIONAL([HAVE_CXX], [test -n "$CXX" && test "X$CXX" != "Xno"])
7641 m4trace:configure.ac:596: -1- m4_pattern_allow([^HAVE_CXX_TRUE$])
7642 m4trace:configure.ac:596: -1- m4_pattern_allow([^HAVE_CXX_FALSE$])
7643 m4trace:configure.ac:596: -1- _AM_SUBST_NOTMAKE([HAVE_CXX_TRUE])
7644 m4trace:configure.ac:596: -1- _AM_SUBST_NOTMAKE([HAVE_CXX_FALSE])
7645 m4trace:configure.ac:605: -1- m4_pattern_allow([^subdirs$])
7646 m4trace:configure.ac:648: -1- m4_pattern_allow([^LIB@&t@OBJS$])
7647 m4trace:configure.ac:648: -1- m4_pattern_allow([^LTLIBOBJS$])
7648 m4trace:configure.ac:648: -1- AM_CONDITIONAL([am__EXEEXT], [test -n "$EXEEXT"])
7649 m4trace:configure.ac:648: -1- m4_pattern_allow([^am__EXEEXT_TRUE$])
7650 m4trace:configure.ac:648: -1- m4_pattern_allow([^am__EXEEXT_FALSE$])
7651 m4trace:configure.ac:648: -1- _AM_SUBST_NOTMAKE([am__EXEEXT_TRUE])
7652 m4trace:configure.ac:648: -1- _AM_SUBST_NOTMAKE([am__EXEEXT_FALSE])
7653 m4trace:configure.ac:648: -1- _AC_AM_CONFIG_HEADER_HOOK(["$ac_file"])
7654 m4trace:configure.ac:648: -1- _AM_OUTPUT_DEPENDENCY_COMMANDS
7655 m4trace:configure.ac:648: -1- _LT_PROG_LTMAIN
7656 m4trace:configure.ac:659: -1- GP_CONFIG_OUTPUT
7657 m4trace:configure.ac:659: -1- GP_CONFIG_MSG_SUBDIRS
7658 m4trace:configure.ac:659: -1- GP_CONFIG_MSG([])
7659 m4trace:configure.ac:659: -1- GP_CONFIG_MSG([Subprojects], [${_subdirs}])