~ubuntu-branches/ubuntu/intrepid/xfce-mcs-plugins/intrepid-proposed

« back to all changes in this revision

Viewing changes to aclocal.m4

  • Committer: Bazaar Package Importer
  • Author(s): Simon Huggins
  • Date: 2004-04-27 22:08:03 UTC
  • Revision ID: james.westby@ubuntu.com-20040427220803-7jo3b14qrhdo9l29
Tags: 4.0.5-1
* New upstream release
* Update upstream's libtool

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
 
# generated automatically by aclocal 1.8.2 -*- Autoconf -*-
 
1
# generated automatically by aclocal 1.8.4 -*- Autoconf -*-
2
2
 
3
3
# Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004
4
4
# Free Software Foundation, Inc.
290
290
# on various variables needed by the Makefile.in.in installed by 
291
291
# glib-gettextize.
292
292
dnl
293
 
glib_DEFUN([GLIB_GNU_GETTEXT],
 
293
glib_DEFUN(GLIB_GNU_GETTEXT,
294
294
  [AC_REQUIRE([AC_PROG_CC])dnl
295
295
   AC_REQUIRE([AC_HEADER_STDC])dnl
296
296
   
367
367
# -------------------------------
368
368
# Define VARIABLE to the location where catalog files will
369
369
# be installed by po/Makefile.
370
 
glib_DEFUN([GLIB_DEFINE_LOCALEDIR],
 
370
glib_DEFUN(GLIB_DEFINE_LOCALEDIR,
371
371
[glib_REQUIRE([GLIB_GNU_GETTEXT])dnl
372
372
glib_save_prefix="$prefix"
373
373
glib_save_exec_prefix="$exec_prefix"
388
388
dnl Now the definitions that aclocal will find
389
389
dnl
390
390
ifdef(glib_configure_in,[],[
391
 
AC_DEFUN([AM_GLIB_GNU_GETTEXT],[GLIB_GNU_GETTEXT($@)])
392
 
AC_DEFUN([AM_GLIB_DEFINE_LOCALEDIR],[GLIB_DEFINE_LOCALEDIR($@)])
 
391
AC_DEFUN(AM_GLIB_GNU_GETTEXT,[GLIB_GNU_GETTEXT($@)])
 
392
AC_DEFUN(AM_GLIB_DEFINE_LOCALEDIR,[GLIB_DEFINE_LOCALEDIR($@)])
393
393
])dnl
394
394
 
395
395
# libtool.m4 - Configure libtool for the host system. -*-Autoconf-*-
396
396
 
397
397
# serial 47 AC_PROG_LIBTOOL
 
398
# Debian $Rev: 203 $
398
399
 
399
400
 
400
401
# AC_PROVIDE_IFELSE(MACRO-NAME, IF-PROVIDED, IF-NOT-PROVIDED)
872
873
        x86_64-*linux*)
873
874
          LD="${LD-ld} -m elf_i386"
874
875
          ;;
875
 
        ppc64-*linux*)
 
876
        ppc64-*linux*|powerpc64-*linux*)
876
877
          LD="${LD-ld} -m elf32ppclinux"
877
878
          ;;
878
879
        s390x-*linux*)
936
937
# ----------------------------------------------------------------
937
938
# Check whether the given compiler option works
938
939
AC_DEFUN([AC_LIBTOOL_COMPILER_OPTION],
939
 
[AC_CACHE_CHECK([$1], [$2],
 
940
[AC_REQUIRE([LT_AC_PROG_SED])
 
941
AC_CACHE_CHECK([$1], [$2],
940
942
  [$2=no
941
943
  ifelse([$4], , [ac_outfile=conftest.$ac_objext], [ac_outfile=$4])
942
944
   printf "$lt_simple_compile_test_code" > conftest.$ac_ext
1012
1014
AC_MSG_CHECKING([the maximum length of command line arguments])
1013
1015
AC_CACHE_VAL([lt_cv_sys_max_cmd_len], [dnl
1014
1016
  i=0
1015
 
  testring="ABCD"
 
1017
  teststring="ABCD"
1016
1018
 
1017
1019
  case $build_os in
1018
1020
  msdosdjgpp*)
1041
1043
    lt_cv_sys_max_cmd_len=8192;
1042
1044
    ;;
1043
1045
 
 
1046
  amigaos*)
 
1047
    # On AmigaOS with pdksh, this test takes hours, literally.
 
1048
    # So we just punt and use a minimum line length of 8192.
 
1049
    lt_cv_sys_max_cmd_len=8192;
 
1050
    ;;
 
1051
 
1044
1052
 *)
1045
1053
    # If test is not a shell built-in, we'll probably end up computing a
1046
1054
    # maximum length that is only half of the actual maximum length, but
1047
1055
    # we can't tell.
1048
 
    while (test "X"`$CONFIG_SHELL [$]0 --fallback-echo "X$testring" 2>/dev/null` \
1049
 
               = "XX$testring") >/dev/null 2>&1 &&
1050
 
            new_result=`expr "X$testring" : ".*" 2>&1` &&
 
1056
    while (test "X"`$CONFIG_SHELL [$]0 --fallback-echo "X$teststring" 2>/dev/null` \
 
1057
               = "XX$teststring") >/dev/null 2>&1 &&
 
1058
            new_result=`expr "X$teststring" : ".*" 2>&1` &&
1051
1059
            lt_cv_sys_max_cmd_len=$new_result &&
1052
1060
            test $i != 17 # 1/2 MB should be enough
1053
1061
    do
1054
1062
      i=`expr $i + 1`
1055
 
      testring=$testring$testring
 
1063
      teststring=$teststring$teststring
1056
1064
    done
1057
 
    testring=
 
1065
    teststring=
1058
1066
    # Add a significant safety factor because C++ compilers can tack on massive
1059
1067
    # amounts of additional arguments before passing them to the linker.
1060
1068
    # It appears as though 1/2 is a usable value.
1204
1212
    lt_cv_dlopen_self=yes
1205
1213
    ])
1206
1214
   ;;
1207
 
    
 
1215
 
1208
1216
  *)
1209
1217
    AC_CHECK_FUNC([shl_load],
1210
1218
          [lt_cv_dlopen="shl_load"],
1293
1301
   mkdir out
1294
1302
   printf "$lt_simple_compile_test_code" > conftest.$ac_ext
1295
1303
 
1296
 
   # According to Tom Tromey, Ian Lance Taylor reported there are C compilers
1297
 
   # that will create temporary files in the current directory regardless of
1298
 
   # the output directory.  Thus, making CWD read-only will cause this test
1299
 
   # to fail, enabling locking or at least warning the user not to do parallel
1300
 
   # builds.
1301
 
   chmod -w .
1302
 
 
1303
1304
   lt_compiler_flag="-o out/conftest2.$ac_objext"
1304
1305
   # Insert the option either (1) after the last *FLAGS variable, or
1305
1306
   # (2) before a word containing "conftest.", or (3) at the end.
1323
1324
     fi
1324
1325
   fi
1325
1326
   chmod u+w .
1326
 
   $rm conftest* out/*
1327
 
   rmdir out
 
1327
   $rm conftest*
 
1328
   # SGI C++ compiler will create directory out/ii_files/ for
 
1329
   # template instantiation
 
1330
   test -d out/ii_files && $rm out/ii_files/* && rmdir out/ii_files
 
1331
   $rm out/* && rmdir out
1328
1332
   cd ..
1329
1333
   rmdir conftest
1330
1334
   $rm conftest*
1441
1445
   *)
1442
1446
  AC_MSG_RESULT([no])
1443
1447
    ;;
1444
 
  esac  
 
1448
  esac
1445
1449
fi
1446
1450
])# AC_LIBTOOL_SYS_LIB_STRIP
1447
1451
 
1454
1458
library_names_spec=
1455
1459
libname_spec='lib$name'
1456
1460
soname_spec=
1457
 
shrext=".so"
 
1461
shrext_cmds=".so"
1458
1462
postinstall_cmds=
1459
1463
postuninstall_cmds=
1460
1464
finish_cmds=
1542
1546
amigaos*)
1543
1547
  library_names_spec='$libname.ixlibrary $libname.a'
1544
1548
  # Create ${libname}_ixlibrary.a entries in /sys/libs.
1545
 
  finish_eval='for lib in `ls $libdir/*.ixlibrary 2>/dev/null`; do libname=`$echo "X$lib" | $Xsed -e '\''s%^.*/\([[^/]]*\)\.ixlibrary$%\1%'\''`; test $rm /sys/libs/${libname}_ixlibrary.a; $show "(cd /sys/libs && $LN_S $lib ${libname}_ixlibrary.a)"; (cd /sys/libs && $LN_S $lib ${libname}_ixlibrary.a) || exit 1; done'
 
1549
  finish_eval='for lib in `ls $libdir/*.ixlibrary 2>/dev/null`; do libname=`$echo "X$lib" | $Xsed -e '\''s%^.*/\([[^/]]*\)\.ixlibrary$%\1%'\''`; test $rm /sys/libs/${libname}_ixlibrary.a; $show "cd /sys/libs && $LN_S $lib ${libname}_ixlibrary.a"; cd /sys/libs && $LN_S $lib ${libname}_ixlibrary.a || exit 1; done'
1546
1550
  ;;
1547
1551
 
1548
1552
beos*)
1567
1571
 
1568
1572
cygwin* | mingw* | pw32*)
1569
1573
  version_type=windows
1570
 
  shrext=".dll"
 
1574
  shrext_cmds=".dll"
1571
1575
  need_version=no
1572
1576
  need_lib_prefix=no
1573
1577
 
1589
1593
    cygwin*)
1590
1594
      # Cygwin DLLs use 'cyg' prefix rather than 'lib'
1591
1595
      soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[[.]]/-/g'`${versuffix}${shared_ext}'
1592
 
      sys_lib_search_path_spec="/lib /lib/w32api /usr/lib /usr/local/lib"
 
1596
      sys_lib_search_path_spec="/usr/lib /lib/w32api /lib /usr/local/lib"
1593
1597
      ;;
1594
1598
    mingw*)
1595
1599
      # MinGW DLLs use traditional 'lib' prefix
1628
1632
  version_type=darwin
1629
1633
  need_lib_prefix=no
1630
1634
  need_version=no
1631
 
  # FIXME: Relying on posixy $() will cause problems for
1632
 
  #        cross-compilation, but unfortunately the echo tests do not
1633
 
  #        yet detect zsh echo's removal of \ escapes.
1634
1635
  library_names_spec='${libname}${release}${versuffix}$shared_ext ${libname}${release}${major}$shared_ext ${libname}$shared_ext'
1635
1636
  soname_spec='${libname}${release}${major}$shared_ext'
1636
1637
  shlibpath_overrides_runpath=yes
1637
1638
  shlibpath_var=DYLD_LIBRARY_PATH
1638
 
  shrext='$(test .$module = .yes && echo .so || echo .dylib)'
 
1639
  shrext_cmds='$(test .$module = .yes && echo .so || echo .dylib)'
1639
1640
  # Apple's gcc prints 'gcc -print-search-dirs' doesn't operate the same.
1640
 
  if $CC -v 2>&1 | grep 'Apple' >/dev/null ; then 
1641
 
  sys_lib_search_path_spec=`$CC -print-search-dirs | tr "\n" "$PATH_SEPARATOR" | sed -e 's/libraries:/@libraries:/' | tr "@" "\n" | grep "^libraries:" | sed -e "s/^libraries://" -e "s,=/,/,g" -e "s,$PATH_SEPARATOR, ,g" -e "s,.*,& /lib /usr/lib /usr/local/lib,g"`
 
1641
  if test "$GCC" = yes; then
 
1642
    sys_lib_search_path_spec=`$CC -print-search-dirs | tr "\n" "$PATH_SEPARATOR" | sed -e 's/libraries:/@libraries:/' | tr "@" "\n" | grep "^libraries:" | sed -e "s/^libraries://" -e "s,=/,/,g" -e "s,$PATH_SEPARATOR, ,g" -e "s,.*,& /lib /usr/lib /usr/local/lib,g"`
 
1643
  else
 
1644
    sys_lib_search_path_spec='/lib /usr/lib /usr/local/lib'
1642
1645
  fi
1643
1646
  sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
1644
1647
  ;;
1656
1659
  dynamic_linker=no
1657
1660
  ;;
1658
1661
 
 
1662
kfreebsd*-gnu)
 
1663
  version_type=linux
 
1664
  need_lib_prefix=no
 
1665
  need_version=no
 
1666
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
 
1667
  soname_spec='${libname}${release}${shared_ext}$major'
 
1668
  shlibpath_var=LD_LIBRARY_PATH
 
1669
  shlibpath_overrides_runpath=no
 
1670
  hardcode_into_libs=yes
 
1671
  dynamic_linker='GNU ld.so'
 
1672
  ;;
 
1673
 
1659
1674
freebsd*)
1660
1675
  objformat=`test -x /usr/bin/objformat && /usr/bin/objformat || echo aout`
1661
1676
  version_type=freebsd-$objformat
1704
1719
  need_version=no
1705
1720
  case "$host_cpu" in
1706
1721
  ia64*)
1707
 
    shrext='.so'
 
1722
    shrext_cmds='.so'
1708
1723
    hardcode_into_libs=yes
1709
1724
    dynamic_linker="$host_os dld.so"
1710
1725
    shlibpath_var=LD_LIBRARY_PATH
1719
1734
    sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
1720
1735
    ;;
1721
1736
   hppa*64*)
