~ubuntu-branches/ubuntu/jaunty/libgweather/jaunty

« back to all changes in this revision

Viewing changes to configure

  • Committer: Bazaar Package Importer
  • Author(s): Christophe Sauthier
  • Date: 2008-03-11 16:02:03 UTC
  • mfrom: (1.1.3 upstream)
  • Revision ID: james.westby@ubuntu.com-20080311160203-grytarhovndju3ip
Tags: 2.22.0-0ubuntu1
New upstream version

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 libgweather 2.21.92.
 
3
# Generated by GNU Autoconf 2.61 for libgweather 2.22.0.
4
4
#
5
5
# Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
6
6
# 2002, 2003, 2004, 2005, 2006 Free Software Foundation, Inc.
726
726
# Identity of this package.
727
727
PACKAGE_NAME='libgweather'
728
728
PACKAGE_TARNAME='libgweather'
729
 
PACKAGE_VERSION='2.21.92'
730
 
PACKAGE_STRING='libgweather 2.21.92'
 
729
PACKAGE_VERSION='2.22.0'
 
730
PACKAGE_STRING='libgweather 2.22.0'
731
731
PACKAGE_BUGREPORT=''
732
732
 
733
733
# Factoring default headers for most tests.
884
884
host_cpu
885
885
host_vendor
886
886
host_os
887
 
SED
888
887
LN_S
889
888
ECHO
890
889
AR
1455
1454
  # Omit some internal or obsolete options to make the list less imposing.
1456
1455
  # This message is too long to be a string in the A/UX 3.1 sh.
1457
1456
  cat <<_ACEOF
1458
 
\`configure' configures libgweather 2.21.92 to adapt to many kinds of systems.
 
1457
\`configure' configures libgweather 2.22.0 to adapt to many kinds of systems.
1459
1458
 
1460
1459
Usage: $0 [OPTION]... [VAR=VALUE]...
1461
1460
 
1525
1524
 
1526
1525
if test -n "$ac_init_help"; then
1527
1526
  case $ac_init_help in
1528
 
     short | recursive ) echo "Configuration of libgweather 2.21.92:";;
 
1527
     short | recursive ) echo "Configuration of libgweather 2.22.0:";;
1529
1528
   esac
1530
1529
  cat <<\_ACEOF
1531
1530
 
1642
1641
test -n "$ac_init_help" && exit $ac_status
1643
1642
if $ac_init_version; then
1644
1643
  cat <<\_ACEOF
1645
 
libgweather configure 2.21.92
 
1644
libgweather configure 2.22.0
1646
1645
generated by GNU Autoconf 2.61
1647
1646
 
1648
1647
Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
1656
1655
This file contains any messages produced by compilers while
1657
1656
running configure, to aid debugging if configure makes a mistake.
1658
1657
 
1659
 
It was created by libgweather $as_me 2.21.92, which was
 
1658
It was created by libgweather $as_me 2.22.0, which was
1660
1659
generated by GNU Autoconf 2.61.  Invocation command line was
1661
1660
 
1662
1661
  $ $0 $@
2350
2349
 
2351
2350
# Define the identity of the package.
2352
2351
 PACKAGE='libgweather'
2353
 
 VERSION='2.21.92'
 
2352
 VERSION='2.22.0'
2354
2353
 
2355
2354
 
2356
2355
cat >>confdefs.h <<_ACEOF
5891
5890
  test -z "$as_dir" && as_dir=.
5892
5891
  for lt_ac_prog in sed gsed; do
5893
5892
    for ac_exec_ext in '' $ac_executable_extensions; do
5894
 
      if { test -f "$as_dir/$lt_ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$lt_ac_prog$ac_exec_ext"; }; then
 
5893
      if $as_executable_p "$as_dir/$lt_ac_prog$ac_exec_ext"; then
5895
5894
        lt_ac_sed_list="$lt_ac_sed_list $as_dir/$lt_ac_prog$ac_exec_ext"
5896
5895
      fi
5897
5896
    done
5898
5897
  done
5899
5898
done
5900
 
IFS=$as_save_IFS
5901
5899
lt_ac_max=0
5902
5900
lt_ac_count=0
5903
5901
# Add /usr/xpg4/bin/sed as it is typically found on Solaris
5932
5930
fi
5933
5931
 
5934
5932
SED=$lt_cv_path_SED
5935
 
 
5936
5933
{ echo "$as_me:$LINENO: result: $SED" >&5
5937
5934
echo "${ECHO_T}$SED" >&6; }
5938
5935
 
6132
6129
echo "${ECHO_T}no, using $LN_S" >&6; }
6133
6130
fi
6134
6131
 
6135
 
{ echo "$as_me:$LINENO: checking how to recognize dependent libraries" >&5
6136
 
echo $ECHO_N "checking how to recognize dependent libraries... $ECHO_C" >&6; }
 
6132
{ echo "$as_me:$LINENO: checking how to recognise dependent libraries" >&5
 
6133
echo $ECHO_N "checking how to recognise dependent libraries... $ECHO_C" >&6; }
6137
6134
if test "${lt_cv_deplibs_check_method+set}" = set; then
6138
6135
  echo $ECHO_N "(cached) $ECHO_C" >&6
6139
6136
else
6174
6171
 
6175
6172
mingw* | pw32*)
6176
6173
  # Base MSYS/MinGW do not provide the 'file' command needed by
6177
 
  # func_win32_libid shell function, so use a weaker test based on 'objdump',
6178
 
  # unless we find 'file', for example because we are cross-compiling.
6179
 
  if ( file / ) >/dev/null 2>&1; then
6180
 
    lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
6181
 
    lt_cv_file_magic_cmd='func_win32_libid'
6182
 
  else
6183
 
    lt_cv_deplibs_check_method='file_magic file format pei*-i386(.*architecture: i386)?'
6184
 
    lt_cv_file_magic_cmd='$OBJDUMP -f'
6185
 
  fi
 
6174
  # func_win32_libid shell function, so use a weaker test based on 'objdump'.
 
6175
  lt_cv_deplibs_check_method='file_magic file format pei*-i386(.*architecture: i386)?'
 
6176
  lt_cv_file_magic_cmd='$OBJDUMP -f'
6186
6177
  ;;
6187
6178
 
6188
6179
darwin* | rhapsody*)
6189
6180
  lt_cv_deplibs_check_method=pass_all
6190
6181
  ;;
6191
6182
 
6192
 
freebsd* | dragonfly*)
 
6183
freebsd* | kfreebsd*-gnu | dragonfly*)
6193
6184
  if echo __ELF__ | $CC -E - | grep __ELF__ > /dev/null; then
6194
6185
    case $host_cpu in
6195
6186
    i*86 )
6227
6218
  esac
6228
6219
  ;;
6229
6220
 
6230
 
interix[3-9]*)
 
6221
interix3*)
6231
6222
  # PIC code is broken on Interix 3.x, that's why |\.a not |_pic\.a here
6232
6223
  lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|\.a)$'
6233
6224
  ;;
6243
6234
  ;;
6244
6235
 
6245
6236
# This must be Linux ELF.
6246
 
linux* | k*bsd*-gnu)
 
6237
linux*)
6247
6238
  lt_cv_deplibs_check_method=pass_all
6248
6239
  ;;
6249
6240
 
6277
6268
  lt_cv_deplibs_check_method=pass_all
6278
6269
  ;;
6279
6270
 
6280
 
rdos*)
6281
 
  lt_cv_deplibs_check_method=pass_all
6282
 
  ;;
6283
 
 
6284
6271
solaris*)
6285
6272
  lt_cv_deplibs_check_method=pass_all
6286
6273
  ;;
6367
6354
  ;;
6368
6355
*-*-irix6*)
6369
6356
  # Find out which ABI we are using.
6370
 
  echo '#line 6370 "configure"' > conftest.$ac_ext
 
6357
  echo '#line 6357 "configure"' > conftest.$ac_ext
6371
6358
  if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6372
6359
  (eval $ac_compile) 2>&5
6373
6360
  ac_status=$?
6402
6389
  rm -rf conftest*
6403
6390
  ;;
6404
6391
 
6405
 
x86_64-*kfreebsd*-gnu|x86_64-*linux*|ppc*-*linux*|powerpc*-*linux*| \
6406
 
s390*-*linux*|sparc*-*linux*)
 
6392
x86_64-*linux*|ppc*-*linux*|powerpc*-*linux*|s390*-*linux*|sparc*-*linux*)
6407
6393
  # Find out which ABI we are using.
6408
6394
  echo 'int i;' > conftest.$ac_ext
6409
6395
  if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6414
6400
    case `/usr/bin/file conftest.o` in
6415
6401
    *32-bit*)
6416
6402
      case $host in
6417
 
        x86_64-*kfreebsd*-gnu)
6418
 
          LD="${LD-ld} -m elf_i386_fbsd"
6419
 
          ;;
6420
6403
        x86_64-*linux*)
6421
6404
          LD="${LD-ld} -m elf_i386"
6422
6405
          ;;
6433
6416
      ;;
6434
6417
    *64-bit*)
6435
6418
      case $host in
6436
 
        x86_64-*kfreebsd*-gnu)
6437
 
          LD="${LD-ld} -m elf_x86_64_fbsd"
6438
 
          ;;
6439
6419
        x86_64-*linux*)
6440
6420
          LD="${LD-ld} -m elf_x86_64"
6441
6421
          ;;
7818
7798
    fi
7819
7799
    ;;
7820
7800
  *)
7821
 
    lt_cv_sys_max_cmd_len=`(getconf ARG_MAX) 2> /dev/null`
7822
 
    if test -n "$lt_cv_sys_max_cmd_len"; then
7823
 
      lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
7824
 
      lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
7825
 
    else
7826
 
      SHELL=${SHELL-${CONFIG_SHELL-/bin/sh}}
7827
 
      while (test "X"`$SHELL $0 --fallback-echo "X$teststring" 2>/dev/null` \
 
7801
    # If test is not a shell built-in, we'll probably end up computing a
 
7802
    # maximum length that is only half of the actual maximum length, but
 
7803
    # we can't tell.
 
7804
    SHELL=${SHELL-${CONFIG_SHELL-/bin/sh}}
 
7805
    while (test "X"`$SHELL $0 --fallback-echo "X$teststring" 2>/dev/null` \
7828
7806
               = "XX$teststring") >/dev/null 2>&1 &&
7829
 
              new_result=`expr "X$teststring" : ".*" 2>&1` &&
7830
 
              lt_cv_sys_max_cmd_len=$new_result &&
7831
 
              test $i != 17 # 1/2 MB should be enough
7832
 
      do
7833
 
        i=`expr $i + 1`
7834
 
        teststring=$teststring$teststring
7835
 
      done
7836
 
      teststring=
7837
 
      # Add a significant safety factor because C++ compilers can tack on massive
7838
 
      # amounts of additional arguments before passing them to the linker.
7839
 
      # It appears as though 1/2 is a usable value.
7840
 
      lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 2`
7841
 
    fi
 
7807
            new_result=`expr "X$teststring" : ".*" 2>&1` &&
 
7808
            lt_cv_sys_max_cmd_len=$new_result &&
 
7809
            test $i != 17 # 1/2 MB should be enough
 
7810
    do
 
7811
      i=`expr $i + 1`
 
7812
      teststring=$teststring$teststring
 
7813
    done
 
7814
    teststring=
 
7815
    # Add a significant safety factor because C++ compilers can tack on massive
 
7816
    # amounts of additional arguments before passing them to the linker.
 
7817
    # It appears as though 1/2 is a usable value.
 
7818
    lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 2`
7842
7819
    ;;
7843
7820
  esac
7844
7821
 
7855
7832
 
7856
7833
 
7857
7834
 
7858
 
 
7859
7835
# Check for command to grab the raw symbol name followed by C symbol from nm.
7860
7836
{ echo "$as_me:$LINENO: checking command to parse $NM output from $compiler object" >&5
7861
7837
echo $ECHO_N "checking command to parse $NM output from $compiler object... $ECHO_C" >&6; }
7893
7869
  lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'"
7894
7870
  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'"
7895
7871
  ;;
7896
 
linux* | k*bsd*-gnu)
 
7872
linux*)
7897
7873
  if test "$host_cpu" = ia64; then
7898
7874
    symcode='[ABCDGIRSTW]'
7899
7875
    lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'"
8444
8420
test -z "$ac_objext" && ac_objext=o
8445
8421
 
8446
8422
# Determine commands to create old-style static archives.
8447
 
old_archive_cmds='$AR $AR_FLAGS $oldlib$oldobjs'
 
8423
old_archive_cmds='$AR $AR_FLAGS $oldlib$oldobjs$old_deplibs'
8448
8424
old_postinstall_cmds='chmod 644 $oldlib'
8449
8425
old_postuninstall_cmds=
8450
8426
 
8644
8620
objext=$objext
8645
8621
 
8646
8622
# Code to be used in simple compile tests
8647
 
lt_simple_compile_test_code="int some_variable = 0;"
 
8623
lt_simple_compile_test_code="int some_variable = 0;\n"
8648
8624
 
8649
8625
# Code to be used in simple link tests
8650
 
lt_simple_link_test_code='int main(){return(0);}'
 
8626
lt_simple_link_test_code='int main(){return(0);}\n'
8651
8627
 
8652
8628
 
8653
8629
# If no C compiler was specified, use CC.
8662
8638
 
8663
8639
# save warnings/boilerplate of simple test code
8664
8640
ac_outfile=conftest.$ac_objext
8665
 
echo "$lt_simple_compile_test_code" >conftest.$ac_ext
 
8641
printf "$lt_simple_compile_test_code" >conftest.$ac_ext
8666
8642
eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
8667
8643
_lt_compiler_boilerplate=`cat conftest.err`
8668
8644
$rm conftest*
8669
8645
 
8670
8646
ac_outfile=conftest.$ac_objext
8671
 
echo "$lt_simple_link_test_code" >conftest.$ac_ext
 
8647
printf "$lt_simple_link_test_code" >conftest.$ac_ext
8672
8648
eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
8673
8649
_lt_linker_boilerplate=`cat conftest.err`
8674
8650
$rm conftest*
8688
8664
else
8689
8665
  lt_cv_prog_compiler_rtti_exceptions=no
8690
8666
  ac_outfile=conftest.$ac_objext
8691
 
   echo "$lt_simple_compile_test_code" > conftest.$ac_ext
 
8667
   printf "$lt_simple_compile_test_code" > conftest.$ac_ext
8692
8668
   lt_compiler_flag="-fno-rtti -fno-exceptions"
8693
8669
   # Insert the option either (1) after the last *FLAGS variable, or
8694
8670
   # (2) before a word containing "conftest.", or (3) at the end.
8699
8675
   -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8700
8676
   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8701
8677
   -e 's:$: $lt_compiler_flag:'`
8702
 
   (eval echo "\"\$as_me:8702: $lt_compile\"" >&5)
 
8678
   (eval echo "\"\$as_me:8678: $lt_compile\"" >&5)
8703
8679
   (eval "$lt_compile" 2>conftest.err)
8704
8680
   ac_status=$?
8705
8681
   cat conftest.err >&5
8706
 
   echo "$as_me:8706: \$? = $ac_status" >&5
 
8682
   echo "$as_me:8682: \$? = $ac_status" >&5
8707
8683
   if (exit $ac_status) && test -s "$ac_outfile"; then
8708
8684
     # The compiler can only warn and ignore the option if not recognized
8709
8685
     # So say no if there are warnings other than the usual output.
8754
8730
      lt_prog_compiler_pic='-m68020 -resident32 -malways-restore-a4'
8755
8731
      ;;
8756
8732
 
8757
 
    beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
 
8733
    beos* | cygwin* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
8758
8734
      # PIC is the default for these OSes.
8759
8735
      ;;
8760
8736
 
8761
 
    mingw* | cygwin* | pw32* | os2*)
 
8737
    mingw* | pw32* | os2*)
8762
8738
      # This hack is so that the source file can tell whether it is being
8763
8739
      # built for inclusion in a dll (and should export symbols for example).
8764
 
      # Although the cygwin gcc ignores -fPIC, still need this for old-style
8765
 
      # (--disable-auto-import) libraries
8766
8740
      lt_prog_compiler_pic='-DDLL_EXPORT'
8767
8741
      ;;
8768
8742
 
8772
8746
      lt_prog_compiler_pic='-fno-common'
8773
8747
      ;;
8774
8748
 
8775
 
    interix[3-9]*)
 
8749
    interix3*)
8776
8750
      # Interix 3.x gcc -fpic/-fPIC options generate broken code.
8777
8751
      # Instead, we relocate shared libraries at runtime.
8778
8752
      ;;
8830
8804
       esac
8831
8805
       ;;
8832
8806
 
8833
 
    mingw* | cygwin* | pw32* | os2*)
 
8807
    mingw* | pw32* | os2*)
8834
8808
      # This hack is so that the source file can tell whether it is being
8835
8809
      # built for inclusion in a dll (and should export symbols for example).
8836
8810
      lt_prog_compiler_pic='-DDLL_EXPORT'
8863
8837
      lt_prog_compiler_static='-Bstatic'
8864
8838
      ;;
8865
8839
 
8866
 
    linux* | k*bsd*-gnu)
 
8840
    linux*)
8867
8841
      case $cc_basename in
8868
8842
      icc* | ecc*)
8869
8843
        lt_prog_compiler_wl='-Wl,'
8882
8856
        # All Alpha code is PIC.
8883
8857
        lt_prog_compiler_static='-non_shared'
8884
8858
        ;;
8885
 
      *)
8886
 
        case `$CC -V 2>&1 | sed 5q` in
8887
 
        *Sun\ C*)
8888
 
          # Sun C 5.9
8889
 
          lt_prog_compiler_pic='-KPIC'
8890
 
          lt_prog_compiler_static='-Bstatic'
8891
 
          lt_prog_compiler_wl='-Wl,'
8892
 
          ;;
8893
 
        *Sun\ F*)
