~ubuntu-branches/ubuntu/jaunty/gnupg2/jaunty-security

« back to all changes in this revision

Viewing changes to aclocal.m4

  • Committer: Bazaar Package Importer
  • Author(s): Thomas Viehmann
  • Date: 2008-10-04 10:25:53 UTC
  • mfrom: (5.1.15 intrepid)
  • Revision ID: james.westby@ubuntu.com-20081004102553-fv62pp8dsitxli47
Tags: 2.0.9-3.1
* Non-maintainer upload.
* agent/gpg-agent.c: Deinit the threading library before exec'ing
  the command to run in --daemon mode. And because that still doesn't
  restore the sigprocmask, do that manually. Closes: #499569

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
 
# generated automatically by aclocal 1.9.6 -*- Autoconf -*-
 
1
# generated automatically by aclocal 1.10 -*- Autoconf -*-
2
2
 
3
3
# Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004,
4
 
# 2005  Free Software Foundation, Inc.
 
4
# 2005, 2006  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.
11
11
# even the implied warranty of MERCHANTABILITY or FITNESS FOR A
12
12
# PARTICULAR PURPOSE.
13
13
 
14
 
# Copyright (C) 2002, 2003, 2005  Free Software Foundation, Inc.
 
14
m4_if(m4_PACKAGE_VERSION, [2.61],,
 
15
[m4_fatal([this file was generated for autoconf 2.61.
 
16
You have another version of autoconf.  If you want to use that,
 
17
you should regenerate the build system entirely.], [63])])
 
18
 
 
19
# intlmacosx.m4 serial 1 (gettext-0.17)
 
20
dnl Copyright (C) 2004-2007 Free Software Foundation, Inc.
 
21
dnl This file is free software; the Free Software Foundation
 
22
dnl gives unlimited permission to copy and/or distribute it,
 
23
dnl with or without modifications, as long as this notice is preserved.
 
24
dnl
 
25
dnl This file can can be used in projects which are not available under
 
26
dnl the GNU General Public License or the GNU Library General Public
 
27
dnl License but which still want to provide support for the GNU gettext
 
28
dnl functionality.
 
29
dnl Please note that the actual code of the GNU gettext library is covered
 
30
dnl by the GNU Library General Public License, and the rest of the GNU
 
31
dnl gettext package package is covered by the GNU General Public License.
 
32
dnl They are *not* in the public domain.
 
33
 
 
34
dnl Checks for special options needed on MacOS X.
 
35
dnl Defines INTL_MACOSX_LIBS.
 
