~ubuntu-branches/ubuntu/trusty/sensors-applet/trusty

« back to all changes in this revision

Viewing changes to aclocal.m4

  • Committer: Bazaar Package Importer
  • Author(s): Nanley Chery
  • Date: 2010-05-22 22:25:13 UTC
  • mfrom: (1.1.13 upstream) (3.1.7 sid)
  • Revision ID: james.westby@ubuntu.com-20100522222513-1cg5k0n5hv337u4u
Tags: 2.2.5-4ubuntu1
* Merge from debian testing (LP: #380669, #249955). Remaining changes:
  - debian/rules:
    + Enable nvidia compilation flag.
  - debian/control:
    + Build-depend on nvidia-settings and update description accordingly.

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'.])])
632
632
# GNOME_DOC_INIT ([MINIMUM-VERSION],[ACTION-IF-FOUND],[ACTION-IF-NOT-FOUND])
633
633
#
634
634
AC_DEFUN([GNOME_DOC_INIT],
635
 
[
 
635
[AC_REQUIRE([AC_PROG_LN_S])dnl
 
636
 
636
637
ifelse([$1],,[gdu_cv_version_required=0.3.2],[gdu_cv_version_required=$1])
637
638
 
 
639
AC_MSG_CHECKING([gnome-doc-utils >= $gdu_cv_version_required])
638
640
PKG_CHECK_EXISTS([gnome-doc-utils >= $gdu_cv_version_required],
639
641
        [gdu_cv_have_gdu=yes],[gdu_cv_have_gdu=no])
640
642
 
641
643
if test "$gdu_cv_have_gdu" = "yes"; then
 
644
        AC_MSG_RESULT([yes])
642
645
        ifelse([$2],,[:],[$2])
643
646
else
 
647
        AC_MSG_RESULT([no])
644
648
        ifelse([$3],,[AC_MSG_ERROR([gnome-doc-utils >= $gdu_cv_version_required not found])],[$3])
645
649
fi
646
650
 
701
705
    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 $< [$]@'
702
706
   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 $< [$]@'
703
707
 
704
 
AC_SUBST(INTLTOOL_DESKTOP_RULE)
705
 
AC_SUBST(INTLTOOL_DIRECTORY_RULE)
706
 
AC_SUBST(INTLTOOL_KEYS_RULE)
707
 
AC_SUBST(INTLTOOL_PROP_RULE)
708
 
AC_SUBST(INTLTOOL_OAF_RULE)
709
 
AC_SUBST(INTLTOOL_PONG_RULE)
710
 
AC_SUBST(INTLTOOL_SERVER_RULE)
711
 
AC_SUBST(INTLTOOL_SHEET_RULE)
712
 
AC_SUBST(INTLTOOL_SOUNDLIST_RULE)
713
 
AC_SUBST(INTLTOOL_UI_RULE)
714
 
AC_SUBST(INTLTOOL_XAM_RULE)
715
 
AC_SUBST(INTLTOOL_KBD_RULE)
716
 
AC_SUBST(INTLTOOL_XML_RULE)
717
 
AC_SUBST(INTLTOOL_XML_NOMERGE_RULE)
718
 
AC_SUBST(INTLTOOL_CAVES_RULE)
719
 
AC_SUBST(INTLTOOL_SCHEMAS_RULE)
720
 
AC_SUBST(INTLTOOL_THEME_RULE)
721
 
AC_SUBST(INTLTOOL_SERVICE_RULE)
722
 
AC_SUBST(INTLTOOL_POLICY_RULE)
 
708
_IT_SUBST(INTLTOOL_DESKTOP_RULE)
 
709
_IT_SUBST(INTLTOOL_DIRECTORY_RULE)
 
710
_IT_SUBST(INTLTOOL_KEYS_RULE)
 
711
_IT_SUBST(INTLTOOL_PROP_RULE)
 
712
_IT_SUBST(INTLTOOL_OAF_RULE)
 
713
_IT_SUBST(INTLTOOL_PONG_RULE)
 
714
_IT_SUBST(INTLTOOL_SERVER_RULE)
 
715
_IT_SUBST(INTLTOOL_SHEET_RULE)
 
716
_IT_SUBST(INTLTOOL_SOUNDLIST_RULE)
 
717
_IT_SUBST(INTLTOOL_UI_RULE)
 
718
_IT_SUBST(INTLTOOL_XAM_RULE)
 
719
_IT_SUBST(INTLTOOL_KBD_RULE)
 
720
_IT_SUBST(INTLTOOL_XML_RULE)
 
721
_IT_SUBST(INTLTOOL_XML_NOMERGE_RULE)
 
722
_IT_SUBST(INTLTOOL_CAVES_RULE)
 
723
_IT_SUBST(INTLTOOL_SCHEMAS_RULE)
 
724
_IT_SUBST(INTLTOOL_THEME_RULE)
 
725
_IT_SUBST(INTLTOOL_SERVICE_RULE)
 
726
_IT_SUBST(INTLTOOL_POLICY_RULE)
723
727
 
724
728
# Check the gettext tools to make sure they are GNU
725
729
AC_PATH_PROG(XGETTEXT, xgettext)
736
740
    AC_MSG_ERROR([GNU gettext tools not found; required for intltool])
737
741
fi
738
742
 
739
 
AC_PATH_PROG(INTLTOOL_PERL, [perl])
 
743
AC_PATH_PROG(INTLTOOL_PERL, perl)
740
744
if test -z "$INTLTOOL_PERL"; then
741
 
   AC_MSG_ERROR([perl not found; required for intltool])
 
745
   AC_MSG_ERROR([perl not found])
742
746
fi
743
 
if test -z "`$INTLTOOL_PERL -v | fgrep '5.' 2> /dev/null`"; then
744
 
   AC_MSG_ERROR([perl 5.x required for intltool])
 
747
AC_MSG_CHECKING([for perl >= 5.8.1])
 
748
$INTLTOOL_PERL -e "use 5.8.1;" > /dev/null 2>&1
 
749
if test $? -ne 0; then
 
750
   AC_MSG_ERROR([perl 5.8.1 is required for intltool])
 
751
else
 
752
   IT_PERL_VERSION="`$INTLTOOL_PERL -e \"printf '%vd', $^V\"`"
 
753
   AC_MSG_RESULT([$IT_PERL_VERSION])
745
754
fi
746
755
if test "x$2" != "xno-xml"; then
747
756
   AC_MSG_CHECKING([for XML::Parser])
797
806
dnl of config.status.
798
807
AC_CONFIG_COMMANDS_PRE([
799
808
  AC_CONFIG_COMMANDS([$1/stamp-it], [
800
 
    if [ ! grep "^# INTLTOOL_MAKEFILE$" "$1/Makefile.in" ]; then
 
809
    if [ ! grep "^# INTLTOOL_MAKEFILE$" "$1/Makefile.in" > /dev/null ]; then
801
810
       AC_MSG_ERROR([$1/Makefile.in.in was not created by intltoolize.])
802
811
    fi
803
812
    rm -f "$1/stamp-it" "$1/stamp-it.tmp" "$1/POTFILES" "$1/Makefile.tmp"
819
828
])dnl
820
829
])
821
830
 
 
831
# _IT_SUBST(VARIABLE)
 
832
# -------------------
 
833
# Abstract macro to do either _AM_SUBST_NOTMAKE or AC_SUBST
 
834
#
 
835
AC_DEFUN([_IT_SUBST],
 
836
[
 
837
AC_SUBST([$1])
 
838
m4_ifdef([_AM_SUBST_NOTMAKE], [_AM_SUBST_NOTMAKE([$1])])
 
839
]
 
840
)
 
841
 
822
842
# deprecated macros
823
843
AU_ALIAS([AC_PROG_INTLTOOL], [IT_PROG_INTLTOOL])
824
844
# A hint is needed for aclocal from Automake <= 1.9.4:
1201
1221
# lt_decl_varnames_tagged([SEPARATOR], [VARNAME1...])
1202
1222
# ---------------------------------------------------
1203
1223
m4_define([lt_decl_varnames_tagged],
1204
 
[_$0(m4_quote(m4_default([$1], [[, ]])),
1205
 
     m4_quote(m4_if([$2], [],
1206
 
                     m4_quote(lt_decl_tag_varnames),
1207
 
                  m4_quote(m4_shift($@)))),
1208
 
     m4_split(m4_normalize(m4_quote(_LT_TAGS))))])
1209
 
m4_define([_lt_decl_varnames_tagged], [lt_combine([$1], [$2], [_], $3)])
 
1224
[m4_assert([$# <= 2])dnl
 
1225
_$0(m4_quote(m4_default([$1], [[, ]])),
 
1226
    m4_ifval([$2], [[$2]], [m4_dquote(lt_decl_tag_varnames)]),
 
1227
    m4_split(m4_normalize(m4_quote(_LT_TAGS)), [ ]))])
 
1228
m4_define([_lt_decl_varnames_tagged],
 
1229
[m4_ifval([$3], [lt_combine([$1], [$2], [_], $3)])])
1210
1230
 
1211
1231
 
1212
1232
# lt_decl_all_varnames([SEPARATOR], [VARNAME1...])
1766
1786
      _lt_dar_allow_undefined='${wl}-undefined ${wl}suppress' ;;
1767
1787
    darwin1.*)
1768
1788
      _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
1769
 
    darwin*) # darwin 5.x on 
 
1789
    darwin*) # darwin 5.x on
1770
1790
      # if running on 10.5 or later, the deployment target defaults
1771
1791
      # to the OS version, if on x86, and 10.4, the deployment
1772
 
      # target defaults to 10.4. Don't you love it? 
 
1792
      # target defaults to 10.4. Don't you love it?
1773
1793
      case ${MACOSX_DEPLOYMENT_TARGET-10.0},$host in
1774
1794
        10.0,*86*-darwin8*|10.0,*-darwin[[91]]*)
1775
1795
          _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
1811
1831
  _LT_TAGVAR(whole_archive_flag_spec, $1)=''
1812
1832
  _LT_TAGVAR(link_all_deplibs, $1)=yes
1813
1833
  _LT_TAGVAR(allow_undefined_flag, $1)="$_lt_dar_allow_undefined"
1814
 
  if test "$GCC" = "yes"; then
 
1834
  case $cc_basename in
 
1835
     ifort*) _lt_dar_can_shared=yes ;;
 
