1
m4trace:/usr/share/aclocal/codeset.m4:9: -1- AC_DEFUN([AM_LANGINFO_CODESET], [
2
AC_CACHE_CHECK([for nl_langinfo and CODESET], am_cv_langinfo_codeset,
3
[AC_TRY_LINK([#include <langinfo.h>],
4
[char* cs = nl_langinfo(CODESET); return !cs;],
5
am_cv_langinfo_codeset=yes,
6
am_cv_langinfo_codeset=no)
8
if test $am_cv_langinfo_codeset = yes; then
9
AC_DEFINE(HAVE_LANGINFO_CODESET, 1,
10
[Define if you have <langinfo.h> and nl_langinfo(CODESET).])
13
m4trace:/usr/share/aclocal/glib-gettext.m4:413: -1- AC_DEFUN([AM_GLIB_GNU_GETTEXT], [GLIB_GNU_GETTEXT($@)])
14
m4trace:/usr/share/aclocal/glib-gettext.m4:413: -1- AC_DEFUN([AM_GLIB_DEFINE_LOCALEDIR], [GLIB_DEFINE_LOCALEDIR($@)])
15
m4trace:/usr/share/aclocal/glib-gettext.m4:423: -1- AC_DEFUN([GLIB_RUN_PROG], [cat >conftest.foo <<_ACEOF
18
if AC_RUN_LOG([$1 conftest.foo]); then
19
m4_ifval([$3], [$3], [:])
20
m4_ifvaln([$4], [else $4])dnl
21
echo "$as_me: failed input was:" >&AS_MESSAGE_LOG_FD
22
sed 's/^/| /' conftest.foo >&AS_MESSAGE_LOG_FD
24
m4trace:/usr/share/aclocal/glibc2.m4:10: -1- AC_DEFUN([gt_GLIBC2], [
25
AC_CACHE_CHECK(whether we are using the GNU C Library 2 or newer,
27
[AC_EGREP_CPP([Lucky GNU user],
30
#ifdef __GNU_LIBRARY__
36
ac_cv_gnu_library_2=yes,
37
ac_cv_gnu_library_2=no)
41
GLIBC2="$ac_cv_gnu_library_2"
44
m4trace:/usr/share/aclocal/glibc21.m4:10: -1- AC_DEFUN([gl_GLIBC21], [
45
AC_CACHE_CHECK(whether we are using the GNU C Library 2.1 or newer,
46
ac_cv_gnu_library_2_1,
47
[AC_EGREP_CPP([Lucky GNU user],
50
#ifdef __GNU_LIBRARY__
51
#if (__GLIBC__ == 2 && __GLIBC_MINOR__ >= 1) || (__GLIBC__ > 2)
56
ac_cv_gnu_library_2_1=yes,
57
ac_cv_gnu_library_2_1=no)
61
GLIBC21="$ac_cv_gnu_library_2_1"
64
m4trace:/usr/share/aclocal/gnome-doc-utils.m4:3: -1- AC_DEFUN([GNOME_DOC_DEFINES], [
65
AC_ARG_WITH([help-dir],
66
AC_HELP_STRING([--with-help-dir=DIR], [path to help docs]),,
67
[with_help_dir='${datadir}/gnome/help'])
68
HELP_DIR="$with_help_dir"
71
AC_ARG_WITH([omf-dir],
72
AC_HELP_STRING([--with-omf-dir=DIR], [path to OMF files]),,
73
[with_omf_dir='${datadir}/omf'])
74
OMF_DIR="$with_omf_dir"
77
AC_ARG_WITH([help-formats],
78
AC_HELP_STRING([--with-help-formats=FORMATS], [list of formats]),,
79
[with_help_formats=''])
80
DOC_USER_FORMATS="$with_help_formats"
81
AC_SUBST(DOC_USER_FORMATS)
83
AC_ARG_ENABLE([scrollkeeper],
84
[AC_HELP_STRING([--disable-scrollkeeper],
85
[do not make updates to the scrollkeeper database])],,
86
enable_scrollkeeper=yes)
87
AM_CONDITIONAL([ENABLE_SK],[test "$gdu_cv_have_gdu" = "yes" -a "$enable_scrollkeeper" = "yes"])
89
AM_CONDITIONAL([HAVE_GNOME_DOC_UTILS],[test "$gdu_cv_have_gdu" = "yes"])
91
m4trace:/usr/share/aclocal/gnome-doc-utils.m4:34: -1- AC_DEFUN([GNOME_DOC_INIT], [
92
ifelse([$1],,[gdu_cv_version_required=0.3.2],[gdu_cv_version_required=$1])
94
PKG_CHECK_EXISTS([gnome-doc-utils >= $gdu_cv_version_required],
95
[gdu_cv_have_gdu=yes],[gdu_cv_have_gdu=no])
97
if test "$gdu_cv_have_gdu" = "yes"; then
98
ifelse([$2],,[:],[$2])
100
ifelse([$3],,[AC_MSG_ERROR([gnome-doc-utils >= $gdu_cv_version_required not found])],[$3])
105
m4trace:/usr/share/aclocal/intdiv0.m4:9: -1- AC_DEFUN([gt_INTDIV0], [
106
AC_REQUIRE([AC_PROG_CC])dnl
107
AC_REQUIRE([AC_CANONICAL_HOST])dnl
109
AC_CACHE_CHECK([whether integer division by zero raises SIGFPE],
110
gt_cv_int_divbyzero_sigfpe,
118
sigfpe_handler (int sig)
120
sigfpe_handler (sig) int sig;
123
/* Exit with code 0 if SIGFPE, with code 1 if any other signal. */
124
exit (sig != SIGFPE);
134
signal (SIGFPE, sigfpe_handler);
135
/* IRIX and AIX (when "xlc -qcheck" is used) yield signal SIGTRAP. */
136
#if (defined (__sgi) || defined (_AIX)) && defined (SIGTRAP)
137
signal (SIGTRAP, sigfpe_handler);
139
/* Linux/SPARC yields signal SIGILL. */
140
#if defined (__sparc__) && defined (__linux__)
141
signal (SIGILL, sigfpe_handler);
148
], gt_cv_int_divbyzero_sigfpe=yes, gt_cv_int_divbyzero_sigfpe=no,
150
# Guess based on the CPU.
152
alpha* | i[34567]86 | m68k | s390*)
153
gt_cv_int_divbyzero_sigfpe="guessing yes";;
155
gt_cv_int_divbyzero_sigfpe="guessing no";;
159
case "$gt_cv_int_divbyzero_sigfpe" in
163
AC_DEFINE_UNQUOTED(INTDIV0_RAISES_SIGFPE, $value,
164
[Define if integer division by zero raises signal SIGFPE.])
166
m4trace:/usr/share/aclocal/intl.m4:25: -1- AC_DEFUN([AM_INTL_SUBDIR], [
167
AC_REQUIRE([AC_PROG_INSTALL])dnl
168
AC_REQUIRE([AM_PROG_MKDIR_P])dnl defined by automake
169
AC_REQUIRE([AC_PROG_CC])dnl
170
AC_REQUIRE([AC_CANONICAL_HOST])dnl
171
AC_REQUIRE([gt_GLIBC2])dnl
172
AC_REQUIRE([AC_PROG_RANLIB])dnl
173
AC_REQUIRE([gl_VISIBILITY])dnl
174
AC_REQUIRE([gt_INTL_SUBDIR_CORE])dnl
175
AC_REQUIRE([AC_TYPE_LONG_LONG_INT])dnl
176
AC_REQUIRE([gt_TYPE_LONGDOUBLE])dnl
177
AC_REQUIRE([gt_TYPE_WCHAR_T])dnl
178
AC_REQUIRE([gt_TYPE_WINT_T])dnl
179
AC_REQUIRE([gl_AC_HEADER_INTTYPES_H])
180
AC_REQUIRE([gt_TYPE_INTMAX_T])
181
AC_REQUIRE([gt_PRINTF_POSIX])
182
AC_REQUIRE([gl_GLIBC21])dnl
183
AC_REQUIRE([gl_XSIZE])dnl
184
AC_REQUIRE([gt_INTL_MACOSX])dnl
186
AC_CHECK_TYPE([ptrdiff_t], ,
187
[AC_DEFINE([ptrdiff_t], [long],
188
[Define as the type of the result of subtracting two pointers, if the system doesn't define it.])
190
AC_CHECK_HEADERS([stddef.h stdlib.h string.h])
191
AC_CHECK_FUNCS([asprintf fwprintf putenv setenv setlocale snprintf wcslen])
193
dnl Use the _snprintf function only if it is declared (because on NetBSD it
194
dnl is defined as a weak alias of snprintf; we prefer to use the latter).
195
gt_CHECK_DECL(_snprintf, [#include <stdio.h>])
196
gt_CHECK_DECL(_snwprintf, [#include <stdio.h>])
198
dnl Use the *_unlocked functions only if they are declared.
199
dnl (because some of them were defined without being declared in Solaris
200
dnl 2.5.1 but were removed in Solaris 2.6, whereas we want binaries built
201
dnl on Solaris 2.5.1 to run on Solaris 2.6).
202
dnl Don't use AC_CHECK_DECLS because it isn't supported in autoconf-2.13.
203
gt_CHECK_DECL(getc_unlocked, [#include <stdio.h>])
205
case $gt_cv_func_printf_posix in
206
*yes) HAVE_POSIX_PRINTF=1 ;;
207
*) HAVE_POSIX_PRINTF=0 ;;
209
AC_SUBST([HAVE_POSIX_PRINTF])
210
if test "$ac_cv_func_asprintf" = yes; then
215
AC_SUBST([HAVE_ASPRINTF])
216
if test "$ac_cv_func_snprintf" = yes; then
221
AC_SUBST([HAVE_SNPRINTF])
222
if test "$ac_cv_func_wprintf" = yes; then
227
AC_SUBST([HAVE_WPRINTF])
232
dnl Compilation on mingw and Cygwin needs special Makefile rules, because
233
dnl 1. when we install a shared library, we must arrange to export
234
dnl auxiliary pointer variables for every exported variable,
235
dnl 2. when we install a shared library and a static library simultaneously,
236
dnl the include file specifies __declspec(dllimport) and therefore we
237
dnl must arrange to define the auxiliary pointer variables for the
238
dnl exported variables _also_ in the static library.
239
if test "$enable_shared" = yes; then
241
cygwin*) is_woe32dll=yes ;;
247
WOE32DLL=$is_woe32dll
250
dnl Rename some macros and functions used for locking.
252
#define __libc_lock_t gl_lock_t
253
#define __libc_lock_define gl_lock_define
254
#define __libc_lock_define_initialized gl_lock_define_initialized
255
#define __libc_lock_init gl_lock_init
256
#define __libc_lock_lock gl_lock_lock
257
#define __libc_lock_unlock gl_lock_unlock
258
#define __libc_lock_recursive_t gl_recursive_lock_t
259
#define __libc_lock_define_recursive gl_recursive_lock_define
260
#define __libc_lock_define_initialized_recursive gl_recursive_lock_define_initialized
261
#define __libc_lock_init_recursive gl_recursive_lock_init
262
#define __libc_lock_lock_recursive gl_recursive_lock_lock
263
#define __libc_lock_unlock_recursive gl_recursive_lock_unlock
264
#define glthread_in_use libintl_thread_in_use
265
#define glthread_lock_init libintl_lock_init
266
#define glthread_lock_lock libintl_lock_lock
267
#define glthread_lock_unlock libintl_lock_unlock
268
#define glthread_lock_destroy libintl_lock_destroy
269
#define glthread_rwlock_init libintl_rwlock_init
270
#define glthread_rwlock_rdlock libintl_rwlock_rdlock
271
#define glthread_rwlock_wrlock libintl_rwlock_wrlock
272
#define glthread_rwlock_unlock libintl_rwlock_unlock
273
#define glthread_rwlock_destroy libintl_rwlock_destroy
274
#define glthread_recursive_lock_init libintl_recursive_lock_init
275
#define glthread_recursive_lock_lock libintl_recursive_lock_lock
276
#define glthread_recursive_lock_unlock libintl_recursive_lock_unlock
277
#define glthread_recursive_lock_destroy libintl_recursive_lock_destroy
278
#define glthread_once libintl_once
279
#define glthread_once_call libintl_once_call
280
#define glthread_once_singlethreaded libintl_once_singlethreaded
283
m4trace:/usr/share/aclocal/intl.m4:162: -1- AC_DEFUN([gt_INTL_SUBDIR_CORE], [
284
AC_REQUIRE([AC_C_INLINE])dnl
285
AC_REQUIRE([AC_TYPE_SIZE_T])dnl
286
AC_REQUIRE([gl_AC_HEADER_STDINT_H])
287
AC_REQUIRE([AC_FUNC_ALLOCA])dnl
288
AC_REQUIRE([AC_FUNC_MMAP])dnl
289
AC_REQUIRE([gt_INTDIV0])dnl
290
AC_REQUIRE([gl_AC_TYPE_UINTMAX_T])dnl
291
AC_REQUIRE([gt_INTTYPES_PRI])dnl
292
AC_REQUIRE([gl_LOCK])dnl
295
[int foo (int a) { a = __builtin_expect (a, 10); return a == 10 ? 0 : 1; }],
297
[AC_DEFINE([HAVE_BUILTIN_EXPECT], 1,
298
[Define to 1 if the compiler understands __builtin_expect.])])
300
AC_CHECK_HEADERS([argz.h inttypes.h limits.h unistd.h sys/param.h])
301
AC_CHECK_FUNCS([getcwd getegid geteuid getgid getuid mempcpy munmap \
302
stpcpy strcasecmp strdup strtoul tsearch argz_count argz_stringify \
303
argz_next __fsetlocking])
305
dnl Use the *_unlocked functions only if they are declared.
306
dnl (because some of them were defined without being declared in Solaris
307
dnl 2.5.1 but were removed in Solaris 2.6, whereas we want binaries built
308
dnl on Solaris 2.5.1 to run on Solaris 2.6).
309
dnl Don't use AC_CHECK_DECLS because it isn't supported in autoconf-2.13.
310
gt_CHECK_DECL(feof_unlocked, [#include <stdio.h>])
311
gt_CHECK_DECL(fgets_unlocked, [#include <stdio.h>])
315
dnl glibc >= 2.4 has a NL_LOCALE_NAME macro when _GNU_SOURCE is defined,
316
dnl and a _NL_LOCALE_NAME macro always.
317
AC_CACHE_CHECK([for NL_LOCALE_NAME macro], gt_cv_nl_locale_name,
318
[AC_TRY_LINK([#include <langinfo.h>
319
#include <locale.h>],
320
[char* cs = nl_langinfo(_NL_LOCALE_NAME(LC_MESSAGES));],
321
gt_cv_nl_locale_name=yes,
322
gt_cv_nl_locale_name=no)
324
if test $gt_cv_nl_locale_name = yes; then
325
AC_DEFINE(HAVE_NL_LOCALE_NAME, 1,
326
[Define if you have <langinfo.h> and it defines the NL_LOCALE_NAME macro if _GNU_SOURCE is defined.])
329
dnl intl/plural.c is generated from intl/plural.y. It requires bison,
330
dnl because plural.y uses bison specific features. It requires at least
331
dnl bison-1.26 because earlier versions generate a plural.c that doesn't
333
dnl bison is only needed for the maintainer (who touches plural.y). But in
334
dnl order to avoid separate Makefiles or --enable-maintainer-mode, we put
335
dnl the rule in general Makefile. Now, some people carelessly touch the
336
dnl files or have a broken "make" program, hence the plural.c rule will
337
dnl sometimes fire. To avoid an error, defines BISON to ":" if it is not
338
dnl present or too old.
339
AC_CHECK_PROGS([INTLBISON], [bison])
340
if test -z "$INTLBISON"; then
343
dnl Found it, now check the version.
344
AC_MSG_CHECKING([version of bison])
345
changequote(<<,>>)dnl
346
ac_prog_version=`$INTLBISON --version 2>&1 | sed -n 's/^.*GNU Bison.* \([0-9]*\.[0-9.]*\).*$/\1/p'`
347
case $ac_prog_version in
348
'') ac_prog_version="v. ?.??, bad"; ac_verc_fail=yes;;
349
1.2[6-9]* | 1.[3-9][0-9]* | [2-9].*)
351
ac_prog_version="$ac_prog_version, ok"; ac_verc_fail=no;;
352
*) ac_prog_version="$ac_prog_version, bad"; ac_verc_fail=yes;;
354
AC_MSG_RESULT([$ac_prog_version])
356
if test $ac_verc_fail = yes; then
360
m4trace:/usr/share/aclocal/intl.m4:244: -1- AC_DEFUN([gt_CHECK_DECL], [
361
AC_CACHE_CHECK([whether $1 is declared], ac_cv_have_decl_$1,
362
[AC_TRY_COMPILE([$2], [
364
char *p = (char *) $1;
366
], ac_cv_have_decl_$1=yes, ac_cv_have_decl_$1=no)])
367
if test $ac_cv_have_decl_$1 = yes; then
372
AC_DEFINE_UNQUOTED([HAVE_DECL_]translit($1, [a-z], [A-Z]), [$gt_value],
373
[Define to 1 if you have the declaration of `$1', and to 0 if you don't.])
375
m4trace:/usr/share/aclocal/intltool.m4:27: -1- AC_DEFUN([IT_PROG_INTLTOOL], [AC_PREREQ([2.50])dnl
377
case "$am__api_version" in
379
AC_MSG_ERROR([Automake 1.5 or newer is required to use intltool])
385
if test -n "$1"; then
386
AC_MSG_CHECKING([for intltool >= $1])
388
INTLTOOL_REQUIRED_VERSION_AS_INT=`echo $1 | awk -F. '{ print $ 1 * 1000 + $ 2 * 100 + $ 3; }'`
389
INTLTOOL_APPLIED_VERSION=`awk -F\" '/\\$VERSION / { print $ 2; }' ${ac_aux_dir}/intltool-update.in`
390
[INTLTOOL_APPLIED_VERSION_AS_INT=`awk -F\" '/\\$VERSION / { split($ 2, VERSION, "."); print VERSION[1] * 1000 + VERSION[2] * 100 + VERSION[3];}' ${ac_aux_dir}/intltool-update.in`
392
AC_MSG_RESULT([$INTLTOOL_APPLIED_VERSION found])
393
test "$INTLTOOL_APPLIED_VERSION_AS_INT" -ge "$INTLTOOL_REQUIRED_VERSION_AS_INT" ||
394
AC_MSG_ERROR([Your intltool is too old. You need intltool $1 or later.])
397
INTLTOOL_DESKTOP_RULE='%.desktop: %.desktop.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; LC_ALL=C $(INTLTOOL_MERGE) -d -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< [$]@'
398
INTLTOOL_DIRECTORY_RULE='%.directory: %.directory.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; LC_ALL=C $(INTLTOOL_MERGE) -d -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< [$]@'
399
INTLTOOL_KEYS_RULE='%.keys: %.keys.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; LC_ALL=C $(INTLTOOL_MERGE) -k -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< [$]@'
400
INTLTOOL_PROP_RULE='%.prop: %.prop.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; LC_ALL=C $(INTLTOOL_MERGE) -d -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< [$]@'
401
INTLTOOL_OAF_RULE='%.oaf: %.oaf.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; LC_ALL=C $(INTLTOOL_MERGE) -o -p $(top_srcdir)/po $< [$]@'
402
INTLTOOL_PONG_RULE='%.pong: %.pong.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; LC_ALL=C $(INTLTOOL_MERGE) -x -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< [$]@'
403
INTLTOOL_SERVER_RULE='%.server: %.server.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; LC_ALL=C $(INTLTOOL_MERGE) -o -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< [$]@'
404
INTLTOOL_SHEET_RULE='%.sheet: %.sheet.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; LC_ALL=C $(INTLTOOL_MERGE) -x -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< [$]@'
405
INTLTOOL_SOUNDLIST_RULE='%.soundlist: %.soundlist.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; LC_ALL=C $(INTLTOOL_MERGE) -d -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< [$]@'
406
INTLTOOL_UI_RULE='%.ui: %.ui.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; LC_ALL=C $(INTLTOOL_MERGE) -x -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< [$]@'
407
INTLTOOL_XML_RULE='%.xml: %.xml.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; LC_ALL=C $(INTLTOOL_MERGE) -x -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< [$]@'
408
INTLTOOL_XML_NOMERGE_RULE='%.xml: %.xml.in $(INTLTOOL_MERGE) ; LC_ALL=C $(INTLTOOL_MERGE) -x -u /tmp $< [$]@'
409
INTLTOOL_XAM_RULE='%.xam: %.xml.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; LC_ALL=C $(INTLTOOL_MERGE) -x -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< [$]@'
410
INTLTOOL_KBD_RULE='%.kbd: %.kbd.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; LC_ALL=C $(INTLTOOL_MERGE) -x -u -m -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< [$]@'
411
INTLTOOL_CAVES_RULE='%.caves: %.caves.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; LC_ALL=C $(INTLTOOL_MERGE) -d -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< [$]@'
412
INTLTOOL_SCHEMAS_RULE='%.schemas: %.schemas.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; LC_ALL=C $(INTLTOOL_MERGE) -s -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< [$]@'
413
INTLTOOL_THEME_RULE='%.theme: %.theme.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; LC_ALL=C $(INTLTOOL_MERGE) -d -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< [$]@'
414
INTLTOOL_SERVICE_RULE='%.service: %.service.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; LC_ALL=C $(INTLTOOL_MERGE) -d -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< [$]@'
415
INTLTOOL_POLICY_RULE='%.policy: %.policy.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; LC_ALL=C $(INTLTOOL_MERGE) -x -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< [$]@'
417
AC_SUBST(INTLTOOL_DESKTOP_RULE)
418
AC_SUBST(INTLTOOL_DIRECTORY_RULE)
419
AC_SUBST(INTLTOOL_KEYS_RULE)
420
AC_SUBST(INTLTOOL_PROP_RULE)
421
AC_SUBST(INTLTOOL_OAF_RULE)
422
AC_SUBST(INTLTOOL_PONG_RULE)
423
AC_SUBST(INTLTOOL_SERVER_RULE)
424
AC_SUBST(INTLTOOL_SHEET_RULE)
425
AC_SUBST(INTLTOOL_SOUNDLIST_RULE)
426
AC_SUBST(INTLTOOL_UI_RULE)
427
AC_SUBST(INTLTOOL_XAM_RULE)
428
AC_SUBST(INTLTOOL_KBD_RULE)
429
AC_SUBST(INTLTOOL_XML_RULE)
430
AC_SUBST(INTLTOOL_XML_NOMERGE_RULE)
431
AC_SUBST(INTLTOOL_CAVES_RULE)
432
AC_SUBST(INTLTOOL_SCHEMAS_RULE)
433
AC_SUBST(INTLTOOL_THEME_RULE)
434
AC_SUBST(INTLTOOL_SERVICE_RULE)
435
AC_SUBST(INTLTOOL_POLICY_RULE)
437
# Use the tools built into the package, not the ones that are installed.
438
AC_SUBST(INTLTOOL_EXTRACT, '$(top_builddir)/intltool-extract')
439
AC_SUBST(INTLTOOL_MERGE, '$(top_builddir)/intltool-merge')
440
AC_SUBST(INTLTOOL_UPDATE, '$(top_builddir)/intltool-update')
442
AC_PATH_PROG(INTLTOOL_PERL, perl)
443
if test -z "$INTLTOOL_PERL"; then
444
AC_MSG_ERROR([perl not found; required for intltool])
446
if test -z "`$INTLTOOL_PERL -v | fgrep '5.' 2> /dev/null`"; then
447
AC_MSG_ERROR([perl 5.x required for intltool])
449
if test "x$2" != "xno-xml"; then
450
AC_MSG_CHECKING([for XML::Parser])
451
if `$INTLTOOL_PERL -e "require XML::Parser" 2>/dev/null`; then
454
AC_MSG_ERROR([XML::Parser perl module is required for intltool])
458
# Substitute ALL_LINGUAS so we can use it in po/Makefile
459
AC_SUBST(ALL_LINGUAS)
461
# Set DATADIRNAME correctly if it is not set yet
462
# (copied from glib-gettext.m4)
463
if test -z "$DATADIRNAME"; then
465
[AC_LANG_PROGRAM([[]],
466
[[extern int _nl_msg_cat_cntr;
467
return _nl_msg_cat_cntr]])],
471
dnl On Solaris, if bind_textdomain_codeset is in libc,
472
dnl GNU format message catalog is always supported,
473
dnl since both are added to the libc all together.
474
dnl Hence, we'd like to go with DATADIRNAME=share
476
AC_CHECK_FUNC(bind_textdomain_codeset,
477
[DATADIRNAME=share], [DATADIRNAME=lib])
484
AC_SUBST(DATADIRNAME)
488
dnl The following is very similar to
490
dnl AC_CONFIG_FILES([intltool-extract intltool-merge intltool-update])
492
dnl with the following slight differences:
493
dnl - the *.in files are in ac_aux_dir,
494
dnl - if the file haven't changed upon reconfigure, it's not touched,
495
dnl - the evaluation of the third parameter enables a hack which computes
496
dnl the actual value of $libdir,
497
dnl - the user sees "executing intltool commands", instead of
498
dnl "creating intltool-extract" and such.
500
dnl Nothing crucial here, and we could use AC_CONFIG_FILES, if there were
503
AC_CONFIG_COMMANDS([intltool], [
505
for file in intltool-extract intltool-merge intltool-update; do
506
sed -e "s|@INTLTOOL_EXTRACT@|`pwd`/intltool-extract|g" \
507
-e "s|@INTLTOOL_LIBDIR@|${INTLTOOL_LIBDIR}|g" \
508
-e "s|@INTLTOOL_PERL@|${INTLTOOL_PERL}|g" \
509
< ${ac_aux_dir}/${file}.in > ${file}.out
510
if cmp -s ${file} ${file}.out 2>/dev/null; then
513
mv -f ${file}.out ${file}
520
[INTLTOOL_PERL='${INTLTOOL_PERL}' ac_aux_dir='${ac_aux_dir}'
521
prefix="$prefix" exec_prefix="$exec_prefix" INTLTOOL_LIBDIR="$libdir"
522
INTLTOOL_EXTRACT='${INTLTOOL_EXTRACT}'])
525
m4trace:/usr/share/aclocal/intltool.m4:185: -1- AC_DEFUN([IT_PO_SUBDIR], [AC_PREREQ([2.53])dnl We use ac_top_srcdir inside AC_CONFIG_COMMANDS.
527
dnl The following CONFIG_COMMANDS should be exetuted at the very end
528
dnl of config.status.
529
AC_CONFIG_COMMANDS_PRE([
530
AC_CONFIG_COMMANDS([$1/stamp-it], [
531
rm -f "$1/stamp-it" "$1/stamp-it.tmp" "$1/POTFILES" "$1/Makefile.tmp"
536
'"s|^| $ac_top_srcdir/|" \
537
"$srcdir/$1/POTFILES.in" | sed '$!s/$/ \\/' >"$1/POTFILES"
539
if test ! -f "$1/Makefile"; then
540
AC_MSG_ERROR([$1/Makefile is not ready.])
542
mv "$1/Makefile" "$1/Makefile.tmp"
543
[sed '/^POTFILES =/,/[^\\]$/ {
547
' "$1/Makefile.tmp" >"$1/Makefile"]
548
rm -f "$1/Makefile.tmp"
549
mv "$1/stamp-it.tmp" "$1/stamp-it"
553
m4trace:/usr/share/aclocal/intltool.m4:217: -1- AU_DEFUN([AC_PROG_INTLTOOL], [m4_if($#, 0, [IT_PROG_INTLTOOL], [IT_PROG_INTLTOOL($@)])])
554
m4trace:/usr/share/aclocal/intltool.m4:217: -1- AC_DEFUN([AC_PROG_INTLTOOL], [AC_DIAGNOSE([obsolete], [The macro `AC_PROG_INTLTOOL' is obsolete.
555
You should run autoupdate.])dnl
556
m4_if($#, 0, [IT_PROG_INTLTOOL], [IT_PROG_INTLTOOL($@)])])
557
m4trace:/usr/share/aclocal/intmax.m4:11: -1- AC_DEFUN([gt_TYPE_INTMAX_T], [
558
AC_REQUIRE([gl_AC_HEADER_INTTYPES_H])
559
AC_REQUIRE([gl_AC_HEADER_STDINT_H])
560
AC_CACHE_CHECK(for intmax_t, gt_cv_c_intmax_t,
564
#if HAVE_STDINT_H_WITH_UINTMAX
567
#if HAVE_INTTYPES_H_WITH_UINTMAX
568
#include <inttypes.h>
572
gt_cv_c_intmax_t=yes,
573
gt_cv_c_intmax_t=no)])
574
if test $gt_cv_c_intmax_t = yes; then
575
AC_DEFINE(HAVE_INTMAX_T, 1,
576
[Define if you have the 'intmax_t' type in <stdint.h> or <inttypes.h>.])
579
m4trace:/usr/share/aclocal/inttypes-pri.m4:14: -1- AC_DEFUN([gt_INTTYPES_PRI], [
580
AC_CHECK_HEADERS([inttypes.h])
581
if test $ac_cv_header_inttypes_h = yes; then
582
AC_CACHE_CHECK([whether the inttypes.h PRIxNN macros are broken],
583
gt_cv_inttypes_pri_broken,
585
AC_TRY_COMPILE([#include <inttypes.h>
589
], [], gt_cv_inttypes_pri_broken=no, gt_cv_inttypes_pri_broken=yes)
592
if test "$gt_cv_inttypes_pri_broken" = yes; then
593
AC_DEFINE_UNQUOTED(PRI_MACROS_BROKEN, 1,
594
[Define if <inttypes.h> exists and defines unusable PRI* macros.])
599
AC_SUBST([PRI_MACROS_BROKEN])
601
m4trace:/usr/share/aclocal/inttypes_h.m4:12: -1- AC_DEFUN([gl_AC_HEADER_INTTYPES_H], [
602
AC_CACHE_CHECK([for inttypes.h], gl_cv_header_inttypes_h,
604
[#include <sys/types.h>
605
#include <inttypes.h>],
606
[uintmax_t i = (uintmax_t) -1; return !i;],
607
gl_cv_header_inttypes_h=yes,
608
gl_cv_header_inttypes_h=no)])
609
if test $gl_cv_header_inttypes_h = yes; then
610
AC_DEFINE_UNQUOTED(HAVE_INTTYPES_H_WITH_UINTMAX, 1,
611
[Define if <inttypes.h> exists, doesn't clash with <sys/types.h>,
612
and declares uintmax_t. ])
615
m4trace:/usr/share/aclocal/lcmessage.m4:21: -1- AC_DEFUN([gt_LC_MESSAGES], [
616
AC_CACHE_CHECK([for LC_MESSAGES], gt_cv_val_LC_MESSAGES,
617
[AC_TRY_LINK([#include <locale.h>], [return LC_MESSAGES],
618
gt_cv_val_LC_MESSAGES=yes, gt_cv_val_LC_MESSAGES=no)])
619
if test $gt_cv_val_LC_MESSAGES = yes; then
620
AC_DEFINE(HAVE_LC_MESSAGES, 1,
621
[Define if your <locale.h> file defines LC_MESSAGES.])
624
m4trace:/usr/share/aclocal/lock.m4:22: -1- AC_DEFUN([gl_LOCK_EARLY], [
625
AC_REQUIRE([gl_LOCK_EARLY_BODY])
627
m4trace:/usr/share/aclocal/lock.m4:29: -1- AC_DEFUN([gl_LOCK_EARLY_BODY], [
628
dnl Ordering constraints: This macro modifies CPPFLAGS in a way that
629
dnl influences the result of the autoconf tests that test for *_unlocked
630
dnl declarations, on AIX 5 at least. Therefore it must come early.
631
AC_BEFORE([$0], [gl_FUNC_GLIBC_UNLOCKED_IO])dnl
632
AC_BEFORE([$0], [gl_ARGP])dnl
634
AC_REQUIRE([AC_CANONICAL_HOST])
635
AC_REQUIRE([AC_GNU_SOURCE]) dnl needed for pthread_rwlock_t on glibc systems
636
dnl Check for multithreading.
637
AC_ARG_ENABLE(threads,
638
AC_HELP_STRING([--enable-threads={posix|solaris|pth|win32}], [specify multithreading API])
639
AC_HELP_STRING([--disable-threads], [build without multithread safety]),
640
[gl_use_threads=$enableval],
642
dnl Disable multithreading by default on OSF/1, because it interferes
643
dnl with fork()/exec(): When msgexec is linked with -lpthread, its child
644
dnl process gets an endless segmentation fault inside execvp().
645
osf*) gl_use_threads=no ;;
646
*) gl_use_threads=yes ;;
649
if test "$gl_use_threads" = yes || test "$gl_use_threads" = posix; then
650
# For using <pthread.h>:
653
# On OSF/1, the compiler needs the flag -D_REENTRANT so that it
654
# groks <pthread.h>. cc also understands the flag -pthread, but
655
# we don't use it because 1. gcc-2.95 doesn't understand -pthread,
656
# 2. putting a flag into CPPFLAGS that has an effect on the linker
657
# causes the AC_TRY_LINK test below to succeed unexpectedly,
658
# leading to wrong values of LIBTHREAD and LTLIBTHREAD.
659
CPPFLAGS="$CPPFLAGS -D_REENTRANT"
662
# Some systems optimize for single-threaded programs by default, and
663
# need special flags to disable these optimizations. For example, the
664
# definition of 'errno' in <errno.h>.
666
aix* | freebsd*) CPPFLAGS="$CPPFLAGS -D_THREAD_SAFE" ;;
667
solaris*) CPPFLAGS="$CPPFLAGS -D_REENTRANT" ;;
671
m4trace:/usr/share/aclocal/lock.m4:77: -1- AC_DEFUN([gl_LOCK_BODY], [
672
AC_REQUIRE([gl_LOCK_EARLY_BODY])
678
if test "$gl_use_threads" != no; then
679
dnl Check whether the compiler and linker support weak declarations.
680
AC_MSG_CHECKING([whether imported symbols can be declared weak])
682
AC_TRY_LINK([extern void xyzzy ();
683
#pragma weak xyzzy], [xyzzy();], [gl_have_weak=yes])
684
AC_MSG_RESULT([$gl_have_weak])
685
if test "$gl_use_threads" = yes || test "$gl_use_threads" = posix; then
686
# On OSF/1, the compiler needs the flag -pthread or -D_REENTRANT so that
687
# it groks <pthread.h>. It's added above, in gl_LOCK_EARLY_BODY.
688
AC_CHECK_HEADER(pthread.h, gl_have_pthread_h=yes, gl_have_pthread_h=no)
689
if test "$gl_have_pthread_h" = yes; then
690
# Other possible tests:
691
# -lpthreads (FSU threads, PCthreads)
694
# Test whether both pthread_mutex_lock and pthread_mutexattr_init exist
695
# in libc. IRIX 6.5 has the first one in both libc and libpthread, but
696
# the second one only in libpthread, and lock.c needs it.
697
AC_TRY_LINK([#include <pthread.h>],
698
[pthread_mutex_lock((pthread_mutex_t*)0);
699
pthread_mutexattr_init((pthread_mutexattr_t*)0);],
700
[gl_have_pthread=yes])
701
# Test for libpthread by looking for pthread_kill. (Not pthread_self,
702
# since it is defined as a macro on OSF/1.)
703
if test -n "$gl_have_pthread"; then
704
# The program links fine without libpthread. But it may actually
705
# need to link with libpthread in order to create multiple threads.
706
AC_CHECK_LIB(pthread, pthread_kill,
707
[LIBMULTITHREAD=-lpthread LTLIBMULTITHREAD=-lpthread
708
# On Solaris and HP-UX, most pthread functions exist also in libc.
709
# Therefore pthread_in_use() needs to actually try to create a
710
# thread: pthread_create from libc will fail, whereas
711
# pthread_create will actually create a thread.
714
AC_DEFINE([PTHREAD_IN_USE_DETECTION_HARD], 1,
715
[Define if the pthread_in_use() detection is hard.])
719
# Some library is needed. Try libpthread and libc_r.
720
AC_CHECK_LIB(pthread, pthread_kill,
722
LIBTHREAD=-lpthread LTLIBTHREAD=-lpthread
723
LIBMULTITHREAD=-lpthread LTLIBMULTITHREAD=-lpthread])
724
if test -z "$gl_have_pthread"; then
726
AC_CHECK_LIB(c_r, pthread_kill,
728
LIBTHREAD=-lc_r LTLIBTHREAD=-lc_r
729
LIBMULTITHREAD=-lc_r LTLIBMULTITHREAD=-lc_r])
732
if test -n "$gl_have_pthread"; then
734
AC_DEFINE([USE_POSIX_THREADS], 1,
735
[Define if the POSIX multithreading library can be used.])
736
if test -n "$LIBMULTITHREAD" || test -n "$LTLIBMULTITHREAD"; then
737
if test $gl_have_weak = yes; then
738
AC_DEFINE([USE_POSIX_THREADS_WEAK], 1,
739
[Define if references to the POSIX multithreading library should be made weak.])
744
# OSF/1 4.0 and MacOS X 10.1 lack the pthread_rwlock_t type and the
745
# pthread_rwlock_* functions.
746
AC_CHECK_TYPE([pthread_rwlock_t],
747
[AC_DEFINE([HAVE_PTHREAD_RWLOCK], 1,
748
[Define if the POSIX multithreading library has read/write locks.])],
750
[#include <pthread.h>])
751
# glibc defines PTHREAD_MUTEX_RECURSIVE as enum, not as a macro.
752
AC_TRY_COMPILE([#include <pthread.h>],
753
[#if __FreeBSD__ == 4
754
error "No, in FreeBSD 4.0 recursive mutexes actually don't work."
756
int x = (int)PTHREAD_MUTEX_RECURSIVE;
759
[AC_DEFINE([HAVE_PTHREAD_MUTEX_RECURSIVE], 1,
760
[Define if the <pthread.h> defines PTHREAD_MUTEX_RECURSIVE.])])
764
if test -z "$gl_have_pthread"; then
765
if test "$gl_use_threads" = yes || test "$gl_use_threads" = solaris; then
766
gl_have_solaristhread=
768
LIBS="$LIBS -lthread"
769
AC_TRY_LINK([#include <thread.h>
772
[gl_have_solaristhread=yes])
774
if test -n "$gl_have_solaristhread"; then
775
gl_threads_api=solaris
778
LIBMULTITHREAD="$LIBTHREAD"
779
LTLIBMULTITHREAD="$LTLIBTHREAD"
780
AC_DEFINE([USE_SOLARIS_THREADS], 1,
781
[Define if the old Solaris multithreading library can be used.])
782
if test $gl_have_weak = yes; then
783
AC_DEFINE([USE_SOLARIS_THREADS_WEAK], 1,
784
[Define if references to the old Solaris multithreading library should be made weak.])
791
if test "$gl_use_threads" = pth; then
792
gl_save_CPPFLAGS="$CPPFLAGS"
793
AC_LIB_LINKFLAGS(pth)
797
AC_TRY_LINK([#include <pth.h>], [pth_self();], gl_have_pth=yes)
799
if test -n "$gl_have_pth"; then
802
LTLIBTHREAD="$LTLIBPTH"
803
LIBMULTITHREAD="$LIBTHREAD"
804
LTLIBMULTITHREAD="$LTLIBTHREAD"
805
AC_DEFINE([USE_PTH_THREADS], 1,
806
[Define if the GNU Pth multithreading library can be used.])
807
if test -n "$LIBMULTITHREAD" || test -n "$LTLIBMULTITHREAD"; then
808
if test $gl_have_weak = yes; then
809
AC_DEFINE([USE_PTH_THREADS_WEAK], 1,
810
[Define if references to the GNU Pth multithreading library should be made weak.])
816
CPPFLAGS="$gl_save_CPPFLAGS"
819
if test -z "$gl_have_pthread"; then
820
if test "$gl_use_threads" = yes || test "$gl_use_threads" = win32; then
821
if { case "$host_os" in
827
AC_DEFINE([USE_WIN32_THREADS], 1,
828
[Define if the Win32 multithreading API can be used.])
833
AC_MSG_CHECKING([for multithread API to use])
834
AC_MSG_RESULT([$gl_threads_api])
836
AC_SUBST(LTLIBTHREAD)
837
AC_SUBST(LIBMULTITHREAD)
838
AC_SUBST(LTLIBMULTITHREAD)
840
m4trace:/usr/share/aclocal/lock.m4:248: -1- AC_DEFUN([gl_LOCK], [
841
AC_REQUIRE([gl_LOCK_EARLY])
842
AC_REQUIRE([gl_LOCK_BODY])
845
m4trace:/usr/share/aclocal/lock.m4:256: -1- AC_DEFUN([gl_PREREQ_LOCK], [
846
AC_REQUIRE([AC_C_INLINE])
848
m4trace:/usr/share/aclocal/longdouble.m4:14: -1- AC_DEFUN([gt_TYPE_LONGDOUBLE], [
849
AC_CACHE_CHECK([for long double], gt_cv_c_long_double,
850
[if test "$GCC" = yes; then
851
gt_cv_c_long_double=yes
854
/* The Stardent Vistra knows sizeof(long double), but does not support it. */
855
long double foo = 0.0;
856
/* On Ultrix 4.3 cc, long double is 4 and double is 8. */
857
int array [2*(sizeof(long double) >= sizeof(double)) - 1];
859
gt_cv_c_long_double=yes, gt_cv_c_long_double=no)
861
if test $gt_cv_c_long_double = yes; then
862
AC_DEFINE(HAVE_LONG_DOUBLE, 1, [Define if you have the 'long double' type.])
865
m4trace:/usr/share/aclocal/longlong.m4:17: -1- AC_DEFUN([AC_TYPE_LONG_LONG_INT], [
866
AC_CACHE_CHECK([for long long int], [ac_cv_type_long_long_int],
869
[[long long int ll = 9223372036854775807ll;
870
long long int nll = -9223372036854775807LL;
871
typedef int a[((-9223372036854775807LL < 0
872
&& 0 < 9223372036854775807ll)
875
[[long long int llmax = 9223372036854775807ll;
876
return ((ll << 63) | (ll >> 63) | (ll < i) | (ll > i)
877
| (llmax / ll) | (llmax % ll));]])],
878
[ac_cv_type_long_long_int=yes],
879
[ac_cv_type_long_long_int=no])])
880
if test $ac_cv_type_long_long_int = yes; then
881
AC_DEFINE([HAVE_LONG_LONG_INT], 1,
882
[Define to 1 if the system has the type `long long int'.])
885
m4trace:/usr/share/aclocal/longlong.m4:40: -1- AC_DEFUN([gl_AC_TYPE_LONG_LONG], [
886
AC_REQUIRE([AC_TYPE_LONG_LONG_INT])
887
ac_cv_type_long_long=$ac_cv_type_long_long_int
888
if test $ac_cv_type_long_long = yes; then
889
AC_DEFINE(HAVE_LONG_LONG, 1,
890
[Define if you have the 'long long' type.])
893
m4trace:/usr/share/aclocal/pkg.m4:26: -1- AC_DEFUN([PKG_PROG_PKG_CONFIG], [m4_pattern_forbid([^_?PKG_[A-Z_]+$])
894
m4_pattern_allow([^PKG_CONFIG(_PATH)?$])
895
AC_ARG_VAR([PKG_CONFIG], [path to pkg-config utility])dnl
896
if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
897
AC_PATH_TOOL([PKG_CONFIG], [pkg-config])
899
if test -n "$PKG_CONFIG"; then
900
_pkg_min_version=m4_default([$1], [0.9.0])
901
AC_MSG_CHECKING([pkg-config is at least version $_pkg_min_version])
902
if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
911
m4trace:/usr/share/aclocal/pkg.m4:56: -1- AC_DEFUN([PKG_CHECK_EXISTS], [AC_REQUIRE([PKG_PROG_PKG_CONFIG])dnl
912
if test -n "$PKG_CONFIG" && \
913
AC_RUN_LOG([$PKG_CONFIG --exists --print-errors "$1"]); then
914
m4_ifval([$2], [$2], [:])
915
m4_ifvaln([$3], [else
918
m4trace:/usr/share/aclocal/pkg.m4:84: -1- AC_DEFUN([_PKG_SHORT_ERRORS_SUPPORTED], [AC_REQUIRE([PKG_PROG_PKG_CONFIG])
919
if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
920
_pkg_short_errors_supported=yes
922
_pkg_short_errors_supported=no
925
m4trace:/usr/share/aclocal/pkg.m4:104: -1- AC_DEFUN([PKG_CHECK_MODULES], [AC_REQUIRE([PKG_PROG_PKG_CONFIG])dnl
926
AC_ARG_VAR([$1][_CFLAGS], [C compiler flags for $1, overriding pkg-config])dnl
927
AC_ARG_VAR([$1][_LIBS], [linker flags for $1, overriding pkg-config])dnl
930
AC_MSG_CHECKING([for $1])
932
_PKG_CONFIG([$1][_CFLAGS], [cflags], [$2])
933
_PKG_CONFIG([$1][_LIBS], [libs], [$2])
935
m4_define([_PKG_TEXT], [Alternatively, you may set the environment variables $1[]_CFLAGS
936
and $1[]_LIBS to avoid the need to call pkg-config.
937
See the pkg-config man page for more details.])
939
if test $pkg_failed = yes; then
940
_PKG_SHORT_ERRORS_SUPPORTED
941
if test $_pkg_short_errors_supported = yes; then
942
$1[]_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "$2"`
944
$1[]_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "$2"`
946
# Put the nasty error message in config.log where it belongs
947
echo "$$1[]_PKG_ERRORS" >&AS_MESSAGE_LOG_FD
949
ifelse([$4], , [AC_MSG_ERROR(dnl
950
[Package requirements ($2) were not met:
954
Consider adjusting the PKG_CONFIG_PATH environment variable if you
955
installed software in a non-standard prefix.
961
elif test $pkg_failed = untried; then
962
ifelse([$4], , [AC_MSG_FAILURE(dnl
963
[The pkg-config script could not be found or is too old. Make sure it
964
is in your PATH or set the PKG_CONFIG environment variable to the full
969
To get pkg-config, see <http://pkg-config.freedesktop.org/>.])],
972
$1[]_CFLAGS=$pkg_cv_[]$1[]_CFLAGS
973
$1[]_LIBS=$pkg_cv_[]$1[]_LIBS
975
ifelse([$3], , :, [$3])
978
m4trace:/usr/share/aclocal/printf-posix.m4:11: -1- AC_DEFUN([gt_PRINTF_POSIX], [
979
AC_REQUIRE([AC_PROG_CC])
980
AC_CACHE_CHECK([whether printf() supports POSIX/XSI format strings],
981
gt_cv_func_printf_posix,
986
/* The string "%2$d %1$d", with dollar characters protected from the shell's
987
dollar expansion (possibly an autoconf bug). */
988
static char format[] = { '%', '2', '$', 'd', ' ', '%', '1', '$', 'd', '\0' };
989
static char buf[100];
992
sprintf (buf, format, 33, 55);
993
return (strcmp (buf, "55 33") != 0);
994
}], gt_cv_func_printf_posix=yes, gt_cv_func_printf_posix=no,
996
AC_EGREP_CPP(notposix, [
997
#if defined __NetBSD__ || defined _MSC_VER || defined __MINGW32__ || defined __CYGWIN__
1000
], gt_cv_func_printf_posix="guessing no",
1001
gt_cv_func_printf_posix="guessing yes")
1004
case $gt_cv_func_printf_posix in
1006
AC_DEFINE(HAVE_POSIX_PRINTF, 1,
1007
[Define if your printf() function supports format strings with positions.])
1011
m4trace:/usr/share/aclocal/size_max.m4:9: -1- AC_DEFUN([gl_SIZE_MAX], [
1012
AC_CHECK_HEADERS(stdint.h)
1013
dnl First test whether the system already has SIZE_MAX.
1014
AC_MSG_CHECKING([for SIZE_MAX])
1015
AC_CACHE_VAL([gl_cv_size_max], [
1017
AC_EGREP_CPP([Found it], [
1025
], gl_cv_size_max=yes)
1026
if test -z "$gl_cv_size_max"; then
1027
dnl Define it ourselves. Here we assume that the type 'size_t' is not wider
1028
dnl than the type 'unsigned long'. Try hard to find a definition that can
1029
dnl be used in a preprocessor #if, i.e. doesn't contain a cast.
1030
_AC_COMPUTE_INT([sizeof (size_t) * CHAR_BIT - 1], size_t_bits_minus_1,
1031
[#include <stddef.h>
1032
#include <limits.h>], size_t_bits_minus_1=)
1033
_AC_COMPUTE_INT([sizeof (size_t) <= sizeof (unsigned int)], fits_in_uint,
1034
[#include <stddef.h>], fits_in_uint=)
1035
if test -n "$size_t_bits_minus_1" && test -n "$fits_in_uint"; then
1036
if test $fits_in_uint = 1; then
1037
dnl Even though SIZE_MAX fits in an unsigned int, it must be of type
1038
dnl 'unsigned long' if the type 'size_t' is the same as 'unsigned long'.
1039
AC_TRY_COMPILE([#include <stddef.h>
1041
extern unsigned long foo;
1042
], [], fits_in_uint=0)
1044
dnl We cannot use 'expr' to simplify this expression, because 'expr'
1045
dnl works only with 'long' integers in the host environment, while we
1046
dnl might be cross-compiling from a 32-bit platform to a 64-bit platform.
1047
if test $fits_in_uint = 1; then
1048
gl_cv_size_max="(((1U << $size_t_bits_minus_1) - 1) * 2 + 1)"
1050
gl_cv_size_max="(((1UL << $size_t_bits_minus_1) - 1) * 2 + 1)"
1053
dnl Shouldn't happen, but who knows...
1054
gl_cv_size_max='((size_t)~(size_t)0)'
1058
AC_MSG_RESULT([$gl_cv_size_max])
1059
if test "$gl_cv_size_max" != yes; then
1060
AC_DEFINE_UNQUOTED([SIZE_MAX], [$gl_cv_size_max],
1061
[Define as the maximum value of type 'size_t', if the system doesn't define it.])
1064
m4trace:/usr/share/aclocal/stdint_h.m4:12: -1- AC_DEFUN([gl_AC_HEADER_STDINT_H], [
1065
AC_CACHE_CHECK([for stdint.h], gl_cv_header_stdint_h,
1067
[#include <sys/types.h>
1068
#include <stdint.h>],
1069
[uintmax_t i = (uintmax_t) -1; return !i;],
1070
gl_cv_header_stdint_h=yes,
1071
gl_cv_header_stdint_h=no)])
1072
if test $gl_cv_header_stdint_h = yes; then
1073
AC_DEFINE_UNQUOTED(HAVE_STDINT_H_WITH_UINTMAX, 1,
1074
[Define if <stdint.h> exists, doesn't clash with <sys/types.h>,
1075
and declares uintmax_t. ])
1078
m4trace:/usr/share/aclocal/uintmax_t.m4:14: -1- AC_DEFUN([gl_AC_TYPE_UINTMAX_T], [
1079
AC_REQUIRE([gl_AC_HEADER_INTTYPES_H])
1080
AC_REQUIRE([gl_AC_HEADER_STDINT_H])
1081
if test $gl_cv_header_inttypes_h = no && test $gl_cv_header_stdint_h = no; then
1082
AC_REQUIRE([gl_AC_TYPE_UNSIGNED_LONG_LONG])
1083
test $ac_cv_type_unsigned_long_long = yes \
1084
&& ac_type='unsigned long long' \
1085
|| ac_type='unsigned long'
1086
AC_DEFINE_UNQUOTED(uintmax_t, $ac_type,
1087
[Define to unsigned long or unsigned long long
1088
if <stdint.h> and <inttypes.h> don't define.])
1090
AC_DEFINE(HAVE_UINTMAX_T, 1,
1091
[Define if you have the 'uintmax_t' type in <stdint.h> or <inttypes.h>.])
1094
m4trace:/usr/share/aclocal/ulonglong.m4:18: -1- AC_DEFUN([AC_TYPE_UNSIGNED_LONG_LONG_INT], [
1095
AC_CACHE_CHECK([for unsigned long long int],
1096
[ac_cv_type_unsigned_long_long_int],
1099
[[unsigned long long int ull = 18446744073709551615ULL;
1100
typedef int a[(18446744073709551615ULL <= (unsigned long long int) -1
1103
[[unsigned long long int ullmax = 18446744073709551615ull;
1104
return (ull << 63 | ull >> 63 | ull << i | ull >> i
1105
| ullmax / ull | ullmax % ull);]])],
1106
[ac_cv_type_unsigned_long_long_int=yes],
1107
[ac_cv_type_unsigned_long_long_int=no])])
1108
if test $ac_cv_type_unsigned_long_long_int = yes; then
1109
AC_DEFINE([HAVE_UNSIGNED_LONG_LONG_INT], 1,
1110
[Define to 1 if the system has the type `unsigned long long int'.])
1113
m4trace:/usr/share/aclocal/ulonglong.m4:40: -1- AC_DEFUN([gl_AC_TYPE_UNSIGNED_LONG_LONG], [
1114
AC_REQUIRE([AC_TYPE_UNSIGNED_LONG_LONG_INT])
1115
ac_cv_type_unsigned_long_long=$ac_cv_type_unsigned_long_long_int
1116
if test $ac_cv_type_unsigned_long_long = yes; then
1117
AC_DEFINE(HAVE_UNSIGNED_LONG_LONG, 1,
1118
[Define if you have the 'unsigned long long' type.])
1121
m4trace:/usr/share/aclocal/visibility.m4:23: -1- AC_DEFUN([gl_VISIBILITY], [
1122
AC_REQUIRE([AC_PROG_CC])
1125
if test -n "$GCC"; then
1126
AC_MSG_CHECKING([for simple visibility declarations])
1127
AC_CACHE_VAL(gl_cv_cc_visibility, [
1128
gl_save_CFLAGS="$CFLAGS"
1129
CFLAGS="$CFLAGS -fvisibility=hidden"
1131
[extern __attribute__((__visibility__("hidden"))) int hiddenvar;
1132
extern __attribute__((__visibility__("default"))) int exportedvar;
1133
extern __attribute__((__visibility__("hidden"))) int hiddenfunc (void);
1134
extern __attribute__((__visibility__("default"))) int exportedfunc (void);],
1136
gl_cv_cc_visibility=yes,
1137
gl_cv_cc_visibility=no)
1138
CFLAGS="$gl_save_CFLAGS"])
1139
AC_MSG_RESULT([$gl_cv_cc_visibility])
1140
if test $gl_cv_cc_visibility = yes; then
1141
CFLAG_VISIBILITY="-fvisibility=hidden"
1145
AC_SUBST([CFLAG_VISIBILITY])
1146
AC_SUBST([HAVE_VISIBILITY])
1147
AC_DEFINE_UNQUOTED([HAVE_VISIBILITY], [$HAVE_VISIBILITY],
1148
[Define to 1 or 0, depending whether the compiler supports simple visibility declarations.])
1150
m4trace:/usr/share/aclocal/wchar_t.m4:11: -1- AC_DEFUN([gt_TYPE_WCHAR_T], [
1151
AC_CACHE_CHECK([for wchar_t], gt_cv_c_wchar_t,
1152
[AC_TRY_COMPILE([#include <stddef.h>
1153
wchar_t foo = (wchar_t)'\0';], ,
1154
gt_cv_c_wchar_t=yes, gt_cv_c_wchar_t=no)])
1155
if test $gt_cv_c_wchar_t = yes; then
1156
AC_DEFINE(HAVE_WCHAR_T, 1, [Define if you have the 'wchar_t' type.])
1159
m4trace:/usr/share/aclocal/wint_t.m4:11: -1- AC_DEFUN([gt_TYPE_WINT_T], [
1160
AC_CACHE_CHECK([for wint_t], gt_cv_c_wint_t,
1161
[AC_TRY_COMPILE([#include <wchar.h>
1162
wint_t foo = (wchar_t)'\0';], ,
1163
gt_cv_c_wint_t=yes, gt_cv_c_wint_t=no)])
1164
if test $gt_cv_c_wint_t = yes; then
1165
AC_DEFINE(HAVE_WINT_T, 1, [Define if you have the 'wint_t' type.])
1168
m4trace:/usr/share/aclocal/xsize.m4:7: -1- AC_DEFUN([gl_XSIZE], [
1169
dnl Prerequisites of lib/xsize.h.
1170
AC_REQUIRE([gl_SIZE_MAX])
1171
AC_REQUIRE([AC_C_INLINE])
1172
AC_CHECK_HEADERS(stdint.h)
1174
m4trace:/usr/share/aclocal-1.10/amversion.m4:14: -1- AC_DEFUN([AM_AUTOMAKE_VERSION], [am__api_version='1.10'
1175
dnl Some users find AM_AUTOMAKE_VERSION and mistake it for a way to
1176
dnl require some minimum version. Point them to the right macro.
1177
m4_if([$1], [1.10], [],
1178
[AC_FATAL([Do not call $0, use AM_INIT_AUTOMAKE([$1]).])])dnl
1180
m4trace:/usr/share/aclocal-1.10/amversion.m4:33: -1- AC_DEFUN([AM_SET_CURRENT_AUTOMAKE_VERSION], [AM_AUTOMAKE_VERSION([1.10])dnl
1181
_AM_AUTOCONF_VERSION(m4_PACKAGE_VERSION)])
1182
m4trace:/usr/share/aclocal-1.10/auxdir.m4:47: -1- AC_DEFUN([AM_AUX_DIR_EXPAND], [dnl Rely on autoconf to set up CDPATH properly.
1183
AC_PREREQ([2.50])dnl
1184
# expand $ac_aux_dir to an absolute path
1185
am_aux_dir=`cd $ac_aux_dir && pwd`
1187
m4trace:/usr/share/aclocal-1.10/cond.m4:15: -1- AC_DEFUN([AM_CONDITIONAL], [AC_PREREQ(2.52)dnl
1188
ifelse([$1], [TRUE], [AC_FATAL([$0: invalid condition: $1])],
1189
[$1], [FALSE], [AC_FATAL([$0: invalid condition: $1])])dnl
1190
AC_SUBST([$1_TRUE])dnl
1191
AC_SUBST([$1_FALSE])dnl
1192
_AM_SUBST_NOTMAKE([$1_TRUE])dnl
1193
_AM_SUBST_NOTMAKE([$1_FALSE])dnl
1201
AC_CONFIG_COMMANDS_PRE(
1202
[if test -z "${$1_TRUE}" && test -z "${$1_FALSE}"; then
1203
AC_MSG_ERROR([[conditional "$1" was never defined.
1204
Usually this means the macro was only invoked conditionally.]])
1206
m4trace:/usr/share/aclocal-1.10/depend.m4:28: -1- AC_DEFUN([_AM_DEPENDENCIES], [AC_REQUIRE([AM_SET_DEPDIR])dnl
1207
AC_REQUIRE([AM_OUTPUT_DEPENDENCY_COMMANDS])dnl
1208
AC_REQUIRE([AM_MAKE_INCLUDE])dnl
1209
AC_REQUIRE([AM_DEP_TRACK])dnl
1211
ifelse([$1], CC, [depcc="$CC" am_compiler_list=],
1212
[$1], CXX, [depcc="$CXX" am_compiler_list=],
1213
[$1], OBJC, [depcc="$OBJC" am_compiler_list='gcc3 gcc'],
1214
[$1], UPC, [depcc="$UPC" am_compiler_list=],
1215
[$1], GCJ, [depcc="$GCJ" am_compiler_list='gcc3 gcc'],
1216
[depcc="$$1" am_compiler_list=])
1218
AC_CACHE_CHECK([dependency style of $depcc],
1219
[am_cv_$1_dependencies_compiler_type],
1220
[if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
1221
# We make a subdir and do the tests there. Otherwise we can end up
1222
# making bogus files that we don't know about and never remove. For
1223
# instance it was reported that on HP-UX the gcc test will end up
1224
# making a dummy file named `D' -- because `-MD' means `put the output
1227
# Copy depcomp to subdir because otherwise we won't find it if we're
1228
# using a relative directory.
1229
cp "$am_depcomp" conftest.dir
1231
# We will build objects and dependencies in a subdirectory because
1232
# it helps to detect inapplicable dependency modes. For instance
1233
# both Tru64's cc and ICC support -MD to output dependencies as a
1234
# side effect of compilation, but ICC will put the dependencies in
1235
# the current directory while Tru64 will put them in the object
1239
am_cv_$1_dependencies_compiler_type=none
1240
if test "$am_compiler_list" = ""; then
1241
am_compiler_list=`sed -n ['s/^#*\([a-zA-Z0-9]*\))$/\1/p'] < ./depcomp`
1243
for depmode in $am_compiler_list; do
1244
# Setup a source with many dependencies, because some compilers
1245
# like to wrap large dependency lists on column 80 (with \), and
1246
# we should not choose a depcomp mode which is confused by this.
1248
# We need to recreate these files for each test, as the compiler may
1249
# overwrite some of them when testing with obscure command lines.
1250
# This happens at least with the AIX C compiler.
1252
for i in 1 2 3 4 5 6; do
1253
echo '#include "conftst'$i'.h"' >> sub/conftest.c
1254
# Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
1255
# Solaris 8's {/usr,}/bin/sh.
1256
touch sub/conftst$i.h
1258
echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
1262
# after this tag, mechanisms are not by side-effect, so they'll
1263
# only be used when explicitly requested
1264
if test "x$enable_dependency_tracking" = xyes; then
1272
# We check with `-c' and `-o' for the sake of the "dashmstdout"
1273
# mode. It turns out that the SunPro C++ compiler does not properly
1274
# handle `-M -o', and we need to detect this.
1275
if depmode=$depmode \
1276
source=sub/conftest.c object=sub/conftest.${OBJEXT-o} \
1277
depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
1278
$SHELL ./depcomp $depcc -c -o sub/conftest.${OBJEXT-o} sub/conftest.c \
1279
>/dev/null 2>conftest.err &&
1280
grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
1281
grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
1282
grep sub/conftest.${OBJEXT-o} sub/conftest.Po > /dev/null 2>&1 &&
1283
${MAKE-make} -s -f confmf > /dev/null 2>&1; then
1284
# icc doesn't choke on unknown options, it will just issue warnings
1285
# or remarks (even with -Werror). So we grep stderr for any message
1286
# that says an option was ignored or not supported.
1287
# When given -MP, icc 7.0 and 7.1 complain thusly:
1288
# icc: Command line warning: ignoring option '-M'; no argument required
1289
# The diagnosis changed in icc 8.0:
1290
# icc: Command line remark: option '-MP' not supported
1291
if (grep 'ignoring option' conftest.err ||
1292
grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
1293
am_cv_$1_dependencies_compiler_type=$depmode
1302
am_cv_$1_dependencies_compiler_type=none
1305
AC_SUBST([$1DEPMODE], [depmode=$am_cv_$1_dependencies_compiler_type])
1306
AM_CONDITIONAL([am__fastdep$1], [
1307
test "x$enable_dependency_tracking" != xno \
1308
&& test "$am_cv_$1_dependencies_compiler_type" = gcc3])
1310
m4trace:/usr/share/aclocal-1.10/depend.m4:139: -1- AC_DEFUN([AM_SET_DEPDIR], [AC_REQUIRE([AM_SET_LEADING_DOT])dnl
1311
AC_SUBST([DEPDIR], ["${am__leading_dot}deps"])dnl
1313
m4trace:/usr/share/aclocal-1.10/depend.m4:147: -1- AC_DEFUN([AM_DEP_TRACK], [AC_ARG_ENABLE(dependency-tracking,
1314
[ --disable-dependency-tracking speeds up one-time build
1315
--enable-dependency-tracking do not reject slow dependency extractors])
1316
if test "x$enable_dependency_tracking" != xno; then
1317
am_depcomp="$ac_aux_dir/depcomp"
1320
AM_CONDITIONAL([AMDEP], [test "x$enable_dependency_tracking" != xno])
1321
AC_SUBST([AMDEPBACKSLASH])dnl
1322
_AM_SUBST_NOTMAKE([AMDEPBACKSLASH])dnl
1324
m4trace:/usr/share/aclocal-1.10/depout.m4:14: -1- AC_DEFUN([_AM_OUTPUT_DEPENDENCY_COMMANDS], [for mf in $CONFIG_FILES; do
1325
# Strip MF so we end up with the name of the file.
1326
mf=`echo "$mf" | sed -e 's/:.*$//'`
1327
# Check whether this is an Automake generated Makefile or not.
1328
# We used to match only the files named `Makefile.in', but
1329
# some people rename them; so instead we look at the file content.
1330
# Grep'ing the first line is not enough: some people post-process
1331
# each Makefile.in and add a new line on top of each file to say so.
1332
# Grep'ing the whole file is not good either: AIX grep has a line
1333
# limit of 2048, but all sed's we know have understand at least 4000.
1334
if sed 10q "$mf" | grep '^#.*generated by automake' > /dev/null 2>&1; then
1335
dirpart=`AS_DIRNAME("$mf")`
1339
# Extract the definition of DEPDIR, am__include, and am__quote
1340
# from the Makefile without running `make'.
1341
DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"`
1342
test -z "$DEPDIR" && continue
1343
am__include=`sed -n 's/^am__include = //p' < "$mf"`
1344
test -z "am__include" && continue
1345
am__quote=`sed -n 's/^am__quote = //p' < "$mf"`
1346
# When using ansi2knr, U may be empty or an underscore; expand it
1347
U=`sed -n 's/^U = //p' < "$mf"`
1348
# Find all dependency output files, they are included files with
1349
# $(DEPDIR) in their names. We invoke sed twice because it is the
1350
# simplest approach to changing $(DEPDIR) to its actual value in the
1352
for file in `sed -n "
1353
s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
1354
sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do
1355
# Make sure the directory exists.
1356
test -f "$dirpart/$file" && continue
1357
fdir=`AS_DIRNAME(["$file"])`
1358
AS_MKDIR_P([$dirpart/$fdir])
1359
# echo "creating $dirpart/$file"
1360
echo '# dummy' > "$dirpart/$file"
1364
m4trace:/usr/share/aclocal-1.10/depout.m4:64: -1- AC_DEFUN([AM_OUTPUT_DEPENDENCY_COMMANDS], [AC_CONFIG_COMMANDS([depfiles],
1365
[test x"$AMDEP_TRUE" != x"" || _AM_OUTPUT_DEPENDENCY_COMMANDS],
1366
[AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"])
1368
m4trace:/usr/share/aclocal-1.10/init.m4:26: -1- AC_DEFUN([AM_INIT_AUTOMAKE], [AC_PREREQ([2.60])dnl
1369
dnl Autoconf wants to disallow AM_ names. We explicitly allow
1370
dnl the ones we care about.
1371
m4_pattern_allow([^AM_[A-Z]+FLAGS$])dnl
1372
AC_REQUIRE([AM_SET_CURRENT_AUTOMAKE_VERSION])dnl
1373
AC_REQUIRE([AC_PROG_INSTALL])dnl
1374
if test "`cd $srcdir && pwd`" != "`pwd`"; then
1375
# Use -I$(srcdir) only when $(srcdir) != ., so that make's output
1376
# is not polluted with repeated "-I."
1377
AC_SUBST([am__isrc], [' -I$(srcdir)'])_AM_SUBST_NOTMAKE([am__isrc])dnl
1378
# test to see if srcdir already configured
1379
if test -f $srcdir/config.status; then
1380
AC_MSG_ERROR([source directory already configured; run "make distclean" there first])
1384
# test whether we have cygpath
1385
if test -z "$CYGPATH_W"; then
1386
if (cygpath --version) >/dev/null 2>/dev/null; then
1387
CYGPATH_W='cygpath -w'
1392
AC_SUBST([CYGPATH_W])
1394
# Define the identity of the package.
1395
dnl Distinguish between old-style and new-style calls.
1397
[m4_ifval([$3], [_AM_SET_OPTION([no-define])])dnl
1398
AC_SUBST([PACKAGE], [$1])dnl
1399
AC_SUBST([VERSION], [$2])],
1400
[_AM_SET_OPTIONS([$1])dnl
1401
dnl Diagnose old-style AC_INIT with new-style AM_AUTOMAKE_INIT.
1402
m4_if(m4_ifdef([AC_PACKAGE_NAME], 1)m4_ifdef([AC_PACKAGE_VERSION], 1), 11,,
1403
[m4_fatal([AC_INIT should be called with package and version arguments])])dnl
1404
AC_SUBST([PACKAGE], ['AC_PACKAGE_TARNAME'])dnl
1405
AC_SUBST([VERSION], ['AC_PACKAGE_VERSION'])])dnl
1407
_AM_IF_OPTION([no-define],,
1408
[AC_DEFINE_UNQUOTED(PACKAGE, "$PACKAGE", [Name of package])
1409
AC_DEFINE_UNQUOTED(VERSION, "$VERSION", [Version number of package])])dnl
1411
# Some tools Automake needs.
1412
AC_REQUIRE([AM_SANITY_CHECK])dnl
1413
AC_REQUIRE([AC_ARG_PROGRAM])dnl
1414
AM_MISSING_PROG(ACLOCAL, aclocal-${am__api_version})
1415
AM_MISSING_PROG(AUTOCONF, autoconf)
1416
AM_MISSING_PROG(AUTOMAKE, automake-${am__api_version})
1417
AM_MISSING_PROG(AUTOHEADER, autoheader)
1418
AM_MISSING_PROG(MAKEINFO, makeinfo)
1420
AM_PROG_INSTALL_STRIP
1421
AC_REQUIRE([AM_PROG_MKDIR_P])dnl
1422
# We need awk for the "check" target. The system "awk" is bad on
1424
AC_REQUIRE([AC_PROG_AWK])dnl
1425
AC_REQUIRE([AC_PROG_MAKE_SET])dnl
1426
AC_REQUIRE([AM_SET_LEADING_DOT])dnl
1427
_AM_IF_OPTION([tar-ustar], [_AM_PROG_TAR([ustar])],
1428
[_AM_IF_OPTION([tar-pax], [_AM_PROG_TAR([pax])],
1429
[_AM_PROG_TAR([v7])])])
1430
_AM_IF_OPTION([no-dependencies],,
1431
[AC_PROVIDE_IFELSE([AC_PROG_CC],
1432
[_AM_DEPENDENCIES(CC)],
1433
[define([AC_PROG_CC],
1434
defn([AC_PROG_CC])[_AM_DEPENDENCIES(CC)])])dnl
1435
AC_PROVIDE_IFELSE([AC_PROG_CXX],
1436
[_AM_DEPENDENCIES(CXX)],
1437
[define([AC_PROG_CXX],
1438
defn([AC_PROG_CXX])[_AM_DEPENDENCIES(CXX)])])dnl
1439
AC_PROVIDE_IFELSE([AC_PROG_OBJC],
1440
[_AM_DEPENDENCIES(OBJC)],
1441
[define([AC_PROG_OBJC],
1442
defn([AC_PROG_OBJC])[_AM_DEPENDENCIES(OBJC)])])dnl
1445
m4trace:/usr/share/aclocal-1.10/init.m4:113: -1- AC_DEFUN([_AC_AM_CONFIG_HEADER_HOOK], [# Compute $1's index in $config_headers.
1447
for _am_header in $config_headers :; do
1452
_am_stamp_count=`expr $_am_stamp_count + 1` ;;
1455
echo "timestamp for $1" >`AS_DIRNAME([$1])`/stamp-h[]$_am_stamp_count])
1456
m4trace:/usr/share/aclocal-1.10/install-sh.m4:11: -1- AC_DEFUN([AM_PROG_INSTALL_SH], [AC_REQUIRE([AM_AUX_DIR_EXPAND])dnl
1457
install_sh=${install_sh-"\$(SHELL) $am_aux_dir/install-sh"}
1458
AC_SUBST(install_sh)])
1459
m4trace:/usr/share/aclocal-1.10/lead-dot.m4:12: -1- AC_DEFUN([AM_SET_LEADING_DOT], [rm -rf .tst 2>/dev/null
1460
mkdir .tst 2>/dev/null
1461
if test -d .tst; then
1466
rmdir .tst 2>/dev/null
1467
AC_SUBST([am__leading_dot])])
1468
m4trace:/usr/share/aclocal-1.10/make.m4:14: -1- AC_DEFUN([AM_MAKE_INCLUDE], [am_make=${MAKE-make}
1469
cat > confinc << 'END'
1474
# If we don't find an include directive, just comment out the code.
1475
AC_MSG_CHECKING([for style of include used by $am_make])
1479
# First try GNU make style include.
1480
echo "include confinc" > confmf
1481
# We grep out `Entering directory' and `Leaving directory'
1482
# messages which can occur if `w' ends up in MAKEFLAGS.
1483
# In particular we don't look at `^make:' because GNU make might
1484
# be invoked under some other name (usually "gmake"), in which
1485
# case it prints its new name instead of `make'.
1486
if test "`$am_make -s -f confmf 2> /dev/null | grep -v 'ing directory'`" = "done"; then
1491
# Now try BSD make style include.
1492
if test "$am__include" = "#"; then
1493
echo '.include "confinc"' > confmf
1494
if test "`$am_make -s -f confmf 2> /dev/null`" = "done"; then
1495
am__include=.include
1500
AC_SUBST([am__include])
1501
AC_SUBST([am__quote])
1502
AC_MSG_RESULT([$_am_result])
1503
rm -f confinc confmf
1505
m4trace:/usr/share/aclocal-1.10/missing.m4:14: -1- AC_DEFUN([AM_MISSING_PROG], [AC_REQUIRE([AM_MISSING_HAS_RUN])
1506
$1=${$1-"${am_missing_run}$2"}
1508
m4trace:/usr/share/aclocal-1.10/missing.m4:24: -1- AC_DEFUN([AM_MISSING_HAS_RUN], [AC_REQUIRE([AM_AUX_DIR_EXPAND])dnl
1509
AC_REQUIRE_AUX_FILE([missing])dnl
1510
test x"${MISSING+set}" = xset || MISSING="\${SHELL} $am_aux_dir/missing"
1511
# Use eval to expand $SHELL
1512
if eval "$MISSING --run true"; then
1513
am_missing_run="$MISSING --run "
1516
AC_MSG_WARN([`missing' script is too old or missing])
1519
m4trace:/usr/share/aclocal-1.10/mkdirp.m4:11: -1- AC_DEFUN([AM_PROG_MKDIR_P], [AC_PREREQ([2.60])dnl
1520
AC_REQUIRE([AC_PROG_MKDIR_P])dnl
1521
dnl Automake 1.8 to 1.9.6 used to define mkdir_p. We now use MKDIR_P,
1522
dnl while keeping a definition of mkdir_p for backward compatibility.
1523
dnl @MKDIR_P@ is magic: AC_OUTPUT adjusts its value for each Makefile.
1524
dnl However we cannot define mkdir_p as $(MKDIR_P) for the sake of
1525
dnl Makefile.ins that do not define MKDIR_P, so we do our own
1526
dnl adjustment using top_builddir (which is defined more often than
1528
AC_SUBST([mkdir_p], ["$MKDIR_P"])dnl
1530
[[\\/$]]* | ?:[[\\/]]*) ;;
1531
*/*) mkdir_p="\$(top_builddir)/$mkdir_p" ;;
1534
m4trace:/usr/share/aclocal-1.10/options.m4:13: -1- AC_DEFUN([_AM_MANGLE_OPTION], [[_AM_OPTION_]m4_bpatsubst($1, [[^a-zA-Z0-9_]], [_])])
1535
m4trace:/usr/share/aclocal-1.10/options.m4:19: -1- AC_DEFUN([_AM_SET_OPTION], [m4_define(_AM_MANGLE_OPTION([$1]), 1)])
1536
m4trace:/usr/share/aclocal-1.10/options.m4:25: -1- AC_DEFUN([_AM_SET_OPTIONS], [AC_FOREACH([_AM_Option], [$1], [_AM_SET_OPTION(_AM_Option)])])
1537
m4trace:/usr/share/aclocal-1.10/options.m4:31: -1- AC_DEFUN([_AM_IF_OPTION], [m4_ifset(_AM_MANGLE_OPTION([$1]), [$2], [$3])])
1538
m4trace:/usr/share/aclocal-1.10/python.m4:35: -1- AC_DEFUN([AM_PATH_PYTHON], [
1539
dnl Find a Python interpreter. Python versions prior to 1.5 are not
1540
dnl supported because the default installation locations changed from
1541
dnl $prefix/lib/site-python in 1.4 to $prefix/lib/python1.5/site-packages
1543
m4_define_default([_AM_PYTHON_INTERPRETER_LIST],
1544
[python python2 python2.5 python2.4 python2.3 python2.2 dnl
1545
python2.1 python2.0 python1.6 python1.5])
1548
dnl No version check is needed.
1549
# Find any Python interpreter.
1550
if test -z "$PYTHON"; then
1551
AC_PATH_PROGS([PYTHON], _AM_PYTHON_INTERPRETER_LIST, :)
1553
am_display_PYTHON=python
1555
dnl A version check is needed.
1556
if test -n "$PYTHON"; then
1557
# If the user set $PYTHON, use it and don't search something else.
1558
AC_MSG_CHECKING([whether $PYTHON version >= $1])
1559
AM_PYTHON_CHECK_VERSION([$PYTHON], [$1],
1560
[AC_MSG_RESULT(yes)],
1561
[AC_MSG_ERROR(too old)])
1562
am_display_PYTHON=$PYTHON
1564
# Otherwise, try each interpreter until we find one that satisfies
1566
AC_CACHE_CHECK([for a Python interpreter with version >= $1],
1567
[am_cv_pathless_PYTHON],[
1568
for am_cv_pathless_PYTHON in _AM_PYTHON_INTERPRETER_LIST none; do
1569
test "$am_cv_pathless_PYTHON" = none && break
1570
AM_PYTHON_CHECK_VERSION([$am_cv_pathless_PYTHON], [$1], [break])
1572
# Set $PYTHON to the absolute path of $am_cv_pathless_PYTHON.
1573
if test "$am_cv_pathless_PYTHON" = none; then
1576
AC_PATH_PROG([PYTHON], [$am_cv_pathless_PYTHON])
1578
am_display_PYTHON=$am_cv_pathless_PYTHON
1582
if test "$PYTHON" = :; then
1583
dnl Run any user-specified action, or abort.
1584
m4_default([$3], [AC_MSG_ERROR([no suitable Python interpreter found])])
1587
dnl Query Python for its version number. Getting [:3] seems to be
1588
dnl the best way to do this; it's what "site.py" does in the standard
1591
AC_CACHE_CHECK([for $am_display_PYTHON version], [am_cv_python_version],
1592
[am_cv_python_version=`$PYTHON -c "import sys; print sys.version[[:3]]"`])
1593
AC_SUBST([PYTHON_VERSION], [$am_cv_python_version])
1595
dnl Use the values of $prefix and $exec_prefix for the corresponding
1596
dnl values of PYTHON_PREFIX and PYTHON_EXEC_PREFIX. These are made
1597
dnl distinct variables so they can be overridden if need be. However,
1598
dnl general consensus is that you shouldn't need this ability.
1600
AC_SUBST([PYTHON_PREFIX], ['${prefix}'])
1601
AC_SUBST([PYTHON_EXEC_PREFIX], ['${exec_prefix}'])
1603
dnl At times (like when building shared libraries) you may want
1604
dnl to know which OS platform Python thinks this is.
1606
AC_CACHE_CHECK([for $am_display_PYTHON platform], [am_cv_python_platform],
1607
[am_cv_python_platform=`$PYTHON -c "import sys; print sys.platform"`])
1608
AC_SUBST([PYTHON_PLATFORM], [$am_cv_python_platform])
1611
dnl Set up 4 directories:
1613
dnl pythondir -- where to install python scripts. This is the
1614
dnl site-packages directory, not the python standard library
1615
dnl directory like in previous automake betas. This behavior
1616
dnl is more consistent with lispdir.m4 for example.
1617
dnl Query distutils for this directory. distutils does not exist in
1618
dnl Python 1.5, so we fall back to the hardcoded directory if it
1620
AC_CACHE_CHECK([for $am_display_PYTHON script directory],
1621
[am_cv_python_pythondir],
1622
[am_cv_python_pythondir=`$PYTHON -c "from distutils import sysconfig; print sysconfig.get_python_lib(0,0,prefix='$PYTHON_PREFIX')" 2>/dev/null ||
1623
echo "$PYTHON_PREFIX/lib/python$PYTHON_VERSION/site-packages"`])
1624
AC_SUBST([pythondir], [$am_cv_python_pythondir])
1626
dnl pkgpythondir -- $PACKAGE directory under pythondir. Was
1627
dnl PYTHON_SITE_PACKAGE in previous betas, but this naming is
1628
dnl more consistent with the rest of automake.
1630
AC_SUBST([pkgpythondir], [\${pythondir}/$PACKAGE])
1632
dnl pyexecdir -- directory for installing python extension modules
1633
dnl (shared libraries)
1634
dnl Query distutils for this directory. distutils does not exist in
1635
dnl Python 1.5, so we fall back to the hardcoded directory if it
1637
AC_CACHE_CHECK([for $am_display_PYTHON extension module directory],
1638
[am_cv_python_pyexecdir],
1639
[am_cv_python_pyexecdir=`$PYTHON -c "from distutils import sysconfig; print sysconfig.get_python_lib(1,0,prefix='$PYTHON_EXEC_PREFIX')" 2>/dev/null ||
1640
echo "${PYTHON_EXEC_PREFIX}/lib/python${PYTHON_VERSION}/site-packages"`])
1641
AC_SUBST([pyexecdir], [$am_cv_python_pyexecdir])
1643
dnl pkgpyexecdir -- $(pyexecdir)/$(PACKAGE)
1645
AC_SUBST([pkgpyexecdir], [\${pyexecdir}/$PACKAGE])
1647
dnl Run any user-specified action.
1652
m4trace:/usr/share/aclocal-1.10/python.m4:160: -1- AC_DEFUN([AM_PYTHON_CHECK_VERSION], [prog="import sys, string
1653
# split strings by '.' and convert to numeric. Append some zeros
1654
# because we need at least 4 digits for the hex conversion.
1655
minver = map(int, string.split('$2', '.')) + [[0, 0, 0]]
1657
for i in xrange(0, 4): minverhex = (minverhex << 8) + minver[[i]]
1658
sys.exit(sys.hexversion < minverhex)"
1659
AS_IF([AM_RUN_LOG([$1 -c "$prog"])], [$3], [$4])])
1660
m4trace:/usr/share/aclocal-1.10/runlog.m4:12: -1- AC_DEFUN([AM_RUN_LOG], [{ echo "$as_me:$LINENO: $1" >&AS_MESSAGE_LOG_FD
1661
($1) >&AS_MESSAGE_LOG_FD 2>&AS_MESSAGE_LOG_FD
1663
echo "$as_me:$LINENO: \$? = $ac_status" >&AS_MESSAGE_LOG_FD
1664
(exit $ac_status); }])
1665
m4trace:/usr/share/aclocal-1.10/sanity.m4:14: -1- AC_DEFUN([AM_SANITY_CHECK], [AC_MSG_CHECKING([whether build environment is sane])
1668
echo timestamp > conftest.file
1669
# Do `set' in a subshell so we don't clobber the current shell's
1670
# arguments. Must try -L first in case configure is actually a
1671
# symlink; some systems play weird games with the mod time of symlinks
1672
# (eg FreeBSD returns the mod time of the symlink's containing
1675
set X `ls -Lt $srcdir/configure conftest.file 2> /dev/null`
1676
if test "$[*]" = "X"; then
1678
set X `ls -t $srcdir/configure conftest.file`
1681
if test "$[*]" != "X $srcdir/configure conftest.file" \
1682
&& test "$[*]" != "X conftest.file $srcdir/configure"; then
1684
# If neither matched, then we have a broken ls. This can happen
1685
# if, for instance, CONFIG_SHELL is bash and it inherits a
1686
# broken ls alias from the environment. This has actually
1687
# happened. Such a system could not be considered "sane".
1688
AC_MSG_ERROR([ls -t appears to fail. Make sure there is not a broken
1689
alias in your environment])
1692
test "$[2]" = conftest.file
1698
AC_MSG_ERROR([newly created file is older than distributed files!
1699
Check your system clock])
1701
AC_MSG_RESULT(yes)])
1702
m4trace:/usr/share/aclocal-1.10/strip.m4:17: -1- AC_DEFUN([AM_PROG_INSTALL_STRIP], [AC_REQUIRE([AM_PROG_INSTALL_SH])dnl
1703
# Installed binaries are usually stripped using `strip' when the user
1704
# run `make install-strip'. However `strip' might not be the right
1705
# tool to use in cross-compilation environments, therefore Automake
1706
# will honor the `STRIP' environment variable to overrule this program.
1707
dnl Don't test for $cross_compiling = yes, because it might be `maybe'.
1708
if test "$cross_compiling" != no; then
1709
AC_CHECK_TOOL([STRIP], [strip], :)
1711
INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s"
1712
AC_SUBST([INSTALL_STRIP_PROGRAM])])
1713
m4trace:/usr/share/aclocal-1.10/substnot.m4:12: -1- AC_DEFUN([_AM_SUBST_NOTMAKE])
1714
m4trace:/usr/share/aclocal-1.10/tar.m4:24: -1- AC_DEFUN([_AM_PROG_TAR], [# Always define AMTAR for backward compatibility.
1715
AM_MISSING_PROG([AMTAR], [tar])
1717
[am__tar='${AMTAR} chof - "$$tardir"'; am__untar='${AMTAR} xf -'],
1718
[m4_case([$1], [ustar],, [pax],,
1719
[m4_fatal([Unknown tar format])])
1720
AC_MSG_CHECKING([how to create a $1 tar archive])
1721
# Loop over all known methods to create a tar archive until one works.
1722
_am_tools='gnutar m4_if([$1], [ustar], [plaintar]) pax cpio none'
1723
_am_tools=${am_cv_prog_tar_$1-$_am_tools}
1724
# Do not fold the above two line into one, because Tru64 sh and
1725
# Solaris sh will not grok spaces in the rhs of `-'.
1726
for _am_tool in $_am_tools
1730
for _am_tar in tar gnutar gtar;
1732
AM_RUN_LOG([$_am_tar --version]) && break
1734
am__tar="$_am_tar --format=m4_if([$1], [pax], [posix], [$1]) -chf - "'"$$tardir"'
1735
am__tar_="$_am_tar --format=m4_if([$1], [pax], [posix], [$1]) -chf - "'"$tardir"'
1736
am__untar="$_am_tar -xf -"
1739
# Must skip GNU tar: if it does not support --format= it doesn't create
1740
# ustar tarball either.
1741
(tar --version) >/dev/null 2>&1 && continue
1742
am__tar='tar chf - "$$tardir"'
1743
am__tar_='tar chf - "$tardir"'
1744
am__untar='tar xf -'
1747
am__tar='pax -L -x $1 -w "$$tardir"'
1748
am__tar_='pax -L -x $1 -w "$tardir"'
1752
am__tar='find "$$tardir" -print | cpio -o -H $1 -L'
1753
am__tar_='find "$tardir" -print | cpio -o -H $1 -L'
1754
am__untar='cpio -i -H $1 -d'
1763
# If the value was cached, stop now. We just wanted to have am__tar
1764
# and am__untar set.
1765
test -n "${am_cv_prog_tar_$1}" && break
1767
# tar/untar a dummy directory, and stop if the command works
1770
echo GrepMe > conftest.dir/file
1771
AM_RUN_LOG([tardir=conftest.dir && eval $am__tar_ >conftest.tar])
1773
if test -s conftest.tar; then
1774
AM_RUN_LOG([$am__untar <conftest.tar])
1775
grep GrepMe conftest.dir/file >/dev/null 2>&1 && break
1780
AC_CACHE_VAL([am_cv_prog_tar_$1], [am_cv_prog_tar_$1=$_am_tool])
1781
AC_MSG_RESULT([$am_cv_prog_tar_$1])])
1783
AC_SUBST([am__untar])
1785
m4trace:m4/gettext.m4:57: -1- AC_DEFUN([AM_GNU_GETTEXT], [
1786
dnl Argument checking.
1787
ifelse([$1], [], , [ifelse([$1], [external], , [ifelse([$1], [no-libtool], , [ifelse([$1], [use-libtool], ,
1788
[errprint([ERROR: invalid first argument to AM_GNU_GETTEXT
1790
ifelse([$2], [], , [ifelse([$2], [need-ngettext], , [ifelse([$2], [need-formatstring-macros], ,
1791
[errprint([ERROR: invalid second argument to AM_GNU_GETTEXT
1793
define([gt_included_intl],
1794
ifelse([$1], [external],
1795
ifdef([AM_GNU_GETTEXT_][INTL_SUBDIR], [yes], [no]),
1797
define([gt_libtool_suffix_prefix], ifelse([$1], [use-libtool], [l], []))
1799
AM_GNU_GETTEXT_NEED([$2])
1801
AC_REQUIRE([AM_PO_SUBDIRS])dnl
1802
ifelse(gt_included_intl, yes, [
1803
AC_REQUIRE([AM_INTL_SUBDIR])dnl
1806
dnl Prerequisites of AC_LIB_LINKFLAGS_BODY.
1807
AC_REQUIRE([AC_LIB_PREPARE_PREFIX])
1808
AC_REQUIRE([AC_LIB_RPATH])
1810
dnl Sometimes libintl requires libiconv, so first search for libiconv.
1811
dnl Ideally we would do this search only after the
1812
dnl if test "$USE_NLS" = "yes"; then
1813
dnl if { eval "gt_val=\$$gt_func_gnugettext_libc"; test "$gt_val" != "yes"; }; then
1814
dnl tests. But if configure.in invokes AM_ICONV after AM_GNU_GETTEXT
1815
dnl the configure script would need to contain the same shell code
1816
dnl again, outside any 'if'. There are two solutions:
1817
dnl - Invoke AM_ICONV_LINKFLAGS_BODY here, outside any 'if'.
1818
dnl - Control the expansions in more detail using AC_PROVIDE_IFELSE.
1819
dnl Since AC_PROVIDE_IFELSE is only in autoconf >= 2.52 and not
1820
dnl documented, we avoid it.
1821
ifelse(gt_included_intl, yes, , [
1822
AC_REQUIRE([AM_ICONV_LINKFLAGS_BODY])
1825
dnl Sometimes, on MacOS X, libintl requires linking with CoreFoundation.
1829
AC_REQUIRE([AM_NLS])
1831
ifelse(gt_included_intl, yes, [
1832
BUILD_INCLUDED_LIBINTL=no
1833
USE_INCLUDED_LIBINTL=no
1839
dnl Add a version number to the cache macros.
1840
case " $gt_needs " in
1841
*" need-formatstring-macros "*) gt_api_version=3 ;;
1842
*" need-ngettext "*) gt_api_version=2 ;;
1843
*) gt_api_version=1 ;;
1845
gt_func_gnugettext_libc="gt_cv_func_gnugettext${gt_api_version}_libc"
1846
gt_func_gnugettext_libintl="gt_cv_func_gnugettext${gt_api_version}_libintl"
1848
dnl If we use NLS figure out what method
1849
if test "$USE_NLS" = "yes"; then
1850
gt_use_preinstalled_gnugettext=no
1851
ifelse(gt_included_intl, yes, [
1852
AC_MSG_CHECKING([whether included gettext is requested])
1853
AC_ARG_WITH(included-gettext,
1854
[ --with-included-gettext use the GNU gettext library included here],
1855
nls_cv_force_use_gnu_gettext=$withval,
1856
nls_cv_force_use_gnu_gettext=no)
1857
AC_MSG_RESULT($nls_cv_force_use_gnu_gettext)
1859
nls_cv_use_gnu_gettext="$nls_cv_force_use_gnu_gettext"
1860
if test "$nls_cv_force_use_gnu_gettext" != "yes"; then
1862
dnl User does not insist on using GNU NLS library. Figure out what
1863
dnl to use. If GNU gettext is available we use this. Else we have
1864
dnl to fall back to GNU NLS library.
1866
if test $gt_api_version -ge 3; then
1867
gt_revision_test_code='
1868
#ifndef __GNU_GETTEXT_SUPPORTED_REVISION
1869
#define __GNU_GETTEXT_SUPPORTED_REVISION(major) ((major) == 0 ? 0 : -1)
1872
typedef int array [2 * (__GNU_GETTEXT_SUPPORTED_REVISION(0) >= 1) - 1];
1876
gt_revision_test_code=
1878
if test $gt_api_version -ge 2; then
1879
gt_expression_test_code=' + * ngettext ("", "", 0)'
1881
gt_expression_test_code=
1884
AC_CACHE_CHECK([for GNU gettext in libc], [$gt_func_gnugettext_libc],
1885
[AC_TRY_LINK([#include <libintl.h>
1886
$gt_revision_test_code
1887
extern int _nl_msg_cat_cntr;
1888
extern int *_nl_domain_bindings;],
1889
[bindtextdomain ("", "");
1890
return * gettext ("")$gt_expression_test_code + _nl_msg_cat_cntr + *_nl_domain_bindings],
1891
[eval "$gt_func_gnugettext_libc=yes"],
1892
[eval "$gt_func_gnugettext_libc=no"])])
1894
if { eval "gt_val=\$$gt_func_gnugettext_libc"; test "$gt_val" != "yes"; }; then
1895
dnl Sometimes libintl requires libiconv, so first search for libiconv.
1896
ifelse(gt_included_intl, yes, , [
1899
dnl Search for libintl and define LIBINTL, LTLIBINTL and INCINTL
1900
dnl accordingly. Don't use AC_LIB_LINKFLAGS_BODY([intl],[iconv])
1901
dnl because that would add "-liconv" to LIBINTL and LTLIBINTL
1902
dnl even if libiconv doesn't exist.
1903
AC_LIB_LINKFLAGS_BODY([intl])
1904
AC_CACHE_CHECK([for GNU gettext in libintl],
1905
[$gt_func_gnugettext_libintl],
1906
[gt_save_CPPFLAGS="$CPPFLAGS"
1907
CPPFLAGS="$CPPFLAGS $INCINTL"
1908
gt_save_LIBS="$LIBS"
1909
LIBS="$LIBS $LIBINTL"
1910
dnl Now see whether libintl exists and does not depend on libiconv.
1911
AC_TRY_LINK([#include <libintl.h>
1912
$gt_revision_test_code
1913
extern int _nl_msg_cat_cntr;
1918
const char *_nl_expand_alias (const char *);],
1919
[bindtextdomain ("", "");
1920
return * gettext ("")$gt_expression_test_code + _nl_msg_cat_cntr + *_nl_expand_alias ("")],
1921
[eval "$gt_func_gnugettext_libintl=yes"],
1922
[eval "$gt_func_gnugettext_libintl=no"])
1923
dnl Now see whether libintl exists and depends on libiconv.
1924
if { eval "gt_val=\$$gt_func_gnugettext_libintl"; test "$gt_val" != yes; } && test -n "$LIBICONV"; then
1925
LIBS="$LIBS $LIBICONV"
1926
AC_TRY_LINK([#include <libintl.h>
1927
$gt_revision_test_code
1928
extern int _nl_msg_cat_cntr;
1933
const char *_nl_expand_alias (const char *);],
1934
[bindtextdomain ("", "");
1935
return * gettext ("")$gt_expression_test_code + _nl_msg_cat_cntr + *_nl_expand_alias ("")],
1936
[LIBINTL="$LIBINTL $LIBICONV"
1937
LTLIBINTL="$LTLIBINTL $LTLIBICONV"
1938
eval "$gt_func_gnugettext_libintl=yes"
1941
CPPFLAGS="$gt_save_CPPFLAGS"
1942
LIBS="$gt_save_LIBS"])
1945
dnl If an already present or preinstalled GNU gettext() is found,
1946
dnl use it. But if this macro is used in GNU gettext, and GNU
1947
dnl gettext is already preinstalled in libintl, we update this
1948
dnl libintl. (Cf. the install rule in intl/Makefile.in.)
1949
if { eval "gt_val=\$$gt_func_gnugettext_libc"; test "$gt_val" = "yes"; } \
1950
|| { { eval "gt_val=\$$gt_func_gnugettext_libintl"; test "$gt_val" = "yes"; } \
1951
&& test "$PACKAGE" != gettext-runtime \
1952
&& test "$PACKAGE" != gettext-tools; }; then
1953
gt_use_preinstalled_gnugettext=yes
1955
dnl Reset the values set by searching for libintl.
1961
ifelse(gt_included_intl, yes, [
1962
if test "$gt_use_preinstalled_gnugettext" != "yes"; then
1963
dnl GNU gettext is not found in the C library.
1964
dnl Fall back on included GNU gettext library.
1965
nls_cv_use_gnu_gettext=yes
1969
if test "$nls_cv_use_gnu_gettext" = "yes"; then
1970
dnl Mark actions used to generate GNU NLS library.
1971
BUILD_INCLUDED_LIBINTL=yes
1972
USE_INCLUDED_LIBINTL=yes
1973
LIBINTL="ifelse([$3],[],\${top_builddir}/intl,[$3])/libintl.[]gt_libtool_suffix_prefix[]a $LIBICONV $LIBTHREAD"
1974
LTLIBINTL="ifelse([$3],[],\${top_builddir}/intl,[$3])/libintl.[]gt_libtool_suffix_prefix[]a $LTLIBICONV $LTLIBTHREAD"
1975
LIBS=`echo " $LIBS " | sed -e 's/ -lintl / /' -e 's/^ //' -e 's/ $//'`
1979
if test "$gt_use_preinstalled_gnugettext" = "yes" \
1980
|| test "$nls_cv_use_gnu_gettext" = "yes"; then
1981
dnl Mark actions to use GNU gettext tools.
1986
if test -n "$INTL_MACOSX_LIBS"; then
1987
if test "$gt_use_preinstalled_gnugettext" = "yes" \
1988
|| test "$nls_cv_use_gnu_gettext" = "yes"; then
1989
dnl Some extra flags are needed during linking.
1990
LIBINTL="$LIBINTL $INTL_MACOSX_LIBS"
1991
LTLIBINTL="$LTLIBINTL $INTL_MACOSX_LIBS"
1995
if test "$gt_use_preinstalled_gnugettext" = "yes" \
1996
|| test "$nls_cv_use_gnu_gettext" = "yes"; then
1997
AC_DEFINE(ENABLE_NLS, 1,
1998
[Define to 1 if translation of program messages to the user's native language
2005
AC_MSG_CHECKING([whether to use NLS])
2006
AC_MSG_RESULT([$USE_NLS])
2007
if test "$USE_NLS" = "yes"; then
2008
AC_MSG_CHECKING([where the gettext function comes from])
2009
if test "$gt_use_preinstalled_gnugettext" = "yes"; then
2010
if { eval "gt_val=\$$gt_func_gnugettext_libintl"; test "$gt_val" = "yes"; }; then
2011
gt_source="external libintl"
2016
gt_source="included intl directory"
2018
AC_MSG_RESULT([$gt_source])
2021
if test "$USE_NLS" = "yes"; then
2023
if test "$gt_use_preinstalled_gnugettext" = "yes"; then
2024
if { eval "gt_val=\$$gt_func_gnugettext_libintl"; test "$gt_val" = "yes"; }; then
2025
AC_MSG_CHECKING([how to link with libintl])
2026
AC_MSG_RESULT([$LIBINTL])
2027
AC_LIB_APPENDTOVAR([CPPFLAGS], [$INCINTL])
2030
dnl For backward compatibility. Some packages may be using this.
2031
AC_DEFINE(HAVE_GETTEXT, 1,
2032
[Define if the GNU gettext() function is already present or preinstalled.])
2033
AC_DEFINE(HAVE_DCGETTEXT, 1,
2034
[Define if the GNU dcgettext() function is already present or preinstalled.])
2037
dnl We need to process the po/ directory.
2041
ifelse(gt_included_intl, yes, [
2042
dnl If this is used in GNU gettext we have to set BUILD_INCLUDED_LIBINTL
2043
dnl to 'yes' because some of the testsuite requires it.
2044
if test "$PACKAGE" = gettext-runtime || test "$PACKAGE" = gettext-tools; then
2045
BUILD_INCLUDED_LIBINTL=yes
2048
dnl Make all variables we use known to autoconf.
2049
AC_SUBST(BUILD_INCLUDED_LIBINTL)
2050
AC_SUBST(USE_INCLUDED_LIBINTL)
2053
dnl For backward compatibility. Some configure.ins may be using this.
2055
nls_cv_header_libgt=
2057
dnl For backward compatibility. Some Makefiles may be using this.
2059
AC_SUBST(DATADIRNAME)
2061
dnl For backward compatibility. Some Makefiles may be using this.
2063
AC_SUBST(INSTOBJEXT)
2065
dnl For backward compatibility. Some Makefiles may be using this.
2069
dnl For backward compatibility. Some Makefiles may be using this.
2071
if test "$USE_INCLUDED_LIBINTL" = yes; then
2072
INTLOBJS="\$(GETTOBJS)"
2076
dnl Enable libtool support if the surrounding package wishes it.
2077
INTL_LIBTOOL_SUFFIX_PREFIX=gt_libtool_suffix_prefix
2078
AC_SUBST(INTL_LIBTOOL_SUFFIX_PREFIX)
2081
dnl For backward compatibility. Some Makefiles may be using this.
2085
dnl Make all documented variables known to autoconf.
2090
m4trace:m4/gettext.m4:367: -1- AC_DEFUN([gt_INTL_MACOSX], [
2091
dnl Check for API introduced in MacOS X 10.2.
2092
AC_CACHE_CHECK([for CFPreferencesCopyAppValue],
2093
gt_cv_func_CFPreferencesCopyAppValue,
2094
[gt_save_LIBS="$LIBS"
2095
LIBS="$LIBS -Wl,-framework -Wl,CoreFoundation"
2096
AC_TRY_LINK([#include <CoreFoundation/CFPreferences.h>],
2097
[CFPreferencesCopyAppValue(NULL, NULL)],
2098
[gt_cv_func_CFPreferencesCopyAppValue=yes],
2099
[gt_cv_func_CFPreferencesCopyAppValue=no])
2100
LIBS="$gt_save_LIBS"])
2101
if test $gt_cv_func_CFPreferencesCopyAppValue = yes; then
2102
AC_DEFINE([HAVE_CFPREFERENCESCOPYAPPVALUE], 1,
2103
[Define to 1 if you have the MacOS X function CFPreferencesCopyAppValue in the CoreFoundation framework.])
2105
dnl Check for API introduced in MacOS X 10.3.
2106
AC_CACHE_CHECK([for CFLocaleCopyCurrent], gt_cv_func_CFLocaleCopyCurrent,
2107
[gt_save_LIBS="$LIBS"
2108
LIBS="$LIBS -Wl,-framework -Wl,CoreFoundation"
2109
AC_TRY_LINK([#include <CoreFoundation/CFLocale.h>], [CFLocaleCopyCurrent();],
2110
[gt_cv_func_CFLocaleCopyCurrent=yes],
2111
[gt_cv_func_CFLocaleCopyCurrent=no])
2112
LIBS="$gt_save_LIBS"])
2113
if test $gt_cv_func_CFLocaleCopyCurrent = yes; then
2114
AC_DEFINE([HAVE_CFLOCALECOPYCURRENT], 1,
2115
[Define to 1 if you have the MacOS X function CFLocaleCopyCurrent in the CoreFoundation framework.])
2118
if test $gt_cv_func_CFPreferencesCopyAppValue = yes || test $gt_cv_func_CFLocaleCopyCurrent = yes; then
2119
INTL_MACOSX_LIBS="-Wl,-framework -Wl,CoreFoundation"
2121
AC_SUBST([INTL_MACOSX_LIBS])
2123
m4trace:m4/gettext.m4:412: -1- AC_DEFUN([AM_GNU_GETTEXT_NEED], [
2124
m4_divert_text([INIT_PREPARE], [gt_needs="$gt_needs $1"])
2126
m4trace:m4/gettext.m4:419: -1- AC_DEFUN([AM_GNU_GETTEXT_VERSION], [])
2127
m4trace:m4/iconv.m4:9: -1- AC_DEFUN([AM_ICONV_LINKFLAGS_BODY], [
2128
dnl Prerequisites of AC_LIB_LINKFLAGS_BODY.
2129
AC_REQUIRE([AC_LIB_PREPARE_PREFIX])
2130
AC_REQUIRE([AC_LIB_RPATH])
2132
dnl Search for libiconv and define LIBICONV, LTLIBICONV and INCICONV
2134
AC_LIB_LINKFLAGS_BODY([iconv])
2136
m4trace:m4/iconv.m4:20: -1- AC_DEFUN([AM_ICONV_LINK], [
2137
dnl Some systems have iconv in libc, some have it in libiconv (OSF/1 and
2138
dnl those with the standalone portable GNU libiconv installed).
2140
dnl Search for libiconv and define LIBICONV, LTLIBICONV and INCICONV
2142
AC_REQUIRE([AM_ICONV_LINKFLAGS_BODY])
2144
dnl Add $INCICONV to CPPFLAGS before performing the following checks,
2145
dnl because if the user has installed libiconv and not disabled its use
2146
dnl via --without-libiconv-prefix, he wants to use it. The first
2147
dnl AC_TRY_LINK will then fail, the second AC_TRY_LINK will succeed.
2148
am_save_CPPFLAGS="$CPPFLAGS"
2149
AC_LIB_APPENDTOVAR([CPPFLAGS], [$INCICONV])
2151
AC_CACHE_CHECK(for iconv, am_cv_func_iconv, [
2152
am_cv_func_iconv="no, consider installing GNU libiconv"
2154
AC_TRY_LINK([#include <stdlib.h>
2155
#include <iconv.h>],
2156
[iconv_t cd = iconv_open("","");
2157
iconv(cd,NULL,NULL,NULL,NULL);
2159
am_cv_func_iconv=yes)
2160
if test "$am_cv_func_iconv" != yes; then
2161
am_save_LIBS="$LIBS"
2162
LIBS="$LIBS $LIBICONV"
2163
AC_TRY_LINK([#include <stdlib.h>
2164
#include <iconv.h>],
2165
[iconv_t cd = iconv_open("","");
2166
iconv(cd,NULL,NULL,NULL,NULL);
2169
am_cv_func_iconv=yes)
2170
LIBS="$am_save_LIBS"
2173
if test "$am_cv_func_iconv" = yes; then
2174
AC_DEFINE(HAVE_ICONV, 1, [Define if you have the iconv() function.])
2176
if test "$am_cv_lib_iconv" = yes; then
2177
AC_MSG_CHECKING([how to link with libiconv])
2178
AC_MSG_RESULT([$LIBICONV])
2180
dnl If $LIBICONV didn't lead to a usable library, we don't need $INCICONV
2182
CPPFLAGS="$am_save_CPPFLAGS"
2187
AC_SUBST(LTLIBICONV)
2189
m4trace:m4/iconv.m4:75: -1- AC_DEFUN([AM_ICONV], [
2191
if test "$am_cv_func_iconv" = yes; then
2192
AC_MSG_CHECKING([for iconv declaration])
2193
AC_CACHE_VAL(am_cv_proto_iconv, [
2201
#if defined(__STDC__) || defined(__cplusplus)
2202
size_t iconv (iconv_t cd, char * *inbuf, size_t *inbytesleft, char * *outbuf, size_t *outbytesleft);
2206
], [], am_cv_proto_iconv_arg1="", am_cv_proto_iconv_arg1="const")
2207
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);"])
2208
am_cv_proto_iconv=`echo "[$]am_cv_proto_iconv" | tr -s ' ' | sed -e 's/( /(/'`
2209
AC_MSG_RESULT([$]{ac_t:-
2210
}[$]am_cv_proto_iconv)
2211
AC_DEFINE_UNQUOTED(ICONV_CONST, $am_cv_proto_iconv_arg1,
2212
[Define as const if the declaration of iconv() needs const.])
2215
m4trace:m4/lib-ld.m4:12: -1- AC_DEFUN([AC_LIB_PROG_LD_GNU], [AC_CACHE_CHECK([if the linker ($LD) is GNU ld], acl_cv_prog_gnu_ld,
2216
[# I'd rather use --version here, but apparently some GNU ld's only accept -v.
2217
case `$LD -v 2>&1 </dev/null` in
2218
*GNU* | *'with BFD'*)
2219
acl_cv_prog_gnu_ld=yes ;;
2221
acl_cv_prog_gnu_ld=no ;;
2223
with_gnu_ld=$acl_cv_prog_gnu_ld
2225
m4trace:m4/lib-ld.m4:25: -1- AC_DEFUN([AC_LIB_PROG_LD], [AC_ARG_WITH(gnu-ld,
2226
[ --with-gnu-ld assume the C compiler uses GNU ld [default=no]],
2227
test "$withval" = no || with_gnu_ld=yes, with_gnu_ld=no)
2228
AC_REQUIRE([AC_PROG_CC])dnl
2229
AC_REQUIRE([AC_CANONICAL_HOST])dnl
2230
# Prepare PATH_SEPARATOR.
2231
# The user is always right.
2232
if test "${PATH_SEPARATOR+set}" != set; then
2233
echo "#! /bin/sh" >conf$$.sh
2234
echo "exit 0" >>conf$$.sh
2236
if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
2244
if test "$GCC" = yes; then
2245
# Check if gcc -print-prog-name=ld gives a path.
2246
AC_MSG_CHECKING([for ld used by GCC])
2249
# gcc leaves a trailing carriage return which upsets mingw
2250
ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
2252
ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
2255
# Accept absolute paths.
2256
[[\\/]* | [A-Za-z]:[\\/]*)]
2257
[re_direlt='/[^/][^/]*/\.\./']
2258
# Canonicalize the path of ld
2259
ac_prog=`echo $ac_prog| sed 's%\\\\%/%g'`
2260
while echo $ac_prog | grep "$re_direlt" > /dev/null 2>&1; do
2261
ac_prog=`echo $ac_prog| sed "s%$re_direlt%/%"`
2263
test -z "$LD" && LD="$ac_prog"
2266
# If it fails, then pretend we aren't using GCC.
2270
# If it is relative, then search for the first ld in PATH.
2274
elif test "$with_gnu_ld" = yes; then
2275
AC_MSG_CHECKING([for GNU ld])
2277
AC_MSG_CHECKING([for non-GNU ld])
2279
AC_CACHE_VAL(acl_cv_path_LD,
2280
[if test -z "$LD"; then
2281
IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}${PATH_SEPARATOR-:}"
2282
for ac_dir in $PATH; do
2283
test -z "$ac_dir" && ac_dir=.
2284
if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
2285
acl_cv_path_LD="$ac_dir/$ac_prog"
2286
# Check to see if the program is GNU ld. I'd rather use --version,
2287
# but apparently some GNU ld's only accept -v.
2288
# Break only if it was the GNU/non-GNU ld that we prefer.
2289
case `"$acl_cv_path_LD" -v 2>&1 < /dev/null` in
2290
*GNU* | *'with BFD'*)
2291
test "$with_gnu_ld" != no && break ;;
2293
test "$with_gnu_ld" != yes && break ;;
2299
acl_cv_path_LD="$LD" # Let the user override the test with a path.
2301
LD="$acl_cv_path_LD"
2302
if test -n "$LD"; then
2307
test -z "$LD" && AC_MSG_ERROR([no acceptable ld found in \$PATH])
2310
m4trace:m4/lib-link.m4:15: -1- AC_DEFUN([AC_LIB_LINKFLAGS], [
2311
AC_REQUIRE([AC_LIB_PREPARE_PREFIX])
2312
AC_REQUIRE([AC_LIB_RPATH])
2313
define([Name],[translit([$1],[./-], [___])])
2314
define([NAME],[translit([$1],[abcdefghijklmnopqrstuvwxyz./-],
2315
[ABCDEFGHIJKLMNOPQRSTUVWXYZ___])])
2316
AC_CACHE_CHECK([how to link with lib[]$1], [ac_cv_lib[]Name[]_libs], [
2317
AC_LIB_LINKFLAGS_BODY([$1], [$2])
2318
ac_cv_lib[]Name[]_libs="$LIB[]NAME"
2319
ac_cv_lib[]Name[]_ltlibs="$LTLIB[]NAME"
2320
ac_cv_lib[]Name[]_cppflags="$INC[]NAME"
2322
LIB[]NAME="$ac_cv_lib[]Name[]_libs"
2323
LTLIB[]NAME="$ac_cv_lib[]Name[]_ltlibs"
2324
INC[]NAME="$ac_cv_lib[]Name[]_cppflags"
2325
AC_LIB_APPENDTOVAR([CPPFLAGS], [$INC]NAME)
2327
AC_SUBST([LTLIB]NAME)
2328
dnl Also set HAVE_LIB[]NAME so that AC_LIB_HAVE_LINKFLAGS can reuse the
2329
dnl results of this search when this library appears as a dependency.
2334
m4trace:m4/lib-link.m4:49: -1- AC_DEFUN([AC_LIB_HAVE_LINKFLAGS], [
2335
AC_REQUIRE([AC_LIB_PREPARE_PREFIX])
2336
AC_REQUIRE([AC_LIB_RPATH])
2337
define([Name],[translit([$1],[./-], [___])])
2338
define([NAME],[translit([$1],[abcdefghijklmnopqrstuvwxyz./-],
2339
[ABCDEFGHIJKLMNOPQRSTUVWXYZ___])])
2341
dnl Search for lib[]Name and define LIB[]NAME, LTLIB[]NAME and INC[]NAME
2343
AC_LIB_LINKFLAGS_BODY([$1], [$2])
2345
dnl Add $INC[]NAME to CPPFLAGS before performing the following checks,
2346
dnl because if the user has installed lib[]Name and not disabled its use
2347
dnl via --without-lib[]Name-prefix, he wants to use it.
2348
ac_save_CPPFLAGS="$CPPFLAGS"
2349
AC_LIB_APPENDTOVAR([CPPFLAGS], [$INC]NAME)
2351
AC_CACHE_CHECK([for lib[]$1], [ac_cv_lib[]Name], [
2352
ac_save_LIBS="$LIBS"
2353
LIBS="$LIBS $LIB[]NAME"
2354
AC_TRY_LINK([$3], [$4], [ac_cv_lib[]Name=yes], [ac_cv_lib[]Name=no])
2355
LIBS="$ac_save_LIBS"
2357
if test "$ac_cv_lib[]Name" = yes; then
2359
AC_DEFINE([HAVE_LIB]NAME, 1, [Define if you have the $1 library.])
2360
AC_MSG_CHECKING([how to link with lib[]$1])
2361
AC_MSG_RESULT([$LIB[]NAME])
2364
dnl If $LIB[]NAME didn't lead to a usable library, we don't need
2365
dnl $INC[]NAME either.
2366
CPPFLAGS="$ac_save_CPPFLAGS"
2370
AC_SUBST([HAVE_LIB]NAME)
2372
AC_SUBST([LTLIB]NAME)
2376
m4trace:m4/lib-link.m4:96: -1- AC_DEFUN([AC_LIB_RPATH], [
2377
dnl Tell automake >= 1.10 to complain if config.rpath is missing.
2378
m4_ifdef([AC_REQUIRE_AUX_FILE], [AC_REQUIRE_AUX_FILE([config.rpath])])
2379
AC_REQUIRE([AC_PROG_CC]) dnl we use $CC, $GCC, $LDFLAGS
2380
AC_REQUIRE([AC_LIB_PROG_LD]) dnl we use $LD, $with_gnu_ld
2381
AC_REQUIRE([AC_CANONICAL_HOST]) dnl we use $host
2382
AC_REQUIRE([AC_CONFIG_AUX_DIR_DEFAULT]) dnl we use $ac_aux_dir
2383
AC_CACHE_CHECK([for shared library run path origin], acl_cv_rpath, [
2384
CC="$CC" GCC="$GCC" LDFLAGS="$LDFLAGS" LD="$LD" with_gnu_ld="$with_gnu_ld" \
2385
${CONFIG_SHELL-/bin/sh} "$ac_aux_dir/config.rpath" "$host" > conftest.sh
2391
libext="$acl_cv_libext"
2392
shlibext="$acl_cv_shlibext"
2393
hardcode_libdir_flag_spec="$acl_cv_hardcode_libdir_flag_spec"
2394
hardcode_libdir_separator="$acl_cv_hardcode_libdir_separator"
2395
hardcode_direct="$acl_cv_hardcode_direct"
2396
hardcode_minus_L="$acl_cv_hardcode_minus_L"
2397
dnl Determine whether the user wants rpath handling at all.
2398
AC_ARG_ENABLE(rpath,
2399
[ --disable-rpath do not hardcode runtime library paths],
2400
:, enable_rpath=yes)
2402
m4trace:m4/lib-link.m4:127: -1- AC_DEFUN([AC_LIB_LINKFLAGS_BODY], [
2403
AC_REQUIRE([AC_LIB_PREPARE_MULTILIB])
2404
define([NAME],[translit([$1],[abcdefghijklmnopqrstuvwxyz./-],
2405
[ABCDEFGHIJKLMNOPQRSTUVWXYZ___])])
2406
dnl By default, look in $includedir and $libdir.
2408
AC_LIB_WITH_FINAL_PREFIX([
2409
eval additional_includedir=\"$includedir\"
2410
eval additional_libdir=\"$libdir\"
2412
AC_LIB_ARG_WITH([lib$1-prefix],
2413
[ --with-lib$1-prefix[=DIR] search for lib$1 in DIR/include and DIR/lib
2414
--without-lib$1-prefix don't search for lib$1 in includedir and libdir],
2416
if test "X$withval" = "Xno"; then
2419
if test "X$withval" = "X"; then
2420
AC_LIB_WITH_FINAL_PREFIX([
2421
eval additional_includedir=\"$includedir\"
2422
eval additional_libdir=\"$libdir\"
2425
additional_includedir="$withval/include"
2426
additional_libdir="$withval/$acl_libdirstem"
2430
dnl Search the library and its dependencies in $additional_libdir and
2431
dnl $LDFLAGS. Using breadth-first-seach.
2437
names_already_handled=
2438
names_next_round='$1 $2'
2439
while test -n "$names_next_round"; do
2440
names_this_round="$names_next_round"
2442
for name in $names_this_round; do
2444
for n in $names_already_handled; do
2445
if test "$n" = "$name"; then
2450
if test -z "$already_handled"; then
2451
names_already_handled="$names_already_handled $name"
2452
dnl See if it was already located by an earlier AC_LIB_LINKFLAGS
2453
dnl or AC_LIB_HAVE_LINKFLAGS call.
2454
uppername=`echo "$name" | sed -e 'y|abcdefghijklmnopqrstuvwxyz./-|ABCDEFGHIJKLMNOPQRSTUVWXYZ___|'`
2455
eval value=\"\$HAVE_LIB$uppername\"
2456
if test -n "$value"; then
2457
if test "$value" = yes; then
2458
eval value=\"\$LIB$uppername\"
2459
test -z "$value" || LIB[]NAME="${LIB[]NAME}${LIB[]NAME:+ }$value"
2460
eval value=\"\$LTLIB$uppername\"
2461
test -z "$value" || LTLIB[]NAME="${LTLIB[]NAME}${LTLIB[]NAME:+ }$value"
2463
dnl An earlier call to AC_LIB_HAVE_LINKFLAGS has determined
2464
dnl that this library doesn't exist. So just drop it.
2468
dnl Search the library lib$name in $additional_libdir and $LDFLAGS
2469
dnl and the already constructed $LIBNAME/$LTLIBNAME.
2474
if test $use_additional = yes; then
2475
if test -n "$shlibext" \
2476
&& { test -f "$additional_libdir/lib$name.$shlibext" \
2477
|| { test "$shlibext" = dll \
2478
&& test -f "$additional_libdir/lib$name.dll.a"; }; }; then
2479
found_dir="$additional_libdir"
2480
if test -f "$additional_libdir/lib$name.$shlibext"; then
2481
found_so="$additional_libdir/lib$name.$shlibext"
2483
found_so="$additional_libdir/lib$name.dll.a"
2485
if test -f "$additional_libdir/lib$name.la"; then
2486
found_la="$additional_libdir/lib$name.la"
2489
if test -f "$additional_libdir/lib$name.$libext"; then
2490
found_dir="$additional_libdir"
2491
found_a="$additional_libdir/lib$name.$libext"
2492
if test -f "$additional_libdir/lib$name.la"; then
2493
found_la="$additional_libdir/lib$name.la"
2498
if test "X$found_dir" = "X"; then
2499
for x in $LDFLAGS $LTLIB[]NAME; do
2500
AC_LIB_WITH_FINAL_PREFIX([eval x=\"$x\"])
2503
dir=`echo "X$x" | sed -e 's/^X-L//'`
2504
if test -n "$shlibext" \
2505
&& { test -f "$dir/lib$name.$shlibext" \
2506
|| { test "$shlibext" = dll \
2507
&& test -f "$dir/lib$name.dll.a"; }; }; then
2509
if test -f "$dir/lib$name.$shlibext"; then
2510
found_so="$dir/lib$name.$shlibext"
2512
found_so="$dir/lib$name.dll.a"
2514
if test -f "$dir/lib$name.la"; then
2515
found_la="$dir/lib$name.la"
2518
if test -f "$dir/lib$name.$libext"; then
2520
found_a="$dir/lib$name.$libext"
2521
if test -f "$dir/lib$name.la"; then
2522
found_la="$dir/lib$name.la"
2528
if test "X$found_dir" != "X"; then
2533
if test "X$found_dir" != "X"; then
2534
dnl Found the library.
2535
LTLIB[]NAME="${LTLIB[]NAME}${LTLIB[]NAME:+ }-L$found_dir -l$name"
2536
if test "X$found_so" != "X"; then
2537
dnl Linking with a shared library. We attempt to hardcode its
2538
dnl directory into the executable's runpath, unless it's the
2539
dnl standard /usr/lib.
2540
if test "$enable_rpath" = no || test "X$found_dir" = "X/usr/$acl_libdirstem"; then
2541
dnl No hardcoding is needed.
2542
LIB[]NAME="${LIB[]NAME}${LIB[]NAME:+ }$found_so"
2544
dnl Use an explicit option to hardcode DIR into the resulting
2546
dnl Potentially add DIR to ltrpathdirs.
2547
dnl The ltrpathdirs will be appended to $LTLIBNAME at the end.
2549
for x in $ltrpathdirs; do
2550
if test "X$x" = "X$found_dir"; then
2555
if test -z "$haveit"; then
2556
ltrpathdirs="$ltrpathdirs $found_dir"
2558
dnl The hardcoding into $LIBNAME is system dependent.
2559
if test "$hardcode_direct" = yes; then
2560
dnl Using DIR/libNAME.so during linking hardcodes DIR into the
2561
dnl resulting binary.
2562
LIB[]NAME="${LIB[]NAME}${LIB[]NAME:+ }$found_so"
2564
if test -n "$hardcode_libdir_flag_spec" && test "$hardcode_minus_L" = no; then
2565
dnl Use an explicit option to hardcode DIR into the resulting
2567
LIB[]NAME="${LIB[]NAME}${LIB[]NAME:+ }$found_so"
2568
dnl Potentially add DIR to rpathdirs.
2569
dnl The rpathdirs will be appended to $LIBNAME at the end.
2571
for x in $rpathdirs; do
2572
if test "X$x" = "X$found_dir"; then
2577
if test -z "$haveit"; then
2578
rpathdirs="$rpathdirs $found_dir"
2581
dnl Rely on "-L$found_dir".
2582
dnl But don't add it if it's already contained in the LDFLAGS
2583
dnl or the already constructed $LIBNAME
2585
for x in $LDFLAGS $LIB[]NAME; do
2586
AC_LIB_WITH_FINAL_PREFIX([eval x=\"$x\"])
2587
if test "X$x" = "X-L$found_dir"; then
2592
if test -z "$haveit"; then
2593
LIB[]NAME="${LIB[]NAME}${LIB[]NAME:+ }-L$found_dir"
2595
if test "$hardcode_minus_L" != no; then
2596
dnl FIXME: Not sure whether we should use
2597
dnl "-L$found_dir -l$name" or "-L$found_dir $found_so"
2599
LIB[]NAME="${LIB[]NAME}${LIB[]NAME:+ }$found_so"
2601
dnl We cannot use $hardcode_runpath_var and LD_RUN_PATH
2602
dnl here, because this doesn't fit in flags passed to the
2603
dnl compiler. So give up. No hardcoding. This affects only
2604
dnl very old systems.
2605
dnl FIXME: Not sure whether we should use
2606
dnl "-L$found_dir -l$name" or "-L$found_dir $found_so"
2608
LIB[]NAME="${LIB[]NAME}${LIB[]NAME:+ }-l$name"
2614
if test "X$found_a" != "X"; then
2615
dnl Linking with a static library.
2616
LIB[]NAME="${LIB[]NAME}${LIB[]NAME:+ }$found_a"
2618
dnl We shouldn't come here, but anyway it's good to have a
2620
LIB[]NAME="${LIB[]NAME}${LIB[]NAME:+ }-L$found_dir -l$name"
2623
dnl Assume the include files are nearby.
2624
additional_includedir=
2625
case "$found_dir" in
2626
*/$acl_libdirstem | */$acl_libdirstem/)
2627
basedir=`echo "X$found_dir" | sed -e 's,^X,,' -e "s,/$acl_libdirstem/"'*$,,'`
2628
additional_includedir="$basedir/include"
2631
if test "X$additional_includedir" != "X"; then
2632
dnl Potentially add $additional_includedir to $INCNAME.
2633
dnl But don't add it
2634
dnl 1. if it's the standard /usr/include,
2635
dnl 2. if it's /usr/local/include and we are using GCC on Linux,
2636
dnl 3. if it's already present in $CPPFLAGS or the already
2637
dnl constructed $INCNAME,
2638
dnl 4. if it doesn't exist as a directory.
2639
if test "X$additional_includedir" != "X/usr/include"; then
2641
if test "X$additional_includedir" = "X/usr/local/include"; then
2642
if test -n "$GCC"; then
2644
linux* | gnu* | k*bsd*-gnu) haveit=yes;;
2648
if test -z "$haveit"; then
2649
for x in $CPPFLAGS $INC[]NAME; do
2650
AC_LIB_WITH_FINAL_PREFIX([eval x=\"$x\"])
2651
if test "X$x" = "X-I$additional_includedir"; then
2656
if test -z "$haveit"; then
2657
if test -d "$additional_includedir"; then
2658
dnl Really add $additional_includedir to $INCNAME.
2659
INC[]NAME="${INC[]NAME}${INC[]NAME:+ }-I$additional_includedir"
2665
dnl Look for dependencies.
2666
if test -n "$found_la"; then
2667
dnl Read the .la file. It defines the variables
2668
dnl dlname, library_names, old_library, dependency_libs, current,
2669
dnl age, revision, installed, dlopen, dlpreopen, libdir.
2670
save_libdir="$libdir"
2672
*/* | *\\*) . "$found_la" ;;
2673
*) . "./$found_la" ;;
2675
libdir="$save_libdir"
2676
dnl We use only dependency_libs.
2677
for dep in $dependency_libs; do
2680
additional_libdir=`echo "X$dep" | sed -e 's/^X-L//'`
2681
dnl Potentially add $additional_libdir to $LIBNAME and $LTLIBNAME.
2682
dnl But don't add it
2683
dnl 1. if it's the standard /usr/lib,
2684
dnl 2. if it's /usr/local/lib and we are using GCC on Linux,
2685
dnl 3. if it's already present in $LDFLAGS or the already
2686
dnl constructed $LIBNAME,
2687
dnl 4. if it doesn't exist as a directory.
2688
if test "X$additional_libdir" != "X/usr/$acl_libdirstem"; then
2690
if test "X$additional_libdir" = "X/usr/local/$acl_libdirstem"; then
2691
if test -n "$GCC"; then
2693
linux* | gnu* | k*bsd*-gnu) haveit=yes;;
2697
if test -z "$haveit"; then
2699
for x in $LDFLAGS $LIB[]NAME; do
2700
AC_LIB_WITH_FINAL_PREFIX([eval x=\"$x\"])
2701
if test "X$x" = "X-L$additional_libdir"; then
2706
if test -z "$haveit"; then
2707
if test -d "$additional_libdir"; then
2708
dnl Really add $additional_libdir to $LIBNAME.
2709
LIB[]NAME="${LIB[]NAME}${LIB[]NAME:+ }-L$additional_libdir"
2713
for x in $LDFLAGS $LTLIB[]NAME; do
2714
AC_LIB_WITH_FINAL_PREFIX([eval x=\"$x\"])
2715
if test "X$x" = "X-L$additional_libdir"; then
2720
if test -z "$haveit"; then
2721
if test -d "$additional_libdir"; then
2722
dnl Really add $additional_libdir to $LTLIBNAME.
2723
LTLIB[]NAME="${LTLIB[]NAME}${LTLIB[]NAME:+ }-L$additional_libdir"
2730
dir=`echo "X$dep" | sed -e 's/^X-R//'`
2731
if test "$enable_rpath" != no; then
2732
dnl Potentially add DIR to rpathdirs.
2733
dnl The rpathdirs will be appended to $LIBNAME at the end.
2735
for x in $rpathdirs; do
2736
if test "X$x" = "X$dir"; then
2741
if test -z "$haveit"; then
2742
rpathdirs="$rpathdirs $dir"
2744
dnl Potentially add DIR to ltrpathdirs.
2745
dnl The ltrpathdirs will be appended to $LTLIBNAME at the end.
2747
for x in $ltrpathdirs; do
2748
if test "X$x" = "X$dir"; then
2753
if test -z "$haveit"; then
2754
ltrpathdirs="$ltrpathdirs $dir"
2759
dnl Handle this in the next round.
2760
names_next_round="$names_next_round "`echo "X$dep" | sed -e 's/^X-l//'`
2763
dnl Handle this in the next round. Throw away the .la's
2764
dnl directory; it is already contained in a preceding -L
2766
names_next_round="$names_next_round "`echo "X$dep" | sed -e 's,^X.*/,,' -e 's,^lib,,' -e 's,\.la$,,'`
2769
dnl Most likely an immediate library name.
2770
LIB[]NAME="${LIB[]NAME}${LIB[]NAME:+ }$dep"
2771
LTLIB[]NAME="${LTLIB[]NAME}${LTLIB[]NAME:+ }$dep"
2777
dnl Didn't find the library; assume it is in the system directories
2778
dnl known to the linker and runtime loader. (All the system
2779
dnl directories known to the linker should also be known to the
2780
dnl runtime loader, otherwise the system is severely misconfigured.)
2781
LIB[]NAME="${LIB[]NAME}${LIB[]NAME:+ }-l$name"
2782
LTLIB[]NAME="${LTLIB[]NAME}${LTLIB[]NAME:+ }-l$name"
2788
if test "X$rpathdirs" != "X"; then
2789
if test -n "$hardcode_libdir_separator"; then
2790
dnl Weird platform: only the last -rpath option counts, the user must
2791
dnl pass all path elements in one option. We can arrange that for a
2792
dnl single library, but not when more than one $LIBNAMEs are used.
2794
for found_dir in $rpathdirs; do
2795
alldirs="${alldirs}${alldirs:+$hardcode_libdir_separator}$found_dir"
2797
dnl Note: hardcode_libdir_flag_spec uses $libdir and $wl.
2798
acl_save_libdir="$libdir"
2800
eval flag=\"$hardcode_libdir_flag_spec\"
2801
libdir="$acl_save_libdir"
2802
LIB[]NAME="${LIB[]NAME}${LIB[]NAME:+ }$flag"
2804
dnl The -rpath options are cumulative.
2805
for found_dir in $rpathdirs; do
2806
acl_save_libdir="$libdir"
2808
eval flag=\"$hardcode_libdir_flag_spec\"
2809
libdir="$acl_save_libdir"
2810
LIB[]NAME="${LIB[]NAME}${LIB[]NAME:+ }$flag"
2814
if test "X$ltrpathdirs" != "X"; then
2815
dnl When using libtool, the option that works for both libraries and
2816
dnl executables is -R. The -R options are cumulative.
2817
for found_dir in $ltrpathdirs; do
2818
LTLIB[]NAME="${LTLIB[]NAME}${LTLIB[]NAME:+ }-R$found_dir"
2822
m4trace:m4/lib-link.m4:553: -1- AC_DEFUN([AC_LIB_APPENDTOVAR], [
2823
for element in [$2]; do
2826
AC_LIB_WITH_FINAL_PREFIX([eval x=\"$x\"])
2827
if test "X$x" = "X$element"; then
2832
if test -z "$haveit"; then
2833
[$1]="${[$1]}${[$1]:+ }$element"
2837
m4trace:m4/lib-link.m4:577: -1- AC_DEFUN([AC_LIB_LINKFLAGS_FROM_LIBS], [
2838
AC_REQUIRE([AC_LIB_RPATH])
2839
AC_REQUIRE([AC_LIB_PREPARE_MULTILIB])
2841
if test "$enable_rpath" != no; then
2842
if test -n "$hardcode_libdir_flag_spec" && test "$hardcode_minus_L" = no; then
2843
dnl Use an explicit option to hardcode directories into the resulting
2848
if test -n "$next"; then
2850
dnl No need to hardcode the standard /usr/lib.
2851
if test "X$dir" != "X/usr/$acl_libdirstem"; then
2852
rpathdirs="$rpathdirs $dir"
2858
-L*) dir=`echo "X$opt" | sed -e 's,^X-L,,'`
2859
dnl No need to hardcode the standard /usr/lib.
2860
if test "X$dir" != "X/usr/$acl_libdirstem"; then
2861
rpathdirs="$rpathdirs $dir"
2868
if test "X$rpathdirs" != "X"; then
2869
if test -n ""$3""; then
2870
dnl libtool is used for linking. Use -R options.
2871
for dir in $rpathdirs; do
2872
$1="${$1}${$1:+ }-R$dir"
2875
dnl The linker is used for linking directly.
2876
if test -n "$hardcode_libdir_separator"; then
2877
dnl Weird platform: only the last -rpath option counts, the user
2878
dnl must pass all path elements in one option.
2880
for dir in $rpathdirs; do
2881
alldirs="${alldirs}${alldirs:+$hardcode_libdir_separator}$dir"
2883
acl_save_libdir="$libdir"
2885
eval flag=\"$hardcode_libdir_flag_spec\"
2886
libdir="$acl_save_libdir"
2889
dnl The -rpath options are cumulative.
2890
for dir in $rpathdirs; do
2891
acl_save_libdir="$libdir"
2893
eval flag=\"$hardcode_libdir_flag_spec\"
2894
libdir="$acl_save_libdir"
2895
$1="${$1}${$1:+ }$flag"
2904
m4trace:m4/lib-prefix.m4:12: -1- AC_DEFUN([AC_LIB_ARG_WITH], [AC_ARG_WITH([$1],[[$2]],[$3],[$4])])
2905
m4trace:m4/lib-prefix.m4:22: -1- AC_DEFUN([AC_LIB_PREFIX], [
2906
AC_BEFORE([$0], [AC_LIB_LINKFLAGS])
2907
AC_REQUIRE([AC_PROG_CC])
2908
AC_REQUIRE([AC_CANONICAL_HOST])
2909
AC_REQUIRE([AC_LIB_PREPARE_MULTILIB])
2910
AC_REQUIRE([AC_LIB_PREPARE_PREFIX])
2911
dnl By default, look in $includedir and $libdir.
2913
AC_LIB_WITH_FINAL_PREFIX([
2914
eval additional_includedir=\"$includedir\"
2915
eval additional_libdir=\"$libdir\"
2917
AC_LIB_ARG_WITH([lib-prefix],
2918
[ --with-lib-prefix[=DIR] search for libraries in DIR/include and DIR/lib
2919
--without-lib-prefix don't search for libraries in includedir and libdir],
2921
if test "X$withval" = "Xno"; then
2924
if test "X$withval" = "X"; then
2925
AC_LIB_WITH_FINAL_PREFIX([
2926
eval additional_includedir=\"$includedir\"
2927
eval additional_libdir=\"$libdir\"
2930
additional_includedir="$withval/include"
2931
additional_libdir="$withval/$acl_libdirstem"
2935
if test $use_additional = yes; then
2936
dnl Potentially add $additional_includedir to $CPPFLAGS.
2937
dnl But don't add it
2938
dnl 1. if it's the standard /usr/include,
2939
dnl 2. if it's already present in $CPPFLAGS,
2940
dnl 3. if it's /usr/local/include and we are using GCC on Linux,
2941
dnl 4. if it doesn't exist as a directory.
2942
if test "X$additional_includedir" != "X/usr/include"; then
2944
for x in $CPPFLAGS; do
2945
AC_LIB_WITH_FINAL_PREFIX([eval x=\"$x\"])
2946
if test "X$x" = "X-I$additional_includedir"; then
2951
if test -z "$haveit"; then
2952
if test "X$additional_includedir" = "X/usr/local/include"; then
2953
if test -n "$GCC"; then
2955
linux* | gnu* | k*bsd*-gnu) haveit=yes;;
2959
if test -z "$haveit"; then
2960
if test -d "$additional_includedir"; then
2961
dnl Really add $additional_includedir to $CPPFLAGS.
2962
CPPFLAGS="${CPPFLAGS}${CPPFLAGS:+ }-I$additional_includedir"
2967
dnl Potentially add $additional_libdir to $LDFLAGS.
2968
dnl But don't add it
2969
dnl 1. if it's the standard /usr/lib,
2970
dnl 2. if it's already present in $LDFLAGS,
2971
dnl 3. if it's /usr/local/lib and we are using GCC on Linux,
2972
dnl 4. if it doesn't exist as a directory.
2973
if test "X$additional_libdir" != "X/usr/$acl_libdirstem"; then
2975
for x in $LDFLAGS; do
2976
AC_LIB_WITH_FINAL_PREFIX([eval x=\"$x\"])
2977
if test "X$x" = "X-L$additional_libdir"; then
2982
if test -z "$haveit"; then
2983
if test "X$additional_libdir" = "X/usr/local/$acl_libdirstem"; then
2984
if test -n "$GCC"; then
2986
linux*) haveit=yes;;
2990
if test -z "$haveit"; then
2991
if test -d "$additional_libdir"; then
2992
dnl Really add $additional_libdir to $LDFLAGS.
2993
LDFLAGS="${LDFLAGS}${LDFLAGS:+ }-L$additional_libdir"
3000
m4trace:m4/lib-prefix.m4:122: -1- AC_DEFUN([AC_LIB_PREPARE_PREFIX], [
3001
dnl Unfortunately, prefix and exec_prefix get only finally determined
3002
dnl at the end of configure.
3003
if test "X$prefix" = "XNONE"; then
3004
acl_final_prefix="$ac_default_prefix"
3006
acl_final_prefix="$prefix"
3008
if test "X$exec_prefix" = "XNONE"; then
3009
acl_final_exec_prefix='${prefix}'
3011
acl_final_exec_prefix="$exec_prefix"
3013
acl_save_prefix="$prefix"
3014
prefix="$acl_final_prefix"
3015
eval acl_final_exec_prefix=\"$acl_final_exec_prefix\"
3016
prefix="$acl_save_prefix"
3018
m4trace:m4/lib-prefix.m4:145: -1- AC_DEFUN([AC_LIB_WITH_FINAL_PREFIX], [
3019
acl_save_prefix="$prefix"
3020
prefix="$acl_final_prefix"
3021
acl_save_exec_prefix="$exec_prefix"
3022
exec_prefix="$acl_final_exec_prefix"
3024
exec_prefix="$acl_save_exec_prefix"
3025
prefix="$acl_save_prefix"
3027
m4trace:m4/lib-prefix.m4:158: -1- AC_DEFUN([AC_LIB_PREPARE_MULTILIB], [
3028
dnl There is no formal standard regarding lib and lib64. The current
3029
dnl practice is that on a system supporting 32-bit and 64-bit instruction
3030
dnl sets or ABIs, 64-bit libraries go under $prefix/lib64 and 32-bit
3031
dnl libraries go under $prefix/lib. We determine the compiler's default
3032
dnl mode by looking at the compiler's library search path. If at least
3033
dnl of its elements ends in /lib64 or points to a directory whose absolute
3034
dnl pathname ends in /lib64, we assume a 64-bit ABI. Otherwise we use the
3035
dnl default, namely "lib".
3037
searchpath=`(LC_ALL=C $CC -print-search-dirs) 2>/dev/null | sed -n -e 's,^libraries: ,,p' | sed -e 's,^=,,'`
3038
if test -n "$searchpath"; then
3039
acl_save_IFS="${IFS= }"; IFS=":"
3040
for searchdir in $searchpath; do
3041
if test -d "$searchdir"; then
3042
case "$searchdir" in
3043
*/lib64/ | */lib64 ) acl_libdirstem=lib64 ;;
3044
*) searchdir=`cd "$searchdir" && pwd`
3045
case "$searchdir" in
3046
*/lib64 ) acl_libdirstem=lib64 ;;
3054
m4trace:m4/nls.m4:22: -1- AC_DEFUN([AM_NLS], [
3055
AC_MSG_CHECKING([whether NLS is requested])
3056
dnl Default is enabled NLS
3058
[ --disable-nls do not use Native Language Support],
3059
USE_NLS=$enableval, USE_NLS=yes)
3060
AC_MSG_RESULT($USE_NLS)
3063
m4trace:m4/po.m4:23: -1- AC_DEFUN([AM_PO_SUBDIRS], [
3064
AC_REQUIRE([AC_PROG_MAKE_SET])dnl
3065
AC_REQUIRE([AC_PROG_INSTALL])dnl
3066
AC_REQUIRE([AM_PROG_MKDIR_P])dnl defined by automake
3067
AC_REQUIRE([AM_NLS])dnl
3069
dnl Perform the following tests also if --disable-nls has been given,
3070
dnl because they are needed for "make dist" to work.
3072
dnl Search for GNU msgfmt in the PATH.
3073
dnl The first test excludes Solaris msgfmt and early GNU msgfmt versions.
3074
dnl The second test excludes FreeBSD msgfmt.
3075
AM_PATH_PROG_WITH_TEST(MSGFMT, msgfmt,
3076
[$ac_dir/$ac_word --statistics /dev/null >&]AS_MESSAGE_LOG_FD[ 2>&1 &&
3077
(if $ac_dir/$ac_word --statistics /dev/null 2>&1 >/dev/null | grep usage >/dev/null; then exit 1; else exit 0; fi)],
3079
AC_PATH_PROG(GMSGFMT, gmsgfmt, $MSGFMT)
3081
dnl Test whether it is GNU msgfmt >= 0.15.
3083
case `$MSGFMT --version | sed 1q | sed -e 's,^[^0-9]*,,'` in
3084
'' | 0.[0-9] | 0.[0-9].* | 0.1[0-4] | 0.1[0-4].*) MSGFMT_015=: ;;
3085
*) MSGFMT_015=$MSGFMT ;;
3088
AC_SUBST([MSGFMT_015])
3090
case `$GMSGFMT --version | sed 1q | sed -e 's,^[^0-9]*,,'` in
3091
'' | 0.[0-9] | 0.[0-9].* | 0.1[0-4] | 0.1[0-4].*) GMSGFMT_015=: ;;
3092
*) GMSGFMT_015=$GMSGFMT ;;
3095
AC_SUBST([GMSGFMT_015])
3097
dnl Search for GNU xgettext 0.12 or newer in the PATH.
3098
dnl The first test excludes Solaris xgettext and early GNU xgettext versions.
3099
dnl The second test excludes FreeBSD xgettext.
3100
AM_PATH_PROG_WITH_TEST(XGETTEXT, xgettext,
3101
[$ac_dir/$ac_word --omit-header --copyright-holder= --msgid-bugs-address= /dev/null >&]AS_MESSAGE_LOG_FD[ 2>&1 &&
3102
(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)],
3104
dnl Remove leftover from FreeBSD xgettext call.
3107
dnl Test whether it is GNU xgettext >= 0.15.
3109
case `$XGETTEXT --version | sed 1q | sed -e 's,^[^0-9]*,,'` in
3110
'' | 0.[0-9] | 0.[0-9].* | 0.1[0-4] | 0.1[0-4].*) XGETTEXT_015=: ;;
3111
*) XGETTEXT_015=$XGETTEXT ;;
3114
AC_SUBST([XGETTEXT_015])
3116
dnl Search for GNU msgmerge 0.11 or newer in the PATH.
3117
AM_PATH_PROG_WITH_TEST(MSGMERGE, msgmerge,
3118
[$ac_dir/$ac_word --update -q /dev/null /dev/null >&]AS_MESSAGE_LOG_FD[ 2>&1], :)
3120
dnl Installation directories.
3121
dnl Autoconf >= 2.60 defines localedir. For older versions of autoconf, we
3122
dnl have to define it here, so that it can be used in po/Makefile.
3123
test -n "$localedir" || localedir='${datadir}/locale'
3124
AC_SUBST([localedir])
3126
AC_CONFIG_COMMANDS([po-directories], [[
3127
for ac_file in $CONFIG_FILES; do
3128
# Support "outfile[:infile[:infile...]]"
3130
*:*) ac_file=`echo "$ac_file"|sed 's%:.*%%'` ;;
3132
# PO directories have a Makefile.in generated from Makefile.in.in.
3133
case "$ac_file" in */Makefile.in)
3134
# Adjust a relative srcdir.
3135
ac_dir=`echo "$ac_file"|sed 's%/[^/][^/]*$%%'`
3136
ac_dir_suffix="/`echo "$ac_dir"|sed 's%^\./%%'`"
3137
ac_dots=`echo "$ac_dir_suffix"|sed 's%/[^/]*%../%g'`
3138
# In autoconf-2.13 it is called $ac_given_srcdir.
3139
# In autoconf-2.50 it is called $srcdir.
3140
test -n "$ac_given_srcdir" || ac_given_srcdir="$srcdir"
3141
case "$ac_given_srcdir" in
3142
.) top_srcdir=`echo $ac_dots|sed 's%/$%%'` ;;
3143
/*) top_srcdir="$ac_given_srcdir" ;;
3144
*) top_srcdir="$ac_dots$ac_given_srcdir" ;;
3146
# Treat a directory as a PO directory if and only if it has a
3147
# POTFILES.in file. This allows packages to have multiple PO
3148
# directories under different names or in different locations.
3149
if test -f "$ac_given_srcdir/$ac_dir/POTFILES.in"; then
3150
rm -f "$ac_dir/POTFILES"
3151
test -n "$as_me" && echo "$as_me: creating $ac_dir/POTFILES" || echo "creating $ac_dir/POTFILES"
3152
cat "$ac_given_srcdir/$ac_dir/POTFILES.in" | sed -e "/^#/d" -e "/^[ ]*\$/d" -e "s,.*, $top_srcdir/& \\\\," | sed -e "\$s/\(.*\) \\\\/\1/" > "$ac_dir/POTFILES"
3153
POMAKEFILEDEPS="POTFILES.in"
3154
# ALL_LINGUAS, POFILES, UPDATEPOFILES, DUMMYPOFILES, GMOFILES depend
3155
# on $ac_dir but don't depend on user-specified configuration
3157
if test -f "$ac_given_srcdir/$ac_dir/LINGUAS"; then
3158
# The LINGUAS file contains the set of available languages.
3159
if test -n "$OBSOLETE_ALL_LINGUAS"; then
3160
test -n "$as_me" && echo "$as_me: setting ALL_LINGUAS in configure.in is obsolete" || echo "setting ALL_LINGUAS in configure.in is obsolete"
3162
ALL_LINGUAS_=`sed -e "/^#/d" -e "s/#.*//" "$ac_given_srcdir/$ac_dir/LINGUAS"`
3163
# Hide the ALL_LINGUAS assigment from automake < 1.5.
3164
eval 'ALL_LINGUAS''=$ALL_LINGUAS_'
3165
POMAKEFILEDEPS="$POMAKEFILEDEPS LINGUAS"
3167
# The set of available languages was given in configure.in.
3168
# Hide the ALL_LINGUAS assigment from automake < 1.5.
3169
eval 'ALL_LINGUAS''=$OBSOLETE_ALL_LINGUAS'
3172
# as $(foreach lang, $(ALL_LINGUAS), $(srcdir)/$(lang).po)
3173
# Compute UPDATEPOFILES
3174
# as $(foreach lang, $(ALL_LINGUAS), $(lang).po-update)
3175
# Compute DUMMYPOFILES
3176
# as $(foreach lang, $(ALL_LINGUAS), $(lang).nop)
3178
# as $(foreach lang, $(ALL_LINGUAS), $(srcdir)/$(lang).gmo)
3179
case "$ac_given_srcdir" in
3181
*) srcdirpre='$(srcdir)/' ;;
3187
for lang in $ALL_LINGUAS; do
3188
POFILES="$POFILES $srcdirpre$lang.po"
3189
UPDATEPOFILES="$UPDATEPOFILES $lang.po-update"
3190
DUMMYPOFILES="$DUMMYPOFILES $lang.nop"
3191
GMOFILES="$GMOFILES $srcdirpre$lang.gmo"
3193
# CATALOGS depends on both $ac_dir and the user's LINGUAS
3194
# environment variable.
3196
if test -n "$ALL_LINGUAS"; then
3197
for presentlang in $ALL_LINGUAS; do
3199
if test "%UNSET%" != "$LINGUAS"; then
3200
desiredlanguages="$LINGUAS"
3202
desiredlanguages="$ALL_LINGUAS"
3204
for desiredlang in $desiredlanguages; do
3205
# Use the presentlang catalog if desiredlang is
3206
# a. equal to presentlang, or
3207
# b. a variant of presentlang (because in this case,
3208
# presentlang can be used as a fallback for messages
3209
# which are not translated in the desiredlang catalog).
3210
case "$desiredlang" in
3211
"$presentlang"*) useit=yes;;
3214
if test $useit = yes; then
3215
INST_LINGUAS="$INST_LINGUAS $presentlang"
3220
if test -n "$INST_LINGUAS"; then
3221
for lang in $INST_LINGUAS; do
3222
CATALOGS="$CATALOGS $lang.gmo"
3225
test -n "$as_me" && echo "$as_me: creating $ac_dir/Makefile" || echo "creating $ac_dir/Makefile"
3226
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"
3227
for f in "$ac_given_srcdir/$ac_dir"/Rules-*; do
3228
if test -f "$f"; then
3230
*.orig | *.bak | *~) ;;
3231
*) cat "$f" >> "$ac_dir/Makefile" ;;
3239
[# Capture the value of obsolete ALL_LINGUAS because we need it to compute
3240
# POFILES, UPDATEPOFILES, DUMMYPOFILES, GMOFILES, CATALOGS. But hide it
3241
# from automake < 1.5.
3242
eval 'OBSOLETE_ALL_LINGUAS''="$ALL_LINGUAS"'
3243
# Capture the value of LINGUAS because we need it to compute CATALOGS.
3244
LINGUAS="${LINGUAS-%UNSET%}"
3247
m4trace:m4/po.m4:210: -1- AC_DEFUN([AM_POSTPROCESS_PO_MAKEFILE], [
3248
# When this code is run, in config.status, two variables have already been
3250
# - OBSOLETE_ALL_LINGUAS is the value of LINGUAS set in configure.in,
3251
# - LINGUAS is the value of the environment variable LINGUAS at configure
3255
# Adjust a relative srcdir.
3256
ac_dir=`echo "$ac_file"|sed 's%/[^/][^/]*$%%'`
3257
ac_dir_suffix="/`echo "$ac_dir"|sed 's%^\./%%'`"
3258
ac_dots=`echo "$ac_dir_suffix"|sed 's%/[^/]*%../%g'`
3259
# In autoconf-2.13 it is called $ac_given_srcdir.
3260
# In autoconf-2.50 it is called $srcdir.
3261
test -n "$ac_given_srcdir" || ac_given_srcdir="$srcdir"
3262
case "$ac_given_srcdir" in
3263
.) top_srcdir=`echo $ac_dots|sed 's%/$%%'` ;;
3264
/*) top_srcdir="$ac_given_srcdir" ;;
3265
*) top_srcdir="$ac_dots$ac_given_srcdir" ;;
3268
# Find a way to echo strings without interpreting backslash.
3269
if test "X`(echo '\t') 2>/dev/null`" = 'X\t'; then
3272
if test "X`(printf '%s\n' '\t') 2>/dev/null`" = 'X\t'; then
3273
gt_echo='printf %s\n'
3284
# A sed script that extracts the value of VARIABLE from a Makefile.
3286
# Test if the hold space is empty.
3291
# Yes it was empty. Look if we have the expected variable definition.
3292
/^[ ]*VARIABLE[ ]*=/{
3293
# Seen the first line of the variable definition.
3294
s/^[ ]*VARIABLE[ ]*=//
3299
# Here we are processing a line from the variable definition.
3300
# Remove comment, more precisely replace it with a space.
3302
# See if the line ends in a backslash.
3306
# Print the line, without the trailing backslash.
3309
# There was no trailing backslash. The end of the variable definition is
3310
# reached. Clear the hold space.
3315
# A trailing backslash means that the variable definition continues in the
3316
# next line. Put a nonempty string into the hold space to indicate this.
3323
# Set POTFILES to the value of the Makefile variable POTFILES.
3324
sed_x_POTFILES=`$gt_echo "$sed_x_variable" | sed -e '/^ *#/d' -e 's/VARIABLE/POTFILES/g'`
3325
POTFILES=`sed -n -e "$sed_x_POTFILES" < "$ac_file"`
3326
# Compute POTFILES_DEPS as
3327
# $(foreach file, $(POTFILES), $(top_srcdir)/$(file))
3329
for file in $POTFILES; do
3330
POTFILES_DEPS="$POTFILES_DEPS "'$(top_srcdir)/'"$file"
3334
if test -n "$OBSOLETE_ALL_LINGUAS"; then
3335
test -n "$as_me" && echo "$as_me: setting ALL_LINGUAS in configure.in is obsolete" || echo "setting ALL_LINGUAS in configure.in is obsolete"
3337
if test -f "$ac_given_srcdir/$ac_dir/LINGUAS"; then
3338
# The LINGUAS file contains the set of available languages.
3339
ALL_LINGUAS_=`sed -e "/^#/d" -e "s/#.*//" "$ac_given_srcdir/$ac_dir/LINGUAS"`
3340
POMAKEFILEDEPS="$POMAKEFILEDEPS LINGUAS"
3342
# Set ALL_LINGUAS to the value of the Makefile variable LINGUAS.
3343
sed_x_LINGUAS=`$gt_echo "$sed_x_variable" | sed -e '/^ *#/d' -e 's/VARIABLE/LINGUAS/g'`
3344
ALL_LINGUAS_=`sed -n -e "$sed_x_LINGUAS" < "$ac_file"`
3346
# Hide the ALL_LINGUAS assigment from automake < 1.5.
3347
eval 'ALL_LINGUAS''=$ALL_LINGUAS_'
3349
# as $(foreach lang, $(ALL_LINGUAS), $(srcdir)/$(lang).po)
3350
# Compute UPDATEPOFILES
3351
# as $(foreach lang, $(ALL_LINGUAS), $(lang).po-update)
3352
# Compute DUMMYPOFILES
3353
# as $(foreach lang, $(ALL_LINGUAS), $(lang).nop)
3355
# as $(foreach lang, $(ALL_LINGUAS), $(srcdir)/$(lang).gmo)
3356
# Compute PROPERTIESFILES
3357
# as $(foreach lang, $(ALL_LINGUAS), $(top_srcdir)/$(DOMAIN)_$(lang).properties)
3358
# Compute CLASSFILES
3359
# as $(foreach lang, $(ALL_LINGUAS), $(top_srcdir)/$(DOMAIN)_$(lang).class)
3361
# as $(foreach lang, $(ALL_LINGUAS), $(srcdir)/$(lang).qm)
3363
# as $(foreach lang, $(ALL_LINGUAS), $(srcdir)/$(frob $(lang)).msg)
3364
# Compute RESOURCESDLLFILES
3365
# as $(foreach lang, $(ALL_LINGUAS), $(srcdir)/$(frob $(lang))/$(DOMAIN).resources.dll)
3366
case "$ac_given_srcdir" in
3368
*) srcdirpre='$(srcdir)/' ;;
3379
for lang in $ALL_LINGUAS; do
3380
POFILES="$POFILES $srcdirpre$lang.po"
3381
UPDATEPOFILES="$UPDATEPOFILES $lang.po-update"
3382
DUMMYPOFILES="$DUMMYPOFILES $lang.nop"
3383
GMOFILES="$GMOFILES $srcdirpre$lang.gmo"
3384
PROPERTIESFILES="$PROPERTIESFILES \$(top_srcdir)/\$(DOMAIN)_$lang.properties"
3385
CLASSFILES="$CLASSFILES \$(top_srcdir)/\$(DOMAIN)_$lang.class"
3386
QMFILES="$QMFILES $srcdirpre$lang.qm"
3387
frobbedlang=`echo $lang | sed -e 's/\..*$//' -e 'y/ABCDEFGHIJKLMNOPQRSTUVWXYZ/abcdefghijklmnopqrstuvwxyz/'`
3388
MSGFILES="$MSGFILES $srcdirpre$frobbedlang.msg"
3389
frobbedlang=`echo $lang | sed -e 's/_/-/g' -e 's/^sr-CS/sr-SP/' -e 's/@latin$/-Latn/' -e 's/@cyrillic$/-Cyrl/' -e 's/^sr-SP$/sr-SP-Latn/' -e 's/^uz-UZ$/uz-UZ-Latn/'`
3390
RESOURCESDLLFILES="$RESOURCESDLLFILES $srcdirpre$frobbedlang/\$(DOMAIN).resources.dll"
3392
# CATALOGS depends on both $ac_dir and the user's LINGUAS
3393
# environment variable.
3395
if test -n "$ALL_LINGUAS"; then
3396
for presentlang in $ALL_LINGUAS; do
3398
if test "%UNSET%" != "$LINGUAS"; then
3399
desiredlanguages="$LINGUAS"
3401
desiredlanguages="$ALL_LINGUAS"
3403
for desiredlang in $desiredlanguages; do
3404
# Use the presentlang catalog if desiredlang is
3405
# a. equal to presentlang, or
3406
# b. a variant of presentlang (because in this case,
3407
# presentlang can be used as a fallback for messages
3408
# which are not translated in the desiredlang catalog).
3409
case "$desiredlang" in
3410
"$presentlang"*) useit=yes;;
3413
if test $useit = yes; then
3414
INST_LINGUAS="$INST_LINGUAS $presentlang"
3423
if test -n "$INST_LINGUAS"; then
3424
for lang in $INST_LINGUAS; do
3425
CATALOGS="$CATALOGS $lang.gmo"
3426
JAVACATALOGS="$JAVACATALOGS \$(DOMAIN)_$lang.properties"
3427
QTCATALOGS="$QTCATALOGS $lang.qm"
3428
frobbedlang=`echo $lang | sed -e 's/\..*$//' -e 'y/ABCDEFGHIJKLMNOPQRSTUVWXYZ/abcdefghijklmnopqrstuvwxyz/'`
3429
TCLCATALOGS="$TCLCATALOGS $frobbedlang.msg"
3430
frobbedlang=`echo $lang | sed -e 's/_/-/g' -e 's/^sr-CS/sr-SP/' -e 's/@latin$/-Latn/' -e 's/@cyrillic$/-Cyrl/' -e 's/^sr-SP$/sr-SP-Latn/' -e 's/^uz-UZ$/uz-UZ-Latn/'`
3431
CSHARPCATALOGS="$CSHARPCATALOGS $frobbedlang/\$(DOMAIN).resources.dll"
3435
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"
3436
if grep -l '@TCLCATALOGS@' "$ac_file" > /dev/null; then
3437
# Add dependencies that cannot be formulated as a simple suffix rule.
3438
for lang in $ALL_LINGUAS; do
3439
frobbedlang=`echo $lang | sed -e 's/\..*$//' -e 'y/ABCDEFGHIJKLMNOPQRSTUVWXYZ/abcdefghijklmnopqrstuvwxyz/'`
3440
cat >> "$ac_file.tmp" <<EOF
3441
$frobbedlang.msg: $lang.po
3442
@echo "\$(MSGFMT) -c --tcl -d \$(srcdir) -l $lang $srcdirpre$lang.po"; \
3443
\$(MSGFMT) -c --tcl -d "\$(srcdir)" -l $lang $srcdirpre$lang.po || { rm -f "\$(srcdir)/$frobbedlang.msg"; exit 1; }
3447
if grep -l '@CSHARPCATALOGS@' "$ac_file" > /dev/null; then
3448
# Add dependencies that cannot be formulated as a simple suffix rule.
3449
for lang in $ALL_LINGUAS; do
3450
frobbedlang=`echo $lang | sed -e 's/_/-/g' -e 's/^sr-CS/sr-SP/' -e 's/@latin$/-Latn/' -e 's/@cyrillic$/-Cyrl/' -e 's/^sr-SP$/sr-SP-Latn/' -e 's/^uz-UZ$/uz-UZ-Latn/'`
3451
cat >> "$ac_file.tmp" <<EOF
3452
$frobbedlang/\$(DOMAIN).resources.dll: $lang.po
3453
@echo "\$(MSGFMT) -c --csharp -d \$(srcdir) -l $lang $srcdirpre$lang.po -r \$(DOMAIN)"; \
3454
\$(MSGFMT) -c --csharp -d "\$(srcdir)" -l $lang $srcdirpre$lang.po -r "\$(DOMAIN)" || { rm -f "\$(srcdir)/$frobbedlang.msg"; exit 1; }
3458
if test -n "$POMAKEFILEDEPS"; then
3459
cat >> "$ac_file.tmp" <<EOF
3460
Makefile: $POMAKEFILEDEPS
3463
mv "$ac_file.tmp" "$ac_file"
3465
m4trace:m4/progtest.m4:25: -1- AC_DEFUN([AM_PATH_PROG_WITH_TEST], [
3466
# Prepare PATH_SEPARATOR.
3467
# The user is always right.
3468
if test "${PATH_SEPARATOR+set}" != set; then
3469
echo "#! /bin/sh" >conf$$.sh
3470
echo "exit 0" >>conf$$.sh
3472
if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
3480
# Find out how to test for executable files. Don't use a zero-byte file,
3481
# as systems may use methods other than mode bits to determine executability.
3482
cat >conf$$.file <<_ASEOF
3486
chmod +x conf$$.file
3487
if test -x conf$$.file >/dev/null 2>&1; then
3488
ac_executable_p="test -x"
3490
ac_executable_p="test -f"
3494
# Extract the first word of "$2", so it can be a program name with args.
3495
set dummy $2; ac_word=[$]2
3496
AC_MSG_CHECKING([for $ac_word])
3497
AC_CACHE_VAL(ac_cv_path_$1,
3499
[[\\/]]* | ?:[[\\/]]*)
3500
ac_cv_path_$1="[$]$1" # Let the user override the test with a path.
3503
ac_save_IFS="$IFS"; IFS=$PATH_SEPARATOR
3504
for ac_dir in ifelse([$5], , $PATH, [$5]); do
3506
test -z "$ac_dir" && ac_dir=.
3507
for ac_exec_ext in '' $ac_executable_extensions; do
3508
if $ac_executable_p "$ac_dir/$ac_word$ac_exec_ext"; then
3509
echo "$as_me: trying $ac_dir/$ac_word..." >&AS_MESSAGE_LOG_FD
3511
ac_cv_path_$1="$ac_dir/$ac_word$ac_exec_ext"
3518
dnl If no 4th arg is given, leave the cache variable unset,
3519
dnl so AC_PATH_PROGS will keep looking.
3520
ifelse([$4], , , [ test -z "[$]ac_cv_path_$1" && ac_cv_path_$1="$4"
3525
if test ifelse([$4], , [-n "[$]$1"], ["[$]$1" != "$4"]); then
3526
AC_MSG_RESULT([$]$1)
3532
m4trace:configure.ac:1: -1- m4_pattern_forbid([^_?A[CHUM]_])
3533
m4trace:configure.ac:1: -1- m4_pattern_forbid([_AC_])
3534
m4trace:configure.ac:1: -1- m4_pattern_forbid([^LIBOBJS$], [do not use LIBOBJS directly, use AC_LIBOBJ (see section `AC_LIBOBJ vs LIBOBJS'])
3535
m4trace:configure.ac:1: -1- m4_pattern_allow([^AS_FLAGS$])
3536
m4trace:configure.ac:1: -1- m4_pattern_forbid([^_?m4_])
3537
m4trace:configure.ac:1: -1- m4_pattern_forbid([^dnl$])
3538
m4trace:configure.ac:1: -1- m4_pattern_forbid([^_?AS_])
3539
m4trace:configure.ac:1: -1- m4_pattern_allow([^SHELL$])
3540
m4trace:configure.ac:1: -1- m4_pattern_allow([^PATH_SEPARATOR$])
3541
m4trace:configure.ac:1: -1- m4_pattern_allow([^PACKAGE_NAME$])
3542
m4trace:configure.ac:1: -1- m4_pattern_allow([^PACKAGE_TARNAME$])
3543
m4trace:configure.ac:1: -1- m4_pattern_allow([^PACKAGE_VERSION$])
3544
m4trace:configure.ac:1: -1- m4_pattern_allow([^PACKAGE_STRING$])
3545
m4trace:configure.ac:1: -1- m4_pattern_allow([^PACKAGE_BUGREPORT$])
3546
m4trace:configure.ac:1: -1- m4_pattern_allow([^exec_prefix$])
3547
m4trace:configure.ac:1: -1- m4_pattern_allow([^prefix$])
3548
m4trace:configure.ac:1: -1- m4_pattern_allow([^program_transform_name$])
3549
m4trace:configure.ac:1: -1- m4_pattern_allow([^bindir$])
3550
m4trace:configure.ac:1: -1- m4_pattern_allow([^sbindir$])
3551
m4trace:configure.ac:1: -1- m4_pattern_allow([^libexecdir$])
3552
m4trace:configure.ac:1: -1- m4_pattern_allow([^datarootdir$])
3553
m4trace:configure.ac:1: -1- m4_pattern_allow([^datadir$])
3554
m4trace:configure.ac:1: -1- m4_pattern_allow([^sysconfdir$])
3555
m4trace:configure.ac:1: -1- m4_pattern_allow([^sharedstatedir$])
3556
m4trace:configure.ac:1: -1- m4_pattern_allow([^localstatedir$])
3557
m4trace:configure.ac:1: -1- m4_pattern_allow([^includedir$])
3558
m4trace:configure.ac:1: -1- m4_pattern_allow([^oldincludedir$])
3559
m4trace:configure.ac:1: -1- m4_pattern_allow([^docdir$])
3560
m4trace:configure.ac:1: -1- m4_pattern_allow([^infodir$])
3561
m4trace:configure.ac:1: -1- m4_pattern_allow([^htmldir$])
3562
m4trace:configure.ac:1: -1- m4_pattern_allow([^dvidir$])
3563
m4trace:configure.ac:1: -1- m4_pattern_allow([^pdfdir$])
3564
m4trace:configure.ac:1: -1- m4_pattern_allow([^psdir$])
3565
m4trace:configure.ac:1: -1- m4_pattern_allow([^libdir$])
3566
m4trace:configure.ac:1: -1- m4_pattern_allow([^localedir$])
3567
m4trace:configure.ac:1: -1- m4_pattern_allow([^mandir$])
3568
m4trace:configure.ac:1: -1- m4_pattern_allow([^PACKAGE_NAME$])
3569
m4trace:configure.ac:1: -1- m4_pattern_allow([^PACKAGE_TARNAME$])
3570
m4trace:configure.ac:1: -1- m4_pattern_allow([^PACKAGE_VERSION$])
3571
m4trace:configure.ac:1: -1- m4_pattern_allow([^PACKAGE_STRING$])
3572
m4trace:configure.ac:1: -1- m4_pattern_allow([^PACKAGE_BUGREPORT$])
3573
m4trace:configure.ac:1: -1- m4_pattern_allow([^DEFS$])
3574
m4trace:configure.ac:1: -1- m4_pattern_allow([^ECHO_C$])
3575
m4trace:configure.ac:1: -1- m4_pattern_allow([^ECHO_N$])
3576
m4trace:configure.ac:1: -1- m4_pattern_allow([^ECHO_T$])
3577
m4trace:configure.ac:1: -1- m4_pattern_allow([^LIBS$])
3578
m4trace:configure.ac:1: -1- m4_pattern_allow([^build_alias$])
3579
m4trace:configure.ac:1: -1- m4_pattern_allow([^host_alias$])
3580
m4trace:configure.ac:1: -1- m4_pattern_allow([^target_alias$])
3581
m4trace:configure.ac:2: -1- AM_INIT_AUTOMAKE([-Wall -Werror gnu])
3582
m4trace:configure.ac:2: -1- m4_pattern_allow([^AM_[A-Z]+FLAGS$])
3583
m4trace:configure.ac:2: -1- AM_SET_CURRENT_AUTOMAKE_VERSION
3584
m4trace:configure.ac:2: -1- AM_AUTOMAKE_VERSION([1.10])
3585
m4trace:configure.ac:2: -1- _AM_AUTOCONF_VERSION([2.61])
3586
m4trace:configure.ac:2: -1- m4_pattern_allow([^INSTALL_PROGRAM$])
3587
m4trace:configure.ac:2: -1- m4_pattern_allow([^INSTALL_SCRIPT$])
3588
m4trace:configure.ac:2: -1- m4_pattern_allow([^INSTALL_DATA$])
3589
m4trace:configure.ac:2: -1- m4_pattern_allow([^am__isrc$])
3590
m4trace:configure.ac:2: -1- _AM_SUBST_NOTMAKE([am__isrc])
3591
m4trace:configure.ac:2: -1- m4_pattern_allow([^CYGPATH_W$])
3592
m4trace:configure.ac:2: -1- _AM_SET_OPTIONS([-Wall -Werror gnu])
3593
m4trace:configure.ac:2: -1- _AM_SET_OPTION([-Wall])
3594
m4trace:configure.ac:2: -2- _AM_MANGLE_OPTION([-Wall])
3595
m4trace:configure.ac:2: -1- _AM_SET_OPTION([-Werror])
3596
m4trace:configure.ac:2: -2- _AM_MANGLE_OPTION([-Werror])
3597
m4trace:configure.ac:2: -1- _AM_SET_OPTION([gnu])
3598
m4trace:configure.ac:2: -2- _AM_MANGLE_OPTION([gnu])
3599
m4trace:configure.ac:2: -1- _m4_warn([obsolete], [The macro `AC_FOREACH' is obsolete.
3600
You should run autoupdate.], [../../lib/autoconf/general.m4:196: AC_FOREACH is expanded from...
3601
/usr/share/aclocal-1.10/options.m4:25: _AM_SET_OPTIONS is expanded from...
3602
/usr/share/aclocal-1.10/init.m4:26: AM_INIT_AUTOMAKE is expanded from...
3603
configure.ac:2: the top level])
3604
m4trace:configure.ac:2: -1- m4_pattern_allow([^PACKAGE$])
3605
m4trace:configure.ac:2: -1- m4_pattern_allow([^VERSION$])
3606
m4trace:configure.ac:2: -1- _AM_IF_OPTION([no-define], [], [AC_DEFINE_UNQUOTED(PACKAGE, "$PACKAGE", [Name of package])
3607
AC_DEFINE_UNQUOTED(VERSION, "$VERSION", [Version number of package])])
3608
m4trace:configure.ac:2: -2- _AM_MANGLE_OPTION([no-define])
3609
m4trace:configure.ac:2: -1- m4_pattern_allow([^PACKAGE$])
3610
m4trace:configure.ac:2: -1- m4_pattern_allow([^VERSION$])
3611
m4trace:configure.ac:2: -1- AM_SANITY_CHECK
3612
m4trace:configure.ac:2: -1- AM_MISSING_PROG([ACLOCAL], [aclocal-${am__api_version}])
3613
m4trace:configure.ac:2: -1- AM_MISSING_HAS_RUN
3614
m4trace:configure.ac:2: -1- AM_AUX_DIR_EXPAND
3615
m4trace:configure.ac:2: -1- m4_pattern_allow([^ACLOCAL$])
3616
m4trace:configure.ac:2: -1- AM_MISSING_PROG([AUTOCONF], [autoconf])
3617
m4trace:configure.ac:2: -1- m4_pattern_allow([^AUTOCONF$])
3618
m4trace:configure.ac:2: -1- AM_MISSING_PROG([AUTOMAKE], [automake-${am__api_version}])
3619
m4trace:configure.ac:2: -1- m4_pattern_allow([^AUTOMAKE$])
3620
m4trace:configure.ac:2: -1- AM_MISSING_PROG([AUTOHEADER], [autoheader])
3621
m4trace:configure.ac:2: -1- m4_pattern_allow([^AUTOHEADER$])
3622
m4trace:configure.ac:2: -1- AM_MISSING_PROG([MAKEINFO], [makeinfo])
3623
m4trace:configure.ac:2: -1- m4_pattern_allow([^MAKEINFO$])
3624
m4trace:configure.ac:2: -1- AM_PROG_INSTALL_SH
3625
m4trace:configure.ac:2: -1- m4_pattern_allow([^install_sh$])
3626
m4trace:configure.ac:2: -1- AM_PROG_INSTALL_STRIP
3627
m4trace:configure.ac:2: -1- m4_pattern_allow([^STRIP$])
3628
m4trace:configure.ac:2: -1- m4_pattern_allow([^INSTALL_STRIP_PROGRAM$])
3629
m4trace:configure.ac:2: -1- AM_PROG_MKDIR_P
3630
m4trace:configure.ac:2: -1- m4_pattern_allow([^mkdir_p$])
3631
m4trace:configure.ac:2: -1- m4_pattern_allow([^AWK$])
3632
m4trace:configure.ac:2: -1- m4_pattern_allow([^SET_MAKE$])
3633
m4trace:configure.ac:2: -1- AM_SET_LEADING_DOT
3634
m4trace:configure.ac:2: -1- m4_pattern_allow([^am__leading_dot$])
3635
m4trace:configure.ac:2: -1- _AM_IF_OPTION([tar-ustar], [_AM_PROG_TAR([ustar])], [_AM_IF_OPTION([tar-pax], [_AM_PROG_TAR([pax])],
3636
[_AM_PROG_TAR([v7])])])
3637
m4trace:configure.ac:2: -2- _AM_MANGLE_OPTION([tar-ustar])
3638
m4trace:configure.ac:2: -1- _AM_IF_OPTION([tar-pax], [_AM_PROG_TAR([pax])], [_AM_PROG_TAR([v7])])
3639
m4trace:configure.ac:2: -2- _AM_MANGLE_OPTION([tar-pax])
3640
m4trace:configure.ac:2: -1- _AM_PROG_TAR([v7])
3641
m4trace:configure.ac:2: -1- AM_MISSING_PROG([AMTAR], [tar])
3642
m4trace:configure.ac:2: -1- m4_pattern_allow([^AMTAR$])
3643
m4trace:configure.ac:2: -1- m4_pattern_allow([^am__tar$])
3644
m4trace:configure.ac:2: -1- m4_pattern_allow([^am__untar$])
3645
m4trace:configure.ac:2: -1- _AM_IF_OPTION([no-dependencies], [], [AC_PROVIDE_IFELSE([AC_PROG_CC],
3646
[_AM_DEPENDENCIES(CC)],
3647
[define([AC_PROG_CC],
3648
defn([AC_PROG_CC])[_AM_DEPENDENCIES(CC)])])dnl
3649
AC_PROVIDE_IFELSE([AC_PROG_CXX],
3650
[_AM_DEPENDENCIES(CXX)],
3651
[define([AC_PROG_CXX],
3652
defn([AC_PROG_CXX])[_AM_DEPENDENCIES(CXX)])])dnl
3653
AC_PROVIDE_IFELSE([AC_PROG_OBJC],
3654
[_AM_DEPENDENCIES(OBJC)],
3655
[define([AC_PROG_OBJC],
3656
defn([AC_PROG_OBJC])[_AM_DEPENDENCIES(OBJC)])])dnl
3658
m4trace:configure.ac:2: -2- _AM_MANGLE_OPTION([no-dependencies])
3659
m4trace:configure.ac:6: -1- AM_PATH_PYTHON
3660
m4trace:configure.ac:6: -1- m4_pattern_allow([^PYTHON$])
3661
m4trace:configure.ac:6: -1- m4_pattern_allow([^PYTHON_VERSION$])
3662
m4trace:configure.ac:6: -1- m4_pattern_allow([^PYTHON_PREFIX$])
3663
m4trace:configure.ac:6: -1- m4_pattern_allow([^PYTHON_EXEC_PREFIX$])
3664
m4trace:configure.ac:6: -1- m4_pattern_allow([^PYTHON_PLATFORM$])
3665
m4trace:configure.ac:6: -1- m4_pattern_allow([^pythondir$])
3666
m4trace:configure.ac:6: -1- m4_pattern_allow([^pkgpythondir$])
3667
m4trace:configure.ac:6: -1- m4_pattern_allow([^pyexecdir$])
3668
m4trace:configure.ac:6: -1- m4_pattern_allow([^pkgpyexecdir$])
3669
m4trace:configure.ac:9: -1- m4_pattern_allow([^PKGCONFIG$])
3670
m4trace:configure.ac:11: -1- m4_pattern_allow([^PYTHONPATH$])
3671
m4trace:configure.ac:15: -1- m4_pattern_allow([^CRONTAB_CONFIG$])
3672
m4trace:configure.ac:20: -1- m4_pattern_allow([^AT_CONFIG$])
3673
m4trace:configure.ac:25: -1- m4_pattern_allow([^ATQ_CONFIG$])
3674
m4trace:configure.ac:30: -1- m4_pattern_allow([^ATRM_CONFIG$])
3675
m4trace:configure.ac:35: -1- m4_pattern_allow([^BATCH_CONFIG$])
3676
m4trace:configure.ac:41: -1- m4_pattern_allow([^PYTHON_CONFIG$])
3677
m4trace:configure.ac:46: -1- m4_pattern_allow([^SU_CONFIG$])
3678
m4trace:configure.ac:56: -1- m4_pattern_allow([^GETTEXT_PACKAGE$])
3679
m4trace:configure.ac:57: -1- m4_pattern_allow([^GETTEXT_PACKAGE$])
3680
m4trace:configure.ac:59: -1- GNOME_DOC_INIT
3681
m4trace:configure.ac:59: -1- PKG_CHECK_EXISTS([gnome-doc-utils >= $gdu_cv_version_required], [gdu_cv_have_gdu=yes], [gdu_cv_have_gdu=no])
3682
m4trace:configure.ac:59: -1- PKG_PROG_PKG_CONFIG
3683
m4trace:configure.ac:59: -1- m4_pattern_forbid([^_?PKG_[A-Z_]+$])
3684
m4trace:configure.ac:59: -1- m4_pattern_allow([^PKG_CONFIG(_PATH)?$])
3685
m4trace:configure.ac:59: -1- m4_pattern_allow([^PKG_CONFIG$])
3686
m4trace:configure.ac:59: -1- m4_pattern_allow([^PKG_CONFIG$])
3687
m4trace:configure.ac:59: -1- GNOME_DOC_DEFINES
3688
m4trace:configure.ac:59: -2- _m4_warn([obsolete], [The macro `AC_HELP_STRING' is obsolete.
3689
You should run autoupdate.], [../../lib/autoconf/general.m4:209: AC_HELP_STRING is expanded from...
3690
/usr/share/aclocal/gnome-doc-utils.m4:3: GNOME_DOC_DEFINES is expanded from...
3691
/usr/share/aclocal/gnome-doc-utils.m4:34: GNOME_DOC_INIT is expanded from...
3692
configure.ac:59: the top level])
3693
m4trace:configure.ac:59: -1- m4_pattern_allow([^HELP_DIR$])
3694
m4trace:configure.ac:59: -2- _m4_warn([obsolete], [The macro `AC_HELP_STRING' is obsolete.
3695
You should run autoupdate.], [../../lib/autoconf/general.m4:209: AC_HELP_STRING is expanded from...
3696
/usr/share/aclocal/gnome-doc-utils.m4:3: GNOME_DOC_DEFINES is expanded from...
3697
/usr/share/aclocal/gnome-doc-utils.m4:34: GNOME_DOC_INIT is expanded from...
3698
configure.ac:59: the top level])
3699
m4trace:configure.ac:59: -1- m4_pattern_allow([^OMF_DIR$])
3700
m4trace:configure.ac:59: -2- _m4_warn([obsolete], [The macro `AC_HELP_STRING' is obsolete.
3701
You should run autoupdate.], [../../lib/autoconf/general.m4:209: AC_HELP_STRING is expanded from...
3702
/usr/share/aclocal/gnome-doc-utils.m4:3: GNOME_DOC_DEFINES is expanded from...
3703
/usr/share/aclocal/gnome-doc-utils.m4:34: GNOME_DOC_INIT is expanded from...
3704
configure.ac:59: the top level])
3705
m4trace:configure.ac:59: -1- m4_pattern_allow([^DOC_USER_FORMATS$])
3706
m4trace:configure.ac:59: -1- _m4_warn([obsolete], [The macro `AC_HELP_STRING' is obsolete.
3707
You should run autoupdate.], [../../lib/autoconf/general.m4:209: AC_HELP_STRING is expanded from...
3708
../../lib/autoconf/general.m4:1364: AC_ARG_ENABLE is expanded from...
3709
/usr/share/aclocal/gnome-doc-utils.m4:3: GNOME_DOC_DEFINES is expanded from...
3710
/usr/share/aclocal/gnome-doc-utils.m4:34: GNOME_DOC_INIT is expanded from...
3711
configure.ac:59: the top level])
3712
m4trace:configure.ac:59: -1- AM_CONDITIONAL([ENABLE_SK], [test "$gdu_cv_have_gdu" = "yes" -a "$enable_scrollkeeper" = "yes"])
3713
m4trace:configure.ac:59: -1- m4_pattern_allow([^ENABLE_SK_TRUE$])
3714
m4trace:configure.ac:59: -1- m4_pattern_allow([^ENABLE_SK_FALSE$])
3715
m4trace:configure.ac:59: -1- _AM_SUBST_NOTMAKE([ENABLE_SK_TRUE])
3716
m4trace:configure.ac:59: -1- _AM_SUBST_NOTMAKE([ENABLE_SK_FALSE])
3717
m4trace:configure.ac:59: -1- AM_CONDITIONAL([HAVE_GNOME_DOC_UTILS], [test "$gdu_cv_have_gdu" = "yes"])
3718
m4trace:configure.ac:59: -1- m4_pattern_allow([^HAVE_GNOME_DOC_UTILS_TRUE$])
3719
m4trace:configure.ac:59: -1- m4_pattern_allow([^HAVE_GNOME_DOC_UTILS_FALSE$])
3720
m4trace:configure.ac:59: -1- _AM_SUBST_NOTMAKE([HAVE_GNOME_DOC_UTILS_TRUE])
3721
m4trace:configure.ac:59: -1- _AM_SUBST_NOTMAKE([HAVE_GNOME_DOC_UTILS_FALSE])
3722
m4trace:configure.ac:64: -1- AM_GNU_GETTEXT([external])
3723
m4trace:configure.ac:64: -1- AM_GNU_GETTEXT_NEED([])
3724
m4trace:configure.ac:64: -1- AM_PO_SUBDIRS
3725
m4trace:configure.ac:64: -1- AM_NLS
3726
m4trace:configure.ac:64: -1- m4_pattern_allow([^USE_NLS$])
3727
m4trace:configure.ac:64: -1- AM_PATH_PROG_WITH_TEST([MSGFMT], [msgfmt], [$ac_dir/$ac_word --statistics /dev/null >&5 2>&1 &&
3728
(if $ac_dir/$ac_word --statistics /dev/null 2>&1 >/dev/null | grep usage >/dev/null; then exit 1; else exit 0; fi)], [:])
3729
m4trace:configure.ac:64: -1- m4_pattern_allow([^MSGFMT$])
3730
m4trace:configure.ac:64: -1- m4_pattern_allow([^GMSGFMT$])
3731
m4trace:configure.ac:64: -1- m4_pattern_allow([^MSGFMT_015$])
3732
m4trace:configure.ac:64: -1- m4_pattern_allow([^GMSGFMT_015$])
3733
m4trace:configure.ac:64: -1- AM_PATH_PROG_WITH_TEST([XGETTEXT], [xgettext], [$ac_dir/$ac_word --omit-header --copyright-holder= --msgid-bugs-address= /dev/null >&5 2>&1 &&
3734
(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)], [:])
3735
m4trace:configure.ac:64: -1- m4_pattern_allow([^XGETTEXT$])
3736
m4trace:configure.ac:64: -1- m4_pattern_allow([^XGETTEXT_015$])
3737
m4trace:configure.ac:64: -1- AM_PATH_PROG_WITH_TEST([MSGMERGE], [msgmerge], [$ac_dir/$ac_word --update -q /dev/null /dev/null >&5 2>&1], [:])
3738
m4trace:configure.ac:64: -1- m4_pattern_allow([^MSGMERGE$])
3739
m4trace:configure.ac:64: -1- m4_pattern_allow([^localedir$])
3740
m4trace:configure.ac:64: -1- AC_LIB_PREPARE_PREFIX
3741
m4trace:configure.ac:64: -1- AC_LIB_RPATH
3742
m4trace:configure.ac:64: -1- m4_pattern_allow([^CC$])
3743
m4trace:configure.ac:64: -1- m4_pattern_allow([^CFLAGS$])
3744
m4trace:configure.ac:64: -1- m4_pattern_allow([^LDFLAGS$])
3745
m4trace:configure.ac:64: -1- m4_pattern_allow([^LIBS$])
3746
m4trace:configure.ac:64: -1- m4_pattern_allow([^CPPFLAGS$])
3747
m4trace:configure.ac:64: -1- m4_pattern_allow([^CC$])
3748
m4trace:configure.ac:64: -1- m4_pattern_allow([^CC$])
3749
m4trace:configure.ac:64: -1- m4_pattern_allow([^CC$])
3750
m4trace:configure.ac:64: -1- m4_pattern_allow([^CC$])
3751
m4trace:configure.ac:64: -1- m4_pattern_allow([^ac_ct_CC$])
3752
m4trace:configure.ac:64: -1- m4_pattern_allow([^EXEEXT$])
3753
m4trace:configure.ac:64: -1- m4_pattern_allow([^OBJEXT$])
3754
m4trace:configure.ac:64: -1- _AM_DEPENDENCIES([CC])
3755
m4trace:configure.ac:64: -1- AM_SET_DEPDIR
3756
m4trace:configure.ac:64: -1- m4_pattern_allow([^DEPDIR$])
3757
m4trace:configure.ac:64: -1- AM_OUTPUT_DEPENDENCY_COMMANDS
3758
m4trace:configure.ac:64: -1- AM_MAKE_INCLUDE
3759
m4trace:configure.ac:64: -1- m4_pattern_allow([^am__include$])
3760
m4trace:configure.ac:64: -1- m4_pattern_allow([^am__quote$])
3761
m4trace:configure.ac:64: -1- AM_DEP_TRACK
3762
m4trace:configure.ac:64: -1- AM_CONDITIONAL([AMDEP], [test "x$enable_dependency_tracking" != xno])
3763
m4trace:configure.ac:64: -1- m4_pattern_allow([^AMDEP_TRUE$])
3764
m4trace:configure.ac:64: -1- m4_pattern_allow([^AMDEP_FALSE$])
3765
m4trace:configure.ac:64: -1- _AM_SUBST_NOTMAKE([AMDEP_TRUE])
3766
m4trace:configure.ac:64: -1- _AM_SUBST_NOTMAKE([AMDEP_FALSE])
3767
m4trace:configure.ac:64: -1- m4_pattern_allow([^AMDEPBACKSLASH$])
3768
m4trace:configure.ac:64: -1- _AM_SUBST_NOTMAKE([AMDEPBACKSLASH])
3769
m4trace:configure.ac:64: -1- m4_pattern_allow([^CCDEPMODE$])
3770
m4trace:configure.ac:64: -1- AM_CONDITIONAL([am__fastdepCC], [
3771
test "x$enable_dependency_tracking" != xno \
3772
&& test "$am_cv_CC_dependencies_compiler_type" = gcc3])
3773
m4trace:configure.ac:64: -1- m4_pattern_allow([^am__fastdepCC_TRUE$])
3774
m4trace:configure.ac:64: -1- m4_pattern_allow([^am__fastdepCC_FALSE$])
3775
m4trace:configure.ac:64: -1- _AM_SUBST_NOTMAKE([am__fastdepCC_TRUE])
3776
m4trace:configure.ac:64: -1- _AM_SUBST_NOTMAKE([am__fastdepCC_FALSE])
3777
m4trace:configure.ac:64: -1- AC_LIB_PROG_LD
3778
m4trace:configure.ac:64: -1- m4_pattern_allow([^build$])
3779
m4trace:configure.ac:64: -1- m4_pattern_allow([^build_cpu$])
3780
m4trace:configure.ac:64: -1- m4_pattern_allow([^build_vendor$])
3781
m4trace:configure.ac:64: -1- m4_pattern_allow([^build_os$])
3782
m4trace:configure.ac:64: -1- m4_pattern_allow([^host$])
3783
m4trace:configure.ac:64: -1- m4_pattern_allow([^host_cpu$])
3784
m4trace:configure.ac:64: -1- m4_pattern_allow([^host_vendor$])
3785
m4trace:configure.ac:64: -1- m4_pattern_allow([^host_os$])
3786
m4trace:configure.ac:64: -1- AC_LIB_PROG_LD_GNU
3787
m4trace:configure.ac:64: -1- AM_ICONV_LINKFLAGS_BODY
3788
m4trace:configure.ac:64: -1- AC_LIB_LINKFLAGS_BODY([iconv])
3789
m4trace:configure.ac:64: -1- AC_LIB_PREPARE_MULTILIB
3790
m4trace:configure.ac:64: -1- AC_LIB_WITH_FINAL_PREFIX([
3791
eval additional_includedir=\"$includedir\"
3792
eval additional_libdir=\"$libdir\"
3794
m4trace:configure.ac:64: -1- AC_LIB_ARG_WITH([libiconv-prefix], [ --with-libiconv-prefix[=DIR] search for libiconv in DIR/include and DIR/lib
3795
--without-libiconv-prefix don't search for libiconv in includedir and libdir], [
3796
if test "X$withval" = "Xno"; then
3799
if test "X$withval" = "X"; then
3800
AC_LIB_WITH_FINAL_PREFIX([
3801
eval additional_includedir=\"$includedir\"
3802
eval additional_libdir=\"$libdir\"
3805
additional_includedir="$withval/include"
3806
additional_libdir="$withval/$acl_libdirstem"
3810
m4trace:configure.ac:64: -1- AC_LIB_WITH_FINAL_PREFIX([
3811
eval additional_includedir=\"$includedir\"
3812
eval additional_libdir=\"$libdir\"
3814
m4trace:configure.ac:64: -1- AC_LIB_WITH_FINAL_PREFIX([eval x=\"$x\"])
3815
m4trace:configure.ac:64: -1- AC_LIB_WITH_FINAL_PREFIX([eval x=\"$x\"])
3816
m4trace:configure.ac:64: -1- AC_LIB_WITH_FINAL_PREFIX([eval x=\"$x\"])
3817
m4trace:configure.ac:64: -1- AC_LIB_WITH_FINAL_PREFIX([eval x=\"$x\"])
3818
m4trace:configure.ac:64: -1- AC_LIB_WITH_FINAL_PREFIX([eval x=\"$x\"])
3819
m4trace:configure.ac:64: -1- gt_INTL_MACOSX
3820
m4trace:configure.ac:64: -1- _m4_warn([obsolete], [The macro `AC_TRY_LINK' is obsolete.
3821
You should run autoupdate.], [../../lib/autoconf/general.m4:2414: AC_TRY_LINK is expanded from...
3822
../../lib/m4sugar/m4sh.m4:516: AS_IF is expanded from...
3823
../../lib/autoconf/general.m4:1898: AC_CACHE_VAL is expanded from...
3824
../../lib/autoconf/general.m4:1911: AC_CACHE_CHECK is expanded from...
3825
m4/gettext.m4:367: gt_INTL_MACOSX is expanded from...
3826
m4/gettext.m4:57: AM_GNU_GETTEXT is expanded from...
3827
configure.ac:64: the top level])
3828
m4trace:configure.ac:64: -1- m4_pattern_allow([^HAVE_CFPREFERENCESCOPYAPPVALUE$])
3829
m4trace:configure.ac:64: -1- _m4_warn([obsolete], [The macro `AC_TRY_LINK' is obsolete.
3830
You should run autoupdate.], [../../lib/autoconf/general.m4:2414: AC_TRY_LINK is expanded from...
3831
../../lib/m4sugar/m4sh.m4:516: AS_IF is expanded from...
3832
../../lib/autoconf/general.m4:1898: AC_CACHE_VAL is expanded from...
3833
../../lib/autoconf/general.m4:1911: AC_CACHE_CHECK is expanded from...
3834
m4/gettext.m4:367: gt_INTL_MACOSX is expanded from...
3835
m4/gettext.m4:57: AM_GNU_GETTEXT is expanded from...
3836
configure.ac:64: the top level])
3837
m4trace:configure.ac:64: -1- m4_pattern_allow([^HAVE_CFLOCALECOPYCURRENT$])
3838
m4trace:configure.ac:64: -1- m4_pattern_allow([^INTL_MACOSX_LIBS$])
3839
m4trace:configure.ac:64: -1- _m4_warn([obsolete], [The macro `AC_TRY_LINK' is obsolete.
3840
You should run autoupdate.], [../../lib/autoconf/general.m4:2414: AC_TRY_LINK is expanded from...
3841
../../lib/m4sugar/m4sh.m4:516: AS_IF is expanded from...
3842
../../lib/autoconf/general.m4:1898: AC_CACHE_VAL is expanded from...
3843
../../lib/autoconf/general.m4:1911: AC_CACHE_CHECK is expanded from...
3844
m4/gettext.m4:57: AM_GNU_GETTEXT is expanded from...
3845
configure.ac:64: the top level])
3846
m4trace:configure.ac:64: -1- AM_ICONV_LINK
3847
m4trace:configure.ac:64: -1- AC_LIB_APPENDTOVAR([CPPFLAGS], [$INCICONV])
3848
m4trace:configure.ac:64: -1- AC_LIB_WITH_FINAL_PREFIX([eval x=\"$x\"])
3849
m4trace:configure.ac:64: -1- _m4_warn([obsolete], [The macro `AC_TRY_LINK' is obsolete.
3850
You should run autoupdate.], [../../lib/autoconf/general.m4:2414: AC_TRY_LINK is expanded from...
3851
../../lib/m4sugar/m4sh.m4:516: AS_IF is expanded from...
3852
../../lib/autoconf/general.m4:1898: AC_CACHE_VAL is expanded from...
3853
../../lib/autoconf/general.m4:1911: AC_CACHE_CHECK is expanded from...
3854
m4/iconv.m4:20: AM_ICONV_LINK is expanded from...
3855
m4/gettext.m4:57: AM_GNU_GETTEXT is expanded from...
3856
configure.ac:64: the top level])
3857
m4trace:configure.ac:64: -1- _m4_warn([obsolete], [The macro `AC_TRY_LINK' is obsolete.
3858
You should run autoupdate.], [../../lib/autoconf/general.m4:2414: AC_TRY_LINK is expanded from...
3859
../../lib/m4sugar/m4sh.m4:516: AS_IF is expanded from...
3860
../../lib/autoconf/general.m4:1898: AC_CACHE_VAL is expanded from...
3861
../../lib/autoconf/general.m4:1911: AC_CACHE_CHECK is expanded from...
3862
m4/iconv.m4:20: AM_ICONV_LINK is expanded from...
3863
m4/gettext.m4:57: AM_GNU_GETTEXT is expanded from...
3864
configure.ac:64: the top level])
3865
m4trace:configure.ac:64: -1- m4_pattern_allow([^HAVE_ICONV$])
3866
m4trace:configure.ac:64: -1- m4_pattern_allow([^LIBICONV$])
3867
m4trace:configure.ac:64: -1- m4_pattern_allow([^LTLIBICONV$])
3868
m4trace:configure.ac:64: -1- AC_LIB_LINKFLAGS_BODY([intl])
3869
m4trace:configure.ac:64: -1- AC_LIB_WITH_FINAL_PREFIX([
3870
eval additional_includedir=\"$includedir\"
3871
eval additional_libdir=\"$libdir\"
3873
m4trace:configure.ac:64: -1- AC_LIB_ARG_WITH([libintl-prefix], [ --with-libintl-prefix[=DIR] search for libintl in DIR/include and DIR/lib
3874
--without-libintl-prefix don't search for libintl in includedir and libdir], [
3875
if test "X$withval" = "Xno"; then
3878
if test "X$withval" = "X"; then
3879
AC_LIB_WITH_FINAL_PREFIX([
3880
eval additional_includedir=\"$includedir\"
3881
eval additional_libdir=\"$libdir\"
3884
additional_includedir="$withval/include"
3885
additional_libdir="$withval/$acl_libdirstem"
3889
m4trace:configure.ac:64: -1- AC_LIB_WITH_FINAL_PREFIX([
3890
eval additional_includedir=\"$includedir\"
3891
eval additional_libdir=\"$libdir\"
3893
m4trace:configure.ac:64: -1- AC_LIB_WITH_FINAL_PREFIX([eval x=\"$x\"])
3894
m4trace:configure.ac:64: -1- AC_LIB_WITH_FINAL_PREFIX([eval x=\"$x\"])
3895
m4trace:configure.ac:64: -1- AC_LIB_WITH_FINAL_PREFIX([eval x=\"$x\"])
3896
m4trace:configure.ac:64: -1- AC_LIB_WITH_FINAL_PREFIX([eval x=\"$x\"])
3897
m4trace:configure.ac:64: -1- AC_LIB_WITH_FINAL_PREFIX([eval x=\"$x\"])
3898
m4trace:configure.ac:64: -1- _m4_warn([obsolete], [The macro `AC_TRY_LINK' is obsolete.
3899
You should run autoupdate.], [../../lib/autoconf/general.m4:2414: AC_TRY_LINK is expanded from...
3900
../../lib/m4sugar/m4sh.m4:516: AS_IF is expanded from...
3901
../../lib/autoconf/general.m4:1898: AC_CACHE_VAL is expanded from...
3902
../../lib/autoconf/general.m4:1911: AC_CACHE_CHECK is expanded from...
3903
m4/gettext.m4:57: AM_GNU_GETTEXT is expanded from...
3904
configure.ac:64: the top level])
3905
m4trace:configure.ac:64: -1- _m4_warn([obsolete], [The macro `AC_TRY_LINK' is obsolete.
3906
You should run autoupdate.], [../../lib/autoconf/general.m4:2414: AC_TRY_LINK is expanded from...
3907
../../lib/m4sugar/m4sh.m4:516: AS_IF is expanded from...
3908
../../lib/autoconf/general.m4:1898: AC_CACHE_VAL is expanded from...
3909
../../lib/autoconf/general.m4:1911: AC_CACHE_CHECK is expanded from...
3910
m4/gettext.m4:57: AM_GNU_GETTEXT is expanded from...
3911
configure.ac:64: the top level])
3912
m4trace:configure.ac:64: -1- m4_pattern_allow([^ENABLE_NLS$])
3913
m4trace:configure.ac:64: -1- AC_LIB_APPENDTOVAR([CPPFLAGS], [$INCINTL])
3914
m4trace:configure.ac:64: -1- AC_LIB_WITH_FINAL_PREFIX([eval x=\"$x\"])
3915
m4trace:configure.ac:64: -1- m4_pattern_allow([^HAVE_GETTEXT$])
3916
m4trace:configure.ac:64: -1- m4_pattern_allow([^HAVE_DCGETTEXT$])
3917
m4trace:configure.ac:64: -1- m4_pattern_allow([^INTLLIBS$])
3918
m4trace:configure.ac:64: -1- m4_pattern_allow([^LIBINTL$])
3919
m4trace:configure.ac:64: -1- m4_pattern_allow([^LTLIBINTL$])
3920
m4trace:configure.ac:64: -1- m4_pattern_allow([^POSUB$])
3921
m4trace:configure.ac:65: -1- AM_GLIB_GNU_GETTEXT
3922
m4trace:configure.ac:65: -1- m4_pattern_allow([^CPP$])
3923
m4trace:configure.ac:65: -1- m4_pattern_allow([^CPPFLAGS$])
3924
m4trace:configure.ac:65: -1- m4_pattern_allow([^CPP$])
3925
m4trace:configure.ac:65: -1- m4_pattern_allow([^GREP$])
3926
m4trace:configure.ac:65: -1- m4_pattern_allow([^GREP$])
3927
m4trace:configure.ac:65: -1- m4_pattern_allow([^EGREP$])
3928
m4trace:configure.ac:65: -1- m4_pattern_allow([^EGREP$])
3929
m4trace:configure.ac:65: -1- m4_pattern_allow([^STDC_HEADERS$])
3930
m4trace:configure.ac:65: -1- _m4_warn([obsolete], [The macro `AC_TRY_LINK' is obsolete.
3931
You should run autoupdate.], [../../lib/autoconf/general.m4:2414: AC_TRY_LINK is expanded from...
3932
../../lib/m4sugar/m4sh.m4:516: AS_IF is expanded from...
3933
../../lib/autoconf/general.m4:1898: AC_CACHE_VAL is expanded from...
3934
../../lib/autoconf/general.m4:1911: AC_CACHE_CHECK is expanded from...
3935
/usr/share/aclocal/glib-gettext.m4:48: GLIB_LC_MESSAGES is expanded from...
3936
/usr/share/aclocal/glib-gettext.m4:313: GLIB_GNU_GETTEXT is expanded from...
3937
/usr/share/aclocal/glib-gettext.m4:413: AM_GLIB_GNU_GETTEXT is expanded from...
3938
configure.ac:65: the top level])
3939
m4trace:configure.ac:65: -1- m4_pattern_allow([^HAVE_LC_MESSAGES$])
3940
m4trace:configure.ac:65: -1- m4_pattern_allow([^USE_NLS$])
3941
m4trace:configure.ac:65: -1- _m4_warn([obsolete], [The macro `AC_TRY_LINK' is obsolete.
3942
You should run autoupdate.], [../../lib/autoconf/general.m4:2414: AC_TRY_LINK is expanded from...
3943
../../lib/m4sugar/m4sh.m4:516: AS_IF is expanded from...
3944
../../lib/autoconf/general.m4:1898: AC_CACHE_VAL is expanded from...
3945
../../lib/autoconf/general.m4:1911: AC_CACHE_CHECK is expanded from...
3946
../../lib/m4sugar/m4sh.m4:516: AS_IF is expanded from...
3947
../../lib/autoconf/headers.m4:87: AC_CHECK_HEADER is expanded from...
3948
/usr/share/aclocal/glib-gettext.m4:102: GLIB_WITH_NLS is expanded from...
3949
/usr/share/aclocal/glib-gettext.m4:313: GLIB_GNU_GETTEXT is expanded from...
3950
/usr/share/aclocal/glib-gettext.m4:413: AM_GLIB_GNU_GETTEXT is expanded from...
3951
configure.ac:65: the top level])
3952
m4trace:configure.ac:65: -1- _m4_warn([obsolete], [The macro `AC_TRY_LINK' is obsolete.
3953
You should run autoupdate.], [../../lib/autoconf/general.m4:2414: AC_TRY_LINK is expanded from...
3954
../../lib/m4sugar/m4sh.m4:516: AS_IF is expanded from...
3955
../../lib/autoconf/general.m4:1898: AC_CACHE_VAL is expanded from...
3956
../../lib/autoconf/general.m4:1911: AC_CACHE_CHECK is expanded from...
3957
../../lib/m4sugar/m4sh.m4:516: AS_IF is expanded from...
3958
../../lib/autoconf/headers.m4:87: AC_CHECK_HEADER is expanded from...
3959
/usr/share/aclocal/glib-gettext.m4:102: GLIB_WITH_NLS is expanded from...
3960
/usr/share/aclocal/glib-gettext.m4:313: GLIB_GNU_GETTEXT is expanded from...
3961
/usr/share/aclocal/glib-gettext.m4:413: AM_GLIB_GNU_GETTEXT is expanded from...
3962
configure.ac:65: the top level])
3963
m4trace:configure.ac:65: -1- m4_pattern_allow([^HAVE_GETTEXT$])
3964
m4trace:configure.ac:65: -1- m4_pattern_allow([^MSGFMT$])
3965
m4trace:configure.ac:65: -1- GLIB_RUN_PROG([$MSGFMT -c -o /dev/null], [
3968
"Content-Type: text/plain; charset=UTF-8\n"
3969
"Project-Id-Version: test 1.0\n"
3970
"PO-Revision-Date: 2007-02-15 12:01+0100\n"
3971
"Last-Translator: test <foo@bar.xx>\n"
3972
"Language-Team: C <LL@li.org>\n"
3973
"MIME-Version: 1.0\n"
3974
"Content-Transfer-Encoding: 8bit\n"
3975
], [MSGFMT_OPTS=-c; AC_MSG_RESULT([yes])], [AC_MSG_RESULT([no])])
3976
m4trace:configure.ac:65: -1- m4_pattern_allow([^MSGFMT_OPTS$])
3977
m4trace:configure.ac:65: -1- m4_pattern_allow([^GMSGFMT$])
3978
m4trace:configure.ac:65: -1- m4_pattern_allow([^XGETTEXT$])
3979
m4trace:configure.ac:65: -1- _m4_warn([obsolete], [The macro `AC_TRY_LINK' is obsolete.
3980
You should run autoupdate.], [../../lib/autoconf/general.m4:2414: AC_TRY_LINK is expanded from...
3981
../../lib/m4sugar/m4sh.m4:516: AS_IF is expanded from...
3982
../../lib/autoconf/headers.m4:87: AC_CHECK_HEADER is expanded from...
3983
/usr/share/aclocal/glib-gettext.m4:102: GLIB_WITH_NLS is expanded from...
3984
/usr/share/aclocal/glib-gettext.m4:313: GLIB_GNU_GETTEXT is expanded from...
3985
/usr/share/aclocal/glib-gettext.m4:413: AM_GLIB_GNU_GETTEXT is expanded from...
3986
configure.ac:65: the top level])
3987
m4trace:configure.ac:65: -1- m4_pattern_allow([^ENABLE_NLS$])
3988
m4trace:configure.ac:65: -1- _m4_warn([obsolete], [The macro `AC_OUTPUT_COMMANDS' is obsolete.
3989
You should run autoupdate.], [../../lib/autoconf/status.m4:848: AC_OUTPUT_COMMANDS is expanded from...
3990
/usr/share/aclocal/glib-gettext.m4:102: GLIB_WITH_NLS is expanded from...
3991
/usr/share/aclocal/glib-gettext.m4:313: GLIB_GNU_GETTEXT is expanded from...
3992
/usr/share/aclocal/glib-gettext.m4:413: AM_GLIB_GNU_GETTEXT is expanded from...
3993
configure.ac:65: the top level])
3994
m4trace:configure.ac:65: -1- m4_pattern_allow([^CATALOGS$])
3995
m4trace:configure.ac:65: -1- m4_pattern_allow([^CATOBJEXT$])
3996
m4trace:configure.ac:65: -1- m4_pattern_allow([^DATADIRNAME$])
3997
m4trace:configure.ac:65: -1- m4_pattern_allow([^GMOFILES$])
3998
m4trace:configure.ac:65: -1- m4_pattern_allow([^INSTOBJEXT$])
3999
m4trace:configure.ac:65: -1- m4_pattern_allow([^INTLLIBS$])
4000
m4trace:configure.ac:65: -1- m4_pattern_allow([^PO_IN_DATADIR_TRUE$])
4001
m4trace:configure.ac:65: -1- m4_pattern_allow([^PO_IN_DATADIR_FALSE$])
4002
m4trace:configure.ac:65: -1- m4_pattern_allow([^POFILES$])
4003
m4trace:configure.ac:65: -1- m4_pattern_allow([^POSUB$])
4004
m4trace:configure.ac:65: -1- m4_pattern_allow([^MKINSTALLDIRS$])
4005
m4trace:configure.ac:66: -1- AC_PROG_INTLTOOL
4006
m4trace:configure.ac:66: -1- _m4_warn([obsolete], [The macro `AC_PROG_INTLTOOL' is obsolete.
4007
You should run autoupdate.], [/usr/share/aclocal/intltool.m4:217: AC_PROG_INTLTOOL is expanded from...
4008
configure.ac:66: the top level])
4009
m4trace:configure.ac:66: -1- IT_PROG_INTLTOOL
4010
m4trace:configure.ac:66: -1- m4_pattern_allow([^INTLTOOL_DESKTOP_RULE$])
4011
m4trace:configure.ac:66: -1- m4_pattern_allow([^INTLTOOL_DIRECTORY_RULE$])
4012
m4trace:configure.ac:66: -1- m4_pattern_allow([^INTLTOOL_KEYS_RULE$])
4013
m4trace:configure.ac:66: -1- m4_pattern_allow([^INTLTOOL_PROP_RULE$])
4014
m4trace:configure.ac:66: -1- m4_pattern_allow([^INTLTOOL_OAF_RULE$])
4015
m4trace:configure.ac:66: -1- m4_pattern_allow([^INTLTOOL_PONG_RULE$])
4016
m4trace:configure.ac:66: -1- m4_pattern_allow([^INTLTOOL_SERVER_RULE$])
4017
m4trace:configure.ac:66: -1- m4_pattern_allow([^INTLTOOL_SHEET_RULE$])
4018
m4trace:configure.ac:66: -1- m4_pattern_allow([^INTLTOOL_SOUNDLIST_RULE$])
4019
m4trace:configure.ac:66: -1- m4_pattern_allow([^INTLTOOL_UI_RULE$])
4020
m4trace:configure.ac:66: -1- m4_pattern_allow([^INTLTOOL_XAM_RULE$])
4021
m4trace:configure.ac:66: -1- m4_pattern_allow([^INTLTOOL_KBD_RULE$])
4022
m4trace:configure.ac:66: -1- m4_pattern_allow([^INTLTOOL_XML_RULE$])
4023
m4trace:configure.ac:66: -1- m4_pattern_allow([^INTLTOOL_XML_NOMERGE_RULE$])
4024
m4trace:configure.ac:66: -1- m4_pattern_allow([^INTLTOOL_CAVES_RULE$])
4025
m4trace:configure.ac:66: -1- m4_pattern_allow([^INTLTOOL_SCHEMAS_RULE$])
4026
m4trace:configure.ac:66: -1- m4_pattern_allow([^INTLTOOL_THEME_RULE$])
4027
m4trace:configure.ac:66: -1- m4_pattern_allow([^INTLTOOL_SERVICE_RULE$])
4028
m4trace:configure.ac:66: -1- m4_pattern_allow([^INTLTOOL_POLICY_RULE$])
4029
m4trace:configure.ac:66: -1- m4_pattern_allow([^INTLTOOL_EXTRACT$])
4030
m4trace:configure.ac:66: -1- m4_pattern_allow([^INTLTOOL_MERGE$])
4031
m4trace:configure.ac:66: -1- m4_pattern_allow([^INTLTOOL_UPDATE$])
4032
m4trace:configure.ac:66: -1- m4_pattern_allow([^INTLTOOL_PERL$])
4033
m4trace:configure.ac:66: -1- m4_pattern_allow([^ALL_LINGUAS$])
4034
m4trace:configure.ac:66: -1- m4_pattern_allow([^DATADIRNAME$])
4035
m4trace:configure.ac:66: -1- IT_PO_SUBDIR([po])
4036
m4trace:configure.ac:68: -1- _m4_warn([obsolete], [AC_OUTPUT should be used without arguments.
4037
You should run autoupdate.], [])
4038
m4trace:configure.ac:68: -1- m4_pattern_allow([^LIB@&t@OBJS$])
4039
m4trace:configure.ac:68: -1- m4_pattern_allow([^LTLIBOBJS$])
4040
m4trace:configure.ac:68: -1- _AM_OUTPUT_DEPENDENCY_COMMANDS