~ghantoos/alltray/old-maintenance-ghantoos

« back to all changes in this revision

Viewing changes to aclocal.m4

  • Committer: Michael B. Trausch
  • Date: 2008-12-28 20:43:54 UTC
  • Revision ID: mike@trausch.us-20081228204354-g4gmdwhx0xawzkkl
Tags: v0.70
Import of version 0.70

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
 
# generated automatically by aclocal 1.9.6 -*- Autoconf -*-
 
1
# generated automatically by aclocal 1.10 -*- Autoconf -*-
2
2
 
3
3
# Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004,
4
 
# 2005  Free Software Foundation, Inc.
 
4
# 2005, 2006  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])])
 
18
 
14
19
# libtool.m4 - Configure libtool for the host system. -*-Autoconf-*-
15
20
 
16
 
# serial 48 AC_PROG_LIBTOOL
 
21
# serial 51 Debian 1.5.24-1ubuntu1 AC_PROG_LIBTOOL
17
22
 
18
23
 
19
24
# AC_PROVIDE_IFELSE(MACRO-NAME, IF-PROVIDED, IF-NOT-PROVIDED)
176
181
test -z "$ac_objext" && ac_objext=o
177
182
 
178
183
# Determine commands to create old-style static archives.
179
 
old_archive_cmds='$AR $AR_FLAGS $oldlib$oldobjs$old_deplibs'
 
184
old_archive_cmds='$AR $AR_FLAGS $oldlib$oldobjs'
180
185
old_postinstall_cmds='chmod 644 $oldlib'
181
186
old_postuninstall_cmds=
182
187
 
263
268
# Check for compiler boilerplate output or warnings with
264
269
# the simple compiler test code.
265
270
AC_DEFUN([_LT_COMPILER_BOILERPLATE],
266
 
[ac_outfile=conftest.$ac_objext
267
 
printf "$lt_simple_compile_test_code" >conftest.$ac_ext
 
271
[AC_REQUIRE([LT_AC_PROG_SED])dnl
 
272
ac_outfile=conftest.$ac_objext
 
273
echo "$lt_simple_compile_test_code" >conftest.$ac_ext
268
274
eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
269
275
_lt_compiler_boilerplate=`cat conftest.err`
270
276
$rm conftest*
276
282
# Check for linker boilerplate output or warnings with
277
283
# the simple link test code.
278
284
AC_DEFUN([_LT_LINKER_BOILERPLATE],
279
 
[ac_outfile=conftest.$ac_objext
280
 
printf "$lt_simple_link_test_code" >conftest.$ac_ext
 
285
[AC_REQUIRE([LT_AC_PROG_SED])dnl
 
286
ac_outfile=conftest.$ac_objext
 
287
echo "$lt_simple_link_test_code" >conftest.$ac_ext
281
288
eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
282
289
_lt_linker_boilerplate=`cat conftest.err`
283
290
$rm conftest*
293
300
# If we don't find anything, use the default library path according
294
301
# to the aix ld manual.
295
302
AC_DEFUN([_LT_AC_SYS_LIBPATH_AIX],
296
 
[AC_LINK_IFELSE(AC_LANG_PROGRAM,[
297
 
aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0  *\(.*\)$/\1/; p; }
298
 
}'`
 
303
[AC_REQUIRE([LT_AC_PROG_SED])dnl
 
304
AC_LINK_IFELSE(AC_LANG_PROGRAM,[
 
305
lt_aix_libpath_sed='
 
306
    /Import File Strings/,/^$/ {
 
307
        /^0/ {
 
308
            s/^0  *\(.*\)$/\1/
 
309
            p
 
310
        }
 
311
    }'
 
312
aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
299
313
# Check for a 64-bit object if we didn't find anything.
300
 
if test -z "$aix_libpath"; then aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0  *\(.*\)$/\1/; p; }
301
 
}'`; fi],[])
 
314
if test -z "$aix_libpath"; then
 
315
  aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
 
316
fi],[])
302
317
if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
303
318
])# _LT_AC_SYS_LIBPATH_AIX
304
319
 
529
544
  rm -rf conftest*
530
545
  ;;
531
546
 
532
 
x86_64-*linux*|ppc*-*linux*|powerpc*-*linux*|s390*-*linux*|sparc*-*linux*)
 
547
x86_64-*kfreebsd*-gnu|x86_64-*linux*|ppc*-*linux*|powerpc*-*linux*| \
 
548
s390*-*linux*|sparc*-*linux*)
533
549
  # Find out which ABI we are using.
534
550
  echo 'int i;' > conftest.$ac_ext
535
551
  if AC_TRY_EVAL(ac_compile); then
536
552
    case `/usr/bin/file conftest.o` in
537
553
    *32-bit*)
538
554
      case $host in
 
555
        x86_64-*kfreebsd*-gnu)
 
556
          LD="${LD-ld} -m elf_i386_fbsd"
 
557
          ;;
539
558
        x86_64-*linux*)
540
559
          LD="${LD-ld} -m elf_i386"
541
560
          ;;
552
571
      ;;
553
572
    *64-bit*)
554
573
      case $host in
 
574
        x86_64-*kfreebsd*-gnu)
 
575
          LD="${LD-ld} -m elf_x86_64_fbsd"
 
576
          ;;
555
577
        x86_64-*linux*)
556
578
          LD="${LD-ld} -m elf_x86_64"
557
579
          ;;