36
AC_DEFUN([gt_INTL_MACOSX],
 
37
[
 
38
  dnl Check for API introduced in MacOS X 10.2.
 
39
  AC_CACHE_CHECK([for CFPreferencesCopyAppValue],
 
40
    gt_cv_func_CFPreferencesCopyAppValue,
 
41
    [gt_save_LIBS="$LIBS"
 
42
     LIBS="$LIBS -Wl,-framework -Wl,CoreFoundation"
 
43
     AC_TRY_LINK([#include <CoreFoundation/CFPreferences.h>],
 
44
       [CFPreferencesCopyAppValue(NULL, NULL)],
 
45
       [gt_cv_func_CFPreferencesCopyAppValue=yes],
 
46
       [gt_cv_func_CFPreferencesCopyAppValue=no])
 
47
     LIBS="$gt_save_LIBS"])
 
48
  if test $gt_cv_func_CFPreferencesCopyAppValue = yes; then
 
49
    AC_DEFINE([HAVE_CFPREFERENCESCOPYAPPVALUE], 1,
 
50
      [Define to 1 if you have the MacOS X function CFPreferencesCopyAppValue in the CoreFoundation framework.])
 
51
  fi
 
52
  dnl Check for API introduced in MacOS X 10.3.
 
53
  AC_CACHE_CHECK([for CFLocaleCopyCurrent], gt_cv_func_CFLocaleCopyCurrent,
 
54
    [gt_save_LIBS="$LIBS"
 
55
     LIBS="$LIBS -Wl,-framework -Wl,CoreFoundation"
 
56
     AC_TRY_LINK([#include <CoreFoundation/CFLocale.h>], [CFLocaleCopyCurrent();],
 
57
       [gt_cv_func_CFLocaleCopyCurrent=yes],
 
58
       [gt_cv_func_CFLocaleCopyCurrent=no])
 
59
     LIBS="$gt_save_LIBS"])
 
60
  if test $gt_cv_func_CFLocaleCopyCurrent = yes; then
 
61
    AC_DEFINE([HAVE_CFLOCALECOPYCURRENT], 1,
 
62
      [Define to 1 if you have the MacOS X function CFLocaleCopyCurrent in the CoreFoundation framework.])
 
63
  fi
 
64
  INTL_MACOSX_LIBS=
 
65
  if test $gt_cv_func_CFPreferencesCopyAppValue = yes || test $gt_cv_func_CFLocaleCopyCurrent = yes; then
 
66
    INTL_MACOSX_LIBS="-Wl,-framework -Wl,CoreFoundation"
 
67
  fi
 
68
  AC_SUBST([INTL_MACOSX_LIBS])
 
69
])
 
70
 
 
71
# longlong.m4 serial 13
 
72
dnl Copyright (C) 1999-2007 Free Software Foundation, Inc.
 
73
dnl This file is free software; the Free Software Foundation
 
74
dnl gives unlimited permission to copy and/or distribute it,
 
75
dnl with or without modifications, as long as this notice is preserved.
 
76
 
 
77
dnl From Paul Eggert.
 
78
 
 
79
# Define HAVE_LONG_LONG_INT if 'long long int' works.
 
80
# This fixes a bug in Autoconf 2.61, but can be removed once we
 
81
# assume 2.62 everywhere.
 
82
 
 
83
# Note: If the type 'long long int' exists but is only 32 bits large
 
84
# (as on some very old compilers), HAVE_LONG_LONG_INT will not be
 
85
# defined. In this case you can treat 'long long int' like 'long int'.
 
86
 
 
87
AC_DEFUN([AC_TYPE_LONG_LONG_INT],
 
88
[
 
89
  AC_CACHE_CHECK([for long long int], [ac_cv_type_long_long_int],
 
90
    [AC_LINK_IFELSE(
 
91
       [_AC_TYPE_LONG_LONG_SNIPPET],
 
92
       [dnl This catches a bug in Tandem NonStop Kernel (OSS) cc -O circa 2004.
 
93
        dnl If cross compiling, assume the bug isn't important, since
 
94
        dnl nobody cross compiles for this platform as far as we know.
 
95
        AC_RUN_IFELSE(
 
96
          [AC_LANG_PROGRAM(
 
97
             [[@%:@include <limits.h>
 
98
               @%:@ifndef LLONG_MAX
 
99
               @%:@ define HALF \
 
100
                        (1LL << (sizeof (long long int) * CHAR_BIT - 2))
 
101
               @%:@ define LLONG_MAX (HALF - 1 + HALF)
 
102
               @%:@endif]],
 
103
             [[long long int n = 1;
 
104
               int i;
 
105
               for (i = 0; ; i++)
 
106
                 {
 
107
                   long long int m = n << i;
 
108
                   if (m >> i != n)
 
109
                     return 1;
 
110
                   if (LLONG_MAX / 2 < m)
 
111
                     break;
 
112
                 }
 
113
               return 0;]])],
 
114
          [ac_cv_type_long_long_int=yes],
 
115
          [ac_cv_type_long_long_int=no],
 
116
          [ac_cv_type_long_long_int=yes])],
 
117
       [ac_cv_type_long_long_int=no])])
 
118
  if test $ac_cv_type_long_long_int = yes; then
 
119
    AC_DEFINE([HAVE_LONG_LONG_INT], 1,
 
120
      [Define to 1 if the system has the type `long long int'.])
 
121
  fi
 
122
])
 
123
 
 
124
# Define HAVE_UNSIGNED_LONG_LONG_INT if 'unsigned long long int' works.
 
125
# This fixes a bug in Autoconf 2.61, but can be removed once we
 
126
# assume 2.62 everywhere.
 
127
 
 
128
# Note: If the type 'unsigned long long int' exists but is only 32 bits
 
129
# large (as on some very old compilers), AC_TYPE_UNSIGNED_LONG_LONG_INT
 
130
# will not be defined. In this case you can treat 'unsigned long long int'
 
131
# like 'unsigned long int'.
 
132
 
 
133
AC_DEFUN([AC_TYPE_UNSIGNED_LONG_LONG_INT],
 
134
[
 
135
  AC_CACHE_CHECK([for unsigned long long int],
 
136
    [ac_cv_type_unsigned_long_long_int],
 
137
    [AC_LINK_IFELSE(
 
138
       [_AC_TYPE_LONG_LONG_SNIPPET],
 
139
       [ac_cv_type_unsigned_long_long_int=yes],
 
140
       [ac_cv_type_unsigned_long_long_int=no])])
 
141
  if test $ac_cv_type_unsigned_long_long_int = yes; then
 
142
    AC_DEFINE([HAVE_UNSIGNED_LONG_LONG_INT], 1,
 
143
      [Define to 1 if the system has the type `unsigned long long int'.])
 
144
  fi
 
145
])
 
146
 
 
147
# Expands to a C program that can be used to test for simultaneous support
 
148
# of 'long long' and 'unsigned long long'. We don't want to say that
 
149
# 'long long' is available if 'unsigned long long' is not, or vice versa,
 
150
# because too many programs rely on the symmetry between signed and unsigned
 
151
# integer types (excluding 'bool').
 
152
AC_DEFUN([_AC_TYPE_LONG_LONG_SNIPPET],
 
153
[
 
154
  AC_LANG_PROGRAM(
 
155
    [[/* Test preprocessor.  */
 
156
      #if ! (-9223372036854775807LL < 0 && 0 < 9223372036854775807ll)
 
157
        error in preprocessor;
 
158
      #endif
 
159
      #if ! (18446744073709551615ULL <= -1ull)
 
160
        error in preprocessor;
 
161
      #endif
 
162
      /* Test literals.  */
 
163
      long long int ll = 9223372036854775807ll;
 
164
      long long int nll = -9223372036854775807LL;
 
165
      unsigned long long int ull = 18446744073709551615ULL;
 
166
      /* Test constant expressions.   */
 
167
      typedef int a[((-9223372036854775807LL < 0 && 0 < 9223372036854775807ll)
 
168
                     ? 1 : -1)];
 
169
      typedef int b[(18446744073709551615ULL <= (unsigned long long int) -1
 
170
                     ? 1 : -1)];
 
171
      int i = 63;]],
 
172
    [[/* Test availability of runtime routines for shift and division.  */
 
173
      long long int llmax = 9223372036854775807ll;
 
174
      unsigned long long int ullmax = 18446744073709551615ull;
 
175
      return ((ll << 63) | (ll >> 63) | (ll < i) | (ll > i)
 
176
              | (llmax / ll) | (llmax % ll)
 
177
              | (ull << 63) | (ull >> 63) | (ull << i) | (ull >> i)
 
178
              | (ullmax / ull) | (ullmax % ull));]])
 
179
])
 
180
 
 
181
# Copyright (C) 2002, 2003, 2005, 2006  Free Software Foundation, Inc.
15
182
#
16
183
# This file is free software; the Free Software Foundation
17
184
# gives unlimited permission to copy and/or distribute it,
21
188
# ----------------------------
22
189
# Automake X.Y traces this macro to ensure aclocal.m4 has been
23
190
# generated from the m4 files accompanying Automake X.Y.
24
 
AC_DEFUN([AM_AUTOMAKE_VERSION], [am__api_version="1.9"])
 
191
# (This private macro should not be called outside this file.)
 
192
AC_DEFUN([AM_AUTOMAKE_VERSION],
 
193
[am__api_version='1.10'
 
194
dnl Some users find AM_AUTOMAKE_VERSION and mistake it for a way to
 
195
dnl require some minimum version.  Point them to the right macro.
 
196
m4_if([$1], [1.10], [],
 
197
      [AC_FATAL([Do not call $0, use AM_INIT_AUTOMAKE([$1]).])])dnl
 
198
])
 
199
 
 
200
# _AM_AUTOCONF_VERSION(VERSION)
 
201
# -----------------------------
 
202
# aclocal traces this macro to find the Autoconf version.
 
203
# This is a private macro too.  Using m4_define simplifies
 
204
# the logic in aclocal, which can simply ignore this definition.
 
205
m4_define([_AM_AUTOCONF_VERSION], [])
25
206
 
26
207
# AM_SET_CURRENT_AUTOMAKE_VERSION
27
208
# -------------------------------
28
 
# Call AM_AUTOMAKE_VERSION so it can be traced.
 
209
# Call AM_AUTOMAKE_VERSION and AM_AUTOMAKE_VERSION so they can be traced.
29
210
# This function is AC_REQUIREd by AC_INIT_AUTOMAKE.
30
211
AC_DEFUN([AM_SET_CURRENT_AUTOMAKE_VERSION],
31
 
         [AM_AUTOMAKE_VERSION([1.9.6])])
 
212
[AM_AUTOMAKE_VERSION([1.10])dnl
 
213
_AM_AUTOCONF_VERSION(m4_PACKAGE_VERSION)])
32
214
 
33
215
# AM_AUX_DIR_EXPAND                                         -*- Autoconf -*-
34
216
 
85
267
 
86
268
# AM_CONDITIONAL                                            -*- Autoconf -*-
87
269
 
88
 
# Copyright (C) 1997, 2000, 2001, 2003, 2004, 2005
 
270
# Copyright (C) 1997, 2000, 2001, 2003, 2004, 2005, 2006
89
271
# Free Software Foundation, Inc.
90
272
#
91
273
# This file is free software; the Free Software Foundation
92
274
# gives unlimited permission to copy and/or distribute it,
93
275
# with or without modifications, as long as this notice is preserved.
94
276
 
95
 
# serial 7
 
277
# serial 8
96
278
 
97
279
# AM_CONDITIONAL(NAME, SHELL-CONDITION)
98
280
# -------------------------------------
101
283
[AC_PREREQ(2.52)dnl
102
284
 ifelse([$1], [TRUE],  [AC_FATAL([$0: invalid condition: $1])],
103
285
        [$1], [FALSE], [AC_FATAL([$0: invalid condition: $1])])dnl
104
 
AC_SUBST([$1_TRUE])
105
 
AC_SUBST([$1_FALSE])
 
286
AC_SUBST([$1_TRUE])dnl
 
287
AC_SUBST([$1_FALSE])dnl
 
288
_AM_SUBST_NOTMAKE([$1_TRUE])dnl
 
289
_AM_SUBST_NOTMAKE([$1_FALSE])dnl
106
290
if $2; then
107
291
  $1_TRUE=
108
292
  $1_FALSE='#'
116
300
Usually this means the macro was only invoked conditionally.]])
117
301
fi])])
118
302
 
