~ubuntu-branches/ubuntu/trusty/argtable2/trusty

« back to all changes in this revision

Viewing changes to configure

  • Committer: Bazaar Package Importer
  • Author(s): Shachar Shemesh
  • Date: 2010-08-22 16:33:24 UTC
  • mfrom: (1.1.4 upstream) (3.1.2 sid)
  • Revision ID: james.westby@ubuntu.com-20100822163324-mobfeobfis6gfysc
Tags: 12-1
* New upstream version
* Upgraded the Debian policy to 3.9.1.0 
* Change the debhelper compatibility level to V8
* Various Lintian cleanups
* Reduce debian/rules to rely on debhelper more (Closes: #488585)

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 argtable2 9.
 
3
# Generated by GNU Autoconf 2.61 for argtable2 12.
4
4
#
5
5
# Report bugs to <sheitmann@users.sourceforge.net>.
6
6
#
728
728
# Identity of this package.
729
729
PACKAGE_NAME='argtable2'
730
730
PACKAGE_TARNAME='argtable2'
731
 
PACKAGE_VERSION='9'
732
 
PACKAGE_STRING='argtable2 9'
 
731
PACKAGE_VERSION='12'
 
732
PACKAGE_STRING='argtable2 12'
733
733
PACKAGE_BUGREPORT='sheitmann@users.sourceforge.net'
734
734
 
735
735
ac_unique_file="src/argtable2.c"
821
821
INSTALL_PROGRAM
822
822
INSTALL_SCRIPT
823
823
INSTALL_DATA
 
824
am__isrc
824
825
CYGPATH_W
825
826
PACKAGE
826
827
VERSION
862
863
ECHO
863
864
AR
864
865
RANLIB
 
866
DSYMUTIL
 
867
NMEDIT
865
868
CPP
866
869
CXX
867
870
CXXFLAGS
874
877
FFLAGS
875
878
ac_ct_F77
876
879
LIBTOOL
 
880
POW_LIB
877
881
LIBOBJS
878
 
POW_LIB
879
882
USE_SYS_GETOPTLONG_TRUE
880
883
USE_SYS_GETOPTLONG_FALSE
881
884
USE_ARGREX_TRUE
1404
1407
  # Omit some internal or obsolete options to make the list less imposing.
1405
1408
  # This message is too long to be a string in the A/UX 3.1 sh.
1406
1409
  cat <<_ACEOF
1407
 
\`configure' configures argtable2 9 to adapt to many kinds of systems.
 
1410
\`configure' configures argtable2 12 to adapt to many kinds of systems.
1408
1411
 
1409
1412
Usage: $0 [OPTION]... [VAR=VALUE]...
1410
1413
 
1475
1478
 
1476
1479
if test -n "$ac_init_help"; then
1477
1480
  case $ac_init_help in
1478
 
     short | recursive ) echo "Configuration of argtable2 9:";;
 
1481
     short | recursive ) echo "Configuration of argtable2 12:";;
1479
1482
   esac
1480
1483
  cat <<\_ACEOF
1481
1484
 
1579
1582
test -n "$ac_init_help" && exit $ac_status
1580
1583
if $ac_init_version; then
1581
1584
  cat <<\_ACEOF
1582
 
argtable2 configure 9
 
1585
argtable2 configure 12
1583
1586
generated by GNU Autoconf 2.61
1584
1587
 
1585
1588
Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
1593
1596
This file contains any messages produced by compilers while
1594
1597
running configure, to aid debugging if configure makes a mistake.
1595
1598
 
1596
 
It was created by argtable2 $as_me 9, which was
 
1599
It was created by argtable2 $as_me 12, which was
1597
1600
generated by GNU Autoconf 2.61.  Invocation command line was
1598
1601
 
1599
1602
  $ $0 $@
2103
2106
  test "$program_prefix$program_suffix$program_transform_name" = \
2104
2107
    NONENONEs,x,x, &&
2105
2108
  program_prefix=${target_alias}-
2106
 
am__api_version="1.9"
 
2109
am__api_version='1.10'
 
2110
 
2107
2111
# Find a good install program.  We prefer a C program (faster),
2108
2112
# so one script is as good as another.  But avoid the broken or
2109
2113
# incompatible versions:
2255
2259
echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;}
2256
2260
fi
2257
2261
 
2258
 
if mkdir -p --version . >/dev/null 2>&1 && test ! -d ./--version; then
2259
 
  # We used to keeping the `.' as first argument, in order to
2260
 
  # allow $(mkdir_p) to be used without argument.  As in
2261
 
  #   $(mkdir_p) $(somedir)
2262
 
  # where $(somedir) is conditionally defined.  However this is wrong
2263
 
  # for two reasons:
2264
 
  #  1. if the package is installed by a user who cannot write `.'
2265
 
  #     make install will fail,
2266
 
  #  2. the above comment should most certainly read
2267
 
  #     $(mkdir_p) $(DESTDIR)$(somedir)
2268
 
  #     so it does not work when $(somedir) is undefined and
2269
 
  #     $(DESTDIR) is not.
2270
 
  #  To support the latter case, we have to write
2271
 
  #     test -z "$(somedir)" || $(mkdir_p) $(DESTDIR)$(somedir),
2272
 
  #  so the `.' trick is pointless.
2273
 
  mkdir_p='mkdir -p --'
 
2262
{ echo "$as_me:$LINENO: checking for a thread-safe mkdir -p" >&5
 
2263
echo $ECHO_N "checking for a thread-safe mkdir -p... $ECHO_C" >&6; }
 
2264
if test -z "$MKDIR_P"; then
 
2265
  if test "${ac_cv_path_mkdir+set}" = set; then
 
2266
  echo $ECHO_N "(cached) $ECHO_C" >&6
2274
2267
else
2275
 
  # On NextStep and OpenStep, the `mkdir' command does not
2276
 
  # recognize any option.  It will interpret all options as
2277
 
  # directories to create, and then abort because `.' already
2278
 
  # exists.
2279
 
  for d in ./-p ./--version;
2280
 
  do
2281
 
    test -d $d && rmdir $d
2282
 
  done
2283
 
  # $(mkinstalldirs) is defined by Automake if mkinstalldirs exists.
2284
 
  if test -f "$ac_aux_dir/mkinstalldirs"; then
2285
 
    mkdir_p='$(mkinstalldirs)'
 
2268
  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
2269
for as_dir in $PATH$PATH_SEPARATOR/opt/sfw/bin
 
2270
do
 
2271
  IFS=$as_save_IFS
 
2272
  test -z "$as_dir" && as_dir=.
 
2273
  for ac_prog in mkdir gmkdir; do
 
2274
         for ac_exec_ext in '' $ac_executable_extensions; do
 
2275
           { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; } || continue
 
2276
           case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #(
 
2277
             'mkdir (GNU coreutils) '* | \
 
2278
             'mkdir (coreutils) '* | \
 
2279
             'mkdir (fileutils) '4.1*)
 
2280
               ac_cv_path_mkdir=$as_dir/$ac_prog$ac_exec_ext
 
2281
               break 3;;
 
2282
           esac
 
2283
         done
 
2284
       done
 
2285
done
 
2286
IFS=$as_save_IFS
 
2287
 
 
2288
fi
 
2289
 
 
2290
  if test "${ac_cv_path_mkdir+set}" = set; then
 
2291
    MKDIR_P="$ac_cv_path_mkdir -p"
2286
2292
  else
2287
 
    mkdir_p='$(install_sh) -d'
 
2293
    # As a last resort, use the slow shell script.  Don't cache a
 
2294
    # value for MKDIR_P within a source directory, because that will
 
2295
    # break other packages using the cache if that directory is
 
2296
    # removed, or if the value is a relative name.
 
2297
    test -d ./--version && rmdir ./--version
 
2298
    MKDIR_P="$ac_install_sh -d"
2288
2299
  fi
2289
2300
fi
 
2301
{ echo "$as_me:$LINENO: result: $MKDIR_P" >&5
 
2302
echo "${ECHO_T}$MKDIR_P" >&6; }
 
2303
 
 
2304
mkdir_p="$MKDIR_P"
 
2305
case $mkdir_p in
 
2306
  [\\/$]* | ?:[\\/]*) ;;
 
