~ubuntu-branches/ubuntu/quantal/maildir-utils/quantal

« back to all changes in this revision

Viewing changes to aclocal.m4

  • Committer: Bazaar Package Importer
  • Author(s): Norbert Preining
  • Date: 2010-01-19 20:12:43 UTC
  • mfrom: (1.1.1 upstream)
  • Revision ID: james.westby@ubuntu.com-20100119201243-d8qmzgxgexhy1bs0
Tags: 0.6~beta1-1
* new upstream release 0.6-beta
  - that merges the several different programs under one binary mu
  - no sqlite storage is used anymore
* debian packaging changes:
  - debian/patches
    . remove all patches
  - remove debian/HOWTO (upstream document) it is completely outdated
  - debian/control:
    . adjust build-dep for gmime-2.4
    . remove build-dep on quilt and sqlite
    . adjust the description to new reality
  - debian/rules:
    . do not try to install doc files that are not present anymore
    . disable quilt adaptions
  - add debian/NEWS that explains that the separate programs are gone

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.61],,
17
 
[m4_warning([this file was generated for autoconf 2.61.
 
16
m4_if(m4_defn([AC_AUTOCONF_VERSION]), [2.64],,
 
17
[m4_warning([this file was generated for autoconf 2.64.
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'.])])
395
395
# lt_decl_varnames_tagged([SEPARATOR], [VARNAME1...])
396
396
# ---------------------------------------------------
397
397
m4_define([lt_decl_varnames_tagged],
398
 
[_$0(m4_quote(m4_default([$1], [[, ]])),
399
 
     m4_quote(m4_if([$2], [],
400
 
                     m4_quote(lt_decl_tag_varnames),
401
 
                  m4_quote(m4_shift($@)))),
402
 
     m4_split(m4_normalize(m4_quote(_LT_TAGS))))])
403
 
m4_define([_lt_decl_varnames_tagged], [lt_combine([$1], [$2], [_], $3)])
 
398
[m4_assert([$# <= 2])dnl
 
399
_$0(m4_quote(m4_default([$1], [[, ]])),
 
400
    m4_ifval([$2], [[$2]], [m4_dquote(lt_decl_tag_varnames)]),
 
401
    m4_split(m4_normalize(m4_quote(_LT_TAGS)), [ ]))])
 
402
m4_define([_lt_decl_varnames_tagged],
 
403
[m4_ifval([$3], [lt_combine([$1], [$2], [_], $3)])])
404
404
 
405
405
 
406
406
# lt_decl_all_varnames([SEPARATOR], [VARNAME1...])
960
960
      _lt_dar_allow_undefined='${wl}-undefined ${wl}suppress' ;;
961
961
    darwin1.*)
962
962
      _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
963
 
    darwin*) # darwin 5.x on 
 
963
    darwin*) # darwin 5.x on
964
964
      # if running on 10.5 or later, the deployment target defaults
965
965
      # to the OS version, if on x86, and 10.4, the deployment
966
 
      # target defaults to 10.4. Don't you love it? 
 
966
      # target defaults to 10.4. Don't you love it?
967
967
      case ${MACOSX_DEPLOYMENT_TARGET-10.0},$host in
968
968
        10.0,*86*-darwin8*|10.0,*-darwin[[91]]*)
969
969
          _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
1005
1005
  _LT_TAGVAR(whole_archive_flag_spec, $1)=''
1006
1006
  _LT_TAGVAR(link_all_deplibs, $1)=yes
1007
1007
  _LT_TAGVAR(allow_undefined_flag, $1)="$_lt_dar_allow_undefined"
1008
 
  if test "$GCC" = "yes"; then
 
1008
  case $cc_basename in
 
1009
     ifort*) _lt_dar_can_shared=yes ;;
 
1010
     *) _lt_dar_can_shared=$GCC ;;
 
1011
  esac
 
1012
  if test "$_lt_dar_can_shared" = "yes"; then
1009
1013
    output_verbose_link_cmd=echo
1010
1014
    _LT_TAGVAR(archive_cmds, $1)="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod${_lt_dsymutil}"
1011
1015
    _LT_TAGVAR(module_cmds, $1)="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}"
1527
1531
    lt_cv_sys_max_cmd_len=-1;
1528
1532
    ;;
1529
1533
 
1530
 
  cygwin* | mingw*)
 
1534
  cygwin* | mingw* | cegcc*)
1531
1535
    # On Win9x/ME, this test blows up -- it succeeds, but takes
1532
1536
    # about 5 minutes as the teststring grows exponentially.
1533
1537
    # Worse, since 9x/ME are not pre-emptively multitasking,
1695
1699
#  endif
1696
1700
#endif
1697
1701
 
1698
 
#ifdef __cplusplus
1699
 
extern "C" void exit (int);
1700
 
#endif
1701
 
 
1702
1702
void fnord() { int i=42;}
1703
1703
int main ()
1704
1704
{
1714
1714
  else
1715
1715
    puts (dlerror ());
1716
1716
 
1717
 
    exit (status);
 
1717
  return status;
1718
1718
}]
1719
1719
_LT_EOF
1720
1720
  if AC_TRY_EVAL(ac_link) && test -s conftest${ac_exeext} 2>/dev/null; then
1753
1753
    lt_cv_dlopen_self=yes
1754
1754
    ;;
1755
1755
 
1756
 
  mingw* | pw32*)
 
1756
  mingw* | pw32* | cegcc*)
1757
1757
    lt_cv_dlopen="LoadLibrary"
1758
1758
    lt_cv_dlopen_libs=
1759
1759
    ;;
2050
2050
[AC_REQUIRE([AC_CANONICAL_HOST])dnl
2051
2051
m4_require([_LT_DECL_EGREP])dnl
2052
2052
m4_require([_LT_FILEUTILS_DEFAULTS])dnl
 
2053
m4_require([_LT_DECL_OBJDUMP])dnl
2053
2054
m4_require([_LT_DECL_SED])dnl
2054
2055
AC_MSG_CHECKING([dynamic linker characteristics])
2055
2056
m4_if([$1],
2214
2215
  # libtool to hard-code these into programs
2215
2216
  ;;
2216
2217
 
2217
 
cygwin* | mingw* | pw32*)
 
2218
cygwin* | mingw* | pw32* | cegcc*)
2218
2219
  version_type=windows
2219
2220
  shrext_cmds=".dll"
2220
2221
  need_version=no
2221
2222
  need_lib_prefix=no
2222
2223
 
2223
2224
  case $GCC,$host_os in
2224
 
  yes,cygwin* | yes,mingw* | yes,pw32*)
 
2225
  yes,cygwin* | yes,mingw* | yes,pw32* | yes,cegcc*)
2225
2226
    library_names_spec='$libname.dll.a'
2226
2227
    # DLL is installed to $(libdir)/../bin by postinstall_cmds
2227
2228
    postinstall_cmds='base_file=`basename \${file}`~
2244
2245
      soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[[.]]/-/g'`${versuffix}${shared_ext}'
