~ubuntu-branches/ubuntu/hardy/gnome-applets/hardy-updates

« back to all changes in this revision

Viewing changes to configure

  • Committer: Bazaar Package Importer
  • Author(s): Sebastien Bacher
  • Date: 2008-05-28 22:47:18 UTC
  • mfrom: (1.1.29 upstream)
  • Revision ID: james.westby@ubuntu.com-20080528224718-b5t5ncp301baiure
Tags: 2.22.2-0ubuntu1
* New upstream version:
  - Fix the launching of the gnome-keyboard-properties dialog from the 
    access applet. (lp: #191168)
* debian/patches/98_autoreconf.patch:
  - new version update
* debian/patches/99_ltmain_as-needed.patch:
  - new version update

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 gnome-applets 2.22.1.
 
3
# Generated by GNU Autoconf 2.61 for gnome-applets 2.22.2.
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='gnome-applets'
728
728
PACKAGE_TARNAME='gnome-applets'
729
 
PACKAGE_VERSION='2.22.1'
730
 
PACKAGE_STRING='gnome-applets 2.22.1'
 
729
PACKAGE_VERSION='2.22.2'
 
730
PACKAGE_STRING='gnome-applets 2.22.2'
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
887
888
LN_S
888
889
ECHO
889
890
AR
890
891
RANLIB
 
892
DSYMUTIL
 
893
NMEDIT
891
894
CXX
892
895
CXXFLAGS
893
896
ac_ct_CXX
1620
1623
  # Omit some internal or obsolete options to make the list less imposing.
1621
1624
  # This message is too long to be a string in the A/UX 3.1 sh.
1622
1625
  cat <<_ACEOF
1623
 
\`configure' configures gnome-applets 2.22.1 to adapt to many kinds of systems.
 
1626
\`configure' configures gnome-applets 2.22.2 to adapt to many kinds of systems.
1624
1627
 
1625
1628
Usage: $0 [OPTION]... [VAR=VALUE]...
1626
1629
 
1694
1697
 
1695
1698
if test -n "$ac_init_help"; then
1696
1699
  case $ac_init_help in
1697
 
     short | recursive ) echo "Configuration of gnome-applets 2.22.1:";;
 
1700
     short | recursive ) echo "Configuration of gnome-applets 2.22.2:";;
1698
1701
   esac
1699
1702
  cat <<\_ACEOF
1700
1703
 
1900
1903
test -n "$ac_init_help" && exit $ac_status
1901
1904
if $ac_init_version; then
1902
1905
  cat <<\_ACEOF
1903
 
gnome-applets configure 2.22.1
 
1906
gnome-applets configure 2.22.2
1904
1907
generated by GNU Autoconf 2.61
1905
1908
 
1906
1909
Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
1914
1917
This file contains any messages produced by compilers while
1915
1918
running configure, to aid debugging if configure makes a mistake.
1916
1919
 
1917
 
It was created by gnome-applets $as_me 2.22.1, which was
 
1920
It was created by gnome-applets $as_me 2.22.2, which was
1918
1921
generated by GNU Autoconf 2.61.  Invocation command line was
1919
1922
 
1920
1923
  $ $0 $@
2608
2611
 
2609
2612
# Define the identity of the package.
2610
2613
 PACKAGE='gnome-applets'
2611
 
 VERSION='2.22.1'
 
2614
 VERSION='2.22.2'
2612
2615
 
2613
2616
 
2614
2617
cat >>confdefs.h <<_ACEOF
6045
6048
  test -z "$as_dir" && as_dir=.
6046
6049
  for lt_ac_prog in sed gsed; do
6047
6050
    for ac_exec_ext in '' $ac_executable_extensions; do
6048
 
      if $as_executable_p "$as_dir/$lt_ac_prog$ac_exec_ext"; then
 
6051
      if { test -f "$as_dir/$lt_ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$lt_ac_prog$ac_exec_ext"; }; then
6049
6052
        lt_ac_sed_list="$lt_ac_sed_list $as_dir/$lt_ac_prog$ac_exec_ext"
6050
6053
      fi
6051
6054
    done
6052
6055
  done
6053
6056
done
 
6057
IFS=$as_save_IFS
6054
6058
lt_ac_max=0
6055
6059
lt_ac_count=0
6056
6060
# Add /usr/xpg4/bin/sed as it is typically found on Solaris
6085
6089
fi
6086
6090
 
6087
6091
SED=$lt_cv_path_SED
 
6092
 
6088
6093
{ echo "$as_me:$LINENO: result: $SED" >&5
6089
6094
echo "${ECHO_T}$SED" >&6; }
6090
6095
 
6284
6289
echo "${ECHO_T}no, using $LN_S" >&6; }
6285
6290
fi
6286
6291
 
6287
 
{ echo "$as_me:$LINENO: checking how to recognise dependent libraries" >&5
6288
 
echo $ECHO_N "checking how to recognise dependent libraries... $ECHO_C" >&6; }
 
6292
{ echo "$as_me:$LINENO: checking how to recognize dependent libraries" >&5
 
6293
echo $ECHO_N "checking how to recognize dependent libraries... $ECHO_C" >&6; }
6289
6294
if test "${lt_cv_deplibs_check_method+set}" = set; then
6290
6295
  echo $ECHO_N "(cached) $ECHO_C" >&6
6291
6296
else
6304
6309
# whether `pass_all' will *always* work, you probably want this one.
6305
6310
 
6306
6311
case $host_os in
6307
 
aix4* | aix5*)
 
6312
aix[4-9]*)
6308
6313
  lt_cv_deplibs_check_method=pass_all
6309
6314
  ;;
6310
6315
 
6326
6331
 
6327
6332
mingw* | pw32*)
6328
6333
  # Base MSYS/MinGW do not provide the 'file' command needed by
6329
 
  # func_win32_libid shell function, so use a weaker test based on 'objdump'.
6330
 
  lt_cv_deplibs_check_method='file_magic file format pei*-i386(.*architecture: i386)?'
6331
 
  lt_cv_file_magic_cmd='$OBJDUMP -f'
 
6334
  # func_win32_libid shell function, so use a weaker test based on 'objdump',
 
6335
  # unless we find 'file', for example because we are cross-compiling.
 
6336
  if ( file / ) >/dev/null 2>&1; then
 
6337
    lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
 
6338
    lt_cv_file_magic_cmd='func_win32_libid'
 
6339
  else
 
6340
    lt_cv_deplibs_check_method='file_magic file format pei*-i386(.*architecture: i386)?'
 
6341
    lt_cv_file_magic_cmd='$OBJDUMP -f'
 
6342
  fi
6332
6343
  ;;
6333
6344
 
6334
6345
darwin* | rhapsody*)
6335
6346
  lt_cv_deplibs_check_method=pass_all
6336
6347
  ;;
6337
6348
 
6338
 
freebsd* | kfreebsd*-gnu | dragonfly*)
 
6349
freebsd* | dragonfly*)
6339
6350
  if echo __ELF__ | $CC -E - | grep __ELF__ > /dev/null; then
6340
6351
    case $host_cpu in
6341
6352
    i*86 )
6373
6384
  esac
6374
6385
  ;;
6375
6386
 
6376
 
interix3*)
 
6387
interix[3-9]*)
6377
6388
  # PIC code is broken on Interix 3.x, that's why |\.a not |_pic\.a here
6378
6389
  lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|\.a)$'
6379
6390
  ;;
6389
6400
  ;;
6390
6401
 
6391
6402
# This must be Linux ELF.
6392
 
linux*)
 
6403
linux* | k*bsd*-gnu)
6393
6404
  lt_cv_deplibs_check_method=pass_all
6394
6405
  ;;
6395
6406
 
6396
 
netbsd*)
 
6407
netbsd* | netbsdelf*-gnu)
6397
6408
  if echo __ELF__ | $CC -E - | grep __ELF__ > /dev/null; then
6398
6409
    lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
6399
6410
  else
6423
6434
  lt_cv_deplibs_check_method=pass_all
6424
6435
  ;;
6425
6436
 
 
6437
rdos*)
 
6438
  lt_cv_deplibs_check_method=pass_all
 
6439
  ;;
 
6440
 
6426
6441
solaris*)
6427
6442
  lt_cv_deplibs_check_method=pass_all
6428
6443
  ;;
6509
6524
  ;;
6510
6525
*-*-irix6*)
6511
6526
  # Find out which ABI we are using.
6512
 
  echo '#line 6512 "configure"' > conftest.$ac_ext
 
6527
  echo '#line 6527 "configure"' > conftest.$ac_ext
6513
6528
  if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6514
6529
  (eval $ac_compile) 2>&5
6515
6530
  ac_status=$?
6544
6559
  rm -rf conftest*
6545
6560
  ;;
6546
6561
 
6547
 
x86_64-*linux*|ppc*-*linux*|powerpc*-*linux*|s390*-*linux*|sparc*-*linux*)
 
6562
x86_64-*kfreebsd*-gnu|x86_64-*linux*|ppc*-*linux*|powerpc*-*linux*| \
 
6563
s390*-*linux*|sparc*-*linux*)
6548
6564
  # Find out which ABI we are using.
6549
6565
  echo 'int i;' > conftest.$ac_ext
6550
6566
  if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6555
6571
    case `/usr/bin/file conftest.o` in
6556
6572
    *32-bit*)
6557
6573
      case $host in
 
6574
        x86_64-*kfreebsd*-gnu)
 
6575
          LD="${LD-ld} -m elf_i386_fbsd"
 
6576
          ;;
6558
6577
        x86_64-*linux*)
6559
6578
          LD="${LD-ld} -m elf_i386"
6560
6579
          ;;
6571
6590
      ;;
6572
6591
    *64-bit*)
6573
6592
      case $host in
 
6593
        x86_64-*kfreebsd*-gnu)
 
6594
          LD="${LD-ld} -m elf_x86_64_fbsd"
 
6595
          ;;
6574
6596
        x86_64-*linux*)
6575
6597
          LD="${LD-ld} -m elf_x86_64"
6576
6598
          ;;
6674
6696
    *64-bit*)
6675
6697
      case $lt_cv_prog_gnu_ld in
6676
6698
      yes*) LD="${LD-ld} -m elf64_sparc" ;;
6677
 
      *)    LD="${LD-ld} -64" ;;
 
6699
      *)
 
6700
        if ${LD-ld} -64 -r -o conftest2.o conftest.o >/dev/null 2>&1; then
 
6701
          LD="${LD-ld} -64"
 
6702
        fi
 
6703
        ;;
6678
6704
      esac
6679
6705
      ;;
6680
6706
    esac
7866
7892
 
7867
7893
 
7868
7894
# Autoconf 2.13's AC_OBJEXT and AC_EXEEXT macros only works for C compilers!
7869
 
 
7870
7895
# find the maximum length of command line arguments
7871
7896
{ echo "$as_me:$LINENO: checking the maximum length of command line arguments" >&5
7872
7897
echo $ECHO_N "checking the maximum length of command line arguments... $ECHO_C" >&6; }
7953
7978
    fi
7954
7979
    ;;
7955
7980
  *)
7956
 
    # If test is not a shell built-in, we'll probably end up computing a
7957
 
    # maximum length that is only half of the actual maximum length, but
7958
 
    # we can't tell.
7959
 
    SHELL=${SHELL-${CONFIG_SHELL-/bin/sh}}
7960
 
    while (test "X"`$SHELL $0 --fallback-echo "X$teststring" 2>/dev/null` \
 
7981
    lt_cv_sys_max_cmd_len=`(getconf ARG_MAX) 2> /dev/null`
 
7982
    if test -n "$lt_cv_sys_max_cmd_len"; then
 
7983
      lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
 
7984
      lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
 
7985
    else
 
7986
      SHELL=${SHELL-${CONFIG_SHELL-/bin/sh}}
 
7987
      while (test "X"`$SHELL $0 --fallback-echo "X$teststring" 2>/dev/null` \
7961
7988
               = "XX$teststring") >/dev/null 2>&1 &&
7962
 
            new_result=`expr "X$teststring" : ".*" 2>&1` &&
7963
 
            lt_cv_sys_max_cmd_len=$new_result &&
7964
 
            test $i != 17 # 1/2 MB should be enough
7965
 
    do
7966
 
      i=`expr $i + 1`
7967
 
      teststring=$teststring$teststring
7968
 
    done
7969
 
    teststring=
7970
 
    # Add a significant safety factor because C++ compilers can tack on massive
7971
 
    # amounts of additional arguments before passing them to the linker.
7972
 
    # It appears as though 1/2 is a usable value.
7973
 
    lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 2`
 
7989
              new_result=`expr "X$teststring" : ".*" 2>&1` &&
 
7990
              lt_cv_sys_max_cmd_len=$new_result &&
 
7991
              test $i != 17 # 1/2 MB should be enough
 
7992
      do
 
7993
        i=`expr $i + 1`
 
7994
        teststring=$teststring$teststring
 
7995
      done
 
7996
      teststring=
 
7997
      # Add a significant safety factor because C++ compilers can tack on massive
 
7998
      # amounts of additional arguments before passing them to the linker.
 
7999
      # It appears as though 1/2 is a usable value.
 
8000
      lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 2`
 
8001
    fi
7974
8002
    ;;
7975
8003
  esac
7976
8004
 
7987
8015
 
7988
8016
 
7989
8017
 
 
8018
 
7990
8019
# Check for command to grab the raw symbol name followed by C symbol from nm.
7991
8020
{ echo "$as_me:$LINENO: checking command to parse $NM output from $compiler object" >&5
7992
8021
echo $ECHO_N "checking command to parse $NM output from $compiler object... $ECHO_C" >&6; }
8024
8053
  lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'"
8025
8054
  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'"
8026
8055
  ;;
8027
 
linux*)
 
8056
linux* | k*bsd*-gnu)
8028
8057
  if test "$host_cpu" = ia64; then
8029
8058
    symcode='[ABCDGIRSTW]'
8030
8059
    lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'"
8177
8206
    echo "$progname: failed program was:" >&5
8178
8207
    cat conftest.$ac_ext >&5
8179
8208
  fi
8180
 
  rm -f conftest* conftst*
 
8209
  rm -rf conftest* conftst*
8181
8210
 
8182
8211
  # Do not use the global_symbol_pipe unless it works.
8183
8212
  if test "$pipe_works" = yes; then
8575
8604
test -z "$ac_objext" && ac_objext=o
8576
8605
 
8577
8606
# Determine commands to create old-style static archives.
8578
 
old_archive_cmds='$AR $AR_FLAGS $oldlib$oldobjs$old_deplibs'
 
8607
old_archive_cmds='$AR $AR_FLAGS $oldlib$oldobjs'
8579
8608
old_postinstall_cmds='chmod 644 $oldlib'
8580
8609
old_postuninstall_cmds=
8581
8610
 
8737
8766
  ;;
8738
8767
esac
8739
8768
 
 
8769
 
 
8770
  case $host_os in
 
8771
    rhapsody* | darwin*)
 
8772
    if test -n "$ac_tool_prefix"; then
 
8773
  # Extract the first word of "${ac_tool_prefix}dsymutil", so it can be a program name with args.
 
8774
set dummy ${ac_tool_prefix}dsymutil; ac_word=$2
 
8775
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
 
8776
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
 
8777
if test "${ac_cv_prog_DSYMUTIL+set}" = set; then
 
8778
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
8779
else
 
8780
  if test -n "$DSYMUTIL"; then
 
8781
  ac_cv_prog_DSYMUTIL="$DSYMUTIL" # Let the user override the test.
 
8782
else
 
8783
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
8784
for as_dir in $PATH
 
8785
do
 
8786
  IFS=$as_save_IFS
 
8787
  test -z "$as_dir" && as_dir=.
 
8788
  for ac_exec_ext in '' $ac_executable_extensions; do
 
8789
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 
8790
    ac_cv_prog_DSYMUTIL="${ac_tool_prefix}dsymutil"
 
8791
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
8792
    break 2
 
8793
  fi
 
8794
done
 
8795
done
 
8796
IFS=$as_save_IFS
 
8797
 
 
8798
fi
 
8799
fi
 
8800
DSYMUTIL=$ac_cv_prog_DSYMUTIL
 
8801
if test -n "$DSYMUTIL"; then
 
8802
  { echo "$as_me:$LINENO: result: $DSYMUTIL" >&5
 
8803
echo "${ECHO_T}$DSYMUTIL" >&6; }
 
8804
else
 
8805
  { echo "$as_me:$LINENO: result: no" >&5
 
8806
echo "${ECHO_T}no" >&6; }
 
8807
fi
 
8808
 
 
8809
 
 
8810
fi
 
8811
if test -z "$ac_cv_prog_DSYMUTIL"; then
 
8812
  ac_ct_DSYMUTIL=$DSYMUTIL
 
8813
  # Extract the first word of "dsymutil", so it can be a program name with args.
 
8814
set dummy dsymutil; ac_word=$2
 
8815
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
 
8816
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
 
8817
if test "${ac_cv_prog_ac_ct_DSYMUTIL+set}" = set; then
 
8818
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
8819
else
 
8820
  if test -n "$ac_ct_DSYMUTIL"; then
 
8821
  ac_cv_prog_ac_ct_DSYMUTIL="$ac_ct_DSYMUTIL" # Let the user override the test.
 
8822
else
 
8823
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
8824
for as_dir in $PATH
 
8825
do
 
8826
  IFS=$as_save_IFS
 
8827
  test -z "$as_dir" && as_dir=.
 
8828
  for ac_exec_ext in '' $ac_executable_extensions; do
 
8829
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 
8830
    ac_cv_prog_ac_ct_DSYMUTIL="dsymutil"
 
8831
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
8832
    break 2
 
8833
  fi
 
8834
done
 
8835
done
 
8836
IFS=$as_save_IFS
 
8837
 
 
8838
fi
 
8839
fi
 
8840
ac_ct_DSYMUTIL=$ac_cv_prog_ac_ct_DSYMUTIL
 
8841
if test -n "$ac_ct_DSYMUTIL"; then
 
8842
  { echo "$as_me:$LINENO: result: $ac_ct_DSYMUTIL" >&5
 
8843
echo "${ECHO_T}$ac_ct_DSYMUTIL" >&6; }
 
8844
else
 
8845
  { echo "$as_me:$LINENO: result: no" >&5
 
8846
echo "${ECHO_T}no" >&6; }
 
8847
fi
 
8848
 
 
8849
  if test "x$ac_ct_DSYMUTIL" = x; then
 
8850
    DSYMUTIL=":"
 
8851
  else
 
8852
    case $cross_compiling:$ac_tool_warned in
 
8853
yes:)
 
8854
{ echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
 
8855
whose name does not start with the host triplet.  If you think this
 
8856
configuration is useful to you, please write to autoconf@gnu.org." >&5
 
8857
echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
 
8858
whose name does not start with the host triplet.  If you think this
 
8859
configuration is useful to you, please write to autoconf@gnu.org." >&2;}
 
8860
ac_tool_warned=yes ;;
 
8861
esac
 
8862
    DSYMUTIL=$ac_ct_DSYMUTIL
 
8863
  fi
 
8864
else
 
8865
  DSYMUTIL="$ac_cv_prog_DSYMUTIL"
 
8866
fi
 
8867
 
 
8868
    if test -n "$ac_tool_prefix"; then
 
8869
  # Extract the first word of "${ac_tool_prefix}nmedit", so it can be a program name with args.
 
8870
set dummy ${ac_tool_prefix}nmedit; ac_word=$2
 
8871
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
 
8872
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
 
8873
if test "${ac_cv_prog_NMEDIT+set}" = set; then
 
8874
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
8875
else
 
8876
  if test -n "$NMEDIT"; then
 
8877
  ac_cv_prog_NMEDIT="$NMEDIT" # Let the user override the test.
 
8878
else
 
8879
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
8880
for as_dir in $PATH
 
8881
do
 
8882
  IFS=$as_save_IFS
 
8883
  test -z "$as_dir" && as_dir=.
 
8884
  for ac_exec_ext in '' $ac_executable_extensions; do
 
8885
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 
8886
    ac_cv_prog_NMEDIT="${ac_tool_prefix}nmedit"
 
8887
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
8888
    break 2
 
8889
  fi
 
8890
done
 
8891
done
 
8892
IFS=$as_save_IFS
 
8893
 
 
8894
fi
 
8895
fi
 
8896
NMEDIT=$ac_cv_prog_NMEDIT
 
8897
if test -n "$NMEDIT"; then
 
8898
  { echo "$as_me:$LINENO: result: $NMEDIT" >&5
 
8899
echo "${ECHO_T}$NMEDIT" >&6; }
 
8900
else
 
8901
  { echo "$as_me:$LINENO: result: no" >&5
 
8902
echo "${ECHO_T}no" >&6; }
 
8903
fi
 
8904
 
 
8905
 
 
8906
fi
 
8907
if test -z "$ac_cv_prog_NMEDIT"; then
 
8908
  ac_ct_NMEDIT=$NMEDIT
 
8909
  # Extract the first word of "nmedit", so it can be a program name with args.
 
8910
set dummy nmedit; ac_word=$2
 
8911
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
 
8912
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
 
8913
if test "${ac_cv_prog_ac_ct_NMEDIT+set}" = set; then
 
8914
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
8915
else
 
8916
  if test -n "$ac_ct_NMEDIT"; then
 
8917
  ac_cv_prog_ac_ct_NMEDIT="$ac_ct_NMEDIT" # Let the user override the test.
 
8918
else
 
8919
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
8920
for as_dir in $PATH
 
8921
do
 
8922
  IFS=$as_save_IFS
 
8923
  test -z "$as_dir" && as_dir=.
 
8924
  for ac_exec_ext in '' $ac_executable_extensions; do
 
8925
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 
8926
    ac_cv_prog_ac_ct_NMEDIT="nmedit"
 
8927
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
8928
    break 2
 
8929
  fi
 
8930
done
 
8931
done
 
8932
IFS=$as_save_IFS
 
8933
 
 
8934
fi
 
8935
fi
 
8936
ac_ct_NMEDIT=$ac_cv_prog_ac_ct_NMEDIT
 
8937
if test -n "$ac_ct_NMEDIT"; then
 
8938
  { echo "$as_me:$LINENO: result: $ac_ct_NMEDIT" >&5
 
8939
echo "${ECHO_T}$ac_ct_NMEDIT" >&6; }
 
8940
else
 
8941
  { echo "$as_me:$LINENO: result: no" >&5
 
8942
echo "${ECHO_T}no" >&6; }
 
8943
fi
 
8944
 
 
8945
  if test "x$ac_ct_NMEDIT" = x; then
 
8946
    NMEDIT=":"
 
8947
  else
 
8948
    case $cross_compiling:$ac_tool_warned in
 
8949
yes:)
 
8950
{ echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
 
8951
whose name does not start with the host triplet.  If you think this
 
8952
configuration is useful to you, please write to autoconf@gnu.org." >&5
 
8953
echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
 
8954
whose name does not start with the host triplet.  If you think this
 
8955
configuration is useful to you, please write to autoconf@gnu.org." >&2;}
 
8956
ac_tool_warned=yes ;;
 
8957
esac
 
8958
    NMEDIT=$ac_ct_NMEDIT
 
8959
  fi
 
8960
else
 
8961
  NMEDIT="$ac_cv_prog_NMEDIT"
 
8962
fi
 
8963
 
 
8964
 
 
8965
    { echo "$as_me:$LINENO: checking for -single_module linker flag" >&5
 
8966
echo $ECHO_N "checking for -single_module linker flag... $ECHO_C" >&6; }
 
8967
if test "${lt_cv_apple_cc_single_mod+set}" = set; then
 
8968
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
8969
else
 
8970
  lt_cv_apple_cc_single_mod=no
 
8971
      if test -z "${LT_MULTI_MODULE}"; then
 
8972
   # By default we will add the -single_module flag. You can override
 
8973
   # by either setting the environment variable LT_MULTI_MODULE
 
8974
   # non-empty at configure time, or by adding -multi_module to the
 
8975
   # link flags.
 
8976
   echo "int foo(void){return 1;}" > conftest.c
 
8977
   $LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
 
8978
     -dynamiclib ${wl}-single_module conftest.c
 
8979
   if test -f libconftest.dylib; then
 
8980
     lt_cv_apple_cc_single_mod=yes
 
8981
     rm -rf libconftest.dylib*
 
8982
   fi
 
8983
   rm conftest.c
 
8984
      fi
 
8985
fi
 
8986
{ echo "$as_me:$LINENO: result: $lt_cv_apple_cc_single_mod" >&5
 
8987
echo "${ECHO_T}$lt_cv_apple_cc_single_mod" >&6; }
 
8988
    { echo "$as_me:$LINENO: checking for -exported_symbols_list linker flag" >&5
 
8989
echo $ECHO_N "checking for -exported_symbols_list linker flag... $ECHO_C" >&6; }
 
8990
if test "${lt_cv_ld_exported_symbols_list+set}" = set; then
 
8991
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
8992
else
 
8993
  lt_cv_ld_exported_symbols_list=no
 
8994
      save_LDFLAGS=$LDFLAGS
 
8995
      echo "_main" > conftest.sym
 
8996
      LDFLAGS="$LDFLAGS -Wl,-exported_symbols_list,conftest.sym"
 
8997
      cat >conftest.$ac_ext <<_ACEOF
 
8998
/* confdefs.h.  */
 
8999
_ACEOF
 
9000
cat confdefs.h >>conftest.$ac_ext
 
9001
cat >>conftest.$ac_ext <<_ACEOF
 
9002
/* end confdefs.h.  */
 
9003
 
 
9004
int
 
9005
main ()
 
9006
{
 
9007
 
 
9008
  ;
 
9009
  return 0;
 
9010
}
 
9011
_ACEOF
 
9012
rm -f conftest.$ac_objext conftest$ac_exeext
 
9013
if { (ac_try="$ac_link"
 
9014
case "(($ac_try" in
 
9015
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
9016
  *) ac_try_echo=$ac_try;;
 
9017
esac
 
9018
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
9019
  (eval "$ac_link") 2>conftest.er1
 
9020
  ac_status=$?
 
9021
  grep -v '^ *+' conftest.er1 >conftest.err
 
9022
  rm -f conftest.er1
 
9023
  cat conftest.err >&5
 
9024
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
9025
  (exit $ac_status); } && {
 
9026
         test -z "$ac_c_werror_flag" ||
 
9027
         test ! -s conftest.err
 
9028
       } && test -s conftest$ac_exeext &&
 
9029
       $as_test_x conftest$ac_exeext; then
 
9030
  lt_cv_ld_exported_symbols_list=yes
 
9031
else
 
9032
  echo "$as_me: failed program was:" >&5
 
9033
sed 's/^/| /' conftest.$ac_ext >&5
 
9034
 
 
9035
        lt_cv_ld_exported_symbols_list=no
 
9036
fi
 
9037
 
 
9038
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
 
9039
      conftest$ac_exeext conftest.$ac_ext
 
9040
   LDFLAGS="$save_LDFLAGS"
 
9041
 
 
9042
fi
 
9043
{ echo "$as_me:$LINENO: result: $lt_cv_ld_exported_symbols_list" >&5
 
9044
echo "${ECHO_T}$lt_cv_ld_exported_symbols_list" >&6; }
 
9045
    case $host_os in
 
9046
    rhapsody* | darwin1.[0123])
 