2307
  */*) mkdir_p="\$(top_builddir)/$mkdir_p" ;;
 
2308
esac
2290
2309
 
2291
2310
for ac_prog in gawk mawk nawk awk
2292
2311
do
2369
2388
fi
2370
2389
rmdir .tst 2>/dev/null
2371
2390
 
2372
 
# test to see if srcdir already configured
2373
 
if test "`cd $srcdir && pwd`" != "`pwd`" &&
2374
 
   test -f $srcdir/config.status; then
2375
 
  { { echo "$as_me:$LINENO: error: source directory already configured; run \"make distclean\" there first" >&5
 
2391
if test "`cd $srcdir && pwd`" != "`pwd`"; then
 
2392
  # Use -I$(srcdir) only when $(srcdir) != ., so that make's output
 
2393
  # is not polluted with repeated "-I."
 
2394
  am__isrc=' -I$(srcdir)'
 
2395
  # test to see if srcdir already configured
 
2396
  if test -f $srcdir/config.status; then
 
2397
    { { echo "$as_me:$LINENO: error: source directory already configured; run \"make distclean\" there first" >&5
2376
2398
echo "$as_me: error: source directory already configured; run \"make distclean\" there first" >&2;}
2377
2399
   { (exit 1); exit 1; }; }
 
2400
  fi
2378
2401
fi
2379
2402
 
2380
2403
# test whether we have cygpath
2389
2412
 
2390
2413
# Define the identity of the package.
2391
2414
 PACKAGE='argtable2'
2392
 
 VERSION='9'
 
2415
 VERSION='12'
2393
2416
 
2394
2417
 
2395
2418
cat >>confdefs.h <<_ACEOF
2417
2440
 
2418
2441
MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
2419
2442
 
2420
 
install_sh=${install_sh-"$am_aux_dir/install-sh"}
 
2443
install_sh=${install_sh-"\$(SHELL) $am_aux_dir/install-sh"}
2421
2444
 
2422
2445
# Installed binaries are usually stripped using `strip' when the user
2423
2446
# run `make install-strip'.  However `strip' might not be the right
2521
2544
fi
2522
2545
 
2523
2546
fi
2524
 
INSTALL_STRIP_PROGRAM="\${SHELL} \$(install_sh) -c -s"
 
2547
INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s"
2525
2548
 
2526
2549
# We need awk for the "check" target.  The system "awk" is bad on
2527
2550
# some platforms.
2540
2563
ac_config_headers="$ac_config_headers src/config.h"
2541
2564
 
2542
2565
 
 
2566
 
2543
2567
# Checks for programs.
2544
2568
ac_ext=c
2545
2569
ac_cpp='$CPP $CPPFLAGS'
3512
3536
  am_depcomp="$ac_aux_dir/depcomp"
3513
3537
  AMDEPBACKSLASH='\'
3514
3538
fi
3515
 
 
3516
 
 
3517
 
if test "x$enable_dependency_tracking" != xno; then
 
3539
 if test "x$enable_dependency_tracking" != xno; then
3518
3540
  AMDEP_TRUE=
3519
3541
  AMDEP_FALSE='#'
3520
3542
else
3524
3546
 
3525
3547
 
3526
3548
 
3527
 
 
3528
3549
depcc="$CC"   am_compiler_list=
3529
3550
 
3530
3551
{ echo "$as_me:$LINENO: checking dependency style of $depcc" >&5
3592
3613
       depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
3593
3614
       $SHELL ./depcomp $depcc -c -o sub/conftest.${OBJEXT-o} sub/conftest.c \
3594
3615
         >/dev/null 2>conftest.err &&
 
3616
       grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
3595
3617
       grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
3596
3618
       grep sub/conftest.${OBJEXT-o} sub/conftest.Po > /dev/null 2>&1 &&
3597
3619
       ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
3621
3643
echo "${ECHO_T}$am_cv_CC_dependencies_compiler_type" >&6; }
3622
3644
CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
3623
3645
 
3624
 
 
3625
 
 
3626
 
if
 
3646
 if
3627
3647
  test "x$enable_dependency_tracking" != xno \
3628
3648
  && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
3629
3649
  am__fastdepCC_TRUE=
4143
4163
# whether `pass_all' will *always* work, you probably want this one.
4144
4164
 
4145
4165
case $host_os in
4146
 
aix4* | aix5*)
 
4166
aix[4-9]*)
4147
4167
  lt_cv_deplibs_check_method=pass_all
4148
4168
  ;;
4149
4169
 
4359
4379
  ;;
4360
4380
*-*-irix6*)
4361
4381
  # Find out which ABI we are using.
4362
 
  echo '#line 4362 "configure"' > conftest.$ac_ext
 
4382
  echo '#line 4382 "configure"' > conftest.$ac_ext
4363
4383
  if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4364
4384
  (eval $ac_compile) 2>&5
4365
4385
  ac_status=$?
4531
4551
    *64-bit*)
4532
4552
      case $lt_cv_prog_gnu_ld in
4533
4553
      yes*) LD="${LD-ld} -m elf64_sparc" ;;
4534
 
      *)    LD="${LD-ld} -64" ;;
 
4554
      *)
 
4555
        if ${LD-ld} -64 -r -o conftest2.o conftest.o >/dev/null 2>&1; then
 
4556
          LD="${LD-ld} -64"
 
4557
        fi
 
4558
        ;;
4535
4559
      esac
4536
4560
      ;;
4537
4561
    esac
5595
5619
       depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
5596
5620
       $SHELL ./depcomp $depcc -c -o sub/conftest.${OBJEXT-o} sub/conftest.c \
5597
5621
         >/dev/null 2>conftest.err &&
 
5622
       grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
5598
5623
       grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
5599
5624
       grep sub/conftest.${OBJEXT-o} sub/conftest.Po > /dev/null 2>&1 &&
5600
5625
       ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
5624
5649
echo "${ECHO_T}$am_cv_CXX_dependencies_compiler_type" >&6; }
5625
5650
CXXDEPMODE=depmode=$am_cv_CXX_dependencies_compiler_type
5626
5651
 
5627
 
 
5628
 
 
5629
 
if
 
5652
 if
5630
5653
  test "x$enable_dependency_tracking" != xno \
5631
5654
  && test "$am_cv_CXX_dependencies_compiler_type" = gcc3; then
5632
5655
  am__fastdepCXX_TRUE=
6134
6157
 
6135
6158
 
6136
6159
# Autoconf 2.13's AC_OBJEXT and AC_EXEEXT macros only works for C compilers!
6137
 
 
6138
6160
# find the maximum length of command line arguments
6139
6161
{ echo "$as_me:$LINENO: checking the maximum length of command line arguments" >&5
6140
6162
echo $ECHO_N "checking the maximum length of command line arguments... $ECHO_C" >&6; }
6449
6471
    echo "$progname: failed program was:" >&5
6450
6472
    cat conftest.$ac_ext >&5
6451
6473
  fi
6452
 
  rm -f conftest* conftst*
 
6474
  rm -rf conftest* conftst*
6453
6475
 
6454
6476
  # Do not use the global_symbol_pipe unless it works.
6455
6477
  if test "$pipe_works" = yes; then
7009
7031
  ;;
7010
7032
esac
7011
7033
 
 
7034
 
 
7035
  case $host_os in
 
7036
    rhapsody* | darwin*)
 
7037
    if test -n "$ac_tool_prefix"; then
 
7038
  # Extract the first word of "${ac_tool_prefix}dsymutil", so it can be a program name with args.
 
7039
set dummy ${ac_tool_prefix}dsymutil; ac_word=$2
 
7040
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
 
7041
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
 
7042
if test "${ac_cv_prog_DSYMUTIL+set}" = set; then
 
7043
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
7044
else
 
7045
  if test -n "$DSYMUTIL"; then
 
7046
  ac_cv_prog_DSYMUTIL="$DSYMUTIL" # Let the user override the test.
 
7047
else
 
7048
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
7049
for as_dir in $PATH
 
7050
do
 
7051
  IFS=$as_save_IFS
 
7052
  test -z "$as_dir" && as_dir=.
 
7053
  for ac_exec_ext in '' $ac_executable_extensions; do
 
7054
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 
7055
    ac_cv_prog_DSYMUTIL="${ac_tool_prefix}dsymutil"
 
7056
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
7057
    break 2
 
7058
  fi
 
7059
done
 
7060
done
 
7061
IFS=$as_save_IFS
 
7062
 
 
7063
fi
 
7064
fi
 
7065
DSYMUTIL=$ac_cv_prog_DSYMUTIL
 
7066
if test -n "$DSYMUTIL"; then
 
7067
  { echo "$as_me:$LINENO: result: $DSYMUTIL" >&5
 
7068
echo "${ECHO_T}$DSYMUTIL" >&6; }
 
7069
else
 
7070
  { echo "$as_me:$LINENO: result: no" >&5
 
7071
echo "${ECHO_T}no" >&6; }
 
7072
fi
 
7073
 
 
7074
 
 
7075
fi
 
7076
if test -z "$ac_cv_prog_DSYMUTIL"; then
 
7077
  ac_ct_DSYMUTIL=$DSYMUTIL
 
7078
  # Extract the first word of "dsymutil", so it can be a program name with args.
 
7079
set dummy dsymutil; ac_word=$2
 
7080
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
 
7081
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
 
7082
if test "${ac_cv_prog_ac_ct_DSYMUTIL+set}" = set; then
 
7083
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
7084
else
 
7085
  if test -n "$ac_ct_DSYMUTIL"; then
 
7086
  ac_cv_prog_ac_ct_DSYMUTIL="$ac_ct_DSYMUTIL" # Let the user override the test.
 
7087
else
 
7088
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
7089
for as_dir in $PATH
 
7090
do
 
7091
  IFS=$as_save_IFS
 
7092
  test -z "$as_dir" && as_dir=.
 
7093
  for ac_exec_ext in '' $ac_executable_extensions; do
 
7094
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 
7095
    ac_cv_prog_ac_ct_DSYMUTIL="dsymutil"
 
7096
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
7097
    break 2
 
7098
  fi
 
7099
done
 
7100
done
 
7101
IFS=$as_save_IFS
 
7102
 
 
7103
fi
 
7104
fi
 
7105
ac_ct_DSYMUTIL=$ac_cv_prog_ac_ct_DSYMUTIL
 
7106
if test -n "$ac_ct_DSYMUTIL"; then
 
7107
  { echo "$as_me:$LINENO: result: $ac_ct_DSYMUTIL" >&5
 
7108
echo "${ECHO_T}$ac_ct_DSYMUTIL" >&6; }
 
7109
else
 
7110
  { echo "$as_me:$LINENO: result: no" >&5
 
7111
echo "${ECHO_T}no" >&6; }
 
7112
fi
 
7113
 
 
7114
  if test "x$ac_ct_DSYMUTIL" = x; then
 
7115
    DSYMUTIL=":"
 
7116
  else
 
7117
    case $cross_compiling:$ac_tool_warned in
 
7118
yes:)
 
7119
{ echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
 
7120
whose name does not start with the host triplet.  If you think this
 
7121
configuration is useful to you, please write to autoconf@gnu.org." >&5
 
7122
echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
 
7123
whose name does not start with the host triplet.  If you think this
 
7124
configuration is useful to you, please write to autoconf@gnu.org." >&2;}
 
7125
ac_tool_warned=yes ;;
 
7126
esac
 
7127
    DSYMUTIL=$ac_ct_DSYMUTIL
 
7128
  fi
 
7129
else
 
7130
  DSYMUTIL="$ac_cv_prog_DSYMUTIL"
 
7131
fi
 
7132
 
 
7133
    if test -n "$ac_tool_prefix"; then
 
7134
  # Extract the first word of "${ac_tool_prefix}nmedit", so it can be a program name with args.
 
7135
set dummy ${ac_tool_prefix}nmedit; ac_word=$2
 
7136
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
 
7137
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
 
7138
if test "${ac_cv_prog_NMEDIT+set}" = set; then
 
7139
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
7140
else
 
7141
  if test -n "$NMEDIT"; then
 
7142
  ac_cv_prog_NMEDIT="$NMEDIT" # Let the user override the test.
 
7143
else
 
7144
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
7145
for as_dir in $PATH
 
7146
do
 
7147
  IFS=$as_save_IFS
 
7148
  test -z "$as_dir" && as_dir=.
 
7149
  for ac_exec_ext in '' $ac_executable_extensions; do
 
7150
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 
7151
    ac_cv_prog_NMEDIT="${ac_tool_prefix}nmedit"
 
7152
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
7153
    break 2
 
7154
  fi
 
7155
done
 
7156
done
 
7157
IFS=$as_save_IFS
 
7158
 
 
7159
fi
 
7160
fi
 
7161
NMEDIT=$ac_cv_prog_NMEDIT
 
7162
if test -n "$NMEDIT"; then
 
7163
  { echo "$as_me:$LINENO: result: $NMEDIT" >&5
 
7164
echo "${ECHO_T}$NMEDIT" >&6; }
 
7165
else
 
7166
  { echo "$as_me:$LINENO: result: no" >&5
 
7167
echo "${ECHO_T}no" >&6; }
 
7168
fi
 
7169
 
 
7170
 
 
7171
fi
 
7172
if test -z "$ac_cv_prog_NMEDIT"; then
 
7173
  ac_ct_NMEDIT=$NMEDIT
 
7174
  # Extract the first word of "nmedit", so it can be a program name with args.
 
7175
set dummy nmedit; ac_word=$2
 
7176
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
 
7177
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
 
7178
if test "${ac_cv_prog_ac_ct_NMEDIT+set}" = set; then
 
7179
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
7180
else
 
7181
  if test -n "$ac_ct_NMEDIT"; then
 
7182
  ac_cv_prog_ac_ct_NMEDIT="$ac_ct_NMEDIT" # Let the user override the test.
 
7183
else
 
7184
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
7185
for as_dir in $PATH
 
7186
do
 
7187
  IFS=$as_save_IFS
 
7188
  test -z "$as_dir" && as_dir=.
 
7189
  for ac_exec_ext in '' $ac_executable_extensions; do
 
7190
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 
7191
    ac_cv_prog_ac_ct_NMEDIT="nmedit"
 
7192
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
7193
    break 2
 
7194
  fi
 
7195
done
 
7196
done
 
7197
IFS=$as_save_IFS
 
7198
 
 
7199
fi
 
7200
fi
 
7201
ac_ct_NMEDIT=$ac_cv_prog_ac_ct_NMEDIT
 
7202
if test -n "$ac_ct_NMEDIT"; then
 
7203
  { echo "$as_me:$LINENO: result: $ac_ct_NMEDIT" >&5
 
7204
echo "${ECHO_T}$ac_ct_NMEDIT" >&6; }
 
7205
else
 
7206
  { echo "$as_me:$LINENO: result: no" >&5
 
7207
echo "${ECHO_T}no" >&6; }
 
7208
fi
 
7209
 
 
7210
  if test "x$ac_ct_NMEDIT" = x; then
 
7211
    NMEDIT=":"
 
7212
  else
 
7213
    case $cross_compiling:$ac_tool_warned in
 
7214
yes:)
 
7215
{ echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
 
7216
whose name does not start with the host triplet.  If you think this
 
7217
configuration is useful to you, please write to autoconf@gnu.org." >&5
 
7218
echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
 
7219
whose name does not start with the host triplet.  If you think this
 
7220
configuration is useful to you, please write to autoconf@gnu.org." >&2;}
 
7221
ac_tool_warned=yes ;;
 
7222
esac
 
7223
    NMEDIT=$ac_ct_NMEDIT
 
7224
  fi
 
7225
else
 
7226
  NMEDIT="$ac_cv_prog_NMEDIT"
 
7227
fi
 
7228
 
 
7229
 
 
7230
    { echo "$as_me:$LINENO: checking for -single_module linker flag" >&5
 
7231
echo $ECHO_N "checking for -single_module linker flag... $ECHO_C" >&6; }
 
7232
if test "${lt_cv_apple_cc_single_mod+set}" = set; then
 
7233
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
7234
else
 
7235
  lt_cv_apple_cc_single_mod=no
 
7236
      if test -z "${LT_MULTI_MODULE}"; then
 
7237
   # By default we will add the -single_module flag. You can override
 
7238
   # by either setting the environment variable LT_MULTI_MODULE
 
7239
   # non-empty at configure time, or by adding -multi_module to the
 
7240
   # link flags.
 
7241
   echo "int foo(void){return 1;}" > conftest.c
 
7242
   $LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
 
7243
     -dynamiclib ${wl}-single_module conftest.c
 
7244
   if test -f libconftest.dylib; then
 
7245
     lt_cv_apple_cc_single_mod=yes
 
7246
     rm -rf libconftest.dylib*
 
7247
   fi
 
7248
   rm conftest.c
 
7249
      fi
 
7250
fi
 
7251
{ echo "$as_me:$LINENO: result: $lt_cv_apple_cc_single_mod" >&5
 
7252
echo "${ECHO_T}$lt_cv_apple_cc_single_mod" >&6; }
 
7253
    { echo "$as_me:$LINENO: checking for -exported_symbols_list linker flag" >&5
 
7254
echo $ECHO_N "checking for -exported_symbols_list linker flag... $ECHO_C" >&6; }
 
7255
if test "${lt_cv_ld_exported_symbols_list+set}" = set; then
 
7256
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
7257
else
 
7258
  lt_cv_ld_exported_symbols_list=no
 
7259
      save_LDFLAGS=$LDFLAGS
 
7260
      echo "_main" > conftest.sym
 
7261
      LDFLAGS="$LDFLAGS -Wl,-exported_symbols_list,conftest.sym"
 
7262
      cat >conftest.$ac_ext <<_ACEOF
 
7263
/* confdefs.h.  */
 
7264
_ACEOF
 
7265
cat confdefs.h >>conftest.$ac_ext
 
7266
cat >>conftest.$ac_ext <<_ACEOF
 
7267
/* end confdefs.h.  */
 
7268
 
 
7269
int
 
7270
main ()
 
7271
{
 
7272
 
 
7273
  ;
 
7274
  return 0;
 
7275
}
 
7276
_ACEOF
 
7277
rm -f conftest.$ac_objext conftest$ac_exeext
 
7278
if { (ac_try="$ac_link"
 
7279
case "(($ac_try" in
 
7280
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
7281
  *) ac_try_echo=$ac_try;;
 
7282
esac
 
7283
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
7284
  (eval "$ac_link") 2>conftest.er1
 
7285
  ac_status=$?
 
7286
  grep -v '^ *+' conftest.er1 >conftest.err
 
7287
  rm -f conftest.er1
 
7288
  cat conftest.err >&5
 
7289
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
7290
  (exit $ac_status); } && {
 
7291
         test -z "$ac_c_werror_flag" ||
 
7292
         test ! -s conftest.err
 
7293
       } && test -s conftest$ac_exeext &&
 
7294
       $as_test_x conftest$ac_exeext; then
 
7295
  lt_cv_ld_exported_symbols_list=yes
 