8894
 
          # Sun Fortran 8.3 passes all unrecognized flags to the linker
8895
 
          lt_prog_compiler_pic='-KPIC'
8896
 
          lt_prog_compiler_static='-Bstatic'
8897
 
          lt_prog_compiler_wl=''
8898
 
          ;;
8899
 
        esac
8900
 
        ;;
8901
8859
      esac
8902
8860
      ;;
8903
8861
 
8907
8865
      lt_prog_compiler_static='-non_shared'
8908
8866
      ;;
8909
8867
 
8910
 
    rdos*)
8911
 
      lt_prog_compiler_static='-non_shared'
8912
 
      ;;
8913
 
 
8914
8868
    solaris*)
8915
8869
      lt_prog_compiler_pic='-KPIC'
8916
8870
      lt_prog_compiler_static='-Bstatic'
8978
8932
else
8979
8933
  lt_prog_compiler_pic_works=no
8980
8934
  ac_outfile=conftest.$ac_objext
8981
 
   echo "$lt_simple_compile_test_code" > conftest.$ac_ext
 
8935
   printf "$lt_simple_compile_test_code" > conftest.$ac_ext
8982
8936
   lt_compiler_flag="$lt_prog_compiler_pic -DPIC"
8983
8937
   # Insert the option either (1) after the last *FLAGS variable, or
8984
8938
   # (2) before a word containing "conftest.", or (3) at the end.
8989
8943
   -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8990
8944
   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8991
8945
   -e 's:$: $lt_compiler_flag:'`
8992
 
   (eval echo "\"\$as_me:8992: $lt_compile\"" >&5)
 
8946
   (eval echo "\"\$as_me:8946: $lt_compile\"" >&5)
8993
8947
   (eval "$lt_compile" 2>conftest.err)
8994
8948
   ac_status=$?
8995
8949
   cat conftest.err >&5
8996
 
   echo "$as_me:8996: \$? = $ac_status" >&5
 
8950
   echo "$as_me:8950: \$? = $ac_status" >&5
8997
8951
   if (exit $ac_status) && test -s "$ac_outfile"; then
8998
8952
     # The compiler can only warn and ignore the option if not recognized
8999
8953
     # So say no if there are warnings other than the usual output.
9042
8996
  lt_prog_compiler_static_works=no
9043
8997
   save_LDFLAGS="$LDFLAGS"
9044
8998
   LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
9045
 
   echo "$lt_simple_link_test_code" > conftest.$ac_ext
 
8999
   printf "$lt_simple_link_test_code" > conftest.$ac_ext
9046
9000
   if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
9047
9001
     # The linker can only warn and ignore the option if not recognized
9048
9002
     # So say no if there are warnings
9082
9036
   mkdir conftest
9083
9037
   cd conftest
9084
9038
   mkdir out
9085
 
   echo "$lt_simple_compile_test_code" > conftest.$ac_ext
 
9039
   printf "$lt_simple_compile_test_code" > conftest.$ac_ext
9086
9040
 
9087
9041
   lt_compiler_flag="-o out/conftest2.$ac_objext"
9088
9042
   # Insert the option either (1) after the last *FLAGS variable, or
9093
9047
   -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
9094
9048
   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
9095
9049
   -e 's:$: $lt_compiler_flag:'`
9096
 
   (eval echo "\"\$as_me:9096: $lt_compile\"" >&5)
 
9050
   (eval echo "\"\$as_me:9050: $lt_compile\"" >&5)
9097
9051
   (eval "$lt_compile" 2>out/conftest.err)
9098
9052
   ac_status=$?
9099
9053
   cat out/conftest.err >&5
9100
 
   echo "$as_me:9100: \$? = $ac_status" >&5
 
9054
   echo "$as_me:9054: \$? = $ac_status" >&5
9101
9055
   if (exit $ac_status) && test -s out/conftest2.$ac_objext
9102
9056
   then
9103
9057
     # The compiler can only warn and ignore the option if not recognized
9289
9243
      allow_undefined_flag=unsupported
9290
9244
      always_export_symbols=no
9291
9245
      enable_shared_with_static_runtimes=yes
9292
 
      export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1 DATA/'\'' -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols'
 
9246
      export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS] /s/.* \([^ ]*\)/\1 DATA/'\'' | $SED -e '\''/^[AITW] /s/.* //'\'' | sort | uniq > $export_symbols'
9293
9247
 
9294
9248
      if $LD --help 2>&1 | grep 'auto-import' > /dev/null; then
9295
9249
        archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
9307
9261
      fi
9308
9262
      ;;
9309
9263
 
9310
 
    interix[3-9]*)
 
9264
    interix3*)
9311
9265
      hardcode_direct=no
9312
9266
      hardcode_shlibpath_var=no
9313
9267
      hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
9322
9276
      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'
9323
9277
      ;;
9324
9278
 
9325
 
    gnu* | linux* | k*bsd*-gnu)
 
9279
    linux*)
9326
9280
      if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
9327
9281
        tmp_addflag=
9328
9282
        case $cc_basename,$host_cpu in
9340
9294
        ifc* | ifort*)                  # Intel Fortran compiler
9341
9295
          tmp_addflag=' -nofor_main' ;;
9342
9296
        esac
9343
 
        case `$CC -V 2>&1 | sed 5q` in
9344
 
        *Sun\ C*)                       # Sun C 5.9
9345
 
          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'
9346
 
          tmp_sharedflag='-G' ;;
9347
 
        *Sun\ F*)                       # Sun Fortran 8.3
9348
 
          tmp_sharedflag='-G' ;;
9349
 
        *)
9350
 
          tmp_sharedflag='-shared' ;;
9351
 
        esac
9352
 
        archive_cmds='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
 
9297
        archive_cmds='$CC -shared'"$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9353
9298
 
9354
9299
        if test $supports_anon_versioning = yes; then
9355
9300
          archive_expsym_cmds='$echo "{ global:" > $output_objdir/$libname.ver~
9356
9301
  cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
9357
9302
  $echo "local: *; };" >> $output_objdir/$libname.ver~
9358
 
          $CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
 
9303
          $CC -shared'"$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
9359
9304
        fi
9360
9305
      else
9361
9306
        ld_shlibs=no
9514
9459
           strings "$collect2name" | grep resolve_lib_name >/dev/null
9515
9460
          then
9516
9461
          # We have reworked collect2
9517
 
          :
 
9462
          hardcode_direct=yes
9518
9463
          else
9519
9464
          # We have old collect2
9520
9465
          hardcode_direct=unsupported
9588
9533
       } && test -s conftest$ac_exeext &&
9589
9534
       $as_test_x conftest$ac_exeext; then
9590
9535
 
9591
 
lt_aix_libpath_sed='
9592
 
    /Import File Strings/,/^$/ {
9593
 
        /^0/ {
9594
 
            s/^0  *\(.*\)$/\1/
9595
 
            p
9596
 
        }
9597
 
    }'
9598
 
aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
 
9536
aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0  *\(.*\)$/\1/; p; }
 
9537
}'`
9599
9538
# Check for a 64-bit object if we didn't find anything.
9600
 
if test -z "$aix_libpath"; then
9601
 
  aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9602
 
fi
 
9539
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; }
 
9540
}'`; fi
9603
9541
else
9604
9542
  echo "$as_me: failed program was:" >&5
9605
9543
sed 's/^/| /' conftest.$ac_ext >&5
9654
9592
       } && test -s conftest$ac_exeext &&
9655
9593
       $as_test_x conftest$ac_exeext; then
9656
9594
 
9657
 
lt_aix_libpath_sed='
9658
 
    /Import File Strings/,/^$/ {
9659
 
        /^0/ {
9660
 
            s/^0  *\(.*\)$/\1/
9661
 
            p
9662
 
        }
9663
 
    }'
9664
 
aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
 
9595
aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0  *\(.*\)$/\1/; p; }
 
9596
}'`
9665
9597
# Check for a 64-bit object if we didn't find anything.
9666
 
if test -z "$aix_libpath"; then
9667
 
  aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9668
 
fi
 
9598
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; }
 
9599
}'`; fi
9669
9600
else
9670
9601
  echo "$as_me: failed program was:" >&5
9671
9602
sed 's/^/| /' conftest.$ac_ext >&5
9719
9650
      # The linker will automatically build a .lib file if we build a DLL.
9720
9651
      old_archive_From_new_cmds='true'
9721
9652
      # FIXME: Should let the user specify the lib program.
9722
 
      old_archive_cmds='lib -OUT:$oldlib$oldobjs$old_deplibs'
 
9653
      old_archive_cmds='lib /OUT:$oldlib$oldobjs$old_deplibs'
9723
9654
      fix_srcfile_path='`cygpath -w "$srcfile"`'
9724
9655
      enable_shared_with_static_runtimes=yes
9725
9656
      ;;
9761
9692
      case $cc_basename in
9762
9693
        xlc*)
9763
9694
         output_verbose_link_cmd='echo'
9764
 
         archive_cmds='$CC -qmkshrobj $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-install_name ${wl}`echo $rpath/$soname` $xlcverstring'
 
9695
         archive_cmds='$CC -qmkshrobj $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-install_name ${wl}`echo $rpath/$soname` $verstring'
9765
9696
         module_cmds='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
9766
9697
          # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin lds
9767
 
         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}'
 
9698
         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}'
9768
9699
          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}'
9769
9700
          ;;
9770
9701
       *)
9804
9735
      ;;
9805
9736
 
9806
9737
    # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
9807
 
    freebsd* | dragonfly*)
 
9738
    freebsd* | kfreebsd*-gnu | dragonfly*)
9808
9739
      archive_cmds='$CC -shared -o $lib $libobjs $deplibs $compiler_flags'
9809
9740
      hardcode_libdir_flag_spec='-R$libdir'
9810
9741
      hardcode_direct=yes
9926
9857
      ;;
9927
9858
 
9928
9859
    openbsd*)
9929
 
      if test -f /usr/libexec/ld.so; then
9930
 
        hardcode_direct=yes
9931
 
        hardcode_shlibpath_var=no
9932
 
        if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
9933
 
          archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
9934
 
          archive_expsym_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols'
9935
 
          hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
9936
 
          export_dynamic_flag_spec='${wl}-E'
9937
 
        else
9938
 
          case $host_os in
9939
 
           openbsd[01].* | openbsd2.[0-7] | openbsd2.[0-7].*)
9940
 
             archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
9941
 
             hardcode_libdir_flag_spec='-R$libdir'
9942
 
             ;;
9943
 
           *)
9944
 
             archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
9945
 
             hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
9946
 
             ;;
9947
 
          esac
9948
 
        fi
 
9860
      hardcode_direct=yes
 
9861
      hardcode_shlibpath_var=no
 
9862
      if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
 
9863
        archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
 
9864
        archive_expsym_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols'
 
9865
        hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
 
9866
        export_dynamic_flag_spec='${wl}-E'
9949
9867
      else
9950
 
        ld_shlibs=no
 
9868
       case $host_os in
 
9869
         openbsd[01].* | openbsd2.[0-7] | openbsd2.[0-7].*)
 
9870
           archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
 
9871
           hardcode_libdir_flag_spec='-R$libdir'
 
9872
           ;;
 
9873
         *)
 
9874
           archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
 
9875
           hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
 
9876
           ;;
 
9877
       esac
9951
9878
      fi
9952
9879
      ;;
9953
9880
 
10006
9933
      case $host_os in
10007
9934
      solaris2.[0-5] | solaris2.[0-5].*) ;;
10008
9935
      *)
10009
 
        # The compiler driver will combine and reorder linker options,
10010
 
        # but understands `-z linker_flag'.  GCC discards it without `$wl',
10011
 
        # but is careful enough not to reorder.
 
9936
        # The compiler driver will combine linker options so we
 
9937
        # cannot just pass the convience library names through
 
9938
        # without $wl, iff we do not link with $LD.
 
9939
        # Luckily, gcc supports the same syntax we need for Sun Studio.
10012
9940
        # Supported since Solaris 2.6 (maybe 2.5.1?)
10013
 
        if test "$GCC" = yes; then
10014
 
          whole_archive_flag_spec='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
10015
 
        else
10016
 
          whole_archive_flag_spec='-z allextract$convenience -z defaultextract'
10017
 
        fi
10018
 
        ;;
 
9941
        case $wlarc in
 
9942
        '')
 
9943
          whole_archive_flag_spec='-z allextract$convenience -z defaultextract' ;;
 
9944
        *)
 
9945
          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' ;;
 
9946
        esac ;;
10019
9947
      esac
10020
9948
      link_all_deplibs=yes
10021
9949
      ;;
10072
10000
      fi
10073
10001
      ;;
10074
10002
 
10075
 
    sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7* | sco3.2v5.0.[024]*)
 
10003
    sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7*)
10076
10004
      no_undefined_flag='${wl}-z,text'
10077
10005
      archive_cmds_need_lc=no
10078
10006
      hardcode_shlibpath_var=no
10149
10077
      { echo "$as_me:$LINENO: checking whether -lc should be explicitly linked in" >&5
10150
10078
echo $ECHO_N "checking whether -lc should be explicitly linked in... $ECHO_C" >&6; }
10151
10079
      $rm conftest*
10152
 
      echo "$lt_simple_compile_test_code" > conftest.$ac_ext
 
10080
      printf "$lt_simple_compile_test_code" > conftest.$ac_ext
10153
10081
 
10154
10082
      if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
10155
10083
  (eval $ac_compile) 2>&5
10207
10135
version_type=none
10208
10136
dynamic_linker="$host_os ld.so"
10209
10137
sys_lib_dlsearch_path_spec="/lib /usr/lib"
10210
 
 
10211
10138
if test "$GCC" = yes; then
10212
 
  case $host_os in
10213
 
    darwin*) lt_awk_arg="/^libraries:/,/LR/" ;;
10214
 
    *) lt_awk_arg="/^libraries:/" ;;
10215
 
  esac
10216
 
  lt_search_path_spec=`$CC -print-search-dirs | awk $lt_awk_arg | $SED -e "s/^libraries://" -e "s,=/,/,g"`
10217
 
  if echo "$lt_search_path_spec" | grep ';' >/dev/null ; then
 
10139
  sys_lib_search_path_spec=`$CC -print-search-dirs | grep "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
 
10140
  if echo "$sys_lib_search_path_spec" | grep ';' >/dev/null ; then
10218
10141
    # if the path contains ";" then we assume it to be the separator
10219
10142
    # otherwise default to the standard path separator (i.e. ":") - it is
10220
10143
    # assumed that no part of a normal pathname contains ";" but that should
10221
10144
    # okay in the real world where ";" in dirpaths is itself problematic.
10222
 
    lt_search_path_spec=`echo "$lt_search_path_spec" | $SED -e 's/;/ /g'`
 
10145
    sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
10223
10146
  else
10224
 
    lt_search_path_spec=`echo "$lt_search_path_spec" | $SED  -e "s/$PATH_SEPARATOR/ /g"`
 
10147
    sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED  -e "s/$PATH_SEPARATOR/ /g"`
10225
10148
  fi
10226
 
  # Ok, now we have the path, separated by spaces, we can step through it
10227
 
  # and add multilib dir if necessary.
10228
 
  lt_tmp_lt_search_path_spec=
10229
 
  lt_multi_os_dir=`$CC $CPPFLAGS $CFLAGS $LDFLAGS -print-multi-os-directory 2>/dev/null`
10230
 
  for lt_sys_path in $lt_search_path_spec; do
10231
 
    if test -d "$lt_sys_path/$lt_multi_os_dir"; then
10232
 
      lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path/$lt_multi_os_dir"
10233
 
    else
10234
 
      test -d "$lt_sys_path" && \
10235
 
        lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path"
10236
 
    fi
10237
 
  done
10238
 
  lt_search_path_spec=`echo $lt_tmp_lt_search_path_spec | awk '
10239
 
BEGIN {RS=" "; FS="/|\n";} {
10240
 
  lt_foo="";
10241
 
  lt_count=0;
10242
 
  for (lt_i = NF; lt_i > 0; lt_i--) {
10243
 
    if ($lt_i != "" && $lt_i != ".") {
10244
 
      if ($lt_i == "..") {
10245
 
        lt_count++;
10246
 
      } else {
10247
 
        if (lt_count == 0) {
10248
 
          lt_foo="/" $lt_i lt_foo;
10249
 
        } else {
10250
 
          lt_count--;
10251
 
        }
10252
 
      }
10253
 
    }
10254
 
  }
10255
 
  if (lt_foo != "") { lt_freq[lt_foo]++; }
10256
 
  if (lt_freq[lt_foo] == 1) { print lt_foo; }
10257
 
}'`
10258
 
  sys_lib_search_path_spec=`echo $lt_search_path_spec`
10259
10149
else
10260
10150
  sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"
10261
10151
fi
10415
10305
  shlibpath_overrides_runpath=yes
10416
10306
  shlibpath_var=DYLD_LIBRARY_PATH
10417
10307
  shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`'
10418
 
 
10419
 
  sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/local/lib"
 
10308
  # Apple's gcc prints 'gcc -print-search-dirs' doesn't operate the same.
 
10309
  if test "$GCC" = yes; then
 
10310
    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"`
 
10311
  else
 
10312
    sys_lib_search_path_spec='/lib /usr/lib /usr/local/lib'
 
10313
  fi
10420
10314
  sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
10421
10315
  ;;
10422
10316
 
10433
10327
  dynamic_linker=no
10434
10328
  ;;
10435
10329
 
 
10330
kfreebsd*-gnu)
 
10331
  version_type=linux
 
10332
  need_lib_prefix=no
 
10333
  need_version=no
 
10334
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
 
10335
  soname_spec='${libname}${release}${shared_ext}$major'
 
10336
  shlibpath_var=LD_LIBRARY_PATH
 
10337
  shlibpath_overrides_runpath=no
 
10338
  hardcode_into_libs=yes
 
10339
  dynamic_linker='GNU ld.so'
 
10340
  ;;
 
10341
 
