~ubuntu-branches/ubuntu/vivid/banshee-community-extensions/vivid

« back to all changes in this revision

Viewing changes to aclocal.m4

  • Committer: Bazaar Package Importer
  • Author(s): Chow Loong Jin
  • Date: 2010-10-02 16:40:06 UTC
  • mfrom: (1.1.5 upstream) (4.1.4 experimental)
  • Revision ID: james.westby@ubuntu.com-20101002164006-7f3ep20zug2aj5vl
Tags: 1.8.0-1ubuntu1
* Merge from Debian experimental, remaining changes:
  + Enable building of AppIndicator, Lirc, SoundMenu, and U1MS
  + Also enable SoundMenu extension by default

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.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'.])])
346
346
 
347
347
    dnl These rules are solely for the distribution goal.  While doing this
348
348
    dnl we only have to keep exactly one list of the available catalogs
349
 
    dnl in configure.in.
 
349
    dnl in configure.ac.
350
350
    for lang in $ALL_LINGUAS; do
351
351
      GMOFILES="$GMOFILES $lang.gmo"
352
352
      POFILES="$POFILES $lang.po"
419
419
     fi
420
420
   fi
421
421
 
 
422
   dnl If the AC_CONFIG_AUX_DIR macro for autoconf is used we possibly
 
423
   dnl find the mkinstalldirs script in another subdir but ($top_srcdir).
 
424
   dnl Try to locate is.
 
425
   MKINSTALLDIRS=
 
426
   if test -n "$ac_aux_dir"; then
 
427
     MKINSTALLDIRS="$ac_aux_dir/mkinstalldirs"
 
428
   fi
 
429
   if test -z "$MKINSTALLDIRS"; then
 
430
     MKINSTALLDIRS="\$(top_srcdir)/mkinstalldirs"
 
431
   fi
 
432
   AC_SUBST(MKINSTALLDIRS)
 
433
 
422
434
   dnl Generate list of files to be processed by xgettext which will
423
435
   dnl be included in po/Makefile.
424
436
   test -d po || mkdir po
463
475
dnl
464
476
dnl Now the definitions that aclocal will find
465
477
dnl
466
 
ifdef(glib_configure_in,[],[
 
478
ifdef(glib_configure_ac,[],[
467
479
AC_DEFUN([AM_GLIB_GNU_GETTEXT],[GLIB_GNU_GETTEXT($@)])
468
480
AC_DEFUN([AM_GLIB_DEFINE_LOCALEDIR],[GLIB_DEFINE_LOCALEDIR($@)])
469
481
])dnl
596
608
    INTLTOOL_SERVICE_RULE='%.service: %.service.in   $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; LC_ALL=C $(INTLTOOL_MERGE) -d -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< [$]@'
597
609
   INTLTOOL_POLICY_RULE='%.policy:    %.policy.in    $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; LC_ALL=C $(INTLTOOL_MERGE) -x -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< [$]@'
598
610
 
599
 
AC_SUBST(INTLTOOL_DESKTOP_RULE)
600
 
AC_SUBST(INTLTOOL_DIRECTORY_RULE)
601
 
AC_SUBST(INTLTOOL_KEYS_RULE)
602
 
AC_SUBST(INTLTOOL_PROP_RULE)
603
 
AC_SUBST(INTLTOOL_OAF_RULE)
604
 
AC_SUBST(INTLTOOL_PONG_RULE)
605
 
AC_SUBST(INTLTOOL_SERVER_RULE)
606
 
AC_SUBST(INTLTOOL_SHEET_RULE)
607
 
AC_SUBST(INTLTOOL_SOUNDLIST_RULE)
608
 
AC_SUBST(INTLTOOL_UI_RULE)
609
 
AC_SUBST(INTLTOOL_XAM_RULE)
610
 
AC_SUBST(INTLTOOL_KBD_RULE)
611
 
AC_SUBST(INTLTOOL_XML_RULE)
612
 
AC_SUBST(INTLTOOL_XML_NOMERGE_RULE)
613
 
AC_SUBST(INTLTOOL_CAVES_RULE)
614
 
AC_SUBST(INTLTOOL_SCHEMAS_RULE)
615
 
AC_SUBST(INTLTOOL_THEME_RULE)
616
 
AC_SUBST(INTLTOOL_SERVICE_RULE)
617
 
AC_SUBST(INTLTOOL_POLICY_RULE)
 
611
_IT_SUBST(INTLTOOL_DESKTOP_RULE)
 
612
_IT_SUBST(INTLTOOL_DIRECTORY_RULE)
 
613
_IT_SUBST(INTLTOOL_KEYS_RULE)
 
614
_IT_SUBST(INTLTOOL_PROP_RULE)
 
615
_IT_SUBST(INTLTOOL_OAF_RULE)
 
616
_IT_SUBST(INTLTOOL_PONG_RULE)
 
617
_IT_SUBST(INTLTOOL_SERVER_RULE)
 
618
_IT_SUBST(INTLTOOL_SHEET_RULE)
 
619
_IT_SUBST(INTLTOOL_SOUNDLIST_RULE)
 
620
_IT_SUBST(INTLTOOL_UI_RULE)
 
621
_IT_SUBST(INTLTOOL_XAM_RULE)
 
622
_IT_SUBST(INTLTOOL_KBD_RULE)
 
623
_IT_SUBST(INTLTOOL_XML_RULE)
 
624
_IT_SUBST(INTLTOOL_XML_NOMERGE_RULE)
 
625
_IT_SUBST(INTLTOOL_CAVES_RULE)
 
626
_IT_SUBST(INTLTOOL_SCHEMAS_RULE)
 
627
_IT_SUBST(INTLTOOL_THEME_RULE)
 
628
_IT_SUBST(INTLTOOL_SERVICE_RULE)
 
629
_IT_SUBST(INTLTOOL_POLICY_RULE)
618
630
 
619
631
# Check the gettext tools to make sure they are GNU
620
632
AC_PATH_PROG(XGETTEXT, xgettext)
631
643
    AC_MSG_ERROR([GNU gettext tools not found; required for intltool])
632
644
fi
633
645
 
634
 
AC_PATH_PROG(INTLTOOL_PERL, [perl])
 
646
AC_PATH_PROG(INTLTOOL_PERL, perl)
635
647
if test -z "$INTLTOOL_PERL"; then
636
 
   AC_MSG_ERROR([perl not found; required for intltool])
 
648
   AC_MSG_ERROR([perl not found])
637
649
fi
638
 
if test -z "`$INTLTOOL_PERL -v | fgrep '5.' 2> /dev/null`"; then
639
 
   AC_MSG_ERROR([perl 5.x required for intltool])
 
650
AC_MSG_CHECKING([for perl >= 5.8.1])
 
651
$INTLTOOL_PERL -e "use 5.8.1;" > /dev/null 2>&1
 
652
if test $? -ne 0; then
 
653
   AC_MSG_ERROR([perl 5.8.1 is required for intltool])
 
654
else
 
655
   IT_PERL_VERSION="`$INTLTOOL_PERL -e \"printf '%vd', $^V\"`"
 
656
   AC_MSG_RESULT([$IT_PERL_VERSION])
640
657
fi
641
658
if test "x$2" != "xno-xml"; then
642
659
   AC_MSG_CHECKING([for XML::Parser])
692
709
dnl of config.status.
693
710
AC_CONFIG_COMMANDS_PRE([
694
711
  AC_CONFIG_COMMANDS([$1/stamp-it], [
695
 
    if [ ! grep "^# INTLTOOL_MAKEFILE$" "$1/Makefile.in" ]; then
 
712
    if [ ! grep "^# INTLTOOL_MAKEFILE$" "$1/Makefile.in" > /dev/null ]; then
696
713
       AC_MSG_ERROR([$1/Makefile.in.in was not created by intltoolize.])
697
714
    fi
698
715
    rm -f "$1/stamp-it" "$1/stamp-it.tmp" "$1/POTFILES" "$1/Makefile.tmp"
714
731
])dnl
715
732
])
716
733
 
 
734
# _IT_SUBST(VARIABLE)
 
735
# -------------------
 
736
# Abstract macro to do either _AM_SUBST_NOTMAKE or AC_SUBST
 
737
#
 
738
AC_DEFUN([_IT_SUBST],
 
739
[
 
740
AC_SUBST([$1])
 
741
m4_ifdef([_AM_SUBST_NOTMAKE], [_AM_SUBST_NOTMAKE([$1])])
 
742
]
 
743
)
 
744
 
717
745
# deprecated macros
718
746
AU_ALIAS([AC_PROG_INTLTOOL], [IT_PROG_INTLTOOL])
719
747
# A hint is needed for aclocal from Automake <= 1.9.4:
3161
3189
  ;;
3162
3190
 
3163
3191
# This must be Linux ELF.
3164
 
linux* | k*bsd*-gnu)
 
3192
linux* | k*bsd*-gnu | kopensolaris*-gnu)
3165
3193
  version_type=linux
