~ubuntu-branches/ubuntu/trusty/libbonobo/trusty-proposed

« back to all changes in this revision

Viewing changes to configure

  • Committer: Bazaar Package Importer
  • Author(s): Sebastien Bacher
  • Date: 2007-09-17 16:38:13 UTC
  • mfrom: (1.1.16 upstream)
  • Revision ID: james.westby@ubuntu.com-20070917163813-sg2l3nt1q6s3lybq
Tags: 2.20.0-0ubuntu1
* New upstream version:
  - Add unit test for bug 427992.
  - Align configure switches
  - Updated translations

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
1
#! /bin/sh
2
2
# Guess values for system-dependent variables and create Makefiles.
3
 
# Generated by GNU Autoconf 2.61 for libbonobo 2.19.6.
 
3
# Generated by GNU Autoconf 2.61 for libbonobo 2.20.0.
4
4
#
5
5
# Report bugs to <http://bugzilla.gnome.org/enter_bug.cgi?product=bonobo&component=libbonobo>.
6
6
#
728
728
# Identity of this package.
729
729
PACKAGE_NAME='libbonobo'
730
730
PACKAGE_TARNAME='libbonobo'
731
 
PACKAGE_VERSION='2.19.6'
732
 
PACKAGE_STRING='libbonobo 2.19.6'
 
731
PACKAGE_VERSION='2.20.0'
 
732
PACKAGE_STRING='libbonobo 2.20.0'
733
733
PACKAGE_BUGREPORT='http://bugzilla.gnome.org/enter_bug.cgi?product=bonobo&component=libbonobo'
734
734
 
735
735
ac_unique_file="bonobo/bonobo-moniker.h"
872
872
GREP
873
873
EGREP
874
874
LN_S
 
875
SED
875
876
ECHO
876
877
AR
877
878
RANLIB
909
910
INTLTOOL_SCHEMAS_RULE
910
911
INTLTOOL_THEME_RULE
911
912
INTLTOOL_SERVICE_RULE
 
913
INTLTOOL_POLICY_RULE
912
914
INTLTOOL_EXTRACT
913
915
INTLTOOL_MERGE
914
916
INTLTOOL_UPDATE
915
917
INTLTOOL_PERL
916
 
INTLTOOL_ICONV
917
 
INTLTOOL_MSGFMT
918
 
INTLTOOL_MSGMERGE
919
 
INTLTOOL_XGETTEXT
920
918
ALL_LINGUAS
921
919
DATADIRNAME
922
920
GETTEXT_PACKAGE
1487
1485
  # Omit some internal or obsolete options to make the list less imposing.
1488
1486
  # This message is too long to be a string in the A/UX 3.1 sh.
1489
1487
  cat <<_ACEOF
1490
 
\`configure' configures libbonobo 2.19.6 to adapt to many kinds of systems.
 
1488
\`configure' configures libbonobo 2.20.0 to adapt to many kinds of systems.
1491
1489
 
1492
1490
Usage: $0 [OPTION]... [VAR=VALUE]...
1493
1491
 
1557
1555
 
1558
1556
if test -n "$ac_init_help"; then
1559
1557
  case $ac_init_help in
1560
 
     short | recursive ) echo "Configuration of libbonobo 2.19.6:";;
 
1558
     short | recursive ) echo "Configuration of libbonobo 2.20.0:";;
1561
1559
   esac
1562
1560
  cat <<\_ACEOF
1563
1561
 
1576
1574
  --enable-compile-warnings=[no/minimum/yes/maximum/error]
1577
1575
                          Turn on compiler warnings
1578
1576
  --enable-iso-c          Try to warn if code is not ISO C
1579
 
  --disable-threads   Disable multithread support default=enabled
1580
 
  --enable-gtk-doc        use gtk-doc to build documentation [default=no]
1581
 
  --enable-debug   Enable debugging code default=disabled
1582
 
 
1583
 
  --enable-bonobo-activation-debug=no/yes turn on debugging default=$bonobo_activation_debug_default
1584
 
 
 
1577
  --disable-threads       Disable multithread support [default=enabled]
 
1578
  --enable-gtk-doc        use gtk-doc to build documentation default=no
 
1579
  --enable-debug          Enable debugging code [default=disabled]
 
1580
  --enable-bonobo-activation-debug
 
1581
                          turn on debugging [default=no]
1585
1582
 
1586
1583
Optional Packages:
1587
1584
  --with-PACKAGE[=ARG]    use PACKAGE [ARG=yes]
1688
1685
test -n "$ac_init_help" && exit $ac_status
1689
1686
if $ac_init_version; then
1690
1687
  cat <<\_ACEOF
1691
 
libbonobo configure 2.19.6
 
1688
libbonobo configure 2.20.0
1692
1689
generated by GNU Autoconf 2.61
1693
1690
 
1694
1691
Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
1702
1699
This file contains any messages produced by compilers while
1703
1700
running configure, to aid debugging if configure makes a mistake.
1704
1701
 
1705
 
It was created by libbonobo $as_me 2.19.6, which was
 
1702
It was created by libbonobo $as_me 2.20.0, which was
1706
1703
generated by GNU Autoconf 2.61.  Invocation command line was
1707
1704
 
1708
1705
  $ $0 $@
2397
2394
 
2398
2395
# Define the identity of the package.
2399
2396
 PACKAGE='libbonobo'
2400
 
 VERSION='2.19.6'
 
2397
 VERSION='2.20.0'
2401
2398
 
2402
2399
 
2403
2400
cat >>confdefs.h <<_ACEOF
2545
2542
 
2546
2543
 
2547
2544
BONOBO_MAJOR_VERSION=2
2548
 
BONOBO_MINOR_VERSION=19
2549
 
BONOBO_MICRO_VERSION=6
 
2545
BONOBO_MINOR_VERSION=20
 
2546
BONOBO_MICRO_VERSION=0
2550
2547
 
2551
2548
 
2552
2549
 
5654
5651
  test -z "$as_dir" && as_dir=.
5655
5652
  for lt_ac_prog in sed gsed; do
5656
5653
    for ac_exec_ext in '' $ac_executable_extensions; do
5657
 
      if $as_executable_p "$as_dir/$lt_ac_prog$ac_exec_ext"; then
 
5654
      if { test -f "$as_dir/$lt_ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$lt_ac_prog$ac_exec_ext"; }; then
5658
5655
        lt_ac_sed_list="$lt_ac_sed_list $as_dir/$lt_ac_prog$ac_exec_ext"
5659
5656
      fi
5660
5657
    done
5661
5658
  done
5662
5659
done
 
5660
IFS=$as_save_IFS
5663
5661
lt_ac_max=0
5664
5662
lt_ac_count=0
5665
5663
# Add /usr/xpg4/bin/sed as it is typically found on Solaris
5694
5692
fi
5695
5693
 
5696
5694
SED=$lt_cv_path_SED
 
5695
 
5697
5696
{ echo "$as_me:$LINENO: result: $SED" >&5
5698
5697
echo "${ECHO_T}$SED" >&6; }
5699
5698
 
5882
5881
echo "${ECHO_T}$lt_cv_path_NM" >&6; }
5883
5882
NM="$lt_cv_path_NM"
5884
5883
 
5885
 
{ echo "$as_me:$LINENO: checking how to recognise dependent libraries" >&5
5886
 
echo $ECHO_N "checking how to recognise dependent libraries... $ECHO_C" >&6; }
 
5884
{ echo "$as_me:$LINENO: checking how to recognize dependent libraries" >&5
 
5885
echo $ECHO_N "checking how to recognize dependent libraries... $ECHO_C" >&6; }
5887
5886
if test "${lt_cv_deplibs_check_method+set}" = set; then
5888
5887
  echo $ECHO_N "(cached) $ECHO_C" >&6
5889
5888
else
5924
5923
 
5925
5924
mingw* | pw32*)
5926
5925
  # Base MSYS/MinGW do not provide the 'file' command needed by
5927
 
  # func_win32_libid shell function, so use a weaker test based on 'objdump'.
5928
 
  lt_cv_deplibs_check_method='file_magic file format pei*-i386(.*architecture: i386)?'
5929
 
  lt_cv_file_magic_cmd='$OBJDUMP -f'
 
5926
  # func_win32_libid shell function, so use a weaker test based on 'objdump',
 
5927
  # unless we find 'file', for example because we are cross-compiling.
 
5928
  if ( file / ) >/dev/null 2>&1; then
 
5929
    lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
 
5930
    lt_cv_file_magic_cmd='func_win32_libid'
 
5931
  else
 
5932
    lt_cv_deplibs_check_method='file_magic file format pei*-i386(.*architecture: i386)?'
 
5933
    lt_cv_file_magic_cmd='$OBJDUMP -f'
 
5934
  fi
5930
5935
  ;;
5931
5936
 
5932
5937
darwin* | rhapsody*)
5971
5976
  esac
5972
5977
  ;;
5973
5978
 
5974
 
interix3*)
 
5979
interix[3-9]*)
5975
5980
  # PIC code is broken on Interix 3.x, that's why |\.a not |_pic\.a here
5976
5981
  lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|\.a)$'
5977
5982
  ;;
5991
5996
  lt_cv_deplibs_check_method=pass_all
5992
5997
  ;;
5993
5998
 
5994
 
netbsd* | netbsdelf*-gnu)
 
5999
netbsd*)
5995
6000
  if echo __ELF__ | $CC -E - | grep __ELF__ > /dev/null; then
5996
6001
    lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
5997
6002
  else
6021
6026
  lt_cv_deplibs_check_method=pass_all
6022
6027
  ;;
6023
6028
 
 
6029
rdos*)
 
6030
  lt_cv_deplibs_check_method=pass_all
 
6031
  ;;
 
6032
 
6024
6033
solaris*)
6025
6034
  lt_cv_deplibs_check_method=pass_all
6026
6035
  ;;
6107
6116
  ;;
6108
6117
*-*-irix6*)
6109
6118
  # Find out which ABI we are using.
6110
 
  echo '#line 6110 "configure"' > conftest.$ac_ext
 
6119
  echo '#line 6119 "configure"' > conftest.$ac_ext
6111
6120
  if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6112
6121
  (eval $ac_compile) 2>&5
6113
6122
  ac_status=$?
6142
6151
  rm -rf conftest*
6143
6152
  ;;
6144
6153
 
6145
 
x86_64-*linux*|ppc*-*linux*|powerpc*-*linux*|s390*-*linux*|sparc*-*linux*)
 
6154
x86_64-*kfreebsd*-gnu|x86_64-*linux*|ppc*-*linux*|powerpc*-*linux*| \
 
6155
s390*-*linux*|sparc*-*linux*)
6146
6156
  # Find out which ABI we are using.
6147
6157
  echo 'int i;' > conftest.$ac_ext
6148
6158
  if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6153
6163
    case `/usr/bin/file conftest.o` in
6154
6164
    *32-bit*)
6155
6165
      case $host in
 
6166
        x86_64-*kfreebsd*-gnu)
 
6167
          LD="${LD-ld} -m elf_i386_fbsd"
 
6168
          ;;
6156
6169
        x86_64-*linux*)
6157
6170
          LD="${LD-ld} -m elf_i386"
6158
6171
          ;;
6168
6181
      esac
6169
6182
      ;;
6170
6183
    *64-bit*)
 
6184
      libsuff=64
6171
6185
      case $host in
 
6186
        x86_64-*kfreebsd*-gnu)
 
6187
          LD="${LD-ld} -m elf_x86_64_fbsd"
 
6188
          ;;
6172
6189
        x86_64-*linux*)
6173
6190
          LD="${LD-ld} -m elf_x86_64"
6174
6191
          ;;
7846
7863
    fi
7847
7864
    ;;
7848
7865
  *)
7849
 
    # If test is not a shell built-in, we'll probably end up computing a
7850
 
    # maximum length that is only half of the actual maximum length, but
7851
 
    # we can't tell.
7852
 
    SHELL=${SHELL-${CONFIG_SHELL-/bin/sh}}
7853
 
    while (test "X"`$SHELL $0 --fallback-echo "X$teststring" 2>/dev/null` \
 
7866
    lt_cv_sys_max_cmd_len=`(getconf ARG_MAX) 2> /dev/null`
 
7867
    if test -n "$lt_cv_sys_max_cmd_len"; then
 
7868
      lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
 
7869
      lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
 
7870
    else
 
7871
      SHELL=${SHELL-${CONFIG_SHELL-/bin/sh}}
 
7872
      while (test "X"`$SHELL $0 --fallback-echo "X$teststring" 2>/dev/null` \
7854
7873
               = "XX$teststring") >/dev/null 2>&1 &&
7855
 
            new_result=`expr "X$teststring" : ".*" 2>&1` &&
7856
 
            lt_cv_sys_max_cmd_len=$new_result &&
7857
 
            test $i != 17 # 1/2 MB should be enough
7858
 
    do
7859
 
      i=`expr $i + 1`
7860
 
      teststring=$teststring$teststring
7861
 
    done
7862
 
    teststring=
7863
 
    # Add a significant safety factor because C++ compilers can tack on massive
7864
 
    # amounts of additional arguments before passing them to the linker.
7865
 
    # It appears as though 1/2 is a usable value.
7866
 
    lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 2`
 
7874
              new_result=`expr "X$teststring" : ".*" 2>&1` &&
 
7875
              lt_cv_sys_max_cmd_len=$new_result &&
 
7876
              test $i != 17 # 1/2 MB should be enough
 
7877
      do
 
7878
        i=`expr $i + 1`
 
7879
        teststring=$teststring$teststring
 
7880
      done
 
7881
      teststring=
 
7882
      # Add a significant safety factor because C++ compilers can tack on massive
 
7883
      # amounts of additional arguments before passing them to the linker.
 
7884
      # It appears as though 1/2 is a usable value.
 
7885
      lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 2`
 
7886
    fi
7867
7887
    ;;
7868
7888
  esac
7869
7889
 
7880
7900
 
7881
7901
 
7882
7902
 
 
7903
 
7883
7904
# Check for command to grab the raw symbol name followed by C symbol from nm.
7884
7905
{ echo "$as_me:$LINENO: checking command to parse $NM output from $compiler object" >&5
7885
7906
echo $ECHO_N "checking command to parse $NM output from $compiler object... $ECHO_C" >&6; }
8468
8489
test -z "$ac_objext" && ac_objext=o
8469
8490
 
8470
8491
# Determine commands to create old-style static archives.
8471
 
old_archive_cmds='$AR $AR_FLAGS $oldlib$oldobjs$old_deplibs'
 
8492
old_archive_cmds='$AR $AR_FLAGS $oldlib$oldobjs'
8472
8493
old_postinstall_cmds='chmod 644 $oldlib'
8473
8494
old_postuninstall_cmds=
8474
8495
 
8668
8689
objext=$objext
8669
8690
 
8670
8691
# Code to be used in simple compile tests
8671
 
lt_simple_compile_test_code="int some_variable = 0;\n"
 
8692
lt_simple_compile_test_code="int some_variable = 0;"
8672
8693
 
8673
8694
# Code to be used in simple link tests
8674
 
lt_simple_link_test_code='int main(){return(0);}\n'
 
8695
lt_simple_link_test_code='int main(){return(0);}'
8675
8696
 
8676
8697
 
8677
8698
# If no C compiler was specified, use CC.
8686
8707
 
8687
8708
# save warnings/boilerplate of simple test code
8688
8709
ac_outfile=conftest.$ac_objext
8689
 
printf "$lt_simple_compile_test_code" >conftest.$ac_ext
 
8710
echo "$lt_simple_compile_test_code" >conftest.$ac_ext
8690
8711
eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
8691
8712
_lt_compiler_boilerplate=`cat conftest.err`
8692
8713
$rm conftest*
8693
8714
 
8694
8715
ac_outfile=conftest.$ac_objext
8695
 
printf "$lt_simple_link_test_code" >conftest.$ac_ext
 
8716
echo "$lt_simple_link_test_code" >conftest.$ac_ext
8696
8717
eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
8697
8718
_lt_linker_boilerplate=`cat conftest.err`
8698
8719
$rm conftest*
8712
8733
else
8713
8734
  lt_cv_prog_compiler_rtti_exceptions=no
8714
8735
  ac_outfile=conftest.$ac_objext
8715
 
   printf "$lt_simple_compile_test_code" > conftest.$ac_ext
 
8736
   echo "$lt_simple_compile_test_code" > conftest.$ac_ext
8716
8737
   lt_compiler_flag="-fno-rtti -fno-exceptions"
8717
8738
   # Insert the option either (1) after the last *FLAGS variable, or
8718
8739
   # (2) before a word containing "conftest.", or (3) at the end.
8723
8744
   -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8724
8745
   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8725
8746
   -e 's:$: $lt_compiler_flag:'`
8726
 
   (eval echo "\"\$as_me:8726: $lt_compile\"" >&5)
 
8747
   (eval echo "\"\$as_me:8747: $lt_compile\"" >&5)
8727
8748
   (eval "$lt_compile" 2>conftest.err)
8728
8749
   ac_status=$?
8729
8750
   cat conftest.err >&5
8730
 
   echo "$as_me:8730: \$? = $ac_status" >&5
 
8751
   echo "$as_me:8751: \$? = $ac_status" >&5
8731
8752
   if (exit $ac_status) && test -s "$ac_outfile"; then
8732
8753
     # The compiler can only warn and ignore the option if not recognized
8733
8754
     # So say no if there are warnings other than the usual output.