119
 
 
120
 
# Copyright (C) 1999, 2000, 2001, 2002, 2003, 2004, 2005
 
303
# Copyright (C) 1999, 2000, 2001, 2002, 2003, 2004, 2005, 2006
121
304
# Free Software Foundation, Inc.
122
305
#
123
306
# This file is free software; the Free Software Foundation
124
307
# gives unlimited permission to copy and/or distribute it,
125
308
# with or without modifications, as long as this notice is preserved.
126
309
 
127
 
# serial 8
 
310
# serial 9
128
311
 
129
312
# There are a few dirty hacks below to avoid letting `AC_PROG_CC' be
130
313
# written in clear, in which case automake, when reading aclocal.m4,
152
335
ifelse([$1], CC,   [depcc="$CC"   am_compiler_list=],
153
336
       [$1], CXX,  [depcc="$CXX"  am_compiler_list=],
154
337
       [$1], OBJC, [depcc="$OBJC" am_compiler_list='gcc3 gcc'],
 
338
       [$1], UPC,  [depcc="$UPC"  am_compiler_list=],
155
339
       [$1], GCJ,  [depcc="$GCJ"  am_compiler_list='gcc3 gcc'],
156
340
                   [depcc="$$1"   am_compiler_list=])
157
341
 
217
401
       depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
