~ubuntu-branches/ubuntu/utopic/texlive-bin/utopic

« back to all changes in this revision

Viewing changes to texk/seetexk/aclocal.m4

  • Committer: Package Import Robot
  • Author(s): Norbert Preining
  • Date: 2012-05-07 10:47:49 UTC
  • mfrom: (1.2.4)
  • Revision ID: package-import@ubuntu.com-20120507104749-p00ot5sajjbkp1hp
Tags: 2011.20120507-1
* new upstream checkout: uptex 1.10
* drop patches for config file inclusion in (x)dvipdfmx, included upstream
* add man page for etex
* include pmpost patches and build it
* adapt/unfuzzify patches for current sources
* disable mtx building, we have prepmx package in Debian

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
 
# generated automatically by aclocal 1.11.4 -*- Autoconf -*-
 
1
# generated automatically by aclocal 1.12 -*- Autoconf -*-
2
2
 
3
3
# Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004,
4
4
# 2005, 2006, 2007, 2008, 2009, 2010, 2011 Free Software Foundation,
14
14
 
15
15
m4_ifndef([AC_AUTOCONF_VERSION],
16
16
  [m4_copy([m4_PACKAGE_VERSION], [AC_AUTOCONF_VERSION])])dnl
17
 
m4_if(m4_defn([AC_AUTOCONF_VERSION]), [2.68],,
18
 
[m4_warning([this file was generated for autoconf 2.68.
 
17
m4_if(m4_defn([AC_AUTOCONF_VERSION]), [2.69],,
 
18
[m4_warning([this file was generated for autoconf 2.69.
19
19
You have another version of autoconf.  It may work, but is not guaranteed to.
20
20
If you have problems, you may need to regenerate the build system entirely.
21
 
To do so, use the procedure documented by the package, typically `autoreconf'.])])
 
21
To do so, use the procedure documented by the package, typically 'autoreconf'.])])
22
22
 
23
 
# Copyright (C) 2002, 2003, 2005, 2006, 2007, 2008, 2011 Free Software
24
 
# Foundation, Inc.
 
23
# Copyright (C) 2002-2012 Free Software Foundation, Inc.
25
24
#
26
25
# This file is free software; the Free Software Foundation
27
26
# gives unlimited permission to copy and/or distribute it,
28
27
# with or without modifications, as long as this notice is preserved.
29
28
 
30
 
# serial 1
 
29
# serial 8
31
30
 
32
31
# AM_AUTOMAKE_VERSION(VERSION)
33
32
# ----------------------------
35
34
# generated from the m4 files accompanying Automake X.Y.
36
35
# (This private macro should not be called outside this file.)
37
36
AC_DEFUN([AM_AUTOMAKE_VERSION],
38
 
[am__api_version='1.11'
 
37
[am__api_version='1.12'
39
38
dnl Some users find AM_AUTOMAKE_VERSION and mistake it for a way to
40
39
dnl require some minimum version.  Point them to the right macro.
41
 
m4_if([$1], [1.11.4], [],
 
40
m4_if([$1], [1.12], [],
42
41
      [AC_FATAL([Do not call $0, use AM_INIT_AUTOMAKE([$1]).])])dnl
43
42
])
44
43
 
54
53
# Call AM_AUTOMAKE_VERSION and AM_AUTOMAKE_VERSION so they can be traced.
55
54
# This function is AC_REQUIREd by AM_INIT_AUTOMAKE.
56
55
AC_DEFUN([AM_SET_CURRENT_AUTOMAKE_VERSION],
57
 
[AM_AUTOMAKE_VERSION([1.11.4])dnl
 
56
[AM_AUTOMAKE_VERSION([1.12])dnl
58
57
m4_ifndef([AC_AUTOCONF_VERSION],
59
58
  [m4_copy([m4_PACKAGE_VERSION], [AC_AUTOCONF_VERSION])])dnl
60
59
_AM_AUTOCONF_VERSION(m4_defn([AC_AUTOCONF_VERSION]))])
61
60
 
62
61
# AM_AUX_DIR_EXPAND                                         -*- Autoconf -*-
63
62
 
64
 
# Copyright (C) 2001, 2003, 2005, 2011 Free Software Foundation, Inc.
 
63
# Copyright (C) 2001-2012 Free Software Foundation, Inc.
65
64
#
66
65
# This file is free software; the Free Software Foundation
67
66
# gives unlimited permission to copy and/or distribute it,
68
67
# with or without modifications, as long as this notice is preserved.
69
68
 
70
 
# serial 1
 
69
# serial 2
71
70
 
72
71
# For projects using AC_CONFIG_AUX_DIR([foo]), Autoconf sets
73
 
# $ac_aux_dir to `$srcdir/foo'.  In other projects, it is set to
74
 
# `$srcdir', `$srcdir/..', or `$srcdir/../..'.
 
72
# $ac_aux_dir to '$srcdir/foo'.  In other projects, it is set to
 
73
# '$srcdir', '$srcdir/..', or '$srcdir/../..'.
75
74
#
76
75
# Of course, Automake must honor this variable whenever it calls a
77
76
# tool from the auxiliary directory.  The problem is that $srcdir (and
90
89
#
91
90
# The reason of the latter failure is that $top_srcdir and $ac_aux_dir
92
91
# are both prefixed by $srcdir.  In an in-source build this is usually
93
 
# harmless because $srcdir is `.', but things will broke when you
 
92
# harmless because $srcdir is '.', but things will broke when you
94
93
# start a VPATH build or use an absolute $srcdir.
95
94
#
96
95
# So we could use something similar to $top_srcdir/$ac_aux_dir/missing,
116
115
 
117
116
# AM_CONDITIONAL                                            -*- Autoconf -*-
118
117
 
119
 
# Copyright (C) 1997, 2000, 2001, 2003, 2004, 2005, 2006, 2008
120
 
# Free Software Foundation, Inc.
 
118
# Copyright (C) 1997-2012 Free Software Foundation, Inc.
121
119
#
122
120
# This file is free software; the Free Software Foundation
123
121
# gives unlimited permission to copy and/or distribute it,
124
122
# with or without modifications, as long as this notice is preserved.
125
123
 
126
 
# serial 9
 
124
# serial 10
127
125
 
128
126
# AM_CONDITIONAL(NAME, SHELL-CONDITION)
129
127
# -------------------------------------
130
128
# Define a conditional.
131
129
AC_DEFUN([AM_CONDITIONAL],
132
 
[AC_PREREQ(2.52)dnl
133
 
 ifelse([$1], [TRUE],  [AC_FATAL([$0: invalid condition: $1])],
134
 
        [$1], [FALSE], [AC_FATAL([$0: invalid condition: $1])])dnl
 
130
[AC_PREREQ([2.52])dnl
 
131
 m4_if([$1], [TRUE],  [AC_FATAL([$0: invalid condition: $1])],
 
132
       [$1], [FALSE], [AC_FATAL([$0: invalid condition: $1])])dnl
135
133
AC_SUBST([$1_TRUE])dnl
136
134
AC_SUBST([$1_FALSE])dnl
137
135
_AM_SUBST_NOTMAKE([$1_TRUE])dnl
150
148
Usually this means the macro was only invoked conditionally.]])
151
149
fi])])
152
150
 
153
 
# Copyright (C) 1999, 2000, 2001, 2002, 2003, 2004, 2005, 2006, 2009,
154
 
# 2010, 2011 Free Software Foundation, Inc.
 
151
# Copyright (C) 1999-2012 Free Software Foundation, Inc.
155
152
#
156
153
# This file is free software; the Free Software Foundation
157
154
# gives unlimited permission to copy and/or distribute it,
158
155
# with or without modifications, as long as this notice is preserved.
159
156
 
160
 
# serial 12
 
157
# serial 16
161
158
 
162
 
# There are a few dirty hacks below to avoid letting `AC_PROG_CC' be
 
159
# There are a few dirty hacks below to avoid letting 'AC_PROG_CC' be
163
160
# written in clear, in which case automake, when reading aclocal.m4,
164
161
# will think it sees a *use*, and therefore will trigger all it's
165
162
# C support machinery.  Also note that it means that autoscan, seeing
182
179
AC_REQUIRE([AM_MAKE_INCLUDE])dnl
183
180
AC_REQUIRE([AM_DEP_TRACK])dnl
184
181
 
185
 
ifelse([$1], CC,   [depcc="$CC"   am_compiler_list=],
186
 
       [$1], CXX,  [depcc="$CXX"  am_compiler_list=],
187
 
       [$1], OBJC, [depcc="$OBJC" am_compiler_list='gcc3 gcc'],
188
 
       [$1], UPC,  [depcc="$UPC"  am_compiler_list=],
189
 
       [$1], GCJ,  [depcc="$GCJ"  am_compiler_list='gcc3 gcc'],
190
 
                   [depcc="$$1"   am_compiler_list=])
 
182
m4_if([$1], [CC],   [depcc="$CC"   am_compiler_list=],
 
183
      [$1], [CXX],  [depcc="$CXX"  am_compiler_list=],
 
184
      [$1], [OBJC], [depcc="$OBJC" am_compiler_list='gcc3 gcc'],
 
185
      [$1], [UPC],  [depcc="$UPC"  am_compiler_list=],
 
186
      [$1], [GCJ],  [depcc="$GCJ"  am_compiler_list='gcc3 gcc'],
 
187
                    [depcc="$$1"   am_compiler_list=])
191
188
 
192
189
AC_CACHE_CHECK([dependency style of $depcc],
193
190
               [am_cv_$1_dependencies_compiler_type],
195
192
  # We make a subdir and do the tests there.  Otherwise we can end up
196
193
  # making bogus files that we don't know about and never remove.  For
197
194
  # instance it was reported that on HP-UX the gcc test will end up
198
 
  # making a dummy file named `D' -- because `-MD' means `put the output
199
 
  # in D'.
 
195
  # making a dummy file named 'D' -- because '-MD' means "put the output
 
196
  # in D".
200
197
  rm -rf conftest.dir
201
198
  mkdir conftest.dir
202
199
  # Copy depcomp to subdir because otherwise we won't find it if we're
236
233
    : > sub/conftest.c
237
234
    for i in 1 2 3 4 5 6; do
238
235
      echo '#include "conftst'$i'.h"' >> sub/conftest.c
239
 
      # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
240
 
      # Solaris 8's {/usr,}/bin/sh.
241
 
      touch sub/conftst$i.h
 
236
      # Using ": > sub/conftst$i.h" creates only sub/conftst1.h with
 
237
      # Solaris 10 /bin/sh.
 
238
      echo '/* dummy */' > sub/conftst$i.h
242
239
    done
243
240
    echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
244
241
 
245
 
    # We check with `-c' and `-o' for the sake of the "dashmstdout"
 
242
    # We check with '-c' and '-o' for the sake of the "dashmstdout"
246
243
    # mode.  It turns out that the SunPro C++ compiler does not properly
247
 
    # handle `-M -o', and we need to detect this.  Also, some Intel
248
 
    # versions had trouble with output in subdirs
 
244
    # handle '-M -o', and we need to detect this.  Also, some Intel
 
245
    # versions had trouble with output in subdirs.
249
246
    am__obj=sub/conftest.${OBJEXT-o}
250
247
    am__minus_obj="-o $am__obj"
251
248
    case $depmode in
254
251
      test "$am__universal" = false || continue
255
252
      ;;
256
253
    nosideeffect)
257
 
      # after this tag, mechanisms are not by side-effect, so they'll
258
 
      # only be used when explicitly requested
 
254
      # After this tag, mechanisms are not by side-effect, so they'll
 
255
      # only be used when explicitly requested.
259
256
      if test "x$enable_dependency_tracking" = xyes; then
260
257
        continue
261
258
      else
263
260
      fi
264
261
      ;;
265
262
    msvc7 | msvc7msys | msvisualcpp | msvcmsys)
266
 
      # This compiler won't grok `-c -o', but also, the minuso test has
 
263
      # This compiler won't grok '-c -o', but also, the minuso test has
267
264
      # not run yet.  These depmodes are late enough in the game, and
268
265
      # so weak that their functioning should not be impacted.
269
266
      am__obj=conftest.${OBJEXT-o}
311
308
# AM_SET_DEPDIR
312
309
# -------------
313
310
# Choose a directory name for dependency files.
314
 
# This macro is AC_REQUIREd in _AM_DEPENDENCIES
 
311
# This macro is AC_REQUIREd in _AM_DEPENDENCIES.
315
312
AC_DEFUN([AM_SET_DEPDIR],
316
313
[AC_REQUIRE([AM_SET_LEADING_DOT])dnl
317
314
AC_SUBST([DEPDIR], ["${am__leading_dot}deps"])dnl
321
318
# AM_DEP_TRACK
322
319
# ------------
323
320
AC_DEFUN([AM_DEP_TRACK],
324
 
[AC_ARG_ENABLE(dependency-tracking,
325
 
[  --disable-dependency-tracking  speeds up one-time build
326
 
  --enable-dependency-tracking   do not reject slow dependency extractors])
 
321
[AC_ARG_ENABLE([dependency-tracking], [dnl
 
322
AS_HELP_STRING(
 
323
  [--enable-dependency-tracking],
 
324
  [do not reject slow dependency extractors])
 
325
AS_HELP_STRING(
 
326
  [--disable-dependency-tracking],
 
327
  [speeds up one-time build])])
327
328
if test "x$enable_dependency_tracking" != xno; then
328
329
  am_depcomp="$ac_aux_dir/depcomp"
329
330
  AMDEPBACKSLASH='\'
338
339
 
339
340
# Generate code to set up dependency tracking.              -*- Autoconf -*-
340
341
 
341
 
# Copyright (C) 1999, 2000, 2001, 2002, 2003, 2004, 2005, 2008
342
 
# Free Software Foundation, Inc.
 
342
# Copyright (C) 1999-2012 Free Software Foundation, Inc.
343
343
#
344
344
# This file is free software; the Free Software Foundation
345
345
# gives unlimited permission to copy and/or distribute it,
346
346
# with or without modifications, as long as this notice is preserved.
347
347
 
348
 
#serial 5
 
348
# serial 6
349
349
 
350
350
# _AM_OUTPUT_DEPENDENCY_COMMANDS
351
351
# ------------------------------
364
364
    # Strip MF so we end up with the name of the file.
365
365
    mf=`echo "$mf" | sed -e 's/:.*$//'`
366
366
    # Check whether this is an Automake generated Makefile or not.
367
 
    # We used to match only the files named `Makefile.in', but
 
367
    # We used to match only the files named 'Makefile.in', but
368
368
    # some people rename them; so instead we look at the file content.
369
369
    # Grep'ing the first line is not enough: some people post-process
370
370
    # each Makefile.in and add a new line on top of each file to say so.
376
376
      continue
377
377
    fi
378
378
    # Extract the definition of DEPDIR, am__include, and am__quote
379
 
    # from the Makefile without running `make'.
 
379
    # from the Makefile without running 'make'.
380
380
    DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"`
381
381
    test -z "$DEPDIR" && continue
382
382
    am__include=`sed -n 's/^am__include = //p' < "$mf"`
383
383
    test -z "am__include" && continue
384
384
    am__quote=`sed -n 's/^am__quote = //p' < "$mf"`
385
 
    # When using ansi2knr, U may be empty or an underscore; expand it
386
 
    U=`sed -n 's/^U = //p' < "$mf"`
387
385
    # Find all dependency output files, they are included files with
388
386
    # $(DEPDIR) in their names.  We invoke sed twice because it is the
389
387
    # simplest approach to changing $(DEPDIR) to its actual value in the
390
388
    # expansion.
391
389
    for file in `sed -n "
392
390
      s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
393
 
         sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do
 
391
         sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g'`; do
394
392
      # Make sure the directory exists.
395
393
      test -f "$dirpart/$file" && continue
396
394
      fdir=`AS_DIRNAME(["$file"])`
408
406
# This macro should only be invoked once -- use via AC_REQUIRE.
409
407
#
410
408
# This code is only required when automatic dependency tracking
411
 
# is enabled.  FIXME.  This creates each `.P' file that we will
 
409
# is enabled.  FIXME.  This creates each '.P' file that we will
412
410
# need in order to bootstrap the dependency handling code.
413
411
AC_DEFUN([AM_OUTPUT_DEPENDENCY_COMMANDS],
414
412
[AC_CONFIG_COMMANDS([depfiles],
418
416
 
419
417
# Do all the work for Automake.                             -*- Autoconf -*-
420
418
 
421
 
# Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004,
422
 
# 2005, 2006, 2008, 2009 Free Software Foundation, Inc.
 
419
# Copyright (C) 1996-2012 Free Software Foundation, Inc.
423
420
#
424
421
# This file is free software; the Free Software Foundation
425
422
# gives unlimited permission to copy and/or distribute it,
426
423
# with or without modifications, as long as this notice is preserved.
427
424
 
428
 
# serial 16
 
425
# serial 18
429
426
 
430
427
# This macro actually does too much.  Some checks are only needed if
431
428
# your package does certain things.  But this isn't really a big deal.
476
473
 AC_SUBST([VERSION], [$2])],
477
474
[_AM_SET_OPTIONS([$1])dnl
478
475
dnl Diagnose old-style AC_INIT with new-style AM_AUTOMAKE_INIT.
479
 
m4_if(m4_ifdef([AC_PACKAGE_NAME], 1)m4_ifdef([AC_PACKAGE_VERSION], 1), 11,,
 
476
m4_if(
 
477
  m4_ifdef([AC_PACKAGE_NAME], [ok]):m4_ifdef([AC_PACKAGE_VERSION], [ok]),
 
478
  [ok:ok],,
480
479
  [m4_fatal([AC_INIT should be called with package and version arguments])])dnl
481
480
 AC_SUBST([PACKAGE], ['AC_PACKAGE_TARNAME'])dnl
482
481
 AC_SUBST([VERSION], ['AC_PACKAGE_VERSION'])])dnl
483
482
 
484
483
_AM_IF_OPTION([no-define],,
485
 
[AC_DEFINE_UNQUOTED(PACKAGE, "$PACKAGE", [Name of package])
486
 
 AC_DEFINE_UNQUOTED(VERSION, "$VERSION", [Version number of package])])dnl
 
484
[AC_DEFINE_UNQUOTED([PACKAGE], ["$PACKAGE"], [Name of package])
 
485
 AC_DEFINE_UNQUOTED([VERSION], ["$VERSION"], [Version number of package])])dnl
487
486
 
488
487
# Some tools Automake needs.
489
488
AC_REQUIRE([AM_SANITY_CHECK])dnl
490
489
AC_REQUIRE([AC_ARG_PROGRAM])dnl
491
 
AM_MISSING_PROG(ACLOCAL, aclocal-${am__api_version})
492
 
AM_MISSING_PROG(AUTOCONF, autoconf)
493
 
AM_MISSING_PROG(AUTOMAKE, automake-${am__api_version})
494
 
AM_MISSING_PROG(AUTOHEADER, autoheader)
495
 
AM_MISSING_PROG(MAKEINFO, makeinfo)
 
490
AM_MISSING_PROG([ACLOCAL], [aclocal-${am__api_version}])
 
491
AM_MISSING_PROG([AUTOCONF], [autoconf])
 
492
AM_MISSING_PROG([AUTOMAKE], [automake-${am__api_version}])
 
493
AM_MISSING_PROG([AUTOHEADER], [autoheader])
 
494
AM_MISSING_PROG([MAKEINFO], [makeinfo])
496
495
AC_REQUIRE([AM_PROG_INSTALL_SH])dnl
497
496
AC_REQUIRE([AM_PROG_INSTALL_STRIP])dnl
498
497
AC_REQUIRE([AM_PROG_MKDIR_P])dnl
506
505
                             [_AM_PROG_TAR([v7])])])
507
506
_AM_IF_OPTION([no-dependencies],,
508
507
[AC_PROVIDE_IFELSE([AC_PROG_CC],
509
 
                  [_AM_DEPENDENCIES(CC)],
 
508
                  [_AM_DEPENDENCIES([CC])],
510
509
                  [define([AC_PROG_CC],
511
 
                          defn([AC_PROG_CC])[_AM_DEPENDENCIES(CC)])])dnl
 
510
                          defn([AC_PROG_CC])[_AM_DEPENDENCIES([CC])])])dnl
512
511
AC_PROVIDE_IFELSE([AC_PROG_CXX],
513
 
                  [_AM_DEPENDENCIES(CXX)],
 
512
                  [_AM_DEPENDENCIES([CXX])],
514
513
                  [define([AC_PROG_CXX],
515
 
                          defn([AC_PROG_CXX])[_AM_DEPENDENCIES(CXX)])])dnl
 
514
                          defn([AC_PROG_CXX])[_AM_DEPENDENCIES([CXX])])])dnl
516
515
AC_PROVIDE_IFELSE([AC_PROG_OBJC],
517
 
                  [_AM_DEPENDENCIES(OBJC)],
 
516
                  [_AM_DEPENDENCIES([OBJC])],
518
517
                  [define([AC_PROG_OBJC],
519
 
                          defn([AC_PROG_OBJC])[_AM_DEPENDENCIES(OBJC)])])dnl
 
518
                          defn([AC_PROG_OBJC])[_AM_DEPENDENCIES([OBJC])])])dnl
