~ubuntu-branches/ubuntu/wily/xfce4-panel/wily

« back to all changes in this revision

Viewing changes to configure

  • Committer: Package Import Robot
  • Author(s): Jackson Doak
  • Date: 2015-03-01 13:30:23 UTC
  • mfrom: (1.1.40)
  • Revision ID: package-import@ubuntu.com-20150301133023-e3s8470q95prsiay
Tags: 4.12.0-0ubuntu1
* New upstream release. LP: #1424887
  - Update french translation. LP: #1397353

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
1
#! /bin/sh
2
 
# From configure.ac b0e0492.
 
2
# From configure.ac 979d0af.
3
3
# Guess values for system-dependent variables and create Makefiles.
4
 
# Generated by GNU Autoconf 2.69 for xfce4-panel 4.11.2.
 
4
# Generated by GNU Autoconf 2.69 for xfce4-panel 4.12.0.
5
5
#
6
6
# Report bugs to <http://bugzilla.xfce.org/>.
7
7
#
597
597
# Identity of this package.
598
598
PACKAGE_NAME='xfce4-panel'
599
599
PACKAGE_TARNAME='xfce4-panel'
600
 
PACKAGE_VERSION='4.11.2'
601
 
PACKAGE_STRING='xfce4-panel 4.11.2'
 
600
PACKAGE_VERSION='4.12.0'
 
601
PACKAGE_STRING='xfce4-panel 4.12.0'
602
602
PACKAGE_BUGREPORT='http://bugzilla.xfce.org/'
603
603
PACKAGE_URL=''
604
604
 
764
764
LIBXFCE4PANEL_VERSION_API
765
765
LIBXFCE4PANEL_VERSION
766
766
LIBXFCE4PANEL_VERINFO
 
767
LT_SYS_LIBRARY_PATH
767
768
OTOOL64
768
769
OTOOL
769
770
LIPO
930
931
enable_shared
931
932
with_pic
932
933
enable_fast_install
 
934
with_aix_soname
933
935
with_sysroot
934
936
enable_libtool_lock
935
937
with_locales_dir
953
955
LIBS
954
956
CPPFLAGS
955
957
CPP
 
958
LT_SYS_LIBRARY_PATH
956
959
XMKMF
957
960
PKG_CONFIG
958
961
PKG_CONFIG_PATH
1499
1502
  # Omit some internal or obsolete options to make the list less imposing.
1500
1503
  # This message is too long to be a string in the A/UX 3.1 sh.
1501
1504
  cat <<_ACEOF
1502
 
\`configure' configures xfce4-panel 4.11.2 to adapt to many kinds of systems.
 
1505
\`configure' configures xfce4-panel 4.12.0 to adapt to many kinds of systems.
1503
1506
 
1504
1507
Usage: $0 [OPTION]... [VAR=VALUE]...
1505
1508
 
1573
1576
 
1574
1577
if test -n "$ac_init_help"; then
1575
1578
  case $ac_init_help in
1576
 
     short | recursive ) echo "Configuration of xfce4-panel 4.11.2:";;
 
1579
     short | recursive ) echo "Configuration of xfce4-panel 4.12.0:";;
1577
1580
   esac
1578
1581
  cat <<\_ACEOF
1579
1582
 
1621
1624
  --with-gnu-ld           assume the C compiler uses GNU ld [default=no]
1622
1625
  --with-pic[=PKGS]       try to use only PIC/non-PIC objects [default=use
1623
1626
                          both]
1624
 
  --with-sysroot=DIR Search for dependent libraries within DIR
1625
 
                        (or the compiler's sysroot if not specified).
 
1627
  --with-aix-soname=aix|svr4|both
 
1628
                          shared library versioning (aka "SONAME") variant to
 
1629
                          provide on AIX, [default=aix].
 
1630
  --with-sysroot[=DIR]    Search for dependent libraries within DIR (or the
 
1631
                          compiler's sysroot if not specified).
1626
1632
 
1627
1633
      --with-locales-dir=DIR  Install locales into DIR
1628
1634
 
1638
1644
  CPPFLAGS    (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if
1639
1645
              you have headers in a nonstandard directory <include dir>
1640
1646
  CPP         C preprocessor
 
1647
  LT_SYS_LIBRARY_PATH
 
1648
              User-defined run-time library search path.
1641
1649
  XMKMF       Path to xmkmf, Makefile generator for X Window System
1642
1650
  PKG_CONFIG  path to pkg-config utility
1643
1651
  PKG_CONFIG_PATH
1715
1723
test -n "$ac_init_help" && exit $ac_status
1716
1724
if $ac_init_version; then
1717
1725
  cat <<\_ACEOF
1718
 
xfce4-panel configure 4.11.2
 
1726
xfce4-panel configure 4.12.0
1719
1727
generated by GNU Autoconf 2.69
1720
1728
 
1721
1729
Copyright (C) 2012 Free Software Foundation, Inc.
2090
2098
This file contains any messages produced by compilers while
2091
2099
running configure, to aid debugging if configure makes a mistake.
2092
2100
 
2093
 
It was created by xfce4-panel $as_me 4.11.2, which was
 
2101
It was created by xfce4-panel $as_me 4.12.0, which was
2094
2102
generated by GNU Autoconf 2.69.  Invocation command line was
2095
2103
 
2096
2104
  $ $0 $@
2443
2451
 
2444
2452
ac_config_headers="$ac_config_headers config.h"
2445
2453
 
2446
 
am__api_version='1.14'
 
2454
am__api_version='1.15'
2447
2455
 
2448
2456
ac_aux_dir=
2449
2457
for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
2644
2652
ac_script='s/[\\$]/&&/g;s/;s,x,x,$//'
2645
2653
program_transform_name=`$as_echo "$program_transform_name" | sed "$ac_script"`
2646
2654
 
2647
 
# expand $ac_aux_dir to an absolute path
2648
 
am_aux_dir=`cd $ac_aux_dir && pwd`
 
2655
# Expand $ac_aux_dir to an absolute path.
 
2656
am_aux_dir=`cd "$ac_aux_dir" && pwd`
2649
2657
 
2650
2658
if test x"${MISSING+set}" != xset; then
2651
2659
  case $am_aux_dir in
2664
2672
$as_echo "$as_me: WARNING: 'missing' script is too old or missing" >&2;}
2665
2673
fi
2666
2674
 
2667
 
if test x"${install_sh}" != xset; then
 
2675
if test x"${install_sh+set}" != xset; then
2668
2676
  case $am_aux_dir in
2669
2677
  *\ * | *\     *)
2670
2678
    install_sh="\${SHELL} '$am_aux_dir/install-sh'" ;;
2958
2966
 
2959
2967
# Define the identity of the package.
2960
2968
 PACKAGE='xfce4-panel'
2961
 
 VERSION='4.11.2'
 
2969
 VERSION='4.12.0'
2962
2970
 
2963
2971
 
2964
2972
cat >>confdefs.h <<_ACEOF
2992
3000
# <http://lists.gnu.org/archive/html/automake/2012-07/msg00014.html>
2993
3001
mkdir_p='$(MKDIR_P)'
2994
3002
 
2995
 
# We need awk for the "check" target.  The system "awk" is bad on
2996
 
# some platforms.
 
3003
# We need awk for the "check" target (and possibly the TAP driver).  The
 
3004
# system "awk" is bad on some platforms.
2997
3005
# Always define AMTAR for backward compatibility.  Yes, it's still used
2998
3006
# in the wild :-(  We should find a proper way to deprecate it ...
2999
3007
AMTAR='$${TAR-tar}'
5791
5799
    $ECHO ""
5792
5800
}
5793
5801
 
5794
 
case "$ECHO" in
 
5802
case $ECHO in
5795
5803
  printf*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: printf" >&5
5796
5804
$as_echo "printf" >&6; } ;;
5797
5805
  print*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: print -r" >&5
5817
5825
 
5818
5826
# Check whether --with-gnu-ld was given.
5819
5827
if test "${with_gnu_ld+set}" = set; then :
5820
 
  withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes
 
5828
  withval=$with_gnu_ld; test no = "$withval" || with_gnu_ld=yes
5821
5829
else
5822
5830
  with_gnu_ld=no
5823
5831
fi
5824
5832
 
5825
5833
ac_prog=ld
5826
 
if test "$GCC" = yes; then
 
5834
if test yes = "$GCC"; then
5827
5835
  # Check if gcc -print-prog-name=ld gives a path.
5828
5836
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by $CC" >&5
5829
5837
$as_echo_n "checking for ld used by $CC... " >&6; }
5830
5838
  case $host in
5831
5839
  *-*-mingw*)
5832
 
    # gcc leaves a trailing carriage return which upsets mingw
 
5840
    # gcc leaves a trailing carriage return, which upsets mingw
5833
5841
    ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
5834
5842
  *)
5835
5843
    ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
5843
5851
      while $ECHO "$ac_prog" | $GREP "$re_direlt" > /dev/null 2>&1; do
5844
5852
        ac_prog=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"`
5845
5853
      done
5846
 
      test -z "$LD" && LD="$ac_prog"
 
5854
      test -z "$LD" && LD=$ac_prog
5847
5855
      ;;
5848
5856
  "")
5849
5857
    # If it fails, then pretend we aren't using GCC.
5854
5862
    with_gnu_ld=unknown
5855
5863
    ;;
5856
5864
  esac
5857
 
elif test "$with_gnu_ld" = yes; then
 
5865
elif test yes = "$with_gnu_ld"; then
5858
5866
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
5859
5867
$as_echo_n "checking for GNU ld... " >&6; }
5860
5868
else
5865
5873
  $as_echo_n "(cached) " >&6
5866
5874
else
5867
5875
  if test -z "$LD"; then
5868
 
  lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
 
5876
  lt_save_ifs=$IFS; IFS=$PATH_SEPARATOR
5869
5877
  for ac_dir in $PATH; do
5870
 
    IFS="$lt_save_ifs"
 
5878
    IFS=$lt_save_ifs
5871
5879
    test -z "$ac_dir" && ac_dir=.
5872
5880
    if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
5873
 
      lt_cv_path_LD="$ac_dir/$ac_prog"
 
5881
      lt_cv_path_LD=$ac_dir/$ac_prog
5874
5882
      # Check to see if the program is GNU ld.  I'd rather use --version,
5875
5883
      # but apparently some variants of GNU ld only accept -v.
5876
5884
      # Break only if it was the GNU/non-GNU ld that we prefer.
5877
5885
      case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
5878
5886
      *GNU* | *'with BFD'*)
5879
 
        test "$with_gnu_ld" != no && break
 
5887
        test no != "$with_gnu_ld" && break
5880
5888
        ;;
5881
5889
      *)
5882
 
        test "$with_gnu_ld" != yes && break
 
5890
        test yes != "$with_gnu_ld" && break
5883
5891
        ;;
5884
5892
      esac
5885
5893
    fi
5886
5894
  done
5887
 
  IFS="$lt_save_ifs"
 
5895
  IFS=$lt_save_ifs
5888
5896
else
5889
 
  lt_cv_path_LD="$LD" # Let the user override the test with a path.
 
5897
  lt_cv_path_LD=$LD # Let the user override the test with a path.
5890
5898
fi
5891
5899
fi
5892
5900
 
5893
 
LD="$lt_cv_path_LD"
 
5901
LD=$lt_cv_path_LD
5894
5902
if test -n "$LD"; then
5895
5903
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
5896
5904
$as_echo "$LD" >&6; }
6627
6635
 
6628
6636
 
6629
6637
 
6630
 
macro_version='2.4.2'
6631
 
macro_revision='1.3337'
6632
 
 
6633
 
 
6634
 
 
6635
 
 
6636
 
 
6637
 
 
6638
 
 
6639
 
 
6640
 
 
6641
 
 
6642
 
 
6643
 
 
6644
 
 
6645
 
ltmain="$ac_aux_dir/ltmain.sh"
 
6638
macro_version='2.4.5'
 
6639
macro_revision='2.4.5'
 
6640
 
 
6641
 
 
6642
 
 
6643
 
 
6644
 
 
6645
 
 
6646
 
 
6647
 
 
6648
 
 
6649
 
 
6650
 
 
6651
 
 
6652
 
 
6653
ltmain=$ac_aux_dir/ltmain.sh
6646
6654
 
6647
6655
# Backslashify metacharacters that are still active within
6648
6656
# double-quoted strings.
6668
6676
else
6669
6677
  if test -n "$NM"; then
6670
6678
  # Let the user override the test.
6671
 
  lt_cv_path_NM="$NM"
 
6679
  lt_cv_path_NM=$NM
6672
6680
else
6673
 
  lt_nm_to_check="${ac_tool_prefix}nm"
 
6681
  lt_nm_to_check=${ac_tool_prefix}nm
6674
6682
  if test -n "$ac_tool_prefix" && test "$build" = "$host"; then
6675
6683
    lt_nm_to_check="$lt_nm_to_check nm"
6676
6684
  fi
6677
6685
  for lt_tmp_nm in $lt_nm_to_check; do
6678
 
    lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
 
6686
    lt_save_ifs=$IFS; IFS=$PATH_SEPARATOR
6679
6687
    for ac_dir in $PATH /usr/ccs/bin/elf /usr/ccs/bin /usr/ucb /bin; do
6680
 
      IFS="$lt_save_ifs"
 
6688
      IFS=$lt_save_ifs
6681
6689
      test -z "$ac_dir" && ac_dir=.
6682
 
      tmp_nm="$ac_dir/$lt_tmp_nm"
6683
 
      if test -f "$tmp_nm" || test -f "$tmp_nm$ac_exeext" ; then
 
6690
      tmp_nm=$ac_dir/$lt_tmp_nm
 
6691
      if test -f "$tmp_nm" || test -f "$tmp_nm$ac_exeext"; then
6684
6692
        # Check to see if the nm accepts a BSD-compat flag.
6685
 
        # Adding the `sed 1q' prevents false positives on HP-UX, which says:
 
6693
        # Adding the 'sed 1q' prevents false positives on HP-UX, which says:
6686
6694
        #   nm: unknown option "B" ignored
6687
6695
        # Tru64's nm complains that /dev/null is an invalid object file
6688
 
        case `"$tmp_nm" -B /dev/null 2>&1 | sed '1q'` in
6689
 
        */dev/null* | *'Invalid file or object type'*)
 
6696
        # MSYS converts /dev/null to NUL, MinGW nm treats NUL as empty
 
6697
        case $build_os in
 
6698
        mingw*) lt_bad_file=conftest.nm/nofile ;;
 
6699
        *) lt_bad_file=/dev/null ;;
 
6700
        esac
 
6701
        case `"$tmp_nm" -B $lt_bad_file 2>&1 | sed '1q'` in
 
6702
        *$lt_bad_file* | *'Invalid file or object type'*)
6690
6703
          lt_cv_path_NM="$tmp_nm -B"
6691
 
          break
 
6704
          break 2
6692
6705
          ;;
6693
6706
        *)
6694
6707
          case `"$tmp_nm" -p /dev/null 2>&1 | sed '1q'` in
6695
6708
          */dev/null*)
6696
6709
            lt_cv_path_NM="$tmp_nm -p"
6697
 
            break
 
6710
            break 2
6698
6711
            ;;
6699
6712
          *)
6700
6713
            lt_cv_path_NM=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but
6705
6718
        esac
6706
6719
      fi
6707
6720
    done
6708
 
    IFS="$lt_save_ifs"
 
6721
    IFS=$lt_save_ifs
6709
6722
  done
6710
6723
  : ${lt_cv_path_NM=no}
6711
6724
fi
6712
6725
fi
6713
6726
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_NM" >&5
6714
6727
$as_echo "$lt_cv_path_NM" >&6; }
6715
 
if test "$lt_cv_path_NM" != "no"; then
6716
 
  NM="$lt_cv_path_NM"
 
6728
if test no != "$lt_cv_path_NM"; then
 
6729
  NM=$lt_cv_path_NM
6717
6730
else
6718
6731
  # Didn't find any BSD compatible name lister, look for dumpbin.
6719
6732
  if test -n "$DUMPBIN"; then :
6819
6832
  fi
6820
6833
fi
6821
6834
 
6822
 
    case `$DUMPBIN -symbols /dev/null 2>&1 | sed '1q'` in
 
6835
    case `$DUMPBIN -symbols -headers /dev/null 2>&1 | sed '1q'` in
6823
6836
    *COFF*)
6824
 
      DUMPBIN="$DUMPBIN -symbols"
 
6837
      DUMPBIN="$DUMPBIN -symbols -headers"
6825
6838
      ;;
6826
6839
    *)
6827
6840
      DUMPBIN=:
6829
6842
    esac
6830
6843
  fi
6831
6844
 
6832
 
  if test "$DUMPBIN" != ":"; then
6833
 
    NM="$DUMPBIN"
 
6845
  if test : != "$DUMPBIN"; then
 
6846
    NM=$DUMPBIN
6834
6847
  fi
6835
6848
fi
6836
6849
test -z "$NM" && NM=nm
6881
6894
  $as_echo_n "(cached) " >&6
6882
6895
else
6883
6896
    i=0
6884
 
  teststring="ABCD"
 
6897
  teststring=ABCD
6885
6898
 
6886
6899
  case $build_os in
6887
6900
  msdosdjgpp*)
6921
6934
    lt_cv_sys_max_cmd_len=8192;
6922
6935
    ;;
6923
6936
 
6924
 
  netbsd* | freebsd* | openbsd* | darwin* | dragonfly*)
 
6937
  bitrig* | darwin* | dragonfly* | freebsd* | netbsd* | openbsd*)
6925
6938
    # This has been around since 386BSD, at least.  Likely further.
6926
6939
    if test -x /sbin/sysctl; then
6927
6940
      lt_cv_sys_max_cmd_len=`/sbin/sysctl -n kern.argmax`
6972
6985
  *)
6973
6986
    lt_cv_sys_max_cmd_len=`(getconf ARG_MAX) 2> /dev/null`
6974
6987
    if test -n "$lt_cv_sys_max_cmd_len" && \
6975
 
        test undefined != "$lt_cv_sys_max_cmd_len"; then
 
6988
       test undefined != "$lt_cv_sys_max_cmd_len"; then
6976
6989
      lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
6977
6990
      lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
6978
6991
    else
6979
6992
      # Make teststring a little bigger before we do anything with it.
6980
6993
      # a 1K string should be a reasonable start.
6981
 
      for i in 1 2 3 4 5 6 7 8 ; do
 
6994
      for i in 1 2 3 4 5 6 7 8; do
6982
6995
        teststring=$teststring$teststring
6983
6996
      done
6984
6997
      SHELL=${SHELL-${CONFIG_SHELL-/bin/sh}}
6985
6998
      # If test is not a shell built-in, we'll probably end up computing a
6986
6999
      # maximum length that is only half of the actual maximum length, but
6987
7000
      # we can't tell.
6988
 
      while { test "X"`env echo "$teststring$teststring" 2>/dev/null` \
 
7001
      while { test X`env echo "$teststring$teststring" 2>/dev/null` \
6989
7002
                 = "X$teststring$teststring"; } >/dev/null 2>&1 &&
6990
 
              test $i != 17 # 1/2 MB should be enough
 
7003
              test 17 != "$i" # 1/2 MB should be enough
6991
7004
      do
6992
7005
        i=`expr $i + 1`
6993
7006
        teststring=$teststring$teststring
7005
7018
 
7006
7019
fi
7007
7020
 
7008
 
if test -n $lt_cv_sys_max_cmd_len ; then
 
7021
if test -n "$lt_cv_sys_max_cmd_len"; then
7009
7022
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sys_max_cmd_len" >&5
7010
7023
$as_echo "$lt_cv_sys_max_cmd_len" >&6; }
7011
7024
else
7023
7036
: ${MV="mv -f"}
7024
7037
: ${RM="rm -f"}
7025
7038
 
7026
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the shell understands some XSI constructs" >&5
7027
 
$as_echo_n "checking whether the shell understands some XSI constructs... " >&6; }
7028
 
# Try some XSI features
7029
 
xsi_shell=no
7030
 
( _lt_dummy="a/b/c"
7031
 
  test "${_lt_dummy##*/},${_lt_dummy%/*},${_lt_dummy#??}"${_lt_dummy%"$_lt_dummy"}, \
7032
 
      = c,a/b,b/c, \
7033
 
    && eval 'test $(( 1 + 1 )) -eq 2 \
7034
 
    && test "${#_lt_dummy}" -eq 5' ) >/dev/null 2>&1 \
7035
 
  && xsi_shell=yes
7036
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $xsi_shell" >&5
7037
 
$as_echo "$xsi_shell" >&6; }
7038
 
 
7039
 
 
7040
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the shell understands \"+=\"" >&5
7041
 
$as_echo_n "checking whether the shell understands \"+=\"... " >&6; }
7042
 
lt_shell_append=no
7043
 
( foo=bar; set foo baz; eval "$1+=\$2" && test "$foo" = barbaz ) \
7044
 
    >/dev/null 2>&1 \
7045
 
  && lt_shell_append=yes
7046
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_shell_append" >&5
7047
 
$as_echo "$lt_shell_append" >&6; }
7048
 
 
7049
 
 
7050
7039
if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
7051
7040
  lt_unset=unset
7052
7041
else
7169
7158
reload_cmds='$LD$reload_flag -o $output$reload_objs'
7170
7159
case $host_os in
7171
7160
  cygwin* | mingw* | pw32* | cegcc*)
7172
 
    if test "$GCC" != yes; then
 
7161
    if test yes != "$GCC"; then
7173
7162
      reload_cmds=false
7174
7163
    fi
7175
7164
    ;;
7176
7165
  darwin*)
7177
 
    if test "$GCC" = yes; then
7178
 
      reload_cmds='$LTCC $LTCFLAGS -nostdlib ${wl}-r -o $output$reload_objs'
 
7166
    if test yes = "$GCC"; then
 
7167
      reload_cmds='$LTCC $LTCFLAGS -nostdlib $wl-r -o $output$reload_objs'
7179
7168
    else
7180
7169
      reload_cmds='$LD$reload_flag -o $output$reload_objs'
7181
7170
    fi
7303
7292
# Need to set the preceding variable on all platforms that support
7304
7293
# interlibrary dependencies.
7305
7294
# 'none' -- dependencies not supported.
7306
 
# `unknown' -- same as none, but documents that we really don't know.
 
7295
# 'unknown' -- same as none, but documents that we really don't know.
7307
7296
# 'pass_all' -- all dependencies passed with no checks.
7308
7297
# 'test_compile' -- check by making test program.
7309
7298
# 'file_magic [[regex]]' -- check by looking for files in library path
7310
 
# which responds to the $file_magic_cmd with a given extended regex.
7311
 
# If you have `file' or equivalent on your system and you're not sure
7312
 
# whether `pass_all' will *always* work, you probably want this one.
 
7299
# that responds to the $file_magic_cmd with a given extended regex.
 
7300
# If you have 'file' or equivalent on your system and you're not sure
 
7301
# whether 'pass_all' will *always* work, you probably want this one.
7313
7302
 
7314
7303
case $host_os in
7315
7304
aix[4-9]*)
7336
7325
  # Base MSYS/MinGW do not provide the 'file' command needed by
7337
7326
  # func_win32_libid shell function, so use a weaker test based on 'objdump',
7338
7327
  # unless we find 'file', for example because we are cross-compiling.
7339
 
  # func_win32_libid assumes BSD nm, so disallow it if using MS dumpbin.
7340
 
  if ( test "$lt_cv_nm_interface" = "BSD nm" && file / ) >/dev/null 2>&1; then
 
7328
  if ( file / ) >/dev/null 2>&1; then
7341
7329
    lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
7342
7330
    lt_cv_file_magic_cmd='func_win32_libid'
7343
7331
  else
7415
7403
  lt_cv_deplibs_check_method=pass_all
7416
7404
  ;;
7417
7405
 
7418
 
netbsd* | netbsdelf*-gnu)
 
7406
netbsd*)
7419
7407
  if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
7420
7408
    lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
7421
7409
  else
7433
7421
  lt_cv_deplibs_check_method=pass_all
7434
7422
  ;;
7435
7423
 
7436
 
openbsd*)
7437
 
  if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
 
7424
openbsd* | bitrig*)
 