1722
 
     shrext='.sl'
 
1737
     shrext_cmds='.sl'
1723
1738
     hardcode_into_libs=yes
1724
1739
     dynamic_linker="$host_os dld.sl"
1725
1740
     shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
1730
1745
     sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
1731
1746
     ;;
1732
1747
   *)
1733
 
    shrext='.sl'
 
1748
    shrext_cmds='.sl'
1734
1749
    dynamic_linker="$host_os dld.sl"
1735
1750
    shlibpath_var=SHLIB_PATH
1736
1751
    shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
1799
1814
  # before this can be enabled.
1800
1815
  hardcode_into_libs=yes
1801
1816
 
 
1817
  # Append ld.so.conf contents to the search path
 
1818
  if test -f /etc/ld.so.conf; then
 
1819
    lt_ld_extra=`$SED -e 's/[:,\t]/ /g;s/=[^=]*$//;s/=[^= ]* / /g' /etc/ld.so.conf | tr '\n' ' '`
 
1820
    sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra"
 
1821
  fi
 
1822
 
1802
1823
  # We used to test for /lib/ld.so.1 and disable shared libraries on
1803
1824
  # powerpc, because MkLinux only supported shared libraries with the
1804
1825
  # GNU dynamic linker.  Since this was broken with cross compilers,
1806
1827
  # people can always --disable-shared, the test was removed, and we
1807
1828
  # assume the GNU/Linux dynamic linker is in use.
1808
1829
  dynamic_linker='GNU/Linux ld.so'
 
1830
  ;;
1809
1831
 
1810
 
  # Find out which ABI we are using (multilib Linux x86_64 hack).
1811
 
  libsuff=
1812
 
  case "$host_cpu" in
1813
 
  x86_64*|s390x*|powerpc64*)
1814
 
    echo '[#]line __oline__ "configure"' > conftest.$ac_ext
1815
 
    if AC_TRY_EVAL(ac_compile); then