520
519
])
521
520
_AM_IF_OPTION([silent-rules], [AC_REQUIRE([AM_SILENT_RULES])])dnl
522
 
dnl The `parallel-tests' driver may need to know about EXEEXT, so add the
523
 
dnl `am__EXEEXT' conditional if _AM_COMPILER_EXEEXT was seen.  This macro
 
521
dnl The 'parallel-tests' driver may need to know about EXEEXT, so add the
 
522
dnl 'am__EXEEXT' conditional if _AM_COMPILER_EXEEXT was seen.  This macro
524
523
dnl is hooked onto _AC_COMPILER_EXEEXT early, see below.
525
524
AC_CONFIG_COMMANDS_PRE(dnl
526
525
[m4_provide_if([_AM_COMPILER_EXEEXT],
527
526
  [AM_CONDITIONAL([am__EXEEXT], [test -n "$EXEEXT"])])])dnl
528
527
])
529
528
 
530
 
dnl Hook into `_AC_COMPILER_EXEEXT' early to learn its expansion.  Do not
 
529
dnl Hook into '_AC_COMPILER_EXEEXT' early to learn its expansion.  Do not
531
530
dnl add the conditional right here, as _AC_COMPILER_EXEEXT may be further
532
531
dnl mangled by Autoconf and run in a shell conditional statement.
533
532
m4_define([_AC_COMPILER_EXEEXT],
555
554
done
556
555
echo "timestamp for $_am_arg" >`AS_DIRNAME(["$_am_arg"])`/stamp-h[]$_am_stamp_count])
557
556
 
558
 
# Copyright (C) 2001, 2003, 2005, 2008, 2011 Free Software Foundation,
559
 
# Inc.
 
557
# Copyright (C) 2001-2012 Free Software Foundation, Inc.
560
558
#
561
559
# This file is free software; the Free Software Foundation
562
560
# gives unlimited permission to copy and/or distribute it,
563
561
# with or without modifications, as long as this notice is preserved.
564
562
 
565
 
# serial 1
 
563
# serial 8
566
564
 
567
565
# AM_PROG_INSTALL_SH
568
566
# ------------------
577
575
    install_sh="\${SHELL} $am_aux_dir/install-sh"
578
576
  esac
579
577
fi
580
 
AC_SUBST(install_sh)])
 
578
AC_SUBST([install_sh])])
581
579
 
582
 
# Copyright (C) 2003, 2005  Free Software Foundation, Inc.
 
580
# Copyright (C) 2003-2012 Free Software Foundation, Inc.
583
581
#
584
582
# This file is free software; the Free Software Foundation
585
583
# gives unlimited permission to copy and/or distribute it,
603
601
# Add --enable-maintainer-mode option to configure.         -*- Autoconf -*-
604
602
# From Jim Meyering
605
603
 
606
 
# Copyright (C) 1996, 1998, 2000, 2001, 2002, 2003, 2004, 2005, 2008,
607
 
# 2011 Free Software Foundation, Inc.
 
604
# Copyright (C) 1996-2012 Free Software Foundation, Inc.
608
605
#
609
606
# This file is free software; the Free Software Foundation
610
607
# gives unlimited permission to copy and/or distribute it,
611
608
# with or without modifications, as long as this notice is preserved.
612
609
 
613
 
# serial 5
 
610
# serial 7
614
611
 
615
612
# AM_MAINTAINER_MODE([DEFAULT-MODE])
616
613
# ----------------------------------
617
614
# Control maintainer-specific portions of Makefiles.
618
 
# Default is to disable them, unless `enable' is passed literally.
619
 