218
402
       $SHELL ./depcomp $depcc -c -o sub/conftest.${OBJEXT-o} sub/conftest.c \
219
403
         >/dev/null 2>conftest.err &&
 
404
       grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
220
405
       grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
221
406
       grep sub/conftest.${OBJEXT-o} sub/conftest.Po > /dev/null 2>&1 &&
222
407
       ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
269
454
  AMDEPBACKSLASH='\'
270
455
fi
271
456
AM_CONDITIONAL([AMDEP], [test "x$enable_dependency_tracking" != xno])
272
 
AC_SUBST([AMDEPBACKSLASH])
 
457
AC_SUBST([AMDEPBACKSLASH])dnl
 
458
_AM_SUBST_NOTMAKE([AMDEPBACKSLASH])dnl
273
459
])
274
460
 
275
461
# Generate code to set up dependency tracking.              -*- Autoconf -*-
294
480
  # some people rename them; so instead we look at the file content.
295
481
  # Grep'ing the first line is not enough: some people post-process
296
482
  # each Makefile.in and add a new line on top of each file to say so.
297
 
  # So let's grep whole file.
298
 
  if grep '^#.*generated by automake' $mf > /dev/null 2>&1; then
 
483
  # Grep'ing the whole file is not good either: AIX grep has a line
 
