~ubuntu-branches/ubuntu/precise/rpm/precise-proposed

« back to all changes in this revision

Viewing changes to configure

  • Committer: Bazaar Package Importer
  • Author(s): Anibal Monsalve Salazar
  • Date: 2008-05-11 11:45:40 UTC
  • mfrom: (1.1.4 upstream) (4.1.1 lenny)
  • Revision ID: james.westby@ubuntu.com-20080511114540-688jw62nkud6e3nl
Tags: 4.4.2.3-1
* New upstream 
* Fix "rpm --root uses wrong db-dir". Closes: #359161
* Create /var/lib/rpm, Closes: #398046, #451441, #471473

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 rpm 4.4.2.1.
 
3
# Generated by GNU Autoconf 2.61 for rpm 4.4.2.3.
4
4
#
5
5
# Report bugs to <rpm-maint@lists.rpm.org>.
6
6
#
728
728
# Identity of this package.
729
729
PACKAGE_NAME='rpm'
730
730
PACKAGE_TARNAME='rpm'
731
 
PACKAGE_VERSION='4.4.2.1'
732
 
PACKAGE_STRING='rpm 4.4.2.1'
 
731
PACKAGE_VERSION='4.4.2.3'
 
732
PACKAGE_STRING='rpm 4.4.2.3'
733
733
PACKAGE_BUGREPORT='rpm-maint@lists.rpm.org'
734
734
 
735
735
ac_unique_file="rpmqv.c"
907
907
__ID
908
908
__ID_U
909
909
__INSTALL
 
910
__LZMA
910
911
__MAKE
911
912
__MKDIR
912
913
__MV
992
993
RPMCANONARCH
993
994
RPMCANONVENDOR
994
995
RPMCANONOS
 
996
RPMCANONGNU
995
997
LOCALEDIR
996
998
LIBDIR
997
999
RPMCONFIGDIR
1528
1530
  # Omit some internal or obsolete options to make the list less imposing.
1529
1531
  # This message is too long to be a string in the A/UX 3.1 sh.
1530
1532
  cat <<_ACEOF
1531
 
\`configure' configures rpm 4.4.2.1 to adapt to many kinds of systems.
 
1533
\`configure' configures rpm 4.4.2.3 to adapt to many kinds of systems.
1532
1534
 
1533
1535
Usage: $0 [OPTION]... [VAR=VALUE]...
1534
1536
 
1599
1601
 
1600
1602
if test -n "$ac_init_help"; then
1601
1603
  case $ac_init_help in
1602
 
     short | recursive ) echo "Configuration of rpm 4.4.2.1:";;
 
1604
     short | recursive ) echo "Configuration of rpm 4.4.2.3:";;
1603
1605
   esac
1604
1606
  cat <<\_ACEOF
1605
1607
 
1721
1723
test -n "$ac_init_help" && exit $ac_status
1722
1724
if $ac_init_version; then
1723
1725
  cat <<\_ACEOF
1724
 
rpm configure 4.4.2.1
 
1726
rpm configure 4.4.2.3
1725
1727
generated by GNU Autoconf 2.61
1726
1728
 
1727
1729
Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
1735
1737
This file contains any messages produced by compilers while
1736
1738
running configure, to aid debugging if configure makes a mistake.
1737
1739
 
1738
 
It was created by rpm $as_me 4.4.2.1, which was
 
1740
It was created by rpm $as_me 4.4.2.3, which was
1739
1741
generated by GNU Autoconf 2.61.  Invocation command line was
1740
1742
 
1741
1743
  $ $0 $@
2556
2558
 
2557
2559
# Define the identity of the package.
2558
2560
 PACKAGE='rpm'
2559
 
 VERSION='4.4.2.1'
 
2561
 VERSION='4.4.2.3'
2560
2562
 
2561
2563
 
2562
2564
cat >>confdefs.h <<_ACEOF
2784
2786
 
2785
2787
 
2786
2788
 
2787
 
ALL_LINGUAS="cs da de fi fr gl is ja ko no pl pt pt_BR ro ru sk sl sr sv tr zh_TW"
 
2789
ALL_LINGUAS="ca cs da de es fi fr gl is it ja ko nb pl pt pt_BR ro ru sk sl sr sr@latin sv tr zh_TW"
2788
2790
 
2789
2791
DEPDIR="${am__leading_dot}deps"
2790
2792
 
6432
6434
  test -z "$as_dir" && as_dir=.
6433
6435
  for lt_ac_prog in sed gsed; do
6434
6436
    for ac_exec_ext in '' $ac_executable_extensions; do
6435
 
      if $as_executable_p "$as_dir/$lt_ac_prog$ac_exec_ext"; then
 
6437
      if { test -f "$as_dir/$lt_ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$lt_ac_prog$ac_exec_ext"; }; then
6436
6438
        lt_ac_sed_list="$lt_ac_sed_list $as_dir/$lt_ac_prog$ac_exec_ext"
6437
6439
      fi
6438
6440
    done
6662
6664
echo "${ECHO_T}$lt_cv_path_NM" >&6; }
6663
6665
NM="$lt_cv_path_NM"
6664
6666
 
6665
 
{ echo "$as_me:$LINENO: checking how to recognise dependent libraries" >&5
6666
 
echo $ECHO_N "checking how to recognise dependent libraries... $ECHO_C" >&6; }
 
6667
{ echo "$as_me:$LINENO: checking how to recognize dependent libraries" >&5
 
6668
echo $ECHO_N "checking how to recognize dependent libraries... $ECHO_C" >&6; }
6667
6669
if test "${lt_cv_deplibs_check_method+set}" = set; then
6668
6670
  echo $ECHO_N "(cached) $ECHO_C" >&6
6669
6671
else
6704
6706
 
6705
6707
mingw* | pw32*)
6706
6708
  # Base MSYS/MinGW do not provide the 'file' command needed by
6707
 
  # func_win32_libid shell function, so use a weaker test based on 'objdump'.
6708
 
  lt_cv_deplibs_check_method='file_magic file format pei*-i386(.*architecture: i386)?'
6709
 
  lt_cv_file_magic_cmd='$OBJDUMP -f'
 
6709
  # func_win32_libid shell function, so use a weaker test based on 'objdump',
 
6710
  # unless we find 'file', for example because we are cross-compiling.
 
6711
  if ( file / ) >/dev/null 2>&1; then
 
6712
    lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
 
6713
    lt_cv_file_magic_cmd='func_win32_libid'
 
6714
  else
 
6715
    lt_cv_deplibs_check_method='file_magic file format pei*-i386(.*architecture: i386)?'
 
6716
    lt_cv_file_magic_cmd='$OBJDUMP -f'
 
6717
  fi
6710
6718
  ;;
6711
6719
 
6712
6720
darwin* | rhapsody*)
6713
6721
  lt_cv_deplibs_check_method=pass_all
6714
6722
  ;;
6715
6723
 
6716
 
freebsd* | kfreebsd*-gnu | dragonfly*)
 
6724
freebsd* | dragonfly*)
6717
6725
  if echo __ELF__ | $CC -E - | grep __ELF__ > /dev/null; then
6718
6726
    case $host_cpu in
6719
6727
    i*86 )
6751
6759
  esac
6752
6760
  ;;
6753
6761
 
6754
 
interix3*)
 
6762
interix[3-9]*)
6755
6763
  # PIC code is broken on Interix 3.x, that's why |\.a not |_pic\.a here
6756
6764
  lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|\.a)$'
6757
6765
  ;;
6767
6775
  ;;
6768
6776
 
6769
6777
# This must be Linux ELF.
6770
 
linux*)
 
6778
linux* | k*bsd*-gnu)
6771
6779
  lt_cv_deplibs_check_method=pass_all
6772
6780
  ;;
6773
6781
 
6801
6809
  lt_cv_deplibs_check_method=pass_all
6802
6810
  ;;
6803
6811
 
 
6812
rdos*)
 
6813
  lt_cv_deplibs_check_method=pass_all
 
6814
  ;;
 
6815
 
6804
6816
solaris*)
6805
6817
  lt_cv_deplibs_check_method=pass_all
6806
6818
  ;;
6887
6899
  ;;
6888
6900
*-*-irix6*)
6889
6901
  # Find out which ABI we are using.
6890
 
  echo '#line 6890 "configure"' > conftest.$ac_ext
 
6902
  echo '#line 6902 "configure"' > conftest.$ac_ext
6891
6903
  if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6892
6904
  (eval $ac_compile) 2>&5
6893
6905
  ac_status=$?
6922
6934
  rm -rf conftest*
6923
6935
  ;;
6924
6936
 
6925
 
x86_64-*linux*|ppc*-*linux*|powerpc*-*linux*|s390*-*linux*|sparc*-*linux*)
 
6937
x86_64-*kfreebsd*-gnu|x86_64-*linux*|ppc*-*linux*|powerpc*-*linux*| \
 
6938
s390*-*linux*|sparc*-*linux*)
6926
6939
  # Find out which ABI we are using.
6927
6940
  echo 'int i;' > conftest.$ac_ext
6928
6941
  if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6933
6946
    case `/usr/bin/file conftest.o` in
6934
6947
    *32-bit*)
6935
6948
      case $host in
 
6949
        x86_64-*kfreebsd*-gnu)
 
6950
          LD="${LD-ld} -m elf_i386_fbsd"
 
6951
          ;;
6936
6952
        x86_64-*linux*)
6937
6953
          LD="${LD-ld} -m elf_i386"
6938
6954
          ;;
6948
6964
      esac
6949
6965
      ;;
6950
6966
    *64-bit*)
 
6967
      libsuff=64
6951
6968
      case $host in
 
6969
        x86_64-*kfreebsd*-gnu)
 
6970
          LD="${LD-ld} -m elf_x86_64_fbsd"
 
6971
          ;;
6952
6972
        x86_64-*linux*)
6953
6973
          LD="${LD-ld} -m elf_x86_64"
6954
6974
          ;;
7795
7815
    fi
7796
7816
    ;;
7797
7817
  *)
7798
 
    # If test is not a shell built-in, we'll probably end up computing a
7799
 
    # maximum length that is only half of the actual maximum length, but
7800
 
    # we can't tell.
7801
 
    SHELL=${SHELL-${CONFIG_SHELL-/bin/sh}}
7802
 
    while (test "X"`$SHELL $0 --fallback-echo "X$teststring" 2>/dev/null` \
 
7818
    lt_cv_sys_max_cmd_len=`(getconf ARG_MAX) 2> /dev/null`
 
7819
    if test -n "$lt_cv_sys_max_cmd_len"; then
 
7820
      lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
 
7821
      lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
 
7822
    else
 
7823
      SHELL=${SHELL-${CONFIG_SHELL-/bin/sh}}
 
7824
      while (test "X"`$SHELL $0 --fallback-echo "X$teststring" 2>/dev/null` \
7803
7825
               = "XX$teststring") >/dev/null 2>&1 &&
7804
 
            new_result=`expr "X$teststring" : ".*" 2>&1` &&
7805
 
            lt_cv_sys_max_cmd_len=$new_result &&
7806
 
            test $i != 17 # 1/2 MB should be enough
7807
 
    do
7808
 
      i=`expr $i + 1`
7809
 
      teststring=$teststring$teststring
7810
 
    done
7811
 
    teststring=
7812
 
    # Add a significant safety factor because C++ compilers can tack on massive
7813
 
    # amounts of additional arguments before passing them to the linker.
7814
 
    # It appears as though 1/2 is a usable value.
7815
 
    lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 2`
 
7826
              new_result=`expr "X$teststring" : ".*" 2>&1` &&
 
7827
              lt_cv_sys_max_cmd_len=$new_result &&
 
7828
              test $i != 17 # 1/2 MB should be enough
 
7829
      do
 
7830
        i=`expr $i + 1`
 
7831
        teststring=$teststring$teststring
 
7832
      done
 
7833
      teststring=
 
7834
      # Add a significant safety factor because C++ compilers can tack on massive
 
7835
      # amounts of additional arguments before passing them to the linker.
 
7836
      # It appears as though 1/2 is a usable value.
 
7837
      lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 2`
 
7838
    fi
7816
7839
    ;;
7817
7840
  esac
7818
7841
 
7829
7852
 
7830
7853
 
7831
7854
 
 
7855
 
7832
7856
# Check for command to grab the raw symbol name followed by C symbol from nm.
7833
7857
{ echo "$as_me:$LINENO: checking command to parse $NM output from $compiler object" >&5
7834
7858
echo $ECHO_N "checking command to parse $NM output from $compiler object... $ECHO_C" >&6; }
7866
7890
  lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'"
7867
7891
  lt_cv_sys_global_symbol_to_c_name_address="sed -n -e 's/^: \([^ ]*\) $/  {\\\"\1\\\", (lt_ptr) 0},/p' -e 's/^$symcode* \([^ ]*\) \([^ ]*\)$/  {\"\2\", (lt_ptr) \&\2},/p'"
7868
7892
  ;;
7869
 
linux*)
 
7893
linux* | k*bsd*-gnu)
7870
7894
  if test "$host_cpu" = ia64; then
7871
7895
    symcode='[ABCDGIRSTW]'
7872
7896
    lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'"
8417
8441
test -z "$ac_objext" && ac_objext=o
8418
8442
 
8419
8443
# Determine commands to create old-style static archives.
8420
 
old_archive_cmds='$AR $AR_FLAGS $oldlib$oldobjs$old_deplibs'
 
8444
old_archive_cmds='$AR $AR_FLAGS $oldlib$oldobjs'
8421
8445
old_postinstall_cmds='chmod 644 $oldlib'
8422
8446
old_postuninstall_cmds=
8423
8447
 
8617
8641
objext=$objext
8618
8642
 
8619
8643
# Code to be used in simple compile tests
8620
 
lt_simple_compile_test_code="int some_variable = 0;\n"
 
8644
lt_simple_compile_test_code="int some_variable = 0;"
8621
8645
 
8622
8646
# Code to be used in simple link tests
8623
 
lt_simple_link_test_code='int main(){return(0);}\n'
 
8647
lt_simple_link_test_code='int main(){return(0);}'
8624
8648
 
8625
8649
 
8626
8650
# If no C compiler was specified, use CC.
8635
8659
 
8636
8660
# save warnings/boilerplate of simple test code
8637
8661
ac_outfile=conftest.$ac_objext
8638
 
printf "$lt_simple_compile_test_code" >conftest.$ac_ext
 
8662
echo "$lt_simple_compile_test_code" >conftest.$ac_ext
8639
8663
eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
8640
8664
_lt_compiler_boilerplate=`cat conftest.err`
8641
8665
$rm conftest*
8642
8666
 
8643
8667
ac_outfile=conftest.$ac_objext
8644
 
printf "$lt_simple_link_test_code" >conftest.$ac_ext
 
8668
echo "$lt_simple_link_test_code" >conftest.$ac_ext
8645
8669
eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
8646
8670
_lt_linker_boilerplate=`cat conftest.err`
8647
8671
$rm conftest*
8661
8685
else
8662
8686
  lt_cv_prog_compiler_rtti_exceptions=no
8663
8687
  ac_outfile=conftest.$ac_objext
8664
 
   printf "$lt_simple_compile_test_code" > conftest.$ac_ext
 
8688
   echo "$lt_simple_compile_test_code" > conftest.$ac_ext
8665
8689
   lt_compiler_flag="-fno-rtti -fno-exceptions"
8666
8690
   # Insert the option either (1) after the last *FLAGS variable, or
8667
8691
   # (2) before a word containing "conftest.", or (3) at the end.
8672
8696
   -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8673
8697
   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8674
8698
   -e 's:$: $lt_compiler_flag:'`
8675
 
   (eval echo "\"\$as_me:8675: $lt_compile\"" >&5)
 
8699
   (eval echo "\"\$as_me:8699: $lt_compile\"" >&5)
8676
8700
   (eval "$lt_compile" 2>conftest.err)
8677
8701
   ac_status=$?
8678
8702
   cat conftest.err >&5
8679
 
   echo "$as_me:8679: \$? = $ac_status" >&5
 
8703
   echo "$as_me:8703: \$? = $ac_status" >&5
8680
8704
   if (exit $ac_status) && test -s "$ac_outfile"; then
8681
8705
     # The compiler can only warn and ignore the option if not recognized
8682
8706
     # So say no if there are warnings other than the usual output.
8727
8751
      lt_prog_compiler_pic='-m68020 -resident32 -malways-restore-a4'
8728
8752
      ;;
8729
8753
 
8730
 
    beos* | cygwin* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
 
8754
    beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
8731
8755
      # PIC is the default for these OSes.
8732
8756
      ;;
8733
8757
 
8734
 
    mingw* | pw32* | os2*)
 
8758
    mingw* | cygwin* | pw32* | os2*)
8735
8759
      # This hack is so that the source file can tell whether it is being
8736
8760
      # built for inclusion in a dll (and should export symbols for example).
 
8761
      # Although the cygwin gcc ignores -fPIC, still need this for old-style
 
8762
      # (--disable-auto-import) libraries
8737
8763
      lt_prog_compiler_pic='-DDLL_EXPORT'
8738
8764
      ;;
8739
8765
 
8743
8769
      lt_prog_compiler_pic='-fno-common'
8744
8770
      ;;