623
645
AC_CACHE_CHECK([$1], [$2],
624
646
  [$2=no
625
647
  ifelse([$4], , [ac_outfile=conftest.$ac_objext], [ac_outfile=$4])
626
 
   printf "$lt_simple_compile_test_code" > conftest.$ac_ext
 
648
   echo "$lt_simple_compile_test_code" > conftest.$ac_ext
627
649
   lt_compiler_flag="$3"
628
650
   # Insert the option either (1) after the last *FLAGS variable, or
629
651
   # (2) before a word containing "conftest.", or (3) at the end.
664
686
# ------------------------------------------------------------
665
687
# Check whether the given compiler option works
666
688
AC_DEFUN([AC_LIBTOOL_LINKER_OPTION],
667
 
[AC_CACHE_CHECK([$1], [$2],
 
689
[AC_REQUIRE([LT_AC_PROG_SED])dnl
 
690
AC_CACHE_CHECK([$1], [$2],
668
691
  [$2=no
669
692
   save_LDFLAGS="$LDFLAGS"
670
693
   LDFLAGS="$LDFLAGS $3"
671
 
   printf "$lt_simple_link_test_code" > conftest.$ac_ext
 
694
   echo "$lt_simple_link_test_code" > conftest.$ac_ext
672
695
   if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
673
696
     # The linker can only warn and ignore the option if not recognized
674
697
     # So say no if there are warnings
782
805
    fi
783
806
    ;;
784
807
  *)
785
 
    # If test is not a shell built-in, we'll probably end up computing a
786
 
    # maximum length that is only half of the actual maximum length, but
787
 
    # we can't tell.
788
 
    SHELL=${SHELL-${CONFIG_SHELL-/bin/sh}}
789
 
    while (test "X"`$SHELL [$]0 --fallback-echo "X$teststring" 2>/dev/null` \
 
808
    lt_cv_sys_max_cmd_len=`(getconf ARG_MAX) 2> /dev/null`
 
809
    if test -n "$lt_cv_sys_max_cmd_len"; then
 
810
      lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
 
811
      lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
 
812
    else
 
813
      SHELL=${SHELL-${CONFIG_SHELL-/bin/sh}}
 
814
      while (test "X"`$SHELL [$]0 --fallback-echo "X$teststring" 2>/dev/null` \
790
815
               = "XX$teststring") >/dev/null 2>&1 &&
791
 
            new_result=`expr "X$teststring" : ".*" 2>&1` &&
792
 
            lt_cv_sys_max_cmd_len=$new_result &&
793
 
            test $i != 17 # 1/2 MB should be enough
794
 
    do
795
 
      i=`expr $i + 1`
796
 
      teststring=$teststring$teststring
797
 
    done
798
 
    teststring=
799
 
    # Add a significant safety factor because C++ compilers can tack on massive
800
 
    # amounts of additional arguments before passing them to the linker.
801
 
    # It appears as though 1/2 is a usable value.
802
 
    lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 2`
 
816
              new_result=`expr "X$teststring" : ".*" 2>&1` &&
 
817
              lt_cv_sys_max_cmd_len=$new_result &&
 
818
              test $i != 17 # 1/2 MB should be enough
 
819
      do
 
820
        i=`expr $i + 1`
 
821
        teststring=$teststring$teststring
 
822
      done
 
823
      teststring=
 
824
      # Add a significant safety factor because C++ compilers can tack on massive
 
825
      # amounts of additional arguments before passing them to the linker.
 
826
      # It appears as though 1/2 is a usable value.
 
827
      lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 2`
 
828
    fi
803
829
    ;;
804
830
  esac
805
831
])
1026
1052
# ---------------------------------
1027
1053
# Check to see if options -c and -o are simultaneously supported by compiler
1028
1054
AC_DEFUN([AC_LIBTOOL_PROG_CC_C_O],
1029
 
[AC_REQUIRE([_LT_AC_SYS_COMPILER])dnl
 
1055
[AC_REQUIRE([LT_AC_PROG_SED])dnl
 
1056
AC_REQUIRE([_LT_AC_SYS_COMPILER])dnl
1030
1057
AC_CACHE_CHECK([if $compiler supports -c -o file.$ac_objext],
1031
1058
  [_LT_AC_TAGVAR(lt_cv_prog_compiler_c_o, $1)],
1032
1059
  [_LT_AC_TAGVAR(lt_cv_prog_compiler_c_o, $1)=no
1034
1061
   mkdir conftest
1035
1062
   cd conftest
1036
1063
   mkdir out
1037
 
   printf "$lt_simple_compile_test_code" > conftest.$ac_ext
 
1064
   echo "$lt_simple_compile_test_code" > conftest.$ac_ext
1038
1065
 
1039
1066
   lt_compiler_flag="-o out/conftest2.$ac_objext"
1040
1067
   # Insert the option either (1) after the last *FLAGS variable, or
1174
1201
   darwin*)
1175
1202
       if test -n "$STRIP" ; then
1176
1203
         striplib="$STRIP -x"
 
1204
         old_striplib="$STRIP -S"
1177
1205
         AC_MSG_RESULT([yes])
1178
1206
       else
1179
1207
  AC_MSG_RESULT([no])
1191
1219
# -----------------------------
1192
1220
# PORTME Fill in your ld.so characteristics
1193
1221
AC_DEFUN([AC_LIBTOOL_SYS_DYNAMIC_LINKER],
1194
 
[AC_MSG_CHECKING([dynamic linker characteristics])
 
1222
[AC_REQUIRE([LT_AC_PROG_SED])dnl
 
1223
AC_MSG_CHECKING([dynamic linker characteristics])
1195
1224
library_names_spec=
1196
1225
libname_spec='lib$name'
1197
1226
soname_spec=
1205
1234
version_type=none
1206
1235
dynamic_linker="$host_os ld.so"
1207
1236
sys_lib_dlsearch_path_spec="/lib /usr/lib"
 
1237
m4_if($1,[],[
1208
1238
if test "$GCC" = yes; then
1209
 
  sys_lib_search_path_spec=`$CC -print-search-dirs | grep "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
1210
 
  if echo "$sys_lib_search_path_spec" | grep ';' >/dev/null ; then
 
1239
  case $host_os in
 
1240
    darwin*) lt_awk_arg="/^libraries:/,/LR/" ;;
 
1241
    *) lt_awk_arg="/^libraries:/" ;;
 
1242
  esac
 
1243
  lt_search_path_spec=`$CC -print-search-dirs | awk $lt_awk_arg | $SED -e "s/^libraries://" -e "s,=/,/,g"`
 
1244
  if echo "$lt_search_path_spec" | grep ';' >/dev/null ; then
1211
1245
    # if the path contains ";" then we assume it to be the separator
1212
1246
    # otherwise default to the standard path separator (i.e. ":") - it is
1213
1247
    # assumed that no part of a normal pathname contains ";" but that should
1214
1248
    # okay in the real world where ";" in dirpaths is itself problematic.
1215
 
    sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
 
1249
    lt_search_path_spec=`echo "$lt_search_path_spec" | $SED -e 's/;/ /g'`
1216
1250
  else
1217
 
    sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED  -e "s/$PATH_SEPARATOR/ /g"`
 
1251
    lt_search_path_spec=`echo "$lt_search_path_spec" | $SED  -e "s/$PATH_SEPARATOR/ /g"`
1218
1252
  fi
 
1253
  # Ok, now we have the path, separated by spaces, we can step through it
 
1254
  # and add multilib dir if necessary.
 
1255
  lt_tmp_lt_search_path_spec=
 
1256
  lt_multi_os_dir=`$CC $CPPFLAGS $CFLAGS $LDFLAGS -print-multi-os-directory 2>/dev/null`
 
1257
  for lt_sys_path in $lt_search_path_spec; do
 
1258
    if test -d "$lt_sys_path/$lt_multi_os_dir"; then
 
1259
      lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path/$lt_multi_os_dir"
 
1260
    else
 
1261
      test -d "$lt_sys_path" && \
 
1262
        lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path"
 
1263
    fi
 
1264
  done
 
1265
  lt_search_path_spec=`echo $lt_tmp_lt_search_path_spec | awk '
 
1266
BEGIN {RS=" "; FS="/|\n";} {
 
1267
  lt_foo="";
 
1268
  lt_count=0;
 
1269
  for (lt_i = NF; lt_i > 0; lt_i--) {
 
1270
    if ($lt_i != "" && $lt_i != ".") {
 
1271
      if ($lt_i == "..") {
 
1272
        lt_count++;
 
1273
      } else {
 
1274
        if (lt_count == 0) {
 
1275
          lt_foo="/" $lt_i lt_foo;
 
1276
        } else {
 
1277
          lt_count--;
 
1278
        }
 
1279
      }
 
1280
    }
 
1281
  }
 
1282
  if (lt_foo != "") { lt_freq[[lt_foo]]++; }
 
1283
  if (lt_freq[[lt_foo]] == 1) { print lt_foo; }
 
1284
}'`
 
1285
  sys_lib_search_path_spec=`echo $lt_search_path_spec`
1219
1286
else
1220
1287
  sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"
1221
 
fi
 
1288
fi])
1222
1289
need_lib_prefix=unknown
1223
1290
hardcode_into_libs=no
1224
1291
 
1375
1442
  shlibpath_overrides_runpath=yes
1376
1443
  shlibpath_var=DYLD_LIBRARY_PATH
1377
1444
  shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`'
1378
 
  # Apple's gcc prints 'gcc -print-search-dirs' doesn't operate the same.
1379
 
  if test "$GCC" = yes; then
1380
 
    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"`
1381
 
  else
1382
 
    sys_lib_search_path_spec='/lib /usr/lib /usr/local/lib'
1383
 
  fi
 
1445
  m4_if([$1], [],[
 
1446
  sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/local/lib"]) 
1384
1447
  sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
1385
1448
  ;;
1386
1449
 
1397
1460
  dynamic_linker=no
1398
1461
  ;;
1399
1462
 
1400
 
kfreebsd*-gnu)
1401
 
  version_type=linux
1402
 
  need_lib_prefix=no
1403
 
  need_version=no
1404
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
1405
 
  soname_spec='${libname}${release}${shared_ext}$major'
1406
 
  shlibpath_var=LD_LIBRARY_PATH
1407
 
  shlibpath_overrides_runpath=no
1408
 
  hardcode_into_libs=yes
1409
 
  dynamic_linker='GNU ld.so'
1410
 
  ;;
1411
 
 
1412
1463
freebsd* | dragonfly*)
1413
1464
  # DragonFly does not have aout.  When/if they implement a new
1414
1465
  # versioning mechanism, adjust this.
1446
1497
    shlibpath_overrides_runpath=no
1447
1498
    hardcode_into_libs=yes
1448
1499
    ;;
1449
 
  freebsd*) # from 4.6 on
 
1500
  *) # from 4.6 on, and DragonFly
1450
1501
    shlibpath_overrides_runpath=yes
1451
1502
    hardcode_into_libs=yes
1452
1503
    ;;
1509
1560
  postinstall_cmds='chmod 555 $lib'
1510
1561
  ;;
1511
1562
 
1512
 
interix3*)
 
1563
interix[[3-9]]*)
1513
1564
  version_type=linux
1514
1565
  need_lib_prefix=no
1515
1566
  need_version=no
1564
1615
  ;;
1565
1616
 
1566
1617
# This must be Linux ELF.
1567
 
linux*)
 
1618
linux* | k*bsd*-gnu)
1568
1619
  version_type=linux
1569
1620
  need_lib_prefix=no
1570
1621
  need_version=no
1578
1629
  # before this can be enabled.
1579
1630
  hardcode_into_libs=yes
1580
1631
 
1581
 
  # find out which ABI we are using
1582
 
  libsuff=
1583
 
  case "$host_cpu" in
1584
 
  x86_64*|s390x*|powerpc64*)
1585
 
    echo '[#]line __oline__ "configure"' > conftest.$ac_ext
1586
 
    if AC_TRY_EVAL(ac_compile); then
1587
 
      case `/usr/bin/file conftest.$ac_objext` in
1588
 
      *64-bit*)
1589
 
        libsuff=64
1590
 
        sys_lib_search_path_spec="/lib${libsuff} /usr/lib${libsuff} /usr/local/lib${libsuff}"
1591
 
        ;;
1592
 
      esac
1593
 
    fi
1594
 
    rm -rf conftest*
1595
 
    ;;
1596
 
  esac
1597
 
 
1598
1632
  # Append ld.so.conf contents to the search path
1599
1633
  if test -f /etc/ld.so.conf; then
1600
 
    lt_ld_extra=`awk '/^include / { system(sprintf("cd /etc; cat %s", \[$]2)); skip = 1; } { if (!skip) print \[$]0; skip = 0; }' < /etc/ld.so.conf | $SED -e 's/#.*//;s/[:,    ]/ /g;s/=[^=]*$//;s/=[^= ]* / /g;/^$/d' | tr '\n' ' '`
1601
 
    sys_lib_dlsearch_path_spec="/lib${libsuff} /usr/lib${libsuff} $lt_ld_extra"
 
1634
    lt_ld_extra=`awk '/^include / { system(sprintf("cd /etc; cat %s 2>/dev/null", \[$]2)); skip = 1; } { if (!skip) print \[$]0; skip = 0; }' < /etc/ld.so.conf | $SED -e 's/#.*//;/^[  ]*hwcap[        ]/d;s/[:,       ]/ /g;s/=[^=]*$//;s/=[^= ]* / /g;/^$/d' | tr '\n' ' '`
 
1635
    sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra"
1602
1636
  fi
1603
1637
 
1604
1638
  # We used to test for /lib/ld.so.1 and disable shared libraries on
1610
1644
  dynamic_linker='GNU/Linux ld.so'
1611
1645
  ;;
1612
1646
 
1613
 
knetbsd*-gnu)
 
1647
netbsdelf*-gnu)
1614
1648
  version_type=linux
1615
1649
  need_lib_prefix=no
1616
1650
  need_version=no
1619
1653
  shlibpath_var=LD_LIBRARY_PATH
1620
1654
  shlibpath_overrides_runpath=no
1621
1655
  hardcode_into_libs=yes
1622
 
  dynamic_linker='GNU ld.so'
 
1656
  dynamic_linker='NetBSD ld.elf_so'
1623
1657
  ;;
1624
1658
 
1625
1659
netbsd*)
1703
1737
  sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec"
1704
1738
  ;;
1705
1739
 
 
1740
rdos*)
 
1741
  dynamic_linker=no
 
1742
  ;;
 
1743
 
1706
1744
solaris*)
1707
1745
  version_type=linux
1708
1746
  need_lib_prefix=no