10436
10342
freebsd* | dragonfly*)
10437
10343
  # DragonFly does not have aout.  When/if they implement a new
10438
10344
  # versioning mechanism, adjust this.
10470
10376
    shlibpath_overrides_runpath=no
10471
10377
    hardcode_into_libs=yes
10472
10378
    ;;
10473
 
  *) # from 4.6 on, and DragonFly
 
10379
  freebsd*) # from 4.6 on
10474
10380
    shlibpath_overrides_runpath=yes
10475
10381
    hardcode_into_libs=yes
10476
10382
    ;;
10533
10439
  postinstall_cmds='chmod 555 $lib'
10534
10440
  ;;
10535
10441
 
10536
 
interix[3-9]*)
 
10442
interix3*)
10537
10443
  version_type=linux
10538
10444
  need_lib_prefix=no
10539
10445
  need_version=no
10588
10494
  ;;
10589
10495
 
10590
10496
# This must be Linux ELF.
10591
 
linux* | k*bsd*-gnu)
 
10497
linux*)
10592
10498
  version_type=linux
10593
10499
  need_lib_prefix=no
10594
10500
  need_version=no
10606
10512
  libsuff=
10607
10513
  case "$host_cpu" in
10608
10514
  x86_64*|s390x*|powerpc64*)
10609
 
    echo '#line 10609 "configure"' > conftest.$ac_ext
 
10515
    echo '#line 10515 "configure"' > conftest.$ac_ext
10610
10516
    if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
10611
10517
  (eval $ac_compile) 2>&5
10612
10518
  ac_status=$?
10625
10531
 
10626
10532
  # Append ld.so.conf contents to the search path
10627
10533
  if test -f /etc/ld.so.conf; then
10628
 
    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' ' '`
 
10534
    lt_ld_extra=`awk '/^include / { system(sprintf("cd /etc; cat %s", \$2)); skip = 1; } { if (!skip) print \$0; skip = 0; }' < /etc/ld.so.conf | $SED -e 's/#.*//;s/[:,        ]/ /g;s/=[^=]*$//;s/=[^= ]* / /g;/^$/d' | tr '\n' ' '`
10629
10535
    sys_lib_dlsearch_path_spec="/lib${libsuff} /usr/lib${libsuff} $lt_ld_extra"
10630
10536
  fi
10631
10537
 
10638
10544
  dynamic_linker='GNU/Linux ld.so'
10639
10545
  ;;
10640
10546
 
 
10547
knetbsd*-gnu)
 
10548
  version_type=linux
 
10549
  need_lib_prefix=no
 
10550
  need_version=no
 
10551
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
 
10552
  soname_spec='${libname}${release}${shared_ext}$major'
 
10553
  shlibpath_var=LD_LIBRARY_PATH
 
10554
  shlibpath_overrides_runpath=no
 
10555
  hardcode_into_libs=yes
 
10556
  dynamic_linker='GNU ld.so'
 
10557
  ;;
 
10558
 
10641
10559
netbsd*)
10642
10560
  version_type=sunos
10643
10561
  need_lib_prefix=no
10719
10637
  sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec"
10720
10638
  ;;
10721
10639
 
10722
 
rdos*)
10723
 
  dynamic_linker=no
10724
 
  ;;
10725
 
 
10726
10640
solaris*)
10727
10641
  version_type=linux
10728
10642
  need_lib_prefix=no
10876
10790
   darwin*)
10877
10791
       if test -n "$STRIP" ; then
10878
10792
         striplib="$STRIP -x"
10879
 
         old_striplib="$STRIP -S"
10880
10793
         { echo "$as_me:$LINENO: result: yes" >&5
10881
10794
echo "${ECHO_T}yes" >&6; }
10882
10795
       else
11463
11376
  lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
11464
11377
  lt_status=$lt_dlunknown
11465
11378
  cat > conftest.$ac_ext <<EOF
11466
 
#line 11466 "configure"
 
11379
#line 11379 "configure"
11467
11380
#include "confdefs.h"
11468
11381
 
11469
11382
#if HAVE_DLFCN_H
11563
11476
  lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
11564
11477
  lt_status=$lt_dlunknown
11565
11478
  cat > conftest.$ac_ext <<EOF
11566
 
#line 11566 "configure"
 
11479
#line 11479 "configure"
11567
11480
#include "confdefs.h"
11568
11481
 
11569
11482
#if HAVE_DLFCN_H
11761
11674
    module_cmds \
11762
11675
    module_expsym_cmds \
11763
11676
    lt_cv_prog_compiler_c_o \
11764
 
    fix_srcfile_path \
11765
11677
    exclude_expsyms \
11766
11678
    include_expsyms; do
11767
11679
 
11806
11718
# Generated automatically by $PROGRAM (GNU $PACKAGE $VERSION$TIMESTAMP)
11807
11719
# NOTE: Changes made to this file will be lost: look at ltmain.sh.
11808
11720
#
11809
 
# Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004, 2005, 2006, 2007
 
11721
# Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001
11810
11722
# Free Software Foundation, Inc.
11811
11723
#
11812
11724
# This file is part of GNU Libtool:
11895
11807
# Is the compiler the GNU C compiler?
11896
11808
with_gcc=$GCC
11897
11809
 
11898
 
gcc_dir=\`gcc -print-file-name=. | $SED 's,/\.$,,'\`
11899
 
gcc_ver=\`gcc -dumpversion\`
11900
 
 
11901
11810
# An ERE matcher.
11902
11811
EGREP=$lt_EGREP
11903
11812
 
12031
11940
 
12032
11941
# Dependencies to place before the objects being linked to create a
12033
11942
# shared library.
12034
 
predep_objects=\`echo $lt_predep_objects | \$SED -e "s@\${gcc_dir}@\\\${gcc_dir}@g;s@\${gcc_ver}@\\\${gcc_ver}@g"\`
 
11943
predep_objects=$lt_predep_objects
12035
11944
 
12036
11945
# Dependencies to place after the objects being linked to create a
12037
11946
# shared library.
12038
 
postdep_objects=\`echo $lt_postdep_objects | \$SED -e "s@\${gcc_dir}@\\\${gcc_dir}@g;s@\${gcc_ver}@\\\${gcc_ver}@g"\`
 
11947
postdep_objects=$lt_postdep_objects
12039
11948
 
12040
11949
# Dependencies to place before the objects being linked to create a
12041
11950
# shared library.
12047
11956
 
12048
11957
# The library search path used internally by the compiler when linking
12049
11958
# a shared library.
12050
 
compiler_lib_search_path=\`echo $lt_compiler_lib_search_path | \$SED -e "s@\${gcc_dir}@\\\${gcc_dir}@g;s@\${gcc_ver}@\\\${gcc_ver}@g"\`
 
11959
compiler_lib_search_path=$lt_compiler_lib_search_path
12051
11960
 
12052
11961
# Method to check whether dependent libraries are shared objects.
12053
11962
deplibs_check_method=$lt_deplibs_check_method
12127
12036
link_all_deplibs=$link_all_deplibs
12128
12037
 
12129
12038
# Compile-time system search path for libraries
12130
 
sys_lib_search_path_spec=\`echo $lt_sys_lib_search_path_spec | \$SED -e "s@\${gcc_dir}@\\\${gcc_dir}@g;s@\${gcc_ver}@\\\${gcc_ver}@g"\`
 
12039
sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
12131
12040
 
12132
12041
# Run-time system search path for libraries
12133
12042
sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
12134
12043
 
12135
12044
# Fix the shell variable \$srcfile for the compiler.
12136
 
fix_srcfile_path=$lt_fix_srcfile_path
 
12045
fix_srcfile_path="$fix_srcfile_path"
12137
12046
 
12138
12047
# Set to yes if exported symbols are required.
12139
12048
always_export_symbols=$always_export_symbols
12302
12211
objext_CXX=$objext
12303
12212
 
12304
12213
# Code to be used in simple compile tests
12305
 
lt_simple_compile_test_code="int some_variable = 0;"
 
12214
lt_simple_compile_test_code="int some_variable = 0;\n"
12306
12215
 
12307
12216
# Code to be used in simple link tests
12308
 
lt_simple_link_test_code='int main(int, char *[]) { return(0); }'
 
12217
lt_simple_link_test_code='int main(int, char *[]) { return(0); }\n'
12309
12218
 
12310
12219
# ltmain only uses $CC for tagged configurations so make sure $CC is set.
12311
12220
 
12321
12230
 
12322
12231
# save warnings/boilerplate of simple test code
12323
12232
ac_outfile=conftest.$ac_objext
12324
 
echo "$lt_simple_compile_test_code" >conftest.$ac_ext
 
12233
printf "$lt_simple_compile_test_code" >conftest.$ac_ext
12325
12234
eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
12326
12235
_lt_compiler_boilerplate=`cat conftest.err`
12327
12236
$rm conftest*
12328
12237
 
12329
12238
ac_outfile=conftest.$ac_objext
12330
 
echo "$lt_simple_link_test_code" >conftest.$ac_ext
 
12239
printf "$lt_simple_link_test_code" >conftest.$ac_ext
12331
12240
eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
12332
12241
_lt_linker_boilerplate=`cat conftest.err`
12333
12242
$rm conftest*
12586
12495
           strings "$collect2name" | grep resolve_lib_name >/dev/null
12587
12496
        then
12588
12497
          # We have reworked collect2
12589
 
          :
 
12498
          hardcode_direct_CXX=yes
12590
12499
        else
12591
12500
          # We have old collect2
12592
12501
          hardcode_direct_CXX=unsupported
12660
12569
       } && test -s conftest$ac_exeext &&
12661
12570
       $as_test_x conftest$ac_exeext; then
12662
12571
 
12663
 
lt_aix_libpath_sed='
12664
 
    /Import File Strings/,/^$/ {
12665
 
        /^0/ {
12666
 
            s/^0  *\(.*\)$/\1/
12667
 
            p
12668
 
        }
12669
 
    }'
12670
 
aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
 
12572
aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0  *\(.*\)$/\1/; p; }
 
12573
}'`
12671
12574
# Check for a 64-bit object if we didn't find anything.
12672
 
if test -z "$aix_libpath"; then
12673
 
  aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
12674
 
fi
 
12575
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; }
 
12576
}'`; fi
12675
12577
else
12676
12578
  echo "$as_me: failed program was:" >&5
12677
12579
sed 's/^/| /' conftest.$ac_ext >&5
12727
12629
       } && test -s conftest$ac_exeext &&
12728
12630
       $as_test_x conftest$ac_exeext; then
12729
12631
 
12730
 
lt_aix_libpath_sed='
12731
 
    /Import File Strings/,/^$/ {
12732
 
        /^0/ {
12733
 
            s/^0  *\(.*\)$/\1/
12734
 
            p
12735
 
        }
12736
 
    }'
12737
 
aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
 
12632
aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0  *\(.*\)$/\1/; p; }
 
12633
}'`
12738
12634
# Check for a 64-bit object if we didn't find anything.
12739
 
if test -z "$aix_libpath"; then
12740
 
  aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
12741
 
fi
 
12635
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; }
 
12636
}'`; fi
12742
12637
else
12743
12638
  echo "$as_me: failed program was:" >&5
12744
12639
sed 's/^/| /' conftest.$ac_ext >&5
12857
12752
      case $cc_basename in
12858
12753
        xlc*)
12859
12754
         output_verbose_link_cmd='echo'
12860
 
          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'
 
12755
          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'
12861
12756
          module_cmds_CXX='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
12862
12757
          # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin lds
12863
 
          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}'
 
12758
          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}'
12864
12759
          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}'
12865
12760
          ;;
12866
12761
       *)
12894
12789
  freebsd-elf*)
12895
12790
    archive_cmds_need_lc_CXX=no
12896
12791
    ;;
12897
 
  freebsd* | dragonfly*)
 
12792
  freebsd* | kfreebsd*-gnu | dragonfly*)
12898
12793
    # FreeBSD 3 and later use GNU C++ and GNU ld with standard ELF
12899
12794
    # conventions
12900
12795
    ld_shlibs_CXX=yes
12943
12838
      hardcode_libdir_separator_CXX=:
12944
12839
 
12945
12840
      case $host_cpu in
12946
 
      hppa*64*|ia64*) ;;
 
12841
      hppa*64*|ia64*)
 
12842
        hardcode_libdir_flag_spec_ld_CXX='+b $libdir'
 
12843
        ;;
12947
12844
      *)
12948
12845
        export_dynamic_flag_spec_CXX='${wl}-E'
12949
12846
        ;;
13011
12908
        ;;
13012
12909
    esac
13013
12910
    ;;
13014
 
  interix[3-9]*)
 
12911
  interix3*)
13015
12912
    hardcode_direct_CXX=no
13016
12913
    hardcode_shlibpath_var_CXX=no
13017
12914
    hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
13051
12948
    hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
13052
12949
    hardcode_libdir_separator_CXX=:
13053
12950
    ;;
13054
 
  linux* | k*bsd*-gnu)
 
12951
  linux*)
13055
12952
    case $cc_basename in
13056
12953
      KCC*)
13057
12954
        # Kuck and Associates, Inc. (KAI) C++ Compiler
13131
13028
        # dependencies.
13132
13029
        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'
13133
13030
        ;;
13134
 
      *)
13135
 
        case `$CC -V 2>&1 | sed 5q` in
13136
 
        *Sun\ C*)
13137
 
          # Sun C++ 5.9
13138
 
          no_undefined_flag_CXX=' -zdefs'
13139
 
          archive_cmds_CXX='$CC -G${allow_undefined_flag} -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
13140
 
          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'
13141
 
          hardcode_libdir_flag_spec_CXX='-R$libdir'
13142
 
          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'
13143
 
 
13144
 
          # Not sure whether something based on
13145
 
          # $CC $CFLAGS -v conftest.$objext -o libconftest$shared_ext 2>&1
13146
 
          # would be better.
13147
 
          output_verbose_link_cmd='echo'
13148
 
 
13149
 
          # Archives containing C++ object files must be created using
13150
 
          # "CC -xar", where "CC" is the Sun C++ compiler.  This is
13151
 
          # necessary to make sure instantiated templates are included
13152
 
          # in the archive.
13153
 
          old_archive_cmds_CXX='$CC -xar -o $oldlib $oldobjs'
13154
 
          ;;
13155
 
        esac
13156
 
        ;;
13157
13031
    esac
13158
13032
    ;;
13159
13033
  lynxos*)
13192
13066
    ld_shlibs_CXX=no
13193
13067
    ;;
13194
13068
  openbsd*)
13195
 
    if test -f /usr/libexec/ld.so; then
13196
 
      hardcode_direct_CXX=yes
13197
 
      hardcode_shlibpath_var_CXX=no
13198
 
      archive_cmds_CXX='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $lib'
13199
 
      hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
13200
 
      if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
13201
 
        archive_expsym_cmds_CXX='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-retain-symbols-file,$export_symbols -o $lib'
13202
 
        export_dynamic_flag_spec_CXX='${wl}-E'
13203
 
        whole_archive_flag_spec_CXX="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
13204
 
      fi
13205
 
      output_verbose_link_cmd='echo'
13206
 
    else
13207
 
      ld_shlibs_CXX=no
 
13069
    hardcode_direct_CXX=yes
 
13070
    hardcode_shlibpath_var_CXX=no
 
13071
    archive_cmds_CXX='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $lib'
 
13072
    hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
 
13073
    if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
 
13074
      archive_expsym_cmds_CXX='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-retain-symbols-file,$export_symbols -o $lib'
 
13075
      export_dynamic_flag_spec_CXX='${wl}-E'
 
13076
      whole_archive_flag_spec_CXX="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
13208
13077
    fi
 
13078
    output_verbose_link_cmd='echo'
13209
13079
    ;;
13210
13080
  osf3*)
13211
13081
    case $cc_basename in
13367
13237
        case $host_os in
13368
13238
          solaris2.[0-5] | solaris2.[0-5].*) ;;
13369
13239
          *)
13370
 
            # The compiler driver will combine and reorder linker options,
13371
 
            # but understands `-z linker_flag'.
 
13240
            # The C++ compiler is used as linker so we must use $wl
 
13241
            # flag to pass the commands to the underlying system
 
13242
            # linker. We must also pass each convience library through
 
13243
            # to the system linker between allextract/defaultextract.
 
13244
            # The C++ compiler will combine linker options so we
 
13245
            # cannot just pass the convience library names through
 
13246
            # without $wl.
13372
13247
            # Supported since Solaris 2.6 (maybe 2.5.1?)
13373
 
            whole_archive_flag_spec_CXX='-z allextract$convenience -z defaultextract'
 
13248
            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'
13374
13249
            ;;
13375
13250
        esac
13376
13251
        link_all_deplibs_CXX=yes
13417
13292
          fi
13418
13293
 
13419
13294
          hardcode_libdir_flag_spec_CXX='${wl}-R $wl$libdir'
13420
 
          case $host_os in
13421
 
          solaris2.[0-5] | solaris2.[0-5].*) ;;
13422
 
          *)
13423
 
            whole_archive_flag_spec_CXX='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
13424
 
            ;;
13425
 
          esac
13426
13295
        fi
13427
13296
        ;;
13428
13297
    esac
13614
13483
 
13615
13484
# PORTME: override above test on systems where it is broken
13616
13485
case $host_os in
13617
 
interix[3-9]*)
 
13486
interix3*)
13618
13487
  # Interix 3.5 installs completely hosed .la files for C++, so rather than
13619
13488
  # hack all around it, let's just trust "g++" to DTRT.
13620
13489
  predep_objects_CXX=
13622
13491
  postdeps_CXX=
13623
13492
  ;;
13624
13493
 
13625
 
linux*)
13626
 
  case `$CC -V 2>&1 | sed 5q` in
13627
 
  *Sun\ C*)
13628
 
    # Sun C++ 5.9
13629
 
    #
13630
 
    # The more standards-conforming stlport4 library is
13631
 
    # incompatible with the Cstd library. Avoid specifying
13632
 
    # it if it's in CXXFLAGS. Ignore libCrun as