2245
2246
      sys_lib_search_path_spec="/usr/lib /lib/w32api /lib /usr/local/lib"
2246
2247
      ;;
2247
 
    mingw*)
 
2248
    mingw* | cegcc*)
2248
2249
      # MinGW DLLs use traditional 'lib' prefix
2249
2250
      soname_spec='${libname}`echo ${release} | $SED -e 's/[[.]]/-/g'`${versuffix}${shared_ext}'
2250
2251
      sys_lib_search_path_spec=`$CC -print-search-dirs | $GREP "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
2682
2683
  version_type=linux
2683
2684
  need_lib_prefix=no
2684
2685
  need_version=no
2685
 
  library_name_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
 
2686
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
2686
2687
  shlibpath_var=LD_LIBRARY_PATH
2687
2688
  shlibpath_overrides_runpath=no
2688
2689
  hardcode_into_libs=yes
2706
2707
if test "$GCC" = yes; then
2707
2708
  variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
2708
2709
fi
2709
 
 
 
2710
 
2710
2711
if test "${lt_cv_sys_lib_search_path_spec+set}" = set; then
2711
2712
  sys_lib_search_path_spec="$lt_cv_sys_lib_search_path_spec"
2712
2713
fi
2983
2984
#  -- PORTME fill in with the dynamic library characteristics
2984
2985
m4_defun([_LT_CHECK_MAGIC_METHOD],
2985
2986
[m4_require([_LT_DECL_EGREP])
 
2987
m4_require([_LT_DECL_OBJDUMP])
2986
2988
AC_CACHE_CHECK([how to recognize dependent libraries],
2987
2989
lt_cv_deplibs_check_method,
2988
2990
[lt_cv_file_magic_cmd='$MAGIC_CMD'
3033
3035
  fi
3034
3036
  ;;
3035
3037
 
 
3038
cegcc)
 
3039
  # use the weaker test based on 'objdump'. See mingw*.
 
3040
  lt_cv_deplibs_check_method='file_magic file format pe-arm-.*little(.*architecture: arm)?'
 
3041
  lt_cv_file_magic_cmd='$OBJDUMP -f'
 
3042
  ;;
 
3043
 
3036
3044
darwin* | rhapsody*)
3037
3045
  lt_cv_deplibs_check_method=pass_all
3038
3046
  ;;
3344
3352
aix*)
3345
3353
  symcode='[[BCDT]]'
3346
3354
  ;;
3347
 
cygwin* | mingw* | pw32*)
 
3355
cygwin* | mingw* | pw32* | cegcc*)
3348
3356
  symcode='[[ABCDGISTW]]'
3349
3357
  ;;
3350
3358
hpux*)
3590
3598
    beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
3591
3599
      # PIC is the default for these OSes.
3592
3600
      ;;
3593
 
    mingw* | cygwin* | os2* | pw32*)
 
3601
    mingw* | cygwin* | os2* | pw32* | cegcc*)
3594
3602
      # This hack is so that the source file can tell whether it is being
3595
3603
      # built for inclusion in a dll (and should export symbols for example).
3596
3604
      # Although the cygwin gcc ignores -fPIC, still need this for old-style
3617
3625
      fi
3618
3626
      ;;
3619
3627
    hpux*)
3620
 
      # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
3621
 
      # not for PA HP-UX.
 
3628
      # PIC is the default for 64-bit PA HP-UX, but not for 32-bit
 
3629
      # PA HP-UX.  On IA64 HP-UX, PIC is the default but the pic flag
 
3630
      # sets the default TLS model and affects inlining.
3622
3631
      case $host_cpu in
3623
 
      hppa*64*|ia64*)
 
3632
      hppa*64*)
3624
3633
        ;;
3625
3634
      *)
3626
3635
        _LT_TAGVAR(lt_prog_compiler_pic, $1)='-fPIC'
3718
3727
            _LT_TAGVAR(lt_prog_compiler_wl, $1)='--backend -Wl,'
3719
3728
            _LT_TAGVAR(lt_prog_compiler_pic, $1)='-fPIC'
3720
3729
            ;;
3721
 
          icpc* | ecpc* )
3722
 
            # Intel C++
 
3730
          ecpc* )
 
3731
            # old Intel C++ for x86_64 which still supported -KPIC.
3723
3732
            _LT_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,'
3724
3733
            _LT_TAGVAR(lt_prog_compiler_pic, $1)='-KPIC'
3725
3734
            _LT_TAGVAR(lt_prog_compiler_static, $1)='-static'
3726
3735
            ;;
 
3736
          icpc* )
 
3737
            # Intel C++, used to be incompatible with GCC.
 
3738
            # ICC 10 doesn't accept -KPIC any more.
 
3739
            _LT_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,'
 
3740
            _LT_TAGVAR(lt_prog_compiler_pic, $1)='-fPIC'
 
3741
            _LT_TAGVAR(lt_prog_compiler_static, $1)='-static'
 
3742
            ;;
3727
3743
          pgCC* | pgcpp*)
3728
3744
            # Portland Group C++ compiler
3729
3745
            _LT_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,'
3889
3905
      # PIC is the default for these OSes.
3890
3906
      ;;
3891
3907
 
3892
 
    mingw* | cygwin* | pw32* | os2*)
 
3908
    mingw* | cygwin* | pw32* | os2* | cegcc*)
3893
3909
      # This hack is so that the source file can tell whether it is being
3894
3910
      # built for inclusion in a dll (and should export symbols for example).
3895
3911
      # Although the cygwin gcc ignores -fPIC, still need this for old-style
3905
3921
      ;;
3906
3922
 
3907
3923
    hpux*)
3908
 
      # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
3909
 
      # not for PA HP-UX.
 
3924
      # PIC is the default for 64-bit PA HP-UX, but not for 32-bit
 
3925
      # PA HP-UX.  On IA64 HP-UX, PIC is the default but the pic flag
 
3926
      # sets the default TLS model and affects inlining.
3910
3927
      case $host_cpu in
3911
 
      hppa*64*|ia64*)
 
3928
      hppa*64*)
3912
3929
        # +Z the default
3913
3930
        ;;
3914
3931
      *)
3958
3975
      fi
3959
3976
      ;;
3960
3977
 
3961
 
    mingw* | cygwin* | pw32* | os2*)
 
3978
    mingw* | cygwin* | pw32* | os2* | cegcc*)
3962
3979
      # This hack is so that the source file can tell whether it is being
3963
3980
      # built for inclusion in a dll (and should export symbols for example).
3964
3981
      m4_if([$1], [GCJ], [],
3989
4006
 
3990
4007
    linux* | k*bsd*-gnu)
3991
4008
      case $cc_basename in
3992
 
      icc* | ecc* | ifort*)
 
4009
      # old Intel for x86_64 which still supported -KPIC.
 
4010
      ecc*)
3993
4011
        _LT_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,'
3994
4012
        _LT_TAGVAR(lt_prog_compiler_pic, $1)='-KPIC'
3995
4013
        _LT_TAGVAR(lt_prog_compiler_static, $1)='-static'
3996
4014
        ;;
 
4015
      # icc used to be incompatible with GCC.
 
4016
      # ICC 10 doesn't accept -KPIC any more.
 
4017
      icc* | ifort*)
 
4018
        _LT_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,'
 
4019
        _LT_TAGVAR(lt_prog_compiler_pic, $1)='-fPIC'
 
4020
        _LT_TAGVAR(lt_prog_compiler_static, $1)='-static'
 
4021
        ;;
 
4022
      # Lahey Fortran 8.1.
 
4023
      lf95*)
 
4024
        _LT_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,'
 
4025
        _LT_TAGVAR(lt_prog_compiler_pic, $1)='--shared'
 
4026
        _LT_TAGVAR(lt_prog_compiler_static, $1)='--static'
 
4027
        ;;
3997
4028
      pgcc* | pgf77* | pgf90* | pgf95*)
3998
4029
        # Portland Group compilers (*not* the Pentium gcc compiler,
3999
4030
        # which looks to be a dead project)
4175
4206
  pw32*)
4176
4207
    _LT_TAGVAR(export_symbols_cmds, $1)="$ltdll_cmds"
4177
4208
  ;;
4178
 
  cygwin* | mingw*)
 
4209
  cygwin* | mingw* | cegcc*)
4179
4210
    _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'
4180
4211
  ;;
4181
4212
  linux* | k*bsd*-gnu)
4230
4261
  extract_expsyms_cmds=
4231
4262
 
4232
4263
  case $host_os in
4233
 
  cygwin* | mingw* | pw32*)
 
4264
  cygwin* | mingw* | pw32* | cegcc*)
4234
4265
    # FIXME: the MSVC++ port hasn't been tested in a loooong time
4235
4266
    # When not using gcc, we currently assume that we are using
4236
4267
    # Microsoft Visual C++.
4245
4276
  openbsd*)
4246
4277
    with_gnu_ld=no
4247
4278
    ;;
 
4279
  linux* | k*bsd*-gnu)
 
4280
    _LT_TAGVAR(link_all_deplibs, $1)=no
 
4281
    ;;
4248
4282
  esac
4249
4283
 
4250
4284
  _LT_TAGVAR(ld_shlibs, $1)=yes
4317
4351
      fi
4318
4352
      ;;
4319
4353
 
4320
 
    cygwin* | mingw* | pw32*)
 
4354
    cygwin* | mingw* | pw32* | cegcc*)
4321
4355
      # _LT_TAGVAR(hardcode_libdir_flag_spec, $1) is actually meaningless,
4322
4356
      # as there is no search path for DLLs.
4323
4357
      _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='-L$libdir'
4383
4417
          tmp_addflag=' -i_dynamic -nofor_main' ;;
4384
4418
        ifc* | ifort*)                  # Intel Fortran compiler
4385
4419
          tmp_addflag=' -nofor_main' ;;
 
4420
        lf95*)                          # Lahey Fortran 8.1
 
4421
          _LT_TAGVAR(whole_archive_flag_spec, $1)=
 
4422
          tmp_sharedflag='--shared' ;;
4386
4423
        xl[[cC]]*)                      # IBM XL C 8.0 on PPC (deal with xlf below)
4387
4424
          tmp_sharedflag='-qmkshrobj'
4388
4425
          tmp_addflag= ;;
4615
4652
        fi
4616
4653
      fi
4617
4654
 
 
4655
      _LT_TAGVAR(export_dynamic_flag_spec, $1)='${wl}-bexpall'
4618
4656
      # It seems that -bexpall does not export symbols beginning with
4619
4657
      # underscore (_), so it is better to generate a list of symbols to export.
4620
4658
      _LT_TAGVAR(always_export_symbols, $1)=yes
4669
4707
      _LT_TAGVAR(export_dynamic_flag_spec, $1)=-rdynamic
4670
4708
      ;;
4671
4709
 
4672
 
    cygwin* | mingw* | pw32*)
 
4710
    cygwin* | mingw* | pw32* | cegcc*)
4673
4711
      # When not using gcc, we currently assume that we are using
4674
4712
      # Microsoft Visual C++.
4675
4713
      # hardcode_libdir_flag_spec is actually meaningless, as there is
4773
4811
          _LT_TAGVAR(archive_cmds, $1)='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
4774
4812
          ;;
4775
4813
        ia64*)
4776
 
          _LT_TAGVAR(archive_cmds, $1)='$CC -shared ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
 
4814
          _LT_TAGVAR(archive_cmds, $1)='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
4777
4815
          ;;
4778
4816
        *)
4779
4817
          _LT_TAGVAR(archive_cmds, $1)='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
5554
5592
          fi
5555
5593
        fi
5556
5594
 
 
5595
        _LT_TAGVAR(export_dynamic_flag_spec, $1)='${wl}-bexpall'
5557
5596
        # It seems that -bexpall does not export symbols beginning with
5558
5597
        # underscore (_), so it is better to generate a list of symbols to
5559
5598
        # export.
5612
5651
        esac
5613
5652
        ;;
5614
5653
 
5615
 
      cygwin* | mingw* | pw32*)
 
5654
      cygwin* | mingw* | pw32* | cegcc*)
5616
5655
        # _LT_TAGVAR(hardcode_libdir_flag_spec, $1) is actually meaningless,
5617
5656
        # as there is no search path for DLLs.
5618
5657
        _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='-L$libdir'
6993
7032
])
6994
7033
 
6995
7034
 
 
7035
# _LT_DECL_OBJDUMP
 
7036
# --------------
 
7037
# If we don't have a new enough Autoconf to choose the best objdump
 
7038
# available, choose the one first in the user's PATH.
 
7039
m4_defun([_LT_DECL_OBJDUMP],
 
7040
[AC_CHECK_TOOL(OBJDUMP, objdump, false)
 
7041
test -z "$OBJDUMP" && OBJDUMP=objdump
 
7042
_LT_DECL([], [OBJDUMP], [1], [An object symbol dumper])
 
7043
AC_SUBST([OBJDUMP])
 
7044
])
 
7045
 
 
7046
 
6996
7047
# _LT_DECL_SED
6997
7048
# ------------
6998
7049
# Check for a fully-functional sed program, that truncates
7453
7504
[enable_win32_dll=yes
7454
7505
 
7455
7506
case $host in
7456
 
*-*-cygwin* | *-*-mingw* | *-*-pw32*)
 
7507
*-*-cygwin* | *-*-mingw* | *-*-pw32* | *-cegcc*)
7457
7508
  AC_CHECK_TOOL(AS, as, false)
7458
7509
  AC_CHECK_TOOL(DLLTOOL, dlltool, false)
7459
7510
  AC_CHECK_TOOL(OBJDUMP, objdump, false)
7694
7745
 
7695
7746
# ltsugar.m4 -- libtool m4 base layer.                         -*-Autoconf-*-
7696
7747
#
7697
 
#   Copyright (C) 2004, 2005, 2007 Free Software Foundation, Inc.
7698
 
#   Written by Gary V. Vaughan, 2004
 
7748
# Copyright (C) 2004, 2005, 2007, 2008 Free Software Foundation, Inc.
 
7749
# Written by Gary V. Vaughan, 2004
7699
7750
#
7700
7751
# This file is free software; the Free Software Foundation gives
7701
7752
# unlimited permission to copy and/or distribute it, with or without
7702
7753
# modifications, as long as this notice is preserved.
7703
7754
 
7704
 
# serial 5 ltsugar.m4
 
7755
# serial 6 ltsugar.m4
7705
7756
 
7706
7757
# This is to help aclocal find these macros, as it can't see m4_define.
7707
7758
AC_DEFUN([LTSUGAR_VERSION], [m4_if([0.1])])
7757
7808
# Produce a SEP delimited list of all paired combinations of elements of
7758
7809
# PREFIX-LIST with SUFFIX1 through SUFFIXn.  Each element of the list
7759
7810
# has the form PREFIXmINFIXSUFFIXn.
 
7811
# Needed until we can rely on m4_combine added in Autoconf 2.62.
7760
7812
m4_define([lt_combine],
7761
 
[m4_if([$2], [], [],
7762
 
  [m4_if([$4], [], [],
7763
 
    [lt_join(m4_quote(m4_default([$1], [[, ]])),
7764
 
      lt_unquote(m4_split(m4_normalize(m4_foreach(_Lt_prefix, [$2],
7765
 
                   [m4_foreach(_Lt_suffix, lt_car([m4_shiftn(3, $@)]),
7766
 
                               [_Lt_prefix[]$3[]_Lt_suffix ])])))))])])dnl
7767
 
])
 
7813
[m4_if(m4_eval([$# > 3]), [1],
 
7814
       [m4_pushdef([_Lt_sep], [m4_define([_Lt_sep], m4_defn([lt_car]))])]]dnl
 
7815
[[m4_foreach([_Lt_prefix], [$2],
 
7816
             [m4_foreach([_Lt_suffix],
 
7817
                ]m4_dquote(m4_dquote(m4_shift(m4_shift(m4_shift($@)))))[,
 
7818
        [_Lt_sep([$1])[]m4_defn([_Lt_prefix])[$3]m4_defn([_Lt_suffix])])])])])
7768
7819
 
7769
7820
 
7770
7821
# lt_if_append_uniq(MACRO-NAME, VARNAME, [SEPARATOR], [UNIQ], [NOT-UNIQ])
7827
7878
 
7828
7879
# Generated from ltversion.in.
7829
7880
 
7830
 
# serial 2976 ltversion.m4
 
7881
# serial 3012 ltversion.m4
7831
7882
# This file is part of GNU Libtool
7832
7883
 
7833
 
m4_define([LT_PACKAGE_VERSION], [2.2.4])
7834
 
m4_define([LT_PACKAGE_REVISION], [1.2976])
 
7884
m4_define([LT_PACKAGE_VERSION], [2.2.6])
 
7885
m4_define([LT_PACKAGE_REVISION], [1.3012])
7835
7886
 
7836
7887
AC_DEFUN([LTVERSION_VERSION],
7837
 
[macro_version='2.2.4'
7838
 
macro_revision='1.2976'
 
7888
[macro_version='2.2.6'
 
7889
macro_revision='1.3012'
7839
7890
_LT_DECL(, macro_version, 0, [Which release of libtool.m4 was used?])
7840
7891
_LT_DECL(, macro_revision, 0)
7841
7892
])
8091
8142
fi[]dnl
8092
8143
])# PKG_CHECK_MODULES
8093
8144
 
8094
 
# Copyright (C) 2002, 2003, 2005, 2006, 2007  Free Software Foundation, Inc.
 
8145
# Copyright (C) 2002, 2003, 2005, 2006, 2007, 2008  Free Software Foundation, Inc.
8095
8146
#
8096
8147
# This file is free software; the Free Software Foundation
8097
8148
# gives unlimited permission to copy and/or distribute it,
8103
8154
# generated from the m4 files accompanying Automake X.Y.
8104
8155
# (This private macro should not be called outside this file.)
8105
8156
AC_DEFUN([AM_AUTOMAKE_VERSION],
8106
 
[am__api_version='1.10'
 
8157
[am__api_version='1.11'
8107
8158
dnl Some users find AM_AUTOMAKE_VERSION and mistake it for a way to
8108
8159
dnl require some minimum version.  Point them to the right macro.
8109
 
m4_if([$1], [1.10.1], [],
 
8160
m4_if([$1], [1.11], [],
8110
8161
      [AC_FATAL([Do not call $0, use AM_INIT_AUTOMAKE([$1]).])])dnl
8111
8162
])
8112
8163
 
8120
8171
# AM_SET_CURRENT_AUTOMAKE_VERSION
8121
8172
# -------------------------------
8122
8173
# Call AM_AUTOMAKE_VERSION and AM_AUTOMAKE_VERSION so they can be traced.
8123
 
# This function is AC_REQUIREd by AC_INIT_AUTOMAKE.
 
8174
# This function is AC_REQUIREd by AM_INIT_AUTOMAKE.
8124
8175
AC_DEFUN([AM_SET_CURRENT_AUTOMAKE_VERSION],
8125
 
[AM_AUTOMAKE_VERSION([1.10.1])dnl
 
8176
[AM_AUTOMAKE_VERSION([1.11])dnl
8126
8177
m4_ifndef([AC_AUTOCONF_VERSION],
8127
8178
  [m4_copy([m4_PACKAGE_VERSION], [AC_AUTOCONF_VERSION])])dnl
8128
 
_AM_AUTOCONF_VERSION(AC_AUTOCONF_VERSION)])
 
8179
_AM_AUTOCONF_VERSION(m4_defn([AC_AUTOCONF_VERSION]))])
8129
8180
 
8130
8181
# AM_AUX_DIR_EXPAND                                         -*- Autoconf -*-
8131
8182
 
8205
8256
 
8206
8257
# AM_CONDITIONAL                                            -*- Autoconf -*-
8207
8258
 
8208
 
# Copyright (C) 1997, 2000, 2001, 2003, 2004, 2005, 2006
 
8259
# Copyright (C) 1997, 2000, 2001, 2003, 2004, 2005, 2006, 2008
8209
8260
# Free Software Foundation, Inc.
8210
8261
#
8211
8262
# This file is free software; the Free Software Foundation
8212
8263
# gives unlimited permission to copy and/or distribute it,
8213
8264
# with or without modifications, as long as this notice is preserved.
8214
8265
 
8215
 
# serial 8
 
8266
# serial 9
8216
8267
 
8217
8268
# AM_CONDITIONAL(NAME, SHELL-CONDITION)
8218
8269
# -------------------------------------
8225
8276
AC_SUBST([$1_FALSE])dnl
8226
8277
_AM_SUBST_NOTMAKE([$1_TRUE])dnl
8227
8278
_AM_SUBST_NOTMAKE([$1_FALSE])dnl
 
8279
m4_define([_AM_COND_VALUE_$1], [$2])dnl
8228
8280
if $2; then
8229
8281
  $1_TRUE=
8230
8282
  $1_FALSE='#'
8238
8290
Usually this means the macro was only invoked conditionally.]])
8239
8291
fi])])
8240
8292
 
8241
 
# Copyright (C) 1999, 2000, 2001, 2002, 2003, 2004, 2005, 2006
 
8293
# Copyright (C) 1999, 2000, 2001, 2002, 2003, 2004, 2005, 2006, 2009
8242
8294
# Free Software Foundation, Inc.
8243
8295
#
8244
8296
# This file is free software; the Free Software Foundation
8245
8297
# gives unlimited permission to copy and/or distribute it,
8246
8298
# with or without modifications, as long as this notice is preserved.
8247
8299
 
8248
 
# serial 9
 
8300
# serial 10
8249
8301
 
8250
8302
# There are a few dirty hacks below to avoid letting `AC_PROG_CC' be
8251
8303
# written in clear, in which case automake, when reading aclocal.m4,
8302
8354
  if test "$am_compiler_list" = ""; then
