~ubuntu-branches/ubuntu/karmic/blam/karmic

« back to all changes in this revision

Viewing changes to configure

  • Committer: Bazaar Package Importer
  • Author(s): Andres Rodriguez
  • Date: 2008-08-17 23:16:06 UTC
  • mfrom: (1.1.5 upstream) (2.1.2 sid)
  • Revision ID: james.westby@ubuntu.com-20080817231606-v22d33d14983zg7k
Tags: 1.8.5-1ubuntu1
* Merge from debian unstable (LP: #226670), remaining changes:
  - xulrunner 1.9 + dependent sharp
    + debian/control: raise build-depends bar to libgecko2.0-cil (>= 0.11)
    + make use of standalone glue for C++ code and dependent gecko sharp 
      module for C# parts; fixup configure.in accordingly
      - add debian/patches/10_xul1.9.patch
  - Added debian/patches/PlanetUbuntu.patch
* Updated rerun autools patch:
  - debian/patches/99_autotools_rerun.patch
* debian/rules: Added configure flag to pass libxul-embedding-unstable 
  as default, Fixes build-bustage.

Show diffs side-by-side

added added

removed removed

Lines of Context:
858
858
INTLTOOL_SCHEMAS_RULE
859
859
INTLTOOL_THEME_RULE
860
860
INTLTOOL_SERVICE_RULE
 
861
INTLTOOL_POLICY_RULE
 
862
XGETTEXT
 
863
MSGMERGE
 
864
MSGFMT
861
865
INTLTOOL_EXTRACT
862
866
INTLTOOL_MERGE
863
867
INTLTOOL_UPDATE
864
868
INTLTOOL_PERL
865
 
INTLTOOL_ICONV
866
 
INTLTOOL_MSGFMT
867
 
INTLTOOL_MSGMERGE
868
 
INTLTOOL_XGETTEXT
869
869
ALL_LINGUAS
870
870
CC
871
871
CFLAGS
893
893
CPP
894
894
GREP
895
895
EGREP
 
896
SED
896
897
LN_S
897
898
ECHO
898
899
AR
899
900
RANLIB
 
901
DSYMUTIL
 
902
NMEDIT
900
903
CXXCPP
901
904
F77
902
905
FFLAGS
933
936
LIBBLAM_LIBS
934
937
GETTEXT_PACKAGE
935
938
USE_NLS
936
 
MSGFMT
 
939
MSGFMT_OPTS
937
940
GMSGFMT
938
 
XGETTEXT
939
941
CATALOGS
940
942
CATOBJEXT
941
943
GMOFILES
2475
2477
 
2476
2478
# Define the identity of the package.
2477
2479
 PACKAGE=blam
2478
 
 VERSION=1.8.4
 
2480
 VERSION=1.8.5
2479
2481
 
2480
2482
 
2481
2483
cat >>confdefs.h <<_ACEOF
3788
3790
  INTLTOOL_SCHEMAS_RULE='%.schemas:   %.schemas.in   $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; LC_ALL=C $(INTLTOOL_MERGE) -s -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@'
3789
3791
    INTLTOOL_THEME_RULE='%.theme:     %.theme.in     $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; LC_ALL=C $(INTLTOOL_MERGE) -d -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@'
3790
3792
    INTLTOOL_SERVICE_RULE='%.service: %.service.in   $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; LC_ALL=C $(INTLTOOL_MERGE) -d -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@'
3791
 
 
3792
 
 
3793
 
 
3794
 
 
3795
 
 
3796
 
 
3797
 
 
3798
 
 
3799
 
 
3800
 
 
3801
 
 
3802
 
 
3803
 
 
3804
 
 
3805
 
 
3806
 
 
3807
 
 
3808
 
 
3809
 
 
 
3793
   INTLTOOL_POLICY_RULE='%.policy:    %.policy.in    $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; LC_ALL=C $(INTLTOOL_MERGE) -x -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@'
 
3794
 
 
3795
 
 
3796
 
 
3797
 
 
3798
 
 
3799
 
 
3800
 
 
3801
 
 
3802
 
 
3803
 
 
3804
 
 
3805
 
 
3806
 
 
3807
 
 
3808
 
 
3809
 
 
3810
 
 
3811
 
 
3812
 
 
3813
 
 
3814
 
 
3815
# Check the gettext tools to make sure they are GNU
 
3816
# Extract the first word of "xgettext", so it can be a program name with args.
 
3817
set dummy xgettext; ac_word=$2
 
3818
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
 
3819
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
 
3820
if test "${ac_cv_path_XGETTEXT+set}" = set; then
 
3821
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
3822
else
 
3823
  case $XGETTEXT in
 
3824
  [\\/]* | ?:[\\/]*)
 
3825
  ac_cv_path_XGETTEXT="$XGETTEXT" # Let the user override the test with a path.
 
3826
  ;;
 
3827
  *)
 
3828
  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
3829
for as_dir in $PATH
 
3830
do
 
3831
  IFS=$as_save_IFS
 
3832
  test -z "$as_dir" && as_dir=.
 
3833
  for ac_exec_ext in '' $ac_executable_extensions; do
 
3834
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 
3835
    ac_cv_path_XGETTEXT="$as_dir/$ac_word$ac_exec_ext"
 
3836
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
3837
    break 2
 
3838
  fi
 
3839
done
 
3840
done
 
3841
IFS=$as_save_IFS
 
3842
 
 
3843
  ;;
 
3844
esac
 
3845
fi
 
3846
XGETTEXT=$ac_cv_path_XGETTEXT
 
3847
if test -n "$XGETTEXT"; then
 
3848
  { echo "$as_me:$LINENO: result: $XGETTEXT" >&5
 
3849
echo "${ECHO_T}$XGETTEXT" >&6; }
 
3850
else
 
3851
  { echo "$as_me:$LINENO: result: no" >&5
 
3852
echo "${ECHO_T}no" >&6; }
 
3853
fi
 
3854
 
 
3855
 
 
3856
# Extract the first word of "msgmerge", so it can be a program name with args.
 
3857
set dummy msgmerge; ac_word=$2
 
3858
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
 
3859
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
 
3860
if test "${ac_cv_path_MSGMERGE+set}" = set; then
 
3861
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
3862
else
 
3863
  case $MSGMERGE in
 
3864
  [\\/]* | ?:[\\/]*)
 
3865
  ac_cv_path_MSGMERGE="$MSGMERGE" # Let the user override the test with a path.
 
3866
  ;;
 
3867
  *)
 
3868
  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
3869
for as_dir in $PATH
 
3870
do
 
3871
  IFS=$as_save_IFS
 
3872
  test -z "$as_dir" && as_dir=.
 
3873
  for ac_exec_ext in '' $ac_executable_extensions; do
 
3874
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 
3875
    ac_cv_path_MSGMERGE="$as_dir/$ac_word$ac_exec_ext"
 
3876
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
3877
    break 2
 
3878
  fi
 
3879
done
 
3880
done
 
3881
IFS=$as_save_IFS
 
3882
 
 
3883
  ;;
 
3884
esac
 
3885
fi
 
3886
MSGMERGE=$ac_cv_path_MSGMERGE
 
3887
if test -n "$MSGMERGE"; then
 
3888
  { echo "$as_me:$LINENO: result: $MSGMERGE" >&5
 
3889
echo "${ECHO_T}$MSGMERGE" >&6; }
 
3890
else
 
3891
  { echo "$as_me:$LINENO: result: no" >&5
 
3892
echo "${ECHO_T}no" >&6; }
 
3893
fi
 
3894
 
 
3895
 
 
3896
# Extract the first word of "msgfmt", so it can be a program name with args.
 
3897
set dummy msgfmt; ac_word=$2
 
3898
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
 
3899
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
 
3900
if test "${ac_cv_path_MSGFMT+set}" = set; then
 
3901
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
3902
else
 
3903
  case $MSGFMT in
 
3904
  [\\/]* | ?:[\\/]*)
 
3905
  ac_cv_path_MSGFMT="$MSGFMT" # Let the user override the test with a path.
 
3906
  ;;
 
3907
  *)
 
3908
  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
3909
for as_dir in $PATH
 
3910
do
 
3911
  IFS=$as_save_IFS
 
3912
  test -z "$as_dir" && as_dir=.
 
3913
  for ac_exec_ext in '' $ac_executable_extensions; do
 
3914
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 
3915
    ac_cv_path_MSGFMT="$as_dir/$ac_word$ac_exec_ext"
 
3916
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
3917
    break 2
 
3918
  fi
 
3919
done
 
3920
done
 
3921
IFS=$as_save_IFS
 
3922
 
 
3923
  ;;
 
3924
esac
 
3925
fi
 
3926
MSGFMT=$ac_cv_path_MSGFMT
 
3927
if test -n "$MSGFMT"; then
 
3928
  { echo "$as_me:$LINENO: result: $MSGFMT" >&5
 
3929
echo "${ECHO_T}$MSGFMT" >&6; }
 
3930
else
 
3931
  { echo "$as_me:$LINENO: result: no" >&5
 
3932
echo "${ECHO_T}no" >&6; }
 
3933
fi
 
3934
 
 
3935
 
 
3936
if test -z "$XGETTEXT" -o -z "$MSGMERGE" -o -z "$MSGFMT"; then
 
3937
    { { echo "$as_me:$LINENO: error: GNU gettext tools not found; required for intltool" >&5
 
3938
echo "$as_me: error: GNU gettext tools not found; required for intltool" >&2;}
 
3939
   { (exit 1); exit 1; }; }
 
3940
fi
 
3941
xgversion="`$XGETTEXT --version|grep '(GNU ' 2> /dev/null`"
 
3942
mmversion="`$MSGMERGE --version|grep '(GNU ' 2> /dev/null`"
 
3943
mfversion="`$MSGFMT --version|grep '(GNU ' 2> /dev/null`"
 
3944
if test -z "$xgversion" -o -z "$mmversion" -o -z "$mfversion"; then
 
3945
    { { echo "$as_me:$LINENO: error: GNU gettext tools not found; required for intltool" >&5
 
3946
echo "$as_me: error: GNU gettext tools not found; required for intltool" >&2;}
 
3947
   { (exit 1); exit 1; }; }
 
3948
fi
3810
3949
 
3811
3950
# Use the tools built into the package, not the ones that are installed.
3812
3951
INTLTOOL_EXTRACT='$(top_builddir)/intltool-extract'
3879
4018
   fi
3880
4019
fi
3881
4020
 
3882
 
# Extract the first word of "iconv", so it can be a program name with args.
3883
 
set dummy iconv; ac_word=$2
3884
 
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
3885
 
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
3886
 
if test "${ac_cv_path_INTLTOOL_ICONV+set}" = set; then
3887
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
3888
 
else
3889
 
  case $INTLTOOL_ICONV in
3890
 
  [\\/]* | ?:[\\/]*)
3891
 
  ac_cv_path_INTLTOOL_ICONV="$INTLTOOL_ICONV" # Let the user override the test with a path.
3892
 
  ;;
3893
 
  *)
3894
 
  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3895
 
for as_dir in $PATH
3896
 
do
3897
 
  IFS=$as_save_IFS
3898
 
  test -z "$as_dir" && as_dir=.
3899
 
  for ac_exec_ext in '' $ac_executable_extensions; do
3900
 
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3901
 
    ac_cv_path_INTLTOOL_ICONV="$as_dir/$ac_word$ac_exec_ext"
3902
 
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3903
 
    break 2
3904
 
  fi
3905
 
done
3906
 
done
3907
 
IFS=$as_save_IFS
3908
 
 
3909
 
  test -z "$ac_cv_path_INTLTOOL_ICONV" && ac_cv_path_INTLTOOL_ICONV="iconv"
3910
 
  ;;
3911
 
esac
3912
 
fi
3913
 
INTLTOOL_ICONV=$ac_cv_path_INTLTOOL_ICONV
3914
 
if test -n "$INTLTOOL_ICONV"; then
3915
 
  { echo "$as_me:$LINENO: result: $INTLTOOL_ICONV" >&5
3916
 
echo "${ECHO_T}$INTLTOOL_ICONV" >&6; }
3917
 
else
3918
 
  { echo "$as_me:$LINENO: result: no" >&5
3919
 
echo "${ECHO_T}no" >&6; }
3920
 
fi
3921
 
 
3922
 
 
3923
 
# Extract the first word of "msgfmt", so it can be a program name with args.
3924
 
set dummy msgfmt; ac_word=$2
3925
 
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
3926
 
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
3927
 
if test "${ac_cv_path_INTLTOOL_MSGFMT+set}" = set; then
3928
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
3929
 
else
3930
 
  case $INTLTOOL_MSGFMT in
3931
 
  [\\/]* | ?:[\\/]*)
3932
 
  ac_cv_path_INTLTOOL_MSGFMT="$INTLTOOL_MSGFMT" # Let the user override the test with a path.
3933
 
  ;;
3934
 
  *)
3935
 
  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3936
 
for as_dir in $PATH
3937
 
do
3938
 
  IFS=$as_save_IFS
3939
 
  test -z "$as_dir" && as_dir=.
3940
 
  for ac_exec_ext in '' $ac_executable_extensions; do
3941
 
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3942
 
    ac_cv_path_INTLTOOL_MSGFMT="$as_dir/$ac_word$ac_exec_ext"
3943
 
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3944
 
    break 2
3945
 
  fi
3946
 
done
3947
 
done
3948
 
IFS=$as_save_IFS
3949
 
 
3950
 
  test -z "$ac_cv_path_INTLTOOL_MSGFMT" && ac_cv_path_INTLTOOL_MSGFMT="msgfmt"
3951
 
  ;;
3952
 
esac
3953
 
fi
3954
 
INTLTOOL_MSGFMT=$ac_cv_path_INTLTOOL_MSGFMT
3955
 
if test -n "$INTLTOOL_MSGFMT"; then
3956
 
  { echo "$as_me:$LINENO: result: $INTLTOOL_MSGFMT" >&5
3957
 
echo "${ECHO_T}$INTLTOOL_MSGFMT" >&6; }
3958
 
else
3959
 
  { echo "$as_me:$LINENO: result: no" >&5
3960
 
echo "${ECHO_T}no" >&6; }
3961
 
fi
3962
 
 
3963
 
 
3964
 
# Extract the first word of "msgmerge", so it can be a program name with args.
3965
 
set dummy msgmerge; ac_word=$2
3966
 
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
3967
 
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
3968
 
if test "${ac_cv_path_INTLTOOL_MSGMERGE+set}" = set; then
3969
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
3970
 
else
3971
 
  case $INTLTOOL_MSGMERGE in
3972
 
  [\\/]* | ?:[\\/]*)
3973
 
  ac_cv_path_INTLTOOL_MSGMERGE="$INTLTOOL_MSGMERGE" # Let the user override the test with a path.
3974
 
  ;;
3975
 
  *)
3976
 
  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3977
 
for as_dir in $PATH
3978
 
do
3979
 
  IFS=$as_save_IFS
3980
 
  test -z "$as_dir" && as_dir=.
3981
 
  for ac_exec_ext in '' $ac_executable_extensions; do
3982
 
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3983
 
    ac_cv_path_INTLTOOL_MSGMERGE="$as_dir/$ac_word$ac_exec_ext"
3984
 
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3985
 
    break 2
3986
 
  fi
3987
 
done
3988
 
done
3989
 
IFS=$as_save_IFS
3990
 
 
3991
 
  test -z "$ac_cv_path_INTLTOOL_MSGMERGE" && ac_cv_path_INTLTOOL_MSGMERGE="msgmerge"
3992
 
  ;;
3993
 
esac
3994
 
fi
3995
 
INTLTOOL_MSGMERGE=$ac_cv_path_INTLTOOL_MSGMERGE
3996
 
if test -n "$INTLTOOL_MSGMERGE"; then
3997
 
  { echo "$as_me:$LINENO: result: $INTLTOOL_MSGMERGE" >&5
3998
 
echo "${ECHO_T}$INTLTOOL_MSGMERGE" >&6; }
3999
 
else
4000
 
  { echo "$as_me:$LINENO: result: no" >&5
4001
 
echo "${ECHO_T}no" >&6; }
4002
 
fi
4003
 
 
4004
 
 
4005
 
# Extract the first word of "xgettext", so it can be a program name with args.
4006
 
set dummy xgettext; ac_word=$2
4007
 
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
4008
 
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
4009
 
if test "${ac_cv_path_INTLTOOL_XGETTEXT+set}" = set; then
4010
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
4011
 
else
4012
 
  case $INTLTOOL_XGETTEXT in
4013
 
  [\\/]* | ?:[\\/]*)
4014
 
  ac_cv_path_INTLTOOL_XGETTEXT="$INTLTOOL_XGETTEXT" # Let the user override the test with a path.
4015
 
  ;;
4016
 
  *)
4017
 
  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4018
 
for as_dir in $PATH
4019
 
do
4020
 
  IFS=$as_save_IFS
4021
 
  test -z "$as_dir" && as_dir=.
4022
 
  for ac_exec_ext in '' $ac_executable_extensions; do
4023
 
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4024
 
    ac_cv_path_INTLTOOL_XGETTEXT="$as_dir/$ac_word$ac_exec_ext"
4025
 
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4026
 
    break 2
4027
 
  fi
4028
 
done
4029
 
done
4030
 
IFS=$as_save_IFS
4031
 
 
4032
 
  test -z "$ac_cv_path_INTLTOOL_XGETTEXT" && ac_cv_path_INTLTOOL_XGETTEXT="xgettext"
4033
 
  ;;
4034
 
esac
4035
 
fi
4036
 
INTLTOOL_XGETTEXT=$ac_cv_path_INTLTOOL_XGETTEXT
4037
 
if test -n "$INTLTOOL_XGETTEXT"; then
4038
 
  { echo "$as_me:$LINENO: result: $INTLTOOL_XGETTEXT" >&5
4039
 
echo "${ECHO_T}$INTLTOOL_XGETTEXT" >&6; }
4040
 
else
4041
 
  { echo "$as_me:$LINENO: result: no" >&5
4042
 
echo "${ECHO_T}no" >&6; }
4043
 
fi
4044
 
 
4045
 
 
4046
 
 
4047
4021
# Substitute ALL_LINGUAS so we can use it in po/Makefile
4048
4022
 
4049
4023
 
4061
4035
main ()
4062
4036
{
4063
4037
extern int _nl_msg_cat_cntr;
4064
 
                 return _nl_msg_cat_cntr
 
4038
                       return _nl_msg_cat_cntr
4065
4039
  ;
4066
4040
  return 0;
4067
4041
}
6192
6166
  test -z "$as_dir" && as_dir=.
6193
6167
  for lt_ac_prog in sed gsed; do
6194
6168
    for ac_exec_ext in '' $ac_executable_extensions; do
6195
 
      if $as_executable_p "$as_dir/$lt_ac_prog$ac_exec_ext"; then
 
6169
      if { test -f "$as_dir/$lt_ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$lt_ac_prog$ac_exec_ext"; }; then
6196
6170
        lt_ac_sed_list="$lt_ac_sed_list $as_dir/$lt_ac_prog$ac_exec_ext"
6197
6171
      fi
6198
6172
    done
6199
6173
  done
6200
6174
done
 
6175
IFS=$as_save_IFS
6201
6176
lt_ac_max=0
6202
6177
lt_ac_count=0
6203
6178
# Add /usr/xpg4/bin/sed as it is typically found on Solaris
6232
6207
fi
6233
6208
 
6234
6209
SED=$lt_cv_path_SED
 
6210
 
6235
6211
{ echo "$as_me:$LINENO: result: $SED" >&5
6236
6212
echo "${ECHO_T}$SED" >&6; }
6237
6213
 
6431
6407
echo "${ECHO_T}no, using $LN_S" >&6; }
6432
6408
fi
6433
6409
 
6434
 
{ echo "$as_me:$LINENO: checking how to recognise dependent libraries" >&5
6435
 
echo $ECHO_N "checking how to recognise dependent libraries... $ECHO_C" >&6; }
 
6410
{ echo "$as_me:$LINENO: checking how to recognize dependent libraries" >&5
 
6411
echo $ECHO_N "checking how to recognize dependent libraries... $ECHO_C" >&6; }
6436
6412
if test "${lt_cv_deplibs_check_method+set}" = set; then
6437
6413
  echo $ECHO_N "(cached) $ECHO_C" >&6
6438
6414
else
6451
6427
# whether `pass_all' will *always* work, you probably want this one.
6452
6428
 
6453
6429
case $host_os in
6454
 
aix4* | aix5*)
 
6430
aix[4-9]*)
6455
6431
  lt_cv_deplibs_check_method=pass_all
6456
6432
  ;;
6457
6433
 
6473
6449
 
6474
6450
mingw* | pw32*)
6475
6451
  # Base MSYS/MinGW do not provide the 'file' command needed by
6476
 
  # func_win32_libid shell function, so use a weaker test based on 'objdump'.
6477
 
  lt_cv_deplibs_check_method='file_magic file format pei*-i386(.*architecture: i386)?'
6478
 
  lt_cv_file_magic_cmd='$OBJDUMP -f'
 
6452
  # func_win32_libid shell function, so use a weaker test based on 'objdump',
 
6453
  # unless we find 'file', for example because we are cross-compiling.
 
6454
  if ( file / ) >/dev/null 2>&1; then
 
6455
    lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
 
6456
    lt_cv_file_magic_cmd='func_win32_libid'
 
6457
  else
 
6458
    lt_cv_deplibs_check_method='file_magic file format pei*-i386(.*architecture: i386)?'
 
6459
    lt_cv_file_magic_cmd='$OBJDUMP -f'
 
6460
  fi
6479
6461
  ;;
6480
6462
 
6481
6463
darwin* | rhapsody*)
6520
6502
  esac
6521
6503
  ;;
6522
6504
 
6523
 
interix3*)
 
6505
interix[3-9]*)
6524
6506
  # PIC code is broken on Interix 3.x, that's why |\.a not |_pic\.a here
6525
6507
  lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|\.a)$'
6526
6508
  ;;
6570
6552
  lt_cv_deplibs_check_method=pass_all
6571
6553
  ;;
6572
6554
 
 
6555
rdos*)
 
6556
  lt_cv_deplibs_check_method=pass_all
 
6557
  ;;
 
6558
 
6573
6559
solaris*)
6574
6560
  lt_cv_deplibs_check_method=pass_all
6575
6561
  ;;
6656
6642
  ;;
6657
6643
*-*-irix6*)
6658
6644
  # Find out which ABI we are using.
6659
 
  echo '#line 6659 "configure"' > conftest.$ac_ext
 
6645
  echo '#line 6645 "configure"' > conftest.$ac_ext
6660
6646
  if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6661
6647
  (eval $ac_compile) 2>&5
6662
6648
  ac_status=$?
6691
6677
  rm -rf conftest*
6692
6678
  ;;
6693
6679
 
6694
 
x86_64-*linux*|ppc*-*linux*|powerpc*-*linux*|s390*-*linux*|sparc*-*linux*)
 
6680
x86_64-*kfreebsd*-gnu|x86_64-*linux*|ppc*-*linux*|powerpc*-*linux*| \
 
6681
s390*-*linux*|sparc*-*linux*)
6695
6682
  # Find out which ABI we are using.
6696
6683
  echo 'int i;' > conftest.$ac_ext
6697
6684
  if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6702
6689
    case `/usr/bin/file conftest.o` in
6703
6690
    *32-bit*)
6704
6691
      case $host in
 
6692
        x86_64-*kfreebsd*-gnu)
 
6693
          LD="${LD-ld} -m elf_i386_fbsd"
 
6694
          ;;
6705
6695
        x86_64-*linux*)
6706
6696
          LD="${LD-ld} -m elf_i386"
6707
6697
          ;;
6718
6708
      ;;
6719
6709
    *64-bit*)
6720
6710
      case $host in
 
6711
        x86_64-*kfreebsd*-gnu)
 
6712
          LD="${LD-ld} -m elf_x86_64_fbsd"
 
6713
          ;;
6721
6714
        x86_64-*linux*)
6722
6715
          LD="${LD-ld} -m elf_x86_64"
6723
6716
          ;;
6821
6814
    *64-bit*)
6822
6815
      case $lt_cv_prog_gnu_ld in
6823
6816
      yes*) LD="${LD-ld} -m elf64_sparc" ;;
6824
 
      *)    LD="${LD-ld} -64" ;;
 
6817
      *)
 
6818
        if ${LD-ld} -64 -r -o conftest2.o conftest.o >/dev/null 2>&1; then
 
6819
          LD="${LD-ld} -64"
 
6820
        fi
 
6821
        ;;
6825
6822
      esac
6826
6823
      ;;
6827
6824
    esac
7541
7538
 
7542
7539
 
7543
7540
# Autoconf 2.13's AC_OBJEXT and AC_EXEEXT macros only works for C compilers!
7544
 
 
7545
7541
# find the maximum length of command line arguments
7546
7542
{ echo "$as_me:$LINENO: checking the maximum length of command line arguments" >&5
7547
7543
echo $ECHO_N "checking the maximum length of command line arguments... $ECHO_C" >&6; }
7628
7624
    fi
7629
7625
    ;;
7630
7626
  *)
7631
 
    # If test is not a shell built-in, we'll probably end up computing a
7632
 
    # maximum length that is only half of the actual maximum length, but
7633
 
    # we can't tell.
7634
 
    SHELL=${SHELL-${CONFIG_SHELL-/bin/sh}}