# For symmetry, `disable' may be passed as well.  Anyway, the user
 
615
# Default is to disable them, unless 'enable' is passed literally.
 
616
# For symmetry, 'disable' may be passed as well.  Anyway, the user
620
617
# can override the default with the --enable/--disable switch.
621
618
AC_DEFUN([AM_MAINTAINER_MODE],
622
619
[m4_case(m4_default([$1], [disable]),
627
624
AC_MSG_CHECKING([whether to enable maintainer-specific portions of Makefiles])
628
625
  dnl maintainer-mode's default is 'disable' unless 'enable' is passed
629
626
  AC_ARG_ENABLE([maintainer-mode],
630
 
[  --][am_maintainer_other][-maintainer-mode  am_maintainer_other make rules and dependencies not useful
631
 
                          (and sometimes confusing) to the casual installer],
632
 
      [USE_MAINTAINER_MODE=$enableval],
633
 
      [USE_MAINTAINER_MODE=]m4_if(am_maintainer_other, [enable], [no], [yes]))
 
627
    [AS_HELP_STRING([--]am_maintainer_other[-maintainer-mode],
 
628
      am_maintainer_other[ make rules and dependencies not useful
 
629
      (and sometimes confusing) to the casual installer])],
 
630
    [USE_MAINTAINER_MODE=$enableval],
 
631
    [USE_MAINTAINER_MODE=]m4_if(am_maintainer_other, [enable], [no], [yes]))
634
632
  AC_MSG_RESULT([$USE_MAINTAINER_MODE])
635
633
  AM_CONDITIONAL([MAINTAINER_MODE], [test $USE_MAINTAINER_MODE = yes])
636
634
  MAINT=$MAINTAINER_MODE_TRUE
642
640
 
643
641
# Check to see how 'make' treats includes.                  -*- Autoconf -*-
644
642
 
645
 
# Copyright (C) 2001, 2002, 2003, 2005, 2009  Free Software Foundation, Inc.
 
643
# Copyright (C) 2001-2012 Free Software Foundation, Inc.
646
644
#
647
645
# This file is free software; the Free Software Foundation
648
646
# gives unlimited permission to copy and/or distribute it,
649
647
# with or without modifications, as long as this notice is preserved.
650
648
 
651
 
# serial 4
 
649
# serial 5
652
650
 
653
651
# AM_MAKE_INCLUDE()
654
652
# -----------------
667
665
_am_result=none
668
666
# First try GNU make style include.
669
667
echo "include confinc" > confmf
670
 
# Ignore all kinds of additional output from `make'.
 
668
# Ignore all kinds of additional output from 'make'.
671
669
case `$am_make -s -f confmf 2> /dev/null` in #(
672
670
*the\ am__doit\ target*)
673
671
  am__include=include
694
692
 
695
693
# Fake the existence of programs that GNU maintainers use.  -*- Autoconf -*-
696
694
 
697
 
# Copyright (C) 1997, 1999, 2000, 2001, 2003, 2004, 2005, 2008
698
 
# Free Software Foundation, Inc.
 
695
# Copyright (C) 1997-2012 Free Software Foundation, Inc.
699
696
#
700
697
# This file is free software; the Free Software Foundation
701
698
# gives unlimited permission to copy and/or distribute it,
702
699
# with or without modifications, as long as this notice is preserved.
703
700
 
704
 
# serial 6
 
701
# serial 7
705
702
 
706
703
# AM_MISSING_PROG(NAME, PROGRAM)
707
704
# ------------------------------
731
728
  am_missing_run="$MISSING --run "
732
729
else
733
730
  am_missing_run=
734
 
  AC_MSG_WARN([`missing' script is too old or missing])
 
731
  AC_MSG_WARN(['missing' script is too old or missing])
735
732
fi
736
733
])
737
734
 
738
 
# Copyright (C) 2003, 2004, 2005, 2006, 2011 Free Software Foundation,
739
 
# Inc.
 
735
# Copyright (C) 2003-2012 Free Software Foundation, Inc.
740
736
#
741
737
# This file is free software; the Free Software Foundation
742
738
# gives unlimited permission to copy and/or distribute it,
743
739
# with or without modifications, as long as this notice is preserved.
744
740
 
745
 
# serial 1
 
741
# serial 2
746
742
 
747
743
# AM_PROG_MKDIR_P
748
744
# ---------------
749
 
# Check for `mkdir -p'.
 
745
# Check for 'mkdir -p'.
750
746
AC_DEFUN([AM_PROG_MKDIR_P],
751
747
[AC_PREREQ([2.60])dnl
752
748
AC_REQUIRE([AC_PROG_MKDIR_P])dnl
766
762
 
767
763
# Helper functions for option handling.                     -*- Autoconf -*-
768
764
 
769
 
# Copyright (C) 2001, 2002, 2003, 2005, 2008, 2010 Free Software
770
 
# Foundation, Inc.
 
765
# Copyright (C) 2001-2012 Free Software Foundation, Inc.
771
766
#
772
767
# This file is free software; the Free Software Foundation
773
768
# gives unlimited permission to copy and/or distribute it,
774
769
# with or without modifications, as long as this notice is preserved.
775
770
 
776
 
# serial 5
 
771
# serial 6
777
772
 
778
773
# _AM_MANGLE_OPTION(NAME)
779
774
# -----------------------
784
779
# --------------------
785
780
# Set option NAME.  Presently that only means defining a flag for this option.
786
781
AC_DEFUN([_AM_SET_OPTION],
787
 
[m4_define(_AM_MANGLE_OPTION([$1]), 1)])
 
782
[m4_define(_AM_MANGLE_OPTION([$1]), [1])])
788
783
 
789
784
# _AM_SET_OPTIONS(OPTIONS)
790
785
# ------------------------
800
795
 
801
796
# Check to make sure that the build environment is sane.    -*- Autoconf -*-
802
797
 
803
 
# Copyright (C) 1996, 1997, 2000, 2001, 2003, 2005, 2008
804
 
# Free Software Foundation, Inc.
 
798
# Copyright (C) 1996-2012 Free Software Foundation, Inc.
805
799
#
806
800
# This file is free software; the Free Software Foundation
807
801
# gives unlimited permission to copy and/or distribute it,
808
802
# with or without modifications, as long as this notice is preserved.
809
803
 
810
 
# serial 5
 
804
# serial 9
811
805
 
812
806
# AM_SANITY_CHECK
813
807
# ---------------
814
808
AC_DEFUN([AM_SANITY_CHECK],
815
809
[AC_MSG_CHECKING([whether build environment is sane])
816
 
# Just in case
817
 
sleep 1
818
 
echo timestamp > conftest.file
819
810
# Reject unsafe characters in $srcdir or the absolute working directory
820
811
# name.  Accept space and tab only in the latter.
821
812
am_lf='
826
817
esac
827
818
case $srcdir in
828
819
  *[[\\\"\#\$\&\'\`$am_lf\ \    ]]*)
829
 
    AC_MSG_ERROR([unsafe srcdir value: `$srcdir']);;
 
820
    AC_MSG_ERROR([unsafe srcdir value: '$srcdir']);;
830
821
esac
831
822
 
832
 
# Do `set' in a subshell so we don't clobber the current shell's
 
823
# Do 'set' in a subshell so we don't clobber the current shell's
833
824
# arguments.  Must try -L first in case configure is actually a
834
825
# symlink; some systems play weird games with the mod time of symlinks
835
826
# (eg FreeBSD returns the mod time of the symlink's containing
836
827
# directory).
837
828
if (
838
 
   set X `ls -Lt "$srcdir/configure" conftest.file 2> /dev/null`
839
 
   if test "$[*]" = "X"; then
840
 
      # -L didn't work.
841
 
      set X `ls -t "$srcdir/configure" conftest.file`
842
 
   fi
843
 
   rm -f conftest.file
844
 
   if test "$[*]" != "X $srcdir/configure conftest.file" \
845
 
      && test "$[*]" != "X conftest.file $srcdir/configure"; then
846
 
 
847
 
      # If neither matched, then we have a broken ls.  This can happen
848
 
      # if, for instance, CONFIG_SHELL is bash and it inherits a
849
 
      # broken ls alias from the environment.  This has actually
850
 
      # happened.  Such a system could not be considered "sane".
851
 
      AC_MSG_ERROR([ls -t appears to fail.  Make sure there is not a broken
852
 
alias in your environment])
853
 
   fi
854
 
 
 
829
   am_has_slept=no
 
830
   for am_try in 1 2; do
 
831
     echo "timestamp, slept: $am_has_slept" > conftest.file
 
832
     set X `ls -Lt "$srcdir/configure" conftest.file 2> /dev/null`
 
833
     if test "$[*]" = "X"; then
 
834
        # -L didn't work.
 
835
        set X `ls -t "$srcdir/configure" conftest.file`
 
836
     fi
 
837
     if test "$[*]" != "X $srcdir/configure conftest.file" \
 
838
        && test "$[*]" != "X conftest.file $srcdir/configure"; then
 
839
 
 
840
        # If neither matched, then we have a broken ls.  This can happen
 
841
        # if, for instance, CONFIG_SHELL is bash and it inherits a
 
842
        # broken ls alias from the environment.  This has actually
 
843
        # happened.  Such a system could not be considered "sane".
 
844
        AC_MSG_ERROR([ls -t appears to fail.  Make sure there is not a broken
 
845
  alias in your environment])
 
846
     fi
 
847
     if test "$[2]" = conftest.file || test $am_try -eq 2; then
 
848
       break
 
849
     fi
 
850
     # Just in case.
 
851
     sleep 1
 
852
     am_has_slept=yes
 
853
   done
855
854
   test "$[2]" = conftest.file
856
855
   )
857
856
then
861
860
   AC_MSG_ERROR([newly created file is older than distributed files!
862
861
Check your system clock])
863
862
fi
864
 
AC_MSG_RESULT(yes)])
 
863
AC_MSG_RESULT([yes])
 
864
# If we didn't sleep, we still need to ensure time stamps of config.status and
 
865
# generated files are strictly newer.
 
866
am_sleep_pid=
 
867
if grep 'slept: no' conftest.file >/dev/null 2>&1; then
 
868
  ( sleep 1 ) &
 
869
  am_sleep_pid=$!
 
870
fi
 
871
AC_CONFIG_COMMANDS_PRE(
 
872
  [AC_MSG_CHECKING([that generated files are newer than configure])
 
873
   if test -n "$am_sleep_pid"; then
 
874
     # Hide warnings about reused PIDs.
 
875
     wait $am_sleep_pid 2>/dev/null
 
876
   fi
 
877
   AC_MSG_RESULT([done])])
 
878
rm -f conftest.file
 
879
])
865
880
 
866
 
# Copyright (C) 2001, 2003, 2005, 2011 Free Software Foundation, Inc.
 
881
# Copyright (C) 2001-2012 Free Software Foundation, Inc.
867
882
#
868
883
# This file is free software; the Free Software Foundation
869
884
# gives unlimited permission to copy and/or distribute it,
870
885
# with or without modifications, as long as this notice is preserved.
871
886
 
872
 
# serial 1
 
887
# serial 2
873
888
 
874
889
# AM_PROG_INSTALL_STRIP
875
890
# ---------------------
876
 
# One issue with vendor `install' (even GNU) is that you can't
 
891
# One issue with vendor 'install' (even GNU) is that you can't
877
892
# specify the program used to strip binaries.  This is especially
878
893
# annoying in cross-compiling environments, where the build's strip
879
894
# is unlikely to handle the host's binaries.
880
895
# Fortunately install-sh will honor a STRIPPROG variable, so we
881
 
# always use install-sh in `make install-strip', and initialize
 
896
# always use install-sh in "make install-strip", and initialize
882
897
# STRIPPROG with the value of the STRIP variable (set by the user).
883
898
AC_DEFUN([AM_PROG_INSTALL_STRIP],
884
899
[AC_REQUIRE([AM_PROG_INSTALL_SH])dnl
885
 
# Installed binaries are usually stripped using `strip' when the user
886
 
# run `make install-strip'.  However `strip' might not be the right
 
900
# Installed binaries are usually stripped using 'strip' when the user
 
901
# run "make install-strip".  However 'strip' might not be the right
887
902
# tool to use in cross-compilation environments, therefore Automake
888
 
# will honor the `STRIP' environment variable to overrule this program.
889
 
dnl Don't test for $cross_compiling = yes, because it might be `maybe'.
 
903
# will honor the 'STRIP' environment variable to overrule this program.
 
904
dnl Don't test for $cross_compiling = yes, because it might be 'maybe'.
890
905
if test "$cross_compiling" != no; then
891
906
  AC_CHECK_TOOL([STRIP], [strip], :)
892
907
fi
893
908
INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s"
894
909
AC_SUBST([INSTALL_STRIP_PROGRAM])])
895
910
 
896
 
# Copyright (C) 2006, 2008, 2010 Free Software Foundation, Inc.
 
911
# Copyright (C) 2006-2012 Free Software Foundation, Inc.
897
912
#
898
913
# This file is free software; the Free Software Foundation
899
914
# gives unlimited permission to copy and/or distribute it,
914
929
 
915
930
# Check how to create a tarball.                            -*- Autoconf -*-
916
931
 
917
 
# Copyright (C) 2004, 2005, 2012 Free Software Foundation, Inc.
 
932
# Copyright (C) 2004-2012 Free Software Foundation, Inc.
918
933
#
919
934
# This file is free software; the Free Software Foundation
920
935
# gives unlimited permission to copy and/or distribute it,
921
936
# with or without modifications, as long as this notice is preserved.
922
937
 
923
 
# serial 2
 
938
# serial 3
924
939
 
925
940
# _AM_PROG_TAR(FORMAT)
926
941
# --------------------
927
942
# Check how to create a tarball in format FORMAT.
928
 
# FORMAT should be one of `v7', `ustar', or `pax'.
 
943
# FORMAT should be one of 'v7', 'ustar', or 'pax'.
929
944
#
930
945
# Substitute a variable $(am__tar) that is a command
931
946
# writing to stdout a FORMAT-tarball containing the directory
948
963
_am_tools='gnutar m4_if([$1], [ustar], [plaintar]) pax cpio none'
949
964
_am_tools=${am_cv_prog_tar_$1-$_am_tools}
950
965
# Do not fold the above two line into one, because Tru64 sh and
951
 
# Solaris sh will not grok spaces in the rhs of `-'.
 
966
# Solaris sh will not grok spaces in the rhs of '-'.
952
967
for _am_tool in $_am_tools
953
968
do
954
969
  case $_am_tool in