~ubuntu-branches/ubuntu/trusty/htop/trusty-proposed

« back to all changes in this revision

Viewing changes to aclocal.m4

  • Committer: Bazaar Package Importer
  • Author(s): Eugene V. Lyubimkin
  • Date: 2009-04-05 11:51:34 UTC
  • mfrom: (1.1.13 upstream) (7.1.2 sid)
  • Revision ID: james.westby@ubuntu.com-20090405115134-xyuzxp308k5qos0k
Tags: 0.8.1+svn149-1
* New upstream development snapshot:
  - Allow building withough PLPA support. (Closes: #521861)
* debian/patches:
  - 010-make-desktop-file-valid.patch: deleted, merged upstream.
  - 100-upstream-sort-by-processor-and-session.patch: deleted, merged
    upstream.
  - 110-upstream-fix-page-size-on-BSD.patch: deleted, merged upstream.
  - 120-upstream-explain-cpu-bars-in-monochrome-mode.patch: deleted, merged
    upstream.
  - 200-filter-non-printable-characters.patch: deleted, upstream has own
    version of this patch.
  - 610-rename-veid-to-ctid.patch: deleted, merged upstream.
  - 600-openvz-veid-on-kernels-gt-2.6.18.patch: refreshed.
  - 800-tree-view-without-userland-threads.patch: deleted, merged upstream.
  - 700-ltrace-support.patch: refreshed, added the description.
* debian/rules:
  - Deal more robustly with config.{sub,guess} files, thanks to Roger Leigh.

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
# libtool.m4 - Configure libtool for the host system. -*-Autoconf-*-
20
23
 
21
 
# serial 51 AC_PROG_LIBTOOL
 
24
# serial 52 Debian 1.5.26-4 AC_PROG_LIBTOOL
22
25
 
23
26
 
24
27
# AC_PROVIDE_IFELSE(MACRO-NAME, IF-PROVIDED, IF-NOT-PROVIDED)
106
109
AC_REQUIRE([AC_OBJEXT])dnl
107
110
AC_REQUIRE([AC_EXEEXT])dnl
108
111
dnl
109
 
 
110
112
AC_LIBTOOL_SYS_MAX_CMD_LEN
111
113
AC_LIBTOOL_SYS_GLOBAL_SYMBOL_PIPE
112
114
AC_LIBTOOL_OBJDIR
208
210
  ;;
209
211
esac
210
212
 
 
213
_LT_REQUIRED_DARWIN_CHECKS
 
214
 
211
215
AC_PROVIDE_IFELSE([AC_LIBTOOL_DLOPEN], enable_dlopen=yes, enable_dlopen=no)
212
216
AC_PROVIDE_IFELSE([AC_LIBTOOL_WIN32_DLL],
213
217
enable_win32_dll=yes, enable_win32_dll=no)
287
291
echo "$lt_simple_link_test_code" >conftest.$ac_ext
288
292
eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
289
293
_lt_linker_boilerplate=`cat conftest.err`
290
 
$rm conftest*
 
294
$rm -r conftest*
291
295
])# _LT_LINKER_BOILERPLATE
292
296
 
 
297
# _LT_REQUIRED_DARWIN_CHECKS
 
298
# --------------------------
 
299
# Check for some things on darwin
 
300
AC_DEFUN([_LT_REQUIRED_DARWIN_CHECKS],[
 
301
  case $host_os in
 
302
    rhapsody* | darwin*)
 
303
    AC_CHECK_TOOL([DSYMUTIL], [dsymutil], [:])
 
304
    AC_CHECK_TOOL([NMEDIT], [nmedit], [:])
 
305
 
 
306
    AC_CACHE_CHECK([for -single_module linker flag],[lt_cv_apple_cc_single_mod],
 
307
      [lt_cv_apple_cc_single_mod=no
 
308
      if test -z "${LT_MULTI_MODULE}"; then
 
309
   # By default we will add the -single_module flag. You can override
 
310
   # by either setting the environment variable LT_MULTI_MODULE
 
311
   # non-empty at configure time, or by adding -multi_module to the
 
312
   # link flags.
 
313
   echo "int foo(void){return 1;}" > conftest.c
 
314
   $LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
 
315
     -dynamiclib ${wl}-single_module conftest.c
 
316
   if test -f libconftest.dylib; then
 
317
     lt_cv_apple_cc_single_mod=yes
 
318
     rm -rf libconftest.dylib*
 
319
   fi
 
320
   rm conftest.c
 
321
      fi])
 
322
    AC_CACHE_CHECK([for -exported_symbols_list linker flag],
 
323
      [lt_cv_ld_exported_symbols_list],
 
324
      [lt_cv_ld_exported_symbols_list=no
 
325
      save_LDFLAGS=$LDFLAGS
 
326
      echo "_main" > conftest.sym
 
327
      LDFLAGS="$LDFLAGS -Wl,-exported_symbols_list,conftest.sym"
 
328
      AC_LINK_IFELSE([AC_LANG_PROGRAM([],[])],
 
329
   [lt_cv_ld_exported_symbols_list=yes],
 
330
   [lt_cv_ld_exported_symbols_list=no])
 
331
   LDFLAGS="$save_LDFLAGS"
 
332
    ])
 
333
    case $host_os in
 
334
    rhapsody* | darwin1.[[0123]])
 
