~ubuntu-branches/ubuntu/oneiric/openvpn/oneiric

« back to all changes in this revision

Viewing changes to .pc/jjo-ipv6-support.patch/aclocal.m4

  • Committer: Bazaar Package Importer
  • Author(s): Chuck Short
  • Date: 2011-06-16 18:33:37 UTC
  • mfrom: (1.1.17 upstream) (10.2.13 sid)
  • Revision ID: james.westby@ubuntu.com-20110616183337-fv50u3kmiabewjq0
Tags: 2.2.0-2ubuntu1
* Merge from debian unstable.  Remaining changes:
 + debian/openvpn.init.d:
    - Do not use start-stop-daemon and </dev/null to avoid blocking boot.
    - Show per-VPN result messages.
    - Add "--script-security 2" by default for backwards compatabliity.
  + debian/control: Add lsb-base >= 3.2-14 to allow status_of_proc()
  + debian/update-resolv-conf: Support multiple domains.
  + fix bug where '--script-security 2' would be passed for all
    daemons after the first. (LP: #794916

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.61],,
17
 
[m4_warning([this file was generated for autoconf 2.61.
 
16
m4_if(m4_defn([AC_AUTOCONF_VERSION]), [2.66],,
 
17
[m4_warning([this file was generated for autoconf 2.66.
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
 
385
421
# Do all the work for Automake.                             -*- Autoconf -*-
386
422
 
387
423
# Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004,
388
 
# 2005, 2006, 2008 Free Software Foundation, Inc.
 
424
# 2005, 2006, 2008, 2009 Free Software Foundation, Inc.
389
425
#
390
426
# This file is free software; the Free Software Foundation
391
427
# gives unlimited permission to copy and/or distribute it,
392
428
# with or without modifications, as long as this notice is preserved.
393
429
 
394
 
# serial 13
 
430
# serial 16
395
431
 
396
432
# This macro actually does too much.  Some checks are only needed if
397
433
# your package does certain things.  But this isn't really a big deal.
408
444
# arguments mandatory, and then we can depend on a new Autoconf
409
445
# release and drop the old call support.
410
446
AC_DEFUN([AM_INIT_AUTOMAKE],
411
 
[AC_PREREQ([2.60])dnl
 
447
[AC_PREREQ([2.62])dnl
412
448
dnl Autoconf wants to disallow AM_ names.  We explicitly allow
413
449
dnl the ones we care about.
414
450
m4_pattern_allow([^AM_[A-Z]+FLAGS$])dnl
459
495
AM_MISSING_PROG(AUTOMAKE, automake-${am__api_version})
460
496
AM_MISSING_PROG(AUTOHEADER, autoheader)
461
497
AM_MISSING_PROG(MAKEINFO, makeinfo)
462
 
AM_PROG_INSTALL_SH
463
 
AM_PROG_INSTALL_STRIP
 
498
AC_REQUIRE([AM_PROG_INSTALL_SH])dnl
 
499
AC_REQUIRE([AM_PROG_INSTALL_STRIP])dnl
464
500
AC_REQUIRE([AM_PROG_MKDIR_P])dnl
465
501
# We need awk for the "check" target.  The system "awk" is bad on
466
502
# some platforms.
468
504
AC_REQUIRE([AC_PROG_MAKE_SET])dnl
469
505
AC_REQUIRE([AM_SET_LEADING_DOT])dnl
470
506
_AM_IF_OPTION([tar-ustar], [_AM_PROG_TAR([ustar])],
471
 
              [_AM_IF_OPTION([tar-pax], [_AM_PROG_TAR([pax])],
472
 
                             [_AM_PROG_TAR([v7])])])
 
507
              [_AM_IF_OPTION([tar-pax], [_AM_PROG_TAR([pax])],
 
508
                             [_AM_PROG_TAR([v7])])])
473
509
_AM_IF_OPTION([no-dependencies],,
474
510
[AC_PROVIDE_IFELSE([AC_PROG_CC],
475
 
                  [_AM_DEPENDENCIES(CC)],
476
 
                  [define([AC_PROG_CC],
477
 
                          defn([AC_PROG_CC])[_AM_DEPENDENCIES(CC)])])dnl
 
511
                  [_AM_DEPENDENCIES(CC)],
 
512
                  [define([AC_PROG_CC],
 
513
                          defn([AC_PROG_CC])[_AM_DEPENDENCIES(CC)])])dnl
478
514
AC_PROVIDE_IFELSE([AC_PROG_CXX],
479
 
                  [_AM_DEPENDENCIES(CXX)],
480
 
                  [define([AC_PROG_CXX],
481
 
                          defn([AC_PROG_CXX])[_AM_DEPENDENCIES(CXX)])])dnl
 
515
                  [_AM_DEPENDENCIES(CXX)],
 
516
                  [define([AC_PROG_CXX],
 
517
                          defn([AC_PROG_CXX])[_AM_DEPENDENCIES(CXX)])])dnl
482
518
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
 
])
 
519
                  [_AM_DEPENDENCIES(OBJC)],
 
520
                  [define([AC_PROG_OBJC],
 
521
                          defn([AC_PROG_OBJC])[_AM_DEPENDENCIES(OBJC)])])dnl
 
522
])
 
523
_AM_IF_OPTION([silent-rules], [AC_REQUIRE([AM_SILENT_RULES])])dnl
 
524
dnl The `parallel-tests' driver may need to know about EXEEXT, so add the
 
525
dnl `am__EXEEXT' conditional if _AM_COMPILER_EXEEXT was seen.  This macro
 
526
dnl is hooked onto _AC_COMPILER_EXEEXT early, see below.
 
527
AC_CONFIG_COMMANDS_PRE(dnl
 
528
[m4_provide_if([_AM_COMPILER_EXEEXT],
 
529
  [AM_CONDITIONAL([am__EXEEXT], [test -n "$EXEEXT"])])])dnl
 
530
])
 
531
 
 
532
dnl Hook into `_AC_COMPILER_EXEEXT' early to learn its expansion.  Do not
 
533
dnl add the conditional right here, as _AC_COMPILER_EXEEXT may be further
 
534
dnl mangled by Autoconf and run in a shell conditional statement.
 
535
m4_define([_AC_COMPILER_EXEEXT],
 
536
m4_defn([_AC_COMPILER_EXEEXT])[m4_provide([_AM_COMPILER_EXEEXT])])
488
537
 
489
538
 
490
539
# When config.status generates a header, we must update the stamp-h file.
508
557
done
509
558
echo "timestamp for $_am_arg" >`AS_DIRNAME(["$_am_arg"])`/stamp-h[]$_am_stamp_count])
510
559
 
511
 
# Copyright (C) 2001, 2003, 2005  Free Software Foundation, Inc.
 
560
# Copyright (C) 2001, 2003, 2005, 2008  Free Software Foundation, Inc.
512
561
#
513
562
# This file is free software; the Free Software Foundation
514
563
# gives unlimited permission to copy and/or distribute it,
519
568
# Define $install_sh.
520
569
AC_DEFUN([AM_PROG_INSTALL_SH],
521
570
[AC_REQUIRE([AM_AUX_DIR_EXPAND])dnl
522
 
install_sh=${install_sh-"\$(SHELL) $am_aux_dir/install-sh"}
 
571
if test x"${install_sh}" != xset; then
 
572
  case $am_aux_dir in
 
573
  *\ * | *\     *)
 
574
    install_sh="\${SHELL} '$am_aux_dir/install-sh'" ;;
 
575
  *)
 
576
    install_sh="\${SHELL} $am_aux_dir/install-sh"
 
577
  esac
 
578
fi
523
579
AC_SUBST(install_sh)])
524
580
 
525
581
# Copyright (C) 2003, 2005  Free Software Foundation, Inc.
545
601
 
546
602
# Check to see how 'make' treats includes.                  -*- Autoconf -*-
547
603
 
548
 
# Copyright (C) 2001, 2002, 2003, 2005  Free Software Foundation, Inc.
 
604
# Copyright (C) 2001, 2002, 2003, 2005, 2009  Free Software Foundation, Inc.
549
605
#
550
606
# This file is free software; the Free Software Foundation
551
607
# gives unlimited permission to copy and/or distribute it,
552
608
# with or without modifications, as long as this notice is preserved.
553
609
 
554
 
# serial 3
 
610
# serial 4
555
611
 
556
612
# AM_MAKE_INCLUDE()
557
613
# -----------------
560
616
[am_make=${MAKE-make}
561
617
cat > confinc << 'END'
562
618
am__doit:
563
 
        @echo done
 
619
        @echo this is the am__doit target
564
620
.PHONY: am__doit
565
621
END
566
622
# If we don't find an include directive, just comment out the code.
570
626
_am_result=none
571
627
# First try GNU make style include.
572
628
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
 
629
# Ignore all kinds of additional output from `make'.
 
630
case `$am_make -s -f confmf 2> /dev/null` in #(
 
631
*the\ am__doit\ target*)
 
632
  am__include=include
 
633
  am__quote=
 
634
  _am_result=GNU
 
635
  ;;
 
636
esac
583
637
# Now try BSD make style include.
584
638
if test "$am__include" = "#"; then
585
639
   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
 
640
   case `$am_make -s -f confmf 2> /dev/null` in #(
 
641
   *the\ am__doit\ target*)
 
