~ubuntu-dev/ubuntu/lucid/mutt/lucid-201002110857

« back to all changes in this revision

Viewing changes to aclocal.m4

  • Committer: Bazaar Package Importer
  • Author(s): أحمد المحمودي (Ahmed El-Mahmoudy)
  • Date: 2009-06-17 17:17:28 UTC
  • mfrom: (1.3.1 upstream)
  • mto: This revision was merged to the branch mainline in revision 22.
  • Revision ID: james.westby@ubuntu.com-20090617171728-61dkl7w5fgn7ybdq
Tags: upstream-1.5.20
Import upstream version 1.5.20

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
 
# generated automatically by aclocal 1.10.1 -*- Autoconf -*-
 
1
# generated automatically by aclocal 1.11 -*- 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(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'.])])
21
21
 
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.
 
27
 
 
28
# This file is not needed with autoconf-2.53 and newer.  Remove it in 2005.
 
29
 
 
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
 
37
 
 
38
undefine([AC_ISC_POSIX])
 
39
 
 
40
AC_DEFUN([AC_ISC_POSIX],
 
41
  [
 
42
    dnl This test replaces the obsolescent AC_ISC_POSIX kludge.
 
43
    AC_CHECK_LIB(cposix, strerror, [LIBS="$LIBS -lcposix"])
 
44
  ]
 
45
)
 
46
 
 
47
# Copyright (C) 2002, 2003, 2005, 2006, 2007, 2008  Free Software Foundation, Inc.
23
48
#
24
49
# This file is free software; the Free Software Foundation
25
50
# gives unlimited permission to copy and/or distribute it,
31
56
# generated from the m4 files accompanying Automake X.Y.
32
57
# (This private macro should not be called outside this file.)
33
58
AC_DEFUN([AM_AUTOMAKE_VERSION],
34
 
[am__api_version='1.10'
 
59
[am__api_version='1.11'
35
60
dnl Some users find AM_AUTOMAKE_VERSION and mistake it for a way to
36
61
dnl require some minimum version.  Point them to the right macro.
37
 
m4_if([$1], [1.10.1], [],
 
62
m4_if([$1], [1.11], [],
38
63
      [AC_FATAL([Do not call $0, use AM_INIT_AUTOMAKE([$1]).])])dnl
39
64
])
40
65
 
48
73
# AM_SET_CURRENT_AUTOMAKE_VERSION
49
74
# -------------------------------
50
75
# Call AM_AUTOMAKE_VERSION and AM_AUTOMAKE_VERSION so they can be traced.
51
 
# This function is AC_REQUIREd by AC_INIT_AUTOMAKE.
 
76
# This function is AC_REQUIREd by AM_INIT_AUTOMAKE.
52
77
AC_DEFUN([AM_SET_CURRENT_AUTOMAKE_VERSION],
53
 
[AM_AUTOMAKE_VERSION([1.10.1])dnl
 
78
[AM_AUTOMAKE_VERSION([1.11])dnl
54
79
m4_ifndef([AC_AUTOCONF_VERSION],
55
80
  [m4_copy([m4_PACKAGE_VERSION], [AC_AUTOCONF_VERSION])])dnl
56
 
_AM_AUTOCONF_VERSION(AC_AUTOCONF_VERSION)])
 
81
_AM_AUTOCONF_VERSION(m4_defn([AC_AUTOCONF_VERSION]))])
57
82
 
58
83
# AM_AUX_DIR_EXPAND                                         -*- Autoconf -*-
59
84
 
110
135
 
111
136
# AM_CONDITIONAL                                            -*- Autoconf -*-
112
137
 
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.
115
140
#
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.
119
144
 
120
 
# serial 8
 
145
# serial 9
121
146
 
122
147
# AM_CONDITIONAL(NAME, SHELL-CONDITION)
123
148
# -------------------------------------
130
155
AC_SUBST([$1_FALSE])dnl
131
156
_AM_SUBST_NOTMAKE([$1_TRUE])dnl
132
157
_AM_SUBST_NOTMAKE([$1_FALSE])dnl
 
158
m4_define([_AM_COND_VALUE_$1], [$2])dnl
133
159
if $2; then
134
160
  $1_TRUE=
135
161
  $1_FALSE='#'
143
169
Usually this means the macro was only invoked conditionally.]])
144
170
fi])])
145
171
 
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.
148
174
#
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.
152
178
 
153
 
# serial 9
 