1808
1846
# _LT_AC_TAGCONFIG
1809
1847
# ----------------
1810
1848
AC_DEFUN([_LT_AC_TAGCONFIG],
1811
 
[AC_ARG_WITH([tags],
 
1849
[AC_REQUIRE([LT_AC_PROG_SED])dnl
 
1850
AC_ARG_WITH([tags],
1812
1851
    [AC_HELP_STRING([--with-tags@<:@=TAGS@:>@],
1813
1852
        [include additional configurations @<:@automatic@:>@])],
1814
1853
    [tagnames="$withval"])
2069
2108
 
2070
2109
# AC_PATH_TOOL_PREFIX
2071
2110
# -------------------
2072
 
# find a file program which can recognise shared library
 
2111
# find a file program which can recognize shared library
2073
2112
AC_DEFUN([AC_PATH_TOOL_PREFIX],
2074
2113
[AC_REQUIRE([AC_PROG_EGREP])dnl
2075
2114
AC_MSG_CHECKING([for $1])
2132
2171
 
2133
2172
# AC_PATH_MAGIC
2134
2173
# -------------
2135
 
# find a file program which can recognise a shared library
 
2174
# find a file program which can recognize a shared library
2136
2175
AC_DEFUN([AC_PATH_MAGIC],
2137
2176
[AC_PATH_TOOL_PREFIX(${ac_tool_prefix}file, /usr/bin$PATH_SEPARATOR$PATH)
2138
2177
if test -z "$lt_cv_path_MAGIC_CMD"; then
2279
2318
# how to check for library dependencies
2280
2319
#  -- PORTME fill in with the dynamic library characteristics
2281
2320
AC_DEFUN([AC_DEPLIBS_CHECK_METHOD],
2282
 
[AC_CACHE_CHECK([how to recognise dependent libraries],
 
2321
[AC_CACHE_CHECK([how to recognize dependent libraries],
2283
2322
lt_cv_deplibs_check_method,
2284
2323
[lt_cv_file_magic_cmd='$MAGIC_CMD'
2285
2324
lt_cv_file_magic_test_file=
2318
2357
 
2319
2358
mingw* | pw32*)
2320
2359
  # Base MSYS/MinGW do not provide the 'file' command needed by
2321
 
  # func_win32_libid shell function, so use a weaker test based on 'objdump'.
2322
 
  lt_cv_deplibs_check_method='file_magic file format pei*-i386(.*architecture: i386)?'
2323
 
  lt_cv_file_magic_cmd='$OBJDUMP -f'
 
2360
  # func_win32_libid shell function, so use a weaker test based on 'objdump',
 
2361
  # unless we find 'file', for example because we are cross-compiling.
 
2362
  if ( file / ) >/dev/null 2>&1; then
 
2363
    lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
 
2364
    lt_cv_file_magic_cmd='func_win32_libid'
 
2365
  else
 
2366
    lt_cv_deplibs_check_method='file_magic file format pei*-i386(.*architecture: i386)?'
 
2367
    lt_cv_file_magic_cmd='$OBJDUMP -f'
 
2368
  fi
2324
2369
  ;;
2325
2370
 
2326
2371
darwin* | rhapsody*)
2327
2372
  lt_cv_deplibs_check_method=pass_all
2328
2373
  ;;
2329
2374
 
2330
 
freebsd* | kfreebsd*-gnu | dragonfly*)
 
2375
freebsd* | dragonfly*)
2331
2376
  if echo __ELF__ | $CC -E - | grep __ELF__ > /dev/null; then
2332
2377
    case $host_cpu in
2333
2378
    i*86 )
2365
2410
  esac
2366
2411
  ;;
2367
2412
 
2368
 
interix3*)
 
2413
interix[[3-9]]*)
2369
2414
  # PIC code is broken on Interix 3.x, that's why |\.a not |_pic\.a here
2370
2415
  lt_cv_deplibs_check_method='match_pattern /lib[[^/]]+(\.so|\.a)$'
2371
2416
  ;;
2381
2426
  ;;
2382
2427
 
2383
2428
# This must be Linux ELF.
2384
 
linux*)
 
2429
linux* | k*bsd*-gnu)
2385
2430
  lt_cv_deplibs_check_method=pass_all
2386
2431
  ;;
2387
2432
 
2388
 
netbsd*)
 
2433
netbsd* | netbsdelf*-gnu)
2389
2434
  if echo __ELF__ | $CC -E - | grep __ELF__ > /dev/null; then
2390
2435
    lt_cv_deplibs_check_method='match_pattern /lib[[^/]]+(\.so\.[[0-9]]+\.[[0-9]]+|_pic\.a)$'
2391
2436
  else
2415
2460
  lt_cv_deplibs_check_method=pass_all
2416
2461
  ;;
2417
2462
 
 
2463
rdos*)
 
2464
  lt_cv_deplibs_check_method=pass_all
 
2465
  ;;
 
2466
 
2418
2467
solaris*)
2419
2468
  lt_cv_deplibs_check_method=pass_all
2420
2469
  ;;
2467
2516
  lt_cv_path_NM="$NM"
2468
2517
else
2469
2518
  lt_nm_to_check="${ac_tool_prefix}nm"
2470
 
  if test -n "$ac_tool_prefix" && test "$build" = "$host"; then 
 
2519
  if test -n "$ac_tool_prefix" && test "$build" = "$host"; then
2471
2520
    lt_nm_to_check="$lt_nm_to_check nm"
2472
2521
  fi
2473
2522
  for lt_tmp_nm in $lt_nm_to_check; do
2683
2732
_LT_AC_TAGVAR(objext, $1)=$objext
2684
2733
 
2685
2734
# Code to be used in simple compile tests
2686
 
lt_simple_compile_test_code="int some_variable = 0;\n"
 
2735
lt_simple_compile_test_code="int some_variable = 0;"
2687
2736
 
2688
2737
# Code to be used in simple link tests
2689
 
lt_simple_link_test_code='int main(){return(0);}\n'
 
2738
lt_simple_link_test_code='int main(){return(0);}'
2690
2739
 
2691
2740
_LT_AC_SYS_COMPILER
2692
2741
 
2788
2837
_LT_AC_TAGVAR(objext, $1)=$objext
2789
2838
 
2790
2839
# Code to be used in simple compile tests
2791
 
lt_simple_compile_test_code="int some_variable = 0;\n"
 
2840
lt_simple_compile_test_code="int some_variable = 0;"
2792
2841
 
2793
2842
# Code to be used in simple link tests
2794
 
lt_simple_link_test_code='int main(int, char *[[]]) { return(0); }\n'
 
2843
lt_simple_link_test_code='int main(int, char *[[]]) { return(0); }'
2795
2844
 
2796
2845
# ltmain only uses $CC for tagged configurations so make sure $CC is set.
2797
2846
_LT_AC_SYS_COMPILER
2937
2986
           strings "$collect2name" | grep resolve_lib_name >/dev/null
2938
2987
        then
2939
2988
          # We have reworked collect2
2940
 
          _LT_AC_TAGVAR(hardcode_direct, $1)=yes
 
2989
          :
2941
2990
        else
2942
2991
          # We have old collect2
2943
2992
          _LT_AC_TAGVAR(hardcode_direct, $1)=unsupported
3096
3145
      case $cc_basename in
3097
3146
        xlc*)
3098
3147
         output_verbose_link_cmd='echo'
3099
 
          _LT_AC_TAGVAR(archive_cmds, $1)='$CC -qmkshrobj ${wl}-single_module $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-install_name ${wl}`echo $rpath/$soname` $verstring'
 
3148
          _LT_AC_TAGVAR(archive_cmds, $1)='$CC -qmkshrobj ${wl}-single_module $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-install_name ${wl}`echo $rpath/$soname` $xlcverstring'
3100
3149
          _LT_AC_TAGVAR(module_cmds, $1)='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
3101
3150
          # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin lds
3102
 
          _LT_AC_TAGVAR(archive_expsym_cmds, $1)='sed -e "s,#.*,," -e "s,^[    ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC -qmkshrobj ${wl}-single_module $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-install_name ${wl}$rpath/$soname $verstring~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
 
3151
          _LT_AC_TAGVAR(archive_expsym_cmds, $1)='sed -e "s,#.*,," -e "s,^[    ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC -qmkshrobj ${wl}-single_module $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-install_name ${wl}$rpath/$soname $xlcverstring~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
3103
3152
          _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}'
3104
3153
          ;;
3105
3154
       *)
3133
3182
  freebsd-elf*)
3134
3183
    _LT_AC_TAGVAR(archive_cmds_need_lc, $1)=no
3135
3184
    ;;
3136
 
  freebsd* | kfreebsd*-gnu | dragonfly*)
 
3185
  freebsd* | dragonfly*)
3137
3186
    # FreeBSD 3 and later use GNU C++ and GNU ld with standard ELF
3138
3187
    # conventions
3139
3188
    _LT_AC_TAGVAR(ld_shlibs, $1)=yes
3182
3231
      _LT_AC_TAGVAR(hardcode_libdir_separator, $1)=:
3183
3232
 
3184
3233
      case $host_cpu in
3185
 
      hppa*64*|ia64*)
3186
 
        _LT_AC_TAGVAR(hardcode_libdir_flag_spec_ld, $1)='+b $libdir'
3187
 
        ;;
 
3234
      hppa*64*|ia64*) ;;
3188
3235
      *)
3189
3236
        _LT_AC_TAGVAR(export_dynamic_flag_spec, $1)='${wl}-E'
3190
3237
        ;;
3252
3299
        ;;
3253
3300
    esac
3254
3301
    ;;
3255
 
  interix3*)
 
3302
  interix[[3-9]]*)
3256
3303
    _LT_AC_TAGVAR(hardcode_direct, $1)=no
3257
3304
    _LT_AC_TAGVAR(hardcode_shlibpath_var, $1)=no
3258
3305
    _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-rpath,$libdir'
3292
3339
    _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-rpath ${wl}$libdir'
3293
3340
    _LT_AC_TAGVAR(hardcode_libdir_separator, $1)=:
3294
3341
    ;;
3295
 
  linux*)
 
3342
  linux* | k*bsd*-gnu)
3296
3343
    case $cc_basename in
3297
3344
      KCC*)
3298
3345
        # Kuck and Associates, Inc. (KAI) C++ Compiler
3372
3419
        # dependencies.
3373
3420
        output_verbose_link_cmd='templist=`$CC -shared $CFLAGS -v conftest.$objext 2>&1 | grep "ld"`; templist=`echo $templist | $SED "s/\(^.*ld.*\)\( .*ld .*$\)/\1/"`; list=""; for z in $templist; do case $z in conftest.$objext) list="$list $z";; *.$objext);; *) list="$list $z";;esac; done; echo $list'
3374
3421
        ;;
 
3422
      *)
 
3423
        case `$CC -V 2>&1 | sed 5q` in
 
3424
        *Sun\ C*)
 
3425
          # Sun C++ 5.9
 
3426
          _LT_AC_TAGVAR(no_undefined_flag, $1)=' -zdefs'
 
3427
          _LT_AC_TAGVAR(archive_cmds, $1)='$CC -G${allow_undefined_flag} -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
 
3428
          _LT_AC_TAGVAR(archive_expsym_cmds, $1)='$CC -G${allow_undefined_flag} -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-retain-symbols-file ${wl}$export_symbols'
 
3429
          _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='-R$libdir'
 
3430
          _LT_AC_TAGVAR(whole_archive_flag_spec, $1)='${wl}--whole-archive`new_convenience=; for conv in $convenience\"\"; do test -z \"$conv\" || new_convenience=\"$new_convenience,$conv\"; done; $echo \"$new_convenience\"` ${wl}--no-whole-archive'
 
3431
 
 
3432
          # Not sure whether something based on
 
3433
          # $CC $CFLAGS -v conftest.$objext -o libconftest$shared_ext 2>&1
 
3434
          # would be better.
 
3435
          output_verbose_link_cmd='echo'
 
3436
 
 
3437
          # Archives containing C++ object files must be created using
 