8745
8771
 
8746
 
    interix3*)
 
8772
    interix[3-9]*)
8747
8773
      # Interix 3.x gcc -fpic/-fPIC options generate broken code.
8748
8774
      # Instead, we relocate shared libraries at runtime.
8749
8775
      ;;
8801
8827
       esac
8802
8828
       ;;
8803
8829
 
8804
 
    mingw* | pw32* | os2*)
 
8830
    mingw* | cygwin* | pw32* | os2*)
8805
8831
      # This hack is so that the source file can tell whether it is being
8806
8832
      # built for inclusion in a dll (and should export symbols for example).
8807
8833
      lt_prog_compiler_pic='-DDLL_EXPORT'
8834
8860
      lt_prog_compiler_static='-Bstatic'
8835
8861
      ;;
8836
8862
 
8837
 
    linux*)
 
8863
    linux* | k*bsd*-gnu)
8838
8864
      case $cc_basename in
8839
8865
      icc* | ecc*)
8840
8866
        lt_prog_compiler_wl='-Wl,'
8853
8879
        # All Alpha code is PIC.
8854
8880
        lt_prog_compiler_static='-non_shared'
8855
8881
        ;;
 
8882
      *)
 
8883
        case `$CC -V 2>&1 | sed 5q` in
 
8884
        *Sun\ C*)
 
8885
          # Sun C 5.9
 
8886
          lt_prog_compiler_pic='-KPIC'
 
8887
          lt_prog_compiler_static='-Bstatic'
 
8888
          lt_prog_compiler_wl='-Wl,'
 
8889
          ;;
 
8890
        *Sun\ F*)
 
8891
          # Sun Fortran 8.3 passes all unrecognized flags to the linker
 
8892
          lt_prog_compiler_pic='-KPIC'
 
8893
          lt_prog_compiler_static='-Bstatic'
 
8894
          lt_prog_compiler_wl=''
 
8895
          ;;
 
8896
        esac
 
8897
        ;;
8856
8898
      esac
8857
8899
      ;;
8858
8900
 
8862
8904
      lt_prog_compiler_static='-non_shared'
8863
8905
      ;;
8864
8906
 
 
8907
    rdos*)
 
8908
      lt_prog_compiler_static='-non_shared'
 
8909
      ;;
 
8910
 
8865
8911
    solaris*)
8866
8912
      lt_prog_compiler_pic='-KPIC'
8867
8913
      lt_prog_compiler_static='-Bstatic'
8929
8975
else
8930
8976
  lt_prog_compiler_pic_works=no
8931
8977
  ac_outfile=conftest.$ac_objext
8932
 
   printf "$lt_simple_compile_test_code" > conftest.$ac_ext
 
8978
   echo "$lt_simple_compile_test_code" > conftest.$ac_ext
8933
8979
   lt_compiler_flag="$lt_prog_compiler_pic -DPIC"
8934
8980
   # Insert the option either (1) after the last *FLAGS variable, or
8935
8981
   # (2) before a word containing "conftest.", or (3) at the end.
8940
8986
   -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8941
8987
   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8942
8988
   -e 's:$: $lt_compiler_flag:'`
8943
 
   (eval echo "\"\$as_me:8943: $lt_compile\"" >&5)
 
8989
   (eval echo "\"\$as_me:8989: $lt_compile\"" >&5)
8944
8990
   (eval "$lt_compile" 2>conftest.err)
8945
8991
   ac_status=$?
8946
8992
   cat conftest.err >&5
8947
 
   echo "$as_me:8947: \$? = $ac_status" >&5
 
8993
   echo "$as_me:8993: \$? = $ac_status" >&5
8948
8994
   if (exit $ac_status) && test -s "$ac_outfile"; then
8949
8995
     # The compiler can only warn and ignore the option if not recognized
8950
8996
     # So say no if there are warnings other than the usual output.
8993
9039
  lt_prog_compiler_static_works=no
8994
9040
   save_LDFLAGS="$LDFLAGS"
8995
9041
   LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
8996
 
   printf "$lt_simple_link_test_code" > conftest.$ac_ext
 
9042
   echo "$lt_simple_link_test_code" > conftest.$ac_ext
8997
9043
   if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
8998
9044
     # The linker can only warn and ignore the option if not recognized
8999
9045
     # So say no if there are warnings
9033
9079
   mkdir conftest
9034
9080
   cd conftest
9035
9081
   mkdir out
9036
 
   printf "$lt_simple_compile_test_code" > conftest.$ac_ext
 
9082
   echo "$lt_simple_compile_test_code" > conftest.$ac_ext
9037
9083
 
9038
9084
   lt_compiler_flag="-o out/conftest2.$ac_objext"
9039
9085
   # Insert the option either (1) after the last *FLAGS variable, or
9044
9090
   -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
9045
9091
   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
9046
9092
   -e 's:$: $lt_compiler_flag:'`
9047
 
   (eval echo "\"\$as_me:9047: $lt_compile\"" >&5)
 
9093
   (eval echo "\"\$as_me:9093: $lt_compile\"" >&5)
9048
9094
   (eval "$lt_compile" 2>out/conftest.err)
9049
9095
   ac_status=$?
9050
9096
   cat out/conftest.err >&5
9051
 
   echo "$as_me:9051: \$? = $ac_status" >&5
 
9097
   echo "$as_me:9097: \$? = $ac_status" >&5
9052
9098
   if (exit $ac_status) && test -s out/conftest2.$ac_objext
9053
9099
   then
9054
9100
     # The compiler can only warn and ignore the option if not recognized
9240
9286
      allow_undefined_flag=unsupported
9241
9287
      always_export_symbols=no
9242
9288
      enable_shared_with_static_runtimes=yes
9243
 
      export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS] /s/.* \([^ ]*\)/\1 DATA/'\'' | $SED -e '\''/^[AITW] /s/.* //'\'' | sort | uniq > $export_symbols'
 
9289
      export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1 DATA/'\'' -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols'
9244
9290
 
9245
9291
      if $LD --help 2>&1 | grep 'auto-import' > /dev/null; then
9246
9292
        archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
9258
9304
      fi
9259
9305
      ;;
9260
9306
 
9261
 
    interix3*)
 
9307
    interix[3-9]*)
9262
9308
      hardcode_direct=no
9263
9309
      hardcode_shlibpath_var=no
9264
9310
      hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
9273
9319
      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'
9274
9320
      ;;
9275
9321
 
9276
 
    linux*)
 
9322
    gnu* | linux* | k*bsd*-gnu)
9277
9323
      if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
9278
9324
        tmp_addflag=
9279
9325
        case $cc_basename,$host_cpu in
9291
9337
        ifc* | ifort*)                  # Intel Fortran compiler
9292
9338
          tmp_addflag=' -nofor_main' ;;
9293
9339
        esac
9294
 
        archive_cmds='$CC -shared'"$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
 
9340
        case `$CC -V 2>&1 | sed 5q` in
 
9341
        *Sun\ C*)                       # Sun C 5.9
 
9342
          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'
 
9343
          tmp_sharedflag='-G' ;;
 
9344
        *Sun\ F*)                       # Sun Fortran 8.3
 
9345
          tmp_sharedflag='-G' ;;
 
9346
        *)
 
9347
          tmp_sharedflag='-shared' ;;
 
9348
        esac
 
9349
        archive_cmds='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9295
9350
 
9296
9351
        if test $supports_anon_versioning = yes; then
9297
9352
          archive_expsym_cmds='$echo "{ global:" > $output_objdir/$libname.ver~
9298
9353
  cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
9299
9354
  $echo "local: *; };" >> $output_objdir/$libname.ver~
9300
 
          $CC -shared'"$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
 
9355
          $CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
9301
9356
        fi
9302
9357
      else
9303
9358
        ld_shlibs=no
9456
9511
           strings "$collect2name" | grep resolve_lib_name >/dev/null
9457
9512
          then
9458
9513
          # We have reworked collect2
9459
 
          hardcode_direct=yes
 
9514
          :
9460
9515
          else
9461
9516
          # We have old collect2
9462
9517
          hardcode_direct=unsupported
9530
9585
       } && test -s conftest$ac_exeext &&
9531
9586
       $as_test_x conftest$ac_exeext; then
9532
9587
 
9533
 
aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0  *\(.*\)$/\1/; p; }
9534
 
}'`
 
9588
lt_aix_libpath_sed='
 
9589
    /Import File Strings/,/^$/ {
 
9590
        /^0/ {
 
9591
            s/^0  *\(.*\)$/\1/
 
9592
            p
 
9593
        }
 
9594
    }'
 
9595
aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9535
9596
# Check for a 64-bit object if we didn't find anything.
9536
 
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; }
9537
 
}'`; fi
 
9597
if test -z "$aix_libpath"; then
 
9598
  aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
 
9599
fi
9538
9600
else
9539
9601
  echo "$as_me: failed program was:" >&5
9540
9602
sed 's/^/| /' conftest.$ac_ext >&5
9589
9651
       } && test -s conftest$ac_exeext &&
9590
9652
       $as_test_x conftest$ac_exeext; then
9591
9653
 
9592
 
aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0  *\(.*\)$/\1/; p; }
9593
 
}'`
 
9654
lt_aix_libpath_sed='
 
9655
    /Import File Strings/,/^$/ {
 
9656
        /^0/ {
 
9657
            s/^0  *\(.*\)$/\1/
 
9658
            p
 
9659
        }
 
9660
    }'
 
9661
aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9594
9662
# Check for a 64-bit object if we didn't find anything.
9595
 
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; }
9596
 
}'`; fi
 
9663
if test -z "$aix_libpath"; then
 
9664
  aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
 
9665
fi
9597
9666
else
9598
9667
  echo "$as_me: failed program was:" >&5
9599
9668
sed 's/^/| /' conftest.$ac_ext >&5
9647
9716
      # The linker will automatically build a .lib file if we build a DLL.
9648
9717
      old_archive_From_new_cmds='true'
9649
9718
      # FIXME: Should let the user specify the lib program.
9650
 
      old_archive_cmds='lib /OUT:$oldlib$oldobjs$old_deplibs'
 
9719
      old_archive_cmds='lib -OUT:$oldlib$oldobjs$old_deplibs'
9651
9720
      fix_srcfile_path='`cygpath -w "$srcfile"`'
9652
9721
      enable_shared_with_static_runtimes=yes
9653
9722
      ;;
9689
9758
      case $cc_basename in
9690
9759
        xlc*)
9691
9760
         output_verbose_link_cmd='echo'
9692
 
         archive_cmds='$CC -qmkshrobj $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-install_name ${wl}`echo $rpath/$soname` $verstring'
 
9761
         archive_cmds='$CC -qmkshrobj $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-install_name ${wl}`echo $rpath/$soname` $xlcverstring'
9693
9762
         module_cmds='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
9694
9763
          # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin lds
9695
 
         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}'
 
9764
         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}'
9696
9765
          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}'
9697
9766
          ;;
9698
9767
       *)
9732
9801
      ;;
9733
9802
 
9734
9803
    # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
9735
 
    freebsd* | kfreebsd*-gnu | dragonfly*)
 
9804
    freebsd* | dragonfly*)
9736
9805
      archive_cmds='$CC -shared -o $lib $libobjs $deplibs $compiler_flags'
9737
9806
      hardcode_libdir_flag_spec='-R$libdir'
9738
9807
      hardcode_direct=yes
9854
9923
      ;;
9855
9924
 
9856
9925
    openbsd*)
9857
 
      hardcode_direct=yes
9858
 
      hardcode_shlibpath_var=no
9859
 
      if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
9860
 
        archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
9861
 
        archive_expsym_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols'
9862
 
        hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
9863
 
        export_dynamic_flag_spec='${wl}-E'
 
9926
      if test -f /usr/libexec/ld.so; then
 
9927
        hardcode_direct=yes
 
9928
        hardcode_shlibpath_var=no
 
9929
        if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
 
9930
          archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
 
9931
          archive_expsym_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols'
 
9932
          hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
 
9933
          export_dynamic_flag_spec='${wl}-E'
 
9934
        else
 
9935
          case $host_os in
 
9936
           openbsd[01].* | openbsd2.[0-7] | openbsd2.[0-7].*)
 
9937
             archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
 
9938
             hardcode_libdir_flag_spec='-R$libdir'
 
9939
             ;;
 
9940
           *)
 
9941
             archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
 
9942
             hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
 
9943
             ;;
 
9944
          esac
 
9945
        fi
9864
9946
      else
9865
 
       case $host_os in
9866
 
         openbsd[01].* | openbsd2.[0-7] | openbsd2.[0-7].*)
9867
 
           archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
9868
 
           hardcode_libdir_flag_spec='-R$libdir'
9869
 
           ;;
9870
 
         *)
9871
 
           archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
9872
 
           hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
9873
 
           ;;
9874
 
       esac
 
9947
        ld_shlibs=no
9875
9948
      fi
9876
9949
      ;;
9877
9950
 
9930
10003
      case $host_os in
9931
10004
      solaris2.[0-5] | solaris2.[0-5].*) ;;
9932
10005
      *)
9933
 
        # The compiler driver will combine linker options so we
9934
 
        # cannot just pass the convience library names through
9935
 
        # without $wl, iff we do not link with $LD.
9936
 
        # Luckily, gcc supports the same syntax we need for Sun Studio.
 
10006
        # The compiler driver will combine and reorder linker options,
 
10007
        # but understands `-z linker_flag'.  GCC discards it without `$wl',
 
10008
        # but is careful enough not to reorder.
9937
10009
        # Supported since Solaris 2.6 (maybe 2.5.1?)
9938
 
        case $wlarc in
9939
 
        '')
9940
 
          whole_archive_flag_spec='-z allextract$convenience -z defaultextract' ;;
9941
 
        *)
9942
 
          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' ;;
9943
 
        esac ;;
 
10010
        if test "$GCC" = yes; then
 
10011
          whole_archive_flag_spec='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
 
10012
        else
 
10013
          whole_archive_flag_spec='-z allextract$convenience -z defaultextract'
 
10014
        fi
 
10015
        ;;
9944
10016
      esac
9945
10017
      link_all_deplibs=yes
9946
10018
      ;;
9997
10069
      fi
9998
10070
      ;;
9999
10071
 
10000
 
    sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7*)
 
10072
    sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7* | sco3.2v5.0.[024]*)
10001
10073
      no_undefined_flag='${wl}-z,text'
10002
10074
      archive_cmds_need_lc=no
10003
10075
      hardcode_shlibpath_var=no
10074
10146
      { echo "$as_me:$LINENO: checking whether -lc should be explicitly linked in" >&5
10075
10147
echo $ECHO_N "checking whether -lc should be explicitly linked in... $ECHO_C" >&6; }
10076
10148
      $rm conftest*
10077
 
      printf "$lt_simple_compile_test_code" > conftest.$ac_ext
 
10149
      echo "$lt_simple_compile_test_code" > conftest.$ac_ext
10078
10150
 
10079
10151
      if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
10080
10152
  (eval $ac_compile) 2>&5
10132
10204
version_type=none
10133
10205
dynamic_linker="$host_os ld.so"
10134
10206
sys_lib_dlsearch_path_spec="/lib /usr/lib"
 
10207
 
10135
10208
if test "$GCC" = yes; then
10136
 
  sys_lib_search_path_spec=`$CC -print-search-dirs | grep "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
10137
 
  if echo "$sys_lib_search_path_spec" | grep ';' >/dev/null ; then
 
10209
  case $host_os in
 
10210
    darwin*) lt_awk_arg="/^libraries:/,/LR/" ;;
 
10211
    *) lt_awk_arg="/^libraries:/" ;;
 
10212
  esac
 
10213
  lt_search_path_spec=`$CC -print-search-dirs | awk $lt_awk_arg | $SED -e "s/^libraries://" -e "s,=/,/,g"`
 
10214
  if echo "$lt_search_path_spec" | grep ';' >/dev/null ; then
10138
10215
    # if the path contains ";" then we assume it to be the separator
10139
10216
    # otherwise default to the standard path separator (i.e. ":") - it is
10140
10217
    # assumed that no part of a normal pathname contains ";" but that should
10141
10218
    # okay in the real world where ";" in dirpaths is itself problematic.
10142
 
    sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
 
10219
    lt_search_path_spec=`echo "$lt_search_path_spec" | $SED -e 's/;/ /g'`
10143
10220
  else
10144
 
    sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED  -e "s/$PATH_SEPARATOR/ /g"`
 
10221
    lt_search_path_spec=`echo "$lt_search_path_spec" | $SED  -e "s/$PATH_SEPARATOR/ /g"`
10145
10222
  fi
 
10223
  # Ok, now we have the path, separated by spaces, we can step through it
 
10224
  # and add multilib dir if necessary.
 
10225
  lt_tmp_lt_search_path_spec=
 
10226
  lt_multi_os_dir=`$CC $CPPFLAGS $CFLAGS $LDFLAGS -print-multi-os-directory 2>/dev/null`
 
10227
  for lt_sys_path in $lt_search_path_spec; do
 
10228
    if test -d "$lt_sys_path/$lt_multi_os_dir"; then
 
10229
      lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path/$lt_multi_os_dir"
 
10230
    else
 
10231
      test -d "$lt_sys_path" && \
 