7425
  if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`"; then
7438
7426
    lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|\.so|_pic\.a)$'
7439
7427
  else
7440
7428
    lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
7487
7475
tpf*)
7488
7476
  lt_cv_deplibs_check_method=pass_all
7489
7477
  ;;
 
7478
os2*)
 
7479
  lt_cv_deplibs_check_method=pass_all
 
7480
  ;;
7490
7481
esac
7491
7482
 
7492
7483
fi
7644
7635
 
7645
7636
case $host_os in
7646
7637
cygwin* | mingw* | pw32* | cegcc*)
7647
 
  # two different shell functions defined in ltmain.sh
7648
 
  # decide which to use based on capabilities of $DLLTOOL
 
7638
  # two different shell functions defined in ltmain.sh;
 
7639
  # decide which one to use based on capabilities of $DLLTOOL
7649
7640
  case `$DLLTOOL --help 2>&1` in
7650
7641
  *--identify-strict*)
7651
7642
    lt_cv_sharedlib_from_linklib_cmd=func_cygming_dll_for_implib
7657
7648
  ;;
7658
7649
*)
7659
7650
  # fallback: assume linklib IS sharedlib
7660
 
  lt_cv_sharedlib_from_linklib_cmd="$ECHO"
 
7651
  lt_cv_sharedlib_from_linklib_cmd=$ECHO
7661
7652
  ;;
7662
7653
esac
7663
7654
 
7811
7802
  ac_status=$?
7812
7803
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7813
7804
  test $ac_status = 0; }
7814
 
      if test "$ac_status" -eq 0; then
 
7805
      if test 0 -eq "$ac_status"; then
7815
7806
        # Ensure the archiver fails upon bogus file names.
7816
7807
        rm -f conftest.$ac_objext libconftest.a
7817
7808
        { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$lt_ar_try\""; } >&5
7819
7810
  ac_status=$?
7820
7811
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7821
7812
  test $ac_status = 0; }
7822
 
        if test "$ac_status" -ne 0; then
 
7813
        if test 0 -ne "$ac_status"; then
7823
7814
          lt_cv_ar_at_file=@
7824
7815
        fi
7825
7816
      fi
7832
7823
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ar_at_file" >&5
7833
7824
$as_echo "$lt_cv_ar_at_file" >&6; }
7834
7825
 
7835
 
if test "x$lt_cv_ar_at_file" = xno; then
 
7826
if test no = "$lt_cv_ar_at_file"; then
7836
7827
  archiver_list_spec=
7837
7828
else
7838
7829
  archiver_list_spec=$lt_cv_ar_at_file
8049
8040
 
8050
8041
if test -n "$RANLIB"; then
8051
8042
  case $host_os in
8052
 
  openbsd*)
 
8043
  bitrig* | openbsd*)
8053
8044
    old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB -t \$tool_oldlib"
8054
8045
    ;;
8055
8046
  *)
8139
8130
  symcode='[ABCDGISTW]'
8140
8131
  ;;
8141
8132
hpux*)
8142
 
  if test "$host_cpu" = ia64; then
 
8133
  if test ia64 = "$host_cpu"; then
8143
8134
    symcode='[ABCDEGRST]'
8144
8135
  fi
8145
8136
  ;;
8172
8163
  symcode='[ABCDGIRSTW]' ;;
8173
8164
esac
8174
8165
 
 
8166
if test "$lt_cv_nm_interface" = "MS dumpbin"; then
 
8167
  # Gets list of data symbols to import.
 
8168
  lt_cv_sys_global_symbol_to_import="sed -n -e 's/^I .* \(.*\)$/\1/p'"
 
8169
  # Adjust the below global symbol transforms to fixup imported variables.
 
8170
  lt_cdecl_hook=" -e 's/^I .* \(.*\)$/extern __declspec(dllimport) char \1;/p'"
 
8171
  lt_c_name_hook=" -e 's/^I .* \(.*\)$/  {\"\1\", (void *) 0},/p'"
 
8172
  lt_c_name_lib_hook="\
 
8173
  -e 's/^I .* \(lib.*\)$/  {\"\1\", (void *) 0},/p'\
 
8174
  -e 's/^I .* \(.*\)$/  {\"lib\1\", (void *) 0},/p'"
 
8175
else
 
8176
  # Disable hooks by default.
 
8177
  lt_cv_sys_global_symbol_to_import=
 
8178
  lt_cdecl_hook=
 
8179
  lt_c_name_hook=
 
8180
  lt_c_name_lib_hook=
 
8181
fi
 
8182
 
8175
8183
# Transform an extracted symbol line into a proper C declaration.
8176
8184
# Some systems (esp. on ia64) link data and code symbols differently,
8177
8185
# so use this general approach.
8178
 
lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'"
 
8186
lt_cv_sys_global_symbol_to_cdecl="sed -n"\
 
8187
$lt_cdecl_hook\
 
8188
" -e 's/^T .* \(.*\)$/extern int \1();/p'"\
 
8189
" -e 's/^$symcode$symcode* .* \(.*\)$/extern char \1;/p'"
8179
8190
 
8180
8191
# Transform an extracted symbol line into symbol name and symbol address
8181
 
lt_cv_sys_global_symbol_to_c_name_address="sed -n -e 's/^: \([^ ]*\)[ ]*$/  {\\\"\1\\\", (void *) 0},/p' -e 's/^$symcode* \([^ ]*\) \([^ ]*\)$/  {\"\2\", (void *) \&\2},/p'"
8182
 
lt_cv_sys_global_symbol_to_c_name_address_lib_prefix="sed -n -e 's/^: \([^ ]*\)[ ]*$/  {\\\"\1\\\", (void *) 0},/p' -e 's/^$symcode* \([^ ]*\) \(lib[^ ]*\)$/  {\"\2\", (void *) \&\2},/p' -e 's/^$symcode* \([^ ]*\) \([^ ]*\)$/  {\"lib\2\", (void *) \&\2},/p'"
 
8192
lt_cv_sys_global_symbol_to_c_name_address="sed -n"\
 
8193
$lt_c_name_hook\
 
8194
" -e 's/^: \(.*\) .*$/  {\"\1\", (void *) 0},/p'"\
 
8195
" -e 's/^$symcode$symcode* .* \(.*\)$/  {\"\1\", (void *) \&\1},/p'"
 
8196
 
 
8197
# Transform an extracted symbol line into symbol name with lib prefix and
 
8198
# symbol address.
 
8199
lt_cv_sys_global_symbol_to_c_name_address_lib_prefix="sed -n"\
 
8200
$lt_c_name_lib_hook\
 
8201
" -e 's/^: \(.*\) .*$/  {\"\1\", (void *) 0},/p'"\
 
8202
" -e 's/^$symcode$symcode* .* \(lib.*\)$/  {\"\1\", (void *) \&\1},/p'"\
 
8203
" -e 's/^$symcode$symcode* .* \(.*\)$/  {\"lib\1\", (void *) \&\1},/p'"
8183
8204
 
8184
8205
# Handle CRLF in mingw tool chain
8185
8206
opt_cr=
8197
8218
 
8198
8219
  # Write the raw and C identifiers.
8199
8220
  if test "$lt_cv_nm_interface" = "MS dumpbin"; then
8200
 
    # Fake it for dumpbin and say T for any non-static function
8201
 
    # and D for any global variable.
 
8221
    # Fake it for dumpbin and say T for any non-static function,
 
8222
    # D for any global variable and I for any imported variable.
8202
8223
    # Also find C++ and __fastcall symbols from MSVC++,
8203
8224
    # which start with @ or ?.
8204
8225
    lt_cv_sys_global_symbol_pipe="$AWK '"\
8205
8226
"     {last_section=section; section=\$ 3};"\
8206
8227
"     /^COFF SYMBOL TABLE/{for(i in hide) delete hide[i]};"\
8207
8228
"     /Section length .*#relocs.*(pick any)/{hide[last_section]=1};"\
 
8229
"     /^ *Symbol name *: /{split(\$ 0,sn,\":\"); si=substr(sn[2],2)};"\
 
8230
"     /^ *Type *: code/{print \"T\",si,substr(si,length(prfx))};"\
 
8231
"     /^ *Type *: data/{print \"I\",si,substr(si,length(prfx))};"\
8208
8232
"     \$ 0!~/External *\|/{next};"\
8209
8233
"     / 0+ UNDEF /{next}; / UNDEF \([^|]\)*()/{next};"\
8210
8234
"     {if(hide[section]) next};"\
8211
 
"     {f=0}; \$ 0~/\(\).*\|/{f=1}; {printf f ? \"T \" : \"D \"};"\
8212
 
"     {split(\$ 0, a, /\||\r/); split(a[2], s)};"\
8213
 
"     s[1]~/^[@?]/{print s[1], s[1]; next};"\
8214
 
"     s[1]~prfx {split(s[1],t,\"@\"); print t[1], substr(t[1],length(prfx))}"\
 
8235
"     {f=\"D\"}; \$ 0~/\(\).*\|/{f=\"T\"};"\
 
8236
"     {split(\$ 0,a,/\||\r/); split(a[2],s)};"\
 
8237
"     s[1]~/^[@?]/{print f,s[1],s[1]; next};"\
 
8238
"     s[1]~prfx {split(s[1],t,\"@\"); print f,t[1],substr(t[1],length(prfx))}"\
8215
8239
"     ' prfx=^$ac_symprfx"
8216
8240
  else
8217
8241
    lt_cv_sys_global_symbol_pipe="sed -n -e 's/^.*[      ]\($symcode$symcode*\)[         ][      ]*$ac_symprfx$sympat$opt_cr$/$symxfrm/p'"
8259
8283
        if $GREP ' nm_test_func$' "$nlist" >/dev/null; then
8260
8284
          cat <<_LT_EOF > conftest.$ac_ext
8261
8285
/* Keep this code in sync between libtool.m4, ltmain, lt_system.h, and tests.  */
8262
 
#if defined(_WIN32) || defined(__CYGWIN__) || defined(_WIN32_WCE)
8263
 
/* DATA imports from DLLs on WIN32 con't be const, because runtime
 
8286
#if defined _WIN32 || defined __CYGWIN__ || defined _WIN32_WCE
 
8287
/* DATA imports from DLLs on WIN32 can't be const, because runtime
8264
8288
   relocations are performed -- see ld's documentation on pseudo-relocs.  */
8265
8289
# define LT_DLSYM_CONST
8266
 
#elif defined(__osf__)
 
8290
#elif defined __osf__
8267
8291
/* This system does not cope well with relocations in const data.  */
8268
8292
# define LT_DLSYM_CONST
8269
8293
#else
8289
8313
{
8290
8314
  { "@PROGRAM@", (void *) 0 },
8291
8315
_LT_EOF
8292
 
          $SED "s/^$symcode$symcode* \(.*\) \(.*\)$/  {\"\2\", (void *) \&\2},/" < "$nlist" | $GREP -v main >> conftest.$ac_ext
 
8316
          $SED "s/^$symcode$symcode* .* \(.*\)$/  {\"\1\", (void *) \&\1},/" < "$nlist" | $GREP -v main >> conftest.$ac_ext
8293
8317
          cat <<\_LT_EOF >> conftest.$ac_ext
8294
8318
  {0, (void *) 0}
8295
8319
};
8309
8333
          mv conftest.$ac_objext conftstm.$ac_objext
8310
8334
          lt_globsym_save_LIBS=$LIBS
8311
8335
          lt_globsym_save_CFLAGS=$CFLAGS
8312
 
          LIBS="conftstm.$ac_objext"
 
8336
          LIBS=conftstm.$ac_objext
8313
8337
          CFLAGS="$CFLAGS$lt_prog_compiler_no_builtin_flag"
8314
8338
          if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
8315
8339
  (eval $ac_link) 2>&5
8316
8340
  ac_status=$?
8317
8341
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
8318
 
  test $ac_status = 0; } && test -s conftest${ac_exeext}; then
 
8342
  test $ac_status = 0; } && test -s conftest$ac_exeext; then
8319
8343
            pipe_works=yes
8320
8344
          fi
8321
8345
          LIBS=$lt_globsym_save_LIBS
8336
8360
  rm -rf conftest* conftst*
8337
8361
 
8338
8362
  # Do not use the global_symbol_pipe unless it works.
8339
 
  if test "$pipe_works" = yes; then
 
8363
  if test yes = "$pipe_works"; then
8340
8364
    break
8341
8365
  else
8342
8366
    lt_cv_sys_global_symbol_pipe=
8389
8413
 
8390
8414
 
8391
8415
 
 
8416
 
 
8417
 
 
8418
 
 
8419
 
 
8420
 
 
8421
 
 
8422
 
 
8423
 
 
8424
 
 
8425
 
8392
8426
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for sysroot" >&5
8393
8427
$as_echo_n "checking for sysroot... " >&6; }
8394
8428
 
8401
8435
 
8402
8436
 
8403
8437
lt_sysroot=
8404
 
case ${with_sysroot} in #(
 
8438
case $with_sysroot in #(
8405
8439
 yes)
8406
 
   if test "$GCC" = yes; then
 
8440
   if test yes = "$GCC"; then
8407
8441
     lt_sysroot=`$CC --print-sysroot 2>/dev/null`
8408
8442
   fi
8409
8443
   ;; #(
8413
8447
 no|'')
8414
8448
   ;; #(
8415
8449
 *)
8416
 
   { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${with_sysroot}" >&5
8417
 
$as_echo "${with_sysroot}" >&6; }
 
8450
   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $with_sysroot" >&5
 
8451
$as_echo "$with_sysroot" >&6; }
8418
8452
   as_fn_error $? "The sysroot must be an absolute path." "$LINENO" 5
8419
8453
   ;;
8420
8454
esac
8426
8460
 
8427
8461
 
8428
8462
 
 
8463
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for a working dd" >&5
 
8464
$as_echo_n "checking for a working dd... " >&6; }
 
8465
if ${ac_cv_path_lt_DD+:} false; then :
 
8466
  $as_echo_n "(cached) " >&6
 
8467
else
 
8468
  printf 0123456789abcdef0123456789abcdef >conftest.i
 
8469
cat conftest.i conftest.i >conftest2.i
 
8470
: ${lt_DD:=$DD}
 
8471
if test -z "$lt_DD"; then
 
8472
  ac_path_lt_DD_found=false
 
8473
  # Loop through the user's path and test for each of PROGNAME-LIST
 
8474
  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
8475
for as_dir in $PATH
 
8476
do
 
8477
  IFS=$as_save_IFS
 
8478
  test -z "$as_dir" && as_dir=.
 
8479
    for ac_prog in dd; do
 
8480
    for ac_exec_ext in '' $ac_executable_extensions; do
 
8481
      ac_path_lt_DD="$as_dir/$ac_prog$ac_exec_ext"
 
8482
      as_fn_executable_p "$ac_path_lt_DD" || continue
 
8483
if "$ac_path_lt_DD" bs=32 count=1 <conftest2.i >conftest.out 2>/dev/null; then
 
8484
  cmp -s conftest.i conftest.out \
 
8485
  && ac_cv_path_lt_DD="$ac_path_lt_DD" ac_path_lt_DD_found=:
 
8486
fi
 
8487
      $ac_path_lt_DD_found && break 3
 
8488
    done
 
8489
  done
 
8490
  done
 
8491
IFS=$as_save_IFS
 
8492
  if test -z "$ac_cv_path_lt_DD"; then
 
8493
    :
 
8494
  fi
 
8495
else
 
8496
  ac_cv_path_lt_DD=$lt_DD
 
8497
fi
 
8498
 
 
8499
rm -f conftest.i conftest2.i conftest.out
 
8500
fi
 
8501
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_lt_DD" >&5
 
8502
$as_echo "$ac_cv_path_lt_DD" >&6; }
 
8503
 
 
8504
 
 
8505
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to truncate binary pipes" >&5
 
8506
$as_echo_n "checking how to truncate binary pipes... " >&6; }
 
8507
if ${lt_cv_truncate_bin+:} false; then :
 
8508
  $as_echo_n "(cached) " >&6
 
8509
else
 
8510
  printf 0123456789abcdef0123456789abcdef >conftest.i
 
8511
cat conftest.i conftest.i >conftest2.i
 
8512
lt_cv_truncate_bin=
 
8513
if "$ac_cv_path_lt_DD" bs=32 count=1 <conftest2.i >conftest.out 2>/dev/null; then
 
8514
  cmp -s conftest.i conftest.out \
 
8515
  && lt_cv_truncate_bin="$ac_cv_path_lt_DD bs=4096 count=1"
 
8516
fi
 
8517
rm -f conftest.i conftest2.i conftest.out
 
8518
test -z "$lt_cv_truncate_bin" && lt_cv_truncate_bin="$SED -e 4q"
 
8519
fi
 
8520
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_truncate_bin" >&5
 
8521
$as_echo "$lt_cv_truncate_bin" >&6; }
 
8522
 
 
8523
 
 
8524
 
 
8525
 
 
8526
 
 
8527
 
 
8528
 
 
8529
# Calculate cc_basename.  Skip known compiler wrappers and cross-prefix.
 
8530
func_cc_basename ()
 
8531
{
 
8532
    for cc_temp in $*""; do
 
8533
      case $cc_temp in
 
8534
        compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
 
8535
        distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
 
8536
        \-*) ;;
 
8537
        *) break;;
 
8538
      esac
 
8539
    done
 
8540
    func_cc_basename_result=`$ECHO "$cc_temp" | $SED "s%.*/%%; s%^$host_alias-%%"`
 
8541
}
 
8542
 
8429
8543
# Check whether --enable-libtool-lock was given.
8430
8544
if test "${enable_libtool_lock+set}" = set; then :
8431
8545
  enableval=$enable_libtool_lock;
8432
8546
fi
8433
8547
 
8434
 
test "x$enable_libtool_lock" != xno && enable_libtool_lock=yes
 
8548
test no = "$enable_libtool_lock" || enable_libtool_lock=yes
8435
8549
 
8436
8550
# Some flags need to be propagated to the compiler or linker for good
8437
8551
# libtool support.
8438
8552
case $host in
8439
8553
ia64-*-hpux*)
8440
 
  # Find out which ABI we are using.
 
8554
  # Find out what ABI is being produced by ac_compile, and set mode
 
8555
  # options accordingly.
8441
8556
  echo 'int i;' > conftest.$ac_ext
8442
8557
  if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
8443
8558
  (eval $ac_compile) 2>&5
8446
8561
  test $ac_status = 0; }; then
8447
8562
    case `/usr/bin/file conftest.$ac_objext` in
8448
8563
      *ELF-32*)
8449
 
        HPUX_IA64_MODE="32"
 
8564
        HPUX_IA64_MODE=32
8450
8565
        ;;
8451
8566
      *ELF-64*)
8452
 
        HPUX_IA64_MODE="64"
 
8567
        HPUX_IA64_MODE=64
8453
8568
        ;;
8454
8569
    esac
8455
8570
  fi
8456
8571
  rm -rf conftest*
8457
8572
  ;;
8458
8573
*-*-irix6*)
8459
 
  # Find out which ABI we are using.
 
8574
  # Find out what ABI is being produced by ac_compile, and set linker
 
8575
  # options accordingly.
8460
8576
  echo '#line '$LINENO' "configure"' > conftest.$ac_ext
8461
8577
  if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
8462
8578
  (eval $ac_compile) 2>&5
8463
8579
  ac_status=$?
8464
8580
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
8465
8581
  test $ac_status = 0; }; then
8466
 
    if test "$lt_cv_prog_gnu_ld" = yes; then
 
8582
    if test yes = "$lt_cv_prog_gnu_ld"; then
8467
8583
      case `/usr/bin/file conftest.$ac_objext` in
8468
8584
        *32-bit*)
8469
8585
          LD="${LD-ld} -melf32bsmip"
8492
8608
  rm -rf conftest*
8493
8609
  ;;
8494
8610
 
 
8611
mips64*-*linux*)
 
8612
  # Find out what ABI is being produced by ac_compile, and set linker
 
8613
  # options accordingly.
 
8614
  echo '#line '$LINENO' "configure"' > conftest.$ac_ext
 
8615
  if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
 
8616
  (eval $ac_compile) 2>&5
 
8617
  ac_status=$?
 
8618
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 
8619
  test $ac_status = 0; }; then
 
8620
    emul=elf
 
8621
    case `/usr/bin/file conftest.$ac_objext` in
 
8622
      *32-bit*)
 
8623
        emul="${emul}32"
 
8624
        ;;
 
8625
      *64-bit*)
 
8626
        emul="${emul}64"
 
8627
        ;;
 
8628
    esac
 
8629
    case `/usr/bin/file conftest.$ac_objext` in
 
8630
      *MSB*)
 
8631
        emul="${emul}btsmip"
 
8632
        ;;
 
8633
      *LSB*)
 
8634
        emul="${emul}ltsmip"
 
8635
        ;;
 
8636
    esac
 
8637
    case `/usr/bin/file conftest.$ac_objext` in
 
8638
      *N32*)
 
8639
        emul="${emul}n32"
 
8640
        ;;
 
8641
    esac
 
8642
    LD="${LD-ld} -m $emul"
 
8643
  fi
 
8644
  rm -rf conftest*
 
8645
  ;;
 
8646
 
8495
8647
x86_64-*kfreebsd*-gnu|x86_64-*linux*|powerpc*-*linux*| \
8496
8648
s390*-*linux*|s390*-*tpf*|sparc*-*linux*)
8497
 
  # Find out which ABI we are using.
 
8649
  # Find out what ABI is being produced by ac_compile, and set linker
 
8650
  # options accordingly.  Note that the listed cases only cover the
 
8651
  # situations where additional linker options are needed (such as when
 
8652
  # doing 32-bit compilation for a host where ld defaults to 64-bit, or
 
8653
  # vice versa); the common cases where no linker options are needed do
 
8654
  # not appear in the list.
8498
8655
  echo 'int i;' > conftest.$ac_ext
8499
8656
  if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
8500
8657
  (eval $ac_compile) 2>&5
8517
8674
                ;;
8518
8675
            esac
8519
8676
            ;;
8520
 
          powerpc64le-*)
 
8677
          powerpc64le-*linux*)
8521
8678
            LD="${LD-ld} -m elf32lppclinux"
8522
8679
            ;;
8523
 
          powerpc64-*)
 
8680
          powerpc64-*linux*)
8524
8681
            LD="${LD-ld} -m elf32ppclinux"
8525
8682
            ;;
8526
8683
          s390x-*linux*)
8539
8696
          x86_64-*linux*)
8540
8697
            LD="${LD-ld} -m elf_x86_64"
8541
8698
            ;;
8542
 
          powerpcle-*)
 
8699
          powerpcle-*linux*)
8543
8700
            LD="${LD-ld} -m elf64lppc"
8544
8701
            ;;
8545
 
          powerpc-*)
 
8702
          powerpc-*linux*)
8546
8703
            LD="${LD-ld} -m elf64ppc"
8547
8704
            ;;
8548
8705
          s390*-*linux*|s390*-*tpf*)
8560
8717
 
8561
8718
*-*-sco3.2v5*)
8562
8719
  # On SCO OpenServer 5, we need -belf to get full-featured binaries.
8563
 
  SAVE_CFLAGS="$CFLAGS"
 
8720
  SAVE_CFLAGS=$CFLAGS
8564
8721
  CFLAGS="$CFLAGS -belf"
8565
8722
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler needs -belf" >&5
8566
8723
$as_echo_n "checking whether the C compiler needs -belf... " >&6; }
8600
8757
fi
8601
8758
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_cc_needs_belf" >&5
8602
8759
$as_echo "$lt_cv_cc_needs_belf" >&6; }
8603
 
  if test x"$lt_cv_cc_needs_belf" != x"yes"; then
 
8760
  if test yes != "$lt_cv_cc_needs_belf"; then
8604
8761
    # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
8605
 
    CFLAGS="$SAVE_CFLAGS"
 
8762
    CFLAGS=$SAVE_CFLAGS
8606
8763
  fi
8607
8764
  ;;
8608
8765
*-*solaris*)
8609
 
  # Find out which ABI we are using.
 
8766
  # Find out what ABI is being produced by ac_compile, and set linker
 
8767
  # options accordingly.
8610
8768
  echo 'int i;' > conftest.$ac_ext
8611
8769
  if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
8612
8770
  (eval $ac_compile) 2>&5
8618
8776
      case $lt_cv_prog_gnu_ld in
8619
8777
      yes*)
8620
8778
        case $host in
8621
 
        i?86-*-solaris*)
 
8779
        i?86-*-solaris*|x86_64-*-solaris*)
8622
8780
          LD="${LD-ld} -m elf_x86_64"
8623
8781
          ;;
8624
8782
        sparc*-*-solaris*)
8627
8785
        esac
8628
8786
        # GNU ld 2.21 introduced _sol2 emulations.  Use them if available.
8629
8787
        if ${LD-ld} -V | grep _sol2 >/dev/null 2>&1; then
8630
 
          LD="${LD-ld}_sol2"
 
8788
          LD=${LD-ld}_sol2
8631
8789
        fi
8632
8790
        ;;
8633
8791
      *)
8643
8801
  ;;
8644
8802
esac
8645
8803
 
8646
 
need_locks="$enable_libtool_lock"
 
8804
need_locks=$enable_libtool_lock
8647
8805
 
8648
8806
if test -n "$ac_tool_prefix"; then
8649
8807
  # Extract the first word of "${ac_tool_prefix}mt", so it can be a program name with args.
8754
8912
fi
8755
8913
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_mainfest_tool" >&5
8756
8914
$as_echo "$lt_cv_path_mainfest_tool" >&6; }
8757
 
if test "x$lt_cv_path_mainfest_tool" != xyes; then
 
8915
if test yes != "$lt_cv_path_mainfest_tool"; then
8758
8916
  MANIFEST_TOOL=:
8759
8917
fi
8760
8918
 
9257
9415
  $as_echo_n "(cached) " >&6
9258
9416
else
9259
9417
  lt_cv_apple_cc_single_mod=no
9260
 
      if test -z "${LT_MULTI_MODULE}"; then
 
9418
      if test -z "$LT_MULTI_MODULE"; then
9261
9419
        # By default we will add the -single_module flag. You can override
9262
9420
        # by either setting the environment variable LT_MULTI_MODULE
9263
9421
        # non-empty at configure time, or by adding -multi_module to the
9275
9433
          cat conftest.err >&5
9276
9434
        # Otherwise, if the output was created with a 0 exit code from
9277
9435
        # the compiler, it worked.
9278
 
        elif test -f libconftest.dylib && test $_lt_result -eq 0; then
 
9436
        elif test -f libconftest.dylib && test 0 = "$_lt_result"; then
9279
9437
          lt_cv_apple_cc_single_mod=yes
9280
9438
        else
9281
9439
          cat conftest.err >&5
9314
9472
fi
9315
9473
rm -f core conftest.err conftest.$ac_objext \
9316
9474
    conftest$ac_exeext conftest.$ac_ext
9317
 
        LDFLAGS="$save_LDFLAGS"
 
9475
        LDFLAGS=$save_LDFLAGS
9318
9476
 
9319
9477
fi
9320
9478
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_exported_symbols_list" >&5
9343
9501
      _lt_result=$?
9344
9502
      if test -s conftest.err && $GREP force_load conftest.err; then
9345
9503
        cat conftest.err >&5
9346
 
      elif test -f conftest && test $_lt_result -eq 0 && $GREP forced_load conftest >/dev/null 2>&1 ; then
 
9504
      elif test -f conftest && test 0 = "$_lt_result" && $GREP forced_load conftest >/dev/null 2>&1; then
9347
9505
        lt_cv_ld_force_load=yes
9348
9506
      else
9349
9507
        cat conftest.err >&5
9356
9514
$as_echo "$lt_cv_ld_force_load" >&6; }
9357
9515
    case $host_os in
9358
9516
    rhapsody* | darwin1.[012])
9359
 
      _lt_dar_allow_undefined='${wl}-undefined ${wl}suppress' ;;
 
9517
      _lt_dar_allow_undefined='$wl-undefined ${wl}suppress' ;;
9360
9518
    darwin1.*)
9361
 
      _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
 
9519
      _lt_dar_allow_undefined='$wl-flat_namespace $wl-undefined ${wl}suppress' ;;
9362
9520
    darwin*) # darwin 5.x on
9363
9521
      # if running on 10.5 or later, the deployment target defaults
9364
9522
      # to the OS version, if on x86, and 10.4, the deployment
9365
9523
      # target defaults to 10.4. Don't you love it?
9366
9524
      case ${MACOSX_DEPLOYMENT_TARGET-10.0},$host in
9367
9525
        10.0,*86*-darwin8*|10.0,*-darwin[91]*)
9368
 
          _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
9369
 
        10.[012]*)
9370
 
          _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
 
9526
          _lt_dar_allow_undefined='$wl-undefined ${wl}dynamic_lookup' ;;
 
9527
        10.[012][,.]*)
 
9528
          _lt_dar_allow_undefined='$wl-flat_namespace $wl-undefined ${wl}suppress' ;;
9371
9529
        10.*)
9372
 
          _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
 
9530
          _lt_dar_allow_undefined='$wl-undefined ${wl}dynamic_lookup' ;;
9373
9531
      esac
9374
9532
    ;;
9375
9533
  esac
9376
 
    if test "$lt_cv_apple_cc_single_mod" = "yes"; then
 
9534
    if test yes = "$lt_cv_apple_cc_single_mod"; then
9377
9535
      _lt_dar_single_mod='$single_module'
9378
9536
    fi
9379
 
    if test "$lt_cv_ld_exported_symbols_list" = "yes"; then
9380
 
      _lt_dar_export_syms=' ${wl}-exported_symbols_list,$output_objdir/${libname}-symbols.expsym'
 
9537
    if test yes = "$lt_cv_ld_exported_symbols_list"; then
 
9538
      _lt_dar_export_syms=' $wl-exported_symbols_list,$output_objdir/$libname-symbols.expsym'
9381
9539
    else
9382
 
      _lt_dar_export_syms='~$NMEDIT -s $output_objdir/${libname}-symbols.expsym ${lib}'
 
9540
      _lt_dar_export_syms='~$NMEDIT -s $output_objdir/$libname-symbols.expsym $lib'
9383
9541
    fi
9384
 
    if test "$DSYMUTIL" != ":" && test "$lt_cv_ld_force_load" = "no"; then
 
9542
    if test : != "$DSYMUTIL" && test no = "$lt_cv_ld_force_load"; then
9385
9543
      _lt_dsymutil='~$DSYMUTIL $lib || :'
9386
9544
    else
9387
9545
      _lt_dsymutil=
9389
9547
    ;;
9390
9548
  esac
9391
9549
 
 
9550
# func_munge_path_list VARIABLE PATH
 
9551
# -----------------------------------
 
9552
# VARIABLE is name of variable containing _space_ separated list of
 
9553
# directories to be munged by the contents of PATH, which is string
 
9554
# having a format:
 
9555
# "DIR[:DIR]:"
 
9556
#       string "DIR[ DIR]" will be prepended to VARIABLE
 
9557
# ":DIR[:DIR]"
 
9558
#       string "DIR[ DIR]" will be appended to VARIABLE
 
9559
# "DIRP[:DIRP]::[DIRA:]DIRA"
 
9560
#       string "DIRP[ DIRP]" will be prepended to VARIABLE and string
 
9561
#       "DIRA[ DIRA]" will be appended to VARIABLE
 
9562
# "DIR[:DIR]"
 
9563
#       VARIABLE will be replaced by "DIR[ DIR]"
 
9564
func_munge_path_list ()
 
9565
{
 
9566
    case x$2 in
 
9567
    x)
 
9568
        ;;
 
9569
    *:)
 
9570
        eval $1=\"`$ECHO $2 | $SED 's/:/ /g'` \S|@1\"
 
9571
        ;;
 
9572
    x:*)
 
9573
        eval $1=\"\$$1 `$ECHO $2 | $SED 's/:/ /g'`\"
 
9574
        ;;
 
9575
    *::*)
 
9576
        eval $1=\"\$$1\ `$ECHO $2 | $SED -e 's/.*:://' -e 's/:/ /g'`\"
 
9577
        eval $1=\"`$ECHO $2 | $SED -e 's/::.*//' -e 's/:/ /g'`\ \$$1\"
 
9578
        ;;
 
9579
    *)
 
9580
        eval $1=\"`$ECHO $2 | $SED 's/:/ /g'`\"
 
9581
        ;;
 
9582
    esac
 
9583
}
 
9584
 
9392
9585
for ac_header in dlfcn.h
9393
9586
do :
9394
9587
  ac_fn_c_check_header_compile "$LINENO" "dlfcn.h" "ac_cv_header_dlfcn_h" "$ac_includes_default
9416
9609
    *)
9417
9610
     enable_static=no
9418
9611
      # Look at the argument we got.  We use all the common list separators.
9419
 
      lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
 
9612
      lt_save_ifs=$IFS; IFS=$IFS$PATH_SEPARATOR,
9420
9613
      for pkg in $enableval; do
9421
 
        IFS="$lt_save_ifs"
 
9614
        IFS=$lt_save_ifs
9422
9615
        if test "X$pkg" = "X$p"; then
9423
9616
          enable_static=yes
9424
9617
        fi
9425
9618
      done
9426
 
      IFS="$lt_save_ifs"
 
9619
      IFS=$lt_save_ifs
9427
9620
      ;;
9428
9621
    esac
9429
9622
else
9454
9647
    *)
9455
9648
      enable_shared=no
9456
9649
      # Look at the argument we got.  We use all the common list separators.
9457
 
      lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
 
9650
      lt_save_ifs=$IFS; IFS=$IFS$PATH_SEPARATOR,
9458
9651
      for pkg in $enableval; do
9459
 
        IFS="$lt_save_ifs"
 
9652
        IFS=$lt_save_ifs
9460
9653
        if test "X$pkg" = "X$p"; then
9461
9654
          enable_shared=yes
9462
9655
        fi
9463
9656
      done
9464
 
      IFS="$lt_save_ifs"
 
9657
      IFS=$lt_save_ifs
9465
9658
      ;;
9466
9659
    esac
9467
9660
else
9486
9679
    *)
9487
9680
      pic_mode=default
9488
9681
      # Look at the argument we got.  We use all the common list separators.
9489
 
      lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
 
9682
      lt_save_ifs=$IFS; IFS=$IFS$PATH_SEPARATOR,
9490
9683
      for lt_pkg in $withval; do
9491
 
        IFS="$lt_save_ifs"
 
9684
        IFS=$lt_save_ifs
9492
9685
        if test "X$lt_pkg" = "X$lt_p"; then
9493
9686
          pic_mode=yes
9494
9687
        fi
9495
9688
      done
9496
 
      IFS="$lt_save_ifs"
 
9689
      IFS=$lt_save_ifs
9497
9690
      ;;
9498
9691
    esac
9499
9692
else
9501
9694
fi
9502
9695
 
9503
9696
 
9504
 
test -z "$pic_mode" && pic_mode=default
9505
 
 
9506
9697
 
9507
9698
 
9508
9699
 
9518
9709
    *)
9519
9710
      enable_fast_install=no
9520
9711
      # Look at the argument we got.  We use all the common list separators.
9521
 
      lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
 
9712
      lt_save_ifs=$IFS; IFS=$IFS$PATH_SEPARATOR,
9522
9713
      for pkg in $enableval; do
9523
 
        IFS="$lt_save_ifs"
 
9714
        IFS=$lt_save_ifs
9524
9715
        if test "X$pkg" = "X$p"; then
9525
9716
          enable_fast_install=yes
9526
9717
        fi
9527
9718
      done
9528
 
      IFS="$lt_save_ifs"
 
9719
      IFS=$lt_save_ifs
9529
9720
      ;;
9530
9721
    esac
9531
9722
else
9539
9730
 
9540
9731
 
9541
9732
 
 
9733
  shared_archive_member_spec=
 
9734
case $host,$enable_shared in
 
9735
power*-*-aix[5-9]*,yes)
 
9736
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking which variant of shared library versioning to provide" >&5
 
9737
$as_echo_n "checking which variant of shared library versioning to provide... " >&6; }
 
9738
 
 
9739
# Check whether --with-aix-soname was given.
 
9740
if test "${with_aix_soname+set}" = set; then :
 
9741
  withval=$with_aix_soname; case $withval in
 
9742
    aix|svr4|both)
 
9743
      ;;
 
9744
    *)
 
9745
      as_fn_error $? "Unknown argument to --with-aix-soname" "$LINENO" 5
 
9746
      ;;
 
9747
    esac
 
9748
    lt_cv_with_aix_soname=$with_aix_soname
 
9749
else
 
9750
  if ${lt_cv_with_aix_soname+:} false; then :
 
9751
  $as_echo_n "(cached) " >&6
 
9752
else
 
9753
  lt_cv_with_aix_soname=aix
 
9754
fi
 
9755
 
 
9756
    with_aix_soname=$lt_cv_with_aix_soname
 
9757
fi
 
9758
 
 
9759
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $with_aix_soname" >&5
 
9760
$as_echo "$with_aix_soname" >&6; }
 
9761
  if test aix != "$with_aix_soname"; then
 
9762
    # For the AIX way of multilib, we name the shared archive member
 
9763
    # based on the bitwidth used, traditionally 'shr.o' or 'shr_64.o',
 
9764
    # and 'shr.imp' or 'shr_64.imp', respectively, for the Import File.
 
9765
    # Even when GNU compilers ignore OBJECT_MODE but need '-maix64' flag,
 
9766
    # the AIX toolchain works better with OBJECT_MODE set (default 32).
 
9767
    if test 64 = "${OBJECT_MODE-32}"; then
 
9768
      shared_archive_member_spec=shr_64
 
9769
    else
 
9770
      shared_archive_member_spec=shr
 
9771
    fi
 
9772
  fi
 
9773
  ;;
 
9774
*)
 
9775
  with_aix_soname=aix
 
9776
  ;;
 
9777
esac
 
9778
 
 
9779
 
 
9780
 
 
9781
 
 
9782
 
 
9783
 
 
9784
 
9542
9785
 
9543
9786
 
9544
9787
 
9545
9788
# This can be used to rebuild libtool when needed
9546
 
LIBTOOL_DEPS="$ltmain"
 
9789
LIBTOOL_DEPS=$ltmain
9547
9790
 
9548
9791
# Always use our own libtool.
9549
9792
LIBTOOL='$(SHELL) $(top_builddir)/libtool'
9592
9835
 
9593
9836
 
9594
9837
 
9595
 
if test -n "${ZSH_VERSION+set}" ; then
 
9838
if test -n "${ZSH_VERSION+set}"; then
9596
9839
   setopt NO_GLOB_SUBST
9597
9840
fi
9598
9841
 
9631
9874
  # AIX sometimes has problems with the GCC collect2 program.  For some
9632
9875
  # reason, if we set the COLLECT_NAMES environment variable, the problems
9633
9876
  # vanish in a puff of smoke.
9634
 
  if test "X${COLLECT_NAMES+set}" != Xset; then
 
9877
  if test set != "${COLLECT_NAMES+set}"; then
9635
9878
    COLLECT_NAMES=
9636
9879
    export COLLECT_NAMES
9637
9880
  fi
9642
9885
ofile=libtool
9643
9886
can_build_shared=yes
9644
9887
 
9645
 
# All known linkers require a `.a' archive for static linking (except MSVC,
 