8303
8355
     am_compiler_list=`sed -n ['s/^#*\([a-zA-Z0-9]*\))$/\1/p'] < ./depcomp`
8304
8356
  fi
 
8357
  am__universal=false
 
8358
  m4_case([$1], [CC],
 
8359
    [case " $depcc " in #(
 
8360
     *\ -arch\ *\ -arch\ *) am__universal=true ;;
 
8361
     esac],
 
8362
    [CXX],
 
8363
    [case " $depcc " in #(
 
8364
     *\ -arch\ *\ -arch\ *) am__universal=true ;;
 
8365
     esac])
 
8366
 
8305
8367
  for depmode in $am_compiler_list; do
8306
8368
    # Setup a source with many dependencies, because some compilers
8307
8369
    # like to wrap large dependency lists on column 80 (with \), and
8319
8381
    done
8320
8382
    echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
8321
8383
 
 
8384
    # We check with `-c' and `-o' for the sake of the "dashmstdout"
 
8385
    # mode.  It turns out that the SunPro C++ compiler does not properly
 
8386
    # handle `-M -o', and we need to detect this.  Also, some Intel
 
8387
    # versions had trouble with output in subdirs
 
8388
    am__obj=sub/conftest.${OBJEXT-o}
 
8389
    am__minus_obj="-o $am__obj"