10232
        lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path"
 
10233
    fi
 
10234
  done
 
10235
  lt_search_path_spec=`echo $lt_tmp_lt_search_path_spec | awk '
 
10236
BEGIN {RS=" "; FS="/|\n";} {
 
10237
  lt_foo="";
 
10238
  lt_count=0;
 
10239
  for (lt_i = NF; lt_i > 0; lt_i--) {
 
10240
    if ($lt_i != "" && $lt_i != ".") {
 
10241
      if ($lt_i == "..") {
 
10242
        lt_count++;
 
10243
      } else {
 
10244
        if (lt_count == 0) {
 
10245
          lt_foo="/" $lt_i lt_foo;
 
10246
        } else {
 
10247
          lt_count--;
 
10248
        }
 
10249
      }
 
10250
    }
 
10251
  }
 
10252
  if (lt_foo != "") { lt_freq[lt_foo]++; }
 
10253
  if (lt_freq[lt_foo] == 1) { print lt_foo; }
 
10254
}'`
 
10255
  sys_lib_search_path_spec=`echo $lt_search_path_spec`
10146
10256
else
10147
10257
  sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"
10148
10258
fi
10302
10412
  shlibpath_overrides_runpath=yes
10303
10413
  shlibpath_var=DYLD_LIBRARY_PATH
10304
10414
  shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`'
10305
 
  # Apple's gcc prints 'gcc -print-search-dirs' doesn't operate the same.
10306
 
  if test "$GCC" = yes; then
10307
 
    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"`
10308
 
  else
10309
 
    sys_lib_search_path_spec='/lib /usr/lib /usr/local/lib'
10310
 
  fi
 
10415
 
 
10416
  sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/local/lib"
10311
10417
  sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
10312
10418
  ;;
10313
10419
 
10324
10430
  dynamic_linker=no
10325
10431
  ;;
10326
10432
 
10327
 
kfreebsd*-gnu)
10328
 
  version_type=linux
10329
 
  need_lib_prefix=no
10330
 
  need_version=no
10331
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
10332
 
  soname_spec='${libname}${release}${shared_ext}$major'
10333
 
  shlibpath_var=LD_LIBRARY_PATH
10334
 
  shlibpath_overrides_runpath=no
10335
 
  hardcode_into_libs=yes
10336
 
  dynamic_linker='GNU ld.so'
10337
 
  ;;
10338
 
 
10339
10433
freebsd* | dragonfly*)
10340
10434
  # DragonFly does not have aout.  When/if they implement a new
10341
10435
  # versioning mechanism, adjust this.
10373
10467
    shlibpath_overrides_runpath=no
10374
10468
    hardcode_into_libs=yes
10375
10469
    ;;
10376
 
  freebsd*) # from 4.6 on
 
10470
  *) # from 4.6 on, and DragonFly
10377
10471
    shlibpath_overrides_runpath=yes
10378
10472
    hardcode_into_libs=yes
10379
10473
    ;;
10436
10530
  postinstall_cmds='chmod 555 $lib'
10437
10531
  ;;
10438
10532
 
10439
 
interix3*)
 
10533
interix[3-9]*)
10440
10534
  version_type=linux
10441
10535
  need_lib_prefix=no
10442
10536
  need_version=no
10491
10585
  ;;
10492
10586
 
10493
10587
# This must be Linux ELF.
10494
 
linux*)
 
10588
linux* | k*bsd*-gnu)
10495
10589
  version_type=linux
10496
10590
  need_lib_prefix=no
10497
10591
  need_version=no
10504
10598
  # Some rework will be needed to allow for fast_install
10505
10599
  # before this can be enabled.
10506
10600
  hardcode_into_libs=yes
10507
 
 
10508
 
  # find out which ABI we are using
10509
 
  libsuff=
10510
 
  case "$host_cpu" in
10511
 
  x86_64*|s390x*|powerpc64*)
10512
 
    echo '#line 10512 "configure"' > conftest.$ac_ext
10513
 
    if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
10514
 
  (eval $ac_compile) 2>&5
10515
 
  ac_status=$?
10516
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
10517
 
  (exit $ac_status); }; then
10518
 
      case `/usr/bin/file conftest.$ac_objext` in
10519
 
      *64-bit*)
10520
 
        libsuff=64
10521
 
        sys_lib_search_path_spec="/lib${libsuff} /usr/lib${libsuff} /usr/local/lib${libsuff}"
10522
 
        ;;
10523
 
      esac
10524
 
    fi
10525
 
    rm -rf conftest*
10526
 
    ;;
10527
 
  esac
 
10601
  sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
 
10602
  sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}"
10528
10603
 
10529
10604
  # Append ld.so.conf contents to the search path
10530
10605
  if test -f /etc/ld.so.conf; then
10531
 
    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/^       *//;s/#.*//;/^[^\/]/d;s/[:,    ]/ /g;s/=[^=]*$//;s/=[^= ]* / /g;/^$/d' | tr '\n' ' '`
10532
 
    sys_lib_dlsearch_path_spec="/lib${libsuff} /usr/lib${libsuff} $lt_ld_extra"
 
10606
    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' ' '`
 
10607
    sys_lib_dlsearch_path_spec="$sys_lib_dlsearch_path_spec $lt_ld_extra"
10533
10608
  fi
10534
10609
 
10535
10610
  # We used to test for /lib/ld.so.1 and disable shared libraries on
10541
10616
  dynamic_linker='GNU/Linux ld.so'
10542
10617
  ;;
10543
10618
 
10544
 
knetbsd*-gnu)
10545
 
  version_type=linux
10546
 
  need_lib_prefix=no
10547
 
  need_version=no
10548
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
10549
 
  soname_spec='${libname}${release}${shared_ext}$major'
10550
 
  shlibpath_var=LD_LIBRARY_PATH
10551
 
  shlibpath_overrides_runpath=no
10552
 
  hardcode_into_libs=yes
10553
 
  dynamic_linker='GNU ld.so'
10554
 
  ;;
10555
 
 
10556
10619
netbsd*)
10557
10620
  version_type=sunos
10558
10621
  need_lib_prefix=no
10634
10697
  sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec"
10635
10698
  ;;
10636
10699
 
 
10700
rdos*)
 
10701
  dynamic_linker=no
 
10702
  ;;
 
10703
 
10637
10704
solaris*)
10638
10705
  version_type=linux
10639
10706
  need_lib_prefix=no
10787
10854
   darwin*)
10788
10855
       if test -n "$STRIP" ; then
10789
10856
         striplib="$STRIP -x"
 
10857
         old_striplib="$STRIP -S"
10790
10858
         { echo "$as_me:$LINENO: result: yes" >&5
10791
10859
echo "${ECHO_T}yes" >&6; }
10792
10860
       else
11373
11441
  lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
11374
11442
  lt_status=$lt_dlunknown
11375
11443
  cat > conftest.$ac_ext <<EOF
11376
 
#line 11376 "configure"
 
11444
#line 11444 "configure"
11377
11445
#include "confdefs.h"
11378
11446
 
11379
11447
#if HAVE_DLFCN_H
11473
11541
  lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
11474
11542
  lt_status=$lt_dlunknown
11475
11543
  cat > conftest.$ac_ext <<EOF
11476
 
#line 11476 "configure"
 
11544
#line 11544 "configure"
11477
11545
#include "confdefs.h"
11478
11546
 
11479
11547
#if HAVE_DLFCN_H
11671
11739
    module_cmds \
11672
11740
    module_expsym_cmds \
11673
11741
    lt_cv_prog_compiler_c_o \
 
11742
    fix_srcfile_path \
11674
11743
    exclude_expsyms \
11675
11744
    include_expsyms; do
11676
11745
 
11715
11784
# Generated automatically by $PROGRAM (GNU $PACKAGE $VERSION$TIMESTAMP)
11716
11785
# NOTE: Changes made to this file will be lost: look at ltmain.sh.
11717
11786
#
11718
 
# Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001
 
11787
# Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004, 2005, 2006, 2007
11719
11788
# Free Software Foundation, Inc.
11720
11789
#
11721
11790
# This file is part of GNU Libtool:
12039
12108
sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
12040
12109
 
12041
12110
# Fix the shell variable \$srcfile for the compiler.
12042
 
fix_srcfile_path="$fix_srcfile_path"
 
12111
fix_srcfile_path=$lt_fix_srcfile_path
12043
12112
 
12044
12113
# Set to yes if exported symbols are required.
12045
12114
always_export_symbols=$always_export_symbols
12208
12277
objext_CXX=$objext
12209
12278
 
12210
12279
# Code to be used in simple compile tests
12211
 
lt_simple_compile_test_code="int some_variable = 0;\n"
 
12280
lt_simple_compile_test_code="int some_variable = 0;"
12212
12281
 
12213
12282
# Code to be used in simple link tests
12214
 
lt_simple_link_test_code='int main(int, char *[]) { return(0); }\n'
 
12283
lt_simple_link_test_code='int main(int, char *[]) { return(0); }'
12215
12284
 
12216
12285
# ltmain only uses $CC for tagged configurations so make sure $CC is set.
12217
12286
 
12227
12296
 
12228
12297
# save warnings/boilerplate of simple test code
12229
12298
ac_outfile=conftest.$ac_objext
12230
 
printf "$lt_simple_compile_test_code" >conftest.$ac_ext
 
12299
echo "$lt_simple_compile_test_code" >conftest.$ac_ext
12231
12300
eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
12232
12301
_lt_compiler_boilerplate=`cat conftest.err`
12233
12302
$rm conftest*
12234
12303
 
12235
12304
ac_outfile=conftest.$ac_objext
12236
 
printf "$lt_simple_link_test_code" >conftest.$ac_ext
 
12305
echo "$lt_simple_link_test_code" >conftest.$ac_ext
12237
12306
eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
12238
12307
_lt_linker_boilerplate=`cat conftest.err`
12239
12308
$rm conftest*
12492
12561
           strings "$collect2name" | grep resolve_lib_name >/dev/null
12493
12562
        then
12494
12563
          # We have reworked collect2
12495
 
          hardcode_direct_CXX=yes
 
12564
          :
12496
12565
        else
12497
12566
          # We have old collect2
12498
12567
          hardcode_direct_CXX=unsupported
12566
12635
       } && test -s conftest$ac_exeext &&
12567
12636
       $as_test_x conftest$ac_exeext; then
12568
12637
 
12569
 
aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0  *\(.*\)$/\1/; p; }
12570
 
}'`
 
12638
lt_aix_libpath_sed='
 
12639
    /Import File Strings/,/^$/ {
 
12640
        /^0/ {
 
12641
            s/^0  *\(.*\)$/\1/
 
12642
            p
 
12643
        }
 
12644
    }'
 
12645
aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
12571
12646
# Check for a 64-bit object if we didn't find anything.
12572
 
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; }
12573
 
}'`; fi
 
12647
if test -z "$aix_libpath"; then
 
12648
  aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
 
12649
fi
12574
12650
else
12575
12651
  echo "$as_me: failed program was:" >&5
12576
12652
sed 's/^/| /' conftest.$ac_ext >&5
12626
12702
       } && test -s conftest$ac_exeext &&
12627
12703
       $as_test_x conftest$ac_exeext; then
12628
12704
 
12629
 
aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0  *\(.*\)$/\1/; p; }
12630
 
}'`
 
12705
lt_aix_libpath_sed='
 
12706
    /Import File Strings/,/^$/ {
 
12707
        /^0/ {
 
12708
            s/^0  *\(.*\)$/\1/
 
12709
            p
 
12710
        }
 
12711
    }'
 
12712
aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
12631
12713
# Check for a 64-bit object if we didn't find anything.
12632
 
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; }
12633
 
}'`; fi
 
12714
if test -z "$aix_libpath"; then
 
12715
  aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
 
12716
fi
12634
12717
else
12635
12718
  echo "$as_me: failed program was:" >&5
12636
12719
sed 's/^/| /' conftest.$ac_ext >&5
12749
12832
      case $cc_basename in
12750
12833
        xlc*)
12751
12834
         output_verbose_link_cmd='echo'
12752
 
          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'
 
12835
          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'
12753
12836
          module_cmds_CXX='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
12754
12837
          # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin lds
12755
 
          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}'
 
12838
          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}'
12756
12839
          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}'
12757
12840
          ;;
12758
12841
       *)
12786
12869
  freebsd-elf*)
12787
12870
    archive_cmds_need_lc_CXX=no
12788
12871
    ;;
12789
 
  freebsd* | kfreebsd*-gnu | dragonfly*)
 
12872
  freebsd* | dragonfly*)
12790
12873
    # FreeBSD 3 and later use GNU C++ and GNU ld with standard ELF
12791
12874
    # conventions
12792
12875
    ld_shlibs_CXX=yes
12835
12918
      hardcode_libdir_separator_CXX=:
12836
12919
 
12837
12920
      case $host_cpu in
12838
 
      hppa*64*|ia64*)
12839
 
        hardcode_libdir_flag_spec_ld_CXX='+b $libdir'
12840
 
        ;;
 
12921
      hppa*64*|ia64*) ;;
12841
12922
      *)
12842
12923
        export_dynamic_flag_spec_CXX='${wl}-E'
12843
12924
        ;;
12905
12986
        ;;
12906
12987
    esac
12907
12988
    ;;
12908
 
  interix3*)
 
12989
  interix[3-9]*)
12909
12990
    hardcode_direct_CXX=no
12910
12991
    hardcode_shlibpath_var_CXX=no
12911
12992
    hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
12945
13026
    hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
12946
13027
    hardcode_libdir_separator_CXX=:
12947
13028
    ;;
12948
 
  linux*)
 
13029
  linux* | k*bsd*-gnu)
12949
13030
    case $cc_basename in
12950
13031
      KCC*)
12951
13032
        # Kuck and Associates, Inc. (KAI) C++ Compiler
13025
13106
        # dependencies.
13026
13107
        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'
13027
13108
        ;;
 
13109
      *)
 
13110
        case `$CC -V 2>&1 | sed 5q` in
 
13111
        *Sun\ C*)
 
13112
          # Sun C++ 5.9
 
13113
          no_undefined_flag_CXX=' -zdefs'
 
13114
          archive_cmds_CXX='$CC -G${allow_undefined_flag} -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
 
13115
          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'
 
13116
          hardcode_libdir_flag_spec_CXX='-R$libdir'
 
13117
          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'
 
13118
 
 
13119
          # Not sure whether something based on
 
13120
          # $CC $CFLAGS -v conftest.$objext -o libconftest$shared_ext 2>&1
 
13121
          # would be better.
 
13122
          output_verbose_link_cmd='echo'
 
13123
 
 
13124
          # Archives containing C++ object files must be created using
 
13125
          # "CC -xar", where "CC" is the Sun C++ compiler.  This is
 
13126
          # necessary to make sure instantiated templates are included
 
13127
          # in the archive.
 
13128
          old_archive_cmds_CXX='$CC -xar -o $oldlib $oldobjs'
 
13129
          ;;
 
13130
        esac
 
13131
        ;;
13028
13132
    esac
13029
13133
    ;;
13030
13134
  lynxos*)
13063
13167
    ld_shlibs_CXX=no
13064
13168
    ;;
13065
13169
  openbsd*)
13066
 
    hardcode_direct_CXX=yes
13067
 
    hardcode_shlibpath_var_CXX=no
13068
 
    archive_cmds_CXX='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $lib'
13069
 
    hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
13070
 
    if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
13071
 
      archive_expsym_cmds_CXX='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-retain-symbols-file,$export_symbols -o $lib'
13072
 
      export_dynamic_flag_spec_CXX='${wl}-E'
13073
 
      whole_archive_flag_spec_CXX="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
 
13170
    if test -f /usr/libexec/ld.so; then
 
13171
      hardcode_direct_CXX=yes
 
13172
      hardcode_shlibpath_var_CXX=no
 
13173
      archive_cmds_CXX='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $lib'
 
13174
      hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
 
13175
      if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
 
13176
        archive_expsym_cmds_CXX='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-retain-symbols-file,$export_symbols -o $lib'
 
13177
        export_dynamic_flag_spec_CXX='${wl}-E'
 
13178
        whole_archive_flag_spec_CXX="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
 
13179
      fi
 
13180
      output_verbose_link_cmd='echo'
 
13181
    else
 
13182
      ld_shlibs_CXX=no
13074
13183
    fi
13075
 
    output_verbose_link_cmd='echo'
13076
13184
    ;;
13077
13185
  osf3*)
13078
13186
    case $cc_basename in
13234
13342
        case $host_os in
13235
13343
          solaris2.[0-5] | solaris2.[0-5].*) ;;
13236
13344
          *)
13237
 
            # The C++ compiler is used as linker so we must use $wl
13238
 
            # flag to pass the commands to the underlying system
13239
 
            # linker. We must also pass each convience library through
13240
 
            # to the system linker between allextract/defaultextract.
13241
 
            # The C++ compiler will combine linker options so we
13242
 
            # cannot just pass the convience library names through
13243
 
            # without $wl.
 
13345
            # The compiler driver will combine and reorder linker options,
 
13346
            # but understands `-z linker_flag'.
13244
13347
            # Supported since Solaris 2.6 (maybe 2.5.1?)
13245
 
            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'
 