7635
 
    while (test "X"`$SHELL $0 --fallback-echo "X$teststring" 2>/dev/null` \
 
7627
    lt_cv_sys_max_cmd_len=`(getconf ARG_MAX) 2> /dev/null`
 
7628
    if test -n "$lt_cv_sys_max_cmd_len"; then
 
7629
      lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
 
7630
      lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
 
7631
    else
 
7632
      SHELL=${SHELL-${CONFIG_SHELL-/bin/sh}}
 
7633
      while (test "X"`$SHELL $0 --fallback-echo "X$teststring" 2>/dev/null` \
7636
7634
               = "XX$teststring") >/dev/null 2>&1 &&
7637
 
            new_result=`expr "X$teststring" : ".*" 2>&1` &&
7638
 
            lt_cv_sys_max_cmd_len=$new_result &&
7639
 
            test $i != 17 # 1/2 MB should be enough
7640
 
    do
7641
 
      i=`expr $i + 1`
7642
 
      teststring=$teststring$teststring
7643
 
    done
7644
 
    teststring=
7645
 
    # Add a significant safety factor because C++ compilers can tack on massive
7646
 
    # amounts of additional arguments before passing them to the linker.
7647
 
    # It appears as though 1/2 is a usable value.
7648
 
    lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 2`
 
7635
              new_result=`expr "X$teststring" : ".*" 2>&1` &&
 
7636
              lt_cv_sys_max_cmd_len=$new_result &&
 
7637
              test $i != 17 # 1/2 MB should be enough
 
7638
      do
 
7639
        i=`expr $i + 1`
 
7640
        teststring=$teststring$teststring
 
7641
      done
 
7642
      teststring=
 
7643
      # Add a significant safety factor because C++ compilers can tack on massive
 
7644
      # amounts of additional arguments before passing them to the linker.
 
7645
      # It appears as though 1/2 is a usable value.
 
7646
      lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 2`
 
7647
    fi
7649
7648
    ;;
7650
7649
  esac
7651
7650
 
7662
7661
 
7663
7662
 
7664
7663
 
 
7664
 
7665
7665
# Check for command to grab the raw symbol name followed by C symbol from nm.
7666
7666
{ echo "$as_me:$LINENO: checking command to parse $NM output from $compiler object" >&5
7667
7667
echo $ECHO_N "checking command to parse $NM output from $compiler object... $ECHO_C" >&6; }
7852
7852
    echo "$progname: failed program was:" >&5
7853
7853
    cat conftest.$ac_ext >&5
7854
7854
  fi
7855
 
  rm -f conftest* conftst*
 
7855
  rm -rf conftest* conftst*
7856
7856
 
7857
7857
  # Do not use the global_symbol_pipe unless it works.
7858
7858
  if test "$pipe_works" = yes; then
8250
8250
test -z "$ac_objext" && ac_objext=o
8251
8251
 
8252
8252
# Determine commands to create old-style static archives.
8253
 
old_archive_cmds='$AR $AR_FLAGS $oldlib$oldobjs$old_deplibs'
 
8253
old_archive_cmds='$AR $AR_FLAGS $oldlib$oldobjs'
8254
8254
old_postinstall_cmds='chmod 644 $oldlib'
8255
8255
old_postuninstall_cmds=
8256
8256
 
8412
8412
  ;;
8413
8413
esac
8414
8414
 
 
8415
 
 
8416
  case $host_os in
 
8417
    rhapsody* | darwin*)
 
8418
    if test -n "$ac_tool_prefix"; then
 
8419
  # Extract the first word of "${ac_tool_prefix}dsymutil", so it can be a program name with args.
 
8420
set dummy ${ac_tool_prefix}dsymutil; ac_word=$2
 
8421
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
 
8422
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
 
8423
if test "${ac_cv_prog_DSYMUTIL+set}" = set; then
 
8424
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
8425
else
 
8426
  if test -n "$DSYMUTIL"; then
 
8427
  ac_cv_prog_DSYMUTIL="$DSYMUTIL" # Let the user override the test.
 
8428
else
 
8429
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
8430
for as_dir in $PATH
 
8431
do
 
8432
  IFS=$as_save_IFS
 
8433
  test -z "$as_dir" && as_dir=.
 
8434
  for ac_exec_ext in '' $ac_executable_extensions; do
 
8435
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 
8436
    ac_cv_prog_DSYMUTIL="${ac_tool_prefix}dsymutil"
 
8437
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
8438
    break 2
 
8439
  fi
 
8440
done
 
8441
done
 
8442
IFS=$as_save_IFS
 
8443
 
 
8444
fi
 
8445
fi
 
8446
DSYMUTIL=$ac_cv_prog_DSYMUTIL
 
8447
if test -n "$DSYMUTIL"; then
 
8448
  { echo "$as_me:$LINENO: result: $DSYMUTIL" >&5
 
8449
echo "${ECHO_T}$DSYMUTIL" >&6; }
 
8450
else
 
8451
  { echo "$as_me:$LINENO: result: no" >&5
 
8452
echo "${ECHO_T}no" >&6; }
 
8453
fi
 
8454
 
 
8455
 
 
8456
fi
 
8457
if test -z "$ac_cv_prog_DSYMUTIL"; then
 
8458
  ac_ct_DSYMUTIL=$DSYMUTIL
 
8459
  # Extract the first word of "dsymutil", so it can be a program name with args.
 
8460
set dummy dsymutil; ac_word=$2
 
8461
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
 
8462
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
 
8463
if test "${ac_cv_prog_ac_ct_DSYMUTIL+set}" = set; then
 
8464
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
8465
else
 
8466
  if test -n "$ac_ct_DSYMUTIL"; then
 
8467
  ac_cv_prog_ac_ct_DSYMUTIL="$ac_ct_DSYMUTIL" # Let the user override the test.
 
8468
else
 
8469
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
8470
for as_dir in $PATH
 
8471
do
 
8472
  IFS=$as_save_IFS
 
8473
  test -z "$as_dir" && as_dir=.
 
8474
  for ac_exec_ext in '' $ac_executable_extensions; do
 
8475
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 
8476
    ac_cv_prog_ac_ct_DSYMUTIL="dsymutil"
 
8477
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
8478
    break 2
 
8479
  fi
 
8480
done
 
8481
done
 
8482
IFS=$as_save_IFS
 
8483
 
 
8484
fi
 
8485
fi
 
8486
ac_ct_DSYMUTIL=$ac_cv_prog_ac_ct_DSYMUTIL
 
8487
if test -n "$ac_ct_DSYMUTIL"; then
 
8488
  { echo "$as_me:$LINENO: result: $ac_ct_DSYMUTIL" >&5
 
8489
echo "${ECHO_T}$ac_ct_DSYMUTIL" >&6; }
 
8490
else
 
8491
  { echo "$as_me:$LINENO: result: no" >&5
 
8492
echo "${ECHO_T}no" >&6; }
 
8493
fi
 
8494
 
 
8495
  if test "x$ac_ct_DSYMUTIL" = x; then
 
8496
    DSYMUTIL=":"
 
8497
  else
 
8498
    case $cross_compiling:$ac_tool_warned in
 
8499
yes:)
 
8500
{ echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
 
8501
whose name does not start with the host triplet.  If you think this
 
8502
configuration is useful to you, please write to autoconf@gnu.org." >&5
 
8503
echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
 
8504
whose name does not start with the host triplet.  If you think this
 
8505
configuration is useful to you, please write to autoconf@gnu.org." >&2;}
 
8506
ac_tool_warned=yes ;;
 
8507
esac
 
8508
    DSYMUTIL=$ac_ct_DSYMUTIL
 
8509
  fi
 
8510
else
 
8511
  DSYMUTIL="$ac_cv_prog_DSYMUTIL"
 
8512
fi
 
8513
 
 
8514
    if test -n "$ac_tool_prefix"; then
 
8515
  # Extract the first word of "${ac_tool_prefix}nmedit", so it can be a program name with args.
 
8516
set dummy ${ac_tool_prefix}nmedit; ac_word=$2
 
8517
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
 
8518
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
 
8519
if test "${ac_cv_prog_NMEDIT+set}" = set; then
 
8520
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
8521
else
 
8522
  if test -n "$NMEDIT"; then
 
8523
  ac_cv_prog_NMEDIT="$NMEDIT" # Let the user override the test.
 
8524
else
 
8525
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
8526
for as_dir in $PATH
 
8527
do
 
8528
  IFS=$as_save_IFS
 
8529
  test -z "$as_dir" && as_dir=.
 
8530
  for ac_exec_ext in '' $ac_executable_extensions; do
 
8531
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 
8532
    ac_cv_prog_NMEDIT="${ac_tool_prefix}nmedit"
 
8533
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
8534
    break 2
 
8535
  fi
 
8536
done
 
8537
done
 
8538
IFS=$as_save_IFS
 
8539
 
 
8540
fi
 
8541
fi
 
8542
NMEDIT=$ac_cv_prog_NMEDIT
 
8543
if test -n "$NMEDIT"; then
 
8544
  { echo "$as_me:$LINENO: result: $NMEDIT" >&5
 
8545
echo "${ECHO_T}$NMEDIT" >&6; }
 
8546
else
 
8547
  { echo "$as_me:$LINENO: result: no" >&5
 
8548
echo "${ECHO_T}no" >&6; }
 
8549
fi
 
8550
 
 
8551
 
 
8552
fi
 
8553
if test -z "$ac_cv_prog_NMEDIT"; then
 
8554
  ac_ct_NMEDIT=$NMEDIT
 
8555
  # Extract the first word of "nmedit", so it can be a program name with args.
 
8556
set dummy nmedit; ac_word=$2
 
8557
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
 
8558
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
 
8559
if test "${ac_cv_prog_ac_ct_NMEDIT+set}" = set; then
 
8560
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
8561
else
 
8562
  if test -n "$ac_ct_NMEDIT"; then
 
8563
  ac_cv_prog_ac_ct_NMEDIT="$ac_ct_NMEDIT" # Let the user override the test.
 
8564
else
 
8565
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
8566
for as_dir in $PATH
 
8567
do
 
8568
  IFS=$as_save_IFS
 
8569
  test -z "$as_dir" && as_dir=.
 
8570
  for ac_exec_ext in '' $ac_executable_extensions; do
 
8571
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 
8572
    ac_cv_prog_ac_ct_NMEDIT="nmedit"
 
8573
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
8574
    break 2
 
8575
  fi
 
8576
done
 
8577
done
 
8578
IFS=$as_save_IFS
 
8579
 
 
8580
fi
 
8581
fi
 
8582
ac_ct_NMEDIT=$ac_cv_prog_ac_ct_NMEDIT
 
8583
if test -n "$ac_ct_NMEDIT"; then
 
8584
  { echo "$as_me:$LINENO: result: $ac_ct_NMEDIT" >&5
 
8585
echo "${ECHO_T}$ac_ct_NMEDIT" >&6; }
 
8586
else
 
8587
  { echo "$as_me:$LINENO: result: no" >&5
 
8588
echo "${ECHO_T}no" >&6; }
 
8589
fi
 
8590
 
 
8591
  if test "x$ac_ct_NMEDIT" = x; then
 
8592
    NMEDIT=":"
 
8593
  else
 
8594
    case $cross_compiling:$ac_tool_warned in
 
8595
yes:)
 
8596
{ echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
 
8597
whose name does not start with the host triplet.  If you think this
 
8598
configuration is useful to you, please write to autoconf@gnu.org." >&5
 
8599
echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
 
8600
whose name does not start with the host triplet.  If you think this
 
8601
configuration is useful to you, please write to autoconf@gnu.org." >&2;}
 
8602
ac_tool_warned=yes ;;
 
8603
esac
 
8604
    NMEDIT=$ac_ct_NMEDIT
 
8605
  fi
 
8606
else
 
8607
  NMEDIT="$ac_cv_prog_NMEDIT"
 
8608
fi
 
8609
 
 
8610
 
 
8611
    { echo "$as_me:$LINENO: checking for -single_module linker flag" >&5
 
8612
echo $ECHO_N "checking for -single_module linker flag... $ECHO_C" >&6; }
 
8613
if test "${lt_cv_apple_cc_single_mod+set}" = set; then
 
8614
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
8615
else
 
8616
  lt_cv_apple_cc_single_mod=no
 
8617
      if test -z "${LT_MULTI_MODULE}"; then
 
8618
   # By default we will add the -single_module flag. You can override
 
8619
   # by either setting the environment variable LT_MULTI_MODULE
 
8620
   # non-empty at configure time, or by adding -multi_module to the
 
8621
   # link flags.
 
8622
   echo "int foo(void){return 1;}" > conftest.c
 
8623
   $LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
 
8624
     -dynamiclib ${wl}-single_module conftest.c
 
8625
   if test -f libconftest.dylib; then
 
8626
     lt_cv_apple_cc_single_mod=yes
 
8627
     rm -rf libconftest.dylib*
 
8628
   fi
 
8629
   rm conftest.c
 
8630
      fi
 
8631
fi
 
8632
{ echo "$as_me:$LINENO: result: $lt_cv_apple_cc_single_mod" >&5
 
8633
echo "${ECHO_T}$lt_cv_apple_cc_single_mod" >&6; }
 
8634
    { echo "$as_me:$LINENO: checking for -exported_symbols_list linker flag" >&5
 
8635
echo $ECHO_N "checking for -exported_symbols_list linker flag... $ECHO_C" >&6; }
 
8636
if test "${lt_cv_ld_exported_symbols_list+set}" = set; then
 
8637
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
8638
else
 
8639
  lt_cv_ld_exported_symbols_list=no
 
8640
      save_LDFLAGS=$LDFLAGS
 
8641
      echo "_main" > conftest.sym
 
8642
      LDFLAGS="$LDFLAGS -Wl,-exported_symbols_list,conftest.sym"
 
8643
      cat >conftest.$ac_ext <<_ACEOF
 
8644
/* confdefs.h.  */
 
8645
_ACEOF
 
8646
cat confdefs.h >>conftest.$ac_ext
 
8647
cat >>conftest.$ac_ext <<_ACEOF
 
8648
/* end confdefs.h.  */
 
8649
 
 
8650
int
 
8651
main ()
 
8652
{
 
8653
 
 
8654
  ;
 
8655
  return 0;
 
8656
}
 
8657
_ACEOF
 
8658
rm -f conftest.$ac_objext conftest$ac_exeext
 
8659
if { (ac_try="$ac_link"
 
8660
case "(($ac_try" in
 
8661
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
8662
  *) ac_try_echo=$ac_try;;
 
8663
esac
 
8664
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
8665
  (eval "$ac_link") 2>conftest.er1
 
8666
  ac_status=$?
 
8667
  grep -v '^ *+' conftest.er1 >conftest.err
 
8668
  rm -f conftest.er1
 
8669
  cat conftest.err >&5
 
8670
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
8671
  (exit $ac_status); } && {
 
8672
         test -z "$ac_c_werror_flag" ||
 
8673
         test ! -s conftest.err
 
8674
       } && test -s conftest$ac_exeext &&
 
8675
       $as_test_x conftest$ac_exeext; then
 
8676
  lt_cv_ld_exported_symbols_list=yes
 
8677
else
 
8678
  echo "$as_me: failed program was:" >&5
 
8679
sed 's/^/| /' conftest.$ac_ext >&5
 
8680
 
 
8681
        lt_cv_ld_exported_symbols_list=no
 
8682
fi
 
8683
 
 
8684
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
 
8685
      conftest$ac_exeext conftest.$ac_ext
 
8686
   LDFLAGS="$save_LDFLAGS"
 
8687
 
 
8688
fi
 
8689
{ echo "$as_me:$LINENO: result: $lt_cv_ld_exported_symbols_list" >&5
 
8690
echo "${ECHO_T}$lt_cv_ld_exported_symbols_list" >&6; }
 
8691
    case $host_os in
 
8692
    rhapsody* | darwin1.[0123])
 
8693
      _lt_dar_allow_undefined='${wl}-undefined ${wl}suppress' ;;
 
8694
    darwin1.*)
 
8695
     _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
 
8696
    darwin*)
 
8697
      # if running on 10.5 or later, the deployment target defaults
 
8698
      # to the OS version, if on x86, and 10.4, the deployment
 
8699
      # target defaults to 10.4. Don't you love it?
 
8700
      case ${MACOSX_DEPLOYMENT_TARGET-10.0},$host in
 
8701
   10.0,*86*-darwin8*|10.0,*-darwin[91]*)
 
8702
     _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
 
8703
   10.[012]*)
 
8704
     _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
 
8705
   10.*)
 
8706
     _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
 
8707
      esac
 
8708
    ;;
 
8709
  esac
 
8710
    if test "$lt_cv_apple_cc_single_mod" = "yes"; then
 
8711
      _lt_dar_single_mod='$single_module'
 
8712
    fi
 
8713
    if test "$lt_cv_ld_exported_symbols_list" = "yes"; then
 
8714
      _lt_dar_export_syms=' ${wl}-exported_symbols_list,$output_objdir/${libname}-symbols.expsym'
 
8715
    else
 
8716
      _lt_dar_export_syms="~$NMEDIT -s \$output_objdir/\${libname}-symbols.expsym \${lib}"
 
8717
    fi
 
8718
    if test "$DSYMUTIL" != ":"; then
 
8719
      _lt_dsymutil="~$DSYMUTIL \$lib || :"
 
8720
    else
 
8721
      _lt_dsymutil=
 
8722
    fi
 
8723
    ;;
 
8724
  esac
 
8725
 
 
8726
 
8415
8727
enable_dlopen=no
8416
8728
enable_win32_dll=no
8417
8729
 
8450
8762
objext=$objext
8451
8763
 
8452
8764
# Code to be used in simple compile tests
8453
 
lt_simple_compile_test_code="int some_variable = 0;\n"
 
8765
lt_simple_compile_test_code="int some_variable = 0;"
8454
8766
 
8455
8767
# Code to be used in simple link tests
8456
 
lt_simple_link_test_code='int main(){return(0);}\n'
 
8768
lt_simple_link_test_code='int main(){return(0);}'
8457
8769
 
8458
8770
 
8459
8771
# If no C compiler was specified, use CC.
8468
8780
 
8469
8781
# save warnings/boilerplate of simple test code
8470
8782
ac_outfile=conftest.$ac_objext
8471
 
printf "$lt_simple_compile_test_code" >conftest.$ac_ext
 
8783
echo "$lt_simple_compile_test_code" >conftest.$ac_ext
8472
8784
eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
8473
8785
_lt_compiler_boilerplate=`cat conftest.err`
8474
8786
$rm conftest*
8475
8787
 
8476
8788
ac_outfile=conftest.$ac_objext
8477
 
printf "$lt_simple_link_test_code" >conftest.$ac_ext
 
8789
echo "$lt_simple_link_test_code" >conftest.$ac_ext
8478
8790
eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
8479
8791
_lt_linker_boilerplate=`cat conftest.err`
8480
 
$rm conftest*
 
8792
$rm -r conftest*
8481
8793
 
8482
8794
 
8483
8795
 
8494
8806
else
8495
8807
  lt_cv_prog_compiler_rtti_exceptions=no
8496
8808
  ac_outfile=conftest.$ac_objext
8497
 
   printf "$lt_simple_compile_test_code" > conftest.$ac_ext
 
8809
   echo "$lt_simple_compile_test_code" > conftest.$ac_ext
8498
8810
   lt_compiler_flag="-fno-rtti -fno-exceptions"
8499
8811
   # Insert the option either (1) after the last *FLAGS variable, or
8500
8812
   # (2) before a word containing "conftest.", or (3) at the end.
8505
8817
   -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8506
8818
   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8507
8819
   -e 's:$: $lt_compiler_flag:'`
8508
 
   (eval echo "\"\$as_me:8508: $lt_compile\"" >&5)
 
8820
   (eval echo "\"\$as_me:8820: $lt_compile\"" >&5)
8509
8821
   (eval "$lt_compile" 2>conftest.err)
8510
8822
   ac_status=$?
8511
8823
   cat conftest.err >&5
8512
 
   echo "$as_me:8512: \$? = $ac_status" >&5
 
8824
   echo "$as_me:8824: \$? = $ac_status" >&5
8513
8825
   if (exit $ac_status) && test -s "$ac_outfile"; then
8514
8826
     # The compiler can only warn and ignore the option if not recognized
8515
8827
     # So say no if there are warnings other than the usual output.
8560
8872
      lt_prog_compiler_pic='-m68020 -resident32 -malways-restore-a4'
8561
8873
      ;;
8562
8874
 
8563
 
    beos* | cygwin* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
 
8875
    beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
8564
8876
      # PIC is the default for these OSes.
8565
8877
      ;;
8566
8878
 
8567
 
    mingw* | pw32* | os2*)
 
8879
    mingw* | cygwin* | pw32* | os2*)
8568
8880
      # This hack is so that the source file can tell whether it is being
8569
8881
      # built for inclusion in a dll (and should export symbols for example).
 
8882
      # Although the cygwin gcc ignores -fPIC, still need this for old-style
 
8883
      # (--disable-auto-import) libraries
8570
8884
      lt_prog_compiler_pic='-DDLL_EXPORT'
8571
8885
      ;;
8572
8886
 
8576
8890
      lt_prog_compiler_pic='-fno-common'
8577
8891
      ;;
8578
8892
 
8579
 
    interix3*)
 
8893
    interix[3-9]*)
8580
8894
      # Interix 3.x gcc -fpic/-fPIC options generate broken code.
8581
8895
      # Instead, we relocate shared libraries at runtime.
8582
8896
      ;;
8634
8948
       esac
8635
8949
       ;;
8636
8950
 
8637
 
    mingw* | pw32* | os2*)
 
8951
    mingw* | cygwin* | pw32* | os2*)
8638
8952
      # This hack is so that the source file can tell whether it is being
8639
8953
      # built for inclusion in a dll (and should export symbols for example).
8640
8954
      lt_prog_compiler_pic='-DDLL_EXPORT'
8686
9000
        # All Alpha code is PIC.
8687
9001
        lt_prog_compiler_static='-non_shared'
8688
9002
        ;;
 
9003
      *)
 
9004
        case `$CC -V 2>&1 | sed 5q` in
 
9005
        *Sun\ C*)
 
9006
          # Sun C 5.9
 
9007
          lt_prog_compiler_pic='-KPIC'
 
9008
          lt_prog_compiler_static='-Bstatic'
 
9009
          lt_prog_compiler_wl='-Wl,'
 
9010
          ;;
 
9011
        *Sun\ F*)
 
9012
          # Sun Fortran 8.3 passes all unrecognized flags to the linker
 
9013
          lt_prog_compiler_pic='-KPIC'
 
9014
          lt_prog_compiler_static='-Bstatic'
 
9015
          lt_prog_compiler_wl=''
 
9016
          ;;
 
9017
        esac
 
9018
        ;;
8689
9019
      esac
8690
9020
      ;;
8691
9021
 
8695
9025
      lt_prog_compiler_static='-non_shared'
8696
9026
      ;;
8697
9027
 
 
9028
    rdos*)
 
9029
      lt_prog_compiler_static='-non_shared'
 
9030
      ;;
 
9031
 
8698
9032
    solaris*)
8699
9033
      lt_prog_compiler_pic='-KPIC'
8700
9034
      lt_prog_compiler_static='-Bstatic'
8757
9091
 
8758
9092
{ echo "$as_me:$LINENO: checking if $compiler PIC flag $lt_prog_compiler_pic works" >&5
8759
9093
echo $ECHO_N "checking if $compiler PIC flag $lt_prog_compiler_pic works... $ECHO_C" >&6; }
8760
 
if test "${lt_prog_compiler_pic_works+set}" = set; then
 
9094
if test "${lt_cv_prog_compiler_pic_works+set}" = set; then
8761
9095
  echo $ECHO_N "(cached) $ECHO_C" >&6
8762
9096
else
8763
 
  lt_prog_compiler_pic_works=no
 
9097
  lt_cv_prog_compiler_pic_works=no
8764
9098
  ac_outfile=conftest.$ac_objext
8765
 
   printf "$lt_simple_compile_test_code" > conftest.$ac_ext
 
9099
   echo "$lt_simple_compile_test_code" > conftest.$ac_ext
8766
9100
   lt_compiler_flag="$lt_prog_compiler_pic -DPIC"
8767
9101
   # Insert the option either (1) after the last *FLAGS variable, or
8768
9102
   # (2) before a word containing "conftest.", or (3) at the end.
8773
9107
   -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8774
9108
   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8775
9109
   -e 's:$: $lt_compiler_flag:'`
8776
 
   (eval echo "\"\$as_me:8776: $lt_compile\"" >&5)
 
9110
   (eval echo "\"\$as_me:9110: $lt_compile\"" >&5)
8777
9111
   (eval "$lt_compile" 2>conftest.err)
8778
9112
   ac_status=$?
8779
9113
   cat conftest.err >&5
8780
 
   echo "$as_me:8780: \$? = $ac_status" >&5
 
9114
   echo "$as_me:9114: \$? = $ac_status" >&5
8781
9115
   if (exit $ac_status) && test -s "$ac_outfile"; then
8782
9116
     # The compiler can only warn and ignore the option if not recognized
8783
9117
     # So say no if there are warnings other than the usual output.
8784
9118
     $echo "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' >conftest.exp
8785
9119
     $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
8786
9120
     if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
8787
 
       lt_prog_compiler_pic_works=yes
 
9121
       lt_cv_prog_compiler_pic_works=yes
8788
9122
     fi
8789
9123
   fi
8790
9124
   $rm conftest*
8791
9125
 
8792
9126
fi
8793
 
{ echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_works" >&5
8794
 
echo "${ECHO_T}$lt_prog_compiler_pic_works" >&6; }
 
9127
{ echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_pic_works" >&5
 
9128
echo "${ECHO_T}$lt_cv_prog_compiler_pic_works" >&6; }
8795
9129
 
8796
 
if test x"$lt_prog_compiler_pic_works" = xyes; then
 
