~ubuntu-branches/ubuntu/quantal/tidy/quantal

« back to all changes in this revision

Viewing changes to configure

  • Committer: Bazaar Package Importer
  • Author(s): Jason Thomas
  • Date: 2008-12-24 13:25:54 UTC
  • mfrom: (3.1.2 squeeze)
  • Revision ID: james.westby@ubuntu.com-20081224132554-l7900667kdy9eeu5
Tags: 20081224cvs-1
* New cvs snapshot
* debian/control: add debhelper ${misc:Depends} to all packages
- add versioned depend on libtidy-0.99-0 (>= 20081224cvs-1) for tidy
  (closes: #470764)
- add Homepage field
- update standards-version from 3.7.3.0 to 3.8.0.0
* debian/tidy-doc.doc-base: change section from App/Text to Web Development
* debian/tidy.postinst + tidy.preinst: set the -e flag
* debian/README.source: new, how to build source tarball from upstream
* debian/README.Debian: add urls to more documentation
  (closes: #353912)
* debian/patches/03overview-tab-size.patch: add patch to fix tab-size
  (closes: #353907)
* tidy doc has been built from same source as tidy for a while
  (closes: #364960)
* debian/rules:
  - add -xml-config to generated manpage
  - clean up generated files
  (closes: #471107)
* manpage: -latin0 options has correct info as of 20080116cvs-1
  (closes: #506394 )

Show diffs side-by-side

added added

removed removed

Lines of Context:
869
869
ECHO
870
870
AR
871
871
RANLIB
 
872
DSYMUTIL
 
873
NMEDIT
872
874
CXXCPP
873
875
F77
874
876
FFLAGS
3526
3528
 
3527
3529
 
3528
3530
if test "x$GCC" = "xyes"; then
3529
 
        WARNING_CFLAGS="-Wall -Wno-switch -Wno-parentheses -Wno-unused"
 
3531
        WARNING_CFLAGS="-Wall"
3530
3532
else
3531
3533
        WARNING_CFLAGS=""
3532
3534
fi
4925
4927
# whether `pass_all' will *always* work, you probably want this one.
4926
4928
 
4927
4929
case $host_os in
4928
 
aix4* | aix5*)
 
4930
aix[4-9]*)
4929
4931
  lt_cv_deplibs_check_method=pass_all
4930
4932
  ;;
4931
4933
 
5141
5143
  ;;
5142
5144
*-*-irix6*)
5143
5145
  # Find out which ABI we are using.
5144
 
  echo '#line 5144 "configure"' > conftest.$ac_ext
 
5146
  echo '#line 5146 "configure"' > conftest.$ac_ext
5145
5147
  if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5146
5148
  (eval $ac_compile) 2>&5
5147
5149
  ac_status=$?
5313
5315
    *64-bit*)
5314
5316
      case $lt_cv_prog_gnu_ld in
5315
5317
      yes*) LD="${LD-ld} -m elf64_sparc" ;;
5316
 
      *)    LD="${LD-ld} -64" ;;
 
5318
      *)
 
5319
        if ${LD-ld} -64 -r -o conftest2.o conftest.o >/dev/null 2>&1; then
 
5320
          LD="${LD-ld} -64"
 
5321
        fi
 
5322
        ;;
5317
5323
      esac
5318
5324
      ;;
5319
5325
    esac
6208
6214
 
6209
6215
 
6210
6216
# Autoconf 2.13's AC_OBJEXT and AC_EXEEXT macros only works for C compilers!
6211
 
 
6212
6217
# find the maximum length of command line arguments
6213
6218
{ echo "$as_me:$LINENO: checking the maximum length of command line arguments" >&5
6214
6219
echo $ECHO_N "checking the maximum length of command line arguments... $ECHO_C" >&6; }
6523
6528
    echo "$progname: failed program was:" >&5
6524
6529
    cat conftest.$ac_ext >&5
6525
6530
  fi
6526
 
  rm -f conftest* conftst*
 
6531
  rm -rf conftest* conftst*
6527
6532
 
6528
6533
  # Do not use the global_symbol_pipe unless it works.
6529
6534
  if test "$pipe_works" = yes; then
7083
7088
  ;;
7084
7089
esac
7085
7090
 
 
7091
 
 
7092
  case $host_os in
 
7093
    rhapsody* | darwin*)
 
7094
    if test -n "$ac_tool_prefix"; then
 
7095
  # Extract the first word of "${ac_tool_prefix}dsymutil", so it can be a program name with args.
 
7096
set dummy ${ac_tool_prefix}dsymutil; ac_word=$2
 
7097
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
 
7098
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
 
7099
if test "${ac_cv_prog_DSYMUTIL+set}" = set; then
 
7100
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
7101
else
 
7102
  if test -n "$DSYMUTIL"; then
 
7103
  ac_cv_prog_DSYMUTIL="$DSYMUTIL" # Let the user override the test.
 
7104
else
 
7105
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
7106
for as_dir in $PATH
 
7107
do
 
7108
  IFS=$as_save_IFS
 
7109
  test -z "$as_dir" && as_dir=.
 
7110
  for ac_exec_ext in '' $ac_executable_extensions; do
 
7111
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 
7112
    ac_cv_prog_DSYMUTIL="${ac_tool_prefix}dsymutil"
 
7113
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
7114
    break 2
 
7115
  fi
 
7116
done
 
7117
done
 
7118
IFS=$as_save_IFS
 
7119
 
 
7120
fi
 
7121
fi
 
7122
DSYMUTIL=$ac_cv_prog_DSYMUTIL
 
7123
if test -n "$DSYMUTIL"; then
 
7124
  { echo "$as_me:$LINENO: result: $DSYMUTIL" >&5
 
7125
echo "${ECHO_T}$DSYMUTIL" >&6; }
 
7126
else
 
7127
  { echo "$as_me:$LINENO: result: no" >&5
 
7128
echo "${ECHO_T}no" >&6; }
 
7129
fi
 
7130
 
 
7131
 
 
7132
fi
 
7133
if test -z "$ac_cv_prog_DSYMUTIL"; then
 
7134
  ac_ct_DSYMUTIL=$DSYMUTIL
 
7135
  # Extract the first word of "dsymutil", so it can be a program name with args.
 
7136
set dummy dsymutil; ac_word=$2
 
7137
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
 
7138
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
 
7139
if test "${ac_cv_prog_ac_ct_DSYMUTIL+set}" = set; then
 
7140
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
7141
else
 
7142
  if test -n "$ac_ct_DSYMUTIL"; then
 
7143
  ac_cv_prog_ac_ct_DSYMUTIL="$ac_ct_DSYMUTIL" # Let the user override the test.
 
7144
else
 
7145
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
7146
for as_dir in $PATH
 
7147
do
 
7148
  IFS=$as_save_IFS
 
7149
  test -z "$as_dir" && as_dir=.
 
7150
  for ac_exec_ext in '' $ac_executable_extensions; do
 
7151
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 
7152
    ac_cv_prog_ac_ct_DSYMUTIL="dsymutil"
 
7153
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
7154
    break 2
 
7155
  fi
 
7156
done
 
7157
done
 
7158
IFS=$as_save_IFS
 
7159
 
 
7160
fi
 
7161
fi
 
7162
ac_ct_DSYMUTIL=$ac_cv_prog_ac_ct_DSYMUTIL
 
7163
if test -n "$ac_ct_DSYMUTIL"; then
 
7164
  { echo "$as_me:$LINENO: result: $ac_ct_DSYMUTIL" >&5
 
7165
echo "${ECHO_T}$ac_ct_DSYMUTIL" >&6; }
 
7166
else
 
7167
  { echo "$as_me:$LINENO: result: no" >&5
 
7168
echo "${ECHO_T}no" >&6; }
 
7169
fi
 
7170
 
 
7171
  if test "x$ac_ct_DSYMUTIL" = x; then
 
7172
    DSYMUTIL=":"
 
7173
  else
 
7174
    case $cross_compiling:$ac_tool_warned in
 
7175
yes:)
 