1816
 
      case `/usr/bin/file conftest.$ac_objext` in
1817
 
      *64-bit*)
1818
 
        libsuff=64
1819
 
        ;;
1820
 
      esac
1821
 
    fi
1822
 
    rm -rf conftest*
1823
 
    ;;
1824
 
  *)
1825
 
    ;;
1826
 
  esac
1827
 
  sys_lib_dlsearch_path_spec="/lib${libsuff} /usr/lib${libsuff}"
1828
 
  sys_lib_search_path_spec="/lib${libsuff} /usr/lib${libsuff} /usr/local/lib${libsuff}"
 
1832
knetbsd*-gnu)
 
1833
  version_type=linux
 
1834
  need_lib_prefix=no
 
1835
  need_version=no
 
1836
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
 
1837
  soname_spec='${libname}${release}${shared_ext}$major'
 
1838
  shlibpath_var=LD_LIBRARY_PATH
 
1839
  shlibpath_overrides_runpath=no
 
1840
  hardcode_into_libs=yes
 
1841
  dynamic_linker='GNU ld.so'
1829
1842
  ;;
1830
1843
 
1831
1844
netbsd*)
1837
1850
    finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
1838
1851
    dynamic_linker='NetBSD (a.out) ld.so'
1839
1852
  else
1840
 
    library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} ${libname}${shared_ext}'
 
1853
    library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
1841
1854
    soname_spec='${libname}${release}${shared_ext}$major'
1842
1855
    dynamic_linker='NetBSD ld.elf_so'
1843
1856
  fi
1853
1866
  shlibpath_overrides_runpath=yes
1854
1867
  ;;
1855
1868
 
1856
 
nto-qnx)
 
1869
nto-qnx*)
1857
1870
  version_type=linux
1858
1871
  need_lib_prefix=no
1859
1872
  need_version=no
1866
1879
openbsd*)
1867
1880
  version_type=sunos
1868
1881
  need_lib_prefix=no
1869
 
  need_version=no
 
1882
  need_version=yes
1870
1883
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
1871
1884
  finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
1872
1885
  shlibpath_var=LD_LIBRARY_PATH
1886
1899
 
1887
1900
os2*)
1888
1901
  libname_spec='$name'
1889
 
  shrext=".dll"
 
1902
  shrext_cmds=".dll"
1890
1903
  need_lib_prefix=no
1891
1904
  library_names_spec='$libname${shared_ext} $libname.a'
1892
1905
  dynamic_linker='OS/2 ld.exe'
2322
2335
 
2323
2336
# AC_PROG_LD
2324
2337
# ----------
2325
 
# find the path to the GNU or non-GNU linker
 
2338
# find the pathname to the GNU or non-GNU linker
2326
2339
AC_DEFUN([AC_PROG_LD],
2327
2340
[AC_ARG_WITH([gnu-ld],
2328
2341
    [AC_HELP_STRING([--with-gnu-ld],
2348
2361
    # Accept absolute paths.
2349
2362
    [[\\/]]* | ?:[[\\/]]*)
2350
2363
      re_direlt='/[[^/]][[^/]]*/\.\./'
2351
 
      # Canonicalize the path of ld
 
2364
      # Canonicalize the pathname of ld
2352
2365
      ac_prog=`echo $ac_prog| $SED 's%\\\\%/%g'`
2353
2366
      while echo $ac_prog | grep "$re_direlt" > /dev/null 2>&1; do
2354
2367
        ac_prog=`echo $ac_prog| $SED "s%$re_direlt%/%"`
2476
2489
  lt_cv_file_magic_test_file=/shlib/libc.so
2477
2490
  ;;
2478
2491
 
2479
 
cygwin* | mingw* | pw32*)
2480
 
  # win32_libid is a shell function defined in ltmain.sh
 
2492
cygwin*)
 
2493
  # func_win32_libid is a shell function defined in ltmain.sh
2481
2494
  lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
2482
 
  lt_cv_file_magic_cmd='win32_libid'
 
2495
  lt_cv_file_magic_cmd='func_win32_libid'
 
2496
  ;;
 
2497
 
 
2498
mingw* | pw32*)
 
2499
  # Base MSYS/MinGW do not provide the 'file' command needed by
 
2500
  # func_win32_libid shell function, so use a weaker test based on 'objdump'.
 
2501
  lt_cv_deplibs_check_method='file_magic file format pei*-i386(.*architecture: i386)?'
 
2502
  lt_cv_file_magic_cmd='$OBJDUMP -f'
2483
2503
  ;;
2484
2504
 
2485
2505
darwin* | rhapsody*)
2486
 
  # this will be overwritten by pass_all, but leave it in just in case
2487
 
  lt_cv_deplibs_check_method='file_magic Mach-O dynamically linked shared library'
2488
 
  lt_cv_file_magic_cmd='/usr/bin/file -L'
2489
 
  case "$host_os" in
2490
 
  rhapsody* | darwin1.[[012]])
2491
 
    lt_cv_file_magic_test_file=`/System/Library/Frameworks/System.framework/System`
2492
 
    ;;
2493
 
  *) # Darwin 1.3 on
2494
 
    lt_cv_file_magic_test_file='/usr/lib/libSystem.dylib'
2495
 
    ;;
2496
 
  esac
2497
2506
  lt_cv_deplibs_check_method=pass_all
2498
2507
  ;;
2499
2508
 
2500
 
freebsd*)
 
2509
freebsd* | kfreebsd*-gnu)
2501
2510
  if echo __ELF__ | $CC -E - | grep __ELF__ > /dev/null; then
2502
2511
    case $host_cpu in
2503
2512
    i*86 )
2536
2545
  ;;
2537
2546
 
2538
2547
irix5* | irix6* | nonstopux*)
2539
 
  case $host_os in
2540
 
  irix5* | nonstopux*)
2541
 
    # this will be overridden with pass_all, but let us keep it just in case
2542
 
    lt_cv_deplibs_check_method="file_magic ELF 32-bit MSB dynamic lib MIPS - version 1"
2543
 
    ;;
2544
 
  *)
2545
 
    case $LD in
2546
 
    *-32|*"-32 ") libmagic=32-bit;;
2547
 
    *-n32|*"-n32 ") libmagic=N32;;
2548
 
    *-64|*"-64 ") libmagic=64-bit;;
2549
 
    *) libmagic=never-match;;
2550
 
    esac
2551
 
    # this will be overridden with pass_all, but let us keep it just in case
2552
 
    lt_cv_deplibs_check_method="file_magic ELF ${libmagic} MSB mips-[[1234]] dynamic lib MIPS - version 1"
2553
 
    ;;
 
2548
  case $LD in
 
2549
  *-32|*"-32 ") libmagic=32-bit;;
 
2550
  *-n32|*"-n32 ") libmagic=N32;;
 
2551
  *-64|*"-64 ") libmagic=64-bit;;
 
2552
  *) libmagic=never-match;;
2554
2553
  esac
2555
 
  lt_cv_file_magic_test_file=`echo /lib${libsuff}/libc.so*`
2556
2554
  lt_cv_deplibs_check_method=pass_all
2557
2555
  ;;
2558
2556
 
2559
2557
# This must be Linux ELF.
2560
2558
linux*)
2561
 
  case $host_cpu in
2562
 
  alpha* | hppa* | i*86 | ia64* | m68* | mips | mipsel | powerpc* | sparc* | s390* | sh* | x86_64*)
2563
 
    lt_cv_deplibs_check_method=pass_all ;;
2564
 
  *)
2565
 
    # glibc up to 2.1.1 does not perform some relocations on ARM
2566
 
    lt_cv_deplibs_check_method='file_magic ELF [[0-9]][[0-9]]*-bit [[LM]]SB (shared object|dynamic lib )' ;;
2567
 
  esac