1836
     *) _lt_dar_can_shared=$GCC ;;
 
1837
  esac
 
1838
  if test "$_lt_dar_can_shared" = "yes"; then
1815
1839
    output_verbose_link_cmd=echo
1816
1840
    _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}"
1817
1841
    _LT_TAGVAR(module_cmds, $1)="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}"
2333
2357
    lt_cv_sys_max_cmd_len=-1;
2334
2358
    ;;
2335
2359
 
2336
 
  cygwin* | mingw*)
 
2360
  cygwin* | mingw* | cegcc*)
2337
2361
    # On Win9x/ME, this test blows up -- it succeeds, but takes
2338
2362
    # about 5 minutes as the teststring grows exponentially.
2339
2363
    # Worse, since 9x/ME are not pre-emptively multitasking,
2501
2525
#  endif
2502
2526
#endif
2503
2527
 
2504
 
#ifdef __cplusplus
2505
 
extern "C" void exit (int);
2506
 
#endif
2507
 
 
2508
2528
void fnord() { int i=42;}
2509
2529
int main ()
2510
2530
{
2520
2540
  else
2521
2541
    puts (dlerror ());
2522
2542
 
2523
 
    exit (status);
 
2543
  return status;
2524
2544
}]
2525
2545
_LT_EOF
2526
2546
  if AC_TRY_EVAL(ac_link) && test -s conftest${ac_exeext} 2>/dev/null; then
2559
2579
    lt_cv_dlopen_self=yes
2560
2580
    ;;
2561
2581
 
2562
 
  mingw* | pw32*)
 
2582
  mingw* | pw32* | cegcc*)
2563
2583
    lt_cv_dlopen="LoadLibrary"
2564
2584
    lt_cv_dlopen_libs=
2565
2585
    ;;
2856
2876
[AC_REQUIRE([AC_CANONICAL_HOST])dnl
2857
2877
m4_require([_LT_DECL_EGREP])dnl
2858
2878
m4_require([_LT_FILEUTILS_DEFAULTS])dnl
 
2879
m4_require([_LT_DECL_OBJDUMP])dnl
2859
2880
m4_require([_LT_DECL_SED])dnl
2860
2881
AC_MSG_CHECKING([dynamic linker characteristics])
2861
2882
m4_if([$1],
3020
3041
  # libtool to hard-code these into programs
3021
3042
  ;;
3022
3043
 
3023
 
cygwin* | mingw* | pw32*)
 
3044
cygwin* | mingw* | pw32* | cegcc*)
3024
3045
  version_type=windows
3025
3046
  shrext_cmds=".dll"
3026
3047
  need_version=no
3027
3048
  need_lib_prefix=no
3028
3049
 
3029
3050
  case $GCC,$host_os in
3030
 
  yes,cygwin* | yes,mingw* | yes,pw32*)
 
3051
  yes,cygwin* | yes,mingw* | yes,pw32* | yes,cegcc*)
3031
3052
    library_names_spec='$libname.dll.a'
3032
3053
    # DLL is installed to $(libdir)/../bin by postinstall_cmds
3033
3054
    postinstall_cmds='base_file=`basename \${file}`~
3050
3071
      soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[[.]]/-/g'`${versuffix}${shared_ext}'
3051
3072
      sys_lib_search_path_spec="/usr/lib /lib/w32api /lib /usr/local/lib"
3052
3073
      ;;
3053
 
    mingw*)
 
3074
    mingw* | cegcc*)
3054
3075
      # MinGW DLLs use traditional 'lib' prefix
3055
3076
      soname_spec='${libname}`echo ${release} | $SED -e 's/[[.]]/-/g'`${versuffix}${shared_ext}'