13633
 
    # -library=stlport4 depends on it.
13634
 
    case " $CXX $CXXFLAGS " in
13635
 
    *" -library=stlport4 "*)
13636
 
      solaris_use_stlport4=yes
13637
 
      ;;
13638
 
    esac
13639
 
    if test "$solaris_use_stlport4" != yes; then
13640
 
      postdeps_CXX='-library=Cstd -library=Crun'
13641
 
    fi
13642
 
    ;;
13643
 
  esac
13644
 
  ;;
13645
 
 
13646
13494
solaris*)
13647
13495
  case $cc_basename in
13648
13496
  CC*)
13649
 
    # The more standards-conforming stlport4 library is
13650
 
    # incompatible with the Cstd library. Avoid specifying
13651
 
    # it if it's in CXXFLAGS. Ignore libCrun as
13652
 
    # -library=stlport4 depends on it.
13653
 
    case " $CXX $CXXFLAGS " in
13654
 
    *" -library=stlport4 "*)
13655
 
      solaris_use_stlport4=yes
13656
 
      ;;
13657
 
    esac
13658
 
 
13659
13497
    # Adding this requires a known-good setup of shared libraries for
13660
13498
    # Sun compiler versions before 5.6, else PIC objects from an old
13661
13499
    # archive will be linked into the output, leading to subtle bugs.
13662
 
    if test "$solaris_use_stlport4" != yes; then
13663
 
      postdeps_CXX='-library=Cstd -library=Crun'
13664
 
    fi
 
13500
    postdeps_CXX='-lCstd -lCrun'
13665
13501
    ;;
13666
13502
  esac
13667
13503
  ;;
13698
13534
      # like `-m68040'.
13699
13535
      lt_prog_compiler_pic_CXX='-m68020 -resident32 -malways-restore-a4'
13700
13536
      ;;
13701
 
    beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
 
13537
    beos* | cygwin* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
13702
13538
      # PIC is the default for these OSes.
13703
13539
      ;;
13704
 
    mingw* | cygwin* | os2* | pw32*)
 
13540
    mingw* | os2* | pw32*)
13705
13541
      # This hack is so that the source file can tell whether it is being
13706
13542
      # built for inclusion in a dll (and should export symbols for example).
13707
 
      # Although the cygwin gcc ignores -fPIC, still need this for old-style
13708
 
      # (--disable-auto-import) libraries
13709
13543
      lt_prog_compiler_pic_CXX='-DDLL_EXPORT'
13710
13544
      ;;
13711
13545
    darwin* | rhapsody*)
13717
13551
      # DJGPP does not support shared libraries at all
13718
13552
      lt_prog_compiler_pic_CXX=
13719
13553
      ;;
13720
 
    interix[3-9]*)
 
13554
    interix3*)
13721
13555
      # Interix 3.x gcc -fpic/-fPIC options generate broken code.
13722
13556
      # Instead, we relocate shared libraries at runtime.
13723
13557
      ;;
13783
13617
            ;;
13784
13618
        esac
13785
13619
        ;;
13786
 
      freebsd* | dragonfly*)
 
13620
      freebsd* | kfreebsd*-gnu | dragonfly*)
13787
13621
        # FreeBSD uses GNU C++
13788
13622
        ;;
13789
13623
      hpux9* | hpux10* | hpux11*)
13826
13660
            ;;
13827
13661
        esac
13828
13662
        ;;
13829
 
      linux* | k*bsd*-gnu)
 
13663
      linux*)
13830
13664
        case $cc_basename in
13831
13665
          KCC*)
13832
13666
            # KAI C++ Compiler
13853
13687
            lt_prog_compiler_static_CXX='-non_shared'
13854
13688
            ;;
13855
13689
          *)
13856
 
            case `$CC -V 2>&1 | sed 5q` in
13857
 
            *Sun\ C*)
13858
 
              # Sun C++ 5.9
13859
 
              lt_prog_compiler_pic_CXX='-KPIC'
13860
 
              lt_prog_compiler_static_CXX='-Bstatic'
13861
 
              lt_prog_compiler_wl_CXX='-Qoption ld '
13862
 
              ;;
13863
 
            esac
13864
13690
            ;;
13865
13691
        esac
13866
13692
        ;;
13975
13801
else
13976
13802
  lt_prog_compiler_pic_works_CXX=no
13977
13803
  ac_outfile=conftest.$ac_objext
13978
 
   echo "$lt_simple_compile_test_code" > conftest.$ac_ext
 
13804
   printf "$lt_simple_compile_test_code" > conftest.$ac_ext
13979
13805
   lt_compiler_flag="$lt_prog_compiler_pic_CXX -DPIC"
13980
13806
   # Insert the option either (1) after the last *FLAGS variable, or
13981
13807
   # (2) before a word containing "conftest.", or (3) at the end.
13986
13812
   -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
13987
13813
   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
13988
13814
   -e 's:$: $lt_compiler_flag:'`
13989
 
   (eval echo "\"\$as_me:13989: $lt_compile\"" >&5)
 
13815
   (eval echo "\"\$as_me:13815: $lt_compile\"" >&5)
13990
13816
   (eval "$lt_compile" 2>conftest.err)
13991
13817
   ac_status=$?
13992
13818
   cat conftest.err >&5
13993
 
   echo "$as_me:13993: \$? = $ac_status" >&5
 
13819
   echo "$as_me:13819: \$? = $ac_status" >&5
13994
13820
   if (exit $ac_status) && test -s "$ac_outfile"; then
13995
13821
     # The compiler can only warn and ignore the option if not recognized
13996
13822
     # So say no if there are warnings other than the usual output.
14039
13865
  lt_prog_compiler_static_works_CXX=no
14040
13866
   save_LDFLAGS="$LDFLAGS"
14041
13867
   LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
14042
 
   echo "$lt_simple_link_test_code" > conftest.$ac_ext
 
13868
   printf "$lt_simple_link_test_code" > conftest.$ac_ext
14043
13869
   if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
14044
13870
     # The linker can only warn and ignore the option if not recognized
14045
13871
     # So say no if there are warnings
14079
13905
   mkdir conftest
14080
13906
   cd conftest
14081
13907
   mkdir out
14082
 
   echo "$lt_simple_compile_test_code" > conftest.$ac_ext
 
13908
   printf "$lt_simple_compile_test_code" > conftest.$ac_ext
14083
13909
 
14084
13910
   lt_compiler_flag="-o out/conftest2.$ac_objext"
14085
13911
   # Insert the option either (1) after the last *FLAGS variable, or
14090
13916
   -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
14091
13917
   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
14092
13918
   -e 's:$: $lt_compiler_flag:'`
14093
 
   (eval echo "\"\$as_me:14093: $lt_compile\"" >&5)
 
13919
   (eval echo "\"\$as_me:13919: $lt_compile\"" >&5)
14094
13920
   (eval "$lt_compile" 2>out/conftest.err)
14095
13921
   ac_status=$?
14096
13922
   cat out/conftest.err >&5
14097
 
   echo "$as_me:14097: \$? = $ac_status" >&5
 
13923
   echo "$as_me:13923: \$? = $ac_status" >&5
14098
13924
   if (exit $ac_status) && test -s out/conftest2.$ac_objext
14099
13925
   then
14100
13926
     # The compiler can only warn and ignore the option if not recognized
14160
13986
    export_symbols_cmds_CXX="$ltdll_cmds"
14161
13987
  ;;
14162
13988
  cygwin* | mingw*)
14163
 
    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'
 
13989
    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'
14164
13990
  ;;
14165
13991
  *)
14166
13992
    export_symbols_cmds_CXX='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
14191
14017
      { echo "$as_me:$LINENO: checking whether -lc should be explicitly linked in" >&5
14192
14018
echo $ECHO_N "checking whether -lc should be explicitly linked in... $ECHO_C" >&6; }
14193
14019
      $rm conftest*
14194
 
      echo "$lt_simple_compile_test_code" > conftest.$ac_ext
 
14020
      printf "$lt_simple_compile_test_code" > conftest.$ac_ext
14195
14021
 
14196
14022
      if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14197
14023
  (eval $ac_compile) 2>&5
14249
14075
version_type=none
14250
14076
dynamic_linker="$host_os ld.so"
14251
14077
sys_lib_dlsearch_path_spec="/lib /usr/lib"
14252
 
 
 
14078
if test "$GCC" = yes; then
 
14079
  sys_lib_search_path_spec=`$CC -print-search-dirs | grep "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
 
14080
  if echo "$sys_lib_search_path_spec" | grep ';' >/dev/null ; then
 
14081
    # if the path contains ";" then we assume it to be the separator
 
14082
    # otherwise default to the standard path separator (i.e. ":") - it is
 
14083
    # assumed that no part of a normal pathname contains ";" but that should
 
14084
    # okay in the real world where ";" in dirpaths is itself problematic.
 
14085
    sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
 
14086
  else
 
14087
    sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED  -e "s/$PATH_SEPARATOR/ /g"`
 
14088
  fi
 
14089
else
 
14090
  sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"
 
14091
fi
14253
14092
need_lib_prefix=unknown
14254
14093
hardcode_into_libs=no
14255
14094
 
14406
14245
  shlibpath_overrides_runpath=yes
14407
14246
  shlibpath_var=DYLD_LIBRARY_PATH
14408
14247
  shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`'
14409
 
 
 
14248
  # Apple's gcc prints 'gcc -print-search-dirs' doesn't operate the same.
 
14249
  if test "$GCC" = yes; then
 
14250
    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"`
 
14251
  else
 
14252
    sys_lib_search_path_spec='/lib /usr/lib /usr/local/lib'
 
14253
  fi
14410
14254
  sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
14411
14255
  ;;
14412
14256
 
14423
14267
  dynamic_linker=no
14424
14268
  ;;
14425
14269
 
 
14270
kfreebsd*-gnu)
 
14271
  version_type=linux
 
14272
  need_lib_prefix=no
 
14273
  need_version=no
 
14274
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
 
14275
  soname_spec='${libname}${release}${shared_ext}$major'
 
14276
  shlibpath_var=LD_LIBRARY_PATH
 
14277
  shlibpath_overrides_runpath=no
 
14278
  hardcode_into_libs=yes
 
14279
  dynamic_linker='GNU ld.so'
 
14280
  ;;
 
14281
 
14426
14282
freebsd* | dragonfly*)
14427
14283
  # DragonFly does not have aout.  When/if they implement a new
14428
14284
  # versioning mechanism, adjust this.
14460
14316
    shlibpath_overrides_runpath=no
14461
14317
    hardcode_into_libs=yes
14462
14318
    ;;
14463
 
  *) # from 4.6 on, and DragonFly
 
14319
  freebsd*) # from 4.6 on
14464
14320
    shlibpath_overrides_runpath=yes
14465
14321
    hardcode_into_libs=yes
14466
14322
    ;;
14523
14379
  postinstall_cmds='chmod 555 $lib'
14524
14380
  ;;
14525
14381
 
14526
 
interix[3-9]*)
 
14382
interix3*)
14527
14383
  version_type=linux
14528
14384
  need_lib_prefix=no
14529
14385
  need_version=no
14578
14434
  ;;
14579
14435
 
14580
14436
# This must be Linux ELF.
14581
 
linux* | k*bsd*-gnu)
 
14437
linux*)
14582
14438
  version_type=linux
14583
14439
  need_lib_prefix=no
14584
14440
  need_version=no
14596
14452
  libsuff=
14597
14453
  case "$host_cpu" in
14598
14454
  x86_64*|s390x*|powerpc64*)
14599
 
    echo '#line 14599 "configure"' > conftest.$ac_ext
 
14455
    echo '#line 14455 "configure"' > conftest.$ac_ext
14600
14456
    if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14601
14457
  (eval $ac_compile) 2>&5
14602
14458
  ac_status=$?
14615
14471
 
14616
14472
  # Append ld.so.conf contents to the search path
14617
14473
  if test -f /etc/ld.so.conf; then
14618
 
    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' ' '`
 
14474
    lt_ld_extra=`awk '/^include / { system(sprintf("cd /etc; cat %s", \$2)); skip = 1; } { if (!skip) print \$0; skip = 0; }' < /etc/ld.so.conf | $SED -e 's/#.*//;s/[:,        ]/ /g;s/=[^=]*$//;s/=[^= ]* / /g;/^$/d' | tr '\n' ' '`
14619
14475
    sys_lib_dlsearch_path_spec="/lib${libsuff} /usr/lib${libsuff} $lt_ld_extra"
14620
14476
  fi
14621
14477
 
14628
14484
  dynamic_linker='GNU/Linux ld.so'
14629
14485
  ;;
14630
14486
 
 
14487
knetbsd*-gnu)
 
14488
  version_type=linux
 
14489
  need_lib_prefix=no
 
14490
  need_version=no
 
14491
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
 
14492
  soname_spec='${libname}${release}${shared_ext}$major'
 
14493
  shlibpath_var=LD_LIBRARY_PATH
 
14494
  shlibpath_overrides_runpath=no
 
14495
  hardcode_into_libs=yes
 
14496
  dynamic_linker='GNU ld.so'
 
14497
  ;;
 
14498
 
14631
14499
netbsd*)
14632
14500
  version_type=sunos
14633
14501
  need_lib_prefix=no
14709
14577
  sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec"
14710
14578
  ;;
14711
14579
 
14712
 
rdos*)
14713
 
  dynamic_linker=no
14714
 
  ;;
14715
 
 
14716
14580
solaris*)
14717
14581
  version_type=linux
14718
14582
  need_lib_prefix=no
14907
14771
    module_cmds_CXX \
14908
14772
    module_expsym_cmds_CXX \
14909
14773
    lt_cv_prog_compiler_c_o_CXX \
14910
 
    fix_srcfile_path_CXX \
14911
14774
    exclude_expsyms_CXX \
14912
14775
    include_expsyms_CXX; do
14913
14776
 
14993
14856
# Is the compiler the GNU C compiler?
14994
14857
with_gcc=$GCC_CXX
14995
14858
 
14996
 