9047
      _lt_dar_allow_undefined='${wl}-undefined ${wl}suppress' ;;
 
9048
    darwin1.*)
 
9049
     _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
 
9050
    darwin*)
 
9051
      # if running on 10.5 or later, the deployment target defaults
 
9052
      # to the OS version, if on x86, and 10.4, the deployment
 
9053
      # target defaults to 10.4. Don't you love it?
 
9054
      case ${MACOSX_DEPLOYMENT_TARGET-10.0},$host in
 
9055
   10.0,*86*-darwin8*|10.0,*-darwin[91]*)
 
9056
     _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
 
9057
   10.[012]*)
 
9058
     _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
 
9059
   10.*)
 
9060
     _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
 
9061
      esac
 
9062
    ;;
 
9063
  esac
 
9064
    if test "$lt_cv_apple_cc_single_mod" = "yes"; then
 
9065
      _lt_dar_single_mod='$single_module'
 
9066
    fi
 
9067
    if test "$lt_cv_ld_exported_symbols_list" = "yes"; then
 
9068
      _lt_dar_export_syms=' ${wl}-exported_symbols_list,$output_objdir/${libname}-symbols.expsym'
 
9069
    else
 
9070
      _lt_dar_export_syms="~$NMEDIT -s \$output_objdir/\${libname}-symbols.expsym \${lib}"
 
9071
    fi
 
9072
    if test "$DSYMUTIL" != ":"; then
 
9073
      _lt_dsymutil="~$DSYMUTIL \$lib || :"
 
9074
    else
 
9075
      _lt_dsymutil=
 
9076
    fi
 
9077
    ;;
 
9078
  esac
 
9079
 
 
9080
 
8740
9081
enable_dlopen=no
8741
9082
enable_win32_dll=no
8742
9083
 
8775
9116
objext=$objext
8776
9117
 
8777
9118
# Code to be used in simple compile tests
8778
 
lt_simple_compile_test_code="int some_variable = 0;\n"
 
9119
lt_simple_compile_test_code="int some_variable = 0;"
8779
9120
 
8780
9121
# Code to be used in simple link tests
8781
 
lt_simple_link_test_code='int main(){return(0);}\n'
 
9122
lt_simple_link_test_code='int main(){return(0);}'
8782
9123
 
8783
9124
 
8784
9125
# If no C compiler was specified, use CC.
8793
9134
 
8794
9135
# save warnings/boilerplate of simple test code
8795
9136
ac_outfile=conftest.$ac_objext
8796
 
printf "$lt_simple_compile_test_code" >conftest.$ac_ext
 
9137
echo "$lt_simple_compile_test_code" >conftest.$ac_ext
8797
9138
eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
8798
9139
_lt_compiler_boilerplate=`cat conftest.err`
8799
9140
$rm conftest*
8800
9141
 
8801
9142
ac_outfile=conftest.$ac_objext
8802
 
printf "$lt_simple_link_test_code" >conftest.$ac_ext
 
9143
echo "$lt_simple_link_test_code" >conftest.$ac_ext
8803
9144
eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
8804
9145
_lt_linker_boilerplate=`cat conftest.err`
8805
 
$rm conftest*
 
9146
$rm -r conftest*
8806
9147
 
8807
9148
 
8808
9149
 
8819
9160
else
8820
9161
  lt_cv_prog_compiler_rtti_exceptions=no
8821
9162
  ac_outfile=conftest.$ac_objext
8822
 
   printf "$lt_simple_compile_test_code" > conftest.$ac_ext
 
9163
   echo "$lt_simple_compile_test_code" > conftest.$ac_ext
8823
9164
   lt_compiler_flag="-fno-rtti -fno-exceptions"
8824
9165
   # Insert the option either (1) after the last *FLAGS variable, or
8825
9166
   # (2) before a word containing "conftest.", or (3) at the end.
8830
9171
   -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8831
9172
   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8832
9173
   -e 's:$: $lt_compiler_flag:'`
8833
 
   (eval echo "\"\$as_me:8833: $lt_compile\"" >&5)
 
9174
   (eval echo "\"\$as_me:9174: $lt_compile\"" >&5)
8834
9175
   (eval "$lt_compile" 2>conftest.err)
8835
9176
   ac_status=$?
8836
9177
   cat conftest.err >&5
8837
 
   echo "$as_me:8837: \$? = $ac_status" >&5
 
9178
   echo "$as_me:9178: \$? = $ac_status" >&5
8838
9179
   if (exit $ac_status) && test -s "$ac_outfile"; then
8839
9180
     # The compiler can only warn and ignore the option if not recognized
8840
9181
     # So say no if there are warnings other than the usual output.
8885
9226
      lt_prog_compiler_pic='-m68020 -resident32 -malways-restore-a4'
8886
9227
      ;;
8887
9228
 
8888
 
    beos* | cygwin* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
 
9229
    beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
8889
9230
      # PIC is the default for these OSes.
8890
9231
      ;;
8891
9232
 
8892
 
    mingw* | pw32* | os2*)
 
9233
    mingw* | cygwin* | pw32* | os2*)
8893
9234
      # This hack is so that the source file can tell whether it is being
8894
9235
      # built for inclusion in a dll (and should export symbols for example).
 
9236
      # Although the cygwin gcc ignores -fPIC, still need this for old-style
 
9237
      # (--disable-auto-import) libraries
8895
9238
      lt_prog_compiler_pic='-DDLL_EXPORT'
8896
9239
      ;;
8897
9240
 
8901
9244
      lt_prog_compiler_pic='-fno-common'
8902
9245
      ;;
8903
9246
 
8904
 
    interix3*)
 
9247
    interix[3-9]*)
8905
9248
      # Interix 3.x gcc -fpic/-fPIC options generate broken code.
8906
9249
      # Instead, we relocate shared libraries at runtime.
8907
9250
      ;;
8959
9302
       esac
8960
9303
       ;;
8961
9304
 
8962
 
    mingw* | pw32* | os2*)
 
9305
    mingw* | cygwin* | pw32* | os2*)
8963
9306
      # This hack is so that the source file can tell whether it is being
8964
9307
      # built for inclusion in a dll (and should export symbols for example).
8965
9308
      lt_prog_compiler_pic='-DDLL_EXPORT'
8992
9335
      lt_prog_compiler_static='-Bstatic'
8993
9336
      ;;
8994
9337
 
8995
 
    linux*)
 
9338
    linux* | k*bsd*-gnu)
8996
9339
      case $cc_basename in
8997
9340
      icc* | ecc*)
8998
9341
        lt_prog_compiler_wl='-Wl,'
9011
9354
        # All Alpha code is PIC.
9012
9355
        lt_prog_compiler_static='-non_shared'
9013
9356
        ;;
 
9357
      *)
 
9358
        case `$CC -V 2>&1 | sed 5q` in
 
9359
        *Sun\ C*)
 
9360
          # Sun C 5.9
 
9361
          lt_prog_compiler_pic='-KPIC'
 
9362
          lt_prog_compiler_static='-Bstatic'
 
9363
          lt_prog_compiler_wl='-Wl,'
 
9364
          ;;
 
9365
        *Sun\ F*)
 
9366
          # Sun Fortran 8.3 passes all unrecognized flags to the linker
 
9367
          lt_prog_compiler_pic='-KPIC'
 
9368
          lt_prog_compiler_static='-Bstatic'
 
9369
          lt_prog_compiler_wl=''
 
9370
          ;;
 
9371
        esac
 
9372
        ;;
9014
9373
      esac
9015
9374
      ;;
9016
9375
 
9020
9379
      lt_prog_compiler_static='-non_shared'
9021
9380
      ;;
9022
9381
 
 
9382
    rdos*)
 
9383
      lt_prog_compiler_static='-non_shared'
 
9384
      ;;
 
9385
 
9023
9386
    solaris*)
9024
9387
      lt_prog_compiler_pic='-KPIC'
9025
9388
      lt_prog_compiler_static='-Bstatic'
9082
9445
 
9083
9446
{ echo "$as_me:$LINENO: checking if $compiler PIC flag $lt_prog_compiler_pic works" >&5
9084
9447
echo $ECHO_N "checking if $compiler PIC flag $lt_prog_compiler_pic works... $ECHO_C" >&6; }
9085
 
if test "${lt_prog_compiler_pic_works+set}" = set; then
 
9448
if test "${lt_cv_prog_compiler_pic_works+set}" = set; then
9086
9449
  echo $ECHO_N "(cached) $ECHO_C" >&6
9087
9450
else
9088
 
  lt_prog_compiler_pic_works=no
 
9451
  lt_cv_prog_compiler_pic_works=no
9089
9452
  ac_outfile=conftest.$ac_objext
9090
 
   printf "$lt_simple_compile_test_code" > conftest.$ac_ext
 
9453
   echo "$lt_simple_compile_test_code" > conftest.$ac_ext
9091
9454
   lt_compiler_flag="$lt_prog_compiler_pic -DPIC"
9092
9455
   # Insert the option either (1) after the last *FLAGS variable, or
9093
9456
   # (2) before a word containing "conftest.", or (3) at the end.
9098
9461
   -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
9099
9462
   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
9100
9463
   -e 's:$: $lt_compiler_flag:'`
9101
 
   (eval echo "\"\$as_me:9101: $lt_compile\"" >&5)
 
9464
   (eval echo "\"\$as_me:9464: $lt_compile\"" >&5)
9102
9465
   (eval "$lt_compile" 2>conftest.err)
9103
9466
   ac_status=$?
9104
9467
   cat conftest.err >&5
9105
 
   echo "$as_me:9105: \$? = $ac_status" >&5
 
9468
   echo "$as_me:9468: \$? = $ac_status" >&5
9106
9469
   if (exit $ac_status) && test -s "$ac_outfile"; then
9107
9470
     # The compiler can only warn and ignore the option if not recognized
9108
9471
     # So say no if there are warnings other than the usual output.
9109
9472
     $echo "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' >conftest.exp
9110
9473
     $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
9111
9474
     if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
9112
 
       lt_prog_compiler_pic_works=yes
 
9475
       lt_cv_prog_compiler_pic_works=yes
9113
9476
     fi
9114
9477
   fi
9115
9478
   $rm conftest*
9116
9479
 
9117
9480
fi
9118
 
{ echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_works" >&5
9119
 
echo "${ECHO_T}$lt_prog_compiler_pic_works" >&6; }
 
9481
{ echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_pic_works" >&5
 
9482
echo "${ECHO_T}$lt_cv_prog_compiler_pic_works" >&6; }
9120
9483
 
9121
 
if test x"$lt_prog_compiler_pic_works" = xyes; then
 
9484
if test x"$lt_cv_prog_compiler_pic_works" = xyes; then
9122
9485
    case $lt_prog_compiler_pic in
9123
9486
     "" | " "*) ;;
9124
9487
     *) lt_prog_compiler_pic=" $lt_prog_compiler_pic" ;;
9145
9508
wl=$lt_prog_compiler_wl eval lt_tmp_static_flag=\"$lt_prog_compiler_static\"
9146
9509
{ echo "$as_me:$LINENO: checking if $compiler static flag $lt_tmp_static_flag works" >&5
9147
9510
echo $ECHO_N "checking if $compiler static flag $lt_tmp_static_flag works... $ECHO_C" >&6; }
9148
 
if test "${lt_prog_compiler_static_works+set}" = set; then
 
9511
if test "${lt_cv_prog_compiler_static_works+set}" = set; then
9149
9512
  echo $ECHO_N "(cached) $ECHO_C" >&6
9150
9513
else
9151
 
  lt_prog_compiler_static_works=no
 
9514
  lt_cv_prog_compiler_static_works=no
9152
9515
   save_LDFLAGS="$LDFLAGS"
9153
9516
   LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
9154
 
   printf "$lt_simple_link_test_code" > conftest.$ac_ext
 
9517
   echo "$lt_simple_link_test_code" > conftest.$ac_ext
9155
9518
   if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
9156
9519
     # The linker can only warn and ignore the option if not recognized
9157
9520
     # So say no if there are warnings
9161
9524
       $echo "X$_lt_linker_boilerplate" | $Xsed -e '/^$/d' > conftest.exp
9162
9525
       $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
9163
9526
       if diff conftest.exp conftest.er2 >/dev/null; then
9164
 
         lt_prog_compiler_static_works=yes
 
9527
         lt_cv_prog_compiler_static_works=yes
9165
9528
       fi
9166
9529
     else
9167
 
       lt_prog_compiler_static_works=yes
 
9530
       lt_cv_prog_compiler_static_works=yes
9168
9531
     fi
9169
9532
   fi
9170
 
   $rm conftest*
 
9533
   $rm -r conftest*
9171
9534
   LDFLAGS="$save_LDFLAGS"
9172
9535
 
9173
9536
fi
9174
 
{ echo "$as_me:$LINENO: result: $lt_prog_compiler_static_works" >&5
9175
 
echo "${ECHO_T}$lt_prog_compiler_static_works" >&6; }
 
9537
{ echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_static_works" >&5
 
9538
echo "${ECHO_T}$lt_cv_prog_compiler_static_works" >&6; }
9176
9539
 
9177
 
if test x"$lt_prog_compiler_static_works" = xyes; then
 
9540
if test x"$lt_cv_prog_compiler_static_works" = xyes; then
9178
9541
    :
9179
9542
else
9180
9543
    lt_prog_compiler_static=
9191
9554
   mkdir conftest
9192
9555
   cd conftest
9193
9556
   mkdir out
9194
 
   printf "$lt_simple_compile_test_code" > conftest.$ac_ext
 
9557
   echo "$lt_simple_compile_test_code" > conftest.$ac_ext
9195
9558
 
9196
9559
   lt_compiler_flag="-o out/conftest2.$ac_objext"
9197
9560
   # Insert the option either (1) after the last *FLAGS variable, or
9202
9565
   -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
9203
9566
   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
9204
9567
   -e 's:$: $lt_compiler_flag:'`
9205
 
   (eval echo "\"\$as_me:9205: $lt_compile\"" >&5)
 
9568
   (eval echo "\"\$as_me:9568: $lt_compile\"" >&5)
9206
9569
   (eval "$lt_compile" 2>out/conftest.err)
9207
9570
   ac_status=$?
9208
9571
   cat out/conftest.err >&5
9209
 
   echo "$as_me:9209: \$? = $ac_status" >&5
 
9572
   echo "$as_me:9572: \$? = $ac_status" >&5
9210
9573
   if (exit $ac_status) && test -s out/conftest2.$ac_objext
9211
9574
   then
9212
9575
     # The compiler can only warn and ignore the option if not recognized
9286
9649
  # it will be wrapped by ` (' and `)$', so one must not match beginning or
9287
9650
  # end of line.  Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
9288
9651
  # as well as any symbol that contains `d'.
9289
 
  exclude_expsyms="_GLOBAL_OFFSET_TABLE_"
 
9652
  exclude_expsyms='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
9290
9653
  # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
9291
9654
  # platforms (ab)use it in PIC code, but their linkers get confused if
9292
9655
  # the symbol is explicitly referenced.  Since portable code cannot
9293
9656
  # rely on this symbol name, it's probably fine to never include it in
9294
9657
  # preloaded symbol tables.
 
9658
  # Exclude shared library initialization/finalization symbols.
9295
9659
  extract_expsyms_cmds=
9296
9660
  # Just being paranoid about ensuring that cc_basename is set.
9297
9661
  for cc_temp in $compiler""; do
9350
9714
 
9351
9715
    # See if GNU ld supports shared libraries.
9352
9716
    case $host_os in
9353
 
    aix3* | aix4* | aix5*)
 
9717
    aix[3-9]*)
9354
9718
      # On AIX/PPC, the GNU linker is very broken
9355
9719
      if test "$host_cpu" != ia64; then
9356
9720
        ld_shlibs=no
9398
9762
      allow_undefined_flag=unsupported
9399
9763
      always_export_symbols=no
9400
9764
      enable_shared_with_static_runtimes=yes
9401
 
      export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS] /s/.* \([^ ]*\)/\1 DATA/'\'' | $SED -e '\''/^[AITW] /s/.* //'\'' | sort | uniq > $export_symbols'
 
9765
      export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1 DATA/'\'' -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols'
9402
9766
 
9403
9767
      if $LD --help 2>&1 | grep 'auto-import' > /dev/null; then
9404
9768
        archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
9416
9780
      fi
9417
9781
      ;;
9418
9782
 
9419
 
    interix3*)
 
9783
    interix[3-9]*)
9420
9784
      hardcode_direct=no
9421
9785
      hardcode_shlibpath_var=no
9422
9786
      hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
9431
9795
      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'
9432
9796
      ;;
9433
9797
 
9434
 
    linux*)
 
9798
    gnu* | linux* | k*bsd*-gnu)
9435
9799
      if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
9436
9800
        tmp_addflag=
9437
9801
        case $cc_basename,$host_cpu in
9449
9813
        ifc* | ifort*)                  # Intel Fortran compiler
9450
9814
          tmp_addflag=' -nofor_main' ;;
9451
9815
        esac
9452
 
        archive_cmds='$CC -shared'"$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
 
9816
        case `$CC -V 2>&1 | sed 5q` in
 
9817
        *Sun\ C*)                       # Sun C 5.9
 
9818
          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'
 
9819
          tmp_sharedflag='-G' ;;
 
9820
        *Sun\ F*)                       # Sun Fortran 8.3
 
9821
          tmp_sharedflag='-G' ;;
 
9822
        *)
 
9823
          tmp_sharedflag='-shared' ;;
 
9824
        esac
 
9825
        archive_cmds='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9453
9826
 
9454
9827
        if test $supports_anon_versioning = yes; then
9455
9828
          archive_expsym_cmds='$echo "{ global:" > $output_objdir/$libname.ver~
9456
9829
  cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
9457
9830
  $echo "local: *; };" >> $output_objdir/$libname.ver~
9458
 
          $CC -shared'"$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
 
9831
          $CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
9459
9832
        fi
 
9833
        link_all_deplibs=no
9460
9834
      else
9461
9835
        ld_shlibs=no
9462
9836
      fi
9463
9837
      ;;
9464
9838
 
9465
 
    netbsd*)
 
9839
    netbsd* | netbsdelf*-gnu)
9466
9840
      if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
9467
9841
        archive_cmds='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
9468
9842
        wlarc=
9560
9934
      fi
9561
9935
      ;;
9562
9936
 
9563
 
    aix4* | aix5*)
 
9937
    aix[4-9]*)
9564
9938
      if test "$host_cpu" = ia64; then
9565
9939
        # On IA64, the linker does run time linking by default, so we don't
9566
9940
        # have to do anything special.
9580
9954
        # Test if we are trying to use run time linking or normal
9581
9955
        # AIX style linking. If -brtl is somewhere in LDFLAGS, we
9582
9956
        # need to do runtime linking.
9583
 
        case $host_os in aix4.[23]|aix4.[23].*|aix5*)
 
9957
        case $host_os in aix4.[23]|aix4.[23].*|aix[5-9]*)
9584
9958
          for ld_flag in $LDFLAGS; do
9585
9959
          if (test $ld_flag = "-brtl" || test $ld_flag = "-Wl,-brtl"); then
9586
9960
            aix_use_runtimelinking=yes
9614
9988
           strings "$collect2name" | grep resolve_lib_name >/dev/null
9615
9989
          then
9616
9990
          # We have reworked collect2
9617
 
          hardcode_direct=yes
 
9991
          :
9618
9992
          else
9619
9993
          # We have old collect2
9620
9994
          hardcode_direct=unsupported
9688
10062
       } && test -s conftest$ac_exeext &&
9689
10063
       $as_test_x conftest$ac_exeext; then
9690
10064
 
9691
 
aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0  *\(.*\)$/\1/; p; }
9692
 
}'`
 
10065
lt_aix_libpath_sed='
 
10066
    /Import File Strings/,/^$/ {
 
10067
        /^0/ {
 
10068
            s/^0  *\(.*\)$/\1/
 
10069
            p
 
10070
        }
 
10071
    }'
 
10072
aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9693
10073
# Check for a 64-bit object if we didn't find anything.
9694
 
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; }
9695
 
}'`; fi
 
10074
if test -z "$aix_libpath"; then
 
10075
  aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
 
10076
fi
9696
10077
else
9697
10078
  echo "$as_me: failed program was:" >&5
9698
10079
sed 's/^/| /' conftest.$ac_ext >&5
9747
10128
       } && test -s conftest$ac_exeext &&
9748
10129
       $as_test_x conftest$ac_exeext; then
9749
10130
 
9750
 
aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0  *\(.*\)$/\1/; p; }
9751
 
}'`
 
10131
lt_aix_libpath_sed='
 
10132
    /Import File Strings/,/^$/ {
 
10133
        /^0/ {
 
10134
            s/^0  *\(.*\)$/\1/
 
10135
            p
 
10136
        }
 
10137
    }'
 
10138
aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9752
10139
# Check for a 64-bit object if we didn't find anything.
9753
 
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; }
9754
 
}'`; fi
 
10140
if test -z "$aix_libpath"; then
 
10141
  aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
 
10142
fi
9755
10143
else
9756
10144
  echo "$as_me: failed program was:" >&5
9757
10145
sed 's/^/| /' conftest.$ac_ext >&5
9805
10193
      # The linker will automatically build a .lib file if we build a DLL.
9806
10194
      old_archive_From_new_cmds='true'
9807
10195
      # FIXME: Should let the user specify the lib program.
9808
 
      old_archive_cmds='lib /OUT:$oldlib$oldobjs$old_deplibs'
 
10196
      old_archive_cmds='lib -OUT:$oldlib$oldobjs$old_deplibs'
9809
10197
      fix_srcfile_path='`cygpath -w "$srcfile"`'
9810
10198
      enable_shared_with_static_runtimes=yes
9811
10199
      ;;
9838
10226
      link_all_deplibs=yes
9839
10227
    if test "$GCC" = yes ; then
9840
10228
        output_verbose_link_cmd='echo'
9841
 
        archive_cmds='$CC -dynamiclib $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags -install_name $rpath/$soname $verstring'
9842
 
      module_cmds='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
9843
 
      # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin lds
9844
 
      archive_expsym_cmds='sed -e "s,#.*,," -e "s,^[    ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC -dynamiclib $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags -install_name $rpath/$soname $verstring~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
9845
 
      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}'
 
10229
        archive_cmds="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod${_lt_dsymutil}"
 
10230
        module_cmds="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}"
 
10231
        archive_expsym_cmds="sed 's,^,_,' < \$export_symbols > \$output_objdir/\${libname}-symbols.expsym~\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring ${_lt_dar_single_mod}${_lt_dar_export_syms}${_lt_dsymutil}"
 
10232
        module_expsym_cmds="sed -e 's,^,_,' < \$export_symbols > \$output_objdir/\${libname}-symbols.expsym~\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dar_export_syms}${_lt_dsymutil}"
9846
10233
    else
9847
10234
      case $cc_basename in
9848
10235
        xlc*)
9849
10236
         output_verbose_link_cmd='echo'
9850
 
         archive_cmds='$CC -qmkshrobj $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-install_name ${wl}`echo $rpath/$soname` $verstring'
 
10237
         archive_cmds='$CC -qmkshrobj $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-install_name ${wl}`echo $rpath/$soname` $xlcverstring'
9851
10238
         module_cmds='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
9852
10239
          # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin lds
9853
 
         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}'
 
10240
         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}'
9854
10241
          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}'
9855
10242
          ;;
9856
10243
       *)
9890
10277
      ;;
9891
10278
 
9892
10279
    # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
9893
 
    freebsd* | kfreebsd*-gnu | dragonfly*)
 
10280
    freebsd* | dragonfly*)
9894
10281
      archive_cmds='$CC -shared -o $lib $libobjs $deplibs $compiler_flags'
9895
10282
      hardcode_libdir_flag_spec='-R$libdir'
9896
10283
      hardcode_direct=yes
9992
10379
      link_all_deplibs=yes
9993
10380
      ;;
9994
10381
 
9995
 
    netbsd*)
 
10382
    netbsd* | netbsdelf*-gnu)
9996
10383
      if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
9997
10384
        archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'  # a.out
9998
10385
      else
10012
10399
      ;;
10013
10400
 
10014
10401
    openbsd*)
10015
 
      hardcode_direct=yes
10016
 
      hardcode_shlibpath_var=no
10017
 
      if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
10018
 
        archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
10019
 
        archive_expsym_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols'
10020
 
        hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
10021
 
        export_dynamic_flag_spec='${wl}-E'
 
10402
      if test -f /usr/libexec/ld.so; then
 
