~ubuntu-branches/ubuntu/precise/libxfont/precise-security

« back to all changes in this revision

Viewing changes to configure

  • Committer: Bazaar Package Importer
  • Author(s): Julien Cristau
  • Date: 2008-03-07 13:32:43 UTC
  • mfrom: (1.1.8 upstream)
  • Revision ID: james.westby@ubuntu.com-20080307133243-oe2mgbme0mqtwihp
Tags: 1:1.3.2-1
* New upstream release
* Drop CVE-2008-0006.diff, included upstream.

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
1
#! /bin/sh
2
2
# Guess values for system-dependent variables and create Makefiles.
3
 
# Generated by GNU Autoconf 2.61 for libXfont 1.3.1.
 
3
# Generated by GNU Autoconf 2.61 for libXfont 1.3.2.
4
4
#
5
5
# Report bugs to <https://bugs.freedesktop.org/enter_bug.cgi?product=xorg>.
6
6
#
728
728
# Identity of this package.
729
729
PACKAGE_NAME='libXfont'
730
730
PACKAGE_TARNAME='libXfont'
731
 
PACKAGE_VERSION='1.3.1'
732
 
PACKAGE_STRING='libXfont 1.3.1'
 
731
PACKAGE_VERSION='1.3.2'
 
732
PACKAGE_STRING='libXfont 1.3.2'
733
733
PACKAGE_BUGREPORT='https://bugs.freedesktop.org/enter_bug.cgi?product=xorg'
734
734
 
735
735
# Factoring default headers for most tests.
858
858
ECHO
859
859
AR
860
860
RANLIB
 
861
DSYMUTIL
 
862
NMEDIT
861
863
CPP
862
864
CXX
863
865
CXXFLAGS
1432
1434
  # Omit some internal or obsolete options to make the list less imposing.
1433
1435
  # This message is too long to be a string in the A/UX 3.1 sh.
1434
1436
  cat <<_ACEOF
1435
 
\`configure' configures libXfont 1.3.1 to adapt to many kinds of systems.
 
1437
\`configure' configures libXfont 1.3.2 to adapt to many kinds of systems.
1436
1438
 
1437
1439
Usage: $0 [OPTION]... [VAR=VALUE]...
1438
1440
 
1502
1504
 
1503
1505
if test -n "$ac_init_help"; then
1504
1506
  case $ac_init_help in
1505
 
     short | recursive ) echo "Configuration of libXfont 1.3.1:";;
 
1507
     short | recursive ) echo "Configuration of libXfont 1.3.2:";;
1506
1508
   esac
1507
1509
  cat <<\_ACEOF
1508
1510
 
1638
1640
test -n "$ac_init_help" && exit $ac_status
1639
1641
if $ac_init_version; then
1640
1642
  cat <<\_ACEOF
1641
 
libXfont configure 1.3.1
 
1643
libXfont configure 1.3.2
1642
1644
generated by GNU Autoconf 2.61
1643
1645
 
1644
1646
Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
1652
1654
This file contains any messages produced by compilers while
1653
1655
running configure, to aid debugging if configure makes a mistake.
1654
1656
 
1655
 
It was created by libXfont $as_me 1.3.1, which was
 
1657
It was created by libXfont $as_me 1.3.2, which was
1656
1658
generated by GNU Autoconf 2.61.  Invocation command line was
1657
1659
 
1658
1660
  $ $0 $@
2342
2344
 
2343
2345
# Define the identity of the package.
2344
2346
 PACKAGE='libXfont'
2345
 
 VERSION='1.3.1'
 
2347
 VERSION='1.3.2'
2346
2348
 
2347
2349
 
2348
2350
cat >>confdefs.h <<_ACEOF
4175
4177
# whether `pass_all' will *always* work, you probably want this one.
4176
4178
 
4177
4179
case $host_os in
4178
 
aix4* | aix5*)
 
4180
aix[4-9]*)
4179
4181
  lt_cv_deplibs_check_method=pass_all
4180
4182
  ;;
4181
4183
 
4391
4393
  ;;
4392
4394
*-*-irix6*)
4393
4395
  # Find out which ABI we are using.
4394
 
  echo '#line 4394 "configure"' > conftest.$ac_ext
 
4396
  echo '#line 4396 "configure"' > conftest.$ac_ext
4395
4397
  if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4396
4398
  (eval $ac_compile) 2>&5
4397
4399
  ac_status=$?
4563
4565
    *64-bit*)
4564
4566
      case $lt_cv_prog_gnu_ld in
4565
4567
      yes*) LD="${LD-ld} -m elf64_sparc" ;;
4566
 
      *)    LD="${LD-ld} -64" ;;
 
4568
      *)
 
4569
        if ${LD-ld} -64 -r -o conftest2.o conftest.o >/dev/null 2>&1; then
 
4570
          LD="${LD-ld} -64"
 
4571
        fi
 
4572
        ;;
4567
4573
      esac
4568
4574
      ;;
4569
4575
    esac
6165
6171
 
6166
6172
 
6167
6173
# Autoconf 2.13's AC_OBJEXT and AC_EXEEXT macros only works for C compilers!
6168
 
 
6169
6174
# find the maximum length of command line arguments
6170
6175
{ echo "$as_me:$LINENO: checking the maximum length of command line arguments" >&5
6171
6176
echo $ECHO_N "checking the maximum length of command line arguments... $ECHO_C" >&6; }
6480
6485
    echo "$progname: failed program was:" >&5
6481
6486
    cat conftest.$ac_ext >&5
6482
6487
  fi
6483
 
  rm -f conftest* conftst*
 
6488
  rm -rf conftest* conftst*
6484
6489
 
6485
6490
  # Do not use the global_symbol_pipe unless it works.
6486
6491
  if test "$pipe_works" = yes; then
7040
7045
  ;;
7041
7046
esac
7042
7047
 
 
7048
 
 
7049
  case $host_os in
 
7050
    rhapsody* | darwin*)
 
7051
    if test -n "$ac_tool_prefix"; then
 
7052
  # Extract the first word of "${ac_tool_prefix}dsymutil", so it can be a program name with args.
 
7053
set dummy ${ac_tool_prefix}dsymutil; ac_word=$2
 
7054
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
 
7055
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
 
7056
if test "${ac_cv_prog_DSYMUTIL+set}" = set; then
 
7057
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
7058
else
 
7059
  if test -n "$DSYMUTIL"; then
 
7060
  ac_cv_prog_DSYMUTIL="$DSYMUTIL" # Let the user override the test.
 
7061
else
 
7062
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
7063
for as_dir in $PATH
 
7064
do
 
7065
  IFS=$as_save_IFS
 
7066
  test -z "$as_dir" && as_dir=.
 
7067
  for ac_exec_ext in '' $ac_executable_extensions; do
 
7068
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 
7069
    ac_cv_prog_DSYMUTIL="${ac_tool_prefix}dsymutil"
 
7070
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
7071
    break 2
 
7072
  fi
 
7073
done
 
7074
done
 
7075
IFS=$as_save_IFS
 
7076
 
 
7077
fi
 
7078
fi
 
7079
DSYMUTIL=$ac_cv_prog_DSYMUTIL
 
7080
if test -n "$DSYMUTIL"; then
 
7081
  { echo "$as_me:$LINENO: result: $DSYMUTIL" >&5
 
7082
echo "${ECHO_T}$DSYMUTIL" >&6; }
 
7083
else
 
7084
  { echo "$as_me:$LINENO: result: no" >&5
 
7085
echo "${ECHO_T}no" >&6; }
 
7086
fi
 
7087
 
 
7088
 
 
7089
fi
 
7090
if test -z "$ac_cv_prog_DSYMUTIL"; then
 
7091
  ac_ct_DSYMUTIL=$DSYMUTIL
 
7092
  # Extract the first word of "dsymutil", so it can be a program name with args.
 
7093
set dummy dsymutil; ac_word=$2
 
7094
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
 
7095
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
 
7096
if test "${ac_cv_prog_ac_ct_DSYMUTIL+set}" = set; then
 
7097
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
7098
else
 
7099
  if test -n "$ac_ct_DSYMUTIL"; then
 
7100
  ac_cv_prog_ac_ct_DSYMUTIL="$ac_ct_DSYMUTIL" # Let the user override the test.
 
7101
else
 
7102
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
7103
for as_dir in $PATH
 
7104
do
 
7105
  IFS=$as_save_IFS
 
7106
  test -z "$as_dir" && as_dir=.
 
7107
  for ac_exec_ext in '' $ac_executable_extensions; do
 
7108
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 
7109
    ac_cv_prog_ac_ct_DSYMUTIL="dsymutil"
 
7110
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
7111
    break 2
 
7112
  fi
 
7113
done
 
7114
done
 
7115
IFS=$as_save_IFS
 
7116
 
 
7117
fi
 
7118
fi
 
7119
ac_ct_DSYMUTIL=$ac_cv_prog_ac_ct_DSYMUTIL
 
7120
if test -n "$ac_ct_DSYMUTIL"; then
 
7121
  { echo "$as_me:$LINENO: result: $ac_ct_DSYMUTIL" >&5
 
7122
echo "${ECHO_T}$ac_ct_DSYMUTIL" >&6; }
 
7123
else
 
7124
  { echo "$as_me:$LINENO: result: no" >&5
 
7125
echo "${ECHO_T}no" >&6; }
 
7126
fi
 
7127
 
 
7128
  if test "x$ac_ct_DSYMUTIL" = x; then
 
7129
    DSYMUTIL=":"
 
7130
  else
 
7131
    case $cross_compiling:$ac_tool_warned in
 
7132
yes:)
 