335
      _lt_dar_allow_undefined='${wl}-undefined ${wl}suppress' ;;
 
336
    darwin1.*)
 
337
     _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
 
338
    darwin*)
 
339
      # if running on 10.5 or later, the deployment target defaults
 
340
      # to the OS version, if on x86, and 10.4, the deployment
 
341
      # target defaults to 10.4. Don't you love it?
 
342
      case ${MACOSX_DEPLOYMENT_TARGET-10.0},$host in
 
343
   10.0,*86*-darwin8*|10.0,*-darwin[[91]]*)
 
344
     _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
 
345
   10.[[012]]*)
 
346
     _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
 
347
   10.*)
 
348
     _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
 
349
      esac
 
350
    ;;
 
351
  esac
 
352
    if test "$lt_cv_apple_cc_single_mod" = "yes"; then
 
353
      _lt_dar_single_mod='$single_module'
 
354
    fi
 
355
    if test "$lt_cv_ld_exported_symbols_list" = "yes"; then
 
356
      _lt_dar_export_syms=' ${wl}-exported_symbols_list,$output_objdir/${libname}-symbols.expsym'
 
357
    else
 
358
      _lt_dar_export_syms="~$NMEDIT -s \$output_objdir/\${libname}-symbols.expsym \${lib}"
 
359
    fi
 
360
    if test "$DSYMUTIL" != ":"; then
 
361
      _lt_dsymutil="~$DSYMUTIL \$lib || :"
 
362
    else
 
363
      _lt_dsymutil=
 
364
    fi
 
365
    ;;
 
366
  esac
 
367
])
293
368
 
294
369
# _LT_AC_SYS_LIBPATH_AIX
295
370
# ----------------------
614
689
    *64-bit*)
615
690
      case $lt_cv_prog_gnu_ld in
616
691
      yes*) LD="${LD-ld} -m elf64_sparc" ;;
617
 
      *)    LD="${LD-ld} -64" ;;
 
692
      *)
 
693
        if ${LD-ld} -64 -r -o conftest2.o conftest.o >/dev/null 2>&1; then
 
694
          LD="${LD-ld} -64"
 
695
        fi
 
696
        ;;
618
697
      esac
619
698
      ;;
620
699
    esac
707
786
       $2=yes
708
787
     fi
709
788
   fi
710
 
   $rm conftest*
 
789
   $rm -r conftest*
711
790
   LDFLAGS="$save_LDFLAGS"
712
791
])
713
792
 
978
1057
    AC_CHECK_FUNC([shl_load],
979
1058
          [lt_cv_dlopen="shl_load"],
980
1059
      [AC_CHECK_LIB([dld], [shl_load],
981
 
            [lt_cv_dlopen="shl_load" lt_cv_dlopen_libs="-dld"],
 
1060
            [lt_cv_dlopen="shl_load" lt_cv_dlopen_libs="-ldld"],
982
1061
        [AC_CHECK_FUNC([dlopen],
983
1062
              [lt_cv_dlopen="dlopen"],
984
1063
          [AC_CHECK_LIB([dl], [dlopen],
986
1065
            [AC_CHECK_LIB([svld], [dlopen],
987
1066
                  [lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-lsvld"],
988
1067
              [AC_CHECK_LIB([dld], [dld_link],
989
 
                    [lt_cv_dlopen="dld_link" lt_cv_dlopen_libs="-dld"])
 
1068
                    [lt_cv_dlopen="dld_link" lt_cv_dlopen_libs="-ldld"])
990
1069
              ])
991
1070
            ])
992
1071
          ])
1303
1382
  soname_spec='${libname}${release}${shared_ext}$major'
1304
1383
  ;;
1305
1384
 
1306
 
aix4* | aix5*)
 
1385
aix[[4-9]]*)
1307
1386
  version_type=linux
1308
1387
  need_lib_prefix=no
1309
1388
  need_version=no
1644
1723
  dynamic_linker='GNU/Linux ld.so'
1645
1724
  ;;
1646
1725
 
 
1726
netbsdelf*-gnu)
 
1727
  version_type=linux
 
1728
  need_lib_prefix=no
 
1729
  need_version=no
 
1730
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
 
1731
  soname_spec='${libname}${release}${shared_ext}$major'
 
1732
  shlibpath_var=LD_LIBRARY_PATH
 
1733
  shlibpath_overrides_runpath=no
 
1734
  hardcode_into_libs=yes
 
1735
  dynamic_linker='NetBSD ld.elf_so'
 
1736
  ;;
 
1737
 
1647
1738
netbsd*)
1648
1739
  version_type=sunos