484
  # limit of 2048, but all sed's we know have understand at least 4000.
 
485
  if sed 10q "$mf" | grep '^#.*generated by automake' > /dev/null 2>&1; then
299
486
    dirpart=`AS_DIRNAME("$mf")`
300
487
  else
301
488
    continue
354
541
 
355
542
# Do all the work for Automake.                             -*- Autoconf -*-
356
543
 
357
 
# Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004, 2005
358
 
# Free Software Foundation, Inc.
 
544
# Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004,
 
545
# 2005, 2006 Free Software Foundation, Inc.
359
546
#
360
547
# This file is free software; the Free Software Foundation
361
548
# gives unlimited permission to copy and/or distribute it,
378
565
# arguments mandatory, and then we can depend on a new Autoconf
379
566
# release and drop the old call support.
380
567
AC_DEFUN([AM_INIT_AUTOMAKE],
381
 
[AC_PREREQ([2.58])dnl
 
568
[AC_PREREQ([2.60])dnl
382
569
dnl Autoconf wants to disallow AM_ names.  We explicitly allow
383
570
dnl the ones we care about.
384
571
m4_pattern_allow([^AM_[A-Z]+FLAGS$])dnl
385
572
AC_REQUIRE([AM_SET_CURRENT_AUTOMAKE_VERSION])dnl
386
573
AC_REQUIRE([AC_PROG_INSTALL])dnl
387
 
# test to see if srcdir already configured
388
 
if test "`cd $srcdir && pwd`" != "`pwd`" &&
389
 
   test -f $srcdir/config.status; then
390
 
  AC_MSG_ERROR([source directory already configured; run "make distclean" there first])
 
574
if test "`cd $srcdir && pwd`" != "`pwd`"; then
 
575
  # Use -I$(srcdir) only when $(srcdir) != ., so that make's output
 
576
  # is not polluted with repeated "-I."
 
577
  AC_SUBST([am__isrc], [' -I$(srcdir)'])_AM_SUBST_NOTMAKE([am__isrc])dnl
 
578
  # test to see if srcdir already configured
 
579
  if test -f $srcdir/config.status; then
 
580
    AC_MSG_ERROR([source directory already configured; run "make distclean" there first])
 
581
  fi
391
582
fi
392
583
 
393
584
# test whether we have cygpath
407
598
 AC_SUBST([PACKAGE], [$1])dnl
408
599
 AC_SUBST([VERSION], [$2])],
409
600
[_AM_SET_OPTIONS([$1])dnl
 
601
dnl Diagnose old-style AC_INIT with new-style AM_AUTOMAKE_INIT.
 
602
m4_if(m4_ifdef([AC_PACKAGE_NAME], 1)m4_ifdef([AC_PACKAGE_VERSION], 1), 11,,
 
603
  [m4_fatal([AC_INIT should be called with package and version arguments])])dnl
410
604
 AC_SUBST([PACKAGE], ['AC_PACKAGE_TARNAME'])dnl
411
605
 AC_SUBST([VERSION], ['AC_PACKAGE_VERSION'])])dnl
412
606
 
442
636
                  [_AM_DEPENDENCIES(CXX)],
443
637
                  [define([AC_PROG_CXX],
444
638
                          defn([AC_PROG_CXX])[_AM_DEPENDENCIES(CXX)])])dnl
 
639
AC_PROVIDE_IFELSE([AC_PROG_OBJC],
 
640
                  [_AM_DEPENDENCIES(OBJC)],
 
641
                  [define([AC_PROG_OBJC],
 
642
                          defn([AC_PROG_OBJC])[_AM_DEPENDENCIES(OBJC)])])dnl
445
643
])
446
644
])
447
645
 
477
675
# Define $install_sh.
478
676
AC_DEFUN([AM_PROG_INSTALL_SH],
479
677
[AC_REQUIRE([AM_AUX_DIR_EXPAND])dnl
480
 
install_sh=${install_sh-"$am_aux_dir/install-sh"}
 
678
install_sh=${install_sh-"\$(SHELL) $am_aux_dir/install-sh"}
481
679
AC_SUBST(install_sh)])
482
680
 