13348
            whole_archive_flag_spec_CXX='-z allextract$convenience -z defaultextract'
13246
13349
            ;;
13247
13350
        esac
13248
13351
        link_all_deplibs_CXX=yes
13289
13392
          fi
13290
13393
 
13291
13394
          hardcode_libdir_flag_spec_CXX='${wl}-R $wl$libdir'
 
13395
          case $host_os in
 
13396
          solaris2.[0-5] | solaris2.[0-5].*) ;;
 
13397
          *)
 
13398
            whole_archive_flag_spec_CXX='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
 
13399
            ;;
 
13400
          esac
13292
13401
        fi
13293
13402
        ;;
13294
13403
    esac
13480
13589
 
13481
13590
# PORTME: override above test on systems where it is broken
13482
13591
case $host_os in
13483
 
interix3*)
 
13592
interix[3-9]*)
13484
13593
  # Interix 3.5 installs completely hosed .la files for C++, so rather than
13485
13594
  # hack all around it, let's just trust "g++" to DTRT.
13486
13595
  predep_objects_CXX=
13488
13597
  postdeps_CXX=
13489
13598
  ;;
13490
13599
 
 
13600
linux*)
 
13601
  case `$CC -V 2>&1 | sed 5q` in
 
13602
  *Sun\ C*)
 
13603
    # Sun C++ 5.9
 
13604
    #
 
13605
    # The more standards-conforming stlport4 library is
 
13606
    # incompatible with the Cstd library. Avoid specifying
 
13607
    # it if it's in CXXFLAGS. Ignore libCrun as
 
13608
    # -library=stlport4 depends on it.
 
13609
    case " $CXX $CXXFLAGS " in
 
13610
    *" -library=stlport4 "*)
 
13611
      solaris_use_stlport4=yes
 
13612
      ;;
 
13613
    esac
 
13614
    if test "$solaris_use_stlport4" != yes; then
 
13615
      postdeps_CXX='-library=Cstd -library=Crun'
 
13616
    fi
 
13617
    ;;
 
13618
  esac
 
13619
  ;;
 
13620
 
13491
13621
solaris*)
13492
13622
  case $cc_basename in
13493
13623
  CC*)
 
13624
    # The more standards-conforming stlport4 library is
 
13625
    # incompatible with the Cstd library. Avoid specifying
 
13626
    # it if it's in CXXFLAGS. Ignore libCrun as
 
13627
    # -library=stlport4 depends on it.
 
13628
    case " $CXX $CXXFLAGS " in
 
13629
    *" -library=stlport4 "*)
 
13630
      solaris_use_stlport4=yes
 
13631
      ;;
 
13632
    esac
 
13633
 
13494
13634
    # Adding this requires a known-good setup of shared libraries for
13495
13635
    # Sun compiler versions before 5.6, else PIC objects from an old
13496
13636
    # archive will be linked into the output, leading to subtle bugs.
13497
 
    postdeps_CXX='-lCstd -lCrun'
 
13637
    if test "$solaris_use_stlport4" != yes; then
 
13638
      postdeps_CXX='-library=Cstd -library=Crun'
 
13639
    fi
13498
13640
    ;;
13499
13641
  esac
13500
13642
  ;;
13531
13673
      # like `-m68040'.
13532
13674
      lt_prog_compiler_pic_CXX='-m68020 -resident32 -malways-restore-a4'
13533
13675
      ;;
13534
 
    beos* | cygwin* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
 
13676
    beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
13535
13677
      # PIC is the default for these OSes.
13536
13678
      ;;
13537
 
    mingw* | os2* | pw32*)
 
13679
    mingw* | cygwin* | os2* | pw32*)
13538
13680
      # This hack is so that the source file can tell whether it is being
13539
13681
      # built for inclusion in a dll (and should export symbols for example).
 
13682
      # Although the cygwin gcc ignores -fPIC, still need this for old-style
 
13683
      # (--disable-auto-import) libraries
13540
13684
      lt_prog_compiler_pic_CXX='-DDLL_EXPORT'
13541
13685
      ;;
13542
13686
    darwin* | rhapsody*)
13548
13692
      # DJGPP does not support shared libraries at all
13549
13693
      lt_prog_compiler_pic_CXX=
13550
13694
      ;;
13551
 
    interix3*)
 
13695
    interix[3-9]*)
13552
13696
      # Interix 3.x gcc -fpic/-fPIC options generate broken code.
13553
13697
      # Instead, we relocate shared libraries at runtime.
13554
13698
      ;;
13614
13758
            ;;
13615
13759
        esac
13616
13760
        ;;
13617
 
      freebsd* | kfreebsd*-gnu | dragonfly*)
 
13761
      freebsd* | dragonfly*)
13618
13762
        # FreeBSD uses GNU C++
13619
13763
        ;;
13620
13764
      hpux9* | hpux10* | hpux11*)
13657
13801
            ;;
13658
13802
        esac
13659
13803
        ;;
13660
 
      linux*)
 
13804
      linux* | k*bsd*-gnu)
13661
13805
        case $cc_basename in
13662
13806
          KCC*)
13663
13807
            # KAI C++ Compiler
13684
13828
            lt_prog_compiler_static_CXX='-non_shared'
13685
13829
            ;;
13686
13830
          *)
 
13831
            case `$CC -V 2>&1 | sed 5q` in
 
13832
            *Sun\ C*)
 
13833
              # Sun C++ 5.9
 
13834
              lt_prog_compiler_pic_CXX='-KPIC'
 
13835
              lt_prog_compiler_static_CXX='-Bstatic'
 
13836
              lt_prog_compiler_wl_CXX='-Qoption ld '
 
13837
              ;;
 
13838
            esac
13687
13839
            ;;
13688
13840
        esac
13689
13841
        ;;
13798
13950
else
13799
13951
  lt_prog_compiler_pic_works_CXX=no
13800
13952
  ac_outfile=conftest.$ac_objext
13801
 
   printf "$lt_simple_compile_test_code" > conftest.$ac_ext
 
13953
   echo "$lt_simple_compile_test_code" > conftest.$ac_ext
13802
13954
   lt_compiler_flag="$lt_prog_compiler_pic_CXX -DPIC"
13803
13955
   # Insert the option either (1) after the last *FLAGS variable, or
13804
13956
   # (2) before a word containing "conftest.", or (3) at the end.
13809
13961
   -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
13810
13962
   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
13811
13963
   -e 's:$: $lt_compiler_flag:'`
13812
 
   (eval echo "\"\$as_me:13812: $lt_compile\"" >&5)
 
13964
   (eval echo "\"\$as_me:13964: $lt_compile\"" >&5)
13813
13965
   (eval "$lt_compile" 2>conftest.err)
13814
13966
   ac_status=$?
13815
13967
   cat conftest.err >&5
13816
 
   echo "$as_me:13816: \$? = $ac_status" >&5
 
13968
   echo "$as_me:13968: \$? = $ac_status" >&5
13817
13969
   if (exit $ac_status) && test -s "$ac_outfile"; then
13818
13970
     # The compiler can only warn and ignore the option if not recognized
13819
13971
     # So say no if there are warnings other than the usual output.
13862
14014
  lt_prog_compiler_static_works_CXX=no
13863
14015
   save_LDFLAGS="$LDFLAGS"
13864
14016
   LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
13865
 
   printf "$lt_simple_link_test_code" > conftest.$ac_ext
 
14017
   echo "$lt_simple_link_test_code" > conftest.$ac_ext
13866
14018
   if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
13867
14019
     # The linker can only warn and ignore the option if not recognized
13868
14020
     # So say no if there are warnings
13902
14054
   mkdir conftest
13903
14055
   cd conftest
13904
14056
   mkdir out
13905
 
   printf "$lt_simple_compile_test_code" > conftest.$ac_ext
 
14057
   echo "$lt_simple_compile_test_code" > conftest.$ac_ext
13906
14058
 
13907
14059
   lt_compiler_flag="-o out/conftest2.$ac_objext"
13908
14060
   # Insert the option either (1) after the last *FLAGS variable, or
13913
14065
   -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
13914
14066
   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
13915
14067
   -e 's:$: $lt_compiler_flag:'`
13916
 
   (eval echo "\"\$as_me:13916: $lt_compile\"" >&5)
 
14068
   (eval echo "\"\$as_me:14068: $lt_compile\"" >&5)
13917
14069
   (eval "$lt_compile" 2>out/conftest.err)
13918
14070
   ac_status=$?
13919
14071
   cat out/conftest.err >&5
13920
 
   echo "$as_me:13920: \$? = $ac_status" >&5
 
14072
   echo "$as_me:14072: \$? = $ac_status" >&5
13921
14073
   if (exit $ac_status) && test -s out/conftest2.$ac_objext
13922
14074
   then
13923
14075
     # The compiler can only warn and ignore the option if not recognized
13983
14135
    export_symbols_cmds_CXX="$ltdll_cmds"
13984
14136
  ;;
13985
14137
  cygwin* | mingw*)
13986
 
    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'
 
14138
    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'
13987
14139
  ;;
13988
14140
  *)
13989
14141
    export_symbols_cmds_CXX='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
14014
14166
      { echo "$as_me:$LINENO: checking whether -lc should be explicitly linked in" >&5
14015
14167
echo $ECHO_N "checking whether -lc should be explicitly linked in... $ECHO_C" >&6; }
14016
14168
      $rm conftest*
14017
 
      printf "$lt_simple_compile_test_code" > conftest.$ac_ext
 
14169
      echo "$lt_simple_compile_test_code" > conftest.$ac_ext
14018
14170
 
14019
14171
      if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14020
14172
  (eval $ac_compile) 2>&5
14072
14224
version_type=none
14073
14225
dynamic_linker="$host_os ld.so"
14074
14226
sys_lib_dlsearch_path_spec="/lib /usr/lib"
14075
 
if test "$GCC" = yes; then
14076
 
  sys_lib_search_path_spec=`$CC -print-search-dirs | grep "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
14077
 
  if echo "$sys_lib_search_path_spec" | grep ';' >/dev/null ; then
14078
 
    # if the path contains ";" then we assume it to be the separator
14079
 
    # otherwise default to the standard path separator (i.e. ":") - it is
14080
 
    # assumed that no part of a normal pathname contains ";" but that should
14081
 
    # okay in the real world where ";" in dirpaths is itself problematic.
14082
 
    sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
14083
 
  else
14084
 
    sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED  -e "s/$PATH_SEPARATOR/ /g"`
14085
 
  fi
14086
 
else
14087
 
  sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"
14088
 
fi
 
14227
 
14089
14228
need_lib_prefix=unknown
14090
14229
hardcode_into_libs=no
14091
14230
 
14242
14381
  shlibpath_overrides_runpath=yes
14243
14382
  shlibpath_var=DYLD_LIBRARY_PATH
14244
14383
  shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`'
14245
 
  # Apple's gcc prints 'gcc -print-search-dirs' doesn't operate the same.
14246
 
  if test "$GCC" = yes; then
14247
 
    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"`
14248
 
  else
14249
 
    sys_lib_search_path_spec='/lib /usr/lib /usr/local/lib'
14250
 
  fi
 
14384
 
14251
14385
  sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
14252
14386
  ;;
14253
14387
 
14264
14398
  dynamic_linker=no
14265
14399
  ;;
14266
14400
 
14267
 
kfreebsd*-gnu)
14268
 
  version_type=linux
14269
 
  need_lib_prefix=no
14270
 
  need_version=no
14271
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
14272
 
  soname_spec='${libname}${release}${shared_ext}$major'
14273
 
  shlibpath_var=LD_LIBRARY_PATH
14274
 
  shlibpath_overrides_runpath=no
14275
 
  hardcode_into_libs=yes
14276
 
  dynamic_linker='GNU ld.so'
14277
 
  ;;
14278
 
 
14279
14401
freebsd* | dragonfly*)
14280
14402
  # DragonFly does not have aout.  When/if they implement a new
14281
14403
  # versioning mechanism, adjust this.
14313
14435
    shlibpath_overrides_runpath=no
14314
14436
    hardcode_into_libs=yes
14315
14437
    ;;
14316
 
  freebsd*) # from 4.6 on
 
14438
  *) # from 4.6 on, and DragonFly
14317
14439
    shlibpath_overrides_runpath=yes
14318
14440
    hardcode_into_libs=yes
14319
14441
    ;;
14376
14498
  postinstall_cmds='chmod 555 $lib'
14377
14499
  ;;
14378
14500
 
14379
 
interix3*)
 
14501
interix[3-9]*)
14380
14502
  version_type=linux
14381
14503
  need_lib_prefix=no
14382
14504
  need_version=no
14431
14553
  ;;
14432
14554
 
14433
14555
# This must be Linux ELF.
14434
 
linux*)
 
14556
linux* | k*bsd*-gnu)
14435
14557
  version_type=linux
14436
14558
  need_lib_prefix=no
14437
14559
  need_version=no
14444
14566
  # Some rework will be needed to allow for fast_install
14445
14567
  # before this can be enabled.
14446
14568
  hardcode_into_libs=yes
14447
 
 
14448
 
  # find out which ABI we are using
14449
 
  libsuff=
14450
 
  case "$host_cpu" in
14451
 
  x86_64*|s390x*|powerpc64*)
14452
 
    echo '#line 14452 "configure"' > conftest.$ac_ext
14453
 
    if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14454
 
  (eval $ac_compile) 2>&5
14455
 
  ac_status=$?
14456
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
14457
 
  (exit $ac_status); }; then
14458
 
      case `/usr/bin/file conftest.$ac_objext` in
14459
 
      *64-bit*)
14460
 
        libsuff=64
14461
 
        sys_lib_search_path_spec="/lib${libsuff} /usr/lib${libsuff} /usr/local/lib${libsuff}"
14462
 
        ;;
14463
 
      esac
14464
 
    fi
14465
 
    rm -rf conftest*
14466
 
    ;;
14467
 
  esac
 
14569
  sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
 
14570
  sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}"
14468
14571
 
14469
14572
  # Append ld.so.conf contents to the search path
14470
14573
  if test -f /etc/ld.so.conf; then
14471
 
    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/^       *//;s/#.*//;/^[^\/]/d;s/[:,    ]/ /g;s/=[^=]*$//;s/=[^= ]* / /g;/^$/d' | tr '\n' ' '`
14472
 
    sys_lib_dlsearch_path_spec="/lib${libsuff} /usr/lib${libsuff} $lt_ld_extra"
 
14574
    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' ' '`
 
14575
    sys_lib_dlsearch_path_spec="$sys_lib_dlsearch_path_spec $lt_ld_extra"
14473
14576
  fi
14474
14577
 
14475
14578
  # We used to test for /lib/ld.so.1 and disable shared libraries on
14481
14584
  dynamic_linker='GNU/Linux ld.so'
14482
14585
  ;;
14483
14586
 
14484
 
knetbsd*-gnu)
14485
 
  version_type=linux
14486
 
  need_lib_prefix=no
14487
 
  need_version=no
14488
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
14489
 
  soname_spec='${libname}${release}${shared_ext}$major'
14490
 
  shlibpath_var=LD_LIBRARY_PATH
14491
 
  shlibpath_overrides_runpath=no
14492
 
  hardcode_into_libs=yes
14493
 
  dynamic_linker='GNU ld.so'
14494
 
  ;;
14495
 
 
14496
14587
netbsd*)
14497
14588
  version_type=sunos
14498
14589
  need_lib_prefix=no
14574
14665
  sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec"
14575
14666
  ;;
14576
14667
 
 
14668
rdos*)
 
14669
  dynamic_linker=no
 
14670
  ;;
 
14671
 
14577
14672
solaris*)
14578
14673
  version_type=linux
14579
14674
  need_lib_prefix=no
14768
14863
    module_cmds_CXX \
14769
14864
    module_expsym_cmds_CXX \
14770
14865
    lt_cv_prog_compiler_c_o_CXX \
 
14866
    fix_srcfile_path_CXX \
14771
14867
    exclude_expsyms_CXX \
14772
14868
    include_expsyms_CXX; do
14773
14869
 
15088
15184
sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
15089
15185
 
15090
15186
# Fix the shell variable \$srcfile for the compiler.
15091
 
fix_srcfile_path="$fix_srcfile_path_CXX"
 
15187
fix_srcfile_path=$lt_fix_srcfile_path
15092
15188
 
15093
15189
# Set to yes if exported symbols are required.
15094
15190
always_export_symbols=$always_export_symbols_CXX
15179
15275
objext_F77=$objext
15180
15276
 
15181
15277
# Code to be used in simple compile tests
15182
 
lt_simple_compile_test_code="      subroutine t\n      return\n      end\n"
 
15278
lt_simple_compile_test_code="\
 
15279
      subroutine t
 
15280
      return
 
15281
      end
 
15282
"
15183
15283
 
15184
15284
# Code to be used in simple link tests
15185
 
lt_simple_link_test_code="      program t\n      end\n"
 
15285
lt_simple_link_test_code="\
 
15286
      program t
 
15287
      end
 
15288
"
15186
15289
 
15187
15290
# ltmain only uses $CC for tagged configurations so make sure $CC is set.
15188
15291
 
15198
15301
 
15199
15302
# save warnings/boilerplate of simple test code
15200
15303
ac_outfile=conftest.$ac_objext
15201
 
