~ubuntu-branches/ubuntu/natty/libxslt/natty

« back to all changes in this revision

Viewing changes to configure

  • Committer: Bazaar Package Importer
  • Author(s): Sebastien Bacher
  • Date: 2008-06-23 15:25:14 UTC
  • mfrom: (1.1.7 upstream)
  • Revision ID: james.westby@ubuntu.com-20080623152514-nf37q9fm3drv69ps
Tags: 1.1.24-1ubuntu1
* merge from debian, remaining ubuntu changes:
  - build a python-libxslt1-dbg package.

Show diffs side-by-side

added added

removed removed

Lines of Context:
879
879
ECHO
880
880
AR
881
881
RANLIB
 
882
DSYMUTIL
 
883
NMEDIT
882
884
CXX
883
885
CXXFLAGS
884
886
ac_ct_CXX
2114
2116
 
2115
2117
LIBXSLT_MAJOR_VERSION=1
2116
2118
LIBXSLT_MINOR_VERSION=1
2117
 
LIBXSLT_MICRO_VERSION=22
 
2119
LIBXSLT_MICRO_VERSION=24
2118
2120
PACKAGE=libxslt
2119
2121
LIBEXSLT_MAJOR_VERSION=0
2120
2122
LIBEXSLT_MINOR_VERSION=8
5728
5730
# whether `pass_all' will *always* work, you probably want this one.
5729
5731
 
5730
5732
case $host_os in
5731
 
aix4* | aix5*)
 
5733
aix[4-9]*)
5732
5734
  lt_cv_deplibs_check_method=pass_all
5733
5735
  ;;
5734
5736
 
5943
5945
  ;;
5944
5946
*-*-irix6*)
5945
5947
  # Find out which ABI we are using.
5946
 
  echo '#line 5946 "configure"' > conftest.$ac_ext
 
5948
  echo '#line 5948 "configure"' > conftest.$ac_ext
5947
5949
  if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5948
5950
  (eval $ac_compile) 2>&5
5949
5951
  ac_status=$?
6115
6117
    *64-bit*)
6116
6118
      case $lt_cv_prog_gnu_ld in
6117
6119
      yes*) LD="${LD-ld} -m elf64_sparc" ;;
6118
 
      *)    LD="${LD-ld} -64" ;;
 
6120
      *)
 
6121
        if ${LD-ld} -64 -r -o conftest2.o conftest.o >/dev/null 2>&1; then
 
6122
          LD="${LD-ld} -64"
 
6123
        fi
 
6124
        ;;
6119
6125
      esac
6120
6126
      ;;
6121
6127
    esac
7308
7314
 
7309
7315
 
7310
7316
# Autoconf 2.13's AC_OBJEXT and AC_EXEEXT macros only works for C compilers!
7311
 
 
7312
7317
# find the maximum length of command line arguments
7313
7318
{ echo "$as_me:$LINENO: checking the maximum length of command line arguments" >&5
7314
7319
echo $ECHO_N "checking the maximum length of command line arguments... $ECHO_C" >&6; }
7623
7628
    echo "$progname: failed program was:" >&5
7624
7629
    cat conftest.$ac_ext >&5
7625
7630
  fi
7626
 
  rm -f conftest* conftst*
 
7631
  rm -rf conftest* conftst*
7627
7632
 
7628
7633
  # Do not use the global_symbol_pipe unless it works.
7629
7634
  if test "$pipe_works" = yes; then
8183
8188
  ;;
8184
8189
esac
8185
8190
 
 
8191
 
 
8192
  case $host_os in
 
8193
    rhapsody* | darwin*)
 
8194
    if test -n "$ac_tool_prefix"; then
 
8195
  # Extract the first word of "${ac_tool_prefix}dsymutil", so it can be a program name with args.
 
8196
set dummy ${ac_tool_prefix}dsymutil; ac_word=$2
 
8197
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
 
8198
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
 
8199
if test "${ac_cv_prog_DSYMUTIL+set}" = set; then
 
8200
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
8201
else
 
8202
  if test -n "$DSYMUTIL"; then
 
8203
  ac_cv_prog_DSYMUTIL="$DSYMUTIL" # Let the user override the test.
 
8204
else
 
8205
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
8206
for as_dir in $PATH
 
8207
do
 
8208
  IFS=$as_save_IFS
 
8209
  test -z "$as_dir" && as_dir=.
 
8210
  for ac_exec_ext in '' $ac_executable_extensions; do
 
8211
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 
8212
    ac_cv_prog_DSYMUTIL="${ac_tool_prefix}dsymutil"
 
8213
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
8214
    break 2
 
8215
  fi
 
8216
done
 
8217
done
 
8218
IFS=$as_save_IFS
 
8219
 
 
8220
fi
 
8221
fi
 
8222
DSYMUTIL=$ac_cv_prog_DSYMUTIL
 
8223
if test -n "$DSYMUTIL"; then
 
8224
  { echo "$as_me:$LINENO: result: $DSYMUTIL" >&5
 
8225
echo "${ECHO_T}$DSYMUTIL" >&6; }
 
8226
else
 
8227
  { echo "$as_me:$LINENO: result: no" >&5
 
8228
echo "${ECHO_T}no" >&6; }
 
8229
fi
 
8230
 
 
8231
 
 
8232
fi
 
8233
if test -z "$ac_cv_prog_DSYMUTIL"; then
 
8234
  ac_ct_DSYMUTIL=$DSYMUTIL
 
8235
  # Extract the first word of "dsymutil", so it can be a program name with args.
 
8236
set dummy dsymutil; ac_word=$2
 
8237
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
 
8238
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
 
8239
if test "${ac_cv_prog_ac_ct_DSYMUTIL+set}" = set; then
 
8240
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
8241
else
 
8242
  if test -n "$ac_ct_DSYMUTIL"; then
 
8243
  ac_cv_prog_ac_ct_DSYMUTIL="$ac_ct_DSYMUTIL" # Let the user override the test.
 
8244
else
 
8245
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
8246
for as_dir in $PATH
 
8247
do
 
8248
  IFS=$as_save_IFS
 
8249
  test -z "$as_dir" && as_dir=.
 
8250
  for ac_exec_ext in '' $ac_executable_extensions; do
 
8251
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 
8252
    ac_cv_prog_ac_ct_DSYMUTIL="dsymutil"
 
8253
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
8254
    break 2
 
8255
  fi
 
8256
done
 
8257
done
 
8258
IFS=$as_save_IFS
 
8259
 
 
8260
fi
 
8261
fi
 
8262
ac_ct_DSYMUTIL=$ac_cv_prog_ac_ct_DSYMUTIL
 
8263
if test -n "$ac_ct_DSYMUTIL"; then
 
8264
  { echo "$as_me:$LINENO: result: $ac_ct_DSYMUTIL" >&5
 
8265
echo "${ECHO_T}$ac_ct_DSYMUTIL" >&6; }
 
8266
else
 
8267
  { echo "$as_me:$LINENO: result: no" >&5
 
8268
echo "${ECHO_T}no" >&6; }
 
8269
fi
 
8270
 
 
8271
  if test "x$ac_ct_DSYMUTIL" = x; then
 
8272
    DSYMUTIL=":"
 
8273
  else
 
8274
    case $cross_compiling:$ac_tool_warned in
 
8275
yes:)
 
8276
{ echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
 
8277
whose name does not start with the host triplet.  If you think this
 
8278
configuration is useful to you, please write to autoconf@gnu.org." >&5
 
8279
echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
 
8280
whose name does not start with the host triplet.  If you think this
 
8281
configuration is useful to you, please write to autoconf@gnu.org." >&2;}
 
8282
ac_tool_warned=yes ;;
 
8283
esac
 
8284
    DSYMUTIL=$ac_ct_DSYMUTIL
 
8285
  fi
 
8286
else
 
8287
  DSYMUTIL="$ac_cv_prog_DSYMUTIL"
 
8288
fi
 
8289
 
 
8290
    if test -n "$ac_tool_prefix"; then
 
8291
  # Extract the first word of "${ac_tool_prefix}nmedit", so it can be a program name with args.
 
8292
set dummy ${ac_tool_prefix}nmedit; ac_word=$2
 
8293
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
 
8294
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
 
8295
if test "${ac_cv_prog_NMEDIT+set}" = set; then
 
8296
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
8297
else
 
8298
  if test -n "$NMEDIT"; then
 
8299
  ac_cv_prog_NMEDIT="$NMEDIT" # Let the user override the test.
 
8300
else
 
8301
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
8302
for as_dir in $PATH
 
8303
do
 
8304
  IFS=$as_save_IFS
 
8305
  test -z "$as_dir" && as_dir=.
 
8306
  for ac_exec_ext in '' $ac_executable_extensions; do
 
8307
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 
8308
    ac_cv_prog_NMEDIT="${ac_tool_prefix}nmedit"
 
8309
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
8310
    break 2
 
8311
  fi
 
8312
done
 
8313
done
 
8314
IFS=$as_save_IFS
 
8315
 
 
8316
fi
 
8317
fi
 
8318
NMEDIT=$ac_cv_prog_NMEDIT
 
8319
if test -n "$NMEDIT"; then
 
8320
  { echo "$as_me:$LINENO: result: $NMEDIT" >&5
 
8321
echo "${ECHO_T}$NMEDIT" >&6; }
 
8322
else
 
8323
  { echo "$as_me:$LINENO: result: no" >&5
 
8324
echo "${ECHO_T}no" >&6; }
 
8325
fi
 
8326
 
 
8327
 
 
8328
fi
 
8329
if test -z "$ac_cv_prog_NMEDIT"; then
 
8330
  ac_ct_NMEDIT=$NMEDIT
 
8331
  # Extract the first word of "nmedit", so it can be a program name with args.
 
8332
set dummy nmedit; ac_word=$2
 
8333
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
 
8334
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
 
8335
if test "${ac_cv_prog_ac_ct_NMEDIT+set}" = set; then
 
8336
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
8337
else
 
8338
  if test -n "$ac_ct_NMEDIT"; then
 
8339
  ac_cv_prog_ac_ct_NMEDIT="$ac_ct_NMEDIT" # Let the user override the test.
 
8340
else
 
8341
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
8342
for as_dir in $PATH
 
8343
do
 
8344
  IFS=$as_save_IFS
 
8345
  test -z "$as_dir" && as_dir=.
 
8346
  for ac_exec_ext in '' $ac_executable_extensions; do
 
8347
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 
8348
    ac_cv_prog_ac_ct_NMEDIT="nmedit"
 
8349
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
8350
    break 2
 
8351
  fi
 
8352
done
 
8353
done
 
8354
IFS=$as_save_IFS
 
8355
 
 
8356
fi
 
8357
fi
 
8358
ac_ct_NMEDIT=$ac_cv_prog_ac_ct_NMEDIT
 
8359
if test -n "$ac_ct_NMEDIT"; then
 
8360
  { echo "$as_me:$LINENO: result: $ac_ct_NMEDIT" >&5
 
8361
echo "${ECHO_T}$ac_ct_NMEDIT" >&6; }
 
8362
else
 
8363
  { echo "$as_me:$LINENO: result: no" >&5
 
8364
echo "${ECHO_T}no" >&6; }
 
8365
fi
 
8366
 
 
8367
  if test "x$ac_ct_NMEDIT" = x; then
 
8368
    NMEDIT=":"
 
8369
  else
 
8370
    case $cross_compiling:$ac_tool_warned in
 
8371
yes:)
 
