~ubuntu-branches/ubuntu/precise/wget/precise-proposed

« back to all changes in this revision

Viewing changes to aclocal.m4

  • Committer: Bazaar Package Importer
  • Author(s): Steve Langasek
  • Date: 2011-10-19 00:00:09 UTC
  • mfrom: (2.1.13 sid)
  • Revision ID: james.westby@ubuntu.com-20111019000009-8p33w3wz4b1rdri0
Tags: 1.13-1ubuntu1
* Merge from Debian unstable, remaining changes:
  - Add wget-udeb to ship wget.gnu as alternative to busybox wget
    implementation.
  - Depend on libssl-dev 0.9.8k-7ubuntu4 (LP: #503339)
* Dropped changes, superseded in Debian:
  - Keep build dependencies in main:
    + debian/control: remove info2man build-dep
    + debian/patches/series: disable wget-infopod_generated_manpage
  - Mark wget Multi-Arch: foreign, so packages that aren't of the same arch
    can depend on it.
* Pass --with-ssl=openssl; we don't want to use gnutls, there's no udeb for
  it.
* Add a second build pass for the udeb, so we can build without libidn.

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
 
# generated automatically by aclocal 1.10.2 -*- Autoconf -*-
 
1
# generated automatically by aclocal 1.11.1 -*- Autoconf -*-
2
2
 
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.
13
13
 
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'.])])
21
21
 
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.
27
 
dnl
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
31
 
dnl functionality.
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.
36
 
 
37
 
dnl Checks for special options needed on MacOS X.
38
 
dnl Defines INTL_MACOSX_LIBS.
39
 
AC_DEFUN([gt_INTL_MACOSX],
40
 
[
41
 
  dnl Check for API introduced in MacOS X 10.2.
42
 
  AC_CACHE_CHECK([for CFPreferencesCopyAppValue],
43
 
    gt_cv_func_CFPreferencesCopyAppValue,
44
 
    [gt_save_LIBS="$LIBS"
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.])
54
 
  fi
55
 
  dnl Check for API introduced in MacOS X 10.3.
56
 
  AC_CACHE_CHECK([for CFLocaleCopyCurrent], gt_cv_func_CFLocaleCopyCurrent,
57
 
    [gt_save_LIBS="$LIBS"
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.])
66
 
  fi
67
 
  INTL_MACOSX_LIBS=
68
 
  if test $gt_cv_func_CFPreferencesCopyAppValue = yes || test $gt_cv_func_CFLocaleCopyCurrent = yes; then
69
 
    INTL_MACOSX_LIBS="-Wl,-framework -Wl,CoreFoundation"
70
 
  fi
71
 
  AC_SUBST([INTL_MACOSX_LIBS])
72
 
])
73
 
 
74
22
# Copyright (C) 2002, 2003, 2005, 2006, 2007, 2008  Free Software Foundation, Inc.
75
23
#
76
24
# This file is free software; the Free Software Foundation
83
31
# generated from the m4 files accompanying Automake X.Y.
84
32
# (This private macro should not be called outside this file.)
85
33
AC_DEFUN([AM_AUTOMAKE_VERSION],
86
 
[am__api_version='1.10'
 
34
[am__api_version='1.11'
87
35
dnl Some users find AM_AUTOMAKE_VERSION and mistake it for a way to
88
36
dnl require some minimum version.  Point them to the right macro.
89
 
m4_if([$1], [1.10.2], [],
 
37
m4_if([$1], [1.11.1], [],
90
38
      [AC_FATAL([Do not call $0, use AM_INIT_AUTOMAKE([$1]).])])dnl
91
39
])
92
40
 
102
50
# Call AM_AUTOMAKE_VERSION and AM_AUTOMAKE_VERSION so they can be traced.
103
51
# This function is AC_REQUIREd by AM_INIT_AUTOMAKE.
104
52
AC_DEFUN([AM_SET_CURRENT_AUTOMAKE_VERSION],
105
 
[AM_AUTOMAKE_VERSION([1.10.2])dnl
 
53
[AM_AUTOMAKE_VERSION([1.11.1])dnl
106
54
m4_ifndef([AC_AUTOCONF_VERSION],
107
55
  [m4_copy([m4_PACKAGE_VERSION], [AC_AUTOCONF_VERSION])])dnl
108
56
_AM_AUTOCONF_VERSION(m4_defn([AC_AUTOCONF_VERSION]))])
162
110
 
163
111
# AM_CONDITIONAL                                            -*- Autoconf -*-
164
112
 
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.
167
115
#
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.
171
119
 
172
 
# serial 8
 
120
# serial 9
173
121
 
174
122
# AM_CONDITIONAL(NAME, SHELL-CONDITION)
175
123
# -------------------------------------
182
130
AC_SUBST([$1_FALSE])dnl
183
131
_AM_SUBST_NOTMAKE([$1_TRUE])dnl
184
132
_AM_SUBST_NOTMAKE([$1_FALSE])dnl
 
133
m4_define([_AM_COND_VALUE_$1], [$2])dnl
185
134
if $2; then
186
135
  $1_TRUE=
187
136
  $1_FALSE='#'
195
144
Usually this means the macro was only invoked conditionally.]])
196
145
fi])])
197
146
 
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.
200
149
#
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.
204
153
 