3438
          # "CC -xar", where "CC" is the Sun C++ compiler.  This is
 
3439
          # necessary to make sure instantiated templates are included
 
3440
          # in the archive.
 
3441
          _LT_AC_TAGVAR(old_archive_cmds, $1)='$CC -xar -o $oldlib $oldobjs'
 
3442
          ;;
 
3443
        esac
 
3444
        ;;
3375
3445
    esac
3376
3446
    ;;
3377
3447
  lynxos*)
3394
3464
        ;;
3395
3465
    esac
3396
3466
    ;;
3397
 
  netbsd*)
 
3467
  netbsd* | netbsdelf*-gnu)
3398
3468
    if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
3399
3469
      _LT_AC_TAGVAR(archive_cmds, $1)='$LD -Bshareable  -o $lib $predep_objects $libobjs $deplibs $postdep_objects $linker_flags'
3400
3470
      wlarc=
3410
3480
    _LT_AC_TAGVAR(ld_shlibs, $1)=no
3411
3481
    ;;
3412
3482
  openbsd*)
3413
 
    _LT_AC_TAGVAR(hardcode_direct, $1)=yes
3414
 
    _LT_AC_TAGVAR(hardcode_shlibpath_var, $1)=no
3415
 
    _LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $lib'
3416
 
    _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-rpath,$libdir'
3417
 
    if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
3418
 
      _LT_AC_TAGVAR(archive_expsym_cmds, $1)='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-retain-symbols-file,$export_symbols -o $lib'
3419
 
      _LT_AC_TAGVAR(export_dynamic_flag_spec, $1)='${wl}-E'
3420
 
      _LT_AC_TAGVAR(whole_archive_flag_spec, $1)="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
 
3483
    if test -f /usr/libexec/ld.so; then
 
3484
      _LT_AC_TAGVAR(hardcode_direct, $1)=yes
 
3485
      _LT_AC_TAGVAR(hardcode_shlibpath_var, $1)=no
 
3486
      _LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $lib'
 
3487
      _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-rpath,$libdir'
 
3488
      if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
 
3489
        _LT_AC_TAGVAR(archive_expsym_cmds, $1)='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-retain-symbols-file,$export_symbols -o $lib'
 
3490
        _LT_AC_TAGVAR(export_dynamic_flag_spec, $1)='${wl}-E'
 
3491
        _LT_AC_TAGVAR(whole_archive_flag_spec, $1)="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
 
3492
      fi
 
3493
      output_verbose_link_cmd='echo'
 
3494
    else
 
3495
      _LT_AC_TAGVAR(ld_shlibs, $1)=no
3421
3496
    fi
3422
 
    output_verbose_link_cmd='echo'
3423
3497
    ;;
3424
3498
  osf3*)
3425
3499
    case $cc_basename in
3581
3655
        case $host_os in
3582
3656
          solaris2.[[0-5]] | solaris2.[[0-5]].*) ;;
3583
3657
          *)
3584
 
            # The C++ compiler is used as linker so we must use $wl
3585
 
            # flag to pass the commands to the underlying system
3586
 
            # linker. We must also pass each convience library through
3587
 
            # to the system linker between allextract/defaultextract.
3588
 
            # The C++ compiler will combine linker options so we
3589
 
            # cannot just pass the convience library names through
3590
 
            # without $wl.
 
3658
            # The compiler driver will combine and reorder linker options,
 
3659
            # but understands `-z linker_flag'.
3591
3660
            # Supported since Solaris 2.6 (maybe 2.5.1?)
3592
 
            _LT_AC_TAGVAR(whole_archive_flag_spec, $1)='${wl}-z ${wl}allextract`for conv in $convenience\"\"; do test -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; $echo \"$new_convenience\"` ${wl}-z ${wl}defaultextract'
 
3661
            _LT_AC_TAGVAR(whole_archive_flag_spec, $1)='-z allextract$convenience -z defaultextract'
3593
3662
            ;;
3594
3663
        esac
3595
3664
        _LT_AC_TAGVAR(link_all_deplibs, $1)=yes
3636
3705
          fi
3637
3706
 
3638
3707
          _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-R $wl$libdir'
 
3708
          case $host_os in
 
3709
          solaris2.[[0-5]] | solaris2.[[0-5]].*) ;;
 
3710
          *)
 
3711
            _LT_AC_TAGVAR(whole_archive_flag_spec, $1)='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
 
3712
            ;;
 
3713
          esac
3639
3714
        fi
3640
3715
        ;;
3641
3716
    esac
3879
3954
# PORTME: override above test on systems where it is broken
3880
3955
ifelse([$1],[CXX],
3881
3956
[case $host_os in
3882
 
interix3*)
 
3957
interix[[3-9]]*)
3883
3958
  # Interix 3.5 installs completely hosed .la files for C++, so rather than
3884
3959
  # hack all around it, let's just trust "g++" to DTRT.
3885
3960
  _LT_AC_TAGVAR(predep_objects,$1)=
3887
3962
  _LT_AC_TAGVAR(postdeps,$1)=
3888
3963
  ;;
3889
3964
 
 
3965
linux*)
 
3966
  case `$CC -V 2>&1 | sed 5q` in
 
3967
  *Sun\ C*)
 
3968
    # Sun C++ 5.9
 
3969
    #
 
3970
    # The more standards-conforming stlport4 library is
 
3971
    # incompatible with the Cstd library. Avoid specifying
 
3972
    # it if it's in CXXFLAGS. Ignore libCrun as
 
3973
    # -library=stlport4 depends on it.
 
3974
    case " $CXX $CXXFLAGS " in
 
3975
    *" -library=stlport4 "*)
 
3976
      solaris_use_stlport4=yes
 
3977
      ;;
 
3978
    esac
 
3979
    if test "$solaris_use_stlport4" != yes; then
 
3980
      _LT_AC_TAGVAR(postdeps,$1)='-library=Cstd -library=Crun'
 
3981
    fi
 
3982
    ;;
 
3983
  esac
 
3984
  ;;
 
3985
 
3890
3986
solaris*)
3891
3987
  case $cc_basename in
3892
3988
  CC*)
 
3989
    # The more standards-conforming stlport4 library is
 
3990
    # incompatible with the Cstd library. Avoid specifying
 
3991
    # it if it's in CXXFLAGS. Ignore libCrun as
 
3992
    # -library=stlport4 depends on it.
 
3993
    case " $CXX $CXXFLAGS " in
 
3994
    *" -library=stlport4 "*)
 
3995
      solaris_use_stlport4=yes
 
3996
      ;;
 
3997
    esac
 
3998
 
3893
3999
    # Adding this requires a known-good setup of shared libraries for
3894
4000
    # Sun compiler versions before 5.6, else PIC objects from an old
3895
4001
    # archive will be linked into the output, leading to subtle bugs.
3896
 
    _LT_AC_TAGVAR(postdeps,$1)='-lCstd -lCrun'
 
4002
    if test "$solaris_use_stlport4" != yes; then
 
4003
      _LT_AC_TAGVAR(postdeps,$1)='-library=Cstd -library=Crun'
 
4004
    fi
3897
4005
    ;;
3898
4006
  esac
3899
4007
  ;;
3942
4050
_LT_AC_TAGVAR(objext, $1)=$objext
3943
4051
 
3944
4052
# Code to be used in simple compile tests
3945
 
lt_simple_compile_test_code="      subroutine t\n      return\n      end\n"
 
4053
lt_simple_compile_test_code="\
 
4054
      subroutine t
 
4055
      return
 
4056
      end
 
4057
"
3946
4058
 
3947
4059
# Code to be used in simple link tests
3948
 
lt_simple_link_test_code="      program t\n      end\n"
 
4060
lt_simple_link_test_code="\
 
4061
      program t
 
4062
      end
 
4063
"
3949
4064
 
3950
4065
# ltmain only uses $CC for tagged configurations so make sure $CC is set.
3951
4066
_LT_AC_SYS_COMPILER
4024
4139
_LT_AC_TAGVAR(objext, $1)=$objext
4025
4140
 
4026
4141
# Code to be used in simple compile tests
4027
 
lt_simple_compile_test_code="class foo {}\n"
 
4142
lt_simple_compile_test_code="class foo {}"
4028
4143
 
4029
4144
# Code to be used in simple link tests
4030
 
lt_simple_link_test_code='public class conftest { public static void main(String[[]] argv) {}; }\n'
 
4145
lt_simple_link_test_code='public class conftest { public static void main(String[[]] argv) {}; }'
4031
4146
 
4032
4147
# ltmain only uses $CC for tagged configurations so make sure $CC is set.
4033
4148
_LT_AC_SYS_COMPILER
4080
4195
_LT_AC_TAGVAR(objext, $1)=$objext
4081
4196
 
4082
4197
# Code to be used in simple compile tests
4083
 
lt_simple_compile_test_code='sample MENU { MENUITEM "&Soup", 100, CHECKED }\n'
 
4198
lt_simple_compile_test_code='sample MENU { MENUITEM "&Soup", 100, CHECKED }'
4084
4199
 
4085
4200
# Code to be used in simple link tests
4086
4201
lt_simple_link_test_code="$lt_simple_compile_test_code"
4169
4284
    _LT_AC_TAGVAR(module_cmds, $1) \
4170
4285
    _LT_AC_TAGVAR(module_expsym_cmds, $1) \
4171
4286
    _LT_AC_TAGVAR(lt_cv_prog_compiler_c_o, $1) \
 
4287
    _LT_AC_TAGVAR(fix_srcfile_path, $1) \
4172
4288
    _LT_AC_TAGVAR(exclude_expsyms, $1) \
4173
4289
    _LT_AC_TAGVAR(include_expsyms, $1); do
4174
4290
 
4215
4331
# Generated automatically by $PROGRAM (GNU $PACKAGE $VERSION$TIMESTAMP)
4216
4332
# NOTE: Changes made to this file will be lost: look at ltmain.sh.
4217
4333
#
4218
 
# Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001
 
4334
# Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004, 2005, 2006, 2007
4219
4335
# Free Software Foundation, Inc.
4220
4336
#
4221
4337
# This file is part of GNU Libtool:
4540
4656
sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
4541
4657
 
4542
4658
# Fix the shell variable \$srcfile for the compiler.
4543
 
fix_srcfile_path="$_LT_AC_TAGVAR(fix_srcfile_path, $1)"
 
4659
fix_srcfile_path=$lt_fix_srcfile_path
4544
4660
 