gcc_dir=\`gcc -print-file-name=. | $SED 's,/\.$,,'\`
14997
 
gcc_ver=\`gcc -dumpversion\`
14998
 
 
14999
14859
# An ERE matcher.
15000
14860
EGREP=$lt_EGREP
15001
14861
 
15129
14989
 
15130
14990
# Dependencies to place before the objects being linked to create a
15131
14991
# shared library.
15132
 
predep_objects=\`echo $lt_predep_objects_CXX | \$SED -e "s@\${gcc_dir}@\\\${gcc_dir}@g;s@\${gcc_ver}@\\\${gcc_ver}@g"\`
 
14992
predep_objects=$lt_predep_objects_CXX
15133
14993
 
15134
14994
# Dependencies to place after the objects being linked to create a
15135
14995
# shared library.
15136
 
postdep_objects=\`echo $lt_postdep_objects_CXX | \$SED -e "s@\${gcc_dir}@\\\${gcc_dir}@g;s@\${gcc_ver}@\\\${gcc_ver}@g"\`
 
14996
postdep_objects=$lt_postdep_objects_CXX
15137
14997
 
15138
14998
# Dependencies to place before the objects being linked to create a
15139
14999
# shared library.
15145
15005
 
15146
15006
# The library search path used internally by the compiler when linking
15147
15007
# a shared library.
15148
 
compiler_lib_search_path=\`echo $lt_compiler_lib_search_path_CXX | \$SED -e "s@\${gcc_dir}@\\\${gcc_dir}@g;s@\${gcc_ver}@\\\${gcc_ver}@g"\`
 
15008
compiler_lib_search_path=$lt_compiler_lib_search_path_CXX
15149
15009
 
15150
15010
# Method to check whether dependent libraries are shared objects.
15151
15011
deplibs_check_method=$lt_deplibs_check_method
15225
15085
link_all_deplibs=$link_all_deplibs_CXX
15226
15086
 
15227
15087
# Compile-time system search path for libraries
15228
 
sys_lib_search_path_spec=\`echo $lt_sys_lib_search_path_spec | \$SED -e "s@\${gcc_dir}@\\\${gcc_dir}@g;s@\${gcc_ver}@\\\${gcc_ver}@g"\`
 
15088
sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
15229
15089
 
15230
15090
# Run-time system search path for libraries
15231
15091
sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
15232
15092
 
15233
15093
# Fix the shell variable \$srcfile for the compiler.
15234
 
fix_srcfile_path=$lt_fix_srcfile_path
 
15094
fix_srcfile_path="$fix_srcfile_path_CXX"
15235
15095
 
15236
15096
# Set to yes if exported symbols are required.
15237
15097
always_export_symbols=$always_export_symbols_CXX
15322
15182
objext_F77=$objext
15323
15183
 
15324
15184
# Code to be used in simple compile tests
15325
 
lt_simple_compile_test_code="\
15326
 
      subroutine t
15327
 
      return
15328
 
      end
15329
 
"
 
15185
lt_simple_compile_test_code="      subroutine t\n      return\n      end\n"
15330
15186
 
15331
15187
# Code to be used in simple link tests
15332
 
lt_simple_link_test_code="\
15333
 
      program t
15334
 
      end
15335
 
"
 
15188
lt_simple_link_test_code="      program t\n      end\n"
15336
15189
 
15337
15190
# ltmain only uses $CC for tagged configurations so make sure $CC is set.
15338
15191
 
15348
15201
 
15349
15202
# save warnings/boilerplate of simple test code
15350
15203
ac_outfile=conftest.$ac_objext
15351
 
echo "$lt_simple_compile_test_code" >conftest.$ac_ext
 
15204
printf "$lt_simple_compile_test_code" >conftest.$ac_ext
15352
15205
eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
15353
15206
_lt_compiler_boilerplate=`cat conftest.err`
15354
15207
$rm conftest*
15355
15208
 
15356
15209
ac_outfile=conftest.$ac_objext
15357
 
echo "$lt_simple_link_test_code" >conftest.$ac_ext
 
15210
printf "$lt_simple_link_test_code" >conftest.$ac_ext
15358
15211
eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
15359
15212
_lt_linker_boilerplate=`cat conftest.err`
15360
15213
$rm conftest*
15441
15294
      lt_prog_compiler_pic_F77='-m68020 -resident32 -malways-restore-a4'
15442
15295
      ;;
15443
15296
 
15444
 
    beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
 
15297
    beos* | cygwin* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
15445
15298
      # PIC is the default for these OSes.
15446
15299
      ;;
15447
15300
 
15448
 
    mingw* | cygwin* | pw32* | os2*)
 
15301
    mingw* | pw32* | os2*)
15449
15302
      # This hack is so that the source file can tell whether it is being
15450
15303
      # built for inclusion in a dll (and should export symbols for example).
15451
 
      # Although the cygwin gcc ignores -fPIC, still need this for old-style
15452
 
      # (--disable-auto-import) libraries
15453
15304
      lt_prog_compiler_pic_F77='-DDLL_EXPORT'
15454
15305
      ;;
15455
15306
 
15459
15310
      lt_prog_compiler_pic_F77='-fno-common'
15460
15311
      ;;
15461
15312
 
15462
 
    interix[3-9]*)
 
15313
    interix3*)
15463
15314
      # Interix 3.x gcc -fpic/-fPIC options generate broken code.
15464
15315
      # Instead, we relocate shared libraries at runtime.
15465
15316
      ;;
15517
15368
       esac
15518
15369
       ;;
15519
15370
 
15520
 
    mingw* | cygwin* | pw32* | os2*)
 
15371
    mingw* | pw32* | os2*)
15521
15372
      # This hack is so that the source file can tell whether it is being
15522
15373
      # built for inclusion in a dll (and should export symbols for example).
15523
15374
      lt_prog_compiler_pic_F77='-DDLL_EXPORT'
15550
15401
      lt_prog_compiler_static_F77='-Bstatic'
15551
15402
      ;;
15552
15403
 
15553
 
    linux* | k*bsd*-gnu)
 
15404
    linux*)
15554
15405
      case $cc_basename in
15555
15406
      icc* | ecc*)
15556
15407
        lt_prog_compiler_wl_F77='-Wl,'
15569
15420
        # All Alpha code is PIC.
15570
15421
        lt_prog_compiler_static_F77='-non_shared'
15571
15422
        ;;
15572
 
      *)
15573
 
        case `$CC -V 2>&1 | sed 5q` in
15574
 
        *Sun\ C*)
15575
 
          # Sun C 5.9
15576
 
          lt_prog_compiler_pic_F77='-KPIC'
15577
 
          lt_prog_compiler_static_F77='-Bstatic'
15578
 
          lt_prog_compiler_wl_F77='-Wl,'
15579
 
          ;;
15580
 
        *Sun\ F*)
15581
 
          # Sun Fortran 8.3 passes all unrecognized flags to the linker
15582
 
          lt_prog_compiler_pic_F77='-KPIC'
15583
 
          lt_prog_compiler_static_F77='-Bstatic'
15584
 
          lt_prog_compiler_wl_F77=''
15585
 
          ;;
15586
 
        esac
15587
 
        ;;
15588
15423
      esac
15589
15424
      ;;
15590
15425
 
15594
15429
      lt_prog_compiler_static_F77='-non_shared'
15595
15430
      ;;
15596
15431
 
15597
 
    rdos*)
15598
 
      lt_prog_compiler_static_F77='-non_shared'
15599
 
      ;;
15600
 
 
15601
15432
    solaris*)
15602
15433
      lt_prog_compiler_pic_F77='-KPIC'
15603
15434
      lt_prog_compiler_static_F77='-Bstatic'
15665
15496
else
15666
15497
  lt_prog_compiler_pic_works_F77=no
15667
15498
  ac_outfile=conftest.$ac_objext
15668
 
   echo "$lt_simple_compile_test_code" > conftest.$ac_ext
 
15499
   printf "$lt_simple_compile_test_code" > conftest.$ac_ext
15669
15500
   lt_compiler_flag="$lt_prog_compiler_pic_F77"
15670
15501
   # Insert the option either (1) after the last *FLAGS variable, or
15671
15502
   # (2) before a word containing "conftest.", or (3) at the end.
15676
15507
   -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
15677
15508
   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
15678
15509
   -e 's:$: $lt_compiler_flag:'`
15679
 
   (eval echo "\"\$as_me:15679: $lt_compile\"" >&5)
 
15510
   (eval echo "\"\$as_me:15510: $lt_compile\"" >&5)
15680
15511
   (eval "$lt_compile" 2>conftest.err)
15681
15512
   ac_status=$?
15682
15513
   cat conftest.err >&5
15683
 
   echo "$as_me:15683: \$? = $ac_status" >&5
 
15514
   echo "$as_me:15514: \$? = $ac_status" >&5
15684
15515
   if (exit $ac_status) && test -s "$ac_outfile"; then
15685
15516
     # The compiler can only warn and ignore the option if not recognized
15686
15517
     # So say no if there are warnings other than the usual output.
15729
15560
  lt_prog_compiler_static_works_F77=no
15730
15561
   save_LDFLAGS="$LDFLAGS"
15731
15562
   LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
15732
 
   echo "$lt_simple_link_test_code" > conftest.$ac_ext
 
15563
   printf "$lt_simple_link_test_code" > conftest.$ac_ext
15733
15564
   if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
15734
15565
     # The linker can only warn and ignore the option if not recognized
15735
15566
     # So say no if there are warnings
15769
15600
   mkdir conftest
15770
15601
   cd conftest
15771
15602
   mkdir out
15772
 
   echo "$lt_simple_compile_test_code" > conftest.$ac_ext
 
15603
   printf "$lt_simple_compile_test_code" > conftest.$ac_ext
15773
15604
 
15774
15605
   lt_compiler_flag="-o out/conftest2.$ac_objext"
15775
15606
   # Insert the option either (1) after the last *FLAGS variable, or
15780
15611
   -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
15781
15612
   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
15782
15613
   -e 's:$: $lt_compiler_flag:'`
15783
 
   (eval echo "\"\$as_me:15783: $lt_compile\"" >&5)
 
15614
   (eval echo "\"\$as_me:15614: $lt_compile\"" >&5)
15784
15615
   (eval "$lt_compile" 2>out/conftest.err)
15785
15616
   ac_status=$?
15786
15617
   cat out/conftest.err >&5
15787
 
   echo "$as_me:15787: \$? = $ac_status" >&5
 
15618
   echo "$as_me:15618: \$? = $ac_status" >&5
15788
15619
   if (exit $ac_status) && test -s out/conftest2.$ac_objext
15789
15620
   then
15790
15621
     # The compiler can only warn and ignore the option if not recognized
15976
15807
      allow_undefined_flag_F77=unsupported
15977
15808
      always_export_symbols_F77=no
15978
15809
      enable_shared_with_static_runtimes_F77=yes
15979
 
      export_symbols_cmds_F77='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1 DATA/'\'' -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols'
 
15810
      export_symbols_cmds_F77='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS] /s/.* \([^ ]*\)/\1 DATA/'\'' | $SED -e '\''/^[AITW] /s/.* //'\'' | sort | uniq > $export_symbols'
15980
15811
 
15981
15812
      if $LD --help 2>&1 | grep 'auto-import' > /dev/null; then
15982
15813
        archive_cmds_F77='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
15994
15825
      fi
15995
15826
      ;;
15996
15827
 
15997
 
    interix[3-9]*)
 
15828
    interix3*)
15998
15829
      hardcode_direct_F77=no
15999
15830
      hardcode_shlibpath_var_F77=no
16000
15831
      hardcode_libdir_flag_spec_F77='${wl}-rpath,$libdir'
16009
15840
      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'
16010
15841
      ;;
16011
15842
 
16012
 
    gnu* | linux* | k*bsd*-gnu)
 
15843
    linux*)
16013
15844
      if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
16014
15845
        tmp_addflag=
16015
15846
        case $cc_basename,$host_cpu in
16027
15858
        ifc* | ifort*)                  # Intel Fortran compiler
16028
15859
          tmp_addflag=' -nofor_main' ;;
16029
15860
        esac
16030
 
        case `$CC -V 2>&1 | sed 5q` in
16031
 
        *Sun\ C*)                       # Sun C 5.9
16032
 
          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'
16033
 
          tmp_sharedflag='-G' ;;
16034
 
        *Sun\ F*)                       # Sun Fortran 8.3
16035
 
          tmp_sharedflag='-G' ;;
16036
 
        *)
16037
 
          tmp_sharedflag='-shared' ;;
16038
 
        esac
16039
 
        archive_cmds_F77='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
 
15861
        archive_cmds_F77='$CC -shared'"$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
16040
15862
 
16041
15863
        if test $supports_anon_versioning = yes; then
16042
15864
          archive_expsym_cmds_F77='$echo "{ global:" > $output_objdir/$libname.ver~
16043
15865
  cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
16044
15866
  $echo "local: *; };" >> $output_objdir/$libname.ver~
16045
 
          $CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
 
15867
          $CC -shared'"$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
16046
15868
        fi
16047
15869
      else
16048
15870
        ld_shlibs_F77=no
16201
16023
           strings "$collect2name" | grep resolve_lib_name >/dev/null
16202
16024
          then
16203
16025
          # We have reworked collect2
16204
 
          :
 
16026
          hardcode_direct_F77=yes
16205
16027
          else
16206
16028
          # We have old collect2
16207
16029
          hardcode_direct_F77=unsupported
16265
16087
       } && test -s conftest$ac_exeext &&
16266
16088
       $as_test_x conftest$ac_exeext; then
16267
16089
 
16268
 
lt_aix_libpath_sed='
16269
 
    /Import File Strings/,/^$/ {
16270
 
        /^0/ {
16271
 
            s/^0  *\(.*\)$/\1/
16272
 
            p
16273
 
        }
16274
 
    }'
16275
 
aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
 
16090
aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0  *\(.*\)$/\1/; p; }
 
16091
}'`
16276
16092
# Check for a 64-bit object if we didn't find anything.
16277
 
if test -z "$aix_libpath"; then
16278
 
  aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
16279
 
fi
 
16093
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; }
 
16094
}'`; fi
16280
16095
else
16281
16096
  echo "$as_me: failed program was:" >&5
16282
16097
sed 's/^/| /' conftest.$ac_ext >&5
16321
16136
       } && test -s conftest$ac_exeext &&
16322
16137
       $as_test_x conftest$ac_exeext; then
16323
16138
 
16324
 
lt_aix_libpath_sed='
16325
 
    /Import File Strings/,/^$/ {
16326
 
        /^0/ {
16327
 
            s/^0  *\(.*\)$/\1/
16328
 
            p
16329
 
        }
16330
 
    }'
16331
 
aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
 
16139
aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0  *\(.*\)$/\1/; p; }
 
16140
}'`
16332
16141
# Check for a 64-bit object if we didn't find anything.
16333
 
if test -z "$aix_libpath"; then
16334
 
  aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
16335
 
fi
 
16142
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; }
 
16143
}'`; fi
16336
16144
else
16337
16145
  echo "$as_me: failed program was:" >&5
16338
16146
sed 's/^/| /' conftest.$ac_ext >&5
16386
16194
      # The linker will automatically build a .lib file if we build a DLL.
16387
16195
      old_archive_From_new_cmds_F77='true'
16388
16196
      # FIXME: Should let the user specify the lib program.
16389
 
      old_archive_cmds_F77='lib -OUT:$oldlib$oldobjs$old_deplibs'
 
16197
      old_archive_cmds_F77='lib /OUT:$oldlib$oldobjs$old_deplibs'
16390
16198
      fix_srcfile_path_F77='`cygpath -w "$srcfile"`'
16391
16199
      enable_shared_with_static_runtimes_F77=yes
16392
16200
      ;;
16428
16236
      case $cc_basename in
16429
16237
        xlc*)
16430
16238
         output_verbose_link_cmd='echo'
16431
 
         archive_cmds_F77='$CC -qmkshrobj $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-install_name ${wl}`echo $rpath/$soname` $xlcverstring'
 
16239
         archive_cmds_F77='$CC -qmkshrobj $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-install_name ${wl}`echo $rpath/$soname` $verstring'
16432
16240
         module_cmds_F77='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
16433
16241
          # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin lds
16434
 
         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}'
 
16242
         archive_expsym_cmds_F77='sed -e "s,#.*,," -e "s,^[    ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC -qmkshrobj $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-install_name ${wl}$rpath/$soname $verstring~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
16435
16243
          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}'
16436
16244
          ;;
16437
16245
       *)
16471
16279
      ;;
16472
16280
 
16473
16281
    # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
16474
 
    freebsd* | dragonfly*)
 
16282
    freebsd* | kfreebsd*-gnu | dragonfly*)
16475
16283
      archive_cmds_F77='$CC -shared -o $lib $libobjs $deplibs $compiler_flags'
16476
16284
      hardcode_libdir_flag_spec_F77='-R$libdir'
16477
16285
      hardcode_direct_F77=yes
16593
16401
      ;;
16594
16402
 
16595
16403
    openbsd*)
16596
 
      if test -f /usr/libexec/ld.so; then
16597
 
        hardcode_direct_F77=yes
16598
 
        hardcode_shlibpath_var_F77=no
16599
 
        if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
16600
 
          archive_cmds_F77='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
16601
 
          archive_expsym_cmds_F77='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols'
16602
 
          hardcode_libdir_flag_spec_F77='${wl}-rpath,$libdir'
16603
 
          export_dynamic_flag_spec_F77='${wl}-E'
16604
 
        else
16605
 
          case $host_os in
16606
 
           openbsd[01].* | openbsd2.[0-7] | openbsd2.[0-7].*)
16607
 
             archive_cmds_F77='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
16608
 
             hardcode_libdir_flag_spec_F77='-R$libdir'
16609
 
             ;;
16610
 
           *)
16611
 
             archive_cmds_F77='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
16612
 
             hardcode_libdir_flag_spec_F77='${wl}-rpath,$libdir'
16613
 
             ;;
16614
 
          esac
16615
 
        fi
 
16404
      hardcode_direct_F77=yes
 
16405
      hardcode_shlibpath_var_F77=no
 
16406
      if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
 
16407
        archive_cmds_F77='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
 
16408
        archive_expsym_cmds_F77='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols'
 
16409
        hardcode_libdir_flag_spec_F77='${wl}-rpath,$libdir'
 
16410
        export_dynamic_flag_spec_F77='${wl}-E'
16616
16411
      else
16617
 
        ld_shlibs_F77=no
 
16412
       case $host_os in
 
16413
         openbsd[01].* | openbsd2.[0-7] | openbsd2.[0-7].*)
 
16414
           archive_cmds_F77='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
 
16415
           hardcode_libdir_flag_spec_F77='-R$libdir'
 
16416
           ;;
 
16417
         *)
 
16418
           archive_cmds_F77='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
 
16419
           hardcode_libdir_flag_spec_F77='${wl}-rpath,$libdir'
 
16420
           ;;
 
16421
       esac
16618
16422
      fi
16619
16423
      ;;
16620
16424
 
16673
16477
      case $host_os in
16674
16478
      solaris2.[0-5] | solaris2.[0-5].*) ;;
16675
16479
      *)
16676
 
        # The compiler driver will combine and reorder linker options,
16677
 
        # but understands `-z linker_flag'.  GCC discards it without `$wl',
16678
 
        # but is careful enough not to reorder.
 
16480
        # The compiler driver will combine linker options so we
 
16481
        # cannot just pass the convience library names through
 
16482
        # without $wl, iff we do not link with $LD.
 
16483
        # Luckily, gcc supports the same syntax we need for Sun Studio.
16679
16484
        # Supported since Solaris 2.6 (maybe 2.5.1?)
16680
 
        if test "$GCC" = yes; then
16681
 
          whole_archive_flag_spec_F77='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
16682
 
        else
16683
 
          whole_archive_flag_spec_F77='-z allextract$convenience -z defaultextract'
16684
 
        fi
16685
 
        ;;
 
16485
        case $wlarc in
 
16486
        '')
 
16487
          whole_archive_flag_spec_F77='-z allextract$convenience -z defaultextract' ;;
 
16488
        *)
 
16489
          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' ;;
 
16490
        esac ;;
16686
16491
      esac
16687
16492
      link_all_deplibs_F77=yes
16688
16493
      ;;
16739
16544
      fi
16740
16545
      ;;
16741
16546
 
16742
 
    sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7* | sco3.2v5.0.[024]*)
 
16547
    sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7*)
16743
16548
      no_undefined_flag_F77='${wl}-z,text'
16744
16549
      archive_cmds_need_lc_F77=no
16745
16550
      hardcode_shlibpath_var_F77=no
16816
16621
      { echo "$as_me:$LINENO: checking whether -lc should be explicitly linked in" >&5
16817
16622
echo $ECHO_N "checking whether -lc should be explicitly linked in... $ECHO_C" >&6; }
16818
16623
      $rm conftest*
16819
 
      echo "$lt_simple_compile_test_code" > conftest.$ac_ext
 
16624
      printf "$lt_simple_compile_test_code" > conftest.$ac_ext
16820
16625
 
16821
16626
      if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16822
16627
  (eval $ac_compile) 2>&5
16874
16679
version_type=none
16875
16680
dynamic_linker="$host_os ld.so"
16876
16681
sys_lib_dlsearch_path_spec="/lib /usr/lib"
16877
 
 
 
16682
if test "$GCC" = yes; then
 
16683
  sys_lib_search_path_spec=`$CC -print-search-dirs | grep "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
 
16684
  if echo "$sys_lib_search_path_spec" | grep ';' >/dev/null ; then
 
16685
    # if the path contains ";" then we assume it to be the separator
 
16686
    # otherwise default to the standard path separator (i.e. ":") - it is
 
16687
    # assumed that no part of a normal pathname contains ";" but that should
 
16688
    # okay in the real world where ";" in dirpaths is itself problematic.
 
16689
    sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
 
16690
  else
 
16691
    sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED  -e "s/$PATH_SEPARATOR/ /g"`
 