8778
8799
      lt_prog_compiler_pic='-m68020 -resident32 -malways-restore-a4'
8779
8800
      ;;
8780
8801
 
8781
 
    beos* | cygwin* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
 
8802
    beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
8782
8803
      # PIC is the default for these OSes.
8783
8804
      ;;
8784
8805
 
8785
 
    mingw* | pw32* | os2*)
 
8806
    mingw* | cygwin* | pw32* | os2*)
8786
8807
      # This hack is so that the source file can tell whether it is being
8787
8808
      # built for inclusion in a dll (and should export symbols for example).
 
8809
      # Although the cygwin gcc ignores -fPIC, still need this for old-style
 
8810
      # (--disable-auto-import) libraries
8788
8811
      lt_prog_compiler_pic='-DDLL_EXPORT'
8789
8812
      ;;
8790
8813
 
8794
8817
      lt_prog_compiler_pic='-fno-common'
8795
8818
      ;;
8796
8819
 
8797
 
    interix3*)
 
8820
    interix[3-9]*)
8798
8821
      # Interix 3.x gcc -fpic/-fPIC options generate broken code.
8799
8822
      # Instead, we relocate shared libraries at runtime.
8800
8823
      ;;
8852
8875
       esac
8853
8876
       ;;
8854
8877
 
8855
 
    mingw* | pw32* | os2*)
 
8878
    mingw* | cygwin* | pw32* | os2*)
8856
8879
      # This hack is so that the source file can tell whether it is being
8857
8880
      # built for inclusion in a dll (and should export symbols for example).
8858
8881
      lt_prog_compiler_pic='-DDLL_EXPORT'
8904
8927
        # All Alpha code is PIC.
8905
8928
        lt_prog_compiler_static='-non_shared'
8906
8929
        ;;
 
8930
      *)
 
8931
        case `$CC -V 2>&1 | sed 5q` in
 
8932
        *Sun\ C*)
 
8933
          # Sun C 5.9
 
8934
          lt_prog_compiler_pic='-KPIC'
 
8935
          lt_prog_compiler_static='-Bstatic'
 
8936
          lt_prog_compiler_wl='-Wl,'
 
8937
          ;;
 
8938
        *Sun\ F*)
 
8939
          # Sun Fortran 8.3 passes all unrecognized flags to the linker
 
8940
          lt_prog_compiler_pic='-KPIC'
 
8941
          lt_prog_compiler_static='-Bstatic'
 
8942
          lt_prog_compiler_wl=''
 
8943
          ;;
 
8944
        esac
 
8945
        ;;
8907
8946
      esac
8908
8947
      ;;
8909
8948
 
8913
8952
      lt_prog_compiler_static='-non_shared'
8914
8953
      ;;
8915
8954
 
 
8955
    rdos*)
 
8956
      lt_prog_compiler_static='-non_shared'
 
8957
      ;;
 
8958
 
8916
8959
    solaris*)
8917
8960
      lt_prog_compiler_pic='-KPIC'
8918
8961
      lt_prog_compiler_static='-Bstatic'
8980
9023
else
8981
9024
  lt_prog_compiler_pic_works=no
8982
9025
  ac_outfile=conftest.$ac_objext
8983
 
   printf "$lt_simple_compile_test_code" > conftest.$ac_ext
 
9026
   echo "$lt_simple_compile_test_code" > conftest.$ac_ext
8984
9027
   lt_compiler_flag="$lt_prog_compiler_pic -DPIC"
8985
9028
   # Insert the option either (1) after the last *FLAGS variable, or
8986
9029
   # (2) before a word containing "conftest.", or (3) at the end.
8991
9034
   -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8992
9035
   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8993
9036
   -e 's:$: $lt_compiler_flag:'`
8994
 
   (eval echo "\"\$as_me:8994: $lt_compile\"" >&5)
 
9037
   (eval echo "\"\$as_me:9037: $lt_compile\"" >&5)
8995
9038
   (eval "$lt_compile" 2>conftest.err)
8996
9039
   ac_status=$?
8997
9040
   cat conftest.err >&5
8998
 
   echo "$as_me:8998: \$? = $ac_status" >&5
 
9041
   echo "$as_me:9041: \$? = $ac_status" >&5
8999
9042
   if (exit $ac_status) && test -s "$ac_outfile"; then
9000
9043
     # The compiler can only warn and ignore the option if not recognized
9001
9044
     # So say no if there are warnings other than the usual output.
9044
9087
  lt_prog_compiler_static_works=no
9045
9088
   save_LDFLAGS="$LDFLAGS"
9046
9089
   LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
9047
 
   printf "$lt_simple_link_test_code" > conftest.$ac_ext
 
9090
   echo "$lt_simple_link_test_code" > conftest.$ac_ext
9048
9091
   if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
9049
9092
     # The linker can only warn and ignore the option if not recognized
9050
9093
     # So say no if there are warnings
9084
9127
   mkdir conftest
9085
9128
   cd conftest
9086
9129
   mkdir out
9087
 
   printf "$lt_simple_compile_test_code" > conftest.$ac_ext
 
9130
   echo "$lt_simple_compile_test_code" > conftest.$ac_ext
9088
9131
 
9089
9132
   lt_compiler_flag="-o out/conftest2.$ac_objext"
9090
9133
   # Insert the option either (1) after the last *FLAGS variable, or
9095
9138
   -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
9096
9139
   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
9097
9140
   -e 's:$: $lt_compiler_flag:'`
9098
 
   (eval echo "\"\$as_me:9098: $lt_compile\"" >&5)
 
9141
   (eval echo "\"\$as_me:9141: $lt_compile\"" >&5)
9099
9142
   (eval "$lt_compile" 2>out/conftest.err)
9100
9143
   ac_status=$?
9101
9144
   cat out/conftest.err >&5
9102
 
   echo "$as_me:9102: \$? = $ac_status" >&5
 
9145
   echo "$as_me:9145: \$? = $ac_status" >&5
9103
9146
   if (exit $ac_status) && test -s out/conftest2.$ac_objext
9104
9147
   then
9105
9148
     # The compiler can only warn and ignore the option if not recognized
9291
9334
      allow_undefined_flag=unsupported
9292
9335
      always_export_symbols=no
9293
9336
      enable_shared_with_static_runtimes=yes
9294
 
      export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS] /s/.* \([^ ]*\)/\1 DATA/'\'' | $SED -e '\''/^[AITW] /s/.* //'\'' | sort | uniq > $export_symbols'
 
9337
      export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1 DATA/'\'' -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols'
9295
9338
 
9296
9339
      if $LD --help 2>&1 | grep 'auto-import' > /dev/null; then
9297
9340
        archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
9309
9352
      fi
9310
9353
      ;;
9311
9354
 
9312
 
    interix3*)
 
9355
    interix[3-9]*)
9313
9356
      hardcode_direct=no
9314
9357
      hardcode_shlibpath_var=no
9315
9358
      hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
9324
9367
      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'
9325
9368
      ;;
9326
9369
 
9327
 
    linux* | k*bsd*-gnu)
 
9370
    gnu* | linux* | k*bsd*-gnu)
9328
9371
      if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
9329
9372
        tmp_addflag=
9330
9373
        case $cc_basename,$host_cpu in
9342
9385
        ifc* | ifort*)                  # Intel Fortran compiler
9343
9386
          tmp_addflag=' -nofor_main' ;;
9344
9387
        esac
9345
 
        archive_cmds='$CC -shared'"$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
 
9388
        case `$CC -V 2>&1 | sed 5q` in
 
9389
        *Sun\ C*)                       # Sun C 5.9
 
9390
          whole_archive_flag_spec='${wl}--whole-archive`new_convenience=; for conv in $convenience\"\"; do test -z \"$conv\" || new_convenience=\"$new_convenience,$conv\"; done; $echo \"$new_convenience\"` ${wl}--no-whole-archive'
 
9391
          tmp_sharedflag='-G' ;;
 
9392
        *Sun\ F*)                       # Sun Fortran 8.3
 
9393
          tmp_sharedflag='-G' ;;
 
9394
        *)
 
9395
          tmp_sharedflag='-shared' ;;
 
9396
        esac
 
9397
        archive_cmds='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9346
9398
 
9347
9399
        if test $supports_anon_versioning = yes; then
9348
9400
          archive_expsym_cmds='$echo "{ global:" > $output_objdir/$libname.ver~
9349
9401
  cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
9350
9402
  $echo "local: *; };" >> $output_objdir/$libname.ver~
9351
 
          $CC -shared'"$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
 
9403
          $CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
9352
9404
        fi
9353
 
        link_all_deplibs=no
9354
9405
      else
9355
9406
        ld_shlibs=no
9356
9407
      fi
9357
9408
      ;;
9358
9409
 
9359
 
    netbsd* | netbsdelf*-gnu)
 
9410
    netbsd*)
9360
9411
      if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
9361
9412
        archive_cmds='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
9362
9413
        wlarc=
9508
9559
           strings "$collect2name" | grep resolve_lib_name >/dev/null
9509
9560
          then
9510
9561
          # We have reworked collect2
9511
 
          hardcode_direct=yes
 
9562
          :
9512
9563
          else
9513
9564
          # We have old collect2
9514
9565
          hardcode_direct=unsupported
9582
9633
       } && test -s conftest$ac_exeext &&
9583
9634
       $as_test_x conftest$ac_exeext; then
9584
9635
 
9585
 
aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0  *\(.*\)$/\1/; p; }
9586
 
}'`
 
9636
lt_aix_libpath_sed='
 
9637
    /Import File Strings/,/^$/ {
 
9638
        /^0/ {
 
9639
            s/^0  *\(.*\)$/\1/
 
9640
            p
 
9641
        }
 
9642
    }'
 
9643
aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9587
9644
# Check for a 64-bit object if we didn't find anything.
9588
 
if test -z "$aix_libpath"; then aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0  *\(.*\)$/\1/; p; }
9589
 
}'`; fi
 
9645
if test -z "$aix_libpath"; then
 
9646
  aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
 
9647
fi
9590
9648
else
9591
9649
  echo "$as_me: failed program was:" >&5
9592
9650
sed 's/^/| /' conftest.$ac_ext >&5
9641
9699
       } && test -s conftest$ac_exeext &&
9642
9700
       $as_test_x conftest$ac_exeext; then
9643
9701
 
9644
 
aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0  *\(.*\)$/\1/; p; }
9645
 
}'`
 
9702
lt_aix_libpath_sed='
 
9703
    /Import File Strings/,/^$/ {
 
9704
        /^0/ {
 
9705
            s/^0  *\(.*\)$/\1/
 
9706
            p
 
9707
        }
 
9708
    }'
 
9709
aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9646
9710
# Check for a 64-bit object if we didn't find anything.
9647
 
if test -z "$aix_libpath"; then aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0  *\(.*\)$/\1/; p; }
9648
 
}'`; fi
 
9711
if test -z "$aix_libpath"; then
 
9712
  aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
 
9713
fi
9649
9714
else
9650
9715
  echo "$as_me: failed program was:" >&5
9651
9716
sed 's/^/| /' conftest.$ac_ext >&5
9699
9764
      # The linker will automatically build a .lib file if we build a DLL.
9700
9765
      old_archive_From_new_cmds='true'
9701
9766
      # FIXME: Should let the user specify the lib program.
9702
 
      old_archive_cmds='lib /OUT:$oldlib$oldobjs$old_deplibs'
 
9767
      old_archive_cmds='lib -OUT:$oldlib$oldobjs$old_deplibs'
9703
9768
      fix_srcfile_path='`cygpath -w "$srcfile"`'
9704
9769
      enable_shared_with_static_runtimes=yes
9705
9770
      ;;
9741
9806
      case $cc_basename in
9742
9807
        xlc*)
9743
9808
         output_verbose_link_cmd='echo'
9744
 
         archive_cmds='$CC -qmkshrobj $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-install_name ${wl}`echo $rpath/$soname` $verstring'
 
9809
         archive_cmds='$CC -qmkshrobj $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-install_name ${wl}`echo $rpath/$soname` $xlcverstring'
9745
9810
         module_cmds='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
9746
9811
          # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin lds
9747
 
         archive_expsym_cmds='sed -e "s,#.*,," -e "s,^[    ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC -qmkshrobj $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-install_name ${wl}$rpath/$soname $verstring~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
 
9812
         archive_expsym_cmds='sed -e "s,#.*,," -e "s,^[    ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC -qmkshrobj $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-install_name ${wl}$rpath/$soname $xlcverstring~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
9748
9813
          module_expsym_cmds='sed -e "s,#.*,," -e "s,^[    ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC $allow_undefined_flag  -o $lib -bundle $libobjs $deplibs$compiler_flags~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
9749
9814
          ;;
9750
9815
       *)
9886
9951
      link_all_deplibs=yes
9887
9952
      ;;
9888
9953
 
9889
 
    netbsd* | netbsdelf*-gnu)
 
9954
    netbsd*)
9890
9955
      if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
9891
9956
        archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'  # a.out
9892
9957
      else
9906
9971
      ;;
9907
9972
 
9908
9973
    openbsd*)
9909
 
      hardcode_direct=yes
9910
 
      hardcode_shlibpath_var=no
9911
 
      if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
9912
 
        archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
9913
 
        archive_expsym_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols'
9914
 
        hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
9915
 
        export_dynamic_flag_spec='${wl}-E'
 
9974
      if test -f /usr/libexec/ld.so; then
 
9975
        hardcode_direct=yes
 
9976
        hardcode_shlibpath_var=no
 
9977
        if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
 
9978
          archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
 
9979
          archive_expsym_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols'
 
9980
          hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
 
9981
          export_dynamic_flag_spec='${wl}-E'
 
9982
        else
 
9983
          case $host_os in
 
9984
           openbsd[01].* | openbsd2.[0-7] | openbsd2.[0-7].*)
 
9985
             archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
 
9986
             hardcode_libdir_flag_spec='-R$libdir'
 
9987
             ;;
 
9988
           *)
 
9989
             archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
 
9990
             hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
 
9991
             ;;
 
9992
          esac
 
9993
        fi
9916
9994
      else
9917
 
       case $host_os in
9918
 
         openbsd[01].* | openbsd2.[0-7] | openbsd2.[0-7].*)
9919
 
           archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
9920
 
           hardcode_libdir_flag_spec='-R$libdir'
9921
 
           ;;
9922
 
         *)
9923
 
           archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
9924
 
           hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
9925
 
           ;;
9926
 
       esac
 
9995
        ld_shlibs=no
9927
9996
      fi
9928
9997
      ;;
9929
9998
 
9982
10051
      case $host_os in
9983
10052
      solaris2.[0-5] | solaris2.[0-5].*) ;;
9984
10053
      *)
9985
 
        # The compiler driver will combine linker options so we
9986
 
        # cannot just pass the convience library names through
9987
 
        # without $wl, iff we do not link with $LD.
9988
 
        # Luckily, gcc supports the same syntax we need for Sun Studio.
 
10054
        # The compiler driver will combine and reorder linker options,
 
10055
        # but understands `-z linker_flag'.  GCC discards it without `$wl',
 
10056
        # but is careful enough not to reorder.
9989
10057
        # Supported since Solaris 2.6 (maybe 2.5.1?)
9990
 
        case $wlarc in
9991
 
        '')
9992
 
          whole_archive_flag_spec='-z allextract$convenience -z defaultextract' ;;
9993
 
        *)
9994
 
          whole_archive_flag_spec='${wl}-z ${wl}allextract`for conv in $convenience\"\"; do test -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; $echo \"$new_convenience\"` ${wl}-z ${wl}defaultextract' ;;
9995
 
        esac ;;
 
10058
        if test "$GCC" = yes; then
 
10059
          whole_archive_flag_spec='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
 
10060
        else
 
10061
          whole_archive_flag_spec='-z allextract$convenience -z defaultextract'
 
10062
        fi
 
10063
        ;;
9996
10064
      esac
9997
10065
      link_all_deplibs=yes
9998
10066
      ;;
10049
10117
      fi
10050
10118
      ;;
10051
10119
 
10052
 
    sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7*)
 
10120
    sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7* | sco3.2v5.0.[024]*)
10053
10121
      no_undefined_flag='${wl}-z,text'
10054
10122
      archive_cmds_need_lc=no
10055
10123
      hardcode_shlibpath_var=no
10126
10194
      { echo "$as_me:$LINENO: checking whether -lc should be explicitly linked in" >&5
10127
10195
echo $ECHO_N "checking whether -lc should be explicitly linked in... $ECHO_C" >&6; }
10128
10196
      $rm conftest*
10129
 
      printf "$lt_simple_compile_test_code" > conftest.$ac_ext
 
10197
      echo "$lt_simple_compile_test_code" > conftest.$ac_ext
10130
10198
 
10131
10199
      if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
10132
10200
  (eval $ac_compile) 2>&5
10184
10252
version_type=none
10185
10253
dynamic_linker="$host_os ld.so"
10186
10254
sys_lib_dlsearch_path_spec="/lib /usr/lib"
 
10255
 