4545
4661
# Set to yes if exported symbols are required.
4546
4662
always_export_symbols=$_LT_AC_TAGVAR(always_export_symbols, $1)
4623
4739
# ---------------------------------
4624
4740
AC_DEFUN([AC_LIBTOOL_SYS_GLOBAL_SYMBOL_PIPE],
4625
4741
[AC_REQUIRE([AC_CANONICAL_HOST])
 
4742
AC_REQUIRE([LT_AC_PROG_SED])
4626
4743
AC_REQUIRE([AC_PROG_NM])
4627
4744
AC_REQUIRE([AC_OBJEXT])
4628
4745
# Check for command to grab the raw symbol name followed by C symbol from nm.
4659
4776
  lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'"
4660
4777
  lt_cv_sys_global_symbol_to_c_name_address="sed -n -e 's/^: \([[^ ]]*\) $/  {\\\"\1\\\", (lt_ptr) 0},/p' -e 's/^$symcode* \([[^ ]]*\) \([[^ ]]*\)$/  {\"\2\", (lt_ptr) \&\2},/p'"
4661
4778
  ;;
4662
 
linux*)
 
4779
linux* | k*bsd*-gnu)
4663
4780
  if test "$host_cpu" = ia64; then
4664
4781
    symcode='[[ABCDGIRSTW]]'
4665
4782
    lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'"
4849
4966
      # like `-m68040'.
4850
4967
      _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-m68020 -resident32 -malways-restore-a4'
4851
4968
      ;;
4852
 
    beos* | cygwin* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
 
4969
    beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
4853
4970
      # PIC is the default for these OSes.
4854
4971
      ;;
4855
 
    mingw* | os2* | pw32*)
 
4972
    mingw* | cygwin* | os2* | pw32*)
4856
4973
      # This hack is so that the source file can tell whether it is being
4857
4974
      # built for inclusion in a dll (and should export symbols for example).
 
4975
      # Although the cygwin gcc ignores -fPIC, still need this for old-style
 
4976
      # (--disable-auto-import) libraries
4858
4977
      _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-DDLL_EXPORT'
4859
4978
      ;;
4860
4979
    darwin* | rhapsody*)
4866
4985
      # DJGPP does not support shared libraries at all
4867
4986
      _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)=
4868
4987
      ;;
4869
 
    interix3*)
 
4988
    interix[[3-9]]*)
4870
4989
      # Interix 3.x gcc -fpic/-fPIC options generate broken code.
4871
4990
      # Instead, we relocate shared libraries at runtime.
4872
4991
      ;;
4932
5051
            ;;
4933
5052
        esac
4934
5053
        ;;
4935
 
      freebsd* | kfreebsd*-gnu | dragonfly*)
 
5054
      freebsd* | dragonfly*)
4936
5055
        # FreeBSD uses GNU C++
4937
5056
        ;;
4938
5057
      hpux9* | hpux10* | hpux11*)
4975
5094
            ;;
4976
5095
        esac
4977
5096
        ;;
4978
 
      linux*)
 
5097
      linux* | k*bsd*-gnu)
4979
5098
        case $cc_basename in
4980
5099
          KCC*)
4981
5100
            # KAI C++ Compiler
5002
5121
            _LT_AC_TAGVAR(lt_prog_compiler_static, $1)='-non_shared'
5003
5122
            ;;
5004
5123
          *)
 
5124
            case `$CC -V 2>&1 | sed 5q` in
 
5125
            *Sun\ C*)
 
5126
              # Sun C++ 5.9
 
5127
              _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-KPIC'
 
5128
              _LT_AC_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic'
 
5129
              _LT_AC_TAGVAR(lt_prog_compiler_wl, $1)='-Qoption ld '
 
5130
              ;;
 
5131
            esac
5005
5132
            ;;
5006
5133
        esac
5007
5134
        ;;
5018
5145
            ;;
5019
5146
        esac
5020
5147
        ;;
5021
 
      netbsd*)
 
5148
      netbsd* | netbsdelf*-gnu)
5022
5149
        ;;
5023
5150
      osf3* | osf4* | osf5*)
5024
5151
        case $cc_basename in
5122
5249
      _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-m68020 -resident32 -malways-restore-a4'
5123
5250
      ;;
5124
5251
 
5125
 
    beos* | cygwin* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
 
5252
    beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
5126
5253
      # PIC is the default for these OSes.
5127
5254
      ;;
5128
5255
 
5129
 
    mingw* | pw32* | os2*)
 
5256
    mingw* | cygwin* | pw32* | os2*)
5130
5257
      # This hack is so that the source file can tell whether it is being
5131
5258
      # built for inclusion in a dll (and should export symbols for example).
 
5259
      # Although the cygwin gcc ignores -fPIC, still need this for old-style
 
5260
      # (--disable-auto-import) libraries
5132
5261
      _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-DDLL_EXPORT'
5133
5262
      ;;
5134
5263
 
5138
5267
      _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-fno-common'
5139
5268
      ;;
5140
5269
 
5141
 
    interix3*)
 
5270
    interix[[3-9]]*)
5142
5271
      # Interix 3.x gcc -fpic/-fPIC options generate broken code.
5143
5272
      # Instead, we relocate shared libraries at runtime.
5144
5273
      ;;
5196
5325
       esac
5197
5326
       ;;
5198
5327
 
5199
 
    mingw* | pw32* | os2*)
 
5328
    mingw* | cygwin* | pw32* | os2*)
5200
5329
      # This hack is so that the source file can tell whether it is being
5201
5330
      # built for inclusion in a dll (and should export symbols for example).
5202
5331
      _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-DDLL_EXPORT'
5229
5358
      _LT_AC_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic'
5230
5359
      ;;
5231
5360
 
5232
 
    linux*)
 
5361
    linux* | k*bsd*-gnu)
5233
5362
      case $cc_basename in
5234
5363
      icc* | ecc*)
5235
5364
        _LT_AC_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,'
5248
5377
        # All Alpha code is PIC.
5249
5378
        _LT_AC_TAGVAR(lt_prog_compiler_static, $1)='-non_shared'
5250
5379
        ;;
 
5380
      *)
 
5381
        case `$CC -V 2>&1 | sed 5q` in
 
5382
        *Sun\ C*)
 
5383
          # Sun C 5.9
 
5384
          _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-KPIC'
 
5385
          _LT_AC_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic'
 
5386
          _LT_AC_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,'
 
5387
          ;;
 
5388
        *Sun\ F*)
 
5389
          # Sun Fortran 8.3 passes all unrecognized flags to the linker
 
5390
          _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-KPIC'
 
5391
          _LT_AC_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic'
 
5392
          _LT_AC_TAGVAR(lt_prog_compiler_wl, $1)=''
 
5393
          ;;
 
5394
        esac
 
5395
        ;;
5251
5396
      esac
5252
5397
      ;;
5253
5398
 
5257
5402
      _LT_AC_TAGVAR(lt_prog_compiler_static, $1)='-non_shared'
5258
5403
      ;;
5259
5404
 
 
5405
    rdos*)
 
5406
      _LT_AC_TAGVAR(lt_prog_compiler_static, $1)='-non_shared'
 
5407
      ;;
 
5408
 
5260
5409
    solaris*)
5261
5410
      _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-KPIC'
5262
5411
      _LT_AC_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic'
5351
5500
# ------------------------------------
5352
5501
# See if the linker supports building shared libraries.
5353
5502
AC_DEFUN([AC_LIBTOOL_PROG_LD_SHLIBS],
5354
 
[AC_MSG_CHECKING([whether the $compiler linker ($LD) supports shared libraries])
 
5503
[AC_REQUIRE([LT_AC_PROG_SED])dnl
 
5504
AC_MSG_CHECKING([whether the $compiler linker ($LD) supports shared libraries])
5355
5505
ifelse([$1],[CXX],[
5356
5506
  _LT_AC_TAGVAR(export_symbols_cmds, $1)='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
5357
5507
  case $host_os in
5368
5518
    _LT_AC_TAGVAR(export_symbols_cmds, $1)="$ltdll_cmds"
5369
5519
  ;;
5370
5520
  cygwin* | mingw*)
5371
 
    _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'
 
5521
    _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'
 
5522
  ;;
 
5523
  linux* | k*bsd*-gnu)
 
5524
    _LT_AC_TAGVAR(link_all_deplibs, $1)=no
5372
5525
  ;;
5373
5526
  *)
5374
5527
    _LT_AC_TAGVAR(export_symbols_cmds, $1)='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
5507
5660
      _LT_AC_TAGVAR(allow_undefined_flag, $1)=unsupported
5508
5661
      _LT_AC_TAGVAR(always_export_symbols, $1)=no
5509
5662
      _LT_AC_TAGVAR(enable_shared_with_static_runtimes, $1)=yes
5510
 
      _LT_AC_TAGVAR(export_symbols_cmds, $1)='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[[BCDGRS]] /s/.* \([[^ ]]*\)/\1 DATA/'\'' | $SED -e '\''/^[[AITW]] /s/.* //'\'' | sort | uniq > $export_symbols'
 
5663
      _LT_AC_TAGVAR(export_symbols_cmds, $1)='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[[BCDGRS]][[ ]]/s/.*[[ ]]\([[^ ]]*\)/\1 DATA/'\'' -e '\''/^[[AITW]][[ ]]/s/.*[[ ]]//'\'' | sort | uniq > $export_symbols'
5511
5664
 
5512
5665
      if $LD --help 2>&1 | grep 'auto-import' > /dev/null; then
5513
5666
        _LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
5525
5678
      fi
5526
5679
      ;;
5527
5680
 
5528
 
    interix3*)
 
5681
    interix[[3-9]]*)
5529
5682
      _LT_AC_TAGVAR(hardcode_direct, $1)=no
5530
5683
      _LT_AC_TAGVAR(hardcode_shlibpath_var, $1)=no
5531
5684
      _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-rpath,$libdir'
5540
5693
      _LT_AC_TAGVAR(archive_expsym_cmds, $1)='sed "s,^,_," $export_symbols >$output_objdir/$soname.expsym~$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--retain-symbols-file,$output_objdir/$soname.expsym ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
5541
5694
      ;;
5542
5695
 
5543
 
    linux*)
 
5696
    gnu* | linux* | k*bsd*-gnu)
5544
5697
      if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
5545
5698
        tmp_addflag=
5546
5699
        case $cc_basename,$host_cpu in
5558
5711
        ifc* | ifort*)                  # Intel Fortran compiler
5559
5712
          tmp_addflag=' -nofor_main' ;;
5560
5713
        esac
5561
 
        _LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared'"$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
 
5714
        case `$CC -V 2>&1 | sed 5q` in
 
5715
        *Sun\ C*)                       # Sun C 5.9
 
5716
          _LT_AC_TAGVAR(whole_archive_flag_spec, $1)='${wl}--whole-archive`new_convenience=; for conv in $convenience\"\"; do test -z \"$conv\" || new_convenience=\"$new_convenience,$conv\"; done; $echo \"$new_convenience\"` ${wl}--no-whole-archive'
 