10403
        hardcode_direct=yes
 
10404
        hardcode_shlibpath_var=no
 
10405
        if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
 
10406
          archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
 
10407
          archive_expsym_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols'
 
10408
          hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
 
10409
          export_dynamic_flag_spec='${wl}-E'
 
10410
        else
 
10411
          case $host_os in
 
10412
           openbsd[01].* | openbsd2.[0-7] | openbsd2.[0-7].*)
 
10413
             archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
 
10414
             hardcode_libdir_flag_spec='-R$libdir'
 
10415
             ;;
 
10416
           *)
 
10417
             archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
 
10418
             hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
 
10419
             ;;
 
10420
          esac
 
10421
        fi
10022
10422
      else
10023
 
       case $host_os in
10024
 
         openbsd[01].* | openbsd2.[0-7] | openbsd2.[0-7].*)
10025
 
           archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
10026
 
           hardcode_libdir_flag_spec='-R$libdir'
10027
 
           ;;
10028
 
         *)
10029
 
           archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
10030
 
           hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
10031
 
           ;;
10032
 
       esac
 
10423
        ld_shlibs=no
10033
10424
      fi
10034
10425
      ;;
10035
10426
 
10088
10479
      case $host_os in
10089
10480
      solaris2.[0-5] | solaris2.[0-5].*) ;;
10090
10481
      *)
10091
 
        # The compiler driver will combine linker options so we
10092
 
        # cannot just pass the convience library names through
10093
 
        # without $wl, iff we do not link with $LD.
10094
 
        # Luckily, gcc supports the same syntax we need for Sun Studio.
 
10482
        # The compiler driver will combine and reorder linker options,
 
10483
        # but understands `-z linker_flag'.  GCC discards it without `$wl',
 
10484
        # but is careful enough not to reorder.
10095
10485
        # Supported since Solaris 2.6 (maybe 2.5.1?)
10096
 
        case $wlarc in
10097
 
        '')
10098
 
          whole_archive_flag_spec='-z allextract$convenience -z defaultextract' ;;
10099
 
        *)
10100
 
          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' ;;
10101
 
        esac ;;
 
10486
        if test "$GCC" = yes; then
 
10487
          whole_archive_flag_spec='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
 
10488
        else
 
10489
          whole_archive_flag_spec='-z allextract$convenience -z defaultextract'
 
10490
        fi
 
10491
        ;;
10102
10492
      esac
10103
10493
      link_all_deplibs=yes
10104
10494
      ;;
10155
10545
      fi
10156
10546
      ;;
10157
10547
 
10158
 
    sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7*)
 
10548
    sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7* | sco3.2v5.0.[024]*)
10159
10549
      no_undefined_flag='${wl}-z,text'
10160
10550
      archive_cmds_need_lc=no
10161
10551
      hardcode_shlibpath_var=no
10232
10622
      { echo "$as_me:$LINENO: checking whether -lc should be explicitly linked in" >&5
10233
10623
echo $ECHO_N "checking whether -lc should be explicitly linked in... $ECHO_C" >&6; }
10234
10624
      $rm conftest*
10235
 
      printf "$lt_simple_compile_test_code" > conftest.$ac_ext
 
10625
      echo "$lt_simple_compile_test_code" > conftest.$ac_ext
10236
10626
 
10237
10627
      if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
10238
10628
  (eval $ac_compile) 2>&5
10290
10680
version_type=none
10291
10681
dynamic_linker="$host_os ld.so"
10292
10682
sys_lib_dlsearch_path_spec="/lib /usr/lib"
 
10683
 
10293
10684
if test "$GCC" = yes; then
10294
 
  sys_lib_search_path_spec=`$CC -print-search-dirs | grep "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
10295
 
  if echo "$sys_lib_search_path_spec" | grep ';' >/dev/null ; then
 
10685
  case $host_os in
 
10686
    darwin*) lt_awk_arg="/^libraries:/,/LR/" ;;
 
10687
    *) lt_awk_arg="/^libraries:/" ;;
 
10688
  esac
 
10689
  lt_search_path_spec=`$CC -print-search-dirs | awk $lt_awk_arg | $SED -e "s/^libraries://" -e "s,=/,/,g"`
 
10690
  if echo "$lt_search_path_spec" | grep ';' >/dev/null ; then
10296
10691
    # if the path contains ";" then we assume it to be the separator
10297
10692
    # otherwise default to the standard path separator (i.e. ":") - it is
10298
10693
    # assumed that no part of a normal pathname contains ";" but that should
10299
10694
    # okay in the real world where ";" in dirpaths is itself problematic.
10300
 
    sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
 
10695
    lt_search_path_spec=`echo "$lt_search_path_spec" | $SED -e 's/;/ /g'`
10301
10696
  else
10302
 
    sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED  -e "s/$PATH_SEPARATOR/ /g"`
 
10697
    lt_search_path_spec=`echo "$lt_search_path_spec" | $SED  -e "s/$PATH_SEPARATOR/ /g"`
10303
10698
  fi
 
10699
  # Ok, now we have the path, separated by spaces, we can step through it
 
10700
  # and add multilib dir if necessary.
 
10701
  lt_tmp_lt_search_path_spec=
 
10702
  lt_multi_os_dir=`$CC $CPPFLAGS $CFLAGS $LDFLAGS -print-multi-os-directory 2>/dev/null`
 
10703
  for lt_sys_path in $lt_search_path_spec; do
 
10704
    if test -d "$lt_sys_path/$lt_multi_os_dir"; then
 
10705
      lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path/$lt_multi_os_dir"
 
10706
    else
 
10707
      test -d "$lt_sys_path" && \
 
10708
        lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path"
 
10709
    fi
 
10710
  done
 
10711
  lt_search_path_spec=`echo $lt_tmp_lt_search_path_spec | awk '
 
10712
BEGIN {RS=" "; FS="/|\n";} {
 
10713
  lt_foo="";
 
10714
  lt_count=0;
 
10715
  for (lt_i = NF; lt_i > 0; lt_i--) {
 
10716
    if ($lt_i != "" && $lt_i != ".") {
 
10717
      if ($lt_i == "..") {
 
10718
        lt_count++;
 
10719
      } else {
 
10720
        if (lt_count == 0) {
 
10721
          lt_foo="/" $lt_i lt_foo;
 
10722
        } else {
 
10723
          lt_count--;
 
10724
        }
 
10725
      }
 
10726
    }
 
10727
  }
 
10728
  if (lt_foo != "") { lt_freq[lt_foo]++; }
 
10729
  if (lt_freq[lt_foo] == 1) { print lt_foo; }
 
10730
}'`
 
10731
  sys_lib_search_path_spec=`echo $lt_search_path_spec`
10304
10732
else
10305
10733
  sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"
10306
10734
fi
10321
10749
  soname_spec='${libname}${release}${shared_ext}$major'
10322
10750
  ;;
10323
10751
 
10324
 
aix4* | aix5*)
 
10752
aix[4-9]*)
10325
10753
  version_type=linux
10326
10754
  need_lib_prefix=no
10327
10755
  need_version=no
10460
10888
  shlibpath_overrides_runpath=yes
10461
10889
  shlibpath_var=DYLD_LIBRARY_PATH
10462
10890
  shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`'
10463
 
  # Apple's gcc prints 'gcc -print-search-dirs' doesn't operate the same.
10464
 
  if test "$GCC" = yes; then
10465
 
    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"`
10466
 
  else
10467
 
    sys_lib_search_path_spec='/lib /usr/lib /usr/local/lib'
10468
 
  fi
 
10891
 
 
10892
  sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/local/lib"
10469
10893
  sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
10470
10894
  ;;
10471
10895
 
10482
10906
  dynamic_linker=no
10483
10907
  ;;
10484
10908
 
10485
 
kfreebsd*-gnu)
10486
 
  version_type=linux
10487
 
  need_lib_prefix=no
10488
 
  need_version=no
10489
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
10490
 
  soname_spec='${libname}${release}${shared_ext}$major'
10491
 
  shlibpath_var=LD_LIBRARY_PATH
10492
 
  shlibpath_overrides_runpath=no
10493
 
  hardcode_into_libs=yes
10494
 
  dynamic_linker='GNU ld.so'
10495
 
  ;;
10496
 
 
10497
10909
freebsd* | dragonfly*)
10498
10910
  # DragonFly does not have aout.  When/if they implement a new
10499
10911
  # versioning mechanism, adjust this.
10531
10943
    shlibpath_overrides_runpath=no
10532
10944
    hardcode_into_libs=yes
10533
10945
    ;;
10534
 
  freebsd*) # from 4.6 on
 
10946
  *) # from 4.6 on, and DragonFly
10535
10947
    shlibpath_overrides_runpath=yes
10536
10948
    hardcode_into_libs=yes
10537
10949
    ;;
10594
11006
  postinstall_cmds='chmod 555 $lib'
10595
11007
  ;;
10596
11008
 
10597
 
interix3*)
 
11009
interix[3-9]*)
10598
11010
  version_type=linux
10599
11011
  need_lib_prefix=no
10600
11012
  need_version=no
10649
11061
  ;;
10650
11062
 
10651
11063
# This must be Linux ELF.
10652
 
linux*)
 
11064
linux* | k*bsd*-gnu)
10653
11065
  version_type=linux
10654
11066
  need_lib_prefix=no
10655
11067
  need_version=no
10663
11075
  # before this can be enabled.
10664
11076
  hardcode_into_libs=yes
10665
11077
 
10666
 
  # find out which ABI we are using
10667
 
  libsuff=
10668
 
  case "$host_cpu" in
10669
 
  x86_64*|s390x*|powerpc64*)
10670
 
    echo '#line 10670 "configure"' > conftest.$ac_ext
10671
 
    if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
10672
 
  (eval $ac_compile) 2>&5
10673
 
  ac_status=$?
10674
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
10675
 
  (exit $ac_status); }; then
10676
 
      case `/usr/bin/file conftest.$ac_objext` in
10677
 
      *64-bit*)
10678
 
        libsuff=64
10679
 
        sys_lib_search_path_spec="/lib${libsuff} /usr/lib${libsuff} /usr/local/lib${libsuff}"
10680
 
        ;;
10681
 
      esac
10682
 
    fi
10683
 
    rm -rf conftest*
10684
 
    ;;
10685
 
  esac
10686
 
 
10687
11078
  # Append ld.so.conf contents to the search path
10688
11079
  if test -f /etc/ld.so.conf; then
10689
 
    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' ' '`
10690
 
    sys_lib_dlsearch_path_spec="/lib${libsuff} /usr/lib${libsuff} $lt_ld_extra"
 
11080
    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' ' '`
 
11081
    sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra"
10691
11082
  fi
10692
11083
 
10693
11084
  # We used to test for /lib/ld.so.1 and disable shared libraries on
10699
11090
  dynamic_linker='GNU/Linux ld.so'
10700
11091
  ;;
10701
11092
 
10702
 
knetbsd*-gnu)
 
11093
netbsdelf*-gnu)
10703
11094
  version_type=linux
10704
11095
  need_lib_prefix=no
10705
11096
  need_version=no
10708
11099
  shlibpath_var=LD_LIBRARY_PATH
10709
11100
  shlibpath_overrides_runpath=no
10710
11101
  hardcode_into_libs=yes
10711
 
  dynamic_linker='GNU ld.so'
 
11102
  dynamic_linker='NetBSD ld.elf_so'
10712
11103
  ;;
10713
11104
 
10714
11105
netbsd*)
10792
11183
  sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec"
10793
11184
  ;;
10794
11185
 
 
11186
rdos*)
 
11187
  dynamic_linker=no
 
11188
  ;;
 
11189
 
10795
11190
solaris*)
10796
11191
  version_type=linux
10797
11192
  need_lib_prefix=no
10888
11283
echo "${ECHO_T}$dynamic_linker" >&6; }
10889
11284
test "$dynamic_linker" = no && can_build_shared=no
10890
11285
 
 
11286
if test "${lt_cv_sys_lib_search_path_spec+set}" = set; then
 
11287
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
11288
else
 
11289
  lt_cv_sys_lib_search_path_spec="$sys_lib_search_path_spec"
 
11290
fi
 
11291
 
 
11292
sys_lib_search_path_spec="$lt_cv_sys_lib_search_path_spec"
 
11293
if test "${lt_cv_sys_lib_dlsearch_path_spec+set}" = set; then
 
11294
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
11295
else
 
11296
  lt_cv_sys_lib_dlsearch_path_spec="$sys_lib_dlsearch_path_spec"
 
11297
fi
 
11298
 
 
11299
sys_lib_dlsearch_path_spec="$lt_cv_sys_lib_dlsearch_path_spec"
 
11300
 
10891
11301
variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
10892
11302
if test "$GCC" = yes; then
10893
11303
  variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
10945
11355
   darwin*)
10946
11356
       if test -n "$STRIP" ; then
10947
11357
         striplib="$STRIP -x"
 
11358
         old_striplib="$STRIP -S"
10948
11359
         { echo "$as_me:$LINENO: result: yes" >&5
10949
11360
echo "${ECHO_T}yes" >&6; }
10950
11361
       else
11206
11617
{ echo "$as_me:$LINENO: result: $ac_cv_lib_dld_shl_load" >&5
11207
11618
echo "${ECHO_T}$ac_cv_lib_dld_shl_load" >&6; }
11208
11619
if test $ac_cv_lib_dld_shl_load = yes; then
11209
 
  lt_cv_dlopen="shl_load" lt_cv_dlopen_libs="-dld"
 
11620
  lt_cv_dlopen="shl_load" lt_cv_dlopen_libs="-ldld"
11210
11621
else
11211
11622
  { echo "$as_me:$LINENO: checking for dlopen" >&5
11212
11623
echo $ECHO_N "checking for dlopen... $ECHO_C" >&6; }
11482
11893
{ echo "$as_me:$LINENO: result: $ac_cv_lib_dld_dld_link" >&5
11483
11894
echo "${ECHO_T}$ac_cv_lib_dld_dld_link" >&6; }
11484
11895
if test $ac_cv_lib_dld_dld_link = yes; then
11485
 
  lt_cv_dlopen="dld_link" lt_cv_dlopen_libs="-dld"
 
11896
  lt_cv_dlopen="dld_link" lt_cv_dlopen_libs="-ldld"
11486
11897
fi
11487
11898
 
11488
11899
 
11531
11942
  lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
11532
11943
  lt_status=$lt_dlunknown
11533
11944
  cat > conftest.$ac_ext <<EOF
11534
 
#line 11534 "configure"
 
11945
#line 11945 "configure"
11535
11946
#include "confdefs.h"
11536
11947
 
11537
11948
#if HAVE_DLFCN_H
11631
12042
  lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
11632
12043
  lt_status=$lt_dlunknown
11633
12044
  cat > conftest.$ac_ext <<EOF
11634
 
#line 11634 "configure"
 
12045
#line 12045 "configure"
11635
12046
#include "confdefs.h"
11636
12047
 
11637
12048
#if HAVE_DLFCN_H
11758
12169
  fi
11759
12170
  ;;
11760
12171
 
11761
 
aix4* | aix5*)
 
12172
aix[4-9]*)
11762
12173
  if test "$host_cpu" != ia64 && test "$aix_use_runtimelinking" = no ; then
11763
12174
    test "$enable_shared" = yes && enable_static=no
11764
12175
  fi
11814
12225
    predeps \
11815
12226
    postdeps \
11816
12227
    compiler_lib_search_path \
 
12228
    compiler_lib_search_dirs \
11817
12229
    archive_cmds \
11818
12230
    archive_expsym_cmds \
11819
12231
    postinstall_cmds \
11829
12241
    module_cmds \
11830
12242
    module_expsym_cmds \
11831
12243
    lt_cv_prog_compiler_c_o \
 
12244
    fix_srcfile_path \
11832
12245
    exclude_expsyms \
11833
12246
    include_expsyms; do
11834
12247
 
11873
12286
# Generated automatically by $PROGRAM (GNU $PACKAGE $VERSION$TIMESTAMP)
11874
12287
# NOTE: Changes made to this file will be lost: look at ltmain.sh.
11875
12288
#
11876
 
# Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001
 
12289
# Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004, 2005, 2006, 2007, 2008
11877
12290
# Free Software Foundation, Inc.
11878
12291
#
11879
12292
# This file is part of GNU Libtool:
12109
12522
# shared library.
12110
12523
postdeps=$lt_postdeps
12111
12524
 
 
12525
# The directories searched by this compiler when creating a shared
 
12526
# library
 
12527
compiler_lib_search_dirs=$lt_compiler_lib_search_dirs
 
12528
 
12112
12529
# The library search path used internally by the compiler when linking
12113
12530
# a shared library.
12114
12531
compiler_lib_search_path=$lt_compiler_lib_search_path
12197
12614
sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
12198
12615
 
12199
12616
# Fix the shell variable \$srcfile for the compiler.
12200
 
fix_srcfile_path="$fix_srcfile_path"
 
12617
fix_srcfile_path=$lt_fix_srcfile_path
12201
12618
 
12202
12619
# Set to yes if exported symbols are required.
12203
12620
always_export_symbols=$always_export_symbols
12357
12774
predeps_CXX=
12358
12775
postdeps_CXX=
12359
12776
compiler_lib_search_path_CXX=
 
12777
compiler_lib_search_dirs_CXX=
12360
12778
 
12361
12779
# Source file extension for C++ test sources.
12362
12780
ac_ext=cpp
12366
12784
objext_CXX=$objext
12367
12785
 
12368
12786
# Code to be used in simple compile tests
12369
 
lt_simple_compile_test_code="int some_variable = 0;\n"
 
12787
lt_simple_compile_test_code="int some_variable = 0;"
12370
12788
 
12371
12789
# Code to be used in simple link tests
12372
 
lt_simple_link_test_code='int main(int, char *[]) { return(0); }\n'
 
12790
lt_simple_link_test_code='int main(int, char *[]) { return(0); }'
12373
12791
 
12374
12792
# ltmain only uses $CC for tagged configurations so make sure $CC is set.
12375
12793
 
12385
12803
 
12386
12804
# save warnings/boilerplate of simple test code
12387
12805
ac_outfile=conftest.$ac_objext
12388
 
printf "$lt_simple_compile_test_code" >conftest.$ac_ext
 
12806
echo "$lt_simple_compile_test_code" >conftest.$ac_ext
12389
12807
eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
12390
12808
_lt_compiler_boilerplate=`cat conftest.err`
12391
12809
$rm conftest*
12392
12810
 
12393
12811
ac_outfile=conftest.$ac_objext
12394
 
printf "$lt_simple_link_test_code" >conftest.$ac_ext
 
12812
echo "$lt_simple_link_test_code" >conftest.$ac_ext
12395
12813
eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
12396
12814
_lt_linker_boilerplate=`cat conftest.err`
12397
 
$rm conftest*
 
12815
$rm -r conftest*
12398
12816
 
12399
12817
 
12400
12818
# Allow CC to be a program name with arguments.
12601
13019
    # FIXME: insert proper C++ library support
12602
13020
    ld_shlibs_CXX=no
12603
13021
    ;;
12604
 
  aix4* | aix5*)
 
13022
  aix[4-9]*)
12605
13023
    if test "$host_cpu" = ia64; then
12606
13024
      # On IA64, the linker does run time linking by default, so we don't
12607
13025
      # have to do anything special.
12614
13032
      # Test if we are trying to use run time linking or normal
12615
13033
      # AIX style linking. If -brtl is somewhere in LDFLAGS, we
12616
13034
      # need to do runtime linking.
12617
 
      case $host_os in aix4.[23]|aix4.[23].*|aix5*)
 
13035
      case $host_os in aix4.[23]|aix4.[23].*|aix[5-9]*)
12618
13036
        for ld_flag in $LDFLAGS; do
12619
13037
          case $ld_flag in
12620
13038
          *-brtl*)
12650
13068
           strings "$collect2name" | grep resolve_lib_name >/dev/null
12651
13069
        then
12652
13070
          # We have reworked collect2
12653
 
          hardcode_direct_CXX=yes
 
13071
          :
12654
13072
        else
12655
13073
          # We have old collect2
12656
13074
          hardcode_direct_CXX=unsupported
12724
13142
       } && test -s conftest$ac_exeext &&
12725
13143
       $as_test_x conftest$ac_exeext; then
12726
13144
 
12727
 
aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0  *\(.*\)$/\1/; p; }
12728
 
}'`
 
13145
lt_aix_libpath_sed='
 
13146
    /Import File Strings/,/^$/ {
 
13147
        /^0/ {
 
13148
            s/^0  *\(.*\)$/\1/
 
13149
            p
 
13150
        }
 
13151
    }'
 
13152
aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
12729
13153
# Check for a 64-bit object if we didn't find anything.
12730
 
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; }
12731
 
}'`; fi
 
13154
if test -z "$aix_libpath"; then
 
13155
  aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
 
13156
fi
12732
13157
else
12733
13158
  echo "$as_me: failed program was:" >&5
12734
13159
sed 's/^/| /' conftest.$ac_ext >&5
12784
13209
       } && test -s conftest$ac_exeext &&
12785
13210
       $as_test_x conftest$ac_exeext; then
12786
13211
 
12787
 
aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0  *\(.*\)$/\1/; p; }
12788
 
}'`
 
13212
lt_aix_libpath_sed='
 
13213
    /Import File Strings/,/^$/ {
 
13214
        /^0/ {
 
13215
            s/^0  *\(.*\)$/\1/
 
13216
            p
 
13217
        }
 
13218
    }'
 
13219
aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
12789
13220
# Check for a 64-bit object if we didn't find anything.
12790
 
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; }
12791
 
}'`; fi
 
13221
if test -z "$aix_libpath"; then
 
13222
  aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
 
13223
fi
12792
13224
else
12793
13225
  echo "$as_me: failed program was:" >&5
12794
13226
sed 's/^/| /' conftest.$ac_ext >&5
12858
13290
    fi
12859
13291
  ;;
12860
13292
      darwin* | rhapsody*)
12861
 
        case $host_os in
12862
 
        rhapsody* | darwin1.[012])
12863
 
         allow_undefined_flag_CXX='${wl}-undefined ${wl}suppress'
12864
 
         ;;
12865
 
       *) # Darwin 1.3 on
12866
 
         if test -z ${MACOSX_DEPLOYMENT_TARGET} ; then
12867
 
           allow_undefined_flag_CXX='${wl}-flat_namespace ${wl}-undefined ${wl}suppress'
12868
 
         else
12869
 
           case ${MACOSX_DEPLOYMENT_TARGET} in
12870
 
             10.[012])
12871
 
               allow_undefined_flag_CXX='${wl}-flat_namespace ${wl}-undefined ${wl}suppress'
12872
 
               ;;
12873
 
             10.*)
12874
 
               allow_undefined_flag_CXX='${wl}-undefined ${wl}dynamic_lookup'
12875
 
               ;;
12876
 
           esac
12877
 
         fi
12878
 
         ;;
12879
 
        esac
12880
13293
      archive_cmds_need_lc_CXX=no
12881
13294
      hardcode_direct_CXX=no
12882
13295
      hardcode_automatic_CXX=yes
12883
13296
      hardcode_shlibpath_var_CXX=unsupported
12884
13297
      whole_archive_flag_spec_CXX=''
12885
13298
      link_all_deplibs_CXX=yes
12886
 
 
12887
 
    if test "$GXX" = yes ; then
12888
 
      lt_int_apple_cc_single_mod=no
 
13299
      allow_undefined_flag_CXX="$_lt_dar_allow_undefined"
 
13300
      if test "$GXX" = yes ; then
12889
13301
      output_verbose_link_cmd='echo'
12890
 
      if $CC -dumpspecs 2>&1 | $EGREP 'single_module' >/dev/null ; then
12891
 
       lt_int_apple_cc_single_mod=yes
 
13302
      archive_cmds_CXX="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod${_lt_dsymutil}"
 
13303
      module_cmds_CXX="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}"
 
13304
      archive_expsym_cmds_CXX="sed 's,^,_,' < \$export_symbols > \$output_objdir/\${libname}-symbols.expsym~\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring ${_lt_dar_single_mod}${_lt_dar_export_syms}${_lt_dsymutil}"
 
13305
      module_expsym_cmds_CXX="sed -e 's,^,_,' < \$export_symbols > \$output_objdir/\${libname}-symbols.expsym~\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dar_export_syms}${_lt_dsymutil}"
 
13306
      if test "$lt_cv_apple_cc_single_mod" != "yes"; then
 
13307
        archive_cmds_CXX="\$CC -r -keep_private_externs -nostdlib -o \${lib}-master.o \$libobjs~\$CC -dynamiclib \$allow_undefined_flag -o \$lib \${lib}-master.o \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring${_lt_dsymutil}"
 
13308
        archive_expsym_cmds_CXX="sed 's,^,_,' < \$export_symbols > \$output_objdir/\${libname}-symbols.expsym~\$CC -r -keep_private_externs -nostdlib -o \${lib}-master.o \$libobjs~\$CC -dynamiclib \$allow_undefined_flag -o \$lib \${lib}-master.o \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring${_lt_dar_export_syms}${_lt_dsymutil}"
12892
13309
      fi
12893
 
      if test "X$lt_int_apple_cc_single_mod" = Xyes ; then
12894
 
       archive_cmds_CXX='$CC -dynamiclib -single_module $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags -install_name $rpath/$soname $verstring'
12895
 
      else
12896
 
          archive_cmds_CXX='$CC -r -keep_private_externs -nostdlib -o ${lib}-master.o $libobjs~$CC -dynamiclib $allow_undefined_flag -o $lib ${lib}-master.o $deplibs $compiler_flags -install_name $rpath/$soname $verstring'
12897
 
        fi
12898
 
        module_cmds_CXX='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
12899
 
        # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin lds
12900
 
          if test "X$lt_int_apple_cc_single_mod" = Xyes ; then