3056
3077
      sys_lib_search_path_spec=`$CC -print-search-dirs | $GREP "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
3488
3509
  version_type=linux
3489
3510
  need_lib_prefix=no
3490
3511
  need_version=no
3491
 
  library_name_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
 
3512
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
3492
3513
  shlibpath_var=LD_LIBRARY_PATH
3493
3514
  shlibpath_overrides_runpath=no
3494
3515
  hardcode_into_libs=yes
3512
3533
if test "$GCC" = yes; then
3513
3534
  variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
3514
3535
fi
3515
 
 
 
3536
 
3516
3537
if test "${lt_cv_sys_lib_search_path_spec+set}" = set; then
3517
3538
  sys_lib_search_path_spec="$lt_cv_sys_lib_search_path_spec"
3518
3539
fi
3789
3810
#  -- PORTME fill in with the dynamic library characteristics
3790
3811
m4_defun([_LT_CHECK_MAGIC_METHOD],
3791
3812
[m4_require([_LT_DECL_EGREP])
 
3813
m4_require([_LT_DECL_OBJDUMP])
3792
3814
AC_CACHE_CHECK([how to recognize dependent libraries],
3793
3815
lt_cv_deplibs_check_method,
3794
3816
[lt_cv_file_magic_cmd='$MAGIC_CMD'
3839
3861
  fi
3840
3862
  ;;
3841
3863
 
 
3864
cegcc)
 
3865
  # use the weaker test based on 'objdump'. See mingw*.
 
3866
  lt_cv_deplibs_check_method='file_magic file format pe-arm-.*little(.*architecture: arm)?'
 
3867
  lt_cv_file_magic_cmd='$OBJDUMP -f'
 
3868
  ;;
 
3869
 
3842
3870
darwin* | rhapsody*)
3843
3871
  lt_cv_deplibs_check_method=pass_all
3844
3872
  ;;
4150
4178
aix*)
4151
4179
  symcode='[[BCDT]]'
4152
4180
  ;;
4153
 
cygwin* | mingw* | pw32*)
 
4181
cygwin* | mingw* | pw32* | cegcc*)
4154
4182
  symcode='[[ABCDGISTW]]'
4155
4183
  ;;
4156
4184
hpux*)
4396
4424
    beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
4397
4425
      # PIC is the default for these OSes.
4398
4426
      ;;
4399
 
    mingw* | cygwin* | os2* | pw32*)
 
4427
    mingw* | cygwin* | os2* | pw32* | cegcc*)
4400
4428
      # This hack is so that the source file can tell whether it is being
4401
4429
      # built for inclusion in a dll (and should export symbols for example).
4402
4430
      # Although the cygwin gcc ignores -fPIC, still need this for old-style
4423
4451
      fi
4424
4452
      ;;
4425
4453
    hpux*)
4426
 
      # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
4427
 
      # not for PA HP-UX.
 
4454
      # PIC is the default for 64-bit PA HP-UX, but not for 32-bit
 
4455
      # PA HP-UX.  On IA64 HP-UX, PIC is the default but the pic flag
 
4456
      # sets the default TLS model and affects inlining.
4428
4457
      case $host_cpu in
4429
 
      hppa*64*|ia64*)
 
4458
      hppa*64*)
4430
4459
        ;;
4431
4460
      *)
4432
4461
        _LT_TAGVAR(lt_prog_compiler_pic, $1)='-fPIC'
4524
4553
            _LT_TAGVAR(lt_prog_compiler_wl, $1)='--backend -Wl,'
4525
4554
            _LT_TAGVAR(lt_prog_compiler_pic, $1)='-fPIC'
4526
4555
            ;;
4527
 
          icpc* | ecpc* )
4528
 
            # Intel C++
 
4556
          ecpc* )
 
4557
            # old Intel C++ for x86_64 which still supported -KPIC.
4529
4558
            _LT_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,'
4530
4559
            _LT_TAGVAR(lt_prog_compiler_pic, $1)='-KPIC'
4531
4560
            _LT_TAGVAR(lt_prog_compiler_static, $1)='-static'
4532
4561
            ;;
 
4562
          icpc* )
 
4563
            # Intel C++, used to be incompatible with GCC.
 
4564
            # ICC 10 doesn't accept -KPIC any more.
 
4565
            _LT_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,'
 
4566
            _LT_TAGVAR(lt_prog_compiler_pic, $1)='-fPIC'
 
4567
            _LT_TAGVAR(lt_prog_compiler_static, $1)='-static'
 
4568
            ;;
4533
4569
          pgCC* | pgcpp*)
4534
4570
            # Portland Group C++ compiler
4535
4571
            _LT_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,'
4695
4731
      # PIC is the default for these OSes.
4696
4732
      ;;
4697
4733
 
4698
 
    mingw* | cygwin* | pw32* | os2*)
 
4734
    mingw* | cygwin* | pw32* | os2* | cegcc*)
4699
4735
      # This hack is so that the source file can tell whether it is being
4700
4736
      # built for inclusion in a dll (and should export symbols for example).
4701
4737
      # Although the cygwin gcc ignores -fPIC, still need this for old-style
4711
4747
      ;;
4712
4748
 
4713
4749
    hpux*)
4714
 
      # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
4715
 
      # not for PA HP-UX.
 
4750
      # PIC is the default for 64-bit PA HP-UX, but not for 32-bit
 
4751
      # PA HP-UX.  On IA64 HP-UX, PIC is the default but the pic flag
 
4752
      # sets the default TLS model and affects inlining.
4716
4753
      case $host_cpu in
4717
 
      hppa*64*|ia64*)
 
4754
      hppa*64*)
4718
4755
        # +Z the default
4719
4756
        ;;
4720
4757
      *)
4764
4801
      fi
4765
4802
      ;;
4766
4803
 
4767
 
    mingw* | cygwin* | pw32* | os2*)
 
4804
    mingw* | cygwin* | pw32* | os2* | cegcc*)
4768
4805
      # This hack is so that the source file can tell whether it is being
4769
4806
      # built for inclusion in a dll (and should export symbols for example).
4770
4807
      m4_if([$1], [GCJ], [],
4795
4832
 
4796
4833
    linux* | k*bsd*-gnu)
4797
4834
      case $cc_basename in
4798
 
      icc* | ecc* | ifort*)
 
4835
      # old Intel for x86_64 which still supported -KPIC.
 
4836
      ecc*)
4799
4837
        _LT_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,'
4800
4838
        _LT_TAGVAR(lt_prog_compiler_pic, $1)='-KPIC'
4801
4839
        _LT_TAGVAR(lt_prog_compiler_static, $1)='-static'
4802
4840
        ;;
 
4841
      # icc used to be incompatible with GCC.
 
4842
      # ICC 10 doesn't accept -KPIC any more.
 
4843
      icc* | ifort*)
 
4844
        _LT_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,'
 
4845
        _LT_TAGVAR(lt_prog_compiler_pic, $1)='-fPIC'
 
4846
        _LT_TAGVAR(lt_prog_compiler_static, $1)='-static'
 
4847
        ;;
 
4848
      # Lahey Fortran 8.1.
 
4849
      lf95*)
 
4850
        _LT_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,'
 
4851
        _LT_TAGVAR(lt_prog_compiler_pic, $1)='--shared'
 
4852
        _LT_TAGVAR(lt_prog_compiler_static, $1)='--static'
 
4853
        ;;
4803
4854
      pgcc* | pgf77* | pgf90* | pgf95*)
4804
4855
        # Portland Group compilers (*not* the Pentium gcc compiler,
4805
4856
        # which looks to be a dead project)
4981
5032
  pw32*)
4982
5033
    _LT_TAGVAR(export_symbols_cmds, $1)="$ltdll_cmds"
4983
5034
  ;;
4984
 
  cygwin* | mingw*)
 
5035
  cygwin* | mingw* | cegcc*)
4985
5036
    _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'
4986
5037
  ;;
4987
5038
  linux* | k*bsd*-gnu)
5036
5087
  extract_expsyms_cmds=
5037
5088
 
5038
5089
  case $host_os in
5039
 
  cygwin* | mingw* | pw32*)
 
5090
  cygwin* | mingw* | pw32* | cegcc*)
5040
5091
    # FIXME: the MSVC++ port hasn't been tested in a loooong time
5041
5092
    # When not using gcc, we currently assume that we are using
5042
5093
    # Microsoft Visual C++.
5051
5102
  openbsd*)
5052
5103
    with_gnu_ld=no
5053
5104
    ;;
 
5105
  linux* | k*bsd*-gnu)
 
5106
    _LT_TAGVAR(link_all_deplibs, $1)=no
 
5107
    ;;
5054
5108
  esac
5055
5109
 
5056
5110
  _LT_TAGVAR(ld_shlibs, $1)=yes
5123
5177
      fi
5124
5178
      ;;
5125
5179
 
5126
 
    cygwin* | mingw* | pw32*)
 
5180
    cygwin* | mingw* | pw32* | cegcc*)
5127
5181
      # _LT_TAGVAR(hardcode_libdir_flag_spec, $1) is actually meaningless,
5128
5182
      # as there is no search path for DLLs.
5129
5183
      _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='-L$libdir'
5189
5243
          tmp_addflag=' -i_dynamic -nofor_main' ;;
5190
5244
        ifc* | ifort*)                  # Intel Fortran compiler
5191
5245
          tmp_addflag=' -nofor_main' ;;
 
5246
        lf95*)                          # Lahey Fortran 8.1
 
5247
          _LT_TAGVAR(whole_archive_flag_spec, $1)=
 
5248
          tmp_sharedflag='--shared' ;;
5192
5249
        xl[[cC]]*)                      # IBM XL C 8.0 on PPC (deal with xlf below)
5193
5250
          tmp_sharedflag='-qmkshrobj'
5194
5251
          tmp_addflag= ;;
5421
5478
        fi
5422
5479
      fi
5423
5480
 
 
5481
      _LT_TAGVAR(export_dynamic_flag_spec, $1)='${wl}-bexpall'
5424
5482
      # It seems that -bexpall does not export symbols beginning with
5425
5483
      # underscore (_), so it is better to generate a list of symbols to export.
5426
5484
      _LT_TAGVAR(always_export_symbols, $1)=yes
5475
5533
      _LT_TAGVAR(export_dynamic_flag_spec, $1)=-rdynamic
5476
5534
      ;;
5477
5535
 
5478
 
    cygwin* | mingw* | pw32*)
 
5536
    cygwin* | mingw* | pw32* | cegcc*)
5479
5537
      # When not using gcc, we currently assume that we are using
5480
5538
      # Microsoft Visual C++.
5481
5539
      # hardcode_libdir_flag_spec is actually meaningless, as there is
5579
5637
          _LT_TAGVAR(archive_cmds, $1)='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
5580
5638
          ;;
5581
5639
        ia64*)
5582
 
          _LT_TAGVAR(archive_cmds, $1)='$CC -shared ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
 
5640
          _LT_TAGVAR(archive_cmds, $1)='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
5583
5641
          ;;
5584
5642
        *)
5585
5643
          _LT_TAGVAR(archive_cmds, $1)='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
6360
6418
          fi
6361
6419
        fi
6362
6420
 
 
6421
        _LT_TAGVAR(export_dynamic_flag_spec, $1)='${wl}-bexpall'
6363
6422
        # It seems that -bexpall does not export symbols beginning with
6364
6423
        # underscore (_), so it is better to generate a list of symbols to
6365
6424
        # export.
6418
6477
        esac
6419
6478
        ;;
6420
6479
 
6421
 
      cygwin* | mingw* | pw32*)
 
6480
      cygwin* | mingw* | pw32* | cegcc*)
6422
6481
        # _LT_TAGVAR(hardcode_libdir_flag_spec, $1) is actually meaningless,
6423
6482
        # as there is no search path for DLLs.
6424
6483
        _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='-L$libdir'
7799
7858
])
7800
7859
 
7801
7860
 
 
7861
# _LT_DECL_OBJDUMP
 
7862
# --------------
 
7863
# If we don't have a new enough Autoconf to choose the best objdump
 
7864
# available, choose the one first in the user's PATH.
 
7865
m4_defun([_LT_DECL_OBJDUMP],
 
7866
[AC_CHECK_TOOL(OBJDUMP, objdump, false)
 
7867
test -z "$OBJDUMP" && OBJDUMP=objdump
 
7868
_LT_DECL([], [OBJDUMP], [1], [An object symbol dumper])
 
7869
AC_SUBST([OBJDUMP])
 
7870
])
 
7871
 
 
7872
 
7802
7873
# _LT_DECL_SED
7803
7874
# ------------
7804
7875
# Check for a fully-functional sed program, that truncates
8259
8330
[enable_win32_dll=yes
8260
8331
 
8261
8332
case $host in
8262
 
*-*-cygwin* | *-*-mingw* | *-*-pw32*)
 
8333
*-*-cygwin* | *-*-mingw* | *-*-pw32* | *-cegcc*)
8263
8334
  AC_CHECK_TOOL(AS, as, false)
8264
8335
  AC_CHECK_TOOL(DLLTOOL, dlltool, false)
8265
8336
  AC_CHECK_TOOL(OBJDUMP, objdump, false)
8500
8571
 
8501
8572
# ltsugar.m4 -- libtool m4 base layer.                         -*-Autoconf-*-
8502
8573
#
8503
 
#   Copyright (C) 2004, 2005, 2007 Free Software Foundation, Inc.
8504
 
#   Written by Gary V. Vaughan, 2004
 
8574
# Copyright (C) 2004, 2005, 2007, 2008 Free Software Foundation, Inc.
 
8575
# Written by Gary V. Vaughan, 2004
8505
8576
#
8506
8577
# This file is free software; the Free Software Foundation gives
8507
8578
# unlimited permission to copy and/or distribute it, with or without
8508
8579
# modifications, as long as this notice is preserved.
8509
8580
 
8510
 
# serial 5 ltsugar.m4
 
8581
# serial 6 ltsugar.m4
8511
8582
 
8512
8583
# This is to help aclocal find these macros, as it can't see m4_define.
8513
8584
AC_DEFUN([LTSUGAR_VERSION], [m4_if([0.1])])
8563
8634
# Produce a SEP delimited list of all paired combinations of elements of
8564
8635
# PREFIX-LIST with SUFFIX1 through SUFFIXn.  Each element of the list
8565
8636
# has the form PREFIXmINFIXSUFFIXn.
 
8637
# Needed until we can rely on m4_combine added in Autoconf 2.62.
8566
8638
m4_define([lt_combine],
8567
 
[m4_if([$2], [], [],
8568
 
  [m4_if([$4], [], [],
8569
 
    [lt_join(m4_quote(m4_default([$1], [[, ]])),
8570
 
      lt_unquote(m4_split(m4_normalize(m4_foreach(_Lt_prefix, [$2],
8571
 
                   [m4_foreach(_Lt_suffix, lt_car([m4_shiftn(3, $@)]),
8572
 
                               [_Lt_prefix[]$3[]_Lt_suffix ])])))))])])dnl
8573
 
])
 
8639
[m4_if(m4_eval([$# > 3]), [1],
 
8640
       [m4_pushdef([_Lt_sep], [m4_define([_Lt_sep], m4_defn([lt_car]))])]]dnl
 
8641
[[m4_foreach([_Lt_prefix], [$2],
 
8642
             [m4_foreach([_Lt_suffix],
 
8643
                ]m4_dquote(m4_dquote(m4_shift(m4_shift(m4_shift($@)))))[,
 
8644
        [_Lt_sep([$1])[]m4_defn([_Lt_prefix])[$3]m4_defn([_Lt_suffix])])])])])
8574
8645
 
8575
8646
 
8576
8647
# lt_if_append_uniq(MACRO-NAME, VARNAME, [SEPARATOR], [UNIQ], [NOT-UNIQ])
8633
8704
 
8634
8705
# Generated from ltversion.in.
8635
8706
 
8636
 
# serial 2976 ltversion.m4
 
8707
# serial 3012 ltversion.m4
8637
8708
# This file is part of GNU Libtool
8638
8709
 
8639
 
m4_define([LT_PACKAGE_VERSION], [2.2.4])
8640
 
m4_define([LT_PACKAGE_REVISION], [1.2976])
 
8710
m4_define([LT_PACKAGE_VERSION], [2.2.6])
 
8711
m4_define([LT_PACKAGE_REVISION], [1.3012])
8641
8712
 
8642
8713
AC_DEFUN([LTVERSION_VERSION],
8643
 
[macro_version='2.2.4'
8644
 
macro_revision='1.2976'
 
8714
[macro_version='2.2.6'
 
8715
macro_revision='1.3012'
8645
8716
_LT_DECL(, macro_version, 0, [Which release of libtool.m4 was used?])
8646
8717
_LT_DECL(, macro_revision, 0)
8647
8718
])
8929
9000
fi[]dnl
8930
9001
])# PKG_CHECK_MODULES
8931
9002
 
8932
 
# Copyright (C) 2002, 2003, 2005, 2006, 2007  Free Software Foundation, Inc.
 
9003
# Copyright (C) 2002, 2003, 2005, 2006, 2007, 2008  Free Software Foundation, Inc.
8933
9004
#
8934
9005
# This file is free software; the Free Software Foundation
8935
9006
# gives unlimited permission to copy and/or distribute it,
8941
9012
# generated from the m4 files accompanying Automake X.Y.
8942
9013
# (This private macro should not be called outside this file.)
8943
9014
AC_DEFUN([AM_AUTOMAKE_VERSION],
8944
 
[am__api_version='1.10'
 
9015
[am__api_version='1.11'
8945
9016
dnl Some users find AM_AUTOMAKE_VERSION and mistake it for a way to
8946
9017
dnl require some minimum version.  Point them to the right macro.
8947
 
m4_if([$1], [1.10.1], [],
 
9018
m4_if([$1], [1.11], [],
8948
9019
      [AC_FATAL([Do not call $0, use AM_INIT_AUTOMAKE([$1]).])])dnl
8949
9020
])
8950
9021
 
8958
9029
# AM_SET_CURRENT_AUTOMAKE_VERSION
8959
9030
# -------------------------------
8960
9031
# Call AM_AUTOMAKE_VERSION and AM_AUTOMAKE_VERSION so they can be traced.
8961
 
# This function is AC_REQUIREd by AC_INIT_AUTOMAKE.
 
9032
# This function is AC_REQUIREd by AM_INIT_AUTOMAKE.
8962
9033
AC_DEFUN([AM_SET_CURRENT_AUTOMAKE_VERSION],
8963
 
[AM_AUTOMAKE_VERSION([1.10.1])dnl
 
9034
[AM_AUTOMAKE_VERSION([1.11])dnl
8964
9035
m4_ifndef([AC_AUTOCONF_VERSION],
8965
9036
  [m4_copy([m4_PACKAGE_VERSION], [AC_AUTOCONF_VERSION])])dnl
8966
 
_AM_AUTOCONF_VERSION(AC_AUTOCONF_VERSION)])
 
9037
_AM_AUTOCONF_VERSION(m4_defn([AC_AUTOCONF_VERSION]))])
8967
9038
 
8968
9039
# AM_AUX_DIR_EXPAND                                         -*- Autoconf -*-
8969
9040
 
9020
9091
 
9021
9092
# AM_CONDITIONAL                                            -*- Autoconf -*-
9022
9093
 
9023
 
# Copyright (C) 1997, 2000, 2001, 2003, 2004, 2005, 2006
 
9094
# Copyright (C) 1997, 2000, 2001, 2003, 2004, 2005, 2006, 2008
9024
9095
# Free Software Foundation, Inc.
9025
9096
#
9026
9097
# This file is free software; the Free Software Foundation
9027
9098
# gives unlimited permission to copy and/or distribute it,
9028
9099
# with or without modifications, as long as this notice is preserved.
9029
9100
 
9030
 
# serial 8
 
9101
# serial 9
9031
9102
 
9032
9103
# AM_CONDITIONAL(NAME, SHELL-CONDITION)
9033
9104
# -------------------------------------
9040
9111
AC_SUBST([$1_FALSE])dnl
9041
9112
_AM_SUBST_NOTMAKE([$1_TRUE])dnl
9042
9113
_AM_SUBST_NOTMAKE([$1_FALSE])dnl
 
9114
m4_define([_AM_COND_VALUE_$1], [$2])dnl
9043
9115
if $2; then
9044
9116
  $1_TRUE=
9045
9117
  $1_FALSE='#'
9053
9125
Usually this means the macro was only invoked conditionally.]])
9054
9126
fi])])
9055
9127
 
9056
 
# Copyright (C) 1999, 2000, 2001, 2002, 2003, 2004, 2005, 2006
 
9128
# Copyright (C) 1999, 2000, 2001, 2002, 2003, 2004, 2005, 2006, 2009
9057
9129
# Free Software Foundation, Inc.
9058
9130
#
9059
9131
# This file is free software; the Free Software Foundation
9060
9132
# gives unlimited permission to copy and/or distribute it,
9061
9133
# with or without modifications, as long as this notice is preserved.
9062
9134
 
9063
 
# serial 9
 
9135
# serial 10
9064
9136
 
9065
9137
# There are a few dirty hacks below to avoid letting `AC_PROG_CC' be
9066
9138
# written in clear, in which case automake, when reading aclocal.m4,
9117
9189
  if test "$am_compiler_list" = ""; then