2568
 
  lt_cv_file_magic_test_file=`echo /lib/libc.so* /lib/libc-*.so`
 
2559
  lt_cv_deplibs_check_method=pass_all
2569
2560
  ;;
2570
2561
 
2571
 
netbsd*)
 
2562
netbsd* | knetbsd*-gnu)
2572
2563
  if echo __ELF__ | $CC -E - | grep __ELF__ > /dev/null; then
2573
2564
    lt_cv_deplibs_check_method='match_pattern /lib[[^/]]+(\.so\.[[0-9]]+\.[[0-9]]+|_pic\.a)$'
2574
2565
  else
2582
2573
  lt_cv_file_magic_test_file=/usr/lib/libnls.so
2583
2574
  ;;
2584
2575
 
2585
 
nto-qnx)
 
2576
nto-qnx*)
2586
2577
  lt_cv_deplibs_check_method=unknown
2587
2578
  ;;
2588
2579
 
2597
2588
  ;;
2598
2589
 
2599
2590
osf3* | osf4* | osf5*)
2600
 
  # this will be overridden with pass_all, but let us keep it just in case
2601
 
  lt_cv_deplibs_check_method='file_magic COFF format alpha shared library'
2602
 
  lt_cv_file_magic_test_file=/shlib/libc.so
2603
2591
  lt_cv_deplibs_check_method=pass_all
2604
2592
  ;;
2605
2593
 
2609
2597
 
2610
2598
solaris*)
2611
2599
  lt_cv_deplibs_check_method=pass_all
2612
 
  lt_cv_file_magic_test_file=/lib/libc.so
2613
2600
  ;;
2614
2601
 
2615
2602
sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
2649
2636
 
2650
2637
# AC_PROG_NM
2651
2638
# ----------
2652
 
# find the path to a BSD-compatible name lister
 
2639
# find the pathname to a BSD-compatible name lister
2653
2640
AC_DEFUN([AC_PROG_NM],
2654
2641
[AC_CACHE_CHECK([for BSD-compatible nm], lt_cv_path_NM,
2655
2642
[if test -n "$NM"; then
2787
2774
AC_DEFUN([_LT_AC_LANG_CXX],
2788
2775
[AC_REQUIRE([AC_PROG_CXX])
2789
2776
AC_REQUIRE([AC_PROG_CXXCPP])
2790
 
_LT_AC_SHELL_INIT([tagnames=`echo "$tagnames,CXX" | sed 's/^,//'`])
 
2777
_LT_AC_SHELL_INIT([tagnames=${tagnames+${tagnames},}CXX])
2791
2778
])# _LT_AC_LANG_CXX
2792
2779
 
2793
2780
 
2803
2790
# ---------------
2804
2791
AC_DEFUN([_LT_AC_LANG_F77],
2805
2792
[AC_REQUIRE([AC_PROG_F77])
2806
 
_LT_AC_SHELL_INIT([tagnames=`echo "$tagnames,F77" | sed 's/^,//'`])
 
2793
_LT_AC_SHELL_INIT([tagnames=${tagnames+${tagnames},}F77])
2807
2794
])# _LT_AC_LANG_F77
2808
2795
 
2809
2796
 
2824
2811
      [ifdef([AC_PROG_GCJ],[AC_REQUIRE([AC_PROG_GCJ])],
2825
2812
         [ifdef([A][M_PROG_GCJ],[AC_REQUIRE([A][M_PROG_GCJ])],
2826
2813
           [AC_REQUIRE([A][C_PROG_GCJ_OR_A][M_PROG_GCJ])])])])])])
2827
 
_LT_AC_SHELL_INIT([tagnames=`echo "$tagnames,GCJ" | sed 's/^,//'`])
 
2814
_LT_AC_SHELL_INIT([tagnames=${tagnames+${tagnames},}GCJ])
2828
2815
])# _LT_AC_LANG_GCJ
2829
2816
 
2830
2817
 
2833
2820
# enable support for Windows resource files
2834
2821
AC_DEFUN([AC_LIBTOOL_RC],
2835
2822
[AC_REQUIRE([LT_AC_PROG_RC])
2836
 
_LT_AC_SHELL_INIT([tagnames=`echo "$tagnames,RC" | sed 's/^,//'`])
 
2823
_LT_AC_SHELL_INIT([tagnames=${tagnames+${tagnames},}RC])
2837
2824
])# AC_LIBTOOL_RC
2838
2825
 
2839
2826
 
2875
2862
fi
2876
2863
if test -n "$_LT_AC_TAGVAR(lt_prog_cc_shlib, $1)"; then
2877
2864
  AC_MSG_WARN([`$CC' requires `$_LT_AC_TAGVAR(lt_prog_cc_shlib, $1)' to build shared libraries])
2878
 
  if echo "$old_CC $old_CFLAGS " | grep "[[     ]]$]_LT_AC_TAGVAR(lt_prog_cc_shlib, $1)[[[      ]]" >/dev/null; then :
 
2865
  if echo "$old_CC $old_CFLAGS " | grep "[[     ]]$_LT_AC_TAGVAR(lt_prog_cc_shlib, $1)[[        ]]" >/dev/null; then :
2879
2866
  else
2880
2867
    AC_MSG_WARN([add `$_LT_AC_TAGVAR(lt_prog_cc_shlib, $1)' to the CC or CFLAGS env variable and reconfigure])
2881
2868
    _LT_AC_TAGVAR(lt_cv_prog_cc_can_build_shared, $1)=no
2898
2885
AC_LIBTOOL_PROG_CC_C_O($1)
2899
2886
AC_LIBTOOL_SYS_HARD_LINK_LOCKS($1)
2900
2887
AC_LIBTOOL_PROG_LD_SHLIBS($1)
 
2888
AC_LIBTOOL_SYS_DYNAMIC_LINKER($1)
2901
2889
AC_LIBTOOL_PROG_LD_HARDCODE_LIBPATH($1)
2902
2890
AC_LIBTOOL_SYS_LIB_STRIP
2903
 
AC_LIBTOOL_SYS_DYNAMIC_LINKER($1)
2904
2891
AC_LIBTOOL_DLOPEN_SELF($1)
2905
2892
 
2906
2893
# Report which librarie types wil actually be built
2921
2908
  fi
2922
2909
  ;;
2923
2910
 
2924
 
aix4*)
 
2911
aix4* | aix5*)
2925
2912
  if test "$host_cpu" != ia64 && test "$aix_use_runtimelinking" = no ; then
2926
2913
    test "$enable_shared" = yes && enable_static=no
2927
2914
  fi
2928
2915
  ;;
2929
2916
  darwin* | rhapsody*)
2930
 
  if $CC -v 2>&1 | grep 'Apple' >/dev/null ; then 
 
2917
  if test "$GCC" = yes; then
2931
2918
    _LT_AC_TAGVAR(archive_cmds_need_lc, $1)=no
2932
2919
    case "$host_os" in
2933
2920
    rhapsody* | darwin1.[[012]])
2934
2921
      _LT_AC_TAGVAR(allow_undefined_flag, $1)='-undefined suppress'
2935
2922
      ;;
2936
2923
    *) # Darwin 1.3 on
2937
 
      test -z ${LD_TWOLEVEL_NAMESPACE} && _LT_AC_TAGVAR(allow_undefined_flag, $1)='-flat_namespace -undefined suppress'
 
2924
      if test -z ${MACOSX_DEPLOYMENT_TARGET} ; then
 
2925
        _LT_AC_TAGVAR(allow_undefined_flag, $1)='-flat_namespace -undefined suppress'
 
2926
      else
 
2927
        case ${MACOSX_DEPLOYMENT_TARGET} in
 
2928
          10.[[012]])
 
2929
            _LT_AC_TAGVAR(allow_undefined_flag, $1)='-flat_namespace -undefined suppress'
 
2930
            ;;
 
2931
          10.*)
 
2932
            _LT_AC_TAGVAR(allow_undefined_flag, $1)='-undefined dynamic_lookup'
 
2933
            ;;
 
2934
        esac
 
2935
      fi
2938
2936
      ;;
2939
2937
    esac
2940
 
    # FIXME: Relying on posixy $() will cause problems for
2941
 
    #        cross-compilation, but unfortunately the echo tests do not
2942
 
    #        yet detect zsh echo's removal of \ escapes.  Also zsh mangles
2943
 
    #          `"' quotes if we put them in here... so don't!
2944
 
                output_verbose_link_cmd='echo'
 
2938
    output_verbose_link_cmd='echo'
2945
2939
    _LT_AC_TAGVAR(archive_cmds, $1)='$CC -dynamiclib $allow_undefined_flag -o $lib $libobjs $deplibs$compiler_flags -install_name $rpath/$soname $verstring'
2946
 
    _LT_AC_TAGVAR(module_cmds, $1)='$CC -bundle $allow_undefined_flag -o $lib $libobjs $deplibs$compiler_flags'
 
2940
    _LT_AC_TAGVAR(module_cmds, $1)='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
2947
2941
    # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin ld's
2948
 
                  _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}'
2949
 
                  _LT_AC_TAGVAR(module_expsym_cmds, $1)='sed -e "s,#.*,," -e "s,^[    ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC -bundle $allow_undefined_flag  -o $lib $libobjs $deplibs$compiler_flags~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
 
2942
    _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}'
 
2943
    _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}'
2950
2944
    _LT_AC_TAGVAR(hardcode_direct, $1)=no
2951
2945
    _LT_AC_TAGVAR(hardcode_automatic, $1)=yes
2952
2946
    _LT_AC_TAGVAR(hardcode_shlibpath_var, $1)=unsupported
2953
2947
    _LT_AC_TAGVAR(whole_archive_flag_spec, $1)='-all_load $convenience'
2954
2948
    _LT_AC_TAGVAR(link_all_deplibs, $1)=yes
2955
 
    fi
2956
 
    ;;  
 
2949
  else
 
2950
    _LT_AC_TAGVAR(ld_shlibs, $1)=no
 
2951
  fi
 
2952
    ;;
2957
2953
esac
2958
2954
AC_MSG_RESULT([$enable_shared])
2959
2955
 
3255
3251
  ;;
3256
3252
 
3257
3253
  darwin* | rhapsody*)