10187
10256
if test "$GCC" = yes; then
10188
 
  sys_lib_search_path_spec=`$CC -print-search-dirs | grep "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
10189
 
  if echo "$sys_lib_search_path_spec" | grep ';' >/dev/null ; then
 
10257
  case $host_os in
 
10258
    darwin*) lt_awk_arg="/^libraries:/,/LR/" ;;
 
10259
    *) lt_awk_arg="/^libraries:/" ;;
 
10260
  esac
 
10261
  lt_search_path_spec=`$CC -print-search-dirs | awk $lt_awk_arg | $SED -e "s/^libraries://" -e "s,=/,/,g"`
 
10262
  if echo "$lt_search_path_spec" | grep ';' >/dev/null ; then
10190
10263
    # if the path contains ";" then we assume it to be the separator
10191
10264
    # otherwise default to the standard path separator (i.e. ":") - it is
10192
10265
    # assumed that no part of a normal pathname contains ";" but that should
10193
10266
    # okay in the real world where ";" in dirpaths is itself problematic.
10194
 
    sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
 
10267
    lt_search_path_spec=`echo "$lt_search_path_spec" | $SED -e 's/;/ /g'`
10195
10268
  else
10196
 
    sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED  -e "s/$PATH_SEPARATOR/ /g"`
 
10269
    lt_search_path_spec=`echo "$lt_search_path_spec" | $SED  -e "s/$PATH_SEPARATOR/ /g"`
10197
10270
  fi
 
10271
  # Ok, now we have the path, separated by spaces, we can step through it
 
10272
  # and add multilib dir if necessary.
 
10273
  lt_tmp_lt_search_path_spec=
 
10274
  lt_multi_os_dir=`$CC $CPPFLAGS $CFLAGS $LDFLAGS -print-multi-os-directory 2>/dev/null`
 
10275
  for lt_sys_path in $lt_search_path_spec; do
 
10276
    if test -d "$lt_sys_path/$lt_multi_os_dir"; then
 
10277
      lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path/$lt_multi_os_dir"
 
10278
    else
 
10279
      test -d "$lt_sys_path" && \
 
10280
        lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path"
 
10281
    fi
 
10282
  done
 
10283
  lt_search_path_spec=`echo $lt_tmp_lt_search_path_spec | awk '
 
10284
BEGIN {RS=" "; FS="/|\n";} {
 
10285
  lt_foo="";
 
10286
  lt_count=0;
 
10287
  for (lt_i = NF; lt_i > 0; lt_i--) {
 
10288
    if ($lt_i != "" && $lt_i != ".") {
 
10289
      if ($lt_i == "..") {
 
10290
        lt_count++;
 
10291
      } else {
 
10292
        if (lt_count == 0) {
 
10293
          lt_foo="/" $lt_i lt_foo;
 
10294
        } else {
 
10295
          lt_count--;
 
10296
        }
 
10297
      }
 
10298
    }
 
10299
  }
 
10300
  if (lt_foo != "") { lt_freq[lt_foo]++; }
 
10301
  if (lt_freq[lt_foo] == 1) { print lt_foo; }
 
10302
}'`
 
10303
  sys_lib_search_path_spec=`echo $lt_search_path_spec`
10198
10304
else
10199
10305
  sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"
10200
10306
fi
10354
10460
  shlibpath_overrides_runpath=yes
10355
10461
  shlibpath_var=DYLD_LIBRARY_PATH
10356
10462
  shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`'
10357
 
  # Apple's gcc prints 'gcc -print-search-dirs' doesn't operate the same.
10358
 
  if test "$GCC" = yes; then
10359
 
    sys_lib_search_path_spec=`$CC -print-search-dirs | tr "\n" "$PATH_SEPARATOR" | sed -e 's/libraries:/@libraries:/' | tr "@" "\n" | grep "^libraries:" | sed -e "s/^libraries://" -e "s,=/,/,g" -e "s,$PATH_SEPARATOR, ,g" -e "s,.*,& /lib /usr/lib /usr/local/lib,g"`
10360
 
  else
10361
 
    sys_lib_search_path_spec='/lib /usr/lib /usr/local/lib'
10362
 
  fi
 
10463
 
 
10464
  sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/local/lib"
10363
10465
  sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
10364
10466
  ;;
10365
10467
 
10413
10515
    shlibpath_overrides_runpath=no
10414
10516
    hardcode_into_libs=yes
10415
10517
    ;;
10416
 
  freebsd*) # from 4.6 on
 
10518
  *) # from 4.6 on, and DragonFly
10417
10519
    shlibpath_overrides_runpath=yes
10418
10520
    hardcode_into_libs=yes
10419
10521
    ;;
10476
10578
  postinstall_cmds='chmod 555 $lib'
10477
10579
  ;;
10478
10580
 
10479
 
interix3*)
 
10581
interix[3-9]*)
10480
10582
  version_type=linux
10481
10583
  need_lib_prefix=no
10482
10584
  need_version=no
10544
10646
  # Some rework will be needed to allow for fast_install
10545
10647
  # before this can be enabled.
10546
10648
  hardcode_into_libs=yes
 
10649
  sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
 
10650
  sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}"
10547
10651
 
10548
10652
  # Append ld.so.conf contents to the search path
10549
10653
  if test -f /etc/ld.so.conf; then
10550
 
    lt_ld_extra=`awk '/^include / { system(sprintf("cd /etc; cat %s", \$2)); skip = 1; } { if (!skip) print \$0; skip = 0; }' < /etc/ld.so.conf | $SED -e 's/#.*//;s/[:,        ]/ /g;s/=[^=]*$//;s/=[^= ]* / /g;/^$/d' | tr '\n' ' '`
10551
 
    sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra"
 
10654
    lt_ld_extra=`awk '/^include / { system(sprintf("cd /etc; cat %s 2>/dev/null", \$2)); skip = 1; } { if (!skip) print \$0; skip = 0; }' < /etc/ld.so.conf | $SED -e 's/#.*//;/^[      ]*hwcap[        ]/d;s/[:,       ]/ /g;s/=[^=]*$//;s/=[^= ]* / /g;/^$/d' | tr '\n' ' '`
 
10655
    sys_lib_dlsearch_path_spec="$sys_lib_dlsearch_path_spec $lt_ld_extra"
10552
10656
  fi
10553
10657
 
10554
10658
  # We used to test for /lib/ld.so.1 and disable shared libraries on
10560
10664
  dynamic_linker='GNU/Linux ld.so'
10561
10665
  ;;
10562
10666
 
10563
 
netbsdelf*-gnu)
10564
 
  version_type=linux
10565
 
  need_lib_prefix=no
10566
 
  need_version=no
10567
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
10568
 
  soname_spec='${libname}${release}${shared_ext}$major'
10569
 
  shlibpath_var=LD_LIBRARY_PATH
10570
 
  shlibpath_overrides_runpath=no
10571
 
  hardcode_into_libs=yes
10572
 
  dynamic_linker='NetBSD ld.elf_so'
10573
 
  ;;
10574
 
 
10575
10667
netbsd*)
10576
10668
  version_type=sunos
10577
10669
  need_lib_prefix=no
10653
10745
  sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec"
10654
10746
  ;;
10655
10747
 
 
10748
rdos*)
 
10749
  dynamic_linker=no
 
10750
  ;;
 
10751
 
10656
10752
solaris*)
10657
10753
  version_type=linux
10658
10754
  need_lib_prefix=no
10806
10902
   darwin*)
10807
10903
       if test -n "$STRIP" ; then
10808
10904
         striplib="$STRIP -x"
 
10905
         old_striplib="$STRIP -S"
10809
10906
         { echo "$as_me:$LINENO: result: yes" >&5
10810
10907
echo "${ECHO_T}yes" >&6; }
10811
10908
       else
11392
11489
  lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
11393
11490
  lt_status=$lt_dlunknown
11394
11491
  cat > conftest.$ac_ext <<EOF
11395
 
#line 11395 "configure"
 
11492
#line 11492 "configure"
11396
11493
#include "confdefs.h"
11397
11494
 
11398
11495
#if HAVE_DLFCN_H
11492
11589
  lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
11493
11590
  lt_status=$lt_dlunknown
11494
11591
  cat > conftest.$ac_ext <<EOF
11495
 
#line 11495 "configure"
 
11592
#line 11592 "configure"
11496
11593
#include "confdefs.h"
11497
11594
 
11498
11595
#if HAVE_DLFCN_H
11690
11787
    module_cmds \
11691
11788
    module_expsym_cmds \
11692
11789
    lt_cv_prog_compiler_c_o \
 
11790
    fix_srcfile_path \
11693
11791
    exclude_expsyms \
11694
11792
    include_expsyms; do
11695
11793
 
11734
11832
# Generated automatically by $PROGRAM (GNU $PACKAGE $VERSION$TIMESTAMP)
11735
11833
# NOTE: Changes made to this file will be lost: look at ltmain.sh.
11736
11834
#
11737
 
# Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001
 
11835
# Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004, 2005, 2006, 2007
11738
11836
# Free Software Foundation, Inc.
11739
11837
#
11740
11838
# This file is part of GNU Libtool:
12058
12156
sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
12059
12157
 
12060
12158
# Fix the shell variable \$srcfile for the compiler.
12061
 
fix_srcfile_path="$fix_srcfile_path"
 
12159
fix_srcfile_path=$lt_fix_srcfile_path
12062
12160
 
12063
12161
# Set to yes if exported symbols are required.
12064
12162
always_export_symbols=$always_export_symbols
12227
12325
objext_CXX=$objext
12228
12326
 
12229
12327
# Code to be used in simple compile tests
12230
 
lt_simple_compile_test_code="int some_variable = 0;\n"
 
12328
lt_simple_compile_test_code="int some_variable = 0;"
12231
12329
 
12232
12330
# Code to be used in simple link tests
12233
 
lt_simple_link_test_code='int main(int, char *[]) { return(0); }\n'
 
12331
lt_simple_link_test_code='int main(int, char *[]) { return(0); }'
12234
12332
 
12235
12333
# ltmain only uses $CC for tagged configurations so make sure $CC is set.
12236
12334
 
12246
12344
 
12247
12345
# save warnings/boilerplate of simple test code
12248
12346
ac_outfile=conftest.$ac_objext
12249
 
printf "$lt_simple_compile_test_code" >conftest.$ac_ext
 
12347
echo "$lt_simple_compile_test_code" >conftest.$ac_ext
12250
12348
eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
12251
12349
_lt_compiler_boilerplate=`cat conftest.err`
12252
12350
$rm conftest*
12253
12351
 
12254
12352
ac_outfile=conftest.$ac_objext
12255
 
printf "$lt_simple_link_test_code" >conftest.$ac_ext
 
12353
echo "$lt_simple_link_test_code" >conftest.$ac_ext
12256
12354
eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
12257
12355
_lt_linker_boilerplate=`cat conftest.err`
12258
12356
$rm conftest*
12511
12609
           strings "$collect2name" | grep resolve_lib_name >/dev/null
12512
12610
        then
12513
12611
          # We have reworked collect2
12514
 
          hardcode_direct_CXX=yes
 
12612
          :
12515
12613
        else
12516
12614
          # We have old collect2
12517
12615
          hardcode_direct_CXX=unsupported
12585
12683
       } && test -s conftest$ac_exeext &&
12586
12684
       $as_test_x conftest$ac_exeext; then
12587
12685
 
12588
 
aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0  *\(.*\)$/\1/; p; }
12589
 
}'`
 
12686
lt_aix_libpath_sed='
 
12687
    /Import File Strings/,/^$/ {
 
12688
        /^0/ {
 
12689
            s/^0  *\(.*\)$/\1/
 
12690
            p
 
12691
        }
 
12692
    }'
 
12693
aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
12590
12694
# Check for a 64-bit object if we didn't find anything.
12591
 
if test -z "$aix_libpath"; then aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0  *\(.*\)$/\1/; p; }
12592
 
}'`; fi
 
12695
if test -z "$aix_libpath"; then
 
12696
  aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
 
12697
fi
12593
12698
else
12594
12699
  echo "$as_me: failed program was:" >&5
12595
12700
sed 's/^/| /' conftest.$ac_ext >&5
12645
12750
       } && test -s conftest$ac_exeext &&
12646
12751
       $as_test_x conftest$ac_exeext; then
12647
12752
 
12648
 
aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0  *\(.*\)$/\1/; p; }
12649
 
}'`
 
12753
lt_aix_libpath_sed='
 
12754
    /Import File Strings/,/^$/ {
 
12755
        /^0/ {
 
12756
            s/^0  *\(.*\)$/\1/
 
12757
            p
 
12758
        }
 
12759
    }'
 
12760
aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
12650
12761
# Check for a 64-bit object if we didn't find anything.
12651
 
if test -z "$aix_libpath"; then aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0  *\(.*\)$/\1/; p; }
12652
 
}'`; fi
 
12762
if test -z "$aix_libpath"; then
 
12763
  aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
 
12764
fi
12653
12765
else
12654
12766
  echo "$as_me: failed program was:" >&5
12655
12767
sed 's/^/| /' conftest.$ac_ext >&5
12768
12880
      case $cc_basename in
12769
12881
        xlc*)
12770
12882
         output_verbose_link_cmd='echo'
12771
 
          archive_cmds_CXX='$CC -qmkshrobj ${wl}-single_module $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-install_name ${wl}`echo $rpath/$soname` $verstring'
 
12883
          archive_cmds_CXX='$CC -qmkshrobj ${wl}-single_module $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-install_name ${wl}`echo $rpath/$soname` $xlcverstring'
12772
12884
          module_cmds_CXX='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
12773
12885
          # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin lds
12774
 
          archive_expsym_cmds_CXX='sed -e "s,#.*,," -e "s,^[    ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC -qmkshrobj ${wl}-single_module $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-install_name ${wl}$rpath/$soname $verstring~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
 
12886
          archive_expsym_cmds_CXX='sed -e "s,#.*,," -e "s,^[    ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC -qmkshrobj ${wl}-single_module $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-install_name ${wl}$rpath/$soname $xlcverstring~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
12775
12887
          module_expsym_cmds_CXX='sed -e "s,#.*,," -e "s,^[    ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC $allow_undefined_flag  -o $lib -bundle $libobjs $deplibs$compiler_flags~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
12776
12888
          ;;
12777
12889
       *)
12854
12966
      hardcode_libdir_separator_CXX=:
12855
12967
 
12856
12968
      case $host_cpu in
12857
 
      hppa*64*|ia64*)
12858
 
        hardcode_libdir_flag_spec_ld_CXX='+b $libdir'
12859
 
        ;;
 
12969
      hppa*64*|ia64*) ;;
12860
12970
      *)
12861
12971
        export_dynamic_flag_spec_CXX='${wl}-E'
12862
12972
        ;;
12924
13034
        ;;
12925
13035
    esac
12926
13036
    ;;
12927
 
  interix3*)
 
13037
  interix[3-9]*)
12928
13038
    hardcode_direct_CXX=no
12929
13039
    hardcode_shlibpath_var_CXX=no
12930
13040
    hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
13044
13154
        # dependencies.
13045
13155
        output_verbose_link_cmd='templist=`$CC -shared $CFLAGS -v conftest.$objext 2>&1 | grep "ld"`; templist=`echo $templist | $SED "s/\(^.*ld.*\)\( .*ld .*$\)/\1/"`; list=""; for z in $templist; do case $z in conftest.$objext) list="$list $z";; *.$objext);; *) list="$list $z";;esac; done; echo $list'
13046
13156
        ;;
 
13157
      *)
 
13158
        case `$CC -V 2>&1 | sed 5q` in
 
13159
        *Sun\ C*)
 
13160
          # Sun C++ 5.9
 
13161
          no_undefined_flag_CXX=' -zdefs'
 
13162
          archive_cmds_CXX='$CC -G${allow_undefined_flag} -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
 
13163
          archive_expsym_cmds_CXX='$CC -G${allow_undefined_flag} -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-retain-symbols-file ${wl}$export_symbols'
 
13164
          hardcode_libdir_flag_spec_CXX='-R$libdir'
 
13165
          whole_archive_flag_spec_CXX='${wl}--whole-archive`new_convenience=; for conv in $convenience\"\"; do test -z \"$conv\" || new_convenience=\"$new_convenience,$conv\"; done; $echo \"$new_convenience\"` ${wl}--no-whole-archive'
 
13166
 
 
13167
          # Not sure whether something based on
 
13168
          # $CC $CFLAGS -v conftest.$objext -o libconftest$shared_ext 2>&1
 
13169
          # would be better.
 
13170
          output_verbose_link_cmd='echo'
 
13171
 
 
13172
          # Archives containing C++ object files must be created using
 
13173
          # "CC -xar", where "CC" is the Sun C++ compiler.  This is
 
13174
          # necessary to make sure instantiated templates are included
 
13175
          # in the archive.
 
13176
          old_archive_cmds_CXX='$CC -xar -o $oldlib $oldobjs'
 
13177
          ;;
 
13178
        esac
 
13179
        ;;
13047
13180
    esac
13048
13181
    ;;
13049
13182
  lynxos*)
13066
13199
        ;;
13067
13200
    esac
13068
13201
    ;;
13069
 
  netbsd* | netbsdelf*-gnu)
 
13202
  netbsd*)
13070
13203
    if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
13071
13204
      archive_cmds_CXX='$LD -Bshareable  -o $lib $predep_objects $libobjs $deplibs $postdep_objects $linker_flags'
13072
13205
      wlarc=
13082
13215
    ld_shlibs_CXX=no
13083
13216
    ;;
13084
13217
  openbsd*)
13085
 
    hardcode_direct_CXX=yes
13086
 
    hardcode_shlibpath_var_CXX=no
13087
 
    archive_cmds_CXX='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $lib'
13088
 
    hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
13089
 
    if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