5717
          tmp_sharedflag='-G' ;;
 
5718
        *Sun\ F*)                       # Sun Fortran 8.3
 
5719
          tmp_sharedflag='-G' ;;
 
5720
        *)
 
5721
          tmp_sharedflag='-shared' ;;
 
5722
        esac
 
5723
        _LT_AC_TAGVAR(archive_cmds, $1)='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
5562
5724
 
5563
5725
        if test $supports_anon_versioning = yes; then
5564
5726
          _LT_AC_TAGVAR(archive_expsym_cmds, $1)='$echo "{ global:" > $output_objdir/$libname.ver~
5565
5727
  cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
5566
5728
  $echo "local: *; };" >> $output_objdir/$libname.ver~
5567
 
          $CC -shared'"$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
 
5729
          $CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
5568
5730
        fi
 
5731
        _LT_AC_TAGVAR(link_all_deplibs, $1)=no
5569
5732
      else
5570
5733
        _LT_AC_TAGVAR(ld_shlibs, $1)=no
5571
5734
      fi
5572
5735
      ;;
5573
5736
 
5574
 
    netbsd*)
 
5737
    netbsd* | netbsdelf*-gnu)
5575
5738
      if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
5576
5739
        _LT_AC_TAGVAR(archive_cmds, $1)='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
5577
5740
        wlarc=
5604
5767
 
5605
5768
    sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX*)
5606
5769
      case `$LD -v 2>&1` in
5607
 
        *\ [[01]].* | *\ 2.[[0-9]].* | *\ 2.1[[0-5]].*) 
 
5770
        *\ [[01]].* | *\ 2.[[0-9]].* | *\ 2.1[[0-5]].*)
5608
5771
        _LT_AC_TAGVAR(ld_shlibs, $1)=no
5609
5772
        cat <<_LT_EOF 1>&2
5610
5773
 
5723
5886
           strings "$collect2name" | grep resolve_lib_name >/dev/null
5724
5887
          then
5725
5888
          # We have reworked collect2
5726
 
          _LT_AC_TAGVAR(hardcode_direct, $1)=yes
 
5889
          :
5727
5890
          else
5728
5891
          # We have old collect2
5729
5892
          _LT_AC_TAGVAR(hardcode_direct, $1)=unsupported
5816
5979
      # The linker will automatically build a .lib file if we build a DLL.
5817
5980
      _LT_AC_TAGVAR(old_archive_From_new_cmds, $1)='true'
5818
5981
      # FIXME: Should let the user specify the lib program.
5819
 
      _LT_AC_TAGVAR(old_archive_cmds, $1)='lib /OUT:$oldlib$oldobjs$old_deplibs'
 
5982
      _LT_AC_TAGVAR(old_archive_cmds, $1)='lib -OUT:$oldlib$oldobjs$old_deplibs'
5820
5983
      _LT_AC_TAGVAR(fix_srcfile_path, $1)='`cygpath -w "$srcfile"`'
5821
5984
      _LT_AC_TAGVAR(enable_shared_with_static_runtimes, $1)=yes
5822
5985
      ;;
5858
6021
      case $cc_basename in
5859
6022
        xlc*)
5860
6023
         output_verbose_link_cmd='echo'
5861
 
         _LT_AC_TAGVAR(archive_cmds, $1)='$CC -qmkshrobj $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-install_name ${wl}`echo $rpath/$soname` $verstring'
 
6024
         _LT_AC_TAGVAR(archive_cmds, $1)='$CC -qmkshrobj $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-install_name ${wl}`echo $rpath/$soname` $xlcverstring'
5862
6025
         _LT_AC_TAGVAR(module_cmds, $1)='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
5863
6026
          # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin lds
5864
 
         _LT_AC_TAGVAR(archive_expsym_cmds, $1)='sed -e "s,#.*,," -e "s,^[    ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC -qmkshrobj $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-install_name ${wl}$rpath/$soname $verstring~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
 
6027
         _LT_AC_TAGVAR(archive_expsym_cmds, $1)='sed -e "s,#.*,," -e "s,^[    ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC -qmkshrobj $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-install_name ${wl}$rpath/$soname $xlcverstring~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
5865
6028
          _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}'
5866
6029
          ;;
5867
6030
       *)
5901
6064
      ;;
5902
6065
 
5903
6066
    # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
5904
 
    freebsd* | kfreebsd*-gnu | dragonfly*)
 
6067
    freebsd* | dragonfly*)
5905
6068
      _LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared -o $lib $libobjs $deplibs $compiler_flags'
5906
6069
      _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='-R$libdir'
5907
6070
      _LT_AC_TAGVAR(hardcode_direct, $1)=yes
6003
6166
      _LT_AC_TAGVAR(link_all_deplibs, $1)=yes
6004
6167
      ;;
6005
6168
 
6006
 
    netbsd*)
 
6169
    netbsd* | netbsdelf*-gnu)
6007
6170
      if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
6008
6171
        _LT_AC_TAGVAR(archive_cmds, $1)='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'  # a.out
6009
6172
      else
6023
6186
      ;;
6024
6187
 
6025
6188
    openbsd*)
6026
 
      _LT_AC_TAGVAR(hardcode_direct, $1)=yes
6027
 
      _LT_AC_TAGVAR(hardcode_shlibpath_var, $1)=no
6028
 
      if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
6029
 
        _LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
6030
 
        _LT_AC_TAGVAR(archive_expsym_cmds, $1)='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols'
6031
 
        _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-rpath,$libdir'
6032
 
        _LT_AC_TAGVAR(export_dynamic_flag_spec, $1)='${wl}-E'
 
6189
      if test -f /usr/libexec/ld.so; then
 
6190
        _LT_AC_TAGVAR(hardcode_direct, $1)=yes
 
6191
        _LT_AC_TAGVAR(hardcode_shlibpath_var, $1)=no
 
6192
        if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
 
6193
          _LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
 
6194
          _LT_AC_TAGVAR(archive_expsym_cmds, $1)='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols'
 
6195
          _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-rpath,$libdir'
 
6196
          _LT_AC_TAGVAR(export_dynamic_flag_spec, $1)='${wl}-E'
 
6197
        else
 
6198
          case $host_os in
 
6199
           openbsd[[01]].* | openbsd2.[[0-7]] | openbsd2.[[0-7]].*)
 
6200
             _LT_AC_TAGVAR(archive_cmds, $1)='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
 
6201
             _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='-R$libdir'
 
6202
             ;;
 
6203
           *)
 
6204
             _LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
 
6205
             _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-rpath,$libdir'
 
6206
             ;;
 
6207
          esac
 
6208
        fi
6033
6209
      else
6034
 
       case $host_os in
6035
 
         openbsd[[01]].* | openbsd2.[[0-7]] | openbsd2.[[0-7]].*)
6036
 
           _LT_AC_TAGVAR(archive_cmds, $1)='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
6037
 
           _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='-R$libdir'
6038
 
           ;;
6039
 
         *)
6040
 
           _LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
6041
 
           _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-rpath,$libdir'
6042
 
           ;;
6043
 
       esac
 
6210
        _LT_AC_TAGVAR(ld_shlibs, $1)=no
6044
6211
      fi
6045
6212
      ;;
6046
6213
 
6099
6266
      case $host_os in
6100
6267
      solaris2.[[0-5]] | solaris2.[[0-5]].*) ;;
6101
6268
      *)
6102
 
        # The compiler driver will combine linker options so we
6103
 
        # cannot just pass the convience library names through
6104
 
        # without $wl, iff we do not link with $LD.
6105
 
        # Luckily, gcc supports the same syntax we need for Sun Studio.
 
6269
        # The compiler driver will combine and reorder linker options,
 
6270
        # but understands `-z linker_flag'.  GCC discards it without `$wl',
 
6271
        # but is careful enough not to reorder.
6106
6272
        # Supported since Solaris 2.6 (maybe 2.5.1?)
6107
 
        case $wlarc in
6108
 
        '')
6109
 
          _LT_AC_TAGVAR(whole_archive_flag_spec, $1)='-z allextract$convenience -z defaultextract' ;;
6110
 
        *)
6111
 
          _LT_AC_TAGVAR(whole_archive_flag_spec, $1)='${wl}-z ${wl}allextract`for conv in $convenience\"\"; do test -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; $echo \"$new_convenience\"` ${wl}-z ${wl}defaultextract' ;;
6112
 
        esac ;;
 
6273
        if test "$GCC" = yes; then
 
6274
          _LT_AC_TAGVAR(whole_archive_flag_spec, $1)='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
 
6275
        else
 
6276
          _LT_AC_TAGVAR(whole_archive_flag_spec, $1)='-z allextract$convenience -z defaultextract'
 
6277
        fi
 
6278
        ;;
6113
6279
      esac
6114
6280
      _LT_AC_TAGVAR(link_all_deplibs, $1)=yes
6115
6281
      ;;
6166
6332
      fi
6167
6333
      ;;
6168
6334
 
6169
 
    sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[[01]].[[10]]* | unixware7*)
 
6335
    sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[[01]].[[10]]* | unixware7* | sco3.2v5.0.[[024]]*)
6170
6336
      _LT_AC_TAGVAR(no_undefined_flag, $1)='${wl}-z,text'
6171
6337
      _LT_AC_TAGVAR(archive_cmds_need_lc, $1)=no
6172
6338
      _LT_AC_TAGVAR(hardcode_shlibpath_var, $1)=no
6241
6407
      # to ld, don't add -lc before -lgcc.
6242
6408
      AC_MSG_CHECKING([whether -lc should be explicitly linked in])
6243
6409
      $rm conftest*
6244
 
      printf "$lt_simple_compile_test_code" > conftest.$ac_ext
 
6410
      echo "$lt_simple_compile_test_code" > conftest.$ac_ext
6245
6411
 
6246
6412
      if AC_TRY_EVAL(ac_compile) 2>conftest.err; then
6247
6413
        soname=conftest
6344
6510
[AC_CHECK_TOOL(RC, windres, no)
6345
6511
])
6346
6512
 
 
6513
 
 
6514
# Cheap backport of AS_EXECUTABLE_P and required macros
 
6515
# from Autoconf 2.59; we should not use $as_executable_p directly.
 
6516
 
 
6517
# _AS_TEST_PREPARE
 
6518
# ----------------
 
6519
m4_ifndef([_AS_TEST_PREPARE],
 
6520
[m4_defun([_AS_TEST_PREPARE],
 
6521
[if test -x / >/dev/null 2>&1; then
 
6522
  as_executable_p='test -x'
 
6523
else
 
6524
  as_executable_p='test -f'
 
6525
fi
 
6526
])])# _AS_TEST_PREPARE
 