205
 
# serial 9
 
154
# serial 10
206
155
 
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,
259
208
  if test "$am_compiler_list" = ""; then
260
209
     am_compiler_list=`sed -n ['s/^#*\([a-zA-Z0-9]*\))$/\1/p'] < ./depcomp`
261
210
  fi
 
211
  am__universal=false
 
212
  m4_case([$1], [CC],
 
213
    [case " $depcc " in #(
 
214
     *\ -arch\ *\ -arch\ *) am__universal=true ;;
 
215
     esac],
 
216
    [CXX],
 
217
    [case " $depcc " in #(
 
218
     *\ -arch\ *\ -arch\ *) am__universal=true ;;
 
219
     esac])
 
220
 
262
221
  for depmode in $am_compiler_list; do
263
222
    # Setup a source with many dependencies, because some compilers
264
223
    # like to wrap large dependency lists on column 80 (with \), and
276
235
    done
277
236
    echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
278
237
 
 
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"
279
244
    case $depmode in
 
245
    gcc)
 
246
      # This depmode causes a compiler race in universal mode.
 
247
      test "$am__universal" = false || continue
 
248
      ;;
280
249
    nosideeffect)
281
250
      # after this tag, mechanisms are not by side-effect, so they'll
282
251
      # only be used when explicitly requested
286
255
        break
287
256
      fi
288
257
      ;;
 
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}
 
263
      am__minus_obj=
 
264
      ;;
289
265
    none) break ;;
290
266
    esac
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 -*-
437
410
 
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.
440
413
#
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.
444
417
 
445
 
# serial 13
 
418
# serial 16
446
419
 
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.
459
432
# arguments mandatory, and then we can depend on a new Autoconf
460
433
# release and drop the old call support.
461
434
AC_DEFUN([AM_INIT_AUTOMAKE],
462
 
[AC_PREREQ([2.60])dnl
 
435
[AC_PREREQ([2.62])dnl
463
436
dnl Autoconf wants to disallow AM_ names.  We explicitly allow
464
437
dnl the ones we care about.
465
438
m4_pattern_allow([^AM_[A-Z]+FLAGS$])dnl
510
483
AM_MISSING_PROG(AUTOMAKE, automake-${am__api_version})
511
484
AM_MISSING_PROG(AUTOHEADER, autoheader)
512
485
AM_MISSING_PROG(MAKEINFO, makeinfo)
513
 
AM_PROG_INSTALL_SH
514
 
AM_PROG_INSTALL_STRIP
 
486
AC_REQUIRE([AM_PROG_INSTALL_SH])dnl
 
487
AC_REQUIRE([AM_PROG_INSTALL_STRIP])dnl
515
488
AC_REQUIRE([AM_PROG_MKDIR_P])dnl
516
489
# We need awk for the "check" target.  The system "awk" is bad on
517
490
# some platforms.
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
537
 
])
538
 
])
 
507
                  [_AM_DEPENDENCIES(OBJC)],
 
508
                  [define([AC_PROG_OBJC],
 
509
                          defn([AC_PROG_OBJC])[_AM_DEPENDENCIES(OBJC)])])dnl
 
510
])
 
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
 
518
])
 
519
 
 
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])])
539
525
 
540
526
 
541
527
# When config.status generates a header, we must update the stamp-h file.
559
545
done
560
546
echo "timestamp for $_am_arg" >`AS_DIRNAME(["$_am_arg"])`/stamp-h[]$_am_stamp_count])
561
547
 
562
 
# Copyright (C) 2001, 2003, 2005  Free Software Foundation, Inc.
 
548
# Copyright (C) 2001, 2003, 2005, 2008  Free Software Foundation, Inc.
563
549
#
564
550
# This file is free software; the Free Software Foundation
565
551
# gives unlimited permission to copy and/or distribute it,
570
556
# Define $install_sh.
571
557
AC_DEFUN([AM_PROG_INSTALL_SH],
572
558
[AC_REQUIRE([AM_AUX_DIR_EXPAND])dnl
573
 
install_sh=${install_sh-"\$(SHELL) $am_aux_dir/install-sh"}
 
559
if test x"${install_sh}" != xset; then
 
560
  case $am_aux_dir in
 
561
  *\ * | *\     *)
 
562
    install_sh="\${SHELL} '$am_aux_dir/install-sh'" ;;
 
563
  *)
 
564
    install_sh="\${SHELL} $am_aux_dir/install-sh"
 
565
  esac
 
566
fi
574
567
AC_SUBST(install_sh)])
575
568
 
