~ubuntu-branches/ubuntu/natty/xmedcon/natty

« back to all changes in this revision

Viewing changes to aclocal.m4

  • Committer: Bazaar Package Importer
  • Author(s): Roland Marcus Rutschmann
  • Date: 2008-03-20 16:30:00 UTC
  • mfrom: (1.1.11 upstream) (2.1.3 lenny)
  • Revision ID: james.westby@ubuntu.com-20080320163000-tvridqxpeahbkax8
Tags: 0.10.4-1
New upstream release

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
 
# generated automatically by aclocal 1.10 -*- Autoconf -*-
 
1
# generated automatically by aclocal 1.10.1 -*- Autoconf -*-
2
2
 
3
3
# Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004,
4
 
# 2005, 2006  Free Software Foundation, Inc.
 
4
# 2005, 2006, 2007, 2008  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.
11
11
# even the implied warranty of MERCHANTABILITY or FITNESS FOR A
12
12
# PARTICULAR PURPOSE.
13
13
 
14
 
m4_if(m4_PACKAGE_VERSION, [2.61],,
15
 
[m4_fatal([this file was generated for autoconf 2.61.
16
 
You have another version of autoconf.  If you want to use that,
17
 
you should regenerate the build system entirely.], [63])])
 
14
m4_ifndef([AC_AUTOCONF_VERSION],
 
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.
 
18
You have another version of autoconf.  It may work, but is not guaranteed to.
 
19
If you have problems, you may need to regenerate the build system entirely.
 
20
To do so, use the procedure documented by the package, typically `autoreconf'.])])
18
21
 
19
22
# Configure paths for gdk-pixbuf
20
23
# Elliot Lee 2000-01-10
582
585
 
583
586
# libtool.m4 - Configure libtool for the host system. -*-Autoconf-*-
584
587
 
585
 
# serial 51 AC_PROG_LIBTOOL
 
588
# serial 52 AC_PROG_LIBTOOL
586
589
 
587
590
 
588
591
# AC_PROVIDE_IFELSE(MACRO-NAME, IF-PROVIDED, IF-NOT-PROVIDED)
670
673
AC_REQUIRE([AC_OBJEXT])dnl
671
674
AC_REQUIRE([AC_EXEEXT])dnl
672
675
dnl
673
 
 
674
676
AC_LIBTOOL_SYS_MAX_CMD_LEN
675
677
AC_LIBTOOL_SYS_GLOBAL_SYMBOL_PIPE
676
678
AC_LIBTOOL_OBJDIR
772
774
  ;;
773
775
esac
774
776
 
 
777
_LT_REQUIRED_DARWIN_CHECKS
 
778
 
775
779
AC_PROVIDE_IFELSE([AC_LIBTOOL_DLOPEN], enable_dlopen=yes, enable_dlopen=no)
776
780
AC_PROVIDE_IFELSE([AC_LIBTOOL_WIN32_DLL],
777
781
enable_win32_dll=yes, enable_win32_dll=no)
815
819
*** \$ltmain is not defined, please check the patch for consistency! ***
816
820
])
817
821
fi
818
 
gentoo_lt_version="1.5.24"
 
822
gentoo_lt_version="1.5.26"
819
823
gentoo_ltmain_version=`sed -n '/^[[     ]]*VERSION=/{s/^[[      ]]*VERSION=//;p;q;}' "$ltmain"`
820
824
if test "x$gentoo_lt_version" != "x$gentoo_ltmain_version" ; then
821
825
  AC_MSG_RESULT(no)
894
898
echo "$lt_simple_link_test_code" >conftest.$ac_ext
895
899
eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
896
900
_lt_linker_boilerplate=`cat conftest.err`
897
 
$rm conftest*
 
901
$rm -r conftest*
898
902
])# _LT_LINKER_BOILERPLATE
899
903
 
 
904
# _LT_REQUIRED_DARWIN_CHECKS
 
905
# --------------------------
 
906
# Check for some things on darwin
 
907
AC_DEFUN([_LT_REQUIRED_DARWIN_CHECKS],[
 
908
  case $host_os in
 
909
    rhapsody* | darwin*)
 
910
    AC_CHECK_TOOL([DSYMUTIL], [dsymutil], [:])
 
911
    AC_CHECK_TOOL([NMEDIT], [nmedit], [:])
 
912
 
 
913
    AC_CACHE_CHECK([for -single_module linker flag],[lt_cv_apple_cc_single_mod],
 
914
      [lt_cv_apple_cc_single_mod=no
 
915
      if test -z "${LT_MULTI_MODULE}"; then
 
916
   # By default we will add the -single_module flag. You can override
 
917
   # by either setting the environment variable LT_MULTI_MODULE
 
918
   # non-empty at configure time, or by adding -multi_module to the
 
919
   # link flags.
 
920
   echo "int foo(void){return 1;}" > conftest.c
 
921
   $LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
 
922
     -dynamiclib ${wl}-single_module conftest.c
 
923
   if test -f libconftest.dylib; then
 
924
     lt_cv_apple_cc_single_mod=yes
 
925
     rm -rf libconftest.dylib*
 
926
   fi
 
927
   rm conftest.c
 
928
      fi])
 
929
    AC_CACHE_CHECK([for -exported_symbols_list linker flag],
 
930
      [lt_cv_ld_exported_symbols_list],
 
931
      [lt_cv_ld_exported_symbols_list=no
 
932
      save_LDFLAGS=$LDFLAGS
 
933
      echo "_main" > conftest.sym
 
934
      LDFLAGS="$LDFLAGS -Wl,-exported_symbols_list,conftest.sym"
 
935
      AC_LINK_IFELSE([AC_LANG_PROGRAM([],[])],
 
936
   [lt_cv_ld_exported_symbols_list=yes],
 
937
   [lt_cv_ld_exported_symbols_list=no])
 
938
   LDFLAGS="$save_LDFLAGS"
 
939
    ])
 
940
    case $host_os in
 
941
    rhapsody* | darwin1.[[0123]])
 
942
      _lt_dar_allow_undefined='${wl}-undefined ${wl}suppress' ;;
 
943
    darwin1.*)
 
944
     _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
 
945
    darwin*)
 
946
      # if running on 10.5 or later, the deployment target defaults
 
947
      # to the OS version, if on x86, and 10.4, the deployment
 
948
      # target defaults to 10.4. Don't you love it?
 
949
      case ${MACOSX_DEPLOYMENT_TARGET-10.0},$host in
 
950
   10.0,*86*-darwin8*|10.0,*-darwin[[91]]*)
 
951
     _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
 
952
   10.[[012]]*)
 
953
     _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
 
954
   10.*)
 
955
     _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
 
956
      esac
 
957
    ;;
 
958
  esac
 
959
    if test "$lt_cv_apple_cc_single_mod" = "yes"; then
 
960
      _lt_dar_single_mod='$single_module'
 
961
    fi
 
962
    if test "$lt_cv_ld_exported_symbols_list" = "yes"; then
 
963
      _lt_dar_export_syms=' ${wl}-exported_symbols_list,$output_objdir/${libname}-symbols.expsym'
 
964
    else
 
965
      _lt_dar_export_syms="~$NMEDIT -s \$output_objdir/\${libname}-symbols.expsym \${lib}"
 
966
    fi
 
967
    if test "$DSYMUTIL" != ":"; then
 
968
      _lt_dsymutil="~$DSYMUTIL \$lib || :"
 
969
    else
 
970
      _lt_dsymutil=
 
971
    fi
 
972
    ;;
 
973
  esac
 
974
])
900
975
 
901
976
# _LT_AC_SYS_LIBPATH_AIX
902
977
# ----------------------
1221
1296
    *64-bit*)
1222
1297
      case $lt_cv_prog_gnu_ld in
1223
1298
      yes*) LD="${LD-ld} -m elf64_sparc" ;;
1224
 
      *)    LD="${LD-ld} -64" ;;
 
1299
      *)
 
1300
        if ${LD-ld} -64 -r -o conftest2.o conftest.o >/dev/null 2>&1; then
 
1301
          LD="${LD-ld} -64"
 
1302
        fi
 
1303
        ;;
1225
1304
      esac
1226
1305
      ;;
1227
1306
    esac
1314
1393
       $2=yes
1315
1394
     fi
1316
1395
   fi
1317
 
   $rm conftest*
 
1396
   $rm -r conftest*
1318
1397
   LDFLAGS="$save_LDFLAGS"
1319
1398
])
1320
1399
 
1585
1664
    AC_CHECK_FUNC([shl_load],
1586
1665
          [lt_cv_dlopen="shl_load"],
1587
1666
      [AC_CHECK_LIB([dld], [shl_load],
1588
 
            [lt_cv_dlopen="shl_load" lt_cv_dlopen_libs="-dld"],
 
1667
            [lt_cv_dlopen="shl_load" lt_cv_dlopen_libs="-ldld"],
1589
1668
        [AC_CHECK_FUNC([dlopen],
1590
1669
              [lt_cv_dlopen="dlopen"],
1591
1670
          [AC_CHECK_LIB([dl], [dlopen],
1593
1672
            [AC_CHECK_LIB([svld], [dlopen],
1594
1673
                  [lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-lsvld"],
1595
1674
              [AC_CHECK_LIB([dld], [dld_link],
1596
 
                    [lt_cv_dlopen="dld_link" lt_cv_dlopen_libs="-dld"])
 
1675
                    [lt_cv_dlopen="dld_link" lt_cv_dlopen_libs="-ldld"])
1597
1676
              ])
1598
1677
            ])
1599
1678
          ])
1910
1989
  soname_spec='${libname}${release}${shared_ext}$major'
1911
1990
  ;;
1912
1991
 
1913
 
aix4* | aix5*)
 
1992
aix[[4-9]]*)
1914
1993
  version_type=linux
1915
1994
  need_lib_prefix=no
1916
1995
  need_version=no
2444
2523
AC_MSG_RESULT([$dynamic_linker])
2445
2524
test "$dynamic_linker" = no && can_build_shared=no
2446
2525
 
 
2526
AC_CACHE_VAL([lt_cv_sys_lib_search_path_spec],
 
2527
[lt_cv_sys_lib_search_path_spec="$sys_lib_search_path_spec"])
 
2528
sys_lib_search_path_spec="$lt_cv_sys_lib_search_path_spec"
 
2529
AC_CACHE_VAL([lt_cv_sys_lib_dlsearch_path_spec],
 
2530
[lt_cv_sys_lib_dlsearch_path_spec="$sys_lib_dlsearch_path_spec"])
 
2531
sys_lib_dlsearch_path_spec="$lt_cv_sys_lib_dlsearch_path_spec"
 
2532
 
2447
2533
variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
2448
2534
if test "$GCC" = yes; then
2449
2535
  variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
2943
3029
# whether `pass_all' will *always* work, you probably want this one.
2944
3030
 
2945
3031
case $host_os in
2946
 
aix4* | aix5*)
 