printf "$lt_simple_compile_test_code" >conftest.$ac_ext
 
15304
echo "$lt_simple_compile_test_code" >conftest.$ac_ext
15202
15305
eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
15203
15306
_lt_compiler_boilerplate=`cat conftest.err`
15204
15307
$rm conftest*
15205
15308
 
15206
15309
ac_outfile=conftest.$ac_objext
15207
 
printf "$lt_simple_link_test_code" >conftest.$ac_ext
 
15310
echo "$lt_simple_link_test_code" >conftest.$ac_ext
15208
15311
eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
15209
15312
_lt_linker_boilerplate=`cat conftest.err`
15210
15313
$rm conftest*
15291
15394
      lt_prog_compiler_pic_F77='-m68020 -resident32 -malways-restore-a4'
15292
15395
      ;;
15293
15396
 
15294
 
    beos* | cygwin* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
 
15397
    beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
15295
15398
      # PIC is the default for these OSes.
15296
15399
      ;;
15297
15400
 
15298
 
    mingw* | pw32* | os2*)
 
15401
    mingw* | cygwin* | pw32* | os2*)
15299
15402
      # This hack is so that the source file can tell whether it is being
15300
15403
      # built for inclusion in a dll (and should export symbols for example).
 
15404
      # Although the cygwin gcc ignores -fPIC, still need this for old-style
 
15405
      # (--disable-auto-import) libraries
15301
15406
      lt_prog_compiler_pic_F77='-DDLL_EXPORT'
15302
15407
      ;;
15303
15408
 
15307
15412
      lt_prog_compiler_pic_F77='-fno-common'
15308
15413
      ;;
15309
15414
 
15310
 
    interix3*)
 
15415
    interix[3-9]*)
15311
15416
      # Interix 3.x gcc -fpic/-fPIC options generate broken code.
15312
15417
      # Instead, we relocate shared libraries at runtime.
15313
15418
      ;;
15365
15470
       esac
15366
15471
       ;;
15367
15472
 
15368
 
    mingw* | pw32* | os2*)
 
15473
    mingw* | cygwin* | pw32* | os2*)
15369
15474
      # This hack is so that the source file can tell whether it is being
15370
15475
      # built for inclusion in a dll (and should export symbols for example).
15371
15476
      lt_prog_compiler_pic_F77='-DDLL_EXPORT'
15398
15503
      lt_prog_compiler_static_F77='-Bstatic'
15399
15504
      ;;
15400
15505
 
15401
 
    linux*)
 
15506
    linux* | k*bsd*-gnu)
15402
15507
      case $cc_basename in
15403
15508
      icc* | ecc*)
15404
15509
        lt_prog_compiler_wl_F77='-Wl,'
15417
15522
        # All Alpha code is PIC.
15418
15523
        lt_prog_compiler_static_F77='-non_shared'
15419
15524
        ;;
 
15525
      *)
 
15526
        case `$CC -V 2>&1 | sed 5q` in
 
15527
        *Sun\ C*)
 
15528
          # Sun C 5.9
 
15529
          lt_prog_compiler_pic_F77='-KPIC'
 
15530
          lt_prog_compiler_static_F77='-Bstatic'
 
15531
          lt_prog_compiler_wl_F77='-Wl,'
 
15532
          ;;
 
15533
        *Sun\ F*)
 
15534
          # Sun Fortran 8.3 passes all unrecognized flags to the linker
 
15535
          lt_prog_compiler_pic_F77='-KPIC'
 
15536
          lt_prog_compiler_static_F77='-Bstatic'
 
15537
          lt_prog_compiler_wl_F77=''
 
15538
          ;;
 
15539
        esac
 
15540
        ;;
15420
15541
      esac
15421
15542
      ;;
15422
15543
 
15426
15547
      lt_prog_compiler_static_F77='-non_shared'
15427
15548
      ;;
15428
15549
 
 
15550
    rdos*)
 
15551
      lt_prog_compiler_static_F77='-non_shared'
 
15552
      ;;
 
15553
 
15429
15554
    solaris*)
15430
15555
      lt_prog_compiler_pic_F77='-KPIC'
15431
15556
      lt_prog_compiler_static_F77='-Bstatic'
15493
15618
else
15494
15619
  lt_prog_compiler_pic_works_F77=no
15495
15620
  ac_outfile=conftest.$ac_objext
15496
 
   printf "$lt_simple_compile_test_code" > conftest.$ac_ext
 
15621
   echo "$lt_simple_compile_test_code" > conftest.$ac_ext
15497
15622
   lt_compiler_flag="$lt_prog_compiler_pic_F77"
15498
15623
   # Insert the option either (1) after the last *FLAGS variable, or
15499
15624
   # (2) before a word containing "conftest.", or (3) at the end.
15504
15629
   -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
15505
15630
   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
15506
15631
   -e 's:$: $lt_compiler_flag:'`
15507
 
   (eval echo "\"\$as_me:15507: $lt_compile\"" >&5)
 
15632
   (eval echo "\"\$as_me:15632: $lt_compile\"" >&5)
15508
15633
   (eval "$lt_compile" 2>conftest.err)
15509
15634
   ac_status=$?
15510
15635
   cat conftest.err >&5
15511
 
   echo "$as_me:15511: \$? = $ac_status" >&5
 
15636
   echo "$as_me:15636: \$? = $ac_status" >&5
15512
15637
   if (exit $ac_status) && test -s "$ac_outfile"; then
15513
15638
     # The compiler can only warn and ignore the option if not recognized
15514
15639
     # So say no if there are warnings other than the usual output.
15557
15682
  lt_prog_compiler_static_works_F77=no
15558
15683
   save_LDFLAGS="$LDFLAGS"
15559
15684
   LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
15560
 
   printf "$lt_simple_link_test_code" > conftest.$ac_ext
 
15685
   echo "$lt_simple_link_test_code" > conftest.$ac_ext
15561
15686
   if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
15562
15687
     # The linker can only warn and ignore the option if not recognized
15563
15688
     # So say no if there are warnings
15597
15722
   mkdir conftest
15598
15723
   cd conftest
15599
15724
   mkdir out
15600
 
   printf "$lt_simple_compile_test_code" > conftest.$ac_ext
 
15725
   echo "$lt_simple_compile_test_code" > conftest.$ac_ext
15601
15726
 
15602
15727
   lt_compiler_flag="-o out/conftest2.$ac_objext"
15603
15728
   # Insert the option either (1) after the last *FLAGS variable, or
15608
15733
   -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
15609
15734
   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
15610
15735
   -e 's:$: $lt_compiler_flag:'`
15611
 
   (eval echo "\"\$as_me:15611: $lt_compile\"" >&5)
 
15736
   (eval echo "\"\$as_me:15736: $lt_compile\"" >&5)
15612
15737
   (eval "$lt_compile" 2>out/conftest.err)
15613
15738
   ac_status=$?
15614
15739
   cat out/conftest.err >&5
15615
 
   echo "$as_me:15615: \$? = $ac_status" >&5
 
15740
   echo "$as_me:15740: \$? = $ac_status" >&5
15616
15741
   if (exit $ac_status) && test -s out/conftest2.$ac_objext
15617
15742
   then
15618
15743
     # The compiler can only warn and ignore the option if not recognized
15804
15929
      allow_undefined_flag_F77=unsupported
15805
15930
      always_export_symbols_F77=no
15806
15931
      enable_shared_with_static_runtimes_F77=yes
15807
 
      export_symbols_cmds_F77='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS] /s/.* \([^ ]*\)/\1 DATA/'\'' | $SED -e '\''/^[AITW] /s/.* //'\'' | sort | uniq > $export_symbols'
 
15932
      export_symbols_cmds_F77='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1 DATA/'\'' -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols'
15808
15933
 
15809
15934
      if $LD --help 2>&1 | grep 'auto-import' > /dev/null; then
15810
15935
        archive_cmds_F77='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
15822
15947
      fi
15823
15948
      ;;
15824
15949
 
15825
 
    interix3*)
 
15950
    interix[3-9]*)
15826
15951
      hardcode_direct_F77=no
15827
15952
      hardcode_shlibpath_var_F77=no
15828
15953
      hardcode_libdir_flag_spec_F77='${wl}-rpath,$libdir'
15837
15962
      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'
15838
15963
      ;;
15839
15964
 
15840
 
    linux*)
 
15965
    gnu* | linux* | k*bsd*-gnu)
15841
15966
      if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
15842
15967
        tmp_addflag=
15843
15968
        case $cc_basename,$host_cpu in
15855
15980
        ifc* | ifort*)                  # Intel Fortran compiler
15856
15981
          tmp_addflag=' -nofor_main' ;;
15857
15982
        esac
15858
 
        archive_cmds_F77='$CC -shared'"$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
 
15983
        case `$CC -V 2>&1 | sed 5q` in
 
15984
        *Sun\ C*)                       # Sun C 5.9
 
15985
          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'
 
15986
          tmp_sharedflag='-G' ;;
 
15987
        *Sun\ F*)                       # Sun Fortran 8.3
 
15988
          tmp_sharedflag='-G' ;;
 
15989
        *)
 
15990
          tmp_sharedflag='-shared' ;;
 
15991
        esac
 
15992
        archive_cmds_F77='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
15859
15993
 
15860
15994
        if test $supports_anon_versioning = yes; then
15861
15995
          archive_expsym_cmds_F77='$echo "{ global:" > $output_objdir/$libname.ver~
15862
15996
  cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
15863
15997
  $echo "local: *; };" >> $output_objdir/$libname.ver~
15864
 
          $CC -shared'"$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
 
15998
          $CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
15865
15999
        fi
15866
16000
      else
15867
16001
        ld_shlibs_F77=no
16020
16154
           strings "$collect2name" | grep resolve_lib_name >/dev/null
16021
16155
          then
16022
16156
          # We have reworked collect2
16023
 
          hardcode_direct_F77=yes
 
16157
          :
16024
16158
          else
16025
16159
          # We have old collect2
16026
16160
          hardcode_direct_F77=unsupported
16084
16218
       } && test -s conftest$ac_exeext &&
16085
16219
       $as_test_x conftest$ac_exeext; then
16086
16220
 
16087
 
aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0  *\(.*\)$/\1/; p; }
16088
 
}'`
 
16221
lt_aix_libpath_sed='
 
16222
    /Import File Strings/,/^$/ {
 
16223
        /^0/ {
 
16224
            s/^0  *\(.*\)$/\1/
 
16225
            p
 
16226
        }
 
16227
    }'
 
16228
aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
16089
16229
# Check for a 64-bit object if we didn't find anything.
16090
 
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; }
16091
 
}'`; fi
 
16230
if test -z "$aix_libpath"; then
 
16231
  aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
 
16232
fi
16092
16233
else
16093
16234
  echo "$as_me: failed program was:" >&5
16094
16235
sed 's/^/| /' conftest.$ac_ext >&5
16133
16274
       } && test -s conftest$ac_exeext &&
16134
16275
       $as_test_x conftest$ac_exeext; then
16135
16276
 
16136
 
aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0  *\(.*\)$/\1/; p; }
16137
 
}'`
 
16277
lt_aix_libpath_sed='
 
16278
    /Import File Strings/,/^$/ {
 
16279
        /^0/ {
 
16280
            s/^0  *\(.*\)$/\1/
 
16281
            p
 
16282
        }
 
16283
    }'
 
16284
aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
16138
16285
# Check for a 64-bit object if we didn't find anything.
16139
 
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; }
16140
 
}'`; fi
 
16286
if test -z "$aix_libpath"; then
 
16287
  aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
 
16288
fi
16141
16289
else
16142
16290
  echo "$as_me: failed program was:" >&5
16143
16291
sed 's/^/| /' conftest.$ac_ext >&5
16191
16339
      # The linker will automatically build a .lib file if we build a DLL.
16192
16340
      old_archive_From_new_cmds_F77='true'
16193
16341
      # FIXME: Should let the user specify the lib program.
16194
 
      old_archive_cmds_F77='lib /OUT:$oldlib$oldobjs$old_deplibs'
 
16342
      old_archive_cmds_F77='lib -OUT:$oldlib$oldobjs$old_deplibs'
16195
16343
      fix_srcfile_path_F77='`cygpath -w "$srcfile"`'
16196
16344
      enable_shared_with_static_runtimes_F77=yes
16197
16345
      ;;
16233
16381
      case $cc_basename in
16234
16382
        xlc*)
16235
16383
         output_verbose_link_cmd='echo'
16236
 
         archive_cmds_F77='$CC -qmkshrobj $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-install_name ${wl}`echo $rpath/$soname` $verstring'
 
16384
         archive_cmds_F77='$CC -qmkshrobj $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-install_name ${wl}`echo $rpath/$soname` $xlcverstring'
16237
16385
         module_cmds_F77='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
16238
16386
          # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin lds
16239
 
         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}'
 
16387
         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}'
16240
16388
          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}'
16241
16389
          ;;
16242
16390
       *)
16276
16424
      ;;
16277
16425
 
16278
16426
    # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
16279
 
    freebsd* | kfreebsd*-gnu | dragonfly*)
 
16427
    freebsd* | dragonfly*)
16280
16428
      archive_cmds_F77='$CC -shared -o $lib $libobjs $deplibs $compiler_flags'
16281
16429
      hardcode_libdir_flag_spec_F77='-R$libdir'
16282
16430
      hardcode_direct_F77=yes
16398
16546
      ;;
16399
16547
 
16400
16548
    openbsd*)
16401
 
      hardcode_direct_F77=yes
16402
 
      hardcode_shlibpath_var_F77=no
16403
 
      if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
16404
 
        archive_cmds_F77='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
16405
 
        archive_expsym_cmds_F77='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols'
16406
 
        hardcode_libdir_flag_spec_F77='${wl}-rpath,$libdir'
16407
 
        export_dynamic_flag_spec_F77='${wl}-E'
 
16549
      if test -f /usr/libexec/ld.so; then
 
16550
        hardcode_direct_F77=yes
 
16551
        hardcode_shlibpath_var_F77=no
 
16552
        if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
 
16553
          archive_cmds_F77='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
 
16554
          archive_expsym_cmds_F77='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols'
 
16555
          hardcode_libdir_flag_spec_F77='${wl}-rpath,$libdir'
 
16556
          export_dynamic_flag_spec_F77='${wl}-E'
 
16557
        else
 
16558
          case $host_os in
 
16559
           openbsd[01].* | openbsd2.[0-7] | openbsd2.[0-7].*)
 
16560
             archive_cmds_F77='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
 
16561
             hardcode_libdir_flag_spec_F77='-R$libdir'
 
16562
             ;;
 
16563
           *)
 
16564
             archive_cmds_F77='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
 
16565
             hardcode_libdir_flag_spec_F77='${wl}-rpath,$libdir'
 
16566
             ;;
 
16567
          esac
 
16568
        fi
16408
16569
      else
16409
 
       case $host_os in
16410
 
         openbsd[01].* | openbsd2.[0-7] | openbsd2.[0-7].*)
16411
 
           archive_cmds_F77='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
16412
 
           hardcode_libdir_flag_spec_F77='-R$libdir'
16413
 
           ;;
16414
 
         *)
16415
 
           archive_cmds_F77='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
16416
 
           hardcode_libdir_flag_spec_F77='${wl}-rpath,$libdir'
16417
 
           ;;
16418
 
       esac
 
16570
        ld_shlibs_F77=no
16419
16571
      fi
16420
16572
      ;;
16421
16573
 
16474
16626
      case $host_os in
16475
16627
      solaris2.[0-5] | solaris2.[0-5].*) ;;
16476
16628
      *)
16477
 
        # The compiler driver will combine linker options so we
16478
 
        # cannot just pass the convience library names through
16479
 
        # without $wl, iff we do not link with $LD.
16480
 
        # Luckily, gcc supports the same syntax we need for Sun Studio.
 
16629
        # The compiler driver will combine and reorder linker options,
 
16630
        # but understands `-z linker_flag'.  GCC discards it without `$wl',
 
16631
        # but is careful enough not to reorder.
16481
16632
        # Supported since Solaris 2.6 (maybe 2.5.1?)
16482
 
        case $wlarc in
16483
 
        '')
16484
 
          whole_archive_flag_spec_F77='-z allextract$convenience -z defaultextract' ;;
16485
 
        *)
16486
 
          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' ;;
16487
 
        esac ;;
 
16633
        if test "$GCC" = yes; then
 
16634
          whole_archive_flag_spec_F77='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
 
16635
        else
 
16636
          whole_archive_flag_spec_F77='-z allextract$convenience -z defaultextract'
 
16637
        fi
 
16638
        ;;
16488
16639
      esac
16489
16640
      link_all_deplibs_F77=yes
16490
16641
      ;;
16541
16692
      fi
16542
16693
      ;;
16543
16694
 
16544
 
    sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7*)
 
16695
    sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7* | sco3.2v5.0.[024]*)
16545
16696
      no_undefined_flag_F77='${wl}-z,text'
16546
16697
      archive_cmds_need_lc_F77=no
16547
16698
      hardcode_shlibpath_var_F77=no