576
569
# Copyright (C) 2003, 2005  Free Software Foundation, Inc.
596
589
 
597
590
# Check to see how 'make' treats includes.                  -*- Autoconf -*-
598
591
 
599
 
# Copyright (C) 2001, 2002, 2003, 2005  Free Software Foundation, Inc.
 
592
# Copyright (C) 2001, 2002, 2003, 2005, 2009  Free Software Foundation, Inc.
600
593
#
601
594
# This file is free software; the Free Software Foundation
602
595
# gives unlimited permission to copy and/or distribute it,
603
596
# with or without modifications, as long as this notice is preserved.
604
597
 
605
 
# serial 3
 
598
# serial 4
606
599
 
607
600
# AM_MAKE_INCLUDE()
608
601
# -----------------
611
604
[am_make=${MAKE-make}
612
605
cat > confinc << 'END'
613
606
am__doit:
614
 
        @echo done
 
607
        @echo this is the am__doit target
615
608
.PHONY: am__doit
616
609
END
617
610
# If we don't find an include directive, just comment out the code.
621
614
_am_result=none
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
630
 
   am__include=include
631
 
   am__quote=
632
 
   _am_result=GNU
633
 
fi
 
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*)
 
620
  am__include=include
 
621
  am__quote=
 
622
  _am_result=GNU
 
623
  ;;
 
624
esac
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
638
 
      am__include=.include
639
 
      am__quote="\""
640
 
      _am_result=BSD
641
 
   fi
 
628
   case `$am_make -s -f confmf 2> /dev/null` in #(
 
629
   *the\ am__doit\ target*)
 
630
     am__include=.include
 
631
     am__quote="\""
 
632
     _am_result=BSD
 
633
     ;;
 
634
   esac
642
635
fi
643
636
AC_SUBST([am__include])
644
637
AC_SUBST([am__quote])
683
676
 
684
677
# Fake the existence of programs that GNU maintainers use.  -*- Autoconf -*-
685
678
 
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.
688
681
#
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.
692
685
 
693
 
# serial 5
 
686
# serial 6
694
687
 
695
688
# AM_MISSING_PROG(NAME, PROGRAM)
696
689
# ------------------------------
707
700
AC_DEFUN([AM_MISSING_HAS_RUN],
708
701
[AC_REQUIRE([AM_AUX_DIR_EXPAND])dnl
709
702
AC_REQUIRE_AUX_FILE([missing])dnl
710
 
test x"${MISSING+set}" = xset || MISSING="\${SHELL} $am_aux_dir/missing"
 
703
if test x"${MISSING+set}" != xset; then
 
704
  case $am_aux_dir in
 
705
  *\ * | *\     *)
 
706
    MISSING="\${SHELL} \"$am_aux_dir/missing\"" ;;
 
707
  *)
 
708
    MISSING="\${SHELL} $am_aux_dir/missing" ;;
 
709
  esac
 
710
fi
711
711
# Use eval to expand $SHELL
712
712
if eval "$MISSING --run true"; then
713
713
  am_missing_run="$MISSING --run "
778
778
 
779
779
# Check to make sure that the build environment is sane.    -*- Autoconf -*-
780
780
 
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.
783
783
#
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.
787
787
 
788
 
# serial 4
 
788
# serial 5
789
789
 
790
790
# AM_SANITY_CHECK
791
791
# ---------------
794
794
# Just in case
795
795
sleep 1
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.
 
799
am_lf='
 
800
'
 
801
case `pwd` in
 
802
  *[[\\\"\#\$\&\'\`$am_lf]]*)
 
803
    AC_MSG_ERROR([unsafe absolute working directory name]);;
 
804
esac
 
805
case $srcdir in
 
806
  *[[\\\"\#\$\&\'\`$am_lf\ \    ]]*)
 
807
    AC_MSG_ERROR([unsafe srcdir value: `$srcdir']);;
 
808
esac
 
809
 
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
801
814
# directory).
802
815
if (
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`
807
820
   fi
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])])
858
871
 
859
 
# Copyright (C) 2006  Free Software Foundation, Inc.
 
872
# Copyright (C) 2006, 2008  Free Software Foundation, Inc.
860
873
#
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.
864
877
 
 
878
# serial 2
 
879
 
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])
870
885
 
 
886
# AM_SUBST_NOTMAKE(VARIABLE)
 
887
# ---------------------------
 
888
# Public sister of _AM_SUBST_NOTMAKE.
 
889
AC_DEFUN([AM_SUBST_NOTMAKE], [_AM_SUBST_NOTMAKE($@)])
 
890
 
871
891
# Check how to create a tarball.                            -*- Autoconf -*-
872
892
 
873
893
# Copyright (C) 2004, 2005  Free Software Foundation, Inc.
964
984
AC_SUBST([am__untar])
965
985
]) # _AM_PROG_TAR
966
986
 
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])