3032
aix[[4-9]]*)
2947
3033
  lt_cv_deplibs_check_method=pass_all
2948
3034
  ;;
2949
3035
 
3379
3465
  fi
3380
3466
  ;;
3381
3467
 
3382
 
aix4* | aix5*)
 
3468
aix[[4-9]]*)
3383
3469
  if test "$host_cpu" != ia64 && test "$aix_use_runtimelinking" = no ; then
3384
3470
    test "$enable_shared" = yes && enable_static=no
3385
3471
  fi
3436
3522
_LT_AC_TAGVAR(predeps, $1)=
3437
3523
_LT_AC_TAGVAR(postdeps, $1)=
3438
3524
_LT_AC_TAGVAR(compiler_lib_search_path, $1)=
 
3525
_LT_AC_TAGVAR(compiler_lib_search_dirs, $1)=
3439
3526
 
3440
3527
# Source file extension for C++ test sources.
3441
3528
ac_ext=cpp
3545
3632
    # FIXME: insert proper C++ library support
3546
3633
    _LT_AC_TAGVAR(ld_shlibs, $1)=no
3547
3634
    ;;
3548
 
  aix4* | aix5*)
 
3635
  aix[[4-9]]*)
3549
3636
    if test "$host_cpu" = ia64; then
3550
3637
      # On IA64, the linker does run time linking by default, so we don't
