/sqlite3cc

To get this branch, use:
bzr branch http://bzr.ed.am/sqlite3cc

« back to all changes in this revision

Viewing changes to configure

  • Committer: edam
  • Date: 2012-01-23 20:00:05 UTC
  • Revision ID: edam@waxworlds.org-20120123200005-038div0hpe78if8e
update TODO

Show diffs side-by-side

added added

removed removed

1
1
#! /bin/sh
2
2
# Guess values for system-dependent variables and create Makefiles.
3
 
# Generated by GNU Autoconf 2.64 for sqlite3cc 0.1.0.
4
 
#
5
 
# Report bugs to <edam@waxworlds.org>.
 
3
# Generated by GNU Autoconf 2.68 for sqlite3cc 0.1.
 
4
#
 
5
# Report bugs to <tim@ed.am>.
 
6
#
6
7
#
7
8
# Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
8
 
# 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009 Free Software
 
9
# 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010 Free Software
9
10
# Foundation, Inc.
10
11
#
 
12
#
11
13
# This configure script is free software; the Free Software Foundation
12
14
# gives unlimited permission to copy, distribute and modify it.
13
15
## -------------------- ##
89
91
IFS=" ""        $as_nl"
90
92
 
91
93
# Find who we are.  Look in the path if we contain no directory separator.
 
94
as_myself=
92
95
case $0 in #((
93
96
  *[\\/]* ) as_myself=$0 ;;
94
97
  *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
171
174
  as_lineno_2=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_2a=\$LINENO
172
175
  eval 'test \"x\$as_lineno_1'\$as_run'\" != \"x\$as_lineno_2'\$as_run'\" &&
173
176
  test \"x\`expr \$as_lineno_1'\$as_run' + 1\`\" = \"x\$as_lineno_2'\$as_run'\"' || exit 1
 
177
 
 
178
  test -n \"\${ZSH_VERSION+set}\${BASH_VERSION+set}\" || (
 
179
    ECHO='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
 
180
    ECHO=\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO
 
181
    ECHO=\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO
 
182
    PATH=/empty FPATH=/empty; export PATH FPATH
 
183
    test \"X\`printf %s \$ECHO\`\" = \"X\$ECHO\" \\
 
184
      || test \"X\`print -r -- \$ECHO\`\" = \"X\$ECHO\" ) || exit 1
174
185
test \$(( 1 + 1 )) = 2 || exit 1"
175
186
  if (eval "$as_required") 2>/dev/null; then :
176
187
  as_have_required=yes
214
225
  # We cannot yet assume a decent shell, so we have to provide a
215
226
        # neutralization value for shells without unset; and this also
216
227
        # works around shells that cannot unset nonexistent variables.
 
228
        # Preserve -v and -x to the replacement shell.
217
229
        BASH_ENV=/dev/null
218
230
        ENV=/dev/null
219
231
        (unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV
220
232
        export CONFIG_SHELL
221
 
        exec "$CONFIG_SHELL" "$as_myself" ${1+"$@"}
 
233
        case $- in # ((((
 
234
          *v*x* | *x*v* ) as_opts=-vx ;;
 
235
          *v* ) as_opts=-v ;;
 
236
          *x* ) as_opts=-x ;;
 
237
          * ) as_opts= ;;
 
238
        esac
 
239
        exec "$CONFIG_SHELL" $as_opts "$as_myself" ${1+"$@"}
222
240
fi
223
241
 
224
242
    if test x$as_have_required = xno; then :
228
246
    $as_echo "$0: In particular, zsh $ZSH_VERSION has bugs and should"
229
247
    $as_echo "$0: be upgraded to zsh 4.3.4 or later."
230
248
  else
231
 
    $as_echo "$0: Please tell bug-autoconf@gnu.org and edam@waxworlds.org
232
 
$0: about your system, including any error possibly output
233
 
$0: before this message. Then install a modern shell, or
234
 
$0: manually run the script under such a shell if you do
235
 
$0: have one."
 
249
    $as_echo "$0: Please tell bug-autoconf@gnu.org and tim@ed.am about
 
250
$0: your system, including any error possibly output before
 
251
$0: this message. Then install a modern shell, or manually
 
252
$0: run the script under such a shell if you do have one."
236
253
  fi
237
254
  exit 1
238
255
fi
317
334
      test -d "$as_dir" && break
318
335
    done
319
336
    test -z "$as_dirs" || eval "mkdir $as_dirs"
320
 
  } || test -d "$as_dir" || as_fn_error "cannot create directory $as_dir"
 
337
  } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
321
338
 
322
339
 
323
340
} # as_fn_mkdir_p
357
374
fi # as_fn_arith
358
375
 
359
376
 
360
 
# as_fn_error ERROR [LINENO LOG_FD]
361
 
# ---------------------------------
 
377
# as_fn_error STATUS ERROR [LINENO LOG_FD]
 
378
# ----------------------------------------
362
379
# Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
363
380
# provided, also output the error to LOG_FD, referencing LINENO. Then exit the
364
 
# script with status $?, using 1 if that was 0.
 
381
# script with STATUS, using 1 if that was 0.
365
382
as_fn_error ()
366
383
{
367
 
  as_status=$?; test $as_status -eq 0 && as_status=1
368
 
  if test "$3"; then
369
 
    as_lineno=${as_lineno-"$2"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
370
 
    $as_echo "$as_me:${as_lineno-$LINENO}: error: $1" >&$3
 
384
  as_status=$1; test $as_status -eq 0 && as_status=1
 
385
  if test "$4"; then
 
386
    as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
 
387
    $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
371
388
  fi
372
 
  $as_echo "$as_me: error: $1" >&2
 
389
  $as_echo "$as_me: error: $2" >&2
373
390
  as_fn_exit $as_status
374
391
} # as_fn_error
375
392
 
526
543
# Sed expression to map a string onto a valid variable name.
527
544
as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
528
545
 
529
 
 
530
 
 
531
 
# Check that we are running under the correct shell.
532
546
SHELL=${CONFIG_SHELL-/bin/sh}
533
547
 
534
 
case X$lt_ECHO in
535
 
X*--fallback-echo)
536
 
  # Remove one level of quotation (which was required for Make).
537
 
  ECHO=`echo "$lt_ECHO" | sed 's,\\\\\$\\$0,'$0','`
538
 
  ;;
539
 
esac
540
 
 
541
 
ECHO=${lt_ECHO-echo}
542
 
if test "X$1" = X--no-reexec; then
543
 
  # Discard the --no-reexec flag, and continue.
544
 
  shift
545
 
elif test "X$1" = X--fallback-echo; then
546
 
  # Avoid inline document here, it may be left over
547
 
  :
548
 
elif test "X`{ $ECHO '\t'; } 2>/dev/null`" = 'X\t' ; then
549
 
  # Yippee, $ECHO works!
550
 
  :
551
 
else
552
 
  # Restart under the correct shell.
553
 
  exec $SHELL "$0" --no-reexec ${1+"$@"}
554
 
fi
555
 
 
556
 
if test "X$1" = X--fallback-echo; then
557
 
  # used as fallback echo
558
 
  shift
559
 
  cat <<_LT_EOF
560
 
$*
561
 
_LT_EOF
562
 
  exit 0
563
 
fi
564
 
 
565
 
# The HP-UX ksh and POSIX shell print the target directory to stdout
566
 
# if CDPATH is set.
567
 
(unset CDPATH) >/dev/null 2>&1 && unset CDPATH
568
 
 
569
 
if test -z "$lt_ECHO"; then
570
 
  if test "X${echo_test_string+set}" != Xset; then
571
 
    # find a string as large as possible, as long as the shell can cope with it
572
 
    for cmd in 'sed 50q "$0"' 'sed 20q "$0"' 'sed 10q "$0"' 'sed 2q "$0"' 'echo test'; do
573
 
      # expected sizes: less than 2Kb, 1Kb, 512 bytes, 16 bytes, ...
574
 
      if { echo_test_string=`eval $cmd`; } 2>/dev/null &&
575
 
         { test "X$echo_test_string" = "X$echo_test_string"; } 2>/dev/null
576
 
      then
577
 
        break
578
 
      fi
579
 
    done
580
 
  fi
581
 
 
582
 
  if test "X`{ $ECHO '\t'; } 2>/dev/null`" = 'X\t' &&
583
 
     echo_testing_string=`{ $ECHO "$echo_test_string"; } 2>/dev/null` &&
584
 
     test "X$echo_testing_string" = "X$echo_test_string"; then
585
 
    :
586
 
  else
587
 
    # The Solaris, AIX, and Digital Unix default echo programs unquote
588
 
    # backslashes.  This makes it impossible to quote backslashes using
589
 
    #   echo "$something" | sed 's/\\/\\\\/g'
590
 
    #
591
 
    # So, first we look for a working echo in the user's PATH.
592
 
 
593
 
    lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
594
 
    for dir in $PATH /usr/ucb; do
595
 
      IFS="$lt_save_ifs"
596
 
      if (test -f $dir/echo || test -f $dir/echo$ac_exeext) &&
597
 
         test "X`($dir/echo '\t') 2>/dev/null`" = 'X\t' &&
598
 
         echo_testing_string=`($dir/echo "$echo_test_string") 2>/dev/null` &&
599
 
         test "X$echo_testing_string" = "X$echo_test_string"; then
600
 
        ECHO="$dir/echo"
601
 
        break
602
 
      fi
603
 
    done
604
 
    IFS="$lt_save_ifs"
605
 
 
606
 
    if test "X$ECHO" = Xecho; then
607
 
      # We didn't find a better echo, so look for alternatives.
608
 
      if test "X`{ print -r '\t'; } 2>/dev/null`" = 'X\t' &&
609
 
         echo_testing_string=`{ print -r "$echo_test_string"; } 2>/dev/null` &&
610
 
         test "X$echo_testing_string" = "X$echo_test_string"; then
611
 
        # This shell has a builtin print -r that does the trick.
612
 
        ECHO='print -r'
613
 
      elif { test -f /bin/ksh || test -f /bin/ksh$ac_exeext; } &&
614
 
           test "X$CONFIG_SHELL" != X/bin/ksh; then
615
 
        # If we have ksh, try running configure again with it.
616
 
        ORIGINAL_CONFIG_SHELL=${CONFIG_SHELL-/bin/sh}
617
 
        export ORIGINAL_CONFIG_SHELL
618
 
        CONFIG_SHELL=/bin/ksh
619
 
        export CONFIG_SHELL
620
 
        exec $CONFIG_SHELL "$0" --no-reexec ${1+"$@"}
621
 
      else
622
 
        # Try using printf.
623
 
        ECHO='printf %s\n'
624
 
        if test "X`{ $ECHO '\t'; } 2>/dev/null`" = 'X\t' &&
625
 
           echo_testing_string=`{ $ECHO "$echo_test_string"; } 2>/dev/null` &&
626
 
           test "X$echo_testing_string" = "X$echo_test_string"; then
627
 
          # Cool, printf works
628
 
          :
629
 
        elif echo_testing_string=`($ORIGINAL_CONFIG_SHELL "$0" --fallback-echo '\t') 2>/dev/null` &&
630
 
             test "X$echo_testing_string" = 'X\t' &&
631
 
             echo_testing_string=`($ORIGINAL_CONFIG_SHELL "$0" --fallback-echo "$echo_test_string") 2>/dev/null` &&
632
 
             test "X$echo_testing_string" = "X$echo_test_string"; then
633
 
          CONFIG_SHELL=$ORIGINAL_CONFIG_SHELL
634
 
          export CONFIG_SHELL
635
 
          SHELL="$CONFIG_SHELL"
636
 
          export SHELL
637
 
          ECHO="$CONFIG_SHELL $0 --fallback-echo"
638
 
        elif echo_testing_string=`($CONFIG_SHELL "$0" --fallback-echo '\t') 2>/dev/null` &&
639
 
             test "X$echo_testing_string" = 'X\t' &&
640
 
             echo_testing_string=`($CONFIG_SHELL "$0" --fallback-echo "$echo_test_string") 2>/dev/null` &&
641
 
             test "X$echo_testing_string" = "X$echo_test_string"; then
642
 
          ECHO="$CONFIG_SHELL $0 --fallback-echo"
643
 
        else
644
 
          # maybe with a smaller string...
645
 
          prev=:
646
 
 
647
 
          for cmd in 'echo test' 'sed 2q "$0"' 'sed 10q "$0"' 'sed 20q "$0"' 'sed 50q "$0"'; do
648
 
            if { test "X$echo_test_string" = "X`eval $cmd`"; } 2>/dev/null
649
 
            then
650
 
              break
651
 
            fi
652
 
            prev="$cmd"
653
 
          done
654
 
 
655
 
          if test "$prev" != 'sed 50q "$0"'; then
656
 
            echo_test_string=`eval $prev`
657
 
            export echo_test_string
658
 
            exec ${ORIGINAL_CONFIG_SHELL-${CONFIG_SHELL-/bin/sh}} "$0" ${1+"$@"}
659
 
          else
660
 
            # Oops.  We lost completely, so just stick with echo.
661
 
            ECHO=echo
662
 
          fi
663
 
        fi
664
 
      fi
665
 
    fi
666
 
  fi
667
 
fi
668
 
 
669
 
# Copy echo and quote the copy suitably for passing to libtool from
670
 
# the Makefile, instead of quoting the original, which is used later.
671
 
lt_ECHO=$ECHO
672
 
if test "X$lt_ECHO" = "X$CONFIG_SHELL $0 --fallback-echo"; then
673
 
   lt_ECHO="$CONFIG_SHELL \\\$\$0 --fallback-echo"
674
 
fi
675
 
 
676
 
 
677
 
 
678
 
 
679
 
exec 7<&0 </dev/null 6>&1
 
548
 
 
549
test -n "$DJDIR" || exec 7<&0 </dev/null
 
550
exec 6>&1
680
551
 
681
552
# Name of the host.
682
 
# hostname on some systems (SVR3.2, Linux) returns a bogus exit status,
 
553
# hostname on some systems (SVR3.2, old GNU/Linux) returns a bogus exit status,
683
554
# so uname gets run too.
684
555
ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
685
556
 
698
569
# Identity of this package.
699
570
PACKAGE_NAME='sqlite3cc'
700
571
PACKAGE_TARNAME='sqlite3cc'
701
 
PACKAGE_VERSION='0.1.0'
702
 
PACKAGE_STRING='sqlite3cc 0.1.0'
703
 
PACKAGE_BUGREPORT='edam@waxworlds.org'
704
 
PACKAGE_URL=''
 
572
PACKAGE_VERSION='0.1'
 
573
PACKAGE_STRING='sqlite3cc 0.1'
 
574
PACKAGE_BUGREPORT='tim@ed.am'
 
575
PACKAGE_URL='http://ed.am/dev/sqlite3cc'
705
576
 
706
 
ac_unique_file="src/database.cc"
 
577
ac_unique_file="src/command.cc"
707
578
# Factoring default headers for most tests.
708
579
ac_includes_default="\
709
580
#include <stdio.h>
751
622
LIPO
752
623
NMEDIT
753
624
DSYMUTIL
754
 
lt_ECHO
 
625
MANIFEST_TOOL
755
626
RANLIB
 
627
ac_ct_AR
756
628
AR
 
629
DLLTOOL
757
630
OBJDUMP
758
631
LN_S
759
632
NM
818
691
INSTALL_DATA
819
692
INSTALL_SCRIPT
820
693
INSTALL_PROGRAM
 
694
LIBSQLITE3CC_INTERFACE
821
695
target_alias
822
696
host_alias
823
697
build_alias
865
739
with_pic
866
740
enable_fast_install
867
741
with_gnu_ld
 
742
with_sysroot
868
743
enable_libtool_lock
869
744
'
870
745
      ac_precious_vars='build_alias
942
817
  fi
943
818
 
944
819
  case $ac_option in
945
 
  *=*)  ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
946
 
  *)    ac_optarg=yes ;;
 
820
  *=?*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
 
821
  *=)   ac_optarg= ;;
 
822
  *)    ac_optarg=yes ;;
947
823
  esac
948
824
 
949
825
  # Accept the important Cygnus configure options, so we can diagnose typos.
988
864
    ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
989
865
    # Reject names that are not valid shell variable names.
990
866
    expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
991
 
      as_fn_error "invalid feature name: $ac_useropt"
 
867
      as_fn_error $? "invalid feature name: $ac_useropt"
992
868
    ac_useropt_orig=$ac_useropt
993
869
    ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
994
870
    case $ac_user_opts in
1014
890
    ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
1015
891
    # Reject names that are not valid shell variable names.
1016
892
    expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1017
 
      as_fn_error "invalid feature name: $ac_useropt"
 
893
      as_fn_error $? "invalid feature name: $ac_useropt"
1018
894
    ac_useropt_orig=$ac_useropt
1019
895
    ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1020
896
    case $ac_user_opts in
1218
1094
    ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1219
1095
    # Reject names that are not valid shell variable names.
1220
1096
    expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1221
 
      as_fn_error "invalid package name: $ac_useropt"
 
1097
      as_fn_error $? "invalid package name: $ac_useropt"
1222
1098
    ac_useropt_orig=$ac_useropt
1223
1099
    ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1224
1100
    case $ac_user_opts in
1234
1110
    ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1235
1111
    # Reject names that are not valid shell variable names.
1236
1112
    expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1237
 
      as_fn_error "invalid package name: $ac_useropt"
 
1113
      as_fn_error $? "invalid package name: $ac_useropt"
1238
1114
    ac_useropt_orig=$ac_useropt
1239
1115
    ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1240
1116
    case $ac_user_opts in
1264
1140
  | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
1265
1141
    x_libraries=$ac_optarg ;;
1266
1142
 
1267
 
  -*) as_fn_error "unrecognized option: \`$ac_option'
1268
 
Try \`$0 --help' for more information."
 
1143
  -*) as_fn_error $? "unrecognized option: \`$ac_option'
 
1144
Try \`$0 --help' for more information"
1269
1145
    ;;
1270
1146
 
1271
1147
  *=*)
1273
1149
    # Reject names that are not valid shell variable names.
1274
1150
    case $ac_envvar in #(
1275
1151
      '' | [0-9]* | *[!_$as_cr_alnum]* )
1276
 
      as_fn_error "invalid variable name: \`$ac_envvar'" ;;
 
1152
      as_fn_error $? "invalid variable name: \`$ac_envvar'" ;;
1277
1153
    esac
1278
1154
    eval $ac_envvar=\$ac_optarg
1279
1155
    export $ac_envvar ;;
1283
1159
    $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1284
1160
    expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1285
1161
      $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1286
 
    : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
 
1162
    : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"
1287
1163
    ;;
1288
1164
 
1289
1165
  esac
1291
1167
 
1292
1168
if test -n "$ac_prev"; then
1293
1169
  ac_option=--`echo $ac_prev | sed 's/_/-/g'`
1294
 
  as_fn_error "missing argument to $ac_option"
 
1170
  as_fn_error $? "missing argument to $ac_option"
1295
1171
fi
1296
1172
 
1297
1173
if test -n "$ac_unrecognized_opts"; then
1298
1174
  case $enable_option_checking in
1299
1175
    no) ;;
1300
 
    fatal) as_fn_error "unrecognized options: $ac_unrecognized_opts" ;;
 
1176
    fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;;
1301
1177
    *)     $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
1302
1178
  esac
1303
1179
fi
1320
1196
    [\\/$]* | ?:[\\/]* )  continue;;
1321
1197
    NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
1322
1198
  esac
1323
 
  as_fn_error "expected an absolute directory name for --$ac_var: $ac_val"
 
1199
  as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val"
1324
1200
done
1325
1201
 
1326
1202
# There might be people who depend on the old broken behavior: `$host'
1334
1210
if test "x$host_alias" != x; then
1335
1211
  if test "x$build_alias" = x; then
1336
1212
    cross_compiling=maybe
1337
 
    $as_echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
1338
 
    If a cross compiler is detected then cross compile mode will be used." >&2
 
1213
    $as_echo "$as_me: WARNING: if you wanted to set the --build type, don't use --host.
 
1214
    If a cross compiler is detected then cross compile mode will be used" >&2
1339
1215
  elif test "x$build_alias" != "x$host_alias"; then
1340
1216
    cross_compiling=yes
1341
1217
  fi
1350
1226
ac_pwd=`pwd` && test -n "$ac_pwd" &&
1351
1227
ac_ls_di=`ls -di .` &&
1352
1228
ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
1353
 
  as_fn_error "working directory cannot be determined"
 
1229
  as_fn_error $? "working directory cannot be determined"
1354
1230
test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1355
 
  as_fn_error "pwd does not report name of working directory"
 
1231
  as_fn_error $? "pwd does not report name of working directory"
1356
1232
 
1357
1233
 
1358
1234
# Find the source files, if location was not specified.
1391
1267
fi
1392
1268
if test ! -r "$srcdir/$ac_unique_file"; then
1393
1269
  test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
1394
 
  as_fn_error "cannot find sources ($ac_unique_file) in $srcdir"
 
1270
  as_fn_error $? "cannot find sources ($ac_unique_file) in $srcdir"
1395
1271
fi
1396
1272
ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
1397
1273
ac_abs_confdir=`(
1398
 
        cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error "$ac_msg"
 
1274
        cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
1399
1275
        pwd)`
1400
1276
# When building in place, set srcdir=.
1401
1277
if test "$ac_abs_confdir" = "$ac_pwd"; then
1421
1297
  # Omit some internal or obsolete options to make the list less imposing.
1422
1298
  # This message is too long to be a string in the A/UX 3.1 sh.
1423
1299
  cat <<_ACEOF
1424
 
\`configure' configures sqlite3cc 0.1.0 to adapt to many kinds of systems.
 
1300
\`configure' configures sqlite3cc 0.1 to adapt to many kinds of systems.
1425
1301
 
1426
1302
Usage: $0 [OPTION]... [VAR=VALUE]...
1427
1303
 
1435
1311
      --help=short        display options specific to this package
1436
1312
      --help=recursive    display the short help of all the included packages
1437
1313
  -V, --version           display version information and exit
1438
 
  -q, --quiet, --silent   do not print \`checking...' messages
 
1314
  -q, --quiet, --silent   do not print \`checking ...' messages
1439
1315
      --cache-file=FILE   cache test results in FILE [disabled]
1440
1316
  -C, --config-cache      alias for \`--cache-file=config.cache'
1441
1317
  -n, --no-create         do not create output files
1491
1367
 
1492
1368
if test -n "$ac_init_help"; then
1493
1369
  case $ac_init_help in
1494
 
     short | recursive ) echo "Configuration of sqlite3cc 0.1.0:";;
 
1370
     short | recursive ) echo "Configuration of sqlite3cc 0.1:";;
1495
1371
   esac
1496
1372
  cat <<\_ACEOF
1497
1373
 
1510
1386
Optional Packages:
1511
1387
  --with-PACKAGE[=ARG]    use PACKAGE [ARG=yes]
1512
1388
  --without-PACKAGE       do not use PACKAGE (same as --with-PACKAGE=no)
1513
 
  --with-pic              try to use only PIC/non-PIC objects [default=use
 
1389
  --with-pic[=PKGS]       try to use only PIC/non-PIC objects [default=use
1514
1390
                          both]
1515
1391
  --with-gnu-ld           assume the C compiler uses GNU ld [default=no]
 
1392
  --with-sysroot=DIR Search for dependent libraries within DIR
 
1393
                        (or the compiler's sysroot if not specified).
1516
1394
 
1517
1395
Some influential environment variables:
1518
1396
  CXX         C++ compiler command
1520
1398
  LDFLAGS     linker flags, e.g. -L<lib dir> if you have libraries in a
1521
1399
              nonstandard directory <lib dir>
1522
1400
  LIBS        libraries to pass to the linker, e.g. -l<library>
1523
 
  CPPFLAGS    C/C++/Objective C preprocessor flags, e.g. -I<include dir> if
 
1401
  CPPFLAGS    (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if
1524
1402
              you have headers in a nonstandard directory <include dir>
1525
1403
  CC          C compiler command
1526
1404
  CFLAGS      C compiler flags
1530
1408
Use these variables to override the choices made by `configure' or to help
1531
1409
it to find libraries and programs with nonstandard names/locations.
1532
1410
 
1533
 
Report bugs to <edam@waxworlds.org>.
 
1411
Report bugs to <tim@ed.am>.
 
1412
sqlite3cc home page: <http://ed.am/dev/sqlite3cc>.
1534
1413
_ACEOF
1535
1414
ac_status=$?
1536
1415
fi
1593
1472
test -n "$ac_init_help" && exit $ac_status
1594
1473
if $ac_init_version; then
1595
1474
  cat <<\_ACEOF
1596
 
sqlite3cc configure 0.1.0
1597
 
generated by GNU Autoconf 2.64
 
1475
sqlite3cc configure 0.1
 
1476
generated by GNU Autoconf 2.68
1598
1477
 
1599
 
Copyright (C) 2009 Free Software Foundation, Inc.
 
1478
Copyright (C) 2010 Free Software Foundation, Inc.
1600
1479
This configure script is free software; the Free Software Foundation
1601
1480
gives unlimited permission to copy, distribute and modify it.
1602
1481
_ACEOF
1640
1519
 
1641
1520
        ac_retval=1
1642
1521
fi
1643
 
  eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1644
 
  return $ac_retval
 
1522
  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
 
1523
  as_fn_set_status $ac_retval
1645
1524
 
1646
1525
} # ac_fn_cxx_try_compile
1647
1526
 
1678
1557
 
1679
1558
        ac_retval=1
1680
1559
fi
1681
 
  eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1682
 
  return $ac_retval
 
1560
  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
 
1561
  as_fn_set_status $ac_retval
1683
1562
 
1684
1563
} # ac_fn_c_try_compile
1685
1564
 
1724
1603
  # interfere with the next link command; also delete a directory that is
1725
1604
  # left behind by Apple's compiler.  We do this before executing the actions.
1726
1605
  rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1727
 
  eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1728
 
  return $ac_retval
 
1606
  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
 
1607
  as_fn_set_status $ac_retval
1729
1608
 
1730
1609
} # ac_fn_c_try_link
1731
1610
 
1738
1617
  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1739
1618
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1740
1619
$as_echo_n "checking for $2... " >&6; }
1741
 
if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
 
1620
if eval \${$3+:} false; then :
1742
1621
  $as_echo_n "(cached) " >&6
1743
1622
else
1744
1623
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1756
1635
eval ac_res=\$$3
1757
1636
               { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1758
1637
$as_echo "$ac_res" >&6; }
1759
 
  eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
 
1638
  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1760
1639
 
1761
1640
} # ac_fn_c_check_header_compile
1762
1641
 
1781
1660
    mv -f conftest.er1 conftest.err
1782
1661
  fi
1783
1662
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1784
 
  test $ac_status = 0; } >/dev/null && {
 
1663
  test $ac_status = 0; } > conftest.i && {
1785
1664
         test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
1786
1665
         test ! -s conftest.err
1787
1666
       }; then :
1792
1671
 
1793
1672
    ac_retval=1
1794
1673
fi
1795
 
  eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1796
 
  return $ac_retval
 
1674
  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
 
1675
  as_fn_set_status $ac_retval
1797
1676
 
1798
1677
} # ac_fn_c_try_cpp
1799
1678
 
1834
1713
       ac_retval=$ac_status
1835
1714
fi
1836
1715
  rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1837
 
  eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1838
 
  return $ac_retval
 
1716
  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
 
1717
  as_fn_set_status $ac_retval
1839
1718
 
1840
1719
} # ac_fn_c_try_run
1841
1720
 
1847
1726
  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1848
1727
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1849
1728
$as_echo_n "checking for $2... " >&6; }
1850
 
if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
 
1729
if eval \${$3+:} false; then :
1851
1730
  $as_echo_n "(cached) " >&6
1852
1731
else
1853
1732
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1902
1781
eval ac_res=\$$3
1903
1782
               { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1904
1783
$as_echo "$ac_res" >&6; }
1905
 
  eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
 
1784
  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1906
1785
 
1907
1786
} # ac_fn_c_check_func
1908
1787
 
1927
1806
    mv -f conftest.er1 conftest.err
1928
1807
  fi
1929
1808
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1930
 
  test $ac_status = 0; } >/dev/null && {
 
1809
  test $ac_status = 0; } > conftest.i && {
1931
1810
         test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
1932
1811
         test ! -s conftest.err
1933
1812
       }; then :
1938
1817
 
1939
1818
    ac_retval=1
1940
1819
fi
1941
 
  eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1942
 
  return $ac_retval
 
1820
  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
 
1821
  as_fn_set_status $ac_retval
1943
1822
 
1944
1823
} # ac_fn_cxx_try_cpp
1945
1824
 
1984
1863
  # interfere with the next link command; also delete a directory that is
1985
1864
  # left behind by Apple's compiler.  We do this before executing the actions.
1986
1865
  rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1987
 
  eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1988
 
  return $ac_retval
 
1866
  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
 
1867
  as_fn_set_status $ac_retval
1989
1868
 
1990
1869
} # ac_fn_cxx_try_link
1991
1870
 
1997
1876
ac_fn_c_check_header_mongrel ()
1998
1877
{
1999
1878
  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2000
 
  if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
 
1879
  if eval \${$3+:} false; then :
2001
1880
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2002
1881
$as_echo_n "checking for $2... " >&6; }
2003
 
if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
 
1882
if eval \${$3+:} false; then :
2004
1883
  $as_echo_n "(cached) " >&6
2005
1884
fi
2006
1885
eval ac_res=\$$3
2036
1915
else
2037
1916
  ac_header_preproc=no
2038
1917
fi
2039
 
rm -f conftest.err conftest.$ac_ext
 
1918
rm -f conftest.err conftest.i conftest.$ac_ext
2040
1919
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
2041
1920
$as_echo "$ac_header_preproc" >&6; }
2042
1921
 
2059
1938
$as_echo "$as_me: WARNING: $2:     section \"Present But Cannot Be Compiled\"" >&2;}
2060
1939
    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
2061
1940
$as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
2062
 
( cat <<\_ASBOX
2063
 
## --------------------------------- ##
2064
 
## Report this to edam@waxworlds.org ##
2065
 
## --------------------------------- ##
2066
 
_ASBOX
 
1941
( $as_echo "## ------------------------ ##
 
1942
## Report this to tim@ed.am ##
 
1943
## ------------------------ ##"
2067
1944
     ) | sed "s/^/$as_me: WARNING:     /" >&2
2068
1945
    ;;
2069
1946
esac
2070
1947
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2071
1948
$as_echo_n "checking for $2... " >&6; }
2072
 
if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
 
1949
if eval \${$3+:} false; then :
2073
1950
  $as_echo_n "(cached) " >&6
2074
1951
else
2075
1952
  eval "$3=\$ac_header_compiler"
2078
1955
               { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2079
1956
$as_echo "$ac_res" >&6; }
2080
1957
fi
2081
 
  eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
 
1958
  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2082
1959
 
2083
1960
} # ac_fn_c_check_header_mongrel
2084
1961
cat >config.log <<_ACEOF
2085
1962
This file contains any messages produced by compilers while
2086
1963
running configure, to aid debugging if configure makes a mistake.
2087
1964
 
2088
 
It was created by sqlite3cc $as_me 0.1.0, which was
2089
 
generated by GNU Autoconf 2.64.  Invocation command line was
 
1965
It was created by sqlite3cc $as_me 0.1, which was
 
1966
generated by GNU Autoconf 2.68.  Invocation command line was
2090
1967
 
2091
1968
  $ $0 $@
2092
1969
 
2196
2073
  {
2197
2074
    echo
2198
2075
 
2199
 
    cat <<\_ASBOX
2200
 
## ---------------- ##
 
2076
    $as_echo "## ---------------- ##
2201
2077
## Cache variables. ##
2202
 
## ---------------- ##
2203
 
_ASBOX
 
2078
## ---------------- ##"
2204
2079
    echo
2205
2080
    # The following way of writing the cache mishandles newlines in values,
2206
2081
(
2234
2109
)
2235
2110
    echo
2236
2111
 
2237
 
    cat <<\_ASBOX
2238
 
## ----------------- ##
 
2112
    $as_echo "## ----------------- ##
2239
2113
## Output variables. ##
2240
 
## ----------------- ##
2241
 
_ASBOX
 
2114
## ----------------- ##"
2242
2115
    echo
2243
2116
    for ac_var in $ac_subst_vars
2244
2117
    do
2251
2124
    echo
2252
2125
 
2253
2126
    if test -n "$ac_subst_files"; then
2254
 
      cat <<\_ASBOX
2255
 
## ------------------- ##
 
2127
      $as_echo "## ------------------- ##
2256
2128
## File substitutions. ##
2257
 
## ------------------- ##
2258
 
_ASBOX
 
2129
## ------------------- ##"
2259
2130
      echo
2260
2131
      for ac_var in $ac_subst_files
2261
2132
      do
2269
2140
    fi
2270
2141
 
2271
2142
    if test -s confdefs.h; then
2272
 
      cat <<\_ASBOX
2273
 
## ----------- ##
 
2143
      $as_echo "## ----------- ##
2274
2144
## confdefs.h. ##
2275
 
## ----------- ##
2276
 
_ASBOX
 
2145
## ----------- ##"
2277
2146
      echo
2278
2147
      cat confdefs.h
2279
2148
      echo
2328
2197
ac_site_file1=NONE
2329
2198
ac_site_file2=NONE
2330
2199
if test -n "$CONFIG_SITE"; then
2331
 
  ac_site_file1=$CONFIG_SITE
 
2200
  # We do not want a PATH search for config.site.
 
2201
  case $CONFIG_SITE in #((
 
2202
    -*)  ac_site_file1=./$CONFIG_SITE;;
 
2203
    */*) ac_site_file1=$CONFIG_SITE;;
 
2204
    *)   ac_site_file1=./$CONFIG_SITE;;
 
2205
  esac
2332
2206
elif test "x$prefix" != xNONE; then
2333
2207
  ac_site_file1=$prefix/share/config.site
2334
2208
  ac_site_file2=$prefix/etc/config.site
2339
2213
for ac_site_file in "$ac_site_file1" "$ac_site_file2"
2340
2214
do
2341
2215
  test "x$ac_site_file" = xNONE && continue
2342
 
  if test -r "$ac_site_file"; then
 
2216
  if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then
2343
2217
    { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
2344
2218
$as_echo "$as_me: loading site script $ac_site_file" >&6;}
2345
2219
    sed 's/^/| /' "$ac_site_file" >&5
2346
 
    . "$ac_site_file"
 
2220
    . "$ac_site_file" \
 
2221
      || { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
 
2222
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
 
2223
as_fn_error $? "failed to load site script $ac_site_file
 
2224
See \`config.log' for more details" "$LINENO" 5; }
2347
2225
  fi
2348
2226
done
2349
2227
 
2350
2228
if test -r "$cache_file"; then
2351
 
  # Some versions of bash will fail to source /dev/null (special
2352
 
  # files actually), so we avoid doing that.
2353
 
  if test -f "$cache_file"; then
 
2229
  # Some versions of bash will fail to source /dev/null (special files
 
2230
  # actually), so we avoid doing that.  DJGPP emulates it as a regular file.
 
2231
  if test /dev/null != "$cache_file" && test -f "$cache_file"; then
2354
2232
    { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
2355
2233
$as_echo "$as_me: loading cache $cache_file" >&6;}
2356
2234
    case $cache_file in
2419
2297
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2420
2298
  { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
2421
2299
$as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
2422
 
  as_fn_error "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
 
2300
  as_fn_error $? "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
2423
2301
fi
2424
2302
## -------------------- ##
2425
2303
## Main body of script. ##
2432
2310
ac_compiler_gnu=$ac_cv_c_compiler_gnu
2433
2311
 
2434
2312
 
 
2313
LIBSQLITE3CC_INTERFACE=0:0:0
 
2314
 
2435
2315
ac_aux_dir=
2436
2316
for ac_dir in build-aux "$srcdir"/build-aux; do
2437
 
  for ac_t in install-sh install.sh shtool; do
2438
 
    if test -f "$ac_dir/$ac_t"; then
2439
 
      ac_aux_dir=$ac_dir
2440
 
      ac_install_sh="$ac_aux_dir/$ac_t -c"
2441
 
      break 2
2442
 
    fi
2443
 
  done
 
2317
  if test -f "$ac_dir/install-sh"; then
 
2318
    ac_aux_dir=$ac_dir
 
2319
    ac_install_sh="$ac_aux_dir/install-sh -c"
 
2320
    break
 
2321
  elif test -f "$ac_dir/install.sh"; then
 
2322
    ac_aux_dir=$ac_dir
 
2323
    ac_install_sh="$ac_aux_dir/install.sh -c"
 
2324
    break
 
2325
  elif test -f "$ac_dir/shtool"; then
 
2326
    ac_aux_dir=$ac_dir
 
2327
    ac_install_sh="$ac_aux_dir/shtool install -c"
 
2328
    break
 
2329
  fi
2444
2330
done
2445
2331
if test -z "$ac_aux_dir"; then
2446
 
  as_fn_error "cannot find install-sh, install.sh, or shtool in build-aux \"$srcdir\"/build-aux" "$LINENO" 5
 
2332
  as_fn_error $? "cannot find install-sh, install.sh, or shtool in build-aux \"$srcdir\"/build-aux" "$LINENO" 5
2447
2333
fi
2448
2334
 
2449
2335
# These three variables are undocumented and unsupported,
2475
2361
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
2476
2362
$as_echo_n "checking for a BSD-compatible install... " >&6; }
2477
2363
if test -z "$INSTALL"; then
2478
 
if test "${ac_cv_path_install+set}" = set; then :
 
2364
if ${ac_cv_path_install+:} false; then :
2479
2365
  $as_echo_n "(cached) " >&6
2480
2366
else
2481
2367
  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2562
2448
'
2563
2449
case `pwd` in
2564
2450
  *[\\\"\#\$\&\'\`$am_lf]*)
2565
 
    as_fn_error "unsafe absolute working directory name" "$LINENO" 5;;
 
2451
    as_fn_error $? "unsafe absolute working directory name" "$LINENO" 5;;
2566
2452
esac
2567
2453
case $srcdir in
2568
2454
  *[\\\"\#\$\&\'\`$am_lf\ \     ]*)
2569
 
    as_fn_error "unsafe srcdir value: \`$srcdir'" "$LINENO" 5;;
 
2455
    as_fn_error $? "unsafe srcdir value: \`$srcdir'" "$LINENO" 5;;
2570
2456
esac
2571
2457
 
2572
2458
# Do `set' in a subshell so we don't clobber the current shell's
2588
2474
      # if, for instance, CONFIG_SHELL is bash and it inherits a
2589
2475
      # broken ls alias from the environment.  This has actually
2590
2476
      # happened.  Such a system could not be considered "sane".
2591
 
      as_fn_error "ls -t appears to fail.  Make sure there is not a broken
 
2477
      as_fn_error $? "ls -t appears to fail.  Make sure there is not a broken
2592
2478
alias in your environment" "$LINENO" 5
2593
2479
   fi
2594
2480
 
2598
2484
   # Ok.
2599
2485
   :
2600
2486
else
2601
 
   as_fn_error "newly created file is older than distributed files!
 
2487
   as_fn_error $? "newly created file is older than distributed files!
2602
2488
Check your system clock" "$LINENO" 5
2603
2489
fi
2604
2490
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2652
2538
set dummy ${ac_tool_prefix}strip; ac_word=$2
2653
2539
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2654
2540
$as_echo_n "checking for $ac_word... " >&6; }
2655
 
if test "${ac_cv_prog_STRIP+set}" = set; then :
 
2541
if ${ac_cv_prog_STRIP+:} false; then :
2656
2542
  $as_echo_n "(cached) " >&6
2657
2543
else
2658
2544
  if test -n "$STRIP"; then
2692
2578
set dummy strip; ac_word=$2
2693
2579
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2694
2580
$as_echo_n "checking for $ac_word... " >&6; }
2695
 
if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then :
 
2581
if ${ac_cv_prog_ac_ct_STRIP+:} false; then :
2696
2582
  $as_echo_n "(cached) " >&6
2697
2583
else
2698
2584
  if test -n "$ac_ct_STRIP"; then
2745
2631
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for a thread-safe mkdir -p" >&5
2746
2632
$as_echo_n "checking for a thread-safe mkdir -p... " >&6; }
2747
2633
if test -z "$MKDIR_P"; then
2748
 
  if test "${ac_cv_path_mkdir+set}" = set; then :
 
2634
  if ${ac_cv_path_mkdir+:} false; then :
2749
2635
  $as_echo_n "(cached) " >&6
2750
2636
else
2751
2637
  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2770
2656
 
2771
2657
fi
2772
2658
 
 
2659
  test -d ./--version && rmdir ./--version
2773
2660
  if test "${ac_cv_path_mkdir+set}" = set; then
2774
2661
    MKDIR_P="$ac_cv_path_mkdir -p"
2775
2662
  else
2777
2664
    # value for MKDIR_P within a source directory, because that will
2778
2665
    # break other packages using the cache if that directory is
2779
2666
    # removed, or if the value is a relative name.
2780
 
    test -d ./--version && rmdir ./--version
2781
2667
    MKDIR_P="$ac_install_sh -d"
2782
2668
  fi
2783
2669
fi
2796
2682
set dummy $ac_prog; ac_word=$2
2797
2683
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2798
2684
$as_echo_n "checking for $ac_word... " >&6; }
2799
 
if test "${ac_cv_prog_AWK+set}" = set; then :
 
2685
if ${ac_cv_prog_AWK+:} false; then :
2800
2686
  $as_echo_n "(cached) " >&6
2801
2687
else
2802
2688
  if test -n "$AWK"; then
2836
2722
$as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
2837
2723
set x ${MAKE-make}
2838
2724
ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
2839
 
if { as_var=ac_cv_prog_make_${ac_make}_set; eval "test \"\${$as_var+set}\" = set"; }; then :
 
2725
if eval \${ac_cv_prog_make_${ac_make}_set+:} false; then :
2840
2726
  $as_echo_n "(cached) " >&6
2841
2727
else
2842
2728
  cat >conftest.make <<\_ACEOF
2844
2730
all:
2845
2731
        @echo '@@@%%%=$(MAKE)=@@@%%%'
2846
2732
_ACEOF
2847
 
# GNU make sometimes prints "make[1]: Entering...", which would confuse us.
 
2733
# GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
2848
2734
case `${MAKE-make} -f conftest.make 2>/dev/null` in
2849
2735
  *@@@%%%=?*=@@@%%%*)
2850
2736
    eval ac_cv_prog_make_${ac_make}_set=yes;;
2878
2764
  am__isrc=' -I$(srcdir)'
2879
2765
  # test to see if srcdir already configured
2880
2766
  if test -f $srcdir/config.status; then
2881
 
    as_fn_error "source directory already configured; run \"make distclean\" there first" "$LINENO" 5
 
2767
    as_fn_error $? "source directory already configured; run \"make distclean\" there first" "$LINENO" 5
2882
2768
  fi
2883
2769
fi
2884
2770
 
2894
2780
 
2895
2781
# Define the identity of the package.
2896
2782
 PACKAGE='sqlite3cc'
2897
 
 VERSION='0.1.0'
 
2783
 VERSION='0.1'
2898
2784
 
2899
2785
 
2900
2786
cat >>confdefs.h <<_ACEOF
2955
2841
set dummy $ac_tool_prefix$ac_prog; ac_word=$2
2956
2842
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2957
2843
$as_echo_n "checking for $ac_word... " >&6; }
2958
 
if test "${ac_cv_prog_CXX+set}" = set; then :
 
2844
if ${ac_cv_prog_CXX+:} false; then :
2959
2845
  $as_echo_n "(cached) " >&6
2960
2846
else
2961
2847
  if test -n "$CXX"; then
2999
2885
set dummy $ac_prog; ac_word=$2
3000
2886
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3001
2887
$as_echo_n "checking for $ac_word... " >&6; }
3002
 
if test "${ac_cv_prog_ac_ct_CXX+set}" = set; then :
 
2888
if ${ac_cv_prog_ac_ct_CXX+:} false; then :
3003
2889
  $as_echo_n "(cached) " >&6
3004
2890
else
3005
2891
  if test -n "$ac_ct_CXX"; then
3069
2955
... rest of stderr output deleted ...
3070
2956
         10q' conftest.err >conftest.er1
3071
2957
    cat conftest.er1 >&5
3072
 
    rm -f conftest.er1 conftest.err
3073
2958
  fi
 
2959
  rm -f conftest.er1 conftest.err
3074
2960
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3075
2961
  test $ac_status = 0; }
3076
2962
done
3077
2963
 
3078
2964
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3079
2965
/* end confdefs.h.  */
3080
 
#include <stdio.h>
 
2966
 
3081
2967
int
3082
2968
main ()
3083
2969
{
3084
 
FILE *f = fopen ("conftest.out", "w");
3085
 
 return ferror (f) || fclose (f) != 0;
3086
2970
 
3087
2971
  ;
3088
2972
  return 0;
3089
2973
}
3090
2974
_ACEOF
3091
2975
ac_clean_files_save=$ac_clean_files
3092
 
ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out conftest.out"
 
2976
ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
3093
2977
# Try to create an executable without -o first, disregard a.out.
3094
2978
# It will help us diagnose broken compilers, and finding out an intuition
3095
2979
# of exeext.
3096
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for C++ compiler default output file name" >&5
3097
 
$as_echo_n "checking for C++ compiler default output file name... " >&6; }
 
2980
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C++ compiler works" >&5
 
2981
$as_echo_n "checking whether the C++ compiler works... " >&6; }
3098
2982
ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
3099
2983
 
3100
2984
# The possible output files:
3156
3040
else
3157
3041
  ac_file=''
3158
3042
fi
 
3043
if test -z "$ac_file"; then :
 
3044
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
3045
$as_echo "no" >&6; }
 
3046
$as_echo "$as_me: failed program was:" >&5
 
3047
sed 's/^/| /' conftest.$ac_ext >&5
 
3048
 
 
3049
{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
 
3050
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
 
3051
as_fn_error 77 "C++ compiler cannot create executables
 
3052
See \`config.log' for more details" "$LINENO" 5; }
 
3053
else
 
3054
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
 
3055
$as_echo "yes" >&6; }
 
3056
fi
 
3057
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for C++ compiler default output file name" >&5
 
3058
$as_echo_n "checking for C++ compiler default output file name... " >&6; }
3159
3059
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
3160
3060
$as_echo "$ac_file" >&6; }
3161
 
if test -z "$ac_file"; then :
3162
 
  $as_echo "$as_me: failed program was:" >&5
3163
 
sed 's/^/| /' conftest.$ac_ext >&5
3164
 
 
3165
 
{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3166
 
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3167
 
{ as_fn_set_status 77
3168
 
as_fn_error "C++ compiler cannot create executables
3169
 
See \`config.log' for more details." "$LINENO" 5; }; }
3170
 
fi
3171
3061
ac_exeext=$ac_cv_exeext
3172
3062
 
3173
 
# Check that the compiler produces executables we can run.  If not, either
3174
 
# the compiler is broken, or we cross compile.
3175
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C++ compiler works" >&5
3176
 
$as_echo_n "checking whether the C++ compiler works... " >&6; }
3177
 
# If not cross compiling, check that we can run a simple program.
3178
 
if test "$cross_compiling" != yes; then
3179
 
  if { ac_try='./$ac_file'
3180
 
  { { case "(($ac_try" in
3181
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3182
 
  *) ac_try_echo=$ac_try;;
3183
 
esac
3184
 
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3185
 
$as_echo "$ac_try_echo"; } >&5
3186
 
  (eval "$ac_try") 2>&5
3187
 
  ac_status=$?
3188
 
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3189
 
  test $ac_status = 0; }; }; then
3190
 
    cross_compiling=no
3191
 
  else
3192
 
    if test "$cross_compiling" = maybe; then
3193
 
        cross_compiling=yes
3194
 
    else
3195
 
        { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3196
 
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3197
 
as_fn_error "cannot run C++ compiled programs.
3198
 
If you meant to cross compile, use \`--host'.
3199
 
See \`config.log' for more details." "$LINENO" 5; }
3200
 
    fi
3201
 
  fi
3202
 
fi
3203
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3204
 
$as_echo "yes" >&6; }
3205
 
 
3206
 
rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out conftest.out
 
3063
rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
3207
3064
ac_clean_files=$ac_clean_files_save
3208
 
# Check that the compiler produces executables we can run.  If not, either
3209
 
# the compiler is broken, or we cross compile.
3210
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
3211
 
$as_echo_n "checking whether we are cross compiling... " >&6; }
3212
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
3213
 
$as_echo "$cross_compiling" >&6; }
3214
 
 
3215
3065
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
3216
3066
$as_echo_n "checking for suffix of executables... " >&6; }
3217
3067
if { { ac_try="$ac_link"
3241
3091
else
3242
3092
  { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3243
3093
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3244
 
as_fn_error "cannot compute suffix of executables: cannot compile and link
3245
 
See \`config.log' for more details." "$LINENO" 5; }
 
3094
as_fn_error $? "cannot compute suffix of executables: cannot compile and link
 
3095
See \`config.log' for more details" "$LINENO" 5; }
3246
3096
fi
3247
 
rm -f conftest$ac_cv_exeext
 
3097
rm -f conftest conftest$ac_cv_exeext
3248
3098
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
3249
3099
$as_echo "$ac_cv_exeext" >&6; }
3250
3100
 
3251
3101
rm -f conftest.$ac_ext
3252
3102
EXEEXT=$ac_cv_exeext
3253
3103
ac_exeext=$EXEEXT
 
3104
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 
3105
/* end confdefs.h.  */
 
3106
#include <stdio.h>
 
3107
int
 
3108
main ()
 
3109
{
 
3110
FILE *f = fopen ("conftest.out", "w");
 
3111
 return ferror (f) || fclose (f) != 0;
 
3112
 
 
3113
  ;
 
3114
  return 0;
 
3115
}
 
3116
_ACEOF
 
3117
ac_clean_files="$ac_clean_files conftest.out"
 
3118
# Check that the compiler produces executables we can run.  If not, either
 
3119
# the compiler is broken, or we cross compile.
 
3120
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
 
3121
$as_echo_n "checking whether we are cross compiling... " >&6; }
 
3122
if test "$cross_compiling" != yes; then
 
3123
  { { ac_try="$ac_link"
 
3124
case "(($ac_try" in
 
3125
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
3126
  *) ac_try_echo=$ac_try;;
 
3127
esac
 
3128
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
 
3129
$as_echo "$ac_try_echo"; } >&5
 
3130
  (eval "$ac_link") 2>&5
 
3131
  ac_status=$?
 
3132
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 
3133
  test $ac_status = 0; }
 
3134
  if { ac_try='./conftest$ac_cv_exeext'
 
3135
  { { case "(($ac_try" in
 
3136
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
3137
  *) ac_try_echo=$ac_try;;
 
3138
esac
 
3139
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
 
3140
$as_echo "$ac_try_echo"; } >&5
 
3141
  (eval "$ac_try") 2>&5
 
3142
  ac_status=$?
 
3143
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 
3144
  test $ac_status = 0; }; }; then
 
3145
    cross_compiling=no
 
3146
  else
 
3147
    if test "$cross_compiling" = maybe; then
 
3148
        cross_compiling=yes
 
3149
    else
 
3150
        { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
 
3151
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
 
3152
as_fn_error $? "cannot run C++ compiled programs.
 
3153
If you meant to cross compile, use \`--host'.
 
3154
See \`config.log' for more details" "$LINENO" 5; }
 
3155
    fi
 
3156
  fi
 
3157
fi
 
3158
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
 
3159
$as_echo "$cross_compiling" >&6; }
 
3160
 
 
3161
rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out
 
3162
ac_clean_files=$ac_clean_files_save
3254
3163
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
3255
3164
$as_echo_n "checking for suffix of object files... " >&6; }
3256
 
if test "${ac_cv_objext+set}" = set; then :
 
3165
if ${ac_cv_objext+:} false; then :
3257
3166
  $as_echo_n "(cached) " >&6
3258
3167
else
3259
3168
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3293
3202
 
3294
3203
{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3295
3204
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3296
 
as_fn_error "cannot compute suffix of object files: cannot compile
3297
 
See \`config.log' for more details." "$LINENO" 5; }
 
3205
as_fn_error $? "cannot compute suffix of object files: cannot compile
 
3206
See \`config.log' for more details" "$LINENO" 5; }
3298
3207
fi
3299
3208
rm -f conftest.$ac_cv_objext conftest.$ac_ext
3300
3209
fi
3304
3213
ac_objext=$OBJEXT
3305
3214
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C++ compiler" >&5
3306
3215
$as_echo_n "checking whether we are using the GNU C++ compiler... " >&6; }
3307
 
if test "${ac_cv_cxx_compiler_gnu+set}" = set; then :
 
3216
if ${ac_cv_cxx_compiler_gnu+:} false; then :
3308
3217
  $as_echo_n "(cached) " >&6
3309
3218
else
3310
3219
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3341
3250
ac_save_CXXFLAGS=$CXXFLAGS
3342
3251
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CXX accepts -g" >&5
3343
3252
$as_echo_n "checking whether $CXX accepts -g... " >&6; }
3344
 
if test "${ac_cv_prog_cxx_g+set}" = set; then :
 
3253
if ${ac_cv_prog_cxx_g+:} false; then :
3345
3254
  $as_echo_n "(cached) " >&6
3346
3255
else
3347
3256
  ac_save_cxx_werror_flag=$ac_cxx_werror_flag
3489
3398
 
3490
3399
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
3491
3400
$as_echo_n "checking dependency style of $depcc... " >&6; }
3492
 
if test "${am_cv_CXX_dependencies_compiler_type+set}" = set; then :
 
3401
if ${am_cv_CXX_dependencies_compiler_type+:} false; then :
3493
3402
  $as_echo_n "(cached) " >&6
3494
3403
else
3495
3404
  if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
3620
3529
 
3621
3530
 
3622
3531
 
3623
 
macro_version='2.2.6'
3624
 
macro_revision='1.3012'
 
3532
macro_version='2.4.2'
 
3533
macro_revision='1.3337'
3625
3534
 
3626
3535
 
3627
3536
 
3639
3548
 
3640
3549
# Make sure we can run config.sub.
3641
3550
$SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
3642
 
  as_fn_error "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
 
3551
  as_fn_error $? "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
3643
3552
 
3644
3553
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
3645
3554
$as_echo_n "checking build system type... " >&6; }
3646
 
if test "${ac_cv_build+set}" = set; then :
 
3555
if ${ac_cv_build+:} false; then :
3647
3556
  $as_echo_n "(cached) " >&6
3648
3557
else
3649
3558
  ac_build_alias=$build_alias
3650
3559
test "x$ac_build_alias" = x &&
3651
3560
  ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
3652
3561
test "x$ac_build_alias" = x &&
3653
 
  as_fn_error "cannot guess build type; you must specify one" "$LINENO" 5
 
3562
  as_fn_error $? "cannot guess build type; you must specify one" "$LINENO" 5
3654
3563
ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
3655
 
  as_fn_error "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
 
3564
  as_fn_error $? "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
3656
3565
 
3657
3566
fi
3658
3567
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
3659
3568
$as_echo "$ac_cv_build" >&6; }
3660
3569
case $ac_cv_build in
3661
3570
*-*-*) ;;
3662
 
*) as_fn_error "invalid value of canonical build" "$LINENO" 5;;
 
3571
*) as_fn_error $? "invalid value of canonical build" "$LINENO" 5;;
3663
3572
esac
3664
3573
build=$ac_cv_build
3665
3574
ac_save_IFS=$IFS; IFS='-'
3677
3586
 
3678
3587
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
3679
3588
$as_echo_n "checking host system type... " >&6; }
3680
 
if test "${ac_cv_host+set}" = set; then :
 
3589
if ${ac_cv_host+:} false; then :
3681
3590
  $as_echo_n "(cached) " >&6
3682
3591
else
3683
3592
  if test "x$host_alias" = x; then
3684
3593
  ac_cv_host=$ac_cv_build
3685
3594
else
3686
3595
  ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
3687
 
    as_fn_error "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
 
3596
    as_fn_error $? "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
3688
3597
fi
3689
3598
 
3690
3599
fi
3692
3601
$as_echo "$ac_cv_host" >&6; }
3693
3602
case $ac_cv_host in
3694
3603
*-*-*) ;;
3695
 
*) as_fn_error "invalid value of canonical host" "$LINENO" 5;;
 
3604
*) as_fn_error $? "invalid value of canonical host" "$LINENO" 5;;
3696
3605
esac
3697
3606
host=$ac_cv_host
3698
3607
ac_save_IFS=$IFS; IFS='-'
3708
3617
case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
3709
3618
 
3710
3619
 
 
3620
# Backslashify metacharacters that are still active within
 
3621
# double-quoted strings.
 
3622
sed_quote_subst='s/\(["`$\\]\)/\\\1/g'
 
3623
 
 
3624
# Same as above, but do not quote variable references.
 
3625
double_quote_subst='s/\(["`\\]\)/\\\1/g'
 
3626
 
 
3627
# Sed substitution to delay expansion of an escaped shell variable in a
 
3628
# double_quote_subst'ed string.
 
3629
delay_variable_subst='s/\\\\\\\\\\\$/\\\\\\$/g'
 
3630
 
 
3631
# Sed substitution to delay expansion of an escaped single quote.
 
3632
delay_single_quote_subst='s/'\''/'\'\\\\\\\'\''/g'
 
3633
 
 
3634
# Sed substitution to avoid accidental globbing in evaled expressions
 
3635
no_glob_subst='s/\*/\\\*/g'
 
3636
 
 
3637
ECHO='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
 
3638
ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO
 
3639
ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO$ECHO
 
3640
 
 
3641
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to print strings" >&5
 
3642
$as_echo_n "checking how to print strings... " >&6; }
 
3643
# Test print first, because it will be a builtin if present.
 
3644
if test "X`( print -r -- -n ) 2>/dev/null`" = X-n && \
 
3645
   test "X`print -r -- $ECHO 2>/dev/null`" = "X$ECHO"; then
 
3646
  ECHO='print -r --'
 
3647
elif test "X`printf %s $ECHO 2>/dev/null`" = "X$ECHO"; then
 
3648
  ECHO='printf %s\n'
 
3649
else
 
3650
  # Use this function as a fallback that always works.
 
3651
  func_fallback_echo ()
 
3652
  {
 
3653
    eval 'cat <<_LTECHO_EOF
 
3654
$1
 
3655
_LTECHO_EOF'
 
3656
  }
 
3657
  ECHO='func_fallback_echo'
 
3658
fi
 
3659
 
 
3660
# func_echo_all arg...
 
3661
# Invoke $ECHO with all args, space-separated.
 
3662
func_echo_all ()
 
3663
{
 
3664
    $ECHO ""
 
3665
}
 
3666
 
 
3667
case "$ECHO" in
 
3668
  printf*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: printf" >&5
 
3669
$as_echo "printf" >&6; } ;;
 
3670
  print*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: print -r" >&5
 
3671
$as_echo "print -r" >&6; } ;;
 
3672
  *) { $as_echo "$as_me:${as_lineno-$LINENO}: result: cat" >&5
 
3673
$as_echo "cat" >&6; } ;;
 
3674
esac
 
3675
 
 
3676
 
 
3677
 
 
3678
 
 
3679
 
 
3680
 
 
3681
 
 
3682
 
 
3683
 
 
3684
 
 
3685
 
 
3686
 
 
3687
 
 
3688
 
3711
3689
ac_ext=c
3712
3690
ac_cpp='$CPP $CPPFLAGS'
3713
3691
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3718
3696
set dummy ${ac_tool_prefix}gcc; ac_word=$2
3719
3697
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3720
3698
$as_echo_n "checking for $ac_word... " >&6; }
3721
 
if test "${ac_cv_prog_CC+set}" = set; then :
 
3699
if ${ac_cv_prog_CC+:} false; then :
3722
3700
  $as_echo_n "(cached) " >&6
3723
3701
else
3724
3702
  if test -n "$CC"; then
3758
3736
set dummy gcc; ac_word=$2
3759
3737
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3760
3738
$as_echo_n "checking for $ac_word... " >&6; }
3761
 
if test "${ac_cv_prog_ac_ct_CC+set}" = set; then :
 
3739
if ${ac_cv_prog_ac_ct_CC+:} false; then :
3762
3740
  $as_echo_n "(cached) " >&6
3763
3741
else
3764
3742
  if test -n "$ac_ct_CC"; then
3811
3789
set dummy ${ac_tool_prefix}cc; ac_word=$2
3812
3790
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3813
3791
$as_echo_n "checking for $ac_word... " >&6; }
3814
 
if test "${ac_cv_prog_CC+set}" = set; then :
 
3792
if ${ac_cv_prog_CC+:} false; then :
3815
3793
  $as_echo_n "(cached) " >&6
3816
3794
else
3817
3795
  if test -n "$CC"; then
3851
3829
set dummy cc; ac_word=$2
3852
3830
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3853
3831
$as_echo_n "checking for $ac_word... " >&6; }
3854
 
if test "${ac_cv_prog_CC+set}" = set; then :
 
3832
if ${ac_cv_prog_CC+:} false; then :
3855
3833
  $as_echo_n "(cached) " >&6
3856
3834
else
3857
3835
  if test -n "$CC"; then
3910
3888
set dummy $ac_tool_prefix$ac_prog; ac_word=$2
3911
3889
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3912
3890
$as_echo_n "checking for $ac_word... " >&6; }
3913
 
if test "${ac_cv_prog_CC+set}" = set; then :
 
3891
if ${ac_cv_prog_CC+:} false; then :
3914
3892
  $as_echo_n "(cached) " >&6
3915
3893
else
3916
3894
  if test -n "$CC"; then
3954
3932
set dummy $ac_prog; ac_word=$2
3955
3933
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3956
3934
$as_echo_n "checking for $ac_word... " >&6; }
3957
 
if test "${ac_cv_prog_ac_ct_CC+set}" = set; then :
 
3935
if ${ac_cv_prog_ac_ct_CC+:} false; then :
3958
3936
  $as_echo_n "(cached) " >&6
3959
3937
else
3960
3938
  if test -n "$ac_ct_CC"; then
4008
3986
 
4009
3987
test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4010
3988
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4011
 
as_fn_error "no acceptable C compiler found in \$PATH
4012
 
See \`config.log' for more details." "$LINENO" 5; }
 
3989
as_fn_error $? "no acceptable C compiler found in \$PATH
 
3990
See \`config.log' for more details" "$LINENO" 5; }
4013
3991
 
4014
3992
# Provide some information about the compiler.
4015
3993
$as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
4030
4008
... rest of stderr output deleted ...
4031
4009
         10q' conftest.err >conftest.er1
4032
4010
    cat conftest.er1 >&5
4033
 
    rm -f conftest.er1 conftest.err
4034
4011
  fi
 
4012
  rm -f conftest.er1 conftest.err
4035
4013
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4036
4014
  test $ac_status = 0; }
4037
4015
done
4038
4016
 
4039
4017
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
4040
4018
$as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
4041
 
if test "${ac_cv_c_compiler_gnu+set}" = set; then :
 
4019
if ${ac_cv_c_compiler_gnu+:} false; then :
4042
4020
  $as_echo_n "(cached) " >&6
4043
4021
else
4044
4022
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4075
4053
ac_save_CFLAGS=$CFLAGS
4076
4054
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
4077
4055
$as_echo_n "checking whether $CC accepts -g... " >&6; }
4078
 
if test "${ac_cv_prog_cc_g+set}" = set; then :
 
4056
if ${ac_cv_prog_cc_g+:} false; then :
4079
4057
  $as_echo_n "(cached) " >&6
4080
4058
else
4081
4059
  ac_save_c_werror_flag=$ac_c_werror_flag
4153
4131
fi
4154
4132
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
4155
4133
$as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
4156
 
if test "${ac_cv_prog_cc_c89+set}" = set; then :
 
4134
if ${ac_cv_prog_cc_c89+:} false; then :
4157
4135
  $as_echo_n "(cached) " >&6
4158
4136
else
4159
4137
  ac_cv_prog_cc_c89=no
4252
4230
 
4253
4231
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
4254
4232
$as_echo_n "checking dependency style of $depcc... " >&6; }
4255
 
if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then :
 
4233
if ${am_cv_CC_dependencies_compiler_type+:} false; then :
4256
4234
  $as_echo_n "(cached) " >&6
4257
4235
else
4258
4236
  if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
4377
4355
 
4378
4356
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for a sed that does not truncate output" >&5
4379
4357
$as_echo_n "checking for a sed that does not truncate output... " >&6; }
4380
 
if test "${ac_cv_path_SED+set}" = set; then :
 
4358
if ${ac_cv_path_SED+:} false; then :
4381
4359
  $as_echo_n "(cached) " >&6
4382
4360
else
4383
4361
            ac_script=s/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb/
4432
4410
  done
4433
4411
IFS=$as_save_IFS
4434
4412
  if test -z "$ac_cv_path_SED"; then
4435
 
    as_fn_error "no acceptable sed could be found in \$PATH" "$LINENO" 5
 
4413
    as_fn_error $? "no acceptable sed could be found in \$PATH" "$LINENO" 5
4436
4414
  fi
4437
4415
else
4438
4416
  ac_cv_path_SED=$SED
4459
4437
 
4460
4438
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
4461
4439
$as_echo_n "checking for grep that handles long lines and -e... " >&6; }
4462
 
if test "${ac_cv_path_GREP+set}" = set; then :
 
4440
if ${ac_cv_path_GREP+:} false; then :
4463
4441
  $as_echo_n "(cached) " >&6
4464
4442
else
4465
4443
  if test -z "$GREP"; then
4508
4486
  done
4509
4487
IFS=$as_save_IFS
4510
4488
  if test -z "$ac_cv_path_GREP"; then
4511
 
    as_fn_error "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
 
4489
    as_fn_error $? "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
4512
4490
  fi
4513
4491
else
4514
4492
  ac_cv_path_GREP=$GREP
4522
4500
 
4523
4501
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
4524
4502
$as_echo_n "checking for egrep... " >&6; }
4525
 
if test "${ac_cv_path_EGREP+set}" = set; then :
 
4503
if ${ac_cv_path_EGREP+:} false; then :
4526
4504
  $as_echo_n "(cached) " >&6
4527
4505
else
4528
4506
  if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
4574
4552
  done
4575
4553
IFS=$as_save_IFS
4576
4554
  if test -z "$ac_cv_path_EGREP"; then
4577
 
    as_fn_error "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
 
4555
    as_fn_error $? "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
4578
4556
  fi
4579
4557
else
4580
4558
  ac_cv_path_EGREP=$EGREP
4589
4567
 
4590
4568
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for fgrep" >&5
4591
4569
$as_echo_n "checking for fgrep... " >&6; }
4592
 
if test "${ac_cv_path_FGREP+set}" = set; then :
 
4570
if ${ac_cv_path_FGREP+:} false; then :
4593
4571
  $as_echo_n "(cached) " >&6
4594
4572
else
4595
4573
  if echo 'ab*c' | $GREP -F 'ab*c' >/dev/null 2>&1
4641
4619
  done
4642
4620
IFS=$as_save_IFS
4643
4621
  if test -z "$ac_cv_path_FGREP"; then
4644
 
    as_fn_error "no acceptable fgrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
 
4622
    as_fn_error $? "no acceptable fgrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
4645
4623
  fi
4646
4624
else
4647
4625
  ac_cv_path_FGREP=$FGREP
4720
4698
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
4721
4699
$as_echo_n "checking for non-GNU ld... " >&6; }
4722
4700
fi
4723
 
if test "${lt_cv_path_LD+set}" = set; then :
 
4701
if ${lt_cv_path_LD+:} false; then :
4724
4702
  $as_echo_n "(cached) " >&6
4725
4703
else
4726
4704
  if test -z "$LD"; then
4757
4735
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4758
4736
$as_echo "no" >&6; }
4759
4737
fi
4760
 
test -z "$LD" && as_fn_error "no acceptable ld found in \$PATH" "$LINENO" 5
 
4738
test -z "$LD" && as_fn_error $? "no acceptable ld found in \$PATH" "$LINENO" 5
4761
4739
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
4762
4740
$as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
4763
 
if test "${lt_cv_prog_gnu_ld+set}" = set; then :
 
4741
if ${lt_cv_prog_gnu_ld+:} false; then :
4764
4742
  $as_echo_n "(cached) " >&6
4765
4743
else
4766
4744
  # I'd rather use --version here, but apparently some GNU lds only accept -v.
4787
4765
 
4788
4766
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for BSD- or MS-compatible name lister (nm)" >&5
4789
4767
$as_echo_n "checking for BSD- or MS-compatible name lister (nm)... " >&6; }
4790
 
if test "${lt_cv_path_NM+set}" = set; then :
 
4768
if ${lt_cv_path_NM+:} false; then :
4791
4769
  $as_echo_n "(cached) " >&6
4792
4770
else
4793
4771
  if test -n "$NM"; then
4840
4818
  NM="$lt_cv_path_NM"
4841
4819
else
4842
4820
  # Didn't find any BSD compatible name lister, look for dumpbin.
4843
 
  if test -n "$ac_tool_prefix"; then
4844
 
  for ac_prog in "dumpbin -symbols" "link -dump -symbols"
 
4821
  if test -n "$DUMPBIN"; then :
 
4822
    # Let the user override the test.
 
4823
  else
 
4824
    if test -n "$ac_tool_prefix"; then
 
4825
  for ac_prog in dumpbin "link -dump"
4845
4826
  do
4846
4827
    # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
4847
4828
set dummy $ac_tool_prefix$ac_prog; ac_word=$2
4848
4829
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4849
4830
$as_echo_n "checking for $ac_word... " >&6; }
4850
 
if test "${ac_cv_prog_DUMPBIN+set}" = set; then :
 
4831
if ${ac_cv_prog_DUMPBIN+:} false; then :
4851
4832
  $as_echo_n "(cached) " >&6
4852
4833
else
4853
4834
  if test -n "$DUMPBIN"; then
4885
4866
fi
4886
4867
if test -z "$DUMPBIN"; then
4887
4868
  ac_ct_DUMPBIN=$DUMPBIN
4888
 
  for ac_prog in "dumpbin -symbols" "link -dump -symbols"
 
4869
  for ac_prog in dumpbin "link -dump"
4889
4870
do
4890
4871
  # Extract the first word of "$ac_prog", so it can be a program name with args.
4891
4872
set dummy $ac_prog; ac_word=$2
4892
4873
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4893
4874
$as_echo_n "checking for $ac_word... " >&6; }
4894
 
if test "${ac_cv_prog_ac_ct_DUMPBIN+set}" = set; then :
 
4875
if ${ac_cv_prog_ac_ct_DUMPBIN+:} false; then :
4895
4876
  $as_echo_n "(cached) " >&6
4896
4877
else
4897
4878
  if test -n "$ac_ct_DUMPBIN"; then
4940
4921
  fi
4941
4922
fi
4942
4923
 
 
4924
    case `$DUMPBIN -symbols /dev/null 2>&1 | sed '1q'` in
 
4925
    *COFF*)
 
4926
      DUMPBIN="$DUMPBIN -symbols"
 
4927
      ;;
 
4928
    *)
 
4929
      DUMPBIN=:
 
4930
      ;;
 
4931
    esac
 
4932
  fi
4943
4933
 
4944
4934
  if test "$DUMPBIN" != ":"; then
4945
4935
    NM="$DUMPBIN"
4954
4944
 
4955
4945
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking the name lister ($NM) interface" >&5
4956
4946
$as_echo_n "checking the name lister ($NM) interface... " >&6; }
4957
 
if test "${lt_cv_nm_interface+set}" = set; then :
 
4947
if ${lt_cv_nm_interface+:} false; then :
4958
4948
  $as_echo_n "(cached) " >&6
4959
4949
else
4960
4950
  lt_cv_nm_interface="BSD nm"
4961
4951
  echo "int some_variable = 0;" > conftest.$ac_ext
4962
 
  (eval echo "\"\$as_me:4962: $ac_compile\"" >&5)
 
4952
  (eval echo "\"\$as_me:$LINENO: $ac_compile\"" >&5)
4963
4953
  (eval "$ac_compile" 2>conftest.err)
4964
4954
  cat conftest.err >&5
4965
 
  (eval echo "\"\$as_me:4965: $NM \\\"conftest.$ac_objext\\\"\"" >&5)
 
4955
  (eval echo "\"\$as_me:$LINENO: $NM \\\"conftest.$ac_objext\\\"\"" >&5)
4966
4956
  (eval "$NM \"conftest.$ac_objext\"" 2>conftest.err > conftest.out)
4967
4957
  cat conftest.err >&5
4968
 
  (eval echo "\"\$as_me:4968: output\"" >&5)
 
4958
  (eval echo "\"\$as_me:$LINENO: output\"" >&5)
4969
4959
  cat conftest.out >&5
4970
4960
  if $GREP 'External.*some_variable' conftest.out > /dev/null; then
4971
4961
    lt_cv_nm_interface="MS dumpbin"
4989
4979
# find the maximum length of command line arguments
4990
4980
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking the maximum length of command line arguments" >&5
4991
4981
$as_echo_n "checking the maximum length of command line arguments... " >&6; }
4992
 
if test "${lt_cv_sys_max_cmd_len+set}" = set; then :
 
4982
if ${lt_cv_sys_max_cmd_len+:} false; then :
4993
4983
  $as_echo_n "(cached) " >&6
4994
4984
else
4995
4985
    i=0
5022
5012
    lt_cv_sys_max_cmd_len=8192;
5023
5013
    ;;
5024
5014
 
 
5015
  mint*)
 
5016
    # On MiNT this can take a long time and run out of memory.
 
5017
    lt_cv_sys_max_cmd_len=8192;
 
5018
    ;;
 
5019
 
5025
5020
  amigaos*)
5026
5021
    # On AmigaOS with pdksh, this test takes hours, literally.
5027
5022
    # So we just punt and use a minimum line length of 8192.
5047
5042
    lt_cv_sys_max_cmd_len=196608
5048
5043
    ;;
5049
5044
 
 
5045
  os2*)
 
5046
    # The test takes a long time on OS/2.
 
5047
    lt_cv_sys_max_cmd_len=8192
 
5048
    ;;
 
5049
 
5050
5050
  osf*)
5051
5051
    # Dr. Hans Ekkehard Plesser reports seeing a kernel panic running configure
5052
5052
    # due to this test when exec_disable_arg_limit is 1 on Tru64. It is not
5086
5086
      # If test is not a shell built-in, we'll probably end up computing a
5087
5087
      # maximum length that is only half of the actual maximum length, but
5088
5088
      # we can't tell.
5089
 
      while { test "X"`$SHELL $0 --fallback-echo "X$teststring$teststring" 2>/dev/null` \
5090
 
                 = "XX$teststring$teststring"; } >/dev/null 2>&1 &&
 
5089
      while { test "X"`env echo "$teststring$teststring" 2>/dev/null` \
 
5090
                 = "X$teststring$teststring"; } >/dev/null 2>&1 &&
5091
5091
              test $i != 17 # 1/2 MB should be enough
5092
5092
      do
5093
5093
        i=`expr $i + 1`
5129
5129
# Try some XSI features
5130
5130
xsi_shell=no
5131
5131
( _lt_dummy="a/b/c"
5132
 
  test "${_lt_dummy##*/},${_lt_dummy%/*},"${_lt_dummy%"$_lt_dummy"}, \
5133
 
      = c,a/b,, \
 
5132
  test "${_lt_dummy##*/},${_lt_dummy%/*},${_lt_dummy#??}"${_lt_dummy%"$_lt_dummy"}, \
 
5133
      = c,a/b,b/c, \
5134
5134
    && eval 'test $(( 1 + 1 )) -eq 2 \
5135
5135
    && test "${#_lt_dummy}" -eq 5' ) >/dev/null 2>&1 \
5136
5136
  && xsi_shell=yes
5179
5179
 
5180
5180
 
5181
5181
 
 
5182
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to convert $build file names to $host format" >&5
 
5183
$as_echo_n "checking how to convert $build file names to $host format... " >&6; }
 
5184
if ${lt_cv_to_host_file_cmd+:} false; then :
 
5185
  $as_echo_n "(cached) " >&6
 
5186
else
 
5187
  case $host in
 
5188
  *-*-mingw* )
 
5189
    case $build in
 
5190
      *-*-mingw* ) # actually msys
 
5191
        lt_cv_to_host_file_cmd=func_convert_file_msys_to_w32
 
5192
        ;;
 
5193
      *-*-cygwin* )
 
5194
        lt_cv_to_host_file_cmd=func_convert_file_cygwin_to_w32
 
5195
        ;;
 
5196
      * ) # otherwise, assume *nix
 
5197
        lt_cv_to_host_file_cmd=func_convert_file_nix_to_w32
 
5198
        ;;
 
5199
    esac
 
5200
    ;;
 
5201
  *-*-cygwin* )
 
5202
    case $build in
 
5203
      *-*-mingw* ) # actually msys
 
5204
        lt_cv_to_host_file_cmd=func_convert_file_msys_to_cygwin
 
5205
        ;;
 
5206
      *-*-cygwin* )
 
5207
        lt_cv_to_host_file_cmd=func_convert_file_noop
 
5208
        ;;
 
5209
      * ) # otherwise, assume *nix
 
5210
        lt_cv_to_host_file_cmd=func_convert_file_nix_to_cygwin
 
5211
        ;;
 
5212
    esac
 
5213
    ;;
 
5214
  * ) # unhandled hosts (and "normal" native builds)
 
5215
    lt_cv_to_host_file_cmd=func_convert_file_noop
 
5216
    ;;
 
5217
esac
 
5218
 
 
5219
fi
 
5220
 
 
5221
to_host_file_cmd=$lt_cv_to_host_file_cmd
 
5222
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_to_host_file_cmd" >&5
 
5223
$as_echo "$lt_cv_to_host_file_cmd" >&6; }
 
5224
 
 
5225
 
 
5226
 
 
5227
 
 
5228
 
 
5229
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to convert $build file names to toolchain format" >&5
 
5230
$as_echo_n "checking how to convert $build file names to toolchain format... " >&6; }
 
5231
if ${lt_cv_to_tool_file_cmd+:} false; then :
 
5232
  $as_echo_n "(cached) " >&6
 
5233
else
 
5234
  #assume ordinary cross tools, or native build.
 
5235
lt_cv_to_tool_file_cmd=func_convert_file_noop
 
5236
case $host in
 
5237
  *-*-mingw* )
 
5238
    case $build in
 
5239
      *-*-mingw* ) # actually msys
 
5240
        lt_cv_to_tool_file_cmd=func_convert_file_msys_to_w32
 
5241
        ;;
 
5242
    esac
 
5243
    ;;
 
5244
esac
 
5245
 
 
5246
fi
 
5247
 
 
5248
to_tool_file_cmd=$lt_cv_to_tool_file_cmd
 
5249
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_to_tool_file_cmd" >&5
 
5250
$as_echo "$lt_cv_to_tool_file_cmd" >&6; }
 
5251
 
 
5252
 
 
5253
 
 
5254
 
 
5255
 
5182
5256
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $LD option to reload object files" >&5
5183
5257
$as_echo_n "checking for $LD option to reload object files... " >&6; }
5184
 
if test "${lt_cv_ld_reload_flag+set}" = set; then :
 
5258
if ${lt_cv_ld_reload_flag+:} false; then :
5185
5259
  $as_echo_n "(cached) " >&6
5186
5260
else
5187
5261
  lt_cv_ld_reload_flag='-r'
5195
5269
esac
5196
5270
reload_cmds='$LD$reload_flag -o $output$reload_objs'
5197
5271
case $host_os in
 
5272
  cygwin* | mingw* | pw32* | cegcc*)
 
5273
    if test "$GCC" != yes; then
 
5274
      reload_cmds=false
 
5275
    fi
 
5276
    ;;
5198
5277
  darwin*)
5199
5278
    if test "$GCC" = yes; then
5200
5279
      reload_cmds='$LTCC $LTCFLAGS -nostdlib ${wl}-r -o $output$reload_objs'
5217
5296
set dummy ${ac_tool_prefix}objdump; ac_word=$2
5218
5297
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5219
5298
$as_echo_n "checking for $ac_word... " >&6; }
5220
 
if test "${ac_cv_prog_OBJDUMP+set}" = set; then :
 
5299
if ${ac_cv_prog_OBJDUMP+:} false; then :
5221
5300
  $as_echo_n "(cached) " >&6
5222
5301
else
5223
5302
  if test -n "$OBJDUMP"; then
5257
5336
set dummy objdump; ac_word=$2
5258
5337
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5259
5338
$as_echo_n "checking for $ac_word... " >&6; }
5260
 
if test "${ac_cv_prog_ac_ct_OBJDUMP+set}" = set; then :
 
5339
if ${ac_cv_prog_ac_ct_OBJDUMP+:} false; then :
5261
5340
  $as_echo_n "(cached) " >&6
5262
5341
else
5263
5342
  if test -n "$ac_ct_OBJDUMP"; then
5316
5395
 
5317
5396
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to recognize dependent libraries" >&5
5318
5397
$as_echo_n "checking how to recognize dependent libraries... " >&6; }
5319
 
if test "${lt_cv_deplibs_check_method+set}" = set; then :
 
5398
if ${lt_cv_deplibs_check_method+:} false; then :
5320
5399
  $as_echo_n "(cached) " >&6
5321
5400
else
5322
5401
  lt_cv_file_magic_cmd='$MAGIC_CMD'
5358
5437
  # Base MSYS/MinGW do not provide the 'file' command needed by
5359
5438
  # func_win32_libid shell function, so use a weaker test based on 'objdump',
5360
5439
  # unless we find 'file', for example because we are cross-compiling.
5361
 
  if ( file / ) >/dev/null 2>&1; then
 
5440
  # func_win32_libid assumes BSD nm, so disallow it if using MS dumpbin.
 
5441
  if ( test "$lt_cv_nm_interface" = "BSD nm" && file / ) >/dev/null 2>&1; then
5362
5442
    lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
5363
5443
    lt_cv_file_magic_cmd='func_win32_libid'
5364
5444
  else
5365
 
    lt_cv_deplibs_check_method='file_magic file format pei*-i386(.*architecture: i386)?'
 
5445
    # Keep this pattern in sync with the one in func_win32_libid.
 
5446
    lt_cv_deplibs_check_method='file_magic file format (pei*-i386(.*architecture: i386)?|pe-arm-wince|pe-x86-64)'
5366
5447
    lt_cv_file_magic_cmd='$OBJDUMP -f'
5367
5448
  fi
5368
5449
  ;;
5369
5450
 
5370
 
cegcc)
 
5451
cegcc*)
5371
5452
  # use the weaker test based on 'objdump'. See mingw*.
5372
5453
  lt_cv_deplibs_check_method='file_magic file format pe-arm-.*little(.*architecture: arm)?'
5373
5454
  lt_cv_file_magic_cmd='$OBJDUMP -f'
5397
5478
  lt_cv_deplibs_check_method=pass_all
5398
5479
  ;;
5399
5480
 
 
5481
haiku*)
 
5482
  lt_cv_deplibs_check_method=pass_all
 
5483
  ;;
 
5484
 
5400
5485
hpux10.20* | hpux11*)
5401
5486
  lt_cv_file_magic_cmd=/usr/bin/file
5402
5487
  case $host_cpu in
5405
5490
    lt_cv_file_magic_test_file=/usr/lib/hpux32/libc.so
5406
5491
    ;;
5407
5492
  hppa*64*)
5408
 
    lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - PA-RISC [0-9].[0-9]'
 
5493
    lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF[ -][0-9][0-9])(-bit)?( [LM]SB)? shared object( file)?[, -]* PA-RISC [0-9]\.[0-9]'
5409
5494
    lt_cv_file_magic_test_file=/usr/lib/pa20_64/libc.sl
5410
5495
    ;;
5411
5496
  *)
5412
 
    lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9].[0-9]) shared library'
 
5497
    lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9]\.[0-9]) shared library'
5413
5498
    lt_cv_file_magic_test_file=/usr/lib/libc.sl
5414
5499
    ;;
5415
5500
  esac
5430
5515
  lt_cv_deplibs_check_method=pass_all
5431
5516
  ;;
5432
5517
 
5433
 
# This must be Linux ELF.
5434
 
linux* | k*bsd*-gnu)
 
5518
# This must be glibc/ELF.
 
5519
linux* | k*bsd*-gnu | kopensolaris*-gnu)
5435
5520
  lt_cv_deplibs_check_method=pass_all
5436
5521
  ;;
5437
5522
 
5512
5597
fi
5513
5598
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_deplibs_check_method" >&5
5514
5599
$as_echo "$lt_cv_deplibs_check_method" >&6; }
 
5600
 
 
5601
file_magic_glob=
 
5602
want_nocaseglob=no
 
5603
if test "$build" = "$host"; then
 
5604
  case $host_os in
 
5605
  mingw* | pw32*)
 
5606
    if ( shopt | grep nocaseglob ) >/dev/null 2>&1; then
 
5607
      want_nocaseglob=yes
 
5608
    else
 
5609
      file_magic_glob=`echo aAbBcCdDeEfFgGhHiIjJkKlLmMnNoOpPqQrRsStTuUvVwWxXyYzZ | $SED -e "s/\(..\)/s\/[\1]\/[\1]\/g;/g"`
 
5610
    fi
 
5611
    ;;
 
5612
  esac
 
5613
fi
 
5614
 
5515
5615
file_magic_cmd=$lt_cv_file_magic_cmd
5516
5616
deplibs_check_method=$lt_cv_deplibs_check_method
5517
5617
test -z "$deplibs_check_method" && deplibs_check_method=unknown
5527
5627
 
5528
5628
 
5529
5629
 
5530
 
if test -n "$ac_tool_prefix"; then
5531
 
  # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
5532
 
set dummy ${ac_tool_prefix}ar; ac_word=$2
5533
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5534
 
$as_echo_n "checking for $ac_word... " >&6; }
5535
 
if test "${ac_cv_prog_AR+set}" = set; then :
 
5630
 
 
5631
 
 
5632
 
 
5633
 
 
5634
 
 
5635
 
 
5636
 
 
5637
 
 
5638
 
 
5639
 
 
5640
if test -n "$ac_tool_prefix"; then
 
5641
  # Extract the first word of "${ac_tool_prefix}dlltool", so it can be a program name with args.
 
5642
set dummy ${ac_tool_prefix}dlltool; ac_word=$2
 
5643
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 
5644
$as_echo_n "checking for $ac_word... " >&6; }
 
5645
if ${ac_cv_prog_DLLTOOL+:} false; then :
 
5646
  $as_echo_n "(cached) " >&6
 
5647
else
 
5648
  if test -n "$DLLTOOL"; then
 
5649
  ac_cv_prog_DLLTOOL="$DLLTOOL" # Let the user override the test.
 
5650
else
 
5651
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
5652
for as_dir in $PATH
 
5653
do
 
5654
  IFS=$as_save_IFS
 
5655
  test -z "$as_dir" && as_dir=.
 
5656
    for ac_exec_ext in '' $ac_executable_extensions; do
 
5657
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 
5658
    ac_cv_prog_DLLTOOL="${ac_tool_prefix}dlltool"
 
5659
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
 
5660
    break 2
 
5661
  fi
 
5662
done
 
5663
  done
 
5664
IFS=$as_save_IFS
 
5665
 
 
5666
fi
 
5667
fi
 
5668
DLLTOOL=$ac_cv_prog_DLLTOOL
 
5669
if test -n "$DLLTOOL"; then
 
5670
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DLLTOOL" >&5
 
5671
$as_echo "$DLLTOOL" >&6; }
 
5672
else
 
5673
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
5674
$as_echo "no" >&6; }
 
5675
fi
 
5676
 
 
5677
 
 
5678
fi
 
5679
if test -z "$ac_cv_prog_DLLTOOL"; then
 
5680
  ac_ct_DLLTOOL=$DLLTOOL
 
5681
  # Extract the first word of "dlltool", so it can be a program name with args.
 
5682
set dummy dlltool; ac_word=$2
 
5683
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 
5684
$as_echo_n "checking for $ac_word... " >&6; }
 
5685
if ${ac_cv_prog_ac_ct_DLLTOOL+:} false; then :
 
5686
  $as_echo_n "(cached) " >&6
 
5687
else
 
5688
  if test -n "$ac_ct_DLLTOOL"; then
 
5689
  ac_cv_prog_ac_ct_DLLTOOL="$ac_ct_DLLTOOL" # Let the user override the test.
 
5690
else
 
5691
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
5692
for as_dir in $PATH
 
5693
do
 
5694
  IFS=$as_save_IFS
 
5695
  test -z "$as_dir" && as_dir=.
 
5696
    for ac_exec_ext in '' $ac_executable_extensions; do
 
5697
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 
5698
    ac_cv_prog_ac_ct_DLLTOOL="dlltool"
 
5699
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
 
5700
    break 2
 
5701
  fi
 
5702
done
 
5703
  done
 
5704
IFS=$as_save_IFS
 
5705
 
 
5706
fi
 
5707
fi
 
5708
ac_ct_DLLTOOL=$ac_cv_prog_ac_ct_DLLTOOL
 
5709
if test -n "$ac_ct_DLLTOOL"; then
 
5710
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DLLTOOL" >&5
 
5711
$as_echo "$ac_ct_DLLTOOL" >&6; }
 
5712
else
 
5713
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
5714
$as_echo "no" >&6; }
 
5715
fi
 
5716
 
 
5717
  if test "x$ac_ct_DLLTOOL" = x; then
 
5718
    DLLTOOL="false"
 
5719
  else
 
5720
    case $cross_compiling:$ac_tool_warned in
 
5721
yes:)
 
5722
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
 
5723
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
 
5724
ac_tool_warned=yes ;;
 
5725
esac
 
5726
    DLLTOOL=$ac_ct_DLLTOOL
 
5727
  fi
 
5728
else
 
5729
  DLLTOOL="$ac_cv_prog_DLLTOOL"
 
5730
fi
 
5731
 
 
5732
test -z "$DLLTOOL" && DLLTOOL=dlltool
 
5733
 
 
5734
 
 
5735
 
 
5736
 
 
5737
 
 
5738
 
 
5739
 
 
5740
 
 
5741
 
 
5742
 
 
5743
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to associate runtime and link libraries" >&5
 
5744
$as_echo_n "checking how to associate runtime and link libraries... " >&6; }
 
5745
if ${lt_cv_sharedlib_from_linklib_cmd+:} false; then :
 
5746
  $as_echo_n "(cached) " >&6
 
5747
else
 
5748
  lt_cv_sharedlib_from_linklib_cmd='unknown'
 
5749
 
 
5750
case $host_os in
 
5751
cygwin* | mingw* | pw32* | cegcc*)
 
5752
  # two different shell functions defined in ltmain.sh
 
5753
  # decide which to use based on capabilities of $DLLTOOL
 
5754
  case `$DLLTOOL --help 2>&1` in
 
5755
  *--identify-strict*)
 
5756
    lt_cv_sharedlib_from_linklib_cmd=func_cygming_dll_for_implib
 
5757
    ;;
 
5758
  *)
 
5759
    lt_cv_sharedlib_from_linklib_cmd=func_cygming_dll_for_implib_fallback
 
5760
    ;;
 
5761
  esac
 
5762
  ;;
 
5763
*)
 
5764
  # fallback: assume linklib IS sharedlib
 
5765
  lt_cv_sharedlib_from_linklib_cmd="$ECHO"
 
5766
  ;;
 
5767
esac
 
5768
 
 
5769
fi
 
5770
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sharedlib_from_linklib_cmd" >&5
 
5771
$as_echo "$lt_cv_sharedlib_from_linklib_cmd" >&6; }
 
5772
sharedlib_from_linklib_cmd=$lt_cv_sharedlib_from_linklib_cmd
 
5773
test -z "$sharedlib_from_linklib_cmd" && sharedlib_from_linklib_cmd=$ECHO
 
5774
 
 
5775
 
 
5776
 
 
5777
 
 
5778
 
 
5779
 
 
5780
 
 
5781
 
 
5782
if test -n "$ac_tool_prefix"; then
 
5783
  for ac_prog in ar
 
5784
  do
 
5785
    # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
 
5786
set dummy $ac_tool_prefix$ac_prog; ac_word=$2
 
5787
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 
5788
$as_echo_n "checking for $ac_word... " >&6; }
 
5789
if ${ac_cv_prog_AR+:} false; then :
5536
5790
  $as_echo_n "(cached) " >&6
5537
5791
else
5538
5792
  if test -n "$AR"; then
5545
5799
  test -z "$as_dir" && as_dir=.
5546
5800
    for ac_exec_ext in '' $ac_executable_extensions; do
5547
5801
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5548
 
    ac_cv_prog_AR="${ac_tool_prefix}ar"
 
5802
    ac_cv_prog_AR="$ac_tool_prefix$ac_prog"
5549
5803
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5550
5804
    break 2
5551
5805
  fi
5565
5819
fi
5566
5820
 
5567
5821
 
 
5822
    test -n "$AR" && break
 
5823
  done
5568
5824
fi
5569
 
if test -z "$ac_cv_prog_AR"; then
 
5825
if test -z "$AR"; then
5570
5826
  ac_ct_AR=$AR
5571
 
  # Extract the first word of "ar", so it can be a program name with args.
5572
 
set dummy ar; ac_word=$2
 
5827
  for ac_prog in ar
 
5828
do
 
5829
  # Extract the first word of "$ac_prog", so it can be a program name with args.
 
5830
set dummy $ac_prog; ac_word=$2
5573
5831
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5574
5832
$as_echo_n "checking for $ac_word... " >&6; }
5575
 
if test "${ac_cv_prog_ac_ct_AR+set}" = set; then :
 
5833
if ${ac_cv_prog_ac_ct_AR+:} false; then :
5576
5834
  $as_echo_n "(cached) " >&6
5577
5835
else
5578
5836
  if test -n "$ac_ct_AR"; then
5585
5843
  test -z "$as_dir" && as_dir=.
5586
5844
    for ac_exec_ext in '' $ac_executable_extensions; do
5587
5845
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5588
 
    ac_cv_prog_ac_ct_AR="ar"
 
5846
    ac_cv_prog_ac_ct_AR="$ac_prog"
5589
5847
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5590
5848
    break 2
5591
5849
  fi
5604
5862
$as_echo "no" >&6; }
5605
5863
fi
5606
5864
 
 
5865
 
 
5866
  test -n "$ac_ct_AR" && break
 
5867
done
 
5868
 
5607
5869
  if test "x$ac_ct_AR" = x; then
5608
5870
    AR="false"
5609
5871
  else
5615
5877
esac
5616
5878
    AR=$ac_ct_AR
5617
5879
  fi
5618
 
else
5619
 
  AR="$ac_cv_prog_AR"
5620
 
fi
5621
 
 
5622
 
test -z "$AR" && AR=ar
5623
 
test -z "$AR_FLAGS" && AR_FLAGS=cru
5624
 
 
5625
 
 
5626
 
 
5627
 
 
 
5880
fi
 
5881
 
 
5882
: ${AR=ar}
 
5883
: ${AR_FLAGS=cru}
 
5884
 
 
5885
 
 
5886
 
 
5887
 
 
5888
 
 
5889
 
 
5890
 
 
5891
 
 
5892
 
 
5893
 
 
5894
 
 
5895
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for archiver @FILE support" >&5
 
5896
$as_echo_n "checking for archiver @FILE support... " >&6; }
 
5897
if ${lt_cv_ar_at_file+:} false; then :
 
5898
  $as_echo_n "(cached) " >&6
 
5899
else
 
5900
  lt_cv_ar_at_file=no
 
5901
   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 
5902
/* end confdefs.h.  */
 
5903
 
 
5904
int
 
5905
main ()
 
5906
{
 
5907
 
 
5908
  ;
 
5909
  return 0;
 
5910
}
 
5911
_ACEOF
 
5912
if ac_fn_c_try_compile "$LINENO"; then :
 
5913
  echo conftest.$ac_objext > conftest.lst
 
5914
      lt_ar_try='$AR $AR_FLAGS libconftest.a @conftest.lst >&5'
 
5915
      { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$lt_ar_try\""; } >&5
 
5916
  (eval $lt_ar_try) 2>&5
 
5917
  ac_status=$?
 
5918
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 
5919
  test $ac_status = 0; }
 
5920
      if test "$ac_status" -eq 0; then
 
5921
        # Ensure the archiver fails upon bogus file names.
 
5922
        rm -f conftest.$ac_objext libconftest.a
 
5923
        { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$lt_ar_try\""; } >&5
 
5924
  (eval $lt_ar_try) 2>&5
 
5925
  ac_status=$?
 
5926
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 
5927
  test $ac_status = 0; }
 
5928
        if test "$ac_status" -ne 0; then
 
5929
          lt_cv_ar_at_file=@
 
5930
        fi
 
5931
      fi
 
5932
      rm -f conftest.* libconftest.a
 
5933
 
 
5934
fi
 
5935
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 
5936
 
 
5937
fi
 
5938
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ar_at_file" >&5
 
5939
$as_echo "$lt_cv_ar_at_file" >&6; }
 
5940
 
 
5941
if test "x$lt_cv_ar_at_file" = xno; then
 
5942
  archiver_list_spec=
 
5943
else
 
5944
  archiver_list_spec=$lt_cv_ar_at_file
 
5945
fi
5628
5946
 
5629
5947
 
5630
5948
 
5637
5955
set dummy ${ac_tool_prefix}strip; ac_word=$2
5638
5956
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5639
5957
$as_echo_n "checking for $ac_word... " >&6; }
5640
 
if test "${ac_cv_prog_STRIP+set}" = set; then :
 
5958
if ${ac_cv_prog_STRIP+:} false; then :
5641
5959
  $as_echo_n "(cached) " >&6
5642
5960
else
5643
5961
  if test -n "$STRIP"; then
5677
5995
set dummy strip; ac_word=$2
5678
5996
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5679
5997
$as_echo_n "checking for $ac_word... " >&6; }
5680
 
if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then :
 
5998
if ${ac_cv_prog_ac_ct_STRIP+:} false; then :
5681
5999
  $as_echo_n "(cached) " >&6
5682
6000
else
5683
6001
  if test -n "$ac_ct_STRIP"; then
5736
6054
set dummy ${ac_tool_prefix}ranlib; ac_word=$2
5737
6055
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5738
6056
$as_echo_n "checking for $ac_word... " >&6; }
5739
 
if test "${ac_cv_prog_RANLIB+set}" = set; then :
 
6057
if ${ac_cv_prog_RANLIB+:} false; then :
5740
6058
  $as_echo_n "(cached) " >&6
5741
6059
else
5742
6060
  if test -n "$RANLIB"; then
5776
6094
set dummy ranlib; ac_word=$2
5777
6095
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5778
6096
$as_echo_n "checking for $ac_word... " >&6; }
5779
 
if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then :
 
6097
if ${ac_cv_prog_ac_ct_RANLIB+:} false; then :
5780
6098
  $as_echo_n "(cached) " >&6
5781
6099
else
5782
6100
  if test -n "$ac_ct_RANLIB"; then
5838
6156
if test -n "$RANLIB"; then
5839
6157
  case $host_os in
5840
6158
  openbsd*)
5841
 
    old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB -t \$oldlib"
 
6159
    old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB -t \$tool_oldlib"
5842
6160
    ;;
5843
6161
  *)
5844
 
    old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB \$oldlib"
 
6162
    old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB \$tool_oldlib"
5845
6163
    ;;
5846
6164
  esac
5847
 
  old_archive_cmds="$old_archive_cmds~\$RANLIB \$oldlib"
 
6165
  old_archive_cmds="$old_archive_cmds~\$RANLIB \$tool_oldlib"
5848
6166
fi
5849
6167
 
 
6168
case $host_os in
 
6169
  darwin*)
 
6170
    lock_old_archive_extraction=yes ;;
 
6171
  *)
 
6172
    lock_old_archive_extraction=no ;;
 
6173
esac
 
6174
 
 
6175
 
 
6176
 
 
6177
 
 
6178
 
 
6179
 
5850
6180
 
5851
6181
 
5852
6182
 
5893
6223
# Check for command to grab the raw symbol name followed by C symbol from nm.
5894
6224
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking command to parse $NM output from $compiler object" >&5
5895
6225
$as_echo_n "checking command to parse $NM output from $compiler object... " >&6; }
5896
 
if test "${lt_cv_sys_global_symbol_pipe+set}" = set; then :
 
6226
if ${lt_cv_sys_global_symbol_pipe+:} false; then :
5897
6227
  $as_echo_n "(cached) " >&6
5898
6228
else
5899
6229
 
5954
6284
lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'"
5955
6285
 
5956
6286
# Transform an extracted symbol line into symbol name and symbol address
5957
 
lt_cv_sys_global_symbol_to_c_name_address="sed -n -e 's/^: \([^ ]*\) $/  {\\\"\1\\\", (void *) 0},/p' -e 's/^$symcode* \([^ ]*\) \([^ ]*\)$/  {\"\2\", (void *) \&\2},/p'"
5958
 
lt_cv_sys_global_symbol_to_c_name_address_lib_prefix="sed -n -e 's/^: \([^ ]*\) $/  {\\\"\1\\\", (void *) 0},/p' -e 's/^$symcode* \([^ ]*\) \(lib[^ ]*\)$/  {\"\2\", (void *) \&\2},/p' -e 's/^$symcode* \([^ ]*\) \([^ ]*\)$/  {\"lib\2\", (void *) \&\2},/p'"
 
6287
lt_cv_sys_global_symbol_to_c_name_address="sed -n -e 's/^: \([^ ]*\)[ ]*$/  {\\\"\1\\\", (void *) 0},/p' -e 's/^$symcode* \([^ ]*\) \([^ ]*\)$/  {\"\2\", (void *) \&\2},/p'"
 
6288
lt_cv_sys_global_symbol_to_c_name_address_lib_prefix="sed -n -e 's/^: \([^ ]*\)[ ]*$/  {\\\"\1\\\", (void *) 0},/p' -e 's/^$symcode* \([^ ]*\) \(lib[^ ]*\)$/  {\"\2\", (void *) \&\2},/p' -e 's/^$symcode* \([^ ]*\) \([^ ]*\)$/  {\"lib\2\", (void *) \&\2},/p'"
5959
6289
 
5960
6290
# Handle CRLF in mingw tool chain
5961
6291
opt_cr=
5979
6309
    # which start with @ or ?.
5980
6310
    lt_cv_sys_global_symbol_pipe="$AWK '"\
5981
6311
"     {last_section=section; section=\$ 3};"\
 
6312
"     /^COFF SYMBOL TABLE/{for(i in hide) delete hide[i]};"\
5982
6313
"     /Section length .*#relocs.*(pick any)/{hide[last_section]=1};"\
5983
6314
"     \$ 0!~/External *\|/{next};"\
5984
6315
"     / 0+ UNDEF /{next}; / UNDEF \([^|]\)*()/{next};"\
5991
6322
  else
5992
6323
    lt_cv_sys_global_symbol_pipe="sed -n -e 's/^.*[      ]\($symcode$symcode*\)[         ][      ]*$ac_symprfx$sympat$opt_cr$/$symxfrm/p'"
5993
6324
  fi
 
6325
  lt_cv_sys_global_symbol_pipe="$lt_cv_sys_global_symbol_pipe | sed '/ __gnu_lto/d'"
5994
6326
 
5995
6327
  # Check to see that the pipe works correctly.
5996
6328
  pipe_works=no
6016
6348
  test $ac_status = 0; }; then
6017
6349
    # Now try to grab the symbols.
6018
6350
    nlist=conftest.nm
6019
 
    if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$NM conftest.$ac_objext \| $lt_cv_sys_global_symbol_pipe \> $nlist\""; } >&5
6020
 
  (eval $NM conftest.$ac_objext \| $lt_cv_sys_global_symbol_pipe \> $nlist) 2>&5
 
6351
    if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$NM conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist\""; } >&5
 
6352
  (eval $NM conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist) 2>&5
6021
6353
  ac_status=$?
6022
6354
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6023
6355
  test $ac_status = 0; } && test -s "$nlist"; then
6032
6364
      if $GREP ' nm_test_var$' "$nlist" >/dev/null; then
6033
6365
        if $GREP ' nm_test_func$' "$nlist" >/dev/null; then
6034
6366
          cat <<_LT_EOF > conftest.$ac_ext
 
6367
/* Keep this code in sync between libtool.m4, ltmain, lt_system.h, and tests.  */
 
6368
#if defined(_WIN32) || defined(__CYGWIN__) || defined(_WIN32_WCE)
 
6369
/* DATA imports from DLLs on WIN32 con't be const, because runtime
 
6370
   relocations are performed -- see ld's documentation on pseudo-relocs.  */
 
6371
# define LT_DLSYM_CONST
 
6372
#elif defined(__osf__)
 
6373
/* This system does not cope well with relocations in const data.  */
 
6374
# define LT_DLSYM_CONST
 
6375
#else
 
6376
# define LT_DLSYM_CONST const
 
6377
#endif
 
6378
 
6035
6379
#ifdef __cplusplus
6036
6380
extern "C" {
6037
6381
#endif
6043
6387
          cat <<_LT_EOF >> conftest.$ac_ext
6044
6388
 
6045
6389
/* The mapping between symbol names and symbols.  */
6046
 
const struct {
 
6390
LT_DLSYM_CONST struct {
6047
6391
  const char *name;
6048
6392
  void       *address;
6049
6393
}
6069
6413
_LT_EOF
6070
6414
          # Now try linking the two files.
6071
6415
          mv conftest.$ac_objext conftstm.$ac_objext
6072
 
          lt_save_LIBS="$LIBS"
6073
 
          lt_save_CFLAGS="$CFLAGS"
 
6416
          lt_globsym_save_LIBS=$LIBS
 
6417
          lt_globsym_save_CFLAGS=$CFLAGS
6074
6418
          LIBS="conftstm.$ac_objext"
6075
6419
          CFLAGS="$CFLAGS$lt_prog_compiler_no_builtin_flag"
6076
6420
          if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
6080
6424
  test $ac_status = 0; } && test -s conftest${ac_exeext}; then
6081
6425
            pipe_works=yes
6082
6426
          fi
6083
 
          LIBS="$lt_save_LIBS"
6084
 
          CFLAGS="$lt_save_CFLAGS"
 
6427
          LIBS=$lt_globsym_save_LIBS
 
6428
          CFLAGS=$lt_globsym_save_CFLAGS
6085
6429
        else
6086
6430
          echo "cannot find nm_test_func in $nlist" >&5
6087
6431
        fi
6118
6462
$as_echo "ok" >&6; }
6119
6463
fi
6120
6464
 
6121
 
 
6122
 
 
6123
 
 
6124
 
 
6125
 
 
6126
 
 
6127
 
 
6128
 
 
6129
 
 
6130
 
 
6131
 
 
6132
 
 
6133
 
 
6134
 
 
6135
 
 
6136
 
 
6137
 
 
 
6465
# Response file support.
 
6466
if test "$lt_cv_nm_interface" = "MS dumpbin"; then
 
6467
  nm_file_list_spec='@'
 
6468
elif $NM --help 2>/dev/null | grep '[@]FILE' >/dev/null; then
 
6469
  nm_file_list_spec='@'
 
6470
fi
 
6471
 
 
6472
 
 
6473
 
 
6474
 
 
6475
 
 
6476
 
 
6477
 
 
6478
 
 
6479
 
 
6480
 
 
6481
 
 
6482
 
 
6483
 
 
6484
 
 
6485
 
 
6486
 
 
6487
 
 
6488
 
 
6489
 
 
6490
 
 
6491
 
 
6492
 
 
6493
 
 
6494
 
 
6495
 
 
6496
 
 
6497
 
 
6498
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for sysroot" >&5
 
6499
$as_echo_n "checking for sysroot... " >&6; }
 
6500
 
 
6501
# Check whether --with-sysroot was given.
 
6502
if test "${with_sysroot+set}" = set; then :
 
6503
  withval=$with_sysroot;
 
6504
else
 
6505
  with_sysroot=no
 
6506
fi
 
6507
 
 
6508
 
 
6509
lt_sysroot=
 
6510
case ${with_sysroot} in #(
 
6511
 yes)
 
6512
   if test "$GCC" = yes; then
 
6513
     lt_sysroot=`$CC --print-sysroot 2>/dev/null`
 
6514
   fi
 
6515
   ;; #(
 
6516
 /*)
 
6517
   lt_sysroot=`echo "$with_sysroot" | sed -e "$sed_quote_subst"`
 
6518
   ;; #(
 
6519
 no|'')
 
6520
   ;; #(
 
6521
 *)
 
6522
   { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${with_sysroot}" >&5
 
6523
$as_echo "${with_sysroot}" >&6; }
 
6524
   as_fn_error $? "The sysroot must be an absolute path." "$LINENO" 5
 
6525
   ;;
 
6526
esac
 
6527
 
 
6528
 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${lt_sysroot:-no}" >&5
 
6529
$as_echo "${lt_sysroot:-no}" >&6; }
6138
6530
 
6139
6531
 
6140
6532
 
6171
6563
  ;;
6172
6564
*-*-irix6*)
6173
6565
  # Find out which ABI we are using.
6174
 
  echo '#line 6174 "configure"' > conftest.$ac_ext
 
6566
  echo '#line '$LINENO' "configure"' > conftest.$ac_ext
6175
6567
  if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
6176
6568
  (eval $ac_compile) 2>&5
6177
6569
  ac_status=$?
6265
6657
  CFLAGS="$CFLAGS -belf"
6266
6658
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler needs -belf" >&5
6267
6659
$as_echo_n "checking whether the C compiler needs -belf... " >&6; }
6268
 
if test "${lt_cv_cc_needs_belf+set}" = set; then :
 
6660
if ${lt_cv_cc_needs_belf+:} false; then :
6269
6661
  $as_echo_n "(cached) " >&6
6270
6662
else
6271
6663
  ac_ext=c
6306
6698
    CFLAGS="$SAVE_CFLAGS"
6307
6699
  fi
6308
6700
  ;;
6309
 
sparc*-*solaris*)
 
6701
*-*solaris*)
6310
6702
  # Find out which ABI we are using.
6311
6703
  echo 'int i;' > conftest.$ac_ext
6312
6704
  if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
6317
6709
    case `/usr/bin/file conftest.o` in
6318
6710
    *64-bit*)
6319
6711
      case $lt_cv_prog_gnu_ld in
6320
 
      yes*) LD="${LD-ld} -m elf64_sparc" ;;
 
6712
      yes*)
 
6713
        case $host in
 
6714
        i?86-*-solaris*)
 
6715
          LD="${LD-ld} -m elf_x86_64"
 
6716
          ;;
 
6717
        sparc*-*-solaris*)
 
6718
          LD="${LD-ld} -m elf64_sparc"
 
6719
          ;;
 
6720
        esac
 
6721
        # GNU ld 2.21 introduced _sol2 emulations.  Use them if available.
 
6722
        if ${LD-ld} -V | grep _sol2 >/dev/null 2>&1; then
 
6723
          LD="${LD-ld}_sol2"
 
6724
        fi
 
6725
        ;;
6321
6726
      *)
6322
6727
        if ${LD-ld} -64 -r -o conftest2.o conftest.o >/dev/null 2>&1; then
6323
6728
          LD="${LD-ld} -64"
6333
6738
 
6334
6739
need_locks="$enable_libtool_lock"
6335
6740
 
 
6741
if test -n "$ac_tool_prefix"; then
 
6742
  # Extract the first word of "${ac_tool_prefix}mt", so it can be a program name with args.
 
6743
set dummy ${ac_tool_prefix}mt; ac_word=$2
 
6744
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 
6745
$as_echo_n "checking for $ac_word... " >&6; }
 
6746
if ${ac_cv_prog_MANIFEST_TOOL+:} false; then :
 
6747
  $as_echo_n "(cached) " >&6
 
6748
else
 
6749
  if test -n "$MANIFEST_TOOL"; then
 
6750
  ac_cv_prog_MANIFEST_TOOL="$MANIFEST_TOOL" # Let the user override the test.
 
6751
else
 
6752
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
6753
for as_dir in $PATH
 
6754
do
 
6755
  IFS=$as_save_IFS
 
6756
  test -z "$as_dir" && as_dir=.
 
6757
    for ac_exec_ext in '' $ac_executable_extensions; do
 
6758
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 
6759
    ac_cv_prog_MANIFEST_TOOL="${ac_tool_prefix}mt"
 
6760
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
 
6761
    break 2
 
6762
  fi
 
6763
done
 
6764
  done
 
6765
IFS=$as_save_IFS
 
6766
 
 
6767
fi
 
6768
fi
 
6769
MANIFEST_TOOL=$ac_cv_prog_MANIFEST_TOOL
 
6770
if test -n "$MANIFEST_TOOL"; then
 
6771
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MANIFEST_TOOL" >&5
 
6772
$as_echo "$MANIFEST_TOOL" >&6; }
 
6773
else
 
6774
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
6775
$as_echo "no" >&6; }
 
6776
fi
 
6777
 
 
6778
 
 
6779
fi
 
6780
if test -z "$ac_cv_prog_MANIFEST_TOOL"; then
 
6781
  ac_ct_MANIFEST_TOOL=$MANIFEST_TOOL
 
6782
  # Extract the first word of "mt", so it can be a program name with args.
 
6783
set dummy mt; ac_word=$2
 
6784
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 
6785
$as_echo_n "checking for $ac_word... " >&6; }
 
6786
if ${ac_cv_prog_ac_ct_MANIFEST_TOOL+:} false; then :
 
6787
  $as_echo_n "(cached) " >&6
 
6788
else
 
6789
  if test -n "$ac_ct_MANIFEST_TOOL"; then
 
6790
  ac_cv_prog_ac_ct_MANIFEST_TOOL="$ac_ct_MANIFEST_TOOL" # Let the user override the test.
 
6791
else
 
6792
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
6793
for as_dir in $PATH
 
6794
do
 
6795
  IFS=$as_save_IFS
 
6796
  test -z "$as_dir" && as_dir=.
 
6797
    for ac_exec_ext in '' $ac_executable_extensions; do
 
6798
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 
6799
    ac_cv_prog_ac_ct_MANIFEST_TOOL="mt"
 
6800
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
 
6801
    break 2
 
6802
  fi
 
6803
done
 
6804
  done
 
6805
IFS=$as_save_IFS
 
6806
 
 
6807
fi
 
6808
fi
 
6809
ac_ct_MANIFEST_TOOL=$ac_cv_prog_ac_ct_MANIFEST_TOOL
 
6810
if test -n "$ac_ct_MANIFEST_TOOL"; then
 
6811
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_MANIFEST_TOOL" >&5
 
6812
$as_echo "$ac_ct_MANIFEST_TOOL" >&6; }
 
6813
else
 
6814
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
6815
$as_echo "no" >&6; }
 
6816
fi
 
6817
 
 
6818
  if test "x$ac_ct_MANIFEST_TOOL" = x; then
 
6819
    MANIFEST_TOOL=":"
 
6820
  else
 
6821
    case $cross_compiling:$ac_tool_warned in
 
6822
yes:)
 
6823
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
 
6824
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
 
6825
ac_tool_warned=yes ;;
 
6826
esac
 
6827
    MANIFEST_TOOL=$ac_ct_MANIFEST_TOOL
 
6828
  fi
 
6829
else
 
6830
  MANIFEST_TOOL="$ac_cv_prog_MANIFEST_TOOL"
 
6831
fi
 
6832
 
 
6833
test -z "$MANIFEST_TOOL" && MANIFEST_TOOL=mt
 
6834
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $MANIFEST_TOOL is a manifest tool" >&5
 
6835
$as_echo_n "checking if $MANIFEST_TOOL is a manifest tool... " >&6; }
 
6836
if ${lt_cv_path_mainfest_tool+:} false; then :
 
6837
  $as_echo_n "(cached) " >&6
 
6838
else
 
6839
  lt_cv_path_mainfest_tool=no
 
6840
  echo "$as_me:$LINENO: $MANIFEST_TOOL '-?'" >&5
 
6841
  $MANIFEST_TOOL '-?' 2>conftest.err > conftest.out
 
6842
  cat conftest.err >&5
 
6843
  if $GREP 'Manifest Tool' conftest.out > /dev/null; then
 
6844
    lt_cv_path_mainfest_tool=yes
 
6845
  fi
 
6846
  rm -f conftest*
 
6847
fi
 
6848
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_mainfest_tool" >&5
 
6849
$as_echo "$lt_cv_path_mainfest_tool" >&6; }
 
6850
if test "x$lt_cv_path_mainfest_tool" != xyes; then
 
6851
  MANIFEST_TOOL=:
 
6852
fi
 
6853
 
 
6854
 
 
6855
 
 
6856
 
 
6857
 
6336
6858
 
6337
6859
  case $host_os in
6338
6860
    rhapsody* | darwin*)
6341
6863
set dummy ${ac_tool_prefix}dsymutil; ac_word=$2
6342
6864
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6343
6865
$as_echo_n "checking for $ac_word... " >&6; }
6344
 
if test "${ac_cv_prog_DSYMUTIL+set}" = set; then :
 
6866
if ${ac_cv_prog_DSYMUTIL+:} false; then :
6345
6867
  $as_echo_n "(cached) " >&6
6346
6868
else
6347
6869
  if test -n "$DSYMUTIL"; then
6381
6903
set dummy dsymutil; ac_word=$2
6382
6904
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6383
6905
$as_echo_n "checking for $ac_word... " >&6; }
6384
 
if test "${ac_cv_prog_ac_ct_DSYMUTIL+set}" = set; then :
 
6906
if ${ac_cv_prog_ac_ct_DSYMUTIL+:} false; then :
6385
6907
  $as_echo_n "(cached) " >&6
6386
6908
else
6387
6909
  if test -n "$ac_ct_DSYMUTIL"; then
6433
6955
set dummy ${ac_tool_prefix}nmedit; ac_word=$2
6434
6956
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6435
6957
$as_echo_n "checking for $ac_word... " >&6; }
6436
 
if test "${ac_cv_prog_NMEDIT+set}" = set; then :
 
6958
if ${ac_cv_prog_NMEDIT+:} false; then :
6437
6959
  $as_echo_n "(cached) " >&6
6438
6960
else
6439
6961
  if test -n "$NMEDIT"; then
6473
6995
set dummy nmedit; ac_word=$2
6474
6996
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6475
6997
$as_echo_n "checking for $ac_word... " >&6; }
6476
 
if test "${ac_cv_prog_ac_ct_NMEDIT+set}" = set; then :
 
6998
if ${ac_cv_prog_ac_ct_NMEDIT+:} false; then :
6477
6999
  $as_echo_n "(cached) " >&6
6478
7000
else
6479
7001
  if test -n "$ac_ct_NMEDIT"; then
6525
7047
set dummy ${ac_tool_prefix}lipo; ac_word=$2
6526
7048
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6527
7049
$as_echo_n "checking for $ac_word... " >&6; }
6528
 
if test "${ac_cv_prog_LIPO+set}" = set; then :
 
7050
if ${ac_cv_prog_LIPO+:} false; then :
6529
7051
  $as_echo_n "(cached) " >&6
6530
7052
else
6531
7053
  if test -n "$LIPO"; then
6565
7087
set dummy lipo; ac_word=$2
6566
7088
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6567
7089
$as_echo_n "checking for $ac_word... " >&6; }
6568
 
if test "${ac_cv_prog_ac_ct_LIPO+set}" = set; then :
 
7090
if ${ac_cv_prog_ac_ct_LIPO+:} false; then :
6569
7091
  $as_echo_n "(cached) " >&6
6570
7092
else
6571
7093
  if test -n "$ac_ct_LIPO"; then
6617
7139
set dummy ${ac_tool_prefix}otool; ac_word=$2
6618
7140
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6619
7141
$as_echo_n "checking for $ac_word... " >&6; }
6620
 
if test "${ac_cv_prog_OTOOL+set}" = set; then :
 
7142
if ${ac_cv_prog_OTOOL+:} false; then :
6621
7143
  $as_echo_n "(cached) " >&6
6622
7144
else
6623
7145
  if test -n "$OTOOL"; then
6657
7179
set dummy otool; ac_word=$2
6658
7180
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6659
7181
$as_echo_n "checking for $ac_word... " >&6; }
6660
 
if test "${ac_cv_prog_ac_ct_OTOOL+set}" = set; then :
 
7182
if ${ac_cv_prog_ac_ct_OTOOL+:} false; then :
6661
7183
  $as_echo_n "(cached) " >&6
6662
7184
else
6663
7185
  if test -n "$ac_ct_OTOOL"; then
6709
7231
set dummy ${ac_tool_prefix}otool64; ac_word=$2
6710
7232
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6711
7233
$as_echo_n "checking for $ac_word... " >&6; }
6712
 
if test "${ac_cv_prog_OTOOL64+set}" = set; then :
 
7234
if ${ac_cv_prog_OTOOL64+:} false; then :
6713
7235
  $as_echo_n "(cached) " >&6
6714
7236
else
6715
7237
  if test -n "$OTOOL64"; then
6749
7271
set dummy otool64; ac_word=$2
6750
7272
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6751
7273
$as_echo_n "checking for $ac_word... " >&6; }
6752
 
if test "${ac_cv_prog_ac_ct_OTOOL64+set}" = set; then :
 
7274
if ${ac_cv_prog_ac_ct_OTOOL64+:} false; then :
6753
7275
  $as_echo_n "(cached) " >&6
6754
7276
else
6755
7277
  if test -n "$ac_ct_OTOOL64"; then
6824
7346
 
6825
7347
    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -single_module linker flag" >&5
6826
7348
$as_echo_n "checking for -single_module linker flag... " >&6; }
6827
 
if test "${lt_cv_apple_cc_single_mod+set}" = set; then :
 
7349
if ${lt_cv_apple_cc_single_mod+:} false; then :
6828
7350
  $as_echo_n "(cached) " >&6
6829
7351
else
6830
7352
  lt_cv_apple_cc_single_mod=no
6840
7362
        $LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
6841
7363
          -dynamiclib -Wl,-single_module conftest.c 2>conftest.err
6842
7364
        _lt_result=$?
6843
 
        if test -f libconftest.dylib && test ! -s conftest.err && test $_lt_result = 0; then
 
7365
        # If there is a non-empty error log, and "single_module"
 
7366
        # appears in it, assume the flag caused a linker warning
 
7367
        if test -s conftest.err && $GREP single_module conftest.err; then
 
7368
          cat conftest.err >&5
 
7369
        # Otherwise, if the output was created with a 0 exit code from
 
7370
        # the compiler, it worked.
 
7371
        elif test -f libconftest.dylib && test $_lt_result -eq 0; then
6844
7372
          lt_cv_apple_cc_single_mod=yes
6845
7373
        else
6846
7374
          cat conftest.err >&5
6851
7379
fi
6852
7380
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_apple_cc_single_mod" >&5
6853
7381
$as_echo "$lt_cv_apple_cc_single_mod" >&6; }
 
7382
 
6854
7383
    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -exported_symbols_list linker flag" >&5
6855
7384
$as_echo_n "checking for -exported_symbols_list linker flag... " >&6; }
6856
 
if test "${lt_cv_ld_exported_symbols_list+set}" = set; then :
 
7385
if ${lt_cv_ld_exported_symbols_list+:} false; then :
6857
7386
  $as_echo_n "(cached) " >&6
6858
7387
else
6859
7388
  lt_cv_ld_exported_symbols_list=no
6883
7412
fi
6884
7413
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_exported_symbols_list" >&5
6885
7414
$as_echo "$lt_cv_ld_exported_symbols_list" >&6; }
 
7415
 
 
7416
    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -force_load linker flag" >&5
 
7417
$as_echo_n "checking for -force_load linker flag... " >&6; }
 
7418
if ${lt_cv_ld_force_load+:} false; then :
 
7419
  $as_echo_n "(cached) " >&6
 
7420
else
 
7421
  lt_cv_ld_force_load=no
 
7422
      cat > conftest.c << _LT_EOF
 
7423
int forced_loaded() { return 2;}
 
7424
_LT_EOF
 
7425
      echo "$LTCC $LTCFLAGS -c -o conftest.o conftest.c" >&5
 
7426
      $LTCC $LTCFLAGS -c -o conftest.o conftest.c 2>&5
 
7427
      echo "$AR cru libconftest.a conftest.o" >&5
 
7428
      $AR cru libconftest.a conftest.o 2>&5
 
7429
      echo "$RANLIB libconftest.a" >&5
 
7430
      $RANLIB libconftest.a 2>&5
 
7431
      cat > conftest.c << _LT_EOF
 
7432
int main() { return 0;}
 
7433
_LT_EOF
 
7434
      echo "$LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a" >&5
 
7435
      $LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a 2>conftest.err
 
7436
      _lt_result=$?
 
7437
      if test -s conftest.err && $GREP force_load conftest.err; then
 
7438
        cat conftest.err >&5
 
7439
      elif test -f conftest && test $_lt_result -eq 0 && $GREP forced_load conftest >/dev/null 2>&1 ; then
 
7440
        lt_cv_ld_force_load=yes
 
7441
      else
 
7442
        cat conftest.err >&5
 
7443
      fi
 
7444
        rm -f conftest.err libconftest.a conftest conftest.c
 
7445
        rm -rf conftest.dSYM
 
7446
 
 
7447
fi
 
7448
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_force_load" >&5
 
7449
$as_echo "$lt_cv_ld_force_load" >&6; }
6886
7450
    case $host_os in
6887
7451
    rhapsody* | darwin1.[012])
6888
7452
      _lt_dar_allow_undefined='${wl}-undefined ${wl}suppress' ;;
6910
7474
    else
6911
7475
      _lt_dar_export_syms='~$NMEDIT -s $output_objdir/${libname}-symbols.expsym ${lib}'
6912
7476
    fi
6913
 
    if test "$DSYMUTIL" != ":"; then
 
7477
    if test "$DSYMUTIL" != ":" && test "$lt_cv_ld_force_load" = "no"; then
6914
7478
      _lt_dsymutil='~$DSYMUTIL $lib || :'
6915
7479
    else
6916
7480
      _lt_dsymutil=
6930
7494
  CPP=
6931
7495
fi
6932
7496
if test -z "$CPP"; then
6933
 
  if test "${ac_cv_prog_CPP+set}" = set; then :
 
7497
  if ${ac_cv_prog_CPP+:} false; then :
6934
7498
  $as_echo_n "(cached) " >&6
6935
7499
else
6936
7500
      # Double quotes because CPP needs to be expanded
6960
7524
  # Broken: fails on valid input.
6961
7525
continue
6962
7526
fi
6963
 
rm -f conftest.err conftest.$ac_ext
 
7527
rm -f conftest.err conftest.i conftest.$ac_ext
6964
7528
 
6965
7529
  # OK, works on sane cases.  Now check whether nonexistent headers
6966
7530
  # can be detected and how.
6976
7540
ac_preproc_ok=:
6977
7541
break
6978
7542
fi
6979
 
rm -f conftest.err conftest.$ac_ext
 
7543
rm -f conftest.err conftest.i conftest.$ac_ext
6980
7544
 
6981
7545
done
6982
7546
# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
6983
 
rm -f conftest.err conftest.$ac_ext
 
7547
rm -f conftest.i conftest.err conftest.$ac_ext
6984
7548
if $ac_preproc_ok; then :
6985
7549
  break
6986
7550
fi
7019
7583
  # Broken: fails on valid input.
7020
7584
continue
7021
7585
fi
7022
 
rm -f conftest.err conftest.$ac_ext
 
7586
rm -f conftest.err conftest.i conftest.$ac_ext
7023
7587
 
7024
7588
  # OK, works on sane cases.  Now check whether nonexistent headers
7025
7589
  # can be detected and how.
7035
7599
ac_preproc_ok=:
7036
7600
break
7037
7601
fi
7038
 
rm -f conftest.err conftest.$ac_ext
 
7602
rm -f conftest.err conftest.i conftest.$ac_ext
7039
7603
 
7040
7604
done
7041
7605
# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
7042
 
rm -f conftest.err conftest.$ac_ext
 
7606
rm -f conftest.i conftest.err conftest.$ac_ext
7043
7607
if $ac_preproc_ok; then :
7044
7608
 
7045
7609
else
7046
7610
  { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
7047
7611
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
7048
 
as_fn_error "C preprocessor \"$CPP\" fails sanity check
7049
 
See \`config.log' for more details." "$LINENO" 5; }
 
7612
as_fn_error $? "C preprocessor \"$CPP\" fails sanity check
 
7613
See \`config.log' for more details" "$LINENO" 5; }
7050
7614
fi
7051
7615
 
7052
7616
ac_ext=c
7058
7622
 
7059
7623
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
7060
7624
$as_echo_n "checking for ANSI C header files... " >&6; }
7061
 
if test "${ac_cv_header_stdc+set}" = set; then :
 
7625
if ${ac_cv_header_stdc+:} false; then :
7062
7626
  $as_echo_n "(cached) " >&6
7063
7627
else
7064
7628
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7175
7739
  as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
7176
7740
ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
7177
7741
"
7178
 
eval as_val=\$$as_ac_Header
7179
 
   if test "x$as_val" = x""yes; then :
 
7742
if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
7180
7743
  cat >>confdefs.h <<_ACEOF
7181
7744
#define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
7182
7745
_ACEOF
7190
7753
do :
7191
7754
  ac_fn_c_check_header_compile "$LINENO" "dlfcn.h" "ac_cv_header_dlfcn_h" "$ac_includes_default
7192
7755
"
7193
 
if test "x$ac_cv_header_dlfcn_h" = x""yes; then :
 
7756
if test "x$ac_cv_header_dlfcn_h" = xyes; then :
7194
7757
  cat >>confdefs.h <<_ACEOF
7195
7758
#define HAVE_DLFCN_H 1
7196
7759
_ACEOF
7201
7764
 
7202
7765
 
7203
7766
 
7204
 
ac_ext=cpp
7205
 
ac_cpp='$CXXCPP $CPPFLAGS'
7206
 
ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7207
 
ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7208
 
ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
7209
 
if test -z "$CXX"; then
7210
 
  if test -n "$CCC"; then
7211
 
    CXX=$CCC
7212
 
  else
7213
 
    if test -n "$ac_tool_prefix"; then
7214
 
  for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
7215
 
  do
7216
 
    # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
7217
 
set dummy $ac_tool_prefix$ac_prog; ac_word=$2
7218
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7219
 
$as_echo_n "checking for $ac_word... " >&6; }
7220
 
if test "${ac_cv_prog_CXX+set}" = set; then :
7221
 
  $as_echo_n "(cached) " >&6
7222
 
else
7223
 
  if test -n "$CXX"; then
7224
 
  ac_cv_prog_CXX="$CXX" # Let the user override the test.
7225
 
else
7226
 
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7227
 
for as_dir in $PATH
7228
 
do
7229
 
  IFS=$as_save_IFS
7230
 
  test -z "$as_dir" && as_dir=.
7231
 
    for ac_exec_ext in '' $ac_executable_extensions; do
7232
 
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7233
 
    ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
7234
 
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7235
 
    break 2
7236
 
  fi
7237
 
done
7238
 
  done
7239
 
IFS=$as_save_IFS
7240
 
 
7241
 
fi
7242
 
fi
7243
 
CXX=$ac_cv_prog_CXX
7244
 
if test -n "$CXX"; then
7245
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXX" >&5
7246
 
$as_echo "$CXX" >&6; }
7247
 
else
7248
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7249
 
$as_echo "no" >&6; }
7250
 
fi
7251
 
 
7252
 
 
7253
 
    test -n "$CXX" && break
7254
 
  done
7255
 
fi
7256
 
if test -z "$CXX"; then
7257
 
  ac_ct_CXX=$CXX
7258
 
  for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
7259
 
do
7260
 
  # Extract the first word of "$ac_prog", so it can be a program name with args.
7261
 
set dummy $ac_prog; ac_word=$2
7262
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7263
 
$as_echo_n "checking for $ac_word... " >&6; }
7264
 
if test "${ac_cv_prog_ac_ct_CXX+set}" = set; then :
7265
 
  $as_echo_n "(cached) " >&6
7266
 
else
7267
 
  if test -n "$ac_ct_CXX"; then
7268
 
  ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
7269
 
else
7270
 
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7271
 
for as_dir in $PATH
7272
 
do
7273
 
  IFS=$as_save_IFS
7274
 
  test -z "$as_dir" && as_dir=.
7275
 
    for ac_exec_ext in '' $ac_executable_extensions; do
7276
 
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7277
 
    ac_cv_prog_ac_ct_CXX="$ac_prog"
7278
 
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7279
 
    break 2
7280
 
  fi
7281
 
done
7282
 
  done
7283
 
IFS=$as_save_IFS
7284
 
 
7285
 
fi
7286
 
fi
7287
 
ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
7288
 
if test -n "$ac_ct_CXX"; then
7289
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CXX" >&5
7290
 
$as_echo "$ac_ct_CXX" >&6; }
7291
 
else
7292
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7293
 
$as_echo "no" >&6; }
7294
 
fi
7295
 
 
7296
 
 
7297
 
  test -n "$ac_ct_CXX" && break
7298
 
done
7299
 
 
7300
 
  if test "x$ac_ct_CXX" = x; then
7301
 
    CXX="g++"
7302
 
  else
7303
 
    case $cross_compiling:$ac_tool_warned in
7304
 
yes:)
7305
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7306
 
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7307
 
ac_tool_warned=yes ;;
7308
 
esac
7309
 
    CXX=$ac_ct_CXX
7310
 
  fi
7311
 
fi
7312
 
 
7313
 
  fi
7314
 
fi
7315
 
# Provide some information about the compiler.
7316
 
$as_echo "$as_me:${as_lineno-$LINENO}: checking for C++ compiler version" >&5
7317
 
set X $ac_compile
7318
 
ac_compiler=$2
7319
 
for ac_option in --version -v -V -qversion; do
7320
 
  { { ac_try="$ac_compiler $ac_option >&5"
7321
 
case "(($ac_try" in
7322
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7323
 
  *) ac_try_echo=$ac_try;;
7324
 
esac
7325
 
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
7326
 
$as_echo "$ac_try_echo"; } >&5
7327
 
  (eval "$ac_compiler $ac_option >&5") 2>conftest.err
7328
 
  ac_status=$?
7329
 
  if test -s conftest.err; then
7330
 
    sed '10a\
7331
 
... rest of stderr output deleted ...
7332
 
         10q' conftest.err >conftest.er1
7333
 
    cat conftest.er1 >&5
7334
 
    rm -f conftest.er1 conftest.err
7335
 
  fi
7336
 
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7337
 
  test $ac_status = 0; }
7338
 
done
7339
 
 
7340
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C++ compiler" >&5
7341
 
$as_echo_n "checking whether we are using the GNU C++ compiler... " >&6; }
7342
 
if test "${ac_cv_cxx_compiler_gnu+set}" = set; then :
7343
 
  $as_echo_n "(cached) " >&6
7344
 
else
7345
 
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7346
 
/* end confdefs.h.  */
7347
 
 
7348
 
int
7349
 
main ()
7350
 
{
7351
 
#ifndef __GNUC__
7352
 
       choke me
7353
 
#endif
7354
 
 
7355
 
  ;
7356
 
  return 0;
7357
 
}
7358
 
_ACEOF
7359
 
if ac_fn_cxx_try_compile "$LINENO"; then :
7360
 
  ac_compiler_gnu=yes
7361
 
else
7362
 
  ac_compiler_gnu=no
7363
 
fi
7364
 
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7365
 
ac_cv_cxx_compiler_gnu=$ac_compiler_gnu
7366
 
 
7367
 
fi
7368
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cxx_compiler_gnu" >&5
7369
 
$as_echo "$ac_cv_cxx_compiler_gnu" >&6; }
7370
 
if test $ac_compiler_gnu = yes; then
7371
 
  GXX=yes
7372
 
else
7373
 
  GXX=
7374
 
fi
7375
 
ac_test_CXXFLAGS=${CXXFLAGS+set}
7376
 
ac_save_CXXFLAGS=$CXXFLAGS
7377
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CXX accepts -g" >&5
7378
 
$as_echo_n "checking whether $CXX accepts -g... " >&6; }
7379
 
if test "${ac_cv_prog_cxx_g+set}" = set; then :
7380
 
  $as_echo_n "(cached) " >&6
7381
 
else
7382
 
  ac_save_cxx_werror_flag=$ac_cxx_werror_flag
7383
 
   ac_cxx_werror_flag=yes
7384
 
   ac_cv_prog_cxx_g=no
7385
 
   CXXFLAGS="-g"
7386
 
   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7387
 
/* end confdefs.h.  */
7388
 
 
7389
 
int
7390
 
main ()
7391
 
{
7392
 
 
7393
 
  ;
7394
 
  return 0;
7395
 
}
7396
 
_ACEOF
7397
 
if ac_fn_cxx_try_compile "$LINENO"; then :
7398
 
  ac_cv_prog_cxx_g=yes
7399
 
else
7400
 
  CXXFLAGS=""
7401
 
      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7402
 
/* end confdefs.h.  */
7403
 
 
7404
 
int
7405
 
main ()
7406
 
{
7407
 
 
7408
 
  ;
7409
 
  return 0;
7410
 
}
7411
 
_ACEOF
7412
 
if ac_fn_cxx_try_compile "$LINENO"; then :
7413
 
 
7414
 
else
7415
 
  ac_cxx_werror_flag=$ac_save_cxx_werror_flag
7416
 
         CXXFLAGS="-g"
7417
 
         cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7418
 
/* end confdefs.h.  */
7419
 
 
7420
 
int
7421
 
main ()
7422
 
{
7423
 
 
7424
 
  ;
7425
 
  return 0;
7426
 
}
7427
 
_ACEOF
7428
 
if ac_fn_cxx_try_compile "$LINENO"; then :
7429
 
  ac_cv_prog_cxx_g=yes
7430
 
fi
7431
 
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7432
 
fi
7433
 
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7434
 
fi
7435
 
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7436
 
   ac_cxx_werror_flag=$ac_save_cxx_werror_flag
7437
 
fi
7438
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cxx_g" >&5
7439
 
$as_echo "$ac_cv_prog_cxx_g" >&6; }
7440
 
if test "$ac_test_CXXFLAGS" = set; then
7441
 
  CXXFLAGS=$ac_save_CXXFLAGS
7442
 
elif test $ac_cv_prog_cxx_g = yes; then
7443
 
  if test "$GXX" = yes; then
7444
 
    CXXFLAGS="-g -O2"
7445
 
  else
7446
 
    CXXFLAGS="-g"
7447
 
  fi
7448
 
else
7449
 
  if test "$GXX" = yes; then
7450
 
    CXXFLAGS="-O2"
7451
 
  else
7452
 
    CXXFLAGS=
7453
 
  fi
7454
 
fi
7455
 
ac_ext=c
7456
 
ac_cpp='$CPP $CPPFLAGS'
7457
 
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7458
 
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7459
 
ac_compiler_gnu=$ac_cv_c_compiler_gnu
7460
 
 
7461
 
depcc="$CXX"  am_compiler_list=
7462
 
 
7463
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
7464
 
$as_echo_n "checking dependency style of $depcc... " >&6; }
7465
 
if test "${am_cv_CXX_dependencies_compiler_type+set}" = set; then :
7466
 
  $as_echo_n "(cached) " >&6
7467
 
else
7468
 
  if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
7469
 
  # We make a subdir and do the tests there.  Otherwise we can end up
7470
 
  # making bogus files that we don't know about and never remove.  For
7471
 
  # instance it was reported that on HP-UX the gcc test will end up
7472
 
  # making a dummy file named `D' -- because `-MD' means `put the output
7473
 
  # in D'.
7474
 
  mkdir conftest.dir
7475
 
  # Copy depcomp to subdir because otherwise we won't find it if we're
7476
 
  # using a relative directory.
7477
 
  cp "$am_depcomp" conftest.dir
7478
 
  cd conftest.dir
7479
 
  # We will build objects and dependencies in a subdirectory because
7480
 
  # it helps to detect inapplicable dependency modes.  For instance
7481
 
  # both Tru64's cc and ICC support -MD to output dependencies as a
7482
 
  # side effect of compilation, but ICC will put the dependencies in
7483
 
  # the current directory while Tru64 will put them in the object
7484
 
  # directory.
7485
 
  mkdir sub
7486
 
 
7487
 
  am_cv_CXX_dependencies_compiler_type=none
7488
 
  if test "$am_compiler_list" = ""; then
7489
 
     am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
7490
 
  fi
7491
 
  am__universal=false
7492
 
  case " $depcc " in #(
7493
 
     *\ -arch\ *\ -arch\ *) am__universal=true ;;
7494
 
     esac
7495
 
 
7496
 
  for depmode in $am_compiler_list; do
7497
 
    # Setup a source with many dependencies, because some compilers
7498
 
    # like to wrap large dependency lists on column 80 (with \), and
7499
 
    # we should not choose a depcomp mode which is confused by this.
7500
 
    #
7501
 
    # We need to recreate these files for each test, as the compiler may
7502
 
    # overwrite some of them when testing with obscure command lines.
7503
 
    # This happens at least with the AIX C compiler.
7504
 
    : > sub/conftest.c
7505
 
    for i in 1 2 3 4 5 6; do
7506
 
      echo '#include "conftst'$i'.h"' >> sub/conftest.c
7507
 
      # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
7508
 
      # Solaris 8's {/usr,}/bin/sh.
7509
 
      touch sub/conftst$i.h
7510
 
    done
7511
 
    echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
7512
 
 
7513
 
    # We check with `-c' and `-o' for the sake of the "dashmstdout"
7514
 
    # mode.  It turns out that the SunPro C++ compiler does not properly
7515
 
    # handle `-M -o', and we need to detect this.  Also, some Intel
7516
 
    # versions had trouble with output in subdirs
7517
 
    am__obj=sub/conftest.${OBJEXT-o}
7518
 
    am__minus_obj="-o $am__obj"
7519
 
    case $depmode in
7520
 
    gcc)
7521
 
      # This depmode causes a compiler race in universal mode.
7522
 
      test "$am__universal" = false || continue
7523
 
      ;;
7524
 
    nosideeffect)
7525
 
      # after this tag, mechanisms are not by side-effect, so they'll
7526
 
      # only be used when explicitly requested
7527
 
      if test "x$enable_dependency_tracking" = xyes; then
7528
 
        continue
7529
 
      else
7530
 
        break
7531
 
      fi
7532
 
      ;;
7533
 
    msvisualcpp | msvcmsys)
7534
 
      # This compiler won't grok `-c -o', but also, the minuso test has
7535
 
      # not run yet.  These depmodes are late enough in the game, and
7536
 
      # so weak that their functioning should not be impacted.
7537
 
      am__obj=conftest.${OBJEXT-o}
7538
 
      am__minus_obj=
7539
 
      ;;
7540
 
    none) break ;;
7541
 
    esac
7542
 
    if depmode=$depmode \
7543
 
       source=sub/conftest.c object=$am__obj \
7544
 
       depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
7545
 
       $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
7546
 
         >/dev/null 2>conftest.err &&
7547
 
       grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
7548
 
       grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
7549
 
       grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
7550
 
       ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
7551
 
      # icc doesn't choke on unknown options, it will just issue warnings
7552
 
      # or remarks (even with -Werror).  So we grep stderr for any message
7553
 
      # that says an option was ignored or not supported.
7554
 
      # When given -MP, icc 7.0 and 7.1 complain thusly:
7555
 
      #   icc: Command line warning: ignoring option '-M'; no argument required
7556
 
      # The diagnosis changed in icc 8.0:
7557
 
      #   icc: Command line remark: option '-MP' not supported
7558
 
      if (grep 'ignoring option' conftest.err ||
7559
 
          grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
7560
 
        am_cv_CXX_dependencies_compiler_type=$depmode
7561
 
        break
7562
 
      fi
7563
 
    fi
7564
 
  done
7565
 
 
7566
 
  cd ..
7567
 
  rm -rf conftest.dir
7568
 
else
7569
 
  am_cv_CXX_dependencies_compiler_type=none
7570
 
fi
7571
 
 
7572
 
fi
7573
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CXX_dependencies_compiler_type" >&5
7574
 
$as_echo "$am_cv_CXX_dependencies_compiler_type" >&6; }
7575
 
CXXDEPMODE=depmode=$am_cv_CXX_dependencies_compiler_type
7576
 
 
7577
 
 if
7578
 
  test "x$enable_dependency_tracking" != xno \
7579
 
  && test "$am_cv_CXX_dependencies_compiler_type" = gcc3; then
7580
 
  am__fastdepCXX_TRUE=
7581
 
  am__fastdepCXX_FALSE='#'
7582
 
else
7583
 
  am__fastdepCXX_TRUE='#'
7584
 
  am__fastdepCXX_FALSE=
7585
 
fi
7586
 
 
7587
 
 
7588
 
if test -n "$CXX" && ( test "X$CXX" != "Xno" &&
7589
 
    ( (test "X$CXX" = "Xg++" && `g++ -v >/dev/null 2>&1` ) ||
7590
 
    (test "X$CXX" != "Xg++"))) ; then
7591
 
  ac_ext=cpp
7592
 
ac_cpp='$CXXCPP $CPPFLAGS'
7593
 
ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7594
 
ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7595
 
ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
7596
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C++ preprocessor" >&5
7597
 
$as_echo_n "checking how to run the C++ preprocessor... " >&6; }
7598
 
if test -z "$CXXCPP"; then
7599
 
  if test "${ac_cv_prog_CXXCPP+set}" = set; then :
7600
 
  $as_echo_n "(cached) " >&6
7601
 
else
7602
 
      # Double quotes because CXXCPP needs to be expanded
7603
 
    for CXXCPP in "$CXX -E" "/lib/cpp"
7604
 
    do
7605
 
      ac_preproc_ok=false
7606
 
for ac_cxx_preproc_warn_flag in '' yes
7607
 
do
7608
 
  # Use a header file that comes with gcc, so configuring glibc
7609
 
  # with a fresh cross-compiler works.
7610
 
  # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
7611
 
  # <limits.h> exists even on freestanding compilers.
7612
 
  # On the NeXT, cc -E runs the code through the compiler's parser,
7613
 
  # not just through cpp. "Syntax error" is here to catch this case.
7614
 
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7615
 
/* end confdefs.h.  */
7616
 
#ifdef __STDC__
7617
 
# include <limits.h>
7618
 
#else
7619
 
# include <assert.h>
7620
 
#endif
7621
 
                     Syntax error
7622
 
_ACEOF
7623
 
if ac_fn_cxx_try_cpp "$LINENO"; then :
7624
 
 
7625
 
else
7626
 
  # Broken: fails on valid input.
7627
 
continue
7628
 
fi
7629
 
rm -f conftest.err conftest.$ac_ext
7630
 
 
7631
 
  # OK, works on sane cases.  Now check whether nonexistent headers
7632
 
  # can be detected and how.
7633
 
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7634
 
/* end confdefs.h.  */
7635
 
#include <ac_nonexistent.h>
7636
 
_ACEOF
7637
 
if ac_fn_cxx_try_cpp "$LINENO"; then :
7638
 
  # Broken: success on invalid input.
7639
 
continue
7640
 
else
7641
 
  # Passes both tests.
7642
 
ac_preproc_ok=:
7643
 
break
7644
 
fi
7645
 
rm -f conftest.err conftest.$ac_ext
7646
 
 
7647
 
done
7648
 
# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
7649
 
rm -f conftest.err conftest.$ac_ext
7650
 
if $ac_preproc_ok; then :
7651
 
  break
7652
 
fi
7653
 
 
7654
 
    done
7655
 
    ac_cv_prog_CXXCPP=$CXXCPP
7656
 
 
7657
 
fi
7658
 
  CXXCPP=$ac_cv_prog_CXXCPP
7659
 
else
7660
 
  ac_cv_prog_CXXCPP=$CXXCPP
7661
 
fi
7662
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXXCPP" >&5
7663
 
$as_echo "$CXXCPP" >&6; }
7664
 
ac_preproc_ok=false
7665
 
for ac_cxx_preproc_warn_flag in '' yes
7666
 
do
7667
 
  # Use a header file that comes with gcc, so configuring glibc
7668
 
  # with a fresh cross-compiler works.
7669
 
  # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
7670
 
  # <limits.h> exists even on freestanding compilers.
7671
 
  # On the NeXT, cc -E runs the code through the compiler's parser,
7672
 
  # not just through cpp. "Syntax error" is here to catch this case.
7673
 
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7674
 
/* end confdefs.h.  */
7675
 
#ifdef __STDC__
7676
 
# include <limits.h>
7677
 
#else
7678
 
# include <assert.h>
7679
 
#endif
7680
 
                     Syntax error
7681
 
_ACEOF
7682
 
if ac_fn_cxx_try_cpp "$LINENO"; then :
7683
 
 
7684
 
else
7685
 
  # Broken: fails on valid input.
7686
 
continue
7687
 
fi
7688
 
rm -f conftest.err conftest.$ac_ext
7689
 
 
7690
 
  # OK, works on sane cases.  Now check whether nonexistent headers
7691
 
  # can be detected and how.
7692
 
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7693
 
/* end confdefs.h.  */
7694
 
#include <ac_nonexistent.h>
7695
 
_ACEOF
7696
 
if ac_fn_cxx_try_cpp "$LINENO"; then :
7697
 
  # Broken: success on invalid input.
7698
 
continue
7699
 
else
7700
 
  # Passes both tests.
7701
 
ac_preproc_ok=:
7702
 
break
7703
 
fi
7704
 
rm -f conftest.err conftest.$ac_ext
7705
 
 
7706
 
done
7707
 
# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
7708
 
rm -f conftest.err conftest.$ac_ext
7709
 
if $ac_preproc_ok; then :
7710
 
 
7711
 
else
7712
 
  { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
7713
 
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
7714
 
_lt_caught_CXX_error=yes; }
7715
 
fi
7716
 
 
7717
 
ac_ext=c
7718
 
ac_cpp='$CPP $CPPFLAGS'
7719
 
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7720
 
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7721
 
ac_compiler_gnu=$ac_cv_c_compiler_gnu
7722
 
 
7723
 
else
7724
 
  _lt_caught_CXX_error=yes
7725
 
fi
 
7767
 
 
7768
func_stripname_cnf ()
 
7769
{
 
7770
  case ${2} in
 
7771
  .*) func_stripname_result=`$ECHO "${3}" | $SED "s%^${1}%%; s%\\\\${2}\$%%"`;;
 
7772
  *)  func_stripname_result=`$ECHO "${3}" | $SED "s%^${1}%%; s%${2}\$%%"`;;
 
7773
  esac
 
7774
} # func_stripname_cnf
7726
7775
 
7727
7776
 
7728
7777
 
7803
7852
 
7804
7853
# Check whether --with-pic was given.
7805
7854
if test "${with_pic+set}" = set; then :
7806
 
  withval=$with_pic; pic_mode="$withval"
 
7855
  withval=$with_pic; lt_p=${PACKAGE-default}
 
7856
    case $withval in
 
7857
    yes|no) pic_mode=$withval ;;
 
7858
    *)
 
7859
      pic_mode=default
 
7860
      # Look at the argument we got.  We use all the common list separators.
 
7861
      lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
 
7862
      for lt_pkg in $withval; do
 
7863
        IFS="$lt_save_ifs"
 
7864
        if test "X$lt_pkg" = "X$lt_p"; then
 
7865
          pic_mode=yes
 
7866
        fi
 
7867
      done
 
7868
      IFS="$lt_save_ifs"
 
7869
      ;;
 
7870
    esac
7807
7871
else
7808
7872
  pic_mode=default
7809
7873
fi
7880
7944
 
7881
7945
 
7882
7946
 
 
7947
 
 
7948
 
 
7949
 
 
7950
 
 
7951
 
7883
7952
test -z "$LN_S" && LN_S="ln -s"
7884
7953
 
7885
7954
 
7901
7970
 
7902
7971
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for objdir" >&5
7903
7972
$as_echo_n "checking for objdir... " >&6; }
7904
 
if test "${lt_cv_objdir+set}" = set; then :
 
7973
if ${lt_cv_objdir+:} false; then :
7905
7974
  $as_echo_n "(cached) " >&6
7906
7975
else
7907
7976
  rm -f .libs 2>/dev/null
7929
7998
 
7930
7999
 
7931
8000
 
7932
 
 
7933
 
 
7934
 
 
7935
 
 
7936
 
 
7937
 
 
7938
 
 
7939
 
 
7940
 
 
7941
 
 
7942
 
 
7943
 
 
7944
 
 
7945
8001
case $host_os in
7946
8002
aix3*)
7947
8003
  # AIX sometimes has problems with the GCC collect2 program.  For some
7954
8010
  ;;
7955
8011
esac
7956
8012
 
7957
 
# Sed substitution that helps us do robust quoting.  It backslashifies
7958
 
# metacharacters that are still active within double-quoted strings.
7959
 
sed_quote_subst='s/\(["`$\\]\)/\\\1/g'
7960
 
 
7961
 
# Same as above, but do not quote variable references.
7962
 
double_quote_subst='s/\(["`\\]\)/\\\1/g'
7963
 
 
7964
 
# Sed substitution to delay expansion of an escaped shell variable in a
7965
 
# double_quote_subst'ed string.
7966
 
delay_variable_subst='s/\\\\\\\\\\\$/\\\\\\$/g'
7967
 
 
7968
 
# Sed substitution to delay expansion of an escaped single quote.
7969
 
delay_single_quote_subst='s/'\''/'\'\\\\\\\'\''/g'
7970
 
 
7971
 
# Sed substitution to avoid accidental globbing in evaled expressions
7972
 
no_glob_subst='s/\*/\\\*/g'
7973
 
 
7974
8013
# Global variables:
7975
8014
ofile=libtool
7976
8015
can_build_shared=yes
7999
8038
    *) break;;
8000
8039
  esac
8001
8040
done
8002
 
cc_basename=`$ECHO "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
 
8041
cc_basename=`$ECHO "$cc_temp" | $SED "s%.*/%%; s%^$host_alias-%%"`
8003
8042
 
8004
8043
 
8005
8044
# Only perform the check for file, if the check method requires it
8009
8048
  if test "$file_magic_cmd" = '$MAGIC_CMD'; then
8010
8049
    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ${ac_tool_prefix}file" >&5
8011
8050
$as_echo_n "checking for ${ac_tool_prefix}file... " >&6; }
8012
 
if test "${lt_cv_path_MAGIC_CMD+set}" = set; then :
 
8051
if ${lt_cv_path_MAGIC_CMD+:} false; then :
8013
8052
  $as_echo_n "(cached) " >&6
8014
8053
else
8015
8054
  case $MAGIC_CMD in
8075
8114
  if test -n "$ac_tool_prefix"; then
8076
8115
    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for file" >&5
8077
8116
$as_echo_n "checking for file... " >&6; }
8078
 
if test "${lt_cv_path_MAGIC_CMD+set}" = set; then :
 
8117
if ${lt_cv_path_MAGIC_CMD+:} false; then :
8079
8118
  $as_echo_n "(cached) " >&6
8080
8119
else
8081
8120
  case $MAGIC_CMD in
8208
8247
lt_prog_compiler_no_builtin_flag=
8209
8248
 
8210
8249
if test "$GCC" = yes; then
8211
 
  lt_prog_compiler_no_builtin_flag=' -fno-builtin'
 
8250
  case $cc_basename in
 
8251
  nvcc*)
 
8252
    lt_prog_compiler_no_builtin_flag=' -Xcompiler -fno-builtin' ;;
 
8253
  *)
 
8254
    lt_prog_compiler_no_builtin_flag=' -fno-builtin' ;;
 
8255
  esac
8212
8256
 
8213
8257
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
8214
8258
$as_echo_n "checking if $compiler supports -fno-rtti -fno-exceptions... " >&6; }
8215
 
if test "${lt_cv_prog_compiler_rtti_exceptions+set}" = set; then :
 
8259
if ${lt_cv_prog_compiler_rtti_exceptions+:} false; then :
8216
8260
  $as_echo_n "(cached) " >&6
8217
8261
else
8218
8262
  lt_cv_prog_compiler_rtti_exceptions=no
8228
8272
   -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8229
8273
   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8230
8274
   -e 's:$: $lt_compiler_flag:'`
8231
 
   (eval echo "\"\$as_me:8231: $lt_compile\"" >&5)
 
8275
   (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
8232
8276
   (eval "$lt_compile" 2>conftest.err)
8233
8277
   ac_status=$?
8234
8278
   cat conftest.err >&5
8235
 
   echo "$as_me:8235: \$? = $ac_status" >&5
 
8279
   echo "$as_me:$LINENO: \$? = $ac_status" >&5
8236
8280
   if (exit $ac_status) && test -s "$ac_outfile"; then
8237
8281
     # The compiler can only warn and ignore the option if not recognized
8238
8282
     # So say no if there are warnings other than the usual output.
8239
 
     $ECHO "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' >conftest.exp
 
8283
     $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
8240
8284
     $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
8241
8285
     if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
8242
8286
       lt_cv_prog_compiler_rtti_exceptions=yes
8265
8309
lt_prog_compiler_pic=
8266
8310
lt_prog_compiler_static=
8267
8311
 
8268
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5
8269
 
$as_echo_n "checking for $compiler option to produce PIC... " >&6; }
8270
8312
 
8271
8313
  if test "$GCC" = yes; then
8272
8314
    lt_prog_compiler_wl='-Wl,'
8314
8356
      lt_prog_compiler_pic='-fno-common'
8315
8357
      ;;
8316
8358
 
 
8359
    haiku*)
 
8360
      # PIC is the default for Haiku.
 
8361
      # The "-static" flag exists, but is broken.
 
8362
      lt_prog_compiler_static=
 
8363
      ;;
 
8364
 
8317
8365
    hpux*)
8318
8366
      # PIC is the default for 64-bit PA HP-UX, but not for 32-bit
8319
8367
      # PA HP-UX.  On IA64 HP-UX, PIC is the default but the pic flag
8356
8404
      lt_prog_compiler_pic='-fPIC'
8357
8405
      ;;
8358
8406
    esac
 
8407
 
 
8408
    case $cc_basename in
 
8409
    nvcc*) # Cuda Compiler Driver 2.2
 
8410
      lt_prog_compiler_wl='-Xlinker '
 
8411
      if test -n "$lt_prog_compiler_pic"; then
 
8412
        lt_prog_compiler_pic="-Xcompiler $lt_prog_compiler_pic"
 
8413
      fi
 
8414
      ;;
 
8415
    esac
8359
8416
  else
8360
8417
    # PORTME Check for flag to pass linker flags through the system compiler.
8361
8418
    case $host_os in
8397
8454
      lt_prog_compiler_static='-non_shared'
8398
8455
      ;;
8399
8456
 
8400
 
    linux* | k*bsd*-gnu)
 
8457
    linux* | k*bsd*-gnu | kopensolaris*-gnu)
8401
8458
      case $cc_basename in
8402
8459
      # old Intel for x86_64 which still supported -KPIC.
8403
8460
      ecc*)
8418
8475
        lt_prog_compiler_pic='--shared'
8419
8476
        lt_prog_compiler_static='--static'
8420
8477
        ;;
8421
 
      pgcc* | pgf77* | pgf90* | pgf95*)
 
8478
      nagfor*)
 
8479
        # NAG Fortran compiler
 
8480
        lt_prog_compiler_wl='-Wl,-Wl,,'
 
8481
        lt_prog_compiler_pic='-PIC'
 
8482
        lt_prog_compiler_static='-Bstatic'
 
8483
        ;;
 
8484
      pgcc* | pgf77* | pgf90* | pgf95* | pgfortran*)
8422
8485
        # Portland Group compilers (*not* the Pentium gcc compiler,
8423
8486
        # which looks to be a dead project)
8424
8487
        lt_prog_compiler_wl='-Wl,'
8430
8493
        # All Alpha code is PIC.
8431
8494
        lt_prog_compiler_static='-non_shared'
8432
8495
        ;;
8433
 
      xl*)
8434
 
        # IBM XL C 8.0/Fortran 10.1 on PPC
 
8496
      xl* | bgxl* | bgf* | mpixl*)
 
8497
        # IBM XL C 8.0/Fortran 10.1, 11.1 on PPC and BlueGene
8435
8498
        lt_prog_compiler_wl='-Wl,'
8436
8499
        lt_prog_compiler_pic='-qpic'
8437
8500
        lt_prog_compiler_static='-qstaticlink'
8438
8501
        ;;
8439
8502
      *)
8440
8503
        case `$CC -V 2>&1 | sed 5q` in
 
8504
        *Sun\ Ceres\ Fortran* | *Sun*Fortran*\ [1-7].* | *Sun*Fortran*\ 8.[0-3]*)
 
8505
          # Sun Fortran 8.3 passes all unrecognized flags to the linker
 
8506
          lt_prog_compiler_pic='-KPIC'
 
8507
          lt_prog_compiler_static='-Bstatic'
 
8508
          lt_prog_compiler_wl=''
 
8509
          ;;
 
8510
        *Sun\ F* | *Sun*Fortran*)
 
8511
          lt_prog_compiler_pic='-KPIC'
 
8512
          lt_prog_compiler_static='-Bstatic'
 
8513
          lt_prog_compiler_wl='-Qoption ld '
 
8514
          ;;
8441
8515
        *Sun\ C*)
8442
8516
          # Sun C 5.9
8443
8517
          lt_prog_compiler_pic='-KPIC'
8444
8518
          lt_prog_compiler_static='-Bstatic'
8445
8519
          lt_prog_compiler_wl='-Wl,'
8446
8520
          ;;
8447
 
        *Sun\ F*)
8448
 
          # Sun Fortran 8.3 passes all unrecognized flags to the linker
8449
 
          lt_prog_compiler_pic='-KPIC'
 
8521
        *Intel*\ [CF]*Compiler*)
 
8522
          lt_prog_compiler_wl='-Wl,'
 
8523
          lt_prog_compiler_pic='-fPIC'
 
8524
          lt_prog_compiler_static='-static'
 
8525
          ;;
 
8526
        *Portland\ Group*)
 
8527
          lt_prog_compiler_wl='-Wl,'
 
8528
          lt_prog_compiler_pic='-fpic'
8450
8529
          lt_prog_compiler_static='-Bstatic'
8451
 
          lt_prog_compiler_wl=''
8452
8530
          ;;
8453
8531
        esac
8454
8532
        ;;
8480
8558
      lt_prog_compiler_pic='-KPIC'
8481
8559
      lt_prog_compiler_static='-Bstatic'
8482
8560
      case $cc_basename in
8483
 
      f77* | f90* | f95*)
 
8561
      f77* | f90* | f95* | sunf77* | sunf90* | sunf95*)
8484
8562
        lt_prog_compiler_wl='-Qoption ld ';;
8485
8563
      *)
8486
8564
        lt_prog_compiler_wl='-Wl,';;
8537
8615
    lt_prog_compiler_pic="$lt_prog_compiler_pic -DPIC"
8538
8616
    ;;
8539
8617
esac
8540
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_prog_compiler_pic" >&5
8541
 
$as_echo "$lt_prog_compiler_pic" >&6; }
8542
 
 
8543
 
 
8544
 
 
8545
 
 
8546
 
 
 
8618
 
 
8619
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5
 
8620
$as_echo_n "checking for $compiler option to produce PIC... " >&6; }
 
8621
if ${lt_cv_prog_compiler_pic+:} false; then :
 
8622
  $as_echo_n "(cached) " >&6
 
8623
else
 
8624
  lt_cv_prog_compiler_pic=$lt_prog_compiler_pic
 
8625
fi
 
8626
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic" >&5
 
8627
$as_echo "$lt_cv_prog_compiler_pic" >&6; }
 
8628
lt_prog_compiler_pic=$lt_cv_prog_compiler_pic
8547
8629
 
8548
8630
#
8549
8631
# Check to make sure the PIC flag actually works.
8551
8633
if test -n "$lt_prog_compiler_pic"; then
8552
8634
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler PIC flag $lt_prog_compiler_pic works" >&5
8553
8635
$as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic works... " >&6; }
8554
 
if test "${lt_cv_prog_compiler_pic_works+set}" = set; then :
 
8636
if ${lt_cv_prog_compiler_pic_works+:} false; then :
8555
8637
  $as_echo_n "(cached) " >&6
8556
8638
else
8557
8639
  lt_cv_prog_compiler_pic_works=no
8567
8649
   -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8568
8650
   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8569
8651
   -e 's:$: $lt_compiler_flag:'`
8570
 
   (eval echo "\"\$as_me:8570: $lt_compile\"" >&5)
 
8652
   (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
8571
8653
   (eval "$lt_compile" 2>conftest.err)
8572
8654
   ac_status=$?
8573
8655
   cat conftest.err >&5
8574
 
   echo "$as_me:8574: \$? = $ac_status" >&5
 
8656
   echo "$as_me:$LINENO: \$? = $ac_status" >&5
8575
8657
   if (exit $ac_status) && test -s "$ac_outfile"; then
8576
8658
     # The compiler can only warn and ignore the option if not recognized
8577
8659
     # So say no if there are warnings other than the usual output.
8578
 
     $ECHO "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' >conftest.exp
 
8660
     $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
8579
8661
     $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
8580
8662
     if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
8581
8663
       lt_cv_prog_compiler_pic_works=yes
8604
8686
 
8605
8687
 
8606
8688
 
 
8689
 
 
8690
 
 
8691
 
 
8692
 
 
8693
 
8607
8694
#
8608
8695
# Check to make sure the static flag actually works.
8609
8696
#
8610
8697
wl=$lt_prog_compiler_wl eval lt_tmp_static_flag=\"$lt_prog_compiler_static\"
8611
8698
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler static flag $lt_tmp_static_flag works" >&5
8612
8699
$as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
8613
 
if test "${lt_cv_prog_compiler_static_works+set}" = set; then :
 
8700
if ${lt_cv_prog_compiler_static_works+:} false; then :
8614
8701
  $as_echo_n "(cached) " >&6
8615
8702
else
8616
8703
  lt_cv_prog_compiler_static_works=no
8623
8710
     if test -s conftest.err; then
8624
8711
       # Append any errors to the config.log.
8625
8712
       cat conftest.err 1>&5
8626
 
       $ECHO "X$_lt_linker_boilerplate" | $Xsed -e '/^$/d' > conftest.exp
 
8713
       $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
8627
8714
       $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
8628
8715
       if diff conftest.exp conftest.er2 >/dev/null; then
8629
8716
         lt_cv_prog_compiler_static_works=yes
8653
8740
 
8654
8741
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
8655
8742
$as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
8656
 
if test "${lt_cv_prog_compiler_c_o+set}" = set; then :
 
8743
if ${lt_cv_prog_compiler_c_o+:} false; then :
8657
8744
  $as_echo_n "(cached) " >&6
8658
8745
else
8659
8746
  lt_cv_prog_compiler_c_o=no
8672
8759
   -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8673
8760
   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8674
8761
   -e 's:$: $lt_compiler_flag:'`
8675
 
   (eval echo "\"\$as_me:8675: $lt_compile\"" >&5)
 
8762
   (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
8676
8763
   (eval "$lt_compile" 2>out/conftest.err)
8677
8764
   ac_status=$?
8678
8765
   cat out/conftest.err >&5
8679
 
   echo "$as_me:8679: \$? = $ac_status" >&5
 
8766
   echo "$as_me:$LINENO: \$? = $ac_status" >&5
8680
8767
   if (exit $ac_status) && test -s out/conftest2.$ac_objext
8681
8768
   then
8682
8769
     # The compiler can only warn and ignore the option if not recognized
8683
8770
     # So say no if there are warnings
8684
 
     $ECHO "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' > out/conftest.exp
 
8771
     $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
8685
8772
     $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
8686
8773
     if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
8687
8774
       lt_cv_prog_compiler_c_o=yes
8708
8795
 
8709
8796
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
8710
8797
$as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
8711
 
if test "${lt_cv_prog_compiler_c_o+set}" = set; then :
 
8798
if ${lt_cv_prog_compiler_c_o+:} false; then :
8712
8799
  $as_echo_n "(cached) " >&6
8713
8800
else
8714
8801
  lt_cv_prog_compiler_c_o=no
8727
8814
   -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8728
8815
   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8729
8816
   -e 's:$: $lt_compiler_flag:'`
8730
 
   (eval echo "\"\$as_me:8730: $lt_compile\"" >&5)
 
8817
   (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
8731
8818
   (eval "$lt_compile" 2>out/conftest.err)
8732
8819
   ac_status=$?
8733
8820
   cat out/conftest.err >&5
8734
 
   echo "$as_me:8734: \$? = $ac_status" >&5
 
8821
   echo "$as_me:$LINENO: \$? = $ac_status" >&5
8735
8822
   if (exit $ac_status) && test -s out/conftest2.$ac_objext
8736
8823
   then
8737
8824
     # The compiler can only warn and ignore the option if not recognized
8738
8825
     # So say no if there are warnings
8739
 
     $ECHO "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' > out/conftest.exp
 
8826
     $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
8740
8827
     $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
8741
8828
     if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
8742
8829
       lt_cv_prog_compiler_c_o=yes
8802
8889
  hardcode_direct=no
8803
8890
  hardcode_direct_absolute=no
8804
8891
  hardcode_libdir_flag_spec=
8805
 
  hardcode_libdir_flag_spec_ld=
8806
8892
  hardcode_libdir_separator=
8807
8893
  hardcode_minus_L=no
8808
8894
  hardcode_shlibpath_var=unsupported
8846
8932
  openbsd*)
8847
8933
    with_gnu_ld=no
8848
8934
    ;;
8849
 
  linux* | k*bsd*-gnu)
 
8935
  linux* | k*bsd*-gnu | gnu*)
8850
8936
    link_all_deplibs=no
8851
8937
    ;;
8852
8938
  esac
8853
8939
 
8854
8940
  ld_shlibs=yes
 
8941
 
 
8942
  # On some targets, GNU ld is compatible enough with the native linker
 
8943
  # that we're better off using the native interface for both.
 
8944
  lt_use_gnu_ld_interface=no
8855
8945
  if test "$with_gnu_ld" = yes; then
 
8946
    case $host_os in
 
8947
      aix*)
 
8948
        # The AIX port of GNU ld has always aspired to compatibility
 
8949
        # with the native linker.  However, as the warning in the GNU ld
 
8950
        # block says, versions before 2.19.5* couldn't really create working
 
8951
        # shared libraries, regardless of the interface used.
 
8952
        case `$LD -v 2>&1` in
 
8953
          *\ \(GNU\ Binutils\)\ 2.19.5*) ;;
 
8954
          *\ \(GNU\ Binutils\)\ 2.[2-9]*) ;;
 
8955
          *\ \(GNU\ Binutils\)\ [3-9]*) ;;
 
8956
          *)
 
8957
            lt_use_gnu_ld_interface=yes
 
8958
            ;;
 
8959
        esac
 
8960
        ;;
 
8961
      *)
 
8962
        lt_use_gnu_ld_interface=yes
 
8963
        ;;
 
8964
    esac
 
8965
  fi
 
8966
 
 
8967
  if test "$lt_use_gnu_ld_interface" = yes; then
8856
8968
    # If archive_cmds runs LD, not CC, wlarc should be empty
8857
8969
    wlarc='${wl}'
8858
8970
 
8870
8982
    fi
8871
8983
    supports_anon_versioning=no
8872
8984
    case `$LD -v 2>&1` in
 
8985
      *GNU\ gold*) supports_anon_versioning=yes ;;
8873
8986
      *\ [01].* | *\ 2.[0-9].* | *\ 2.10.*) ;; # catch versions < 2.11
8874
8987
      *\ 2.11.93.0.2\ *) supports_anon_versioning=yes ;; # RH7.3 ...
8875
8988
      *\ 2.11.92.0.12\ *) supports_anon_versioning=yes ;; # Mandrake 8.2 ...
8885
8998
        ld_shlibs=no
8886
8999
        cat <<_LT_EOF 1>&2
8887
9000
 
8888
 
*** Warning: the GNU linker, at least up to release 2.9.1, is reported
 
9001
*** Warning: the GNU linker, at least up to release 2.19, is reported
8889
9002
*** to be unable to reliably create shared libraries on AIX.
8890
9003
*** Therefore, libtool is disabling shared libraries support.  If you
8891
 
*** really care for shared libraries, you may want to modify your PATH
8892
 
*** so that a non-GNU linker is found, and then restart.
 
9004
*** really care for shared libraries, you may want to install binutils
 
9005
*** 2.20 or above, or modify your PATH so that a non-GNU linker is found.
 
9006
*** You will then need to restart the configuration process.
8893
9007
 
8894
9008
_LT_EOF
8895
9009
      fi
8925
9039
      # _LT_TAGVAR(hardcode_libdir_flag_spec, ) is actually meaningless,
8926
9040
      # as there is no search path for DLLs.
8927
9041
      hardcode_libdir_flag_spec='-L$libdir'
 
9042
      export_dynamic_flag_spec='${wl}--export-all-symbols'
8928
9043
      allow_undefined_flag=unsupported
8929
9044
      always_export_symbols=no
8930
9045
      enable_shared_with_static_runtimes=yes
8931
 
      export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1 DATA/'\'' | $SED -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols'
 
9046
      export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1 DATA/;s/^.*[ ]__nm__\([^ ]*\)[ ][^ ]*/\1 DATA/;/^I[ ]/d;/^[AITW][ ]/s/.* //'\'' | sort | uniq > $export_symbols'
 
9047
      exclude_expsyms='[_]+GLOBAL_OFFSET_TABLE_|[_]+GLOBAL__[FID]_.*|[_]+head_[A-Za-z0-9_]+_dll|[A-Za-z0-9_]+_dll_iname'
8932
9048
 
8933
9049
      if $LD --help 2>&1 | $GREP 'auto-import' > /dev/null; then
8934
9050
        archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
8946
9062
      fi
8947
9063
      ;;
8948
9064
 
 
9065
    haiku*)
 
9066
      archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
 
9067
      link_all_deplibs=yes
 
9068
      ;;
 
9069
 
8949
9070
    interix[3-9]*)
8950
9071
      hardcode_direct=no
8951
9072
      hardcode_shlibpath_var=no
8961
9082
      archive_expsym_cmds='sed "s,^,_," $export_symbols >$output_objdir/$soname.expsym~$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--retain-symbols-file,$output_objdir/$soname.expsym ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
8962
9083
      ;;
8963
9084
 
8964
 
    gnu* | linux* | tpf* | k*bsd*-gnu)
 
9085
    gnu* | linux* | tpf* | k*bsd*-gnu | kopensolaris*-gnu)
8965
9086
      tmp_diet=no
8966
9087
      if test "$host_os" = linux-dietlibc; then
8967
9088
        case $cc_basename in
8971
9092
      if $LD --help 2>&1 | $EGREP ': supported targets:.* elf' > /dev/null \
8972
9093
         && test "$tmp_diet" = no
8973
9094
      then
8974
 
        tmp_addflag=
 
9095
        tmp_addflag=' $pic_flag'
8975
9096
        tmp_sharedflag='-shared'
8976
9097
        case $cc_basename,$host_cpu in
8977
9098
        pgcc*)                          # Portland Group C compiler
8978
 
          whole_archive_flag_spec='${wl}--whole-archive`for conv in $convenience\"\"; do test  -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; $ECHO \"$new_convenience\"` ${wl}--no-whole-archive'
 
9099
          whole_archive_flag_spec='${wl}--whole-archive`for conv in $convenience\"\"; do test  -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; func_echo_all \"$new_convenience\"` ${wl}--no-whole-archive'
8979
9100
          tmp_addflag=' $pic_flag'
8980
9101
          ;;
8981
 
        pgf77* | pgf90* | pgf95*)       # Portland Group f77 and f90 compilers
8982
 
          whole_archive_flag_spec='${wl}--whole-archive`for conv in $convenience\"\"; do test  -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; $ECHO \"$new_convenience\"` ${wl}--no-whole-archive'
 
9102
        pgf77* | pgf90* | pgf95* | pgfortran*)
 
9103
                                        # Portland Group f77 and f90 compilers
 
9104
          whole_archive_flag_spec='${wl}--whole-archive`for conv in $convenience\"\"; do test  -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; func_echo_all \"$new_convenience\"` ${wl}--no-whole-archive'
8983
9105
          tmp_addflag=' $pic_flag -Mnomain' ;;
8984
9106
        ecc*,ia64* | icc*,ia64*)        # Intel C compiler on ia64
8985
9107
          tmp_addflag=' -i_dynamic' ;;
8990
9112
        lf95*)                          # Lahey Fortran 8.1
8991
9113
          whole_archive_flag_spec=
8992
9114
          tmp_sharedflag='--shared' ;;
8993
 
        xl[cC]*)                        # IBM XL C 8.0 on PPC (deal with xlf below)
 
9115
        xl[cC]* | bgxl[cC]* | mpixl[cC]*) # IBM XL C 8.0 on PPC (deal with xlf below)
8994
9116
          tmp_sharedflag='-qmkshrobj'
8995
9117
          tmp_addflag= ;;
 
9118
        nvcc*)  # Cuda Compiler Driver 2.2
 
9119
          whole_archive_flag_spec='${wl}--whole-archive`for conv in $convenience\"\"; do test  -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; func_echo_all \"$new_convenience\"` ${wl}--no-whole-archive'
 
9120
          compiler_needs_object=yes
 
9121
          ;;
8996
9122
        esac
8997
9123
        case `$CC -V 2>&1 | sed 5q` in
8998
9124
        *Sun\ C*)                       # Sun C 5.9
8999
 
          whole_archive_flag_spec='${wl}--whole-archive`new_convenience=; for conv in $convenience\"\"; do test -z \"$conv\" || new_convenience=\"$new_convenience,$conv\"; done; $ECHO \"$new_convenience\"` ${wl}--no-whole-archive'
 
9125
          whole_archive_flag_spec='${wl}--whole-archive`new_convenience=; for conv in $convenience\"\"; do test -z \"$conv\" || new_convenience=\"$new_convenience,$conv\"; done; func_echo_all \"$new_convenience\"` ${wl}--no-whole-archive'
9000
9126
          compiler_needs_object=yes
9001
9127
          tmp_sharedflag='-G' ;;
9002
9128
        *Sun\ F*)                       # Sun Fortran 8.3
9012
9138
        fi
9013
9139
 
9014
9140
        case $cc_basename in
9015
 
        xlf*)
 
9141
        xlf* | bgf* | bgxlf* | mpixlf*)
9016
9142
          # IBM XL Fortran 10.1 on PPC cannot create shared libs itself
9017
9143
          whole_archive_flag_spec='--whole-archive$convenience --no-whole-archive'
9018
 
          hardcode_libdir_flag_spec=
9019
 
          hardcode_libdir_flag_spec_ld='-rpath $libdir'
9020
 
          archive_cmds='$LD -shared $libobjs $deplibs $compiler_flags -soname $soname -o $lib'
 
9144
          hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
 
9145
          archive_cmds='$LD -shared $libobjs $deplibs $linker_flags -soname $soname -o $lib'
9021
9146
          if test "x$supports_anon_versioning" = xyes; then
9022
9147
            archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
9023
9148
              cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
9024
9149
              echo "local: *; };" >> $output_objdir/$libname.ver~
9025
 
              $LD -shared $libobjs $deplibs $compiler_flags -soname $soname -version-script $output_objdir/$libname.ver -o $lib'
 
9150
              $LD -shared $libobjs $deplibs $linker_flags -soname $soname -version-script $output_objdir/$libname.ver -o $lib'
9026
9151
          fi
9027
9152
          ;;
9028
9153
        esac
9036
9161
        archive_cmds='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
9037
9162
        wlarc=
9038
9163
      else
9039
 
        archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9040
 
        archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
 
9164
        archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
 
9165
        archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
9041
9166
      fi
9042
9167
      ;;
9043
9168
 
9055
9180
 
9056
9181
_LT_EOF
9057
9182
      elif $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
9058
 
        archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9059
 
        archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
 
9183
        archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
 
9184
        archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
9060
9185
      else
9061
9186
        ld_shlibs=no
9062
9187
      fi
9102
9227
 
9103
9228
    *)
9104
9229
      if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
9105
 
        archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9106
 
        archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
 
9230
        archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
 
9231
        archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
9107
9232
      else
9108
9233
        ld_shlibs=no
9109
9234
      fi
9143
9268
      else
9144
9269
        # If we're using GNU nm, then we don't want the "-C" option.
9145
9270
        # -C means demangle to AIX nm, but means don't demangle with GNU nm
 
9271
        # Also, AIX nm treats weak defined symbols like other global
 
9272
        # defined symbols, whereas GNU nm marks them as "W".
9146
9273
        if $NM -V 2>&1 | $GREP 'GNU' > /dev/null; then
9147
 
          export_symbols_cmds='$NM -Bpg $libobjs $convenience | awk '\''{ if (((\$ 2 == "T") || (\$ 2 == "D") || (\$ 2 == "B")) && (substr(\$ 3,1,1) != ".")) { print \$ 3 } }'\'' | sort -u > $export_symbols'
 
9274
          export_symbols_cmds='$NM -Bpg $libobjs $convenience | awk '\''{ if (((\$ 2 == "T") || (\$ 2 == "D") || (\$ 2 == "B") || (\$ 2 == "W")) && (substr(\$ 3,1,1) != ".")) { print \$ 3 } }'\'' | sort -u > $export_symbols'
9148
9275
        else
9149
9276
          export_symbols_cmds='$NM -BCpg $libobjs $convenience | awk '\''{ if (((\$ 2 == "T") || (\$ 2 == "D") || (\$ 2 == "B")) && (substr(\$ 3,1,1) != ".")) { print \$ 3 } }'\'' | sort -u > $export_symbols'
9150
9277
        fi
9232
9359
        allow_undefined_flag='-berok'
9233
9360
        # Determine the default libpath from the value encoded in an
9234
9361
        # empty executable.
9235
 
        cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 
9362
        if test "${lt_cv_aix_libpath+set}" = set; then
 
9363
  aix_libpath=$lt_cv_aix_libpath
 
9364
else
 
9365
  if ${lt_cv_aix_libpath_+:} false; then :
 
9366
  $as_echo_n "(cached) " >&6
 
9367
else
 
9368
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9236
9369
/* end confdefs.h.  */
9237
9370
 
9238
9371
int
9245
9378
_ACEOF
9246
9379
if ac_fn_c_try_link "$LINENO"; then :
9247
9380
 
9248
 
lt_aix_libpath_sed='
9249
 
    /Import File Strings/,/^$/ {
9250
 
        /^0/ {
9251
 
            s/^0  *\(.*\)$/\1/
9252
 
            p
9253
 
        }
9254
 
    }'
9255
 
aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9256
 
# Check for a 64-bit object if we didn't find anything.
9257
 
if test -z "$aix_libpath"; then
9258
 
  aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9259
 
fi
 
9381
  lt_aix_libpath_sed='
 
9382
      /Import File Strings/,/^$/ {
 
9383
          /^0/ {
 
9384
              s/^0  *\([^ ]*\) *$/\1/
 
9385
              p
 
9386
          }
 
9387
      }'
 
9388
  lt_cv_aix_libpath_=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
 
9389
  # Check for a 64-bit object if we didn't find anything.
 
9390
  if test -z "$lt_cv_aix_libpath_"; then
 
9391
    lt_cv_aix_libpath_=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
 
9392
  fi
9260
9393
fi
9261
9394
rm -f core conftest.err conftest.$ac_objext \
9262
9395
    conftest$ac_exeext conftest.$ac_ext
9263
 
if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
 
9396
  if test -z "$lt_cv_aix_libpath_"; then
 
9397
    lt_cv_aix_libpath_="/usr/lib:/lib"
 
9398
  fi
 
9399
 
 
9400
fi
 
9401
 
 
9402
  aix_libpath=$lt_cv_aix_libpath_
 
9403
fi
9264
9404
 
9265
9405
        hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
9266
 
        archive_expsym_cmds='$CC -o $output_objdir/$soname $libobjs $deplibs '"\${wl}$no_entry_flag"' $compiler_flags `if test "x${allow_undefined_flag}" != "x"; then $ECHO "X${wl}${allow_undefined_flag}" | $Xsed; else :; fi` '"\${wl}$exp_sym_flag:\$export_symbols $shared_flag"
 
9406
        archive_expsym_cmds='$CC -o $output_objdir/$soname $libobjs $deplibs '"\${wl}$no_entry_flag"' $compiler_flags `if test "x${allow_undefined_flag}" != "x"; then func_echo_all "${wl}${allow_undefined_flag}"; else :; fi` '"\${wl}$exp_sym_flag:\$export_symbols $shared_flag"
9267
9407
      else
9268
9408
        if test "$host_cpu" = ia64; then
9269
9409
          hardcode_libdir_flag_spec='${wl}-R $libdir:/usr/lib:/lib'
9272
9412
        else
9273
9413
         # Determine the default libpath from the value encoded in an
9274
9414
         # empty executable.
9275
 
         cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 
9415
         if test "${lt_cv_aix_libpath+set}" = set; then
 
9416
  aix_libpath=$lt_cv_aix_libpath
 
9417
else
 
9418
  if ${lt_cv_aix_libpath_+:} false; then :
 
9419
  $as_echo_n "(cached) " >&6
 
9420
else
 
9421
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9276
9422
/* end confdefs.h.  */
9277
9423
 
9278
9424
int
9285
9431
_ACEOF
9286
9432
if ac_fn_c_try_link "$LINENO"; then :
9287
9433
 
9288
 
lt_aix_libpath_sed='
9289
 
    /Import File Strings/,/^$/ {
9290
 
        /^0/ {
9291
 
            s/^0  *\(.*\)$/\1/
9292
 
            p
9293
 
        }
9294
 
    }'
9295
 
aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9296
 
# Check for a 64-bit object if we didn't find anything.
9297
 
if test -z "$aix_libpath"; then
9298
 
  aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9299
 
fi
 
9434
  lt_aix_libpath_sed='
 
9435
      /Import File Strings/,/^$/ {
 
9436
          /^0/ {
 
9437
              s/^0  *\([^ ]*\) *$/\1/
 
9438
              p
 
9439
          }
 
9440
      }'
 
9441
  lt_cv_aix_libpath_=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
 
9442
  # Check for a 64-bit object if we didn't find anything.
 
9443
  if test -z "$lt_cv_aix_libpath_"; then
 
9444
    lt_cv_aix_libpath_=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
 
9445
  fi
9300
9446
fi
9301
9447
rm -f core conftest.err conftest.$ac_objext \
9302
9448
    conftest$ac_exeext conftest.$ac_ext
9303
 
if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
 
9449
  if test -z "$lt_cv_aix_libpath_"; then
 
9450
    lt_cv_aix_libpath_="/usr/lib:/lib"
 
9451
  fi
 
9452
 
 
9453
fi
 
9454
 
 
9455
  aix_libpath=$lt_cv_aix_libpath_
 
9456
fi
9304
9457
 
9305
9458
         hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
9306
9459
          # Warning - without using the other run time loading flags,
9307
9460
          # -berok will link without error, but may produce a broken library.
9308
9461
          no_undefined_flag=' ${wl}-bernotok'
9309
9462
          allow_undefined_flag=' ${wl}-berok'
9310
 
          # Exported symbols can be pulled into shared objects from archives
9311
 
          whole_archive_flag_spec='$convenience'
 
9463
          if test "$with_gnu_ld" = yes; then
 
9464
            # We only use this code for GNU lds that support --whole-archive.
 
9465
            whole_archive_flag_spec='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
 
9466
          else
 
9467
            # Exported symbols can be pulled into shared objects from archives
 
9468
            whole_archive_flag_spec='$convenience'
 
9469
          fi
9312
9470
          archive_cmds_need_lc=yes
9313
9471
          # This is similar to how AIX traditionally builds its shared libraries.
9314
9472
          archive_expsym_cmds="\$CC $shared_flag"' -o $output_objdir/$soname $libobjs $deplibs ${wl}-bnoentry $compiler_flags ${wl}-bE:$export_symbols${allow_undefined_flag}~$AR $AR_FLAGS $output_objdir/$libname$release.a $output_objdir/$soname'
9340
9498
      # Microsoft Visual C++.
9341
9499
      # hardcode_libdir_flag_spec is actually meaningless, as there is
9342
9500
      # no search path for DLLs.
9343
 
      hardcode_libdir_flag_spec=' '
9344
 
      allow_undefined_flag=unsupported
9345
 
      # Tell ltmain to make .lib files, not .a files.
9346
 
      libext=lib
9347
 
      # Tell ltmain to make .dll files, not .so files.
9348
 
      shrext_cmds=".dll"
9349
 
      # FIXME: Setting linknames here is a bad hack.
9350
 
      archive_cmds='$CC -o $lib $libobjs $compiler_flags `$ECHO "X$deplibs" | $Xsed -e '\''s/ -lc$//'\''` -link -dll~linknames='
9351
 
      # The linker will automatically build a .lib file if we build a DLL.
9352
 
      old_archive_from_new_cmds='true'
9353
 
      # FIXME: Should let the user specify the lib program.
9354
 
      old_archive_cmds='lib -OUT:$oldlib$oldobjs$old_deplibs'
9355
 
      fix_srcfile_path='`cygpath -w "$srcfile"`'
9356
 
      enable_shared_with_static_runtimes=yes
 
9501
      case $cc_basename in
 
9502
      cl*)
 
9503
        # Native MSVC
 
9504
        hardcode_libdir_flag_spec=' '
 
9505
        allow_undefined_flag=unsupported
 
9506
        always_export_symbols=yes
 
9507
        file_list_spec='@'
 
9508
        # Tell ltmain to make .lib files, not .a files.
 
9509
        libext=lib
 
9510
        # Tell ltmain to make .dll files, not .so files.
 
9511
        shrext_cmds=".dll"
 
9512
        # FIXME: Setting linknames here is a bad hack.
 
9513
        archive_cmds='$CC -o $output_objdir/$soname $libobjs $compiler_flags $deplibs -Wl,-dll~linknames='
 
9514
        archive_expsym_cmds='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
 
9515
            sed -n -e 's/\\\\\\\(.*\\\\\\\)/-link\\\ -EXPORT:\\\\\\\1/' -e '1\\\!p' < $export_symbols > $output_objdir/$soname.exp;
 
9516
          else
 
9517
            sed -e 's/\\\\\\\(.*\\\\\\\)/-link\\\ -EXPORT:\\\\\\\1/' < $export_symbols > $output_objdir/$soname.exp;
 
9518
          fi~
 
9519
          $CC -o $tool_output_objdir$soname $libobjs $compiler_flags $deplibs "@$tool_output_objdir$soname.exp" -Wl,-DLL,-IMPLIB:"$tool_output_objdir$libname.dll.lib"~
 
9520
          linknames='
 
9521
        # The linker will not automatically build a static lib if we build a DLL.
 
9522
        # _LT_TAGVAR(old_archive_from_new_cmds, )='true'
 
9523
        enable_shared_with_static_runtimes=yes
 
9524
        exclude_expsyms='_NULL_IMPORT_DESCRIPTOR|_IMPORT_DESCRIPTOR_.*'
 
9525
        export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1,DATA/'\'' | $SED -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols'
 
9526
        # Don't use ranlib
 
9527
        old_postinstall_cmds='chmod 644 $oldlib'
 
9528
        postlink_cmds='lt_outputfile="@OUTPUT@"~
 
9529
          lt_tool_outputfile="@TOOL_OUTPUT@"~
 
9530
          case $lt_outputfile in
 
9531
            *.exe|*.EXE) ;;
 
9532
            *)
 
9533
              lt_outputfile="$lt_outputfile.exe"
 
9534
              lt_tool_outputfile="$lt_tool_outputfile.exe"
 
9535
              ;;
 
9536
          esac~
 
9537
          if test "$MANIFEST_TOOL" != ":" && test -f "$lt_outputfile.manifest"; then
 
9538
            $MANIFEST_TOOL -manifest "$lt_tool_outputfile.manifest" -outputresource:"$lt_tool_outputfile" || exit 1;
 
9539
            $RM "$lt_outputfile.manifest";
 
9540
          fi'
 
9541
        ;;
 
9542
      *)
 
9543
        # Assume MSVC wrapper
 
9544
        hardcode_libdir_flag_spec=' '
 
9545
        allow_undefined_flag=unsupported
 
9546
        # Tell ltmain to make .lib files, not .a files.
 
9547
        libext=lib
 
9548
        # Tell ltmain to make .dll files, not .so files.
 
9549
        shrext_cmds=".dll"
 
9550
        # FIXME: Setting linknames here is a bad hack.
 
9551
        archive_cmds='$CC -o $lib $libobjs $compiler_flags `func_echo_all "$deplibs" | $SED '\''s/ -lc$//'\''` -link -dll~linknames='
 
9552
        # The linker will automatically build a .lib file if we build a DLL.
 
9553
        old_archive_from_new_cmds='true'
 
9554
        # FIXME: Should let the user specify the lib program.
 
9555
        old_archive_cmds='lib -OUT:$oldlib$oldobjs$old_deplibs'
 
9556
        enable_shared_with_static_runtimes=yes
 
9557
        ;;
 
9558
      esac
9357
9559
      ;;
9358
9560
 
9359
9561
    darwin* | rhapsody*)
9363
9565
  hardcode_direct=no
9364
9566
  hardcode_automatic=yes
9365
9567
  hardcode_shlibpath_var=unsupported
9366
 
  whole_archive_flag_spec=''
 
9568
  if test "$lt_cv_ld_force_load" = "yes"; then
 
9569
    whole_archive_flag_spec='`for conv in $convenience\"\"; do test  -n \"$conv\" && new_convenience=\"$new_convenience ${wl}-force_load,$conv\"; done; func_echo_all \"$new_convenience\"`'
 
9570
 
 
9571
  else
 
9572
    whole_archive_flag_spec=''
 
9573
  fi
9367
9574
  link_all_deplibs=yes
9368
9575
  allow_undefined_flag="$_lt_dar_allow_undefined"
9369
9576
  case $cc_basename in
9371
9578
     *) _lt_dar_can_shared=$GCC ;;
9372
9579
  esac
9373
9580
  if test "$_lt_dar_can_shared" = "yes"; then
9374
 
    output_verbose_link_cmd=echo
 
9581
    output_verbose_link_cmd=func_echo_all
9375
9582
    archive_cmds="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod${_lt_dsymutil}"
9376
9583
    module_cmds="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}"
9377
9584
    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}"
9389
9596
      hardcode_shlibpath_var=no
9390
9597
      ;;
9391
9598
 
9392
 
    freebsd1*)
9393
 
      ld_shlibs=no
9394
 
      ;;
9395
 
 
9396
9599
    # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
9397
9600
    # support.  Future versions do this automatically, but an explicit c++rt0.o
9398
9601
    # does not break anything, and helps significantly (at the cost of a little
9405
9608
      ;;
9406
9609
 
9407
9610
    # Unfortunately, older versions of FreeBSD 2 do not have this feature.
9408
 
    freebsd2*)
 
9611
    freebsd2.*)
9409
9612
      archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
9410
9613
      hardcode_direct=yes
9411
9614
      hardcode_minus_L=yes
9414
9617
 
9415
9618
    # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
9416
9619
    freebsd* | dragonfly*)
9417
 
      archive_cmds='$CC -shared -o $lib $libobjs $deplibs $compiler_flags'
 
9620
      archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
9418
9621
      hardcode_libdir_flag_spec='-R$libdir'
9419
9622
      hardcode_direct=yes
9420
9623
      hardcode_shlibpath_var=no
9422
9625
 
9423
9626
    hpux9*)
9424
9627
      if test "$GCC" = yes; then
9425
 
        archive_cmds='$RM $output_objdir/$soname~$CC -shared -fPIC ${wl}+b ${wl}$install_libdir -o $output_objdir/$soname $libobjs $deplibs $compiler_flags~test $output_objdir/$soname = $lib || mv $output_objdir/$soname $lib'
 
9628
        archive_cmds='$RM $output_objdir/$soname~$CC -shared $pic_flag ${wl}+b ${wl}$install_libdir -o $output_objdir/$soname $libobjs $deplibs $compiler_flags~test $output_objdir/$soname = $lib || mv $output_objdir/$soname $lib'
9426
9629
      else
9427
9630
        archive_cmds='$RM $output_objdir/$soname~$LD -b +b $install_libdir -o $output_objdir/$soname $libobjs $deplibs $linker_flags~test $output_objdir/$soname = $lib || mv $output_objdir/$soname $lib'
9428
9631
      fi
9437
9640
      ;;
9438
9641
 
9439
9642
    hpux10*)
9440
 
      if test "$GCC" = yes -a "$with_gnu_ld" = no; then
9441
 
        archive_cmds='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
 
9643
      if test "$GCC" = yes && test "$with_gnu_ld" = no; then
 
9644
        archive_cmds='$CC -shared $pic_flag ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
9442
9645
      else
9443
9646
        archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
9444
9647
      fi
9445
9648
      if test "$with_gnu_ld" = no; then
9446
9649
        hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
9447
 
        hardcode_libdir_flag_spec_ld='+b $libdir'
9448
9650
        hardcode_libdir_separator=:
9449
9651
        hardcode_direct=yes
9450
9652
        hardcode_direct_absolute=yes
9456
9658
      ;;
9457
9659
 
9458
9660
    hpux11*)
9459
 
      if test "$GCC" = yes -a "$with_gnu_ld" = no; then
 
9661
      if test "$GCC" = yes && test "$with_gnu_ld" = no; then
9460
9662
        case $host_cpu in
9461
9663
        hppa*64*)
9462
9664
          archive_cmds='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
9463
9665
          ;;
9464
9666
        ia64*)
9465
 
          archive_cmds='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
 
9667
          archive_cmds='$CC -shared $pic_flag ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
9466
9668
          ;;
9467
9669
        *)
9468
 
          archive_cmds='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
 
9670
          archive_cmds='$CC -shared $pic_flag ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
9469
9671
          ;;
9470
9672
        esac
9471
9673
      else
9477
9679
          archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
9478
9680
          ;;
9479
9681
        *)
9480
 
          archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
 
9682
 
 
9683
          # Older versions of the 11.00 compiler do not understand -b yet
 
9684
          # (HP92453-01 A.11.01.20 doesn't, HP92453-01 B.11.X.35175-35176.GP does)
 
9685
          { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC understands -b" >&5
 
9686
$as_echo_n "checking if $CC understands -b... " >&6; }
 
9687
if ${lt_cv_prog_compiler__b+:} false; then :
 
9688
  $as_echo_n "(cached) " >&6
 
9689
else
 
9690
  lt_cv_prog_compiler__b=no
 
9691
   save_LDFLAGS="$LDFLAGS"
 
9692
   LDFLAGS="$LDFLAGS -b"
 
9693
   echo "$lt_simple_link_test_code" > conftest.$ac_ext
 
9694
   if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
 
9695
     # The linker can only warn and ignore the option if not recognized
 
9696
     # So say no if there are warnings
 
9697
     if test -s conftest.err; then
 
9698
       # Append any errors to the config.log.
 
9699
       cat conftest.err 1>&5
 
9700
       $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
 
9701
       $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
 
9702
       if diff conftest.exp conftest.er2 >/dev/null; then
 
9703
         lt_cv_prog_compiler__b=yes
 
9704
       fi
 
9705
     else
 
9706
       lt_cv_prog_compiler__b=yes
 
9707
     fi
 
9708
   fi
 
9709
   $RM -r conftest*
 
9710
   LDFLAGS="$save_LDFLAGS"
 
9711
 
 
9712
fi
 
9713
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler__b" >&5
 
9714
$as_echo "$lt_cv_prog_compiler__b" >&6; }
 
9715
 
 
9716
if test x"$lt_cv_prog_compiler__b" = xyes; then
 
9717
    archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
 
9718
else
 
9719
    archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
 
9720
fi
 
9721
 
9481
9722
          ;;
9482
9723
        esac
9483
9724
      fi
9505
9746
 
9506
9747
    irix5* | irix6* | nonstopux*)
9507
9748
      if test "$GCC" = yes; then
9508
 
        archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && $ECHO "X${wl}-set_version ${wl}$verstring" | $Xsed` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
 
9749
        archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && func_echo_all "${wl}-set_version ${wl}$verstring"` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
9509
9750
        # Try to use the -exported_symbol ld option, if it does not
9510
9751
        # work, assume that -exports_file does not work either and
9511
9752
        # implicitly export all symbols.
9512
 
        save_LDFLAGS="$LDFLAGS"
9513
 
        LDFLAGS="$LDFLAGS -shared ${wl}-exported_symbol ${wl}foo ${wl}-update_registry ${wl}/dev/null"
9514
 
        cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 
9753
        # This should be the same for all languages, so no per-tag cache variable.
 
9754
        { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $host_os linker accepts -exported_symbol" >&5
 
9755
$as_echo_n "checking whether the $host_os linker accepts -exported_symbol... " >&6; }
 
9756
if ${lt_cv_irix_exported_symbol+:} false; then :
 
9757
  $as_echo_n "(cached) " >&6
 
9758
else
 
9759
  save_LDFLAGS="$LDFLAGS"
 
9760
           LDFLAGS="$LDFLAGS -shared ${wl}-exported_symbol ${wl}foo ${wl}-update_registry ${wl}/dev/null"
 
9761
           cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9515
9762
/* end confdefs.h.  */
9516
 
int foo(void) {}
 
9763
int foo (void) { return 0; }
9517
9764
_ACEOF
9518
9765
if ac_fn_c_try_link "$LINENO"; then :
9519
 
  archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && $ECHO "X${wl}-set_version ${wl}$verstring" | $Xsed` ${wl}-update_registry ${wl}${output_objdir}/so_locations ${wl}-exports_file ${wl}$export_symbols -o $lib'
9520
 
 
 
9766
  lt_cv_irix_exported_symbol=yes
 
9767
else
 
9768
  lt_cv_irix_exported_symbol=no
9521
9769
fi
9522
9770
rm -f core conftest.err conftest.$ac_objext \
9523
9771
    conftest$ac_exeext conftest.$ac_ext
9524
 
        LDFLAGS="$save_LDFLAGS"
 
9772
           LDFLAGS="$save_LDFLAGS"
 
9773
fi
 
9774
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_irix_exported_symbol" >&5
 
9775
$as_echo "$lt_cv_irix_exported_symbol" >&6; }
 
9776
        if test "$lt_cv_irix_exported_symbol" = yes; then
 
9777
          archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && func_echo_all "${wl}-set_version ${wl}$verstring"` ${wl}-update_registry ${wl}${output_objdir}/so_locations ${wl}-exports_file ${wl}$export_symbols -o $lib'
 
9778
        fi
9525
9779
      else
9526
 
        archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags -soname $soname `test -n "$verstring" && $ECHO "X-set_version $verstring" | $Xsed` -update_registry ${output_objdir}/so_locations -o $lib'
9527
 
        archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags -soname $soname `test -n "$verstring" && $ECHO "X-set_version $verstring" | $Xsed` -update_registry ${output_objdir}/so_locations -exports_file $export_symbols -o $lib'
 
9780
        archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags -soname $soname `test -n "$verstring" && func_echo_all "-set_version $verstring"` -update_registry ${output_objdir}/so_locations -o $lib'
 
9781
        archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags -soname $soname `test -n "$verstring" && func_echo_all "-set_version $verstring"` -update_registry ${output_objdir}/so_locations -exports_file $export_symbols -o $lib'
9528
9782
      fi
9529
9783
      archive_cmds_need_lc='no'
9530
9784
      hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9586
9840
      hardcode_libdir_flag_spec='-L$libdir'
9587
9841
      hardcode_minus_L=yes
9588
9842
      allow_undefined_flag=unsupported
9589
 
      archive_cmds='$ECHO "LIBRARY $libname INITINSTANCE" > $output_objdir/$libname.def~$ECHO "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~$ECHO DATA >> $output_objdir/$libname.def~$ECHO " SINGLE NONSHARED" >> $output_objdir/$libname.def~$ECHO EXPORTS >> $output_objdir/$libname.def~emxexp $libobjs >> $output_objdir/$libname.def~$CC -Zdll -Zcrtdll -o $lib $libobjs $deplibs $compiler_flags $output_objdir/$libname.def'
 
9843
      archive_cmds='$ECHO "LIBRARY $libname INITINSTANCE" > $output_objdir/$libname.def~$ECHO "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~echo DATA >> $output_objdir/$libname.def~echo " SINGLE NONSHARED" >> $output_objdir/$libname.def~echo EXPORTS >> $output_objdir/$libname.def~emxexp $libobjs >> $output_objdir/$libname.def~$CC -Zdll -Zcrtdll -o $lib $libobjs $deplibs $compiler_flags $output_objdir/$libname.def'
9590
9844
      old_archive_from_new_cmds='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
9591
9845
      ;;
9592
9846
 
9593
9847
    osf3*)
9594
9848
      if test "$GCC" = yes; then
9595
9849
        allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
9596
 
        archive_cmds='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && $ECHO "X${wl}-set_version ${wl}$verstring" | $Xsed` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
 
9850
        archive_cmds='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && func_echo_all "${wl}-set_version ${wl}$verstring"` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
9597
9851
      else
9598
9852
        allow_undefined_flag=' -expect_unresolved \*'
9599
 
        archive_cmds='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags -soname $soname `test -n "$verstring" && $ECHO "X-set_version $verstring" | $Xsed` -update_registry ${output_objdir}/so_locations -o $lib'
 
9853
        archive_cmds='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags -soname $soname `test -n "$verstring" && func_echo_all "-set_version $verstring"` -update_registry ${output_objdir}/so_locations -o $lib'
9600
9854
      fi
9601
9855
      archive_cmds_need_lc='no'
9602
9856
      hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9606
9860
    osf4* | osf5*)      # as osf3* with the addition of -msym flag
9607
9861
      if test "$GCC" = yes; then
9608
9862
        allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
9609
 
        archive_cmds='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags ${wl}-msym ${wl}-soname ${wl}$soname `test -n "$verstring" && $ECHO "X${wl}-set_version ${wl}$verstring" | $Xsed` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
 
9863
        archive_cmds='$CC -shared${allow_undefined_flag} $pic_flag $libobjs $deplibs $compiler_flags ${wl}-msym ${wl}-soname ${wl}$soname `test -n "$verstring" && func_echo_all "${wl}-set_version ${wl}$verstring"` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
9610
9864
        hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9611
9865
      else
9612
9866
        allow_undefined_flag=' -expect_unresolved \*'
9613
 
        archive_cmds='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags -msym -soname $soname `test -n "$verstring" && $ECHO "X-set_version $verstring" | $Xsed` -update_registry ${output_objdir}/so_locations -o $lib'
 
9867
        archive_cmds='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags -msym -soname $soname `test -n "$verstring" && func_echo_all "-set_version $verstring"` -update_registry ${output_objdir}/so_locations -o $lib'
9614
9868
        archive_expsym_cmds='for i in `cat $export_symbols`; do printf "%s %s\\n" -exported_symbol "\$i" >> $lib.exp; done; printf "%s\\n" "-hidden">> $lib.exp~
9615
 
        $CC -shared${allow_undefined_flag} ${wl}-input ${wl}$lib.exp $compiler_flags $libobjs $deplibs -soname $soname `test -n "$verstring" && $ECHO "X-set_version $verstring" | $Xsed` -update_registry ${output_objdir}/so_locations -o $lib~$RM $lib.exp'
 
9869
        $CC -shared${allow_undefined_flag} ${wl}-input ${wl}$lib.exp $compiler_flags $libobjs $deplibs -soname $soname `test -n "$verstring" && $ECHO "-set_version $verstring"` -update_registry ${output_objdir}/so_locations -o $lib~$RM $lib.exp'
9616
9870
 
9617
9871
        # Both c and cxx compiler support -rpath directly
9618
9872
        hardcode_libdir_flag_spec='-rpath $libdir'
9625
9879
      no_undefined_flag=' -z defs'
9626
9880
      if test "$GCC" = yes; then
9627
9881
        wlarc='${wl}'
9628
 
        archive_cmds='$CC -shared ${wl}-z ${wl}text ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
 
9882
        archive_cmds='$CC -shared $pic_flag ${wl}-z ${wl}text ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
9629
9883
        archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
9630
 
          $CC -shared ${wl}-z ${wl}text ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
 
9884
          $CC -shared $pic_flag ${wl}-z ${wl}text ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
9631
9885
      else
9632
9886
        case `$CC -V 2>&1` in
9633
9887
        *"Compilers 5.0"*)
9815
10069
      # to ld, don't add -lc before -lgcc.
9816
10070
      { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5
9817
10071
$as_echo_n "checking whether -lc should be explicitly linked in... " >&6; }
9818
 
      $RM conftest*
9819
 
      echo "$lt_simple_compile_test_code" > conftest.$ac_ext
 
10072
if ${lt_cv_archive_cmds_need_lc+:} false; then :
 
10073
  $as_echo_n "(cached) " >&6
 
10074
else
 
10075
  $RM conftest*
 
10076
        echo "$lt_simple_compile_test_code" > conftest.$ac_ext
9820
10077
 
9821
 
      if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
 
10078
        if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
9822
10079
  (eval $ac_compile) 2>&5
9823
10080
  ac_status=$?
9824
10081
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
9825
10082
  test $ac_status = 0; } 2>conftest.err; then
9826
 
        soname=conftest
9827
 
        lib=conftest
9828
 
        libobjs=conftest.$ac_objext
9829
 
        deplibs=
9830
 
        wl=$lt_prog_compiler_wl
9831
 
        pic_flag=$lt_prog_compiler_pic
9832
 
        compiler_flags=-v
9833
 
        linker_flags=-v
9834
 
        verstring=
9835
 
        output_objdir=.
9836
 
        libname=conftest
9837
 
        lt_save_allow_undefined_flag=$allow_undefined_flag
9838
 
        allow_undefined_flag=
9839
 
        if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5
 
10083
          soname=conftest
 
10084
          lib=conftest
 
10085
          libobjs=conftest.$ac_objext
 
10086
          deplibs=
 
10087
          wl=$lt_prog_compiler_wl
 
10088
          pic_flag=$lt_prog_compiler_pic
 
10089
          compiler_flags=-v
 
10090
          linker_flags=-v
 
10091
          verstring=
 
10092
          output_objdir=.
 
10093
          libname=conftest
 
10094
          lt_save_allow_undefined_flag=$allow_undefined_flag
 
10095
          allow_undefined_flag=
 
10096
          if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5
9840
10097
  (eval $archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1) 2>&5
9841
10098
  ac_status=$?
9842
10099
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
9843
10100
  test $ac_status = 0; }
9844
 
        then
9845
 
          archive_cmds_need_lc=no
9846
 
        else
9847
 
          archive_cmds_need_lc=yes
9848
 
        fi
9849
 
        allow_undefined_flag=$lt_save_allow_undefined_flag
9850
 
      else
9851
 
        cat conftest.err 1>&5
9852
 
      fi
9853
 
      $RM conftest*
9854
 
      { $as_echo "$as_me:${as_lineno-$LINENO}: result: $archive_cmds_need_lc" >&5
9855
 
$as_echo "$archive_cmds_need_lc" >&6; }
 
10101
          then
 
10102
            lt_cv_archive_cmds_need_lc=no
 
10103
          else
 
10104
            lt_cv_archive_cmds_need_lc=yes
 
10105
          fi
 
10106
          allow_undefined_flag=$lt_save_allow_undefined_flag
 
10107
        else
 
10108
          cat conftest.err 1>&5
 
10109
        fi
 
10110
        $RM conftest*
 
10111
 
 
10112
fi
 
10113
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_archive_cmds_need_lc" >&5
 
10114
$as_echo "$lt_cv_archive_cmds_need_lc" >&6; }
 
10115
      archive_cmds_need_lc=$lt_cv_archive_cmds_need_lc
9856
10116
      ;;
9857
10117
    esac
9858
10118
  fi
10010
10270
 
10011
10271
 
10012
10272
 
10013
 
 
10014
 
 
10015
 
 
10016
 
 
10017
 
 
10018
10273
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking dynamic linker characteristics" >&5
10019
10274
$as_echo_n "checking dynamic linker characteristics... " >&6; }
10020
10275
 
10023
10278
    darwin*) lt_awk_arg="/^libraries:/,/LR/" ;;
10024
10279
    *) lt_awk_arg="/^libraries:/" ;;
10025
10280
  esac
10026
 
  lt_search_path_spec=`$CC -print-search-dirs | awk $lt_awk_arg | $SED -e "s/^libraries://" -e "s,=/,/,g"`
10027
 
  if $ECHO "$lt_search_path_spec" | $GREP ';' >/dev/null ; then
 
10281
  case $host_os in
 
10282
    mingw* | cegcc*) lt_sed_strip_eq="s,=\([A-Za-z]:\),\1,g" ;;
 
10283
    *) lt_sed_strip_eq="s,=/,/,g" ;;
 
10284
  esac
 
10285
  lt_search_path_spec=`$CC -print-search-dirs | awk $lt_awk_arg | $SED -e "s/^libraries://" -e $lt_sed_strip_eq`
 
10286
  case $lt_search_path_spec in
 
10287
  *\;*)
10028
10288
    # if the path contains ";" then we assume it to be the separator
10029
10289
    # otherwise default to the standard path separator (i.e. ":") - it is
10030
10290
    # assumed that no part of a normal pathname contains ";" but that should
10031
10291
    # okay in the real world where ";" in dirpaths is itself problematic.
10032
 
    lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED -e 's/;/ /g'`
10033
 
  else
10034
 
    lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED  -e "s/$PATH_SEPARATOR/ /g"`
10035
 
  fi
 
10292
    lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED 's/;/ /g'`
 
10293
    ;;
 
10294
  *)
 
10295
    lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED "s/$PATH_SEPARATOR/ /g"`
 
10296
    ;;
 
10297
  esac
10036
10298
  # Ok, now we have the path, separated by spaces, we can step through it
10037
10299
  # and add multilib dir if necessary.
10038
10300
  lt_tmp_lt_search_path_spec=
10045
10307
        lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path"
10046
10308
    fi
10047
10309
  done
10048
 
  lt_search_path_spec=`$ECHO $lt_tmp_lt_search_path_spec | awk '
 
10310
  lt_search_path_spec=`$ECHO "$lt_tmp_lt_search_path_spec" | awk '
10049
10311
BEGIN {RS=" "; FS="/|\n";} {
10050
10312
  lt_foo="";
10051
10313
  lt_count=0;
10065
10327
  if (lt_foo != "") { lt_freq[lt_foo]++; }
10066
10328
  if (lt_freq[lt_foo] == 1) { print lt_foo; }
10067
10329
}'`
10068
 
  sys_lib_search_path_spec=`$ECHO $lt_search_path_spec`
 
10330
  # AWK program above erroneously prepends '/' to C:/dos/paths
 
10331
  # for these hosts.
 
10332
  case $host_os in
 
10333
    mingw* | cegcc*) lt_search_path_spec=`$ECHO "$lt_search_path_spec" |\
 
10334
      $SED 's,/\([A-Za-z]:\),\1,g'` ;;
 
10335
  esac
 
10336
  sys_lib_search_path_spec=`$ECHO "$lt_search_path_spec" | $lt_NL2SP`
10069
10337
else
10070
10338
  sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"
10071
10339
fi
10091
10359
 
10092
10360
case $host_os in
10093
10361
aix3*)
10094
 
  version_type=linux
 
10362
  version_type=linux # correct to gnu/linux during the next big refactor
10095
10363
  library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a'
10096
10364
  shlibpath_var=LIBPATH
10097
10365
 
10100
10368
  ;;
10101
10369
 
10102
10370
aix[4-9]*)
10103
 
  version_type=linux
 
10371
  version_type=linux # correct to gnu/linux during the next big refactor
10104
10372
  need_lib_prefix=no
10105
10373
  need_version=no
10106
10374
  hardcode_into_libs=yes
10153
10421
  m68k)
10154
10422
    library_names_spec='$libname.ixlibrary $libname.a'
10155
10423
    # Create ${libname}_ixlibrary.a entries in /sys/libs.
10156
 
    finish_eval='for lib in `ls $libdir/*.ixlibrary 2>/dev/null`; do libname=`$ECHO "X$lib" | $Xsed -e '\''s%^.*/\([^/]*\)\.ixlibrary$%\1%'\''`; test $RM /sys/libs/${libname}_ixlibrary.a; $show "cd /sys/libs && $LN_S $lib ${libname}_ixlibrary.a"; cd /sys/libs && $LN_S $lib ${libname}_ixlibrary.a || exit 1; done'
 
10424
    finish_eval='for lib in `ls $libdir/*.ixlibrary 2>/dev/null`; do libname=`func_echo_all "$lib" | $SED '\''s%^.*/\([^/]*\)\.ixlibrary$%\1%'\''`; test $RM /sys/libs/${libname}_ixlibrary.a; $show "cd /sys/libs && $LN_S $lib ${libname}_ixlibrary.a"; cd /sys/libs && $LN_S $lib ${libname}_ixlibrary.a || exit 1; done'
10157
10425
    ;;
10158
10426
  esac
10159
10427
  ;;
10165
10433
  ;;
10166
10434
 
10167
10435
bsdi[45]*)
10168
 
  version_type=linux
 
10436
  version_type=linux # correct to gnu/linux during the next big refactor
10169
10437
  need_version=no
10170
10438
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10171
10439
  soname_spec='${libname}${release}${shared_ext}$major'
10184
10452
  need_version=no
10185
10453
  need_lib_prefix=no
10186
10454
 
10187
 
  case $GCC,$host_os in
10188
 
  yes,cygwin* | yes,mingw* | yes,pw32* | yes,cegcc*)
 
10455
  case $GCC,$cc_basename in
 
10456
  yes,*)
 
10457
    # gcc
10189
10458
    library_names_spec='$libname.dll.a'
10190
10459
    # DLL is installed to $(libdir)/../bin by postinstall_cmds
10191
10460
    postinstall_cmds='base_file=`basename \${file}`~
10206
10475
    cygwin*)
10207
10476
      # Cygwin DLLs use 'cyg' prefix rather than 'lib'
10208
10477
      soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
10209
 
      sys_lib_search_path_spec="/usr/lib /lib/w32api /lib /usr/local/lib"
 
10478
 
 
10479
      sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/lib/w32api"
10210
10480
      ;;
10211
10481
    mingw* | cegcc*)
10212
10482
      # MinGW DLLs use traditional 'lib' prefix
10213
10483
      soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
10214
 
      sys_lib_search_path_spec=`$CC -print-search-dirs | $GREP "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
10215
 
      if $ECHO "$sys_lib_search_path_spec" | $GREP ';[c-zC-Z]:/' >/dev/null; then
10216
 
        # It is most probably a Windows format PATH printed by
10217
 
        # mingw gcc, but we are running on Cygwin. Gcc prints its search
10218
 
        # path with ; separators, and with drive letters. We can handle the
10219
 
        # drive letters (cygwin fileutils understands them), so leave them,
10220
 
        # especially as we might pass files found there to a mingw objdump,
10221
 
        # which wouldn't understand a cygwinified path. Ahh.
10222
 
        sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
10223
 
      else
10224
 
        sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED  -e "s/$PATH_SEPARATOR/ /g"`
10225
 
      fi
10226
10484
      ;;
10227
10485
    pw32*)
10228
10486
      # pw32 DLLs use 'pw' prefix rather than 'lib'
10229
10487
      library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
10230
10488
      ;;
10231
10489
    esac
 
10490
    dynamic_linker='Win32 ld.exe'
 
10491
    ;;
 
10492
 
 
10493
  *,cl*)
 
10494
    # Native MSVC
 
10495
    libname_spec='$name'
 
10496
    soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
 
10497
    library_names_spec='${libname}.dll.lib'
 
10498
 
 
10499
    case $build_os in
 
10500
    mingw*)
 
10501
      sys_lib_search_path_spec=
 
10502
      lt_save_ifs=$IFS
 
10503
      IFS=';'
 
10504
      for lt_path in $LIB
 
10505
      do
 
10506
        IFS=$lt_save_ifs
 
10507
        # Let DOS variable expansion print the short 8.3 style file name.
 
10508
        lt_path=`cd "$lt_path" 2>/dev/null && cmd //C "for %i in (".") do @echo %~si"`
 
10509
        sys_lib_search_path_spec="$sys_lib_search_path_spec $lt_path"
 
10510
      done
 
10511
      IFS=$lt_save_ifs
 
10512
      # Convert to MSYS style.
 
10513
      sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | sed -e 's|\\\\|/|g' -e 's| \\([a-zA-Z]\\):| /\\1|g' -e 's|^ ||'`
 
10514
      ;;
 
10515
    cygwin*)
 
10516
      # Convert to unix form, then to dos form, then back to unix form
 
10517
      # but this time dos style (no spaces!) so that the unix form looks
 
10518
      # like /cygdrive/c/PROGRA~1:/cygdr...
 
10519
      sys_lib_search_path_spec=`cygpath --path --unix "$LIB"`
 
10520
      sys_lib_search_path_spec=`cygpath --path --dos "$sys_lib_search_path_spec" 2>/dev/null`
 
10521
      sys_lib_search_path_spec=`cygpath --path --unix "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
 
10522
      ;;
 
10523
    *)
 
10524
      sys_lib_search_path_spec="$LIB"
 
10525
      if $ECHO "$sys_lib_search_path_spec" | $GREP ';[c-zC-Z]:/' >/dev/null; then
 
10526
        # It is most probably a Windows format PATH.
 
10527
        sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
 
10528
      else
 
10529
        sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
 
10530
      fi
 
10531
      # FIXME: find the short name or the path components, as spaces are
 
10532
      # common. (e.g. "Program Files" -> "PROGRA~1")
 
10533
      ;;
 
10534
    esac
 
10535
 
 
10536
    # DLL is installed to $(libdir)/../bin by postinstall_cmds
 
10537
    postinstall_cmds='base_file=`basename \${file}`~
 
10538
      dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
 
10539
      dldir=$destdir/`dirname \$dlpath`~
 
10540
      test -d \$dldir || mkdir -p \$dldir~
 
10541
      $install_prog $dir/$dlname \$dldir/$dlname'
 
10542
    postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
 
10543
      dlpath=$dir/\$dldll~
 
10544
       $RM \$dlpath'
 
10545
    shlibpath_overrides_runpath=yes
 
10546
    dynamic_linker='Win32 link.exe'
10232
10547
    ;;
10233
10548
 
10234
10549
  *)
 
10550
    # Assume MSVC wrapper
10235
10551
    library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
 
10552
    dynamic_linker='Win32 ld.exe'
10236
10553
    ;;
10237
10554
  esac
10238
 
  dynamic_linker='Win32 ld.exe'
10239
10555
  # FIXME: first we should search . and the directory the executable is in
10240
10556
  shlibpath_var=PATH
10241
10557
  ;;
10256
10572
  ;;
10257
10573
 
10258
10574
dgux*)
10259
 
  version_type=linux
 
10575
  version_type=linux # correct to gnu/linux during the next big refactor
10260
10576
  need_lib_prefix=no
10261
10577
  need_version=no
10262
10578
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
10264
10580
  shlibpath_var=LD_LIBRARY_PATH
10265
10581
  ;;
10266
10582
 
10267
 
freebsd1*)
10268
 
  dynamic_linker=no
10269
 
  ;;
10270
 
 
10271
10583
freebsd* | dragonfly*)
10272
10584
  # DragonFly does not have aout.  When/if they implement a new
10273
10585
  # versioning mechanism, adjust this.
10275
10587
    objformat=`/usr/bin/objformat`
10276
10588
  else
10277
10589
    case $host_os in
10278
 
    freebsd[123]*) objformat=aout ;;
 
10590
    freebsd[23].*) objformat=aout ;;
10279
10591
    *) objformat=elf ;;
10280
10592
    esac
10281
10593
  fi
10293
10605
  esac
10294
10606
  shlibpath_var=LD_LIBRARY_PATH
10295
10607
  case $host_os in
10296
 
  freebsd2*)
 
10608
  freebsd2.*)
10297
10609
    shlibpath_overrides_runpath=yes
10298
10610
    ;;
10299
10611
  freebsd3.[01]* | freebsdelf3.[01]*)
10313
10625
  ;;
10314
10626
 
10315
10627
gnu*)
10316
 
  version_type=linux
 
10628
  version_type=linux # correct to gnu/linux during the next big refactor
10317
10629
  need_lib_prefix=no
10318
10630
  need_version=no
10319
10631
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
10320
10632
  soname_spec='${libname}${release}${shared_ext}$major'
10321
10633
  shlibpath_var=LD_LIBRARY_PATH
 
10634
  shlibpath_overrides_runpath=no
 
10635
  hardcode_into_libs=yes
 
10636
  ;;
 
10637
 
 
10638
haiku*)
 
10639
  version_type=linux # correct to gnu/linux during the next big refactor
 
10640
  need_lib_prefix=no
 
10641
  need_version=no
 
10642
  dynamic_linker="$host_os runtime_loader"
 
10643
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
 
10644
  soname_spec='${libname}${release}${shared_ext}$major'
 
10645
  shlibpath_var=LIBRARY_PATH
 
10646
  shlibpath_overrides_runpath=yes
 
10647
  sys_lib_dlsearch_path_spec='/boot/home/config/lib /boot/common/lib /boot/system/lib'
10322
10648
  hardcode_into_libs=yes
10323
10649
  ;;
10324
10650
 
10364
10690
    soname_spec='${libname}${release}${shared_ext}$major'
10365
10691
    ;;
10366
10692
  esac
10367
 
  # HP-UX runs *really* slowly unless shared libraries are mode 555.
 
10693
  # HP-UX runs *really* slowly unless shared libraries are mode 555, ...
10368
10694
  postinstall_cmds='chmod 555 $lib'
 
10695
  # or fails outright, so override atomically:
 
10696
  install_override_mode=555
10369
10697
  ;;
10370
10698
 
10371
10699
interix[3-9]*)
10372
 
  version_type=linux
 
10700
  version_type=linux # correct to gnu/linux during the next big refactor
10373
10701
  need_lib_prefix=no
10374
10702
  need_version=no
10375
10703
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
10385
10713
    nonstopux*) version_type=nonstopux ;;
10386
10714
    *)
10387
10715
        if test "$lt_cv_prog_gnu_ld" = yes; then
10388
 
                version_type=linux
 
10716
                version_type=linux # correct to gnu/linux during the next big refactor
10389
10717
        else
10390
10718
                version_type=irix
10391
10719
        fi ;;
10422
10750
  dynamic_linker=no
10423
10751
  ;;
10424
10752
 
10425
 
# This must be Linux ELF.
10426
 
linux* | k*bsd*-gnu)
10427
 
  version_type=linux
 
10753
# This must be glibc/ELF.
 
10754
linux* | k*bsd*-gnu | kopensolaris*-gnu)
 
10755
  version_type=linux # correct to gnu/linux during the next big refactor
10428
10756
  need_lib_prefix=no
10429
10757
  need_version=no
10430
10758
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10432
10760
  finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
10433
10761
  shlibpath_var=LD_LIBRARY_PATH
10434
10762
  shlibpath_overrides_runpath=no
 
10763
 
10435
10764
  # Some binutils ld are patched to set DT_RUNPATH
10436
 
  save_LDFLAGS=$LDFLAGS
10437
 
  save_libdir=$libdir
10438
 
  eval "libdir=/foo; wl=\"$lt_prog_compiler_wl\"; \
10439
 
       LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec\""
10440
 
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 
10765
  if ${lt_cv_shlibpath_overrides_runpath+:} false; then :
 
10766
  $as_echo_n "(cached) " >&6
 
10767
else
 
10768
  lt_cv_shlibpath_overrides_runpath=no
 
10769
    save_LDFLAGS=$LDFLAGS
 
10770
    save_libdir=$libdir
 
10771
    eval "libdir=/foo; wl=\"$lt_prog_compiler_wl\"; \
 
10772
         LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec\""
 
10773
    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10441
10774
/* end confdefs.h.  */
10442
10775
 
10443
10776
int
10450
10783
_ACEOF
10451
10784
if ac_fn_c_try_link "$LINENO"; then :
10452
10785
  if  ($OBJDUMP -p conftest$ac_exeext) 2>/dev/null | grep "RUNPATH.*$libdir" >/dev/null; then :
10453
 
  shlibpath_overrides_runpath=yes
 
10786
  lt_cv_shlibpath_overrides_runpath=yes
10454
10787
fi
10455
10788
fi
10456
10789
rm -f core conftest.err conftest.$ac_objext \
10457
10790
    conftest$ac_exeext conftest.$ac_ext
10458
 
  LDFLAGS=$save_LDFLAGS
10459
 
  libdir=$save_libdir
 
10791
    LDFLAGS=$save_LDFLAGS
 
10792
    libdir=$save_libdir
 
10793
 
 
10794
fi
 
10795
 
 
10796
  shlibpath_overrides_runpath=$lt_cv_shlibpath_overrides_runpath
10460
10797
 
10461
10798
  # This implies no fast_install, which is unacceptable.
10462
10799
  # Some rework will be needed to allow for fast_install
10465
10802
 
10466
10803
  # Append ld.so.conf contents to the search path
10467
10804
  if test -f /etc/ld.so.conf; then
10468
 
    lt_ld_extra=`awk '/^include / { system(sprintf("cd /etc; cat %s 2>/dev/null", \$2)); skip = 1; } { if (!skip) print \$0; skip = 0; }' < /etc/ld.so.conf | $SED -e 's/#.*//;/^[       ]*hwcap[        ]/d;s/[:,      ]/ /g;s/=[^=]*$//;s/=[^= ]* / /g;/^$/d' | tr '\n' ' '`
 
10805
    lt_ld_extra=`awk '/^include / { system(sprintf("cd /etc; cat %s 2>/dev/null", \$2)); skip = 1; } { if (!skip) print \$0; skip = 0; }' < /etc/ld.so.conf | $SED -e 's/#.*//;/^[       ]*hwcap[        ]/d;s/[:,      ]/ /g;s/=[^=]*$//;s/=[^= ]* / /g;s/"//g;/^$/d' | tr '\n' ' '`
10469
10806
    sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra"
10470
10807
  fi
10471
10808
 
10509
10846
  ;;
10510
10847
 
10511
10848
newsos6)
10512
 
  version_type=linux
 
10849
  version_type=linux # correct to gnu/linux during the next big refactor
10513
10850
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10514
10851
  shlibpath_var=LD_LIBRARY_PATH
10515
10852
  shlibpath_overrides_runpath=yes
10578
10915
  ;;
10579
10916
 
10580
10917
solaris*)
10581
 
  version_type=linux
 
10918
  version_type=linux # correct to gnu/linux during the next big refactor
10582
10919
  need_lib_prefix=no
10583
10920
  need_version=no
10584
10921
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10603
10940
  ;;
10604
10941
 
10605
10942
sysv4 | sysv4.3*)
10606
 
  version_type=linux
 
10943
  version_type=linux # correct to gnu/linux during the next big refactor
10607
10944
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10608
10945
  soname_spec='${libname}${release}${shared_ext}$major'
10609
10946
  shlibpath_var=LD_LIBRARY_PATH
10627
10964
 
10628
10965
sysv4*MP*)
10629
10966
  if test -d /usr/nec ;then
10630
 
    version_type=linux
 
10967
    version_type=linux # correct to gnu/linux during the next big refactor
10631
10968
    library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
10632
10969
    soname_spec='$libname${shared_ext}.$major'
10633
10970
    shlibpath_var=LD_LIBRARY_PATH
10658
10995
 
10659
10996
tpf*)
10660
10997
  # TPF is a cross-target only.  Preferred cross-host = GNU/Linux.
10661
 
  version_type=linux
 
10998
  version_type=linux # correct to gnu/linux during the next big refactor
10662
10999
  need_lib_prefix=no
10663
11000
  need_version=no
10664
11001
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10668
11005
  ;;
10669
11006
 
10670
11007
uts4*)
10671
 
  version_type=linux
 
11008
  version_type=linux # correct to gnu/linux during the next big refactor
10672
11009
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10673
11010
  soname_spec='${libname}${release}${shared_ext}$major'
10674
11011
  shlibpath_var=LD_LIBRARY_PATH
10780
11117
 
10781
11118
 
10782
11119
 
 
11120
 
 
11121
 
 
11122
 
 
11123
 
 
11124
 
10783
11125
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to hardcode library paths into programs" >&5
10784
11126
$as_echo_n "checking how to hardcode library paths into programs... " >&6; }
10785
11127
hardcode_action=
10852
11194
  # if libdl is installed we need to link against it
10853
11195
    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
10854
11196
$as_echo_n "checking for dlopen in -ldl... " >&6; }
10855
 
if test "${ac_cv_lib_dl_dlopen+set}" = set; then :
 
11197
if ${ac_cv_lib_dl_dlopen+:} false; then :
10856
11198
  $as_echo_n "(cached) " >&6
10857
11199
else
10858
11200
  ac_check_lib_save_LIBS=$LIBS
10886
11228
fi
10887
11229
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
10888
11230
$as_echo "$ac_cv_lib_dl_dlopen" >&6; }
10889
 
if test "x$ac_cv_lib_dl_dlopen" = x""yes; then :
 
11231
if test "x$ac_cv_lib_dl_dlopen" = xyes; then :
10890
11232
  lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
10891
11233
else
10892
11234
 
10900
11242
 
10901
11243
  *)
10902
11244
    ac_fn_c_check_func "$LINENO" "shl_load" "ac_cv_func_shl_load"
10903
 
if test "x$ac_cv_func_shl_load" = x""yes; then :
 
11245
if test "x$ac_cv_func_shl_load" = xyes; then :
10904
11246
  lt_cv_dlopen="shl_load"
10905
11247
else
10906
11248
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shl_load in -ldld" >&5
10907
11249
$as_echo_n "checking for shl_load in -ldld... " >&6; }
10908
 
if test "${ac_cv_lib_dld_shl_load+set}" = set; then :
 
11250
if ${ac_cv_lib_dld_shl_load+:} false; then :
10909
11251
  $as_echo_n "(cached) " >&6
10910
11252
else
10911
11253
  ac_check_lib_save_LIBS=$LIBS
10939
11281
fi
10940
11282
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_shl_load" >&5
10941
11283
$as_echo "$ac_cv_lib_dld_shl_load" >&6; }
10942
 
if test "x$ac_cv_lib_dld_shl_load" = x""yes; then :
 
11284
if test "x$ac_cv_lib_dld_shl_load" = xyes; then :
10943
11285
  lt_cv_dlopen="shl_load" lt_cv_dlopen_libs="-ldld"
10944
11286
else
10945
11287
  ac_fn_c_check_func "$LINENO" "dlopen" "ac_cv_func_dlopen"
10946
 
if test "x$ac_cv_func_dlopen" = x""yes; then :
 
11288
if test "x$ac_cv_func_dlopen" = xyes; then :
10947
11289
  lt_cv_dlopen="dlopen"
10948
11290
else
10949
11291
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
10950
11292
$as_echo_n "checking for dlopen in -ldl... " >&6; }
10951
 
if test "${ac_cv_lib_dl_dlopen+set}" = set; then :
 
11293
if ${ac_cv_lib_dl_dlopen+:} false; then :
10952
11294
  $as_echo_n "(cached) " >&6
10953
11295
else
10954
11296
  ac_check_lib_save_LIBS=$LIBS
10982
11324
fi
10983
11325
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
10984
11326
$as_echo "$ac_cv_lib_dl_dlopen" >&6; }
10985
 
if test "x$ac_cv_lib_dl_dlopen" = x""yes; then :
 
11327
if test "x$ac_cv_lib_dl_dlopen" = xyes; then :
10986
11328
  lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
10987
11329
else
10988
11330
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -lsvld" >&5
10989
11331
$as_echo_n "checking for dlopen in -lsvld... " >&6; }
10990
 
if test "${ac_cv_lib_svld_dlopen+set}" = set; then :
 
11332
if ${ac_cv_lib_svld_dlopen+:} false; then :
10991
11333
  $as_echo_n "(cached) " >&6
10992
11334
else
10993
11335
  ac_check_lib_save_LIBS=$LIBS
11021
11363
fi
11022
11364
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_svld_dlopen" >&5
11023
11365
$as_echo "$ac_cv_lib_svld_dlopen" >&6; }
11024
 
if test "x$ac_cv_lib_svld_dlopen" = x""yes; then :
 
11366
if test "x$ac_cv_lib_svld_dlopen" = xyes; then :
11025
11367
  lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-lsvld"
11026
11368
else
11027
11369
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dld_link in -ldld" >&5
11028
11370
$as_echo_n "checking for dld_link in -ldld... " >&6; }
11029
 
if test "${ac_cv_lib_dld_dld_link+set}" = set; then :
 
11371
if ${ac_cv_lib_dld_dld_link+:} false; then :
11030
11372
  $as_echo_n "(cached) " >&6
11031
11373
else
11032
11374
  ac_check_lib_save_LIBS=$LIBS
11060
11402
fi
11061
11403
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_dld_link" >&5
11062
11404
$as_echo "$ac_cv_lib_dld_dld_link" >&6; }
11063
 
if test "x$ac_cv_lib_dld_dld_link" = x""yes; then :
 
11405
if test "x$ac_cv_lib_dld_dld_link" = xyes; then :
11064
11406
  lt_cv_dlopen="dld_link" lt_cv_dlopen_libs="-ldld"
11065
11407
fi
11066
11408
 
11101
11443
 
11102
11444
    { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a program can dlopen itself" >&5
11103
11445
$as_echo_n "checking whether a program can dlopen itself... " >&6; }
11104
 
if test "${lt_cv_dlopen_self+set}" = set; then :
 
11446
if ${lt_cv_dlopen_self+:} false; then :
11105
11447
  $as_echo_n "(cached) " >&6
11106
11448
else
11107
11449
          if test "$cross_compiling" = yes; then :
11110
11452
  lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
11111
11453
  lt_status=$lt_dlunknown
11112
11454
  cat > conftest.$ac_ext <<_LT_EOF
11113
 
#line 11113 "configure"
 
11455
#line $LINENO "configure"
11114
11456
#include "confdefs.h"
11115
11457
 
11116
11458
#if HAVE_DLFCN_H
11151
11493
#  endif
11152
11494
#endif
11153
11495
 
11154
 
void fnord() { int i=42;}
 
11496
/* When -fvisbility=hidden is used, assume the code has been annotated
 
11497
   correspondingly for the symbols needed.  */
 
11498
#if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
 
11499
int fnord () __attribute__((visibility("default")));
 
11500
#endif
 
11501
 
 
11502
int fnord () { return 42; }
11155
11503
int main ()
11156
11504
{
11157
11505
  void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
11160
11508
  if (self)
11161
11509
    {
11162
11510
      if (dlsym (self,"fnord"))       status = $lt_dlno_uscore;
11163
 
      else if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
 
11511
      else
 
11512
        {
 
11513
          if (dlsym( self,"_fnord"))  status = $lt_dlneed_uscore;
 
11514
          else puts (dlerror ());
 
11515
        }
11164
11516
      /* dlclose (self); */
11165
11517
    }
11166
11518
  else
11197
11549
      wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $lt_prog_compiler_static\"
11198
11550
      { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a statically linked program can dlopen itself" >&5
11199
11551
$as_echo_n "checking whether a statically linked program can dlopen itself... " >&6; }
11200
 
if test "${lt_cv_dlopen_self_static+set}" = set; then :
 
11552
if ${lt_cv_dlopen_self_static+:} false; then :
11201
11553
  $as_echo_n "(cached) " >&6
11202
11554
else
11203
11555
          if test "$cross_compiling" = yes; then :
11206
11558
  lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
11207
11559
  lt_status=$lt_dlunknown
11208
11560
  cat > conftest.$ac_ext <<_LT_EOF
11209
 
#line 11209 "configure"
 
11561
#line $LINENO "configure"
11210
11562
#include "confdefs.h"
11211
11563
 
11212
11564
#if HAVE_DLFCN_H
11247
11599
#  endif
11248
11600
#endif
11249
11601
 
11250
 
void fnord() { int i=42;}
 
11602
/* When -fvisbility=hidden is used, assume the code has been annotated
 
11603
   correspondingly for the symbols needed.  */
 
11604
#if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
 
11605
int fnord () __attribute__((visibility("default")));
 
11606
#endif
 
11607
 
 
11608
int fnord () { return 42; }
11251
11609
int main ()
11252
11610
{
11253
11611
  void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
11256
11614
  if (self)
11257
11615
    {
11258
11616
      if (dlsym (self,"fnord"))       status = $lt_dlno_uscore;
11259
 
      else if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
 
11617
      else
 
11618
        {
 
11619
          if (dlsym( self,"_fnord"))  status = $lt_dlneed_uscore;
 
11620
          else puts (dlerror ());
 
11621
        }
11260
11622
      /* dlclose (self); */
11261
11623
    }
11262
11624
  else
11413
11775
 
11414
11776
CC="$lt_save_CC"
11415
11777
 
 
11778
      if test -n "$CXX" && ( test "X$CXX" != "Xno" &&
 
11779
    ( (test "X$CXX" = "Xg++" && `g++ -v >/dev/null 2>&1` ) ||
 
11780
    (test "X$CXX" != "Xg++"))) ; then
 
11781
  ac_ext=cpp
 
11782
ac_cpp='$CXXCPP $CPPFLAGS'
 
11783
ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
 
11784
ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
 
11785
ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
 
11786
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C++ preprocessor" >&5
 
11787
$as_echo_n "checking how to run the C++ preprocessor... " >&6; }
 
11788
if test -z "$CXXCPP"; then
 
11789
  if ${ac_cv_prog_CXXCPP+:} false; then :
 
11790
  $as_echo_n "(cached) " >&6
 
11791
else
 
11792
      # Double quotes because CXXCPP needs to be expanded
 
11793
    for CXXCPP in "$CXX -E" "/lib/cpp"
 
11794
    do
 
11795
      ac_preproc_ok=false
 
11796
for ac_cxx_preproc_warn_flag in '' yes
 
11797
do
 
11798
  # Use a header file that comes with gcc, so configuring glibc
 
11799
  # with a fresh cross-compiler works.
 
11800
  # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
 
11801
  # <limits.h> exists even on freestanding compilers.
 
11802
  # On the NeXT, cc -E runs the code through the compiler's parser,
 
11803
  # not just through cpp. "Syntax error" is here to catch this case.
 
11804
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 
11805
/* end confdefs.h.  */
 
11806
#ifdef __STDC__
 
11807
# include <limits.h>
 
11808
#else
 
11809
# include <assert.h>
 
11810
#endif
 
11811
                     Syntax error
 
11812
_ACEOF
 
11813
if ac_fn_cxx_try_cpp "$LINENO"; then :
 
11814
 
 
11815
else
 
11816
  # Broken: fails on valid input.
 
11817
continue
 
11818
fi
 
11819
rm -f conftest.err conftest.i conftest.$ac_ext
 
11820
 
 
11821
  # OK, works on sane cases.  Now check whether nonexistent headers
 
11822
  # can be detected and how.
 
11823
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 
11824
/* end confdefs.h.  */
 
11825
#include <ac_nonexistent.h>
 
11826
_ACEOF
 
11827
if ac_fn_cxx_try_cpp "$LINENO"; then :
 
11828
  # Broken: success on invalid input.
 
11829
continue
 
11830
else
 
11831
  # Passes both tests.
 
11832
ac_preproc_ok=:
 
11833
break
 
11834
fi
 
11835
rm -f conftest.err conftest.i conftest.$ac_ext
 
11836
 
 
11837
done
 
11838
# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
 
11839
rm -f conftest.i conftest.err conftest.$ac_ext
 
11840
if $ac_preproc_ok; then :
 
11841
  break
 
11842
fi
 
11843
 
 
11844
    done
 
11845
    ac_cv_prog_CXXCPP=$CXXCPP
 
11846
 
 
11847
fi
 
11848
  CXXCPP=$ac_cv_prog_CXXCPP
 
11849
else
 
11850
  ac_cv_prog_CXXCPP=$CXXCPP
 
11851
fi
 
11852
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXXCPP" >&5
 
11853
$as_echo "$CXXCPP" >&6; }
 
11854
ac_preproc_ok=false
 
11855
for ac_cxx_preproc_warn_flag in '' yes
 
11856
do
 
11857
  # Use a header file that comes with gcc, so configuring glibc
 
11858
  # with a fresh cross-compiler works.
 
11859
  # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
 
11860
  # <limits.h> exists even on freestanding compilers.
 
11861
  # On the NeXT, cc -E runs the code through the compiler's parser,
 
11862
  # not just through cpp. "Syntax error" is here to catch this case.
 
11863
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 
11864
/* end confdefs.h.  */
 
11865
#ifdef __STDC__
 
11866
# include <limits.h>
 
11867
#else
 
11868
# include <assert.h>
 
11869
#endif
 
11870
                     Syntax error
 
11871
_ACEOF
 
11872
if ac_fn_cxx_try_cpp "$LINENO"; then :
 
11873
 
 
11874
else
 
11875
  # Broken: fails on valid input.
 
11876
continue
 
11877
fi
 
11878
rm -f conftest.err conftest.i conftest.$ac_ext
 
11879
 
 
11880
  # OK, works on sane cases.  Now check whether nonexistent headers
 
11881
  # can be detected and how.
 
11882
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 
11883
/* end confdefs.h.  */
 
11884
#include <ac_nonexistent.h>
 
11885
_ACEOF
 
11886
if ac_fn_cxx_try_cpp "$LINENO"; then :
 
11887
  # Broken: success on invalid input.
 
11888
continue
 
11889
else
 
11890
  # Passes both tests.
 
11891
ac_preproc_ok=:
 
11892
break
 
11893
fi
 
11894
rm -f conftest.err conftest.i conftest.$ac_ext
 
11895
 
 
11896
done
 
11897
# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
 
11898
rm -f conftest.i conftest.err conftest.$ac_ext
 
11899
if $ac_preproc_ok; then :
 
11900
 
 
11901
else
 
11902
  { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
 
11903
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
 
11904
as_fn_error $? "C++ preprocessor \"$CXXCPP\" fails sanity check
 
11905
See \`config.log' for more details" "$LINENO" 5; }
 
11906
fi
 
11907
 
 
11908
ac_ext=c
 
11909
ac_cpp='$CPP $CPPFLAGS'
 
11910
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
 
11911
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
 
11912
ac_compiler_gnu=$ac_cv_c_compiler_gnu
 
11913
 
 
11914
else
 
11915
  _lt_caught_CXX_error=yes
 
11916
fi
11416
11917
 
11417
11918
ac_ext=cpp
11418
11919
ac_cpp='$CXXCPP $CPPFLAGS'
11429
11930
hardcode_direct_CXX=no
11430
11931
hardcode_direct_absolute_CXX=no
11431
11932
hardcode_libdir_flag_spec_CXX=
11432
 
hardcode_libdir_flag_spec_ld_CXX=
11433
11933
hardcode_libdir_separator_CXX=
11434
11934
hardcode_minus_L_CXX=no
11435
11935
hardcode_shlibpath_var_CXX=unsupported
11439
11939
module_expsym_cmds_CXX=
11440
11940
link_all_deplibs_CXX=unknown
11441
11941
old_archive_cmds_CXX=$old_archive_cmds
 
11942
reload_flag_CXX=$reload_flag
 
11943
reload_cmds_CXX=$reload_cmds
11442
11944
no_undefined_flag_CXX=
11443
11945
whole_archive_flag_spec_CXX=
11444
11946
enable_shared_with_static_runtimes_CXX=no
11494
11996
 
11495
11997
  # Allow CC to be a program name with arguments.
11496
11998
  lt_save_CC=$CC
 
11999
  lt_save_CFLAGS=$CFLAGS
11497
12000
  lt_save_LD=$LD
11498
12001
  lt_save_GCC=$GCC
11499
12002
  GCC=$GXX
11511
12014
  fi
11512
12015
  test -z "${LDCXX+set}" || LD=$LDCXX
11513
12016
  CC=${CXX-"c++"}
 
12017
  CFLAGS=$CXXFLAGS
11514
12018
  compiler=$CC
11515
12019
  compiler_CXX=$CC
11516
12020
  for cc_temp in $compiler""; do
11521
12025
    *) break;;
11522
12026
  esac
11523
12027
done
11524
 
cc_basename=`$ECHO "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
 
12028
cc_basename=`$ECHO "$cc_temp" | $SED "s%.*/%%; s%^$host_alias-%%"`
11525
12029
 
11526
12030
 
11527
12031
  if test -n "$compiler"; then
11584
12088
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
11585
12089
$as_echo_n "checking for non-GNU ld... " >&6; }
11586
12090
fi
11587
 
if test "${lt_cv_path_LD+set}" = set; then :
 
12091
if ${lt_cv_path_LD+:} false; then :
11588
12092
  $as_echo_n "(cached) " >&6
11589
12093
else
11590
12094
  if test -z "$LD"; then
11621
12125
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11622
12126
$as_echo "no" >&6; }
11623
12127
fi
11624
 
test -z "$LD" && as_fn_error "no acceptable ld found in \$PATH" "$LINENO" 5
 
12128
test -z "$LD" && as_fn_error $? "no acceptable ld found in \$PATH" "$LINENO" 5
11625
12129
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
11626
12130
$as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
11627
 
if test "${lt_cv_prog_gnu_ld+set}" = set; then :
 
12131
if ${lt_cv_prog_gnu_ld+:} false; then :
11628
12132
  $as_echo_n "(cached) " >&6
11629
12133
else
11630
12134
  # I'd rather use --version here, but apparently some GNU lds only accept -v.
11650
12154
      # Check if GNU C++ uses GNU ld as the underlying linker, since the
11651
12155
      # archiving commands below assume that GNU ld is being used.
11652
12156
      if test "$with_gnu_ld" = yes; then
11653
 
        archive_cmds_CXX='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
11654
 
        archive_expsym_cmds_CXX='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
 
12157
        archive_cmds_CXX='$CC $pic_flag -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
 
12158
        archive_expsym_cmds_CXX='$CC $pic_flag -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
11655
12159
 
11656
12160
        hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
11657
12161
        export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
11683
12187
      # Commands to make compiler produce verbose output that lists
11684
12188
      # what "hidden" libraries, object files and flags are used when
11685
12189
      # linking a shared library.
11686
 
      output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP "\-L"'
 
12190
      output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP -v "^Configured with:" | $GREP "\-L"'
11687
12191
 
11688
12192
    else
11689
12193
      GXX=no
11793
12297
          allow_undefined_flag_CXX='-berok'
11794
12298
          # Determine the default libpath from the value encoded in an empty
11795
12299
          # executable.
11796
 
          cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 
12300
          if test "${lt_cv_aix_libpath+set}" = set; then
 
12301
  aix_libpath=$lt_cv_aix_libpath
 
12302
else
 
12303
  if ${lt_cv_aix_libpath__CXX+:} false; then :
 
12304
  $as_echo_n "(cached) " >&6
 
12305
else
 
12306
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11797
12307
/* end confdefs.h.  */
11798
12308
 
11799
12309
int
11806
12316
_ACEOF
11807
12317
if ac_fn_cxx_try_link "$LINENO"; then :
11808
12318
 
11809
 
lt_aix_libpath_sed='
11810
 
    /Import File Strings/,/^$/ {
11811
 
        /^0/ {
11812
 
            s/^0  *\(.*\)$/\1/
11813
 
            p
11814
 
        }
11815
 
    }'
11816
 
aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
11817
 
# Check for a 64-bit object if we didn't find anything.
11818
 
if test -z "$aix_libpath"; then
11819
 
  aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
11820
 
fi
 
12319
  lt_aix_libpath_sed='
 
12320
      /Import File Strings/,/^$/ {
 
12321
          /^0/ {
 
12322
              s/^0  *\([^ ]*\) *$/\1/
 
12323
              p
 
12324
          }
 
12325
      }'
 
12326
  lt_cv_aix_libpath__CXX=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
 
12327
  # Check for a 64-bit object if we didn't find anything.
 
12328
  if test -z "$lt_cv_aix_libpath__CXX"; then
 
12329
    lt_cv_aix_libpath__CXX=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
 
12330
  fi
11821
12331
fi
11822
12332
rm -f core conftest.err conftest.$ac_objext \
11823
12333
    conftest$ac_exeext conftest.$ac_ext
11824
 
if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
 
12334
  if test -z "$lt_cv_aix_libpath__CXX"; then
 
12335
    lt_cv_aix_libpath__CXX="/usr/lib:/lib"
 
12336
  fi
 
12337
 
 
12338
fi
 
12339
 
 
12340
  aix_libpath=$lt_cv_aix_libpath__CXX
 
12341
fi
11825
12342
 
11826
12343
          hardcode_libdir_flag_spec_CXX='${wl}-blibpath:$libdir:'"$aix_libpath"
11827
12344
 
11828
 
          archive_expsym_cmds_CXX='$CC -o $output_objdir/$soname $libobjs $deplibs '"\${wl}$no_entry_flag"' $compiler_flags `if test "x${allow_undefined_flag}" != "x"; then $ECHO "X${wl}${allow_undefined_flag}" | $Xsed; else :; fi` '"\${wl}$exp_sym_flag:\$export_symbols $shared_flag"
 
12345
          archive_expsym_cmds_CXX='$CC -o $output_objdir/$soname $libobjs $deplibs '"\${wl}$no_entry_flag"' $compiler_flags `if test "x${allow_undefined_flag}" != "x"; then func_echo_all "${wl}${allow_undefined_flag}"; else :; fi` '"\${wl}$exp_sym_flag:\$export_symbols $shared_flag"
11829
12346
        else
11830
12347
          if test "$host_cpu" = ia64; then
11831
12348
            hardcode_libdir_flag_spec_CXX='${wl}-R $libdir:/usr/lib:/lib'
11834
12351
          else
11835
12352
            # Determine the default libpath from the value encoded in an
11836
12353
            # empty executable.
11837
 
            cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 
12354
            if test "${lt_cv_aix_libpath+set}" = set; then
 
12355
  aix_libpath=$lt_cv_aix_libpath
 
12356
else
 
12357
  if ${lt_cv_aix_libpath__CXX+:} false; then :
 
12358
  $as_echo_n "(cached) " >&6
 
12359
else
 
12360
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11838
12361
/* end confdefs.h.  */
11839
12362
 
11840
12363
int
11847
12370
_ACEOF
11848
12371
if ac_fn_cxx_try_link "$LINENO"; then :
11849
12372
 
11850
 
lt_aix_libpath_sed='
11851
 
    /Import File Strings/,/^$/ {
11852
 
        /^0/ {
11853
 
            s/^0  *\(.*\)$/\1/
11854
 
            p
11855
 
        }
11856
 
    }'
11857
 
aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
11858
 
# Check for a 64-bit object if we didn't find anything.
11859
 
if test -z "$aix_libpath"; then
11860
 
  aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
11861
 
fi
 
12373
  lt_aix_libpath_sed='
 
12374
      /Import File Strings/,/^$/ {
 
12375
          /^0/ {
 
12376
              s/^0  *\([^ ]*\) *$/\1/
 
12377
              p
 
12378
          }
 
12379
      }'
 
12380
  lt_cv_aix_libpath__CXX=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
 
12381
  # Check for a 64-bit object if we didn't find anything.
 
12382
  if test -z "$lt_cv_aix_libpath__CXX"; then
 
12383
    lt_cv_aix_libpath__CXX=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
 
12384
  fi
11862
12385
fi
11863
12386
rm -f core conftest.err conftest.$ac_objext \
11864
12387
    conftest$ac_exeext conftest.$ac_ext
11865
 
if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
 
12388
  if test -z "$lt_cv_aix_libpath__CXX"; then
 
12389
    lt_cv_aix_libpath__CXX="/usr/lib:/lib"
 
12390
  fi
 
12391
 
 
12392
fi
 
12393
 
 
12394
  aix_libpath=$lt_cv_aix_libpath__CXX
 
12395
fi
11866
12396
 
11867
12397
            hardcode_libdir_flag_spec_CXX='${wl}-blibpath:$libdir:'"$aix_libpath"
11868
12398
            # Warning - without using the other run time loading flags,
11869
12399
            # -berok will link without error, but may produce a broken library.
11870
12400
            no_undefined_flag_CXX=' ${wl}-bernotok'
11871
12401
            allow_undefined_flag_CXX=' ${wl}-berok'
11872
 
            # Exported symbols can be pulled into shared objects from archives
11873
 
            whole_archive_flag_spec_CXX='$convenience'
 
12402
            if test "$with_gnu_ld" = yes; then
 
12403
              # We only use this code for GNU lds that support --whole-archive.
 
12404
              whole_archive_flag_spec_CXX='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
 
12405
            else
 
12406
              # Exported symbols can be pulled into shared objects from archives
 
12407
              whole_archive_flag_spec_CXX='$convenience'
 
12408
            fi
11874
12409
            archive_cmds_need_lc_CXX=yes
11875
12410
            # This is similar to how AIX traditionally builds its shared
11876
12411
            # libraries.
11900
12435
        ;;
11901
12436
 
11902
12437
      cygwin* | mingw* | pw32* | cegcc*)
11903
 
        # _LT_TAGVAR(hardcode_libdir_flag_spec, CXX) is actually meaningless,
11904
 
        # as there is no search path for DLLs.
11905
 
        hardcode_libdir_flag_spec_CXX='-L$libdir'
11906
 
        allow_undefined_flag_CXX=unsupported
11907
 
        always_export_symbols_CXX=no
11908
 
        enable_shared_with_static_runtimes_CXX=yes
 
12438
        case $GXX,$cc_basename in
 
12439
        ,cl* | no,cl*)
 
12440
          # Native MSVC
 
12441
          # hardcode_libdir_flag_spec is actually meaningless, as there is
 
12442
          # no search path for DLLs.
 
12443
          hardcode_libdir_flag_spec_CXX=' '
 
12444
          allow_undefined_flag_CXX=unsupported
 
12445
          always_export_symbols_CXX=yes
 
12446
          file_list_spec_CXX='@'
 
12447
          # Tell ltmain to make .lib files, not .a files.
 
12448
          libext=lib
 
12449
          # Tell ltmain to make .dll files, not .so files.
 
12450
          shrext_cmds=".dll"
 
12451
          # FIXME: Setting linknames here is a bad hack.
 
12452
          archive_cmds_CXX='$CC -o $output_objdir/$soname $libobjs $compiler_flags $deplibs -Wl,-dll~linknames='
 
12453
          archive_expsym_cmds_CXX='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
 
12454
              $SED -n -e 's/\\\\\\\(.*\\\\\\\)/-link\\\ -EXPORT:\\\\\\\1/' -e '1\\\!p' < $export_symbols > $output_objdir/$soname.exp;
 
12455
            else
 
12456
              $SED -e 's/\\\\\\\(.*\\\\\\\)/-link\\\ -EXPORT:\\\\\\\1/' < $export_symbols > $output_objdir/$soname.exp;
 
12457
            fi~
 
12458
            $CC -o $tool_output_objdir$soname $libobjs $compiler_flags $deplibs "@$tool_output_objdir$soname.exp" -Wl,-DLL,-IMPLIB:"$tool_output_objdir$libname.dll.lib"~
 
12459
            linknames='
 
12460
          # The linker will not automatically build a static lib if we build a DLL.
 
12461
          # _LT_TAGVAR(old_archive_from_new_cmds, CXX)='true'
 
12462
          enable_shared_with_static_runtimes_CXX=yes
 
12463
          # Don't use ranlib
 
12464
          old_postinstall_cmds_CXX='chmod 644 $oldlib'
 
12465
          postlink_cmds_CXX='lt_outputfile="@OUTPUT@"~
 
12466
            lt_tool_outputfile="@TOOL_OUTPUT@"~
 
12467
            case $lt_outputfile in
 
12468
              *.exe|*.EXE) ;;
 
12469
              *)
 
12470
                lt_outputfile="$lt_outputfile.exe"
 
12471
                lt_tool_outputfile="$lt_tool_outputfile.exe"
 
12472
                ;;
 
12473
            esac~
 
12474
            func_to_tool_file "$lt_outputfile"~
 
12475
            if test "$MANIFEST_TOOL" != ":" && test -f "$lt_outputfile.manifest"; then
 
12476
              $MANIFEST_TOOL -manifest "$lt_tool_outputfile.manifest" -outputresource:"$lt_tool_outputfile" || exit 1;
 
12477
              $RM "$lt_outputfile.manifest";
 
12478
            fi'
 
12479
          ;;
 
12480
        *)
 
12481
          # g++
 
12482
          # _LT_TAGVAR(hardcode_libdir_flag_spec, CXX) is actually meaningless,
 
12483
          # as there is no search path for DLLs.
 
12484
          hardcode_libdir_flag_spec_CXX='-L$libdir'
 
12485
          export_dynamic_flag_spec_CXX='${wl}--export-all-symbols'
 
12486
          allow_undefined_flag_CXX=unsupported
 
12487
          always_export_symbols_CXX=no
 
12488
          enable_shared_with_static_runtimes_CXX=yes
11909
12489
 
11910
 
        if $LD --help 2>&1 | $GREP 'auto-import' > /dev/null; then
11911
 
          archive_cmds_CXX='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
11912
 
          # If the export-symbols file already is a .def file (1st line
11913
 
          # is EXPORTS), use it as is; otherwise, prepend...
11914
 
          archive_expsym_cmds_CXX='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
11915
 
            cp $export_symbols $output_objdir/$soname.def;
11916
 
          else
11917
 
            echo EXPORTS > $output_objdir/$soname.def;
11918
 
            cat $export_symbols >> $output_objdir/$soname.def;
11919
 
          fi~
11920
 
          $CC -shared -nostdlib $output_objdir/$soname.def $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
11921
 
        else
11922
 
          ld_shlibs_CXX=no
11923
 
        fi
11924
 
        ;;
 
12490
          if $LD --help 2>&1 | $GREP 'auto-import' > /dev/null; then
 
12491
            archive_cmds_CXX='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
 
12492
            # If the export-symbols file already is a .def file (1st line
 
12493
            # is EXPORTS), use it as is; otherwise, prepend...
 
12494
            archive_expsym_cmds_CXX='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
 
12495
              cp $export_symbols $output_objdir/$soname.def;
 
12496
            else
 
12497
              echo EXPORTS > $output_objdir/$soname.def;
 
12498
              cat $export_symbols >> $output_objdir/$soname.def;
 
12499
            fi~
 
12500
            $CC -shared -nostdlib $output_objdir/$soname.def $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
 
12501
          else
 
12502
            ld_shlibs_CXX=no
 
12503
          fi
 
12504
          ;;
 
12505
        esac
 
12506
        ;;
11925
12507
      darwin* | rhapsody*)
11926
12508
 
11927
12509
 
11929
12511
  hardcode_direct_CXX=no
11930
12512
  hardcode_automatic_CXX=yes
11931
12513
  hardcode_shlibpath_var_CXX=unsupported
11932
 
  whole_archive_flag_spec_CXX=''
 
12514
  if test "$lt_cv_ld_force_load" = "yes"; then
 
12515
    whole_archive_flag_spec_CXX='`for conv in $convenience\"\"; do test  -n \"$conv\" && new_convenience=\"$new_convenience ${wl}-force_load,$conv\"; done; func_echo_all \"$new_convenience\"`'
 
12516
 
 
12517
  else
 
12518
    whole_archive_flag_spec_CXX=''
 
12519
  fi
11933
12520
  link_all_deplibs_CXX=yes
11934
12521
  allow_undefined_flag_CXX="$_lt_dar_allow_undefined"
11935
12522
  case $cc_basename in
11937
12524
     *) _lt_dar_can_shared=$GCC ;;
11938
12525
  esac
11939
12526
  if test "$_lt_dar_can_shared" = "yes"; then
11940
 
    output_verbose_link_cmd=echo
 
12527
    output_verbose_link_cmd=func_echo_all
11941
12528
    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}"
11942
12529
    module_cmds_CXX="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}"
11943
12530
    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}"
11971
12558
        esac
11972
12559
        ;;
11973
12560
 
11974
 
      freebsd[12]*)
 
12561
      freebsd2.*)
11975
12562
        # C++ shared libraries reported to be fairly broken before
11976
12563
        # switch to ELF
11977
12564
        ld_shlibs_CXX=no
11990
12577
      gnu*)
11991
12578
        ;;
11992
12579
 
 
12580
      haiku*)
 
12581
        archive_cmds_CXX='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
 
12582
        link_all_deplibs_CXX=yes
 
12583
        ;;
 
12584
 
11993
12585
      hpux9*)
11994
12586
        hardcode_libdir_flag_spec_CXX='${wl}+b ${wl}$libdir'
11995
12587
        hardcode_libdir_separator_CXX=:
12014
12606
            # explicitly linking system object files so we need to strip them
12015
12607
            # from the output so that they don't get included in the library
12016
12608
            # dependencies.
12017
 
            output_verbose_link_cmd='templist=`($CC -b $CFLAGS -v conftest.$objext 2>&1) | $EGREP "\-L"`; list=""; for z in $templist; do case $z in conftest.$objext) list="$list $z";; *.$objext);; *) list="$list $z";;esac; done; $ECHO "X$list" | $Xsed'
 
12609
            output_verbose_link_cmd='templist=`($CC -b $CFLAGS -v conftest.$objext 2>&1) | $EGREP "\-L"`; list=""; for z in $templist; do case $z in conftest.$objext) list="$list $z";; *.$objext);; *) list="$list $z";;esac; done; func_echo_all "$list"'
12018
12610
            ;;
12019
12611
          *)
12020
12612
            if test "$GXX" = yes; then
12021
 
              archive_cmds_CXX='$RM $output_objdir/$soname~$CC -shared -nostdlib -fPIC ${wl}+b ${wl}$install_libdir -o $output_objdir/$soname $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~test $output_objdir/$soname = $lib || mv $output_objdir/$soname $lib'
 
12613
              archive_cmds_CXX='$RM $output_objdir/$soname~$CC -shared -nostdlib $pic_flag ${wl}+b ${wl}$install_libdir -o $output_objdir/$soname $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~test $output_objdir/$soname = $lib || mv $output_objdir/$soname $lib'
12022
12614
            else
12023
12615
              # FIXME: insert proper C++ library support
12024
12616
              ld_shlibs_CXX=no
12079
12671
            # explicitly linking system object files so we need to strip them
12080
12672
            # from the output so that they don't get included in the library
12081
12673
            # dependencies.
12082
 
            output_verbose_link_cmd='templist=`($CC -b $CFLAGS -v conftest.$objext 2>&1) | $GREP "\-L"`; list=""; for z in $templist; do case $z in conftest.$objext) list="$list $z";; *.$objext);; *) list="$list $z";;esac; done; $ECHO "X$list" | $Xsed'
 
12674
            output_verbose_link_cmd='templist=`($CC -b $CFLAGS -v conftest.$objext 2>&1) | $GREP "\-L"`; list=""; for z in $templist; do case $z in conftest.$objext) list="$list $z";; *.$objext);; *) list="$list $z";;esac; done; func_echo_all "$list"'
12083
12675
            ;;
12084
12676
          *)
12085
12677
            if test "$GXX" = yes; then
12089
12681
                    archive_cmds_CXX='$CC -shared -nostdlib -fPIC ${wl}+h ${wl}$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
12090
12682
                    ;;
12091
12683
                  ia64*)
12092
 
                    archive_cmds_CXX='$CC -shared -nostdlib -fPIC ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
 
12684
                    archive_cmds_CXX='$CC -shared -nostdlib $pic_flag ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
12093
12685
                    ;;
12094
12686
                  *)
12095
 
                    archive_cmds_CXX='$CC -shared -nostdlib -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
 
12687
                    archive_cmds_CXX='$CC -shared -nostdlib $pic_flag ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
12096
12688
                    ;;
12097
12689
                esac
12098
12690
              fi
12122
12714
        case $cc_basename in
12123
12715
          CC*)
12124
12716
            # SGI C++
12125
 
            archive_cmds_CXX='$CC -shared -all -multigot $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -soname $soname `test -n "$verstring" && $ECHO "X-set_version $verstring" | $Xsed` -update_registry ${output_objdir}/so_locations -o $lib'
 
12717
            archive_cmds_CXX='$CC -shared -all -multigot $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -soname $soname `test -n "$verstring" && func_echo_all "-set_version $verstring"` -update_registry ${output_objdir}/so_locations -o $lib'
12126
12718
 
12127
12719
            # Archives containing C++ object files must be created using
12128
12720
            # "CC -ar", where "CC" is the IRIX C++ compiler.  This is
12133
12725
          *)
12134
12726
            if test "$GXX" = yes; then
12135
12727
              if test "$with_gnu_ld" = no; then
12136
 
                archive_cmds_CXX='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && $ECHO "X${wl}-set_version ${wl}$verstring" | $Xsed` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
 
12728
                archive_cmds_CXX='$CC -shared $pic_flag -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && func_echo_all "${wl}-set_version ${wl}$verstring"` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
12137
12729
              else
12138
 
                archive_cmds_CXX='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && $ECHO "X${wl}-set_version ${wl}$verstring" | $Xsed` -o $lib'
 
12730
                archive_cmds_CXX='$CC -shared $pic_flag -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && func_echo_all "${wl}-set_version ${wl}$verstring"` -o $lib'
12139
12731
              fi
12140
12732
            fi
12141
12733
            link_all_deplibs_CXX=yes
12146
12738
        inherit_rpath_CXX=yes
12147
12739
        ;;
12148
12740
 
12149
 
      linux* | k*bsd*-gnu)
 
12741
      linux* | k*bsd*-gnu | kopensolaris*-gnu)
12150
12742
        case $cc_basename in
12151
12743
          KCC*)
12152
12744
            # Kuck and Associates, Inc. (KAI) C++ Compiler
12164
12756
            # explicitly linking system object files so we need to strip them
12165
12757
            # from the output so that they don't get included in the library
12166
12758
            # dependencies.
12167
 
            output_verbose_link_cmd='templist=`$CC $CFLAGS -v conftest.$objext -o libconftest$shared_ext 2>&1 | $GREP "ld"`; rm -f libconftest$shared_ext; list=""; for z in $templist; do case $z in conftest.$objext) list="$list $z";; *.$objext);; *) list="$list $z";;esac; done; $ECHO "X$list" | $Xsed'
 
12759
            output_verbose_link_cmd='templist=`$CC $CFLAGS -v conftest.$objext -o libconftest$shared_ext 2>&1 | $GREP "ld"`; rm -f libconftest$shared_ext; list=""; for z in $templist; do case $z in conftest.$objext) list="$list $z";; *.$objext);; *) list="$list $z";;esac; done; func_echo_all "$list"'
12168
12760
 
12169
12761
            hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
12170
12762
            export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
12201
12793
          pgCC* | pgcpp*)
12202
12794
            # Portland Group C++ compiler
12203
12795
            case `$CC -V` in
12204
 
            *pgCC\ [1-5]* | *pgcpp\ [1-5]*)
 
12796
            *pgCC\ [1-5].* | *pgcpp\ [1-5].*)
12205
12797
              prelink_cmds_CXX='tpldir=Template.dir~
12206
12798
                rm -rf $tpldir~
12207
12799
                $CC --prelink_objects --instantiation_dir $tpldir $objs $libobjs $compile_deplibs~
12208
 
                compile_command="$compile_command `find $tpldir -name \*.o | $NL2SP`"'
 
12800
                compile_command="$compile_command `find $tpldir -name \*.o | sort | $NL2SP`"'
12209
12801
              old_archive_cmds_CXX='tpldir=Template.dir~
12210
12802
                rm -rf $tpldir~
12211
12803
                $CC --prelink_objects --instantiation_dir $tpldir $oldobjs$old_deplibs~
12212
 
                $AR $AR_FLAGS $oldlib$oldobjs$old_deplibs `find $tpldir -name \*.o | $NL2SP`~
 
12804
                $AR $AR_FLAGS $oldlib$oldobjs$old_deplibs `find $tpldir -name \*.o | sort | $NL2SP`~
12213
12805
                $RANLIB $oldlib'
12214
12806
              archive_cmds_CXX='tpldir=Template.dir~
12215
12807
                rm -rf $tpldir~
12216
12808
                $CC --prelink_objects --instantiation_dir $tpldir $predep_objects $libobjs $deplibs $convenience $postdep_objects~
12217
 
                $CC -shared $pic_flag $predep_objects $libobjs $deplibs `find $tpldir -name \*.o | $NL2SP` $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname -o $lib'
 
12809
                $CC -shared $pic_flag $predep_objects $libobjs $deplibs `find $tpldir -name \*.o | sort | $NL2SP` $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname -o $lib'
12218
12810
              archive_expsym_cmds_CXX='tpldir=Template.dir~
12219
12811
                rm -rf $tpldir~
12220
12812
                $CC --prelink_objects --instantiation_dir $tpldir $predep_objects $libobjs $deplibs $convenience $postdep_objects~
12221
 
                $CC -shared $pic_flag $predep_objects $libobjs $deplibs `find $tpldir -name \*.o | $NL2SP` $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname ${wl}-retain-symbols-file ${wl}$export_symbols -o $lib'
 
12813
                $CC -shared $pic_flag $predep_objects $libobjs $deplibs `find $tpldir -name \*.o | sort | $NL2SP` $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname ${wl}-retain-symbols-file ${wl}$export_symbols -o $lib'
12222
12814
              ;;
12223
 
            *) # Version 6 will use weak symbols
 
12815
            *) # Version 6 and above use weak symbols
12224
12816
              archive_cmds_CXX='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname -o $lib'
12225
12817
              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'
12226
12818
              ;;
12228
12820
 
12229
12821
            hardcode_libdir_flag_spec_CXX='${wl}--rpath ${wl}$libdir'
12230
12822
            export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
12231
 
            whole_archive_flag_spec_CXX='${wl}--whole-archive`for conv in $convenience\"\"; do test  -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; $ECHO \"$new_convenience\"` ${wl}--no-whole-archive'
 
12823
            whole_archive_flag_spec_CXX='${wl}--whole-archive`for conv in $convenience\"\"; do test  -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; func_echo_all \"$new_convenience\"` ${wl}--no-whole-archive'
12232
12824
            ;;
12233
12825
          cxx*)
12234
12826
            # Compaq C++
12247
12839
            # explicitly linking system object files so we need to strip them
12248
12840
            # from the output so that they don't get included in the library
12249
12841
            # dependencies.
12250
 
            output_verbose_link_cmd='templist=`$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP "ld"`; templist=`$ECHO "X$templist" | $Xsed -e "s/\(^.*ld.*\)\( .*ld .*$\)/\1/"`; list=""; for z in $templist; do case $z in conftest.$objext) list="$list $z";; *.$objext);; *) list="$list $z";;esac; done; $ECHO "X$list" | $Xsed'
 
12842
            output_verbose_link_cmd='templist=`$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP "ld"`; templist=`func_echo_all "$templist" | $SED "s/\(^.*ld.*\)\( .*ld .*$\)/\1/"`; list=""; for z in $templist; do case $z in conftest.$objext) list="$list $z";; *.$objext);; *) list="$list $z";;esac; done; func_echo_all "X$list" | $Xsed'
12251
12843
            ;;
12252
 
          xl*)
 
12844
          xl* | mpixl* | bgxl*)
12253
12845
            # IBM XL 8.0 on PPC, with GNU ld
12254
12846
            hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
12255
12847
            export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
12269
12861
              archive_cmds_CXX='$CC -G${allow_undefined_flag} -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
12270
12862
              archive_expsym_cmds_CXX='$CC -G${allow_undefined_flag} -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-retain-symbols-file ${wl}$export_symbols'
12271
12863
              hardcode_libdir_flag_spec_CXX='-R$libdir'
12272
 
              whole_archive_flag_spec_CXX='${wl}--whole-archive`new_convenience=; for conv in $convenience\"\"; do test -z \"$conv\" || new_convenience=\"$new_convenience,$conv\"; done; $ECHO \"$new_convenience\"` ${wl}--no-whole-archive'
 
12864
              whole_archive_flag_spec_CXX='${wl}--whole-archive`new_convenience=; for conv in $convenience\"\"; do test -z \"$conv\" || new_convenience=\"$new_convenience,$conv\"; done; func_echo_all \"$new_convenience\"` ${wl}--no-whole-archive'
12273
12865
              compiler_needs_object_CXX=yes
12274
12866
 
12275
12867
              # Not sure whether something based on
12276
12868
              # $CC $CFLAGS -v conftest.$objext -o libconftest$shared_ext 2>&1
12277
12869
              # would be better.
12278
 
              output_verbose_link_cmd='echo'
 
12870
              output_verbose_link_cmd='func_echo_all'
12279
12871
 
12280
12872
              # Archives containing C++ object files must be created using
12281
12873
              # "CC -xar", where "CC" is the Sun C++ compiler.  This is
12344
12936
            export_dynamic_flag_spec_CXX='${wl}-E'
12345
12937
            whole_archive_flag_spec_CXX="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
12346
12938
          fi
12347
 
          output_verbose_link_cmd=echo
 
12939
          output_verbose_link_cmd=func_echo_all
12348
12940
        else
12349
12941
          ld_shlibs_CXX=no
12350
12942
        fi
12379
12971
            case $host in
12380
12972
              osf3*)
12381
12973
                allow_undefined_flag_CXX=' ${wl}-expect_unresolved ${wl}\*'
12382
 
                archive_cmds_CXX='$CC -shared${allow_undefined_flag} $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $soname `test -n "$verstring" && $ECHO "X${wl}-set_version $verstring" | $Xsed` -update_registry ${output_objdir}/so_locations -o $lib'
 
12974
                archive_cmds_CXX='$CC -shared${allow_undefined_flag} $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $soname `test -n "$verstring" && func_echo_all "${wl}-set_version $verstring"` -update_registry ${output_objdir}/so_locations -o $lib'
12383
12975
                hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
12384
12976
                ;;
12385
12977
              *)
12386
12978
                allow_undefined_flag_CXX=' -expect_unresolved \*'
12387
 
                archive_cmds_CXX='$CC -shared${allow_undefined_flag} $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -msym -soname $soname `test -n "$verstring" && $ECHO "X-set_version $verstring" | $Xsed` -update_registry ${output_objdir}/so_locations -o $lib'
 
12979
                archive_cmds_CXX='$CC -shared${allow_undefined_flag} $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -msym -soname $soname `test -n "$verstring" && func_echo_all "-set_version $verstring"` -update_registry ${output_objdir}/so_locations -o $lib'
12388
12980
                archive_expsym_cmds_CXX='for i in `cat $export_symbols`; do printf "%s %s\\n" -exported_symbol "\$i" >> $lib.exp; done~
12389
12981
                  echo "-hidden">> $lib.exp~
12390
 
                  $CC -shared$allow_undefined_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -msym -soname $soname ${wl}-input ${wl}$lib.exp  `test -n "$verstring" && $ECHO "X-set_version $verstring" | $Xsed` -update_registry ${output_objdir}/so_locations -o $lib~
 
12982
                  $CC -shared$allow_undefined_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -msym -soname $soname ${wl}-input ${wl}$lib.exp  `test -n "$verstring" && $ECHO "-set_version $verstring"` -update_registry ${output_objdir}/so_locations -o $lib~
12391
12983
                  $RM $lib.exp'
12392
12984
                hardcode_libdir_flag_spec_CXX='-rpath $libdir'
12393
12985
                ;;
12403
12995
            # explicitly linking system object files so we need to strip them
12404
12996
            # from the output so that they don't get included in the library
12405
12997
            # dependencies.
12406
 
            output_verbose_link_cmd='templist=`$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP "ld" | $GREP -v "ld:"`; templist=`$ECHO "X$templist" | $Xsed -e "s/\(^.*ld.*\)\( .*ld.*$\)/\1/"`; list=""; for z in $templist; do case $z in conftest.$objext) list="$list $z";; *.$objext);; *) list="$list $z";;esac; done; $ECHO "X$list" | $Xsed'
 
12998
            output_verbose_link_cmd='templist=`$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP "ld" | $GREP -v "ld:"`; templist=`func_echo_all "$templist" | $SED "s/\(^.*ld.*\)\( .*ld.*$\)/\1/"`; list=""; for z in $templist; do case $z in conftest.$objext) list="$list $z";; *.$objext);; *) list="$list $z";;esac; done; func_echo_all "$list"'
12407
12999
            ;;
12408
13000
          *)
12409
13001
            if test "$GXX" = yes && test "$with_gnu_ld" = no; then
12410
13002
              allow_undefined_flag_CXX=' ${wl}-expect_unresolved ${wl}\*'
12411
13003
              case $host in
12412
13004
                osf3*)
12413
 
                  archive_cmds_CXX='$CC -shared -nostdlib ${allow_undefined_flag} $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && $ECHO "X${wl}-set_version ${wl}$verstring" | $Xsed` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
 
13005
                  archive_cmds_CXX='$CC -shared -nostdlib ${allow_undefined_flag} $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && func_echo_all "${wl}-set_version ${wl}$verstring"` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
12414
13006
                  ;;
12415
13007
                *)
12416
 
                  archive_cmds_CXX='$CC -shared -nostdlib ${allow_undefined_flag} $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-msym ${wl}-soname ${wl}$soname `test -n "$verstring" && $ECHO "${wl}-set_version ${wl}$verstring" | $Xsed` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
 
13008
                  archive_cmds_CXX='$CC -shared $pic_flag -nostdlib ${allow_undefined_flag} $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-msym ${wl}-soname ${wl}$soname `test -n "$verstring" && func_echo_all "${wl}-set_version ${wl}$verstring"` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
12417
13009
                  ;;
12418
13010
              esac
12419
13011
 
12423
13015
              # Commands to make compiler produce verbose output that lists
12424
13016
              # what "hidden" libraries, object files and flags are used when
12425
13017
              # linking a shared library.
12426
 
              output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP "\-L"'
 
13018
              output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP -v "^Configured with:" | $GREP "\-L"'
12427
13019
 
12428
13020
            else
12429
13021
              # FIXME: insert proper C++ library support
12459
13051
 
12460
13052
      solaris*)
12461
13053
        case $cc_basename in
12462
 
          CC*)
 
13054
          CC* | sunCC*)
12463
13055
            # Sun C++ 4.2, 5.x and Centerline C++
12464
13056
            archive_cmds_need_lc_CXX=yes
12465
13057
            no_undefined_flag_CXX=' -zdefs'
12480
13072
            esac
12481
13073
            link_all_deplibs_CXX=yes
12482
13074
 
12483
 
            output_verbose_link_cmd='echo'
 
13075
            output_verbose_link_cmd='func_echo_all'
12484
13076
 
12485
13077
            # Archives containing C++ object files must be created using
12486
13078
            # "CC -xar", where "CC" is the Sun C++ compiler.  This is
12500
13092
            if test "$GXX" = yes && test "$with_gnu_ld" = no; then
12501
13093
              no_undefined_flag_CXX=' ${wl}-z ${wl}defs'
12502
13094
              if $CC --version | $GREP -v '^2\.7' > /dev/null; then
12503
 
                archive_cmds_CXX='$CC -shared -nostdlib $LDFLAGS $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
 
13095
                archive_cmds_CXX='$CC -shared $pic_flag -nostdlib $LDFLAGS $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
12504
13096
                archive_expsym_cmds_CXX='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
12505
 
                  $CC -shared -nostdlib ${wl}-M $wl$lib.exp -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$RM $lib.exp'
 
13097
                  $CC -shared $pic_flag -nostdlib ${wl}-M $wl$lib.exp -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$RM $lib.exp'
12506
13098
 
12507
13099
                # Commands to make compiler produce verbose output that lists
12508
13100
                # what "hidden" libraries, object files and flags are used when
12509
13101
                # linking a shared library.
12510
 
                output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP "\-L"'
 
13102
                output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP -v "^Configured with:" | $GREP "\-L"'
12511
13103
              else
12512
13104
                # g++ 2.7 appears to require `-G' NOT `-shared' on this
12513
13105
                # platform.
12518
13110
                # Commands to make compiler produce verbose output that lists
12519
13111
                # what "hidden" libraries, object files and flags are used when
12520
13112
                # linking a shared library.
12521
 
                output_verbose_link_cmd='$CC -G $CFLAGS -v conftest.$objext 2>&1 | $GREP "\-L"'
 
13113
                output_verbose_link_cmd='$CC -G $CFLAGS -v conftest.$objext 2>&1 | $GREP -v "^Configured with:" | $GREP "\-L"'
12522
13114
              fi
12523
13115
 
12524
13116
              hardcode_libdir_flag_spec_CXX='${wl}-R $wl$libdir'
12572
13164
          CC*)
12573
13165
            archive_cmds_CXX='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
12574
13166
            archive_expsym_cmds_CXX='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
 
13167
            old_archive_cmds_CXX='$CC -Tprelink_objects $oldobjs~
 
13168
              '"$old_archive_cmds_CXX"
 
13169
            reload_cmds_CXX='$CC -Tprelink_objects $reload_objs~
 
13170
              '"$reload_cmds_CXX"
12575
13171
            ;;
12576
13172
          *)
12577
13173
            archive_cmds_CXX='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
12633
13229
};
12634
13230
_LT_EOF
12635
13231
 
 
13232
 
 
13233
_lt_libdeps_save_CFLAGS=$CFLAGS
 
13234
case "$CC $CFLAGS " in #(
 
13235
*\ -flto*\ *) CFLAGS="$CFLAGS -fno-lto" ;;
 
13236
*\ -fwhopr*\ *) CFLAGS="$CFLAGS -fno-whopr" ;;
 
13237
*\ -fuse-linker-plugin*\ *) CFLAGS="$CFLAGS -fno-use-linker-plugin" ;;
 
13238
esac
 
13239
 
12636
13240
if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
12637
13241
  (eval $ac_compile) 2>&5
12638
13242
  ac_status=$?
12646
13250
  pre_test_object_deps_done=no
12647
13251
 
12648
13252
  for p in `eval "$output_verbose_link_cmd"`; do
12649
 
    case $p in
 
13253
    case ${prev}${p} in
12650
13254
 
12651
13255
    -L* | -R* | -l*)
12652
13256
       # Some compilers place space between "-{L,R}" and the path.
12655
13259
          test $p = "-R"; then
12656
13260
         prev=$p
12657
13261
         continue
12658
 
       else
12659
 
         prev=
12660
13262
       fi
12661
13263
 
 
13264
       # Expand the sysroot to ease extracting the directories later.
 
13265
       if test -z "$prev"; then
 
13266
         case $p in
 
13267
         -L*) func_stripname_cnf '-L' '' "$p"; prev=-L; p=$func_stripname_result ;;
 
13268
         -R*) func_stripname_cnf '-R' '' "$p"; prev=-R; p=$func_stripname_result ;;
 
13269
         -l*) func_stripname_cnf '-l' '' "$p"; prev=-l; p=$func_stripname_result ;;
 
13270
         esac
 
13271
       fi
 
13272
       case $p in
 
13273
       =*) func_stripname_cnf '=' '' "$p"; p=$lt_sysroot$func_stripname_result ;;
 
13274
       esac
12662
13275
       if test "$pre_test_object_deps_done" = no; then
12663
 
         case $p in
12664
 
         -L* | -R*)
 
13276
         case ${prev} in
 
13277
         -L | -R)
12665
13278
           # Internal compiler library paths should come after those
12666
13279
           # provided the user.  The postdeps already come after the
12667
13280
           # user supplied libs so there is no need to process them.
12681
13294
           postdeps_CXX="${postdeps_CXX} ${prev}${p}"
12682
13295
         fi
12683
13296
       fi
 
13297
       prev=
12684
13298
       ;;
12685
13299
 
 
13300
    *.lto.$objext) ;; # Ignore GCC LTO objects
12686
13301
    *.$objext)
12687
13302
       # This assumes that the test object file only shows up
12688
13303
       # once in the compiler output.
12718
13333
fi
12719
13334
 
12720
13335
$RM -f confest.$objext
 
13336
CFLAGS=$_lt_libdeps_save_CFLAGS
12721
13337
 
12722
13338
# PORTME: override above test on systems where it is broken
12723
13339
case $host_os in
12753
13369
 
12754
13370
solaris*)
12755
13371
  case $cc_basename in
12756
 
  CC*)
 
13372
  CC* | sunCC*)
12757
13373
    # The more standards-conforming stlport4 library is
12758
13374
    # incompatible with the Cstd library. Avoid specifying
12759
13375
    # it if it's in CXXFLAGS. Ignore libCrun as
12818
13434
lt_prog_compiler_pic_CXX=
12819
13435
lt_prog_compiler_static_CXX=
12820
13436
 
12821
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5
12822
 
$as_echo_n "checking for $compiler option to produce PIC... " >&6; }
12823
13437
 
12824
13438
  # C++ specific cases for pic, static, wl, etc.
12825
13439
  if test "$GXX" = yes; then
12869
13483
      # DJGPP does not support shared libraries at all
12870
13484
      lt_prog_compiler_pic_CXX=
12871
13485
      ;;
 
13486
    haiku*)
 
13487
      # PIC is the default for Haiku.
 
13488
      # The "-static" flag exists, but is broken.
 
13489
      lt_prog_compiler_static_CXX=
 
13490
      ;;
12872
13491
    interix[3-9]*)
12873
13492
      # Interix 3.x gcc -fpic/-fPIC options generate broken code.
12874
13493
      # Instead, we relocate shared libraries at runtime.
12918
13537
          ;;
12919
13538
        esac
12920
13539
        ;;
 
13540
      mingw* | cygwin* | os2* | pw32* | cegcc*)
 
13541
        # This hack is so that the source file can tell whether it is being
 
13542
        # built for inclusion in a dll (and should export symbols for example).
 
13543
        lt_prog_compiler_pic_CXX='-DDLL_EXPORT'
 
13544
        ;;
12921
13545
      dgux*)
12922
13546
        case $cc_basename in
12923
13547
          ec++*)
12974
13598
            ;;
12975
13599
        esac
12976
13600
        ;;
12977
 
      linux* | k*bsd*-gnu)
 
13601
      linux* | k*bsd*-gnu | kopensolaris*-gnu)
12978
13602
        case $cc_basename in
12979
13603
          KCC*)
12980
13604
            # KAI C++ Compiler
13007
13631
            lt_prog_compiler_pic_CXX=
13008
13632
            lt_prog_compiler_static_CXX='-non_shared'
13009
13633
            ;;
13010
 
          xlc* | xlC*)
13011
 
            # IBM XL 8.0 on PPC
 
13634
          xlc* | xlC* | bgxl[cC]* | mpixl[cC]*)
 
13635
            # IBM XL 8.0, 9.0 on PPC and BlueGene
13012
13636
            lt_prog_compiler_wl_CXX='-Wl,'
13013
13637
            lt_prog_compiler_pic_CXX='-qpic'
13014
13638
            lt_prog_compiler_static_CXX='-qstaticlink'
13070
13694
        ;;
13071
13695
      solaris*)
13072
13696
        case $cc_basename in
13073
 
          CC*)
 
13697
          CC* | sunCC*)
13074
13698
            # Sun C++ 4.2, 5.x and Centerline C++
13075
13699
            lt_prog_compiler_pic_CXX='-KPIC'
13076
13700
            lt_prog_compiler_static_CXX='-Bstatic'
13135
13759
    lt_prog_compiler_pic_CXX="$lt_prog_compiler_pic_CXX -DPIC"
13136
13760
    ;;
13137
13761
esac
13138
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_prog_compiler_pic_CXX" >&5
13139
 
$as_echo "$lt_prog_compiler_pic_CXX" >&6; }
13140
 
 
13141
 
 
 
13762
 
 
13763
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5
 
13764
$as_echo_n "checking for $compiler option to produce PIC... " >&6; }
 
13765
if ${lt_cv_prog_compiler_pic_CXX+:} false; then :
 
13766
  $as_echo_n "(cached) " >&6
 
13767
else
 
13768
  lt_cv_prog_compiler_pic_CXX=$lt_prog_compiler_pic_CXX
 
13769
fi
 
13770
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_CXX" >&5
 
13771
$as_echo "$lt_cv_prog_compiler_pic_CXX" >&6; }
 
13772
lt_prog_compiler_pic_CXX=$lt_cv_prog_compiler_pic_CXX
13142
13773
 
13143
13774
#
13144
13775
# Check to make sure the PIC flag actually works.
13146
13777
if test -n "$lt_prog_compiler_pic_CXX"; then
13147
13778
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler PIC flag $lt_prog_compiler_pic_CXX works" >&5
13148
13779
$as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic_CXX works... " >&6; }
13149
 
if test "${lt_cv_prog_compiler_pic_works_CXX+set}" = set; then :
 
13780
if ${lt_cv_prog_compiler_pic_works_CXX+:} false; then :
13150
13781
  $as_echo_n "(cached) " >&6
13151
13782
else
13152
13783
  lt_cv_prog_compiler_pic_works_CXX=no
13162
13793
   -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
13163
13794
   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
13164
13795
   -e 's:$: $lt_compiler_flag:'`
13165
 
   (eval echo "\"\$as_me:13165: $lt_compile\"" >&5)
 
13796
   (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
13166
13797
   (eval "$lt_compile" 2>conftest.err)
13167
13798
   ac_status=$?
13168
13799
   cat conftest.err >&5
13169
 
   echo "$as_me:13169: \$? = $ac_status" >&5
 
13800
   echo "$as_me:$LINENO: \$? = $ac_status" >&5
13170
13801
   if (exit $ac_status) && test -s "$ac_outfile"; then
13171
13802
     # The compiler can only warn and ignore the option if not recognized
13172
13803
     # So say no if there are warnings other than the usual output.
13173
 
     $ECHO "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' >conftest.exp
 
13804
     $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
13174
13805
     $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
13175
13806
     if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
13176
13807
       lt_cv_prog_compiler_pic_works_CXX=yes
13196
13827
 
13197
13828
 
13198
13829
 
 
13830
 
 
13831
 
13199
13832
#
13200
13833
# Check to make sure the static flag actually works.
13201
13834
#
13202
13835
wl=$lt_prog_compiler_wl_CXX eval lt_tmp_static_flag=\"$lt_prog_compiler_static_CXX\"
13203
13836
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler static flag $lt_tmp_static_flag works" >&5
13204
13837
$as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
13205
 
if test "${lt_cv_prog_compiler_static_works_CXX+set}" = set; then :
 
13838
if ${lt_cv_prog_compiler_static_works_CXX+:} false; then :
13206
13839
  $as_echo_n "(cached) " >&6
13207
13840
else
13208
13841
  lt_cv_prog_compiler_static_works_CXX=no
13215
13848
     if test -s conftest.err; then
13216
13849
       # Append any errors to the config.log.
13217
13850
       cat conftest.err 1>&5
13218
 
       $ECHO "X$_lt_linker_boilerplate" | $Xsed -e '/^$/d' > conftest.exp
 
13851
       $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
13219
13852
       $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
13220
13853
       if diff conftest.exp conftest.er2 >/dev/null; then
13221
13854
         lt_cv_prog_compiler_static_works_CXX=yes
13242
13875
 
13243
13876
    { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
13244
13877
$as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
13245
 
if test "${lt_cv_prog_compiler_c_o_CXX+set}" = set; then :
 
13878
if ${lt_cv_prog_compiler_c_o_CXX+:} false; then :
13246
13879
  $as_echo_n "(cached) " >&6
13247
13880
else
13248
13881
  lt_cv_prog_compiler_c_o_CXX=no
13261
13894
   -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
13262
13895
   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
13263
13896
   -e 's:$: $lt_compiler_flag:'`
13264
 
   (eval echo "\"\$as_me:13264: $lt_compile\"" >&5)
 
13897
   (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
13265
13898
   (eval "$lt_compile" 2>out/conftest.err)
13266
13899
   ac_status=$?
13267
13900
   cat out/conftest.err >&5
13268
 
   echo "$as_me:13268: \$? = $ac_status" >&5
 
13901
   echo "$as_me:$LINENO: \$? = $ac_status" >&5
13269
13902
   if (exit $ac_status) && test -s out/conftest2.$ac_objext
13270
13903
   then
13271
13904
     # The compiler can only warn and ignore the option if not recognized
13272
13905
     # So say no if there are warnings
13273
 
     $ECHO "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' > out/conftest.exp
 
13906
     $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
13274
13907
     $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
13275
13908
     if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
13276
13909
       lt_cv_prog_compiler_c_o_CXX=yes
13294
13927
 
13295
13928
    { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
13296
13929
$as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
13297
 
if test "${lt_cv_prog_compiler_c_o_CXX+set}" = set; then :
 
13930
if ${lt_cv_prog_compiler_c_o_CXX+:} false; then :
13298
13931
  $as_echo_n "(cached) " >&6
13299
13932
else
13300
13933
  lt_cv_prog_compiler_c_o_CXX=no
13313
13946
   -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
13314
13947
   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
13315
13948
   -e 's:$: $lt_compiler_flag:'`
13316
 
   (eval echo "\"\$as_me:13316: $lt_compile\"" >&5)
 
13949
   (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
13317
13950
   (eval "$lt_compile" 2>out/conftest.err)
13318
13951
   ac_status=$?
13319
13952
   cat out/conftest.err >&5
13320
 
   echo "$as_me:13320: \$? = $ac_status" >&5
 
13953
   echo "$as_me:$LINENO: \$? = $ac_status" >&5
13321
13954
   if (exit $ac_status) && test -s out/conftest2.$ac_objext
13322
13955
   then
13323
13956
     # The compiler can only warn and ignore the option if not recognized
13324
13957
     # So say no if there are warnings
13325
 
     $ECHO "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' > out/conftest.exp
 
13958
     $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
13326
13959
     $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
13327
13960
     if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
13328
13961
       lt_cv_prog_compiler_c_o_CXX=yes
13373
14006
$as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
13374
14007
 
13375
14008
  export_symbols_cmds_CXX='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
 
14009
  exclude_expsyms_CXX='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
13376
14010
  case $host_os in
13377
14011
  aix[4-9]*)
13378
14012
    # If we're using GNU nm, then we don't want the "-C" option.
13379
14013
    # -C means demangle to AIX nm, but means don't demangle with GNU nm
 
14014
    # Also, AIX nm treats weak defined symbols like other global defined
 
14015
    # symbols, whereas GNU nm marks them as "W".
13380
14016
    if $NM -V 2>&1 | $GREP 'GNU' > /dev/null; then
13381
 
      export_symbols_cmds_CXX='$NM -Bpg $libobjs $convenience | awk '\''{ if (((\$ 2 == "T") || (\$ 2 == "D") || (\$ 2 == "B")) && (substr(\$ 3,1,1) != ".")) { print \$ 3 } }'\'' | sort -u > $export_symbols'
 
14017
      export_symbols_cmds_CXX='$NM -Bpg $libobjs $convenience | awk '\''{ if (((\$ 2 == "T") || (\$ 2 == "D") || (\$ 2 == "B") || (\$ 2 == "W")) && (substr(\$ 3,1,1) != ".")) { print \$ 3 } }'\'' | sort -u > $export_symbols'
13382
14018
    else
13383
14019
      export_symbols_cmds_CXX='$NM -BCpg $libobjs $convenience | awk '\''{ if (((\$ 2 == "T") || (\$ 2 == "D") || (\$ 2 == "B")) && (substr(\$ 3,1,1) != ".")) { print \$ 3 } }'\'' | sort -u > $export_symbols'
13384
14020
    fi
13385
14021
    ;;
13386
14022
  pw32*)
13387
14023
    export_symbols_cmds_CXX="$ltdll_cmds"
13388
 
  ;;
 
14024
    ;;
13389
14025
  cygwin* | mingw* | cegcc*)
13390
 
    export_symbols_cmds_CXX='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1 DATA/;/^.*[ ]__nm__/s/^.*[ ]__nm__\([^ ]*\)[ ][^ ]*/\1 DATA/;/^I[ ]/d;/^[AITW][ ]/s/.* //'\'' | sort | uniq > $export_symbols'
13391
 
  ;;
13392
 
  linux* | k*bsd*-gnu)
 
14026
    case $cc_basename in
 
14027
    cl*)
 
14028
      exclude_expsyms_CXX='_NULL_IMPORT_DESCRIPTOR|_IMPORT_DESCRIPTOR_.*'
 
14029
      ;;
 
14030
    *)
 
14031
      export_symbols_cmds_CXX='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1 DATA/;s/^.*[ ]__nm__\([^ ]*\)[ ][^ ]*/\1 DATA/;/^I[ ]/d;/^[AITW][ ]/s/.* //'\'' | sort | uniq > $export_symbols'
 
14032
      exclude_expsyms_CXX='[_]+GLOBAL_OFFSET_TABLE_|[_]+GLOBAL__[FID]_.*|[_]+head_[A-Za-z0-9_]+_dll|[A-Za-z0-9_]+_dll_iname'
 
14033
      ;;
 
14034
    esac
 
14035
    ;;
 
14036
  linux* | k*bsd*-gnu | gnu*)
13393
14037
    link_all_deplibs_CXX=no
13394
 
  ;;
 
14038
    ;;
13395
14039
  *)
13396
14040
    export_symbols_cmds_CXX='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
13397
 
  ;;
 
14041
    ;;
13398
14042
  esac
13399
 
  exclude_expsyms_CXX='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
13400
14043
 
13401
14044
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs_CXX" >&5
13402
14045
$as_echo "$ld_shlibs_CXX" >&6; }
13428
14071
      # to ld, don't add -lc before -lgcc.
13429
14072
      { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5
13430
14073
$as_echo_n "checking whether -lc should be explicitly linked in... " >&6; }
13431
 
      $RM conftest*
13432
 
      echo "$lt_simple_compile_test_code" > conftest.$ac_ext
 
14074
if ${lt_cv_archive_cmds_need_lc_CXX+:} false; then :
 
14075
  $as_echo_n "(cached) " >&6
 
14076
else
 
14077
  $RM conftest*
 
14078
        echo "$lt_simple_compile_test_code" > conftest.$ac_ext
13433
14079
 
13434
 
      if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
 
14080
        if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
13435
14081
  (eval $ac_compile) 2>&5
13436
14082
  ac_status=$?
13437
14083
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13438
14084
  test $ac_status = 0; } 2>conftest.err; then
13439
 
        soname=conftest
13440
 
        lib=conftest
13441
 
        libobjs=conftest.$ac_objext
13442
 
        deplibs=
13443
 
        wl=$lt_prog_compiler_wl_CXX
13444
 
        pic_flag=$lt_prog_compiler_pic_CXX
13445
 
        compiler_flags=-v
13446
 
        linker_flags=-v
13447
 
        verstring=
13448
 
        output_objdir=.
13449
 
        libname=conftest
13450
 
        lt_save_allow_undefined_flag=$allow_undefined_flag_CXX
13451
 
        allow_undefined_flag_CXX=
13452
 
        if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds_CXX 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5
 
14085
          soname=conftest
 
14086
          lib=conftest
 
14087
          libobjs=conftest.$ac_objext
 
14088
          deplibs=
 
14089
          wl=$lt_prog_compiler_wl_CXX
 
14090
          pic_flag=$lt_prog_compiler_pic_CXX
 
14091
          compiler_flags=-v
 
14092
          linker_flags=-v
 
14093
          verstring=
 
14094
          output_objdir=.
 
14095
          libname=conftest
 
14096
          lt_save_allow_undefined_flag=$allow_undefined_flag_CXX
 
14097
          allow_undefined_flag_CXX=
 
14098
          if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds_CXX 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5
13453
14099
  (eval $archive_cmds_CXX 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1) 2>&5
13454
14100
  ac_status=$?
13455
14101
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13456
14102
  test $ac_status = 0; }
13457
 
        then
13458
 
          archive_cmds_need_lc_CXX=no
13459
 
        else
13460
 
          archive_cmds_need_lc_CXX=yes
13461
 
        fi
13462
 
        allow_undefined_flag_CXX=$lt_save_allow_undefined_flag
13463
 
      else
13464
 
        cat conftest.err 1>&5
13465
 
      fi
13466
 
      $RM conftest*
13467
 
      { $as_echo "$as_me:${as_lineno-$LINENO}: result: $archive_cmds_need_lc_CXX" >&5
13468
 
$as_echo "$archive_cmds_need_lc_CXX" >&6; }
 
14103
          then
 
14104
            lt_cv_archive_cmds_need_lc_CXX=no
 
14105
          else
 
14106
            lt_cv_archive_cmds_need_lc_CXX=yes
 
14107
          fi
 
14108
          allow_undefined_flag_CXX=$lt_save_allow_undefined_flag
 
14109
        else
 
14110
          cat conftest.err 1>&5
 
14111
        fi
 
14112
        $RM conftest*
 
14113
 
 
14114
fi
 
14115
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_archive_cmds_need_lc_CXX" >&5
 
14116
$as_echo "$lt_cv_archive_cmds_need_lc_CXX" >&6; }
 
14117
      archive_cmds_need_lc_CXX=$lt_cv_archive_cmds_need_lc_CXX
13469
14118
      ;;
13470
14119
    esac
13471
14120
  fi
13533
14182
 
13534
14183
 
13535
14184
 
13536
 
 
13537
 
 
13538
14185
    { $as_echo "$as_me:${as_lineno-$LINENO}: checking dynamic linker characteristics" >&5
13539
14186
$as_echo_n "checking dynamic linker characteristics... " >&6; }
13540
14187
 
13560
14207
 
13561
14208
case $host_os in
13562
14209
aix3*)
13563
 
  version_type=linux
 
14210
  version_type=linux # correct to gnu/linux during the next big refactor
13564
14211
  library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a'
13565
14212
  shlibpath_var=LIBPATH
13566
14213
 
13569
14216
  ;;
13570
14217
 
13571
14218
aix[4-9]*)
13572
 
  version_type=linux
 
14219
  version_type=linux # correct to gnu/linux during the next big refactor
13573
14220
  need_lib_prefix=no
13574
14221
  need_version=no
13575
14222
  hardcode_into_libs=yes
13622
14269
  m68k)
13623
14270
    library_names_spec='$libname.ixlibrary $libname.a'
13624
14271
    # Create ${libname}_ixlibrary.a entries in /sys/libs.
13625
 
    finish_eval='for lib in `ls $libdir/*.ixlibrary 2>/dev/null`; do libname=`$ECHO "X$lib" | $Xsed -e '\''s%^.*/\([^/]*\)\.ixlibrary$%\1%'\''`; test $RM /sys/libs/${libname}_ixlibrary.a; $show "cd /sys/libs && $LN_S $lib ${libname}_ixlibrary.a"; cd /sys/libs && $LN_S $lib ${libname}_ixlibrary.a || exit 1; done'
 
14272
    finish_eval='for lib in `ls $libdir/*.ixlibrary 2>/dev/null`; do libname=`func_echo_all "$lib" | $SED '\''s%^.*/\([^/]*\)\.ixlibrary$%\1%'\''`; test $RM /sys/libs/${libname}_ixlibrary.a; $show "cd /sys/libs && $LN_S $lib ${libname}_ixlibrary.a"; cd /sys/libs && $LN_S $lib ${libname}_ixlibrary.a || exit 1; done'
13626
14273
    ;;
13627
14274
  esac
13628
14275
  ;;
13634
14281
  ;;
13635
14282
 
13636
14283
bsdi[45]*)
13637
 
  version_type=linux
 
14284
  version_type=linux # correct to gnu/linux during the next big refactor
13638
14285
  need_version=no
13639
14286
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
13640
14287
  soname_spec='${libname}${release}${shared_ext}$major'
13653
14300
  need_version=no
13654
14301
  need_lib_prefix=no
13655
14302
 
13656
 
  case $GCC,$host_os in
13657
 
  yes,cygwin* | yes,mingw* | yes,pw32* | yes,cegcc*)
 
14303
  case $GCC,$cc_basename in
 
14304
  yes,*)
 
14305
    # gcc
13658
14306
    library_names_spec='$libname.dll.a'
13659
14307
    # DLL is installed to $(libdir)/../bin by postinstall_cmds
13660
14308
    postinstall_cmds='base_file=`basename \${file}`~
13675
14323
    cygwin*)
13676
14324
      # Cygwin DLLs use 'cyg' prefix rather than 'lib'
13677
14325
      soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
13678
 
      sys_lib_search_path_spec="/usr/lib /lib/w32api /lib /usr/local/lib"
 
14326
 
13679
14327
      ;;
13680
14328
    mingw* | cegcc*)
13681
14329
      # MinGW DLLs use traditional 'lib' prefix
13682
14330
      soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
13683
 
      sys_lib_search_path_spec=`$CC -print-search-dirs | $GREP "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
13684
 
      if $ECHO "$sys_lib_search_path_spec" | $GREP ';[c-zC-Z]:/' >/dev/null; then
13685
 
        # It is most probably a Windows format PATH printed by
13686
 
        # mingw gcc, but we are running on Cygwin. Gcc prints its search
13687
 
        # path with ; separators, and with drive letters. We can handle the
13688
 
        # drive letters (cygwin fileutils understands them), so leave them,
13689
 
        # especially as we might pass files found there to a mingw objdump,
13690
 
        # which wouldn't understand a cygwinified path. Ahh.
13691
 
        sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
13692
 
      else
13693
 
        sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED  -e "s/$PATH_SEPARATOR/ /g"`
13694
 
      fi
13695
14331
      ;;
13696
14332
    pw32*)
13697
14333
      # pw32 DLLs use 'pw' prefix rather than 'lib'
13698
14334
      library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
13699
14335
      ;;
13700
14336
    esac
 
14337
    dynamic_linker='Win32 ld.exe'
 
14338
    ;;
 
14339
 
 
14340
  *,cl*)
 
14341
    # Native MSVC
 
14342
    libname_spec='$name'
 
14343
    soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
 
14344
    library_names_spec='${libname}.dll.lib'
 
14345
 
 
14346
    case $build_os in
 
14347
    mingw*)
 
14348
      sys_lib_search_path_spec=
 
14349
      lt_save_ifs=$IFS
 
14350
      IFS=';'
 
14351
      for lt_path in $LIB
 
14352
      do
 
14353
        IFS=$lt_save_ifs
 
14354
        # Let DOS variable expansion print the short 8.3 style file name.
 
14355
        lt_path=`cd "$lt_path" 2>/dev/null && cmd //C "for %i in (".") do @echo %~si"`
 
14356
        sys_lib_search_path_spec="$sys_lib_search_path_spec $lt_path"
 
14357
      done
 
14358
      IFS=$lt_save_ifs
 
14359
      # Convert to MSYS style.
 
14360
      sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | sed -e 's|\\\\|/|g' -e 's| \\([a-zA-Z]\\):| /\\1|g' -e 's|^ ||'`
 
14361
      ;;
 
14362
    cygwin*)
 
14363
      # Convert to unix form, then to dos form, then back to unix form
 
14364
      # but this time dos style (no spaces!) so that the unix form looks
 
14365
      # like /cygdrive/c/PROGRA~1:/cygdr...
 
14366
      sys_lib_search_path_spec=`cygpath --path --unix "$LIB"`
 
14367
      sys_lib_search_path_spec=`cygpath --path --dos "$sys_lib_search_path_spec" 2>/dev/null`
 
14368
      sys_lib_search_path_spec=`cygpath --path --unix "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
 
14369
      ;;
 
14370
    *)
 
14371
      sys_lib_search_path_spec="$LIB"
 
14372
      if $ECHO "$sys_lib_search_path_spec" | $GREP ';[c-zC-Z]:/' >/dev/null; then
 
14373
        # It is most probably a Windows format PATH.
 
14374
        sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
 
14375
      else
 
14376
        sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
 
14377
      fi
 
14378
      # FIXME: find the short name or the path components, as spaces are
 
14379
      # common. (e.g. "Program Files" -> "PROGRA~1")
 
14380
      ;;
 
14381
    esac
 
14382
 
 
14383
    # DLL is installed to $(libdir)/../bin by postinstall_cmds
 
14384
    postinstall_cmds='base_file=`basename \${file}`~
 
14385
      dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
 
14386
      dldir=$destdir/`dirname \$dlpath`~
 
14387
      test -d \$dldir || mkdir -p \$dldir~
 
14388
      $install_prog $dir/$dlname \$dldir/$dlname'
 
14389
    postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
 
14390
      dlpath=$dir/\$dldll~
 
14391
       $RM \$dlpath'
 
14392
    shlibpath_overrides_runpath=yes
 
14393
    dynamic_linker='Win32 link.exe'
13701
14394
    ;;
13702
14395
 
13703
14396
  *)
 
14397
    # Assume MSVC wrapper
13704
14398
    library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
 
14399
    dynamic_linker='Win32 ld.exe'
13705
14400
    ;;
13706
14401
  esac
13707
 
  dynamic_linker='Win32 ld.exe'
13708
14402
  # FIXME: first we should search . and the directory the executable is in
13709
14403
  shlibpath_var=PATH
13710
14404
  ;;
13724
14418
  ;;
13725
14419
 
13726
14420
dgux*)
13727
 
  version_type=linux
 
14421
  version_type=linux # correct to gnu/linux during the next big refactor
13728
14422
  need_lib_prefix=no
13729
14423
  need_version=no
13730
14424
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
13732
14426
  shlibpath_var=LD_LIBRARY_PATH
13733
14427
  ;;
13734
14428
 
13735
 
freebsd1*)
13736
 
  dynamic_linker=no
13737
 
  ;;
13738
 
 
13739
14429
freebsd* | dragonfly*)
13740
14430
  # DragonFly does not have aout.  When/if they implement a new
13741
14431
  # versioning mechanism, adjust this.
13743
14433
    objformat=`/usr/bin/objformat`
13744
14434
  else
13745
14435
    case $host_os in
13746
 
    freebsd[123]*) objformat=aout ;;
 
14436
    freebsd[23].*) objformat=aout ;;
13747
14437
    *) objformat=elf ;;
13748
14438
    esac
13749
14439
  fi
13761
14451
  esac
13762
14452
  shlibpath_var=LD_LIBRARY_PATH
13763
14453
  case $host_os in
13764
 
  freebsd2*)
 
14454
  freebsd2.*)
13765
14455
    shlibpath_overrides_runpath=yes
13766
14456
    ;;
13767
14457
  freebsd3.[01]* | freebsdelf3.[01]*)
13781
14471
  ;;
13782
14472
 
13783
14473
gnu*)
13784
 
  version_type=linux
 
14474
  version_type=linux # correct to gnu/linux during the next big refactor
13785
14475
  need_lib_prefix=no
13786
14476
  need_version=no
13787
14477
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
13788
14478
  soname_spec='${libname}${release}${shared_ext}$major'
13789
14479
  shlibpath_var=LD_LIBRARY_PATH
 
14480
  shlibpath_overrides_runpath=no
 
14481
  hardcode_into_libs=yes
 
14482
  ;;
 
14483
 
 
14484
haiku*)
 
14485
  version_type=linux # correct to gnu/linux during the next big refactor
 
14486
  need_lib_prefix=no
 
14487
  need_version=no
 
14488
  dynamic_linker="$host_os runtime_loader"
 
14489
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
 
14490
  soname_spec='${libname}${release}${shared_ext}$major'
 
14491
  shlibpath_var=LIBRARY_PATH
 
14492
  shlibpath_overrides_runpath=yes
 
14493
  sys_lib_dlsearch_path_spec='/boot/home/config/lib /boot/common/lib /boot/system/lib'
13790
14494
  hardcode_into_libs=yes
13791
14495
  ;;
13792
14496
 
13832
14536
    soname_spec='${libname}${release}${shared_ext}$major'
13833
14537
    ;;
13834
14538
  esac
13835
 
  # HP-UX runs *really* slowly unless shared libraries are mode 555.
 
14539
  # HP-UX runs *really* slowly unless shared libraries are mode 555, ...
13836
14540
  postinstall_cmds='chmod 555 $lib'
 
14541
  # or fails outright, so override atomically:
 
14542
  install_override_mode=555
13837
14543
  ;;
13838
14544
 
13839
14545
interix[3-9]*)
13840
 
  version_type=linux
 
14546
  version_type=linux # correct to gnu/linux during the next big refactor
13841
14547
  need_lib_prefix=no
13842
14548
  need_version=no
13843
14549
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
13853
14559
    nonstopux*) version_type=nonstopux ;;
13854
14560
    *)
13855
14561
        if test "$lt_cv_prog_gnu_ld" = yes; then
13856
 
                version_type=linux
 
14562
                version_type=linux # correct to gnu/linux during the next big refactor
13857
14563
        else
13858
14564
                version_type=irix
13859
14565
        fi ;;
13890
14596
  dynamic_linker=no
13891
14597
  ;;
13892
14598
 
13893
 
# This must be Linux ELF.
13894
 
linux* | k*bsd*-gnu)
13895
 
  version_type=linux
 
14599
# This must be glibc/ELF.
 
14600
linux* | k*bsd*-gnu | kopensolaris*-gnu)
 
14601
  version_type=linux # correct to gnu/linux during the next big refactor
13896
14602
  need_lib_prefix=no
13897
14603
  need_version=no
13898
14604
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
13900
14606
  finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
13901
14607
  shlibpath_var=LD_LIBRARY_PATH
13902
14608
  shlibpath_overrides_runpath=no
 
14609
 
13903
14610
  # Some binutils ld are patched to set DT_RUNPATH
13904
 
  save_LDFLAGS=$LDFLAGS
13905
 
  save_libdir=$libdir
13906
 
  eval "libdir=/foo; wl=\"$lt_prog_compiler_wl_CXX\"; \
13907
 
       LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec_CXX\""
13908
 
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 
14611
  if ${lt_cv_shlibpath_overrides_runpath+:} false; then :
 
14612
  $as_echo_n "(cached) " >&6
 
14613
else
 
14614
  lt_cv_shlibpath_overrides_runpath=no
 
14615
    save_LDFLAGS=$LDFLAGS
 
14616
    save_libdir=$libdir
 
14617
    eval "libdir=/foo; wl=\"$lt_prog_compiler_wl_CXX\"; \
 
14618
         LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec_CXX\""
 
14619
    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13909
14620
/* end confdefs.h.  */
13910
14621
 
13911
14622
int
13918
14629
_ACEOF
13919
14630
if ac_fn_cxx_try_link "$LINENO"; then :
13920
14631
  if  ($OBJDUMP -p conftest$ac_exeext) 2>/dev/null | grep "RUNPATH.*$libdir" >/dev/null; then :
13921
 
  shlibpath_overrides_runpath=yes
 
14632
  lt_cv_shlibpath_overrides_runpath=yes
13922
14633
fi
13923
14634
fi
13924
14635
rm -f core conftest.err conftest.$ac_objext \
13925
14636
    conftest$ac_exeext conftest.$ac_ext
13926
 
  LDFLAGS=$save_LDFLAGS
13927
 
  libdir=$save_libdir
 
14637
    LDFLAGS=$save_LDFLAGS
 
14638
    libdir=$save_libdir
 
14639
 
 
14640
fi
 
14641
 
 
14642
  shlibpath_overrides_runpath=$lt_cv_shlibpath_overrides_runpath
13928
14643
 
13929
14644
  # This implies no fast_install, which is unacceptable.
13930
14645
  # Some rework will be needed to allow for fast_install
13933
14648
 
13934
14649
  # Append ld.so.conf contents to the search path
13935
14650
  if test -f /etc/ld.so.conf; then
13936
 
    lt_ld_extra=`awk '/^include / { system(sprintf("cd /etc; cat %s 2>/dev/null", \$2)); skip = 1; } { if (!skip) print \$0; skip = 0; }' < /etc/ld.so.conf | $SED -e 's/#.*//;/^[       ]*hwcap[        ]/d;s/[:,      ]/ /g;s/=[^=]*$//;s/=[^= ]* / /g;/^$/d' | tr '\n' ' '`
 
14651
    lt_ld_extra=`awk '/^include / { system(sprintf("cd /etc; cat %s 2>/dev/null", \$2)); skip = 1; } { if (!skip) print \$0; skip = 0; }' < /etc/ld.so.conf | $SED -e 's/#.*//;/^[       ]*hwcap[        ]/d;s/[:,      ]/ /g;s/=[^=]*$//;s/=[^= ]* / /g;s/"//g;/^$/d' | tr '\n' ' '`
13937
14652
    sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra"
13938
14653
  fi
13939
14654
 
13977
14692
  ;;
13978
14693
 
13979
14694
newsos6)
13980
 
  version_type=linux
 
14695
  version_type=linux # correct to gnu/linux during the next big refactor
13981
14696
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
13982
14697
  shlibpath_var=LD_LIBRARY_PATH
13983
14698
  shlibpath_overrides_runpath=yes
14046
14761
  ;;
14047
14762
 
14048
14763
solaris*)
14049
 
  version_type=linux
 
14764
  version_type=linux # correct to gnu/linux during the next big refactor
14050
14765
  need_lib_prefix=no
14051
14766
  need_version=no
14052
14767
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14071
14786
  ;;
14072
14787
 
14073
14788
sysv4 | sysv4.3*)
14074
 
  version_type=linux
 
14789
  version_type=linux # correct to gnu/linux during the next big refactor
14075
14790
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14076
14791
  soname_spec='${libname}${release}${shared_ext}$major'
14077
14792
  shlibpath_var=LD_LIBRARY_PATH
14095
14810
 
14096
14811
sysv4*MP*)
14097
14812
  if test -d /usr/nec ;then
14098
 
    version_type=linux
 
14813
    version_type=linux # correct to gnu/linux during the next big refactor
14099
14814
    library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
14100
14815
    soname_spec='$libname${shared_ext}.$major'
14101
14816
    shlibpath_var=LD_LIBRARY_PATH
14126
14841
 
14127
14842
tpf*)
14128
14843
  # TPF is a cross-target only.  Preferred cross-host = GNU/Linux.
14129
 
  version_type=linux
 
14844
  version_type=linux # correct to gnu/linux during the next big refactor
14130
14845
  need_lib_prefix=no
14131
14846
  need_version=no
14132
14847
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14136
14851
  ;;
14137
14852
 
14138
14853
uts4*)
14139
 
  version_type=linux
 
14854
  version_type=linux # correct to gnu/linux during the next big refactor
14140
14855
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14141
14856
  soname_spec='${libname}${release}${shared_ext}$major'
14142
14857
  shlibpath_var=LD_LIBRARY_PATH
14197
14912
 
14198
14913
 
14199
14914
 
 
14915
 
 
14916
 
14200
14917
    { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to hardcode library paths into programs" >&5
14201
14918
$as_echo_n "checking how to hardcode library paths into programs... " >&6; }
14202
14919
hardcode_action_CXX=
14244
14961
  fi # test -n "$compiler"
14245
14962
 
14246
14963
  CC=$lt_save_CC
 
14964
  CFLAGS=$lt_save_CFLAGS
14247
14965
  LDCXX=$LD
14248
14966
  LD=$lt_save_LD
14249
14967
  GCC=$lt_save_GCC
14272
14990
 
14273
14991
 
14274
14992
 
 
14993
 
 
14994
 
14275
14995
        ac_config_commands="$ac_config_commands libtool"
14276
14996
 
14277
14997
 
14281
15001
 
14282
15002
 
14283
15003
 
14284
 
 
14285
15004
# checks for libraries.
 
15005
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for main in -lboost_filesystem-mt" >&5
 
15006
$as_echo_n "checking for main in -lboost_filesystem-mt... " >&6; }
 
15007
if ${ac_cv_lib_boost_filesystem_mt_main+:} false; then :
 
15008
  $as_echo_n "(cached) " >&6
 
15009
else
 
15010
  ac_check_lib_save_LIBS=$LIBS
 
15011
LIBS="-lboost_filesystem-mt  $LIBS"
 
15012
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 
15013
/* end confdefs.h.  */
 
15014
 
 
15015
 
 
15016
int
 
15017
main ()
 
15018
{
 
15019
return main ();
 
15020
  ;
 
15021
  return 0;
 
15022
}
 
15023
_ACEOF
 
15024
if ac_fn_c_try_link "$LINENO"; then :
 
15025
  ac_cv_lib_boost_filesystem_mt_main=yes
 
15026
else
 
15027
  ac_cv_lib_boost_filesystem_mt_main=no
 
15028
fi
 
15029
rm -f core conftest.err conftest.$ac_objext \
 
15030
    conftest$ac_exeext conftest.$ac_ext
 
15031
LIBS=$ac_check_lib_save_LIBS
 
15032
fi
 
15033
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_boost_filesystem_mt_main" >&5
 
15034
$as_echo "$ac_cv_lib_boost_filesystem_mt_main" >&6; }
 
15035
if test "x$ac_cv_lib_boost_filesystem_mt_main" = xyes; then :
 
15036
  cat >>confdefs.h <<_ACEOF
 
15037
#define HAVE_LIBBOOST_FILESYSTEM_MT 1
 
15038
_ACEOF
 
15039
 
 
15040
  LIBS="-lboost_filesystem-mt $LIBS"
 
15041
 
 
15042
else
 
15043
  { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Unable to find Boost Filesystem library - the library tests may not compile!" >&5
 
15044
$as_echo "$as_me: WARNING: Unable to find Boost Filesystem library - the library tests may not compile!" >&2;}
 
15045
fi
 
15046
 
 
15047
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for main in -lboost_thread-mt" >&5
 
15048
$as_echo_n "checking for main in -lboost_thread-mt... " >&6; }
 
15049
if ${ac_cv_lib_boost_thread_mt_main+:} false; then :
 
15050
  $as_echo_n "(cached) " >&6
 
15051
else
 
15052
  ac_check_lib_save_LIBS=$LIBS
 
15053
LIBS="-lboost_thread-mt  $LIBS"
 
15054
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 
15055
/* end confdefs.h.  */
 
15056
 
 
15057
 
 
15058
int
 
15059
main ()
 
15060
{
 
15061
return main ();
 
15062
  ;
 
15063
  return 0;
 
15064
}
 
15065
_ACEOF
 
15066
if ac_fn_c_try_link "$LINENO"; then :
 
15067
  ac_cv_lib_boost_thread_mt_main=yes
 
15068
else
 
15069
  ac_cv_lib_boost_thread_mt_main=no
 
15070
fi
 
15071
rm -f core conftest.err conftest.$ac_objext \
 
15072
    conftest$ac_exeext conftest.$ac_ext
 
15073
LIBS=$ac_check_lib_save_LIBS
 
15074
fi
 
15075
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_boost_thread_mt_main" >&5
 
15076
$as_echo "$ac_cv_lib_boost_thread_mt_main" >&6; }
 
15077
if test "x$ac_cv_lib_boost_thread_mt_main" = xyes; then :
 
15078
  cat >>confdefs.h <<_ACEOF
 
15079
#define HAVE_LIBBOOST_THREAD_MT 1
 
15080
_ACEOF
 
15081
 
 
15082
  LIBS="-lboost_thread-mt $LIBS"
 
15083
 
 
15084
else
 
15085
  as_fn_error $? "Unable to find Boost Thread library" "$LINENO" 5
 
15086
fi
 
15087
 
 
15088
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqlite3_initialize in -lsqlite3" >&5
 
15089
$as_echo_n "checking for sqlite3_initialize in -lsqlite3... " >&6; }
 
15090
if ${ac_cv_lib_sqlite3_sqlite3_initialize+:} false; then :
 
15091
  $as_echo_n "(cached) " >&6
 
15092
else
 
15093
  ac_check_lib_save_LIBS=$LIBS
 
15094
LIBS="-lsqlite3  $LIBS"
 
15095
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 
15096
/* end confdefs.h.  */
 
15097
 
 
15098
/* Override any GCC internal prototype to avoid an error.
 
15099
   Use char because int might match the return type of a GCC
 
15100
   builtin and then its argument prototype would still apply.  */
 
15101
#ifdef __cplusplus
 
15102
extern "C"
 
15103
#endif
 
15104
char sqlite3_initialize ();
 
15105
int
 
15106
main ()
 
15107
{
 
15108
return sqlite3_initialize ();
 
15109
  ;
 
15110
  return 0;
 
15111
}
 
15112
_ACEOF
 
15113
if ac_fn_c_try_link "$LINENO"; then :
 
15114
  ac_cv_lib_sqlite3_sqlite3_initialize=yes
 
15115
else
 
15116
  ac_cv_lib_sqlite3_sqlite3_initialize=no
 
15117
fi
 
15118
rm -f core conftest.err conftest.$ac_objext \
 
15119
    conftest$ac_exeext conftest.$ac_ext
 
15120
LIBS=$ac_check_lib_save_LIBS
 
15121
fi
 
15122
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_sqlite3_sqlite3_initialize" >&5
 
15123
$as_echo "$ac_cv_lib_sqlite3_sqlite3_initialize" >&6; }
 
15124
if test "x$ac_cv_lib_sqlite3_sqlite3_initialize" = xyes; then :
 
15125
  cat >>confdefs.h <<_ACEOF
 
15126
#define HAVE_LIBSQLITE3 1
 
15127
_ACEOF
 
15128
 
 
15129
  LIBS="-lsqlite3 $LIBS"
 
15130
 
 
15131
else
 
15132
  as_fn_error $? "Unable to find SQLite3 library" "$LINENO" 5
 
15133
fi
 
15134
 
14286
15135
 
14287
15136
# checks for header files.
14288
15137
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
14289
15138
$as_echo_n "checking for ANSI C header files... " >&6; }
14290
 
if test "${ac_cv_header_stdc+set}" = set; then :
 
15139
if ${ac_cv_header_stdc+:} false; then :
14291
15140
  $as_echo_n "(cached) " >&6
14292
15141
else
14293
15142
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14400
15249
for ac_header in string.h
14401
15250
do :
14402
15251
  ac_fn_c_check_header_mongrel "$LINENO" "string.h" "ac_cv_header_string_h" "$ac_includes_default"
14403
 
if test "x$ac_cv_header_string_h" = x""yes; then :
 
15252
if test "x$ac_cv_header_string_h" = xyes; then :
14404
15253
  cat >>confdefs.h <<_ACEOF
14405
15254
#define HAVE_STRING_H 1
14406
15255
_ACEOF
14414
15263
 
14415
15264
# checks for library functions.
14416
15265
 
14417
 
ac_config_files="$ac_config_files Makefile src/Makefile test/Makefile"
 
15266
ac_config_files="$ac_config_files Makefile src/Makefile include/Makefile test/Makefile"
14418
15267
 
14419
15268
cat >confcache <<\_ACEOF
14420
15269
# This file is a shell script that caches the results of configure
14480
15329
     :end' >>confcache
14481
15330
if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
14482
15331
  if test -w "$cache_file"; then
14483
 
    test "x$cache_file" != "x/dev/null" &&
 
15332
    if test "x$cache_file" != "x/dev/null"; then
14484
15333
      { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
14485
15334
$as_echo "$as_me: updating cache $cache_file" >&6;}
14486
 
    cat confcache >$cache_file
 
15335
      if test ! -f "$cache_file" || test -h "$cache_file"; then
 
15336
        cat confcache >"$cache_file"
 
15337
      else
 
15338
        case $cache_file in #(
 
15339
        */* | ?:*)
 
15340
          mv -f confcache "$cache_file"$$ &&
 
15341
          mv -f "$cache_file"$$ "$cache_file" ;; #(
 
15342
        *)
 
15343
          mv -f confcache "$cache_file" ;;
 
15344
        esac
 
15345
      fi
 
15346
    fi
14487
15347
  else
14488
15348
    { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
14489
15349
$as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
14499
15359
 
14500
15360
ac_libobjs=
14501
15361
ac_ltlibobjs=
 
15362
U=
14502
15363
for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
14503
15364
  # 1. Remove the extension, and $U if already installed.
14504
15365
  ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
14522
15383
fi
14523
15384
 
14524
15385
if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
14525
 
  as_fn_error "conditional \"AMDEP\" was never defined.
 
15386
  as_fn_error $? "conditional \"AMDEP\" was never defined.
14526
15387
Usually this means the macro was only invoked conditionally." "$LINENO" 5
14527
15388
fi
14528
15389
if test -z "${am__fastdepCXX_TRUE}" && test -z "${am__fastdepCXX_FALSE}"; then
14529
 
  as_fn_error "conditional \"am__fastdepCXX\" was never defined.
 
15390
  as_fn_error $? "conditional \"am__fastdepCXX\" was never defined.
14530
15391
Usually this means the macro was only invoked conditionally." "$LINENO" 5
14531
15392
fi
14532
15393
if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
14533
 
  as_fn_error "conditional \"am__fastdepCC\" was never defined.
14534
 
Usually this means the macro was only invoked conditionally." "$LINENO" 5
14535
 
fi
14536
 
if test -z "${am__fastdepCXX_TRUE}" && test -z "${am__fastdepCXX_FALSE}"; then
14537
 
  as_fn_error "conditional \"am__fastdepCXX\" was never defined.
 
15394
  as_fn_error $? "conditional \"am__fastdepCC\" was never defined.
14538
15395
Usually this means the macro was only invoked conditionally." "$LINENO" 5
14539
15396
fi
14540
15397
 
14541
 
: ${CONFIG_STATUS=./config.status}
 
15398
: "${CONFIG_STATUS=./config.status}"
14542
15399
ac_write_fail=0
14543
15400
ac_clean_files_save=$ac_clean_files
14544
15401
ac_clean_files="$ac_clean_files $CONFIG_STATUS"
14639
15496
IFS=" ""        $as_nl"
14640
15497
 
14641
15498
# Find who we are.  Look in the path if we contain no directory separator.
 
15499
as_myself=
14642
15500
case $0 in #((
14643
15501
  *[\\/]* ) as_myself=$0 ;;
14644
15502
  *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
14684
15542
(unset CDPATH) >/dev/null 2>&1 && unset CDPATH
14685
15543
 
14686
15544
 
14687
 
# as_fn_error ERROR [LINENO LOG_FD]
14688
 
# ---------------------------------
 
15545
# as_fn_error STATUS ERROR [LINENO LOG_FD]
 
15546
# ----------------------------------------
14689
15547
# Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
14690
15548
# provided, also output the error to LOG_FD, referencing LINENO. Then exit the
14691
 
# script with status $?, using 1 if that was 0.
 
15549
# script with STATUS, using 1 if that was 0.
14692
15550
as_fn_error ()
14693
15551
{
14694
 
  as_status=$?; test $as_status -eq 0 && as_status=1
14695
 
  if test "$3"; then
14696
 
    as_lineno=${as_lineno-"$2"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
14697
 
    $as_echo "$as_me:${as_lineno-$LINENO}: error: $1" >&$3
 
15552
  as_status=$1; test $as_status -eq 0 && as_status=1
 
15553
  if test "$4"; then
 
15554
    as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
 
15555
    $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
14698
15556
  fi
14699
 
  $as_echo "$as_me: error: $1" >&2
 
15557
  $as_echo "$as_me: error: $2" >&2
14700
15558
  as_fn_exit $as_status
14701
15559
} # as_fn_error
14702
15560
 
14892
15750
      test -d "$as_dir" && break
14893
15751
    done
14894
15752
    test -z "$as_dirs" || eval "mkdir $as_dirs"
14895
 
  } || test -d "$as_dir" || as_fn_error "cannot create directory $as_dir"
 
15753
  } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
14896
15754
 
14897
15755
 
14898
15756
} # as_fn_mkdir_p
14945
15803
# report actual input values of CONFIG_FILES etc. instead of their
14946
15804
# values after options handling.
14947
15805
ac_log="
14948
 
This file was extended by sqlite3cc $as_me 0.1.0, which was
14949
 
generated by GNU Autoconf 2.64.  Invocation command line was
 
15806
This file was extended by sqlite3cc $as_me 0.1, which was
 
15807
generated by GNU Autoconf 2.68.  Invocation command line was
14950
15808
 
14951
15809
  CONFIG_FILES    = $CONFIG_FILES
14952
15810
  CONFIG_HEADERS  = $CONFIG_HEADERS
14986
15844
 
14987
15845
  -h, --help       print this help, then exit
14988
15846
  -V, --version    print version number and configuration settings, then exit
 
15847
      --config     print configuration, then exit
14989
15848
  -q, --quiet, --silent
14990
15849
                   do not print progress messages
14991
15850
  -d, --debug      don't remove temporary files
15004
15863
Configuration commands:
15005
15864
$config_commands
15006
15865
 
15007
 
Report bugs to <edam@waxworlds.org>."
 
15866
Report bugs to <tim@ed.am>.
 
15867
sqlite3cc home page: <http://ed.am/dev/sqlite3cc>."
15008
15868
 
15009
15869
_ACEOF
15010
15870
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
 
15871
ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
15011
15872
ac_cs_version="\\
15012
 
sqlite3cc config.status 0.1.0
15013
 
configured by $0, generated by GNU Autoconf 2.64,
15014
 
  with options \\"`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`\\"
 
15873
sqlite3cc config.status 0.1
 
15874
configured by $0, generated by GNU Autoconf 2.68,
 
15875
  with options \\"\$ac_cs_config\\"
15015
15876
 
15016
 
Copyright (C) 2009 Free Software Foundation, Inc.
 
15877
Copyright (C) 2010 Free Software Foundation, Inc.
15017
15878
This config.status script is free software; the Free Software Foundation
15018
15879
gives unlimited permission to copy, distribute and modify it."
15019
15880
 
15031
15892
while test $# != 0
15032
15893
do
15033
15894
  case $1 in
15034
 
  --*=*)
 
15895
  --*=?*)
15035
15896
    ac_option=`expr "X$1" : 'X\([^=]*\)='`
15036
15897
    ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
15037
15898
    ac_shift=:
15038
15899
    ;;
 
15900
  --*=)
 
15901
    ac_option=`expr "X$1" : 'X\([^=]*\)='`
 
15902
    ac_optarg=
 
15903
    ac_shift=:
 
15904
    ;;
15039
15905
  *)
15040
15906
    ac_option=$1
15041
15907
    ac_optarg=$2
15049
15915
    ac_cs_recheck=: ;;
15050
15916
  --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
15051
15917
    $as_echo "$ac_cs_version"; exit ;;
 
15918
  --config | --confi | --conf | --con | --co | --c )
 
15919
    $as_echo "$ac_cs_config"; exit ;;
15052
15920
  --debug | --debu | --deb | --de | --d | -d )
15053
15921
    debug=: ;;
15054
15922
  --file | --fil | --fi | --f )
15055
15923
    $ac_shift
15056
15924
    case $ac_optarg in
15057
15925
    *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
 
15926
    '') as_fn_error $? "missing file argument" ;;
15058
15927
    esac
15059
15928
    as_fn_append CONFIG_FILES " '$ac_optarg'"
15060
15929
    ac_need_defaults=false;;
15067
15936
    ac_need_defaults=false;;
15068
15937
  --he | --h)
15069
15938
    # Conflict between --help and --header
15070
 
    as_fn_error "ambiguous option: \`$1'
 
15939
    as_fn_error $? "ambiguous option: \`$1'
15071
15940
Try \`$0 --help' for more information.";;
15072
15941
  --help | --hel | -h )
15073
15942
    $as_echo "$ac_cs_usage"; exit ;;
15076
15945
    ac_cs_silent=: ;;
15077
15946
 
15078
15947
  # This is an error.
15079
 
  -*) as_fn_error "unrecognized option: \`$1'
 
15948
  -*) as_fn_error $? "unrecognized option: \`$1'
15080
15949
Try \`$0 --help' for more information." ;;
15081
15950
 
15082
15951
  *) as_fn_append ac_config_targets " $1"
15130
15999
sed_quote_subst='$sed_quote_subst'
15131
16000
double_quote_subst='$double_quote_subst'
15132
16001
delay_variable_subst='$delay_variable_subst'
15133
 
macro_version='`$ECHO "X$macro_version" | $Xsed -e "$delay_single_quote_subst"`'
15134
 
macro_revision='`$ECHO "X$macro_revision" | $Xsed -e "$delay_single_quote_subst"`'
15135
 
enable_shared='`$ECHO "X$enable_shared" | $Xsed -e "$delay_single_quote_subst"`'
15136
 
enable_static='`$ECHO "X$enable_static" | $Xsed -e "$delay_single_quote_subst"`'
15137
 
pic_mode='`$ECHO "X$pic_mode" | $Xsed -e "$delay_single_quote_subst"`'
15138
 
enable_fast_install='`$ECHO "X$enable_fast_install" | $Xsed -e "$delay_single_quote_subst"`'
15139
 
host_alias='`$ECHO "X$host_alias" | $Xsed -e "$delay_single_quote_subst"`'
15140
 
host='`$ECHO "X$host" | $Xsed -e "$delay_single_quote_subst"`'
15141
 
host_os='`$ECHO "X$host_os" | $Xsed -e "$delay_single_quote_subst"`'
15142
 
build_alias='`$ECHO "X$build_alias" | $Xsed -e "$delay_single_quote_subst"`'
15143
 
build='`$ECHO "X$build" | $Xsed -e "$delay_single_quote_subst"`'
15144
 
build_os='`$ECHO "X$build_os" | $Xsed -e "$delay_single_quote_subst"`'
15145
 
SED='`$ECHO "X$SED" | $Xsed -e "$delay_single_quote_subst"`'
15146
 
Xsed='`$ECHO "X$Xsed" | $Xsed -e "$delay_single_quote_subst"`'
15147
 
GREP='`$ECHO "X$GREP" | $Xsed -e "$delay_single_quote_subst"`'
15148
 
EGREP='`$ECHO "X$EGREP" | $Xsed -e "$delay_single_quote_subst"`'
15149
 
FGREP='`$ECHO "X$FGREP" | $Xsed -e "$delay_single_quote_subst"`'
15150
 
LD='`$ECHO "X$LD" | $Xsed -e "$delay_single_quote_subst"`'
15151
 
NM='`$ECHO "X$NM" | $Xsed -e "$delay_single_quote_subst"`'
15152
 
LN_S='`$ECHO "X$LN_S" | $Xsed -e "$delay_single_quote_subst"`'
15153
 
max_cmd_len='`$ECHO "X$max_cmd_len" | $Xsed -e "$delay_single_quote_subst"`'
15154
 
ac_objext='`$ECHO "X$ac_objext" | $Xsed -e "$delay_single_quote_subst"`'
15155
 
exeext='`$ECHO "X$exeext" | $Xsed -e "$delay_single_quote_subst"`'
15156
 
lt_unset='`$ECHO "X$lt_unset" | $Xsed -e "$delay_single_quote_subst"`'
15157
 
lt_SP2NL='`$ECHO "X$lt_SP2NL" | $Xsed -e "$delay_single_quote_subst"`'
15158
 
lt_NL2SP='`$ECHO "X$lt_NL2SP" | $Xsed -e "$delay_single_quote_subst"`'
15159
 
reload_flag='`$ECHO "X$reload_flag" | $Xsed -e "$delay_single_quote_subst"`'
15160
 
reload_cmds='`$ECHO "X$reload_cmds" | $Xsed -e "$delay_single_quote_subst"`'
15161
 
OBJDUMP='`$ECHO "X$OBJDUMP" | $Xsed -e "$delay_single_quote_subst"`'
15162
 
deplibs_check_method='`$ECHO "X$deplibs_check_method" | $Xsed -e "$delay_single_quote_subst"`'
15163
 
file_magic_cmd='`$ECHO "X$file_magic_cmd" | $Xsed -e "$delay_single_quote_subst"`'
15164
 
AR='`$ECHO "X$AR" | $Xsed -e "$delay_single_quote_subst"`'
15165
 
AR_FLAGS='`$ECHO "X$AR_FLAGS" | $Xsed -e "$delay_single_quote_subst"`'
15166
 
STRIP='`$ECHO "X$STRIP" | $Xsed -e "$delay_single_quote_subst"`'
15167
 
RANLIB='`$ECHO "X$RANLIB" | $Xsed -e "$delay_single_quote_subst"`'
15168
 
old_postinstall_cmds='`$ECHO "X$old_postinstall_cmds" | $Xsed -e "$delay_single_quote_subst"`'
15169
 
old_postuninstall_cmds='`$ECHO "X$old_postuninstall_cmds" | $Xsed -e "$delay_single_quote_subst"`'
15170
 
old_archive_cmds='`$ECHO "X$old_archive_cmds" | $Xsed -e "$delay_single_quote_subst"`'
15171
 
CC='`$ECHO "X$CC" | $Xsed -e "$delay_single_quote_subst"`'
15172
 
CFLAGS='`$ECHO "X$CFLAGS" | $Xsed -e "$delay_single_quote_subst"`'
15173
 
compiler='`$ECHO "X$compiler" | $Xsed -e "$delay_single_quote_subst"`'
15174
 
GCC='`$ECHO "X$GCC" | $Xsed -e "$delay_single_quote_subst"`'
15175
 
lt_cv_sys_global_symbol_pipe='`$ECHO "X$lt_cv_sys_global_symbol_pipe" | $Xsed -e "$delay_single_quote_subst"`'
15176
 
lt_cv_sys_global_symbol_to_cdecl='`$ECHO "X$lt_cv_sys_global_symbol_to_cdecl" | $Xsed -e "$delay_single_quote_subst"`'
15177
 
lt_cv_sys_global_symbol_to_c_name_address='`$ECHO "X$lt_cv_sys_global_symbol_to_c_name_address" | $Xsed -e "$delay_single_quote_subst"`'
15178
 
lt_cv_sys_global_symbol_to_c_name_address_lib_prefix='`$ECHO "X$lt_cv_sys_global_symbol_to_c_name_address_lib_prefix" | $Xsed -e "$delay_single_quote_subst"`'
15179
 
objdir='`$ECHO "X$objdir" | $Xsed -e "$delay_single_quote_subst"`'
15180
 
SHELL='`$ECHO "X$SHELL" | $Xsed -e "$delay_single_quote_subst"`'
15181
 
ECHO='`$ECHO "X$ECHO" | $Xsed -e "$delay_single_quote_subst"`'
15182
 
MAGIC_CMD='`$ECHO "X$MAGIC_CMD" | $Xsed -e "$delay_single_quote_subst"`'
15183
 
lt_prog_compiler_no_builtin_flag='`$ECHO "X$lt_prog_compiler_no_builtin_flag" | $Xsed -e "$delay_single_quote_subst"`'
15184
 
lt_prog_compiler_wl='`$ECHO "X$lt_prog_compiler_wl" | $Xsed -e "$delay_single_quote_subst"`'
15185
 
lt_prog_compiler_pic='`$ECHO "X$lt_prog_compiler_pic" | $Xsed -e "$delay_single_quote_subst"`'
15186
 
lt_prog_compiler_static='`$ECHO "X$lt_prog_compiler_static" | $Xsed -e "$delay_single_quote_subst"`'
15187
 
lt_cv_prog_compiler_c_o='`$ECHO "X$lt_cv_prog_compiler_c_o" | $Xsed -e "$delay_single_quote_subst"`'
15188
 
need_locks='`$ECHO "X$need_locks" | $Xsed -e "$delay_single_quote_subst"`'
15189
 
DSYMUTIL='`$ECHO "X$DSYMUTIL" | $Xsed -e "$delay_single_quote_subst"`'
15190
 
NMEDIT='`$ECHO "X$NMEDIT" | $Xsed -e "$delay_single_quote_subst"`'
15191
 
LIPO='`$ECHO "X$LIPO" | $Xsed -e "$delay_single_quote_subst"`'
15192
 
OTOOL='`$ECHO "X$OTOOL" | $Xsed -e "$delay_single_quote_subst"`'
15193
 
OTOOL64='`$ECHO "X$OTOOL64" | $Xsed -e "$delay_single_quote_subst"`'
15194
 
libext='`$ECHO "X$libext" | $Xsed -e "$delay_single_quote_subst"`'
15195
 
shrext_cmds='`$ECHO "X$shrext_cmds" | $Xsed -e "$delay_single_quote_subst"`'
15196
 
extract_expsyms_cmds='`$ECHO "X$extract_expsyms_cmds" | $Xsed -e "$delay_single_quote_subst"`'
15197
 
archive_cmds_need_lc='`$ECHO "X$archive_cmds_need_lc" | $Xsed -e "$delay_single_quote_subst"`'
15198
 
enable_shared_with_static_runtimes='`$ECHO "X$enable_shared_with_static_runtimes" | $Xsed -e "$delay_single_quote_subst"`'
15199
 
export_dynamic_flag_spec='`$ECHO "X$export_dynamic_flag_spec" | $Xsed -e "$delay_single_quote_subst"`'
15200
 
whole_archive_flag_spec='`$ECHO "X$whole_archive_flag_spec" | $Xsed -e "$delay_single_quote_subst"`'
15201
 
compiler_needs_object='`$ECHO "X$compiler_needs_object" | $Xsed -e "$delay_single_quote_subst"`'
15202
 
old_archive_from_new_cmds='`$ECHO "X$old_archive_from_new_cmds" | $Xsed -e "$delay_single_quote_subst"`'
15203
 
old_archive_from_expsyms_cmds='`$ECHO "X$old_archive_from_expsyms_cmds" | $Xsed -e "$delay_single_quote_subst"`'
15204
 
archive_cmds='`$ECHO "X$archive_cmds" | $Xsed -e "$delay_single_quote_subst"`'
15205
 
archive_expsym_cmds='`$ECHO "X$archive_expsym_cmds" | $Xsed -e "$delay_single_quote_subst"`'
15206
 
module_cmds='`$ECHO "X$module_cmds" | $Xsed -e "$delay_single_quote_subst"`'
15207
 
module_expsym_cmds='`$ECHO "X$module_expsym_cmds" | $Xsed -e "$delay_single_quote_subst"`'
15208
 
with_gnu_ld='`$ECHO "X$with_gnu_ld" | $Xsed -e "$delay_single_quote_subst"`'
15209
 
allow_undefined_flag='`$ECHO "X$allow_undefined_flag" | $Xsed -e "$delay_single_quote_subst"`'
15210
 
no_undefined_flag='`$ECHO "X$no_undefined_flag" | $Xsed -e "$delay_single_quote_subst"`'
15211
 
hardcode_libdir_flag_spec='`$ECHO "X$hardcode_libdir_flag_spec" | $Xsed -e "$delay_single_quote_subst"`'
15212
 
hardcode_libdir_flag_spec_ld='`$ECHO "X$hardcode_libdir_flag_spec_ld" | $Xsed -e "$delay_single_quote_subst"`'
15213
 
hardcode_libdir_separator='`$ECHO "X$hardcode_libdir_separator" | $Xsed -e "$delay_single_quote_subst"`'
15214
 
hardcode_direct='`$ECHO "X$hardcode_direct" | $Xsed -e "$delay_single_quote_subst"`'
15215
 
hardcode_direct_absolute='`$ECHO "X$hardcode_direct_absolute" | $Xsed -e "$delay_single_quote_subst"`'
15216
 
hardcode_minus_L='`$ECHO "X$hardcode_minus_L" | $Xsed -e "$delay_single_quote_subst"`'
15217
 
hardcode_shlibpath_var='`$ECHO "X$hardcode_shlibpath_var" | $Xsed -e "$delay_single_quote_subst"`'
15218
 
hardcode_automatic='`$ECHO "X$hardcode_automatic" | $Xsed -e "$delay_single_quote_subst"`'
15219
 
inherit_rpath='`$ECHO "X$inherit_rpath" | $Xsed -e "$delay_single_quote_subst"`'
15220
 
link_all_deplibs='`$ECHO "X$link_all_deplibs" | $Xsed -e "$delay_single_quote_subst"`'
15221
 
fix_srcfile_path='`$ECHO "X$fix_srcfile_path" | $Xsed -e "$delay_single_quote_subst"`'
15222
 
always_export_symbols='`$ECHO "X$always_export_symbols" | $Xsed -e "$delay_single_quote_subst"`'
15223
 
export_symbols_cmds='`$ECHO "X$export_symbols_cmds" | $Xsed -e "$delay_single_quote_subst"`'
15224
 
exclude_expsyms='`$ECHO "X$exclude_expsyms" | $Xsed -e "$delay_single_quote_subst"`'
15225
 
include_expsyms='`$ECHO "X$include_expsyms" | $Xsed -e "$delay_single_quote_subst"`'
15226
 
prelink_cmds='`$ECHO "X$prelink_cmds" | $Xsed -e "$delay_single_quote_subst"`'
15227
 
file_list_spec='`$ECHO "X$file_list_spec" | $Xsed -e "$delay_single_quote_subst"`'
15228
 
variables_saved_for_relink='`$ECHO "X$variables_saved_for_relink" | $Xsed -e "$delay_single_quote_subst"`'
15229
 
need_lib_prefix='`$ECHO "X$need_lib_prefix" | $Xsed -e "$delay_single_quote_subst"`'
15230
 
need_version='`$ECHO "X$need_version" | $Xsed -e "$delay_single_quote_subst"`'
15231
 
version_type='`$ECHO "X$version_type" | $Xsed -e "$delay_single_quote_subst"`'
15232
 
runpath_var='`$ECHO "X$runpath_var" | $Xsed -e "$delay_single_quote_subst"`'
15233
 
shlibpath_var='`$ECHO "X$shlibpath_var" | $Xsed -e "$delay_single_quote_subst"`'
15234
 
shlibpath_overrides_runpath='`$ECHO "X$shlibpath_overrides_runpath" | $Xsed -e "$delay_single_quote_subst"`'
15235
 
libname_spec='`$ECHO "X$libname_spec" | $Xsed -e "$delay_single_quote_subst"`'
15236
 
library_names_spec='`$ECHO "X$library_names_spec" | $Xsed -e "$delay_single_quote_subst"`'
15237
 
soname_spec='`$ECHO "X$soname_spec" | $Xsed -e "$delay_single_quote_subst"`'
15238
 
postinstall_cmds='`$ECHO "X$postinstall_cmds" | $Xsed -e "$delay_single_quote_subst"`'
15239
 
postuninstall_cmds='`$ECHO "X$postuninstall_cmds" | $Xsed -e "$delay_single_quote_subst"`'
15240
 
finish_cmds='`$ECHO "X$finish_cmds" | $Xsed -e "$delay_single_quote_subst"`'
15241
 
finish_eval='`$ECHO "X$finish_eval" | $Xsed -e "$delay_single_quote_subst"`'
15242
 
hardcode_into_libs='`$ECHO "X$hardcode_into_libs" | $Xsed -e "$delay_single_quote_subst"`'
15243
 
sys_lib_search_path_spec='`$ECHO "X$sys_lib_search_path_spec" | $Xsed -e "$delay_single_quote_subst"`'
15244
 
sys_lib_dlsearch_path_spec='`$ECHO "X$sys_lib_dlsearch_path_spec" | $Xsed -e "$delay_single_quote_subst"`'
15245
 
hardcode_action='`$ECHO "X$hardcode_action" | $Xsed -e "$delay_single_quote_subst"`'
15246
 
enable_dlopen='`$ECHO "X$enable_dlopen" | $Xsed -e "$delay_single_quote_subst"`'
15247
 
enable_dlopen_self='`$ECHO "X$enable_dlopen_self" | $Xsed -e "$delay_single_quote_subst"`'
15248
 
enable_dlopen_self_static='`$ECHO "X$enable_dlopen_self_static" | $Xsed -e "$delay_single_quote_subst"`'
15249
 
old_striplib='`$ECHO "X$old_striplib" | $Xsed -e "$delay_single_quote_subst"`'
15250
 
striplib='`$ECHO "X$striplib" | $Xsed -e "$delay_single_quote_subst"`'
15251
 
compiler_lib_search_dirs='`$ECHO "X$compiler_lib_search_dirs" | $Xsed -e "$delay_single_quote_subst"`'
15252
 
predep_objects='`$ECHO "X$predep_objects" | $Xsed -e "$delay_single_quote_subst"`'
15253
 
postdep_objects='`$ECHO "X$postdep_objects" | $Xsed -e "$delay_single_quote_subst"`'
15254
 
predeps='`$ECHO "X$predeps" | $Xsed -e "$delay_single_quote_subst"`'
15255
 
postdeps='`$ECHO "X$postdeps" | $Xsed -e "$delay_single_quote_subst"`'
15256
 
compiler_lib_search_path='`$ECHO "X$compiler_lib_search_path" | $Xsed -e "$delay_single_quote_subst"`'
15257
 
LD_CXX='`$ECHO "X$LD_CXX" | $Xsed -e "$delay_single_quote_subst"`'
15258
 
old_archive_cmds_CXX='`$ECHO "X$old_archive_cmds_CXX" | $Xsed -e "$delay_single_quote_subst"`'
15259
 
compiler_CXX='`$ECHO "X$compiler_CXX" | $Xsed -e "$delay_single_quote_subst"`'
15260
 
GCC_CXX='`$ECHO "X$GCC_CXX" | $Xsed -e "$delay_single_quote_subst"`'
15261
 
lt_prog_compiler_no_builtin_flag_CXX='`$ECHO "X$lt_prog_compiler_no_builtin_flag_CXX" | $Xsed -e "$delay_single_quote_subst"`'
15262
 
lt_prog_compiler_wl_CXX='`$ECHO "X$lt_prog_compiler_wl_CXX" | $Xsed -e "$delay_single_quote_subst"`'
15263
 
lt_prog_compiler_pic_CXX='`$ECHO "X$lt_prog_compiler_pic_CXX" | $Xsed -e "$delay_single_quote_subst"`'
15264
 
lt_prog_compiler_static_CXX='`$ECHO "X$lt_prog_compiler_static_CXX" | $Xsed -e "$delay_single_quote_subst"`'
15265
 
lt_cv_prog_compiler_c_o_CXX='`$ECHO "X$lt_cv_prog_compiler_c_o_CXX" | $Xsed -e "$delay_single_quote_subst"`'
15266
 
archive_cmds_need_lc_CXX='`$ECHO "X$archive_cmds_need_lc_CXX" | $Xsed -e "$delay_single_quote_subst"`'
15267
 
enable_shared_with_static_runtimes_CXX='`$ECHO "X$enable_shared_with_static_runtimes_CXX" | $Xsed -e "$delay_single_quote_subst"`'
15268
 
export_dynamic_flag_spec_CXX='`$ECHO "X$export_dynamic_flag_spec_CXX" | $Xsed -e "$delay_single_quote_subst"`'
15269
 
whole_archive_flag_spec_CXX='`$ECHO "X$whole_archive_flag_spec_CXX" | $Xsed -e "$delay_single_quote_subst"`'
15270
 
compiler_needs_object_CXX='`$ECHO "X$compiler_needs_object_CXX" | $Xsed -e "$delay_single_quote_subst"`'
15271
 
old_archive_from_new_cmds_CXX='`$ECHO "X$old_archive_from_new_cmds_CXX" | $Xsed -e "$delay_single_quote_subst"`'
15272
 
old_archive_from_expsyms_cmds_CXX='`$ECHO "X$old_archive_from_expsyms_cmds_CXX" | $Xsed -e "$delay_single_quote_subst"`'
15273
 
archive_cmds_CXX='`$ECHO "X$archive_cmds_CXX" | $Xsed -e "$delay_single_quote_subst"`'
15274
 
archive_expsym_cmds_CXX='`$ECHO "X$archive_expsym_cmds_CXX" | $Xsed -e "$delay_single_quote_subst"`'
15275
 
module_cmds_CXX='`$ECHO "X$module_cmds_CXX" | $Xsed -e "$delay_single_quote_subst"`'
15276
 
module_expsym_cmds_CXX='`$ECHO "X$module_expsym_cmds_CXX" | $Xsed -e "$delay_single_quote_subst"`'
15277
 
with_gnu_ld_CXX='`$ECHO "X$with_gnu_ld_CXX" | $Xsed -e "$delay_single_quote_subst"`'
15278
 
allow_undefined_flag_CXX='`$ECHO "X$allow_undefined_flag_CXX" | $Xsed -e "$delay_single_quote_subst"`'
15279
 
no_undefined_flag_CXX='`$ECHO "X$no_undefined_flag_CXX" | $Xsed -e "$delay_single_quote_subst"`'
15280
 
hardcode_libdir_flag_spec_CXX='`$ECHO "X$hardcode_libdir_flag_spec_CXX" | $Xsed -e "$delay_single_quote_subst"`'
15281
 
hardcode_libdir_flag_spec_ld_CXX='`$ECHO "X$hardcode_libdir_flag_spec_ld_CXX" | $Xsed -e "$delay_single_quote_subst"`'
15282
 
hardcode_libdir_separator_CXX='`$ECHO "X$hardcode_libdir_separator_CXX" | $Xsed -e "$delay_single_quote_subst"`'
15283
 
hardcode_direct_CXX='`$ECHO "X$hardcode_direct_CXX" | $Xsed -e "$delay_single_quote_subst"`'
15284
 
hardcode_direct_absolute_CXX='`$ECHO "X$hardcode_direct_absolute_CXX" | $Xsed -e "$delay_single_quote_subst"`'
15285
 
hardcode_minus_L_CXX='`$ECHO "X$hardcode_minus_L_CXX" | $Xsed -e "$delay_single_quote_subst"`'
15286
 
hardcode_shlibpath_var_CXX='`$ECHO "X$hardcode_shlibpath_var_CXX" | $Xsed -e "$delay_single_quote_subst"`'
15287
 
hardcode_automatic_CXX='`$ECHO "X$hardcode_automatic_CXX" | $Xsed -e "$delay_single_quote_subst"`'
15288
 
inherit_rpath_CXX='`$ECHO "X$inherit_rpath_CXX" | $Xsed -e "$delay_single_quote_subst"`'
15289
 
link_all_deplibs_CXX='`$ECHO "X$link_all_deplibs_CXX" | $Xsed -e "$delay_single_quote_subst"`'
15290
 
fix_srcfile_path_CXX='`$ECHO "X$fix_srcfile_path_CXX" | $Xsed -e "$delay_single_quote_subst"`'
15291
 
always_export_symbols_CXX='`$ECHO "X$always_export_symbols_CXX" | $Xsed -e "$delay_single_quote_subst"`'
15292
 
export_symbols_cmds_CXX='`$ECHO "X$export_symbols_cmds_CXX" | $Xsed -e "$delay_single_quote_subst"`'
15293
 
exclude_expsyms_CXX='`$ECHO "X$exclude_expsyms_CXX" | $Xsed -e "$delay_single_quote_subst"`'
15294
 
include_expsyms_CXX='`$ECHO "X$include_expsyms_CXX" | $Xsed -e "$delay_single_quote_subst"`'
15295
 
prelink_cmds_CXX='`$ECHO "X$prelink_cmds_CXX" | $Xsed -e "$delay_single_quote_subst"`'
15296
 
file_list_spec_CXX='`$ECHO "X$file_list_spec_CXX" | $Xsed -e "$delay_single_quote_subst"`'
15297
 
hardcode_action_CXX='`$ECHO "X$hardcode_action_CXX" | $Xsed -e "$delay_single_quote_subst"`'
15298
 
compiler_lib_search_dirs_CXX='`$ECHO "X$compiler_lib_search_dirs_CXX" | $Xsed -e "$delay_single_quote_subst"`'
15299
 
predep_objects_CXX='`$ECHO "X$predep_objects_CXX" | $Xsed -e "$delay_single_quote_subst"`'
15300
 
postdep_objects_CXX='`$ECHO "X$postdep_objects_CXX" | $Xsed -e "$delay_single_quote_subst"`'
15301
 
predeps_CXX='`$ECHO "X$predeps_CXX" | $Xsed -e "$delay_single_quote_subst"`'
15302
 
postdeps_CXX='`$ECHO "X$postdeps_CXX" | $Xsed -e "$delay_single_quote_subst"`'
15303
 
compiler_lib_search_path_CXX='`$ECHO "X$compiler_lib_search_path_CXX" | $Xsed -e "$delay_single_quote_subst"`'
 
16002
macro_version='`$ECHO "$macro_version" | $SED "$delay_single_quote_subst"`'
 
16003
macro_revision='`$ECHO "$macro_revision" | $SED "$delay_single_quote_subst"`'
 
16004
enable_shared='`$ECHO "$enable_shared" | $SED "$delay_single_quote_subst"`'
 
16005
enable_static='`$ECHO "$enable_static" | $SED "$delay_single_quote_subst"`'
 
16006
pic_mode='`$ECHO "$pic_mode" | $SED "$delay_single_quote_subst"`'
 
16007
enable_fast_install='`$ECHO "$enable_fast_install" | $SED "$delay_single_quote_subst"`'
 
16008
SHELL='`$ECHO "$SHELL" | $SED "$delay_single_quote_subst"`'
 
16009
ECHO='`$ECHO "$ECHO" | $SED "$delay_single_quote_subst"`'
 
16010
PATH_SEPARATOR='`$ECHO "$PATH_SEPARATOR" | $SED "$delay_single_quote_subst"`'
 
16011
host_alias='`$ECHO "$host_alias" | $SED "$delay_single_quote_subst"`'
 
16012
host='`$ECHO "$host" | $SED "$delay_single_quote_subst"`'
 
16013
host_os='`$ECHO "$host_os" | $SED "$delay_single_quote_subst"`'
 
16014
build_alias='`$ECHO "$build_alias" | $SED "$delay_single_quote_subst"`'
 
16015
build='`$ECHO "$build" | $SED "$delay_single_quote_subst"`'
 
16016
build_os='`$ECHO "$build_os" | $SED "$delay_single_quote_subst"`'
 
16017
SED='`$ECHO "$SED" | $SED "$delay_single_quote_subst"`'
 
16018
Xsed='`$ECHO "$Xsed" | $SED "$delay_single_quote_subst"`'
 
16019
GREP='`$ECHO "$GREP" | $SED "$delay_single_quote_subst"`'
 
16020
EGREP='`$ECHO "$EGREP" | $SED "$delay_single_quote_subst"`'
 
16021
FGREP='`$ECHO "$FGREP" | $SED "$delay_single_quote_subst"`'
 
16022
LD='`$ECHO "$LD" | $SED "$delay_single_quote_subst"`'
 
16023
NM='`$ECHO "$NM" | $SED "$delay_single_quote_subst"`'
 
16024
LN_S='`$ECHO "$LN_S" | $SED "$delay_single_quote_subst"`'
 
16025
max_cmd_len='`$ECHO "$max_cmd_len" | $SED "$delay_single_quote_subst"`'
 
16026
ac_objext='`$ECHO "$ac_objext" | $SED "$delay_single_quote_subst"`'
 
16027
exeext='`$ECHO "$exeext" | $SED "$delay_single_quote_subst"`'
 
16028
lt_unset='`$ECHO "$lt_unset" | $SED "$delay_single_quote_subst"`'
 
16029
lt_SP2NL='`$ECHO "$lt_SP2NL" | $SED "$delay_single_quote_subst"`'
 
16030
lt_NL2SP='`$ECHO "$lt_NL2SP" | $SED "$delay_single_quote_subst"`'
 
16031
lt_cv_to_host_file_cmd='`$ECHO "$lt_cv_to_host_file_cmd" | $SED "$delay_single_quote_subst"`'
 
16032
lt_cv_to_tool_file_cmd='`$ECHO "$lt_cv_to_tool_file_cmd" | $SED "$delay_single_quote_subst"`'
 
16033
reload_flag='`$ECHO "$reload_flag" | $SED "$delay_single_quote_subst"`'
 
16034
reload_cmds='`$ECHO "$reload_cmds" | $SED "$delay_single_quote_subst"`'
 
16035
OBJDUMP='`$ECHO "$OBJDUMP" | $SED "$delay_single_quote_subst"`'
 
16036
deplibs_check_method='`$ECHO "$deplibs_check_method" | $SED "$delay_single_quote_subst"`'
 
16037
file_magic_cmd='`$ECHO "$file_magic_cmd" | $SED "$delay_single_quote_subst"`'
 
16038
file_magic_glob='`$ECHO "$file_magic_glob" | $SED "$delay_single_quote_subst"`'
 
16039
want_nocaseglob='`$ECHO "$want_nocaseglob" | $SED "$delay_single_quote_subst"`'
 
16040
DLLTOOL='`$ECHO "$DLLTOOL" | $SED "$delay_single_quote_subst"`'
 
16041
sharedlib_from_linklib_cmd='`$ECHO "$sharedlib_from_linklib_cmd" | $SED "$delay_single_quote_subst"`'
 
16042
AR='`$ECHO "$AR" | $SED "$delay_single_quote_subst"`'
 
16043
AR_FLAGS='`$ECHO "$AR_FLAGS" | $SED "$delay_single_quote_subst"`'
 
16044
archiver_list_spec='`$ECHO "$archiver_list_spec" | $SED "$delay_single_quote_subst"`'
 
16045
STRIP='`$ECHO "$STRIP" | $SED "$delay_single_quote_subst"`'
 
16046
RANLIB='`$ECHO "$RANLIB" | $SED "$delay_single_quote_subst"`'
 
16047
old_postinstall_cmds='`$ECHO "$old_postinstall_cmds" | $SED "$delay_single_quote_subst"`'
 
16048
old_postuninstall_cmds='`$ECHO "$old_postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
 
16049
old_archive_cmds='`$ECHO "$old_archive_cmds" | $SED "$delay_single_quote_subst"`'
 
16050
lock_old_archive_extraction='`$ECHO "$lock_old_archive_extraction" | $SED "$delay_single_quote_subst"`'
 
16051
CC='`$ECHO "$CC" | $SED "$delay_single_quote_subst"`'
 
16052
CFLAGS='`$ECHO "$CFLAGS" | $SED "$delay_single_quote_subst"`'
 
16053
compiler='`$ECHO "$compiler" | $SED "$delay_single_quote_subst"`'
 
16054
GCC='`$ECHO "$GCC" | $SED "$delay_single_quote_subst"`'
 
16055
lt_cv_sys_global_symbol_pipe='`$ECHO "$lt_cv_sys_global_symbol_pipe" | $SED "$delay_single_quote_subst"`'
 
16056
lt_cv_sys_global_symbol_to_cdecl='`$ECHO "$lt_cv_sys_global_symbol_to_cdecl" | $SED "$delay_single_quote_subst"`'
 
16057
lt_cv_sys_global_symbol_to_c_name_address='`$ECHO "$lt_cv_sys_global_symbol_to_c_name_address" | $SED "$delay_single_quote_subst"`'
 
16058
lt_cv_sys_global_symbol_to_c_name_address_lib_prefix='`$ECHO "$lt_cv_sys_global_symbol_to_c_name_address_lib_prefix" | $SED "$delay_single_quote_subst"`'
 
16059
nm_file_list_spec='`$ECHO "$nm_file_list_spec" | $SED "$delay_single_quote_subst"`'
 
16060
lt_sysroot='`$ECHO "$lt_sysroot" | $SED "$delay_single_quote_subst"`'
 
16061
objdir='`$ECHO "$objdir" | $SED "$delay_single_quote_subst"`'
 
16062
MAGIC_CMD='`$ECHO "$MAGIC_CMD" | $SED "$delay_single_quote_subst"`'
 
16063
lt_prog_compiler_no_builtin_flag='`$ECHO "$lt_prog_compiler_no_builtin_flag" | $SED "$delay_single_quote_subst"`'
 
16064
lt_prog_compiler_pic='`$ECHO "$lt_prog_compiler_pic" | $SED "$delay_single_quote_subst"`'
 
16065
lt_prog_compiler_wl='`$ECHO "$lt_prog_compiler_wl" | $SED "$delay_single_quote_subst"`'
 
16066
lt_prog_compiler_static='`$ECHO "$lt_prog_compiler_static" | $SED "$delay_single_quote_subst"`'
 
16067
lt_cv_prog_compiler_c_o='`$ECHO "$lt_cv_prog_compiler_c_o" | $SED "$delay_single_quote_subst"`'
 
16068
need_locks='`$ECHO "$need_locks" | $SED "$delay_single_quote_subst"`'
 
16069
MANIFEST_TOOL='`$ECHO "$MANIFEST_TOOL" | $SED "$delay_single_quote_subst"`'
 
16070
DSYMUTIL='`$ECHO "$DSYMUTIL" | $SED "$delay_single_quote_subst"`'
 
16071
NMEDIT='`$ECHO "$NMEDIT" | $SED "$delay_single_quote_subst"`'
 
16072
LIPO='`$ECHO "$LIPO" | $SED "$delay_single_quote_subst"`'
 
16073
OTOOL='`$ECHO "$OTOOL" | $SED "$delay_single_quote_subst"`'
 
16074
OTOOL64='`$ECHO "$OTOOL64" | $SED "$delay_single_quote_subst"`'
 
16075
libext='`$ECHO "$libext" | $SED "$delay_single_quote_subst"`'
 
16076
shrext_cmds='`$ECHO "$shrext_cmds" | $SED "$delay_single_quote_subst"`'
 
16077
extract_expsyms_cmds='`$ECHO "$extract_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
 
16078
archive_cmds_need_lc='`$ECHO "$archive_cmds_need_lc" | $SED "$delay_single_quote_subst"`'
 
16079
enable_shared_with_static_runtimes='`$ECHO "$enable_shared_with_static_runtimes" | $SED "$delay_single_quote_subst"`'
 
16080
export_dynamic_flag_spec='`$ECHO "$export_dynamic_flag_spec" | $SED "$delay_single_quote_subst"`'
 
16081
whole_archive_flag_spec='`$ECHO "$whole_archive_flag_spec" | $SED "$delay_single_quote_subst"`'
 
16082
compiler_needs_object='`$ECHO "$compiler_needs_object" | $SED "$delay_single_quote_subst"`'
 
16083
old_archive_from_new_cmds='`$ECHO "$old_archive_from_new_cmds" | $SED "$delay_single_quote_subst"`'
 
16084
old_archive_from_expsyms_cmds='`$ECHO "$old_archive_from_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
 
16085
archive_cmds='`$ECHO "$archive_cmds" | $SED "$delay_single_quote_subst"`'
 
16086
archive_expsym_cmds='`$ECHO "$archive_expsym_cmds" | $SED "$delay_single_quote_subst"`'
 
16087
module_cmds='`$ECHO "$module_cmds" | $SED "$delay_single_quote_subst"`'
 
16088
module_expsym_cmds='`$ECHO "$module_expsym_cmds" | $SED "$delay_single_quote_subst"`'
 
16089
with_gnu_ld='`$ECHO "$with_gnu_ld" | $SED "$delay_single_quote_subst"`'
 
16090
allow_undefined_flag='`$ECHO "$allow_undefined_flag" | $SED "$delay_single_quote_subst"`'
 
16091
no_undefined_flag='`$ECHO "$no_undefined_flag" | $SED "$delay_single_quote_subst"`'
 
16092
hardcode_libdir_flag_spec='`$ECHO "$hardcode_libdir_flag_spec" | $SED "$delay_single_quote_subst"`'
 
16093
hardcode_libdir_separator='`$ECHO "$hardcode_libdir_separator" | $SED "$delay_single_quote_subst"`'
 
16094
hardcode_direct='`$ECHO "$hardcode_direct" | $SED "$delay_single_quote_subst"`'
 
16095
hardcode_direct_absolute='`$ECHO "$hardcode_direct_absolute" | $SED "$delay_single_quote_subst"`'
 
16096
hardcode_minus_L='`$ECHO "$hardcode_minus_L" | $SED "$delay_single_quote_subst"`'
 
16097
hardcode_shlibpath_var='`$ECHO "$hardcode_shlibpath_var" | $SED "$delay_single_quote_subst"`'
 
16098
hardcode_automatic='`$ECHO "$hardcode_automatic" | $SED "$delay_single_quote_subst"`'
 
16099
inherit_rpath='`$ECHO "$inherit_rpath" | $SED "$delay_single_quote_subst"`'
 
16100
link_all_deplibs='`$ECHO "$link_all_deplibs" | $SED "$delay_single_quote_subst"`'
 
16101
always_export_symbols='`$ECHO "$always_export_symbols" | $SED "$delay_single_quote_subst"`'
 
16102
export_symbols_cmds='`$ECHO "$export_symbols_cmds" | $SED "$delay_single_quote_subst"`'
 
16103
exclude_expsyms='`$ECHO "$exclude_expsyms" | $SED "$delay_single_quote_subst"`'
 
16104
include_expsyms='`$ECHO "$include_expsyms" | $SED "$delay_single_quote_subst"`'
 
16105
prelink_cmds='`$ECHO "$prelink_cmds" | $SED "$delay_single_quote_subst"`'
 
16106
postlink_cmds='`$ECHO "$postlink_cmds" | $SED "$delay_single_quote_subst"`'
 
16107
file_list_spec='`$ECHO "$file_list_spec" | $SED "$delay_single_quote_subst"`'
 
16108
variables_saved_for_relink='`$ECHO "$variables_saved_for_relink" | $SED "$delay_single_quote_subst"`'
 
16109
need_lib_prefix='`$ECHO "$need_lib_prefix" | $SED "$delay_single_quote_subst"`'
 
16110
need_version='`$ECHO "$need_version" | $SED "$delay_single_quote_subst"`'
 
16111
version_type='`$ECHO "$version_type" | $SED "$delay_single_quote_subst"`'
 
16112
runpath_var='`$ECHO "$runpath_var" | $SED "$delay_single_quote_subst"`'
 
16113
shlibpath_var='`$ECHO "$shlibpath_var" | $SED "$delay_single_quote_subst"`'
 
16114
shlibpath_overrides_runpath='`$ECHO "$shlibpath_overrides_runpath" | $SED "$delay_single_quote_subst"`'
 
16115
libname_spec='`$ECHO "$libname_spec" | $SED "$delay_single_quote_subst"`'
 
16116
library_names_spec='`$ECHO "$library_names_spec" | $SED "$delay_single_quote_subst"`'
 
16117
soname_spec='`$ECHO "$soname_spec" | $SED "$delay_single_quote_subst"`'
 
16118
install_override_mode='`$ECHO "$install_override_mode" | $SED "$delay_single_quote_subst"`'
 
16119
postinstall_cmds='`$ECHO "$postinstall_cmds" | $SED "$delay_single_quote_subst"`'
 
16120
postuninstall_cmds='`$ECHO "$postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
 
16121
finish_cmds='`$ECHO "$finish_cmds" | $SED "$delay_single_quote_subst"`'
 
16122
finish_eval='`$ECHO "$finish_eval" | $SED "$delay_single_quote_subst"`'
 
16123
hardcode_into_libs='`$ECHO "$hardcode_into_libs" | $SED "$delay_single_quote_subst"`'
 
16124
sys_lib_search_path_spec='`$ECHO "$sys_lib_search_path_spec" | $SED "$delay_single_quote_subst"`'
 
16125
sys_lib_dlsearch_path_spec='`$ECHO "$sys_lib_dlsearch_path_spec" | $SED "$delay_single_quote_subst"`'
 
16126
hardcode_action='`$ECHO "$hardcode_action" | $SED "$delay_single_quote_subst"`'
 
16127
enable_dlopen='`$ECHO "$enable_dlopen" | $SED "$delay_single_quote_subst"`'
 
16128
enable_dlopen_self='`$ECHO "$enable_dlopen_self" | $SED "$delay_single_quote_subst"`'
 
16129
enable_dlopen_self_static='`$ECHO "$enable_dlopen_self_static" | $SED "$delay_single_quote_subst"`'
 
16130
old_striplib='`$ECHO "$old_striplib" | $SED "$delay_single_quote_subst"`'
 
16131
striplib='`$ECHO "$striplib" | $SED "$delay_single_quote_subst"`'
 
16132
compiler_lib_search_dirs='`$ECHO "$compiler_lib_search_dirs" | $SED "$delay_single_quote_subst"`'
 
16133
predep_objects='`$ECHO "$predep_objects" | $SED "$delay_single_quote_subst"`'
 
16134
postdep_objects='`$ECHO "$postdep_objects" | $SED "$delay_single_quote_subst"`'
 
16135
predeps='`$ECHO "$predeps" | $SED "$delay_single_quote_subst"`'
 
16136
postdeps='`$ECHO "$postdeps" | $SED "$delay_single_quote_subst"`'
 
16137
compiler_lib_search_path='`$ECHO "$compiler_lib_search_path" | $SED "$delay_single_quote_subst"`'
 
16138
LD_CXX='`$ECHO "$LD_CXX" | $SED "$delay_single_quote_subst"`'
 
16139
reload_flag_CXX='`$ECHO "$reload_flag_CXX" | $SED "$delay_single_quote_subst"`'
 
16140
reload_cmds_CXX='`$ECHO "$reload_cmds_CXX" | $SED "$delay_single_quote_subst"`'
 
16141
old_archive_cmds_CXX='`$ECHO "$old_archive_cmds_CXX" | $SED "$delay_single_quote_subst"`'
 
16142
compiler_CXX='`$ECHO "$compiler_CXX" | $SED "$delay_single_quote_subst"`'
 
16143
GCC_CXX='`$ECHO "$GCC_CXX" | $SED "$delay_single_quote_subst"`'
 
16144
lt_prog_compiler_no_builtin_flag_CXX='`$ECHO "$lt_prog_compiler_no_builtin_flag_CXX" | $SED "$delay_single_quote_subst"`'
 
16145
lt_prog_compiler_pic_CXX='`$ECHO "$lt_prog_compiler_pic_CXX" | $SED "$delay_single_quote_subst"`'
 
16146
lt_prog_compiler_wl_CXX='`$ECHO "$lt_prog_compiler_wl_CXX" | $SED "$delay_single_quote_subst"`'
 
16147
lt_prog_compiler_static_CXX='`$ECHO "$lt_prog_compiler_static_CXX" | $SED "$delay_single_quote_subst"`'
 
16148
lt_cv_prog_compiler_c_o_CXX='`$ECHO "$lt_cv_prog_compiler_c_o_CXX" | $SED "$delay_single_quote_subst"`'
 
16149
archive_cmds_need_lc_CXX='`$ECHO "$archive_cmds_need_lc_CXX" | $SED "$delay_single_quote_subst"`'
 
16150
enable_shared_with_static_runtimes_CXX='`$ECHO "$enable_shared_with_static_runtimes_CXX" | $SED "$delay_single_quote_subst"`'
 
16151
export_dynamic_flag_spec_CXX='`$ECHO "$export_dynamic_flag_spec_CXX" | $SED "$delay_single_quote_subst"`'
 
16152
whole_archive_flag_spec_CXX='`$ECHO "$whole_archive_flag_spec_CXX" | $SED "$delay_single_quote_subst"`'
 
16153
compiler_needs_object_CXX='`$ECHO "$compiler_needs_object_CXX" | $SED "$delay_single_quote_subst"`'
 
16154
old_archive_from_new_cmds_CXX='`$ECHO "$old_archive_from_new_cmds_CXX" | $SED "$delay_single_quote_subst"`'
 
16155
old_archive_from_expsyms_cmds_CXX='`$ECHO "$old_archive_from_expsyms_cmds_CXX" | $SED "$delay_single_quote_subst"`'
 
16156
archive_cmds_CXX='`$ECHO "$archive_cmds_CXX" | $SED "$delay_single_quote_subst"`'
 
16157
archive_expsym_cmds_CXX='`$ECHO "$archive_expsym_cmds_CXX" | $SED "$delay_single_quote_subst"`'
 
16158
module_cmds_CXX='`$ECHO "$module_cmds_CXX" | $SED "$delay_single_quote_subst"`'
 
16159
module_expsym_cmds_CXX='`$ECHO "$module_expsym_cmds_CXX" | $SED "$delay_single_quote_subst"`'
 
16160
with_gnu_ld_CXX='`$ECHO "$with_gnu_ld_CXX" | $SED "$delay_single_quote_subst"`'
 
16161
allow_undefined_flag_CXX='`$ECHO "$allow_undefined_flag_CXX" | $SED "$delay_single_quote_subst"`'
 
16162
no_undefined_flag_CXX='`$ECHO "$no_undefined_flag_CXX" | $SED "$delay_single_quote_subst"`'
 
16163
hardcode_libdir_flag_spec_CXX='`$ECHO "$hardcode_libdir_flag_spec_CXX" | $SED "$delay_single_quote_subst"`'
 
16164
hardcode_libdir_separator_CXX='`$ECHO "$hardcode_libdir_separator_CXX" | $SED "$delay_single_quote_subst"`'
 
16165
hardcode_direct_CXX='`$ECHO "$hardcode_direct_CXX" | $SED "$delay_single_quote_subst"`'
 
16166
hardcode_direct_absolute_CXX='`$ECHO "$hardcode_direct_absolute_CXX" | $SED "$delay_single_quote_subst"`'
 
16167
hardcode_minus_L_CXX='`$ECHO "$hardcode_minus_L_CXX" | $SED "$delay_single_quote_subst"`'
 
16168
hardcode_shlibpath_var_CXX='`$ECHO "$hardcode_shlibpath_var_CXX" | $SED "$delay_single_quote_subst"`'
 
16169
hardcode_automatic_CXX='`$ECHO "$hardcode_automatic_CXX" | $SED "$delay_single_quote_subst"`'
 
16170
inherit_rpath_CXX='`$ECHO "$inherit_rpath_CXX" | $SED "$delay_single_quote_subst"`'
 
16171
link_all_deplibs_CXX='`$ECHO "$link_all_deplibs_CXX" | $SED "$delay_single_quote_subst"`'
 
16172
always_export_symbols_CXX='`$ECHO "$always_export_symbols_CXX" | $SED "$delay_single_quote_subst"`'
 
16173
export_symbols_cmds_CXX='`$ECHO "$export_symbols_cmds_CXX" | $SED "$delay_single_quote_subst"`'
 
16174
exclude_expsyms_CXX='`$ECHO "$exclude_expsyms_CXX" | $SED "$delay_single_quote_subst"`'
 
16175
include_expsyms_CXX='`$ECHO "$include_expsyms_CXX" | $SED "$delay_single_quote_subst"`'
 
16176
prelink_cmds_CXX='`$ECHO "$prelink_cmds_CXX" | $SED "$delay_single_quote_subst"`'
 
16177
postlink_cmds_CXX='`$ECHO "$postlink_cmds_CXX" | $SED "$delay_single_quote_subst"`'
 
16178
file_list_spec_CXX='`$ECHO "$file_list_spec_CXX" | $SED "$delay_single_quote_subst"`'
 
16179
hardcode_action_CXX='`$ECHO "$hardcode_action_CXX" | $SED "$delay_single_quote_subst"`'
 
16180
compiler_lib_search_dirs_CXX='`$ECHO "$compiler_lib_search_dirs_CXX" | $SED "$delay_single_quote_subst"`'
 
16181
predep_objects_CXX='`$ECHO "$predep_objects_CXX" | $SED "$delay_single_quote_subst"`'
 
16182
postdep_objects_CXX='`$ECHO "$postdep_objects_CXX" | $SED "$delay_single_quote_subst"`'
 
16183
predeps_CXX='`$ECHO "$predeps_CXX" | $SED "$delay_single_quote_subst"`'
 
16184
postdeps_CXX='`$ECHO "$postdeps_CXX" | $SED "$delay_single_quote_subst"`'
 
16185
compiler_lib_search_path_CXX='`$ECHO "$compiler_lib_search_path_CXX" | $SED "$delay_single_quote_subst"`'
15304
16186
 
15305
16187
LTCC='$LTCC'
15306
16188
LTCFLAGS='$LTCFLAGS'
15307
16189
compiler='$compiler_DEFAULT'
15308
16190
 
 
16191
# A function that is used when there is no print builtin or printf.
 
16192
func_fallback_echo ()
 
16193
{
 
16194
  eval 'cat <<_LTECHO_EOF
 
16195
\$1
 
16196
_LTECHO_EOF'
 
16197
}
 
16198
 
15309
16199
# Quote evaled strings.
15310
 
for var in SED \
 
16200
for var in SHELL \
 
16201
ECHO \
 
16202
PATH_SEPARATOR \
 
16203
SED \
15311
16204
GREP \
15312
16205
EGREP \
15313
16206
FGREP \
15320
16213
OBJDUMP \
15321
16214
deplibs_check_method \
15322
16215
file_magic_cmd \
 
16216
file_magic_glob \
 
16217
want_nocaseglob \
 
16218
DLLTOOL \
 
16219
sharedlib_from_linklib_cmd \
15323
16220
AR \
15324
16221
AR_FLAGS \
 
16222
archiver_list_spec \
15325
16223
STRIP \
15326
16224
RANLIB \
15327
16225
CC \
15331
16229
lt_cv_sys_global_symbol_to_cdecl \
15332
16230
lt_cv_sys_global_symbol_to_c_name_address \
15333
16231
lt_cv_sys_global_symbol_to_c_name_address_lib_prefix \
15334
 
SHELL \
15335
 
ECHO \
 
16232
nm_file_list_spec \
15336
16233
lt_prog_compiler_no_builtin_flag \
 
16234
lt_prog_compiler_pic \
15337
16235
lt_prog_compiler_wl \
15338
 
lt_prog_compiler_pic \
15339
16236
lt_prog_compiler_static \
15340
16237
lt_cv_prog_compiler_c_o \
15341
16238
need_locks \
 
16239
MANIFEST_TOOL \
15342
16240
DSYMUTIL \
15343
16241
NMEDIT \
15344
16242
LIPO \
15352
16250
allow_undefined_flag \
15353
16251
no_undefined_flag \
15354
16252
hardcode_libdir_flag_spec \
15355
 
hardcode_libdir_flag_spec_ld \
15356
16253
hardcode_libdir_separator \
15357
 
fix_srcfile_path \
15358
16254
exclude_expsyms \
15359
16255
include_expsyms \
15360
16256
file_list_spec \
15362
16258
libname_spec \
15363
16259
library_names_spec \
15364
16260
soname_spec \
 
16261
install_override_mode \
15365
16262
finish_eval \
15366
16263
old_striplib \
15367
16264
striplib \
15372
16269
postdeps \
15373
16270
compiler_lib_search_path \
15374
16271
LD_CXX \
 
16272
reload_flag_CXX \
15375
16273
compiler_CXX \
15376
16274
lt_prog_compiler_no_builtin_flag_CXX \
 
16275
lt_prog_compiler_pic_CXX \
15377
16276
lt_prog_compiler_wl_CXX \
15378
 
lt_prog_compiler_pic_CXX \
15379
16277
lt_prog_compiler_static_CXX \
15380
16278
lt_cv_prog_compiler_c_o_CXX \
15381
16279
export_dynamic_flag_spec_CXX \
15385
16283
allow_undefined_flag_CXX \
15386
16284
no_undefined_flag_CXX \
15387
16285
hardcode_libdir_flag_spec_CXX \
15388
 
hardcode_libdir_flag_spec_ld_CXX \
15389
16286
hardcode_libdir_separator_CXX \
15390
 
fix_srcfile_path_CXX \
15391
16287
exclude_expsyms_CXX \
15392
16288
include_expsyms_CXX \
15393
16289
file_list_spec_CXX \
15397
16293
predeps_CXX \
15398
16294
postdeps_CXX \
15399
16295
compiler_lib_search_path_CXX; do
15400
 
    case \`eval \\\\\$ECHO "X\\\\\$\$var"\` in
 
16296
    case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
15401
16297
    *[\\\\\\\`\\"\\\$]*)
15402
 
      eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"X\\\$\$var\\" | \\\$Xsed -e \\"\\\$sed_quote_subst\\"\\\`\\\\\\""
 
16298
      eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED \\"\\\$sed_quote_subst\\"\\\`\\\\\\""
15403
16299
      ;;
15404
16300
    *)
15405
16301
      eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
15421
16317
module_expsym_cmds \
15422
16318
export_symbols_cmds \
15423
16319
prelink_cmds \
 
16320
postlink_cmds \
15424
16321
postinstall_cmds \
15425
16322
postuninstall_cmds \
15426
16323
finish_cmds \
15427
16324
sys_lib_search_path_spec \
15428
16325
sys_lib_dlsearch_path_spec \
 
16326
reload_cmds_CXX \
15429
16327
old_archive_cmds_CXX \
15430
16328
old_archive_from_new_cmds_CXX \
15431
16329
old_archive_from_expsyms_cmds_CXX \
15434
16332
module_cmds_CXX \
15435
16333
module_expsym_cmds_CXX \
15436
16334
export_symbols_cmds_CXX \
15437
 
prelink_cmds_CXX; do
15438
 
    case \`eval \\\\\$ECHO "X\\\\\$\$var"\` in
 
16335
prelink_cmds_CXX \
 
16336
postlink_cmds_CXX; do
 
16337
    case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
15439
16338
    *[\\\\\\\`\\"\\\$]*)
15440
 
      eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"X\\\$\$var\\" | \\\$Xsed -e \\"\\\$double_quote_subst\\" -e \\"\\\$sed_quote_subst\\" -e \\"\\\$delay_variable_subst\\"\\\`\\\\\\""
 
16339
      eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED -e \\"\\\$double_quote_subst\\" -e \\"\\\$sed_quote_subst\\" -e \\"\\\$delay_variable_subst\\"\\\`\\\\\\""
15441
16340
      ;;
15442
16341
    *)
15443
16342
      eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
15445
16344
    esac
15446
16345
done
15447
16346
 
15448
 
# Fix-up fallback echo if it was mangled by the above quoting rules.
15449
 
case \$lt_ECHO in
15450
 
*'\\\$0 --fallback-echo"')  lt_ECHO=\`\$ECHO "X\$lt_ECHO" | \$Xsed -e 's/\\\\\\\\\\\\\\\$0 --fallback-echo"\$/\$0 --fallback-echo"/'\`
15451
 
  ;;
15452
 
esac
15453
 
 
15454
16347
ac_aux_dir='$ac_aux_dir'
15455
16348
xsi_shell='$xsi_shell'
15456
16349
lt_shell_append='$lt_shell_append'
15486
16379
    "libtool") CONFIG_COMMANDS="$CONFIG_COMMANDS libtool" ;;
15487
16380
    "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
15488
16381
    "src/Makefile") CONFIG_FILES="$CONFIG_FILES src/Makefile" ;;
 
16382
    "include/Makefile") CONFIG_FILES="$CONFIG_FILES include/Makefile" ;;
15489
16383
    "test/Makefile") CONFIG_FILES="$CONFIG_FILES test/Makefile" ;;
15490
16384
 
15491
 
  *) as_fn_error "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
 
16385
  *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
15492
16386
  esac
15493
16387
done
15494
16388
 
15511
16405
# after its creation but before its name has been assigned to `$tmp'.
15512
16406
$debug ||
15513
16407
{
15514
 
  tmp=
 
16408
  tmp= ac_tmp=
15515
16409
  trap 'exit_status=$?
15516
 
  { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status
 
16410
  : "${ac_tmp:=$tmp}"
 
16411
  { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
15517
16412
' 0
15518
16413
  trap 'as_fn_exit 1' 1 2 13 15
15519
16414
}
15521
16416
 
15522
16417
{
15523
16418
  tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
15524
 
  test -n "$tmp" && test -d "$tmp"
 
16419
  test -d "$tmp"
15525
16420
}  ||
15526
16421
{
15527
16422
  tmp=./conf$$-$RANDOM
15528
16423
  (umask 077 && mkdir "$tmp")
15529
 
} || as_fn_error "cannot create a temporary directory in ." "$LINENO" 5
 
16424
} || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5
 
16425
ac_tmp=$tmp
15530
16426
 
15531
16427
# Set up the scripts for CONFIG_FILES section.
15532
16428
# No need to generate them if there are no CONFIG_FILES.
15543
16439
fi
15544
16440
ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
15545
16441
if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
15546
 
  ac_cs_awk_cr='\r'
 
16442
  ac_cs_awk_cr='\\r'
15547
16443
else
15548
16444
  ac_cs_awk_cr=$ac_cr
15549
16445
fi
15550
16446
 
15551
 
echo 'BEGIN {' >"$tmp/subs1.awk" &&
 
16447
echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&
15552
16448
_ACEOF
15553
16449
 
15554
16450
 
15557
16453
  echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
15558
16454
  echo "_ACEOF"
15559
16455
} >conf$$subs.sh ||
15560
 
  as_fn_error "could not make $CONFIG_STATUS" "$LINENO" 5
15561
 
ac_delim_num=`echo "$ac_subst_vars" | grep -c '$'`
 
16456
  as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
 
16457
ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
15562
16458
ac_delim='%!_!# '
15563
16459
for ac_last_try in false false false false false :; do
15564
16460
  . ./conf$$subs.sh ||
15565
 
    as_fn_error "could not make $CONFIG_STATUS" "$LINENO" 5
 
16461
    as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
15566
16462
 
15567
16463
  ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
15568
16464
  if test $ac_delim_n = $ac_delim_num; then
15569
16465
    break
15570
16466
  elif $ac_last_try; then
15571
 
    as_fn_error "could not make $CONFIG_STATUS" "$LINENO" 5
 
16467
    as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
15572
16468
  else
15573
16469
    ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
15574
16470
  fi
15576
16472
rm -f conf$$subs.sh
15577
16473
 
15578
16474
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
15579
 
cat >>"\$tmp/subs1.awk" <<\\_ACAWK &&
 
16475
cat >>"\$ac_tmp/subs1.awk" <<\\_ACAWK &&
15580
16476
_ACEOF
15581
16477
sed -n '
15582
16478
h
15590
16486
t delim
15591
16487
:nl
15592
16488
h
15593
 
s/\(.\{148\}\).*/\1/
 
16489
s/\(.\{148\}\)..*/\1/
15594
16490
t more1
15595
16491
s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
15596
16492
p
15604
16500
t nl
15605
16501
:delim
15606
16502
h
15607
 
s/\(.\{148\}\).*/\1/
 
16503
s/\(.\{148\}\)..*/\1/
15608
16504
t more2
15609
16505
s/["\\]/\\&/g; s/^/"/; s/$/"/
15610
16506
p
15624
16520
rm -f conf$$subs.awk
15625
16521
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
15626
16522
_ACAWK
15627
 
cat >>"\$tmp/subs1.awk" <<_ACAWK &&
 
16523
cat >>"\$ac_tmp/subs1.awk" <<_ACAWK &&
15628
16524
  for (key in S) S_is_set[key] = 1
15629
16525
  FS = ""
15630
16526
 
15656
16552
  sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
15657
16553
else
15658
16554
  cat
15659
 
fi < "$tmp/subs1.awk" > "$tmp/subs.awk" \
15660
 
  || as_fn_error "could not setup config files machinery" "$LINENO" 5
 
16555
fi < "$ac_tmp/subs1.awk" > "$ac_tmp/subs.awk" \
 
16556
  || as_fn_error $? "could not setup config files machinery" "$LINENO" 5
15661
16557
_ACEOF
15662
16558
 
15663
 
# VPATH may cause trouble with some makes, so we remove $(srcdir),
15664
 
# ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
 
16559
# VPATH may cause trouble with some makes, so we remove sole $(srcdir),
 
16560
# ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".", strip leading and
15665
16561
# trailing colons and then remove the whole line if VPATH becomes empty
15666
16562
# (actually we leave an empty line to preserve line numbers).
15667
16563
if test "x$srcdir" = x.; then
15668
 
  ac_vpsub='/^[  ]*VPATH[        ]*=/{
15669
 
s/:*\$(srcdir):*/:/
15670
 
s/:*\${srcdir}:*/:/
15671
 
s/:*@srcdir@:*/:/
15672
 
s/^\([^=]*=[     ]*\):*/\1/
 
16564
  ac_vpsub='/^[  ]*VPATH[        ]*=[    ]*/{
 
16565
h
 
16566
s///
 
16567
s/^/:/
 
16568
s/[      ]*$/:/
 
16569
s/:\$(srcdir):/:/g
 
16570
s/:\${srcdir}:/:/g
 
16571
s/:@srcdir@:/:/g
 
16572
s/^:*//
15673
16573
s/:*$//
 
16574
x
 
16575
s/\(=[   ]*\).*/\1/
 
16576
G
 
16577
s/\n//
15674
16578
s/^[^=]*=[       ]*$//
15675
16579
}'
15676
16580
fi
15682
16586
# No need to generate them if there are no CONFIG_HEADERS.
15683
16587
# This happens for instance with `./config.status Makefile'.
15684
16588
if test -n "$CONFIG_HEADERS"; then
15685
 
cat >"$tmp/defines.awk" <<\_ACAWK ||
 
16589
cat >"$ac_tmp/defines.awk" <<\_ACAWK ||
15686
16590
BEGIN {
15687
16591
_ACEOF
15688
16592
 
15694
16598
# handling of long lines.
15695
16599
ac_delim='%!_!# '
15696
16600
for ac_last_try in false false :; do
15697
 
  ac_t=`sed -n "/$ac_delim/p" confdefs.h`
15698
 
  if test -z "$ac_t"; then
 
16601
  ac_tt=`sed -n "/$ac_delim/p" confdefs.h`
 
16602
  if test -z "$ac_tt"; then
15699
16603
    break
15700
16604
  elif $ac_last_try; then
15701
 
    as_fn_error "could not make $CONFIG_HEADERS" "$LINENO" 5
 
16605
    as_fn_error $? "could not make $CONFIG_HEADERS" "$LINENO" 5
15702
16606
  else
15703
16607
    ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
15704
16608
  fi
15783
16687
_ACAWK
15784
16688
_ACEOF
15785
16689
cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
15786
 
  as_fn_error "could not setup config headers machinery" "$LINENO" 5
 
16690
  as_fn_error $? "could not setup config headers machinery" "$LINENO" 5
15787
16691
fi # test -n "$CONFIG_HEADERS"
15788
16692
 
15789
16693
 
15796
16700
  esac
15797
16701
  case $ac_mode$ac_tag in
15798
16702
  :[FHL]*:*);;
15799
 
  :L* | :C*:*) as_fn_error "invalid tag \`$ac_tag'" "$LINENO" 5;;
 
16703
  :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5;;
15800
16704
  :[FH]-) ac_tag=-:-;;
15801
16705
  :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
15802
16706
  esac
15815
16719
    for ac_f
15816
16720
    do
15817
16721
      case $ac_f in
15818
 
      -) ac_f="$tmp/stdin";;
 
16722
      -) ac_f="$ac_tmp/stdin";;
15819
16723
      *) # Look for the file first in the build tree, then in the source tree
15820
16724
         # (if the path is not absolute).  The absolute path cannot be DOS-style,
15821
16725
         # because $ac_f cannot contain `:'.
15824
16728
           [\\/$]*) false;;
15825
16729
           *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
15826
16730
           esac ||
15827
 
           as_fn_error "cannot find input file: \`$ac_f'" "$LINENO" 5;;
 
16731
           as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
15828
16732
      esac
15829
16733
      case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
15830
16734
      as_fn_append ac_file_inputs " '$ac_f'"
15850
16754
    esac
15851
16755
 
15852
16756
    case $ac_tag in
15853
 
    *:-:* | *:-) cat >"$tmp/stdin" \
15854
 
      || as_fn_error "could not create $ac_file" "$LINENO" 5 ;;
 
16757
    *:-:* | *:-) cat >"$ac_tmp/stdin" \
 
16758
      || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;;
15855
16759
    esac
15856
16760
    ;;
15857
16761
  esac
15987
16891
s&@MKDIR_P@&$ac_MKDIR_P&;t t
15988
16892
$ac_datarootdir_hack
15989
16893
"
15990
 
eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$tmp/subs.awk" >$tmp/out \
15991
 
  || as_fn_error "could not create $ac_file" "$LINENO" 5
 
16894
eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.awk" \
 
16895
  >$ac_tmp/out || as_fn_error $? "could not create $ac_file" "$LINENO" 5
15992
16896
 
15993
16897
test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
15994
 
  { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out"`; test -n "$ac_out"; } &&
15995
 
  { ac_out=`sed -n '/^[  ]*datarootdir[  ]*:*=/p' "$tmp/out"`; test -z "$ac_out"; } &&
 
16898
  { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out"`; test -n "$ac_out"; } &&
 
16899
  { ac_out=`sed -n '/^[  ]*datarootdir[  ]*:*=/p' \
 
16900
      "$ac_tmp/out"`; test -z "$ac_out"; } &&
15996
16901
  { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
15997
 
which seems to be undefined.  Please make sure it is defined." >&5
 
16902
which seems to be undefined.  Please make sure it is defined" >&5
15998
16903
$as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
15999
 
which seems to be undefined.  Please make sure it is defined." >&2;}
 
16904
which seems to be undefined.  Please make sure it is defined" >&2;}
16000
16905
 
16001
 
  rm -f "$tmp/stdin"
 
16906
  rm -f "$ac_tmp/stdin"
16002
16907
  case $ac_file in
16003
 
  -) cat "$tmp/out" && rm -f "$tmp/out";;
16004
 
  *) rm -f "$ac_file" && mv "$tmp/out" "$ac_file";;
 
16908
  -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
 
16909
  *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
16005
16910
  esac \
16006
 
  || as_fn_error "could not create $ac_file" "$LINENO" 5
 
16911
  || as_fn_error $? "could not create $ac_file" "$LINENO" 5
16007
16912
 ;;
16008
16913
  :H)
16009
16914
  #
16012
16917
  if test x"$ac_file" != x-; then
16013
16918
    {
16014
16919
      $as_echo "/* $configure_input  */" \
16015
 
      && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs"
16016
 
    } >"$tmp/config.h" \
16017
 
      || as_fn_error "could not create $ac_file" "$LINENO" 5
16018
 
    if diff "$ac_file" "$tmp/config.h" >/dev/null 2>&1; then
 
16920
      && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs"
 
16921
    } >"$ac_tmp/config.h" \
 
16922
      || as_fn_error $? "could not create $ac_file" "$LINENO" 5
 
16923
    if diff "$ac_file" "$ac_tmp/config.h" >/dev/null 2>&1; then
16019
16924
      { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
16020
16925
$as_echo "$as_me: $ac_file is unchanged" >&6;}
16021
16926
    else
16022
16927
      rm -f "$ac_file"
16023
 
      mv "$tmp/config.h" "$ac_file" \
16024
 
        || as_fn_error "could not create $ac_file" "$LINENO" 5
 
16928
      mv "$ac_tmp/config.h" "$ac_file" \
 
16929
        || as_fn_error $? "could not create $ac_file" "$LINENO" 5
16025
16930
    fi
16026
16931
  else
16027
16932
    $as_echo "/* $configure_input  */" \
16028
 
      && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs" \
16029
 
      || as_fn_error "could not create -" "$LINENO" 5
 
16933
      && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \
 
16934
      || as_fn_error $? "could not create -" "$LINENO" 5
16030
16935
  fi
16031
16936
# Compute "$ac_file"'s index in $config_headers.
16032
16937
_am_arg="$ac_file"
16187
17092
# NOTE: Changes made to this file will be lost: look at ltmain.sh.
16188
17093
#
16189
17094
#   Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2003, 2004, 2005,
16190
 
#                 2006, 2007, 2008 Free Software Foundation, Inc.
 
17095
#                 2006, 2007, 2008, 2009, 2010, 2011 Free Software
 
17096
#                 Foundation, Inc.
16191
17097
#   Written by Gordon Matzigkeit, 1996
16192
17098
#
16193
17099
#   This file is part of GNU Libtool.
16235
17141
# Whether or not to optimize for fast installation.
16236
17142
fast_install=$enable_fast_install
16237
17143
 
 
17144
# Shell to use when invoking shell scripts.
 
17145
SHELL=$lt_SHELL
 
17146
 
 
17147
# An echo program that protects backslashes.
 
17148
ECHO=$lt_ECHO
 
17149
 
 
17150
# The PATH separator for the build system.
 
17151
PATH_SEPARATOR=$lt_PATH_SEPARATOR
 
17152
 
16238
17153
# The host system.
16239
17154
host_alias=$host_alias
16240
17155
host=$host
16284
17199
# turn newlines into spaces.
16285
17200
NL2SP=$lt_lt_NL2SP
16286
17201
 
16287
 
# How to create reloadable object files.
16288
 
reload_flag=$lt_reload_flag
16289
 
reload_cmds=$lt_reload_cmds
 
17202
# convert \$build file names to \$host format.
 
17203
to_host_file_cmd=$lt_cv_to_host_file_cmd
 
17204
 
 
17205
# convert \$build files to toolchain format.
 
17206
to_tool_file_cmd=$lt_cv_to_tool_file_cmd
16290
17207
 
16291
17208
# An object symbol dumper.
16292
17209
OBJDUMP=$lt_OBJDUMP
16294
17211
# Method to check whether dependent libraries are shared objects.
16295
17212
deplibs_check_method=$lt_deplibs_check_method
16296
17213
 
16297
 
# Command to use when deplibs_check_method == "file_magic".
 
17214
# Command to use when deplibs_check_method = "file_magic".
16298
17215
file_magic_cmd=$lt_file_magic_cmd
16299
17216
 
 
17217
# How to find potential files when deplibs_check_method = "file_magic".
 
17218
file_magic_glob=$lt_file_magic_glob
 
17219
 
 
17220
# Find potential files using nocaseglob when deplibs_check_method = "file_magic".
 
17221
want_nocaseglob=$lt_want_nocaseglob
 
17222
 
 
17223
# DLL creation program.
 
17224
DLLTOOL=$lt_DLLTOOL
 
17225
 
 
17226
# Command to associate shared and link libraries.
 
17227
sharedlib_from_linklib_cmd=$lt_sharedlib_from_linklib_cmd
 
17228
 
16300
17229
# The archiver.
16301
17230
AR=$lt_AR
 
17231
 
 
17232
# Flags to create an archive.
16302
17233
AR_FLAGS=$lt_AR_FLAGS
16303
17234
 
 
17235
# How to feed a file listing to the archiver.
 
17236
archiver_list_spec=$lt_archiver_list_spec
 
17237
 
16304
17238
# A symbol stripping program.
16305
17239
STRIP=$lt_STRIP
16306
17240
 
16309
17243
old_postinstall_cmds=$lt_old_postinstall_cmds
16310
17244
old_postuninstall_cmds=$lt_old_postuninstall_cmds
16311
17245
 
 
17246
# Whether to use a lock for old archive extraction.
 
17247
lock_old_archive_extraction=$lock_old_archive_extraction
 
17248
 
16312
17249
# A C compiler.
16313
17250
LTCC=$lt_CC
16314
17251
 
16327
17264
# Transform the output of nm in a C name address pair when lib prefix is needed.
16328
17265
global_symbol_to_c_name_address_lib_prefix=$lt_lt_cv_sys_global_symbol_to_c_name_address_lib_prefix
16329
17266
 
 
17267
# Specify filename containing input files for \$NM.
 
17268
nm_file_list_spec=$lt_nm_file_list_spec
 
17269
 
 
17270
# The root where to search for dependent libraries,and in which our libraries should be installed.
 
17271
lt_sysroot=$lt_sysroot
 
17272
 
16330
17273
# The name of the directory that contains temporary libtool files.
16331
17274
objdir=$objdir
16332
17275
 
16333
 
# Shell to use when invoking shell scripts.
16334
 
SHELL=$lt_SHELL
16335
 
 
16336
 
# An echo program that does not interpret backslashes.
16337
 
ECHO=$lt_ECHO
16338
 
 
16339
17276
# Used to examine libraries when file_magic_cmd begins with "file".
16340
17277
MAGIC_CMD=$MAGIC_CMD
16341
17278
 
16342
17279
# Must we lock files when doing compilation?
16343
17280
need_locks=$lt_need_locks
16344
17281
 
 
17282
# Manifest tool.
 
17283
MANIFEST_TOOL=$lt_MANIFEST_TOOL
 
17284
 
16345
17285
# Tool to manipulate archived DWARF debug symbol files on Mac OS X.
16346
17286
DSYMUTIL=$lt_DSYMUTIL
16347
17287
 
16398
17338
# The coded name of the library, if different from the real name.
16399
17339
soname_spec=$lt_soname_spec
16400
17340
 
 
17341
# Permission mode override for installation of shared libraries.
 
17342
install_override_mode=$lt_install_override_mode
 
17343
 
16401
17344
# Command to use after installation of a shared archive.
16402
17345
postinstall_cmds=$lt_postinstall_cmds
16403
17346
 
16437
17380
# The linker used to build libraries.
16438
17381
LD=$lt_LD
16439
17382
 
 
17383
# How to create reloadable object files.
 
17384
reload_flag=$lt_reload_flag
 
17385
reload_cmds=$lt_reload_cmds
 
17386
 
16440
17387
# Commands used to build an old-style archive.
16441
17388
old_archive_cmds=$lt_old_archive_cmds
16442
17389
 
16449
17396
# Compiler flag to turn off builtin functions.
16450
17397
no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag
16451
17398
 
 
17399
# Additional compiler flags for building library objects.
 
17400
pic_flag=$lt_lt_prog_compiler_pic
 
17401
 
16452
17402
# How to pass a linker flag through the compiler.
16453
17403
wl=$lt_lt_prog_compiler_wl
16454
17404
 
16455
 
# Additional compiler flags for building library objects.
16456
 
pic_flag=$lt_lt_prog_compiler_pic
16457
 
 
16458
17405
# Compiler flag to prevent dynamic linking.
16459
17406
link_static_flag=$lt_lt_prog_compiler_static
16460
17407
 
16504
17451
# This must work even if \$libdir does not exist
16505
17452
hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec
16506
17453
 
16507
 
# If ld is used when linking, flag to hardcode \$libdir into a binary
16508
 
# during linking.  This must work even if \$libdir does not exist.
16509
 
hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld
16510
 
 
16511
17454
# Whether we need a single "-rpath" flag with a separated argument.
16512
17455
hardcode_libdir_separator=$lt_hardcode_libdir_separator
16513
17456
 
16541
17484
# Whether libtool must link a program against all its dependency libraries.
16542
17485
link_all_deplibs=$link_all_deplibs
16543
17486
 
16544
 
# Fix the shell variable \$srcfile for the compiler.
16545
 
fix_srcfile_path=$lt_fix_srcfile_path
16546
 
 
16547
17487
# Set to "yes" if exported symbols are required.
16548
17488
always_export_symbols=$always_export_symbols
16549
17489
 
16559
17499
# Commands necessary for linking programs (against libraries) with templates.
16560
17500
prelink_cmds=$lt_prelink_cmds
16561
17501
 
 
17502
# Commands necessary for finishing linking programs.
 
17503
postlink_cmds=$lt_postlink_cmds
 
17504
 
16562
17505
# Specify filename containing input files.
16563
17506
file_list_spec=$lt_file_list_spec
16564
17507
 
16605
17548
  # if finds mixed CR/LF and LF-only lines.  Since sed operates in
16606
17549
  # text mode, it properly converts lines to CR/LF.  This bash problem
16607
17550
  # is reportedly fixed, but why not run on old versions too?
16608
 
  sed '/^# Generated shell functions inserted here/q' "$ltmain" >> "$cfgfile" \
16609
 
    || (rm -f "$cfgfile"; exit 1)
16610
 
 
16611
 
  case $xsi_shell in
16612
 
  yes)
16613
 
    cat << \_LT_EOF >> "$cfgfile"
16614
 
 
16615
 
# func_dirname file append nondir_replacement
16616
 
# Compute the dirname of FILE.  If nonempty, add APPEND to the result,
16617
 
# otherwise set result to NONDIR_REPLACEMENT.
16618
 
func_dirname ()
16619
 
{
16620
 
  case ${1} in
16621
 
    */*) func_dirname_result="${1%/*}${2}" ;;
16622
 
    *  ) func_dirname_result="${3}" ;;
16623
 
  esac
16624
 
}
16625
 
 
16626
 
# func_basename file
16627
 
func_basename ()
16628
 
{
16629
 
  func_basename_result="${1##*/}"
16630
 
}
16631
 
 
16632
 
# func_dirname_and_basename file append nondir_replacement
16633
 
# perform func_basename and func_dirname in a single function
16634
 
# call:
16635
 
#   dirname:  Compute the dirname of FILE.  If nonempty,
16636
 
#             add APPEND to the result, otherwise set result
16637
 
#             to NONDIR_REPLACEMENT.
16638
 
#             value returned in "$func_dirname_result"
16639
 
#   basename: Compute filename of FILE.
16640
 
#             value retuned in "$func_basename_result"
16641
 
# Implementation must be kept synchronized with func_dirname
16642
 
# and func_basename. For efficiency, we do not delegate to
16643
 
# those functions but instead duplicate the functionality here.
16644
 
func_dirname_and_basename ()
16645
 
{
16646
 
  case ${1} in
16647
 
    */*) func_dirname_result="${1%/*}${2}" ;;
16648
 
    *  ) func_dirname_result="${3}" ;;
16649
 
  esac
16650
 
  func_basename_result="${1##*/}"
16651
 
}
16652
 
 
16653
 
# func_stripname prefix suffix name
16654
 
# strip PREFIX and SUFFIX off of NAME.
16655
 
# PREFIX and SUFFIX must not contain globbing or regex special
16656
 
# characters, hashes, percent signs, but SUFFIX may contain a leading
16657
 
# dot (in which case that matches only a dot).
16658
 
func_stripname ()
16659
 
{
16660
 
  # pdksh 5.2.14 does not do ${X%$Y} correctly if both X and Y are
16661
 
  # positional parameters, so assign one to ordinary parameter first.
16662
 
  func_stripname_result=${3}
16663
 
  func_stripname_result=${func_stripname_result#"${1}"}
16664
 
  func_stripname_result=${func_stripname_result%"${2}"}
16665
 
}
16666
 
 
16667
 
# func_opt_split
16668
 
func_opt_split ()
16669
 
{
16670
 
  func_opt_split_opt=${1%%=*}
16671
 
  func_opt_split_arg=${1#*=}
16672
 
}
16673
 
 
16674
 
# func_lo2o object
16675
 
func_lo2o ()
16676
 
{
16677
 
  case ${1} in
16678
 
    *.lo) func_lo2o_result=${1%.lo}.${objext} ;;
16679
 
    *)    func_lo2o_result=${1} ;;
16680
 
  esac
16681
 
}
16682
 
 
16683
 
# func_xform libobj-or-source
16684
 
func_xform ()
16685
 
{
16686
 
  func_xform_result=${1%.*}.lo
16687
 
}
16688
 
 
16689
 
# func_arith arithmetic-term...
16690
 
func_arith ()
16691
 
{
16692
 
  func_arith_result=$(( $* ))
16693
 
}
16694
 
 
16695
 
# func_len string
16696
 
# STRING may not start with a hyphen.
16697
 
func_len ()
16698
 
{
16699
 
  func_len_result=${#1}
16700
 
}
16701
 
 
16702
 
_LT_EOF
16703
 
    ;;
16704
 
  *) # Bourne compatible functions.
16705
 
    cat << \_LT_EOF >> "$cfgfile"
16706
 
 
16707
 
# func_dirname file append nondir_replacement
16708
 
# Compute the dirname of FILE.  If nonempty, add APPEND to the result,
16709
 
# otherwise set result to NONDIR_REPLACEMENT.
16710
 
func_dirname ()
16711
 
{
16712
 
  # Extract subdirectory from the argument.
16713
 
  func_dirname_result=`$ECHO "X${1}" | $Xsed -e "$dirname"`
16714
 
  if test "X$func_dirname_result" = "X${1}"; then
16715
 
    func_dirname_result="${3}"
16716
 
  else
16717
 
    func_dirname_result="$func_dirname_result${2}"
16718
 
  fi
16719
 
}
16720
 
 
16721
 
# func_basename file
16722
 
func_basename ()
16723
 
{
16724
 
  func_basename_result=`$ECHO "X${1}" | $Xsed -e "$basename"`
16725
 
}
16726
 
 
16727
 
 
16728
 
# func_stripname prefix suffix name
16729
 
# strip PREFIX and SUFFIX off of NAME.
16730
 
# PREFIX and SUFFIX must not contain globbing or regex special
16731
 
# characters, hashes, percent signs, but SUFFIX may contain a leading
16732
 
# dot (in which case that matches only a dot).
16733
 
# func_strip_suffix prefix name
16734
 
func_stripname ()
16735
 
{
16736
 
  case ${2} in
16737
 
    .*) func_stripname_result=`$ECHO "X${3}" \
16738
 
           | $Xsed -e "s%^${1}%%" -e "s%\\\\${2}\$%%"`;;
16739
 
    *)  func_stripname_result=`$ECHO "X${3}" \
16740
 
           | $Xsed -e "s%^${1}%%" -e "s%${2}\$%%"`;;
16741
 
  esac
16742
 
}
16743
 
 
16744
 
# sed scripts:
16745
 
my_sed_long_opt='1s/^\(-[^=]*\)=.*/\1/;q'
16746
 
my_sed_long_arg='1s/^-[^=]*=//'
16747
 
 
16748
 
# func_opt_split
16749
 
func_opt_split ()
16750
 
{
16751
 
  func_opt_split_opt=`$ECHO "X${1}" | $Xsed -e "$my_sed_long_opt"`
16752
 
  func_opt_split_arg=`$ECHO "X${1}" | $Xsed -e "$my_sed_long_arg"`
16753
 
}
16754
 
 
16755
 
# func_lo2o object
16756
 
func_lo2o ()
16757
 
{
16758
 
  func_lo2o_result=`$ECHO "X${1}" | $Xsed -e "$lo2o"`
16759
 
}
16760
 
 
16761
 
# func_xform libobj-or-source
16762
 
func_xform ()
16763
 
{
16764
 
  func_xform_result=`$ECHO "X${1}" | $Xsed -e 's/\.[^.]*$/.lo/'`
16765
 
}
16766
 
 
16767
 
# func_arith arithmetic-term...
16768
 
func_arith ()
16769
 
{
16770
 
  func_arith_result=`expr "$@"`
16771
 
}
16772
 
 
16773
 
# func_len string
16774
 
# STRING may not start with a hyphen.
16775
 
func_len ()
16776
 
{
16777
 
  func_len_result=`expr "$1" : ".*" 2>/dev/null || echo $max_cmd_len`
16778
 
}
16779
 
 
16780
 
_LT_EOF
16781
 
esac
16782
 
 
16783
 
case $lt_shell_append in
16784
 
  yes)
16785
 
    cat << \_LT_EOF >> "$cfgfile"
16786
 
 
16787
 
# func_append var value
16788
 
# Append VALUE to the end of shell variable VAR.
16789
 
func_append ()
16790
 
{
16791
 
  eval "$1+=\$2"
16792
 
}
16793
 
_LT_EOF
16794
 
    ;;
16795
 
  *)
16796
 
    cat << \_LT_EOF >> "$cfgfile"
16797
 
 
16798
 
# func_append var value
16799
 
# Append VALUE to the end of shell variable VAR.
16800
 
func_append ()
16801
 
{
16802
 
  eval "$1=\$$1\$2"
16803
 
}
16804
 
 
16805
 
_LT_EOF
16806
 
    ;;
16807
 
  esac
16808
 
 
16809
 
 
16810
 
  sed -n '/^# Generated shell functions inserted here/,$p' "$ltmain" >> "$cfgfile" \
16811
 
    || (rm -f "$cfgfile"; exit 1)
16812
 
 
16813
 
  mv -f "$cfgfile" "$ofile" ||
 
17551
  sed '$q' "$ltmain" >> "$cfgfile" \
 
17552
     || (rm -f "$cfgfile"; exit 1)
 
17553
 
 
17554
  if test x"$xsi_shell" = xyes; then
 
17555
  sed -e '/^func_dirname ()$/,/^} # func_dirname /c\
 
17556
func_dirname ()\
 
17557
{\
 
17558
\    case ${1} in\
 
17559
\      */*) func_dirname_result="${1%/*}${2}" ;;\
 
17560
\      *  ) func_dirname_result="${3}" ;;\
 
17561
\    esac\
 
17562
} # Extended-shell func_dirname implementation' "$cfgfile" > $cfgfile.tmp \
 
17563
  && mv -f "$cfgfile.tmp" "$cfgfile" \
 
17564
    || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
 
17565
test 0 -eq $? || _lt_function_replace_fail=:
 
17566
 
 
17567
 
 
17568
  sed -e '/^func_basename ()$/,/^} # func_basename /c\
 
17569
func_basename ()\
 
17570
{\
 
17571
\    func_basename_result="${1##*/}"\
 
17572
} # Extended-shell func_basename implementation' "$cfgfile" > $cfgfile.tmp \
 
17573
  && mv -f "$cfgfile.tmp" "$cfgfile" \
 
17574
    || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
 
17575
test 0 -eq $? || _lt_function_replace_fail=:
 
17576
 
 
17577
 
 
17578
  sed -e '/^func_dirname_and_basename ()$/,/^} # func_dirname_and_basename /c\
 
17579
func_dirname_and_basename ()\
 
17580
{\
 
17581
\    case ${1} in\
 
17582
\      */*) func_dirname_result="${1%/*}${2}" ;;\
 
17583
\      *  ) func_dirname_result="${3}" ;;\
 
17584
\    esac\
 
17585
\    func_basename_result="${1##*/}"\
 
17586
} # Extended-shell func_dirname_and_basename implementation' "$cfgfile" > $cfgfile.tmp \
 
17587
  && mv -f "$cfgfile.tmp" "$cfgfile" \
 
17588
    || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
 
17589
test 0 -eq $? || _lt_function_replace_fail=:
 
17590
 
 
17591
 
 
17592
  sed -e '/^func_stripname ()$/,/^} # func_stripname /c\
 
17593
func_stripname ()\
 
17594
{\
 
17595
\    # pdksh 5.2.14 does not do ${X%$Y} correctly if both X and Y are\
 
17596
\    # positional parameters, so assign one to ordinary parameter first.\
 
17597
\    func_stripname_result=${3}\
 
17598
\    func_stripname_result=${func_stripname_result#"${1}"}\
 
17599
\    func_stripname_result=${func_stripname_result%"${2}"}\
 
17600
} # Extended-shell func_stripname implementation' "$cfgfile" > $cfgfile.tmp \
 
17601
  && mv -f "$cfgfile.tmp" "$cfgfile" \
 
17602
    || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
 
17603
test 0 -eq $? || _lt_function_replace_fail=:
 
17604
 
 
17605
 
 
17606
  sed -e '/^func_split_long_opt ()$/,/^} # func_split_long_opt /c\
 
17607
func_split_long_opt ()\
 
17608
{\
 
17609
\    func_split_long_opt_name=${1%%=*}\
 
17610
\    func_split_long_opt_arg=${1#*=}\
 
17611
} # Extended-shell func_split_long_opt implementation' "$cfgfile" > $cfgfile.tmp \
 
17612
  && mv -f "$cfgfile.tmp" "$cfgfile" \
 
17613
    || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
 
17614
test 0 -eq $? || _lt_function_replace_fail=:
 
17615
 
 
17616
 
 
17617
  sed -e '/^func_split_short_opt ()$/,/^} # func_split_short_opt /c\
 
17618
func_split_short_opt ()\
 
17619
{\
 
17620
\    func_split_short_opt_arg=${1#??}\
 
17621
\    func_split_short_opt_name=${1%"$func_split_short_opt_arg"}\
 
17622
} # Extended-shell func_split_short_opt implementation' "$cfgfile" > $cfgfile.tmp \
 
17623
  && mv -f "$cfgfile.tmp" "$cfgfile" \
 
17624
    || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
 
17625
test 0 -eq $? || _lt_function_replace_fail=:
 
17626
 
 
17627
 
 
17628
  sed -e '/^func_lo2o ()$/,/^} # func_lo2o /c\
 
17629
func_lo2o ()\
 
17630
{\
 
17631
\    case ${1} in\
 
17632
\      *.lo) func_lo2o_result=${1%.lo}.${objext} ;;\
 
17633
\      *)    func_lo2o_result=${1} ;;\
 
17634
\    esac\
 
17635
} # Extended-shell func_lo2o implementation' "$cfgfile" > $cfgfile.tmp \
 
17636
  && mv -f "$cfgfile.tmp" "$cfgfile" \
 
17637
    || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
 
17638
test 0 -eq $? || _lt_function_replace_fail=:
 
17639
 
 
17640
 
 
17641
  sed -e '/^func_xform ()$/,/^} # func_xform /c\
 
17642
func_xform ()\
 
17643
{\
 
17644
    func_xform_result=${1%.*}.lo\
 
17645
} # Extended-shell func_xform implementation' "$cfgfile" > $cfgfile.tmp \
 
17646
  && mv -f "$cfgfile.tmp" "$cfgfile" \
 
17647
    || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
 
17648
test 0 -eq $? || _lt_function_replace_fail=:
 
17649
 
 
17650
 
 
17651
  sed -e '/^func_arith ()$/,/^} # func_arith /c\
 
17652
func_arith ()\
 
17653
{\
 
17654
    func_arith_result=$(( $* ))\
 
17655
} # Extended-shell func_arith implementation' "$cfgfile" > $cfgfile.tmp \
 
17656
  && mv -f "$cfgfile.tmp" "$cfgfile" \
 
17657
    || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
 
17658
test 0 -eq $? || _lt_function_replace_fail=:
 
17659
 
 
17660
 
 
17661
  sed -e '/^func_len ()$/,/^} # func_len /c\
 
17662
func_len ()\
 
17663
{\
 
17664
    func_len_result=${#1}\
 
17665
} # Extended-shell func_len implementation' "$cfgfile" > $cfgfile.tmp \
 
17666
  && mv -f "$cfgfile.tmp" "$cfgfile" \
 
17667
    || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
 
17668
test 0 -eq $? || _lt_function_replace_fail=:
 
17669
 
 
17670
fi
 
17671
 
 
17672
if test x"$lt_shell_append" = xyes; then
 
17673
  sed -e '/^func_append ()$/,/^} # func_append /c\
 
17674
func_append ()\
 
17675
{\
 
17676
    eval "${1}+=\\${2}"\
 
17677
} # Extended-shell func_append implementation' "$cfgfile" > $cfgfile.tmp \
 
17678
  && mv -f "$cfgfile.tmp" "$cfgfile" \
 
17679
    || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
 
17680
test 0 -eq $? || _lt_function_replace_fail=:
 
17681
 
 
17682
 
 
17683
  sed -e '/^func_append_quoted ()$/,/^} # func_append_quoted /c\
 
17684
func_append_quoted ()\
 
17685
{\
 
17686
\    func_quote_for_eval "${2}"\
 
17687
\    eval "${1}+=\\\\ \\$func_quote_for_eval_result"\
 
17688
} # Extended-shell func_append_quoted implementation' "$cfgfile" > $cfgfile.tmp \
 
17689
  && mv -f "$cfgfile.tmp" "$cfgfile" \
 
17690
    || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
 
17691
test 0 -eq $? || _lt_function_replace_fail=:
 
17692
 
 
17693
 
 
17694
  # Save a `func_append' function call where possible by direct use of '+='
 
17695
  sed -e 's%func_append \([a-zA-Z_]\{1,\}\) "%\1+="%g' $cfgfile > $cfgfile.tmp \
 
17696
    && mv -f "$cfgfile.tmp" "$cfgfile" \
 
17697
      || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
 
17698
  test 0 -eq $? || _lt_function_replace_fail=:
 
17699
else
 
17700
  # Save a `func_append' function call even when '+=' is not available
 
17701
  sed -e 's%func_append \([a-zA-Z_]\{1,\}\) "%\1="$\1%g' $cfgfile > $cfgfile.tmp \
 
17702
    && mv -f "$cfgfile.tmp" "$cfgfile" \
 
17703
      || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
 
17704
  test 0 -eq $? || _lt_function_replace_fail=:
 
17705
fi
 
17706
 
 
17707
if test x"$_lt_function_replace_fail" = x":"; then
 
17708
  { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Unable to substitute extended shell functions in $ofile" >&5
 
17709
$as_echo "$as_me: WARNING: Unable to substitute extended shell functions in $ofile" >&2;}
 
17710
fi
 
17711
 
 
17712
 
 
17713
   mv -f "$cfgfile" "$ofile" ||
16814
17714
    (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile")
16815
17715
  chmod +x "$ofile"
16816
17716
 
16822
17722
# The linker used to build libraries.
16823
17723
LD=$lt_LD_CXX
16824
17724
 
 
17725
# How to create reloadable object files.
 
17726
reload_flag=$lt_reload_flag_CXX
 
17727
reload_cmds=$lt_reload_cmds_CXX
 
17728
 
16825
17729
# Commands used to build an old-style archive.
16826
17730
old_archive_cmds=$lt_old_archive_cmds_CXX
16827
17731
 
16834
17738
# Compiler flag to turn off builtin functions.
16835
17739
no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag_CXX
16836
17740
 
 
17741
# Additional compiler flags for building library objects.
 
17742
pic_flag=$lt_lt_prog_compiler_pic_CXX
 
17743
 
16837
17744
# How to pass a linker flag through the compiler.
16838
17745
wl=$lt_lt_prog_compiler_wl_CXX
16839
17746
 
16840
 
# Additional compiler flags for building library objects.
16841
 
pic_flag=$lt_lt_prog_compiler_pic_CXX
16842
 
 
16843
17747
# Compiler flag to prevent dynamic linking.
16844
17748
link_static_flag=$lt_lt_prog_compiler_static_CXX
16845
17749
 
16889
17793
# This must work even if \$libdir does not exist
16890
17794
hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec_CXX
16891
17795
 
16892
 
# If ld is used when linking, flag to hardcode \$libdir into a binary
16893
 
# during linking.  This must work even if \$libdir does not exist.
16894
 
hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld_CXX
16895
 
 
16896
17796
# Whether we need a single "-rpath" flag with a separated argument.
16897
17797
hardcode_libdir_separator=$lt_hardcode_libdir_separator_CXX
16898
17798
 
16926
17826
# Whether libtool must link a program against all its dependency libraries.
16927
17827
link_all_deplibs=$link_all_deplibs_CXX
16928
17828
 
16929
 
# Fix the shell variable \$srcfile for the compiler.
16930
 
fix_srcfile_path=$lt_fix_srcfile_path_CXX
16931
 
 
16932
17829
# Set to "yes" if exported symbols are required.
16933
17830
always_export_symbols=$always_export_symbols_CXX
16934
17831
 
16944
17841
# Commands necessary for linking programs (against libraries) with templates.
16945
17842
prelink_cmds=$lt_prelink_cmds_CXX
16946
17843
 
 
17844
# Commands necessary for finishing linking programs.
 
17845
postlink_cmds=$lt_postlink_cmds_CXX
 
17846
 
16947
17847
# Specify filename containing input files.
16948
17848
file_list_spec=$lt_file_list_spec_CXX
16949
17849
 
16978
17878
ac_clean_files=$ac_clean_files_save
16979
17879
 
16980
17880
test $ac_write_fail = 0 ||
16981
 
  as_fn_error "write failure creating $CONFIG_STATUS" "$LINENO" 5
 
17881
  as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5
16982
17882
 
16983
17883
 
16984
17884
# configure is writing to config.log, and then calls config.status.
16999
17899
  exec 5>>config.log
17000
17900
  # Use ||, not &&, to avoid exiting from the if with $? = 1, which
17001
17901
  # would make configure fail if this is the last instruction.
17002
 
  $ac_cs_success || as_fn_exit $?
 
17902
  $ac_cs_success || as_fn_exit 1
17003
17903
fi
17004
17904
if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
17005
17905
  { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5