7176
{ echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
 
7177
whose name does not start with the host triplet.  If you think this
 
7178
configuration is useful to you, please write to autoconf@gnu.org." >&5
 
7179
echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
 
7180
whose name does not start with the host triplet.  If you think this
 
7181
configuration is useful to you, please write to autoconf@gnu.org." >&2;}
 
7182
ac_tool_warned=yes ;;
 
7183
esac
 
7184
    DSYMUTIL=$ac_ct_DSYMUTIL
 
7185
  fi
 
7186
else
 
7187
  DSYMUTIL="$ac_cv_prog_DSYMUTIL"
 
7188
fi
 
7189
 
 
7190
    if test -n "$ac_tool_prefix"; then
 
7191
  # Extract the first word of "${ac_tool_prefix}nmedit", so it can be a program name with args.
 
7192
set dummy ${ac_tool_prefix}nmedit; ac_word=$2
 
7193
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
 
7194
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
 
7195
if test "${ac_cv_prog_NMEDIT+set}" = set; then
 
7196
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
7197
else
 
7198
  if test -n "$NMEDIT"; then
 
7199
  ac_cv_prog_NMEDIT="$NMEDIT" # Let the user override the test.
 
7200
else
 
7201
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
7202
for as_dir in $PATH
 
7203
do
 
7204
  IFS=$as_save_IFS
 
7205
  test -z "$as_dir" && as_dir=.
 
7206
  for ac_exec_ext in '' $ac_executable_extensions; do
 
7207
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 
7208
    ac_cv_prog_NMEDIT="${ac_tool_prefix}nmedit"
 
7209
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
7210
    break 2
 
7211
  fi
 
7212
done
 
7213
done
 
7214
IFS=$as_save_IFS
 
7215
 
 
7216
fi
 
7217
fi
 
7218
NMEDIT=$ac_cv_prog_NMEDIT
 
7219
if test -n "$NMEDIT"; then
 
7220
  { echo "$as_me:$LINENO: result: $NMEDIT" >&5
 
7221
echo "${ECHO_T}$NMEDIT" >&6; }
 
7222
else
 
7223
  { echo "$as_me:$LINENO: result: no" >&5
 
7224
echo "${ECHO_T}no" >&6; }
 
7225
fi
 
7226
 
 
7227
 
 
7228
fi
 
7229
if test -z "$ac_cv_prog_NMEDIT"; then
 
7230
  ac_ct_NMEDIT=$NMEDIT
 
7231
  # Extract the first word of "nmedit", so it can be a program name with args.
 
7232
set dummy nmedit; ac_word=$2
 
7233
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
 
7234
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
 
7235
if test "${ac_cv_prog_ac_ct_NMEDIT+set}" = set; then
 
7236
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
7237
else
 
7238
  if test -n "$ac_ct_NMEDIT"; then
 
7239
  ac_cv_prog_ac_ct_NMEDIT="$ac_ct_NMEDIT" # Let the user override the test.
 
7240
else
 
7241
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
7242
for as_dir in $PATH
 
7243
do
 
7244
  IFS=$as_save_IFS
 
7245
  test -z "$as_dir" && as_dir=.
 
7246
  for ac_exec_ext in '' $ac_executable_extensions; do
 
7247
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 
7248
    ac_cv_prog_ac_ct_NMEDIT="nmedit"
 
7249
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
7250
    break 2
 
7251
  fi
 
7252
done
 
7253
done
 
7254
IFS=$as_save_IFS
 
7255
 
 
7256
fi
 
7257
fi
 
7258
ac_ct_NMEDIT=$ac_cv_prog_ac_ct_NMEDIT
 
7259
if test -n "$ac_ct_NMEDIT"; then
 
7260
  { echo "$as_me:$LINENO: result: $ac_ct_NMEDIT" >&5
 
7261
echo "${ECHO_T}$ac_ct_NMEDIT" >&6; }
 
7262
else
 
7263
  { echo "$as_me:$LINENO: result: no" >&5
 
7264
echo "${ECHO_T}no" >&6; }
 
7265
fi
 
7266
 
 
7267
  if test "x$ac_ct_NMEDIT" = x; then
 
7268
    NMEDIT=":"
 
7269
  else
 
7270
    case $cross_compiling:$ac_tool_warned in
 
7271
yes:)
 
7272
{ echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
 
7273
whose name does not start with the host triplet.  If you think this
 
7274
configuration is useful to you, please write to autoconf@gnu.org." >&5
 
7275
echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
 
7276
whose name does not start with the host triplet.  If you think this
 
7277
configuration is useful to you, please write to autoconf@gnu.org." >&2;}
 
7278
ac_tool_warned=yes ;;
 
7279
esac
 
7280
    NMEDIT=$ac_ct_NMEDIT
 
7281
  fi
 
7282
else
 
7283
  NMEDIT="$ac_cv_prog_NMEDIT"
 
7284
fi
 
7285
 
 
7286
 
 
7287
    { echo "$as_me:$LINENO: checking for -single_module linker flag" >&5
 
7288
echo $ECHO_N "checking for -single_module linker flag... $ECHO_C" >&6; }
 
7289
if test "${lt_cv_apple_cc_single_mod+set}" = set; then
 
7290
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
7291
else
 
7292
  lt_cv_apple_cc_single_mod=no
 
7293
      if test -z "${LT_MULTI_MODULE}"; then
 
7294
   # By default we will add the -single_module flag. You can override
 
7295
   # by either setting the environment variable LT_MULTI_MODULE
 
7296
   # non-empty at configure time, or by adding -multi_module to the
 
7297
   # link flags.
 
7298
   echo "int foo(void){return 1;}" > conftest.c
 
7299
   $LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
 
7300
     -dynamiclib ${wl}-single_module conftest.c
 
7301
   if test -f libconftest.dylib; then
 
7302
     lt_cv_apple_cc_single_mod=yes
 
7303
     rm -rf libconftest.dylib*
 
7304
   fi
 
7305
   rm conftest.c
 
7306
      fi
 
7307
fi
 
7308
{ echo "$as_me:$LINENO: result: $lt_cv_apple_cc_single_mod" >&5
 
7309
echo "${ECHO_T}$lt_cv_apple_cc_single_mod" >&6; }
 
7310
    { echo "$as_me:$LINENO: checking for -exported_symbols_list linker flag" >&5
 
7311
echo $ECHO_N "checking for -exported_symbols_list linker flag... $ECHO_C" >&6; }
 
7312
if test "${lt_cv_ld_exported_symbols_list+set}" = set; then
 
7313
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
7314
else
 
7315
  lt_cv_ld_exported_symbols_list=no
 
7316
      save_LDFLAGS=$LDFLAGS
 
7317
      echo "_main" > conftest.sym
 
7318
      LDFLAGS="$LDFLAGS -Wl,-exported_symbols_list,conftest.sym"
 
7319
      cat >conftest.$ac_ext <<_ACEOF
 
7320
/* confdefs.h.  */
 
7321
_ACEOF
 
7322
cat confdefs.h >>conftest.$ac_ext
 
7323
cat >>conftest.$ac_ext <<_ACEOF
 
7324
/* end confdefs.h.  */
 
7325
 
 
7326
int
 
7327
main ()
 
7328
{
 
7329
 
 
7330
  ;
 
7331
  return 0;
 
7332
}
 
7333
_ACEOF
 
7334
rm -f conftest.$ac_objext conftest$ac_exeext
 
7335
if { (ac_try="$ac_link"
 
7336
case "(($ac_try" in
 
7337
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
7338
  *) ac_try_echo=$ac_try;;
 
7339
esac
 
7340
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
7341
  (eval "$ac_link") 2>conftest.er1
 
7342
  ac_status=$?
 
7343
  grep -v '^ *+' conftest.er1 >conftest.err
 
7344
  rm -f conftest.er1
 
7345
  cat conftest.err >&5
 
7346
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
7347
  (exit $ac_status); } && {
 
7348
         test -z "$ac_c_werror_flag" ||
 
7349
         test ! -s conftest.err
 
7350
       } && test -s conftest$ac_exeext &&
 
7351
       $as_test_x conftest$ac_exeext; then
 
7352
  lt_cv_ld_exported_symbols_list=yes
 
7353
else
 
7354
  echo "$as_me: failed program was:" >&5
 
7355
sed 's/^/| /' conftest.$ac_ext >&5
 
7356
 
 
7357
        lt_cv_ld_exported_symbols_list=no
 
7358
fi
 
7359
 
 
7360
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
 
7361
      conftest$ac_exeext conftest.$ac_ext
 
7362
   LDFLAGS="$save_LDFLAGS"
 
7363
 
 
7364
fi
 
7365
{ echo "$as_me:$LINENO: result: $lt_cv_ld_exported_symbols_list" >&5
 
7366
echo "${ECHO_T}$lt_cv_ld_exported_symbols_list" >&6; }
 
7367
    case $host_os in
 
7368
    rhapsody* | darwin1.[0123])
 
7369
      _lt_dar_allow_undefined='${wl}-undefined ${wl}suppress' ;;
 
7370
    darwin1.*)
 
7371
     _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
 
7372
    darwin*)
 
7373
      # if running on 10.5 or later, the deployment target defaults
 
7374
      # to the OS version, if on x86, and 10.4, the deployment
 
7375
      # target defaults to 10.4. Don't you love it?
 
7376
      case ${MACOSX_DEPLOYMENT_TARGET-10.0},$host in
 
7377
   10.0,*86*-darwin8*|10.0,*-darwin[91]*)
 
7378
     _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
 
7379
   10.[012]*)
 
7380
     _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
 
7381
   10.*)
 
7382
     _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
 
7383
      esac
 
7384
    ;;
 
7385
  esac
 
7386
    if test "$lt_cv_apple_cc_single_mod" = "yes"; then
 
7387
      _lt_dar_single_mod='$single_module'
 
7388
    fi
 
7389
    if test "$lt_cv_ld_exported_symbols_list" = "yes"; then
 
7390
      _lt_dar_export_syms=' ${wl}-exported_symbols_list,$output_objdir/${libname}-symbols.expsym'
 
7391
    else
 
7392
      _lt_dar_export_syms="~$NMEDIT -s \$output_objdir/\${libname}-symbols.expsym \${lib}"
 
7393
    fi
 
7394
    if test "$DSYMUTIL" != ":"; then
 
7395
      _lt_dsymutil="~$DSYMUTIL \$lib || :"
 
7396
    else
 
7397
      _lt_dsymutil=
 
7398
    fi
 
7399
    ;;
 
7400
  esac
 
7401
 
 
7402
 
7086
7403
enable_dlopen=no
7087
7404
enable_win32_dll=no
7088
7405
 
7148
7465
echo "$lt_simple_link_test_code" >conftest.$ac_ext
7149
7466
eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
7150
7467
_lt_linker_boilerplate=`cat conftest.err`
7151
 
$rm conftest*
 
7468
$rm -r conftest*
7152
7469
 
7153
7470
 
7154
7471
 
7176
7493
   -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
7177
7494
   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