12901
 
            archive_expsym_cmds_CXX='sed -e "s,#.*,," -e "s,^[    ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC -dynamiclib -single_module $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags -install_name $rpath/$soname $verstring~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
12902
 
          else
12903
 
            archive_expsym_cmds_CXX='sed -e "s,#.*,," -e "s,^[    ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC -r -keep_private_externs -nostdlib -o ${lib}-master.o $libobjs~$CC -dynamiclib $allow_undefined_flag -o $lib ${lib}-master.o $deplibs $compiler_flags -install_name $rpath/$soname $verstring~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
12904
 
          fi
12905
 
            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}'
12906
13310
      else
12907
13311
      case $cc_basename in
12908
13312
        xlc*)
12909
13313
         output_verbose_link_cmd='echo'
12910
 
          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'
 
13314
          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'
12911
13315
          module_cmds_CXX='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
12912
13316
          # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin lds
12913
 
          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}'
 
13317
          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}'
12914
13318
          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}'
12915
13319
          ;;
12916
13320
       *)
12944
13348
  freebsd-elf*)
12945
13349
    archive_cmds_need_lc_CXX=no
12946
13350
    ;;
12947
 
  freebsd* | kfreebsd*-gnu | dragonfly*)
 
13351
  freebsd* | dragonfly*)
12948
13352
    # FreeBSD 3 and later use GNU C++ and GNU ld with standard ELF
12949
13353
    # conventions
12950
13354
    ld_shlibs_CXX=yes
12993
13397
      hardcode_libdir_separator_CXX=:
12994
13398
 
12995
13399
      case $host_cpu in
12996
 
      hppa*64*|ia64*)
12997
 
        hardcode_libdir_flag_spec_ld_CXX='+b $libdir'
12998
 
        ;;
 
13400
      hppa*64*|ia64*) ;;
12999
13401
      *)
13000
13402
        export_dynamic_flag_spec_CXX='${wl}-E'
13001
13403
        ;;
13063
13465
        ;;
13064
13466
    esac
13065
13467
    ;;
13066
 
  interix3*)
 
13468
  interix[3-9]*)
13067
13469
    hardcode_direct_CXX=no
13068
13470
    hardcode_shlibpath_var_CXX=no
13069
13471
    hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
13103
13505
    hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
13104
13506
    hardcode_libdir_separator_CXX=:
13105
13507
    ;;
13106
 
  linux*)
 
13508
  linux* | k*bsd*-gnu)
13107
13509
    case $cc_basename in
13108
13510
      KCC*)
13109
13511
        # Kuck and Associates, Inc. (KAI) C++ Compiler
13155
13557
        export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
13156
13558
        whole_archive_flag_spec_CXX='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
13157
13559
        ;;
13158
 
      pgCC*)
 
13560
      pgCC* | pgcpp*)
13159
13561
        # Portland Group C++ compiler
13160
13562
        archive_cmds_CXX='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname -o $lib'
13161
13563
        archive_expsym_cmds_CXX='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname ${wl}-retain-symbols-file ${wl}$export_symbols -o $lib'
13183
13585
        # dependencies.
13184
13586
        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'
13185
13587
        ;;
 
13588
      *)
 
13589
        case `$CC -V 2>&1 | sed 5q` in
 
13590
        *Sun\ C*)
 
13591
          # Sun C++ 5.9
 
13592
          no_undefined_flag_CXX=' -zdefs'
 
13593
          archive_cmds_CXX='$CC -G${allow_undefined_flag} -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
 
13594
          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'
 
13595
          hardcode_libdir_flag_spec_CXX='-R$libdir'
 
13596
          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'
 
13597
 
 
13598
          # Not sure whether something based on
 
13599
          # $CC $CFLAGS -v conftest.$objext -o libconftest$shared_ext 2>&1
 
13600
          # would be better.
 
13601
          output_verbose_link_cmd='echo'
 
13602
 
 
13603
          # Archives containing C++ object files must be created using
 
13604
          # "CC -xar", where "CC" is the Sun C++ compiler.  This is
 
13605
          # necessary to make sure instantiated templates are included
 
13606
          # in the archive.
 
13607
          old_archive_cmds_CXX='$CC -xar -o $oldlib $oldobjs'
 
13608
          ;;
 
13609
        esac
 
13610
        ;;
13186
13611
    esac
13187
13612
    ;;
13188
13613
  lynxos*)
13205
13630
        ;;
13206
13631
    esac
13207
13632
    ;;
13208
 
  netbsd*)
 
13633
  netbsd* | netbsdelf*-gnu)
13209
13634
    if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
13210
13635
      archive_cmds_CXX='$LD -Bshareable  -o $lib $predep_objects $libobjs $deplibs $postdep_objects $linker_flags'
13211
13636
      wlarc=
13221
13646
    ld_shlibs_CXX=no
13222
13647
    ;;
13223
13648
  openbsd*)
13224
 
    hardcode_direct_CXX=yes
13225
 
    hardcode_shlibpath_var_CXX=no
13226
 
    archive_cmds_CXX='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $lib'
13227
 
    hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
13228
 
    if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
13229
 
      archive_expsym_cmds_CXX='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-retain-symbols-file,$export_symbols -o $lib'
13230
 
      export_dynamic_flag_spec_CXX='${wl}-E'
13231
 
      whole_archive_flag_spec_CXX="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
 
13649
    if test -f /usr/libexec/ld.so; then
 
13650
      hardcode_direct_CXX=yes
 
13651
      hardcode_shlibpath_var_CXX=no
 
13652
      archive_cmds_CXX='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $lib'
 
13653
      hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
 
13654
      if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
 
13655
        archive_expsym_cmds_CXX='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-retain-symbols-file,$export_symbols -o $lib'
 
13656
        export_dynamic_flag_spec_CXX='${wl}-E'
 
13657
        whole_archive_flag_spec_CXX="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
 
13658
      fi
 
13659
      output_verbose_link_cmd='echo'
 
13660
    else
 
13661
      ld_shlibs_CXX=no
13232
13662
    fi
13233
 
    output_verbose_link_cmd='echo'
13234
13663
    ;;
13235
13664
  osf3*)
13236
13665
    case $cc_basename in
13392
13821
        case $host_os in
13393
13822
          solaris2.[0-5] | solaris2.[0-5].*) ;;
13394
13823
          *)
13395
 
            # The C++ compiler is used as linker so we must use $wl
13396
 
            # flag to pass the commands to the underlying system
13397
 
            # linker. We must also pass each convience library through
13398
 
            # to the system linker between allextract/defaultextract.
13399
 
            # The C++ compiler will combine linker options so we
13400
 
            # cannot just pass the convience library names through
13401
 
            # without $wl.
 
13824
            # The compiler driver will combine and reorder linker options,
 
13825
            # but understands `-z linker_flag'.
13402
13826
            # Supported since Solaris 2.6 (maybe 2.5.1?)
13403
 
            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'
 
13827
            whole_archive_flag_spec_CXX='-z allextract$convenience -z defaultextract'
13404
13828
            ;;
13405
13829
        esac
13406
13830
        link_all_deplibs_CXX=yes
13447
13871
          fi
13448
13872
 
13449
13873
          hardcode_libdir_flag_spec_CXX='${wl}-R $wl$libdir'
 
13874
          case $host_os in
 
13875
          solaris2.[0-5] | solaris2.[0-5].*) ;;
 
13876
          *)
 
13877
            whole_archive_flag_spec_CXX='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
 
13878
            ;;
 
13879
          esac
13450
13880
        fi
13451
13881
        ;;
13452
13882
    esac
13534
13964
GCC_CXX="$GXX"
13535
13965
LD_CXX="$LD"
13536
13966
 
13537
 
 
13538
13967
cat > conftest.$ac_ext <<EOF
13539
13968
class Foo
13540
13969
{
13636
14065
 
13637
14066
$rm -f confest.$objext
13638
14067
 
 
14068
compiler_lib_search_dirs_CXX=
 
14069
if test -n "$compiler_lib_search_path_CXX"; then
 
14070
  compiler_lib_search_dirs_CXX=`echo " ${compiler_lib_search_path_CXX}" | ${SED} -e 's! -L! !g' -e 's!^ !!'`
 
14071
fi
 
14072
 
13639
14073
# PORTME: override above test on systems where it is broken
13640
14074
case $host_os in
13641
 
interix3*)
 
14075
interix[3-9]*)
13642
14076
  # Interix 3.5 installs completely hosed .la files for C++, so rather than
13643
14077
  # hack all around it, let's just trust "g++" to DTRT.
13644
14078
  predep_objects_CXX=
13646
14080
  postdeps_CXX=
13647
14081
  ;;
13648
14082
 
 
14083
linux*)
 
14084
  case `$CC -V 2>&1 | sed 5q` in
 
14085
  *Sun\ C*)
 
14086
    # Sun C++ 5.9
 
14087
    #
 
14088
    # The more standards-conforming stlport4 library is
 
14089
    # incompatible with the Cstd library. Avoid specifying
 
14090
    # it if it's in CXXFLAGS. Ignore libCrun as
 
14091
    # -library=stlport4 depends on it.
 
14092
    case " $CXX $CXXFLAGS " in
 
14093
    *" -library=stlport4 "*)
 
14094
      solaris_use_stlport4=yes
 
14095
      ;;
 
14096
    esac
 
14097
    if test "$solaris_use_stlport4" != yes; then
 
14098
      postdeps_CXX='-library=Cstd -library=Crun'
 
14099
    fi
 
14100
    ;;
 
14101
  esac
 
14102
  ;;
 
14103
 
13649
14104
solaris*)
13650
14105
  case $cc_basename in
13651
14106
  CC*)
 
14107
    # The more standards-conforming stlport4 library is
 
14108
    # incompatible with the Cstd library. Avoid specifying
 
14109
    # it if it's in CXXFLAGS. Ignore libCrun as
 
14110
    # -library=stlport4 depends on it.
 
14111
    case " $CXX $CXXFLAGS " in
 
14112
    *" -library=stlport4 "*)
 
14113
      solaris_use_stlport4=yes
 
14114
      ;;
 
14115
    esac
 
14116
 
13652
14117
    # Adding this requires a known-good setup of shared libraries for
13653
14118
    # Sun compiler versions before 5.6, else PIC objects from an old
13654
14119
    # archive will be linked into the output, leading to subtle bugs.
13655
 
    postdeps_CXX='-lCstd -lCrun'
 
14120
    if test "$solaris_use_stlport4" != yes; then
 
14121
      postdeps_CXX='-library=Cstd -library=Crun'
 
14122
    fi
13656
14123
    ;;
13657
14124
  esac
13658
14125
  ;;
13659
14126
esac
13660
14127
 
13661
 
 
13662
14128
case " $postdeps_CXX " in
13663
14129
*" -lc "*) archive_cmds_need_lc_CXX=no ;;
13664
14130
esac
13689
14155
      # like `-m68040'.
13690
14156
      lt_prog_compiler_pic_CXX='-m68020 -resident32 -malways-restore-a4'
13691
14157
      ;;
13692
 
    beos* | cygwin* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
 
14158
    beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
13693
14159
      # PIC is the default for these OSes.
13694
14160
      ;;
13695
 
    mingw* | os2* | pw32*)
 
14161
    mingw* | cygwin* | os2* | pw32*)
13696
14162
      # This hack is so that the source file can tell whether it is being
13697
14163
      # built for inclusion in a dll (and should export symbols for example).
 
14164
      # Although the cygwin gcc ignores -fPIC, still need this for old-style
 
14165
      # (--disable-auto-import) libraries
13698
14166
      lt_prog_compiler_pic_CXX='-DDLL_EXPORT'
13699
14167
      ;;
13700
14168
    darwin* | rhapsody*)
13706
14174
      # DJGPP does not support shared libraries at all
13707
14175
      lt_prog_compiler_pic_CXX=
13708
14176
      ;;
13709
 
    interix3*)
 
14177
    interix[3-9]*)
13710
14178
      # Interix 3.x gcc -fpic/-fPIC options generate broken code.
13711
14179
      # Instead, we relocate shared libraries at runtime.
13712
14180
      ;;
13732
14200
    esac
13733
14201
  else
13734
14202
    case $host_os in
13735
 
      aix4* | aix5*)
 
14203
      aix[4-9]*)
13736
14204
        # All AIX code is PIC.
13737
14205
        if test "$host_cpu" = ia64; then
13738
14206
          # AIX 5 now supports IA64 processor
13772
14240
            ;;
13773
14241
        esac
13774
14242
        ;;
13775
 
      freebsd* | kfreebsd*-gnu | dragonfly*)
 
14243
      freebsd* | dragonfly*)
13776
14244
        # FreeBSD uses GNU C++
13777
14245
        ;;
13778
14246
      hpux9* | hpux10* | hpux11*)
13815
14283
            ;;
13816
14284
        esac
13817
14285
        ;;
13818
 
      linux*)
 
14286
      linux* | k*bsd*-gnu)
13819
14287
        case $cc_basename in
13820
14288
          KCC*)
13821
14289
            # KAI C++ Compiler
13828
14296
            lt_prog_compiler_pic_CXX='-KPIC'
13829
14297
            lt_prog_compiler_static_CXX='-static'
13830
14298
            ;;
13831
 
          pgCC*)
 
14299
          pgCC* | pgcpp*)
13832
14300
            # Portland Group C++ compiler.
13833
14301
            lt_prog_compiler_wl_CXX='-Wl,'
13834
14302
            lt_prog_compiler_pic_CXX='-fpic'
13842
14310
            lt_prog_compiler_static_CXX='-non_shared'
13843
14311
            ;;
13844
14312
          *)
 
14313
            case `$CC -V 2>&1 | sed 5q` in
 
14314
            *Sun\ C*)
 
14315
              # Sun C++ 5.9
 
14316
              lt_prog_compiler_pic_CXX='-KPIC'
 
14317
              lt_prog_compiler_static_CXX='-Bstatic'
 
14318
              lt_prog_compiler_wl_CXX='-Qoption ld '
 
14319
              ;;
 
14320
            esac
13845
14321
            ;;
13846
14322
        esac
13847
14323
        ;;
13858
14334
            ;;
13859
14335
        esac
13860
14336
        ;;
13861
 
      netbsd*)
 
14337
      netbsd* | netbsdelf*-gnu)
13862
14338
        ;;
13863
14339
      osf3* | osf4* | osf5*)
13864
14340
        case $cc_basename in
13951
14427
 
13952
14428
{ echo "$as_me:$LINENO: checking if $compiler PIC flag $lt_prog_compiler_pic_CXX works" >&5
13953
14429
echo $ECHO_N "checking if $compiler PIC flag $lt_prog_compiler_pic_CXX works... $ECHO_C" >&6; }
13954
 
if test "${lt_prog_compiler_pic_works_CXX+set}" = set; then
 
14430
if test "${lt_cv_prog_compiler_pic_works_CXX+set}" = set; then
13955
14431
  echo $ECHO_N "(cached) $ECHO_C" >&6
13956
14432
else
13957
 
  lt_prog_compiler_pic_works_CXX=no
 
14433
  lt_cv_prog_compiler_pic_works_CXX=no
13958
14434
  ac_outfile=conftest.$ac_objext
13959
 
   printf "$lt_simple_compile_test_code" > conftest.$ac_ext
 
14435
   echo "$lt_simple_compile_test_code" > conftest.$ac_ext
13960
14436
   lt_compiler_flag="$lt_prog_compiler_pic_CXX -DPIC"
13961
14437
   # Insert the option either (1) after the last *FLAGS variable, or
13962
14438
   # (2) before a word containing "conftest.", or (3) at the end.
13967
14443
   -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
13968
14444
   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
13969
14445
   -e 's:$: $lt_compiler_flag:'`
13970
 
   (eval echo "\"\$as_me:13970: $lt_compile\"" >&5)
 
14446
   (eval echo "\"\$as_me:14446: $lt_compile\"" >&5)
13971
14447
   (eval "$lt_compile" 2>conftest.err)
13972
14448
   ac_status=$?
13973
14449
   cat conftest.err >&5
13974
 
   echo "$as_me:13974: \$? = $ac_status" >&5
 
14450
   echo "$as_me:14450: \$? = $ac_status" >&5
13975
14451
   if (exit $ac_status) && test -s "$ac_outfile"; then
13976
14452
     # The compiler can only warn and ignore the option if not recognized
13977
14453
     # So say no if there are warnings other than the usual output.
13978
14454
     $echo "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' >conftest.exp
13979
14455
     $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
13980
14456
     if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
13981
 
       lt_prog_compiler_pic_works_CXX=yes
 
14457
       lt_cv_prog_compiler_pic_works_CXX=yes
13982
14458
     fi
13983
14459
   fi
13984
14460
   $rm conftest*
13985
14461
 
13986
14462
fi
13987
 
{ echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_works_CXX" >&5
13988
 
echo "${ECHO_T}$lt_prog_compiler_pic_works_CXX" >&6; }
 
14463
{ echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_pic_works_CXX" >&5
 
14464
echo "${ECHO_T}$lt_cv_prog_compiler_pic_works_CXX" >&6; }
13989
14465
 
13990
 
if test x"$lt_prog_compiler_pic_works_CXX" = xyes; then
 
14466
if test x"$lt_cv_prog_compiler_pic_works_CXX" = xyes; then
13991
14467
    case $lt_prog_compiler_pic_CXX in
13992
14468
     "" | " "*) ;;
13993
14469
     *) lt_prog_compiler_pic_CXX=" $lt_prog_compiler_pic_CXX" ;;
14014
14490
wl=$lt_prog_compiler_wl_CXX eval lt_tmp_static_flag=\"$lt_prog_compiler_static_CXX\"
14015
14491
{ echo "$as_me:$LINENO: checking if $compiler static flag $lt_tmp_static_flag works" >&5
14016
14492
echo $ECHO_N "checking if $compiler static flag $lt_tmp_static_flag works... $ECHO_C" >&6; }
14017
 
if test "${lt_prog_compiler_static_works_CXX+set}" = set; then
 
14493
if test "${lt_cv_prog_compiler_static_works_CXX+set}" = set; then
14018
14494
  echo $ECHO_N "(cached) $ECHO_C" >&6
14019
14495
else
14020
 
  lt_prog_compiler_static_works_CXX=no
 
14496
  lt_cv_prog_compiler_static_works_CXX=no
14021
14497
   save_LDFLAGS="$LDFLAGS"
14022
14498
   LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
14023
 
   printf "$lt_simple_link_test_code" > conftest.$ac_ext
 
14499
   echo "$lt_simple_link_test_code" > conftest.$ac_ext
14024
14500
   if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
14025
14501
     # The linker can only warn and ignore the option if not recognized
14026
14502
     # So say no if there are warnings
14030
14506
       $echo "X$_lt_linker_boilerplate" | $Xsed -e '/^$/d' > conftest.exp
14031
14507
       $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
14032
14508
       if diff conftest.exp conftest.er2 >/dev/null; then
14033
 
         lt_prog_compiler_static_works_CXX=yes
 
14509
         lt_cv_prog_compiler_static_works_CXX=yes
14034
14510
       fi
14035
14511
     else
14036
 
       lt_prog_compiler_static_works_CXX=yes
 
14512
       lt_cv_prog_compiler_static_works_CXX=yes
14037
14513
     fi
14038
14514
   fi
14039
 
   $rm conftest*
 
14515
   $rm -r conftest*
14040
14516
   LDFLAGS="$save_LDFLAGS"
14041
14517
 
14042
14518
fi
14043
 
{ echo "$as_me:$LINENO: result: $lt_prog_compiler_static_works_CXX" >&5
14044
 
echo "${ECHO_T}$lt_prog_compiler_static_works_CXX" >&6; }
 
14519
{ echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_static_works_CXX" >&5
 
14520
echo "${ECHO_T}$lt_cv_prog_compiler_static_works_CXX" >&6; }
14045
14521
 
14046
 
if test x"$lt_prog_compiler_static_works_CXX" = xyes; then
 
14522
if test x"$lt_cv_prog_compiler_static_works_CXX" = xyes; then
14047
14523
    :
14048
14524
else
14049
14525
    lt_prog_compiler_static_CXX=
14060
14536
   mkdir conftest
14061
14537
   cd conftest
14062
14538
   mkdir out
14063
 
   printf "$lt_simple_compile_test_code" > conftest.$ac_ext
 
14539
   echo "$lt_simple_compile_test_code" > conftest.$ac_ext
14064
14540
 
14065
14541
   lt_compiler_flag="-o out/conftest2.$ac_objext"
14066
14542
   # Insert the option either (1) after the last *FLAGS variable, or
14071
14547
   -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
14072
14548
   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
14073
14549
   -e 's:$: $lt_compiler_flag:'`
14074
 
   (eval echo "\"\$as_me:14074: $lt_compile\"" >&5)
 
14550
   (eval echo "\"\$as_me:14550: $lt_compile\"" >&5)
14075
14551
   (eval "$lt_compile" 2>out/conftest.err)
14076
14552
   ac_status=$?
14077
14553
   cat out/conftest.err >&5
14078
 
   echo "$as_me:14078: \$? = $ac_status" >&5
 
14554
   echo "$as_me:14554: \$? = $ac_status" >&5
14079
14555
   if (exit $ac_status) && test -s out/conftest2.$ac_objext
14080
14556
   then
14081
14557
     # The compiler can only warn and ignore the option if not recognized
14128
14604
 
14129
14605
  export_symbols_cmds_CXX='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
14130
14606
  case $host_os in
14131
 
  aix4* | aix5*)
 
14607
  aix[4-9]*)
14132
14608
    # If we're using GNU nm, then we don't want the "-C" option.
14133
14609
    # -C means demangle to AIX nm, but means don't demangle with GNU nm
14134
14610
    if $NM -V 2>&1 | grep 'GNU' > /dev/null; then
14141
14617
    export_symbols_cmds_CXX="$ltdll_cmds"
14142
14618
  ;;
14143
14619
  cygwin* | mingw*)
14144
 
    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'
 
14620
    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'
 
14621
  ;;
 
14622
  linux* | k*bsd*-gnu)
 
14623
    link_all_deplibs_CXX=no
14145
14624
  ;;
14146
14625
  *)
14147
14626
    export_symbols_cmds_CXX='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
14148
14627
  ;;
14149
14628
  esac
 
14629
  exclude_expsyms_CXX='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
14150
14630
 
14151
14631
{ echo "$as_me:$LINENO: result: $ld_shlibs_CXX" >&5
14152
14632
echo "${ECHO_T}$ld_shlibs_CXX" >&6; }
14172
14652
      { echo "$as_me:$LINENO: checking whether -lc should be explicitly linked in" >&5
14173
14653
echo $ECHO_N "checking whether -lc should be explicitly linked in... $ECHO_C" >&6; }
14174
14654
      $rm conftest*
14175
 
      printf "$lt_simple_compile_test_code" > conftest.$ac_ext
 
14655
      echo "$lt_simple_compile_test_code" > conftest.$ac_ext
14176
14656
 
14177
14657
      if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14178
14658
  (eval $ac_compile) 2>&5
14230
14710
version_type=none
14231
14711
dynamic_linker="$host_os ld.so"
14232
14712
sys_lib_dlsearch_path_spec="/lib /usr/lib"
14233
 
if test "$GCC" = yes; then
14234
 
  sys_lib_search_path_spec=`$CC -print-search-dirs | grep "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
14235
 
  if echo "$sys_lib_search_path_spec" | grep ';' >/dev/null ; then
14236
 
    # if the path contains ";" then we assume it to be the separator
14237
 
    # otherwise default to the standard path separator (i.e. ":") - it is
14238
 
    # assumed that no part of a normal pathname contains ";" but that should
14239
 
    # okay in the real world where ";" in dirpaths is itself problematic.
14240
 
    sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
14241
 
  else
14242
 
    sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED  -e "s/$PATH_SEPARATOR/ /g"`
14243
 
  fi
14244
 
else
14245
 
  sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"
14246
 
fi
 
14713
 
14247
14714
need_lib_prefix=unknown
14248
14715
hardcode_into_libs=no
14249
14716
 
14261
14728
  soname_spec='${libname}${release}${shared_ext}$major'
14262
14729
  ;;
14263
14730
 
14264
 
aix4* | aix5*)
 
14731
aix[4-9]*)
14265
14732
  version_type=linux
14266
14733
  need_lib_prefix=no
14267
14734
  need_version=no
14400
14867
  shlibpath_overrides_runpath=yes
14401
14868
  shlibpath_var=DYLD_LIBRARY_PATH
14402
14869
  shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`'
14403
 
  # Apple's gcc prints 'gcc -print-search-dirs' doesn't operate the same.
14404
 
  if test "$GCC" = yes; then
14405
 
    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"`
14406
 
  else
14407
 
    sys_lib_search_path_spec='/lib /usr/lib /usr/local/lib'
14408
 
  fi
 
14870
 
14409
14871
  sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
14410
14872
  ;;
14411
14873
 
14422
14884
  dynamic_linker=no
14423
14885
  ;;
14424
14886
 
14425
 
kfreebsd*-gnu)
14426
 
  version_type=linux
14427
 
  need_lib_prefix=no
14428
 
  need_version=no
14429
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
14430
 
  soname_spec='${libname}${release}${shared_ext}$major'
14431
 
  shlibpath_var=LD_LIBRARY_PATH
14432
 
  shlibpath_overrides_runpath=no
14433
 
  hardcode_into_libs=yes
14434
 
  dynamic_linker='GNU ld.so'
14435
 
  ;;
14436
 
 
14437
14887
freebsd* | dragonfly*)
14438
14888
  # DragonFly does not have aout.  When/if they implement a new
14439
14889
  # versioning mechanism, adjust this.
14471
14921
    shlibpath_overrides_runpath=no
14472
14922
    hardcode_into_libs=yes
14473
14923
    ;;
14474
 
  freebsd*) # from 4.6 on
 
14924
  *) # from 4.6 on, and DragonFly
14475
14925
    shlibpath_overrides_runpath=yes