16618
16769
      { echo "$as_me:$LINENO: checking whether -lc should be explicitly linked in" >&5
16619
16770
echo $ECHO_N "checking whether -lc should be explicitly linked in... $ECHO_C" >&6; }
16620
16771
      $rm conftest*
16621
 
      printf "$lt_simple_compile_test_code" > conftest.$ac_ext
 
16772
      echo "$lt_simple_compile_test_code" > conftest.$ac_ext
16622
16773
 
16623
16774
      if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16624
16775
  (eval $ac_compile) 2>&5
16676
16827
version_type=none
16677
16828
dynamic_linker="$host_os ld.so"
16678
16829
sys_lib_dlsearch_path_spec="/lib /usr/lib"
16679
 
if test "$GCC" = yes; then
16680
 
  sys_lib_search_path_spec=`$CC -print-search-dirs | grep "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
16681
 
  if echo "$sys_lib_search_path_spec" | grep ';' >/dev/null ; then
16682
 
    # if the path contains ";" then we assume it to be the separator
16683
 
    # otherwise default to the standard path separator (i.e. ":") - it is
16684
 
    # assumed that no part of a normal pathname contains ";" but that should
16685
 
    # okay in the real world where ";" in dirpaths is itself problematic.
16686
 
    sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
16687
 
  else
16688
 
    sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED  -e "s/$PATH_SEPARATOR/ /g"`
16689
 
  fi
16690
 
else
16691
 
  sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"
16692
 
fi
 
16830
 
16693
16831
need_lib_prefix=unknown
16694
16832
hardcode_into_libs=no
16695
16833
 
16846
16984
  shlibpath_overrides_runpath=yes
16847
16985
  shlibpath_var=DYLD_LIBRARY_PATH
16848
16986
  shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`'
16849
 
  # Apple's gcc prints 'gcc -print-search-dirs' doesn't operate the same.
16850
 
  if test "$GCC" = yes; then
16851
 
    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"`
16852
 
  else
16853
 
    sys_lib_search_path_spec='/lib /usr/lib /usr/local/lib'
16854
 
  fi
 
16987
 
16855
16988
  sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
16856
16989
  ;;
16857
16990
 
16868
17001
  dynamic_linker=no
16869
17002
  ;;
16870
17003
 
16871
 
kfreebsd*-gnu)
16872
 
  version_type=linux
16873
 
  need_lib_prefix=no
16874
 
  need_version=no
16875
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
16876
 
  soname_spec='${libname}${release}${shared_ext}$major'
16877
 
  shlibpath_var=LD_LIBRARY_PATH
16878
 
  shlibpath_overrides_runpath=no
16879
 
  hardcode_into_libs=yes
16880
 
  dynamic_linker='GNU ld.so'
16881
 
  ;;
16882
 
 
16883
17004
freebsd* | dragonfly*)
16884
17005
  # DragonFly does not have aout.  When/if they implement a new
16885
17006
  # versioning mechanism, adjust this.
16917
17038
    shlibpath_overrides_runpath=no
16918
17039
    hardcode_into_libs=yes
16919
17040
    ;;
16920
 
  freebsd*) # from 4.6 on
 
17041
  *) # from 4.6 on, and DragonFly
16921
17042
    shlibpath_overrides_runpath=yes
16922
17043
    hardcode_into_libs=yes
16923
17044
    ;;
16980
17101
  postinstall_cmds='chmod 555 $lib'
16981
17102
  ;;
16982
17103
 
16983
 
interix3*)
 
17104
interix[3-9]*)
16984
17105
  version_type=linux
16985
17106
  need_lib_prefix=no
16986
17107
  need_version=no
17035
17156
  ;;
17036
17157
 
17037
17158
# This must be Linux ELF.
17038
 
linux*)
 
17159
linux* | k*bsd*-gnu)
17039
17160
  version_type=linux
17040
17161
  need_lib_prefix=no
17041
17162
  need_version=no
17048
17169
  # Some rework will be needed to allow for fast_install
17049
17170
  # before this can be enabled.
17050
17171
  hardcode_into_libs=yes
17051
 
 
17052
 
  # find out which ABI we are using
17053
 
  libsuff=
17054
 
  case "$host_cpu" in
17055
 
  x86_64*|s390x*|powerpc64*)
17056
 
    echo '#line 17056 "configure"' > conftest.$ac_ext
17057
 
    if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17058
 
  (eval $ac_compile) 2>&5
17059
 
  ac_status=$?
17060
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
17061
 
  (exit $ac_status); }; then
17062
 
      case `/usr/bin/file conftest.$ac_objext` in
17063
 
      *64-bit*)
17064
 
        libsuff=64
17065
 
        sys_lib_search_path_spec="/lib${libsuff} /usr/lib${libsuff} /usr/local/lib${libsuff}"
17066
 
        ;;
17067
 
      esac
17068
 
    fi
17069
 
    rm -rf conftest*
17070
 
    ;;
17071
 
  esac
 
17172
  sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
 
17173
  sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}"
17072
17174
 
17073
17175
  # Append ld.so.conf contents to the search path
17074
17176
  if test -f /etc/ld.so.conf; then
17075
 
    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/^       *//;s/#.*//;/^[^\/]/d;s/[:,    ]/ /g;s/=[^=]*$//;s/=[^= ]* / /g;/^$/d' | tr '\n' ' '`
17076
 
    sys_lib_dlsearch_path_spec="/lib${libsuff} /usr/lib${libsuff} $lt_ld_extra"
 
17177
    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' ' '`
 
17178
    sys_lib_dlsearch_path_spec="$sys_lib_dlsearch_path_spec $lt_ld_extra"
17077
17179
  fi
17078
17180
 
17079
17181
  # We used to test for /lib/ld.so.1 and disable shared libraries on
17085
17187
  dynamic_linker='GNU/Linux ld.so'
17086
17188
  ;;
17087
17189
 
17088
 
knetbsd*-gnu)
17089
 
  version_type=linux
17090
 
  need_lib_prefix=no
17091
 
  need_version=no
17092
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
17093
 
  soname_spec='${libname}${release}${shared_ext}$major'
17094
 
  shlibpath_var=LD_LIBRARY_PATH
17095
 
  shlibpath_overrides_runpath=no
17096
 
  hardcode_into_libs=yes
17097
 
  dynamic_linker='GNU ld.so'
17098
 
  ;;
17099
 
 
17100
17190
netbsd*)
17101
17191
  version_type=sunos
17102
17192
  need_lib_prefix=no
17178
17268
  sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec"
17179
17269
  ;;
17180
17270
 
 
17271
rdos*)
 
17272
  dynamic_linker=no
 
17273
  ;;
 
17274
 
17181
17275
solaris*)
17182
17276
  version_type=linux
17183
17277
  need_lib_prefix=no
17372
17466
    module_cmds_F77 \
17373
17467
    module_expsym_cmds_F77 \
17374
17468
    lt_cv_prog_compiler_c_o_F77 \
 
17469
    fix_srcfile_path_F77 \
17375
17470
    exclude_expsyms_F77 \
17376
17471
    include_expsyms_F77; do
17377
17472
 
17692
17787
sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
17693
17788
 
17694
17789
# Fix the shell variable \$srcfile for the compiler.
17695
 
fix_srcfile_path="$fix_srcfile_path_F77"
 
17790
fix_srcfile_path=$lt_fix_srcfile_path
17696
17791
 
17697
17792
# Set to yes if exported symbols are required.
17698
17793
always_export_symbols=$always_export_symbols_F77
17750
17845
objext_GCJ=$objext
17751
17846
 
17752
17847
# Code to be used in simple compile tests
17753
 
lt_simple_compile_test_code="class foo {}\n"
 
17848
lt_simple_compile_test_code="class foo {}"
17754
17849
 
17755
17850
# Code to be used in simple link tests
17756
 
lt_simple_link_test_code='public class conftest { public static void main(String[] argv) {}; }\n'
 
17851
lt_simple_link_test_code='public class conftest { public static void main(String[] argv) {}; }'
17757
17852
 
17758
17853
# ltmain only uses $CC for tagged configurations so make sure $CC is set.
17759
17854
 
17769
17864
 
17770
17865
# save warnings/boilerplate of simple test code
17771
17866
ac_outfile=conftest.$ac_objext
17772
 
printf "$lt_simple_compile_test_code" >conftest.$ac_ext
 
17867
echo "$lt_simple_compile_test_code" >conftest.$ac_ext
17773
17868
eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
17774
17869
_lt_compiler_boilerplate=`cat conftest.err`
17775
17870
$rm conftest*
17776
17871
 
17777
17872
ac_outfile=conftest.$ac_objext
17778
 
printf "$lt_simple_link_test_code" >conftest.$ac_ext
 
17873
echo "$lt_simple_link_test_code" >conftest.$ac_ext
17779
17874
eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
17780
17875
_lt_linker_boilerplate=`cat conftest.err`
17781
17876
$rm conftest*
17816
17911
else
17817
17912
  lt_cv_prog_compiler_rtti_exceptions=no
17818
17913
  ac_outfile=conftest.$ac_objext
17819
 
   printf "$lt_simple_compile_test_code" > conftest.$ac_ext
 
17914
   echo "$lt_simple_compile_test_code" > conftest.$ac_ext
17820
17915
   lt_compiler_flag="-fno-rtti -fno-exceptions"
17821
17916
   # Insert the option either (1) after the last *FLAGS variable, or
17822
17917
   # (2) before a word containing "conftest.", or (3) at the end.
17827
17922
   -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
17828
17923
   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
17829
17924
   -e 's:$: $lt_compiler_flag:'`
17830
 
   (eval echo "\"\$as_me:17830: $lt_compile\"" >&5)
 
17925
   (eval echo "\"\$as_me:17925: $lt_compile\"" >&5)
17831
17926
   (eval "$lt_compile" 2>conftest.err)
17832
17927
   ac_status=$?
17833
17928
   cat conftest.err >&5
17834
 
   echo "$as_me:17834: \$? = $ac_status" >&5
 
17929
   echo "$as_me:17929: \$? = $ac_status" >&5
17835
17930
   if (exit $ac_status) && test -s "$ac_outfile"; then
17836
17931
     # The compiler can only warn and ignore the option if not recognized
17837
17932
     # So say no if there are warnings other than the usual output.
17882
17977
      lt_prog_compiler_pic_GCJ='-m68020 -resident32 -malways-restore-a4'
17883
17978
      ;;
17884
17979
 
17885
 
    beos* | cygwin* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
 
17980
    beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
17886
17981
      # PIC is the default for these OSes.
17887
17982
      ;;
17888
17983
 
17889
 
    mingw* | pw32* | os2*)
 
17984
    mingw* | cygwin* | pw32* | os2*)
17890
17985
      # This hack is so that the source file can tell whether it is being
17891
17986
      # built for inclusion in a dll (and should export symbols for example).
 
17987
      # Although the cygwin gcc ignores -fPIC, still need this for old-style
 
17988
      # (--disable-auto-import) libraries
17892
17989
      lt_prog_compiler_pic_GCJ='-DDLL_EXPORT'
17893
17990
      ;;
17894
17991
 
17898
17995
      lt_prog_compiler_pic_GCJ='-fno-common'
17899
17996
      ;;
17900
17997
 
17901
 
    interix3*)
 
17998
    interix[3-9]*)
17902
17999
      # Interix 3.x gcc -fpic/-fPIC options generate broken code.
17903
18000
      # Instead, we relocate shared libraries at runtime.
17904
18001
      ;;
17956
18053
       esac
17957
18054
       ;;
17958
18055
 
17959
 
    mingw* | pw32* | os2*)
 
18056
    mingw* | cygwin* | pw32* | os2*)
17960
18057
      # This hack is so that the source file can tell whether it is being
17961
18058
      # built for inclusion in a dll (and should export symbols for example).
17962
18059
      lt_prog_compiler_pic_GCJ='-DDLL_EXPORT'
17989
18086
      lt_prog_compiler_static_GCJ='-Bstatic'
17990
18087
      ;;
17991
18088
 
17992
 
    linux*)
 
18089
    linux* | k*bsd*-gnu)
17993
18090
      case $cc_basename in
17994
18091
      icc* | ecc*)
17995
18092
        lt_prog_compiler_wl_GCJ='-Wl,'
18008
18105
        # All Alpha code is PIC.
18009
18106
        lt_prog_compiler_static_GCJ='-non_shared'
18010
18107
        ;;
 
18108
      *)
 
18109
        case `$CC -V 2>&1 | sed 5q` in
 
18110
        *Sun\ C*)
 
18111
          # Sun C 5.9
 
18112
          lt_prog_compiler_pic_GCJ='-KPIC'
 
18113
          lt_prog_compiler_static_GCJ='-Bstatic'
 
18114
          lt_prog_compiler_wl_GCJ='-Wl,'
 
18115
          ;;
 
18116
        *Sun\ F*)
 
18117
          # Sun Fortran 8.3 passes all unrecognized flags to the linker
 
18118
          lt_prog_compiler_pic_GCJ='-KPIC'
 
18119
          lt_prog_compiler_static_GCJ='-Bstatic'
 
18120
          lt_prog_compiler_wl_GCJ=''
 
18121
          ;;
 
18122
        esac
 
18123
        ;;
18011
18124
      esac
18012
18125
      ;;
18013
18126
 
18017
18130
      lt_prog_compiler_static_GCJ='-non_shared'
18018
18131
      ;;
18019
18132
 
 
18133
    rdos*)
 
18134
      lt_prog_compiler_static_GCJ='-non_shared'
 
18135
      ;;
 
18136
 
18020
18137
    solaris*)
18021
18138
      lt_prog_compiler_pic_GCJ='-KPIC'
18022
18139
      lt_prog_compiler_static_GCJ='-Bstatic'
18084
18201
else
18085
18202
  lt_prog_compiler_pic_works_GCJ=no
18086
18203
  ac_outfile=conftest.$ac_objext
18087
 
   printf "$lt_simple_compile_test_code" > conftest.$ac_ext
 
18204
   echo "$lt_simple_compile_test_code" > conftest.$ac_ext
18088
18205
   lt_compiler_flag="$lt_prog_compiler_pic_GCJ"
18089
18206
   # Insert the option either (1) after the last *FLAGS variable, or
18090
18207
   # (2) before a word containing "conftest.", or (3) at the end.
18095
18212
   -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
18096
18213
   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
18097
18214
   -e 's:$: $lt_compiler_flag:'`
18098
 
   (eval echo "\"\$as_me:18098: $lt_compile\"" >&5)
 
18215
   (eval echo "\"\$as_me:18215: $lt_compile\"" >&5)
18099
18216
   (eval "$lt_compile" 2>conftest.err)
18100
18217
   ac_status=$?
18101
18218
   cat conftest.err >&5
18102
 
   echo "$as_me:18102: \$? = $ac_status" >&5
 
18219
   echo "$as_me:18219: \$? = $ac_status" >&5
18103
18220
   if (exit $ac_status) && test -s "$ac_outfile"; then
18104
18221
     # The compiler can only warn and ignore the option if not recognized
18105
18222
     # So say no if there are warnings other than the usual output.
18148
18265
  lt_prog_compiler_static_works_GCJ=no
18149
18266
   save_LDFLAGS="$LDFLAGS"
18150
18267
   LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
18151
 
   printf "$lt_simple_link_test_code" > conftest.$ac_ext
 
18268
   echo "$lt_simple_link_test_code" > conftest.$ac_ext
18152
18269
   if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
18153
18270
     # The linker can only warn and ignore the option if not recognized
18154
18271
     # So say no if there are warnings
18188
18305
   mkdir conftest
18189
18306
   cd conftest
18190
18307
   mkdir out
18191
 
   printf "$lt_simple_compile_test_code" > conftest.$ac_ext
 
18308
   echo "$lt_simple_compile_test_code" > conftest.$ac_ext
18192
18309
 
18193
18310
   lt_compiler_flag="-o out/conftest2.$ac_objext"
18194
18311
   # Insert the option either (1) after the last *FLAGS variable, or
18199
18316
   -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
18200
18317
   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