7296
else
 
7297
  echo "$as_me: failed program was:" >&5
 
7298
sed 's/^/| /' conftest.$ac_ext >&5
 
7299
 
 
7300
        lt_cv_ld_exported_symbols_list=no
 
7301
fi
 
7302
 
 
7303
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
 
7304
      conftest$ac_exeext conftest.$ac_ext
 
7305
   LDFLAGS="$save_LDFLAGS"
 
7306
 
 
7307
fi
 
7308
{ echo "$as_me:$LINENO: result: $lt_cv_ld_exported_symbols_list" >&5
 
7309
echo "${ECHO_T}$lt_cv_ld_exported_symbols_list" >&6; }
 
7310
    case $host_os in
 
7311
    rhapsody* | darwin1.[0123])
 
7312
      _lt_dar_allow_undefined='${wl}-undefined ${wl}suppress' ;;
 
7313
    darwin1.*)
 
7314
     _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
 
7315
    darwin*)
 
7316
      # if running on 10.5 or later, the deployment target defaults
 
7317
      # to the OS version, if on x86, and 10.4, the deployment
 
7318
      # target defaults to 10.4. Don't you love it?
 
7319
      case ${MACOSX_DEPLOYMENT_TARGET-10.0},$host in
 
7320
   10.0,*86*-darwin8*|10.0,*-darwin[91]*)
 
7321
     _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
 
7322
   10.[012]*)
 
7323
     _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
 
7324
   10.*)
 
7325
     _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
 
7326
      esac
 
7327
    ;;
 
7328
  esac
 
7329
    if test "$lt_cv_apple_cc_single_mod" = "yes"; then
 
7330
      _lt_dar_single_mod='$single_module'
 
7331
    fi
 
7332
    if test "$lt_cv_ld_exported_symbols_list" = "yes"; then
 
7333
      _lt_dar_export_syms=' ${wl}-exported_symbols_list,$output_objdir/${libname}-symbols.expsym'
 
7334
    else
 
7335
      _lt_dar_export_syms="~$NMEDIT -s \$output_objdir/\${libname}-symbols.expsym \${lib}"
 
7336
    fi
 
7337
    if test "$DSYMUTIL" != ":"; then
 
7338
      _lt_dsymutil="~$DSYMUTIL \$lib || :"
 
7339
    else
 
7340
      _lt_dsymutil=
 
7341
    fi
 
7342
    ;;
 
7343
  esac
 
7344
 
 
7345
 
7012
7346
enable_dlopen=no
7013
7347
enable_win32_dll=no
7014
7348
 
7074
7408
echo "$lt_simple_link_test_code" >conftest.$ac_ext
7075
7409
eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
7076
7410
_lt_linker_boilerplate=`cat conftest.err`
7077
 
$rm conftest*
 
7411
$rm -r conftest*
7078
7412
 
7079
7413
 
7080
7414
 
7102
7436
   -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
7103
7437
   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
7104
7438
   -e 's:$: $lt_compiler_flag:'`
7105
 
   (eval echo "\"\$as_me:7105: $lt_compile\"" >&5)
 
7439
   (eval echo "\"\$as_me:7439: $lt_compile\"" >&5)
7106
7440
   (eval "$lt_compile" 2>conftest.err)
7107
7441
   ac_status=$?
7108
7442
   cat conftest.err >&5
7109
 
   echo "$as_me:7109: \$? = $ac_status" >&5
 
7443
   echo "$as_me:7443: \$? = $ac_status" >&5
7110
7444
   if (exit $ac_status) && test -s "$ac_outfile"; then
7111
7445
     # The compiler can only warn and ignore the option if not recognized
7112
7446
     # So say no if there are warnings other than the usual output.
7376
7710
 
7377
7711
{ echo "$as_me:$LINENO: checking if $compiler PIC flag $lt_prog_compiler_pic works" >&5
7378
7712
echo $ECHO_N "checking if $compiler PIC flag $lt_prog_compiler_pic works... $ECHO_C" >&6; }
7379
 
if test "${lt_prog_compiler_pic_works+set}" = set; then
 
7713
if test "${lt_cv_prog_compiler_pic_works+set}" = set; then
7380
7714
  echo $ECHO_N "(cached) $ECHO_C" >&6
7381
7715
else
7382
 
  lt_prog_compiler_pic_works=no
 
7716
  lt_cv_prog_compiler_pic_works=no
7383
7717
  ac_outfile=conftest.$ac_objext
7384
7718
   echo "$lt_simple_compile_test_code" > conftest.$ac_ext
7385
7719
   lt_compiler_flag="$lt_prog_compiler_pic -DPIC"
7392
7726
   -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
7393
7727
   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
7394
7728
   -e 's:$: $lt_compiler_flag:'`
7395
 
   (eval echo "\"\$as_me:7395: $lt_compile\"" >&5)
 
7729
   (eval echo "\"\$as_me:7729: $lt_compile\"" >&5)
7396
7730
   (eval "$lt_compile" 2>conftest.err)
7397
7731
   ac_status=$?
7398
7732
   cat conftest.err >&5
7399
 
   echo "$as_me:7399: \$? = $ac_status" >&5
 
7733
   echo "$as_me:7733: \$? = $ac_status" >&5
7400
7734
   if (exit $ac_status) && test -s "$ac_outfile"; then
7401
7735
     # The compiler can only warn and ignore the option if not recognized
7402
7736
     # So say no if there are warnings other than the usual output.
7403
7737
     $echo "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' >conftest.exp
7404
7738
     $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
7405
7739
     if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
7406
 
       lt_prog_compiler_pic_works=yes
 
7740
       lt_cv_prog_compiler_pic_works=yes
7407
7741
     fi
7408
7742
   fi
7409
7743
   $rm conftest*
7410
7744
 
7411
7745
fi
7412
 
{ echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_works" >&5
7413
 
echo "${ECHO_T}$lt_prog_compiler_pic_works" >&6; }
 
7746
{ echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_pic_works" >&5
 
7747
echo "${ECHO_T}$lt_cv_prog_compiler_pic_works" >&6; }
7414
7748
 
7415
 
if test x"$lt_prog_compiler_pic_works" = xyes; then
 
7749
if test x"$lt_cv_prog_compiler_pic_works" = xyes; then
7416
7750
    case $lt_prog_compiler_pic in
7417
7751
     "" | " "*) ;;
7418
7752
     *) lt_prog_compiler_pic=" $lt_prog_compiler_pic" ;;
7439
7773
wl=$lt_prog_compiler_wl eval lt_tmp_static_flag=\"$lt_prog_compiler_static\"
7440
7774
{ echo "$as_me:$LINENO: checking if $compiler static flag $lt_tmp_static_flag works" >&5
7441
7775
echo $ECHO_N "checking if $compiler static flag $lt_tmp_static_flag works... $ECHO_C" >&6; }
7442
 
if test "${lt_prog_compiler_static_works+set}" = set; then
 
7776
if test "${lt_cv_prog_compiler_static_works+set}" = set; then
7443
7777
  echo $ECHO_N "(cached) $ECHO_C" >&6
7444
7778
else
7445
 
  lt_prog_compiler_static_works=no
 
7779
  lt_cv_prog_compiler_static_works=no
7446
7780
   save_LDFLAGS="$LDFLAGS"
7447
7781
   LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
7448
7782
   echo "$lt_simple_link_test_code" > conftest.$ac_ext
7455
7789
       $echo "X$_lt_linker_boilerplate" | $Xsed -e '/^$/d' > conftest.exp
7456
7790
       $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
7457
7791
       if diff conftest.exp conftest.er2 >/dev/null; then
7458
 
         lt_prog_compiler_static_works=yes
 
7792
         lt_cv_prog_compiler_static_works=yes
7459
7793
       fi
7460
7794
     else
7461
 
       lt_prog_compiler_static_works=yes
 
7795
       lt_cv_prog_compiler_static_works=yes
7462
7796
     fi
7463
7797
   fi
7464
 
   $rm conftest*
 
7798
   $rm -r conftest*
7465
7799
   LDFLAGS="$save_LDFLAGS"
7466
7800
 
7467
7801
fi
7468
 
{ echo "$as_me:$LINENO: result: $lt_prog_compiler_static_works" >&5
7469
 
echo "${ECHO_T}$lt_prog_compiler_static_works" >&6; }
 
7802
{ echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_static_works" >&5
 
7803
echo "${ECHO_T}$lt_cv_prog_compiler_static_works" >&6; }
7470
7804
 
7471
 
if test x"$lt_prog_compiler_static_works" = xyes; then
 
7805
if test x"$lt_cv_prog_compiler_static_works" = xyes; then
7472
7806
    :
7473
7807
else
7474
7808
    lt_prog_compiler_static=
7496
7830
   -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
7497
7831
   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
7498
7832
   -e 's:$: $lt_compiler_flag:'`
7499
 
   (eval echo "\"\$as_me:7499: $lt_compile\"" >&5)
 
7833
   (eval echo "\"\$as_me:7833: $lt_compile\"" >&5)
7500
7834
   (eval "$lt_compile" 2>out/conftest.err)
7501
7835
   ac_status=$?
7502
7836
   cat out/conftest.err >&5
7503
 
   echo "$as_me:7503: \$? = $ac_status" >&5
 
7837
   echo "$as_me:7837: \$? = $ac_status" >&5
7504
7838
   if (exit $ac_status) && test -s out/conftest2.$ac_objext
7505
7839
   then
7506
7840
     # The compiler can only warn and ignore the option if not recognized
7580
7914
  # it will be wrapped by ` (' and `)$', so one must not match beginning or
7581
7915
  # end of line.  Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
7582
7916
  # as well as any symbol that contains `d'.
7583
 
  exclude_expsyms="_GLOBAL_OFFSET_TABLE_"
 
7917
  exclude_expsyms='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
7584
7918
  # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
7585
7919
  # platforms (ab)use it in PIC code, but their linkers get confused if
7586
7920
  # the symbol is explicitly referenced.  Since portable code cannot
7587
7921
  # rely on this symbol name, it's probably fine to never include it in
7588
7922
  # preloaded symbol tables.
 
7923
  # Exclude shared library initialization/finalization symbols.
7589
7924
  extract_expsyms_cmds=
7590
7925
  # Just being paranoid about ensuring that cc_basename is set.
7591
7926
  for cc_temp in $compiler""; do
7644
7979
 
7645
7980
    # See if GNU ld supports shared libraries.
7646
7981
    case $host_os in
7647
 
    aix3* | aix4* | aix5*)
 
7982
    aix[3-9]*)
7648
7983
      # On AIX/PPC, the GNU linker is very broken
7649
7984
      if test "$host_cpu" != ia64; then
7650
7985
        ld_shlibs=no
7864
8199
      fi
7865
8200
      ;;
7866
8201
 
7867
 
    aix4* | aix5*)
 
8202
    aix[4-9]*)
7868
8203
      if test "$host_cpu" = ia64; then
7869
8204
        # On IA64, the linker does run time linking by default, so we don't
7870
8205
        # have to do anything special.
7884
8219
        # Test if we are trying to use run time linking or normal
7885
8220
        # AIX style linking. If -brtl is somewhere in LDFLAGS, we
7886
8221
        # need to do runtime linking.
7887
 
        case $host_os in aix4.[23]|aix4.[23].*|aix5*)
 
8222
        case $host_os in aix4.[23]|aix4.[23].*|aix[5-9]*)
7888
8223
          for ld_flag in $LDFLAGS; do
7889
8224
          if (test $ld_flag = "-brtl" || test $ld_flag = "-Wl,-brtl"); then
7890
8225
            aix_use_runtimelinking=yes
8156
8491
      link_all_deplibs=yes
8157
8492
    if test "$GCC" = yes ; then
8158
8493
        output_verbose_link_cmd='echo'
8159
 
        archive_cmds='$CC -dynamiclib $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags -install_name $rpath/$soname $verstring'
8160
 
      module_cmds='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
8161
 
      # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin lds
8162
 
      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}'
8163
 
      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}'
 
8494
        archive_cmds="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod${_lt_dsymutil}"
 
8495
        module_cmds="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}"
 
8496
        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}"
 
8497
        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}"
8164
8498
    else
8165
8499
      case $cc_basename in
8166
8500
        xlc*)
8680
9014
  soname_spec='${libname}${release}${shared_ext}$major'
8681
9015
  ;;
8682
9016
 
8683
 
aix4* | aix5*)
 
9017
aix[4-9]*)
8684
9018
  version_type=linux
8685
9019
  need_lib_prefix=no
8686
9020
  need_version=no
9214
9548
echo "${ECHO_T}$dynamic_linker" >&6; }
9215
9549
test "$dynamic_linker" = no && can_build_shared=no
9216
9550
 
 
9551
if test "${lt_cv_sys_lib_search_path_spec+set}" = set; then
 
9552
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
9553
else
 
9554
  lt_cv_sys_lib_search_path_spec="$sys_lib_search_path_spec"
 
9555
fi
 
9556
 
 
9557
sys_lib_search_path_spec="$lt_cv_sys_lib_search_path_spec"
 
9558
if test "${lt_cv_sys_lib_dlsearch_path_spec+set}" = set; then
 
9559
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
9560
else
 
9561
  lt_cv_sys_lib_dlsearch_path_spec="$sys_lib_dlsearch_path_spec"
 
9562
fi
 
9563
 
 
9564
sys_lib_dlsearch_path_spec="$lt_cv_sys_lib_dlsearch_path_spec"
 
9565
 
9217
9566
variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
9218
9567
if test "$GCC" = yes; then
9219
9568
  variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