3166
3194
  need_lib_prefix=no
3167
3195
  need_version=no
3201
3229
  dynamic_linker='GNU/Linux ld.so'
3202
3230
  ;;
3203
3231
 
 
3232
netbsdelf*-gnu)
 
3233
  version_type=linux
 
3234
  need_lib_prefix=no
 
3235
  need_version=no
 
3236
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
 
3237
  soname_spec='${libname}${release}${shared_ext}$major'
 
3238
  shlibpath_var=LD_LIBRARY_PATH
 
3239
  shlibpath_overrides_runpath=no
 
3240
  hardcode_into_libs=yes
 
3241
  dynamic_linker='NetBSD ld.elf_so'
 
3242
  ;;
 
3243
 
3204
3244
netbsd*)
3205
3245
  version_type=sunos
3206
3246
  need_lib_prefix=no
3788
3828
  ;;
3789
3829
 
3790
3830
# This must be Linux ELF.
3791
 
linux* | k*bsd*-gnu)
 
3831
linux* | k*bsd*-gnu | kopensolaris*-gnu)
3792
3832
  lt_cv_deplibs_check_method=pass_all
3793
3833
  ;;
3794
3834
 
3795
 
netbsd*)
 
3835
netbsd* | netbsdelf*-gnu)
3796
3836
  if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
3797
3837
    lt_cv_deplibs_check_method='match_pattern /lib[[^/]]+(\.so\.[[0-9]]+\.[[0-9]]+|_pic\.a)$'
3798
3838
  else
4409
4449
            ;;
4410
4450
        esac
4411
4451
        ;;
4412
 
      linux* | k*bsd*-gnu)
 
4452
      linux* | k*bsd*-gnu | kopensolaris*-gnu)
4413
4453
        case $cc_basename in
4414
4454
          KCC*)
4415
4455
            # KAI C++ Compiler
4473
4513
            ;;
4474
4514
        esac
4475
4515
        ;;
4476
 
      netbsd*)
 
4516
      netbsd* | netbsdelf*-gnu)
4477
4517
        ;;
4478
4518
      *qnx* | *nto*)
4479
4519
        # QNX uses GNU C++, but need to define -shared option too, otherwise
4693
4733
      _LT_TAGVAR(lt_prog_compiler_static, $1)='-non_shared'
4694
4734
      ;;
4695
4735
 
4696
 
    linux* | k*bsd*-gnu)
 
4736
    linux* | k*bsd*-gnu | kopensolaris*-gnu)
4697
4737
      case $cc_basename in
4698
4738
      # old Intel for x86_64 which still supported -KPIC.
4699
4739
      ecc*)
4898
4938
  cygwin* | mingw* | cegcc*)
4899
4939
    _LT_TAGVAR(export_symbols_cmds, $1)='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[[BCDGRS]][[ ]]/s/.*[[ ]]\([[^ ]]*\)/\1 DATA/;/^.*[[ ]]__nm__/s/^.*[[ ]]__nm__\([[^ ]]*\)[[ ]][[^ ]]*/\1 DATA/;/^I[[ ]]/d;/^[[AITW]][[ ]]/s/.* //'\'' | sort | uniq > $export_symbols'
4900
4940
  ;;
 
4941
  linux* | k*bsd*-gnu)
 
4942
    _LT_TAGVAR(link_all_deplibs, $1)=no
 
4943
  ;;
4901
4944
  *)
4902
4945
    _LT_TAGVAR(export_symbols_cmds, $1)='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
4903
4946
  ;;
4962
5005
  openbsd*)
4963
5006
    with_gnu_ld=no
4964
5007
    ;;
 
5008
  linux* | k*bsd*-gnu)
 
5009
    _LT_TAGVAR(link_all_deplibs, $1)=no
 
5010
    ;;
4965
5011
  esac
4966
5012
 
4967
5013
  _LT_TAGVAR(ld_shlibs, $1)=yes
4983
5029
    fi
4984
5030
    supports_anon_versioning=no
4985
5031
    case `$LD -v 2>&1` in
 
5032
      *GNU\ gold*) supports_anon_versioning=yes ;;
4986
5033
      *\ [[01]].* | *\ 2.[[0-9]].* | *\ 2.10.*) ;; # catch versions < 2.11
