~ubuntu-branches/ubuntu/karmic/gbrainy/karmic

« back to all changes in this revision

Viewing changes to aclocal.m4

  • Committer: Bazaar Package Importer
  • Author(s): Siegfried-Angel Gevatter Pujals
  • Date: 2009-08-24 19:49:01 UTC
  • mfrom: (1.2.4 upstream)
  • Revision ID: james.westby@ubuntu.com-20090824194901-xkm783tbflylggs7
Tags: 1.12-0ubuntu1
From Debian SVN.

* New upstream release:
   - Bug fixes and three updated translations.
* debian/changelog:
   - Update copyright years and file locations.
   - Change "(C)" to "©".
* debian/control:
   - Bump Standards-Version to 3.8.2.

Show diffs side-by-side

added added

removed removed

Lines of Context:
106
106
{
107
107
  int major, minor, micro;
108
108
  char *tmp_version;
 
109
  int ignored;
109
110
 
110
 
  system ("touch conf.glibtest");
 
111
  ignored = system ("touch conf.glibtest");
111
112
 
112
113
  /* HP/UX 9 (%@#!) writes to sscanf strings */
113
114
  tmp_version = g_strdup("$min_glib_version");
852
853
    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 $< [$]@'
853
854
   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 $< [$]@'
854
855
 
855
 
AC_SUBST(INTLTOOL_DESKTOP_RULE)
856
 
AC_SUBST(INTLTOOL_DIRECTORY_RULE)
857
 
AC_SUBST(INTLTOOL_KEYS_RULE)
858
 
AC_SUBST(INTLTOOL_PROP_RULE)
859
 
AC_SUBST(INTLTOOL_OAF_RULE)
860
 
AC_SUBST(INTLTOOL_PONG_RULE)
861
 
AC_SUBST(INTLTOOL_SERVER_RULE)
862
 
AC_SUBST(INTLTOOL_SHEET_RULE)
863
 
AC_SUBST(INTLTOOL_SOUNDLIST_RULE)
864
 
AC_SUBST(INTLTOOL_UI_RULE)
865
 
AC_SUBST(INTLTOOL_XAM_RULE)
866
 
AC_SUBST(INTLTOOL_KBD_RULE)
867
 
AC_SUBST(INTLTOOL_XML_RULE)
868
 
AC_SUBST(INTLTOOL_XML_NOMERGE_RULE)
869
 
AC_SUBST(INTLTOOL_CAVES_RULE)
870
 
AC_SUBST(INTLTOOL_SCHEMAS_RULE)
871
 
AC_SUBST(INTLTOOL_THEME_RULE)
872
 
AC_SUBST(INTLTOOL_SERVICE_RULE)
873
 
AC_SUBST(INTLTOOL_POLICY_RULE)
 
856
_IT_SUBST(INTLTOOL_DESKTOP_RULE)
 
857
_IT_SUBST(INTLTOOL_DIRECTORY_RULE)
 
858
_IT_SUBST(INTLTOOL_KEYS_RULE)
 
859
_IT_SUBST(INTLTOOL_PROP_RULE)
 
860
_IT_SUBST(INTLTOOL_OAF_RULE)
 
861
_IT_SUBST(INTLTOOL_PONG_RULE)
 
862
_IT_SUBST(INTLTOOL_SERVER_RULE)
 
863
_IT_SUBST(INTLTOOL_SHEET_RULE)
 
864
_IT_SUBST(INTLTOOL_SOUNDLIST_RULE)
 
865
_IT_SUBST(INTLTOOL_UI_RULE)
 
866
_IT_SUBST(INTLTOOL_XAM_RULE)
 
867
_IT_SUBST(INTLTOOL_KBD_RULE)
 
868
_IT_SUBST(INTLTOOL_XML_RULE)
 
869
_IT_SUBST(INTLTOOL_XML_NOMERGE_RULE)
 
870
_IT_SUBST(INTLTOOL_CAVES_RULE)
 
871
_IT_SUBST(INTLTOOL_SCHEMAS_RULE)
 
872
_IT_SUBST(INTLTOOL_THEME_RULE)
 
873
_IT_SUBST(INTLTOOL_SERVICE_RULE)
 
874
_IT_SUBST(INTLTOOL_POLICY_RULE)
874
875
 
875
876
# Check the gettext tools to make sure they are GNU
876
877
AC_PATH_PROG(XGETTEXT, xgettext)
887
888
    AC_MSG_ERROR([GNU gettext tools not found; required for intltool])
888
889
fi
889
890
 
890
 
AC_PATH_PROG(INTLTOOL_PERL, [perl])
 
891
AC_PATH_PROG(INTLTOOL_PERL, perl)
891
892
if test -z "$INTLTOOL_PERL"; then
892
 
   AC_MSG_ERROR([perl not found; required for intltool])
 
893
   AC_MSG_ERROR([perl not found])
893
894
fi
894
 
if test -z "`$INTLTOOL_PERL -v | fgrep '5.' 2> /dev/null`"; then
895
 
   AC_MSG_ERROR([perl 5.x required for intltool])
 
895
AC_MSG_CHECKING([for perl >= 5.8.1])
 
896
$INTLTOOL_PERL -e "use 5.8.1;" > /dev/null 2>&1
 
897
if test $? -ne 0; then
 
898
   AC_MSG_ERROR([perl 5.8.1 is required for intltool])
 
899
else
 
900
   IT_PERL_VERSION="`$INTLTOOL_PERL -e \"printf '%vd', $^V\"`"
 
901
   AC_MSG_RESULT([$IT_PERL_VERSION])
896
902
fi
897
903
if test "x$2" != "xno-xml"; then
898
904
   AC_MSG_CHECKING([for XML::Parser])
948
954
dnl of config.status.
949
955
AC_CONFIG_COMMANDS_PRE([
950
956
  AC_CONFIG_COMMANDS([$1/stamp-it], [
951
 
    if [ ! grep "^# INTLTOOL_MAKEFILE$" "$1/Makefile.in" ]; then
 
957
    if [ ! grep "^# INTLTOOL_MAKEFILE$" "$1/Makefile.in" > /dev/null ]; then
952
958
       AC_MSG_ERROR([$1/Makefile.in.in was not created by intltoolize.])
953
959
    fi
954
960
    rm -f "$1/stamp-it" "$1/stamp-it.tmp" "$1/POTFILES" "$1/Makefile.tmp"
970
976
])dnl
971
977
])
972
978
 
 
979
# _IT_SUBST(VARIABLE)
 
980
# -------------------
 
981
# Abstract macro to do either _AM_SUBST_NOTMAKE or AC_SUBST
 
982
#
 
983
AC_DEFUN([_IT_SUBST],
 
984
[
 
985
AC_SUBST([$1])
 
986
m4_ifdef([_AM_SUBST_NOTMAKE], [_AM_SUBST_NOTMAKE([$1])])
 
987
]
 
988
)
 
989
 
973
990
# deprecated macros
974
991
AU_ALIAS([AC_PROG_INTLTOOL], [IT_PROG_INTLTOOL])
975
992
# A hint is needed for aclocal from Automake <= 1.9.4:
1352
1369
# lt_decl_varnames_tagged([SEPARATOR], [VARNAME1...])
1353
1370
# ---------------------------------------------------
1354
1371
m4_define([lt_decl_varnames_tagged],
1355
 
[_$0(m4_quote(m4_default([$1], [[, ]])),
1356
 
     m4_quote(m4_if([$2], [],
1357
 
                     m4_quote(lt_decl_tag_varnames),
1358
 
                  m4_quote(m4_shift($@)))),
1359
 
     m4_split(m4_normalize(m4_quote(_LT_TAGS))))])
1360
 
m4_define([_lt_decl_varnames_tagged], [lt_combine([$1], [$2], [_], $3)])
 
1372
[m4_assert([$# <= 2])dnl
 
1373
_$0(m4_quote(m4_default([$1], [[, ]])),
 
1374
    m4_ifval([$2], [[$2]], [m4_dquote(lt_decl_tag_varnames)]),
 
1375
    m4_split(m4_normalize(m4_quote(_LT_TAGS)), [ ]))])
 
1376
m4_define([_lt_decl_varnames_tagged],
 
1377
[m4_ifval([$3], [lt_combine([$1], [$2], [_], $3)])])
1361
1378
 
1362
1379
 
1363
1380
# lt_decl_all_varnames([SEPARATOR], [VARNAME1...])
1917
1934
      _lt_dar_allow_undefined='${wl}-undefined ${wl}suppress' ;;
1918
1935
    darwin1.*)
1919
1936
      _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
1920
 
    darwin*) # darwin 5.x on 
 
