~clint-fewbar/ubuntu/precise/squid3/ignore-sighup-early

« back to all changes in this revision

Viewing changes to helpers/negotiate_auth/squid_kerb_auth/aclocal.m4

  • Committer: Bazaar Package Importer
  • Author(s): Luigi Gangitano
  • Date: 2011-01-21 18:43:56 UTC
  • mfrom: (1.4.5 upstream)
  • mto: This revision was merged to the branch mainline in revision 26.
  • Revision ID: james.westby@ubuntu.com-20110121184356-4zn7gwuzws6lpnuc
Tags: 3.1.10-1
* New upstream release (Closes: #609881)
  - Removed patches integrated upstream
    + 16-CVE-2010-3072
    + 17-CVE-2010-2951
  - Fixes TCP DNS lookups failure on IPv6-disabled systems (Closes: #607379)
  - Fixes HTTPS not working if IPv6 is disabled (Closes: #594713)

* debian/rules
  - Enable ZPH feature (Closes: #597687)

* debian/squid3.ufw.profile
  - Added UFW profile, thanks to Alessio Treglia (Closes: #605088)

* debian/control
  - Added versioned dependency on squid-langpack

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.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(AC_AUTOCONF_VERSION, [2.62],,
17
 
[m4_warning([this file was generated for autoconf 2.62.
 
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
 
# Copyright (C) 2002, 2003, 2005, 2006, 2007  Free Software Foundation, Inc.
 
22
# Copyright (C) 2002, 2003, 2005, 2006, 2007, 2008  Free Software Foundation, Inc.
23
23
#
24
24
# This file is free software; the Free Software Foundation
25
25
# gives unlimited permission to copy and/or distribute it,
31
31
# generated from the m4 files accompanying Automake X.Y.
32
32
# (This private macro should not be called outside this file.)
33
33
AC_DEFUN([AM_AUTOMAKE_VERSION],
34
 
[am__api_version='1.10'
 
34
[am__api_version='1.11'
35
35
dnl Some users find AM_AUTOMAKE_VERSION and mistake it for a way to
36
36
dnl require some minimum version.  Point them to the right macro.
37
 
m4_if([$1], [1.10.1], [],
 
37
m4_if([$1], [1.11.1], [],
38
38
      [AC_FATAL([Do not call $0, use AM_INIT_AUTOMAKE([$1]).])])dnl
39
39
])
40
40
 
48
48
# AM_SET_CURRENT_AUTOMAKE_VERSION
49
49
# -------------------------------
50
50
# Call AM_AUTOMAKE_VERSION and AM_AUTOMAKE_VERSION so they can be traced.
51
 
# This function is AC_REQUIREd by AC_INIT_AUTOMAKE.
 
51
# This function is AC_REQUIREd by AM_INIT_AUTOMAKE.
52
52
AC_DEFUN([AM_SET_CURRENT_AUTOMAKE_VERSION],
53
 
[AM_AUTOMAKE_VERSION([1.10.1])dnl
 
53
[AM_AUTOMAKE_VERSION([1.11.1])dnl
54
54
m4_ifndef([AC_AUTOCONF_VERSION],
55
55
  [m4_copy([m4_PACKAGE_VERSION], [AC_AUTOCONF_VERSION])])dnl
56
 
_AM_AUTOCONF_VERSION(AC_AUTOCONF_VERSION)])
 
56
_AM_AUTOCONF_VERSION(m4_defn([AC_AUTOCONF_VERSION]))])
57
57
 
58
58
# AM_AUX_DIR_EXPAND                                         -*- Autoconf -*-
59
59
 
110
110
 
111
111
# AM_CONDITIONAL                                            -*- Autoconf -*-
112
112
 
113
 
# Copyright (C) 1997, 2000, 2001, 2003, 2004, 2005, 2006
 
113
# Copyright (C) 1997, 2000, 2001, 2003, 2004, 2005, 2006, 2008
114
114
# Free Software Foundation, Inc.
115
115
#
116
116
# This file is free software; the Free Software Foundation
117
117
# gives unlimited permission to copy and/or distribute it,
118
118
# with or without modifications, as long as this notice is preserved.
119
119
 
120
 
# serial 8
 
120
# serial 9
121
121
 
122
122
# AM_CONDITIONAL(NAME, SHELL-CONDITION)
123
123
# -------------------------------------
130
130
AC_SUBST([$1_FALSE])dnl
131
131
_AM_SUBST_NOTMAKE([$1_TRUE])dnl
132
132
_AM_SUBST_NOTMAKE([$1_FALSE])dnl
 
133
m4_define([_AM_COND_VALUE_$1], [$2])dnl
133
134
if $2; then
134
135
  $1_TRUE=
135
136
  $1_FALSE='#'
143
144
Usually this means the macro was only invoked conditionally.]])
144
145
fi])])
145
146
 
146
 
# Copyright (C) 1999, 2000, 2001, 2002, 2003, 2004, 2005, 2006
 
147
# Copyright (C) 1999, 2000, 2001, 2002, 2003, 2004, 2005, 2006, 2009
147
148
# Free Software Foundation, Inc.
148
149
#
149
150
# This file is free software; the Free Software Foundation
150
151
# gives unlimited permission to copy and/or distribute it,
151
152
# with or without modifications, as long as this notice is preserved.
152
153
 
153
 
# serial 9
 
154
# serial 10
154
155
 
155
156
# There are a few dirty hacks below to avoid letting `AC_PROG_CC' be
156
157
# written in clear, in which case automake, when reading aclocal.m4,
207
208
  if test "$am_compiler_list" = ""; then
208
209
     am_compiler_list=`sed -n ['s/^#*\([a-zA-Z0-9]*\))$/\1/p'] < ./depcomp`
209
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
 
210
221
  for depmode in $am_compiler_list; do
211
222
    # Setup a source with many dependencies, because some compilers
212
223
    # like to wrap large dependency lists on column 80 (with \), and
224
235
    done
225
236
    echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
226
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"
227
244
    case $depmode in
 
245
    gcc)
 
246
      # This depmode causes a compiler race in universal mode.
 
247
      test "$am__universal" = false || continue
 
248
      ;;
228
249
    nosideeffect)
229
250
      # after this tag, mechanisms are not by side-effect, so they'll
230
251
      # only be used when explicitly requested
234
255
        break
235
256
      fi
236
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
      ;;
237
265
    none) break ;;
