~ubuntu-branches/ubuntu/trusty/libatasmart/trusty

« back to all changes in this revision

Viewing changes to aclocal.m4

  • Committer: Bazaar Package Importer
  • Author(s): Martin Pitt
  • Date: 2009-08-07 10:13:42 UTC
  • mfrom: (1.2.1 upstream)
  • Revision ID: james.westby@ubuntu.com-20090807101342-kl1ri5w9q8niz61d
Tags: 0.14-1
* New upstream version.
* Update *.install, *.symbols, and debian/control for 0 → 4 library soname
  change.
* Add myself to uploaders.

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
 
# generated automatically by aclocal 1.10.2 -*- 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.
8136
8136
# generated from the m4 files accompanying Automake X.Y.
8137
8137
# (This private macro should not be called outside this file.)
8138
8138
AC_DEFUN([AM_AUTOMAKE_VERSION],
8139
 
[am__api_version='1.10'
 
8139
[am__api_version='1.11'
8140
8140
dnl Some users find AM_AUTOMAKE_VERSION and mistake it for a way to
8141
8141
dnl require some minimum version.  Point them to the right macro.
8142
 
m4_if([$1], [1.10.2], [],
 
8142
m4_if([$1], [1.11], [],
8143
8143
      [AC_FATAL([Do not call $0, use AM_INIT_AUTOMAKE([$1]).])])dnl
8144
8144
])
8145
8145
 
8155
8155
# Call AM_AUTOMAKE_VERSION and AM_AUTOMAKE_VERSION so they can be traced.
8156
8156
# This function is AC_REQUIREd by AM_INIT_AUTOMAKE.
8157
8157
AC_DEFUN([AM_SET_CURRENT_AUTOMAKE_VERSION],
8158
 
[AM_AUTOMAKE_VERSION([1.10.2])dnl
 
8158
[AM_AUTOMAKE_VERSION([1.11])dnl
8159
8159
m4_ifndef([AC_AUTOCONF_VERSION],
8160
8160
  [m4_copy([m4_PACKAGE_VERSION], [AC_AUTOCONF_VERSION])])dnl
8161
8161
_AM_AUTOCONF_VERSION(m4_defn([AC_AUTOCONF_VERSION]))])
8215
8215
 
8216
8216
# AM_CONDITIONAL                                            -*- Autoconf -*-
8217
8217
 
8218
 
# Copyright (C) 1997, 2000, 2001, 2003, 2004, 2005, 2006
 
8218
# Copyright (C) 1997, 2000, 2001, 2003, 2004, 2005, 2006, 2008
8219
8219
# Free Software Foundation, Inc.
8220
8220
#
8221
8221
# This file is free software; the Free Software Foundation
8222
8222
# gives unlimited permission to copy and/or distribute it,
8223
8223
# with or without modifications, as long as this notice is preserved.
8224
8224
 
8225
 
# serial 8
 
8225
# serial 9
8226
8226
 
8227
8227
# AM_CONDITIONAL(NAME, SHELL-CONDITION)
8228
8228
# -------------------------------------
8235
8235
AC_SUBST([$1_FALSE])dnl
8236
8236
_AM_SUBST_NOTMAKE([$1_TRUE])dnl
8237
8237
_AM_SUBST_NOTMAKE([$1_FALSE])dnl
 
8238
m4_define([_AM_COND_VALUE_$1], [$2])dnl
8238
8239
if $2; then
8239
8240
  $1_TRUE=
8240
8241
  $1_FALSE='#'
8248
8249
Usually this means the macro was only invoked conditionally.]])
8249
8250
fi])])
8250
8251
 
8251
 
# Copyright (C) 1999, 2000, 2001, 2002, 2003, 2004, 2005, 2006
 
8252
# Copyright (C) 1999, 2000, 2001, 2002, 2003, 2004, 2005, 2006, 2009
8252
8253
# Free Software Foundation, Inc.
8253
8254
#
8254
8255
# This file is free software; the Free Software Foundation
8255
8256
# gives unlimited permission to copy and/or distribute it,
8256
8257
# with or without modifications, as long as this notice is preserved.
8257
8258
 