642
     am__include=.include
 
643
     am__quote="\""
 
644
     _am_result=BSD
 
645
     ;;
 
646
   esac
591
647
fi
592
648
AC_SUBST([am__include])
593
649
AC_SUBST([am__quote])
597
653
 
598
654
# Fake the existence of programs that GNU maintainers use.  -*- Autoconf -*-
599
655
 
600
 
# Copyright (C) 1997, 1999, 2000, 2001, 2003, 2004, 2005
 
656
# Copyright (C) 1997, 1999, 2000, 2001, 2003, 2004, 2005, 2008
601
657
# Free Software Foundation, Inc.
602
658
#
603
659
# This file is free software; the Free Software Foundation
604
660
# gives unlimited permission to copy and/or distribute it,
605
661
# with or without modifications, as long as this notice is preserved.
606
662
 
607
 
# serial 5
 
663
# serial 6
608
664
 
609
665
# AM_MISSING_PROG(NAME, PROGRAM)
610
666
# ------------------------------
621
677
AC_DEFUN([AM_MISSING_HAS_RUN],
622
678
[AC_REQUIRE([AM_AUX_DIR_EXPAND])dnl
623
679
AC_REQUIRE_AUX_FILE([missing])dnl
624
 
test x"${MISSING+set}" = xset || MISSING="\${SHELL} $am_aux_dir/missing"
 
680
if test x"${MISSING+set}" != xset; then
 
681
  case $am_aux_dir in
 
682
  *\ * | *\     *)
 
683
    MISSING="\${SHELL} \"$am_aux_dir/missing\"" ;;
 
684
  *)
 