9130
if test x"$lt_cv_prog_compiler_pic_works" = xyes; then
8797
9131
    case $lt_prog_compiler_pic in
8798
9132
     "" | " "*) ;;
8799
9133
     *) lt_prog_compiler_pic=" $lt_prog_compiler_pic" ;;
8820
9154
wl=$lt_prog_compiler_wl eval lt_tmp_static_flag=\"$lt_prog_compiler_static\"
8821
9155
{ echo "$as_me:$LINENO: checking if $compiler static flag $lt_tmp_static_flag works" >&5
8822
9156
echo $ECHO_N "checking if $compiler static flag $lt_tmp_static_flag works... $ECHO_C" >&6; }
8823
 
if test "${lt_prog_compiler_static_works+set}" = set; then
 
9157
if test "${lt_cv_prog_compiler_static_works+set}" = set; then
8824
9158
  echo $ECHO_N "(cached) $ECHO_C" >&6
8825
9159
else
8826
 
  lt_prog_compiler_static_works=no
 
9160
  lt_cv_prog_compiler_static_works=no
8827
9161
   save_LDFLAGS="$LDFLAGS"
8828
9162
   LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
8829
 
   printf "$lt_simple_link_test_code" > conftest.$ac_ext
 
9163
   echo "$lt_simple_link_test_code" > conftest.$ac_ext
8830
9164
   if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
8831
9165
     # The linker can only warn and ignore the option if not recognized
8832
9166
     # So say no if there are warnings
8836
9170
       $echo "X$_lt_linker_boilerplate" | $Xsed -e '/^$/d' > conftest.exp
8837
9171
       $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
8838
9172
       if diff conftest.exp conftest.er2 >/dev/null; then
8839
 
         lt_prog_compiler_static_works=yes
 
9173
         lt_cv_prog_compiler_static_works=yes
8840
9174
       fi
8841
9175
     else
8842
 
       lt_prog_compiler_static_works=yes
 
9176
       lt_cv_prog_compiler_static_works=yes
8843
9177
     fi
8844
9178
   fi
8845
 
   $rm conftest*
 
9179
   $rm -r conftest*
8846
9180
   LDFLAGS="$save_LDFLAGS"
8847
9181
 
8848
9182
fi
8849
 
{ echo "$as_me:$LINENO: result: $lt_prog_compiler_static_works" >&5
8850
 
echo "${ECHO_T}$lt_prog_compiler_static_works" >&6; }
 
9183
{ echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_static_works" >&5
 
9184
echo "${ECHO_T}$lt_cv_prog_compiler_static_works" >&6; }
8851
9185
 
8852
 
if test x"$lt_prog_compiler_static_works" = xyes; then
 
9186
if test x"$lt_cv_prog_compiler_static_works" = xyes; then
8853
9187
    :
8854
9188
else
8855
9189
    lt_prog_compiler_static=
8866
9200
   mkdir conftest
8867
9201
   cd conftest
8868
9202
   mkdir out
8869
 
   printf "$lt_simple_compile_test_code" > conftest.$ac_ext
 
9203
   echo "$lt_simple_compile_test_code" > conftest.$ac_ext
8870
9204
 
8871
9205
   lt_compiler_flag="-o out/conftest2.$ac_objext"
8872
9206
   # Insert the option either (1) after the last *FLAGS variable, or
8877
9211
   -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8878
9212
   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8879
9213
   -e 's:$: $lt_compiler_flag:'`
8880
 
   (eval echo "\"\$as_me:8880: $lt_compile\"" >&5)
 
9214
   (eval echo "\"\$as_me:9214: $lt_compile\"" >&5)
8881
9215
   (eval "$lt_compile" 2>out/conftest.err)
8882
9216
   ac_status=$?
8883
9217
   cat out/conftest.err >&5
8884
 
   echo "$as_me:8884: \$? = $ac_status" >&5
 
9218
   echo "$as_me:9218: \$? = $ac_status" >&5
8885
9219
   if (exit $ac_status) && test -s out/conftest2.$ac_objext
8886
9220
   then
8887
9221
     # The compiler can only warn and ignore the option if not recognized
8961
9295
  # it will be wrapped by ` (' and `)$', so one must not match beginning or
8962
9296
  # end of line.  Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
8963
9297
  # as well as any symbol that contains `d'.
8964
 
  exclude_expsyms="_GLOBAL_OFFSET_TABLE_"
 
9298
  exclude_expsyms='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
8965
9299
  # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
8966
9300
  # platforms (ab)use it in PIC code, but their linkers get confused if
8967
9301
  # the symbol is explicitly referenced.  Since portable code cannot
8968
9302
  # rely on this symbol name, it's probably fine to never include it in
8969
9303
  # preloaded symbol tables.
 
9304
  # Exclude shared library initialization/finalization symbols.
8970
9305
  extract_expsyms_cmds=
8971
9306
  # Just being paranoid about ensuring that cc_basename is set.
8972
9307
  for cc_temp in $compiler""; do
9025
9360
 
9026
9361
    # See if GNU ld supports shared libraries.
9027
9362
    case $host_os in
9028
 
    aix3* | aix4* | aix5*)
 
9363
    aix[3-9]*)
9029
9364
      # On AIX/PPC, the GNU linker is very broken
9030
9365
      if test "$host_cpu" != ia64; then
9031
9366
        ld_shlibs=no
9073
9408
      allow_undefined_flag=unsupported
9074
9409
      always_export_symbols=no
9075
9410
      enable_shared_with_static_runtimes=yes
9076
 
      export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS] /s/.* \([^ ]*\)/\1 DATA/'\'' | $SED -e '\''/^[AITW] /s/.* //'\'' | sort | uniq > $export_symbols'
 
9411
      export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1 DATA/'\'' -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols'
9077
9412
 
9078
9413
      if $LD --help 2>&1 | grep 'auto-import' > /dev/null; then
9079
9414
        archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
9091
9426
      fi
9092
9427
      ;;
9093
9428
 
9094
 
    interix3*)
 
9429
    interix[3-9]*)
9095
9430
      hardcode_direct=no
9096
9431
      hardcode_shlibpath_var=no
9097
9432
      hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
9106
9441
      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'
9107
9442
      ;;
9108
9443
 
9109
 
    linux* | k*bsd*-gnu)
 
9444
    gnu* | linux* | k*bsd*-gnu)
9110
9445
      if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
9111
9446
        tmp_addflag=
9112
9447
        case $cc_basename,$host_cpu in
9124
9459
        ifc* | ifort*)                  # Intel Fortran compiler
9125
9460
          tmp_addflag=' -nofor_main' ;;
9126
9461
        esac
9127
 
        archive_cmds='$CC -shared'"$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
 
9462
        case `$CC -V 2>&1 | sed 5q` in
 
9463
        *Sun\ C*)                       # Sun C 5.9
 
9464
          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'
 
9465
          tmp_sharedflag='-G' ;;
 
9466
        *Sun\ F*)                       # Sun Fortran 8.3
 
9467
          tmp_sharedflag='-G' ;;
 
9468
        *)
 
9469
          tmp_sharedflag='-shared' ;;
 
9470
        esac
 
9471
        archive_cmds='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9128
9472
 
9129
9473
        if test $supports_anon_versioning = yes; then
9130
9474
          archive_expsym_cmds='$echo "{ global:" > $output_objdir/$libname.ver~
9131
9475
  cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
9132
9476
  $echo "local: *; };" >> $output_objdir/$libname.ver~
9133
 
          $CC -shared'"$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
 
9477
          $CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
9134
9478
        fi
9135
9479
        link_all_deplibs=no
9136
9480
      else
9236
9580
      fi
9237
9581
      ;;
9238
9582
 
9239
 
    aix4* | aix5*)
 
9583
    aix[4-9]*)
9240
9584
      if test "$host_cpu" = ia64; then
9241
9585
        # On IA64, the linker does run time linking by default, so we don't
9242
9586
        # have to do anything special.
9256
9600
        # Test if we are trying to use run time linking or normal
9257
9601
        # AIX style linking. If -brtl is somewhere in LDFLAGS, we
9258
9602
        # need to do runtime linking.
9259
 
        case $host_os in aix4.[23]|aix4.[23].*|aix5*)
 
9603
        case $host_os in aix4.[23]|aix4.[23].*|aix[5-9]*)
9260
9604
          for ld_flag in $LDFLAGS; do
9261
9605
          if (test $ld_flag = "-brtl" || test $ld_flag = "-Wl,-brtl"); then
9262
9606
            aix_use_runtimelinking=yes
9290
9634
           strings "$collect2name" | grep resolve_lib_name >/dev/null
9291
9635
          then
9292
9636
          # We have reworked collect2
9293
 
          hardcode_direct=yes
 
9637
          :
9294
9638
          else
9295
9639
          # We have old collect2
9296
9640
          hardcode_direct=unsupported
9364
9708
       } && test -s conftest$ac_exeext &&
9365
9709
       $as_test_x conftest$ac_exeext; then
9366
9710
 
9367
 
aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0  *\(.*\)$/\1/; p; }
9368
 
}'`
 
9711
lt_aix_libpath_sed='
 
9712
    /Import File Strings/,/^$/ {
 
9713
        /^0/ {
 
9714
            s/^0  *\(.*\)$/\1/
 
9715
            p
 
9716
        }
 
9717
    }'
 
9718
aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9369
9719
# Check for a 64-bit object if we didn't find anything.
9370
 
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; }
9371
 
}'`; fi
 
9720
if test -z "$aix_libpath"; then
 
9721
  aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
 
9722
fi
9372
9723
else
9373
9724
  echo "$as_me: failed program was:" >&5
9374
9725
sed 's/^/| /' conftest.$ac_ext >&5
9423
9774
       } && test -s conftest$ac_exeext &&
9424
9775
       $as_test_x conftest$ac_exeext; then
9425
9776
 
9426
 
aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0  *\(.*\)$/\1/; p; }
9427
 
}'`
 
9777
lt_aix_libpath_sed='
 
9778
    /Import File Strings/,/^$/ {
 
9779
        /^0/ {
 
9780
            s/^0  *\(.*\)$/\1/
 
9781
            p
 
9782
        }
 
9783
    }'
 
9784
aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9428
9785
# Check for a 64-bit object if we didn't find anything.
9429
 
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; }
9430
 
}'`; fi
 
9786
if test -z "$aix_libpath"; then
 
9787
  aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
 
9788
fi
9431
9789
else
9432
9790
  echo "$as_me: failed program was:" >&5
9433
9791
sed 's/^/| /' conftest.$ac_ext >&5
9481
9839
      # The linker will automatically build a .lib file if we build a DLL.
9482
9840
      old_archive_From_new_cmds='true'
9483
9841
      # FIXME: Should let the user specify the lib program.
9484
 
      old_archive_cmds='lib /OUT:$oldlib$oldobjs$old_deplibs'
 
9842
      old_archive_cmds='lib -OUT:$oldlib$oldobjs$old_deplibs'
9485
9843
      fix_srcfile_path='`cygpath -w "$srcfile"`'
9486
9844
      enable_shared_with_static_runtimes=yes
9487
9845
      ;;
9514
9872
      link_all_deplibs=yes
9515
9873
    if test "$GCC" = yes ; then
9516
9874
        output_verbose_link_cmd='echo'
9517
 
        archive_cmds='$CC -dynamiclib $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags -install_name $rpath/$soname $verstring'
9518
 
      module_cmds='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
9519
 
      # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin lds
9520
 
      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}'
9521
 
      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}'
 
9875
        archive_cmds="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod${_lt_dsymutil}"
 
9876
        module_cmds="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}"
 
9877
        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}"
 
9878
        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}"
9522
9879
    else
9523
9880
      case $cc_basename in
9524
9881
        xlc*)
9525
9882
         output_verbose_link_cmd='echo'
9526
 
         archive_cmds='$CC -qmkshrobj $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-install_name ${wl}`echo $rpath/$soname` $verstring'
 
9883
         archive_cmds='$CC -qmkshrobj $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-install_name ${wl}`echo $rpath/$soname` $xlcverstring'
9527
9884
         module_cmds='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
9528
9885
          # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin lds
9529
 
         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}'
 
9886
         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}'
9530
9887
          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}'
9531
9888
          ;;
9532
9889
       *)
9688
10045
      ;;
9689
10046
 
9690
10047
    openbsd*)
9691
 
      hardcode_direct=yes
9692
 
      hardcode_shlibpath_var=no
9693
 
      if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
9694
 
        archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
9695
 
        archive_expsym_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols'
9696
 
        hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
9697
 
        export_dynamic_flag_spec='${wl}-E'
 
10048
      if test -f /usr/libexec/ld.so; then
 
10049
        hardcode_direct=yes
 
10050
        hardcode_shlibpath_var=no
 
10051
        if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
 
10052
          archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
 
10053
          archive_expsym_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols'
 
10054
          hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
 
10055
          export_dynamic_flag_spec='${wl}-E'
 
10056
        else
 
10057
          case $host_os in
 
10058
           openbsd[01].* | openbsd2.[0-7] | openbsd2.[0-7].*)
 
10059
             archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
 
10060
             hardcode_libdir_flag_spec='-R$libdir'
 
10061
             ;;
 
10062
           *)
 
10063
             archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
 
10064
             hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
 
10065
             ;;
 
10066
          esac
 
10067
        fi
9698
10068
      else
9699
 
       case $host_os in
9700
 
         openbsd[01].* | openbsd2.[0-7] | openbsd2.[0-7].*)
9701
 
           archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
9702
 
           hardcode_libdir_flag_spec='-R$libdir'
9703
 
           ;;
9704
 
         *)
9705
 
           archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
9706
 
           hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
9707
 
           ;;
9708
 
       esac
 
10069
        ld_shlibs=no
9709
10070
      fi
9710
10071
      ;;
9711
10072
 
9764
10125
      case $host_os in
9765
10126
      solaris2.[0-5] | solaris2.[0-5].*) ;;
9766
10127
      *)
9767
 
        # The compiler driver will combine linker options so we
9768
 
        # cannot just pass the convience library names through
9769
 
        # without $wl, iff we do not link with $LD.
9770
 
        # Luckily, gcc supports the same syntax we need for Sun Studio.
 
10128
        # The compiler driver will combine and reorder linker options,
 
10129
        # but understands `-z linker_flag'.  GCC discards it without `$wl',
 
10130
        # but is careful enough not to reorder.
9771
10131
        # Supported since Solaris 2.6 (maybe 2.5.1?)
9772
 
        case $wlarc in
9773
 
        '')
9774
 
          whole_archive_flag_spec='-z allextract$convenience -z defaultextract' ;;
9775
 
        *)
9776
 
          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' ;;
9777
 
        esac ;;
 
10132
        if test "$GCC" = yes; then
 
10133
          whole_archive_flag_spec='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
 
10134
        else
 
10135
          whole_archive_flag_spec='-z allextract$convenience -z defaultextract'
 
10136
        fi
 
10137
        ;;
9778
10138
      esac
9779
10139
      link_all_deplibs=yes
9780
10140
      ;;
9831
10191
      fi
9832
10192
      ;;
9833
10193
 
9834
 
    sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7*)
 
10194
    sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7* | sco3.2v5.0.[024]*)
9835
10195
      no_undefined_flag='${wl}-z,text'
9836
10196
      archive_cmds_need_lc=no
9837
10197
      hardcode_shlibpath_var=no
9908
10268
      { echo "$as_me:$LINENO: checking whether -lc should be explicitly linked in" >&5
9909
10269
echo $ECHO_N "checking whether -lc should be explicitly linked in... $ECHO_C" >&6; }
9910
10270
      $rm conftest*
9911
 
      printf "$lt_simple_compile_test_code" > conftest.$ac_ext
 
10271
      echo "$lt_simple_compile_test_code" > conftest.$ac_ext
9912
10272
 
9913
10273
      if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
9914
10274
  (eval $ac_compile) 2>&5
9966
10326
version_type=none
9967
10327
dynamic_linker="$host_os ld.so"
9968
10328
sys_lib_dlsearch_path_spec="/lib /usr/lib"
 
10329
 
9969
10330
if test "$GCC" = yes; then
9970
 
  sys_lib_search_path_spec=`$CC -print-search-dirs | grep "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
9971
 
  if echo "$sys_lib_search_path_spec" | grep ';' >/dev/null ; then
 
10331
  case $host_os in
 
10332
    darwin*) lt_awk_arg="/^libraries:/,/LR/" ;;
 
10333
    *) lt_awk_arg="/^libraries:/" ;;
 
10334
  esac
 
10335
  lt_search_path_spec=`$CC -print-search-dirs | awk $lt_awk_arg | $SED -e "s/^libraries://" -e "s,=/,/,g"`
 
10336
  if echo "$lt_search_path_spec" | grep ';' >/dev/null ; then
9972
10337
    # if the path contains ";" then we assume it to be the separator
9973
10338
    # otherwise default to the standard path separator (i.e. ":") - it is
9974
10339
    # assumed that no part of a normal pathname contains ";" but that should
9975
10340
    # okay in the real world where ";" in dirpaths is itself problematic.
9976
 
    sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
 
10341
    lt_search_path_spec=`echo "$lt_search_path_spec" | $SED -e 's/;/ /g'`
9977
10342
  else
9978
 
    sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED  -e "s/$PATH_SEPARATOR/ /g"`
 
10343
    lt_search_path_spec=`echo "$lt_search_path_spec" | $SED  -e "s/$PATH_SEPARATOR/ /g"`
9979
10344
  fi
 
10345
  # Ok, now we have the path, separated by spaces, we can step through it
 
10346
  # and add multilib dir if necessary.
 
10347
  lt_tmp_lt_search_path_spec=
 
10348
  lt_multi_os_dir=`$CC $CPPFLAGS $CFLAGS $LDFLAGS -print-multi-os-directory 2>/dev/null`
 
10349
  for lt_sys_path in $lt_search_path_spec; do
 
10350
    if test -d "$lt_sys_path/$lt_multi_os_dir"; then
 
10351
      lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path/$lt_multi_os_dir"
 
10352
    else
 
10353
      test -d "$lt_sys_path" && \
 
10354
        lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path"
 
10355
    fi
 
10356
  done
 
10357
  lt_search_path_spec=`echo $lt_tmp_lt_search_path_spec | awk '
 
10358
BEGIN {RS=" "; FS="/|\n";} {
 
10359
  lt_foo="";
 
10360
  lt_count=0;
 
10361
  for (lt_i = NF; lt_i > 0; lt_i--) {
 
10362
    if ($lt_i != "" && $lt_i != ".") {
 
10363
      if ($lt_i == "..") {
 
10364
        lt_count++;
 
10365
      } else {
 
10366
        if (lt_count == 0) {
 
10367
          lt_foo="/" $lt_i lt_foo;
 
10368
        } else {
 
10369
          lt_count--;
 
10370
        }
 
10371
      }
 
10372
    }
 
10373
  }
 
10374
  if (lt_foo != "") { lt_freq[lt_foo]++; }
 
10375
  if (lt_freq[lt_foo] == 1) { print lt_foo; }
 
10376
}'`
 
10377
  sys_lib_search_path_spec=`echo $lt_search_path_spec`
9980
10378
else
9981
10379
  sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"
9982
10380
fi
9997
10395
  soname_spec='${libname}${release}${shared_ext}$major'
9998
10396
  ;;
9999
10397
 
10000
 
aix4* | aix5*)
 
10398
aix[4-9]*)
10001
10399
  version_type=linux
10002
10400
  need_lib_prefix=no
10003
10401
  need_version=no
10136
10534
  shlibpath_overrides_runpath=yes
10137
10535
  shlibpath_var=DYLD_LIBRARY_PATH
10138
10536
  shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`'
10139
 
  # Apple's gcc prints 'gcc -print-search-dirs' doesn't operate the same.
10140
 
  if test "$GCC" = yes; then
10141
 
    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"`
10142
 
  else
10143
 
    sys_lib_search_path_spec='/lib /usr/lib /usr/local/lib'
10144
 
  fi
 
10537
 
 
10538
  sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/local/lib"
10145
10539
  sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
10146
10540
  ;;
10147
10541
 
10195
10589
    shlibpath_overrides_runpath=no
10196
10590
    hardcode_into_libs=yes
10197
10591
    ;;
10198
 
  freebsd*) # from 4.6 on
 
10592
  *) # from 4.6 on, and DragonFly
10199
10593
    shlibpath_overrides_runpath=yes
10200
10594
    hardcode_into_libs=yes
10201
10595
    ;;
10258
10652
  postinstall_cmds='chmod 555 $lib'
10259
10653
  ;;
10260
10654
 
10261
 
interix3*)
 
10655
interix[3-9]*)
10262
10656
  version_type=linux
10263
10657
  need_lib_prefix=no
10264
10658
  need_version=no
10329
10723
 
10330
10724
  # Append ld.so.conf contents to the search path
10331
10725
  if test -f /etc/ld.so.conf; then
10332
 
    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' ' '`
 
10726
    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' ' '`
10333
10727
    sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra"
10334
10728
  fi
10335
10729
 
10435
10829
  sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec"
10436
10830
  ;;
10437
10831
 
 
10832
rdos*)
 
10833
  dynamic_linker=no
 
10834
  ;;
 
10835
 
10438
10836
solaris*)
10439
10837
  version_type=linux
10440
10838
  need_lib_prefix=no
10531
10929
echo "${ECHO_T}$dynamic_linker" >&6; }
10532
10930
test "$dynamic_linker" = no && can_build_shared=no
10533
10931
 
 
10932
if test "${lt_cv_sys_lib_search_path_spec+set}" = set; then
 
10933
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
10934
else
 
10935
  lt_cv_sys_lib_search_path_spec="$sys_lib_search_path_spec"
 
10936
fi
 
10937
 
 
10938
sys_lib_search_path_spec="$lt_cv_sys_lib_search_path_spec"
 
10939
if test "${lt_cv_sys_lib_dlsearch_path_spec+set}" = set; then
 
10940
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
10941
else
 
10942
  lt_cv_sys_lib_dlsearch_path_spec="$sys_lib_dlsearch_path_spec"
 
10943
fi
 
10944
 
 
10945
sys_lib_dlsearch_path_spec="$lt_cv_sys_lib_dlsearch_path_spec"
 
10946
 
10534
10947
variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
10535
10948
if test "$GCC" = yes; then
10536
10949
  variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
10588
11001
   darwin*)
10589
11002
       if test -n "$STRIP" ; then
10590
11003
         striplib="$STRIP -x"
 
11004
         old_striplib="$STRIP -S"
10591
11005
         { echo "$as_me:$LINENO: result: yes" >&5
10592
11006
echo "${ECHO_T}yes" >&6; }
10593
11007
       else
10849
11263
{ echo "$as_me:$LINENO: result: $ac_cv_lib_dld_shl_load" >&5
10850
11264
echo "${ECHO_T}$ac_cv_lib_dld_shl_load" >&6; }
10851
11265
if test $ac_cv_lib_dld_shl_load = yes; then
10852
 
  lt_cv_dlopen="shl_load" lt_cv_dlopen_libs="-dld"
 
11266
  lt_cv_dlopen="shl_load" lt_cv_dlopen_libs="-ldld"
10853
11267
else
10854
11268
  { echo "$as_me:$LINENO: checking for dlopen" >&5
10855
11269
echo $ECHO_N "checking for dlopen... $ECHO_C" >&6; }
11125
11539
{ echo "$as_me:$LINENO: result: $ac_cv_lib_dld_dld_link" >&5
11126
11540
echo "${ECHO_T}$ac_cv_lib_dld_dld_link" >&6; }
11127
11541
if test $ac_cv_lib_dld_dld_link = yes; then
11128
 
  lt_cv_dlopen="dld_link" lt_cv_dlopen_libs="-dld"
 
11542
  lt_cv_dlopen="dld_link" lt_cv_dlopen_libs="-ldld"
11129
11543
fi
11130
11544
 
11131
11545
 
11174
11588
  lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
11175
11589
  lt_status=$lt_dlunknown
11176
11590
  cat > conftest.$ac_ext <<EOF
11177
 
#line 11177 "configure"
 
11591
#line 11591 "configure"
11178
11592
#include "confdefs.h"
11179
11593
 
11180
11594
#if HAVE_DLFCN_H
11274
11688
  lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
11275
11689
  lt_status=$lt_dlunknown
11276
11690
  cat > conftest.$ac_ext <<EOF
11277
 
#line 11277 "configure"
 
11691
#line 11691 "configure"
11278
11692
#include "confdefs.h"
11279
11693
 
11280
11694
#if HAVE_DLFCN_H
11401
11815
  fi
11402
11816
  ;;
11403
11817
 
11404
 
aix4* | aix5*)
 
11818
aix[4-9]*)
11405
11819
  if test "$host_cpu" != ia64 && test "$aix_use_runtimelinking" = no ; then
11406
11820
    test "$enable_shared" = yes && enable_static=no
11407
11821
  fi
11457
11871
    predeps \
11458
11872
    postdeps \
11459
11873
    compiler_lib_search_path \
 
11874
    compiler_lib_search_dirs \
11460
11875
    archive_cmds \
11461
11876
    archive_expsym_cmds \
11462
11877
    postinstall_cmds \
11472
11887
    module_cmds \
11473
11888
    module_expsym_cmds \
11474
11889
    lt_cv_prog_compiler_c_o \
 
11890
    fix_srcfile_path \
11475
11891
    exclude_expsyms \
11476
11892
    include_expsyms; do
11477
11893
 
11516
11932
# Generated automatically by $PROGRAM (GNU $PACKAGE $VERSION$TIMESTAMP)
11517
11933
# NOTE: Changes made to this file will be lost: look at ltmain.sh.
11518
11934
#
11519
 
# Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001
 