8258
 
# serial 9
 
8259
# serial 10
8259
8260
 
8260
8261
# There are a few dirty hacks below to avoid letting `AC_PROG_CC' be
8261
8262
# written in clear, in which case automake, when reading aclocal.m4,
8312
8313
  if test "$am_compiler_list" = ""; then
8313
8314
     am_compiler_list=`sed -n ['s/^#*\([a-zA-Z0-9]*\))$/\1/p'] < ./depcomp`
8314
8315
  fi
 
8316
  am__universal=false
 
8317
  m4_case([$1], [CC],
 
8318
    [case " $depcc " in #(
 
8319
     *\ -arch\ *\ -arch\ *) am__universal=true ;;
 
8320
     esac],
 
8321
    [CXX],
 
8322
    [case " $depcc " in #(
 
8323
     *\ -arch\ *\ -arch\ *) am__universal=true ;;
 
8324
     esac])
 
8325
 
8315
8326
  for depmode in $am_compiler_list; do
8316
8327
    # Setup a source with many dependencies, because some compilers
8317
8328
    # like to wrap large dependency lists on column 80 (with \), and
8329
8340
    done
8330
8341
    echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
8331
8342
 
 
8343
    # We check with `-c' and `-o' for the sake of the "dashmstdout"
 
8344
    # mode.  It turns out that the SunPro C++ compiler does not properly
 
8345
    # handle `-M -o', and we need to detect this.  Also, some Intel
 
8346
    # versions had trouble with output in subdirs
 
8347
    am__obj=sub/conftest.${OBJEXT-o}
 
8348
    am__minus_obj="-o $am__obj"
8332
8349
    case $depmode in
 
8350
    gcc)
 
8351
      # This depmode causes a compiler race in universal mode.
 
8352
      test "$am__universal" = false || continue
 
8353
      ;;
8333
8354
    nosideeffect)
8334
8355
      # after this tag, mechanisms are not by side-effect, so they'll
8335
8356
      # only be used when explicitly requested
8339
8360
        break
8340
8361
      fi
8341
8362
      ;;
 
8363
    msvisualcpp | msvcmsys)
 
8364
      # This compiler won't grok `-c -o', but also, the minuso test has
 
8365
      # not run yet.  These depmodes are late enough in the game, and
 
8366
      # so weak that their functioning should not be impacted.
 
8367
      am__obj=conftest.${OBJEXT-o}
 
8368
      am__minus_obj=
 
8369
      ;;
8342
8370
    none) break ;;
8343
8371
    esac
8344
 
    # We check with `-c' and `-o' for the sake of the "dashmstdout"
8345
 
    # mode.  It turns out that the SunPro C++ compiler does not properly
8346
 
    # handle `-M -o', and we need to detect this.
8347
8372
    if depmode=$depmode \
8348
 
       source=sub/conftest.c object=sub/conftest.${OBJEXT-o} \
 
8373
       source=sub/conftest.c object=$am__obj \
8349
8374
       depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
8350
 
       $SHELL ./depcomp $depcc -c -o sub/conftest.${OBJEXT-o} sub/conftest.c \
 
8375
       $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
8351
8376
         >/dev/null 2>conftest.err &&
8352
8377
       grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
8353
8378
       grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
8354
 
       grep sub/conftest.${OBJEXT-o} sub/conftest.Po > /dev/null 2>&1 &&
 
8379
       grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
8355
8380
       ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
8356
8381
      # icc doesn't choke on unknown options, it will just issue warnings
8357
8382
      # or remarks (even with -Werror).  So we grep stderr for any message
8415
8440
# gives unlimited permission to copy and/or distribute it,
8416
8441
# with or without modifications, as long as this notice is preserved.
8417
8442
 
8418
 
#serial 4
 
8443
#serial 5
8419
8444
 