179
# serial 10
154
180
 
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,
207
233
  if test "$am_compiler_list" = ""; then
208
234
     am_compiler_list=`sed -n ['s/^#*\([a-zA-Z0-9]*\))$/\1/p'] < ./depcomp`
209
235
  fi
 
236
  am__universal=false
 
237
  m4_case([$1], [CC],
 
238
    [case " $depcc " in #(
 
239
     *\ -arch\ *\ -arch\ *) am__universal=true ;;
 
240
     esac],
 
241
    [CXX],
 
242
    [case " $depcc " in #(
 
243
     *\ -arch\ *\ -arch\ *) am__universal=true ;;
 
244
     esac])
 
245
 
210
246
  for depmode in $am_compiler_list; do
211
247
    # Setup a source with many dependencies, because some compilers
212
248
    # like to wrap large dependency lists on column 80 (with \), and
224
260
    done
225
261
    echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
226
262
 
 
263
    # We check with `-c' and `-o' for the sake of the "dashmstdout"
 
264
    # mode.  It turns out that the SunPro C++ compiler does not properly
 
265
    # handle `-M -o', and we need to detect this.  Also, some Intel
 
266
    # versions had trouble with output in subdirs
 
267
    am__obj=sub/conftest.${OBJEXT-o}
 
268
    am__minus_obj="-o $am__obj"
227
269
    case $depmode in
 
270
    gcc)
 
271
      # This depmode causes a compiler race in universal mode.
 
272
      test "$am__universal" = false || continue
 
273
      ;;
228
274
    nosideeffect)
229
275
      # after this tag, mechanisms are not by side-effect, so they'll
230
276
      # only be used when explicitly requested
234
280
        break
235
281
      fi
236
282
      ;;
 
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}
 
288
      am__minus_obj=
 
289
      ;;
237
290
    none) break ;;
238
291
    esac
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
303
353
 
304
354
# Generate code to set up dependency tracking.              -*- Autoconf -*-
305
355
 
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.
308
358
#
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.
312
362
 
313
 
#serial 3
 
363
#serial 5
314
364
 
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")`
330
 
  else
331
 
    continue
332
 
  fi
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
345
 
  # expansion.
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"
 
368
[{
 
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 ;;
 
375
  esac
 
376
  shift
 
377
  for mf
 
378
  do
 
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")`
 
390
    else
 
391
      continue
 
392
    fi
 
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
 
405
    # expansion.
 
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"
 
415
    done
355
416
  done
356
 
done
 
417
}
357
418
])# _AM_OUTPUT_DEPENDENCY_COMMANDS
358
419
 
359
420
 
385
446
# Do all the work for Automake.                             -*- Autoconf -*-
386
447
 
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.
389
450
#
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.
393
454
 
394
 
# serial 13
 
455
# serial 16
395
456
 
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.
408
469
# arguments mandatory, and then we can depend on a new Autoconf
409
470
# release and drop the old call support.
410
471
AC_DEFUN([AM_INIT_AUTOMAKE],
411
 
[AC_PREREQ([2.60])dnl
 
472
[AC_PREREQ([2.62])dnl
412
473
dnl Autoconf wants to disallow AM_ names.  We explicitly allow
413
474
dnl the ones we care about.
414
475
m4_pattern_allow([^AM_[A-Z]+FLAGS$])dnl
459
520
AM_MISSING_PROG(AUTOMAKE, automake-${am__api_version})
460
521
AM_MISSING_PROG(AUTOHEADER, autoheader)
461
522
AM_MISSING_PROG(MAKEINFO, makeinfo)
462
 
AM_PROG_INSTALL_SH
463
 
AM_PROG_INSTALL_STRIP
 
523
AC_REQUIRE([AM_PROG_INSTALL_SH])dnl
 
524
AC_REQUIRE([AM_PROG_INSTALL_STRIP])dnl
464
525
AC_REQUIRE([AM_PROG_MKDIR_P])dnl
465
526
# We need awk for the "check" target.  The system "awk" is bad on
466
527
# some platforms.
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
486
 
])
487
 
])
 
544
                  [_AM_DEPENDENCIES(OBJC)],
 
545
                  [define([AC_PROG_OBJC],
 
546
                          defn([AC_PROG_OBJC])[_AM_DEPENDENCIES(OBJC)])])dnl
 
547
])
 
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
 
555
])
 
556
 
 
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])])
488
562
 
489
563
 