7178
7495
   -e 's:$: $lt_compiler_flag:'`
7179
 
   (eval echo "\"\$as_me:7179: $lt_compile\"" >&5)
 
7496
   (eval echo "\"\$as_me:7496: $lt_compile\"" >&5)
7180
7497
   (eval "$lt_compile" 2>conftest.err)
7181
7498
   ac_status=$?
7182
7499
   cat conftest.err >&5
7183
 
   echo "$as_me:7183: \$? = $ac_status" >&5
 
7500
   echo "$as_me:7500: \$? = $ac_status" >&5
7184
7501
   if (exit $ac_status) && test -s "$ac_outfile"; then
7185
7502
     # The compiler can only warn and ignore the option if not recognized
7186
7503
     # So say no if there are warnings other than the usual output.
7450
7767
 
7451
7768
{ echo "$as_me:$LINENO: checking if $compiler PIC flag $lt_prog_compiler_pic works" >&5
7452
7769
echo $ECHO_N "checking if $compiler PIC flag $lt_prog_compiler_pic works... $ECHO_C" >&6; }
7453
 
if test "${lt_prog_compiler_pic_works+set}" = set; then
 
7770
if test "${lt_cv_prog_compiler_pic_works+set}" = set; then
7454
7771
  echo $ECHO_N "(cached) $ECHO_C" >&6
7455
7772
else
7456
 
  lt_prog_compiler_pic_works=no
 
7773
  lt_cv_prog_compiler_pic_works=no
7457
7774
  ac_outfile=conftest.$ac_objext
7458
7775
   echo "$lt_simple_compile_test_code" > conftest.$ac_ext
7459
7776
   lt_compiler_flag="$lt_prog_compiler_pic -DPIC"
7466
7783
   -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
7467
7784
   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
7468
7785
   -e 's:$: $lt_compiler_flag:'`
7469
 
   (eval echo "\"\$as_me:7469: $lt_compile\"" >&5)
 
7786
   (eval echo "\"\$as_me:7786: $lt_compile\"" >&5)
7470
7787
   (eval "$lt_compile" 2>conftest.err)
7471
7788
   ac_status=$?
7472
7789
   cat conftest.err >&5
7473
 
   echo "$as_me:7473: \$? = $ac_status" >&5
 
7790
   echo "$as_me:7790: \$? = $ac_status" >&5
7474
7791
   if (exit $ac_status) && test -s "$ac_outfile"; then
7475
7792
     # The compiler can only warn and ignore the option if not recognized
7476
7793
     # So say no if there are warnings other than the usual output.
7477
7794
     $echo "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' >conftest.exp
7478
7795
     $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
7479
7796
     if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
7480
 
       lt_prog_compiler_pic_works=yes
 
7797
       lt_cv_prog_compiler_pic_works=yes
7481
7798
     fi
7482
7799
   fi
7483
7800
   $rm conftest*
7484
7801
 
7485
7802
fi
7486
 
{ echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_works" >&5
7487
 
echo "${ECHO_T}$lt_prog_compiler_pic_works" >&6; }
 
7803
{ echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_pic_works" >&5
 
7804
echo "${ECHO_T}$lt_cv_prog_compiler_pic_works" >&6; }
7488
7805
 
7489
 
if test x"$lt_prog_compiler_pic_works" = xyes; then
 
7806
if test x"$lt_cv_prog_compiler_pic_works" = xyes; then
7490
7807
    case $lt_prog_compiler_pic in
7491
7808
     "" | " "*) ;;
7492
7809
     *) lt_prog_compiler_pic=" $lt_prog_compiler_pic" ;;
7513
7830
wl=$lt_prog_compiler_wl eval lt_tmp_static_flag=\"$lt_prog_compiler_static\"
7514
7831
{ echo "$as_me:$LINENO: checking if $compiler static flag $lt_tmp_static_flag works" >&5
7515
7832
echo $ECHO_N "checking if $compiler static flag $lt_tmp_static_flag works... $ECHO_C" >&6; }
7516
 
if test "${lt_prog_compiler_static_works+set}" = set; then
 
7833
if test "${lt_cv_prog_compiler_static_works+set}" = set; then
7517
7834
  echo $ECHO_N "(cached) $ECHO_C" >&6
7518
7835
else
7519
 
  lt_prog_compiler_static_works=no
 
7836
  lt_cv_prog_compiler_static_works=no
7520
7837
   save_LDFLAGS="$LDFLAGS"
7521
7838
   LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
7522
7839
   echo "$lt_simple_link_test_code" > conftest.$ac_ext
7529
7846
       $echo "X$_lt_linker_boilerplate" | $Xsed -e '/^$/d' > conftest.exp
7530
7847
       $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
7531
7848
       if diff conftest.exp conftest.er2 >/dev/null; then
7532
 
         lt_prog_compiler_static_works=yes
 
7849
         lt_cv_prog_compiler_static_works=yes
7533
7850
       fi
7534
7851
     else
7535
 
       lt_prog_compiler_static_works=yes
 
7852
       lt_cv_prog_compiler_static_works=yes
7536
7853
     fi
7537
7854
   fi
7538
 
   $rm conftest*
 
7855
   $rm -r conftest*
7539
7856
   LDFLAGS="$save_LDFLAGS"
7540
7857
 
7541
7858
fi
7542
 
{ echo "$as_me:$LINENO: result: $lt_prog_compiler_static_works" >&5
7543
 
echo "${ECHO_T}$lt_prog_compiler_static_works" >&6; }
 
7859
{ echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_static_works" >&5
 
7860
echo "${ECHO_T}$lt_cv_prog_compiler_static_works" >&6; }
7544
7861
 
7545
 
if test x"$lt_prog_compiler_static_works" = xyes; then
 
7862
if test x"$lt_cv_prog_compiler_static_works" = xyes; then
7546
7863
    :
7547
7864
else
7548
7865
    lt_prog_compiler_static=
7570
7887
   -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
7571
7888
   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
7572
7889
   -e 's:$: $lt_compiler_flag:'`
7573
 
   (eval echo "\"\$as_me:7573: $lt_compile\"" >&5)
 
7890
   (eval echo "\"\$as_me:7890: $lt_compile\"" >&5)
7574
7891
   (eval "$lt_compile" 2>out/conftest.err)
7575
7892
   ac_status=$?
7576
7893
   cat out/conftest.err >&5
7577
 
   echo "$as_me:7577: \$? = $ac_status" >&5
 
7894
   echo "$as_me:7894: \$? = $ac_status" >&5
7578
7895
   if (exit $ac_status) && test -s out/conftest2.$ac_objext
7579
7896
   then
7580
7897
     # The compiler can only warn and ignore the option if not recognized
7654
7971
  # it will be wrapped by ` (' and `)$', so one must not match beginning or
7655
7972
  # end of line.  Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
7656
7973
  # as well as any symbol that contains `d'.
7657
 
  exclude_expsyms="_GLOBAL_OFFSET_TABLE_"
 
7974
  exclude_expsyms='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
7658
7975
  # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
7659
7976
  # platforms (ab)use it in PIC code, but their linkers get confused if
7660
7977
  # the symbol is explicitly referenced.  Since portable code cannot
7661
7978
  # rely on this symbol name, it's probably fine to never include it in
7662
7979
  # preloaded symbol tables.
 
7980
  # Exclude shared library initialization/finalization symbols.
7663
7981
  extract_expsyms_cmds=
7664
7982
  # Just being paranoid about ensuring that cc_basename is set.
7665
7983
  for cc_temp in $compiler""; do
7718
8036
 
7719
8037
    # See if GNU ld supports shared libraries.
7720
8038
    case $host_os in
7721
 
    aix3* | aix4* | aix5*)
 
8039
    aix[3-9]*)
7722
8040
      # On AIX/PPC, the GNU linker is very broken
7723
8041
      if test "$host_cpu" != ia64; then
7724
8042
        ld_shlibs=no
7938
8256
      fi
7939
8257
      ;;
7940
8258
 
7941
 
    aix4* | aix5*)
 
8259
    aix[4-9]*)
7942
8260
      if test "$host_cpu" = ia64; then
7943
8261
        # On IA64, the linker does run time linking by default, so we don't
7944
8262
        # have to do anything special.
7958
8276
        # Test if we are trying to use run time linking or normal
7959
8277
        # AIX style linking. If -brtl is somewhere in LDFLAGS, we
7960
8278
        # need to do runtime linking.
7961
 
        case $host_os in aix4.[23]|aix4.[23].*|aix5*)
 
8279
        case $host_os in aix4.[23]|aix4.[23].*|aix[5-9]*)
7962
8280
          for ld_flag in $LDFLAGS; do
7963
8281
          if (test $ld_flag = "-brtl" || test $ld_flag = "-Wl,-brtl"); then
7964
8282
            aix_use_runtimelinking=yes
8230
8548
      link_all_deplibs=yes
8231
8549
    if test "$GCC" = yes ; then
8232
8550
        output_verbose_link_cmd='echo'
8233
 
        archive_cmds='$CC -dynamiclib $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags -install_name $rpath/$soname $verstring'
8234
 
      module_cmds='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
8235
 
      # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin lds
8236
 
      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}'
8237
 
      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}'
 
8551
        archive_cmds="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod${_lt_dsymutil}"
 
8552
        module_cmds="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}"
 
8553
        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}"
 
8554
        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}"
8238
8555
    else
8239
8556
      case $cc_basename in
8240
8557
        xlc*)
8754
9071
  soname_spec='${libname}${release}${shared_ext}$major'
8755
9072
  ;;
8756
9073
 