8420
8445
# _AM_OUTPUT_DEPENDENCY_COMMANDS
8421
8446
# ------------------------------
8422
8447
AC_DEFUN([_AM_OUTPUT_DEPENDENCY_COMMANDS],
8423
 
[# Autoconf 2.62 quotes --file arguments for eval, but not when files
8424
 
# are listed without --file.  Let's play safe and only enable the eval
8425
 
# if we detect the quoting.
8426
 
case $CONFIG_FILES in
8427
 
*\'*) eval set x "$CONFIG_FILES" ;;
8428
 
*)   set x $CONFIG_FILES ;;
8429
 
esac
8430
 
shift
8431
 
for mf
8432
 
do
8433
 
  # Strip MF so we end up with the name of the file.
8434
 
  mf=`echo "$mf" | sed -e 's/:.*$//'`
8435
 
  # Check whether this is an Automake generated Makefile or not.
8436
 
  # We used to match only the files named `Makefile.in', but
8437
 
  # some people rename them; so instead we look at the file content.
8438
 
  # Grep'ing the first line is not enough: some people post-process
8439
 
  # each Makefile.in and add a new line on top of each file to say so.
8440
 
  # Grep'ing the whole file is not good either: AIX grep has a line
8441
 
  # limit of 2048, but all sed's we know have understand at least 4000.
8442
 
  if sed -n 's,^#.*generated by automake.*,X,p' "$mf" | grep X >/dev/null 2>&1; then
8443
 
    dirpart=`AS_DIRNAME("$mf")`
8444
 
  else
8445
 
    continue
8446
 
  fi
8447
 
  # Extract the definition of DEPDIR, am__include, and am__quote
8448
 
  # from the Makefile without running `make'.
8449
 
  DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"`
8450
 
  test -z "$DEPDIR" && continue
8451
 
  am__include=`sed -n 's/^am__include = //p' < "$mf"`
8452
 
  test -z "am__include" && continue
8453
 
  am__quote=`sed -n 's/^am__quote = //p' < "$mf"`
8454
 
  # When using ansi2knr, U may be empty or an underscore; expand it
8455
 
  U=`sed -n 's/^U = //p' < "$mf"`
8456
 
  # Find all dependency output files, they are included files with
8457
 
  # $(DEPDIR) in their names.  We invoke sed twice because it is the
8458
 
  # simplest approach to changing $(DEPDIR) to its actual value in the
8459
 
  # expansion.
8460
 
  for file in `sed -n "
8461
 
    s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
8462
 
       sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do
8463
 
    # Make sure the directory exists.
8464
 
    test -f "$dirpart/$file" && continue
8465
 
    fdir=`AS_DIRNAME(["$file"])`
8466
 
    AS_MKDIR_P([$dirpart/$fdir])
8467
 
    # echo "creating $dirpart/$file"
8468
 
    echo '# dummy' > "$dirpart/$file"
 
8448
[{
 
8449
  # Autoconf 2.62 quotes --file arguments for eval, but not when files
 
8450
  # are listed without --file.  Let's play safe and only enable the eval
 
8451
  # if we detect the quoting.
 
8452
  case $CONFIG_FILES in
 
8453
  *\'*) eval set x "$CONFIG_FILES" ;;
 
8454
  *)   set x $CONFIG_FILES ;;
 
8455
  esac
 
8456
  shift
 
8457
  for mf
 
8458
  do
 
8459
    # Strip MF so we end up with the name of the file.
 
8460
    mf=`echo "$mf" | sed -e 's/:.*$//'`
 
8461
    # Check whether this is an Automake generated Makefile or not.
 
8462
    # We used to match only the files named `Makefile.in', but
 
8463
    # some people rename them; so instead we look at the file content.
 
8464
    # Grep'ing the first line is not enough: some people post-process
 
8465
    # each Makefile.in and add a new line on top of each file to say so.
 
8466
    # Grep'ing the whole file is not good either: AIX grep has a line
 
8467
    # limit of 2048, but all sed's we know have understand at least 4000.
 
8468
    if sed -n 's,^#.*generated by automake.*,X,p' "$mf" | grep X >/dev/null 2>&1; then
 
8469
      dirpart=`AS_DIRNAME("$mf")`
 
8470
    else
 
8471
      continue
 
8472
    fi
 
8473
    # Extract the definition of DEPDIR, am__include, and am__quote
 
8474
    # from the Makefile without running `make'.
 
8475
    DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"`
 
8476
    test -z "$DEPDIR" && continue
 
8477
    am__include=`sed -n 's/^am__include = //p' < "$mf"`
 
8478
    test -z "am__include" && continue
 
8479
    am__quote=`sed -n 's/^am__quote = //p' < "$mf"`
 
8480
    # When using ansi2knr, U may be empty or an underscore; expand it
 
8481
    U=`sed -n 's/^U = //p' < "$mf"`
 
8482
    # Find all dependency output files, they are included files with
 
8483
    # $(DEPDIR) in their names.  We invoke sed twice because it is the
 
8484
    # simplest approach to changing $(DEPDIR) to its actual value in the
 
8485
    # expansion.
 
8486
    for file in `sed -n "
 
8487
      s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
 
8488
         sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do
 
8489
      # Make sure the directory exists.
 
8490
      test -f "$dirpart/$file" && continue
 
8491
      fdir=`AS_DIRNAME(["$file"])`
 
8492
      AS_MKDIR_P([$dirpart/$fdir])
 
8493
      # echo "creating $dirpart/$file"
 
8494
      echo '# dummy' > "$dirpart/$file"
 
8495
    done
8469
8496
  done
8470
 
done
 
8497
}
8471
8498
])# _AM_OUTPUT_DEPENDENCY_COMMANDS
8472
8499
 
8473
8500
 
8487
8514
# Do all the work for Automake.                             -*- Autoconf -*-
8488
8515
 
8489
8516
# Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004,
8490
 
# 2005, 2006, 2008 Free Software Foundation, Inc.
 
8517
# 2005, 2006, 2008, 2009 Free Software Foundation, Inc.
8491
8518
#
8492
8519
# This file is free software; the Free Software Foundation
8493
8520
# gives unlimited permission to copy and/or distribute it,
8494
8521
# with or without modifications, as long as this notice is preserved.
8495
8522
 
8496
 
# serial 13
 
8523
# serial 16
8497
8524
 
8498
8525
# This macro actually does too much.  Some checks are only needed if
8499
8526
# your package does certain things.  But this isn't really a big deal.
8510
8537
# arguments mandatory, and then we can depend on a new Autoconf
8511
8538
# release and drop the old call support.
8512
8539
AC_DEFUN([AM_INIT_AUTOMAKE],
8513
 
[AC_PREREQ([2.60])dnl
 
8540
[AC_PREREQ([2.62])dnl
8514
8541
dnl Autoconf wants to disallow AM_ names.  We explicitly allow
8515
8542
dnl the ones we care about.
8516
8543
m4_pattern_allow([^AM_[A-Z]+FLAGS$])dnl
8561
8588
AM_MISSING_PROG(AUTOMAKE, automake-${am__api_version})
8562
8589
AM_MISSING_PROG(AUTOHEADER, autoheader)
8563
8590
AM_MISSING_PROG(MAKEINFO, makeinfo)
8564
 
AM_PROG_INSTALL_SH
8565
 
AM_PROG_INSTALL_STRIP
 
8591
AC_REQUIRE([AM_PROG_INSTALL_SH])dnl
 
8592
AC_REQUIRE([AM_PROG_INSTALL_STRIP])dnl
8566
8593
AC_REQUIRE([AM_PROG_MKDIR_P])dnl
8567
8594
# We need awk for the "check" target.  The system "awk" is bad on
8568
8595
# some platforms.
8570
8597
AC_REQUIRE([AC_PROG_MAKE_SET])dnl
8571
8598
AC_REQUIRE([AM_SET_LEADING_DOT])dnl
8572
8599
_AM_IF_OPTION([tar-ustar], [_AM_PROG_TAR([ustar])],
8573
 
              [_AM_IF_OPTION([tar-pax], [_AM_PROG_TAR([pax])],
8574
 
                             [_AM_PROG_TAR([v7])])])
 
8600
              [_AM_IF_OPTION([tar-pax], [_AM_PROG_TAR([pax])],
 
8601
                             [_AM_PROG_TAR([v7])])])
8575
8602
_AM_IF_OPTION([no-dependencies],,
8576
8603
[AC_PROVIDE_IFELSE([AC_PROG_CC],
8577
 
                  [_AM_DEPENDENCIES(CC)],
8578
 
                  [define([AC_PROG_CC],
8579
 
                          defn([AC_PROG_CC])[_AM_DEPENDENCIES(CC)])])dnl
 
8604
                  [_AM_DEPENDENCIES(CC)],
 
8605
                  [define([AC_PROG_CC],
 
8606
                          defn([AC_PROG_CC])[_AM_DEPENDENCIES(CC)])])dnl
8580
8607
AC_PROVIDE_IFELSE([AC_PROG_CXX],
8581
 
                  [_AM_DEPENDENCIES(CXX)],
8582
 
                  [define([AC_PROG_CXX],
8583
 
                          defn([AC_PROG_CXX])[_AM_DEPENDENCIES(CXX)])])dnl
 
8608
                  [_AM_DEPENDENCIES(CXX)],
 
8609
                  [define([AC_PROG_CXX],
 
8610
                          defn([AC_PROG_CXX])[_AM_DEPENDENCIES(CXX)])])dnl
8584
8611
AC_PROVIDE_IFELSE([AC_PROG_OBJC],
8585
 
                  [_AM_DEPENDENCIES(OBJC)],
8586
 
                  [define([AC_PROG_OBJC],
8587
 
                          defn([AC_PROG_OBJC])[_AM_DEPENDENCIES(OBJC)])])dnl
8588
 
])
8589
 
])
 
8612
                  [_AM_DEPENDENCIES(OBJC)],
 
8613
                  [define([AC_PROG_OBJC],
 
8614
                          defn([AC_PROG_OBJC])[_AM_DEPENDENCIES(OBJC)])])dnl
 
8615
])
 
8616
_AM_IF_OPTION([silent-rules], [AC_REQUIRE([AM_SILENT_RULES])])dnl
 
8617
dnl The `parallel-tests' driver may need to know about EXEEXT, so add the
 
8618
dnl `am__EXEEXT' conditional if _AM_COMPILER_EXEEXT was seen.  This macro
 
8619
dnl is hooked onto _AC_COMPILER_EXEEXT early, see below.
 
8620
AC_CONFIG_COMMANDS_PRE(dnl
 
8621
[m4_provide_if([_AM_COMPILER_EXEEXT],
 
8622
  [AM_CONDITIONAL([am__EXEEXT], [test -n "$EXEEXT"])])])dnl
 
8623
])
 
8624
 
 
8625
dnl Hook into `_AC_COMPILER_EXEEXT' early to learn its expansion.  Do not
 
8626
dnl add the conditional right here, as _AC_COMPILER_EXEEXT may be further
 
8627
dnl mangled by Autoconf and run in a shell conditional statement.
 
8628
m4_define([_AC_COMPILER_EXEEXT],
 
8629
m4_defn([_AC_COMPILER_EXEEXT])[m4_provide([_AM_COMPILER_EXEEXT])])
8590
8630
 
8591
8631
 
8592
8632
# When config.status generates a header, we must update the stamp-h file.
8610
8650
done
8611
8651
echo "timestamp for $_am_arg" >`AS_DIRNAME(["$_am_arg"])`/stamp-h[]$_am_stamp_count])
8612
8652
 