7133
{ echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
 
7134
whose name does not start with the host triplet.  If you think this
 
7135
configuration is useful to you, please write to autoconf@gnu.org." >&5
 
7136
echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
 
7137
whose name does not start with the host triplet.  If you think this
 
7138
configuration is useful to you, please write to autoconf@gnu.org." >&2;}
 
7139
ac_tool_warned=yes ;;
 
7140
esac
 
7141
    DSYMUTIL=$ac_ct_DSYMUTIL
 
7142
  fi
 
7143
else
 
7144
  DSYMUTIL="$ac_cv_prog_DSYMUTIL"
 
7145
fi
 
7146
 
 
7147
    if test -n "$ac_tool_prefix"; then
 
7148
  # Extract the first word of "${ac_tool_prefix}nmedit", so it can be a program name with args.
 
7149
set dummy ${ac_tool_prefix}nmedit; ac_word=$2
 
7150
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
 
7151
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
 
7152
if test "${ac_cv_prog_NMEDIT+set}" = set; then
 
7153
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
7154
else
 
7155
  if test -n "$NMEDIT"; then
 
7156
  ac_cv_prog_NMEDIT="$NMEDIT" # Let the user override the test.
 
7157
else
 
7158
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
7159
for as_dir in $PATH
 
7160
do
 
7161
  IFS=$as_save_IFS
 
7162
  test -z "$as_dir" && as_dir=.
 
7163
  for ac_exec_ext in '' $ac_executable_extensions; do
 
7164
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 
7165
    ac_cv_prog_NMEDIT="${ac_tool_prefix}nmedit"
 
7166
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
7167
    break 2
 
7168
  fi
 
7169
done
 
7170
done
 
7171
IFS=$as_save_IFS
 
7172
 
 
7173
fi
 
7174
fi
 
7175
NMEDIT=$ac_cv_prog_NMEDIT
 
7176
if test -n "$NMEDIT"; then
 
7177
  { echo "$as_me:$LINENO: result: $NMEDIT" >&5
 
7178
echo "${ECHO_T}$NMEDIT" >&6; }
 
7179
else
 
7180
  { echo "$as_me:$LINENO: result: no" >&5
 
7181
echo "${ECHO_T}no" >&6; }
 
7182
fi
 
7183
 
 
7184
 
 
7185
fi
 
7186
if test -z "$ac_cv_prog_NMEDIT"; then
 
7187
  ac_ct_NMEDIT=$NMEDIT
 
7188
  # Extract the first word of "nmedit", so it can be a program name with args.
 
7189
set dummy nmedit; ac_word=$2
 
7190
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
 
7191
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
 
7192
if test "${ac_cv_prog_ac_ct_NMEDIT+set}" = set; then
 
7193
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
7194
else
 
7195
  if test -n "$ac_ct_NMEDIT"; then
 
7196
  ac_cv_prog_ac_ct_NMEDIT="$ac_ct_NMEDIT" # Let the user override the test.
 
7197
else
 
7198
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
7199
for as_dir in $PATH
 
7200
do
 
7201
  IFS=$as_save_IFS
 
7202
  test -z "$as_dir" && as_dir=.
 
7203
  for ac_exec_ext in '' $ac_executable_extensions; do
 
7204
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 
7205
    ac_cv_prog_ac_ct_NMEDIT="nmedit"
 
7206
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
7207
    break 2
 
7208
  fi
 
7209
done
 
7210
done
 
7211
IFS=$as_save_IFS
 
7212
 
 
7213
fi
 
7214
fi
 
7215
ac_ct_NMEDIT=$ac_cv_prog_ac_ct_NMEDIT
 
7216
if test -n "$ac_ct_NMEDIT"; then
 
7217
  { echo "$as_me:$LINENO: result: $ac_ct_NMEDIT" >&5
 
7218
echo "${ECHO_T}$ac_ct_NMEDIT" >&6; }
 
7219
else
 
7220
  { echo "$as_me:$LINENO: result: no" >&5
 
7221
echo "${ECHO_T}no" >&6; }
 
7222
fi
 
7223
 
 
7224
  if test "x$ac_ct_NMEDIT" = x; then
 
7225
    NMEDIT=":"
 
7226
  else
 
7227
    case $cross_compiling:$ac_tool_warned in
 
7228
yes:)
 
7229
{ echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
 
7230
whose name does not start with the host triplet.  If you think this
 
7231
configuration is useful to you, please write to autoconf@gnu.org." >&5
 
7232
echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
 
7233
whose name does not start with the host triplet.  If you think this
 
7234
configuration is useful to you, please write to autoconf@gnu.org." >&2;}
 
7235
ac_tool_warned=yes ;;
 
7236
esac
 
7237
    NMEDIT=$ac_ct_NMEDIT
 
7238
  fi
 
7239
else
 
7240
  NMEDIT="$ac_cv_prog_NMEDIT"
 
7241
fi
 
7242
 
 
7243
 
 
7244
    { echo "$as_me:$LINENO: checking for -single_module linker flag" >&5
 
7245
echo $ECHO_N "checking for -single_module linker flag... $ECHO_C" >&6; }
 
7246
if test "${lt_cv_apple_cc_single_mod+set}" = set; then
 
7247
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
7248
else
 
7249
  lt_cv_apple_cc_single_mod=no
 
7250
      if test -z "${LT_MULTI_MODULE}"; then
 
7251
   # By default we will add the -single_module flag. You can override
 
7252
   # by either setting the environment variable LT_MULTI_MODULE
 
7253
   # non-empty at configure time, or by adding -multi_module to the
 
7254
   # link flags.
 
7255
   echo "int foo(void){return 1;}" > conftest.c
 
7256
   $LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
 
7257
     -dynamiclib ${wl}-single_module conftest.c
 
7258
   if test -f libconftest.dylib; then
 
7259
     lt_cv_apple_cc_single_mod=yes
 
7260
     rm -rf libconftest.dylib*
 
7261
   fi
 
7262
   rm conftest.c
 
7263
      fi
 
7264
fi
 
7265
{ echo "$as_me:$LINENO: result: $lt_cv_apple_cc_single_mod" >&5
 
7266
echo "${ECHO_T}$lt_cv_apple_cc_single_mod" >&6; }
 
7267
    { echo "$as_me:$LINENO: checking for -exported_symbols_list linker flag" >&5
 
7268
echo $ECHO_N "checking for -exported_symbols_list linker flag... $ECHO_C" >&6; }
 
7269
if test "${lt_cv_ld_exported_symbols_list+set}" = set; then
 
7270
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
7271
else
 
7272
  lt_cv_ld_exported_symbols_list=no
 
7273
      save_LDFLAGS=$LDFLAGS
 
7274
      echo "_main" > conftest.sym
 
7275
      LDFLAGS="$LDFLAGS -Wl,-exported_symbols_list,conftest.sym"
 
7276
      cat >conftest.$ac_ext <<_ACEOF
 
7277
/* confdefs.h.  */
 
7278
_ACEOF
 
7279
cat confdefs.h >>conftest.$ac_ext
 
7280
cat >>conftest.$ac_ext <<_ACEOF
 
7281
/* end confdefs.h.  */
 
7282
 
 
7283
int
 
7284
main ()
 
7285
{
 
7286
 
 
7287
  ;
 
7288
  return 0;
 
7289
}
 
7290
_ACEOF
 
7291
rm -f conftest.$ac_objext conftest$ac_exeext
 
7292
if { (ac_try="$ac_link"
 
7293
case "(($ac_try" in
 
7294
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
7295
  *) ac_try_echo=$ac_try;;
 
7296
esac
 
7297
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
7298
  (eval "$ac_link") 2>conftest.er1
 
7299
  ac_status=$?
 
7300
  grep -v '^ *+' conftest.er1 >conftest.err
 
7301
  rm -f conftest.er1
 
7302
  cat conftest.err >&5
 
7303
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
7304
  (exit $ac_status); } && {
 
7305
         test -z "$ac_c_werror_flag" ||
 
7306
         test ! -s conftest.err
 
7307
       } && test -s conftest$ac_exeext &&
 
7308
       $as_test_x conftest$ac_exeext; then
 
7309
  lt_cv_ld_exported_symbols_list=yes
 
7310
else
 
7311
  echo "$as_me: failed program was:" >&5
 
7312
sed 's/^/| /' conftest.$ac_ext >&5
 
7313
 
 
7314
        lt_cv_ld_exported_symbols_list=no
 
7315
fi
 
7316
 
 
7317
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
 
7318
      conftest$ac_exeext conftest.$ac_ext
 
7319
   LDFLAGS="$save_LDFLAGS"
 
7320
 
 
7321
fi
 
7322
{ echo "$as_me:$LINENO: result: $lt_cv_ld_exported_symbols_list" >&5
 
7323
echo "${ECHO_T}$lt_cv_ld_exported_symbols_list" >&6; }
 
7324
    case $host_os in
 
7325
    rhapsody* | darwin1.[0123])
 
7326
      _lt_dar_allow_undefined='${wl}-undefined ${wl}suppress' ;;
 
7327
    darwin1.*)
 
7328
     _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
 
7329
    darwin*)
 
7330
      # if running on 10.5 or later, the deployment target defaults
 
7331
      # to the OS version, if on x86, and 10.4, the deployment
 
7332
      # target defaults to 10.4. Don't you love it?
 
7333
      case ${MACOSX_DEPLOYMENT_TARGET-10.0},$host in
 
7334
   10.0,*86*-darwin8*|10.0,*-darwin[91]*)
 
7335
     _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
 
7336
   10.[012]*)
 
7337
     _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
 
7338
   10.*)
 
7339
     _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
 
7340
      esac
 
7341
    ;;
 
7342
  esac
 
7343
    if test "$lt_cv_apple_cc_single_mod" = "yes"; then
 
7344
      _lt_dar_single_mod='$single_module'
 
7345
    fi
 
7346
    if test "$lt_cv_ld_exported_symbols_list" = "yes"; then
 
7347
      _lt_dar_export_syms=' ${wl}-exported_symbols_list,$output_objdir/${libname}-symbols.expsym'
 
7348
    else
 
7349
      _lt_dar_export_syms="~$NMEDIT -s \$output_objdir/\${libname}-symbols.expsym \${lib}"
 
7350
    fi
 
7351
    if test "$DSYMUTIL" != ":"; then
 
7352
      _lt_dsymutil="~$DSYMUTIL \$lib || :"
 
7353
    else
 
7354
      _lt_dsymutil=
 
7355
    fi
 
7356
    ;;
 
7357
  esac
 
7358
 
 
7359
 
7043
7360
enable_dlopen=no
7044
7361
enable_win32_dll=no
7045
7362
 
7105
7422
echo "$lt_simple_link_test_code" >conftest.$ac_ext
7106
7423
eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
7107
7424
_lt_linker_boilerplate=`cat conftest.err`
7108
 
$rm conftest*
 
7425
$rm -r conftest*
7109
7426
 
7110
7427
 
7111
7428
 
7133
7450
   -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
7134
7451
   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