6527
 
 
6528
# AS_EXECUTABLE_P
 
6529
# ---------------
 
6530
# Check whether a file is executable.
 
6531
m4_ifndef([AS_EXECUTABLE_P],
 
6532
[m4_defun([AS_EXECUTABLE_P],
 
6533
[AS_REQUIRE([_AS_TEST_PREPARE])dnl
 
6534
$as_executable_p $1[]dnl
 
6535
])])# AS_EXECUTABLE_P
 
6536
 
6347
6537
# NOTE: This macro has been submitted for inclusion into   #
6348
6538
#  GNU Autoconf as AC_PROG_SED.  When it is available in   #
6349
6539
#  a released version of Autoconf we should remove this    #
6364
6554
  test -z "$as_dir" && as_dir=.
6365
6555
  for lt_ac_prog in sed gsed; do
6366
6556
    for ac_exec_ext in '' $ac_executable_extensions; do
6367
 
      if $as_executable_p "$as_dir/$lt_ac_prog$ac_exec_ext"; then
 
6557
      if AS_EXECUTABLE_P(["$as_dir/$lt_ac_prog$ac_exec_ext"]); then
6368
6558
        lt_ac_sed_list="$lt_ac_sed_list $as_dir/$lt_ac_prog$ac_exec_ext"
6369
6559
      fi
6370
6560
    done
6371
6561
  done
6372
6562
done
 
6563
IFS=$as_save_IFS
6373
6564
lt_ac_max=0
6374
6565
lt_ac_count=0
6375
6566
# Add /usr/xpg4/bin/sed as it is typically found on Solaris
6402
6593
done
6403
6594
])
6404
6595
SED=$lt_cv_path_SED
 
6596
AC_SUBST([SED])
6405
6597
AC_MSG_RESULT([$SED])
6406
6598
])
6407
6599
 
6543
6735
 
6544
6736
_PKG_TEXT
6545
6737
])],
6546
 
                [$4])
 
6738
                [AC_MSG_RESULT([no])
 
6739
                $4])
6547
6740
elif test $pkg_failed = untried; then
6548
6741
        ifelse([$4], , [AC_MSG_FAILURE(dnl
6549
6742
[The pkg-config script could not be found or is too old.  Make sure it
6552
6745
 
6553
6746
_PKG_TEXT
6554
6747
 
6555
 
To get pkg-config, see <http://www.freedesktop.org/software/pkgconfig>.])],
 
6748
To get pkg-config, see <http://pkg-config.freedesktop.org/>.])],
6556
6749
                [$4])
6557
6750
else
6558
6751
        $1[]_CFLAGS=$pkg_cv_[]$1[]_CFLAGS
6562
6755
fi[]dnl
6563
6756
])# PKG_CHECK_MODULES
6564
6757
 
6565
 
# Copyright (C) 2002, 2003, 2005  Free Software Foundation, Inc.
 
6758
# Copyright (C) 2002, 2003, 2005, 2006  Free Software Foundation, Inc.
6566
6759
#
6567
6760
# This file is free software; the Free Software Foundation
6568
6761
# gives unlimited permission to copy and/or distribute it,
6572
6765
# ----------------------------
6573
6766
# Automake X.Y traces this macro to ensure aclocal.m4 has been
6574
6767
# generated from the m4 files accompanying Automake X.Y.
6575
 
AC_DEFUN([AM_AUTOMAKE_VERSION], [am__api_version="1.9"])
 
6768
# (This private macro should not be called outside this file.)
 
6769
AC_DEFUN([AM_AUTOMAKE_VERSION],
 
6770
[am__api_version='1.10'
 
6771
dnl Some users find AM_AUTOMAKE_VERSION and mistake it for a way to
 
6772
dnl require some minimum version.  Point them to the right macro.
 
6773
m4_if([$1], [1.10], [],
 
6774
      [AC_FATAL([Do not call $0, use AM_INIT_AUTOMAKE([$1]).])])dnl
 
6775
])
 
6776
 
 
6777
# _AM_AUTOCONF_VERSION(VERSION)
 
6778
# -----------------------------
 
6779
# aclocal traces this macro to find the Autoconf version.
 
6780
# This is a private macro too.  Using m4_define simplifies
 
6781
# the logic in aclocal, which can simply ignore this definition.
 
6782
m4_define([_AM_AUTOCONF_VERSION], [])
6576
6783
 
6577
6784
# AM_SET_CURRENT_AUTOMAKE_VERSION
6578
6785
# -------------------------------
6579
 
# Call AM_AUTOMAKE_VERSION so it can be traced.
 
6786
# Call AM_AUTOMAKE_VERSION and AM_AUTOMAKE_VERSION so they can be traced.
6580
6787
# This function is AC_REQUIREd by AC_INIT_AUTOMAKE.
6581
6788
AC_DEFUN([AM_SET_CURRENT_AUTOMAKE_VERSION],
6582
 
         [AM_AUTOMAKE_VERSION([1.9.6])])
 
6789
[AM_AUTOMAKE_VERSION([1.10])dnl
 
6790
_AM_AUTOCONF_VERSION(m4_PACKAGE_VERSION)])
6583
6791
 
6584
6792
# AM_AUX_DIR_EXPAND                                         -*- Autoconf -*-
6585
6793
 
6659
6867
 
6660
6868
# AM_CONDITIONAL                                            -*- Autoconf -*-
6661
6869
 
6662
 
# Copyright (C) 1997, 2000, 2001, 2003, 2004, 2005
 
6870
# Copyright (C) 1997, 2000, 2001, 2003, 2004, 2005, 2006
6663
6871
# Free Software Foundation, Inc.
6664
6872
#
6665
6873
# This file is free software; the Free Software Foundation
6666
6874
# gives unlimited permission to copy and/or distribute it,
6667
6875
# with or without modifications, as long as this notice is preserved.
6668
6876
 
6669
 
# serial 7
 
6877
# serial 8
6670
6878
 
6671
6879
# AM_CONDITIONAL(NAME, SHELL-CONDITION)
6672
6880
# -------------------------------------
6675
6883
[AC_PREREQ(2.52)dnl
6676
6884
 ifelse([$1], [TRUE],  [AC_FATAL([$0: invalid condition: $1])],
6677
6885
        [$1], [FALSE], [AC_FATAL([$0: invalid condition: $1])])dnl
6678
 
AC_SUBST([$1_TRUE])
6679
 
AC_SUBST([$1_FALSE])
 
6886
AC_SUBST([$1_TRUE])dnl
 
6887
AC_SUBST([$1_FALSE])dnl
 
6888
_AM_SUBST_NOTMAKE([$1_TRUE])dnl
 
6889
_AM_SUBST_NOTMAKE([$1_FALSE])dnl
6680
6890
if $2; then
6681
6891
  $1_TRUE=
6682
6892
  $1_FALSE='#'
6690
6900
Usually this means the macro was only invoked conditionally.]])
6691
6901
fi])])
6692
6902
 
6693
 
 
6694
 
# Copyright (C) 1999, 2000, 2001, 2002, 2003, 2004, 2005
 
6903
# Copyright (C) 1999, 2000, 2001, 2002, 2003, 2004, 2005, 2006
6695
6904
# Free Software Foundation, Inc.
6696
6905
#
6697
6906
# This file is free software; the Free Software Foundation
6698
6907
# gives unlimited permission to copy and/or distribute it,
6699
6908
# with or without modifications, as long as this notice is preserved.
6700
6909
 
6701
 
# serial 8
 
6910
# serial 9
6702
6911
 
6703
6912
# There are a few dirty hacks below to avoid letting `AC_PROG_CC' be
6704
6913
# written in clear, in which case automake, when reading aclocal.m4,
6726
6935
ifelse([$1], CC,   [depcc="$CC"   am_compiler_list=],
6727
6936
       [$1], CXX,  [depcc="$CXX"  am_compiler_list=],
6728
6937
       [$1], OBJC, [depcc="$OBJC" am_compiler_list='gcc3 gcc'],
 
6938
       [$1], UPC,  [depcc="$UPC"  am_compiler_list=],
6729
6939
       [$1], GCJ,  [depcc="$GCJ"  am_compiler_list='gcc3 gcc'],
6730
6940
                   [depcc="$$1"   am_compiler_list=])
6731
6941
 
6791
7001
       depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
6792
7002
       $SHELL ./depcomp $depcc -c -o sub/conftest.${OBJEXT-o} sub/conftest.c \
6793
7003
         >/dev/null 2>conftest.err &&
 
7004
       grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
6794
7005
       grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
6795
7006
       grep sub/conftest.${OBJEXT-o} sub/conftest.Po > /dev/null 2>&1 &&
6796
7007
       ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
6843
7054
  AMDEPBACKSLASH='\'
6844
7055
fi
6845
7056
AM_CONDITIONAL([AMDEP], [test "x$enable_dependency_tracking" != xno])
6846
 
AC_SUBST([AMDEPBACKSLASH])
 
7057
AC_SUBST([AMDEPBACKSLASH])dnl
 
7058
_AM_SUBST_NOTMAKE([AMDEPBACKSLASH])dnl
6847
7059
])
6848
7060
 
6849
7061
# Generate code to set up dependency tracking.              -*- Autoconf -*-
6868
7080
  # some people rename them; so instead we look at the file content.
6869
7081
  # Grep'ing the first line is not enough: some people post-process
6870
7082
  # each Makefile.in and add a new line on top of each file to say so.
6871
 
  # So let's grep whole file.
6872
 
  if grep '^#.*generated by automake' $mf > /dev/null 2>&1; then
 
7083
  # Grep'ing the whole file is not good either: AIX grep has a line
 
7084
  # limit of 2048, but all sed's we know have understand at least 4000.
 
7085
  if sed 10q "$mf" | grep '^#.*generated by automake' > /dev/null 2>&1; then
6873
7086
    dirpart=`AS_DIRNAME("$mf")`
6874
7087
  else
6875
7088
    continue
6928
7141
 
6929
7142
# Do all the work for Automake.                             -*- Autoconf -*-
6930
7143
 
6931
 
# Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004, 2005
6932
 
# Free Software Foundation, Inc.
 
7144
# Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004,
 