13090
 
      archive_expsym_cmds_CXX='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-retain-symbols-file,$export_symbols -o $lib'
13091
 
      export_dynamic_flag_spec_CXX='${wl}-E'
13092
 
      whole_archive_flag_spec_CXX="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
 
13218
    if test -f /usr/libexec/ld.so; then
 
13219
      hardcode_direct_CXX=yes
 
13220
      hardcode_shlibpath_var_CXX=no
 
13221
      archive_cmds_CXX='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $lib'
 
13222
      hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
 
13223
      if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
 
13224
        archive_expsym_cmds_CXX='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-retain-symbols-file,$export_symbols -o $lib'
 
13225
        export_dynamic_flag_spec_CXX='${wl}-E'
 
13226
        whole_archive_flag_spec_CXX="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
 
13227
      fi
 
13228
      output_verbose_link_cmd='echo'
 
13229
    else
 
13230
      ld_shlibs_CXX=no
13093
13231
    fi
13094
 
    output_verbose_link_cmd='echo'
13095
13232
    ;;
13096
13233
  osf3*)
13097
13234
    case $cc_basename in
13253
13390
        case $host_os in
13254
13391
          solaris2.[0-5] | solaris2.[0-5].*) ;;
13255
13392
          *)
13256
 
            # The C++ compiler is used as linker so we must use $wl
13257
 
            # flag to pass the commands to the underlying system
13258
 
            # linker. We must also pass each convience library through
13259
 
            # to the system linker between allextract/defaultextract.
13260
 
            # The C++ compiler will combine linker options so we
13261
 
            # cannot just pass the convience library names through
13262
 
            # without $wl.
 
13393
            # The compiler driver will combine and reorder linker options,
 
13394
            # but understands `-z linker_flag'.
13263
13395
            # Supported since Solaris 2.6 (maybe 2.5.1?)
13264
 
            whole_archive_flag_spec_CXX='${wl}-z ${wl}allextract`for conv in $convenience\"\"; do test -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; $echo \"$new_convenience\"` ${wl}-z ${wl}defaultextract'
 
13396
            whole_archive_flag_spec_CXX='-z allextract$convenience -z defaultextract'
13265
13397
            ;;
13266
13398
        esac
13267
13399
        link_all_deplibs_CXX=yes
13308
13440
          fi
13309
13441
 
13310
13442
          hardcode_libdir_flag_spec_CXX='${wl}-R $wl$libdir'
 
13443
          case $host_os in
 
13444
          solaris2.[0-5] | solaris2.[0-5].*) ;;
 
13445
          *)
 
13446
            whole_archive_flag_spec_CXX='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
 
13447
            ;;
 
13448
          esac
13311
13449
        fi
13312
13450
        ;;
13313
13451
    esac
13499
13637
 
13500
13638
# PORTME: override above test on systems where it is broken
13501
13639
case $host_os in
13502
 
interix3*)
 
13640
interix[3-9]*)
13503
13641
  # Interix 3.5 installs completely hosed .la files for C++, so rather than
13504
13642
  # hack all around it, let's just trust "g++" to DTRT.
13505
13643
  predep_objects_CXX=
13507
13645
  postdeps_CXX=
13508
13646
  ;;
13509
13647
 
 
13648
linux*)
 
13649
  case `$CC -V 2>&1 | sed 5q` in
 
13650
  *Sun\ C*)
 
13651
    # Sun C++ 5.9
 
13652
    #
 
13653
    # The more standards-conforming stlport4 library is
 
13654
    # incompatible with the Cstd library. Avoid specifying
 
13655
    # it if it's in CXXFLAGS. Ignore libCrun as
 
13656
    # -library=stlport4 depends on it.
 
13657
    case " $CXX $CXXFLAGS " in
 
13658
    *" -library=stlport4 "*)
 
13659
      solaris_use_stlport4=yes
 
13660
      ;;
 
13661
    esac
 
13662
    if test "$solaris_use_stlport4" != yes; then
 
13663
      postdeps_CXX='-library=Cstd -library=Crun'
 
13664
    fi
 
13665
    ;;
 
13666
  esac
 
13667
  ;;
 
13668
 
13510
13669
solaris*)
13511
13670
  case $cc_basename in
13512
13671
  CC*)
 
13672
    # The more standards-conforming stlport4 library is
 
13673
    # incompatible with the Cstd library. Avoid specifying
 
13674
    # it if it's in CXXFLAGS. Ignore libCrun as
 
13675
    # -library=stlport4 depends on it.
 
13676
    case " $CXX $CXXFLAGS " in
 
13677
    *" -library=stlport4 "*)
 
13678
      solaris_use_stlport4=yes
 
13679
      ;;
 
13680
    esac
 
13681
 
13513
13682
    # Adding this requires a known-good setup of shared libraries for
13514
13683
    # Sun compiler versions before 5.6, else PIC objects from an old
13515
13684
    # archive will be linked into the output, leading to subtle bugs.
13516
 
    postdeps_CXX='-lCstd -lCrun'
 
13685
    if test "$solaris_use_stlport4" != yes; then
 
13686
      postdeps_CXX='-library=Cstd -library=Crun'
 
13687
    fi
13517
13688
    ;;
13518
13689
  esac
13519
13690
  ;;
13550
13721
      # like `-m68040'.
13551
13722
      lt_prog_compiler_pic_CXX='-m68020 -resident32 -malways-restore-a4'
13552
13723
      ;;
13553
 
    beos* | cygwin* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
 
13724
    beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
13554
13725
      # PIC is the default for these OSes.
13555
13726
      ;;
13556
 
    mingw* | os2* | pw32*)
 
13727
    mingw* | cygwin* | os2* | pw32*)
13557
13728
      # This hack is so that the source file can tell whether it is being
13558
13729
      # built for inclusion in a dll (and should export symbols for example).
 
13730
      # Although the cygwin gcc ignores -fPIC, still need this for old-style
 
13731
      # (--disable-auto-import) libraries
13559
13732
      lt_prog_compiler_pic_CXX='-DDLL_EXPORT'
13560
13733
      ;;
13561
13734
    darwin* | rhapsody*)
13567
13740
      # DJGPP does not support shared libraries at all
13568
13741
      lt_prog_compiler_pic_CXX=
13569
13742
      ;;
13570
 
    interix3*)
 
13743
    interix[3-9]*)
13571
13744
      # Interix 3.x gcc -fpic/-fPIC options generate broken code.
13572
13745
      # Instead, we relocate shared libraries at runtime.
13573
13746
      ;;
13703
13876
            lt_prog_compiler_static_CXX='-non_shared'
13704
13877
            ;;
13705
13878
          *)
 
13879
            case `$CC -V 2>&1 | sed 5q` in
 
13880
            *Sun\ C*)
 
13881
              # Sun C++ 5.9
 
13882
              lt_prog_compiler_pic_CXX='-KPIC'
 
13883
              lt_prog_compiler_static_CXX='-Bstatic'
 
13884
              lt_prog_compiler_wl_CXX='-Qoption ld '
 
13885
              ;;
 
13886
            esac
13706
13887
            ;;
13707
13888
        esac
13708
13889
        ;;
13719
13900
            ;;
13720
13901
        esac
13721
13902
        ;;
13722
 
      netbsd* | netbsdelf*-gnu)
 
13903
      netbsd*)
13723
13904
        ;;
13724
13905
      osf3* | osf4* | osf5*)
13725
13906
        case $cc_basename in
13817
13998
else
13818
13999
  lt_prog_compiler_pic_works_CXX=no
13819
14000
  ac_outfile=conftest.$ac_objext
13820
 
   printf "$lt_simple_compile_test_code" > conftest.$ac_ext
 
14001
   echo "$lt_simple_compile_test_code" > conftest.$ac_ext
13821
14002
   lt_compiler_flag="$lt_prog_compiler_pic_CXX -DPIC"
13822
14003
   # Insert the option either (1) after the last *FLAGS variable, or
13823
14004
   # (2) before a word containing "conftest.", or (3) at the end.
13828
14009
   -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
13829
14010
   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
13830
14011
   -e 's:$: $lt_compiler_flag:'`
13831
 
   (eval echo "\"\$as_me:13831: $lt_compile\"" >&5)
 
14012
   (eval echo "\"\$as_me:14012: $lt_compile\"" >&5)
13832
14013
   (eval "$lt_compile" 2>conftest.err)
13833
14014
   ac_status=$?
13834
14015
   cat conftest.err >&5
13835
 
   echo "$as_me:13835: \$? = $ac_status" >&5
 
14016
   echo "$as_me:14016: \$? = $ac_status" >&5
13836
14017
   if (exit $ac_status) && test -s "$ac_outfile"; then
13837
14018
     # The compiler can only warn and ignore the option if not recognized
13838
14019
     # So say no if there are warnings other than the usual output.
13881
14062
  lt_prog_compiler_static_works_CXX=no
13882
14063
   save_LDFLAGS="$LDFLAGS"
13883
14064
   LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
13884
 
   printf "$lt_simple_link_test_code" > conftest.$ac_ext
 
14065
   echo "$lt_simple_link_test_code" > conftest.$ac_ext
13885
14066
   if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
13886
14067
     # The linker can only warn and ignore the option if not recognized
13887
14068
     # So say no if there are warnings
13921
14102
   mkdir conftest
13922
14103
   cd conftest
13923
14104
   mkdir out
13924
 
   printf "$lt_simple_compile_test_code" > conftest.$ac_ext
 
14105
   echo "$lt_simple_compile_test_code" > conftest.$ac_ext
13925
14106
 
13926
14107
   lt_compiler_flag="-o out/conftest2.$ac_objext"
13927
14108
   # Insert the option either (1) after the last *FLAGS variable, or
13932
14113
   -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
13933
14114
   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
13934
14115
   -e 's:$: $lt_compiler_flag:'`
13935
 
   (eval echo "\"\$as_me:13935: $lt_compile\"" >&5)
 
14116
   (eval echo "\"\$as_me:14116: $lt_compile\"" >&5)
13936
14117
   (eval "$lt_compile" 2>out/conftest.err)
13937
14118
   ac_status=$?
13938
14119
   cat out/conftest.err >&5
13939
 
   echo "$as_me:13939: \$? = $ac_status" >&5
 
14120
   echo "$as_me:14120: \$? = $ac_status" >&5
13940
14121
   if (exit $ac_status) && test -s out/conftest2.$ac_objext
13941
14122
   then
13942
14123
     # The compiler can only warn and ignore the option if not recognized
14002
14183
    export_symbols_cmds_CXX="$ltdll_cmds"
14003
14184
  ;;
14004
14185
  cygwin* | mingw*)
14005
 
    export_symbols_cmds_CXX='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS] /s/.* \([^ ]*\)/\1 DATA/;/^.* __nm__/s/^.* __nm__\([^ ]*\) [^ ]*/\1 DATA/;/^I /d;/^[AITW] /s/.* //'\'' | sort | uniq > $export_symbols'
14006
 
  ;;
14007
 
  linux* | k*bsd*-gnu)
14008
 
    link_all_deplibs_CXX=no
 
14186
    export_symbols_cmds_CXX='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1 DATA/;/^.*[ ]__nm__/s/^.*[ ]__nm__\([^ ]*\)[ ][^ ]*/\1 DATA/;/^I[ ]/d;/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols'
14009
14187
  ;;
14010
14188
  *)
14011
14189
    export_symbols_cmds_CXX='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
14036
14214
      { echo "$as_me:$LINENO: checking whether -lc should be explicitly linked in" >&5
14037
14215
echo $ECHO_N "checking whether -lc should be explicitly linked in... $ECHO_C" >&6; }
14038
14216
      $rm conftest*
14039
 
      printf "$lt_simple_compile_test_code" > conftest.$ac_ext
 
14217
      echo "$lt_simple_compile_test_code" > conftest.$ac_ext
14040
14218
 
14041
14219
      if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14042
14220
  (eval $ac_compile) 2>&5
14094
14272
version_type=none
14095
14273
dynamic_linker="$host_os ld.so"
14096
14274
sys_lib_dlsearch_path_spec="/lib /usr/lib"
14097
 
if test "$GCC" = yes; then
14098
 
  sys_lib_search_path_spec=`$CC -print-search-dirs | grep "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
14099
 
  if echo "$sys_lib_search_path_spec" | grep ';' >/dev/null ; then
14100
 
    # if the path contains ";" then we assume it to be the separator
14101
 
    # otherwise default to the standard path separator (i.e. ":") - it is
14102
 
    # assumed that no part of a normal pathname contains ";" but that should
14103
 
    # okay in the real world where ";" in dirpaths is itself problematic.
14104
 
    sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
14105
 
  else
14106
 
    sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED  -e "s/$PATH_SEPARATOR/ /g"`
14107
 
  fi
14108
 
else
14109
 
  sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"
14110
 
fi
 
14275
 
14111
14276
need_lib_prefix=unknown
14112
14277
hardcode_into_libs=no
14113
14278
 
14264
14429
  shlibpath_overrides_runpath=yes
14265
14430
  shlibpath_var=DYLD_LIBRARY_PATH