238
266
    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
267
    if depmode=$depmode \
243
 
       source=sub/conftest.c object=sub/conftest.${OBJEXT-o} \
 
268
       source=sub/conftest.c object=$am__obj \
244
269
       depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
245
 
       $SHELL ./depcomp $depcc -c -o sub/conftest.${OBJEXT-o} sub/conftest.c \
 
270
       $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
246
271
         >/dev/null 2>conftest.err &&
247
272
       grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
248
273
       grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
249
 
       grep sub/conftest.${OBJEXT-o} sub/conftest.Po > /dev/null 2>&1 &&
 
274
       grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
250
275
       ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
251
276
      # icc doesn't choke on unknown options, it will just issue warnings
252
277
      # or remarks (even with -Werror).  So we grep stderr for any message
303
328
 
304
329
# Generate code to set up dependency tracking.              -*- Autoconf -*-
305
330
 
306
 
# Copyright (C) 1999, 2000, 2001, 2002, 2003, 2004, 2005
 
331
# Copyright (C) 1999, 2000, 2001, 2002, 2003, 2004, 2005, 2008
307
332
# Free Software Foundation, Inc.
308
333
#
309
334
# This file is free software; the Free Software Foundation
310
335
# gives unlimited permission to copy and/or distribute it,
311
336
# with or without modifications, as long as this notice is preserved.
312
337
 
313
 
#serial 3
 
338
#serial 5
314
339
 