3258
 
   if $CC -v 2>&1 | grep 'Apple' >/dev/null ; then 
 
3254
  if test "$GXX" = yes; then
3259
3255
    _LT_AC_TAGVAR(archive_cmds_need_lc, $1)=no
3260
3256
    case "$host_os" in
3261
3257
    rhapsody* | darwin1.[[012]])
3262
3258
      _LT_AC_TAGVAR(allow_undefined_flag, $1)='-undefined suppress'
3263
3259
      ;;
3264
3260
    *) # Darwin 1.3 on
3265
 
      test -z ${LD_TWOLEVEL_NAMESPACE} && _LT_AC_TAGVAR(allow_undefined_flag, $1)='-flat_namespace -undefined suppress'
 
3261
      if test -z ${MACOSX_DEPLOYMENT_TARGET} ; then
 
3262
        _LT_AC_TAGVAR(allow_undefined_flag, $1)='-flat_namespace -undefined suppress'
 
3263
      else
 
3264
        case ${MACOSX_DEPLOYMENT_TARGET} in
 
3265
          10.[[012]])
 
3266
            _LT_AC_TAGVAR(allow_undefined_flag, $1)='-flat_namespace -undefined suppress'
 
3267
            ;;
 
3268
          10.*)
 
3269
            _LT_AC_TAGVAR(allow_undefined_flag, $1)='-undefined dynamic_lookup'
 
3270
            ;;
 
3271
        esac
 
3272
      fi
3266
3273
      ;;
3267
3274
    esac
3268
 
        lt_int_apple_cc_single_mod=no
3269
 
        output_verbose_link_cmd='echo'
3270
 
        if $CC -dumpspecs 2>&1 | grep 'single_module' >/dev/null ; then
3271
 
          lt_int_apple_cc_single_mod=yes
3272
 
        fi
3273
 
        if test "X$lt_int_apple_cc_single_mod" = Xyes ; then
3274
 
          _LT_AC_TAGVAR(archive_cmds, $1)='$CC -dynamiclib -single_module $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags -install_name $rpath/$soname $verstring'
3275
 
        else
3276
 
        _LT_AC_TAGVAR(archive_cmds, $1)='$CC -r ${wl}-bind_at_load -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'
3277
 
      fi
3278
 
      _LT_AC_TAGVAR(module_cmds, $1)='$CC -bundle ${wl}-bind_at_load $allow_undefined_flag -o $lib $libobjs $deplibs$compiler_flags'
 
3275
    lt_int_apple_cc_single_mod=no
 
3276
    output_verbose_link_cmd='echo'
 
3277
    if $CC -dumpspecs 2>&1 | grep 'single_module' >/dev/null ; then
 
3278
      lt_int_apple_cc_single_mod=yes
 
3279
    fi
 
3280
    if test "X$lt_int_apple_cc_single_mod" = Xyes ; then
 
3281
      _LT_AC_TAGVAR(archive_cmds, $1)='$CC -dynamiclib -single_module $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags -install_name $rpath/$soname $verstring'
 
3282
    else
 
3283
      _LT_AC_TAGVAR(archive_cmds, $1)='$CC -r ${wl}-bind_at_load -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'
 
3284
    fi
 
3285
    _LT_AC_TAGVAR(module_cmds, $1)='$CC ${wl}-bind_at_load $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
3279
3286
 
3280
3287
    # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin ld's
3281
 
      if test "X$lt_int_apple_cc_single_mod" = Xyes ; then
3282
 
        _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}'
3283
 
      else
3284
 
        _LT_AC_TAGVAR(archive_expsym_cmds, $1)='sed -e "s,#.*,," -e "s,^[    ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC -r ${wl}-bind_at_load -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}'
3285
 
      fi
3286
 
        _LT_AC_TAGVAR(module_expsym_cmds, $1)='sed -e "s,#.*,," -e "s,^[    ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC -bundle $allow_undefined_flag  -o $lib $libobjs $deplibs$compiler_flags~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
 
3288
    if test "X$lt_int_apple_cc_single_mod" = Xyes ; then
 
3289
      _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}'
 
3290
    else
 
3291
      _LT_AC_TAGVAR(archive_expsym_cmds, $1)='sed -e "s,#.*,," -e "s,^[    ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC -r ${wl}-bind_at_load -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}'
 
3292
    fi
 
3293
    _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}'
3287
3294
    _LT_AC_TAGVAR(hardcode_direct, $1)=no
3288
3295
    _LT_AC_TAGVAR(hardcode_automatic, $1)=yes
3289
3296
    _LT_AC_TAGVAR(hardcode_shlibpath_var, $1)=unsupported
3290
3297
    _LT_AC_TAGVAR(whole_archive_flag_spec, $1)='-all_load $convenience'
3291
3298
    _LT_AC_TAGVAR(link_all_deplibs, $1)=yes
3292
 
   fi 
 
3299
  else
 
3300
    _LT_AC_TAGVAR(ld_shlibs, $1)=no
 
3301
  fi
3293
3302
    ;;
3294
3303
 
3295
3304
  dgux*)
3316
3325
  freebsd-elf*)
3317
3326
    _LT_AC_TAGVAR(archive_cmds_need_lc, $1)=no
3318
3327
    ;;
3319
 
  freebsd*)
 
3328
  freebsd* | kfreebsd*-gnu)