685
    MISSING="\${SHELL} $am_aux_dir/missing" ;;
 
686
  esac
 
687
fi
625
688
# Use eval to expand $SHELL
626
689
if eval "$MISSING --run true"; then
627
690
  am_missing_run="$MISSING --run "
659
722
 
660
723
# Helper functions for option handling.                     -*- Autoconf -*-
661
724
 
662
 
# Copyright (C) 2001, 2002, 2003, 2005  Free Software Foundation, Inc.
 
725
# Copyright (C) 2001, 2002, 2003, 2005, 2008  Free Software Foundation, Inc.
663
726
#
664
727
# This file is free software; the Free Software Foundation
665
728
# gives unlimited permission to copy and/or distribute it,
666
729
# with or without modifications, as long as this notice is preserved.
667
730
 
668
 
# serial 3
 
731
# serial 4
669
732
 
670
733
# _AM_MANGLE_OPTION(NAME)
671
734
# -----------------------
682
745
# ----------------------------------
683
746
# OPTIONS is a space-separated list of Automake options.
684
747
AC_DEFUN([_AM_SET_OPTIONS],
685
 
[AC_FOREACH([_AM_Option], [$1], [_AM_SET_OPTION(_AM_Option)])])
 
748
[m4_foreach_w([_AM_Option], [$1], [_AM_SET_OPTION(_AM_Option)])])
686
749
 