14266
14431
  shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`'
14267
 
  # Apple's gcc prints 'gcc -print-search-dirs' doesn't operate the same.
14268
 
  if test "$GCC" = yes; then
14269
 
    sys_lib_search_path_spec=`$CC -print-search-dirs | tr "\n" "$PATH_SEPARATOR" | sed -e 's/libraries:/@libraries:/' | tr "@" "\n" | grep "^libraries:" | sed -e "s/^libraries://" -e "s,=/,/,g" -e "s,$PATH_SEPARATOR, ,g" -e "s,.*,& /lib /usr/lib /usr/local/lib,g"`
14270
 
  else
14271
 
    sys_lib_search_path_spec='/lib /usr/lib /usr/local/lib'
14272
 
  fi
 
14432
 
14273
14433
  sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
14274
14434
  ;;
14275
14435
 
14323
14483
    shlibpath_overrides_runpath=no
14324
14484
    hardcode_into_libs=yes
14325
14485
    ;;
14326
 
  freebsd*) # from 4.6 on
 
14486
  *) # from 4.6 on, and DragonFly
14327
14487
    shlibpath_overrides_runpath=yes
14328
14488
    hardcode_into_libs=yes
14329
14489
    ;;
14386
14546
  postinstall_cmds='chmod 555 $lib'
14387
14547
  ;;
14388
14548
 
14389
 
interix3*)
 
14549
interix[3-9]*)
14390
14550
  version_type=linux
14391
14551
  need_lib_prefix=no
14392
14552
  need_version=no
14454
14614
  # Some rework will be needed to allow for fast_install
14455
14615
  # before this can be enabled.
14456
14616
  hardcode_into_libs=yes
 
14617
  sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
 
14618
  sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}"
14457
14619
 
14458
14620
  # Append ld.so.conf contents to the search path
14459
14621
  if test -f /etc/ld.so.conf; then
14460
 
    lt_ld_extra=`awk '/^include / { system(sprintf("cd /etc; cat %s", \$2)); skip = 1; } { if (!skip) print \$0; skip = 0; }' < /etc/ld.so.conf | $SED -e 's/#.*//;s/[:,        ]/ /g;s/=[^=]*$//;s/=[^= ]* / /g;/^$/d' | tr '\n' ' '`
14461
 
    sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra"
 
14622
    lt_ld_extra=`awk '/^include / { system(sprintf("cd /etc; cat %s 2>/dev/null", \$2)); skip = 1; } { if (!skip) print \$0; skip = 0; }' < /etc/ld.so.conf | $SED -e 's/#.*//;/^[      ]*hwcap[        ]/d;s/[:,       ]/ /g;s/=[^=]*$//;s/=[^= ]* / /g;/^$/d' | tr '\n' ' '`
 
14623
    sys_lib_dlsearch_path_spec="$sys_lib_dlsearch_path_spec $lt_ld_extra"
14462
14624
  fi
14463
14625
 
14464
14626
  # We used to test for /lib/ld.so.1 and disable shared libraries on
14470
14632
  dynamic_linker='GNU/Linux ld.so'
14471
14633
  ;;
14472
14634
 
14473
 
netbsdelf*-gnu)
14474
 
  version_type=linux
14475
 
  need_lib_prefix=no
14476
 
  need_version=no
14477
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
14478
 
  soname_spec='${libname}${release}${shared_ext}$major'
14479
 
  shlibpath_var=LD_LIBRARY_PATH
14480
 
  shlibpath_overrides_runpath=no
14481
 
  hardcode_into_libs=yes
14482
 
  dynamic_linker='NetBSD ld.elf_so'
14483
 
  ;;
14484
 
 
14485
14635
netbsd*)
14486
14636
  version_type=sunos
14487
14637
  need_lib_prefix=no
14563
14713
  sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec"
14564
14714
  ;;
14565
14715
 
 
14716
rdos*)
 
14717
  dynamic_linker=no
 
14718
  ;;
 
14719
 
14566
14720
solaris*)
14567
14721
  version_type=linux
14568
14722
  need_lib_prefix=no
14757
14911
    module_cmds_CXX \
14758
14912
    module_expsym_cmds_CXX \
14759
14913
    lt_cv_prog_compiler_c_o_CXX \
 
14914
    fix_srcfile_path_CXX \
14760
14915
    exclude_expsyms_CXX \
14761
14916
    include_expsyms_CXX; do
14762
14917
 
15077
15232
sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
15078
15233
 
15079
15234
# Fix the shell variable \$srcfile for the compiler.
15080
 
fix_srcfile_path="$fix_srcfile_path_CXX"
 
15235
fix_srcfile_path=$lt_fix_srcfile_path
15081
15236
 
15082
15237
# Set to yes if exported symbols are required.
15083
15238
always_export_symbols=$always_export_symbols_CXX
15168
15323
objext_F77=$objext
15169
15324
 
15170
15325
# Code to be used in simple compile tests
15171
 
lt_simple_compile_test_code="      subroutine t\n      return\n      end\n"
 
15326
lt_simple_compile_test_code="\
 
15327
      subroutine t
 
15328
      return
 
15329
      end
 
15330
"
15172
15331
 
15173
15332
# Code to be used in simple link tests
15174
 
lt_simple_link_test_code="      program t\n      end\n"
 
15333
lt_simple_link_test_code="\
 
15334
      program t
 
15335
      end
 
15336
"
15175
15337
 
15176
15338
# ltmain only uses $CC for tagged configurations so make sure $CC is set.
15177
15339
 
15187
15349
 
15188
15350
# save warnings/boilerplate of simple test code
15189
15351
ac_outfile=conftest.$ac_objext
15190
 
printf "$lt_simple_compile_test_code" >conftest.$ac_ext
 
15352
echo "$lt_simple_compile_test_code" >conftest.$ac_ext
15191
15353
eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
15192
15354
_lt_compiler_boilerplate=`cat conftest.err`
15193
15355
$rm conftest*
15194
15356
 
15195
15357
ac_outfile=conftest.$ac_objext
15196
 
printf "$lt_simple_link_test_code" >conftest.$ac_ext
 
15358
echo "$lt_simple_link_test_code" >conftest.$ac_ext
15197
15359
eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
15198
15360
_lt_linker_boilerplate=`cat conftest.err`
15199
15361
$rm conftest*
15280
15442
      lt_prog_compiler_pic_F77='-m68020 -resident32 -malways-restore-a4'
15281
15443
      ;;
15282
15444
 
15283
 
    beos* | cygwin* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
 
15445
    beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
15284
15446
      # PIC is the default for these OSes.
15285
15447
      ;;
15286
15448
 
15287
 
    mingw* | pw32* | os2*)
 
15449
    mingw* | cygwin* | pw32* | os2*)
15288
15450
      # This hack is so that the source file can tell whether it is being
15289
15451
      # built for inclusion in a dll (and should export symbols for example).
 
15452
      # Although the cygwin gcc ignores -fPIC, still need this for old-style
 
15453
      # (--disable-auto-import) libraries
15290
15454
      lt_prog_compiler_pic_F77='-DDLL_EXPORT'
15291
15455
      ;;
15292
15456
 
15296
15460
      lt_prog_compiler_pic_F77='-fno-common'
15297
15461
      ;;
15298
15462
 
15299
 
    interix3*)
 
15463
    interix[3-9]*)
15300
15464
      # Interix 3.x gcc -fpic/-fPIC options generate broken code.
15301
15465
      # Instead, we relocate shared libraries at runtime.
15302
15466
      ;;
15354
15518
       esac
15355
15519
       ;;
15356
15520
 
15357
 
    mingw* | pw32* | os2*)
 
15521
    mingw* | cygwin* | pw32* | os2*)
15358
15522
      # This hack is so that the source file can tell whether it is being
15359
15523
      # built for inclusion in a dll (and should export symbols for example).
15360
15524
      lt_prog_compiler_pic_F77='-DDLL_EXPORT'
15406
15570
        # All Alpha code is PIC.
15407
15571
        lt_prog_compiler_static_F77='-non_shared'
15408
15572
        ;;
 
15573
      *)
 
15574
        case `$CC -V 2>&1 | sed 5q` in
 
15575
        *Sun\ C*)
 
15576
          # Sun C 5.9
 
15577
          lt_prog_compiler_pic_F77='-KPIC'
 
15578
          lt_prog_compiler_static_F77='-Bstatic'
 
15579
          lt_prog_compiler_wl_F77='-Wl,'
 
15580
          ;;
 
15581
        *Sun\ F*)
 
15582
          # Sun Fortran 8.3 passes all unrecognized flags to the linker
 
15583
          lt_prog_compiler_pic_F77='-KPIC'
 
15584
          lt_prog_compiler_static_F77='-Bstatic'
 
15585
          lt_prog_compiler_wl_F77=''
 
15586
          ;;
 
15587
        esac
 
15588
        ;;
15409
15589
      esac
15410
15590
      ;;
15411
15591
 
15415
15595
      lt_prog_compiler_static_F77='-non_shared'
15416
15596
      ;;
15417
15597
 
 
15598
    rdos*)
 
15599
      lt_prog_compiler_static_F77='-non_shared'
 
15600
      ;;
 
15601
 
15418
15602
    solaris*)
15419
15603
      lt_prog_compiler_pic_F77='-KPIC'
15420
15604
      lt_prog_compiler_static_F77='-Bstatic'
15482
15666
else
15483
15667
  lt_prog_compiler_pic_works_F77=no
15484
15668
  ac_outfile=conftest.$ac_objext
15485
 
   printf "$lt_simple_compile_test_code" > conftest.$ac_ext
 
15669
   echo "$lt_simple_compile_test_code" > conftest.$ac_ext
15486
15670
   lt_compiler_flag="$lt_prog_compiler_pic_F77"
15487
15671
   # Insert the option either (1) after the last *FLAGS variable, or
15488
15672
   # (2) before a word containing "conftest.", or (3) at the end.
15493
15677
   -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
15494
15678
   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
15495
15679
   -e 's:$: $lt_compiler_flag:'`
15496
 
   (eval echo "\"\$as_me:15496: $lt_compile\"" >&5)
 
15680
   (eval echo "\"\$as_me:15680: $lt_compile\"" >&5)
15497
15681
   (eval "$lt_compile" 2>conftest.err)
15498
15682
   ac_status=$?
15499
15683
   cat conftest.err >&5
15500
 
   echo "$as_me:15500: \$? = $ac_status" >&5
 
15684
   echo "$as_me:15684: \$? = $ac_status" >&5
15501
15685
   if (exit $ac_status) && test -s "$ac_outfile"; then
15502
15686
     # The compiler can only warn and ignore the option if not recognized
15503
15687
     # So say no if there are warnings other than the usual output.
15546
15730
  lt_prog_compiler_static_works_F77=no
15547
15731
   save_LDFLAGS="$LDFLAGS"
15548
15732
   LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
15549
 
   printf "$lt_simple_link_test_code" > conftest.$ac_ext
 
15733
   echo "$lt_simple_link_test_code" > conftest.$ac_ext
15550
15734
   if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
15551
15735
     # The linker can only warn and ignore the option if not recognized
15552
15736
     # So say no if there are warnings
15586
15770
   mkdir conftest
15587
15771
   cd conftest
15588
15772
   mkdir out
15589
 
   printf "$lt_simple_compile_test_code" > conftest.$ac_ext
 
15773
   echo "$lt_simple_compile_test_code" > conftest.$ac_ext
15590
15774
 
15591
15775
   lt_compiler_flag="-o out/conftest2.$ac_objext"
15592
15776
   # Insert the option either (1) after the last *FLAGS variable, or
15597
15781
   -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
15598
15782
   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
15599
15783
   -e 's:$: $lt_compiler_flag:'`
15600
 
   (eval echo "\"\$as_me:15600: $lt_compile\"" >&5)
 
15784
   (eval echo "\"\$as_me:15784: $lt_compile\"" >&5)
15601
15785
   (eval "$lt_compile" 2>out/conftest.err)
15602
15786
   ac_status=$?
15603
15787
   cat out/conftest.err >&5
15604
 
   echo "$as_me:15604: \$? = $ac_status" >&5
 
15788
   echo "$as_me:15788: \$? = $ac_status" >&5
15605
15789
   if (exit $ac_status) && test -s out/conftest2.$ac_objext
15606
15790
   then
15607
15791
     # The compiler can only warn and ignore the option if not recognized
15793
15977
      allow_undefined_flag_F77=unsupported
15794
15978
      always_export_symbols_F77=no
15795
15979
      enable_shared_with_static_runtimes_F77=yes
15796
 
      export_symbols_cmds_F77='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS] /s/.* \([^ ]*\)/\1 DATA/'\'' | $SED -e '\''/^[AITW] /s/.* //'\'' | sort | uniq > $export_symbols'
 
15980
      export_symbols_cmds_F77='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1 DATA/'\'' -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols'
15797
15981
 
15798
15982
      if $LD --help 2>&1 | grep 'auto-import' > /dev/null; then
15799
15983
        archive_cmds_F77='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
15811
15995
      fi
15812
15996
      ;;
15813
15997
 
15814
 
    interix3*)
 
15998
    interix[3-9]*)
15815
15999
      hardcode_direct_F77=no
15816
16000
      hardcode_shlibpath_var_F77=no
15817
16001
      hardcode_libdir_flag_spec_F77='${wl}-rpath,$libdir'
15826
16010
      archive_expsym_cmds_F77='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'
15827
16011
      ;;
15828
16012
 
15829
 
    linux* | k*bsd*-gnu)
 
16013
    gnu* | linux* | k*bsd*-gnu)
15830
16014
      if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
15831
16015
        tmp_addflag=
15832
16016
        case $cc_basename,$host_cpu in
15844
16028
        ifc* | ifort*)                  # Intel Fortran compiler
15845
16029
          tmp_addflag=' -nofor_main' ;;
15846
16030
        esac
15847
 
        archive_cmds_F77='$CC -shared'"$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
 
16031
        case `$CC -V 2>&1 | sed 5q` in
 
16032
        *Sun\ C*)                       # Sun C 5.9
 
16033
          whole_archive_flag_spec_F77='${wl}--whole-archive`new_convenience=; for conv in $convenience\"\"; do test -z \"$conv\" || new_convenience=\"$new_convenience,$conv\"; done; $echo \"$new_convenience\"` ${wl}--no-whole-archive'
 
16034
          tmp_sharedflag='-G' ;;
 
16035
        *Sun\ F*)                       # Sun Fortran 8.3
 
16036
          tmp_sharedflag='-G' ;;
 
16037
        *)
 
16038
          tmp_sharedflag='-shared' ;;
 
16039
        esac
 
16040
        archive_cmds_F77='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
15848
16041
 
15849
16042
        if test $supports_anon_versioning = yes; then
15850
16043
          archive_expsym_cmds_F77='$echo "{ global:" > $output_objdir/$libname.ver~
15851
16044
  cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
15852
16045
  $echo "local: *; };" >> $output_objdir/$libname.ver~
15853
 
          $CC -shared'"$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
 
16046
          $CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
15854
16047
        fi
15855
 
        link_all_deplibs_F77=no
15856
16048
      else
15857
16049
        ld_shlibs_F77=no
15858
16050
      fi
15859
16051
      ;;
15860
16052
 
15861
 
    netbsd* | netbsdelf*-gnu)
 
16053
    netbsd*)
15862
16054
      if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
15863
16055
        archive_cmds_F77='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
15864
16056
        wlarc=
16010
16202
           strings "$collect2name" | grep resolve_lib_name >/dev/null
16011
16203
          then
16012
16204
          # We have reworked collect2
16013
 
          hardcode_direct_F77=yes
 
16205
          :
16014
16206
          else
16015
16207
          # We have old collect2
16016
16208
          hardcode_direct_F77=unsupported
16074
16266
       } && test -s conftest$ac_exeext &&
16075
16267
       $as_test_x conftest$ac_exeext; then
16076
16268
 
16077
 
aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0  *\(.*\)$/\1/; p; }
16078
 
}'`
 
16269
lt_aix_libpath_sed='
 
16270
    /Import File Strings/,/^$/ {
 
16271
        /^0/ {
 
16272
            s/^0  *\(.*\)$/\1/
 
16273
            p
 
16274
        }
 
16275
    }'
 
16276
aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
16079
16277
# Check for a 64-bit object if we didn't find anything.
16080
 
if test -z "$aix_libpath"; then aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0  *\(.*\)$/\1/; p; }
16081
 
}'`; fi
 
16278
if test -z "$aix_libpath"; then
 
16279
  aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
 
16280
fi
16082
16281
else
16083
16282
  echo "$as_me: failed program was:" >&5
16084
16283
sed 's/^/| /' conftest.$ac_ext >&5
16123
16322
       } && test -s conftest$ac_exeext &&
16124
16323
       $as_test_x conftest$ac_exeext; then
16125
16324
 
16126
 
aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0  *\(.*\)$/\1/; p; }
16127
 
}'`
 
16325
lt_aix_libpath_sed='
 
16326
    /Import File Strings/,/^$/ {
 
16327
        /^0/ {
 
16328
            s/^0  *\(.*\)$/\1/
 
16329
            p
 
16330
        }
 
16331
    }'
 
16332
aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
16128
16333
# Check for a 64-bit object if we didn't find anything.
16129
 
if test -z "$aix_libpath"; then aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0  *\(.*\)$/\1/; p; }
16130
 
}'`; fi
 
16334
if test -z "$aix_libpath"; then
 
16335
  aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
 
16336
fi
16131
16337
else
16132
16338
  echo "$as_me: failed program was:" >&5
16133
16339
sed 's/^/| /' conftest.$ac_ext >&5
16181
16387
      # The linker will automatically build a .lib file if we build a DLL.
16182
16388
      old_archive_From_new_cmds_F77='true'
16183
16389
      # FIXME: Should let the user specify the lib program.
16184
 
      old_archive_cmds_F77='lib /OUT:$oldlib$oldobjs$old_deplibs'
 
16390
      old_archive_cmds_F77='lib -OUT:$oldlib$oldobjs$old_deplibs'
16185
16391
      fix_srcfile_path_F77='`cygpath -w "$srcfile"`'
16186
16392
      enable_shared_with_static_runtimes_F77=yes
16187
16393
      ;;
16223
16429
      case $cc_basename in
16224
16430
        xlc*)
16225
16431
         output_verbose_link_cmd='echo'
16226
 
         archive_cmds_F77='$CC -qmkshrobj $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-install_name ${wl}`echo $rpath/$soname` $verstring'
 
16432
         archive_cmds_F77='$CC -qmkshrobj $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-install_name ${wl}`echo $rpath/$soname` $xlcverstring'
16227
16433
         module_cmds_F77='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
16228
16434
          # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin lds
16229
 
         archive_expsym_cmds_F77='sed -e "s,#.*,," -e "s,^[    ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC -qmkshrobj $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-install_name ${wl}$rpath/$soname $verstring~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
 
16435
         archive_expsym_cmds_F77='sed -e "s,#.*,," -e "s,^[    ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC -qmkshrobj $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-install_name ${wl}$rpath/$soname $xlcverstring~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
16230
16436
          module_expsym_cmds_F77='sed -e "s,#.*,," -e "s,^[    ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC $allow_undefined_flag  -o $lib -bundle $libobjs $deplibs$compiler_flags~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
16231
16437
          ;;
16232
16438
       *)
16368
16574
      link_all_deplibs_F77=yes
16369
16575
      ;;
16370
16576
 
16371
 
    netbsd* | netbsdelf*-gnu)
 
16577
    netbsd*)
16372
16578
      if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
16373
16579
        archive_cmds_F77='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'  # a.out
16374
16580
      else
16388
16594
      ;;
16389
16595
 
16390
16596
    openbsd*)
16391
 
      hardcode_direct_F77=yes
16392
 
      hardcode_shlibpath_var_F77=no
16393
 
      if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
16394
 
        archive_cmds_F77='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
16395
 
        archive_expsym_cmds_F77='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols'
16396
 
        hardcode_libdir_flag_spec_F77='${wl}-rpath,$libdir'
16397
 
        export_dynamic_flag_spec_F77='${wl}-E'
 
16597
      if test -f /usr/libexec/ld.so; then
 
16598
        hardcode_direct_F77=yes
 
16599
        hardcode_shlibpath_var_F77=no
 
16600
        if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
 
16601
          archive_cmds_F77='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
 
16602
          archive_expsym_cmds_F77='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols'
 
16603
          hardcode_libdir_flag_spec_F77='${wl}-rpath,$libdir'
 
16604
          export_dynamic_flag_spec_F77='${wl}-E'
 
16605
        else
 
16606
          case $host_os in
 
16607
           openbsd[01].* | openbsd2.[0-7] | openbsd2.[0-7].*)
 
16608
             archive_cmds_F77='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
 
16609
             hardcode_libdir_flag_spec_F77='-R$libdir'
 
16610
             ;;
 
16611
           *)
 
16612
             archive_cmds_F77='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
 
16613
             hardcode_libdir_flag_spec_F77='${wl}-rpath,$libdir'
 
16614
             ;;
 
16615
          esac
 
16616
        fi
16398
16617
      else
16399
 
       case $host_os in
16400
 
         openbsd[01].* | openbsd2.[0-7] | openbsd2.[0-7].*)
16401
 
           archive_cmds_F77='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
16402
 
           hardcode_libdir_flag_spec_F77='-R$libdir'
16403
 
           ;;
16404
 
         *)
16405
 
           archive_cmds_F77='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
16406
 
           hardcode_libdir_flag_spec_F77='${wl}-rpath,$libdir'
16407
 
           ;;
16408
 
       esac
 
16618
        ld_shlibs_F77=no
16409
16619
      fi
16410
16620
      ;;
16411
16621
 
16464
16674
      case $host_os in
16465
16675
      solaris2.[0-5] | solaris2.[0-5].*) ;;