9118
9190
     am_compiler_list=`sed -n ['s/^#*\([a-zA-Z0-9]*\))$/\1/p'] < ./depcomp`
9119
9191
  fi
 
9192
  am__universal=false
 
9193
  m4_case([$1], [CC],
 
9194
    [case " $depcc " in #(
 
9195
     *\ -arch\ *\ -arch\ *) am__universal=true ;;
 
9196
     esac],
 
9197
    [CXX],
 
9198
    [case " $depcc " in #(
 
9199
     *\ -arch\ *\ -arch\ *) am__universal=true ;;
 
9200
     esac])
 
9201
 
9120
9202
  for depmode in $am_compiler_list; do
9121
9203
    # Setup a source with many dependencies, because some compilers
9122
9204
    # like to wrap large dependency lists on column 80 (with \), and
9134
9216
    done
9135
9217
    echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
9136
9218
 
 
9219
    # We check with `-c' and `-o' for the sake of the "dashmstdout"
 
9220
    # mode.  It turns out that the SunPro C++ compiler does not properly
 
9221
    # handle `-M -o', and we need to detect this.  Also, some Intel
 
9222
    # versions had trouble with output in subdirs
 
9223
    am__obj=sub/conftest.${OBJEXT-o}
 
9224
    am__minus_obj="-o $am__obj"