8322
8390
    case $depmode in
 
8391
    gcc)
 
8392
      # This depmode causes a compiler race in universal mode.
 
8393
      test "$am__universal" = false || continue
 
8394
      ;;
8323
8395
    nosideeffect)
8324
8396
      # after this tag, mechanisms are not by side-effect, so they'll
8325
8397
      # only be used when explicitly requested
8329
8401
        break
8330
8402
      fi
8331
8403
      ;;
 
8404
    msvisualcpp | msvcmsys)
 
8405
      # This compiler won't grok `-c -o', but also, the minuso test has
 
8406
      # not run yet.  These depmodes are late enough in the game, and
 
8407
      # so weak that their functioning should not be impacted.
 
8408
      am__obj=conftest.${OBJEXT-o}
 
8409
      am__minus_obj=
 
8410
      ;;
8332
8411
    none) break ;;
8333
8412
    esac
8334
 
    # We check with `-c' and `-o' for the sake of the "dashmstdout"
8335
 
    # mode.  It turns out that the SunPro C++ compiler does not properly
8336
 
    # handle `-M -o', and we need to detect this.
8337
8413
    if depmode=$depmode \
8338
 
       source=sub/conftest.c object=sub/conftest.${OBJEXT-o} \
 
8414
       source=sub/conftest.c object=$am__obj \