16466
16676
      *)
16467
 
        # The compiler driver will combine linker options so we
16468
 
        # cannot just pass the convience library names through
16469
 
        # without $wl, iff we do not link with $LD.
16470
 
        # Luckily, gcc supports the same syntax we need for Sun Studio.
 
16677
        # The compiler driver will combine and reorder linker options,
 
16678
        # but understands `-z linker_flag'.  GCC discards it without `$wl',
 
16679
        # but is careful enough not to reorder.
16471
16680
        # Supported since Solaris 2.6 (maybe 2.5.1?)
16472
 
        case $wlarc in
16473
 
        '')
16474
 
          whole_archive_flag_spec_F77='-z allextract$convenience -z defaultextract' ;;
16475
 
        *)
16476
 
          whole_archive_flag_spec_F77='${wl}-z ${wl}allextract`for conv in $convenience\"\"; do test -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; $echo \"$new_convenience\"` ${wl}-z ${wl}defaultextract' ;;
16477
 
        esac ;;
 
16681
        if test "$GCC" = yes; then
 
16682
          whole_archive_flag_spec_F77='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
 
16683
        else
 
16684
          whole_archive_flag_spec_F77='-z allextract$convenience -z defaultextract'
 
16685
        fi
 
16686
        ;;
16478
16687
      esac
16479
16688
      link_all_deplibs_F77=yes
16480
16689
      ;;
16531
16740
      fi
16532
16741
      ;;
16533
16742
 
16534
 
    sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7*)
 
16743
    sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7* | sco3.2v5.0.[024]*)
16535
16744
      no_undefined_flag_F77='${wl}-z,text'
16536
16745
      archive_cmds_need_lc_F77=no
16537
16746
      hardcode_shlibpath_var_F77=no
16608
16817
      { echo "$as_me:$LINENO: checking whether -lc should be explicitly linked in" >&5
16609
16818
echo $ECHO_N "checking whether -lc should be explicitly linked in... $ECHO_C" >&6; }
16610
16819
      $rm conftest*
16611
 
      printf "$lt_simple_compile_test_code" > conftest.$ac_ext
 
16820
      echo "$lt_simple_compile_test_code" > conftest.$ac_ext
16612
16821
 
16613
16822
      if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16614
16823
  (eval $ac_compile) 2>&5
16666
16875
version_type=none
16667
16876
dynamic_linker="$host_os ld.so"
16668
16877
sys_lib_dlsearch_path_spec="/lib /usr/lib"
16669
 
if test "$GCC" = yes; then
16670
 
  sys_lib_search_path_spec=`$CC -print-search-dirs | grep "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
16671
 
  if echo "$sys_lib_search_path_spec" | grep ';' >/dev/null ; then
16672
 
    # if the path contains ";" then we assume it to be the separator
16673
 
    # otherwise default to the standard path separator (i.e. ":") - it is
16674
 
    # assumed that no part of a normal pathname contains ";" but that should
16675
 
    # okay in the real world where ";" in dirpaths is itself problematic.
16676
 
    sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
16677
 
  else
16678
 
    sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED  -e "s/$PATH_SEPARATOR/ /g"`
16679
 
  fi
16680
 
else
16681
 
  sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"
16682
 
fi
 
16878
 
16683
16879
need_lib_prefix=unknown
16684
16880
hardcode_into_libs=no
16685
16881
 
16836
17032
  shlibpath_overrides_runpath=yes
16837
17033
  shlibpath_var=DYLD_LIBRARY_PATH
16838
17034
  shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`'
16839
 
  # Apple's gcc prints 'gcc -print-search-dirs' doesn't operate the same.
16840
 
  if test "$GCC" = yes; then
16841
 
    sys_lib_search_path_spec=`$CC -print-search-dirs | tr "\n" "$PATH_SEPARATOR" | sed -e 's/libraries:/@libraries:/' | tr "@" "\n" | grep "^libraries:" | sed -e "s/^libraries://" -e "s,=/,/,g" -e "s,$PATH_SEPARATOR, ,g" -e "s,.*,& /lib /usr/lib /usr/local/lib,g"`
16842
 
  else
16843
 
    sys_lib_search_path_spec='/lib /usr/lib /usr/local/lib'
16844
 
  fi
 
17035
 
16845
17036
  sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
16846
17037
  ;;
16847
17038
 
16895
17086
    shlibpath_overrides_runpath=no
16896
17087
    hardcode_into_libs=yes
16897
17088
    ;;
16898
 
  freebsd*) # from 4.6 on
 
17089
  *) # from 4.6 on, and DragonFly
16899
17090
    shlibpath_overrides_runpath=yes
16900
17091
    hardcode_into_libs=yes
16901
17092
    ;;
16958
17149
  postinstall_cmds='chmod 555 $lib'
16959
17150
  ;;
16960
17151
 
16961
 
interix3*)
 
17152
interix[3-9]*)
16962
17153
  version_type=linux
16963
17154
  need_lib_prefix=no
16964
17155
  need_version=no
17026
17217
  # Some rework will be needed to allow for fast_install
17027
17218
  # before this can be enabled.
17028
17219
  hardcode_into_libs=yes
 
17220
  sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
 
17221
  sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}"
17029
17222
 
17030
17223
  # Append ld.so.conf contents to the search path
17031
17224
  if test -f /etc/ld.so.conf; then
17032
 
    lt_ld_extra=`awk '/^include / { system(sprintf("cd /etc; cat %s", \$2)); skip = 1; } { if (!skip) print \$0; skip = 0; }' < /etc/ld.so.conf | $SED -e 's/#.*//;s/[:,        ]/ /g;s/=[^=]*$//;s/=[^= ]* / /g;/^$/d' | tr '\n' ' '`
17033
 
    sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra"
 
17225
    lt_ld_extra=`awk '/^include / { system(sprintf("cd /etc; cat %s 2>/dev/null", \$2)); skip = 1; } { if (!skip) print \$0; skip = 0; }' < /etc/ld.so.conf | $SED -e 's/#.*//;/^[      ]*hwcap[        ]/d;s/[:,       ]/ /g;s/=[^=]*$//;s/=[^= ]* / /g;/^$/d' | tr '\n' ' '`
 
17226
    sys_lib_dlsearch_path_spec="$sys_lib_dlsearch_path_spec $lt_ld_extra"
17034
17227
  fi
17035
17228
 
17036
17229
  # We used to test for /lib/ld.so.1 and disable shared libraries on
17042
17235
  dynamic_linker='GNU/Linux ld.so'
17043
17236
  ;;
17044
17237
 
17045
 
netbsdelf*-gnu)
17046
 
  version_type=linux
17047
 
  need_lib_prefix=no
17048
 
  need_version=no
17049
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
17050
 
  soname_spec='${libname}${release}${shared_ext}$major'
17051
 
  shlibpath_var=LD_LIBRARY_PATH
17052
 
  shlibpath_overrides_runpath=no
17053
 
  hardcode_into_libs=yes
17054
 
  dynamic_linker='NetBSD ld.elf_so'
17055
 
  ;;
17056
 
 
17057
17238
netbsd*)
17058
17239
  version_type=sunos
17059
17240
  need_lib_prefix=no
17135
17316
  sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec"
17136
17317
  ;;
17137
17318
 
 
17319
rdos*)
 
17320
  dynamic_linker=no
 
17321
  ;;
 
17322
 
17138
17323
solaris*)
17139
17324
  version_type=linux
17140
17325
  need_lib_prefix=no
17329
17514
    module_cmds_F77 \
17330
17515
    module_expsym_cmds_F77 \
17331
17516
    lt_cv_prog_compiler_c_o_F77 \
 
17517
    fix_srcfile_path_F77 \
17332
17518
    exclude_expsyms_F77 \
17333
17519
    include_expsyms_F77; do
17334
17520
 
17649
17835
sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
17650
17836
 
17651
17837
# Fix the shell variable \$srcfile for the compiler.
17652
 
fix_srcfile_path="$fix_srcfile_path_F77"
 
17838
fix_srcfile_path=$lt_fix_srcfile_path
17653
17839
 
17654
17840
# Set to yes if exported symbols are required.
17655
17841
always_export_symbols=$always_export_symbols_F77
17707
17893
objext_GCJ=$objext
17708
17894
 
17709
17895
# Code to be used in simple compile tests
17710
 
lt_simple_compile_test_code="class foo {}\n"
 
17896
lt_simple_compile_test_code="class foo {}"
17711
17897
 
17712
17898
# Code to be used in simple link tests
17713
 
lt_simple_link_test_code='public class conftest { public static void main(String[] argv) {}; }\n'
 
17899
lt_simple_link_test_code='public class conftest { public static void main(String[] argv) {}; }'
17714
17900
 
17715
17901
# ltmain only uses $CC for tagged configurations so make sure $CC is set.
17716
17902
 
17726
17912
 
17727
17913
# save warnings/boilerplate of simple test code
17728
17914
ac_outfile=conftest.$ac_objext
17729
 
printf "$lt_simple_compile_test_code" >conftest.$ac_ext
 
17915
echo "$lt_simple_compile_test_code" >conftest.$ac_ext
17730
17916
eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
17731
17917
_lt_compiler_boilerplate=`cat conftest.err`
17732
17918
$rm conftest*
17733
17919
 
17734
17920
ac_outfile=conftest.$ac_objext
17735
 
printf "$lt_simple_link_test_code" >conftest.$ac_ext
 
17921
echo "$lt_simple_link_test_code" >conftest.$ac_ext
17736
17922
eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
17737
17923
_lt_linker_boilerplate=`cat conftest.err`
17738
17924
$rm conftest*
17773
17959
else
17774
17960
  lt_cv_prog_compiler_rtti_exceptions=no
17775
17961
  ac_outfile=conftest.$ac_objext
17776
 
   printf "$lt_simple_compile_test_code" > conftest.$ac_ext
 
17962
   echo "$lt_simple_compile_test_code" > conftest.$ac_ext
17777
17963
   lt_compiler_flag="-fno-rtti -fno-exceptions"
17778
17964
   # Insert the option either (1) after the last *FLAGS variable, or
17779
17965
   # (2) before a word containing "conftest.", or (3) at the end.
17784
17970
   -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
17785
17971
   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
17786
17972
   -e 's:$: $lt_compiler_flag:'`
17787
 
   (eval echo "\"\$as_me:17787: $lt_compile\"" >&5)
 
17973
   (eval echo "\"\$as_me:17973: $lt_compile\"" >&5)
17788
17974
   (eval "$lt_compile" 2>conftest.err)
17789
17975
   ac_status=$?
17790
17976
   cat conftest.err >&5
17791
 
   echo "$as_me:17791: \$? = $ac_status" >&5
 
17977
   echo "$as_me:17977: \$? = $ac_status" >&5
17792
17978
   if (exit $ac_status) && test -s "$ac_outfile"; then
17793
17979
     # The compiler can only warn and ignore the option if not recognized
17794
17980
     # So say no if there are warnings other than the usual output.
17839
18025
      lt_prog_compiler_pic_GCJ='-m68020 -resident32 -malways-restore-a4'
17840
18026
      ;;
17841
18027
 
17842
 
    beos* | cygwin* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
 
18028
    beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
17843
18029
      # PIC is the default for these OSes.
17844
18030
      ;;
17845
18031
 
17846
 
    mingw* | pw32* | os2*)
 
18032
    mingw* | cygwin* | pw32* | os2*)
17847
18033
      # This hack is so that the source file can tell whether it is being
17848
18034
      # built for inclusion in a dll (and should export symbols for example).
 
18035
      # Although the cygwin gcc ignores -fPIC, still need this for old-style
 
18036
      # (--disable-auto-import) libraries
17849
18037
      lt_prog_compiler_pic_GCJ='-DDLL_EXPORT'
17850
18038
      ;;
17851
18039
 
17855
18043
      lt_prog_compiler_pic_GCJ='-fno-common'
17856
18044
      ;;
17857
18045
 
17858
 
    interix3*)
 
18046
    interix[3-9]*)
17859
18047
      # Interix 3.x gcc -fpic/-fPIC options generate broken code.
17860
18048
      # Instead, we relocate shared libraries at runtime.
17861
18049
      ;;
17913
18101
       esac
17914
18102
       ;;
17915
18103
 
17916
 
    mingw* | pw32* | os2*)
 
18104
    mingw* | cygwin* | pw32* | os2*)
17917
18105
      # This hack is so that the source file can tell whether it is being
17918
18106
      # built for inclusion in a dll (and should export symbols for example).
17919
18107
      lt_prog_compiler_pic_GCJ='-DDLL_EXPORT'
17965
18153
        # All Alpha code is PIC.
17966
18154
        lt_prog_compiler_static_GCJ='-non_shared'
17967
18155
        ;;
 
18156
      *)
 
18157
        case `$CC -V 2>&1 | sed 5q` in
 
18158
        *Sun\ C*)
 
18159
          # Sun C 5.9
 
18160
          lt_prog_compiler_pic_GCJ='-KPIC'
 
18161
          lt_prog_compiler_static_GCJ='-Bstatic'
 
18162
          lt_prog_compiler_wl_GCJ='-Wl,'
 
18163
          ;;
 
18164
        *Sun\ F*)
 
18165
          # Sun Fortran 8.3 passes all unrecognized flags to the linker
 
18166
          lt_prog_compiler_pic_GCJ='-KPIC'
 
18167
          lt_prog_compiler_static_GCJ='-Bstatic'
 
18168
          lt_prog_compiler_wl_GCJ=''
 
18169
          ;;
 
18170
        esac
 
18171
        ;;
17968
18172
      esac
17969
18173
      ;;
17970
18174
 
17974
18178
      lt_prog_compiler_static_GCJ='-non_shared'
17975
18179
      ;;
17976
18180
 
 
18181
    rdos*)
 
18182
      lt_prog_compiler_static_GCJ='-non_shared'
 
18183
      ;;
 
18184
 
17977
18185
    solaris*)
17978
18186
      lt_prog_compiler_pic_GCJ='-KPIC'
17979
18187
      lt_prog_compiler_static_GCJ='-Bstatic'
18041
18249
else
18042
18250
  lt_prog_compiler_pic_works_GCJ=no
18043
18251
  ac_outfile=conftest.$ac_objext
18044
 
   printf "$lt_simple_compile_test_code" > conftest.$ac_ext
 
18252
   echo "$lt_simple_compile_test_code" > conftest.$ac_ext
18045
18253
   lt_compiler_flag="$lt_prog_compiler_pic_GCJ"
18046
18254
   # Insert the option either (1) after the last *FLAGS variable, or
18047
18255
   # (2) before a word containing "conftest.", or (3) at the end.
18052
18260
   -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
18053
18261
   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
18054
18262
   -e 's:$: $lt_compiler_flag:'`
18055
 
   (eval echo "\"\$as_me:18055: $lt_compile\"" >&5)
 
18263
   (eval echo "\"\$as_me:18263: $lt_compile\"" >&5)
18056
18264
   (eval "$lt_compile" 2>conftest.err)
18057
18265
   ac_status=$?
18058
18266
   cat conftest.err >&5
18059
 
   echo "$as_me:18059: \$? = $ac_status" >&5
 
18267
   echo "$as_me:18267: \$? = $ac_status" >&5
18060
18268
   if (exit $ac_status) && test -s "$ac_outfile"; then
18061
18269
     # The compiler can only warn and ignore the option if not recognized
18062
18270
     # So say no if there are warnings other than the usual output.
18105
18313
  lt_prog_compiler_static_works_GCJ=no
18106
18314
   save_LDFLAGS="$LDFLAGS"
18107
18315
   LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
18108
 
   printf "$lt_simple_link_test_code" > conftest.$ac_ext
 
18316
   echo "$lt_simple_link_test_code" > conftest.$ac_ext
18109
18317
   if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
18110
18318
     # The linker can only warn and ignore the option if not recognized
18111
18319
     # So say no if there are warnings
18145
18353
   mkdir conftest
18146
18354
   cd conftest
18147
18355
   mkdir out
18148
 
   printf "$lt_simple_compile_test_code" > conftest.$ac_ext
 
18356
   echo "$lt_simple_compile_test_code" > conftest.$ac_ext
18149
18357
 
18150
18358
   lt_compiler_flag="-o out/conftest2.$ac_objext"
18151
18359
   # Insert the option either (1) after the last *FLAGS variable, or
18156
18364
   -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
18157
18365
   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
18158
18366
   -e 's:$: $lt_compiler_flag:'`
18159
 
   (eval echo "\"\$as_me:18159: $lt_compile\"" >&5)
 
18367
   (eval echo "\"\$as_me:18367: $lt_compile\"" >&5)
18160
18368
   (eval "$lt_compile" 2>out/conftest.err)
18161
18369
   ac_status=$?
18162
18370
   cat out/conftest.err >&5
18163
 
   echo "$as_me:18163: \$? = $ac_status" >&5
 
18371
   echo "$as_me:18371: \$? = $ac_status" >&5
18164
18372
   if (exit $ac_status) && test -s out/conftest2.$ac_objext
18165
18373
   then
18166
18374
     # The compiler can only warn and ignore the option if not recognized
18352
18560
      allow_undefined_flag_GCJ=unsupported
18353
18561
      always_export_symbols_GCJ=no
18354
18562
      enable_shared_with_static_runtimes_GCJ=yes
18355
 
      export_symbols_cmds_GCJ='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS] /s/.* \([^ ]*\)/\1 DATA/'\'' | $SED -e '\''/^[AITW] /s/.* //'\'' | sort | uniq > $export_symbols'
 