483
681
# Copyright (C) 2003, 2005  Free Software Foundation, Inc.
582
780
rm -f confinc confmf
583
781
])
584
782
 
 
783
# Copyright (C) 1999, 2000, 2001, 2003, 2004, 2005
 
784
# Free Software Foundation, Inc.
 
785
#
 
786
# This file is free software; the Free Software Foundation
 
787
# gives unlimited permission to copy and/or distribute it,
 
788
# with or without modifications, as long as this notice is preserved.
 
789
 
 
790
# serial 5
 
791
 
 
792
# AM_PROG_CC_C_O
 
793
# --------------
 
794
# Like AC_PROG_CC_C_O, but changed for automake.
 
795
AC_DEFUN([AM_PROG_CC_C_O],
 
796
[AC_REQUIRE([AC_PROG_CC_C_O])dnl
 
797
AC_REQUIRE([AM_AUX_DIR_EXPAND])dnl
 
798
AC_REQUIRE_AUX_FILE([compile])dnl
 
799
# FIXME: we rely on the cache variable name because
 
800
# there is no other way.
 
801
set dummy $CC
 
802
ac_cc=`echo $[2] | sed ['s/[^a-zA-Z0-9_]/_/g;s/^[0-9]/_/']`
 
803
if eval "test \"`echo '$ac_cv_prog_cc_'${ac_cc}_c_o`\" != yes"; then
 
804
   # Losing compiler, so override with the script.
 
805
   # FIXME: It is wrong to rewrite CC.
 
806
   # But if we don't then we get into trouble of one sort or another.
 
807
   # A longer-term fix would be to have automake use am__CC in this case,
 
808
   # and then we could set am__CC="\$(top_srcdir)/compile \$(CC)"
 
809
   CC="$am_aux_dir/compile $CC"
 
810
fi
 
811
dnl Make sure AC_PROG_CC is never called again, or it will override our
 
812
dnl setting of CC.
 
813
m4_define([AC_PROG_CC],
 
814
          [m4_fatal([AC_PROG_CC cannot be called after AM_PROG_CC_C_O])])
 
815
])
 
816
 
585
817
# Fake the existence of programs that GNU maintainers use.  -*- Autoconf -*-
586
818
 
587
 
# Copyright (C) 1997, 1999, 2000, 2001, 2003, 2005
 
819
# Copyright (C) 1997, 1999, 2000, 2001, 2003, 2004, 2005
588
820
# Free Software Foundation, Inc.
589
821
#
590
822
# This file is free software; the Free Software Foundation
591
823
# gives unlimited permission to copy and/or distribute it,
592
824
# with or without modifications, as long as this notice is preserved.
593
825
 
594
 
# serial 4
 
826
# serial 5
595
827
 
596
828
# AM_MISSING_PROG(NAME, PROGRAM)
597
829
# ------------------------------
607
839
# If it does, set am_missing_run to use it, otherwise, to nothing.
608
840
AC_DEFUN([AM_MISSING_HAS_RUN],
609
841
[AC_REQUIRE([AM_AUX_DIR_EXPAND])dnl
 
842
AC_REQUIRE_AUX_FILE([missing])dnl
610
843
test x"${MISSING+set}" = xset || MISSING="\${SHELL} $am_aux_dir/missing"
611
844
# Use eval to expand $SHELL
612
845
if eval "$MISSING --run true"; then
617
850
fi
618
851
])
619
852
 
620
 
# Copyright (C) 2003, 2004, 2005  Free Software Foundation, Inc.
 
853
# Copyright (C) 2003, 2004, 2005, 2006  Free Software Foundation, Inc.
621
854
#
622
855
# This file is free software; the Free Software Foundation
623
856
# gives unlimited permission to copy and/or distribute it,
625
858
 
626
859
# AM_PROG_MKDIR_P
627
860
# ---------------
628
 
# Check whether `mkdir -p' is supported, fallback to mkinstalldirs otherwise.
629
 
#
630
 
# Automake 1.8 used `mkdir -m 0755 -p --' to ensure that directories
631
 
# created by `make install' are always world readable, even if the
632
 
# installer happens to have an overly restrictive umask (e.g. 077).
633
 