4987
5034
      *\ 2.11.93.0.2\ *) supports_anon_versioning=yes ;; # RH7.3 ...
4988
5035
      *\ 2.11.92.0.12\ *) supports_anon_versioning=yes ;; # Mandrake 8.2 ...
5074
5121
      _LT_TAGVAR(archive_expsym_cmds, $1)='sed "s,^,_," $export_symbols >$output_objdir/$soname.expsym~$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--retain-symbols-file,$output_objdir/$soname.expsym ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
5075
5122
      ;;
5076
5123
 
5077
 
    gnu* | linux* | tpf* | k*bsd*-gnu)
 
5124
    gnu* | linux* | tpf* | k*bsd*-gnu | kopensolaris*-gnu)
5078
5125
      tmp_diet=no
5079
5126
      if test "$host_os" = linux-dietlibc; then
5080
5127
        case $cc_basename in
5144
5191
      fi
5145
5192
      ;;
5146
5193
 
5147
 
    netbsd*)
 
5194
    netbsd* | netbsdelf*-gnu)
5148
5195
      if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
5149
5196
        _LT_TAGVAR(archive_cmds, $1)='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
5150
5197
        wlarc=
5319
5366
        if test "$aix_use_runtimelinking" = yes; then
5320
5367
          shared_flag="$shared_flag "'${wl}-G'
5321
5368
        fi
 
5369
        _LT_TAGVAR(link_all_deplibs, $1)=no
5322
5370
      else
5323
5371
        # not using gcc
5324
5372
        if test "$host_cpu" = ia64; then
5557
5605
      _LT_TAGVAR(link_all_deplibs, $1)=yes
5558
5606
      ;;
5559
5607
 
5560
 
    netbsd*)
 
5608
    netbsd* | netbsdelf*-gnu)
5561
5609
      if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
5562
5610
        _LT_TAGVAR(archive_cmds, $1)='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'  # a.out
5563
5611
      else
6553
6601
        _LT_TAGVAR(inherit_rpath, $1)=yes
6554
6602
        ;;
6555
6603
 
6556
 
      linux* | k*bsd*-gnu)
 
6604
      linux* | k*bsd*-gnu | kopensolaris*-gnu)
6557
6605
        case $cc_basename in
6558
6606
          KCC*)
6559
6607
            # Kuck and Associates, Inc. (KAI) C++ Compiler
8560
8608
 
8561
8609
# Generated from ltversion.in.
8562
8610
 
8563
 
# serial 3012 ltversion.m4
 
8611
# serial 3017 ltversion.m4
8564
8612
# This file is part of GNU Libtool
8565
8613
 
8566
 
m4_define([LT_PACKAGE_VERSION], [2.2.6])
8567
 
m4_define([LT_PACKAGE_REVISION], [1.3012])
 
8614
m4_define([LT_PACKAGE_VERSION], [2.2.6b])
 
8615
m4_define([LT_PACKAGE_REVISION], [1.3017])
8568
8616
 