8339
8415
       depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
8340
 
       $SHELL ./depcomp $depcc -c -o sub/conftest.${OBJEXT-o} sub/conftest.c \
 
8416
       $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
8341
8417
         >/dev/null 2>conftest.err &&
8342
8418
       grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
8343
8419
       grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
8344
 
       grep sub/conftest.${OBJEXT-o} sub/conftest.Po > /dev/null 2>&1 &&
 
8420
       grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
8345
8421
       ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
8346
8422
      # icc doesn't choke on unknown options, it will just issue warnings
8347
8423
      # or remarks (even with -Werror).  So we grep stderr for any message
8398
8474
 
8399
8475
# Generate code to set up dependency tracking.              -*- Autoconf -*-
8400
8476
 
8401
 
# Copyright (C) 1999, 2000, 2001, 2002, 2003, 2004, 2005
 
8477
# Copyright (C) 1999, 2000, 2001, 2002, 2003, 2004, 2005, 2008
8402
8478
# Free Software Foundation, Inc.
8403
8479
#
8404
8480
# This file is free software; the Free Software Foundation
8405
8481
# gives unlimited permission to copy and/or distribute it,
8406
8482
# with or without modifications, as long as this notice is preserved.
8407
8483
 
8408
 
#serial 3
 
8484
#serial 5
8409
8485
 
