~ubuntu-branches/ubuntu/natty/glibmm2.4/natty

« back to all changes in this revision

Viewing changes to aclocal.m4

  • Committer: Bazaar Package Importer
  • Author(s): Sebastien Bacher
  • Date: 2010-03-29 17:46:35 UTC
  • mfrom: (1.2.44 upstream)
  • Revision ID: james.westby@ubuntu.com-20100329174635-9ydy005cl46l87yy
Tags: 2.24.0-0ubuntu1
* New upstream version
* debian/control.in:
  - updated glib requirement

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
 
# generated automatically by aclocal 1.10.1 -*- Autoconf -*-
 
1
# generated automatically by aclocal 1.11 -*- Autoconf -*-
2
2
 
3
3
# Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004,
4
 
# 2005, 2006, 2007, 2008  Free Software Foundation, Inc.
 
4
# 2005, 2006, 2007, 2008, 2009  Free Software Foundation, Inc.
5
5
# This file is free software; the Free Software Foundation
6
6
# gives unlimited permission to copy and/or distribute it,
7
7
# with or without modifications, as long as this notice is preserved.
13
13
 
14
14
m4_ifndef([AC_AUTOCONF_VERSION],
15
15
  [m4_copy([m4_PACKAGE_VERSION], [AC_AUTOCONF_VERSION])])dnl
16
 