1649
1740
  need_lib_prefix=no
1824
1915
AC_MSG_RESULT([$dynamic_linker])
1825
1916
test "$dynamic_linker" = no && can_build_shared=no
1826
1917
 
 
1918
AC_CACHE_VAL([lt_cv_sys_lib_search_path_spec],
 
1919
[lt_cv_sys_lib_search_path_spec="$sys_lib_search_path_spec"])
 
1920
sys_lib_search_path_spec="$lt_cv_sys_lib_search_path_spec"
 
1921
AC_CACHE_VAL([lt_cv_sys_lib_dlsearch_path_spec],
 
1922
[lt_cv_sys_lib_dlsearch_path_spec="$sys_lib_dlsearch_path_spec"])
 
1923
sys_lib_dlsearch_path_spec="$lt_cv_sys_lib_dlsearch_path_spec"
 
1924
 
1827
1925
variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
1828
1926
if test "$GCC" = yes; then
1829
1927
  variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
2323
2421
# whether `pass_all' will *always* work, you probably want this one.
2324
2422
 
2325
2423
case $host_os in
2326
 
aix4* | aix5*)
 
2424
aix[[4-9]]*)
2327
2425
  lt_cv_deplibs_check_method=pass_all
2328
2426
  ;;
2329
2427
 
2418
2516
  lt_cv_deplibs_check_method=pass_all
2419
2517
  ;;
2420
2518
 
2421
 
netbsd*)
 
2519
netbsd* | netbsdelf*-gnu)
2422
2520
  if echo __ELF__ | $CC -E - | grep __ELF__ > /dev/null; then
2423
2521
    lt_cv_deplibs_check_method='match_pattern /lib[[^/]]+(\.so\.[[0-9]]+\.[[0-9]]+|_pic\.a)$'
2424
2522
  else
2759
2857
  fi
2760
2858
  ;;
2761
2859
 
2762
 
aix4* | aix5*)
 
2860
aix[[4-9]]*)
2763
2861
  if test "$host_cpu" != ia64 && test "$aix_use_runtimelinking" = no ; then
2764
2862
    test "$enable_shared" = yes && enable_static=no
2765
2863
  fi
2816
2914
_LT_AC_TAGVAR(predeps, $1)=
2817
2915
_LT_AC_TAGVAR(postdeps, $1)=
2818
2916
_LT_AC_TAGVAR(compiler_lib_search_path, $1)=
 
2917
_LT_AC_TAGVAR(compiler_lib_search_dirs, $1)=
2819
2918
 
2820
2919
# Source file extension for C++ test sources.
2821
2920
ac_ext=cpp
2925
3024
    # FIXME: insert proper C++ library support
2926
3025
    _LT_AC_TAGVAR(ld_shlibs, $1)=no
2927
3026
    ;;
2928
 
  aix4* | aix5*)
 
3027
  aix[[4-9]]*)
2929
3028
    if test "$host_cpu" = ia64; then
2930
3029
      # On IA64, the linker does run time linking by default, so we don't
2931
3030
      # have to do anything special.
2938
3037
      # Test if we are trying to use run time linking or normal
2939
3038
      # AIX style linking. If -brtl is somewhere in LDFLAGS, we
2940
3039
      # need to do runtime linking.
2941
 
      case $host_os in aix4.[[23]]|aix4.[[23]].*|aix5*)
 
3040
      case $host_os in aix4.[[23]]|aix4.[[23]].*|aix[[5-9]]*)
2942
3041
        for ld_flag in $LDFLAGS; do
2943
3042
          case $ld_flag in
2944
3043
          *-brtl*)
3084
3183
    fi
3085
3184
  ;;
3086
3185
      darwin* | rhapsody*)
3087
 
        case $host_os in
3088
 
        rhapsody* | darwin1.[[012]])