8372
{ echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
 
8373
whose name does not start with the host triplet.  If you think this
 
8374
configuration is useful to you, please write to autoconf@gnu.org." >&5
 
8375
echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
 
8376
whose name does not start with the host triplet.  If you think this
 
8377
configuration is useful to you, please write to autoconf@gnu.org." >&2;}
 
8378
ac_tool_warned=yes ;;
 
8379
esac
 
8380
    NMEDIT=$ac_ct_NMEDIT
 
8381
  fi
 
8382
else
 
8383
  NMEDIT="$ac_cv_prog_NMEDIT"
 
8384
fi
 
8385
 
 
8386
 
 
8387
    { echo "$as_me:$LINENO: checking for -single_module linker flag" >&5
 
8388
echo $ECHO_N "checking for -single_module linker flag... $ECHO_C" >&6; }
 
8389
if test "${lt_cv_apple_cc_single_mod+set}" = set; then
 
8390
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
8391
else
 
8392
  lt_cv_apple_cc_single_mod=no
 
8393
      if test -z "${LT_MULTI_MODULE}"; then
 
8394
   # By default we will add the -single_module flag. You can override
 
8395
   # by either setting the environment variable LT_MULTI_MODULE
 
8396
   # non-empty at configure time, or by adding -multi_module to the
 
8397
   # link flags.
 
8398
   echo "int foo(void){return 1;}" > conftest.c
 
8399
   $LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
 
8400
     -dynamiclib ${wl}-single_module conftest.c
 
8401
   if test -f libconftest.dylib; then
 
8402
     lt_cv_apple_cc_single_mod=yes
 
8403
     rm -rf libconftest.dylib*
 
8404
   fi
 
8405
   rm conftest.c
 
8406
      fi
 
8407
fi
 
8408
{ echo "$as_me:$LINENO: result: $lt_cv_apple_cc_single_mod" >&5
 
8409
echo "${ECHO_T}$lt_cv_apple_cc_single_mod" >&6; }
 
8410
    { echo "$as_me:$LINENO: checking for -exported_symbols_list linker flag" >&5
 
8411
echo $ECHO_N "checking for -exported_symbols_list linker flag... $ECHO_C" >&6; }
 
8412
if test "${lt_cv_ld_exported_symbols_list+set}" = set; then
 
8413
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
8414
else
 
8415
  lt_cv_ld_exported_symbols_list=no
 
8416
      save_LDFLAGS=$LDFLAGS
 
8417
      echo "_main" > conftest.sym
 
8418
      LDFLAGS="$LDFLAGS -Wl,-exported_symbols_list,conftest.sym"
 
8419
      cat >conftest.$ac_ext <<_ACEOF
 
8420
/* confdefs.h.  */
 
8421
_ACEOF
 
8422
cat confdefs.h >>conftest.$ac_ext
 
8423
cat >>conftest.$ac_ext <<_ACEOF
 
8424
/* end confdefs.h.  */
 
8425
 
 
8426
int
 
8427
main ()
 
8428
{
 
8429
 
 
8430
  ;
 
8431
  return 0;
 
8432
}
 
8433
_ACEOF
 
8434
rm -f conftest.$ac_objext conftest$ac_exeext
 
8435
if { (ac_try="$ac_link"
 
8436
case "(($ac_try" in
 
8437
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
8438
  *) ac_try_echo=$ac_try;;
 
8439
esac
 
8440
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
8441
  (eval "$ac_link") 2>conftest.er1
 
8442
  ac_status=$?
 
8443
  grep -v '^ *+' conftest.er1 >conftest.err
 
8444
  rm -f conftest.er1
 
8445
  cat conftest.err >&5
 
8446
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
8447
  (exit $ac_status); } && {
 
8448
         test -z "$ac_c_werror_flag" ||
 
8449
         test ! -s conftest.err
 
8450
       } && test -s conftest$ac_exeext &&
 
8451
       $as_test_x conftest$ac_exeext; then
 
8452
  lt_cv_ld_exported_symbols_list=yes
 
8453
else
 
8454
  echo "$as_me: failed program was:" >&5
 
8455
sed 's/^/| /' conftest.$ac_ext >&5
 
8456
 
 
8457
        lt_cv_ld_exported_symbols_list=no
 
8458
fi
 
8459
 
 
8460
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
 
8461
      conftest$ac_exeext conftest.$ac_ext
 
8462
   LDFLAGS="$save_LDFLAGS"
 
8463
 
 
8464
fi
 
8465
{ echo "$as_me:$LINENO: result: $lt_cv_ld_exported_symbols_list" >&5
 
8466
echo "${ECHO_T}$lt_cv_ld_exported_symbols_list" >&6; }
 
8467
    case $host_os in
 
8468
    rhapsody* | darwin1.[0123])
 
8469
      _lt_dar_allow_undefined='${wl}-undefined ${wl}suppress' ;;
 
8470
    darwin1.*)
 
8471
     _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
 
8472
    darwin*)
 
8473
      # if running on 10.5 or later, the deployment target defaults
 
8474
      # to the OS version, if on x86, and 10.4, the deployment
 
8475
      # target defaults to 10.4. Don't you love it?
 
8476
      case ${MACOSX_DEPLOYMENT_TARGET-10.0},$host in
 
8477
   10.0,*86*-darwin8*|10.0,*-darwin[91]*)
 
8478
     _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
 
8479
   10.[012]*)
 
8480
     _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
 
8481
   10.*)
 
8482
     _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
 
8483
      esac
 
8484
    ;;
 
8485
  esac
 
8486
    if test "$lt_cv_apple_cc_single_mod" = "yes"; then
 
8487
      _lt_dar_single_mod='$single_module'
 
8488
    fi
 
8489
    if test "$lt_cv_ld_exported_symbols_list" = "yes"; then
 
8490
      _lt_dar_export_syms=' ${wl}-exported_symbols_list,$output_objdir/${libname}-symbols.expsym'
 
8491
    else
 
8492
      _lt_dar_export_syms="~$NMEDIT -s \$output_objdir/\${libname}-symbols.expsym \${lib}"
 
8493
    fi
 
8494
    if test "$DSYMUTIL" != ":"; then
 
8495
      _lt_dsymutil="~$DSYMUTIL \$lib || :"
 
8496
    else
 
8497
      _lt_dsymutil=
 
8498
    fi
 
8499
    ;;
 
8500
  esac
 
8501
 
 
8502
 
8186
8503
enable_dlopen=no
8187
8504
enable_win32_dll=no
8188
8505
 
8248
8565
echo "$lt_simple_link_test_code" >conftest.$ac_ext
8249
8566
eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
8250
8567
_lt_linker_boilerplate=`cat conftest.err`
8251
 
$rm conftest*
 
8568
$rm -r conftest*
8252
8569
 
8253
8570
 
8254
8571
 
8276
8593
   -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8277
8594
   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8278
8595
   -e 's:$: $lt_compiler_flag:'`
8279
 
   (eval echo "\"\$as_me:8279: $lt_compile\"" >&5)
 
8596
   (eval echo "\"\$as_me:8596: $lt_compile\"" >&5)
8280
8597
   (eval "$lt_compile" 2>conftest.err)
8281
8598
   ac_status=$?
8282
8599
   cat conftest.err >&5
8283
 
   echo "$as_me:8283: \$? = $ac_status" >&5
 
8600
   echo "$as_me:8600: \$? = $ac_status" >&5
8284
8601
   if (exit $ac_status) && test -s "$ac_outfile"; then
8285
8602
     # The compiler can only warn and ignore the option if not recognized
8286
8603
     # So say no if there are warnings other than the usual output.
8550
8867
 
8551
8868
{ echo "$as_me:$LINENO: checking if $compiler PIC flag $lt_prog_compiler_pic works" >&5
8552
8869
echo $ECHO_N "checking if $compiler PIC flag $lt_prog_compiler_pic works... $ECHO_C" >&6; }
8553
 
if test "${lt_prog_compiler_pic_works+set}" = set; then
 
8870
if test "${lt_cv_prog_compiler_pic_works+set}" = set; then
8554
8871
  echo $ECHO_N "(cached) $ECHO_C" >&6
8555
8872
else
8556
 
  lt_prog_compiler_pic_works=no
 
8873
  lt_cv_prog_compiler_pic_works=no
8557
8874
  ac_outfile=conftest.$ac_objext
8558
8875
   echo "$lt_simple_compile_test_code" > conftest.$ac_ext
8559
8876
   lt_compiler_flag="$lt_prog_compiler_pic -DPIC"
8566
8883
   -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8567
8884
   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8568
8885
   -e 's:$: $lt_compiler_flag:'`