315
340
# _AM_OUTPUT_DEPENDENCY_COMMANDS
316
341
# ------------------------------
317
342
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"
 
343
[{
 
344
  # Autoconf 2.62 quotes --file arguments for eval, but not when files
 
345
  # are listed without --file.  Let's play safe and only enable the eval
 
346
  # if we detect the quoting.
 
347
  case $CONFIG_FILES in
 
348
  *\'*) eval set x "$CONFIG_FILES" ;;
 
349
  *)   set x $CONFIG_FILES ;;
 
350
  esac
 
351
  shift
 
352
  for mf
 
353
  do
 
354
    # Strip MF so we end up with the name of the file.
 
355
    mf=`echo "$mf" | sed -e 's/:.*$//'`
 
356
    # Check whether this is an Automake generated Makefile or not.
 
357
    # We used to match only the files named `Makefile.in', but
 
358
    # some people rename them; so instead we look at the file content.
 
359
    # Grep'ing the first line is not enough: some people post-process
 
360
    # each Makefile.in and add a new line on top of each file to say so.
 
361
    # Grep'ing the whole file is not good either: AIX grep has a line
 
362
    # limit of 2048, but all sed's we know have understand at least 4000.
 
363
    if sed -n 's,^#.*generated by automake.*,X,p' "$mf" | grep X >/dev/null 2>&1; then
 
364
      dirpart=`AS_DIRNAME("$mf")`
 
365
    else
 
366
      continue
 
367
    fi
 
368
    # Extract the definition of DEPDIR, am__include, and am__quote
 
369
    # from the Makefile without running `make'.
 
370
    DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"`
 
371
    test -z "$DEPDIR" && continue
 
372
    am__include=`sed -n 's/^am__include = //p' < "$mf"`
 
373
    test -z "am__include" && continue
 
374
    am__quote=`sed -n 's/^am__quote = //p' < "$mf"`
 
375
    # When using ansi2knr, U may be empty or an underscore; expand it
 
376
    U=`sed -n 's/^U = //p' < "$mf"`
 
377
    # Find all dependency output files, they are included files with
 
378
    # $(DEPDIR) in their names.  We invoke sed twice because it is the
 
379
    # simplest approach to changing $(DEPDIR) to its actual value in the
 
380
    # expansion.
 
381
    for file in `sed -n "
 
382
      s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
 
383
         sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do
 
384
      # Make sure the directory exists.
 
385
      test -f "$dirpart/$file" && continue
 
386
      fdir=`AS_DIRNAME(["$file"])`
 
387
      AS_MKDIR_P([$dirpart/$fdir])
 
388
      # echo "creating $dirpart/$file"
 
389
      echo '# dummy' > "$dirpart/$file"
 
390
    done
355
391
  done
356
 
done
 
392
}
357
393
])# _AM_OUTPUT_DEPENDENCY_COMMANDS
358
394
 
359
395
 
373
409
# Do all the work for Automake.                             -*- Autoconf -*-
374
410
 
375
411
# Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004,
376
 
# 2005, 2006, 2008 Free Software Foundation, Inc.
 
412
# 2005, 2006, 2008, 2009 Free Software Foundation, Inc.
377
413
#
378
414
# This file is free software; the Free Software Foundation
379
415
# gives unlimited permission to copy and/or distribute it,
380
416
# with or without modifications, as long as this notice is preserved.
381
417
 
382
 
# serial 13
 
418
# serial 16
383
419
 
384
420
# This macro actually does too much.  Some checks are only needed if
385
421
# your package does certain things.  But this isn't really a big deal.
396
432
# arguments mandatory, and then we can depend on a new Autoconf
397
433
# release and drop the old call support.
398
434
AC_DEFUN([AM_INIT_AUTOMAKE],
399
 
[AC_PREREQ([2.60])dnl
 
435
[AC_PREREQ([2.62])dnl
400
436
dnl Autoconf wants to disallow AM_ names.  We explicitly allow
401
437
dnl the ones we care about.
402
438
m4_pattern_allow([^AM_[A-Z]+FLAGS$])dnl
447
483
AM_MISSING_PROG(AUTOMAKE, automake-${am__api_version})
448
484
AM_MISSING_PROG(AUTOHEADER, autoheader)
449
485
AM_MISSING_PROG(MAKEINFO, makeinfo)
450
 
AM_PROG_INSTALL_SH
451
 
AM_PROG_INSTALL_STRIP
 
486
AC_REQUIRE([AM_PROG_INSTALL_SH])dnl
 
487
AC_REQUIRE([AM_PROG_INSTALL_STRIP])dnl
452
488
AC_REQUIRE([AM_PROG_MKDIR_P])dnl
453
489
# We need awk for the "check" target.  The system "awk" is bad on
454
490
# some platforms.
456
492
AC_REQUIRE([AC_PROG_MAKE_SET])dnl
457
493
AC_REQUIRE([AM_SET_LEADING_DOT])dnl
458
494
_AM_IF_OPTION([tar-ustar], [_AM_PROG_TAR([ustar])],
459
 
              [_AM_IF_OPTION([tar-pax], [_AM_PROG_TAR([pax])],
460
 
                             [_AM_PROG_TAR([v7])])])
 
495
              [_AM_IF_OPTION([tar-pax], [_AM_PROG_TAR([pax])],
 
496
                             [_AM_PROG_TAR([v7])])])
461
497
_AM_IF_OPTION([no-dependencies],,
462
498
[AC_PROVIDE_IFELSE([AC_PROG_CC],
463
 
                  [_AM_DEPENDENCIES(CC)],
464
 
                  [define([AC_PROG_CC],
465
 
                          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
466
502
AC_PROVIDE_IFELSE([AC_PROG_CXX],
467
 
                  [_AM_DEPENDENCIES(CXX)],
468
 
                  [define([AC_PROG_CXX],
469
 
                          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
470
506
AC_PROVIDE_IFELSE([AC_PROG_OBJC],
471
 
                  [_AM_DEPENDENCIES(OBJC)],
472
 
                  [define([AC_PROG_OBJC],
473
 
                          defn([AC_PROG_OBJC])[_AM_DEPENDENCIES(OBJC)])])dnl
474
 
])
475
 
])
 
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])])
476
525
 
477
526
 
478
527
# When config.status generates a header, we must update the stamp-h file.
496
545
done
497
546
echo "timestamp for $_am_arg" >`AS_DIRNAME(["$_am_arg"])`/stamp-h[]$_am_stamp_count])
498
547
 
499
 
# Copyright (C) 2001, 2003, 2005  Free Software Foundation, Inc.
 
548
# Copyright (C) 2001, 2003, 2005, 2008  Free Software Foundation, Inc.
500
549
#
501
550
# This file is free software; the Free Software Foundation
502
551
# gives unlimited permission to copy and/or distribute it,
507
556
# Define $install_sh.
508
557
AC_DEFUN([AM_PROG_INSTALL_SH],
509
558
[AC_REQUIRE([AM_AUX_DIR_EXPAND])dnl
510
 
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
511
567
AC_SUBST(install_sh)])
512
568
 
513
569
# Copyright (C) 2003, 2005  Free Software Foundation, Inc.
533
589
 
534
590
# Check to see how 'make' treats includes.                  -*- Autoconf -*-
535
591
 
536
 
# Copyright (C) 2001, 2002, 2003, 2005  Free Software Foundation, Inc.
 
592
# Copyright (C) 2001, 2002, 2003, 2005, 2009  Free Software Foundation, Inc.
537
593
#
538
594
# This file is free software; the Free Software Foundation
539
595
# gives unlimited permission to copy and/or distribute it,
540
596
# with or without modifications, as long as this notice is preserved.
541
597
 
542
 
# serial 3
 
598
# serial 4
543
599
 
544
600
# AM_MAKE_INCLUDE()
545
601
# -----------------
548
604
[am_make=${MAKE-make}
549
605
cat > confinc << 'END'
550
606
am__doit:
551
 
        @echo done
 
607
        @echo this is the am__doit target
552
608
.PHONY: am__doit
553
609
END
554
610
# If we don't find an include directive, just comment out the code.
558
614
_am_result=none
559
615
# First try GNU make style include.
560
616
echo "include confinc" > confmf
561
 
# We grep out `Entering directory' and `Leaving directory'
562
 
# messages which can occur if `w' ends up in MAKEFLAGS.
563
 
# In particular we don't look at `^make:' because GNU make might
564
 
# be invoked under some other name (usually "gmake"), in which
565
 
# case it prints its new name instead of `make'.
566
 
if test "`$am_make -s -f confmf 2> /dev/null | grep -v 'ing directory'`" = "done"; then
567
 
   am__include=include
568
 
   am__quote=
569
 
   _am_result=GNU
570
 
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
571
625
# Now try BSD make style include.
572
626
if test "$am__include" = "#"; then
573
627
   echo '.include "confinc"' > confmf
574
 
   if test "`$am_make -s -f confmf 2> /dev/null`" = "done"; then
575
 
      am__include=.include
576
 
      am__quote="\""
577
 
      _am_result=BSD
578
 
   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
579
635
fi
580
636
AC_SUBST([am__include])
581
637
AC_SUBST([am__quote])
585
641
 
586
642
# Fake the existence of programs that GNU maintainers use.  -*- Autoconf -*-
587
643
 
588
 
# Copyright (C) 1997, 1999, 2000, 2001, 2003, 2004, 2005
 
644
# Copyright (C) 1997, 1999, 2000, 2001, 2003, 2004, 2005, 2008
589
645
# Free Software Foundation, Inc.
590
646
#
591
647
# This file is free software; the Free Software Foundation
592
648
# gives unlimited permission to copy and/or distribute it,
593
649
# with or without modifications, as long as this notice is preserved.
594
650
 
595
 
# serial 5
 
651
# serial 6
596
652
 
597
653
# AM_MISSING_PROG(NAME, PROGRAM)
598
654
# ------------------------------
609
665
AC_DEFUN([AM_MISSING_HAS_RUN],
610
666
[AC_REQUIRE([AM_AUX_DIR_EXPAND])dnl
611
667
AC_REQUIRE_AUX_FILE([missing])dnl
612
 
test x"${MISSING+set}" = xset || MISSING="\${SHELL} $am_aux_dir/missing"
 
668
if test x"${MISSING+set}" != xset; then
 
669
  case $am_aux_dir in
 
670
  *\ * | *\     *)
 
671
    MISSING="\${SHELL} \"$am_aux_dir/missing\"" ;;
 
672
  *)
 
673
    MISSING="\${SHELL} $am_aux_dir/missing" ;;
 
674
  esac
 
675
fi
613
676
# Use eval to expand $SHELL
614
677
if eval "$MISSING --run true"; then
615
678
  am_missing_run="$MISSING --run "
647
710
 
648
711
# Helper functions for option handling.                     -*- Autoconf -*-
649
712
 
650
 
# Copyright (C) 2001, 2002, 2003, 2005  Free Software Foundation, Inc.
 
713
# Copyright (C) 2001, 2002, 2003, 2005, 2008  Free Software Foundation, Inc.
651
714
#
652
715
# This file is free software; the Free Software Foundation
653
716
# gives unlimited permission to copy and/or distribute it,
654
717
# with or without modifications, as long as this notice is preserved.
655
718
 
656
 
# serial 3
 
719
# serial 4
657
720
 
658
721
# _AM_MANGLE_OPTION(NAME)
659
722
# -----------------------
670
733
# ----------------------------------
671
734
# OPTIONS is a space-separated list of Automake options.
672
735
AC_DEFUN([_AM_SET_OPTIONS],
673
 
[AC_FOREACH([_AM_Option], [$1], [_AM_SET_OPTION(_AM_Option)])])
 
736
[m4_foreach_w([_AM_Option], [$1], [_AM_SET_OPTION(_AM_Option)])])
674
737
 