8410
8486
# _AM_OUTPUT_DEPENDENCY_COMMANDS
8411
8487
# ------------------------------
8412
8488
AC_DEFUN([_AM_OUTPUT_DEPENDENCY_COMMANDS],
8413
 
[for mf in $CONFIG_FILES; do
8414
 
  # Strip MF so we end up with the name of the file.
8415
 
  mf=`echo "$mf" | sed -e 's/:.*$//'`
8416
 
  # Check whether this is an Automake generated Makefile or not.
8417
 
  # We used to match only the files named `Makefile.in', but
8418
 
  # some people rename them; so instead we look at the file content.
8419
 
  # Grep'ing the first line is not enough: some people post-process
8420
 
  # each Makefile.in and add a new line on top of each file to say so.
8421
 
  # Grep'ing the whole file is not good either: AIX grep has a line
8422
 
  # limit of 2048, but all sed's we know have understand at least 4000.
8423
 
  if sed -n 's,^#.*generated by automake.*,X,p' "$mf" | grep X >/dev/null 2>&1; then
8424
 
    dirpart=`AS_DIRNAME("$mf")`
8425
 
  else
8426
 
    continue
8427
 
  fi
8428
 
  # Extract the definition of DEPDIR, am__include, and am__quote
8429
 
  # from the Makefile without running `make'.
8430
 
  DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"`
8431
 
  test -z "$DEPDIR" && continue
8432
 
  am__include=`sed -n 's/^am__include = //p' < "$mf"`
8433
 
  test -z "am__include" && continue
8434
 
  am__quote=`sed -n 's/^am__quote = //p' < "$mf"`
8435
 
  # When using ansi2knr, U may be empty or an underscore; expand it
8436
 
  U=`sed -n 's/^U = //p' < "$mf"`
8437
 
  # Find all dependency output files, they are included files with
8438
 
  # $(DEPDIR) in their names.  We invoke sed twice because it is the
8439
 
  # simplest approach to changing $(DEPDIR) to its actual value in the
8440
 
  # expansion.
8441
 
  for file in `sed -n "
8442
 
    s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
8443
 
       sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do
8444
 
    # Make sure the directory exists.
8445
 
    test -f "$dirpart/$file" && continue
8446
 
    fdir=`AS_DIRNAME(["$file"])`
8447
 
    AS_MKDIR_P([$dirpart/$fdir])
8448
 
    # echo "creating $dirpart/$file"
8449
 
    echo '# dummy' > "$dirpart/$file"
 
8489
[{
 
8490
  # Autoconf 2.62 quotes --file arguments for eval, but not when files
 
8491
  # are listed without --file.  Let's play safe and only enable the eval
 
8492
  # if we detect the quoting.
 
8493
  case $CONFIG_FILES in
 
8494
  *\'*) eval set x "$CONFIG_FILES" ;;
 
8495
  *)   set x $CONFIG_FILES ;;
 
8496
  esac
 
8497
  shift
 
8498
  for mf
 
8499
  do
 
8500
    # Strip MF so we end up with the name of the file.
 
8501
    mf=`echo "$mf" | sed -e 's/:.*$//'`
 
8502
    # Check whether this is an Automake generated Makefile or not.
 
8503
    # We used to match only the files named `Makefile.in', but
 
8504
    # some people rename them; so instead we look at the file content.
 
8505
    # Grep'ing the first line is not enough: some people post-process
 
8506
    # each Makefile.in and add a new line on top of each file to say so.
 
8507
    # Grep'ing the whole file is not good either: AIX grep has a line
 
8508
    # limit of 2048, but all sed's we know have understand at least 4000.
 
8509
    if sed -n 's,^#.*generated by automake.*,X,p' "$mf" | grep X >/dev/null 2>&1; then
 
8510
      dirpart=`AS_DIRNAME("$mf")`
 
8511
    else
 
8512
      continue
 
8513
    fi
 
8514
    # Extract the definition of DEPDIR, am__include, and am__quote
 
8515
    # from the Makefile without running `make'.
 
8516
    DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"`
 
8517
    test -z "$DEPDIR" && continue
 
8518
    am__include=`sed -n 's/^am__include = //p' < "$mf"`
 
8519
    test -z "am__include" && continue
 
8520
    am__quote=`sed -n 's/^am__quote = //p' < "$mf"`
 
8521
    # When using ansi2knr, U may be empty or an underscore; expand it
 
8522
    U=`sed -n 's/^U = //p' < "$mf"`
 
8523
    # Find all dependency output files, they are included files with
 
8524
    # $(DEPDIR) in their names.  We invoke sed twice because it is the
 
8525
    # simplest approach to changing $(DEPDIR) to its actual value in the
 
8526
    # expansion.
 
8527
    for file in `sed -n "
 
8528
      s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
 
8529
         sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do
 
8530
      # Make sure the directory exists.
 
8531
      test -f "$dirpart/$file" && continue
 
8532
      fdir=`AS_DIRNAME(["$file"])`
 
8533
      AS_MKDIR_P([$dirpart/$fdir])
 
8534
      # echo "creating $dirpart/$file"
 
8535
      echo '# dummy' > "$dirpart/$file"
 
8536
    done
8450
8537
  done
8451
 
done
 
8538
}
8452
8539
])# _AM_OUTPUT_DEPENDENCY_COMMANDS
8453
8540
 
8454
8541
 
8468
8555
# Do all the work for Automake.                             -*- Autoconf -*-
8469
8556
 
8470
8557
# Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004,
8471
 
# 2005, 2006, 2008 Free Software Foundation, Inc.
 
8558
# 2005, 2006, 2008, 2009 Free Software Foundation, Inc.
8472
8559
#
8473
8560
# This file is free software; the Free Software Foundation
8474
8561
# gives unlimited permission to copy and/or distribute it,
8475
8562
# with or without modifications, as long as this notice is preserved.
8476
8563
 
8477
 
# serial 13
 
8564
# serial 16
8478
8565
 
8479
8566
# This macro actually does too much.  Some checks are only needed if
8480
8567
# your package does certain things.  But this isn't really a big deal.
8491
8578
# arguments mandatory, and then we can depend on a new Autoconf
8492
8579
# release and drop the old call support.
8493
8580
AC_DEFUN([AM_INIT_AUTOMAKE],
8494
 
[AC_PREREQ([2.60])dnl
 
8581
[AC_PREREQ([2.62])dnl
8495
8582
dnl Autoconf wants to disallow AM_ names.  We explicitly allow
8496
8583
dnl the ones we care about.
8497
8584
m4_pattern_allow([^AM_[A-Z]+FLAGS$])dnl
8542
8629
AM_MISSING_PROG(AUTOMAKE, automake-${am__api_version})
8543
8630
AM_MISSING_PROG(AUTOHEADER, autoheader)
8544
8631
AM_MISSING_PROG(MAKEINFO, makeinfo)
8545
 
AM_PROG_INSTALL_SH
8546
 
AM_PROG_INSTALL_STRIP
 
8632
AC_REQUIRE([AM_PROG_INSTALL_SH])dnl
 
8633
AC_REQUIRE([AM_PROG_INSTALL_STRIP])dnl
8547
8634
AC_REQUIRE([AM_PROG_MKDIR_P])dnl
8548
8635
# We need awk for the "check" target.  The system "awk" is bad on
8549
8636
# some platforms.
8551
8638
AC_REQUIRE([AC_PROG_MAKE_SET])dnl
8552
8639
AC_REQUIRE([AM_SET_LEADING_DOT])dnl
8553
8640
_AM_IF_OPTION([tar-ustar], [_AM_PROG_TAR([ustar])],
8554
 
              [_AM_IF_OPTION([tar-pax], [_AM_PROG_TAR([pax])],
8555
 
                             [_AM_PROG_TAR([v7])])])
 
8641
              [_AM_IF_OPTION([tar-pax], [_AM_PROG_TAR([pax])],
 
8642
                             [_AM_PROG_TAR([v7])])])
8556
8643
_AM_IF_OPTION([no-dependencies],,
8557
8644
[AC_PROVIDE_IFELSE([AC_PROG_CC],
8558
 
                  [_AM_DEPENDENCIES(CC)],
8559
 
                  [define([AC_PROG_CC],
8560
 
                          defn([AC_PROG_CC])[_AM_DEPENDENCIES(CC)])])dnl
 
8645
                  [_AM_DEPENDENCIES(CC)],
 
8646
                  [define([AC_PROG_CC],
 
8647
                          defn([AC_PROG_CC])[_AM_DEPENDENCIES(CC)])])dnl
8561
8648
AC_PROVIDE_IFELSE([AC_PROG_CXX],
8562
 
                  [_AM_DEPENDENCIES(CXX)],
8563
 
                  [define([AC_PROG_CXX],
8564
 
                          defn([AC_PROG_CXX])[_AM_DEPENDENCIES(CXX)])])dnl
 
8649
                  [_AM_DEPENDENCIES(CXX)],
 
8650
                  [define([AC_PROG_CXX],
 
8651
                          defn([AC_PROG_CXX])[_AM_DEPENDENCIES(CXX)])])dnl
8565
8652
AC_PROVIDE_IFELSE([AC_PROG_OBJC],
8566
 
                  [_AM_DEPENDENCIES(OBJC)],
8567
 
                  [define([AC_PROG_OBJC],
8568
 
                          defn([AC_PROG_OBJC])[_AM_DEPENDENCIES(OBJC)])])dnl
8569
 
])
8570
 
])
 
8653
                  [_AM_DEPENDENCIES(OBJC)],
 
8654
                  [define([AC_PROG_OBJC],
 
8655
                          defn([AC_PROG_OBJC])[_AM_DEPENDENCIES(OBJC)])])dnl
 
8656
])
 
8657
_AM_IF_OPTION([silent-rules], [AC_REQUIRE([AM_SILENT_RULES])])dnl
 
8658
dnl The `parallel-tests' driver may need to know about EXEEXT, so add the
 
8659
dnl `am__EXEEXT' conditional if _AM_COMPILER_EXEEXT was seen.  This macro
 
8660
dnl is hooked onto _AC_COMPILER_EXEEXT early, see below.
 
8661
AC_CONFIG_COMMANDS_PRE(dnl
 
8662
[m4_provide_if([_AM_COMPILER_EXEEXT],
 
8663
  [AM_CONDITIONAL([am__EXEEXT], [test -n "$EXEEXT"])])])dnl
 
8664
])
 
8665
 
 
8666
dnl Hook into `_AC_COMPILER_EXEEXT' early to learn its expansion.  Do not
 
8667
dnl add the conditional right here, as _AC_COMPILER_EXEEXT may be further
 
8668
dnl mangled by Autoconf and run in a shell conditional statement.
 
8669
m4_define([_AC_COMPILER_EXEEXT],
 
8670
m4_defn([_AC_COMPILER_EXEEXT])[m4_provide([_AM_COMPILER_EXEEXT])])
8571
8671
 
8572
8672
 
8573
8673
# When config.status generates a header, we must update the stamp-h file.
8591
8691
done
8592
8692
echo "timestamp for $_am_arg" >`AS_DIRNAME(["$_am_arg"])`/stamp-h[]$_am_stamp_count])
8593
8693
 