8569
 
   (eval echo "\"\$as_me:8569: $lt_compile\"" >&5)
 
8886
   (eval echo "\"\$as_me:8886: $lt_compile\"" >&5)
8570
8887
   (eval "$lt_compile" 2>conftest.err)
8571
8888
   ac_status=$?
8572
8889
   cat conftest.err >&5
8573
 
   echo "$as_me:8573: \$? = $ac_status" >&5
 
8890
   echo "$as_me:8890: \$? = $ac_status" >&5
8574
8891
   if (exit $ac_status) && test -s "$ac_outfile"; then
8575
8892
     # The compiler can only warn and ignore the option if not recognized
8576
8893
     # So say no if there are warnings other than the usual output.
8577
8894
     $echo "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' >conftest.exp
8578
8895
     $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
8579
8896
     if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
8580
 
       lt_prog_compiler_pic_works=yes
 
8897
       lt_cv_prog_compiler_pic_works=yes
8581
8898
     fi
8582
8899
   fi
8583
8900
   $rm conftest*
8584
8901
 
8585
8902
fi
8586
 
{ echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_works" >&5
8587
 
echo "${ECHO_T}$lt_prog_compiler_pic_works" >&6; }
 
8903
{ echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_pic_works" >&5
 
8904
echo "${ECHO_T}$lt_cv_prog_compiler_pic_works" >&6; }
8588
8905
 
8589
 
if test x"$lt_prog_compiler_pic_works" = xyes; then
 
8906
if test x"$lt_cv_prog_compiler_pic_works" = xyes; then
8590
8907
    case $lt_prog_compiler_pic in
8591
8908
     "" | " "*) ;;
8592
8909
     *) lt_prog_compiler_pic=" $lt_prog_compiler_pic" ;;
8613
8930
wl=$lt_prog_compiler_wl eval lt_tmp_static_flag=\"$lt_prog_compiler_static\"
8614
8931
{ echo "$as_me:$LINENO: checking if $compiler static flag $lt_tmp_static_flag works" >&5
8615
8932
echo $ECHO_N "checking if $compiler static flag $lt_tmp_static_flag works... $ECHO_C" >&6; }
8616
 
if test "${lt_prog_compiler_static_works+set}" = set; then
 
8933
if test "${lt_cv_prog_compiler_static_works+set}" = set; then
8617
8934
  echo $ECHO_N "(cached) $ECHO_C" >&6
8618
8935
else
8619
 
  lt_prog_compiler_static_works=no
 
8936
  lt_cv_prog_compiler_static_works=no
8620
8937
   save_LDFLAGS="$LDFLAGS"
8621
8938
   LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
8622
8939
   echo "$lt_simple_link_test_code" > conftest.$ac_ext
8629
8946
       $echo "X$_lt_linker_boilerplate" | $Xsed -e '/^$/d' > conftest.exp
8630
8947
       $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
8631
8948
       if diff conftest.exp conftest.er2 >/dev/null; then
8632
 
         lt_prog_compiler_static_works=yes
 
8949
         lt_cv_prog_compiler_static_works=yes
8633
8950
       fi
8634
8951
     else
8635
 
       lt_prog_compiler_static_works=yes
 
8952
       lt_cv_prog_compiler_static_works=yes
8636
8953
     fi
8637
8954
   fi
8638
 
   $rm conftest*
 
8955
   $rm -r conftest*
8639
8956
   LDFLAGS="$save_LDFLAGS"
8640
8957
 
8641
8958
fi
8642
 
{ echo "$as_me:$LINENO: result: $lt_prog_compiler_static_works" >&5
8643
 
echo "${ECHO_T}$lt_prog_compiler_static_works" >&6; }
 
8959
{ echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_static_works" >&5
 
8960
echo "${ECHO_T}$lt_cv_prog_compiler_static_works" >&6; }
8644
8961
 
8645
 
if test x"$lt_prog_compiler_static_works" = xyes; then
 
8962
if test x"$lt_cv_prog_compiler_static_works" = xyes; then
8646
8963
    :
8647
8964
else
8648
8965
    lt_prog_compiler_static=
8670
8987
   -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8671
8988
   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8672
8989
   -e 's:$: $lt_compiler_flag:'`
8673
 
   (eval echo "\"\$as_me:8673: $lt_compile\"" >&5)
 
8990
   (eval echo "\"\$as_me:8990: $lt_compile\"" >&5)
8674
8991
   (eval "$lt_compile" 2>out/conftest.err)
8675
8992
   ac_status=$?
8676
8993
   cat out/conftest.err >&5
8677
 
   echo "$as_me:8677: \$? = $ac_status" >&5
 
8994
   echo "$as_me:8994: \$? = $ac_status" >&5
8678
8995
   if (exit $ac_status) && test -s out/conftest2.$ac_objext
8679
8996
   then
8680
8997
     # The compiler can only warn and ignore the option if not recognized
8754
9071
  # it will be wrapped by ` (' and `)$', so one must not match beginning or
8755
9072
  # end of line.  Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
8756
9073
  # as well as any symbol that contains `d'.
8757
 
  exclude_expsyms="_GLOBAL_OFFSET_TABLE_"
 
9074
  exclude_expsyms='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
8758
9075
  # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
8759
9076
  # platforms (ab)use it in PIC code, but their linkers get confused if
8760
9077
  # the symbol is explicitly referenced.  Since portable code cannot
8761
9078
  # rely on this symbol name, it's probably fine to never include it in
8762
9079
  # preloaded symbol tables.
 
9080
  # Exclude shared library initialization/finalization symbols.
8763
9081
  extract_expsyms_cmds=
8764
9082
  # Just being paranoid about ensuring that cc_basename is set.
8765
9083
  for cc_temp in $compiler""; do
8818
9136
 
8819
9137
    # See if GNU ld supports shared libraries.
8820
9138
    case $host_os in
8821
 
    aix3* | aix4* | aix5*)
 
9139
    aix[3-9]*)
8822
9140
      # On AIX/PPC, the GNU linker is very broken
8823
9141
      if test "$host_cpu" != ia64; then
8824
9142
        ld_shlibs=no
9038
9356
      fi
9039
9357
      ;;
9040
9358
 
9041
 
    aix4* | aix5*)
 
9359
    aix[4-9]*)
9042
9360
      if test "$host_cpu" = ia64; then
9043
9361
        # On IA64, the linker does run time linking by default, so we don't
9044
9362
        # have to do anything special.
9058
9376
        # Test if we are trying to use run time linking or normal
9059
9377
        # AIX style linking. If -brtl is somewhere in LDFLAGS, we
9060
9378
        # need to do runtime linking.
9061
 
        case $host_os in aix4.[23]|aix4.[23].*|aix5*)
 
9379
        case $host_os in aix4.[23]|aix4.[23].*|aix[5-9]*)
9062
9380
          for ld_flag in $LDFLAGS; do
9063
9381
          if (test $ld_flag = "-brtl" || test $ld_flag = "-Wl,-brtl"); then
9064
9382
            aix_use_runtimelinking=yes
9330
9648
      link_all_deplibs=yes
9331
9649
    if test "$GCC" = yes ; then
9332
9650
        output_verbose_link_cmd='echo'
9333
 
        archive_cmds='$CC -dynamiclib $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags -install_name $rpath/$soname $verstring'
9334
 
      module_cmds='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
9335
 
      # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin lds
9336
 
      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}'
9337
 
      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}'
 
9651
        archive_cmds="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod${_lt_dsymutil}"
 
9652
        module_cmds="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}"
 
9653
        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}"
 
9654
        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}"
9338
9655
    else
9339
9656
      case $cc_basename in
9340
9657
        xlc*)
9854
10171
  soname_spec='${libname}${release}${shared_ext}$major'
9855
10172
  ;;
9856
10173
 
9857
 
aix4* | aix5*)
 
10174
aix[4-9]*)
9858
10175
  version_type=linux
9859
10176
  need_lib_prefix=no
9860
10177
  need_version=no
10388
10705
echo "${ECHO_T}$dynamic_linker" >&6; }
10389
10706
test "$dynamic_linker" = no && can_build_shared=no
10390
10707
 
 
10708
if test "${lt_cv_sys_lib_search_path_spec+set}" = set; then
 
10709
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
10710
else
 
10711
  lt_cv_sys_lib_search_path_spec="$sys_lib_search_path_spec"
 
10712
fi
 
10713
 
 
10714
sys_lib_search_path_spec="$lt_cv_sys_lib_search_path_spec"
 
10715
if test "${lt_cv_sys_lib_dlsearch_path_spec+set}" = set; then
 
10716
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
10717
else
 
10718
  lt_cv_sys_lib_dlsearch_path_spec="$sys_lib_dlsearch_path_spec"
 
10719
fi
 