8613
 
# Copyright (C) 2001, 2003, 2005  Free Software Foundation, Inc.
 
8653
# Copyright (C) 2001, 2003, 2005, 2008  Free Software Foundation, Inc.
8614
8654
#
8615
8655
# This file is free software; the Free Software Foundation
8616
8656
# gives unlimited permission to copy and/or distribute it,
8621
8661
# Define $install_sh.
8622
8662
AC_DEFUN([AM_PROG_INSTALL_SH],
8623
8663
[AC_REQUIRE([AM_AUX_DIR_EXPAND])dnl
8624
 
install_sh=${install_sh-"\$(SHELL) $am_aux_dir/install-sh"}
 
8664
if test x"${install_sh}" != xset; then
 
8665
  case $am_aux_dir in
 
8666
  *\ * | *\     *)
 
8667
    install_sh="\${SHELL} '$am_aux_dir/install-sh'" ;;
 
8668
  *)
 
8669
    install_sh="\${SHELL} $am_aux_dir/install-sh"
 
8670
  esac
 
8671
fi
8625
8672
AC_SUBST(install_sh)])
8626
8673
 
8627
8674
# Copyright (C) 2003, 2005  Free Software Foundation, Inc.
8647
8694
 
8648
8695
# Check to see how 'make' treats includes.                  -*- Autoconf -*-
8649
8696
 