3551
3638
      # have to do anything special.
3558
3645
      # Test if we are trying to use run time linking or normal
3559
3646
      # AIX style linking. If -brtl is somewhere in LDFLAGS, we
3560
3647
      # need to do runtime linking.
3561
 
      case $host_os in aix4.[[23]]|aix4.[[23]].*|aix5*)
 
3648
      case $host_os in aix4.[[23]]|aix4.[[23]].*|aix[[5-9]]*)
3562
3649
        for ld_flag in $LDFLAGS; do
3563
3650
          case $ld_flag in
3564
3651
          *-brtl*)
3704
3791
    fi
3705
3792
  ;;
3706
3793
      darwin* | rhapsody*)
3707
 
        case $host_os in
3708
 
        rhapsody* | darwin1.[[012]])
3709
 
         _LT_AC_TAGVAR(allow_undefined_flag, $1)='${wl}-undefined ${wl}suppress'
3710
 
         ;;
3711
 
       *) # Darwin 1.3 on
3712
 
         if test -z ${MACOSX_DEPLOYMENT_TARGET} ; then
3713
 
           _LT_AC_TAGVAR(allow_undefined_flag, $1)='${wl}-flat_namespace ${wl}-undefined ${wl}suppress'
3714
 
         else
3715
 
           case ${MACOSX_DEPLOYMENT_TARGET} in
3716
 
             10.[[012]])
3717
 
               _LT_AC_TAGVAR(allow_undefined_flag, $1)='${wl}-flat_namespace ${wl}-undefined ${wl}suppress'
3718
 
               ;;