3089
 
         _LT_AC_TAGVAR(allow_undefined_flag, $1)='${wl}-undefined ${wl}suppress'
3090
 
         ;;
3091
 
       *) # Darwin 1.3 on
3092
 
         if test -z ${MACOSX_DEPLOYMENT_TARGET} ; then
3093
 
           _LT_AC_TAGVAR(allow_undefined_flag, $1)='${wl}-flat_namespace ${wl}-undefined ${wl}suppress'
3094
 
         else
3095
 
           case ${MACOSX_DEPLOYMENT_TARGET} in
3096
 
             10.[[012]])
3097
 
               _LT_AC_TAGVAR(allow_undefined_flag, $1)='${wl}-flat_namespace ${wl}-undefined ${wl}suppress'
3098
 
               ;;
3099
 
             10.*)
3100
 
               _LT_AC_TAGVAR(allow_undefined_flag, $1)='${wl}-undefined ${wl}dynamic_lookup'
3101
 
               ;;
3102
 
           esac
3103
 
         fi
3104
 
         ;;
3105
 
        esac
3106
3186
      _LT_AC_TAGVAR(archive_cmds_need_lc, $1)=no
3107
3187
      _LT_AC_TAGVAR(hardcode_direct, $1)=no
3108
3188
      _LT_AC_TAGVAR(hardcode_automatic, $1)=yes
3109
3189
      _LT_AC_TAGVAR(hardcode_shlibpath_var, $1)=unsupported
3110
3190
      _LT_AC_TAGVAR(whole_archive_flag_spec, $1)=''
3111
3191
      _LT_AC_TAGVAR(link_all_deplibs, $1)=yes
3112
 
 
3113
 
    if test "$GXX" = yes ; then
3114
 
      lt_int_apple_cc_single_mod=no
 
3192
      _LT_AC_TAGVAR(allow_undefined_flag, $1)="$_lt_dar_allow_undefined"
 
3193
      if test "$GXX" = yes ; then
3115
3194
      output_verbose_link_cmd='echo'
3116
 
      if $CC -dumpspecs 2>&1 | $EGREP 'single_module' >/dev/null ; then
3117
 
       lt_int_apple_cc_single_mod=yes
 
3195
      _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}"
 
3196
      _LT_AC_TAGVAR(module_cmds, $1)="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}"
 
3197
      _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}"
 
3198
      _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}"
 
3199
      if test "$lt_cv_apple_cc_single_mod" != "yes"; then
 
3200
        _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}"
 
3201
        _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}"
3118
3202
      fi
3119
 
      if test "X$lt_int_apple_cc_single_mod" = Xyes ; then
3120
 
       _LT_AC_TAGVAR(archive_cmds, $1)='$CC -dynamiclib -single_module $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags -install_name $rpath/$soname $verstring'
3121
 
      else
3122
 
          _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'
3123
 
        fi
3124
 
        _LT_AC_TAGVAR(module_cmds, $1)='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
3125
 
        # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin lds
3126
 
          if test "X$lt_int_apple_cc_single_mod" = Xyes ; then
3127
 
            _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}'
3128
 
          else
3129
 
            _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}'
3130
 
          fi
3131
 
            _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}'
3132
3203
      else
3133
3204
      case $cc_basename in
3134
3205
        xlc*)
3379
3450
        _LT_AC_TAGVAR(export_dynamic_flag_spec, $1)='${wl}--export-dynamic'
3380
3451
        _LT_AC_TAGVAR(whole_archive_flag_spec, $1)='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
3381
3452
        ;;
3382
 
      pgCC*)
 
3453
      pgCC* | pgcpp*)
3383
3454
        # Portland Group C++ compiler
3384
3455
        _LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname -o $lib'
3385
3456
        _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'
3452
3523
        ;;
3453
3524
    esac
3454
3525
    ;;
3455
 
  netbsd*)
 
3526
  netbsd* | netbsdelf*-gnu)
3456
3527
    if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
3457
3528
      _LT_AC_TAGVAR(archive_cmds, $1)='$LD -Bshareable  -o $lib $predep_objects $libobjs $deplibs $postdep_objects $linker_flags'
3458
3529
      wlarc=
3814
3885
# compiler output when linking a shared library.
3815
3886
# Parse the compiler output and extract the necessary
3816
3887
# objects, libraries and library flags.
3817
 