18563
      export_symbols_cmds_GCJ='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1 DATA/'\'' -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols'
18356
18564
 
18357
18565
      if $LD --help 2>&1 | grep 'auto-import' > /dev/null; then
18358
18566
        archive_cmds_GCJ='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
18370
18578
      fi
18371
18579
      ;;
18372
18580
 
18373
 
    interix3*)
 
18581
    interix[3-9]*)
18374
18582
      hardcode_direct_GCJ=no
18375
18583
      hardcode_shlibpath_var_GCJ=no
18376
18584
      hardcode_libdir_flag_spec_GCJ='${wl}-rpath,$libdir'
18385
18593
      archive_expsym_cmds_GCJ='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'
18386
18594
      ;;
18387
18595
 
18388
 
    linux* | k*bsd*-gnu)
 
18596
    gnu* | linux* | k*bsd*-gnu)
18389
18597
      if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
18390
18598
        tmp_addflag=
18391
18599
        case $cc_basename,$host_cpu in
18403
18611
        ifc* | ifort*)                  # Intel Fortran compiler
18404
18612
          tmp_addflag=' -nofor_main' ;;
18405
18613
        esac
18406
 
        archive_cmds_GCJ='$CC -shared'"$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
 
18614
        case `$CC -V 2>&1 | sed 5q` in
 
18615
        *Sun\ C*)                       # Sun C 5.9
 
18616
          whole_archive_flag_spec_GCJ='${wl}--whole-archive`new_convenience=; for conv in $convenience\"\"; do test -z \"$conv\" || new_convenience=\"$new_convenience,$conv\"; done; $echo \"$new_convenience\"` ${wl}--no-whole-archive'
 
18617
          tmp_sharedflag='-G' ;;
 
18618
        *Sun\ F*)                       # Sun Fortran 8.3
 
18619
          tmp_sharedflag='-G' ;;
 
18620
        *)
 
18621
          tmp_sharedflag='-shared' ;;
 
18622
        esac
 
18623
        archive_cmds_GCJ='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
18407
18624
 
18408
18625
        if test $supports_anon_versioning = yes; then
18409
18626
          archive_expsym_cmds_GCJ='$echo "{ global:" > $output_objdir/$libname.ver~
18410
18627
  cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
18411
18628
  $echo "local: *; };" >> $output_objdir/$libname.ver~
18412
 
          $CC -shared'"$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
 
18629
          $CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
18413
18630
        fi
18414
 
        link_all_deplibs_GCJ=no
18415
18631
      else
18416
18632
        ld_shlibs_GCJ=no
18417
18633
      fi
18418
18634
      ;;
18419
18635
 
18420
 
    netbsd* | netbsdelf*-gnu)
 
18636
    netbsd*)
18421
18637
      if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
18422
18638
        archive_cmds_GCJ='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
18423
18639
        wlarc=
18569
18785
           strings "$collect2name" | grep resolve_lib_name >/dev/null
18570
18786
          then
18571
18787
          # We have reworked collect2
18572
 
          hardcode_direct_GCJ=yes
 
18788
          :
18573
18789
          else
18574
18790
          # We have old collect2
18575
18791
          hardcode_direct_GCJ=unsupported
18643
18859
       } && test -s conftest$ac_exeext &&
18644
18860
       $as_test_x conftest$ac_exeext; then
18645
18861
 
18646
 
aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0  *\(.*\)$/\1/; p; }
18647
 
}'`
 
18862
lt_aix_libpath_sed='
 
18863
    /Import File Strings/,/^$/ {
 
18864
        /^0/ {
 
18865
            s/^0  *\(.*\)$/\1/
 
18866
            p
 
18867
        }
 
18868
    }'
 
18869
aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
18648
18870
# Check for a 64-bit object if we didn't find anything.
18649
 
if test -z "$aix_libpath"; then aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0  *\(.*\)$/\1/; p; }
18650
 
}'`; fi
 
18871
if test -z "$aix_libpath"; then
 
18872
  aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
 
18873
fi
18651
18874
else
18652
18875
  echo "$as_me: failed program was:" >&5
18653
18876
sed 's/^/| /' conftest.$ac_ext >&5
18702
18925
       } && test -s conftest$ac_exeext &&
18703
18926
       $as_test_x conftest$ac_exeext; then
18704
18927
 
18705
 
aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0  *\(.*\)$/\1/; p; }
18706
 
}'`
 
18928
lt_aix_libpath_sed='
 
18929
    /Import File Strings/,/^$/ {
 
18930
        /^0/ {
 
18931
            s/^0  *\(.*\)$/\1/
 
18932
            p
 
18933
        }
 
18934
    }'
 
18935
aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
18707
18936
# Check for a 64-bit object if we didn't find anything.
18708
 
if test -z "$aix_libpath"; then aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0  *\(.*\)$/\1/; p; }
18709
 
}'`; fi
 
18937
if test -z "$aix_libpath"; then
 
18938
  aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
 
18939
fi
18710
18940
else
18711
18941
  echo "$as_me: failed program was:" >&5
18712
18942
sed 's/^/| /' conftest.$ac_ext >&5
18760
18990
      # The linker will automatically build a .lib file if we build a DLL.
18761
18991
      old_archive_From_new_cmds_GCJ='true'
18762
18992
      # FIXME: Should let the user specify the lib program.
18763
 
      old_archive_cmds_GCJ='lib /OUT:$oldlib$oldobjs$old_deplibs'
 
18993
      old_archive_cmds_GCJ='lib -OUT:$oldlib$oldobjs$old_deplibs'
18764
18994
      fix_srcfile_path_GCJ='`cygpath -w "$srcfile"`'
18765
18995
      enable_shared_with_static_runtimes_GCJ=yes
18766
18996
      ;;
18802
19032
      case $cc_basename in
18803
19033
        xlc*)
18804
19034
         output_verbose_link_cmd='echo'
18805
 
         archive_cmds_GCJ='$CC -qmkshrobj $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-install_name ${wl}`echo $rpath/$soname` $verstring'
 
19035
         archive_cmds_GCJ='$CC -qmkshrobj $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-install_name ${wl}`echo $rpath/$soname` $xlcverstring'
18806
19036
         module_cmds_GCJ='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
18807
19037
          # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin lds
18808
 
         archive_expsym_cmds_GCJ='sed -e "s,#.*,," -e "s,^[    ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC -qmkshrobj $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-install_name ${wl}$rpath/$soname $verstring~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
 
19038
         archive_expsym_cmds_GCJ='sed -e "s,#.*,," -e "s,^[    ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC -qmkshrobj $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-install_name ${wl}$rpath/$soname $xlcverstring~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
18809
19039
          module_expsym_cmds_GCJ='sed -e "s,#.*,," -e "s,^[    ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC $allow_undefined_flag  -o $lib -bundle $libobjs $deplibs$compiler_flags~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
18810
19040
          ;;
18811
19041
       *)
18947
19177
      link_all_deplibs_GCJ=yes
18948
19178
      ;;
18949
19179
 
18950
 
    netbsd* | netbsdelf*-gnu)
 
19180
    netbsd*)
18951
19181
      if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
18952
19182
        archive_cmds_GCJ='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'  # a.out
18953
19183
      else
18967
19197
      ;;
18968
19198
 
18969
19199
    openbsd*)
18970
 
      hardcode_direct_GCJ=yes
18971
 
      hardcode_shlibpath_var_GCJ=no
18972
 
      if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
18973
 
        archive_cmds_GCJ='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
18974
 
        archive_expsym_cmds_GCJ='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols'
18975
 
        hardcode_libdir_flag_spec_GCJ='${wl}-rpath,$libdir'
18976
 
        export_dynamic_flag_spec_GCJ='${wl}-E'
 
19200
      if test -f /usr/libexec/ld.so; then
 
19201
        hardcode_direct_GCJ=yes
 
19202
        hardcode_shlibpath_var_GCJ=no
 
19203
        if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
 
19204
          archive_cmds_GCJ='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
 
19205
          archive_expsym_cmds_GCJ='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols'
 
19206
          hardcode_libdir_flag_spec_GCJ='${wl}-rpath,$libdir'
 
19207
          export_dynamic_flag_spec_GCJ='${wl}-E'
 
19208
        else
 
19209
          case $host_os in
 
19210
           openbsd[01].* | openbsd2.[0-7] | openbsd2.[0-7].*)
 
19211
             archive_cmds_GCJ='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
 
19212
             hardcode_libdir_flag_spec_GCJ='-R$libdir'
 
19213
             ;;
 
19214
           *)
 
19215
             archive_cmds_GCJ='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
 
19216
             hardcode_libdir_flag_spec_GCJ='${wl}-rpath,$libdir'
 
19217
             ;;
 
19218
          esac
 
19219
        fi
18977
19220
      else
18978
 
       case $host_os in
18979
 
         openbsd[01].* | openbsd2.[0-7] | openbsd2.[0-7].*)
18980
 
           archive_cmds_GCJ='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
18981
 
           hardcode_libdir_flag_spec_GCJ='-R$libdir'
18982
 
           ;;
18983
 
         *)
18984
 
           archive_cmds_GCJ='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
18985
 
           hardcode_libdir_flag_spec_GCJ='${wl}-rpath,$libdir'
18986
 
           ;;
18987
 
       esac
 
19221
        ld_shlibs_GCJ=no
18988
19222
      fi
18989
19223
      ;;
18990
19224
 
19043
19277
      case $host_os in
19044
19278
      solaris2.[0-5] | solaris2.[0-5].*) ;;
19045
19279
      *)
19046
 
        # The compiler driver will combine linker options so we
19047
 
        # cannot just pass the convience library names through
19048
 
        # without $wl, iff we do not link with $LD.
19049
 
        # Luckily, gcc supports the same syntax we need for Sun Studio.
 
19280
        # The compiler driver will combine and reorder linker options,
 
19281
        # but understands `-z linker_flag'.  GCC discards it without `$wl',
 
19282
        # but is careful enough not to reorder.
19050
19283
        # Supported since Solaris 2.6 (maybe 2.5.1?)
19051
 
        case $wlarc in
19052
 
        '')
19053
 
          whole_archive_flag_spec_GCJ='-z allextract$convenience -z defaultextract' ;;
19054
 
        *)
19055
 
          whole_archive_flag_spec_GCJ='${wl}-z ${wl}allextract`for conv in $convenience\"\"; do test -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; $echo \"$new_convenience\"` ${wl}-z ${wl}defaultextract' ;;
19056
 
        esac ;;
 
19284
        if test "$GCC" = yes; then
 
19285
          whole_archive_flag_spec_GCJ='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
 
19286
        else
 
19287
          whole_archive_flag_spec_GCJ='-z allextract$convenience -z defaultextract'
 
19288
        fi
 
19289
        ;;
19057
19290
      esac
19058
19291
      link_all_deplibs_GCJ=yes
19059
19292
      ;;
19110
19343
      fi
19111
19344
      ;;
19112
19345
 
19113
 
    sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7*)
 
19346
    sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7* | sco3.2v5.0.[024]*)
19114
19347
      no_undefined_flag_GCJ='${wl}-z,text'
19115
19348
      archive_cmds_need_lc_GCJ=no
19116
19349
      hardcode_shlibpath_var_GCJ=no
19187
19420
      { echo "$as_me:$LINENO: checking whether -lc should be explicitly linked in" >&5
19188
19421
echo $ECHO_N "checking whether -lc should be explicitly linked in... $ECHO_C" >&6; }
19189
19422
      $rm conftest*
19190
 
      printf "$lt_simple_compile_test_code" > conftest.$ac_ext
 
19423
      echo "$lt_simple_compile_test_code" > conftest.$ac_ext
19191
19424
 
19192
19425
      if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19193
19426
  (eval $ac_compile) 2>&5
19245
19478
version_type=none
19246
19479
dynamic_linker="$host_os ld.so"
19247
19480
sys_lib_dlsearch_path_spec="/lib /usr/lib"
19248
 
if test "$GCC" = yes; then
19249
 
  sys_lib_search_path_spec=`$CC -print-search-dirs | grep "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
19250
 
  if echo "$sys_lib_search_path_spec" | grep ';' >/dev/null ; then
19251
 
    # if the path contains ";" then we assume it to be the separator
19252
 
    # otherwise default to the standard path separator (i.e. ":") - it is
19253
 
    # assumed that no part of a normal pathname contains ";" but that should
19254
 
    # okay in the real world where ";" in dirpaths is itself problematic.
19255
 
    sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
19256
 
  else
19257
 
    sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED  -e "s/$PATH_SEPARATOR/ /g"`
19258
 
  fi
19259
 
else
19260
 
  sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"
19261
 
fi
 
19481
 
19262
19482
need_lib_prefix=unknown
19263
19483
hardcode_into_libs=no
19264
19484
 
19415
19635
  shlibpath_overrides_runpath=yes
19416
19636
  shlibpath_var=DYLD_LIBRARY_PATH