11935
# Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004, 2005, 2006, 2007, 2008
11520
11936
# Free Software Foundation, Inc.
11521
11937
#
11522
11938
# This file is part of GNU Libtool:
11752
12168
# shared library.
11753
12169
postdeps=$lt_postdeps
11754
12170
 
 
12171
# The directories searched by this compiler when creating a shared
 
12172
# library
 
12173
compiler_lib_search_dirs=$lt_compiler_lib_search_dirs
 
12174
 
11755
12175
# The library search path used internally by the compiler when linking
11756
12176
# a shared library.
11757
12177
compiler_lib_search_path=$lt_compiler_lib_search_path
11840
12260
sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
11841
12261
 
11842
12262
# Fix the shell variable \$srcfile for the compiler.
11843
 
fix_srcfile_path="$fix_srcfile_path"
 
12263
fix_srcfile_path=$lt_fix_srcfile_path
11844
12264
 
11845
12265
# Set to yes if exported symbols are required.
11846
12266
always_export_symbols=$always_export_symbols
12000
12420
predeps_CXX=
12001
12421
postdeps_CXX=
12002
12422
compiler_lib_search_path_CXX=
 
12423
compiler_lib_search_dirs_CXX=
12003
12424
 
12004
12425
# Source file extension for C++ test sources.
12005
12426
ac_ext=cpp
12009
12430
objext_CXX=$objext
12010
12431
 
12011
12432
# Code to be used in simple compile tests
12012
 
lt_simple_compile_test_code="int some_variable = 0;\n"
 
12433
lt_simple_compile_test_code="int some_variable = 0;"
12013
12434
 
12014
12435
# Code to be used in simple link tests
12015
 
lt_simple_link_test_code='int main(int, char *[]) { return(0); }\n'
 
12436
lt_simple_link_test_code='int main(int, char *[]) { return(0); }'
12016
12437
 
12017
12438
# ltmain only uses $CC for tagged configurations so make sure $CC is set.
12018
12439
 
12028
12449
 
12029
12450
# save warnings/boilerplate of simple test code
12030
12451
ac_outfile=conftest.$ac_objext
12031
 
printf "$lt_simple_compile_test_code" >conftest.$ac_ext
 
12452
echo "$lt_simple_compile_test_code" >conftest.$ac_ext
12032
12453
eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
12033
12454
_lt_compiler_boilerplate=`cat conftest.err`
12034
12455
$rm conftest*
12035
12456
 
12036
12457
ac_outfile=conftest.$ac_objext
12037
 
printf "$lt_simple_link_test_code" >conftest.$ac_ext
 
12458
echo "$lt_simple_link_test_code" >conftest.$ac_ext
12038
12459
eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
12039
12460
_lt_linker_boilerplate=`cat conftest.err`
12040
 
$rm conftest*
 
12461
$rm -r conftest*
12041
12462
 
12042
12463
 
12043
12464
# Allow CC to be a program name with arguments.
12244
12665
    # FIXME: insert proper C++ library support
12245
12666
    ld_shlibs_CXX=no
12246
12667
    ;;
12247
 
  aix4* | aix5*)
 
12668
  aix[4-9]*)
12248
12669
    if test "$host_cpu" = ia64; then
12249
12670
      # On IA64, the linker does run time linking by default, so we don't
12250
12671
      # have to do anything special.
12257
12678
      # Test if we are trying to use run time linking or normal
12258
12679
      # AIX style linking. If -brtl is somewhere in LDFLAGS, we
12259
12680
      # need to do runtime linking.
12260
 
      case $host_os in aix4.[23]|aix4.[23].*|aix5*)
 
12681
      case $host_os in aix4.[23]|aix4.[23].*|aix[5-9]*)
12261
12682
        for ld_flag in $LDFLAGS; do
12262
12683
          case $ld_flag in
12263
12684
          *-brtl*)
12293
12714
           strings "$collect2name" | grep resolve_lib_name >/dev/null
12294
12715
        then
12295
12716
          # We have reworked collect2
12296
 
          hardcode_direct_CXX=yes
 
12717
          :
12297
12718
        else
12298
12719
          # We have old collect2
12299
12720
          hardcode_direct_CXX=unsupported
12367
12788
       } && test -s conftest$ac_exeext &&
12368
12789
       $as_test_x conftest$ac_exeext; then
12369
12790
 
12370
 
aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0  *\(.*\)$/\1/; p; }
12371
 
}'`
 
12791
lt_aix_libpath_sed='
 
12792
    /Import File Strings/,/^$/ {
 
12793
        /^0/ {
 
12794
            s/^0  *\(.*\)$/\1/
 
12795
            p
 
12796
        }
 
12797
    }'
 
12798
aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
12372
12799
# Check for a 64-bit object if we didn't find anything.
12373
 
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; }
12374
 
}'`; fi
 
12800
if test -z "$aix_libpath"; then
 
12801
  aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
 
12802
fi
12375
12803
else
12376
12804
  echo "$as_me: failed program was:" >&5
12377
12805
sed 's/^/| /' conftest.$ac_ext >&5
12427
12855
       } && test -s conftest$ac_exeext &&
12428
12856
       $as_test_x conftest$ac_exeext; then
12429
12857
 
12430
 
aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0  *\(.*\)$/\1/; p; }
12431
 
}'`
 
12858
lt_aix_libpath_sed='
 
12859
    /Import File Strings/,/^$/ {
 
12860
        /^0/ {
 
12861
            s/^0  *\(.*\)$/\1/
 
12862
            p
 
12863
        }
 
12864
    }'
 
12865
aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
12432
12866
# Check for a 64-bit object if we didn't find anything.
12433
 
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; }
12434
 
}'`; fi
 
12867
if test -z "$aix_libpath"; then
 
12868
  aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
 
12869
fi
12435
12870
else
12436
12871
  echo "$as_me: failed program was:" >&5
12437
12872
sed 's/^/| /' conftest.$ac_ext >&5
12501
12936
    fi
12502
12937
  ;;
12503
12938
      darwin* | rhapsody*)
12504
 
        case $host_os in
12505
 
        rhapsody* | darwin1.[012])
12506
 
         allow_undefined_flag_CXX='${wl}-undefined ${wl}suppress'
12507
 
         ;;
12508
 
       *) # Darwin 1.3 on
12509
 
         if test -z ${MACOSX_DEPLOYMENT_TARGET} ; then
12510
 
           allow_undefined_flag_CXX='${wl}-flat_namespace ${wl}-undefined ${wl}suppress'
12511
 
         else
12512
 
           case ${MACOSX_DEPLOYMENT_TARGET} in
12513
 
             10.[012])
12514
 
               allow_undefined_flag_CXX='${wl}-flat_namespace ${wl}-undefined ${wl}suppress'
12515
 
               ;;
12516
 
             10.*)
12517
 
               allow_undefined_flag_CXX='${wl}-undefined ${wl}dynamic_lookup'
12518
 
               ;;
12519
 
           esac
12520
 
         fi
12521
 
         ;;
12522
 
        esac
12523
12939
      archive_cmds_need_lc_CXX=no
12524
12940
      hardcode_direct_CXX=no
12525
12941
      hardcode_automatic_CXX=yes
12526
12942
      hardcode_shlibpath_var_CXX=unsupported
12527
12943
      whole_archive_flag_spec_CXX=''
12528
12944
      link_all_deplibs_CXX=yes
12529
 
 
12530
 
    if test "$GXX" = yes ; then
12531
 
      lt_int_apple_cc_single_mod=no
 
12945
      allow_undefined_flag_CXX="$_lt_dar_allow_undefined"
 
12946
      if test "$GXX" = yes ; then
12532
12947
      output_verbose_link_cmd='echo'
12533
 
      if $CC -dumpspecs 2>&1 | $EGREP 'single_module' >/dev/null ; then
12534
 
       lt_int_apple_cc_single_mod=yes
 
12948
      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}"
 
12949
      module_cmds_CXX="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}"
 
12950
      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}"
 
12951
      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}"
 
12952
      if test "$lt_cv_apple_cc_single_mod" != "yes"; then
 
12953
        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}"
 
12954
        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}"
12535
12955
      fi
12536
 
      if test "X$lt_int_apple_cc_single_mod" = Xyes ; then
12537
 
       archive_cmds_CXX='$CC -dynamiclib -single_module $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags -install_name $rpath/$soname $verstring'
12538
 
      else
12539
 
          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'
12540
 
        fi
12541
 
        module_cmds_CXX='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
12542
 
        # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin lds
12543
 
          if test "X$lt_int_apple_cc_single_mod" = Xyes ; then
12544
 
            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}'
12545
 
          else
12546
 
            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}'
12547
 
          fi
12548
 
            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}'
12549
12956
      else
12550
12957
      case $cc_basename in
12551
12958
        xlc*)
12552
12959
         output_verbose_link_cmd='echo'
12553
 
          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'
 
12960
          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'
12554
12961
          module_cmds_CXX='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
12555
12962
          # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin lds
12556
 
          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}'
 
12963
          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}'
12557
12964
          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}'
12558
12965
          ;;
12559
12966
       *)
12636
13043
      hardcode_libdir_separator_CXX=:
12637
13044
 
12638
13045
      case $host_cpu in
12639
 
      hppa*64*|ia64*)
12640
 
        hardcode_libdir_flag_spec_ld_CXX='+b $libdir'
12641
 
        ;;
 
13046
      hppa*64*|ia64*) ;;
12642
13047
      *)
12643
13048
        export_dynamic_flag_spec_CXX='${wl}-E'
12644
13049
        ;;
12706
13111
        ;;
12707
13112
    esac
12708
13113
    ;;
12709
 
  interix3*)
 
13114
  interix[3-9]*)
12710
13115
    hardcode_direct_CXX=no
12711
13116
    hardcode_shlibpath_var_CXX=no
12712
13117
    hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
12798
13203
        export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
12799
13204
        whole_archive_flag_spec_CXX='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
12800
13205
        ;;
12801
 
      pgCC*)
 
13206
      pgCC* | pgcpp*)
12802
13207
        # Portland Group C++ compiler
12803
13208
        archive_cmds_CXX='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname -o $lib'
12804
13209
        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'
12826
13231
        # dependencies.
12827
13232
        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'
12828
13233
        ;;
 
13234
      *)
 
13235
        case `$CC -V 2>&1 | sed 5q` in
 
13236
        *Sun\ C*)
 
13237
          # Sun C++ 5.9
 
13238
          no_undefined_flag_CXX=' -zdefs'
 
13239
          archive_cmds_CXX='$CC -G${allow_undefined_flag} -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
 
13240
          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'
 
13241
          hardcode_libdir_flag_spec_CXX='-R$libdir'
 
13242
          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'
 
13243
 
 
13244
          # Not sure whether something based on
 
13245
          # $CC $CFLAGS -v conftest.$objext -o libconftest$shared_ext 2>&1
 
13246
          # would be better.
 
13247
          output_verbose_link_cmd='echo'
 
13248
 
 
13249
          # Archives containing C++ object files must be created using
 
13250
          # "CC -xar", where "CC" is the Sun C++ compiler.  This is
 
13251
          # necessary to make sure instantiated templates are included
 
13252
          # in the archive.
 
13253
          old_archive_cmds_CXX='$CC -xar -o $oldlib $oldobjs'
 
13254
          ;;
 
13255
        esac
 
13256
        ;;
12829
13257
    esac
12830
13258
    ;;
12831
13259
  lynxos*)
12864
13292
    ld_shlibs_CXX=no
12865
13293
    ;;
12866
13294
  openbsd*)
12867
 
    hardcode_direct_CXX=yes
12868
 
    hardcode_shlibpath_var_CXX=no
12869
 
    archive_cmds_CXX='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $lib'
12870
 
    hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
12871
 
    if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
12872
 
      archive_expsym_cmds_CXX='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-retain-symbols-file,$export_symbols -o $lib'
12873
 
      export_dynamic_flag_spec_CXX='${wl}-E'
12874
 
      whole_archive_flag_spec_CXX="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
 
13295
    if test -f /usr/libexec/ld.so; then
 
13296
      hardcode_direct_CXX=yes
 
13297
      hardcode_shlibpath_var_CXX=no
 
13298
      archive_cmds_CXX='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $lib'
 
13299
      hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
 
13300
      if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
 
13301
        archive_expsym_cmds_CXX='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-retain-symbols-file,$export_symbols -o $lib'
 
13302
        export_dynamic_flag_spec_CXX='${wl}-E'
 
13303
        whole_archive_flag_spec_CXX="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
 
13304
      fi
 
13305
      output_verbose_link_cmd='echo'
 
13306
    else
 
13307
      ld_shlibs_CXX=no
12875
13308
    fi
12876
 
    output_verbose_link_cmd='echo'
12877
13309
    ;;
12878
13310
  osf3*)
12879
13311
    case $cc_basename in
13035
13467
        case $host_os in
13036
13468
          solaris2.[0-5] | solaris2.[0-5].*) ;;
13037
13469
          *)
13038
 
            # The C++ compiler is used as linker so we must use $wl
13039
 
            # flag to pass the commands to the underlying system
13040
 
            # linker. We must also pass each convience library through
13041
 
            # to the system linker between allextract/defaultextract.
13042
 
            # The C++ compiler will combine linker options so we
13043
 
            # cannot just pass the convience library names through
13044
 
            # without $wl.
 
13470
            # The compiler driver will combine and reorder linker options,
 
13471
            # but understands `-z linker_flag'.
13045
13472
            # Supported since Solaris 2.6 (maybe 2.5.1?)
13046
 
            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'
 
13473
            whole_archive_flag_spec_CXX='-z allextract$convenience -z defaultextract'
13047
13474
            ;;
13048
13475
        esac
13049
13476
        link_all_deplibs_CXX=yes
13090
13517
          fi
13091
13518
 
13092
13519
          hardcode_libdir_flag_spec_CXX='${wl}-R $wl$libdir'
 
13520
          case $host_os in
 
13521
          solaris2.[0-5] | solaris2.[0-5].*) ;;
 
13522
          *)
 
13523
            whole_archive_flag_spec_CXX='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
 
13524
            ;;
 
13525
          esac
13093
13526
        fi
13094
13527
        ;;
13095
13528
    esac
13177
13610
GCC_CXX="$GXX"
13178
13611
LD_CXX="$LD"
13179
13612
 
13180
 
 
13181
13613
cat > conftest.$ac_ext <<EOF
13182
13614
class Foo
13183
13615
{
13279
13711
 
13280
13712
$rm -f confest.$objext
13281
13713
 
 
13714
compiler_lib_search_dirs_CXX=
 
13715
if test -n "$compiler_lib_search_path_CXX"; then
 
13716
  compiler_lib_search_dirs_CXX=`echo " ${compiler_lib_search_path_CXX}" | ${SED} -e 's! -L! !g' -e 's!^ !!'`
 
13717
fi
 
13718
 
13282
13719
# PORTME: override above test on systems where it is broken
13283
13720
case $host_os in
13284
 
interix3*)
 
13721
interix[3-9]*)
13285
13722
  # Interix 3.5 installs completely hosed .la files for C++, so rather than
13286
13723
  # hack all around it, let's just trust "g++" to DTRT.
13287
13724
  predep_objects_CXX=
13289
13726
  postdeps_CXX=
13290
13727
  ;;
13291
13728
 
 
13729
linux*)
 
13730
  case `$CC -V 2>&1 | sed 5q` in
 
13731
  *Sun\ C*)
 
13732
    # Sun C++ 5.9
 
13733
    #
 
13734
    # The more standards-conforming stlport4 library is
 
13735
    # incompatible with the Cstd library. Avoid specifying
 
13736
    # it if it's in CXXFLAGS. Ignore libCrun as
 
13737
    # -library=stlport4 depends on it.
 
13738
    case " $CXX $CXXFLAGS " in
 
13739
    *" -library=stlport4 "*)
 
13740
      solaris_use_stlport4=yes
 
13741
      ;;
 
13742
    esac
 
13743
    if test "$solaris_use_stlport4" != yes; then
 
13744
      postdeps_CXX='-library=Cstd -library=Crun'
 
13745
    fi
 
13746
    ;;
 
13747
  esac
 
13748
  ;;
 
13749
 
13292
13750
solaris*)
13293
13751
  case $cc_basename in
13294
13752
  CC*)
 
13753
    # The more standards-conforming stlport4 library is
 
13754
    # incompatible with the Cstd library. Avoid specifying
 
13755
    # it if it's in CXXFLAGS. Ignore libCrun as
 
13756
    # -library=stlport4 depends on it.
 
13757
    case " $CXX $CXXFLAGS " in
 
13758
    *" -library=stlport4 "*)
 
13759
      solaris_use_stlport4=yes
 
13760
      ;;
 
13761
    esac
 
13762
 
13295
13763
    # Adding this requires a known-good setup of shared libraries for
13296
13764
    # Sun compiler versions before 5.6, else PIC objects from an old
13297
13765
    # archive will be linked into the output, leading to subtle bugs.
13298
 
    postdeps_CXX='-lCstd -lCrun'
 
13766
    if test "$solaris_use_stlport4" != yes; then
 
13767
      postdeps_CXX='-library=Cstd -library=Crun'
 
13768
    fi
13299
13769
    ;;
13300
13770
  esac
13301
13771
  ;;
13302
13772
esac
13303
13773
 
13304
 
 
13305
13774
case " $postdeps_CXX " in
13306
13775
*" -lc "*) archive_cmds_need_lc_CXX=no ;;
13307
13776
esac
13332
13801
      # like `-m68040'.
13333
13802
      lt_prog_compiler_pic_CXX='-m68020 -resident32 -malways-restore-a4'
13334
13803
      ;;
13335
 
    beos* | cygwin* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
 
13804
    beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
13336
13805
      # PIC is the default for these OSes.
13337
13806
      ;;
13338
 
    mingw* | os2* | pw32*)
 
13807
    mingw* | cygwin* | os2* | pw32*)
13339
13808
      # This hack is so that the source file can tell whether it is being
13340
13809
      # built for inclusion in a dll (and should export symbols for example).
 
13810
      # Although the cygwin gcc ignores -fPIC, still need this for old-style
 
13811
      # (--disable-auto-import) libraries
13341
13812
      lt_prog_compiler_pic_CXX='-DDLL_EXPORT'
13342
13813
      ;;
13343
13814
    darwin* | rhapsody*)
13349
13820
      # DJGPP does not support shared libraries at all
13350
13821
      lt_prog_compiler_pic_CXX=
13351
13822
      ;;
13352
 
    interix3*)
 
13823
    interix[3-9]*)
13353
13824
      # Interix 3.x gcc -fpic/-fPIC options generate broken code.
13354
13825
      # Instead, we relocate shared libraries at runtime.
13355
13826
      ;;
13375
13846
    esac
13376
13847
  else
13377
13848
    case $host_os in
13378
 
      aix4* | aix5*)
 
13849
      aix[4-9]*)
13379
13850
        # All AIX code is PIC.
13380
13851
        if test "$host_cpu" = ia64; then
13381
13852
          # AIX 5 now supports IA64 processor
13471
13942
            lt_prog_compiler_pic_CXX='-KPIC'
13472
13943
            lt_prog_compiler_static_CXX='-static'
13473
13944
            ;;
13474
 
          pgCC*)
 
13945
          pgCC* | pgcpp*)
13475
13946
            # Portland Group C++ compiler.
13476
13947
            lt_prog_compiler_wl_CXX='-Wl,'
13477
13948
            lt_prog_compiler_pic_CXX='-fpic'
13485
13956
            lt_prog_compiler_static_CXX='-non_shared'
13486
13957
            ;;
13487
13958
          *)
 
13959
            case `$CC -V 2>&1 | sed 5q` in
 
13960
            *Sun\ C*)
 
13961
              # Sun C++ 5.9
 
13962
              lt_prog_compiler_pic_CXX='-KPIC'
 
13963
              lt_prog_compiler_static_CXX='-Bstatic'
 
13964
              lt_prog_compiler_wl_CXX='-Qoption ld '
 
13965
              ;;
 
13966
            esac
13488
13967
            ;;
13489
13968
        esac
13490
13969
        ;;
13594
14073
 
13595
14074
{ echo "$as_me:$LINENO: checking if $compiler PIC flag $lt_prog_compiler_pic_CXX works" >&5
13596
14075
echo $ECHO_N "checking if $compiler PIC flag $lt_prog_compiler_pic_CXX works... $ECHO_C" >&6; }
13597
 
if test "${lt_prog_compiler_pic_works_CXX+set}" = set; then
 
14076
if test "${lt_cv_prog_compiler_pic_works_CXX+set}" = set; then
13598
14077
  echo $ECHO_N "(cached) $ECHO_C" >&6
13599
14078
else
13600
 
  lt_prog_compiler_pic_works_CXX=no
 
14079
  lt_cv_prog_compiler_pic_works_CXX=no
13601
14080
  ac_outfile=conftest.$ac_objext
13602
 
   printf "$lt_simple_compile_test_code" > conftest.$ac_ext
 
14081
   echo "$lt_simple_compile_test_code" > conftest.$ac_ext
13603
14082
   lt_compiler_flag="$lt_prog_compiler_pic_CXX -DPIC"
13604
14083
   # Insert the option either (1) after the last *FLAGS variable, or
13605
14084
   # (2) before a word containing "conftest.", or (3) at the end.
13610
14089
   -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
13611
14090
   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
13612
14091
   -e 's:$: $lt_compiler_flag:'`
13613
 
   (eval echo "\"\$as_me:13613: $lt_compile\"" >&5)
 
14092
   (eval echo "\"\$as_me:14092: $lt_compile\"" >&5)
13614
14093
   (eval "$lt_compile" 2>conftest.err)
13615
14094
   ac_status=$?
13616
14095
   cat conftest.err >&5
13617
 
   echo "$as_me:13617: \$? = $ac_status" >&5
 
14096
   echo "$as_me:14096: \$? = $ac_status" >&5
13618
14097
   if (exit $ac_status) && test -s "$ac_outfile"; then
13619
14098
     # The compiler can only warn and ignore the option if not recognized
13620
14099
     # So say no if there are warnings other than the usual output.
13621
14100
     $echo "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' >conftest.exp
13622
14101
     $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
13623
14102
     if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
13624
 
       lt_prog_compiler_pic_works_CXX=yes
 
14103
       lt_cv_prog_compiler_pic_works_CXX=yes
13625
14104
     fi
13626
14105
   fi
13627
14106
   $rm conftest*
13628
14107
 
13629
14108
fi
13630
 
{ echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_works_CXX" >&5
13631
 
echo "${ECHO_T}$lt_prog_compiler_pic_works_CXX" >&6; }
 
14109
{ echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_pic_works_CXX" >&5
 
14110
echo "${ECHO_T}$lt_cv_prog_compiler_pic_works_CXX" >&6; }
13632
14111
 
13633
 
if test x"$lt_prog_compiler_pic_works_CXX" = xyes; then
 
14112
if test x"$lt_cv_prog_compiler_pic_works_CXX" = xyes; then
13634
14113
    case $lt_prog_compiler_pic_CXX in
13635
14114
     "" | " "*) ;;
13636
14115
     *) lt_prog_compiler_pic_CXX=" $lt_prog_compiler_pic_CXX" ;;
13657
14136
wl=$lt_prog_compiler_wl_CXX eval lt_tmp_static_flag=\"$lt_prog_compiler_static_CXX\"
13658
14137
{ echo "$as_me:$LINENO: checking if $compiler static flag $lt_tmp_static_flag works" >&5
13659
14138
echo $ECHO_N "checking if $compiler static flag $lt_tmp_static_flag works... $ECHO_C" >&6; }
13660
 
if test "${lt_prog_compiler_static_works_CXX+set}" = set; then
 
14139
if test "${lt_cv_prog_compiler_static_works_CXX+set}" = set; then
13661
14140
  echo $ECHO_N "(cached) $ECHO_C" >&6
13662
14141
else
13663
 
  lt_prog_compiler_static_works_CXX=no
 
14142
  lt_cv_prog_compiler_static_works_CXX=no
13664
14143
   save_LDFLAGS="$LDFLAGS"
13665
14144
   LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
13666
 
   printf "$lt_simple_link_test_code" > conftest.$ac_ext
 
14145
   echo "$lt_simple_link_test_code" > conftest.$ac_ext
13667
14146
   if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
13668
14147
     # The linker can only warn and ignore the option if not recognized
13669
14148
     # So say no if there are warnings
13673
14152
       $echo "X$_lt_linker_boilerplate" | $Xsed -e '/^$/d' > conftest.exp
13674
14153
       $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
13675
14154
       if diff conftest.exp conftest.er2 >/dev/null; then
13676
 
         lt_prog_compiler_static_works_CXX=yes
 
14155
         lt_cv_prog_compiler_static_works_CXX=yes
13677
14156
       fi
13678
14157
     else
13679
 
       lt_prog_compiler_static_works_CXX=yes
 
14158
       lt_cv_prog_compiler_static_works_CXX=yes
13680
14159
     fi
13681
14160
   fi
13682
 
   $rm conftest*
 
14161
   $rm -r conftest*
13683
14162
   LDFLAGS="$save_LDFLAGS"
13684
14163
 
13685
14164
fi
13686
 
{ echo "$as_me:$LINENO: result: $lt_prog_compiler_static_works_CXX" >&5
13687
 
echo "${ECHO_T}$lt_prog_compiler_static_works_CXX" >&6; }
 
14165
{ echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_static_works_CXX" >&5
 
14166
echo "${ECHO_T}$lt_cv_prog_compiler_static_works_CXX" >&6; }
13688
14167
 
13689
 
if test x"$lt_prog_compiler_static_works_CXX" = xyes; then
 
14168
if test x"$lt_cv_prog_compiler_static_works_CXX" = xyes; then
13690
14169
    :
13691
14170
else
13692
14171
    lt_prog_compiler_static_CXX=
13703
14182
   mkdir conftest
13704
14183
   cd conftest
13705
14184
   mkdir out
13706
 
   printf "$lt_simple_compile_test_code" > conftest.$ac_ext
 
14185
   echo "$lt_simple_compile_test_code" > conftest.$ac_ext
13707
14186
 
13708
14187
   lt_compiler_flag="-o out/conftest2.$ac_objext"
13709
14188
   # Insert the option either (1) after the last *FLAGS variable, or
13714
14193
   -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
13715
14194
   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
13716
14195
   -e 's:$: $lt_compiler_flag:'`