AC_DEFUN([AC_LIBTOOL_POSTDEP_PREDEP],[
 
3888
AC_DEFUN([AC_LIBTOOL_POSTDEP_PREDEP],
 
3889
[AC_REQUIRE([LT_AC_PROG_SED])dnl
3818
3890
dnl we can't use the lt_simple_compile_test_code here,
3819
3891
dnl because it contains code intended for an executable,
3820
3892
dnl not a library.  It's possible we should let each
3939
4011
 
3940
4012
$rm -f confest.$objext
3941
4013
 
 
4014
_LT_AC_TAGVAR(compiler_lib_search_dirs, $1)=
 
4015
if test -n "$_LT_AC_TAGVAR(compiler_lib_search_path, $1)"; then
 
4016
  _LT_AC_TAGVAR(compiler_lib_search_dirs, $1)=`echo " ${_LT_AC_TAGVAR(compiler_lib_search_path, $1)}" | ${SED} -e 's! -L! !g' -e 's!^ !!'`
 
4017
fi
 
4018
 
3942
4019
# PORTME: override above test on systems where it is broken
3943
4020
ifelse([$1],[CXX],
3944
4021
[case $host_os in
3995
4072
  ;;
3996
4073
esac
3997
4074
])
3998
 
 
3999
4075
case " $_LT_AC_TAGVAR(postdeps, $1) " in
4000
4076
*" -lc "*) _LT_AC_TAGVAR(archive_cmds_need_lc, $1)=no ;;
4001
4077
esac
4080
4156
    postinstall_cmds='$RANLIB $lib'
4081
4157
  fi
4082
4158
  ;;
4083
 
aix4* | aix5*)
 
4159
aix[[4-9]]*)
4084
4160
  if test "$host_cpu" != ia64 && test "$aix_use_runtimelinking" = no ; then
4085
4161
    test "$enable_shared" = yes && enable_static=no
4086
4162
  fi
4257
4333
    _LT_AC_TAGVAR(predeps, $1) \
4258
4334
    _LT_AC_TAGVAR(postdeps, $1) \
4259
4335
    _LT_AC_TAGVAR(compiler_lib_search_path, $1) \
 
4336
    _LT_AC_TAGVAR(compiler_lib_search_dirs, $1) \
4260
4337
    _LT_AC_TAGVAR(archive_cmds, $1) \
4261
4338
    _LT_AC_TAGVAR(archive_expsym_cmds, $1) \
4262
4339
    _LT_AC_TAGVAR(postinstall_cmds, $1) \
4319
4396
# Generated automatically by $PROGRAM (GNU $PACKAGE $VERSION$TIMESTAMP)
4320
4397
# NOTE: Changes made to this file will be lost: look at ltmain.sh.
4321
4398
#
4322
 
# Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004, 2005, 2006, 2007
 
4399
# Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004, 2005, 2006, 2007, 2008
4323
4400
# Free Software Foundation, Inc.
4324
4401
#
4325
4402
# This file is part of GNU Libtool:
4556
4633
# shared library.
4557
4634
postdeps=$lt_[]_LT_AC_TAGVAR(postdeps, $1)
4558
4635
 
 
4636
# The directories searched by this compiler when creating a shared
 
4637
# library
 
4638
compiler_lib_search_dirs=$lt_[]_LT_AC_TAGVAR(compiler_lib_search_dirs, $1)
 
4639
 
4559
4640
# The library search path used internally by the compiler when linking
4560
4641
# a shared library.
4561
4642
compiler_lib_search_path=$lt_[]_LT_AC_TAGVAR(compiler_lib_search_path, $1)
4905
4986
    echo "$progname: failed program was:" >&AS_MESSAGE_LOG_FD
4906
4987
    cat conftest.$ac_ext >&5
4907
4988
  fi
4908
 
  rm -f conftest* conftst*
 
4989
  rm -rf conftest* conftst*
4909
4990
 
4910
4991
  # Do not use the global_symbol_pipe unless it works.
4911
4992
  if test "$pipe_works" = yes; then
4962
5043
      # built for inclusion in a dll (and should export symbols for example).
4963
5044
      # Although the cygwin gcc ignores -fPIC, still need this for old-style
4964
5045
      # (--disable-auto-import) libraries
4965
 
      _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-DDLL_EXPORT'
 
5046
      m4_if([$1], [GCJ], [],
 
5047
        [_LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-DDLL_EXPORT'])
4966
5048
      ;;
4967
5049
    darwin* | rhapsody*)
4968
5050
      # PIC is the default on this platform
4999
5081
    esac
5000
5082
  else
5001
5083
    case $host_os in
5002
 
      aix4* | aix5*)
 
5084
      aix[[4-9]]*)
5003
5085
        # All AIX code is PIC.
5004
5086
        if test "$host_cpu" = ia64; then