7135
7452
   -e 's:$: $lt_compiler_flag:'`
7136
 
   (eval echo "\"\$as_me:7136: $lt_compile\"" >&5)
 
7453
   (eval echo "\"\$as_me:7453: $lt_compile\"" >&5)
7137
7454
   (eval "$lt_compile" 2>conftest.err)
7138
7455
   ac_status=$?
7139
7456
   cat conftest.err >&5
7140
 
   echo "$as_me:7140: \$? = $ac_status" >&5
 
7457
   echo "$as_me:7457: \$? = $ac_status" >&5
7141
7458
   if (exit $ac_status) && test -s "$ac_outfile"; then
7142
7459
     # The compiler can only warn and ignore the option if not recognized
7143
7460
     # So say no if there are warnings other than the usual output.
7407
7724
 
7408
7725
{ echo "$as_me:$LINENO: checking if $compiler PIC flag $lt_prog_compiler_pic works" >&5
7409
7726
echo $ECHO_N "checking if $compiler PIC flag $lt_prog_compiler_pic works... $ECHO_C" >&6; }
7410
 
if test "${lt_prog_compiler_pic_works+set}" = set; then
 
7727
if test "${lt_cv_prog_compiler_pic_works+set}" = set; then
7411
7728
  echo $ECHO_N "(cached) $ECHO_C" >&6
7412
7729
else
7413
 
  lt_prog_compiler_pic_works=no
 
7730
  lt_cv_prog_compiler_pic_works=no
7414
7731
  ac_outfile=conftest.$ac_objext
7415
7732
   echo "$lt_simple_compile_test_code" > conftest.$ac_ext
7416
7733
   lt_compiler_flag="$lt_prog_compiler_pic -DPIC"
7423
7740
   -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
7424
7741
   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
7425
7742
   -e 's:$: $lt_compiler_flag:'`
7426
 
   (eval echo "\"\$as_me:7426: $lt_compile\"" >&5)
 
7743
   (eval echo "\"\$as_me:7743: $lt_compile\"" >&5)
7427
7744
   (eval "$lt_compile" 2>conftest.err)
7428
7745
   ac_status=$?
7429
7746
   cat conftest.err >&5
7430
 
   echo "$as_me:7430: \$? = $ac_status" >&5
 
7747
   echo "$as_me:7747: \$? = $ac_status" >&5
7431
7748
   if (exit $ac_status) && test -s "$ac_outfile"; then
7432
7749
     # The compiler can only warn and ignore the option if not recognized
7433
7750
     # So say no if there are warnings other than the usual output.
7434
7751
     $echo "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' >conftest.exp
7435
7752
     $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
7436
7753
     if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
7437
 
       lt_prog_compiler_pic_works=yes
 
7754
       lt_cv_prog_compiler_pic_works=yes
7438
7755
     fi
7439
7756
   fi
7440
7757
   $rm conftest*
7441
7758
 
7442
7759
fi
7443
 
{ echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_works" >&5
7444
 
echo "${ECHO_T}$lt_prog_compiler_pic_works" >&6; }
 
7760
{ echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_pic_works" >&5
 
7761
echo "${ECHO_T}$lt_cv_prog_compiler_pic_works" >&6; }
7445
7762
 
7446
 
if test x"$lt_prog_compiler_pic_works" = xyes; then
 
7763
if test x"$lt_cv_prog_compiler_pic_works" = xyes; then
7447
7764
    case $lt_prog_compiler_pic in
7448
7765
     "" | " "*) ;;
7449
7766
     *) lt_prog_compiler_pic=" $lt_prog_compiler_pic" ;;
7470
7787
wl=$lt_prog_compiler_wl eval lt_tmp_static_flag=\"$lt_prog_compiler_static\"
7471
7788
{ echo "$as_me:$LINENO: checking if $compiler static flag $lt_tmp_static_flag works" >&5
7472
7789
echo $ECHO_N "checking if $compiler static flag $lt_tmp_static_flag works... $ECHO_C" >&6; }
7473
 
if test "${lt_prog_compiler_static_works+set}" = set; then
 
7790
if test "${lt_cv_prog_compiler_static_works+set}" = set; then
7474
7791
  echo $ECHO_N "(cached) $ECHO_C" >&6
7475
7792
else
7476
 
  lt_prog_compiler_static_works=no
 
7793
  lt_cv_prog_compiler_static_works=no
7477
7794
   save_LDFLAGS="$LDFLAGS"
7478
7795
   LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
7479
7796
   echo "$lt_simple_link_test_code" > conftest.$ac_ext
7486
7803
       $echo "X$_lt_linker_boilerplate" | $Xsed -e '/^$/d' > conftest.exp
7487
7804
       $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
7488
7805
       if diff conftest.exp conftest.er2 >/dev/null; then
7489
 
         lt_prog_compiler_static_works=yes
 
7806
         lt_cv_prog_compiler_static_works=yes
7490
7807
       fi
7491
7808
     else
7492
 
       lt_prog_compiler_static_works=yes
 
7809
       lt_cv_prog_compiler_static_works=yes
7493
7810
     fi
7494
7811
   fi
7495
 
   $rm conftest*
 
7812
   $rm -r conftest*
7496
7813
   LDFLAGS="$save_LDFLAGS"
7497
7814
 
7498
7815
fi
7499
 
{ echo "$as_me:$LINENO: result: $lt_prog_compiler_static_works" >&5
7500
 
echo "${ECHO_T}$lt_prog_compiler_static_works" >&6; }
 
7816
{ echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_static_works" >&5
 
7817
echo "${ECHO_T}$lt_cv_prog_compiler_static_works" >&6; }
7501
7818
 
7502
 
if test x"$lt_prog_compiler_static_works" = xyes; then
 
7819
if test x"$lt_cv_prog_compiler_static_works" = xyes; then
7503
7820
    :
7504
7821
else
7505
7822
    lt_prog_compiler_static=
7527
7844
   -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
7528
7845
   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
7529
7846
   -e 's:$: $lt_compiler_flag:'`
7530
 
   (eval echo "\"\$as_me:7530: $lt_compile\"" >&5)
 
7847
   (eval echo "\"\$as_me:7847: $lt_compile\"" >&5)
7531
7848
   (eval "$lt_compile" 2>out/conftest.err)
7532
7849
   ac_status=$?
7533
7850
   cat out/conftest.err >&5
7534
 
   echo "$as_me:7534: \$? = $ac_status" >&5
 
7851
   echo "$as_me:7851: \$? = $ac_status" >&5
7535
7852
   if (exit $ac_status) && test -s out/conftest2.$ac_objext
7536
7853
   then
7537
7854
     # The compiler can only warn and ignore the option if not recognized
7611
7928
  # it will be wrapped by ` (' and `)$', so one must not match beginning or
7612
7929
  # end of line.  Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
7613
7930
  # as well as any symbol that contains `d'.
7614
 
  exclude_expsyms="_GLOBAL_OFFSET_TABLE_"
 
7931
  exclude_expsyms='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
7615
7932
  # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
7616
7933
  # platforms (ab)use it in PIC code, but their linkers get confused if
7617
7934
  # the symbol is explicitly referenced.  Since portable code cannot
7618
7935
  # rely on this symbol name, it's probably fine to never include it in
7619
7936
  # preloaded symbol tables.
 
7937
  # Exclude shared library initialization/finalization symbols.
7620
7938
  extract_expsyms_cmds=
7621
7939
  # Just being paranoid about ensuring that cc_basename is set.
7622
7940
  for cc_temp in $compiler""; do
7675
7993
 
7676
7994
    # See if GNU ld supports shared libraries.
7677
7995
    case $host_os in
7678
 
    aix3* | aix4* | aix5*)
 
7996
    aix[3-9]*)
7679
7997
      # On AIX/PPC, the GNU linker is very broken
7680
7998
      if test "$host_cpu" != ia64; then
7681
7999
        ld_shlibs=no
7895
8213
      fi
7896
8214
      ;;
7897
8215
 
7898
 
    aix4* | aix5*)
 
8216
    aix[4-9]*)
7899
8217
      if test "$host_cpu" = ia64; then
7900
8218
        # On IA64, the linker does run time linking by default, so we don't
7901
8219
        # have to do anything special.
7915
8233
        # Test if we are trying to use run time linking or normal
7916
8234
        # AIX style linking. If -brtl is somewhere in LDFLAGS, we
7917
8235
        # need to do runtime linking.
7918
 
        case $host_os in aix4.[23]|aix4.[23].*|aix5*)
 
8236
        case $host_os in aix4.[23]|aix4.[23].*|aix[5-9]*)
7919
8237
          for ld_flag in $LDFLAGS; do
7920
8238
          if (test $ld_flag = "-brtl" || test $ld_flag = "-Wl,-brtl"); then
7921
8239
            aix_use_runtimelinking=yes
8187
8505
      link_all_deplibs=yes
8188
8506
    if test "$GCC" = yes ; then
8189
8507
        output_verbose_link_cmd='echo'
8190
 
        archive_cmds='$CC -dynamiclib $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags -install_name $rpath/$soname $verstring'
8191
 
      module_cmds='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
8192
 
      # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin lds
8193
 
      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}'
8194
 
      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}'
 
8508
        archive_cmds="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod${_lt_dsymutil}"
 
8509
        module_cmds="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}"
 
8510
        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}"
 
8511
        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}"
8195
8512
    else
8196
8513
      case $cc_basename in
8197
8514
        xlc*)
8711
9028
  soname_spec='${libname}${release}${shared_ext}$major'
8712
9029
  ;;
8713
9030
 
8714
 
aix4* | aix5*)
 
9031
aix[4-9]*)
8715
9032
  version_type=linux
8716
9033
  need_lib_prefix=no
8717
9034
  need_version=no
9245
9562
echo "${ECHO_T}$dynamic_linker" >&6; }
9246
9563
test "$dynamic_linker" = no && can_build_shared=no
9247
9564
 
 
9565
if test "${lt_cv_sys_lib_search_path_spec+set}" = set; then
 
9566
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
9567
else
 
9568
  lt_cv_sys_lib_search_path_spec="$sys_lib_search_path_spec"
 
9569
fi
 
9570
 
 
9571
sys_lib_search_path_spec="$lt_cv_sys_lib_search_path_spec"
 
9572
if test "${lt_cv_sys_lib_dlsearch_path_spec+set}" = set; then
 
9573
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
9574
else
 
9575
  lt_cv_sys_lib_dlsearch_path_spec="$sys_lib_dlsearch_path_spec"
 
9576
fi
 
9577
 
 
9578
sys_lib_dlsearch_path_spec="$lt_cv_sys_lib_dlsearch_path_spec"
 
9579
 
9248
9580
variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
9249
9581
if test "$GCC" = yes; then
9250
9582
  variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
9564
9896
{ echo "$as_me:$LINENO: result: $ac_cv_lib_dld_shl_load" >&5
9565
9897
echo "${ECHO_T}$ac_cv_lib_dld_shl_load" >&6; }
9566
9898
if test $ac_cv_lib_dld_shl_load = yes; then
9567
 
  lt_cv_dlopen="shl_load" lt_cv_dlopen_libs="-dld"
 