13717
 
   (eval echo "\"\$as_me:13717: $lt_compile\"" >&5)
 
14196
   (eval echo "\"\$as_me:14196: $lt_compile\"" >&5)
13718
14197
   (eval "$lt_compile" 2>out/conftest.err)
13719
14198
   ac_status=$?
13720
14199
   cat out/conftest.err >&5
13721
 
   echo "$as_me:13721: \$? = $ac_status" >&5
 
14200
   echo "$as_me:14200: \$? = $ac_status" >&5
13722
14201
   if (exit $ac_status) && test -s out/conftest2.$ac_objext
13723
14202
   then
13724
14203
     # The compiler can only warn and ignore the option if not recognized
13771
14250
 
13772
14251
  export_symbols_cmds_CXX='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
13773
14252
  case $host_os in
13774
 
  aix4* | aix5*)
 
14253
  aix[4-9]*)
13775
14254
    # If we're using GNU nm, then we don't want the "-C" option.
13776
14255
    # -C means demangle to AIX nm, but means don't demangle with GNU nm
13777
14256
    if $NM -V 2>&1 | grep 'GNU' > /dev/null; then
13784
14263
    export_symbols_cmds_CXX="$ltdll_cmds"
13785
14264
  ;;
13786
14265
  cygwin* | mingw*)
13787
 
    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'
 
14266
    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'
13788
14267
  ;;
13789
14268
  linux* | k*bsd*-gnu)
13790
14269
    link_all_deplibs_CXX=no
13793
14272
    export_symbols_cmds_CXX='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
13794
14273
  ;;
13795
14274
  esac
 
14275
  exclude_expsyms_CXX='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
13796
14276
 
13797
14277
{ echo "$as_me:$LINENO: result: $ld_shlibs_CXX" >&5
13798
14278
echo "${ECHO_T}$ld_shlibs_CXX" >&6; }
13818
14298
      { echo "$as_me:$LINENO: checking whether -lc should be explicitly linked in" >&5
13819
14299
echo $ECHO_N "checking whether -lc should be explicitly linked in... $ECHO_C" >&6; }
13820
14300
      $rm conftest*
13821
 
      printf "$lt_simple_compile_test_code" > conftest.$ac_ext
 
14301
      echo "$lt_simple_compile_test_code" > conftest.$ac_ext
13822
14302
 
13823
14303
      if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13824
14304
  (eval $ac_compile) 2>&5
13876
14356
version_type=none
13877
14357
dynamic_linker="$host_os ld.so"
13878
14358
sys_lib_dlsearch_path_spec="/lib /usr/lib"
13879
 
if test "$GCC" = yes; then
13880
 
  sys_lib_search_path_spec=`$CC -print-search-dirs | grep "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
13881
 
  if echo "$sys_lib_search_path_spec" | grep ';' >/dev/null ; then
13882
 
    # if the path contains ";" then we assume it to be the separator
13883
 
    # otherwise default to the standard path separator (i.e. ":") - it is
13884
 
    # assumed that no part of a normal pathname contains ";" but that should
13885
 
    # okay in the real world where ";" in dirpaths is itself problematic.
13886
 
    sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
13887
 
  else
13888
 
    sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED  -e "s/$PATH_SEPARATOR/ /g"`
13889
 
  fi
13890
 
else
13891
 
  sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"
13892
 
fi
 
14359
 
13893
14360
need_lib_prefix=unknown
13894
14361
hardcode_into_libs=no
13895
14362
 
13907
14374
  soname_spec='${libname}${release}${shared_ext}$major'
13908
14375
  ;;
13909
14376
 
13910
 
aix4* | aix5*)
 
14377
aix[4-9]*)
13911
14378
  version_type=linux
13912
14379
  need_lib_prefix=no
13913
14380
  need_version=no
14046
14513
  shlibpath_overrides_runpath=yes
14047
14514
  shlibpath_var=DYLD_LIBRARY_PATH
14048
14515
  shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`'
14049
 
  # Apple's gcc prints 'gcc -print-search-dirs' doesn't operate the same.
14050
 
  if test "$GCC" = yes; then
14051
 
    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"`
14052
 
  else
14053
 
    sys_lib_search_path_spec='/lib /usr/lib /usr/local/lib'
14054
 
  fi
 
14516
 
14055
14517
  sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
14056
14518
  ;;
14057
14519
 
14105
14567
    shlibpath_overrides_runpath=no
14106
14568
    hardcode_into_libs=yes
14107
14569
    ;;
14108
 
  freebsd*) # from 4.6 on
 
14570
  *) # from 4.6 on, and DragonFly
14109
14571
    shlibpath_overrides_runpath=yes
14110
14572
    hardcode_into_libs=yes
14111
14573
    ;;
14168
14630
  postinstall_cmds='chmod 555 $lib'
14169
14631
  ;;
14170
14632
 
14171
 
interix3*)
 
14633
interix[3-9]*)
14172
14634
  version_type=linux
14173
14635
  need_lib_prefix=no
14174
14636
  need_version=no
14239
14701
 
14240
14702
  # Append ld.so.conf contents to the search path
14241
14703
  if test -f /etc/ld.so.conf; then
14242
 
    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' ' '`
 
14704
    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' ' '`
14243
14705
    sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra"
14244
14706
  fi
14245
14707
 
14345
14807
  sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec"
14346
14808
  ;;
14347
14809
 
 
14810
rdos*)
 
14811
  dynamic_linker=no
 
14812
  ;;
 
14813
 
14348
14814
solaris*)
14349
14815
  version_type=linux
14350
14816
  need_lib_prefix=no
14441
14907
echo "${ECHO_T}$dynamic_linker" >&6; }
14442
14908
test "$dynamic_linker" = no && can_build_shared=no
14443
14909
 
 
14910
if test "${lt_cv_sys_lib_search_path_spec+set}" = set; then
 
14911
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
14912
else
 
14913
  lt_cv_sys_lib_search_path_spec="$sys_lib_search_path_spec"
 
14914
fi
 
14915
 
 
14916
sys_lib_search_path_spec="$lt_cv_sys_lib_search_path_spec"
 
14917
if test "${lt_cv_sys_lib_dlsearch_path_spec+set}" = set; then
 
14918
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
14919
else
 
14920
  lt_cv_sys_lib_dlsearch_path_spec="$sys_lib_dlsearch_path_spec"
 
14921
fi
 
14922
 
 
14923
sys_lib_dlsearch_path_spec="$lt_cv_sys_lib_dlsearch_path_spec"
 
14924
 
14444
14925
variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
14445
14926
if test "$GCC" = yes; then
14446
14927
  variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
14524
15005
    predeps_CXX \
14525
15006
    postdeps_CXX \
14526
15007
    compiler_lib_search_path_CXX \
 
15008
    compiler_lib_search_dirs_CXX \
14527
15009
    archive_cmds_CXX \
14528
15010
    archive_expsym_cmds_CXX \
14529
15011
    postinstall_cmds_CXX \
14539
15021
    module_cmds_CXX \
14540
15022
    module_expsym_cmds_CXX \
14541
15023
    lt_cv_prog_compiler_c_o_CXX \
 
15024
    fix_srcfile_path_CXX \
14542
15025
    exclude_expsyms_CXX \
14543
15026
    include_expsyms_CXX; do
14544
15027
 
14771
15254
# shared library.
14772
15255
postdeps=$lt_postdeps_CXX
14773
15256
 
 
15257
# The directories searched by this compiler when creating a shared
 
15258
# library
 
15259
compiler_lib_search_dirs=$lt_compiler_lib_search_dirs_CXX
 
15260
 
14774
15261
# The library search path used internally by the compiler when linking
14775
15262
# a shared library.
14776
15263
compiler_lib_search_path=$lt_compiler_lib_search_path_CXX
14859
15346
sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
14860
15347
 
14861
15348
# Fix the shell variable \$srcfile for the compiler.
14862
 
fix_srcfile_path="$fix_srcfile_path_CXX"
 
15349
fix_srcfile_path=$lt_fix_srcfile_path
14863
15350
 
14864
15351
# Set to yes if exported symbols are required.
14865
15352
always_export_symbols=$always_export_symbols_CXX
14950
15437
objext_F77=$objext
14951
15438
 
14952
15439
# Code to be used in simple compile tests
14953
 
lt_simple_compile_test_code="      subroutine t\n      return\n      end\n"
 
15440
lt_simple_compile_test_code="\
 
15441
      subroutine t
 
15442
      return
 
15443
      end
 
15444
"
14954
15445
 
14955
15446
# Code to be used in simple link tests
14956
 
lt_simple_link_test_code="      program t\n      end\n"
 
15447
lt_simple_link_test_code="\
 
15448
      program t
 
15449
      end
 
15450
"
14957
15451
 
14958
15452
# ltmain only uses $CC for tagged configurations so make sure $CC is set.
14959
15453
 
14969
15463
 
14970
15464
# save warnings/boilerplate of simple test code
14971
15465
ac_outfile=conftest.$ac_objext
14972
 
printf "$lt_simple_compile_test_code" >conftest.$ac_ext
 
15466
echo "$lt_simple_compile_test_code" >conftest.$ac_ext
14973
15467
eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
14974
15468
_lt_compiler_boilerplate=`cat conftest.err`
14975
15469
$rm conftest*
14976
15470
 
14977
15471
ac_outfile=conftest.$ac_objext
14978
 
printf "$lt_simple_link_test_code" >conftest.$ac_ext
 
15472
echo "$lt_simple_link_test_code" >conftest.$ac_ext
14979
15473
eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
14980
15474
_lt_linker_boilerplate=`cat conftest.err`
14981
 
$rm conftest*
 
15475
$rm -r conftest*
14982
15476
 
14983
15477
 
14984
15478
# Allow CC to be a program name with arguments.
15016
15510
    postinstall_cmds='$RANLIB $lib'
15017
15511
  fi
15018
15512
  ;;
15019
 
aix4* | aix5*)
 
15513
aix[4-9]*)
15020
15514
  if test "$host_cpu" != ia64 && test "$aix_use_runtimelinking" = no ; then
15021
15515
    test "$enable_shared" = yes && enable_static=no
15022
15516
  fi
15062
15556
      lt_prog_compiler_pic_F77='-m68020 -resident32 -malways-restore-a4'
15063
15557
      ;;
15064
15558
 
15065
 
    beos* | cygwin* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
 
15559
    beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
15066
15560
      # PIC is the default for these OSes.
15067
15561
      ;;
15068
15562
 
15069
 
    mingw* | pw32* | os2*)
 
15563
    mingw* | cygwin* | pw32* | os2*)
15070
15564
      # This hack is so that the source file can tell whether it is being
15071
15565
      # built for inclusion in a dll (and should export symbols for example).
 
15566
      # Although the cygwin gcc ignores -fPIC, still need this for old-style
 
15567
      # (--disable-auto-import) libraries
15072
15568
      lt_prog_compiler_pic_F77='-DDLL_EXPORT'
15073
15569
      ;;
15074
15570
 
15078
15574
      lt_prog_compiler_pic_F77='-fno-common'
15079
15575
      ;;
15080
15576
 
15081
 
    interix3*)
 
15577
    interix[3-9]*)
15082
15578
      # Interix 3.x gcc -fpic/-fPIC options generate broken code.
15083
15579
      # Instead, we relocate shared libraries at runtime.
15084
15580
      ;;
15136
15632
       esac
15137
15633
       ;;
15138
15634
 
15139
 
    mingw* | pw32* | os2*)
 
15635
    mingw* | cygwin* | pw32* | os2*)
15140
15636
      # This hack is so that the source file can tell whether it is being
15141
15637
      # built for inclusion in a dll (and should export symbols for example).
15142
15638
      lt_prog_compiler_pic_F77='-DDLL_EXPORT'
15188
15684
        # All Alpha code is PIC.
15189
15685
        lt_prog_compiler_static_F77='-non_shared'
15190
15686
        ;;
 
15687
      *)
 
15688
        case `$CC -V 2>&1 | sed 5q` in
 
15689
        *Sun\ C*)
 
15690
          # Sun C 5.9
 
15691
          lt_prog_compiler_pic_F77='-KPIC'
 
15692
          lt_prog_compiler_static_F77='-Bstatic'
 
15693
          lt_prog_compiler_wl_F77='-Wl,'
 
15694
          ;;
 
15695
        *Sun\ F*)
 
15696
          # Sun Fortran 8.3 passes all unrecognized flags to the linker
 
15697
          lt_prog_compiler_pic_F77='-KPIC'
 
15698
          lt_prog_compiler_static_F77='-Bstatic'
 
15699
          lt_prog_compiler_wl_F77=''
 
15700
          ;;
 
15701
        esac
 
15702
        ;;
15191
15703
      esac
15192
15704
      ;;
15193
15705
 
15197
15709
      lt_prog_compiler_static_F77='-non_shared'
15198
15710
      ;;
15199
15711
 
 
15712
    rdos*)
 
15713
      lt_prog_compiler_static_F77='-non_shared'
 
15714
      ;;
 
15715
 
15200
15716
    solaris*)
15201
15717
      lt_prog_compiler_pic_F77='-KPIC'
15202
15718
      lt_prog_compiler_static_F77='-Bstatic'
15259
15775
 
15260
15776
{ echo "$as_me:$LINENO: checking if $compiler PIC flag $lt_prog_compiler_pic_F77 works" >&5
15261
15777
echo $ECHO_N "checking if $compiler PIC flag $lt_prog_compiler_pic_F77 works... $ECHO_C" >&6; }
15262
 
if test "${lt_prog_compiler_pic_works_F77+set}" = set; then
 
15778
if test "${lt_cv_prog_compiler_pic_works_F77+set}" = set; then
15263
15779
  echo $ECHO_N "(cached) $ECHO_C" >&6
15264
15780
else
15265
 
  lt_prog_compiler_pic_works_F77=no
 
15781
  lt_cv_prog_compiler_pic_works_F77=no
15266
15782
  ac_outfile=conftest.$ac_objext
15267
 
   printf "$lt_simple_compile_test_code" > conftest.$ac_ext
 
15783
   echo "$lt_simple_compile_test_code" > conftest.$ac_ext
15268
15784
   lt_compiler_flag="$lt_prog_compiler_pic_F77"
15269
15785
   # Insert the option either (1) after the last *FLAGS variable, or
15270
15786
   # (2) before a word containing "conftest.", or (3) at the end.
15275
15791
   -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
15276
15792
   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
15277
15793
   -e 's:$: $lt_compiler_flag:'`
15278
 
   (eval echo "\"\$as_me:15278: $lt_compile\"" >&5)
 
15794
   (eval echo "\"\$as_me:15794: $lt_compile\"" >&5)
15279
15795
   (eval "$lt_compile" 2>conftest.err)
15280
15796
   ac_status=$?
15281
15797
   cat conftest.err >&5
15282
 
   echo "$as_me:15282: \$? = $ac_status" >&5
 
15798
   echo "$as_me:15798: \$? = $ac_status" >&5
15283
15799
   if (exit $ac_status) && test -s "$ac_outfile"; then
15284
15800
     # The compiler can only warn and ignore the option if not recognized
15285
15801
     # So say no if there are warnings other than the usual output.
15286
15802
     $echo "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' >conftest.exp
15287
15803
     $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
15288
15804
     if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
15289
 
       lt_prog_compiler_pic_works_F77=yes
 
15805
       lt_cv_prog_compiler_pic_works_F77=yes
15290
15806
     fi
15291
15807
   fi
15292
15808
   $rm conftest*
15293
15809
 
15294
15810
fi
15295
 
{ echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_works_F77" >&5
15296
 
echo "${ECHO_T}$lt_prog_compiler_pic_works_F77" >&6; }
 
15811
{ echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_pic_works_F77" >&5
 
15812
echo "${ECHO_T}$lt_cv_prog_compiler_pic_works_F77" >&6; }
15297
15813
 
15298
 
if test x"$lt_prog_compiler_pic_works_F77" = xyes; then
 
15814
if test x"$lt_cv_prog_compiler_pic_works_F77" = xyes; then
15299
15815
    case $lt_prog_compiler_pic_F77 in
15300
15816
     "" | " "*) ;;
15301
15817
     *) lt_prog_compiler_pic_F77=" $lt_prog_compiler_pic_F77" ;;
15322
15838
wl=$lt_prog_compiler_wl_F77 eval lt_tmp_static_flag=\"$lt_prog_compiler_static_F77\"
15323
15839
{ echo "$as_me:$LINENO: checking if $compiler static flag $lt_tmp_static_flag works" >&5
15324
15840
echo $ECHO_N "checking if $compiler static flag $lt_tmp_static_flag works... $ECHO_C" >&6; }
15325
 
if test "${lt_prog_compiler_static_works_F77+set}" = set; then
 
15841
if test "${lt_cv_prog_compiler_static_works_F77+set}" = set; then
15326
15842
  echo $ECHO_N "(cached) $ECHO_C" >&6
15327
15843
else
15328
 
  lt_prog_compiler_static_works_F77=no
 
15844
  lt_cv_prog_compiler_static_works_F77=no
15329
15845
   save_LDFLAGS="$LDFLAGS"
15330
15846
   LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
15331
 
   printf "$lt_simple_link_test_code" > conftest.$ac_ext
 
15847
   echo "$lt_simple_link_test_code" > conftest.$ac_ext
15332
15848
   if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
15333
15849
     # The linker can only warn and ignore the option if not recognized
15334
15850
     # So say no if there are warnings
15338
15854
       $echo "X$_lt_linker_boilerplate" | $Xsed -e '/^$/d' > conftest.exp
15339
15855
       $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
15340
15856
       if diff conftest.exp conftest.er2 >/dev/null; then
15341
 
         lt_prog_compiler_static_works_F77=yes
 
15857
         lt_cv_prog_compiler_static_works_F77=yes
15342
15858
       fi
15343
15859
     else
15344
 
       lt_prog_compiler_static_works_F77=yes
 
15860
       lt_cv_prog_compiler_static_works_F77=yes
15345
15861
     fi
15346
15862
   fi
15347
 
   $rm conftest*
 
15863
   $rm -r conftest*
15348
15864
   LDFLAGS="$save_LDFLAGS"
15349
15865
 
15350
15866
fi
15351
 
{ echo "$as_me:$LINENO: result: $lt_prog_compiler_static_works_F77" >&5
15352
 
echo "${ECHO_T}$lt_prog_compiler_static_works_F77" >&6; }
 
15867
{ echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_static_works_F77" >&5
 
15868
echo "${ECHO_T}$lt_cv_prog_compiler_static_works_F77" >&6; }
15353
15869
 
15354
 
if test x"$lt_prog_compiler_static_works_F77" = xyes; then
 
15870
if test x"$lt_cv_prog_compiler_static_works_F77" = xyes; then
15355
15871
    :
15356
15872
else
15357
15873
    lt_prog_compiler_static_F77=
15368
15884
   mkdir conftest
15369
15885
   cd conftest
15370
15886
   mkdir out
15371
 
   printf "$lt_simple_compile_test_code" > conftest.$ac_ext
 
15887
   echo "$lt_simple_compile_test_code" > conftest.$ac_ext
15372
15888
 
15373
15889
   lt_compiler_flag="-o out/conftest2.$ac_objext"
15374
15890
   # Insert the option either (1) after the last *FLAGS variable, or
15379
15895
   -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
15380
15896
   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
15381
15897
   -e 's:$: $lt_compiler_flag:'`
15382
 
   (eval echo "\"\$as_me:15382: $lt_compile\"" >&5)
 
15898
   (eval echo "\"\$as_me:15898: $lt_compile\"" >&5)
15383
15899
   (eval "$lt_compile" 2>out/conftest.err)
15384
15900
   ac_status=$?
15385
15901
   cat out/conftest.err >&5
15386
 
   echo "$as_me:15386: \$? = $ac_status" >&5
 
15902
   echo "$as_me:15902: \$? = $ac_status" >&5
15387
15903
   if (exit $ac_status) && test -s out/conftest2.$ac_objext
15388
15904
   then
15389
15905
     # The compiler can only warn and ignore the option if not recognized
15463
15979
  # it will be wrapped by ` (' and `)$', so one must not match beginning or
15464
15980
  # end of line.  Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
15465
15981
  # as well as any symbol that contains `d'.
15466
 
  exclude_expsyms_F77="_GLOBAL_OFFSET_TABLE_"
 
15982
  exclude_expsyms_F77='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
15467
15983
  # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
15468
15984
  # platforms (ab)use it in PIC code, but their linkers get confused if
15469
15985
  # the symbol is explicitly referenced.  Since portable code cannot
15470
15986
  # rely on this symbol name, it's probably fine to never include it in
15471
15987
  # preloaded symbol tables.
 
15988
  # Exclude shared library initialization/finalization symbols.
15472
15989
  extract_expsyms_cmds=
15473
15990
  # Just being paranoid about ensuring that cc_basename is set.
15474
15991
  for cc_temp in $compiler""; do
15527
16044
 
15528
16045
    # See if GNU ld supports shared libraries.
15529
16046
    case $host_os in
15530
 
    aix3* | aix4* | aix5*)
 
16047
    aix[3-9]*)
15531
16048
      # On AIX/PPC, the GNU linker is very broken
15532
16049
      if test "$host_cpu" != ia64; then
15533
16050
        ld_shlibs_F77=no
15575
16092
      allow_undefined_flag_F77=unsupported
15576
16093
      always_export_symbols_F77=no
15577
16094
      enable_shared_with_static_runtimes_F77=yes
15578
 
      export_symbols_cmds_F77='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS] /s/.* \([^ ]*\)/\1 DATA/'\'' | $SED -e '\''/^[AITW] /s/.* //'\'' | sort | uniq > $export_symbols'
 
16095
      export_symbols_cmds_F77='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1 DATA/'\'' -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols'
15579
16096
 
15580
16097
      if $LD --help 2>&1 | grep 'auto-import' > /dev/null; then
15581
16098
        archive_cmds_F77='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
15593
16110
      fi
15594
16111
      ;;
15595
16112
 
15596
 
    interix3*)
 
16113
    interix[3-9]*)
15597
16114
      hardcode_direct_F77=no
15598
16115
      hardcode_shlibpath_var_F77=no
15599
16116
      hardcode_libdir_flag_spec_F77='${wl}-rpath,$libdir'
15608
16125
      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'
15609
16126
      ;;
15610
16127
 
15611
 
    linux* | k*bsd*-gnu)
 
16128
    gnu* | linux* | k*bsd*-gnu)
15612
16129
      if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
15613
16130
        tmp_addflag=
15614
16131
        case $cc_basename,$host_cpu in
15626
16143
        ifc* | ifort*)                  # Intel Fortran compiler
15627
16144
          tmp_addflag=' -nofor_main' ;;
15628
16145
        esac
15629
 
        archive_cmds_F77='$CC -shared'"$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
 
16146
        case `$CC -V 2>&1 | sed 5q` in
 
16147
        *Sun\ C*)                       # Sun C 5.9
 
16148
          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'
 
16149
          tmp_sharedflag='-G' ;;
 
16150
        *Sun\ F*)                       # Sun Fortran 8.3
 
16151
          tmp_sharedflag='-G' ;;
 
16152
        *)
 
16153
          tmp_sharedflag='-shared' ;;
 
16154
        esac
 
16155
        archive_cmds_F77='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
15630
16156
 
15631
16157
        if test $supports_anon_versioning = yes; then
15632
16158
          archive_expsym_cmds_F77='$echo "{ global:" > $output_objdir/$libname.ver~
15633
16159
  cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
15634
16160
  $echo "local: *; };" >> $output_objdir/$libname.ver~
15635
 
          $CC -shared'"$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
 
16161
          $CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
15636
16162
        fi
15637
16163
        link_all_deplibs_F77=no
15638
16164
      else
15738
16264
      fi
15739
16265
      ;;
15740
16266
 
15741
 
    aix4* | aix5*)
 
16267
    aix[4-9]*)
15742
16268
      if test "$host_cpu" = ia64; then
15743
16269
        # On IA64, the linker does run time linking by default, so we don't
15744
16270
        # have to do anything special.
15758
16284
        # Test if we are trying to use run time linking or normal
15759
16285
        # AIX style linking. If -brtl is somewhere in LDFLAGS, we
15760
16286
        # need to do runtime linking.
15761
 
        case $host_os in aix4.[23]|aix4.[23].*|aix5*)
 
16287
        case $host_os in aix4.[23]|aix4.[23].*|aix[5-9]*)
15762
16288
          for ld_flag in $LDFLAGS; do
15763
16289
          if (test $ld_flag = "-brtl" || test $ld_flag = "-Wl,-brtl"); then
15764
16290
            aix_use_runtimelinking=yes
15792
16318
           strings "$collect2name" | grep resolve_lib_name >/dev/null
15793
16319
          then
15794
16320
          # We have reworked collect2
15795
 
          hardcode_direct_F77=yes
 
16321
          :
15796
16322
          else
15797
16323
          # We have old collect2
15798
16324
          hardcode_direct_F77=unsupported
15856
16382
       } && test -s conftest$ac_exeext &&