9888
# All known linkers require a '.a' archive for static linking (except MSVC,
9646
9889
# which needs '.lib').
9647
9890
libext=a
9648
9891
 
9649
 
with_gnu_ld="$lt_cv_prog_gnu_ld"
 
9892
with_gnu_ld=$lt_cv_prog_gnu_ld
9650
9893
 
9651
 
old_CC="$CC"
9652
 
old_CFLAGS="$CFLAGS"
 
9894
old_CC=$CC
 
9895
old_CFLAGS=$CFLAGS
9653
9896
 
9654
9897
# Set sane defaults for various variables
9655
9898
test -z "$CC" && CC=cc
9658
9901
test -z "$LD" && LD=ld
9659
9902
test -z "$ac_objext" && ac_objext=o
9660
9903
 
9661
 
for cc_temp in $compiler""; do
9662
 
  case $cc_temp in
9663
 
    compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
9664
 
    distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
9665
 
    \-*) ;;
9666
 
    *) break;;
9667
 
  esac
9668
 
done
9669
 
cc_basename=`$ECHO "$cc_temp" | $SED "s%.*/%%; s%^$host_alias-%%"`
 
9904
func_cc_basename $compiler
 
9905
cc_basename=$func_cc_basename_result
9670
9906
 
9671
9907
 
9672
9908
# Only perform the check for file, if the check method requires it
9681
9917
else
9682
9918
  case $MAGIC_CMD in
9683
9919
[\\/*] |  ?:[\\/]*)
9684
 
  lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
 
9920
  lt_cv_path_MAGIC_CMD=$MAGIC_CMD # Let the user override the test with a path.
9685
9921
  ;;
9686
9922
*)
9687
 
  lt_save_MAGIC_CMD="$MAGIC_CMD"
9688
 
  lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
 
9923
  lt_save_MAGIC_CMD=$MAGIC_CMD
 
9924
  lt_save_ifs=$IFS; IFS=$PATH_SEPARATOR
9689
9925
  ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
9690
9926
  for ac_dir in $ac_dummy; do
9691
 
    IFS="$lt_save_ifs"
 
9927
    IFS=$lt_save_ifs
9692
9928
    test -z "$ac_dir" && ac_dir=.
9693
 
    if test -f $ac_dir/${ac_tool_prefix}file; then
9694
 
      lt_cv_path_MAGIC_CMD="$ac_dir/${ac_tool_prefix}file"
 
9929
    if test -f "$ac_dir/${ac_tool_prefix}file"; then
 
9930
      lt_cv_path_MAGIC_CMD=$ac_dir/"${ac_tool_prefix}file"
9695
9931
      if test -n "$file_magic_test_file"; then
9696
9932
        case $deplibs_check_method in
9697
9933
        "file_magic "*)
9698
9934
          file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
9699
 
          MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
 
9935
          MAGIC_CMD=$lt_cv_path_MAGIC_CMD
9700
9936
          if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
9701
9937
            $EGREP "$file_magic_regex" > /dev/null; then
9702
9938
            :
9719
9955
      break
9720
9956
    fi
9721
9957
  done
9722
 
  IFS="$lt_save_ifs"
9723
 
  MAGIC_CMD="$lt_save_MAGIC_CMD"
 
9958
  IFS=$lt_save_ifs
 
9959
  MAGIC_CMD=$lt_save_MAGIC_CMD
9724
9960
  ;;
9725
9961
esac
9726
9962
fi
9727
9963
 
9728
 
MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
 
9964
MAGIC_CMD=$lt_cv_path_MAGIC_CMD
9729
9965
if test -n "$MAGIC_CMD"; then
9730
9966
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
9731
9967
$as_echo "$MAGIC_CMD" >&6; }
9747
9983
else
9748
9984
  case $MAGIC_CMD in
9749
9985
[\\/*] |  ?:[\\/]*)
9750
 
  lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
 
9986
  lt_cv_path_MAGIC_CMD=$MAGIC_CMD # Let the user override the test with a path.
9751
9987
  ;;
9752
9988
*)
9753
 
  lt_save_MAGIC_CMD="$MAGIC_CMD"
9754
 
  lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
 
9989
  lt_save_MAGIC_CMD=$MAGIC_CMD
 
9990
  lt_save_ifs=$IFS; IFS=$PATH_SEPARATOR
9755
9991
  ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
9756
9992
  for ac_dir in $ac_dummy; do
9757
 
    IFS="$lt_save_ifs"
 
9993
    IFS=$lt_save_ifs
9758
9994
    test -z "$ac_dir" && ac_dir=.
9759
 
    if test -f $ac_dir/file; then
9760
 
      lt_cv_path_MAGIC_CMD="$ac_dir/file"
 
9995
    if test -f "$ac_dir/file"; then
 
9996
      lt_cv_path_MAGIC_CMD=$ac_dir/"file"
9761
9997
      if test -n "$file_magic_test_file"; then
9762
9998
        case $deplibs_check_method in
9763
9999
        "file_magic "*)
9764
10000
          file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
9765
 
          MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
 
10001
          MAGIC_CMD=$lt_cv_path_MAGIC_CMD
9766
10002
          if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
9767
10003
            $EGREP "$file_magic_regex" > /dev/null; then
9768
10004
            :
9785
10021
      break
9786
10022
    fi
9787
10023
  done
9788
 
  IFS="$lt_save_ifs"
9789
 
  MAGIC_CMD="$lt_save_MAGIC_CMD"
 
10024
  IFS=$lt_save_ifs
 
10025
  MAGIC_CMD=$lt_save_MAGIC_CMD
9790
10026
  ;;
9791
10027
esac
9792
10028
fi
9793
10029
 
9794
 
MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
 
10030
MAGIC_CMD=$lt_cv_path_MAGIC_CMD
9795
10031
if test -n "$MAGIC_CMD"; then
9796
10032
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
9797
10033
$as_echo "$MAGIC_CMD" >&6; }
9812
10048
 
9813
10049
# Use C for the default configuration in the libtool script
9814
10050
 
9815
 
lt_save_CC="$CC"
 
10051
lt_save_CC=$CC
9816
10052
ac_ext=c
9817
10053
ac_cpp='$CPP $CPPFLAGS'
9818
10054
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
9870
10106
 
9871
10107
lt_prog_compiler_no_builtin_flag=
9872
10108
 
9873
 
if test "$GCC" = yes; then
 
10109
if test yes = "$GCC"; then
9874
10110
  case $cc_basename in
9875
10111
  nvcc*)
9876
10112
    lt_prog_compiler_no_builtin_flag=' -Xcompiler -fno-builtin' ;;
9886
10122
  lt_cv_prog_compiler_rtti_exceptions=no
9887
10123
   ac_outfile=conftest.$ac_objext
9888
10124
   echo "$lt_simple_compile_test_code" > conftest.$ac_ext
9889
 
   lt_compiler_flag="-fno-rtti -fno-exceptions"
 
10125
   lt_compiler_flag="-fno-rtti -fno-exceptions"  ## exclude from sc_useless_quotes_in_assignment
9890
10126
   # Insert the option either (1) after the last *FLAGS variable, or
9891
10127
   # (2) before a word containing "conftest.", or (3) at the end.
9892
10128
   # Note that $ac_compile itself does not contain backslashes and begins
9916
10152
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_rtti_exceptions" >&5
9917
10153
$as_echo "$lt_cv_prog_compiler_rtti_exceptions" >&6; }
9918
10154
 
9919
 
if test x"$lt_cv_prog_compiler_rtti_exceptions" = xyes; then
 
10155
if test yes = "$lt_cv_prog_compiler_rtti_exceptions"; then
9920
10156
    lt_prog_compiler_no_builtin_flag="$lt_prog_compiler_no_builtin_flag -fno-rtti -fno-exceptions"
9921
10157
else
9922
10158
    :
9934
10170
lt_prog_compiler_static=
9935
10171
 
9936
10172
 
9937
 
  if test "$GCC" = yes; then
 
10173
  if test yes = "$GCC"; then
9938
10174
    lt_prog_compiler_wl='-Wl,'
9939
10175
    lt_prog_compiler_static='-static'
9940
10176
 
9941
10177
    case $host_os in
9942
10178
      aix*)
9943
10179
      # All AIX code is PIC.
9944
 
      if test "$host_cpu" = ia64; then
 
10180
      if test ia64 = "$host_cpu"; then
9945
10181
        # AIX 5 now supports IA64 processor
9946
10182
        lt_prog_compiler_static='-Bstatic'
9947
10183
      fi
 
10184
      lt_prog_compiler_pic='-fPIC'
9948
10185
      ;;
9949
10186
 
9950
10187
    amigaos*)
9955
10192
        ;;
9956
10193
      m68k)
9957
10194
            # FIXME: we need at least 68020 code to build shared libraries, but
9958
 
            # adding the `-m68020' flag to GCC prevents building anything better,
9959
 
            # like `-m68040'.
 
10195
            # adding the '-m68020' flag to GCC prevents building anything better,
 
10196
            # like '-m68040'.
9960
10197
            lt_prog_compiler_pic='-m68020 -resident32 -malways-restore-a4'
9961
10198
        ;;
9962
10199
      esac
9972
10209
      # Although the cygwin gcc ignores -fPIC, still need this for old-style
9973
10210
      # (--disable-auto-import) libraries
9974
10211
      lt_prog_compiler_pic='-DDLL_EXPORT'
 
10212
      case $host_os in
 
10213
      os2*)
 
10214
        lt_prog_compiler_static='$wl-static'
 
10215
        ;;
 
10216
      esac
9975
10217
      ;;
9976
10218
 
9977
10219
    darwin* | rhapsody*)
10042
10284
    case $host_os in
10043
10285
    aix*)
10044
10286
      lt_prog_compiler_wl='-Wl,'
10045
 
      if test "$host_cpu" = ia64; then
 
10287
      if test ia64 = "$host_cpu"; then
10046
10288
        # AIX 5 now supports IA64 processor
10047
10289
        lt_prog_compiler_static='-Bstatic'
10048
10290
      else
10050
10292
      fi
10051
10293
      ;;
10052
10294
 
 
10295
    darwin* | rhapsody*)
 
10296
      # PIC is the default on this platform
 
10297
      # Common symbols not allowed in MH_DYLIB files
 
10298
      lt_prog_compiler_pic='-fno-common'
 
10299
      case $cc_basename in
 
10300
      nagfor*)
 
10301
        # NAG Fortran compiler
 
10302
        lt_prog_compiler_wl='-Wl,-Wl,,'
 
10303
        lt_prog_compiler_pic='-PIC'
 
10304
        lt_prog_compiler_static='-Bstatic'
 
10305
        ;;
 
10306
      esac
 
10307
      ;;
 
10308
 
10053
10309
    mingw* | cygwin* | pw32* | os2* | cegcc*)
10054
10310
      # This hack is so that the source file can tell whether it is being
10055
10311
      # built for inclusion in a dll (and should export symbols for example).
10056
10312
      lt_prog_compiler_pic='-DDLL_EXPORT'
 
10313
      case $host_os in
 
10314
      os2*)
 
10315
        lt_prog_compiler_static='$wl-static'
 
10316
        ;;
 
10317
      esac
10057
10318
      ;;
10058
10319
 
10059
10320
    hpux9* | hpux10* | hpux11*)
10069
10330
        ;;
10070
10331
      esac
10071
10332
      # Is there a better lt_prog_compiler_static that works with the bundled CC?
10072
 
      lt_prog_compiler_static='${wl}-a ${wl}archive'
 
10333
      lt_prog_compiler_static='$wl-a ${wl}archive'
10073
10334
      ;;
10074
10335
 
10075
10336
    irix5* | irix6* | nonstopux*)
10080
10341
 
10081
10342
    linux* | k*bsd*-gnu | kopensolaris*-gnu | gnu*)
10082
10343
      case $cc_basename in
10083
 
      # old Intel for x86_64 which still supported -KPIC.
 
10344
      # old Intel for x86_64, which still supported -KPIC.
10084
10345
      ecc*)
10085
10346
        lt_prog_compiler_wl='-Wl,'
10086
10347
        lt_prog_compiler_pic='-KPIC'
10105
10366
        lt_prog_compiler_pic='-PIC'
10106
10367
        lt_prog_compiler_static='-Bstatic'
10107
10368
        ;;
 
10369
      tcc*)
 
10370
        # Fabrice Bellard et al's Tiny C Compiler
 
10371
        lt_prog_compiler_wl='-Wl,'
 
10372
        lt_prog_compiler_pic='-fPIC'
 
10373
        lt_prog_compiler_static='-static'
 
10374
        ;;
10108
10375
      pgcc* | pgf77* | pgf90* | pgf95* | pgfortran*)
10109
10376
        # Portland Group compilers (*not* the Pentium gcc compiler,
10110
10377
        # which looks to be a dead project)
10202
10469
      ;;
10203
10470
 
10204
10471
    sysv4*MP*)
10205
 
      if test -d /usr/nec ;then
 
10472
      if test -d /usr/nec; then
10206
10473
        lt_prog_compiler_pic='-Kconform_pic'
10207
10474
        lt_prog_compiler_static='-Bstatic'
10208
10475
      fi
10231
10498
  fi
10232
10499
 
10233
10500
case $host_os in
10234
 
  # For platforms which do not support PIC, -DPIC is meaningless:
 
10501
  # For platforms that do not support PIC, -DPIC is meaningless:
10235
10502
  *djgpp*)
10236
10503
    lt_prog_compiler_pic=
10237
10504
    ;;
10263
10530
  lt_cv_prog_compiler_pic_works=no
10264
10531
   ac_outfile=conftest.$ac_objext
10265
10532
   echo "$lt_simple_compile_test_code" > conftest.$ac_ext
10266
 
   lt_compiler_flag="$lt_prog_compiler_pic -DPIC"
 
10533
   lt_compiler_flag="$lt_prog_compiler_pic -DPIC"  ## exclude from sc_useless_quotes_in_assignment
10267
10534
   # Insert the option either (1) after the last *FLAGS variable, or
10268
10535
   # (2) before a word containing "conftest.", or (3) at the end.
10269
10536
   # Note that $ac_compile itself does not contain backslashes and begins
10293
10560
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_works" >&5
10294
10561
$as_echo "$lt_cv_prog_compiler_pic_works" >&6; }
10295
10562
 
10296
 
if test x"$lt_cv_prog_compiler_pic_works" = xyes; then
 
10563
if test yes = "$lt_cv_prog_compiler_pic_works"; then
10297
10564
    case $lt_prog_compiler_pic in
10298
10565
     "" | " "*) ;;
10299
10566
     *) lt_prog_compiler_pic=" $lt_prog_compiler_pic" ;;
10325
10592
  $as_echo_n "(cached) " >&6
10326
10593
else
10327
10594
  lt_cv_prog_compiler_static_works=no
10328
 
   save_LDFLAGS="$LDFLAGS"
 
10595
   save_LDFLAGS=$LDFLAGS
10329
10596
   LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
10330
10597
   echo "$lt_simple_link_test_code" > conftest.$ac_ext
10331
10598
   if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
10344
10611
     fi
10345
10612
   fi
10346
10613
   $RM -r conftest*
10347
 
   LDFLAGS="$save_LDFLAGS"
 
10614
   LDFLAGS=$save_LDFLAGS
10348
10615
 
10349
10616
fi
10350
10617
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_static_works" >&5
10351
10618
$as_echo "$lt_cv_prog_compiler_static_works" >&6; }
10352
10619
 
10353
 
if test x"$lt_cv_prog_compiler_static_works" = xyes; then
 
10620
if test yes = "$lt_cv_prog_compiler_static_works"; then
10354
10621
    :
10355
10622
else
10356
10623
    lt_prog_compiler_static=
10470
10737
 
10471
10738
 
10472
10739
 
10473
 
hard_links="nottested"
10474
 
if test "$lt_cv_prog_compiler_c_o" = no && test "$need_locks" != no; then
 
10740
hard_links=nottested
 
10741
if test no = "$lt_cv_prog_compiler_c_o" && test no != "$need_locks"; then
10475
10742
  # do not overwrite the value of need_locks provided by the user
10476
10743
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking if we can lock with hard links" >&5
10477
10744
$as_echo_n "checking if we can lock with hard links... " >&6; }
10483
10750
  ln conftest.a conftest.b 2>/dev/null && hard_links=no
10484
10751
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hard_links" >&5
10485
10752
$as_echo "$hard_links" >&6; }
10486
 
  if test "$hard_links" = no; then
10487
 
    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
10488
 
$as_echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
 
10753
  if test no = "$hard_links"; then
 
10754
    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: '$CC' does not support '-c -o', so 'make -j' may be unsafe" >&5
 
10755
$as_echo "$as_me: WARNING: '$CC' does not support '-c -o', so 'make -j' may be unsafe" >&2;}
10489
10756
    need_locks=warn
10490
10757
  fi
10491
10758
else
10528
10795
  # included in the symbol list
10529
10796
  include_expsyms=
10530
10797
  # exclude_expsyms can be an extended regexp of symbols to exclude
10531
 
  # it will be wrapped by ` (' and `)$', so one must not match beginning or
10532
 
  # end of line.  Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
10533
 
  # as well as any symbol that contains `d'.
 
10798
  # it will be wrapped by ' (' and ')$', so one must not match beginning or
 
10799
  # end of line.  Example: 'a|bc|.*d.*' will exclude the symbols 'a' and 'bc',
 
10800
  # as well as any symbol that contains 'd'.
10534
10801
  exclude_expsyms='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
10535
10802
  # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
10536
10803
  # platforms (ab)use it in PIC code, but their linkers get confused if
10545
10812
    # FIXME: the MSVC++ port hasn't been tested in a loooong time
10546
10813
    # When not using gcc, we currently assume that we are using
10547
10814
    # Microsoft Visual C++.
10548
 
    if test "$GCC" != yes; then
 
10815
    if test yes != "$GCC"; then
10549
10816
      with_gnu_ld=no
10550
10817
    fi
10551
10818
    ;;
10553
10820
    # we just hope/assume this is gcc and not c89 (= MSVC++)
10554
10821
    with_gnu_ld=yes
10555
10822
    ;;
10556
 
  openbsd*)
 
10823
  openbsd* | bitrig*)
10557
10824
    with_gnu_ld=no
10558
10825
    ;;
10559
 
  linux* | k*bsd*-gnu | gnu*)
10560
 
    link_all_deplibs=no
10561
 
    ;;
10562
10826
  esac
10563
10827
 
10564
10828
  ld_shlibs=yes
10566
10830
  # On some targets, GNU ld is compatible enough with the native linker
10567
10831
  # that we're better off using the native interface for both.
10568
10832
  lt_use_gnu_ld_interface=no
10569
 
  if test "$with_gnu_ld" = yes; then
 
10833
  if test yes = "$with_gnu_ld"; then
10570
10834
    case $host_os in
10571
10835
      aix*)
10572
10836
        # The AIX port of GNU ld has always aspired to compatibility
10588
10852
    esac
10589
10853
  fi
10590
10854
 
10591
 
  if test "$lt_use_gnu_ld_interface" = yes; then
 
10855
  if test yes = "$lt_use_gnu_ld_interface"; then
10592
10856
    # If archive_cmds runs LD, not CC, wlarc should be empty
10593
 
    wlarc='${wl}'
 
10857
    wlarc='$wl'
10594
10858
 
10595
10859
    # Set some defaults for GNU ld with shared library support. These
10596
10860
    # are reset later if shared libraries are not supported. Putting them
10597
10861
    # here allows them to be overridden if necessary.
10598
10862
    runpath_var=LD_RUN_PATH
10599
 
    hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
10600
 
    export_dynamic_flag_spec='${wl}--export-dynamic'
 
10863
    hardcode_libdir_flag_spec='$wl-rpath $wl$libdir'
 
10864
    export_dynamic_flag_spec='$wl--export-dynamic'
10601
10865
    # ancient GNU ld didn't support --whole-archive et. al.
10602
10866
    if $LD --help 2>&1 | $GREP 'no-whole-archive' > /dev/null; then
10603
 
      whole_archive_flag_spec="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
 
10867
      whole_archive_flag_spec=$wlarc'--whole-archive$convenience '$wlarc'--no-whole-archive'
10604
10868
    else
10605
10869
      whole_archive_flag_spec=
10606
10870
    fi
10607
10871
    supports_anon_versioning=no
10608
 
    case `$LD -v 2>&1` in
 
10872
    case `$LD -v | $SED -e 's/(^)\+)\s\+//' 2>&1` in
10609
10873
      *GNU\ gold*) supports_anon_versioning=yes ;;
10610
10874
      *\ [01].* | *\ 2.[0-9].* | *\ 2.10.*) ;; # catch versions < 2.11
10611
10875
      *\ 2.11.93.0.2\ *) supports_anon_versioning=yes ;; # RH7.3 ...
10618
10882
    case $host_os in
10619
10883
    aix[3-9]*)
10620
10884
      # On AIX/PPC, the GNU linker is very broken
10621
 
      if test "$host_cpu" != ia64; then
 
10885
      if test ia64 != "$host_cpu"; then
10622
10886
        ld_shlibs=no
10623
10887
        cat <<_LT_EOF 1>&2
10624
10888
 
10637
10901
      case $host_cpu in
10638
10902
      powerpc)
10639
10903
            # see comment about AmigaOS4 .so support
10640
 
            archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
 
10904
            archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
10641
10905
            archive_expsym_cmds=''
10642
10906
        ;;
10643
10907
      m68k)
10653
10917
        allow_undefined_flag=unsupported
10654
10918
        # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
10655
10919
        # support --undefined.  This deserves some investigation.  FIXME
10656
 
        archive_cmds='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
 
10920
        archive_cmds='$CC -nostart $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
10657
10921
      else
10658
10922
        ld_shlibs=no
10659
10923
      fi
10663
10927
      # _LT_TAGVAR(hardcode_libdir_flag_spec, ) is actually meaningless,
10664
10928
      # as there is no search path for DLLs.
10665
10929
      hardcode_libdir_flag_spec='-L$libdir'
10666
 
      export_dynamic_flag_spec='${wl}--export-all-symbols'
 
10930
      export_dynamic_flag_spec='$wl--export-all-symbols'
10667
10931
      allow_undefined_flag=unsupported
10668
10932
      always_export_symbols=no
10669
10933
      enable_shared_with_static_runtimes=yes
10671
10935
      exclude_expsyms='[_]+GLOBAL_OFFSET_TABLE_|[_]+GLOBAL__[FID]_.*|[_]+head_[A-Za-z0-9_]+_dll|[A-Za-z0-9_]+_dll_iname'
10672
10936
 
10673
10937
      if $LD --help 2>&1 | $GREP 'auto-import' > /dev/null; then
10674
 
        archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
10675
 
        # If the export-symbols file already is a .def file (1st line
10676
 
        # is EXPORTS), use it as is; otherwise, prepend...
10677
 
        archive_expsym_cmds='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
10678
 
          cp $export_symbols $output_objdir/$soname.def;
10679
 
        else
10680
 
          echo EXPORTS > $output_objdir/$soname.def;
10681
 
          cat $export_symbols >> $output_objdir/$soname.def;
10682
 
        fi~
10683
 
        $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
 
10938
        archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname $wl--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
 
10939
        # If the export-symbols file already is a .def file, use it as
 
10940
        # is; otherwise, prepend EXPORTS...
 
10941
        archive_expsym_cmds='if   test DEF = "`$SED -n     -e '\''s/^[   ]*//'\''     -e '\''/^\(;.*\)*$/d'\''     -e '\''s/^\(EXPORTS\|LIBRARY\)\([     ].*\)*$/DEF/p'\''     -e q     $export_symbols`" ; then
 
10942
          cp $export_symbols $output_objdir/$soname.def;
 
10943
        else
 
10944
          echo EXPORTS > $output_objdir/$soname.def;
 
10945
          cat $export_symbols >> $output_objdir/$soname.def;
 
10946
        fi~
 
10947
        $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname $wl--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
10684
10948
      else
10685
10949
        ld_shlibs=no
10686
10950
      fi
10687
10951
      ;;
10688
10952
 
10689
10953
    haiku*)
10690
 
      archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
 
10954
      archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
10691
10955
      link_all_deplibs=yes
10692
10956
      ;;
10693
10957
 
 
10958
    os2*)
 
10959
      hardcode_libdir_flag_spec='-L$libdir'
 
10960
      hardcode_minus_L=yes
 
10961
      allow_undefined_flag=unsupported
 
10962
      shrext_cmds=.dll
 
10963
      archive_cmds='$ECHO "LIBRARY ${soname%$shared_ext} INITINSTANCE TERMINSTANCE" > $output_objdir/$libname.def~
 
10964
        $ECHO "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~
 
10965
        $ECHO "DATA MULTIPLE NONSHARED" >> $output_objdir/$libname.def~
 
10966
        $ECHO EXPORTS >> $output_objdir/$libname.def~
 
10967
        emxexp $libobjs | $SED /"_DLL_InitTerm"/d >> $output_objdir/$libname.def~
 
10968
        $CC -Zdll -Zcrtdll -o $output_objdir/$soname $libobjs $deplibs $compiler_flags $output_objdir/$libname.def~
 
10969
        emximp -o $lib $output_objdir/$libname.def'
 
10970
      archive_expsym_cmds='$ECHO "LIBRARY ${soname%$shared_ext} INITINSTANCE TERMINSTANCE" > $output_objdir/$libname.def~
 
10971
        $ECHO "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~
 
10972
        $ECHO "DATA MULTIPLE NONSHARED" >> $output_objdir/$libname.def~
 
10973
        $ECHO EXPORTS >> $output_objdir/$libname.def~
 
10974
        prefix_cmds="$SED"~
 
10975
        if test EXPORTS = "`$SED 1q $export_symbols`"; then
 
10976
          prefix_cmds="$prefix_cmds -e 1d";
 
10977
        fi~
 
10978
        prefix_cmds="$prefix_cmds -e \"s/^\(.*\)$/_\1/g\""~
 
10979
        cat $export_symbols | $prefix_cmds >> $output_objdir/$libname.def~
 
10980
        $CC -Zdll -Zcrtdll -o $output_objdir/$soname $libobjs $deplibs $compiler_flags $output_objdir/$libname.def~
 
10981
        emximp -o $lib $output_objdir/$libname.def'
 
10982
      old_archive_From_new_cmds='emximp -o $output_objdir/${libname}_dll.a $output_objdir/$libname.def'
 
10983
      enable_shared_with_static_runtimes=yes
 
10984
      ;;
 
10985
 
10694
10986
    interix[3-9]*)
10695
10987
      hardcode_direct=no
10696
10988
      hardcode_shlibpath_var=no
10697
 
      hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
10698
 
      export_dynamic_flag_spec='${wl}-E'
 
10989
      hardcode_libdir_flag_spec='$wl-rpath,$libdir'
 
10990
      export_dynamic_flag_spec='$wl-E'
10699
10991
      # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
10700
10992
      # Instead, shared libraries are loaded at an image base (0x10000000 by
10701
10993
      # default) and relocated if they conflict, which is a slow very memory
10702
10994
      # consuming and fragmenting process.  To avoid this, we pick a random,
10703
10995
      # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
10704
10996
      # time.  Moving up from 0x10000000 also allows more sbrk(2) space.
10705
 
      archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
10706
 
      archive_expsym_cmds='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'
 
10997
      archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-h,$soname $wl--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
 
10998
      archive_expsym_cmds='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'
10707
10999
      ;;
10708
11000
 
10709
11001
    gnu* | linux* | tpf* | k*bsd*-gnu | kopensolaris*-gnu)
10710
11002
      tmp_diet=no
10711
 
      if test "$host_os" = linux-dietlibc; then
 
11003
      if test linux-dietlibc = "$host_os"; then
10712
11004
        case $cc_basename in
10713
11005
          diet\ *) tmp_diet=yes;;       # linux-dietlibc with static linking (!diet-dyn)
10714
11006
        esac
10715
11007
      fi
10716
11008
      if $LD --help 2>&1 | $EGREP ': supported targets:.* elf' > /dev/null \
10717
 
         && test "$tmp_diet" = no
 
11009
         && test no = "$tmp_diet"
10718
11010
      then
10719
11011
        tmp_addflag=' $pic_flag'
10720
11012
        tmp_sharedflag='-shared'
10721
11013
        case $cc_basename,$host_cpu in
10722
11014
        pgcc*)                          # Portland Group C compiler
10723
 
          whole_archive_flag_spec='${wl}--whole-archive`for conv in $convenience\"\"; do test  -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; func_echo_all \"$new_convenience\"` ${wl}--no-whole-archive'
 
11015
          whole_archive_flag_spec='$wl--whole-archive`for conv in $convenience\"\"; do test  -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; func_echo_all \"$new_convenience\"` $wl--no-whole-archive'
10724
11016
          tmp_addflag=' $pic_flag'
10725
11017
          ;;
10726
11018
        pgf77* | pgf90* | pgf95* | pgfortran*)