10720
 
 
10721
sys_lib_dlsearch_path_spec="$lt_cv_sys_lib_dlsearch_path_spec"
 
10722
 
10391
10723
variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
10392
10724
if test "$GCC" = yes; then
10393
10725
  variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
10707
11039
{ echo "$as_me:$LINENO: result: $ac_cv_lib_dld_shl_load" >&5
10708
11040
echo "${ECHO_T}$ac_cv_lib_dld_shl_load" >&6; }
10709
11041
if test $ac_cv_lib_dld_shl_load = yes; then
10710
 
  lt_cv_dlopen="shl_load" lt_cv_dlopen_libs="-dld"
 
11042
  lt_cv_dlopen="shl_load" lt_cv_dlopen_libs="-ldld"
10711
11043
else
10712
11044
  { echo "$as_me:$LINENO: checking for dlopen" >&5
10713
11045
echo $ECHO_N "checking for dlopen... $ECHO_C" >&6; }
10983
11315
{ echo "$as_me:$LINENO: result: $ac_cv_lib_dld_dld_link" >&5
10984
11316
echo "${ECHO_T}$ac_cv_lib_dld_dld_link" >&6; }
10985
11317
if test $ac_cv_lib_dld_dld_link = yes; then
10986
 
  lt_cv_dlopen="dld_link" lt_cv_dlopen_libs="-dld"
 
11318
  lt_cv_dlopen="dld_link" lt_cv_dlopen_libs="-ldld"
10987
11319
fi
10988
11320
 
10989
11321
 
11032
11364
  lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
11033
11365
  lt_status=$lt_dlunknown
11034
11366
  cat > conftest.$ac_ext <<EOF
11035
 
#line 11035 "configure"
 
11367
#line 11367 "configure"
11036
11368
#include "confdefs.h"
11037
11369
 
11038
11370
#if HAVE_DLFCN_H
11132
11464
  lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
11133
11465
  lt_status=$lt_dlunknown
11134
11466
  cat > conftest.$ac_ext <<EOF
11135
 
#line 11135 "configure"
 
11467
#line 11467 "configure"
11136
11468
#include "confdefs.h"
11137
11469
 
11138
11470
#if HAVE_DLFCN_H
11259
11591
  fi
11260
11592
  ;;
11261
11593
 
11262
 
aix4* | aix5*)
 
11594
aix[4-9]*)
11263
11595
  if test "$host_cpu" != ia64 && test "$aix_use_runtimelinking" = no ; then
11264
11596
    test "$enable_shared" = yes && enable_static=no
11265
11597
  fi
11315
11647
    predeps \
11316
11648
    postdeps \
11317
11649
    compiler_lib_search_path \
 
11650
    compiler_lib_search_dirs \
11318
11651
    archive_cmds \
11319
11652
    archive_expsym_cmds \
11320
11653
    postinstall_cmds \
11375
11708
# Generated automatically by $PROGRAM (GNU $PACKAGE $VERSION$TIMESTAMP)
11376
11709
# NOTE: Changes made to this file will be lost: look at ltmain.sh.
11377
11710
#
11378
 
# Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004, 2005, 2006, 2007
 
11711
# Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004, 2005, 2006, 2007, 2008
11379
11712
# Free Software Foundation, Inc.
11380
11713
#
11381
11714
# This file is part of GNU Libtool:
11611
11944
# shared library.
11612
11945
postdeps=$lt_postdeps
11613
11946
 
 
11947
# The directories searched by this compiler when creating a shared
 
11948
# library
 
11949
compiler_lib_search_dirs=$lt_compiler_lib_search_dirs
 
11950
 
11614
11951
# The library search path used internally by the compiler when linking
11615
11952
# a shared library.
11616
11953
compiler_lib_search_path=$lt_compiler_lib_search_path
11859
12196
predeps_CXX=
11860
12197
postdeps_CXX=
11861
12198
compiler_lib_search_path_CXX=
 
12199
compiler_lib_search_dirs_CXX=
11862
12200
 
11863
12201
# Source file extension for C++ test sources.
11864
12202
ac_ext=cpp
11896
12234
echo "$lt_simple_link_test_code" >conftest.$ac_ext
11897
12235
eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
11898
12236
_lt_linker_boilerplate=`cat conftest.err`
11899
 
$rm conftest*
 
12237
$rm -r conftest*
11900
12238
 
11901
12239
 
11902
12240
# Allow CC to be a program name with arguments.
12103
12441
    # FIXME: insert proper C++ library support
12104
12442
    ld_shlibs_CXX=no
12105
12443
    ;;
12106
 
  aix4* | aix5*)
 
12444
  aix[4-9]*)
12107
12445
    if test "$host_cpu" = ia64; then
12108
12446
      # On IA64, the linker does run time linking by default, so we don't
12109
12447
      # have to do anything special.
12116
12454
      # Test if we are trying to use run time linking or normal
12117
12455
      # AIX style linking. If -brtl is somewhere in LDFLAGS, we
12118
12456
      # need to do runtime linking.
12119
 
      case $host_os in aix4.[23]|aix4.[23].*|aix5*)
 
12457
      case $host_os in aix4.[23]|aix4.[23].*|aix[5-9]*)
12120
12458
        for ld_flag in $LDFLAGS; do
12121
12459
          case $ld_flag in
12122
12460
          *-brtl*)
12374
12712
    fi
12375
12713
  ;;
12376
12714
      darwin* | rhapsody*)
12377
 
        case $host_os in
12378
 
        rhapsody* | darwin1.[012])
12379
 
         allow_undefined_flag_CXX='${wl}-undefined ${wl}suppress'
12380
 
         ;;
12381
 
       *) # Darwin 1.3 on
12382
 
         if test -z ${MACOSX_DEPLOYMENT_TARGET} ; then
12383
 
           allow_undefined_flag_CXX='${wl}-flat_namespace ${wl}-undefined ${wl}suppress'
12384
 
         else
12385
 
           case ${MACOSX_DEPLOYMENT_TARGET} in
12386
 
             10.[012])
12387
 
               allow_undefined_flag_CXX='${wl}-flat_namespace ${wl}-undefined ${wl}suppress'
12388
 
               ;;
12389
 
             10.*)
12390
 
               allow_undefined_flag_CXX='${wl}-undefined ${wl}dynamic_lookup'
12391
 
               ;;
12392
 
           esac
12393
 
         fi
12394
 
         ;;
12395
 
        esac
12396
12715
      archive_cmds_need_lc_CXX=no
12397
12716
      hardcode_direct_CXX=no
12398
12717
      hardcode_automatic_CXX=yes
12399
12718
      hardcode_shlibpath_var_CXX=unsupported
12400
12719
      whole_archive_flag_spec_CXX=''
12401
12720
      link_all_deplibs_CXX=yes
12402
 
 
12403
 
    if test "$GXX" = yes ; then
12404
 
      lt_int_apple_cc_single_mod=no
 
12721
      allow_undefined_flag_CXX="$_lt_dar_allow_undefined"
 
12722
      if test "$GXX" = yes ; then
12405
12723
      output_verbose_link_cmd='echo'
12406
 
      if $CC -dumpspecs 2>&1 | $EGREP 'single_module' >/dev/null ; then
12407
 
       lt_int_apple_cc_single_mod=yes
 
12724
      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}"
 
12725
      module_cmds_CXX="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}"
 
12726
      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}"
 
12727
      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}"
 
12728
      if test "$lt_cv_apple_cc_single_mod" != "yes"; then
 
12729
        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}"
 
12730
        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}"
12408
12731
      fi
12409
 
      if test "X$lt_int_apple_cc_single_mod" = Xyes ; then
12410
 
       archive_cmds_CXX='$CC -dynamiclib -single_module $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags -install_name $rpath/$soname $verstring'
12411
 
      else
12412
 
          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'
12413
 
        fi
12414
 
        module_cmds_CXX='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
12415
 
        # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin lds
12416
 
          if test "X$lt_int_apple_cc_single_mod" = Xyes ; then
12417
 
            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}'
12418
 
          else
12419
 
            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}'
12420
 
          fi
12421
 
            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}'
12422
12732
      else
12423
12733
      case $cc_basename in
12424
12734
        xlc*)
12669
12979
        export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
12670
12980
        whole_archive_flag_spec_CXX='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
12671
12981
        ;;
12672
 
      pgCC*)
 
12982
      pgCC* | pgcpp*)
12673
12983
        # Portland Group C++ compiler
12674
12984
        archive_cmds_CXX='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname -o $lib'
12675
12985
        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'
13076
13386
GCC_CXX="$GXX"
13077
13387
LD_CXX="$LD"
13078
13388
 
13079
 
 
13080
13389
cat > conftest.$ac_ext <<EOF
13081
13390
class Foo
13082
13391
{
13178
13487
 
13179
13488
$rm -f confest.$objext
13180
13489
 
 
13490
compiler_lib_search_dirs_CXX=
 
13491
if test -n "$compiler_lib_search_path_CXX"; then
 
13492
  compiler_lib_search_dirs_CXX=`echo " ${compiler_lib_search_path_CXX}" | ${SED} -e 's! -L! !g' -e 's!^ !!'`
 
13493
fi
 
13494
 
13181
13495
# PORTME: override above test on systems where it is broken
13182
13496
case $host_os in
13183
13497
interix[3-9]*)
13233
13547
  ;;
13234
13548
esac
13235
13549
 
13236
 
 
13237
13550
case " $postdeps_CXX " in
13238
13551
*" -lc "*) archive_cmds_need_lc_CXX=no ;;
13239
13552
esac
13309
13622
    esac
13310
13623
  else