14476
14926
    hardcode_into_libs=yes
14477
14927
    ;;
14534
14984
  postinstall_cmds='chmod 555 $lib'
14535
14985
  ;;
14536
14986
 
14537
 
interix3*)
 
14987
interix[3-9]*)
14538
14988
  version_type=linux
14539
14989
  need_lib_prefix=no
14540
14990
  need_version=no
14589
15039
  ;;
14590
15040
 
14591
15041
# This must be Linux ELF.
14592
 
linux*)
 
15042
linux* | k*bsd*-gnu)
14593
15043
  version_type=linux
14594
15044
  need_lib_prefix=no
14595
15045
  need_version=no
14603
15053
  # before this can be enabled.
14604
15054
  hardcode_into_libs=yes
14605
15055
 
14606
 
  # find out which ABI we are using
14607
 
  libsuff=
14608
 
  case "$host_cpu" in
14609
 
  x86_64*|s390x*|powerpc64*)
14610
 
    echo '#line 14610 "configure"' > conftest.$ac_ext
14611
 
    if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14612
 
  (eval $ac_compile) 2>&5
14613
 
  ac_status=$?
14614
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
14615
 
  (exit $ac_status); }; then
14616
 
      case `/usr/bin/file conftest.$ac_objext` in
14617
 
      *64-bit*)
14618
 
        libsuff=64
14619
 
        sys_lib_search_path_spec="/lib${libsuff} /usr/lib${libsuff} /usr/local/lib${libsuff}"
14620
 
        ;;
14621
 
      esac
14622
 
    fi
14623
 
    rm -rf conftest*
14624
 
    ;;
14625
 
  esac
14626
 
 
14627
15056
  # Append ld.so.conf contents to the search path
14628
15057
  if test -f /etc/ld.so.conf; then
14629
 
    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' ' '`
14630
 
    sys_lib_dlsearch_path_spec="/lib${libsuff} /usr/lib${libsuff} $lt_ld_extra"
 
15058
    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' ' '`
 
15059
    sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra"
14631
15060
  fi
14632
15061
 
14633
15062
  # We used to test for /lib/ld.so.1 and disable shared libraries on
14639
15068
  dynamic_linker='GNU/Linux ld.so'
14640
15069
  ;;
14641
15070
 
14642
 
knetbsd*-gnu)
 
15071
netbsdelf*-gnu)
14643
15072
  version_type=linux
14644
15073
  need_lib_prefix=no
14645
15074
  need_version=no
14648
15077
  shlibpath_var=LD_LIBRARY_PATH
14649
15078
  shlibpath_overrides_runpath=no
14650
15079
  hardcode_into_libs=yes
14651
 
  dynamic_linker='GNU ld.so'
 
15080
  dynamic_linker='NetBSD ld.elf_so'
14652
15081
  ;;
14653
15082
 
14654
15083
netbsd*)
14732
15161
  sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec"
14733
15162
  ;;
14734
15163
 
 
15164
rdos*)
 
15165
  dynamic_linker=no
 
15166
  ;;
 
15167
 
14735
15168
solaris*)
14736
15169
  version_type=linux
14737
15170
  need_lib_prefix=no
14828
15261
echo "${ECHO_T}$dynamic_linker" >&6; }
14829
15262
test "$dynamic_linker" = no && can_build_shared=no
14830
15263
 
 
15264
if test "${lt_cv_sys_lib_search_path_spec+set}" = set; then
 
15265
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
15266
else
 
15267
  lt_cv_sys_lib_search_path_spec="$sys_lib_search_path_spec"
 
15268
fi
 
15269
 
 
15270
sys_lib_search_path_spec="$lt_cv_sys_lib_search_path_spec"
 
15271
if test "${lt_cv_sys_lib_dlsearch_path_spec+set}" = set; then
 
15272
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
15273
else
 
15274
  lt_cv_sys_lib_dlsearch_path_spec="$sys_lib_dlsearch_path_spec"
 
15275
fi
 
15276
 
 
15277
sys_lib_dlsearch_path_spec="$lt_cv_sys_lib_dlsearch_path_spec"
 
15278
 
14831
15279
variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
14832
15280
if test "$GCC" = yes; then
14833
15281
  variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
14911
15359
    predeps_CXX \
14912
15360
    postdeps_CXX \
14913
15361
    compiler_lib_search_path_CXX \
 
15362
    compiler_lib_search_dirs_CXX \
14914
15363
    archive_cmds_CXX \
14915
15364
    archive_expsym_cmds_CXX \
14916
15365
    postinstall_cmds_CXX \
14926
15375
    module_cmds_CXX \
14927
15376
    module_expsym_cmds_CXX \
14928
15377
    lt_cv_prog_compiler_c_o_CXX \
 
15378
    fix_srcfile_path_CXX \
14929
15379
    exclude_expsyms_CXX \
14930
15380
    include_expsyms_CXX; do
14931
15381
 
15158
15608
# shared library.
15159
15609
postdeps=$lt_postdeps_CXX
15160
15610
 
 
15611
# The directories searched by this compiler when creating a shared
 
15612
# library
 
15613
compiler_lib_search_dirs=$lt_compiler_lib_search_dirs_CXX
 
15614
 
15161
15615
# The library search path used internally by the compiler when linking
15162
15616
# a shared library.
15163
15617
compiler_lib_search_path=$lt_compiler_lib_search_path_CXX
15246
15700
sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
15247
15701
 
15248
15702
# Fix the shell variable \$srcfile for the compiler.
15249
 
fix_srcfile_path="$fix_srcfile_path_CXX"
 
15703
fix_srcfile_path=$lt_fix_srcfile_path
15250
15704
 
15251
15705
# Set to yes if exported symbols are required.
15252
15706
always_export_symbols=$always_export_symbols_CXX
15337
15791
objext_F77=$objext
15338
15792
 
15339
15793
# Code to be used in simple compile tests
15340
 
lt_simple_compile_test_code="      subroutine t\n      return\n      end\n"
 
15794
lt_simple_compile_test_code="\
 
15795
      subroutine t
 
15796
      return
 
15797
      end
 
15798
"
15341
15799
 
15342
15800
# Code to be used in simple link tests
15343
 
lt_simple_link_test_code="      program t\n      end\n"
 
15801
lt_simple_link_test_code="\
 
15802
      program t
 
15803
      end
 
15804
"
15344
15805
 
15345
15806
# ltmain only uses $CC for tagged configurations so make sure $CC is set.
15346
15807
 
15356
15817
 
15357
15818
# save warnings/boilerplate of simple test code
15358
15819
ac_outfile=conftest.$ac_objext
15359
 
printf "$lt_simple_compile_test_code" >conftest.$ac_ext
 
15820
echo "$lt_simple_compile_test_code" >conftest.$ac_ext
15360
15821
eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
15361
15822
_lt_compiler_boilerplate=`cat conftest.err`
15362
15823
$rm conftest*
15363
15824
 
15364
15825
ac_outfile=conftest.$ac_objext
15365
 
printf "$lt_simple_link_test_code" >conftest.$ac_ext
 
15826
echo "$lt_simple_link_test_code" >conftest.$ac_ext
15366
15827
eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
15367
15828
_lt_linker_boilerplate=`cat conftest.err`
15368
 
$rm conftest*
 
15829
$rm -r conftest*
15369
15830
 
15370
15831
 
15371
15832
# Allow CC to be a program name with arguments.
15403
15864
    postinstall_cmds='$RANLIB $lib'
15404
15865
  fi
15405
15866
  ;;
15406
 
aix4* | aix5*)
 
15867
aix[4-9]*)
15407
15868
  if test "$host_cpu" != ia64 && test "$aix_use_runtimelinking" = no ; then
15408
15869
    test "$enable_shared" = yes && enable_static=no
15409
15870
  fi
15449
15910
      lt_prog_compiler_pic_F77='-m68020 -resident32 -malways-restore-a4'
15450
15911
      ;;
15451
15912
 
15452
 
    beos* | cygwin* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
 
15913
    beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
15453
15914
      # PIC is the default for these OSes.
15454
15915
      ;;
15455
15916
 
15456
 
    mingw* | pw32* | os2*)
 
15917
    mingw* | cygwin* | pw32* | os2*)
15457
15918
      # This hack is so that the source file can tell whether it is being
15458
15919
      # built for inclusion in a dll (and should export symbols for example).
 
15920
      # Although the cygwin gcc ignores -fPIC, still need this for old-style
 
15921
      # (--disable-auto-import) libraries
15459
15922
      lt_prog_compiler_pic_F77='-DDLL_EXPORT'
15460
15923
      ;;
15461
15924
 
15465
15928
      lt_prog_compiler_pic_F77='-fno-common'
15466
15929
      ;;
15467
15930
 
15468
 
    interix3*)
 
15931
    interix[3-9]*)
15469
15932
      # Interix 3.x gcc -fpic/-fPIC options generate broken code.
15470
15933
      # Instead, we relocate shared libraries at runtime.
15471
15934
      ;;
15523
15986
       esac
15524
15987
       ;;
15525
15988
 
15526
 
    mingw* | pw32* | os2*)
 
15989
    mingw* | cygwin* | pw32* | os2*)
15527
15990
      # This hack is so that the source file can tell whether it is being
15528
15991
      # built for inclusion in a dll (and should export symbols for example).
15529
15992
      lt_prog_compiler_pic_F77='-DDLL_EXPORT'
15556
16019
      lt_prog_compiler_static_F77='-Bstatic'
15557
16020
      ;;
15558
16021
 
15559
 
    linux*)
 
16022
    linux* | k*bsd*-gnu)
15560
16023
      case $cc_basename in
15561
16024
      icc* | ecc*)
15562
16025
        lt_prog_compiler_wl_F77='-Wl,'
15575
16038
        # All Alpha code is PIC.
15576
16039
        lt_prog_compiler_static_F77='-non_shared'
15577
16040
        ;;
 
16041
      *)
 
16042
        case `$CC -V 2>&1 | sed 5q` in
 
16043
        *Sun\ C*)
 
16044
          # Sun C 5.9
 
16045
          lt_prog_compiler_pic_F77='-KPIC'
 
16046
          lt_prog_compiler_static_F77='-Bstatic'
 
16047
          lt_prog_compiler_wl_F77='-Wl,'
 
16048
          ;;
 
16049
        *Sun\ F*)
 
16050
          # Sun Fortran 8.3 passes all unrecognized flags to the linker
 
16051
          lt_prog_compiler_pic_F77='-KPIC'
 
16052
          lt_prog_compiler_static_F77='-Bstatic'
 
16053
          lt_prog_compiler_wl_F77=''
 
16054
          ;;
 
16055
        esac
 
16056
        ;;
15578
16057
      esac
15579
16058
      ;;
15580
16059
 
15584
16063
      lt_prog_compiler_static_F77='-non_shared'
15585
16064
      ;;
15586
16065
 
 
16066
    rdos*)
 
16067
      lt_prog_compiler_static_F77='-non_shared'
 
16068
      ;;
 
16069
 
15587
16070
    solaris*)
15588
16071
      lt_prog_compiler_pic_F77='-KPIC'
15589
16072
      lt_prog_compiler_static_F77='-Bstatic'
15646
16129
 
15647
16130
{ echo "$as_me:$LINENO: checking if $compiler PIC flag $lt_prog_compiler_pic_F77 works" >&5
15648
16131
echo $ECHO_N "checking if $compiler PIC flag $lt_prog_compiler_pic_F77 works... $ECHO_C" >&6; }
15649
 
if test "${lt_prog_compiler_pic_works_F77+set}" = set; then
 
16132
if test "${lt_cv_prog_compiler_pic_works_F77+set}" = set; then
15650
16133
  echo $ECHO_N "(cached) $ECHO_C" >&6
15651
16134
else
15652
 
  lt_prog_compiler_pic_works_F77=no
 
16135
  lt_cv_prog_compiler_pic_works_F77=no
15653
16136
  ac_outfile=conftest.$ac_objext
15654
 
   printf "$lt_simple_compile_test_code" > conftest.$ac_ext
 
16137
   echo "$lt_simple_compile_test_code" > conftest.$ac_ext
15655
16138
   lt_compiler_flag="$lt_prog_compiler_pic_F77"
15656
16139
   # Insert the option either (1) after the last *FLAGS variable, or
15657
16140
   # (2) before a word containing "conftest.", or (3) at the end.
15662
16145
   -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
15663
16146
   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
15664
16147
   -e 's:$: $lt_compiler_flag:'`
15665
 
   (eval echo "\"\$as_me:15665: $lt_compile\"" >&5)
 
16148
   (eval echo "\"\$as_me:16148: $lt_compile\"" >&5)
15666
16149
   (eval "$lt_compile" 2>conftest.err)
15667
16150
   ac_status=$?
15668
16151
   cat conftest.err >&5
15669
 
   echo "$as_me:15669: \$? = $ac_status" >&5
 
16152
   echo "$as_me:16152: \$? = $ac_status" >&5
15670
16153
   if (exit $ac_status) && test -s "$ac_outfile"; then
15671
16154
     # The compiler can only warn and ignore the option if not recognized
15672
16155
     # So say no if there are warnings other than the usual output.
15673
16156
     $echo "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' >conftest.exp
15674
16157
     $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
15675
16158
     if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
15676
 
       lt_prog_compiler_pic_works_F77=yes
 
16159
       lt_cv_prog_compiler_pic_works_F77=yes
15677
16160
     fi
15678
16161
   fi
15679
16162
   $rm conftest*
15680
16163
 
15681
16164
fi
15682
 
{ echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_works_F77" >&5
15683
 
echo "${ECHO_T}$lt_prog_compiler_pic_works_F77" >&6; }
 
16165
{ echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_pic_works_F77" >&5
 
16166
echo "${ECHO_T}$lt_cv_prog_compiler_pic_works_F77" >&6; }
15684
16167
 
15685
 
if test x"$lt_prog_compiler_pic_works_F77" = xyes; then
 
16168
if test x"$lt_cv_prog_compiler_pic_works_F77" = xyes; then
15686
16169
    case $lt_prog_compiler_pic_F77 in
15687
16170
     "" | " "*) ;;
15688
16171
     *) lt_prog_compiler_pic_F77=" $lt_prog_compiler_pic_F77" ;;
15709
16192
wl=$lt_prog_compiler_wl_F77 eval lt_tmp_static_flag=\"$lt_prog_compiler_static_F77\"
15710
16193
{ echo "$as_me:$LINENO: checking if $compiler static flag $lt_tmp_static_flag works" >&5
15711
16194
echo $ECHO_N "checking if $compiler static flag $lt_tmp_static_flag works... $ECHO_C" >&6; }
15712
 
if test "${lt_prog_compiler_static_works_F77+set}" = set; then
 
16195
if test "${lt_cv_prog_compiler_static_works_F77+set}" = set; then
15713
16196
  echo $ECHO_N "(cached) $ECHO_C" >&6
15714
16197
else
15715
 
  lt_prog_compiler_static_works_F77=no
 
16198
  lt_cv_prog_compiler_static_works_F77=no
15716
16199
   save_LDFLAGS="$LDFLAGS"
15717
16200
   LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
15718
 
   printf "$lt_simple_link_test_code" > conftest.$ac_ext
 
16201
   echo "$lt_simple_link_test_code" > conftest.$ac_ext
15719
16202
   if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
15720
16203
     # The linker can only warn and ignore the option if not recognized
15721
16204
     # So say no if there are warnings
15725
16208
       $echo "X$_lt_linker_boilerplate" | $Xsed -e '/^$/d' > conftest.exp
15726
16209
       $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
15727
16210
       if diff conftest.exp conftest.er2 >/dev/null; then
15728
 
         lt_prog_compiler_static_works_F77=yes
 
16211
         lt_cv_prog_compiler_static_works_F77=yes
15729
16212
       fi
15730
16213
     else
15731
 
       lt_prog_compiler_static_works_F77=yes
 
16214
       lt_cv_prog_compiler_static_works_F77=yes
15732
16215
     fi
15733
16216
   fi
15734
 
   $rm conftest*
 
16217
   $rm -r conftest*
15735
16218
   LDFLAGS="$save_LDFLAGS"
15736
16219
 
15737
16220
fi
15738
 
{ echo "$as_me:$LINENO: result: $lt_prog_compiler_static_works_F77" >&5
15739
 
echo "${ECHO_T}$lt_prog_compiler_static_works_F77" >&6; }
 
16221
{ echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_static_works_F77" >&5
 
16222
echo "${ECHO_T}$lt_cv_prog_compiler_static_works_F77" >&6; }
15740
16223
 
15741
 
if test x"$lt_prog_compiler_static_works_F77" = xyes; then
 
16224
if test x"$lt_cv_prog_compiler_static_works_F77" = xyes; then
15742
16225
    :
15743
16226
else
15744
16227
    lt_prog_compiler_static_F77=
15755
16238
   mkdir conftest
15756
16239
   cd conftest
15757
16240
   mkdir out
15758
 
   printf "$lt_simple_compile_test_code" > conftest.$ac_ext
 
16241
   echo "$lt_simple_compile_test_code" > conftest.$ac_ext
15759
16242
 
15760
16243
   lt_compiler_flag="-o out/conftest2.$ac_objext"
15761
16244
   # Insert the option either (1) after the last *FLAGS variable, or
15766
16249
   -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
15767
16250
   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
15768
16251
   -e 's:$: $lt_compiler_flag:'`
15769
 
   (eval echo "\"\$as_me:15769: $lt_compile\"" >&5)
 
16252
   (eval echo "\"\$as_me:16252: $lt_compile\"" >&5)
15770
16253
   (eval "$lt_compile" 2>out/conftest.err)
15771
16254
   ac_status=$?
15772
16255
   cat out/conftest.err >&5
15773
 
   echo "$as_me:15773: \$? = $ac_status" >&5
 
16256
   echo "$as_me:16256: \$? = $ac_status" >&5
15774
16257
   if (exit $ac_status) && test -s out/conftest2.$ac_objext
15775
16258
   then
15776
16259
     # The compiler can only warn and ignore the option if not recognized
15850
16333
  # it will be wrapped by ` (' and `)$', so one must not match beginning or
15851
16334
  # end of line.  Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
15852
16335
  # as well as any symbol that contains `d'.
15853
 
  exclude_expsyms_F77="_GLOBAL_OFFSET_TABLE_"
 
16336
  exclude_expsyms_F77='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
15854
16337
  # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
15855
16338
  # platforms (ab)use it in PIC code, but their linkers get confused if
15856
16339
  # the symbol is explicitly referenced.  Since portable code cannot
15857
16340
  # rely on this symbol name, it's probably fine to never include it in
15858
16341
  # preloaded symbol tables.
 
16342
  # Exclude shared library initialization/finalization symbols.
15859
16343
  extract_expsyms_cmds=
15860
16344
  # Just being paranoid about ensuring that cc_basename is set.
15861
16345
  for cc_temp in $compiler""; do
15914
16398
 
15915
16399
    # See if GNU ld supports shared libraries.
15916
16400
    case $host_os in
15917
 
    aix3* | aix4* | aix5*)
 
16401
    aix[3-9]*)
15918
16402
      # On AIX/PPC, the GNU linker is very broken
15919
16403
      if test "$host_cpu" != ia64; then
15920
16404
        ld_shlibs_F77=no
15962
16446
      allow_undefined_flag_F77=unsupported
15963
16447
      always_export_symbols_F77=no
15964
16448
      enable_shared_with_static_runtimes_F77=yes
15965
 
      export_symbols_cmds_F77='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS] /s/.* \([^ ]*\)/\1 DATA/'\'' | $SED -e '\''/^[AITW] /s/.* //'\'' | sort | uniq > $export_symbols'
 
16449
      export_symbols_cmds_F77='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1 DATA/'\'' -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols'
15966
16450
 
15967
16451
      if $LD --help 2>&1 | grep 'auto-import' > /dev/null; then
15968
16452
        archive_cmds_F77='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
15980
16464
      fi
15981
16465
      ;;
15982
16466
 
15983
 
    interix3*)
 
16467
    interix[3-9]*)
15984
16468
      hardcode_direct_F77=no
15985
16469
      hardcode_shlibpath_var_F77=no
15986
16470
      hardcode_libdir_flag_spec_F77='${wl}-rpath,$libdir'
15995
16479
      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'
15996
16480
      ;;
15997
16481
 
15998
 
    linux*)
 
16482
    gnu* | linux* | k*bsd*-gnu)
15999
16483
      if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
16000
16484
        tmp_addflag=
16001
16485
        case $cc_basename,$host_cpu in
16013
16497
        ifc* | ifort*)                  # Intel Fortran compiler
16014
16498
          tmp_addflag=' -nofor_main' ;;
16015
16499
        esac
16016
 
        archive_cmds_F77='$CC -shared'"$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
 
16500
        case `$CC -V 2>&1 | sed 5q` in
 
16501
        *Sun\ C*)                       # Sun C 5.9
 
16502
          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'
 
16503
          tmp_sharedflag='-G' ;;
 
16504
        *Sun\ F*)                       # Sun Fortran 8.3
 
16505
          tmp_sharedflag='-G' ;;
 
16506
        *)
 
16507
          tmp_sharedflag='-shared' ;;
 
16508
        esac
 
16509
        archive_cmds_F77='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
16017
16510
 
16018
16511
        if test $supports_anon_versioning = yes; then
16019
16512
          archive_expsym_cmds_F77='$echo "{ global:" > $output_objdir/$libname.ver~
16020
16513
  cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
16021
16514
  $echo "local: *; };" >> $output_objdir/$libname.ver~
16022
 
          $CC -shared'"$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
 
16515
          $CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
16023
16516
        fi
 
16517
        link_all_deplibs_F77=no
16024
16518
      else
16025
16519
        ld_shlibs_F77=no
16026
16520
      fi
16027
16521
      ;;
16028
16522
 
16029
 
    netbsd*)
 
16523
    netbsd* | netbsdelf*-gnu)
16030
16524
      if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
16031
16525
        archive_cmds_F77='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
16032
16526
        wlarc=
16124
16618
      fi
16125
16619
      ;;
16126
16620
 
16127
 
    aix4* | aix5*)
 
16621
    aix[4-9]*)
16128
16622
      if test "$host_cpu" = ia64; then
16129
16623
        # On IA64, the linker does run time linking by default, so we don't
16130
16624
        # have to do anything special.
16144
16638
        # Test if we are trying to use run time linking or normal
16145
16639
        # AIX style linking. If -brtl is somewhere in LDFLAGS, we
16146
16640
        # need to do runtime linking.
16147
 
        case $host_os in aix4.[23]|aix4.[23].*|aix5*)
 
16641
        case $host_os in aix4.[23]|aix4.[23].*|aix[5-9]*)
16148
16642
          for ld_flag in $LDFLAGS; do
16149
16643
          if (test $ld_flag = "-brtl" || test $ld_flag = "-Wl,-brtl"); then
16150
16644
            aix_use_runtimelinking=yes
16178
16672
           strings "$collect2name" | grep resolve_lib_name >/dev/null
16179
16673
          then
16180
16674
          # We have reworked collect2
16181
 
          hardcode_direct_F77=yes
 
16675
          :
16182
16676
          else
16183
16677
          # We have old collect2
16184
16678
          hardcode_direct_F77=unsupported
16242
16736
       } && test -s conftest$ac_exeext &&
16243
16737
       $as_test_x conftest$ac_exeext; then
16244
16738
 
16245
 
aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0  *\(.*\)$/\1/; p; }
16246
 
}'`
 
16739
lt_aix_libpath_sed='
 
16740
    /Import File Strings/,/^$/ {
 
16741
        /^0/ {
 
16742
            s/^0  *\(.*\)$/\1/
 
16743
            p
 
16744
        }
 
16745
    }'
 
16746
aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
16247
16747
# Check for a 64-bit object if we didn't find anything.
16248
 
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; }
16249
 
}'`; fi
 
16748
if test -z "$aix_libpath"; then
 
16749
  aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
 
16750
fi
16250
16751
else
16251
16752
  echo "$as_me: failed program was:" >&5
16252
16753
sed 's/^/| /' conftest.$ac_ext >&5
16291
16792
       } && test -s conftest$ac_exeext &&
16292
16793
       $as_test_x conftest$ac_exeext; then
16293
16794
 
16294
 
aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0  *\(.*\)$/\1/; p; }
16295
 
}'`
 
16795
lt_aix_libpath_sed='
 
16796
    /Import File Strings/,/^$/ {
 
16797
        /^0/ {
 
16798
            s/^0  *\(.*\)$/\1/
 
16799
            p
 
16800
        }
 
16801
    }'
 
16802
aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
16296
16803
# Check for a 64-bit object if we didn't find anything.
16297
 
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; }
16298
 
}'`; fi
 
16804
if test -z "$aix_libpath"; then
 
16805
  aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
 
16806
fi
16299
16807
else
16300
16808
  echo "$as_me: failed program was:" >&5
16301
16809
sed 's/^/| /' conftest.$ac_ext >&5
16349
16857
      # The linker will automatically build a .lib file if we build a DLL.
16350
16858
      old_archive_From_new_cmds_F77='true'
16351
16859
      # FIXME: Should let the user specify the lib program.
16352
 
      old_archive_cmds_F77='lib /OUT:$oldlib$oldobjs$old_deplibs'
 
16860
      old_archive_cmds_F77='lib -OUT:$oldlib$oldobjs$old_deplibs'
16353
16861
      fix_srcfile_path_F77='`cygpath -w "$srcfile"`'
16354
16862
      enable_shared_with_static_runtimes_F77=yes
16355
16863
      ;;
16382
16890
      link_all_deplibs_F77=yes
16383
16891
    if test "$GCC" = yes ; then
16384
16892
        output_verbose_link_cmd='echo'
16385
 
        archive_cmds_F77='$CC -dynamiclib $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags -install_name $rpath/$soname $verstring'
16386
 
      module_cmds_F77='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
16387
 
      # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin lds