16692
  fi
 
16693
else
 
16694
  sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"
 
16695
fi
16878
16696
need_lib_prefix=unknown
16879
16697
hardcode_into_libs=no
16880
16698
 
17031
16849
  shlibpath_overrides_runpath=yes
17032
16850
  shlibpath_var=DYLD_LIBRARY_PATH
17033
16851
  shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`'
17034
 
 
 
16852
  # Apple's gcc prints 'gcc -print-search-dirs' doesn't operate the same.
 
16853
  if test "$GCC" = yes; then
 
16854
    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"`
 
16855
  else
 
16856
    sys_lib_search_path_spec='/lib /usr/lib /usr/local/lib'
 
16857
  fi
17035
16858
  sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
17036
16859
  ;;
17037
16860
 
17048
16871
  dynamic_linker=no
17049
16872
  ;;
17050
16873
 
 
16874
kfreebsd*-gnu)
 
16875
  version_type=linux
 
16876
  need_lib_prefix=no
 
16877
  need_version=no
 
16878
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
 
16879
  soname_spec='${libname}${release}${shared_ext}$major'
 
16880
  shlibpath_var=LD_LIBRARY_PATH
 
16881
  shlibpath_overrides_runpath=no
 
16882
  hardcode_into_libs=yes
 
16883
  dynamic_linker='GNU ld.so'
 
16884
  ;;
 
16885
 
17051
16886
freebsd* | dragonfly*)
17052
16887
  # DragonFly does not have aout.  When/if they implement a new
17053
16888
  # versioning mechanism, adjust this.
17085
16920
    shlibpath_overrides_runpath=no
17086
16921
    hardcode_into_libs=yes
17087
16922
    ;;
17088
 
  *) # from 4.6 on, and DragonFly
 
16923
  freebsd*) # from 4.6 on
17089
16924
    shlibpath_overrides_runpath=yes
17090
16925
    hardcode_into_libs=yes
17091
16926
    ;;
17148
16983
  postinstall_cmds='chmod 555 $lib'
17149
16984
  ;;
17150
16985
 
17151
 
interix[3-9]*)
 
16986
interix3*)
17152
16987
  version_type=linux
17153
16988
  need_lib_prefix=no
17154
16989
  need_version=no
17203
17038
  ;;
17204
17039
 
17205
17040
# This must be Linux ELF.
17206
 
linux* | k*bsd*-gnu)
 
17041
linux*)
17207
17042
  version_type=linux
17208
17043
  need_lib_prefix=no
17209
17044
  need_version=no
17221
17056
  libsuff=
17222
17057
  case "$host_cpu" in
17223
17058
  x86_64*|s390x*|powerpc64*)
17224
 
    echo '#line 17224 "configure"' > conftest.$ac_ext
 
17059
    echo '#line 17059 "configure"' > conftest.$ac_ext
17225
17060
    if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17226
17061
  (eval $ac_compile) 2>&5
17227
17062
  ac_status=$?
17240
17075
 
17241
17076
  # Append ld.so.conf contents to the search path
17242
17077
  if test -f /etc/ld.so.conf; then
17243
 
    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' ' '`
 
17078
    lt_ld_extra=`awk '/^include / { system(sprintf("cd /etc; cat %s", \$2)); skip = 1; } { if (!skip) print \$0; skip = 0; }' < /etc/ld.so.conf | $SED -e 's/#.*//;s/[:,        ]/ /g;s/=[^=]*$//;s/=[^= ]* / /g;/^$/d' | tr '\n' ' '`
17244
17079
    sys_lib_dlsearch_path_spec="/lib${libsuff} /usr/lib${libsuff} $lt_ld_extra"
17245
17080
  fi
17246
17081
 
17253
17088
  dynamic_linker='GNU/Linux ld.so'
17254
17089
  ;;
17255
17090
 
 
17091
knetbsd*-gnu)
 
17092
  version_type=linux
 
17093
  need_lib_prefix=no
 
17094
  need_version=no
 
17095
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
 
17096
  soname_spec='${libname}${release}${shared_ext}$major'
 
17097
  shlibpath_var=LD_LIBRARY_PATH
 
17098
  shlibpath_overrides_runpath=no
 
17099
  hardcode_into_libs=yes
 
17100
  dynamic_linker='GNU ld.so'
 
17101
  ;;
 
17102
 
17256
17103
netbsd*)
17257
17104
  version_type=sunos
17258
17105
  need_lib_prefix=no
17334
17181
  sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec"
17335
17182
  ;;
17336
17183
 
17337
 
rdos*)
17338
 
  dynamic_linker=no
17339
 
  ;;
17340
 
 
17341
17184
solaris*)
17342
17185
  version_type=linux
17343
17186
  need_lib_prefix=no
17532
17375
    module_cmds_F77 \
17533
17376
    module_expsym_cmds_F77 \
17534
17377
    lt_cv_prog_compiler_c_o_F77 \
17535
 
    fix_srcfile_path_F77 \
17536
17378
    exclude_expsyms_F77 \
17537
17379
    include_expsyms_F77; do
17538
17380
 
17618
17460
# Is the compiler the GNU C compiler?
17619
17461
with_gcc=$GCC_F77
17620
17462
 
17621
 
gcc_dir=\`gcc -print-file-name=. | $SED 's,/\.$,,'\`
17622
 
gcc_ver=\`gcc -dumpversion\`
17623
 
 
17624
17463
# An ERE matcher.
17625
17464
EGREP=$lt_EGREP
17626
17465
 
17754
17593
 
17755
17594
# Dependencies to place before the objects being linked to create a
17756
17595
# shared library.
17757
 
predep_objects=\`echo $lt_predep_objects_F77 | \$SED -e "s@\${gcc_dir}@\\\${gcc_dir}@g;s@\${gcc_ver}@\\\${gcc_ver}@g"\`
 
17596
predep_objects=$lt_predep_objects_F77
17758
17597
 
17759
17598
# Dependencies to place after the objects being linked to create a
17760
17599
# shared library.
17761
 
postdep_objects=\`echo $lt_postdep_objects_F77 | \$SED -e "s@\${gcc_dir}@\\\${gcc_dir}@g;s@\${gcc_ver}@\\\${gcc_ver}@g"\`
 
17600
postdep_objects=$lt_postdep_objects_F77
17762
17601
 
17763
17602
# Dependencies to place before the objects being linked to create a
17764
17603
# shared library.
17770
17609
 
17771
17610
# The library search path used internally by the compiler when linking
17772
17611
# a shared library.
17773
 
compiler_lib_search_path=\`echo $lt_compiler_lib_search_path_F77 | \$SED -e "s@\${gcc_dir}@\\\${gcc_dir}@g;s@\${gcc_ver}@\\\${gcc_ver}@g"\`
 
17612
compiler_lib_search_path=$lt_compiler_lib_search_path_F77
17774
17613
 
17775
17614
# Method to check whether dependent libraries are shared objects.
17776
17615
deplibs_check_method=$lt_deplibs_check_method
17850
17689
link_all_deplibs=$link_all_deplibs_F77
17851
17690
 
17852
17691
# Compile-time system search path for libraries
17853
 
sys_lib_search_path_spec=\`echo $lt_sys_lib_search_path_spec | \$SED -e "s@\${gcc_dir}@\\\${gcc_dir}@g;s@\${gcc_ver}@\\\${gcc_ver}@g"\`
 
17692
sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
17854
17693
 
17855
17694
# Run-time system search path for libraries
17856
17695
sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
17857
17696
 
17858
17697
# Fix the shell variable \$srcfile for the compiler.
17859
 
fix_srcfile_path=$lt_fix_srcfile_path
 
17698
fix_srcfile_path="$fix_srcfile_path_F77"
17860
17699
 
17861
17700
# Set to yes if exported symbols are required.
17862
17701
always_export_symbols=$always_export_symbols_F77
17914
17753
objext_GCJ=$objext
17915
17754
 
17916
17755
# Code to be used in simple compile tests
17917
 
lt_simple_compile_test_code="class foo {}"
 
17756
lt_simple_compile_test_code="class foo {}\n"
17918
17757
 
17919
17758
# Code to be used in simple link tests
17920
 
lt_simple_link_test_code='public class conftest { public static void main(String[] argv) {}; }'
 
17759
lt_simple_link_test_code='public class conftest { public static void main(String[] argv) {}; }\n'
17921
17760
 
17922
17761
# ltmain only uses $CC for tagged configurations so make sure $CC is set.
17923
17762
 
17933
17772
 
17934
17773
# save warnings/boilerplate of simple test code
17935
17774
ac_outfile=conftest.$ac_objext
17936
 
echo "$lt_simple_compile_test_code" >conftest.$ac_ext
 
17775
printf "$lt_simple_compile_test_code" >conftest.$ac_ext
17937
17776
eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
17938
17777
_lt_compiler_boilerplate=`cat conftest.err`
17939
17778
$rm conftest*
17940
17779
 
17941
17780
ac_outfile=conftest.$ac_objext
17942
 
echo "$lt_simple_link_test_code" >conftest.$ac_ext
 
17781
printf "$lt_simple_link_test_code" >conftest.$ac_ext
17943
17782
eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
17944
17783
_lt_linker_boilerplate=`cat conftest.err`
17945
17784
$rm conftest*
17960
17799
done
17961
17800
cc_basename=`$echo "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
17962
17801
 
17963
 
LD_GCJ="$LD"
17964
17802
 
17965
17803
# GCJ did not exist at the time GCC didn't implicitly link libc in.
17966
17804
archive_cmds_need_lc_GCJ=no
17981
17819
else
17982
17820
  lt_cv_prog_compiler_rtti_exceptions=no
17983
17821
  ac_outfile=conftest.$ac_objext
17984
 
   echo "$lt_simple_compile_test_code" > conftest.$ac_ext
 
17822
   printf "$lt_simple_compile_test_code" > conftest.$ac_ext
17985
17823
   lt_compiler_flag="-fno-rtti -fno-exceptions"
17986
17824
   # Insert the option either (1) after the last *FLAGS variable, or
17987
17825
   # (2) before a word containing "conftest.", or (3) at the end.
17992
17830
   -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
17993
17831
   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
17994
17832
   -e 's:$: $lt_compiler_flag:'`
17995
 
   (eval echo "\"\$as_me:17995: $lt_compile\"" >&5)
 
17833
   (eval echo "\"\$as_me:17833: $lt_compile\"" >&5)
17996
17834
   (eval "$lt_compile" 2>conftest.err)
17997
17835
   ac_status=$?
17998
17836
   cat conftest.err >&5
17999
 
   echo "$as_me:17999: \$? = $ac_status" >&5
 
17837
   echo "$as_me:17837: \$? = $ac_status" >&5
18000
17838
   if (exit $ac_status) && test -s "$ac_outfile"; then
18001
17839
     # The compiler can only warn and ignore the option if not recognized
18002
17840
     # So say no if there are warnings other than the usual output.
18047
17885
      lt_prog_compiler_pic_GCJ='-m68020 -resident32 -malways-restore-a4'
18048
17886
      ;;
18049
17887
 
18050
 
    beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
 
17888
    beos* | cygwin* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
18051
17889
      # PIC is the default for these OSes.
18052
17890
      ;;
18053
17891
 
18054
 
    mingw* | cygwin* | pw32* | os2*)
 
17892
    mingw* | pw32* | os2*)
18055
17893
      # This hack is so that the source file can tell whether it is being
18056
17894
      # built for inclusion in a dll (and should export symbols for example).
18057
 
      # Although the cygwin gcc ignores -fPIC, still need this for old-style
18058
 
      # (--disable-auto-import) libraries
18059
17895
      lt_prog_compiler_pic_GCJ='-DDLL_EXPORT'
18060
17896
      ;;
18061
17897
 
18065
17901
      lt_prog_compiler_pic_GCJ='-fno-common'
18066
17902
      ;;
18067
17903
 
18068
 
    interix[3-9]*)
 
17904
    interix3*)
18069
17905
      # Interix 3.x gcc -fpic/-fPIC options generate broken code.
18070
17906
      # Instead, we relocate shared libraries at runtime.
18071
17907
      ;;
18123
17959
       esac
18124
17960
       ;;
18125
17961
 
18126
 
    mingw* | cygwin* | pw32* | os2*)
 
17962
    mingw* | pw32* | os2*)
18127
17963
      # This hack is so that the source file can tell whether it is being
18128
17964
      # built for inclusion in a dll (and should export symbols for example).
18129
17965
      lt_prog_compiler_pic_GCJ='-DDLL_EXPORT'
18156
17992
      lt_prog_compiler_static_GCJ='-Bstatic'
18157
17993
      ;;
18158
17994
 
18159
 
    linux* | k*bsd*-gnu)
 
17995
    linux*)
18160
17996
      case $cc_basename in
18161
17997
      icc* | ecc*)
18162
17998
        lt_prog_compiler_wl_GCJ='-Wl,'
18175
18011
        # All Alpha code is PIC.
18176
18012
        lt_prog_compiler_static_GCJ='-non_shared'
18177
18013
        ;;
18178
 
      *)
18179
 
        case `$CC -V 2>&1 | sed 5q` in
18180
 
        *Sun\ C*)
18181
 
          # Sun C 5.9
18182
 
          lt_prog_compiler_pic_GCJ='-KPIC'
18183
 
          lt_prog_compiler_static_GCJ='-Bstatic'
18184
 
          lt_prog_compiler_wl_GCJ='-Wl,'
18185
 
          ;;
18186
 
        *Sun\ F*)
18187
 
          # Sun Fortran 8.3 passes all unrecognized flags to the linker
18188
 
          lt_prog_compiler_pic_GCJ='-KPIC'
18189
 
          lt_prog_compiler_static_GCJ='-Bstatic'
18190
 
          lt_prog_compiler_wl_GCJ=''
18191
 
          ;;
18192
 
        esac
18193
 
        ;;
18194
18014
      esac
18195
18015
      ;;
18196
18016
 
18200
18020
      lt_prog_compiler_static_GCJ='-non_shared'
18201
18021
      ;;
18202
18022
 
18203
 
    rdos*)
18204
 
      lt_prog_compiler_static_GCJ='-non_shared'
18205
 
      ;;
18206
 
 
18207
18023
    solaris*)
18208
18024
      lt_prog_compiler_pic_GCJ='-KPIC'
18209
18025
      lt_prog_compiler_static_GCJ='-Bstatic'
18271
18087
else
18272
18088
  lt_prog_compiler_pic_works_GCJ=no
18273
18089
  ac_outfile=conftest.$ac_objext
18274
 
   echo "$lt_simple_compile_test_code" > conftest.$ac_ext
 
18090
   printf "$lt_simple_compile_test_code" > conftest.$ac_ext
18275
18091
   lt_compiler_flag="$lt_prog_compiler_pic_GCJ"
18276
18092
   # Insert the option either (1) after the last *FLAGS variable, or
18277
18093
   # (2) before a word containing "conftest.", or (3) at the end.
18282
18098
   -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
18283
18099
   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
18284
18100
   -e 's:$: $lt_compiler_flag:'`
18285
 
   (eval echo "\"\$as_me:18285: $lt_compile\"" >&5)
 
18101
   (eval echo "\"\$as_me:18101: $lt_compile\"" >&5)
18286
18102
   (eval "$lt_compile" 2>conftest.err)
18287
18103
   ac_status=$?
18288
18104
   cat conftest.err >&5
18289
 
   echo "$as_me:18289: \$? = $ac_status" >&5
 
18105
   echo "$as_me:18105: \$? = $ac_status" >&5
18290
18106
   if (exit $ac_status) && test -s "$ac_outfile"; then
18291
18107
     # The compiler can only warn and ignore the option if not recognized
18292
18108
     # So say no if there are warnings other than the usual output.
18335
18151
  lt_prog_compiler_static_works_GCJ=no
18336
18152
   save_LDFLAGS="$LDFLAGS"
18337
18153
   LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
18338
 
   echo "$lt_simple_link_test_code" > conftest.$ac_ext
 
18154
   printf "$lt_simple_link_test_code" > conftest.$ac_ext
18339
18155
   if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
18340
18156
     # The linker can only warn and ignore the option if not recognized
18341
18157
     # So say no if there are warnings
18375
18191
   mkdir conftest
18376
18192
   cd conftest
18377
18193
   mkdir out
18378
 
   echo "$lt_simple_compile_test_code" > conftest.$ac_ext
 
18194
   printf "$lt_simple_compile_test_code" > conftest.$ac_ext
18379
18195
 
18380
18196
   lt_compiler_flag="-o out/conftest2.$ac_objext"
18381
18197
   # Insert the option either (1) after the last *FLAGS variable, or
18386
18202
   -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
18387
18203
   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