8650
 
# Copyright (C) 2001, 2002, 2003, 2005  Free Software Foundation, Inc.
 
8697
# Copyright (C) 2001, 2002, 2003, 2005, 2009  Free Software Foundation, Inc.
8651
8698
#
8652
8699
# This file is free software; the Free Software Foundation
8653
8700
# gives unlimited permission to copy and/or distribute it,
8654
8701
# with or without modifications, as long as this notice is preserved.
8655
8702
 
8656
 
# serial 3
 
8703
# serial 4
8657
8704
 
8658
8705
# AM_MAKE_INCLUDE()
8659
8706
# -----------------
8662
8709
[am_make=${MAKE-make}
8663
8710
cat > confinc << 'END'
8664
8711
am__doit:
8665
 
        @echo done
 
8712
        @echo this is the am__doit target
8666
8713
.PHONY: am__doit
8667
8714
END
8668
8715
# If we don't find an include directive, just comment out the code.
8672
8719
_am_result=none
8673
8720
# First try GNU make style include.
8674
8721
echo "include confinc" > confmf
8675
 
# We grep out `Entering directory' and `Leaving directory'
8676
 
# messages which can occur if `w' ends up in MAKEFLAGS.
8677
 
# In particular we don't look at `^make:' because GNU make might
8678
 
# be invoked under some other name (usually "gmake"), in which
8679
 
# case it prints its new name instead of `make'.
8680
 
if test "`$am_make -s -f confmf 2> /dev/null | grep -v 'ing directory'`" = "done"; then
8681
 
   am__include=include
8682
 
   am__quote=
8683
 
   _am_result=GNU
8684
 
fi
 
8722
# Ignore all kinds of additional output from `make'.
 
8723
case `$am_make -s -f confmf 2> /dev/null` in #(
 
8724
*the\ am__doit\ target*)
 