9137
9225
    case $depmode in
 
9226
    gcc)
 
9227
      # This depmode causes a compiler race in universal mode.
 
9228
      test "$am__universal" = false || continue
 
9229
      ;;
9138
9230
    nosideeffect)
9139
9231
      # after this tag, mechanisms are not by side-effect, so they'll
9140
9232
      # only be used when explicitly requested
9144
9236
        break
9145
9237
      fi
9146
9238
      ;;
 
9239
    msvisualcpp | msvcmsys)
 
9240
      # This compiler won't grok `-c -o', but also, the minuso test has
 
9241
      # not run yet.  These depmodes are late enough in the game, and
 
9242
      # so weak that their functioning should not be impacted.
 
9243
      am__obj=conftest.${OBJEXT-o}
 
9244
      am__minus_obj=
 
9245
      ;;
9147
9246
    none) break ;;
9148
9247
    esac
9149
 
    # We check with `-c' and `-o' for the sake of the "dashmstdout"
9150
 
    # mode.  It turns out that the SunPro C++ compiler does not properly
9151
 
    # handle `-M -o', and we need to detect this.
9152
9248
    if depmode=$depmode \
9153
 
       source=sub/conftest.c object=sub/conftest.${OBJEXT-o} \
 
9249
       source=sub/conftest.c object=$am__obj \
9154
9250
       depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
9155
 
       $SHELL ./depcomp $depcc -c -o sub/conftest.${OBJEXT-o} sub/conftest.c \
 
9251
       $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
9156
9252
         >/dev/null 2>conftest.err &&
9157
9253
       grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
9158
9254
       grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
9159
 
       grep sub/conftest.${OBJEXT-o} sub/conftest.Po > /dev/null 2>&1 &&
 
9255
       grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
9160
9256
       ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
9161
9257
      # icc doesn't choke on unknown options, it will just issue warnings
9162
9258
      # or remarks (even with -Werror).  So we grep stderr for any message
9213
9309
 
9214
9310
# Generate code to set up dependency tracking.              -*- Autoconf -*-
9215
9311
 
9216
 
# Copyright (C) 1999, 2000, 2001, 2002, 2003, 2004, 2005
 
9312
# Copyright (C) 1999, 2000, 2001, 2002, 2003, 2004, 2005, 2008
9217
9313
# Free Software Foundation, Inc.
9218
9314
#
9219
9315
# This file is free software; the Free Software Foundation
9220
9316
# gives unlimited permission to copy and/or distribute it,
9221
9317
# with or without modifications, as long as this notice is preserved.
9222
9318
 
9223
 
#serial 3
 
9319
#serial 5
9224
9320
 