18388
18204
   -e 's:$: $lt_compiler_flag:'`
18389
 
   (eval echo "\"\$as_me:18389: $lt_compile\"" >&5)
 
18205
   (eval echo "\"\$as_me:18205: $lt_compile\"" >&5)
18390
18206
   (eval "$lt_compile" 2>out/conftest.err)
18391
18207
   ac_status=$?
18392
18208
   cat out/conftest.err >&5
18393
 
   echo "$as_me:18393: \$? = $ac_status" >&5
 
18209
   echo "$as_me:18209: \$? = $ac_status" >&5
18394
18210
   if (exit $ac_status) && test -s out/conftest2.$ac_objext
18395
18211
   then
18396
18212
     # The compiler can only warn and ignore the option if not recognized
18582
18398
      allow_undefined_flag_GCJ=unsupported
18583
18399
      always_export_symbols_GCJ=no
18584
18400
      enable_shared_with_static_runtimes_GCJ=yes
18585
 
      export_symbols_cmds_GCJ='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1 DATA/'\'' -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols'
 
18401
      export_symbols_cmds_GCJ='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS] /s/.* \([^ ]*\)/\1 DATA/'\'' | $SED -e '\''/^[AITW] /s/.* //'\'' | sort | uniq > $export_symbols'
18586
18402
 
18587
18403
      if $LD --help 2>&1 | grep 'auto-import' > /dev/null; then
18588
18404
        archive_cmds_GCJ='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
18600
18416
      fi
18601
18417
      ;;
18602
18418
 
18603
 
    interix[3-9]*)
 
18419
    interix3*)
18604
18420
      hardcode_direct_GCJ=no
18605
18421
      hardcode_shlibpath_var_GCJ=no
18606
18422
      hardcode_libdir_flag_spec_GCJ='${wl}-rpath,$libdir'
18615
18431
      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'
18616
18432
      ;;
18617
18433
 
18618
 
    gnu* | linux* | k*bsd*-gnu)
 
18434
    linux*)
18619
18435
      if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
18620
18436
        tmp_addflag=
18621
18437
        case $cc_basename,$host_cpu in
18633
18449
        ifc* | ifort*)                  # Intel Fortran compiler
18634
18450
          tmp_addflag=' -nofor_main' ;;
18635
18451
        esac
18636
 
        case `$CC -V 2>&1 | sed 5q` in
18637
 
        *Sun\ C*)                       # Sun C 5.9
18638
 
          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'
18639
 
          tmp_sharedflag='-G' ;;
18640
 
        *Sun\ F*)                       # Sun Fortran 8.3
18641
 
          tmp_sharedflag='-G' ;;
18642
 
        *)
18643
 
          tmp_sharedflag='-shared' ;;
18644
 
        esac
18645
 
        archive_cmds_GCJ='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
 
18452
        archive_cmds_GCJ='$CC -shared'"$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
18646
18453
 
18647
18454
        if test $supports_anon_versioning = yes; then
18648
18455
          archive_expsym_cmds_GCJ='$echo "{ global:" > $output_objdir/$libname.ver~
18649
18456
  cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
18650
18457
  $echo "local: *; };" >> $output_objdir/$libname.ver~
18651
 
          $CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
 
18458
          $CC -shared'"$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
18652
18459
        fi
18653
18460
      else
18654
18461
        ld_shlibs_GCJ=no
18807
18614
           strings "$collect2name" | grep resolve_lib_name >/dev/null
18808
18615
          then
18809
18616
          # We have reworked collect2
18810
 
          :
 
18617
          hardcode_direct_GCJ=yes
18811
18618
          else
18812
18619
          # We have old collect2
18813
18620
          hardcode_direct_GCJ=unsupported
18881
18688
       } && test -s conftest$ac_exeext &&
18882
18689
       $as_test_x conftest$ac_exeext; then
18883
18690
 
18884
 
lt_aix_libpath_sed='
18885
 
    /Import File Strings/,/^$/ {
18886
 
        /^0/ {
18887
 
            s/^0  *\(.*\)$/\1/
18888
 
            p
18889
 
        }
18890
 
    }'
18891
 
aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
 
18691
aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0  *\(.*\)$/\1/; p; }
 
18692
}'`
18892
18693
# Check for a 64-bit object if we didn't find anything.
18893
 
if test -z "$aix_libpath"; then
18894
 
  aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
18895
 
fi
 
18694
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; }
 
18695
}'`; fi
18896
18696
else
18897
18697
  echo "$as_me: failed program was:" >&5
18898
18698
sed 's/^/| /' conftest.$ac_ext >&5
18947
18747
       } && test -s conftest$ac_exeext &&
18948
18748
       $as_test_x conftest$ac_exeext; then
18949
18749
 
18950
 
lt_aix_libpath_sed='
18951
 
    /Import File Strings/,/^$/ {
18952
 
        /^0/ {
18953
 
            s/^0  *\(.*\)$/\1/
18954
 
            p
18955
 
        }
18956
 
    }'
18957
 
aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
 
18750
aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0  *\(.*\)$/\1/; p; }
 
18751
}'`
18958
18752
# Check for a 64-bit object if we didn't find anything.
18959
 
if test -z "$aix_libpath"; then
18960
 
  aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
18961
 
fi
 
18753
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; }
 
18754
}'`; fi
18962
18755
else
18963
18756
  echo "$as_me: failed program was:" >&5
18964
18757
sed 's/^/| /' conftest.$ac_ext >&5
19012
18805
      # The linker will automatically build a .lib file if we build a DLL.
19013
18806
      old_archive_From_new_cmds_GCJ='true'
19014
18807
      # FIXME: Should let the user specify the lib program.
19015
 
      old_archive_cmds_GCJ='lib -OUT:$oldlib$oldobjs$old_deplibs'
 
18808
      old_archive_cmds_GCJ='lib /OUT:$oldlib$oldobjs$old_deplibs'
19016
18809
      fix_srcfile_path_GCJ='`cygpath -w "$srcfile"`'
19017
18810
      enable_shared_with_static_runtimes_GCJ=yes
19018
18811
      ;;
19054
18847
      case $cc_basename in
19055
18848
        xlc*)
19056
18849
         output_verbose_link_cmd='echo'
19057
 
         archive_cmds_GCJ='$CC -qmkshrobj $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-install_name ${wl}`echo $rpath/$soname` $xlcverstring'
 
18850
         archive_cmds_GCJ='$CC -qmkshrobj $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-install_name ${wl}`echo $rpath/$soname` $verstring'
19058
18851
         module_cmds_GCJ='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
19059
18852
          # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin lds
19060
 
         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}'
 
18853
         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}'
19061
18854
          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}'
19062
18855
          ;;
19063
18856
       *)
19097
18890
      ;;
19098
18891
 
19099
18892
    # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
19100
 
    freebsd* | dragonfly*)
 
18893
    freebsd* | kfreebsd*-gnu | dragonfly*)
19101
18894
      archive_cmds_GCJ='$CC -shared -o $lib $libobjs $deplibs $compiler_flags'
19102
18895
      hardcode_libdir_flag_spec_GCJ='-R$libdir'
19103
18896
      hardcode_direct_GCJ=yes
19219
19012
      ;;
19220
19013
 
19221
19014
    openbsd*)
19222
 
      if test -f /usr/libexec/ld.so; then
19223
 
        hardcode_direct_GCJ=yes
19224
 
        hardcode_shlibpath_var_GCJ=no
19225
 
        if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
19226
 
          archive_cmds_GCJ='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
19227
 
          archive_expsym_cmds_GCJ='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols'
19228
 
          hardcode_libdir_flag_spec_GCJ='${wl}-rpath,$libdir'
19229
 
          export_dynamic_flag_spec_GCJ='${wl}-E'
19230
 
        else
19231
 
          case $host_os in
19232
 
           openbsd[01].* | openbsd2.[0-7] | openbsd2.[0-7].*)
19233
 
             archive_cmds_GCJ='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
19234
 
             hardcode_libdir_flag_spec_GCJ='-R$libdir'
19235
 
             ;;
19236
 
           *)
19237
 
             archive_cmds_GCJ='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
19238
 
             hardcode_libdir_flag_spec_GCJ='${wl}-rpath,$libdir'
19239
 
             ;;
19240
 
          esac
19241
 
        fi
 
19015
      hardcode_direct_GCJ=yes
 
19016
      hardcode_shlibpath_var_GCJ=no
 
19017
      if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
 
19018
        archive_cmds_GCJ='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
 
19019
        archive_expsym_cmds_GCJ='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols'
 
19020
        hardcode_libdir_flag_spec_GCJ='${wl}-rpath,$libdir'
 
19021
        export_dynamic_flag_spec_GCJ='${wl}-E'
19242
19022
      else
19243
 
        ld_shlibs_GCJ=no
 
19023
       case $host_os in
 
19024
         openbsd[01].* | openbsd2.[0-7] | openbsd2.[0-7].*)
 
19025
           archive_cmds_GCJ='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
 
19026
           hardcode_libdir_flag_spec_GCJ='-R$libdir'
 
19027
           ;;
 
19028
         *)
 
19029
           archive_cmds_GCJ='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
 
19030
           hardcode_libdir_flag_spec_GCJ='${wl}-rpath,$libdir'
 
19031
           ;;
 
19032
       esac
19244
19033
      fi
19245
19034
      ;;
19246
19035
 
19299
19088
      case $host_os in
19300
19089
      solaris2.[0-5] | solaris2.[0-5].*) ;;
19301
19090
      *)
19302
 
        # The compiler driver will combine and reorder linker options,
19303
 
        # but understands `-z linker_flag'.  GCC discards it without `$wl',
19304
 
        # but is careful enough not to reorder.
 
19091
        # The compiler driver will combine linker options so we
 
19092
        # cannot just pass the convience library names through
 
19093
        # without $wl, iff we do not link with $LD.
 
19094
        # Luckily, gcc supports the same syntax we need for Sun Studio.
19305
19095
        # Supported since Solaris 2.6 (maybe 2.5.1?)
19306
 
        if test "$GCC" = yes; then
19307
 
          whole_archive_flag_spec_GCJ='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
19308
 
        else
19309
 
          whole_archive_flag_spec_GCJ='-z allextract$convenience -z defaultextract'
19310
 
        fi
19311
 
        ;;
 
19096
        case $wlarc in
 
19097
        '')
 
19098
          whole_archive_flag_spec_GCJ='-z allextract$convenience -z defaultextract' ;;
 
19099
        *)
 
19100
          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' ;;
 
19101
        esac ;;
19312
19102
      esac
19313
19103
      link_all_deplibs_GCJ=yes
19314
19104
      ;;
19365
19155
      fi
19366
19156
      ;;
19367
19157
 
19368
 
    sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7* | sco3.2v5.0.[024]*)
 
19158
    sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7*)
19369
19159
      no_undefined_flag_GCJ='${wl}-z,text'
19370
19160
      archive_cmds_need_lc_GCJ=no
19371
19161
      hardcode_shlibpath_var_GCJ=no
19442
19232
      { echo "$as_me:$LINENO: checking whether -lc should be explicitly linked in" >&5
19443
19233
echo $ECHO_N "checking whether -lc should be explicitly linked in... $ECHO_C" >&6; }
19444
19234
      $rm conftest*
19445
 
      echo "$lt_simple_compile_test_code" > conftest.$ac_ext
 
19235
      printf "$lt_simple_compile_test_code" > conftest.$ac_ext
19446
19236
 
19447
19237
      if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19448
19238
  (eval $ac_compile) 2>&5
19500
19290
version_type=none
19501
19291
dynamic_linker="$host_os ld.so"
19502
19292
sys_lib_dlsearch_path_spec="/lib /usr/lib"
19503
 
 
 
19293
if test "$GCC" = yes; then
 
19294
  sys_lib_search_path_spec=`$CC -print-search-dirs | grep "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
 
19295
  if echo "$sys_lib_search_path_spec" | grep ';' >/dev/null ; then
 
19296
    # if the path contains ";" then we assume it to be the separator
 
19297
    # otherwise default to the standard path separator (i.e. ":") - it is
 
19298
    # assumed that no part of a normal pathname contains ";" but that should
 
19299
    # okay in the real world where ";" in dirpaths is itself problematic.
 
19300
    sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
 
19301
  else
 
19302
    sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED  -e "s/$PATH_SEPARATOR/ /g"`
 
19303
  fi
 
19304
else
 
19305
  sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"
 
19306
fi
19504
19307
need_lib_prefix=unknown
19505
19308
hardcode_into_libs=no
19506
19309
 
19657
19460
  shlibpath_overrides_runpath=yes
19658
19461
  shlibpath_var=DYLD_LIBRARY_PATH
19659
19462
  shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`'
19660
 
 
 
19463
  # Apple's gcc prints 'gcc -print-search-dirs' doesn't operate the same.
 
19464
  if test "$GCC" = yes; then
 
19465
    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"`
 
19466
  else
 
19467
    sys_lib_search_path_spec='/lib /usr/lib /usr/local/lib'
 
19468
  fi
19661
19469
  sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
19662
19470
  ;;
19663
19471
 
19674
19482
  dynamic_linker=no
19675
19483
  ;;
19676
19484
 
 
19485
kfreebsd*-gnu)
 
19486
  version_type=linux
 
19487
  need_lib_prefix=no
 
19488
  need_version=no
 
19489
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
 
19490
  soname_spec='${libname}${release}${shared_ext}$major'
 
19491
  shlibpath_var=LD_LIBRARY_PATH
 
19492
  shlibpath_overrides_runpath=no
 
19493
  hardcode_into_libs=yes
 
19494
  dynamic_linker='GNU ld.so'
 
19495
  ;;
 
19496
 
19677
19497
freebsd* | dragonfly*)
19678
19498
  # DragonFly does not have aout.  When/if they implement a new
19679
19499
  # versioning mechanism, adjust this.
19711
19531
    shlibpath_overrides_runpath=no
19712
19532
    hardcode_into_libs=yes
19713
19533
    ;;
19714
 
  *) # from 4.6 on, and DragonFly
 
19534
  freebsd*) # from 4.6 on
19715
19535
    shlibpath_overrides_runpath=yes
19716
19536
    hardcode_into_libs=yes
19717
19537
    ;;
19774
19594
  postinstall_cmds='chmod 555 $lib'
19775
19595
  ;;
19776
19596
 
19777
 
interix[3-9]*)
 
19597
interix3*)
19778
19598
  version_type=linux
19779
19599
  need_lib_prefix=no
19780
19600
  need_version=no
19829
19649
  ;;
19830
19650
 
19831
19651
# This must be Linux ELF.
19832
 
linux* | k*bsd*-gnu)
 
19652
linux*)
19833
19653
  version_type=linux
19834
19654
  need_lib_prefix=no
19835
19655
  need_version=no
19847
19667
  libsuff=
19848
19668
  case "$host_cpu" in
19849
19669
  x86_64*|s390x*|powerpc64*)
19850
 
    echo '#line 19850 "configure"' > conftest.$ac_ext
 
19670
    echo '#line 19670 "configure"' > conftest.$ac_ext
19851
19671
    if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19852
19672
  (eval $ac_compile) 2>&5
19853
19673
  ac_status=$?
19866
19686
 
19867
19687
  # Append ld.so.conf contents to the search path
19868
19688
  if test -f /etc/ld.so.conf; then
19869
 
    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' ' '`
 
19689
    lt_ld_extra=`awk '/^include / { system(sprintf("cd /etc; cat %s", \$2)); skip = 1; } { if (!skip) print \$0; skip = 0; }' < /etc/ld.so.conf | $SED -e 's/#.*//;s/[:,        ]/ /g;s/=[^=]*$//;s/=[^= ]* / /g;/^$/d' | tr '\n' ' '`
19870
19690
    sys_lib_dlsearch_path_spec="/lib${libsuff} /usr/lib${libsuff} $lt_ld_extra"
19871
19691
  fi
19872
19692
 
19879
19699
  dynamic_linker='GNU/Linux ld.so'
19880
19700
  ;;
19881
19701
 
 
19702
knetbsd*-gnu)
 
19703
  version_type=linux
 
19704
  need_lib_prefix=no
 
19705
  need_version=no
 
19706
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
 
19707
  soname_spec='${libname}${release}${shared_ext}$major'
 
19708
  shlibpath_var=LD_LIBRARY_PATH
 
19709
  shlibpath_overrides_runpath=no
 
19710
  hardcode_into_libs=yes
 
19711
  dynamic_linker='GNU ld.so'
 
19712
  ;;
 
19713
 
19882
19714
netbsd*)
19883
19715
  version_type=sunos
19884
19716
  need_lib_prefix=no
19960
19792
  sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec"
19961
19793
  ;;
19962
19794
 
19963
 
rdos*)
19964
 
  dynamic_linker=no
19965
 
  ;;
19966
 
 
19967
19795
solaris*)
19968
19796
  version_type=linux
19969
19797
  need_lib_prefix=no
20158
19986
    module_cmds_GCJ \
20159
19987
    module_expsym_cmds_GCJ \
20160
19988
    lt_cv_prog_compiler_c_o_GCJ \
20161
 
    fix_srcfile_path_GCJ \
20162
19989
    exclude_expsyms_GCJ \
20163
19990
    include_expsyms_GCJ; do
20164
19991
 
20244
20071
# Is the compiler the GNU C compiler?
20245
20072
with_gcc=$GCC_GCJ
20246
20073
 
20247
 