m4_if(AC_AUTOCONF_VERSION, [2.63],,
17
 
[m4_warning([this file was generated for autoconf 2.63.
 
16
m4_if(m4_defn([AC_AUTOCONF_VERSION]), [2.65],,
 
17
[m4_warning([this file was generated for autoconf 2.65.
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], [],
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])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.
534
590
# Add --enable-maintainer-mode option to configure.         -*- Autoconf -*-
535
591
# From Jim Meyering
536
592
 
537
 
# Copyright (C) 1996, 1998, 2000, 2001, 2002, 2003, 2004, 2005
 
593
# Copyright (C) 1996, 1998, 2000, 2001, 2002, 2003, 2004, 2005, 2008
538
594
# Free Software Foundation, Inc.
539
595
#
540
596
# This file is free software; the Free Software Foundation
541
597
# gives unlimited permission to copy and/or distribute it,
542
598
# with or without modifications, as long as this notice is preserved.
543
599
 
544
 
# serial 4
 
600
# serial 5
545
601
 
 
602
# AM_MAINTAINER_MODE([DEFAULT-MODE])
 
603
# ----------------------------------
 
604
# Control maintainer-specific portions of Makefiles.
 
605
# Default is to disable them, unless `enable' is passed literally.
 
606
# For symmetry, `disable' may be passed as well.  Anyway, the user
 
607
# can override the default with the --enable/--disable switch.
546
608
AC_DEFUN([AM_MAINTAINER_MODE],
547
 
[AC_MSG_CHECKING([whether to enable maintainer-specific portions of Makefiles])
548
 
  dnl maintainer-mode is disabled by default
549
 
  AC_ARG_ENABLE(maintainer-mode,
550
 
[  --enable-maintainer-mode  enable make rules and dependencies not useful
 
609
[m4_case(m4_default([$1], [disable]),
 
610
       [enable], [m4_define([am_maintainer_other], [disable])],
 
611
       [disable], [m4_define([am_maintainer_other], [enable])],
 
612
       [m4_define([am_maintainer_other], [enable])
 
613
        m4_warn([syntax], [unexpected argument to AM@&t@_MAINTAINER_MODE: $1])])
 
614
AC_MSG_CHECKING([whether to am_maintainer_other maintainer-specific portions of Makefiles])
 
615
  dnl maintainer-mode's default is 'disable' unless 'enable' is passed
 
616
  AC_ARG_ENABLE([maintainer-mode],
 
617
[  --][am_maintainer_other][-maintainer-mode  am_maintainer_other make rules and dependencies not useful
551
618
                          (and sometimes confusing) to the casual installer],
552
 
      USE_MAINTAINER_MODE=$enableval,
553
 
      USE_MAINTAINER_MODE=no)
 
619
      [USE_MAINTAINER_MODE=$enableval],
 
620
      [USE_MAINTAINER_MODE=]m4_if(am_maintainer_other, [enable], [no], [yes]))
554
621
  AC_MSG_RESULT([$USE_MAINTAINER_MODE])
555
 
  AM_CONDITIONAL(MAINTAINER_MODE, [test $USE_MAINTAINER_MODE = yes])
 
622
  AM_CONDITIONAL([MAINTAINER_MODE], [test $USE_MAINTAINER_MODE = yes])
556
623
  MAINT=$MAINTAINER_MODE_TRUE
557
 
  AC_SUBST(MAINT)dnl
 
624
  AC_SUBST([MAINT])dnl
558
625
]
559
626
)
560
627
 
562
629
 
563
630
# Check to see how 'make' treats includes.                  -*- Autoconf -*-
564
631
 
565
 
# Copyright (C) 2001, 2002, 2003, 2005  Free Software Foundation, Inc.
 
632
# Copyright (C) 2001, 2002, 2003, 2005, 2009  Free Software Foundation, Inc.
566
633
#
567
634
# This file is free software; the Free Software Foundation
568
635
# gives unlimited permission to copy and/or distribute it,
569
636
# with or without modifications, as long as this notice is preserved.
570
637
 
571
 
# serial 3
 
638
# serial 4
572
639
 
573
640
# AM_MAKE_INCLUDE()
574
641
# -----------------
577
644
[am_make=${MAKE-make}
578
645
cat > confinc << 'END'
579
646
am__doit:
580
 
        @echo done
 
647
        @echo this is the am__doit target
581
648
.PHONY: am__doit
582
649
END
583
650
# If we don't find an include directive, just comment out the code.
587
654
_am_result=none
588
655
# First try GNU make style include.
589
656
echo "include confinc" > confmf
590
 
# We grep out `Entering directory' and `Leaving directory'
591
 
# messages which can occur if `w' ends up in MAKEFLAGS.
592
 
# In particular we don't look at `^make:' because GNU make might
593
 
# be invoked under some other name (usually "gmake"), in which
594
 
# case it prints its new name instead of `make'.
595
 
if test "`$am_make -s -f confmf 2> /dev/null | grep -v 'ing directory'`" = "done"; then
596
 
   am__include=include
597
 
   am__quote=
598
 
   _am_result=GNU
599
 
fi
 
657
# Ignore all kinds of additional output from `make'.
 
658
case `$am_make -s -f confmf 2> /dev/null` in #(
 
659
*the\ am__doit\ target*)
 
660
  am__include=include
 
661
  am__quote=
 
662
  _am_result=GNU
 
663
  ;;
 
664
esac
600
665
# Now try BSD make style include.
601
666
if test "$am__include" = "#"; then
602
667
   echo '.include "confinc"' > confmf
603
 
   if test "`$am_make -s -f confmf 2> /dev/null`" = "done"; then
604
 
      am__include=.include
605
 
      am__quote="\""
606
 
      _am_result=BSD
607
 
   fi
 
668
   case `$am_make -s -f confmf 2> /dev/null` in #(
 
669
   *the\ am__doit\ target*)
 
670
     am__include=.include
 
671
     am__quote="\""
 
672
     _am_result=BSD
 
673
     ;;
 
674
   esac
608
675
fi
609
676
AC_SUBST([am__include])
610
677
AC_SUBST([am__quote])
614
681
 
615
682
# Fake the existence of programs that GNU maintainers use.  -*- Autoconf -*-
616
683
 
617
 
# Copyright (C) 1997, 1999, 2000, 2001, 2003, 2004, 2005
 
684
# Copyright (C) 1997, 1999, 2000, 2001, 2003, 2004, 2005, 2008
618
685
# Free Software Foundation, Inc.
619
686
#
620
687
# This file is free software; the Free Software Foundation
621
688
# gives unlimited permission to copy and/or distribute it,
622
689
# with or without modifications, as long as this notice is preserved.
623
690
 
624
 
# serial 5
 
691
# serial 6
625
692
 
626
693
# AM_MISSING_PROG(NAME, PROGRAM)
627
694
# ------------------------------
638
705
AC_DEFUN([AM_MISSING_HAS_RUN],
639
706
[AC_REQUIRE([AM_AUX_DIR_EXPAND])dnl
640
707
AC_REQUIRE_AUX_FILE([missing])dnl
641
 
test x"${MISSING+set}" = xset || MISSING="\${SHELL} $am_aux_dir/missing"
 
708
if test x"${MISSING+set}" != xset; then
 
709
  case $am_aux_dir in
 
710
  *\ * | *\     *)
 
711
    MISSING="\${SHELL} \"$am_aux_dir/missing\"" ;;
 
712
  *)
 
713
    MISSING="\${SHELL} $am_aux_dir/missing" ;;
 
714
  esac
 
715
fi
642
716
# Use eval to expand $SHELL
643
717
if eval "$MISSING --run true"; then
644
718
  am_missing_run="$MISSING --run "
676
750
 
677
751
# Helper functions for option handling.                     -*- Autoconf -*-
678
752
 
679
 
# Copyright (C) 2001, 2002, 2003, 2005  Free Software Foundation, Inc.
 
753
# Copyright (C) 2001, 2002, 2003, 2005, 2008  Free Software Foundation, Inc.
680
754
#
681
755
# This file is free software; the Free Software Foundation
682
756
# gives unlimited permission to copy and/or distribute it,
683
757
# with or without modifications, as long as this notice is preserved.
684
758
 
685
 
# serial 3
 
759
# serial 4
686
760
 
687
761
# _AM_MANGLE_OPTION(NAME)
688
762
# -----------------------
699
773
# ----------------------------------
700
774
# OPTIONS is a space-separated list of Automake options.
701
775
AC_DEFUN([_AM_SET_OPTIONS],
702
 
[AC_FOREACH([_AM_Option], [$1], [_AM_SET_OPTION(_AM_Option)])])
 
776
[m4_foreach_w([_AM_Option], [$1], [_AM_SET_OPTION(_AM_Option)])])
703
777
 
704
778
# _AM_IF_OPTION(OPTION, IF-SET, [IF-NOT-SET])
705
779
# -------------------------------------------
726
800
 
727
801
# Check to make sure that the build environment is sane.    -*- Autoconf -*-
728
802
 
729
 
# Copyright (C) 1996, 1997, 2000, 2001, 2003, 2005
 
803
# Copyright (C) 1996, 1997, 2000, 2001, 2003, 2005, 2008
730
804
# Free Software Foundation, Inc.
731
805
#
732
806
# This file is free software; the Free Software Foundation
733
807
# gives unlimited permission to copy and/or distribute it,
734
808
# with or without modifications, as long as this notice is preserved.
735
809
 
736
 
# serial 4
 
810
# serial 5
737
811
 
738
812
# AM_SANITY_CHECK
739
813
# ---------------
742
816
# Just in case
743
817
sleep 1
744
818
echo timestamp > conftest.file
 
819
# Reject unsafe characters in $srcdir or the absolute working directory
 
820
# name.  Accept space and tab only in the latter.
 
821
am_lf='
 
822
'
 
823
case `pwd` in
 
824
  *[[\\\"\#\$\&\'\`$am_lf]]*)
 
825
    AC_MSG_ERROR([unsafe absolute working directory name]);;
 
826
esac
 
827
case $srcdir in
 
828
  *[[\\\"\#\$\&\'\`$am_lf\ \    ]]*)
 
829
    AC_MSG_ERROR([unsafe srcdir value: `$srcdir']);;
 
830
esac
 
831
 
745
832
# Do `set' in a subshell so we don't clobber the current shell's
746
833
# arguments.  Must try -L first in case configure is actually a
747
834
# symlink; some systems play weird games with the mod time of symlinks
748
835
# (eg FreeBSD returns the mod time of the symlink's containing
749
836
# directory).
750
837
if (
751
 
   set X `ls -Lt $srcdir/configure conftest.file 2> /dev/null`
 
838
   set X `ls -Lt "$srcdir/configure" conftest.file 2> /dev/null`
752
839
   if test "$[*]" = "X"; then
753
840
      # -L didn't work.
754
 
      set X `ls -t $srcdir/configure conftest.file`
 
841
      set X `ls -t "$srcdir/configure" conftest.file`
755
842
   fi
756
843
   rm -f conftest.file
757
844
   if test "$[*]" != "X $srcdir/configure conftest.file" \
776
863
fi
777
864
AC_MSG_RESULT(yes)])
778
865
 
 
866
# Copyright (C) 2009  Free Software Foundation, Inc.
 
867
#
 
868
# This file is free software; the Free Software Foundation
 
869
# gives unlimited permission to copy and/or distribute it,
 
870
# with or without modifications, as long as this notice is preserved.
 
871
 
 
872
# serial 1
 
873
 
 
874
# AM_SILENT_RULES([DEFAULT])
 
875
# --------------------------
 
876
# Enable less verbose build rules; with the default set to DEFAULT
 
877
# (`yes' being less verbose, `no' or empty being verbose).
 
878
AC_DEFUN([AM_SILENT_RULES],
 
879
[AC_ARG_ENABLE([silent-rules],
 
880
[  --enable-silent-rules          less verbose build output (undo: `make V=1')
 
881
  --disable-silent-rules         verbose build output (undo: `make V=0')])
 
882
case $enable_silent_rules in
 
883
yes) AM_DEFAULT_VERBOSITY=0;;
 
884
no)  AM_DEFAULT_VERBOSITY=1;;
 
885
*)   AM_DEFAULT_VERBOSITY=m4_if([$1], [yes], [0], [1]);;
 
886
esac
 
887
AC_SUBST([AM_DEFAULT_VERBOSITY])dnl
 
888
AM_BACKSLASH='\'
 
889
AC_SUBST([AM_BACKSLASH])dnl
 
890
_AM_SUBST_NOTMAKE([AM_BACKSLASH])dnl
 
891
])
 
892
 
779
893
# Copyright (C) 2001, 2003, 2005  Free Software Foundation, Inc.
780
894
#
781
895
# This file is free software; the Free Software Foundation
804
918
INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s"
805
919
AC_SUBST([INSTALL_STRIP_PROGRAM])])
806
920
 
807
 
# Copyright (C) 2006  Free Software Foundation, Inc.
 
921
# Copyright (C) 2006, 2008  Free Software Foundation, Inc.
808
922
#
809
923
# This file is free software; the Free Software Foundation
810
924
# gives unlimited permission to copy and/or distribute it,
811
925
# with or without modifications, as long as this notice is preserved.
812
926
 
 
927
# serial 2
 
928
 
813
929
# _AM_SUBST_NOTMAKE(VARIABLE)
814
930
# ---------------------------
815
931
# Prevent Automake from outputting VARIABLE = @VARIABLE@ in Makefile.in.
816
932
# This macro is traced by Automake.
817
933
AC_DEFUN([_AM_SUBST_NOTMAKE])
818
934
 
 
935
# AM_SUBST_NOTMAKE(VARIABLE)
 
936
# ---------------------------
 
937
# Public sister of _AM_SUBST_NOTMAKE.
 
938
AC_DEFUN([AM_SUBST_NOTMAKE], [_AM_SUBST_NOTMAKE($@)])
 
939
 
819
940
# Check how to create a tarball.                            -*- Autoconf -*-
820
941
 
821
942
# Copyright (C) 2004, 2005  Free Software Foundation, Inc.