3719
 
             10.*)
3720
 
               _LT_AC_TAGVAR(allow_undefined_flag, $1)='${wl}-undefined ${wl}dynamic_lookup'
3721
 
               ;;
3722
 
           esac
3723
 
         fi
3724
 
         ;;
3725
 
        esac
3726
3794
      _LT_AC_TAGVAR(archive_cmds_need_lc, $1)=no
3727
3795
      _LT_AC_TAGVAR(hardcode_direct, $1)=no
3728
3796
      _LT_AC_TAGVAR(hardcode_automatic, $1)=yes
3729
3797
      _LT_AC_TAGVAR(hardcode_shlibpath_var, $1)=unsupported
3730
3798
      _LT_AC_TAGVAR(whole_archive_flag_spec, $1)=''
3731
3799
      _LT_AC_TAGVAR(link_all_deplibs, $1)=yes
3732
 
 
3733
 
    if test "$GXX" = yes ; then
3734
 
      lt_int_apple_cc_single_mod=no
 
3800
      _LT_AC_TAGVAR(allow_undefined_flag, $1)="$_lt_dar_allow_undefined"
 
3801
      if test "$GXX" = yes ; then
3735
3802
      output_verbose_link_cmd='echo'
3736
 
      if $CC -dumpspecs 2>&1 | $EGREP 'single_module' >/dev/null ; then
3737
 
       lt_int_apple_cc_single_mod=yes
 
3803
      _LT_AC_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}"
 
3804
      _LT_AC_TAGVAR(module_cmds, $1)="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}"
 
3805
      _LT_AC_TAGVAR(archive_expsym_cmds, $1)="sed 's,^,_,' < \$export_symbols > \$output_objdir/\${libname}-symbols.expsym~\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring ${_lt_dar_single_mod}${_lt_dar_export_syms}${_lt_dsymutil}"
 
3806
      _LT_AC_TAGVAR(module_expsym_cmds, $1)="sed -e 's,^,_,' < \$export_symbols > \$output_objdir/\${libname}-symbols.expsym~\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dar_export_syms}${_lt_dsymutil}"
 
3807
      if test "$lt_cv_apple_cc_single_mod" != "yes"; then
 
3808
        _LT_AC_TAGVAR(archive_cmds, $1)="\$CC -r -keep_private_externs -nostdlib -o \${lib}-master.o \$libobjs~\$CC -dynamiclib \$allow_undefined_flag -o \$lib \${lib}-master.o \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring${_lt_dsymutil}"
 
3809
        _LT_AC_TAGVAR(archive_expsym_cmds, $1)="sed 's,^,_,' < \$export_symbols > \$output_objdir/\${libname}-symbols.expsym~\$CC -r -keep_private_externs -nostdlib -o \${lib}-master.o \$libobjs~\$CC -dynamiclib \$allow_undefined_flag -o \$lib \${lib}-master.o \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring${_lt_dar_export_syms}${_lt_dsymutil}"
3738
3810
      fi
3739
 
      if test "X$lt_int_apple_cc_single_mod" = Xyes ; then
3740
 
       _LT_AC_TAGVAR(archive_cmds, $1)='$CC -dynamiclib -single_module $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags -install_name $rpath/$soname $verstring'
3741
 
      else
3742
 
          _LT_AC_TAGVAR(archive_cmds, $1)='$CC -r -keep_private_externs -nostdlib -o ${lib}-master.o $libobjs~$CC -dynamiclib $allow_undefined_flag -o $lib ${lib}-master.o $deplibs $compiler_flags -install_name $rpath/$soname $verstring'
3743
 
        fi
3744
 
        _LT_AC_TAGVAR(module_cmds, $1)='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
3745
 
        # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin lds
3746
 
          if test "X$lt_int_apple_cc_single_mod" = Xyes ; then
3747
 
            _LT_AC_TAGVAR(archive_expsym_cmds, $1)='sed -e "s,#.*,," -e "s,^[    ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC -dynamiclib -single_module $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags -install_name $rpath/$soname $verstring~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
3748
 
          else
3749
 
            _LT_AC_TAGVAR(archive_expsym_cmds, $1)='sed -e "s,#.*,," -e "s,^[    ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC -r -keep_private_externs -nostdlib -o ${lib}-master.o $libobjs~$CC -dynamiclib $allow_undefined_flag -o $lib ${lib}-master.o $deplibs $compiler_flags -install_name $rpath/$soname $verstring~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
3750
 
          fi
3751
 
            _LT_AC_TAGVAR(module_expsym_cmds, $1)='sed -e "s,#.*,," -e "s,^[    ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC $allow_undefined_flag  -o $lib -bundle $libobjs $deplibs$compiler_flags~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