3320
3329
    # FreeBSD 3 and later use GNU C++ and GNU ld with standard ELF
3321
3330
    # conventions
3322
3331
    _LT_AC_TAGVAR(ld_shlibs, $1)=yes
3347
3356
      # explicitly linking system object files so we need to strip them
3348
3357
      # from the output so that they don't get included in the library
3349
3358
      # dependencies.
3350
 
      output_verbose_link_cmd='templist=`($CC -b $CFLAGS -v conftest.$objext 2>&1) | egrep "\-L"`; list=""; for z in $templist; do case $z in conftest.$objext) list="$list $z";; *.$objext);; *) list="$list $z";;esac; done; echo $list'
 
3359
      output_verbose_link_cmd='templist=`($CC -b $CFLAGS -v conftest.$objext 2>&1) | grep "[-]L"`; list=""; for z in $templist; do case $z in conftest.$objext) list="$list $z";; *.$objext);; *) list="$list $z";;esac; done; echo $list'
3351
3360
      ;;
3352
3361
    *)
3353
3362
      if test "$GXX" = yes; then
3544
3553
        ;;
3545
3554
    esac
3546
3555
    ;;
3547
 
  netbsd*)
 
3556
  netbsd* | knetbsd*-gnu)
3548
3557
    if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
3549
3558
      _LT_AC_TAGVAR(archive_cmds, $1)='$LD -Bshareable  -o $lib $predep_objects $libobjs $deplibs $postdep_objects $linker_flags'
3550
3559
      wlarc=
3826
3835
AC_LIBTOOL_PROG_CC_C_O($1)
3827
3836
AC_LIBTOOL_SYS_HARD_LINK_LOCKS($1)
3828
3837
AC_LIBTOOL_PROG_LD_SHLIBS($1)
 
3838
AC_LIBTOOL_SYS_DYNAMIC_LINKER($1)
3829
3839
AC_LIBTOOL_PROG_LD_HARDCODE_LIBPATH($1)
3830
3840
AC_LIBTOOL_SYS_LIB_STRIP
3831
 
AC_LIBTOOL_SYS_DYNAMIC_LINKER($1)
3832
3841
AC_LIBTOOL_DLOPEN_SELF($1)
3833
3842
 
3834
3843
AC_LIBTOOL_CONFIG($1)
4050
4059
    postinstall_cmds='$RANLIB $lib'
4051
4060
  fi
4052
4061
  ;;
4053
 
aix4*)
 
4062
aix4* | aix5*)
4054
4063
  test "$enable_shared" = yes && enable_static=no
4055
4064
  ;;
4056
4065
esac
4070
4079
AC_LIBTOOL_PROG_CC_C_O($1)
4071
4080
AC_LIBTOOL_SYS_HARD_LINK_LOCKS($1)
4072
4081
AC_LIBTOOL_PROG_LD_SHLIBS($1)
 
4082
AC_LIBTOOL_SYS_DYNAMIC_LINKER($1)
4073
4083
AC_LIBTOOL_PROG_LD_HARDCODE_LIBPATH($1)
4074
4084
AC_LIBTOOL_SYS_LIB_STRIP
4075
 
AC_LIBTOOL_SYS_DYNAMIC_LINKER($1)
 
4085
 
4076
4086
 
4077
4087
AC_LIBTOOL_CONFIG($1)
4078
4088
 
4120
4130
AC_LIBTOOL_PROG_CC_C_O($1)
4121
4131
AC_LIBTOOL_SYS_HARD_LINK_LOCKS($1)
4122
4132
AC_LIBTOOL_PROG_LD_SHLIBS($1)
 
4133
AC_LIBTOOL_SYS_DYNAMIC_LINKER($1)
4123
4134
AC_LIBTOOL_PROG_LD_HARDCODE_LIBPATH($1)
4124
4135
AC_LIBTOOL_SYS_LIB_STRIP
4125
 
AC_LIBTOOL_SYS_DYNAMIC_LINKER($1)
4126
4136
AC_LIBTOOL_DLOPEN_SELF($1)
4127
4137
 
4128
4138
AC_LIBTOOL_CONFIG($1)
4187
4197
  # without removal of \ escapes.
4188
4198
  if test -n "${ZSH_VERSION+set}" ; then
4189
4199
    setopt NO_GLOB_SUBST
4190
 
  fi  
 
4200
  fi
4191
4201
  # Now quote all the things that may contain metacharacters while being
4192
4202
  # careful not to overquote the AC_SUBSTed values.  We take copies of the
4193
4203
  # variables and quote the copies for generation of the libtool script.
4194
 
  for var in echo old_CC old_CFLAGS AR AR_FLAGS EGREP RANLIB LN_S LTCC NM SED SHELL \
 
4204
  for var in echo old_CC old_CFLAGS AR AR_FLAGS EGREP RANLIB LN_S LTCC NM \
 
4205
    SED SHELL STRIP \
4195
4206
    libname_spec library_names_spec soname_spec extract_expsyms_cmds \
4196
4207
    old_striplib striplib file_magic_cmd finish_cmds finish_eval \
4197
4208
    deplibs_check_method reload_flag reload_cmds need_locks \
4241
4252
    _LT_AC_TAGVAR(archive_cmds, $1) | \
4242
4253
    _LT_AC_TAGVAR(archive_expsym_cmds, $1) | \
4243
4254
    _LT_AC_TAGVAR(module_cmds, $1) | \
4244
 
    _LT_AC_TAGVAR(module_expsym_cmds, $1) | \   
 
4255
    _LT_AC_TAGVAR(module_expsym_cmds, $1) | \
4245
4256
    _LT_AC_TAGVAR(old_archive_from_expsyms_cmds, $1) | \
4246
4257
    _LT_AC_TAGVAR(export_symbols_cmds, $1) | \
4247
4258
    extract_expsyms_cmds | reload_cmds | finish_cmds | \
4372
4383
NM=$lt_NM
4373
4384
 
4374
4385
# A symbol stripping program
4375
 
STRIP=$STRIP
 
4386
STRIP=$lt_STRIP
4376
4387
 
4377
4388
# Used to examine libraries when file_magic_cmd begins "file"
4378
4389
MAGIC_CMD=$MAGIC_CMD
4403
4414
libext="$libext"
4404
4415
 
4405
4416
# Shared library suffix (normally ".so").
4406
 
shrext='$shrext'
 
4417
shrext_cmds='$shrext_cmds'
4407
4418
 
4408
4419
# Executable file suffix (normally "").
4409
4420
exeext="$exeext"
4647
4658
  # If there is no Makefile yet, we rely on a make rule to execute
4648
4659
  # `config.status --recheck' to rerun these tests and create the
4649
4660
  # libtool script then.
4650
 
  test -f Makefile && make "$ltmain"
 
4661
  ltmain_in=`echo $ltmain | sed -e 's/\.sh$/.in/'`
 
4662
  if test -f "$ltmain_in"; then
 
4663
    test -f Makefile && make "$ltmain"
 
4664
  fi
4651
4665
fi
4652
4666
])# AC_LIBTOOL_CONFIG
4653
4667
 
4953
4967
            ;;
4954
4968
        esac
4955
4969
        ;;
4956
 
      freebsd*)
 
4970
      freebsd* | kfreebsd*-gnu)
4957
4971
        # FreeBSD uses GNU C++
4958
4972
        ;;
4959
4973
      hpux9* | hpux10* | hpux11*)
5004
5018
            _LT_AC_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,'
5005
5019
            _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-KPIC'
5006
5020
            _LT_AC_TAGVAR(lt_prog_compiler_static, $1)='-static'
5007
 
            ;; 
 
5021
            ;;
5008
5022
          cxx)
5009
5023
            # Compaq C++
5010
5024
            # Make sure the PIC flag is empty.  It appears that all Alpha