16388
 
      archive_expsym_cmds_F77='sed -e "s,#.*,," -e "s,^[    ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC -dynamiclib $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags -install_name $rpath/$soname $verstring~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
16389
 
      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}'
 
16893
        archive_cmds_F77="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod${_lt_dsymutil}"
 
16894
        module_cmds_F77="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}"
 
16895
        archive_expsym_cmds_F77="sed 's,^,_,' < \$export_symbols > \$output_objdir/\${libname}-symbols.expsym~\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring ${_lt_dar_single_mod}${_lt_dar_export_syms}${_lt_dsymutil}"
 
16896
        module_expsym_cmds_F77="sed -e 's,^,_,' < \$export_symbols > \$output_objdir/\${libname}-symbols.expsym~\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dar_export_syms}${_lt_dsymutil}"
16390
16897
    else
16391
16898
      case $cc_basename in
16392
16899
        xlc*)
16393
16900
         output_verbose_link_cmd='echo'
16394
 
         archive_cmds_F77='$CC -qmkshrobj $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-install_name ${wl}`echo $rpath/$soname` $verstring'
 
16901
         archive_cmds_F77='$CC -qmkshrobj $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-install_name ${wl}`echo $rpath/$soname` $xlcverstring'
16395
16902
         module_cmds_F77='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
16396
16903
          # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin lds
16397
 
         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}'
 
16904
         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}'
16398
16905
          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}'
16399
16906
          ;;
16400
16907
       *)
16434
16941
      ;;
16435
16942
 
16436
16943
    # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
16437
 
    freebsd* | kfreebsd*-gnu | dragonfly*)
 
16944
    freebsd* | dragonfly*)
16438
16945
      archive_cmds_F77='$CC -shared -o $lib $libobjs $deplibs $compiler_flags'
16439
16946
      hardcode_libdir_flag_spec_F77='-R$libdir'
16440
16947
      hardcode_direct_F77=yes
16536
17043
      link_all_deplibs_F77=yes
16537
17044
      ;;
16538
17045
 
16539
 
    netbsd*)
 
17046
    netbsd* | netbsdelf*-gnu)
16540
17047
      if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
16541
17048
        archive_cmds_F77='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'  # a.out
16542
17049
      else
16556
17063
      ;;
16557
17064
 
16558
17065
    openbsd*)
16559
 
      hardcode_direct_F77=yes
16560
 
      hardcode_shlibpath_var_F77=no
16561
 
      if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
16562
 
        archive_cmds_F77='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
16563
 
        archive_expsym_cmds_F77='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols'
16564
 
        hardcode_libdir_flag_spec_F77='${wl}-rpath,$libdir'
16565
 
        export_dynamic_flag_spec_F77='${wl}-E'
 
17066
      if test -f /usr/libexec/ld.so; then
 
17067
        hardcode_direct_F77=yes
 
17068
        hardcode_shlibpath_var_F77=no
 
17069
        if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
 
17070
          archive_cmds_F77='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
 
17071
          archive_expsym_cmds_F77='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols'
 
17072
          hardcode_libdir_flag_spec_F77='${wl}-rpath,$libdir'
 
17073
          export_dynamic_flag_spec_F77='${wl}-E'
 
17074
        else
 
17075
          case $host_os in
 
17076
           openbsd[01].* | openbsd2.[0-7] | openbsd2.[0-7].*)
 
17077
             archive_cmds_F77='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
 
17078
             hardcode_libdir_flag_spec_F77='-R$libdir'
 
17079
             ;;
 
17080
           *)
 
17081
             archive_cmds_F77='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
 
17082
             hardcode_libdir_flag_spec_F77='${wl}-rpath,$libdir'
 
17083
             ;;
 
17084
          esac
 
17085
        fi
16566
17086
      else
16567
 
       case $host_os in
16568
 
         openbsd[01].* | openbsd2.[0-7] | openbsd2.[0-7].*)
16569
 
           archive_cmds_F77='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
16570
 
           hardcode_libdir_flag_spec_F77='-R$libdir'
16571
 
           ;;
16572
 
         *)
16573
 
           archive_cmds_F77='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
16574
 
           hardcode_libdir_flag_spec_F77='${wl}-rpath,$libdir'
16575
 
           ;;
16576
 
       esac
 
17087
        ld_shlibs_F77=no
16577
17088
      fi
16578
17089
      ;;
16579
17090
 
16632
17143
      case $host_os in
16633
17144
      solaris2.[0-5] | solaris2.[0-5].*) ;;
16634
17145
      *)
16635
 
        # The compiler driver will combine linker options so we
16636
 
        # cannot just pass the convience library names through
16637
 
        # without $wl, iff we do not link with $LD.
16638
 
        # Luckily, gcc supports the same syntax we need for Sun Studio.
 
17146
        # The compiler driver will combine and reorder linker options,
 
17147
        # but understands `-z linker_flag'.  GCC discards it without `$wl',
 
17148
        # but is careful enough not to reorder.
16639
17149
        # Supported since Solaris 2.6 (maybe 2.5.1?)
16640
 
        case $wlarc in
16641
 
        '')
16642
 
          whole_archive_flag_spec_F77='-z allextract$convenience -z defaultextract' ;;
16643
 
        *)
16644
 
          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' ;;
16645
 
        esac ;;
 
17150
        if test "$GCC" = yes; then
 
17151
          whole_archive_flag_spec_F77='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
 
17152
        else
 
17153
          whole_archive_flag_spec_F77='-z allextract$convenience -z defaultextract'
 
17154
        fi
 
17155
        ;;
16646
17156
      esac
16647
17157
      link_all_deplibs_F77=yes
16648
17158
      ;;
16699
17209
      fi
16700
17210
      ;;
16701
17211
 
16702
 
    sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7*)
 
17212
    sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7* | sco3.2v5.0.[024]*)
16703
17213
      no_undefined_flag_F77='${wl}-z,text'
16704
17214
      archive_cmds_need_lc_F77=no
16705
17215
      hardcode_shlibpath_var_F77=no
16776
17286
      { echo "$as_me:$LINENO: checking whether -lc should be explicitly linked in" >&5
16777
17287
echo $ECHO_N "checking whether -lc should be explicitly linked in... $ECHO_C" >&6; }
16778
17288
      $rm conftest*
16779
 
      printf "$lt_simple_compile_test_code" > conftest.$ac_ext
 
17289
      echo "$lt_simple_compile_test_code" > conftest.$ac_ext
16780
17290
 
16781
17291
      if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16782
17292
  (eval $ac_compile) 2>&5
16834
17344
version_type=none
16835
17345
dynamic_linker="$host_os ld.so"
16836
17346
sys_lib_dlsearch_path_spec="/lib /usr/lib"
16837
 
if test "$GCC" = yes; then
16838
 
  sys_lib_search_path_spec=`$CC -print-search-dirs | grep "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
16839
 
  if echo "$sys_lib_search_path_spec" | grep ';' >/dev/null ; then
16840
 
    # if the path contains ";" then we assume it to be the separator
16841
 
    # otherwise default to the standard path separator (i.e. ":") - it is
16842
 
    # assumed that no part of a normal pathname contains ";" but that should
16843
 
    # okay in the real world where ";" in dirpaths is itself problematic.
16844
 
    sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
16845
 
  else
16846
 
    sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED  -e "s/$PATH_SEPARATOR/ /g"`
16847
 
  fi
16848
 
else
16849
 
  sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"
16850
 
fi
 
17347
 
16851
17348
need_lib_prefix=unknown
16852
17349
hardcode_into_libs=no
16853
17350
 
16865
17362
  soname_spec='${libname}${release}${shared_ext}$major'
16866
17363
  ;;
16867
17364
 
16868
 
aix4* | aix5*)
 
17365
aix[4-9]*)
16869
17366
  version_type=linux
16870
17367
  need_lib_prefix=no
16871
17368
  need_version=no
17004
17501
  shlibpath_overrides_runpath=yes
17005
17502
  shlibpath_var=DYLD_LIBRARY_PATH
17006
17503
  shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`'
17007
 
  # Apple's gcc prints 'gcc -print-search-dirs' doesn't operate the same.
17008
 
  if test "$GCC" = yes; then
17009
 
    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"`
17010
 
  else
17011
 
    sys_lib_search_path_spec='/lib /usr/lib /usr/local/lib'
17012
 
  fi
 
17504
 
17013
17505
  sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
17014
17506
  ;;
17015
17507
 
17026
17518
  dynamic_linker=no
17027
17519
  ;;
17028
17520
 
17029
 
kfreebsd*-gnu)
17030
 
  version_type=linux
17031
 
  need_lib_prefix=no
17032
 
  need_version=no
17033
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
17034
 
  soname_spec='${libname}${release}${shared_ext}$major'
17035
 
  shlibpath_var=LD_LIBRARY_PATH
17036
 
  shlibpath_overrides_runpath=no
17037
 
  hardcode_into_libs=yes
17038
 
  dynamic_linker='GNU ld.so'
17039
 
  ;;
17040
 
 
17041
17521
freebsd* | dragonfly*)
17042
17522
  # DragonFly does not have aout.  When/if they implement a new
17043
17523
  # versioning mechanism, adjust this.
17075
17555
    shlibpath_overrides_runpath=no
17076
17556
    hardcode_into_libs=yes
17077
17557
    ;;
17078
 
  freebsd*) # from 4.6 on
 
17558
  *) # from 4.6 on, and DragonFly
17079
17559
    shlibpath_overrides_runpath=yes
17080
17560
    hardcode_into_libs=yes
17081
17561
    ;;
17138
17618
  postinstall_cmds='chmod 555 $lib'
17139
17619
  ;;
17140
17620
 
17141
 
interix3*)
 
17621
interix[3-9]*)
17142
17622
  version_type=linux
17143
17623
  need_lib_prefix=no
17144
17624
  need_version=no
17193
17673
  ;;
17194
17674
 
17195
17675
# This must be Linux ELF.
17196
 
linux*)
 
17676
linux* | k*bsd*-gnu)
17197
17677
  version_type=linux
17198
17678
  need_lib_prefix=no
17199
17679
  need_version=no
17207
17687
  # before this can be enabled.
17208
17688
  hardcode_into_libs=yes
17209
17689
 
17210
 
  # find out which ABI we are using
17211
 
  libsuff=
17212
 
  case "$host_cpu" in
17213
 
  x86_64*|s390x*|powerpc64*)
17214
 
    echo '#line 17214 "configure"' > conftest.$ac_ext
17215
 
    if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17216
 
  (eval $ac_compile) 2>&5
17217
 
  ac_status=$?
17218
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
17219
 
  (exit $ac_status); }; then
17220
 
      case `/usr/bin/file conftest.$ac_objext` in
17221
 
      *64-bit*)
17222
 
        libsuff=64
17223
 
        sys_lib_search_path_spec="/lib${libsuff} /usr/lib${libsuff} /usr/local/lib${libsuff}"
17224
 
        ;;
17225
 
      esac
17226
 
    fi
17227
 
    rm -rf conftest*
17228
 
    ;;
17229
 
  esac
17230
 
 
17231
17690
  # Append ld.so.conf contents to the search path
17232
17691
  if test -f /etc/ld.so.conf; then
17233
 
    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' ' '`
17234
 
    sys_lib_dlsearch_path_spec="/lib${libsuff} /usr/lib${libsuff} $lt_ld_extra"
 
17692
    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' ' '`
 
17693
    sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra"
17235
17694
  fi
17236
17695
 
17237
17696
  # We used to test for /lib/ld.so.1 and disable shared libraries on
17243
17702
  dynamic_linker='GNU/Linux ld.so'
17244
17703
  ;;
17245
17704
 
17246
 
knetbsd*-gnu)
 
17705
netbsdelf*-gnu)
17247
17706
  version_type=linux
17248
17707
  need_lib_prefix=no
17249
17708
  need_version=no
17252
17711
  shlibpath_var=LD_LIBRARY_PATH
17253
17712
  shlibpath_overrides_runpath=no
17254
17713
  hardcode_into_libs=yes
17255
 
  dynamic_linker='GNU ld.so'
 
17714
  dynamic_linker='NetBSD ld.elf_so'
17256
17715
  ;;
17257
17716
 
17258
17717
netbsd*)
17336
17795
  sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec"
17337
17796
  ;;
17338
17797
 
 
17798
rdos*)
 
17799
  dynamic_linker=no
 
17800
  ;;
 
17801
 
17339
17802
solaris*)
17340
17803
  version_type=linux
17341
17804
  need_lib_prefix=no
17432
17895
echo "${ECHO_T}$dynamic_linker" >&6; }
17433
17896
test "$dynamic_linker" = no && can_build_shared=no
17434
17897
 
 
17898
if test "${lt_cv_sys_lib_search_path_spec+set}" = set; then
 
17899
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
17900
else
 
17901
  lt_cv_sys_lib_search_path_spec="$sys_lib_search_path_spec"
 
17902
fi
 
17903
 
 
17904
sys_lib_search_path_spec="$lt_cv_sys_lib_search_path_spec"
 
17905
if test "${lt_cv_sys_lib_dlsearch_path_spec+set}" = set; then
 
17906
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
17907
else
 
17908
  lt_cv_sys_lib_dlsearch_path_spec="$sys_lib_dlsearch_path_spec"
 
17909
fi
 
17910
 
 
17911
sys_lib_dlsearch_path_spec="$lt_cv_sys_lib_dlsearch_path_spec"
 
17912
 
17435
17913
variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
17436
17914
if test "$GCC" = yes; then
17437
17915
  variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
17515
17993
    predeps_F77 \
17516
17994
    postdeps_F77 \
17517
17995
    compiler_lib_search_path_F77 \
 
17996
    compiler_lib_search_dirs_F77 \
17518
17997
    archive_cmds_F77 \
17519
17998
    archive_expsym_cmds_F77 \
17520
17999
    postinstall_cmds_F77 \
17530
18009
    module_cmds_F77 \
17531
18010
    module_expsym_cmds_F77 \
17532
18011
    lt_cv_prog_compiler_c_o_F77 \
 
18012
    fix_srcfile_path_F77 \
17533
18013
    exclude_expsyms_F77 \
17534
18014
    include_expsyms_F77; do
17535
18015
 
17762
18242
# shared library.
17763
18243
postdeps=$lt_postdeps_F77
17764
18244
 
 
18245
# The directories searched by this compiler when creating a shared
 
18246
# library
 
18247
compiler_lib_search_dirs=$lt_compiler_lib_search_dirs_F77
 
18248
 
17765
18249
# The library search path used internally by the compiler when linking
17766
18250
# a shared library.
17767
18251
compiler_lib_search_path=$lt_compiler_lib_search_path_F77
17850
18334
sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
17851
18335
 
17852
18336
# Fix the shell variable \$srcfile for the compiler.
17853
 
fix_srcfile_path="$fix_srcfile_path_F77"
 
18337
fix_srcfile_path=$lt_fix_srcfile_path
17854
18338
 
17855
18339
# Set to yes if exported symbols are required.
17856
18340
always_export_symbols=$always_export_symbols_F77
17908
18392
objext_GCJ=$objext
17909
18393
 
17910
18394
# Code to be used in simple compile tests
17911
 
lt_simple_compile_test_code="class foo {}\n"
 
18395
lt_simple_compile_test_code="class foo {}"
17912
18396
 
17913
18397
# Code to be used in simple link tests
17914
 
lt_simple_link_test_code='public class conftest { public static void main(String[] argv) {}; }\n'
 
18398
lt_simple_link_test_code='public class conftest { public static void main(String[] argv) {}; }'
17915
18399
 
17916
18400
# ltmain only uses $CC for tagged configurations so make sure $CC is set.
17917
18401
 
17927
18411
 
17928
18412
# save warnings/boilerplate of simple test code
17929
18413
ac_outfile=conftest.$ac_objext
17930
 
printf "$lt_simple_compile_test_code" >conftest.$ac_ext
 
18414
echo "$lt_simple_compile_test_code" >conftest.$ac_ext
17931
18415
eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
17932
18416
_lt_compiler_boilerplate=`cat conftest.err`
17933
18417
$rm conftest*
17934
18418
 
17935
18419
ac_outfile=conftest.$ac_objext
17936
 
printf "$lt_simple_link_test_code" >conftest.$ac_ext
 
18420
echo "$lt_simple_link_test_code" >conftest.$ac_ext
17937
18421
eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
17938
18422
_lt_linker_boilerplate=`cat conftest.err`
17939
 
$rm conftest*
 
18423
$rm -r conftest*
17940
18424
 
17941
18425
 
17942
18426
# Allow CC to be a program name with arguments.
17974
18458
else
17975
18459
  lt_cv_prog_compiler_rtti_exceptions=no
17976
18460
  ac_outfile=conftest.$ac_objext
17977
 
   printf "$lt_simple_compile_test_code" > conftest.$ac_ext
 
18461
   echo "$lt_simple_compile_test_code" > conftest.$ac_ext
17978
18462
   lt_compiler_flag="-fno-rtti -fno-exceptions"
17979
18463
   # Insert the option either (1) after the last *FLAGS variable, or
17980
18464
   # (2) before a word containing "conftest.", or (3) at the end.
17985
18469
   -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
17986
18470
   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
17987
18471
   -e 's:$: $lt_compiler_flag:'`
17988
 
   (eval echo "\"\$as_me:17988: $lt_compile\"" >&5)
 
18472
   (eval echo "\"\$as_me:18472: $lt_compile\"" >&5)
17989
18473
   (eval "$lt_compile" 2>conftest.err)
17990
18474
   ac_status=$?
17991
18475
   cat conftest.err >&5
17992
 
   echo "$as_me:17992: \$? = $ac_status" >&5
 
18476
   echo "$as_me:18476: \$? = $ac_status" >&5
17993
18477
   if (exit $ac_status) && test -s "$ac_outfile"; then
17994
18478
     # The compiler can only warn and ignore the option if not recognized
17995
18479
     # So say no if there are warnings other than the usual output.
18040
18524
      lt_prog_compiler_pic_GCJ='-m68020 -resident32 -malways-restore-a4'
18041
18525
      ;;
18042
18526
 
18043
 
    beos* | cygwin* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
 
18527
    beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
18044
18528
      # PIC is the default for these OSes.
18045
18529
      ;;
18046
18530
 
18047
 
    mingw* | pw32* | os2*)
 
18531
    mingw* | cygwin* | pw32* | os2*)
18048
18532
      # This hack is so that the source file can tell whether it is being
18049
18533
      # built for inclusion in a dll (and should export symbols for example).
18050
 
      lt_prog_compiler_pic_GCJ='-DDLL_EXPORT'
 
18534
      # Although the cygwin gcc ignores -fPIC, still need this for old-style
 
18535
      # (--disable-auto-import) libraries
 
18536
 
18051
18537
      ;;
18052
18538
 
18053
18539
    darwin* | rhapsody*)
18056
18542
      lt_prog_compiler_pic_GCJ='-fno-common'
18057
18543
      ;;
18058
18544
 
18059
 
    interix3*)
 
18545
    interix[3-9]*)
18060
18546
      # Interix 3.x gcc -fpic/-fPIC options generate broken code.
18061
18547
      # Instead, we relocate shared libraries at runtime.
18062
18548
      ;;
18114
18600
       esac
18115
18601
       ;;
18116
18602
 
18117
 
    mingw* | pw32* | os2*)
 
18603
    mingw* | cygwin* | pw32* | os2*)
18118
18604
      # This hack is so that the source file can tell whether it is being
18119
18605
      # built for inclusion in a dll (and should export symbols for example).
18120
 
      lt_prog_compiler_pic_GCJ='-DDLL_EXPORT'
 
18606
 
18121
18607
      ;;
18122
18608
 
18123
18609
    hpux9* | hpux10* | hpux11*)
18147
18633
      lt_prog_compiler_static_GCJ='-Bstatic'
18148
18634
      ;;
18149
18635
 
18150
 
    linux*)
 
18636
    linux* | k*bsd*-gnu)
18151
18637
      case $cc_basename in
18152
18638
      icc* | ecc*)
18153
18639
        lt_prog_compiler_wl_GCJ='-Wl,'
18166
18652
        # All Alpha code is PIC.
18167
18653
        lt_prog_compiler_static_GCJ='-non_shared'
18168
18654
        ;;
 
18655
      *)
 
18656
        case `$CC -V 2>&1 | sed 5q` in
 
18657
        *Sun\ C*)
 
18658
          # Sun C 5.9
 
18659
          lt_prog_compiler_pic_GCJ='-KPIC'
 
18660
          lt_prog_compiler_static_GCJ='-Bstatic'
 
18661
          lt_prog_compiler_wl_GCJ='-Wl,'
 
18662
          ;;
 
18663
        *Sun\ F*)
 
18664
          # Sun Fortran 8.3 passes all unrecognized flags to the linker
 
18665
          lt_prog_compiler_pic_GCJ='-KPIC'
 
18666
          lt_prog_compiler_static_GCJ='-Bstatic'
 
18667
          lt_prog_compiler_wl_GCJ=''
 
18668
          ;;
 
18669
        esac
 
18670
        ;;
18169
18671
      esac
18170
18672
      ;;
18171
18673
 
18175
18677
      lt_prog_compiler_static_GCJ='-non_shared'
18176
18678
      ;;
18177
18679
 
 
18680
    rdos*)
 
18681
      lt_prog_compiler_static_GCJ='-non_shared'
 
18682
      ;;
 
18683
 
18178
18684
    solaris*)
18179
18685
      lt_prog_compiler_pic_GCJ='-KPIC'
18180
18686
      lt_prog_compiler_static_GCJ='-Bstatic'
18237
18743
 
18238
18744
{ echo "$as_me:$LINENO: checking if $compiler PIC flag $lt_prog_compiler_pic_GCJ works" >&5
18239
18745
echo $ECHO_N "checking if $compiler PIC flag $lt_prog_compiler_pic_GCJ works... $ECHO_C" >&6; }
18240
 
if test "${lt_prog_compiler_pic_works_GCJ+set}" = set; then
 
18746
if test "${lt_cv_prog_compiler_pic_works_GCJ+set}" = set; then
18241
18747
  echo $ECHO_N "(cached) $ECHO_C" >&6
18242
18748
else
18243
 
  lt_prog_compiler_pic_works_GCJ=no
 
18749
  lt_cv_prog_compiler_pic_works_GCJ=no
18244
18750
  ac_outfile=conftest.$ac_objext
18245
 
   printf "$lt_simple_compile_test_code" > conftest.$ac_ext
 
18751
   echo "$lt_simple_compile_test_code" > conftest.$ac_ext
18246
18752
   lt_compiler_flag="$lt_prog_compiler_pic_GCJ"
18247
18753
   # Insert the option either (1) after the last *FLAGS variable, or
18248
18754
   # (2) before a word containing "conftest.", or (3) at the end.
18253
18759
   -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
18254
18760
   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
18255
18761
   -e 's:$: $lt_compiler_flag:'`
18256
 
   (eval echo "\"\$as_me:18256: $lt_compile\"" >&5)
 
18762
   (eval echo "\"\$as_me:18762: $lt_compile\"" >&5)
18257
18763
   (eval "$lt_compile" 2>conftest.err)
18258
18764
   ac_status=$?
18259
18765
   cat conftest.err >&5
18260
 
   echo "$as_me:18260: \$? = $ac_status" >&5
 
18766
   echo "$as_me:18766: \$? = $ac_status" >&5
18261
18767
   if (exit $ac_status) && test -s "$ac_outfile"; then
18262
18768
     # The compiler can only warn and ignore the option if not recognized
18263
18769
     # So say no if there are warnings other than the usual output.
18264
18770
     $echo "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' >conftest.exp
18265
18771
     $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
18266
18772
     if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
18267
 
       lt_prog_compiler_pic_works_GCJ=yes
 
18773
       lt_cv_prog_compiler_pic_works_GCJ=yes
18268
18774
     fi
18269
18775
   fi
18270
18776
   $rm conftest*
18271
18777
 
18272
18778
fi
18273
 
{ echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_works_GCJ" >&5
18274
 
echo "${ECHO_T}$lt_prog_compiler_pic_works_GCJ" >&6; }
 
18779
{ echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_pic_works_GCJ" >&5
 
18780
echo "${ECHO_T}$lt_cv_prog_compiler_pic_works_GCJ" >&6; }
18275
18781
 
18276
 
if test x"$lt_prog_compiler_pic_works_GCJ" = xyes; then
 
18782
if test x"$lt_cv_prog_compiler_pic_works_GCJ" = xyes; then
18277
18783
    case $lt_prog_compiler_pic_GCJ in
18278
18784
     "" | " "*) ;;
18279
18785
     *) lt_prog_compiler_pic_GCJ=" $lt_prog_compiler_pic_GCJ" ;;
18300
18806
wl=$lt_prog_compiler_wl_GCJ eval lt_tmp_static_flag=\"$lt_prog_compiler_static_GCJ\"
18301
18807
{ echo "$as_me:$LINENO: checking if $compiler static flag $lt_tmp_static_flag works" >&5
18302
18808
echo $ECHO_N "checking if $compiler static flag $lt_tmp_static_flag works... $ECHO_C" >&6; }
18303
 
if test "${lt_prog_compiler_static_works_GCJ+set}" = set; then
 
18809
if test "${lt_cv_prog_compiler_static_works_GCJ+set}" = set; then
18304
18810
  echo $ECHO_N "(cached) $ECHO_C" >&6
18305
18811
else
18306
 
  lt_prog_compiler_static_works_GCJ=no
 
18812
  lt_cv_prog_compiler_static_works_GCJ=no
18307
18813
   save_LDFLAGS="$LDFLAGS"
18308
18814
   LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
18309
 
   printf "$lt_simple_link_test_code" > conftest.$ac_ext
 
18815
   echo "$lt_simple_link_test_code" > conftest.$ac_ext
18310
18816
   if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
18311
18817
     # The linker can only warn and ignore the option if not recognized
18312
18818
     # So say no if there are warnings