15857
16383
       $as_test_x conftest$ac_exeext; then
15858
16384
 
15859
 
aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0  *\(.*\)$/\1/; p; }
15860
 
}'`
 
16385
lt_aix_libpath_sed='
 
16386
    /Import File Strings/,/^$/ {
 
16387
        /^0/ {
 
16388
            s/^0  *\(.*\)$/\1/
 
16389
            p
 
16390
        }
 
16391
    }'
 
16392
aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
15861
16393
# Check for a 64-bit object if we didn't find anything.
15862
 
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; }
15863
 
}'`; fi
 
16394
if test -z "$aix_libpath"; then
 
16395
  aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
 
16396
fi
15864
16397
else
15865
16398
  echo "$as_me: failed program was:" >&5
15866
16399
sed 's/^/| /' conftest.$ac_ext >&5
15905
16438
       } && test -s conftest$ac_exeext &&
15906
16439
       $as_test_x conftest$ac_exeext; then
15907
16440
 
15908
 
aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0  *\(.*\)$/\1/; p; }
15909
 
}'`
 
16441
lt_aix_libpath_sed='
 
16442
    /Import File Strings/,/^$/ {
 
16443
        /^0/ {
 
16444
            s/^0  *\(.*\)$/\1/
 
16445
            p
 
16446
        }
 
16447
    }'
 
16448
aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
15910
16449
# Check for a 64-bit object if we didn't find anything.
15911
 
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; }
15912
 
}'`; fi
 
16450
if test -z "$aix_libpath"; then
 
16451
  aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
 
16452
fi
15913
16453
else
15914
16454
  echo "$as_me: failed program was:" >&5
15915
16455
sed 's/^/| /' conftest.$ac_ext >&5
15963
16503
      # The linker will automatically build a .lib file if we build a DLL.
15964
16504
      old_archive_From_new_cmds_F77='true'
15965
16505
      # FIXME: Should let the user specify the lib program.
15966
 
      old_archive_cmds_F77='lib /OUT:$oldlib$oldobjs$old_deplibs'
 
16506
      old_archive_cmds_F77='lib -OUT:$oldlib$oldobjs$old_deplibs'
15967
16507
      fix_srcfile_path_F77='`cygpath -w "$srcfile"`'
15968
16508
      enable_shared_with_static_runtimes_F77=yes
15969
16509
      ;;
15996
16536
      link_all_deplibs_F77=yes
15997
16537
    if test "$GCC" = yes ; then
15998
16538
        output_verbose_link_cmd='echo'
15999
 
        archive_cmds_F77='$CC -dynamiclib $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags -install_name $rpath/$soname $verstring'
16000
 
      module_cmds_F77='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
16001
 
      # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin lds
16002
 
      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}'
16003
 
      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}'
 
16539
        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}"
 
16540
        module_cmds_F77="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}"
 
16541
        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}"
 
16542
        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}"
16004
16543
    else
16005
16544
      case $cc_basename in
16006
16545
        xlc*)
16007
16546
         output_verbose_link_cmd='echo'
16008
 
         archive_cmds_F77='$CC -qmkshrobj $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-install_name ${wl}`echo $rpath/$soname` $verstring'
 
16547
         archive_cmds_F77='$CC -qmkshrobj $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-install_name ${wl}`echo $rpath/$soname` $xlcverstring'
16009
16548
         module_cmds_F77='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
16010
16549
          # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin lds
16011
 
         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}'
 
16550
         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}'
16012
16551
          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}'
16013
16552
          ;;
16014
16553
       *)
16170
16709
      ;;
16171
16710
 
16172
16711
    openbsd*)
16173
 
      hardcode_direct_F77=yes
16174
 
      hardcode_shlibpath_var_F77=no
16175
 
      if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
16176
 
        archive_cmds_F77='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
16177
 
        archive_expsym_cmds_F77='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols'
16178
 
        hardcode_libdir_flag_spec_F77='${wl}-rpath,$libdir'
16179
 
        export_dynamic_flag_spec_F77='${wl}-E'
 
16712
      if test -f /usr/libexec/ld.so; then
 
16713
        hardcode_direct_F77=yes
 
16714
        hardcode_shlibpath_var_F77=no
 
16715
        if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
 
16716
          archive_cmds_F77='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
 
16717
          archive_expsym_cmds_F77='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols'
 
16718
          hardcode_libdir_flag_spec_F77='${wl}-rpath,$libdir'
 
16719
          export_dynamic_flag_spec_F77='${wl}-E'
 
16720
        else
 
16721
          case $host_os in
 
16722
           openbsd[01].* | openbsd2.[0-7] | openbsd2.[0-7].*)
 
16723
             archive_cmds_F77='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
 
16724
             hardcode_libdir_flag_spec_F77='-R$libdir'
 
16725
             ;;
 
16726
           *)
 
16727
             archive_cmds_F77='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
 
16728
             hardcode_libdir_flag_spec_F77='${wl}-rpath,$libdir'
 
16729
             ;;
 
16730
          esac
 
16731
        fi
16180
16732
      else
16181
 
       case $host_os in
16182
 
         openbsd[01].* | openbsd2.[0-7] | openbsd2.[0-7].*)
16183
 
           archive_cmds_F77='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
16184
 
           hardcode_libdir_flag_spec_F77='-R$libdir'
16185
 
           ;;
16186
 
         *)
16187
 
           archive_cmds_F77='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
16188
 
           hardcode_libdir_flag_spec_F77='${wl}-rpath,$libdir'
16189
 
           ;;
16190
 
       esac
 
16733
        ld_shlibs_F77=no
16191
16734
      fi
16192
16735
      ;;
16193
16736
 
16246
16789
      case $host_os in
16247
16790
      solaris2.[0-5] | solaris2.[0-5].*) ;;
16248
16791
      *)
16249
 
        # The compiler driver will combine linker options so we
16250
 
        # cannot just pass the convience library names through
16251
 
        # without $wl, iff we do not link with $LD.
16252
 
        # Luckily, gcc supports the same syntax we need for Sun Studio.
 
16792
        # The compiler driver will combine and reorder linker options,
 
16793
        # but understands `-z linker_flag'.  GCC discards it without `$wl',
 
16794
        # but is careful enough not to reorder.
16253
16795
        # Supported since Solaris 2.6 (maybe 2.5.1?)
16254
 
        case $wlarc in
16255
 
        '')
16256
 
          whole_archive_flag_spec_F77='-z allextract$convenience -z defaultextract' ;;
16257
 
        *)
16258
 
          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' ;;
16259
 
        esac ;;
 
16796
        if test "$GCC" = yes; then
 
16797
          whole_archive_flag_spec_F77='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
 
16798
        else
 
16799
          whole_archive_flag_spec_F77='-z allextract$convenience -z defaultextract'
 
16800
        fi
 
16801
        ;;
16260
16802
      esac
16261
16803
      link_all_deplibs_F77=yes
16262
16804
      ;;
16313
16855
      fi
16314
16856
      ;;
16315
16857
 
16316
 
    sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7*)
 
16858
    sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7* | sco3.2v5.0.[024]*)
16317
16859
      no_undefined_flag_F77='${wl}-z,text'
16318
16860
      archive_cmds_need_lc_F77=no
16319
16861
      hardcode_shlibpath_var_F77=no
16390
16932
      { echo "$as_me:$LINENO: checking whether -lc should be explicitly linked in" >&5
16391
16933
echo $ECHO_N "checking whether -lc should be explicitly linked in... $ECHO_C" >&6; }
16392
16934
      $rm conftest*
16393
 
      printf "$lt_simple_compile_test_code" > conftest.$ac_ext
 
16935
      echo "$lt_simple_compile_test_code" > conftest.$ac_ext
16394
16936
 
16395
16937
      if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16396
16938
  (eval $ac_compile) 2>&5
16448
16990
version_type=none
16449
16991
dynamic_linker="$host_os ld.so"
16450
16992
sys_lib_dlsearch_path_spec="/lib /usr/lib"
16451
 
if test "$GCC" = yes; then
16452
 
  sys_lib_search_path_spec=`$CC -print-search-dirs | grep "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
16453
 
  if echo "$sys_lib_search_path_spec" | grep ';' >/dev/null ; then
16454
 
    # if the path contains ";" then we assume it to be the separator
16455
 
    # otherwise default to the standard path separator (i.e. ":") - it is
16456
 
    # assumed that no part of a normal pathname contains ";" but that should
16457
 
    # okay in the real world where ";" in dirpaths is itself problematic.
16458
 
    sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
16459
 
  else
16460
 
    sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED  -e "s/$PATH_SEPARATOR/ /g"`
16461
 
  fi
16462
 
else
16463
 
  sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"
16464
 
fi
 
16993
 
16465
16994
need_lib_prefix=unknown
16466
16995
hardcode_into_libs=no
16467
16996
 
16479
17008
  soname_spec='${libname}${release}${shared_ext}$major'
16480
17009
  ;;
16481
17010
 
16482
 
aix4* | aix5*)
 
17011
aix[4-9]*)
16483
17012
  version_type=linux
16484
17013
  need_lib_prefix=no
16485
17014
  need_version=no
16618
17147
  shlibpath_overrides_runpath=yes
16619
17148
  shlibpath_var=DYLD_LIBRARY_PATH
16620
17149
  shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`'
16621
 
  # Apple's gcc prints 'gcc -print-search-dirs' doesn't operate the same.
16622
 
  if test "$GCC" = yes; then
16623
 
    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"`
16624
 
  else
16625
 
    sys_lib_search_path_spec='/lib /usr/lib /usr/local/lib'
16626
 
  fi
 
17150
 
16627
17151
  sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
16628
17152
  ;;
16629
17153
 
16677
17201
    shlibpath_overrides_runpath=no
16678
17202
    hardcode_into_libs=yes
16679
17203
    ;;
16680
 
  freebsd*) # from 4.6 on
 
17204
  *) # from 4.6 on, and DragonFly
16681
17205
    shlibpath_overrides_runpath=yes
16682
17206
    hardcode_into_libs=yes
16683
17207
    ;;
16740
17264
  postinstall_cmds='chmod 555 $lib'
16741
17265
  ;;
16742
17266
 
16743
 
interix3*)
 
17267
interix[3-9]*)
16744
17268
  version_type=linux
16745
17269
  need_lib_prefix=no
16746
17270
  need_version=no
16811
17335
 
16812
17336
  # Append ld.so.conf contents to the search path
16813
17337
  if test -f /etc/ld.so.conf; then
16814
 
    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' ' '`
 
17338
    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' ' '`
16815
17339
    sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra"
16816
17340
  fi
16817
17341
 
16917
17441
  sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec"
16918
17442
  ;;
16919
17443
 
 
17444
rdos*)
 
17445
  dynamic_linker=no
 
17446
  ;;
 
17447
 
16920
17448
solaris*)
16921
17449
  version_type=linux
16922
17450
  need_lib_prefix=no
17013
17541
echo "${ECHO_T}$dynamic_linker" >&6; }
17014
17542
test "$dynamic_linker" = no && can_build_shared=no
17015
17543
 
 
17544
if test "${lt_cv_sys_lib_search_path_spec+set}" = set; then
 
17545
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
17546
else
 
17547
  lt_cv_sys_lib_search_path_spec="$sys_lib_search_path_spec"
 
17548
fi
 
17549
 
 
17550
sys_lib_search_path_spec="$lt_cv_sys_lib_search_path_spec"
 
17551
if test "${lt_cv_sys_lib_dlsearch_path_spec+set}" = set; then
 
17552
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
17553
else
 
17554
  lt_cv_sys_lib_dlsearch_path_spec="$sys_lib_dlsearch_path_spec"
 
17555
fi
 
17556
 
 
17557
sys_lib_dlsearch_path_spec="$lt_cv_sys_lib_dlsearch_path_spec"
 
17558
 
17016
17559
variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
17017
17560
if test "$GCC" = yes; then
17018
17561
  variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
17096
17639
    predeps_F77 \
17097
17640
    postdeps_F77 \
17098
17641
    compiler_lib_search_path_F77 \
 
17642
    compiler_lib_search_dirs_F77 \
17099
17643
    archive_cmds_F77 \
17100
17644
    archive_expsym_cmds_F77 \
17101
17645
    postinstall_cmds_F77 \
17111
17655
    module_cmds_F77 \
17112
17656
    module_expsym_cmds_F77 \
17113
17657
    lt_cv_prog_compiler_c_o_F77 \
 
17658
    fix_srcfile_path_F77 \
17114
17659
    exclude_expsyms_F77 \
17115
17660
    include_expsyms_F77; do
17116
17661
 
17343
17888
# shared library.
17344
17889
postdeps=$lt_postdeps_F77
17345
17890
 
 
17891
# The directories searched by this compiler when creating a shared
 
17892
# library
 
17893
compiler_lib_search_dirs=$lt_compiler_lib_search_dirs_F77
 
17894
 
17346
17895
# The library search path used internally by the compiler when linking
17347
17896
# a shared library.
17348
17897
compiler_lib_search_path=$lt_compiler_lib_search_path_F77
17431
17980
sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
17432
17981
 
17433
17982
# Fix the shell variable \$srcfile for the compiler.
17434
 
fix_srcfile_path="$fix_srcfile_path_F77"
 
17983
fix_srcfile_path=$lt_fix_srcfile_path
17435
17984
 
17436
17985
# Set to yes if exported symbols are required.
17437
17986
always_export_symbols=$always_export_symbols_F77
17489
18038
objext_GCJ=$objext
17490
18039
 
17491
18040
# Code to be used in simple compile tests
17492
 
lt_simple_compile_test_code="class foo {}\n"
 
18041
lt_simple_compile_test_code="class foo {}"
17493
18042
 
17494
18043
# Code to be used in simple link tests
17495
 
lt_simple_link_test_code='public class conftest { public static void main(String[] argv) {}; }\n'
 
18044
lt_simple_link_test_code='public class conftest { public static void main(String[] argv) {}; }'
17496
18045
 
17497
18046
# ltmain only uses $CC for tagged configurations so make sure $CC is set.
17498
18047
 
17508
18057
 
17509
18058
# save warnings/boilerplate of simple test code
17510
18059
ac_outfile=conftest.$ac_objext
17511
 
printf "$lt_simple_compile_test_code" >conftest.$ac_ext
 
18060
echo "$lt_simple_compile_test_code" >conftest.$ac_ext
17512
18061
eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
17513
18062
_lt_compiler_boilerplate=`cat conftest.err`
17514
18063
$rm conftest*
17515
18064
 
17516
18065
ac_outfile=conftest.$ac_objext
17517
 
printf "$lt_simple_link_test_code" >conftest.$ac_ext
 
18066
echo "$lt_simple_link_test_code" >conftest.$ac_ext
17518
18067
eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
17519
18068
_lt_linker_boilerplate=`cat conftest.err`
17520
 
$rm conftest*
 
18069
$rm -r conftest*
17521
18070
 
17522
18071
 
17523
18072
# Allow CC to be a program name with arguments.
17555
18104
else
17556
18105
  lt_cv_prog_compiler_rtti_exceptions=no
17557
18106
  ac_outfile=conftest.$ac_objext
17558
 
   printf "$lt_simple_compile_test_code" > conftest.$ac_ext
 
18107
   echo "$lt_simple_compile_test_code" > conftest.$ac_ext
17559
18108
   lt_compiler_flag="-fno-rtti -fno-exceptions"
17560
18109
   # Insert the option either (1) after the last *FLAGS variable, or
17561
18110
   # (2) before a word containing "conftest.", or (3) at the end.
17566
18115
   -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
17567
18116
   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
17568
18117
   -e 's:$: $lt_compiler_flag:'`
17569
 
   (eval echo "\"\$as_me:17569: $lt_compile\"" >&5)
 
18118
   (eval echo "\"\$as_me:18118: $lt_compile\"" >&5)
17570
18119
   (eval "$lt_compile" 2>conftest.err)
17571
18120
   ac_status=$?
17572
18121
   cat conftest.err >&5
17573
 
   echo "$as_me:17573: \$? = $ac_status" >&5
 
18122
   echo "$as_me:18122: \$? = $ac_status" >&5
17574
18123
   if (exit $ac_status) && test -s "$ac_outfile"; then
17575
18124
     # The compiler can only warn and ignore the option if not recognized
17576
18125
     # So say no if there are warnings other than the usual output.
17621
18170
      lt_prog_compiler_pic_GCJ='-m68020 -resident32 -malways-restore-a4'
17622
18171
      ;;
17623
18172
 
17624
 
    beos* | cygwin* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
 
18173
    beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
17625
18174
      # PIC is the default for these OSes.
17626
18175
      ;;
17627
18176
 
17628
 
    mingw* | pw32* | os2*)
 
18177
    mingw* | cygwin* | pw32* | os2*)
17629
18178
      # This hack is so that the source file can tell whether it is being
17630
18179
      # built for inclusion in a dll (and should export symbols for example).
17631
 
      lt_prog_compiler_pic_GCJ='-DDLL_EXPORT'
 
18180
      # Although the cygwin gcc ignores -fPIC, still need this for old-style
 
18181
      # (--disable-auto-import) libraries
 
18182
 
17632
18183
      ;;
17633
18184
 
17634
18185
    darwin* | rhapsody*)
17637
18188
      lt_prog_compiler_pic_GCJ='-fno-common'
17638
18189
      ;;
17639
18190
 
17640
 
    interix3*)
 
18191
    interix[3-9]*)
17641
18192
      # Interix 3.x gcc -fpic/-fPIC options generate broken code.
17642
18193
      # Instead, we relocate shared libraries at runtime.
17643
18194
      ;;
17695
18246
       esac
17696
18247
       ;;
17697
18248
 
17698
 
    mingw* | pw32* | os2*)
 
18249
    mingw* | cygwin* | pw32* | os2*)
17699
18250
      # This hack is so that the source file can tell whether it is being
17700
18251
      # built for inclusion in a dll (and should export symbols for example).
17701
 
      lt_prog_compiler_pic_GCJ='-DDLL_EXPORT'
 
18252
 
17702
18253
      ;;
17703
18254
 
17704
18255
    hpux9* | hpux10* | hpux11*)
17747
18298
        # All Alpha code is PIC.
17748
18299
        lt_prog_compiler_static_GCJ='-non_shared'
17749
18300
        ;;
 
18301
      *)
 
18302
        case `$CC -V 2>&1 | sed 5q` in
 
18303
        *Sun\ C*)
 
18304
          # Sun C 5.9
 
18305
          lt_prog_compiler_pic_GCJ='-KPIC'
 
18306
          lt_prog_compiler_static_GCJ='-Bstatic'
 
18307
          lt_prog_compiler_wl_GCJ='-Wl,'
 
18308
          ;;
 
18309
        *Sun\ F*)
 
18310
          # Sun Fortran 8.3 passes all unrecognized flags to the linker
 
18311
          lt_prog_compiler_pic_GCJ='-KPIC'
 
18312
          lt_prog_compiler_static_GCJ='-Bstatic'
 
18313
          lt_prog_compiler_wl_GCJ=''
 
18314
          ;;
 
18315
        esac
 
18316
        ;;
17750
18317
      esac
17751
18318
      ;;
17752
18319
 
17756
18323
      lt_prog_compiler_static_GCJ='-non_shared'
17757
18324
      ;;
17758
18325
 
 
18326
    rdos*)
 
18327
      lt_prog_compiler_static_GCJ='-non_shared'
 
18328
      ;;
 
18329
 
17759
18330
    solaris*)
17760
18331
      lt_prog_compiler_pic_GCJ='-KPIC'
17761
18332
      lt_prog_compiler_static_GCJ='-Bstatic'
17818
18389
 
17819
18390
{ echo "$as_me:$LINENO: checking if $compiler PIC flag $lt_prog_compiler_pic_GCJ works" >&5
17820
18391
echo $ECHO_N "checking if $compiler PIC flag $lt_prog_compiler_pic_GCJ works... $ECHO_C" >&6; }
17821
 
if test "${lt_prog_compiler_pic_works_GCJ+set}" = set; then
 
18392
if test "${lt_cv_prog_compiler_pic_works_GCJ+set}" = set; then
17822
18393
  echo $ECHO_N "(cached) $ECHO_C" >&6
17823
18394
else
17824
 
  lt_prog_compiler_pic_works_GCJ=no
 
18395
  lt_cv_prog_compiler_pic_works_GCJ=no
17825
18396
  ac_outfile=conftest.$ac_objext
17826
 
   printf "$lt_simple_compile_test_code" > conftest.$ac_ext
 
18397
   echo "$lt_simple_compile_test_code" > conftest.$ac_ext
17827
18398
   lt_compiler_flag="$lt_prog_compiler_pic_GCJ"
17828
18399
   # Insert the option either (1) after the last *FLAGS variable, or
17829
18400
   # (2) before a word containing "conftest.", or (3) at the end.
17834
18405
   -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
17835
18406
   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
17836
18407
   -e 's:$: $lt_compiler_flag:'`
17837
 
   (eval echo "\"\$as_me:17837: $lt_compile\"" >&5)
 
18408
   (eval echo "\"\$as_me:18408: $lt_compile\"" >&5)
17838
18409
   (eval "$lt_compile" 2>conftest.err)
17839
18410
   ac_status=$?
17840
18411
   cat conftest.err >&5
17841
 
   echo "$as_me:17841: \$? = $ac_status" >&5
 
18412
   echo "$as_me:18412: \$? = $ac_status" >&5
17842
18413
   if (exit $ac_status) && test -s "$ac_outfile"; then
17843
18414
     # The compiler can only warn and ignore the option if not recognized
17844
18415
     # So say no if there are warnings other than the usual output.
17845
18416
     $echo "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' >conftest.exp
17846
18417
     $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
17847
18418
     if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
17848
 
       lt_prog_compiler_pic_works_GCJ=yes
 
18419
       lt_cv_prog_compiler_pic_works_GCJ=yes
17849
18420
     fi
17850
18421
   fi
17851
18422
   $rm conftest*
17852
18423
 
17853
18424
fi
17854
 
{ echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_works_GCJ" >&5
17855
 
echo "${ECHO_T}$lt_prog_compiler_pic_works_GCJ" >&6; }
 
18425
{ echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_pic_works_GCJ" >&5
 
18426
echo "${ECHO_T}$lt_cv_prog_compiler_pic_works_GCJ" >&6; }
17856
18427
 
17857
 
if test x"$lt_prog_compiler_pic_works_GCJ" = xyes; then
 
18428
if test x"$lt_cv_prog_compiler_pic_works_GCJ" = xyes; then
17858
18429
    case $lt_prog_compiler_pic_GCJ in
17859
18430
     "" | " "*) ;;
17860
18431
     *) lt_prog_compiler_pic_GCJ=" $lt_prog_compiler_pic_GCJ" ;;
17881
18452
wl=$lt_prog_compiler_wl_GCJ eval lt_tmp_static_flag=\"$lt_prog_compiler_static_GCJ\"
17882
18453
{ echo "$as_me:$LINENO: checking if $compiler static flag $lt_tmp_static_flag works" >&5
17883
18454
echo $ECHO_N "checking if $compiler static flag $lt_tmp_static_flag works... $ECHO_C" >&6; }
17884
 
if test "${lt_prog_compiler_static_works_GCJ+set}" = set; then
 
18455
if test "${lt_cv_prog_compiler_static_works_GCJ+set}" = set; then
17885
18456
  echo $ECHO_N "(cached) $ECHO_C" >&6
17886
18457
else
17887
 
  lt_prog_compiler_static_works_GCJ=no
 
18458
  lt_cv_prog_compiler_static_works_GCJ=no
17888
18459
   save_LDFLAGS="$LDFLAGS"
17889
18460
   LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
17890
 
   printf "$lt_simple_link_test_code" > conftest.$ac_ext
 
18461
   echo "$lt_simple_link_test_code" > conftest.$ac_ext
17891
18462
   if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
17892
18463
     # The linker can only warn and ignore the option if not recognized
17893
18464
     # So say no if there are warnings
17897
18468
       $echo "X$_lt_linker_boilerplate" | $Xsed -e '/^$/d' > conftest.exp
17898
18469
       $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
17899
18470
       if diff conftest.exp conftest.er2 >/dev/null; then
17900
 
         lt_prog_compiler_static_works_GCJ=yes
 
18471
         lt_cv_prog_compiler_static_works_GCJ=yes
17901
18472
       fi
17902
18473
     else
17903
 
       lt_prog_compiler_static_works_GCJ=yes
 
18474
       lt_cv_prog_compiler_static_works_GCJ=yes
17904
18475
     fi
17905
18476
   fi
17906
 
   $rm conftest*
 
18477
   $rm -r conftest*
17907
18478
   LDFLAGS="$save_LDFLAGS"
17908
18479
 
17909
18480
fi
17910
 
{ echo "$as_me:$LINENO: result: $lt_prog_compiler_static_works_GCJ" >&5
17911
 
echo "${ECHO_T}$lt_prog_compiler_static_works_GCJ" >&6; }
 
18481
{ echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_static_works_GCJ" >&5
 
18482
echo "${ECHO_T}$lt_cv_prog_compiler_static_works_GCJ" >&6; }
17912
18483
 
17913
 
if test x"$lt_prog_compiler_static_works_GCJ" = xyes; then
 
18484
if test x"$lt_cv_prog_compiler_static_works_GCJ" = xyes; then
17914
18485
    :
17915
18486
else
17916
18487
    lt_prog_compiler_static_GCJ=
17927
18498
   mkdir conftest
17928
18499
   cd conftest
17929
18500
   mkdir out
17930
 
   printf "$lt_simple_compile_test_code" > conftest.$ac_ext
 
18501
   echo "$lt_simple_compile_test_code" > conftest.$ac_ext
17931
18502
 