3752
3811
      else
3753
3812
      case $cc_basename in
3754
3813
        xlc*)
3999
4058
        _LT_AC_TAGVAR(export_dynamic_flag_spec, $1)='${wl}--export-dynamic'
4000
4059
        _LT_AC_TAGVAR(whole_archive_flag_spec, $1)='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
4001
4060
        ;;
4002
 
      pgCC*)
 
4061
      pgCC* | pgcpp*)
4003
4062
        # Portland Group C++ compiler
4004
4063
        _LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname -o $lib'
4005
4064
        _LT_AC_TAGVAR(archive_expsym_cmds, $1)='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname ${wl}-retain-symbols-file ${wl}$export_symbols -o $lib'
4434
4493
# compiler output when linking a shared library.
4435
4494
# Parse the compiler output and extract the necessary
4436
4495
# objects, libraries and library flags.
4437
 
AC_DEFUN([AC_LIBTOOL_POSTDEP_PREDEP],[
 
4496
AC_DEFUN([AC_LIBTOOL_POSTDEP_PREDEP],
 
4497
[AC_REQUIRE([LT_AC_PROG_SED])dnl
4438
4498
dnl we can't use the lt_simple_compile_test_code here,
4439
4499
dnl because it contains code intended for an executable,
4440
4500
dnl not a library.  It's possible we should let each
4559
4619
 
4560
4620
$rm -f confest.$objext
4561
4621
 
 
4622
_LT_AC_TAGVAR(compiler_lib_search_dirs, $1)=
 
4623
if test -n "$_LT_AC_TAGVAR(compiler_lib_search_path, $1)"; then
 
4624
  _LT_AC_TAGVAR(compiler_lib_search_dirs, $1)=`echo " ${_LT_AC_TAGVAR(compiler_lib_search_path, $1)}" | ${SED} -e 's! -L! !g' -e 's!^ !!'`
 
4625
fi
 
4626
 
4562
4627
# PORTME: override above test on systems where it is broken
4563
4628
ifelse([$1],[CXX],
4564
4629
[case $host_os in
4615
4680
  ;;
4616
4681
esac
4617
4682
])
4618
 
 
4619
4683
case " $_LT_AC_TAGVAR(postdeps, $1) " in
4620
4684
*" -lc "*) _LT_AC_TAGVAR(archive_cmds_need_lc, $1)=no ;;
4621
4685
esac
4700
4764
    postinstall_cmds='$RANLIB $lib'
4701
4765
  fi
4702
4766
  ;;
4703
 
aix4* | aix5*)
 
4767
aix[[4-9]]*)
4704
4768
  if test "$host_cpu" != ia64 && test "$aix_use_runtimelinking" = no ; then
4705
4769
    test "$enable_shared" = yes && enable_static=no
4706
4770
  fi
4877
4941
    _LT_AC_TAGVAR(predeps, $1) \
4878
4942
    _LT_AC_TAGVAR(postdeps, $1) \
4879
4943
    _LT_AC_TAGVAR(compiler_lib_search_path, $1) \
 
4944
    _LT_AC_TAGVAR(compiler_lib_search_dirs, $1) \
4880
4945
    _LT_AC_TAGVAR(archive_cmds, $1) \
4881
4946
    _LT_AC_TAGVAR(archive_expsym_cmds, $1) \
4882
4947
    _LT_AC_TAGVAR(postinstall_cmds, $1) \
4939
5004
# Generated automatically by $PROGRAM (GNU $PACKAGE $VERSION$TIMESTAMP)
4940
5005
# NOTE: Changes made to this file will be lost: look at ltmain.sh.
4941
5006
#
4942
 
# Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004, 2005, 2006, 2007
 
5007
# Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004, 2005, 2006, 2007, 2008
4943
5008
# Free Software Foundation, Inc.
4944
5009
#
4945
5010
# This file is part of GNU Libtool:
5176
5241
# shared library.
5177
5242
postdeps=$lt_[]_LT_AC_TAGVAR(postdeps, $1)
5178
5243
 
 
5244
# The directories searched by this compiler when creating a shared
 
5245
# library
 
5246
compiler_lib_search_dirs=$lt_[]_LT_AC_TAGVAR(compiler_lib_search_dirs, $1)
 
5247
 
5179
5248
# The library search path used internally by the compiler when linking
5180
5249
# a shared library.
5181
5250
compiler_lib_search_path=$lt_[]_LT_AC_TAGVAR(compiler_lib_search_path, $1)
5525
5594
    echo "$progname: failed program was:" >&AS_MESSAGE_LOG_FD
5526
5595
    cat conftest.$ac_ext >&5
5527
5596
  fi
5528
 
  rm -f conftest* conftst*
 
5597
  rm -rf conftest* conftst*
5529
5598
 
5530
5599
  # Do not use the global_symbol_pipe unless it works.
5531
5600
  if test "$pipe_works" = yes; then
5582
5651
      # built for inclusion in a dll (and should export symbols for example).
5583
5652
      # Although the cygwin gcc ignores -fPIC, still need this for old-style
5584
5653
      # (--disable-auto-import) libraries
5585
 
      _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-DDLL_EXPORT'
 
5654
      m4_if([$1], [GCJ], [],
 
5655
        [_LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-DDLL_EXPORT'])
5586
5656
      ;;
5587
5657
    darwin* | rhapsody*)
5588
5658
      # PIC is the default on this platform
5619
5689
    esac
5620
5690
  else
5621
5691
    case $host_os in
5622
 
      aix4* | aix5*)
 
5692
      aix[[4-9]]*)