5005
5087
          # AIX 5 now supports IA64 processor
5095
5177
            _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-KPIC'
5096
5178
            _LT_AC_TAGVAR(lt_prog_compiler_static, $1)='-static'
5097
5179
            ;;
5098
 
          pgCC*)
 
5180
          pgCC* | pgcpp*)
5099
5181
            # Portland Group C++ compiler.
5100
5182
            _LT_AC_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,'
5101
5183
            _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-fpic'
5133
5215
            ;;
5134
5216
        esac
5135
5217
        ;;
5136
 
      netbsd*)
 
5218
      netbsd* | netbsdelf*-gnu)
5137
5219
        ;;
5138
5220
      osf3* | osf4* | osf5*)
5139
5221
        case $cc_basename in
5246
5328
      # built for inclusion in a dll (and should export symbols for example).
5247
5329
      # Although the cygwin gcc ignores -fPIC, still need this for old-style
5248
5330
      # (--disable-auto-import) libraries
5249
 
      _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-DDLL_EXPORT'
 
5331
      m4_if([$1], [GCJ], [],
 
5332
        [_LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-DDLL_EXPORT'])
5250
5333
      ;;
5251
5334
 
5252
5335
    darwin* | rhapsody*)
5316
5399
    mingw* | cygwin* | pw32* | os2*)
5317
5400
      # This hack is so that the source file can tell whether it is being
5318
5401
      # built for inclusion in a dll (and should export symbols for example).
5319
 
      _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-DDLL_EXPORT'
 
5402
      m4_if([$1], [GCJ], [],
 
5403
        [_LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-DDLL_EXPORT'])
5320
5404
      ;;
5321
5405
 
5322
5406
    hpux9* | hpux10* | hpux11*)
5453
5537
#
5454
5538
if test -n "$_LT_AC_TAGVAR(lt_prog_compiler_pic, $1)"; then
5455
5539
  AC_LIBTOOL_COMPILER_OPTION([if $compiler PIC flag $_LT_AC_TAGVAR(lt_prog_compiler_pic, $1) works],
5456
 
    _LT_AC_TAGVAR(lt_prog_compiler_pic_works, $1),
 
5540
    _LT_AC_TAGVAR(lt_cv_prog_compiler_pic_works, $1),
5457
5541
    [$_LT_AC_TAGVAR(lt_prog_compiler_pic, $1)ifelse([$1],[],[ -DPIC],[ifelse([$1],[CXX],[ -DPIC],[])])], [],
5458
5542
    [case $_LT_AC_TAGVAR(lt_prog_compiler_pic, $1) in
5459
5543
     "" | " "*) ;;
5477
5561
#
5478
5562
wl=$_LT_AC_TAGVAR(lt_prog_compiler_wl, $1) eval lt_tmp_static_flag=\"$_LT_AC_TAGVAR(lt_prog_compiler_static, $1)\"
5479
5563
AC_LIBTOOL_LINKER_OPTION([if $compiler static flag $lt_tmp_static_flag works],
5480
 
  _LT_AC_TAGVAR(lt_prog_compiler_static_works, $1),
 
5564
  _LT_AC_TAGVAR(lt_cv_prog_compiler_static_works, $1),
5481
5565
  $lt_tmp_static_flag,
5482
5566
  [],
5483
5567
  [_LT_AC_TAGVAR(lt_prog_compiler_static, $1)=])
5493
5577
ifelse([$1],[CXX],[
5494
5578
  _LT_AC_TAGVAR(export_symbols_cmds, $1)='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
5495
5579
  case $host_os in
5496
 
  aix4* | aix5*)
 
5580
  aix[[4-9]]*)
5497
5581
    # If we're using GNU nm, then we don't want the "-C" option.
5498
5582
    # -C means demangle to AIX nm, but means don't demangle with GNU nm
5499
5583
    if $NM -V 2>&1 | grep 'GNU' > /dev/null; then
5508
5592
  cygwin* | mingw*)
5509
5593
    _LT_AC_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'
5510
5594
  ;;
 
5595
  linux* | k*bsd*-gnu)
 
5596
    _LT_AC_TAGVAR(link_all_deplibs, $1)=no
 
5597
  ;;
5511
5598
  *)
5512
5599
    _LT_AC_TAGVAR(export_symbols_cmds, $1)='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
5513
5600
  ;;
5514
5601
  esac
 
5602
  _LT_AC_TAGVAR(exclude_expsyms, $1)=['_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*']