490
564
# When config.status generates a header, we must update the stamp-h file.
508
582
done
509
583
echo "timestamp for $_am_arg" >`AS_DIRNAME(["$_am_arg"])`/stamp-h[]$_am_stamp_count])
510
584
 
511
 
# Copyright (C) 2001, 2003, 2005  Free Software Foundation, Inc.
 
585
# Copyright (C) 2001, 2003, 2005, 2008  Free Software Foundation, Inc.
512
586
#
513
587
# This file is free software; the Free Software Foundation
514
588
# gives unlimited permission to copy and/or distribute it,
519
593
# Define $install_sh.
520
594
AC_DEFUN([AM_PROG_INSTALL_SH],
521
595
[AC_REQUIRE([AM_AUX_DIR_EXPAND])dnl
522
 
install_sh=${install_sh-"\$(SHELL) $am_aux_dir/install-sh"}
 
596
if test x"${install_sh}" != xset; then
 
597
  case $am_aux_dir in
 
598
  *\ * | *\     *)
 
599
    install_sh="\${SHELL} '$am_aux_dir/install-sh'" ;;
 
600
  *)
 
601
    install_sh="\${SHELL} $am_aux_dir/install-sh"
 
602
  esac
 
603
fi
523
604
AC_SUBST(install_sh)])
524
605
 
525
606
# Copyright (C) 2003, 2005  Free Software Foundation, Inc.
545
626
 
546
627
# Check to see how 'make' treats includes.                  -*- Autoconf -*-
547
628
 
548
 
# Copyright (C) 2001, 2002, 2003, 2005  Free Software Foundation, Inc.
 
629
# Copyright (C) 2001, 2002, 2003, 2005, 2009  Free Software Foundation, Inc.
549
630
#
550
631
# This file is free software; the Free Software Foundation
551
632
# gives unlimited permission to copy and/or distribute it,
552
633
# with or without modifications, as long as this notice is preserved.
553
634
 
554
 
# serial 3
 
635
# serial 4
555
636
 
556
637
# AM_MAKE_INCLUDE()
557
638
# -----------------
560
641
[am_make=${MAKE-make}
561
642
cat > confinc << 'END'
562
643
am__doit:
563
 
        @echo done
 
644
        @echo this is the am__doit target
564
645
.PHONY: am__doit
565
646
END
566
647
# If we don't find an include directive, just comment out the code.
570
651
_am_result=none
571
652
# First try GNU make style include.
572
653
echo "include confinc" > confmf
573
 
# We grep out `Entering directory' and `Leaving directory'
574
 
# messages which can occur if `w' ends up in MAKEFLAGS.
575
 
# In particular we don't look at `^make:' because GNU make might
576
 
# be invoked under some other name (usually "gmake"), in which
577
 
# case it prints its new name instead of `make'.
578
 
if test "`$am_make -s -f confmf 2> /dev/null | grep -v 'ing directory'`" = "done"; then
579
 
   am__include=include
580
 
   am__quote=
581
 
   _am_result=GNU
582
 
fi
 
654
# Ignore all kinds of additional output from `make'.
 
655
case `$am_make -s -f confmf 2> /dev/null` in #(
 
656
*the\ am__doit\ target*)
 
657
  am__include=include
 
658
  am__quote=
 
659
  _am_result=GNU
 
660
  ;;
 
661
esac
583
662
# Now try BSD make style include.
584
663
if test "$am__include" = "#"; then
585
664
   echo '.include "confinc"' > confmf
586
 
   if test "`$am_make -s -f confmf 2> /dev/null`" = "done"; then
587
 
      am__include=.include
588
 
      am__quote="\""
589
 
      _am_result=BSD
590
 
   fi
 
665
   case `$am_make -s -f confmf 2> /dev/null` in #(
 
666
   *the\ am__doit\ target*)
 
667
     am__include=.include
 
668
     am__quote="\""
 
669
     _am_result=BSD
 
670
     ;;
 
671
   esac
591
672
fi
592
673
AC_SUBST([am__include])
593
674
AC_SUBST([am__quote])
597
678
 
598
679
# Fake the existence of programs that GNU maintainers use.  -*- Autoconf -*-
599
680
 
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.
602
683
#
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.
606
687
 
607
 
# serial 5
 
688
# serial 6
608
689
 