9533
9882
{ echo "$as_me:$LINENO: result: $ac_cv_lib_dld_shl_load" >&5
9534
9883
echo "${ECHO_T}$ac_cv_lib_dld_shl_load" >&6; }
9535
9884
if test $ac_cv_lib_dld_shl_load = yes; then
9536
 
  lt_cv_dlopen="shl_load" lt_cv_dlopen_libs="-dld"
 
9885
  lt_cv_dlopen="shl_load" lt_cv_dlopen_libs="-ldld"
9537
9886
else
9538
9887
  { echo "$as_me:$LINENO: checking for dlopen" >&5
9539
9888
echo $ECHO_N "checking for dlopen... $ECHO_C" >&6; }
9809
10158
{ echo "$as_me:$LINENO: result: $ac_cv_lib_dld_dld_link" >&5
9810
10159
echo "${ECHO_T}$ac_cv_lib_dld_dld_link" >&6; }
9811
10160
if test $ac_cv_lib_dld_dld_link = yes; then
9812
 
  lt_cv_dlopen="dld_link" lt_cv_dlopen_libs="-dld"
 
10161
  lt_cv_dlopen="dld_link" lt_cv_dlopen_libs="-ldld"
9813
10162
fi
9814
10163
 
9815
10164
 
9858
10207
  lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
9859
10208
  lt_status=$lt_dlunknown
9860
10209
  cat > conftest.$ac_ext <<EOF
9861
 
#line 9861 "configure"
 
10210
#line 10210 "configure"
9862
10211
#include "confdefs.h"
9863
10212
 
9864
10213
#if HAVE_DLFCN_H
9958
10307
  lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
9959
10308
  lt_status=$lt_dlunknown
9960
10309
  cat > conftest.$ac_ext <<EOF
9961
 
#line 9961 "configure"
 
10310
#line 10310 "configure"
9962
10311
#include "confdefs.h"
9963
10312
 
9964
10313
#if HAVE_DLFCN_H
10085
10434
  fi
10086
10435
  ;;
10087
10436
 
10088
 
aix4* | aix5*)
 
10437
aix[4-9]*)
10089
10438
  if test "$host_cpu" != ia64 && test "$aix_use_runtimelinking" = no ; then
10090
10439
    test "$enable_shared" = yes && enable_static=no
10091
10440
  fi
10141
10490
    predeps \
10142
10491
    postdeps \
10143
10492
    compiler_lib_search_path \
 
10493
    compiler_lib_search_dirs \
10144
10494
    archive_cmds \
10145
10495
    archive_expsym_cmds \
10146
10496
    postinstall_cmds \
10201
10551
# Generated automatically by $PROGRAM (GNU $PACKAGE $VERSION$TIMESTAMP)
10202
10552
# NOTE: Changes made to this file will be lost: look at ltmain.sh.
10203
10553
#
10204
 
# Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004, 2005, 2006, 2007
 
10554
# Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004, 2005, 2006, 2007, 2008
10205
10555
# Free Software Foundation, Inc.
10206
10556
#
10207
10557
# This file is part of GNU Libtool:
10437
10787
# shared library.
10438
10788
postdeps=$lt_postdeps
10439
10789
 
 
10790
# The directories searched by this compiler when creating a shared
 
10791
# library
 
10792
compiler_lib_search_dirs=$lt_compiler_lib_search_dirs
 
10793
 
10440
10794
# The library search path used internally by the compiler when linking
10441
10795
# a shared library.
10442
10796
compiler_lib_search_path=$lt_compiler_lib_search_path
10685
11039
predeps_CXX=
10686
11040
postdeps_CXX=
10687
11041
compiler_lib_search_path_CXX=
 
11042
compiler_lib_search_dirs_CXX=
10688
11043
 
10689
11044
# Source file extension for C++ test sources.
10690
11045
ac_ext=cpp
10722
11077
echo "$lt_simple_link_test_code" >conftest.$ac_ext
10723
11078
eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
10724
11079
_lt_linker_boilerplate=`cat conftest.err`
10725
 
$rm conftest*
 
11080
$rm -r conftest*
10726
11081
 
10727
11082
 
10728
11083
# Allow CC to be a program name with arguments.
10929
11284
    # FIXME: insert proper C++ library support
10930
11285
    ld_shlibs_CXX=no
10931
11286
    ;;
10932
 
  aix4* | aix5*)
 
11287
  aix[4-9]*)
10933
11288
    if test "$host_cpu" = ia64; then
10934
11289
      # On IA64, the linker does run time linking by default, so we don't
10935
11290
      # have to do anything special.
10942
11297
      # Test if we are trying to use run time linking or normal
10943
11298
      # AIX style linking. If -brtl is somewhere in LDFLAGS, we
10944
11299
      # need to do runtime linking.
10945
 
      case $host_os in aix4.[23]|aix4.[23].*|aix5*)
 
11300
      case $host_os in aix4.[23]|aix4.[23].*|aix[5-9]*)
10946
11301
        for ld_flag in $LDFLAGS; do
10947
11302
          case $ld_flag in
10948
11303
          *-brtl*)
11200
11555
    fi
11201
11556
  ;;
11202
11557
      darwin* | rhapsody*)
11203
 
        case $host_os in
11204
 
        rhapsody* | darwin1.[012])
11205
 
         allow_undefined_flag_CXX='${wl}-undefined ${wl}suppress'
11206
 
         ;;
11207
 
       *) # Darwin 1.3 on
11208
 
         if test -z ${MACOSX_DEPLOYMENT_TARGET} ; then
11209
 
           allow_undefined_flag_CXX='${wl}-flat_namespace ${wl}-undefined ${wl}suppress'
11210
 
         else
11211
 
           case ${MACOSX_DEPLOYMENT_TARGET} in
11212
 
             10.[012])
11213
 
               allow_undefined_flag_CXX='${wl}-flat_namespace ${wl}-undefined ${wl}suppress'
11214
 
               ;;
11215
 
             10.*)
11216
 
               allow_undefined_flag_CXX='${wl}-undefined ${wl}dynamic_lookup'
11217
 
               ;;
11218
 
           esac
11219
 
         fi
11220
 
         ;;
11221
 
        esac
11222
11558
      archive_cmds_need_lc_CXX=no
11223
11559
      hardcode_direct_CXX=no
11224
11560
      hardcode_automatic_CXX=yes
11225
11561
      hardcode_shlibpath_var_CXX=unsupported
11226
11562
      whole_archive_flag_spec_CXX=''
11227
11563
      link_all_deplibs_CXX=yes
11228
 
 
11229
 
    if test "$GXX" = yes ; then
11230
 
      lt_int_apple_cc_single_mod=no
 
11564
      allow_undefined_flag_CXX="$_lt_dar_allow_undefined"
 
11565
      if test "$GXX" = yes ; then
11231
11566
      output_verbose_link_cmd='echo'
11232
 
      if $CC -dumpspecs 2>&1 | $EGREP 'single_module' >/dev/null ; then
11233
 
       lt_int_apple_cc_single_mod=yes
 
11567
      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}"
 
11568
      module_cmds_CXX="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}"
 
11569
      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}"
 
11570
      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}"
 
11571
      if test "$lt_cv_apple_cc_single_mod" != "yes"; then
 
11572
        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}"
 
11573
        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}"
11234
11574
      fi
11235
 
      if test "X$lt_int_apple_cc_single_mod" = Xyes ; then
11236
 
       archive_cmds_CXX='$CC -dynamiclib -single_module $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags -install_name $rpath/$soname $verstring'
11237
 
      else
11238
 
          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'
11239
 
        fi
11240
 
        module_cmds_CXX='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
11241
 
        # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin lds
11242
 
          if test "X$lt_int_apple_cc_single_mod" = Xyes ; then
11243
 
            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}'
11244
 
          else
11245
 
            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}'
11246
 
          fi
11247
 
            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}'
11248
11575
      else
11249
11576
      case $cc_basename in
11250
11577
        xlc*)
11495
11822
        export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
11496
11823
        whole_archive_flag_spec_CXX='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
11497
11824
        ;;
11498
 
      pgCC*)
 
11825
      pgCC* | pgcpp*)
11499
11826
        # Portland Group C++ compiler
11500
11827
        archive_cmds_CXX='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname -o $lib'
11501
11828
        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'
11902
12229
GCC_CXX="$GXX"
11903
12230
LD_CXX="$LD"
11904
12231
 
11905
 
 
11906
12232
cat > conftest.$ac_ext <<EOF
11907
12233
class Foo
11908
12234
{
12004
12330
 
12005
12331
$rm -f confest.$objext
12006
12332
 
 
12333
compiler_lib_search_dirs_CXX=
 
12334
if test -n "$compiler_lib_search_path_CXX"; then
 
12335
  compiler_lib_search_dirs_CXX=`echo " ${compiler_lib_search_path_CXX}" | ${SED} -e 's! -L! !g' -e 's!^ !!'`
 
12336
fi
 
12337
 
12007
12338
# PORTME: override above test on systems where it is broken
12008
12339
case $host_os in
12009
12340
interix[3-9]*)
12059
12390
  ;;
12060
12391
esac
12061
12392
 
12062
 
 
12063
12393
case " $postdeps_CXX " in
12064
12394
*" -lc "*) archive_cmds_need_lc_CXX=no ;;
12065
12395
esac
12135
12465
    esac
12136
12466
  else
12137
12467
    case $host_os in
12138
 
      aix4* | aix5*)
 
12468
      aix[4-9]*)
12139
12469
        # All AIX code is PIC.
12140
12470
        if test "$host_cpu" = ia64; then
12141
12471
          # AIX 5 now supports IA64 processor
12231
12561
            lt_prog_compiler_pic_CXX='-KPIC'
12232
12562
            lt_prog_compiler_static_CXX='-static'
12233
12563
            ;;
12234
 
          pgCC*)
 
12564
          pgCC* | pgcpp*)
12235
12565
            # Portland Group C++ compiler.
12236
12566
            lt_prog_compiler_wl_CXX='-Wl,'
12237
12567
            lt_prog_compiler_pic_CXX='-fpic'
12362
12692
 
12363
12693
{ echo "$as_me:$LINENO: checking if $compiler PIC flag $lt_prog_compiler_pic_CXX works" >&5
12364
12694
echo $ECHO_N "checking if $compiler PIC flag $lt_prog_compiler_pic_CXX works... $ECHO_C" >&6; }
12365
 
if test "${lt_prog_compiler_pic_works_CXX+set}" = set; then
 
12695
if test "${lt_cv_prog_compiler_pic_works_CXX+set}" = set; then
12366
12696
  echo $ECHO_N "(cached) $ECHO_C" >&6
12367
12697
else
12368
 
  lt_prog_compiler_pic_works_CXX=no
 
12698
  lt_cv_prog_compiler_pic_works_CXX=no
12369
12699
  ac_outfile=conftest.$ac_objext
12370
12700
   echo "$lt_simple_compile_test_code" > conftest.$ac_ext
12371
12701
   lt_compiler_flag="$lt_prog_compiler_pic_CXX -DPIC"
12378
12708
   -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
12379
12709
   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
12380
12710
   -e 's:$: $lt_compiler_flag:'`
12381
 
   (eval echo "\"\$as_me:12381: $lt_compile\"" >&5)
 
12711
   (eval echo "\"\$as_me:12711: $lt_compile\"" >&5)
12382
12712
   (eval "$lt_compile" 2>conftest.err)
12383
12713
   ac_status=$?
12384
12714
   cat conftest.err >&5
12385
 
   echo "$as_me:12385: \$? = $ac_status" >&5
 
12715
   echo "$as_me:12715: \$? = $ac_status" >&5
12386
12716
   if (exit $ac_status) && test -s "$ac_outfile"; then
12387
12717
     # The compiler can only warn and ignore the option if not recognized
12388
12718
     # So say no if there are warnings other than the usual output.
12389
12719
     $echo "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' >conftest.exp
12390
12720
     $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
12391
12721
     if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
12392
 
       lt_prog_compiler_pic_works_CXX=yes
 
12722
       lt_cv_prog_compiler_pic_works_CXX=yes
12393
12723
     fi
12394
12724
   fi
12395
12725
   $rm conftest*
12396
12726
 
12397
12727
fi
12398
 
{ echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_works_CXX" >&5
12399
 
echo "${ECHO_T}$lt_prog_compiler_pic_works_CXX" >&6; }
 
12728
{ echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_pic_works_CXX" >&5
 
12729
echo "${ECHO_T}$lt_cv_prog_compiler_pic_works_CXX" >&6; }
12400
12730
 
12401
 
if test x"$lt_prog_compiler_pic_works_CXX" = xyes; then
 
12731
if test x"$lt_cv_prog_compiler_pic_works_CXX" = xyes; then
12402
12732
    case $lt_prog_compiler_pic_CXX in
12403
12733
     "" | " "*) ;;
12404
12734
     *) lt_prog_compiler_pic_CXX=" $lt_prog_compiler_pic_CXX" ;;
12425
12755
wl=$lt_prog_compiler_wl_CXX eval lt_tmp_static_flag=\"$lt_prog_compiler_static_CXX\"
12426
12756
{ echo "$as_me:$LINENO: checking if $compiler static flag $lt_tmp_static_flag works" >&5
12427
12757
echo $ECHO_N "checking if $compiler static flag $lt_tmp_static_flag works... $ECHO_C" >&6; }
12428
 
if test "${lt_prog_compiler_static_works_CXX+set}" = set; then
 
12758
if test "${lt_cv_prog_compiler_static_works_CXX+set}" = set; then
12429
12759
  echo $ECHO_N "(cached) $ECHO_C" >&6
12430
12760
else
12431
 
  lt_prog_compiler_static_works_CXX=no
 
12761
  lt_cv_prog_compiler_static_works_CXX=no
12432
12762
   save_LDFLAGS="$LDFLAGS"
12433
12763
   LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
12434
12764
   echo "$lt_simple_link_test_code" > conftest.$ac_ext
12441
12771
       $echo "X$_lt_linker_boilerplate" | $Xsed -e '/^$/d' > conftest.exp
12442
12772
       $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
12443
12773
       if diff conftest.exp conftest.er2 >/dev/null; then
12444
 
         lt_prog_compiler_static_works_CXX=yes
 
12774
         lt_cv_prog_compiler_static_works_CXX=yes
12445
12775
       fi
12446
12776
     else
12447
 
       lt_prog_compiler_static_works_CXX=yes
 
12777
       lt_cv_prog_compiler_static_works_CXX=yes
12448
12778
     fi
12449
12779
   fi
12450
 
   $rm conftest*
 
12780
   $rm -r conftest*
12451
12781
   LDFLAGS="$save_LDFLAGS"
12452
12782
 
12453
12783
fi
12454
 
{ echo "$as_me:$LINENO: result: $lt_prog_compiler_static_works_CXX" >&5
12455
 
echo "${ECHO_T}$lt_prog_compiler_static_works_CXX" >&6; }
 
12784
{ echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_static_works_CXX" >&5
 
12785
echo "${ECHO_T}$lt_cv_prog_compiler_static_works_CXX" >&6; }
12456
12786
 
12457
 
if test x"$lt_prog_compiler_static_works_CXX" = xyes; then
 
12787
if test x"$lt_cv_prog_compiler_static_works_CXX" = xyes; then
12458
12788
    :
12459
12789
else
12460
12790
    lt_prog_compiler_static_CXX=
12482
12812
   -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
12483
12813
   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
12484
12814
   -e 's:$: $lt_compiler_flag:'`