675
738
# _AM_IF_OPTION(OPTION, IF-SET, [IF-NOT-SET])
676
739
# -------------------------------------------
680
743
 
681
744
# Check to make sure that the build environment is sane.    -*- Autoconf -*-
682
745
 
683
 
# Copyright (C) 1996, 1997, 2000, 2001, 2003, 2005
 
746
# Copyright (C) 1996, 1997, 2000, 2001, 2003, 2005, 2008
684
747
# Free Software Foundation, Inc.
685
748
#
686
749
# This file is free software; the Free Software Foundation
687
750
# gives unlimited permission to copy and/or distribute it,
688
751
# with or without modifications, as long as this notice is preserved.
689
752
 
690
 
# serial 4
 
753
# serial 5
691
754
 
692
755
# AM_SANITY_CHECK
693
756
# ---------------
696
759
# Just in case
697
760
sleep 1
698
761
echo timestamp > conftest.file
 
762
# Reject unsafe characters in $srcdir or the absolute working directory
 
763
# name.  Accept space and tab only in the latter.
 
764
am_lf='
 
765
'
 
766
case `pwd` in
 
767
  *[[\\\"\#\$\&\'\`$am_lf]]*)
 
768
    AC_MSG_ERROR([unsafe absolute working directory name]);;
 
769
esac
 
770
case $srcdir in
 
771
  *[[\\\"\#\$\&\'\`$am_lf\ \    ]]*)
 
772
    AC_MSG_ERROR([unsafe srcdir value: `$srcdir']);;
 
773
esac
 
774
 
699
775
# Do `set' in a subshell so we don't clobber the current shell's
700
776
# arguments.  Must try -L first in case configure is actually a
701
777
# symlink; some systems play weird games with the mod time of symlinks
702
778
# (eg FreeBSD returns the mod time of the symlink's containing
703
779
# directory).
704
780
if (
705
 
   set X `ls -Lt $srcdir/configure conftest.file 2> /dev/null`
 
781
   set X `ls -Lt "$srcdir/configure" conftest.file 2> /dev/null`
706
782
   if test "$[*]" = "X"; then
707
783
      # -L didn't work.
708
 
      set X `ls -t $srcdir/configure conftest.file`
 
784
      set X `ls -t "$srcdir/configure" conftest.file`
709
785
   fi
710
786
   rm -f conftest.file
711
787
   if test "$[*]" != "X $srcdir/configure conftest.file" \
758
834
INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s"
759
835
AC_SUBST([INSTALL_STRIP_PROGRAM])])
760
836
 
761
 
# Copyright (C) 2006  Free Software Foundation, Inc.
 
837
# Copyright (C) 2006, 2008  Free Software Foundation, Inc.
762
838
#
763
839
# This file is free software; the Free Software Foundation
764
840
# gives unlimited permission to copy and/or distribute it,
765
841
# with or without modifications, as long as this notice is preserved.
766
842
 
 
843
# serial 2
 
844
 
767
845
# _AM_SUBST_NOTMAKE(VARIABLE)
768
846
# ---------------------------
769
847
# Prevent Automake from outputting VARIABLE = @VARIABLE@ in Makefile.in.
770
848
# This macro is traced by Automake.
771
849
AC_DEFUN([_AM_SUBST_NOTMAKE])
772
850
 
 
851
# AM_SUBST_NOTMAKE(VARIABLE)
 
852
# ---------------------------
 
853
# Public sister of _AM_SUBST_NOTMAKE.
 
854
AC_DEFUN([AM_SUBST_NOTMAKE], [_AM_SUBST_NOTMAKE($@)])
 
855
 
773
856
# Check how to create a tarball.                            -*- Autoconf -*-
774
857
 
775
858
# Copyright (C) 2004, 2005  Free Software Foundation, Inc.