8569
8617
AC_DEFUN([LTVERSION_VERSION],
8570
 
[macro_version='2.2.6'
8571
 
macro_revision='1.3012'
 
8618
[macro_version='2.2.6b'
 
8619
macro_revision='1.3017'
8572
8620
_LT_DECL(, macro_version, 0, [Which release of libtool.m4 was used?])
8573
8621
_LT_DECL(, macro_revision, 0)
8574
8622
])
8766
8814
# _PKG_CONFIG([VARIABLE], [COMMAND], [MODULES])
8767
8815
# ---------------------------------------------
8768
8816
m4_define([_PKG_CONFIG],
8769
 
[if test -n "$$1"; then
8770
 
    pkg_cv_[]$1="$$1"
8771
 
 elif test -n "$PKG_CONFIG"; then
8772
 
    PKG_CHECK_EXISTS([$3],
8773
 
                     [pkg_cv_[]$1=`$PKG_CONFIG --[]$2 "$3" 2>/dev/null`],
8774
 
                     [pkg_failed=yes])
8775
 
 else
8776
 
    pkg_failed=untried
 
8817
[if test -n "$PKG_CONFIG"; then
 
8818
    if test -n "$$1"; then
 
8819
        pkg_cv_[]$1="$$1"
 
8820
    else
 
8821
        PKG_CHECK_EXISTS([$3],
 
8822
                         [pkg_cv_[]$1=`$PKG_CONFIG --[]$2 "$3" 2>/dev/null`],
 
8823
                         [pkg_failed=yes])
 
8824
    fi
 
8825
else
 
8826
        pkg_failed=untried
8777
8827
fi[]dnl
8778
8828
])# _PKG_CONFIG
8779
8829
 
8817
8867
if test $pkg_failed = yes; then
8818
8868
        _PKG_SHORT_ERRORS_SUPPORTED
8819
8869
        if test $_pkg_short_errors_supported = yes; then
8820
 
                $1[]_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors "$2" 2>&1`
 
8870
                $1[]_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "$2"`
8821
8871
        else 
8822
 
                $1[]_PKG_ERRORS=`$PKG_CONFIG --print-errors "$2" 2>&1`
 
8872
                $1[]_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "$2"`
8823
8873
        fi
8824
8874
        # Put the nasty error message in config.log where it belongs
8825
8875
        echo "$$1[]_PKG_ERRORS" >&AS_MESSAGE_LOG_FD
8854
8904
fi[]dnl
8855
8905
])# PKG_CHECK_MODULES
8856
8906
 
8857
 
# Copyright (C) 2002, 2003, 2005, 2006, 2007  Free Software Foundation, Inc.
 
8907
# Copyright (C) 2002, 2003, 2005, 2006, 2007, 2008  Free Software Foundation, Inc.
8858
8908
#
8859
8909
# This file is free software; the Free Software Foundation
8860
8910
# gives unlimited permission to copy and/or distribute it,
8866
8916
# generated from the m4 files accompanying Automake X.Y.
8867
8917
# (This private macro should not be called outside this file.)
8868
8918
AC_DEFUN([AM_AUTOMAKE_VERSION],
8869
 
[am__api_version='1.10'
 
8919
[am__api_version='1.11'
8870
8920
dnl Some users find AM_AUTOMAKE_VERSION and mistake it for a way to
8871
8921
dnl require some minimum version.  Point them to the right macro.
8872
 
m4_if([$1], [1.10.1], [],
 
8922
m4_if([$1], [1.11.1], [],
8873
8923
      [AC_FATAL([Do not call $0, use AM_INIT_AUTOMAKE([$1]).])])dnl
8874
8924
])
8875
8925
 
8883
8933
# AM_SET_CURRENT_AUTOMAKE_VERSION
8884
8934
# -------------------------------
8885
8935
# Call AM_AUTOMAKE_VERSION and AM_AUTOMAKE_VERSION so they can be traced.
8886
 
# This function is AC_REQUIREd by AC_INIT_AUTOMAKE.
 
8936
# This function is AC_REQUIREd by AM_INIT_AUTOMAKE.
8887
8937
AC_DEFUN([AM_SET_CURRENT_AUTOMAKE_VERSION],
8888
 
[AM_AUTOMAKE_VERSION([1.10.1])dnl
 
8938
[AM_AUTOMAKE_VERSION([1.11.1])dnl
8889
8939
m4_ifndef([AC_AUTOCONF_VERSION],
8890
8940
  [m4_copy([m4_PACKAGE_VERSION], [AC_AUTOCONF_VERSION])])dnl
8891
 
_AM_AUTOCONF_VERSION(AC_AUTOCONF_VERSION)])
 
8941
_AM_AUTOCONF_VERSION(m4_defn([AC_AUTOCONF_VERSION]))])
8892
8942
 
8893
8943
# AM_AUX_DIR_EXPAND                                         -*- Autoconf -*-
8894
8944
 
8945
8995
 
8946
8996
# AM_CONDITIONAL                                            -*- Autoconf -*-
8947
8997
 
8948
 
# Copyright (C) 1997, 2000, 2001, 2003, 2004, 2005, 2006
 
8998
# Copyright (C) 1997, 2000, 2001, 2003, 2004, 2005, 2006, 2008
8949
8999
# Free Software Foundation, Inc.
8950
9000
#
8951
9001
# This file is free software; the Free Software Foundation
8952
9002
# gives unlimited permission to copy and/or distribute it,
8953
9003
# with or without modifications, as long as this notice is preserved.
8954
9004
 
8955
 
# serial 8
 
9005
# serial 9
8956
9006
 
8957
9007
# AM_CONDITIONAL(NAME, SHELL-CONDITION)
8958
9008
# -------------------------------------
8965
9015
AC_SUBST([$1_FALSE])dnl
8966
9016
_AM_SUBST_NOTMAKE([$1_TRUE])dnl
8967
9017
_AM_SUBST_NOTMAKE([$1_FALSE])dnl
 
9018
m4_define([_AM_COND_VALUE_$1], [$2])dnl
8968
9019
if $2; then
8969
9020
  $1_TRUE=
8970
9021
  $1_FALSE='#'
8978
9029
Usually this means the macro was only invoked conditionally.]])
8979
9030
fi])])
8980
9031
 
8981
 
# Copyright (C) 1999, 2000, 2001, 2002, 2003, 2004, 2005, 2006
 
9032
# Copyright (C) 1999, 2000, 2001, 2002, 2003, 2004, 2005, 2006, 2009
8982
9033
# Free Software Foundation, Inc.
8983
9034
#
8984
9035
# This file is free software; the Free Software Foundation
8985
9036
# gives unlimited permission to copy and/or distribute it,
8986
9037
# with or without modifications, as long as this notice is preserved.
8987
9038
 
8988
 
# serial 9
 
9039
# serial 10
8989
9040
 
8990
9041
# There are a few dirty hacks below to avoid letting `AC_PROG_CC' be
8991
9042
# written in clear, in which case automake, when reading aclocal.m4,
9042
9093
  if test "$am_compiler_list" = ""; then
9043
9094
     am_compiler_list=`sed -n ['s/^#*\([a-zA-Z0-9]*\))$/\1/p'] < ./depcomp`
9044
9095
  fi
 
9096
  am__universal=false
 
9097
  m4_case([$1], [CC],
 
9098
    [case " $depcc " in #(
 
9099
     *\ -arch\ *\ -arch\ *) am__universal=true ;;
 
9100
     esac],
 
9101
    [CXX],
 
9102
    [case " $depcc " in #(
 
9103
     *\ -arch\ *\ -arch\ *) am__universal=true ;;
 
9104
     esac])
 
9105
 
9045
9106
  for depmode in $am_compiler_list; do
9046
9107
    # Setup a source with many dependencies, because some compilers
9047
9108
    # like to wrap large dependency lists on column 80 (with \), and
9059
9120
    done
9060
9121
    echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
9061
9122
 
 
9123
    # We check with `-c' and `-o' for the sake of the "dashmstdout"
 
9124
    # mode.  It turns out that the SunPro C++ compiler does not properly
 
9125
    # handle `-M -o', and we need to detect this.  Also, some Intel
 
9126
    # versions had trouble with output in subdirs
 
9127
    am__obj=sub/conftest.${OBJEXT-o}
 
9128
    am__minus_obj="-o $am__obj"
9062
9129
    case $depmode in
 
9130
    gcc)
 
9131
      # This depmode causes a compiler race in universal mode.
 
9132
      test "$am__universal" = false || continue
 
9133
      ;;
9063
9134
    nosideeffect)
9064
9135
      # after this tag, mechanisms are not by side-effect, so they'll
9065
9136
      # only be used when explicitly requested
9069
9140
        break
9070
9141
      fi
9071
9142
      ;;
 
9143
    msvisualcpp | msvcmsys)
 
9144
      # This compiler won't grok `-c -o', but also, the minuso test has
 
9145
      # not run yet.  These depmodes are late enough in the game, and
 
9146
      # so weak that their functioning should not be impacted.
 
9147
      am__obj=conftest.${OBJEXT-o}
 
9148
      am__minus_obj=
 
9149
      ;;
9072
9150
    none) break ;;
9073
9151
    esac
9074
 
    # We check with `-c' and `-o' for the sake of the "dashmstdout"
9075
 
    # mode.  It turns out that the SunPro C++ compiler does not properly
9076
 
    # handle `-M -o', and we need to detect this.
9077
9152
    if depmode=$depmode \
9078
 
       source=sub/conftest.c object=sub/conftest.${OBJEXT-o} \
 
9153
       source=sub/conftest.c object=$am__obj \
9079
9154
       depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
9080
 
       $SHELL ./depcomp $depcc -c -o sub/conftest.${OBJEXT-o} sub/conftest.c \
 
9155
       $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
9081
9156
         >/dev/null 2>conftest.err &&
9082
9157
       grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
9083
9158
       grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
9084
 
       grep sub/conftest.${OBJEXT-o} sub/conftest.Po > /dev/null 2>&1 &&
 
9159
       grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
9085
9160
       ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
9086
9161
      # icc doesn't choke on unknown options, it will just issue warnings