10727
11019
                                        # Portland Group f77 and f90 compilers
10728
 
          whole_archive_flag_spec='${wl}--whole-archive`for conv in $convenience\"\"; do test  -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; func_echo_all \"$new_convenience\"` ${wl}--no-whole-archive'
 
11020
          whole_archive_flag_spec='$wl--whole-archive`for conv in $convenience\"\"; do test  -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; func_echo_all \"$new_convenience\"` $wl--no-whole-archive'
10729
11021
          tmp_addflag=' $pic_flag -Mnomain' ;;
10730
11022
        ecc*,ia64* | icc*,ia64*)        # Intel C compiler on ia64
10731
11023
          tmp_addflag=' -i_dynamic' ;;
10736
11028
        lf95*)                          # Lahey Fortran 8.1
10737
11029
          whole_archive_flag_spec=
10738
11030
          tmp_sharedflag='--shared' ;;
 
11031
        nagfor*)                        # NAGFOR 5.3
 
11032
          tmp_sharedflag='-Wl,-shared' ;;
10739
11033
        xl[cC]* | bgxl[cC]* | mpixl[cC]*) # IBM XL C 8.0 on PPC (deal with xlf below)
10740
11034
          tmp_sharedflag='-qmkshrobj'
10741
11035
          tmp_addflag= ;;
10742
11036
        nvcc*)  # Cuda Compiler Driver 2.2
10743
 
          whole_archive_flag_spec='${wl}--whole-archive`for conv in $convenience\"\"; do test  -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; func_echo_all \"$new_convenience\"` ${wl}--no-whole-archive'
 
11037
          whole_archive_flag_spec='$wl--whole-archive`for conv in $convenience\"\"; do test  -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; func_echo_all \"$new_convenience\"` $wl--no-whole-archive'
10744
11038
          compiler_needs_object=yes
10745
11039
          ;;
10746
11040
        esac
10747
11041
        case `$CC -V 2>&1 | sed 5q` in
10748
11042
        *Sun\ C*)                       # Sun C 5.9
10749
 
          whole_archive_flag_spec='${wl}--whole-archive`new_convenience=; for conv in $convenience\"\"; do test -z \"$conv\" || new_convenience=\"$new_convenience,$conv\"; done; func_echo_all \"$new_convenience\"` ${wl}--no-whole-archive'
 
11043
          whole_archive_flag_spec='$wl--whole-archive`new_convenience=; for conv in $convenience\"\"; do test -z \"$conv\" || new_convenience=\"$new_convenience,$conv\"; done; func_echo_all \"$new_convenience\"` $wl--no-whole-archive'
10750
11044
          compiler_needs_object=yes
10751
11045
          tmp_sharedflag='-G' ;;
10752
11046
        *Sun\ F*)                       # Sun Fortran 8.3
10753
11047
          tmp_sharedflag='-G' ;;
10754
11048
        esac
10755
 
        archive_cmds='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
 
11049
        archive_cmds='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
10756
11050
 
10757
 
        if test "x$supports_anon_versioning" = xyes; then
 
11051
        if test yes = "$supports_anon_versioning"; then
10758
11052
          archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
10759
 
            cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
10760
 
            echo "local: *; };" >> $output_objdir/$libname.ver~
10761
 
            $CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
 
11053
            cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
 
11054
            echo "local: *; };" >> $output_objdir/$libname.ver~
 
11055
            $CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags $wl-soname $wl$soname $wl-version-script $wl$output_objdir/$libname.ver -o $lib'
10762
11056
        fi
10763
11057
 
10764
11058
        case $cc_basename in
 
11059
        tcc*)
 
11060
          export_dynamic_flag_spec='-rdynamic'
 
11061
          ;;
10765
11062
        xlf* | bgf* | bgxlf* | mpixlf*)
10766
11063
          # IBM XL Fortran 10.1 on PPC cannot create shared libs itself
10767
11064
          whole_archive_flag_spec='--whole-archive$convenience --no-whole-archive'
10768
 
          hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
 
11065
          hardcode_libdir_flag_spec='$wl-rpath $wl$libdir'
10769
11066
          archive_cmds='$LD -shared $libobjs $deplibs $linker_flags -soname $soname -o $lib'
10770
 
          if test "x$supports_anon_versioning" = xyes; then
 
11067
          if test yes = "$supports_anon_versioning"; then
10771
11068
            archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
10772
 
              cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
10773
 
              echo "local: *; };" >> $output_objdir/$libname.ver~
10774
 
              $LD -shared $libobjs $deplibs $linker_flags -soname $soname -version-script $output_objdir/$libname.ver -o $lib'
 
11069
              cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
 
11070
              echo "local: *; };" >> $output_objdir/$libname.ver~
 
11071
              $LD -shared $libobjs $deplibs $linker_flags -soname $soname -version-script $output_objdir/$libname.ver -o $lib'
10775
11072
          fi
10776
11073
          ;;
10777
11074
        esac
10780
11077
      fi
10781
11078
      ;;
10782
11079
 
10783
 
    netbsd* | netbsdelf*-gnu)
 
11080
    netbsd*)
10784
11081
      if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
10785
11082
        archive_cmds='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
10786
11083
        wlarc=
10787
11084
      else
10788
 
        archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
10789
 
        archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
 
11085
        archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
 
11086
        archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname $wl-retain-symbols-file $wl$export_symbols -o $lib'
10790
11087
      fi
10791
11088
      ;;
10792
11089
 
10804
11101
 
10805
11102
_LT_EOF
10806
11103
      elif $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
10807
 
        archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
10808
 
        archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
 
11104
        archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
 
11105
        archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname $wl-retain-symbols-file $wl$export_symbols -o $lib'
10809
11106
      else
10810
11107
        ld_shlibs=no
10811
11108
      fi
10817
11114
        ld_shlibs=no
10818
11115
        cat <<_LT_EOF 1>&2
10819
11116
 
10820
 
*** Warning: Releases of the GNU linker prior to 2.16.91.0.3 can not
 
11117
*** Warning: Releases of the GNU linker prior to 2.16.91.0.3 cannot
10821
11118
*** reliably create shared libraries on SCO systems.  Therefore, libtool
10822
11119
*** is disabling shared libraries support.  We urge you to upgrade GNU
10823
11120
*** binutils to release 2.16.91.0.3 or newer.  Another option is to modify
10832
11129
          # DT_RUNPATH tag from executables and libraries.  But doing so
10833
11130
          # requires that you compile everything twice, which is a pain.
10834
11131
          if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
10835
 
            hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
10836
 
            archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
10837
 
            archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
 
11132
            hardcode_libdir_flag_spec='$wl-rpath $wl$libdir'
 
11133
            archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
 
11134
            archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags $wl-soname $wl$soname $wl-retain-symbols-file $wl$export_symbols -o $lib'
10838
11135
          else
10839
11136
            ld_shlibs=no
10840
11137
          fi
10851
11148
 
10852
11149
    *)
10853
11150
      if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
10854
 
        archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
10855
 
        archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
 
11151
        archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
 
11152
        archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname $wl-retain-symbols-file $wl$export_symbols -o $lib'
10856
11153
      else
10857
11154
        ld_shlibs=no
10858
11155
      fi
10859
11156
      ;;
10860
11157
    esac
10861
11158
 
10862
 
    if test "$ld_shlibs" = no; then
 
11159
    if test no = "$ld_shlibs"; then
10863
11160
      runpath_var=
10864
11161
      hardcode_libdir_flag_spec=
10865
11162
      export_dynamic_flag_spec=
10875
11172
      # Note: this linker hardcodes the directories in LIBPATH if there
10876
11173
      # are no directories specified by -L.
10877
11174
      hardcode_minus_L=yes
10878
 
      if test "$GCC" = yes && test -z "$lt_prog_compiler_static"; then
 
11175
      if test yes = "$GCC" && test -z "$lt_prog_compiler_static"; then
10879
11176
        # Neither direct hardcoding nor static linking is supported with a
10880
11177
        # broken collect2.
10881
11178
        hardcode_direct=unsupported
10883
11180
      ;;
10884
11181
 
10885
11182
    aix[4-9]*)
10886
 
      if test "$host_cpu" = ia64; then
 
11183
      if test ia64 = "$host_cpu"; then
10887
11184
        # On IA64, the linker does run time linking by default, so we don't
10888
11185
        # have to do anything special.
10889
11186
        aix_use_runtimelinking=no
10890
11187
        exp_sym_flag='-Bexport'
10891
 
        no_entry_flag=""
 
11188
        no_entry_flag=
10892
11189
      else
10893
11190
        # If we're using GNU nm, then we don't want the "-C" option.
10894
 
        # -C means demangle to AIX nm, but means don't demangle with GNU nm
10895
 
        # Also, AIX nm treats weak defined symbols like other global
10896
 
        # defined symbols, whereas GNU nm marks them as "W".
 
11191
        # -C means demangle to GNU nm, but means don't demangle to AIX nm.
 
11192
        # Without the "-l" option, or with the "-B" option, AIX nm treats
 
11193
        # weak defined symbols like other global defined symbols, whereas
 
11194
        # GNU nm marks them as "W".
 
11195
        # While the 'weak' keyword is ignored in the Export File, we need
 
11196
        # it in the Import File for the 'aix-soname' feature, so we have
 
11197
        # to replace the "-B" option with "-P" for AIX nm.
10897
11198
        if $NM -V 2>&1 | $GREP 'GNU' > /dev/null; then
10898
 
          export_symbols_cmds='$NM -Bpg $libobjs $convenience | awk '\''{ if (((\$ 2 == "T") || (\$ 2 == "D") || (\$ 2 == "B") || (\$ 2 == "W")) && (substr(\$ 3,1,1) != ".")) { print \$ 3 } }'\'' | sort -u > $export_symbols'
 
11199
          export_symbols_cmds='$NM -Bpg $libobjs $convenience | awk '\''{ if (((\$ 2 == "T") || (\$ 2 == "D") || (\$ 2 == "B") || (\$ 2 == "W")) && (substr(\$ 3,1,1) != ".")) { if (\$ 2 == "W") { print \$ 3 " weak" } else { print \$ 3 } } }'\'' | sort -u > $export_symbols'
10899
11200
        else
10900
 
          export_symbols_cmds='$NM -BCpg $libobjs $convenience | awk '\''{ if (((\$ 2 == "T") || (\$ 2 == "D") || (\$ 2 == "B")) && (substr(\$ 3,1,1) != ".")) { print \$ 3 } }'\'' | sort -u > $export_symbols'
 
11201
          export_symbols_cmds='`func_echo_all $NM | $SED -e '\''s/B\([^B]*\)$/P\1/'\''` -PCpgl $libobjs $convenience | awk '\''{ if (((\$ 2 == "T") || (\$ 2 == "D") || (\$ 2 == "B") || (\$ 2 == "W") || (\$ 2 == "V") || (\$ 2 == "Z")) && (substr(\$ 1,1,1) != ".")) { if ((\$ 2 == "W") || (\$ 2 == "V") || (\$ 2 == "Z")) { print \$ 1 " weak" } else { print \$ 1 } } }'\'' | sort -u > $export_symbols'
10901
11202
        fi
10902
11203
        aix_use_runtimelinking=no
10903
11204
 
10904
11205
        # Test if we are trying to use run time linking or normal
10905
11206
        # AIX style linking. If -brtl is somewhere in LDFLAGS, we
10906
 
        # need to do runtime linking.
 
11207
        # have runtime linking enabled, and use it for executables.
 
11208
        # For shared libraries, we enable/disable runtime linking
 
11209
        # depending on the kind of the shared library created -
 
11210
        # when "with_aix_soname,aix_use_runtimelinking" is:
 
11211
        # "aix,no"   lib.a(lib.so.V) shared, rtl:no,  for executables
 
11212
        # "aix,yes"  lib.so          shared, rtl:yes, for executables
 
11213
        #            lib.a           static archive
 
11214
        # "both,no"  lib.so.V(shr.o) shared, rtl:yes
 
11215
        #            lib.a(lib.so.V) shared, rtl:no,  for executables
 
11216
        # "both,yes" lib.so.V(shr.o) shared, rtl:yes, for executables
 
11217
        #            lib.a(lib.so.V) shared, rtl:no
 
11218
        # "svr4,*"   lib.so.V(shr.o) shared, rtl:yes, for executables
 
11219
        #            lib.a           static archive
10907
11220
        case $host_os in aix4.[23]|aix4.[23].*|aix[5-9]*)
10908
11221
          for ld_flag in $LDFLAGS; do
10909
 
          if (test $ld_flag = "-brtl" || test $ld_flag = "-Wl,-brtl"); then
 
11222
          if (test x-brtl = "x$ld_flag" || test x-Wl,-brtl = "x$ld_flag"); then
10910
11223
            aix_use_runtimelinking=yes
10911
11224
            break
10912
11225
          fi
10913
11226
          done
 
11227
          if test svr4,no = "$with_aix_soname,$aix_use_runtimelinking"; then
 
11228
            # With aix-soname=svr4, we create the lib.so.V shared archives only,
 
11229
            # so we don't have lib.a shared libs to link our executables.
 
11230
            # We have to force runtime linking in this case.
 
11231
            aix_use_runtimelinking=yes
 
11232
            LDFLAGS="$LDFLAGS -Wl,-brtl"
 
11233
          fi
10914
11234
          ;;
10915
11235
        esac
10916
11236
 
10929
11249
      hardcode_direct_absolute=yes
10930
11250
      hardcode_libdir_separator=':'
10931
11251
      link_all_deplibs=yes
10932
 
      file_list_spec='${wl}-f,'
 
11252
      file_list_spec='$wl-f,'
 
11253
      case $with_aix_soname,$aix_use_runtimelinking in
 
11254
      aix,*) ;; # traditional, no import file
 
11255
      svr4,* | *,yes) # use import file
 
11256
        # The Import File defines what to hardcode.
 
11257
        hardcode_direct=no
 
11258
        hardcode_direct_absolute=no
 
11259
        ;;
 
11260
      esac
10933
11261
 
10934
 
      if test "$GCC" = yes; then
 
11262
      if test yes = "$GCC"; then
10935
11263
        case $host_os in aix4.[012]|aix4.[012].*)
10936
11264
        # We only want to do this on AIX 4.2 and lower, the check
10937
11265
        # below for broken collect2 doesn't work under 4.3+
10938
 
          collect2name=`${CC} -print-prog-name=collect2`
 
11266
          collect2name=`$CC -print-prog-name=collect2`
10939
11267
          if test -f "$collect2name" &&
10940
11268
           strings "$collect2name" | $GREP resolve_lib_name >/dev/null
10941
11269
          then
10954
11282
          ;;
10955
11283
        esac
10956
11284
        shared_flag='-shared'
10957
 
        if test "$aix_use_runtimelinking" = yes; then
10958
 
          shared_flag="$shared_flag "'${wl}-G'
 
11285
        if test yes = "$aix_use_runtimelinking"; then
 
11286
          shared_flag="$shared_flag "'$wl-G'
10959
11287
        fi
10960
 
        link_all_deplibs=no
 
11288
        # Need to ensure runtime linking is disabled for the traditional
 
11289
        # shared library, or the linker may eventually find shared libraries
 
11290
        # /with/ Import File - we do not want to mix them.
 
11291
        shared_flag_aix='-shared'
 
11292
        shared_flag_svr4='-shared $wl-G'
10961
11293
      else
10962
11294
        # not using gcc
10963
 
        if test "$host_cpu" = ia64; then
 
11295
        if test ia64 = "$host_cpu"; then
10964
11296
        # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
10965
11297
        # chokes on -Wl,-G. The following line is correct:
10966
11298
          shared_flag='-G'
10967
11299
        else
10968
 
          if test "$aix_use_runtimelinking" = yes; then
10969
 
            shared_flag='${wl}-G'
 
11300
          if test yes = "$aix_use_runtimelinking"; then
 
11301
            shared_flag='$wl-G'
10970
11302
          else
10971
 
            shared_flag='${wl}-bM:SRE'
 
11303
            shared_flag='$wl-bM:SRE'
10972
11304
          fi
 
11305
          shared_flag_aix='$wl-bM:SRE'
 
11306
          shared_flag_svr4='$wl-G'
10973
11307
        fi
10974
11308
      fi
10975
11309
 
10976
 
      export_dynamic_flag_spec='${wl}-bexpall'
 
11310
      export_dynamic_flag_spec='$wl-bexpall'
10977
11311
      # It seems that -bexpall does not export symbols beginning with
10978
11312
      # underscore (_), so it is better to generate a list of symbols to export.
10979
11313
      always_export_symbols=yes
10980
 
      if test "$aix_use_runtimelinking" = yes; then
 
11314
      if test aix,yes = "$with_aix_soname,$aix_use_runtimelinking"; then
10981
11315
        # Warning - without using the other runtime loading flags (-brtl),
10982
11316
        # -berok will link without error, but may produce a broken library.
10983
11317
        allow_undefined_flag='-berok'
10984
11318
        # Determine the default libpath from the value encoded in an
10985
11319
        # empty executable.
10986
 
        if test "${lt_cv_aix_libpath+set}" = set; then
 
11320
        if test set = "${lt_cv_aix_libpath+set}"; then
10987
11321
  aix_libpath=$lt_cv_aix_libpath
10988
11322
else
10989
11323
  if ${lt_cv_aix_libpath_+:} false; then :
11018
11352
rm -f core conftest.err conftest.$ac_objext \
11019
11353
    conftest$ac_exeext conftest.$ac_ext
11020
11354
  if test -z "$lt_cv_aix_libpath_"; then
11021
 
    lt_cv_aix_libpath_="/usr/lib:/lib"
 
11355
    lt_cv_aix_libpath_=/usr/lib:/lib
11022
11356
  fi
11023
11357
 
11024
11358
fi
11026
11360
  aix_libpath=$lt_cv_aix_libpath_
11027
11361
fi
11028
11362
 
11029
 
        hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
11030
 
        archive_expsym_cmds='$CC -o $output_objdir/$soname $libobjs $deplibs '"\${wl}$no_entry_flag"' $compiler_flags `if test "x${allow_undefined_flag}" != "x"; then func_echo_all "${wl}${allow_undefined_flag}"; else :; fi` '"\${wl}$exp_sym_flag:\$export_symbols $shared_flag"
 
11363
        hardcode_libdir_flag_spec='$wl-blibpath:$libdir:'"$aix_libpath"
 
11364
        archive_expsym_cmds='$CC -o $output_objdir/$soname $libobjs $deplibs $wl'$no_entry_flag' $compiler_flags `if test -n "$allow_undefined_flag"; then func_echo_all "$wl$allow_undefined_flag"; else :; fi` $wl'$exp_sym_flag:\$export_symbols' '$shared_flag
11031
11365
      else
11032
 
        if test "$host_cpu" = ia64; then
11033
 
          hardcode_libdir_flag_spec='${wl}-R $libdir:/usr/lib:/lib'
 
11366
        if test ia64 = "$host_cpu"; then
 
11367
          hardcode_libdir_flag_spec='$wl-R $libdir:/usr/lib:/lib'
11034
11368
          allow_undefined_flag="-z nodefs"
11035
 
          archive_expsym_cmds="\$CC $shared_flag"' -o $output_objdir/$soname $libobjs $deplibs '"\${wl}$no_entry_flag"' $compiler_flags ${wl}${allow_undefined_flag} '"\${wl}$exp_sym_flag:\$export_symbols"
 
11369
          archive_expsym_cmds="\$CC $shared_flag"' -o $output_objdir/$soname $libobjs $deplibs '"\$wl$no_entry_flag"' $compiler_flags $wl$allow_undefined_flag '"\$wl$exp_sym_flag:\$export_symbols"
11036
11370
        else
11037
11371
         # Determine the default libpath from the value encoded in an
11038
11372
         # empty executable.
11039
 
         if test "${lt_cv_aix_libpath+set}" = set; then
 
11373
         if test set = "${lt_cv_aix_libpath+set}"; then
11040
11374
  aix_libpath=$lt_cv_aix_libpath
11041
11375
else
11042
11376
  if ${lt_cv_aix_libpath_+:} false; then :
11071
11405
rm -f core conftest.err conftest.$ac_objext \
11072
11406
    conftest$ac_exeext conftest.$ac_ext
11073
11407
  if test -z "$lt_cv_aix_libpath_"; then
11074
 
    lt_cv_aix_libpath_="/usr/lib:/lib"
 
11408
    lt_cv_aix_libpath_=/usr/lib:/lib
11075
11409
  fi
11076
11410
 
11077
11411
fi
11079
11413
  aix_libpath=$lt_cv_aix_libpath_
11080
11414
fi
11081
11415
 
11082
 
         hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
 
11416
         hardcode_libdir_flag_spec='$wl-blibpath:$libdir:'"$aix_libpath"
11083
11417
          # Warning - without using the other run time loading flags,
11084
11418
          # -berok will link without error, but may produce a broken library.
11085
 
          no_undefined_flag=' ${wl}-bernotok'
11086
 
          allow_undefined_flag=' ${wl}-berok'
11087
 
          if test "$with_gnu_ld" = yes; then
 
11419
          no_undefined_flag=' $wl-bernotok'
 
11420
          allow_undefined_flag=' $wl-berok'
 
11421
          if test yes = "$with_gnu_ld"; then
11088
11422
            # We only use this code for GNU lds that support --whole-archive.
11089
 
            whole_archive_flag_spec='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
 
11423
            whole_archive_flag_spec='$wl--whole-archive$convenience $wl--no-whole-archive'
11090
11424
          else
11091
11425
            # Exported symbols can be pulled into shared objects from archives
11092
11426
            whole_archive_flag_spec='$convenience'
11093
11427
          fi
11094
11428
          archive_cmds_need_lc=yes
11095
 
          # This is similar to how AIX traditionally builds its shared libraries.
11096
 
          archive_expsym_cmds="\$CC $shared_flag"' -o $output_objdir/$soname $libobjs $deplibs ${wl}-bnoentry $compiler_flags ${wl}-bE:$export_symbols${allow_undefined_flag}~$AR $AR_FLAGS $output_objdir/$libname$release.a $output_objdir/$soname'
 
11429
          archive_expsym_cmds='$RM -r $output_objdir/$realname.d~$MKDIR $output_objdir/$realname.d'
 
11430
          # -brtl affects multiple linker settings, -berok does not and is overridden later
 
11431
          compiler_flags_filtered='`func_echo_all "$compiler_flags " | $SED -e "s%-brtl\\([, ]\\)%-berok\\1%g"`'
 
11432
          if test svr4 != "$with_aix_soname"; then
 
11433
            # This is similar to how AIX traditionally builds its shared libraries.
 
11434
            archive_expsym_cmds="$archive_expsym_cmds"'~$CC '$shared_flag_aix' -o $output_objdir/$realname.d/$soname $libobjs $deplibs $wl-bnoentry '$compiler_flags_filtered'$wl-bE:$export_symbols$allow_undefined_flag~$AR $AR_FLAGS $output_objdir/$libname$release.a $output_objdir/$realname.d/$soname'
 
11435
          fi
 
11436
          if test aix != "$with_aix_soname"; then
 
11437
            archive_expsym_cmds="$archive_expsym_cmds"'~$CC '$shared_flag_svr4' -o $output_objdir/$realname.d/$shared_archive_member_spec.o $libobjs $deplibs $wl-bnoentry '$compiler_flags_filtered'$wl-bE:$export_symbols$allow_undefined_flag~$STRIP -e $output_objdir/$realname.d/$shared_archive_member_spec.o~( func_echo_all "#! $soname($shared_archive_member_spec.o)"; if test shr_64 = "$shared_archive_member_spec"; then func_echo_all "# 64"; else func_echo_all "# 32"; fi; cat $export_symbols ) > $output_objdir/$realname.d/$shared_archive_member_spec.imp~$AR $AR_FLAGS $output_objdir/$soname $output_objdir/$realname.d/$shared_archive_member_spec.o $output_objdir/$realname.d/$shared_archive_member_spec.imp'
 
11438
          else
 
11439
            # used by -dlpreopen to get the symbols
 
11440
            archive_expsym_cmds="$archive_expsym_cmds"'~$MV  $output_objdir/$realname.d/$soname $output_objdir'
 
11441
          fi
 
11442
          archive_expsym_cmds="$archive_expsym_cmds"'~$RM -r $output_objdir/$realname.d'
11097
11443
        fi
11098
11444
      fi
11099
11445
      ;;
11102
11448
      case $host_cpu in
11103
11449
      powerpc)
11104
11450
            # see comment about AmigaOS4 .so support
11105
 
            archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
 
11451
            archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
11106
11452
            archive_expsym_cmds=''
11107
11453
        ;;
11108
11454
      m68k)
11132
11478
        # Tell ltmain to make .lib files, not .a files.
11133
11479
        libext=lib
11134
11480
        # Tell ltmain to make .dll files, not .so files.
11135
 
        shrext_cmds=".dll"
 
11481
        shrext_cmds=.dll
11136
11482
        # FIXME: Setting linknames here is a bad hack.
11137
 
        archive_cmds='$CC -o $output_objdir/$soname $libobjs $compiler_flags $deplibs -Wl,-dll~linknames='
11138
 
        archive_expsym_cmds='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
11139
 
            sed -n -e 's/\\\\\\\(.*\\\\\\\)/-link\\\ -EXPORT:\\\\\\\1/' -e '1\\\!p' < $export_symbols > $output_objdir/$soname.exp;
11140
 
          else
11141
 
            sed -e 's/\\\\\\\(.*\\\\\\\)/-link\\\ -EXPORT:\\\\\\\1/' < $export_symbols > $output_objdir/$soname.exp;
11142
 
          fi~
11143
 
          $CC -o $tool_output_objdir$soname $libobjs $compiler_flags $deplibs "@$tool_output_objdir$soname.exp" -Wl,-DLL,-IMPLIB:"$tool_output_objdir$libname.dll.lib"~
11144
 
          linknames='
 
11483
        archive_cmds='$CC -o $output_objdir/$soname $libobjs $compiler_flags $deplibs -Wl,-DLL,-IMPLIB:"$tool_output_objdir$libname.dll.lib"~linknames='
 
11484
        archive_expsym_cmds='if   test DEF = "`$SED -n     -e '\''s/^[   ]*//'\''     -e '\''/^\(;.*\)*$/d'\''     -e '\''s/^\(EXPORTS\|LIBRARY\)\([     ].*\)*$/DEF/p'\''     -e q     $export_symbols`" ; then
 