12485
 
   (eval echo "\"\$as_me:12485: $lt_compile\"" >&5)
 
12815
   (eval echo "\"\$as_me:12815: $lt_compile\"" >&5)
12486
12816
   (eval "$lt_compile" 2>out/conftest.err)
12487
12817
   ac_status=$?
12488
12818
   cat out/conftest.err >&5
12489
 
   echo "$as_me:12489: \$? = $ac_status" >&5
 
12819
   echo "$as_me:12819: \$? = $ac_status" >&5
12490
12820
   if (exit $ac_status) && test -s out/conftest2.$ac_objext
12491
12821
   then
12492
12822
     # The compiler can only warn and ignore the option if not recognized
12539
12869
 
12540
12870
  export_symbols_cmds_CXX='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
12541
12871
  case $host_os in
12542
 
  aix4* | aix5*)
 
12872
  aix[4-9]*)
12543
12873
    # If we're using GNU nm, then we don't want the "-C" option.
12544
12874
    # -C means demangle to AIX nm, but means don't demangle with GNU nm
12545
12875
    if $NM -V 2>&1 | grep 'GNU' > /dev/null; then
12561
12891
    export_symbols_cmds_CXX='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
12562
12892
  ;;
12563
12893
  esac
 
12894
  exclude_expsyms_CXX='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
12564
12895
 
12565
12896
{ echo "$as_me:$LINENO: result: $ld_shlibs_CXX" >&5
12566
12897
echo "${ECHO_T}$ld_shlibs_CXX" >&6; }
12662
12993
  soname_spec='${libname}${release}${shared_ext}$major'
12663
12994
  ;;
12664
12995
 
12665
 
aix4* | aix5*)
 
12996
aix[4-9]*)
12666
12997
  version_type=linux
12667
12998
  need_lib_prefix=no
12668
12999
  need_version=no
13195
13526
echo "${ECHO_T}$dynamic_linker" >&6; }
13196
13527
test "$dynamic_linker" = no && can_build_shared=no
13197
13528
 
 
13529
if test "${lt_cv_sys_lib_search_path_spec+set}" = set; then
 
13530
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
13531
else
 
13532
  lt_cv_sys_lib_search_path_spec="$sys_lib_search_path_spec"
 
13533
fi
 
13534
 
 
13535
sys_lib_search_path_spec="$lt_cv_sys_lib_search_path_spec"
 
13536
if test "${lt_cv_sys_lib_dlsearch_path_spec+set}" = set; then
 
13537
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
13538
else
 
13539
  lt_cv_sys_lib_dlsearch_path_spec="$sys_lib_dlsearch_path_spec"
 
13540
fi
 
13541
 
 
13542
sys_lib_dlsearch_path_spec="$lt_cv_sys_lib_dlsearch_path_spec"
 
13543
 
13198
13544
variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
13199
13545
if test "$GCC" = yes; then
13200
13546
  variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
13278
13624
    predeps_CXX \
13279
13625
    postdeps_CXX \
13280
13626
    compiler_lib_search_path_CXX \
 
13627
    compiler_lib_search_dirs_CXX \
13281
13628
    archive_cmds_CXX \
13282
13629
    archive_expsym_cmds_CXX \
13283
13630
    postinstall_cmds_CXX \
13526
13873
# shared library.
13527
13874
postdeps=$lt_postdeps_CXX
13528
13875
 
 
13876
# The directories searched by this compiler when creating a shared
 
13877
# library
 
13878
compiler_lib_search_dirs=$lt_compiler_lib_search_dirs_CXX
 
13879
 
13529
13880
# The library search path used internally by the compiler when linking
13530
13881
# a shared library.
13531
13882
compiler_lib_search_path=$lt_compiler_lib_search_path_CXX
13740
14091
echo "$lt_simple_link_test_code" >conftest.$ac_ext
13741
14092
eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
13742
14093
_lt_linker_boilerplate=`cat conftest.err`
13743
 
$rm conftest*
 
14094
$rm -r conftest*
13744
14095
 
13745
14096
 
13746
14097
# Allow CC to be a program name with arguments.
13778
14129
    postinstall_cmds='$RANLIB $lib'
13779
14130
  fi
13780
14131
  ;;
13781
 
aix4* | aix5*)
 
14132
aix[4-9]*)
13782
14133
  if test "$host_cpu" != ia64 && test "$aix_use_runtimelinking" = no ; then
13783
14134
    test "$enable_shared" = yes && enable_static=no
13784
14135
  fi
14043
14394
 
14044
14395
{ echo "$as_me:$LINENO: checking if $compiler PIC flag $lt_prog_compiler_pic_F77 works" >&5
14045
14396
echo $ECHO_N "checking if $compiler PIC flag $lt_prog_compiler_pic_F77 works... $ECHO_C" >&6; }
14046
 
if test "${lt_prog_compiler_pic_works_F77+set}" = set; then
 
14397
if test "${lt_cv_prog_compiler_pic_works_F77+set}" = set; then
14047
14398
  echo $ECHO_N "(cached) $ECHO_C" >&6
14048
14399
else
14049
 
  lt_prog_compiler_pic_works_F77=no
 
14400
  lt_cv_prog_compiler_pic_works_F77=no
14050
14401
  ac_outfile=conftest.$ac_objext
14051
14402
   echo "$lt_simple_compile_test_code" > conftest.$ac_ext
14052
14403
   lt_compiler_flag="$lt_prog_compiler_pic_F77"
14059
14410
   -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
14060
14411
   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
14061
14412
   -e 's:$: $lt_compiler_flag:'`
14062
 
   (eval echo "\"\$as_me:14062: $lt_compile\"" >&5)
 
14413
   (eval echo "\"\$as_me:14413: $lt_compile\"" >&5)
14063
14414
   (eval "$lt_compile" 2>conftest.err)
14064
14415
   ac_status=$?
14065
14416
   cat conftest.err >&5
14066
 
   echo "$as_me:14066: \$? = $ac_status" >&5
 
14417
   echo "$as_me:14417: \$? = $ac_status" >&5
14067
14418
   if (exit $ac_status) && test -s "$ac_outfile"; then
14068
14419
     # The compiler can only warn and ignore the option if not recognized
14069
14420
     # So say no if there are warnings other than the usual output.
14070
14421
     $echo "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' >conftest.exp
14071
14422
     $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
14072
14423
     if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
14073
 
       lt_prog_compiler_pic_works_F77=yes
 
14424
       lt_cv_prog_compiler_pic_works_F77=yes
14074
14425
     fi
14075
14426
   fi
14076
14427
   $rm conftest*
14077
14428
 
14078
14429
fi
14079
 
{ echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_works_F77" >&5
14080
 
echo "${ECHO_T}$lt_prog_compiler_pic_works_F77" >&6; }
 
14430
{ echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_pic_works_F77" >&5
 
14431
echo "${ECHO_T}$lt_cv_prog_compiler_pic_works_F77" >&6; }
14081
14432
 
14082
 
if test x"$lt_prog_compiler_pic_works_F77" = xyes; then
 
14433
if test x"$lt_cv_prog_compiler_pic_works_F77" = xyes; then
14083
14434
    case $lt_prog_compiler_pic_F77 in
14084
14435
     "" | " "*) ;;
14085
14436
     *) lt_prog_compiler_pic_F77=" $lt_prog_compiler_pic_F77" ;;
14106
14457
wl=$lt_prog_compiler_wl_F77 eval lt_tmp_static_flag=\"$lt_prog_compiler_static_F77\"
14107
14458
{ echo "$as_me:$LINENO: checking if $compiler static flag $lt_tmp_static_flag works" >&5
14108
14459
echo $ECHO_N "checking if $compiler static flag $lt_tmp_static_flag works... $ECHO_C" >&6; }
14109
 
if test "${lt_prog_compiler_static_works_F77+set}" = set; then
 
14460
if test "${lt_cv_prog_compiler_static_works_F77+set}" = set; then
14110
14461
  echo $ECHO_N "(cached) $ECHO_C" >&6
14111
14462
else
14112
 
  lt_prog_compiler_static_works_F77=no
 
14463
  lt_cv_prog_compiler_static_works_F77=no
14113
14464
   save_LDFLAGS="$LDFLAGS"
14114
14465
   LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
14115
14466
   echo "$lt_simple_link_test_code" > conftest.$ac_ext
14122
14473
       $echo "X$_lt_linker_boilerplate" | $Xsed -e '/^$/d' > conftest.exp
14123
14474
       $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
14124
14475
       if diff conftest.exp conftest.er2 >/dev/null; then
14125
 
         lt_prog_compiler_static_works_F77=yes
 
14476
         lt_cv_prog_compiler_static_works_F77=yes
14126
14477
       fi
14127
14478
     else
14128
 
       lt_prog_compiler_static_works_F77=yes
 
14479
       lt_cv_prog_compiler_static_works_F77=yes
14129
14480
     fi
14130
14481
   fi
14131
 
   $rm conftest*
 
14482
   $rm -r conftest*
14132
14483
   LDFLAGS="$save_LDFLAGS"
14133
14484
 
14134
14485
fi
14135
 
{ echo "$as_me:$LINENO: result: $lt_prog_compiler_static_works_F77" >&5
14136
 
echo "${ECHO_T}$lt_prog_compiler_static_works_F77" >&6; }
 
14486
{ echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_static_works_F77" >&5
 
14487
echo "${ECHO_T}$lt_cv_prog_compiler_static_works_F77" >&6; }
14137
14488
 
14138
 
if test x"$lt_prog_compiler_static_works_F77" = xyes; then
 
14489
if test x"$lt_cv_prog_compiler_static_works_F77" = xyes; then
14139
14490
    :
14140
14491
else
14141
14492
    lt_prog_compiler_static_F77=
14163
14514
   -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
14164
14515
   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
14165
14516
   -e 's:$: $lt_compiler_flag:'`
14166
 
   (eval echo "\"\$as_me:14166: $lt_compile\"" >&5)
 
14517
   (eval echo "\"\$as_me:14517: $lt_compile\"" >&5)
14167
14518
   (eval "$lt_compile" 2>out/conftest.err)
14168
14519
   ac_status=$?
14169
14520
   cat out/conftest.err >&5
14170
 
   echo "$as_me:14170: \$? = $ac_status" >&5
 
14521
   echo "$as_me:14521: \$? = $ac_status" >&5
14171
14522
   if (exit $ac_status) && test -s out/conftest2.$ac_objext
14172
14523
   then
14173
14524
     # The compiler can only warn and ignore the option if not recognized
14247
14598
  # it will be wrapped by ` (' and `)$', so one must not match beginning or
14248
14599
  # end of line.  Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
14249
14600
  # as well as any symbol that contains `d'.
14250
 
  exclude_expsyms_F77="_GLOBAL_OFFSET_TABLE_"
 
14601
  exclude_expsyms_F77='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
14251
14602
  # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
14252
14603
  # platforms (ab)use it in PIC code, but their linkers get confused if
14253
14604
  # the symbol is explicitly referenced.  Since portable code cannot
14254
14605
  # rely on this symbol name, it's probably fine to never include it in
14255
14606
  # preloaded symbol tables.
 
14607
  # Exclude shared library initialization/finalization symbols.
14256
14608
  extract_expsyms_cmds=
14257
14609
  # Just being paranoid about ensuring that cc_basename is set.
14258
14610
  for cc_temp in $compiler""; do
14311
14663
 
14312
14664
    # See if GNU ld supports shared libraries.
14313
14665
    case $host_os in
14314
 
    aix3* | aix4* | aix5*)
 
14666
    aix[3-9]*)
14315
14667
      # On AIX/PPC, the GNU linker is very broken
14316
14668
      if test "$host_cpu" != ia64; then
14317
14669
        ld_shlibs_F77=no
14531
14883
      fi