9225
9321
# _AM_OUTPUT_DEPENDENCY_COMMANDS
9226
9322
# ------------------------------
9227
9323
AC_DEFUN([_AM_OUTPUT_DEPENDENCY_COMMANDS],
9228
 
[for mf in $CONFIG_FILES; do
9229
 
  # Strip MF so we end up with the name of the file.
9230
 
  mf=`echo "$mf" | sed -e 's/:.*$//'`
9231
 
  # Check whether this is an Automake generated Makefile or not.
9232
 
  # We used to match only the files named `Makefile.in', but
9233
 
  # some people rename them; so instead we look at the file content.
9234
 
  # Grep'ing the first line is not enough: some people post-process
9235
 
  # each Makefile.in and add a new line on top of each file to say so.
9236
 
  # Grep'ing the whole file is not good either: AIX grep has a line
9237
 
  # limit of 2048, but all sed's we know have understand at least 4000.
9238
 
  if sed -n 's,^#.*generated by automake.*,X,p' "$mf" | grep X >/dev/null 2>&1; then
9239
 
    dirpart=`AS_DIRNAME("$mf")`
9240
 
  else
9241
 
    continue
9242
 
  fi
9243
 
  # Extract the definition of DEPDIR, am__include, and am__quote
9244
 
  # from the Makefile without running `make'.
9245
 
  DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"`
9246
 
  test -z "$DEPDIR" && continue
9247
 
  am__include=`sed -n 's/^am__include = //p' < "$mf"`
9248
 
  test -z "am__include" && continue
9249
 
  am__quote=`sed -n 's/^am__quote = //p' < "$mf"`
9250
 
  # When using ansi2knr, U may be empty or an underscore; expand it
9251
 
  U=`sed -n 's/^U = //p' < "$mf"`
9252
 
  # Find all dependency output files, they are included files with
9253
 
  # $(DEPDIR) in their names.  We invoke sed twice because it is the
9254
 
  # simplest approach to changing $(DEPDIR) to its actual value in the
9255
 
  # expansion.
9256
 
  for file in `sed -n "
9257
 
    s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
9258
 
       sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do
9259
 
    # Make sure the directory exists.
9260
 
    test -f "$dirpart/$file" && continue
9261
 
    fdir=`AS_DIRNAME(["$file"])`
9262
 
    AS_MKDIR_P([$dirpart/$fdir])
9263
 
    # echo "creating $dirpart/$file"
9264
 
    echo '# dummy' > "$dirpart/$file"
 
9324
[{
 
9325
  # Autoconf 2.62 quotes --file arguments for eval, but not when files
 
9326
  # are listed without --file.  Let's play safe and only enable the eval
 
9327
  # if we detect the quoting.
 
9328
  case $CONFIG_FILES in
 
9329
  *\'*) eval set x "$CONFIG_FILES" ;;
 
9330
  *)   set x $CONFIG_FILES ;;
 
9331
  esac
 
9332
  shift
 
9333
  for mf
 
9334
  do
 
9335
    # Strip MF so we end up with the name of the file.
 
9336
    mf=`echo "$mf" | sed -e 's/:.*$//'`
 
9337
    # Check whether this is an Automake generated Makefile or not.
 
9338
    # We used to match only the files named `Makefile.in', but
 
9339
    # some people rename them; so instead we look at the file content.
 
9340
    # Grep'ing the first line is not enough: some people post-process
 
9341
    # each Makefile.in and add a new line on top of each file to say so.
 
9342
    # Grep'ing the whole file is not good either: AIX grep has a line
 
9343
    # limit of 2048, but all sed's we know have understand at least 4000.
 
9344
    if sed -n 's,^#.*generated by automake.*,X,p' "$mf" | grep X >/dev/null 2>&1; then
 
9345
      dirpart=`AS_DIRNAME("$mf")`
 
9346
    else
 
9347
      continue
 
9348
    fi
 
9349
    # Extract the definition of DEPDIR, am__include, and am__quote
 
9350
    # from the Makefile without running `make'.
 
9351
    DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"`
 
9352
    test -z "$DEPDIR" && continue
 
9353
    am__include=`sed -n 's/^am__include = //p' < "$mf"`
 
9354
    test -z "am__include" && continue
 
9355
    am__quote=`sed -n 's/^am__quote = //p' < "$mf"`
 
9356
    # When using ansi2knr, U may be empty or an underscore; expand it
 
9357
    U=`sed -n 's/^U = //p' < "$mf"`
 
9358
    # Find all dependency output files, they are included files with
 
9359
    # $(DEPDIR) in their names.  We invoke sed twice because it is the
 
9360
    # simplest approach to changing $(DEPDIR) to its actual value in the
 
9361
    # expansion.
 
9362
    for file in `sed -n "
 
9363
      s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
 
9364
         sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do
 
9365
      # Make sure the directory exists.
 
9366
      test -f "$dirpart/$file" && continue
 
9367
      fdir=`AS_DIRNAME(["$file"])`
 
9368
      AS_MKDIR_P([$dirpart/$fdir])
 
9369
      # echo "creating $dirpart/$file"
 
9370
      echo '# dummy' > "$dirpart/$file"
 
9371
    done
9265
9372
  done
9266
 
done
 
9373
}
9267
9374
])# _AM_OUTPUT_DEPENDENCY_COMMANDS
9268
9375
 
9269
9376
 
9295
9402
# Do all the work for Automake.                             -*- Autoconf -*-
9296
9403
 
9297
9404
# Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004,
9298
 
# 2005, 2006, 2008 Free Software Foundation, Inc.
 
9405
# 2005, 2006, 2008, 2009 Free Software Foundation, Inc.
9299
9406
#
9300
9407
# This file is free software; the Free Software Foundation
9301
9408
# gives unlimited permission to copy and/or distribute it,
9302
9409
# with or without modifications, as long as this notice is preserved.
9303
9410
 
9304
 
# serial 13
 
9411
# serial 16
9305
9412
 
9306
9413
# This macro actually does too much.  Some checks are only needed if
9307
9414
# your package does certain things.  But this isn't really a big deal.
9318
9425
# arguments mandatory, and then we can depend on a new Autoconf
9319
9426
# release and drop the old call support.
9320
9427
AC_DEFUN([AM_INIT_AUTOMAKE],
9321
 
[AC_PREREQ([2.60])dnl
 
9428
[AC_PREREQ([2.62])dnl
9322
9429
dnl Autoconf wants to disallow AM_ names.  We explicitly allow
9323
9430
dnl the ones we care about.
9324
9431
m4_pattern_allow([^AM_[A-Z]+FLAGS$])dnl
9369
9476
AM_MISSING_PROG(AUTOMAKE, automake-${am__api_version})
9370
9477
AM_MISSING_PROG(AUTOHEADER, autoheader)
9371
9478
AM_MISSING_PROG(MAKEINFO, makeinfo)
9372
 
AM_PROG_INSTALL_SH
9373
 
AM_PROG_INSTALL_STRIP
 
9479
AC_REQUIRE([AM_PROG_INSTALL_SH])dnl
 
9480
AC_REQUIRE([AM_PROG_INSTALL_STRIP])dnl
9374
9481
AC_REQUIRE([AM_PROG_MKDIR_P])dnl
9375
9482
# We need awk for the "check" target.  The system "awk" is bad on
9376
9483
# some platforms.
9378
9485
AC_REQUIRE([AC_PROG_MAKE_SET])dnl
9379
9486
AC_REQUIRE([AM_SET_LEADING_DOT])dnl
9380
9487
_AM_IF_OPTION([tar-ustar], [_AM_PROG_TAR([ustar])],
9381
 
              [_AM_IF_OPTION([tar-pax], [_AM_PROG_TAR([pax])],
9382
 
                             [_AM_PROG_TAR([v7])])])
 
9488
              [_AM_IF_OPTION([tar-pax], [_AM_PROG_TAR([pax])],
 
9489
                             [_AM_PROG_TAR([v7])])])
9383
9490
_AM_IF_OPTION([no-dependencies],,
9384
9491
[AC_PROVIDE_IFELSE([AC_PROG_CC],
9385
 
                  [_AM_DEPENDENCIES(CC)],
9386
 
                  [define([AC_PROG_CC],
9387
 
                          defn([AC_PROG_CC])[_AM_DEPENDENCIES(CC)])])dnl
 
9492
                  [_AM_DEPENDENCIES(CC)],
 
9493
                  [define([AC_PROG_CC],
 
9494
                          defn([AC_PROG_CC])[_AM_DEPENDENCIES(CC)])])dnl
9388
9495
AC_PROVIDE_IFELSE([AC_PROG_CXX],
9389
 
                  [_AM_DEPENDENCIES(CXX)],
9390
 
                  [define([AC_PROG_CXX],
9391
 
                          defn([AC_PROG_CXX])[_AM_DEPENDENCIES(CXX)])])dnl
 
9496
                  [_AM_DEPENDENCIES(CXX)],
 
9497
                  [define([AC_PROG_CXX],
 
9498
                          defn([AC_PROG_CXX])[_AM_DEPENDENCIES(CXX)])])dnl
9392
9499
AC_PROVIDE_IFELSE([AC_PROG_OBJC],
9393
 
                  [_AM_DEPENDENCIES(OBJC)],
9394
 
                  [define([AC_PROG_OBJC],
9395
 
                          defn([AC_PROG_OBJC])[_AM_DEPENDENCIES(OBJC)])])dnl
9396
 
])
9397
 
])
 
9500
                  [_AM_DEPENDENCIES(OBJC)],
 
9501
                  [define([AC_PROG_OBJC],
 
9502
                          defn([AC_PROG_OBJC])[_AM_DEPENDENCIES(OBJC)])])dnl
 
9503
])
 
9504
_AM_IF_OPTION([silent-rules], [AC_REQUIRE([AM_SILENT_RULES])])dnl
 
9505
dnl The `parallel-tests' driver may need to know about EXEEXT, so add the
 
9506
dnl `am__EXEEXT' conditional if _AM_COMPILER_EXEEXT was seen.  This macro
 
9507
dnl is hooked onto _AC_COMPILER_EXEEXT early, see below.
 
9508
AC_CONFIG_COMMANDS_PRE(dnl
 
9509
[m4_provide_if([_AM_COMPILER_EXEEXT],
 
9510
  [AM_CONDITIONAL([am__EXEEXT], [test -n "$EXEEXT"])])])dnl
 
9511
])
 
9512
 
 
9513
dnl Hook into `_AC_COMPILER_EXEEXT' early to learn its expansion.  Do not
 
9514
dnl add the conditional right here, as _AC_COMPILER_EXEEXT may be further
 
9515
dnl mangled by Autoconf and run in a shell conditional statement.
 
9516
m4_define([_AC_COMPILER_EXEEXT],
 
9517
m4_defn([_AC_COMPILER_EXEEXT])[m4_provide([_AM_COMPILER_EXEEXT])])
9398
9518
 
9399
9519
 
9400
9520
# When config.status generates a header, we must update the stamp-h file.
9418
9538
done
9419
9539
echo "timestamp for $_am_arg" >`AS_DIRNAME(["$_am_arg"])`/stamp-h[]$_am_stamp_count])
9420
9540
 