11485
            cp "$export_symbols" "$output_objdir/$soname.def";
 
11486
            echo "$tool_output_objdir$soname.def" > "$output_objdir/$soname.exp";
 
11487
          else
 
11488
            $SED -e '\''s/^/-link -EXPORT:/'\'' < $export_symbols > $output_objdir/$soname.exp;
 
11489
          fi~
 
11490
          $CC -o $tool_output_objdir$soname $libobjs $compiler_flags $deplibs "@$tool_output_objdir$soname.exp" -Wl,-DLL,-IMPLIB:"$tool_output_objdir$libname.dll.lib"~
 
11491
          linknames='
11145
11492
        # The linker will not automatically build a static lib if we build a DLL.
11146
11493
        # _LT_TAGVAR(old_archive_from_new_cmds, )='true'
11147
11494
        enable_shared_with_static_runtimes=yes
11150
11497
        # Don't use ranlib
11151
11498
        old_postinstall_cmds='chmod 644 $oldlib'
11152
11499
        postlink_cmds='lt_outputfile="@OUTPUT@"~
11153
 
          lt_tool_outputfile="@TOOL_OUTPUT@"~
11154
 
          case $lt_outputfile in
11155
 
            *.exe|*.EXE) ;;
11156
 
            *)
11157
 
              lt_outputfile="$lt_outputfile.exe"
11158
 
              lt_tool_outputfile="$lt_tool_outputfile.exe"
11159
 
              ;;
11160
 
          esac~
11161
 
          if test "$MANIFEST_TOOL" != ":" && test -f "$lt_outputfile.manifest"; then
11162
 
            $MANIFEST_TOOL -manifest "$lt_tool_outputfile.manifest" -outputresource:"$lt_tool_outputfile" || exit 1;
11163
 
            $RM "$lt_outputfile.manifest";
11164
 
          fi'
 
11500
          lt_tool_outputfile="@TOOL_OUTPUT@"~
 
11501
          case $lt_outputfile in
 
11502
            *.exe|*.EXE) ;;
 
11503
            *)
 
11504
              lt_outputfile=$lt_outputfile.exe
 
11505
              lt_tool_outputfile=$lt_tool_outputfile.exe
 
11506
              ;;
 
11507
          esac~
 
11508
          if test : != "$MANIFEST_TOOL" && test -f "$lt_outputfile.manifest"; then
 
11509
            $MANIFEST_TOOL -manifest "$lt_tool_outputfile.manifest" -outputresource:"$lt_tool_outputfile" || exit 1;
 
11510
            $RM "$lt_outputfile.manifest";
 
11511
          fi'
11165
11512
        ;;
11166
11513
      *)
11167
11514
        # Assume MSVC wrapper
11170
11517
        # Tell ltmain to make .lib files, not .a files.
11171
11518
        libext=lib
11172
11519
        # Tell ltmain to make .dll files, not .so files.
11173
 
        shrext_cmds=".dll"
 
11520
        shrext_cmds=.dll
11174
11521
        # FIXME: Setting linknames here is a bad hack.
11175
11522
        archive_cmds='$CC -o $lib $libobjs $compiler_flags `func_echo_all "$deplibs" | $SED '\''s/ -lc$//'\''` -link -dll~linknames='
11176
11523
        # The linker will automatically build a .lib file if we build a DLL.
11189
11536
  hardcode_direct=no
11190
11537
  hardcode_automatic=yes
11191
11538
  hardcode_shlibpath_var=unsupported
11192
 
  if test "$lt_cv_ld_force_load" = "yes"; then
11193
 
    whole_archive_flag_spec='`for conv in $convenience\"\"; do test  -n \"$conv\" && new_convenience=\"$new_convenience ${wl}-force_load,$conv\"; done; func_echo_all \"$new_convenience\"`'
 
11539
  if test yes = "$lt_cv_ld_force_load"; then
 
11540
    whole_archive_flag_spec='`for conv in $convenience\"\"; do test  -n \"$conv\" && new_convenience=\"$new_convenience $wl-force_load,$conv\"; done; func_echo_all \"$new_convenience\"`'
11194
11541
 
11195
11542
  else
11196
11543
    whole_archive_flag_spec=''
11197
11544
  fi
11198
11545
  link_all_deplibs=yes
11199
 
  allow_undefined_flag="$_lt_dar_allow_undefined"
 
11546
  allow_undefined_flag=$_lt_dar_allow_undefined
11200
11547
  case $cc_basename in
11201
 
     ifort*) _lt_dar_can_shared=yes ;;
 
11548
     ifort*|nagfor*) _lt_dar_can_shared=yes ;;
11202
11549
     *) _lt_dar_can_shared=$GCC ;;
11203
11550
  esac
11204
 
  if test "$_lt_dar_can_shared" = "yes"; then
 
11551
  if test yes = "$_lt_dar_can_shared"; then
11205
11552
    output_verbose_link_cmd=func_echo_all
11206
 
    archive_cmds="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod${_lt_dsymutil}"
11207
 
    module_cmds="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}"
11208
 
    archive_expsym_cmds="sed 's,^,_,' < \$export_symbols > \$output_objdir/\${libname}-symbols.expsym~\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring ${_lt_dar_single_mod}${_lt_dar_export_syms}${_lt_dsymutil}"
11209
 
    module_expsym_cmds="sed -e 's,^,_,' < \$export_symbols > \$output_objdir/\${libname}-symbols.expsym~\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dar_export_syms}${_lt_dsymutil}"
 
11553
    archive_cmds="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod$_lt_dsymutil"
 
11554
    module_cmds="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags$_lt_dsymutil"
 
11555
    archive_expsym_cmds="sed 's|^|_|' < \$export_symbols > \$output_objdir/\$libname-symbols.expsym~\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod$_lt_dar_export_syms$_lt_dsymutil"
 
11556
    module_expsym_cmds="sed -e 's|^|_|' < \$export_symbols > \$output_objdir/\$libname-symbols.expsym~\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags$_lt_dar_export_syms$_lt_dsymutil"
11210
11557
 
11211
11558
  else
11212
11559
  ld_shlibs=no
11248
11595
      ;;
11249
11596
 
11250
11597
    hpux9*)
11251
 
      if test "$GCC" = yes; then
11252
 
        archive_cmds='$RM $output_objdir/$soname~$CC -shared $pic_flag ${wl}+b ${wl}$install_libdir -o $output_objdir/$soname $libobjs $deplibs $compiler_flags~test $output_objdir/$soname = $lib || mv $output_objdir/$soname $lib'
 
11598
      if test yes = "$GCC"; then
 
11599
        archive_cmds='$RM $output_objdir/$soname~$CC -shared $pic_flag $wl+b $wl$install_libdir -o $output_objdir/$soname $libobjs $deplibs $compiler_flags~test "x$output_objdir/$soname" = "x$lib" || mv $output_objdir/$soname $lib'
11253
11600
      else
11254
 
        archive_cmds='$RM $output_objdir/$soname~$LD -b +b $install_libdir -o $output_objdir/$soname $libobjs $deplibs $linker_flags~test $output_objdir/$soname = $lib || mv $output_objdir/$soname $lib'
 
11601
        archive_cmds='$RM $output_objdir/$soname~$LD -b +b $install_libdir -o $output_objdir/$soname $libobjs $deplibs $linker_flags~test "x$output_objdir/$soname" = "x$lib" || mv $output_objdir/$soname $lib'
11255
11602
      fi
11256
 
      hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
 
11603
      hardcode_libdir_flag_spec='$wl+b $wl$libdir'
11257
11604
      hardcode_libdir_separator=:
11258
11605
      hardcode_direct=yes
11259
11606
 
11260
11607
      # hardcode_minus_L: Not really in the search PATH,
11261
11608
      # but as the default location of the library.
11262
11609
      hardcode_minus_L=yes
11263
 
      export_dynamic_flag_spec='${wl}-E'
 
11610
      export_dynamic_flag_spec='$wl-E'
11264
11611
      ;;
11265
11612
 
11266
11613
    hpux10*)
11267
 
      if test "$GCC" = yes && test "$with_gnu_ld" = no; then
11268
 
        archive_cmds='$CC -shared $pic_flag ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
 
11614
      if test yes,no = "$GCC,$with_gnu_ld"; then
 
11615
        archive_cmds='$CC -shared $pic_flag $wl+h $wl$soname $wl+b $wl$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
11269
11616
      else
11270
11617
        archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
11271
11618
      fi
11272
 
      if test "$with_gnu_ld" = no; then
11273
 
        hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
 
11619
      if test no = "$with_gnu_ld"; then
 
11620
        hardcode_libdir_flag_spec='$wl+b $wl$libdir'
11274
11621
        hardcode_libdir_separator=:
11275
11622
        hardcode_direct=yes
11276
11623
        hardcode_direct_absolute=yes
11277
 
        export_dynamic_flag_spec='${wl}-E'
 
11624
        export_dynamic_flag_spec='$wl-E'
11278
11625
        # hardcode_minus_L: Not really in the search PATH,
11279
11626
        # but as the default location of the library.
11280
11627
        hardcode_minus_L=yes
11282
11629
      ;;
11283
11630
 
11284
11631
    hpux11*)
11285
 
      if test "$GCC" = yes && test "$with_gnu_ld" = no; then
 
11632
      if test yes,no = "$GCC,$with_gnu_ld"; then
11286
11633
        case $host_cpu in
11287
11634
        hppa*64*)
11288
 
          archive_cmds='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
 
11635
          archive_cmds='$CC -shared $wl+h $wl$soname -o $lib $libobjs $deplibs $compiler_flags'
11289
11636
          ;;
11290
11637
        ia64*)
11291
 
          archive_cmds='$CC -shared $pic_flag ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
 
11638
          archive_cmds='$CC -shared $pic_flag $wl+h $wl$soname $wl+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
11292
11639
          ;;
11293
11640
        *)
11294
 
          archive_cmds='$CC -shared $pic_flag ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
 
11641
          archive_cmds='$CC -shared $pic_flag $wl+h $wl$soname $wl+b $wl$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
11295
11642
          ;;
11296
11643
        esac
11297
11644
      else
11298
11645
        case $host_cpu in
11299
11646
        hppa*64*)
11300
 
          archive_cmds='$CC -b ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
 
11647
          archive_cmds='$CC -b $wl+h $wl$soname -o $lib $libobjs $deplibs $compiler_flags'
11301
11648
          ;;
11302
11649
        ia64*)
11303
 
          archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
 
11650
          archive_cmds='$CC -b $wl+h $wl$soname $wl+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
11304
11651
          ;;
11305
11652
        *)
11306
11653
 
11312
11659
  $as_echo_n "(cached) " >&6
11313
11660
else
11314
11661
  lt_cv_prog_compiler__b=no
11315
 
   save_LDFLAGS="$LDFLAGS"
 
11662
   save_LDFLAGS=$LDFLAGS
11316
11663
   LDFLAGS="$LDFLAGS -b"
11317
11664
   echo "$lt_simple_link_test_code" > conftest.$ac_ext
11318
11665
   if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
11331
11678
     fi
11332
11679
   fi
11333
11680
   $RM -r conftest*
11334
 
   LDFLAGS="$save_LDFLAGS"
 
11681
   LDFLAGS=$save_LDFLAGS
11335
11682
 
11336
11683
fi
11337
11684
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler__b" >&5
11338
11685
$as_echo "$lt_cv_prog_compiler__b" >&6; }
11339
11686
 
11340
 
if test x"$lt_cv_prog_compiler__b" = xyes; then
11341
 
    archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
 
11687
if test yes = "$lt_cv_prog_compiler__b"; then
 
11688
    archive_cmds='$CC -b $wl+h $wl$soname $wl+b $wl$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
11342
11689
else
11343
11690
    archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
11344
11691
fi
11346
11693
          ;;
11347
11694
        esac
11348
11695
      fi
11349
 
      if test "$with_gnu_ld" = no; then
11350
 
        hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
 
11696
      if test no = "$with_gnu_ld"; then
 
11697
        hardcode_libdir_flag_spec='$wl+b $wl$libdir'
11351
11698
        hardcode_libdir_separator=:
11352
11699
 
11353
11700
        case $host_cpu in
11358
11705
        *)
11359
11706
          hardcode_direct=yes
11360
11707
          hardcode_direct_absolute=yes
11361
 
          export_dynamic_flag_spec='${wl}-E'
 
11708
          export_dynamic_flag_spec='$wl-E'
11362
11709
 
11363
11710
          # hardcode_minus_L: Not really in the search PATH,
11364
11711
          # but as the default location of the library.
11369
11716
      ;;
11370
11717
 
11371
11718
    irix5* | irix6* | nonstopux*)
11372
 
      if test "$GCC" = yes; then
11373
 
        archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && func_echo_all "${wl}-set_version ${wl}$verstring"` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
 
11719
      if test yes = "$GCC"; then
 
11720
        archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname `test -n "$verstring" && func_echo_all "$wl-set_version $wl$verstring"` $wl-update_registry $wl$output_objdir/so_locations -o $lib'
11374
11721
        # Try to use the -exported_symbol ld option, if it does not
11375
11722
        # work, assume that -exports_file does not work either and
11376
11723
        # implicitly export all symbols.
11380
11727
if ${lt_cv_irix_exported_symbol+:} false; then :
11381
11728
  $as_echo_n "(cached) " >&6
11382
11729
else
11383
 
  save_LDFLAGS="$LDFLAGS"
11384
 
           LDFLAGS="$LDFLAGS -shared ${wl}-exported_symbol ${wl}foo ${wl}-update_registry ${wl}/dev/null"
 
11730
  save_LDFLAGS=$LDFLAGS
 
11731
           LDFLAGS="$LDFLAGS -shared $wl-exported_symbol ${wl}foo $wl-update_registry $wl/dev/null"
11385
11732
           cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11386
11733
/* end confdefs.h.  */
11387
11734
int foo (void) { return 0; }
11393
11740
fi
11394
11741
rm -f core conftest.err conftest.$ac_objext \
11395
11742
    conftest$ac_exeext conftest.$ac_ext
11396
 
           LDFLAGS="$save_LDFLAGS"
 
11743
           LDFLAGS=$save_LDFLAGS
11397
11744
fi
11398
11745
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_irix_exported_symbol" >&5
11399
11746
$as_echo "$lt_cv_irix_exported_symbol" >&6; }
11400
 
        if test "$lt_cv_irix_exported_symbol" = yes; then
11401
 
          archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && func_echo_all "${wl}-set_version ${wl}$verstring"` ${wl}-update_registry ${wl}${output_objdir}/so_locations ${wl}-exports_file ${wl}$export_symbols -o $lib'
 
11747
        if test yes = "$lt_cv_irix_exported_symbol"; then
 
11748
          archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname `test -n "$verstring" && func_echo_all "$wl-set_version $wl$verstring"` $wl-update_registry $wl$output_objdir/so_locations $wl-exports_file $wl$export_symbols -o $lib'
11402
11749
        fi
11403
11750
      else
11404
 
        archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags -soname $soname `test -n "$verstring" && func_echo_all "-set_version $verstring"` -update_registry ${output_objdir}/so_locations -o $lib'
11405
 
        archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags -soname $soname `test -n "$verstring" && func_echo_all "-set_version $verstring"` -update_registry ${output_objdir}/so_locations -exports_file $export_symbols -o $lib'
 
11751
        archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags -soname $soname `test -n "$verstring" && func_echo_all "-set_version $verstring"` -update_registry $output_objdir/so_locations -o $lib'
 
11752
        archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags -soname $soname `test -n "$verstring" && func_echo_all "-set_version $verstring"` -update_registry $output_objdir/so_locations -exports_file $export_symbols -o $lib'
11406
11753
      fi
11407
11754
      archive_cmds_need_lc='no'
11408
 
      hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
 
11755
      hardcode_libdir_flag_spec='$wl-rpath $wl$libdir'
11409
11756
      hardcode_libdir_separator=:
11410
11757
      inherit_rpath=yes
11411
11758
      link_all_deplibs=yes
11412
11759
      ;;
11413
11760
 
11414
 
    netbsd* | netbsdelf*-gnu)
 
11761
    linux*)
 
11762
      case $cc_basename in
 
11763
      tcc*)
 
11764
        # Fabrice Bellard et al's Tiny C Compiler
 
11765
        ld_shlibs=yes
 
11766
        archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
 
11767
        ;;
 
11768
      esac
 
11769
      ;;
 
11770
 
 
11771
    netbsd*)
11415
11772
      if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
11416
11773
        archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'  # a.out
11417
11774
      else
11425
11782
    newsos6)
11426
11783
      archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
11427
11784
      hardcode_direct=yes
11428
 
      hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
 
11785
      hardcode_libdir_flag_spec='$wl-rpath $wl$libdir'
11429
11786
      hardcode_libdir_separator=:
11430
11787
      hardcode_shlibpath_var=no
11431
11788
      ;;
11433
11790
    *nto* | *qnx*)
11434
11791
      ;;
11435
11792
 
11436
 
    openbsd*)
 
11793
    openbsd* | bitrig*)
11437
11794
      if test -f /usr/libexec/ld.so; then
11438
11795
        hardcode_direct=yes
11439
11796
        hardcode_shlibpath_var=no
11440
11797
        hardcode_direct_absolute=yes
11441
 
        if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
 
11798
        if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`"; then
11442
11799
          archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
11443
 
          archive_expsym_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols'
11444
 
          hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
11445
 
          export_dynamic_flag_spec='${wl}-E'
 
11800
          archive_expsym_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags $wl-retain-symbols-file,$export_symbols'
 
11801
          hardcode_libdir_flag_spec='$wl-rpath,$libdir'
 
11802
          export_dynamic_flag_spec='$wl-E'
11446
11803
        else
11447
 
          case $host_os in
11448
 
           openbsd[01].* | openbsd2.[0-7] | openbsd2.[0-7].*)
11449
 
             archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
11450
 
             hardcode_libdir_flag_spec='-R$libdir'
11451
 
             ;;
11452
 
           *)
11453
 
             archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
11454
 
             hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
11455
 
             ;;
11456
 
          esac
 
11804
          archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
 
11805
          hardcode_libdir_flag_spec='$wl-rpath,$libdir'
11457
11806
        fi
11458
11807
      else
11459
11808
        ld_shlibs=no
11464
11813
      hardcode_libdir_flag_spec='-L$libdir'
11465
11814
      hardcode_minus_L=yes
11466
11815
      allow_undefined_flag=unsupported
11467
 
      archive_cmds='$ECHO "LIBRARY $libname INITINSTANCE" > $output_objdir/$libname.def~$ECHO "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~echo DATA >> $output_objdir/$libname.def~echo " SINGLE NONSHARED" >> $output_objdir/$libname.def~echo EXPORTS >> $output_objdir/$libname.def~emxexp $libobjs >> $output_objdir/$libname.def~$CC -Zdll -Zcrtdll -o $lib $libobjs $deplibs $compiler_flags $output_objdir/$libname.def'
11468
 
      old_archive_from_new_cmds='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
 
11816
      shrext_cmds=.dll
 
11817
      archive_cmds='$ECHO "LIBRARY ${soname%$shared_ext} INITINSTANCE TERMINSTANCE" > $output_objdir/$libname.def~
 
11818
        $ECHO "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~
 
11819
        $ECHO "DATA MULTIPLE NONSHARED" >> $output_objdir/$libname.def~
 
11820
        $ECHO EXPORTS >> $output_objdir/$libname.def~
 
11821
        emxexp $libobjs | $SED /"_DLL_InitTerm"/d >> $output_objdir/$libname.def~
 
11822
        $CC -Zdll -Zcrtdll -o $output_objdir/$soname $libobjs $deplibs $compiler_flags $output_objdir/$libname.def~
 
11823
        emximp -o $lib $output_objdir/$libname.def'
 
11824
      archive_expsym_cmds='$ECHO "LIBRARY ${soname%$shared_ext} INITINSTANCE TERMINSTANCE" > $output_objdir/$libname.def~
 
11825
        $ECHO "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~
 
11826
        $ECHO "DATA MULTIPLE NONSHARED" >> $output_objdir/$libname.def~
 
11827
        $ECHO EXPORTS >> $output_objdir/$libname.def~
 
11828
        prefix_cmds="$SED"~
 
11829
        if test EXPORTS = "`$SED 1q $export_symbols`"; then
 
11830
          prefix_cmds="$prefix_cmds -e 1d";
 
11831
        fi~
 
11832
        prefix_cmds="$prefix_cmds -e \"s/^\(.*\)$/_\1/g\""~
 
11833
        cat $export_symbols | $prefix_cmds >> $output_objdir/$libname.def~
 
11834
        $CC -Zdll -Zcrtdll -o $output_objdir/$soname $libobjs $deplibs $compiler_flags $output_objdir/$libname.def~
 
11835
        emximp -o $lib $output_objdir/$libname.def'
 
11836
      old_archive_From_new_cmds='emximp -o $output_objdir/${libname}_dll.a $output_objdir/$libname.def'
 
11837
      enable_shared_with_static_runtimes=yes
11469
11838
      ;;
11470
11839
 
11471
11840
    osf3*)
11472
 
      if test "$GCC" = yes; then
11473
 
        allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
11474
 
        archive_cmds='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && func_echo_all "${wl}-set_version ${wl}$verstring"` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
 
11841
      if test yes = "$GCC"; then
 
11842
        allow_undefined_flag=' $wl-expect_unresolved $wl\*'
 
11843
        archive_cmds='$CC -shared$allow_undefined_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname `test -n "$verstring" && func_echo_all "$wl-set_version $wl$verstring"` $wl-update_registry $wl$output_objdir/so_locations -o $lib'
11475
11844
      else
11476
11845
        allow_undefined_flag=' -expect_unresolved \*'
11477
 
        archive_cmds='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags -soname $soname `test -n "$verstring" && func_echo_all "-set_version $verstring"` -update_registry ${output_objdir}/so_locations -o $lib'
 
11846
        archive_cmds='$CC -shared$allow_undefined_flag $libobjs $deplibs $compiler_flags -soname $soname `test -n "$verstring" && func_echo_all "-set_version $verstring"` -update_registry $output_objdir/so_locations -o $lib'
11478
11847
      fi
11479
11848
      archive_cmds_need_lc='no'
11480
 
      hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
 
11849
      hardcode_libdir_flag_spec='$wl-rpath $wl$libdir'
11481
11850
      hardcode_libdir_separator=:
11482
11851
      ;;
11483
11852
 
11484
11853
    osf4* | osf5*)      # as osf3* with the addition of -msym flag
11485
 
      if test "$GCC" = yes; then
11486
 
        allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
11487
 
        archive_cmds='$CC -shared${allow_undefined_flag} $pic_flag $libobjs $deplibs $compiler_flags ${wl}-msym ${wl}-soname ${wl}$soname `test -n "$verstring" && func_echo_all "${wl}-set_version ${wl}$verstring"` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
11488
 
        hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
 
11854
      if test yes = "$GCC"; then
 
11855
        allow_undefined_flag=' $wl-expect_unresolved $wl\*'
 
11856
        archive_cmds='$CC -shared$allow_undefined_flag $pic_flag $libobjs $deplibs $compiler_flags $wl-msym $wl-soname $wl$soname `test -n "$verstring" && func_echo_all "$wl-set_version $wl$verstring"` $wl-update_registry $wl$output_objdir/so_locations -o $lib'
 
11857
        hardcode_libdir_flag_spec='$wl-rpath $wl$libdir'
11489
11858
      else
11490
11859
        allow_undefined_flag=' -expect_unresolved \*'
11491
 
        archive_cmds='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags -msym -soname $soname `test -n "$verstring" && func_echo_all "-set_version $verstring"` -update_registry ${output_objdir}/so_locations -o $lib'
 
11860
        archive_cmds='$CC -shared$allow_undefined_flag $libobjs $deplibs $compiler_flags -msym -soname $soname `test -n "$verstring" && func_echo_all "-set_version $verstring"` -update_registry $output_objdir/so_locations -o $lib'
11492
11861
        archive_expsym_cmds='for i in `cat $export_symbols`; do printf "%s %s\\n" -exported_symbol "\$i" >> $lib.exp; done; printf "%s\\n" "-hidden">> $lib.exp~
11493
 
        $CC -shared${allow_undefined_flag} ${wl}-input ${wl}$lib.exp $compiler_flags $libobjs $deplibs -soname $soname `test -n "$verstring" && $ECHO "-set_version $verstring"` -update_registry ${output_objdir}/so_locations -o $lib~$RM $lib.exp'
 
11862
          $CC -shared$allow_undefined_flag $wl-input $wl$lib.exp $compiler_flags $libobjs $deplibs -soname $soname `test -n "$verstring" && $ECHO "-set_version $verstring"` -update_registry $output_objdir/so_locations -o $lib~$RM $lib.exp'
11494
11863
 
11495
11864
        # Both c and cxx compiler support -rpath directly
11496
11865
        hardcode_libdir_flag_spec='-rpath $libdir'
11501
11870
 
11502
11871
    solaris*)
11503
11872
      no_undefined_flag=' -z defs'
11504
 
      if test "$GCC" = yes; then
11505
 
        wlarc='${wl}'
11506
 
        archive_cmds='$CC -shared $pic_flag ${wl}-z ${wl}text ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
 
11873
      if test yes = "$GCC"; then
 
11874
        wlarc='$wl'
 
11875
        archive_cmds='$CC -shared $pic_flag $wl-z ${wl}text $wl-h $wl$soname -o $lib $libobjs $deplibs $compiler_flags'
11507
11876
        archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
11508
 
          $CC -shared $pic_flag ${wl}-z ${wl}text ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
 
11877
          $CC -shared $pic_flag $wl-z ${wl}text $wl-M $wl$lib.exp $wl-h $wl$soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
11509
11878
      else
11510
11879
        case `$CC -V 2>&1` in
11511
11880
        *"Compilers 5.0"*)
11512
11881
          wlarc=''
11513
 
          archive_cmds='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
 
11882
          archive_cmds='$LD -G$allow_undefined_flag -h $soname -o $lib $libobjs $deplibs $linker_flags'
11514
11883
          archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
11515
 
          $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$RM $lib.exp'
 
11884
            $LD -G$allow_undefined_flag -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$RM $lib.exp'
11516
11885
          ;;
11517
11886
        *)
11518
 
          wlarc='${wl}'
11519
 
          archive_cmds='$CC -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $compiler_flags'
 
11887
          wlarc='$wl'
 
11888
          archive_cmds='$CC -G$allow_undefined_flag -h $soname -o $lib $libobjs $deplibs $compiler_flags'
11520
11889
          archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
11521
 
          $CC -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
 
11890
            $CC -G$allow_undefined_flag -M $lib.exp -h $soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
11522
11891
          ;;
11523
11892
        esac
11524
11893
      fi
11528
11897
      solaris2.[0-5] | solaris2.[0-5].*) ;;
11529
11898
      *)
11530
11899
        # The compiler driver will combine and reorder linker options,
11531
 
        # but understands `-z linker_flag'.  GCC discards it without `$wl',
 
11900
        # but understands '-z linker_flag'.  GCC discards it without '$wl',
11532
11901
        # but is careful enough not to reorder.
11533
11902
        # Supported since Solaris 2.6 (maybe 2.5.1?)
11534
 
        if test "$GCC" = yes; then
11535
 
          whole_archive_flag_spec='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
 
11903
        if test yes = "$GCC"; then
 
11904
          whole_archive_flag_spec='$wl-z ${wl}allextract$convenience $wl-z ${wl}defaultextract'
11536
11905
        else
11537
11906
          whole_archive_flag_spec='-z allextract$convenience -z defaultextract'