14532
14884
      ;;
14533
14885
 
14534
 
    aix4* | aix5*)
 
14886
    aix[4-9]*)
14535
14887
      if test "$host_cpu" = ia64; then
14536
14888
        # On IA64, the linker does run time linking by default, so we don't
14537
14889
        # have to do anything special.
14551
14903
        # Test if we are trying to use run time linking or normal
14552
14904
        # AIX style linking. If -brtl is somewhere in LDFLAGS, we
14553
14905
        # need to do runtime linking.
14554
 
        case $host_os in aix4.[23]|aix4.[23].*|aix5*)
 
14906
        case $host_os in aix4.[23]|aix4.[23].*|aix[5-9]*)
14555
14907
          for ld_flag in $LDFLAGS; do
14556
14908
          if (test $ld_flag = "-brtl" || test $ld_flag = "-Wl,-brtl"); then
14557
14909
            aix_use_runtimelinking=yes
14803
15155
      link_all_deplibs_F77=yes
14804
15156
    if test "$GCC" = yes ; then
14805
15157
        output_verbose_link_cmd='echo'
14806
 
        archive_cmds_F77='$CC -dynamiclib $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags -install_name $rpath/$soname $verstring'
14807
 
      module_cmds_F77='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
14808
 
      # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin lds
14809
 
      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}'
14810
 
      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}'
 
15158
        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}"
 
15159
        module_cmds_F77="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}"
 
15160
        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}"
 
15161
        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}"
14811
15162
    else
14812
15163
      case $cc_basename in
14813
15164
        xlc*)
15276
15627
  soname_spec='${libname}${release}${shared_ext}$major'
15277
15628
  ;;
15278
15629
 
15279
 
aix4* | aix5*)
 
15630
aix[4-9]*)
15280
15631
  version_type=linux
15281
15632
  need_lib_prefix=no
15282
15633
  need_version=no
15809
16160
echo "${ECHO_T}$dynamic_linker" >&6; }
15810
16161
test "$dynamic_linker" = no && can_build_shared=no
15811
16162
 
 
16163
if test "${lt_cv_sys_lib_search_path_spec+set}" = set; then
 
16164
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
16165
else
 
16166
  lt_cv_sys_lib_search_path_spec="$sys_lib_search_path_spec"
 
16167
fi
 
16168
 
 
16169
sys_lib_search_path_spec="$lt_cv_sys_lib_search_path_spec"
 
16170
if test "${lt_cv_sys_lib_dlsearch_path_spec+set}" = set; then
 
16171
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
16172
else
 
16173
  lt_cv_sys_lib_dlsearch_path_spec="$sys_lib_dlsearch_path_spec"
 
16174
fi
 
16175
 
 
16176
sys_lib_dlsearch_path_spec="$lt_cv_sys_lib_dlsearch_path_spec"
 
16177
 
15812
16178
variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
15813
16179
if test "$GCC" = yes; then
15814
16180
  variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
15892
16258
    predeps_F77 \
15893
16259
    postdeps_F77 \
15894
16260
    compiler_lib_search_path_F77 \
 
16261
    compiler_lib_search_dirs_F77 \
15895
16262
    archive_cmds_F77 \
15896
16263
    archive_expsym_cmds_F77 \
15897
16264
    postinstall_cmds_F77 \
16140
16507
# shared library.
16141
16508
postdeps=$lt_postdeps_F77
16142
16509
 
 
16510
# The directories searched by this compiler when creating a shared
 
16511
# library
 
16512
compiler_lib_search_dirs=$lt_compiler_lib_search_dirs_F77
 
16513
 
16143
16514
# The library search path used internally by the compiler when linking
16144
16515
# a shared library.
16145
16516
compiler_lib_search_path=$lt_compiler_lib_search_path_F77
16314
16685
echo "$lt_simple_link_test_code" >conftest.$ac_ext
16315
16686
eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
16316
16687
_lt_linker_boilerplate=`cat conftest.err`
16317
 
$rm conftest*
 
16688
$rm -r conftest*
16318
16689
 
16319
16690
 
16320
16691
# Allow CC to be a program name with arguments.
16363
16734
   -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
16364
16735
   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
16365
16736
   -e 's:$: $lt_compiler_flag:'`
16366
 
   (eval echo "\"\$as_me:16366: $lt_compile\"" >&5)
 
16737
   (eval echo "\"\$as_me:16737: $lt_compile\"" >&5)
16367
16738
   (eval "$lt_compile" 2>conftest.err)
16368
16739
   ac_status=$?
16369
16740
   cat conftest.err >&5
16370
 
   echo "$as_me:16370: \$? = $ac_status" >&5
 
16741
   echo "$as_me:16741: \$? = $ac_status" >&5
16371
16742
   if (exit $ac_status) && test -s "$ac_outfile"; then
16372
16743
     # The compiler can only warn and ignore the option if not recognized
16373
16744
     # So say no if there are warnings other than the usual output.
16427
16798
      # built for inclusion in a dll (and should export symbols for example).
16428
16799
      # Although the cygwin gcc ignores -fPIC, still need this for old-style
16429
16800
      # (--disable-auto-import) libraries
16430
 
      lt_prog_compiler_pic_GCJ='-DDLL_EXPORT'
 
16801
 
16431
16802
      ;;
16432
16803
 
16433
16804
    darwin* | rhapsody*)
16497
16868
    mingw* | cygwin* | pw32* | os2*)
16498
16869
      # This hack is so that the source file can tell whether it is being
16499
16870
      # built for inclusion in a dll (and should export symbols for example).
16500
 
      lt_prog_compiler_pic_GCJ='-DDLL_EXPORT'
 
16871
 
16501
16872
      ;;
16502
16873
 
16503
16874
    hpux9* | hpux10* | hpux11*)
16637
17008
 
16638
17009
{ echo "$as_me:$LINENO: checking if $compiler PIC flag $lt_prog_compiler_pic_GCJ works" >&5
16639
17010
echo $ECHO_N "checking if $compiler PIC flag $lt_prog_compiler_pic_GCJ works... $ECHO_C" >&6; }
16640
 
if test "${lt_prog_compiler_pic_works_GCJ+set}" = set; then
 
17011
if test "${lt_cv_prog_compiler_pic_works_GCJ+set}" = set; then
16641
17012
  echo $ECHO_N "(cached) $ECHO_C" >&6
16642
17013
else
16643
 
  lt_prog_compiler_pic_works_GCJ=no
 
17014
  lt_cv_prog_compiler_pic_works_GCJ=no
16644
17015
  ac_outfile=conftest.$ac_objext
16645
17016
   echo "$lt_simple_compile_test_code" > conftest.$ac_ext
16646
17017
   lt_compiler_flag="$lt_prog_compiler_pic_GCJ"
16653
17024
   -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
16654
17025
   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
16655
17026
   -e 's:$: $lt_compiler_flag:'`
16656
 
   (eval echo "\"\$as_me:16656: $lt_compile\"" >&5)
 
17027
   (eval echo "\"\$as_me:17027: $lt_compile\"" >&5)
16657
17028
   (eval "$lt_compile" 2>conftest.err)
16658
17029
   ac_status=$?
16659
17030
   cat conftest.err >&5
16660
 
   echo "$as_me:16660: \$? = $ac_status" >&5
 
17031
   echo "$as_me:17031: \$? = $ac_status" >&5
16661
17032
   if (exit $ac_status) && test -s "$ac_outfile"; then
16662
17033
     # The compiler can only warn and ignore the option if not recognized
16663
17034
     # So say no if there are warnings other than the usual output.
16664
17035
     $echo "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' >conftest.exp
16665
17036
     $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
16666
17037
     if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
16667
 
       lt_prog_compiler_pic_works_GCJ=yes
 
17038
       lt_cv_prog_compiler_pic_works_GCJ=yes
16668
17039
     fi
16669
17040
   fi
16670
17041
   $rm conftest*
16671
17042
 
16672
17043
fi
16673
 
{ echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_works_GCJ" >&5
16674
 
echo "${ECHO_T}$lt_prog_compiler_pic_works_GCJ" >&6; }
 
17044
{ echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_pic_works_GCJ" >&5
 
17045
echo "${ECHO_T}$lt_cv_prog_compiler_pic_works_GCJ" >&6; }
16675
17046
 
16676
 
if test x"$lt_prog_compiler_pic_works_GCJ" = xyes; then
 
17047
if test x"$lt_cv_prog_compiler_pic_works_GCJ" = xyes; then
16677
17048
    case $lt_prog_compiler_pic_GCJ in
16678
17049
     "" | " "*) ;;
16679
17050
     *) lt_prog_compiler_pic_GCJ=" $lt_prog_compiler_pic_GCJ" ;;
16700
17071
wl=$lt_prog_compiler_wl_GCJ eval lt_tmp_static_flag=\"$lt_prog_compiler_static_GCJ\"
16701
17072
{ echo "$as_me:$LINENO: checking if $compiler static flag $lt_tmp_static_flag works" >&5
16702
17073
echo $ECHO_N "checking if $compiler static flag $lt_tmp_static_flag works... $ECHO_C" >&6; }
16703
 
if test "${lt_prog_compiler_static_works_GCJ+set}" = set; then
 
17074
if test "${lt_cv_prog_compiler_static_works_GCJ+set}" = set; then
16704
17075
  echo $ECHO_N "(cached) $ECHO_C" >&6
16705
17076
else
16706
 
  lt_prog_compiler_static_works_GCJ=no
 
17077
  lt_cv_prog_compiler_static_works_GCJ=no
16707
17078
   save_LDFLAGS="$LDFLAGS"
16708
17079
   LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
16709
17080
   echo "$lt_simple_link_test_code" > conftest.$ac_ext
16716
17087
       $echo "X$_lt_linker_boilerplate" | $Xsed -e '/^$/d' > conftest.exp
16717
17088
       $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
16718
17089
       if diff conftest.exp conftest.er2 >/dev/null; then
16719
 
         lt_prog_compiler_static_works_GCJ=yes
 
17090
         lt_cv_prog_compiler_static_works_GCJ=yes
16720
17091
       fi
16721
17092
     else
16722
 
       lt_prog_compiler_static_works_GCJ=yes
 
17093
       lt_cv_prog_compiler_static_works_GCJ=yes
16723
17094
     fi
16724
17095
   fi
16725
 
   $rm conftest*
 
17096
   $rm -r conftest*
16726
17097
   LDFLAGS="$save_LDFLAGS"
16727
17098
 
16728
17099
fi
16729
 
{ echo "$as_me:$LINENO: result: $lt_prog_compiler_static_works_GCJ" >&5
16730
 
echo "${ECHO_T}$lt_prog_compiler_static_works_GCJ" >&6; }
 
17100
{ echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_static_works_GCJ" >&5
 
17101
echo "${ECHO_T}$lt_cv_prog_compiler_static_works_GCJ" >&6; }
16731
17102
 
16732
 
if test x"$lt_prog_compiler_static_works_GCJ" = xyes; then
 
17103
if test x"$lt_cv_prog_compiler_static_works_GCJ" = xyes; then
16733
17104
    :
16734
17105
else
16735
17106
    lt_prog_compiler_static_GCJ=
16757
17128
   -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
16758
17129
   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
16759
17130
   -e 's:$: $lt_compiler_flag:'`
16760
 
   (eval echo "\"\$as_me:16760: $lt_compile\"" >&5)
 
17131
   (eval echo "\"\$as_me:17131: $lt_compile\"" >&5)
16761
17132
   (eval "$lt_compile" 2>out/conftest.err)
16762
17133
   ac_status=$?
16763
17134
   cat out/conftest.err >&5
16764
 
   echo "$as_me:16764: \$? = $ac_status" >&5
 
17135
   echo "$as_me:17135: \$? = $ac_status" >&5
16765
17136
   if (exit $ac_status) && test -s out/conftest2.$ac_objext
16766
17137
   then
16767
17138
     # The compiler can only warn and ignore the option if not recognized
16841
17212
  # it will be wrapped by ` (' and `)$', so one must not match beginning or
16842
17213
  # end of line.  Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
16843
17214
  # as well as any symbol that contains `d'.
16844
 
  exclude_expsyms_GCJ="_GLOBAL_OFFSET_TABLE_"
 
17215
  exclude_expsyms_GCJ='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
16845
17216
  # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
16846
17217
  # platforms (ab)use it in PIC code, but their linkers get confused if
16847
17218
  # the symbol is explicitly referenced.  Since portable code cannot
16848
17219
  # rely on this symbol name, it's probably fine to never include it in
16849
17220
  # preloaded symbol tables.
 
17221
  # Exclude shared library initialization/finalization symbols.
16850
17222
  extract_expsyms_cmds=
16851
17223
  # Just being paranoid about ensuring that cc_basename is set.
16852
17224
  for cc_temp in $compiler""; do
16905
17277
 
16906
17278
    # See if GNU ld supports shared libraries.
16907
17279
    case $host_os in
16908
 
    aix3* | aix4* | aix5*)
 
17280
    aix[3-9]*)
16909
17281
      # On AIX/PPC, the GNU linker is very broken
16910
17282
      if test "$host_cpu" != ia64; then
16911
17283
        ld_shlibs_GCJ=no
17125
17497
      fi
17126
17498
      ;;
17127
17499
 
17128
 
    aix4* | aix5*)
 
17500
    aix[4-9]*)
17129
17501
      if test "$host_cpu" = ia64; then
17130
17502
        # On IA64, the linker does run time linking by default, so we don't
17131
17503
        # have to do anything special.
17145
17517
        # Test if we are trying to use run time linking or normal
17146
17518
        # AIX style linking. If -brtl is somewhere in LDFLAGS, we
