~ubuntu-branches/ubuntu/oneiric/squid3/oneiric-security

« back to all changes in this revision

Viewing changes to lib/libTrie/aclocal.m4

  • Committer: Bazaar Package Importer
  • Author(s): Mahyuddin Susanto
  • Date: 2011-02-15 18:46:13 UTC
  • mfrom: (21.2.4 sid)
  • Revision ID: james.westby@ubuntu.com-20110215184613-1u3dh5sz4i055flk
Tags: 3.1.10-1ubuntu1
* Merge from debian unstable. (LP: #719283)  Remaining changes:
  - debian/patches/18-fix-ftbfs-binutils-gold.dpatch: Add library linker into
    LIBS instead to LDFLAGS to fixing FTBFS binutils-gold.
* Drop Ubuntu configuration for ufw which landed in Debian and sync it: 
  - debian/squid3.ufw.profile.

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
 
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.
546
602
# Add --enable-maintainer-mode option to configure.         -*- Autoconf -*-
547
603
# From Jim Meyering
548
604
 
549
 
# Copyright (C) 1996, 1998, 2000, 2001, 2002, 2003, 2004, 2005
 
605
# Copyright (C) 1996, 1998, 2000, 2001, 2002, 2003, 2004, 2005, 2008
550
606
# Free Software Foundation, Inc.
551
607
#
552
608
# This file is free software; the Free Software Foundation
553
609
# gives unlimited permission to copy and/or distribute it,
554
610
# with or without modifications, as long as this notice is preserved.
555
611
 
556
 
# serial 4
 
612
# serial 5
557
613
 
 
614
# AM_MAINTAINER_MODE([DEFAULT-MODE])
 
615
# ----------------------------------
 
616
# Control maintainer-specific portions of Makefiles.
 
617
# Default is to disable them, unless `enable' is passed literally.
 
618
# For symmetry, `disable' may be passed as well.  Anyway, the user
 
619
# can override the default with the --enable/--disable switch.
558
620
AC_DEFUN([AM_MAINTAINER_MODE],
559
 
[AC_MSG_CHECKING([whether to enable maintainer-specific portions of Makefiles])
560
 
  dnl maintainer-mode is disabled by default
561
 
  AC_ARG_ENABLE(maintainer-mode,
562
 
[  --enable-maintainer-mode  enable make rules and dependencies not useful
 
621
[m4_case(m4_default([$1], [disable]),
 
622
       [enable], [m4_define([am_maintainer_other], [disable])],
 
623
       [disable], [m4_define([am_maintainer_other], [enable])],
 
624
       [m4_define([am_maintainer_other], [enable])
 
625
        m4_warn([syntax], [unexpected argument to AM@&t@_MAINTAINER_MODE: $1])])
 
626
AC_MSG_CHECKING([whether to am_maintainer_other maintainer-specific portions of Makefiles])
 
627
  dnl maintainer-mode's default is 'disable' unless 'enable' is passed
 
628
  AC_ARG_ENABLE([maintainer-mode],
 
629
[  --][am_maintainer_other][-maintainer-mode  am_maintainer_other make rules and dependencies not useful
563
630
                          (and sometimes confusing) to the casual installer],
564
 
      USE_MAINTAINER_MODE=$enableval,
565
 
      USE_MAINTAINER_MODE=no)
 
631
      [USE_MAINTAINER_MODE=$enableval],
 
632
      [USE_MAINTAINER_MODE=]m4_if(am_maintainer_other, [enable], [no], [yes]))
566
633
  AC_MSG_RESULT([$USE_MAINTAINER_MODE])
567
 
  AM_CONDITIONAL(MAINTAINER_MODE, [test $USE_MAINTAINER_MODE = yes])
 
634
  AM_CONDITIONAL([MAINTAINER_MODE], [test $USE_MAINTAINER_MODE = yes])
568
635
  MAINT=$MAINTAINER_MODE_TRUE
569
 
  AC_SUBST(MAINT)dnl
 
636
  AC_SUBST([MAINT])dnl
570
637
]
571
638
)
572
639
 
574
641
 
575
642
# Check to see how 'make' treats includes.                  -*- Autoconf -*-
576
643
 
577
 
# Copyright (C) 2001, 2002, 2003, 2005  Free Software Foundation, Inc.
 
644
# Copyright (C) 2001, 2002, 2003, 2005, 2009  Free Software Foundation, Inc.
578
645
#
579
646
# This file is free software; the Free Software Foundation
580
647
# gives unlimited permission to copy and/or distribute it,
581
648
# with or without modifications, as long as this notice is preserved.
582
649
 
583
 
# serial 3
 
650
# serial 4
584
651
 
585
652
# AM_MAKE_INCLUDE()
586
653
# -----------------
589
656
[am_make=${MAKE-make}
590
657
cat > confinc << 'END'
591
658
am__doit:
592
 
        @echo done
 
659
        @echo this is the am__doit target
593
660
.PHONY: am__doit
594
661
END
595
662
# If we don't find an include directive, just comment out the code.
599
666
_am_result=none
600
667
# First try GNU make style include.
601
668
echo "include confinc" > confmf
602
 
# We grep out `Entering directory' and `Leaving directory'
603
 
# messages which can occur if `w' ends up in MAKEFLAGS.
604
 
# In particular we don't look at `^make:' because GNU make might
605
 
# be invoked under some other name (usually "gmake"), in which
606
 
# case it prints its new name instead of `make'.
607
 
if test "`$am_make -s -f confmf 2> /dev/null | grep -v 'ing directory'`" = "done"; then
608
 
   am__include=include
609
 
   am__quote=
610
 
   _am_result=GNU
611
 
fi
 
669
# Ignore all kinds of additional output from `make'.
 
670
case `$am_make -s -f confmf 2> /dev/null` in #(
 
671
*the\ am__doit\ target*)
 
672
  am__include=include
 
673
  am__quote=
 
674
  _am_result=GNU
 
675
  ;;
 
676
esac
612
677
# Now try BSD make style include.
613
678
if test "$am__include" = "#"; then
614
679
   echo '.include "confinc"' > confmf
615
 
   if test "`$am_make -s -f confmf 2> /dev/null`" = "done"; then
616
 
      am__include=.include
617
 
      am__quote="\""
618
 
      _am_result=BSD
619
 
   fi
 
680
   case `$am_make -s -f confmf 2> /dev/null` in #(
 
681
   *the\ am__doit\ target*)
 
682
     am__include=.include
 
683
     am__quote="\""
 
684
     _am_result=BSD
 
685
     ;;
 
686
   esac
620
687
fi
621
688
AC_SUBST([am__include])
622
689
AC_SUBST([am__quote])
626
693
 
627
694
# Fake the existence of programs that GNU maintainers use.  -*- Autoconf -*-
628
695
 
629
 
# Copyright (C) 1997, 1999, 2000, 2001, 2003, 2004, 2005
 
696
# Copyright (C) 1997, 1999, 2000, 2001, 2003, 2004, 2005, 2008
630
697
# Free Software Foundation, Inc.
631
698
#
632
699
# This file is free software; the Free Software Foundation
633
700
# gives unlimited permission to copy and/or distribute it,
634
701
# with or without modifications, as long as this notice is preserved.
635
702
 
636
 
# serial 5
 
703
# serial 6
637
704
 
638
705
# AM_MISSING_PROG(NAME, PROGRAM)
639
706
# ------------------------------
650
717
AC_DEFUN([AM_MISSING_HAS_RUN],
651
718
[AC_REQUIRE([AM_AUX_DIR_EXPAND])dnl
652
719
AC_REQUIRE_AUX_FILE([missing])dnl
653
 
test x"${MISSING+set}" = xset || MISSING="\${SHELL} $am_aux_dir/missing"
 
720
if test x"${MISSING+set}" != xset; then
 
721
  case $am_aux_dir in
 
722
  *\ * | *\     *)
 
723
    MISSING="\${SHELL} \"$am_aux_dir/missing\"" ;;
 
724
  *)
 
725
    MISSING="\${SHELL} $am_aux_dir/missing" ;;
 
726
  esac
 
727
fi
654
728
# Use eval to expand $SHELL
655
729
if eval "$MISSING --run true"; then
656
730
  am_missing_run="$MISSING --run "
688
762
 
689
763
# Helper functions for option handling.                     -*- Autoconf -*-
690
764
 
691
 
# Copyright (C) 2001, 2002, 2003, 2005  Free Software Foundation, Inc.
 
765
# Copyright (C) 2001, 2002, 2003, 2005, 2008  Free Software Foundation, Inc.
692
766
#
693
767
# This file is free software; the Free Software Foundation
694
768
# gives unlimited permission to copy and/or distribute it,
695
769
# with or without modifications, as long as this notice is preserved.
696
770
 
697
 
# serial 3
 
771
# serial 4
698
772
 
699
773
# _AM_MANGLE_OPTION(NAME)
700
774
# -----------------------
711
785
# ----------------------------------
712
786
# OPTIONS is a space-separated list of Automake options.
713
787
AC_DEFUN([_AM_SET_OPTIONS],
714
 
[AC_FOREACH([_AM_Option], [$1], [_AM_SET_OPTION(_AM_Option)])])
 
788
[m4_foreach_w([_AM_Option], [$1], [_AM_SET_OPTION(_AM_Option)])])
715
789
 
716
790
# _AM_IF_OPTION(OPTION, IF-SET, [IF-NOT-SET])
717
791
# -------------------------------------------
721
795
 
722
796
# Check to make sure that the build environment is sane.    -*- Autoconf -*-
723
797
 
724
 
# Copyright (C) 1996, 1997, 2000, 2001, 2003, 2005
 
798
# Copyright (C) 1996, 1997, 2000, 2001, 2003, 2005, 2008
725
799
# Free Software Foundation, Inc.
726
800
#
727
801
# This file is free software; the Free Software Foundation
728
802
# gives unlimited permission to copy and/or distribute it,
729
803
# with or without modifications, as long as this notice is preserved.
730
804
 
731
 
# serial 4
 
805
# serial 5
732
806
 
733
807
# AM_SANITY_CHECK
734
808
# ---------------
737
811
# Just in case
738
812
sleep 1
739
813
echo timestamp > conftest.file
 
814
# Reject unsafe characters in $srcdir or the absolute working directory
 
815
# name.  Accept space and tab only in the latter.
 
816
am_lf='
 
817
'
 
818
case `pwd` in
 
819
  *[[\\\"\#\$\&\'\`$am_lf]]*)
 
820
    AC_MSG_ERROR([unsafe absolute working directory name]);;
 
821
esac
 
822
case $srcdir in
 
823
  *[[\\\"\#\$\&\'\`$am_lf\ \    ]]*)
 
824
    AC_MSG_ERROR([unsafe srcdir value: `$srcdir']);;
 
825
esac
 
826
 
740
827
# Do `set' in a subshell so we don't clobber the current shell's
741
828
# arguments.  Must try -L first in case configure is actually a
742
829
# symlink; some systems play weird games with the mod time of symlinks
743
830
# (eg FreeBSD returns the mod time of the symlink's containing
744
831
# directory).
745
832
if (
746
 
   set X `ls -Lt $srcdir/configure conftest.file 2> /dev/null`
 
833
   set X `ls -Lt "$srcdir/configure" conftest.file 2> /dev/null`
747
834
   if test "$[*]" = "X"; then
748
835
      # -L didn't work.
749
 
      set X `ls -t $srcdir/configure conftest.file`
 
836
      set X `ls -t "$srcdir/configure" conftest.file`
750
837
   fi
751
838
   rm -f conftest.file
752
839
   if test "$[*]" != "X $srcdir/configure conftest.file" \
799
886
INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s"
800
887
AC_SUBST([INSTALL_STRIP_PROGRAM])])
801
888
 
802
 
# Copyright (C) 2006  Free Software Foundation, Inc.
 
889
# Copyright (C) 2006, 2008  Free Software Foundation, Inc.
803
890
#
804
891
# This file is free software; the Free Software Foundation
805
892
# gives unlimited permission to copy and/or distribute it,
806
893
# with or without modifications, as long as this notice is preserved.
807
894
 
 
895
# serial 2
 
896
 
808
897
# _AM_SUBST_NOTMAKE(VARIABLE)
809
898
# ---------------------------
810
899
# Prevent Automake from outputting VARIABLE = @VARIABLE@ in Makefile.in.
811
900
# This macro is traced by Automake.
812
901
AC_DEFUN([_AM_SUBST_NOTMAKE])
813
902
 
 
903
# AM_SUBST_NOTMAKE(VARIABLE)
 
904
# ---------------------------
 
905
# Public sister of _AM_SUBST_NOTMAKE.
 
906
AC_DEFUN([AM_SUBST_NOTMAKE], [_AM_SUBST_NOTMAKE($@)])
 
907
 
814
908
# Check how to create a tarball.                            -*- Autoconf -*-
815
909
 
816
910
# Copyright (C) 2004, 2005  Free Software Foundation, Inc.