# This was a mistake.  There are at least two reasons why we must not
634
 
# use `-m 0755':
635
 
#   - it causes special bits like SGID to be ignored,
636
 
#   - it may be too restrictive (some setups expect 775 directories).
637
 
#
638
 
# Do not use -m 0755 and let people choose whatever they expect by
639
 
# setting umask.
640
 
#
641
 
# We cannot accept any implementation of `mkdir' that recognizes `-p'.
642
 
# Some implementations (such as Solaris 8's) are not thread-safe: if a
643
 
# parallel make tries to run `mkdir -p a/b' and `mkdir -p a/c'
644
 
# concurrently, both version can detect that a/ is missing, but only
645
 
# one can create it and the other will error out.  Consequently we
646
 
# restrict ourselves to GNU make (using the --version option ensures
647
 
# this.)
 
861
# Check for `mkdir -p'.
648
862
AC_DEFUN([AM_PROG_MKDIR_P],
649
 
[if mkdir -p --version . >/dev/null 2>&1 && test ! -d ./--version; then
650
 
  # We used to keeping the `.' as first argument, in order to
651
 
  # allow $(mkdir_p) to be used without argument.  As in
652
 
  #   $(mkdir_p) $(somedir)
653
 
  # where $(somedir) is conditionally defined.  However this is wrong
654
 
  # for two reasons:
655
 
  #  1. if the package is installed by a user who cannot write `.'
656
 
  #     make install will fail,
657
 
  #  2. the above comment should most certainly read
658
 
  #     $(mkdir_p) $(DESTDIR)$(somedir)
659
 
  #     so it does not work when $(somedir) is undefined and
660
 
  #     $(DESTDIR) is not.
661
 
  #  To support the latter case, we have to write
662
 
  #     test -z "$(somedir)" || $(mkdir_p) $(DESTDIR)$(somedir),
663
 
  #  so the `.' trick is pointless.
664
 
  mkdir_p='mkdir -p --'
665
 
else
666
 
  # On NextStep and OpenStep, the `mkdir' command does not
667
 
  # recognize any option.  It will interpret all options as
668
 
  # directories to create, and then abort because `.' already
669
 
  # exists.
670
 
  for d in ./-p ./--version;
671
 
  do
672
 
    test -d $d && rmdir $d
673
 
  done
674
 
  # $(mkinstalldirs) is defined by Automake if mkinstalldirs exists.
675
 
  if test -f "$ac_aux_dir/mkinstalldirs"; then
676
 
    mkdir_p='$(mkinstalldirs)'
677
 
  else
678
 
    mkdir_p='$(install_sh) -d'
679
 
  fi
680
 
fi
681
 
AC_SUBST([mkdir_p])])
 
863
[AC_PREREQ([2.60])dnl
 
864
AC_REQUIRE([AC_PROG_MKDIR_P])dnl
 
865
dnl Automake 1.8 to 1.9.6 used to define mkdir_p.  We now use MKDIR_P,
 
866
dnl while keeping a definition of mkdir_p for backward compatibility.
 
867
dnl @MKDIR_P@ is magic: AC_OUTPUT adjusts its value for each Makefile.
 
868
dnl However we cannot define mkdir_p as $(MKDIR_P) for the sake of
 
869
dnl Makefile.ins that do not define MKDIR_P, so we do our own
 
870
dnl adjustment using top_builddir (which is defined more often than
 
871
dnl MKDIR_P).
 
872
AC_SUBST([mkdir_p], ["$MKDIR_P"])dnl
 
873
case $mkdir_p in
 
874
  [[\\/$]]* | ?:[[\\/]]*) ;;
 