9087
9162
      # or remarks (even with -Werror).  So we grep stderr for any message
9138
9213
 
9139
9214
# Generate code to set up dependency tracking.              -*- Autoconf -*-
9140
9215
 
9141
 
# Copyright (C) 1999, 2000, 2001, 2002, 2003, 2004, 2005
 
9216
# Copyright (C) 1999, 2000, 2001, 2002, 2003, 2004, 2005, 2008
9142
9217
# Free Software Foundation, Inc.
9143
9218
#
9144
9219
# This file is free software; the Free Software Foundation
9145
9220
# gives unlimited permission to copy and/or distribute it,
9146
9221
# with or without modifications, as long as this notice is preserved.
9147
9222
 
9148
 
#serial 3
 
9223
#serial 5
9149
9224
 
9150
9225
# _AM_OUTPUT_DEPENDENCY_COMMANDS
9151
9226
# ------------------------------
9152
9227
AC_DEFUN([_AM_OUTPUT_DEPENDENCY_COMMANDS],
9153
 
[for mf in $CONFIG_FILES; do
9154
 
  # Strip MF so we end up with the name of the file.
9155
 
  mf=`echo "$mf" | sed -e 's/:.*$//'`
9156
 
  # Check whether this is an Automake generated Makefile or not.
9157
 
  # We used to match only the files named `Makefile.in', but
9158
 
  # some people rename them; so instead we look at the file content.
9159
 
  # Grep'ing the first line is not enough: some people post-process
9160
 
  # each Makefile.in and add a new line on top of each file to say so.
9161
 
  # Grep'ing the whole file is not good either: AIX grep has a line
9162
 
  # limit of 2048, but all sed's we know have understand at least 4000.
9163
 
  if sed -n 's,^#.*generated by automake.*,X,p' "$mf" | grep X >/dev/null 2>&1; then
9164
 
    dirpart=`AS_DIRNAME("$mf")`
9165
 
  else
9166
 
    continue
9167
 
  fi
9168
 
  # Extract the definition of DEPDIR, am__include, and am__quote
9169
 
  # from the Makefile without running `make'.
9170
 
  DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"`
9171
 
  test -z "$DEPDIR" && continue
9172
 
  am__include=`sed -n 's/^am__include = //p' < "$mf"`
9173
 
  test -z "am__include" && continue
9174
 
  am__quote=`sed -n 's/^am__quote = //p' < "$mf"`
9175
 
  # When using ansi2knr, U may be empty or an underscore; expand it
9176
 
  U=`sed -n 's/^U = //p' < "$mf"`
9177
 
  # Find all dependency output files, they are included files with
9178
 
  # $(DEPDIR) in their names.  We invoke sed twice because it is the
9179
 
  # simplest approach to changing $(DEPDIR) to its actual value in the
9180
 
  # expansion.
9181
 
  for file in `sed -n "
9182
 
    s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
9183
 
       sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do
9184
 
    # Make sure the directory exists.
9185
 
    test -f "$dirpart/$file" && continue
9186
 
    fdir=`AS_DIRNAME(["$file"])`
9187
 
    AS_MKDIR_P([$dirpart/$fdir])
9188
 
    # echo "creating $dirpart/$file"
9189
 
    echo '# dummy' > "$dirpart/$file"
 
9228
[{
 
9229
  # Autoconf 2.62 quotes --file arguments for eval, but not when files
 
9230
  # are listed without --file.  Let's play safe and only enable the eval
 
9231
  # if we detect the quoting.
 
9232
  case $CONFIG_FILES in
 
9233
  *\'*) eval set x "$CONFIG_FILES" ;;
 
9234
  *)   set x $CONFIG_FILES ;;
 
9235
  esac
 
9236
  shift
 
9237
  for mf
 
9238
  do
 
9239
    # Strip MF so we end up with the name of the file.
 
9240
    mf=`echo "$mf" | sed -e 's/:.*$//'`
 
9241
    # Check whether this is an Automake generated Makefile or not.
 
9242
    # We used to match only the files named `Makefile.in', but
 
9243
    # some people rename them; so instead we look at the file content.
 
9244
    # Grep'ing the first line is not enough: some people post-process
 
9245
    # each Makefile.in and add a new line on top of each file to say so.
 
9246
    # Grep'ing the whole file is not good either: AIX grep has a line
 
9247
    # limit of 2048, but all sed's we know have understand at least 4000.
 
9248
    if sed -n 's,^#.*generated by automake.*,X,p' "$mf" | grep X >/dev/null 2>&1; then
 
9249
      dirpart=`AS_DIRNAME("$mf")`
 
9250
    else
 
9251
      continue
 
9252
    fi
 
9253
    # Extract the definition of DEPDIR, am__include, and am__quote
 
9254
    # from the Makefile without running `make'.
 
9255
    DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"`
 
9256
    test -z "$DEPDIR" && continue
 
9257
    am__include=`sed -n 's/^am__include = //p' < "$mf"`
 
9258
    test -z "am__include" && continue
 
9259
    am__quote=`sed -n 's/^am__quote = //p' < "$mf"`
 
9260
    # When using ansi2knr, U may be empty or an underscore; expand it
 
9261
    U=`sed -n 's/^U = //p' < "$mf"`
 
9262
    # Find all dependency output files, they are included files with
 
9263
    # $(DEPDIR) in their names.  We invoke sed twice because it is the
 
9264
    # simplest approach to changing $(DEPDIR) to its actual value in the
 
9265
    # expansion.
 
9266
    for file in `sed -n "
 
9267
      s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
 
9268
         sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do
 
9269
      # Make sure the directory exists.
 
9270
      test -f "$dirpart/$file" && continue
 
9271
      fdir=`AS_DIRNAME(["$file"])`
 
9272
      AS_MKDIR_P([$dirpart/$fdir])
 
9273
      # echo "creating $dirpart/$file"
 
9274
      echo '# dummy' > "$dirpart/$file"
 
9275
    done
9190
9276
  done
9191
 
done
 
9277
}
9192
9278
])# _AM_OUTPUT_DEPENDENCY_COMMANDS
9193
9279
 
9194
9280
 
9220
9306
# Do all the work for Automake.                             -*- Autoconf -*-
9221
9307
 
9222
9308
# Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004,
9223
 
# 2005, 2006, 2008 Free Software Foundation, Inc.
 
9309
# 2005, 2006, 2008, 2009 Free Software Foundation, Inc.
9224
9310
#
9225
9311
# This file is free software; the Free Software Foundation
9226
9312
# gives unlimited permission to copy and/or distribute it,
9227
9313
# with or without modifications, as long as this notice is preserved.
9228
9314
 
9229
 
# serial 13
 
9315
# serial 16
9230
9316
 
9231
9317
# This macro actually does too much.  Some checks are only needed if
9232
9318
# your package does certain things.  But this isn't really a big deal.
9243
9329
# arguments mandatory, and then we can depend on a new Autoconf
9244
9330
# release and drop the old call support.
9245
9331
AC_DEFUN([AM_INIT_AUTOMAKE],
9246
 
[AC_PREREQ([2.60])dnl
 
9332
[AC_PREREQ([2.62])dnl
9247
9333
dnl Autoconf wants to disallow AM_ names.  We explicitly allow
9248
9334
dnl the ones we care about.
9249
9335
m4_pattern_allow([^AM_[A-Z]+FLAGS$])dnl
9294
9380
AM_MISSING_PROG(AUTOMAKE, automake-${am__api_version})
9295
9381
AM_MISSING_PROG(AUTOHEADER, autoheader)
9296
9382
AM_MISSING_PROG(MAKEINFO, makeinfo)
9297
 
AM_PROG_INSTALL_SH
9298
 
AM_PROG_INSTALL_STRIP
 
9383
AC_REQUIRE([AM_PROG_INSTALL_SH])dnl
 
9384
AC_REQUIRE([AM_PROG_INSTALL_STRIP])dnl
9299
9385
AC_REQUIRE([AM_PROG_MKDIR_P])dnl
9300
9386
# We need awk for the "check" target.  The system "awk" is bad on
9301
9387
# some platforms.
9303
9389
AC_REQUIRE([AC_PROG_MAKE_SET])dnl
9304
9390
AC_REQUIRE([AM_SET_LEADING_DOT])dnl
9305
9391
_AM_IF_OPTION([tar-ustar], [_AM_PROG_TAR([ustar])],
9306
 
              [_AM_IF_OPTION([tar-pax], [_AM_PROG_TAR([pax])],
9307
 
                             [_AM_PROG_TAR([v7])])])
 
9392
              [_AM_IF_OPTION([tar-pax], [_AM_PROG_TAR([pax])],
 
9393
                             [_AM_PROG_TAR([v7])])])
9308
9394
_AM_IF_OPTION([no-dependencies],,
9309
9395
[AC_PROVIDE_IFELSE([AC_PROG_CC],
9310
 
                  [_AM_DEPENDENCIES(CC)],
9311
 
                  [define([AC_PROG_CC],
9312
 
                          defn([AC_PROG_CC])[_AM_DEPENDENCIES(CC)])])dnl
 
9396
                  [_AM_DEPENDENCIES(CC)],
 
9397
                  [define([AC_PROG_CC],
 
9398
                          defn([AC_PROG_CC])[_AM_DEPENDENCIES(CC)])])dnl
9313
9399
AC_PROVIDE_IFELSE([AC_PROG_CXX],
9314
 
                  [_AM_DEPENDENCIES(CXX)],
9315
 
                  [define([AC_PROG_CXX],
9316
 
                          defn([AC_PROG_CXX])[_AM_DEPENDENCIES(CXX)])])dnl
 
9400
                  [_AM_DEPENDENCIES(CXX)],
 
9401
                  [define([AC_PROG_CXX],
 
9402
                          defn([AC_PROG_CXX])[_AM_DEPENDENCIES(CXX)])])dnl
9317
9403
AC_PROVIDE_IFELSE([AC_PROG_OBJC],
9318
 
                  [_AM_DEPENDENCIES(OBJC)],
9319
 
                  [define([AC_PROG_OBJC],
9320
 
                          defn([AC_PROG_OBJC])[_AM_DEPENDENCIES(OBJC)])])dnl
9321
 
])
9322
 
])
 
9404
                  [_AM_DEPENDENCIES(OBJC)],
 
9405
                  [define([AC_PROG_OBJC],
 
9406
                          defn([AC_PROG_OBJC])[_AM_DEPENDENCIES(OBJC)])])dnl
 
9407
])
 
9408
_AM_IF_OPTION([silent-rules], [AC_REQUIRE([AM_SILENT_RULES])])dnl
 
9409
dnl The `parallel-tests' driver may need to know about EXEEXT, so add the
 
9410
dnl `am__EXEEXT' conditional if _AM_COMPILER_EXEEXT was seen.  This macro
 
9411
dnl is hooked onto _AC_COMPILER_EXEEXT early, see below.
 
9412
AC_CONFIG_COMMANDS_PRE(dnl
 
9413
[m4_provide_if([_AM_COMPILER_EXEEXT],
 
9414
  [AM_CONDITIONAL([am__EXEEXT], [test -n "$EXEEXT"])])])dnl
 
9415
])
 
9416
 
 
9417
dnl Hook into `_AC_COMPILER_EXEEXT' early to learn its expansion.  Do not
 
9418
dnl add the conditional right here, as _AC_COMPILER_EXEEXT may be further
 
9419
dnl mangled by Autoconf and run in a shell conditional statement.
 
9420
m4_define([_AC_COMPILER_EXEEXT],
 
9421
m4_defn([_AC_COMPILER_EXEEXT])[m4_provide([_AM_COMPILER_EXEEXT])])
9323
9422
 
9324
9423
 
9325
9424
# When config.status generates a header, we must update the stamp-h file.
9343
9442
done
9344
9443
echo "timestamp for $_am_arg" >`AS_DIRNAME(["$_am_arg"])`/stamp-h[]$_am_stamp_count])
9345
9444
 