17147
17519
        # need to do runtime linking.
17148
 
        case $host_os in aix4.[23]|aix4.[23].*|aix5*)
 
17520
        case $host_os in aix4.[23]|aix4.[23].*|aix[5-9]*)
17149
17521
          for ld_flag in $LDFLAGS; do
17150
17522
          if (test $ld_flag = "-brtl" || test $ld_flag = "-Wl,-brtl"); then
17151
17523
            aix_use_runtimelinking=yes
17417
17789
      link_all_deplibs_GCJ=yes
17418
17790
    if test "$GCC" = yes ; then
17419
17791
        output_verbose_link_cmd='echo'
17420
 
        archive_cmds_GCJ='$CC -dynamiclib $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags -install_name $rpath/$soname $verstring'
17421
 
      module_cmds_GCJ='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
17422
 
      # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin lds
17423
 
      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}'
17424
 
      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}'
 
17792
        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}"
 
17793
        module_cmds_GCJ="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}"
 
17794
        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}"
 
17795
        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}"
17425
17796
    else
17426
17797
      case $cc_basename in
17427
17798
        xlc*)
17890
18261
  soname_spec='${libname}${release}${shared_ext}$major'
17891
18262
  ;;
17892
18263
 
17893
 
aix4* | aix5*)
 
18264
aix[4-9]*)
17894
18265
  version_type=linux
17895
18266
  need_lib_prefix=no
17896
18267
  need_version=no
18423
18794
echo "${ECHO_T}$dynamic_linker" >&6; }
18424
18795
test "$dynamic_linker" = no && can_build_shared=no
18425
18796
 
 
18797
if test "${lt_cv_sys_lib_search_path_spec+set}" = set; then
 
18798
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
18799
else
 
18800
  lt_cv_sys_lib_search_path_spec="$sys_lib_search_path_spec"
 
18801
fi
 
18802
 
 
18803
sys_lib_search_path_spec="$lt_cv_sys_lib_search_path_spec"
 
18804
if test "${lt_cv_sys_lib_dlsearch_path_spec+set}" = set; then
 
18805
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
18806
else
 
18807
  lt_cv_sys_lib_dlsearch_path_spec="$sys_lib_dlsearch_path_spec"
 
18808
fi
 
18809
 
 
18810
sys_lib_dlsearch_path_spec="$lt_cv_sys_lib_dlsearch_path_spec"
 
18811
 
18426
18812
variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
18427
18813
if test "$GCC" = yes; then
18428
18814
  variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
18506
18892
    predeps_GCJ \
18507
18893
    postdeps_GCJ \
18508
18894
    compiler_lib_search_path_GCJ \
 
18895
    compiler_lib_search_dirs_GCJ \
18509
18896
    archive_cmds_GCJ \
18510
18897
    archive_expsym_cmds_GCJ \
18511
18898
    postinstall_cmds_GCJ \
18754
19141
# shared library.
18755
19142
postdeps=$lt_postdeps_GCJ
18756
19143
 
 
19144
# The directories searched by this compiler when creating a shared
 
19145
# library
 
19146
compiler_lib_search_dirs=$lt_compiler_lib_search_dirs_GCJ
 
19147
 
18757
19148
# The library search path used internally by the compiler when linking
18758
19149
# a shared library.
18759
19150
compiler_lib_search_path=$lt_compiler_lib_search_path_GCJ
18927
19318
echo "$lt_simple_link_test_code" >conftest.$ac_ext
18928
19319
eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
18929
19320
_lt_linker_boilerplate=`cat conftest.err`
18930
 
$rm conftest*
 
19321
$rm -r conftest*
18931
19322
 
18932
19323
 
18933
19324
# Allow CC to be a program name with arguments.
18987
19378
    predeps_RC \
18988
19379
    postdeps_RC \
18989
19380
    compiler_lib_search_path_RC \
 
19381
    compiler_lib_search_dirs_RC \
18990
19382
    archive_cmds_RC \
18991
19383
    archive_expsym_cmds_RC \
18992
19384
    postinstall_cmds_RC \
19235
19627
# shared library.
19236
19628
postdeps=$lt_postdeps_RC
19237
19629
 
 
19630
# The directories searched by this compiler when creating a shared
 
19631
# library
 
19632
compiler_lib_search_dirs=$lt_compiler_lib_search_dirs_RC
 
19633
 
19238
19634
# The library search path used internally by the compiler when linking
19239
19635
# a shared library.
19240
19636
compiler_lib_search_path=$lt_compiler_lib_search_path_RC
20015
20411
 
20016
20412
# Checks for library functions.
20017
20413
 
20018
 
for ac_header in stdlib.h
20019
 
do
20020
 
as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
20021
 
if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
20022
 
  { echo "$as_me:$LINENO: checking for $ac_header" >&5
20023
 
echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
20024
 
if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
20025
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
20026
 
fi
20027
 
ac_res=`eval echo '${'$as_ac_Header'}'`
20028
 
               { echo "$as_me:$LINENO: result: $ac_res" >&5
20029
 
echo "${ECHO_T}$ac_res" >&6; }
20030
 
else
20031
 
  # Is the header compilable?
20032
 
{ echo "$as_me:$LINENO: checking $ac_header usability" >&5
20033
 
echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; }
20034
 
cat >conftest.$ac_ext <<_ACEOF
20035
 
/* confdefs.h.  */
20036
 
_ACEOF
20037
 
cat confdefs.h >>conftest.$ac_ext
20038
 
cat >>conftest.$ac_ext <<_ACEOF
20039
 
/* end confdefs.h.  */
20040
 
$ac_includes_default
20041
 
#include <$ac_header>
20042
 
_ACEOF
20043
 
rm -f conftest.$ac_objext
20044
 
if { (ac_try="$ac_compile"
20045
 
case "(($ac_try" in
20046
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20047
 
  *) ac_try_echo=$ac_try;;
20048
 
esac
20049
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20050
 
  (eval "$ac_compile") 2>conftest.er1
20051
 
  ac_status=$?
20052
 
  grep -v '^ *+' conftest.er1 >conftest.err
20053
 
  rm -f conftest.er1
20054
 
  cat conftest.err >&5
20055
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
20056
 
  (exit $ac_status); } && {
20057
 
         test -z "$ac_c_werror_flag" ||
20058
 
         test ! -s conftest.err
20059
 
       } && test -s conftest.$ac_objext; then
20060
 
  ac_header_compiler=yes
20061
 
else
20062
 
  echo "$as_me: failed program was:" >&5
20063
 
sed 's/^/| /' conftest.$ac_ext >&5
20064
 
 
20065
 
        ac_header_compiler=no
20066
 
fi
20067
 
 
20068
 
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20069
 
{ echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
20070
 
echo "${ECHO_T}$ac_header_compiler" >&6; }
20071
 
 
20072
 
# Is the header present?
20073
 
{ echo "$as_me:$LINENO: checking $ac_header presence" >&5
20074
 
echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; }
20075
 
cat >conftest.$ac_ext <<_ACEOF
20076
 
/* confdefs.h.  */
20077
 
_ACEOF
20078
 
cat confdefs.h >>conftest.$ac_ext
20079
 
cat >>conftest.$ac_ext <<_ACEOF
20080
 
/* end confdefs.h.  */
20081
 
#include <$ac_header>
20082
 
_ACEOF
20083
 
if { (ac_try="$ac_cpp conftest.$ac_ext"
20084
 
case "(($ac_try" in
20085
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20086
 
  *) ac_try_echo=$ac_try;;
20087
 
esac
20088
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20089
 
  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
20090
 
  ac_status=$?
20091
 
  grep -v '^ *+' conftest.er1 >conftest.err
20092
 
  rm -f conftest.er1
20093
 
  cat conftest.err >&5
20094
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
20095
 
  (exit $ac_status); } >/dev/null && {
20096
 
         test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
20097
 
         test ! -s conftest.err
20098
 
       }; then
20099
 
  ac_header_preproc=yes
20100
 
else
20101
 
  echo "$as_me: failed program was:" >&5
20102
 
sed 's/^/| /' conftest.$ac_ext >&5
20103
 
 
20104
 
  ac_header_preproc=no
20105
 
fi
20106
 
 
20107
 
rm -f conftest.err conftest.$ac_ext
20108
 
{ echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
20109
 
echo "${ECHO_T}$ac_header_preproc" >&6; }
20110
 
 
20111
 
# So?  What about this header?
20112
 
case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
20113
 
  yes:no: )
20114
 
    { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
20115
 
echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
20116
 
    { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
20117
 
echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
20118
 
    ac_header_preproc=yes
20119
 
    ;;
20120
 
  no:yes:* )
20121
 
    { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
20122
 
echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
20123
 
    { echo "$as_me:$LINENO: WARNING: $ac_header:     check for missing prerequisite headers?" >&5
20124
 
echo "$as_me: WARNING: $ac_header:     check for missing prerequisite headers?" >&2;}
20125
 
    { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
20126
 
echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
20127
 
    { echo "$as_me:$LINENO: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&5
20128
 
echo "$as_me: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&2;}
20129
 
    { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
20130
 
echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
20131
 
    { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
20132
 
echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
20133
 
    ( cat <<\_ASBOX
20134
 
## ---------------------------------------------- ##
20135
 
## Report this to sheitmann@users.sourceforge.net ##
20136
 
## ---------------------------------------------- ##
20137
 
_ASBOX
20138
 
     ) | sed "s/^/$as_me: WARNING:     /" >&2
20139
 
    ;;
20140
 
esac
20141
 
{ echo "$as_me:$LINENO: checking for $ac_header" >&5
20142
 
echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
20143
 
if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
20144
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
20145
 
else
20146
 
  eval "$as_ac_Header=\$ac_header_preproc"
20147
 
fi
20148
 
ac_res=`eval echo '${'$as_ac_Header'}'`
20149
 
               { echo "$as_me:$LINENO: result: $ac_res" >&5
20150
 
echo "${ECHO_T}$ac_res" >&6; }
20151
 
 
20152
 
fi
20153
 
if test `eval echo '${'$as_ac_Header'}'` = yes; then
20154
 
  cat >>confdefs.h <<_ACEOF
20155
 
#define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
20156
 
_ACEOF
20157
 
 
20158
 
fi
20159
 
 
20160
 
done
20161
 
 
20162
 
{ echo "$as_me:$LINENO: checking for GNU libc compatible malloc" >&5
20163
 
echo $ECHO_N "checking for GNU libc compatible malloc... $ECHO_C" >&6; }
20164
 
if test "${ac_cv_func_malloc_0_nonnull+set}" = set; then
20165
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
20166
 
else
20167
 
  if test "$cross_compiling" = yes; then
20168
 
  ac_cv_func_malloc_0_nonnull=no
20169
 
else
20170
 
  cat >conftest.$ac_ext <<_ACEOF
20171
 
/* confdefs.h.  */
20172
 
_ACEOF
20173
 
cat confdefs.h >>conftest.$ac_ext
20174
 
cat >>conftest.$ac_ext <<_ACEOF
20175
 
/* end confdefs.h.  */
20176
 
#if defined STDC_HEADERS || defined HAVE_STDLIB_H
20177
 
# include <stdlib.h>
20178
 
#else
20179
 
char *malloc ();
20180
 
#endif
20181
 
 
20182
 
int
20183
 
main ()
20184
 
{
20185
 
return ! malloc (0);
20186
 
  ;
20187
 
  return 0;
20188
 
}
20189
 
_ACEOF
20190
 
rm -f conftest$ac_exeext
20191
 
if { (ac_try="$ac_link"
20192
 
case "(($ac_try" in
20193
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20194
 
  *) ac_try_echo=$ac_try;;
20195
 
esac
20196
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20197
 
  (eval "$ac_link") 2>&5
20198
 
  ac_status=$?
20199
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
20200
 
  (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
20201
 
  { (case "(($ac_try" in
20202
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20203
 
  *) ac_try_echo=$ac_try;;
20204
 
esac
20205
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20206
 
  (eval "$ac_try") 2>&5
20207
 
  ac_status=$?
20208
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
20209
 
  (exit $ac_status); }; }; then
20210
 
  ac_cv_func_malloc_0_nonnull=yes
20211
 
else
20212
 
  echo "$as_me: program exited with status $ac_status" >&5
20213
 
echo "$as_me: failed program was:" >&5
20214
 
sed 's/^/| /' conftest.$ac_ext >&5
20215
 
 
20216
 
( exit $ac_status )
20217
 
ac_cv_func_malloc_0_nonnull=no
20218
 
fi
20219
 
rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
20220
 
fi
20221
 
 
20222
 
 
20223
 
fi
20224
 
{ echo "$as_me:$LINENO: result: $ac_cv_func_malloc_0_nonnull" >&5
20225
 
echo "${ECHO_T}$ac_cv_func_malloc_0_nonnull" >&6; }
20226
 
if test $ac_cv_func_malloc_0_nonnull = yes; then
20227
 
 
20228
 
cat >>confdefs.h <<\_ACEOF
20229
 
#define HAVE_MALLOC 1
20230
 
_ACEOF
20231
 
 
20232
 
else
20233
 
  cat >>confdefs.h <<\_ACEOF
20234
 
#define HAVE_MALLOC 0
20235
 
_ACEOF
20236
 
 
20237
 
   case " $LIBOBJS " in
20238
 
  *" malloc.$ac_objext "* ) ;;
20239
 
  *) LIBOBJS="$LIBOBJS malloc.$ac_objext"
20240
 
 ;;
20241
 
esac
20242
 
 
20243
 
 
20244
 
cat >>confdefs.h <<\_ACEOF
20245
 
#define malloc rpl_malloc
20246
 
_ACEOF
20247
 
 
20248
 
fi
20249
 
 
20250
 
 
20251
 
 
20252
 
 
20253
20414
for ac_func in strftime
20254
20415
do
20255
20416
as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
21018
21179
 
21019
21180
 
21020
21181
# Define automake conditionals
21021
 
 
21022
 
 
21023
 
if test "$SYS_GETOPTLONG" = "1"; then
 
21182
 if test "$SYS_GETOPTLONG" = "1"; then
21024
21183
  USE_SYS_GETOPTLONG_TRUE=
21025
21184
  USE_SYS_GETOPTLONG_FALSE='#'
21026
21185
else
21028
21187
  USE_SYS_GETOPTLONG_FALSE=
21029
21188
fi
21030
21189
 
21031
 
 
21032
 
 
21033
 
if test "$SYS_REGEX" = "1"; then
 
21190
 if test "$SYS_REGEX" = "1"; then
21034
21191
  USE_ARGREX_TRUE=
21035
21192
  USE_ARGREX_FALSE='#'
21036
21193
else
21038
21195
  USE_ARGREX_FALSE=
21039
21196
fi
21040
21197
 
21041
 
 
21042
 
 
21043
 
if test "$SYS_STRPTIME" = "1"; then
 
21198
 if test "$SYS_STRPTIME" = "1"; then
21044
21199
  USE_ARGDATE_TRUE=
21045
21200
  USE_ARGDATE_FALSE='#'
21046
21201
else
21074
21229
exampledir='${docdir}/example'
21075
21230
 
21076
21231
 
21077
 
ac_config_files="$ac_config_files Makefile argtable.spec example/Makefile src/Makefile doc/Makefile doc/argtable2.3 doc/argtable2.html tests/Makefile"
 
21232
ac_config_files="$ac_config_files Makefile example/Makefile src/Makefile doc/Makefile doc/argtable2.3 doc/argtable2.html tests/Makefile argtable2.pc argtable2-uninstalled.pc"
21078
21233
 
21079
21234
cat >confcache <<\_ACEOF
21080
21235
# This file is a shell script that caches the results of configure
21514
21669
# report actual input values of CONFIG_FILES etc. instead of their
21515
21670
# values after options handling.
21516
21671
ac_log="
21517
 
This file was extended by argtable2 $as_me 9, which was
 
21672
This file was extended by argtable2 $as_me 12, which was
21518
21673
generated by GNU Autoconf 2.61.  Invocation command line was
21519
21674
 
21520
21675
  CONFIG_FILES    = $CONFIG_FILES
21567
21722
_ACEOF
21568
21723
cat >>$CONFIG_STATUS <<_ACEOF
21569
21724
ac_cs_version="\\
21570
 
argtable2 config.status 9
 
21725
argtable2 config.status 12
21571
21726
configured by $0, generated by GNU Autoconf 2.61,
21572
21727
  with options \\"`echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`\\"
21573
21728
 
21578
21733
ac_pwd='$ac_pwd'
21579
21734
srcdir='$srcdir'
21580
21735
INSTALL='$INSTALL'
 
21736
MKDIR_P='$MKDIR_P'
21581
21737
_ACEOF
21582
21738
 
21583
21739
cat >>$CONFIG_STATUS <<\_ACEOF
21683
21839
    "src/config.h") CONFIG_HEADERS="$CONFIG_HEADERS src/config.h" ;;
21684
21840
    "depfiles") CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;;
21685
21841
    "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
21686
 
    "argtable.spec") CONFIG_FILES="$CONFIG_FILES argtable.spec" ;;
21687
21842
    "example/Makefile") CONFIG_FILES="$CONFIG_FILES example/Makefile" ;;
21688
21843
    "src/Makefile") CONFIG_FILES="$CONFIG_FILES src/Makefile" ;;
21689
21844
    "doc/Makefile") CONFIG_FILES="$CONFIG_FILES doc/Makefile" ;;