609
690
# AM_MISSING_PROG(NAME, PROGRAM)
610
691
# ------------------------------
621
702
AC_DEFUN([AM_MISSING_HAS_RUN],
622
703
[AC_REQUIRE([AM_AUX_DIR_EXPAND])dnl
623
704
AC_REQUIRE_AUX_FILE([missing])dnl
624
 
test x"${MISSING+set}" = xset || MISSING="\${SHELL} $am_aux_dir/missing"
 
705
if test x"${MISSING+set}" != xset; then
 
706
  case $am_aux_dir in
 
707
  *\ * | *\     *)
 
708
    MISSING="\${SHELL} \"$am_aux_dir/missing\"" ;;
 
709
  *)
 
710
    MISSING="\${SHELL} $am_aux_dir/missing" ;;
 
711
  esac
 
712
fi
625
713
# Use eval to expand $SHELL
626
714
if eval "$MISSING --run true"; then
627
715
  am_missing_run="$MISSING --run "
659
747
 
660
748
# Helper functions for option handling.                     -*- Autoconf -*-
661
749
 
662
 
# Copyright (C) 2001, 2002, 2003, 2005  Free Software Foundation, Inc.
 
750
# Copyright (C) 2001, 2002, 2003, 2005, 2008  Free Software Foundation, Inc.
663
751
#
664
752
# This file is free software; the Free Software Foundation
665
753
# gives unlimited permission to copy and/or distribute it,
666
754
# with or without modifications, as long as this notice is preserved.
667
755
 
668
 
# serial 3
 
756
# serial 4
669
757
 
670
758
# _AM_MANGLE_OPTION(NAME)
671
759
# -----------------------
682
770
# ----------------------------------
683
771
# OPTIONS is a space-separated list of Automake options.
684
772
AC_DEFUN([_AM_SET_OPTIONS],
685
 
[AC_FOREACH([_AM_Option], [$1], [_AM_SET_OPTION(_AM_Option)])])
 
773
[m4_foreach_w([_AM_Option], [$1], [_AM_SET_OPTION(_AM_Option)])])
686
774
 
687
775
# _AM_IF_OPTION(OPTION, IF-SET, [IF-NOT-SET])
688
776
# -------------------------------------------
718
806
 
719
807
# Check to make sure that the build environment is sane.    -*- Autoconf -*-
720
808
 
721
 
# Copyright (C) 1996, 1997, 2000, 2001, 2003, 2005
 
809
# Copyright (C) 1996, 1997, 2000, 2001, 2003, 2005, 2008
722
810
# Free Software Foundation, Inc.
723
811
#
724
812
# This file is free software; the Free Software Foundation
725
813
# gives unlimited permission to copy and/or distribute it,
726
814
# with or without modifications, as long as this notice is preserved.
727
815
 
728
 
# serial 4
 
816
# serial 5
729
817
 
730
818
# AM_SANITY_CHECK
731
819
# ---------------
734
822
# Just in case
735
823
sleep 1
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.
 
827
am_lf='
 
828
'
 
829
case `pwd` in
 
830
  *[[\\\"\#\$\&\'\`$am_lf]]*)
 
831
    AC_MSG_ERROR([unsafe absolute working directory name]);;
 
832
esac
 
833
case $srcdir in
 
834
  *[[\\\"\#\$\&\'\`$am_lf\ \    ]]*)
 
835
    AC_MSG_ERROR([unsafe srcdir value: `$srcdir']);;
 
836
esac
 
837
 
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
741
842
# directory).
742
843
if (
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`
747
848
   fi
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])])
798
899
 
799
 
# Copyright (C) 2006  Free Software Foundation, Inc.
 
900
# Copyright (C) 2006, 2008  Free Software Foundation, Inc.
800
901
#
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.
804
905
 
 
906
# serial 2
 
907
 
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])
810
913
 
 
914
# AM_SUBST_NOTMAKE(VARIABLE)
 
915
# ---------------------------
 
916
# Public sister of _AM_SUBST_NOTMAKE.
 
917
AC_DEFUN([AM_SUBST_NOTMAKE], [_AM_SUBST_NOTMAKE($@)])
 
918
 
811
919
# Check how to create a tarball.                            -*- Autoconf -*-
812
920
 
813
921
# Copyright (C) 2004, 2005  Free Software Foundation, Inc.
914
1022
m4_include([m4/gssapi.m4])
915
1023
m4_include([m4/iconv.m4])
916
1024
m4_include([m4/lcmessage.m4])
917
 
m4_include([m4/libgnutls.m4])
918
1025
m4_include([m4/progtest.m4])
919
1026
m4_include([m4/types.m4])