17932
18503
   lt_compiler_flag="-o out/conftest2.$ac_objext"
17933
18504
   # Insert the option either (1) after the last *FLAGS variable, or
17938
18509
   -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
17939
18510
   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
17940
18511
   -e 's:$: $lt_compiler_flag:'`
17941
 
   (eval echo "\"\$as_me:17941: $lt_compile\"" >&5)
 
18512
   (eval echo "\"\$as_me:18512: $lt_compile\"" >&5)
17942
18513
   (eval "$lt_compile" 2>out/conftest.err)
17943
18514
   ac_status=$?
17944
18515
   cat out/conftest.err >&5
17945
 
   echo "$as_me:17945: \$? = $ac_status" >&5
 
18516
   echo "$as_me:18516: \$? = $ac_status" >&5
17946
18517
   if (exit $ac_status) && test -s out/conftest2.$ac_objext
17947
18518
   then
17948
18519
     # The compiler can only warn and ignore the option if not recognized
18022
18593
  # it will be wrapped by ` (' and `)$', so one must not match beginning or
18023
18594
  # end of line.  Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
18024
18595
  # as well as any symbol that contains `d'.
18025
 
  exclude_expsyms_GCJ="_GLOBAL_OFFSET_TABLE_"
 
18596
  exclude_expsyms_GCJ='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
18026
18597
  # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
18027
18598
  # platforms (ab)use it in PIC code, but their linkers get confused if
18028
18599
  # the symbol is explicitly referenced.  Since portable code cannot
18029
18600
  # rely on this symbol name, it's probably fine to never include it in
18030
18601
  # preloaded symbol tables.
 
18602
  # Exclude shared library initialization/finalization symbols.
18031
18603
  extract_expsyms_cmds=
18032
18604
  # Just being paranoid about ensuring that cc_basename is set.
18033
18605
  for cc_temp in $compiler""; do
18086
18658
 
18087
18659
    # See if GNU ld supports shared libraries.
18088
18660
    case $host_os in
18089
 
    aix3* | aix4* | aix5*)
 
18661
    aix[3-9]*)
18090
18662
      # On AIX/PPC, the GNU linker is very broken
18091
18663
      if test "$host_cpu" != ia64; then
18092
18664
        ld_shlibs_GCJ=no
18134
18706
      allow_undefined_flag_GCJ=unsupported
18135
18707
      always_export_symbols_GCJ=no
18136
18708
      enable_shared_with_static_runtimes_GCJ=yes
18137
 
      export_symbols_cmds_GCJ='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS] /s/.* \([^ ]*\)/\1 DATA/'\'' | $SED -e '\''/^[AITW] /s/.* //'\'' | sort | uniq > $export_symbols'
 
18709
      export_symbols_cmds_GCJ='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1 DATA/'\'' -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols'
18138
18710
 
18139
18711
      if $LD --help 2>&1 | grep 'auto-import' > /dev/null; then
18140
18712
        archive_cmds_GCJ='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
18152
18724
      fi
18153
18725
      ;;
18154
18726
 
18155
 
    interix3*)
 
18727
    interix[3-9]*)
18156
18728
      hardcode_direct_GCJ=no
18157
18729
      hardcode_shlibpath_var_GCJ=no
18158
18730
      hardcode_libdir_flag_spec_GCJ='${wl}-rpath,$libdir'
18167
18739
      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'
18168
18740
      ;;
18169
18741
 
18170
 
    linux* | k*bsd*-gnu)
 
18742
    gnu* | linux* | k*bsd*-gnu)
18171
18743
      if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
18172
18744
        tmp_addflag=
18173
18745
        case $cc_basename,$host_cpu in
18185
18757
        ifc* | ifort*)                  # Intel Fortran compiler
18186
18758
          tmp_addflag=' -nofor_main' ;;
18187
18759
        esac
18188
 
        archive_cmds_GCJ='$CC -shared'"$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
 
18760
        case `$CC -V 2>&1 | sed 5q` in
 
18761
        *Sun\ C*)                       # Sun C 5.9
 
18762
          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'
 
18763
          tmp_sharedflag='-G' ;;
 
18764
        *Sun\ F*)                       # Sun Fortran 8.3
 
18765
          tmp_sharedflag='-G' ;;
 
18766
        *)
 
18767
          tmp_sharedflag='-shared' ;;
 
18768
        esac
 
18769
        archive_cmds_GCJ='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
18189
18770
 
18190
18771
        if test $supports_anon_versioning = yes; then
18191
18772
          archive_expsym_cmds_GCJ='$echo "{ global:" > $output_objdir/$libname.ver~
18192
18773
  cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
18193
18774
  $echo "local: *; };" >> $output_objdir/$libname.ver~
18194
 
          $CC -shared'"$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
 
18775
          $CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
18195
18776
        fi
18196
18777
        link_all_deplibs_GCJ=no
18197
18778
      else
18297
18878
      fi
18298
18879
      ;;
18299
18880
 
18300
 
    aix4* | aix5*)
 
18881
    aix[4-9]*)
18301
18882
      if test "$host_cpu" = ia64; then
18302
18883
        # On IA64, the linker does run time linking by default, so we don't
18303
18884
        # have to do anything special.
18317
18898
        # Test if we are trying to use run time linking or normal
18318
18899
        # AIX style linking. If -brtl is somewhere in LDFLAGS, we
18319
18900
        # need to do runtime linking.
18320
 
        case $host_os in aix4.[23]|aix4.[23].*|aix5*)
 
18901
        case $host_os in aix4.[23]|aix4.[23].*|aix[5-9]*)
18321
18902
          for ld_flag in $LDFLAGS; do
18322
18903
          if (test $ld_flag = "-brtl" || test $ld_flag = "-Wl,-brtl"); then
18323
18904
            aix_use_runtimelinking=yes
18351
18932
           strings "$collect2name" | grep resolve_lib_name >/dev/null
18352
18933
          then
18353
18934
          # We have reworked collect2
18354
 
          hardcode_direct_GCJ=yes
 
18935
          :
18355
18936
          else
18356
18937
          # We have old collect2
18357
18938
          hardcode_direct_GCJ=unsupported
18425
19006
       } && test -s conftest$ac_exeext &&
18426
19007
       $as_test_x conftest$ac_exeext; then
18427
19008
 
18428
 
aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0  *\(.*\)$/\1/; p; }
18429
 
}'`
 
19009
lt_aix_libpath_sed='
 
19010
    /Import File Strings/,/^$/ {
 
19011
        /^0/ {
 
19012
            s/^0  *\(.*\)$/\1/
 
19013
            p
 
19014
        }
 
19015
    }'
 
19016
aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
18430
19017
# Check for a 64-bit object if we didn't find anything.
18431
 
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; }
18432
 
}'`; fi
 
19018
if test -z "$aix_libpath"; then
 
19019
  aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
 
19020
fi
18433
19021
else
18434
19022
  echo "$as_me: failed program was:" >&5
18435
19023
sed 's/^/| /' conftest.$ac_ext >&5
18484
19072
       } && test -s conftest$ac_exeext &&
18485
19073
       $as_test_x conftest$ac_exeext; then
18486
19074
 
18487
 
aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0  *\(.*\)$/\1/; p; }
18488
 
}'`
 
19075
lt_aix_libpath_sed='
 
19076
    /Import File Strings/,/^$/ {
 
19077
        /^0/ {
 
19078
            s/^0  *\(.*\)$/\1/
 
19079
            p
 
19080
        }
 
19081
    }'
 
19082
aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
18489
19083
# Check for a 64-bit object if we didn't find anything.
18490
 
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; }
18491
 
}'`; fi
 
19084
if test -z "$aix_libpath"; then
 
19085
  aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
 
19086
fi
18492
19087
else
18493
19088
  echo "$as_me: failed program was:" >&5
18494
19089
sed 's/^/| /' conftest.$ac_ext >&5
18542
19137
      # The linker will automatically build a .lib file if we build a DLL.
18543
19138
      old_archive_From_new_cmds_GCJ='true'
18544
19139
      # FIXME: Should let the user specify the lib program.
18545
 
      old_archive_cmds_GCJ='lib /OUT:$oldlib$oldobjs$old_deplibs'
 
19140
      old_archive_cmds_GCJ='lib -OUT:$oldlib$oldobjs$old_deplibs'
18546
19141
      fix_srcfile_path_GCJ='`cygpath -w "$srcfile"`'
18547
19142
      enable_shared_with_static_runtimes_GCJ=yes
18548
19143
      ;;
18575
19170
      link_all_deplibs_GCJ=yes
18576
19171
    if test "$GCC" = yes ; then
18577
19172
        output_verbose_link_cmd='echo'
18578
 
        archive_cmds_GCJ='$CC -dynamiclib $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags -install_name $rpath/$soname $verstring'
18579
 
      module_cmds_GCJ='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
18580
 
      # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin lds
18581
 
      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}'
18582
 
      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}'
 
19173
        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}"
 
19174
        module_cmds_GCJ="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}"
 
19175
        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}"
 
19176
        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}"
18583
19177
    else
18584
19178
      case $cc_basename in
18585
19179
        xlc*)
18586
19180
         output_verbose_link_cmd='echo'
18587
 
         archive_cmds_GCJ='$CC -qmkshrobj $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-install_name ${wl}`echo $rpath/$soname` $verstring'
 
19181
         archive_cmds_GCJ='$CC -qmkshrobj $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-install_name ${wl}`echo $rpath/$soname` $xlcverstring'
18588
19182
         module_cmds_GCJ='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
18589
19183
          # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin lds
18590
 
         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}'
 
19184
         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}'
18591
19185
          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}'
18592
19186
          ;;
18593
19187
       *)
18749
19343
      ;;
18750
19344
 
18751
19345
    openbsd*)
18752
 
      hardcode_direct_GCJ=yes
18753
 
      hardcode_shlibpath_var_GCJ=no
18754
 
      if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
18755
 
        archive_cmds_GCJ='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
18756
 
        archive_expsym_cmds_GCJ='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols'
18757
 
        hardcode_libdir_flag_spec_GCJ='${wl}-rpath,$libdir'
18758
 
        export_dynamic_flag_spec_GCJ='${wl}-E'
 
19346
      if test -f /usr/libexec/ld.so; then
 
19347
        hardcode_direct_GCJ=yes
 
19348
        hardcode_shlibpath_var_GCJ=no
 
19349
        if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
 
19350
          archive_cmds_GCJ='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
 
19351
          archive_expsym_cmds_GCJ='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols'
 
19352
          hardcode_libdir_flag_spec_GCJ='${wl}-rpath,$libdir'
 
19353
          export_dynamic_flag_spec_GCJ='${wl}-E'
 
19354
        else
 
19355
          case $host_os in
 
19356
           openbsd[01].* | openbsd2.[0-7] | openbsd2.[0-7].*)
 
19357
             archive_cmds_GCJ='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
 
19358
             hardcode_libdir_flag_spec_GCJ='-R$libdir'
 
19359
             ;;
 
19360
           *)
 
19361
             archive_cmds_GCJ='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
 
19362
             hardcode_libdir_flag_spec_GCJ='${wl}-rpath,$libdir'
 
19363
             ;;
 
19364
          esac
 
19365
        fi
18759
19366
      else
18760
 
       case $host_os in
18761
 
         openbsd[01].* | openbsd2.[0-7] | openbsd2.[0-7].*)
18762
 
           archive_cmds_GCJ='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
18763
 
           hardcode_libdir_flag_spec_GCJ='-R$libdir'
18764
 
           ;;
18765
 
         *)
18766
 
           archive_cmds_GCJ='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
18767
 
           hardcode_libdir_flag_spec_GCJ='${wl}-rpath,$libdir'
18768
 
           ;;
18769
 
       esac
 
19367
        ld_shlibs_GCJ=no
18770
19368
      fi
18771
19369
      ;;
18772
19370
 
18825
19423
      case $host_os in
18826
19424
      solaris2.[0-5] | solaris2.[0-5].*) ;;
18827
19425
      *)
18828
 
        # The compiler driver will combine linker options so we
18829
 
        # cannot just pass the convience library names through
18830
 
        # without $wl, iff we do not link with $LD.
18831
 
        # Luckily, gcc supports the same syntax we need for Sun Studio.
 
19426
        # The compiler driver will combine and reorder linker options,
 
19427
        # but understands `-z linker_flag'.  GCC discards it without `$wl',
 
19428
        # but is careful enough not to reorder.
18832
19429
        # Supported since Solaris 2.6 (maybe 2.5.1?)
18833
 
        case $wlarc in
18834
 
        '')
18835
 
          whole_archive_flag_spec_GCJ='-z allextract$convenience -z defaultextract' ;;
18836
 
        *)
18837
 
          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' ;;
18838
 
        esac ;;
 
19430
        if test "$GCC" = yes; then
 
19431
          whole_archive_flag_spec_GCJ='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
 
19432
        else
 
19433
          whole_archive_flag_spec_GCJ='-z allextract$convenience -z defaultextract'
 
19434
        fi
 
19435
        ;;
18839
19436
      esac
18840
19437
      link_all_deplibs_GCJ=yes
18841
19438
      ;;
18892
19489
      fi
18893
19490
      ;;
18894
19491
 
18895
 
    sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7*)
 
19492
    sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7* | sco3.2v5.0.[024]*)
18896
19493
      no_undefined_flag_GCJ='${wl}-z,text'
18897
19494
      archive_cmds_need_lc_GCJ=no
18898
19495
      hardcode_shlibpath_var_GCJ=no
18969
19566
      { echo "$as_me:$LINENO: checking whether -lc should be explicitly linked in" >&5
18970
19567
echo $ECHO_N "checking whether -lc should be explicitly linked in... $ECHO_C" >&6; }
18971
19568
      $rm conftest*
18972
 
      printf "$lt_simple_compile_test_code" > conftest.$ac_ext
 
19569
      echo "$lt_simple_compile_test_code" > conftest.$ac_ext
18973
19570
 
18974
19571
      if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18975
19572
  (eval $ac_compile) 2>&5
19027
19624
version_type=none
19028
19625
dynamic_linker="$host_os ld.so"
19029
19626
sys_lib_dlsearch_path_spec="/lib /usr/lib"
19030
 
if test "$GCC" = yes; then
19031
 
  sys_lib_search_path_spec=`$CC -print-search-dirs | grep "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
19032
 
  if echo "$sys_lib_search_path_spec" | grep ';' >/dev/null ; then
19033
 
    # if the path contains ";" then we assume it to be the separator
19034
 
    # otherwise default to the standard path separator (i.e. ":") - it is
19035
 
    # assumed that no part of a normal pathname contains ";" but that should
19036
 
    # okay in the real world where ";" in dirpaths is itself problematic.
19037
 
    sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
19038
 
  else
19039
 
    sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED  -e "s/$PATH_SEPARATOR/ /g"`
19040
 
  fi
19041
 
else
19042
 
  sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"
19043
 
fi
 
19627
 
19044
19628
need_lib_prefix=unknown
19045
19629
hardcode_into_libs=no
19046
19630
 
19058
19642
  soname_spec='${libname}${release}${shared_ext}$major'
19059
19643
  ;;
19060
19644
 
19061
 
aix4* | aix5*)
 
19645
aix[4-9]*)
19062
19646
  version_type=linux
19063
19647
  need_lib_prefix=no
19064
19648
  need_version=no
19197
19781
  shlibpath_overrides_runpath=yes
19198
19782
  shlibpath_var=DYLD_LIBRARY_PATH
19199
19783
  shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`'
19200
 
  # Apple's gcc prints 'gcc -print-search-dirs' doesn't operate the same.
19201
 
  if test "$GCC" = yes; then
19202
 
    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"`
19203
 
  else
19204
 
    sys_lib_search_path_spec='/lib /usr/lib /usr/local/lib'
19205
 
  fi
 
19784
 
19206
19785
  sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
19207
19786
  ;;
19208
19787
 
19256
19835
    shlibpath_overrides_runpath=no
19257
19836
    hardcode_into_libs=yes
19258
19837
    ;;
19259
 
  freebsd*) # from 4.6 on
 
19838
  *) # from 4.6 on, and DragonFly
19260
19839
    shlibpath_overrides_runpath=yes
19261
19840
    hardcode_into_libs=yes
19262
19841
    ;;
19319
19898
  postinstall_cmds='chmod 555 $lib'
19320
19899
  ;;
19321
19900
 
19322
 
interix3*)
 
19901
interix[3-9]*)
19323
19902
  version_type=linux
19324
19903
  need_lib_prefix=no
19325
19904
  need_version=no
19390
19969
 
19391
19970
  # Append ld.so.conf contents to the search path
19392
19971
  if test -f /etc/ld.so.conf; then
19393
 
    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' ' '`
 
19972
    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' ' '`
19394
19973
    sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra"
19395
19974
  fi
19396
19975
 
19496
20075
  sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec"
19497
20076
  ;;
19498
20077
 
 
20078
rdos*)
 
20079
  dynamic_linker=no
 
20080
  ;;
 
20081
 
19499
20082
solaris*)
19500
20083
  version_type=linux
19501
20084
  need_lib_prefix=no
19592
20175
echo "${ECHO_T}$dynamic_linker" >&6; }
19593
20176
test "$dynamic_linker" = no && can_build_shared=no
19594
20177
 
 
20178
if test "${lt_cv_sys_lib_search_path_spec+set}" = set; then
 
20179
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
20180
else
 
20181
  lt_cv_sys_lib_search_path_spec="$sys_lib_search_path_spec"
 
20182
fi
 
20183
 
 
20184
sys_lib_search_path_spec="$lt_cv_sys_lib_search_path_spec"
 
20185
if test "${lt_cv_sys_lib_dlsearch_path_spec+set}" = set; then
 
20186
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
20187
else
 
20188
  lt_cv_sys_lib_dlsearch_path_spec="$sys_lib_dlsearch_path_spec"
 
20189
fi
 
20190
 
 
20191
sys_lib_dlsearch_path_spec="$lt_cv_sys_lib_dlsearch_path_spec"
 
20192
 
19595
20193
variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
19596
20194
if test "$GCC" = yes; then
19597
20195
  variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
19675
20273
    predeps_GCJ \
19676
20274
    postdeps_GCJ \
19677
20275
    compiler_lib_search_path_GCJ \
 
20276
    compiler_lib_search_dirs_GCJ \
19678
20277
    archive_cmds_GCJ \
19679
20278
    archive_expsym_cmds_GCJ \
19680
20279
    postinstall_cmds_GCJ \
19690
20289
    module_cmds_GCJ \
19691
20290
    module_expsym_cmds_GCJ \
19692
20291
    lt_cv_prog_compiler_c_o_GCJ \
 
20292
    fix_srcfile_path_GCJ \
19693
20293
    exclude_expsyms_GCJ \
19694
20294
    include_expsyms_GCJ; do
19695
20295
 
19922
20522
# shared library.
19923
20523
postdeps=$lt_postdeps_GCJ
19924
20524
 
 
20525
# The directories searched by this compiler when creating a shared
 
20526
# library
 
20527
compiler_lib_search_dirs=$lt_compiler_lib_search_dirs_GCJ
 
20528
 
19925
20529
# The library search path used internally by the compiler when linking
19926
20530
# a shared library.
19927
20531
compiler_lib_search_path=$lt_compiler_lib_search_path_GCJ
20010
20614
sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
20011
20615
 
20012
20616
# Fix the shell variable \$srcfile for the compiler.
20013
 
fix_srcfile_path="$fix_srcfile_path_GCJ"
 
20617
fix_srcfile_path=$lt_fix_srcfile_path
20014
20618
 
20015
20619
# Set to yes if exported symbols are required.
20016
20620
always_export_symbols=$always_export_symbols_GCJ
20067
20671
objext_RC=$objext
20068
20672
 
20069
20673
# Code to be used in simple compile tests
20070
 
lt_simple_compile_test_code='sample MENU { MENUITEM "&Soup", 100, CHECKED }\n'
 
20674
lt_simple_compile_test_code='sample MENU { MENUITEM "&Soup", 100, CHECKED }'
20071
20675
 
20072
20676
# Code to be used in simple link tests
20073
20677
lt_simple_link_test_code="$lt_simple_compile_test_code"
20086
20690
 
20087
20691
# save warnings/boilerplate of simple test code
20088
20692
ac_outfile=conftest.$ac_objext
20089
 
printf "$lt_simple_compile_test_code" >conftest.$ac_ext
 
20693
echo "$lt_simple_compile_test_code" >conftest.$ac_ext
20090
20694
eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
20091
20695
_lt_compiler_boilerplate=`cat conftest.err`
20092
20696
$rm conftest*
20093
20697
 
20094
20698
ac_outfile=conftest.$ac_objext
20095
 
printf "$lt_simple_link_test_code" >conftest.$ac_ext
 
20699
echo "$lt_simple_link_test_code" >conftest.$ac_ext
20096
20700
eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
20097
20701
_lt_linker_boilerplate=`cat conftest.err`
20098
 
$rm conftest*
 
20702
$rm -r conftest*
20099
20703
 
20100
20704
 
20101
20705
# Allow CC to be a program name with arguments.
20155
20759
    predeps_RC \
20156
20760
    postdeps_RC \
20157
20761
    compiler_lib_search_path_RC \
 
20762
    compiler_lib_search_dirs_RC \
20158
20763
    archive_cmds_RC \
20159
20764
    archive_expsym_cmds_RC \
20160
20765
    postinstall_cmds_RC \
20170
20775
    module_cmds_RC \
20171
20776
    module_expsym_cmds_RC \
20172
20777
    lt_cv_prog_compiler_c_o_RC \
 
20778
    fix_srcfile_path_RC \
20173
20779
    exclude_expsyms_RC \
20174
20780
    include_expsyms_RC; do
20175
20781
 
20402
21008
# shared library.
20403
21009
postdeps=$lt_postdeps_RC
20404
21010
 
 
21011
# The directories searched by this compiler when creating a shared
 
21012
# library
 
21013
compiler_lib_search_dirs=$lt_compiler_lib_search_dirs_RC
 
21014
 
20405
21015
# The library search path used internally by the compiler when linking
20406
21016
# a shared library.
20407
21017
compiler_lib_search_path=$lt_compiler_lib_search_path_RC
20490
21100
sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
20491
21101
 
20492
21102
# Fix the shell variable \$srcfile for the compiler.
20493
 
fix_srcfile_path="$fix_srcfile_path_RC"
 
21103
fix_srcfile_path=$lt_fix_srcfile_path
20494
21104
 
20495
21105
# Set to yes if exported symbols are required.
20496
21106
always_export_symbols=$always_export_symbols_RC
20928
21538
 
20929
21539
MONO_REQUIRED_VERSION=1.1.17
20930
21540
GTKSHARP_REQUIRED_VERSION=2.8.2
 
21541
GNOMESHARP_REQUIRED_VERSION=2.16.1
20931
21542
GCONF_REQUIRED_VERSION=2.4
20932
21543
GECKOSHARP_REQUIRED_VERSION=0.11
20933
21544
 
21162
21773
and BASE_DEPENDENCIES_LIBS to avoid the need to call pkg-config.
21163
21774
See the pkg-config man page for more details.
21164
21775
 
21165
 
To get pkg-config, see <http://www.freedesktop.org/software/pkgconfig>.
 
21776
To get pkg-config, see <http://pkg-config.freedesktop.org/>.
21166
21777
See \`config.log' for more details." >&5
21167
21778
echo "$as_me: error: The pkg-config script could not be found or is too old.  Make sure it
21168
21779
is in your PATH or set the PKG_CONFIG environment variable to the full
21172
21783
and BASE_DEPENDENCIES_LIBS to avoid the need to call pkg-config.
21173
21784
See the pkg-config man page for more details.
21174
21785
 
21175
 
To get pkg-config, see <http://www.freedesktop.org/software/pkgconfig>.
 
21786
To get pkg-config, see <http://pkg-config.freedesktop.org/>.
21176
21787
See \`config.log' for more details." >&2;}
21177
21788
   { (exit 1); exit 1; }; }
21178
21789
else
21196
21807
    { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gtk-sharp-2.0 >= \$GTKSHARP_REQUIRED_VERSION
21197
21808
                  gecko-sharp-2.0 >= \$GECKOSHARP_REQUIRED_VERSION
21198
21809
                  gconf-sharp-2.0 >= \$GTKSHARP_REQUIRED_VERSION
21199
 
                  glade-sharp-2.0 >= \$GTKSHARP_REQUIRED_VERSION\"") >&5
 
21810
                  glade-sharp-2.0 >= \$GTKSHARP_REQUIRED_VERSION
 
21811
                  gnome-sharp-2.0 >= \$GNOMESHARP_REQUIRED_VERSION\"") >&5
21200
21812
  ($PKG_CONFIG --exists --print-errors "gtk-sharp-2.0 >= $GTKSHARP_REQUIRED_VERSION
21201
21813
                  gecko-sharp-2.0 >= $GECKOSHARP_REQUIRED_VERSION
21202
21814
                  gconf-sharp-2.0 >= $GTKSHARP_REQUIRED_VERSION
21203
 
                  glade-sharp-2.0 >= $GTKSHARP_REQUIRED_VERSION") 2>&5
 
21815
                  glade-sharp-2.0 >= $GTKSHARP_REQUIRED_VERSION
 
21816
                  gnome-sharp-2.0 >= $GNOMESHARP_REQUIRED_VERSION") 2>&5
21204
21817
  ac_status=$?
21205
21818
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
21206
21819
  (exit $ac_status); }; then
21207
21820
  pkg_cv_BLAM_CFLAGS=`$PKG_CONFIG --cflags "gtk-sharp-2.0 >= $GTKSHARP_REQUIRED_VERSION
21208
21821
                  gecko-sharp-2.0 >= $GECKOSHARP_REQUIRED_VERSION