8757
 
aix4* | aix5*)
 
9074
aix[4-9]*)
8758
9075
  version_type=linux
8759
9076
  need_lib_prefix=no
8760
9077
  need_version=no
9288
9605
echo "${ECHO_T}$dynamic_linker" >&6; }
9289
9606
test "$dynamic_linker" = no && can_build_shared=no
9290
9607
 
 
9608
if test "${lt_cv_sys_lib_search_path_spec+set}" = set; then
 
9609
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
9610
else
 
9611
  lt_cv_sys_lib_search_path_spec="$sys_lib_search_path_spec"
 
9612
fi
 
9613
 
 
9614
sys_lib_search_path_spec="$lt_cv_sys_lib_search_path_spec"
 
9615
if test "${lt_cv_sys_lib_dlsearch_path_spec+set}" = set; then
 
9616
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
9617
else
 
9618
  lt_cv_sys_lib_dlsearch_path_spec="$sys_lib_dlsearch_path_spec"
 
9619
fi
 
9620
 
 
9621
sys_lib_dlsearch_path_spec="$lt_cv_sys_lib_dlsearch_path_spec"
 
9622
 
9291
9623
variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
9292
9624
if test "$GCC" = yes; then
9293
9625
  variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
9607
9939
{ echo "$as_me:$LINENO: result: $ac_cv_lib_dld_shl_load" >&5
9608
9940
echo "${ECHO_T}$ac_cv_lib_dld_shl_load" >&6; }
9609
9941
if test $ac_cv_lib_dld_shl_load = yes; then
9610
 
  lt_cv_dlopen="shl_load" lt_cv_dlopen_libs="-dld"
 
9942
  lt_cv_dlopen="shl_load" lt_cv_dlopen_libs="-ldld"
9611
9943
else
9612
9944
  { echo "$as_me:$LINENO: checking for dlopen" >&5
9613
9945
echo $ECHO_N "checking for dlopen... $ECHO_C" >&6; }
9883
10215
{ echo "$as_me:$LINENO: result: $ac_cv_lib_dld_dld_link" >&5
9884
10216
echo "${ECHO_T}$ac_cv_lib_dld_dld_link" >&6; }
9885
10217
if test $ac_cv_lib_dld_dld_link = yes; then
9886
 
  lt_cv_dlopen="dld_link" lt_cv_dlopen_libs="-dld"
 
10218
  lt_cv_dlopen="dld_link" lt_cv_dlopen_libs="-ldld"
9887
10219
fi
9888
10220
 
9889
10221
 
9932
10264
  lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
9933
10265
  lt_status=$lt_dlunknown
9934
10266
  cat > conftest.$ac_ext <<EOF
9935
 
#line 9935 "configure"
 
10267
#line 10267 "configure"
9936
10268
#include "confdefs.h"
9937
10269
 
9938
10270
#if HAVE_DLFCN_H
10032
10364
  lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
10033
10365
  lt_status=$lt_dlunknown
10034
10366
  cat > conftest.$ac_ext <<EOF
10035
 
#line 10035 "configure"
 
10367
#line 10367 "configure"
10036
10368
#include "confdefs.h"
10037
10369
 
10038
10370
#if HAVE_DLFCN_H
10159
10491
  fi
10160
10492
  ;;
10161
10493
 
10162
 
aix4* | aix5*)
 
10494
aix[4-9]*)
10163
10495
  if test "$host_cpu" != ia64 && test "$aix_use_runtimelinking" = no ; then
10164
10496
    test "$enable_shared" = yes && enable_static=no
10165
10497
  fi
10215
10547
    predeps \
10216
10548
    postdeps \
10217
10549
    compiler_lib_search_path \
 
10550
    compiler_lib_search_dirs \
10218
10551
    archive_cmds \
10219
10552
    archive_expsym_cmds \
10220
10553
    postinstall_cmds \
10275
10608
# Generated automatically by $PROGRAM (GNU $PACKAGE $VERSION$TIMESTAMP)
10276
10609
# NOTE: Changes made to this file will be lost: look at ltmain.sh.
10277
10610
#
10278
 
# Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004, 2005, 2006, 2007
 
10611
# Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004, 2005, 2006, 2007, 2008
10279
10612
# Free Software Foundation, Inc.
10280
10613
#
10281
10614
# This file is part of GNU Libtool:
10511
10844
# shared library.
10512
10845
postdeps=$lt_postdeps
10513
10846
 
 
10847
# The directories searched by this compiler when creating a shared
 
10848
# library
 
10849
compiler_lib_search_dirs=$lt_compiler_lib_search_dirs
 
10850
 
10514
10851
# The library search path used internally by the compiler when linking
10515
10852
# a shared library.
10516
10853
compiler_lib_search_path=$lt_compiler_lib_search_path
10759
11096
predeps_CXX=
10760
11097
postdeps_CXX=
10761
11098
compiler_lib_search_path_CXX=
 
11099
compiler_lib_search_dirs_CXX=
10762
11100
 
10763
11101
# Source file extension for C++ test sources.
10764
11102
ac_ext=cpp
10796
11134
echo "$lt_simple_link_test_code" >conftest.$ac_ext
10797
11135
eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
10798
11136
_lt_linker_boilerplate=`cat conftest.err`
10799
 
$rm conftest*
 
11137
$rm -r conftest*
10800
11138
 
10801
11139
 
10802
11140
# Allow CC to be a program name with arguments.
11003
11341
    # FIXME: insert proper C++ library support
11004
11342
    ld_shlibs_CXX=no
11005
11343
    ;;
11006
 
  aix4* | aix5*)
 
11344
  aix[4-9]*)
11007
11345
    if test "$host_cpu" = ia64; then
11008
11346
      # On IA64, the linker does run time linking by default, so we don't
11009
11347
      # have to do anything special.
11016
11354
      # Test if we are trying to use run time linking or normal
11017
11355
      # AIX style linking. If -brtl is somewhere in LDFLAGS, we
11018
11356
      # need to do runtime linking.
11019
 
      case $host_os in aix4.[23]|aix4.[23].*|aix5*)
 
11357
      case $host_os in aix4.[23]|aix4.[23].*|aix[5-9]*)
11020
11358
        for ld_flag in $LDFLAGS; do
11021
11359
          case $ld_flag in
11022
11360
          *-brtl*)
11274
11612
    fi
11275
11613
  ;;
11276
11614
      darwin* | rhapsody*)
11277
 
        case $host_os in
11278
 
        rhapsody* | darwin1.[012])
11279
 
         allow_undefined_flag_CXX='${wl}-undefined ${wl}suppress'
11280
 
         ;;
11281
 
       *) # Darwin 1.3 on
11282
 
         if test -z ${MACOSX_DEPLOYMENT_TARGET} ; then
11283
 
           allow_undefined_flag_CXX='${wl}-flat_namespace ${wl}-undefined ${wl}suppress'
11284
 
         else
11285
 
           case ${MACOSX_DEPLOYMENT_TARGET} in
11286
 
             10.[012])
11287
 
               allow_undefined_flag_CXX='${wl}-flat_namespace ${wl}-undefined ${wl}suppress'
11288
 
               ;;
11289
 
             10.*)
11290
 
               allow_undefined_flag_CXX='${wl}-undefined ${wl}dynamic_lookup'
11291
 
               ;;
11292
 
           esac
11293
 
         fi
11294
 
         ;;
11295
 
        esac
11296
11615
      archive_cmds_need_lc_CXX=no
11297
11616
      hardcode_direct_CXX=no
11298
11617
      hardcode_automatic_CXX=yes
11299
11618
      hardcode_shlibpath_var_CXX=unsupported
11300
11619
      whole_archive_flag_spec_CXX=''
11301
11620
      link_all_deplibs_CXX=yes
11302
 
 
11303
 
    if test "$GXX" = yes ; then
11304
 
      lt_int_apple_cc_single_mod=no
 
11621
      allow_undefined_flag_CXX="$_lt_dar_allow_undefined"
 
11622
      if test "$GXX" = yes ; then
11305
11623
      output_verbose_link_cmd='echo'
11306
 
      if $CC -dumpspecs 2>&1 | $EGREP 'single_module' >/dev/null ; then
11307
 
       lt_int_apple_cc_single_mod=yes
 
11624
      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}"
 
11625
      module_cmds_CXX="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}"
 
11626
      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}"
 
11627
      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}"
 
11628
      if test "$lt_cv_apple_cc_single_mod" != "yes"; then
 
11629
        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}"
 
11630
        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}"
11308
11631
      fi
11309
 
      if test "X$lt_int_apple_cc_single_mod" = Xyes ; then
11310
 
       archive_cmds_CXX='$CC -dynamiclib -single_module $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags -install_name $rpath/$soname $verstring'
11311
 
      else
11312
 
          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'
11313
 
        fi
11314
 
        module_cmds_CXX='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
11315
 
        # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin lds
11316
 
          if test "X$lt_int_apple_cc_single_mod" = Xyes ; then
11317
 
            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}'
11318
 
          else
11319
 
            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}'
11320
 
          fi
11321
 
            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}'
11322
11632
      else
11323
11633
      case $cc_basename in
11324
11634
        xlc*)
11569
11879
        export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
11570
11880
        whole_archive_flag_spec_CXX='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
11571
11881
        ;;
11572
 
      pgCC*)
 
11882
      pgCC* | pgcpp*)
11573
11883
        # Portland Group C++ compiler
11574
11884
        archive_cmds_CXX='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname -o $lib'
11575
11885
        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'