13311
13624
    case $host_os in
13312
 
      aix4* | aix5*)
 
13625
      aix[4-9]*)
13313
13626
        # All AIX code is PIC.
13314
13627
        if test "$host_cpu" = ia64; then
13315
13628
          # AIX 5 now supports IA64 processor
13405
13718
            lt_prog_compiler_pic_CXX='-KPIC'
13406
13719
            lt_prog_compiler_static_CXX='-static'
13407
13720
            ;;
13408
 
          pgCC*)
 
13721
          pgCC* | pgcpp*)
13409
13722
            # Portland Group C++ compiler.
13410
13723
            lt_prog_compiler_wl_CXX='-Wl,'
13411
13724
            lt_prog_compiler_pic_CXX='-fpic'
13536
13849
 
13537
13850
{ echo "$as_me:$LINENO: checking if $compiler PIC flag $lt_prog_compiler_pic_CXX works" >&5
13538
13851
echo $ECHO_N "checking if $compiler PIC flag $lt_prog_compiler_pic_CXX works... $ECHO_C" >&6; }
13539
 
if test "${lt_prog_compiler_pic_works_CXX+set}" = set; then
 
13852
if test "${lt_cv_prog_compiler_pic_works_CXX+set}" = set; then
13540
13853
  echo $ECHO_N "(cached) $ECHO_C" >&6
13541
13854
else
13542
 
  lt_prog_compiler_pic_works_CXX=no
 
13855
  lt_cv_prog_compiler_pic_works_CXX=no
13543
13856
  ac_outfile=conftest.$ac_objext
13544
13857
   echo "$lt_simple_compile_test_code" > conftest.$ac_ext
13545
13858
   lt_compiler_flag="$lt_prog_compiler_pic_CXX -DPIC"
13552
13865
   -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
13553
13866
   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
13554
13867
   -e 's:$: $lt_compiler_flag:'`
13555
 
   (eval echo "\"\$as_me:13555: $lt_compile\"" >&5)
 
13868
   (eval echo "\"\$as_me:13868: $lt_compile\"" >&5)
13556
13869
   (eval "$lt_compile" 2>conftest.err)
13557
13870
   ac_status=$?
13558
13871
   cat conftest.err >&5
13559
 
   echo "$as_me:13559: \$? = $ac_status" >&5
 
13872
   echo "$as_me:13872: \$? = $ac_status" >&5
13560
13873
   if (exit $ac_status) && test -s "$ac_outfile"; then
13561
13874
     # The compiler can only warn and ignore the option if not recognized
13562
13875
     # So say no if there are warnings other than the usual output.
13563
13876
     $echo "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' >conftest.exp
13564
13877
     $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
13565
13878
     if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
13566
 
       lt_prog_compiler_pic_works_CXX=yes
 
13879
       lt_cv_prog_compiler_pic_works_CXX=yes
13567
13880
     fi
13568
13881
   fi
13569
13882
   $rm conftest*
13570
13883
 
13571
13884
fi
13572
 
{ echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_works_CXX" >&5
13573
 
echo "${ECHO_T}$lt_prog_compiler_pic_works_CXX" >&6; }
 
13885
{ echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_pic_works_CXX" >&5
 
13886
echo "${ECHO_T}$lt_cv_prog_compiler_pic_works_CXX" >&6; }
13574
13887
 
13575
 
if test x"$lt_prog_compiler_pic_works_CXX" = xyes; then
 
13888
if test x"$lt_cv_prog_compiler_pic_works_CXX" = xyes; then
13576
13889
    case $lt_prog_compiler_pic_CXX in
13577
13890
     "" | " "*) ;;
13578
13891
     *) lt_prog_compiler_pic_CXX=" $lt_prog_compiler_pic_CXX" ;;
13599
13912
wl=$lt_prog_compiler_wl_CXX eval lt_tmp_static_flag=\"$lt_prog_compiler_static_CXX\"
13600
13913
{ echo "$as_me:$LINENO: checking if $compiler static flag $lt_tmp_static_flag works" >&5
13601
13914
echo $ECHO_N "checking if $compiler static flag $lt_tmp_static_flag works... $ECHO_C" >&6; }
13602
 
if test "${lt_prog_compiler_static_works_CXX+set}" = set; then
 
13915
if test "${lt_cv_prog_compiler_static_works_CXX+set}" = set; then
13603
13916
  echo $ECHO_N "(cached) $ECHO_C" >&6
13604
13917
else
13605
 
  lt_prog_compiler_static_works_CXX=no
 
13918
  lt_cv_prog_compiler_static_works_CXX=no
13606
13919
   save_LDFLAGS="$LDFLAGS"
13607
13920
   LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
13608
13921
   echo "$lt_simple_link_test_code" > conftest.$ac_ext
13615
13928
       $echo "X$_lt_linker_boilerplate" | $Xsed -e '/^$/d' > conftest.exp
13616
13929
       $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
13617
13930
       if diff conftest.exp conftest.er2 >/dev/null; then
13618
 
         lt_prog_compiler_static_works_CXX=yes
 
13931
         lt_cv_prog_compiler_static_works_CXX=yes
13619
13932
       fi
13620
13933
     else
13621
 
       lt_prog_compiler_static_works_CXX=yes
 
13934
       lt_cv_prog_compiler_static_works_CXX=yes
13622
13935
     fi
13623
13936
   fi
13624
 
   $rm conftest*
 
13937
   $rm -r conftest*
13625
13938
   LDFLAGS="$save_LDFLAGS"
13626
13939
 
13627
13940
fi
13628
 
{ echo "$as_me:$LINENO: result: $lt_prog_compiler_static_works_CXX" >&5
13629
 
echo "${ECHO_T}$lt_prog_compiler_static_works_CXX" >&6; }
 
13941
{ echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_static_works_CXX" >&5
 
13942
echo "${ECHO_T}$lt_cv_prog_compiler_static_works_CXX" >&6; }
13630
13943
 
13631
 
if test x"$lt_prog_compiler_static_works_CXX" = xyes; then
 
13944
if test x"$lt_cv_prog_compiler_static_works_CXX" = xyes; then
13632
13945
    :
13633
13946
else
13634
13947
    lt_prog_compiler_static_CXX=
13656
13969
   -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
13657
13970
   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
13658
13971
   -e 's:$: $lt_compiler_flag:'`
13659
 
   (eval echo "\"\$as_me:13659: $lt_compile\"" >&5)
 
13972
   (eval echo "\"\$as_me:13972: $lt_compile\"" >&5)
13660
13973
   (eval "$lt_compile" 2>out/conftest.err)
13661
13974
   ac_status=$?
13662
13975
   cat out/conftest.err >&5
13663
 
   echo "$as_me:13663: \$? = $ac_status" >&5
 
13976
   echo "$as_me:13976: \$? = $ac_status" >&5
13664
13977
   if (exit $ac_status) && test -s out/conftest2.$ac_objext
13665
13978
   then
13666
13979
     # The compiler can only warn and ignore the option if not recognized
13713
14026
 
13714
14027
  export_symbols_cmds_CXX='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
13715
14028
  case $host_os in
13716
 
  aix4* | aix5*)
 
14029
  aix[4-9]*)
13717
14030
    # If we're using GNU nm, then we don't want the "-C" option.
13718
14031
    # -C means demangle to AIX nm, but means don't demangle with GNU nm
13719
14032
    if $NM -V 2>&1 | grep 'GNU' > /dev/null; then
13735
14048
    export_symbols_cmds_CXX='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
13736
14049
  ;;
13737
14050
  esac
 
14051
  exclude_expsyms_CXX='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
13738
14052
 
13739
14053
{ echo "$as_me:$LINENO: result: $ld_shlibs_CXX" >&5
13740
14054
echo "${ECHO_T}$ld_shlibs_CXX" >&6; }
13836
14150
  soname_spec='${libname}${release}${shared_ext}$major'
13837
14151
  ;;
13838
14152
 
13839
 
aix4* | aix5*)
 
14153
aix[4-9]*)
13840
14154
  version_type=linux
13841
14155
  need_lib_prefix=no
13842
14156
  need_version=no
14369
14683
echo "${ECHO_T}$dynamic_linker" >&6; }
14370
14684
test "$dynamic_linker" = no && can_build_shared=no
14371
14685
 
 
14686
if test "${lt_cv_sys_lib_search_path_spec+set}" = set; then
 
14687
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
14688
else
 
14689
  lt_cv_sys_lib_search_path_spec="$sys_lib_search_path_spec"
 
14690
fi
 
14691
 
 
14692
sys_lib_search_path_spec="$lt_cv_sys_lib_search_path_spec"
 
14693
if test "${lt_cv_sys_lib_dlsearch_path_spec+set}" = set; then
 
14694
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
14695
else
 
14696
  lt_cv_sys_lib_dlsearch_path_spec="$sys_lib_dlsearch_path_spec"
 
14697
fi
 
14698
 
 
14699
sys_lib_dlsearch_path_spec="$lt_cv_sys_lib_dlsearch_path_spec"
 
14700
 
14372
14701
variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
14373
14702
if test "$GCC" = yes; then
14374
14703
  variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
14452
14781
    predeps_CXX \
14453
14782
    postdeps_CXX \
14454
14783
    compiler_lib_search_path_CXX \
 
14784
    compiler_lib_search_dirs_CXX \
14455
14785
    archive_cmds_CXX \
14456
14786
    archive_expsym_cmds_CXX \
14457
14787
    postinstall_cmds_CXX \
14700
15030
# shared library.
14701
15031
postdeps=$lt_postdeps_CXX
14702
15032
 
 
15033
# The directories searched by this compiler when creating a shared
 