9899
  lt_cv_dlopen="shl_load" lt_cv_dlopen_libs="-ldld"
9568
9900
else
9569
9901
  { echo "$as_me:$LINENO: checking for dlopen" >&5
9570
9902
echo $ECHO_N "checking for dlopen... $ECHO_C" >&6; }
9840
10172
{ echo "$as_me:$LINENO: result: $ac_cv_lib_dld_dld_link" >&5
9841
10173
echo "${ECHO_T}$ac_cv_lib_dld_dld_link" >&6; }
9842
10174
if test $ac_cv_lib_dld_dld_link = yes; then
9843
 
  lt_cv_dlopen="dld_link" lt_cv_dlopen_libs="-dld"
 
10175
  lt_cv_dlopen="dld_link" lt_cv_dlopen_libs="-ldld"
9844
10176
fi
9845
10177
 
9846
10178
 
9889
10221
  lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
9890
10222
  lt_status=$lt_dlunknown
9891
10223
  cat > conftest.$ac_ext <<EOF
9892
 
#line 9892 "configure"
 
10224
#line 10224 "configure"
9893
10225
#include "confdefs.h"
9894
10226
 
9895
10227
#if HAVE_DLFCN_H
9989
10321
  lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
9990
10322
  lt_status=$lt_dlunknown
9991
10323
  cat > conftest.$ac_ext <<EOF
9992
 
#line 9992 "configure"
 
10324
#line 10324 "configure"
9993
10325
#include "confdefs.h"
9994
10326
 
9995
10327
#if HAVE_DLFCN_H
10116
10448
  fi
10117
10449
  ;;
10118
10450
 
10119
 
aix4* | aix5*)
 
10451
aix[4-9]*)
10120
10452
  if test "$host_cpu" != ia64 && test "$aix_use_runtimelinking" = no ; then
10121
10453
    test "$enable_shared" = yes && enable_static=no
10122
10454
  fi
10172
10504
    predeps \
10173
10505
    postdeps \
10174
10506
    compiler_lib_search_path \
 
10507
    compiler_lib_search_dirs \
10175
10508
    archive_cmds \
10176
10509
    archive_expsym_cmds \
10177
10510
    postinstall_cmds \
10232
10565
# Generated automatically by $PROGRAM (GNU $PACKAGE $VERSION$TIMESTAMP)
10233
10566
# NOTE: Changes made to this file will be lost: look at ltmain.sh.
10234
10567
#
10235
 
# Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004, 2005, 2006, 2007
 
10568
# Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004, 2005, 2006, 2007, 2008
10236
10569
# Free Software Foundation, Inc.
10237
10570
#
10238
10571
# This file is part of GNU Libtool:
10468
10801
# shared library.
10469
10802
postdeps=$lt_postdeps
10470
10803
 
 
10804
# The directories searched by this compiler when creating a shared
 
10805
# library
 
10806
compiler_lib_search_dirs=$lt_compiler_lib_search_dirs
 
10807
 
10471
10808
# The library search path used internally by the compiler when linking
10472
10809
# a shared library.
10473
10810
compiler_lib_search_path=$lt_compiler_lib_search_path
10716
11053
predeps_CXX=
10717
11054
postdeps_CXX=
10718
11055
compiler_lib_search_path_CXX=
 
11056
compiler_lib_search_dirs_CXX=
10719
11057
 
10720
11058
# Source file extension for C++ test sources.
10721
11059
ac_ext=cpp
10753
11091
echo "$lt_simple_link_test_code" >conftest.$ac_ext
10754
11092
eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
10755
11093
_lt_linker_boilerplate=`cat conftest.err`
10756
 
$rm conftest*
 
11094
$rm -r conftest*
10757
11095
 
10758
11096
 
10759
11097
# Allow CC to be a program name with arguments.
10960
11298
    # FIXME: insert proper C++ library support
10961
11299
    ld_shlibs_CXX=no
10962
11300
    ;;
10963
 
  aix4* | aix5*)
 
11301
  aix[4-9]*)
10964
11302
    if test "$host_cpu" = ia64; then
10965
11303
      # On IA64, the linker does run time linking by default, so we don't
10966
11304
      # have to do anything special.
10973
11311
      # Test if we are trying to use run time linking or normal
10974
11312
      # AIX style linking. If -brtl is somewhere in LDFLAGS, we
10975
11313
      # need to do runtime linking.
10976
 
      case $host_os in aix4.[23]|aix4.[23].*|aix5*)
 
11314
      case $host_os in aix4.[23]|aix4.[23].*|aix[5-9]*)
10977
11315
        for ld_flag in $LDFLAGS; do
10978
11316
          case $ld_flag in
10979
11317
          *-brtl*)
11231
11569
    fi
11232
11570
  ;;
11233
11571
      darwin* | rhapsody*)
11234
 
        case $host_os in
11235
 
        rhapsody* | darwin1.[012])
11236
 
         allow_undefined_flag_CXX='${wl}-undefined ${wl}suppress'
11237
 
         ;;
11238
 
       *) # Darwin 1.3 on
11239
 
         if test -z ${MACOSX_DEPLOYMENT_TARGET} ; then
11240
 
           allow_undefined_flag_CXX='${wl}-flat_namespace ${wl}-undefined ${wl}suppress'
11241
 
         else
11242
 
           case ${MACOSX_DEPLOYMENT_TARGET} in
11243
 
             10.[012])
11244
 
               allow_undefined_flag_CXX='${wl}-flat_namespace ${wl}-undefined ${wl}suppress'
11245
 
               ;;
11246
 
             10.*)
11247
 
               allow_undefined_flag_CXX='${wl}-undefined ${wl}dynamic_lookup'
11248
 
               ;;
11249
 
           esac
11250
 
         fi
11251
 
         ;;
11252
 
        esac
11253
11572
      archive_cmds_need_lc_CXX=no
11254
11573
      hardcode_direct_CXX=no
11255
11574
      hardcode_automatic_CXX=yes
11256
11575
      hardcode_shlibpath_var_CXX=unsupported
11257
11576
      whole_archive_flag_spec_CXX=''
11258
11577
      link_all_deplibs_CXX=yes
11259
 
 
11260
 
    if test "$GXX" = yes ; then
11261
 
      lt_int_apple_cc_single_mod=no
 
11578
      allow_undefined_flag_CXX="$_lt_dar_allow_undefined"
 
11579
      if test "$GXX" = yes ; then
11262
11580
      output_verbose_link_cmd='echo'
11263
 
      if $CC -dumpspecs 2>&1 | $EGREP 'single_module' >/dev/null ; then
11264
 
       lt_int_apple_cc_single_mod=yes
 
11581
      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}"
 
11582
      module_cmds_CXX="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}"
 
11583
      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}"
 
11584
      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}"
 
11585
      if test "$lt_cv_apple_cc_single_mod" != "yes"; then
 
11586
        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}"
 
11587
        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}"
11265
11588
      fi
11266
 
      if test "X$lt_int_apple_cc_single_mod" = Xyes ; then
11267
 
       archive_cmds_CXX='$CC -dynamiclib -single_module $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags -install_name $rpath/$soname $verstring'
11268
 
      else
11269
 
          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'
11270
 
        fi
11271
 
        module_cmds_CXX='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
11272
 
        # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin lds
11273
 
          if test "X$lt_int_apple_cc_single_mod" = Xyes ; then
11274
 
            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}'
11275
 
          else
11276
 
            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}'
11277
 
          fi
11278
 
            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}'
11279
11589
      else
11280
11590
      case $cc_basename in
11281
11591
        xlc*)
11526
11836
        export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
11527
11837
        whole_archive_flag_spec_CXX='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
11528
11838
        ;;
11529
 
      pgCC*)
 
11839
      pgCC* | pgcpp*)
11530
11840
        # Portland Group C++ compiler
11531
11841
        archive_cmds_CXX='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname -o $lib'
11532
11842
        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'
11933
12243
GCC_CXX="$GXX"
11934
12244
LD_CXX="$LD"
11935
12245
 
11936
 
 
11937
12246
cat > conftest.$ac_ext <<EOF
11938
12247
class Foo
11939
12248
{
12035
12344
 
12036
12345
$rm -f confest.$objext
12037
12346
 
 
12347
compiler_lib_search_dirs_CXX=
 
12348
if test -n "$compiler_lib_search_path_CXX"; then
 
12349
  compiler_lib_search_dirs_CXX=`echo " ${compiler_lib_search_path_CXX}" | ${SED} -e 's! -L! !g' -e 's!^ !!'`
 
12350
fi
 
12351
 
12038
12352
# PORTME: override above test on systems where it is broken
12039
12353
case $host_os in
12040
12354
interix[3-9]*)
12090
12404
  ;;
12091
12405
esac
12092
12406
 
12093
 
 
12094
12407
case " $postdeps_CXX " in
12095
12408
*" -lc "*) archive_cmds_need_lc_CXX=no ;;
12096
12409
esac
12166
12479
    esac
12167
12480
  else
12168
12481
    case $host_os in
12169
 
      aix4* | aix5*)
 
12482
      aix[4-9]*)
12170
12483
        # All AIX code is PIC.
12171
12484
        if test "$host_cpu" = ia64; then
12172
12485
          # AIX 5 now supports IA64 processor
12262
12575
            lt_prog_compiler_pic_CXX='-KPIC'
12263
12576
            lt_prog_compiler_static_CXX='-static'
12264
12577
            ;;
12265
 
          pgCC*)
 
12578
          pgCC* | pgcpp*)
12266
12579
            # Portland Group C++ compiler.
12267
12580
            lt_prog_compiler_wl_CXX='-Wl,'
12268
12581
            lt_prog_compiler_pic_CXX='-fpic'
12393
12706
 
12394
12707
{ echo "$as_me:$LINENO: checking if $compiler PIC flag $lt_prog_compiler_pic_CXX works" >&5
12395
12708
echo $ECHO_N "checking if $compiler PIC flag $lt_prog_compiler_pic_CXX works... $ECHO_C" >&6; }
12396
 
if test "${lt_prog_compiler_pic_works_CXX+set}" = set; then
 
12709
if test "${lt_cv_prog_compiler_pic_works_CXX+set}" = set; then
12397
12710
  echo $ECHO_N "(cached) $ECHO_C" >&6
12398
12711
else
12399
 
  lt_prog_compiler_pic_works_CXX=no
 
12712
  lt_cv_prog_compiler_pic_works_CXX=no
12400
12713
  ac_outfile=conftest.$ac_objext