11538
11907
        fi
11542
11911
      ;;
11543
11912
 
11544
11913
    sunos4*)
11545
 
      if test "x$host_vendor" = xsequent; then
 
11914
      if test sequent = "$host_vendor"; then
11546
11915
        # Use $CC to link under sequent, because it throws in some extra .o
11547
11916
        # files that make .init and .fini sections work.
11548
 
        archive_cmds='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags'
 
11917
        archive_cmds='$CC -G $wl-h $soname -o $lib $libobjs $deplibs $compiler_flags'
11549
11918
      else
11550
11919
        archive_cmds='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
11551
11920
      fi
11594
11963
      ;;
11595
11964
 
11596
11965
    sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7* | sco3.2v5.0.[024]*)
11597
 
      no_undefined_flag='${wl}-z,text'
 
11966
      no_undefined_flag='$wl-z,text'
11598
11967
      archive_cmds_need_lc=no
11599
11968
      hardcode_shlibpath_var=no
11600
11969
      runpath_var='LD_RUN_PATH'
11601
11970
 
11602
 
      if test "$GCC" = yes; then
11603
 
        archive_cmds='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
11604
 
        archive_expsym_cmds='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
 
11971
      if test yes = "$GCC"; then
 
11972
        archive_cmds='$CC -shared $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
 
11973
        archive_expsym_cmds='$CC -shared $wl-Bexport:$export_symbols $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
11605
11974
      else
11606
 
        archive_cmds='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
11607
 
        archive_expsym_cmds='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
 
11975
        archive_cmds='$CC -G $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
 
11976
        archive_expsym_cmds='$CC -G $wl-Bexport:$export_symbols $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
11608
11977
      fi
11609
11978
      ;;
11610
11979
 
11611
11980
    sysv5* | sco3.2v5* | sco5v6*)
11612
 
      # Note: We can NOT use -z defs as we might desire, because we do not
 
11981
      # Note: We CANNOT use -z defs as we might desire, because we do not
11613
11982
      # link with -lc, and that would cause any symbols used from libc to
11614
11983
      # always be unresolved, which means just about no library would
11615
11984
      # ever link correctly.  If we're not using GNU ld we use -z text
11616
11985
      # though, which does catch some bad symbols but isn't as heavy-handed
11617
11986
      # as -z defs.
11618
 
      no_undefined_flag='${wl}-z,text'
11619
 
      allow_undefined_flag='${wl}-z,nodefs'
 
11987
      no_undefined_flag='$wl-z,text'
 
11988
      allow_undefined_flag='$wl-z,nodefs'
11620
11989
      archive_cmds_need_lc=no
11621
11990
      hardcode_shlibpath_var=no
11622
 
      hardcode_libdir_flag_spec='${wl}-R,$libdir'
 
11991
      hardcode_libdir_flag_spec='$wl-R,$libdir'
11623
11992
      hardcode_libdir_separator=':'
11624
11993
      link_all_deplibs=yes
11625
 
      export_dynamic_flag_spec='${wl}-Bexport'
 
11994
      export_dynamic_flag_spec='$wl-Bexport'
11626
11995
      runpath_var='LD_RUN_PATH'
11627
11996
 
11628
 
      if test "$GCC" = yes; then
11629
 
        archive_cmds='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
11630
 
        archive_expsym_cmds='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
 
11997
      if test yes = "$GCC"; then
 
11998
        archive_cmds='$CC -shared $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
 
11999
        archive_expsym_cmds='$CC -shared $wl-Bexport:$export_symbols $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
11631
12000
      else
11632
 
        archive_cmds='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
11633
 
        archive_expsym_cmds='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
 
12001
        archive_cmds='$CC -G $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
 
12002
        archive_expsym_cmds='$CC -G $wl-Bexport:$export_symbols $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
11634
12003
      fi
11635
12004
      ;;
11636
12005
 
11645
12014
      ;;
11646
12015
    esac
11647
12016
 
11648
 
    if test x$host_vendor = xsni; then
 
12017
    if test sni = "$host_vendor"; then
11649
12018
      case $host in
11650
12019
      sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
11651
 
        export_dynamic_flag_spec='${wl}-Blargedynsym'
 
12020
        export_dynamic_flag_spec='$wl-Blargedynsym'
11652
12021
        ;;
11653
12022
      esac
11654
12023
    fi
11656
12025
 
11657
12026
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs" >&5
11658
12027
$as_echo "$ld_shlibs" >&6; }
11659
 
test "$ld_shlibs" = no && can_build_shared=no
 
12028
test no = "$ld_shlibs" && can_build_shared=no
11660
12029
 
11661
12030
with_gnu_ld=$with_gnu_ld
11662
12031
 
11682
12051
  # Assume -lc should be added
11683
12052
  archive_cmds_need_lc=yes
11684
12053
 
11685
 
  if test "$enable_shared" = yes && test "$GCC" = yes; then
 
12054
  if test yes,yes = "$GCC,$enable_shared"; then
11686
12055
    case $archive_cmds in
11687
12056
    *'~'*)
11688
12057
      # FIXME: we may have to deal with multi-command sequences.
11897
12266
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking dynamic linker characteristics" >&5
11898
12267
$as_echo_n "checking dynamic linker characteristics... " >&6; }
11899
12268
 
11900
 
if test "$GCC" = yes; then
 
12269
if test yes = "$GCC"; then
11901
12270
  case $host_os in
11902
 
    darwin*) lt_awk_arg="/^libraries:/,/LR/" ;;
11903
 
    *) lt_awk_arg="/^libraries:/" ;;
 
12271
    darwin*) lt_awk_arg='/^libraries:/,/LR/' ;;
 
12272
    *) lt_awk_arg='/^libraries:/' ;;
11904
12273
  esac
11905
12274
  case $host_os in
11906
 
    mingw* | cegcc*) lt_sed_strip_eq="s,=\([A-Za-z]:\),\1,g" ;;
11907
 
    *) lt_sed_strip_eq="s,=/,/,g" ;;
 
12275
    mingw* | cegcc*) lt_sed_strip_eq='s|=\([A-Za-z]:\)|\1|g' ;;
 
12276
    *) lt_sed_strip_eq='s|=/|/|g' ;;
11908
12277
  esac
11909
12278
  lt_search_path_spec=`$CC -print-search-dirs | awk $lt_awk_arg | $SED -e "s/^libraries://" -e $lt_sed_strip_eq`
11910
12279
  case $lt_search_path_spec in
11920
12289
    ;;
11921
12290
  esac
11922
12291
  # Ok, now we have the path, separated by spaces, we can step through it
11923
 
  # and add multilib dir if necessary.
 
12292
  # and add multilib dir if necessary...
11924
12293
  lt_tmp_lt_search_path_spec=
11925
 
  lt_multi_os_dir=`$CC $CPPFLAGS $CFLAGS $LDFLAGS -print-multi-os-directory 2>/dev/null`
 
12294
  lt_multi_os_dir=/`$CC $CPPFLAGS $CFLAGS $LDFLAGS -print-multi-os-directory 2>/dev/null`
 
12295
  # ...but if some path component already ends with the multilib dir we assume
 
12296
  # that all is fine and trust -print-search-dirs as is (GCC 4.2? or newer).
 
12297
  case "$lt_multi_os_dir; $lt_search_path_spec " in
 
12298
  "/; "* | "/.; "* | "/./; "* | *"$lt_multi_os_dir "* | *"$lt_multi_os_dir/ "*)
 
12299
    lt_multi_os_dir=
 
12300
    ;;
 
12301
  esac
11926
12302
  for lt_sys_path in $lt_search_path_spec; do
11927
 
    if test -d "$lt_sys_path/$lt_multi_os_dir"; then
11928
 
      lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path/$lt_multi_os_dir"
11929
 
    else
 
12303
    if test -d "$lt_sys_path$lt_multi_os_dir"; then
 
12304
      lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path$lt_multi_os_dir"
 
12305
    elif test -n "$lt_multi_os_dir"; then
11930
12306
      test -d "$lt_sys_path" && \
11931
12307
        lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path"
11932
12308
    fi
11933
12309
  done
11934
12310
  lt_search_path_spec=`$ECHO "$lt_tmp_lt_search_path_spec" | awk '
11935
 
BEGIN {RS=" "; FS="/|\n";} {
11936
 
  lt_foo="";
11937
 
  lt_count=0;
 
12311
BEGIN {RS = " "; FS = "/|\n";} {
 
12312
  lt_foo = "";
 
12313
  lt_count = 0;
11938
12314
  for (lt_i = NF; lt_i > 0; lt_i--) {
11939
12315
    if ($lt_i != "" && $lt_i != ".") {
11940
12316
      if ($lt_i == "..") {
11941
12317
        lt_count++;
11942
12318
      } else {
11943
12319
        if (lt_count == 0) {
11944
 
          lt_foo="/" $lt_i lt_foo;
 
12320
          lt_foo = "/" $lt_i lt_foo;
11945
12321
        } else {
11946
12322
          lt_count--;
11947
12323
        }
11955
12331
  # for these hosts.
11956
12332
  case $host_os in
11957
12333
    mingw* | cegcc*) lt_search_path_spec=`$ECHO "$lt_search_path_spec" |\
11958
 
      $SED 's,/\([A-Za-z]:\),\1,g'` ;;
 
12334
      $SED 's|/\([A-Za-z]:\)|\1|g'` ;;
11959
12335
  esac
11960
12336
  sys_lib_search_path_spec=`$ECHO "$lt_search_path_spec" | $lt_NL2SP`
11961
12337
else
11964
12340
library_names_spec=
11965
12341
libname_spec='lib$name'
11966
12342
soname_spec=
11967
 
shrext_cmds=".so"
 
12343
shrext_cmds=.so
11968
12344
postinstall_cmds=
11969
12345
postuninstall_cmds=
11970
12346
finish_cmds=
11981
12357
# flags to be left without arguments
11982
12358
need_version=unknown
11983
12359
 
 
12360
 
 
12361
 
11984
12362
case $host_os in
11985
12363
aix3*)
11986
12364
  version_type=linux # correct to gnu/linux during the next big refactor
11987
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a'
 
12365
  library_names_spec='$libname$release$shared_ext$versuffix $libname.a'
11988
12366
  shlibpath_var=LIBPATH
11989
12367
 
11990
12368
  # AIX 3 has no versioning support, so we append a major version to the name.
11991
 
  soname_spec='${libname}${release}${shared_ext}$major'
 
12369
  soname_spec='$libname$release$shared_ext$major'
11992
12370
  ;;
11993
12371
 
11994
12372
aix[4-9]*)
11996
12374
  need_lib_prefix=no
11997
12375
  need_version=no
11998
12376
  hardcode_into_libs=yes
11999
 
  if test "$host_cpu" = ia64; then
 
12377
  if test ia64 = "$host_cpu"; then
12000
12378
    # AIX 5 supports IA64
12001
 
    library_names_spec='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
 
12379
    library_names_spec='$libname$release$shared_ext$major $libname$release$shared_ext$versuffix $libname$shared_ext'
12002
12380
    shlibpath_var=LD_LIBRARY_PATH
12003
12381
  else
12004
12382
    # With GCC up to 2.95.x, collect2 would create an import file
12005
12383
    # for dependence libraries.  The import file would start with
12006
 
    # the line `#! .'.  This would cause the generated library to
12007
 
    # depend on `.', always an invalid library.  This was fixed in
 
12384
    # the line '#! .'.  This would cause the generated library to
 
12385
    # depend on '.', always an invalid library.  This was fixed in
12008
12386
    # development snapshots of GCC prior to 3.0.
12009
12387
    case $host_os in
12010
12388
      aix4 | aix4.[01] | aix4.[01].*)
12011
12389
      if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
12012
12390
           echo ' yes '
12013
 
           echo '#endif'; } | ${CC} -E - | $GREP yes > /dev/null; then
 
12391
           echo '#endif'; } | $CC -E - | $GREP yes > /dev/null; then
12014
12392
        :
12015
12393
      else
12016
12394
        can_build_shared=no
12017
12395
      fi
12018
12396
      ;;
12019
12397
    esac
12020
 
    # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
 
12398
    # Using Import Files as archive members, it is possible to support
 
12399
    # filename-based versioning of shared library archives on AIX. While
 
12400
    # this would work for both with and without runtime linking, it will
 
12401
    # prevent static linking of such archives. So we do filename-based
 
12402
    # shared library versioning with .so extension only, which is used
 
12403
    # when both runtime linking and shared linking is enabled.
 
12404
    # Unfortunately, runtime linking may impact performance, so we do
 
12405
    # not want this to be the default eventually. Also, we use the
 
12406
    # versioned .so libs for executables only if there is the -brtl
 
12407
    # linker flag in LDFLAGS as well, or --with-aix-soname=svr4 only.
 
12408
    # To allow for filename-based versioning support, we need to create
 
12409
    # libNAME.so.V as an archive file, containing:
 
12410
    # *) an Import File, referring to the versioned filename of the
 
12411
    #    archive as well as the shared archive member, telling the
 
12412
    #    bitwidth (32 or 64) of that shared object, and providing the
 
12413
    #    list of exported symbols of that shared object, eventually
 
12414
    #    decorated with the 'weak' keyword
 
12415
    # *) the shared object with the F_LOADONLY flag set, to really avoid
 
12416
    #    it being seen by the linker.
 
12417
    # At run time we better use the real file rather than another symlink,
 
12418
    # but for link time we create the symlink libNAME.so -> libNAME.so.V
 
12419
 
 
12420
    case $with_aix_soname,$aix_use_runtimelinking in
 
12421
    # AIX (on Power*) has no versioning support, so currently we cannot hardcode correct
12021
12422
    # soname into executable. Probably we can add versioning support to
12022
12423
    # collect2, so additional links can be useful in future.
12023
 
    if test "$aix_use_runtimelinking" = yes; then
 
12424
    aix,yes) # traditional libtool
 
12425
      dynamic_linker='AIX unversionable lib.so'
12024
12426
      # If using run time linking (on AIX 4.2 or later) use lib<name>.so
12025
12427
      # instead of lib<name>.a to let people know that these are not
12026
12428
      # typical AIX shared libraries.
12027
 
      library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
12028
 
    else
 
12429
      library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
 
12430
      ;;
 
12431
    aix,no) # traditional AIX only
 
12432
      dynamic_linker='AIX lib.a(lib.so.V)'
12029
12433
      # We preserve .a as extension for shared libraries through AIX4.2
12030
12434
      # and later when we are not doing run time linking.
12031
 
      library_names_spec='${libname}${release}.a $libname.a'
12032
 
      soname_spec='${libname}${release}${shared_ext}$major'
12033
 
    fi
 
12435
      library_names_spec='$libname$release.a $libname.a'
 
12436
      soname_spec='$libname$release$shared_ext$major'
 
12437
      ;;
 
12438
    svr4,*) # full svr4 only
 
12439
      dynamic_linker="AIX lib.so.V($shared_archive_member_spec.o)"
 
12440
      library_names_spec='$libname$release$shared_ext$major $libname$shared_ext'
 
12441
      # We do not specify a path in Import Files, so LIBPATH fires.
 
12442
      shlibpath_overrides_runpath=yes
 
12443
      ;;
 
12444
    *,yes) # both, prefer svr4
 
12445
      dynamic_linker="AIX lib.so.V($shared_archive_member_spec.o), lib.a(lib.so.V)"
 
12446
      library_names_spec='$libname$release$shared_ext$major $libname$shared_ext'
 
12447
      # unpreferred sharedlib libNAME.a needs extra handling
 
12448
      postinstall_cmds='test -n "$linkname" || linkname="$realname"~func_stripname "" ".so" "$linkname"~$install_shared_prog "$dir/$func_stripname_result.$libext" "$destdir/$func_stripname_result.$libext"~test -z "$tstripme" || test -z "$striplib" || $striplib "$destdir/$func_stripname_result.$libext"'
 
12449
      postuninstall_cmds='for n in $library_names $old_library; do :; done~func_stripname "" ".so" "$n"~test "$func_stripname_result" = "$n" || func_append rmfiles " $odir/$func_stripname_result.$libext"'
 
12450
      # We do not specify a path in Import Files, so LIBPATH fires.
 
12451
      shlibpath_overrides_runpath=yes
 
12452
      ;;
 
12453
    *,no) # both, prefer aix
 
12454
      dynamic_linker="AIX lib.a(lib.so.V), lib.so.V($shared_archive_member_spec.o)"
 
12455
      library_names_spec='$libname$release.a $libname.a'
 
12456
      soname_spec='$libname$release$shared_ext$major'
 
12457
      # unpreferred sharedlib libNAME.so.V and symlink libNAME.so need extra handling
 
12458
      postinstall_cmds='test -z "$dlname" || $install_shared_prog $dir/$dlname $destdir/$dlname~test -z "$tstripme" || test -z "$striplib" || $striplib $destdir/$dlname~test -n "$linkname" || linkname=$realname~func_stripname "" ".a" "$linkname"~(cd "$destdir" && $LN_S -f $dlname $func_stripname_result.so)'
 
12459
      postuninstall_cmds='test -z "$dlname" || func_append rmfiles " $odir/$dlname"~for n in $old_library $library_names; do :; done~func_stripname "" ".a" "$n"~func_append rmfiles " $odir/$func_stripname_result.so"'
 
12460
      ;;
 
12461
    esac
12034
12462
    shlibpath_var=LIBPATH
12035
12463
  fi
12036
12464
  ;;
12040
12468
  powerpc)
12041
12469
    # Since July 2007 AmigaOS4 officially supports .so libraries.
12042
12470
    # When compiling the executable, add -use-dynld -Lsobjs: to the compileline.
12043
 
    library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
 
12471
    library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
12044
12472
    ;;
12045
12473
  m68k)
12046
12474
    library_names_spec='$libname.ixlibrary $libname.a'
12047
12475
    # Create ${libname}_ixlibrary.a entries in /sys/libs.
12048
 
    finish_eval='for lib in `ls $libdir/*.ixlibrary 2>/dev/null`; do libname=`func_echo_all "$lib" | $SED '\''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'
 
12476
    finish_eval='for lib in `ls $libdir/*.ixlibrary 2>/dev/null`; do libname=`func_echo_all "$lib" | $SED '\''s%^.*/\([^/]*\)\.ixlibrary$%\1%'\''`; $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'
12049
12477
    ;;
12050
12478
  esac
12051
12479
  ;;
12052
12480
 
12053
12481
beos*)
12054
 
  library_names_spec='${libname}${shared_ext}'
 
12482
  library_names_spec='$libname$shared_ext'
12055
12483
  dynamic_linker="$host_os ld.so"
12056
12484
  shlibpath_var=LIBRARY_PATH
12057
12485
  ;;
12059
12487
bsdi[45]*)
12060
12488
  version_type=linux # correct to gnu/linux during the next big refactor
12061
12489
  need_version=no
12062
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
12063
 
  soname_spec='${libname}${release}${shared_ext}$major'
 
12490
  library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
 
12491
  soname_spec='$libname$release$shared_ext$major'
12064
12492
  finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
12065
12493
  shlibpath_var=LD_LIBRARY_PATH
12066
12494
  sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
12072
12500
 
12073
12501
cygwin* | mingw* | pw32* | cegcc*)
12074
12502
  version_type=windows
12075
 
  shrext_cmds=".dll"
 
12503
  shrext_cmds=.dll
12076
12504
  need_version=no
12077
12505
  need_lib_prefix=no
12078
12506
 
12081
12509
    # gcc
12082
12510
    library_names_spec='$libname.dll.a'
12083
12511
    # DLL is installed to $(libdir)/../bin by postinstall_cmds
12084
 
    postinstall_cmds='base_file=`basename \${file}`~
12085
 
      dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
 
12512
    postinstall_cmds='base_file=`basename \$file`~
 
12513
      dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\$base_file'\''i; echo \$dlname'\''`~
12086
12514
      dldir=$destdir/`dirname \$dlpath`~
12087
12515
      test -d \$dldir || mkdir -p \$dldir~
12088
12516
      $install_prog $dir/$dlname \$dldir/$dlname~
12098
12526
    case $host_os in
12099
12527
    cygwin*)
12100
12528
      # Cygwin DLLs use 'cyg' prefix rather than 'lib'
12101
 
      soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
 
12529
      soname_spec='`echo $libname | sed -e 's/^lib/cyg/'``echo $release | $SED -e 's/[.]/-/g'`$versuffix$shared_ext'
12102
12530
 
12103
12531
      sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/lib/w32api"
12104
12532
      ;;
12105
12533
    mingw* | cegcc*)
12106
12534
      # MinGW DLLs use traditional 'lib' prefix
12107
 
      soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
 
12535
      soname_spec='$libname`echo $release | $SED -e 's/[.]/-/g'`$versuffix$shared_ext'
12108
12536
      ;;
12109
12537
    pw32*)
12110
12538
      # pw32 DLLs use 'pw' prefix rather than 'lib'
12111
 
      library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
 
12539
      library_names_spec='`echo $libname | sed -e 's/^lib/pw/'``echo $release | $SED -e 's/[.]/-/g'`$versuffix$shared_ext'
12112
12540
      ;;
12113
12541
    esac
12114
12542
    dynamic_linker='Win32 ld.exe'
12117
12545
  *,cl*)
12118
12546
    # Native MSVC
12119
12547
    libname_spec='$name'
12120
 
    soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
12121
 
    library_names_spec='${libname}.dll.lib'
 
12548
    soname_spec='$libname`echo $release | $SED -e 's/[.]/-/g'`$versuffix$shared_ext'
 
12549
    library_names_spec='$libname.dll.lib'
12122
12550
 
12123
12551
    case $build_os in
12124
12552
    mingw*)
12145
12573
      sys_lib_search_path_spec=`cygpath --path --unix "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
12146
12574
      ;;
12147
12575
    *)
12148
 
      sys_lib_search_path_spec="$LIB"
 
12576
      sys_lib_search_path_spec=$LIB
12149
12577
      if $ECHO "$sys_lib_search_path_spec" | $GREP ';[c-zC-Z]:/' >/dev/null; then
12150
12578
        # It is most probably a Windows format PATH.
12151
12579
        sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
12158
12586
    esac
12159
12587
 
12160
12588
    # DLL is installed to $(libdir)/../bin by postinstall_cmds
12161
 
    postinstall_cmds='base_file=`basename \${file}`~
12162
 
      dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
 
12589
    postinstall_cmds='base_file=`basename \$file`~
 
12590
      dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\$base_file'\''i; echo \$dlname'\''`~
12163
12591
      dldir=$destdir/`dirname \$dlpath`~
12164
12592
      test -d \$dldir || mkdir -p \$dldir~
12165
12593
      $install_prog $dir/$dlname \$dldir/$dlname'
12172
12600
 
12173
12601
  *)
12174
12602
    # Assume MSVC wrapper
12175
 
    library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
 
12603
    library_names_spec='$libname`echo $release | $SED -e 's/[.]/-/g'`$versuffix$shared_ext $libname.lib'
12176
12604
    dynamic_linker='Win32 ld.exe'
12177
12605
    ;;
12178
12606
  esac
12185
12613
  version_type=darwin
12186
12614
  need_lib_prefix=no
12187
12615
  need_version=no
12188
 
  library_names_spec='${libname}${release}${major}$shared_ext ${libname}$shared_ext'
12189
 
  soname_spec='${libname}${release}${major}$shared_ext'
 
12616
  library_names_spec='$libname$release$major$shared_ext $libname$shared_ext'
 
12617
  soname_spec='$libname$release$major$shared_ext'
12190
12618
  shlibpath_overrides_runpath=yes
12191
12619
  shlibpath_var=DYLD_LIBRARY_PATH
12192
12620
  shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`'
12199
12627
  version_type=linux # correct to gnu/linux during the next big refactor
12200
12628
  need_lib_prefix=no
12201
12629
  need_version=no
12202
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
12203
 
  soname_spec='${libname}${release}${shared_ext}$major'
 
12630
  library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
 
12631
  soname_spec='$libname$release$shared_ext$major'
12204
12632
  shlibpath_var=LD_LIBRARY_PATH
12205
12633
  ;;
12206
12634
 
12218
12646
  version_type=freebsd-$objformat
12219
12647
  case $version_type in
12220
12648
    freebsd-elf*)
12221
 
      library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
 
12649
      library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
 
12650
      soname_spec='$libname$release$shared_ext$major'
12222
12651
      need_version=no
12223
12652
      need_lib_prefix=no
12224
12653
      ;;
12225
12654
    freebsd-*)
12226
 
      library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
 
12655
      library_names_spec='$libname$release$shared_ext$versuffix $libname$shared_ext$versuffix'
12227
12656
      need_version=yes
12228
12657
      ;;
12229
12658
  esac
12253
12682
  need_lib_prefix=no
12254
12683
  need_version=no
12255
12684
  dynamic_linker="$host_os runtime_loader"
12256
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
12257
 
  soname_spec='${libname}${release}${shared_ext}$major'
 
12685
  library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
 
12686
  soname_spec='$libname$release$shared_ext$major'
12258
12687
  shlibpath_var=LIBRARY_PATH
12259
 
  shlibpath_overrides_runpath=yes
 
12688
  shlibpath_overrides_runpath=no
12260
12689
  sys_lib_dlsearch_path_spec='/boot/home/config/lib /boot/common/lib /boot/system/lib'
12261
12690
  hardcode_into_libs=yes
12262
12691
  ;;
12274
12703
    dynamic_linker="$host_os dld.so"
12275
12704
    shlibpath_var=LD_LIBRARY_PATH
12276
12705
    shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
12277
 
    library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
12278
 
    soname_spec='${libname}${release}${shared_ext}$major'
12279
 
    if test "X$HPUX_IA64_MODE" = X32; then
 
12706
    library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
 
12707
    soname_spec='$libname$release$shared_ext$major'
 
12708
    if test 32 = "$HPUX_IA64_MODE"; then
12280
12709
      sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
 
12710
      sys_lib_dlsearch_path_spec=/usr/lib/hpux32
12281
12711
    else
12282
12712
      sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
 
12713
      sys_lib_dlsearch_path_spec=/usr/lib/hpux64
12283
12714
    fi
12284
 
    sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
12285
12715
    ;;
12286
12716
  hppa*64*)
12287
12717
    shrext_cmds='.sl'
12289
12719
    dynamic_linker="$host_os dld.sl"
12290
12720
    shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
12291
12721
    shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
12292
 
    library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
12293
 
    soname_spec='${libname}${release}${shared_ext}$major'
 
12722
    library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
 
12723
    soname_spec='$libname$release$shared_ext$major'
12294
12724
    sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
12295
12725
    sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
12296
12726
    ;;
12299
12729
    dynamic_linker="$host_os dld.sl"
12300
12730
    shlibpath_var=SHLIB_PATH
12301
12731
    shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
12302
 
    library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
12303
 
    soname_spec='${libname}${release}${shared_ext}$major'
 
12732
    library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
 
12733
    soname_spec='$libname$release$shared_ext$major'
12304
12734
    ;;
12305
12735
  esac
12306
12736
  # HP-UX runs *really* slowly unless shared libraries are mode 555, ...
12313
12743
  version_type=linux # correct to gnu/linux during the next big refactor
12314
12744
  need_lib_prefix=no
12315
12745
  need_version=no
12316
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
12317
 
  soname_spec='${libname}${release}${shared_ext}$major'
 
12746
  library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
 
12747
  soname_spec='$libname$release$shared_ext$major'
12318
12748
  dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)'
12319
12749
  shlibpath_var=LD_LIBRARY_PATH
12320
12750
  shlibpath_overrides_runpath=no
12325
12755
  case $host_os in
12326
12756
    nonstopux*) version_type=nonstopux ;;
12327
12757
    *)
12328
 
        if test "$lt_cv_prog_gnu_ld" = yes; then
 
12758
        if test yes = "$lt_cv_prog_gnu_ld"; then
12329
12759
                version_type=linux # correct to gnu/linux during the next big refactor
12330
12760
        else
12331
12761
                version_type=irix
12333
12763
  esac
12334
12764
  need_lib_prefix=no
12335
12765
  need_version=no
12336
 
  soname_spec='${libname}${release}${shared_ext}$major'
12337
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
 
12766
  soname_spec='$libname$release$shared_ext$major'
 
12767
  library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$release$shared_ext $libname$shared_ext'
12338
12768
  case $host_os in
12339
12769
  irix5* | nonstopux*)
12340
12770
    libsuff= shlibsuff=
12353
12783
  esac
12354
12784
  shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
12355
12785
  shlibpath_overrides_runpath=no
12356
 
  sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
12357
 
  sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}"
 
12786
  sys_lib_search_path_spec="/usr/lib$libsuff /lib$libsuff /usr/local/lib$libsuff"
 
12787
  sys_lib_dlsearch_path_spec="/usr/lib$libsuff /lib$libsuff"
12358
12788
  hardcode_into_libs=yes
12359
12789
  ;;
12360
12790
 
12363
12793
  dynamic_linker=no
12364
12794
  ;;
12365
12795
 
 
12796
linux*android*)
 
12797
  version_type=none # Android doesn't support versioned libraries.
 
12798
  need_lib_prefix=no
 
12799
  need_version=no
 
12800
  library_names_spec='$libname$release$shared_ext'
 
12801
  soname_spec='$libname$release$shared_ext'
 
12802
  finish_cmds=
 
12803
  shlibpath_var=LD_LIBRARY_PATH
 
12804
  shlibpath_overrides_runpath=yes
 
12805
 
 
12806
  # This implies no fast_install, which is unacceptable.
 
12807
  # Some rework will be needed to allow for fast_install
 
12808
  # before this can be enabled.
 
12809
  hardcode_into_libs=yes
 
12810
 
 
12811
  dynamic_linker='Android linker'
 
12812
  # Don't embed -rpath directories since the linker doesn't support them.
 
12813
  hardcode_libdir_flag_spec='-L$libdir'
 
12814
  ;;
 
12815
 
12366
12816
# This must be glibc/ELF.
12367
12817
linux* | k*bsd*-gnu | kopensolaris*-gnu | gnu*)
12368
12818
  version_type=linux # correct to gnu/linux during the next big refactor
12369
12819
  need_lib_prefix=no
12370
12820
  need_version=no
12371
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
12372
 
  soname_spec='${libname}${release}${shared_ext}$major'
 
12821
  library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
 
12822
  soname_spec='$libname$release$shared_ext$major'
12373
12823
  finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
12374
12824
  shlibpath_var=LD_LIBRARY_PATH
12375
12825
  shlibpath_overrides_runpath=no
12413
12863
  # before this can be enabled.
12414
12864
  hardcode_into_libs=yes
12415
12865
 
12416
 
  # Append ld.so.conf contents to the search path
 
12866
  # Ideally, we could use ldconfig to report *all* directores which are
 
12867
  # searched for libraries, however this is still not possible.  Aside from not
 
12868
  # being certain /sbin/ldconfig is available, command
 
12869
  # 'ldconfig -N -X -v | grep ^/' on 64bit Fedora does not report /usr/lib64,
 
12870
  # even though it is searched at run-time.  Try to do the best guess by
 
12871
  # appending ld.so.conf contents (and includes) to the search path.
12417
12872
  if test -f /etc/ld.so.conf; then
12418
12873
    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;s/"//g;/^$/d' | tr '\n' ' '`