5623
5693
        # All AIX code is PIC.
5624
5694
        if test "$host_cpu" = ia64; then
5625
5695
          # AIX 5 now supports IA64 processor
5715
5785
            _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-KPIC'
5716
5786
            _LT_AC_TAGVAR(lt_prog_compiler_static, $1)='-static'
5717
5787
            ;;
5718
 
          pgCC*)
 
5788
          pgCC* | pgcpp*)
5719
5789
            # Portland Group C++ compiler.
5720
5790
            _LT_AC_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,'
5721
5791
            _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-fpic'
5866
5936
      # built for inclusion in a dll (and should export symbols for example).
5867
5937
      # Although the cygwin gcc ignores -fPIC, still need this for old-style
5868
5938
      # (--disable-auto-import) libraries
5869
 
      _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-DDLL_EXPORT'
 
5939
      m4_if([$1], [GCJ], [],
 
5940
        [_LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-DDLL_EXPORT'])
5870
5941
      ;;
5871
5942
 
5872
5943
    darwin* | rhapsody*)
5936
6007
    mingw* | cygwin* | pw32* | os2*)
5937
6008
      # This hack is so that the source file can tell whether it is being
5938
6009
      # built for inclusion in a dll (and should export symbols for example).
5939
 
      _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-DDLL_EXPORT'
 
6010
      m4_if([$1], [GCJ], [],
 
6011
        [_LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-DDLL_EXPORT'])
5940
6012
      ;;
5941
6013
 
5942
6014
    hpux9* | hpux10* | hpux11*)
6073
6145
#
6074
6146
if test -n "$_LT_AC_TAGVAR(lt_prog_compiler_pic, $1)"; then
6075
6147
  AC_LIBTOOL_COMPILER_OPTION([if $compiler PIC flag $_LT_AC_TAGVAR(lt_prog_compiler_pic, $1) works],
6076
 
    _LT_AC_TAGVAR(lt_prog_compiler_pic_works, $1),
 
6148
    _LT_AC_TAGVAR(lt_cv_prog_compiler_pic_works, $1),
6077
6149
    [$_LT_AC_TAGVAR(lt_prog_compiler_pic, $1)ifelse([$1],[],[ -DPIC],[ifelse([$1],[CXX],[ -DPIC],[])])], [],
6078
6150
    [case $_LT_AC_TAGVAR(lt_prog_compiler_pic, $1) in
6079
6151
     "" | " "*) ;;
6097
6169
#
6098
6170
wl=$_LT_AC_TAGVAR(lt_prog_compiler_wl, $1) eval lt_tmp_static_flag=\"$_LT_AC_TAGVAR(lt_prog_compiler_static, $1)\"
6099
6171
AC_LIBTOOL_LINKER_OPTION([if $compiler static flag $lt_tmp_static_flag works],
6100
 
  _LT_AC_TAGVAR(lt_prog_compiler_static_works, $1),
 
6172
  _LT_AC_TAGVAR(lt_cv_prog_compiler_static_works, $1),
6101
6173
  $lt_tmp_static_flag,
6102
6174
  [],
6103
6175
  [_LT_AC_TAGVAR(lt_prog_compiler_static, $1)=])
6113
6185
ifelse([$1],[CXX],[
6114
6186
  _LT_AC_TAGVAR(export_symbols_cmds, $1)='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
6115
6187
  case $host_os in
6116
 
  aix4* | aix5*)
 
6188
  aix[[4-9]]*)
6117
6189
    # If we're using GNU nm, then we don't want the "-C" option.
6118
6190
    # -C means demangle to AIX nm, but means don't demangle with GNU nm
6119
6191
    if $NM -V 2>&1 | grep 'GNU' > /dev/null; then
6132
6204
    _LT_AC_TAGVAR(export_symbols_cmds, $1)='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
6133
6205
  ;;
6134
6206
  esac
 
6207
  _LT_AC_TAGVAR(exclude_expsyms, $1)=['_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*']
6135
6208
],[
6136
6209
  runpath_var=
6137
6210
  _LT_AC_TAGVAR(allow_undefined_flag, $1)=
6162
6235
  # it will be wrapped by ` (' and `)$', so one must not match beginning or
6163
6236
  # end of line.  Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
6164
6237
  # as well as any symbol that contains `d'.
6165
 
  _LT_AC_TAGVAR(exclude_expsyms, $1)="_GLOBAL_OFFSET_TABLE_"
 
6238
  _LT_AC_TAGVAR(exclude_expsyms, $1)=['_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*']
6166
6239
  # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
6167
6240
  # platforms (ab)use it in PIC code, but their linkers get confused if
6168
6241
  # the symbol is explicitly referenced.  Since portable code cannot
6169
6242
  # rely on this symbol name, it's probably fine to never include it in
6170
6243
  # preloaded symbol tables.
 
6244
  # Exclude shared library initialization/finalization symbols.
 
6245
dnl Note also adjust exclude_expsyms for C++ above.
6171
6246
  extract_expsyms_cmds=
6172
6247
  # Just being paranoid about ensuring that cc_basename is set.
6173
6248
  _LT_CC_BASENAME([$compiler])
6217
6292
 
6218
6293
    # See if GNU ld supports shared libraries.
6219
6294
    case $host_os in
6220
 
    aix3* | aix4* | aix5*)
 
6295
    aix[[3-9]]*)