8725
  am__include=include
 
8726
  am__quote=
 
8727
  _am_result=GNU
 
8728
  ;;
 
8729
esac
8685
8730
# Now try BSD make style include.
8686
8731
if test "$am__include" = "#"; then
8687
8732
   echo '.include "confinc"' > confmf
8688
 
   if test "`$am_make -s -f confmf 2> /dev/null`" = "done"; then
8689
 
      am__include=.include
8690
 
      am__quote="\""
8691
 
      _am_result=BSD
8692
 
   fi
 
8733
   case `$am_make -s -f confmf 2> /dev/null` in #(
 
8734
   *the\ am__doit\ target*)
 
8735
     am__include=.include
 
8736
     am__quote="\""
 
8737
     _am_result=BSD
 
8738
     ;;
 
8739
   esac
8693
8740
fi
8694
8741
AC_SUBST([am__include])
8695
8742
AC_SUBST([am__quote])
8734
8781
 
8735
8782
# Fake the existence of programs that GNU maintainers use.  -*- Autoconf -*-
8736
8783
 
8737
 
# Copyright (C) 1997, 1999, 2000, 2001, 2003, 2004, 2005
 
8784
# Copyright (C) 1997, 1999, 2000, 2001, 2003, 2004, 2005, 2008
8738
8785
# Free Software Foundation, Inc.
8739
8786
#
8740
8787
# This file is free software; the Free Software Foundation
8741
8788
# gives unlimited permission to copy and/or distribute it,
8742
8789
# with or without modifications, as long as this notice is preserved.
8743
8790
 