18201
18318
   -e 's:$: $lt_compiler_flag:'`
18202
 
   (eval echo "\"\$as_me:18202: $lt_compile\"" >&5)
 
18319
   (eval echo "\"\$as_me:18319: $lt_compile\"" >&5)
18203
18320
   (eval "$lt_compile" 2>out/conftest.err)
18204
18321
   ac_status=$?
18205
18322
   cat out/conftest.err >&5
18206
 
   echo "$as_me:18206: \$? = $ac_status" >&5
 
18323
   echo "$as_me:18323: \$? = $ac_status" >&5
18207
18324
   if (exit $ac_status) && test -s out/conftest2.$ac_objext
18208
18325
   then
18209
18326
     # The compiler can only warn and ignore the option if not recognized
18395
18512
      allow_undefined_flag_GCJ=unsupported
18396
18513
      always_export_symbols_GCJ=no
18397
18514
      enable_shared_with_static_runtimes_GCJ=yes
18398
 
      export_symbols_cmds_GCJ='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS] /s/.* \([^ ]*\)/\1 DATA/'\'' | $SED -e '\''/^[AITW] /s/.* //'\'' | sort | uniq > $export_symbols'
 
18515
      export_symbols_cmds_GCJ='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1 DATA/'\'' -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols'
18399
18516
 
18400
18517
      if $LD --help 2>&1 | grep 'auto-import' > /dev/null; then
18401
18518
        archive_cmds_GCJ='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
18413
18530
      fi
18414
18531
      ;;
18415
18532
 
18416
 
    interix3*)
 
18533
    interix[3-9]*)
18417
18534
      hardcode_direct_GCJ=no
18418
18535
      hardcode_shlibpath_var_GCJ=no
18419
18536
      hardcode_libdir_flag_spec_GCJ='${wl}-rpath,$libdir'
18428
18545
      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'
18429
18546
      ;;
18430
18547
 
18431
 
    linux*)
 
18548
    gnu* | linux* | k*bsd*-gnu)
18432
18549
      if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
18433
18550
        tmp_addflag=
18434
18551
        case $cc_basename,$host_cpu in
18446
18563
        ifc* | ifort*)                  # Intel Fortran compiler
18447
18564
          tmp_addflag=' -nofor_main' ;;
18448
18565
        esac
18449
 
        archive_cmds_GCJ='$CC -shared'"$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
 
18566
        case `$CC -V 2>&1 | sed 5q` in
 
18567
        *Sun\ C*)                       # Sun C 5.9
 
18568
          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'
 
18569
          tmp_sharedflag='-G' ;;
 
18570
        *Sun\ F*)                       # Sun Fortran 8.3
 
18571
          tmp_sharedflag='-G' ;;
 
18572
        *)
 
18573
          tmp_sharedflag='-shared' ;;
 
18574
        esac
 
18575
        archive_cmds_GCJ='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
18450
18576
 
18451
18577
        if test $supports_anon_versioning = yes; then
18452
18578
          archive_expsym_cmds_GCJ='$echo "{ global:" > $output_objdir/$libname.ver~
18453
18579
  cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
18454
18580
  $echo "local: *; };" >> $output_objdir/$libname.ver~
18455
 
          $CC -shared'"$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
 
18581
          $CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
18456
18582
        fi
18457
18583
      else
18458
18584
        ld_shlibs_GCJ=no
18611
18737
           strings "$collect2name" | grep resolve_lib_name >/dev/null
18612
18738
          then
18613
18739
          # We have reworked collect2
18614
 
          hardcode_direct_GCJ=yes
 
18740
          :
18615
18741
          else
18616
18742
          # We have old collect2
18617
18743
          hardcode_direct_GCJ=unsupported
18685
18811
       } && test -s conftest$ac_exeext &&
18686
18812
       $as_test_x conftest$ac_exeext; then
18687
18813
 
18688
 
aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0  *\(.*\)$/\1/; p; }
18689
 
}'`
 
18814
lt_aix_libpath_sed='
 
18815
    /Import File Strings/,/^$/ {
 
18816
        /^0/ {
 
18817
            s/^0  *\(.*\)$/\1/
 
18818
            p
 
18819
        }
 
18820
    }'
 
18821
aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
18690
18822
# Check for a 64-bit object if we didn't find anything.
18691
 
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; }
18692
 
}'`; fi
 
18823
if test -z "$aix_libpath"; then
 
18824
  aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
 
18825
fi
18693
18826
else
18694
18827
  echo "$as_me: failed program was:" >&5
18695
18828
sed 's/^/| /' conftest.$ac_ext >&5
18744
18877
       } && test -s conftest$ac_exeext &&
18745
18878
       $as_test_x conftest$ac_exeext; then
18746
18879
 
18747
 
aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0  *\(.*\)$/\1/; p; }
18748
 
}'`
 
18880
lt_aix_libpath_sed='
 
18881
    /Import File Strings/,/^$/ {
 
18882
        /^0/ {
 
18883
            s/^0  *\(.*\)$/\1/
 
18884
            p
 
18885
        }
 
18886
    }'
 
18887
aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
18749
18888
# Check for a 64-bit object if we didn't find anything.
18750
 
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; }
18751
 
}'`; fi
 
18889
if test -z "$aix_libpath"; then
 
18890
  aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
 
18891
fi
18752
18892
else
18753
18893
  echo "$as_me: failed program was:" >&5
18754
18894
sed 's/^/| /' conftest.$ac_ext >&5
18802
18942
      # The linker will automatically build a .lib file if we build a DLL.
18803
18943
      old_archive_From_new_cmds_GCJ='true'
18804
18944
      # FIXME: Should let the user specify the lib program.
18805
 
      old_archive_cmds_GCJ='lib /OUT:$oldlib$oldobjs$old_deplibs'
 
18945
      old_archive_cmds_GCJ='lib -OUT:$oldlib$oldobjs$old_deplibs'
18806
18946
      fix_srcfile_path_GCJ='`cygpath -w "$srcfile"`'
18807
18947
      enable_shared_with_static_runtimes_GCJ=yes
18808
18948
      ;;
18844
18984
      case $cc_basename in
18845
18985
        xlc*)
18846
18986
         output_verbose_link_cmd='echo'
18847
 
         archive_cmds_GCJ='$CC -qmkshrobj $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-install_name ${wl}`echo $rpath/$soname` $verstring'
 
18987
         archive_cmds_GCJ='$CC -qmkshrobj $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-install_name ${wl}`echo $rpath/$soname` $xlcverstring'
18848
18988
         module_cmds_GCJ='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
18849
18989
          # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin lds
18850
 
         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}'
 
18990
         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}'
18851
18991
          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}'
18852
18992
          ;;
18853
18993
       *)
18887
19027
      ;;
18888
19028
 
18889
19029
    # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
18890
 
    freebsd* | kfreebsd*-gnu | dragonfly*)
 
19030
    freebsd* | dragonfly*)
18891
19031
      archive_cmds_GCJ='$CC -shared -o $lib $libobjs $deplibs $compiler_flags'
18892
19032
      hardcode_libdir_flag_spec_GCJ='-R$libdir'
18893
19033
      hardcode_direct_GCJ=yes
19009
19149
      ;;
19010
19150
 
19011
19151
    openbsd*)
19012
 
      hardcode_direct_GCJ=yes
19013
 
      hardcode_shlibpath_var_GCJ=no
19014
 
      if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
19015
 
        archive_cmds_GCJ='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
19016
 
        archive_expsym_cmds_GCJ='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols'
19017
 
        hardcode_libdir_flag_spec_GCJ='${wl}-rpath,$libdir'
19018
 
        export_dynamic_flag_spec_GCJ='${wl}-E'
 
19152
      if test -f /usr/libexec/ld.so; then
 
19153
        hardcode_direct_GCJ=yes
 
19154
        hardcode_shlibpath_var_GCJ=no
 
19155
        if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
 
19156
          archive_cmds_GCJ='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
 
19157
          archive_expsym_cmds_GCJ='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols'
 
19158
          hardcode_libdir_flag_spec_GCJ='${wl}-rpath,$libdir'
 
19159
          export_dynamic_flag_spec_GCJ='${wl}-E'
 
19160
        else
 
19161
          case $host_os in
 
19162
           openbsd[01].* | openbsd2.[0-7] | openbsd2.[0-7].*)
 
19163
             archive_cmds_GCJ='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
 
19164
             hardcode_libdir_flag_spec_GCJ='-R$libdir'
 
19165
             ;;
 
19166
           *)
 
19167
             archive_cmds_GCJ='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
 
19168
             hardcode_libdir_flag_spec_GCJ='${wl}-rpath,$libdir'
 
19169
             ;;
 
19170
          esac
 
19171
        fi
19019
19172
      else
19020
 
       case $host_os in
19021
 
         openbsd[01].* | openbsd2.[0-7] | openbsd2.[0-7].*)
19022
 
           archive_cmds_GCJ='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
19023
 
           hardcode_libdir_flag_spec_GCJ='-R$libdir'
19024
 
           ;;
19025
 
         *)
19026
 
           archive_cmds_GCJ='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
19027
 
           hardcode_libdir_flag_spec_GCJ='${wl}-rpath,$libdir'
19028
 
           ;;
19029
 
       esac
 
19173
        ld_shlibs_GCJ=no
19030
19174
      fi
19031
19175
      ;;
19032
19176
 
19085
19229
      case $host_os in
19086
19230
      solaris2.[0-5] | solaris2.[0-5].*) ;;
19087
19231
      *)
19088
 
        # The compiler driver will combine linker options so we
19089
 
        # cannot just pass the convience library names through
19090
 
        # without $wl, iff we do not link with $LD.
19091
 
        # Luckily, gcc supports the same syntax we need for Sun Studio.
 
19232
        # The compiler driver will combine and reorder linker options,
 
19233
        # but understands `-z linker_flag'.  GCC discards it without `$wl',
 
19234
        # but is careful enough not to reorder.
19092
19235
        # Supported since Solaris 2.6 (maybe 2.5.1?)
19093
 
        case $wlarc in
19094
 
        '')
19095
 
          whole_archive_flag_spec_GCJ='-z allextract$convenience -z defaultextract' ;;
19096
 
        *)
19097
 
          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' ;;
19098
 
        esac ;;
 
19236
        if test "$GCC" = yes; then
 
19237
          whole_archive_flag_spec_GCJ='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
 
19238
        else
 
19239
          whole_archive_flag_spec_GCJ='-z allextract$convenience -z defaultextract'
 
19240
        fi
 
19241
        ;;
19099
19242
      esac
19100
19243
      link_all_deplibs_GCJ=yes
19101
19244
      ;;
19152
19295
      fi
19153
19296
      ;;
19154
19297
 
19155
 
    sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7*)
 
19298
    sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7* | sco3.2v5.0.[024]*)
19156
19299
      no_undefined_flag_GCJ='${wl}-z,text'
19157
19300
      archive_cmds_need_lc_GCJ=no
19158
19301
      hardcode_shlibpath_var_GCJ=no
19229
19372
      { echo "$as_me:$LINENO: checking whether -lc should be explicitly linked in" >&5
19230
19373
echo $ECHO_N "checking whether -lc should be explicitly linked in... $ECHO_C" >&6; }
19231
19374
      $rm conftest*
19232
 
      printf "$lt_simple_compile_test_code" > conftest.$ac_ext
 
19375
      echo "$lt_simple_compile_test_code" > conftest.$ac_ext
19233
19376
 
19234
19377
      if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19235
19378
  (eval $ac_compile) 2>&5
19287
19430
version_type=none
19288
19431
dynamic_linker="$host_os ld.so"
19289
19432
sys_lib_dlsearch_path_spec="/lib /usr/lib"
19290
 
if test "$GCC" = yes; then
19291
 
  sys_lib_search_path_spec=`$CC -print-search-dirs | grep "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
19292
 
  if echo "$sys_lib_search_path_spec" | grep ';' >/dev/null ; then
19293
 
    # if the path contains ";" then we assume it to be the separator
19294
 
    # otherwise default to the standard path separator (i.e. ":") - it is
19295
 
    # assumed that no part of a normal pathname contains ";" but that should
19296
 
    # okay in the real world where ";" in dirpaths is itself problematic.
19297
 
    sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
19298
 
  else
19299
 
    sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED  -e "s/$PATH_SEPARATOR/ /g"`
19300
 
  fi
19301
 
else
19302
 
  sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"
19303
 
fi
 
19433
 
19304
19434
need_lib_prefix=unknown
19305
19435
hardcode_into_libs=no
19306
19436
 
19457
19587
  shlibpath_overrides_runpath=yes
19458
19588
  shlibpath_var=DYLD_LIBRARY_PATH
19459
19589
  shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`'
19460
 
  # Apple's gcc prints 'gcc -print-search-dirs' doesn't operate the same.
19461
 
  if test "$GCC" = yes; then
19462
 
    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"`
19463
 
  else
19464
 
    sys_lib_search_path_spec='/lib /usr/lib /usr/local/lib'
19465
 
  fi
 
19590
 
19466
19591
  sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
19467
19592
  ;;
19468
19593
 
19479
19604
  dynamic_linker=no
19480
19605
  ;;
19481
19606
 
19482
 
kfreebsd*-gnu)
19483
 
  version_type=linux
19484
 
  need_lib_prefix=no
19485
 
  need_version=no
19486
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
19487
 
  soname_spec='${libname}${release}${shared_ext}$major'
19488
 
  shlibpath_var=LD_LIBRARY_PATH
19489
 
  shlibpath_overrides_runpath=no
19490
 
  hardcode_into_libs=yes
19491
 
  dynamic_linker='GNU ld.so'
19492
 
  ;;
19493
 
 
19494
19607
freebsd* | dragonfly*)
19495
19608
  # DragonFly does not have aout.  When/if they implement a new
19496
19609
  # versioning mechanism, adjust this.
19528
19641
    shlibpath_overrides_runpath=no
19529
19642
    hardcode_into_libs=yes
19530
19643
    ;;
19531
 
  freebsd*) # from 4.6 on
 
19644
  *) # from 4.6 on, and DragonFly
19532
19645
    shlibpath_overrides_runpath=yes
19533
19646
    hardcode_into_libs=yes
19534
19647
    ;;
19591
19704
  postinstall_cmds='chmod 555 $lib'
19592
19705
  ;;
19593
19706
 
19594
 
interix3*)
 
19707
interix[3-9]*)
19595
19708
  version_type=linux
19596
19709
  need_lib_prefix=no
19597
19710
  need_version=no
19646
19759
  ;;
19647
19760
 
19648
19761
# This must be Linux ELF.
19649
 
linux*)
 
19762
linux* | k*bsd*-gnu)
19650
19763
  version_type=linux
19651
19764
  need_lib_prefix=no
19652
19765
  need_version=no
19659
19772
  # Some rework will be needed to allow for fast_install
19660
19773
  # before this can be enabled.
19661
19774
  hardcode_into_libs=yes
19662
 
 
19663
 
  # find out which ABI we are using
19664
 
  libsuff=
19665
 
  case "$host_cpu" in
19666
 
  x86_64*|s390x*|powerpc64*)
19667
 
    echo '#line 19667 "configure"' > conftest.$ac_ext
19668
 
    if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19669
 
  (eval $ac_compile) 2>&5
19670
 
  ac_status=$?
19671
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
19672
 
  (exit $ac_status); }; then
19673
 
      case `/usr/bin/file conftest.$ac_objext` in
19674
 
      *64-bit*)
19675
 
        libsuff=64
19676
 
        sys_lib_search_path_spec="/lib${libsuff} /usr/lib${libsuff} /usr/local/lib${libsuff}"
19677
 
        ;;
19678
 
      esac
19679
 
    fi
19680
 
    rm -rf conftest*
19681
 
    ;;
19682
 
  esac
 
19775
  sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
 
19776
  sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}"
19683
19777
 
19684
19778
  # Append ld.so.conf contents to the search path
19685
19779
  if test -f /etc/ld.so.conf; then
19686
 
    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/^       *//;s/#.*//;/^[^\/]/d;s/[:,    ]/ /g;s/=[^=]*$//;s/=[^= ]* / /g;/^$/d' | tr '\n' ' '`
19687
 
    sys_lib_dlsearch_path_spec="/lib${libsuff} /usr/lib${libsuff} $lt_ld_extra"
 
19780
    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' ' '`
 
19781
    sys_lib_dlsearch_path_spec="$sys_lib_dlsearch_path_spec $lt_ld_extra"
19688
19782
  fi
19689
19783
 
19690
19784
  # We used to test for /lib/ld.so.1 and disable shared libraries on
19696
19790
  dynamic_linker='GNU/Linux ld.so'
19697
19791
  ;;
19698
19792
 
19699
 
knetbsd*-gnu)
19700
 
  version_type=linux
19701
 
  need_lib_prefix=no
19702
 
  need_version=no
19703
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
19704
 
  soname_spec='${libname}${release}${shared_ext}$major'
19705
 
  shlibpath_var=LD_LIBRARY_PATH
19706
 
  shlibpath_overrides_runpath=no
19707
 
  hardcode_into_libs=yes
19708
 
  dynamic_linker='GNU ld.so'
19709
 
  ;;
19710
 
 
19711
19793
netbsd*)
19712
19794
  version_type=sunos
19713
19795
  need_lib_prefix=no
19789
19871
  sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec"
19790
19872
  ;;
19791
19873
 
 
19874
rdos*)
 
19875
  dynamic_linker=no
 
19876
  ;;
 
19877
 
19792
19878
solaris*)
19793
19879
  version_type=linux
19794
19880
  need_lib_prefix=no
19983
20069
    module_cmds_GCJ \
19984
20070
    module_expsym_cmds_GCJ \
19985
20071
    lt_cv_prog_compiler_c_o_GCJ \
 
20072
    fix_srcfile_path_GCJ \
19986
20073
    exclude_expsyms_GCJ \
19987
20074
    include_expsyms_GCJ; do
19988
20075
 
20303
20390
sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
20304
20391
 
20305
20392
# Fix the shell variable \$srcfile for the compiler.
20306
 
fix_srcfile_path="$fix_srcfile_path_GCJ"
 
20393
fix_srcfile_path=$lt_fix_srcfile_path
20307
20394
 
20308
20395
# Set to yes if exported symbols are required.
20309
20396
always_export_symbols=$always_export_symbols_GCJ
20360
20447
objext_RC=$objext
20361
20448
 
20362
20449
# Code to be used in simple compile tests
20363
 