8594
 
# Copyright (C) 2001, 2003, 2005  Free Software Foundation, Inc.
 
8694
# Copyright (C) 2001, 2003, 2005, 2008  Free Software Foundation, Inc.
8595
8695
#
8596
8696
# This file is free software; the Free Software Foundation
8597
8697
# gives unlimited permission to copy and/or distribute it,
8602
8702
# Define $install_sh.
8603
8703
AC_DEFUN([AM_PROG_INSTALL_SH],
8604
8704
[AC_REQUIRE([AM_AUX_DIR_EXPAND])dnl
8605
 
install_sh=${install_sh-"\$(SHELL) $am_aux_dir/install-sh"}
 
8705
if test x"${install_sh}" != xset; then
 
8706
  case $am_aux_dir in
 
8707
  *\ * | *\     *)
 
8708
    install_sh="\${SHELL} '$am_aux_dir/install-sh'" ;;
 
8709
  *)
 
8710
    install_sh="\${SHELL} $am_aux_dir/install-sh"
 
8711
  esac
 
8712
fi
8606
8713
AC_SUBST(install_sh)])
8607
8714
 
8608
8715
# Copyright (C) 2003, 2005  Free Software Foundation, Inc.
8628
8735
 
8629
8736
# Check to see how 'make' treats includes.                  -*- Autoconf -*-
8630
8737
 
8631
 
# Copyright (C) 2001, 2002, 2003, 2005  Free Software Foundation, Inc.
 
8738
# Copyright (C) 2001, 2002, 2003, 2005, 2009  Free Software Foundation, Inc.
8632
8739
#
8633
8740
# This file is free software; the Free Software Foundation
8634
8741
# gives unlimited permission to copy and/or distribute it,
8635
8742
# with or without modifications, as long as this notice is preserved.
8636
8743
 
8637
 
# serial 3
 
8744
# serial 4
8638
8745
 
8639
8746
# AM_MAKE_INCLUDE()
8640
8747
# -----------------
8643
8750
[am_make=${MAKE-make}
8644
8751
cat > confinc << 'END'
8645
8752
am__doit:
8646
 
        @echo done
 
8753
        @echo this is the am__doit target
8647
8754
.PHONY: am__doit
8648
8755
END
8649
8756
# If we don't find an include directive, just comment out the code.
8653
8760
_am_result=none
8654
8761
# First try GNU make style include.
8655
8762
echo "include confinc" > confmf
8656
 
# We grep out `Entering directory' and `Leaving directory'
8657
 
# messages which can occur if `w' ends up in MAKEFLAGS.
8658
 
# In particular we don't look at `^make:' because GNU make might
8659
 
# be invoked under some other name (usually "gmake"), in which
8660
 
# case it prints its new name instead of `make'.
8661
 
if test "`$am_make -s -f confmf 2> /dev/null | grep -v 'ing directory'`" = "done"; then
8662
 
   am__include=include
8663
 
   am__quote=
8664
 
   _am_result=GNU
8665
 
fi
 
8763
# Ignore all kinds of additional output from `make'.
 
8764
case `$am_make -s -f confmf 2> /dev/null` in #(
 
8765
*the\ am__doit\ target*)
 
8766
  am__include=include
 
8767
  am__quote=
 
8768
  _am_result=GNU
 
8769
  ;;
 
8770
esac
8666
8771
# Now try BSD make style include.
8667
8772
if test "$am__include" = "#"; then
8668
8773
   echo '.include "confinc"' > confmf
8669
 
   if test "`$am_make -s -f confmf 2> /dev/null`" = "done"; then
8670
 
      am__include=.include
8671
 
      am__quote="\""
8672
 
      _am_result=BSD
8673
 
   fi
 
8774
   case `$am_make -s -f confmf 2> /dev/null` in #(
 
8775
   *the\ am__doit\ target*)
 
8776
     am__include=.include
 
8777
     am__quote="\""
 
8778
     _am_result=BSD
 
8779
     ;;
 
8780
   esac
8674
8781
fi
8675
8782
AC_SUBST([am__include])
8676
8783
AC_SUBST([am__quote])
8680
8787
 
8681
8788
# Fake the existence of programs that GNU maintainers use.  -*- Autoconf -*-
8682
8789
 
8683
 