9346
 
# Copyright (C) 2001, 2003, 2005  Free Software Foundation, Inc.
 
9445
# Copyright (C) 2001, 2003, 2005, 2008  Free Software Foundation, Inc.
9347
9446
#
9348
9447
# This file is free software; the Free Software Foundation
9349
9448
# gives unlimited permission to copy and/or distribute it,
9354
9453
# Define $install_sh.
9355
9454
AC_DEFUN([AM_PROG_INSTALL_SH],
9356
9455
[AC_REQUIRE([AM_AUX_DIR_EXPAND])dnl
9357
 
install_sh=${install_sh-"\$(SHELL) $am_aux_dir/install-sh"}
 
9456
if test x"${install_sh}" != xset; then
 
9457
  case $am_aux_dir in
 
9458
  *\ * | *\     *)
 
9459
    install_sh="\${SHELL} '$am_aux_dir/install-sh'" ;;
 
9460
  *)
 
9461
    install_sh="\${SHELL} $am_aux_dir/install-sh"
 
9462
  esac
 
9463
fi
9358
9464
AC_SUBST(install_sh)])
9359
9465
 
9360
9466
# Copyright (C) 2003, 2005  Free Software Foundation, Inc.
9381
9487
# Add --enable-maintainer-mode option to configure.         -*- Autoconf -*-
9382
9488
# From Jim Meyering
9383
9489
 