12401
12714
   echo "$lt_simple_compile_test_code" > conftest.$ac_ext
12402
12715
   lt_compiler_flag="$lt_prog_compiler_pic_CXX -DPIC"
12409
12722
   -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
12410
12723
   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
12411
12724
   -e 's:$: $lt_compiler_flag:'`
12412
 
   (eval echo "\"\$as_me:12412: $lt_compile\"" >&5)
 
12725
   (eval echo "\"\$as_me:12725: $lt_compile\"" >&5)
12413
12726
   (eval "$lt_compile" 2>conftest.err)
12414
12727
   ac_status=$?
12415
12728
   cat conftest.err >&5
12416
 
   echo "$as_me:12416: \$? = $ac_status" >&5
 
12729
   echo "$as_me:12729: \$? = $ac_status" >&5
12417
12730
   if (exit $ac_status) && test -s "$ac_outfile"; then
12418
12731
     # The compiler can only warn and ignore the option if not recognized
12419
12732
     # So say no if there are warnings other than the usual output.
12420
12733
     $echo "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' >conftest.exp
12421
12734
     $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
12422
12735
     if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
12423
 
       lt_prog_compiler_pic_works_CXX=yes
 
12736
       lt_cv_prog_compiler_pic_works_CXX=yes
12424
12737
     fi
12425
12738
   fi
12426
12739
   $rm conftest*
12427
12740
 
12428
12741
fi
12429
 
{ echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_works_CXX" >&5
12430
 
echo "${ECHO_T}$lt_prog_compiler_pic_works_CXX" >&6; }
 
12742
{ echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_pic_works_CXX" >&5
 
12743
echo "${ECHO_T}$lt_cv_prog_compiler_pic_works_CXX" >&6; }
12431
12744
 
12432
 
if test x"$lt_prog_compiler_pic_works_CXX" = xyes; then
 
12745
if test x"$lt_cv_prog_compiler_pic_works_CXX" = xyes; then
12433
12746
    case $lt_prog_compiler_pic_CXX in
12434
12747
     "" | " "*) ;;
12435
12748
     *) lt_prog_compiler_pic_CXX=" $lt_prog_compiler_pic_CXX" ;;
12456
12769
wl=$lt_prog_compiler_wl_CXX eval lt_tmp_static_flag=\"$lt_prog_compiler_static_CXX\"
12457
12770
{ echo "$as_me:$LINENO: checking if $compiler static flag $lt_tmp_static_flag works" >&5
12458
12771
echo $ECHO_N "checking if $compiler static flag $lt_tmp_static_flag works... $ECHO_C" >&6; }
12459
 
if test "${lt_prog_compiler_static_works_CXX+set}" = set; then
 
12772
if test "${lt_cv_prog_compiler_static_works_CXX+set}" = set; then
12460
12773
  echo $ECHO_N "(cached) $ECHO_C" >&6
12461
12774
else
12462
 
  lt_prog_compiler_static_works_CXX=no
 
12775
  lt_cv_prog_compiler_static_works_CXX=no
12463
12776
   save_LDFLAGS="$LDFLAGS"
12464
12777
   LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
12465
12778
   echo "$lt_simple_link_test_code" > conftest.$ac_ext
12472
12785
       $echo "X$_lt_linker_boilerplate" | $Xsed -e '/^$/d' > conftest.exp
12473
12786
       $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
12474
12787
       if diff conftest.exp conftest.er2 >/dev/null; then
12475
 
         lt_prog_compiler_static_works_CXX=yes
 
12788
         lt_cv_prog_compiler_static_works_CXX=yes
12476
12789
       fi
12477
12790
     else
12478
 
       lt_prog_compiler_static_works_CXX=yes
 
12791
       lt_cv_prog_compiler_static_works_CXX=yes
12479
12792
     fi
12480
12793
   fi
12481
 
   $rm conftest*
 
12794
   $rm -r conftest*
12482
12795
   LDFLAGS="$save_LDFLAGS"
12483
12796
 
12484
12797
fi
12485
 
{ echo "$as_me:$LINENO: result: $lt_prog_compiler_static_works_CXX" >&5
12486
 
echo "${ECHO_T}$lt_prog_compiler_static_works_CXX" >&6; }
 
12798
{ echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_static_works_CXX" >&5
 
12799
echo "${ECHO_T}$lt_cv_prog_compiler_static_works_CXX" >&6; }
12487
12800
 
12488
 
if test x"$lt_prog_compiler_static_works_CXX" = xyes; then
 
12801
if test x"$lt_cv_prog_compiler_static_works_CXX" = xyes; then
12489
12802
    :
12490
12803
else
12491
12804
    lt_prog_compiler_static_CXX=
12513
12826
   -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
12514
12827
   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
12515
12828
   -e 's:$: $lt_compiler_flag:'`
12516
 
   (eval echo "\"\$as_me:12516: $lt_compile\"" >&5)
 
12829
   (eval echo "\"\$as_me:12829: $lt_compile\"" >&5)
12517
12830
   (eval "$lt_compile" 2>out/conftest.err)
12518
12831
   ac_status=$?
12519
12832
   cat out/conftest.err >&5
12520
 
   echo "$as_me:12520: \$? = $ac_status" >&5
 
12833
   echo "$as_me:12833: \$? = $ac_status" >&5
12521
12834
   if (exit $ac_status) && test -s out/conftest2.$ac_objext
12522
12835
   then
12523
12836
     # The compiler can only warn and ignore the option if not recognized
12570
12883
 
12571
12884
  export_symbols_cmds_CXX='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
12572
12885
  case $host_os in
12573
 
  aix4* | aix5*)
 
12886
  aix[4-9]*)
12574
12887
    # If we're using GNU nm, then we don't want the "-C" option.
12575
12888
    # -C means demangle to AIX nm, but means don't demangle with GNU nm
12576
12889
    if $NM -V 2>&1 | grep 'GNU' > /dev/null; then
12592
12905
    export_symbols_cmds_CXX='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
12593
12906
  ;;
12594
12907
  esac
 
12908
  exclude_expsyms_CXX='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
12595
12909
 
12596
12910
{ echo "$as_me:$LINENO: result: $ld_shlibs_CXX" >&5
12597
12911
echo "${ECHO_T}$ld_shlibs_CXX" >&6; }
12693
13007
  soname_spec='${libname}${release}${shared_ext}$major'
12694
13008
  ;;
12695
13009
 
12696
 
aix4* | aix5*)
 
13010
aix[4-9]*)
12697
13011
  version_type=linux
12698
13012
  need_lib_prefix=no
12699
13013
  need_version=no
13226
13540
echo "${ECHO_T}$dynamic_linker" >&6; }
13227
13541
test "$dynamic_linker" = no && can_build_shared=no
13228
13542
 
 
13543
if test "${lt_cv_sys_lib_search_path_spec+set}" = set; then
 
13544
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
13545
else
 
13546
  lt_cv_sys_lib_search_path_spec="$sys_lib_search_path_spec"
 
13547
fi
 
13548
 
 
13549
sys_lib_search_path_spec="$lt_cv_sys_lib_search_path_spec"
 
13550
if test "${lt_cv_sys_lib_dlsearch_path_spec+set}" = set; then
 
13551
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
13552
else
 
13553
  lt_cv_sys_lib_dlsearch_path_spec="$sys_lib_dlsearch_path_spec"
 
13554
fi
 
13555
 
 
13556
sys_lib_dlsearch_path_spec="$lt_cv_sys_lib_dlsearch_path_spec"
 
13557
 
13229
13558
variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
13230
13559
if test "$GCC" = yes; then
13231
13560
  variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
13309
13638
    predeps_CXX \
13310
13639
    postdeps_CXX \
13311
13640
    compiler_lib_search_path_CXX \
 
13641
    compiler_lib_search_dirs_CXX \
13312
13642
    archive_cmds_CXX \
13313
13643
    archive_expsym_cmds_CXX \
13314
13644
    postinstall_cmds_CXX \
13557
13887
# shared library.
13558
13888
postdeps=$lt_postdeps_CXX
13559
13889
 
 
13890
# The directories searched by this compiler when creating a shared
 
13891
# library
 
13892
compiler_lib_search_dirs=$lt_compiler_lib_search_dirs_CXX
 
13893
 
13560
13894
# The library search path used internally by the compiler when linking
13561
13895
# a shared library.
13562
13896
compiler_lib_search_path=$lt_compiler_lib_search_path_CXX
13771
14105
echo "$lt_simple_link_test_code" >conftest.$ac_ext
13772
14106
eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
13773
14107
_lt_linker_boilerplate=`cat conftest.err`
13774
 
$rm conftest*
 
14108
$rm -r conftest*
13775
14109
 
13776
14110
 
13777
14111
# Allow CC to be a program name with arguments.
13809
14143
    postinstall_cmds='$RANLIB $lib'
13810
14144
  fi
13811
14145
  ;;
13812
 
aix4* | aix5*)
 
14146
aix[4-9]*)
13813
14147
  if test "$host_cpu" != ia64 && test "$aix_use_runtimelinking" = no ; then
13814
14148
    test "$enable_shared" = yes && enable_static=no
13815
14149
  fi
14074
14408
 
14075
14409
{ echo "$as_me:$LINENO: checking if $compiler PIC flag $lt_prog_compiler_pic_F77 works" >&5
14076
14410
echo $ECHO_N "checking if $compiler PIC flag $lt_prog_compiler_pic_F77 works... $ECHO_C" >&6; }
14077
 
if test "${lt_prog_compiler_pic_works_F77+set}" = set; then
 
14411
if test "${lt_cv_prog_compiler_pic_works_F77+set}" = set; then
14078
14412
  echo $ECHO_N "(cached) $ECHO_C" >&6
14079
14413
else
14080
 
  lt_prog_compiler_pic_works_F77=no
 
14414
  lt_cv_prog_compiler_pic_works_F77=no
14081
14415
  ac_outfile=conftest.$ac_objext
14082
14416
   echo "$lt_simple_compile_test_code" > conftest.$ac_ext
14083
14417
   lt_compiler_flag="$lt_prog_compiler_pic_F77"
14090
14424
   -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
14091
14425
   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