11976
12286
GCC_CXX="$GXX"
11977
12287
LD_CXX="$LD"
11978
12288
 
11979
 
 
11980
12289
cat > conftest.$ac_ext <<EOF
11981
12290
class Foo
11982
12291
{
12078
12387
 
12079
12388
$rm -f confest.$objext
12080
12389
 
 
12390
compiler_lib_search_dirs_CXX=
 
12391
if test -n "$compiler_lib_search_path_CXX"; then
 
12392
  compiler_lib_search_dirs_CXX=`echo " ${compiler_lib_search_path_CXX}" | ${SED} -e 's! -L! !g' -e 's!^ !!'`
 
12393
fi
 
12394
 
12081
12395
# PORTME: override above test on systems where it is broken
12082
12396
case $host_os in
12083
12397
interix[3-9]*)
12133
12447
  ;;
12134
12448
esac
12135
12449
 
12136
 
 
12137
12450
case " $postdeps_CXX " in
12138
12451
*" -lc "*) archive_cmds_need_lc_CXX=no ;;
12139
12452
esac
12209
12522
    esac
12210
12523
  else
12211
12524
    case $host_os in
12212
 
      aix4* | aix5*)
 
12525
      aix[4-9]*)
12213
12526
        # All AIX code is PIC.
12214
12527
        if test "$host_cpu" = ia64; then
12215
12528
          # AIX 5 now supports IA64 processor
12305
12618
            lt_prog_compiler_pic_CXX='-KPIC'
12306
12619
            lt_prog_compiler_static_CXX='-static'
12307
12620
            ;;
12308
 
          pgCC*)
 
12621
          pgCC* | pgcpp*)
12309
12622
            # Portland Group C++ compiler.
12310
12623
            lt_prog_compiler_wl_CXX='-Wl,'
12311
12624
            lt_prog_compiler_pic_CXX='-fpic'
12436
12749
 
12437
12750
{ echo "$as_me:$LINENO: checking if $compiler PIC flag $lt_prog_compiler_pic_CXX works" >&5
12438
12751
echo $ECHO_N "checking if $compiler PIC flag $lt_prog_compiler_pic_CXX works... $ECHO_C" >&6; }
12439
 
if test "${lt_prog_compiler_pic_works_CXX+set}" = set; then
 
12752
if test "${lt_cv_prog_compiler_pic_works_CXX+set}" = set; then
12440
12753
  echo $ECHO_N "(cached) $ECHO_C" >&6
12441
12754
else
12442
 
  lt_prog_compiler_pic_works_CXX=no
 
12755
  lt_cv_prog_compiler_pic_works_CXX=no
12443
12756
  ac_outfile=conftest.$ac_objext
12444
12757
   echo "$lt_simple_compile_test_code" > conftest.$ac_ext
12445
12758
   lt_compiler_flag="$lt_prog_compiler_pic_CXX -DPIC"
12452
12765
   -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
12453
12766
   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
12454
12767
   -e 's:$: $lt_compiler_flag:'`
12455
 
   (eval echo "\"\$as_me:12455: $lt_compile\"" >&5)
 
12768
   (eval echo "\"\$as_me:12768: $lt_compile\"" >&5)
12456
12769
   (eval "$lt_compile" 2>conftest.err)
12457
12770
   ac_status=$?
12458
12771
   cat conftest.err >&5
12459
 
   echo "$as_me:12459: \$? = $ac_status" >&5
 
12772
   echo "$as_me:12772: \$? = $ac_status" >&5
12460
12773
   if (exit $ac_status) && test -s "$ac_outfile"; then
12461
12774
     # The compiler can only warn and ignore the option if not recognized
12462
12775
     # So say no if there are warnings other than the usual output.
12463
12776
     $echo "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' >conftest.exp
12464
12777
     $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
12465
12778
     if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
12466
 
       lt_prog_compiler_pic_works_CXX=yes
 
12779
       lt_cv_prog_compiler_pic_works_CXX=yes
12467
12780
     fi
12468
12781
   fi
12469
12782
   $rm conftest*
12470
12783
 
12471
12784
fi
12472
 
{ echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_works_CXX" >&5
12473
 
echo "${ECHO_T}$lt_prog_compiler_pic_works_CXX" >&6; }
 
12785
{ echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_pic_works_CXX" >&5
 
12786
echo "${ECHO_T}$lt_cv_prog_compiler_pic_works_CXX" >&6; }
12474
12787
 
12475
 
if test x"$lt_prog_compiler_pic_works_CXX" = xyes; then
 
12788
if test x"$lt_cv_prog_compiler_pic_works_CXX" = xyes; then
12476
12789
    case $lt_prog_compiler_pic_CXX in
12477
12790
     "" | " "*) ;;
12478
12791
     *) lt_prog_compiler_pic_CXX=" $lt_prog_compiler_pic_CXX" ;;
12499
12812
wl=$lt_prog_compiler_wl_CXX eval lt_tmp_static_flag=\"$lt_prog_compiler_static_CXX\"
12500
12813
{ echo "$as_me:$LINENO: checking if $compiler static flag $lt_tmp_static_flag works" >&5
12501
12814
echo $ECHO_N "checking if $compiler static flag $lt_tmp_static_flag works... $ECHO_C" >&6; }
12502
 
if test "${lt_prog_compiler_static_works_CXX+set}" = set; then
 
12815
if test "${lt_cv_prog_compiler_static_works_CXX+set}" = set; then
12503
12816
  echo $ECHO_N "(cached) $ECHO_C" >&6
12504
12817
else
12505
 
  lt_prog_compiler_static_works_CXX=no
 
12818
  lt_cv_prog_compiler_static_works_CXX=no
12506
12819
   save_LDFLAGS="$LDFLAGS"
12507
12820
   LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
12508
12821
   echo "$lt_simple_link_test_code" > conftest.$ac_ext
12515
12828
       $echo "X$_lt_linker_boilerplate" | $Xsed -e '/^$/d' > conftest.exp
12516
12829
       $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
12517
12830
       if diff conftest.exp conftest.er2 >/dev/null; then
12518
 
         lt_prog_compiler_static_works_CXX=yes
 
12831
         lt_cv_prog_compiler_static_works_CXX=yes
12519
12832
       fi
12520
12833
     else
12521
 
       lt_prog_compiler_static_works_CXX=yes
 
12834
       lt_cv_prog_compiler_static_works_CXX=yes
12522
12835
     fi
12523
12836
   fi
12524
 
   $rm conftest*
 
12837
   $rm -r conftest*
12525
12838
   LDFLAGS="$save_LDFLAGS"
12526
12839
 
12527
12840
fi
12528
 
{ echo "$as_me:$LINENO: result: $lt_prog_compiler_static_works_CXX" >&5
12529
 
echo "${ECHO_T}$lt_prog_compiler_static_works_CXX" >&6; }
 
12841
{ echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_static_works_CXX" >&5
 
12842
echo "${ECHO_T}$lt_cv_prog_compiler_static_works_CXX" >&6; }
12530
12843
 
12531
 
if test x"$lt_prog_compiler_static_works_CXX" = xyes; then
 
12844
if test x"$lt_cv_prog_compiler_static_works_CXX" = xyes; then
12532
12845
    :
12533
12846
else
12534
12847
    lt_prog_compiler_static_CXX=
12556
12869
   -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
12557
12870
   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
12558
12871
   -e 's:$: $lt_compiler_flag:'`
12559
 
   (eval echo "\"\$as_me:12559: $lt_compile\"" >&5)
 
12872
   (eval echo "\"\$as_me:12872: $lt_compile\"" >&5)
12560
12873
   (eval "$lt_compile" 2>out/conftest.err)
12561
12874
   ac_status=$?
12562
12875
   cat out/conftest.err >&5
12563
 
   echo "$as_me:12563: \$? = $ac_status" >&5
 
12876
   echo "$as_me:12876: \$? = $ac_status" >&5
12564
12877
   if (exit $ac_status) && test -s out/conftest2.$ac_objext
12565
12878
   then
12566
12879
     # The compiler can only warn and ignore the option if not recognized
12613
12926
 
12614
12927
  export_symbols_cmds_CXX='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
12615
12928
  case $host_os in
12616
 
  aix4* | aix5*)
 
12929
  aix[4-9]*)
12617
12930
    # If we're using GNU nm, then we don't want the "-C" option.
12618
12931
    # -C means demangle to AIX nm, but means don't demangle with GNU nm
12619
12932
    if $NM -V 2>&1 | grep 'GNU' > /dev/null; then
12635
12948
    export_symbols_cmds_CXX='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
12636
12949
  ;;
12637
12950
  esac
 
12951
  exclude_expsyms_CXX='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
12638
12952
 
12639
12953
{ echo "$as_me:$LINENO: result: $ld_shlibs_CXX" >&5
12640
12954
echo "${ECHO_T}$ld_shlibs_CXX" >&6; }
12736
13050
  soname_spec='${libname}${release}${shared_ext}$major'
12737
13051
  ;;
12738
13052
 
12739
 
aix4* | aix5*)
 
13053
aix[4-9]*)
12740
13054
  version_type=linux
12741
13055
  need_lib_prefix=no
12742
13056
  need_version=no
13269
13583
echo "${ECHO_T}$dynamic_linker" >&6; }
13270
13584
test "$dynamic_linker" = no && can_build_shared=no
13271
13585
 
 
13586
if test "${lt_cv_sys_lib_search_path_spec+set}" = set; then
 
13587
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
13588
else
 
13589
  lt_cv_sys_lib_search_path_spec="$sys_lib_search_path_spec"
 
