1
# generated automatically by aclocal 1.10.1 -*- Autoconf -*-
1
# generated automatically by aclocal 1.11 -*- Autoconf -*-
3
3
# Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004,
4
# 2005, 2006, 2007, 2008 Free Software Foundation, Inc.
4
# 2005, 2006, 2007, 2008, 2009 Free Software Foundation, Inc.
5
5
# This file is free software; the Free Software Foundation
6
6
# gives unlimited permission to copy and/or distribute it,
7
7
# with or without modifications, as long as this notice is preserved.
14
14
m4_ifndef([AC_AUTOCONF_VERSION],
15
15
[m4_copy([m4_PACKAGE_VERSION], [AC_AUTOCONF_VERSION])])dnl
16
m4_if(AC_AUTOCONF_VERSION, [2.61],,
17
[m4_warning([this file was generated for autoconf 2.61.
16
m4_if(m4_defn([AC_AUTOCONF_VERSION]), [2.63],,
17
[m4_warning([this file was generated for autoconf 2.63.
18
18
You have another version of autoconf. It may work, but is not guaranteed to.
19
19
If you have problems, you may need to regenerate the build system entirely.
20
20
To do so, use the procedure documented by the package, typically `autoreconf'.])])
22
# Copyright (C) 2002, 2003, 2005, 2006, 2007 Free Software Foundation, Inc.
22
# isc-posix.m4 serial 2 (gettext-0.11.2)
23
dnl Copyright (C) 1995-2002 Free Software Foundation, Inc.
24
dnl This file is free software; the Free Software Foundation
25
dnl gives unlimited permission to copy and/or distribute it,
26
dnl with or without modifications, as long as this notice is preserved.
28
# This file is not needed with autoconf-2.53 and newer. Remove it in 2005.
30
# This test replaces the one in autoconf.
31
# Currently this macro should have the same name as the autoconf macro
32
# because gettext's gettext.m4 (distributed in the automake package)
33
# still uses it. Otherwise, the use in gettext.m4 makes autoheader
34
# give these diagnostics:
35
# configure.in:556: AC_TRY_COMPILE was called before AC_ISC_POSIX
36
# configure.in:556: AC_TRY_RUN was called before AC_ISC_POSIX
38
undefine([AC_ISC_POSIX])
40
AC_DEFUN([AC_ISC_POSIX],
42
dnl This test replaces the obsolescent AC_ISC_POSIX kludge.
43
AC_CHECK_LIB(cposix, strerror, [LIBS="$LIBS -lcposix"])
47
# Copyright (C) 2002, 2003, 2005, 2006, 2007, 2008 Free Software Foundation, Inc.
24
49
# This file is free software; the Free Software Foundation
25
50
# gives unlimited permission to copy and/or distribute it,
111
136
# AM_CONDITIONAL -*- Autoconf -*-
113
# Copyright (C) 1997, 2000, 2001, 2003, 2004, 2005, 2006
138
# Copyright (C) 1997, 2000, 2001, 2003, 2004, 2005, 2006, 2008
114
139
# Free Software Foundation, Inc.
116
141
# This file is free software; the Free Software Foundation
117
142
# gives unlimited permission to copy and/or distribute it,
118
143
# with or without modifications, as long as this notice is preserved.
122
147
# AM_CONDITIONAL(NAME, SHELL-CONDITION)
123
148
# -------------------------------------
143
169
Usually this means the macro was only invoked conditionally.]])
146
# Copyright (C) 1999, 2000, 2001, 2002, 2003, 2004, 2005, 2006
172
# Copyright (C) 1999, 2000, 2001, 2002, 2003, 2004, 2005, 2006, 2009
147
173
# Free Software Foundation, Inc.
149
175
# This file is free software; the Free Software Foundation
150
176
# gives unlimited permission to copy and/or distribute it,
151
177
# with or without modifications, as long as this notice is preserved.
155
181
# There are a few dirty hacks below to avoid letting `AC_PROG_CC' be
156
182
# written in clear, in which case automake, when reading aclocal.m4,
283
msvisualcpp | msvcmsys)
284
# This compiler won't grok `-c -o', but also, the minuso test has
285
# not run yet. These depmodes are late enough in the game, and
286
# so weak that their functioning should not be impacted.
287
am__obj=conftest.${OBJEXT-o}
239
# We check with `-c' and `-o' for the sake of the "dashmstdout"
240
# mode. It turns out that the SunPro C++ compiler does not properly
241
# handle `-M -o', and we need to detect this.
242
292
if depmode=$depmode \
243
source=sub/conftest.c object=sub/conftest.${OBJEXT-o} \
293
source=sub/conftest.c object=$am__obj \
244
294
depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
245
$SHELL ./depcomp $depcc -c -o sub/conftest.${OBJEXT-o} sub/conftest.c \
295
$SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
246
296
>/dev/null 2>conftest.err &&
247
297
grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
248
298
grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
249
grep sub/conftest.${OBJEXT-o} sub/conftest.Po > /dev/null 2>&1 &&
299
grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
250
300
${MAKE-make} -s -f confmf > /dev/null 2>&1; then
251
301
# icc doesn't choke on unknown options, it will just issue warnings
252
302
# or remarks (even with -Werror). So we grep stderr for any message
304
354
# Generate code to set up dependency tracking. -*- Autoconf -*-
306
# Copyright (C) 1999, 2000, 2001, 2002, 2003, 2004, 2005
356
# Copyright (C) 1999, 2000, 2001, 2002, 2003, 2004, 2005, 2008
307
357
# Free Software Foundation, Inc.
309
359
# This file is free software; the Free Software Foundation
310
360
# gives unlimited permission to copy and/or distribute it,
311
361
# with or without modifications, as long as this notice is preserved.
315
365
# _AM_OUTPUT_DEPENDENCY_COMMANDS
316
366
# ------------------------------
317
367
AC_DEFUN([_AM_OUTPUT_DEPENDENCY_COMMANDS],
318
[for mf in $CONFIG_FILES; do
319
# Strip MF so we end up with the name of the file.
320
mf=`echo "$mf" | sed -e 's/:.*$//'`
321
# Check whether this is an Automake generated Makefile or not.
322
# We used to match only the files named `Makefile.in', but
323
# some people rename them; so instead we look at the file content.
324
# Grep'ing the first line is not enough: some people post-process
325
# each Makefile.in and add a new line on top of each file to say so.
326
# Grep'ing the whole file is not good either: AIX grep has a line
327
# limit of 2048, but all sed's we know have understand at least 4000.
328
if sed -n 's,^#.*generated by automake.*,X,p' "$mf" | grep X >/dev/null 2>&1; then
329
dirpart=`AS_DIRNAME("$mf")`
333
# Extract the definition of DEPDIR, am__include, and am__quote
334
# from the Makefile without running `make'.
335
DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"`
336
test -z "$DEPDIR" && continue
337
am__include=`sed -n 's/^am__include = //p' < "$mf"`
338
test -z "am__include" && continue
339
am__quote=`sed -n 's/^am__quote = //p' < "$mf"`
340
# When using ansi2knr, U may be empty or an underscore; expand it
341
U=`sed -n 's/^U = //p' < "$mf"`
342
# Find all dependency output files, they are included files with
343
# $(DEPDIR) in their names. We invoke sed twice because it is the
344
# simplest approach to changing $(DEPDIR) to its actual value in the
346
for file in `sed -n "
347
s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
348
sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do
349
# Make sure the directory exists.
350
test -f "$dirpart/$file" && continue
351
fdir=`AS_DIRNAME(["$file"])`
352
AS_MKDIR_P([$dirpart/$fdir])
353
# echo "creating $dirpart/$file"
354
echo '# dummy' > "$dirpart/$file"
369
# Autoconf 2.62 quotes --file arguments for eval, but not when files
370
# are listed without --file. Let's play safe and only enable the eval
371
# if we detect the quoting.
372
case $CONFIG_FILES in
373
*\'*) eval set x "$CONFIG_FILES" ;;
374
*) set x $CONFIG_FILES ;;
379
# Strip MF so we end up with the name of the file.
380
mf=`echo "$mf" | sed -e 's/:.*$//'`
381
# Check whether this is an Automake generated Makefile or not.
382
# We used to match only the files named `Makefile.in', but
383
# some people rename them; so instead we look at the file content.
384
# Grep'ing the first line is not enough: some people post-process
385
# each Makefile.in and add a new line on top of each file to say so.
386
# Grep'ing the whole file is not good either: AIX grep has a line
387
# limit of 2048, but all sed's we know have understand at least 4000.
388
if sed -n 's,^#.*generated by automake.*,X,p' "$mf" | grep X >/dev/null 2>&1; then
389
dirpart=`AS_DIRNAME("$mf")`
393
# Extract the definition of DEPDIR, am__include, and am__quote
394
# from the Makefile without running `make'.
395
DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"`
396
test -z "$DEPDIR" && continue
397
am__include=`sed -n 's/^am__include = //p' < "$mf"`
398
test -z "am__include" && continue
399
am__quote=`sed -n 's/^am__quote = //p' < "$mf"`
400
# When using ansi2knr, U may be empty or an underscore; expand it
401
U=`sed -n 's/^U = //p' < "$mf"`
402
# Find all dependency output files, they are included files with
403
# $(DEPDIR) in their names. We invoke sed twice because it is the
404
# simplest approach to changing $(DEPDIR) to its actual value in the
406
for file in `sed -n "
407
s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
408
sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do
409
# Make sure the directory exists.
410
test -f "$dirpart/$file" && continue
411
fdir=`AS_DIRNAME(["$file"])`
412
AS_MKDIR_P([$dirpart/$fdir])
413
# echo "creating $dirpart/$file"
414
echo '# dummy' > "$dirpart/$file"
357
418
])# _AM_OUTPUT_DEPENDENCY_COMMANDS
385
446
# Do all the work for Automake. -*- Autoconf -*-
387
448
# Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004,
388
# 2005, 2006, 2008 Free Software Foundation, Inc.
449
# 2005, 2006, 2008, 2009 Free Software Foundation, Inc.
390
451
# This file is free software; the Free Software Foundation
391
452
# gives unlimited permission to copy and/or distribute it,
392
453
# with or without modifications, as long as this notice is preserved.
396
457
# This macro actually does too much. Some checks are only needed if
397
458
# your package does certain things. But this isn't really a big deal.
468
529
AC_REQUIRE([AC_PROG_MAKE_SET])dnl
469
530
AC_REQUIRE([AM_SET_LEADING_DOT])dnl
470
531
_AM_IF_OPTION([tar-ustar], [_AM_PROG_TAR([ustar])],
471
[_AM_IF_OPTION([tar-pax], [_AM_PROG_TAR([pax])],
472
[_AM_PROG_TAR([v7])])])
532
[_AM_IF_OPTION([tar-pax], [_AM_PROG_TAR([pax])],
533
[_AM_PROG_TAR([v7])])])
473
534
_AM_IF_OPTION([no-dependencies],,
474
535
[AC_PROVIDE_IFELSE([AC_PROG_CC],
475
[_AM_DEPENDENCIES(CC)],
476
[define([AC_PROG_CC],
477
defn([AC_PROG_CC])[_AM_DEPENDENCIES(CC)])])dnl
536
[_AM_DEPENDENCIES(CC)],
537
[define([AC_PROG_CC],
538
defn([AC_PROG_CC])[_AM_DEPENDENCIES(CC)])])dnl
478
539
AC_PROVIDE_IFELSE([AC_PROG_CXX],
479
[_AM_DEPENDENCIES(CXX)],
480
[define([AC_PROG_CXX],
481
defn([AC_PROG_CXX])[_AM_DEPENDENCIES(CXX)])])dnl
540
[_AM_DEPENDENCIES(CXX)],
541
[define([AC_PROG_CXX],
542
defn([AC_PROG_CXX])[_AM_DEPENDENCIES(CXX)])])dnl
482
543
AC_PROVIDE_IFELSE([AC_PROG_OBJC],
483
[_AM_DEPENDENCIES(OBJC)],
484
[define([AC_PROG_OBJC],
485
defn([AC_PROG_OBJC])[_AM_DEPENDENCIES(OBJC)])])dnl
544
[_AM_DEPENDENCIES(OBJC)],
545
[define([AC_PROG_OBJC],
546
defn([AC_PROG_OBJC])[_AM_DEPENDENCIES(OBJC)])])dnl
548
_AM_IF_OPTION([silent-rules], [AC_REQUIRE([AM_SILENT_RULES])])dnl
549
dnl The `parallel-tests' driver may need to know about EXEEXT, so add the
550
dnl `am__EXEEXT' conditional if _AM_COMPILER_EXEEXT was seen. This macro
551
dnl is hooked onto _AC_COMPILER_EXEEXT early, see below.
552
AC_CONFIG_COMMANDS_PRE(dnl
553
[m4_provide_if([_AM_COMPILER_EXEEXT],
554
[AM_CONDITIONAL([am__EXEEXT], [test -n "$EXEEXT"])])])dnl
557
dnl Hook into `_AC_COMPILER_EXEEXT' early to learn its expansion. Do not
558
dnl add the conditional right here, as _AC_COMPILER_EXEEXT may be further
559
dnl mangled by Autoconf and run in a shell conditional statement.
560
m4_define([_AC_COMPILER_EXEEXT],
561
m4_defn([_AC_COMPILER_EXEEXT])[m4_provide([_AM_COMPILER_EXEEXT])])
490
564
# When config.status generates a header, we must update the stamp-h file.
598
679
# Fake the existence of programs that GNU maintainers use. -*- Autoconf -*-
600
# Copyright (C) 1997, 1999, 2000, 2001, 2003, 2004, 2005
681
# Copyright (C) 1997, 1999, 2000, 2001, 2003, 2004, 2005, 2008
601
682
# Free Software Foundation, Inc.
603
684
# This file is free software; the Free Software Foundation
604
685
# gives unlimited permission to copy and/or distribute it,
605
686
# with or without modifications, as long as this notice is preserved.
609
690
# AM_MISSING_PROG(NAME, PROGRAM)
610
691
# ------------------------------
736
824
echo timestamp > conftest.file
825
# Reject unsafe characters in $srcdir or the absolute working directory
826
# name. Accept space and tab only in the latter.
830
*[[\\\"\#\$\&\'\`$am_lf]]*)
831
AC_MSG_ERROR([unsafe absolute working directory name]);;
834
*[[\\\"\#\$\&\'\`$am_lf\ \ ]]*)
835
AC_MSG_ERROR([unsafe srcdir value: `$srcdir']);;
737
838
# Do `set' in a subshell so we don't clobber the current shell's
738
839
# arguments. Must try -L first in case configure is actually a
739
840
# symlink; some systems play weird games with the mod time of symlinks
740
841
# (eg FreeBSD returns the mod time of the symlink's containing
743
set X `ls -Lt $srcdir/configure conftest.file 2> /dev/null`
844
set X `ls -Lt "$srcdir/configure" conftest.file 2> /dev/null`
744
845
if test "$[*]" = "X"; then
745
846
# -L didn't work.
746
set X `ls -t $srcdir/configure conftest.file`
847
set X `ls -t "$srcdir/configure" conftest.file`
748
849
rm -f conftest.file
749
850
if test "$[*]" != "X $srcdir/configure conftest.file" \
796
897
INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s"
797
898
AC_SUBST([INSTALL_STRIP_PROGRAM])])
799
# Copyright (C) 2006 Free Software Foundation, Inc.
900
# Copyright (C) 2006, 2008 Free Software Foundation, Inc.
801
902
# This file is free software; the Free Software Foundation
802
903
# gives unlimited permission to copy and/or distribute it,
803
904
# with or without modifications, as long as this notice is preserved.
805
908
# _AM_SUBST_NOTMAKE(VARIABLE)
806
909
# ---------------------------
807
910
# Prevent Automake from outputting VARIABLE = @VARIABLE@ in Makefile.in.
808
911
# This macro is traced by Automake.
809
912
AC_DEFUN([_AM_SUBST_NOTMAKE])
914
# AM_SUBST_NOTMAKE(VARIABLE)
915
# ---------------------------
916
# Public sister of _AM_SUBST_NOTMAKE.
917
AC_DEFUN([AM_SUBST_NOTMAKE], [_AM_SUBST_NOTMAKE($@)])
811
919
# Check how to create a tarball. -*- Autoconf -*-
813
921
# Copyright (C) 2004, 2005 Free Software Foundation, Inc.