18316
18822
       $echo "X$_lt_linker_boilerplate" | $Xsed -e '/^$/d' > conftest.exp
18317
18823
       $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
18318
18824
       if diff conftest.exp conftest.er2 >/dev/null; then
18319
 
         lt_prog_compiler_static_works_GCJ=yes
 
18825
         lt_cv_prog_compiler_static_works_GCJ=yes
18320
18826
       fi
18321
18827
     else
18322
 
       lt_prog_compiler_static_works_GCJ=yes
 
18828
       lt_cv_prog_compiler_static_works_GCJ=yes
18323
18829
     fi
18324
18830
   fi
18325
 
   $rm conftest*
 
18831
   $rm -r conftest*
18326
18832
   LDFLAGS="$save_LDFLAGS"
18327
18833
 
18328
18834
fi
18329
 
{ echo "$as_me:$LINENO: result: $lt_prog_compiler_static_works_GCJ" >&5
18330
 
echo "${ECHO_T}$lt_prog_compiler_static_works_GCJ" >&6; }
 
18835
{ echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_static_works_GCJ" >&5
 
18836
echo "${ECHO_T}$lt_cv_prog_compiler_static_works_GCJ" >&6; }
18331
18837
 
18332
 
if test x"$lt_prog_compiler_static_works_GCJ" = xyes; then
 
18838
if test x"$lt_cv_prog_compiler_static_works_GCJ" = xyes; then
18333
18839
    :
18334
18840
else
18335
18841
    lt_prog_compiler_static_GCJ=
18346
18852
   mkdir conftest
18347
18853
   cd conftest
18348
18854
   mkdir out
18349
 
   printf "$lt_simple_compile_test_code" > conftest.$ac_ext
 
18855
   echo "$lt_simple_compile_test_code" > conftest.$ac_ext
18350
18856
 
18351
18857
   lt_compiler_flag="-o out/conftest2.$ac_objext"
18352
18858
   # Insert the option either (1) after the last *FLAGS variable, or
18357
18863
   -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
18358
18864
   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
18359
18865
   -e 's:$: $lt_compiler_flag:'`
18360
 
   (eval echo "\"\$as_me:18360: $lt_compile\"" >&5)
 
18866
   (eval echo "\"\$as_me:18866: $lt_compile\"" >&5)
18361
18867
   (eval "$lt_compile" 2>out/conftest.err)
18362
18868
   ac_status=$?
18363
18869
   cat out/conftest.err >&5
18364
 
   echo "$as_me:18364: \$? = $ac_status" >&5
 
18870
   echo "$as_me:18870: \$? = $ac_status" >&5
18365
18871
   if (exit $ac_status) && test -s out/conftest2.$ac_objext
18366
18872
   then
18367
18873
     # The compiler can only warn and ignore the option if not recognized
18441
18947
  # it will be wrapped by ` (' and `)$', so one must not match beginning or
18442
18948
  # end of line.  Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
18443
18949
  # as well as any symbol that contains `d'.
18444
 
  exclude_expsyms_GCJ="_GLOBAL_OFFSET_TABLE_"
 
18950
  exclude_expsyms_GCJ='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
18445
18951
  # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
18446
18952
  # platforms (ab)use it in PIC code, but their linkers get confused if
18447
18953
  # the symbol is explicitly referenced.  Since portable code cannot
18448
18954
  # rely on this symbol name, it's probably fine to never include it in
18449
18955
  # preloaded symbol tables.
 
18956
  # Exclude shared library initialization/finalization symbols.
18450
18957
  extract_expsyms_cmds=
18451
18958
  # Just being paranoid about ensuring that cc_basename is set.
18452
18959
  for cc_temp in $compiler""; do
18505
19012
 
18506
19013
    # See if GNU ld supports shared libraries.
18507
19014
    case $host_os in
18508
 
    aix3* | aix4* | aix5*)
 
19015
    aix[3-9]*)
18509
19016
      # On AIX/PPC, the GNU linker is very broken
18510
19017
      if test "$host_cpu" != ia64; then
18511
19018
        ld_shlibs_GCJ=no
18553
19060
      allow_undefined_flag_GCJ=unsupported
18554
19061
      always_export_symbols_GCJ=no
18555
19062
      enable_shared_with_static_runtimes_GCJ=yes
18556
 
      export_symbols_cmds_GCJ='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS] /s/.* \([^ ]*\)/\1 DATA/'\'' | $SED -e '\''/^[AITW] /s/.* //'\'' | sort | uniq > $export_symbols'
 
19063
      export_symbols_cmds_GCJ='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1 DATA/'\'' -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols'
18557
19064
 
18558
19065
      if $LD --help 2>&1 | grep 'auto-import' > /dev/null; then
18559
19066
        archive_cmds_GCJ='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
18571
19078
      fi
18572
19079
      ;;
18573
19080
 
18574
 
    interix3*)
 
19081
    interix[3-9]*)
18575
19082
      hardcode_direct_GCJ=no
18576
19083
      hardcode_shlibpath_var_GCJ=no
18577
19084
      hardcode_libdir_flag_spec_GCJ='${wl}-rpath,$libdir'
18586
19093
      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'
18587
19094
      ;;
18588
19095
 
18589
 
    linux*)
 
19096
    gnu* | linux* | k*bsd*-gnu)
18590
19097
      if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
18591
19098
        tmp_addflag=
18592
19099
        case $cc_basename,$host_cpu in
18604
19111
        ifc* | ifort*)                  # Intel Fortran compiler
18605
19112
          tmp_addflag=' -nofor_main' ;;
18606
19113
        esac
18607
 
        archive_cmds_GCJ='$CC -shared'"$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
 
19114
        case `$CC -V 2>&1 | sed 5q` in
 
19115
        *Sun\ C*)                       # Sun C 5.9
 
19116
          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'
 
19117
          tmp_sharedflag='-G' ;;
 
19118
        *Sun\ F*)                       # Sun Fortran 8.3
 
19119
          tmp_sharedflag='-G' ;;
 
19120
        *)
 
19121
          tmp_sharedflag='-shared' ;;
 
19122
        esac
 
19123
        archive_cmds_GCJ='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
18608
19124
 
18609
19125
        if test $supports_anon_versioning = yes; then
18610
19126
          archive_expsym_cmds_GCJ='$echo "{ global:" > $output_objdir/$libname.ver~
18611
19127
  cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
18612
19128
  $echo "local: *; };" >> $output_objdir/$libname.ver~
18613
 
          $CC -shared'"$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
 
19129
          $CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
18614
19130
        fi
 
19131
        link_all_deplibs_GCJ=no
18615
19132
      else
18616
19133
        ld_shlibs_GCJ=no
18617
19134
      fi
18618
19135
      ;;
18619
19136
 
18620
 
    netbsd*)
 
19137
    netbsd* | netbsdelf*-gnu)
18621
19138
      if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
18622
19139
        archive_cmds_GCJ='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
18623
19140
        wlarc=
18715
19232
      fi
18716
19233
      ;;
18717
19234
 
18718
 
    aix4* | aix5*)
 
19235
    aix[4-9]*)
18719
19236
      if test "$host_cpu" = ia64; then
18720
19237
        # On IA64, the linker does run time linking by default, so we don't
18721
19238
        # have to do anything special.
18735
19252
        # Test if we are trying to use run time linking or normal
18736
19253
        # AIX style linking. If -brtl is somewhere in LDFLAGS, we
18737
19254
        # need to do runtime linking.
18738
 
        case $host_os in aix4.[23]|aix4.[23].*|aix5*)
 
19255
        case $host_os in aix4.[23]|aix4.[23].*|aix[5-9]*)
18739
19256
          for ld_flag in $LDFLAGS; do
18740
19257
          if (test $ld_flag = "-brtl" || test $ld_flag = "-Wl,-brtl"); then
18741
19258
            aix_use_runtimelinking=yes
18769
19286
           strings "$collect2name" | grep resolve_lib_name >/dev/null
18770
19287
          then
18771
19288
          # We have reworked collect2
18772
 
          hardcode_direct_GCJ=yes
 
19289
          :
18773
19290
          else
18774
19291
          # We have old collect2
18775
19292
          hardcode_direct_GCJ=unsupported
18843
19360
       } && test -s conftest$ac_exeext &&
18844
19361
       $as_test_x conftest$ac_exeext; then
18845
19362
 
18846
 
aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0  *\(.*\)$/\1/; p; }
18847
 
}'`
 
19363
lt_aix_libpath_sed='
 
19364
    /Import File Strings/,/^$/ {
 
19365
        /^0/ {
 
19366
            s/^0  *\(.*\)$/\1/
 
19367
            p
 
19368
        }
 
19369
    }'
 
19370
aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
18848
19371
# Check for a 64-bit object if we didn't find anything.
18849
 
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; }
18850
 
}'`; fi
 
19372
if test -z "$aix_libpath"; then
 
19373
  aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
 
19374
fi
18851
19375
else
18852
19376
  echo "$as_me: failed program was:" >&5
18853
19377
sed 's/^/| /' conftest.$ac_ext >&5
18902
19426
       } && test -s conftest$ac_exeext &&
18903
19427
       $as_test_x conftest$ac_exeext; then
18904
19428
 
18905
 
aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0  *\(.*\)$/\1/; p; }
18906
 
}'`
 
19429
lt_aix_libpath_sed='
 
19430
    /Import File Strings/,/^$/ {
 
19431
        /^0/ {
 
19432
            s/^0  *\(.*\)$/\1/
 
19433
            p
 
19434
        }
 
19435
    }'
 
19436
aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
18907
19437
# Check for a 64-bit object if we didn't find anything.
18908
 
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; }
18909
 
}'`; fi
 
19438
if test -z "$aix_libpath"; then
 
19439
  aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
 
19440
fi
18910
19441
else
18911
19442
  echo "$as_me: failed program was:" >&5
18912
19443
sed 's/^/| /' conftest.$ac_ext >&5
18960
19491
      # The linker will automatically build a .lib file if we build a DLL.
18961
19492
      old_archive_From_new_cmds_GCJ='true'
18962
19493
      # FIXME: Should let the user specify the lib program.
18963
 
      old_archive_cmds_GCJ='lib /OUT:$oldlib$oldobjs$old_deplibs'
 
19494
      old_archive_cmds_GCJ='lib -OUT:$oldlib$oldobjs$old_deplibs'
18964
19495
      fix_srcfile_path_GCJ='`cygpath -w "$srcfile"`'
18965
19496
      enable_shared_with_static_runtimes_GCJ=yes
18966
19497
      ;;
18993
19524
      link_all_deplibs_GCJ=yes
18994
19525
    if test "$GCC" = yes ; then
18995
19526
        output_verbose_link_cmd='echo'
18996
 
        archive_cmds_GCJ='$CC -dynamiclib $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags -install_name $rpath/$soname $verstring'
18997
 
      module_cmds_GCJ='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
18998
 
      # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin lds
18999
 
      archive_expsym_cmds_GCJ='sed -e "s,#.*,," -e "s,^[    ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC -dynamiclib $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags -install_name $rpath/$soname $verstring~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
19000
 
      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}'
 
19527
        archive_cmds_GCJ="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod${_lt_dsymutil}"
 
19528
        module_cmds_GCJ="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}"
 
19529
        archive_expsym_cmds_GCJ="sed 's,^,_,' < \$export_symbols > \$output_objdir/\${libname}-symbols.expsym~\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring ${_lt_dar_single_mod}${_lt_dar_export_syms}${_lt_dsymutil}"
 
19530
        module_expsym_cmds_GCJ="sed -e 's,^,_,' < \$export_symbols > \$output_objdir/\${libname}-symbols.expsym~\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dar_export_syms}${_lt_dsymutil}"
19001
19531
    else
19002
19532
      case $cc_basename in
19003
19533
        xlc*)
19004
19534
         output_verbose_link_cmd='echo'
19005
 
         archive_cmds_GCJ='$CC -qmkshrobj $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-install_name ${wl}`echo $rpath/$soname` $verstring'
 
19535
         archive_cmds_GCJ='$CC -qmkshrobj $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-install_name ${wl}`echo $rpath/$soname` $xlcverstring'
19006
19536
         module_cmds_GCJ='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
19007
19537
          # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin lds
19008
 
         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}'
 
19538
         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}'
19009
19539
          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}'
19010
19540
          ;;
19011
19541
       *)
19045
19575
      ;;
19046
19576
 
19047
19577
    # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
19048
 
    freebsd* | kfreebsd*-gnu | dragonfly*)
 
19578
    freebsd* | dragonfly*)
19049
19579
      archive_cmds_GCJ='$CC -shared -o $lib $libobjs $deplibs $compiler_flags'
19050
19580
      hardcode_libdir_flag_spec_GCJ='-R$libdir'
19051
19581
      hardcode_direct_GCJ=yes
19147
19677
      link_all_deplibs_GCJ=yes
19148
19678
      ;;
19149
19679
 
19150
 
    netbsd*)
 
19680
    netbsd* | netbsdelf*-gnu)
19151
19681
      if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
19152
19682
        archive_cmds_GCJ='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'  # a.out
19153
19683
      else
19167
19697
      ;;
19168
19698
 
19169
19699
    openbsd*)
19170
 
      hardcode_direct_GCJ=yes
19171
 
      hardcode_shlibpath_var_GCJ=no
19172
 
      if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
19173
 
        archive_cmds_GCJ='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
19174
 
        archive_expsym_cmds_GCJ='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols'
19175
 
        hardcode_libdir_flag_spec_GCJ='${wl}-rpath,$libdir'
19176
 
        export_dynamic_flag_spec_GCJ='${wl}-E'
 
19700
      if test -f /usr/libexec/ld.so; then
 
19701
        hardcode_direct_GCJ=yes
 
19702
        hardcode_shlibpath_var_GCJ=no
 
19703
        if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
 
19704
          archive_cmds_GCJ='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
 
19705
          archive_expsym_cmds_GCJ='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols'
 
19706
          hardcode_libdir_flag_spec_GCJ='${wl}-rpath,$libdir'
 
19707
          export_dynamic_flag_spec_GCJ='${wl}-E'
 
19708
        else
 
19709
          case $host_os in
 
19710
           openbsd[01].* | openbsd2.[0-7] | openbsd2.[0-7].*)
 
19711
             archive_cmds_GCJ='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
 
19712
             hardcode_libdir_flag_spec_GCJ='-R$libdir'
 
19713
             ;;
 
19714
           *)
 
19715
             archive_cmds_GCJ='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
 
19716
             hardcode_libdir_flag_spec_GCJ='${wl}-rpath,$libdir'
 
19717
             ;;
 
19718
          esac
 
19719
        fi
19177
19720
      else
19178
 
       case $host_os in
19179
 
         openbsd[01].* | openbsd2.[0-7] | openbsd2.[0-7].*)
19180
 
           archive_cmds_GCJ='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
19181
 
           hardcode_libdir_flag_spec_GCJ='-R$libdir'
19182
 
           ;;
19183
 
         *)
19184
 
           archive_cmds_GCJ='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
19185
 
           hardcode_libdir_flag_spec_GCJ='${wl}-rpath,$libdir'
19186
 
           ;;
19187
 
       esac
 
19721
        ld_shlibs_GCJ=no
19188
19722
      fi
19189
19723
      ;;
19190
19724
 
19243
19777
      case $host_os in
19244
19778
      solaris2.[0-5] | solaris2.[0-5].*) ;;
19245
19779
      *)
19246
 
        # The compiler driver will combine linker options so we
19247
 
        # cannot just pass the convience library names through
19248
 
        # without $wl, iff we do not link with $LD.
19249
 
        # Luckily, gcc supports the same syntax we need for Sun Studio.
 
19780
        # The compiler driver will combine and reorder linker options,
 
19781
        # but understands `-z linker_flag'.  GCC discards it without `$wl',
 
19782
        # but is careful enough not to reorder.
19250
19783
        # Supported since Solaris 2.6 (maybe 2.5.1?)
19251
 
        case $wlarc in
19252
 
        '')
19253
 
          whole_archive_flag_spec_GCJ='-z allextract$convenience -z defaultextract' ;;
19254
 
        *)
19255
 
          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' ;;
19256
 
        esac ;;
 
19784
        if test "$GCC" = yes; then
 
19785
          whole_archive_flag_spec_GCJ='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
 
19786
        else
 
19787
          whole_archive_flag_spec_GCJ='-z allextract$convenience -z defaultextract'
 
19788
        fi
 
19789
        ;;
19257
19790
      esac
19258
19791
      link_all_deplibs_GCJ=yes
19259
19792
      ;;
19310
19843
      fi
19311
19844
      ;;
19312
19845
 
19313
 
    sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7*)
 
19846
    sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7* | sco3.2v5.0.[024]*)
19314
19847
      no_undefined_flag_GCJ='${wl}-z,text'
19315
19848
      archive_cmds_need_lc_GCJ=no
19316
19849
      hardcode_shlibpath_var_GCJ=no
19387
19920
      { echo "$as_me:$LINENO: checking whether -lc should be explicitly linked in" >&5
19388
19921
echo $ECHO_N "checking whether -lc should be explicitly linked in... $ECHO_C" >&6; }
19389
19922
      $rm conftest*
19390
 
      printf "$lt_simple_compile_test_code" > conftest.$ac_ext
 
19923
      echo "$lt_simple_compile_test_code" > conftest.$ac_ext
19391
19924
 
19392
19925
      if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19393
19926
  (eval $ac_compile) 2>&5
19445
19978
version_type=none
19446
19979
dynamic_linker="$host_os ld.so"
19447
19980
sys_lib_dlsearch_path_spec="/lib /usr/lib"
19448
 
if test "$GCC" = yes; then
19449
 
  sys_lib_search_path_spec=`$CC -print-search-dirs | grep "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
19450
 
  if echo "$sys_lib_search_path_spec" | grep ';' >/dev/null ; then
19451
 
    # if the path contains ";" then we assume it to be the separator
19452
 
    # otherwise default to the standard path separator (i.e. ":") - it is
19453
 
    # assumed that no part of a normal pathname contains ";" but that should
19454
 
    # okay in the real world where ";" in dirpaths is itself problematic.
19455
 
    sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
19456
 
  else
19457
 
    sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED  -e "s/$PATH_SEPARATOR/ /g"`
19458
 
  fi
19459
 
else
19460
 
  sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"
19461
 
fi
 
19981
 
19462
19982
need_lib_prefix=unknown
19463
19983
hardcode_into_libs=no
19464
19984
 
19476
19996
  soname_spec='${libname}${release}${shared_ext}$major'
19477
19997
  ;;
19478
19998
 
19479
 
aix4* | aix5*)
 
19999
aix[4-9]*)
19480
20000
  version_type=linux
19481
20001
  need_lib_prefix=no
19482
20002
  need_version=no
19615
20135
  shlibpath_overrides_runpath=yes
19616
20136
  shlibpath_var=DYLD_LIBRARY_PATH
19617
20137
  shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`'
19618
 
  # Apple's gcc prints 'gcc -print-search-dirs' doesn't operate the same.
19619
 
  if test "$GCC" = yes; then
19620
 
    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"`
19621
 
  else
19622
 
    sys_lib_search_path_spec='/lib /usr/lib /usr/local/lib'
19623
 
  fi
 
20138
 
19624
20139
  sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
19625
20140
  ;;
19626
20141
 
19637
20152
  dynamic_linker=no
19638
20153
  ;;
19639
20154
 
19640
 
kfreebsd*-gnu)
19641
 
  version_type=linux
19642
 
  need_lib_prefix=no
19643
 
  need_version=no
19644
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
19645
 
  soname_spec='${libname}${release}${shared_ext}$major'
19646
 
  shlibpath_var=LD_LIBRARY_PATH
19647
 
  shlibpath_overrides_runpath=no
19648
 
  hardcode_into_libs=yes
19649
 
  dynamic_linker='GNU ld.so'
19650
 
  ;;
19651
 
 
19652
20155
freebsd* | dragonfly*)
19653
20156
  # DragonFly does not have aout.  When/if they implement a new
19654
20157
  # versioning mechanism, adjust this.
19686
20189
    shlibpath_overrides_runpath=no
19687
20190
    hardcode_into_libs=yes
19688
20191
    ;;
19689
 
  freebsd*) # from 4.6 on
 
20192
  *) # from 4.6 on, and DragonFly
19690
20193
    shlibpath_overrides_runpath=yes
19691
20194
    hardcode_into_libs=yes
19692
20195
    ;;
19749
20252
  postinstall_cmds='chmod 555 $lib'
19750
20253
  ;;
19751
20254
 
19752
 
interix3*)
 
20255
interix[3-9]*)
19753
20256
  version_type=linux
19754
20257
  need_lib_prefix=no
19755
20258
  need_version=no
19804
20307
  ;;
19805
20308
 
19806
20309
# This must be Linux ELF.
19807
 
linux*)
 
20310
linux* | k*bsd*-gnu)
19808
20311
  version_type=linux
19809
20312
  need_lib_prefix=no
19810
20313
  need_version=no
19818
20321
  # before this can be enabled.
19819
20322
  hardcode_into_libs=yes
19820
20323
 
19821
 
  # find out which ABI we are using
19822
 
  libsuff=
19823
 
  case "$host_cpu" in
19824
 
  x86_64*|s390x*|powerpc64*)
19825
 
    echo '#line 19825 "configure"' > conftest.$ac_ext
19826
 
    if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19827
 
  (eval $ac_compile) 2>&5
19828
 
  ac_status=$?
19829
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
19830
 
  (exit $ac_status); }; then
19831
 
      case `/usr/bin/file conftest.$ac_objext` in
19832
 
      *64-bit*)
19833
 
        libsuff=64
19834
 
        sys_lib_search_path_spec="/lib${libsuff} /usr/lib${libsuff} /usr/local/lib${libsuff}"
19835
 
        ;;
19836
 
      esac
19837
 
    fi
19838
 
    rm -rf conftest*
19839
 
    ;;
19840
 
  esac
19841
 
 
19842
20324
  # Append ld.so.conf contents to the search path
19843
20325
  if test -f /etc/ld.so.conf; then
19844
 
    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' ' '`
19845
 
    sys_lib_dlsearch_path_spec="/lib${libsuff} /usr/lib${libsuff} $lt_ld_extra"
 
20326
    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' ' '`
 
20327
    sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra"
19846
20328
  fi
19847
20329
 
19848
20330
  # We used to test for /lib/ld.so.1 and disable shared libraries on
19854
20336
  dynamic_linker='GNU/Linux ld.so'
19855
20337
  ;;
19856
20338
 
19857
 
knetbsd*-gnu)
 
20339
netbsdelf*-gnu)
19858
20340
  version_type=linux
19859
20341
  need_lib_prefix=no
19860
20342
  need_version=no
19863
20345
  shlibpath_var=LD_LIBRARY_PATH
19864
20346
  shlibpath_overrides_runpath=no
19865
20347
  hardcode_into_libs=yes
19866
 
  dynamic_linker='GNU ld.so'
 
20348
  dynamic_linker='NetBSD ld.elf_so'
19867
20349
  ;;
19868
20350
 
19869
20351
netbsd*)
19947
20429
  sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec"
19948
20430
  ;;
19949
20431
 
 
20432
rdos*)
 
20433
  dynamic_linker=no
 
20434
  ;;
 
20435
 
19950
20436
solaris*)
19951
20437
  version_type=linux
19952
20438
  need_lib_prefix=no
20043
20529
echo "${ECHO_T}$dynamic_linker" >&6; }
20044
20530
test "$dynamic_linker" = no && can_build_shared=no
20045
20531
 
 
20532
if test "${lt_cv_sys_lib_search_path_spec+set}" = set; then
 
20533
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
20534
else
 
20535
  lt_cv_sys_lib_search_path_spec="$sys_lib_search_path_spec"
 
20536
fi
 
20537
 
 
20538
sys_lib_search_path_spec="$lt_cv_sys_lib_search_path_spec"
 
20539
if test "${lt_cv_sys_lib_dlsearch_path_spec+set}" = set; then
 
20540
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
20541
else
 
20542
  lt_cv_sys_lib_dlsearch_path_spec="$sys_lib_dlsearch_path_spec"
 
20543
fi
 
20544
 
 
20545
sys_lib_dlsearch_path_spec="$lt_cv_sys_lib_dlsearch_path_spec"
 
20546
 
20046
20547
variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
20047
20548
if test "$GCC" = yes; then
20048
20549
  variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
20126
20627
    predeps_GCJ \
20127
20628
    postdeps_GCJ \
20128
20629
    compiler_lib_search_path_GCJ \
 
20630
    compiler_lib_search_dirs_GCJ \
20129
20631
    archive_cmds_GCJ \
20130
20632
    archive_expsym_cmds_GCJ \
20131
20633
    postinstall_cmds_GCJ \
20141
20643
    module_cmds_GCJ \
20142
20644
    module_expsym_cmds_GCJ \
20143
20645
    lt_cv_prog_compiler_c_o_GCJ \
 
20646
    fix_srcfile_path_GCJ \
20144
20647
    exclude_expsyms_GCJ \
20145
20648
    include_expsyms_GCJ; do
20146
20649
 
20373
20876
# shared library.
20374
20877
postdeps=$lt_postdeps_GCJ
20375
20878
 
 
20879
# The directories searched by this compiler when creating a shared
 
20880
# library
 
20881
compiler_lib_search_dirs=$lt_compiler_lib_search_dirs_GCJ
 
20882
 
20376
20883
# The library search path used internally by the compiler when linking
20377
20884
# a shared library.
20378
20885
compiler_lib_search_path=$lt_compiler_lib_search_path_GCJ
20461
20968
sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
20462
20969
 
20463
20970
# Fix the shell variable \$srcfile for the compiler.
20464
 
fix_srcfile_path="$fix_srcfile_path_GCJ"
 
20971
fix_srcfile_path=$lt_fix_srcfile_path
20465
20972
 