8744
 
# serial 5
 
8791
# serial 6
8745
8792
 
8746
8793
# AM_MISSING_PROG(NAME, PROGRAM)
8747
8794
# ------------------------------
8758
8805
AC_DEFUN([AM_MISSING_HAS_RUN],
8759
8806
[AC_REQUIRE([AM_AUX_DIR_EXPAND])dnl
8760
8807
AC_REQUIRE_AUX_FILE([missing])dnl
8761
 
test x"${MISSING+set}" = xset || MISSING="\${SHELL} $am_aux_dir/missing"
 
8808
if test x"${MISSING+set}" != xset; then
 
8809
  case $am_aux_dir in
 
8810
  *\ * | *\     *)
 
8811
    MISSING="\${SHELL} \"$am_aux_dir/missing\"" ;;
 
8812
  *)
 
8813
    MISSING="\${SHELL} $am_aux_dir/missing" ;;
 
8814
  esac
 
8815
fi
8762
8816
# Use eval to expand $SHELL
8763
8817
if eval "$MISSING --run true"; then
8764
8818
  am_missing_run="$MISSING --run "
8827
8881
AC_DEFUN([_AM_IF_OPTION],
8828
8882
[m4_ifset(_AM_MANGLE_OPTION([$1]), [$2], [$3])])
8829
8883
 
 
8884
# Copyright (C) 2001, 2003, 2005  Free Software Foundation, Inc.
 
8885
#
 
8886
# This file is free software; the Free Software Foundation
 
8887
# gives unlimited permission to copy and/or distribute it,
 
8888
# with or without modifications, as long as this notice is preserved.
 
8889
 
 
8890
# AM_RUN_LOG(COMMAND)
 
8891
# -------------------
 
8892
# Run COMMAND, save the exit status in ac_status, and log it.
 
8893
# (This has been adapted from Autoconf's _AC_RUN_LOG macro.)
 
8894
AC_DEFUN([AM_RUN_LOG],
 
8895
[{ echo "$as_me:$LINENO: $1" >&AS_MESSAGE_LOG_FD
 
8896
   ($1) >&AS_MESSAGE_LOG_FD 2>&AS_MESSAGE_LOG_FD
 
8897
   ac_status=$?
 
8898
   echo "$as_me:$LINENO: \$? = $ac_status" >&AS_MESSAGE_LOG_FD
 
8899
   (exit $ac_status); }])
 
8900
 
8830
8901
# Check to make sure that the build environment is sane.    -*- Autoconf -*-
8831
8902
 
8832
 
# Copyright (C) 1996, 1997, 2000, 2001, 2003, 2005
 
8903
# Copyright (C) 1996, 1997, 2000, 2001, 2003, 2005, 2008
8833
8904
# Free Software Foundation, Inc.
8834
8905
#
8835
8906
# This file is free software; the Free Software Foundation
8836
8907
# gives unlimited permission to copy and/or distribute it,
8837
8908
# with or without modifications, as long as this notice is preserved.
8838
8909
 
8839
 
# serial 4
 
8910
# serial 5
8840
8911
 
8841
8912
# AM_SANITY_CHECK
8842
8913
# ---------------
8845
8916
# Just in case
8846
8917
sleep 1
8847
8918
echo timestamp > conftest.file
 
8919
# Reject unsafe characters in $srcdir or the absolute working directory
 
8920
# name.  Accept space and tab only in the latter.
 
8921
am_lf='
 
8922
'
 
8923
case `pwd` in
 