14092
14426
   -e 's:$: $lt_compiler_flag:'`
14093
 
   (eval echo "\"\$as_me:14093: $lt_compile\"" >&5)
 
14427
   (eval echo "\"\$as_me:14427: $lt_compile\"" >&5)
14094
14428
   (eval "$lt_compile" 2>conftest.err)
14095
14429
   ac_status=$?
14096
14430
   cat conftest.err >&5
14097
 
   echo "$as_me:14097: \$? = $ac_status" >&5
 
14431
   echo "$as_me:14431: \$? = $ac_status" >&5
14098
14432
   if (exit $ac_status) && test -s "$ac_outfile"; then
14099
14433
     # The compiler can only warn and ignore the option if not recognized
14100
14434
     # So say no if there are warnings other than the usual output.
14101
14435
     $echo "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' >conftest.exp
14102
14436
     $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
14103
14437
     if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
14104
 
       lt_prog_compiler_pic_works_F77=yes
 
14438
       lt_cv_prog_compiler_pic_works_F77=yes
14105
14439
     fi
14106
14440
   fi
14107
14441
   $rm conftest*
14108
14442
 
14109
14443
fi
14110
 
{ echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_works_F77" >&5
14111
 
echo "${ECHO_T}$lt_prog_compiler_pic_works_F77" >&6; }
 
14444
{ echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_pic_works_F77" >&5
 
14445
echo "${ECHO_T}$lt_cv_prog_compiler_pic_works_F77" >&6; }
14112
14446
 
14113
 
if test x"$lt_prog_compiler_pic_works_F77" = xyes; then
 
14447
if test x"$lt_cv_prog_compiler_pic_works_F77" = xyes; then
14114
14448
    case $lt_prog_compiler_pic_F77 in
14115
14449
     "" | " "*) ;;
14116
14450
     *) lt_prog_compiler_pic_F77=" $lt_prog_compiler_pic_F77" ;;
14137
14471
wl=$lt_prog_compiler_wl_F77 eval lt_tmp_static_flag=\"$lt_prog_compiler_static_F77\"
14138
14472
{ echo "$as_me:$LINENO: checking if $compiler static flag $lt_tmp_static_flag works" >&5
14139
14473
echo $ECHO_N "checking if $compiler static flag $lt_tmp_static_flag works... $ECHO_C" >&6; }
14140
 
if test "${lt_prog_compiler_static_works_F77+set}" = set; then
 
14474
if test "${lt_cv_prog_compiler_static_works_F77+set}" = set; then
14141
14475
  echo $ECHO_N "(cached) $ECHO_C" >&6
14142
14476
else
14143
 
  lt_prog_compiler_static_works_F77=no
 
14477
  lt_cv_prog_compiler_static_works_F77=no
14144
14478
   save_LDFLAGS="$LDFLAGS"
14145
14479
   LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
14146
14480
   echo "$lt_simple_link_test_code" > conftest.$ac_ext
14153
14487
       $echo "X$_lt_linker_boilerplate" | $Xsed -e '/^$/d' > conftest.exp
14154
14488
       $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
14155
14489
       if diff conftest.exp conftest.er2 >/dev/null; then
14156
 
         lt_prog_compiler_static_works_F77=yes
 
14490
         lt_cv_prog_compiler_static_works_F77=yes
14157
14491
       fi
14158
14492
     else
14159
 
       lt_prog_compiler_static_works_F77=yes
 
14493
       lt_cv_prog_compiler_static_works_F77=yes
14160
14494
     fi
14161
14495
   fi
14162
 
   $rm conftest*
 
14496
   $rm -r conftest*
14163
14497
   LDFLAGS="$save_LDFLAGS"
14164
14498
 
14165
14499
fi
14166
 
{ echo "$as_me:$LINENO: result: $lt_prog_compiler_static_works_F77" >&5
14167
 
echo "${ECHO_T}$lt_prog_compiler_static_works_F77" >&6; }
 
14500
{ echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_static_works_F77" >&5
 
14501
echo "${ECHO_T}$lt_cv_prog_compiler_static_works_F77" >&6; }
14168
14502
 
14169
 
if test x"$lt_prog_compiler_static_works_F77" = xyes; then
 
14503
if test x"$lt_cv_prog_compiler_static_works_F77" = xyes; then
14170
14504
    :
14171
14505
else
14172
14506
    lt_prog_compiler_static_F77=
14194
14528
   -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
14195
14529
   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
14196
14530
   -e 's:$: $lt_compiler_flag:'`
14197
 
   (eval echo "\"\$as_me:14197: $lt_compile\"" >&5)
 
14531
   (eval echo "\"\$as_me:14531: $lt_compile\"" >&5)
14198
14532
   (eval "$lt_compile" 2>out/conftest.err)
14199
14533
   ac_status=$?
14200
14534
   cat out/conftest.err >&5
14201
 
   echo "$as_me:14201: \$? = $ac_status" >&5
 
14535
   echo "$as_me:14535: \$? = $ac_status" >&5
14202
14536
   if (exit $ac_status) && test -s out/conftest2.$ac_objext
14203
14537
   then
14204
14538
     # The compiler can only warn and ignore the option if not recognized
14278
14612
  # it will be wrapped by ` (' and `)$', so one must not match beginning or
14279
14613
  # end of line.  Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
14280
14614
  # as well as any symbol that contains `d'.
14281
 
  exclude_expsyms_F77="_GLOBAL_OFFSET_TABLE_"
 
14615
  exclude_expsyms_F77='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
14282
14616
  # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
14283
14617
  # platforms (ab)use it in PIC code, but their linkers get confused if
14284
14618
  # the symbol is explicitly referenced.  Since portable code cannot
14285
14619
  # rely on this symbol name, it's probably fine to never include it in
14286
14620
  # preloaded symbol tables.
 
14621
  # Exclude shared library initialization/finalization symbols.
14287
14622
  extract_expsyms_cmds=
14288
14623
  # Just being paranoid about ensuring that cc_basename is set.
14289
14624
  for cc_temp in $compiler""; do
14342
14677
 
14343
14678
    # See if GNU ld supports shared libraries.
14344
14679
    case $host_os in
14345
 
    aix3* | aix4* | aix5*)
 
14680
    aix[3-9]*)
14346
14681
      # On AIX/PPC, the GNU linker is very broken
14347
14682
      if test "$host_cpu" != ia64; then
14348
14683
        ld_shlibs_F77=no
14562
14897
      fi
14563
14898
      ;;
14564
14899
 
14565
 
    aix4* | aix5*)
 
14900
    aix[4-9]*)
14566
14901
      if test "$host_cpu" = ia64; then
14567
14902
        # On IA64, the linker does run time linking by default, so we don't
14568
14903
        # have to do anything special.
14582
14917
        # Test if we are trying to use run time linking or normal
14583
14918
        # AIX style linking. If -brtl is somewhere in LDFLAGS, we
14584
14919
        # need to do runtime linking.
14585
 
        case $host_os in aix4.[23]|aix4.[23].*|aix5*)
 
14920
        case $host_os in aix4.[23]|aix4.[23].*|aix[5-9]*)
14586
14921
          for ld_flag in $LDFLAGS; do
14587
14922
          if (test $ld_flag = "-brtl" || test $ld_flag = "-Wl,-brtl"); then
14588
14923
            aix_use_runtimelinking=yes
14834
15169
      link_all_deplibs_F77=yes
14835
15170
    if test "$GCC" = yes ; then
14836
15171
        output_verbose_link_cmd='echo'
14837
 
        archive_cmds_F77='$CC -dynamiclib $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags -install_name $rpath/$soname $verstring'
14838
 
      module_cmds_F77='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
14839
 
      # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin lds
14840
 
      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}'
14841
 
      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}'
 
15172
        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}"
 
15173
        module_cmds_F77="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}"
 
15174
        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}"
 
15175
        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}"
14842
15176
    else
14843
15177
      case $cc_basename in
14844
15178
        xlc*)
15307
15641
  soname_spec='${libname}${release}${shared_ext}$major'
15308
15642
  ;;
15309
15643
 
15310
 
aix4* | aix5*)
 
15644
aix[4-9]*)
15311
15645
  version_type=linux
15312
15646
  need_lib_prefix=no
15313
15647
  need_version=no
15840
16174
echo "${ECHO_T}$dynamic_linker" >&6; }
15841
16175
test "$dynamic_linker" = no && can_build_shared=no
15842
16176
 
 
16177
if test "${lt_cv_sys_lib_search_path_spec+set}" = set; then
 
16178
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
16179
else
 
16180
  lt_cv_sys_lib_search_path_spec="$sys_lib_search_path_spec"
 
16181
fi
 
16182
 
 
16183
sys_lib_search_path_spec="$lt_cv_sys_lib_search_path_spec"
 
16184
if test "${lt_cv_sys_lib_dlsearch_path_spec+set}" = set; then
 
16185
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
16186
else
 
16187
  lt_cv_sys_lib_dlsearch_path_spec="$sys_lib_dlsearch_path_spec"
 
16188
fi
 
16189
 
 
16190
sys_lib_dlsearch_path_spec="$lt_cv_sys_lib_dlsearch_path_spec"
 
16191
 
15843
16192
variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
15844
16193
if test "$GCC" = yes; then
15845
16194
  variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
15923
16272
    predeps_F77 \
15924
16273
    postdeps_F77 \
15925
16274
    compiler_lib_search_path_F77 \
 
16275
    compiler_lib_search_dirs_F77 \
15926
16276
    archive_cmds_F77 \
15927
16277
    archive_expsym_cmds_F77 \
15928
16278
    postinstall_cmds_F77 \
16171
16521
# shared library.
16172
16522
postdeps=$lt_postdeps_F77
16173
16523
 
 
16524
# The directories searched by this compiler when creating a shared
 
16525
# library
 
16526
compiler_lib_search_dirs=$lt_compiler_lib_search_dirs_F77
 
16527
 
16174
16528
# The library search path used internally by the compiler when linking
16175
16529
# a shared library.
16176
16530
compiler_lib_search_path=$lt_compiler_lib_search_path_F77
16345
16699
echo "$lt_simple_link_test_code" >conftest.$ac_ext
16346
16700
eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
16347
16701
_lt_linker_boilerplate=`cat conftest.err`
16348
 
$rm conftest*
 
16702
$rm -r conftest*
16349
16703
 
16350
16704
 
16351
16705
# Allow CC to be a program name with arguments.
16394
16748
   -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
16395
16749
   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