20466
20973
# Set to yes if exported symbols are required.
20467
20974
always_export_symbols=$always_export_symbols_GCJ
20518
21025
objext_RC=$objext
20519
21026
 
20520
21027
# Code to be used in simple compile tests
20521
 
lt_simple_compile_test_code='sample MENU { MENUITEM "&Soup", 100, CHECKED }\n'
 
21028
lt_simple_compile_test_code='sample MENU { MENUITEM "&Soup", 100, CHECKED }'
20522
21029
 
20523
21030
# Code to be used in simple link tests
20524
21031
lt_simple_link_test_code="$lt_simple_compile_test_code"
20537
21044
 
20538
21045
# save warnings/boilerplate of simple test code
20539
21046
ac_outfile=conftest.$ac_objext
20540
 
printf "$lt_simple_compile_test_code" >conftest.$ac_ext
 
21047
echo "$lt_simple_compile_test_code" >conftest.$ac_ext
20541
21048
eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
20542
21049
_lt_compiler_boilerplate=`cat conftest.err`
20543
21050
$rm conftest*
20544
21051
 
20545
21052
ac_outfile=conftest.$ac_objext
20546
 
printf "$lt_simple_link_test_code" >conftest.$ac_ext
 
21053
echo "$lt_simple_link_test_code" >conftest.$ac_ext
20547
21054
eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
20548
21055
_lt_linker_boilerplate=`cat conftest.err`
20549
 
$rm conftest*
 
21056
$rm -r conftest*
20550
21057
 
20551
21058
 
20552
21059
# Allow CC to be a program name with arguments.
20606
21113
    predeps_RC \
20607
21114
    postdeps_RC \
20608
21115
    compiler_lib_search_path_RC \
 
21116
    compiler_lib_search_dirs_RC \
20609
21117
    archive_cmds_RC \
20610
21118
    archive_expsym_cmds_RC \
20611
21119
    postinstall_cmds_RC \
20621
21129
    module_cmds_RC \
20622
21130
    module_expsym_cmds_RC \
20623
21131
    lt_cv_prog_compiler_c_o_RC \
 
21132
    fix_srcfile_path_RC \
20624
21133
    exclude_expsyms_RC \
20625
21134
    include_expsyms_RC; do
20626
21135
 
20853
21362
# shared library.
20854
21363
postdeps=$lt_postdeps_RC
20855
21364
 
 
21365
# The directories searched by this compiler when creating a shared
 
21366
# library
 
21367
compiler_lib_search_dirs=$lt_compiler_lib_search_dirs_RC
 
21368
 
20856
21369
# The library search path used internally by the compiler when linking
20857
21370
# a shared library.
20858
21371
compiler_lib_search_path=$lt_compiler_lib_search_path_RC
20941
21454
sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
20942
21455
 
20943
21456
# Fix the shell variable \$srcfile for the compiler.
20944
 
fix_srcfile_path="$fix_srcfile_path_RC"
 
21457
fix_srcfile_path=$lt_fix_srcfile_path
20945
21458
 
20946
21459
# Set to yes if exported symbols are required.
20947
21460
always_export_symbols=$always_export_symbols_RC
23044
23557
and GIT_LIBS to avoid the need to call pkg-config.
23045
23558
See the pkg-config man page for more details.
23046
23559
 
23047
 
To get pkg-config, see <http://www.freedesktop.org/software/pkgconfig>.
 
23560
To get pkg-config, see <http://pkg-config.freedesktop.org/>.
23048
23561
See \`config.log' for more details." >&5
23049
23562
echo "$as_me: error: The pkg-config script could not be found or is too old.  Make sure it
23050
23563
is in your PATH or set the PKG_CONFIG environment variable to the full
23054
23567
and GIT_LIBS to avoid the need to call pkg-config.
23055
23568
See the pkg-config man page for more details.
23056
23569
 
23057
 
To get pkg-config, see <http://www.freedesktop.org/software/pkgconfig>.
 
23570
To get pkg-config, see <http://pkg-config.freedesktop.org/>.
23058
23571
See \`config.log' for more details." >&2;}
23059
23572
   { (exit 1); exit 1; }; }
23060
23573
else
23156
23669
and GAILUTIL_LIBS to avoid the need to call pkg-config.
23157
23670
See the pkg-config man page for more details.
23158
23671
 
23159
 
To get pkg-config, see <http://www.freedesktop.org/software/pkgconfig>.
 
23672
To get pkg-config, see <http://pkg-config.freedesktop.org/>.
23160
23673
See \`config.log' for more details." >&5
23161
23674
echo "$as_me: error: The pkg-config script could not be found or is too old.  Make sure it
23162
23675
is in your PATH or set the PKG_CONFIG environment variable to the full
23166
23679
and GAILUTIL_LIBS to avoid the need to call pkg-config.
23167
23680
See the pkg-config man page for more details.
23168
23681
 
23169
 
To get pkg-config, see <http://www.freedesktop.org/software/pkgconfig>.
 
23682
To get pkg-config, see <http://pkg-config.freedesktop.org/>.
23170
23683
See \`config.log' for more details." >&2;}
23171
23684
   { (exit 1); exit 1; }; }
23172
23685
else
23270
23783
and GIO_LIBS to avoid the need to call pkg-config.
23271
23784
See the pkg-config man page for more details.
23272
23785
 
23273
 
To get pkg-config, see <http://www.freedesktop.org/software/pkgconfig>.
 
23786
To get pkg-config, see <http://pkg-config.freedesktop.org/>.
23274
23787
See \`config.log' for more details." >&5
23275
23788
echo "$as_me: error: The pkg-config script could not be found or is too old.  Make sure it
23276
23789
is in your PATH or set the PKG_CONFIG environment variable to the full
23280
23793
and GIO_LIBS to avoid the need to call pkg-config.
23281
23794
See the pkg-config man page for more details.
23282
23795
 
23283
 
To get pkg-config, see <http://www.freedesktop.org/software/pkgconfig>.
 
23796
To get pkg-config, see <http://pkg-config.freedesktop.org/>.
23284
23797
See \`config.log' for more details." >&2;}
23285
23798
   { (exit 1); exit 1; }; }
23286
23799
else
23384
23897
and GTK_LIBS to avoid the need to call pkg-config.
23385
23898
See the pkg-config man page for more details.
23386
23899
 
23387
 
To get pkg-config, see <http://www.freedesktop.org/software/pkgconfig>.
 
23900
To get pkg-config, see <http://pkg-config.freedesktop.org/>.
23388
23901
See \`config.log' for more details." >&5
23389
23902
echo "$as_me: error: The pkg-config script could not be found or is too old.  Make sure it
23390
23903
is in your PATH or set the PKG_CONFIG environment variable to the full
23394
23907
and GTK_LIBS to avoid the need to call pkg-config.
23395
23908
See the pkg-config man page for more details.
23396
23909
 
23397
 
To get pkg-config, see <http://www.freedesktop.org/software/pkgconfig>.
 
23910
To get pkg-config, see <http://pkg-config.freedesktop.org/>.
23398
23911
See \`config.log' for more details." >&2;}
23399
23912
   { (exit 1); exit 1; }; }
23400
23913
else
23498
24011
and GNOME_APPLETS_LIBS to avoid the need to call pkg-config.
23499
24012
See the pkg-config man page for more details.
23500
24013
 
23501
 
To get pkg-config, see <http://www.freedesktop.org/software/pkgconfig>.
 
24014
To get pkg-config, see <http://pkg-config.freedesktop.org/>.
23502
24015
See \`config.log' for more details." >&5
23503
24016
echo "$as_me: error: The pkg-config script could not be found or is too old.  Make sure it
23504
24017
is in your PATH or set the PKG_CONFIG environment variable to the full
23508
24021
and GNOME_APPLETS_LIBS to avoid the need to call pkg-config.
23509
24022
See the pkg-config man page for more details.
23510
24023
 
23511
 
To get pkg-config, see <http://www.freedesktop.org/software/pkgconfig>.
 
24024
To get pkg-config, see <http://pkg-config.freedesktop.org/>.
23512
24025
See \`config.log' for more details." >&2;}
23513
24026
   { (exit 1); exit 1; }; }
23514
24027
else
23612
24125
and GNOME_LIBS2_LIBS to avoid the need to call pkg-config.
23613
24126
See the pkg-config man page for more details.
23614
24127
 
23615
 
To get pkg-config, see <http://www.freedesktop.org/software/pkgconfig>.
 
24128
To get pkg-config, see <http://pkg-config.freedesktop.org/>.
23616
24129
See \`config.log' for more details." >&5
23617
24130
echo "$as_me: error: The pkg-config script could not be found or is too old.  Make sure it
23618
24131
is in your PATH or set the PKG_CONFIG environment variable to the full
23622
24135
and GNOME_LIBS2_LIBS to avoid the need to call pkg-config.
23623
24136
See the pkg-config man page for more details.
23624
24137
 
23625
 
To get pkg-config, see <http://www.freedesktop.org/software/pkgconfig>.
 
24138
To get pkg-config, see <http://pkg-config.freedesktop.org/>.
23626
24139
See \`config.log' for more details." >&2;}
23627
24140
   { (exit 1); exit 1; }; }
23628
24141
else
23726
24239
and GNOMEDESKTOP_LIBS to avoid the need to call pkg-config.
23727
24240
See the pkg-config man page for more details.
23728
24241
 
23729
 
To get pkg-config, see <http://www.freedesktop.org/software/pkgconfig>.
 
24242
To get pkg-config, see <http://pkg-config.freedesktop.org/>.
23730
24243
See \`config.log' for more details." >&5
23731
24244
echo "$as_me: error: The pkg-config script could not be found or is too old.  Make sure it
23732
24245
is in your PATH or set the PKG_CONFIG environment variable to the full
23736
24249
and GNOMEDESKTOP_LIBS to avoid the need to call pkg-config.
23737
24250
See the pkg-config man page for more details.
23738
24251
 
23739
 
To get pkg-config, see <http://www.freedesktop.org/software/pkgconfig>.
 
24252
To get pkg-config, see <http://pkg-config.freedesktop.org/>.
23740
24253
See \`config.log' for more details." >&2;}
23741
24254
   { (exit 1); exit 1; }; }
23742
24255
else
23841
24354
and GNOME_VFS_APPLETS_LIBS to avoid the need to call pkg-config.
23842
24355
See the pkg-config man page for more details.
23843
24356
 
23844
 
To get pkg-config, see <http://www.freedesktop.org/software/pkgconfig>.
 
24357
To get pkg-config, see <http://pkg-config.freedesktop.org/>.
23845
24358
See \`config.log' for more details." >&5
23846
24359
echo "$as_me: error: The pkg-config script could not be found or is too old.  Make sure it
23847
24360
is in your PATH or set the PKG_CONFIG environment variable to the full
23851
24364
and GNOME_VFS_APPLETS_LIBS to avoid the need to call pkg-config.
23852
24365
See the pkg-config man page for more details.
23853
24366
 
23854
 
To get pkg-config, see <http://www.freedesktop.org/software/pkgconfig>.
 
24367
To get pkg-config, see <http://pkg-config.freedesktop.org/>.
23855
24368
See \`config.log' for more details." >&2;}
23856
24369
   { (exit 1); exit 1; }; }
23857
24370
else
23963
24476
and LIBGLADE_LIBS to avoid the need to call pkg-config.
23964
24477
See the pkg-config man page for more details.
23965
24478
 
23966
 
To get pkg-config, see <http://www.freedesktop.org/software/pkgconfig>.
 
24479
To get pkg-config, see <http://pkg-config.freedesktop.org/>.
23967
24480
See \`config.log' for more details." >&5
23968
24481
echo "$as_me: error: The pkg-config script could not be found or is too old.  Make sure it
23969
24482
is in your PATH or set the PKG_CONFIG environment variable to the full
23973
24486
and LIBGLADE_LIBS to avoid the need to call pkg-config.
23974
24487
See the pkg-config man page for more details.
23975
24488
 
23976
 
To get pkg-config, see <http://www.freedesktop.org/software/pkgconfig>.
 
24489
To get pkg-config, see <http://pkg-config.freedesktop.org/>.
23977
24490
See \`config.log' for more details." >&2;}
23978
24491
   { (exit 1); exit 1; }; }
23979
24492
else
24498
25011
and CPUFREQ_SELECTOR_LIBS to avoid the need to call pkg-config.
24499
25012
See the pkg-config man page for more details.
24500
25013
 
24501
 
To get pkg-config, see <http://www.freedesktop.org/software/pkgconfig>.
 
25014
To get pkg-config, see <http://pkg-config.freedesktop.org/>.
24502
25015
See \`config.log' for more details." >&5
24503
25016
echo "$as_me: error: The pkg-config script could not be found or is too old.  Make sure it
24504
25017
is in your PATH or set the PKG_CONFIG environment variable to the full
24508
25021
and CPUFREQ_SELECTOR_LIBS to avoid the need to call pkg-config.
24509
25022
See the pkg-config man page for more details.
24510
25023
 
24511
 
To get pkg-config, see <http://www.freedesktop.org/software/pkgconfig>.
 
25024
To get pkg-config, see <http://pkg-config.freedesktop.org/>.
24512
25025
See \`config.log' for more details." >&2;}
24513
25026
   { (exit 1); exit 1; }; }
24514
25027
else
24971
25484
and LIBGWEATHER_LIBS to avoid the need to call pkg-config.
24972
25485
See the pkg-config man page for more details.
24973
25486
 
24974
 
To get pkg-config, see <http://www.freedesktop.org/software/pkgconfig>.
 
25487
To get pkg-config, see <http://pkg-config.freedesktop.org/>.
24975
25488
See \`config.log' for more details." >&5
24976
25489
echo "$as_me: error: The pkg-config script could not be found or is too old.  Make sure it
24977
25490
is in your PATH or set the PKG_CONFIG environment variable to the full
24981
25494
and LIBGWEATHER_LIBS to avoid the need to call pkg-config.
24982
25495
See the pkg-config man page for more details.
24983
25496
 
24984
 
To get pkg-config, see <http://www.freedesktop.org/software/pkgconfig>.
 
25497
To get pkg-config, see <http://pkg-config.freedesktop.org/>.
24985
25498
See \`config.log' for more details." >&2;}
24986
25499
   { (exit 1); exit 1; }; }
24987
25500
else
29630
30143
# report actual input values of CONFIG_FILES etc. instead of their
29631
30144
# values after options handling.
29632
30145
ac_log="
29633
 
This file was extended by gnome-applets $as_me 2.22.1, which was
 
30146
This file was extended by gnome-applets $as_me 2.22.2, which was
29634
30147
generated by GNU Autoconf 2.61.  Invocation command line was
29635
30148
 
29636
30149
  CONFIG_FILES    = $CONFIG_FILES
29683
30196
_ACEOF
29684
30197
cat >>$CONFIG_STATUS <<_ACEOF
29685
30198
ac_cs_version="\\
29686
 
gnome-applets config.status 2.22.1
 
30199
gnome-applets config.status 2.22.2
29687
30200
configured by $0, generated by GNU Autoconf 2.61,
29688
30201
  with options \\"`echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`\\"
29689
30202
 
30078
30591
host_cpu!$host_cpu$ac_delim
30079
30592
host_vendor!$host_vendor$ac_delim
30080
30593
host_os!$host_os$ac_delim
 
30594
SED!$SED$ac_delim
30081
30595
LN_S!$LN_S$ac_delim
30082
30596
ECHO!$ECHO$ac_delim
30083
30597
AR!$AR$ac_delim
30084
30598
RANLIB!$RANLIB$ac_delim
 
30599
DSYMUTIL!$DSYMUTIL$ac_delim
 
30600
NMEDIT!$NMEDIT$ac_delim
30085
30601
CXX!$CXX$ac_delim
30086
30602
CXXFLAGS!$CXXFLAGS$ac_delim
30087
30603
ac_ct_CXX!$ac_ct_CXX$ac_delim
30151
30667
HAL_CFLAGS!$HAL_CFLAGS$ac_delim
30152
30668
HAL_LIBS!$HAL_LIBS$ac_delim
30153
30669
GUCHARMAP_CFLAGS!$GUCHARMAP_CFLAGS$ac_delim
 
30670
_ACEOF
 
30671
 
 
30672
  if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 97; then
 
30673
    break
 
30674
  elif $ac_last_try; then
 
30675
    { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
 
30676
echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
 
30677
   { (exit 1); exit 1; }; }
 
30678
  else
 
30679
    ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
 
30680
  fi
 
30681
done
 
30682
 
 
30683
ac_eof=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
 
30684
if test -n "$ac_eof"; then
 
30685
  ac_eof=`echo "$ac_eof" | sort -nru | sed 1q`
 
30686
  ac_eof=`expr $ac_eof + 1`
 
30687
fi
 
30688
 
 
30689
cat >>$CONFIG_STATUS <<_ACEOF
 
30690
cat >"\$tmp/subs-2.sed" <<\CEOF$ac_eof
 
30691
/@[a-zA-Z_][a-zA-Z_0-9]*@/!b
 
30692
_ACEOF
 
30693
sed '
 
30694
s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
 
30695
s/^/s,@/; s/!/@,|#_!!_#|/
 
30696
:n
 
30697
t n
 
30698
s/'"$ac_delim"'$/,g/; t
 
30699
s/$/\\/; p
 
30700
N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
 
30701
' >>$CONFIG_STATUS <conf$$subs.sed
 
30702
rm -f conf$$subs.sed
 
30703
cat >>$CONFIG_STATUS <<_ACEOF
 
30704
CEOF$ac_eof
 
30705
_ACEOF
 
30706
 
 
30707
 
 
30708
ac_delim='%!_!# '
 
30709
for ac_last_try in false false false false false :; do
 
30710
  cat >conf$$subs.sed <<_ACEOF
30154
30711
GUCHARMAP_LIBS!$GUCHARMAP_LIBS$ac_delim
30155
30712
PYGTK_CFLAGS!$PYGTK_CFLAGS$ac_delim
30156
30713
PYGTK_LIBS!$PYGTK_LIBS$ac_delim
30157
 
_ACEOF
30158
 
 
30159
 
  if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 97; then
30160
 
    break
30161
 
  elif $ac_last_try; then
30162
 
    { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
30163
 
echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
30164
 
   { (exit 1); exit 1; }; }
30165
 
  else
30166
 
    ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
30167
 
  fi
30168
 
done
30169
 
 
30170
 
ac_eof=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
30171
 
if test -n "$ac_eof"; then
30172
 
  ac_eof=`echo "$ac_eof" | sort -nru | sed 1q`
30173
 
  ac_eof=`expr $ac_eof + 1`
30174
 
fi
30175
 
 
30176
 
cat >>$CONFIG_STATUS <<_ACEOF
30177
 
cat >"\$tmp/subs-2.sed" <<\CEOF$ac_eof
30178
 
/@[a-zA-Z_][a-zA-Z_0-9]*@/!b
30179
 
_ACEOF
30180
 
sed '
30181
 
s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
30182
 
s/^/s,@/; s/!/@,|#_!!_#|/
30183
 
:n
30184
 
t n
30185
 
s/'"$ac_delim"'$/,g/; t
30186
 
s/$/\\/; p
30187
 
N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
30188
 
' >>$CONFIG_STATUS <conf$$subs.sed
30189
 
rm -f conf$$subs.sed
30190
 
cat >>$CONFIG_STATUS <<_ACEOF
30191
 
CEOF$ac_eof
30192
 
_ACEOF
30193
 
 
30194
 
 
30195
 
ac_delim='%!_!# '
30196
 
for ac_last_try in false false false false false :; do
30197
 
  cat >conf$$subs.sed <<_ACEOF
30198
30714
LIBGWEATHER_CFLAGS!$LIBGWEATHER_CFLAGS$ac_delim
30199
30715
LIBGWEATHER_LIBS!$LIBGWEATHER_LIBS$ac_delim
30200
30716
GDK_PIXBUF_CSOURCE!$GDK_PIXBUF_CSOURCE$ac_delim
30289
30805
SYSCONFDIR!$SYSCONFDIR$ac_delim
30290
30806
LIBDIR!$LIBDIR$ac_delim
30291
30807
PREFIX!$PREFIX$ac_delim
 
30808
_ACEOF
 
30809
 
 
30810
  if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 97; then
 
30811
    break
 
30812
  elif $ac_last_try; then
 
30813
    { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
 
30814
echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
 
30815
   { (exit 1); exit 1; }; }
 
30816
  else
 
30817
    ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
 
30818
  fi
 
30819
done
 
30820
 
 
30821
ac_eof=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
 
30822
if test -n "$ac_eof"; then
 
30823
  ac_eof=`echo "$ac_eof" | sort -nru | sed 1q`
 
30824
  ac_eof=`expr $ac_eof + 1`
 
30825
fi
 
30826
 
 
30827
cat >>$CONFIG_STATUS <<_ACEOF
 
30828
cat >"\$tmp/subs-3.sed" <<\CEOF$ac_eof
 
30829
/@[a-zA-Z_][a-zA-Z_0-9]*@/!b
 
30830
_ACEOF
 
30831
sed '
 
30832
s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
 
30833
s/^/s,@/; s/!/@,|#_!!_#|/
 
30834
:n
 
30835
t n
 
30836
s/'"$ac_delim"'$/,g/; t
 
30837
s/$/\\/; p
 
30838
N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
 
30839
' >>$CONFIG_STATUS <conf$$subs.sed
 
30840
rm -f conf$$subs.sed
 
30841
cat >>$CONFIG_STATUS <<_ACEOF
 
30842
CEOF$ac_eof
 
30843
_ACEOF
 
30844
 
 
30845
 
 
30846
ac_delim='%!_!# '
 
30847
for ac_last_try in false false false false false :; do
 
30848
  cat >conf$$subs.sed <<_ACEOF
30292
30849
PYTHONDIR!$PYTHONDIR$ac_delim
30293
30850
GLADEDIR!$GLADEDIR$ac_delim
30294
30851
LIBOBJS!$LIBOBJS$ac_delim
30295
 
_ACEOF
30296
 
 
30297
 
  if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 97; then
30298
 
    break
30299
 
  elif $ac_last_try; then
30300
 
    { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
30301
 
echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
30302
 
   { (exit 1); exit 1; }; }
30303
 
  else
30304
 
    ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
30305
 
  fi
30306
 
done
30307
 
 
30308
 
ac_eof=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
30309
 
if test -n "$ac_eof"; then
30310
 
  ac_eof=`echo "$ac_eof" | sort -nru | sed 1q`
30311
 
  ac_eof=`expr $ac_eof + 1`
30312
 
fi
30313
 
 
30314
 
cat >>$CONFIG_STATUS <<_ACEOF
30315
 
cat >"\$tmp/subs-3.sed" <<\CEOF$ac_eof
30316
 
/@[a-zA-Z_][a-zA-Z_0-9]*@/!b
30317
 
_ACEOF
30318
 
sed '
30319
 
s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
30320
 
s/^/s,@/; s/!/@,|#_!!_#|/
30321
 
:n
30322
 
t n
30323
 
s/'"$ac_delim"'$/,g/; t
30324
 
s/$/\\/; p
30325
 
N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
30326
 
' >>$CONFIG_STATUS <conf$$subs.sed
30327
 
rm -f conf$$subs.sed
30328
 
cat >>$CONFIG_STATUS <<_ACEOF
30329
 
CEOF$ac_eof
30330
 
_ACEOF
30331
 
 
30332
 
 
30333
 
ac_delim='%!_!# '
30334
 
for ac_last_try in false false false false false :; do
30335
 
  cat >conf$$subs.sed <<_ACEOF
30336
30852
LTLIBOBJS!$LTLIBOBJS$ac_delim
30337
30853
_ACEOF
30338
30854
 
30339
 
  if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 1; then
 
30855
  if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 4; then
30340
30856
    break
30341
30857
  elif $ac_last_try; then
30342
30858
    { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
30737
31253
  fi
30738
31254
  rm -f "$tmp/out12"
30739
31255
# Compute $ac_file's index in $config_headers.
 
31256
_am_arg=$ac_file
30740
31257
_am_stamp_count=1
30741
31258
for _am_header in $config_headers :; do
30742
31259
  case $_am_header in
30743
 
    $ac_file | $ac_file:* )
 
31260
    $_am_arg | $_am_arg:* )
30744
31261
      break ;;
30745
31262
    * )
30746
31263
      _am_stamp_count=`expr $_am_stamp_count + 1` ;;
30747
31264
  esac
30748
31265
done
30749
 
echo "timestamp for $ac_file" >`$as_dirname -- $ac_file ||
30750
 
$as_expr X$ac_file : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
30751
 
         X$ac_file : 'X\(//\)[^/]' \| \
30752
 
         X$ac_file : 'X\(//\)$' \| \
30753
 
         X$ac_file : 'X\(/\)' \| . 2>/dev/null ||
30754
 
echo X$ac_file |
 
31266
echo "timestamp for $_am_arg" >`$as_dirname -- "$_am_arg" ||
 
31267
$as_expr X"$_am_arg" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
 
31268
         X"$_am_arg" : 'X\(//\)[^/]' \| \
 
31269
         X"$_am_arg" : 'X\(//\)$' \| \
 
31270
         X"$_am_arg" : 'X\(/\)' \| . 2>/dev/null ||
 
31271
echo X"$_am_arg" |
30755
31272
    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
30756
31273
            s//\1/
30757
31274
            q
30788
31305
  # each Makefile.in and add a new line on top of each file to say so.
30789
31306
  # Grep'ing the whole file is not good either: AIX grep has a line
30790
31307
  # limit of 2048, but all sed's we know have understand at least 4000.
30791
 
  if sed 10q "$mf" | grep '^#.*generated by automake' > /dev/null 2>&1; then
 
31308
  if sed -n 's,^#.*generated by automake.*,X,p' "$mf" | grep X >/dev/null 2>&1; then
30792
31309
    dirpart=`$as_dirname -- "$mf" ||
30793
31310
$as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
30794
31311
         X"$mf" : 'X\(//\)[^/]' \| \