5029
5043
            ;;
5030
5044
        esac
5031
5045
        ;;
5032
 
      netbsd*)
 
5046
      netbsd* | knetbsd*-gnu)
5033
5047
        ;;
5034
5048
      osf3* | osf4* | osf5*)
5035
5049
        case $cc_basename in
5229
5243
 
5230
5244
    linux*)
5231
5245
      case $CC in
5232
 
      icc|ecc)
 
5246
      icc* | ecc*)
5233
5247
        _LT_AC_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,'
5234
5248
        _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-KPIC'
5235
5249
        _LT_AC_TAGVAR(lt_prog_compiler_static, $1)='-static'
5236
5250
        ;;
5237
 
      ccc)
 
5251
      ccc*)
5238
5252
        _LT_AC_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,'
5239
5253
        # All Alpha code is PIC.
5240
5254
        _LT_AC_TAGVAR(lt_prog_compiler_static, $1)='-non_shared'
5340
5354
  cygwin* | mingw*)
5341
5355
    _LT_AC_TAGVAR(export_symbols_cmds, $1)='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[[BCDGS]] /s/.* \([[^ ]]*\)/\1 DATA/'\'' | $SED -e '\''/^[[AITW]] /s/.* //'\'' | sort | uniq > $export_symbols'
5342
5356
  ;;
 
5357
  linux*)
 
5358
    _LT_AC_TAGVAR(link_all_deplibs, $1)=no
 
5359
  ;;
5343
5360
  *)
5344
5361
    _LT_AC_TAGVAR(export_symbols_cmds, $1)='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
5345
5362
  ;;
5364
5381
  _LT_AC_TAGVAR(link_all_deplibs, $1)=unknown
5365
5382
  _LT_AC_TAGVAR(hardcode_automatic, $1)=no
5366
5383
  _LT_AC_TAGVAR(module_cmds, $1)=
5367
 
  _LT_AC_TAGVAR(module_expsym_cmds, $1)=  
 
5384
  _LT_AC_TAGVAR(module_expsym_cmds, $1)=
5368
5385
  _LT_AC_TAGVAR(always_export_symbols, $1)=no
5369
5386
  _LT_AC_TAGVAR(export_symbols_cmds, $1)='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
5370
5387
  # include_expsyms should be a list of space-separated symbols to be *always*
5469
5486
      fi
5470
5487
      ;;
5471
5488
 
5472
 
    netbsd*)
 
5489
    netbsd* | knetbsd*-gnu)
5473
5490
      if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
5474
5491
        _LT_AC_TAGVAR(archive_cmds, $1)='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
5475
5492
        wlarc=
5508
5525
      ;;
5509
5526
 
5510
5527
  linux*)
5511
 
    if $LD --help 2>&1 | egrep ': supported targets:.* elf' > /dev/null; then
 
5528
    if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
5512
5529
        tmp_archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
5513
5530
        _LT_AC_TAGVAR(archive_cmds, $1)="$tmp_archive_cmds"
5514
5531
      supports_anon_versioning=no
5527
5544
      else
5528
5545
        _LT_AC_TAGVAR(archive_expsym_cmds, $1)="$tmp_archive_cmds"
5529
5546
      fi
 
5547
      _LT_AC_TAGVAR(link_all_deplibs, $1)=no
5530
5548
    else
5531
5549
      _LT_AC_TAGVAR(ld_shlibs, $1)=no
5532
5550
    fi
5708
5726
      # Tell ltmain to make .lib files, not .a files.
5709
5727
      libext=lib
5710
5728
      # Tell ltmain to make .dll files, not .so files.
5711
 
      shrext=".dll"
 
5729
      shrext_cmds=".dll"
5712
5730
      # FIXME: Setting linknames here is a bad hack.
5713
5731
      _LT_AC_TAGVAR(archive_cmds, $1)='$CC -o $lib $libobjs $compiler_flags `echo "$deplibs" | $SED -e '\''s/ -lc$//'\''` -link -dll~linknames='
5714
5732
      # The linker will automatically build a .lib file if we build a DLL.
5720
5738
      ;;
5721
5739
 
5722
5740
    darwin* | rhapsody*)
5723
 
    if $CC -v 2>&1 | grep 'Apple' >/dev/null ; then 
 
5741
    if test "$GXX" = yes ; then
5724
5742
      _LT_AC_TAGVAR(archive_cmds_need_lc, $1)=no
5725
5743
      case "$host_os" in
5726
5744
      rhapsody* | darwin1.[[012]])
5727
5745
        _LT_AC_TAGVAR(allow_undefined_flag, $1)='-undefined suppress'
5728
5746
        ;;
5729
5747
      *) # Darwin 1.3 on
5730
 
        test -z ${LD_TWOLEVEL_NAMESPACE} && _LT_AC_TAGVAR(allow_undefined_flag, $1)='-flat_namespace -undefined suppress'
 
5748
      if test -z ${MACOSX_DEPLOYMENT_TARGET} ; then
 
5749
        _LT_AC_TAGVAR(allow_undefined_flag, $1)='-flat_namespace -undefined suppress'
 
5750
      else
 
5751
        case ${MACOSX_DEPLOYMENT_TARGET} in
 
5752
          10.[[012]])
 
5753
            _LT_AC_TAGVAR(allow_undefined_flag, $1)='-flat_namespace -undefined suppress'
 
5754
            ;;
 
5755
          10.*)
 
5756
            _LT_AC_TAGVAR(allow_undefined_flag, $1)='-undefined dynamic_lookup'
 
5757
            ;;
 
5758
        esac
 
5759
      fi
5731
5760
        ;;
5732
5761
      esac
5733
 
      # FIXME: Relying on posixy $() will cause problems for
5734
 
      #        cross-compilation, but unfortunately the echo tests do not
5735
 
      #        yet detect zsh echo's removal of \ escapes.  Also zsh mangles
5736
 
      #        `"' quotes if we put them in here... so don't!
5737
5762
        lt_int_apple_cc_single_mod=no
5738
5763
        output_verbose_link_cmd='echo'
5739
5764
        if $CC -dumpspecs 2>&1 | grep 'single_module' >/dev/null ; then
5744
5769
        else
5745
5770
        _LT_AC_TAGVAR(archive_cmds, $1)='$CC -r ${wl}-bind_at_load -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'
5746
5771
      fi
5747
 
      _LT_AC_TAGVAR(module_cmds, $1)='$CC -bundle ${wl}-bind_at_load $allow_undefined_flag -o $lib $libobjs $deplibs$compiler_flags'
 
5772
      _LT_AC_TAGVAR(module_cmds, $1)='$CC ${wl}-bind_at_load $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
5748
5773
      # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin ld's
5749
5774
        if test "X$lt_int_apple_cc_single_mod" = Xyes ; then
5750
5775
          _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}'
5751
5776
        else
5752
5777
          _LT_AC_TAGVAR(archive_expsym_cmds, $1)='sed -e "s,#.*,," -e "s,^[    ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC -r ${wl}-bind_at_load -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}'
5753
5778
        fi
5754
 
          _LT_AC_TAGVAR(module_expsym_cmds, $1)='sed -e "s,#.*,," -e "s,^[    ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC -bundle $allow_undefined_flag  -o $lib $libobjs $deplibs$compiler_flags~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
 
5779
          _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}'
5755
5780
      _LT_AC_TAGVAR(hardcode_direct, $1)=no
5756
5781
      _LT_AC_TAGVAR(hardcode_automatic, $1)=yes
5757
5782
      _LT_AC_TAGVAR(hardcode_shlibpath_var, $1)=unsupported
5758
5783
      _LT_AC_TAGVAR(whole_archive_flag_spec, $1)='-all_load $convenience'
5759
5784
      _LT_AC_TAGVAR(link_all_deplibs, $1)=yes