1937
    darwin*) # darwin 5.x on
1921
1938
      # if running on 10.5 or later, the deployment target defaults
1922
1939
      # to the OS version, if on x86, and 10.4, the deployment
1923
 
      # target defaults to 10.4. Don't you love it? 
 
1940
      # target defaults to 10.4. Don't you love it?
1924
1941
      case ${MACOSX_DEPLOYMENT_TARGET-10.0},$host in
1925
1942
        10.0,*86*-darwin8*|10.0,*-darwin[[91]]*)
1926
1943
          _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
1962
1979
  _LT_TAGVAR(whole_archive_flag_spec, $1)=''
1963
1980
  _LT_TAGVAR(link_all_deplibs, $1)=yes
1964
1981
  _LT_TAGVAR(allow_undefined_flag, $1)="$_lt_dar_allow_undefined"
1965
 
  if test "$GCC" = "yes"; then
 
1982
  case $cc_basename in
 
1983
     ifort*) _lt_dar_can_shared=yes ;;
 
1984
     *) _lt_dar_can_shared=$GCC ;;
 
1985
  esac
 
1986
  if test "$_lt_dar_can_shared" = "yes"; then
1966
1987
    output_verbose_link_cmd=echo
1967
1988
    _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}"
1968
1989
    _LT_TAGVAR(module_cmds, $1)="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}"