21209
21822
                  gconf-sharp-2.0 >= $GTKSHARP_REQUIRED_VERSION
21210
 
                  glade-sharp-2.0 >= $GTKSHARP_REQUIRED_VERSION" 2>/dev/null`
 
21823
                  glade-sharp-2.0 >= $GTKSHARP_REQUIRED_VERSION
 
21824
                  gnome-sharp-2.0 >= $GNOMESHARP_REQUIRED_VERSION" 2>/dev/null`
21211
21825
else
21212
21826
  pkg_failed=yes
21213
21827
fi
21223
21837
    { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gtk-sharp-2.0 >= \$GTKSHARP_REQUIRED_VERSION
21224
21838
                  gecko-sharp-2.0 >= \$GECKOSHARP_REQUIRED_VERSION
21225
21839
                  gconf-sharp-2.0 >= \$GTKSHARP_REQUIRED_VERSION
21226
 
                  glade-sharp-2.0 >= \$GTKSHARP_REQUIRED_VERSION\"") >&5
 
21840
                  glade-sharp-2.0 >= \$GTKSHARP_REQUIRED_VERSION
 
21841
                  gnome-sharp-2.0 >= \$GNOMESHARP_REQUIRED_VERSION\"") >&5
21227
21842
  ($PKG_CONFIG --exists --print-errors "gtk-sharp-2.0 >= $GTKSHARP_REQUIRED_VERSION
21228
21843
                  gecko-sharp-2.0 >= $GECKOSHARP_REQUIRED_VERSION
21229
21844
                  gconf-sharp-2.0 >= $GTKSHARP_REQUIRED_VERSION
21230
 
                  glade-sharp-2.0 >= $GTKSHARP_REQUIRED_VERSION") 2>&5
 
21845
                  glade-sharp-2.0 >= $GTKSHARP_REQUIRED_VERSION
 
21846
                  gnome-sharp-2.0 >= $GNOMESHARP_REQUIRED_VERSION") 2>&5
21231
21847
  ac_status=$?
21232
21848
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
21233
21849
  (exit $ac_status); }; then
21234
21850
  pkg_cv_BLAM_LIBS=`$PKG_CONFIG --libs "gtk-sharp-2.0 >= $GTKSHARP_REQUIRED_VERSION
21235
21851
                  gecko-sharp-2.0 >= $GECKOSHARP_REQUIRED_VERSION
21236
21852
                  gconf-sharp-2.0 >= $GTKSHARP_REQUIRED_VERSION
21237
 
                  glade-sharp-2.0 >= $GTKSHARP_REQUIRED_VERSION" 2>/dev/null`
 
21853
                  glade-sharp-2.0 >= $GTKSHARP_REQUIRED_VERSION
 
21854
                  gnome-sharp-2.0 >= $GNOMESHARP_REQUIRED_VERSION" 2>/dev/null`
21238
21855
else
21239
21856
  pkg_failed=yes
21240
21857
fi
21256
21873
                BLAM_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "gtk-sharp-2.0 >= $GTKSHARP_REQUIRED_VERSION
21257
21874
                  gecko-sharp-2.0 >= $GECKOSHARP_REQUIRED_VERSION
21258
21875
                  gconf-sharp-2.0 >= $GTKSHARP_REQUIRED_VERSION
21259
 
                  glade-sharp-2.0 >= $GTKSHARP_REQUIRED_VERSION"`
 
21876
                  glade-sharp-2.0 >= $GTKSHARP_REQUIRED_VERSION
 
21877
                  gnome-sharp-2.0 >= $GNOMESHARP_REQUIRED_VERSION"`
21260
21878
        else
21261
21879
                BLAM_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "gtk-sharp-2.0 >= $GTKSHARP_REQUIRED_VERSION
21262
21880
                  gecko-sharp-2.0 >= $GECKOSHARP_REQUIRED_VERSION
21263
21881
                  gconf-sharp-2.0 >= $GTKSHARP_REQUIRED_VERSION
21264
 
                  glade-sharp-2.0 >= $GTKSHARP_REQUIRED_VERSION"`
 
21882
                  glade-sharp-2.0 >= $GTKSHARP_REQUIRED_VERSION
 
21883
                  gnome-sharp-2.0 >= $GNOMESHARP_REQUIRED_VERSION"`
21265
21884
        fi
21266
21885
        # Put the nasty error message in config.log where it belongs
21267
21886
        echo "$BLAM_PKG_ERRORS" >&5
21269
21888
        { { echo "$as_me:$LINENO: error: Package requirements (gtk-sharp-2.0 >= $GTKSHARP_REQUIRED_VERSION
21270
21889
                  gecko-sharp-2.0 >= $GECKOSHARP_REQUIRED_VERSION
21271
21890
                  gconf-sharp-2.0 >= $GTKSHARP_REQUIRED_VERSION
21272
 
                  glade-sharp-2.0 >= $GTKSHARP_REQUIRED_VERSION) were not met:
 
21891
                  glade-sharp-2.0 >= $GTKSHARP_REQUIRED_VERSION
 
21892
                  gnome-sharp-2.0 >= $GNOMESHARP_REQUIRED_VERSION) were not met:
21273
21893
 
21274
21894
$BLAM_PKG_ERRORS
21275
21895
 
21283
21903
echo "$as_me: error: Package requirements (gtk-sharp-2.0 >= $GTKSHARP_REQUIRED_VERSION
21284
21904
                  gecko-sharp-2.0 >= $GECKOSHARP_REQUIRED_VERSION
21285
21905
                  gconf-sharp-2.0 >= $GTKSHARP_REQUIRED_VERSION
21286
 
                  glade-sharp-2.0 >= $GTKSHARP_REQUIRED_VERSION) were not met:
 
21906
                  glade-sharp-2.0 >= $GTKSHARP_REQUIRED_VERSION
 
21907
                  gnome-sharp-2.0 >= $GNOMESHARP_REQUIRED_VERSION) were not met:
21287
21908
 
21288
21909
$BLAM_PKG_ERRORS
21289
21910
 
21304
21925
and BLAM_LIBS to avoid the need to call pkg-config.
21305
21926
See the pkg-config man page for more details.
21306
21927
 
21307
 
To get pkg-config, see <http://www.freedesktop.org/software/pkgconfig>.
 
21928
To get pkg-config, see <http://pkg-config.freedesktop.org/>.
21308
21929
See \`config.log' for more details." >&5
21309
21930
echo "$as_me: error: The pkg-config script could not be found or is too old.  Make sure it
21310
21931
is in your PATH or set the PKG_CONFIG environment variable to the full
21314
21935
and BLAM_LIBS to avoid the need to call pkg-config.
21315
21936
See the pkg-config man page for more details.
21316
21937
 
21317
 
To get pkg-config, see <http://www.freedesktop.org/software/pkgconfig>.
 
21938
To get pkg-config, see <http://pkg-config.freedesktop.org/>.
21318
21939
See \`config.log' for more details." >&2;}
21319
21940
   { (exit 1); exit 1; }; }
21320
21941
else
21340
21961
        pkg_cv_DBUS_CFLAGS="$DBUS_CFLAGS"
21341
21962
    else
21342
21963
        if test -n "$PKG_CONFIG" && \
21343
 
    { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"dbus-sharp\"") >&5
21344
 
  ($PKG_CONFIG --exists --print-errors "dbus-sharp") 2>&5
 
21964
    { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"ndesk-dbus-glib-1.0\"") >&5
 
21965
  ($PKG_CONFIG --exists --print-errors "ndesk-dbus-glib-1.0") 2>&5
21345
21966
  ac_status=$?
21346
21967
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
21347
21968
  (exit $ac_status); }; then
21348
 
  pkg_cv_DBUS_CFLAGS=`$PKG_CONFIG --cflags "dbus-sharp" 2>/dev/null`
 
21969
  pkg_cv_DBUS_CFLAGS=`$PKG_CONFIG --cflags "ndesk-dbus-glib-1.0" 2>/dev/null`
21349
21970
else
21350
21971
  pkg_failed=yes
21351
21972
fi
21358
21979
        pkg_cv_DBUS_LIBS="$DBUS_LIBS"
21359
21980
    else
21360
21981
        if test -n "$PKG_CONFIG" && \
21361
 
    { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"dbus-sharp\"") >&5
21362
 
  ($PKG_CONFIG --exists --print-errors "dbus-sharp") 2>&5
 
21982
    { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"ndesk-dbus-glib-1.0\"") >&5
 
21983
  ($PKG_CONFIG --exists --print-errors "ndesk-dbus-glib-1.0") 2>&5
21363
21984
  ac_status=$?
21364
21985
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
21365
21986
  (exit $ac_status); }; then
21366
 
  pkg_cv_DBUS_LIBS=`$PKG_CONFIG --libs "dbus-sharp" 2>/dev/null`
 
21987
  pkg_cv_DBUS_LIBS=`$PKG_CONFIG --libs "ndesk-dbus-glib-1.0" 2>/dev/null`
21367
21988
else
21368
21989
  pkg_failed=yes
21369
21990
fi
21382
22003
        _pkg_short_errors_supported=no
21383
22004
fi
21384
22005
        if test $_pkg_short_errors_supported = yes; then
21385
 
                DBUS_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "dbus-sharp"`
 
22006
                DBUS_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "ndesk-dbus-glib-1.0"`
21386
22007
        else
21387
 
                DBUS_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "dbus-sharp"`
 
22008
                DBUS_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "ndesk-dbus-glib-1.0"`
21388
22009
        fi
21389
22010
        # Put the nasty error message in config.log where it belongs
21390
22011
        echo "$DBUS_PKG_ERRORS" >&5
21555
22176
and MOZILLA_COMPONENT_LIBS to avoid the need to call pkg-config.
21556
22177
See the pkg-config man page for more details.
21557
22178
 
21558
 
To get pkg-config, see <http://www.freedesktop.org/software/pkgconfig>.
 
22179
To get pkg-config, see <http://pkg-config.freedesktop.org/>.
21559
22180
See \`config.log' for more details." >&5
21560
22181
echo "$as_me: error: The pkg-config script could not be found or is too old.  Make sure it
21561
22182
is in your PATH or set the PKG_CONFIG environment variable to the full
21565
22186
and MOZILLA_COMPONENT_LIBS to avoid the need to call pkg-config.
21566
22187
See the pkg-config man page for more details.
21567
22188
 
21568
 
To get pkg-config, see <http://www.freedesktop.org/software/pkgconfig>.
 
22189
To get pkg-config, see <http://pkg-config.freedesktop.org/>.
21569
22190
See \`config.log' for more details." >&2;}
21570
22191
   { (exit 1); exit 1; }; }
21571
22192
else
21973
22594
and LIBBLAM_LIBS to avoid the need to call pkg-config.
21974
22595
See the pkg-config man page for more details.
21975
22596
 
21976
 
To get pkg-config, see <http://www.freedesktop.org/software/pkgconfig>.
 
22597
To get pkg-config, see <http://pkg-config.freedesktop.org/>.
21977
22598
See \`config.log' for more details." >&5
21978
22599
echo "$as_me: error: The pkg-config script could not be found or is too old.  Make sure it
21979
22600
is in your PATH or set the PKG_CONFIG environment variable to the full
21983
22604
and LIBBLAM_LIBS to avoid the need to call pkg-config.
21984
22605
See the pkg-config man page for more details.
21985
22606
 
21986
 
To get pkg-config, see <http://www.freedesktop.org/software/pkgconfig>.
 
22607
To get pkg-config, see <http://pkg-config.freedesktop.org/>.
21987
22608
See \`config.log' for more details." >&2;}
21988
22609
   { (exit 1); exit 1; }; }
21989
22610
else
21997
22618
 
21998
22619
 
21999
22620
 
22000
 
ALL_LINGUAS="bg bs ca cs da de el en_CA en_GB es eu fi fr ga gu he hr hu it lt lv ja nb ne nl pa pl pt_BR pt ru rw sk sq sr@Latn sr sv tr uk vi zh_CN zh_HK zh_TW"
 
22621
ALL_LINGUAS="ar bg bs ca cs da de dz el en_CA en_GB es eu fi fr ga gu he hr hu it lt lv ja nb ne nl oc pa pl pt_BR pt ru rw sk sl sq sr@Latn sr sv tr uk vi zh_CN zh_HK zh_TW"
22001
22622
GETTEXT_PACKAGE=blam
22002
22623
 
22003
22624
 
22207
22828
 
22208
22829
    fi
22209
22830
  fi
22210
 
         USE_NLS=yes
 
22831
     USE_NLS=yes
22211
22832
 
22212
22833
 
22213
22834
    gt_cv_have_gettext=no
23162
23783
fi
23163
23784
done
23164
23785
 
 
23786
          MSGFMT_OPTS=
 
23787
          { echo "$as_me:$LINENO: checking if msgfmt accepts -c" >&5
 
23788
echo $ECHO_N "checking if msgfmt accepts -c... $ECHO_C" >&6; }
 
23789
          cat >conftest.foo <<_ACEOF
 
23790
 
 
23791
msgid ""
 
23792
msgstr ""
 
23793
"Content-Type: text/plain; charset=UTF-8\n"
 
23794
"Project-Id-Version: test 1.0\n"
 
23795
"PO-Revision-Date: 2007-02-15 12:01+0100\n"
 
23796
"Last-Translator: test <foo@bar.xx>\n"
 
23797
"Language-Team: C <LL@li.org>\n"
 
23798
"MIME-Version: 1.0\n"
 
23799
"Content-Transfer-Encoding: 8bit\n"
 
23800
 
 
23801
_ACEOF
 
23802
if { (echo "$as_me:$LINENO: \$MSGFMT -c -o /dev/null conftest.foo") >&5
 
23803
  ($MSGFMT -c -o /dev/null conftest.foo) 2>&5
 
23804
  ac_status=$?
 
23805
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
23806
  (exit $ac_status); }; then
 
23807
  MSGFMT_OPTS=-c; { echo "$as_me:$LINENO: result: yes" >&5
 
23808
echo "${ECHO_T}yes" >&6; }
 
23809
else { echo "$as_me:$LINENO: result: no" >&5
 
23810
echo "${ECHO_T}no" >&6; }
 
23811
echo "$as_me: failed input was:" >&5
 
23812
sed 's/^/| /' conftest.foo >&5
 
23813
fi
 
23814
 
23165
23815
          # Extract the first word of "gmsgfmt", so it can be a program name with args.
23166
23816
set dummy gmsgfmt; ac_word=$2
23167
23817
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
23497
24147
CPPFLAGS=${_cppflags}
23498
24148
LDFLAGS=${_ldflags}
23499
24149
 
23500
 
ac_config_files="$ac_config_files Makefile icons/Makefile lib/Makefile libblam/Makefile src/Makefile po/Makefile.in blam.desktop.in themes/Makefile themes/akregator/Makefile themes/blam/Makefile themes/pimped/Makefile themes/planet/Makefile"
 
24150
ac_config_files="$ac_config_files Makefile icons/Makefile icons/16x16/Makefile icons/22x22/Makefile icons/24x24/Makefile icons/32x32/Makefile icons/48x48/Makefile icons/scalable/Makefile lib/Makefile libblam/Makefile src/Makefile po/Makefile.in blam.desktop.in themes/Makefile themes/akregator/Makefile themes/blam/Makefile themes/pimped/Makefile themes/planet/Makefile"
23501
24151
 
23502
24152
cat >confcache <<\_ACEOF
23503
24153
# This file is a shell script that caches the results of configure
24114
24764
AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
24115
24765
INTLTOOL_PERL='${INTLTOOL_PERL}' ac_aux_dir='${ac_aux_dir}'
24116
24766
prefix="$prefix" exec_prefix="$exec_prefix" INTLTOOL_LIBDIR="$libdir"
24117
 
INTLTOOL_EXTRACT='${INTLTOOL_EXTRACT}' INTLTOOL_ICONV='${INTLTOOL_ICONV}'
24118
 
INTLTOOL_MSGFMT='${INTLTOOL_MSGFMT}' INTLTOOL_MSGMERGE='${INTLTOOL_MSGMERGE}'
24119
 
INTLTOOL_XGETTEXT='${INTLTOOL_XGETTEXT}'
 
24767
INTLTOOL_EXTRACT='${INTLTOOL_EXTRACT}'
24120
24768
 
24121
24769
 
24122
24770
_ACEOF
24133
24781
    "default-1") CONFIG_COMMANDS="$CONFIG_COMMANDS default-1" ;;
24134
24782
    "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
24135
24783
    "icons/Makefile") CONFIG_FILES="$CONFIG_FILES icons/Makefile" ;;
 
24784
    "icons/16x16/Makefile") CONFIG_FILES="$CONFIG_FILES icons/16x16/Makefile" ;;
 
24785
    "icons/22x22/Makefile") CONFIG_FILES="$CONFIG_FILES icons/22x22/Makefile" ;;
 
24786
    "icons/24x24/Makefile") CONFIG_FILES="$CONFIG_FILES icons/24x24/Makefile" ;;
 
24787
    "icons/32x32/Makefile") CONFIG_FILES="$CONFIG_FILES icons/32x32/Makefile" ;;
 
24788
    "icons/48x48/Makefile") CONFIG_FILES="$CONFIG_FILES icons/48x48/Makefile" ;;
 
24789
    "icons/scalable/Makefile") CONFIG_FILES="$CONFIG_FILES icons/scalable/Makefile" ;;
24136
24790
    "lib/Makefile") CONFIG_FILES="$CONFIG_FILES lib/Makefile" ;;
24137
24791
    "libblam/Makefile") CONFIG_FILES="$CONFIG_FILES libblam/Makefile" ;;
24138
24792
    "src/Makefile") CONFIG_FILES="$CONFIG_FILES src/Makefile" ;;
24297
24951
INTLTOOL_SCHEMAS_RULE!$INTLTOOL_SCHEMAS_RULE$ac_delim
24298
24952
INTLTOOL_THEME_RULE!$INTLTOOL_THEME_RULE$ac_delim
24299
24953
INTLTOOL_SERVICE_RULE!$INTLTOOL_SERVICE_RULE$ac_delim
 
24954
INTLTOOL_POLICY_RULE!$INTLTOOL_POLICY_RULE$ac_delim
 
24955
XGETTEXT!$XGETTEXT$ac_delim
 
24956
MSGMERGE!$MSGMERGE$ac_delim
 
24957
MSGFMT!$MSGFMT$ac_delim
24300
24958
INTLTOOL_EXTRACT!$INTLTOOL_EXTRACT$ac_delim
24301
24959
INTLTOOL_MERGE!$INTLTOOL_MERGE$ac_delim
 
24960
_ACEOF
 
24961
 
 
24962
  if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 97; then
 
24963
    break
 
24964
  elif $ac_last_try; then
 
24965
    { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
 
24966
echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
 
24967
   { (exit 1); exit 1; }; }
 
24968
  else
 
24969
    ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
 
24970
  fi
 
24971
done
 
24972
 
 
24973
ac_eof=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
 
24974
if test -n "$ac_eof"; then
 
24975
  ac_eof=`echo "$ac_eof" | sort -nru | sed 1q`
 
24976
  ac_eof=`expr $ac_eof + 1`
 
24977
fi
 
24978
 
 
24979
cat >>$CONFIG_STATUS <<_ACEOF
 
24980
cat >"\$tmp/subs-1.sed" <<\CEOF$ac_eof
 
24981
/@[a-zA-Z_][a-zA-Z_0-9]*@/!b
 
24982
_ACEOF
 
24983
sed '
 
24984
s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
 
24985
s/^/s,@/; s/!/@,|#_!!_#|/
 
24986
:n
 
24987
t n
 
24988
s/'"$ac_delim"'$/,g/; t
 
24989
s/$/\\/; p
 
24990
N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
 
24991
' >>$CONFIG_STATUS <conf$$subs.sed
 
24992
rm -f conf$$subs.sed
 
24993
cat >>$CONFIG_STATUS <<_ACEOF
 
24994
CEOF$ac_eof
 
24995
_ACEOF
 
24996
 
 
24997
 
 
24998
ac_delim='%!_!# '
 
24999
for ac_last_try in false false false false false :; do
 
25000
  cat >conf$$subs.sed <<_ACEOF
24302
25001
INTLTOOL_UPDATE!$INTLTOOL_UPDATE$ac_delim
24303
25002
INTLTOOL_PERL!$INTLTOOL_PERL$ac_delim
24304
 
INTLTOOL_ICONV!$INTLTOOL_ICONV$ac_delim
24305
 
INTLTOOL_MSGFMT!$INTLTOOL_MSGFMT$ac_delim
24306
 
_ACEOF
24307
 
 
24308
 
  if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 97; then
24309
 
    break
24310
 
  elif $ac_last_try; then
24311
 
    { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
24312
 
echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
24313
 
   { (exit 1); exit 1; }; }
24314
 
  else
24315
 
    ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
24316
 
  fi
24317
 
done
24318
 
 
24319
 
ac_eof=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
24320
 
if test -n "$ac_eof"; then
24321
 
  ac_eof=`echo "$ac_eof" | sort -nru | sed 1q`
24322
 
  ac_eof=`expr $ac_eof + 1`
24323
 
fi
24324
 
 
24325
 
cat >>$CONFIG_STATUS <<_ACEOF
24326
 
cat >"\$tmp/subs-1.sed" <<\CEOF$ac_eof
24327
 
/@[a-zA-Z_][a-zA-Z_0-9]*@/!b
24328
 
_ACEOF
24329
 
sed '
24330
 
s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
24331
 
s/^/s,@/; s/!/@,|#_!!_#|/
24332
 
:n
24333
 
t n
24334
 
s/'"$ac_delim"'$/,g/; t
24335
 
s/$/\\/; p
24336
 
N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
24337
 
' >>$CONFIG_STATUS <conf$$subs.sed
24338
 
rm -f conf$$subs.sed
24339
 
cat >>$CONFIG_STATUS <<_ACEOF
24340
 
CEOF$ac_eof
24341
 
_ACEOF
24342
 
 
24343
 
 
24344
 
ac_delim='%!_!# '
24345
 
for ac_last_try in false false false false false :; do
24346
 
  cat >conf$$subs.sed <<_ACEOF
24347
 
INTLTOOL_MSGMERGE!$INTLTOOL_MSGMERGE$ac_delim
24348
 
INTLTOOL_XGETTEXT!$INTLTOOL_XGETTEXT$ac_delim
24349
25003
ALL_LINGUAS!$ALL_LINGUAS$ac_delim
24350
25004
CC!$CC$ac_delim
24351
25005
CFLAGS!$CFLAGS$ac_delim
24373
25027
CPP!$CPP$ac_delim
24374
25028
GREP!$GREP$ac_delim
24375
25029
EGREP!$EGREP$ac_delim
 
25030
SED!$SED$ac_delim
24376
25031
LN_S!$LN_S$ac_delim
24377
25032
ECHO!$ECHO$ac_delim
24378
25033
AR!$AR$ac_delim
24379
25034
RANLIB!$RANLIB$ac_delim
 
25035
DSYMUTIL!$DSYMUTIL$ac_delim
 
25036
NMEDIT!$NMEDIT$ac_delim
24380
25037
CXXCPP!$CXXCPP$ac_delim
24381
25038
F77!$F77$ac_delim
24382
25039
FFLAGS!$FFLAGS$ac_delim
24413
25070
LIBBLAM_LIBS!$LIBBLAM_LIBS$ac_delim
24414
25071
GETTEXT_PACKAGE!$GETTEXT_PACKAGE$ac_delim
24415
25072
USE_NLS!$USE_NLS$ac_delim
24416
 
MSGFMT!$MSGFMT$ac_delim
 
25073
MSGFMT_OPTS!$MSGFMT_OPTS$ac_delim
24417
25074
GMSGFMT!$GMSGFMT$ac_delim
24418
 
XGETTEXT!$XGETTEXT$ac_delim
24419
25075
CATALOGS!$CATALOGS$ac_delim
24420
25076
CATOBJEXT!$CATOBJEXT$ac_delim
24421
25077
GMOFILES!$GMOFILES$ac_delim
24430
25086
LTLIBOBJS!$LTLIBOBJS$ac_delim
24431
25087
_ACEOF
24432
25088
 
24433
 
  if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 84; then
 
25089
  if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 86; then
24434
25090
    break
24435
25091
  elif $ac_last_try; then
24436
25092
    { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
24994
25650
for file in intltool-extract intltool-merge intltool-update; do
24995
25651
  sed -e "s|@INTLTOOL_EXTRACT@|`pwd`/intltool-extract|g" \
24996
25652
      -e "s|@INTLTOOL_LIBDIR@|${INTLTOOL_LIBDIR}|g" \
24997
 
      -e "s|@INTLTOOL_ICONV@|${INTLTOOL_ICONV}|g" \
24998
 
      -e "s|@INTLTOOL_MSGFMT@|${INTLTOOL_MSGFMT}|g" \
24999
 
      -e "s|@INTLTOOL_MSGMERGE@|${INTLTOOL_MSGMERGE}|g" \
25000
 
      -e "s|@INTLTOOL_XGETTEXT@|${INTLTOOL_XGETTEXT}|g" \
25001
25653
      -e "s|@INTLTOOL_PERL@|${INTLTOOL_PERL}|g" \
25002
25654
        < ${ac_aux_dir}/${file}.in > ${file}.out
25003
25655
  if cmp -s ${file} ${file}.out 2>/dev/null; then
25073
25725
echo "Installing in prefix: $prefix"
25074
25726
echo
25075
25727
echo "Using Mozilla: $MOZILLA"
25076
 
echo "Enable Dbus: $ENABLE_DBUS"
 
25728
echo "Enable D-Bus: $ENABLE_DBUS"
25077
25729
echo