5515
5603
],[
5516
5604
  runpath_var=
5517
5605
  _LT_AC_TAGVAR(allow_undefined_flag, $1)=
5542
5630
  # it will be wrapped by ` (' and `)$', so one must not match beginning or
5543
5631
  # end of line.  Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
5544
5632
  # as well as any symbol that contains `d'.
5545
 
  _LT_AC_TAGVAR(exclude_expsyms, $1)="_GLOBAL_OFFSET_TABLE_"
 
5633
  _LT_AC_TAGVAR(exclude_expsyms, $1)=['_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*']
5546
5634
  # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
5547
5635
  # platforms (ab)use it in PIC code, but their linkers get confused if
5548
5636
  # the symbol is explicitly referenced.  Since portable code cannot
5549
5637
  # rely on this symbol name, it's probably fine to never include it in
5550
5638
  # preloaded symbol tables.
 
5639
  # Exclude shared library initialization/finalization symbols.
 
5640
dnl Note also adjust exclude_expsyms for C++ above.
5551
5641
  extract_expsyms_cmds=
5552
5642
  # Just being paranoid about ensuring that cc_basename is set.
5553
5643
  _LT_CC_BASENAME([$compiler])
5597
5687
 
5598
5688
    # See if GNU ld supports shared libraries.
5599
5689
    case $host_os in
5600
 
    aix3* | aix4* | aix5*)
 
5690
    aix[[3-9]]*)
5601
5691
      # On AIX/PPC, the GNU linker is very broken
5602
5692
      if test "$host_cpu" != ia64; then
5603
5693
        _LT_AC_TAGVAR(ld_shlibs, $1)=no
5713
5803
  $echo "local: *; };" >> $output_objdir/$libname.ver~
5714
5804
          $CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
5715
5805
        fi
 
5806
        _LT_AC_TAGVAR(link_all_deplibs, $1)=no
5716
5807
      else
5717
5808
        _LT_AC_TAGVAR(ld_shlibs, $1)=no
5718
5809
      fi
5719
5810
      ;;
5720
5811
 
5721
 
    netbsd*)
 
5812
    netbsd* | netbsdelf*-gnu)
5722
5813
      if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
5723
5814
        _LT_AC_TAGVAR(archive_cmds, $1)='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
5724
5815
        wlarc=
5816
5907
      fi
5817
5908
      ;;
5818
5909
 
5819
 
    aix4* | aix5*)
 
5910
    aix[[4-9]]*)
5820
5911
      if test "$host_cpu" = ia64; then
5821
5912
        # On IA64, the linker does run time linking by default, so we don't
5822
5913
        # have to do anything special.
5836
5927
        # Test if we are trying to use run time linking or normal
5837
5928
        # AIX style linking. If -brtl is somewhere in LDFLAGS, we
5838
5929
        # need to do runtime linking.
5839
 
        case $host_os in aix4.[[23]]|aix4.[[23]].*|aix5*)
 
5930
        case $host_os in aix4.[[23]]|aix4.[[23]].*|aix[[5-9]]*)
5840
5931
          for ld_flag in $LDFLAGS; do
5841
5932
          if (test $ld_flag = "-brtl" || test $ld_flag = "-Wl,-brtl"); then
5842
5933
            aix_use_runtimelinking=yes
5996
6087
      _LT_AC_TAGVAR(link_all_deplibs, $1)=yes
5997
6088
    if test "$GCC" = yes ; then
5998
6089
        output_verbose_link_cmd='echo'
5999
 
        _LT_AC_TAGVAR(archive_cmds, $1)='$CC -dynamiclib $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags -install_name $rpath/$soname $verstring'
6000
 
      _LT_AC_TAGVAR(module_cmds, $1)='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
6001
 
      # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin lds
6002
 
      _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}'
6003
 
      _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}'
 
6090
        _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}"
 
6091
        _LT_AC_TAGVAR(module_cmds, $1)="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}"
 
6092
        _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}"
 
6093
        _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}"
6004
6094
    else
6005
6095
      case $cc_basename in
6006
6096
        xlc*)
6150
6240
      _LT_AC_TAGVAR(link_all_deplibs, $1)=yes
6151
6241
      ;;
6152
6242
 
6153
 
    netbsd*)
 
6243
    netbsd* | netbsdelf*-gnu)
6154
6244
      if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
6155
6245
        _LT_AC_TAGVAR(archive_cmds, $1)='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'  # a.out
6156
6246
      else
6581
6671
AC_MSG_RESULT([$SED])
6582
6672
])
6583
6673
 
6584
 
# Copyright (C) 2002, 2003, 2005, 2006  Free Software Foundation, Inc.
 