2484
2505
    lt_cv_sys_max_cmd_len=-1;
2485
2506
    ;;
2486
2507
 
2487
 
  cygwin* | mingw*)
 
2508
  cygwin* | mingw* | cegcc*)
2488
2509
    # On Win9x/ME, this test blows up -- it succeeds, but takes
2489
2510
    # about 5 minutes as the teststring grows exponentially.
2490
2511
    # Worse, since 9x/ME are not pre-emptively multitasking,
2652
2673
#  endif
2653
2674
#endif
2654
2675
 
2655
 
#ifdef __cplusplus
2656
 
extern "C" void exit (int);
2657
 
#endif
2658
 
 
2659
2676
void fnord() { int i=42;}
2660
2677
int main ()
2661
2678
{
2671
2688
  else
2672
2689
    puts (dlerror ());
2673
2690
 
2674
 
    exit (status);
 
2691
  return status;
2675
2692
}]
2676
2693
_LT_EOF
2677
2694
  if AC_TRY_EVAL(ac_link) && test -s conftest${ac_exeext} 2>/dev/null; then
2710
2727
    lt_cv_dlopen_self=yes
2711
2728
    ;;
2712
2729
 
2713
 
  mingw* | pw32*)
 
2730
  mingw* | pw32* | cegcc*)
2714
2731
    lt_cv_dlopen="LoadLibrary"
2715
2732
    lt_cv_dlopen_libs=
2716
2733
    ;;
3007
3024
[AC_REQUIRE([AC_CANONICAL_HOST])dnl
3008
3025
m4_require([_LT_DECL_EGREP])dnl
3009
3026
m4_require([_LT_FILEUTILS_DEFAULTS])dnl
 
3027
m4_require([_LT_DECL_OBJDUMP])dnl
3010
3028
m4_require([_LT_DECL_SED])dnl
3011
3029
AC_MSG_CHECKING([dynamic linker characteristics])
3012
3030
m4_if([$1],
3171
3189
  # libtool to hard-code these into programs
3172
3190
  ;;
3173
3191
 
3174
 
cygwin* | mingw* | pw32*)
 
3192
cygwin* | mingw* | pw32* | cegcc*)
3175
3193
  version_type=windows
3176
3194
  shrext_cmds=".dll"
3177
3195
  need_version=no
3178
3196
  need_lib_prefix=no
3179
3197
 
3180
3198
  case $GCC,$host_os in
3181
 
  yes,cygwin* | yes,mingw* | yes,pw32*)
 
3199
  yes,cygwin* | yes,mingw* | yes,pw32* | yes,cegcc*)
3182
3200
    library_names_spec='$libname.dll.a'
3183
3201
    # DLL is installed to $(libdir)/../bin by postinstall_cmds
3184
3202
    postinstall_cmds='base_file=`basename \${file}`~
3201
3219
      soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[[.]]/-/g'`${versuffix}${shared_ext}'