9384
 
# Copyright (C) 1996, 1998, 2000, 2001, 2002, 2003, 2004, 2005
 
9490
# Copyright (C) 1996, 1998, 2000, 2001, 2002, 2003, 2004, 2005, 2008
9385
9491
# Free Software Foundation, Inc.
9386
9492
#
9387
9493
# This file is free software; the Free Software Foundation
9388
9494
# gives unlimited permission to copy and/or distribute it,
9389
9495
# with or without modifications, as long as this notice is preserved.
9390
9496
 
9391
 
# serial 4
 
9497
# serial 5
9392
9498
 
 
9499
# AM_MAINTAINER_MODE([DEFAULT-MODE])
 
9500
# ----------------------------------
 
9501
# Control maintainer-specific portions of Makefiles.
 
9502
# Default is to disable them, unless `enable' is passed literally.
 
9503
# For symmetry, `disable' may be passed as well.  Anyway, the user
 
9504
# can override the default with the --enable/--disable switch.
9393
9505
AC_DEFUN([AM_MAINTAINER_MODE],
9394
 
[AC_MSG_CHECKING([whether to enable maintainer-specific portions of Makefiles])
9395
 
  dnl maintainer-mode is disabled by default
9396
 
  AC_ARG_ENABLE(maintainer-mode,
9397
 
[  --enable-maintainer-mode  enable make rules and dependencies not useful
 
9506
[m4_case(m4_default([$1], [disable]),
 
9507
       [enable], [m4_define([am_maintainer_other], [disable])],
 
9508
       [disable], [m4_define([am_maintainer_other], [enable])],
 
9509
       [m4_define([am_maintainer_other], [enable])
 
9510
        m4_warn([syntax], [unexpected argument to AM@&t@_MAINTAINER_MODE: $1])])
 
9511
AC_MSG_CHECKING([whether to am_maintainer_other maintainer-specific portions of Makefiles])
 
9512
  dnl maintainer-mode's default is 'disable' unless 'enable' is passed
 
9513
  AC_ARG_ENABLE([maintainer-mode],
 
9514
[  --][am_maintainer_other][-maintainer-mode  am_maintainer_other make rules and dependencies not useful
9398
9515
                          (and sometimes confusing) to the casual installer],
9399
 
      USE_MAINTAINER_MODE=$enableval,
9400
 
      USE_MAINTAINER_MODE=no)
 
9516
      [USE_MAINTAINER_MODE=$enableval],
 
9517
      [USE_MAINTAINER_MODE=]m4_if(am_maintainer_other, [enable], [no], [yes]))
9401
9518
  AC_MSG_RESULT([$USE_MAINTAINER_MODE])
9402
 
  AM_CONDITIONAL(MAINTAINER_MODE, [test $USE_MAINTAINER_MODE = yes])
 
9519
  AM_CONDITIONAL([MAINTAINER_MODE], [test $USE_MAINTAINER_MODE = yes])
9403
9520
  MAINT=$MAINTAINER_MODE_TRUE
9404
 
  AC_SUBST(MAINT)dnl
 
9521
  AC_SUBST([MAINT])dnl
9405
9522
]
9406
9523
)
9407
9524
 
9409
9526
 
9410
9527
# Check to see how 'make' treats includes.                  -*- Autoconf -*-
9411
9528
 
9412
 
# Copyright (C) 2001, 2002, 2003, 2005  Free Software Foundation, Inc.
 
9529
# Copyright (C) 2001, 2002, 2003, 2005, 2009  Free Software Foundation, Inc.
9413
9530
#
9414
9531
# This file is free software; the Free Software Foundation
9415
9532
# gives unlimited permission to copy and/or distribute it,
9416
9533
# with or without modifications, as long as this notice is preserved.
9417
9534
 
9418
 
# serial 3
 
9535
# serial 4
9419
9536
 
9420
9537
# AM_MAKE_INCLUDE()
9421
9538
# -----------------
9424
9541
[am_make=${MAKE-make}
9425
9542
cat > confinc << 'END'
9426
9543
am__doit:
9427
 
        @echo done
 
9544
        @echo this is the am__doit target
9428
9545
.PHONY: am__doit
9429
9546
END
9430
9547
# If we don't find an include directive, just comment out the code.
9434
9551
_am_result=none
9435
9552
# First try GNU make style include.
9436
9553
echo "include confinc" > confmf
9437
 
# We grep out `Entering directory' and `Leaving directory'
9438
 
# messages which can occur if `w' ends up in MAKEFLAGS.
9439
 
# In particular we don't look at `^make:' because GNU make might
9440
 
# be invoked under some other name (usually "gmake"), in which
9441
 
# case it prints its new name instead of `make'.
9442
 
if test "`$am_make -s -f confmf 2> /dev/null | grep -v 'ing directory'`" = "done"; then
9443
 
   am__include=include
9444
 
   am__quote=
9445
 
   _am_result=GNU
9446
 
fi
 
9554
# Ignore all kinds of additional output from `make'.
 
9555
case `$am_make -s -f confmf 2> /dev/null` in #(
 
9556
*the\ am__doit\ target*)
 
9557
  am__include=include
 
9558
  am__quote=
 
9559
  _am_result=GNU
 
9560
  ;;
 
9561
esac
9447
9562
# Now try BSD make style include.
9448
9563
if test "$am__include" = "#"; then
9449
9564
   echo '.include "confinc"' > confmf
9450
 
   if test "`$am_make -s -f confmf 2> /dev/null`" = "done"; then
9451
 
      am__include=.include
9452
 
      am__quote="\""
9453
 
      _am_result=BSD
9454
 
   fi
 
9565
   case `$am_make -s -f confmf 2> /dev/null` in #(
 
9566
   *the\ am__doit\ target*)
 
9567
     am__include=.include
 
9568
     am__quote="\""
 
9569
     _am_result=BSD
 
9570
     ;;
 
9571
   esac
9455
9572
fi
9456
9573
AC_SUBST([am__include])
9457
9574
AC_SUBST([am__quote])
9461
9578
 
9462
9579
# Fake the existence of programs that GNU maintainers use.  -*- Autoconf -*-
9463
9580
 
9464
 
# Copyright (C) 1997, 1999, 2000, 2001, 2003, 2004, 2005
 
9581
# Copyright (C) 1997, 1999, 2000, 2001, 2003, 2004, 2005, 2008
9465
9582
# Free Software Foundation, Inc.
9466
9583
#
9467
9584
# This file is free software; the Free Software Foundation
9468
9585
# gives unlimited permission to copy and/or distribute it,
9469
9586
# with or without modifications, as long as this notice is preserved.
9470
9587
 
9471
 
# serial 5
 
9588
# serial 6
9472
9589
 
9473
9590
# AM_MISSING_PROG(NAME, PROGRAM)
9474
9591
# ------------------------------
9485
9602
AC_DEFUN([AM_MISSING_HAS_RUN],
9486
9603
[AC_REQUIRE([AM_AUX_DIR_EXPAND])dnl
9487
9604
AC_REQUIRE_AUX_FILE([missing])dnl
9488
 
test x"${MISSING+set}" = xset || MISSING="\${SHELL} $am_aux_dir/missing"
 
9605
if test x"${MISSING+set}" != xset; then
 
9606
  case $am_aux_dir in
 
9607
  *\ * | *\     *)
 
9608
    MISSING="\${SHELL} \"$am_aux_dir/missing\"" ;;
 
9609
  *)
 
9610
    MISSING="\${SHELL} $am_aux_dir/missing" ;;
 
9611
  esac
 
9612
fi
9489
9613
# Use eval to expand $SHELL
9490
9614
if eval "$MISSING --run true"; then
9491
9615
  am_missing_run="$MISSING --run "
9523
9647
 
9524
9648
# Helper functions for option handling.                     -*- Autoconf -*-
9525
9649
 
9526
 
# Copyright (C) 2001, 2002, 2003, 2005  Free Software Foundation, Inc.
 
9650
# Copyright (C) 2001, 2002, 2003, 2005, 2008  Free Software Foundation, Inc.
9527
9651
#
9528
9652
# This file is free software; the Free Software Foundation
9529
9653
# gives unlimited permission to copy and/or distribute it,
9530
9654
# with or without modifications, as long as this notice is preserved.
9531
9655
 
9532
 
# serial 3
 
9656
# serial 4
9533
9657
 
9534
9658
# _AM_MANGLE_OPTION(NAME)
9535
9659
# -----------------------
9546
9670
# ----------------------------------
9547
9671
# OPTIONS is a space-separated list of Automake options.
9548
9672
AC_DEFUN([_AM_SET_OPTIONS],
9549
 
[AC_FOREACH([_AM_Option], [$1], [_AM_SET_OPTION(_AM_Option)])])
 
9673
[m4_foreach_w([_AM_Option], [$1], [_AM_SET_OPTION(_AM_Option)])])
9550
9674
 