6674
# Copyright (C) 2002, 2003, 2005, 2006, 2007  Free Software Foundation, Inc.
6585
6675
#
6586
6676
# This file is free software; the Free Software Foundation
6587
6677
# gives unlimited permission to copy and/or distribute it,
6596
6686
[am__api_version='1.10'
6597
6687
dnl Some users find AM_AUTOMAKE_VERSION and mistake it for a way to
6598
6688
dnl require some minimum version.  Point them to the right macro.
6599
 
m4_if([$1], [1.10], [],
 
6689
m4_if([$1], [1.10.1], [],
6600
6690
      [AC_FATAL([Do not call $0, use AM_INIT_AUTOMAKE([$1]).])])dnl
6601
6691
])
6602
6692
 
6612
6702
# Call AM_AUTOMAKE_VERSION and AM_AUTOMAKE_VERSION so they can be traced.
6613
6703
# This function is AC_REQUIREd by AC_INIT_AUTOMAKE.
6614
6704
AC_DEFUN([AM_SET_CURRENT_AUTOMAKE_VERSION],
6615
 
[AM_AUTOMAKE_VERSION([1.10])dnl
6616
 
_AM_AUTOCONF_VERSION(m4_PACKAGE_VERSION)])
 
6705
[AM_AUTOMAKE_VERSION([1.10.1])dnl
 
6706
m4_ifndef([AC_AUTOCONF_VERSION],
 
6707
  [m4_copy([m4_PACKAGE_VERSION], [AC_AUTOCONF_VERSION])])dnl
 
6708
_AM_AUTOCONF_VERSION(AC_AUTOCONF_VERSION)])
6617
6709
 
6618
6710
# AM_AUX_DIR_EXPAND                                         -*- Autoconf -*-
6619
6711
 
6885
6977
  # each Makefile.in and add a new line on top of each file to say so.
6886
6978
  # Grep'ing the whole file is not good either: AIX grep has a line
6887
6979
  # limit of 2048, but all sed's we know have understand at least 4000.
6888
 
  if sed 10q "$mf" | grep '^#.*generated by automake' > /dev/null 2>&1; then
 
6980
  if sed -n 's,^#.*generated by automake.*,X,p' "$mf" | grep X >/dev/null 2>&1; then
6889
6981
    dirpart=`AS_DIRNAME("$mf")`
6890
6982
  else
6891
6983
    continue
6945
7037
# Do all the work for Automake.                             -*- Autoconf -*-
6946
7038
 
6947
7039
# Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004,
6948
 
# 2005, 2006 Free Software Foundation, Inc.
 
7040
# 2005, 2006, 2008 Free Software Foundation, Inc.
6949
7041
#
6950
7042
# This file is free software; the Free Software Foundation
6951
7043
# gives unlimited permission to copy and/or distribute it,
6952
7044
# with or without modifications, as long as this notice is preserved.
6953
7045
 
6954
 
# serial 12
 
7046
# serial 13
6955
7047
 
6956
7048
# This macro actually does too much.  Some checks are only needed if
6957
7049
# your package does certain things.  But this isn't really a big deal.
7056
7148
# our stamp files there.
7057
7149
AC_DEFUN([_AC_AM_CONFIG_HEADER_HOOK],
7058
7150
[# Compute $1's index in $config_headers.
 
7151
_am_arg=$1
7059
7152
_am_stamp_count=1
7060
7153
for _am_header in $config_headers :; do
7061
7154
  case $_am_header in
7062
 
    $1 | $1:* )
 
7155
    $_am_arg | $_am_arg:* )
7063
7156
      break ;;
7064
7157
    * )
7065
7158
      _am_stamp_count=`expr $_am_stamp_count + 1` ;;
7066
7159
  esac
7067
7160
done
7068
 
echo "timestamp for $1" >`AS_DIRNAME([$1])`/stamp-h[]$_am_stamp_count])
 
7161
echo "timestamp for $_am_arg" >`AS_DIRNAME(["$_am_arg"])`/stamp-h[]$_am_stamp_count])
7069
7162
 
7070
7163
# Copyright (C) 2001, 2003, 2005  Free Software Foundation, Inc.
7071
7164
#
7371
7464
 
7372
7465
# _AM_SUBST_NOTMAKE(VARIABLE)
7373
7466
# ---------------------------
7374
 
# Prevent Automake from outputing VARIABLE = @VARIABLE@ in Makefile.in.
 
7467
# Prevent Automake from outputting VARIABLE = @VARIABLE@ in Makefile.in.
7375
7468
# This macro is traced by Automake.
7376
7469
AC_DEFUN([_AM_SUBST_NOTMAKE])
7377
7470