6221
6296
      # On AIX/PPC, the GNU linker is very broken
6222
6297
      if test "$host_cpu" != ia64; then
6223
6298
        _LT_AC_TAGVAR(ld_shlibs, $1)=no
6436
6511
      fi
6437
6512
      ;;
6438
6513
 
6439
 
    aix4* | aix5*)
 
6514
    aix[[4-9]]*)
6440
6515
      if test "$host_cpu" = ia64; then
6441
6516
        # On IA64, the linker does run time linking by default, so we don't
6442
6517
        # have to do anything special.
6456
6531
        # Test if we are trying to use run time linking or normal
6457
6532
        # AIX style linking. If -brtl is somewhere in LDFLAGS, we
6458
6533
        # need to do runtime linking.
6459
 
        case $host_os in aix4.[[23]]|aix4.[[23]].*|aix5*)
 
6534
        case $host_os in aix4.[[23]]|aix4.[[23]].*|aix[[5-9]]*)
6460
6535
          for ld_flag in $LDFLAGS; do
6461
6536
          if (test $ld_flag = "-brtl" || test $ld_flag = "-Wl,-brtl"); then
6462
6537
            aix_use_runtimelinking=yes
6616
6691
      _LT_AC_TAGVAR(link_all_deplibs, $1)=yes
6617
6692
    if test "$GCC" = yes ; then
6618
6693
        output_verbose_link_cmd='echo'
6619
 
        _LT_AC_TAGVAR(archive_cmds, $1)='$CC -dynamiclib $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags -install_name $rpath/$soname $verstring'
6620
 
      _LT_AC_TAGVAR(module_cmds, $1)='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
6621
 
      # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin lds
6622
 
      _LT_AC_TAGVAR(archive_expsym_cmds, $1)='sed -e "s,#.*,," -e "s,^[    ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC -dynamiclib $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags -install_name $rpath/$soname $verstring~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
6623
 
      _LT_AC_TAGVAR(module_expsym_cmds, $1)='sed -e "s,#.*,," -e "s,^[    ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC $allow_undefined_flag  -o $lib -bundle $libobjs $deplibs$compiler_flags~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
 
6694
        _LT_AC_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}"
 
6695
        _LT_AC_TAGVAR(module_cmds, $1)="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}"
 
6696
        _LT_AC_TAGVAR(archive_expsym_cmds, $1)="sed 's,^,_,' < \$export_symbols > \$output_objdir/\${libname}-symbols.expsym~\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring ${_lt_dar_single_mod}${_lt_dar_export_syms}${_lt_dsymutil}"
 
6697
        _LT_AC_TAGVAR(module_expsym_cmds, $1)="sed -e 's,^,_,' < \$export_symbols > \$output_objdir/\${libname}-symbols.expsym~\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dar_export_syms}${_lt_dsymutil}"
6624
6698
    else
6625
6699
      case $cc_basename in
6626
6700
        xlc*)
7359
7433
fi[]dnl
7360
7434
])# PKG_CHECK_MODULES
7361
7435
 
7362
 
# Copyright (C) 2002, 2003, 2005, 2006  Free Software Foundation, Inc.
 