9421
 
# Copyright (C) 2001, 2003, 2005  Free Software Foundation, Inc.
 
9541
# Copyright (C) 2001, 2003, 2005, 2008  Free Software Foundation, Inc.
9422
9542
#
9423
9543
# This file is free software; the Free Software Foundation
9424
9544
# gives unlimited permission to copy and/or distribute it,
9429
9549
# Define $install_sh.
9430
9550
AC_DEFUN([AM_PROG_INSTALL_SH],
9431
9551
[AC_REQUIRE([AM_AUX_DIR_EXPAND])dnl
9432
 
install_sh=${install_sh-"\$(SHELL) $am_aux_dir/install-sh"}
 
9552
if test x"${install_sh}" != xset; then
 
9553
  case $am_aux_dir in
 
9554
  *\ * | *\     *)
 
9555
    install_sh="\${SHELL} '$am_aux_dir/install-sh'" ;;
 
9556
  *)
 
9557
    install_sh="\${SHELL} $am_aux_dir/install-sh"
 
9558
  esac
 
9559
fi
9433
9560
AC_SUBST(install_sh)])
9434
9561
 
9435
9562
# Copyright (C) 2003, 2005  Free Software Foundation, Inc.
9456
9583
# Add --enable-maintainer-mode option to configure.         -*- Autoconf -*-
9457
9584
# From Jim Meyering
9458
9585
 
9459
 
# Copyright (C) 1996, 1998, 2000, 2001, 2002, 2003, 2004, 2005
 
9586
# Copyright (C) 1996, 1998, 2000, 2001, 2002, 2003, 2004, 2005, 2008
9460
9587
# Free Software Foundation, Inc.
9461
9588
#
9462
9589
# This file is free software; the Free Software Foundation
9463
9590
# gives unlimited permission to copy and/or distribute it,
9464
9591
# with or without modifications, as long as this notice is preserved.
9465
9592
 
9466
 
# serial 4
 
9593
# serial 5
9467
9594
 
 
9595
# AM_MAINTAINER_MODE([DEFAULT-MODE])
 
9596
# ----------------------------------
 
9597
# Control maintainer-specific portions of Makefiles.
 
9598
# Default is to disable them, unless `enable' is passed literally.
 
9599
# For symmetry, `disable' may be passed as well.  Anyway, the user
 