12419
12874
    sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra"
12428
12883
  dynamic_linker='GNU/Linux ld.so'
12429
12884
  ;;
12430
12885
 
12431
 
netbsdelf*-gnu)
12432
 
  version_type=linux
12433
 
  need_lib_prefix=no
12434
 
  need_version=no
12435
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
12436
 
  soname_spec='${libname}${release}${shared_ext}$major'
12437
 
  shlibpath_var=LD_LIBRARY_PATH
12438
 
  shlibpath_overrides_runpath=no
12439
 
  hardcode_into_libs=yes
12440
 
  dynamic_linker='NetBSD ld.elf_so'
12441
 
  ;;
12442
 
 
12443
12886
netbsd*)
12444
12887
  version_type=sunos
12445
12888
  need_lib_prefix=no
12446
12889
  need_version=no
12447
12890
  if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
12448
 
    library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
 
12891
    library_names_spec='$libname$release$shared_ext$versuffix $libname$shared_ext$versuffix'
12449
12892
    finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
12450
12893
    dynamic_linker='NetBSD (a.out) ld.so'
12451
12894
  else
12452
 
    library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
12453
 
    soname_spec='${libname}${release}${shared_ext}$major'
 
12895
    library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
 
12896
    soname_spec='$libname$release$shared_ext$major'
12454
12897
    dynamic_linker='NetBSD ld.elf_so'
12455
12898
  fi
12456
12899
  shlibpath_var=LD_LIBRARY_PATH
12460
12903
 
12461
12904
newsos6)
12462
12905
  version_type=linux # correct to gnu/linux during the next big refactor
12463
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
 
12906
  library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
12464
12907
  shlibpath_var=LD_LIBRARY_PATH
12465
12908
  shlibpath_overrides_runpath=yes
12466
12909
  ;;
12469
12912
  version_type=qnx
12470
12913
  need_lib_prefix=no
12471
12914
  need_version=no
12472
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
12473
 
  soname_spec='${libname}${release}${shared_ext}$major'
 
12915
  library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
 
12916
  soname_spec='$libname$release$shared_ext$major'
12474
12917
  shlibpath_var=LD_LIBRARY_PATH
12475
12918
  shlibpath_overrides_runpath=no
12476
12919
  hardcode_into_libs=yes
12477
12920
  dynamic_linker='ldqnx.so'
12478
12921
  ;;
12479
12922
 
12480
 
openbsd*)
 
12923
openbsd* | bitrig*)
12481
12924
  version_type=sunos
12482
 
  sys_lib_dlsearch_path_spec="/usr/lib"
 
12925
  sys_lib_dlsearch_path_spec=/usr/lib
12483
12926
  need_lib_prefix=no
12484
 
  # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
12485
 
  case $host_os in
12486
 
    openbsd3.3 | openbsd3.3.*)  need_version=yes ;;
12487
 
    *)                          need_version=no  ;;
12488
 
  esac
12489
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
 
12927
  if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`"; then
 
12928
    need_version=no
 
12929
  else
 
12930
    need_version=yes
 
12931
  fi
 
12932
  library_names_spec='$libname$release$shared_ext$versuffix $libname$shared_ext$versuffix'
12490
12933
  finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
12491
12934
  shlibpath_var=LD_LIBRARY_PATH
12492
 
  if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
12493
 
    case $host_os in
12494
 
      openbsd2.[89] | openbsd2.[89].*)
12495
 
        shlibpath_overrides_runpath=no
12496
 
        ;;
12497
 
      *)
12498
 
        shlibpath_overrides_runpath=yes
12499
 
        ;;
12500
 
      esac
12501
 
  else
12502
 
    shlibpath_overrides_runpath=yes
12503
 
  fi
 
12935
  shlibpath_overrides_runpath=yes
12504
12936
  ;;
12505
12937
 
12506
12938
os2*)
12507
12939
  libname_spec='$name'
12508
 
  shrext_cmds=".dll"
 
12940
  version_type=windows
 
12941
  shrext_cmds=.dll
 
12942
  need_version=no
12509
12943
  need_lib_prefix=no
12510
 
  library_names_spec='$libname${shared_ext} $libname.a'
 
12944
  # OS/2 can only load a DLL with a base name of 8 characters or less.
 
12945
  soname_spec='`test -n "$os2dllname" && libname="$os2dllname";
 
12946
    v=$($ECHO $release$versuffix | tr -d .-);
 