15034
# library
 
15035
compiler_lib_search_dirs=$lt_compiler_lib_search_dirs_CXX
 
15036
 
14703
15037
# The library search path used internally by the compiler when linking
14704
15038
# a shared library.
14705
15039
compiler_lib_search_path=$lt_compiler_lib_search_path_CXX
14914
15248
echo "$lt_simple_link_test_code" >conftest.$ac_ext
14915
15249
eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
14916
15250
_lt_linker_boilerplate=`cat conftest.err`
14917
 
$rm conftest*
 
15251
$rm -r conftest*
14918
15252
 
14919
15253
 
14920
15254
# Allow CC to be a program name with arguments.
14952
15286
    postinstall_cmds='$RANLIB $lib'
14953
15287
  fi
14954
15288
  ;;
14955
 
aix4* | aix5*)
 
15289
aix[4-9]*)
14956
15290
  if test "$host_cpu" != ia64 && test "$aix_use_runtimelinking" = no ; then
14957
15291
    test "$enable_shared" = yes && enable_static=no
14958
15292
  fi
15217
15551
 
15218
15552
{ echo "$as_me:$LINENO: checking if $compiler PIC flag $lt_prog_compiler_pic_F77 works" >&5
15219
15553
echo $ECHO_N "checking if $compiler PIC flag $lt_prog_compiler_pic_F77 works... $ECHO_C" >&6; }
15220
 
if test "${lt_prog_compiler_pic_works_F77+set}" = set; then
 
15554
if test "${lt_cv_prog_compiler_pic_works_F77+set}" = set; then
15221
15555
  echo $ECHO_N "(cached) $ECHO_C" >&6
15222
15556
else
15223
 
  lt_prog_compiler_pic_works_F77=no
 
15557
  lt_cv_prog_compiler_pic_works_F77=no
15224
15558
  ac_outfile=conftest.$ac_objext
15225
15559
   echo "$lt_simple_compile_test_code" > conftest.$ac_ext
15226
15560
   lt_compiler_flag="$lt_prog_compiler_pic_F77"
15233
15567
   -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
15234
15568
   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
15235
15569
   -e 's:$: $lt_compiler_flag:'`
15236
 
   (eval echo "\"\$as_me:15236: $lt_compile\"" >&5)
 
15570
   (eval echo "\"\$as_me:15570: $lt_compile\"" >&5)
15237
15571
   (eval "$lt_compile" 2>conftest.err)
15238
15572
   ac_status=$?
15239
15573
   cat conftest.err >&5
15240
 
   echo "$as_me:15240: \$? = $ac_status" >&5
 
15574
   echo "$as_me:15574: \$? = $ac_status" >&5
15241
15575
   if (exit $ac_status) && test -s "$ac_outfile"; then
15242
15576
     # The compiler can only warn and ignore the option if not recognized
15243
15577
     # So say no if there are warnings other than the usual output.
15244
15578
     $echo "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' >conftest.exp
15245
15579
     $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
15246
15580
     if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
15247
 
       lt_prog_compiler_pic_works_F77=yes
 
15581
       lt_cv_prog_compiler_pic_works_F77=yes
15248
15582
     fi
15249
15583
   fi
15250
15584
   $rm conftest*
15251
15585
 
15252
15586
fi
15253
 
{ echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_works_F77" >&5
15254
 
echo "${ECHO_T}$lt_prog_compiler_pic_works_F77" >&6; }
 
15587
{ echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_pic_works_F77" >&5
 
15588
echo "${ECHO_T}$lt_cv_prog_compiler_pic_works_F77" >&6; }
15255
15589
 
15256
 
if test x"$lt_prog_compiler_pic_works_F77" = xyes; then
 
15590
if test x"$lt_cv_prog_compiler_pic_works_F77" = xyes; then
15257
15591
    case $lt_prog_compiler_pic_F77 in
15258
15592
     "" | " "*) ;;
15259
15593
     *) lt_prog_compiler_pic_F77=" $lt_prog_compiler_pic_F77" ;;
15280
15614
wl=$lt_prog_compiler_wl_F77 eval lt_tmp_static_flag=\"$lt_prog_compiler_static_F77\"
15281
15615
{ echo "$as_me:$LINENO: checking if $compiler static flag $lt_tmp_static_flag works" >&5
15282
15616
echo $ECHO_N "checking if $compiler static flag $lt_tmp_static_flag works... $ECHO_C" >&6; }
15283
 
if test "${lt_prog_compiler_static_works_F77+set}" = set; then
 
15617
if test "${lt_cv_prog_compiler_static_works_F77+set}" = set; then
15284
15618
  echo $ECHO_N "(cached) $ECHO_C" >&6
15285
15619
else
15286
 
  lt_prog_compiler_static_works_F77=no
 
15620
  lt_cv_prog_compiler_static_works_F77=no
15287
15621
   save_LDFLAGS="$LDFLAGS"
15288
15622
   LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
15289
15623
   echo "$lt_simple_link_test_code" > conftest.$ac_ext
15296
15630
       $echo "X$_lt_linker_boilerplate" | $Xsed -e '/^$/d' > conftest.exp
15297
15631
       $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
15298
15632
       if diff conftest.exp conftest.er2 >/dev/null; then
15299
 
         lt_prog_compiler_static_works_F77=yes
 
15633
         lt_cv_prog_compiler_static_works_F77=yes
15300
15634
       fi
15301
15635
     else
15302
 
       lt_prog_compiler_static_works_F77=yes
 
15636
       lt_cv_prog_compiler_static_works_F77=yes
15303
15637
     fi
15304
15638
   fi
15305
 
   $rm conftest*
 
15639
   $rm -r conftest*
15306
15640
   LDFLAGS="$save_LDFLAGS"
15307
15641
 
15308
15642
fi
15309
 
{ echo "$as_me:$LINENO: result: $lt_prog_compiler_static_works_F77" >&5
15310
 
echo "${ECHO_T}$lt_prog_compiler_static_works_F77" >&6; }
 
15643
{ echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_static_works_F77" >&5
 
15644
echo "${ECHO_T}$lt_cv_prog_compiler_static_works_F77" >&6; }
15311
15645
 
15312
 
if test x"$lt_prog_compiler_static_works_F77" = xyes; then
 
15646
if test x"$lt_cv_prog_compiler_static_works_F77" = xyes; then
15313
15647
    :
15314
15648
else
15315
15649
    lt_prog_compiler_static_F77=
15337
15671
   -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
15338
15672
   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
15339
15673
   -e 's:$: $lt_compiler_flag:'`
15340
 
   (eval echo "\"\$as_me:15340: $lt_compile\"" >&5)
 
15674
   (eval echo "\"\$as_me:15674: $lt_compile\"" >&5)
15341
15675
   (eval "$lt_compile" 2>out/conftest.err)
15342
15676
   ac_status=$?
15343
15677
   cat out/conftest.err >&5
15344
 
   echo "$as_me:15344: \$? = $ac_status" >&5
 
15678
   echo "$as_me:15678: \$? = $ac_status" >&5
15345
15679
   if (exit $ac_status) && test -s out/conftest2.$ac_objext
15346
15680
   then
15347
15681
     # The compiler can only warn and ignore the option if not recognized
15421
15755
  # it will be wrapped by ` (' and `)$', so one must not match beginning or
15422
15756
  # end of line.  Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
15423
15757
  # as well as any symbol that contains `d'.
15424
 
  exclude_expsyms_F77="_GLOBAL_OFFSET_TABLE_"
 
15758
  exclude_expsyms_F77='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
15425
15759
  # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
15426
15760
  # platforms (ab)use it in PIC code, but their linkers get confused if
15427
15761
  # the symbol is explicitly referenced.  Since portable code cannot
15428
15762
  # rely on this symbol name, it's probably fine to never include it in
15429
15763
  # preloaded symbol tables.
 
15764
  # Exclude shared library initialization/finalization symbols.
15430
15765
  extract_expsyms_cmds=
15431
15766
  # Just being paranoid about ensuring that cc_basename is set.
15432
15767
  for cc_temp in $compiler""; do
15485
15820
 
15486
15821
    # See if GNU ld supports shared libraries.
15487
15822
    case $host_os in
15488
 
    aix3* | aix4* | aix5*)
 
15823
    aix[3-9]*)
15489
15824
      # On AIX/PPC, the GNU linker is very broken
15490
15825
      if test "$host_cpu" != ia64; then
15491
15826
        ld_shlibs_F77=no
15705
16040
      fi
15706
16041
      ;;
15707
16042
 
15708
 
    aix4* | aix5*)
 
16043
    aix[4-9]*)
15709
16044
      if test "$host_cpu" = ia64; then
15710
16045
        # On IA64, the linker does run time linking by default, so we don't
15711
16046
        # have to do anything special.
15725
16060
        # Test if we are trying to use run time linking or normal
15726
16061
        # AIX style linking. If -brtl is somewhere in LDFLAGS, we
15727
16062
        # need to do runtime linking.
15728
 
        case $host_os in aix4.[23]|aix4.[23].*|aix5*)
 
16063
        case $host_os in aix4.[23]|aix4.[23].*|aix[5-9]*)
15729
16064
          for ld_flag in $LDFLAGS; do
15730
16065
          if (test $ld_flag = "-brtl" || test $ld_flag = "-Wl,-brtl"); then
15731
16066
            aix_use_runtimelinking=yes
15977
16312
      link_all_deplibs_F77=yes
15978
16313
    if test "$GCC" = yes ; then
15979
16314
        output_verbose_link_cmd='echo'