13590
fi
 
13591
 
 
13592
sys_lib_search_path_spec="$lt_cv_sys_lib_search_path_spec"
 
13593
if test "${lt_cv_sys_lib_dlsearch_path_spec+set}" = set; then
 
13594
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
13595
else
 
13596
  lt_cv_sys_lib_dlsearch_path_spec="$sys_lib_dlsearch_path_spec"
 
13597
fi
 
13598
 
 
13599
sys_lib_dlsearch_path_spec="$lt_cv_sys_lib_dlsearch_path_spec"
 
13600
 
13272
13601
variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
13273
13602
if test "$GCC" = yes; then
13274
13603
  variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
13352
13681
    predeps_CXX \
13353
13682
    postdeps_CXX \
13354
13683
    compiler_lib_search_path_CXX \
 
13684
    compiler_lib_search_dirs_CXX \
13355
13685
    archive_cmds_CXX \
13356
13686
    archive_expsym_cmds_CXX \
13357
13687
    postinstall_cmds_CXX \
13600
13930
# shared library.
13601
13931
postdeps=$lt_postdeps_CXX
13602
13932
 
 
13933
# The directories searched by this compiler when creating a shared
 
13934
# library
 
13935
compiler_lib_search_dirs=$lt_compiler_lib_search_dirs_CXX
 
13936
 
13603
13937
# The library search path used internally by the compiler when linking
13604
13938
# a shared library.
13605
13939
compiler_lib_search_path=$lt_compiler_lib_search_path_CXX
13814
14148
echo "$lt_simple_link_test_code" >conftest.$ac_ext
13815
14149
eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
13816
14150
_lt_linker_boilerplate=`cat conftest.err`
13817
 
$rm conftest*
 
14151
$rm -r conftest*
13818
14152
 
13819
14153
 
13820
14154
# Allow CC to be a program name with arguments.
13852
14186
    postinstall_cmds='$RANLIB $lib'
13853
14187
  fi
13854
14188
  ;;
13855
 
aix4* | aix5*)
 
14189
aix[4-9]*)
13856
14190
  if test "$host_cpu" != ia64 && test "$aix_use_runtimelinking" = no ; then
13857
14191
    test "$enable_shared" = yes && enable_static=no
13858
14192
  fi
14117
14451
 
14118
14452
{ echo "$as_me:$LINENO: checking if $compiler PIC flag $lt_prog_compiler_pic_F77 works" >&5
14119
14453
echo $ECHO_N "checking if $compiler PIC flag $lt_prog_compiler_pic_F77 works... $ECHO_C" >&6; }
14120
 
if test "${lt_prog_compiler_pic_works_F77+set}" = set; then
 
14454
if test "${lt_cv_prog_compiler_pic_works_F77+set}" = set; then
14121
14455
  echo $ECHO_N "(cached) $ECHO_C" >&6
14122
14456
else
14123
 
  lt_prog_compiler_pic_works_F77=no
 
14457
  lt_cv_prog_compiler_pic_works_F77=no
14124
14458
  ac_outfile=conftest.$ac_objext
14125
14459
   echo "$lt_simple_compile_test_code" > conftest.$ac_ext
14126
14460
   lt_compiler_flag="$lt_prog_compiler_pic_F77"
14133
14467
   -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
14134
14468
   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
14135
14469
   -e 's:$: $lt_compiler_flag:'`
14136
 
   (eval echo "\"\$as_me:14136: $lt_compile\"" >&5)
 
14470
   (eval echo "\"\$as_me:14470: $lt_compile\"" >&5)
14137
14471
   (eval "$lt_compile" 2>conftest.err)
14138
14472
   ac_status=$?
14139
14473
   cat conftest.err >&5
14140
 
   echo "$as_me:14140: \$? = $ac_status" >&5
 
14474
   echo "$as_me:14474: \$? = $ac_status" >&5
14141
14475
   if (exit $ac_status) && test -s "$ac_outfile"; then
14142
14476
     # The compiler can only warn and ignore the option if not recognized
14143
14477
     # So say no if there are warnings other than the usual output.
14144
14478
     $echo "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' >conftest.exp
14145
14479
     $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
14146
14480
     if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
14147
 
       lt_prog_compiler_pic_works_F77=yes
 
14481
       lt_cv_prog_compiler_pic_works_F77=yes
14148
14482
     fi
14149
14483
   fi
14150
14484
   $rm conftest*
14151
14485
 
14152
14486
fi
14153
 
{ echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_works_F77" >&5
14154
 
echo "${ECHO_T}$lt_prog_compiler_pic_works_F77" >&6; }
 
14487
{ echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_pic_works_F77" >&5
 
14488
echo "${ECHO_T}$lt_cv_prog_compiler_pic_works_F77" >&6; }
14155
14489
 
14156
 
if test x"$lt_prog_compiler_pic_works_F77" = xyes; then
 
14490
if test x"$lt_cv_prog_compiler_pic_works_F77" = xyes; then
14157
14491
    case $lt_prog_compiler_pic_F77 in
14158
14492
     "" | " "*) ;;
14159
14493
     *) lt_prog_compiler_pic_F77=" $lt_prog_compiler_pic_F77" ;;
14180
14514
wl=$lt_prog_compiler_wl_F77 eval lt_tmp_static_flag=\"$lt_prog_compiler_static_F77\"
14181
14515
{ echo "$as_me:$LINENO: checking if $compiler static flag $lt_tmp_static_flag works" >&5
14182
14516
echo $ECHO_N "checking if $compiler static flag $lt_tmp_static_flag works... $ECHO_C" >&6; }
14183
 
if test "${lt_prog_compiler_static_works_F77+set}" = set; then
 
14517
if test "${lt_cv_prog_compiler_static_works_F77+set}" = set; then
14184
14518
  echo $ECHO_N "(cached) $ECHO_C" >&6
14185
14519
else
14186
 
  lt_prog_compiler_static_works_F77=no
 
14520
  lt_cv_prog_compiler_static_works_F77=no
14187
14521
   save_LDFLAGS="$LDFLAGS"
14188
14522
   LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
14189
14523
   echo "$lt_simple_link_test_code" > conftest.$ac_ext
14196
14530
       $echo "X$_lt_linker_boilerplate" | $Xsed -e '/^$/d' > conftest.exp
14197
14531
       $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
14198
14532
       if diff conftest.exp conftest.er2 >/dev/null; then
14199
 
         lt_prog_compiler_static_works_F77=yes
 
14533
         lt_cv_prog_compiler_static_works_F77=yes
14200
14534
       fi
14201
14535
     else
14202
 
       lt_prog_compiler_static_works_F77=yes
 
14536
       lt_cv_prog_compiler_static_works_F77=yes
14203
14537
     fi
14204
14538
   fi
14205
 
   $rm conftest*
 
14539
   $rm -r conftest*
14206
14540
   LDFLAGS="$save_LDFLAGS"
14207
14541
 
14208
14542
fi
14209
 
{ echo "$as_me:$LINENO: result: $lt_prog_compiler_static_works_F77" >&5
14210
 
echo "${ECHO_T}$lt_prog_compiler_static_works_F77" >&6; }
 
14543
{ echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_static_works_F77" >&5
 
14544
echo "${ECHO_T}$lt_cv_prog_compiler_static_works_F77" >&6; }
14211
14545
 
14212
 
if test x"$lt_prog_compiler_static_works_F77" = xyes; then
 
14546
if test x"$lt_cv_prog_compiler_static_works_F77" = xyes; then
14213
14547
    :
14214
14548
else
14215
14549
    lt_prog_compiler_static_F77=
14237
14571
   -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
14238
14572
   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
14239
14573
   -e 's:$: $lt_compiler_flag:'`
14240
 
   (eval echo "\"\$as_me:14240: $lt_compile\"" >&5)
 
14574
   (eval echo "\"\$as_me:14574: $lt_compile\"" >&5)
14241
14575
   (eval "$lt_compile" 2>out/conftest.err)
14242
14576
   ac_status=$?
14243
14577
   cat out/conftest.err >&5
14244
 
   echo "$as_me:14244: \$? = $ac_status" >&5
 
14578
   echo "$as_me:14578: \$? = $ac_status" >&5
14245
14579
   if (exit $ac_status) && test -s out/conftest2.$ac_objext
14246
14580
   then
14247
14581
     # The compiler can only warn and ignore the option if not recognized
14321
14655
  # it will be wrapped by ` (' and `)$', so one must not match beginning or
14322
14656
  # end of line.  Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
14323
14657
  # as well as any symbol that contains `d'.
14324
 
  exclude_expsyms_F77="_GLOBAL_OFFSET_TABLE_"
 
14658
  exclude_expsyms_F77='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
14325
14659
  # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
14326
14660
  # platforms (ab)use it in PIC code, but their linkers get confused if
14327
14661
  # the symbol is explicitly referenced.  Since portable code cannot
14328
14662
  # rely on this symbol name, it's probably fine to never include it in
14329
14663
  # preloaded symbol tables.
 
14664
  # Exclude shared library initialization/finalization symbols.
14330
14665
  extract_expsyms_cmds=
14331
14666
  # Just being paranoid about ensuring that cc_basename is set.
14332
14667
  for cc_temp in $compiler""; do
14385
14720
 
14386
14721
    # See if GNU ld supports shared libraries.
14387
14722
    case $host_os in
14388
 
    aix3* | aix4* | aix5*)
 
14723
    aix[3-9]*)
14389
14724
      # On AIX/PPC, the GNU linker is very broken
14390
14725
      if test "$host_cpu" != ia64; then