lt_simple_compile_test_code='sample MENU { MENUITEM "&Soup", 100, CHECKED }\n'
 
20450
lt_simple_compile_test_code='sample MENU { MENUITEM "&Soup", 100, CHECKED }'
20364
20451
 
20365
20452
# Code to be used in simple link tests
20366
20453
lt_simple_link_test_code="$lt_simple_compile_test_code"
20379
20466
 
20380
20467
# save warnings/boilerplate of simple test code
20381
20468
ac_outfile=conftest.$ac_objext
20382
 
printf "$lt_simple_compile_test_code" >conftest.$ac_ext
 
20469
echo "$lt_simple_compile_test_code" >conftest.$ac_ext
20383
20470
eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
20384
20471
_lt_compiler_boilerplate=`cat conftest.err`
20385
20472
$rm conftest*
20386
20473
 
20387
20474
ac_outfile=conftest.$ac_objext
20388
 
printf "$lt_simple_link_test_code" >conftest.$ac_ext
 
20475
echo "$lt_simple_link_test_code" >conftest.$ac_ext
20389
20476
eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
20390
20477
_lt_linker_boilerplate=`cat conftest.err`
20391
20478
$rm conftest*
20463
20550
    module_cmds_RC \
20464
20551
    module_expsym_cmds_RC \
20465
20552
    lt_cv_prog_compiler_c_o_RC \
 
20553
    fix_srcfile_path_RC \
20466
20554
    exclude_expsyms_RC \
20467
20555
    include_expsyms_RC; do
20468
20556
 
20783
20871
sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
20784
20872
 
20785
20873
# Fix the shell variable \$srcfile for the compiler.
20786
 
fix_srcfile_path="$fix_srcfile_path_RC"
 
20874
fix_srcfile_path=$lt_fix_srcfile_path
20787
20875
 
20788
20876
# Set to yes if exported symbols are required.
20789
20877
always_export_symbols=$always_export_symbols_RC
22664
22752
fi
22665
22753
 
22666
22754
 
 
22755
# Extract the first word of "lzma", so it can be a program name with args.
 
22756
set dummy lzma; ac_word=$2
 
22757
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
 
22758
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
 
22759
if test "${ac_cv_path___LZMA+set}" = set; then
 
22760
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
22761
else
 
22762
  case $__LZMA in
 
22763
  [\\/]* | ?:[\\/]*)
 
22764
  ac_cv_path___LZMA="$__LZMA" # Let the user override the test with a path.
 
22765
  ;;
 
22766
  *)
 
22767
  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
22768
for as_dir in $MYPATH
 
22769
do
 
22770
  IFS=$as_save_IFS
 
22771
  test -z "$as_dir" && as_dir=.
 
22772
  for ac_exec_ext in '' $ac_executable_extensions; do
 
22773
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 
22774
    ac_cv_path___LZMA="$as_dir/$ac_word$ac_exec_ext"
 
22775
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
22776
    break 2
 
22777
  fi
 
22778
done
 
22779
done
 
22780
IFS=$as_save_IFS
 
22781
 
 
22782
  test -z "$ac_cv_path___LZMA" && ac_cv_path___LZMA="/usr/bin/lzma"
 
22783
  ;;
 
22784
esac
 
22785
fi
 
22786
__LZMA=$ac_cv_path___LZMA
 
22787
if test -n "$__LZMA"; then
 
22788
  { echo "$as_me:$LINENO: result: $__LZMA" >&5
 
22789
echo "${ECHO_T}$__LZMA" >&6; }
 
22790
else
 
22791
  { echo "$as_me:$LINENO: result: no" >&5
 
22792
echo "${ECHO_T}no" >&6; }
 
22793
fi
 
22794
 
 
22795
 
22667
22796
# Extract the first word of "make", so it can be a program name with args.
22668
22797
set dummy make; ac_word=$2
22669
22798
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
30349
30478
 
30350
30479
 
30351
30480
 
 
30481
for ac_header in locale.h
 
30482
do
 
30483
as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
 
30484
if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
 
30485
  { echo "$as_me:$LINENO: checking for $ac_header" >&5
 
30486
echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
 
30487
if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
 
30488
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
30489
fi
 
30490
ac_res=`eval echo '${'$as_ac_Header'}'`
 
30491
               { echo "$as_me:$LINENO: result: $ac_res" >&5
 
30492
echo "${ECHO_T}$ac_res" >&6; }
 
30493
else
 
30494
  # Is the header compilable?
 
30495
{ echo "$as_me:$LINENO: checking $ac_header usability" >&5
 
30496
echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; }
 
30497
cat >conftest.$ac_ext <<_ACEOF
 
30498
/* confdefs.h.  */
 
30499
_ACEOF
 
30500
cat confdefs.h >>conftest.$ac_ext
 
30501
cat >>conftest.$ac_ext <<_ACEOF
 
30502
/* end confdefs.h.  */
 
30503
$ac_includes_default
 
30504
#include <$ac_header>
 
30505
_ACEOF
 
30506
rm -f conftest.$ac_objext
 
30507
if { (ac_try="$ac_compile"
 
30508
case "(($ac_try" in
 
30509
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
30510
  *) ac_try_echo=$ac_try;;
 
30511
esac
 
30512
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
30513
  (eval "$ac_compile") 2>conftest.er1
 
30514
  ac_status=$?
 
30515
  grep -v '^ *+' conftest.er1 >conftest.err
 
30516
  rm -f conftest.er1
 
30517
  cat conftest.err >&5
 
30518
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
30519
  (exit $ac_status); } && {
 
30520
         test -z "$ac_c_werror_flag" ||
 
30521
         test ! -s conftest.err
 
30522
       } && test -s conftest.$ac_objext; then
 
30523
  ac_header_compiler=yes
 
30524
else
 
30525
  echo "$as_me: failed program was:" >&5
 
30526
sed 's/^/| /' conftest.$ac_ext >&5
 
30527
 
 
30528
        ac_header_compiler=no
 
30529
fi
 
30530
 
 
30531
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 
30532
{ echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
 
30533
echo "${ECHO_T}$ac_header_compiler" >&6; }
 
30534
 
 
30535
# Is the header present?
 
30536
{ echo "$as_me:$LINENO: checking $ac_header presence" >&5
 
30537
echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; }
 
30538
cat >conftest.$ac_ext <<_ACEOF
 
30539
/* confdefs.h.  */
 
30540
_ACEOF
 
30541
cat confdefs.h >>conftest.$ac_ext
 
30542
cat >>conftest.$ac_ext <<_ACEOF
 
30543
/* end confdefs.h.  */
 
30544
#include <$ac_header>
 
30545
_ACEOF
 
30546
if { (ac_try="$ac_cpp conftest.$ac_ext"
 
30547
case "(($ac_try" in
 
30548
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
30549
  *) ac_try_echo=$ac_try;;
 
30550
esac
 
30551
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
30552
  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
 
30553
  ac_status=$?
 
30554
  grep -v '^ *+' conftest.er1 >conftest.err
 
30555
  rm -f conftest.er1
 
30556
  cat conftest.err >&5
 
30557
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
30558
  (exit $ac_status); } >/dev/null && {
 
30559
         test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
 
30560
         test ! -s conftest.err
 
30561
       }; then
 
30562
  ac_header_preproc=yes
 
30563
else
 
30564
  echo "$as_me: failed program was:" >&5
 
30565
sed 's/^/| /' conftest.$ac_ext >&5
 
30566
 
 
30567
  ac_header_preproc=no
 
30568
fi
 
30569
 
 
30570
rm -f conftest.err conftest.$ac_ext
 
30571
{ echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
 
30572
echo "${ECHO_T}$ac_header_preproc" >&6; }
 
30573
 
 
30574
# So?  What about this header?
 
30575
case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
 
30576
  yes:no: )
 
30577
    { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
 
30578
echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
 
30579
    { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
 
30580
echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
 
30581
    ac_header_preproc=yes
 
30582
    ;;
 
30583
  no:yes:* )
 
30584
    { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
 
30585
echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
 
30586
    { echo "$as_me:$LINENO: WARNING: $ac_header:     check for missing prerequisite headers?" >&5
 
30587
echo "$as_me: WARNING: $ac_header:     check for missing prerequisite headers?" >&2;}
 
30588
    { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
 
30589
echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
 
30590
    { echo "$as_me:$LINENO: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&5
 
30591
echo "$as_me: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&2;}
 
30592
    { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
 
30593
echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
 
30594
    { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
 
30595
echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
 
30596
    ( cat <<\_ASBOX
 
30597
## -------------------------------------- ##
 
30598
## Report this to rpm-maint@lists.rpm.org ##
 
30599
## -------------------------------------- ##
 
30600
_ASBOX
 
30601
     ) | sed "s/^/$as_me: WARNING:     /" >&2
 
30602
    ;;
 
30603
esac
 
30604
{ echo "$as_me:$LINENO: checking for $ac_header" >&5
 
30605
echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
 
30606
if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
 
30607
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
30608
else
 
30609
  eval "$as_ac_Header=\$ac_header_preproc"
 
30610
fi
 
30611
ac_res=`eval echo '${'$as_ac_Header'}'`
 
30612
               { echo "$as_me:$LINENO: result: $ac_res" >&5
 
30613
echo "${ECHO_T}$ac_res" >&6; }
 
30614
 
 
30615
fi
 
30616
if test `eval echo '${'$as_ac_Header'}'` = yes; then
 
30617
  cat >>confdefs.h <<_ACEOF
 
30618
#define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
 
30619
_ACEOF
 
30620
 
 
30621
fi
 
30622
 
 
30623
done
 
30624
 
 
30625
 
 
30626
 
30352
30627
 
30353
30628
 
30354
30629
 
35935
36210
#
35936
36211
# get rid of the 4-th tuple, if config.guess returned "linux-gnu" for build_os
35937
36212
#
 
36213
build_os_gnu=-gnu
35938
36214
if echo "$build_os" | grep '.*-gnulibc1' > /dev/null ; then
35939
36215
        build_os=`echo "${build_os}" | sed 's/-gnulibc1$//'`
35940
36216
fi
35941
36217
if echo "$build_os" | grep '.*-gnueabi' > /dev/null ; then
35942
36218
        build_os=`echo "${build_os}" | sed 's/-gnueabi$//'`
 
36219
        build_os_gnu=-gnueabi
35943
36220
fi
35944
36221
if echo "$build_os" | grep '.*-gnu' > /dev/null ; then
35945
36222
        build_os=`echo "${build_os}" | sed 's/-gnu$//'`
36014
36291
mipsel*)        RPMCANONCOLOR=0; RPMCANONARCH=mipsel ;;
36015
36292
mips*)          RPMCANONCOLOR=0; RPMCANONARCH=mips ;;
36016
36293
m68k*)          RPMCANONCOLOR=0; RPMCANONARCH=m68k ;;
 
36294
sh3*)           RPMCANONCOLOR=0; RPMCANONARCH=sh3 ;;
 
36295
sh4*)           RPMCANONCOLOR=0; RPMCANONARCH=sh4 ;;
36017
36296
*)              RPMCANONCOLOR=0; RPMCANONARCH=unknown ;;
36018
36297
esac
36019
36298
case "${build_os_noversion}" in
36032
36311
        ;;
36033
36312
esac
36034
36313
RPMCANONOS="$build_os_noversion"
 
36314
RPMCANONGNU="$build_os_gnu"
 
36315
 
36035
36316
 
36036
36317
 
36037
36318
 
36554
36835
# report actual input values of CONFIG_FILES etc. instead of their
36555
36836
# values after options handling.
36556
36837
ac_log="
36557
 
This file was extended by rpm $as_me 4.4.2.1, which was
 
36838
This file was extended by rpm $as_me 4.4.2.3, which was
36558
36839
generated by GNU Autoconf 2.61.  Invocation command line was
36559
36840
 
36560
36841
  CONFIG_FILES    = $CONFIG_FILES
36607
36888
_ACEOF
36608
36889
cat >>$CONFIG_STATUS <<_ACEOF
36609
36890
ac_cs_version="\\
36610
 
rpm config.status 4.4.2.1
 
36891
rpm config.status 4.4.2.3
36611
36892
configured by $0, generated by GNU Autoconf 2.61,
36612
36893
  with options \\"`echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`\\"
36613
36894
 
37002
37283
__ID!$__ID$ac_delim
37003
37284
__ID_U!$__ID_U$ac_delim
37004
37285
__INSTALL!$__INSTALL$ac_delim
 
37286
__LZMA!$__LZMA$ac_delim
37005
37287
__MAKE!$__MAKE$ac_delim
37006
37288
__MKDIR!$__MKDIR$ac_delim
37007
37289
__MV!$__MV$ac_delim
37058
37340
MSGMERGE!$MSGMERGE$ac_delim
37059
37341
INTL_MACOSX_LIBS!$INTL_MACOSX_LIBS$ac_delim
37060
37342
LIBICONV!$LIBICONV$ac_delim
 
37343
_ACEOF
 
37344
 
 
37345
  if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 97; then
 
37346
    break
 
37347
  elif $ac_last_try; then
 
37348
    { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
 
37349
echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
 
37350
   { (exit 1); exit 1; }; }
 
37351
  else
 
37352
    ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
 
37353
  fi
 
37354
done
 
37355
 
 
37356
ac_eof=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
 
37357
if test -n "$ac_eof"; then
 
37358
  ac_eof=`echo "$ac_eof" | sort -nru | sed 1q`
 
37359
  ac_eof=`expr $ac_eof + 1`
 
37360
fi
 
37361
 
 
37362
cat >>$CONFIG_STATUS <<_ACEOF
 
37363
cat >"\$tmp/subs-2.sed" <<\CEOF$ac_eof
 
37364
/@[a-zA-Z_][a-zA-Z_0-9]*@/!b
 
37365
_ACEOF
 
37366
sed '
 
37367
s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
 
37368
s/^/s,@/; s/!/@,|#_!!_#|/
 
37369
:n
 
37370
t n
 
37371
s/'"$ac_delim"'$/,g/; t
 
37372
s/$/\\/; p
 
37373
N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
 
37374
' >>$CONFIG_STATUS <conf$$subs.sed
 
37375
rm -f conf$$subs.sed
 
37376
cat >>$CONFIG_STATUS <<_ACEOF
 
37377
CEOF$ac_eof
 
37378
_ACEOF
 
37379
 
 
37380
 
 
37381
ac_delim='%!_!# '
 
37382
for ac_last_try in false false false false false :; do
 
37383
  cat >conf$$subs.sed <<_ACEOF
37061
37384
LTLIBICONV!$LTLIBICONV$ac_delim
37062
 
_ACEOF
37063
 
 
37064
 
  if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 97; then
37065
 
    break
37066
 
  elif $ac_last_try; then
37067
 
    { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
37068
 
echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
37069
 
   { (exit 1); exit 1; }; }
37070
 
  else
37071
 
    ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
37072
 
  fi
37073
 
done
37074
 
 
37075
 
ac_eof=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
37076
 
if test -n "$ac_eof"; then
37077
 
  ac_eof=`echo "$ac_eof" | sort -nru | sed 1q`
37078
 
  ac_eof=`expr $ac_eof + 1`
37079
 
fi
37080
 
 
37081
 
cat >>$CONFIG_STATUS <<_ACEOF
37082
 
cat >"\$tmp/subs-2.sed" <<\CEOF$ac_eof
37083
 
/@[a-zA-Z_][a-zA-Z_0-9]*@/!b
37084
 
_ACEOF
37085
 
sed '
37086
 
s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
37087
 
s/^/s,@/; s/!/@,|#_!!_#|/
37088
 
:n
37089
 
t n
37090
 
s/'"$ac_delim"'$/,g/; t
37091
 
s/$/\\/; p
37092
 
N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
37093
 
' >>$CONFIG_STATUS <conf$$subs.sed
37094
 
rm -f conf$$subs.sed
37095
 
cat >>$CONFIG_STATUS <<_ACEOF
37096
 
CEOF$ac_eof
37097
 
_ACEOF
37098
 
 
37099
 
 
37100
 
ac_delim='%!_!# '
37101
 
for ac_last_try in false false false false false :; do
37102
 
  cat >conf$$subs.sed <<_ACEOF
37103
37385
INTLLIBS!$INTLLIBS$ac_delim
37104
37386
LIBINTL!$LIBINTL$ac_delim
37105
37387
LTLIBINTL!$LTLIBINTL$ac_delim
37128
37410
RPMCANONARCH!$RPMCANONARCH$ac_delim
37129
37411
RPMCANONVENDOR!$RPMCANONVENDOR$ac_delim
37130
37412
RPMCANONOS!$RPMCANONOS$ac_delim
 
37413
RPMCANONGNU!$RPMCANONGNU$ac_delim
37131
37414
LOCALEDIR!$LOCALEDIR$ac_delim
37132
37415
LIBDIR!$LIBDIR$ac_delim
37133
37416
RPMCONFIGDIR!$RPMCONFIGDIR$ac_delim
37146
37429
LTLIBOBJS!$LTLIBOBJS$ac_delim
37147
37430
_ACEOF
37148
37431
 
37149
 
  if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 44; then
 
37432
  if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 46; then
37150
37433
    break
37151
37434
  elif $ac_last_try; then
37152
37435
    { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5