15980
 
        archive_cmds_F77='$CC -dynamiclib $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags -install_name $rpath/$soname $verstring'
15981
 
      module_cmds_F77='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
15982
 
      # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin lds
15983
 
      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}'
15984
 
      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}'
 
16315
        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}"
 
16316
        module_cmds_F77="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}"
 
16317
        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}"
 
16318
        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}"
15985
16319
    else
15986
16320
      case $cc_basename in
15987
16321
        xlc*)
16450
16784
  soname_spec='${libname}${release}${shared_ext}$major'
16451
16785
  ;;
16452
16786
 
16453
 
aix4* | aix5*)
 
16787
aix[4-9]*)
16454
16788
  version_type=linux
16455
16789
  need_lib_prefix=no
16456
16790
  need_version=no
16983
17317
echo "${ECHO_T}$dynamic_linker" >&6; }
16984
17318
test "$dynamic_linker" = no && can_build_shared=no
16985
17319
 
 
17320
if test "${lt_cv_sys_lib_search_path_spec+set}" = set; then
 
17321
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
17322
else
 
17323
  lt_cv_sys_lib_search_path_spec="$sys_lib_search_path_spec"
 
17324
fi
 
17325
 
 
17326
sys_lib_search_path_spec="$lt_cv_sys_lib_search_path_spec"
 
17327
if test "${lt_cv_sys_lib_dlsearch_path_spec+set}" = set; then
 
17328
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
17329
else
 
17330
  lt_cv_sys_lib_dlsearch_path_spec="$sys_lib_dlsearch_path_spec"
 
17331
fi
 
17332
 
 
17333
sys_lib_dlsearch_path_spec="$lt_cv_sys_lib_dlsearch_path_spec"
 
17334
 
16986
17335
variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
16987
17336
if test "$GCC" = yes; then
16988
17337
  variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
17066
17415
    predeps_F77 \
17067
17416
    postdeps_F77 \
17068
17417
    compiler_lib_search_path_F77 \
 
17418
    compiler_lib_search_dirs_F77 \
17069
17419
    archive_cmds_F77 \
17070
17420
    archive_expsym_cmds_F77 \
17071
17421
    postinstall_cmds_F77 \
17314
17664
# shared library.
17315
17665
postdeps=$lt_postdeps_F77
17316
17666
 
 
17667
# The directories searched by this compiler when creating a shared
 
17668
# library
 
17669
compiler_lib_search_dirs=$lt_compiler_lib_search_dirs_F77
 
17670
 
17317
17671
# The library search path used internally by the compiler when linking
17318
17672
# a shared library.
17319
17673
compiler_lib_search_path=$lt_compiler_lib_search_path_F77
17488
17842
echo "$lt_simple_link_test_code" >conftest.$ac_ext
17489
17843
eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
17490
17844
_lt_linker_boilerplate=`cat conftest.err`
17491
 
$rm conftest*
 
17845
$rm -r conftest*
17492
17846
 
17493
17847
 
17494
17848
# Allow CC to be a program name with arguments.
17537
17891
   -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
17538
17892
   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
17539
17893
   -e 's:$: $lt_compiler_flag:'`
17540
 
   (eval echo "\"\$as_me:17540: $lt_compile\"" >&5)
 
17894
   (eval echo "\"\$as_me:17894: $lt_compile\"" >&5)
17541
17895
   (eval "$lt_compile" 2>conftest.err)
17542
17896
   ac_status=$?
17543
17897
   cat conftest.err >&5
17544
 
   echo "$as_me:17544: \$? = $ac_status" >&5
 
17898
   echo "$as_me:17898: \$? = $ac_status" >&5
17545
17899
   if (exit $ac_status) && test -s "$ac_outfile"; then
17546
17900
     # The compiler can only warn and ignore the option if not recognized
17547
17901
     # So say no if there are warnings other than the usual output.
17601
17955
      # built for inclusion in a dll (and should export symbols for example).
17602
17956
      # Although the cygwin gcc ignores -fPIC, still need this for old-style
17603
17957
      # (--disable-auto-import) libraries
17604
 
      lt_prog_compiler_pic_GCJ='-DDLL_EXPORT'
 
17958
 
17605
17959
      ;;
17606
17960
 
17607
17961
    darwin* | rhapsody*)
17671
18025
    mingw* | cygwin* | pw32* | os2*)
17672
18026
      # This hack is so that the source file can tell whether it is being
17673
18027
      # built for inclusion in a dll (and should export symbols for example).
17674
 
      lt_prog_compiler_pic_GCJ='-DDLL_EXPORT'
 
18028
 
17675
18029
      ;;
17676
18030
 
17677
18031
    hpux9* | hpux10* | hpux11*)
17811
18165
 
17812
18166
{ echo "$as_me:$LINENO: checking if $compiler PIC flag $lt_prog_compiler_pic_GCJ works" >&5
17813
18167
echo $ECHO_N "checking if $compiler PIC flag $lt_prog_compiler_pic_GCJ works... $ECHO_C" >&6; }
17814
 
if test "${lt_prog_compiler_pic_works_GCJ+set}" = set; then
 
18168
if test "${lt_cv_prog_compiler_pic_works_GCJ+set}" = set; then
17815
18169
  echo $ECHO_N "(cached) $ECHO_C" >&6
17816
18170
else
17817
 
  lt_prog_compiler_pic_works_GCJ=no
 
18171
  lt_cv_prog_compiler_pic_works_GCJ=no
17818
18172
  ac_outfile=conftest.$ac_objext
17819
18173
   echo "$lt_simple_compile_test_code" > conftest.$ac_ext
17820
18174
   lt_compiler_flag="$lt_prog_compiler_pic_GCJ"
17827
18181
   -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
17828
18182
   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
17829
18183
   -e 's:$: $lt_compiler_flag:'`
17830
 
   (eval echo "\"\$as_me:17830: $lt_compile\"" >&5)
 
18184
   (eval echo "\"\$as_me:18184: $lt_compile\"" >&5)
17831
18185
   (eval "$lt_compile" 2>conftest.err)
17832
18186
   ac_status=$?
17833
18187
   cat conftest.err >&5
17834
 
   echo "$as_me:17834: \$? = $ac_status" >&5
 
18188
   echo "$as_me:18188: \$? = $ac_status" >&5
17835
18189
   if (exit $ac_status) && test -s "$ac_outfile"; then
17836
18190
     # The compiler can only warn and ignore the option if not recognized
17837
18191
     # So say no if there are warnings other than the usual output.
17838
18192
     $echo "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' >conftest.exp
17839
18193
     $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
17840
18194
     if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
17841
 
       lt_prog_compiler_pic_works_GCJ=yes
 
18195
       lt_cv_prog_compiler_pic_works_GCJ=yes
17842
18196
     fi
17843
18197
   fi
17844
18198
   $rm conftest*
17845
18199
 
17846
18200
fi
17847
 
{ echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_works_GCJ" >&5
17848
 
echo "${ECHO_T}$lt_prog_compiler_pic_works_GCJ" >&6; }
 
18201
{ echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_pic_works_GCJ" >&5
 
18202
echo "${ECHO_T}$lt_cv_prog_compiler_pic_works_GCJ" >&6; }
17849
18203
 
17850
 
if test x"$lt_prog_compiler_pic_works_GCJ" = xyes; then
 
18204
if test x"$lt_cv_prog_compiler_pic_works_GCJ" = xyes; then
17851
18205
    case $lt_prog_compiler_pic_GCJ in
17852
18206
     "" | " "*) ;;
17853
18207
     *) lt_prog_compiler_pic_GCJ=" $lt_prog_compiler_pic_GCJ" ;;
17874
18228
wl=$lt_prog_compiler_wl_GCJ eval lt_tmp_static_flag=\"$lt_prog_compiler_static_GCJ\"
17875
18229
{ echo "$as_me:$LINENO: checking if $compiler static flag $lt_tmp_static_flag works" >&5
17876
18230
echo $ECHO_N "checking if $compiler static flag $lt_tmp_static_flag works... $ECHO_C" >&6; }
17877
 
if test "${lt_prog_compiler_static_works_GCJ+set}" = set; then
 
18231
if test "${lt_cv_prog_compiler_static_works_GCJ+set}" = set; then
17878
18232
  echo $ECHO_N "(cached) $ECHO_C" >&6
17879
18233
else
17880
 
  lt_prog_compiler_static_works_GCJ=no
 
18234
  lt_cv_prog_compiler_static_works_GCJ=no
17881
18235
   save_LDFLAGS="$LDFLAGS"
17882
18236
   LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
17883
18237
   echo "$lt_simple_link_test_code" > conftest.$ac_ext
17890
18244
       $echo "X$_lt_linker_boilerplate" | $Xsed -e '/^$/d' > conftest.exp
17891
18245
       $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
17892
18246
       if diff conftest.exp conftest.er2 >/dev/null; then
17893
 
         lt_prog_compiler_static_works_GCJ=yes
 
18247
         lt_cv_prog_compiler_static_works_GCJ=yes
17894
18248
       fi
17895
18249
     else
17896
 
       lt_prog_compiler_static_works_GCJ=yes
 
18250
       lt_cv_prog_compiler_static_works_GCJ=yes
17897
18251
     fi
17898
18252
   fi
17899
 
   $rm conftest*
 
18253
   $rm -r conftest*
17900
18254
   LDFLAGS="$save_LDFLAGS"
17901
18255
 
17902
18256
fi
17903
 
{ echo "$as_me:$LINENO: result: $lt_prog_compiler_static_works_GCJ" >&5
17904
 
echo "${ECHO_T}$lt_prog_compiler_static_works_GCJ" >&6; }
 