21690
21845
    "doc/argtable2.3") CONFIG_FILES="$CONFIG_FILES doc/argtable2.3" ;;
21691
21846
    "doc/argtable2.html") CONFIG_FILES="$CONFIG_FILES doc/argtable2.html" ;;
21692
21847
    "tests/Makefile") CONFIG_FILES="$CONFIG_FILES tests/Makefile" ;;
 
21848
    "argtable2.pc") CONFIG_FILES="$CONFIG_FILES argtable2.pc" ;;
 
21849
    "argtable2-uninstalled.pc") CONFIG_FILES="$CONFIG_FILES argtable2-uninstalled.pc" ;;
21693
21850
 
21694
21851
  *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
21695
21852
echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
21804
21961
INSTALL_PROGRAM!$INSTALL_PROGRAM$ac_delim
21805
21962
INSTALL_SCRIPT!$INSTALL_SCRIPT$ac_delim
21806
21963
INSTALL_DATA!$INSTALL_DATA$ac_delim
 
21964
am__isrc!$am__isrc$ac_delim
21807
21965
CYGPATH_W!$CYGPATH_W$ac_delim
21808
21966
PACKAGE!$PACKAGE$ac_delim
21809
21967
VERSION!$VERSION$ac_delim
21845
22003
ECHO!$ECHO$ac_delim
21846
22004
AR!$AR$ac_delim
21847
22005
RANLIB!$RANLIB$ac_delim
 
22006
DSYMUTIL!$DSYMUTIL$ac_delim
 
22007
NMEDIT!$NMEDIT$ac_delim
21848
22008
CPP!$CPP$ac_delim
 
22009
_ACEOF
 
22010
 
 
22011
  if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 97; then
 
22012
    break
 
22013
  elif $ac_last_try; then
 
22014
    { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
 
22015
echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
 
22016
   { (exit 1); exit 1; }; }
 
22017
  else
 
22018
    ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
 
22019
  fi
 
22020
done
 
22021
 
 
22022
ac_eof=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
 
22023
if test -n "$ac_eof"; then
 
22024
  ac_eof=`echo "$ac_eof" | sort -nru | sed 1q`
 
22025
  ac_eof=`expr $ac_eof + 1`
 
22026
fi
 
22027
 
 
22028
cat >>$CONFIG_STATUS <<_ACEOF
 
22029
cat >"\$tmp/subs-1.sed" <<\CEOF$ac_eof
 
22030
/@[a-zA-Z_][a-zA-Z_0-9]*@/!b
 
22031
_ACEOF
 
22032
sed '
 
22033
s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
 
22034
s/^/s,@/; s/!/@,|#_!!_#|/
 
22035
:n
 
22036
t n
 
22037
s/'"$ac_delim"'$/,g/; t
 
22038
s/$/\\/; p
 
22039
N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
 
22040
' >>$CONFIG_STATUS <conf$$subs.sed
 
22041
rm -f conf$$subs.sed
 
22042
cat >>$CONFIG_STATUS <<_ACEOF
 
22043
CEOF$ac_eof
 
22044
_ACEOF
 
22045
 
 
22046
 
 
22047
ac_delim='%!_!# '
 
22048
for ac_last_try in false false false false false :; do
 
22049
  cat >conf$$subs.sed <<_ACEOF
21849
22050
CXX!$CXX$ac_delim
21850
22051
CXXFLAGS!$CXXFLAGS$ac_delim
21851
22052
ac_ct_CXX!$ac_ct_CXX$ac_delim
21852
 
_ACEOF
21853
 
 
21854
 
  if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 97; then
21855
 
    break
21856
 
  elif $ac_last_try; then
21857
 
    { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
21858
 
echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
21859
 
   { (exit 1); exit 1; }; }
21860
 
  else
21861
 
    ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
21862
 
  fi
21863
 
done
21864
 
 
21865
 
ac_eof=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
21866
 
if test -n "$ac_eof"; then
21867
 
  ac_eof=`echo "$ac_eof" | sort -nru | sed 1q`
21868
 
  ac_eof=`expr $ac_eof + 1`
21869
 
fi
21870
 
 
21871
 
cat >>$CONFIG_STATUS <<_ACEOF
21872
 
cat >"\$tmp/subs-1.sed" <<\CEOF$ac_eof
21873
 
/@[a-zA-Z_][a-zA-Z_0-9]*@/!b
21874
 
_ACEOF
21875
 
sed '
21876
 
s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
21877
 
s/^/s,@/; s/!/@,|#_!!_#|/
21878
 
:n
21879
 
t n
21880
 
s/'"$ac_delim"'$/,g/; t
21881
 
s/$/\\/; p
21882
 
N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
21883
 
' >>$CONFIG_STATUS <conf$$subs.sed
21884
 
rm -f conf$$subs.sed
21885
 
cat >>$CONFIG_STATUS <<_ACEOF
21886
 
CEOF$ac_eof
21887
 
_ACEOF
21888
 
 
21889
 
 
21890
 
ac_delim='%!_!# '
21891
 
for ac_last_try in false false false false false :; do
21892
 
  cat >conf$$subs.sed <<_ACEOF
21893
22053
CXXDEPMODE!$CXXDEPMODE$ac_delim
21894
22054
am__fastdepCXX_TRUE!$am__fastdepCXX_TRUE$ac_delim
21895
22055
am__fastdepCXX_FALSE!$am__fastdepCXX_FALSE$ac_delim
21898
22058
FFLAGS!$FFLAGS$ac_delim
21899
22059
ac_ct_F77!$ac_ct_F77$ac_delim
21900
22060
LIBTOOL!$LIBTOOL$ac_delim
 
22061
POW_LIB!$POW_LIB$ac_delim
21901
22062
LIBOBJS!$LIBOBJS$ac_delim
21902
 
POW_LIB!$POW_LIB$ac_delim
21903
22063
USE_SYS_GETOPTLONG_TRUE!$USE_SYS_GETOPTLONG_TRUE$ac_delim
21904
22064
USE_SYS_GETOPTLONG_FALSE!$USE_SYS_GETOPTLONG_FALSE$ac_delim
21905
22065
USE_ARGREX_TRUE!$USE_ARGREX_TRUE$ac_delim
21911
22071
LTLIBOBJS!$LTLIBOBJS$ac_delim
21912
22072
_ACEOF
21913
22073
 
21914
 
  if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 19; then
 
22074
  if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 22; then
21915
22075
    break
21916
22076
  elif $ac_last_try; then
21917
22077
    { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
22138
22298
  [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
22139
22299
  *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
22140
22300
  esac
 
22301
  ac_MKDIR_P=$MKDIR_P
 
22302
  case $MKDIR_P in
 
22303
  [\\/$]* | ?:[\\/]* ) ;;
 
22304
  */*) ac_MKDIR_P=$ac_top_build_prefix$MKDIR_P ;;
 
22305
  esac
22141
22306
_ACEOF
22142
22307
 
22143
22308
cat >>$CONFIG_STATUS <<\_ACEOF
22191
22356
s&@abs_builddir@&$ac_abs_builddir&;t t
22192
22357
s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
22193
22358
s&@INSTALL@&$ac_INSTALL&;t t
 
22359
s&@MKDIR_P@&$ac_MKDIR_P&;t t
22194
22360
$ac_datarootdir_hack
22195
22361
" $ac_file_inputs | sed -f "$tmp/subs-1.sed" | sed -f "$tmp/subs-2.sed" >$tmp/out
22196
22362
 
22306
22472
  fi
22307
22473
  rm -f "$tmp/out12"
22308
22474
# Compute $ac_file's index in $config_headers.
 
22475
_am_arg=$ac_file
22309
22476
_am_stamp_count=1
22310
22477
for _am_header in $config_headers :; do
22311
22478
  case $_am_header in
22312
 
    $ac_file | $ac_file:* )
 
22479
    $_am_arg | $_am_arg:* )
22313
22480
      break ;;
22314
22481
    * )
22315
22482
      _am_stamp_count=`expr $_am_stamp_count + 1` ;;
22316
22483
  esac
22317
22484
done
22318
 
echo "timestamp for $ac_file" >`$as_dirname -- $ac_file ||
22319
 
$as_expr X$ac_file : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
22320
 
         X$ac_file : 'X\(//\)[^/]' \| \
22321
 
         X$ac_file : 'X\(//\)$' \| \
22322
 
         X$ac_file : 'X\(/\)' \| . 2>/dev/null ||
22323
 
echo X$ac_file |
 
22485
echo "timestamp for $_am_arg" >`$as_dirname -- "$_am_arg" ||
 
22486
$as_expr X"$_am_arg" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
 
22487
         X"$_am_arg" : 'X\(//\)[^/]' \| \
 
22488
         X"$_am_arg" : 'X\(//\)$' \| \
 
22489
         X"$_am_arg" : 'X\(/\)' \| . 2>/dev/null ||
 
22490
echo X"$_am_arg" |
22324
22491
    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
22325
22492
            s//\1/
22326
22493
            q
22355
22522
  # some people rename them; so instead we look at the file content.
22356
22523
  # Grep'ing the first line is not enough: some people post-process
22357
22524
  # each Makefile.in and add a new line on top of each file to say so.
22358
 
  # So let's grep whole file.
22359
 
  if grep '^#.*generated by automake' $mf > /dev/null 2>&1; then
 
22525
  # Grep'ing the whole file is not good either: AIX grep has a line
 
22526
  # limit of 2048, but all sed's we know have understand at least 4000.
 
22527
  if sed -n 's,^#.*generated by automake.*,X,p' "$mf" | grep X >/dev/null 2>&1; then
22360
22528
    dirpart=`$as_dirname -- "$mf" ||
22361
22529
$as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
22362
22530
         X"$mf" : 'X\(//\)[^/]' \| \