9600
# can override the default with the --enable/--disable switch.
9468
9601
AC_DEFUN([AM_MAINTAINER_MODE],
9469
 
[AC_MSG_CHECKING([whether to enable maintainer-specific portions of Makefiles])
9470
 
  dnl maintainer-mode is disabled by default
9471
 
  AC_ARG_ENABLE(maintainer-mode,
9472
 
[  --enable-maintainer-mode  enable make rules and dependencies not useful
 
9602
[m4_case(m4_default([$1], [disable]),
 
9603
       [enable], [m4_define([am_maintainer_other], [disable])],
 
9604
       [disable], [m4_define([am_maintainer_other], [enable])],
 
9605
       [m4_define([am_maintainer_other], [enable])
 
9606
        m4_warn([syntax], [unexpected argument to AM@&t@_MAINTAINER_MODE: $1])])
 
9607
AC_MSG_CHECKING([whether to am_maintainer_other maintainer-specific portions of Makefiles])
 
9608
  dnl maintainer-mode's default is 'disable' unless 'enable' is passed
 
9609
  AC_ARG_ENABLE([maintainer-mode],
 
9610
[  --][am_maintainer_other][-maintainer-mode  am_maintainer_other make rules and dependencies not useful
9473
9611
                          (and sometimes confusing) to the casual installer],
9474
 
      USE_MAINTAINER_MODE=$enableval,
9475
 
      USE_MAINTAINER_MODE=no)
 
9612
      [USE_MAINTAINER_MODE=$enableval],
 
9613
      [USE_MAINTAINER_MODE=]m4_if(am_maintainer_other, [enable], [no], [yes]))
9476
9614
  AC_MSG_RESULT([$USE_MAINTAINER_MODE])
9477
 
  AM_CONDITIONAL(MAINTAINER_MODE, [test $USE_MAINTAINER_MODE = yes])
 
9615
  AM_CONDITIONAL([MAINTAINER_MODE], [test $USE_MAINTAINER_MODE = yes])
9478
9616
  MAINT=$MAINTAINER_MODE_TRUE
9479
 
  AC_SUBST(MAINT)dnl
 
9617
  AC_SUBST([MAINT])dnl
9480
9618
]
9481
9619
)
9482
9620
 
9484
9622
 
9485
9623
# Check to see how 'make' treats includes.                  -*- Autoconf -*-
9486
9624
 
9487
 
# Copyright (C) 2001, 2002, 2003, 2005  Free Software Foundation, Inc.
 
9625
# Copyright (C) 2001, 2002, 2003, 2005, 2009  Free Software Foundation, Inc.
9488
9626
#
9489
9627
# This file is free software; the Free Software Foundation
9490
9628
# gives unlimited permission to copy and/or distribute it,
9491
9629
# with or without modifications, as long as this notice is preserved.
9492
9630
 
9493
 
# serial 3
 
9631
# serial 4
9494
9632
 
9495
9633
# AM_MAKE_INCLUDE()
9496
9634
# -----------------
9499
9637
[am_make=${MAKE-make}
9500
9638
cat > confinc << 'END'
9501
9639
am__doit:
9502
 
        @echo done
 
9640
        @echo this is the am__doit target
9503
9641
.PHONY: am__doit
9504
9642
END
9505
9643
# If we don't find an include directive, just comment out the code.
9509
9647
_am_result=none
9510
9648
# First try GNU make style include.
9511
9649
echo "include confinc" > confmf
9512
 
# We grep out `Entering directory' and `Leaving directory'
9513
 
# messages which can occur if `w' ends up in MAKEFLAGS.
9514
 
# In particular we don't look at `^make:' because GNU make might
9515
 
# be invoked under some other name (usually "gmake"), in which
9516
 
# case it prints its new name instead of `make'.
9517
 
if test "`$am_make -s -f confmf 2> /dev/null | grep -v 'ing directory'`" = "done"; then
9518
 
   am__include=include
9519
 
   am__quote=
9520
 
   _am_result=GNU
9521
 
fi
 
9650
# Ignore all kinds of additional output from `make'.
 
9651
case `$am_make -s -f confmf 2> /dev/null` in #(
 
9652
*the\ am__doit\ target*)
 
9653
  am__include=include
 
9654
  am__quote=
 
9655
  _am_result=GNU
 
9656
  ;;
 
9657
esac
9522
9658
# Now try BSD make style include.
9523
9659
if test "$am__include" = "#"; then
9524
9660
   echo '.include "confinc"' > confmf
9525
 
   if test "`$am_make -s -f confmf 2> /dev/null`" = "done"; then
9526
 
      am__include=.include
9527
 
      am__quote="\""
9528
 
      _am_result=BSD
9529
 
   fi
 
9661
   case `$am_make -s -f confmf 2> /dev/null` in #(
 
9662
   *the\ am__doit\ target*)
 
9663
     am__include=.include
 
9664
     am__quote="\""
 
9665
     _am_result=BSD
 
9666
     ;;
 
9667
   esac
9530
9668
fi
9531
9669
AC_SUBST([am__include])
9532
9670
AC_SUBST([am__quote])
9536
9674
 
9537
9675
# Fake the existence of programs that GNU maintainers use.  -*- Autoconf -*-
9538
9676
 
9539
 
# Copyright (C) 1997, 1999, 2000, 2001, 2003, 2004, 2005
 
9677
# Copyright (C) 1997, 1999, 2000, 2001, 2003, 2004, 2005, 2008
9540
9678
# Free Software Foundation, Inc.
9541
9679
#
9542
9680
# This file is free software; the Free Software Foundation
9543
9681
# gives unlimited permission to copy and/or distribute it,
9544
9682
# with or without modifications, as long as this notice is preserved.
9545
9683
 
9546
 
# serial 5
 
9684
# serial 6
9547
9685
 
9548
9686
# AM_MISSING_PROG(NAME, PROGRAM)
9549
9687
# ------------------------------
9560
9698
AC_DEFUN([AM_MISSING_HAS_RUN],
9561
9699
[AC_REQUIRE([AM_AUX_DIR_EXPAND])dnl
9562
9700
AC_REQUIRE_AUX_FILE([missing])dnl
9563
 
test x"${MISSING+set}" = xset || MISSING="\${SHELL} $am_aux_dir/missing"
 
9701
if test x"${MISSING+set}" != xset; then
 
9702
  case $am_aux_dir in
 
9703
  *\ * | *\     *)
 
9704
    MISSING="\${SHELL} \"$am_aux_dir/missing\"" ;;
 
9705
  *)
 
9706
    MISSING="\${SHELL} $am_aux_dir/missing" ;;
 
9707
  esac
 
9708
fi
9564
9709
# Use eval to expand $SHELL
9565
9710
if eval "$MISSING --run true"; then
9566
9711
  am_missing_run="$MISSING --run "
9598
9743
 
9599
9744
# Helper functions for option handling.                     -*- Autoconf -*-
9600
9745
 
9601
 
# Copyright (C) 2001, 2002, 2003, 2005  Free Software Foundation, Inc.
 
9746
# Copyright (C) 2001, 2002, 2003, 2005, 2008  Free Software Foundation, Inc.
9602
9747
#
9603
9748
# This file is free software; the Free Software Foundation
9604
9749
# gives unlimited permission to copy and/or distribute it,
9605
9750
# with or without modifications, as long as this notice is preserved.
9606
9751
 
9607
 
# serial 3
 
9752
# serial 4
9608
9753
 
9609
9754
# _AM_MANGLE_OPTION(NAME)
9610
9755
# -----------------------
9621
9766
# ----------------------------------
9622
9767
# OPTIONS is a space-separated list of Automake options.
9623
9768
AC_DEFUN([_AM_SET_OPTIONS],
9624
 
[AC_FOREACH([_AM_Option], [$1], [_AM_SET_OPTION(_AM_Option)])])
 
9769
[m4_foreach_w([_AM_Option], [$1], [_AM_SET_OPTION(_AM_Option)])])
9625
9770
 
9626
9771
# _AM_IF_OPTION(OPTION, IF-SET, [IF-NOT-SET])
9627
9772
# -------------------------------------------
9631
9776
 
9632
9777
# Check to make sure that the build environment is sane.    -*- Autoconf -*-
9633
9778
 
9634
 
# Copyright (C) 1996, 1997, 2000, 2001, 2003, 2005
 
9779
# Copyright (C) 1996, 1997, 2000, 2001, 2003, 2005, 2008
9635
9780
# Free Software Foundation, Inc.
9636
9781
#
9637
9782
# This file is free software; the Free Software Foundation
9638
9783
# gives unlimited permission to copy and/or distribute it,
9639
9784
# with or without modifications, as long as this notice is preserved.
9640
9785
 
9641
 
# serial 4
 
9786
# serial 5
9642
9787
 
9643
9788
# AM_SANITY_CHECK
9644
9789
# ---------------
9647
9792
# Just in case
9648
9793
sleep 1
9649
9794
echo timestamp > conftest.file
 
9795
# Reject unsafe characters in $srcdir or the absolute working directory
 
9796
# name.  Accept space and tab only in the latter.
 
9797
am_lf='
 
9798
'
 
9799
case `pwd` in
 
9800
  *[[\\\"\#\$\&\'\`$am_lf]]*)
 
9801
    AC_MSG_ERROR([unsafe absolute working directory name]);;
 
9802
esac
 
9803
case $srcdir in
 
9804
  *[[\\\"\#\$\&\'\`$am_lf\ \    ]]*)
 
9805
    AC_MSG_ERROR([unsafe srcdir value: `$srcdir']);;
 
9806
esac
 
9807
 
9650
9808
# Do `set' in a subshell so we don't clobber the current shell's
9651
9809
# arguments.  Must try -L first in case configure is actually a
9652
9810
# symlink; some systems play weird games with the mod time of symlinks
9653
9811
# (eg FreeBSD returns the mod time of the symlink's containing
9654
9812
# directory).
9655
9813
if (
9656
 
   set X `ls -Lt $srcdir/configure conftest.file 2> /dev/null`
 
9814
   set X `ls -Lt "$srcdir/configure" conftest.file 2> /dev/null`
9657
9815
   if test "$[*]" = "X"; then
9658
9816
      # -L didn't work.
9659
 
      set X `ls -t $srcdir/configure conftest.file`
 
9817
      set X `ls -t "$srcdir/configure" conftest.file`
9660
9818
   fi
9661
9819
   rm -f conftest.file
9662
9820
   if test "$[*]" != "X $srcdir/configure conftest.file" \
9709
9867
INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s"
9710
9868
AC_SUBST([INSTALL_STRIP_PROGRAM])])
9711
9869
 
9712
 
# Copyright (C) 2006  Free Software Foundation, Inc.
 
9870
# Copyright (C) 2006, 2008  Free Software Foundation, Inc.
9713
9871
#
9714
9872
# This file is free software; the Free Software Foundation
9715
9873
# gives unlimited permission to copy and/or distribute it,
9716
9874
# with or without modifications, as long as this notice is preserved.
9717
9875
 
 
9876
# serial 2
 
9877
 
9718
9878
# _AM_SUBST_NOTMAKE(VARIABLE)
9719
9879
# ---------------------------
9720
9880
# Prevent Automake from outputting VARIABLE = @VARIABLE@ in Makefile.in.
9721
9881
# This macro is traced by Automake.
9722
9882
AC_DEFUN([_AM_SUBST_NOTMAKE])
9723
9883
 
 
9884
# AM_SUBST_NOTMAKE(VARIABLE)
 
9885
# ---------------------------
 
9886
# Public sister of _AM_SUBST_NOTMAKE.
 
9887
AC_DEFUN([AM_SUBST_NOTMAKE], [_AM_SUBST_NOTMAKE($@)])
 
9888
 
9724
9889
# Check how to create a tarball.                            -*- Autoconf -*-
9725
9890
 
9726
9891
# Copyright (C) 2004, 2005  Free Software Foundation, Inc.