/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: Tim Marston
  • Date: 2014-01-03 12:17:03 UTC
  • Revision ID: tim@ed.am-20140103121703-afwyh7wifde5kidm
added description of return parameter to header

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.2dev.
 
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.2dev'
 
573
PACKAGE_STRING='sqlite3cc 0.2dev'
 
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>
745
616
LTLIBOBJS
746
617
LIBOBJS
747
618
CXXCPP
748
 
am__fastdepCXX_FALSE
749
 
am__fastdepCXX_TRUE
750
 
CXXDEPMODE
751
 
ac_ct_CXX
752
 
CXXFLAGS
753
 
CXX
754
619
CPP
755
620
OTOOL64
756
621
OTOOL
757
622
LIPO
758
623
NMEDIT
759
624
DSYMUTIL
760
 
lt_ECHO
 
625
MANIFEST_TOOL
761
626
RANLIB
 
627
ac_ct_AR
762
628
AR
 
629
DLLTOOL
763
630
OBJDUMP
764
631
LN_S
765
632
NM
773
640
am__fastdepCC_FALSE
774
641
am__fastdepCC_TRUE
775
642
CCDEPMODE
776
 
AMDEPBACKSLASH
777
 
AMDEP_FALSE
778
 
AMDEP_TRUE
779
 
am__quote
780
 
am__include
781
 
DEPDIR
782
 
OBJEXT
783
 
EXEEXT
784
643
ac_ct_CC
785
 
CPPFLAGS
786
 
LDFLAGS
787
644
CFLAGS
788
645
CC
789
646
host_os
795
652
build_cpu
796
653
build
797
654
LIBTOOL
 
655
am__fastdepCXX_FALSE
 
656
am__fastdepCXX_TRUE
 
657
CXXDEPMODE
 
658
am__nodep
 
659
AMDEPBACKSLASH
 
660
AMDEP_FALSE
 
661
AMDEP_TRUE
 
662
am__quote
 
663
am__include
 
664
DEPDIR
 
665
OBJEXT
 
666
EXEEXT
 
667
ac_ct_CXX
 
668
CPPFLAGS
 
669
LDFLAGS
 
670
CXXFLAGS
 
671
CXX
798
672
am__untar
799
673
am__tar
800
674
AMTAR
818
692
INSTALL_DATA
819
693
INSTALL_SCRIPT
820
694
INSTALL_PROGRAM
 
695
LIBSQLITE3CC_INTERFACE
821
696
target_alias
822
697
host_alias
823
698
build_alias
859
734
ac_subst_files=''
860
735
ac_user_opts='
861
736
enable_option_checking
 
737
enable_dependency_tracking
862
738
enable_shared
863
739
enable_static
864
740
with_pic
865
741
enable_fast_install
866
 
enable_dependency_tracking
867
742
with_gnu_ld
 
743
with_sysroot
868
744
enable_libtool_lock
869
745
'
870
746
      ac_precious_vars='build_alias
871
747
host_alias
872
748
target_alias
873
 
CC
874
 
CFLAGS
 
749
CXX
 
750
CXXFLAGS
875
751
LDFLAGS
876
752
LIBS
877
753
CPPFLAGS
878
 
CPP
879
 
CXX
880
 
CXXFLAGS
881
754
CCC
 
755
CC
 
756
CFLAGS
 
757
CPP
882
758
CXXCPP'
883
759
 
884
760
 
942
818
  fi
943
819
 
944
820
  case $ac_option in
945
 
  *=*)  ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
946
 
  *)    ac_optarg=yes ;;
 
821
  *=?*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
 
822
  *=)   ac_optarg= ;;
 
823
  *)    ac_optarg=yes ;;
947
824
  esac
948
825
 
949
826
  # Accept the important Cygnus configure options, so we can diagnose typos.
988
865
    ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
989
866
    # Reject names that are not valid shell variable names.
990
867
    expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
991
 
      as_fn_error "invalid feature name: $ac_useropt"
 
868
      as_fn_error $? "invalid feature name: $ac_useropt"
992
869
    ac_useropt_orig=$ac_useropt
993
870
    ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
994
871
    case $ac_user_opts in
1014
891
    ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
1015
892
    # Reject names that are not valid shell variable names.
1016
893
    expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1017
 
      as_fn_error "invalid feature name: $ac_useropt"
 
894
      as_fn_error $? "invalid feature name: $ac_useropt"
1018
895
    ac_useropt_orig=$ac_useropt
1019
896
    ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1020
897
    case $ac_user_opts in
1218
1095
    ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1219
1096
    # Reject names that are not valid shell variable names.
1220
1097
    expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1221
 
      as_fn_error "invalid package name: $ac_useropt"
 
1098
      as_fn_error $? "invalid package name: $ac_useropt"
1222
1099
    ac_useropt_orig=$ac_useropt
1223
1100
    ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1224
1101
    case $ac_user_opts in
1234
1111
    ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1235
1112
    # Reject names that are not valid shell variable names.
1236
1113
    expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1237
 
      as_fn_error "invalid package name: $ac_useropt"
 
1114
      as_fn_error $? "invalid package name: $ac_useropt"
1238
1115
    ac_useropt_orig=$ac_useropt
1239
1116
    ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1240
1117
    case $ac_user_opts in
1264
1141
  | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
1265
1142
    x_libraries=$ac_optarg ;;
1266
1143
 
1267
 
  -*) as_fn_error "unrecognized option: \`$ac_option'
1268
 
Try \`$0 --help' for more information."
 
1144
  -*) as_fn_error $? "unrecognized option: \`$ac_option'
 
1145
Try \`$0 --help' for more information"
1269
1146
    ;;
1270
1147
 
1271
1148
  *=*)
1273
1150
    # Reject names that are not valid shell variable names.
1274
1151
    case $ac_envvar in #(
1275
1152
      '' | [0-9]* | *[!_$as_cr_alnum]* )
1276
 
      as_fn_error "invalid variable name: \`$ac_envvar'" ;;
 
1153
      as_fn_error $? "invalid variable name: \`$ac_envvar'" ;;
1277
1154
    esac
1278
1155
    eval $ac_envvar=\$ac_optarg
1279
1156
    export $ac_envvar ;;
1283
1160
    $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1284
1161
    expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1285
1162
      $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1286
 
    : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
 
1163
    : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"
1287
1164
    ;;
1288
1165
 
1289
1166
  esac
1291
1168
 
1292
1169
if test -n "$ac_prev"; then
1293
1170
  ac_option=--`echo $ac_prev | sed 's/_/-/g'`
1294
 
  as_fn_error "missing argument to $ac_option"
 
1171
  as_fn_error $? "missing argument to $ac_option"
1295
1172
fi
1296
1173
 
1297
1174
if test -n "$ac_unrecognized_opts"; then
1298
1175
  case $enable_option_checking in
1299
1176
    no) ;;
1300
 
    fatal) as_fn_error "unrecognized options: $ac_unrecognized_opts" ;;
 
1177
    fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;;
1301
1178
    *)     $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
1302
1179
  esac
1303
1180
fi
1320
1197
    [\\/$]* | ?:[\\/]* )  continue;;
1321
1198
    NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
1322
1199
  esac
1323
 
  as_fn_error "expected an absolute directory name for --$ac_var: $ac_val"
 
1200
  as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val"
1324
1201
done
1325
1202
 
1326
1203
# There might be people who depend on the old broken behavior: `$host'
1334
1211
if test "x$host_alias" != x; then
1335
1212
  if test "x$build_alias" = x; then
1336
1213
    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
 
1214
    $as_echo "$as_me: WARNING: if you wanted to set the --build type, don't use --host.
 
1215
    If a cross compiler is detected then cross compile mode will be used" >&2
1339
1216
  elif test "x$build_alias" != "x$host_alias"; then
1340
1217
    cross_compiling=yes
1341
1218
  fi
1350
1227
ac_pwd=`pwd` && test -n "$ac_pwd" &&
1351
1228
ac_ls_di=`ls -di .` &&
1352
1229
ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
1353
 
  as_fn_error "working directory cannot be determined"
 
1230
  as_fn_error $? "working directory cannot be determined"
1354
1231
test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1355
 
  as_fn_error "pwd does not report name of working directory"
 
1232
  as_fn_error $? "pwd does not report name of working directory"
1356
1233
 
1357
1234
 
1358
1235
# Find the source files, if location was not specified.
1391
1268
fi
1392
1269
if test ! -r "$srcdir/$ac_unique_file"; then
1393
1270
  test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
1394
 
  as_fn_error "cannot find sources ($ac_unique_file) in $srcdir"
 
1271
  as_fn_error $? "cannot find sources ($ac_unique_file) in $srcdir"
1395
1272
fi
1396
1273
ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
1397
1274
ac_abs_confdir=`(
1398
 
        cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error "$ac_msg"
 
1275
        cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
1399
1276
        pwd)`
1400
1277
# When building in place, set srcdir=.
1401
1278
if test "$ac_abs_confdir" = "$ac_pwd"; then
1421
1298
  # Omit some internal or obsolete options to make the list less imposing.
1422
1299
  # This message is too long to be a string in the A/UX 3.1 sh.
1423
1300
  cat <<_ACEOF
1424
 
\`configure' configures sqlite3cc 0.1.0 to adapt to many kinds of systems.
 
1301
\`configure' configures sqlite3cc 0.2dev to adapt to many kinds of systems.
1425
1302
 
1426
1303
Usage: $0 [OPTION]... [VAR=VALUE]...
1427
1304
 
1435
1312
      --help=short        display options specific to this package
1436
1313
      --help=recursive    display the short help of all the included packages
1437
1314
  -V, --version           display version information and exit
1438
 
  -q, --quiet, --silent   do not print \`checking...' messages
 
1315
  -q, --quiet, --silent   do not print \`checking ...' messages
1439
1316
      --cache-file=FILE   cache test results in FILE [disabled]
1440
1317
  -C, --config-cache      alias for \`--cache-file=config.cache'
1441
1318
  -n, --no-create         do not create output files
1491
1368
 
1492
1369
if test -n "$ac_init_help"; then
1493
1370
  case $ac_init_help in
1494
 
     short | recursive ) echo "Configuration of sqlite3cc 0.1.0:";;
 
1371
     short | recursive ) echo "Configuration of sqlite3cc 0.2dev:";;
1495
1372
   esac
1496
1373
  cat <<\_ACEOF
1497
1374
 
1499
1376
  --disable-option-checking  ignore unrecognized --enable/--with options
1500
1377
  --disable-FEATURE       do not include FEATURE (same as --enable-FEATURE=no)
1501
1378
  --enable-FEATURE[=ARG]  include FEATURE [ARG=yes]
 
1379
  --disable-dependency-tracking  speeds up one-time build
 
1380
  --enable-dependency-tracking   do not reject slow dependency extractors
1502
1381
  --enable-shared[=PKGS]  build shared libraries [default=yes]
1503
1382
  --enable-static[=PKGS]  build static libraries [default=yes]
1504
1383
  --enable-fast-install[=PKGS]
1505
1384
                          optimize for fast installation [default=yes]
1506
 
  --disable-dependency-tracking  speeds up one-time build
1507
 
  --enable-dependency-tracking   do not reject slow dependency extractors
1508
1385
  --disable-libtool-lock  avoid locking (might break parallel builds)
1509
1386
 
1510
1387
Optional Packages:
1511
1388
  --with-PACKAGE[=ARG]    use PACKAGE [ARG=yes]
1512
1389
  --without-PACKAGE       do not use PACKAGE (same as --with-PACKAGE=no)
1513
 
  --with-pic              try to use only PIC/non-PIC objects [default=use
 
1390
  --with-pic[=PKGS]       try to use only PIC/non-PIC objects [default=use
1514
1391
                          both]
1515
1392
  --with-gnu-ld           assume the C compiler uses GNU ld [default=no]
 
1393
  --with-sysroot=DIR Search for dependent libraries within DIR
 
1394
                        (or the compiler's sysroot if not specified).
1516
1395
 
1517
1396
Some influential environment variables:
1518
 
  CC          C compiler command
1519
 
  CFLAGS      C compiler flags
 
1397
  CXX         C++ compiler command
 
1398
  CXXFLAGS    C++ compiler flags
1520
1399
  LDFLAGS     linker flags, e.g. -L<lib dir> if you have libraries in a
1521
1400
              nonstandard directory <lib dir>
1522
1401
  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
 
1402
  CPPFLAGS    (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if
1524
1403
              you have headers in a nonstandard directory <include dir>
 
1404
  CC          C compiler command
 
1405
  CFLAGS      C compiler flags
1525
1406
  CPP         C preprocessor
1526
 
  CXX         C++ compiler command
1527
 
  CXXFLAGS    C++ compiler flags
1528
1407
  CXXCPP      C++ preprocessor
1529
1408
 
1530
1409
Use these variables to override the choices made by `configure' or to help
1531
1410
it to find libraries and programs with nonstandard names/locations.
1532
1411
 
1533
 
Report bugs to <edam@waxworlds.org>.
 
1412
Report bugs to <tim@ed.am>.
 
1413
sqlite3cc home page: <http://ed.am/dev/sqlite3cc>.
1534
1414
_ACEOF
1535
1415
ac_status=$?
1536
1416
fi
1593
1473
test -n "$ac_init_help" && exit $ac_status
1594
1474
if $ac_init_version; then
1595
1475
  cat <<\_ACEOF
1596
 
sqlite3cc configure 0.1.0
1597
 
generated by GNU Autoconf 2.64
 
1476
sqlite3cc configure 0.2dev
 
1477
generated by GNU Autoconf 2.68
1598
1478
 
1599
 
Copyright (C) 2009 Free Software Foundation, Inc.
 
1479
Copyright (C) 2010 Free Software Foundation, Inc.
1600
1480
This configure script is free software; the Free Software Foundation
1601
1481
gives unlimited permission to copy, distribute and modify it.
1602
1482
_ACEOF
1607
1487
## Autoconf initialization. ##
1608
1488
## ------------------------ ##
1609
1489
 
 
1490
# ac_fn_cxx_try_compile LINENO
 
1491
# ----------------------------
 
1492
# Try to compile conftest.$ac_ext, and return whether this succeeded.
 
1493
ac_fn_cxx_try_compile ()
 
1494
{
 
1495
  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
 
1496
  rm -f conftest.$ac_objext
 
1497
  if { { ac_try="$ac_compile"
 
1498
case "(($ac_try" in
 
1499
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
1500
  *) ac_try_echo=$ac_try;;
 
1501
esac
 
1502
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
 
1503
$as_echo "$ac_try_echo"; } >&5
 
1504
  (eval "$ac_compile") 2>conftest.err
 
1505
  ac_status=$?
 
1506
  if test -s conftest.err; then
 
1507
    grep -v '^ *+' conftest.err >conftest.er1
 
1508
    cat conftest.er1 >&5
 
1509
    mv -f conftest.er1 conftest.err
 
1510
  fi
 
1511
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 
1512
  test $ac_status = 0; } && {
 
1513
         test -z "$ac_cxx_werror_flag" ||
 
1514
         test ! -s conftest.err
 
1515
       } && test -s conftest.$ac_objext; then :
 
1516
  ac_retval=0
 
1517
else
 
1518
  $as_echo "$as_me: failed program was:" >&5
 
1519
sed 's/^/| /' conftest.$ac_ext >&5
 
1520
 
 
1521
        ac_retval=1
 
1522
fi
 
1523
  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
 
1524
  as_fn_set_status $ac_retval
 
1525
 
 
1526
} # ac_fn_cxx_try_compile
 
1527
 
1610
1528
# ac_fn_c_try_compile LINENO
1611
1529
# --------------------------
1612
1530
# Try to compile conftest.$ac_ext, and return whether this succeeded.
1640
1558
 
1641
1559
        ac_retval=1
1642
1560
fi
1643
 
  eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1644
 
  return $ac_retval
 
1561
  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
 
1562
  as_fn_set_status $ac_retval
1645
1563
 
1646
1564
} # ac_fn_c_try_compile
1647
1565
 
1686
1604
  # interfere with the next link command; also delete a directory that is
1687
1605
  # left behind by Apple's compiler.  We do this before executing the actions.
1688
1606
  rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1689
 
  eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1690
 
  return $ac_retval
 
1607
  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
 
1608
  as_fn_set_status $ac_retval
1691
1609
 
1692
1610
} # ac_fn_c_try_link
1693
1611
 
1700
1618
  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1701
1619
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1702
1620
$as_echo_n "checking for $2... " >&6; }
1703
 
if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
 
1621
if eval \${$3+:} false; then :
1704
1622
  $as_echo_n "(cached) " >&6
1705
1623
else
1706
1624
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1718
1636
eval ac_res=\$$3
1719
1637
               { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1720
1638
$as_echo "$ac_res" >&6; }
1721
 
  eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
 
1639
  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1722
1640
 
1723
1641
} # ac_fn_c_check_header_compile
1724
1642
 
1743
1661
    mv -f conftest.er1 conftest.err
1744
1662
  fi
1745
1663
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1746
 
  test $ac_status = 0; } >/dev/null && {
 
1664
  test $ac_status = 0; } > conftest.i && {
1747
1665
         test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
1748
1666
         test ! -s conftest.err
1749
1667
       }; then :
1754
1672
 
1755
1673
    ac_retval=1
1756
1674
fi
1757
 
  eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1758
 
  return $ac_retval
 
1675
  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
 
1676
  as_fn_set_status $ac_retval
1759
1677
 
1760
1678
} # ac_fn_c_try_cpp
1761
1679
 
1796
1714
       ac_retval=$ac_status
1797
1715
fi
1798
1716
  rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1799
 
  eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1800
 
  return $ac_retval
 
1717
  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
 
1718
  as_fn_set_status $ac_retval
1801
1719
 
1802
1720
} # ac_fn_c_try_run
1803
1721
 
1809
1727
  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1810
1728
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1811
1729
$as_echo_n "checking for $2... " >&6; }
1812
 
if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
 
1730
if eval \${$3+:} false; then :
1813
1731
  $as_echo_n "(cached) " >&6
1814
1732
else
1815
1733
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1864
1782
eval ac_res=\$$3
1865
1783
               { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1866
1784
$as_echo "$ac_res" >&6; }
1867
 
  eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
 
1785
  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1868
1786
 
1869
1787
} # ac_fn_c_check_func
1870
1788
 
1871
 
# ac_fn_cxx_try_compile LINENO
1872
 
# ----------------------------
1873
 
# Try to compile conftest.$ac_ext, and return whether this succeeded.
1874
 
ac_fn_cxx_try_compile ()
1875
 
{
1876
 
  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1877
 
  rm -f conftest.$ac_objext
1878
 
  if { { ac_try="$ac_compile"
1879
 
case "(($ac_try" in
1880
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1881
 
  *) ac_try_echo=$ac_try;;
1882
 
esac
1883
 
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1884
 
$as_echo "$ac_try_echo"; } >&5
1885
 
  (eval "$ac_compile") 2>conftest.err
1886
 
  ac_status=$?
1887
 
  if test -s conftest.err; then
1888
 
    grep -v '^ *+' conftest.err >conftest.er1
1889
 
    cat conftest.er1 >&5
1890
 
    mv -f conftest.er1 conftest.err
1891
 
  fi
1892
 
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1893
 
  test $ac_status = 0; } && {
1894
 
         test -z "$ac_cxx_werror_flag" ||
1895
 
         test ! -s conftest.err
1896
 
       } && test -s conftest.$ac_objext; then :
1897
 
  ac_retval=0
1898
 
else
1899
 
  $as_echo "$as_me: failed program was:" >&5
1900
 
sed 's/^/| /' conftest.$ac_ext >&5
1901
 
 
1902
 
        ac_retval=1
1903
 
fi
1904
 
  eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1905
 
  return $ac_retval
1906
 
 
1907
 
} # ac_fn_cxx_try_compile
1908
 
 
1909
1789
# ac_fn_cxx_try_cpp LINENO
1910
1790
# ------------------------
1911
1791
# Try to preprocess conftest.$ac_ext, and return whether this succeeded.
1927
1807
    mv -f conftest.er1 conftest.err
1928
1808
  fi
1929
1809
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1930
 
  test $ac_status = 0; } >/dev/null && {
 
1810
  test $ac_status = 0; } > conftest.i && {
1931
1811
         test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
1932
1812
         test ! -s conftest.err
1933
1813
       }; then :
1938
1818
 
1939
1819
    ac_retval=1
1940
1820
fi
1941
 
  eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1942
 
  return $ac_retval
 
1821
  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
 
1822
  as_fn_set_status $ac_retval
1943
1823
 
1944
1824
} # ac_fn_cxx_try_cpp
1945
1825
 
1984
1864
  # interfere with the next link command; also delete a directory that is
1985
1865
  # left behind by Apple's compiler.  We do this before executing the actions.
1986
1866
  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
 
1867
  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
 
1868
  as_fn_set_status $ac_retval
1989
1869
 
1990
1870
} # ac_fn_cxx_try_link
1991
1871
 
1997
1877
ac_fn_c_check_header_mongrel ()
1998
1878
{
1999
1879
  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 :
 
1880
  if eval \${$3+:} false; then :
2001
1881
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2002
1882
$as_echo_n "checking for $2... " >&6; }
2003
 
if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
 
1883
if eval \${$3+:} false; then :
2004
1884
  $as_echo_n "(cached) " >&6
2005
1885
fi
2006
1886
eval ac_res=\$$3
2036
1916
else
2037
1917
  ac_header_preproc=no
2038
1918
fi
2039
 
rm -f conftest.err conftest.$ac_ext
 
1919
rm -f conftest.err conftest.i conftest.$ac_ext
2040
1920
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
2041
1921
$as_echo "$ac_header_preproc" >&6; }
2042
1922
 
2059
1939
$as_echo "$as_me: WARNING: $2:     section \"Present But Cannot Be Compiled\"" >&2;}
2060
1940
    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
2061
1941
$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
 
1942
( $as_echo "## ------------------------ ##
 
1943
## Report this to tim@ed.am ##
 
1944
## ------------------------ ##"
2067
1945
     ) | sed "s/^/$as_me: WARNING:     /" >&2
2068
1946
    ;;
2069
1947
esac
2070
1948
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2071
1949
$as_echo_n "checking for $2... " >&6; }
2072
 
if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
 
1950
if eval \${$3+:} false; then :
2073
1951
  $as_echo_n "(cached) " >&6
2074
1952
else
2075
1953
  eval "$3=\$ac_header_compiler"
2078
1956
               { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2079
1957
$as_echo "$ac_res" >&6; }
2080
1958
fi
2081
 
  eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
 
1959
  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2082
1960
 
2083
1961
} # ac_fn_c_check_header_mongrel
2084
1962
cat >config.log <<_ACEOF
2085
1963
This file contains any messages produced by compilers while
2086
1964
running configure, to aid debugging if configure makes a mistake.
2087
1965
 
2088
 
It was created by sqlite3cc $as_me 0.1.0, which was
2089
 
generated by GNU Autoconf 2.64.  Invocation command line was
 
1966
It was created by sqlite3cc $as_me 0.2dev, which was
 
1967
generated by GNU Autoconf 2.68.  Invocation command line was
2090
1968
 
2091
1969
  $ $0 $@
2092
1970
 
2196
2074
  {
2197
2075
    echo
2198
2076
 
2199
 
    cat <<\_ASBOX
2200
 
## ---------------- ##
 
2077
    $as_echo "## ---------------- ##
2201
2078
## Cache variables. ##
2202
 
## ---------------- ##
2203
 
_ASBOX
 
2079
## ---------------- ##"
2204
2080
    echo
2205
2081
    # The following way of writing the cache mishandles newlines in values,
2206
2082
(
2234
2110
)
2235
2111
    echo
2236
2112
 
2237
 
    cat <<\_ASBOX
2238
 
## ----------------- ##
 
2113
    $as_echo "## ----------------- ##
2239
2114
## Output variables. ##
2240
 
## ----------------- ##
2241
 
_ASBOX
 
2115
## ----------------- ##"
2242
2116
    echo
2243
2117
    for ac_var in $ac_subst_vars
2244
2118
    do
2251
2125
    echo
2252
2126
 
2253
2127
    if test -n "$ac_subst_files"; then
2254
 
      cat <<\_ASBOX
2255
 
## ------------------- ##
 
2128
      $as_echo "## ------------------- ##
2256
2129
## File substitutions. ##
2257
 
## ------------------- ##
2258
 
_ASBOX
 
2130
## ------------------- ##"
2259
2131
      echo
2260
2132
      for ac_var in $ac_subst_files
2261
2133
      do
2269
2141
    fi
2270
2142
 
2271
2143
    if test -s confdefs.h; then
2272
 
      cat <<\_ASBOX
2273
 
## ----------- ##
 
2144
      $as_echo "## ----------- ##
2274
2145
## confdefs.h. ##
2275
 
## ----------- ##
2276
 
_ASBOX
 
2146
## ----------- ##"
2277
2147
      echo
2278
2148
      cat confdefs.h
2279
2149
      echo
2328
2198
ac_site_file1=NONE
2329
2199
ac_site_file2=NONE
2330
2200
if test -n "$CONFIG_SITE"; then
2331
 
  ac_site_file1=$CONFIG_SITE
 
2201
  # We do not want a PATH search for config.site.
 
2202
  case $CONFIG_SITE in #((
 
2203
    -*)  ac_site_file1=./$CONFIG_SITE;;
 
2204
    */*) ac_site_file1=$CONFIG_SITE;;
 
2205
    *)   ac_site_file1=./$CONFIG_SITE;;
 
2206
  esac
2332
2207
elif test "x$prefix" != xNONE; then
2333
2208
  ac_site_file1=$prefix/share/config.site
2334
2209
  ac_site_file2=$prefix/etc/config.site
2339
2214
for ac_site_file in "$ac_site_file1" "$ac_site_file2"
2340
2215
do
2341
2216
  test "x$ac_site_file" = xNONE && continue
2342
 
  if test -r "$ac_site_file"; then
 
2217
  if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then
2343
2218
    { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
2344
2219
$as_echo "$as_me: loading site script $ac_site_file" >&6;}
2345
2220
    sed 's/^/| /' "$ac_site_file" >&5
2346
 
    . "$ac_site_file"
 
2221
    . "$ac_site_file" \
 
2222
      || { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
 
2223
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
 
2224
as_fn_error $? "failed to load site script $ac_site_file
 
2225
See \`config.log' for more details" "$LINENO" 5; }
2347
2226
  fi
2348
2227
done
2349
2228
 
2350
2229
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
 
2230
  # Some versions of bash will fail to source /dev/null (special files
 
2231
  # actually), so we avoid doing that.  DJGPP emulates it as a regular file.
 
2232
  if test /dev/null != "$cache_file" && test -f "$cache_file"; then
2354
2233
    { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
2355
2234
$as_echo "$as_me: loading cache $cache_file" >&6;}
2356
2235
    case $cache_file in
2419
2298
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2420
2299
  { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
2421
2300
$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
 
2301
  as_fn_error $? "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
2423
2302
fi
2424
2303
## -------------------- ##
2425
2304
## Main body of script. ##
2432
2311
ac_compiler_gnu=$ac_cv_c_compiler_gnu
2433
2312
 
2434
2313
 
 
2314
LIBSQLITE3CC_INTERFACE=0:0:0
 
2315
 
2435
2316
ac_aux_dir=
2436
2317
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
 
2318
  if test -f "$ac_dir/install-sh"; then
 
2319
    ac_aux_dir=$ac_dir
 
2320
    ac_install_sh="$ac_aux_dir/install-sh -c"
 
2321
    break
 
2322
  elif test -f "$ac_dir/install.sh"; then
 
2323
    ac_aux_dir=$ac_dir
 
2324
    ac_install_sh="$ac_aux_dir/install.sh -c"
 
2325
    break
 
2326
  elif test -f "$ac_dir/shtool"; then
 
2327
    ac_aux_dir=$ac_dir
 
2328
    ac_install_sh="$ac_aux_dir/shtool install -c"
 
2329
    break
 
2330
  fi
2444
2331
done
2445
2332
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
 
2333
  as_fn_error $? "cannot find install-sh, install.sh, or shtool in build-aux \"$srcdir\"/build-aux" "$LINENO" 5
2447
2334
fi
2448
2335
 
2449
2336
# These three variables are undocumented and unsupported,
2475
2362
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
2476
2363
$as_echo_n "checking for a BSD-compatible install... " >&6; }
2477
2364
if test -z "$INSTALL"; then
2478
 
if test "${ac_cv_path_install+set}" = set; then :
 
2365
if ${ac_cv_path_install+:} false; then :
2479
2366
  $as_echo_n "(cached) " >&6
2480
2367
else
2481
2368
  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2562
2449
'
2563
2450
case `pwd` in
2564
2451
  *[\\\"\#\$\&\'\`$am_lf]*)
2565
 
    as_fn_error "unsafe absolute working directory name" "$LINENO" 5;;
 
2452
    as_fn_error $? "unsafe absolute working directory name" "$LINENO" 5;;
2566
2453
esac
2567
2454
case $srcdir in
2568
2455
  *[\\\"\#\$\&\'\`$am_lf\ \     ]*)
2569
 
    as_fn_error "unsafe srcdir value: \`$srcdir'" "$LINENO" 5;;
 
2456
    as_fn_error $? "unsafe srcdir value: \`$srcdir'" "$LINENO" 5;;
2570
2457
esac
2571
2458
 
2572
2459
# Do `set' in a subshell so we don't clobber the current shell's
2588
2475
      # if, for instance, CONFIG_SHELL is bash and it inherits a
2589
2476
      # broken ls alias from the environment.  This has actually
2590
2477
      # 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
 
2478
      as_fn_error $? "ls -t appears to fail.  Make sure there is not a broken
2592
2479
alias in your environment" "$LINENO" 5
2593
2480
   fi
2594
2481
 
2598
2485
   # Ok.
2599
2486
   :
2600
2487
else
2601
 
   as_fn_error "newly created file is older than distributed files!
 
2488
   as_fn_error $? "newly created file is older than distributed files!
2602
2489
Check your system clock" "$LINENO" 5
2603
2490
fi
2604
2491
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2652
2539
set dummy ${ac_tool_prefix}strip; ac_word=$2
2653
2540
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2654
2541
$as_echo_n "checking for $ac_word... " >&6; }
2655
 
if test "${ac_cv_prog_STRIP+set}" = set; then :
 
2542
if ${ac_cv_prog_STRIP+:} false; then :
2656
2543
  $as_echo_n "(cached) " >&6
2657
2544
else
2658
2545
  if test -n "$STRIP"; then
2692
2579
set dummy strip; ac_word=$2
2693
2580
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2694
2581
$as_echo_n "checking for $ac_word... " >&6; }
2695
 
if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then :
 
2582
if ${ac_cv_prog_ac_ct_STRIP+:} false; then :
2696
2583
  $as_echo_n "(cached) " >&6
2697
2584
else
2698
2585
  if test -n "$ac_ct_STRIP"; then
2745
2632
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for a thread-safe mkdir -p" >&5
2746
2633
$as_echo_n "checking for a thread-safe mkdir -p... " >&6; }
2747
2634
if test -z "$MKDIR_P"; then
2748
 
  if test "${ac_cv_path_mkdir+set}" = set; then :
 
2635
  if ${ac_cv_path_mkdir+:} false; then :
2749
2636
  $as_echo_n "(cached) " >&6
2750
2637
else
2751
2638
  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2770
2657
 
2771
2658
fi
2772
2659
 
 
2660
  test -d ./--version && rmdir ./--version
2773
2661
  if test "${ac_cv_path_mkdir+set}" = set; then
2774
2662
    MKDIR_P="$ac_cv_path_mkdir -p"
2775
2663
  else
2777
2665
    # value for MKDIR_P within a source directory, because that will
2778
2666
    # break other packages using the cache if that directory is
2779
2667
    # removed, or if the value is a relative name.
2780
 
    test -d ./--version && rmdir ./--version
2781
2668
    MKDIR_P="$ac_install_sh -d"
2782
2669
  fi
2783
2670
fi
2796
2683
set dummy $ac_prog; ac_word=$2
2797
2684
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2798
2685
$as_echo_n "checking for $ac_word... " >&6; }
2799
 
if test "${ac_cv_prog_AWK+set}" = set; then :
 
2686
if ${ac_cv_prog_AWK+:} false; then :
2800
2687
  $as_echo_n "(cached) " >&6
2801
2688
else
2802
2689
  if test -n "$AWK"; then
2836
2723
$as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
2837
2724
set x ${MAKE-make}
2838
2725
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 :
 
2726
if eval \${ac_cv_prog_make_${ac_make}_set+:} false; then :
2840
2727
  $as_echo_n "(cached) " >&6
2841
2728
else
2842
2729
  cat >conftest.make <<\_ACEOF
2844
2731
all:
2845
2732
        @echo '@@@%%%=$(MAKE)=@@@%%%'
2846
2733
_ACEOF
2847
 
# GNU make sometimes prints "make[1]: Entering...", which would confuse us.
 
2734
# GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
2848
2735
case `${MAKE-make} -f conftest.make 2>/dev/null` in
2849
2736
  *@@@%%%=?*=@@@%%%*)
2850
2737
    eval ac_cv_prog_make_${ac_make}_set=yes;;
2878
2765
  am__isrc=' -I$(srcdir)'
2879
2766
  # test to see if srcdir already configured
2880
2767
  if test -f $srcdir/config.status; then
2881
 
    as_fn_error "source directory already configured; run \"make distclean\" there first" "$LINENO" 5
 
2768
    as_fn_error $? "source directory already configured; run \"make distclean\" there first" "$LINENO" 5
2882
2769
  fi
2883
2770
fi
2884
2771
 
2894
2781
 
2895
2782
# Define the identity of the package.
2896
2783
 PACKAGE='sqlite3cc'
2897
 
 VERSION='0.1.0'
 
2784
 VERSION='0.2dev'
2898
2785
 
2899
2786
 
2900
2787
cat >>confdefs.h <<_ACEOF
2924
2811
 
2925
2812
# We need awk for the "check" target.  The system "awk" is bad on
2926
2813
# some platforms.
2927
 
# Always define AMTAR for backward compatibility.
2928
 
 
2929
 
AMTAR=${AMTAR-"${am_missing_run}tar"}
2930
 
 
2931
 
am__tar='${AMTAR} chof - "$$tardir"'; am__untar='${AMTAR} xf -'
 
2814
# Always define AMTAR for backward compatibility.  Yes, it's still used
 
2815
# in the wild :-(  We should find a proper way to deprecate it ...
 
2816
AMTAR='$${TAR-tar}'
 
2817
 
 
2818
am__tar='$${TAR-tar} chof - "$$tardir"' am__untar='$${TAR-tar} xf -'
2932
2819
 
2933
2820
 
2934
2821
 
2937
2824
 
2938
2825
ac_config_headers="$ac_config_headers config.h"
2939
2826
 
2940
 
case `pwd` in
2941
 
  *\ * | *\     *)
2942
 
    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&5
2943
 
$as_echo "$as_me: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&2;} ;;
2944
 
esac
2945
 
 
2946
 
 
2947
 
 
2948
 
macro_version='2.2.6'
2949
 
macro_revision='1.3012'
2950
 
 
2951
 
 
2952
 
 
2953
 
 
2954
 
 
2955
 
 
2956
 
 
2957
 
 
2958
 
 
2959
 
 
2960
 
 
2961
 
 
2962
 
 
2963
 
ltmain="$ac_aux_dir/ltmain.sh"
2964
 
 
2965
 
# Make sure we can run config.sub.
2966
 
$SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
2967
 
  as_fn_error "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
2968
 
 
2969
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
2970
 
$as_echo_n "checking build system type... " >&6; }
2971
 
if test "${ac_cv_build+set}" = set; then :
2972
 
  $as_echo_n "(cached) " >&6
2973
 
else
2974
 
  ac_build_alias=$build_alias
2975
 
test "x$ac_build_alias" = x &&
2976
 
  ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
2977
 
test "x$ac_build_alias" = x &&
2978
 
  as_fn_error "cannot guess build type; you must specify one" "$LINENO" 5
2979
 
ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
2980
 
  as_fn_error "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
2981
 
 
2982
 
fi
2983
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
2984
 
$as_echo "$ac_cv_build" >&6; }
2985
 
case $ac_cv_build in
2986
 
*-*-*) ;;
2987
 
*) as_fn_error "invalid value of canonical build" "$LINENO" 5;;
2988
 
esac
2989
 
build=$ac_cv_build
2990
 
ac_save_IFS=$IFS; IFS='-'
2991
 
set x $ac_cv_build
2992
 
shift
2993
 
build_cpu=$1
2994
 
build_vendor=$2
2995
 
shift; shift
2996
 
# Remember, the first character of IFS is used to create $*,
2997
 
# except with old shells:
2998
 
build_os=$*
2999
 
IFS=$ac_save_IFS
3000
 
case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
3001
 
 
3002
 
 
3003
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
3004
 
$as_echo_n "checking host system type... " >&6; }
3005
 
if test "${ac_cv_host+set}" = set; then :
3006
 
  $as_echo_n "(cached) " >&6
3007
 
else
3008
 
  if test "x$host_alias" = x; then
3009
 
  ac_cv_host=$ac_cv_build
3010
 
else
3011
 
  ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
3012
 
    as_fn_error "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
3013
 
fi
3014
 
 
3015
 
fi
3016
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
3017
 
$as_echo "$ac_cv_host" >&6; }
3018
 
case $ac_cv_host in
3019
 
*-*-*) ;;
3020
 
*) as_fn_error "invalid value of canonical host" "$LINENO" 5;;
3021
 
esac
3022
 
host=$ac_cv_host
3023
 
ac_save_IFS=$IFS; IFS='-'
3024
 
set x $ac_cv_host
3025
 
shift
3026
 
host_cpu=$1
3027
 
host_vendor=$2
3028
 
shift; shift
3029
 
# Remember, the first character of IFS is used to create $*,
3030
 
# except with old shells:
3031
 
host_os=$*
3032
 
IFS=$ac_save_IFS
3033
 
case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
3034
 
 
3035
 
 
 
2827
 
 
2828
# checks for programs.
 
2829
ac_ext=cpp
 
2830
ac_cpp='$CXXCPP $CPPFLAGS'
 
2831
ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
 
2832
ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
 
2833
ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
 
2834
if test -z "$CXX"; then
 
2835
  if test -n "$CCC"; then
 
2836
    CXX=$CCC
 
2837
  else
 
2838
    if test -n "$ac_tool_prefix"; then
 
2839
  for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
 
2840
  do
 
2841
    # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
 
2842
set dummy $ac_tool_prefix$ac_prog; ac_word=$2
 
2843
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 
2844
$as_echo_n "checking for $ac_word... " >&6; }
 
2845
if ${ac_cv_prog_CXX+:} false; then :
 
2846
  $as_echo_n "(cached) " >&6
 
2847
else
 
2848
  if test -n "$CXX"; then
 
2849
  ac_cv_prog_CXX="$CXX" # Let the user override the test.
 
2850
else
 
2851
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
2852
for as_dir in $PATH
 
2853
do
 
2854
  IFS=$as_save_IFS
 
2855
  test -z "$as_dir" && as_dir=.
 
2856
    for ac_exec_ext in '' $ac_executable_extensions; do
 
2857
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 
2858
    ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
 
2859
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
 
2860
    break 2
 
2861
  fi
 
2862
done
 
2863
  done
 
2864
IFS=$as_save_IFS
 
2865
 
 
2866
fi
 
2867
fi
 
2868
CXX=$ac_cv_prog_CXX
 
2869
if test -n "$CXX"; then
 
2870
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXX" >&5
 
2871
$as_echo "$CXX" >&6; }
 
2872
else
 
2873
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
2874
$as_echo "no" >&6; }
 
2875
fi
 
2876
 
 
2877
 
 
2878
    test -n "$CXX" && break
 
2879
  done
 
2880
fi
 
2881
if test -z "$CXX"; then
 
2882
  ac_ct_CXX=$CXX
 
2883
  for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
 
2884
do
 
2885
  # Extract the first word of "$ac_prog", so it can be a program name with args.
 
2886
set dummy $ac_prog; ac_word=$2
 
2887
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 
2888
$as_echo_n "checking for $ac_word... " >&6; }
 
2889
if ${ac_cv_prog_ac_ct_CXX+:} false; then :
 
2890
  $as_echo_n "(cached) " >&6
 
2891
else
 
2892
  if test -n "$ac_ct_CXX"; then
 
2893
  ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
 
2894
else
 
2895
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
2896
for as_dir in $PATH
 
2897
do
 
2898
  IFS=$as_save_IFS
 
2899
  test -z "$as_dir" && as_dir=.
 
2900
    for ac_exec_ext in '' $ac_executable_extensions; do
 
2901
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 
2902
    ac_cv_prog_ac_ct_CXX="$ac_prog"
 
2903
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
 
2904
    break 2
 
2905
  fi
 
2906
done
 
2907
  done
 
2908
IFS=$as_save_IFS
 
2909
 
 
2910
fi
 
2911
fi
 
2912
ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
 
2913
if test -n "$ac_ct_CXX"; then
 
2914
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CXX" >&5
 
2915
$as_echo "$ac_ct_CXX" >&6; }
 
2916
else
 
2917
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
2918
$as_echo "no" >&6; }
 
2919
fi
 
2920
 
 
2921
 
 
2922
  test -n "$ac_ct_CXX" && break
 
2923
done
 
2924
 
 
2925
  if test "x$ac_ct_CXX" = x; then
 
2926
    CXX="g++"
 
2927
  else
 
2928
    case $cross_compiling:$ac_tool_warned in
 
2929
yes:)
 
2930
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
 
2931
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
 
2932
ac_tool_warned=yes ;;
 
2933
esac
 
2934
    CXX=$ac_ct_CXX
 
2935
  fi
 
2936
fi
 
2937
 
 
2938
  fi
 
2939
fi
 
2940
# Provide some information about the compiler.
 
2941
$as_echo "$as_me:${as_lineno-$LINENO}: checking for C++ compiler version" >&5
 
2942
set X $ac_compile
 
2943
ac_compiler=$2
 
2944
for ac_option in --version -v -V -qversion; do
 
2945
  { { ac_try="$ac_compiler $ac_option >&5"
 
2946
case "(($ac_try" in
 
2947
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
2948
  *) ac_try_echo=$ac_try;;
 
2949
esac
 
2950
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
 
2951
$as_echo "$ac_try_echo"; } >&5
 
2952
  (eval "$ac_compiler $ac_option >&5") 2>conftest.err
 
2953
  ac_status=$?
 
2954
  if test -s conftest.err; then
 
2955
    sed '10a\
 
2956
... rest of stderr output deleted ...
 
2957
         10q' conftest.err >conftest.er1
 
2958
    cat conftest.er1 >&5
 
2959
  fi
 
2960
  rm -f conftest.er1 conftest.err
 
2961
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 
2962
  test $ac_status = 0; }
 
2963
done
 
2964
 
 
2965
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 
2966
/* end confdefs.h.  */
 
2967
 
 
2968
int
 
2969
main ()
 
2970
{
 
2971
 
 
2972
  ;
 
2973
  return 0;
 
2974
}
 
2975
_ACEOF
 
2976
ac_clean_files_save=$ac_clean_files
 
2977
ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
 
2978
# Try to create an executable without -o first, disregard a.out.
 
2979
# It will help us diagnose broken compilers, and finding out an intuition
 
2980
# of exeext.
 
2981
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C++ compiler works" >&5
 
2982
$as_echo_n "checking whether the C++ compiler works... " >&6; }
 
2983
ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
 
2984
 
 
2985
# The possible output files:
 
2986
ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
 
2987
 
 
2988
ac_rmfiles=
 
2989
for ac_file in $ac_files
 
2990
do
 
2991
  case $ac_file in
 
2992
    *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
 
2993
    * ) ac_rmfiles="$ac_rmfiles $ac_file";;
 
2994
  esac
 
2995
done
 
2996
rm -f $ac_rmfiles
 
2997
 
 
2998
if { { ac_try="$ac_link_default"
 
2999
case "(($ac_try" in
 
3000
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
3001
  *) ac_try_echo=$ac_try;;
 
3002
esac
 
3003
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
 
3004
$as_echo "$ac_try_echo"; } >&5
 
3005
  (eval "$ac_link_default") 2>&5
 
3006
  ac_status=$?
 
3007
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 
3008
  test $ac_status = 0; }; then :
 
3009
  # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
 
3010
# So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
 
3011
# in a Makefile.  We should not override ac_cv_exeext if it was cached,
 
3012
# so that the user can short-circuit this test for compilers unknown to
 
3013
# Autoconf.
 
3014
for ac_file in $ac_files ''
 
3015
do
 
3016
  test -f "$ac_file" || continue
 
3017
  case $ac_file in
 
3018
    *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
 
3019
        ;;
 
3020
    [ab].out )
 
3021
        # We found the default executable, but exeext='' is most
 
3022
        # certainly right.
 
3023
        break;;
 
3024
    *.* )
 
3025
        if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
 
3026
        then :; else
 
3027
           ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
 
3028
        fi
 
3029
        # We set ac_cv_exeext here because the later test for it is not
 
3030
        # safe: cross compilers may not add the suffix if given an `-o'
 
3031
        # argument, so we may need to know it at that point already.
 
3032
        # Even if this section looks crufty: it has the advantage of
 
3033
        # actually working.
 
3034
        break;;
 
3035
    * )
 
3036
        break;;
 
3037
  esac
 
3038
done
 
3039
test "$ac_cv_exeext" = no && ac_cv_exeext=
 
3040
 
 
3041
else
 
3042
  ac_file=''
 
3043
fi
 
3044
if test -z "$ac_file"; then :
 
3045
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
3046
$as_echo "no" >&6; }
 
3047
$as_echo "$as_me: failed program was:" >&5
 
3048
sed 's/^/| /' conftest.$ac_ext >&5
 
3049
 
 
3050
{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
 
3051
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
 
3052
as_fn_error 77 "C++ compiler cannot create executables
 
3053
See \`config.log' for more details" "$LINENO" 5; }
 
3054
else
 
3055
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
 
3056
$as_echo "yes" >&6; }
 
3057
fi
 
3058
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for C++ compiler default output file name" >&5
 
3059
$as_echo_n "checking for C++ compiler default output file name... " >&6; }
 
3060
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
 
3061
$as_echo "$ac_file" >&6; }
 
3062
ac_exeext=$ac_cv_exeext
 
3063
 
 
3064
rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
 
3065
ac_clean_files=$ac_clean_files_save
 
3066
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
 
3067
$as_echo_n "checking for suffix of executables... " >&6; }
 
3068
if { { ac_try="$ac_link"
 
3069
case "(($ac_try" in
 
3070
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
3071
  *) ac_try_echo=$ac_try;;
 
3072
esac
 
3073
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
 
3074
$as_echo "$ac_try_echo"; } >&5
 
3075
  (eval "$ac_link") 2>&5
 
3076
  ac_status=$?
 
3077
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 
3078
  test $ac_status = 0; }; then :
 
3079
  # If both `conftest.exe' and `conftest' are `present' (well, observable)
 
3080
# catch `conftest.exe'.  For instance with Cygwin, `ls conftest' will
 
3081
# work properly (i.e., refer to `conftest.exe'), while it won't with
 
3082
# `rm'.
 
3083
for ac_file in conftest.exe conftest conftest.*; do
 
3084
  test -f "$ac_file" || continue
 
3085
  case $ac_file in
 
3086
    *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
 
3087
    *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
 
3088
          break;;
 
3089
    * ) break;;
 
3090
  esac
 
3091
done
 
3092
else
 
3093
  { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
 
3094
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
 
3095
as_fn_error $? "cannot compute suffix of executables: cannot compile and link
 
3096
See \`config.log' for more details" "$LINENO" 5; }
 
3097
fi
 
3098
rm -f conftest conftest$ac_cv_exeext
 
3099
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
 
3100
$as_echo "$ac_cv_exeext" >&6; }
 
3101
 
 
3102
rm -f conftest.$ac_ext
 
3103
EXEEXT=$ac_cv_exeext
 
3104
ac_exeext=$EXEEXT
 
3105
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 
3106
/* end confdefs.h.  */
 
3107
#include <stdio.h>
 
3108
int
 
3109
main ()
 
3110
{
 
3111
FILE *f = fopen ("conftest.out", "w");
 
3112
 return ferror (f) || fclose (f) != 0;
 
3113
 
 
3114
  ;
 
3115
  return 0;
 
3116
}
 
3117
_ACEOF
 
3118
ac_clean_files="$ac_clean_files conftest.out"
 
3119
# Check that the compiler produces executables we can run.  If not, either
 
3120
# the compiler is broken, or we cross compile.
 
3121
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
 
3122
$as_echo_n "checking whether we are cross compiling... " >&6; }
 
3123
if test "$cross_compiling" != yes; then
 
3124
  { { ac_try="$ac_link"
 
3125
case "(($ac_try" in
 
3126
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
3127
  *) ac_try_echo=$ac_try;;
 
3128
esac
 
3129
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
 
3130
$as_echo "$ac_try_echo"; } >&5
 
3131
  (eval "$ac_link") 2>&5
 
3132
  ac_status=$?
 
3133
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 
3134
  test $ac_status = 0; }
 
3135
  if { ac_try='./conftest$ac_cv_exeext'
 
3136
  { { case "(($ac_try" in
 
3137
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
3138
  *) ac_try_echo=$ac_try;;
 
3139
esac
 
3140
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
 
3141
$as_echo "$ac_try_echo"; } >&5
 
3142
  (eval "$ac_try") 2>&5
 
3143
  ac_status=$?
 
3144
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 
3145
  test $ac_status = 0; }; }; then
 
3146
    cross_compiling=no
 
3147
  else
 
3148
    if test "$cross_compiling" = maybe; then
 
3149
        cross_compiling=yes
 
3150
    else
 
3151
        { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
 
3152
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
 
3153
as_fn_error $? "cannot run C++ compiled programs.
 
3154
If you meant to cross compile, use \`--host'.
 
3155
See \`config.log' for more details" "$LINENO" 5; }
 
3156
    fi
 
3157
  fi
 
3158
fi
 
3159
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
 
3160
$as_echo "$cross_compiling" >&6; }
 
3161
 
 
3162
rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out
 
3163
ac_clean_files=$ac_clean_files_save
 
3164
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
 
3165
$as_echo_n "checking for suffix of object files... " >&6; }
 
3166
if ${ac_cv_objext+:} false; then :
 
3167
  $as_echo_n "(cached) " >&6
 
3168
else
 
3169
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 
3170
/* end confdefs.h.  */
 
3171
 
 
3172
int
 
3173
main ()
 
3174
{
 
3175
 
 
3176
  ;
 
3177
  return 0;
 
3178
}
 
3179
_ACEOF
 
3180
rm -f conftest.o conftest.obj
 
3181
if { { ac_try="$ac_compile"
 
3182
case "(($ac_try" in
 
3183
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
3184
  *) ac_try_echo=$ac_try;;
 
3185
esac
 
3186
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
 
3187
$as_echo "$ac_try_echo"; } >&5
 
3188
  (eval "$ac_compile") 2>&5
 
3189
  ac_status=$?
 
3190
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 
3191
  test $ac_status = 0; }; then :
 
3192
  for ac_file in conftest.o conftest.obj conftest.*; do
 
3193
  test -f "$ac_file" || continue;
 
3194
  case $ac_file in
 
3195
    *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
 
3196
    *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
 
3197
       break;;
 
3198
  esac
 
3199
done
 
3200
else
 
3201
  $as_echo "$as_me: failed program was:" >&5
 
3202
sed 's/^/| /' conftest.$ac_ext >&5
 
3203
 
 
3204
{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
 
3205
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
 
3206
as_fn_error $? "cannot compute suffix of object files: cannot compile
 
3207
See \`config.log' for more details" "$LINENO" 5; }
 
3208
fi
 
3209
rm -f conftest.$ac_cv_objext conftest.$ac_ext
 
3210
fi
 
3211
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
 
3212
$as_echo "$ac_cv_objext" >&6; }
 
3213
OBJEXT=$ac_cv_objext
 
3214
ac_objext=$OBJEXT
 
3215
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C++ compiler" >&5
 
3216
$as_echo_n "checking whether we are using the GNU C++ compiler... " >&6; }
 
3217
if ${ac_cv_cxx_compiler_gnu+:} false; then :
 
3218
  $as_echo_n "(cached) " >&6
 
3219
else
 
3220
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 
3221
/* end confdefs.h.  */
 
3222
 
 
3223
int
 
3224
main ()
 
3225
{
 
3226
#ifndef __GNUC__
 
3227
       choke me
 
3228
#endif
 
3229
 
 
3230
  ;
 
3231
  return 0;
 
3232
}
 
3233
_ACEOF
 
3234
if ac_fn_cxx_try_compile "$LINENO"; then :
 
3235
  ac_compiler_gnu=yes
 
3236
else
 
3237
  ac_compiler_gnu=no
 
3238
fi
 
3239
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 
3240
ac_cv_cxx_compiler_gnu=$ac_compiler_gnu
 
3241
 
 
3242
fi
 
3243
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cxx_compiler_gnu" >&5
 
3244
$as_echo "$ac_cv_cxx_compiler_gnu" >&6; }
 
3245
if test $ac_compiler_gnu = yes; then
 
3246
  GXX=yes
 
3247
else
 
3248
  GXX=
 
3249
fi
 
3250
ac_test_CXXFLAGS=${CXXFLAGS+set}
 
3251
ac_save_CXXFLAGS=$CXXFLAGS
 
3252
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CXX accepts -g" >&5
 
3253
$as_echo_n "checking whether $CXX accepts -g... " >&6; }
 
3254
if ${ac_cv_prog_cxx_g+:} false; then :
 
3255
  $as_echo_n "(cached) " >&6
 
3256
else
 
3257
  ac_save_cxx_werror_flag=$ac_cxx_werror_flag
 
3258
   ac_cxx_werror_flag=yes
 
3259
   ac_cv_prog_cxx_g=no
 
3260
   CXXFLAGS="-g"
 
3261
   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 
3262
/* end confdefs.h.  */
 
3263
 
 
3264
int
 
3265
main ()
 
3266
{
 
3267
 
 
3268
  ;
 
3269
  return 0;
 
3270
}
 
3271
_ACEOF
 
3272
if ac_fn_cxx_try_compile "$LINENO"; then :
 
3273
  ac_cv_prog_cxx_g=yes
 
3274
else
 
3275
  CXXFLAGS=""
 
3276
      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 
3277
/* end confdefs.h.  */
 
3278
 
 
3279
int
 
3280
main ()
 
3281
{
 
3282
 
 
3283
  ;
 
3284
  return 0;
 
3285
}
 
3286
_ACEOF
 
3287
if ac_fn_cxx_try_compile "$LINENO"; then :
 
3288
 
 
3289
else
 
3290
  ac_cxx_werror_flag=$ac_save_cxx_werror_flag
 
3291
         CXXFLAGS="-g"
 
3292
         cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 
3293
/* end confdefs.h.  */
 
3294
 
 
3295
int
 
3296
main ()
 
3297
{
 
3298
 
 
3299
  ;
 
3300
  return 0;
 
3301
}
 
3302
_ACEOF
 
3303
if ac_fn_cxx_try_compile "$LINENO"; then :
 
3304
  ac_cv_prog_cxx_g=yes
 
3305
fi
 
3306
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 
3307
fi
 
3308
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 
3309
fi
 
3310
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 
3311
   ac_cxx_werror_flag=$ac_save_cxx_werror_flag
 
3312
fi
 
3313
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cxx_g" >&5
 
3314
$as_echo "$ac_cv_prog_cxx_g" >&6; }
 
3315
if test "$ac_test_CXXFLAGS" = set; then
 
3316
  CXXFLAGS=$ac_save_CXXFLAGS
 
3317
elif test $ac_cv_prog_cxx_g = yes; then
 
3318
  if test "$GXX" = yes; then
 
3319
    CXXFLAGS="-g -O2"
 
3320
  else
 
3321
    CXXFLAGS="-g"
 
3322
  fi
 
3323
else
 
3324
  if test "$GXX" = yes; then
 
3325
    CXXFLAGS="-O2"
 
3326
  else
 
3327
    CXXFLAGS=
 
3328
  fi
 
3329
fi
 
3330
ac_ext=c
 
3331
ac_cpp='$CPP $CPPFLAGS'
 
3332
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
 
3333
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
 
3334
ac_compiler_gnu=$ac_cv_c_compiler_gnu
3036
3335
DEPDIR="${am__leading_dot}deps"
3037
3336
 
3038
3337
ac_config_commands="$ac_config_commands depfiles"
3085
3384
if test "x$enable_dependency_tracking" != xno; then
3086
3385
  am_depcomp="$ac_aux_dir/depcomp"
3087
3386
  AMDEPBACKSLASH='\'
 
3387
  am__nodep='_no'
3088
3388
fi
3089
3389
 if test "x$enable_dependency_tracking" != xno; then
3090
3390
  AMDEP_TRUE=
3095
3395
fi
3096
3396
 
3097
3397
 
 
3398
 
 
3399
depcc="$CXX"  am_compiler_list=
 
3400
 
 
3401
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
 
3402
$as_echo_n "checking dependency style of $depcc... " >&6; }
 
3403
if ${am_cv_CXX_dependencies_compiler_type+:} false; then :
 
3404
  $as_echo_n "(cached) " >&6
 
3405
else
 
3406
  if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
 
3407
  # We make a subdir and do the tests there.  Otherwise we can end up
 
3408
  # making bogus files that we don't know about and never remove.  For
 
3409
  # instance it was reported that on HP-UX the gcc test will end up
 
3410
  # making a dummy file named `D' -- because `-MD' means `put the output
 
3411
  # in D'.
 
3412
  rm -rf conftest.dir
 
3413
  mkdir conftest.dir
 
3414
  # Copy depcomp to subdir because otherwise we won't find it if we're
 
3415
  # using a relative directory.
 
3416
  cp "$am_depcomp" conftest.dir
 
3417
  cd conftest.dir
 
3418
  # We will build objects and dependencies in a subdirectory because
 
3419
  # it helps to detect inapplicable dependency modes.  For instance
 
3420
  # both Tru64's cc and ICC support -MD to output dependencies as a
 
3421
  # side effect of compilation, but ICC will put the dependencies in
 
3422
  # the current directory while Tru64 will put them in the object
 
3423
  # directory.
 
3424
  mkdir sub
 
3425
 
 
3426
  am_cv_CXX_dependencies_compiler_type=none
 
3427
  if test "$am_compiler_list" = ""; then
 
3428
     am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
 
3429
  fi
 
3430
  am__universal=false
 
3431
  case " $depcc " in #(
 
3432
     *\ -arch\ *\ -arch\ *) am__universal=true ;;
 
3433
     esac
 
3434
 
 
3435
  for depmode in $am_compiler_list; do
 
3436
    # Setup a source with many dependencies, because some compilers
 
3437
    # like to wrap large dependency lists on column 80 (with \), and
 
3438
    # we should not choose a depcomp mode which is confused by this.
 
3439
    #
 
3440
    # We need to recreate these files for each test, as the compiler may
 
3441
    # overwrite some of them when testing with obscure command lines.
 
3442
    # This happens at least with the AIX C compiler.
 
3443
    : > sub/conftest.c
 
3444
    for i in 1 2 3 4 5 6; do
 
3445
      echo '#include "conftst'$i'.h"' >> sub/conftest.c
 
3446
      # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
 
3447
      # Solaris 8's {/usr,}/bin/sh.
 
3448
      touch sub/conftst$i.h
 
3449
    done
 
3450
    echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
 
3451
 
 
3452
    # We check with `-c' and `-o' for the sake of the "dashmstdout"
 
3453
    # mode.  It turns out that the SunPro C++ compiler does not properly
 
3454
    # handle `-M -o', and we need to detect this.  Also, some Intel
 
3455
    # versions had trouble with output in subdirs
 
3456
    am__obj=sub/conftest.${OBJEXT-o}
 
3457
    am__minus_obj="-o $am__obj"
 
3458
    case $depmode in
 
3459
    gcc)
 
3460
      # This depmode causes a compiler race in universal mode.
 
3461
      test "$am__universal" = false || continue
 
3462
      ;;
 
3463
    nosideeffect)
 
3464
      # after this tag, mechanisms are not by side-effect, so they'll
 
3465
      # only be used when explicitly requested
 
3466
      if test "x$enable_dependency_tracking" = xyes; then
 
3467
        continue
 
3468
      else
 
3469
        break
 
3470
      fi
 
3471
      ;;
 
3472
    msvc7 | msvc7msys | msvisualcpp | msvcmsys)
 
3473
      # This compiler won't grok `-c -o', but also, the minuso test has
 
3474
      # not run yet.  These depmodes are late enough in the game, and
 
3475
      # so weak that their functioning should not be impacted.
 
3476
      am__obj=conftest.${OBJEXT-o}
 
3477
      am__minus_obj=
 
3478
      ;;
 
3479
    none) break ;;
 
3480
    esac
 
3481
    if depmode=$depmode \
 
3482
       source=sub/conftest.c object=$am__obj \
 
3483
       depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
 
3484
       $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
 
3485
         >/dev/null 2>conftest.err &&
 
3486
       grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
 
3487
       grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
 
3488
       grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
 
3489
       ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
 
3490
      # icc doesn't choke on unknown options, it will just issue warnings
 
3491
      # or remarks (even with -Werror).  So we grep stderr for any message
 
3492
      # that says an option was ignored or not supported.
 
3493
      # When given -MP, icc 7.0 and 7.1 complain thusly:
 
3494
      #   icc: Command line warning: ignoring option '-M'; no argument required
 
3495
      # The diagnosis changed in icc 8.0:
 
3496
      #   icc: Command line remark: option '-MP' not supported
 
3497
      if (grep 'ignoring option' conftest.err ||
 
3498
          grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
 
3499
        am_cv_CXX_dependencies_compiler_type=$depmode
 
3500
        break
 
3501
      fi
 
3502
    fi
 
3503
  done
 
3504
 
 
3505
  cd ..
 
3506
  rm -rf conftest.dir
 
3507
else
 
3508
  am_cv_CXX_dependencies_compiler_type=none
 
3509
fi
 
3510
 
 
3511
fi
 
3512
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CXX_dependencies_compiler_type" >&5
 
3513
$as_echo "$am_cv_CXX_dependencies_compiler_type" >&6; }
 
3514
CXXDEPMODE=depmode=$am_cv_CXX_dependencies_compiler_type
 
3515
 
 
3516
 if
 
3517
  test "x$enable_dependency_tracking" != xno \
 
3518
  && test "$am_cv_CXX_dependencies_compiler_type" = gcc3; then
 
3519
  am__fastdepCXX_TRUE=
 
3520
  am__fastdepCXX_FALSE='#'
 
3521
else
 
3522
  am__fastdepCXX_TRUE='#'
 
3523
  am__fastdepCXX_FALSE=
 
3524
fi
 
3525
 
 
3526
 
 
3527
case `pwd` in
 
3528
  *\ * | *\     *)
 
3529
    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&5
 
3530
$as_echo "$as_me: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&2;} ;;
 
3531
esac
 
3532
 
 
3533
 
 
3534
 
 
3535
macro_version='2.4.2'
 
3536
macro_revision='1.3337'
 
3537
 
 
3538
 
 
3539
 
 
3540
 
 
3541
 
 
3542
 
 
3543
 
 
3544
 
 
3545
 
 
3546
 
 
3547
 
 
3548
 
 
3549
 
 
3550
ltmain="$ac_aux_dir/ltmain.sh"
 
3551
 
 
3552
# Make sure we can run config.sub.
 
3553
$SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
 
3554
  as_fn_error $? "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
 
3555
 
 
3556
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
 
3557
$as_echo_n "checking build system type... " >&6; }
 
3558
if ${ac_cv_build+:} false; then :
 
3559
  $as_echo_n "(cached) " >&6
 
3560
else
 
3561
  ac_build_alias=$build_alias
 
3562
test "x$ac_build_alias" = x &&
 
3563
  ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
 
3564
test "x$ac_build_alias" = x &&
 
3565
  as_fn_error $? "cannot guess build type; you must specify one" "$LINENO" 5
 
3566
ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
 
3567
  as_fn_error $? "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
 
3568
 
 
3569
fi
 
3570
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
 
3571
$as_echo "$ac_cv_build" >&6; }
 
3572
case $ac_cv_build in
 
3573
*-*-*) ;;
 
3574
*) as_fn_error $? "invalid value of canonical build" "$LINENO" 5;;
 
3575
esac
 
3576
build=$ac_cv_build
 
3577
ac_save_IFS=$IFS; IFS='-'
 
3578
set x $ac_cv_build
 
3579
shift
 
3580
build_cpu=$1
 
3581
build_vendor=$2
 
3582
shift; shift
 
3583
# Remember, the first character of IFS is used to create $*,
 
3584
# except with old shells:
 
3585
build_os=$*
 
3586
IFS=$ac_save_IFS
 
3587
case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
 
3588
 
 
3589
 
 
3590
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
 
3591
$as_echo_n "checking host system type... " >&6; }
 
3592
if ${ac_cv_host+:} false; then :
 
3593
  $as_echo_n "(cached) " >&6
 
3594
else
 
3595
  if test "x$host_alias" = x; then
 
3596
  ac_cv_host=$ac_cv_build
 
3597
else
 
3598
  ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
 
3599
    as_fn_error $? "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
 
3600
fi
 
3601
 
 
3602
fi
 
3603
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
 
3604
$as_echo "$ac_cv_host" >&6; }
 
3605
case $ac_cv_host in
 
3606
*-*-*) ;;
 
3607
*) as_fn_error $? "invalid value of canonical host" "$LINENO" 5;;
 
3608
esac
 
3609
host=$ac_cv_host
 
3610
ac_save_IFS=$IFS; IFS='-'
 
3611
set x $ac_cv_host
 
3612
shift
 
3613
host_cpu=$1
 
3614
host_vendor=$2
 
3615
shift; shift
 
3616
# Remember, the first character of IFS is used to create $*,
 
3617
# except with old shells:
 
3618
host_os=$*
 
3619
IFS=$ac_save_IFS
 
3620
case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
 
3621
 
 
3622
 
 
3623
# Backslashify metacharacters that are still active within
 
3624
# double-quoted strings.
 
3625
sed_quote_subst='s/\(["`$\\]\)/\\\1/g'
 
3626
 
 
3627
# Same as above, but do not quote variable references.
 
3628
double_quote_subst='s/\(["`\\]\)/\\\1/g'
 
3629
 
 
3630
# Sed substitution to delay expansion of an escaped shell variable in a
 
3631
# double_quote_subst'ed string.
 
3632
delay_variable_subst='s/\\\\\\\\\\\$/\\\\\\$/g'
 
3633
 
 
3634
# Sed substitution to delay expansion of an escaped single quote.
 
3635
delay_single_quote_subst='s/'\''/'\'\\\\\\\'\''/g'
 
3636
 
 
3637
# Sed substitution to avoid accidental globbing in evaled expressions
 
3638
no_glob_subst='s/\*/\\\*/g'
 
3639
 
 
3640
ECHO='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
 
3641
ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO
 
3642
ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO$ECHO
 
3643
 
 
3644
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to print strings" >&5
 
3645
$as_echo_n "checking how to print strings... " >&6; }
 
3646
# Test print first, because it will be a builtin if present.
 
3647
if test "X`( print -r -- -n ) 2>/dev/null`" = X-n && \
 
3648
   test "X`print -r -- $ECHO 2>/dev/null`" = "X$ECHO"; then
 
3649
  ECHO='print -r --'
 
3650
elif test "X`printf %s $ECHO 2>/dev/null`" = "X$ECHO"; then
 
3651
  ECHO='printf %s\n'
 
3652
else
 
3653
  # Use this function as a fallback that always works.
 
3654
  func_fallback_echo ()
 
3655
  {
 
3656
    eval 'cat <<_LTECHO_EOF
 
3657
$1
 
3658
_LTECHO_EOF'
 
3659
  }
 
3660
  ECHO='func_fallback_echo'
 
3661
fi
 
3662
 
 
3663
# func_echo_all arg...
 
3664
# Invoke $ECHO with all args, space-separated.
 
3665
func_echo_all ()
 
3666
{
 
3667
    $ECHO ""
 
3668
}
 
3669
 
 
3670
case "$ECHO" in
 
3671
  printf*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: printf" >&5
 
3672
$as_echo "printf" >&6; } ;;
 
3673
  print*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: print -r" >&5
 
3674
$as_echo "print -r" >&6; } ;;
 
3675
  *) { $as_echo "$as_me:${as_lineno-$LINENO}: result: cat" >&5
 
3676
$as_echo "cat" >&6; } ;;
 
3677
esac
 
3678
 
 
3679
 
 
3680
 
 
3681
 
 
3682
 
 
3683
 
 
3684
 
 
3685
 
 
3686
 
 
3687
 
 
3688
 
 
3689
 
 
3690
 
 
3691
 
3098
3692
ac_ext=c
3099
3693
ac_cpp='$CPP $CPPFLAGS'
3100
3694
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3105
3699
set dummy ${ac_tool_prefix}gcc; ac_word=$2
3106
3700
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3107
3701
$as_echo_n "checking for $ac_word... " >&6; }
3108
 
if test "${ac_cv_prog_CC+set}" = set; then :
 
3702
if ${ac_cv_prog_CC+:} false; then :
3109
3703
  $as_echo_n "(cached) " >&6
3110
3704
else
3111
3705
  if test -n "$CC"; then
3145
3739
set dummy gcc; ac_word=$2
3146
3740
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3147
3741
$as_echo_n "checking for $ac_word... " >&6; }
3148
 
if test "${ac_cv_prog_ac_ct_CC+set}" = set; then :
 
3742
if ${ac_cv_prog_ac_ct_CC+:} false; then :
3149
3743
  $as_echo_n "(cached) " >&6
3150
3744
else
3151
3745
  if test -n "$ac_ct_CC"; then
3198
3792
set dummy ${ac_tool_prefix}cc; ac_word=$2
3199
3793
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3200
3794
$as_echo_n "checking for $ac_word... " >&6; }
3201
 
if test "${ac_cv_prog_CC+set}" = set; then :
 
3795
if ${ac_cv_prog_CC+:} false; then :
3202
3796
  $as_echo_n "(cached) " >&6
3203
3797
else
3204
3798
  if test -n "$CC"; then
3238
3832
set dummy cc; ac_word=$2
3239
3833
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3240
3834
$as_echo_n "checking for $ac_word... " >&6; }
3241
 
if test "${ac_cv_prog_CC+set}" = set; then :
 
3835
if ${ac_cv_prog_CC+:} false; then :
3242
3836
  $as_echo_n "(cached) " >&6
3243
3837
else
3244
3838
  if test -n "$CC"; then
3297
3891
set dummy $ac_tool_prefix$ac_prog; ac_word=$2
3298
3892
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3299
3893
$as_echo_n "checking for $ac_word... " >&6; }
3300
 
if test "${ac_cv_prog_CC+set}" = set; then :
 
3894
if ${ac_cv_prog_CC+:} false; then :
3301
3895
  $as_echo_n "(cached) " >&6
3302
3896
else
3303
3897
  if test -n "$CC"; then
3341
3935
set dummy $ac_prog; ac_word=$2
3342
3936
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3343
3937
$as_echo_n "checking for $ac_word... " >&6; }
3344
 
if test "${ac_cv_prog_ac_ct_CC+set}" = set; then :
 
3938
if ${ac_cv_prog_ac_ct_CC+:} false; then :
3345
3939
  $as_echo_n "(cached) " >&6
3346
3940
else
3347
3941
  if test -n "$ac_ct_CC"; then
3395
3989
 
3396
3990
test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3397
3991
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3398
 
as_fn_error "no acceptable C compiler found in \$PATH
3399
 
See \`config.log' for more details." "$LINENO" 5; }
 
3992
as_fn_error $? "no acceptable C compiler found in \$PATH
 
3993
See \`config.log' for more details" "$LINENO" 5; }
3400
3994
 
3401
3995
# Provide some information about the compiler.
3402
3996
$as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
3417
4011
... rest of stderr output deleted ...
3418
4012
         10q' conftest.err >conftest.er1
3419
4013
    cat conftest.er1 >&5
3420
 
    rm -f conftest.er1 conftest.err
3421
4014
  fi
 
4015
  rm -f conftest.er1 conftest.err
3422
4016
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3423
4017
  test $ac_status = 0; }
3424
4018
done
3425
4019
 
3426
 
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3427
 
/* end confdefs.h.  */
3428
 
#include <stdio.h>
3429
 
int
3430
 
main ()
3431
 
{
3432
 
FILE *f = fopen ("conftest.out", "w");
3433
 
 return ferror (f) || fclose (f) != 0;
3434
 
 
3435
 
  ;
3436
 
  return 0;
3437
 
}
3438
 
_ACEOF
3439
 
ac_clean_files_save=$ac_clean_files
3440
 
ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out conftest.out"
3441
 
# Try to create an executable without -o first, disregard a.out.
3442
 
# It will help us diagnose broken compilers, and finding out an intuition
3443
 
# of exeext.
3444
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
3445
 
$as_echo_n "checking for C compiler default output file name... " >&6; }
3446
 
ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
3447
 
 
3448
 
# The possible output files:
3449
 
ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
3450
 
 
3451
 
ac_rmfiles=
3452
 
for ac_file in $ac_files
3453
 
do
3454
 
  case $ac_file in
3455
 
    *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
3456
 
    * ) ac_rmfiles="$ac_rmfiles $ac_file";;
3457
 
  esac
3458
 
done
3459
 
rm -f $ac_rmfiles
3460
 
 
3461
 
if { { ac_try="$ac_link_default"
3462
 
case "(($ac_try" in
3463
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3464
 
  *) ac_try_echo=$ac_try;;
3465
 
esac
3466
 
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3467
 
$as_echo "$ac_try_echo"; } >&5
3468
 
  (eval "$ac_link_default") 2>&5
3469
 
  ac_status=$?
3470
 
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3471
 
  test $ac_status = 0; }; then :
3472
 
  # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
3473
 
# So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
3474
 
# in a Makefile.  We should not override ac_cv_exeext if it was cached,
3475
 
# so that the user can short-circuit this test for compilers unknown to
3476
 
# Autoconf.
3477
 
for ac_file in $ac_files ''
3478
 
do
3479
 
  test -f "$ac_file" || continue
3480
 
  case $ac_file in
3481
 
    *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
3482
 
        ;;
3483
 
    [ab].out )
3484
 
        # We found the default executable, but exeext='' is most
3485
 
        # certainly right.
3486
 
        break;;
3487
 
    *.* )
3488
 
        if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
3489
 
        then :; else
3490
 
           ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
3491
 
        fi
3492
 
        # We set ac_cv_exeext here because the later test for it is not
3493
 
        # safe: cross compilers may not add the suffix if given an `-o'
3494
 
        # argument, so we may need to know it at that point already.
3495
 
        # Even if this section looks crufty: it has the advantage of
3496
 
        # actually working.
3497
 
        break;;
3498
 
    * )
3499
 
        break;;
3500
 
  esac
3501
 
done
3502
 
test "$ac_cv_exeext" = no && ac_cv_exeext=
3503
 
 
3504
 
else
3505
 
  ac_file=''
3506
 
fi
3507
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
3508
 
$as_echo "$ac_file" >&6; }
3509
 
if test -z "$ac_file"; then :
3510
 
  $as_echo "$as_me: failed program was:" >&5
3511
 
sed 's/^/| /' conftest.$ac_ext >&5
3512
 
 
3513
 
{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3514
 
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3515
 
{ as_fn_set_status 77
3516
 
as_fn_error "C compiler cannot create executables
3517
 
See \`config.log' for more details." "$LINENO" 5; }; }
3518
 
fi
3519
 
ac_exeext=$ac_cv_exeext
3520
 
 
3521
 
# Check that the compiler produces executables we can run.  If not, either
3522
 
# the compiler is broken, or we cross compile.
3523
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
3524
 
$as_echo_n "checking whether the C compiler works... " >&6; }
3525
 
# If not cross compiling, check that we can run a simple program.
3526
 
if test "$cross_compiling" != yes; then
3527
 
  if { ac_try='./$ac_file'
3528
 
  { { case "(($ac_try" in
3529
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3530
 
  *) ac_try_echo=$ac_try;;
3531
 
esac
3532
 
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3533
 
$as_echo "$ac_try_echo"; } >&5
3534
 
  (eval "$ac_try") 2>&5
3535
 
  ac_status=$?
3536
 
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3537
 
  test $ac_status = 0; }; }; then
3538
 
    cross_compiling=no
3539
 
  else
3540
 
    if test "$cross_compiling" = maybe; then
3541
 
        cross_compiling=yes
3542
 
    else
3543
 
        { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3544
 
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3545
 
as_fn_error "cannot run C compiled programs.
3546
 
If you meant to cross compile, use \`--host'.
3547
 
See \`config.log' for more details." "$LINENO" 5; }
3548
 
    fi
3549
 
  fi
3550
 
fi
3551
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3552
 
$as_echo "yes" >&6; }
3553
 
 
3554
 
rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out conftest.out
3555
 
ac_clean_files=$ac_clean_files_save
3556
 
# Check that the compiler produces executables we can run.  If not, either
3557
 
# the compiler is broken, or we cross compile.
3558
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
3559
 
$as_echo_n "checking whether we are cross compiling... " >&6; }
3560
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
3561
 
$as_echo "$cross_compiling" >&6; }
3562
 
 
3563
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
3564
 
$as_echo_n "checking for suffix of executables... " >&6; }
3565
 
if { { ac_try="$ac_link"
3566
 
case "(($ac_try" in
3567
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3568
 
  *) ac_try_echo=$ac_try;;
3569
 
esac
3570
 
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3571
 
$as_echo "$ac_try_echo"; } >&5
3572
 
  (eval "$ac_link") 2>&5
3573
 
  ac_status=$?
3574
 
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3575
 
  test $ac_status = 0; }; then :
3576
 
  # If both `conftest.exe' and `conftest' are `present' (well, observable)
3577
 
# catch `conftest.exe'.  For instance with Cygwin, `ls conftest' will
3578
 
# work properly (i.e., refer to `conftest.exe'), while it won't with
3579
 
# `rm'.
3580
 
for ac_file in conftest.exe conftest conftest.*; do
3581
 
  test -f "$ac_file" || continue
3582
 
  case $ac_file in
3583
 
    *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
3584
 
    *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
3585
 
          break;;
3586
 
    * ) break;;
3587
 
  esac
3588
 
done
3589
 
else
3590
 
  { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3591
 
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3592
 
as_fn_error "cannot compute suffix of executables: cannot compile and link
3593
 
See \`config.log' for more details." "$LINENO" 5; }
3594
 
fi
3595
 
rm -f conftest$ac_cv_exeext
3596
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
3597
 
$as_echo "$ac_cv_exeext" >&6; }
3598
 
 
3599
 
rm -f conftest.$ac_ext
3600
 
EXEEXT=$ac_cv_exeext
3601
 
ac_exeext=$EXEEXT
3602
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
3603
 
$as_echo_n "checking for suffix of object files... " >&6; }
3604
 
if test "${ac_cv_objext+set}" = set; then :
3605
 
  $as_echo_n "(cached) " >&6
3606
 
else
3607
 
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3608
 
/* end confdefs.h.  */
3609
 
 
3610
 
int
3611
 
main ()
3612
 
{
3613
 
 
3614
 
  ;
3615
 
  return 0;
3616
 
}
3617
 
_ACEOF
3618
 
rm -f conftest.o conftest.obj
3619
 
if { { ac_try="$ac_compile"
3620
 
case "(($ac_try" in
3621
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3622
 
  *) ac_try_echo=$ac_try;;
3623
 
esac
3624
 
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3625
 
$as_echo "$ac_try_echo"; } >&5
3626
 
  (eval "$ac_compile") 2>&5
3627
 
  ac_status=$?
3628
 
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3629
 
  test $ac_status = 0; }; then :
3630
 
  for ac_file in conftest.o conftest.obj conftest.*; do
3631
 
  test -f "$ac_file" || continue;
3632
 
  case $ac_file in
3633
 
    *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
3634
 
    *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
3635
 
       break;;
3636
 
  esac
3637
 
done
3638
 
else
3639
 
  $as_echo "$as_me: failed program was:" >&5
3640
 
sed 's/^/| /' conftest.$ac_ext >&5
3641
 
 
3642
 
{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3643
 
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3644
 
as_fn_error "cannot compute suffix of object files: cannot compile
3645
 
See \`config.log' for more details." "$LINENO" 5; }
3646
 
fi
3647
 
rm -f conftest.$ac_cv_objext conftest.$ac_ext
3648
 
fi
3649
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
3650
 
$as_echo "$ac_cv_objext" >&6; }
3651
 
OBJEXT=$ac_cv_objext
3652
 
ac_objext=$OBJEXT
3653
4020
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
3654
4021
$as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
3655
 
if test "${ac_cv_c_compiler_gnu+set}" = set; then :
 
4022
if ${ac_cv_c_compiler_gnu+:} false; then :
3656
4023
  $as_echo_n "(cached) " >&6
3657
4024
else
3658
4025
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3689
4056
ac_save_CFLAGS=$CFLAGS
3690
4057
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
3691
4058
$as_echo_n "checking whether $CC accepts -g... " >&6; }
3692
 
if test "${ac_cv_prog_cc_g+set}" = set; then :
 
4059
if ${ac_cv_prog_cc_g+:} false; then :
3693
4060
  $as_echo_n "(cached) " >&6
3694
4061
else
3695
4062
  ac_save_c_werror_flag=$ac_c_werror_flag
3767
4134
fi
3768
4135
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
3769
4136
$as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
3770
 
if test "${ac_cv_prog_cc_c89+set}" = set; then :
 
4137
if ${ac_cv_prog_cc_c89+:} false; then :
3771
4138
  $as_echo_n "(cached) " >&6
3772
4139
else
3773
4140
  ac_cv_prog_cc_c89=no
3866
4233
 
3867
4234
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
3868
4235
$as_echo_n "checking dependency style of $depcc... " >&6; }
3869
 
if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then :
 
4236
if ${am_cv_CC_dependencies_compiler_type+:} false; then :
3870
4237
  $as_echo_n "(cached) " >&6
3871
4238
else
3872
4239
  if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
3875
4242
  # instance it was reported that on HP-UX the gcc test will end up
3876
4243
  # making a dummy file named `D' -- because `-MD' means `put the output
3877
4244
  # in D'.
 
4245
  rm -rf conftest.dir
3878
4246
  mkdir conftest.dir
3879
4247
  # Copy depcomp to subdir because otherwise we won't find it if we're
3880
4248
  # using a relative directory.
3934
4302
        break
3935
4303
      fi
3936
4304
      ;;
3937
 
    msvisualcpp | msvcmsys)
 
4305
    msvc7 | msvc7msys | msvisualcpp | msvcmsys)
3938
4306
      # This compiler won't grok `-c -o', but also, the minuso test has
3939
4307
      # not run yet.  These depmodes are late enough in the game, and
3940
4308
      # so weak that their functioning should not be impacted.
3991
4359
 
3992
4360
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for a sed that does not truncate output" >&5
3993
4361
$as_echo_n "checking for a sed that does not truncate output... " >&6; }
3994
 
if test "${ac_cv_path_SED+set}" = set; then :
 
4362
if ${ac_cv_path_SED+:} false; then :
3995
4363
  $as_echo_n "(cached) " >&6
3996
4364
else
3997
4365
            ac_script=s/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb/
4046
4414
  done
4047
4415
IFS=$as_save_IFS
4048
4416
  if test -z "$ac_cv_path_SED"; then
4049
 
    as_fn_error "no acceptable sed could be found in \$PATH" "$LINENO" 5
 
4417
    as_fn_error $? "no acceptable sed could be found in \$PATH" "$LINENO" 5
4050
4418
  fi
4051
4419
else
4052
4420
  ac_cv_path_SED=$SED
4073
4441
 
4074
4442
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
4075
4443
$as_echo_n "checking for grep that handles long lines and -e... " >&6; }
4076
 
if test "${ac_cv_path_GREP+set}" = set; then :
 
4444
if ${ac_cv_path_GREP+:} false; then :
4077
4445
  $as_echo_n "(cached) " >&6
4078
4446
else
4079
4447
  if test -z "$GREP"; then
4122
4490
  done
4123
4491
IFS=$as_save_IFS
4124
4492
  if test -z "$ac_cv_path_GREP"; then
4125
 
    as_fn_error "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
 
4493
    as_fn_error $? "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
4126
4494
  fi
4127
4495
else
4128
4496
  ac_cv_path_GREP=$GREP
4136
4504
 
4137
4505
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
4138
4506
$as_echo_n "checking for egrep... " >&6; }
4139
 
if test "${ac_cv_path_EGREP+set}" = set; then :
 
4507
if ${ac_cv_path_EGREP+:} false; then :
4140
4508
  $as_echo_n "(cached) " >&6
4141
4509
else
4142
4510
  if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
4188
4556
  done
4189
4557
IFS=$as_save_IFS
4190
4558
  if test -z "$ac_cv_path_EGREP"; then
4191
 
    as_fn_error "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
 
4559
    as_fn_error $? "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
4192
4560
  fi
4193
4561
else
4194
4562
  ac_cv_path_EGREP=$EGREP
4203
4571
 
4204
4572
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for fgrep" >&5
4205
4573
$as_echo_n "checking for fgrep... " >&6; }
4206
 
if test "${ac_cv_path_FGREP+set}" = set; then :
 
4574
if ${ac_cv_path_FGREP+:} false; then :
4207
4575
  $as_echo_n "(cached) " >&6
4208
4576
else
4209
4577
  if echo 'ab*c' | $GREP -F 'ab*c' >/dev/null 2>&1
4255
4623
  done
4256
4624
IFS=$as_save_IFS
4257
4625
  if test -z "$ac_cv_path_FGREP"; then
4258
 
    as_fn_error "no acceptable fgrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
 
4626
    as_fn_error $? "no acceptable fgrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
4259
4627
  fi
4260
4628
else
4261
4629
  ac_cv_path_FGREP=$FGREP
4334
4702
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
4335
4703
$as_echo_n "checking for non-GNU ld... " >&6; }
4336
4704
fi
4337
 
if test "${lt_cv_path_LD+set}" = set; then :
 
4705
if ${lt_cv_path_LD+:} false; then :
4338
4706
  $as_echo_n "(cached) " >&6
4339
4707
else
4340
4708
  if test -z "$LD"; then
4371
4739
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4372
4740
$as_echo "no" >&6; }
4373
4741
fi
4374
 
test -z "$LD" && as_fn_error "no acceptable ld found in \$PATH" "$LINENO" 5
 
4742
test -z "$LD" && as_fn_error $? "no acceptable ld found in \$PATH" "$LINENO" 5
4375
4743
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
4376
4744
$as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
4377
 
if test "${lt_cv_prog_gnu_ld+set}" = set; then :
 
4745
if ${lt_cv_prog_gnu_ld+:} false; then :
4378
4746
  $as_echo_n "(cached) " >&6
4379
4747
else
4380
4748
  # I'd rather use --version here, but apparently some GNU lds only accept -v.
4401
4769
 
4402
4770
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for BSD- or MS-compatible name lister (nm)" >&5
4403
4771
$as_echo_n "checking for BSD- or MS-compatible name lister (nm)... " >&6; }
4404
 
if test "${lt_cv_path_NM+set}" = set; then :
 
4772
if ${lt_cv_path_NM+:} false; then :
4405
4773
  $as_echo_n "(cached) " >&6
4406
4774
else
4407
4775
  if test -n "$NM"; then
4454
4822
  NM="$lt_cv_path_NM"
4455
4823
else
4456
4824
  # Didn't find any BSD compatible name lister, look for dumpbin.
4457
 
  if test -n "$ac_tool_prefix"; then
4458
 
  for ac_prog in "dumpbin -symbols" "link -dump -symbols"
 
4825
  if test -n "$DUMPBIN"; then :
 
4826
    # Let the user override the test.
 
4827
  else
 
4828
    if test -n "$ac_tool_prefix"; then
 
4829
  for ac_prog in dumpbin "link -dump"
4459
4830
  do
4460
4831
    # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
4461
4832
set dummy $ac_tool_prefix$ac_prog; ac_word=$2
4462
4833
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4463
4834
$as_echo_n "checking for $ac_word... " >&6; }
4464
 
if test "${ac_cv_prog_DUMPBIN+set}" = set; then :
 
4835
if ${ac_cv_prog_DUMPBIN+:} false; then :
4465
4836
  $as_echo_n "(cached) " >&6
4466
4837
else
4467
4838
  if test -n "$DUMPBIN"; then
4499
4870
fi
4500
4871
if test -z "$DUMPBIN"; then
4501
4872
  ac_ct_DUMPBIN=$DUMPBIN
4502
 
  for ac_prog in "dumpbin -symbols" "link -dump -symbols"
 
4873
  for ac_prog in dumpbin "link -dump"
4503
4874
do
4504
4875
  # Extract the first word of "$ac_prog", so it can be a program name with args.
4505
4876
set dummy $ac_prog; ac_word=$2
4506
4877
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4507
4878
$as_echo_n "checking for $ac_word... " >&6; }
4508
 
if test "${ac_cv_prog_ac_ct_DUMPBIN+set}" = set; then :
 
4879
if ${ac_cv_prog_ac_ct_DUMPBIN+:} false; then :
4509
4880
  $as_echo_n "(cached) " >&6
4510
4881
else
4511
4882
  if test -n "$ac_ct_DUMPBIN"; then
4554
4925
  fi
4555
4926
fi
4556
4927
 
 
4928
    case `$DUMPBIN -symbols /dev/null 2>&1 | sed '1q'` in
 
4929
    *COFF*)
 
4930
      DUMPBIN="$DUMPBIN -symbols"
 
4931
      ;;
 
4932
    *)
 
4933
      DUMPBIN=:
 
4934
      ;;
 
4935
    esac
 
4936
  fi
4557
4937
 
4558
4938
  if test "$DUMPBIN" != ":"; then
4559
4939
    NM="$DUMPBIN"
4568
4948
 
4569
4949
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking the name lister ($NM) interface" >&5
4570
4950
$as_echo_n "checking the name lister ($NM) interface... " >&6; }
4571
 
if test "${lt_cv_nm_interface+set}" = set; then :
 
4951
if ${lt_cv_nm_interface+:} false; then :
4572
4952
  $as_echo_n "(cached) " >&6
4573
4953
else
4574
4954
  lt_cv_nm_interface="BSD nm"
4575
4955
  echo "int some_variable = 0;" > conftest.$ac_ext
4576
 
  (eval echo "\"\$as_me:4576: $ac_compile\"" >&5)
 
4956
  (eval echo "\"\$as_me:$LINENO: $ac_compile\"" >&5)
4577
4957
  (eval "$ac_compile" 2>conftest.err)
4578
4958
  cat conftest.err >&5
4579
 
  (eval echo "\"\$as_me:4579: $NM \\\"conftest.$ac_objext\\\"\"" >&5)
 
4959
  (eval echo "\"\$as_me:$LINENO: $NM \\\"conftest.$ac_objext\\\"\"" >&5)
4580
4960
  (eval "$NM \"conftest.$ac_objext\"" 2>conftest.err > conftest.out)
4581
4961
  cat conftest.err >&5
4582
 
  (eval echo "\"\$as_me:4582: output\"" >&5)
 
4962
  (eval echo "\"\$as_me:$LINENO: output\"" >&5)
4583
4963
  cat conftest.out >&5
4584
4964
  if $GREP 'External.*some_variable' conftest.out > /dev/null; then
4585
4965
    lt_cv_nm_interface="MS dumpbin"
4603
4983
# find the maximum length of command line arguments
4604
4984
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking the maximum length of command line arguments" >&5
4605
4985
$as_echo_n "checking the maximum length of command line arguments... " >&6; }
4606
 
if test "${lt_cv_sys_max_cmd_len+set}" = set; then :
 
4986
if ${lt_cv_sys_max_cmd_len+:} false; then :
4607
4987
  $as_echo_n "(cached) " >&6
4608
4988
else
4609
4989
    i=0
4636
5016
    lt_cv_sys_max_cmd_len=8192;
4637
5017
    ;;
4638
5018
 
 
5019
  mint*)
 
5020
    # On MiNT this can take a long time and run out of memory.
 
5021
    lt_cv_sys_max_cmd_len=8192;
 
5022
    ;;
 
5023
 
4639
5024
  amigaos*)
4640
5025
    # On AmigaOS with pdksh, this test takes hours, literally.
4641
5026
    # So we just punt and use a minimum line length of 8192.
4661
5046
    lt_cv_sys_max_cmd_len=196608
4662
5047
    ;;
4663
5048
 
 
5049
  os2*)
 
5050
    # The test takes a long time on OS/2.
 
5051
    lt_cv_sys_max_cmd_len=8192
 
5052
    ;;
 
5053
 
4664
5054
  osf*)
4665
5055
    # Dr. Hans Ekkehard Plesser reports seeing a kernel panic running configure
4666
5056
    # due to this test when exec_disable_arg_limit is 1 on Tru64. It is not
4700
5090
      # If test is not a shell built-in, we'll probably end up computing a
4701
5091
      # maximum length that is only half of the actual maximum length, but
4702
5092
      # we can't tell.
4703
 
      while { test "X"`$SHELL $0 --fallback-echo "X$teststring$teststring" 2>/dev/null` \
4704
 
                 = "XX$teststring$teststring"; } >/dev/null 2>&1 &&
 
5093
      while { test "X"`env echo "$teststring$teststring" 2>/dev/null` \
 
5094
                 = "X$teststring$teststring"; } >/dev/null 2>&1 &&
4705
5095
              test $i != 17 # 1/2 MB should be enough
4706
5096
      do
4707
5097
        i=`expr $i + 1`
4743
5133
# Try some XSI features
4744
5134
xsi_shell=no
4745
5135
( _lt_dummy="a/b/c"
4746
 
  test "${_lt_dummy##*/},${_lt_dummy%/*},"${_lt_dummy%"$_lt_dummy"}, \
4747
 
      = c,a/b,, \
 
5136
  test "${_lt_dummy##*/},${_lt_dummy%/*},${_lt_dummy#??}"${_lt_dummy%"$_lt_dummy"}, \
 
5137
      = c,a/b,b/c, \
4748
5138
    && eval 'test $(( 1 + 1 )) -eq 2 \
4749
5139
    && test "${#_lt_dummy}" -eq 5' ) >/dev/null 2>&1 \
4750
5140
  && xsi_shell=yes
4793
5183
 
4794
5184
 
4795
5185
 
 
5186
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to convert $build file names to $host format" >&5
 
5187
$as_echo_n "checking how to convert $build file names to $host format... " >&6; }
 
5188
if ${lt_cv_to_host_file_cmd+:} false; then :
 
5189
  $as_echo_n "(cached) " >&6
 
5190
else
 
5191
  case $host in
 
5192
  *-*-mingw* )
 
5193
    case $build in
 
5194
      *-*-mingw* ) # actually msys
 
5195
        lt_cv_to_host_file_cmd=func_convert_file_msys_to_w32
 
5196
        ;;
 
5197
      *-*-cygwin* )
 
5198
        lt_cv_to_host_file_cmd=func_convert_file_cygwin_to_w32
 
5199
        ;;
 
5200
      * ) # otherwise, assume *nix
 
5201
        lt_cv_to_host_file_cmd=func_convert_file_nix_to_w32
 
5202
        ;;
 
5203
    esac
 
5204
    ;;
 
5205
  *-*-cygwin* )
 
5206
    case $build in
 
5207
      *-*-mingw* ) # actually msys
 
5208
        lt_cv_to_host_file_cmd=func_convert_file_msys_to_cygwin
 
5209
        ;;
 
5210
      *-*-cygwin* )
 
5211
        lt_cv_to_host_file_cmd=func_convert_file_noop
 
5212
        ;;
 
5213
      * ) # otherwise, assume *nix
 
5214
        lt_cv_to_host_file_cmd=func_convert_file_nix_to_cygwin
 
5215
        ;;
 
5216
    esac
 
5217
    ;;
 
5218
  * ) # unhandled hosts (and "normal" native builds)
 
5219
    lt_cv_to_host_file_cmd=func_convert_file_noop
 
5220
    ;;
 
5221
esac
 
5222
 
 
5223
fi
 
5224
 
 
5225
to_host_file_cmd=$lt_cv_to_host_file_cmd
 
5226
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_to_host_file_cmd" >&5
 
5227
$as_echo "$lt_cv_to_host_file_cmd" >&6; }
 
5228
 
 
5229
 
 
5230
 
 
5231
 
 
5232
 
 
5233
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to convert $build file names to toolchain format" >&5
 
5234
$as_echo_n "checking how to convert $build file names to toolchain format... " >&6; }
 
5235
if ${lt_cv_to_tool_file_cmd+:} false; then :
 
5236
  $as_echo_n "(cached) " >&6
 
5237
else
 
5238
  #assume ordinary cross tools, or native build.
 
5239
lt_cv_to_tool_file_cmd=func_convert_file_noop
 
5240
case $host in
 
5241
  *-*-mingw* )
 
5242
    case $build in
 
5243
      *-*-mingw* ) # actually msys
 
5244
        lt_cv_to_tool_file_cmd=func_convert_file_msys_to_w32
 
5245
        ;;
 
5246
    esac
 
5247
    ;;
 
5248
esac
 
5249
 
 
5250
fi
 
5251
 
 
5252
to_tool_file_cmd=$lt_cv_to_tool_file_cmd
 
5253
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_to_tool_file_cmd" >&5
 
5254
$as_echo "$lt_cv_to_tool_file_cmd" >&6; }
 
5255
 
 
5256
 
 
5257
 
 
5258
 
 
5259
 
4796
5260
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $LD option to reload object files" >&5
4797
5261
$as_echo_n "checking for $LD option to reload object files... " >&6; }
4798
 
if test "${lt_cv_ld_reload_flag+set}" = set; then :
 
5262
if ${lt_cv_ld_reload_flag+:} false; then :
4799
5263
  $as_echo_n "(cached) " >&6
4800
5264
else
4801
5265
  lt_cv_ld_reload_flag='-r'
4809
5273
esac
4810
5274
reload_cmds='$LD$reload_flag -o $output$reload_objs'
4811
5275
case $host_os in
 
5276
  cygwin* | mingw* | pw32* | cegcc*)
 
5277
    if test "$GCC" != yes; then
 
5278
      reload_cmds=false
 
5279
    fi
 
5280
    ;;
4812
5281
  darwin*)
4813
5282
    if test "$GCC" = yes; then
4814
5283
      reload_cmds='$LTCC $LTCFLAGS -nostdlib ${wl}-r -o $output$reload_objs'
4831
5300
set dummy ${ac_tool_prefix}objdump; ac_word=$2
4832
5301
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4833
5302
$as_echo_n "checking for $ac_word... " >&6; }
4834
 
if test "${ac_cv_prog_OBJDUMP+set}" = set; then :
 
5303
if ${ac_cv_prog_OBJDUMP+:} false; then :
4835
5304
  $as_echo_n "(cached) " >&6
4836
5305
else
4837
5306
  if test -n "$OBJDUMP"; then
4871
5340
set dummy objdump; ac_word=$2
4872
5341
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4873
5342
$as_echo_n "checking for $ac_word... " >&6; }
4874
 
if test "${ac_cv_prog_ac_ct_OBJDUMP+set}" = set; then :
 
5343
if ${ac_cv_prog_ac_ct_OBJDUMP+:} false; then :
4875
5344
  $as_echo_n "(cached) " >&6
4876
5345
else
4877
5346
  if test -n "$ac_ct_OBJDUMP"; then
4930
5399
 
4931
5400
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to recognize dependent libraries" >&5
4932
5401
$as_echo_n "checking how to recognize dependent libraries... " >&6; }
4933
 
if test "${lt_cv_deplibs_check_method+set}" = set; then :
 
5402
if ${lt_cv_deplibs_check_method+:} false; then :
4934
5403
  $as_echo_n "(cached) " >&6
4935
5404
else
4936
5405
  lt_cv_file_magic_cmd='$MAGIC_CMD'
4972
5441
  # Base MSYS/MinGW do not provide the 'file' command needed by
4973
5442
  # func_win32_libid shell function, so use a weaker test based on 'objdump',
4974
5443
  # unless we find 'file', for example because we are cross-compiling.
4975
 
  if ( file / ) >/dev/null 2>&1; then
 
5444
  # func_win32_libid assumes BSD nm, so disallow it if using MS dumpbin.
 
5445
  if ( test "$lt_cv_nm_interface" = "BSD nm" && file / ) >/dev/null 2>&1; then
4976
5446
    lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
4977
5447
    lt_cv_file_magic_cmd='func_win32_libid'
4978
5448
  else
4979
 
    lt_cv_deplibs_check_method='file_magic file format pei*-i386(.*architecture: i386)?'
 
5449
    # Keep this pattern in sync with the one in func_win32_libid.
 
5450
    lt_cv_deplibs_check_method='file_magic file format (pei*-i386(.*architecture: i386)?|pe-arm-wince|pe-x86-64)'
4980
5451
    lt_cv_file_magic_cmd='$OBJDUMP -f'
4981
5452
  fi
4982
5453
  ;;
4983
5454
 
4984
 
cegcc)
 
5455
cegcc*)
4985
5456
  # use the weaker test based on 'objdump'. See mingw*.
4986
5457
  lt_cv_deplibs_check_method='file_magic file format pe-arm-.*little(.*architecture: arm)?'
4987
5458
  lt_cv_file_magic_cmd='$OBJDUMP -f'
5011
5482
  lt_cv_deplibs_check_method=pass_all
5012
5483
  ;;
5013
5484
 
 
5485
haiku*)
 
5486
  lt_cv_deplibs_check_method=pass_all
 
5487
  ;;
 
5488
 
5014
5489
hpux10.20* | hpux11*)
5015
5490
  lt_cv_file_magic_cmd=/usr/bin/file
5016
5491
  case $host_cpu in
5019
5494
    lt_cv_file_magic_test_file=/usr/lib/hpux32/libc.so
5020
5495
    ;;
5021
5496
  hppa*64*)
5022
 
    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]'
 
5497
    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]'
5023
5498
    lt_cv_file_magic_test_file=/usr/lib/pa20_64/libc.sl
5024
5499
    ;;
5025
5500
  *)
5026
 
    lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9].[0-9]) shared library'
 
5501
    lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9]\.[0-9]) shared library'
5027
5502
    lt_cv_file_magic_test_file=/usr/lib/libc.sl
5028
5503
    ;;
5029
5504
  esac
5044
5519
  lt_cv_deplibs_check_method=pass_all
5045
5520
  ;;
5046
5521
 
5047
 
# This must be Linux ELF.
5048
 
linux* | k*bsd*-gnu)
 
5522
# This must be glibc/ELF.
 
5523
linux* | k*bsd*-gnu | kopensolaris*-gnu)
5049
5524
  lt_cv_deplibs_check_method=pass_all
5050
5525
  ;;
5051
5526
 
5126
5601
fi
5127
5602
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_deplibs_check_method" >&5
5128
5603
$as_echo "$lt_cv_deplibs_check_method" >&6; }
 
5604
 
 
5605
file_magic_glob=
 
5606
want_nocaseglob=no
 
5607
if test "$build" = "$host"; then
 
5608
  case $host_os in
 
5609
  mingw* | pw32*)
 
5610
    if ( shopt | grep nocaseglob ) >/dev/null 2>&1; then
 
5611
      want_nocaseglob=yes
 
5612
    else
 
5613
      file_magic_glob=`echo aAbBcCdDeEfFgGhHiIjJkKlLmMnNoOpPqQrRsStTuUvVwWxXyYzZ | $SED -e "s/\(..\)/s\/[\1]\/[\1]\/g;/g"`
 
5614
    fi
 
5615
    ;;
 
5616
  esac
 
5617
fi
 
5618
 
5129
5619
file_magic_cmd=$lt_cv_file_magic_cmd
5130
5620
deplibs_check_method=$lt_cv_deplibs_check_method
5131
5621
test -z "$deplibs_check_method" && deplibs_check_method=unknown
5141
5631
 
5142
5632
 
5143
5633
 
5144
 
if test -n "$ac_tool_prefix"; then
5145
 
  # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
5146
 
set dummy ${ac_tool_prefix}ar; ac_word=$2
5147
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5148
 
$as_echo_n "checking for $ac_word... " >&6; }
5149
 
if test "${ac_cv_prog_AR+set}" = set; then :
 
5634
 
 
5635
 
 
5636
 
 
5637
 
 
5638
 
 
5639
 
 
5640
 
 
5641
 
 
5642
 
 
5643
 
 
5644
if test -n "$ac_tool_prefix"; then
 
5645
  # Extract the first word of "${ac_tool_prefix}dlltool", so it can be a program name with args.
 
5646
set dummy ${ac_tool_prefix}dlltool; ac_word=$2
 
5647
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 
5648
$as_echo_n "checking for $ac_word... " >&6; }
 
5649
if ${ac_cv_prog_DLLTOOL+:} false; then :
 
5650
  $as_echo_n "(cached) " >&6
 
5651
else
 
5652
  if test -n "$DLLTOOL"; then
 
5653
  ac_cv_prog_DLLTOOL="$DLLTOOL" # Let the user override the test.
 
5654
else
 
5655
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
5656
for as_dir in $PATH
 
5657
do
 
5658
  IFS=$as_save_IFS
 
5659
  test -z "$as_dir" && as_dir=.
 
5660
    for ac_exec_ext in '' $ac_executable_extensions; do
 
5661
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 
5662
    ac_cv_prog_DLLTOOL="${ac_tool_prefix}dlltool"
 
5663
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
 
5664
    break 2
 
5665
  fi
 
5666
done
 
5667
  done
 
5668
IFS=$as_save_IFS
 
5669
 
 
5670
fi
 
5671
fi
 
5672
DLLTOOL=$ac_cv_prog_DLLTOOL
 
5673
if test -n "$DLLTOOL"; then
 
5674
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DLLTOOL" >&5
 
5675
$as_echo "$DLLTOOL" >&6; }
 
5676
else
 
5677
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
5678
$as_echo "no" >&6; }
 
5679
fi
 
5680
 
 
5681
 
 
5682
fi
 
5683
if test -z "$ac_cv_prog_DLLTOOL"; then
 
5684
  ac_ct_DLLTOOL=$DLLTOOL
 
5685
  # Extract the first word of "dlltool", so it can be a program name with args.
 
5686
set dummy dlltool; ac_word=$2
 
5687
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 
5688
$as_echo_n "checking for $ac_word... " >&6; }
 
5689
if ${ac_cv_prog_ac_ct_DLLTOOL+:} false; then :
 
5690
  $as_echo_n "(cached) " >&6
 
5691
else
 
5692
  if test -n "$ac_ct_DLLTOOL"; then
 
5693
  ac_cv_prog_ac_ct_DLLTOOL="$ac_ct_DLLTOOL" # Let the user override the test.
 
5694
else
 
5695
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
5696
for as_dir in $PATH
 
5697
do
 
5698
  IFS=$as_save_IFS
 
5699
  test -z "$as_dir" && as_dir=.
 
5700
    for ac_exec_ext in '' $ac_executable_extensions; do
 
5701
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 
5702
    ac_cv_prog_ac_ct_DLLTOOL="dlltool"
 
5703
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
 
5704
    break 2
 
5705
  fi
 
5706
done
 
5707
  done
 
5708
IFS=$as_save_IFS
 
5709
 
 
5710
fi
 
5711
fi
 
5712
ac_ct_DLLTOOL=$ac_cv_prog_ac_ct_DLLTOOL
 
5713
if test -n "$ac_ct_DLLTOOL"; then
 
5714
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DLLTOOL" >&5
 
5715
$as_echo "$ac_ct_DLLTOOL" >&6; }
 
5716
else
 
5717
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
5718
$as_echo "no" >&6; }
 
5719
fi
 
5720
 
 
5721
  if test "x$ac_ct_DLLTOOL" = x; then
 
5722
    DLLTOOL="false"
 
5723
  else
 
5724
    case $cross_compiling:$ac_tool_warned in
 
5725
yes:)
 
5726
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
 
5727
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
 
5728
ac_tool_warned=yes ;;
 
5729
esac
 
5730
    DLLTOOL=$ac_ct_DLLTOOL
 
5731
  fi
 
5732
else
 
5733
  DLLTOOL="$ac_cv_prog_DLLTOOL"
 
5734
fi
 
5735
 
 
5736
test -z "$DLLTOOL" && DLLTOOL=dlltool
 
5737
 
 
5738
 
 
5739
 
 
5740
 
 
5741
 
 
5742
 
 
5743
 
 
5744
 
 
5745
 
 
5746
 
 
5747
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to associate runtime and link libraries" >&5
 
5748
$as_echo_n "checking how to associate runtime and link libraries... " >&6; }
 
5749
if ${lt_cv_sharedlib_from_linklib_cmd+:} false; then :
 
5750
  $as_echo_n "(cached) " >&6
 
5751
else
 
5752
  lt_cv_sharedlib_from_linklib_cmd='unknown'
 
5753
 
 
5754
case $host_os in
 
5755
cygwin* | mingw* | pw32* | cegcc*)
 
5756
  # two different shell functions defined in ltmain.sh
 
5757
  # decide which to use based on capabilities of $DLLTOOL
 
5758
  case `$DLLTOOL --help 2>&1` in
 
5759
  *--identify-strict*)
 
5760
    lt_cv_sharedlib_from_linklib_cmd=func_cygming_dll_for_implib
 
5761
    ;;
 
5762
  *)
 
5763
    lt_cv_sharedlib_from_linklib_cmd=func_cygming_dll_for_implib_fallback
 
5764
    ;;
 
5765
  esac
 
5766
  ;;
 
5767
*)
 
5768
  # fallback: assume linklib IS sharedlib
 
5769
  lt_cv_sharedlib_from_linklib_cmd="$ECHO"
 
5770
  ;;
 
5771
esac
 
5772
 
 
5773
fi
 
5774
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sharedlib_from_linklib_cmd" >&5
 
5775
$as_echo "$lt_cv_sharedlib_from_linklib_cmd" >&6; }
 
5776
sharedlib_from_linklib_cmd=$lt_cv_sharedlib_from_linklib_cmd
 
5777
test -z "$sharedlib_from_linklib_cmd" && sharedlib_from_linklib_cmd=$ECHO
 
5778
 
 
5779
 
 
5780
 
 
5781
 
 
5782
 
 
5783
 
 
5784
 
 
5785
 
 
5786
if test -n "$ac_tool_prefix"; then
 
5787
  for ac_prog in ar
 
5788
  do
 
5789
    # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
 
5790
set dummy $ac_tool_prefix$ac_prog; ac_word=$2
 
5791
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 
5792
$as_echo_n "checking for $ac_word... " >&6; }
 
5793
if ${ac_cv_prog_AR+:} false; then :
5150
5794
  $as_echo_n "(cached) " >&6
5151
5795
else
5152
5796
  if test -n "$AR"; then
5159
5803
  test -z "$as_dir" && as_dir=.
5160
5804
    for ac_exec_ext in '' $ac_executable_extensions; do
5161
5805
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5162
 
    ac_cv_prog_AR="${ac_tool_prefix}ar"
 
5806
    ac_cv_prog_AR="$ac_tool_prefix$ac_prog"
5163
5807
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5164
5808
    break 2
5165
5809
  fi
5179
5823
fi
5180
5824
 
5181
5825
 
 
5826
    test -n "$AR" && break
 
5827
  done
5182
5828
fi
5183
 
if test -z "$ac_cv_prog_AR"; then
 
5829
if test -z "$AR"; then
5184
5830
  ac_ct_AR=$AR
5185
 
  # Extract the first word of "ar", so it can be a program name with args.
5186
 
set dummy ar; ac_word=$2
 
5831
  for ac_prog in ar
 
5832
do
 
5833
  # Extract the first word of "$ac_prog", so it can be a program name with args.
 
5834
set dummy $ac_prog; ac_word=$2
5187
5835
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5188
5836
$as_echo_n "checking for $ac_word... " >&6; }
5189
 
if test "${ac_cv_prog_ac_ct_AR+set}" = set; then :
 
5837
if ${ac_cv_prog_ac_ct_AR+:} false; then :
5190
5838
  $as_echo_n "(cached) " >&6
5191
5839
else
5192
5840
  if test -n "$ac_ct_AR"; then
5199
5847
  test -z "$as_dir" && as_dir=.
5200
5848
    for ac_exec_ext in '' $ac_executable_extensions; do
5201
5849
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5202
 
    ac_cv_prog_ac_ct_AR="ar"
 
5850
    ac_cv_prog_ac_ct_AR="$ac_prog"
5203
5851
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5204
5852
    break 2
5205
5853
  fi
5218
5866
$as_echo "no" >&6; }
5219
5867
fi
5220
5868
 
 
5869
 
 
5870
  test -n "$ac_ct_AR" && break
 
5871
done
 
5872
 
5221
5873
  if test "x$ac_ct_AR" = x; then
5222
5874
    AR="false"
5223
5875
  else
5229
5881
esac
5230
5882
    AR=$ac_ct_AR
5231
5883
  fi
5232
 
else
5233
 
  AR="$ac_cv_prog_AR"
5234
 
fi
5235
 
 
5236
 
test -z "$AR" && AR=ar
5237
 
test -z "$AR_FLAGS" && AR_FLAGS=cru
5238
 
 
5239
 
 
5240
 
 
5241
 
 
 
5884
fi
 
5885
 
 
5886
: ${AR=ar}
 
5887
: ${AR_FLAGS=cru}
 
5888
 
 
5889
 
 
5890
 
 
5891
 
 
5892
 
 
5893
 
 
5894
 
 
5895
 
 
5896
 
 
5897
 
 
5898
 
 
5899
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for archiver @FILE support" >&5
 
5900
$as_echo_n "checking for archiver @FILE support... " >&6; }
 
5901
if ${lt_cv_ar_at_file+:} false; then :
 
5902
  $as_echo_n "(cached) " >&6
 
5903
else
 
5904
  lt_cv_ar_at_file=no
 
5905
   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 
5906
/* end confdefs.h.  */
 
5907
 
 
5908
int
 
5909
main ()
 
5910
{
 
5911
 
 
5912
  ;
 
5913
  return 0;
 
5914
}
 
5915
_ACEOF
 
5916
if ac_fn_c_try_compile "$LINENO"; then :
 
5917
  echo conftest.$ac_objext > conftest.lst
 
5918
      lt_ar_try='$AR $AR_FLAGS libconftest.a @conftest.lst >&5'
 
5919
      { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$lt_ar_try\""; } >&5
 
5920
  (eval $lt_ar_try) 2>&5
 
5921
  ac_status=$?
 
5922
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 
5923
  test $ac_status = 0; }
 
5924
      if test "$ac_status" -eq 0; then
 
5925
        # Ensure the archiver fails upon bogus file names.
 
5926
        rm -f conftest.$ac_objext libconftest.a
 
5927
        { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$lt_ar_try\""; } >&5
 
5928
  (eval $lt_ar_try) 2>&5
 
5929
  ac_status=$?
 
5930
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 
5931
  test $ac_status = 0; }
 
5932
        if test "$ac_status" -ne 0; then
 
5933
          lt_cv_ar_at_file=@
 
5934
        fi
 
5935
      fi
 
5936
      rm -f conftest.* libconftest.a
 
5937
 
 
5938
fi
 
5939
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 
5940
 
 
5941
fi
 
5942
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ar_at_file" >&5
 
5943
$as_echo "$lt_cv_ar_at_file" >&6; }
 
5944
 
 
5945
if test "x$lt_cv_ar_at_file" = xno; then
 
5946
  archiver_list_spec=
 
5947
else
 
5948
  archiver_list_spec=$lt_cv_ar_at_file
 
5949
fi
5242
5950
 
5243
5951
 
5244
5952
 
5251
5959
set dummy ${ac_tool_prefix}strip; ac_word=$2
5252
5960
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5253
5961
$as_echo_n "checking for $ac_word... " >&6; }
5254
 
if test "${ac_cv_prog_STRIP+set}" = set; then :
 
5962
if ${ac_cv_prog_STRIP+:} false; then :
5255
5963
  $as_echo_n "(cached) " >&6
5256
5964
else
5257
5965
  if test -n "$STRIP"; then
5291
5999
set dummy strip; ac_word=$2
5292
6000
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5293
6001
$as_echo_n "checking for $ac_word... " >&6; }
5294
 
if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then :
 
6002
if ${ac_cv_prog_ac_ct_STRIP+:} false; then :
5295
6003
  $as_echo_n "(cached) " >&6
5296
6004
else
5297
6005
  if test -n "$ac_ct_STRIP"; then
5350
6058
set dummy ${ac_tool_prefix}ranlib; ac_word=$2
5351
6059
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5352
6060
$as_echo_n "checking for $ac_word... " >&6; }
5353
 
if test "${ac_cv_prog_RANLIB+set}" = set; then :
 
6061
if ${ac_cv_prog_RANLIB+:} false; then :
5354
6062
  $as_echo_n "(cached) " >&6
5355
6063
else
5356
6064
  if test -n "$RANLIB"; then
5390
6098
set dummy ranlib; ac_word=$2
5391
6099
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5392
6100
$as_echo_n "checking for $ac_word... " >&6; }
5393
 
if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then :
 
6101
if ${ac_cv_prog_ac_ct_RANLIB+:} false; then :
5394
6102
  $as_echo_n "(cached) " >&6
5395
6103
else
5396
6104
  if test -n "$ac_ct_RANLIB"; then
5452
6160
if test -n "$RANLIB"; then
5453
6161
  case $host_os in
5454
6162
  openbsd*)
5455
 
    old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB -t \$oldlib"
 
6163
    old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB -t \$tool_oldlib"
5456
6164
    ;;
5457
6165
  *)
5458
 
    old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB \$oldlib"
 
6166
    old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB \$tool_oldlib"
5459
6167
    ;;
5460
6168
  esac
5461
 
  old_archive_cmds="$old_archive_cmds~\$RANLIB \$oldlib"
 
6169
  old_archive_cmds="$old_archive_cmds~\$RANLIB \$tool_oldlib"
5462
6170
fi
5463
6171
 
 
6172
case $host_os in
 
6173
  darwin*)
 
6174
    lock_old_archive_extraction=yes ;;
 
6175
  *)
 
6176
    lock_old_archive_extraction=no ;;
 
6177
esac
 
6178
 
 
6179
 
 
6180
 
 
6181
 
 
6182
 
 
6183
 
5464
6184
 
5465
6185
 
5466
6186
 
5507
6227
# Check for command to grab the raw symbol name followed by C symbol from nm.
5508
6228
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking command to parse $NM output from $compiler object" >&5
5509
6229
$as_echo_n "checking command to parse $NM output from $compiler object... " >&6; }
5510
 
if test "${lt_cv_sys_global_symbol_pipe+set}" = set; then :
 
6230
if ${lt_cv_sys_global_symbol_pipe+:} false; then :
5511
6231
  $as_echo_n "(cached) " >&6
5512
6232
else
5513
6233
 
5568
6288
lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'"
5569
6289
 
5570
6290
# Transform an extracted symbol line into symbol name and symbol address
5571
 
lt_cv_sys_global_symbol_to_c_name_address="sed -n -e 's/^: \([^ ]*\) $/  {\\\"\1\\\", (void *) 0},/p' -e 's/^$symcode* \([^ ]*\) \([^ ]*\)$/  {\"\2\", (void *) \&\2},/p'"
5572
 
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'"
 
6291
lt_cv_sys_global_symbol_to_c_name_address="sed -n -e 's/^: \([^ ]*\)[ ]*$/  {\\\"\1\\\", (void *) 0},/p' -e 's/^$symcode* \([^ ]*\) \([^ ]*\)$/  {\"\2\", (void *) \&\2},/p'"
 
6292
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'"
5573
6293
 
5574
6294
# Handle CRLF in mingw tool chain
5575
6295
opt_cr=
5593
6313
    # which start with @ or ?.
5594
6314
    lt_cv_sys_global_symbol_pipe="$AWK '"\
5595
6315
"     {last_section=section; section=\$ 3};"\
 
6316
"     /^COFF SYMBOL TABLE/{for(i in hide) delete hide[i]};"\
5596
6317
"     /Section length .*#relocs.*(pick any)/{hide[last_section]=1};"\
5597
6318
"     \$ 0!~/External *\|/{next};"\
5598
6319
"     / 0+ UNDEF /{next}; / UNDEF \([^|]\)*()/{next};"\
5605
6326
  else
5606
6327
    lt_cv_sys_global_symbol_pipe="sed -n -e 's/^.*[      ]\($symcode$symcode*\)[         ][      ]*$ac_symprfx$sympat$opt_cr$/$symxfrm/p'"
5607
6328
  fi
 
6329
  lt_cv_sys_global_symbol_pipe="$lt_cv_sys_global_symbol_pipe | sed '/ __gnu_lto/d'"
5608
6330
 
5609
6331
  # Check to see that the pipe works correctly.
5610
6332
  pipe_works=no
5630
6352
  test $ac_status = 0; }; then
5631
6353
    # Now try to grab the symbols.
5632
6354
    nlist=conftest.nm
5633
 
    if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$NM conftest.$ac_objext \| $lt_cv_sys_global_symbol_pipe \> $nlist\""; } >&5
5634
 
  (eval $NM conftest.$ac_objext \| $lt_cv_sys_global_symbol_pipe \> $nlist) 2>&5
 
6355
    if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$NM conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist\""; } >&5
 
6356
  (eval $NM conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist) 2>&5
5635
6357
  ac_status=$?
5636
6358
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5637
6359
  test $ac_status = 0; } && test -s "$nlist"; then
5646
6368
      if $GREP ' nm_test_var$' "$nlist" >/dev/null; then
5647
6369
        if $GREP ' nm_test_func$' "$nlist" >/dev/null; then
5648
6370
          cat <<_LT_EOF > conftest.$ac_ext
 
6371
/* Keep this code in sync between libtool.m4, ltmain, lt_system.h, and tests.  */
 
6372
#if defined(_WIN32) || defined(__CYGWIN__) || defined(_WIN32_WCE)
 
6373
/* DATA imports from DLLs on WIN32 con't be const, because runtime
 
6374
   relocations are performed -- see ld's documentation on pseudo-relocs.  */
 
6375
# define LT_DLSYM_CONST
 
6376
#elif defined(__osf__)
 
6377
/* This system does not cope well with relocations in const data.  */
 
6378
# define LT_DLSYM_CONST
 
6379
#else
 
6380
# define LT_DLSYM_CONST const
 
6381
#endif
 
6382
 
5649
6383
#ifdef __cplusplus
5650
6384
extern "C" {
5651
6385
#endif
5657
6391
          cat <<_LT_EOF >> conftest.$ac_ext
5658
6392
 
5659
6393
/* The mapping between symbol names and symbols.  */
5660
 
const struct {
 
6394
LT_DLSYM_CONST struct {
5661
6395
  const char *name;
5662
6396
  void       *address;
5663
6397
}
5683
6417
_LT_EOF
5684
6418
          # Now try linking the two files.
5685
6419
          mv conftest.$ac_objext conftstm.$ac_objext
5686
 
          lt_save_LIBS="$LIBS"
5687
 
          lt_save_CFLAGS="$CFLAGS"
 
6420
          lt_globsym_save_LIBS=$LIBS
 
6421
          lt_globsym_save_CFLAGS=$CFLAGS
5688
6422
          LIBS="conftstm.$ac_objext"
5689
6423
          CFLAGS="$CFLAGS$lt_prog_compiler_no_builtin_flag"
5690
6424
          if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
5694
6428
  test $ac_status = 0; } && test -s conftest${ac_exeext}; then
5695
6429
            pipe_works=yes
5696
6430
          fi
5697
 
          LIBS="$lt_save_LIBS"
5698
 
          CFLAGS="$lt_save_CFLAGS"
 
6431
          LIBS=$lt_globsym_save_LIBS
 
6432
          CFLAGS=$lt_globsym_save_CFLAGS
5699
6433
        else
5700
6434
          echo "cannot find nm_test_func in $nlist" >&5
5701
6435
        fi
5732
6466
$as_echo "ok" >&6; }
5733
6467
fi
5734
6468
 
5735
 
 
5736
 
 
5737
 
 
5738
 
 
5739
 
 
5740
 
 
5741
 
 
5742
 
 
5743
 
 
5744
 
 
5745
 
 
5746
 
 
5747
 
 
5748
 
 
5749
 
 
5750
 
 
5751
 
 
 
6469
# Response file support.
 
6470
if test "$lt_cv_nm_interface" = "MS dumpbin"; then
 
6471
  nm_file_list_spec='@'
 
6472
elif $NM --help 2>/dev/null | grep '[@]FILE' >/dev/null; then
 
6473
  nm_file_list_spec='@'
 
6474
fi
 
6475
 
 
6476
 
 
6477
 
 
6478
 
 
6479
 
 
6480
 
 
6481
 
 
6482
 
 
6483
 
 
6484
 
 
6485
 
 
6486
 
 
6487
 
 
6488
 
 
6489
 
 
6490
 
 
6491
 
 
6492
 
 
6493
 
 
6494
 
 
6495
 
 
6496
 
 
6497
 
 
6498
 
 
6499
 
 
6500
 
 
6501
 
 
6502
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for sysroot" >&5
 
6503
$as_echo_n "checking for sysroot... " >&6; }
 
6504
 
 
6505
# Check whether --with-sysroot was given.
 
6506
if test "${with_sysroot+set}" = set; then :
 
6507
  withval=$with_sysroot;
 
6508
else
 
6509
  with_sysroot=no
 
6510
fi
 
6511
 
 
6512
 
 
6513
lt_sysroot=
 
6514
case ${with_sysroot} in #(
 
6515
 yes)
 
6516
   if test "$GCC" = yes; then
 
6517
     lt_sysroot=`$CC --print-sysroot 2>/dev/null`
 
6518
   fi
 
6519
   ;; #(
 
6520
 /*)
 
6521
   lt_sysroot=`echo "$with_sysroot" | sed -e "$sed_quote_subst"`
 
6522
   ;; #(
 
6523
 no|'')
 
6524
   ;; #(
 
6525
 *)
 
6526
   { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${with_sysroot}" >&5
 
6527
$as_echo "${with_sysroot}" >&6; }
 
6528
   as_fn_error $? "The sysroot must be an absolute path." "$LINENO" 5
 
6529
   ;;
 
6530
esac
 
6531
 
 
6532
 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${lt_sysroot:-no}" >&5
 
6533
$as_echo "${lt_sysroot:-no}" >&6; }
5752
6534
 
5753
6535
 
5754
6536
 
5785
6567
  ;;
5786
6568
*-*-irix6*)
5787
6569
  # Find out which ABI we are using.
5788
 
  echo '#line 5788 "configure"' > conftest.$ac_ext
 
6570
  echo '#line '$LINENO' "configure"' > conftest.$ac_ext
5789
6571
  if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
5790
6572
  (eval $ac_compile) 2>&5
5791
6573
  ac_status=$?
5879
6661
  CFLAGS="$CFLAGS -belf"
5880
6662
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler needs -belf" >&5
5881
6663
$as_echo_n "checking whether the C compiler needs -belf... " >&6; }
5882
 
if test "${lt_cv_cc_needs_belf+set}" = set; then :
 
6664
if ${lt_cv_cc_needs_belf+:} false; then :
5883
6665
  $as_echo_n "(cached) " >&6
5884
6666
else
5885
6667
  ac_ext=c
5920
6702
    CFLAGS="$SAVE_CFLAGS"
5921
6703
  fi
5922
6704
  ;;
5923
 
sparc*-*solaris*)
 
6705
*-*solaris*)
5924
6706
  # Find out which ABI we are using.
5925
6707
  echo 'int i;' > conftest.$ac_ext
5926
6708
  if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
5931
6713
    case `/usr/bin/file conftest.o` in
5932
6714
    *64-bit*)
5933
6715
      case $lt_cv_prog_gnu_ld in
5934
 
      yes*) LD="${LD-ld} -m elf64_sparc" ;;
 
6716
      yes*)
 
6717
        case $host in
 
6718
        i?86-*-solaris*)
 
6719
          LD="${LD-ld} -m elf_x86_64"
 
6720
          ;;
 
6721
        sparc*-*-solaris*)
 
6722
          LD="${LD-ld} -m elf64_sparc"
 
6723
          ;;
 
6724
        esac
 
6725
        # GNU ld 2.21 introduced _sol2 emulations.  Use them if available.
 
6726
        if ${LD-ld} -V | grep _sol2 >/dev/null 2>&1; then
 
6727
          LD="${LD-ld}_sol2"
 
6728
        fi
 
6729
        ;;
5935
6730
      *)
5936
6731
        if ${LD-ld} -64 -r -o conftest2.o conftest.o >/dev/null 2>&1; then
5937
6732
          LD="${LD-ld} -64"
5947
6742
 
5948
6743
need_locks="$enable_libtool_lock"
5949
6744
 
 
6745
if test -n "$ac_tool_prefix"; then
 
6746
  # Extract the first word of "${ac_tool_prefix}mt", so it can be a program name with args.
 
6747
set dummy ${ac_tool_prefix}mt; ac_word=$2
 
6748
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 
6749
$as_echo_n "checking for $ac_word... " >&6; }
 
6750
if ${ac_cv_prog_MANIFEST_TOOL+:} false; then :
 
6751
  $as_echo_n "(cached) " >&6
 
6752
else
 
6753
  if test -n "$MANIFEST_TOOL"; then
 
6754
  ac_cv_prog_MANIFEST_TOOL="$MANIFEST_TOOL" # Let the user override the test.
 
6755
else
 
6756
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
6757
for as_dir in $PATH
 
6758
do
 
6759
  IFS=$as_save_IFS
 
6760
  test -z "$as_dir" && as_dir=.
 
6761
    for ac_exec_ext in '' $ac_executable_extensions; do
 
6762
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 
6763
    ac_cv_prog_MANIFEST_TOOL="${ac_tool_prefix}mt"
 
6764
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
 
6765
    break 2
 
6766
  fi
 
6767
done
 
6768
  done
 
6769
IFS=$as_save_IFS
 
6770
 
 
6771
fi
 
6772
fi
 
6773
MANIFEST_TOOL=$ac_cv_prog_MANIFEST_TOOL
 
6774
if test -n "$MANIFEST_TOOL"; then
 
6775
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MANIFEST_TOOL" >&5
 
6776
$as_echo "$MANIFEST_TOOL" >&6; }
 
6777
else
 
6778
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
6779
$as_echo "no" >&6; }
 
6780
fi
 
6781
 
 
6782
 
 
6783
fi
 
6784
if test -z "$ac_cv_prog_MANIFEST_TOOL"; then
 
6785
  ac_ct_MANIFEST_TOOL=$MANIFEST_TOOL
 
6786
  # Extract the first word of "mt", so it can be a program name with args.
 
6787
set dummy mt; ac_word=$2
 
6788
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 
6789
$as_echo_n "checking for $ac_word... " >&6; }
 
6790
if ${ac_cv_prog_ac_ct_MANIFEST_TOOL+:} false; then :
 
6791
  $as_echo_n "(cached) " >&6
 
6792
else
 
6793
  if test -n "$ac_ct_MANIFEST_TOOL"; then
 
6794
  ac_cv_prog_ac_ct_MANIFEST_TOOL="$ac_ct_MANIFEST_TOOL" # Let the user override the test.
 
6795
else
 
6796
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
6797
for as_dir in $PATH
 
6798
do
 
6799
  IFS=$as_save_IFS
 
6800
  test -z "$as_dir" && as_dir=.
 
6801
    for ac_exec_ext in '' $ac_executable_extensions; do
 
6802
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 
6803
    ac_cv_prog_ac_ct_MANIFEST_TOOL="mt"
 
6804
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
 
6805
    break 2
 
6806
  fi
 
6807
done
 
6808
  done
 
6809
IFS=$as_save_IFS
 
6810
 
 
6811
fi
 
6812
fi
 
6813
ac_ct_MANIFEST_TOOL=$ac_cv_prog_ac_ct_MANIFEST_TOOL
 
6814
if test -n "$ac_ct_MANIFEST_TOOL"; then
 
6815
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_MANIFEST_TOOL" >&5
 
6816
$as_echo "$ac_ct_MANIFEST_TOOL" >&6; }
 
6817
else
 
6818
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
6819
$as_echo "no" >&6; }
 
6820
fi
 
6821
 
 
6822
  if test "x$ac_ct_MANIFEST_TOOL" = x; then
 
6823
    MANIFEST_TOOL=":"
 
6824
  else
 
6825
    case $cross_compiling:$ac_tool_warned in
 
6826
yes:)
 
6827
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
 
6828
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
 
6829
ac_tool_warned=yes ;;
 
6830
esac
 
6831
    MANIFEST_TOOL=$ac_ct_MANIFEST_TOOL
 
6832
  fi
 
6833
else
 
6834
  MANIFEST_TOOL="$ac_cv_prog_MANIFEST_TOOL"
 
6835
fi
 
6836
 
 
6837
test -z "$MANIFEST_TOOL" && MANIFEST_TOOL=mt
 
6838
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $MANIFEST_TOOL is a manifest tool" >&5
 
6839
$as_echo_n "checking if $MANIFEST_TOOL is a manifest tool... " >&6; }
 
6840
if ${lt_cv_path_mainfest_tool+:} false; then :
 
6841
  $as_echo_n "(cached) " >&6
 
6842
else
 
6843
  lt_cv_path_mainfest_tool=no
 
6844
  echo "$as_me:$LINENO: $MANIFEST_TOOL '-?'" >&5
 
6845
  $MANIFEST_TOOL '-?' 2>conftest.err > conftest.out
 
6846
  cat conftest.err >&5
 
6847
  if $GREP 'Manifest Tool' conftest.out > /dev/null; then
 
6848
    lt_cv_path_mainfest_tool=yes
 
6849
  fi
 
6850
  rm -f conftest*
 
6851
fi
 
6852
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_mainfest_tool" >&5
 
6853
$as_echo "$lt_cv_path_mainfest_tool" >&6; }
 
6854
if test "x$lt_cv_path_mainfest_tool" != xyes; then
 
6855
  MANIFEST_TOOL=:
 
6856
fi
 
6857
 
 
6858
 
 
6859
 
 
6860
 
 
6861
 
5950
6862
 
5951
6863
  case $host_os in
5952
6864
    rhapsody* | darwin*)
5955
6867
set dummy ${ac_tool_prefix}dsymutil; ac_word=$2
5956
6868
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5957
6869
$as_echo_n "checking for $ac_word... " >&6; }
5958
 
if test "${ac_cv_prog_DSYMUTIL+set}" = set; then :
 
6870
if ${ac_cv_prog_DSYMUTIL+:} false; then :
5959
6871
  $as_echo_n "(cached) " >&6
5960
6872
else
5961
6873
  if test -n "$DSYMUTIL"; then
5995
6907
set dummy dsymutil; ac_word=$2
5996
6908
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5997
6909
$as_echo_n "checking for $ac_word... " >&6; }
5998
 
if test "${ac_cv_prog_ac_ct_DSYMUTIL+set}" = set; then :
 
6910
if ${ac_cv_prog_ac_ct_DSYMUTIL+:} false; then :
5999
6911
  $as_echo_n "(cached) " >&6
6000
6912
else
6001
6913
  if test -n "$ac_ct_DSYMUTIL"; then
6047
6959
set dummy ${ac_tool_prefix}nmedit; ac_word=$2
6048
6960
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6049
6961
$as_echo_n "checking for $ac_word... " >&6; }
6050
 
if test "${ac_cv_prog_NMEDIT+set}" = set; then :
 
6962
if ${ac_cv_prog_NMEDIT+:} false; then :
6051
6963
  $as_echo_n "(cached) " >&6
6052
6964
else
6053
6965
  if test -n "$NMEDIT"; then
6087
6999
set dummy nmedit; ac_word=$2
6088
7000
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6089
7001
$as_echo_n "checking for $ac_word... " >&6; }
6090
 
if test "${ac_cv_prog_ac_ct_NMEDIT+set}" = set; then :
 
7002
if ${ac_cv_prog_ac_ct_NMEDIT+:} false; then :
6091
7003
  $as_echo_n "(cached) " >&6
6092
7004
else
6093
7005
  if test -n "$ac_ct_NMEDIT"; then
6139
7051
set dummy ${ac_tool_prefix}lipo; ac_word=$2
6140
7052
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6141
7053
$as_echo_n "checking for $ac_word... " >&6; }
6142
 
if test "${ac_cv_prog_LIPO+set}" = set; then :
 
7054
if ${ac_cv_prog_LIPO+:} false; then :
6143
7055
  $as_echo_n "(cached) " >&6
6144
7056
else
6145
7057
  if test -n "$LIPO"; then
6179
7091
set dummy lipo; ac_word=$2
6180
7092
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6181
7093
$as_echo_n "checking for $ac_word... " >&6; }
6182
 
if test "${ac_cv_prog_ac_ct_LIPO+set}" = set; then :
 
7094
if ${ac_cv_prog_ac_ct_LIPO+:} false; then :
6183
7095
  $as_echo_n "(cached) " >&6
6184
7096
else
6185
7097
  if test -n "$ac_ct_LIPO"; then
6231
7143
set dummy ${ac_tool_prefix}otool; ac_word=$2
6232
7144
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6233
7145
$as_echo_n "checking for $ac_word... " >&6; }
6234
 
if test "${ac_cv_prog_OTOOL+set}" = set; then :
 
7146
if ${ac_cv_prog_OTOOL+:} false; then :
6235
7147
  $as_echo_n "(cached) " >&6
6236
7148
else
6237
7149
  if test -n "$OTOOL"; then
6271
7183
set dummy otool; ac_word=$2
6272
7184
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6273
7185
$as_echo_n "checking for $ac_word... " >&6; }
6274
 
if test "${ac_cv_prog_ac_ct_OTOOL+set}" = set; then :
 
7186
if ${ac_cv_prog_ac_ct_OTOOL+:} false; then :
6275
7187
  $as_echo_n "(cached) " >&6
6276
7188
else
6277
7189
  if test -n "$ac_ct_OTOOL"; then
6323
7235
set dummy ${ac_tool_prefix}otool64; ac_word=$2
6324
7236
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6325
7237
$as_echo_n "checking for $ac_word... " >&6; }
6326
 
if test "${ac_cv_prog_OTOOL64+set}" = set; then :
 
7238
if ${ac_cv_prog_OTOOL64+:} false; then :
6327
7239
  $as_echo_n "(cached) " >&6
6328
7240
else
6329
7241
  if test -n "$OTOOL64"; then
6363
7275
set dummy otool64; ac_word=$2
6364
7276
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6365
7277
$as_echo_n "checking for $ac_word... " >&6; }
6366
 
if test "${ac_cv_prog_ac_ct_OTOOL64+set}" = set; then :
 
7278
if ${ac_cv_prog_ac_ct_OTOOL64+:} false; then :
6367
7279
  $as_echo_n "(cached) " >&6
6368
7280
else
6369
7281
  if test -n "$ac_ct_OTOOL64"; then
6438
7350
 
6439
7351
    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -single_module linker flag" >&5
6440
7352
$as_echo_n "checking for -single_module linker flag... " >&6; }
6441
 
if test "${lt_cv_apple_cc_single_mod+set}" = set; then :
 
7353
if ${lt_cv_apple_cc_single_mod+:} false; then :
6442
7354
  $as_echo_n "(cached) " >&6
6443
7355
else
6444
7356
  lt_cv_apple_cc_single_mod=no
6454
7366
        $LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
6455
7367
          -dynamiclib -Wl,-single_module conftest.c 2>conftest.err
6456
7368
        _lt_result=$?
6457
 
        if test -f libconftest.dylib && test ! -s conftest.err && test $_lt_result = 0; then
 
7369
        # If there is a non-empty error log, and "single_module"
 
7370
        # appears in it, assume the flag caused a linker warning
 
7371
        if test -s conftest.err && $GREP single_module conftest.err; then
 
7372
          cat conftest.err >&5
 
7373
        # Otherwise, if the output was created with a 0 exit code from
 
7374
        # the compiler, it worked.
 
7375
        elif test -f libconftest.dylib && test $_lt_result -eq 0; then
6458
7376
          lt_cv_apple_cc_single_mod=yes
6459
7377
        else
6460
7378
          cat conftest.err >&5
6465
7383
fi
6466
7384
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_apple_cc_single_mod" >&5
6467
7385
$as_echo "$lt_cv_apple_cc_single_mod" >&6; }
 
7386
 
6468
7387
    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -exported_symbols_list linker flag" >&5
6469
7388
$as_echo_n "checking for -exported_symbols_list linker flag... " >&6; }
6470
 
if test "${lt_cv_ld_exported_symbols_list+set}" = set; then :
 
7389
if ${lt_cv_ld_exported_symbols_list+:} false; then :
6471
7390
  $as_echo_n "(cached) " >&6
6472
7391
else
6473
7392
  lt_cv_ld_exported_symbols_list=no
6497
7416
fi
6498
7417
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_exported_symbols_list" >&5
6499
7418
$as_echo "$lt_cv_ld_exported_symbols_list" >&6; }
 
7419
 
 
7420
    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -force_load linker flag" >&5
 
7421
$as_echo_n "checking for -force_load linker flag... " >&6; }
 
7422
if ${lt_cv_ld_force_load+:} false; then :
 
7423
  $as_echo_n "(cached) " >&6
 
7424
else
 
7425
  lt_cv_ld_force_load=no
 
7426
      cat > conftest.c << _LT_EOF
 
7427
int forced_loaded() { return 2;}
 
7428
_LT_EOF
 
7429
      echo "$LTCC $LTCFLAGS -c -o conftest.o conftest.c" >&5
 
7430
      $LTCC $LTCFLAGS -c -o conftest.o conftest.c 2>&5
 
7431
      echo "$AR cru libconftest.a conftest.o" >&5
 
7432
      $AR cru libconftest.a conftest.o 2>&5
 
7433
      echo "$RANLIB libconftest.a" >&5
 
7434
      $RANLIB libconftest.a 2>&5
 
7435
      cat > conftest.c << _LT_EOF
 
7436
int main() { return 0;}
 
7437
_LT_EOF
 
7438
      echo "$LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a" >&5
 
7439
      $LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a 2>conftest.err
 
7440
      _lt_result=$?
 
7441
      if test -s conftest.err && $GREP force_load conftest.err; then
 
7442
        cat conftest.err >&5
 
7443
      elif test -f conftest && test $_lt_result -eq 0 && $GREP forced_load conftest >/dev/null 2>&1 ; then
 
7444
        lt_cv_ld_force_load=yes
 
7445
      else
 
7446
        cat conftest.err >&5
 
7447
      fi
 
7448
        rm -f conftest.err libconftest.a conftest conftest.c
 
7449
        rm -rf conftest.dSYM
 
7450
 
 
7451
fi
 
7452
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_force_load" >&5
 
7453
$as_echo "$lt_cv_ld_force_load" >&6; }
6500
7454
    case $host_os in
6501
7455
    rhapsody* | darwin1.[012])
6502
7456
      _lt_dar_allow_undefined='${wl}-undefined ${wl}suppress' ;;
6524
7478
    else
6525
7479
      _lt_dar_export_syms='~$NMEDIT -s $output_objdir/${libname}-symbols.expsym ${lib}'
6526
7480
    fi
6527
 
    if test "$DSYMUTIL" != ":"; then
 
7481
    if test "$DSYMUTIL" != ":" && test "$lt_cv_ld_force_load" = "no"; then
6528
7482
      _lt_dsymutil='~$DSYMUTIL $lib || :'
6529
7483
    else
6530
7484
      _lt_dsymutil=
6544
7498
  CPP=
6545
7499
fi
6546
7500
if test -z "$CPP"; then
6547
 
  if test "${ac_cv_prog_CPP+set}" = set; then :
 
7501
  if ${ac_cv_prog_CPP+:} false; then :
6548
7502
  $as_echo_n "(cached) " >&6
6549
7503
else
6550
7504
      # Double quotes because CPP needs to be expanded
6574
7528
  # Broken: fails on valid input.
6575
7529
continue
6576
7530
fi
6577
 
rm -f conftest.err conftest.$ac_ext
 
7531
rm -f conftest.err conftest.i conftest.$ac_ext
6578
7532
 
6579
7533
  # OK, works on sane cases.  Now check whether nonexistent headers
6580
7534
  # can be detected and how.
6590
7544
ac_preproc_ok=:
6591
7545
break
6592
7546
fi
6593
 
rm -f conftest.err conftest.$ac_ext
 
7547
rm -f conftest.err conftest.i conftest.$ac_ext
6594
7548
 
6595
7549
done
6596
7550
# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
6597
 
rm -f conftest.err conftest.$ac_ext
 
7551
rm -f conftest.i conftest.err conftest.$ac_ext
6598
7552
if $ac_preproc_ok; then :
6599
7553
  break
6600
7554
fi
6633
7587
  # Broken: fails on valid input.
6634
7588
continue
6635
7589
fi
6636
 
rm -f conftest.err conftest.$ac_ext
 
7590
rm -f conftest.err conftest.i conftest.$ac_ext
6637
7591
 
6638
7592
  # OK, works on sane cases.  Now check whether nonexistent headers
6639
7593
  # can be detected and how.
6649
7603
ac_preproc_ok=:
6650
7604
break
6651
7605
fi
6652
 
rm -f conftest.err conftest.$ac_ext
 
7606
rm -f conftest.err conftest.i conftest.$ac_ext
6653
7607
 
6654
7608
done
6655
7609
# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
6656
 
rm -f conftest.err conftest.$ac_ext
 
7610
rm -f conftest.i conftest.err conftest.$ac_ext
6657
7611
if $ac_preproc_ok; then :
6658
7612
 
6659
7613
else
6660
7614
  { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
6661
7615
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
6662
 
as_fn_error "C preprocessor \"$CPP\" fails sanity check
6663
 
See \`config.log' for more details." "$LINENO" 5; }
 
7616
as_fn_error $? "C preprocessor \"$CPP\" fails sanity check
 
7617
See \`config.log' for more details" "$LINENO" 5; }
6664
7618
fi
6665
7619
 
6666
7620
ac_ext=c
6672
7626
 
6673
7627
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
6674
7628
$as_echo_n "checking for ANSI C header files... " >&6; }
6675
 
if test "${ac_cv_header_stdc+set}" = set; then :
 
7629
if ${ac_cv_header_stdc+:} false; then :
6676
7630
  $as_echo_n "(cached) " >&6
6677
7631
else
6678
7632
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6789
7743
  as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
6790
7744
ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
6791
7745
"
6792
 
eval as_val=\$$as_ac_Header
6793
 
   if test "x$as_val" = x""yes; then :
 
7746
if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
6794
7747
  cat >>confdefs.h <<_ACEOF
6795
7748
#define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
6796
7749
_ACEOF
6804
7757
do :
6805
7758
  ac_fn_c_check_header_compile "$LINENO" "dlfcn.h" "ac_cv_header_dlfcn_h" "$ac_includes_default
6806
7759
"
6807
 
if test "x$ac_cv_header_dlfcn_h" = x""yes; then :
 
7760
if test "x$ac_cv_header_dlfcn_h" = xyes; then :
6808
7761
  cat >>confdefs.h <<_ACEOF
6809
7762
#define HAVE_DLFCN_H 1
6810
7763
_ACEOF
6815
7768
 
6816
7769
 
6817
7770
 
 
7771
 
 
7772
func_stripname_cnf ()
 
7773
{
 
7774
  case ${2} in
 
7775
  .*) func_stripname_result=`$ECHO "${3}" | $SED "s%^${1}%%; s%\\\\${2}\$%%"`;;
 
7776
  *)  func_stripname_result=`$ECHO "${3}" | $SED "s%^${1}%%; s%${2}\$%%"`;;
 
7777
  esac
 
7778
} # func_stripname_cnf
 
7779
 
 
7780
 
 
7781
 
 
7782
 
 
7783
 
6818
7784
# Set options
6819
7785
 
6820
7786
 
6890
7856
 
6891
7857
# Check whether --with-pic was given.
6892
7858
if test "${with_pic+set}" = set; then :
6893
 
  withval=$with_pic; pic_mode="$withval"
 
7859
  withval=$with_pic; lt_p=${PACKAGE-default}
 
7860
    case $withval in
 
7861
    yes|no) pic_mode=$withval ;;
 
7862
    *)
 
7863
      pic_mode=default
 
7864
      # Look at the argument we got.  We use all the common list separators.
 
7865
      lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
 
7866
      for lt_pkg in $withval; do
 
7867
        IFS="$lt_save_ifs"
 
7868
        if test "X$lt_pkg" = "X$lt_p"; then
 
7869
          pic_mode=yes
 
7870
        fi
 
7871
      done
 
7872
      IFS="$lt_save_ifs"
 
7873
      ;;
 
7874
    esac
6894
7875
else
6895
7876
  pic_mode=default
6896
7877
fi
6967
7948
 
6968
7949
 
6969
7950
 
 
7951
 
 
7952
 
 
7953
 
 
7954
 
 
7955
 
6970
7956
test -z "$LN_S" && LN_S="ln -s"
6971
7957
 
6972
7958
 
6988
7974
 
6989
7975
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for objdir" >&5
6990
7976
$as_echo_n "checking for objdir... " >&6; }
6991
 
if test "${lt_cv_objdir+set}" = set; then :
 
7977
if ${lt_cv_objdir+:} false; then :
6992
7978
  $as_echo_n "(cached) " >&6
6993
7979
else
6994
7980
  rm -f .libs 2>/dev/null
7016
8002
 
7017
8003
 
7018
8004
 
7019
 
 
7020
 
 
7021
 
 
7022
 
 
7023
 
 
7024
 
 
7025
 
 
7026
 
 
7027
 
 
7028
 
 
7029
 
 
7030
 
 
7031
 
 
7032
8005
case $host_os in
7033
8006
aix3*)
7034
8007
  # AIX sometimes has problems with the GCC collect2 program.  For some
7041
8014
  ;;
7042
8015
esac
7043
8016
 
7044
 
# Sed substitution that helps us do robust quoting.  It backslashifies
7045
 
# metacharacters that are still active within double-quoted strings.
7046
 
sed_quote_subst='s/\(["`$\\]\)/\\\1/g'
7047
 
 
7048
 
# Same as above, but do not quote variable references.
7049
 
double_quote_subst='s/\(["`\\]\)/\\\1/g'
7050
 
 
7051
 
# Sed substitution to delay expansion of an escaped shell variable in a
7052
 
# double_quote_subst'ed string.
7053
 
delay_variable_subst='s/\\\\\\\\\\\$/\\\\\\$/g'
7054
 
 
7055
 
# Sed substitution to delay expansion of an escaped single quote.
7056
 
delay_single_quote_subst='s/'\''/'\'\\\\\\\'\''/g'
7057
 
 
7058
 
# Sed substitution to avoid accidental globbing in evaled expressions
7059
 
no_glob_subst='s/\*/\\\*/g'
7060
 
 
7061
8017
# Global variables:
7062
8018
ofile=libtool
7063
8019
can_build_shared=yes
7086
8042
    *) break;;
7087
8043
  esac
7088
8044
done
7089
 
cc_basename=`$ECHO "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
 
8045
cc_basename=`$ECHO "$cc_temp" | $SED "s%.*/%%; s%^$host_alias-%%"`
7090
8046
 
7091
8047
 
7092
8048
# Only perform the check for file, if the check method requires it
7096
8052
  if test "$file_magic_cmd" = '$MAGIC_CMD'; then
7097
8053
    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ${ac_tool_prefix}file" >&5
7098
8054
$as_echo_n "checking for ${ac_tool_prefix}file... " >&6; }
7099
 
if test "${lt_cv_path_MAGIC_CMD+set}" = set; then :
 
8055
if ${lt_cv_path_MAGIC_CMD+:} false; then :
7100
8056
  $as_echo_n "(cached) " >&6
7101
8057
else
7102
8058
  case $MAGIC_CMD in
7162
8118
  if test -n "$ac_tool_prefix"; then
7163
8119
    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for file" >&5
7164
8120
$as_echo_n "checking for file... " >&6; }
7165
 
if test "${lt_cv_path_MAGIC_CMD+set}" = set; then :
 
8121
if ${lt_cv_path_MAGIC_CMD+:} false; then :
7166
8122
  $as_echo_n "(cached) " >&6
7167
8123
else
7168
8124
  case $MAGIC_CMD in
7295
8251
lt_prog_compiler_no_builtin_flag=
7296
8252
 
7297
8253
if test "$GCC" = yes; then
7298
 
  lt_prog_compiler_no_builtin_flag=' -fno-builtin'
 
8254
  case $cc_basename in
 
8255
  nvcc*)
 
8256
    lt_prog_compiler_no_builtin_flag=' -Xcompiler -fno-builtin' ;;
 
8257
  *)
 
8258
    lt_prog_compiler_no_builtin_flag=' -fno-builtin' ;;
 
8259
  esac
7299
8260
 
7300
8261
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
7301
8262
$as_echo_n "checking if $compiler supports -fno-rtti -fno-exceptions... " >&6; }
7302
 
if test "${lt_cv_prog_compiler_rtti_exceptions+set}" = set; then :
 
8263
if ${lt_cv_prog_compiler_rtti_exceptions+:} false; then :
7303
8264
  $as_echo_n "(cached) " >&6
7304
8265
else
7305
8266
  lt_cv_prog_compiler_rtti_exceptions=no
7315
8276
   -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
7316
8277
   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
7317
8278
   -e 's:$: $lt_compiler_flag:'`
7318
 
   (eval echo "\"\$as_me:7318: $lt_compile\"" >&5)
 
8279
   (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
7319
8280
   (eval "$lt_compile" 2>conftest.err)
7320
8281
   ac_status=$?
7321
8282
   cat conftest.err >&5
7322
 
   echo "$as_me:7322: \$? = $ac_status" >&5
 
8283
   echo "$as_me:$LINENO: \$? = $ac_status" >&5
7323
8284
   if (exit $ac_status) && test -s "$ac_outfile"; then
7324
8285
     # The compiler can only warn and ignore the option if not recognized
7325
8286
     # So say no if there are warnings other than the usual output.
7326
 
     $ECHO "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' >conftest.exp
 
8287
     $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
7327
8288
     $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
7328
8289
     if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
7329
8290
       lt_cv_prog_compiler_rtti_exceptions=yes
7352
8313
lt_prog_compiler_pic=
7353
8314
lt_prog_compiler_static=
7354
8315
 
7355
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5
7356
 
$as_echo_n "checking for $compiler option to produce PIC... " >&6; }
7357
8316
 
7358
8317
  if test "$GCC" = yes; then
7359
8318
    lt_prog_compiler_wl='-Wl,'
7401
8360
      lt_prog_compiler_pic='-fno-common'
7402
8361
      ;;
7403
8362
 
 
8363
    haiku*)
 
8364
      # PIC is the default for Haiku.
 
8365
      # The "-static" flag exists, but is broken.
 
8366
      lt_prog_compiler_static=
 
8367
      ;;
 
8368
 
7404
8369
    hpux*)
7405
8370
      # PIC is the default for 64-bit PA HP-UX, but not for 32-bit
7406
8371
      # PA HP-UX.  On IA64 HP-UX, PIC is the default but the pic flag
7443
8408
      lt_prog_compiler_pic='-fPIC'
7444
8409
      ;;
7445
8410
    esac
 
8411
 
 
8412
    case $cc_basename in
 
8413
    nvcc*) # Cuda Compiler Driver 2.2
 
8414
      lt_prog_compiler_wl='-Xlinker '
 
8415
      if test -n "$lt_prog_compiler_pic"; then
 
8416
        lt_prog_compiler_pic="-Xcompiler $lt_prog_compiler_pic"
 
8417
      fi
 
8418
      ;;
 
8419
    esac
7446
8420
  else
7447
8421
    # PORTME Check for flag to pass linker flags through the system compiler.
7448
8422
    case $host_os in
7484
8458
      lt_prog_compiler_static='-non_shared'
7485
8459
      ;;
7486
8460
 
7487
 
    linux* | k*bsd*-gnu)
 
8461
    linux* | k*bsd*-gnu | kopensolaris*-gnu)
7488
8462
      case $cc_basename in
7489
8463
      # old Intel for x86_64 which still supported -KPIC.
7490
8464
      ecc*)
7505
8479
        lt_prog_compiler_pic='--shared'
7506
8480
        lt_prog_compiler_static='--static'
7507
8481
        ;;
7508
 
      pgcc* | pgf77* | pgf90* | pgf95*)
 
8482
      nagfor*)
 
8483
        # NAG Fortran compiler
 
8484
        lt_prog_compiler_wl='-Wl,-Wl,,'
 
8485
        lt_prog_compiler_pic='-PIC'
 
8486
        lt_prog_compiler_static='-Bstatic'
 
8487
        ;;
 
8488
      pgcc* | pgf77* | pgf90* | pgf95* | pgfortran*)
7509
8489
        # Portland Group compilers (*not* the Pentium gcc compiler,
7510
8490
        # which looks to be a dead project)
7511
8491
        lt_prog_compiler_wl='-Wl,'
7517
8497
        # All Alpha code is PIC.
7518
8498
        lt_prog_compiler_static='-non_shared'
7519
8499
        ;;
7520
 
      xl*)
7521
 
        # IBM XL C 8.0/Fortran 10.1 on PPC
 
8500
      xl* | bgxl* | bgf* | mpixl*)
 
8501
        # IBM XL C 8.0/Fortran 10.1, 11.1 on PPC and BlueGene
7522
8502
        lt_prog_compiler_wl='-Wl,'
7523
8503
        lt_prog_compiler_pic='-qpic'
7524
8504
        lt_prog_compiler_static='-qstaticlink'
7525
8505
        ;;
7526
8506
      *)
7527
8507
        case `$CC -V 2>&1 | sed 5q` in
 
8508
        *Sun\ Ceres\ Fortran* | *Sun*Fortran*\ [1-7].* | *Sun*Fortran*\ 8.[0-3]*)
 
8509
          # Sun Fortran 8.3 passes all unrecognized flags to the linker
 
8510
          lt_prog_compiler_pic='-KPIC'
 
8511
          lt_prog_compiler_static='-Bstatic'
 
8512
          lt_prog_compiler_wl=''
 
8513
          ;;
 
8514
        *Sun\ F* | *Sun*Fortran*)
 
8515
          lt_prog_compiler_pic='-KPIC'
 
8516
          lt_prog_compiler_static='-Bstatic'
 
8517
          lt_prog_compiler_wl='-Qoption ld '
 
8518
          ;;
7528
8519
        *Sun\ C*)
7529
8520
          # Sun C 5.9
7530
8521
          lt_prog_compiler_pic='-KPIC'
7531
8522
          lt_prog_compiler_static='-Bstatic'
7532
8523
          lt_prog_compiler_wl='-Wl,'
7533
8524
          ;;
7534
 
        *Sun\ F*)
7535
 
          # Sun Fortran 8.3 passes all unrecognized flags to the linker
7536
 
          lt_prog_compiler_pic='-KPIC'
 
8525
        *Intel*\ [CF]*Compiler*)
 
8526
          lt_prog_compiler_wl='-Wl,'
 
8527
          lt_prog_compiler_pic='-fPIC'
 
8528
          lt_prog_compiler_static='-static'
 
8529
          ;;
 
8530
        *Portland\ Group*)
 
8531
          lt_prog_compiler_wl='-Wl,'
 
8532
          lt_prog_compiler_pic='-fpic'
7537
8533
          lt_prog_compiler_static='-Bstatic'
7538
 
          lt_prog_compiler_wl=''
7539
8534
          ;;
7540
8535
        esac
7541
8536
        ;;
7567
8562
      lt_prog_compiler_pic='-KPIC'
7568
8563
      lt_prog_compiler_static='-Bstatic'
7569
8564
      case $cc_basename in
7570
 
      f77* | f90* | f95*)
 
8565
      f77* | f90* | f95* | sunf77* | sunf90* | sunf95*)
7571
8566
        lt_prog_compiler_wl='-Qoption ld ';;
7572
8567
      *)
7573
8568
        lt_prog_compiler_wl='-Wl,';;
7624
8619
    lt_prog_compiler_pic="$lt_prog_compiler_pic -DPIC"
7625
8620
    ;;
7626
8621
esac
7627
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_prog_compiler_pic" >&5
7628
 
$as_echo "$lt_prog_compiler_pic" >&6; }
7629
 
 
7630
 
 
7631
 
 
7632
 
 
7633
 
 
 
8622
 
 
8623
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5
 
8624
$as_echo_n "checking for $compiler option to produce PIC... " >&6; }
 
8625
if ${lt_cv_prog_compiler_pic+:} false; then :
 
8626
  $as_echo_n "(cached) " >&6
 
8627
else
 
8628
  lt_cv_prog_compiler_pic=$lt_prog_compiler_pic
 
8629
fi
 
8630
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic" >&5
 
8631
$as_echo "$lt_cv_prog_compiler_pic" >&6; }
 
8632
lt_prog_compiler_pic=$lt_cv_prog_compiler_pic
7634
8633
 
7635
8634
#
7636
8635
# Check to make sure the PIC flag actually works.
7638
8637
if test -n "$lt_prog_compiler_pic"; then
7639
8638
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler PIC flag $lt_prog_compiler_pic works" >&5
7640
8639
$as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic works... " >&6; }
7641
 
if test "${lt_cv_prog_compiler_pic_works+set}" = set; then :
 
8640
if ${lt_cv_prog_compiler_pic_works+:} false; then :
7642
8641
  $as_echo_n "(cached) " >&6
7643
8642
else
7644
8643
  lt_cv_prog_compiler_pic_works=no
7654
8653
   -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
7655
8654
   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
7656
8655
   -e 's:$: $lt_compiler_flag:'`
7657
 
   (eval echo "\"\$as_me:7657: $lt_compile\"" >&5)
 
8656
   (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
7658
8657
   (eval "$lt_compile" 2>conftest.err)
7659
8658
   ac_status=$?
7660
8659
   cat conftest.err >&5
7661
 
   echo "$as_me:7661: \$? = $ac_status" >&5
 
8660
   echo "$as_me:$LINENO: \$? = $ac_status" >&5
7662
8661
   if (exit $ac_status) && test -s "$ac_outfile"; then
7663
8662
     # The compiler can only warn and ignore the option if not recognized
7664
8663
     # So say no if there are warnings other than the usual output.
7665
 
     $ECHO "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' >conftest.exp
 
8664
     $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
7666
8665
     $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
7667
8666
     if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
7668
8667
       lt_cv_prog_compiler_pic_works=yes
7691
8690
 
7692
8691
 
7693
8692
 
 
8693
 
 
8694
 
 
8695
 
 
8696
 
 
8697
 
7694
8698
#
7695
8699
# Check to make sure the static flag actually works.
7696
8700
#
7697
8701
wl=$lt_prog_compiler_wl eval lt_tmp_static_flag=\"$lt_prog_compiler_static\"
7698
8702
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler static flag $lt_tmp_static_flag works" >&5
7699
8703
$as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
7700
 
if test "${lt_cv_prog_compiler_static_works+set}" = set; then :
 
8704
if ${lt_cv_prog_compiler_static_works+:} false; then :
7701
8705
  $as_echo_n "(cached) " >&6
7702
8706
else
7703
8707
  lt_cv_prog_compiler_static_works=no
7710
8714
     if test -s conftest.err; then
7711
8715
       # Append any errors to the config.log.
7712
8716
       cat conftest.err 1>&5
7713
 
       $ECHO "X$_lt_linker_boilerplate" | $Xsed -e '/^$/d' > conftest.exp
 
8717
       $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
7714
8718
       $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
7715
8719
       if diff conftest.exp conftest.er2 >/dev/null; then
7716
8720
         lt_cv_prog_compiler_static_works=yes
7740
8744
 
7741
8745
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
7742
8746
$as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
7743
 
if test "${lt_cv_prog_compiler_c_o+set}" = set; then :
 
8747
if ${lt_cv_prog_compiler_c_o+:} false; then :
7744
8748
  $as_echo_n "(cached) " >&6
7745
8749
else
7746
8750
  lt_cv_prog_compiler_c_o=no
7759
8763
   -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
7760
8764
   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
7761
8765
   -e 's:$: $lt_compiler_flag:'`
7762
 
   (eval echo "\"\$as_me:7762: $lt_compile\"" >&5)
 
8766
   (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
7763
8767
   (eval "$lt_compile" 2>out/conftest.err)
7764
8768
   ac_status=$?
7765
8769
   cat out/conftest.err >&5
7766
 
   echo "$as_me:7766: \$? = $ac_status" >&5
 
8770
   echo "$as_me:$LINENO: \$? = $ac_status" >&5
7767
8771
   if (exit $ac_status) && test -s out/conftest2.$ac_objext
7768
8772
   then
7769
8773
     # The compiler can only warn and ignore the option if not recognized
7770
8774
     # So say no if there are warnings
7771
 
     $ECHO "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' > out/conftest.exp
 
8775
     $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
7772
8776
     $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
7773
8777
     if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
7774
8778
       lt_cv_prog_compiler_c_o=yes
7795
8799
 
7796
8800
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
7797
8801
$as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
7798
 
if test "${lt_cv_prog_compiler_c_o+set}" = set; then :
 
8802
if ${lt_cv_prog_compiler_c_o+:} false; then :
7799
8803
  $as_echo_n "(cached) " >&6
7800
8804
else
7801
8805
  lt_cv_prog_compiler_c_o=no
7814
8818
   -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
7815
8819
   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
7816
8820
   -e 's:$: $lt_compiler_flag:'`
7817
 
   (eval echo "\"\$as_me:7817: $lt_compile\"" >&5)
 
8821
   (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
7818
8822
   (eval "$lt_compile" 2>out/conftest.err)
7819
8823
   ac_status=$?
7820
8824
   cat out/conftest.err >&5
7821
 
   echo "$as_me:7821: \$? = $ac_status" >&5
 
8825
   echo "$as_me:$LINENO: \$? = $ac_status" >&5
7822
8826
   if (exit $ac_status) && test -s out/conftest2.$ac_objext
7823
8827
   then
7824
8828
     # The compiler can only warn and ignore the option if not recognized
7825
8829
     # So say no if there are warnings
7826
 
     $ECHO "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' > out/conftest.exp
 
8830
     $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
7827
8831
     $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
7828
8832
     if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
7829
8833
       lt_cv_prog_compiler_c_o=yes
7889
8893
  hardcode_direct=no
7890
8894
  hardcode_direct_absolute=no
7891
8895
  hardcode_libdir_flag_spec=
7892
 
  hardcode_libdir_flag_spec_ld=
7893
8896
  hardcode_libdir_separator=
7894
8897
  hardcode_minus_L=no
7895
8898
  hardcode_shlibpath_var=unsupported
7933
8936
  openbsd*)
7934
8937
    with_gnu_ld=no
7935
8938
    ;;
7936
 
  linux* | k*bsd*-gnu)
 
8939
  linux* | k*bsd*-gnu | gnu*)
7937
8940
    link_all_deplibs=no
7938
8941
    ;;
7939
8942
  esac
7940
8943
 
7941
8944
  ld_shlibs=yes
 
8945
 
 
8946
  # On some targets, GNU ld is compatible enough with the native linker
 
8947
  # that we're better off using the native interface for both.
 
8948
  lt_use_gnu_ld_interface=no
7942
8949
  if test "$with_gnu_ld" = yes; then
 
8950
    case $host_os in
 
8951
      aix*)
 
8952
        # The AIX port of GNU ld has always aspired to compatibility
 
8953
        # with the native linker.  However, as the warning in the GNU ld
 
8954
        # block says, versions before 2.19.5* couldn't really create working
 
8955
        # shared libraries, regardless of the interface used.
 
8956
        case `$LD -v 2>&1` in
 
8957
          *\ \(GNU\ Binutils\)\ 2.19.5*) ;;
 
8958
          *\ \(GNU\ Binutils\)\ 2.[2-9]*) ;;
 
8959
          *\ \(GNU\ Binutils\)\ [3-9]*) ;;
 
8960
          *)
 
8961
            lt_use_gnu_ld_interface=yes
 
8962
            ;;
 
8963
        esac
 
8964
        ;;
 
8965
      *)
 
8966
        lt_use_gnu_ld_interface=yes
 
8967
        ;;
 
8968
    esac
 
8969
  fi
 
8970
 
 
8971
  if test "$lt_use_gnu_ld_interface" = yes; then
7943
8972
    # If archive_cmds runs LD, not CC, wlarc should be empty
7944
8973
    wlarc='${wl}'
7945
8974
 
7957
8986
    fi
7958
8987
    supports_anon_versioning=no
7959
8988
    case `$LD -v 2>&1` in
 
8989
      *GNU\ gold*) supports_anon_versioning=yes ;;
7960
8990
      *\ [01].* | *\ 2.[0-9].* | *\ 2.10.*) ;; # catch versions < 2.11
7961
8991
      *\ 2.11.93.0.2\ *) supports_anon_versioning=yes ;; # RH7.3 ...
7962
8992
      *\ 2.11.92.0.12\ *) supports_anon_versioning=yes ;; # Mandrake 8.2 ...
7972
9002
        ld_shlibs=no
7973
9003
        cat <<_LT_EOF 1>&2
7974
9004
 
7975
 
*** Warning: the GNU linker, at least up to release 2.9.1, is reported
 
9005
*** Warning: the GNU linker, at least up to release 2.19, is reported
7976
9006
*** to be unable to reliably create shared libraries on AIX.
7977
9007
*** Therefore, libtool is disabling shared libraries support.  If you
7978
 
*** really care for shared libraries, you may want to modify your PATH
7979
 
*** so that a non-GNU linker is found, and then restart.
 
9008
*** really care for shared libraries, you may want to install binutils
 
9009
*** 2.20 or above, or modify your PATH so that a non-GNU linker is found.
 
9010
*** You will then need to restart the configuration process.
7980
9011
 
7981
9012
_LT_EOF
7982
9013
      fi
8012
9043
      # _LT_TAGVAR(hardcode_libdir_flag_spec, ) is actually meaningless,
8013
9044
      # as there is no search path for DLLs.
8014
9045
      hardcode_libdir_flag_spec='-L$libdir'
 
9046
      export_dynamic_flag_spec='${wl}--export-all-symbols'
8015
9047
      allow_undefined_flag=unsupported
8016
9048
      always_export_symbols=no
8017
9049
      enable_shared_with_static_runtimes=yes
8018
 
      export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1 DATA/'\'' | $SED -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols'
 
9050
      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'
 
9051
      exclude_expsyms='[_]+GLOBAL_OFFSET_TABLE_|[_]+GLOBAL__[FID]_.*|[_]+head_[A-Za-z0-9_]+_dll|[A-Za-z0-9_]+_dll_iname'
8019
9052
 
8020
9053
      if $LD --help 2>&1 | $GREP 'auto-import' > /dev/null; then
8021
9054
        archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
8033
9066
      fi
8034
9067
      ;;
8035
9068
 
 
9069
    haiku*)
 
9070
      archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
 
9071
      link_all_deplibs=yes
 
9072
      ;;
 
9073
 
8036
9074
    interix[3-9]*)
8037
9075
      hardcode_direct=no
8038
9076
      hardcode_shlibpath_var=no
8048
9086
      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'
8049
9087
      ;;
8050
9088
 
8051
 
    gnu* | linux* | tpf* | k*bsd*-gnu)
 
9089
    gnu* | linux* | tpf* | k*bsd*-gnu | kopensolaris*-gnu)
8052
9090
      tmp_diet=no
8053
9091
      if test "$host_os" = linux-dietlibc; then
8054
9092
        case $cc_basename in
8058
9096
      if $LD --help 2>&1 | $EGREP ': supported targets:.* elf' > /dev/null \
8059
9097
         && test "$tmp_diet" = no
8060
9098
      then
8061
 
        tmp_addflag=
 
9099
        tmp_addflag=' $pic_flag'
8062
9100
        tmp_sharedflag='-shared'
8063
9101
        case $cc_basename,$host_cpu in
8064
9102
        pgcc*)                          # Portland Group C compiler
8065
 
          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'
 
9103
          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'
8066
9104
          tmp_addflag=' $pic_flag'
8067
9105
          ;;
8068
 
        pgf77* | pgf90* | pgf95*)       # Portland Group f77 and f90 compilers
8069
 
          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'
 
9106
        pgf77* | pgf90* | pgf95* | pgfortran*)
 
9107
                                        # Portland Group f77 and f90 compilers
 
9108
          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'
8070
9109
          tmp_addflag=' $pic_flag -Mnomain' ;;
8071
9110
        ecc*,ia64* | icc*,ia64*)        # Intel C compiler on ia64
8072
9111
          tmp_addflag=' -i_dynamic' ;;
8077
9116
        lf95*)                          # Lahey Fortran 8.1
8078
9117
          whole_archive_flag_spec=
8079
9118
          tmp_sharedflag='--shared' ;;
8080
 
        xl[cC]*)                        # IBM XL C 8.0 on PPC (deal with xlf below)
 
9119
        xl[cC]* | bgxl[cC]* | mpixl[cC]*) # IBM XL C 8.0 on PPC (deal with xlf below)
8081
9120
          tmp_sharedflag='-qmkshrobj'
8082
9121
          tmp_addflag= ;;
 
9122
        nvcc*)  # Cuda Compiler Driver 2.2
 
9123
          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'
 
9124
          compiler_needs_object=yes
 
9125
          ;;
8083
9126
        esac
8084
9127
        case `$CC -V 2>&1 | sed 5q` in
8085
9128
        *Sun\ C*)                       # Sun C 5.9
8086
 
          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'
 
9129
          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'
8087
9130
          compiler_needs_object=yes
8088
9131
          tmp_sharedflag='-G' ;;
8089
9132
        *Sun\ F*)                       # Sun Fortran 8.3
8099
9142
        fi
8100
9143
 
8101
9144
        case $cc_basename in
8102
 
        xlf*)
 
9145
        xlf* | bgf* | bgxlf* | mpixlf*)
8103
9146
          # IBM XL Fortran 10.1 on PPC cannot create shared libs itself
8104
9147
          whole_archive_flag_spec='--whole-archive$convenience --no-whole-archive'
8105
 
          hardcode_libdir_flag_spec=
8106
 
          hardcode_libdir_flag_spec_ld='-rpath $libdir'
8107
 
          archive_cmds='$LD -shared $libobjs $deplibs $compiler_flags -soname $soname -o $lib'
 
9148
          hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
 
9149
          archive_cmds='$LD -shared $libobjs $deplibs $linker_flags -soname $soname -o $lib'
8108
9150
          if test "x$supports_anon_versioning" = xyes; then
8109
9151
            archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
8110
9152
              cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
8111
9153
              echo "local: *; };" >> $output_objdir/$libname.ver~
8112
 
              $LD -shared $libobjs $deplibs $compiler_flags -soname $soname -version-script $output_objdir/$libname.ver -o $lib'
 
9154
              $LD -shared $libobjs $deplibs $linker_flags -soname $soname -version-script $output_objdir/$libname.ver -o $lib'
8113
9155
          fi
8114
9156
          ;;
8115
9157
        esac
8123
9165
        archive_cmds='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
8124
9166
        wlarc=
8125
9167
      else
8126
 
        archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8127
 
        archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
 
9168
        archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
 
9169
        archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
8128
9170
      fi
8129
9171
      ;;
8130
9172
 
8142
9184
 
8143
9185
_LT_EOF
8144
9186
      elif $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
8145
 
        archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8146
 
        archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
 
9187
        archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
 
9188
        archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
8147
9189
      else
8148
9190
        ld_shlibs=no
8149
9191
      fi
8189
9231
 
8190
9232
    *)
8191
9233
      if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
8192
 
        archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8193
 
        archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
 
9234
        archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
 
9235
        archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
8194
9236
      else
8195
9237
        ld_shlibs=no
8196
9238
      fi
8230
9272
      else
8231
9273
        # If we're using GNU nm, then we don't want the "-C" option.
8232
9274
        # -C means demangle to AIX nm, but means don't demangle with GNU nm
 
9275
        # Also, AIX nm treats weak defined symbols like other global
 
9276
        # defined symbols, whereas GNU nm marks them as "W".
8233
9277
        if $NM -V 2>&1 | $GREP 'GNU' > /dev/null; then
8234
 
          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'
 
9278
          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'
8235
9279
        else
8236
9280
          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'
8237
9281
        fi
8319
9363
        allow_undefined_flag='-berok'
8320
9364
        # Determine the default libpath from the value encoded in an
8321
9365
        # empty executable.
8322
 
        cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 
9366
        if test "${lt_cv_aix_libpath+set}" = set; then
 
9367
  aix_libpath=$lt_cv_aix_libpath
 
9368
else
 
9369
  if ${lt_cv_aix_libpath_+:} false; then :
 
9370
  $as_echo_n "(cached) " >&6
 
9371
else
 
9372
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8323
9373
/* end confdefs.h.  */
8324
9374
 
8325
9375
int
8332
9382
_ACEOF
8333
9383
if ac_fn_c_try_link "$LINENO"; then :
8334
9384
 
8335
 
lt_aix_libpath_sed='
8336
 
    /Import File Strings/,/^$/ {
8337
 
        /^0/ {
8338
 
            s/^0  *\(.*\)$/\1/
8339
 
            p
8340
 
        }
8341
 
    }'
8342
 
aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
8343
 
# Check for a 64-bit object if we didn't find anything.
8344
 
if test -z "$aix_libpath"; then
8345
 
  aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
8346
 
fi
 
9385
  lt_aix_libpath_sed='
 
9386
      /Import File Strings/,/^$/ {
 
9387
          /^0/ {
 
9388
              s/^0  *\([^ ]*\) *$/\1/
 
9389
              p
 
9390
          }
 
9391
      }'
 
9392
  lt_cv_aix_libpath_=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
 
9393
  # Check for a 64-bit object if we didn't find anything.
 
9394
  if test -z "$lt_cv_aix_libpath_"; then
 
9395
    lt_cv_aix_libpath_=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
 
9396
  fi
8347
9397
fi
8348
9398
rm -f core conftest.err conftest.$ac_objext \
8349
9399
    conftest$ac_exeext conftest.$ac_ext
8350
 
if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
 
9400
  if test -z "$lt_cv_aix_libpath_"; then
 
9401
    lt_cv_aix_libpath_="/usr/lib:/lib"
 
9402
  fi
 
9403
 
 
9404
fi
 
9405
 
 
9406
  aix_libpath=$lt_cv_aix_libpath_
 
9407
fi
8351
9408
 
8352
9409
        hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
8353
 
        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"
 
9410
        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"
8354
9411
      else
8355
9412
        if test "$host_cpu" = ia64; then
8356
9413
          hardcode_libdir_flag_spec='${wl}-R $libdir:/usr/lib:/lib'
8359
9416
        else
8360
9417
         # Determine the default libpath from the value encoded in an
8361
9418
         # empty executable.
8362
 
         cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 
9419
         if test "${lt_cv_aix_libpath+set}" = set; then
 
9420
  aix_libpath=$lt_cv_aix_libpath
 
9421
else
 
9422
  if ${lt_cv_aix_libpath_+:} false; then :
 
9423
  $as_echo_n "(cached) " >&6
 
9424
else
 
9425
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8363
9426
/* end confdefs.h.  */
8364
9427
 
8365
9428
int
8372
9435
_ACEOF
8373
9436
if ac_fn_c_try_link "$LINENO"; then :
8374
9437
 
8375
 
lt_aix_libpath_sed='
8376
 
    /Import File Strings/,/^$/ {
8377
 
        /^0/ {
8378
 
            s/^0  *\(.*\)$/\1/
8379
 
            p
8380
 
        }
8381
 
    }'
8382
 
aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
8383
 
# Check for a 64-bit object if we didn't find anything.
8384
 
if test -z "$aix_libpath"; then
8385
 
  aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
8386
 
fi
 
9438
  lt_aix_libpath_sed='
 
9439
      /Import File Strings/,/^$/ {
 
9440
          /^0/ {
 
9441
              s/^0  *\([^ ]*\) *$/\1/
 
9442
              p
 
9443
          }
 
9444
      }'
 
9445
  lt_cv_aix_libpath_=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
 
9446
  # Check for a 64-bit object if we didn't find anything.
 
9447
  if test -z "$lt_cv_aix_libpath_"; then
 
9448
    lt_cv_aix_libpath_=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
 
9449
  fi
8387
9450
fi
8388
9451
rm -f core conftest.err conftest.$ac_objext \
8389
9452
    conftest$ac_exeext conftest.$ac_ext
8390
 
if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
 
9453
  if test -z "$lt_cv_aix_libpath_"; then
 
9454
    lt_cv_aix_libpath_="/usr/lib:/lib"
 
9455
  fi
 
9456
 
 
9457
fi
 
9458
 
 
9459
  aix_libpath=$lt_cv_aix_libpath_
 
9460
fi
8391
9461
 
8392
9462
         hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
8393
9463
          # Warning - without using the other run time loading flags,
8394
9464
          # -berok will link without error, but may produce a broken library.
8395
9465
          no_undefined_flag=' ${wl}-bernotok'
8396
9466
          allow_undefined_flag=' ${wl}-berok'
8397
 
          # Exported symbols can be pulled into shared objects from archives
8398
 
          whole_archive_flag_spec='$convenience'
 
9467
          if test "$with_gnu_ld" = yes; then
 
9468
            # We only use this code for GNU lds that support --whole-archive.
 
9469
            whole_archive_flag_spec='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
 
9470
          else
 
9471
            # Exported symbols can be pulled into shared objects from archives
 
9472
            whole_archive_flag_spec='$convenience'
 
9473
          fi
8399
9474
          archive_cmds_need_lc=yes
8400
9475
          # This is similar to how AIX traditionally builds its shared libraries.
8401
9476
          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'
8427
9502
      # Microsoft Visual C++.
8428
9503
      # hardcode_libdir_flag_spec is actually meaningless, as there is
8429
9504
      # no search path for DLLs.
8430
 
      hardcode_libdir_flag_spec=' '
8431
 
      allow_undefined_flag=unsupported
8432
 
      # Tell ltmain to make .lib files, not .a files.
8433
 
      libext=lib
8434
 
      # Tell ltmain to make .dll files, not .so files.
8435
 
      shrext_cmds=".dll"
8436
 
      # FIXME: Setting linknames here is a bad hack.
8437
 
      archive_cmds='$CC -o $lib $libobjs $compiler_flags `$ECHO "X$deplibs" | $Xsed -e '\''s/ -lc$//'\''` -link -dll~linknames='
8438
 
      # The linker will automatically build a .lib file if we build a DLL.
8439
 
      old_archive_from_new_cmds='true'
8440
 
      # FIXME: Should let the user specify the lib program.
8441
 
      old_archive_cmds='lib -OUT:$oldlib$oldobjs$old_deplibs'
8442
 
      fix_srcfile_path='`cygpath -w "$srcfile"`'
8443
 
      enable_shared_with_static_runtimes=yes
 
9505
      case $cc_basename in
 
9506
      cl*)
 
9507
        # Native MSVC
 
9508
        hardcode_libdir_flag_spec=' '
 
9509
        allow_undefined_flag=unsupported
 
9510
        always_export_symbols=yes
 
9511
        file_list_spec='@'
 
9512
        # Tell ltmain to make .lib files, not .a files.
 
9513
        libext=lib
 
9514
        # Tell ltmain to make .dll files, not .so files.
 
9515
        shrext_cmds=".dll"
 
9516
        # FIXME: Setting linknames here is a bad hack.
 
9517
        archive_cmds='$CC -o $output_objdir/$soname $libobjs $compiler_flags $deplibs -Wl,-dll~linknames='
 
9518
        archive_expsym_cmds='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
 
9519
            sed -n -e 's/\\\\\\\(.*\\\\\\\)/-link\\\ -EXPORT:\\\\\\\1/' -e '1\\\!p' < $export_symbols > $output_objdir/$soname.exp;
 
9520
          else
 
9521
            sed -e 's/\\\\\\\(.*\\\\\\\)/-link\\\ -EXPORT:\\\\\\\1/' < $export_symbols > $output_objdir/$soname.exp;
 
9522
          fi~
 
9523
          $CC -o $tool_output_objdir$soname $libobjs $compiler_flags $deplibs "@$tool_output_objdir$soname.exp" -Wl,-DLL,-IMPLIB:"$tool_output_objdir$libname.dll.lib"~
 
9524
          linknames='
 
9525
        # The linker will not automatically build a static lib if we build a DLL.
 
9526
        # _LT_TAGVAR(old_archive_from_new_cmds, )='true'
 
9527
        enable_shared_with_static_runtimes=yes
 
9528
        exclude_expsyms='_NULL_IMPORT_DESCRIPTOR|_IMPORT_DESCRIPTOR_.*'
 
9529
        export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1,DATA/'\'' | $SED -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols'
 
9530
        # Don't use ranlib
 
9531
        old_postinstall_cmds='chmod 644 $oldlib'
 
9532
        postlink_cmds='lt_outputfile="@OUTPUT@"~
 
9533
          lt_tool_outputfile="@TOOL_OUTPUT@"~
 
9534
          case $lt_outputfile in
 
9535
            *.exe|*.EXE) ;;
 
9536
            *)
 
9537
              lt_outputfile="$lt_outputfile.exe"
 
9538
              lt_tool_outputfile="$lt_tool_outputfile.exe"
 
9539
              ;;
 
9540
          esac~
 
9541
          if test "$MANIFEST_TOOL" != ":" && test -f "$lt_outputfile.manifest"; then
 
9542
            $MANIFEST_TOOL -manifest "$lt_tool_outputfile.manifest" -outputresource:"$lt_tool_outputfile" || exit 1;
 
9543
            $RM "$lt_outputfile.manifest";
 
9544
          fi'
 
9545
        ;;
 
9546
      *)
 
9547
        # Assume MSVC wrapper
 
9548
        hardcode_libdir_flag_spec=' '
 
9549
        allow_undefined_flag=unsupported
 
9550
        # Tell ltmain to make .lib files, not .a files.
 
9551
        libext=lib
 
9552
        # Tell ltmain to make .dll files, not .so files.
 
9553
        shrext_cmds=".dll"
 
9554
        # FIXME: Setting linknames here is a bad hack.
 
9555
        archive_cmds='$CC -o $lib $libobjs $compiler_flags `func_echo_all "$deplibs" | $SED '\''s/ -lc$//'\''` -link -dll~linknames='
 
9556
        # The linker will automatically build a .lib file if we build a DLL.
 
9557
        old_archive_from_new_cmds='true'
 
9558
        # FIXME: Should let the user specify the lib program.
 
9559
        old_archive_cmds='lib -OUT:$oldlib$oldobjs$old_deplibs'
 
9560
        enable_shared_with_static_runtimes=yes
 
9561
        ;;
 
9562
      esac
8444
9563
      ;;
8445
9564
 
8446
9565
    darwin* | rhapsody*)
8450
9569
  hardcode_direct=no
8451
9570
  hardcode_automatic=yes
8452
9571
  hardcode_shlibpath_var=unsupported
8453
 
  whole_archive_flag_spec=''
 
9572
  if test "$lt_cv_ld_force_load" = "yes"; then
 
9573
    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\"`'
 
9574
 
 
9575
  else
 
9576
    whole_archive_flag_spec=''
 
9577
  fi
8454
9578
  link_all_deplibs=yes
8455
9579
  allow_undefined_flag="$_lt_dar_allow_undefined"
8456
9580
  case $cc_basename in
8458
9582
     *) _lt_dar_can_shared=$GCC ;;
8459
9583
  esac
8460
9584
  if test "$_lt_dar_can_shared" = "yes"; then
8461
 
    output_verbose_link_cmd=echo
 
9585
    output_verbose_link_cmd=func_echo_all
8462
9586
    archive_cmds="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod${_lt_dsymutil}"
8463
9587
    module_cmds="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}"
8464
9588
    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}"
8476
9600
      hardcode_shlibpath_var=no
8477
9601
      ;;
8478
9602
 
8479
 
    freebsd1*)
8480
 
      ld_shlibs=no
8481
 
      ;;
8482
 
 
8483
9603
    # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
8484
9604
    # support.  Future versions do this automatically, but an explicit c++rt0.o
8485
9605
    # does not break anything, and helps significantly (at the cost of a little
8492
9612
      ;;
8493
9613
 
8494
9614
    # Unfortunately, older versions of FreeBSD 2 do not have this feature.
8495
 
    freebsd2*)
 
9615
    freebsd2.*)
8496
9616
      archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
8497
9617
      hardcode_direct=yes
8498
9618
      hardcode_minus_L=yes
8501
9621
 
8502
9622
    # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
8503
9623
    freebsd* | dragonfly*)
8504
 
      archive_cmds='$CC -shared -o $lib $libobjs $deplibs $compiler_flags'
 
9624
      archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
8505
9625
      hardcode_libdir_flag_spec='-R$libdir'
8506
9626
      hardcode_direct=yes
8507
9627
      hardcode_shlibpath_var=no
8509
9629
 
8510
9630
    hpux9*)
8511
9631
      if test "$GCC" = yes; then
8512
 
        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'
 
9632
        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'
8513
9633
      else
8514
9634
        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'
8515
9635
      fi
8524
9644
      ;;
8525
9645
 
8526
9646
    hpux10*)
8527
 
      if test "$GCC" = yes -a "$with_gnu_ld" = no; then
8528
 
        archive_cmds='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
 
9647
      if test "$GCC" = yes && test "$with_gnu_ld" = no; then
 
9648
        archive_cmds='$CC -shared $pic_flag ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
8529
9649
      else
8530
9650
        archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
8531
9651
      fi
8532
9652
      if test "$with_gnu_ld" = no; then
8533
9653
        hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
8534
 
        hardcode_libdir_flag_spec_ld='+b $libdir'
8535
9654
        hardcode_libdir_separator=:
8536
9655
        hardcode_direct=yes
8537
9656
        hardcode_direct_absolute=yes
8543
9662
      ;;
8544
9663
 
8545
9664
    hpux11*)
8546
 
      if test "$GCC" = yes -a "$with_gnu_ld" = no; then
 
9665
      if test "$GCC" = yes && test "$with_gnu_ld" = no; then
8547
9666
        case $host_cpu in
8548
9667
        hppa*64*)
8549
9668
          archive_cmds='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
8550
9669
          ;;
8551
9670
        ia64*)
8552
 
          archive_cmds='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
 
9671
          archive_cmds='$CC -shared $pic_flag ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
8553
9672
          ;;
8554
9673
        *)
8555
 
          archive_cmds='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
 
9674
          archive_cmds='$CC -shared $pic_flag ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
8556
9675
          ;;
8557
9676
        esac
8558
9677
      else
8564
9683
          archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
8565
9684
          ;;
8566
9685
        *)
8567
 
          archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
 
9686
 
 
9687
          # Older versions of the 11.00 compiler do not understand -b yet
 
9688
          # (HP92453-01 A.11.01.20 doesn't, HP92453-01 B.11.X.35175-35176.GP does)
 
9689
          { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC understands -b" >&5
 
9690
$as_echo_n "checking if $CC understands -b... " >&6; }
 
9691
if ${lt_cv_prog_compiler__b+:} false; then :
 
9692
  $as_echo_n "(cached) " >&6
 
9693
else
 
9694
  lt_cv_prog_compiler__b=no
 
9695
   save_LDFLAGS="$LDFLAGS"
 
9696
   LDFLAGS="$LDFLAGS -b"
 
9697
   echo "$lt_simple_link_test_code" > conftest.$ac_ext
 
9698
   if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
 
9699
     # The linker can only warn and ignore the option if not recognized
 
9700
     # So say no if there are warnings
 
9701
     if test -s conftest.err; then
 
9702
       # Append any errors to the config.log.
 
9703
       cat conftest.err 1>&5
 
9704
       $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
 
9705
       $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
 
9706
       if diff conftest.exp conftest.er2 >/dev/null; then
 
9707
         lt_cv_prog_compiler__b=yes
 
9708
       fi
 
9709
     else
 
9710
       lt_cv_prog_compiler__b=yes
 
9711
     fi
 
9712
   fi
 
9713
   $RM -r conftest*
 
9714
   LDFLAGS="$save_LDFLAGS"
 
9715
 
 
9716
fi
 
9717
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler__b" >&5
 
9718
$as_echo "$lt_cv_prog_compiler__b" >&6; }
 
9719
 
 
9720
if test x"$lt_cv_prog_compiler__b" = xyes; then
 
9721
    archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
 
9722
else
 
9723
    archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
 
9724
fi
 
9725
 
8568
9726
          ;;
8569
9727
        esac
8570
9728
      fi
8592
9750
 
8593
9751
    irix5* | irix6* | nonstopux*)
8594
9752
      if test "$GCC" = yes; then
8595
 
        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'
 
9753
        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'
8596
9754
        # Try to use the -exported_symbol ld option, if it does not
8597
9755
        # work, assume that -exports_file does not work either and
8598
9756
        # implicitly export all symbols.
8599
 
        save_LDFLAGS="$LDFLAGS"
8600
 
        LDFLAGS="$LDFLAGS -shared ${wl}-exported_symbol ${wl}foo ${wl}-update_registry ${wl}/dev/null"
8601
 
        cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 
9757
        # This should be the same for all languages, so no per-tag cache variable.
 
9758
        { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $host_os linker accepts -exported_symbol" >&5
 
9759
$as_echo_n "checking whether the $host_os linker accepts -exported_symbol... " >&6; }
 
9760
if ${lt_cv_irix_exported_symbol+:} false; then :
 
9761
  $as_echo_n "(cached) " >&6
 
9762
else
 
9763
  save_LDFLAGS="$LDFLAGS"
 
9764
           LDFLAGS="$LDFLAGS -shared ${wl}-exported_symbol ${wl}foo ${wl}-update_registry ${wl}/dev/null"
 
9765
           cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8602
9766
/* end confdefs.h.  */
8603
 
int foo(void) {}
 
9767
int foo (void) { return 0; }
8604
9768
_ACEOF
8605
9769
if ac_fn_c_try_link "$LINENO"; then :
8606
 
  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'
8607
 
 
 
9770
  lt_cv_irix_exported_symbol=yes
 
9771
else
 
9772
  lt_cv_irix_exported_symbol=no
8608
9773
fi
8609
9774
rm -f core conftest.err conftest.$ac_objext \
8610
9775
    conftest$ac_exeext conftest.$ac_ext
8611
 
        LDFLAGS="$save_LDFLAGS"
 
9776
           LDFLAGS="$save_LDFLAGS"
 
9777
fi
 
9778
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_irix_exported_symbol" >&5
 
9779
$as_echo "$lt_cv_irix_exported_symbol" >&6; }
 
9780
        if test "$lt_cv_irix_exported_symbol" = yes; then
 
9781
          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'
 
9782
        fi
8612
9783
      else
8613
 
        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'
8614
 
        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'
 
9784
        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'
 
9785
        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'
8615
9786
      fi
8616
9787
      archive_cmds_need_lc='no'
8617
9788
      hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
8673
9844
      hardcode_libdir_flag_spec='-L$libdir'
8674
9845
      hardcode_minus_L=yes
8675
9846
      allow_undefined_flag=unsupported
8676
 
      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'
 
9847
      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'
8677
9848
      old_archive_from_new_cmds='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
8678
9849
      ;;
8679
9850
 
8680
9851
    osf3*)
8681
9852
      if test "$GCC" = yes; then
8682
9853
        allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
8683
 
        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'
 
9854
        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'
8684
9855
      else
8685
9856
        allow_undefined_flag=' -expect_unresolved \*'
8686
 
        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'
 
9857
        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'
8687
9858
      fi
8688
9859
      archive_cmds_need_lc='no'
8689
9860
      hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
8693
9864
    osf4* | osf5*)      # as osf3* with the addition of -msym flag
8694
9865
      if test "$GCC" = yes; then
8695
9866
        allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
8696
 
        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'
 
9867
        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'
8697
9868
        hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
8698
9869
      else
8699
9870
        allow_undefined_flag=' -expect_unresolved \*'
8700
 
        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'
 
9871
        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'
8701
9872
        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~
8702
 
        $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'
 
9873
        $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'
8703
9874
 
8704
9875
        # Both c and cxx compiler support -rpath directly
8705
9876
        hardcode_libdir_flag_spec='-rpath $libdir'
8712
9883
      no_undefined_flag=' -z defs'
8713
9884
      if test "$GCC" = yes; then
8714
9885
        wlarc='${wl}'
8715
 
        archive_cmds='$CC -shared ${wl}-z ${wl}text ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
 
9886
        archive_cmds='$CC -shared $pic_flag ${wl}-z ${wl}text ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
8716
9887
        archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
8717
 
          $CC -shared ${wl}-z ${wl}text ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
 
9888
          $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'
8718
9889
      else
8719
9890
        case `$CC -V 2>&1` in
8720
9891
        *"Compilers 5.0"*)
8902
10073
      # to ld, don't add -lc before -lgcc.
8903
10074
      { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5
8904
10075
$as_echo_n "checking whether -lc should be explicitly linked in... " >&6; }
8905
 
      $RM conftest*
8906
 
      echo "$lt_simple_compile_test_code" > conftest.$ac_ext
 
10076
if ${lt_cv_archive_cmds_need_lc+:} false; then :
 
10077
  $as_echo_n "(cached) " >&6
 
10078
else
 
10079
  $RM conftest*
 
10080
        echo "$lt_simple_compile_test_code" > conftest.$ac_ext
8907
10081
 
8908
 
      if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
 
10082
        if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
8909
10083
  (eval $ac_compile) 2>&5
8910
10084
  ac_status=$?
8911
10085
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
8912
10086
  test $ac_status = 0; } 2>conftest.err; then
8913
 
        soname=conftest
8914
 
        lib=conftest
8915
 
        libobjs=conftest.$ac_objext
8916
 
        deplibs=
8917
 
        wl=$lt_prog_compiler_wl
8918
 
        pic_flag=$lt_prog_compiler_pic
8919
 
        compiler_flags=-v
8920
 
        linker_flags=-v
8921
 
        verstring=
8922
 
        output_objdir=.
8923
 
        libname=conftest
8924
 
        lt_save_allow_undefined_flag=$allow_undefined_flag
8925
 
        allow_undefined_flag=
8926
 
        if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5
 
10087
          soname=conftest
 
10088
          lib=conftest
 
10089
          libobjs=conftest.$ac_objext
 
10090
          deplibs=
 
10091
          wl=$lt_prog_compiler_wl
 
10092
          pic_flag=$lt_prog_compiler_pic
 
10093
          compiler_flags=-v
 
10094
          linker_flags=-v
 
10095
          verstring=
 
10096
          output_objdir=.
 
10097
          libname=conftest
 
10098
          lt_save_allow_undefined_flag=$allow_undefined_flag
 
10099
          allow_undefined_flag=
 
10100
          if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5
8927
10101
  (eval $archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1) 2>&5
8928
10102
  ac_status=$?
8929
10103
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
8930
10104
  test $ac_status = 0; }
8931
 
        then
8932
 
          archive_cmds_need_lc=no
8933
 
        else
8934
 
          archive_cmds_need_lc=yes
8935
 
        fi
8936
 
        allow_undefined_flag=$lt_save_allow_undefined_flag
8937
 
      else
8938
 
        cat conftest.err 1>&5
8939
 
      fi
8940
 
      $RM conftest*
8941
 
      { $as_echo "$as_me:${as_lineno-$LINENO}: result: $archive_cmds_need_lc" >&5
8942
 
$as_echo "$archive_cmds_need_lc" >&6; }
 
10105
          then
 
10106
            lt_cv_archive_cmds_need_lc=no
 
10107
          else
 
10108
            lt_cv_archive_cmds_need_lc=yes
 
10109
          fi
 
10110
          allow_undefined_flag=$lt_save_allow_undefined_flag
 
10111
        else
 
10112
          cat conftest.err 1>&5
 
10113
        fi
 
10114
        $RM conftest*
 
10115
 
 
10116
fi
 
10117
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_archive_cmds_need_lc" >&5
 
10118
$as_echo "$lt_cv_archive_cmds_need_lc" >&6; }
 
10119
      archive_cmds_need_lc=$lt_cv_archive_cmds_need_lc
8943
10120
      ;;
8944
10121
    esac
8945
10122
  fi
9097
10274
 
9098
10275
 
9099
10276
 
9100
 
 
9101
 
 
9102
 
 
9103
 
 
9104
 
 
9105
10277
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking dynamic linker characteristics" >&5
9106
10278
$as_echo_n "checking dynamic linker characteristics... " >&6; }
9107
10279
 
9110
10282
    darwin*) lt_awk_arg="/^libraries:/,/LR/" ;;
9111
10283
    *) lt_awk_arg="/^libraries:/" ;;
9112
10284
  esac
9113
 
  lt_search_path_spec=`$CC -print-search-dirs | awk $lt_awk_arg | $SED -e "s/^libraries://" -e "s,=/,/,g"`
9114
 
  if $ECHO "$lt_search_path_spec" | $GREP ';' >/dev/null ; then
 
10285
  case $host_os in
 
10286
    mingw* | cegcc*) lt_sed_strip_eq="s,=\([A-Za-z]:\),\1,g" ;;
 
10287
    *) lt_sed_strip_eq="s,=/,/,g" ;;
 
10288
  esac
 
10289
  lt_search_path_spec=`$CC -print-search-dirs | awk $lt_awk_arg | $SED -e "s/^libraries://" -e $lt_sed_strip_eq`
 
10290
  case $lt_search_path_spec in
 
10291
  *\;*)
9115
10292
    # if the path contains ";" then we assume it to be the separator
9116
10293
    # otherwise default to the standard path separator (i.e. ":") - it is
9117
10294
    # assumed that no part of a normal pathname contains ";" but that should
9118
10295
    # okay in the real world where ";" in dirpaths is itself problematic.
9119
 
    lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED -e 's/;/ /g'`
9120
 
  else
9121
 
    lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED  -e "s/$PATH_SEPARATOR/ /g"`
9122
 
  fi
 
10296
    lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED 's/;/ /g'`
 
10297
    ;;
 
10298
  *)
 
10299
    lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED "s/$PATH_SEPARATOR/ /g"`
 
10300
    ;;
 
10301
  esac
9123
10302
  # Ok, now we have the path, separated by spaces, we can step through it
9124
10303
  # and add multilib dir if necessary.
9125
10304
  lt_tmp_lt_search_path_spec=
9132
10311
        lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path"
9133
10312
    fi
9134
10313
  done
9135
 
  lt_search_path_spec=`$ECHO $lt_tmp_lt_search_path_spec | awk '
 
10314
  lt_search_path_spec=`$ECHO "$lt_tmp_lt_search_path_spec" | awk '
9136
10315
BEGIN {RS=" "; FS="/|\n";} {
9137
10316
  lt_foo="";
9138
10317
  lt_count=0;
9152
10331
  if (lt_foo != "") { lt_freq[lt_foo]++; }
9153
10332
  if (lt_freq[lt_foo] == 1) { print lt_foo; }
9154
10333
}'`
9155
 
  sys_lib_search_path_spec=`$ECHO $lt_search_path_spec`
 
10334
  # AWK program above erroneously prepends '/' to C:/dos/paths
 
10335
  # for these hosts.
 
10336
  case $host_os in
 
10337
    mingw* | cegcc*) lt_search_path_spec=`$ECHO "$lt_search_path_spec" |\
 
10338
      $SED 's,/\([A-Za-z]:\),\1,g'` ;;
 
10339
  esac
 
10340
  sys_lib_search_path_spec=`$ECHO "$lt_search_path_spec" | $lt_NL2SP`
9156
10341
else
9157
10342
  sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"
9158
10343
fi
9178
10363
 
9179
10364
case $host_os in
9180
10365
aix3*)
9181
 
  version_type=linux
 
10366
  version_type=linux # correct to gnu/linux during the next big refactor
9182
10367
  library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a'
9183
10368
  shlibpath_var=LIBPATH
9184
10369
 
9187
10372
  ;;
9188
10373
 
9189
10374
aix[4-9]*)
9190
 
  version_type=linux
 
10375
  version_type=linux # correct to gnu/linux during the next big refactor
9191
10376
  need_lib_prefix=no
9192
10377
  need_version=no
9193
10378
  hardcode_into_libs=yes
9240
10425
  m68k)
9241
10426
    library_names_spec='$libname.ixlibrary $libname.a'
9242
10427
    # Create ${libname}_ixlibrary.a entries in /sys/libs.
9243
 
    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'
 
10428
    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'
9244
10429
    ;;
9245
10430
  esac
9246
10431
  ;;
9252
10437
  ;;
9253
10438
 
9254
10439
bsdi[45]*)
9255
 
  version_type=linux
 
10440
  version_type=linux # correct to gnu/linux during the next big refactor
9256
10441
  need_version=no
9257
10442
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9258
10443
  soname_spec='${libname}${release}${shared_ext}$major'
9271
10456
  need_version=no
9272
10457
  need_lib_prefix=no
9273
10458
 
9274
 
  case $GCC,$host_os in
9275
 
  yes,cygwin* | yes,mingw* | yes,pw32* | yes,cegcc*)
 
10459
  case $GCC,$cc_basename in
 
10460
  yes,*)
 
10461
    # gcc
9276
10462
    library_names_spec='$libname.dll.a'
9277
10463
    # DLL is installed to $(libdir)/../bin by postinstall_cmds
9278
10464
    postinstall_cmds='base_file=`basename \${file}`~
9293
10479
    cygwin*)
9294
10480
      # Cygwin DLLs use 'cyg' prefix rather than 'lib'
9295
10481
      soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
9296
 
      sys_lib_search_path_spec="/usr/lib /lib/w32api /lib /usr/local/lib"
 
10482
 
 
10483
      sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/lib/w32api"
9297
10484
      ;;
9298
10485
    mingw* | cegcc*)
9299
10486
      # MinGW DLLs use traditional 'lib' prefix
9300
10487
      soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
9301
 
      sys_lib_search_path_spec=`$CC -print-search-dirs | $GREP "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
9302
 
      if $ECHO "$sys_lib_search_path_spec" | $GREP ';[c-zC-Z]:/' >/dev/null; then
9303
 
        # It is most probably a Windows format PATH printed by
9304
 
        # mingw gcc, but we are running on Cygwin. Gcc prints its search
9305
 
        # path with ; separators, and with drive letters. We can handle the
9306
 
        # drive letters (cygwin fileutils understands them), so leave them,
9307
 
        # especially as we might pass files found there to a mingw objdump,
9308
 
        # which wouldn't understand a cygwinified path. Ahh.
9309
 
        sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
9310
 
      else
9311
 
        sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED  -e "s/$PATH_SEPARATOR/ /g"`
9312
 
      fi
9313
10488
      ;;
9314
10489
    pw32*)
9315
10490
      # pw32 DLLs use 'pw' prefix rather than 'lib'
9316
10491
      library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
9317
10492
      ;;
9318
10493
    esac
 
10494
    dynamic_linker='Win32 ld.exe'
 
10495
    ;;
 
10496
 
 
10497
  *,cl*)
 
10498
    # Native MSVC
 
10499
    libname_spec='$name'
 
10500
    soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
 
10501
    library_names_spec='${libname}.dll.lib'
 
10502
 
 
10503
    case $build_os in
 
10504
    mingw*)
 
10505
      sys_lib_search_path_spec=
 
10506
      lt_save_ifs=$IFS
 
10507
      IFS=';'
 
10508
      for lt_path in $LIB
 
10509
      do
 
10510
        IFS=$lt_save_ifs
 
10511
        # Let DOS variable expansion print the short 8.3 style file name.
 
10512
        lt_path=`cd "$lt_path" 2>/dev/null && cmd //C "for %i in (".") do @echo %~si"`
 
10513
        sys_lib_search_path_spec="$sys_lib_search_path_spec $lt_path"
 
10514
      done
 
10515
      IFS=$lt_save_ifs
 
10516
      # Convert to MSYS style.
 
10517
      sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | sed -e 's|\\\\|/|g' -e 's| \\([a-zA-Z]\\):| /\\1|g' -e 's|^ ||'`
 
10518
      ;;
 
10519
    cygwin*)
 
10520
      # Convert to unix form, then to dos form, then back to unix form
 
10521
      # but this time dos style (no spaces!) so that the unix form looks
 
10522
      # like /cygdrive/c/PROGRA~1:/cygdr...
 
10523
      sys_lib_search_path_spec=`cygpath --path --unix "$LIB"`
 
10524
      sys_lib_search_path_spec=`cygpath --path --dos "$sys_lib_search_path_spec" 2>/dev/null`
 
10525
      sys_lib_search_path_spec=`cygpath --path --unix "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
 
10526
      ;;
 
10527
    *)
 
10528
      sys_lib_search_path_spec="$LIB"
 
10529
      if $ECHO "$sys_lib_search_path_spec" | $GREP ';[c-zC-Z]:/' >/dev/null; then
 
10530
        # It is most probably a Windows format PATH.
 
10531
        sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
 
10532
      else
 
10533
        sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
 
10534
      fi
 
10535
      # FIXME: find the short name or the path components, as spaces are
 
10536
      # common. (e.g. "Program Files" -> "PROGRA~1")
 
10537
      ;;
 
10538
    esac
 
10539
 
 
10540
    # DLL is installed to $(libdir)/../bin by postinstall_cmds
 
10541
    postinstall_cmds='base_file=`basename \${file}`~
 
10542
      dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
 
10543
      dldir=$destdir/`dirname \$dlpath`~
 
10544
      test -d \$dldir || mkdir -p \$dldir~
 
10545
      $install_prog $dir/$dlname \$dldir/$dlname'
 
10546
    postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
 
10547
      dlpath=$dir/\$dldll~
 
10548
       $RM \$dlpath'
 
10549
    shlibpath_overrides_runpath=yes
 
10550
    dynamic_linker='Win32 link.exe'
9319
10551
    ;;
9320
10552
 
9321
10553
  *)
 
10554
    # Assume MSVC wrapper
9322
10555
    library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
 
10556
    dynamic_linker='Win32 ld.exe'
9323
10557
    ;;
9324
10558
  esac
9325
 
  dynamic_linker='Win32 ld.exe'
9326
10559
  # FIXME: first we should search . and the directory the executable is in
9327
10560
  shlibpath_var=PATH
9328
10561
  ;;
9343
10576
  ;;
9344
10577
 
9345
10578
dgux*)
9346
 
  version_type=linux
 
10579
  version_type=linux # correct to gnu/linux during the next big refactor
9347
10580
  need_lib_prefix=no
9348
10581
  need_version=no
9349
10582
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
9351
10584
  shlibpath_var=LD_LIBRARY_PATH
9352
10585
  ;;
9353
10586
 
9354
 
freebsd1*)
9355
 
  dynamic_linker=no
9356
 
  ;;
9357
 
 
9358
10587
freebsd* | dragonfly*)
9359
10588
  # DragonFly does not have aout.  When/if they implement a new
9360
10589
  # versioning mechanism, adjust this.
9362
10591
    objformat=`/usr/bin/objformat`
9363
10592
  else
9364
10593
    case $host_os in
9365
 
    freebsd[123]*) objformat=aout ;;
 
10594
    freebsd[23].*) objformat=aout ;;
9366
10595
    *) objformat=elf ;;
9367
10596
    esac
9368
10597
  fi
9380
10609
  esac
9381
10610
  shlibpath_var=LD_LIBRARY_PATH
9382
10611
  case $host_os in
9383
 
  freebsd2*)
 
10612
  freebsd2.*)
9384
10613
    shlibpath_overrides_runpath=yes
9385
10614
    ;;
9386
10615
  freebsd3.[01]* | freebsdelf3.[01]*)
9400
10629
  ;;
9401
10630
 
9402
10631
gnu*)
9403
 
  version_type=linux
 
10632
  version_type=linux # correct to gnu/linux during the next big refactor
9404
10633
  need_lib_prefix=no
9405
10634
  need_version=no
9406
10635
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
9407
10636
  soname_spec='${libname}${release}${shared_ext}$major'
9408
10637
  shlibpath_var=LD_LIBRARY_PATH
 
10638
  shlibpath_overrides_runpath=no
 
10639
  hardcode_into_libs=yes
 
10640
  ;;
 
10641
 
 
10642
haiku*)
 
10643
  version_type=linux # correct to gnu/linux during the next big refactor
 
10644
  need_lib_prefix=no
 
10645
  need_version=no
 
10646
  dynamic_linker="$host_os runtime_loader"
 
10647
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
 
10648
  soname_spec='${libname}${release}${shared_ext}$major'
 
10649
  shlibpath_var=LIBRARY_PATH
 
10650
  shlibpath_overrides_runpath=yes
 
10651
  sys_lib_dlsearch_path_spec='/boot/home/config/lib /boot/common/lib /boot/system/lib'
9409
10652
  hardcode_into_libs=yes
9410
10653
  ;;
9411
10654
 
9451
10694
    soname_spec='${libname}${release}${shared_ext}$major'
9452
10695
    ;;
9453
10696
  esac
9454
 
  # HP-UX runs *really* slowly unless shared libraries are mode 555.
 
10697
  # HP-UX runs *really* slowly unless shared libraries are mode 555, ...
9455
10698
  postinstall_cmds='chmod 555 $lib'
 
10699
  # or fails outright, so override atomically:
 
10700
  install_override_mode=555
9456
10701
  ;;
9457
10702
 
9458
10703
interix[3-9]*)
9459
 
  version_type=linux
 
10704
  version_type=linux # correct to gnu/linux during the next big refactor
9460
10705
  need_lib_prefix=no
9461
10706
  need_version=no
9462
10707
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
9472
10717
    nonstopux*) version_type=nonstopux ;;
9473
10718
    *)
9474
10719
        if test "$lt_cv_prog_gnu_ld" = yes; then
9475
 
                version_type=linux
 
10720
                version_type=linux # correct to gnu/linux during the next big refactor
9476
10721
        else
9477
10722
                version_type=irix
9478
10723
        fi ;;
9509
10754
  dynamic_linker=no
9510
10755
  ;;
9511
10756
 
9512
 
# This must be Linux ELF.
9513
 
linux* | k*bsd*-gnu)
9514
 
  version_type=linux
 
10757
# This must be glibc/ELF.
 
10758
linux* | k*bsd*-gnu | kopensolaris*-gnu)
 
10759
  version_type=linux # correct to gnu/linux during the next big refactor
9515
10760
  need_lib_prefix=no
9516
10761
  need_version=no
9517
10762
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9519
10764
  finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
9520
10765
  shlibpath_var=LD_LIBRARY_PATH
9521
10766
  shlibpath_overrides_runpath=no
 
10767
 
9522
10768
  # Some binutils ld are patched to set DT_RUNPATH
9523
 
  save_LDFLAGS=$LDFLAGS
9524
 
  save_libdir=$libdir
9525
 
  eval "libdir=/foo; wl=\"$lt_prog_compiler_wl\"; \
9526
 
       LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec\""
9527
 
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 
10769
  if ${lt_cv_shlibpath_overrides_runpath+:} false; then :
 
10770
  $as_echo_n "(cached) " >&6
 
10771
else
 
10772
  lt_cv_shlibpath_overrides_runpath=no
 
10773
    save_LDFLAGS=$LDFLAGS
 
10774
    save_libdir=$libdir
 
10775
    eval "libdir=/foo; wl=\"$lt_prog_compiler_wl\"; \
 
10776
         LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec\""
 
10777
    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9528
10778
/* end confdefs.h.  */
9529
10779
 
9530
10780
int
9537
10787
_ACEOF
9538
10788
if ac_fn_c_try_link "$LINENO"; then :
9539
10789
  if  ($OBJDUMP -p conftest$ac_exeext) 2>/dev/null | grep "RUNPATH.*$libdir" >/dev/null; then :
9540
 
  shlibpath_overrides_runpath=yes
 
10790
  lt_cv_shlibpath_overrides_runpath=yes
9541
10791
fi
9542
10792
fi
9543
10793
rm -f core conftest.err conftest.$ac_objext \
9544
10794
    conftest$ac_exeext conftest.$ac_ext
9545
 
  LDFLAGS=$save_LDFLAGS
9546
 
  libdir=$save_libdir
 
10795
    LDFLAGS=$save_LDFLAGS
 
10796
    libdir=$save_libdir
 
10797
 
 
10798
fi
 
10799
 
 
10800
  shlibpath_overrides_runpath=$lt_cv_shlibpath_overrides_runpath
9547
10801
 
9548
10802
  # This implies no fast_install, which is unacceptable.
9549
10803
  # Some rework will be needed to allow for fast_install
9552
10806
 
9553
10807
  # Append ld.so.conf contents to the search path
9554
10808
  if test -f /etc/ld.so.conf; then
9555
 
    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' ' '`
 
10809
    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' ' '`
9556
10810
    sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra"
9557
10811
  fi
9558
10812
 
9596
10850
  ;;
9597
10851
 
9598
10852
newsos6)
9599
 
  version_type=linux
 
10853
  version_type=linux # correct to gnu/linux during the next big refactor
9600
10854
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9601
10855
  shlibpath_var=LD_LIBRARY_PATH
9602
10856
  shlibpath_overrides_runpath=yes
9665
10919
  ;;
9666
10920
 
9667
10921
solaris*)
9668
 
  version_type=linux
 
10922
  version_type=linux # correct to gnu/linux during the next big refactor
9669
10923
  need_lib_prefix=no
9670
10924
  need_version=no
9671
10925
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9690
10944
  ;;
9691
10945
 
9692
10946
sysv4 | sysv4.3*)
9693
 
  version_type=linux
 
10947
  version_type=linux # correct to gnu/linux during the next big refactor
9694
10948
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9695
10949
  soname_spec='${libname}${release}${shared_ext}$major'
9696
10950
  shlibpath_var=LD_LIBRARY_PATH
9714
10968
 
9715
10969
sysv4*MP*)
9716
10970
  if test -d /usr/nec ;then
9717
 
    version_type=linux
 
10971
    version_type=linux # correct to gnu/linux during the next big refactor
9718
10972
    library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
9719
10973
    soname_spec='$libname${shared_ext}.$major'
9720
10974
    shlibpath_var=LD_LIBRARY_PATH
9745
10999
 
9746
11000
tpf*)
9747
11001
  # TPF is a cross-target only.  Preferred cross-host = GNU/Linux.
9748
 
  version_type=linux
 
11002
  version_type=linux # correct to gnu/linux during the next big refactor
9749
11003
  need_lib_prefix=no
9750
11004
  need_version=no
9751
11005
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9755
11009
  ;;
9756
11010
 
9757
11011
uts4*)
9758
 
  version_type=linux
 
11012
  version_type=linux # correct to gnu/linux during the next big refactor
9759
11013
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9760
11014
  soname_spec='${libname}${release}${shared_ext}$major'
9761
11015
  shlibpath_var=LD_LIBRARY_PATH
9867
11121
 
9868
11122
 
9869
11123
 
 
11124
 
 
11125
 
 
11126
 
 
11127
 
 
11128
 
9870
11129
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to hardcode library paths into programs" >&5
9871
11130
$as_echo_n "checking how to hardcode library paths into programs... " >&6; }
9872
11131
hardcode_action=
9939
11198
  # if libdl is installed we need to link against it
9940
11199
    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
9941
11200
$as_echo_n "checking for dlopen in -ldl... " >&6; }
9942
 
if test "${ac_cv_lib_dl_dlopen+set}" = set; then :
 
11201
if ${ac_cv_lib_dl_dlopen+:} false; then :
9943
11202
  $as_echo_n "(cached) " >&6
9944
11203
else
9945
11204
  ac_check_lib_save_LIBS=$LIBS
9973
11232
fi
9974
11233
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
9975
11234
$as_echo "$ac_cv_lib_dl_dlopen" >&6; }
9976
 
if test "x$ac_cv_lib_dl_dlopen" = x""yes; then :
 
11235
if test "x$ac_cv_lib_dl_dlopen" = xyes; then :
9977
11236
  lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
9978
11237
else
9979
11238
 
9987
11246
 
9988
11247
  *)
9989
11248
    ac_fn_c_check_func "$LINENO" "shl_load" "ac_cv_func_shl_load"
9990
 
if test "x$ac_cv_func_shl_load" = x""yes; then :
 
11249
if test "x$ac_cv_func_shl_load" = xyes; then :
9991
11250
  lt_cv_dlopen="shl_load"
9992
11251
else
9993
11252
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shl_load in -ldld" >&5
9994
11253
$as_echo_n "checking for shl_load in -ldld... " >&6; }
9995
 
if test "${ac_cv_lib_dld_shl_load+set}" = set; then :
 
11254
if ${ac_cv_lib_dld_shl_load+:} false; then :
9996
11255
  $as_echo_n "(cached) " >&6
9997
11256
else
9998
11257
  ac_check_lib_save_LIBS=$LIBS
10026
11285
fi
10027
11286
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_shl_load" >&5
10028
11287
$as_echo "$ac_cv_lib_dld_shl_load" >&6; }
10029
 
if test "x$ac_cv_lib_dld_shl_load" = x""yes; then :
 
11288
if test "x$ac_cv_lib_dld_shl_load" = xyes; then :
10030
11289
  lt_cv_dlopen="shl_load" lt_cv_dlopen_libs="-ldld"
10031
11290
else
10032
11291
  ac_fn_c_check_func "$LINENO" "dlopen" "ac_cv_func_dlopen"
10033
 
if test "x$ac_cv_func_dlopen" = x""yes; then :
 
11292
if test "x$ac_cv_func_dlopen" = xyes; then :
10034
11293
  lt_cv_dlopen="dlopen"
10035
11294
else
10036
11295
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
10037
11296
$as_echo_n "checking for dlopen in -ldl... " >&6; }
10038
 
if test "${ac_cv_lib_dl_dlopen+set}" = set; then :
 
11297
if ${ac_cv_lib_dl_dlopen+:} false; then :
10039
11298
  $as_echo_n "(cached) " >&6
10040
11299
else
10041
11300
  ac_check_lib_save_LIBS=$LIBS
10069
11328
fi
10070
11329
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
10071
11330
$as_echo "$ac_cv_lib_dl_dlopen" >&6; }
10072
 
if test "x$ac_cv_lib_dl_dlopen" = x""yes; then :
 
11331
if test "x$ac_cv_lib_dl_dlopen" = xyes; then :
10073
11332
  lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
10074
11333
else
10075
11334
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -lsvld" >&5
10076
11335
$as_echo_n "checking for dlopen in -lsvld... " >&6; }
10077
 
if test "${ac_cv_lib_svld_dlopen+set}" = set; then :
 
11336
if ${ac_cv_lib_svld_dlopen+:} false; then :
10078
11337
  $as_echo_n "(cached) " >&6
10079
11338
else
10080
11339
  ac_check_lib_save_LIBS=$LIBS
10108
11367
fi
10109
11368
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_svld_dlopen" >&5
10110
11369
$as_echo "$ac_cv_lib_svld_dlopen" >&6; }
10111
 
if test "x$ac_cv_lib_svld_dlopen" = x""yes; then :
 
11370
if test "x$ac_cv_lib_svld_dlopen" = xyes; then :
10112
11371
  lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-lsvld"
10113
11372
else
10114
11373
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dld_link in -ldld" >&5
10115
11374
$as_echo_n "checking for dld_link in -ldld... " >&6; }
10116
 
if test "${ac_cv_lib_dld_dld_link+set}" = set; then :
 
11375
if ${ac_cv_lib_dld_dld_link+:} false; then :
10117
11376
  $as_echo_n "(cached) " >&6
10118
11377
else
10119
11378
  ac_check_lib_save_LIBS=$LIBS
10147
11406
fi
10148
11407
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_dld_link" >&5
10149
11408
$as_echo "$ac_cv_lib_dld_dld_link" >&6; }
10150
 
if test "x$ac_cv_lib_dld_dld_link" = x""yes; then :
 
11409
if test "x$ac_cv_lib_dld_dld_link" = xyes; then :
10151
11410
  lt_cv_dlopen="dld_link" lt_cv_dlopen_libs="-ldld"
10152
11411
fi
10153
11412
 
10188
11447
 
10189
11448
    { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a program can dlopen itself" >&5
10190
11449
$as_echo_n "checking whether a program can dlopen itself... " >&6; }
10191
 
if test "${lt_cv_dlopen_self+set}" = set; then :
 
11450
if ${lt_cv_dlopen_self+:} false; then :
10192
11451
  $as_echo_n "(cached) " >&6
10193
11452
else
10194
11453
          if test "$cross_compiling" = yes; then :
10197
11456
  lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
10198
11457
  lt_status=$lt_dlunknown
10199
11458
  cat > conftest.$ac_ext <<_LT_EOF
10200
 
#line 10200 "configure"
 
11459
#line $LINENO "configure"
10201
11460
#include "confdefs.h"
10202
11461
 
10203
11462
#if HAVE_DLFCN_H
10238
11497
#  endif
10239
11498
#endif
10240
11499
 
10241
 
void fnord() { int i=42;}
 
11500
/* When -fvisbility=hidden is used, assume the code has been annotated
 
11501
   correspondingly for the symbols needed.  */
 
11502
#if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
 
11503
int fnord () __attribute__((visibility("default")));
 
11504
#endif
 
11505
 
 
11506
int fnord () { return 42; }
10242
11507
int main ()
10243
11508
{
10244
11509
  void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
10247
11512
  if (self)
10248
11513
    {
10249
11514
      if (dlsym (self,"fnord"))       status = $lt_dlno_uscore;
10250
 
      else if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
 
11515
      else
 
11516
        {
 
11517
          if (dlsym( self,"_fnord"))  status = $lt_dlneed_uscore;
 
11518
          else puts (dlerror ());
 
11519
        }
10251
11520
      /* dlclose (self); */
10252
11521
    }
10253
11522
  else
10284
11553
      wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $lt_prog_compiler_static\"
10285
11554
      { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a statically linked program can dlopen itself" >&5
10286
11555
$as_echo_n "checking whether a statically linked program can dlopen itself... " >&6; }
10287
 
if test "${lt_cv_dlopen_self_static+set}" = set; then :
 
11556
if ${lt_cv_dlopen_self_static+:} false; then :
10288
11557
  $as_echo_n "(cached) " >&6
10289
11558
else
10290
11559
          if test "$cross_compiling" = yes; then :
10293
11562
  lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
10294
11563
  lt_status=$lt_dlunknown
10295
11564
  cat > conftest.$ac_ext <<_LT_EOF
10296
 
#line 10296 "configure"
 
11565
#line $LINENO "configure"
10297
11566
#include "confdefs.h"
10298
11567
 
10299
11568
#if HAVE_DLFCN_H
10334
11603
#  endif
10335
11604
#endif
10336
11605
 
10337
 
void fnord() { int i=42;}
 
11606
/* When -fvisbility=hidden is used, assume the code has been annotated
 
11607
   correspondingly for the symbols needed.  */
 
11608
#if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
 
11609
int fnord () __attribute__((visibility("default")));
 
11610
#endif
 
11611
 
 
11612
int fnord () { return 42; }
10338
11613
int main ()
10339
11614
{
10340
11615
  void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
10343
11618
  if (self)
10344
11619
    {
10345
11620
      if (dlsym (self,"fnord"))       status = $lt_dlno_uscore;
10346
 
      else if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
 
11621
      else
 
11622
        {
 
11623
          if (dlsym( self,"_fnord"))  status = $lt_dlneed_uscore;
 
11624
          else puts (dlerror ());
 
11625
        }
10347
11626
      /* dlclose (self); */
10348
11627
    }
10349
11628
  else
10500
11779
 
10501
11780
CC="$lt_save_CC"
10502
11781
 
10503
 
 
10504
 
 
10505
 
 
10506
 
 
10507
 
 
10508
 
 
10509
 
 
10510
 
 
10511
 
 
10512
 
 
10513
 
 
10514
 
 
10515
 
        ac_config_commands="$ac_config_commands libtool"
10516
 
 
10517
 
 
10518
 
 
10519
 
 
10520
 
# Only expand once:
10521
 
 
10522
 
 
10523
 
 
10524
 
# checks for programs.
10525
 
ac_ext=cpp
10526
 
ac_cpp='$CXXCPP $CPPFLAGS'
10527
 
ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
10528
 
ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
10529
 
ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
10530
 
if test -z "$CXX"; then
10531
 
  if test -n "$CCC"; then
10532
 
    CXX=$CCC
10533
 
  else
10534
 
    if test -n "$ac_tool_prefix"; then
10535
 
  for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
10536
 
  do
10537
 
    # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
10538
 
set dummy $ac_tool_prefix$ac_prog; ac_word=$2
10539
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10540
 
$as_echo_n "checking for $ac_word... " >&6; }
10541
 
if test "${ac_cv_prog_CXX+set}" = set; then :
10542
 
  $as_echo_n "(cached) " >&6
10543
 
else
10544
 
  if test -n "$CXX"; then
10545
 
  ac_cv_prog_CXX="$CXX" # Let the user override the test.
10546
 
else
10547
 
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10548
 
for as_dir in $PATH
10549
 
do
10550
 
  IFS=$as_save_IFS
10551
 
  test -z "$as_dir" && as_dir=.
10552
 
    for ac_exec_ext in '' $ac_executable_extensions; do
10553
 
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
10554
 
    ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
10555
 
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
10556
 
    break 2
10557
 
  fi
10558
 
done
10559
 
  done
10560
 
IFS=$as_save_IFS
10561
 
 
10562
 
fi
10563
 
fi
10564
 
CXX=$ac_cv_prog_CXX
10565
 
if test -n "$CXX"; then
10566
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXX" >&5
10567
 
$as_echo "$CXX" >&6; }
10568
 
else
10569
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10570
 
$as_echo "no" >&6; }
10571
 
fi
10572
 
 
10573
 
 
10574
 
    test -n "$CXX" && break
10575
 
  done
10576
 
fi
10577
 
if test -z "$CXX"; then
10578
 
  ac_ct_CXX=$CXX
10579
 
  for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
10580
 
do
10581
 
  # Extract the first word of "$ac_prog", so it can be a program name with args.
10582
 
set dummy $ac_prog; ac_word=$2
10583
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10584
 
$as_echo_n "checking for $ac_word... " >&6; }
10585
 
if test "${ac_cv_prog_ac_ct_CXX+set}" = set; then :
10586
 
  $as_echo_n "(cached) " >&6
10587
 
else
10588
 
  if test -n "$ac_ct_CXX"; then
10589
 
  ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
10590
 
else
10591
 
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10592
 
for as_dir in $PATH
10593
 
do
10594
 
  IFS=$as_save_IFS
10595
 
  test -z "$as_dir" && as_dir=.
10596
 
    for ac_exec_ext in '' $ac_executable_extensions; do
10597
 
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
10598
 
    ac_cv_prog_ac_ct_CXX="$ac_prog"
10599
 
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
10600
 
    break 2
10601
 
  fi
10602
 
done
10603
 
  done
10604
 
IFS=$as_save_IFS
10605
 
 
10606
 
fi
10607
 
fi
10608
 
ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
10609
 
if test -n "$ac_ct_CXX"; then
10610
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CXX" >&5
10611
 
$as_echo "$ac_ct_CXX" >&6; }
10612
 
else
10613
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10614
 
$as_echo "no" >&6; }
10615
 
fi
10616
 
 
10617
 
 
10618
 
  test -n "$ac_ct_CXX" && break
10619
 
done
10620
 
 
10621
 
  if test "x$ac_ct_CXX" = x; then
10622
 
    CXX="g++"
10623
 
  else
10624
 
    case $cross_compiling:$ac_tool_warned in
10625
 
yes:)
10626
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
10627
 
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
10628
 
ac_tool_warned=yes ;;
10629
 
esac
10630
 
    CXX=$ac_ct_CXX
10631
 
  fi
10632
 
fi
10633
 
 
10634
 
  fi
10635
 
fi
10636
 
# Provide some information about the compiler.
10637
 
$as_echo "$as_me:${as_lineno-$LINENO}: checking for C++ compiler version" >&5
10638
 
set X $ac_compile
10639
 
ac_compiler=$2
10640
 
for ac_option in --version -v -V -qversion; do
10641
 
  { { ac_try="$ac_compiler $ac_option >&5"
10642
 
case "(($ac_try" in
10643
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10644
 
  *) ac_try_echo=$ac_try;;
10645
 
esac
10646
 
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
10647
 
$as_echo "$ac_try_echo"; } >&5
10648
 
  (eval "$ac_compiler $ac_option >&5") 2>conftest.err
10649
 
  ac_status=$?
10650
 
  if test -s conftest.err; then
10651
 
    sed '10a\
10652
 
... rest of stderr output deleted ...
10653
 
         10q' conftest.err >conftest.er1
10654
 
    cat conftest.er1 >&5
10655
 
    rm -f conftest.er1 conftest.err
10656
 
  fi
10657
 
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
10658
 
  test $ac_status = 0; }
10659
 
done
10660
 
 
10661
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C++ compiler" >&5
10662
 
$as_echo_n "checking whether we are using the GNU C++ compiler... " >&6; }
10663
 
if test "${ac_cv_cxx_compiler_gnu+set}" = set; then :
10664
 
  $as_echo_n "(cached) " >&6
10665
 
else
10666
 
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10667
 
/* end confdefs.h.  */
10668
 
 
10669
 
int
10670
 
main ()
10671
 
{
10672
 
#ifndef __GNUC__
10673
 
       choke me
10674
 
#endif
10675
 
 
10676
 
  ;
10677
 
  return 0;
10678
 
}
10679
 
_ACEOF
10680
 
if ac_fn_cxx_try_compile "$LINENO"; then :
10681
 
  ac_compiler_gnu=yes
10682
 
else
10683
 
  ac_compiler_gnu=no
10684
 
fi
10685
 
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
10686
 
ac_cv_cxx_compiler_gnu=$ac_compiler_gnu
10687
 
 
10688
 
fi
10689
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cxx_compiler_gnu" >&5
10690
 
$as_echo "$ac_cv_cxx_compiler_gnu" >&6; }
10691
 
if test $ac_compiler_gnu = yes; then
10692
 
  GXX=yes
10693
 
else
10694
 
  GXX=
10695
 
fi
10696
 
ac_test_CXXFLAGS=${CXXFLAGS+set}
10697
 
ac_save_CXXFLAGS=$CXXFLAGS
10698
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CXX accepts -g" >&5
10699
 
$as_echo_n "checking whether $CXX accepts -g... " >&6; }
10700
 
if test "${ac_cv_prog_cxx_g+set}" = set; then :
10701
 
  $as_echo_n "(cached) " >&6
10702
 
else
10703
 
  ac_save_cxx_werror_flag=$ac_cxx_werror_flag
10704
 
   ac_cxx_werror_flag=yes
10705
 
   ac_cv_prog_cxx_g=no
10706
 
   CXXFLAGS="-g"
10707
 
   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10708
 
/* end confdefs.h.  */
10709
 
 
10710
 
int
10711
 
main ()
10712
 
{
10713
 
 
10714
 
  ;
10715
 
  return 0;
10716
 
}
10717
 
_ACEOF
10718
 
if ac_fn_cxx_try_compile "$LINENO"; then :
10719
 
  ac_cv_prog_cxx_g=yes
10720
 
else
10721
 
  CXXFLAGS=""
10722
 
      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10723
 
/* end confdefs.h.  */
10724
 
 
10725
 
int
10726
 
main ()
10727
 
{
10728
 
 
10729
 
  ;
10730
 
  return 0;
10731
 
}
10732
 
_ACEOF
10733
 
if ac_fn_cxx_try_compile "$LINENO"; then :
10734
 
 
10735
 
else
10736
 
  ac_cxx_werror_flag=$ac_save_cxx_werror_flag
10737
 
         CXXFLAGS="-g"
10738
 
         cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10739
 
/* end confdefs.h.  */
10740
 
 
10741
 
int
10742
 
main ()
10743
 
{
10744
 
 
10745
 
  ;
10746
 
  return 0;
10747
 
}
10748
 
_ACEOF
10749
 
if ac_fn_cxx_try_compile "$LINENO"; then :
10750
 
  ac_cv_prog_cxx_g=yes
10751
 
fi
10752
 
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
10753
 
fi
10754
 
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
10755
 
fi
10756
 
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
10757
 
   ac_cxx_werror_flag=$ac_save_cxx_werror_flag
10758
 
fi
10759
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cxx_g" >&5
10760
 
$as_echo "$ac_cv_prog_cxx_g" >&6; }
10761
 
if test "$ac_test_CXXFLAGS" = set; then
10762
 
  CXXFLAGS=$ac_save_CXXFLAGS
10763
 
elif test $ac_cv_prog_cxx_g = yes; then
10764
 
  if test "$GXX" = yes; then
10765
 
    CXXFLAGS="-g -O2"
10766
 
  else
10767
 
    CXXFLAGS="-g"
10768
 
  fi
10769
 
else
10770
 
  if test "$GXX" = yes; then
10771
 
    CXXFLAGS="-O2"
10772
 
  else
10773
 
    CXXFLAGS=
10774
 
  fi
10775
 
fi
10776
 
ac_ext=c
10777
 
ac_cpp='$CPP $CPPFLAGS'
10778
 
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
10779
 
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
10780
 
ac_compiler_gnu=$ac_cv_c_compiler_gnu
10781
 
 
10782
 
depcc="$CXX"  am_compiler_list=
10783
 
 
10784
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
10785
 
$as_echo_n "checking dependency style of $depcc... " >&6; }
10786
 
if test "${am_cv_CXX_dependencies_compiler_type+set}" = set; then :
10787
 
  $as_echo_n "(cached) " >&6
10788
 
else
10789
 
  if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
10790
 
  # We make a subdir and do the tests there.  Otherwise we can end up
10791
 
  # making bogus files that we don't know about and never remove.  For
10792
 
  # instance it was reported that on HP-UX the gcc test will end up
10793
 
  # making a dummy file named `D' -- because `-MD' means `put the output
10794
 
  # in D'.
10795
 
  mkdir conftest.dir
10796
 
  # Copy depcomp to subdir because otherwise we won't find it if we're
10797
 
  # using a relative directory.
10798
 
  cp "$am_depcomp" conftest.dir
10799
 
  cd conftest.dir
10800
 
  # We will build objects and dependencies in a subdirectory because
10801
 
  # it helps to detect inapplicable dependency modes.  For instance
10802
 
  # both Tru64's cc and ICC support -MD to output dependencies as a
10803
 
  # side effect of compilation, but ICC will put the dependencies in
10804
 
  # the current directory while Tru64 will put them in the object
10805
 
  # directory.
10806
 
  mkdir sub
10807
 
 
10808
 
  am_cv_CXX_dependencies_compiler_type=none
10809
 
  if test "$am_compiler_list" = ""; then
10810
 
     am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
10811
 
  fi
10812
 
  am__universal=false
10813
 
  case " $depcc " in #(
10814
 
     *\ -arch\ *\ -arch\ *) am__universal=true ;;
10815
 
     esac
10816
 
 
10817
 
  for depmode in $am_compiler_list; do
10818
 
    # Setup a source with many dependencies, because some compilers
10819
 
    # like to wrap large dependency lists on column 80 (with \), and
10820
 
    # we should not choose a depcomp mode which is confused by this.
10821
 
    #
10822
 
    # We need to recreate these files for each test, as the compiler may
10823
 
    # overwrite some of them when testing with obscure command lines.
10824
 
    # This happens at least with the AIX C compiler.
10825
 
    : > sub/conftest.c
10826
 
    for i in 1 2 3 4 5 6; do
10827
 
      echo '#include "conftst'$i'.h"' >> sub/conftest.c
10828
 
      # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
10829
 
      # Solaris 8's {/usr,}/bin/sh.
10830
 
      touch sub/conftst$i.h
10831
 
    done
10832
 
    echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
10833
 
 
10834
 
    # We check with `-c' and `-o' for the sake of the "dashmstdout"
10835
 
    # mode.  It turns out that the SunPro C++ compiler does not properly
10836
 
    # handle `-M -o', and we need to detect this.  Also, some Intel
10837
 
    # versions had trouble with output in subdirs
10838
 
    am__obj=sub/conftest.${OBJEXT-o}
10839
 
    am__minus_obj="-o $am__obj"
10840
 
    case $depmode in
10841
 
    gcc)
10842
 
      # This depmode causes a compiler race in universal mode.
10843
 
      test "$am__universal" = false || continue
10844
 
      ;;
10845
 
    nosideeffect)
10846
 
      # after this tag, mechanisms are not by side-effect, so they'll
10847
 
      # only be used when explicitly requested
10848
 
      if test "x$enable_dependency_tracking" = xyes; then
10849
 
        continue
10850
 
      else
10851
 
        break
10852
 
      fi
10853
 
      ;;
10854
 
    msvisualcpp | msvcmsys)
10855
 
      # This compiler won't grok `-c -o', but also, the minuso test has
10856
 
      # not run yet.  These depmodes are late enough in the game, and
10857
 
      # so weak that their functioning should not be impacted.
10858
 
      am__obj=conftest.${OBJEXT-o}
10859
 
      am__minus_obj=
10860
 
      ;;
10861
 
    none) break ;;
10862
 
    esac
10863
 
    if depmode=$depmode \
10864
 
       source=sub/conftest.c object=$am__obj \
10865
 
       depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
10866
 
       $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
10867
 
         >/dev/null 2>conftest.err &&
10868
 
       grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
10869
 
       grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
10870
 
       grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
10871
 
       ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
10872
 
      # icc doesn't choke on unknown options, it will just issue warnings
10873
 
      # or remarks (even with -Werror).  So we grep stderr for any message
10874
 
      # that says an option was ignored or not supported.
10875
 
      # When given -MP, icc 7.0 and 7.1 complain thusly:
10876
 
      #   icc: Command line warning: ignoring option '-M'; no argument required
10877
 
      # The diagnosis changed in icc 8.0:
10878
 
      #   icc: Command line remark: option '-MP' not supported
10879
 
      if (grep 'ignoring option' conftest.err ||
10880
 
          grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
10881
 
        am_cv_CXX_dependencies_compiler_type=$depmode
10882
 
        break
10883
 
      fi
10884
 
    fi
10885
 
  done
10886
 
 
10887
 
  cd ..
10888
 
  rm -rf conftest.dir
10889
 
else
10890
 
  am_cv_CXX_dependencies_compiler_type=none
10891
 
fi
10892
 
 
10893
 
fi
10894
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CXX_dependencies_compiler_type" >&5
10895
 
$as_echo "$am_cv_CXX_dependencies_compiler_type" >&6; }
10896
 
CXXDEPMODE=depmode=$am_cv_CXX_dependencies_compiler_type
10897
 
 
10898
 
 if
10899
 
  test "x$enable_dependency_tracking" != xno \
10900
 
  && test "$am_cv_CXX_dependencies_compiler_type" = gcc3; then
10901
 
  am__fastdepCXX_TRUE=
10902
 
  am__fastdepCXX_FALSE='#'
10903
 
else
10904
 
  am__fastdepCXX_TRUE='#'
10905
 
  am__fastdepCXX_FALSE=
10906
 
fi
10907
 
 
10908
 
 
10909
 
 
10910
 
ac_ext=cpp
10911
 
ac_cpp='$CXXCPP $CPPFLAGS'
10912
 
ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
10913
 
ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
10914
 
ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
10915
 
if test -z "$CXX"; then
10916
 
  if test -n "$CCC"; then
10917
 
    CXX=$CCC
10918
 
  else
10919
 
    if test -n "$ac_tool_prefix"; then
10920
 
  for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
10921
 
  do
10922
 
    # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
10923
 
set dummy $ac_tool_prefix$ac_prog; ac_word=$2
10924
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10925
 
$as_echo_n "checking for $ac_word... " >&6; }
10926
 
if test "${ac_cv_prog_CXX+set}" = set; then :
10927
 
  $as_echo_n "(cached) " >&6
10928
 
else
10929
 
  if test -n "$CXX"; then
10930
 
  ac_cv_prog_CXX="$CXX" # Let the user override the test.
10931
 
else
10932
 
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10933
 
for as_dir in $PATH
10934
 
do
10935
 
  IFS=$as_save_IFS
10936
 
  test -z "$as_dir" && as_dir=.
10937
 
    for ac_exec_ext in '' $ac_executable_extensions; do
10938
 
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
10939
 
    ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
10940
 
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
10941
 
    break 2
10942
 
  fi
10943
 
done
10944
 
  done
10945
 
IFS=$as_save_IFS
10946
 
 
10947
 
fi
10948
 
fi
10949
 
CXX=$ac_cv_prog_CXX
10950
 
if test -n "$CXX"; then
10951
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXX" >&5
10952
 
$as_echo "$CXX" >&6; }
10953
 
else
10954
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10955
 
$as_echo "no" >&6; }
10956
 
fi
10957
 
 
10958
 
 
10959
 
    test -n "$CXX" && break
10960
 
  done
10961
 
fi
10962
 
if test -z "$CXX"; then
10963
 
  ac_ct_CXX=$CXX
10964
 
  for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
10965
 
do
10966
 
  # Extract the first word of "$ac_prog", so it can be a program name with args.
10967
 
set dummy $ac_prog; ac_word=$2
10968
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10969
 
$as_echo_n "checking for $ac_word... " >&6; }
10970
 
if test "${ac_cv_prog_ac_ct_CXX+set}" = set; then :
10971
 
  $as_echo_n "(cached) " >&6
10972
 
else
10973
 
  if test -n "$ac_ct_CXX"; then
10974
 
  ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
10975
 
else
10976
 
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10977
 
for as_dir in $PATH
10978
 
do
10979
 
  IFS=$as_save_IFS
10980
 
  test -z "$as_dir" && as_dir=.
10981
 
    for ac_exec_ext in '' $ac_executable_extensions; do
10982
 
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
10983
 
    ac_cv_prog_ac_ct_CXX="$ac_prog"
10984
 
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
10985
 
    break 2
10986
 
  fi
10987
 
done
10988
 
  done
10989
 
IFS=$as_save_IFS
10990
 
 
10991
 
fi
10992
 
fi
10993
 
ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
10994
 
if test -n "$ac_ct_CXX"; then
10995
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CXX" >&5
10996
 
$as_echo "$ac_ct_CXX" >&6; }
10997
 
else
10998
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10999
 
$as_echo "no" >&6; }
11000
 
fi
11001
 
 
11002
 
 
11003
 
  test -n "$ac_ct_CXX" && break
11004
 
done
11005
 
 
11006
 
  if test "x$ac_ct_CXX" = x; then
11007
 
    CXX="g++"
11008
 
  else
11009
 
    case $cross_compiling:$ac_tool_warned in
11010
 
yes:)
11011
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
11012
 
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
11013
 
ac_tool_warned=yes ;;
11014
 
esac
11015
 
    CXX=$ac_ct_CXX
11016
 
  fi
11017
 
fi
11018
 
 
11019
 
  fi
11020
 
fi
11021
 
# Provide some information about the compiler.
11022
 
$as_echo "$as_me:${as_lineno-$LINENO}: checking for C++ compiler version" >&5
11023
 
set X $ac_compile
11024
 
ac_compiler=$2
11025
 
for ac_option in --version -v -V -qversion; do
11026
 
  { { ac_try="$ac_compiler $ac_option >&5"
11027
 
case "(($ac_try" in
11028
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11029
 
  *) ac_try_echo=$ac_try;;
11030
 
esac
11031
 
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
11032
 
$as_echo "$ac_try_echo"; } >&5
11033
 
  (eval "$ac_compiler $ac_option >&5") 2>conftest.err
11034
 
  ac_status=$?
11035
 
  if test -s conftest.err; then
11036
 
    sed '10a\
11037
 
... rest of stderr output deleted ...
11038
 
         10q' conftest.err >conftest.er1
11039
 
    cat conftest.er1 >&5
11040
 
    rm -f conftest.er1 conftest.err
11041
 
  fi
11042
 
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
11043
 
  test $ac_status = 0; }
11044
 
done
11045
 
 
11046
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C++ compiler" >&5
11047
 
$as_echo_n "checking whether we are using the GNU C++ compiler... " >&6; }
11048
 
if test "${ac_cv_cxx_compiler_gnu+set}" = set; then :
11049
 
  $as_echo_n "(cached) " >&6
11050
 
else
11051
 
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11052
 
/* end confdefs.h.  */
11053
 
 
11054
 
int
11055
 
main ()
11056
 
{
11057
 
#ifndef __GNUC__
11058
 
       choke me
11059
 
#endif
11060
 
 
11061
 
  ;
11062
 
  return 0;
11063
 
}
11064
 
_ACEOF
11065
 
if ac_fn_cxx_try_compile "$LINENO"; then :
11066
 
  ac_compiler_gnu=yes
11067
 
else
11068
 
  ac_compiler_gnu=no
11069
 
fi
11070
 
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
11071
 
ac_cv_cxx_compiler_gnu=$ac_compiler_gnu
11072
 
 
11073
 
fi
11074
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cxx_compiler_gnu" >&5
11075
 
$as_echo "$ac_cv_cxx_compiler_gnu" >&6; }
11076
 
if test $ac_compiler_gnu = yes; then
11077
 
  GXX=yes
11078
 
else
11079
 
  GXX=
11080
 
fi
11081
 
ac_test_CXXFLAGS=${CXXFLAGS+set}
11082
 
ac_save_CXXFLAGS=$CXXFLAGS
11083
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CXX accepts -g" >&5
11084
 
$as_echo_n "checking whether $CXX accepts -g... " >&6; }
11085
 
if test "${ac_cv_prog_cxx_g+set}" = set; then :
11086
 
  $as_echo_n "(cached) " >&6
11087
 
else
11088
 
  ac_save_cxx_werror_flag=$ac_cxx_werror_flag
11089
 
   ac_cxx_werror_flag=yes
11090
 
   ac_cv_prog_cxx_g=no
11091
 
   CXXFLAGS="-g"
11092
 
   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11093
 
/* end confdefs.h.  */
11094
 
 
11095
 
int
11096
 
main ()
11097
 
{
11098
 
 
11099
 
  ;
11100
 
  return 0;
11101
 
}
11102
 
_ACEOF
11103
 
if ac_fn_cxx_try_compile "$LINENO"; then :
11104
 
  ac_cv_prog_cxx_g=yes
11105
 
else
11106
 
  CXXFLAGS=""
11107
 
      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11108
 
/* end confdefs.h.  */
11109
 
 
11110
 
int
11111
 
main ()
11112
 
{
11113
 
 
11114
 
  ;
11115
 
  return 0;
11116
 
}
11117
 
_ACEOF
11118
 
if ac_fn_cxx_try_compile "$LINENO"; then :
11119
 
 
11120
 
else
11121
 
  ac_cxx_werror_flag=$ac_save_cxx_werror_flag
11122
 
         CXXFLAGS="-g"
11123
 
         cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11124
 
/* end confdefs.h.  */
11125
 
 
11126
 
int
11127
 
main ()
11128
 
{
11129
 
 
11130
 
  ;
11131
 
  return 0;
11132
 
}
11133
 
_ACEOF
11134
 
if ac_fn_cxx_try_compile "$LINENO"; then :
11135
 
  ac_cv_prog_cxx_g=yes
11136
 
fi
11137
 
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
11138
 
fi
11139
 
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
11140
 
fi
11141
 
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
11142
 
   ac_cxx_werror_flag=$ac_save_cxx_werror_flag
11143
 
fi
11144
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cxx_g" >&5
11145
 
$as_echo "$ac_cv_prog_cxx_g" >&6; }
11146
 
if test "$ac_test_CXXFLAGS" = set; then
11147
 
  CXXFLAGS=$ac_save_CXXFLAGS
11148
 
elif test $ac_cv_prog_cxx_g = yes; then
11149
 
  if test "$GXX" = yes; then
11150
 
    CXXFLAGS="-g -O2"
11151
 
  else
11152
 
    CXXFLAGS="-g"
11153
 
  fi
11154
 
else
11155
 
  if test "$GXX" = yes; then
11156
 
    CXXFLAGS="-O2"
11157
 
  else
11158
 
    CXXFLAGS=
11159
 
  fi
11160
 
fi
11161
 
ac_ext=c
11162
 
ac_cpp='$CPP $CPPFLAGS'
11163
 
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11164
 
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11165
 
ac_compiler_gnu=$ac_cv_c_compiler_gnu
11166
 
 
11167
 
depcc="$CXX"  am_compiler_list=
11168
 
 
11169
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
11170
 
$as_echo_n "checking dependency style of $depcc... " >&6; }
11171
 
if test "${am_cv_CXX_dependencies_compiler_type+set}" = set; then :
11172
 
  $as_echo_n "(cached) " >&6
11173
 
else
11174
 
  if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
11175
 
  # We make a subdir and do the tests there.  Otherwise we can end up
11176
 
  # making bogus files that we don't know about and never remove.  For
11177
 
  # instance it was reported that on HP-UX the gcc test will end up
11178
 
  # making a dummy file named `D' -- because `-MD' means `put the output
11179
 
  # in D'.
11180
 
  mkdir conftest.dir
11181
 
  # Copy depcomp to subdir because otherwise we won't find it if we're
11182
 
  # using a relative directory.
11183
 
  cp "$am_depcomp" conftest.dir
11184
 
  cd conftest.dir
11185
 
  # We will build objects and dependencies in a subdirectory because
11186
 
  # it helps to detect inapplicable dependency modes.  For instance
11187
 
  # both Tru64's cc and ICC support -MD to output dependencies as a
11188
 
  # side effect of compilation, but ICC will put the dependencies in
11189
 
  # the current directory while Tru64 will put them in the object
11190
 
  # directory.
11191
 
  mkdir sub
11192
 
 
11193
 
  am_cv_CXX_dependencies_compiler_type=none
11194
 
  if test "$am_compiler_list" = ""; then
11195
 
     am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
11196
 
  fi
11197
 
  am__universal=false
11198
 
  case " $depcc " in #(
11199
 
     *\ -arch\ *\ -arch\ *) am__universal=true ;;
11200
 
     esac
11201
 
 
11202
 
  for depmode in $am_compiler_list; do
11203
 
    # Setup a source with many dependencies, because some compilers
11204
 
    # like to wrap large dependency lists on column 80 (with \), and
11205
 
    # we should not choose a depcomp mode which is confused by this.
11206
 
    #
11207
 
    # We need to recreate these files for each test, as the compiler may
11208
 
    # overwrite some of them when testing with obscure command lines.
11209
 
    # This happens at least with the AIX C compiler.
11210
 
    : > sub/conftest.c
11211
 
    for i in 1 2 3 4 5 6; do
11212
 
      echo '#include "conftst'$i'.h"' >> sub/conftest.c
11213
 
      # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
11214
 
      # Solaris 8's {/usr,}/bin/sh.
11215
 
      touch sub/conftst$i.h
11216
 
    done
11217
 
    echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
11218
 
 
11219
 
    # We check with `-c' and `-o' for the sake of the "dashmstdout"
11220
 
    # mode.  It turns out that the SunPro C++ compiler does not properly
11221
 
    # handle `-M -o', and we need to detect this.  Also, some Intel
11222
 
    # versions had trouble with output in subdirs
11223
 
    am__obj=sub/conftest.${OBJEXT-o}
11224
 
    am__minus_obj="-o $am__obj"
11225
 
    case $depmode in
11226
 
    gcc)
11227
 
      # This depmode causes a compiler race in universal mode.
11228
 
      test "$am__universal" = false || continue
11229
 
      ;;
11230
 
    nosideeffect)
11231
 
      # after this tag, mechanisms are not by side-effect, so they'll
11232
 
      # only be used when explicitly requested
11233
 
      if test "x$enable_dependency_tracking" = xyes; then
11234
 
        continue
11235
 
      else
11236
 
        break
11237
 
      fi
11238
 
      ;;
11239
 
    msvisualcpp | msvcmsys)
11240
 
      # This compiler won't grok `-c -o', but also, the minuso test has
11241
 
      # not run yet.  These depmodes are late enough in the game, and
11242
 
      # so weak that their functioning should not be impacted.
11243
 
      am__obj=conftest.${OBJEXT-o}
11244
 
      am__minus_obj=
11245
 
      ;;
11246
 
    none) break ;;
11247
 
    esac
11248
 
    if depmode=$depmode \
11249
 
       source=sub/conftest.c object=$am__obj \
11250
 
       depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
11251
 
       $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
11252
 
         >/dev/null 2>conftest.err &&
11253
 
       grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
11254
 
       grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
11255
 
       grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
11256
 
       ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
11257
 
      # icc doesn't choke on unknown options, it will just issue warnings
11258
 
      # or remarks (even with -Werror).  So we grep stderr for any message
11259
 
      # that says an option was ignored or not supported.
11260
 
      # When given -MP, icc 7.0 and 7.1 complain thusly:
11261
 
      #   icc: Command line warning: ignoring option '-M'; no argument required
11262
 
      # The diagnosis changed in icc 8.0:
11263
 
      #   icc: Command line remark: option '-MP' not supported
11264
 
      if (grep 'ignoring option' conftest.err ||
11265
 
          grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
11266
 
        am_cv_CXX_dependencies_compiler_type=$depmode
11267
 
        break
11268
 
      fi
11269
 
    fi
11270
 
  done
11271
 
 
11272
 
  cd ..
11273
 
  rm -rf conftest.dir
11274
 
else
11275
 
  am_cv_CXX_dependencies_compiler_type=none
11276
 
fi
11277
 
 
11278
 
fi
11279
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CXX_dependencies_compiler_type" >&5
11280
 
$as_echo "$am_cv_CXX_dependencies_compiler_type" >&6; }
11281
 
CXXDEPMODE=depmode=$am_cv_CXX_dependencies_compiler_type
11282
 
 
11283
 
 if
11284
 
  test "x$enable_dependency_tracking" != xno \
11285
 
  && test "$am_cv_CXX_dependencies_compiler_type" = gcc3; then
11286
 
  am__fastdepCXX_TRUE=
11287
 
  am__fastdepCXX_FALSE='#'
11288
 
else
11289
 
  am__fastdepCXX_TRUE='#'
11290
 
  am__fastdepCXX_FALSE=
11291
 
fi
11292
 
 
11293
 
 
11294
 
if test -n "$CXX" && ( test "X$CXX" != "Xno" &&
 
11782
      if test -n "$CXX" && ( test "X$CXX" != "Xno" &&
11295
11783
    ( (test "X$CXX" = "Xg++" && `g++ -v >/dev/null 2>&1` ) ||
11296
11784
    (test "X$CXX" != "Xg++"))) ; then
11297
11785
  ac_ext=cpp
11302
11790
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C++ preprocessor" >&5
11303
11791
$as_echo_n "checking how to run the C++ preprocessor... " >&6; }
11304
11792
if test -z "$CXXCPP"; then
11305
 
  if test "${ac_cv_prog_CXXCPP+set}" = set; then :
 
11793
  if ${ac_cv_prog_CXXCPP+:} false; then :
11306
11794
  $as_echo_n "(cached) " >&6
11307
11795
else
11308
11796
      # Double quotes because CXXCPP needs to be expanded
11332
11820
  # Broken: fails on valid input.
11333
11821
continue
11334
11822
fi
11335
 
rm -f conftest.err conftest.$ac_ext
 
11823
rm -f conftest.err conftest.i conftest.$ac_ext
11336
11824
 
11337
11825
  # OK, works on sane cases.  Now check whether nonexistent headers
11338
11826
  # can be detected and how.
11348
11836
ac_preproc_ok=:
11349
11837
break
11350
11838
fi
11351
 
rm -f conftest.err conftest.$ac_ext
 
11839
rm -f conftest.err conftest.i conftest.$ac_ext
11352
11840
 
11353
11841
done
11354
11842
# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
11355
 
rm -f conftest.err conftest.$ac_ext
 
11843
rm -f conftest.i conftest.err conftest.$ac_ext
11356
11844
if $ac_preproc_ok; then :
11357
11845
  break
11358
11846
fi
11391
11879
  # Broken: fails on valid input.
11392
11880
continue
11393
11881
fi
11394
 
rm -f conftest.err conftest.$ac_ext
 
11882
rm -f conftest.err conftest.i conftest.$ac_ext
11395
11883
 
11396
11884
  # OK, works on sane cases.  Now check whether nonexistent headers
11397
11885
  # can be detected and how.
11407
11895
ac_preproc_ok=:
11408
11896
break
11409
11897
fi
11410
 
rm -f conftest.err conftest.$ac_ext
 
11898
rm -f conftest.err conftest.i conftest.$ac_ext
11411
11899
 
11412
11900
done
11413
11901
# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
11414
 
rm -f conftest.err conftest.$ac_ext
 
11902
rm -f conftest.i conftest.err conftest.$ac_ext
11415
11903
if $ac_preproc_ok; then :
11416
11904
 
11417
11905
else
11418
11906
  { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
11419
11907
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
11420
 
_lt_caught_CXX_error=yes; }
 
11908
as_fn_error $? "C++ preprocessor \"$CXXCPP\" fails sanity check
 
11909
See \`config.log' for more details" "$LINENO" 5; }
11421
11910
fi
11422
11911
 
11423
11912
ac_ext=c
11430
11919
  _lt_caught_CXX_error=yes
11431
11920
fi
11432
11921
 
11433
 
 
11434
 
 
11435
 
 
11436
11922
ac_ext=cpp
11437
11923
ac_cpp='$CXXCPP $CPPFLAGS'
11438
11924
ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11448
11934
hardcode_direct_CXX=no
11449
11935
hardcode_direct_absolute_CXX=no
11450
11936
hardcode_libdir_flag_spec_CXX=
11451
 
hardcode_libdir_flag_spec_ld_CXX=
11452
11937
hardcode_libdir_separator_CXX=
11453
11938
hardcode_minus_L_CXX=no
11454
11939
hardcode_shlibpath_var_CXX=unsupported
11458
11943
module_expsym_cmds_CXX=
11459
11944
link_all_deplibs_CXX=unknown
11460
11945
old_archive_cmds_CXX=$old_archive_cmds
 
11946
reload_flag_CXX=$reload_flag
 
11947
reload_cmds_CXX=$reload_cmds
11461
11948
no_undefined_flag_CXX=
11462
11949
whole_archive_flag_spec_CXX=
11463
11950
enable_shared_with_static_runtimes_CXX=no
11513
12000
 
11514
12001
  # Allow CC to be a program name with arguments.
11515
12002
  lt_save_CC=$CC
 
12003
  lt_save_CFLAGS=$CFLAGS
11516
12004
  lt_save_LD=$LD
11517
12005
  lt_save_GCC=$GCC
11518
12006
  GCC=$GXX
11530
12018
  fi
11531
12019
  test -z "${LDCXX+set}" || LD=$LDCXX
11532
12020
  CC=${CXX-"c++"}
 
12021
  CFLAGS=$CXXFLAGS
11533
12022
  compiler=$CC
11534
12023
  compiler_CXX=$CC
11535
12024
  for cc_temp in $compiler""; do
11540
12029
    *) break;;
11541
12030
  esac
11542
12031
done
11543
 
cc_basename=`$ECHO "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
 
12032
cc_basename=`$ECHO "$cc_temp" | $SED "s%.*/%%; s%^$host_alias-%%"`
11544
12033
 
11545
12034
 
11546
12035
  if test -n "$compiler"; then
11603
12092
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
11604
12093
$as_echo_n "checking for non-GNU ld... " >&6; }
11605
12094
fi
11606
 
if test "${lt_cv_path_LD+set}" = set; then :
 
12095
if ${lt_cv_path_LD+:} false; then :
11607
12096
  $as_echo_n "(cached) " >&6
11608
12097
else
11609
12098
  if test -z "$LD"; then
11640
12129
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11641
12130
$as_echo "no" >&6; }
11642
12131
fi
11643
 
test -z "$LD" && as_fn_error "no acceptable ld found in \$PATH" "$LINENO" 5
 
12132
test -z "$LD" && as_fn_error $? "no acceptable ld found in \$PATH" "$LINENO" 5
11644
12133
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
11645
12134
$as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
11646
 
if test "${lt_cv_prog_gnu_ld+set}" = set; then :
 
12135
if ${lt_cv_prog_gnu_ld+:} false; then :
11647
12136
  $as_echo_n "(cached) " >&6
11648
12137
else
11649
12138
  # I'd rather use --version here, but apparently some GNU lds only accept -v.
11669
12158
      # Check if GNU C++ uses GNU ld as the underlying linker, since the
11670
12159
      # archiving commands below assume that GNU ld is being used.
11671
12160
      if test "$with_gnu_ld" = yes; then
11672
 
        archive_cmds_CXX='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
11673
 
        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'
 
12161
        archive_cmds_CXX='$CC $pic_flag -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
 
12162
        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'
11674
12163
 
11675
12164
        hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
11676
12165
        export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
11702
12191
      # Commands to make compiler produce verbose output that lists
11703
12192
      # what "hidden" libraries, object files and flags are used when
11704
12193
      # linking a shared library.
11705
 
      output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP "\-L"'
 
12194
      output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP -v "^Configured with:" | $GREP "\-L"'
11706
12195
 
11707
12196
    else
11708
12197
      GXX=no
11812
12301
          allow_undefined_flag_CXX='-berok'
11813
12302
          # Determine the default libpath from the value encoded in an empty
11814
12303
          # executable.
11815
 
          cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 
12304
          if test "${lt_cv_aix_libpath+set}" = set; then
 
12305
  aix_libpath=$lt_cv_aix_libpath
 
12306
else
 
12307
  if ${lt_cv_aix_libpath__CXX+:} false; then :
 
12308
  $as_echo_n "(cached) " >&6
 
12309
else
 
12310
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11816
12311
/* end confdefs.h.  */
11817
12312
 
11818
12313
int
11825
12320
_ACEOF
11826
12321
if ac_fn_cxx_try_link "$LINENO"; then :
11827
12322
 
11828
 
lt_aix_libpath_sed='
11829
 
    /Import File Strings/,/^$/ {
11830
 
        /^0/ {
11831
 
            s/^0  *\(.*\)$/\1/
11832
 
            p
11833
 
        }
11834
 
    }'
11835
 
aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
11836
 
# Check for a 64-bit object if we didn't find anything.
11837
 
if test -z "$aix_libpath"; then
11838
 
  aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
11839
 
fi
 
12323
  lt_aix_libpath_sed='
 
12324
      /Import File Strings/,/^$/ {
 
12325
          /^0/ {
 
12326
              s/^0  *\([^ ]*\) *$/\1/
 
12327
              p
 
12328
          }
 
12329
      }'
 
12330
  lt_cv_aix_libpath__CXX=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
 
12331
  # Check for a 64-bit object if we didn't find anything.
 
12332
  if test -z "$lt_cv_aix_libpath__CXX"; then
 
12333
    lt_cv_aix_libpath__CXX=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
 
12334
  fi
11840
12335
fi
11841
12336
rm -f core conftest.err conftest.$ac_objext \
11842
12337
    conftest$ac_exeext conftest.$ac_ext
11843
 
if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
 
12338
  if test -z "$lt_cv_aix_libpath__CXX"; then
 
12339
    lt_cv_aix_libpath__CXX="/usr/lib:/lib"
 
12340
  fi
 
12341
 
 
12342
fi
 
12343
 
 
12344
  aix_libpath=$lt_cv_aix_libpath__CXX
 
12345
fi
11844
12346
 
11845
12347
          hardcode_libdir_flag_spec_CXX='${wl}-blibpath:$libdir:'"$aix_libpath"
11846
12348
 
11847
 
          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"
 
12349
          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"
11848
12350
        else
11849
12351
          if test "$host_cpu" = ia64; then
11850
12352
            hardcode_libdir_flag_spec_CXX='${wl}-R $libdir:/usr/lib:/lib'
11853
12355
          else
11854
12356
            # Determine the default libpath from the value encoded in an
11855
12357
            # empty executable.
11856
 
            cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 
12358
            if test "${lt_cv_aix_libpath+set}" = set; then
 
12359
  aix_libpath=$lt_cv_aix_libpath
 
12360
else
 
12361
  if ${lt_cv_aix_libpath__CXX+:} false; then :
 
12362
  $as_echo_n "(cached) " >&6
 
12363
else
 
12364
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11857
12365
/* end confdefs.h.  */
11858
12366
 
11859
12367
int
11866
12374
_ACEOF
11867
12375
if ac_fn_cxx_try_link "$LINENO"; then :
11868
12376
 
11869
 
lt_aix_libpath_sed='
11870
 
    /Import File Strings/,/^$/ {
11871
 
        /^0/ {
11872
 
            s/^0  *\(.*\)$/\1/
11873
 
            p
11874
 
        }
11875
 
    }'
11876
 
aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
11877
 
# Check for a 64-bit object if we didn't find anything.
11878
 
if test -z "$aix_libpath"; then
11879
 
  aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
11880
 
fi
 
12377
  lt_aix_libpath_sed='
 
12378
      /Import File Strings/,/^$/ {
 
12379
          /^0/ {
 
12380
              s/^0  *\([^ ]*\) *$/\1/
 
12381
              p
 
12382
          }
 
12383
      }'
 
12384
  lt_cv_aix_libpath__CXX=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
 
12385
  # Check for a 64-bit object if we didn't find anything.
 
12386
  if test -z "$lt_cv_aix_libpath__CXX"; then
 
12387
    lt_cv_aix_libpath__CXX=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
 
12388
  fi
11881
12389
fi
11882
12390
rm -f core conftest.err conftest.$ac_objext \
11883
12391
    conftest$ac_exeext conftest.$ac_ext
11884
 
if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
 
12392
  if test -z "$lt_cv_aix_libpath__CXX"; then
 
12393
    lt_cv_aix_libpath__CXX="/usr/lib:/lib"
 
12394
  fi
 
12395
 
 
12396
fi
 
12397
 
 
12398
  aix_libpath=$lt_cv_aix_libpath__CXX
 
12399
fi
11885
12400
 
11886
12401
            hardcode_libdir_flag_spec_CXX='${wl}-blibpath:$libdir:'"$aix_libpath"
11887
12402
            # Warning - without using the other run time loading flags,
11888
12403
            # -berok will link without error, but may produce a broken library.
11889
12404
            no_undefined_flag_CXX=' ${wl}-bernotok'
11890
12405
            allow_undefined_flag_CXX=' ${wl}-berok'
11891
 
            # Exported symbols can be pulled into shared objects from archives
11892
 
            whole_archive_flag_spec_CXX='$convenience'
 
12406
            if test "$with_gnu_ld" = yes; then
 
12407
              # We only use this code for GNU lds that support --whole-archive.
 
12408
              whole_archive_flag_spec_CXX='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
 
12409
            else
 
12410
              # Exported symbols can be pulled into shared objects from archives
 
12411
              whole_archive_flag_spec_CXX='$convenience'
 
12412
            fi
11893
12413
            archive_cmds_need_lc_CXX=yes
11894
12414
            # This is similar to how AIX traditionally builds its shared
11895
12415
            # libraries.
11919
12439
        ;;
11920
12440
 
11921
12441
      cygwin* | mingw* | pw32* | cegcc*)
11922
 
        # _LT_TAGVAR(hardcode_libdir_flag_spec, CXX) is actually meaningless,
11923
 
        # as there is no search path for DLLs.
11924
 
        hardcode_libdir_flag_spec_CXX='-L$libdir'
11925
 
        allow_undefined_flag_CXX=unsupported
11926
 
        always_export_symbols_CXX=no
11927
 
        enable_shared_with_static_runtimes_CXX=yes
 
12442
        case $GXX,$cc_basename in
 
12443
        ,cl* | no,cl*)
 
12444
          # Native MSVC
 
12445
          # hardcode_libdir_flag_spec is actually meaningless, as there is
 
12446
          # no search path for DLLs.
 
12447
          hardcode_libdir_flag_spec_CXX=' '
 
12448
          allow_undefined_flag_CXX=unsupported
 
12449
          always_export_symbols_CXX=yes
 
12450
          file_list_spec_CXX='@'
 
12451
          # Tell ltmain to make .lib files, not .a files.
 
12452
          libext=lib
 
12453
          # Tell ltmain to make .dll files, not .so files.
 
12454
          shrext_cmds=".dll"
 
12455
          # FIXME: Setting linknames here is a bad hack.
 
12456
          archive_cmds_CXX='$CC -o $output_objdir/$soname $libobjs $compiler_flags $deplibs -Wl,-dll~linknames='
 
12457
          archive_expsym_cmds_CXX='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
 
12458
              $SED -n -e 's/\\\\\\\(.*\\\\\\\)/-link\\\ -EXPORT:\\\\\\\1/' -e '1\\\!p' < $export_symbols > $output_objdir/$soname.exp;
 
12459
            else
 
12460
              $SED -e 's/\\\\\\\(.*\\\\\\\)/-link\\\ -EXPORT:\\\\\\\1/' < $export_symbols > $output_objdir/$soname.exp;
 
12461
            fi~
 
12462
            $CC -o $tool_output_objdir$soname $libobjs $compiler_flags $deplibs "@$tool_output_objdir$soname.exp" -Wl,-DLL,-IMPLIB:"$tool_output_objdir$libname.dll.lib"~
 
12463
            linknames='
 
12464
          # The linker will not automatically build a static lib if we build a DLL.
 
12465
          # _LT_TAGVAR(old_archive_from_new_cmds, CXX)='true'
 
12466
          enable_shared_with_static_runtimes_CXX=yes
 
12467
          # Don't use ranlib
 
12468
          old_postinstall_cmds_CXX='chmod 644 $oldlib'
 
12469
          postlink_cmds_CXX='lt_outputfile="@OUTPUT@"~
 
12470
            lt_tool_outputfile="@TOOL_OUTPUT@"~
 
12471
            case $lt_outputfile in
 
12472
              *.exe|*.EXE) ;;
 
12473
              *)
 
12474
                lt_outputfile="$lt_outputfile.exe"
 
12475
                lt_tool_outputfile="$lt_tool_outputfile.exe"
 
12476
                ;;
 
12477
            esac~
 
12478
            func_to_tool_file "$lt_outputfile"~
 
12479
            if test "$MANIFEST_TOOL" != ":" && test -f "$lt_outputfile.manifest"; then
 
12480
              $MANIFEST_TOOL -manifest "$lt_tool_outputfile.manifest" -outputresource:"$lt_tool_outputfile" || exit 1;
 
12481
              $RM "$lt_outputfile.manifest";
 
12482
            fi'
 
12483
          ;;
 
12484
        *)
 
12485
          # g++
 
12486
          # _LT_TAGVAR(hardcode_libdir_flag_spec, CXX) is actually meaningless,
 
12487
          # as there is no search path for DLLs.
 
12488
          hardcode_libdir_flag_spec_CXX='-L$libdir'
 
12489
          export_dynamic_flag_spec_CXX='${wl}--export-all-symbols'
 
12490
          allow_undefined_flag_CXX=unsupported
 
12491
          always_export_symbols_CXX=no
 
12492
          enable_shared_with_static_runtimes_CXX=yes
11928
12493
 
11929
 
        if $LD --help 2>&1 | $GREP 'auto-import' > /dev/null; then
11930
 
          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'
11931
 
          # If the export-symbols file already is a .def file (1st line
11932
 
          # is EXPORTS), use it as is; otherwise, prepend...
11933
 
          archive_expsym_cmds_CXX='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
11934
 
            cp $export_symbols $output_objdir/$soname.def;
11935
 
          else
11936
 
            echo EXPORTS > $output_objdir/$soname.def;
11937
 
            cat $export_symbols >> $output_objdir/$soname.def;
11938
 
          fi~
11939
 
          $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'
11940
 
        else
11941
 
          ld_shlibs_CXX=no
11942
 
        fi
11943
 
        ;;
 
12494
          if $LD --help 2>&1 | $GREP 'auto-import' > /dev/null; then
 
12495
            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'
 
12496
            # If the export-symbols file already is a .def file (1st line
 
12497
            # is EXPORTS), use it as is; otherwise, prepend...
 
12498
            archive_expsym_cmds_CXX='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
 
12499
              cp $export_symbols $output_objdir/$soname.def;
 
12500
            else
 
12501
              echo EXPORTS > $output_objdir/$soname.def;
 
12502
              cat $export_symbols >> $output_objdir/$soname.def;
 
12503
            fi~
 
12504
            $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'
 
12505
          else
 
12506
            ld_shlibs_CXX=no
 
12507
          fi
 
12508
          ;;
 
12509
        esac
 
12510
        ;;
11944
12511
      darwin* | rhapsody*)
11945
12512
 
11946
12513
 
11948
12515
  hardcode_direct_CXX=no
11949
12516
  hardcode_automatic_CXX=yes
11950
12517
  hardcode_shlibpath_var_CXX=unsupported
11951
 
  whole_archive_flag_spec_CXX=''
 
12518
  if test "$lt_cv_ld_force_load" = "yes"; then
 
12519
    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\"`'
 
12520
 
 
12521
  else
 
12522
    whole_archive_flag_spec_CXX=''
 
12523
  fi
11952
12524
  link_all_deplibs_CXX=yes
11953
12525
  allow_undefined_flag_CXX="$_lt_dar_allow_undefined"
11954
12526
  case $cc_basename in
11956
12528
     *) _lt_dar_can_shared=$GCC ;;
11957
12529
  esac
11958
12530
  if test "$_lt_dar_can_shared" = "yes"; then
11959
 
    output_verbose_link_cmd=echo
 
12531
    output_verbose_link_cmd=func_echo_all
11960
12532
    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}"
11961
12533
    module_cmds_CXX="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}"
11962
12534
    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}"
11990
12562
        esac
11991
12563
        ;;
11992
12564
 
11993
 
      freebsd[12]*)
 
12565
      freebsd2.*)
11994
12566
        # C++ shared libraries reported to be fairly broken before
11995
12567
        # switch to ELF
11996
12568
        ld_shlibs_CXX=no
12009
12581
      gnu*)
12010
12582
        ;;
12011
12583
 
 
12584
      haiku*)
 
12585
        archive_cmds_CXX='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
 
12586
        link_all_deplibs_CXX=yes
 
12587
        ;;
 
12588
 
12012
12589
      hpux9*)
12013
12590
        hardcode_libdir_flag_spec_CXX='${wl}+b ${wl}$libdir'
12014
12591
        hardcode_libdir_separator_CXX=:
12033
12610
            # explicitly linking system object files so we need to strip them
12034
12611
            # from the output so that they don't get included in the library
12035
12612
            # dependencies.
12036
 
            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'
 
12613
            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"'
12037
12614
            ;;
12038
12615
          *)
12039
12616
            if test "$GXX" = yes; then
12040
 
              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'
 
12617
              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'
12041
12618
            else
12042
12619
              # FIXME: insert proper C++ library support
12043
12620
              ld_shlibs_CXX=no
12098
12675
            # explicitly linking system object files so we need to strip them
12099
12676
            # from the output so that they don't get included in the library
12100
12677
            # dependencies.
12101
 
            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'
 
12678
            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"'
12102
12679
            ;;
12103
12680
          *)
12104
12681
            if test "$GXX" = yes; then
12108
12685
                    archive_cmds_CXX='$CC -shared -nostdlib -fPIC ${wl}+h ${wl}$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
12109
12686
                    ;;
12110
12687
                  ia64*)
12111
 
                    archive_cmds_CXX='$CC -shared -nostdlib -fPIC ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
 
12688
                    archive_cmds_CXX='$CC -shared -nostdlib $pic_flag ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
12112
12689
                    ;;
12113
12690
                  *)
12114
 
                    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'
 
12691
                    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'
12115
12692
                    ;;
12116
12693
                esac
12117
12694
              fi
12141
12718
        case $cc_basename in
12142
12719
          CC*)
12143
12720
            # SGI C++
12144
 
            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'
 
12721
            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'
12145
12722
 
12146
12723
            # Archives containing C++ object files must be created using
12147
12724
            # "CC -ar", where "CC" is the IRIX C++ compiler.  This is
12152
12729
          *)
12153
12730
            if test "$GXX" = yes; then
12154
12731
              if test "$with_gnu_ld" = no; then
12155
 
                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'
 
12732
                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'
12156
12733
              else
12157
 
                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'
 
12734
                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'
12158
12735
              fi
12159
12736
            fi
12160
12737
            link_all_deplibs_CXX=yes
12165
12742
        inherit_rpath_CXX=yes
12166
12743
        ;;
12167
12744
 
12168
 
      linux* | k*bsd*-gnu)
 
12745
      linux* | k*bsd*-gnu | kopensolaris*-gnu)
12169
12746
        case $cc_basename in
12170
12747
          KCC*)
12171
12748
            # Kuck and Associates, Inc. (KAI) C++ Compiler
12183
12760
            # explicitly linking system object files so we need to strip them
12184
12761
            # from the output so that they don't get included in the library
12185
12762
            # dependencies.
12186
 
            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'
 
12763
            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"'
12187
12764
 
12188
12765
            hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
12189
12766
            export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
12220
12797
          pgCC* | pgcpp*)
12221
12798
            # Portland Group C++ compiler
12222
12799
            case `$CC -V` in
12223
 
            *pgCC\ [1-5]* | *pgcpp\ [1-5]*)
 
12800
            *pgCC\ [1-5].* | *pgcpp\ [1-5].*)
12224
12801
              prelink_cmds_CXX='tpldir=Template.dir~
12225
12802
                rm -rf $tpldir~
12226
12803
                $CC --prelink_objects --instantiation_dir $tpldir $objs $libobjs $compile_deplibs~
12227
 
                compile_command="$compile_command `find $tpldir -name \*.o | $NL2SP`"'
 
12804
                compile_command="$compile_command `find $tpldir -name \*.o | sort | $NL2SP`"'
12228
12805
              old_archive_cmds_CXX='tpldir=Template.dir~
12229
12806
                rm -rf $tpldir~
12230
12807
                $CC --prelink_objects --instantiation_dir $tpldir $oldobjs$old_deplibs~
12231
 
                $AR $AR_FLAGS $oldlib$oldobjs$old_deplibs `find $tpldir -name \*.o | $NL2SP`~
 
12808
                $AR $AR_FLAGS $oldlib$oldobjs$old_deplibs `find $tpldir -name \*.o | sort | $NL2SP`~
12232
12809
                $RANLIB $oldlib'
12233
12810
              archive_cmds_CXX='tpldir=Template.dir~
12234
12811
                rm -rf $tpldir~
12235
12812
                $CC --prelink_objects --instantiation_dir $tpldir $predep_objects $libobjs $deplibs $convenience $postdep_objects~
12236
 
                $CC -shared $pic_flag $predep_objects $libobjs $deplibs `find $tpldir -name \*.o | $NL2SP` $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname -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 -o $lib'
12237
12814
              archive_expsym_cmds_CXX='tpldir=Template.dir~
12238
12815
                rm -rf $tpldir~
12239
12816
                $CC --prelink_objects --instantiation_dir $tpldir $predep_objects $libobjs $deplibs $convenience $postdep_objects~
12240
 
                $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'
 
12817
                $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'
12241
12818
              ;;
12242
 
            *) # Version 6 will use weak symbols
 
12819
            *) # Version 6 and above use weak symbols
12243
12820
              archive_cmds_CXX='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname -o $lib'
12244
12821
              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'
12245
12822
              ;;
12247
12824
 
12248
12825
            hardcode_libdir_flag_spec_CXX='${wl}--rpath ${wl}$libdir'
12249
12826
            export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
12250
 
            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'
 
12827
            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'
12251
12828
            ;;
12252
12829
          cxx*)
12253
12830
            # Compaq C++
12266
12843
            # explicitly linking system object files so we need to strip them
12267
12844
            # from the output so that they don't get included in the library
12268
12845
            # dependencies.
12269
 
            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'
 
12846
            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'
12270
12847
            ;;
12271
 
          xl*)
 
12848
          xl* | mpixl* | bgxl*)
12272
12849
            # IBM XL 8.0 on PPC, with GNU ld
12273
12850
            hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
12274
12851
            export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
12288
12865
              archive_cmds_CXX='$CC -G${allow_undefined_flag} -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
12289
12866
              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'
12290
12867
              hardcode_libdir_flag_spec_CXX='-R$libdir'
12291
 
              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'
 
12868
              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'
12292
12869
              compiler_needs_object_CXX=yes
12293
12870
 
12294
12871
              # Not sure whether something based on
12295
12872
              # $CC $CFLAGS -v conftest.$objext -o libconftest$shared_ext 2>&1
12296
12873
              # would be better.
12297
 
              output_verbose_link_cmd='echo'
 
12874
              output_verbose_link_cmd='func_echo_all'
12298
12875
 
12299
12876
              # Archives containing C++ object files must be created using
12300
12877
              # "CC -xar", where "CC" is the Sun C++ compiler.  This is
12363
12940
            export_dynamic_flag_spec_CXX='${wl}-E'
12364
12941
            whole_archive_flag_spec_CXX="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
12365
12942
          fi
12366
 
          output_verbose_link_cmd=echo
 
12943
          output_verbose_link_cmd=func_echo_all
12367
12944
        else
12368
12945
          ld_shlibs_CXX=no
12369
12946
        fi
12398
12975
            case $host in
12399
12976
              osf3*)
12400
12977
                allow_undefined_flag_CXX=' ${wl}-expect_unresolved ${wl}\*'
12401
 
                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'
 
12978
                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'
12402
12979
                hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
12403
12980
                ;;
12404
12981
              *)
12405
12982
                allow_undefined_flag_CXX=' -expect_unresolved \*'
12406
 
                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'
 
12983
                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'
12407
12984
                archive_expsym_cmds_CXX='for i in `cat $export_symbols`; do printf "%s %s\\n" -exported_symbol "\$i" >> $lib.exp; done~
12408
12985
                  echo "-hidden">> $lib.exp~
12409
 
                  $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~
 
12986
                  $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~
12410
12987
                  $RM $lib.exp'
12411
12988
                hardcode_libdir_flag_spec_CXX='-rpath $libdir'
12412
12989
                ;;
12422
12999
            # explicitly linking system object files so we need to strip them
12423
13000
            # from the output so that they don't get included in the library
12424
13001
            # dependencies.
12425
 
            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'
 
13002
            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"'
12426
13003
            ;;
12427
13004
          *)
12428
13005
            if test "$GXX" = yes && test "$with_gnu_ld" = no; then
12429
13006
              allow_undefined_flag_CXX=' ${wl}-expect_unresolved ${wl}\*'
12430
13007
              case $host in
12431
13008
                osf3*)
12432
 
                  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'
 
13009
                  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'
12433
13010
                  ;;
12434
13011
                *)
12435
 
                  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'
 
13012
                  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'
12436
13013
                  ;;
12437
13014
              esac
12438
13015
 
12442
13019
              # Commands to make compiler produce verbose output that lists
12443
13020
              # what "hidden" libraries, object files and flags are used when
12444
13021
              # linking a shared library.
12445
 
              output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP "\-L"'
 
13022
              output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP -v "^Configured with:" | $GREP "\-L"'
12446
13023
 
12447
13024
            else
12448
13025
              # FIXME: insert proper C++ library support
12478
13055
 
12479
13056
      solaris*)
12480
13057
        case $cc_basename in
12481
 
          CC*)
 
13058
          CC* | sunCC*)
12482
13059
            # Sun C++ 4.2, 5.x and Centerline C++
12483
13060
            archive_cmds_need_lc_CXX=yes
12484
13061
            no_undefined_flag_CXX=' -zdefs'
12499
13076
            esac
12500
13077
            link_all_deplibs_CXX=yes
12501
13078
 
12502
 
            output_verbose_link_cmd='echo'
 
13079
            output_verbose_link_cmd='func_echo_all'
12503
13080
 
12504
13081
            # Archives containing C++ object files must be created using
12505
13082
            # "CC -xar", where "CC" is the Sun C++ compiler.  This is
12519
13096
            if test "$GXX" = yes && test "$with_gnu_ld" = no; then
12520
13097
              no_undefined_flag_CXX=' ${wl}-z ${wl}defs'
12521
13098
              if $CC --version | $GREP -v '^2\.7' > /dev/null; then
12522
 
                archive_cmds_CXX='$CC -shared -nostdlib $LDFLAGS $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
 
13099
                archive_cmds_CXX='$CC -shared $pic_flag -nostdlib $LDFLAGS $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
12523
13100
                archive_expsym_cmds_CXX='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
12524
 
                  $CC -shared -nostdlib ${wl}-M $wl$lib.exp -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$RM $lib.exp'
 
13101
                  $CC -shared $pic_flag -nostdlib ${wl}-M $wl$lib.exp -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$RM $lib.exp'
12525
13102
 
12526
13103
                # Commands to make compiler produce verbose output that lists
12527
13104
                # what "hidden" libraries, object files and flags are used when
12528
13105
                # linking a shared library.
12529
 
                output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP "\-L"'
 
13106
                output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP -v "^Configured with:" | $GREP "\-L"'
12530
13107
              else
12531
13108
                # g++ 2.7 appears to require `-G' NOT `-shared' on this
12532
13109
                # platform.
12537
13114
                # Commands to make compiler produce verbose output that lists
12538
13115
                # what "hidden" libraries, object files and flags are used when
12539
13116
                # linking a shared library.
12540
 
                output_verbose_link_cmd='$CC -G $CFLAGS -v conftest.$objext 2>&1 | $GREP "\-L"'
 
13117
                output_verbose_link_cmd='$CC -G $CFLAGS -v conftest.$objext 2>&1 | $GREP -v "^Configured with:" | $GREP "\-L"'
12541
13118
              fi
12542
13119
 
12543
13120
              hardcode_libdir_flag_spec_CXX='${wl}-R $wl$libdir'
12591
13168
          CC*)
12592
13169
            archive_cmds_CXX='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
12593
13170
            archive_expsym_cmds_CXX='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
 
13171
            old_archive_cmds_CXX='$CC -Tprelink_objects $oldobjs~
 
13172
              '"$old_archive_cmds_CXX"
 
13173
            reload_cmds_CXX='$CC -Tprelink_objects $reload_objs~
 
13174
              '"$reload_cmds_CXX"
12594
13175
            ;;
12595
13176
          *)
12596
13177
            archive_cmds_CXX='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
12652
13233
};
12653
13234
_LT_EOF
12654
13235
 
 
13236
 
 
13237
_lt_libdeps_save_CFLAGS=$CFLAGS
 
13238
case "$CC $CFLAGS " in #(
 
13239
*\ -flto*\ *) CFLAGS="$CFLAGS -fno-lto" ;;
 
13240
*\ -fwhopr*\ *) CFLAGS="$CFLAGS -fno-whopr" ;;
 
13241
*\ -fuse-linker-plugin*\ *) CFLAGS="$CFLAGS -fno-use-linker-plugin" ;;
 
13242
esac
 
13243
 
12655
13244
if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
12656
13245
  (eval $ac_compile) 2>&5
12657
13246
  ac_status=$?
12665
13254
  pre_test_object_deps_done=no
12666
13255
 
12667
13256
  for p in `eval "$output_verbose_link_cmd"`; do
12668
 
    case $p in
 
13257
    case ${prev}${p} in
12669
13258
 
12670
13259
    -L* | -R* | -l*)
12671
13260
       # Some compilers place space between "-{L,R}" and the path.
12674
13263
          test $p = "-R"; then
12675
13264
         prev=$p
12676
13265
         continue
12677
 
       else
12678
 
         prev=
12679
13266
       fi
12680
13267
 
 
13268
       # Expand the sysroot to ease extracting the directories later.
 
13269
       if test -z "$prev"; then
 
13270
         case $p in
 
13271
         -L*) func_stripname_cnf '-L' '' "$p"; prev=-L; p=$func_stripname_result ;;
 
13272
         -R*) func_stripname_cnf '-R' '' "$p"; prev=-R; p=$func_stripname_result ;;
 
13273
         -l*) func_stripname_cnf '-l' '' "$p"; prev=-l; p=$func_stripname_result ;;
 
13274
         esac
 
13275
       fi
 
13276
       case $p in
 
13277
       =*) func_stripname_cnf '=' '' "$p"; p=$lt_sysroot$func_stripname_result ;;
 
13278
       esac
12681
13279
       if test "$pre_test_object_deps_done" = no; then
12682
 
         case $p in
12683
 
         -L* | -R*)
 
13280
         case ${prev} in
 
13281
         -L | -R)
12684
13282
           # Internal compiler library paths should come after those
12685
13283
           # provided the user.  The postdeps already come after the
12686
13284
           # user supplied libs so there is no need to process them.
12700
13298
           postdeps_CXX="${postdeps_CXX} ${prev}${p}"
12701
13299
         fi
12702
13300
       fi
 
13301
       prev=
12703
13302
       ;;
12704
13303
 
 
13304
    *.lto.$objext) ;; # Ignore GCC LTO objects
12705
13305
    *.$objext)
12706
13306
       # This assumes that the test object file only shows up
12707
13307
       # once in the compiler output.
12737
13337
fi
12738
13338
 
12739
13339
$RM -f confest.$objext
 
13340
CFLAGS=$_lt_libdeps_save_CFLAGS
12740
13341
 
12741
13342
# PORTME: override above test on systems where it is broken
12742
13343
case $host_os in
12772
13373
 
12773
13374
solaris*)
12774
13375
  case $cc_basename in
12775
 
  CC*)
 
13376
  CC* | sunCC*)
12776
13377
    # The more standards-conforming stlport4 library is
12777
13378
    # incompatible with the Cstd library. Avoid specifying
12778
13379
    # it if it's in CXXFLAGS. Ignore libCrun as
12837
13438
lt_prog_compiler_pic_CXX=
12838
13439
lt_prog_compiler_static_CXX=
12839
13440
 
12840
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5
12841
 
$as_echo_n "checking for $compiler option to produce PIC... " >&6; }
12842
13441
 
12843
13442
  # C++ specific cases for pic, static, wl, etc.
12844
13443
  if test "$GXX" = yes; then
12888
13487
      # DJGPP does not support shared libraries at all
12889
13488
      lt_prog_compiler_pic_CXX=
12890
13489
      ;;
 
13490
    haiku*)
 
13491
      # PIC is the default for Haiku.
 
13492
      # The "-static" flag exists, but is broken.
 
13493
      lt_prog_compiler_static_CXX=
 
13494
      ;;
12891
13495
    interix[3-9]*)
12892
13496
      # Interix 3.x gcc -fpic/-fPIC options generate broken code.
12893
13497
      # Instead, we relocate shared libraries at runtime.
12937
13541
          ;;
12938
13542
        esac
12939
13543
        ;;
 
13544
      mingw* | cygwin* | os2* | pw32* | cegcc*)
 
13545
        # This hack is so that the source file can tell whether it is being
 
13546
        # built for inclusion in a dll (and should export symbols for example).
 
13547
        lt_prog_compiler_pic_CXX='-DDLL_EXPORT'
 
13548
        ;;
12940
13549
      dgux*)
12941
13550
        case $cc_basename in
12942
13551
          ec++*)
12993
13602
            ;;
12994
13603
        esac
12995
13604
        ;;
12996
 
      linux* | k*bsd*-gnu)
 
13605
      linux* | k*bsd*-gnu | kopensolaris*-gnu)
12997
13606
        case $cc_basename in
12998
13607
          KCC*)
12999
13608
            # KAI C++ Compiler
13026
13635
            lt_prog_compiler_pic_CXX=
13027
13636
            lt_prog_compiler_static_CXX='-non_shared'
13028
13637
            ;;
13029
 
          xlc* | xlC*)
13030
 
            # IBM XL 8.0 on PPC
 
13638
          xlc* | xlC* | bgxl[cC]* | mpixl[cC]*)
 
13639
            # IBM XL 8.0, 9.0 on PPC and BlueGene
13031
13640
            lt_prog_compiler_wl_CXX='-Wl,'
13032
13641
            lt_prog_compiler_pic_CXX='-qpic'
13033
13642
            lt_prog_compiler_static_CXX='-qstaticlink'
13089
13698
        ;;
13090
13699
      solaris*)
13091
13700
        case $cc_basename in
13092
 
          CC*)
 
13701
          CC* | sunCC*)
13093
13702
            # Sun C++ 4.2, 5.x and Centerline C++
13094
13703
            lt_prog_compiler_pic_CXX='-KPIC'
13095
13704
            lt_prog_compiler_static_CXX='-Bstatic'
13154
13763
    lt_prog_compiler_pic_CXX="$lt_prog_compiler_pic_CXX -DPIC"
13155
13764
    ;;
13156
13765
esac
13157
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_prog_compiler_pic_CXX" >&5
13158
 
$as_echo "$lt_prog_compiler_pic_CXX" >&6; }
13159
 
 
13160
 
 
 
13766
 
 
13767
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5
 
13768
$as_echo_n "checking for $compiler option to produce PIC... " >&6; }
 
13769
if ${lt_cv_prog_compiler_pic_CXX+:} false; then :
 
13770
  $as_echo_n "(cached) " >&6
 
13771
else
 
13772
  lt_cv_prog_compiler_pic_CXX=$lt_prog_compiler_pic_CXX
 
13773
fi
 
13774
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_CXX" >&5
 
13775
$as_echo "$lt_cv_prog_compiler_pic_CXX" >&6; }
 
13776
lt_prog_compiler_pic_CXX=$lt_cv_prog_compiler_pic_CXX
13161
13777
 
13162
13778
#
13163
13779
# Check to make sure the PIC flag actually works.
13165
13781
if test -n "$lt_prog_compiler_pic_CXX"; then
13166
13782
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler PIC flag $lt_prog_compiler_pic_CXX works" >&5
13167
13783
$as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic_CXX works... " >&6; }
13168
 
if test "${lt_cv_prog_compiler_pic_works_CXX+set}" = set; then :
 
13784
if ${lt_cv_prog_compiler_pic_works_CXX+:} false; then :
13169
13785
  $as_echo_n "(cached) " >&6
13170
13786
else
13171
13787
  lt_cv_prog_compiler_pic_works_CXX=no
13181
13797
   -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
13182
13798
   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
13183
13799
   -e 's:$: $lt_compiler_flag:'`
13184
 
   (eval echo "\"\$as_me:13184: $lt_compile\"" >&5)
 
13800
   (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
13185
13801
   (eval "$lt_compile" 2>conftest.err)
13186
13802
   ac_status=$?
13187
13803
   cat conftest.err >&5
13188
 
   echo "$as_me:13188: \$? = $ac_status" >&5
 
13804
   echo "$as_me:$LINENO: \$? = $ac_status" >&5
13189
13805
   if (exit $ac_status) && test -s "$ac_outfile"; then
13190
13806
     # The compiler can only warn and ignore the option if not recognized
13191
13807
     # So say no if there are warnings other than the usual output.
13192
 
     $ECHO "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' >conftest.exp
 
13808
     $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
13193
13809
     $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
13194
13810
     if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
13195
13811
       lt_cv_prog_compiler_pic_works_CXX=yes
13215
13831
 
13216
13832
 
13217
13833
 
 
13834
 
 
13835
 
13218
13836
#
13219
13837
# Check to make sure the static flag actually works.
13220
13838
#
13221
13839
wl=$lt_prog_compiler_wl_CXX eval lt_tmp_static_flag=\"$lt_prog_compiler_static_CXX\"
13222
13840
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler static flag $lt_tmp_static_flag works" >&5
13223
13841
$as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
13224
 
if test "${lt_cv_prog_compiler_static_works_CXX+set}" = set; then :
 
13842
if ${lt_cv_prog_compiler_static_works_CXX+:} false; then :
13225
13843
  $as_echo_n "(cached) " >&6
13226
13844
else
13227
13845
  lt_cv_prog_compiler_static_works_CXX=no
13234
13852
     if test -s conftest.err; then
13235
13853
       # Append any errors to the config.log.
13236
13854
       cat conftest.err 1>&5
13237
 
       $ECHO "X$_lt_linker_boilerplate" | $Xsed -e '/^$/d' > conftest.exp
 
13855
       $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
13238
13856
       $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
13239
13857
       if diff conftest.exp conftest.er2 >/dev/null; then
13240
13858
         lt_cv_prog_compiler_static_works_CXX=yes
13261
13879
 
13262
13880
    { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
13263
13881
$as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
13264
 
if test "${lt_cv_prog_compiler_c_o_CXX+set}" = set; then :
 
13882
if ${lt_cv_prog_compiler_c_o_CXX+:} false; then :
13265
13883
  $as_echo_n "(cached) " >&6
13266
13884
else
13267
13885
  lt_cv_prog_compiler_c_o_CXX=no
13280
13898
   -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
13281
13899
   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
13282
13900
   -e 's:$: $lt_compiler_flag:'`
13283
 
   (eval echo "\"\$as_me:13283: $lt_compile\"" >&5)
 
13901
   (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
13284
13902
   (eval "$lt_compile" 2>out/conftest.err)
13285
13903
   ac_status=$?
13286
13904
   cat out/conftest.err >&5
13287
 
   echo "$as_me:13287: \$? = $ac_status" >&5
 
13905
   echo "$as_me:$LINENO: \$? = $ac_status" >&5
13288
13906
   if (exit $ac_status) && test -s out/conftest2.$ac_objext
13289
13907
   then
13290
13908
     # The compiler can only warn and ignore the option if not recognized
13291
13909
     # So say no if there are warnings
13292
 
     $ECHO "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' > out/conftest.exp
 
13910
     $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
13293
13911
     $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
13294
13912
     if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
13295
13913
       lt_cv_prog_compiler_c_o_CXX=yes
13313
13931
 
13314
13932
    { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
13315
13933
$as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
13316
 
if test "${lt_cv_prog_compiler_c_o_CXX+set}" = set; then :
 
13934
if ${lt_cv_prog_compiler_c_o_CXX+:} false; then :
13317
13935
  $as_echo_n "(cached) " >&6
13318
13936
else
13319
13937
  lt_cv_prog_compiler_c_o_CXX=no
13332
13950
   -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
13333
13951
   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
13334
13952
   -e 's:$: $lt_compiler_flag:'`
13335
 
   (eval echo "\"\$as_me:13335: $lt_compile\"" >&5)
 
13953
   (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
13336
13954
   (eval "$lt_compile" 2>out/conftest.err)
13337
13955
   ac_status=$?
13338
13956
   cat out/conftest.err >&5
13339
 
   echo "$as_me:13339: \$? = $ac_status" >&5
 
13957
   echo "$as_me:$LINENO: \$? = $ac_status" >&5
13340
13958
   if (exit $ac_status) && test -s out/conftest2.$ac_objext
13341
13959
   then
13342
13960
     # The compiler can only warn and ignore the option if not recognized
13343
13961
     # So say no if there are warnings
13344
 
     $ECHO "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' > out/conftest.exp
 
13962
     $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
13345
13963
     $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
13346
13964
     if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
13347
13965
       lt_cv_prog_compiler_c_o_CXX=yes
13392
14010
$as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
13393
14011
 
13394
14012
  export_symbols_cmds_CXX='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
 
14013
  exclude_expsyms_CXX='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
13395
14014
  case $host_os in
13396
14015
  aix[4-9]*)
13397
14016
    # If we're using GNU nm, then we don't want the "-C" option.
13398
14017
    # -C means demangle to AIX nm, but means don't demangle with GNU nm
 
14018
    # Also, AIX nm treats weak defined symbols like other global defined
 
14019
    # symbols, whereas GNU nm marks them as "W".
13399
14020
    if $NM -V 2>&1 | $GREP 'GNU' > /dev/null; then
13400
 
      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'
 
14021
      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'
13401
14022
    else
13402
14023
      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'
13403
14024
    fi
13404
14025
    ;;
13405
14026
  pw32*)
13406
14027
    export_symbols_cmds_CXX="$ltdll_cmds"
13407
 
  ;;
 
14028
    ;;
13408
14029
  cygwin* | mingw* | cegcc*)
13409
 
    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'
13410
 
  ;;
13411
 
  linux* | k*bsd*-gnu)
 
14030
    case $cc_basename in
 
14031
    cl*)
 
14032
      exclude_expsyms_CXX='_NULL_IMPORT_DESCRIPTOR|_IMPORT_DESCRIPTOR_.*'
 
14033
      ;;
 
14034
    *)
 
14035
      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'
 
14036
      exclude_expsyms_CXX='[_]+GLOBAL_OFFSET_TABLE_|[_]+GLOBAL__[FID]_.*|[_]+head_[A-Za-z0-9_]+_dll|[A-Za-z0-9_]+_dll_iname'
 
14037
      ;;
 
14038
    esac
 
14039
    ;;
 
14040
  linux* | k*bsd*-gnu | gnu*)
13412
14041
    link_all_deplibs_CXX=no
13413
 
  ;;
 
14042
    ;;
13414
14043
  *)
13415
14044
    export_symbols_cmds_CXX='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
13416
 
  ;;
 
14045
    ;;
13417
14046
  esac
13418
 
  exclude_expsyms_CXX='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
13419
14047
 
13420
14048
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs_CXX" >&5
13421
14049
$as_echo "$ld_shlibs_CXX" >&6; }
13447
14075
      # to ld, don't add -lc before -lgcc.
13448
14076
      { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5
13449
14077
$as_echo_n "checking whether -lc should be explicitly linked in... " >&6; }
13450
 
      $RM conftest*
13451
 
      echo "$lt_simple_compile_test_code" > conftest.$ac_ext
 
14078
if ${lt_cv_archive_cmds_need_lc_CXX+:} false; then :
 
14079
  $as_echo_n "(cached) " >&6
 
14080
else
 
14081
  $RM conftest*
 
14082
        echo "$lt_simple_compile_test_code" > conftest.$ac_ext
13452
14083
 
13453
 
      if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
 
14084
        if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
13454
14085
  (eval $ac_compile) 2>&5
13455
14086
  ac_status=$?
13456
14087
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13457
14088
  test $ac_status = 0; } 2>conftest.err; then
13458
 
        soname=conftest
13459
 
        lib=conftest
13460
 
        libobjs=conftest.$ac_objext
13461
 
        deplibs=
13462
 
        wl=$lt_prog_compiler_wl_CXX
13463
 
        pic_flag=$lt_prog_compiler_pic_CXX
13464
 
        compiler_flags=-v
13465
 
        linker_flags=-v
13466
 
        verstring=
13467
 
        output_objdir=.
13468
 
        libname=conftest
13469
 
        lt_save_allow_undefined_flag=$allow_undefined_flag_CXX
13470
 
        allow_undefined_flag_CXX=
13471
 
        if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds_CXX 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5
 
14089
          soname=conftest
 
14090
          lib=conftest
 
14091
          libobjs=conftest.$ac_objext
 
14092
          deplibs=
 
14093
          wl=$lt_prog_compiler_wl_CXX
 
14094
          pic_flag=$lt_prog_compiler_pic_CXX
 
14095
          compiler_flags=-v
 
14096
          linker_flags=-v
 
14097
          verstring=
 
14098
          output_objdir=.
 
14099
          libname=conftest
 
14100
          lt_save_allow_undefined_flag=$allow_undefined_flag_CXX
 
14101
          allow_undefined_flag_CXX=
 
14102
          if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds_CXX 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5
13472
14103
  (eval $archive_cmds_CXX 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1) 2>&5
13473
14104
  ac_status=$?
13474
14105
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13475
14106
  test $ac_status = 0; }
13476
 
        then
13477
 
          archive_cmds_need_lc_CXX=no
13478
 
        else
13479
 
          archive_cmds_need_lc_CXX=yes
13480
 
        fi
13481
 
        allow_undefined_flag_CXX=$lt_save_allow_undefined_flag
13482
 
      else
13483
 
        cat conftest.err 1>&5
13484
 
      fi
13485
 
      $RM conftest*
13486
 
      { $as_echo "$as_me:${as_lineno-$LINENO}: result: $archive_cmds_need_lc_CXX" >&5
13487
 
$as_echo "$archive_cmds_need_lc_CXX" >&6; }
 
14107
          then
 
14108
            lt_cv_archive_cmds_need_lc_CXX=no
 
14109
          else
 
14110
            lt_cv_archive_cmds_need_lc_CXX=yes
 
14111
          fi
 
14112
          allow_undefined_flag_CXX=$lt_save_allow_undefined_flag
 
14113
        else
 
14114
          cat conftest.err 1>&5
 
14115
        fi
 
14116
        $RM conftest*
 
14117
 
 
14118
fi
 
14119
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_archive_cmds_need_lc_CXX" >&5
 
14120
$as_echo "$lt_cv_archive_cmds_need_lc_CXX" >&6; }
 
14121
      archive_cmds_need_lc_CXX=$lt_cv_archive_cmds_need_lc_CXX
13488
14122
      ;;
13489
14123
    esac
13490
14124
  fi
13552
14186
 
13553
14187
 
13554
14188
 
13555
 
 
13556
 
 
13557
14189
    { $as_echo "$as_me:${as_lineno-$LINENO}: checking dynamic linker characteristics" >&5
13558
14190
$as_echo_n "checking dynamic linker characteristics... " >&6; }
13559
14191
 
13579
14211
 
13580
14212
case $host_os in
13581
14213
aix3*)
13582
 
  version_type=linux
 
14214
  version_type=linux # correct to gnu/linux during the next big refactor
13583
14215
  library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a'
13584
14216
  shlibpath_var=LIBPATH
13585
14217
 
13588
14220
  ;;
13589
14221
 
13590
14222
aix[4-9]*)
13591
 
  version_type=linux
 
14223
  version_type=linux # correct to gnu/linux during the next big refactor
13592
14224
  need_lib_prefix=no
13593
14225
  need_version=no
13594
14226
  hardcode_into_libs=yes
13641
14273
  m68k)
13642
14274
    library_names_spec='$libname.ixlibrary $libname.a'
13643
14275
    # Create ${libname}_ixlibrary.a entries in /sys/libs.
13644
 
    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'
 
14276
    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'
13645
14277
    ;;
13646
14278
  esac
13647
14279
  ;;
13653
14285
  ;;
13654
14286
 
13655
14287
bsdi[45]*)
13656
 
  version_type=linux
 
14288
  version_type=linux # correct to gnu/linux during the next big refactor
13657
14289
  need_version=no
13658
14290
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
13659
14291
  soname_spec='${libname}${release}${shared_ext}$major'
13672
14304
  need_version=no
13673
14305
  need_lib_prefix=no
13674
14306
 
13675
 
  case $GCC,$host_os in
13676
 
  yes,cygwin* | yes,mingw* | yes,pw32* | yes,cegcc*)
 
14307
  case $GCC,$cc_basename in
 
14308
  yes,*)
 
14309
    # gcc
13677
14310
    library_names_spec='$libname.dll.a'
13678
14311
    # DLL is installed to $(libdir)/../bin by postinstall_cmds
13679
14312
    postinstall_cmds='base_file=`basename \${file}`~
13694
14327
    cygwin*)
13695
14328
      # Cygwin DLLs use 'cyg' prefix rather than 'lib'
13696
14329
      soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
13697
 
      sys_lib_search_path_spec="/usr/lib /lib/w32api /lib /usr/local/lib"
 
14330
 
13698
14331
      ;;
13699
14332
    mingw* | cegcc*)
13700
14333
      # MinGW DLLs use traditional 'lib' prefix
13701
14334
      soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
13702
 
      sys_lib_search_path_spec=`$CC -print-search-dirs | $GREP "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
13703
 
      if $ECHO "$sys_lib_search_path_spec" | $GREP ';[c-zC-Z]:/' >/dev/null; then
13704
 
        # It is most probably a Windows format PATH printed by
13705
 
        # mingw gcc, but we are running on Cygwin. Gcc prints its search
13706
 
        # path with ; separators, and with drive letters. We can handle the
13707
 
        # drive letters (cygwin fileutils understands them), so leave them,
13708
 
        # especially as we might pass files found there to a mingw objdump,
13709
 
        # which wouldn't understand a cygwinified path. Ahh.
13710
 
        sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
13711
 
      else
13712
 
        sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED  -e "s/$PATH_SEPARATOR/ /g"`
13713
 
      fi
13714
14335
      ;;
13715
14336
    pw32*)
13716
14337
      # pw32 DLLs use 'pw' prefix rather than 'lib'
13717
14338
      library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
13718
14339
      ;;
13719
14340
    esac
 
14341
    dynamic_linker='Win32 ld.exe'
 
14342
    ;;
 
14343
 
 
14344
  *,cl*)
 
14345
    # Native MSVC
 
14346
    libname_spec='$name'
 
14347
    soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
 
14348
    library_names_spec='${libname}.dll.lib'
 
14349
 
 
14350
    case $build_os in
 
14351
    mingw*)
 
14352
      sys_lib_search_path_spec=
 
14353
      lt_save_ifs=$IFS
 
14354
      IFS=';'
 
14355
      for lt_path in $LIB
 
14356
      do
 
14357
        IFS=$lt_save_ifs
 
14358
        # Let DOS variable expansion print the short 8.3 style file name.
 
14359
        lt_path=`cd "$lt_path" 2>/dev/null && cmd //C "for %i in (".") do @echo %~si"`
 
14360
        sys_lib_search_path_spec="$sys_lib_search_path_spec $lt_path"
 
14361
      done
 
14362
      IFS=$lt_save_ifs
 
14363
      # Convert to MSYS style.
 
14364
      sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | sed -e 's|\\\\|/|g' -e 's| \\([a-zA-Z]\\):| /\\1|g' -e 's|^ ||'`
 
14365
      ;;
 
14366
    cygwin*)
 
14367
      # Convert to unix form, then to dos form, then back to unix form
 
14368
      # but this time dos style (no spaces!) so that the unix form looks
 
14369
      # like /cygdrive/c/PROGRA~1:/cygdr...
 
14370
      sys_lib_search_path_spec=`cygpath --path --unix "$LIB"`
 
14371
      sys_lib_search_path_spec=`cygpath --path --dos "$sys_lib_search_path_spec" 2>/dev/null`
 
14372
      sys_lib_search_path_spec=`cygpath --path --unix "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
 
14373
      ;;
 
14374
    *)
 
14375
      sys_lib_search_path_spec="$LIB"
 
14376
      if $ECHO "$sys_lib_search_path_spec" | $GREP ';[c-zC-Z]:/' >/dev/null; then
 
14377
        # It is most probably a Windows format PATH.
 
14378
        sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
 
14379
      else
 
14380
        sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
 
14381
      fi
 
14382
      # FIXME: find the short name or the path components, as spaces are
 
14383
      # common. (e.g. "Program Files" -> "PROGRA~1")
 
14384
      ;;
 
14385
    esac
 
14386
 
 
14387
    # DLL is installed to $(libdir)/../bin by postinstall_cmds
 
14388
    postinstall_cmds='base_file=`basename \${file}`~
 
14389
      dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
 
14390
      dldir=$destdir/`dirname \$dlpath`~
 
14391
      test -d \$dldir || mkdir -p \$dldir~
 
14392
      $install_prog $dir/$dlname \$dldir/$dlname'
 
14393
    postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
 
14394
      dlpath=$dir/\$dldll~
 
14395
       $RM \$dlpath'
 
14396
    shlibpath_overrides_runpath=yes
 
14397
    dynamic_linker='Win32 link.exe'
13720
14398
    ;;
13721
14399
 
13722
14400
  *)
 
14401
    # Assume MSVC wrapper
13723
14402
    library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
 
14403
    dynamic_linker='Win32 ld.exe'
13724
14404
    ;;
13725
14405
  esac
13726
 
  dynamic_linker='Win32 ld.exe'
13727
14406
  # FIXME: first we should search . and the directory the executable is in
13728
14407
  shlibpath_var=PATH
13729
14408
  ;;
13743
14422
  ;;
13744
14423
 
13745
14424
dgux*)
13746
 
  version_type=linux
 
14425
  version_type=linux # correct to gnu/linux during the next big refactor
13747
14426
  need_lib_prefix=no
13748
14427
  need_version=no
13749
14428
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
13751
14430
  shlibpath_var=LD_LIBRARY_PATH
13752
14431
  ;;
13753
14432
 
13754
 
freebsd1*)
13755
 
  dynamic_linker=no
13756
 
  ;;
13757
 
 
13758
14433
freebsd* | dragonfly*)
13759
14434
  # DragonFly does not have aout.  When/if they implement a new
13760
14435
  # versioning mechanism, adjust this.
13762
14437
    objformat=`/usr/bin/objformat`
13763
14438
  else
13764
14439
    case $host_os in
13765
 
    freebsd[123]*) objformat=aout ;;
 
14440
    freebsd[23].*) objformat=aout ;;
13766
14441
    *) objformat=elf ;;
13767
14442
    esac
13768
14443
  fi
13780
14455
  esac
13781
14456
  shlibpath_var=LD_LIBRARY_PATH
13782
14457
  case $host_os in
13783
 
  freebsd2*)
 
14458
  freebsd2.*)
13784
14459
    shlibpath_overrides_runpath=yes
13785
14460
    ;;
13786
14461
  freebsd3.[01]* | freebsdelf3.[01]*)
13800
14475
  ;;
13801
14476
 
13802
14477
gnu*)
13803
 
  version_type=linux
 
14478
  version_type=linux # correct to gnu/linux during the next big refactor
13804
14479
  need_lib_prefix=no
13805
14480
  need_version=no
13806
14481
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
13807
14482
  soname_spec='${libname}${release}${shared_ext}$major'
13808
14483
  shlibpath_var=LD_LIBRARY_PATH
 
14484
  shlibpath_overrides_runpath=no
 
14485
  hardcode_into_libs=yes
 
14486
  ;;
 
14487
 
 
14488
haiku*)
 
14489
  version_type=linux # correct to gnu/linux during the next big refactor
 
14490
  need_lib_prefix=no
 
14491
  need_version=no
 
14492
  dynamic_linker="$host_os runtime_loader"
 
14493
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
 
14494
  soname_spec='${libname}${release}${shared_ext}$major'
 
14495
  shlibpath_var=LIBRARY_PATH
 
14496
  shlibpath_overrides_runpath=yes
 
14497
  sys_lib_dlsearch_path_spec='/boot/home/config/lib /boot/common/lib /boot/system/lib'
13809
14498
  hardcode_into_libs=yes
13810
14499
  ;;
13811
14500
 
13851
14540
    soname_spec='${libname}${release}${shared_ext}$major'
13852
14541
    ;;
13853
14542
  esac
13854
 
  # HP-UX runs *really* slowly unless shared libraries are mode 555.
 
14543
  # HP-UX runs *really* slowly unless shared libraries are mode 555, ...
13855
14544
  postinstall_cmds='chmod 555 $lib'
 
14545
  # or fails outright, so override atomically:
 
14546
  install_override_mode=555
13856
14547
  ;;
13857
14548
 
13858
14549
interix[3-9]*)
13859
 
  version_type=linux
 
14550
  version_type=linux # correct to gnu/linux during the next big refactor
13860
14551
  need_lib_prefix=no
13861
14552
  need_version=no
13862
14553
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
13872
14563
    nonstopux*) version_type=nonstopux ;;
13873
14564
    *)
13874
14565
        if test "$lt_cv_prog_gnu_ld" = yes; then
13875
 
                version_type=linux
 
14566
                version_type=linux # correct to gnu/linux during the next big refactor
13876
14567
        else
13877
14568
                version_type=irix
13878
14569
        fi ;;
13909
14600
  dynamic_linker=no
13910
14601
  ;;
13911
14602
 
13912
 
# This must be Linux ELF.
13913
 
linux* | k*bsd*-gnu)
13914
 
  version_type=linux
 
14603
# This must be glibc/ELF.
 
14604
linux* | k*bsd*-gnu | kopensolaris*-gnu)
 
14605
  version_type=linux # correct to gnu/linux during the next big refactor
13915
14606
  need_lib_prefix=no
13916
14607
  need_version=no
13917
14608
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
13919
14610
  finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
13920
14611
  shlibpath_var=LD_LIBRARY_PATH
13921
14612
  shlibpath_overrides_runpath=no
 
14613
 
13922
14614
  # Some binutils ld are patched to set DT_RUNPATH
13923
 
  save_LDFLAGS=$LDFLAGS
13924
 
  save_libdir=$libdir
13925
 
  eval "libdir=/foo; wl=\"$lt_prog_compiler_wl_CXX\"; \
13926
 
       LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec_CXX\""
13927
 
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 
14615
  if ${lt_cv_shlibpath_overrides_runpath+:} false; then :
 
14616
  $as_echo_n "(cached) " >&6
 
14617
else
 
14618
  lt_cv_shlibpath_overrides_runpath=no
 
14619
    save_LDFLAGS=$LDFLAGS
 
14620
    save_libdir=$libdir
 
14621
    eval "libdir=/foo; wl=\"$lt_prog_compiler_wl_CXX\"; \
 
14622
         LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec_CXX\""
 
14623
    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13928
14624
/* end confdefs.h.  */
13929
14625
 
13930
14626
int
13937
14633
_ACEOF
13938
14634
if ac_fn_cxx_try_link "$LINENO"; then :
13939
14635
  if  ($OBJDUMP -p conftest$ac_exeext) 2>/dev/null | grep "RUNPATH.*$libdir" >/dev/null; then :
13940
 
  shlibpath_overrides_runpath=yes
 
14636
  lt_cv_shlibpath_overrides_runpath=yes
13941
14637
fi
13942
14638
fi
13943
14639
rm -f core conftest.err conftest.$ac_objext \
13944
14640
    conftest$ac_exeext conftest.$ac_ext
13945
 
  LDFLAGS=$save_LDFLAGS
13946
 
  libdir=$save_libdir
 
14641
    LDFLAGS=$save_LDFLAGS
 
14642
    libdir=$save_libdir
 
14643
 
 
14644
fi
 
14645
 
 
14646
  shlibpath_overrides_runpath=$lt_cv_shlibpath_overrides_runpath
13947
14647
 
13948
14648
  # This implies no fast_install, which is unacceptable.
13949
14649
  # Some rework will be needed to allow for fast_install
13952
14652
 
13953
14653
  # Append ld.so.conf contents to the search path
13954
14654
  if test -f /etc/ld.so.conf; then
13955
 
    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' ' '`
 
14655
    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' ' '`
13956
14656
    sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra"
13957
14657
  fi
13958
14658
 
13996
14696
  ;;
13997
14697
 
13998
14698
newsos6)
13999
 
  version_type=linux
 
14699
  version_type=linux # correct to gnu/linux during the next big refactor
14000
14700
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14001
14701
  shlibpath_var=LD_LIBRARY_PATH
14002
14702
  shlibpath_overrides_runpath=yes
14065
14765
  ;;
14066
14766
 
14067
14767
solaris*)
14068
 
  version_type=linux
 
14768
  version_type=linux # correct to gnu/linux during the next big refactor
14069
14769
  need_lib_prefix=no
14070
14770
  need_version=no
14071
14771
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14090
14790
  ;;
14091
14791
 
14092
14792
sysv4 | sysv4.3*)
14093
 
  version_type=linux
 
14793
  version_type=linux # correct to gnu/linux during the next big refactor
14094
14794
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14095
14795
  soname_spec='${libname}${release}${shared_ext}$major'
14096
14796
  shlibpath_var=LD_LIBRARY_PATH
14114
14814
 
14115
14815
sysv4*MP*)
14116
14816
  if test -d /usr/nec ;then
14117
 
    version_type=linux
 
14817
    version_type=linux # correct to gnu/linux during the next big refactor
14118
14818
    library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
14119
14819
    soname_spec='$libname${shared_ext}.$major'
14120
14820
    shlibpath_var=LD_LIBRARY_PATH
14145
14845
 
14146
14846
tpf*)
14147
14847
  # TPF is a cross-target only.  Preferred cross-host = GNU/Linux.
14148
 
  version_type=linux
 
14848
  version_type=linux # correct to gnu/linux during the next big refactor
14149
14849
  need_lib_prefix=no
14150
14850
  need_version=no
14151
14851
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14155
14855
  ;;
14156
14856
 
14157
14857
uts4*)
14158
 
  version_type=linux
 
14858
  version_type=linux # correct to gnu/linux during the next big refactor
14159
14859
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14160
14860
  soname_spec='${libname}${release}${shared_ext}$major'
14161
14861
  shlibpath_var=LD_LIBRARY_PATH
14216
14916
 
14217
14917
 
14218
14918
 
 
14919
 
 
14920
 
14219
14921
    { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to hardcode library paths into programs" >&5
14220
14922
$as_echo_n "checking how to hardcode library paths into programs... " >&6; }
14221
14923
hardcode_action_CXX=
14263
14965
  fi # test -n "$compiler"
14264
14966
 
14265
14967
  CC=$lt_save_CC
 
14968
  CFLAGS=$lt_save_CFLAGS
14266
14969
  LDCXX=$LD
14267
14970
  LD=$lt_save_LD
14268
14971
  GCC=$lt_save_GCC
14282
14985
 
14283
14986
 
14284
14987
 
 
14988
 
 
14989
 
 
14990
 
 
14991
 
 
14992
 
 
14993
 
 
14994
 
 
14995
 
 
14996
 
 
14997
 
 
14998
 
 
14999
        ac_config_commands="$ac_config_commands libtool"
 
15000
 
 
15001
 
 
15002
 
 
15003
 
 
15004
# Only expand once:
 
15005
 
 
15006
 
 
15007
 
14285
15008
# checks for libraries.
 
15009
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for main in -lboost_filesystem-mt" >&5
 
15010
$as_echo_n "checking for main in -lboost_filesystem-mt... " >&6; }
 
15011
if ${ac_cv_lib_boost_filesystem_mt_main+:} false; then :
 
15012
  $as_echo_n "(cached) " >&6
 
15013
else
 
15014
  ac_check_lib_save_LIBS=$LIBS
 
15015
LIBS="-lboost_filesystem-mt  $LIBS"
 
15016
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 
15017
/* end confdefs.h.  */
 
15018
 
 
15019
 
 
15020
int
 
15021
main ()
 
15022
{
 
15023
return main ();
 
15024
  ;
 
15025
  return 0;
 
15026
}
 
15027
_ACEOF
 
15028
if ac_fn_c_try_link "$LINENO"; then :
 
15029
  ac_cv_lib_boost_filesystem_mt_main=yes
 
15030
else
 
15031
  ac_cv_lib_boost_filesystem_mt_main=no
 
15032
fi
 
15033
rm -f core conftest.err conftest.$ac_objext \
 
15034
    conftest$ac_exeext conftest.$ac_ext
 
15035
LIBS=$ac_check_lib_save_LIBS
 
15036
fi
 
15037
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_boost_filesystem_mt_main" >&5
 
15038
$as_echo "$ac_cv_lib_boost_filesystem_mt_main" >&6; }
 
15039
if test "x$ac_cv_lib_boost_filesystem_mt_main" = xyes; then :
 
15040
  cat >>confdefs.h <<_ACEOF
 
15041
#define HAVE_LIBBOOST_FILESYSTEM_MT 1
 
15042
_ACEOF
 
15043
 
 
15044
  LIBS="-lboost_filesystem-mt $LIBS"
 
15045
 
 
15046
else
 
15047
  { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Unable to find Boost Filesystem library - the library tests may not compile!" >&5
 
15048
$as_echo "$as_me: WARNING: Unable to find Boost Filesystem library - the library tests may not compile!" >&2;}
 
15049
fi
 
15050
 
 
15051
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for main in -lboost_thread-mt" >&5
 
15052
$as_echo_n "checking for main in -lboost_thread-mt... " >&6; }
 
15053
if ${ac_cv_lib_boost_thread_mt_main+:} false; then :
 
15054
  $as_echo_n "(cached) " >&6
 
15055
else
 
15056
  ac_check_lib_save_LIBS=$LIBS
 
15057
LIBS="-lboost_thread-mt  $LIBS"
 
15058
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 
15059
/* end confdefs.h.  */
 
15060
 
 
15061
 
 
15062
int
 
15063
main ()
 
15064
{
 
15065
return main ();
 
15066
  ;
 
15067
  return 0;
 
15068
}
 
15069
_ACEOF
 
15070
if ac_fn_c_try_link "$LINENO"; then :
 
15071
  ac_cv_lib_boost_thread_mt_main=yes
 
15072
else
 
15073
  ac_cv_lib_boost_thread_mt_main=no
 
15074
fi
 
15075
rm -f core conftest.err conftest.$ac_objext \
 
15076
    conftest$ac_exeext conftest.$ac_ext
 
15077
LIBS=$ac_check_lib_save_LIBS
 
15078
fi
 
15079
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_boost_thread_mt_main" >&5
 
15080
$as_echo "$ac_cv_lib_boost_thread_mt_main" >&6; }
 
15081
if test "x$ac_cv_lib_boost_thread_mt_main" = xyes; then :
 
15082
  cat >>confdefs.h <<_ACEOF
 
15083
#define HAVE_LIBBOOST_THREAD_MT 1
 
15084
_ACEOF
 
15085
 
 
15086
  LIBS="-lboost_thread-mt $LIBS"
 
15087
 
 
15088
else
 
15089
  as_fn_error $? "Unable to find Boost Thread library" "$LINENO" 5
 
15090
fi
 
15091
 
 
15092
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqlite3_initialize in -lsqlite3" >&5
 
15093
$as_echo_n "checking for sqlite3_initialize in -lsqlite3... " >&6; }
 
15094
if ${ac_cv_lib_sqlite3_sqlite3_initialize+:} false; then :
 
15095
  $as_echo_n "(cached) " >&6
 
15096
else
 
15097
  ac_check_lib_save_LIBS=$LIBS
 
15098
LIBS="-lsqlite3  $LIBS"
 
15099
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 
15100
/* end confdefs.h.  */
 
15101
 
 
15102
/* Override any GCC internal prototype to avoid an error.
 
15103
   Use char because int might match the return type of a GCC
 
15104
   builtin and then its argument prototype would still apply.  */
 
15105
#ifdef __cplusplus
 
15106
extern "C"
 
15107
#endif
 
15108
char sqlite3_initialize ();
 
15109
int
 
15110
main ()
 
15111
{
 
15112
return sqlite3_initialize ();
 
15113
  ;
 
15114
  return 0;
 
15115
}
 
15116
_ACEOF
 
15117
if ac_fn_c_try_link "$LINENO"; then :
 
15118
  ac_cv_lib_sqlite3_sqlite3_initialize=yes
 
15119
else
 
15120
  ac_cv_lib_sqlite3_sqlite3_initialize=no
 
15121
fi
 
15122
rm -f core conftest.err conftest.$ac_objext \
 
15123
    conftest$ac_exeext conftest.$ac_ext
 
15124
LIBS=$ac_check_lib_save_LIBS
 
15125
fi
 
15126
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_sqlite3_sqlite3_initialize" >&5
 
15127
$as_echo "$ac_cv_lib_sqlite3_sqlite3_initialize" >&6; }
 
15128
if test "x$ac_cv_lib_sqlite3_sqlite3_initialize" = xyes; then :
 
15129
  cat >>confdefs.h <<_ACEOF
 
15130
#define HAVE_LIBSQLITE3 1
 
15131
_ACEOF
 
15132
 
 
15133
  LIBS="-lsqlite3 $LIBS"
 
15134
 
 
15135
else
 
15136
  as_fn_error $? "Unable to find SQLite3 library" "$LINENO" 5
 
15137
fi
 
15138
 
14286
15139
 
14287
15140
# checks for header files.
14288
15141
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
14289
15142
$as_echo_n "checking for ANSI C header files... " >&6; }
14290
 
if test "${ac_cv_header_stdc+set}" = set; then :
 
15143
if ${ac_cv_header_stdc+:} false; then :
14291
15144
  $as_echo_n "(cached) " >&6
14292
15145
else
14293
15146
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14400
15253
for ac_header in string.h
14401
15254
do :
14402
15255
  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 :
 
15256
if test "x$ac_cv_header_string_h" = xyes; then :
14404
15257
  cat >>confdefs.h <<_ACEOF
14405
15258
#define HAVE_STRING_H 1
14406
15259
_ACEOF
14414
15267
 
14415
15268
# checks for library functions.
14416
15269
 
14417
 
ac_config_files="$ac_config_files Makefile src/Makefile test/Makefile"
 
15270
ac_config_files="$ac_config_files Makefile src/Makefile include/Makefile test/Makefile"
14418
15271
 
14419
15272
cat >confcache <<\_ACEOF
14420
15273
# This file is a shell script that caches the results of configure
14480
15333
     :end' >>confcache
14481
15334
if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
14482
15335
  if test -w "$cache_file"; then
14483
 
    test "x$cache_file" != "x/dev/null" &&
 
15336
    if test "x$cache_file" != "x/dev/null"; then
14484
15337
      { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
14485
15338
$as_echo "$as_me: updating cache $cache_file" >&6;}
14486
 
    cat confcache >$cache_file
 
15339
      if test ! -f "$cache_file" || test -h "$cache_file"; then
 
15340
        cat confcache >"$cache_file"
 
15341
      else
 
15342
        case $cache_file in #(
 
15343
        */* | ?:*)
 
15344
          mv -f confcache "$cache_file"$$ &&
 
15345
          mv -f "$cache_file"$$ "$cache_file" ;; #(
 
15346
        *)
 
15347
          mv -f confcache "$cache_file" ;;
 
15348
        esac
 
15349
      fi
 
15350
    fi
14487
15351
  else
14488
15352
    { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
14489
15353
$as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
14499
15363
 
14500
15364
ac_libobjs=
14501
15365
ac_ltlibobjs=
 
15366
U=
14502
15367
for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
14503
15368
  # 1. Remove the extension, and $U if already installed.
14504
15369
  ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
14522
15387
fi
14523
15388
 
14524
15389
if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
14525
 
  as_fn_error "conditional \"AMDEP\" was never defined.
 
15390
  as_fn_error $? "conditional \"AMDEP\" was never defined.
 
15391
Usually this means the macro was only invoked conditionally." "$LINENO" 5
 
15392
fi
 
15393
if test -z "${am__fastdepCXX_TRUE}" && test -z "${am__fastdepCXX_FALSE}"; then
 
15394
  as_fn_error $? "conditional \"am__fastdepCXX\" was never defined.
14526
15395
Usually this means the macro was only invoked conditionally." "$LINENO" 5
14527
15396
fi
14528
15397
if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
14529
 
  as_fn_error "conditional \"am__fastdepCC\" was never defined.
14530
 
Usually this means the macro was only invoked conditionally." "$LINENO" 5
14531
 
fi
14532
 
if test -z "${am__fastdepCXX_TRUE}" && test -z "${am__fastdepCXX_FALSE}"; then
14533
 
  as_fn_error "conditional \"am__fastdepCXX\" 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.
 
15398
  as_fn_error $? "conditional \"am__fastdepCC\" was never defined.
14538
15399
Usually this means the macro was only invoked conditionally." "$LINENO" 5
14539
15400
fi
14540
15401
 
14541
 
: ${CONFIG_STATUS=./config.status}
 
15402
: "${CONFIG_STATUS=./config.status}"
14542
15403
ac_write_fail=0
14543
15404
ac_clean_files_save=$ac_clean_files
14544
15405
ac_clean_files="$ac_clean_files $CONFIG_STATUS"
14639
15500
IFS=" ""        $as_nl"
14640
15501
 
14641
15502
# Find who we are.  Look in the path if we contain no directory separator.
 
15503
as_myself=
14642
15504
case $0 in #((
14643
15505
  *[\\/]* ) as_myself=$0 ;;
14644
15506
  *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
14684
15546
(unset CDPATH) >/dev/null 2>&1 && unset CDPATH
14685
15547
 
14686
15548
 
14687
 
# as_fn_error ERROR [LINENO LOG_FD]
14688
 
# ---------------------------------
 
15549
# as_fn_error STATUS ERROR [LINENO LOG_FD]
 
15550
# ----------------------------------------
14689
15551
# Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
14690
15552
# provided, also output the error to LOG_FD, referencing LINENO. Then exit the
14691
 
# script with status $?, using 1 if that was 0.
 
15553
# script with STATUS, using 1 if that was 0.
14692
15554
as_fn_error ()
14693
15555
{
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
 
15556
  as_status=$1; test $as_status -eq 0 && as_status=1
 
15557
  if test "$4"; then
 
15558
    as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
 
15559
    $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
14698
15560
  fi
14699
 
  $as_echo "$as_me: error: $1" >&2
 
15561
  $as_echo "$as_me: error: $2" >&2
14700
15562
  as_fn_exit $as_status
14701
15563
} # as_fn_error
14702
15564
 
14892
15754
      test -d "$as_dir" && break
14893
15755
    done
14894
15756
    test -z "$as_dirs" || eval "mkdir $as_dirs"
14895
 
  } || test -d "$as_dir" || as_fn_error "cannot create directory $as_dir"
 
15757
  } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
14896
15758
 
14897
15759
 
14898
15760
} # as_fn_mkdir_p
14945
15807
# report actual input values of CONFIG_FILES etc. instead of their
14946
15808
# values after options handling.
14947
15809
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
 
15810
This file was extended by sqlite3cc $as_me 0.2dev, which was
 
15811
generated by GNU Autoconf 2.68.  Invocation command line was
14950
15812
 
14951
15813
  CONFIG_FILES    = $CONFIG_FILES
14952
15814
  CONFIG_HEADERS  = $CONFIG_HEADERS
14986
15848
 
14987
15849
  -h, --help       print this help, then exit
14988
15850
  -V, --version    print version number and configuration settings, then exit
 
15851
      --config     print configuration, then exit
14989
15852
  -q, --quiet, --silent
14990
15853
                   do not print progress messages
14991
15854
  -d, --debug      don't remove temporary files
15004
15867
Configuration commands:
15005
15868
$config_commands
15006
15869
 
15007
 
Report bugs to <edam@waxworlds.org>."
 
15870
Report bugs to <tim@ed.am>.
 
15871
sqlite3cc home page: <http://ed.am/dev/sqlite3cc>."
15008
15872
 
15009
15873
_ACEOF
15010
15874
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
 
15875
ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
15011
15876
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'`\\"
 
15877
sqlite3cc config.status 0.2dev
 
15878
configured by $0, generated by GNU Autoconf 2.68,
 
15879
  with options \\"\$ac_cs_config\\"
15015
15880
 
15016
 
Copyright (C) 2009 Free Software Foundation, Inc.
 
15881
Copyright (C) 2010 Free Software Foundation, Inc.
15017
15882
This config.status script is free software; the Free Software Foundation
15018
15883
gives unlimited permission to copy, distribute and modify it."
15019
15884
 
15031
15896
while test $# != 0
15032
15897
do
15033
15898
  case $1 in
15034
 
  --*=*)
 
15899
  --*=?*)
15035
15900
    ac_option=`expr "X$1" : 'X\([^=]*\)='`
15036
15901
    ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
15037
15902
    ac_shift=:
15038
15903
    ;;
 
15904
  --*=)
 
15905
    ac_option=`expr "X$1" : 'X\([^=]*\)='`
 
15906
    ac_optarg=
 
15907
    ac_shift=:
 
15908
    ;;
15039
15909
  *)
15040
15910
    ac_option=$1
15041
15911
    ac_optarg=$2
15049
15919
    ac_cs_recheck=: ;;
15050
15920
  --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
15051
15921
    $as_echo "$ac_cs_version"; exit ;;
 
15922
  --config | --confi | --conf | --con | --co | --c )
 
15923
    $as_echo "$ac_cs_config"; exit ;;
15052
15924
  --debug | --debu | --deb | --de | --d | -d )
15053
15925
    debug=: ;;
15054
15926
  --file | --fil | --fi | --f )
15055
15927
    $ac_shift
15056
15928
    case $ac_optarg in
15057
15929
    *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
 
15930
    '') as_fn_error $? "missing file argument" ;;
15058
15931
    esac
15059
15932
    as_fn_append CONFIG_FILES " '$ac_optarg'"
15060
15933
    ac_need_defaults=false;;
15067
15940
    ac_need_defaults=false;;
15068
15941
  --he | --h)
15069
15942
    # Conflict between --help and --header
15070
 
    as_fn_error "ambiguous option: \`$1'
 
15943
    as_fn_error $? "ambiguous option: \`$1'
15071
15944
Try \`$0 --help' for more information.";;
15072
15945
  --help | --hel | -h )
15073
15946
    $as_echo "$ac_cs_usage"; exit ;;
15076
15949
    ac_cs_silent=: ;;
15077
15950
 
15078
15951
  # This is an error.
15079
 
  -*) as_fn_error "unrecognized option: \`$1'
 
15952
  -*) as_fn_error $? "unrecognized option: \`$1'
15080
15953
Try \`$0 --help' for more information." ;;
15081
15954
 
15082
15955
  *) as_fn_append ac_config_targets " $1"
15130
16003
sed_quote_subst='$sed_quote_subst'
15131
16004
double_quote_subst='$double_quote_subst'
15132
16005
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"`'
 
16006
macro_version='`$ECHO "$macro_version" | $SED "$delay_single_quote_subst"`'
 
16007
macro_revision='`$ECHO "$macro_revision" | $SED "$delay_single_quote_subst"`'
 
16008
enable_shared='`$ECHO "$enable_shared" | $SED "$delay_single_quote_subst"`'
 
16009
enable_static='`$ECHO "$enable_static" | $SED "$delay_single_quote_subst"`'
 
16010
pic_mode='`$ECHO "$pic_mode" | $SED "$delay_single_quote_subst"`'
 
16011
enable_fast_install='`$ECHO "$enable_fast_install" | $SED "$delay_single_quote_subst"`'
 
16012
SHELL='`$ECHO "$SHELL" | $SED "$delay_single_quote_subst"`'
 
16013
ECHO='`$ECHO "$ECHO" | $SED "$delay_single_quote_subst"`'
 
16014
PATH_SEPARATOR='`$ECHO "$PATH_SEPARATOR" | $SED "$delay_single_quote_subst"`'
 
16015
host_alias='`$ECHO "$host_alias" | $SED "$delay_single_quote_subst"`'
 
16016
host='`$ECHO "$host" | $SED "$delay_single_quote_subst"`'
 
16017
host_os='`$ECHO "$host_os" | $SED "$delay_single_quote_subst"`'
 
16018
build_alias='`$ECHO "$build_alias" | $SED "$delay_single_quote_subst"`'
 
16019
build='`$ECHO "$build" | $SED "$delay_single_quote_subst"`'
 
16020
build_os='`$ECHO "$build_os" | $SED "$delay_single_quote_subst"`'
 
16021
SED='`$ECHO "$SED" | $SED "$delay_single_quote_subst"`'
 
16022
Xsed='`$ECHO "$Xsed" | $SED "$delay_single_quote_subst"`'
 
16023
GREP='`$ECHO "$GREP" | $SED "$delay_single_quote_subst"`'
 
16024
EGREP='`$ECHO "$EGREP" | $SED "$delay_single_quote_subst"`'
 
16025
FGREP='`$ECHO "$FGREP" | $SED "$delay_single_quote_subst"`'
 
16026
LD='`$ECHO "$LD" | $SED "$delay_single_quote_subst"`'
 
16027
NM='`$ECHO "$NM" | $SED "$delay_single_quote_subst"`'
 
16028
LN_S='`$ECHO "$LN_S" | $SED "$delay_single_quote_subst"`'
 
16029
max_cmd_len='`$ECHO "$max_cmd_len" | $SED "$delay_single_quote_subst"`'
 
16030
ac_objext='`$ECHO "$ac_objext" | $SED "$delay_single_quote_subst"`'
 
16031
exeext='`$ECHO "$exeext" | $SED "$delay_single_quote_subst"`'
 
16032
lt_unset='`$ECHO "$lt_unset" | $SED "$delay_single_quote_subst"`'
 
16033
lt_SP2NL='`$ECHO "$lt_SP2NL" | $SED "$delay_single_quote_subst"`'
 
16034
lt_NL2SP='`$ECHO "$lt_NL2SP" | $SED "$delay_single_quote_subst"`'
 
16035
lt_cv_to_host_file_cmd='`$ECHO "$lt_cv_to_host_file_cmd" | $SED "$delay_single_quote_subst"`'
 
16036
lt_cv_to_tool_file_cmd='`$ECHO "$lt_cv_to_tool_file_cmd" | $SED "$delay_single_quote_subst"`'
 
16037
reload_flag='`$ECHO "$reload_flag" | $SED "$delay_single_quote_subst"`'
 
16038
reload_cmds='`$ECHO "$reload_cmds" | $SED "$delay_single_quote_subst"`'
 
16039
OBJDUMP='`$ECHO "$OBJDUMP" | $SED "$delay_single_quote_subst"`'
 
16040
deplibs_check_method='`$ECHO "$deplibs_check_method" | $SED "$delay_single_quote_subst"`'
 
16041
file_magic_cmd='`$ECHO "$file_magic_cmd" | $SED "$delay_single_quote_subst"`'
 
16042
file_magic_glob='`$ECHO "$file_magic_glob" | $SED "$delay_single_quote_subst"`'
 
16043
want_nocaseglob='`$ECHO "$want_nocaseglob" | $SED "$delay_single_quote_subst"`'
 
16044
DLLTOOL='`$ECHO "$DLLTOOL" | $SED "$delay_single_quote_subst"`'
 
16045
sharedlib_from_linklib_cmd='`$ECHO "$sharedlib_from_linklib_cmd" | $SED "$delay_single_quote_subst"`'
 
16046
AR='`$ECHO "$AR" | $SED "$delay_single_quote_subst"`'
 
16047
AR_FLAGS='`$ECHO "$AR_FLAGS" | $SED "$delay_single_quote_subst"`'
 
16048
archiver_list_spec='`$ECHO "$archiver_list_spec" | $SED "$delay_single_quote_subst"`'
 
16049
STRIP='`$ECHO "$STRIP" | $SED "$delay_single_quote_subst"`'
 
16050
RANLIB='`$ECHO "$RANLIB" | $SED "$delay_single_quote_subst"`'
 
16051
old_postinstall_cmds='`$ECHO "$old_postinstall_cmds" | $SED "$delay_single_quote_subst"`'
 
16052
old_postuninstall_cmds='`$ECHO "$old_postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
 
16053
old_archive_cmds='`$ECHO "$old_archive_cmds" | $SED "$delay_single_quote_subst"`'
 
16054
lock_old_archive_extraction='`$ECHO "$lock_old_archive_extraction" | $SED "$delay_single_quote_subst"`'
 
16055
CC='`$ECHO "$CC" | $SED "$delay_single_quote_subst"`'
 
16056
CFLAGS='`$ECHO "$CFLAGS" | $SED "$delay_single_quote_subst"`'
 
16057
compiler='`$ECHO "$compiler" | $SED "$delay_single_quote_subst"`'
 
16058
GCC='`$ECHO "$GCC" | $SED "$delay_single_quote_subst"`'
 
16059
lt_cv_sys_global_symbol_pipe='`$ECHO "$lt_cv_sys_global_symbol_pipe" | $SED "$delay_single_quote_subst"`'
 
16060
lt_cv_sys_global_symbol_to_cdecl='`$ECHO "$lt_cv_sys_global_symbol_to_cdecl" | $SED "$delay_single_quote_subst"`'
 
16061
lt_cv_sys_global_symbol_to_c_name_address='`$ECHO "$lt_cv_sys_global_symbol_to_c_name_address" | $SED "$delay_single_quote_subst"`'
 
16062
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"`'
 
16063
nm_file_list_spec='`$ECHO "$nm_file_list_spec" | $SED "$delay_single_quote_subst"`'
 
16064
lt_sysroot='`$ECHO "$lt_sysroot" | $SED "$delay_single_quote_subst"`'
 
16065
objdir='`$ECHO "$objdir" | $SED "$delay_single_quote_subst"`'
 
16066
MAGIC_CMD='`$ECHO "$MAGIC_CMD" | $SED "$delay_single_quote_subst"`'
 
16067
lt_prog_compiler_no_builtin_flag='`$ECHO "$lt_prog_compiler_no_builtin_flag" | $SED "$delay_single_quote_subst"`'
 
16068
lt_prog_compiler_pic='`$ECHO "$lt_prog_compiler_pic" | $SED "$delay_single_quote_subst"`'
 
16069
lt_prog_compiler_wl='`$ECHO "$lt_prog_compiler_wl" | $SED "$delay_single_quote_subst"`'
 
16070
lt_prog_compiler_static='`$ECHO "$lt_prog_compiler_static" | $SED "$delay_single_quote_subst"`'
 
16071
lt_cv_prog_compiler_c_o='`$ECHO "$lt_cv_prog_compiler_c_o" | $SED "$delay_single_quote_subst"`'
 
16072
need_locks='`$ECHO "$need_locks" | $SED "$delay_single_quote_subst"`'
 
16073
MANIFEST_TOOL='`$ECHO "$MANIFEST_TOOL" | $SED "$delay_single_quote_subst"`'
 
16074
DSYMUTIL='`$ECHO "$DSYMUTIL" | $SED "$delay_single_quote_subst"`'
 
16075
NMEDIT='`$ECHO "$NMEDIT" | $SED "$delay_single_quote_subst"`'
 
16076
LIPO='`$ECHO "$LIPO" | $SED "$delay_single_quote_subst"`'
 
16077
OTOOL='`$ECHO "$OTOOL" | $SED "$delay_single_quote_subst"`'
 
16078
OTOOL64='`$ECHO "$OTOOL64" | $SED "$delay_single_quote_subst"`'
 
16079
libext='`$ECHO "$libext" | $SED "$delay_single_quote_subst"`'
 
16080
shrext_cmds='`$ECHO "$shrext_cmds" | $SED "$delay_single_quote_subst"`'
 
16081
extract_expsyms_cmds='`$ECHO "$extract_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
 
16082
archive_cmds_need_lc='`$ECHO "$archive_cmds_need_lc" | $SED "$delay_single_quote_subst"`'
 
16083
enable_shared_with_static_runtimes='`$ECHO "$enable_shared_with_static_runtimes" | $SED "$delay_single_quote_subst"`'
 
16084
export_dynamic_flag_spec='`$ECHO "$export_dynamic_flag_spec" | $SED "$delay_single_quote_subst"`'
 
16085
whole_archive_flag_spec='`$ECHO "$whole_archive_flag_spec" | $SED "$delay_single_quote_subst"`'
 
16086
compiler_needs_object='`$ECHO "$compiler_needs_object" | $SED "$delay_single_quote_subst"`'
 
16087
old_archive_from_new_cmds='`$ECHO "$old_archive_from_new_cmds" | $SED "$delay_single_quote_subst"`'
 
16088
old_archive_from_expsyms_cmds='`$ECHO "$old_archive_from_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
 
16089
archive_cmds='`$ECHO "$archive_cmds" | $SED "$delay_single_quote_subst"`'
 
16090
archive_expsym_cmds='`$ECHO "$archive_expsym_cmds" | $SED "$delay_single_quote_subst"`'
 
16091
module_cmds='`$ECHO "$module_cmds" | $SED "$delay_single_quote_subst"`'
 
16092
module_expsym_cmds='`$ECHO "$module_expsym_cmds" | $SED "$delay_single_quote_subst"`'
 
16093
with_gnu_ld='`$ECHO "$with_gnu_ld" | $SED "$delay_single_quote_subst"`'
 
16094
allow_undefined_flag='`$ECHO "$allow_undefined_flag" | $SED "$delay_single_quote_subst"`'
 
16095
no_undefined_flag='`$ECHO "$no_undefined_flag" | $SED "$delay_single_quote_subst"`'
 
16096
hardcode_libdir_flag_spec='`$ECHO "$hardcode_libdir_flag_spec" | $SED "$delay_single_quote_subst"`'
 
16097
hardcode_libdir_separator='`$ECHO "$hardcode_libdir_separator" | $SED "$delay_single_quote_subst"`'
 
16098
hardcode_direct='`$ECHO "$hardcode_direct" | $SED "$delay_single_quote_subst"`'
 
16099
hardcode_direct_absolute='`$ECHO "$hardcode_direct_absolute" | $SED "$delay_single_quote_subst"`'
 
16100
hardcode_minus_L='`$ECHO "$hardcode_minus_L" | $SED "$delay_single_quote_subst"`'
 
16101
hardcode_shlibpath_var='`$ECHO "$hardcode_shlibpath_var" | $SED "$delay_single_quote_subst"`'
 
16102
hardcode_automatic='`$ECHO "$hardcode_automatic" | $SED "$delay_single_quote_subst"`'
 
16103
inherit_rpath='`$ECHO "$inherit_rpath" | $SED "$delay_single_quote_subst"`'
 
16104
link_all_deplibs='`$ECHO "$link_all_deplibs" | $SED "$delay_single_quote_subst"`'
 
16105
always_export_symbols='`$ECHO "$always_export_symbols" | $SED "$delay_single_quote_subst"`'
 
16106
export_symbols_cmds='`$ECHO "$export_symbols_cmds" | $SED "$delay_single_quote_subst"`'
 
16107
exclude_expsyms='`$ECHO "$exclude_expsyms" | $SED "$delay_single_quote_subst"`'
 
16108
include_expsyms='`$ECHO "$include_expsyms" | $SED "$delay_single_quote_subst"`'
 
16109
prelink_cmds='`$ECHO "$prelink_cmds" | $SED "$delay_single_quote_subst"`'
 
16110
postlink_cmds='`$ECHO "$postlink_cmds" | $SED "$delay_single_quote_subst"`'
 
16111
file_list_spec='`$ECHO "$file_list_spec" | $SED "$delay_single_quote_subst"`'
 
16112
variables_saved_for_relink='`$ECHO "$variables_saved_for_relink" | $SED "$delay_single_quote_subst"`'
 
16113
need_lib_prefix='`$ECHO "$need_lib_prefix" | $SED "$delay_single_quote_subst"`'
 
16114
need_version='`$ECHO "$need_version" | $SED "$delay_single_quote_subst"`'
 
16115
version_type='`$ECHO "$version_type" | $SED "$delay_single_quote_subst"`'
 
16116
runpath_var='`$ECHO "$runpath_var" | $SED "$delay_single_quote_subst"`'
 
16117
shlibpath_var='`$ECHO "$shlibpath_var" | $SED "$delay_single_quote_subst"`'
 
16118
shlibpath_overrides_runpath='`$ECHO "$shlibpath_overrides_runpath" | $SED "$delay_single_quote_subst"`'
 
16119
libname_spec='`$ECHO "$libname_spec" | $SED "$delay_single_quote_subst"`'
 
16120
library_names_spec='`$ECHO "$library_names_spec" | $SED "$delay_single_quote_subst"`'
 
16121
soname_spec='`$ECHO "$soname_spec" | $SED "$delay_single_quote_subst"`'
 
16122
install_override_mode='`$ECHO "$install_override_mode" | $SED "$delay_single_quote_subst"`'
 
16123
postinstall_cmds='`$ECHO "$postinstall_cmds" | $SED "$delay_single_quote_subst"`'
 
16124
postuninstall_cmds='`$ECHO "$postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
 
16125
finish_cmds='`$ECHO "$finish_cmds" | $SED "$delay_single_quote_subst"`'
 
16126
finish_eval='`$ECHO "$finish_eval" | $SED "$delay_single_quote_subst"`'
 
16127
hardcode_into_libs='`$ECHO "$hardcode_into_libs" | $SED "$delay_single_quote_subst"`'
 
16128
sys_lib_search_path_spec='`$ECHO "$sys_lib_search_path_spec" | $SED "$delay_single_quote_subst"`'
 
16129
sys_lib_dlsearch_path_spec='`$ECHO "$sys_lib_dlsearch_path_spec" | $SED "$delay_single_quote_subst"`'
 
16130
hardcode_action='`$ECHO "$hardcode_action" | $SED "$delay_single_quote_subst"`'
 
16131
enable_dlopen='`$ECHO "$enable_dlopen" | $SED "$delay_single_quote_subst"`'
 
16132
enable_dlopen_self='`$ECHO "$enable_dlopen_self" | $SED "$delay_single_quote_subst"`'
 
16133
enable_dlopen_self_static='`$ECHO "$enable_dlopen_self_static" | $SED "$delay_single_quote_subst"`'
 
16134
old_striplib='`$ECHO "$old_striplib" | $SED "$delay_single_quote_subst"`'
 
16135
striplib='`$ECHO "$striplib" | $SED "$delay_single_quote_subst"`'
 
16136
compiler_lib_search_dirs='`$ECHO "$compiler_lib_search_dirs" | $SED "$delay_single_quote_subst"`'
 
16137
predep_objects='`$ECHO "$predep_objects" | $SED "$delay_single_quote_subst"`'
 
16138
postdep_objects='`$ECHO "$postdep_objects" | $SED "$delay_single_quote_subst"`'
 
16139
predeps='`$ECHO "$predeps" | $SED "$delay_single_quote_subst"`'
 
16140
postdeps='`$ECHO "$postdeps" | $SED "$delay_single_quote_subst"`'
 
16141
compiler_lib_search_path='`$ECHO "$compiler_lib_search_path" | $SED "$delay_single_quote_subst"`'
 
16142
LD_CXX='`$ECHO "$LD_CXX" | $SED "$delay_single_quote_subst"`'
 
16143
reload_flag_CXX='`$ECHO "$reload_flag_CXX" | $SED "$delay_single_quote_subst"`'
 
16144
reload_cmds_CXX='`$ECHO "$reload_cmds_CXX" | $SED "$delay_single_quote_subst"`'
 
16145
old_archive_cmds_CXX='`$ECHO "$old_archive_cmds_CXX" | $SED "$delay_single_quote_subst"`'
 
16146
compiler_CXX='`$ECHO "$compiler_CXX" | $SED "$delay_single_quote_subst"`'
 
16147
GCC_CXX='`$ECHO "$GCC_CXX" | $SED "$delay_single_quote_subst"`'
 
16148
lt_prog_compiler_no_builtin_flag_CXX='`$ECHO "$lt_prog_compiler_no_builtin_flag_CXX" | $SED "$delay_single_quote_subst"`'
 
16149
lt_prog_compiler_pic_CXX='`$ECHO "$lt_prog_compiler_pic_CXX" | $SED "$delay_single_quote_subst"`'
 
16150
lt_prog_compiler_wl_CXX='`$ECHO "$lt_prog_compiler_wl_CXX" | $SED "$delay_single_quote_subst"`'
 
16151
lt_prog_compiler_static_CXX='`$ECHO "$lt_prog_compiler_static_CXX" | $SED "$delay_single_quote_subst"`'
 
16152
lt_cv_prog_compiler_c_o_CXX='`$ECHO "$lt_cv_prog_compiler_c_o_CXX" | $SED "$delay_single_quote_subst"`'
 
16153
archive_cmds_need_lc_CXX='`$ECHO "$archive_cmds_need_lc_CXX" | $SED "$delay_single_quote_subst"`'
 
16154
enable_shared_with_static_runtimes_CXX='`$ECHO "$enable_shared_with_static_runtimes_CXX" | $SED "$delay_single_quote_subst"`'
 
16155
export_dynamic_flag_spec_CXX='`$ECHO "$export_dynamic_flag_spec_CXX" | $SED "$delay_single_quote_subst"`'
 
16156
whole_archive_flag_spec_CXX='`$ECHO "$whole_archive_flag_spec_CXX" | $SED "$delay_single_quote_subst"`'
 
16157
compiler_needs_object_CXX='`$ECHO "$compiler_needs_object_CXX" | $SED "$delay_single_quote_subst"`'
 
16158
old_archive_from_new_cmds_CXX='`$ECHO "$old_archive_from_new_cmds_CXX" | $SED "$delay_single_quote_subst"`'
 
16159
old_archive_from_expsyms_cmds_CXX='`$ECHO "$old_archive_from_expsyms_cmds_CXX" | $SED "$delay_single_quote_subst"`'
 
16160
archive_cmds_CXX='`$ECHO "$archive_cmds_CXX" | $SED "$delay_single_quote_subst"`'
 
16161
archive_expsym_cmds_CXX='`$ECHO "$archive_expsym_cmds_CXX" | $SED "$delay_single_quote_subst"`'
 
16162
module_cmds_CXX='`$ECHO "$module_cmds_CXX" | $SED "$delay_single_quote_subst"`'
 
16163
module_expsym_cmds_CXX='`$ECHO "$module_expsym_cmds_CXX" | $SED "$delay_single_quote_subst"`'
 
16164
with_gnu_ld_CXX='`$ECHO "$with_gnu_ld_CXX" | $SED "$delay_single_quote_subst"`'
 
16165
allow_undefined_flag_CXX='`$ECHO "$allow_undefined_flag_CXX" | $SED "$delay_single_quote_subst"`'
 
16166
no_undefined_flag_CXX='`$ECHO "$no_undefined_flag_CXX" | $SED "$delay_single_quote_subst"`'
 
16167
hardcode_libdir_flag_spec_CXX='`$ECHO "$hardcode_libdir_flag_spec_CXX" | $SED "$delay_single_quote_subst"`'
 
16168
hardcode_libdir_separator_CXX='`$ECHO "$hardcode_libdir_separator_CXX" | $SED "$delay_single_quote_subst"`'
 
16169
hardcode_direct_CXX='`$ECHO "$hardcode_direct_CXX" | $SED "$delay_single_quote_subst"`'
 
16170
hardcode_direct_absolute_CXX='`$ECHO "$hardcode_direct_absolute_CXX" | $SED "$delay_single_quote_subst"`'
 
16171
hardcode_minus_L_CXX='`$ECHO "$hardcode_minus_L_CXX" | $SED "$delay_single_quote_subst"`'
 
16172
hardcode_shlibpath_var_CXX='`$ECHO "$hardcode_shlibpath_var_CXX" | $SED "$delay_single_quote_subst"`'
 
16173
hardcode_automatic_CXX='`$ECHO "$hardcode_automatic_CXX" | $SED "$delay_single_quote_subst"`'
 
16174
inherit_rpath_CXX='`$ECHO "$inherit_rpath_CXX" | $SED "$delay_single_quote_subst"`'
 
16175
link_all_deplibs_CXX='`$ECHO "$link_all_deplibs_CXX" | $SED "$delay_single_quote_subst"`'
 
16176
always_export_symbols_CXX='`$ECHO "$always_export_symbols_CXX" | $SED "$delay_single_quote_subst"`'
 
16177
export_symbols_cmds_CXX='`$ECHO "$export_symbols_cmds_CXX" | $SED "$delay_single_quote_subst"`'
 
16178
exclude_expsyms_CXX='`$ECHO "$exclude_expsyms_CXX" | $SED "$delay_single_quote_subst"`'
 
16179
include_expsyms_CXX='`$ECHO "$include_expsyms_CXX" | $SED "$delay_single_quote_subst"`'
 
16180
prelink_cmds_CXX='`$ECHO "$prelink_cmds_CXX" | $SED "$delay_single_quote_subst"`'
 
16181
postlink_cmds_CXX='`$ECHO "$postlink_cmds_CXX" | $SED "$delay_single_quote_subst"`'
 
16182
file_list_spec_CXX='`$ECHO "$file_list_spec_CXX" | $SED "$delay_single_quote_subst"`'
 
16183
hardcode_action_CXX='`$ECHO "$hardcode_action_CXX" | $SED "$delay_single_quote_subst"`'
 
16184
compiler_lib_search_dirs_CXX='`$ECHO "$compiler_lib_search_dirs_CXX" | $SED "$delay_single_quote_subst"`'
 
16185
predep_objects_CXX='`$ECHO "$predep_objects_CXX" | $SED "$delay_single_quote_subst"`'
 
16186
postdep_objects_CXX='`$ECHO "$postdep_objects_CXX" | $SED "$delay_single_quote_subst"`'
 
16187
predeps_CXX='`$ECHO "$predeps_CXX" | $SED "$delay_single_quote_subst"`'
 
16188
postdeps_CXX='`$ECHO "$postdeps_CXX" | $SED "$delay_single_quote_subst"`'
 
16189
compiler_lib_search_path_CXX='`$ECHO "$compiler_lib_search_path_CXX" | $SED "$delay_single_quote_subst"`'
15304
16190
 
15305
16191
LTCC='$LTCC'
15306
16192
LTCFLAGS='$LTCFLAGS'
15307
16193
compiler='$compiler_DEFAULT'
15308
16194
 
 
16195
# A function that is used when there is no print builtin or printf.
 
16196
func_fallback_echo ()
 
16197
{
 
16198
  eval 'cat <<_LTECHO_EOF
 
16199
\$1
 
16200
_LTECHO_EOF'
 
16201
}
 
16202
 
15309
16203
# Quote evaled strings.
15310
 
for var in SED \
 
16204
for var in SHELL \
 
16205
ECHO \
 
16206
PATH_SEPARATOR \
 
16207
SED \
15311
16208
GREP \
15312
16209
EGREP \
15313
16210
FGREP \
15320
16217
OBJDUMP \
15321
16218
deplibs_check_method \
15322
16219
file_magic_cmd \
 
16220
file_magic_glob \
 
16221
want_nocaseglob \
 
16222
DLLTOOL \
 
16223
sharedlib_from_linklib_cmd \
15323
16224
AR \
15324
16225
AR_FLAGS \
 
16226
archiver_list_spec \
15325
16227
STRIP \
15326
16228
RANLIB \
15327
16229
CC \
15331
16233
lt_cv_sys_global_symbol_to_cdecl \
15332
16234
lt_cv_sys_global_symbol_to_c_name_address \
15333
16235
lt_cv_sys_global_symbol_to_c_name_address_lib_prefix \
15334
 
SHELL \
15335
 
ECHO \
 
16236
nm_file_list_spec \
15336
16237
lt_prog_compiler_no_builtin_flag \
 
16238
lt_prog_compiler_pic \
15337
16239
lt_prog_compiler_wl \
15338
 
lt_prog_compiler_pic \
15339
16240
lt_prog_compiler_static \
15340
16241
lt_cv_prog_compiler_c_o \
15341
16242
need_locks \
 
16243
MANIFEST_TOOL \
15342
16244
DSYMUTIL \
15343
16245
NMEDIT \
15344
16246
LIPO \
15352
16254
allow_undefined_flag \
15353
16255
no_undefined_flag \
15354
16256
hardcode_libdir_flag_spec \
15355
 
hardcode_libdir_flag_spec_ld \
15356
16257
hardcode_libdir_separator \
15357
 
fix_srcfile_path \
15358
16258
exclude_expsyms \
15359
16259
include_expsyms \
15360
16260
file_list_spec \
15362
16262
libname_spec \
15363
16263
library_names_spec \
15364
16264
soname_spec \
 
16265
install_override_mode \
15365
16266
finish_eval \
15366
16267
old_striplib \
15367
16268
striplib \
15372
16273
postdeps \
15373
16274
compiler_lib_search_path \
15374
16275
LD_CXX \
 
16276
reload_flag_CXX \
15375
16277
compiler_CXX \
15376
16278
lt_prog_compiler_no_builtin_flag_CXX \
 
16279
lt_prog_compiler_pic_CXX \
15377
16280
lt_prog_compiler_wl_CXX \
15378
 
lt_prog_compiler_pic_CXX \
15379
16281
lt_prog_compiler_static_CXX \
15380
16282
lt_cv_prog_compiler_c_o_CXX \
15381
16283
export_dynamic_flag_spec_CXX \
15385
16287
allow_undefined_flag_CXX \
15386
16288
no_undefined_flag_CXX \
15387
16289
hardcode_libdir_flag_spec_CXX \
15388
 
hardcode_libdir_flag_spec_ld_CXX \
15389
16290
hardcode_libdir_separator_CXX \
15390
 
fix_srcfile_path_CXX \
15391
16291
exclude_expsyms_CXX \
15392
16292
include_expsyms_CXX \
15393
16293
file_list_spec_CXX \
15397
16297
predeps_CXX \
15398
16298
postdeps_CXX \
15399
16299
compiler_lib_search_path_CXX; do
15400
 
    case \`eval \\\\\$ECHO "X\\\\\$\$var"\` in
 
16300
    case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
15401
16301
    *[\\\\\\\`\\"\\\$]*)
15402
 
      eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"X\\\$\$var\\" | \\\$Xsed -e \\"\\\$sed_quote_subst\\"\\\`\\\\\\""
 
16302
      eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED \\"\\\$sed_quote_subst\\"\\\`\\\\\\""
15403
16303
      ;;
15404
16304
    *)
15405
16305
      eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
15421
16321
module_expsym_cmds \
15422
16322
export_symbols_cmds \
15423
16323
prelink_cmds \
 
16324
postlink_cmds \
15424
16325
postinstall_cmds \
15425
16326
postuninstall_cmds \
15426
16327
finish_cmds \
15427
16328
sys_lib_search_path_spec \
15428
16329
sys_lib_dlsearch_path_spec \
 
16330
reload_cmds_CXX \
15429
16331
old_archive_cmds_CXX \
15430
16332
old_archive_from_new_cmds_CXX \
15431
16333
old_archive_from_expsyms_cmds_CXX \
15434
16336
module_cmds_CXX \
15435
16337
module_expsym_cmds_CXX \
15436
16338
export_symbols_cmds_CXX \
15437
 
prelink_cmds_CXX; do
15438
 
    case \`eval \\\\\$ECHO "X\\\\\$\$var"\` in
 
16339
prelink_cmds_CXX \
 
16340
postlink_cmds_CXX; do
 
16341
    case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
15439
16342
    *[\\\\\\\`\\"\\\$]*)
15440
 
      eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"X\\\$\$var\\" | \\\$Xsed -e \\"\\\$double_quote_subst\\" -e \\"\\\$sed_quote_subst\\" -e \\"\\\$delay_variable_subst\\"\\\`\\\\\\""
 
16343
      eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED -e \\"\\\$double_quote_subst\\" -e \\"\\\$sed_quote_subst\\" -e \\"\\\$delay_variable_subst\\"\\\`\\\\\\""
15441
16344
      ;;
15442
16345
    *)
15443
16346
      eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
15445
16348
    esac
15446
16349
done
15447
16350
 
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
16351
ac_aux_dir='$ac_aux_dir'
15455
16352
xsi_shell='$xsi_shell'
15456
16353
lt_shell_append='$lt_shell_append'
15486
16383
    "libtool") CONFIG_COMMANDS="$CONFIG_COMMANDS libtool" ;;
15487
16384
    "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
15488
16385
    "src/Makefile") CONFIG_FILES="$CONFIG_FILES src/Makefile" ;;
 
16386
    "include/Makefile") CONFIG_FILES="$CONFIG_FILES include/Makefile" ;;
15489
16387
    "test/Makefile") CONFIG_FILES="$CONFIG_FILES test/Makefile" ;;
15490
16388
 
15491
 
  *) as_fn_error "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
 
16389
  *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
15492
16390
  esac
15493
16391
done
15494
16392
 
15511
16409
# after its creation but before its name has been assigned to `$tmp'.
15512
16410
$debug ||
15513
16411
{
15514
 
  tmp=
 
16412
  tmp= ac_tmp=
15515
16413
  trap 'exit_status=$?
15516
 
  { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status
 
16414
  : "${ac_tmp:=$tmp}"
 
16415
  { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
15517
16416
' 0
15518
16417
  trap 'as_fn_exit 1' 1 2 13 15
15519
16418
}
15521
16420
 
15522
16421
{
15523
16422
  tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
15524
 
  test -n "$tmp" && test -d "$tmp"
 
16423
  test -d "$tmp"
15525
16424
}  ||
15526
16425
{
15527
16426
  tmp=./conf$$-$RANDOM
15528
16427
  (umask 077 && mkdir "$tmp")
15529
 
} || as_fn_error "cannot create a temporary directory in ." "$LINENO" 5
 
16428
} || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5
 
16429
ac_tmp=$tmp
15530
16430
 
15531
16431
# Set up the scripts for CONFIG_FILES section.
15532
16432
# No need to generate them if there are no CONFIG_FILES.
15543
16443
fi
15544
16444
ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
15545
16445
if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
15546
 
  ac_cs_awk_cr='\r'
 
16446
  ac_cs_awk_cr='\\r'
15547
16447
else
15548
16448
  ac_cs_awk_cr=$ac_cr
15549
16449
fi
15550
16450
 
15551
 
echo 'BEGIN {' >"$tmp/subs1.awk" &&
 
16451
echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&
15552
16452
_ACEOF
15553
16453
 
15554
16454
 
15557
16457
  echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
15558
16458
  echo "_ACEOF"
15559
16459
} >conf$$subs.sh ||
15560
 
  as_fn_error "could not make $CONFIG_STATUS" "$LINENO" 5
15561
 
ac_delim_num=`echo "$ac_subst_vars" | grep -c '$'`
 
16460
  as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
 
16461
ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
15562
16462
ac_delim='%!_!# '
15563
16463
for ac_last_try in false false false false false :; do
15564
16464
  . ./conf$$subs.sh ||
15565
 
    as_fn_error "could not make $CONFIG_STATUS" "$LINENO" 5
 
16465
    as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
15566
16466
 
15567
16467
  ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
15568
16468
  if test $ac_delim_n = $ac_delim_num; then
15569
16469
    break
15570
16470
  elif $ac_last_try; then
15571
 
    as_fn_error "could not make $CONFIG_STATUS" "$LINENO" 5
 
16471
    as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
15572
16472
  else
15573
16473
    ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
15574
16474
  fi
15576
16476
rm -f conf$$subs.sh
15577
16477
 
15578
16478
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
15579
 
cat >>"\$tmp/subs1.awk" <<\\_ACAWK &&
 
16479
cat >>"\$ac_tmp/subs1.awk" <<\\_ACAWK &&
15580
16480
_ACEOF
15581
16481
sed -n '
15582
16482
h
15590
16490
t delim
15591
16491
:nl
15592
16492
h
15593
 
s/\(.\{148\}\).*/\1/
 
16493
s/\(.\{148\}\)..*/\1/
15594
16494
t more1
15595
16495
s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
15596
16496
p
15604
16504
t nl
15605
16505
:delim
15606
16506
h
15607
 
s/\(.\{148\}\).*/\1/
 
16507
s/\(.\{148\}\)..*/\1/
15608
16508
t more2
15609
16509
s/["\\]/\\&/g; s/^/"/; s/$/"/
15610
16510
p
15624
16524
rm -f conf$$subs.awk
15625
16525
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
15626
16526
_ACAWK
15627
 
cat >>"\$tmp/subs1.awk" <<_ACAWK &&
 
16527
cat >>"\$ac_tmp/subs1.awk" <<_ACAWK &&
15628
16528
  for (key in S) S_is_set[key] = 1
15629
16529
  FS = ""
15630
16530
 
15656
16556
  sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
15657
16557
else
15658
16558
  cat
15659
 
fi < "$tmp/subs1.awk" > "$tmp/subs.awk" \
15660
 
  || as_fn_error "could not setup config files machinery" "$LINENO" 5
 
16559
fi < "$ac_tmp/subs1.awk" > "$ac_tmp/subs.awk" \
 
16560
  || as_fn_error $? "could not setup config files machinery" "$LINENO" 5
15661
16561
_ACEOF
15662
16562
 
15663
 
# VPATH may cause trouble with some makes, so we remove $(srcdir),
15664
 
# ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
 
16563
# VPATH may cause trouble with some makes, so we remove sole $(srcdir),
 
16564
# ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".", strip leading and
15665
16565
# trailing colons and then remove the whole line if VPATH becomes empty
15666
16566
# (actually we leave an empty line to preserve line numbers).
15667
16567
if test "x$srcdir" = x.; then
15668
 
  ac_vpsub='/^[  ]*VPATH[        ]*=/{
15669
 
s/:*\$(srcdir):*/:/
15670
 
s/:*\${srcdir}:*/:/
15671
 
s/:*@srcdir@:*/:/
15672
 
s/^\([^=]*=[     ]*\):*/\1/
 
16568
  ac_vpsub='/^[  ]*VPATH[        ]*=[    ]*/{
 
16569
h
 
16570
s///
 
16571
s/^/:/
 
16572
s/[      ]*$/:/
 
16573
s/:\$(srcdir):/:/g
 
16574
s/:\${srcdir}:/:/g
 
16575
s/:@srcdir@:/:/g
 
16576
s/^:*//
15673
16577
s/:*$//
 
16578
x
 
16579
s/\(=[   ]*\).*/\1/
 
16580
G
 
16581
s/\n//
15674
16582
s/^[^=]*=[       ]*$//
15675
16583
}'
15676
16584
fi
15682
16590
# No need to generate them if there are no CONFIG_HEADERS.
15683
16591
# This happens for instance with `./config.status Makefile'.
15684
16592
if test -n "$CONFIG_HEADERS"; then
15685
 
cat >"$tmp/defines.awk" <<\_ACAWK ||
 
16593
cat >"$ac_tmp/defines.awk" <<\_ACAWK ||
15686
16594
BEGIN {
15687
16595
_ACEOF
15688
16596
 
15694
16602
# handling of long lines.
15695
16603
ac_delim='%!_!# '
15696
16604
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
 
16605
  ac_tt=`sed -n "/$ac_delim/p" confdefs.h`
 
16606
  if test -z "$ac_tt"; then
15699
16607
    break
15700
16608
  elif $ac_last_try; then
15701
 
    as_fn_error "could not make $CONFIG_HEADERS" "$LINENO" 5
 
16609
    as_fn_error $? "could not make $CONFIG_HEADERS" "$LINENO" 5
15702
16610
  else
15703
16611
    ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
15704
16612
  fi
15783
16691
_ACAWK
15784
16692
_ACEOF
15785
16693
cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
15786
 
  as_fn_error "could not setup config headers machinery" "$LINENO" 5
 
16694
  as_fn_error $? "could not setup config headers machinery" "$LINENO" 5
15787
16695
fi # test -n "$CONFIG_HEADERS"
15788
16696
 
15789
16697
 
15796
16704
  esac
15797
16705
  case $ac_mode$ac_tag in
15798
16706
  :[FHL]*:*);;
15799
 
  :L* | :C*:*) as_fn_error "invalid tag \`$ac_tag'" "$LINENO" 5;;
 
16707
  :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5;;
15800
16708
  :[FH]-) ac_tag=-:-;;
15801
16709
  :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
15802
16710
  esac
15815
16723
    for ac_f
15816
16724
    do
15817
16725
      case $ac_f in
15818
 
      -) ac_f="$tmp/stdin";;
 
16726
      -) ac_f="$ac_tmp/stdin";;
15819
16727
      *) # Look for the file first in the build tree, then in the source tree
15820
16728
         # (if the path is not absolute).  The absolute path cannot be DOS-style,
15821
16729
         # because $ac_f cannot contain `:'.
15824
16732
           [\\/$]*) false;;
15825
16733
           *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
15826
16734
           esac ||
15827
 
           as_fn_error "cannot find input file: \`$ac_f'" "$LINENO" 5;;
 
16735
           as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
15828
16736
      esac
15829
16737
      case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
15830
16738
      as_fn_append ac_file_inputs " '$ac_f'"
15850
16758
    esac
15851
16759
 
15852
16760
    case $ac_tag in
15853
 
    *:-:* | *:-) cat >"$tmp/stdin" \
15854
 
      || as_fn_error "could not create $ac_file" "$LINENO" 5 ;;
 
16761
    *:-:* | *:-) cat >"$ac_tmp/stdin" \
 
16762
      || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;;
15855
16763
    esac
15856
16764
    ;;
15857
16765
  esac
15987
16895
s&@MKDIR_P@&$ac_MKDIR_P&;t t
15988
16896
$ac_datarootdir_hack
15989
16897
"
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
 
16898
eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.awk" \
 
16899
  >$ac_tmp/out || as_fn_error $? "could not create $ac_file" "$LINENO" 5
15992
16900
 
15993
16901
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"; } &&
 
16902
  { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out"`; test -n "$ac_out"; } &&
 
16903
  { ac_out=`sed -n '/^[  ]*datarootdir[  ]*:*=/p' \
 
16904
      "$ac_tmp/out"`; test -z "$ac_out"; } &&
15996
16905
  { $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
 
16906
which seems to be undefined.  Please make sure it is defined" >&5
15998
16907
$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;}
 
16908
which seems to be undefined.  Please make sure it is defined" >&2;}
16000
16909
 
16001
 
  rm -f "$tmp/stdin"
 
16910
  rm -f "$ac_tmp/stdin"
16002
16911
  case $ac_file in
16003
 
  -) cat "$tmp/out" && rm -f "$tmp/out";;
16004
 
  *) rm -f "$ac_file" && mv "$tmp/out" "$ac_file";;
 
16912
  -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
 
16913
  *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
16005
16914
  esac \
16006
 
  || as_fn_error "could not create $ac_file" "$LINENO" 5
 
16915
  || as_fn_error $? "could not create $ac_file" "$LINENO" 5
16007
16916
 ;;
16008
16917
  :H)
16009
16918
  #
16012
16921
  if test x"$ac_file" != x-; then
16013
16922
    {
16014
16923
      $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
 
16924
      && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs"
 
16925
    } >"$ac_tmp/config.h" \
 
16926
      || as_fn_error $? "could not create $ac_file" "$LINENO" 5
 
16927
    if diff "$ac_file" "$ac_tmp/config.h" >/dev/null 2>&1; then
16019
16928
      { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
16020
16929
$as_echo "$as_me: $ac_file is unchanged" >&6;}
16021
16930
    else
16022
16931
      rm -f "$ac_file"
16023
 
      mv "$tmp/config.h" "$ac_file" \
16024
 
        || as_fn_error "could not create $ac_file" "$LINENO" 5
 
16932
      mv "$ac_tmp/config.h" "$ac_file" \
 
16933
        || as_fn_error $? "could not create $ac_file" "$LINENO" 5
16025
16934
    fi
16026
16935
  else
16027
16936
    $as_echo "/* $configure_input  */" \
16028
 
      && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs" \
16029
 
      || as_fn_error "could not create -" "$LINENO" 5
 
16937
      && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \
 
16938
      || as_fn_error $? "could not create -" "$LINENO" 5
16030
16939
  fi
16031
16940
# Compute "$ac_file"'s index in $config_headers.
16032
16941
_am_arg="$ac_file"
16187
17096
# NOTE: Changes made to this file will be lost: look at ltmain.sh.
16188
17097
#
16189
17098
#   Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2003, 2004, 2005,
16190
 
#                 2006, 2007, 2008 Free Software Foundation, Inc.
 
17099
#                 2006, 2007, 2008, 2009, 2010, 2011 Free Software
 
17100
#                 Foundation, Inc.
16191
17101
#   Written by Gordon Matzigkeit, 1996
16192
17102
#
16193
17103
#   This file is part of GNU Libtool.
16235
17145
# Whether or not to optimize for fast installation.
16236
17146
fast_install=$enable_fast_install
16237
17147
 
 
17148
# Shell to use when invoking shell scripts.
 
17149
SHELL=$lt_SHELL
 
17150
 
 
17151
# An echo program that protects backslashes.
 
17152
ECHO=$lt_ECHO
 
17153
 
 
17154
# The PATH separator for the build system.
 
17155
PATH_SEPARATOR=$lt_PATH_SEPARATOR
 
17156
 
16238
17157
# The host system.
16239
17158
host_alias=$host_alias
16240
17159
host=$host
16284
17203
# turn newlines into spaces.
16285
17204
NL2SP=$lt_lt_NL2SP
16286
17205
 
16287
 
# How to create reloadable object files.
16288
 
reload_flag=$lt_reload_flag
16289
 
reload_cmds=$lt_reload_cmds
 
17206
# convert \$build file names to \$host format.
 
17207
to_host_file_cmd=$lt_cv_to_host_file_cmd
 
17208
 
 
17209
# convert \$build files to toolchain format.
 
17210
to_tool_file_cmd=$lt_cv_to_tool_file_cmd
16290
17211
 
16291
17212
# An object symbol dumper.
16292
17213
OBJDUMP=$lt_OBJDUMP
16294
17215
# Method to check whether dependent libraries are shared objects.
16295
17216
deplibs_check_method=$lt_deplibs_check_method
16296
17217
 
16297
 
# Command to use when deplibs_check_method == "file_magic".
 
17218
# Command to use when deplibs_check_method = "file_magic".
16298
17219
file_magic_cmd=$lt_file_magic_cmd
16299
17220
 
 
17221
# How to find potential files when deplibs_check_method = "file_magic".
 
17222
file_magic_glob=$lt_file_magic_glob
 
17223
 
 
17224
# Find potential files using nocaseglob when deplibs_check_method = "file_magic".
 
17225
want_nocaseglob=$lt_want_nocaseglob
 
17226
 
 
17227
# DLL creation program.
 
17228
DLLTOOL=$lt_DLLTOOL
 
17229
 
 
17230
# Command to associate shared and link libraries.
 
17231
sharedlib_from_linklib_cmd=$lt_sharedlib_from_linklib_cmd
 
17232
 
16300
17233
# The archiver.
16301
17234
AR=$lt_AR
 
17235
 
 
17236
# Flags to create an archive.
16302
17237
AR_FLAGS=$lt_AR_FLAGS
16303
17238
 
 
17239
# How to feed a file listing to the archiver.
 
17240
archiver_list_spec=$lt_archiver_list_spec
 
17241
 
16304
17242
# A symbol stripping program.
16305
17243
STRIP=$lt_STRIP
16306
17244
 
16309
17247
old_postinstall_cmds=$lt_old_postinstall_cmds
16310
17248
old_postuninstall_cmds=$lt_old_postuninstall_cmds
16311
17249
 
 
17250
# Whether to use a lock for old archive extraction.
 
17251
lock_old_archive_extraction=$lock_old_archive_extraction
 
17252
 
16312
17253
# A C compiler.
16313
17254
LTCC=$lt_CC
16314
17255
 
16327
17268
# Transform the output of nm in a C name address pair when lib prefix is needed.
16328
17269
global_symbol_to_c_name_address_lib_prefix=$lt_lt_cv_sys_global_symbol_to_c_name_address_lib_prefix
16329
17270
 
 
17271
# Specify filename containing input files for \$NM.
 
17272
nm_file_list_spec=$lt_nm_file_list_spec
 
17273
 
 
17274
# The root where to search for dependent libraries,and in which our libraries should be installed.
 
17275
lt_sysroot=$lt_sysroot
 
17276
 
16330
17277
# The name of the directory that contains temporary libtool files.
16331
17278
objdir=$objdir
16332
17279
 
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
17280
# Used to examine libraries when file_magic_cmd begins with "file".
16340
17281
MAGIC_CMD=$MAGIC_CMD
16341
17282
 
16342
17283
# Must we lock files when doing compilation?
16343
17284
need_locks=$lt_need_locks
16344
17285
 
 
17286
# Manifest tool.
 
17287
MANIFEST_TOOL=$lt_MANIFEST_TOOL
 
17288
 
16345
17289
# Tool to manipulate archived DWARF debug symbol files on Mac OS X.
16346
17290
DSYMUTIL=$lt_DSYMUTIL
16347
17291
 
16398
17342
# The coded name of the library, if different from the real name.
16399
17343
soname_spec=$lt_soname_spec
16400
17344
 
 
17345
# Permission mode override for installation of shared libraries.
 
17346
install_override_mode=$lt_install_override_mode
 
17347
 
16401
17348
# Command to use after installation of a shared archive.
16402
17349
postinstall_cmds=$lt_postinstall_cmds
16403
17350
 
16437
17384
# The linker used to build libraries.
16438
17385
LD=$lt_LD
16439
17386
 
 
17387
# How to create reloadable object files.
 
17388
reload_flag=$lt_reload_flag
 
17389
reload_cmds=$lt_reload_cmds
 
17390
 
16440
17391
# Commands used to build an old-style archive.
16441
17392
old_archive_cmds=$lt_old_archive_cmds
16442
17393
 
16449
17400
# Compiler flag to turn off builtin functions.
16450
17401
no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag
16451
17402
 
 
17403
# Additional compiler flags for building library objects.
 
17404
pic_flag=$lt_lt_prog_compiler_pic
 
17405
 
16452
17406
# How to pass a linker flag through the compiler.
16453
17407
wl=$lt_lt_prog_compiler_wl
16454
17408
 
16455
 
# Additional compiler flags for building library objects.
16456
 
pic_flag=$lt_lt_prog_compiler_pic
16457
 
 
16458
17409
# Compiler flag to prevent dynamic linking.
16459
17410
link_static_flag=$lt_lt_prog_compiler_static
16460
17411
 
16504
17455
# This must work even if \$libdir does not exist
16505
17456
hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec
16506
17457
 
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
17458
# Whether we need a single "-rpath" flag with a separated argument.
16512
17459
hardcode_libdir_separator=$lt_hardcode_libdir_separator
16513
17460
 
16541
17488
# Whether libtool must link a program against all its dependency libraries.
16542
17489
link_all_deplibs=$link_all_deplibs
16543
17490
 
16544
 
# Fix the shell variable \$srcfile for the compiler.
16545
 
fix_srcfile_path=$lt_fix_srcfile_path
16546
 
 
16547
17491
# Set to "yes" if exported symbols are required.
16548
17492
always_export_symbols=$always_export_symbols
16549
17493
 
16559
17503
# Commands necessary for linking programs (against libraries) with templates.
16560
17504
prelink_cmds=$lt_prelink_cmds
16561
17505
 
 
17506
# Commands necessary for finishing linking programs.
 
17507
postlink_cmds=$lt_postlink_cmds
 
17508
 
16562
17509
# Specify filename containing input files.
16563
17510
file_list_spec=$lt_file_list_spec
16564
17511
 
16605
17552
  # if finds mixed CR/LF and LF-only lines.  Since sed operates in
16606
17553
  # text mode, it properly converts lines to CR/LF.  This bash problem
16607
17554
  # 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" ||
 
17555
  sed '$q' "$ltmain" >> "$cfgfile" \
 
17556
     || (rm -f "$cfgfile"; exit 1)
 
17557
 
 
17558
  if test x"$xsi_shell" = xyes; then
 
17559
  sed -e '/^func_dirname ()$/,/^} # func_dirname /c\
 
17560
func_dirname ()\
 
17561
{\
 
17562
\    case ${1} in\
 
17563
\      */*) func_dirname_result="${1%/*}${2}" ;;\
 
17564
\      *  ) func_dirname_result="${3}" ;;\
 
17565
\    esac\
 
17566
} # Extended-shell func_dirname implementation' "$cfgfile" > $cfgfile.tmp \
 
17567
  && mv -f "$cfgfile.tmp" "$cfgfile" \
 
17568
    || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
 
17569
test 0 -eq $? || _lt_function_replace_fail=:
 
17570
 
 
17571
 
 
17572
  sed -e '/^func_basename ()$/,/^} # func_basename /c\
 
17573
func_basename ()\
 
17574
{\
 
17575
\    func_basename_result="${1##*/}"\
 
17576
} # Extended-shell func_basename implementation' "$cfgfile" > $cfgfile.tmp \
 
17577
  && mv -f "$cfgfile.tmp" "$cfgfile" \
 
17578
    || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
 
17579
test 0 -eq $? || _lt_function_replace_fail=:
 
17580
 
 
17581
 
 
17582
  sed -e '/^func_dirname_and_basename ()$/,/^} # func_dirname_and_basename /c\
 
17583
func_dirname_and_basename ()\
 
17584
{\
 
17585
\    case ${1} in\
 
17586
\      */*) func_dirname_result="${1%/*}${2}" ;;\
 
17587
\      *  ) func_dirname_result="${3}" ;;\
 
17588
\    esac\
 
17589
\    func_basename_result="${1##*/}"\
 
17590
} # Extended-shell func_dirname_and_basename implementation' "$cfgfile" > $cfgfile.tmp \
 
17591
  && mv -f "$cfgfile.tmp" "$cfgfile" \
 
17592
    || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
 
17593
test 0 -eq $? || _lt_function_replace_fail=:
 
17594
 
 
17595
 
 
17596
  sed -e '/^func_stripname ()$/,/^} # func_stripname /c\
 
17597
func_stripname ()\
 
17598
{\
 
17599
\    # pdksh 5.2.14 does not do ${X%$Y} correctly if both X and Y are\
 
17600
\    # positional parameters, so assign one to ordinary parameter first.\
 
17601
\    func_stripname_result=${3}\
 
17602
\    func_stripname_result=${func_stripname_result#"${1}"}\
 
17603
\    func_stripname_result=${func_stripname_result%"${2}"}\
 
17604
} # Extended-shell func_stripname implementation' "$cfgfile" > $cfgfile.tmp \
 
17605
  && mv -f "$cfgfile.tmp" "$cfgfile" \
 
17606
    || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
 
17607
test 0 -eq $? || _lt_function_replace_fail=:
 
17608
 
 
17609
 
 
17610
  sed -e '/^func_split_long_opt ()$/,/^} # func_split_long_opt /c\
 
17611
func_split_long_opt ()\
 
17612
{\
 
17613
\    func_split_long_opt_name=${1%%=*}\
 
17614
\    func_split_long_opt_arg=${1#*=}\
 
17615
} # Extended-shell func_split_long_opt implementation' "$cfgfile" > $cfgfile.tmp \
 
17616
  && mv -f "$cfgfile.tmp" "$cfgfile" \
 
17617
    || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
 
17618
test 0 -eq $? || _lt_function_replace_fail=:
 
17619
 
 
17620
 
 
17621
  sed -e '/^func_split_short_opt ()$/,/^} # func_split_short_opt /c\
 
17622
func_split_short_opt ()\
 
17623
{\
 
17624
\    func_split_short_opt_arg=${1#??}\
 
17625
\    func_split_short_opt_name=${1%"$func_split_short_opt_arg"}\
 
17626
} # Extended-shell func_split_short_opt implementation' "$cfgfile" > $cfgfile.tmp \
 
17627
  && mv -f "$cfgfile.tmp" "$cfgfile" \
 
17628
    || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
 
17629
test 0 -eq $? || _lt_function_replace_fail=:
 
17630
 
 
17631
 
 
17632
  sed -e '/^func_lo2o ()$/,/^} # func_lo2o /c\
 
17633
func_lo2o ()\
 
17634
{\
 
17635
\    case ${1} in\
 
17636
\      *.lo) func_lo2o_result=${1%.lo}.${objext} ;;\
 
17637
\      *)    func_lo2o_result=${1} ;;\
 
17638
\    esac\
 
17639
} # Extended-shell func_lo2o implementation' "$cfgfile" > $cfgfile.tmp \
 
17640
  && mv -f "$cfgfile.tmp" "$cfgfile" \
 
17641
    || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
 
17642
test 0 -eq $? || _lt_function_replace_fail=:
 
17643
 
 
17644
 
 
17645
  sed -e '/^func_xform ()$/,/^} # func_xform /c\
 
17646
func_xform ()\
 
17647
{\
 
17648
    func_xform_result=${1%.*}.lo\
 
17649
} # Extended-shell func_xform implementation' "$cfgfile" > $cfgfile.tmp \
 
17650
  && mv -f "$cfgfile.tmp" "$cfgfile" \
 
17651
    || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
 
17652
test 0 -eq $? || _lt_function_replace_fail=:
 
17653
 
 
17654
 
 
17655
  sed -e '/^func_arith ()$/,/^} # func_arith /c\
 
17656
func_arith ()\
 
17657
{\
 
17658
    func_arith_result=$(( $* ))\
 
17659
} # Extended-shell func_arith implementation' "$cfgfile" > $cfgfile.tmp \
 
17660
  && mv -f "$cfgfile.tmp" "$cfgfile" \
 
17661
    || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
 
17662
test 0 -eq $? || _lt_function_replace_fail=:
 
17663
 
 
17664
 
 
17665
  sed -e '/^func_len ()$/,/^} # func_len /c\
 
17666
func_len ()\
 
17667
{\
 
17668
    func_len_result=${#1}\
 
17669
} # Extended-shell func_len implementation' "$cfgfile" > $cfgfile.tmp \
 
17670
  && mv -f "$cfgfile.tmp" "$cfgfile" \
 
17671
    || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
 
17672
test 0 -eq $? || _lt_function_replace_fail=:
 
17673
 
 
17674
fi
 
17675
 
 
17676
if test x"$lt_shell_append" = xyes; then
 
17677
  sed -e '/^func_append ()$/,/^} # func_append /c\
 
17678
func_append ()\
 
17679
{\
 
17680
    eval "${1}+=\\${2}"\
 
17681
} # Extended-shell func_append implementation' "$cfgfile" > $cfgfile.tmp \
 
17682
  && mv -f "$cfgfile.tmp" "$cfgfile" \
 
17683
    || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
 
17684
test 0 -eq $? || _lt_function_replace_fail=:
 
17685
 
 
17686
 
 
17687
  sed -e '/^func_append_quoted ()$/,/^} # func_append_quoted /c\
 
17688
func_append_quoted ()\
 
17689
{\
 
17690
\    func_quote_for_eval "${2}"\
 
17691
\    eval "${1}+=\\\\ \\$func_quote_for_eval_result"\
 
17692
} # Extended-shell func_append_quoted implementation' "$cfgfile" > $cfgfile.tmp \
 
17693
  && mv -f "$cfgfile.tmp" "$cfgfile" \
 
17694
    || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
 
17695
test 0 -eq $? || _lt_function_replace_fail=:
 
17696
 
 
17697
 
 
17698
  # Save a `func_append' function call where possible by direct use of '+='
 
17699
  sed -e 's%func_append \([a-zA-Z_]\{1,\}\) "%\1+="%g' $cfgfile > $cfgfile.tmp \
 
17700
    && mv -f "$cfgfile.tmp" "$cfgfile" \
 
17701
      || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
 
17702
  test 0 -eq $? || _lt_function_replace_fail=:
 
17703
else
 
17704
  # Save a `func_append' function call even when '+=' is not available
 
17705
  sed -e 's%func_append \([a-zA-Z_]\{1,\}\) "%\1="$\1%g' $cfgfile > $cfgfile.tmp \
 
17706
    && mv -f "$cfgfile.tmp" "$cfgfile" \
 
17707
      || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
 
17708
  test 0 -eq $? || _lt_function_replace_fail=:
 
17709
fi
 
17710
 
 
17711
if test x"$_lt_function_replace_fail" = x":"; then
 
17712
  { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Unable to substitute extended shell functions in $ofile" >&5
 
17713
$as_echo "$as_me: WARNING: Unable to substitute extended shell functions in $ofile" >&2;}
 
17714
fi
 
17715
 
 
17716
 
 
17717
   mv -f "$cfgfile" "$ofile" ||
16814
17718
    (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile")
16815
17719
  chmod +x "$ofile"
16816
17720
 
16822
17726
# The linker used to build libraries.
16823
17727
LD=$lt_LD_CXX
16824
17728
 
 
17729
# How to create reloadable object files.
 
17730
reload_flag=$lt_reload_flag_CXX
 
17731
reload_cmds=$lt_reload_cmds_CXX
 
17732
 
16825
17733
# Commands used to build an old-style archive.
16826
17734
old_archive_cmds=$lt_old_archive_cmds_CXX
16827
17735
 
16834
17742
# Compiler flag to turn off builtin functions.
16835
17743
no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag_CXX
16836
17744
 
 
17745
# Additional compiler flags for building library objects.
 
17746
pic_flag=$lt_lt_prog_compiler_pic_CXX
 
17747
 
16837
17748
# How to pass a linker flag through the compiler.
16838
17749
wl=$lt_lt_prog_compiler_wl_CXX
16839
17750
 
16840
 
# Additional compiler flags for building library objects.
16841
 
pic_flag=$lt_lt_prog_compiler_pic_CXX
16842
 
 
16843
17751
# Compiler flag to prevent dynamic linking.
16844
17752
link_static_flag=$lt_lt_prog_compiler_static_CXX
16845
17753
 
16889
17797
# This must work even if \$libdir does not exist
16890
17798
hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec_CXX
16891
17799
 
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
17800
# Whether we need a single "-rpath" flag with a separated argument.
16897
17801
hardcode_libdir_separator=$lt_hardcode_libdir_separator_CXX
16898
17802
 
16926
17830
# Whether libtool must link a program against all its dependency libraries.
16927
17831
link_all_deplibs=$link_all_deplibs_CXX
16928
17832
 
16929
 
# Fix the shell variable \$srcfile for the compiler.
16930
 
fix_srcfile_path=$lt_fix_srcfile_path_CXX
16931
 
 
16932
17833
# Set to "yes" if exported symbols are required.
16933
17834
always_export_symbols=$always_export_symbols_CXX
16934
17835
 
16944
17845
# Commands necessary for linking programs (against libraries) with templates.
16945
17846
prelink_cmds=$lt_prelink_cmds_CXX
16946
17847
 
 
17848
# Commands necessary for finishing linking programs.
 
17849
postlink_cmds=$lt_postlink_cmds_CXX
 
17850
 
16947
17851
# Specify filename containing input files.
16948
17852
file_list_spec=$lt_file_list_spec_CXX
16949
17853
 
16978
17882
ac_clean_files=$ac_clean_files_save
16979
17883
 
16980
17884
test $ac_write_fail = 0 ||
16981
 
  as_fn_error "write failure creating $CONFIG_STATUS" "$LINENO" 5
 
17885
  as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5
16982
17886
 
16983
17887
 
16984
17888
# configure is writing to config.log, and then calls config.status.
16999
17903
  exec 5>>config.log
17000
17904
  # Use ||, not &&, to avoid exiting from the if with $? = 1, which
17001
17905
  # would make configure fail if this is the last instruction.
17002
 
  $ac_cs_success || as_fn_exit $?
 
17906
  $ac_cs_success || as_fn_exit 1
17003
17907
fi
17004
17908
if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
17005
17909
  { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5