19417
19637
  shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`'
19418
 
  # Apple's gcc prints 'gcc -print-search-dirs' doesn't operate the same.
19419
 
  if test "$GCC" = yes; then
19420
 
    sys_lib_search_path_spec=`$CC -print-search-dirs | tr "\n" "$PATH_SEPARATOR" | sed -e 's/libraries:/@libraries:/' | tr "@" "\n" | grep "^libraries:" | sed -e "s/^libraries://" -e "s,=/,/,g" -e "s,$PATH_SEPARATOR, ,g" -e "s,.*,& /lib /usr/lib /usr/local/lib,g"`
19421
 
  else
19422
 
    sys_lib_search_path_spec='/lib /usr/lib /usr/local/lib'
19423
 
  fi
 
19638
 
19424
19639
  sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
19425
19640
  ;;
19426
19641
 
19474
19689
    shlibpath_overrides_runpath=no
19475
19690
    hardcode_into_libs=yes
19476
19691
    ;;
19477
 
  freebsd*) # from 4.6 on
 
19692
  *) # from 4.6 on, and DragonFly
19478
19693
    shlibpath_overrides_runpath=yes
19479
19694
    hardcode_into_libs=yes
19480
19695
    ;;
19537
19752
  postinstall_cmds='chmod 555 $lib'
19538
19753
  ;;
19539
19754
 
19540
 
interix3*)
 
19755
interix[3-9]*)
19541
19756
  version_type=linux
19542
19757
  need_lib_prefix=no
19543
19758
  need_version=no
19605
19820
  # Some rework will be needed to allow for fast_install
19606
19821
  # before this can be enabled.
19607
19822
  hardcode_into_libs=yes
 
19823
  sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
 
19824
  sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}"
19608
19825
 
19609
19826
  # Append ld.so.conf contents to the search path
19610
19827
  if test -f /etc/ld.so.conf; then
19611
 
    lt_ld_extra=`awk '/^include / { system(sprintf("cd /etc; cat %s", \$2)); skip = 1; } { if (!skip) print \$0; skip = 0; }' < /etc/ld.so.conf | $SED -e 's/#.*//;s/[:,        ]/ /g;s/=[^=]*$//;s/=[^= ]* / /g;/^$/d' | tr '\n' ' '`
19612
 
    sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra"
 
19828
    lt_ld_extra=`awk '/^include / { system(sprintf("cd /etc; cat %s 2>/dev/null", \$2)); skip = 1; } { if (!skip) print \$0; skip = 0; }' < /etc/ld.so.conf | $SED -e 's/#.*//;/^[      ]*hwcap[        ]/d;s/[:,       ]/ /g;s/=[^=]*$//;s/=[^= ]* / /g;/^$/d' | tr '\n' ' '`
 
19829
    sys_lib_dlsearch_path_spec="$sys_lib_dlsearch_path_spec $lt_ld_extra"
19613
19830
  fi
19614
19831
 
19615
19832
  # We used to test for /lib/ld.so.1 and disable shared libraries on
19621
19838
  dynamic_linker='GNU/Linux ld.so'
19622
19839
  ;;
19623
19840
 
19624
 
netbsdelf*-gnu)
19625
 
  version_type=linux
19626
 
  need_lib_prefix=no
19627
 
  need_version=no
19628
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
19629
 
  soname_spec='${libname}${release}${shared_ext}$major'
19630
 
  shlibpath_var=LD_LIBRARY_PATH
19631
 
  shlibpath_overrides_runpath=no
19632
 
  hardcode_into_libs=yes
19633
 
  dynamic_linker='NetBSD ld.elf_so'
19634
 
  ;;
19635
 
 
19636
19841
netbsd*)
19637
19842
  version_type=sunos
19638
19843
  need_lib_prefix=no
19714
19919
  sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec"
19715
19920
  ;;
19716
19921
 
 
19922
rdos*)
 
19923
  dynamic_linker=no
 
19924
  ;;
 
19925
 
19717
19926
solaris*)
19718
19927
  version_type=linux
19719
19928
  need_lib_prefix=no
19908
20117
    module_cmds_GCJ \
19909
20118
    module_expsym_cmds_GCJ \
19910
20119
    lt_cv_prog_compiler_c_o_GCJ \
 
20120
    fix_srcfile_path_GCJ \
19911
20121
    exclude_expsyms_GCJ \
19912
20122
    include_expsyms_GCJ; do
19913
20123
 
20228
20438
sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
20229
20439
 
20230
20440
# Fix the shell variable \$srcfile for the compiler.
20231
 
fix_srcfile_path="$fix_srcfile_path_GCJ"
 
20441
fix_srcfile_path=$lt_fix_srcfile_path
20232
20442
 
20233
20443
# Set to yes if exported symbols are required.
20234
20444
always_export_symbols=$always_export_symbols_GCJ
20285
20495
objext_RC=$objext
20286
20496
 
20287
20497
# Code to be used in simple compile tests
20288
 
lt_simple_compile_test_code='sample MENU { MENUITEM "&Soup", 100, CHECKED }\n'
 
20498
lt_simple_compile_test_code='sample MENU { MENUITEM "&Soup", 100, CHECKED }'
20289
20499
 
20290
20500
# Code to be used in simple link tests
20291
20501
lt_simple_link_test_code="$lt_simple_compile_test_code"
20304
20514
 
20305
20515
# save warnings/boilerplate of simple test code
20306
20516
ac_outfile=conftest.$ac_objext
20307
 
printf "$lt_simple_compile_test_code" >conftest.$ac_ext
 
20517
echo "$lt_simple_compile_test_code" >conftest.$ac_ext
20308
20518
eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
20309
20519
_lt_compiler_boilerplate=`cat conftest.err`
20310
20520
$rm conftest*
20311
20521
 
20312
20522
ac_outfile=conftest.$ac_objext
20313
 
printf "$lt_simple_link_test_code" >conftest.$ac_ext
 
20523
echo "$lt_simple_link_test_code" >conftest.$ac_ext
20314
20524
eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
20315
20525
_lt_linker_boilerplate=`cat conftest.err`
20316
20526
$rm conftest*
20388
20598
    module_cmds_RC \
20389
20599
    module_expsym_cmds_RC \
20390
20600
    lt_cv_prog_compiler_c_o_RC \
 
20601
    fix_srcfile_path_RC \
20391
20602
    exclude_expsyms_RC \
20392
20603
    include_expsyms_RC; do
20393
20604
 
20708
20919
sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
20709
20920
 
20710
20921
# Fix the shell variable \$srcfile for the compiler.
20711
 
fix_srcfile_path="$fix_srcfile_path_RC"
 
20922
fix_srcfile_path=$lt_fix_srcfile_path
20712
20923
 
20713
20924
# Set to yes if exported symbols are required.
20714
20925
always_export_symbols=$always_export_symbols_RC
20994
21205
  INTLTOOL_SCHEMAS_RULE='%.schemas:   %.schemas.in   $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; LC_ALL=C $(INTLTOOL_MERGE) -s -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@'
20995
21206
    INTLTOOL_THEME_RULE='%.theme:     %.theme.in     $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; LC_ALL=C $(INTLTOOL_MERGE) -d -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@'
20996
21207
    INTLTOOL_SERVICE_RULE='%.service: %.service.in   $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; LC_ALL=C $(INTLTOOL_MERGE) -d -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@'
 
21208
   INTLTOOL_POLICY_RULE='%.policy:    %.policy.in    $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; LC_ALL=C $(INTLTOOL_MERGE) -x -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@'
 
21209
 
20997
21210
 
20998
21211
 
20999
21212
 
21085
21298
   fi
21086
21299
fi
21087
21300
 
21088
 
# Extract the first word of "iconv", so it can be a program name with args.
21089
 
set dummy iconv; ac_word=$2
21090
 
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
21091
 
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
21092
 
if test "${ac_cv_path_INTLTOOL_ICONV+set}" = set; then
21093
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
21094
 
else
21095
 
  case $INTLTOOL_ICONV in
21096
 
  [\\/]* | ?:[\\/]*)
21097
 
  ac_cv_path_INTLTOOL_ICONV="$INTLTOOL_ICONV" # Let the user override the test with a path.
21098
 
  ;;
21099
 
  *)
21100
 
  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
21101
 
for as_dir in $PATH
21102
 
do
21103
 
  IFS=$as_save_IFS
21104
 
  test -z "$as_dir" && as_dir=.
21105
 
  for ac_exec_ext in '' $ac_executable_extensions; do
21106
 
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
21107
 
    ac_cv_path_INTLTOOL_ICONV="$as_dir/$ac_word$ac_exec_ext"
21108
 
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
21109
 
    break 2
21110
 
  fi
21111
 
done
21112
 
done
21113
 
IFS=$as_save_IFS
21114
 
 
21115
 
  test -z "$ac_cv_path_INTLTOOL_ICONV" && ac_cv_path_INTLTOOL_ICONV="iconv"
21116
 
  ;;
21117
 
esac
21118
 
fi
21119
 
INTLTOOL_ICONV=$ac_cv_path_INTLTOOL_ICONV
21120
 
if test -n "$INTLTOOL_ICONV"; then
21121
 
  { echo "$as_me:$LINENO: result: $INTLTOOL_ICONV" >&5
21122
 
echo "${ECHO_T}$INTLTOOL_ICONV" >&6; }
21123
 
else
21124
 
  { echo "$as_me:$LINENO: result: no" >&5
21125
 
echo "${ECHO_T}no" >&6; }
21126
 
fi
21127
 
 
21128
 
 
21129
 
# Extract the first word of "msgfmt", so it can be a program name with args.
21130
 
set dummy msgfmt; ac_word=$2
21131
 
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
21132
 
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
21133
 
if test "${ac_cv_path_INTLTOOL_MSGFMT+set}" = set; then
21134
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
21135
 
else
21136
 
  case $INTLTOOL_MSGFMT in
21137
 
  [\\/]* | ?:[\\/]*)
21138
 
  ac_cv_path_INTLTOOL_MSGFMT="$INTLTOOL_MSGFMT" # Let the user override the test with a path.
21139
 
  ;;
21140
 
  *)
21141
 
  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
21142
 
for as_dir in $PATH
21143
 
do
21144
 
  IFS=$as_save_IFS
21145
 
  test -z "$as_dir" && as_dir=.
21146
 
  for ac_exec_ext in '' $ac_executable_extensions; do
21147
 
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
21148
 
    ac_cv_path_INTLTOOL_MSGFMT="$as_dir/$ac_word$ac_exec_ext"
21149
 
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
21150
 
    break 2
21151
 
  fi
21152
 
done
21153
 
done
21154
 
IFS=$as_save_IFS
21155
 
 
21156
 
  test -z "$ac_cv_path_INTLTOOL_MSGFMT" && ac_cv_path_INTLTOOL_MSGFMT="msgfmt"
21157
 
  ;;
21158
 
esac
21159
 
fi
21160
 
INTLTOOL_MSGFMT=$ac_cv_path_INTLTOOL_MSGFMT
21161
 
if test -n "$INTLTOOL_MSGFMT"; then
21162
 
  { echo "$as_me:$LINENO: result: $INTLTOOL_MSGFMT" >&5
21163
 
echo "${ECHO_T}$INTLTOOL_MSGFMT" >&6; }
21164
 
else
21165
 
  { echo "$as_me:$LINENO: result: no" >&5
21166
 
echo "${ECHO_T}no" >&6; }
21167
 
fi
21168
 
 
21169
 
 
21170
 
# Extract the first word of "msgmerge", so it can be a program name with args.
21171
 
set dummy msgmerge; ac_word=$2
21172
 
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
21173
 
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
21174
 
if test "${ac_cv_path_INTLTOOL_MSGMERGE+set}" = set; then
21175
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
21176
 
else
21177
 
  case $INTLTOOL_MSGMERGE in
21178
 
  [\\/]* | ?:[\\/]*)
21179
 
  ac_cv_path_INTLTOOL_MSGMERGE="$INTLTOOL_MSGMERGE" # Let the user override the test with a path.
21180
 
  ;;
21181
 
  *)
21182
 
  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
21183
 
for as_dir in $PATH
21184
 
do
21185
 
  IFS=$as_save_IFS
21186
 
  test -z "$as_dir" && as_dir=.
21187
 
  for ac_exec_ext in '' $ac_executable_extensions; do
21188
 
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
21189
 
    ac_cv_path_INTLTOOL_MSGMERGE="$as_dir/$ac_word$ac_exec_ext"
21190
 
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
21191
 
    break 2
21192
 
  fi
21193
 
done
21194
 
done
21195
 
IFS=$as_save_IFS
21196
 
 
21197
 
  test -z "$ac_cv_path_INTLTOOL_MSGMERGE" && ac_cv_path_INTLTOOL_MSGMERGE="msgmerge"
21198
 
  ;;
21199
 
esac
21200
 
fi
21201
 
INTLTOOL_MSGMERGE=$ac_cv_path_INTLTOOL_MSGMERGE
21202
 
if test -n "$INTLTOOL_MSGMERGE"; then
21203
 
  { echo "$as_me:$LINENO: result: $INTLTOOL_MSGMERGE" >&5
21204
 
echo "${ECHO_T}$INTLTOOL_MSGMERGE" >&6; }
21205
 
else
21206
 
  { echo "$as_me:$LINENO: result: no" >&5
21207
 
echo "${ECHO_T}no" >&6; }
21208
 
fi
21209
 
 
21210
 
 
21211
 
# Extract the first word of "xgettext", so it can be a program name with args.
21212
 
set dummy xgettext; ac_word=$2
21213
 
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
21214
 
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
21215
 
if test "${ac_cv_path_INTLTOOL_XGETTEXT+set}" = set; then
21216
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
21217
 
else
21218
 
  case $INTLTOOL_XGETTEXT in
21219
 
  [\\/]* | ?:[\\/]*)
21220
 
  ac_cv_path_INTLTOOL_XGETTEXT="$INTLTOOL_XGETTEXT" # Let the user override the test with a path.
21221
 
  ;;
21222
 
  *)
21223
 
  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
21224
 
for as_dir in $PATH
21225
 
do
21226
 
  IFS=$as_save_IFS
21227
 
  test -z "$as_dir" && as_dir=.
21228
 
  for ac_exec_ext in '' $ac_executable_extensions; do
21229
 
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
21230
 
    ac_cv_path_INTLTOOL_XGETTEXT="$as_dir/$ac_word$ac_exec_ext"
21231
 
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
21232
 
    break 2
21233
 
  fi
21234
 
done
21235
 
done
21236
 
IFS=$as_save_IFS
21237
 
 
21238
 
  test -z "$ac_cv_path_INTLTOOL_XGETTEXT" && ac_cv_path_INTLTOOL_XGETTEXT="xgettext"
21239
 
  ;;
21240
 
esac
21241
 
fi
21242
 
INTLTOOL_XGETTEXT=$ac_cv_path_INTLTOOL_XGETTEXT
21243
 
if test -n "$INTLTOOL_XGETTEXT"; then
21244
 
  { echo "$as_me:$LINENO: result: $INTLTOOL_XGETTEXT" >&5
21245
 
echo "${ECHO_T}$INTLTOOL_XGETTEXT" >&6; }
21246
 
else
21247
 
  { echo "$as_me:$LINENO: result: no" >&5
21248
 
echo "${ECHO_T}no" >&6; }
21249
 
fi
21250
 
 
21251
 
 
21252
 
 
21253
21301
# Substitute ALL_LINGUAS so we can use it in po/Makefile
21254
21302
 
21255
21303
 
24117
24165
  enable_threads=yes
24118
24166
fi
24119
24167
 
 
24168
 
24120
24169
if test x$enable_threads != xno; then
24121
24170
  { echo "$as_me:$LINENO: checking for working gthread-2.0 support" >&5
24122
24171
echo $ECHO_N "checking for working gthread-2.0 support... $ECHO_C" >&6; }
24593
24642
 
24594
24643
fi
24595
24644
 
24596
 
bonobo_activation_debug_default=no;
24597
 
 
24598
24645
# Check whether --enable-bonobo-activation-debug was given.
24599
24646
if test "${enable_bonobo_activation_debug+set}" = set; then
24600
24647
  enableval=$enable_bonobo_activation_debug; enable_bonobo_activation_debug=$enableval
24601
24648
else
24602
 
  enable_bonobo_activation_debug=$debug_default
 
24649
  enable_bonobo_activation_debug=no
24603
24650
fi
24604
24651
 
24605
24652
 
25195
25242
# report actual input values of CONFIG_FILES etc. instead of their
25196
25243
# values after options handling.
25197
25244
ac_log="
25198
 
This file was extended by libbonobo $as_me 2.19.6, which was
 
25245
This file was extended by libbonobo $as_me 2.20.0, which was
25199
25246
generated by GNU Autoconf 2.61.  Invocation command line was
25200
25247
 
25201
25248
  CONFIG_FILES    = $CONFIG_FILES
25248
25295
_ACEOF
25249
25296
cat >>$CONFIG_STATUS <<_ACEOF
25250
25297
ac_cs_version="\\
25251
 
libbonobo config.status 2.19.6
 
25298
libbonobo config.status 2.20.0
25252
25299
configured by $0, generated by GNU Autoconf 2.61,
25253
25300
  with options \\"`echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`\\"
25254
25301
 
25355
25402
AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
25356
25403
INTLTOOL_PERL='${INTLTOOL_PERL}' ac_aux_dir='${ac_aux_dir}'
25357
25404
prefix="$prefix" exec_prefix="$exec_prefix" INTLTOOL_LIBDIR="$libdir"
25358
 
INTLTOOL_EXTRACT='${INTLTOOL_EXTRACT}' INTLTOOL_ICONV='${INTLTOOL_ICONV}'
25359
 
INTLTOOL_MSGFMT='${INTLTOOL_MSGFMT}' INTLTOOL_MSGMERGE='${INTLTOOL_MSGMERGE}'
25360
 
INTLTOOL_XGETTEXT='${INTLTOOL_XGETTEXT}'
 
25405
INTLTOOL_EXTRACT='${INTLTOOL_EXTRACT}'
25361
25406
 
25362
25407
 
25363
25408
_ACEOF
25604
25649
GREP!$GREP$ac_delim
25605
25650
EGREP!$EGREP$ac_delim
25606
25651
LN_S!$LN_S$ac_delim
 
25652
SED!$SED$ac_delim
25607
25653
ECHO!$ECHO$ac_delim
25608
25654
AR!$AR$ac_delim
25609
25655
RANLIB!$RANLIB$ac_delim
25641
25687
INTLTOOL_SCHEMAS_RULE!$INTLTOOL_SCHEMAS_RULE$ac_delim
25642
25688
INTLTOOL_THEME_RULE!$INTLTOOL_THEME_RULE$ac_delim
25643
25689
INTLTOOL_SERVICE_RULE!$INTLTOOL_SERVICE_RULE$ac_delim
 
25690
INTLTOOL_POLICY_RULE!$INTLTOOL_POLICY_RULE$ac_delim
25644
25691
INTLTOOL_EXTRACT!$INTLTOOL_EXTRACT$ac_delim
25645
25692
INTLTOOL_MERGE!$INTLTOOL_MERGE$ac_delim
25646
25693
INTLTOOL_UPDATE!$INTLTOOL_UPDATE$ac_delim
25647
25694
INTLTOOL_PERL!$INTLTOOL_PERL$ac_delim
25648
 
INTLTOOL_ICONV!$INTLTOOL_ICONV$ac_delim
25649
 
INTLTOOL_MSGFMT!$INTLTOOL_MSGFMT$ac_delim
25650
 
INTLTOOL_MSGMERGE!$INTLTOOL_MSGMERGE$ac_delim
25651
 
INTLTOOL_XGETTEXT!$INTLTOOL_XGETTEXT$ac_delim
25652
25695
ALL_LINGUAS!$ALL_LINGUAS$ac_delim
25653
25696
DATADIRNAME!$DATADIRNAME$ac_delim
25654
25697
GETTEXT_PACKAGE!$GETTEXT_PACKAGE$ac_delim
25694
25737
LTLIBOBJS!$LTLIBOBJS$ac_delim
25695
25738
_ACEOF
25696
25739
 
25697
 
  if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 94; then
 
25740
  if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 92; then
25698
25741
    break
25699
25742
  elif $ac_last_try; then
25700
25743
    { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
26265
26308
for file in intltool-extract intltool-merge intltool-update; do
26266
26309
  sed -e "s|@INTLTOOL_EXTRACT@|`pwd`/intltool-extract|g" \
26267
26310
      -e "s|@INTLTOOL_LIBDIR@|${INTLTOOL_LIBDIR}|g" \
26268
 
      -e "s|@INTLTOOL_ICONV@|${INTLTOOL_ICONV}|g" \
26269
 
      -e "s|@INTLTOOL_MSGFMT@|${INTLTOOL_MSGFMT}|g" \
26270
 
      -e "s|@INTLTOOL_MSGMERGE@|${INTLTOOL_MSGMERGE}|g" \
26271
 
      -e "s|@INTLTOOL_XGETTEXT@|${INTLTOOL_XGETTEXT}|g" \
26272
26311
      -e "s|@INTLTOOL_PERL@|${INTLTOOL_PERL}|g" \
26273
26312
        < ${ac_aux_dir}/${file}.in > ${file}.out
26274
26313
  if cmp -s ${file} ${file}.out 2>/dev/null; then
26339
26378
  $ac_cs_success || { (exit 1); exit 1; }
26340
26379
fi
26341
26380
 
 
26381
 
 
26382
echo ""
 
26383
echo "bonobo configuration summary:"
 
26384
echo "============================="
 
26385
echo ""
 
26386
 
 
26387
echo "\
 
26388
        Threads                  : $enable_threads
 
26389
        Debug                    : $enable_debug
 
26390
        Bonobo activation debug  : $enable_bonobo_activation_debug"
 
26391
 
 
26392
echo ""