gcc_dir=\`gcc -print-file-name=. | $SED 's,/\.$,,'\`
20248
 
gcc_ver=\`gcc -dumpversion\`
20249
 
 
20250
20074
# An ERE matcher.
20251
20075
EGREP=$lt_EGREP
20252
20076
 
20380
20204
 
20381
20205
# Dependencies to place before the objects being linked to create a
20382
20206
# shared library.
20383
 
predep_objects=\`echo $lt_predep_objects_GCJ | \$SED -e "s@\${gcc_dir}@\\\${gcc_dir}@g;s@\${gcc_ver}@\\\${gcc_ver}@g"\`
 
20207
predep_objects=$lt_predep_objects_GCJ
20384
20208
 
20385
20209
# Dependencies to place after the objects being linked to create a
20386
20210
# shared library.
20387
 
postdep_objects=\`echo $lt_postdep_objects_GCJ | \$SED -e "s@\${gcc_dir}@\\\${gcc_dir}@g;s@\${gcc_ver}@\\\${gcc_ver}@g"\`
 
20211
postdep_objects=$lt_postdep_objects_GCJ
20388
20212
 
20389
20213
# Dependencies to place before the objects being linked to create a
20390
20214
# shared library.
20396
20220
 
20397
20221
# The library search path used internally by the compiler when linking
20398
20222
# a shared library.
20399
 
compiler_lib_search_path=\`echo $lt_compiler_lib_search_path_GCJ | \$SED -e "s@\${gcc_dir}@\\\${gcc_dir}@g;s@\${gcc_ver}@\\\${gcc_ver}@g"\`
 
20223
compiler_lib_search_path=$lt_compiler_lib_search_path_GCJ
20400
20224
 
20401
20225
# Method to check whether dependent libraries are shared objects.
20402
20226
deplibs_check_method=$lt_deplibs_check_method
20476
20300
link_all_deplibs=$link_all_deplibs_GCJ
20477
20301
 
20478
20302
# Compile-time system search path for libraries
20479
 
sys_lib_search_path_spec=\`echo $lt_sys_lib_search_path_spec | \$SED -e "s@\${gcc_dir}@\\\${gcc_dir}@g;s@\${gcc_ver}@\\\${gcc_ver}@g"\`
 
20303
sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
20480
20304
 
20481
20305
# Run-time system search path for libraries
20482
20306
sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
20483
20307
 
20484
20308
# Fix the shell variable \$srcfile for the compiler.
20485
 
fix_srcfile_path=$lt_fix_srcfile_path
 
20309
fix_srcfile_path="$fix_srcfile_path_GCJ"
20486
20310
 
20487
20311
# Set to yes if exported symbols are required.
20488
20312
always_export_symbols=$always_export_symbols_GCJ
20539
20363
objext_RC=$objext
20540
20364
 
20541
20365
# Code to be used in simple compile tests
20542
 
lt_simple_compile_test_code='sample MENU { MENUITEM "&Soup", 100, CHECKED }'
 
20366
lt_simple_compile_test_code='sample MENU { MENUITEM "&Soup", 100, CHECKED }\n'
20543
20367
 
20544
20368
# Code to be used in simple link tests
20545
20369
lt_simple_link_test_code="$lt_simple_compile_test_code"
20558
20382
 
20559
20383
# save warnings/boilerplate of simple test code
20560
20384
ac_outfile=conftest.$ac_objext
20561
 
echo "$lt_simple_compile_test_code" >conftest.$ac_ext
 
20385
printf "$lt_simple_compile_test_code" >conftest.$ac_ext
20562
20386
eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
20563
20387
_lt_compiler_boilerplate=`cat conftest.err`
20564
20388
$rm conftest*
20565
20389
 
20566
20390
ac_outfile=conftest.$ac_objext
20567
 
echo "$lt_simple_link_test_code" >conftest.$ac_ext
 
20391
printf "$lt_simple_link_test_code" >conftest.$ac_ext
20568
20392
eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
20569
20393
_lt_linker_boilerplate=`cat conftest.err`
20570
20394
$rm conftest*
20642
20466
    module_cmds_RC \
20643
20467
    module_expsym_cmds_RC \
20644
20468
    lt_cv_prog_compiler_c_o_RC \
20645
 
    fix_srcfile_path_RC \
20646
20469
    exclude_expsyms_RC \
20647
20470
    include_expsyms_RC; do
20648
20471
 
20728
20551
# Is the compiler the GNU C compiler?
20729
20552
with_gcc=$GCC_RC
20730
20553
 
20731
 
gcc_dir=\`gcc -print-file-name=. | $SED 's,/\.$,,'\`
20732
 
gcc_ver=\`gcc -dumpversion\`
20733
 
 
20734
20554
# An ERE matcher.
20735
20555
EGREP=$lt_EGREP
20736
20556
 
20864
20684
 
20865
20685
# Dependencies to place before the objects being linked to create a
20866
20686
# shared library.
20867
 
predep_objects=\`echo $lt_predep_objects_RC | \$SED -e "s@\${gcc_dir}@\\\${gcc_dir}@g;s@\${gcc_ver}@\\\${gcc_ver}@g"\`
 
20687
predep_objects=$lt_predep_objects_RC
20868
20688
 
20869
20689
# Dependencies to place after the objects being linked to create a
20870
20690
# shared library.
20871
 
postdep_objects=\`echo $lt_postdep_objects_RC | \$SED -e "s@\${gcc_dir}@\\\${gcc_dir}@g;s@\${gcc_ver}@\\\${gcc_ver}@g"\`
 
20691
postdep_objects=$lt_postdep_objects_RC
20872
20692
 
20873
20693
# Dependencies to place before the objects being linked to create a
20874
20694
# shared library.
20880
20700
 
20881
20701
# The library search path used internally by the compiler when linking
20882
20702
# a shared library.
20883
 
compiler_lib_search_path=\`echo $lt_compiler_lib_search_path_RC | \$SED -e "s@\${gcc_dir}@\\\${gcc_dir}@g;s@\${gcc_ver}@\\\${gcc_ver}@g"\`
 
20703
compiler_lib_search_path=$lt_compiler_lib_search_path_RC
20884
20704
 
20885
20705
# Method to check whether dependent libraries are shared objects.
20886
20706
deplibs_check_method=$lt_deplibs_check_method
20960
20780
link_all_deplibs=$link_all_deplibs_RC
20961
20781
 
20962
20782
# Compile-time system search path for libraries
20963
 
sys_lib_search_path_spec=\`echo $lt_sys_lib_search_path_spec | \$SED -e "s@\${gcc_dir}@\\\${gcc_dir}@g;s@\${gcc_ver}@\\\${gcc_ver}@g"\`
 
20783
sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
20964
20784
 
20965
20785
# Run-time system search path for libraries
20966
20786
sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
20967
20787
 
20968
20788
# Fix the shell variable \$srcfile for the compiler.
20969
 
fix_srcfile_path=$lt_fix_srcfile_path
 
20789
fix_srcfile_path="$fix_srcfile_path_RC"
20970
20790
 
20971
20791
# Set to yes if exported symbols are required.
20972
20792
always_export_symbols=$always_export_symbols_RC
21326
21146
{ echo "$as_me:$LINENO: checking for GTK" >&5
21327
21147
echo $ECHO_N "checking for GTK... $ECHO_C" >&6; }
21328
21148
 
21329
 
if test -n "$GTK_CFLAGS"; then
21330
 
    pkg_cv_GTK_CFLAGS="$GTK_CFLAGS"
21331
 
 elif test -n "$PKG_CONFIG"; then
21332
 
    if test -n "$PKG_CONFIG" && \
 
21149
if test -n "$PKG_CONFIG"; then
 
21150
    if test -n "$GTK_CFLAGS"; then
 
21151
        pkg_cv_GTK_CFLAGS="$GTK_CFLAGS"
 
21152
    else
 
21153
        if test -n "$PKG_CONFIG" && \
21333
21154
    { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gtk+-2.0 >= \$GTK_REQUIRED\"") >&5
21334
21155
  ($PKG_CONFIG --exists --print-errors "gtk+-2.0 >= $GTK_REQUIRED") 2>&5
21335
21156
  ac_status=$?
21339
21160
else
21340
21161
  pkg_failed=yes
21341
21162
fi
21342
 
 else
21343
 
    pkg_failed=untried
 
21163
    fi
 
21164
else
 
21165
        pkg_failed=untried
21344
21166
fi
21345
 
if test -n "$GTK_LIBS"; then
21346
 
    pkg_cv_GTK_LIBS="$GTK_LIBS"
21347
 
 elif test -n "$PKG_CONFIG"; then
21348
 
    if test -n "$PKG_CONFIG" && \
 
21167
if test -n "$PKG_CONFIG"; then
 
21168
    if test -n "$GTK_LIBS"; then
 
21169
        pkg_cv_GTK_LIBS="$GTK_LIBS"
 
21170
    else
 
21171
        if test -n "$PKG_CONFIG" && \
21349
21172
    { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gtk+-2.0 >= \$GTK_REQUIRED\"") >&5
21350
21173
  ($PKG_CONFIG --exists --print-errors "gtk+-2.0 >= $GTK_REQUIRED") 2>&5
21351
21174
  ac_status=$?
21355
21178
else
21356
21179
  pkg_failed=yes
21357
21180
fi
21358
 
 else
21359
 
    pkg_failed=untried
 
21181
    fi
 
21182
else
 
21183
        pkg_failed=untried
21360
21184
fi
21361
21185
 
21362
21186
 
21369
21193
        _pkg_short_errors_supported=no
21370
21194
fi
21371
21195
        if test $_pkg_short_errors_supported = yes; then
21372
 
                GTK_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors "gtk+-2.0 >= $GTK_REQUIRED" 2>&1`
 
21196
                GTK_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "gtk+-2.0 >= $GTK_REQUIRED"`
21373
21197
        else
21374
 
                GTK_PKG_ERRORS=`$PKG_CONFIG --print-errors "gtk+-2.0 >= $GTK_REQUIRED" 2>&1`
 
21198
                GTK_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "gtk+-2.0 >= $GTK_REQUIRED"`
21375
21199
        fi
21376
21200
        # Put the nasty error message in config.log where it belongs
21377
21201
        echo "$GTK_PKG_ERRORS" >&5
21408
21232
and GTK_LIBS to avoid the need to call pkg-config.
21409
21233
See the pkg-config man page for more details.
21410
21234
 
21411
 
To get pkg-config, see <http://pkg-config.freedesktop.org/>.
 
21235
To get pkg-config, see <http://www.freedesktop.org/software/pkgconfig>.
21412
21236
See \`config.log' for more details." >&5
21413
21237
echo "$as_me: error: The pkg-config script could not be found or is too old.  Make sure it
21414
21238
is in your PATH or set the PKG_CONFIG environment variable to the full
21418
21242
and GTK_LIBS to avoid the need to call pkg-config.
21419
21243
See the pkg-config man page for more details.
21420
21244
 
21421
 
To get pkg-config, see <http://pkg-config.freedesktop.org/>.
 
21245
To get pkg-config, see <http://www.freedesktop.org/software/pkgconfig>.
21422
21246
See \`config.log' for more details." >&2;}
21423
21247
   { (exit 1); exit 1; }; }
21424
21248
else
21436
21260
{ echo "$as_me:$LINENO: checking for GNOME_VFS_APPLETS" >&5
21437
21261
echo $ECHO_N "checking for GNOME_VFS_APPLETS... $ECHO_C" >&6; }
21438
21262
 
21439
 
if test -n "$GNOME_VFS_APPLETS_CFLAGS"; then
21440
 
    pkg_cv_GNOME_VFS_APPLETS_CFLAGS="$GNOME_VFS_APPLETS_CFLAGS"
21441
 
 elif test -n "$PKG_CONFIG"; then
21442
 
    if test -n "$PKG_CONFIG" && \
 
21263
if test -n "$PKG_CONFIG"; then
 
21264
    if test -n "$GNOME_VFS_APPLETS_CFLAGS"; then
 
21265
        pkg_cv_GNOME_VFS_APPLETS_CFLAGS="$GNOME_VFS_APPLETS_CFLAGS"
 
21266
    else
 
21267
        if test -n "$PKG_CONFIG" && \
21443
21268
    { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gnome-vfs-2.0 >= \$GNOME_VFS_REQUIRED\"") >&5
21444
21269
  ($PKG_CONFIG --exists --print-errors "gnome-vfs-2.0 >= $GNOME_VFS_REQUIRED") 2>&5
21445
21270
  ac_status=$?
21449
21274
else
21450
21275
  pkg_failed=yes
21451
21276
fi
21452
 
 else
21453
 
    pkg_failed=untried
 
21277
    fi
 
21278
else
 
21279
        pkg_failed=untried
21454
21280
fi
21455
 
if test -n "$GNOME_VFS_APPLETS_LIBS"; then
21456
 
    pkg_cv_GNOME_VFS_APPLETS_LIBS="$GNOME_VFS_APPLETS_LIBS"
21457
 
 elif test -n "$PKG_CONFIG"; then
21458
 
    if test -n "$PKG_CONFIG" && \
 
21281
if test -n "$PKG_CONFIG"; then
 
21282
    if test -n "$GNOME_VFS_APPLETS_LIBS"; then
 
21283
        pkg_cv_GNOME_VFS_APPLETS_LIBS="$GNOME_VFS_APPLETS_LIBS"
 
21284
    else
 
21285
        if test -n "$PKG_CONFIG" && \
21459
21286
    { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gnome-vfs-2.0 >= \$GNOME_VFS_REQUIRED\"") >&5
21460
21287
  ($PKG_CONFIG --exists --print-errors "gnome-vfs-2.0 >= $GNOME_VFS_REQUIRED") 2>&5
21461
21288
  ac_status=$?
21465
21292
else
21466
21293
  pkg_failed=yes
21467
21294
fi
21468
 
 else
21469
 
    pkg_failed=untried
 
21295
    fi
 
21296
else
 
21297
        pkg_failed=untried
21470
21298
fi
21471
21299
 
21472
21300
 
21479
21307
        _pkg_short_errors_supported=no
21480
21308
fi
21481
21309
        if test $_pkg_short_errors_supported = yes; then
21482
 
                GNOME_VFS_APPLETS_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors "gnome-vfs-2.0 >= $GNOME_VFS_REQUIRED" 2>&1`
 
21310
                GNOME_VFS_APPLETS_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "gnome-vfs-2.0 >= $GNOME_VFS_REQUIRED"`
21483
21311
        else
21484
 
                GNOME_VFS_APPLETS_PKG_ERRORS=`$PKG_CONFIG --print-errors "gnome-vfs-2.0 >= $GNOME_VFS_REQUIRED" 2>&1`
 
21312
                GNOME_VFS_APPLETS_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "gnome-vfs-2.0 >= $GNOME_VFS_REQUIRED"`
21485
21313
        fi
21486
21314
        # Put the nasty error message in config.log where it belongs
21487
21315
        echo "$GNOME_VFS_APPLETS_PKG_ERRORS" >&5
21518
21346
and GNOME_VFS_APPLETS_LIBS to avoid the need to call pkg-config.
21519
21347
See the pkg-config man page for more details.
21520
21348
 
21521
 
To get pkg-config, see <http://pkg-config.freedesktop.org/>.
 
21349
To get pkg-config, see <http://www.freedesktop.org/software/pkgconfig>.
21522
21350
See \`config.log' for more details." >&5
21523
21351
echo "$as_me: error: The pkg-config script could not be found or is too old.  Make sure it
21524
21352
is in your PATH or set the PKG_CONFIG environment variable to the full
21528
21356
and GNOME_VFS_APPLETS_LIBS to avoid the need to call pkg-config.
21529
21357
See the pkg-config man page for more details.
21530
21358
 
21531
 
To get pkg-config, see <http://pkg-config.freedesktop.org/>.
 
21359
To get pkg-config, see <http://www.freedesktop.org/software/pkgconfig>.
21532
21360
See \`config.log' for more details." >&2;}
21533
21361
   { (exit 1); exit 1; }; }
21534
21362
else
23808
23636
# report actual input values of CONFIG_FILES etc. instead of their
23809
23637
# values after options handling.
23810
23638
ac_log="
23811
 
This file was extended by libgweather $as_me 2.21.92, which was
 
23639
This file was extended by libgweather $as_me 2.22.0, which was
23812
23640
generated by GNU Autoconf 2.61.  Invocation command line was
23813
23641
 
23814
23642
  CONFIG_FILES    = $CONFIG_FILES
23861
23689
_ACEOF
23862
23690
cat >>$CONFIG_STATUS <<_ACEOF
23863
23691
ac_cs_version="\\
23864
 
libgweather config.status 2.21.92
 
23692
libgweather config.status 2.22.0
23865
23693
configured by $0, generated by GNU Autoconf 2.61,
23866
23694
  with options \\"`echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`\\"
23867
23695
 
24210
24038
host_cpu!$host_cpu$ac_delim
24211
24039
host_vendor!$host_vendor$ac_delim
24212
24040
host_os!$host_os$ac_delim
24213
 
SED!$SED$ac_delim
24214
24041
LN_S!$LN_S$ac_delim
24215
24042
ECHO!$ECHO$ac_delim
24216
24043
AR!$AR$ac_delim
24260
24087
LTLIBOBJS!$LTLIBOBJS$ac_delim
24261
24088
_ACEOF
24262
24089
 
24263
 
  if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 69; then
 
24090
  if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 68; then
24264
24091
    break
24265
24092
  elif $ac_last_try; then
24266
24093
    { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
24661
24488
  fi
24662
24489
  rm -f "$tmp/out12"
24663
24490
# Compute $ac_file's index in $config_headers.
24664
 
_am_arg=$ac_file
24665
24491
_am_stamp_count=1
24666
24492
for _am_header in $config_headers :; do
24667
24493
  case $_am_header in
24668
 
    $_am_arg | $_am_arg:* )
 
24494
    $ac_file | $ac_file:* )
24669
24495
      break ;;
24670
24496
    * )
24671
24497
      _am_stamp_count=`expr $_am_stamp_count + 1` ;;
24672
24498
  esac
24673
24499
done
24674
 
echo "timestamp for $_am_arg" >`$as_dirname -- "$_am_arg" ||
24675
 
$as_expr X"$_am_arg" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
24676
 
         X"$_am_arg" : 'X\(//\)[^/]' \| \
24677
 
         X"$_am_arg" : 'X\(//\)$' \| \
24678
 
         X"$_am_arg" : 'X\(/\)' \| . 2>/dev/null ||
24679
 
echo X"$_am_arg" |
 
24500
echo "timestamp for $ac_file" >`$as_dirname -- $ac_file ||
 
24501
$as_expr X$ac_file : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
 
24502
         X$ac_file : 'X\(//\)[^/]' \| \
 
24503
         X$ac_file : 'X\(//\)$' \| \
 
24504
         X$ac_file : 'X\(/\)' \| . 2>/dev/null ||
 
24505
echo X$ac_file |
24680
24506
    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
24681
24507
            s//\1/
24682
24508
            q
24713
24539
  # each Makefile.in and add a new line on top of each file to say so.
24714
24540
  # Grep'ing the whole file is not good either: AIX grep has a line
24715
24541
  # limit of 2048, but all sed's we know have understand at least 4000.
24716
 
  if sed -n 's,^#.*generated by automake.*,X,p' "$mf" | grep X >/dev/null 2>&1; then
 
24542
  if sed 10q "$mf" | grep '^#.*generated by automake' > /dev/null 2>&1; then
24717
24543
    dirpart=`$as_dirname -- "$mf" ||
24718
24544
$as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
24719
24545
         X"$mf" : 'X\(//\)[^/]' \| \