14391
14726
        ld_shlibs_F77=no
14605
14940
      fi
14606
14941
      ;;
14607
14942
 
14608
 
    aix4* | aix5*)
 
14943
    aix[4-9]*)
14609
14944
      if test "$host_cpu" = ia64; then
14610
14945
        # On IA64, the linker does run time linking by default, so we don't
14611
14946
        # have to do anything special.
14625
14960
        # Test if we are trying to use run time linking or normal
14626
14961
        # AIX style linking. If -brtl is somewhere in LDFLAGS, we
14627
14962
        # need to do runtime linking.
14628
 
        case $host_os in aix4.[23]|aix4.[23].*|aix5*)
 
14963
        case $host_os in aix4.[23]|aix4.[23].*|aix[5-9]*)
14629
14964
          for ld_flag in $LDFLAGS; do
14630
14965
          if (test $ld_flag = "-brtl" || test $ld_flag = "-Wl,-brtl"); then
14631
14966
            aix_use_runtimelinking=yes
14877
15212
      link_all_deplibs_F77=yes
14878
15213
    if test "$GCC" = yes ; then
14879
15214
        output_verbose_link_cmd='echo'
14880
 
        archive_cmds_F77='$CC -dynamiclib $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags -install_name $rpath/$soname $verstring'
14881
 
      module_cmds_F77='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
14882
 
      # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin lds
14883
 
      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}'
14884
 
      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}'
 
15215
        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}"
 
15216
        module_cmds_F77="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}"
 
15217
        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}"
 
15218
        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}"
14885
15219
    else
14886
15220
      case $cc_basename in
14887
15221
        xlc*)
15350
15684
  soname_spec='${libname}${release}${shared_ext}$major'
15351
15685
  ;;
15352
15686
 
15353
 
aix4* | aix5*)
 
15687
aix[4-9]*)
15354
15688
  version_type=linux
15355
15689
  need_lib_prefix=no
15356
15690
  need_version=no
15883
16217
echo "${ECHO_T}$dynamic_linker" >&6; }
15884
16218
test "$dynamic_linker" = no && can_build_shared=no
15885
16219
 
 
16220
if test "${lt_cv_sys_lib_search_path_spec+set}" = set; then
 
16221
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
16222
else
 
16223
  lt_cv_sys_lib_search_path_spec="$sys_lib_search_path_spec"
 
16224
fi
 
16225
 
 
16226
sys_lib_search_path_spec="$lt_cv_sys_lib_search_path_spec"
 
16227
if test "${lt_cv_sys_lib_dlsearch_path_spec+set}" = set; then
 
16228
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
16229
else
 
16230
  lt_cv_sys_lib_dlsearch_path_spec="$sys_lib_dlsearch_path_spec"
 
16231
fi
 
16232
 
 
16233
sys_lib_dlsearch_path_spec="$lt_cv_sys_lib_dlsearch_path_spec"
 
16234
 
15886
16235
variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
15887
16236
if test "$GCC" = yes; then
15888
16237
  variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
15966
16315
    predeps_F77 \
15967
16316
    postdeps_F77 \
15968
16317
    compiler_lib_search_path_F77 \
 
16318
    compiler_lib_search_dirs_F77 \
15969
16319
    archive_cmds_F77 \
15970
16320
    archive_expsym_cmds_F77 \
15971
16321
    postinstall_cmds_F77 \
16214
16564
# shared library.
16215
16565
postdeps=$lt_postdeps_F77
16216
16566
 
 
16567
# The directories searched by this compiler when creating a shared
 
16568
# library
 
16569
compiler_lib_search_dirs=$lt_compiler_lib_search_dirs_F77
 
16570
 
16217
16571
# The library search path used internally by the compiler when linking
16218
16572
# a shared library.
16219
16573
compiler_lib_search_path=$lt_compiler_lib_search_path_F77
16388
16742
echo "$lt_simple_link_test_code" >conftest.$ac_ext
16389
16743
eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
16390
16744
_lt_linker_boilerplate=`cat conftest.err`
16391
 
$rm conftest*
 
16745
$rm -r conftest*
16392
16746
 
16393
16747
 
16394
16748
# Allow CC to be a program name with arguments.
16437
16791
   -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
16438
16792
   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
16439
16793
   -e 's:$: $lt_compiler_flag:'`
16440
 
   (eval echo "\"\$as_me:16440: $lt_compile\"" >&5)
 
16794
   (eval echo "\"\$as_me:16794: $lt_compile\"" >&5)
16441
16795
   (eval "$lt_compile" 2>conftest.err)
16442
16796
   ac_status=$?
16443
16797
   cat conftest.err >&5
16444
 
   echo "$as_me:16444: \$? = $ac_status" >&5
 
16798
   echo "$as_me:16798: \$? = $ac_status" >&5
16445
16799
   if (exit $ac_status) && test -s "$ac_outfile"; then
16446
16800
     # The compiler can only warn and ignore the option if not recognized
16447
16801
     # So say no if there are warnings other than the usual output.
16501
16855
      # built for inclusion in a dll (and should export symbols for example).
16502
16856
      # Although the cygwin gcc ignores -fPIC, still need this for old-style
16503
16857
      # (--disable-auto-import) libraries
16504
 
      lt_prog_compiler_pic_GCJ='-DDLL_EXPORT'
 
16858
 
16505
16859
      ;;
16506
16860
 
16507
16861
    darwin* | rhapsody*)
16571
16925
    mingw* | cygwin* | pw32* | os2*)
16572
16926
      # This hack is so that the source file can tell whether it is being
16573
16927
      # built for inclusion in a dll (and should export symbols for example).
16574
 
      lt_prog_compiler_pic_GCJ='-DDLL_EXPORT'
 
16928
 
16575
16929
      ;;
16576
16930
 
16577
16931
    hpux9* | hpux10* | hpux11*)
16711
17065
 
16712
17066
{ echo "$as_me:$LINENO: checking if $compiler PIC flag $lt_prog_compiler_pic_GCJ works" >&5
16713
17067
echo $ECHO_N "checking if $compiler PIC flag $lt_prog_compiler_pic_GCJ works... $ECHO_C" >&6; }
16714
 
if test "${lt_prog_compiler_pic_works_GCJ+set}" = set; then
 
17068
if test "${lt_cv_prog_compiler_pic_works_GCJ+set}" = set; then
16715
17069
  echo $ECHO_N "(cached) $ECHO_C" >&6
16716
17070
else
16717
 
  lt_prog_compiler_pic_works_GCJ=no
 
17071
  lt_cv_prog_compiler_pic_works_GCJ=no
16718
17072
  ac_outfile=conftest.$ac_objext
16719
17073
   echo "$lt_simple_compile_test_code" > conftest.$ac_ext
16720
17074
   lt_compiler_flag="$lt_prog_compiler_pic_GCJ"
16727
17081
   -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
16728
17082
   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
16729
17083
   -e 's:$: $lt_compiler_flag:'`
16730
 
   (eval echo "\"\$as_me:16730: $lt_compile\"" >&5)
 
17084
   (eval echo "\"\$as_me:17084: $lt_compile\"" >&5)
16731
17085
   (eval "$lt_compile" 2>conftest.err)
16732
17086
   ac_status=$?
16733
17087
   cat conftest.err >&5
16734
 
   echo "$as_me:16734: \$? = $ac_status" >&5
 
17088
   echo "$as_me:17088: \$? = $ac_status" >&5
16735
17089
   if (exit $ac_status) && test -s "$ac_outfile"; then
16736
17090
     # The compiler can only warn and ignore the option if not recognized
16737
17091
     # So say no if there are warnings other than the usual output.
16738
17092
     $echo "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' >conftest.exp
16739
17093
     $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
16740
17094
     if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
16741
 
       lt_prog_compiler_pic_works_GCJ=yes
 
17095
       lt_cv_prog_compiler_pic_works_GCJ=yes
16742
17096
     fi
16743
17097
   fi
16744
17098
   $rm conftest*
16745
17099
 
16746
17100
fi
16747
 
{ echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_works_GCJ" >&5
16748
 
echo "${ECHO_T}$lt_prog_compiler_pic_works_GCJ" >&6; }
 
17101
{ echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_pic_works_GCJ" >&5
 
17102
echo "${ECHO_T}$lt_cv_prog_compiler_pic_works_GCJ" >&6; }
16749
17103
 
16750
 
if test x"$lt_prog_compiler_pic_works_GCJ" = xyes; then
 
17104
if test x"$lt_cv_prog_compiler_pic_works_GCJ" = xyes; then
16751
17105
    case $lt_prog_compiler_pic_GCJ in
16752
17106
     "" | " "*) ;;
16753
17107
     *) lt_prog_compiler_pic_GCJ=" $lt_prog_compiler_pic_GCJ" ;;
16774
17128
wl=$lt_prog_compiler_wl_GCJ eval lt_tmp_static_flag=\"$lt_prog_compiler_static_GCJ\"
16775
17129
{ echo "$as_me:$LINENO: checking if $compiler static flag $lt_tmp_static_flag works" >&5
16776
17130
echo $ECHO_N "checking if $compiler static flag $lt_tmp_static_flag works... $ECHO_C" >&6; }
16777
 
if test "${lt_prog_compiler_static_works_GCJ+set}" = set; then
 
17131
if test "${lt_cv_prog_compiler_static_works_GCJ+set}" = set; then
16778
17132
  echo $ECHO_N "(cached) $ECHO_C" >&6
16779
17133
else
16780
 
  lt_prog_compiler_static_works_GCJ=no
 