16396
16750
   -e 's:$: $lt_compiler_flag:'`
16397
 
   (eval echo "\"\$as_me:16397: $lt_compile\"" >&5)
 
16751
   (eval echo "\"\$as_me:16751: $lt_compile\"" >&5)
16398
16752
   (eval "$lt_compile" 2>conftest.err)
16399
16753
   ac_status=$?
16400
16754
   cat conftest.err >&5
16401
 
   echo "$as_me:16401: \$? = $ac_status" >&5
 
16755
   echo "$as_me:16755: \$? = $ac_status" >&5
16402
16756
   if (exit $ac_status) && test -s "$ac_outfile"; then
16403
16757
     # The compiler can only warn and ignore the option if not recognized
16404
16758
     # So say no if there are warnings other than the usual output.
16458
16812
      # built for inclusion in a dll (and should export symbols for example).
16459
16813
      # Although the cygwin gcc ignores -fPIC, still need this for old-style
16460
16814
      # (--disable-auto-import) libraries
16461
 
      lt_prog_compiler_pic_GCJ='-DDLL_EXPORT'
 
16815
 
16462
16816
      ;;
16463
16817
 
16464
16818
    darwin* | rhapsody*)
16528
16882
    mingw* | cygwin* | pw32* | os2*)
16529
16883
      # This hack is so that the source file can tell whether it is being
16530
16884
      # built for inclusion in a dll (and should export symbols for example).
16531
 
      lt_prog_compiler_pic_GCJ='-DDLL_EXPORT'
 
16885
 
16532
16886
      ;;
16533
16887
 
16534
16888
    hpux9* | hpux10* | hpux11*)
16668
17022
 
16669
17023
{ echo "$as_me:$LINENO: checking if $compiler PIC flag $lt_prog_compiler_pic_GCJ works" >&5
16670
17024
echo $ECHO_N "checking if $compiler PIC flag $lt_prog_compiler_pic_GCJ works... $ECHO_C" >&6; }
16671
 
if test "${lt_prog_compiler_pic_works_GCJ+set}" = set; then
 
17025
if test "${lt_cv_prog_compiler_pic_works_GCJ+set}" = set; then
16672
17026
  echo $ECHO_N "(cached) $ECHO_C" >&6
16673
17027
else
16674
 
  lt_prog_compiler_pic_works_GCJ=no
 
17028
  lt_cv_prog_compiler_pic_works_GCJ=no
16675
17029
  ac_outfile=conftest.$ac_objext
16676
17030
   echo "$lt_simple_compile_test_code" > conftest.$ac_ext
16677
17031
   lt_compiler_flag="$lt_prog_compiler_pic_GCJ"
16684
17038
   -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
16685
17039
   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
16686
17040
   -e 's:$: $lt_compiler_flag:'`
16687
 
   (eval echo "\"\$as_me:16687: $lt_compile\"" >&5)
 
17041
   (eval echo "\"\$as_me:17041: $lt_compile\"" >&5)
16688
17042
   (eval "$lt_compile" 2>conftest.err)
16689
17043
   ac_status=$?
16690
17044
   cat conftest.err >&5
16691
 
   echo "$as_me:16691: \$? = $ac_status" >&5
 
17045
   echo "$as_me:17045: \$? = $ac_status" >&5
16692
17046
   if (exit $ac_status) && test -s "$ac_outfile"; then
16693
17047
     # The compiler can only warn and ignore the option if not recognized
16694
17048
     # So say no if there are warnings other than the usual output.
16695
17049
     $echo "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' >conftest.exp
16696
17050
     $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
16697
17051
     if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
16698
 
       lt_prog_compiler_pic_works_GCJ=yes
 
17052
       lt_cv_prog_compiler_pic_works_GCJ=yes
16699
17053
     fi
16700
17054
   fi
16701
17055
   $rm conftest*
16702
17056
 
16703
17057
fi
16704
 
{ echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_works_GCJ" >&5
16705
 
echo "${ECHO_T}$lt_prog_compiler_pic_works_GCJ" >&6; }
 
17058
{ echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_pic_works_GCJ" >&5
 
17059
echo "${ECHO_T}$lt_cv_prog_compiler_pic_works_GCJ" >&6; }
16706
17060
 
16707
 
if test x"$lt_prog_compiler_pic_works_GCJ" = xyes; then
 
17061
if test x"$lt_cv_prog_compiler_pic_works_GCJ" = xyes; then
16708
17062
    case $lt_prog_compiler_pic_GCJ in
16709
17063
     "" | " "*) ;;
16710
17064
     *) lt_prog_compiler_pic_GCJ=" $lt_prog_compiler_pic_GCJ" ;;
16731
17085
wl=$lt_prog_compiler_wl_GCJ eval lt_tmp_static_flag=\"$lt_prog_compiler_static_GCJ\"
16732
17086
{ echo "$as_me:$LINENO: checking if $compiler static flag $lt_tmp_static_flag works" >&5
16733
17087
echo $ECHO_N "checking if $compiler static flag $lt_tmp_static_flag works... $ECHO_C" >&6; }
16734
 
if test "${lt_prog_compiler_static_works_GCJ+set}" = set; then
 
17088
if test "${lt_cv_prog_compiler_static_works_GCJ+set}" = set; then
16735
17089
  echo $ECHO_N "(cached) $ECHO_C" >&6
16736
17090
else
16737
 
  lt_prog_compiler_static_works_GCJ=no
 
17091
  lt_cv_prog_compiler_static_works_GCJ=no
16738
17092
   save_LDFLAGS="$LDFLAGS"
16739
17093
   LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
16740
17094
   echo "$lt_simple_link_test_code" > conftest.$ac_ext
16747
17101
       $echo "X$_lt_linker_boilerplate" | $Xsed -e '/^$/d' > conftest.exp
16748
17102
       $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
16749
17103
       if diff conftest.exp conftest.er2 >/dev/null; then
16750
 
         lt_prog_compiler_static_works_GCJ=yes
 
17104
         lt_cv_prog_compiler_static_works_GCJ=yes
16751
17105
       fi
16752
17106
     else
16753
 
       lt_prog_compiler_static_works_GCJ=yes
 
17107
       lt_cv_prog_compiler_static_works_GCJ=yes
16754
17108
     fi
16755
17109
   fi
16756
 
   $rm conftest*
 
17110
   $rm -r conftest*
16757
17111
   LDFLAGS="$save_LDFLAGS"
16758
17112
 
16759
17113
fi
16760
 
{ echo "$as_me:$LINENO: result: $lt_prog_compiler_static_works_GCJ" >&5
16761
 
echo "${ECHO_T}$lt_prog_compiler_static_works_GCJ" >&6; }
 
17114
{ echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_static_works_GCJ" >&5
 
17115
echo "${ECHO_T}$lt_cv_prog_compiler_static_works_GCJ" >&6; }
16762
17116
 
16763
 
if test x"$lt_prog_compiler_static_works_GCJ" = xyes; then
 
17117
if test x"$lt_cv_prog_compiler_static_works_GCJ" = xyes; then
16764
17118
    :
16765
17119
else
16766
17120
    lt_prog_compiler_static_GCJ=
16788
17142
   -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
16789
17143
   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
16790
17144
   -e 's:$: $lt_compiler_flag:'`
16791
 
   (eval echo "\"\$as_me:16791: $lt_compile\"" >&5)
 
17145
   (eval echo "\"\$as_me:17145: $lt_compile\"" >&5)
16792
17146
   (eval "$lt_compile" 2>out/conftest.err)
16793
17147
   ac_status=$?
16794
17148
   cat out/conftest.err >&5
16795
 
   echo "$as_me:16795: \$? = $ac_status" >&5
 
17149
   echo "$as_me:17149: \$? = $ac_status" >&5
16796
17150
   if (exit $ac_status) && test -s out/conftest2.$ac_objext
16797
17151
   then
16798
17152
     # The compiler can only warn and ignore the option if not recognized
16872
17226
  # it will be wrapped by ` (' and `)$', so one must not match beginning or
16873
17227
  # end of line.  Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
16874
17228
  # as well as any symbol that contains `d'.
16875
 
  exclude_expsyms_GCJ="_GLOBAL_OFFSET_TABLE_"
 
17229
  exclude_expsyms_GCJ='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
16876
17230
  # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
16877
17231
  # platforms (ab)use it in PIC code, but their linkers get confused if
16878
17232
  # the symbol is explicitly referenced.  Since portable code cannot
16879
17233
  # rely on this symbol name, it's probably fine to never include it in
16880
17234
  # preloaded symbol tables.
 
17235
  # Exclude shared library initialization/finalization symbols.
16881
17236
  extract_expsyms_cmds=
16882
17237
  # Just being paranoid about ensuring that cc_basename is set.
16883
17238
  for cc_temp in $compiler""; do
16936
17291
 
16937
17292
    # See if GNU ld supports shared libraries.
16938
17293
    case $host_os in
16939
 
    aix3* | aix4* | aix5*)
 
17294
    aix[3-9]*)
16940
17295
      # On AIX/PPC, the GNU linker is very broken
16941
17296
      if test "$host_cpu" != ia64; then
16942
17297
        ld_shlibs_GCJ=no
17156
17511
      fi
17157
17512
      ;;
17158
17513
 
17159
 
    aix4* | aix5*)
 
17514
    aix[4-9]*)
17160
17515
      if test "$host_cpu" = ia64; then
17161
17516
        # On IA64, the linker does run time linking by default, so we don't
17162
17517
        # have to do anything special.
17176
17531
        # Test if we are trying to use run time linking or normal
17177
17532
        # AIX style linking. If -brtl is somewhere in LDFLAGS, we
17178
17533
        # need to do runtime linking.
17179
 
        case $host_os in aix4.[23]|aix4.[23].*|aix5*)
 
17534
        case $host_os in aix4.[23]|aix4.[23].*|aix[5-9]*)
17180
17535
          for ld_flag in $LDFLAGS; do
17181
17536
          if (test $ld_flag = "-brtl" || test $ld_flag = "-Wl,-brtl"); then
17182
17537
            aix_use_runtimelinking=yes
17448
17803
      link_all_deplibs_GCJ=yes
17449
17804
    if test "$GCC" = yes ; then
17450
17805
        output_verbose_link_cmd='echo'
17451
 
        archive_cmds_GCJ='$CC -dynamiclib $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags -install_name $rpath/$soname $verstring'
17452
 
      module_cmds_GCJ='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
17453
 
      # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin lds
17454
 
      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}'
17455
 
      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}'
 
17806
        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}"
 
17807
        module_cmds_GCJ="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}"
 
17808
        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}"
 
17809
        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}"
17456
17810
    else
17457
17811
      case $cc_basename in
17458
17812
        xlc*)
17921
18275
  soname_spec='${libname}${release}${shared_ext}$major'
17922
18276
  ;;
17923
18277
 
17924
 
aix4* | aix5*)
 
18278
aix[4-9]*)
17925
18279
  version_type=linux
17926
18280
  need_lib_prefix=no
17927
18281
  need_version=no