7436
# Copyright (C) 2002, 2003, 2005, 2006, 2007  Free Software Foundation, Inc.
7363
7437
#
7364
7438
# This file is free software; the Free Software Foundation
7365
7439
# gives unlimited permission to copy and/or distribute it,
7374
7448
[am__api_version='1.10'
7375
7449
dnl Some users find AM_AUTOMAKE_VERSION and mistake it for a way to
7376
7450
dnl require some minimum version.  Point them to the right macro.
7377
 
m4_if([$1], [1.10], [],
 
7451
m4_if([$1], [1.10.1], [],
7378
7452
      [AC_FATAL([Do not call $0, use AM_INIT_AUTOMAKE([$1]).])])dnl
7379
7453
])
7380
7454
 
7390
7464
# Call AM_AUTOMAKE_VERSION and AM_AUTOMAKE_VERSION so they can be traced.
7391
7465
# This function is AC_REQUIREd by AC_INIT_AUTOMAKE.
7392
7466
AC_DEFUN([AM_SET_CURRENT_AUTOMAKE_VERSION],
7393
 
[AM_AUTOMAKE_VERSION([1.10])dnl
7394
 
_AM_AUTOCONF_VERSION(m4_PACKAGE_VERSION)])
 
7467
[AM_AUTOMAKE_VERSION([1.10.1])dnl
 
7468
m4_ifndef([AC_AUTOCONF_VERSION],
 
7469
  [m4_copy([m4_PACKAGE_VERSION], [AC_AUTOCONF_VERSION])])dnl
 
7470
_AM_AUTOCONF_VERSION(AC_AUTOCONF_VERSION)])
7395
7471
 
7396
7472
# AM_AUX_DIR_EXPAND                                         -*- Autoconf -*-
7397
7473
 
7663
7739
  # each Makefile.in and add a new line on top of each file to say so.
7664
7740
  # Grep'ing the whole file is not good either: AIX grep has a line
7665
7741
  # limit of 2048, but all sed's we know have understand at least 4000.
7666
 
  if sed 10q "$mf" | grep '^#.*generated by automake' > /dev/null 2>&1; then
 
7742
  if sed -n 's,^#.*generated by automake.*,X,p' "$mf" | grep X >/dev/null 2>&1; then
7667
7743
    dirpart=`AS_DIRNAME("$mf")`
7668
7744
  else
7669
7745
    continue
7723
7799
# Do all the work for Automake.                             -*- Autoconf -*-
7724
7800
 
7725
7801
# Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004,
7726
 
# 2005, 2006 Free Software Foundation, Inc.
 
7802
# 2005, 2006, 2008 Free Software Foundation, Inc.
7727
7803
#
7728
7804
# This file is free software; the Free Software Foundation
7729
7805
# gives unlimited permission to copy and/or distribute it,
7730
7806
# with or without modifications, as long as this notice is preserved.
7731
7807
 
7732
 
# serial 12
 
7808
# serial 13
7733
7809
 
7734
7810
# This macro actually does too much.  Some checks are only needed if
7735
7811
# your package does certain things.  But this isn't really a big deal.
7834
7910
# our stamp files there.
7835
7911
AC_DEFUN([_AC_AM_CONFIG_HEADER_HOOK],
7836
7912
[# Compute $1's index in $config_headers.
 
7913
_am_arg=$1
7837
7914
_am_stamp_count=1
7838
7915
for _am_header in $config_headers :; do
7839
7916
  case $_am_header in
7840
 
    $1 | $1:* )
 
7917
    $_am_arg | $_am_arg:* )
7841
7918
      break ;;
7842
7919
    * )
7843
7920
      _am_stamp_count=`expr $_am_stamp_count + 1` ;;
7844
7921
  esac
7845
7922
done
7846
 
echo "timestamp for $1" >`AS_DIRNAME([$1])`/stamp-h[]$_am_stamp_count])
 
7923
echo "timestamp for $_am_arg" >`AS_DIRNAME(["$_am_arg"])`/stamp-h[]$_am_stamp_count])
7847
7924
 
7848
7925
# Copyright (C) 2001, 2003, 2005  Free Software Foundation, Inc.
7849
7926
#
8115
8192
 
8116
8193
# _AM_SUBST_NOTMAKE(VARIABLE)
8117
8194
# ---------------------------
8118
 
# Prevent Automake from outputing VARIABLE = @VARIABLE@ in Makefile.in.
 
8195
# Prevent Automake from outputting VARIABLE = @VARIABLE@ in Makefile.in.
8119
8196
# This macro is traced by Automake.
8120
8197
AC_DEFUN([_AM_SUBST_NOTMAKE])
8121
8198