3202
3220
      sys_lib_search_path_spec="/usr/lib /lib/w32api /lib /usr/local/lib"
3203
3221
      ;;
3204
 
    mingw*)
 
3222
    mingw* | cegcc*)
3205
3223
      # MinGW DLLs use traditional 'lib' prefix
3206
3224
      soname_spec='${libname}`echo ${release} | $SED -e 's/[[.]]/-/g'`${versuffix}${shared_ext}'
3207
3225
      sys_lib_search_path_spec=`$CC -print-search-dirs | $GREP "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
3639
3657
  version_type=linux
3640
3658
  need_lib_prefix=no
3641
3659
  need_version=no
3642
 
  library_name_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
 
3660
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
3643
3661
  shlibpath_var=LD_LIBRARY_PATH
3644
3662
  shlibpath_overrides_runpath=no
3645
3663
  hardcode_into_libs=yes
3663
3681
if test "$GCC" = yes; then
3664
3682
  variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
3665
3683
fi
3666
 
 
 
3684
 
3667
3685
if test "${lt_cv_sys_lib_search_path_spec+set}" = set; then
3668
3686
  sys_lib_search_path_spec="$lt_cv_sys_lib_search_path_spec"
3669
3687
fi
3940
3958
#  -- PORTME fill in with the dynamic library characteristics
3941
3959
m4_defun([_LT_CHECK_MAGIC_METHOD],
3942
3960
[m4_require([_LT_DECL_EGREP])
 
3961
m4_require([_LT_DECL_OBJDUMP])
3943
3962
AC_CACHE_CHECK([how to recognize dependent libraries],
3944
3963
lt_cv_deplibs_check_method,
3945
3964
[lt_cv_file_magic_cmd='$MAGIC_CMD'
3990
4009
  fi
3991
4010
  ;;
3992
4011
 
 
4012
cegcc)
 
4013
  # use the weaker test based on 'objdump'. See mingw*.
 
4014
  lt_cv_deplibs_check_method='file_magic file format pe-arm-.*little(.*architecture: arm)?'
 
4015
  lt_cv_file_magic_cmd='$OBJDUMP -f'
 
4016
  ;;
 
4017
 
3993
4018
darwin* | rhapsody*)
3994
4019
  lt_cv_deplibs_check_method=pass_all
3995
4020
  ;;
4301
4326
aix*)
4302
4327
  symcode='[[BCDT]]'
4303
4328
  ;;
4304
 
cygwin* | mingw* | pw32*)
 
4329
cygwin* | mingw* | pw32* | cegcc*)
4305
4330
  symcode='[[ABCDGISTW]]'
4306
4331
  ;;
4307
4332
hpux*)
4547
4572
    beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
4548
4573
      # PIC is the default for these OSes.
4549
4574
      ;;
4550
 
    mingw* | cygwin* | os2* | pw32*)
 
4575
    mingw* | cygwin* | os2* | pw32* | cegcc*)
4551
4576
      # This hack is so that the source file can tell whether it is being
4552
4577
      # built for inclusion in a dll (and should export symbols for example).
4553
4578
      # Although the cygwin gcc ignores -fPIC, still need this for old-style
4574
4599
      fi
4575
4600
      ;;
4576
4601
    hpux*)
4577
 
      # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
4578
 
      # not for PA HP-UX.
 
4602
      # PIC is the default for 64-bit PA HP-UX, but not for 32-bit
 
4603
      # PA HP-UX.  On IA64 HP-UX, PIC is the default but the pic flag
 
4604
      # sets the default TLS model and affects inlining.
4579
4605
      case $host_cpu in
4580
 
      hppa*64*|ia64*)
 
4606
      hppa*64*)
4581
4607
        ;;
4582
4608
      *)
4583
4609
        _LT_TAGVAR(lt_prog_compiler_pic, $1)='-fPIC'
4675
4701
            _LT_TAGVAR(lt_prog_compiler_wl, $1)='--backend -Wl,'
4676
4702
            _LT_TAGVAR(lt_prog_compiler_pic, $1)='-fPIC'
4677
4703
            ;;
4678
 
          icpc* | ecpc* )
4679
 
            # Intel C++
 
4704
          ecpc* )
 
4705
            # old Intel C++ for x86_64 which still supported -KPIC.
4680
4706
            _LT_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,'
4681
4707
            _LT_TAGVAR(lt_prog_compiler_pic, $1)='-KPIC'
4682
4708
            _LT_TAGVAR(lt_prog_compiler_static, $1)='-static'
4683
4709
            ;;
 
4710
          icpc* )
 
4711
            # Intel C++, used to be incompatible with GCC.
 
4712
            # ICC 10 doesn't accept -KPIC any more.
 
4713
            _LT_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,'
 
4714
            _LT_TAGVAR(lt_prog_compiler_pic, $1)='-fPIC'
 
4715
            _LT_TAGVAR(lt_prog_compiler_static, $1)='-static'
 
4716
            ;;
4684
4717
          pgCC* | pgcpp*)
4685
4718
            # Portland Group C++ compiler
4686
4719
            _LT_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,'
4846
4879
      # PIC is the default for these OSes.
4847
4880
      ;;
4848
4881
 
4849
 
    mingw* | cygwin* | pw32* | os2*)
 
4882
    mingw* | cygwin* | pw32* | os2* | cegcc*)
4850
4883
      # This hack is so that the source file can tell whether it is being
4851
4884
      # built for inclusion in a dll (and should export symbols for example).
4852
4885
      # Although the cygwin gcc ignores -fPIC, still need this for old-style
4862
4895
      ;;
4863
4896
 
4864
4897
    hpux*)
4865
 
      # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
4866
 
      # not for PA HP-UX.
 
4898
      # PIC is the default for 64-bit PA HP-UX, but not for 32-bit
 
4899
      # PA HP-UX.  On IA64 HP-UX, PIC is the default but the pic flag
 
4900
      # sets the default TLS model and affects inlining.
4867
4901
      case $host_cpu in
4868
 
      hppa*64*|ia64*)
 
4902
      hppa*64*)
4869
4903
        # +Z the default
4870
4904
        ;;
4871
4905
      *)
4915
4949
      fi
4916
4950
      ;;
4917
4951
 
4918
 
    mingw* | cygwin* | pw32* | os2*)
 
4952
    mingw* | cygwin* | pw32* | os2* | cegcc*)
4919
4953
      # This hack is so that the source file can tell whether it is being
4920
4954
      # built for inclusion in a dll (and should export symbols for example).
4921
4955
      m4_if([$1], [GCJ], [],
4946
4980
 
4947
4981
    linux* | k*bsd*-gnu)
4948
4982
      case $cc_basename in
4949
 
      icc* | ecc* | ifort*)
 
4983
      # old Intel for x86_64 which still supported -KPIC.
 
4984
      ecc*)
4950
4985
        _LT_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,'
4951
4986
        _LT_TAGVAR(lt_prog_compiler_pic, $1)='-KPIC'
4952
4987
        _LT_TAGVAR(lt_prog_compiler_static, $1)='-static'
4953
4988
        ;;
 
4989
      # icc used to be incompatible with GCC.
 
4990
      # ICC 10 doesn't accept -KPIC any more.
 
4991
      icc* | ifort*)
 
4992
        _LT_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,'
 
4993
        _LT_TAGVAR(lt_prog_compiler_pic, $1)='-fPIC'
 
4994
        _LT_TAGVAR(lt_prog_compiler_static, $1)='-static'
 
4995
        ;;
 
4996
      # Lahey Fortran 8.1.
 
4997
      lf95*)
 
4998
        _LT_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,'
 
4999
        _LT_TAGVAR(lt_prog_compiler_pic, $1)='--shared'
 
5000
        _LT_TAGVAR(lt_prog_compiler_static, $1)='--static'
 
5001
        ;;
4954
5002
      pgcc* | pgf77* | pgf90* | pgf95*)
4955
5003
        # Portland Group compilers (*not* the Pentium gcc compiler,
4956
5004
        # which looks to be a dead project)
5132
5180
  pw32*)
5133
5181
    _LT_TAGVAR(export_symbols_cmds, $1)="$ltdll_cmds"
5134
5182
  ;;
5135
 
  cygwin* | mingw*)
 
5183
  cygwin* | mingw* | cegcc*)
5136
5184
    _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'
5137
5185
  ;;
5138
5186
  linux* | k*bsd*-gnu)
5187
5235
  extract_expsyms_cmds=
5188
5236
 
5189
5237
  case $host_os in
5190
 
  cygwin* | mingw* | pw32*)
 
5238
  cygwin* | mingw* | pw32* | cegcc*)
5191
5239
    # FIXME: the MSVC++ port hasn't been tested in a loooong time
5192
5240
    # When not using gcc, we currently assume that we are using
5193
5241
    # Microsoft Visual C++.
5274
5322
      fi
5275
5323
      ;;
5276
5324
 
5277
 
    cygwin* | mingw* | pw32*)
 
5325
    cygwin* | mingw* | pw32* | cegcc*)
5278
5326
      # _LT_TAGVAR(hardcode_libdir_flag_spec, $1) is actually meaningless,
5279
5327
      # as there is no search path for DLLs.
5280
5328
      _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='-L$libdir'
5340
5388
          tmp_addflag=' -i_dynamic -nofor_main' ;;
5341
5389
        ifc* | ifort*)                  # Intel Fortran compiler
5342
5390
          tmp_addflag=' -nofor_main' ;;
 
5391
        lf95*)                          # Lahey Fortran 8.1
 
5392
          _LT_TAGVAR(whole_archive_flag_spec, $1)=
 
5393
          tmp_sharedflag='--shared' ;;
5343
5394
        xl[[cC]]*)                      # IBM XL C 8.0 on PPC (deal with xlf below)
5344
5395
          tmp_sharedflag='-qmkshrobj'
5345
5396
          tmp_addflag= ;;
5572
5623
        fi
5573
5624
      fi
5574
5625
 
 
5626
      _LT_TAGVAR(export_dynamic_flag_spec, $1)='${wl}-bexpall'
5575
5627
      # It seems that -bexpall does not export symbols beginning with
5576
5628
      # underscore (_), so it is better to generate a list of symbols to export.
5577
5629
      _LT_TAGVAR(always_export_symbols, $1)=yes
5626
5678
      _LT_TAGVAR(export_dynamic_flag_spec, $1)=-rdynamic
5627
5679
      ;;
5628
5680
 
5629
 
    cygwin* | mingw* | pw32*)
 
5681
    cygwin* | mingw* | pw32* | cegcc*)
5630
5682
      # When not using gcc, we currently assume that we are using
5631
5683
      # Microsoft Visual C++.
5632
5684
      # hardcode_libdir_flag_spec is actually meaningless, as there is
5730
5782
          _LT_TAGVAR(archive_cmds, $1)='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
5731
5783
          ;;
5732
5784
        ia64*)
5733
 
          _LT_TAGVAR(archive_cmds, $1)='$CC -shared ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
 
5785
          _LT_TAGVAR(archive_cmds, $1)='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
5734
5786
          ;;
5735
5787
        *)
5736
5788
          _LT_TAGVAR(archive_cmds, $1)='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
6511
6563
          fi
6512
6564
        fi
6513
6565
 
 
6566
        _LT_TAGVAR(export_dynamic_flag_spec, $1)='${wl}-bexpall'
6514
6567
        # It seems that -bexpall does not export symbols beginning with
6515
6568
        # underscore (_), so it is better to generate a list of symbols to
6516
6569
        # export.
6569
6622
        esac
6570
6623
        ;;
6571
6624
 
6572
 
      cygwin* | mingw* | pw32*)
 
6625
      cygwin* | mingw* | pw32* | cegcc*)
6573
6626
        # _LT_TAGVAR(hardcode_libdir_flag_spec, $1) is actually meaningless,
6574
6627
        # as there is no search path for DLLs.
6575
6628
        _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='-L$libdir'
7950
8003
])
7951
8004
 
7952
8005
 
 
8006
# _LT_DECL_OBJDUMP
 
8007
# --------------
 
8008
# If we don't have a new enough Autoconf to choose the best objdump
 
8009
# available, choose the one first in the user's PATH.
 
8010
m4_defun([_LT_DECL_OBJDUMP],
 
8011
[AC_CHECK_TOOL(OBJDUMP, objdump, false)
 
8012
test -z "$OBJDUMP" && OBJDUMP=objdump
 
8013
_LT_DECL([], [OBJDUMP], [1], [An object symbol dumper])
 
8014
AC_SUBST([OBJDUMP])
 
8015
])
 
8016
 
 
8017
 
7953
8018
# _LT_DECL_SED
7954
8019
# ------------
7955
8020
# Check for a fully-functional sed program, that truncates
8410
8475
[enable_win32_dll=yes
8411
8476
 
8412
8477
case $host in
8413
 
*-*-cygwin* | *-*-mingw* | *-*-pw32*)
 
8478
*-*-cygwin* | *-*-mingw* | *-*-pw32* | *-cegcc*)
8414
8479
  AC_CHECK_TOOL(AS, as, false)
8415
8480
  AC_CHECK_TOOL(DLLTOOL, dlltool, false)
8416
8481
  AC_CHECK_TOOL(OBJDUMP, objdump, false)
8651
8716
 
8652
8717
# ltsugar.m4 -- libtool m4 base layer.                         -*-Autoconf-*-
8653
8718
#
8654
 
#   Copyright (C) 2004, 2005, 2007 Free Software Foundation, Inc.
8655
 
#   Written by Gary V. Vaughan, 2004
 
8719
# Copyright (C) 2004, 2005, 2007, 2008 Free Software Foundation, Inc.
 
8720
# Written by Gary V. Vaughan, 2004
8656
8721
#
8657
8722
# This file is free software; the Free Software Foundation gives
8658
8723
# unlimited permission to copy and/or distribute it, with or without
8659
8724
# modifications, as long as this notice is preserved.
8660
8725
 
8661
 
# serial 5 ltsugar.m4
 
8726
# serial 6 ltsugar.m4
8662
8727
 
8663
8728
# This is to help aclocal find these macros, as it can't see m4_define.
8664
8729
AC_DEFUN([LTSUGAR_VERSION], [m4_if([0.1])])
8714
8779
# Produce a SEP delimited list of all paired combinations of elements of
8715
8780
# PREFIX-LIST with SUFFIX1 through SUFFIXn.  Each element of the list
8716
8781
# has the form PREFIXmINFIXSUFFIXn.
 
8782
# Needed until we can rely on m4_combine added in Autoconf 2.62.
8717
8783
m4_define([lt_combine],
8718
 
[m4_if([$2], [], [],
8719
 
  [m4_if([$4], [], [],
8720
 
    [lt_join(m4_quote(m4_default([$1], [[, ]])),
8721
 
      lt_unquote(m4_split(m4_normalize(m4_foreach(_Lt_prefix, [$2],
8722
 
                   [m4_foreach(_Lt_suffix, lt_car([m4_shiftn(3, $@)]),
8723
 
                               [_Lt_prefix[]$3[]_Lt_suffix ])])))))])])dnl
8724
 
])
 
8784
[m4_if(m4_eval([$# > 3]), [1],
 
8785
       [m4_pushdef([_Lt_sep], [m4_define([_Lt_sep], m4_defn([lt_car]))])]]dnl
 
8786
[[m4_foreach([_Lt_prefix], [$2],
 
8787
             [m4_foreach([_Lt_suffix],
 
8788
                ]m4_dquote(m4_dquote(m4_shift(m4_shift(m4_shift($@)))))[,
 
8789
        [_Lt_sep([$1])[]m4_defn([_Lt_prefix])[$3]m4_defn([_Lt_suffix])])])])])
8725
8790
 
8726
8791
 
8727
8792
# lt_if_append_uniq(MACRO-NAME, VARNAME, [SEPARATOR], [UNIQ], [NOT-UNIQ])
8784
8849
 
8785
8850
# Generated from ltversion.in.
8786
8851
 
8787
 
# serial 2976 ltversion.m4
 
8852
# serial 3012 ltversion.m4
8788
8853
# This file is part of GNU Libtool
8789
8854
 
8790
 
m4_define([LT_PACKAGE_VERSION], [2.2.4])
8791
 
m4_define([LT_PACKAGE_REVISION], [1.2976])
 
8855
m4_define([LT_PACKAGE_VERSION], [2.2.6])
 
8856
m4_define([LT_PACKAGE_REVISION], [1.3012])
8792
8857
 
8793
8858
AC_DEFUN([LTVERSION_VERSION],
8794
 
[macro_version='2.2.4'
8795
 
macro_revision='1.2976'
 
8859
[macro_version='2.2.6'
 
8860
macro_revision='1.3012'
8796
8861
_LT_DECL(, macro_version, 0, [Which release of libtool.m4 was used?])
8797
8862
_LT_DECL(, macro_revision, 0)
8798
8863
])