18454
18808
echo "${ECHO_T}$dynamic_linker" >&6; }
18455
18809
test "$dynamic_linker" = no && can_build_shared=no
18456
18810
 
 
18811
if test "${lt_cv_sys_lib_search_path_spec+set}" = set; then
 
18812
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
18813
else
 
18814
  lt_cv_sys_lib_search_path_spec="$sys_lib_search_path_spec"
 
18815
fi
 
18816
 
 
18817
sys_lib_search_path_spec="$lt_cv_sys_lib_search_path_spec"
 
18818
if test "${lt_cv_sys_lib_dlsearch_path_spec+set}" = set; then
 
18819
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
18820
else
 
18821
  lt_cv_sys_lib_dlsearch_path_spec="$sys_lib_dlsearch_path_spec"
 
18822
fi
 
18823
 
 
18824
sys_lib_dlsearch_path_spec="$lt_cv_sys_lib_dlsearch_path_spec"
 
18825
 
18457
18826
variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
18458
18827
if test "$GCC" = yes; then
18459
18828
  variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
18537
18906
    predeps_GCJ \
18538
18907
    postdeps_GCJ \
18539
18908
    compiler_lib_search_path_GCJ \
 
18909
    compiler_lib_search_dirs_GCJ \
18540
18910
    archive_cmds_GCJ \
18541
18911
    archive_expsym_cmds_GCJ \
18542
18912
    postinstall_cmds_GCJ \
18785
19155
# shared library.
18786
19156
postdeps=$lt_postdeps_GCJ
18787
19157
 
 
19158
# The directories searched by this compiler when creating a shared
 
19159
# library
 
19160
compiler_lib_search_dirs=$lt_compiler_lib_search_dirs_GCJ
 
19161
 
18788
19162
# The library search path used internally by the compiler when linking
18789
19163
# a shared library.
18790
19164
compiler_lib_search_path=$lt_compiler_lib_search_path_GCJ
18958
19332
echo "$lt_simple_link_test_code" >conftest.$ac_ext
18959
19333
eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
18960
19334
_lt_linker_boilerplate=`cat conftest.err`
18961
 
$rm conftest*
 
19335
$rm -r conftest*
18962
19336
 
18963
19337
 
18964
19338
# Allow CC to be a program name with arguments.
19018
19392
    predeps_RC \
19019
19393
    postdeps_RC \
19020
19394
    compiler_lib_search_path_RC \
 
19395
    compiler_lib_search_dirs_RC \
19021
19396
    archive_cmds_RC \
19022
19397
    archive_expsym_cmds_RC \
19023
19398
    postinstall_cmds_RC \
19266
19641
# shared library.
19267
19642
postdeps=$lt_postdeps_RC
19268
19643
 
 
19644
# The directories searched by this compiler when creating a shared
 
19645
# library
 
19646
compiler_lib_search_dirs=$lt_compiler_lib_search_dirs_RC
 
19647
 
19269
19648
# The library search path used internally by the compiler when linking
19270
19649
# a shared library.
19271
19650
compiler_lib_search_path=$lt_compiler_lib_search_path_RC
21711
22090
# report actual input values of CONFIG_FILES etc. instead of their
21712
22091
# values after options handling.
21713
22092
ac_log="
21714
 
This file was extended by libXfont $as_me 1.3.1, which was
 
22093
This file was extended by libXfont $as_me 1.3.2, which was
21715
22094
generated by GNU Autoconf 2.61.  Invocation command line was
21716
22095
 
21717
22096
  CONFIG_FILES    = $CONFIG_FILES
21764
22143
_ACEOF
21765
22144
cat >>$CONFIG_STATUS <<_ACEOF
21766
22145
ac_cs_version="\\
21767
 
libXfont config.status 1.3.1
 
22146
libXfont config.status 1.3.2
21768
22147
configured by $0, generated by GNU Autoconf 2.61,
21769
22148
  with options \\"`echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`\\"
21770
22149
 
22046
22425
ECHO!$ECHO$ac_delim
22047
22426
AR!$AR$ac_delim
22048
22427
RANLIB!$RANLIB$ac_delim
 
22428
DSYMUTIL!$DSYMUTIL$ac_delim
 
22429
NMEDIT!$NMEDIT$ac_delim
22049
22430
CPP!$CPP$ac_delim
22050
22431
CXX!$CXX$ac_delim
22051
22432
CXXFLAGS!$CXXFLAGS$ac_delim
22052
22433
ac_ct_CXX!$ac_ct_CXX$ac_delim
22053
22434
CXXDEPMODE!$CXXDEPMODE$ac_delim
 
22435
_ACEOF
 
22436
 
 
22437
  if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 97; then
 
22438
    break
 
22439
  elif $ac_last_try; then
 
22440
    { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
 
22441
echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
 
22442
   { (exit 1); exit 1; }; }
 
22443
  else
 
22444
    ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
 
22445
  fi
 
22446
done
 
22447
 
 
22448
ac_eof=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
 
22449
if test -n "$ac_eof"; then
 
22450
  ac_eof=`echo "$ac_eof" | sort -nru | sed 1q`
 
22451
  ac_eof=`expr $ac_eof + 1`
 
22452
fi
 
22453
 
 
22454
cat >>$CONFIG_STATUS <<_ACEOF
 
22455
cat >"\$tmp/subs-1.sed" <<\CEOF$ac_eof
 
22456
/@[a-zA-Z_][a-zA-Z_0-9]*@/!b
 
22457
_ACEOF
 
22458
sed '
 
22459
s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
 
22460
s/^/s,@/; s/!/@,|#_!!_#|/
 
22461
:n
 
22462
t n
 
22463
s/'"$ac_delim"'$/,g/; t
 
22464
s/$/\\/; p
 
22465
N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
 
22466
' >>$CONFIG_STATUS <conf$$subs.sed
 
22467
rm -f conf$$subs.sed
 
22468
cat >>$CONFIG_STATUS <<_ACEOF
 
22469
CEOF$ac_eof
 
22470
_ACEOF
 
22471
 
 
22472
 
 
22473
ac_delim='%!_!# '
 
22474
for ac_last_try in false false false false false :; do
 
22475
  cat >conf$$subs.sed <<_ACEOF
22054
22476
am__fastdepCXX_TRUE!$am__fastdepCXX_TRUE$ac_delim
22055
22477
am__fastdepCXX_FALSE!$am__fastdepCXX_FALSE$ac_delim
22056
 
_ACEOF
22057
 
 
22058
 
  if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 97; then
22059
 
    break
22060
 
  elif $ac_last_try; then
22061
 
    { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
22062
 
echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
22063
 
   { (exit 1); exit 1; }; }
22064
 
  else
22065
 
    ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
22066
 
  fi
22067
 
done
22068
 
 
22069
 
ac_eof=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
22070
 
if test -n "$ac_eof"; then
22071
 
  ac_eof=`echo "$ac_eof" | sort -nru | sed 1q`
22072
 
  ac_eof=`expr $ac_eof + 1`
22073
 
fi
22074
 
 
22075
 
cat >>$CONFIG_STATUS <<_ACEOF
22076
 
cat >"\$tmp/subs-1.sed" <<\CEOF$ac_eof
22077
 
/@[a-zA-Z_][a-zA-Z_0-9]*@/!b
22078
 
_ACEOF
22079
 
sed '
22080
 
s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
22081
 
s/^/s,@/; s/!/@,|#_!!_#|/
22082
 
:n
22083
 
t n
22084
 
s/'"$ac_delim"'$/,g/; t
22085
 
s/$/\\/; p
22086
 
N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
22087
 
' >>$CONFIG_STATUS <conf$$subs.sed
22088
 
rm -f conf$$subs.sed
22089
 
cat >>$CONFIG_STATUS <<_ACEOF
22090
 
CEOF$ac_eof
22091
 
_ACEOF
22092
 
 
22093
 
 
22094
 
ac_delim='%!_!# '
22095
 
for ac_last_try in false false false false false :; do
22096
 
  cat >conf$$subs.sed <<_ACEOF
22097
22478
CXXCPP!$CXXCPP$ac_delim
22098
22479
F77!$F77$ac_delim
22099
22480
FFLAGS!$FFLAGS$ac_delim
22138
22519
LTLIBOBJS!$LTLIBOBJS$ac_delim
22139
22520
_ACEOF
22140
22521
 
22141
 
  if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 42; then
 
22522
  if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 44; then
22142
22523
    break
22143
22524
  elif $ac_last_try; then
22144
22525
    { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
22539
22920
  fi
22540
22921
  rm -f "$tmp/out12"
22541
22922
# Compute $ac_file's index in $config_headers.
 
22923
_am_arg=$ac_file
22542
22924
_am_stamp_count=1
22543
22925
for _am_header in $config_headers :; do
22544
22926
  case $_am_header in
22545
 
    $ac_file | $ac_file:* )
 
22927
    $_am_arg | $_am_arg:* )
22546
22928
      break ;;
22547
22929
    * )
22548
22930
      _am_stamp_count=`expr $_am_stamp_count + 1` ;;
22549
22931
  esac
22550
22932
done
22551
 
echo "timestamp for $ac_file" >`$as_dirname -- $ac_file ||
22552
 
$as_expr X$ac_file : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
22553
 
         X$ac_file : 'X\(//\)[^/]' \| \
22554
 
         X$ac_file : 'X\(//\)$' \| \
22555
 
         X$ac_file : 'X\(/\)' \| . 2>/dev/null ||
22556
 
echo X$ac_file |
 
22933
echo "timestamp for $_am_arg" >`$as_dirname -- "$_am_arg" ||
 
22934
$as_expr X"$_am_arg" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
 
22935
         X"$_am_arg" : 'X\(//\)[^/]' \| \
 
22936
         X"$_am_arg" : 'X\(//\)$' \| \
 
22937
         X"$_am_arg" : 'X\(/\)' \| . 2>/dev/null ||
 
22938
echo X"$_am_arg" |
22557
22939
    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
22558
22940
            s//\1/
22559
22941
            q
22590
22972
  # each Makefile.in and add a new line on top of each file to say so.
22591
22973
  # Grep'ing the whole file is not good either: AIX grep has a line
22592
22974
  # limit of 2048, but all sed's we know have understand at least 4000.
22593
 
  if sed 10q "$mf" | grep '^#.*generated by automake' > /dev/null 2>&1; then
 
22975
  if sed -n 's,^#.*generated by automake.*,X,p' "$mf" | grep X >/dev/null 2>&1; then
22594
22976
    dirpart=`$as_dirname -- "$mf" ||
22595
22977
$as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
22596
22978
         X"$mf" : 'X\(//\)[^/]' \| \