875
  */*) mkdir_p="\$(top_builddir)/$mkdir_p" ;;
 
876
esac
 
877
])
682
878
 
683
879
# Helper functions for option handling.                     -*- Autoconf -*-
684
880
 
790
986
if test "$cross_compiling" != no; then
791
987
  AC_CHECK_TOOL([STRIP], [strip], :)
792
988
fi
793
 
INSTALL_STRIP_PROGRAM="\${SHELL} \$(install_sh) -c -s"
 
989
INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s"
794
990
AC_SUBST([INSTALL_STRIP_PROGRAM])])
795
991
 
 
992
# Copyright (C) 2006  Free Software Foundation, Inc.
 
993
#
 
994
# This file is free software; the Free Software Foundation
 
995
# gives unlimited permission to copy and/or distribute it,
 
996
# with or without modifications, as long as this notice is preserved.
 
997
 
 
998
# _AM_SUBST_NOTMAKE(VARIABLE)
 
999
# ---------------------------
 
1000
# Prevent Automake from outputing VARIABLE = @VARIABLE@ in Makefile.in.
 
1001
# This macro is traced by Automake.
 
1002
AC_DEFUN([_AM_SUBST_NOTMAKE])
 
1003
 
796
1004
# Check how to create a tarball.                            -*- Autoconf -*-
797
1005
 
798
1006
# Copyright (C) 2004, 2005  Free Software Foundation, Inc.
889
1097
AC_SUBST([am__untar])
890
1098
]) # _AM_PROG_TAR
891
1099
 
 
1100
m4_include([gl/m4/absolute-header.m4])
892
1101
m4_include([gl/m4/alloca.m4])
893
1102
m4_include([gl/m4/allocsa.m4])
894
1103
m4_include([gl/m4/eealloc.m4])
895
 
m4_include([gl/m4/eoverflow.m4])
896
1104
m4_include([gl/m4/gnulib-comp.m4])
897
1105
m4_include([gl/m4/gnulib-tool.m4])
898
 
m4_include([gl/m4/intmax_t.m4])
899
 
m4_include([gl/m4/inttypes_h.m4])
900
 
m4_include([gl/m4/longlong.m4])
901
1106
m4_include([gl/m4/mkdtemp.m4])
902
 
m4_include([gl/m4/onceonly_2_57.m4])
903
1107
m4_include([gl/m4/setenv.m4])
904
 
m4_include([gl/m4/stdint_h.m4])
 
1108
m4_include([gl/m4/stdint.m4])
905
1109
m4_include([gl/m4/strpbrk.m4])
906
 
m4_include([gl/m4/strsep.m4])
907
 
m4_include([gl/m4/uintmax_t.m4])
908
 
m4_include([gl/m4/ulonglong.m4])
909
 
m4_include([gl/m4/vasnprintf.m4])
910
 
m4_include([gl/m4/vasprintf.m4])
 
1110
m4_include([gl/m4/unistd_h.m4])
 
1111
m4_include([m4/autobuild.m4])
911
1112
m4_include([m4/codeset.m4])
 
1113
m4_include([m4/estream.m4])
912
1114
m4_include([m4/gettext.m4])
913
 
m4_include([m4/glibc21.m4])
 
1115
m4_include([m4/gnupg-pth.m4])
914
1116
m4_include([m4/gpg-error.m4])
915
1117
m4_include([m4/iconv.m4])
916
 
m4_include([m4/intdiv0.m4])
917
 
m4_include([m4/intmax.m4])
918
 
m4_include([m4/inttypes-pri.m4])
919
 
m4_include([m4/inttypes.m4])
920
 
m4_include([m4/inttypes_h.m4])
 
1118
m4_include([m4/isc-posix.m4])
921
1119
m4_include([m4/ksba.m4])
922
1120
m4_include([m4/lcmessage.m4])
 
1121
m4_include([m4/ldap.m4])
923
1122
m4_include([m4/lib-ld.m4])
924
1123
m4_include([m4/lib-link.m4])
925
1124
m4_include([m4/lib-prefix.m4])
926
1125
m4_include([m4/libassuan.m4])
 
1126
m4_include([m4/libcurl.m4])
927
1127
m4_include([m4/libgcrypt.m4])
928
1128
m4_include([m4/longdouble.m4])
929
 
m4_include([m4/longlong.m4])
930
1129
m4_include([m4/nls.m4])
931
1130
m4_include([m4/po.m4])
932
 
m4_include([m4/printf-posix.m4])
933
1131
m4_include([m4/progtest.m4])
934
 
m4_include([m4/signed.m4])
 
1132
m4_include([m4/readline.m4])
935
1133
m4_include([m4/size_max.m4])
936
 
m4_include([m4/stdint_h.m4])
937
 
m4_include([m4/uintmax_t.m4])
938
 
m4_include([m4/ulonglong.m4])
939
 
m4_include([m4/wchar_t.m4])
940
 
m4_include([m4/wint_t.m4])
 
1134
m4_include([m4/tar-ustar.m4])
941
1135
m4_include([m4/xsize.m4])
942
1136
m4_include([acinclude.m4])