1
# generated automatically by aclocal 1.10.2 -*- Autoconf -*-
1
# generated automatically by aclocal 1.11.1 -*- 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(m4_defn([AC_AUTOCONF_VERSION]), [2.63],,
17
[m4_warning([this file was generated for autoconf 2.63.
16
m4_if(m4_defn([AC_AUTOCONF_VERSION]), [2.68],,
17
[m4_warning([this file was generated for autoconf 2.68.
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
# intlmacosx.m4 serial 1 (gettext-0.17)
23
dnl Copyright (C) 2004-2007 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
dnl This file can can be used in projects which are not available under
29
dnl the GNU General Public License or the GNU Library General Public
30
dnl License but which still want to provide support for the GNU gettext
32
dnl Please note that the actual code of the GNU gettext library is covered
33
dnl by the GNU Library General Public License, and the rest of the GNU
34
dnl gettext package package is covered by the GNU General Public License.
35
dnl They are *not* in the public domain.
37
dnl Checks for special options needed on MacOS X.
38
dnl Defines INTL_MACOSX_LIBS.
39
AC_DEFUN([gt_INTL_MACOSX],
41
dnl Check for API introduced in MacOS X 10.2.
42
AC_CACHE_CHECK([for CFPreferencesCopyAppValue],
43
gt_cv_func_CFPreferencesCopyAppValue,
45
LIBS="$LIBS -Wl,-framework -Wl,CoreFoundation"
46
AC_TRY_LINK([#include <CoreFoundation/CFPreferences.h>],
47
[CFPreferencesCopyAppValue(NULL, NULL)],
48
[gt_cv_func_CFPreferencesCopyAppValue=yes],
49
[gt_cv_func_CFPreferencesCopyAppValue=no])
50
LIBS="$gt_save_LIBS"])
51
if test $gt_cv_func_CFPreferencesCopyAppValue = yes; then
52
AC_DEFINE([HAVE_CFPREFERENCESCOPYAPPVALUE], 1,
53
[Define to 1 if you have the MacOS X function CFPreferencesCopyAppValue in the CoreFoundation framework.])
55
dnl Check for API introduced in MacOS X 10.3.
56
AC_CACHE_CHECK([for CFLocaleCopyCurrent], gt_cv_func_CFLocaleCopyCurrent,
58
LIBS="$LIBS -Wl,-framework -Wl,CoreFoundation"
59
AC_TRY_LINK([#include <CoreFoundation/CFLocale.h>], [CFLocaleCopyCurrent();],
60
[gt_cv_func_CFLocaleCopyCurrent=yes],
61
[gt_cv_func_CFLocaleCopyCurrent=no])
62
LIBS="$gt_save_LIBS"])
63
if test $gt_cv_func_CFLocaleCopyCurrent = yes; then
64
AC_DEFINE([HAVE_CFLOCALECOPYCURRENT], 1,
65
[Define to 1 if you have the MacOS X function CFLocaleCopyCurrent in the CoreFoundation framework.])
68
if test $gt_cv_func_CFPreferencesCopyAppValue = yes || test $gt_cv_func_CFLocaleCopyCurrent = yes; then
69
INTL_MACOSX_LIBS="-Wl,-framework -Wl,CoreFoundation"
71
AC_SUBST([INTL_MACOSX_LIBS])
74
22
# Copyright (C) 2002, 2003, 2005, 2006, 2007, 2008 Free Software Foundation, Inc.
76
24
# This file is free software; the Free Software Foundation
163
111
# AM_CONDITIONAL -*- Autoconf -*-
165
# Copyright (C) 1997, 2000, 2001, 2003, 2004, 2005, 2006
113
# Copyright (C) 1997, 2000, 2001, 2003, 2004, 2005, 2006, 2008
166
114
# Free Software Foundation, Inc.
168
116
# This file is free software; the Free Software Foundation
169
117
# gives unlimited permission to copy and/or distribute it,
170
118
# with or without modifications, as long as this notice is preserved.
174
122
# AM_CONDITIONAL(NAME, SHELL-CONDITION)
175
123
# -------------------------------------
195
144
Usually this means the macro was only invoked conditionally.]])
198
# Copyright (C) 1999, 2000, 2001, 2002, 2003, 2004, 2005, 2006
147
# Copyright (C) 1999, 2000, 2001, 2002, 2003, 2004, 2005, 2006, 2009
199
148
# Free Software Foundation, Inc.
201
150
# This file is free software; the Free Software Foundation
202
151
# gives unlimited permission to copy and/or distribute it,
203
152
# with or without modifications, as long as this notice is preserved.
207
156
# There are a few dirty hacks below to avoid letting `AC_PROG_CC' be
208
157
# written in clear, in which case automake, when reading aclocal.m4,
277
236
echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
238
# We check with `-c' and `-o' for the sake of the "dashmstdout"
239
# mode. It turns out that the SunPro C++ compiler does not properly
240
# handle `-M -o', and we need to detect this. Also, some Intel
241
# versions had trouble with output in subdirs
242
am__obj=sub/conftest.${OBJEXT-o}
243
am__minus_obj="-o $am__obj"
246
# This depmode causes a compiler race in universal mode.
247
test "$am__universal" = false || continue
281
250
# after this tag, mechanisms are not by side-effect, so they'll
282
251
# only be used when explicitly requested
258
msvisualcpp | msvcmsys)
259
# This compiler won't grok `-c -o', but also, the minuso test has
260
# not run yet. These depmodes are late enough in the game, and
261
# so weak that their functioning should not be impacted.
262
am__obj=conftest.${OBJEXT-o}
291
# We check with `-c' and `-o' for the sake of the "dashmstdout"
292
# mode. It turns out that the SunPro C++ compiler does not properly
293
# handle `-M -o', and we need to detect this.
294
267
if depmode=$depmode \
295
source=sub/conftest.c object=sub/conftest.${OBJEXT-o} \
268
source=sub/conftest.c object=$am__obj \
296
269
depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
297
$SHELL ./depcomp $depcc -c -o sub/conftest.${OBJEXT-o} sub/conftest.c \
270
$SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
298
271
>/dev/null 2>conftest.err &&
299
272
grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
300
273
grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
301
grep sub/conftest.${OBJEXT-o} sub/conftest.Po > /dev/null 2>&1 &&
274
grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
302
275
${MAKE-make} -s -f confmf > /dev/null 2>&1; then
303
276
# icc doesn't choke on unknown options, it will just issue warnings
304
277
# or remarks (even with -Werror). So we grep stderr for any message
436
409
# Do all the work for Automake. -*- Autoconf -*-
438
411
# Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004,
439
# 2005, 2006, 2008 Free Software Foundation, Inc.
412
# 2005, 2006, 2008, 2009 Free Software Foundation, Inc.
441
414
# This file is free software; the Free Software Foundation
442
415
# gives unlimited permission to copy and/or distribute it,
443
416
# with or without modifications, as long as this notice is preserved.
447
420
# This macro actually does too much. Some checks are only needed if
448
421
# your package does certain things. But this isn't really a big deal.
519
492
AC_REQUIRE([AC_PROG_MAKE_SET])dnl
520
493
AC_REQUIRE([AM_SET_LEADING_DOT])dnl
521
494
_AM_IF_OPTION([tar-ustar], [_AM_PROG_TAR([ustar])],
522
[_AM_IF_OPTION([tar-pax], [_AM_PROG_TAR([pax])],
523
[_AM_PROG_TAR([v7])])])
495
[_AM_IF_OPTION([tar-pax], [_AM_PROG_TAR([pax])],
496
[_AM_PROG_TAR([v7])])])
524
497
_AM_IF_OPTION([no-dependencies],,
525
498
[AC_PROVIDE_IFELSE([AC_PROG_CC],
526
[_AM_DEPENDENCIES(CC)],
527
[define([AC_PROG_CC],
528
defn([AC_PROG_CC])[_AM_DEPENDENCIES(CC)])])dnl
499
[_AM_DEPENDENCIES(CC)],
500
[define([AC_PROG_CC],
501
defn([AC_PROG_CC])[_AM_DEPENDENCIES(CC)])])dnl
529
502
AC_PROVIDE_IFELSE([AC_PROG_CXX],
530
[_AM_DEPENDENCIES(CXX)],
531
[define([AC_PROG_CXX],
532
defn([AC_PROG_CXX])[_AM_DEPENDENCIES(CXX)])])dnl
503
[_AM_DEPENDENCIES(CXX)],
504
[define([AC_PROG_CXX],
505
defn([AC_PROG_CXX])[_AM_DEPENDENCIES(CXX)])])dnl
533
506
AC_PROVIDE_IFELSE([AC_PROG_OBJC],
534
[_AM_DEPENDENCIES(OBJC)],
535
[define([AC_PROG_OBJC],
536
defn([AC_PROG_OBJC])[_AM_DEPENDENCIES(OBJC)])])dnl
507
[_AM_DEPENDENCIES(OBJC)],
508
[define([AC_PROG_OBJC],
509
defn([AC_PROG_OBJC])[_AM_DEPENDENCIES(OBJC)])])dnl
511
_AM_IF_OPTION([silent-rules], [AC_REQUIRE([AM_SILENT_RULES])])dnl
512
dnl The `parallel-tests' driver may need to know about EXEEXT, so add the
513
dnl `am__EXEEXT' conditional if _AM_COMPILER_EXEEXT was seen. This macro
514
dnl is hooked onto _AC_COMPILER_EXEEXT early, see below.
515
AC_CONFIG_COMMANDS_PRE(dnl
516
[m4_provide_if([_AM_COMPILER_EXEEXT],
517
[AM_CONDITIONAL([am__EXEEXT], [test -n "$EXEEXT"])])])dnl
520
dnl Hook into `_AC_COMPILER_EXEEXT' early to learn its expansion. Do not
521
dnl add the conditional right here, as _AC_COMPILER_EXEEXT may be further
522
dnl mangled by Autoconf and run in a shell conditional statement.
523
m4_define([_AC_COMPILER_EXEEXT],
524
m4_defn([_AC_COMPILER_EXEEXT])[m4_provide([_AM_COMPILER_EXEEXT])])
541
527
# When config.status generates a header, we must update the stamp-h file.
622
615
# First try GNU make style include.
623
616
echo "include confinc" > confmf
624
# We grep out `Entering directory' and `Leaving directory'
625
# messages which can occur if `w' ends up in MAKEFLAGS.
626
# In particular we don't look at `^make:' because GNU make might
627
# be invoked under some other name (usually "gmake"), in which
628
# case it prints its new name instead of `make'.
629
if test "`$am_make -s -f confmf 2> /dev/null | grep -v 'ing directory'`" = "done"; then
617
# Ignore all kinds of additional output from `make'.
618
case `$am_make -s -f confmf 2> /dev/null` in #(
619
*the\ am__doit\ target*)
634
625
# Now try BSD make style include.
635
626
if test "$am__include" = "#"; then
636
627
echo '.include "confinc"' > confmf
637
if test "`$am_make -s -f confmf 2> /dev/null`" = "done"; then
628
case `$am_make -s -f confmf 2> /dev/null` in #(
629
*the\ am__doit\ target*)
643
636
AC_SUBST([am__include])
644
637
AC_SUBST([am__quote])
684
677
# Fake the existence of programs that GNU maintainers use. -*- Autoconf -*-
686
# Copyright (C) 1997, 1999, 2000, 2001, 2003, 2004, 2005
679
# Copyright (C) 1997, 1999, 2000, 2001, 2003, 2004, 2005, 2008
687
680
# Free Software Foundation, Inc.
689
682
# This file is free software; the Free Software Foundation
690
683
# gives unlimited permission to copy and/or distribute it,
691
684
# with or without modifications, as long as this notice is preserved.
695
688
# AM_MISSING_PROG(NAME, PROGRAM)
696
689
# ------------------------------
779
779
# Check to make sure that the build environment is sane. -*- Autoconf -*-
781
# Copyright (C) 1996, 1997, 2000, 2001, 2003, 2005
781
# Copyright (C) 1996, 1997, 2000, 2001, 2003, 2005, 2008
782
782
# Free Software Foundation, Inc.
784
784
# This file is free software; the Free Software Foundation
785
785
# gives unlimited permission to copy and/or distribute it,
786
786
# with or without modifications, as long as this notice is preserved.
790
790
# AM_SANITY_CHECK
791
791
# ---------------
796
796
echo timestamp > conftest.file
797
# Reject unsafe characters in $srcdir or the absolute working directory
798
# name. Accept space and tab only in the latter.
802
*[[\\\"\#\$\&\'\`$am_lf]]*)
803
AC_MSG_ERROR([unsafe absolute working directory name]);;
806
*[[\\\"\#\$\&\'\`$am_lf\ \ ]]*)
807
AC_MSG_ERROR([unsafe srcdir value: `$srcdir']);;
797
810
# Do `set' in a subshell so we don't clobber the current shell's
798
811
# arguments. Must try -L first in case configure is actually a
799
812
# symlink; some systems play weird games with the mod time of symlinks
800
813
# (eg FreeBSD returns the mod time of the symlink's containing
803
set X `ls -Lt $srcdir/configure conftest.file 2> /dev/null`
816
set X `ls -Lt "$srcdir/configure" conftest.file 2> /dev/null`
804
817
if test "$[*]" = "X"; then
805
818
# -L didn't work.
806
set X `ls -t $srcdir/configure conftest.file`
819
set X `ls -t "$srcdir/configure" conftest.file`
808
821
rm -f conftest.file
809
822
if test "$[*]" != "X $srcdir/configure conftest.file" \
856
869
INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s"
857
870
AC_SUBST([INSTALL_STRIP_PROGRAM])])
859
# Copyright (C) 2006 Free Software Foundation, Inc.
872
# Copyright (C) 2006, 2008 Free Software Foundation, Inc.
861
874
# This file is free software; the Free Software Foundation
862
875
# gives unlimited permission to copy and/or distribute it,
863
876
# with or without modifications, as long as this notice is preserved.
865
880
# _AM_SUBST_NOTMAKE(VARIABLE)
866
881
# ---------------------------
867
882
# Prevent Automake from outputting VARIABLE = @VARIABLE@ in Makefile.in.
868
883
# This macro is traced by Automake.
869
884
AC_DEFUN([_AM_SUBST_NOTMAKE])
886
# AM_SUBST_NOTMAKE(VARIABLE)
887
# ---------------------------
888
# Public sister of _AM_SUBST_NOTMAKE.
889
AC_DEFUN([AM_SUBST_NOTMAKE], [_AM_SUBST_NOTMAKE($@)])
871
891
# Check how to create a tarball. -*- Autoconf -*-
873
893
# Copyright (C) 2004, 2005 Free Software Foundation, Inc.
964
984
AC_SUBST([am__untar])
965
985
]) # _AM_PROG_TAR
967
m4_include([md5/m4/gnulib-comp.m4])
968
m4_include([md5/m4/md5.m4])
969
987
m4_include([m4/00gnulib.m4])
970
988
m4_include([m4/alloca.m4])
989
m4_include([m4/arpa_inet_h.m4])
990
m4_include([m4/asm-underscore.m4])
991
m4_include([m4/clock_time.m4])
992
m4_include([m4/close.m4])
971
993
m4_include([m4/codeset.m4])
994
m4_include([m4/configmake.m4])
995
m4_include([m4/dirname.m4])
996
m4_include([m4/double-slash-root.m4])
997
m4_include([m4/dup2.m4])
998
m4_include([m4/environ.m4])
972
999
m4_include([m4/errno_h.m4])
973
1000
m4_include([m4/error.m4])
974
m4_include([m4/exitfail.m4])
975
1001
m4_include([m4/extensions.m4])
1002
m4_include([m4/fatal-signal.m4])
1003
m4_include([m4/fcntl-o.m4])
1004
m4_include([m4/fcntl.m4])
1005
m4_include([m4/fcntl_h.m4])
1006
m4_include([m4/float_h.m4])
1007
m4_include([m4/fseek.m4])
976
1008
m4_include([m4/fseeko.m4])
1009
m4_include([m4/futimens.m4])
1010
m4_include([m4/getaddrinfo.m4])
977
1011
m4_include([m4/getdelim.m4])
1012
m4_include([m4/getdtablesize.m4])
978
1013
m4_include([m4/getline.m4])
979
1014
m4_include([m4/getopt.m4])
980
m4_include([m4/getpagesize.m4])
981
1015
m4_include([m4/getpass.m4])
982
1016
m4_include([m4/gettext.m4])
1017
m4_include([m4/gettime.m4])
1018
m4_include([m4/gettimeofday.m4])
983
1019
m4_include([m4/glibc21.m4])
984
1020
m4_include([m4/gnulib-common.m4])
985
1021
m4_include([m4/gnulib-comp.m4])
1022
m4_include([m4/hostent.m4])
986
1023
m4_include([m4/iconv.m4])
1024
m4_include([m4/iconv_h.m4])
987
1025
m4_include([m4/include_next.m4])
1026
m4_include([m4/inet_ntop.m4])
988
1027
m4_include([m4/inline.m4])
1028
m4_include([m4/intlmacosx.m4])
1029
m4_include([m4/intmax_t.m4])
1030
m4_include([m4/inttypes_h.m4])
1031
m4_include([m4/ioctl.m4])
1032
m4_include([m4/largefile.m4])
989
1033
m4_include([m4/lib-ld.m4])
990
1034
m4_include([m4/lib-link.m4])
991
1035
m4_include([m4/lib-prefix.m4])
993
1037
m4_include([m4/locale-fr.m4])
994
1038
m4_include([m4/locale-ja.m4])
995
1039
m4_include([m4/locale-zh.m4])
1040
m4_include([m4/lock.m4])
996
1041
m4_include([m4/longlong.m4])
997
1042
m4_include([m4/lseek.m4])
1043
m4_include([m4/lstat.m4])
998
1044
m4_include([m4/malloc.m4])
999
1045
m4_include([m4/mbrtowc.m4])
1000
1046
m4_include([m4/mbsinit.m4])
1001
1047
m4_include([m4/mbstate_t.m4])
1048
m4_include([m4/mbtowc.m4])
1049
m4_include([m4/md5.m4])
1002
1050
m4_include([m4/memchr.m4])
1051
m4_include([m4/mkdir.m4])
1003
1052
m4_include([m4/mmap-anon.m4])
1053
m4_include([m4/mode_t.m4])
1004
1054
m4_include([m4/multiarch.m4])
1055
m4_include([m4/netdb_h.m4])
1056
m4_include([m4/netinet_in_h.m4])
1005
1057
m4_include([m4/nls.m4])
1058
m4_include([m4/nocrash.m4])
1059
m4_include([m4/open.m4])
1060
m4_include([m4/pipe2.m4])
1006
1061
m4_include([m4/po.m4])
1062
m4_include([m4/posix_spawn.m4])
1063
m4_include([m4/printf.m4])
1007
1064
m4_include([m4/quote.m4])
1008
1065
m4_include([m4/quotearg.m4])
1066
m4_include([m4/rawmemchr.m4])
1009
1067
m4_include([m4/realloc.m4])
1068
m4_include([m4/sched_h.m4])
1069
m4_include([m4/select.m4])
1070
m4_include([m4/servent.m4])
1071
m4_include([m4/sig_atomic_t.m4])
1072
m4_include([m4/sigaction.m4])
1073
m4_include([m4/signal_h.m4])
1074
m4_include([m4/signalblocking.m4])
1075
m4_include([m4/sigpipe.m4])
1076
m4_include([m4/size_max.m4])
1077
m4_include([m4/snprintf.m4])
1078
m4_include([m4/socketlib.m4])
1079
m4_include([m4/sockets.m4])
1080
m4_include([m4/socklen.m4])
1081
m4_include([m4/sockpfaf.m4])
1082
m4_include([m4/spawn-pipe.m4])
1083
m4_include([m4/spawn_h.m4])
1084
m4_include([m4/stat-time.m4])
1085
m4_include([m4/stat.m4])
1010
1086
m4_include([m4/stdbool.m4])
1011
1087
m4_include([m4/stddef_h.m4])
1012
1088
m4_include([m4/stdint.m4])
1089
m4_include([m4/stdint_h.m4])
1013
1090
m4_include([m4/stdio_h.m4])
1014
1091
m4_include([m4/stdlib_h.m4])
1015
m4_include([m4/strcase.m4])
1016
1092
m4_include([m4/strcasestr.m4])
1093
m4_include([m4/strchrnul.m4])
1017
1094
m4_include([m4/strerror.m4])
1095
m4_include([m4/strerror_r.m4])
1018
1096
m4_include([m4/string_h.m4])
1019
m4_include([m4/strings_h.m4])
1097
m4_include([m4/sys_ioctl_h.m4])
1098
m4_include([m4/sys_select_h.m4])
1099
m4_include([m4/sys_socket_h.m4])
1100
m4_include([m4/sys_stat_h.m4])
1101
m4_include([m4/sys_time_h.m4])
1102
m4_include([m4/sys_uio_h.m4])
1103
m4_include([m4/sys_wait_h.m4])
1104
m4_include([m4/threadlib.m4])
1105
m4_include([m4/time_h.m4])
1106
m4_include([m4/timespec.m4])
1107
m4_include([m4/unistd-safer.m4])
1020
1108
m4_include([m4/unistd_h.m4])
1021
m4_include([m4/wchar.m4])
1109
m4_include([m4/unlocked-io.m4])
1110
m4_include([m4/utimbuf.m4])
1111
m4_include([m4/utimens.m4])
1112
m4_include([m4/utimes.m4])
1113
m4_include([m4/vasnprintf.m4])
1114
m4_include([m4/vasprintf.m4])
1115
m4_include([m4/wait-process.m4])
1116
m4_include([m4/waitpid.m4])
1117
m4_include([m4/warn-on-use.m4])
1118
m4_include([m4/wchar_h.m4])
1022
1119
m4_include([m4/wchar_t.m4])
1023
m4_include([m4/wctype.m4])
1120
m4_include([m4/wctype_h.m4])
1024
1121
m4_include([m4/wget.m4])
1025
1122
m4_include([m4/wint_t.m4])
1123
m4_include([m4/write.m4])
1026
1124
m4_include([m4/xalloc.m4])
1125
m4_include([m4/xsize.m4])