687
750
# _AM_IF_OPTION(OPTION, IF-SET, [IF-NOT-SET])
688
751
# -------------------------------------------
692
755
 
693
756
# Check to make sure that the build environment is sane.    -*- Autoconf -*-
694
757
 
695
 
# Copyright (C) 1996, 1997, 2000, 2001, 2003, 2005
 
758
# Copyright (C) 1996, 1997, 2000, 2001, 2003, 2005, 2008
696
759
# Free Software Foundation, Inc.
697
760
#
698
761
# This file is free software; the Free Software Foundation
699
762
# gives unlimited permission to copy and/or distribute it,
700
763
# with or without modifications, as long as this notice is preserved.
701
764
 
702
 
# serial 4
 
765
# serial 5
703
766
 
704
767
# AM_SANITY_CHECK
705
768
# ---------------
708
771
# Just in case
709
772
sleep 1
710
773
echo timestamp > conftest.file
 
774
# Reject unsafe characters in $srcdir or the absolute working directory
 
775
# name.  Accept space and tab only in the latter.
 
776
am_lf='
 
777
'
 
778
case `pwd` in
 
779
  *[[\\\"\#\$\&\'\`$am_lf]]*)
 
780
    AC_MSG_ERROR([unsafe absolute working directory name]);;
 
781
esac
 
782
case $srcdir in
 
783
  *[[\\\"\#\$\&\'\`$am_lf\ \    ]]*)
 
784
    AC_MSG_ERROR([unsafe srcdir value: `$srcdir']);;
 
785
esac
 
786
 
711
787
# Do `set' in a subshell so we don't clobber the current shell's
712
788
# arguments.  Must try -L first in case configure is actually a
713
789
# symlink; some systems play weird games with the mod time of symlinks
714
790
# (eg FreeBSD returns the mod time of the symlink's containing
715
791
# directory).
716
792
if (
717
 
   set X `ls -Lt $srcdir/configure conftest.file 2> /dev/null`
 
793
   set X `ls -Lt "$srcdir/configure" conftest.file 2> /dev/null`
718
794
   if test "$[*]" = "X"; then
719
795
      # -L didn't work.
720
 
      set X `ls -t $srcdir/configure conftest.file`
 
796
      set X `ls -t "$srcdir/configure" conftest.file`
721
797
   fi
722
798
   rm -f conftest.file
723
799
   if test "$[*]" != "X $srcdir/configure conftest.file" \
770
846
INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s"
771
847
AC_SUBST([INSTALL_STRIP_PROGRAM])])
772
848
 
773
 
# Copyright (C) 2006  Free Software Foundation, Inc.
 
849
# Copyright (C) 2006, 2008  Free Software Foundation, Inc.
774
850
#
775
851
# This file is free software; the Free Software Foundation
776
852
# gives unlimited permission to copy and/or distribute it,
777
853
# with or without modifications, as long as this notice is preserved.
778
854
 
 
855
# serial 2
 
856
 
779
857
# _AM_SUBST_NOTMAKE(VARIABLE)
780
858
# ---------------------------
781
859
# Prevent Automake from outputting VARIABLE = @VARIABLE@ in Makefile.in.
782
860
# This macro is traced by Automake.
783
861
AC_DEFUN([_AM_SUBST_NOTMAKE])
784
862
 
 
863
# AM_SUBST_NOTMAKE(VARIABLE)
 
864
# ---------------------------
 
865
# Public sister of _AM_SUBST_NOTMAKE.
 
866
AC_DEFUN([AM_SUBST_NOTMAKE], [_AM_SUBST_NOTMAKE($@)])
 
867
 
785
868
# Check how to create a tarball.                            -*- Autoconf -*-
786
869
 
787
870
# Copyright (C) 2004, 2005  Free Software Foundation, Inc.