12947
    n=$($ECHO $libname | cut -b -$((8 - ${#v})) | tr . _);
 
12948
    $ECHO $n$v`$shared_ext'
 
12949
  library_names_spec='${libname}_dll.$libext'
12511
12950
  dynamic_linker='OS/2 ld.exe'
12512
 
  shlibpath_var=LIBPATH
 
12951
  shlibpath_var=BEGINLIBPATH
 
12952
  sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"
 
12953
  sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
 
12954
  postinstall_cmds='base_file=`basename \$file`~
 
12955
    dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\$base_file'\''i; $ECHO \$dlname'\''`~
 
12956
    dldir=$destdir/`dirname \$dlpath`~
 
12957
    test -d \$dldir || mkdir -p \$dldir~
 
12958
    $install_prog $dir/$dlname \$dldir/$dlname~
 
12959
    chmod a+x \$dldir/$dlname~
 
12960
    if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
 
12961
      eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
 
12962
    fi'
 
12963
  postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; $ECHO \$dlname'\''`~
 
12964
    dlpath=$dir/\$dldll~
 
12965
    $RM \$dlpath'
12513
12966
  ;;
12514
12967
 
12515
12968
osf3* | osf4* | osf5*)
12516
12969
  version_type=osf
12517
12970
  need_lib_prefix=no
12518
12971
  need_version=no
12519
 
  soname_spec='${libname}${release}${shared_ext}$major'
12520
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
 
12972
  soname_spec='$libname$release$shared_ext$major'
 
12973
  library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
12521
12974
  shlibpath_var=LD_LIBRARY_PATH
12522
12975
  sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
12523
 
  sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec"
 
12976
  sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
12524
12977
  ;;
12525
12978
 
12526
12979
rdos*)
12531
12984
  version_type=linux # correct to gnu/linux during the next big refactor
12532
12985
  need_lib_prefix=no
12533
12986
  need_version=no
12534
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
12535
 
  soname_spec='${libname}${release}${shared_ext}$major'
 
12987
  library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
 
12988
  soname_spec='$libname$release$shared_ext$major'
12536
12989
  shlibpath_var=LD_LIBRARY_PATH
12537
12990
  shlibpath_overrides_runpath=yes
12538
12991
  hardcode_into_libs=yes
12542
12995
 
12543
12996
sunos4*)
12544
12997
  version_type=sunos
12545
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
 
12998
  library_names_spec='$libname$release$shared_ext$versuffix $libname$shared_ext$versuffix'
12546
12999
  finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
12547
13000
  shlibpath_var=LD_LIBRARY_PATH
12548
13001
  shlibpath_overrides_runpath=yes
12549
 
  if test "$with_gnu_ld" = yes; then
 
13002
  if test yes = "$with_gnu_ld"; then
12550
13003
    need_lib_prefix=no
12551
13004
  fi
12552
13005
  need_version=yes
12554
13007
 
12555
13008
sysv4 | sysv4.3*)
12556
13009
  version_type=linux # correct to gnu/linux during the next big refactor
12557
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
12558
 
  soname_spec='${libname}${release}${shared_ext}$major'
 
13010
  library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
 
13011
  soname_spec='$libname$release$shared_ext$major'
12559
13012
  shlibpath_var=LD_LIBRARY_PATH
12560
13013
  case $host_vendor in
12561
13014
    sni)
12576
13029
  ;;
12577
13030
 
12578
13031
sysv4*MP*)
12579
 
  if test -d /usr/nec ;then
 
13032
  if test -d /usr/nec; then
12580
13033
    version_type=linux # correct to gnu/linux during the next big refactor
12581
 
    library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
12582
 
    soname_spec='$libname${shared_ext}.$major'
 
13034
    library_names_spec='$libname$shared_ext.$versuffix $libname$shared_ext.$major $libname$shared_ext'
 
13035
    soname_spec='$libname$shared_ext.$major'
12583
13036
    shlibpath_var=LD_LIBRARY_PATH
12584
13037
  fi
12585
13038
  ;;
12586
13039
 
12587
13040
sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
12588
 
  version_type=freebsd-elf
 
13041
  version_type=sco
12589
13042
  need_lib_prefix=no
12590
13043
  need_version=no
12591
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
12592
 
  soname_spec='${libname}${release}${shared_ext}$major'
 
13044
  library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext $libname$shared_ext'
 
13045
  soname_spec='$libname$release$shared_ext$major'
12593
13046
  shlibpath_var=LD_LIBRARY_PATH
12594
13047
  shlibpath_overrides_runpath=yes
12595
13048
  hardcode_into_libs=yes
12596
 
  if test "$with_gnu_ld" = yes; then
 
13049
  if test yes = "$with_gnu_ld"; then
12597
13050
    sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
12598
13051
  else
12599
13052
    sys_lib_search_path_spec='/usr/ccs/lib /usr/lib'
12611
13064
  version_type=linux # correct to gnu/linux during the next big refactor
12612
13065
  need_lib_prefix=no
12613
13066
  need_version=no
12614
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
 
13067
  library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
12615
13068
  shlibpath_var=LD_LIBRARY_PATH
12616
13069
  shlibpath_overrides_runpath=no
12617
13070
  hardcode_into_libs=yes
12619
13072
 
12620
13073
uts4*)
12621
13074
  version_type=linux # correct to gnu/linux during the next big refactor
12622
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
12623
 
  soname_spec='${libname}${release}${shared_ext}$major'
 
13075
  library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
 
13076
  soname_spec='$libname$release$shared_ext$major'
12624
13077
  shlibpath_var=LD_LIBRARY_PATH
12625
13078
  ;;
12626
13079
 
12630
13083
esac
12631
13084
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $dynamic_linker" >&5
12632
13085
$as_echo "$dynamic_linker" >&6; }
12633
 
test "$dynamic_linker" = no && can_build_shared=no
 
13086
test no = "$dynamic_linker" && can_build_shared=no
12634
13087
 
12635
13088
variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
12636
 
if test "$GCC" = yes; then
 
13089
if test yes = "$GCC"; then
12637
13090
  variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
12638
13091
fi
12639
13092
 
12640
 
if test "${lt_cv_sys_lib_search_path_spec+set}" = set; then
12641
 
  sys_lib_search_path_spec="$lt_cv_sys_lib_search_path_spec"
12642
 
fi
12643
 
if test "${lt_cv_sys_lib_dlsearch_path_spec+set}" = set; then
12644
 
  sys_lib_dlsearch_path_spec="$lt_cv_sys_lib_dlsearch_path_spec"
12645
 
fi
 
13093
if test set = "${lt_cv_sys_lib_search_path_spec+set}"; then
 
13094
  sys_lib_search_path_spec=$lt_cv_sys_lib_search_path_spec
 
13095
fi
 
13096
 
 
13097
if test set = "${lt_cv_sys_lib_dlsearch_path_spec+set}"; then
 
13098
  sys_lib_dlsearch_path_spec=$lt_cv_sys_lib_dlsearch_path_spec
 
13099
fi
 
13100
 
 
13101
# lt_cv_sys_lib... is unaugmented for libtool script decls...
 
13102
lt_cv_sys_lib_dlsearch_path_spec=$sys_lib_dlsearch_path_spec
 
13103
 
 
13104
# ..but sys_lib_... needs LT_SYS_LIBRARY_PATH munging for
 
13105
# LT_SYS_DLSEARCH_PATH macro in ltdl.m4 to work with the correct paths:
 
13106
func_munge_path_list sys_lib_dlsearch_path_spec "$LT_SYS_LIBRARY_PATH"
12646
13107
 
12647
13108
 
12648
13109
 
12740
13201
hardcode_action=
12741
13202
if test -n "$hardcode_libdir_flag_spec" ||
12742
13203
   test -n "$runpath_var" ||
12743
 
   test "X$hardcode_automatic" = "Xyes" ; then
 
13204
   test yes = "$hardcode_automatic"; then
12744
13205
 
12745
13206
  # We can hardcode non-existent directories.
12746
 
  if test "$hardcode_direct" != no &&
 
13207
  if test no != "$hardcode_direct" &&
12747
13208
     # If the only mechanism to avoid hardcoding is shlibpath_var, we
12748
13209
     # have to relink, otherwise we might link with an installed library
12749
13210
     # when we should be linking with a yet-to-be-installed one
12750
 
     ## test "$_LT_TAGVAR(hardcode_shlibpath_var, )" != no &&
12751
 
     test "$hardcode_minus_L" != no; then
 
13211
     ## test no != "$_LT_TAGVAR(hardcode_shlibpath_var, )" &&
 
13212
     test no != "$hardcode_minus_L"; then
12752
13213
    # Linking always hardcodes the temporary library directory.
12753
13214
    hardcode_action=relink
12754
13215
  else
12763
13224
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $hardcode_action" >&5
12764
13225
$as_echo "$hardcode_action" >&6; }
12765
13226
 
12766
 
if test "$hardcode_action" = relink ||
12767
 
   test "$inherit_rpath" = yes; then
 
13227
if test relink = "$hardcode_action" ||
 
13228
   test yes = "$inherit_rpath"; then
12768
13229
  # Fast installation is not supported
12769
13230
  enable_fast_install=no
12770
 
elif test "$shlibpath_overrides_runpath" = yes ||
12771
 
     test "$enable_shared" = no; then
 
13231
elif test yes = "$shlibpath_overrides_runpath" ||
 
13232
     test no = "$enable_shared"; then
12772
13233
  # Fast installation is not necessary
12773
13234
  enable_fast_install=needless
12774
13235
fi
12778
13239
 
12779
13240
 
12780
13241
 
12781
 
  if test "x$enable_dlopen" != xyes; then
 
13242
  if test yes != "$enable_dlopen"; then
12782
13243
  enable_dlopen=unknown
12783
13244
  enable_dlopen_self=unknown
12784
13245
  enable_dlopen_self_static=unknown
12788
13249
 
12789
13250
  case $host_os in
12790
13251
  beos*)
12791
 
    lt_cv_dlopen="load_add_on"
 
13252
    lt_cv_dlopen=load_add_on
12792
13253
    lt_cv_dlopen_libs=
12793
13254
    lt_cv_dlopen_self=yes
12794
13255
    ;;
12795
13256
 
12796
13257
  mingw* | pw32* | cegcc*)
12797
 
    lt_cv_dlopen="LoadLibrary"
 
13258
    lt_cv_dlopen=LoadLibrary
12798
13259
    lt_cv_dlopen_libs=
12799
13260
    ;;
12800
13261
 
12801
13262
  cygwin*)
12802
 
    lt_cv_dlopen="dlopen"
 
13263
    lt_cv_dlopen=dlopen
12803
13264
    lt_cv_dlopen_libs=
12804
13265
    ;;
12805
13266
 
12806
13267
  darwin*)
12807
 
  # if libdl is installed we need to link against it
 
13268
    # if libdl is installed we need to link against it
12808
13269
    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
12809
13270
$as_echo_n "checking for dlopen in -ldl... " >&6; }
12810
13271
if ${ac_cv_lib_dl_dlopen+:} false; then :
12842
13303
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
12843
13304
$as_echo "$ac_cv_lib_dl_dlopen" >&6; }
12844
13305
if test "x$ac_cv_lib_dl_dlopen" = xyes; then :
12845
 
  lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
 
13306
  lt_cv_dlopen=dlopen lt_cv_dlopen_libs=-ldl
12846
13307
else
12847
13308
 
12848
 
    lt_cv_dlopen="dyld"
 
13309
    lt_cv_dlopen=dyld
12849
13310
    lt_cv_dlopen_libs=
12850
13311
    lt_cv_dlopen_self=yes
12851
13312
 
12853
13314
 
12854
13315
    ;;
12855
13316
 
 
13317
  tpf*)
 
13318
    # Don't try to run any link tests for TPF.  We know it's impossible
 
13319
    # because TPF is a cross-compiler, and we know how we open DSOs.
 
13320
    lt_cv_dlopen=dlopen
 
13321
    lt_cv_dlopen_libs=
 
13322
    lt_cv_dlopen_self=no
 
13323
    ;;
 
13324
 
12856
13325
  *)
12857
13326
    ac_fn_c_check_func "$LINENO" "shl_load" "ac_cv_func_shl_load"
12858
13327
if test "x$ac_cv_func_shl_load" = xyes; then :
12859
 
  lt_cv_dlopen="shl_load"
 
13328
  lt_cv_dlopen=shl_load
12860
13329
else
12861
13330
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shl_load in -ldld" >&5
12862
13331
$as_echo_n "checking for shl_load in -ldld... " >&6; }
12895
13364
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_shl_load" >&5
12896
13365
$as_echo "$ac_cv_lib_dld_shl_load" >&6; }
12897
13366
if test "x$ac_cv_lib_dld_shl_load" = xyes; then :
12898
 
  lt_cv_dlopen="shl_load" lt_cv_dlopen_libs="-ldld"
 
13367
  lt_cv_dlopen=shl_load lt_cv_dlopen_libs=-ldld
12899
13368
else
12900
13369
  ac_fn_c_check_func "$LINENO" "dlopen" "ac_cv_func_dlopen"
12901
13370
if test "x$ac_cv_func_dlopen" = xyes; then :
12902
 
  lt_cv_dlopen="dlopen"
 
13371
  lt_cv_dlopen=dlopen
12903
13372
else
12904
13373
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
12905
13374
$as_echo_n "checking for dlopen in -ldl... " >&6; }
12938
13407
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
12939
13408
$as_echo "$ac_cv_lib_dl_dlopen" >&6; }
12940
13409
if test "x$ac_cv_lib_dl_dlopen" = xyes; then :
12941
 
  lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
 
13410
  lt_cv_dlopen=dlopen lt_cv_dlopen_libs=-ldl
12942
13411
else
12943
13412
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -lsvld" >&5
12944
13413
$as_echo_n "checking for dlopen in -lsvld... " >&6; }
12977
13446
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_svld_dlopen" >&5
12978
13447
$as_echo "$ac_cv_lib_svld_dlopen" >&6; }
12979
13448
if test "x$ac_cv_lib_svld_dlopen" = xyes; then :
12980
 
  lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-lsvld"
 
13449
  lt_cv_dlopen=dlopen lt_cv_dlopen_libs=-lsvld
12981
13450
else
12982
13451
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dld_link in -ldld" >&5
12983
13452
$as_echo_n "checking for dld_link in -ldld... " >&6; }
13016
13485
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_dld_link" >&5
13017
13486
$as_echo "$ac_cv_lib_dld_dld_link" >&6; }
13018
13487
if test "x$ac_cv_lib_dld_dld_link" = xyes; then :
13019
 
  lt_cv_dlopen="dld_link" lt_cv_dlopen_libs="-ldld"
 
13488
  lt_cv_dlopen=dld_link lt_cv_dlopen_libs=-ldld
13020
13489
fi
13021
13490
 
13022
13491
 
13037
13506
    ;;
13038
13507
  esac
13039
13508
 
13040
 
  if test "x$lt_cv_dlopen" != xno; then
 
13509
  if test no = "$lt_cv_dlopen"; then
 
13510
    enable_dlopen=no
 
13511
  else
13041
13512
    enable_dlopen=yes
13042
 
  else
13043
 
    enable_dlopen=no
13044
13513
  fi
13045
13514
 
13046
13515
  case $lt_cv_dlopen in
13047
13516
  dlopen)
13048
 
    save_CPPFLAGS="$CPPFLAGS"
13049
 
    test "x$ac_cv_header_dlfcn_h" = xyes && CPPFLAGS="$CPPFLAGS -DHAVE_DLFCN_H"
 
13517
    save_CPPFLAGS=$CPPFLAGS
 
13518
    test yes = "$ac_cv_header_dlfcn_h" && CPPFLAGS="$CPPFLAGS -DHAVE_DLFCN_H"
13050
13519
 
13051
 
    save_LDFLAGS="$LDFLAGS"
 
13520
    save_LDFLAGS=$LDFLAGS
13052
13521
    wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $export_dynamic_flag_spec\"
13053
13522
 
13054
 
    save_LIBS="$LIBS"
 
13523
    save_LIBS=$LIBS
13055
13524
    LIBS="$lt_cv_dlopen_libs $LIBS"
13056
13525
 
13057
13526
    { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a program can dlopen itself" >&5
13059
13528
if ${lt_cv_dlopen_self+:} false; then :
13060
13529
  $as_echo_n "(cached) " >&6
13061
13530
else
13062
 
          if test "$cross_compiling" = yes; then :
 
13531
          if test yes = "$cross_compiling"; then :
13063
13532
  lt_cv_dlopen_self=cross
13064
13533
else
13065
13534
  lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
13106
13575
#  endif
13107
13576
#endif
13108
13577
 
13109
 
/* When -fvisbility=hidden is used, assume the code has been annotated
 
13578
/* When -fvisibility=hidden is used, assume the code has been annotated
13110
13579
   correspondingly for the symbols needed.  */
13111
 
#if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
 
13580
#if defined __GNUC__ && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
13112
13581
int fnord () __attribute__((visibility("default")));
13113
13582
#endif
13114
13583
 
13138
13607
  (eval $ac_link) 2>&5
13139
13608
  ac_status=$?
13140
13609
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13141
 
  test $ac_status = 0; } && test -s conftest${ac_exeext} 2>/dev/null; then
 
13610
  test $ac_status = 0; } && test -s "conftest$ac_exeext" 2>/dev/null; then
13142
13611
    (./conftest; exit; ) >&5 2>/dev/null
13143
13612
    lt_status=$?
13144
13613
    case x$lt_status in
13158
13627
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self" >&5
13159
13628
$as_echo "$lt_cv_dlopen_self" >&6; }
13160
13629
 
13161
 
    if test "x$lt_cv_dlopen_self" = xyes; then
 
13630
    if test yes = "$lt_cv_dlopen_self"; then
13162
13631
      wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $lt_prog_compiler_static\"
13163
13632
      { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a statically linked program can dlopen itself" >&5
13164
13633
$as_echo_n "checking whether a statically linked program can dlopen itself... " >&6; }
13165
13634
if ${lt_cv_dlopen_self_static+:} false; then :
13166
13635
  $as_echo_n "(cached) " >&6
13167
13636
else
13168
 
          if test "$cross_compiling" = yes; then :
 
13637
          if test yes = "$cross_compiling"; then :
13169
13638
  lt_cv_dlopen_self_static=cross
13170
13639
else
13171
13640
  lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
13212
13681
#  endif
13213
13682
#endif
13214
13683
 
13215
 
/* When -fvisbility=hidden is used, assume the code has been annotated
 
13684
/* When -fvisibility=hidden is used, assume the code has been annotated
13216
13685
   correspondingly for the symbols needed.  */
13217
 
#if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
 
13686
#if defined __GNUC__ && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
13218
13687
int fnord () __attribute__((visibility("default")));
13219
13688
#endif
13220
13689
 
13244
13713
  (eval $ac_link) 2>&5
13245
13714
  ac_status=$?
13246
13715
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13247
 
  test $ac_status = 0; } && test -s conftest${ac_exeext} 2>/dev/null; then
 
13716
  test $ac_status = 0; } && test -s "conftest$ac_exeext" 2>/dev/null; then
13248
13717
    (./conftest; exit; ) >&5 2>/dev/null
13249
13718
    lt_status=$?
13250
13719
    case x$lt_status in
13265
13734
$as_echo "$lt_cv_dlopen_self_static" >&6; }
13266
13735
    fi
13267
13736
 
13268
 
    CPPFLAGS="$save_CPPFLAGS"
13269
 
    LDFLAGS="$save_LDFLAGS"
13270
 
    LIBS="$save_LIBS"
 
13737
    CPPFLAGS=$save_CPPFLAGS
 
13738
    LDFLAGS=$save_LDFLAGS
 
13739
    LIBS=$save_LIBS
13271
13740
    ;;
13272
13741
  esac
13273
13742
 
13311
13780
# FIXME - insert some real tests, host_os isn't really good enough
13312
13781
  case $host_os in
13313
13782
  darwin*)
13314
 
    if test -n "$STRIP" ; then
 
13783
    if test -n "$STRIP"; then
13315
13784
      striplib="$STRIP -x"
13316
13785
      old_striplib="$STRIP -S"
13317
13786
      { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
13339
13808
 
13340
13809
 
13341
13810
 
13342
 
  # Report which library types will actually be built
 
13811
  # Report what library types will actually be built
13343
13812
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking if libtool supports shared libraries" >&5
13344
13813
$as_echo_n "checking if libtool supports shared libraries... " >&6; }
13345
13814
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $can_build_shared" >&5
13347
13816
 
13348
13817
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build shared libraries" >&5
13349
13818
$as_echo_n "checking whether to build shared libraries... " >&6; }
13350
 
  test "$can_build_shared" = "no" && enable_shared=no
 
13819
  test no = "$can_build_shared" && enable_shared=no
13351
13820
 
13352
13821
  # On AIX, shared libraries and static libraries use the same namespace, and
13353
13822
  # are all built from PIC.
13354
13823
  case $host_os in
13355
13824
  aix3*)
13356
 
    test "$enable_shared" = yes && enable_static=no
 
13825
    test yes = "$enable_shared" && enable_static=no
13357
13826
    if test -n "$RANLIB"; then
13358
13827
      archive_cmds="$archive_cmds~\$RANLIB \$lib"
13359
13828
      postinstall_cmds='$RANLIB $lib'
13361
13830
    ;;
13362
13831
 
13363
13832
  aix[4-9]*)
13364
 
    if test "$host_cpu" != ia64 && test "$aix_use_runtimelinking" = no ; then
13365
 
      test "$enable_shared" = yes && enable_static=no
 
13833
    if test ia64 != "$host_cpu"; then
 
13834
      case $enable_shared,$with_aix_soname,$aix_use_runtimelinking in
 
13835
      yes,aix,yes) ;;                   # shared object as lib.so file only
 
13836
      yes,svr4,*) ;;                    # shared object as lib.so archive member only
 
13837
      yes,*) enable_static=no ;;        # shared object in lib.a archive as well
 
13838
      esac
13366
13839
    fi
13367
13840
    ;;
13368
13841
  esac
13372
13845
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build static libraries" >&5
13373
13846
$as_echo_n "checking whether to build static libraries... " >&6; }
13374
13847
  # Make sure either enable_shared or enable_static is yes.
13375
 
  test "$enable_shared" = yes || enable_static=yes
 
13848
  test yes = "$enable_shared" || enable_static=yes
13376
13849
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_static" >&5
13377
13850
$as_echo "$enable_static" >&6; }
13378
13851
 
13386
13859
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13387
13860
ac_compiler_gnu=$ac_cv_c_compiler_gnu
13388
13861
 
13389
 
CC="$lt_save_CC"
 
13862
CC=$lt_save_CC
13390
13863
 
13391
13864
 
13392
13865
 
13414
13887
LIBXFCE4PANEL_VERINFO=4:0:0
13415
13888
 
13416
13889
 
13417
 
LIBXFCE4PANEL_VERSION=4.11.2
 
13890
LIBXFCE4PANEL_VERSION=4.12.0
13418
13891
LIBXFCE4PANEL_VERSION_API=1.0
13419
13892
LIBXFCE4PANEL_VERSION_MAJOR=4
13420
 
LIBXFCE4PANEL_VERSION_MINOR=11
13421
 
LIBXFCE4PANEL_VERSION_MICRO=2
 
13893
LIBXFCE4PANEL_VERSION_MINOR=12
 
13894
LIBXFCE4PANEL_VERSION_MICRO=0
13422
13895
 
13423
13896
$as_echo "#define LIBXFCE4PANEL_VERSION_API \"1.0\"" >>confdefs.h
13424
13897
 
13582
14055
 
13583
14056
 
13584
14057
 
13585
 
    ALL_LINGUAS="am ar ast be bg bn ca cs da de el en_AU en_GB eo es et eu fi fr gl he hr hu id is it ja kk ko lt lv ms nb nl nn oc pa pl pt_BR pt ro ru si sk sq sr sv te th tr ug uk ur_PK ur vi zh_CN zh_HK zh_TW "
 
14058
    ALL_LINGUAS="am ar ast be bg bn ca cs da de el en_AU en_GB eo es et eu fi fr gl he hr hu id is it ja kk ko lt lv ms nb nl nn oc pa pl pt_BR pt ro ru si sk sl sq sr sv te th tr ug uk ur_PK ur vi zh_CN zh_HK zh_TW "
13586
14059
 
13587
14060
   for ac_header in locale.h
13588
14061
do :
18496
18969
                              -Wdeclaration-after-statement \
18497
18970
                              -Wmissing-declarations \
18498
18971
                              -Wmissing-noreturn -Wshadow -Wpointer-arith \
18499
 
                              -Wcast-align -Wformat -Wformat-security -Wformat-y2k \
 
18972
                              -Wcast-align -Wformat-security \
18500
18973
                              -Winit-self -Wmissing-include-dirs -Wundef \
18501
 
                              -Wnested-externs"
 
18974
                              -Wmissing-format-attribute -Wnested-externs"
18502
18975
    CPPFLAGS="$CPPFLAGS"
18503
18976
 
18504
18977
    if test x`uname` = x"Linux"; then
19289
19762
# report actual input values of CONFIG_FILES etc. instead of their
19290
19763
# values after options handling.
19291
19764
ac_log="
19292
 
This file was extended by xfce4-panel $as_me 4.11.2, which was
 
19765
This file was extended by xfce4-panel $as_me 4.12.0, which was
19293
19766
generated by GNU Autoconf 2.69.  Invocation command line was
19294
19767
 
19295
19768
  CONFIG_FILES    = $CONFIG_FILES
19355
19828
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
19356
19829
ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
19357
19830
ac_cs_version="\\
19358
 
xfce4-panel config.status 4.11.2
 
19831
xfce4-panel config.status 4.12.0
19359
19832
configured by $0, generated by GNU Autoconf 2.69,
19360
19833
  with options \\"\$ac_cs_config\\"
19361
19834
 
19498
19971
enable_shared='`$ECHO "$enable_shared" | $SED "$delay_single_quote_subst"`'
19499
19972
pic_mode='`$ECHO "$pic_mode" | $SED "$delay_single_quote_subst"`'
19500
19973
enable_fast_install='`$ECHO "$enable_fast_install" | $SED "$delay_single_quote_subst"`'
 
19974
shared_archive_member_spec='`$ECHO "$shared_archive_member_spec" | $SED "$delay_single_quote_subst"`'
19501
19975
PATH_SEPARATOR='`$ECHO "$PATH_SEPARATOR" | $SED "$delay_single_quote_subst"`'
19502
19976
host_alias='`$ECHO "$host_alias" | $SED "$delay_single_quote_subst"`'
19503
19977
host='`$ECHO "$host" | $SED "$delay_single_quote_subst"`'
19539
20013
GCC='`$ECHO "$GCC" | $SED "$delay_single_quote_subst"`'
19540
20014
lt_cv_sys_global_symbol_pipe='`$ECHO "$lt_cv_sys_global_symbol_pipe" | $SED "$delay_single_quote_subst"`'
19541
20015
lt_cv_sys_global_symbol_to_cdecl='`$ECHO "$lt_cv_sys_global_symbol_to_cdecl" | $SED "$delay_single_quote_subst"`'
 
20016
lt_cv_sys_global_symbol_to_import='`$ECHO "$lt_cv_sys_global_symbol_to_import" | $SED "$delay_single_quote_subst"`'
19542
20017
lt_cv_sys_global_symbol_to_c_name_address='`$ECHO "$lt_cv_sys_global_symbol_to_c_name_address" | $SED "$delay_single_quote_subst"`'
19543
20018
lt_cv_sys_global_symbol_to_c_name_address_lib_prefix='`$ECHO "$lt_cv_sys_global_symbol_to_c_name_address_lib_prefix" | $SED "$delay_single_quote_subst"`'
 
20019
lt_cv_nm_interface='`$ECHO "$lt_cv_nm_interface" | $SED "$delay_single_quote_subst"`'
19544
20020
nm_file_list_spec='`$ECHO "$nm_file_list_spec" | $SED "$delay_single_quote_subst"`'
19545
20021
lt_sysroot='`$ECHO "$lt_sysroot" | $SED "$delay_single_quote_subst"`'
 
20022
lt_cv_truncate_bin='`$ECHO "$lt_cv_truncate_bin" | $SED "$delay_single_quote_subst"`'
19546
20023
objdir='`$ECHO "$objdir" | $SED "$delay_single_quote_subst"`'
19547
20024
MAGIC_CMD='`$ECHO "$MAGIC_CMD" | $SED "$delay_single_quote_subst"`'
19548
20025
lt_prog_compiler_no_builtin_flag='`$ECHO "$lt_prog_compiler_no_builtin_flag" | $SED "$delay_single_quote_subst"`'
19607
20084
finish_eval='`$ECHO "$finish_eval" | $SED "$delay_single_quote_subst"`'
19608
20085
hardcode_into_libs='`$ECHO "$hardcode_into_libs" | $SED "$delay_single_quote_subst"`'
19609
20086
sys_lib_search_path_spec='`$ECHO "$sys_lib_search_path_spec" | $SED "$delay_single_quote_subst"`'
19610
 
sys_lib_dlsearch_path_spec='`$ECHO "$sys_lib_dlsearch_path_spec" | $SED "$delay_single_quote_subst"`'
 
20087
lt_cv_sys_lib_dlsearch_path_spec='`$ECHO "$lt_cv_sys_lib_dlsearch_path_spec" | $SED "$delay_single_quote_subst"`'
19611
20088
hardcode_action='`$ECHO "$hardcode_action" | $SED "$delay_single_quote_subst"`'
19612
20089
enable_dlopen='`$ECHO "$enable_dlopen" | $SED "$delay_single_quote_subst"`'
19613
20090
enable_dlopen_self='`$ECHO "$enable_dlopen_self" | $SED "$delay_single_quote_subst"`'
19658
20135
compiler \
19659
20136
lt_cv_sys_global_symbol_pipe \
19660
20137
lt_cv_sys_global_symbol_to_cdecl \
 
20138
lt_cv_sys_global_symbol_to_import \
19661
20139
lt_cv_sys_global_symbol_to_c_name_address \
19662
20140
lt_cv_sys_global_symbol_to_c_name_address_lib_prefix \
 
20141
lt_cv_nm_interface \
19663
20142
nm_file_list_spec \
 
20143
lt_cv_truncate_bin \
19664
20144
lt_prog_compiler_no_builtin_flag \
19665
20145
lt_prog_compiler_pic \
19666
20146
lt_prog_compiler_wl \
19695
20175
striplib; do
19696
20176
    case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
19697
20177
    *[\\\\\\\`\\"\\\$]*)
19698
 
      eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED \\"\\\$sed_quote_subst\\"\\\`\\\\\\""
 
20178
      eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED \\"\\\$sed_quote_subst\\"\\\`\\\\\\"" ## exclude from sc_prohibit_nested_quotes
19699
20179
      ;;
19700
20180
    *)
19701
20181
      eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
19722
20202
postuninstall_cmds \
19723
20203
finish_cmds \
19724
20204
sys_lib_search_path_spec \
19725
 
sys_lib_dlsearch_path_spec; do
 
20205
lt_cv_sys_lib_dlsearch_path_spec; do
19726
20206
    case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
19727
20207
    *[\\\\\\\`\\"\\\$]*)
19728
 
      eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED -e \\"\\\$double_quote_subst\\" -e \\"\\\$sed_quote_subst\\" -e \\"\\\$delay_variable_subst\\"\\\`\\\\\\""
 
20208
      eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED -e \\"\\\$double_quote_subst\\" -e \\"\\\$sed_quote_subst\\" -e \\"\\\$delay_variable_subst\\"\\\`\\\\\\"" ## exclude from sc_prohibit_nested_quotes
19729
20209
      ;;
19730
20210
    *)
19731
20211
      eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
19734
20214
done
19735
20215
 
19736
20216
ac_aux_dir='$ac_aux_dir'
19737
 
xsi_shell='$xsi_shell'
19738
 
lt_shell_append='$lt_shell_append'
19739
20217
 
19740
 
# See if we are running on zsh, and set the options which allow our
 
20218
# See if we are running on zsh, and set the options that allow our
19741
20219
# commands through without removal of \ escapes INIT.
19742
 
if test -n "\${ZSH_VERSION+set}" ; then
 
20220
if test -n "\${ZSH_VERSION+set}"; then
19743
20221
   setopt NO_GLOB_SUBST
19744
20222
fi
19745
20223
 
19746
20224
 
19747
20225
    PACKAGE='$PACKAGE'
19748
20226
    VERSION='$VERSION'
19749
 
    TIMESTAMP='$TIMESTAMP'
19750
20227
    RM='$RM'
19751
20228
    ofile='$ofile'
19752
20229
 
20501
20978
 ;;
20502
20979
    "libtool":C)
20503
20980
 
20504
 
    # See if we are running on zsh, and set the options which allow our
 
20981
    # See if we are running on zsh, and set the options that allow our
20505
20982
    # commands through without removal of \ escapes.
20506
 
    if test -n "${ZSH_VERSION+set}" ; then
 
20983
    if test -n "${ZSH_VERSION+set}"; then
20507
20984
      setopt NO_GLOB_SUBST
20508
20985
    fi
20509
20986
 
20510
 
    cfgfile="${ofile}T"
 
20987
    cfgfile=${ofile}T
20511
20988
    trap "$RM \"$cfgfile\"; exit 1" 1 2 15
20512
20989
    $RM "$cfgfile"
20513
20990
 
20514
20991
    cat <<_LT_EOF >> "$cfgfile"
20515
20992
#! $SHELL
20516
 
 
20517
 
# `$ECHO "$ofile" | sed 's%^.*/%%'` - Provide generalized library-building support services.
20518
 
# Generated automatically by $as_me ($PACKAGE$TIMESTAMP) $VERSION
 
20993
# Generated automatically by $as_me ($PACKAGE) $VERSION
20519
20994
# Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
20520
20995
# NOTE: Changes made to this file will be lost: look at ltmain.sh.
20521
 
#
20522
 
#   Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2003, 2004, 2005,
20523
 
#                 2006, 2007, 2008, 2009, 2010, 2011 Free Software
20524
 
#                 Foundation, Inc.
20525
 
#   Written by Gordon Matzigkeit, 1996
20526
 
#
20527
 
#   This file is part of GNU Libtool.
20528
 
#
20529
 
# GNU Libtool is free software; you can redistribute it and/or
20530
 
# modify it under the terms of the GNU General Public License as
20531
 
# published by the Free Software Foundation; either version 2 of
20532
 
# the License, or (at your option) any later version.
20533
 
#
20534
 
# As a special exception to the GNU General Public License,
20535
 
# if you distribute this file as part of a program or library that
20536
 
# is built using GNU Libtool, you may include this file under the
20537
 
# same distribution terms that you use for the rest of that program.
20538
 
#
20539
 
# GNU Libtool is distributed in the hope that it will be useful,
20540
 
# but WITHOUT ANY WARRANTY; without even the implied warranty of
 
20996
 
 
20997
# Provide generalized library-building support services.
 
20998
# Written by Gordon Matzigkeit, 1996
 
20999
 
 
21000
# Copyright (C) 2014 Free Software Foundation, Inc.
 
21001
# This is free software; see the source for copying conditions.  There is NO
 
21002
# warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
 
21003
 
 
21004
# GNU Libtool is free software; you can redistribute it and/or modify
 
21005
# it under the terms of the GNU General Public License as published by
 
21006
# the Free Software Foundation; either version 2 of of the License, or
 
21007
# (at your option) any later version.
 
21008
#
 
21009
# As a special exception to the GNU General Public License, if you
 
21010
# distribute this file as part of a program or library that is built
 
21011
# using GNU Libtool, you may include this file under the  same
 
21012
# distribution terms that you use for the rest of that program.
 
21013
#
 
21014
# GNU Libtool is distributed in the hope that it will be useful, but
 
21015
# WITHOUT ANY WARRANTY; without even the implied warranty of
20541
21016
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
20542
21017
# GNU General Public License for more details.
20543
21018
#
20544
21019
# You should have received a copy of the GNU General Public License
20545
 
# along with GNU Libtool; see the file COPYING.  If not, a copy
20546
 
# can be downloaded from http://www.gnu.org/licenses/gpl.html, or
20547
 
# obtained by writing to the Free Software Foundation, Inc.,
20548
 
# 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
 
21020
# along with this program.  If not, see <http://www.gnu.org/licenses/>.
20549
21021
 
20550
21022
 
20551
21023
# The names of the tagged configurations supported by this script.
20552
 
available_tags=""
 
21024
available_tags=''
 
21025
 
 
21026
# Configured defaults for sys_lib_dlsearch_path munging.
 
21027
: \${LT_SYS_LIBRARY_PATH="$LT_SYS_LIBRARY_PATH"}
20553
21028
 
20554
21029
# ### BEGIN LIBTOOL CONFIG
20555
21030
 
20590
21065
# Whether or not to optimize for fast installation.
20591
21066
fast_install=$enable_fast_install
20592
21067
 
 
21068
# Shared archive member basename,for filename based shared library versioning on AIX.
 
21069
shared_archive_member_spec=$shared_archive_member_spec
 
21070
 
20593
21071
# The PATH separator for the build system.
20594
21072
PATH_SEPARATOR=$lt_PATH_SEPARATOR
20595
21073
 
20686
21164
# Transform the output of nm in a proper C declaration.
20687
21165
global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
20688
21166
 
 
21167
# Transform the output of nm into a list of symbols to manually relocate.
 
21168
global_symbol_to_import=$lt_lt_cv_sys_global_symbol_to_import
 
21169
 
20689
21170
# Transform the output of nm in a C name address pair.
20690
21171
global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
20691
21172
 
20692
21173
# Transform the output of nm in a C name address pair when lib prefix is needed.
20693
21174
global_symbol_to_c_name_address_lib_prefix=$lt_lt_cv_sys_global_symbol_to_c_name_address_lib_prefix
20694
21175
 
 
21176
# The name lister interface.
 
21177
nm_interface=$lt_lt_cv_nm_interface
 
21178
 
20695
21179
# Specify filename containing input files for \$NM.
20696
21180
nm_file_list_spec=$lt_nm_file_list_spec
20697
21181
 
20698
 
# The root where to search for dependent libraries,and in which our libraries should be installed.
 
21182
# The root where to search for dependent libraries,and where our libraries should be installed.
20699
21183
lt_sysroot=$lt_sysroot
20700
21184
 
 
21185
# Command to truncate a binary pipe.
 
21186
lt_truncate_bin=$lt_lt_cv_truncate_bin
 
21187
 
20701
21188
# The name of the directory that contains temporary libtool files.
20702
21189
objdir=$objdir
20703
21190
 
20789
21276
sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
20790
21277
 
20791
21278
# Run-time system search path for libraries.
20792
 
sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
 
21279
sys_lib_dlsearch_path_spec=$lt_lt_cv_sys_lib_dlsearch_path_spec
20793
21280
 
20794
21281
# Whether dlopen is supported.
20795
21282
dlopen_support=$enable_dlopen
20882
21369
# Whether we need a single "-rpath" flag with a separated argument.
20883
21370
hardcode_libdir_separator=$lt_hardcode_libdir_separator
20884
21371
 
20885
 
# Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
 
21372
# Set to "yes" if using DIR/libNAME\$shared_ext during linking hardcodes
20886
21373
# DIR into the resulting binary.
20887
21374
hardcode_direct=$hardcode_direct
20888
21375
 
20889
 
# Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
 
21376
# Set to "yes" if using DIR/libNAME\$shared_ext during linking hardcodes
20890
21377
# DIR into the resulting binary and the resulting library dependency is
20891
 
# "absolute",i.e impossible to change by setting \${shlibpath_var} if the
 
21378
# "absolute",i.e impossible to change by setting \$shlibpath_var if the
20892
21379
# library is relocated.
20893
21380
hardcode_direct_absolute=$hardcode_direct_absolute
20894
21381
 
20940
21427
 
20941
21428
_LT_EOF
20942
21429
 
 
21430
    cat <<'_LT_EOF' >> "$cfgfile"
 
21431
 
 
21432
# func_munge_path_list VARIABLE PATH
 
21433
# -----------------------------------
 
21434
# VARIABLE is name of variable containing _space_ separated list of
 
21435
# directories to be munged by the contents of PATH, which is string
 
21436
# having a format:
 
21437
# "DIR[:DIR]:"
 
21438
#       string "DIR[ DIR]" will be prepended to VARIABLE
 
21439
# ":DIR[:DIR]"
 
21440
#       string "DIR[ DIR]" will be appended to VARIABLE
 
21441
# "DIRP[:DIRP]::[DIRA:]DIRA"
 
21442
#       string "DIRP[ DIRP]" will be prepended to VARIABLE and string
 
21443
#       "DIRA[ DIRA]" will be appended to VARIABLE
 
21444
# "DIR[:DIR]"
 
21445
#       VARIABLE will be replaced by "DIR[ DIR]"
 
21446
func_munge_path_list ()
 
21447
{
 
21448
    case x$2 in
 
21449
    x)
 
21450
        ;;
 
21451
    *:)
 
21452
        eval $1=\"`$ECHO $2 | $SED 's/:/ /g'` \S|@1\"
 
21453
        ;;
 
21454
    x:*)
 
21455
        eval $1=\"\$$1 `$ECHO $2 | $SED 's/:/ /g'`\"
 
21456
        ;;
 
21457
    *::*)
 
21458
        eval $1=\"\$$1\ `$ECHO $2 | $SED -e 's/.*:://' -e 's/:/ /g'`\"
 
21459
        eval $1=\"`$ECHO $2 | $SED -e 's/::.*//' -e 's/:/ /g'`\ \$$1\"
 
21460
        ;;
 
21461
    *)
 
21462
        eval $1=\"`$ECHO $2 | $SED 's/:/ /g'`\"
 
21463
        ;;
 
21464
    esac
 
21465
}
 
21466
 
 
21467
 
 
21468
# Calculate cc_basename.  Skip known compiler wrappers and cross-prefix.
 
21469
func_cc_basename ()
 
21470
{
 
21471
    for cc_temp in $*""; do
 
21472
      case $cc_temp in
 
21473
        compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
 
21474
        distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
 
21475
        \-*) ;;
 
21476
        *) break;;
 
21477
      esac
 
21478
    done
 
21479
    func_cc_basename_result=`$ECHO "$cc_temp" | $SED "s%.*/%%; s%^$host_alias-%%"`
 
21480
}
 
21481
 
 
21482
 
 
21483
_LT_EOF
 
21484
 
20943
21485
  case $host_os in
20944
21486
  aix3*)
20945
21487
    cat <<\_LT_EOF >> "$cfgfile"
20946
21488
# AIX sometimes has problems with the GCC collect2 program.  For some
20947
21489
# reason, if we set the COLLECT_NAMES environment variable, the problems
20948
21490
# vanish in a puff of smoke.
20949
 
if test "X${COLLECT_NAMES+set}" != Xset; then
 
21491
if test set != "${COLLECT_NAMES+set}"; then
20950
21492
  COLLECT_NAMES=
20951
21493
  export COLLECT_NAMES
20952
21494
fi
20955
21497
  esac
20956
21498
 
20957
21499
 
20958
 
ltmain="$ac_aux_dir/ltmain.sh"
 
21500
ltmain=$ac_aux_dir/ltmain.sh
20959
21501
 
20960
21502
 
20961
21503
  # We use sed instead of cat because bash on DJGPP gets confused if
20965
21507
  sed '$q' "$ltmain" >> "$cfgfile" \
20966
21508
     || (rm -f "$cfgfile"; exit 1)
20967
21509
 
20968
 
  if test x"$xsi_shell" = xyes; then
20969
 
  sed -e '/^func_dirname ()$/,/^} # func_dirname /c\
20970
 
func_dirname ()\
20971
 
{\
20972
 
\    case ${1} in\
20973
 
\      */*) func_dirname_result="${1%/*}${2}" ;;\
20974
 
\      *  ) func_dirname_result="${3}" ;;\
20975
 
\    esac\
20976
 
} # Extended-shell func_dirname implementation' "$cfgfile" > $cfgfile.tmp \
20977
 
  && mv -f "$cfgfile.tmp" "$cfgfile" \
20978
 
    || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
20979
 
test 0 -eq $? || _lt_function_replace_fail=:
20980
 
 
20981
 
 
20982
 
  sed -e '/^func_basename ()$/,/^} # func_basename /c\
20983
 
func_basename ()\
20984
 
{\
20985
 
\    func_basename_result="${1##*/}"\
20986
 
} # Extended-shell func_basename implementation' "$cfgfile" > $cfgfile.tmp \
20987
 
  && mv -f "$cfgfile.tmp" "$cfgfile" \
20988
 
    || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
20989
 
test 0 -eq $? || _lt_function_replace_fail=:
20990
 
 
20991
 
 
20992
 
  sed -e '/^func_dirname_and_basename ()$/,/^} # func_dirname_and_basename /c\
20993
 
func_dirname_and_basename ()\
20994
 
{\
20995
 
\    case ${1} in\
20996
 
\      */*) func_dirname_result="${1%/*}${2}" ;;\
20997
 
\      *  ) func_dirname_result="${3}" ;;\
20998
 
\    esac\
20999
 
\    func_basename_result="${1##*/}"\
21000
 
} # Extended-shell func_dirname_and_basename implementation' "$cfgfile" > $cfgfile.tmp \
21001
 
  && mv -f "$cfgfile.tmp" "$cfgfile" \
21002
 
    || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
21003
 
test 0 -eq $? || _lt_function_replace_fail=:
21004
 
 
21005
 
 
21006
 
  sed -e '/^func_stripname ()$/,/^} # func_stripname /c\
21007
 
func_stripname ()\
21008
 
{\
21009
 
\    # pdksh 5.2.14 does not do ${X%$Y} correctly if both X and Y are\
21010
 
\    # positional parameters, so assign one to ordinary parameter first.\
21011
 
\    func_stripname_result=${3}\
21012
 
\    func_stripname_result=${func_stripname_result#"${1}"}\
21013
 
\    func_stripname_result=${func_stripname_result%"${2}"}\
21014
 
} # Extended-shell func_stripname implementation' "$cfgfile" > $cfgfile.tmp \
21015
 
  && mv -f "$cfgfile.tmp" "$cfgfile" \
21016
 
    || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
21017
 
test 0 -eq $? || _lt_function_replace_fail=:
21018
 
 
21019
 
 
21020
 
  sed -e '/^func_split_long_opt ()$/,/^} # func_split_long_opt /c\
21021
 
func_split_long_opt ()\
21022
 
{\
21023
 
\    func_split_long_opt_name=${1%%=*}\
21024
 
\    func_split_long_opt_arg=${1#*=}\
21025
 
} # Extended-shell func_split_long_opt implementation' "$cfgfile" > $cfgfile.tmp \
21026
 
  && mv -f "$cfgfile.tmp" "$cfgfile" \
21027
 
    || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
21028
 
test 0 -eq $? || _lt_function_replace_fail=:
21029
 
 
21030
 
 
21031
 
  sed -e '/^func_split_short_opt ()$/,/^} # func_split_short_opt /c\
21032
 
func_split_short_opt ()\
21033
 
{\
21034
 
\    func_split_short_opt_arg=${1#??}\
21035
 
\    func_split_short_opt_name=${1%"$func_split_short_opt_arg"}\
21036
 
} # Extended-shell func_split_short_opt implementation' "$cfgfile" > $cfgfile.tmp \
21037
 
  && mv -f "$cfgfile.tmp" "$cfgfile" \
21038
 
    || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
21039
 
test 0 -eq $? || _lt_function_replace_fail=:
21040
 
 
21041
 
 
21042
 
  sed -e '/^func_lo2o ()$/,/^} # func_lo2o /c\
21043
 
func_lo2o ()\
21044
 
{\
21045
 
\    case ${1} in\
21046
 
\      *.lo) func_lo2o_result=${1%.lo}.${objext} ;;\
21047
 
\      *)    func_lo2o_result=${1} ;;\
21048
 
\    esac\
21049
 
} # Extended-shell func_lo2o implementation' "$cfgfile" > $cfgfile.tmp \
21050
 
  && mv -f "$cfgfile.tmp" "$cfgfile" \
21051
 
    || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
21052
 
test 0 -eq $? || _lt_function_replace_fail=:
21053
 
 
21054
 
 
21055
 
  sed -e '/^func_xform ()$/,/^} # func_xform /c\
21056
 
func_xform ()\
21057
 
{\
21058
 
    func_xform_result=${1%.*}.lo\
21059
 
} # Extended-shell func_xform implementation' "$cfgfile" > $cfgfile.tmp \
21060
 
  && mv -f "$cfgfile.tmp" "$cfgfile" \
21061
 
    || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
21062
 
test 0 -eq $? || _lt_function_replace_fail=:
21063
 
 
21064
 
 
21065
 
  sed -e '/^func_arith ()$/,/^} # func_arith /c\
21066
 
func_arith ()\
21067
 
{\
21068
 
    func_arith_result=$(( $* ))\
21069
 
} # Extended-shell func_arith implementation' "$cfgfile" > $cfgfile.tmp \
21070
 
  && mv -f "$cfgfile.tmp" "$cfgfile" \
21071
 
    || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
21072
 
test 0 -eq $? || _lt_function_replace_fail=:
21073
 
 
21074
 
 
21075
 
  sed -e '/^func_len ()$/,/^} # func_len /c\
21076
 
func_len ()\
21077
 
{\
21078
 
    func_len_result=${#1}\
21079
 
} # Extended-shell func_len implementation' "$cfgfile" > $cfgfile.tmp \
21080
 
  && mv -f "$cfgfile.tmp" "$cfgfile" \
21081
 
    || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
21082
 
test 0 -eq $? || _lt_function_replace_fail=:
21083
 
 
21084
 
fi
21085
 
 
21086
 
if test x"$lt_shell_append" = xyes; then
21087
 
  sed -e '/^func_append ()$/,/^} # func_append /c\
21088
 
func_append ()\
21089
 
{\
21090
 
    eval "${1}+=\\${2}"\
21091
 
} # Extended-shell func_append implementation' "$cfgfile" > $cfgfile.tmp \
21092
 
  && mv -f "$cfgfile.tmp" "$cfgfile" \
21093
 
    || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
21094
 
test 0 -eq $? || _lt_function_replace_fail=:
21095
 
 
21096
 
 
21097
 
  sed -e '/^func_append_quoted ()$/,/^} # func_append_quoted /c\
21098
 
func_append_quoted ()\
21099
 
{\
21100
 
\    func_quote_for_eval "${2}"\
21101
 
\    eval "${1}+=\\\\ \\$func_quote_for_eval_result"\
21102
 
} # Extended-shell func_append_quoted implementation' "$cfgfile" > $cfgfile.tmp \
21103
 
  && mv -f "$cfgfile.tmp" "$cfgfile" \
21104
 
    || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
21105
 
test 0 -eq $? || _lt_function_replace_fail=:
21106
 
 
21107
 
 
21108
 
  # Save a `func_append' function call where possible by direct use of '+='
21109
 
  sed -e 's%func_append \([a-zA-Z_]\{1,\}\) "%\1+="%g' $cfgfile > $cfgfile.tmp \
21110
 
    && mv -f "$cfgfile.tmp" "$cfgfile" \
21111
 
      || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
21112
 
  test 0 -eq $? || _lt_function_replace_fail=:
21113
 
else
21114
 
  # Save a `func_append' function call even when '+=' is not available
21115
 
  sed -e 's%func_append \([a-zA-Z_]\{1,\}\) "%\1="$\1%g' $cfgfile > $cfgfile.tmp \
21116
 
    && mv -f "$cfgfile.tmp" "$cfgfile" \
21117
 
      || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
21118
 
  test 0 -eq $? || _lt_function_replace_fail=:
21119
 
fi
21120
 
 
21121
 
if test x"$_lt_function_replace_fail" = x":"; then
21122
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Unable to substitute extended shell functions in $ofile" >&5
21123
 
$as_echo "$as_me: WARNING: Unable to substitute extended shell functions in $ofile" >&2;}
21124
 
fi
21125
 
 
21126
 
 
21127
21510
   mv -f "$cfgfile" "$ofile" ||
21128
21511
    (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile")
21129
21512
  chmod +x "$ofile"