8924
  *[[\\\"\#\$\&\'\`$am_lf]]*)
 
8925
    AC_MSG_ERROR([unsafe absolute working directory name]);;
 
8926
esac
 
8927
case $srcdir in
 
8928
  *[[\\\"\#\$\&\'\`$am_lf\ \    ]]*)
 
8929
    AC_MSG_ERROR([unsafe srcdir value: `$srcdir']);;
 
8930
esac
 
8931
 
8848
8932
# Do `set' in a subshell so we don't clobber the current shell's
8849
8933
# arguments.  Must try -L first in case configure is actually a
8850
8934
# symlink; some systems play weird games with the mod time of symlinks
8851
8935
# (eg FreeBSD returns the mod time of the symlink's containing
8852
8936
# directory).
8853
8937
if (
8854
 
   set X `ls -Lt $srcdir/configure conftest.file 2> /dev/null`
 
8938
   set X `ls -Lt "$srcdir/configure" conftest.file 2> /dev/null`
8855
8939
   if test "$[*]" = "X"; then
8856
8940
      # -L didn't work.
8857
 
      set X `ls -t $srcdir/configure conftest.file`
 
8941
      set X `ls -t "$srcdir/configure" conftest.file`
8858
8942
   fi
8859
8943
   rm -f conftest.file
8860
8944
   if test "$[*]" != "X $srcdir/configure conftest.file" \
8879
8963
fi
8880
8964
AC_MSG_RESULT(yes)])
8881
8965
 
 
8966
# Copyright (C) 2009  Free Software Foundation, Inc.
 
8967
#
 
8968
# This file is free software; the Free Software Foundation
 
8969
# gives unlimited permission to copy and/or distribute it,
 
8970
# with or without modifications, as long as this notice is preserved.
 
8971
 
 
8972
# serial 1
 
8973
 
 
8974
# AM_SILENT_RULES([DEFAULT])
 
8975
# --------------------------
 
8976
# Enable less verbose build rules; with the default set to DEFAULT
 
8977
# (`yes' being less verbose, `no' or empty being verbose).
 
8978
AC_DEFUN([AM_SILENT_RULES],
 
8979
[AC_ARG_ENABLE([silent-rules],
 
8980
[  --enable-silent-rules          less verbose build output (undo: `make V=1')
 
8981
  --disable-silent-rules         verbose build output (undo: `make V=0')])
 
8982
case $enable_silent_rules in
 
8983
yes) AM_DEFAULT_VERBOSITY=0;;
 
8984
no)  AM_DEFAULT_VERBOSITY=1;;
 
8985
*)   AM_DEFAULT_VERBOSITY=m4_if([$1], [yes], [0], [1]);;
 
8986
esac
 
8987
AC_SUBST([AM_DEFAULT_VERBOSITY])dnl
 
8988
AM_BACKSLASH='\'
 
8989
AC_SUBST([AM_BACKSLASH])dnl
 
8990
_AM_SUBST_NOTMAKE([AM_BACKSLASH])dnl
 
8991
])
 
8992
 
8882
8993
# Copyright (C) 2001, 2003, 2005  Free Software Foundation, Inc.
8883
8994
#
8884
8995
# This file is free software; the Free Software Foundation
8907
9018
INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s"
8908
9019
AC_SUBST([INSTALL_STRIP_PROGRAM])])
8909
9020
 
8910
 
# Copyright (C) 2006  Free Software Foundation, Inc.
 
9021
# Copyright (C) 2006, 2008  Free Software Foundation, Inc.
8911
9022
#
8912
9023
# This file is free software; the Free Software Foundation
8913
9024
# gives unlimited permission to copy and/or distribute it,
8914
9025
# with or without modifications, as long as this notice is preserved.
8915
9026
 
 
9027
# serial 2
 
9028
 
8916
9029
# _AM_SUBST_NOTMAKE(VARIABLE)
8917
9030
# ---------------------------
8918
9031
# Prevent Automake from outputting VARIABLE = @VARIABLE@ in Makefile.in.
8919
9032
# This macro is traced by Automake.
8920
9033
AC_DEFUN([_AM_SUBST_NOTMAKE])
8921
9034
 
 
9035
# AM_SUBST_NOTMAKE(VARIABLE)
 
9036
# ---------------------------
 
9037
# Public sister of _AM_SUBST_NOTMAKE.
 
9038
AC_DEFUN([AM_SUBST_NOTMAKE], [_AM_SUBST_NOTMAKE($@)])
 
9039
 
8922
9040
# Check how to create a tarball.                            -*- Autoconf -*-
8923
9041
 
8924
9042
# Copyright (C) 2004, 2005  Free Software Foundation, Inc.