17134
  lt_cv_prog_compiler_static_works_GCJ=no
16781
17135
   save_LDFLAGS="$LDFLAGS"
16782
17136
   LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
16783
17137
   echo "$lt_simple_link_test_code" > conftest.$ac_ext
16790
17144
       $echo "X$_lt_linker_boilerplate" | $Xsed -e '/^$/d' > conftest.exp
16791
17145
       $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
16792
17146
       if diff conftest.exp conftest.er2 >/dev/null; then
16793
 
         lt_prog_compiler_static_works_GCJ=yes
 
17147
         lt_cv_prog_compiler_static_works_GCJ=yes
16794
17148
       fi
16795
17149
     else
16796
 
       lt_prog_compiler_static_works_GCJ=yes
 
17150
       lt_cv_prog_compiler_static_works_GCJ=yes
16797
17151
     fi
16798
17152
   fi
16799
 
   $rm conftest*
 
17153
   $rm -r conftest*
16800
17154
   LDFLAGS="$save_LDFLAGS"
16801
17155
 
16802
17156
fi
16803
 
{ echo "$as_me:$LINENO: result: $lt_prog_compiler_static_works_GCJ" >&5
16804
 
echo "${ECHO_T}$lt_prog_compiler_static_works_GCJ" >&6; }
 
17157
{ echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_static_works_GCJ" >&5
 
17158
echo "${ECHO_T}$lt_cv_prog_compiler_static_works_GCJ" >&6; }
16805
17159
 
16806
 
if test x"$lt_prog_compiler_static_works_GCJ" = xyes; then
 
17160
if test x"$lt_cv_prog_compiler_static_works_GCJ" = xyes; then
16807
17161
    :
16808
17162
else
16809
17163
    lt_prog_compiler_static_GCJ=
16831
17185
   -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
16832
17186
   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
16833
17187
   -e 's:$: $lt_compiler_flag:'`
16834
 
   (eval echo "\"\$as_me:16834: $lt_compile\"" >&5)
 
17188
   (eval echo "\"\$as_me:17188: $lt_compile\"" >&5)
16835
17189
   (eval "$lt_compile" 2>out/conftest.err)
16836
17190
   ac_status=$?
16837
17191
   cat out/conftest.err >&5
16838
 
   echo "$as_me:16838: \$? = $ac_status" >&5
 
17192
   echo "$as_me:17192: \$? = $ac_status" >&5
16839
17193
   if (exit $ac_status) && test -s out/conftest2.$ac_objext
16840
17194
   then
16841
17195
     # The compiler can only warn and ignore the option if not recognized
16915
17269
  # it will be wrapped by ` (' and `)$', so one must not match beginning or
16916
17270
  # end of line.  Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
16917
17271
  # as well as any symbol that contains `d'.
16918
 
  exclude_expsyms_GCJ="_GLOBAL_OFFSET_TABLE_"
 
17272
  exclude_expsyms_GCJ='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
16919
17273
  # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
16920
17274
  # platforms (ab)use it in PIC code, but their linkers get confused if
16921
17275
  # the symbol is explicitly referenced.  Since portable code cannot
16922
17276
  # rely on this symbol name, it's probably fine to never include it in
16923
17277
  # preloaded symbol tables.
 
17278
  # Exclude shared library initialization/finalization symbols.
16924
17279
  extract_expsyms_cmds=
16925
17280
  # Just being paranoid about ensuring that cc_basename is set.
16926
17281
  for cc_temp in $compiler""; do
16979
17334
 
16980
17335
    # See if GNU ld supports shared libraries.
16981
17336
    case $host_os in
16982
 
    aix3* | aix4* | aix5*)
 
17337
    aix[3-9]*)
16983
17338
      # On AIX/PPC, the GNU linker is very broken
16984
17339
      if test "$host_cpu" != ia64; then
16985
17340
        ld_shlibs_GCJ=no
17199
17554
      fi
17200
17555
      ;;
17201
17556
 
17202
 
    aix4* | aix5*)
 
17557
    aix[4-9]*)
17203
17558
      if test "$host_cpu" = ia64; then
17204
17559
        # On IA64, the linker does run time linking by default, so we don't
17205
17560
        # have to do anything special.
17219
17574
        # Test if we are trying to use run time linking or normal
17220
17575
        # AIX style linking. If -brtl is somewhere in LDFLAGS, we
17221
17576
        # need to do runtime linking.
17222
 
        case $host_os in aix4.[23]|aix4.[23].*|aix5*)
 
17577
        case $host_os in aix4.[23]|aix4.[23].*|aix[5-9]*)
17223
17578
          for ld_flag in $LDFLAGS; do
17224
17579
          if (test $ld_flag = "-brtl" || test $ld_flag = "-Wl,-brtl"); then
17225
17580
            aix_use_runtimelinking=yes
17491
17846
      link_all_deplibs_GCJ=yes
17492
17847
    if test "$GCC" = yes ; then
17493
17848
        output_verbose_link_cmd='echo'
17494
 
        archive_cmds_GCJ='$CC -dynamiclib $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags -install_name $rpath/$soname $verstring'
17495
 
      module_cmds_GCJ='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
17496
 
      # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin lds
17497
 
      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}'
17498
 
      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}'
 
17849
        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}"
 
17850
        module_cmds_GCJ="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}"
 
17851
        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}"
 
17852
        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}"
17499
17853
    else
17500
17854
      case $cc_basename in
17501
17855
        xlc*)
17964
18318
  soname_spec='${libname}${release}${shared_ext}$major'
17965
18319
  ;;
17966
18320
 
17967
 
aix4* | aix5*)
 
18321
aix[4-9]*)
17968
18322
  version_type=linux
17969
18323
  need_lib_prefix=no
17970
18324
  need_version=no
18497
18851
echo "${ECHO_T}$dynamic_linker" >&6; }
18498
18852
test "$dynamic_linker" = no && can_build_shared=no
18499
18853
 
 
18854
if test "${lt_cv_sys_lib_search_path_spec+set}" = set; then
 
18855
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
18856
else
 
18857
  lt_cv_sys_lib_search_path_spec="$sys_lib_search_path_spec"
 
18858
fi
 
18859
 
 
18860
sys_lib_search_path_spec="$lt_cv_sys_lib_search_path_spec"
 
18861
if test "${lt_cv_sys_lib_dlsearch_path_spec+set}" = set; then
 
18862
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
18863
else
 
18864
  lt_cv_sys_lib_dlsearch_path_spec="$sys_lib_dlsearch_path_spec"
 
18865
fi
 
18866
 
 
18867
sys_lib_dlsearch_path_spec="$lt_cv_sys_lib_dlsearch_path_spec"
 
18868
 
18500
18869
variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
18501
18870
if test "$GCC" = yes; then
18502
18871
  variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
18580
18949
    predeps_GCJ \
18581
18950
    postdeps_GCJ \
18582
18951
    compiler_lib_search_path_GCJ \
 
18952
    compiler_lib_search_dirs_GCJ \
18583
18953
    archive_cmds_GCJ \
18584
18954
    archive_expsym_cmds_GCJ \
18585
18955
    postinstall_cmds_GCJ \
18828
19198
# shared library.
18829
19199
postdeps=$lt_postdeps_GCJ
18830
19200
 
 
19201
# The directories searched by this compiler when creating a shared
 
19202
# library
 
19203
compiler_lib_search_dirs=$lt_compiler_lib_search_dirs_GCJ
 
19204
 
18831
19205
# The library search path used internally by the compiler when linking
18832
19206
# a shared library.
18833
19207
compiler_lib_search_path=$lt_compiler_lib_search_path_GCJ
19001
19375
echo "$lt_simple_link_test_code" >conftest.$ac_ext
19002
19376
eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
19003
19377
_lt_linker_boilerplate=`cat conftest.err`
19004
 
$rm conftest*
 
19378
$rm -r conftest*
19005
19379
 
19006
19380
 
19007
19381
# Allow CC to be a program name with arguments.
19061
19435
    predeps_RC \
19062
19436
    postdeps_RC \
19063
19437
    compiler_lib_search_path_RC \
 
19438
    compiler_lib_search_dirs_RC \
19064
19439
    archive_cmds_RC \
19065
19440
    archive_expsym_cmds_RC \
19066
19441
    postinstall_cmds_RC \
19309
19684
# shared library.
19310
19685
postdeps=$lt_postdeps_RC
19311
19686
 
 
19687
# The directories searched by this compiler when creating a shared
 
19688
# library
 
19689
compiler_lib_search_dirs=$lt_compiler_lib_search_dirs_RC
 
19690
 
19312
19691
# The library search path used internally by the compiler when linking
19313
19692
# a shared library.
19314
19693
compiler_lib_search_path=$lt_compiler_lib_search_path_RC
20431
20810
ECHO!$ECHO$ac_delim
20432
20811
AR!$AR$ac_delim
20433
20812
RANLIB!$RANLIB$ac_delim
 
20813
DSYMUTIL!$DSYMUTIL$ac_delim
 
20814
NMEDIT!$NMEDIT$ac_delim
20434
20815
CXXCPP!$CXXCPP$ac_delim
20435
20816
F77!$F77$ac_delim
20436
20817
FFLAGS!$FFLAGS$ac_delim
20440
20821
LTLIBOBJS!$LTLIBOBJS$ac_delim
20441
20822
_ACEOF
20442
20823
 
20443
 
  if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 12; then
 
20824
  if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 14; then
20444
20825
    break
20445
20826
  elif $ac_last_try; then
20446
20827
    { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5