18257
{ echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_static_works_GCJ" >&5
 
18258
echo "${ECHO_T}$lt_cv_prog_compiler_static_works_GCJ" >&6; }
17905
18259
 
17906
 
if test x"$lt_prog_compiler_static_works_GCJ" = xyes; then
 
18260
if test x"$lt_cv_prog_compiler_static_works_GCJ" = xyes; then
17907
18261
    :
17908
18262
else
17909
18263
    lt_prog_compiler_static_GCJ=
17931
18285
   -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
17932
18286
   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
17933
18287
   -e 's:$: $lt_compiler_flag:'`
17934
 
   (eval echo "\"\$as_me:17934: $lt_compile\"" >&5)
 
18288
   (eval echo "\"\$as_me:18288: $lt_compile\"" >&5)
17935
18289
   (eval "$lt_compile" 2>out/conftest.err)
17936
18290
   ac_status=$?
17937
18291
   cat out/conftest.err >&5
17938
 
   echo "$as_me:17938: \$? = $ac_status" >&5
 
18292
   echo "$as_me:18292: \$? = $ac_status" >&5
17939
18293
   if (exit $ac_status) && test -s out/conftest2.$ac_objext
17940
18294
   then
17941
18295
     # The compiler can only warn and ignore the option if not recognized
18015
18369
  # it will be wrapped by ` (' and `)$', so one must not match beginning or
18016
18370
  # end of line.  Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
18017
18371
  # as well as any symbol that contains `d'.
18018
 
  exclude_expsyms_GCJ="_GLOBAL_OFFSET_TABLE_"
 
18372
  exclude_expsyms_GCJ='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
18019
18373
  # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
18020
18374
  # platforms (ab)use it in PIC code, but their linkers get confused if
18021
18375
  # the symbol is explicitly referenced.  Since portable code cannot
18022
18376
  # rely on this symbol name, it's probably fine to never include it in
18023
18377
  # preloaded symbol tables.
 
18378
  # Exclude shared library initialization/finalization symbols.
18024
18379
  extract_expsyms_cmds=
18025
18380
  # Just being paranoid about ensuring that cc_basename is set.
18026
18381
  for cc_temp in $compiler""; do
18079
18434
 
18080
18435
    # See if GNU ld supports shared libraries.
18081
18436
    case $host_os in
18082
 
    aix3* | aix4* | aix5*)
 
18437
    aix[3-9]*)
18083
18438
      # On AIX/PPC, the GNU linker is very broken
18084
18439
      if test "$host_cpu" != ia64; then
18085
18440
        ld_shlibs_GCJ=no
18299
18654
      fi
18300
18655
      ;;
18301
18656
 
18302
 
    aix4* | aix5*)
 
18657
    aix[4-9]*)
18303
18658
      if test "$host_cpu" = ia64; then
18304
18659
        # On IA64, the linker does run time linking by default, so we don't
18305
18660
        # have to do anything special.
18319
18674
        # Test if we are trying to use run time linking or normal
18320
18675
        # AIX style linking. If -brtl is somewhere in LDFLAGS, we
18321
18676
        # need to do runtime linking.
18322
 
        case $host_os in aix4.[23]|aix4.[23].*|aix5*)
 
18677
        case $host_os in aix4.[23]|aix4.[23].*|aix[5-9]*)
18323
18678
          for ld_flag in $LDFLAGS; do
18324
18679
          if (test $ld_flag = "-brtl" || test $ld_flag = "-Wl,-brtl"); then
18325
18680
            aix_use_runtimelinking=yes
18591
18946
      link_all_deplibs_GCJ=yes
18592
18947
    if test "$GCC" = yes ; then
18593
18948
        output_verbose_link_cmd='echo'
18594
 
        archive_cmds_GCJ='$CC -dynamiclib $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags -install_name $rpath/$soname $verstring'
18595
 
      module_cmds_GCJ='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
18596
 
      # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin lds
18597
 
      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}'
18598
 
      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}'
 
18949
        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}"
 
18950
        module_cmds_GCJ="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}"
 
18951
        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}"
 
18952
        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}"
18599
18953
    else
18600
18954
      case $cc_basename in
18601
18955
        xlc*)
19064
19418
  soname_spec='${libname}${release}${shared_ext}$major'
19065
19419
  ;;
19066
19420
 
19067
 
aix4* | aix5*)
 
19421
aix[4-9]*)
19068
19422
  version_type=linux
19069
19423
  need_lib_prefix=no
19070
19424
  need_version=no
19597
19951
echo "${ECHO_T}$dynamic_linker" >&6; }
19598
19952
test "$dynamic_linker" = no && can_build_shared=no
19599
19953
 
 
19954
if test "${lt_cv_sys_lib_search_path_spec+set}" = set; then
 
19955
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
19956
else
 
19957
  lt_cv_sys_lib_search_path_spec="$sys_lib_search_path_spec"
 
19958
fi
 
19959
 
 
19960
sys_lib_search_path_spec="$lt_cv_sys_lib_search_path_spec"
 
19961
if test "${lt_cv_sys_lib_dlsearch_path_spec+set}" = set; then
 
19962
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
19963
else
 
19964
  lt_cv_sys_lib_dlsearch_path_spec="$sys_lib_dlsearch_path_spec"
 
19965
fi
 
19966
 
 
19967
sys_lib_dlsearch_path_spec="$lt_cv_sys_lib_dlsearch_path_spec"
 
19968
 
19600
19969
variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
19601
19970
if test "$GCC" = yes; then
19602
19971
  variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
19680
20049
    predeps_GCJ \
19681
20050
    postdeps_GCJ \
19682
20051
    compiler_lib_search_path_GCJ \
 
20052
    compiler_lib_search_dirs_GCJ \
19683
20053
    archive_cmds_GCJ \
19684
20054
    archive_expsym_cmds_GCJ \
19685
20055
    postinstall_cmds_GCJ \
19928
20298
# shared library.
19929
20299
postdeps=$lt_postdeps_GCJ
19930
20300
 
 
20301
# The directories searched by this compiler when creating a shared
 
20302
# library
 
20303
compiler_lib_search_dirs=$lt_compiler_lib_search_dirs_GCJ
 
20304
 
19931
20305
# The library search path used internally by the compiler when linking
19932
20306
# a shared library.
19933
20307
compiler_lib_search_path=$lt_compiler_lib_search_path_GCJ
20101
20475
echo "$lt_simple_link_test_code" >conftest.$ac_ext
20102
20476
eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
20103
20477
_lt_linker_boilerplate=`cat conftest.err`
20104
 
$rm conftest*
 
20478
$rm -r conftest*
20105
20479
 
20106
20480
 
20107
20481
# Allow CC to be a program name with arguments.
20161
20535
    predeps_RC \
20162
20536
    postdeps_RC \
20163
20537
    compiler_lib_search_path_RC \
 
20538
    compiler_lib_search_dirs_RC \
20164
20539
    archive_cmds_RC \
20165
20540
    archive_expsym_cmds_RC \
20166
20541
    postinstall_cmds_RC \
20409
20784
# shared library.
20410
20785
postdeps=$lt_postdeps_RC
20411
20786
 
 
20787
# The directories searched by this compiler when creating a shared
 
20788
# library
 
20789
compiler_lib_search_dirs=$lt_compiler_lib_search_dirs_RC
 
20790
 
20412
20791
# The library search path used internally by the compiler when linking
20413
20792
# a shared library.
20414
20793
compiler_lib_search_path=$lt_compiler_lib_search_path_RC
22456
22835
      then
22457
22836
        LIBGCRYPT_CFLAGS=""
22458
22837
        LIBGCRYPT_LIBS=""
22459
 
        echo gcrypt library version < 1.1.42 - Crypto extensions will not be available.
 
22838
        echo 'gcrypt library version < 1.1.42 - Crypto extensions will not be available.'
22460
22839
      else
22461
22840
        LIBGCRYPT_CFLAGS=`$LIBGCRYPT_CONFIG $libgcrypt_config_args --cflags`
22462
22841
        LIBGCRYPT_LIBS=`$LIBGCRYPT_CONFIG $libgcrypt_config_args --libs`
22465
22844
#define HAVE_GCRYPT 1
22466
22845
_ACEOF
22467
22846
 
22468
 
        echo Crypto extensions will be available.
 
22847
        echo 'Crypto extensions will be available.'
22469
22848
                WITH_CRYPTO=1
22470
22849
      fi
22471
22850
    else
22472
22851
      LIBGCRYPT_CFLAGS=""
22473
22852
      LIBGCRYPT_LIBS=""
22474
 
      echo Crypto extensions will not be available. Install libgcrypt and reconfigure to make available.
 
22853
      echo 'Crypto extensions will not be available. Install libgcrypt and reconfigure to make available.'
22475
22854
    fi
22476
22855
fi
22477
22856
 
23689
24068
ECHO!$ECHO$ac_delim
23690
24069
AR!$AR$ac_delim
23691
24070
RANLIB!$RANLIB$ac_delim
 
24071
DSYMUTIL!$DSYMUTIL$ac_delim
 
24072
NMEDIT!$NMEDIT$ac_delim
23692
24073
CXX!$CXX$ac_delim
23693
24074
CXXFLAGS!$CXXFLAGS$ac_delim
23694
24075
ac_ct_CXX!$ac_ct_CXX$ac_delim
23748
24129
LTLIBOBJS!$LTLIBOBJS$ac_delim
23749
24130
_ACEOF
23750
24131
 
23751
 
  if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 72; then
 
24132
  if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 74; then
23752
24133
    break
23753
24134
  elif $ac_last_try; then
23754
24135
    { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5