5760
 
    fi  
 
5785
    else
 
5786
      _LT_AC_TAGVAR(ld_shlibs, $1)=no
 
5787
    fi
5761
5788
      ;;
5762
5789
 
5763
5790
    dgux*)
5790
5817
      ;;
5791
5818
 
5792
5819
    # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
5793
 
    freebsd*)
 
5820
    freebsd* | kfreebsd*-gnu)
5794
5821
      _LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared -o $lib $libobjs $deplibs $compiler_flags'
5795
5822
      _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='-R$libdir'
5796
5823
      _LT_AC_TAGVAR(hardcode_direct, $1)=yes
5877
5904
      _LT_AC_TAGVAR(link_all_deplibs, $1)=yes
5878
5905
      ;;
5879
5906
 
5880
 
    netbsd*)
 
5907
    netbsd* | knetbsd*-gnu)
5881
5908
      if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
5882
5909
        _LT_AC_TAGVAR(archive_cmds, $1)='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'  # a.out
5883
5910
      else
6107
6134
      AC_MSG_CHECKING([whether -lc should be explicitly linked in])
6108
6135
      $rm conftest*
6109
6136
      printf "$lt_simple_compile_test_code" > conftest.$ac_ext
6110
 
  
 
6137
 
6111
6138
      if AC_TRY_EVAL(ac_compile) 2>conftest.err; then
6112
6139
        soname=conftest
6113
6140
        lib=conftest
6356
6383
# Call AM_AUTOMAKE_VERSION so it can be traced.
6357
6384
# This function is AC_REQUIREd by AC_INIT_AUTOMAKE.
6358
6385
AC_DEFUN([AM_SET_CURRENT_AUTOMAKE_VERSION],
6359
 
         [AM_AUTOMAKE_VERSION([1.8.2])])
 
6386
         [AM_AUTOMAKE_VERSION([1.8.4])])
6360
6387
 
6361
6388
# AM_AUX_DIR_EXPAND
6362
6389
 
6465
6492
Usually this means the macro was only invoked conditionally.])
6466
6493
fi])])
6467
6494
 
6468
 
# serial 6                                              -*- Autoconf -*-
 
6495
# serial 7                                              -*- Autoconf -*-
6469
6496
 
6470
6497
# Copyright (C) 1999, 2000, 2001, 2002, 2003, 2004
6471
6498
# Free Software Foundation, Inc.
6552
6579
    : > sub/conftest.c
6553
6580
    for i in 1 2 3 4 5 6; do
6554
6581
      echo '#include "conftst'$i'.h"' >> sub/conftest.c
6555
 
      : > sub/conftst$i.h
 
6582
      # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
 
6583
      # Solaris 8's {/usr,}/bin/sh.
 
6584
      touch sub/conftst$i.h
6556
6585
    done
6557
6586
    echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
6558
6587
 
6580
6609
       grep sub/conftest.${OBJEXT-o} sub/conftest.Po > /dev/null 2>&1 &&
6581
6610
       ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
6582
6611
      # icc doesn't choke on unknown options, it will just issue warnings
6583
 
      # (even with -Werror).  So we grep stderr for any message
6584
 
      # that says an option was ignored.
6585
 
      if grep 'ignoring option' conftest.err >/dev/null 2>&1; then :; else
 
6612
      # or remarks (even with -Werror).  So we grep stderr for any message
 
6613
      # that says an option was ignored or not supported.
 
6614
      # When given -MP, icc 7.0 and 7.1 complain thusly:
 
6615
      #   icc: Command line warning: ignoring option '-M'; no argument required
 
6616
      # The diagnosis changed in icc 8.0:
 
6617
      #   icc: Command line remark: option '-MP' not supported
 
6618
      if (grep 'ignoring option' conftest.err ||
 
6619
          grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
6586
6620
        am_cv_$1_dependencies_compiler_type=$depmode
6587
6621
        break
6588
6622
      fi
6628
6662
 
6629
6663
# Generate code to set up dependency tracking.   -*- Autoconf -*-
6630
6664
 
6631
 
# Copyright (C) 1999, 2000, 2001, 2002, 2003 Free Software Foundation, Inc.
 
6665
# Copyright (C) 1999, 2000, 2001, 2002, 2003, 2004 Free Software Foundation, Inc.
6632
6666
 
6633
6667
# This program is free software; you can redistribute it and/or modify
6634
6668
# it under the terms of the GNU General Public License as published by
6667
6701
  grep '^DEP_FILES *= *[[^ @%:@]]' < "$mf" > /dev/null || continue
6668
6702
  # Extract the definition of DEP_FILES from the Makefile without
6669
6703
  # running `make'.
6670
 
  DEPDIR=`sed -n -e '/^DEPDIR = / s///p' < "$mf"`
 
6704
  DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"`
6671
6705
  test -z "$DEPDIR" && continue
6672
6706
  # When using ansi2knr, U may be empty or an underscore; expand it
6673
 
  U=`sed -n -e '/^U = / s///p' < "$mf"`
 
6707
  U=`sed -n 's/^U = //p' < "$mf"`
6674
6708
  test -d "$dirpart/$DEPDIR" || mkdir "$dirpart/$DEPDIR"
6675
6709
  # We invoke sed twice because it is the simplest approach to
6676
6710
  # changing $(DEPDIR) to its actual value in the expansion.
6677
 
  for file in `sed -n -e '
 
6711
  for file in `sed -n '
6678
6712
    /^DEP_FILES = .*\\\\$/ {
6679
6713
      s/^DEP_FILES = //
6680
6714
      :loop
7097
7131
#
7098
7132
# Do not use -m 0755 and let people choose whatever they expect by
7099
7133
# setting umask.
 
7134
#
 
7135
# We cannot accept any implementation of `mkdir' that recognizes `-p'.
 
7136
# Some implementations (such as Solaris 8's) are not thread-safe: if a
 
7137
# parallel make tries to run `mkdir -p a/b' and `mkdir -p a/c'
 
7138
# concurrently, both version can detect that a/ is missing, but only
 
7139
# one can create it and the other will error out.  Consequently we
 
7140
# restrict ourselves to GNU make (using the --version option ensures
 
7141
# this.)
7100
7142
AC_DEFUN([AM_PROG_MKDIR_P],
7101
 
[if mkdir -p -- . 2>/dev/null; then
 
7143
[if mkdir -p --version . >/dev/null 2>&1 && test ! -d ./--version; then
7102
7144
  # Keeping the `.' argument allows $(mkdir_p) to be used without
7103
7145
  # argument.  Indeed, we sometimes output rules like
7104
7146
  #   $(mkdir_p) $(somedir)
7111
7153
  # recognize any option.  It will interpret all options as
7112
7154
  # directories to create, and then abort because `.' already
7113
7155
  # exists.
7114
 
  for d in ./-p ./--;
 
7156
  for d in ./-p ./--version;
7115
7157
  do
7116
7158
    test -d $d && rmdir $d
7117
7159
  done
7271
7313
INSTALL_STRIP_PROGRAM="\${SHELL} \$(install_sh) -c -s"
7272
7314
AC_SUBST([INSTALL_STRIP_PROGRAM])])
7273
7315
 
7274
 
m4_include([m4/X11.m4])
7275
 
m4_include([m4/debug.m4])
7276
 
m4_include([m4/depends.m4])
7277
 
m4_include([m4/i18n.m4])
 
7316
m4_include([../uploaded/libxfce4util-4.0.5/m4//X11.m4])
 
7317
m4_include([../uploaded/libxfce4util-4.0.5/m4//debug.m4])
 
7318
m4_include([../uploaded/libxfce4util-4.0.5/m4//depends.m4])
 
7319
m4_include([../uploaded/libxfce4util-4.0.5/m4//i18n.m4])