# Copyright (C) 1997, 1999, 2000, 2001, 2003, 2004, 2005
 
8790
# Copyright (C) 1997, 1999, 2000, 2001, 2003, 2004, 2005, 2008
8684
8791
# Free Software Foundation, Inc.
8685
8792
#
8686
8793
# This file is free software; the Free Software Foundation
8687
8794
# gives unlimited permission to copy and/or distribute it,
8688
8795
# with or without modifications, as long as this notice is preserved.
8689
8796
 
8690
 
# serial 5
 
8797
# serial 6
8691
8798
 
8692
8799
# AM_MISSING_PROG(NAME, PROGRAM)
8693
8800
# ------------------------------
8704
8811
AC_DEFUN([AM_MISSING_HAS_RUN],
8705
8812
[AC_REQUIRE([AM_AUX_DIR_EXPAND])dnl
8706
8813
AC_REQUIRE_AUX_FILE([missing])dnl
8707
 
test x"${MISSING+set}" = xset || MISSING="\${SHELL} $am_aux_dir/missing"
 
8814
if test x"${MISSING+set}" != xset; then
 
8815
  case $am_aux_dir in
 
8816
  *\ * | *\     *)
 
8817
    MISSING="\${SHELL} \"$am_aux_dir/missing\"" ;;
 
8818
  *)
 
8819
    MISSING="\${SHELL} $am_aux_dir/missing" ;;
 
8820
  esac
 
8821
fi
8708
8822
# Use eval to expand $SHELL
8709
8823
if eval "$MISSING --run true"; then
8710
8824
  am_missing_run="$MISSING --run "
8742
8856
 
8743
8857
# Helper functions for option handling.                     -*- Autoconf -*-
8744
8858
 
8745
 
# Copyright (C) 2001, 2002, 2003, 2005  Free Software Foundation, Inc.
 
8859
# Copyright (C) 2001, 2002, 2003, 2005, 2008  Free Software Foundation, Inc.
8746
8860
#
8747
8861
# This file is free software; the Free Software Foundation
8748
8862
# gives unlimited permission to copy and/or distribute it,
8749
8863
# with or without modifications, as long as this notice is preserved.
8750
8864
 
8751
 
# serial 3
 
8865
# serial 4
8752
8866
 
8753
8867
# _AM_MANGLE_OPTION(NAME)
8754
8868
# -----------------------
8765
8879
# ----------------------------------
8766
8880
# OPTIONS is a space-separated list of Automake options.
8767
8881
AC_DEFUN([_AM_SET_OPTIONS],
8768
 
[AC_FOREACH([_AM_Option], [$1], [_AM_SET_OPTION(_AM_Option)])])
 
8882
[m4_foreach_w([_AM_Option], [$1], [_AM_SET_OPTION(_AM_Option)])])
8769
8883
 
8770
8884
# _AM_IF_OPTION(OPTION, IF-SET, [IF-NOT-SET])
8771
8885
# -------------------------------------------
8775
8889
 
8776
8890
# Check to make sure that the build environment is sane.    -*- Autoconf -*-
8777
8891
 
8778
 
# Copyright (C) 1996, 1997, 2000, 2001, 2003, 2005
 
8892
# Copyright (C) 1996, 1997, 2000, 2001, 2003, 2005, 2008
8779
8893
# Free Software Foundation, Inc.
8780
8894
#
8781
8895
# This file is free software; the Free Software Foundation
8782
8896
# gives unlimited permission to copy and/or distribute it,
8783
8897
# with or without modifications, as long as this notice is preserved.
8784
8898
 
8785
 
# serial 4
 
8899
# serial 5
8786
8900
 
8787
8901
# AM_SANITY_CHECK
8788
8902
# ---------------
8791
8905
# Just in case
8792
8906
sleep 1
8793
8907
echo timestamp > conftest.file
 
8908
# Reject unsafe characters in $srcdir or the absolute working directory
 
8909
# name.  Accept space and tab only in the latter.
 
8910
am_lf='
 
8911
'
 
8912
case `pwd` in
 
8913
  *[[\\\"\#\$\&\'\`$am_lf]]*)
 
8914
    AC_MSG_ERROR([unsafe absolute working directory name]);;
 
8915
esac
 
8916
case $srcdir in
 
8917
  *[[\\\"\#\$\&\'\`$am_lf\ \    ]]*)
 
8918
    AC_MSG_ERROR([unsafe srcdir value: `$srcdir']);;
 
8919
esac
 
8920
 
8794
8921
# Do `set' in a subshell so we don't clobber the current shell's
8795
8922
# arguments.  Must try -L first in case configure is actually a
8796
8923
# symlink; some systems play weird games with the mod time of symlinks
8797
8924
# (eg FreeBSD returns the mod time of the symlink's containing
8798
8925
# directory).
8799
8926
if (
8800
 
   set X `ls -Lt $srcdir/configure conftest.file 2> /dev/null`
 
8927
   set X `ls -Lt "$srcdir/configure" conftest.file 2> /dev/null`
8801
8928
   if test "$[*]" = "X"; then
8802
8929
      # -L didn't work.
8803
 
      set X `ls -t $srcdir/configure conftest.file`
 
8930
      set X `ls -t "$srcdir/configure" conftest.file`
8804
8931
   fi
8805
8932
   rm -f conftest.file
8806
8933
   if test "$[*]" != "X $srcdir/configure conftest.file" \
8853
8980
INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s"
8854
8981
AC_SUBST([INSTALL_STRIP_PROGRAM])])
8855
8982
 
8856
 
# Copyright (C) 2006  Free Software Foundation, Inc.
 
8983
# Copyright (C) 2006, 2008  Free Software Foundation, Inc.
8857
8984
#
8858
8985
# This file is free software; the Free Software Foundation
8859
8986
# gives unlimited permission to copy and/or distribute it,
8860
8987
# with or without modifications, as long as this notice is preserved.
8861
8988
 
 
8989
# serial 2
 
8990
 
8862
8991
# _AM_SUBST_NOTMAKE(VARIABLE)
8863
8992
# ---------------------------
8864
8993
# Prevent Automake from outputting VARIABLE = @VARIABLE@ in Makefile.in.
8865
8994
# This macro is traced by Automake.
8866
8995
AC_DEFUN([_AM_SUBST_NOTMAKE])
8867
8996
 
 
8997
# AM_SUBST_NOTMAKE(VARIABLE)
 
8998
# ---------------------------
 
8999
# Public sister of _AM_SUBST_NOTMAKE.
 
9000
AC_DEFUN([AM_SUBST_NOTMAKE], [_AM_SUBST_NOTMAKE($@)])
 
9001
 
8868
9002
# Check how to create a tarball.                            -*- Autoconf -*-
8869
9003
 
8870
9004
# Copyright (C) 2004, 2005  Free Software Foundation, Inc.
8961
9095
AC_SUBST([am__untar])
8962
9096
]) # _AM_PROG_TAR
8963
9097
 
8964
 
m4_include([acinclude.m4])