9551
9675
# _AM_IF_OPTION(OPTION, IF-SET, [IF-NOT-SET])
9552
9676
# -------------------------------------------
9573
9697
 
9574
9698
# Check to make sure that the build environment is sane.    -*- Autoconf -*-
9575
9699
 
9576
 
# Copyright (C) 1996, 1997, 2000, 2001, 2003, 2005
 
9700
# Copyright (C) 1996, 1997, 2000, 2001, 2003, 2005, 2008
9577
9701
# Free Software Foundation, Inc.
9578
9702
#
9579
9703
# This file is free software; the Free Software Foundation
9580
9704
# gives unlimited permission to copy and/or distribute it,
9581
9705
# with or without modifications, as long as this notice is preserved.
9582
9706
 
9583
 
# serial 4
 
9707
# serial 5
9584
9708
 
9585
9709
# AM_SANITY_CHECK
9586
9710
# ---------------
9589
9713
# Just in case
9590
9714
sleep 1
9591
9715
echo timestamp > conftest.file
 
9716
# Reject unsafe characters in $srcdir or the absolute working directory
 
9717
# name.  Accept space and tab only in the latter.
 
9718
am_lf='
 
9719
'
 
9720
case `pwd` in
 
9721
  *[[\\\"\#\$\&\'\`$am_lf]]*)
 
9722
    AC_MSG_ERROR([unsafe absolute working directory name]);;
 
9723
esac
 
9724
case $srcdir in
 
9725
  *[[\\\"\#\$\&\'\`$am_lf\ \    ]]*)
 
9726
    AC_MSG_ERROR([unsafe srcdir value: `$srcdir']);;
 
9727
esac
 
9728
 
9592
9729
# Do `set' in a subshell so we don't clobber the current shell's
9593
9730
# arguments.  Must try -L first in case configure is actually a
9594
9731
# symlink; some systems play weird games with the mod time of symlinks
9595
9732
# (eg FreeBSD returns the mod time of the symlink's containing
9596
9733
# directory).
9597
9734
if (
9598
 
   set X `ls -Lt $srcdir/configure conftest.file 2> /dev/null`
 
9735
   set X `ls -Lt "$srcdir/configure" conftest.file 2> /dev/null`
9599
9736
   if test "$[*]" = "X"; then
9600
9737
      # -L didn't work.
9601
 
      set X `ls -t $srcdir/configure conftest.file`
 
9738
      set X `ls -t "$srcdir/configure" conftest.file`
9602
9739
   fi
9603
9740
   rm -f conftest.file
9604
9741
   if test "$[*]" != "X $srcdir/configure conftest.file" \
9651
9788
INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s"
9652
9789
AC_SUBST([INSTALL_STRIP_PROGRAM])])
9653
9790
 
9654
 
# Copyright (C) 2006  Free Software Foundation, Inc.
 
9791
# Copyright (C) 2006, 2008  Free Software Foundation, Inc.
9655
9792
#
9656
9793
# This file is free software; the Free Software Foundation
9657
9794
# gives unlimited permission to copy and/or distribute it,
9658
9795
# with or without modifications, as long as this notice is preserved.
9659
9796
 
 
9797
# serial 2
 
9798
 
9660
9799
# _AM_SUBST_NOTMAKE(VARIABLE)
9661
9800
# ---------------------------
9662
9801
# Prevent Automake from outputting VARIABLE = @VARIABLE@ in Makefile.in.
9663
9802
# This macro is traced by Automake.
9664
9803
AC_DEFUN([_AM_SUBST_NOTMAKE])
9665
9804
 
 
9805
# AM_SUBST_NOTMAKE(VARIABLE)
 
9806
# ---------------------------
 
9807
# Public sister of _AM_SUBST_NOTMAKE.
 
9808
AC_DEFUN([AM_SUBST_NOTMAKE], [_AM_SUBST_NOTMAKE($@)])
 
9809
 
9666
9810
# Check how to create a tarball.                            -*- Autoconf -*-
9667
9811
 
9668
9812
# Copyright (C) 2004, 2005  Free Software Foundation, Inc.