7145
# 2005, 2006 Free Software Foundation, Inc.
6933
7146
#
6934
7147
# This file is free software; the Free Software Foundation
6935
7148
# gives unlimited permission to copy and/or distribute it,
6952
7165
# arguments mandatory, and then we can depend on a new Autoconf
6953
7166
# release and drop the old call support.
6954
7167
AC_DEFUN([AM_INIT_AUTOMAKE],
6955
 
[AC_PREREQ([2.58])dnl
 
7168
[AC_PREREQ([2.60])dnl
6956
7169
dnl Autoconf wants to disallow AM_ names.  We explicitly allow
6957
7170
dnl the ones we care about.
6958
7171
m4_pattern_allow([^AM_[A-Z]+FLAGS$])dnl
6959
7172
AC_REQUIRE([AM_SET_CURRENT_AUTOMAKE_VERSION])dnl
6960
7173
AC_REQUIRE([AC_PROG_INSTALL])dnl
6961
 
# test to see if srcdir already configured
6962
 
if test "`cd $srcdir && pwd`" != "`pwd`" &&
6963
 
   test -f $srcdir/config.status; then
6964
 
  AC_MSG_ERROR([source directory already configured; run "make distclean" there first])
 
7174
if test "`cd $srcdir && pwd`" != "`pwd`"; then
 
7175
  # Use -I$(srcdir) only when $(srcdir) != ., so that make's output
 
7176
  # is not polluted with repeated "-I."
 
7177
  AC_SUBST([am__isrc], [' -I$(srcdir)'])_AM_SUBST_NOTMAKE([am__isrc])dnl
 
7178
  # test to see if srcdir already configured
 
7179
  if test -f $srcdir/config.status; then
 
7180
    AC_MSG_ERROR([source directory already configured; run "make distclean" there first])
 
7181
  fi
6965
7182
fi
6966
7183
 
6967
7184
# test whether we have cygpath
6981
7198
 AC_SUBST([PACKAGE], [$1])dnl
6982
7199
 AC_SUBST([VERSION], [$2])],
6983
7200
[_AM_SET_OPTIONS([$1])dnl
 
7201
dnl Diagnose old-style AC_INIT with new-style AM_AUTOMAKE_INIT.
 
7202
m4_if(m4_ifdef([AC_PACKAGE_NAME], 1)m4_ifdef([AC_PACKAGE_VERSION], 1), 11,,
 
7203
  [m4_fatal([AC_INIT should be called with package and version arguments])])dnl
6984
7204
 AC_SUBST([PACKAGE], ['AC_PACKAGE_TARNAME'])dnl
6985
7205
 AC_SUBST([VERSION], ['AC_PACKAGE_VERSION'])])dnl
6986
7206
 
7016
7236
                  [_AM_DEPENDENCIES(CXX)],
7017
7237
                  [define([AC_PROG_CXX],
7018
7238
                          defn([AC_PROG_CXX])[_AM_DEPENDENCIES(CXX)])])dnl
 
7239
AC_PROVIDE_IFELSE([AC_PROG_OBJC],
 
7240
                  [_AM_DEPENDENCIES(OBJC)],
 
7241
                  [define([AC_PROG_OBJC],
 
7242
                          defn([AC_PROG_OBJC])[_AM_DEPENDENCIES(OBJC)])])dnl
7019
7243
])
7020
7244
])
7021
7245
 
7051
7275
# Define $install_sh.
7052
7276
AC_DEFUN([AM_PROG_INSTALL_SH],
7053
7277
[AC_REQUIRE([AM_AUX_DIR_EXPAND])dnl
7054
 
install_sh=${install_sh-"$am_aux_dir/install-sh"}
 
7278
install_sh=${install_sh-"\$(SHELL) $am_aux_dir/install-sh"}
7055
7279
AC_SUBST(install_sh)])
7056
7280
 
7057
7281
# Copyright (C) 2003, 2005  Free Software Foundation, Inc.
7129
7353
 
7130
7354
# Fake the existence of programs that GNU maintainers use.  -*- Autoconf -*-
7131
7355
 
7132
 
# Copyright (C) 1997, 1999, 2000, 2001, 2003, 2005
 
7356
# Copyright (C) 1997, 1999, 2000, 2001, 2003, 2004, 2005
7133
7357
# Free Software Foundation, Inc.
7134
7358
#
7135
7359
# This file is free software; the Free Software Foundation
7136
7360
# gives unlimited permission to copy and/or distribute it,
7137
7361
# with or without modifications, as long as this notice is preserved.
7138
7362
 
7139
 
# serial 4
 
7363
# serial 5
7140
7364
 
7141
7365
# AM_MISSING_PROG(NAME, PROGRAM)
7142
7366
# ------------------------------
7152
7376
# If it does, set am_missing_run to use it, otherwise, to nothing.
7153
7377
AC_DEFUN([AM_MISSING_HAS_RUN],
7154
7378
[AC_REQUIRE([AM_AUX_DIR_EXPAND])dnl
 
7379
AC_REQUIRE_AUX_FILE([missing])dnl
7155
7380
test x"${MISSING+set}" = xset || MISSING="\${SHELL} $am_aux_dir/missing"
7156
7381
# Use eval to expand $SHELL
7157
7382
if eval "$MISSING --run true"; then
7162
7387
fi
7163
7388
])
7164
7389
 
7165
 
# Copyright (C) 2003, 2004, 2005  Free Software Foundation, Inc.
 
7390
# Copyright (C) 2003, 2004, 2005, 2006  Free Software Foundation, Inc.
7166
7391
#
7167
7392
# This file is free software; the Free Software Foundation
7168
7393
# gives unlimited permission to copy and/or distribute it,
7170
7395
 
7171
7396
# AM_PROG_MKDIR_P
7172
7397
# ---------------
7173
 
# Check whether `mkdir -p' is supported, fallback to mkinstalldirs otherwise.
7174
 
#
7175
 
# Automake 1.8 used `mkdir -m 0755 -p --' to ensure that directories
7176
 
# created by `make install' are always world readable, even if the
7177
 
# installer happens to have an overly restrictive umask (e.g. 077).
7178
 
# This was a mistake.  There are at least two reasons why we must not
7179
 
# use `-m 0755':
7180
 
#   - it causes special bits like SGID to be ignored,
7181
 
#   - it may be too restrictive (some setups expect 775 directories).
7182
 
#
7183
 
# Do not use -m 0755 and let people choose whatever they expect by
7184
 
# setting umask.
7185
 
#
7186
 
# We cannot accept any implementation of `mkdir' that recognizes `-p'.
7187
 
# Some implementations (such as Solaris 8's) are not thread-safe: if a
7188
 
# parallel make tries to run `mkdir -p a/b' and `mkdir -p a/c'
7189
 
# concurrently, both version can detect that a/ is missing, but only
7190
 
# one can create it and the other will error out.  Consequently we
7191
 
# restrict ourselves to GNU make (using the --version option ensures
7192
 
# this.)
 
7398
# Check for `mkdir -p'.
7193
7399
AC_DEFUN([AM_PROG_MKDIR_P],
7194
 
[if mkdir -p --version . >/dev/null 2>&1 && test ! -d ./--version; then
7195
 
  # We used to keeping the `.' as first argument, in order to
7196
 
  # allow $(mkdir_p) to be used without argument.  As in
7197
 
  #   $(mkdir_p) $(somedir)
7198
 
  # where $(somedir) is conditionally defined.  However this is wrong
7199
 
  # for two reasons:
7200
 
  #  1. if the package is installed by a user who cannot write `.'
7201
 
  #     make install will fail,
7202
 
  #  2. the above comment should most certainly read
7203
 
  #     $(mkdir_p) $(DESTDIR)$(somedir)
7204
 
  #     so it does not work when $(somedir) is undefined and
7205
 
  #     $(DESTDIR) is not.
7206
 
  #  To support the latter case, we have to write
7207
 
  #     test -z "$(somedir)" || $(mkdir_p) $(DESTDIR)$(somedir),
7208
 
  #  so the `.' trick is pointless.
7209
 
  mkdir_p='mkdir -p --'
7210
 
else
7211
 
  # On NextStep and OpenStep, the `mkdir' command does not
7212
 
  # recognize any option.  It will interpret all options as
7213
 
  # directories to create, and then abort because `.' already
7214
 
  # exists.
7215
 
  for d in ./-p ./--version;
7216
 
  do
7217
 
    test -d $d && rmdir $d
7218
 
  done
7219
 
  # $(mkinstalldirs) is defined by Automake if mkinstalldirs exists.
7220
 
  if test -f "$ac_aux_dir/mkinstalldirs"; then
7221
 
    mkdir_p='$(mkinstalldirs)'
7222
 
  else
7223
 
    mkdir_p='$(install_sh) -d'
7224
 
  fi
7225
 
fi
7226
 
AC_SUBST([mkdir_p])])
 
7400
[AC_PREREQ([2.60])dnl
 
7401
AC_REQUIRE([AC_PROG_MKDIR_P])dnl
 
7402
dnl Automake 1.8 to 1.9.6 used to define mkdir_p.  We now use MKDIR_P,
 
7403
dnl while keeping a definition of mkdir_p for backward compatibility.
 
7404
dnl @MKDIR_P@ is magic: AC_OUTPUT adjusts its value for each Makefile.
 
7405
dnl However we cannot define mkdir_p as $(MKDIR_P) for the sake of
 
7406
dnl Makefile.ins that do not define MKDIR_P, so we do our own
 
7407
dnl adjustment using top_builddir (which is defined more often than
 
7408
dnl MKDIR_P).
 
7409
AC_SUBST([mkdir_p], ["$MKDIR_P"])dnl
 
7410
case $mkdir_p in
 
7411
  [[\\/$]]* | ?:[[\\/]]*) ;;
 
7412
  */*) mkdir_p="\$(top_builddir)/$mkdir_p" ;;
 
7413
esac
 
7414
])
7227
7415
 
7228
7416
# Helper functions for option handling.                     -*- Autoconf -*-
7229
7417
 
7335
7523
if test "$cross_compiling" != no; then
7336
7524
  AC_CHECK_TOOL([STRIP], [strip], :)
7337
7525
fi
7338
 
INSTALL_STRIP_PROGRAM="\${SHELL} \$(install_sh) -c -s"
 
7526
INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s"
7339
7527
AC_SUBST([INSTALL_STRIP_PROGRAM])])
7340
7528
 
 
7529
# Copyright (C) 2006  Free Software Foundation, Inc.
 
7530
#
 
7531
# This file is free software; the Free Software Foundation
 
7532
# gives unlimited permission to copy and/or distribute it,
 
7533
# with or without modifications, as long as this notice is preserved.
 
7534
 
 
7535
# _AM_SUBST_NOTMAKE(VARIABLE)
 
7536
# ---------------------------
 
7537
# Prevent Automake from outputing VARIABLE = @VARIABLE@ in Makefile.in.
 
7538
# This macro is traced by Automake.
 
7539
AC_DEFUN([_AM_SUBST_NOTMAKE])
 
7540
 
7341
7541
# Check how to create a tarball.                            -*- Autoconf -*-
7342
7542
 
7343
7543
# Copyright (C) 2004, 2005  Free Software Foundation, Inc.