/sqlite3cc

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

« back to all changes in this revision

Viewing changes to configure

  • Committer: edam
  • Date: 2010-07-29 06:28:53 UTC
  • Revision ID: edam@waxworlds.org-20100729062853-4i2fec52m86mh724
- made basic_statement::step() protected, for use by query and command only
- moved basic_statement::operator<<() to command and query instead; one needs to accept sqlite::exec, the other doesn't
- added tests for query::operator<<()
- added code to invlaidate in-progress queries during any transaction rollbacks (currently segfaults in basic_statement::finalize())
- added new sqlite_error constructor that obtains a full error message
- implemented database::database_mutex_guard class
- swapped command's step mutex in favour of the database mutex

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.68 for sqlite3cc 0.2dev.
4
 
#
5
 
# Report bugs to <tim@ed.am>.
6
 
#
 
3
# Generated by GNU Autoconf 2.64 for sqlite3cc 0.1.0.
 
4
#
 
5
# Report bugs to <edam@waxworlds.org>.
7
6
#
8
7
# Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
9
 
# 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010 Free Software
 
8
# 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009 Free Software
10
9
# Foundation, Inc.
11
10
#
12
 
#
13
11
# This configure script is free software; the Free Software Foundation
14
12
# gives unlimited permission to copy, distribute and modify it.
15
13
## -------------------- ##
91
89
IFS=" ""        $as_nl"
92
90
 
93
91
# Find who we are.  Look in the path if we contain no directory separator.
94
 
as_myself=
95
92
case $0 in #((
96
93
  *[\\/]* ) as_myself=$0 ;;
97
94
  *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
174
171
  as_lineno_2=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_2a=\$LINENO
175
172
  eval 'test \"x\$as_lineno_1'\$as_run'\" != \"x\$as_lineno_2'\$as_run'\" &&
176
173
  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
185
174
test \$(( 1 + 1 )) = 2 || exit 1"
186
175
  if (eval "$as_required") 2>/dev/null; then :
187
176
  as_have_required=yes
225
214
  # We cannot yet assume a decent shell, so we have to provide a
226
215
        # neutralization value for shells without unset; and this also
227
216
        # works around shells that cannot unset nonexistent variables.
228
 
        # Preserve -v and -x to the replacement shell.
229
217
        BASH_ENV=/dev/null
230
218
        ENV=/dev/null
231
219
        (unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV
232
220
        export CONFIG_SHELL
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+"$@"}
 
221
        exec "$CONFIG_SHELL" "$as_myself" ${1+"$@"}
240
222
fi
241
223
 
242
224
    if test x$as_have_required = xno; then :
246
228
    $as_echo "$0: In particular, zsh $ZSH_VERSION has bugs and should"
247
229
    $as_echo "$0: be upgraded to zsh 4.3.4 or later."
248
230
  else
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."
 
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."
253
236
  fi
254
237
  exit 1
255
238
fi
334
317
      test -d "$as_dir" && break
335
318
    done
336
319
    test -z "$as_dirs" || eval "mkdir $as_dirs"
337
 
  } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
 
320
  } || test -d "$as_dir" || as_fn_error "cannot create directory $as_dir"
338
321
 
339
322
 
340
323
} # as_fn_mkdir_p
374
357
fi # as_fn_arith
375
358
 
376
359
 
377
 
# as_fn_error STATUS ERROR [LINENO LOG_FD]
378
 
# ----------------------------------------
 
360
# as_fn_error ERROR [LINENO LOG_FD]
 
361
# ---------------------------------
379
362
# Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
380
363
# provided, also output the error to LOG_FD, referencing LINENO. Then exit the
381
 
# script with STATUS, using 1 if that was 0.
 
364
# script with status $?, using 1 if that was 0.
382
365
as_fn_error ()
383
366
{
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
 
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
388
371
  fi
389
 
  $as_echo "$as_me: error: $2" >&2
 
372
  $as_echo "$as_me: error: $1" >&2
390
373
  as_fn_exit $as_status
391
374
} # as_fn_error
392
375
 
543
526
# Sed expression to map a string onto a valid variable name.
544
527
as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
545
528
 
 
529
 
 
530
 
 
531
# Check that we are running under the correct shell.
546
532
SHELL=${CONFIG_SHELL-/bin/sh}
547
533
 
548
 
 
549
 
test -n "$DJDIR" || exec 7<&0 </dev/null
550
 
exec 6>&1
 
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
551
680
 
552
681
# Name of the host.
553
 
# hostname on some systems (SVR3.2, old GNU/Linux) returns a bogus exit status,
 
682
# hostname on some systems (SVR3.2, Linux) returns a bogus exit status,
554
683
# so uname gets run too.
555
684
ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
556
685
 
569
698
# Identity of this package.
570
699
PACKAGE_NAME='sqlite3cc'
571
700
PACKAGE_TARNAME='sqlite3cc'
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'
 
701
PACKAGE_VERSION='0.1.0'
 
702
PACKAGE_STRING='sqlite3cc 0.1.0'
 
703
PACKAGE_BUGREPORT='edam@waxworlds.org'
 
704
PACKAGE_URL='http://www.waxworlds.org/edam/software/sqlite3cc'
576
705
 
577
 
ac_unique_file="src/command.cc"
 
706
ac_unique_file="src/database.cc"
578
707
# Factoring default headers for most tests.
579
708
ac_includes_default="\
580
709
#include <stdio.h>
616
745
LTLIBOBJS
617
746
LIBOBJS
618
747
CXXCPP
 
748
am__fastdepCXX_FALSE
 
749
am__fastdepCXX_TRUE
 
750
CXXDEPMODE
 
751
ac_ct_CXX
 
752
CXXFLAGS
 
753
CXX
619
754
CPP
620
755
OTOOL64
621
756
OTOOL
622
757
LIPO
623
758
NMEDIT
624
759
DSYMUTIL
625
 
MANIFEST_TOOL
 
760
lt_ECHO
626
761
RANLIB
627
 
ac_ct_AR
628
762
AR
629
 
DLLTOOL
630
763
OBJDUMP
631
764
LN_S
632
765
NM
640
773
am__fastdepCC_FALSE
641
774
am__fastdepCC_TRUE
642
775
CCDEPMODE
 
776
AMDEPBACKSLASH
 
777
AMDEP_FALSE
 
778
AMDEP_TRUE
 
779
am__quote
 
780
am__include
 
781
DEPDIR
 
782
OBJEXT
 
783
EXEEXT
643
784
ac_ct_CC
 
785
CPPFLAGS
 
786
LDFLAGS
644
787
CFLAGS
645
788
CC
646
789
host_os
652
795
build_cpu
653
796
build
654
797
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
672
798
am__untar
673
799
am__tar
674
800
AMTAR
734
860
ac_subst_files=''
735
861
ac_user_opts='
736
862
enable_option_checking
737
 
enable_dependency_tracking
738
863
enable_shared
739
864
enable_static
740
865
with_pic
741
866
enable_fast_install
 
867
enable_dependency_tracking
742
868
with_gnu_ld
743
 
with_sysroot
744
869
enable_libtool_lock
745
870
'
746
871
      ac_precious_vars='build_alias
747
872
host_alias
748
873
target_alias
749
 
CXX
750
 
CXXFLAGS
 
874
CC
 
875
CFLAGS
751
876
LDFLAGS
752
877
LIBS
753
878
CPPFLAGS
 
879
CPP
 
880
CXX
 
881
CXXFLAGS
754
882
CCC
755
 
CC
756
 
CFLAGS
757
 
CPP
758
883
CXXCPP'
759
884
 
760
885
 
818
943
  fi
819
944
 
820
945
  case $ac_option in
821
 
  *=?*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
822
 
  *=)   ac_optarg= ;;
823
 
  *)    ac_optarg=yes ;;
 
946
  *=*)  ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
 
947
  *)    ac_optarg=yes ;;
824
948
  esac
825
949
 
826
950
  # Accept the important Cygnus configure options, so we can diagnose typos.
865
989
    ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
866
990
    # Reject names that are not valid shell variable names.
867
991
    expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
868
 
      as_fn_error $? "invalid feature name: $ac_useropt"
 
992
      as_fn_error "invalid feature name: $ac_useropt"
869
993
    ac_useropt_orig=$ac_useropt
870
994
    ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
871
995
    case $ac_user_opts in
891
1015
    ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
892
1016
    # Reject names that are not valid shell variable names.
893
1017
    expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
894
 
      as_fn_error $? "invalid feature name: $ac_useropt"
 
1018
      as_fn_error "invalid feature name: $ac_useropt"
895
1019
    ac_useropt_orig=$ac_useropt
896
1020
    ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
897
1021
    case $ac_user_opts in
1095
1219
    ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1096
1220
    # Reject names that are not valid shell variable names.
1097
1221
    expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1098
 
      as_fn_error $? "invalid package name: $ac_useropt"
 
1222
      as_fn_error "invalid package name: $ac_useropt"
1099
1223
    ac_useropt_orig=$ac_useropt
1100
1224
    ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1101
1225
    case $ac_user_opts in
1111
1235
    ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1112
1236
    # Reject names that are not valid shell variable names.
1113
1237
    expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1114
 
      as_fn_error $? "invalid package name: $ac_useropt"
 
1238
      as_fn_error "invalid package name: $ac_useropt"
1115
1239
    ac_useropt_orig=$ac_useropt
1116
1240
    ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1117
1241
    case $ac_user_opts in
1141
1265
  | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
1142
1266
    x_libraries=$ac_optarg ;;
1143
1267
 
1144
 
  -*) as_fn_error $? "unrecognized option: \`$ac_option'
1145
 
Try \`$0 --help' for more information"
 
1268
  -*) as_fn_error "unrecognized option: \`$ac_option'
 
1269
Try \`$0 --help' for more information."
1146
1270
    ;;
1147
1271
 
1148
1272
  *=*)
1150
1274
    # Reject names that are not valid shell variable names.
1151
1275
    case $ac_envvar in #(
1152
1276
      '' | [0-9]* | *[!_$as_cr_alnum]* )
1153
 
      as_fn_error $? "invalid variable name: \`$ac_envvar'" ;;
 
1277
      as_fn_error "invalid variable name: \`$ac_envvar'" ;;
1154
1278
    esac
1155
1279
    eval $ac_envvar=\$ac_optarg
1156
1280
    export $ac_envvar ;;
1160
1284
    $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1161
1285
    expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1162
1286
      $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1163
 
    : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"
 
1287
    : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
1164
1288
    ;;
1165
1289
 
1166
1290
  esac
1168
1292
 
1169
1293
if test -n "$ac_prev"; then
1170
1294
  ac_option=--`echo $ac_prev | sed 's/_/-/g'`
1171
 
  as_fn_error $? "missing argument to $ac_option"
 
1295
  as_fn_error "missing argument to $ac_option"
1172
1296
fi
1173
1297
 
1174
1298
if test -n "$ac_unrecognized_opts"; then
1175
1299
  case $enable_option_checking in
1176
1300
    no) ;;
1177
 
    fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;;
 
1301
    fatal) as_fn_error "unrecognized options: $ac_unrecognized_opts" ;;
1178
1302
    *)     $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
1179
1303
  esac
1180
1304
fi
1197
1321
    [\\/$]* | ?:[\\/]* )  continue;;
1198
1322
    NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
1199
1323
  esac
1200
 
  as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val"
 
1324
  as_fn_error "expected an absolute directory name for --$ac_var: $ac_val"
1201
1325
done
1202
1326
 
1203
1327
# There might be people who depend on the old broken behavior: `$host'
1211
1335
if test "x$host_alias" != x; then
1212
1336
  if test "x$build_alias" = x; then
1213
1337
    cross_compiling=maybe
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
 
1338
    $as_echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
 
1339
    If a cross compiler is detected then cross compile mode will be used." >&2
1216
1340
  elif test "x$build_alias" != "x$host_alias"; then
1217
1341
    cross_compiling=yes
1218
1342
  fi
1227
1351
ac_pwd=`pwd` && test -n "$ac_pwd" &&
1228
1352
ac_ls_di=`ls -di .` &&
1229
1353
ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
1230
 
  as_fn_error $? "working directory cannot be determined"
 
1354
  as_fn_error "working directory cannot be determined"
1231
1355
test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1232
 
  as_fn_error $? "pwd does not report name of working directory"
 
1356
  as_fn_error "pwd does not report name of working directory"
1233
1357
 
1234
1358
 
1235
1359
# Find the source files, if location was not specified.
1268
1392
fi
1269
1393
if test ! -r "$srcdir/$ac_unique_file"; then
1270
1394
  test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
1271
 
  as_fn_error $? "cannot find sources ($ac_unique_file) in $srcdir"
 
1395
  as_fn_error "cannot find sources ($ac_unique_file) in $srcdir"
1272
1396
fi
1273
1397
ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
1274
1398
ac_abs_confdir=`(
1275
 
        cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
 
1399
        cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error "$ac_msg"
1276
1400
        pwd)`
1277
1401
# When building in place, set srcdir=.
1278
1402
if test "$ac_abs_confdir" = "$ac_pwd"; then
1298
1422
  # Omit some internal or obsolete options to make the list less imposing.
1299
1423
  # This message is too long to be a string in the A/UX 3.1 sh.
1300
1424
  cat <<_ACEOF
1301
 
\`configure' configures sqlite3cc 0.2dev to adapt to many kinds of systems.
 
1425
\`configure' configures sqlite3cc 0.1.0 to adapt to many kinds of systems.
1302
1426
 
1303
1427
Usage: $0 [OPTION]... [VAR=VALUE]...
1304
1428
 
1312
1436
      --help=short        display options specific to this package
1313
1437
      --help=recursive    display the short help of all the included packages
1314
1438
  -V, --version           display version information and exit
1315
 
  -q, --quiet, --silent   do not print \`checking ...' messages
 
1439
  -q, --quiet, --silent   do not print \`checking...' messages
1316
1440
      --cache-file=FILE   cache test results in FILE [disabled]
1317
1441
  -C, --config-cache      alias for \`--cache-file=config.cache'
1318
1442
  -n, --no-create         do not create output files
1368
1492
 
1369
1493
if test -n "$ac_init_help"; then
1370
1494
  case $ac_init_help in
1371
 
     short | recursive ) echo "Configuration of sqlite3cc 0.2dev:";;
 
1495
     short | recursive ) echo "Configuration of sqlite3cc 0.1.0:";;
1372
1496
   esac
1373
1497
  cat <<\_ACEOF
1374
1498
 
1376
1500
  --disable-option-checking  ignore unrecognized --enable/--with options
1377
1501
  --disable-FEATURE       do not include FEATURE (same as --enable-FEATURE=no)
1378
1502
  --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
1381
1503
  --enable-shared[=PKGS]  build shared libraries [default=yes]
1382
1504
  --enable-static[=PKGS]  build static libraries [default=yes]
1383
1505
  --enable-fast-install[=PKGS]
1384
1506
                          optimize for fast installation [default=yes]
 
1507
  --disable-dependency-tracking  speeds up one-time build
 
1508
  --enable-dependency-tracking   do not reject slow dependency extractors
1385
1509
  --disable-libtool-lock  avoid locking (might break parallel builds)
1386
1510
 
1387
1511
Optional Packages:
1388
1512
  --with-PACKAGE[=ARG]    use PACKAGE [ARG=yes]
1389
1513
  --without-PACKAGE       do not use PACKAGE (same as --with-PACKAGE=no)
1390
 
  --with-pic[=PKGS]       try to use only PIC/non-PIC objects [default=use
 
1514
  --with-pic              try to use only PIC/non-PIC objects [default=use
1391
1515
                          both]
1392
1516
  --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).
1395
1517
 
1396
1518
Some influential environment variables:
1397
 
  CXX         C++ compiler command
1398
 
  CXXFLAGS    C++ compiler flags
 
1519
  CC          C compiler command
 
1520
  CFLAGS      C compiler flags
1399
1521
  LDFLAGS     linker flags, e.g. -L<lib dir> if you have libraries in a
1400
1522
              nonstandard directory <lib dir>
1401
1523
  LIBS        libraries to pass to the linker, e.g. -l<library>
1402
 
  CPPFLAGS    (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if
 
1524
  CPPFLAGS    C/C++/Objective C preprocessor flags, e.g. -I<include dir> if
1403
1525
              you have headers in a nonstandard directory <include dir>
1404
 
  CC          C compiler command
1405
 
  CFLAGS      C compiler flags
1406
1526
  CPP         C preprocessor
 
1527
  CXX         C++ compiler command
 
1528
  CXXFLAGS    C++ compiler flags
1407
1529
  CXXCPP      C++ preprocessor
1408
1530
 
1409
1531
Use these variables to override the choices made by `configure' or to help
1410
1532
it to find libraries and programs with nonstandard names/locations.
1411
1533
 
1412
 
Report bugs to <tim@ed.am>.
1413
 
sqlite3cc home page: <http://ed.am/dev/sqlite3cc>.
 
1534
Report bugs to <edam@waxworlds.org>.
 
1535
sqlite3cc home page: <http://www.waxworlds.org/edam/software/sqlite3cc>.
1414
1536
_ACEOF
1415
1537
ac_status=$?
1416
1538
fi
1473
1595
test -n "$ac_init_help" && exit $ac_status
1474
1596
if $ac_init_version; then
1475
1597
  cat <<\_ACEOF
1476
 
sqlite3cc configure 0.2dev
1477
 
generated by GNU Autoconf 2.68
 
1598
sqlite3cc configure 0.1.0
 
1599
generated by GNU Autoconf 2.64
1478
1600
 
1479
 
Copyright (C) 2010 Free Software Foundation, Inc.
 
1601
Copyright (C) 2009 Free Software Foundation, Inc.
1480
1602
This configure script is free software; the Free Software Foundation
1481
1603
gives unlimited permission to copy, distribute and modify it.
1482
1604
_ACEOF
1487
1609
## Autoconf initialization. ##
1488
1610
## ------------------------ ##
1489
1611
 
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
 
 
1528
1612
# ac_fn_c_try_compile LINENO
1529
1613
# --------------------------
1530
1614
# Try to compile conftest.$ac_ext, and return whether this succeeded.
1558
1642
 
1559
1643
        ac_retval=1
1560
1644
fi
1561
 
  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1562
 
  as_fn_set_status $ac_retval
 
1645
  eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
 
1646
  return $ac_retval
1563
1647
 
1564
1648
} # ac_fn_c_try_compile
1565
1649
 
1604
1688
  # interfere with the next link command; also delete a directory that is
1605
1689
  # left behind by Apple's compiler.  We do this before executing the actions.
1606
1690
  rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1607
 
  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1608
 
  as_fn_set_status $ac_retval
 
1691
  eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
 
1692
  return $ac_retval
1609
1693
 
1610
1694
} # ac_fn_c_try_link
1611
1695
 
1618
1702
  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1619
1703
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1620
1704
$as_echo_n "checking for $2... " >&6; }
1621
 
if eval \${$3+:} false; then :
 
1705
if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
1622
1706
  $as_echo_n "(cached) " >&6
1623
1707
else
1624
1708
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1636
1720
eval ac_res=\$$3
1637
1721
               { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1638
1722
$as_echo "$ac_res" >&6; }
1639
 
  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
 
1723
  eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1640
1724
 
1641
1725
} # ac_fn_c_check_header_compile
1642
1726
 
1661
1745
    mv -f conftest.er1 conftest.err
1662
1746
  fi
1663
1747
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1664
 
  test $ac_status = 0; } > conftest.i && {
 
1748
  test $ac_status = 0; } >/dev/null && {
1665
1749
         test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
1666
1750
         test ! -s conftest.err
1667
1751
       }; then :
1672
1756
 
1673
1757
    ac_retval=1
1674
1758
fi
1675
 
  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1676
 
  as_fn_set_status $ac_retval
 
1759
  eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
 
1760
  return $ac_retval
1677
1761
 
1678
1762
} # ac_fn_c_try_cpp
1679
1763
 
1714
1798
       ac_retval=$ac_status
1715
1799
fi
1716
1800
  rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1717
 
  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1718
 
  as_fn_set_status $ac_retval
 
1801
  eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
 
1802
  return $ac_retval
1719
1803
 
1720
1804
} # ac_fn_c_try_run
1721
1805
 
1727
1811
  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1728
1812
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1729
1813
$as_echo_n "checking for $2... " >&6; }
1730
 
if eval \${$3+:} false; then :
 
1814
if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
1731
1815
  $as_echo_n "(cached) " >&6
1732
1816
else
1733
1817
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1782
1866
eval ac_res=\$$3
1783
1867
               { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1784
1868
$as_echo "$ac_res" >&6; }
1785
 
  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
 
1869
  eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1786
1870
 
1787
1871
} # ac_fn_c_check_func
1788
1872
 
 
1873
# ac_fn_cxx_try_compile LINENO
 
1874
# ----------------------------
 
1875
# Try to compile conftest.$ac_ext, and return whether this succeeded.
 
1876
ac_fn_cxx_try_compile ()
 
1877
{
 
1878
  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
 
1879
  rm -f conftest.$ac_objext
 
1880
  if { { ac_try="$ac_compile"
 
1881
case "(($ac_try" in
 
1882
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
1883
  *) ac_try_echo=$ac_try;;
 
1884
esac
 
1885
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
 
1886
$as_echo "$ac_try_echo"; } >&5
 
1887
  (eval "$ac_compile") 2>conftest.err
 
1888
  ac_status=$?
 
1889
  if test -s conftest.err; then
 
1890
    grep -v '^ *+' conftest.err >conftest.er1
 
1891
    cat conftest.er1 >&5
 
1892
    mv -f conftest.er1 conftest.err
 
1893
  fi
 
1894
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 
1895
  test $ac_status = 0; } && {
 
1896
         test -z "$ac_cxx_werror_flag" ||
 
1897
         test ! -s conftest.err
 
1898
       } && test -s conftest.$ac_objext; then :
 
1899
  ac_retval=0
 
1900
else
 
1901
  $as_echo "$as_me: failed program was:" >&5
 
1902
sed 's/^/| /' conftest.$ac_ext >&5
 
1903
 
 
1904
        ac_retval=1
 
1905
fi
 
1906
  eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
 
1907
  return $ac_retval
 
1908
 
 
1909
} # ac_fn_cxx_try_compile
 
1910
 
1789
1911
# ac_fn_cxx_try_cpp LINENO
1790
1912
# ------------------------
1791
1913
# Try to preprocess conftest.$ac_ext, and return whether this succeeded.
1807
1929
    mv -f conftest.er1 conftest.err
1808
1930
  fi
1809
1931
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1810
 
  test $ac_status = 0; } > conftest.i && {
 
1932
  test $ac_status = 0; } >/dev/null && {
1811
1933
         test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
1812
1934
         test ! -s conftest.err
1813
1935
       }; then :
1818
1940
 
1819
1941
    ac_retval=1
1820
1942
fi
1821
 
  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1822
 
  as_fn_set_status $ac_retval
 
1943
  eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
 
1944
  return $ac_retval
1823
1945
 
1824
1946
} # ac_fn_cxx_try_cpp
1825
1947
 
1864
1986
  # interfere with the next link command; also delete a directory that is
1865
1987
  # left behind by Apple's compiler.  We do this before executing the actions.
1866
1988
  rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1867
 
  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1868
 
  as_fn_set_status $ac_retval
 
1989
  eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
 
1990
  return $ac_retval
1869
1991
 
1870
1992
} # ac_fn_cxx_try_link
1871
1993
 
1877
1999
ac_fn_c_check_header_mongrel ()
1878
2000
{
1879
2001
  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1880
 
  if eval \${$3+:} false; then :
 
2002
  if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
1881
2003
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1882
2004
$as_echo_n "checking for $2... " >&6; }
1883
 
if eval \${$3+:} false; then :
 
2005
if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
1884
2006
  $as_echo_n "(cached) " >&6
1885
2007
fi
1886
2008
eval ac_res=\$$3
1916
2038
else
1917
2039
  ac_header_preproc=no
1918
2040
fi
1919
 
rm -f conftest.err conftest.i conftest.$ac_ext
 
2041
rm -f conftest.err conftest.$ac_ext
1920
2042
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
1921
2043
$as_echo "$ac_header_preproc" >&6; }
1922
2044
 
1939
2061
$as_echo "$as_me: WARNING: $2:     section \"Present But Cannot Be Compiled\"" >&2;}
1940
2062
    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
1941
2063
$as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
1942
 
( $as_echo "## ------------------------ ##
1943
 
## Report this to tim@ed.am ##
1944
 
## ------------------------ ##"
 
2064
( cat <<\_ASBOX
 
2065
## --------------------------------- ##
 
2066
## Report this to edam@waxworlds.org ##
 
2067
## --------------------------------- ##
 
2068
_ASBOX
1945
2069
     ) | sed "s/^/$as_me: WARNING:     /" >&2
1946
2070
    ;;
1947
2071
esac
1948
2072
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1949
2073
$as_echo_n "checking for $2... " >&6; }
1950
 
if eval \${$3+:} false; then :
 
2074
if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
1951
2075
  $as_echo_n "(cached) " >&6
1952
2076
else
1953
2077
  eval "$3=\$ac_header_compiler"
1956
2080
               { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1957
2081
$as_echo "$ac_res" >&6; }
1958
2082
fi
1959
 
  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
 
2083
  eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1960
2084
 
1961
2085
} # ac_fn_c_check_header_mongrel
1962
2086
cat >config.log <<_ACEOF
1963
2087
This file contains any messages produced by compilers while
1964
2088
running configure, to aid debugging if configure makes a mistake.
1965
2089
 
1966
 
It was created by sqlite3cc $as_me 0.2dev, which was
1967
 
generated by GNU Autoconf 2.68.  Invocation command line was
 
2090
It was created by sqlite3cc $as_me 0.1.0, which was
 
2091
generated by GNU Autoconf 2.64.  Invocation command line was
1968
2092
 
1969
2093
  $ $0 $@
1970
2094
 
2074
2198
  {
2075
2199
    echo
2076
2200
 
2077
 
    $as_echo "## ---------------- ##
 
2201
    cat <<\_ASBOX
 
2202
## ---------------- ##
2078
2203
## Cache variables. ##
2079
 
## ---------------- ##"
 
2204
## ---------------- ##
 
2205
_ASBOX
2080
2206
    echo
2081
2207
    # The following way of writing the cache mishandles newlines in values,
2082
2208
(
2110
2236
)
2111
2237
    echo
2112
2238
 
2113
 
    $as_echo "## ----------------- ##
 
2239
    cat <<\_ASBOX
 
2240
## ----------------- ##
2114
2241
## Output variables. ##
2115
 
## ----------------- ##"
 
2242
## ----------------- ##
 
2243
_ASBOX
2116
2244
    echo
2117
2245
    for ac_var in $ac_subst_vars
2118
2246
    do
2125
2253
    echo
2126
2254
 
2127
2255
    if test -n "$ac_subst_files"; then
2128
 
      $as_echo "## ------------------- ##
 
2256
      cat <<\_ASBOX
 
2257
## ------------------- ##
2129
2258
## File substitutions. ##
2130
 
## ------------------- ##"
 
2259
## ------------------- ##
 
2260
_ASBOX
2131
2261
      echo
2132
2262
      for ac_var in $ac_subst_files
2133
2263
      do
2141
2271
    fi
2142
2272
 
2143
2273
    if test -s confdefs.h; then
2144
 
      $as_echo "## ----------- ##
 
2274
      cat <<\_ASBOX
 
2275
## ----------- ##
2145
2276
## confdefs.h. ##
2146
 
## ----------- ##"
 
2277
## ----------- ##
 
2278
_ASBOX
2147
2279
      echo
2148
2280
      cat confdefs.h
2149
2281
      echo
2198
2330
ac_site_file1=NONE
2199
2331
ac_site_file2=NONE
2200
2332
if test -n "$CONFIG_SITE"; then
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
 
2333
  ac_site_file1=$CONFIG_SITE
2207
2334
elif test "x$prefix" != xNONE; then
2208
2335
  ac_site_file1=$prefix/share/config.site
2209
2336
  ac_site_file2=$prefix/etc/config.site
2214
2341
for ac_site_file in "$ac_site_file1" "$ac_site_file2"
2215
2342
do
2216
2343
  test "x$ac_site_file" = xNONE && continue
2217
 
  if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then
 
2344
  if test -r "$ac_site_file"; then
2218
2345
    { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
2219
2346
$as_echo "$as_me: loading site script $ac_site_file" >&6;}
2220
2347
    sed 's/^/| /' "$ac_site_file" >&5
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; }
 
2348
    . "$ac_site_file"
2226
2349
  fi
2227
2350
done
2228
2351
 
2229
2352
if test -r "$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
 
2353
  # Some versions of bash will fail to source /dev/null (special
 
2354
  # files actually), so we avoid doing that.
 
2355
  if test -f "$cache_file"; then
2233
2356
    { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
2234
2357
$as_echo "$as_me: loading cache $cache_file" >&6;}
2235
2358
    case $cache_file in
2298
2421
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2299
2422
  { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
2300
2423
$as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
2301
 
  as_fn_error $? "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
 
2424
  as_fn_error "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
2302
2425
fi
2303
2426
## -------------------- ##
2304
2427
## Main body of script. ##
2315
2438
 
2316
2439
ac_aux_dir=
2317
2440
for ac_dir in build-aux "$srcdir"/build-aux; do
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
 
2441
  for ac_t in install-sh install.sh shtool; do
 
2442
    if test -f "$ac_dir/$ac_t"; then
 
2443
      ac_aux_dir=$ac_dir
 
2444
      ac_install_sh="$ac_aux_dir/$ac_t -c"
 
2445
      break 2
 
2446
    fi
 
2447
  done
2331
2448
done
2332
2449
if test -z "$ac_aux_dir"; then
2333
 
  as_fn_error $? "cannot find install-sh, install.sh, or shtool in build-aux \"$srcdir\"/build-aux" "$LINENO" 5
 
2450
  as_fn_error "cannot find install-sh, install.sh, or shtool in build-aux \"$srcdir\"/build-aux" "$LINENO" 5
2334
2451
fi
2335
2452
 
2336
2453
# These three variables are undocumented and unsupported,
2362
2479
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
2363
2480
$as_echo_n "checking for a BSD-compatible install... " >&6; }
2364
2481
if test -z "$INSTALL"; then
2365
 
if ${ac_cv_path_install+:} false; then :
 
2482
if test "${ac_cv_path_install+set}" = set; then :
2366
2483
  $as_echo_n "(cached) " >&6
2367
2484
else
2368
2485
  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2449
2566
'
2450
2567
case `pwd` in
2451
2568
  *[\\\"\#\$\&\'\`$am_lf]*)
2452
 
    as_fn_error $? "unsafe absolute working directory name" "$LINENO" 5;;
 
2569
    as_fn_error "unsafe absolute working directory name" "$LINENO" 5;;
2453
2570
esac
2454
2571
case $srcdir in
2455
2572
  *[\\\"\#\$\&\'\`$am_lf\ \     ]*)
2456
 
    as_fn_error $? "unsafe srcdir value: \`$srcdir'" "$LINENO" 5;;
 
2573
    as_fn_error "unsafe srcdir value: \`$srcdir'" "$LINENO" 5;;
2457
2574
esac
2458
2575
 
2459
2576
# Do `set' in a subshell so we don't clobber the current shell's
2475
2592
      # if, for instance, CONFIG_SHELL is bash and it inherits a
2476
2593
      # broken ls alias from the environment.  This has actually
2477
2594
      # happened.  Such a system could not be considered "sane".
2478
 
      as_fn_error $? "ls -t appears to fail.  Make sure there is not a broken
 
2595
      as_fn_error "ls -t appears to fail.  Make sure there is not a broken
2479
2596
alias in your environment" "$LINENO" 5
2480
2597
   fi
2481
2598
 
2485
2602
   # Ok.
2486
2603
   :
2487
2604
else
2488
 
   as_fn_error $? "newly created file is older than distributed files!
 
2605
   as_fn_error "newly created file is older than distributed files!
2489
2606
Check your system clock" "$LINENO" 5
2490
2607
fi
2491
2608
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2539
2656
set dummy ${ac_tool_prefix}strip; ac_word=$2
2540
2657
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2541
2658
$as_echo_n "checking for $ac_word... " >&6; }
2542
 
if ${ac_cv_prog_STRIP+:} false; then :
 
2659
if test "${ac_cv_prog_STRIP+set}" = set; then :
2543
2660
  $as_echo_n "(cached) " >&6
2544
2661
else
2545
2662
  if test -n "$STRIP"; then
2579
2696
set dummy strip; ac_word=$2
2580
2697
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2581
2698
$as_echo_n "checking for $ac_word... " >&6; }
2582
 
if ${ac_cv_prog_ac_ct_STRIP+:} false; then :
 
2699
if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then :
2583
2700
  $as_echo_n "(cached) " >&6
2584
2701
else
2585
2702
  if test -n "$ac_ct_STRIP"; then
2632
2749
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for a thread-safe mkdir -p" >&5
2633
2750
$as_echo_n "checking for a thread-safe mkdir -p... " >&6; }
2634
2751
if test -z "$MKDIR_P"; then
2635
 
  if ${ac_cv_path_mkdir+:} false; then :
 
2752
  if test "${ac_cv_path_mkdir+set}" = set; then :
2636
2753
  $as_echo_n "(cached) " >&6
2637
2754
else
2638
2755
  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2657
2774
 
2658
2775
fi
2659
2776
 
2660
 
  test -d ./--version && rmdir ./--version
2661
2777
  if test "${ac_cv_path_mkdir+set}" = set; then
2662
2778
    MKDIR_P="$ac_cv_path_mkdir -p"
2663
2779
  else
2665
2781
    # value for MKDIR_P within a source directory, because that will
2666
2782
    # break other packages using the cache if that directory is
2667
2783
    # removed, or if the value is a relative name.
 
2784
    test -d ./--version && rmdir ./--version
2668
2785
    MKDIR_P="$ac_install_sh -d"
2669
2786
  fi
2670
2787
fi
2683
2800
set dummy $ac_prog; ac_word=$2
2684
2801
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2685
2802
$as_echo_n "checking for $ac_word... " >&6; }
2686
 
if ${ac_cv_prog_AWK+:} false; then :
 
2803
if test "${ac_cv_prog_AWK+set}" = set; then :
2687
2804
  $as_echo_n "(cached) " >&6
2688
2805
else
2689
2806
  if test -n "$AWK"; then
2723
2840
$as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
2724
2841
set x ${MAKE-make}
2725
2842
ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
2726
 
if eval \${ac_cv_prog_make_${ac_make}_set+:} false; then :
 
2843
if { as_var=ac_cv_prog_make_${ac_make}_set; eval "test \"\${$as_var+set}\" = set"; }; then :
2727
2844
  $as_echo_n "(cached) " >&6
2728
2845
else
2729
2846
  cat >conftest.make <<\_ACEOF
2731
2848
all:
2732
2849
        @echo '@@@%%%=$(MAKE)=@@@%%%'
2733
2850
_ACEOF
2734
 
# GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
 
2851
# GNU make sometimes prints "make[1]: Entering...", which would confuse us.
2735
2852
case `${MAKE-make} -f conftest.make 2>/dev/null` in
2736
2853
  *@@@%%%=?*=@@@%%%*)
2737
2854
    eval ac_cv_prog_make_${ac_make}_set=yes;;
2765
2882
  am__isrc=' -I$(srcdir)'
2766
2883
  # test to see if srcdir already configured
2767
2884
  if test -f $srcdir/config.status; then
2768
 
    as_fn_error $? "source directory already configured; run \"make distclean\" there first" "$LINENO" 5
 
2885
    as_fn_error "source directory already configured; run \"make distclean\" there first" "$LINENO" 5
2769
2886
  fi
2770
2887
fi
2771
2888
 
2781
2898
 
2782
2899
# Define the identity of the package.
2783
2900
 PACKAGE='sqlite3cc'
2784
 
 VERSION='0.2dev'
 
2901
 VERSION='0.1.0'
2785
2902
 
2786
2903
 
2787
2904
cat >>confdefs.h <<_ACEOF
2811
2928
 
2812
2929
# We need awk for the "check" target.  The system "awk" is bad on
2813
2930
# some platforms.
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 -'
 
2931
# Always define AMTAR for backward compatibility.
 
2932
 
 
2933
AMTAR=${AMTAR-"${am_missing_run}tar"}
 
2934
 
 
2935
am__tar='${AMTAR} chof - "$$tardir"'; am__untar='${AMTAR} xf -'
2819
2936
 
2820
2937
 
2821
2938
 
2824
2941
 
2825
2942
ac_config_headers="$ac_config_headers config.h"
2826
2943
 
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
 
2944
case `pwd` in
 
2945
  *\ * | *\     *)
 
2946
    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&5
 
2947
$as_echo "$as_me: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&2;} ;;
 
2948
esac
 
2949
 
 
2950
 
 
2951
 
 
2952
macro_version='2.2.6'
 
2953
macro_revision='1.3012'
 
2954
 
 
2955
 
 
2956
 
 
2957
 
 
2958
 
 
2959
 
 
2960
 
 
2961
 
 
2962
 
 
2963
 
 
2964
 
 
2965
 
 
2966
 
 
2967
ltmain="$ac_aux_dir/ltmain.sh"
 
2968
 
 
2969
# Make sure we can run config.sub.
 
2970
$SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
 
2971
  as_fn_error "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
 
2972
 
 
2973
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
 
2974
$as_echo_n "checking build system type... " >&6; }
 
2975
if test "${ac_cv_build+set}" = set; then :
 
2976
  $as_echo_n "(cached) " >&6
 
2977
else
 
2978
  ac_build_alias=$build_alias
 
2979
test "x$ac_build_alias" = x &&
 
2980
  ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
 
2981
test "x$ac_build_alias" = x &&
 
2982
  as_fn_error "cannot guess build type; you must specify one" "$LINENO" 5
 
2983
ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
 
2984
  as_fn_error "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
 
2985
 
 
2986
fi
 
2987
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
 
2988
$as_echo "$ac_cv_build" >&6; }
 
2989
case $ac_cv_build in
 
2990
*-*-*) ;;
 
2991
*) as_fn_error "invalid value of canonical build" "$LINENO" 5;;
 
2992
esac
 
2993
build=$ac_cv_build
 
2994
ac_save_IFS=$IFS; IFS='-'
 
2995
set x $ac_cv_build
 
2996
shift
 
2997
build_cpu=$1
 
2998
build_vendor=$2
 
2999
shift; shift
 
3000
# Remember, the first character of IFS is used to create $*,
 
3001
# except with old shells:
 
3002
build_os=$*
 
3003
IFS=$ac_save_IFS
 
3004
case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
 
3005
 
 
3006
 
 
3007
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
 
3008
$as_echo_n "checking host system type... " >&6; }
 
3009
if test "${ac_cv_host+set}" = set; then :
 
3010
  $as_echo_n "(cached) " >&6
 
3011
else
 
3012
  if test "x$host_alias" = x; then
 
3013
  ac_cv_host=$ac_cv_build
 
3014
else
 
3015
  ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
 
3016
    as_fn_error "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
 
3017
fi
 
3018
 
 
3019
fi
 
3020
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
 
3021
$as_echo "$ac_cv_host" >&6; }
 
3022
case $ac_cv_host in
 
3023
*-*-*) ;;
 
3024
*) as_fn_error "invalid value of canonical host" "$LINENO" 5;;
 
3025
esac
 
3026
host=$ac_cv_host
 
3027
ac_save_IFS=$IFS; IFS='-'
 
3028
set x $ac_cv_host
 
3029
shift
 
3030
host_cpu=$1
 
3031
host_vendor=$2
 
3032
shift; shift
 
3033
# Remember, the first character of IFS is used to create $*,
 
3034
# except with old shells:
 
3035
host_os=$*
 
3036
IFS=$ac_save_IFS
 
3037
case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
 
3038
 
 
3039
 
3335
3040
DEPDIR="${am__leading_dot}deps"
3336
3041
 
3337
3042
ac_config_commands="$ac_config_commands depfiles"
3384
3089
if test "x$enable_dependency_tracking" != xno; then
3385
3090
  am_depcomp="$ac_aux_dir/depcomp"
3386
3091
  AMDEPBACKSLASH='\'
3387
 
  am__nodep='_no'
3388
3092
fi
3389
3093
 if test "x$enable_dependency_tracking" != xno; then
3390
3094
  AMDEP_TRUE=
3395
3099
fi
3396
3100
 
3397
3101
 
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
 
 
3692
3102
ac_ext=c
3693
3103
ac_cpp='$CPP $CPPFLAGS'
3694
3104
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3699
3109
set dummy ${ac_tool_prefix}gcc; ac_word=$2
3700
3110
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3701
3111
$as_echo_n "checking for $ac_word... " >&6; }
3702
 
if ${ac_cv_prog_CC+:} false; then :
 
3112
if test "${ac_cv_prog_CC+set}" = set; then :
3703
3113
  $as_echo_n "(cached) " >&6
3704
3114
else
3705
3115
  if test -n "$CC"; then
3739
3149
set dummy gcc; ac_word=$2
3740
3150
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3741
3151
$as_echo_n "checking for $ac_word... " >&6; }
3742
 
if ${ac_cv_prog_ac_ct_CC+:} false; then :
 
3152
if test "${ac_cv_prog_ac_ct_CC+set}" = set; then :
3743
3153
  $as_echo_n "(cached) " >&6
3744
3154
else
3745
3155
  if test -n "$ac_ct_CC"; then
3792
3202
set dummy ${ac_tool_prefix}cc; ac_word=$2
3793
3203
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3794
3204
$as_echo_n "checking for $ac_word... " >&6; }
3795
 
if ${ac_cv_prog_CC+:} false; then :
 
3205
if test "${ac_cv_prog_CC+set}" = set; then :
3796
3206
  $as_echo_n "(cached) " >&6
3797
3207
else
3798
3208
  if test -n "$CC"; then
3832
3242
set dummy cc; ac_word=$2
3833
3243
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3834
3244
$as_echo_n "checking for $ac_word... " >&6; }
3835
 
if ${ac_cv_prog_CC+:} false; then :
 
3245
if test "${ac_cv_prog_CC+set}" = set; then :
3836
3246
  $as_echo_n "(cached) " >&6
3837
3247
else
3838
3248
  if test -n "$CC"; then
3891
3301
set dummy $ac_tool_prefix$ac_prog; ac_word=$2
3892
3302
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3893
3303
$as_echo_n "checking for $ac_word... " >&6; }
3894
 
if ${ac_cv_prog_CC+:} false; then :
 
3304
if test "${ac_cv_prog_CC+set}" = set; then :
3895
3305
  $as_echo_n "(cached) " >&6
3896
3306
else
3897
3307
  if test -n "$CC"; then
3935
3345
set dummy $ac_prog; ac_word=$2
3936
3346
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3937
3347
$as_echo_n "checking for $ac_word... " >&6; }
3938
 
if ${ac_cv_prog_ac_ct_CC+:} false; then :
 
3348
if test "${ac_cv_prog_ac_ct_CC+set}" = set; then :
3939
3349
  $as_echo_n "(cached) " >&6
3940
3350
else
3941
3351
  if test -n "$ac_ct_CC"; then
3989
3399
 
3990
3400
test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3991
3401
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3992
 
as_fn_error $? "no acceptable C compiler found in \$PATH
3993
 
See \`config.log' for more details" "$LINENO" 5; }
 
3402
as_fn_error "no acceptable C compiler found in \$PATH
 
3403
See \`config.log' for more details." "$LINENO" 5; }
3994
3404
 
3995
3405
# Provide some information about the compiler.
3996
3406
$as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
4011
3421
... rest of stderr output deleted ...
4012
3422
         10q' conftest.err >conftest.er1
4013
3423
    cat conftest.er1 >&5
 
3424
    rm -f conftest.er1 conftest.err
4014
3425
  fi
4015
 
  rm -f conftest.er1 conftest.err
4016
3426
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4017
3427
  test $ac_status = 0; }
4018
3428
done
4019
3429
 
 
3430
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 
3431
/* end confdefs.h.  */
 
3432
#include <stdio.h>
 
3433
int
 
3434
main ()
 
3435
{
 
3436
FILE *f = fopen ("conftest.out", "w");
 
3437
 return ferror (f) || fclose (f) != 0;
 
3438
 
 
3439
  ;
 
3440
  return 0;
 
3441
}
 
3442
_ACEOF
 
3443
ac_clean_files_save=$ac_clean_files
 
3444
ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out conftest.out"
 
3445
# Try to create an executable without -o first, disregard a.out.
 
3446
# It will help us diagnose broken compilers, and finding out an intuition
 
3447
# of exeext.
 
3448
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
 
3449
$as_echo_n "checking for C compiler default output file name... " >&6; }
 
3450
ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
 
3451
 
 
3452
# The possible output files:
 
3453
ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
 
3454
 
 
3455
ac_rmfiles=
 
3456
for ac_file in $ac_files
 
3457
do
 
3458
  case $ac_file in
 
3459
    *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
 
3460
    * ) ac_rmfiles="$ac_rmfiles $ac_file";;
 
3461
  esac
 
3462
done
 
3463
rm -f $ac_rmfiles
 
3464
 
 
3465
if { { ac_try="$ac_link_default"
 
3466
case "(($ac_try" in
 
3467
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
3468
  *) ac_try_echo=$ac_try;;
 
3469
esac
 
3470
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
 
3471
$as_echo "$ac_try_echo"; } >&5
 
3472
  (eval "$ac_link_default") 2>&5
 
3473
  ac_status=$?
 
3474
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 
3475
  test $ac_status = 0; }; then :
 
3476
  # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
 
3477
# So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
 
3478
# in a Makefile.  We should not override ac_cv_exeext if it was cached,
 
3479
# so that the user can short-circuit this test for compilers unknown to
 
3480
# Autoconf.
 
3481
for ac_file in $ac_files ''
 
3482
do
 
3483
  test -f "$ac_file" || continue
 
3484
  case $ac_file in
 
3485
    *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
 
3486
        ;;
 
3487
    [ab].out )
 
3488
        # We found the default executable, but exeext='' is most
 
3489
        # certainly right.
 
3490
        break;;
 
3491
    *.* )
 
3492
        if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
 
3493
        then :; else
 
3494
           ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
 
3495
        fi
 
3496
        # We set ac_cv_exeext here because the later test for it is not
 
3497
        # safe: cross compilers may not add the suffix if given an `-o'
 
3498
        # argument, so we may need to know it at that point already.
 
3499
        # Even if this section looks crufty: it has the advantage of
 
3500
        # actually working.
 
3501
        break;;
 
3502
    * )
 
3503
        break;;
 
3504
  esac
 
3505
done
 
3506
test "$ac_cv_exeext" = no && ac_cv_exeext=
 
3507
 
 
3508
else
 
3509
  ac_file=''
 
3510
fi
 
3511
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
 
3512
$as_echo "$ac_file" >&6; }
 
3513
if test -z "$ac_file"; then :
 
3514
  $as_echo "$as_me: failed program was:" >&5
 
3515
sed 's/^/| /' conftest.$ac_ext >&5
 
3516
 
 
3517
{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
 
3518
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
 
3519
{ as_fn_set_status 77
 
3520
as_fn_error "C compiler cannot create executables
 
3521
See \`config.log' for more details." "$LINENO" 5; }; }
 
3522
fi
 
3523
ac_exeext=$ac_cv_exeext
 
3524
 
 
3525
# Check that the compiler produces executables we can run.  If not, either
 
3526
# the compiler is broken, or we cross compile.
 
3527
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
 
3528
$as_echo_n "checking whether the C compiler works... " >&6; }
 
3529
# If not cross compiling, check that we can run a simple program.
 
3530
if test "$cross_compiling" != yes; then
 
3531
  if { ac_try='./$ac_file'
 
3532
  { { case "(($ac_try" in
 
3533
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
3534
  *) ac_try_echo=$ac_try;;
 
3535
esac
 
3536
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
 
3537
$as_echo "$ac_try_echo"; } >&5
 
3538
  (eval "$ac_try") 2>&5
 
3539
  ac_status=$?
 
3540
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 
3541
  test $ac_status = 0; }; }; then
 
3542
    cross_compiling=no
 
3543
  else
 
3544
    if test "$cross_compiling" = maybe; then
 
3545
        cross_compiling=yes
 
3546
    else
 
3547
        { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
 
3548
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
 
3549
as_fn_error "cannot run C compiled programs.
 
3550
If you meant to cross compile, use \`--host'.
 
3551
See \`config.log' for more details." "$LINENO" 5; }
 
3552
    fi
 
3553
  fi
 
3554
fi
 
3555
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
 
3556
$as_echo "yes" >&6; }
 
3557
 
 
3558
rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out conftest.out
 
3559
ac_clean_files=$ac_clean_files_save
 
3560
# Check that the compiler produces executables we can run.  If not, either
 
3561
# the compiler is broken, or we cross compile.
 
3562
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
 
3563
$as_echo_n "checking whether we are cross compiling... " >&6; }
 
3564
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
 
3565
$as_echo "$cross_compiling" >&6; }
 
3566
 
 
3567
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
 
3568
$as_echo_n "checking for suffix of executables... " >&6; }
 
3569
if { { ac_try="$ac_link"
 
3570
case "(($ac_try" in
 
3571
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
3572
  *) ac_try_echo=$ac_try;;
 
3573
esac
 
3574
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
 
3575
$as_echo "$ac_try_echo"; } >&5
 
3576
  (eval "$ac_link") 2>&5
 
3577
  ac_status=$?
 
3578
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 
3579
  test $ac_status = 0; }; then :
 
3580
  # If both `conftest.exe' and `conftest' are `present' (well, observable)
 
3581
# catch `conftest.exe'.  For instance with Cygwin, `ls conftest' will
 
3582
# work properly (i.e., refer to `conftest.exe'), while it won't with
 
3583
# `rm'.
 
3584
for ac_file in conftest.exe conftest conftest.*; do
 
3585
  test -f "$ac_file" || continue
 
3586
  case $ac_file in
 
3587
    *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
 
3588
    *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
 
3589
          break;;
 
3590
    * ) break;;
 
3591
  esac
 
3592
done
 
3593
else
 
3594
  { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
 
3595
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
 
3596
as_fn_error "cannot compute suffix of executables: cannot compile and link
 
3597
See \`config.log' for more details." "$LINENO" 5; }
 
3598
fi
 
3599
rm -f conftest$ac_cv_exeext
 
3600
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
 
3601
$as_echo "$ac_cv_exeext" >&6; }
 
3602
 
 
3603
rm -f conftest.$ac_ext
 
3604
EXEEXT=$ac_cv_exeext
 
3605
ac_exeext=$EXEEXT
 
3606
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
 
3607
$as_echo_n "checking for suffix of object files... " >&6; }
 
3608
if test "${ac_cv_objext+set}" = set; then :
 
3609
  $as_echo_n "(cached) " >&6
 
3610
else
 
3611
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 
3612
/* end confdefs.h.  */
 
3613
 
 
3614
int
 
3615
main ()
 
3616
{
 
3617
 
 
3618
  ;
 
3619
  return 0;
 
3620
}
 
3621
_ACEOF
 
3622
rm -f conftest.o conftest.obj
 
3623
if { { ac_try="$ac_compile"
 
3624
case "(($ac_try" in
 
3625
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
3626
  *) ac_try_echo=$ac_try;;
 
3627
esac
 
3628
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
 
3629
$as_echo "$ac_try_echo"; } >&5
 
3630
  (eval "$ac_compile") 2>&5
 
3631
  ac_status=$?
 
3632
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 
3633
  test $ac_status = 0; }; then :
 
3634
  for ac_file in conftest.o conftest.obj conftest.*; do
 
3635
  test -f "$ac_file" || continue;
 
3636
  case $ac_file in
 
3637
    *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
 
3638
    *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
 
3639
       break;;
 
3640
  esac
 
3641
done
 
3642
else
 
3643
  $as_echo "$as_me: failed program was:" >&5
 
3644
sed 's/^/| /' conftest.$ac_ext >&5
 
3645
 
 
3646
{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
 
3647
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
 
3648
as_fn_error "cannot compute suffix of object files: cannot compile
 
3649
See \`config.log' for more details." "$LINENO" 5; }
 
3650
fi
 
3651
rm -f conftest.$ac_cv_objext conftest.$ac_ext
 
3652
fi
 
3653
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
 
3654
$as_echo "$ac_cv_objext" >&6; }
 
3655
OBJEXT=$ac_cv_objext
 
3656
ac_objext=$OBJEXT
4020
3657
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
4021
3658
$as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
4022
 
if ${ac_cv_c_compiler_gnu+:} false; then :
 
3659
if test "${ac_cv_c_compiler_gnu+set}" = set; then :
4023
3660
  $as_echo_n "(cached) " >&6
4024
3661
else
4025
3662
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4056
3693
ac_save_CFLAGS=$CFLAGS
4057
3694
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
4058
3695
$as_echo_n "checking whether $CC accepts -g... " >&6; }
4059
 
if ${ac_cv_prog_cc_g+:} false; then :
 
3696
if test "${ac_cv_prog_cc_g+set}" = set; then :
4060
3697
  $as_echo_n "(cached) " >&6
4061
3698
else
4062
3699
  ac_save_c_werror_flag=$ac_c_werror_flag
4134
3771
fi
4135
3772
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
4136
3773
$as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
4137
 
if ${ac_cv_prog_cc_c89+:} false; then :
 
3774
if test "${ac_cv_prog_cc_c89+set}" = set; then :
4138
3775
  $as_echo_n "(cached) " >&6
4139
3776
else
4140
3777
  ac_cv_prog_cc_c89=no
4233
3870
 
4234
3871
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
4235
3872
$as_echo_n "checking dependency style of $depcc... " >&6; }
4236
 
if ${am_cv_CC_dependencies_compiler_type+:} false; then :
 
3873
if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then :
4237
3874
  $as_echo_n "(cached) " >&6
4238
3875
else
4239
3876
  if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
4242
3879
  # instance it was reported that on HP-UX the gcc test will end up
4243
3880
  # making a dummy file named `D' -- because `-MD' means `put the output
4244
3881
  # in D'.
4245
 
  rm -rf conftest.dir
4246
3882
  mkdir conftest.dir
4247
3883
  # Copy depcomp to subdir because otherwise we won't find it if we're
4248
3884
  # using a relative directory.
4302
3938
        break
4303
3939
      fi
4304
3940
      ;;
4305
 
    msvc7 | msvc7msys | msvisualcpp | msvcmsys)
 
3941
    msvisualcpp | msvcmsys)
4306
3942
      # This compiler won't grok `-c -o', but also, the minuso test has
4307
3943
      # not run yet.  These depmodes are late enough in the game, and
4308
3944
      # so weak that their functioning should not be impacted.
4359
3995
 
4360
3996
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for a sed that does not truncate output" >&5
4361
3997
$as_echo_n "checking for a sed that does not truncate output... " >&6; }
4362
 
if ${ac_cv_path_SED+:} false; then :
 
3998
if test "${ac_cv_path_SED+set}" = set; then :
4363
3999
  $as_echo_n "(cached) " >&6
4364
4000
else
4365
4001
            ac_script=s/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb/
4414
4050
  done
4415
4051
IFS=$as_save_IFS
4416
4052
  if test -z "$ac_cv_path_SED"; then
4417
 
    as_fn_error $? "no acceptable sed could be found in \$PATH" "$LINENO" 5
 
4053
    as_fn_error "no acceptable sed could be found in \$PATH" "$LINENO" 5
4418
4054
  fi
4419
4055
else
4420
4056
  ac_cv_path_SED=$SED
4441
4077
 
4442
4078
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
4443
4079
$as_echo_n "checking for grep that handles long lines and -e... " >&6; }
4444
 
if ${ac_cv_path_GREP+:} false; then :
 
4080
if test "${ac_cv_path_GREP+set}" = set; then :
4445
4081
  $as_echo_n "(cached) " >&6
4446
4082
else
4447
4083
  if test -z "$GREP"; then
4490
4126
  done
4491
4127
IFS=$as_save_IFS
4492
4128
  if test -z "$ac_cv_path_GREP"; then
4493
 
    as_fn_error $? "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
 
4129
    as_fn_error "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
4494
4130
  fi
4495
4131
else
4496
4132
  ac_cv_path_GREP=$GREP
4504
4140
 
4505
4141
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
4506
4142
$as_echo_n "checking for egrep... " >&6; }
4507
 
if ${ac_cv_path_EGREP+:} false; then :
 
4143
if test "${ac_cv_path_EGREP+set}" = set; then :
4508
4144
  $as_echo_n "(cached) " >&6
4509
4145
else
4510
4146
  if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
4556
4192
  done
4557
4193
IFS=$as_save_IFS
4558
4194
  if test -z "$ac_cv_path_EGREP"; then
4559
 
    as_fn_error $? "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
 
4195
    as_fn_error "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
4560
4196
  fi
4561
4197
else
4562
4198
  ac_cv_path_EGREP=$EGREP
4571
4207
 
4572
4208
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for fgrep" >&5
4573
4209
$as_echo_n "checking for fgrep... " >&6; }
4574
 
if ${ac_cv_path_FGREP+:} false; then :
 
4210
if test "${ac_cv_path_FGREP+set}" = set; then :
4575
4211
  $as_echo_n "(cached) " >&6
4576
4212
else
4577
4213
  if echo 'ab*c' | $GREP -F 'ab*c' >/dev/null 2>&1
4623
4259
  done
4624
4260
IFS=$as_save_IFS
4625
4261
  if test -z "$ac_cv_path_FGREP"; then
4626
 
    as_fn_error $? "no acceptable fgrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
 
4262
    as_fn_error "no acceptable fgrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
4627
4263
  fi
4628
4264
else
4629
4265
  ac_cv_path_FGREP=$FGREP
4702
4338
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
4703
4339
$as_echo_n "checking for non-GNU ld... " >&6; }
4704
4340
fi
4705
 
if ${lt_cv_path_LD+:} false; then :
 
4341
if test "${lt_cv_path_LD+set}" = set; then :
4706
4342
  $as_echo_n "(cached) " >&6
4707
4343
else
4708
4344
  if test -z "$LD"; then
4739
4375
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4740
4376
$as_echo "no" >&6; }
4741
4377
fi
4742
 
test -z "$LD" && as_fn_error $? "no acceptable ld found in \$PATH" "$LINENO" 5
 
4378
test -z "$LD" && as_fn_error "no acceptable ld found in \$PATH" "$LINENO" 5
4743
4379
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
4744
4380
$as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
4745
 
if ${lt_cv_prog_gnu_ld+:} false; then :
 
4381
if test "${lt_cv_prog_gnu_ld+set}" = set; then :
4746
4382
  $as_echo_n "(cached) " >&6
4747
4383
else
4748
4384
  # I'd rather use --version here, but apparently some GNU lds only accept -v.
4769
4405
 
4770
4406
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for BSD- or MS-compatible name lister (nm)" >&5
4771
4407
$as_echo_n "checking for BSD- or MS-compatible name lister (nm)... " >&6; }
4772
 
if ${lt_cv_path_NM+:} false; then :
 
4408
if test "${lt_cv_path_NM+set}" = set; then :
4773
4409
  $as_echo_n "(cached) " >&6
4774
4410
else
4775
4411
  if test -n "$NM"; then
4822
4458
  NM="$lt_cv_path_NM"
4823
4459
else
4824
4460
  # Didn't find any BSD compatible name lister, look for dumpbin.
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"
 
4461
  if test -n "$ac_tool_prefix"; then
 
4462
  for ac_prog in "dumpbin -symbols" "link -dump -symbols"
4830
4463
  do
4831
4464
    # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
4832
4465
set dummy $ac_tool_prefix$ac_prog; ac_word=$2
4833
4466
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4834
4467
$as_echo_n "checking for $ac_word... " >&6; }
4835
 
if ${ac_cv_prog_DUMPBIN+:} false; then :
 
4468
if test "${ac_cv_prog_DUMPBIN+set}" = set; then :
4836
4469
  $as_echo_n "(cached) " >&6
4837
4470
else
4838
4471
  if test -n "$DUMPBIN"; then
4870
4503
fi
4871
4504
if test -z "$DUMPBIN"; then
4872
4505
  ac_ct_DUMPBIN=$DUMPBIN
4873
 
  for ac_prog in dumpbin "link -dump"
 
4506
  for ac_prog in "dumpbin -symbols" "link -dump -symbols"
4874
4507
do
4875
4508
  # Extract the first word of "$ac_prog", so it can be a program name with args.
4876
4509
set dummy $ac_prog; ac_word=$2
4877
4510
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4878
4511
$as_echo_n "checking for $ac_word... " >&6; }
4879
 
if ${ac_cv_prog_ac_ct_DUMPBIN+:} false; then :
 
4512
if test "${ac_cv_prog_ac_ct_DUMPBIN+set}" = set; then :
4880
4513
  $as_echo_n "(cached) " >&6
4881
4514
else
4882
4515
  if test -n "$ac_ct_DUMPBIN"; then
4925
4558
  fi
4926
4559
fi
4927
4560
 
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
4937
4561
 
4938
4562
  if test "$DUMPBIN" != ":"; then
4939
4563
    NM="$DUMPBIN"
4948
4572
 
4949
4573
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking the name lister ($NM) interface" >&5
4950
4574
$as_echo_n "checking the name lister ($NM) interface... " >&6; }
4951
 
if ${lt_cv_nm_interface+:} false; then :
 
4575
if test "${lt_cv_nm_interface+set}" = set; then :
4952
4576
  $as_echo_n "(cached) " >&6
4953
4577
else
4954
4578
  lt_cv_nm_interface="BSD nm"
4955
4579
  echo "int some_variable = 0;" > conftest.$ac_ext
4956
 
  (eval echo "\"\$as_me:$LINENO: $ac_compile\"" >&5)
 
4580
  (eval echo "\"\$as_me:4580: $ac_compile\"" >&5)
4957
4581
  (eval "$ac_compile" 2>conftest.err)
4958
4582
  cat conftest.err >&5
4959
 
  (eval echo "\"\$as_me:$LINENO: $NM \\\"conftest.$ac_objext\\\"\"" >&5)
 
4583
  (eval echo "\"\$as_me:4583: $NM \\\"conftest.$ac_objext\\\"\"" >&5)
4960
4584
  (eval "$NM \"conftest.$ac_objext\"" 2>conftest.err > conftest.out)
4961
4585
  cat conftest.err >&5
4962
 
  (eval echo "\"\$as_me:$LINENO: output\"" >&5)
 
4586
  (eval echo "\"\$as_me:4586: output\"" >&5)
4963
4587
  cat conftest.out >&5
4964
4588
  if $GREP 'External.*some_variable' conftest.out > /dev/null; then
4965
4589
    lt_cv_nm_interface="MS dumpbin"
4983
4607
# find the maximum length of command line arguments
4984
4608
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking the maximum length of command line arguments" >&5
4985
4609
$as_echo_n "checking the maximum length of command line arguments... " >&6; }
4986
 
if ${lt_cv_sys_max_cmd_len+:} false; then :
 
4610
if test "${lt_cv_sys_max_cmd_len+set}" = set; then :
4987
4611
  $as_echo_n "(cached) " >&6
4988
4612
else
4989
4613
    i=0
5016
4640
    lt_cv_sys_max_cmd_len=8192;
5017
4641
    ;;
5018
4642
 
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
 
 
5024
4643
  amigaos*)
5025
4644
    # On AmigaOS with pdksh, this test takes hours, literally.
5026
4645
    # So we just punt and use a minimum line length of 8192.
5046
4665
    lt_cv_sys_max_cmd_len=196608
5047
4666
    ;;
5048
4667
 
5049
 
  os2*)
5050
 
    # The test takes a long time on OS/2.
5051
 
    lt_cv_sys_max_cmd_len=8192
5052
 
    ;;
5053
 
 
5054
4668
  osf*)
5055
4669
    # Dr. Hans Ekkehard Plesser reports seeing a kernel panic running configure
5056
4670
    # due to this test when exec_disable_arg_limit is 1 on Tru64. It is not
5090
4704
      # If test is not a shell built-in, we'll probably end up computing a
5091
4705
      # maximum length that is only half of the actual maximum length, but
5092
4706
      # we can't tell.
5093
 
      while { test "X"`env echo "$teststring$teststring" 2>/dev/null` \
5094
 
                 = "X$teststring$teststring"; } >/dev/null 2>&1 &&
 
4707
      while { test "X"`$SHELL $0 --fallback-echo "X$teststring$teststring" 2>/dev/null` \
 
4708
                 = "XX$teststring$teststring"; } >/dev/null 2>&1 &&
5095
4709
              test $i != 17 # 1/2 MB should be enough
5096
4710
      do
5097
4711
        i=`expr $i + 1`
5133
4747
# Try some XSI features
5134
4748
xsi_shell=no
5135
4749
( _lt_dummy="a/b/c"
5136
 
  test "${_lt_dummy##*/},${_lt_dummy%/*},${_lt_dummy#??}"${_lt_dummy%"$_lt_dummy"}, \
5137
 
      = c,a/b,b/c, \
 
4750
  test "${_lt_dummy##*/},${_lt_dummy%/*},"${_lt_dummy%"$_lt_dummy"}, \
 
4751
      = c,a/b,, \
5138
4752
    && eval 'test $(( 1 + 1 )) -eq 2 \
5139
4753
    && test "${#_lt_dummy}" -eq 5' ) >/dev/null 2>&1 \
5140
4754
  && xsi_shell=yes
5183
4797
 
5184
4798
 
5185
4799
 
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
 
 
5260
4800
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $LD option to reload object files" >&5
5261
4801
$as_echo_n "checking for $LD option to reload object files... " >&6; }
5262
 
if ${lt_cv_ld_reload_flag+:} false; then :
 
4802
if test "${lt_cv_ld_reload_flag+set}" = set; then :
5263
4803
  $as_echo_n "(cached) " >&6
5264
4804
else
5265
4805
  lt_cv_ld_reload_flag='-r'
5273
4813
esac
5274
4814
reload_cmds='$LD$reload_flag -o $output$reload_objs'
5275
4815
case $host_os in
5276
 
  cygwin* | mingw* | pw32* | cegcc*)
5277
 
    if test "$GCC" != yes; then
5278
 
      reload_cmds=false
5279
 
    fi
5280
 
    ;;
5281
4816
  darwin*)
5282
4817
    if test "$GCC" = yes; then
5283
4818
      reload_cmds='$LTCC $LTCFLAGS -nostdlib ${wl}-r -o $output$reload_objs'
5300
4835
set dummy ${ac_tool_prefix}objdump; ac_word=$2
5301
4836
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5302
4837
$as_echo_n "checking for $ac_word... " >&6; }
5303
 
if ${ac_cv_prog_OBJDUMP+:} false; then :
 
4838
if test "${ac_cv_prog_OBJDUMP+set}" = set; then :
5304
4839
  $as_echo_n "(cached) " >&6
5305
4840
else
5306
4841
  if test -n "$OBJDUMP"; then
5340
4875
set dummy objdump; ac_word=$2
5341
4876
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5342
4877
$as_echo_n "checking for $ac_word... " >&6; }
5343
 
if ${ac_cv_prog_ac_ct_OBJDUMP+:} false; then :
 
4878
if test "${ac_cv_prog_ac_ct_OBJDUMP+set}" = set; then :
5344
4879
  $as_echo_n "(cached) " >&6
5345
4880
else
5346
4881
  if test -n "$ac_ct_OBJDUMP"; then
5399
4934
 
5400
4935
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to recognize dependent libraries" >&5
5401
4936
$as_echo_n "checking how to recognize dependent libraries... " >&6; }
5402
 
if ${lt_cv_deplibs_check_method+:} false; then :
 
4937
if test "${lt_cv_deplibs_check_method+set}" = set; then :
5403
4938
  $as_echo_n "(cached) " >&6
5404
4939
else
5405
4940
  lt_cv_file_magic_cmd='$MAGIC_CMD'
5441
4976
  # Base MSYS/MinGW do not provide the 'file' command needed by
5442
4977
  # func_win32_libid shell function, so use a weaker test based on 'objdump',
5443
4978
  # unless we find 'file', for example because we are cross-compiling.
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
 
4979
  if ( file / ) >/dev/null 2>&1; then
5446
4980
    lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
5447
4981
    lt_cv_file_magic_cmd='func_win32_libid'
5448
4982
  else
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)'
 
4983
    lt_cv_deplibs_check_method='file_magic file format pei*-i386(.*architecture: i386)?'
5451
4984
    lt_cv_file_magic_cmd='$OBJDUMP -f'
5452
4985
  fi
5453
4986
  ;;
5454
4987
 
5455
 
cegcc*)
 
4988
cegcc)
5456
4989
  # use the weaker test based on 'objdump'. See mingw*.
5457
4990
  lt_cv_deplibs_check_method='file_magic file format pe-arm-.*little(.*architecture: arm)?'
5458
4991
  lt_cv_file_magic_cmd='$OBJDUMP -f'
5482
5015
  lt_cv_deplibs_check_method=pass_all
5483
5016
  ;;
5484
5017
 
5485
 
haiku*)
5486
 
  lt_cv_deplibs_check_method=pass_all
5487
 
  ;;
5488
 
 
5489
5018
hpux10.20* | hpux11*)
5490
5019
  lt_cv_file_magic_cmd=/usr/bin/file
5491
5020
  case $host_cpu in
5494
5023
    lt_cv_file_magic_test_file=/usr/lib/hpux32/libc.so
5495
5024
    ;;
5496
5025
  hppa*64*)
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]'
 
5026
    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]'
5498
5027
    lt_cv_file_magic_test_file=/usr/lib/pa20_64/libc.sl
5499
5028
    ;;
5500
5029
  *)
5501
 
    lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9]\.[0-9]) shared library'
 
5030
    lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9].[0-9]) shared library'
5502
5031
    lt_cv_file_magic_test_file=/usr/lib/libc.sl
5503
5032
    ;;
5504
5033
  esac
5519
5048
  lt_cv_deplibs_check_method=pass_all
5520
5049
  ;;
5521
5050
 
5522
 
# This must be glibc/ELF.
5523
 
linux* | k*bsd*-gnu | kopensolaris*-gnu)
 
5051
# This must be Linux ELF.
 
5052
linux* | k*bsd*-gnu)
5524
5053
  lt_cv_deplibs_check_method=pass_all
5525
5054
  ;;
5526
5055
 
5601
5130
fi
5602
5131
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_deplibs_check_method" >&5
5603
5132
$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
 
 
5619
5133
file_magic_cmd=$lt_cv_file_magic_cmd
5620
5134
deplibs_check_method=$lt_cv_deplibs_check_method
5621
5135
test -z "$deplibs_check_method" && deplibs_check_method=unknown
5631
5145
 
5632
5146
 
5633
5147
 
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 :
 
5148
if test -n "$ac_tool_prefix"; then
 
5149
  # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
 
5150
set dummy ${ac_tool_prefix}ar; ac_word=$2
 
5151
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 
5152
$as_echo_n "checking for $ac_word... " >&6; }
 
5153
if test "${ac_cv_prog_AR+set}" = set; then :
5794
5154
  $as_echo_n "(cached) " >&6
5795
5155
else
5796
5156
  if test -n "$AR"; then
5803
5163
  test -z "$as_dir" && as_dir=.
5804
5164
    for ac_exec_ext in '' $ac_executable_extensions; do
5805
5165
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5806
 
    ac_cv_prog_AR="$ac_tool_prefix$ac_prog"
 
5166
    ac_cv_prog_AR="${ac_tool_prefix}ar"
5807
5167
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5808
5168
    break 2
5809
5169
  fi
5823
5183
fi
5824
5184
 
5825
5185
 
5826
 
    test -n "$AR" && break
5827
 
  done
5828
5186
fi
5829
 
if test -z "$AR"; then
 
5187
if test -z "$ac_cv_prog_AR"; then
5830
5188
  ac_ct_AR=$AR
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
 
5189
  # Extract the first word of "ar", so it can be a program name with args.
 
5190
set dummy ar; ac_word=$2
5835
5191
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5836
5192
$as_echo_n "checking for $ac_word... " >&6; }
5837
 
if ${ac_cv_prog_ac_ct_AR+:} false; then :
 
5193
if test "${ac_cv_prog_ac_ct_AR+set}" = set; then :
5838
5194
  $as_echo_n "(cached) " >&6
5839
5195
else
5840
5196
  if test -n "$ac_ct_AR"; then
5847
5203
  test -z "$as_dir" && as_dir=.
5848
5204
    for ac_exec_ext in '' $ac_executable_extensions; do
5849
5205
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5850
 
    ac_cv_prog_ac_ct_AR="$ac_prog"
 
5206
    ac_cv_prog_ac_ct_AR="ar"
5851
5207
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5852
5208
    break 2
5853
5209
  fi
5866
5222
$as_echo "no" >&6; }
5867
5223
fi
5868
5224
 
5869
 
 
5870
 
  test -n "$ac_ct_AR" && break
5871
 
done
5872
 
 
5873
5225
  if test "x$ac_ct_AR" = x; then
5874
5226
    AR="false"
5875
5227
  else
5881
5233
esac
5882
5234
    AR=$ac_ct_AR
5883
5235
  fi
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
 
5236
else
 
5237
  AR="$ac_cv_prog_AR"
 
5238
fi
 
5239
 
 
5240
test -z "$AR" && AR=ar
 
5241
test -z "$AR_FLAGS" && AR_FLAGS=cru
 
5242
 
 
5243
 
 
5244
 
 
5245
 
5950
5246
 
5951
5247
 
5952
5248
 
5959
5255
set dummy ${ac_tool_prefix}strip; ac_word=$2
5960
5256
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5961
5257
$as_echo_n "checking for $ac_word... " >&6; }
5962
 
if ${ac_cv_prog_STRIP+:} false; then :
 
5258
if test "${ac_cv_prog_STRIP+set}" = set; then :
5963
5259
  $as_echo_n "(cached) " >&6
5964
5260
else
5965
5261
  if test -n "$STRIP"; then
5999
5295
set dummy strip; ac_word=$2
6000
5296
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6001
5297
$as_echo_n "checking for $ac_word... " >&6; }
6002
 
if ${ac_cv_prog_ac_ct_STRIP+:} false; then :
 
5298
if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then :
6003
5299
  $as_echo_n "(cached) " >&6
6004
5300
else
6005
5301
  if test -n "$ac_ct_STRIP"; then
6058
5354
set dummy ${ac_tool_prefix}ranlib; ac_word=$2
6059
5355
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6060
5356
$as_echo_n "checking for $ac_word... " >&6; }
6061
 
if ${ac_cv_prog_RANLIB+:} false; then :
 
5357
if test "${ac_cv_prog_RANLIB+set}" = set; then :
6062
5358
  $as_echo_n "(cached) " >&6
6063
5359
else
6064
5360
  if test -n "$RANLIB"; then
6098
5394
set dummy ranlib; ac_word=$2
6099
5395
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6100
5396
$as_echo_n "checking for $ac_word... " >&6; }
6101
 
if ${ac_cv_prog_ac_ct_RANLIB+:} false; then :
 
5397
if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then :
6102
5398
  $as_echo_n "(cached) " >&6
6103
5399
else
6104
5400
  if test -n "$ac_ct_RANLIB"; then
6160
5456
if test -n "$RANLIB"; then
6161
5457
  case $host_os in
6162
5458
  openbsd*)
6163
 
    old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB -t \$tool_oldlib"
 
5459
    old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB -t \$oldlib"
6164
5460
    ;;
6165
5461
  *)
6166
 
    old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB \$tool_oldlib"
 
5462
    old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB \$oldlib"
6167
5463
    ;;
6168
5464
  esac
6169
 
  old_archive_cmds="$old_archive_cmds~\$RANLIB \$tool_oldlib"
 
5465
  old_archive_cmds="$old_archive_cmds~\$RANLIB \$oldlib"
6170
5466
fi
6171
5467
 
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
 
 
6184
5468
 
6185
5469
 
6186
5470
 
6227
5511
# Check for command to grab the raw symbol name followed by C symbol from nm.
6228
5512
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking command to parse $NM output from $compiler object" >&5
6229
5513
$as_echo_n "checking command to parse $NM output from $compiler object... " >&6; }
6230
 
if ${lt_cv_sys_global_symbol_pipe+:} false; then :
 
5514
if test "${lt_cv_sys_global_symbol_pipe+set}" = set; then :
6231
5515
  $as_echo_n "(cached) " >&6
6232
5516
else
6233
5517
 
6288
5572
lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'"
6289
5573
 
6290
5574
# Transform an extracted symbol line into symbol name and symbol address
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'"
 
5575
lt_cv_sys_global_symbol_to_c_name_address="sed -n -e 's/^: \([^ ]*\) $/  {\\\"\1\\\", (void *) 0},/p' -e 's/^$symcode* \([^ ]*\) \([^ ]*\)$/  {\"\2\", (void *) \&\2},/p'"
 
5576
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'"
6293
5577
 
6294
5578
# Handle CRLF in mingw tool chain
6295
5579
opt_cr=
6313
5597
    # which start with @ or ?.
6314
5598
    lt_cv_sys_global_symbol_pipe="$AWK '"\
6315
5599
"     {last_section=section; section=\$ 3};"\
6316
 
"     /^COFF SYMBOL TABLE/{for(i in hide) delete hide[i]};"\
6317
5600
"     /Section length .*#relocs.*(pick any)/{hide[last_section]=1};"\
6318
5601
"     \$ 0!~/External *\|/{next};"\
6319
5602
"     / 0+ UNDEF /{next}; / UNDEF \([^|]\)*()/{next};"\
6326
5609
  else
6327
5610
    lt_cv_sys_global_symbol_pipe="sed -n -e 's/^.*[      ]\($symcode$symcode*\)[         ][      ]*$ac_symprfx$sympat$opt_cr$/$symxfrm/p'"
6328
5611
  fi
6329
 
  lt_cv_sys_global_symbol_pipe="$lt_cv_sys_global_symbol_pipe | sed '/ __gnu_lto/d'"
6330
5612
 
6331
5613
  # Check to see that the pipe works correctly.
6332
5614
  pipe_works=no
6352
5634
  test $ac_status = 0; }; then
6353
5635
    # Now try to grab the symbols.
6354
5636
    nlist=conftest.nm
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
 
5637
    if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$NM conftest.$ac_objext \| $lt_cv_sys_global_symbol_pipe \> $nlist\""; } >&5
 
5638
  (eval $NM conftest.$ac_objext \| $lt_cv_sys_global_symbol_pipe \> $nlist) 2>&5
6357
5639
  ac_status=$?
6358
5640
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6359
5641
  test $ac_status = 0; } && test -s "$nlist"; then
6368
5650
      if $GREP ' nm_test_var$' "$nlist" >/dev/null; then
6369
5651
        if $GREP ' nm_test_func$' "$nlist" >/dev/null; then
6370
5652
          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
 
 
6383
5653
#ifdef __cplusplus
6384
5654
extern "C" {
6385
5655
#endif
6391
5661
          cat <<_LT_EOF >> conftest.$ac_ext
6392
5662
 
6393
5663
/* The mapping between symbol names and symbols.  */
6394
 
LT_DLSYM_CONST struct {
 
5664
const struct {
6395
5665
  const char *name;
6396
5666
  void       *address;
6397
5667
}
6417
5687
_LT_EOF
6418
5688
          # Now try linking the two files.
6419
5689
          mv conftest.$ac_objext conftstm.$ac_objext
6420
 
          lt_globsym_save_LIBS=$LIBS
6421
 
          lt_globsym_save_CFLAGS=$CFLAGS
 
5690
          lt_save_LIBS="$LIBS"
 
5691
          lt_save_CFLAGS="$CFLAGS"
6422
5692
          LIBS="conftstm.$ac_objext"
6423
5693
          CFLAGS="$CFLAGS$lt_prog_compiler_no_builtin_flag"
6424
5694
          if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
6428
5698
  test $ac_status = 0; } && test -s conftest${ac_exeext}; then
6429
5699
            pipe_works=yes
6430
5700
          fi
6431
 
          LIBS=$lt_globsym_save_LIBS
6432
 
          CFLAGS=$lt_globsym_save_CFLAGS
 
5701
          LIBS="$lt_save_LIBS"
 
5702
          CFLAGS="$lt_save_CFLAGS"
6433
5703
        else
6434
5704
          echo "cannot find nm_test_func in $nlist" >&5
6435
5705
        fi
6466
5736
$as_echo "ok" >&6; }
6467
5737
fi
6468
5738
 
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; }
 
5739
 
 
5740
 
 
5741
 
 
5742
 
 
5743
 
 
5744
 
 
5745
 
 
5746
 
 
5747
 
 
5748
 
 
5749
 
 
5750
 
 
5751
 
 
5752
 
 
5753
 
 
5754
 
 
5755
 
6534
5756
 
6535
5757
 
6536
5758
 
6567
5789
  ;;
6568
5790
*-*-irix6*)
6569
5791
  # Find out which ABI we are using.
6570
 
  echo '#line '$LINENO' "configure"' > conftest.$ac_ext
 
5792
  echo '#line 5792 "configure"' > conftest.$ac_ext
6571
5793
  if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
6572
5794
  (eval $ac_compile) 2>&5
6573
5795
  ac_status=$?
6661
5883
  CFLAGS="$CFLAGS -belf"
6662
5884
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler needs -belf" >&5
6663
5885
$as_echo_n "checking whether the C compiler needs -belf... " >&6; }
6664
 
if ${lt_cv_cc_needs_belf+:} false; then :
 
5886
if test "${lt_cv_cc_needs_belf+set}" = set; then :
6665
5887
  $as_echo_n "(cached) " >&6
6666
5888
else
6667
5889
  ac_ext=c
6702
5924
    CFLAGS="$SAVE_CFLAGS"
6703
5925
  fi
6704
5926
  ;;
6705
 
*-*solaris*)
 
5927
sparc*-*solaris*)
6706
5928
  # Find out which ABI we are using.
6707
5929
  echo 'int i;' > conftest.$ac_ext
6708
5930
  if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
6713
5935
    case `/usr/bin/file conftest.o` in
6714
5936
    *64-bit*)
6715
5937
      case $lt_cv_prog_gnu_ld in
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
 
        ;;
 
5938
      yes*) LD="${LD-ld} -m elf64_sparc" ;;
6730
5939
      *)
6731
5940
        if ${LD-ld} -64 -r -o conftest2.o conftest.o >/dev/null 2>&1; then
6732
5941
          LD="${LD-ld} -64"
6742
5951
 
6743
5952
need_locks="$enable_libtool_lock"
6744
5953
 
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
 
 
6862
5954
 
6863
5955
  case $host_os in
6864
5956
    rhapsody* | darwin*)
6867
5959
set dummy ${ac_tool_prefix}dsymutil; ac_word=$2
6868
5960
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6869
5961
$as_echo_n "checking for $ac_word... " >&6; }
6870
 
if ${ac_cv_prog_DSYMUTIL+:} false; then :
 
5962
if test "${ac_cv_prog_DSYMUTIL+set}" = set; then :
6871
5963
  $as_echo_n "(cached) " >&6
6872
5964
else
6873
5965
  if test -n "$DSYMUTIL"; then
6907
5999
set dummy dsymutil; ac_word=$2
6908
6000
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6909
6001
$as_echo_n "checking for $ac_word... " >&6; }
6910
 
if ${ac_cv_prog_ac_ct_DSYMUTIL+:} false; then :
 
6002
if test "${ac_cv_prog_ac_ct_DSYMUTIL+set}" = set; then :
6911
6003
  $as_echo_n "(cached) " >&6
6912
6004
else
6913
6005
  if test -n "$ac_ct_DSYMUTIL"; then
6959
6051
set dummy ${ac_tool_prefix}nmedit; ac_word=$2
6960
6052
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6961
6053
$as_echo_n "checking for $ac_word... " >&6; }
6962
 
if ${ac_cv_prog_NMEDIT+:} false; then :
 
6054
if test "${ac_cv_prog_NMEDIT+set}" = set; then :
6963
6055
  $as_echo_n "(cached) " >&6
6964
6056
else
6965
6057
  if test -n "$NMEDIT"; then
6999
6091
set dummy nmedit; ac_word=$2
7000
6092
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7001
6093
$as_echo_n "checking for $ac_word... " >&6; }
7002
 
if ${ac_cv_prog_ac_ct_NMEDIT+:} false; then :
 
6094
if test "${ac_cv_prog_ac_ct_NMEDIT+set}" = set; then :
7003
6095
  $as_echo_n "(cached) " >&6
7004
6096
else
7005
6097
  if test -n "$ac_ct_NMEDIT"; then
7051
6143
set dummy ${ac_tool_prefix}lipo; ac_word=$2
7052
6144
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7053
6145
$as_echo_n "checking for $ac_word... " >&6; }
7054
 
if ${ac_cv_prog_LIPO+:} false; then :
 
6146
if test "${ac_cv_prog_LIPO+set}" = set; then :
7055
6147
  $as_echo_n "(cached) " >&6
7056
6148
else
7057
6149
  if test -n "$LIPO"; then
7091
6183
set dummy lipo; ac_word=$2
7092
6184
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7093
6185
$as_echo_n "checking for $ac_word... " >&6; }
7094
 
if ${ac_cv_prog_ac_ct_LIPO+:} false; then :
 
6186
if test "${ac_cv_prog_ac_ct_LIPO+set}" = set; then :
7095
6187
  $as_echo_n "(cached) " >&6
7096
6188
else
7097
6189
  if test -n "$ac_ct_LIPO"; then
7143
6235
set dummy ${ac_tool_prefix}otool; ac_word=$2
7144
6236
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7145
6237
$as_echo_n "checking for $ac_word... " >&6; }
7146
 
if ${ac_cv_prog_OTOOL+:} false; then :
 
6238
if test "${ac_cv_prog_OTOOL+set}" = set; then :
7147
6239
  $as_echo_n "(cached) " >&6
7148
6240
else
7149
6241
  if test -n "$OTOOL"; then
7183
6275
set dummy otool; ac_word=$2
7184
6276
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7185
6277
$as_echo_n "checking for $ac_word... " >&6; }
7186
 
if ${ac_cv_prog_ac_ct_OTOOL+:} false; then :
 
6278
if test "${ac_cv_prog_ac_ct_OTOOL+set}" = set; then :
7187
6279
  $as_echo_n "(cached) " >&6
7188
6280
else
7189
6281
  if test -n "$ac_ct_OTOOL"; then
7235
6327
set dummy ${ac_tool_prefix}otool64; ac_word=$2
7236
6328
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7237
6329
$as_echo_n "checking for $ac_word... " >&6; }
7238
 
if ${ac_cv_prog_OTOOL64+:} false; then :
 
6330
if test "${ac_cv_prog_OTOOL64+set}" = set; then :
7239
6331
  $as_echo_n "(cached) " >&6
7240
6332
else
7241
6333
  if test -n "$OTOOL64"; then
7275
6367
set dummy otool64; ac_word=$2
7276
6368
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7277
6369
$as_echo_n "checking for $ac_word... " >&6; }
7278
 
if ${ac_cv_prog_ac_ct_OTOOL64+:} false; then :
 
6370
if test "${ac_cv_prog_ac_ct_OTOOL64+set}" = set; then :
7279
6371
  $as_echo_n "(cached) " >&6
7280
6372
else
7281
6373
  if test -n "$ac_ct_OTOOL64"; then
7350
6442
 
7351
6443
    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -single_module linker flag" >&5
7352
6444
$as_echo_n "checking for -single_module linker flag... " >&6; }
7353
 
if ${lt_cv_apple_cc_single_mod+:} false; then :
 
6445
if test "${lt_cv_apple_cc_single_mod+set}" = set; then :
7354
6446
  $as_echo_n "(cached) " >&6
7355
6447
else
7356
6448
  lt_cv_apple_cc_single_mod=no
7366
6458
        $LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
7367
6459
          -dynamiclib -Wl,-single_module conftest.c 2>conftest.err
7368
6460
        _lt_result=$?
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
 
6461
        if test -f libconftest.dylib && test ! -s conftest.err && test $_lt_result = 0; then
7376
6462
          lt_cv_apple_cc_single_mod=yes
7377
6463
        else
7378
6464
          cat conftest.err >&5
7383
6469
fi
7384
6470
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_apple_cc_single_mod" >&5
7385
6471
$as_echo "$lt_cv_apple_cc_single_mod" >&6; }
7386
 
 
7387
6472
    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -exported_symbols_list linker flag" >&5
7388
6473
$as_echo_n "checking for -exported_symbols_list linker flag... " >&6; }
7389
 
if ${lt_cv_ld_exported_symbols_list+:} false; then :
 
6474
if test "${lt_cv_ld_exported_symbols_list+set}" = set; then :
7390
6475
  $as_echo_n "(cached) " >&6
7391
6476
else
7392
6477
  lt_cv_ld_exported_symbols_list=no
7416
6501
fi
7417
6502
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_exported_symbols_list" >&5
7418
6503
$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; }
7454
6504
    case $host_os in
7455
6505
    rhapsody* | darwin1.[012])
7456
6506
      _lt_dar_allow_undefined='${wl}-undefined ${wl}suppress' ;;
7478
6528
    else
7479
6529
      _lt_dar_export_syms='~$NMEDIT -s $output_objdir/${libname}-symbols.expsym ${lib}'
7480
6530
    fi
7481
 
    if test "$DSYMUTIL" != ":" && test "$lt_cv_ld_force_load" = "no"; then
 
6531
    if test "$DSYMUTIL" != ":"; then
7482
6532
      _lt_dsymutil='~$DSYMUTIL $lib || :'
7483
6533
    else
7484
6534
      _lt_dsymutil=
7498
6548
  CPP=
7499
6549
fi
7500
6550
if test -z "$CPP"; then
7501
 
  if ${ac_cv_prog_CPP+:} false; then :
 
6551
  if test "${ac_cv_prog_CPP+set}" = set; then :
7502
6552
  $as_echo_n "(cached) " >&6
7503
6553
else
7504
6554
      # Double quotes because CPP needs to be expanded
7528
6578
  # Broken: fails on valid input.
7529
6579
continue
7530
6580
fi
7531
 
rm -f conftest.err conftest.i conftest.$ac_ext
 
6581
rm -f conftest.err conftest.$ac_ext
7532
6582
 
7533
6583
  # OK, works on sane cases.  Now check whether nonexistent headers
7534
6584
  # can be detected and how.
7544
6594
ac_preproc_ok=:
7545
6595
break
7546
6596
fi
7547
 
rm -f conftest.err conftest.i conftest.$ac_ext
 
6597
rm -f conftest.err conftest.$ac_ext
7548
6598
 
7549
6599
done
7550
6600
# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
7551
 
rm -f conftest.i conftest.err conftest.$ac_ext
 
6601
rm -f conftest.err conftest.$ac_ext
7552
6602
if $ac_preproc_ok; then :
7553
6603
  break
7554
6604
fi
7587
6637
  # Broken: fails on valid input.
7588
6638
continue
7589
6639
fi
7590
 
rm -f conftest.err conftest.i conftest.$ac_ext
 
6640
rm -f conftest.err conftest.$ac_ext
7591
6641
 
7592
6642
  # OK, works on sane cases.  Now check whether nonexistent headers
7593
6643
  # can be detected and how.
7603
6653
ac_preproc_ok=:
7604
6654
break
7605
6655
fi
7606
 
rm -f conftest.err conftest.i conftest.$ac_ext
 
6656
rm -f conftest.err conftest.$ac_ext
7607
6657
 
7608
6658
done
7609
6659
# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
7610
 
rm -f conftest.i conftest.err conftest.$ac_ext
 
6660
rm -f conftest.err conftest.$ac_ext
7611
6661
if $ac_preproc_ok; then :
7612
6662
 
7613
6663
else
7614
6664
  { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
7615
6665
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
7616
 
as_fn_error $? "C preprocessor \"$CPP\" fails sanity check
7617
 
See \`config.log' for more details" "$LINENO" 5; }
 
6666
as_fn_error "C preprocessor \"$CPP\" fails sanity check
 
6667
See \`config.log' for more details." "$LINENO" 5; }
7618
6668
fi
7619
6669
 
7620
6670
ac_ext=c
7626
6676
 
7627
6677
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
7628
6678
$as_echo_n "checking for ANSI C header files... " >&6; }
7629
 
if ${ac_cv_header_stdc+:} false; then :
 
6679
if test "${ac_cv_header_stdc+set}" = set; then :
7630
6680
  $as_echo_n "(cached) " >&6
7631
6681
else
7632
6682
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7743
6793
  as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
7744
6794
ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
7745
6795
"
7746
 
if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
 
6796
eval as_val=\$$as_ac_Header
 
6797
   if test "x$as_val" = x""yes; then :
7747
6798
  cat >>confdefs.h <<_ACEOF
7748
6799
#define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
7749
6800
_ACEOF
7757
6808
do :
7758
6809
  ac_fn_c_check_header_compile "$LINENO" "dlfcn.h" "ac_cv_header_dlfcn_h" "$ac_includes_default
7759
6810
"
7760
 
if test "x$ac_cv_header_dlfcn_h" = xyes; then :
 
6811
if test "x$ac_cv_header_dlfcn_h" = x""yes; then :
7761
6812
  cat >>confdefs.h <<_ACEOF
7762
6813
#define HAVE_DLFCN_H 1
7763
6814
_ACEOF
7768
6819
 
7769
6820
 
7770
6821
 
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
 
 
7784
6822
# Set options
7785
6823
 
7786
6824
 
7856
6894
 
7857
6895
# Check whether --with-pic was given.
7858
6896
if test "${with_pic+set}" = set; then :
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
 
6897
  withval=$with_pic; pic_mode="$withval"
7875
6898
else
7876
6899
  pic_mode=default
7877
6900
fi
7948
6971
 
7949
6972
 
7950
6973
 
7951
 
 
7952
 
 
7953
 
 
7954
 
 
7955
 
 
7956
6974
test -z "$LN_S" && LN_S="ln -s"
7957
6975
 
7958
6976
 
7974
6992
 
7975
6993
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for objdir" >&5
7976
6994
$as_echo_n "checking for objdir... " >&6; }
7977
 
if ${lt_cv_objdir+:} false; then :
 
6995
if test "${lt_cv_objdir+set}" = set; then :
7978
6996
  $as_echo_n "(cached) " >&6
7979
6997
else
7980
6998
  rm -f .libs 2>/dev/null
8002
7020
 
8003
7021
 
8004
7022
 
 
7023
 
 
7024
 
 
7025
 
 
7026
 
 
7027
 
 
7028
 
 
7029
 
 
7030
 
 
7031
 
 
7032
 
 
7033
 
 
7034
 
 
7035
 
8005
7036
case $host_os in
8006
7037
aix3*)
8007
7038
  # AIX sometimes has problems with the GCC collect2 program.  For some
8014
7045
  ;;
8015
7046
esac
8016
7047
 
 
7048
# Sed substitution that helps us do robust quoting.  It backslashifies
 
7049
# metacharacters that are still active within double-quoted strings.
 
7050
sed_quote_subst='s/\(["`$\\]\)/\\\1/g'
 
7051
 
 
7052
# Same as above, but do not quote variable references.
 
7053
double_quote_subst='s/\(["`\\]\)/\\\1/g'
 
7054
 
 
7055
# Sed substitution to delay expansion of an escaped shell variable in a
 
7056
# double_quote_subst'ed string.
 
7057
delay_variable_subst='s/\\\\\\\\\\\$/\\\\\\$/g'
 
7058
 
 
7059
# Sed substitution to delay expansion of an escaped single quote.
 
7060
delay_single_quote_subst='s/'\''/'\'\\\\\\\'\''/g'
 
7061
 
 
7062
# Sed substitution to avoid accidental globbing in evaled expressions
 
7063
no_glob_subst='s/\*/\\\*/g'
 
7064
 
8017
7065
# Global variables:
8018
7066
ofile=libtool
8019
7067
can_build_shared=yes
8042
7090
    *) break;;
8043
7091
  esac
8044
7092
done
8045
 
cc_basename=`$ECHO "$cc_temp" | $SED "s%.*/%%; s%^$host_alias-%%"`
 
7093
cc_basename=`$ECHO "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
8046
7094
 
8047
7095
 
8048
7096
# Only perform the check for file, if the check method requires it
8052
7100
  if test "$file_magic_cmd" = '$MAGIC_CMD'; then
8053
7101
    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ${ac_tool_prefix}file" >&5
8054
7102
$as_echo_n "checking for ${ac_tool_prefix}file... " >&6; }
8055
 
if ${lt_cv_path_MAGIC_CMD+:} false; then :
 
7103
if test "${lt_cv_path_MAGIC_CMD+set}" = set; then :
8056
7104
  $as_echo_n "(cached) " >&6
8057
7105
else
8058
7106
  case $MAGIC_CMD in
8118
7166
  if test -n "$ac_tool_prefix"; then
8119
7167
    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for file" >&5
8120
7168
$as_echo_n "checking for file... " >&6; }
8121
 
if ${lt_cv_path_MAGIC_CMD+:} false; then :
 
7169
if test "${lt_cv_path_MAGIC_CMD+set}" = set; then :
8122
7170
  $as_echo_n "(cached) " >&6
8123
7171
else
8124
7172
  case $MAGIC_CMD in
8251
7299
lt_prog_compiler_no_builtin_flag=
8252
7300
 
8253
7301
if test "$GCC" = yes; then
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
 
7302
  lt_prog_compiler_no_builtin_flag=' -fno-builtin'
8260
7303
 
8261
7304
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
8262
7305
$as_echo_n "checking if $compiler supports -fno-rtti -fno-exceptions... " >&6; }
8263
 
if ${lt_cv_prog_compiler_rtti_exceptions+:} false; then :
 
7306
if test "${lt_cv_prog_compiler_rtti_exceptions+set}" = set; then :
8264
7307
  $as_echo_n "(cached) " >&6
8265
7308
else
8266
7309
  lt_cv_prog_compiler_rtti_exceptions=no
8276
7319
   -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8277
7320
   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8278
7321
   -e 's:$: $lt_compiler_flag:'`
8279
 
   (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
 
7322
   (eval echo "\"\$as_me:7322: $lt_compile\"" >&5)
8280
7323
   (eval "$lt_compile" 2>conftest.err)
8281
7324
   ac_status=$?
8282
7325
   cat conftest.err >&5
8283
 
   echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
7326
   echo "$as_me:7326: \$? = $ac_status" >&5
8284
7327
   if (exit $ac_status) && test -s "$ac_outfile"; then
8285
7328
     # The compiler can only warn and ignore the option if not recognized
8286
7329
     # So say no if there are warnings other than the usual output.
8287
 
     $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
 
7330
     $ECHO "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' >conftest.exp
8288
7331
     $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
8289
7332
     if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
8290
7333
       lt_cv_prog_compiler_rtti_exceptions=yes
8313
7356
lt_prog_compiler_pic=
8314
7357
lt_prog_compiler_static=
8315
7358
 
 
7359
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5
 
7360
$as_echo_n "checking for $compiler option to produce PIC... " >&6; }
8316
7361
 
8317
7362
  if test "$GCC" = yes; then
8318
7363
    lt_prog_compiler_wl='-Wl,'
8360
7405
      lt_prog_compiler_pic='-fno-common'
8361
7406
      ;;
8362
7407
 
8363
 
    haiku*)
8364
 
      # PIC is the default for Haiku.
8365
 
      # The "-static" flag exists, but is broken.
8366
 
      lt_prog_compiler_static=
8367
 
      ;;
8368
 
 
8369
7408
    hpux*)
8370
7409
      # PIC is the default for 64-bit PA HP-UX, but not for 32-bit
8371
7410
      # PA HP-UX.  On IA64 HP-UX, PIC is the default but the pic flag
8408
7447
      lt_prog_compiler_pic='-fPIC'
8409
7448
      ;;
8410
7449
    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
8420
7450
  else
8421
7451
    # PORTME Check for flag to pass linker flags through the system compiler.
8422
7452
    case $host_os in
8458
7488
      lt_prog_compiler_static='-non_shared'
8459
7489
      ;;
8460
7490
 
8461
 
    linux* | k*bsd*-gnu | kopensolaris*-gnu)
 
7491
    linux* | k*bsd*-gnu)
8462
7492
      case $cc_basename in
8463
7493
      # old Intel for x86_64 which still supported -KPIC.
8464
7494
      ecc*)
8479
7509
        lt_prog_compiler_pic='--shared'
8480
7510
        lt_prog_compiler_static='--static'
8481
7511
        ;;
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*)
 
7512
      pgcc* | pgf77* | pgf90* | pgf95*)
8489
7513
        # Portland Group compilers (*not* the Pentium gcc compiler,
8490
7514
        # which looks to be a dead project)
8491
7515
        lt_prog_compiler_wl='-Wl,'
8497
7521
        # All Alpha code is PIC.
8498
7522
        lt_prog_compiler_static='-non_shared'
8499
7523
        ;;
8500
 
      xl* | bgxl* | bgf* | mpixl*)
8501
 
        # IBM XL C 8.0/Fortran 10.1, 11.1 on PPC and BlueGene
 
7524
      xl*)
 
7525
        # IBM XL C 8.0/Fortran 10.1 on PPC
8502
7526
        lt_prog_compiler_wl='-Wl,'
8503
7527
        lt_prog_compiler_pic='-qpic'
8504
7528
        lt_prog_compiler_static='-qstaticlink'
8505
7529
        ;;
8506
7530
      *)
8507
7531
        case `$CC -V 2>&1 | sed 5q` in
8508
 
        *Sun\ Ceres\ Fortran* | *Sun*Fortran*\ [1-7].* | *Sun*Fortran*\ 8.[0-3]*)
 
7532
        *Sun\ C*)
 
7533
          # Sun C 5.9
 
7534
          lt_prog_compiler_pic='-KPIC'
 
7535
          lt_prog_compiler_static='-Bstatic'
 
7536
          lt_prog_compiler_wl='-Wl,'
 
7537
          ;;
 
7538
        *Sun\ F*)
8509
7539
          # Sun Fortran 8.3 passes all unrecognized flags to the linker
8510
7540
          lt_prog_compiler_pic='-KPIC'
8511
7541
          lt_prog_compiler_static='-Bstatic'
8512
7542
          lt_prog_compiler_wl=''
8513
7543
          ;;
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
 
          ;;
8519
 
        *Sun\ C*)
8520
 
          # Sun C 5.9
8521
 
          lt_prog_compiler_pic='-KPIC'
8522
 
          lt_prog_compiler_static='-Bstatic'
8523
 
          lt_prog_compiler_wl='-Wl,'
8524
 
          ;;
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'
8533
 
          lt_prog_compiler_static='-Bstatic'
8534
 
          ;;
8535
7544
        esac
8536
7545
        ;;
8537
7546
      esac
8562
7571
      lt_prog_compiler_pic='-KPIC'
8563
7572
      lt_prog_compiler_static='-Bstatic'
8564
7573
      case $cc_basename in
8565
 
      f77* | f90* | f95* | sunf77* | sunf90* | sunf95*)
 
7574
      f77* | f90* | f95*)
8566
7575
        lt_prog_compiler_wl='-Qoption ld ';;
8567
7576
      *)
8568
7577
        lt_prog_compiler_wl='-Wl,';;
8619
7628
    lt_prog_compiler_pic="$lt_prog_compiler_pic -DPIC"
8620
7629
    ;;
8621
7630
esac
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
 
7631
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_prog_compiler_pic" >&5
 
7632
$as_echo "$lt_prog_compiler_pic" >&6; }
 
7633
 
 
7634
 
 
7635
 
 
7636
 
 
7637
 
8633
7638
 
8634
7639
#
8635
7640
# Check to make sure the PIC flag actually works.
8637
7642
if test -n "$lt_prog_compiler_pic"; then
8638
7643
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler PIC flag $lt_prog_compiler_pic works" >&5
8639
7644
$as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic works... " >&6; }
8640
 
if ${lt_cv_prog_compiler_pic_works+:} false; then :
 
7645
if test "${lt_cv_prog_compiler_pic_works+set}" = set; then :
8641
7646
  $as_echo_n "(cached) " >&6
8642
7647
else
8643
7648
  lt_cv_prog_compiler_pic_works=no
8653
7658
   -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8654
7659
   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8655
7660
   -e 's:$: $lt_compiler_flag:'`
8656
 
   (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
 
7661
   (eval echo "\"\$as_me:7661: $lt_compile\"" >&5)
8657
7662
   (eval "$lt_compile" 2>conftest.err)
8658
7663
   ac_status=$?
8659
7664
   cat conftest.err >&5
8660
 
   echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
7665
   echo "$as_me:7665: \$? = $ac_status" >&5
8661
7666
   if (exit $ac_status) && test -s "$ac_outfile"; then
8662
7667
     # The compiler can only warn and ignore the option if not recognized
8663
7668
     # So say no if there are warnings other than the usual output.
8664
 
     $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
 
7669
     $ECHO "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' >conftest.exp
8665
7670
     $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
8666
7671
     if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
8667
7672
       lt_cv_prog_compiler_pic_works=yes
8690
7695
 
8691
7696
 
8692
7697
 
8693
 
 
8694
 
 
8695
 
 
8696
 
 
8697
 
 
8698
7698
#
8699
7699
# Check to make sure the static flag actually works.
8700
7700
#
8701
7701
wl=$lt_prog_compiler_wl eval lt_tmp_static_flag=\"$lt_prog_compiler_static\"
8702
7702
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler static flag $lt_tmp_static_flag works" >&5
8703
7703
$as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
8704
 
if ${lt_cv_prog_compiler_static_works+:} false; then :
 
7704
if test "${lt_cv_prog_compiler_static_works+set}" = set; then :
8705
7705
  $as_echo_n "(cached) " >&6
8706
7706
else
8707
7707
  lt_cv_prog_compiler_static_works=no
8714
7714
     if test -s conftest.err; then
8715
7715
       # Append any errors to the config.log.
8716
7716
       cat conftest.err 1>&5
8717
 
       $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
 
7717
       $ECHO "X$_lt_linker_boilerplate" | $Xsed -e '/^$/d' > conftest.exp
8718
7718
       $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
8719
7719
       if diff conftest.exp conftest.er2 >/dev/null; then
8720
7720
         lt_cv_prog_compiler_static_works=yes
8744
7744
 
8745
7745
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
8746
7746
$as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
8747
 
if ${lt_cv_prog_compiler_c_o+:} false; then :
 
7747
if test "${lt_cv_prog_compiler_c_o+set}" = set; then :
8748
7748
  $as_echo_n "(cached) " >&6
8749
7749
else
8750
7750
  lt_cv_prog_compiler_c_o=no
8763
7763
   -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8764
7764
   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8765
7765
   -e 's:$: $lt_compiler_flag:'`
8766
 
   (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
 
7766
   (eval echo "\"\$as_me:7766: $lt_compile\"" >&5)
8767
7767
   (eval "$lt_compile" 2>out/conftest.err)
8768
7768
   ac_status=$?
8769
7769
   cat out/conftest.err >&5
8770
 
   echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
7770
   echo "$as_me:7770: \$? = $ac_status" >&5
8771
7771
   if (exit $ac_status) && test -s out/conftest2.$ac_objext
8772
7772
   then
8773
7773
     # The compiler can only warn and ignore the option if not recognized
8774
7774
     # So say no if there are warnings
8775
 
     $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
 
7775
     $ECHO "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' > out/conftest.exp
8776
7776
     $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
8777
7777
     if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
8778
7778
       lt_cv_prog_compiler_c_o=yes
8799
7799
 
8800
7800
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
8801
7801
$as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
8802
 
if ${lt_cv_prog_compiler_c_o+:} false; then :
 
7802
if test "${lt_cv_prog_compiler_c_o+set}" = set; then :
8803
7803
  $as_echo_n "(cached) " >&6
8804
7804
else
8805
7805
  lt_cv_prog_compiler_c_o=no
8818
7818
   -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8819
7819
   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8820
7820
   -e 's:$: $lt_compiler_flag:'`
8821
 
   (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
 
7821
   (eval echo "\"\$as_me:7821: $lt_compile\"" >&5)
8822
7822
   (eval "$lt_compile" 2>out/conftest.err)
8823
7823
   ac_status=$?
8824
7824
   cat out/conftest.err >&5
8825
 
   echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
7825
   echo "$as_me:7825: \$? = $ac_status" >&5
8826
7826
   if (exit $ac_status) && test -s out/conftest2.$ac_objext
8827
7827
   then
8828
7828
     # The compiler can only warn and ignore the option if not recognized
8829
7829
     # So say no if there are warnings
8830
 
     $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
 
7830
     $ECHO "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' > out/conftest.exp
8831
7831
     $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
8832
7832
     if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
8833
7833
       lt_cv_prog_compiler_c_o=yes
8893
7893
  hardcode_direct=no
8894
7894
  hardcode_direct_absolute=no
8895
7895
  hardcode_libdir_flag_spec=
 
7896
  hardcode_libdir_flag_spec_ld=
8896
7897
  hardcode_libdir_separator=
8897
7898
  hardcode_minus_L=no
8898
7899
  hardcode_shlibpath_var=unsupported
8936
7937
  openbsd*)
8937
7938
    with_gnu_ld=no
8938
7939
    ;;
8939
 
  linux* | k*bsd*-gnu | gnu*)
 
7940
  linux* | k*bsd*-gnu)
8940
7941
    link_all_deplibs=no
8941
7942
    ;;
8942
7943
  esac
8943
7944
 
8944
7945
  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
8949
7946
  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
8972
7947
    # If archive_cmds runs LD, not CC, wlarc should be empty
8973
7948
    wlarc='${wl}'
8974
7949
 
8986
7961
    fi
8987
7962
    supports_anon_versioning=no
8988
7963
    case `$LD -v 2>&1` in
8989
 
      *GNU\ gold*) supports_anon_versioning=yes ;;
8990
7964
      *\ [01].* | *\ 2.[0-9].* | *\ 2.10.*) ;; # catch versions < 2.11
8991
7965
      *\ 2.11.93.0.2\ *) supports_anon_versioning=yes ;; # RH7.3 ...
8992
7966
      *\ 2.11.92.0.12\ *) supports_anon_versioning=yes ;; # Mandrake 8.2 ...
9002
7976
        ld_shlibs=no
9003
7977
        cat <<_LT_EOF 1>&2
9004
7978
 
9005
 
*** Warning: the GNU linker, at least up to release 2.19, is reported
 
7979
*** Warning: the GNU linker, at least up to release 2.9.1, is reported
9006
7980
*** to be unable to reliably create shared libraries on AIX.
9007
7981
*** Therefore, libtool is disabling shared libraries support.  If you
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.
 
7982
*** really care for shared libraries, you may want to modify your PATH
 
7983
*** so that a non-GNU linker is found, and then restart.
9011
7984
 
9012
7985
_LT_EOF
9013
7986
      fi
9043
8016
      # _LT_TAGVAR(hardcode_libdir_flag_spec, ) is actually meaningless,
9044
8017
      # as there is no search path for DLLs.
9045
8018
      hardcode_libdir_flag_spec='-L$libdir'
9046
 
      export_dynamic_flag_spec='${wl}--export-all-symbols'
9047
8019
      allow_undefined_flag=unsupported
9048
8020
      always_export_symbols=no
9049
8021
      enable_shared_with_static_runtimes=yes
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'
 
8022
      export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1 DATA/'\'' | $SED -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols'
9052
8023
 
9053
8024
      if $LD --help 2>&1 | $GREP 'auto-import' > /dev/null; then
9054
8025
        archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
9066
8037
      fi
9067
8038
      ;;
9068
8039
 
9069
 
    haiku*)
9070
 
      archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9071
 
      link_all_deplibs=yes
9072
 
      ;;
9073
 
 
9074
8040
    interix[3-9]*)
9075
8041
      hardcode_direct=no
9076
8042
      hardcode_shlibpath_var=no
9086
8052
      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'
9087
8053
      ;;
9088
8054
 
9089
 
    gnu* | linux* | tpf* | k*bsd*-gnu | kopensolaris*-gnu)
 
8055
    gnu* | linux* | tpf* | k*bsd*-gnu)
9090
8056
      tmp_diet=no
9091
8057
      if test "$host_os" = linux-dietlibc; then
9092
8058
        case $cc_basename in
9096
8062
      if $LD --help 2>&1 | $EGREP ': supported targets:.* elf' > /dev/null \
9097
8063
         && test "$tmp_diet" = no
9098
8064
      then
9099
 
        tmp_addflag=' $pic_flag'
 
8065
        tmp_addflag=
9100
8066
        tmp_sharedflag='-shared'
9101
8067
        case $cc_basename,$host_cpu in
9102
8068
        pgcc*)                          # Portland Group C compiler
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'
 
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'
9104
8070
          tmp_addflag=' $pic_flag'
9105
8071
          ;;
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'
 
8072
        pgf77* | pgf90* | pgf95*)       # Portland Group f77 and f90 compilers
 
8073
          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'
9109
8074
          tmp_addflag=' $pic_flag -Mnomain' ;;
9110
8075
        ecc*,ia64* | icc*,ia64*)        # Intel C compiler on ia64
9111
8076
          tmp_addflag=' -i_dynamic' ;;
9116
8081
        lf95*)                          # Lahey Fortran 8.1
9117
8082
          whole_archive_flag_spec=
9118
8083
          tmp_sharedflag='--shared' ;;
9119
 
        xl[cC]* | bgxl[cC]* | mpixl[cC]*) # IBM XL C 8.0 on PPC (deal with xlf below)
 
8084
        xl[cC]*)                        # IBM XL C 8.0 on PPC (deal with xlf below)
9120
8085
          tmp_sharedflag='-qmkshrobj'
9121
8086
          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
 
          ;;
9126
8087
        esac
9127
8088
        case `$CC -V 2>&1 | sed 5q` in
9128
8089
        *Sun\ C*)                       # Sun C 5.9
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'
 
8090
          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'
9130
8091
          compiler_needs_object=yes
9131
8092
          tmp_sharedflag='-G' ;;
9132
8093
        *Sun\ F*)                       # Sun Fortran 8.3
9142
8103
        fi
9143
8104
 
9144
8105
        case $cc_basename in
9145
 
        xlf* | bgf* | bgxlf* | mpixlf*)
 
8106
        xlf*)
9146
8107
          # IBM XL Fortran 10.1 on PPC cannot create shared libs itself
9147
8108
          whole_archive_flag_spec='--whole-archive$convenience --no-whole-archive'
9148
 
          hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9149
 
          archive_cmds='$LD -shared $libobjs $deplibs $linker_flags -soname $soname -o $lib'
 
8109
          hardcode_libdir_flag_spec=
 
8110
          hardcode_libdir_flag_spec_ld='-rpath $libdir'
 
8111
          archive_cmds='$LD -shared $libobjs $deplibs $compiler_flags -soname $soname -o $lib'
9150
8112
          if test "x$supports_anon_versioning" = xyes; then
9151
8113
            archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
9152
8114
              cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
9153
8115
              echo "local: *; };" >> $output_objdir/$libname.ver~
9154
 
              $LD -shared $libobjs $deplibs $linker_flags -soname $soname -version-script $output_objdir/$libname.ver -o $lib'
 
8116
              $LD -shared $libobjs $deplibs $compiler_flags -soname $soname -version-script $output_objdir/$libname.ver -o $lib'
9155
8117
          fi
9156
8118
          ;;
9157
8119
        esac
9165
8127
        archive_cmds='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
9166
8128
        wlarc=
9167
8129
      else
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'
 
8130
        archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
 
8131
        archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
9170
8132
      fi
9171
8133
      ;;
9172
8134
 
9184
8146
 
9185
8147
_LT_EOF
9186
8148
      elif $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
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'
 
8149
        archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
 
8150
        archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
9189
8151
      else
9190
8152
        ld_shlibs=no
9191
8153
      fi
9231
8193
 
9232
8194
    *)
9233
8195
      if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
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'
 
8196
        archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
 
8197
        archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
9236
8198
      else
9237
8199
        ld_shlibs=no
9238
8200
      fi
9272
8234
      else
9273
8235
        # If we're using GNU nm, then we don't want the "-C" option.
9274
8236
        # -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".
9277
8237
        if $NM -V 2>&1 | $GREP 'GNU' > /dev/null; then
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'
 
8238
          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'
9279
8239
        else
9280
8240
          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'
9281
8241
        fi
9363
8323
        allow_undefined_flag='-berok'
9364
8324
        # Determine the default libpath from the value encoded in an
9365
8325
        # empty executable.
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
 
8326
        cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9373
8327
/* end confdefs.h.  */
9374
8328
 
9375
8329
int
9382
8336
_ACEOF
9383
8337
if ac_fn_c_try_link "$LINENO"; then :
9384
8338
 
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
 
8339
lt_aix_libpath_sed='
 
8340
    /Import File Strings/,/^$/ {
 
8341
        /^0/ {
 
8342
            s/^0  *\(.*\)$/\1/
 
8343
            p
 
8344
        }
 
8345
    }'
 
8346
aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
 
8347
# Check for a 64-bit object if we didn't find anything.
 
8348
if test -z "$aix_libpath"; then
 
8349
  aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
 
8350
fi
9397
8351
fi
9398
8352
rm -f core conftest.err conftest.$ac_objext \
9399
8353
    conftest$ac_exeext conftest.$ac_ext
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
 
8354
if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
9408
8355
 
9409
8356
        hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
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"
 
8357
        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"
9411
8358
      else
9412
8359
        if test "$host_cpu" = ia64; then
9413
8360
          hardcode_libdir_flag_spec='${wl}-R $libdir:/usr/lib:/lib'
9416
8363
        else
9417
8364
         # Determine the default libpath from the value encoded in an
9418
8365
         # empty executable.
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
 
8366
         cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9426
8367
/* end confdefs.h.  */
9427
8368
 
9428
8369
int
9435
8376
_ACEOF
9436
8377
if ac_fn_c_try_link "$LINENO"; then :
9437
8378
 
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
 
8379
lt_aix_libpath_sed='
 
8380
    /Import File Strings/,/^$/ {
 
8381
        /^0/ {
 
8382
            s/^0  *\(.*\)$/\1/
 
8383
            p
 
8384
        }
 
8385
    }'
 
8386
aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
 
8387
# Check for a 64-bit object if we didn't find anything.
 
8388
if test -z "$aix_libpath"; then
 
8389
  aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
 
8390
fi
9450
8391
fi
9451
8392
rm -f core conftest.err conftest.$ac_objext \
9452
8393
    conftest$ac_exeext conftest.$ac_ext
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
 
8394
if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
9461
8395
 
9462
8396
         hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
9463
8397
          # Warning - without using the other run time loading flags,
9464
8398
          # -berok will link without error, but may produce a broken library.
9465
8399
          no_undefined_flag=' ${wl}-bernotok'
9466
8400
          allow_undefined_flag=' ${wl}-berok'
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
 
8401
          # Exported symbols can be pulled into shared objects from archives
 
8402
          whole_archive_flag_spec='$convenience'
9474
8403
          archive_cmds_need_lc=yes
9475
8404
          # This is similar to how AIX traditionally builds its shared libraries.
9476
8405
          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'
9502
8431
      # Microsoft Visual C++.
9503
8432
      # hardcode_libdir_flag_spec is actually meaningless, as there is
9504
8433
      # no search path for DLLs.
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
 
8434
      hardcode_libdir_flag_spec=' '
 
8435
      allow_undefined_flag=unsupported
 
8436
      # Tell ltmain to make .lib files, not .a files.
 
8437
      libext=lib
 
8438
      # Tell ltmain to make .dll files, not .so files.
 
8439
      shrext_cmds=".dll"
 
8440
      # FIXME: Setting linknames here is a bad hack.
 
8441
      archive_cmds='$CC -o $lib $libobjs $compiler_flags `$ECHO "X$deplibs" | $Xsed -e '\''s/ -lc$//'\''` -link -dll~linknames='
 
8442
      # The linker will automatically build a .lib file if we build a DLL.
 
8443
      old_archive_from_new_cmds='true'
 
8444
      # FIXME: Should let the user specify the lib program.
 
8445
      old_archive_cmds='lib -OUT:$oldlib$oldobjs$old_deplibs'
 
8446
      fix_srcfile_path='`cygpath -w "$srcfile"`'
 
8447
      enable_shared_with_static_runtimes=yes
9563
8448
      ;;
9564
8449
 
9565
8450
    darwin* | rhapsody*)
9569
8454
  hardcode_direct=no
9570
8455
  hardcode_automatic=yes
9571
8456
  hardcode_shlibpath_var=unsupported
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
 
8457
  whole_archive_flag_spec=''
9578
8458
  link_all_deplibs=yes
9579
8459
  allow_undefined_flag="$_lt_dar_allow_undefined"
9580
8460
  case $cc_basename in
9582
8462
     *) _lt_dar_can_shared=$GCC ;;
9583
8463
  esac
9584
8464
  if test "$_lt_dar_can_shared" = "yes"; then
9585
 
    output_verbose_link_cmd=func_echo_all
 
8465
    output_verbose_link_cmd=echo
9586
8466
    archive_cmds="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod${_lt_dsymutil}"
9587
8467
    module_cmds="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}"
9588
8468
    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}"
9600
8480
      hardcode_shlibpath_var=no
9601
8481
      ;;
9602
8482
 
 
8483
    freebsd1*)
 
8484
      ld_shlibs=no
 
8485
      ;;
 
8486
 
9603
8487
    # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
9604
8488
    # support.  Future versions do this automatically, but an explicit c++rt0.o
9605
8489
    # does not break anything, and helps significantly (at the cost of a little
9612
8496
      ;;
9613
8497
 
9614
8498
    # Unfortunately, older versions of FreeBSD 2 do not have this feature.
9615
 
    freebsd2.*)
 
8499
    freebsd2*)
9616
8500
      archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
9617
8501
      hardcode_direct=yes
9618
8502
      hardcode_minus_L=yes
9621
8505
 
9622
8506
    # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
9623
8507
    freebsd* | dragonfly*)
9624
 
      archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
 
8508
      archive_cmds='$CC -shared -o $lib $libobjs $deplibs $compiler_flags'
9625
8509
      hardcode_libdir_flag_spec='-R$libdir'
9626
8510
      hardcode_direct=yes
9627
8511
      hardcode_shlibpath_var=no
9629
8513
 
9630
8514
    hpux9*)
9631
8515
      if test "$GCC" = yes; then
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'
 
8516
        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'
9633
8517
      else
9634
8518
        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'
9635
8519
      fi
9644
8528
      ;;
9645
8529
 
9646
8530
    hpux10*)
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'
 
8531
      if test "$GCC" = yes -a "$with_gnu_ld" = no; then
 
8532
        archive_cmds='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
9649
8533
      else
9650
8534
        archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
9651
8535
      fi
9652
8536
      if test "$with_gnu_ld" = no; then
9653
8537
        hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
 
8538
        hardcode_libdir_flag_spec_ld='+b $libdir'
9654
8539
        hardcode_libdir_separator=:
9655
8540
        hardcode_direct=yes
9656
8541
        hardcode_direct_absolute=yes
9662
8547
      ;;
9663
8548
 
9664
8549
    hpux11*)
9665
 
      if test "$GCC" = yes && test "$with_gnu_ld" = no; then
 
8550
      if test "$GCC" = yes -a "$with_gnu_ld" = no; then
9666
8551
        case $host_cpu in
9667
8552
        hppa*64*)
9668
8553
          archive_cmds='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
9669
8554
          ;;
9670
8555
        ia64*)
9671
 
          archive_cmds='$CC -shared $pic_flag ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
 
8556
          archive_cmds='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
9672
8557
          ;;
9673
8558
        *)
9674
 
          archive_cmds='$CC -shared $pic_flag ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
 
8559
          archive_cmds='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
9675
8560
          ;;
9676
8561
        esac
9677
8562
      else
9683
8568
          archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
9684
8569
          ;;
9685
8570
        *)
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
 
 
 
8571
          archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
9726
8572
          ;;
9727
8573
        esac
9728
8574
      fi
9750
8596
 
9751
8597
    irix5* | irix6* | nonstopux*)
9752
8598
      if test "$GCC" = yes; then
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'
 
8599
        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'
9754
8600
        # Try to use the -exported_symbol ld option, if it does not
9755
8601
        # work, assume that -exports_file does not work either and
9756
8602
        # implicitly export all symbols.
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
 
8603
        save_LDFLAGS="$LDFLAGS"
 
8604
        LDFLAGS="$LDFLAGS -shared ${wl}-exported_symbol ${wl}foo ${wl}-update_registry ${wl}/dev/null"
 
8605
        cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9766
8606
/* end confdefs.h.  */
9767
 
int foo (void) { return 0; }
 
8607
int foo(void) {}
9768
8608
_ACEOF
9769
8609
if ac_fn_c_try_link "$LINENO"; then :
9770
 
  lt_cv_irix_exported_symbol=yes
9771
 
else
9772
 
  lt_cv_irix_exported_symbol=no
 
8610
  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'
 
8611
 
9773
8612
fi
9774
8613
rm -f core conftest.err conftest.$ac_objext \
9775
8614
    conftest$ac_exeext conftest.$ac_ext
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
 
8615
        LDFLAGS="$save_LDFLAGS"
9783
8616
      else
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'
 
8617
        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'
 
8618
        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'
9786
8619
      fi
9787
8620
      archive_cmds_need_lc='no'
9788
8621
      hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9844
8677
      hardcode_libdir_flag_spec='-L$libdir'
9845
8678
      hardcode_minus_L=yes
9846
8679
      allow_undefined_flag=unsupported
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'
 
8680
      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'
9848
8681
      old_archive_from_new_cmds='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
9849
8682
      ;;
9850
8683
 
9851
8684
    osf3*)
9852
8685
      if test "$GCC" = yes; then
9853
8686
        allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
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'
 
8687
        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'
9855
8688
      else
9856
8689
        allow_undefined_flag=' -expect_unresolved \*'
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'
 
8690
        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'
9858
8691
      fi
9859
8692
      archive_cmds_need_lc='no'
9860
8693
      hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9864
8697
    osf4* | osf5*)      # as osf3* with the addition of -msym flag
9865
8698
      if test "$GCC" = yes; then
9866
8699
        allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
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'
 
8700
        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'
9868
8701
        hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9869
8702
      else
9870
8703
        allow_undefined_flag=' -expect_unresolved \*'
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'
 
8704
        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'
9872
8705
        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~
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'
 
8706
        $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'
9874
8707
 
9875
8708
        # Both c and cxx compiler support -rpath directly
9876
8709
        hardcode_libdir_flag_spec='-rpath $libdir'
9883
8716
      no_undefined_flag=' -z defs'
9884
8717
      if test "$GCC" = yes; then
9885
8718
        wlarc='${wl}'
9886
 
        archive_cmds='$CC -shared $pic_flag ${wl}-z ${wl}text ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
 
8719
        archive_cmds='$CC -shared ${wl}-z ${wl}text ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
9887
8720
        archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $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'
 
8721
          $CC -shared ${wl}-z ${wl}text ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
9889
8722
      else
9890
8723
        case `$CC -V 2>&1` in
9891
8724
        *"Compilers 5.0"*)
10073
8906
      # to ld, don't add -lc before -lgcc.
10074
8907
      { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5
10075
8908
$as_echo_n "checking whether -lc should be explicitly linked in... " >&6; }
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
 
8909
      $RM conftest*
 
8910
      echo "$lt_simple_compile_test_code" > conftest.$ac_ext
10081
8911
 
10082
 
        if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
 
8912
      if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
10083
8913
  (eval $ac_compile) 2>&5
10084
8914
  ac_status=$?
10085
8915
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
10086
8916
  test $ac_status = 0; } 2>conftest.err; then
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
 
8917
        soname=conftest
 
8918
        lib=conftest
 
8919
        libobjs=conftest.$ac_objext
 
8920
        deplibs=
 
8921
        wl=$lt_prog_compiler_wl
 
8922
        pic_flag=$lt_prog_compiler_pic
 
8923
        compiler_flags=-v
 
8924
        linker_flags=-v
 
8925
        verstring=
 
8926
        output_objdir=.
 
8927
        libname=conftest
 
8928
        lt_save_allow_undefined_flag=$allow_undefined_flag
 
8929
        allow_undefined_flag=
 
8930
        if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5
10101
8931
  (eval $archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1) 2>&5
10102
8932
  ac_status=$?
10103
8933
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
10104
8934
  test $ac_status = 0; }
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
 
8935
        then
 
8936
          archive_cmds_need_lc=no
 
8937
        else
 
8938
          archive_cmds_need_lc=yes
 
8939
        fi
 
8940
        allow_undefined_flag=$lt_save_allow_undefined_flag
 
8941
      else
 
8942
        cat conftest.err 1>&5
 
8943
      fi
 
8944
      $RM conftest*
 
8945
      { $as_echo "$as_me:${as_lineno-$LINENO}: result: $archive_cmds_need_lc" >&5
 
8946
$as_echo "$archive_cmds_need_lc" >&6; }
10120
8947
      ;;
10121
8948
    esac
10122
8949
  fi
10274
9101
 
10275
9102
 
10276
9103
 
 
9104
 
 
9105
 
 
9106
 
 
9107
 
 
9108
 
10277
9109
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking dynamic linker characteristics" >&5
10278
9110
$as_echo_n "checking dynamic linker characteristics... " >&6; }
10279
9111
 
10282
9114
    darwin*) lt_awk_arg="/^libraries:/,/LR/" ;;
10283
9115
    *) lt_awk_arg="/^libraries:/" ;;
10284
9116
  esac
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
 
  *\;*)
 
9117
  lt_search_path_spec=`$CC -print-search-dirs | awk $lt_awk_arg | $SED -e "s/^libraries://" -e "s,=/,/,g"`
 
9118
  if $ECHO "$lt_search_path_spec" | $GREP ';' >/dev/null ; then
10292
9119
    # if the path contains ";" then we assume it to be the separator
10293
9120
    # otherwise default to the standard path separator (i.e. ":") - it is
10294
9121
    # assumed that no part of a normal pathname contains ";" but that should
10295
9122
    # okay in the real world where ";" in dirpaths is itself problematic.
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
    lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED -e 's/;/ /g'`
 
9124
  else
 
9125
    lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED  -e "s/$PATH_SEPARATOR/ /g"`
 
9126
  fi
10302
9127
  # Ok, now we have the path, separated by spaces, we can step through it
10303
9128
  # and add multilib dir if necessary.
10304
9129
  lt_tmp_lt_search_path_spec=
10311
9136
        lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path"
10312
9137
    fi
10313
9138
  done
10314
 
  lt_search_path_spec=`$ECHO "$lt_tmp_lt_search_path_spec" | awk '
 
9139
  lt_search_path_spec=`$ECHO $lt_tmp_lt_search_path_spec | awk '
10315
9140
BEGIN {RS=" "; FS="/|\n";} {
10316
9141
  lt_foo="";
10317
9142
  lt_count=0;
10331
9156
  if (lt_foo != "") { lt_freq[lt_foo]++; }
10332
9157
  if (lt_freq[lt_foo] == 1) { print lt_foo; }
10333
9158
}'`
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`
 
9159
  sys_lib_search_path_spec=`$ECHO $lt_search_path_spec`
10341
9160
else
10342
9161
  sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"
10343
9162
fi
10363
9182
 
10364
9183
case $host_os in
10365
9184
aix3*)
10366
 
  version_type=linux # correct to gnu/linux during the next big refactor
 
9185
  version_type=linux
10367
9186
  library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a'
10368
9187
  shlibpath_var=LIBPATH
10369
9188
 
10372
9191
  ;;
10373
9192
 
10374
9193
aix[4-9]*)
10375
 
  version_type=linux # correct to gnu/linux during the next big refactor
 
9194
  version_type=linux
10376
9195
  need_lib_prefix=no
10377
9196
  need_version=no
10378
9197
  hardcode_into_libs=yes
10425
9244
  m68k)
10426
9245
    library_names_spec='$libname.ixlibrary $libname.a'
10427
9246
    # Create ${libname}_ixlibrary.a entries in /sys/libs.
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'
 
9247
    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'
10429
9248
    ;;
10430
9249
  esac
10431
9250
  ;;
10437
9256
  ;;
10438
9257
 
10439
9258
bsdi[45]*)
10440
 
  version_type=linux # correct to gnu/linux during the next big refactor
 
9259
  version_type=linux
10441
9260
  need_version=no
10442
9261
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10443
9262
  soname_spec='${libname}${release}${shared_ext}$major'
10456
9275
  need_version=no
10457
9276
  need_lib_prefix=no
10458
9277
 
10459
 
  case $GCC,$cc_basename in
10460
 
  yes,*)
10461
 
    # gcc
 
9278
  case $GCC,$host_os in
 
9279
  yes,cygwin* | yes,mingw* | yes,pw32* | yes,cegcc*)
10462
9280
    library_names_spec='$libname.dll.a'
10463
9281
    # DLL is installed to $(libdir)/../bin by postinstall_cmds
10464
9282
    postinstall_cmds='base_file=`basename \${file}`~
10479
9297
    cygwin*)
10480
9298
      # Cygwin DLLs use 'cyg' prefix rather than 'lib'
10481
9299
      soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
10482
 
 
10483
 
      sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/lib/w32api"
 
9300
      sys_lib_search_path_spec="/usr/lib /lib/w32api /lib /usr/local/lib"
10484
9301
      ;;
10485
9302
    mingw* | cegcc*)
10486
9303
      # MinGW DLLs use traditional 'lib' prefix
10487
9304
      soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
 
9305
      sys_lib_search_path_spec=`$CC -print-search-dirs | $GREP "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
 
9306
      if $ECHO "$sys_lib_search_path_spec" | $GREP ';[c-zC-Z]:/' >/dev/null; then
 
9307
        # It is most probably a Windows format PATH printed by
 
9308
        # mingw gcc, but we are running on Cygwin. Gcc prints its search
 
9309
        # path with ; separators, and with drive letters. We can handle the
 
9310
        # drive letters (cygwin fileutils understands them), so leave them,
 
9311
        # especially as we might pass files found there to a mingw objdump,
 
9312
        # which wouldn't understand a cygwinified path. Ahh.
 
9313
        sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
 
9314
      else
 
9315
        sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED  -e "s/$PATH_SEPARATOR/ /g"`
 
9316
      fi
10488
9317
      ;;
10489
9318
    pw32*)
10490
9319
      # pw32 DLLs use 'pw' prefix rather than 'lib'
10491
9320
      library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
10492
9321
      ;;
10493
9322
    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'
10551
9323
    ;;
10552
9324
 
10553
9325
  *)
10554
 
    # Assume MSVC wrapper
10555
9326
    library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
10556
 
    dynamic_linker='Win32 ld.exe'
10557
9327
    ;;
10558
9328
  esac
 
9329
  dynamic_linker='Win32 ld.exe'
10559
9330
  # FIXME: first we should search . and the directory the executable is in
10560
9331
  shlibpath_var=PATH
10561
9332
  ;;
10576
9347
  ;;
10577
9348
 
10578
9349
dgux*)
10579
 
  version_type=linux # correct to gnu/linux during the next big refactor
 
9350
  version_type=linux
10580
9351
  need_lib_prefix=no
10581
9352
  need_version=no
10582
9353
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
10584
9355
  shlibpath_var=LD_LIBRARY_PATH
10585
9356
  ;;
10586
9357
 
 
9358
freebsd1*)
 
9359
  dynamic_linker=no
 
9360
  ;;
 
9361
 
10587
9362
freebsd* | dragonfly*)
10588
9363
  # DragonFly does not have aout.  When/if they implement a new
10589
9364
  # versioning mechanism, adjust this.
10591
9366
    objformat=`/usr/bin/objformat`
10592
9367
  else
10593
9368
    case $host_os in
10594
 
    freebsd[23].*) objformat=aout ;;
 
9369
    freebsd[123]*) objformat=aout ;;
10595
9370
    *) objformat=elf ;;
10596
9371
    esac
10597
9372
  fi
10609
9384
  esac
10610
9385
  shlibpath_var=LD_LIBRARY_PATH
10611
9386
  case $host_os in
10612
 
  freebsd2.*)
 
9387
  freebsd2*)
10613
9388
    shlibpath_overrides_runpath=yes
10614
9389
    ;;
10615
9390
  freebsd3.[01]* | freebsdelf3.[01]*)
10629
9404
  ;;
10630
9405
 
10631
9406
gnu*)
10632
 
  version_type=linux # correct to gnu/linux during the next big refactor
 
9407
  version_type=linux
10633
9408
  need_lib_prefix=no
10634
9409
  need_version=no
10635
9410
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
10636
9411
  soname_spec='${libname}${release}${shared_ext}$major'
10637
9412
  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'
10652
9413
  hardcode_into_libs=yes
10653
9414
  ;;
10654
9415
 
10694
9455
    soname_spec='${libname}${release}${shared_ext}$major'
10695
9456
    ;;
10696
9457
  esac
10697
 
  # HP-UX runs *really* slowly unless shared libraries are mode 555, ...
 
9458
  # HP-UX runs *really* slowly unless shared libraries are mode 555.
10698
9459
  postinstall_cmds='chmod 555 $lib'
10699
 
  # or fails outright, so override atomically:
10700
 
  install_override_mode=555
10701
9460
  ;;
10702
9461
 
10703
9462
interix[3-9]*)
10704
 
  version_type=linux # correct to gnu/linux during the next big refactor
 
9463
  version_type=linux
10705
9464
  need_lib_prefix=no
10706
9465
  need_version=no
10707
9466
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
10717
9476
    nonstopux*) version_type=nonstopux ;;
10718
9477
    *)
10719
9478
        if test "$lt_cv_prog_gnu_ld" = yes; then
10720
 
                version_type=linux # correct to gnu/linux during the next big refactor
 
9479
                version_type=linux
10721
9480
        else
10722
9481
                version_type=irix
10723
9482
        fi ;;
10754
9513
  dynamic_linker=no
10755
9514
  ;;
10756
9515
 
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
 
9516
# This must be Linux ELF.
 
9517
linux* | k*bsd*-gnu)
 
9518
  version_type=linux
10760
9519
  need_lib_prefix=no
10761
9520
  need_version=no
10762
9521
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10764
9523
  finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
10765
9524
  shlibpath_var=LD_LIBRARY_PATH
10766
9525
  shlibpath_overrides_runpath=no
10767
 
 
10768
9526
  # Some binutils ld are patched to set DT_RUNPATH
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
 
9527
  save_LDFLAGS=$LDFLAGS
 
9528
  save_libdir=$libdir
 
9529
  eval "libdir=/foo; wl=\"$lt_prog_compiler_wl\"; \
 
9530
       LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec\""
 
9531
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10778
9532
/* end confdefs.h.  */
10779
9533
 
10780
9534
int
10787
9541
_ACEOF
10788
9542
if ac_fn_c_try_link "$LINENO"; then :
10789
9543
  if  ($OBJDUMP -p conftest$ac_exeext) 2>/dev/null | grep "RUNPATH.*$libdir" >/dev/null; then :
10790
 
  lt_cv_shlibpath_overrides_runpath=yes
 
9544
  shlibpath_overrides_runpath=yes
10791
9545
fi
10792
9546
fi
10793
9547
rm -f core conftest.err conftest.$ac_objext \
10794
9548
    conftest$ac_exeext conftest.$ac_ext
10795
 
    LDFLAGS=$save_LDFLAGS
10796
 
    libdir=$save_libdir
10797
 
 
10798
 
fi
10799
 
 
10800
 
  shlibpath_overrides_runpath=$lt_cv_shlibpath_overrides_runpath
 
9549
  LDFLAGS=$save_LDFLAGS
 
9550
  libdir=$save_libdir
10801
9551
 
10802
9552
  # This implies no fast_install, which is unacceptable.
10803
9553
  # Some rework will be needed to allow for fast_install
10806
9556
 
10807
9557
  # Append ld.so.conf contents to the search path
10808
9558
  if test -f /etc/ld.so.conf; then
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' ' '`
 
9559
    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' ' '`
10810
9560
    sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra"
10811
9561
  fi
10812
9562
 
10850
9600
  ;;
10851
9601
 
10852
9602
newsos6)
10853
 
  version_type=linux # correct to gnu/linux during the next big refactor
 
9603
  version_type=linux
10854
9604
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10855
9605
  shlibpath_var=LD_LIBRARY_PATH
10856
9606
  shlibpath_overrides_runpath=yes
10919
9669
  ;;
10920
9670
 
10921
9671
solaris*)
10922
 
  version_type=linux # correct to gnu/linux during the next big refactor
 
9672
  version_type=linux
10923
9673
  need_lib_prefix=no
10924
9674
  need_version=no
10925
9675
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10944
9694
  ;;
10945
9695
 
10946
9696
sysv4 | sysv4.3*)
10947
 
  version_type=linux # correct to gnu/linux during the next big refactor
 
9697
  version_type=linux
10948
9698
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10949
9699
  soname_spec='${libname}${release}${shared_ext}$major'
10950
9700
  shlibpath_var=LD_LIBRARY_PATH
10968
9718
 
10969
9719
sysv4*MP*)
10970
9720
  if test -d /usr/nec ;then
10971
 
    version_type=linux # correct to gnu/linux during the next big refactor
 
9721
    version_type=linux
10972
9722
    library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
10973
9723
    soname_spec='$libname${shared_ext}.$major'
10974
9724
    shlibpath_var=LD_LIBRARY_PATH
10999
9749
 
11000
9750
tpf*)
11001
9751
  # TPF is a cross-target only.  Preferred cross-host = GNU/Linux.
11002
 
  version_type=linux # correct to gnu/linux during the next big refactor
 
9752
  version_type=linux
11003
9753
  need_lib_prefix=no
11004
9754
  need_version=no
11005
9755
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11009
9759
  ;;
11010
9760
 
11011
9761
uts4*)
11012
 
  version_type=linux # correct to gnu/linux during the next big refactor
 
9762
  version_type=linux
11013
9763
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11014
9764
  soname_spec='${libname}${release}${shared_ext}$major'
11015
9765
  shlibpath_var=LD_LIBRARY_PATH
11121
9871
 
11122
9872
 
11123
9873
 
11124
 
 
11125
 
 
11126
 
 
11127
 
 
11128
 
 
11129
9874
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to hardcode library paths into programs" >&5
11130
9875
$as_echo_n "checking how to hardcode library paths into programs... " >&6; }
11131
9876
hardcode_action=
11198
9943
  # if libdl is installed we need to link against it
11199
9944
    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
11200
9945
$as_echo_n "checking for dlopen in -ldl... " >&6; }
11201
 
if ${ac_cv_lib_dl_dlopen+:} false; then :
 
9946
if test "${ac_cv_lib_dl_dlopen+set}" = set; then :
11202
9947
  $as_echo_n "(cached) " >&6
11203
9948
else
11204
9949
  ac_check_lib_save_LIBS=$LIBS
11232
9977
fi
11233
9978
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
11234
9979
$as_echo "$ac_cv_lib_dl_dlopen" >&6; }
11235
 
if test "x$ac_cv_lib_dl_dlopen" = xyes; then :
 
9980
if test "x$ac_cv_lib_dl_dlopen" = x""yes; then :
11236
9981
  lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
11237
9982
else
11238
9983
 
11246
9991
 
11247
9992
  *)
11248
9993
    ac_fn_c_check_func "$LINENO" "shl_load" "ac_cv_func_shl_load"
11249
 
if test "x$ac_cv_func_shl_load" = xyes; then :
 
9994
if test "x$ac_cv_func_shl_load" = x""yes; then :
11250
9995
  lt_cv_dlopen="shl_load"
11251
9996
else
11252
9997
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shl_load in -ldld" >&5
11253
9998
$as_echo_n "checking for shl_load in -ldld... " >&6; }
11254
 
if ${ac_cv_lib_dld_shl_load+:} false; then :
 
9999
if test "${ac_cv_lib_dld_shl_load+set}" = set; then :
11255
10000
  $as_echo_n "(cached) " >&6
11256
10001
else
11257
10002
  ac_check_lib_save_LIBS=$LIBS
11285
10030
fi
11286
10031
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_shl_load" >&5
11287
10032
$as_echo "$ac_cv_lib_dld_shl_load" >&6; }
11288
 
if test "x$ac_cv_lib_dld_shl_load" = xyes; then :
 
10033
if test "x$ac_cv_lib_dld_shl_load" = x""yes; then :
11289
10034
  lt_cv_dlopen="shl_load" lt_cv_dlopen_libs="-ldld"
11290
10035
else
11291
10036
  ac_fn_c_check_func "$LINENO" "dlopen" "ac_cv_func_dlopen"
11292
 
if test "x$ac_cv_func_dlopen" = xyes; then :
 
10037
if test "x$ac_cv_func_dlopen" = x""yes; then :
11293
10038
  lt_cv_dlopen="dlopen"
11294
10039
else
11295
10040
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
11296
10041
$as_echo_n "checking for dlopen in -ldl... " >&6; }
11297
 
if ${ac_cv_lib_dl_dlopen+:} false; then :
 
10042
if test "${ac_cv_lib_dl_dlopen+set}" = set; then :
11298
10043
  $as_echo_n "(cached) " >&6
11299
10044
else
11300
10045
  ac_check_lib_save_LIBS=$LIBS
11328
10073
fi
11329
10074
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
11330
10075
$as_echo "$ac_cv_lib_dl_dlopen" >&6; }
11331
 
if test "x$ac_cv_lib_dl_dlopen" = xyes; then :
 
10076
if test "x$ac_cv_lib_dl_dlopen" = x""yes; then :
11332
10077
  lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
11333
10078
else
11334
10079
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -lsvld" >&5
11335
10080
$as_echo_n "checking for dlopen in -lsvld... " >&6; }
11336
 
if ${ac_cv_lib_svld_dlopen+:} false; then :
 
10081
if test "${ac_cv_lib_svld_dlopen+set}" = set; then :
11337
10082
  $as_echo_n "(cached) " >&6
11338
10083
else
11339
10084
  ac_check_lib_save_LIBS=$LIBS
11367
10112
fi
11368
10113
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_svld_dlopen" >&5
11369
10114
$as_echo "$ac_cv_lib_svld_dlopen" >&6; }
11370
 
if test "x$ac_cv_lib_svld_dlopen" = xyes; then :
 
10115
if test "x$ac_cv_lib_svld_dlopen" = x""yes; then :
11371
10116
  lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-lsvld"
11372
10117
else
11373
10118
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dld_link in -ldld" >&5
11374
10119
$as_echo_n "checking for dld_link in -ldld... " >&6; }
11375
 
if ${ac_cv_lib_dld_dld_link+:} false; then :
 
10120
if test "${ac_cv_lib_dld_dld_link+set}" = set; then :
11376
10121
  $as_echo_n "(cached) " >&6
11377
10122
else
11378
10123
  ac_check_lib_save_LIBS=$LIBS
11406
10151
fi
11407
10152
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_dld_link" >&5
11408
10153
$as_echo "$ac_cv_lib_dld_dld_link" >&6; }
11409
 
if test "x$ac_cv_lib_dld_dld_link" = xyes; then :
 
10154
if test "x$ac_cv_lib_dld_dld_link" = x""yes; then :
11410
10155
  lt_cv_dlopen="dld_link" lt_cv_dlopen_libs="-ldld"
11411
10156
fi
11412
10157
 
11447
10192
 
11448
10193
    { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a program can dlopen itself" >&5
11449
10194
$as_echo_n "checking whether a program can dlopen itself... " >&6; }
11450
 
if ${lt_cv_dlopen_self+:} false; then :
 
10195
if test "${lt_cv_dlopen_self+set}" = set; then :
11451
10196
  $as_echo_n "(cached) " >&6
11452
10197
else
11453
10198
          if test "$cross_compiling" = yes; then :
11456
10201
  lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
11457
10202
  lt_status=$lt_dlunknown
11458
10203
  cat > conftest.$ac_ext <<_LT_EOF
11459
 
#line $LINENO "configure"
 
10204
#line 10204 "configure"
11460
10205
#include "confdefs.h"
11461
10206
 
11462
10207
#if HAVE_DLFCN_H
11497
10242
#  endif
11498
10243
#endif
11499
10244
 
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; }
 
10245
void fnord() { int i=42;}
11507
10246
int main ()
11508
10247
{
11509
10248
  void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
11512
10251
  if (self)
11513
10252
    {
11514
10253
      if (dlsym (self,"fnord"))       status = $lt_dlno_uscore;
11515
 
      else
11516
 
        {
11517
 
          if (dlsym( self,"_fnord"))  status = $lt_dlneed_uscore;
11518
 
          else puts (dlerror ());
11519
 
        }
 
10254
      else if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
11520
10255
      /* dlclose (self); */
11521
10256
    }
11522
10257
  else
11553
10288
      wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $lt_prog_compiler_static\"
11554
10289
      { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a statically linked program can dlopen itself" >&5
11555
10290
$as_echo_n "checking whether a statically linked program can dlopen itself... " >&6; }
11556
 
if ${lt_cv_dlopen_self_static+:} false; then :
 
10291
if test "${lt_cv_dlopen_self_static+set}" = set; then :
11557
10292
  $as_echo_n "(cached) " >&6
11558
10293
else
11559
10294
          if test "$cross_compiling" = yes; then :
11562
10297
  lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
11563
10298
  lt_status=$lt_dlunknown
11564
10299
  cat > conftest.$ac_ext <<_LT_EOF
11565
 
#line $LINENO "configure"
 
10300
#line 10300 "configure"
11566
10301
#include "confdefs.h"
11567
10302
 
11568
10303
#if HAVE_DLFCN_H
11603
10338
#  endif
11604
10339
#endif
11605
10340
 
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; }
 
10341
void fnord() { int i=42;}
11613
10342
int main ()
11614
10343
{
11615
10344
  void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
11618
10347
  if (self)
11619
10348
    {
11620
10349
      if (dlsym (self,"fnord"))       status = $lt_dlno_uscore;
11621
 
      else
11622
 
        {
11623
 
          if (dlsym( self,"_fnord"))  status = $lt_dlneed_uscore;
11624
 
          else puts (dlerror ());
11625
 
        }
 
10350
      else if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
11626
10351
      /* dlclose (self); */
11627
10352
    }
11628
10353
  else
11779
10504
 
11780
10505
CC="$lt_save_CC"
11781
10506
 
11782
 
      if test -n "$CXX" && ( test "X$CXX" != "Xno" &&
 
10507
 
 
10508
 
 
10509
 
 
10510
 
 
10511
 
 
10512
 
 
10513
 
 
10514
 
 
10515
 
 
10516
 
 
10517
 
 
10518
 
 
10519
        ac_config_commands="$ac_config_commands libtool"
 
10520
 
 
10521
 
 
10522
 
 
10523
 
 
10524
# Only expand once:
 
10525
 
 
10526
 
 
10527
 
 
10528
# checks for programs.
 
10529
ac_ext=cpp
 
10530
ac_cpp='$CXXCPP $CPPFLAGS'
 
10531
ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
 
10532
ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
 
10533
ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
 
10534
if test -z "$CXX"; then
 
10535
  if test -n "$CCC"; then
 
10536
    CXX=$CCC
 
10537
  else
 
10538
    if test -n "$ac_tool_prefix"; then
 
10539
  for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
 
10540
  do
 
10541
    # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
 
10542
set dummy $ac_tool_prefix$ac_prog; ac_word=$2
 
10543
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 
10544
$as_echo_n "checking for $ac_word... " >&6; }
 
10545
if test "${ac_cv_prog_CXX+set}" = set; then :
 
10546
  $as_echo_n "(cached) " >&6
 
10547
else
 
10548
  if test -n "$CXX"; then
 
10549
  ac_cv_prog_CXX="$CXX" # Let the user override the test.
 
10550
else
 
10551
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
10552
for as_dir in $PATH
 
10553
do
 
10554
  IFS=$as_save_IFS
 
10555
  test -z "$as_dir" && as_dir=.
 
10556
    for ac_exec_ext in '' $ac_executable_extensions; do
 
10557
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 
10558
    ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
 
10559
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
 
10560
    break 2
 
10561
  fi
 
10562
done
 
10563
  done
 
10564
IFS=$as_save_IFS
 
10565
 
 
10566
fi
 
10567
fi
 
10568
CXX=$ac_cv_prog_CXX
 
10569
if test -n "$CXX"; then
 
10570
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXX" >&5
 
10571
$as_echo "$CXX" >&6; }
 
10572
else
 
10573
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
10574
$as_echo "no" >&6; }
 
10575
fi
 
10576
 
 
10577
 
 
10578
    test -n "$CXX" && break
 
10579
  done
 
10580
fi
 
10581
if test -z "$CXX"; then
 
10582
  ac_ct_CXX=$CXX
 
10583
  for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
 
10584
do
 
10585
  # Extract the first word of "$ac_prog", so it can be a program name with args.
 
10586
set dummy $ac_prog; ac_word=$2
 
10587
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 
10588
$as_echo_n "checking for $ac_word... " >&6; }
 
10589
if test "${ac_cv_prog_ac_ct_CXX+set}" = set; then :
 
10590
  $as_echo_n "(cached) " >&6
 
10591
else
 
10592
  if test -n "$ac_ct_CXX"; then
 
10593
  ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
 
10594
else
 
10595
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
10596
for as_dir in $PATH
 
10597
do
 
10598
  IFS=$as_save_IFS
 
10599
  test -z "$as_dir" && as_dir=.
 
10600
    for ac_exec_ext in '' $ac_executable_extensions; do
 
10601
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 
10602
    ac_cv_prog_ac_ct_CXX="$ac_prog"
 
10603
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
 
10604
    break 2
 
10605
  fi
 
10606
done
 
10607
  done
 
10608
IFS=$as_save_IFS
 
10609
 
 
10610
fi
 
10611
fi
 
10612
ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
 
10613
if test -n "$ac_ct_CXX"; then
 
10614
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CXX" >&5
 
10615
$as_echo "$ac_ct_CXX" >&6; }
 
10616
else
 
10617
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
10618
$as_echo "no" >&6; }
 
10619
fi
 
10620
 
 
10621
 
 
10622
  test -n "$ac_ct_CXX" && break
 
10623
done
 
10624
 
 
10625
  if test "x$ac_ct_CXX" = x; then
 
10626
    CXX="g++"
 
10627
  else
 
10628
    case $cross_compiling:$ac_tool_warned in
 
10629
yes:)
 
10630
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
 
10631
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
 
10632
ac_tool_warned=yes ;;
 
10633
esac
 
10634
    CXX=$ac_ct_CXX
 
10635
  fi
 
10636
fi
 
10637
 
 
10638
  fi
 
10639
fi
 
10640
# Provide some information about the compiler.
 
10641
$as_echo "$as_me:${as_lineno-$LINENO}: checking for C++ compiler version" >&5
 
10642
set X $ac_compile
 
10643
ac_compiler=$2
 
10644
for ac_option in --version -v -V -qversion; do
 
10645
  { { ac_try="$ac_compiler $ac_option >&5"
 
10646
case "(($ac_try" in
 
10647
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
10648
  *) ac_try_echo=$ac_try;;
 
10649
esac
 
10650
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
 
10651
$as_echo "$ac_try_echo"; } >&5
 
10652
  (eval "$ac_compiler $ac_option >&5") 2>conftest.err
 
10653
  ac_status=$?
 
10654
  if test -s conftest.err; then
 
10655
    sed '10a\
 
10656
... rest of stderr output deleted ...
 
10657
         10q' conftest.err >conftest.er1
 
10658
    cat conftest.er1 >&5
 
10659
    rm -f conftest.er1 conftest.err
 
10660
  fi
 
10661
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 
10662
  test $ac_status = 0; }
 
10663
done
 
10664
 
 
10665
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C++ compiler" >&5
 
10666
$as_echo_n "checking whether we are using the GNU C++ compiler... " >&6; }
 
10667
if test "${ac_cv_cxx_compiler_gnu+set}" = set; then :
 
10668
  $as_echo_n "(cached) " >&6
 
10669
else
 
10670
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 
10671
/* end confdefs.h.  */
 
10672
 
 
10673
int
 
10674
main ()
 
10675
{
 
10676
#ifndef __GNUC__
 
10677
       choke me
 
10678
#endif
 
10679
 
 
10680
  ;
 
10681
  return 0;
 
10682
}
 
10683
_ACEOF
 
10684
if ac_fn_cxx_try_compile "$LINENO"; then :
 
10685
  ac_compiler_gnu=yes
 
10686
else
 
10687
  ac_compiler_gnu=no
 
10688
fi
 
10689
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 
10690
ac_cv_cxx_compiler_gnu=$ac_compiler_gnu
 
10691
 
 
10692
fi
 
10693
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cxx_compiler_gnu" >&5
 
10694
$as_echo "$ac_cv_cxx_compiler_gnu" >&6; }
 
10695
if test $ac_compiler_gnu = yes; then
 
10696
  GXX=yes
 
10697
else
 
10698
  GXX=
 
10699
fi
 
10700
ac_test_CXXFLAGS=${CXXFLAGS+set}
 
10701
ac_save_CXXFLAGS=$CXXFLAGS
 
10702
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CXX accepts -g" >&5
 
10703
$as_echo_n "checking whether $CXX accepts -g... " >&6; }
 
10704
if test "${ac_cv_prog_cxx_g+set}" = set; then :
 
10705
  $as_echo_n "(cached) " >&6
 
10706
else
 
10707
  ac_save_cxx_werror_flag=$ac_cxx_werror_flag
 
10708
   ac_cxx_werror_flag=yes
 
10709
   ac_cv_prog_cxx_g=no
 
10710
   CXXFLAGS="-g"
 
10711
   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 
10712
/* end confdefs.h.  */
 
10713
 
 
10714
int
 
10715
main ()
 
10716
{
 
10717
 
 
10718
  ;
 
10719
  return 0;
 
10720
}
 
10721
_ACEOF
 
10722
if ac_fn_cxx_try_compile "$LINENO"; then :
 
10723
  ac_cv_prog_cxx_g=yes
 
10724
else
 
10725
  CXXFLAGS=""
 
10726
      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 
10727
/* end confdefs.h.  */
 
10728
 
 
10729
int
 
10730
main ()
 
10731
{
 
10732
 
 
10733
  ;
 
10734
  return 0;
 
10735
}
 
10736
_ACEOF
 
10737
if ac_fn_cxx_try_compile "$LINENO"; then :
 
10738
 
 
10739
else
 
10740
  ac_cxx_werror_flag=$ac_save_cxx_werror_flag
 
10741
         CXXFLAGS="-g"
 
10742
         cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 
10743
/* end confdefs.h.  */
 
10744
 
 
10745
int
 
10746
main ()
 
10747
{
 
10748
 
 
10749
  ;
 
10750
  return 0;
 
10751
}
 
10752
_ACEOF
 
10753
if ac_fn_cxx_try_compile "$LINENO"; then :
 
10754
  ac_cv_prog_cxx_g=yes
 
10755
fi
 
10756
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 
10757
fi
 
10758
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 
10759
fi
 
10760
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 
10761
   ac_cxx_werror_flag=$ac_save_cxx_werror_flag
 
10762
fi
 
10763
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cxx_g" >&5
 
10764
$as_echo "$ac_cv_prog_cxx_g" >&6; }
 
10765
if test "$ac_test_CXXFLAGS" = set; then
 
10766
  CXXFLAGS=$ac_save_CXXFLAGS
 
10767
elif test $ac_cv_prog_cxx_g = yes; then
 
10768
  if test "$GXX" = yes; then
 
10769
    CXXFLAGS="-g -O2"
 
10770
  else
 
10771
    CXXFLAGS="-g"
 
10772
  fi
 
10773
else
 
10774
  if test "$GXX" = yes; then
 
10775
    CXXFLAGS="-O2"
 
10776
  else
 
10777
    CXXFLAGS=
 
10778
  fi
 
10779
fi
 
10780
ac_ext=c
 
10781
ac_cpp='$CPP $CPPFLAGS'
 
10782
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
 
10783
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
 
10784
ac_compiler_gnu=$ac_cv_c_compiler_gnu
 
10785
 
 
10786
depcc="$CXX"  am_compiler_list=
 
10787
 
 
10788
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
 
10789
$as_echo_n "checking dependency style of $depcc... " >&6; }
 
10790
if test "${am_cv_CXX_dependencies_compiler_type+set}" = set; then :
 
10791
  $as_echo_n "(cached) " >&6
 
10792
else
 
10793
  if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
 
10794
  # We make a subdir and do the tests there.  Otherwise we can end up
 
10795
  # making bogus files that we don't know about and never remove.  For
 
10796
  # instance it was reported that on HP-UX the gcc test will end up
 
10797
  # making a dummy file named `D' -- because `-MD' means `put the output
 
10798
  # in D'.
 
10799
  mkdir conftest.dir
 
10800
  # Copy depcomp to subdir because otherwise we won't find it if we're
 
10801
  # using a relative directory.
 
10802
  cp "$am_depcomp" conftest.dir
 
10803
  cd conftest.dir
 
10804
  # We will build objects and dependencies in a subdirectory because
 
10805
  # it helps to detect inapplicable dependency modes.  For instance
 
10806
  # both Tru64's cc and ICC support -MD to output dependencies as a
 
10807
  # side effect of compilation, but ICC will put the dependencies in
 
10808
  # the current directory while Tru64 will put them in the object
 
10809
  # directory.
 
10810
  mkdir sub
 
10811
 
 
10812
  am_cv_CXX_dependencies_compiler_type=none
 
10813
  if test "$am_compiler_list" = ""; then
 
10814
     am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
 
10815
  fi
 
10816
  am__universal=false
 
10817
  case " $depcc " in #(
 
10818
     *\ -arch\ *\ -arch\ *) am__universal=true ;;
 
10819
     esac
 
10820
 
 
10821
  for depmode in $am_compiler_list; do
 
10822
    # Setup a source with many dependencies, because some compilers
 
10823
    # like to wrap large dependency lists on column 80 (with \), and
 
10824
    # we should not choose a depcomp mode which is confused by this.
 
10825
    #
 
10826
    # We need to recreate these files for each test, as the compiler may
 
10827
    # overwrite some of them when testing with obscure command lines.
 
10828
    # This happens at least with the AIX C compiler.
 
10829
    : > sub/conftest.c
 
10830
    for i in 1 2 3 4 5 6; do
 
10831
      echo '#include "conftst'$i'.h"' >> sub/conftest.c
 
10832
      # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
 
10833
      # Solaris 8's {/usr,}/bin/sh.
 
10834
      touch sub/conftst$i.h
 
10835
    done
 
10836
    echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
 
10837
 
 
10838
    # We check with `-c' and `-o' for the sake of the "dashmstdout"
 
10839
    # mode.  It turns out that the SunPro C++ compiler does not properly
 
10840
    # handle `-M -o', and we need to detect this.  Also, some Intel
 
10841
    # versions had trouble with output in subdirs
 
10842
    am__obj=sub/conftest.${OBJEXT-o}
 
10843
    am__minus_obj="-o $am__obj"
 
10844
    case $depmode in
 
10845
    gcc)
 
10846
      # This depmode causes a compiler race in universal mode.
 
10847
      test "$am__universal" = false || continue
 
10848
      ;;
 
10849
    nosideeffect)
 
10850
      # after this tag, mechanisms are not by side-effect, so they'll
 
10851
      # only be used when explicitly requested
 
10852
      if test "x$enable_dependency_tracking" = xyes; then
 
10853
        continue
 
10854
      else
 
10855
        break
 
10856
      fi
 
10857
      ;;
 
10858
    msvisualcpp | msvcmsys)
 
10859
      # This compiler won't grok `-c -o', but also, the minuso test has
 
10860
      # not run yet.  These depmodes are late enough in the game, and
 
10861
      # so weak that their functioning should not be impacted.
 
10862
      am__obj=conftest.${OBJEXT-o}
 
10863
      am__minus_obj=
 
10864
      ;;
 
10865
    none) break ;;
 
10866
    esac
 
10867
    if depmode=$depmode \
 
10868
       source=sub/conftest.c object=$am__obj \
 
10869
       depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
 
10870
       $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
 
10871
         >/dev/null 2>conftest.err &&
 
10872
       grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
 
10873
       grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
 
10874
       grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
 
10875
       ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
 
10876
      # icc doesn't choke on unknown options, it will just issue warnings
 
10877
      # or remarks (even with -Werror).  So we grep stderr for any message
 
10878
      # that says an option was ignored or not supported.
 
10879
      # When given -MP, icc 7.0 and 7.1 complain thusly:
 
10880
      #   icc: Command line warning: ignoring option '-M'; no argument required
 
10881
      # The diagnosis changed in icc 8.0:
 
10882
      #   icc: Command line remark: option '-MP' not supported
 
10883
      if (grep 'ignoring option' conftest.err ||
 
10884
          grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
 
10885
        am_cv_CXX_dependencies_compiler_type=$depmode
 
10886
        break
 
10887
      fi
 
10888
    fi
 
10889
  done
 
10890
 
 
10891
  cd ..
 
10892
  rm -rf conftest.dir
 
10893
else
 
10894
  am_cv_CXX_dependencies_compiler_type=none
 
10895
fi
 
10896
 
 
10897
fi
 
10898
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CXX_dependencies_compiler_type" >&5
 
10899
$as_echo "$am_cv_CXX_dependencies_compiler_type" >&6; }
 
10900
CXXDEPMODE=depmode=$am_cv_CXX_dependencies_compiler_type
 
10901
 
 
10902
 if
 
10903
  test "x$enable_dependency_tracking" != xno \
 
10904
  && test "$am_cv_CXX_dependencies_compiler_type" = gcc3; then
 
10905
  am__fastdepCXX_TRUE=
 
10906
  am__fastdepCXX_FALSE='#'
 
10907
else
 
10908
  am__fastdepCXX_TRUE='#'
 
10909
  am__fastdepCXX_FALSE=
 
10910
fi
 
10911
 
 
10912
 
 
10913
 
 
10914
ac_ext=cpp
 
10915
ac_cpp='$CXXCPP $CPPFLAGS'
 
10916
ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
 
10917
ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
 
10918
ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
 
10919
if test -z "$CXX"; then
 
10920
  if test -n "$CCC"; then
 
10921
    CXX=$CCC
 
10922
  else
 
10923
    if test -n "$ac_tool_prefix"; then
 
10924
  for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
 
10925
  do
 
10926
    # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
 
10927
set dummy $ac_tool_prefix$ac_prog; ac_word=$2
 
10928
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 
10929
$as_echo_n "checking for $ac_word... " >&6; }
 
10930
if test "${ac_cv_prog_CXX+set}" = set; then :
 
10931
  $as_echo_n "(cached) " >&6
 
10932
else
 
10933
  if test -n "$CXX"; then
 
10934
  ac_cv_prog_CXX="$CXX" # Let the user override the test.
 
10935
else
 
10936
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
10937
for as_dir in $PATH
 
10938
do
 
10939
  IFS=$as_save_IFS
 
10940
  test -z "$as_dir" && as_dir=.
 
10941
    for ac_exec_ext in '' $ac_executable_extensions; do
 
10942
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 
10943
    ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
 
10944
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
 
10945
    break 2
 
10946
  fi
 
10947
done
 
10948
  done
 
10949
IFS=$as_save_IFS
 
10950
 
 
10951
fi
 
10952
fi
 
10953
CXX=$ac_cv_prog_CXX
 
10954
if test -n "$CXX"; then
 
10955
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXX" >&5
 
10956
$as_echo "$CXX" >&6; }
 
10957
else
 
10958
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
10959
$as_echo "no" >&6; }
 
10960
fi
 
10961
 
 
10962
 
 
10963
    test -n "$CXX" && break
 
10964
  done
 
10965
fi
 
10966
if test -z "$CXX"; then
 
10967
  ac_ct_CXX=$CXX
 
10968
  for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
 
10969
do
 
10970
  # Extract the first word of "$ac_prog", so it can be a program name with args.
 
10971
set dummy $ac_prog; ac_word=$2
 
10972
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 
10973
$as_echo_n "checking for $ac_word... " >&6; }
 
10974
if test "${ac_cv_prog_ac_ct_CXX+set}" = set; then :
 
10975
  $as_echo_n "(cached) " >&6
 
10976
else
 
10977
  if test -n "$ac_ct_CXX"; then
 
10978
  ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
 
10979
else
 
10980
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
10981
for as_dir in $PATH
 
10982
do
 
10983
  IFS=$as_save_IFS
 
10984
  test -z "$as_dir" && as_dir=.
 
10985
    for ac_exec_ext in '' $ac_executable_extensions; do
 
10986
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 
10987
    ac_cv_prog_ac_ct_CXX="$ac_prog"
 
10988
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
 
10989
    break 2
 
10990
  fi
 
10991
done
 
10992
  done
 
10993
IFS=$as_save_IFS
 
10994
 
 
10995
fi
 
10996
fi
 
10997
ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
 
10998
if test -n "$ac_ct_CXX"; then
 
10999
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CXX" >&5
 
11000
$as_echo "$ac_ct_CXX" >&6; }
 
11001
else
 
11002
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
11003
$as_echo "no" >&6; }
 
11004
fi
 
11005
 
 
11006
 
 
11007
  test -n "$ac_ct_CXX" && break
 
11008
done
 
11009
 
 
11010
  if test "x$ac_ct_CXX" = x; then
 
11011
    CXX="g++"
 
11012
  else
 
11013
    case $cross_compiling:$ac_tool_warned in
 
11014
yes:)
 
11015
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
 
11016
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
 
11017
ac_tool_warned=yes ;;
 
11018
esac
 
11019
    CXX=$ac_ct_CXX
 
11020
  fi
 
11021
fi
 
11022
 
 
11023
  fi
 
11024
fi
 
11025
# Provide some information about the compiler.
 
11026
$as_echo "$as_me:${as_lineno-$LINENO}: checking for C++ compiler version" >&5
 
11027
set X $ac_compile
 
11028
ac_compiler=$2
 
11029
for ac_option in --version -v -V -qversion; do
 
11030
  { { ac_try="$ac_compiler $ac_option >&5"
 
11031
case "(($ac_try" in
 
11032
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
11033
  *) ac_try_echo=$ac_try;;
 
11034
esac
 
11035
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
 
11036
$as_echo "$ac_try_echo"; } >&5
 
11037
  (eval "$ac_compiler $ac_option >&5") 2>conftest.err
 
11038
  ac_status=$?
 
11039
  if test -s conftest.err; then
 
11040
    sed '10a\
 
11041
... rest of stderr output deleted ...
 
11042
         10q' conftest.err >conftest.er1
 
11043
    cat conftest.er1 >&5
 
11044
    rm -f conftest.er1 conftest.err
 
11045
  fi
 
11046
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 
11047
  test $ac_status = 0; }
 
11048
done
 
11049
 
 
11050
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C++ compiler" >&5
 
11051
$as_echo_n "checking whether we are using the GNU C++ compiler... " >&6; }
 
11052
if test "${ac_cv_cxx_compiler_gnu+set}" = set; then :
 
11053
  $as_echo_n "(cached) " >&6
 
11054
else
 
11055
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 
11056
/* end confdefs.h.  */
 
11057
 
 
11058
int
 
11059
main ()
 
11060
{
 
11061
#ifndef __GNUC__
 
11062
       choke me
 
11063
#endif
 
11064
 
 
11065
  ;
 
11066
  return 0;
 
11067
}
 
11068
_ACEOF
 
11069
if ac_fn_cxx_try_compile "$LINENO"; then :
 
11070
  ac_compiler_gnu=yes
 
11071
else
 
11072
  ac_compiler_gnu=no
 
11073
fi
 
11074
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 
11075
ac_cv_cxx_compiler_gnu=$ac_compiler_gnu
 
11076
 
 
11077
fi
 
11078
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cxx_compiler_gnu" >&5
 
11079
$as_echo "$ac_cv_cxx_compiler_gnu" >&6; }
 
11080
if test $ac_compiler_gnu = yes; then
 
11081
  GXX=yes
 
11082
else
 
11083
  GXX=
 
11084
fi
 
11085
ac_test_CXXFLAGS=${CXXFLAGS+set}
 
11086
ac_save_CXXFLAGS=$CXXFLAGS
 
11087
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CXX accepts -g" >&5
 
11088
$as_echo_n "checking whether $CXX accepts -g... " >&6; }
 
11089
if test "${ac_cv_prog_cxx_g+set}" = set; then :
 
11090
  $as_echo_n "(cached) " >&6
 
11091
else
 
11092
  ac_save_cxx_werror_flag=$ac_cxx_werror_flag
 
11093
   ac_cxx_werror_flag=yes
 
11094
   ac_cv_prog_cxx_g=no
 
11095
   CXXFLAGS="-g"
 
11096
   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 
11097
/* end confdefs.h.  */
 
11098
 
 
11099
int
 
11100
main ()
 
11101
{
 
11102
 
 
11103
  ;
 
11104
  return 0;
 
11105
}
 
11106
_ACEOF
 
11107
if ac_fn_cxx_try_compile "$LINENO"; then :
 
11108
  ac_cv_prog_cxx_g=yes
 
11109
else
 
11110
  CXXFLAGS=""
 
11111
      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 
11112
/* end confdefs.h.  */
 
11113
 
 
11114
int
 
11115
main ()
 
11116
{
 
11117
 
 
11118
  ;
 
11119
  return 0;
 
11120
}
 
11121
_ACEOF
 
11122
if ac_fn_cxx_try_compile "$LINENO"; then :
 
11123
 
 
11124
else
 
11125
  ac_cxx_werror_flag=$ac_save_cxx_werror_flag
 
11126
         CXXFLAGS="-g"
 
11127
         cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 
11128
/* end confdefs.h.  */
 
11129
 
 
11130
int
 
11131
main ()
 
11132
{
 
11133
 
 
11134
  ;
 
11135
  return 0;
 
11136
}
 
11137
_ACEOF
 
11138
if ac_fn_cxx_try_compile "$LINENO"; then :
 
11139
  ac_cv_prog_cxx_g=yes
 
11140
fi
 
11141
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 
11142
fi
 
11143
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 
11144
fi
 
11145
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 
11146
   ac_cxx_werror_flag=$ac_save_cxx_werror_flag
 
11147
fi
 
11148
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cxx_g" >&5
 
11149
$as_echo "$ac_cv_prog_cxx_g" >&6; }
 
11150
if test "$ac_test_CXXFLAGS" = set; then
 
11151
  CXXFLAGS=$ac_save_CXXFLAGS
 
11152
elif test $ac_cv_prog_cxx_g = yes; then
 
11153
  if test "$GXX" = yes; then
 
11154
    CXXFLAGS="-g -O2"
 
11155
  else
 
11156
    CXXFLAGS="-g"
 
11157
  fi
 
11158
else
 
11159
  if test "$GXX" = yes; then
 
11160
    CXXFLAGS="-O2"
 
11161
  else
 
11162
    CXXFLAGS=
 
11163
  fi
 
11164
fi
 
11165
ac_ext=c
 
11166
ac_cpp='$CPP $CPPFLAGS'
 
11167
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
 
11168
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
 
11169
ac_compiler_gnu=$ac_cv_c_compiler_gnu
 
11170
 
 
11171
depcc="$CXX"  am_compiler_list=
 
11172
 
 
11173
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
 
11174
$as_echo_n "checking dependency style of $depcc... " >&6; }
 
11175
if test "${am_cv_CXX_dependencies_compiler_type+set}" = set; then :
 
11176
  $as_echo_n "(cached) " >&6
 
11177
else
 
11178
  if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
 
11179
  # We make a subdir and do the tests there.  Otherwise we can end up
 
11180
  # making bogus files that we don't know about and never remove.  For
 
11181
  # instance it was reported that on HP-UX the gcc test will end up
 
11182
  # making a dummy file named `D' -- because `-MD' means `put the output
 
11183
  # in D'.
 
11184
  mkdir conftest.dir
 
11185
  # Copy depcomp to subdir because otherwise we won't find it if we're
 
11186
  # using a relative directory.
 
11187
  cp "$am_depcomp" conftest.dir
 
11188
  cd conftest.dir
 
11189
  # We will build objects and dependencies in a subdirectory because
 
11190
  # it helps to detect inapplicable dependency modes.  For instance
 
11191
  # both Tru64's cc and ICC support -MD to output dependencies as a
 
11192
  # side effect of compilation, but ICC will put the dependencies in
 
11193
  # the current directory while Tru64 will put them in the object
 
11194
  # directory.
 
11195
  mkdir sub
 
11196
 
 
11197
  am_cv_CXX_dependencies_compiler_type=none
 
11198
  if test "$am_compiler_list" = ""; then
 
11199
     am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
 
11200
  fi
 
11201
  am__universal=false
 
11202
  case " $depcc " in #(
 
11203
     *\ -arch\ *\ -arch\ *) am__universal=true ;;
 
11204
     esac
 
11205
 
 
11206
  for depmode in $am_compiler_list; do
 
11207
    # Setup a source with many dependencies, because some compilers
 
11208
    # like to wrap large dependency lists on column 80 (with \), and
 
11209
    # we should not choose a depcomp mode which is confused by this.
 
11210
    #
 
11211
    # We need to recreate these files for each test, as the compiler may
 
11212
    # overwrite some of them when testing with obscure command lines.
 
11213
    # This happens at least with the AIX C compiler.
 
11214
    : > sub/conftest.c
 
11215
    for i in 1 2 3 4 5 6; do
 
11216
      echo '#include "conftst'$i'.h"' >> sub/conftest.c
 
11217
      # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
 
11218
      # Solaris 8's {/usr,}/bin/sh.
 
11219
      touch sub/conftst$i.h
 
11220
    done
 
11221
    echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
 
11222
 
 
11223
    # We check with `-c' and `-o' for the sake of the "dashmstdout"
 
11224
    # mode.  It turns out that the SunPro C++ compiler does not properly
 
11225
    # handle `-M -o', and we need to detect this.  Also, some Intel
 
11226
    # versions had trouble with output in subdirs
 
11227
    am__obj=sub/conftest.${OBJEXT-o}
 
11228
    am__minus_obj="-o $am__obj"
 
11229
    case $depmode in
 
11230
    gcc)
 
11231
      # This depmode causes a compiler race in universal mode.
 
11232
      test "$am__universal" = false || continue
 
11233
      ;;
 
11234
    nosideeffect)
 
11235
      # after this tag, mechanisms are not by side-effect, so they'll
 
11236
      # only be used when explicitly requested
 
11237
      if test "x$enable_dependency_tracking" = xyes; then
 
11238
        continue
 
11239
      else
 
11240
        break
 
11241
      fi
 
11242
      ;;
 
11243
    msvisualcpp | msvcmsys)
 
11244
      # This compiler won't grok `-c -o', but also, the minuso test has
 
11245
      # not run yet.  These depmodes are late enough in the game, and
 
11246
      # so weak that their functioning should not be impacted.
 
11247
      am__obj=conftest.${OBJEXT-o}
 
11248
      am__minus_obj=
 
11249
      ;;
 
11250
    none) break ;;
 
11251
    esac
 
11252
    if depmode=$depmode \
 
11253
       source=sub/conftest.c object=$am__obj \
 
11254
       depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
 
11255
       $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
 
11256
         >/dev/null 2>conftest.err &&
 
11257
       grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
 
11258
       grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
 
11259
       grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
 
11260
       ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
 
11261
      # icc doesn't choke on unknown options, it will just issue warnings
 
11262
      # or remarks (even with -Werror).  So we grep stderr for any message
 
11263
      # that says an option was ignored or not supported.
 
11264
      # When given -MP, icc 7.0 and 7.1 complain thusly:
 
11265
      #   icc: Command line warning: ignoring option '-M'; no argument required
 
11266
      # The diagnosis changed in icc 8.0:
 
11267
      #   icc: Command line remark: option '-MP' not supported
 
11268
      if (grep 'ignoring option' conftest.err ||
 
11269
          grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
 
11270
        am_cv_CXX_dependencies_compiler_type=$depmode
 
11271
        break
 
11272
      fi
 
11273
    fi
 
11274
  done
 
11275
 
 
11276
  cd ..
 
11277
  rm -rf conftest.dir
 
11278
else
 
11279
  am_cv_CXX_dependencies_compiler_type=none
 
11280
fi
 
11281
 
 
11282
fi
 
11283
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CXX_dependencies_compiler_type" >&5
 
11284
$as_echo "$am_cv_CXX_dependencies_compiler_type" >&6; }
 
11285
CXXDEPMODE=depmode=$am_cv_CXX_dependencies_compiler_type
 
11286
 
 
11287
 if
 
11288
  test "x$enable_dependency_tracking" != xno \
 
11289
  && test "$am_cv_CXX_dependencies_compiler_type" = gcc3; then
 
11290
  am__fastdepCXX_TRUE=
 
11291
  am__fastdepCXX_FALSE='#'
 
11292
else
 
11293
  am__fastdepCXX_TRUE='#'
 
11294
  am__fastdepCXX_FALSE=
 
11295
fi
 
11296
 
 
11297
 
 
11298
if test -n "$CXX" && ( test "X$CXX" != "Xno" &&
11783
11299
    ( (test "X$CXX" = "Xg++" && `g++ -v >/dev/null 2>&1` ) ||
11784
11300
    (test "X$CXX" != "Xg++"))) ; then
11785
11301
  ac_ext=cpp
11790
11306
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C++ preprocessor" >&5
11791
11307
$as_echo_n "checking how to run the C++ preprocessor... " >&6; }
11792
11308
if test -z "$CXXCPP"; then
11793
 
  if ${ac_cv_prog_CXXCPP+:} false; then :
 
11309
  if test "${ac_cv_prog_CXXCPP+set}" = set; then :
11794
11310
  $as_echo_n "(cached) " >&6
11795
11311
else
11796
11312
      # Double quotes because CXXCPP needs to be expanded
11820
11336
  # Broken: fails on valid input.
11821
11337
continue
11822
11338
fi
11823
 
rm -f conftest.err conftest.i conftest.$ac_ext
 
11339
rm -f conftest.err conftest.$ac_ext
11824
11340
 
11825
11341
  # OK, works on sane cases.  Now check whether nonexistent headers
11826
11342
  # can be detected and how.
11836
11352
ac_preproc_ok=:
11837
11353
break
11838
11354
fi
11839
 
rm -f conftest.err conftest.i conftest.$ac_ext
 
11355
rm -f conftest.err conftest.$ac_ext
11840
11356
 
11841
11357
done
11842
11358
# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
11843
 
rm -f conftest.i conftest.err conftest.$ac_ext
 
11359
rm -f conftest.err conftest.$ac_ext
11844
11360
if $ac_preproc_ok; then :
11845
11361
  break
11846
11362
fi
11879
11395
  # Broken: fails on valid input.
11880
11396
continue
11881
11397
fi
11882
 
rm -f conftest.err conftest.i conftest.$ac_ext
 
11398
rm -f conftest.err conftest.$ac_ext
11883
11399
 
11884
11400
  # OK, works on sane cases.  Now check whether nonexistent headers
11885
11401
  # can be detected and how.
11895
11411
ac_preproc_ok=:
11896
11412
break
11897
11413
fi
11898
 
rm -f conftest.err conftest.i conftest.$ac_ext
 
11414
rm -f conftest.err conftest.$ac_ext
11899
11415
 
11900
11416
done
11901
11417
# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
11902
 
rm -f conftest.i conftest.err conftest.$ac_ext
 
11418
rm -f conftest.err conftest.$ac_ext
11903
11419
if $ac_preproc_ok; then :
11904
11420
 
11905
11421
else
11906
11422
  { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
11907
11423
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
11908
 
as_fn_error $? "C++ preprocessor \"$CXXCPP\" fails sanity check
11909
 
See \`config.log' for more details" "$LINENO" 5; }
 
11424
_lt_caught_CXX_error=yes; }
11910
11425
fi
11911
11426
 
11912
11427
ac_ext=c
11919
11434
  _lt_caught_CXX_error=yes
11920
11435
fi
11921
11436
 
 
11437
 
 
11438
 
 
11439
 
11922
11440
ac_ext=cpp
11923
11441
ac_cpp='$CXXCPP $CPPFLAGS'
11924
11442
ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11934
11452
hardcode_direct_CXX=no
11935
11453
hardcode_direct_absolute_CXX=no
11936
11454
hardcode_libdir_flag_spec_CXX=
 
11455
hardcode_libdir_flag_spec_ld_CXX=
11937
11456
hardcode_libdir_separator_CXX=
11938
11457
hardcode_minus_L_CXX=no
11939
11458
hardcode_shlibpath_var_CXX=unsupported
11943
11462
module_expsym_cmds_CXX=
11944
11463
link_all_deplibs_CXX=unknown
11945
11464
old_archive_cmds_CXX=$old_archive_cmds
11946
 
reload_flag_CXX=$reload_flag
11947
 
reload_cmds_CXX=$reload_cmds
11948
11465
no_undefined_flag_CXX=
11949
11466
whole_archive_flag_spec_CXX=
11950
11467
enable_shared_with_static_runtimes_CXX=no
12000
11517
 
12001
11518
  # Allow CC to be a program name with arguments.
12002
11519
  lt_save_CC=$CC
12003
 
  lt_save_CFLAGS=$CFLAGS
12004
11520
  lt_save_LD=$LD
12005
11521
  lt_save_GCC=$GCC
12006
11522
  GCC=$GXX
12018
11534
  fi
12019
11535
  test -z "${LDCXX+set}" || LD=$LDCXX
12020
11536
  CC=${CXX-"c++"}
12021
 
  CFLAGS=$CXXFLAGS
12022
11537
  compiler=$CC
12023
11538
  compiler_CXX=$CC
12024
11539
  for cc_temp in $compiler""; do
12029
11544
    *) break;;
12030
11545
  esac
12031
11546
done
12032
 
cc_basename=`$ECHO "$cc_temp" | $SED "s%.*/%%; s%^$host_alias-%%"`
 
11547
cc_basename=`$ECHO "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
12033
11548
 
12034
11549
 
12035
11550
  if test -n "$compiler"; then
12092
11607
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
12093
11608
$as_echo_n "checking for non-GNU ld... " >&6; }
12094
11609
fi
12095
 
if ${lt_cv_path_LD+:} false; then :
 
11610
if test "${lt_cv_path_LD+set}" = set; then :
12096
11611
  $as_echo_n "(cached) " >&6
12097
11612
else
12098
11613
  if test -z "$LD"; then
12129
11644
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12130
11645
$as_echo "no" >&6; }
12131
11646
fi
12132
 
test -z "$LD" && as_fn_error $? "no acceptable ld found in \$PATH" "$LINENO" 5
 
11647
test -z "$LD" && as_fn_error "no acceptable ld found in \$PATH" "$LINENO" 5
12133
11648
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
12134
11649
$as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
12135
 
if ${lt_cv_prog_gnu_ld+:} false; then :
 
11650
if test "${lt_cv_prog_gnu_ld+set}" = set; then :
12136
11651
  $as_echo_n "(cached) " >&6
12137
11652
else
12138
11653
  # I'd rather use --version here, but apparently some GNU lds only accept -v.
12158
11673
      # Check if GNU C++ uses GNU ld as the underlying linker, since the
12159
11674
      # archiving commands below assume that GNU ld is being used.
12160
11675
      if test "$with_gnu_ld" = yes; then
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'
 
11676
        archive_cmds_CXX='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
 
11677
        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'
12163
11678
 
12164
11679
        hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
12165
11680
        export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
12191
11706
      # Commands to make compiler produce verbose output that lists
12192
11707
      # what "hidden" libraries, object files and flags are used when
12193
11708
      # linking a shared library.
12194
 
      output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP -v "^Configured with:" | $GREP "\-L"'
 
11709
      output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP "\-L"'
12195
11710
 
12196
11711
    else
12197
11712
      GXX=no
12301
11816
          allow_undefined_flag_CXX='-berok'
12302
11817
          # Determine the default libpath from the value encoded in an empty
12303
11818
          # executable.
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
 
11819
          cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12311
11820
/* end confdefs.h.  */
12312
11821
 
12313
11822
int
12320
11829
_ACEOF
12321
11830
if ac_fn_cxx_try_link "$LINENO"; then :
12322
11831
 
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
 
11832
lt_aix_libpath_sed='
 
11833
    /Import File Strings/,/^$/ {
 
11834
        /^0/ {
 
11835
            s/^0  *\(.*\)$/\1/
 
11836
            p
 
11837
        }
 
11838
    }'
 
11839
aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
 
11840
# Check for a 64-bit object if we didn't find anything.
 
11841
if test -z "$aix_libpath"; then
 
11842
  aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
 
11843
fi
12335
11844
fi
12336
11845
rm -f core conftest.err conftest.$ac_objext \
12337
11846
    conftest$ac_exeext conftest.$ac_ext
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
 
11847
if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
12346
11848
 
12347
11849
          hardcode_libdir_flag_spec_CXX='${wl}-blibpath:$libdir:'"$aix_libpath"
12348
11850
 
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"
 
11851
          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"
12350
11852
        else
12351
11853
          if test "$host_cpu" = ia64; then
12352
11854
            hardcode_libdir_flag_spec_CXX='${wl}-R $libdir:/usr/lib:/lib'
12355
11857
          else
12356
11858
            # Determine the default libpath from the value encoded in an
12357
11859
            # empty executable.
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
 
11860
            cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12365
11861
/* end confdefs.h.  */
12366
11862
 
12367
11863
int
12374
11870
_ACEOF
12375
11871
if ac_fn_cxx_try_link "$LINENO"; then :
12376
11872
 
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
 
11873
lt_aix_libpath_sed='
 
11874
    /Import File Strings/,/^$/ {
 
11875
        /^0/ {
 
11876
            s/^0  *\(.*\)$/\1/
 
11877
            p
 
11878
        }
 
11879
    }'
 
11880
aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
 
11881
# Check for a 64-bit object if we didn't find anything.
 
11882
if test -z "$aix_libpath"; then
 
11883
  aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
 
11884
fi
12389
11885
fi
12390
11886
rm -f core conftest.err conftest.$ac_objext \
12391
11887
    conftest$ac_exeext conftest.$ac_ext
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
 
11888
if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
12400
11889
 
12401
11890
            hardcode_libdir_flag_spec_CXX='${wl}-blibpath:$libdir:'"$aix_libpath"
12402
11891
            # Warning - without using the other run time loading flags,
12403
11892
            # -berok will link without error, but may produce a broken library.
12404
11893
            no_undefined_flag_CXX=' ${wl}-bernotok'
12405
11894
            allow_undefined_flag_CXX=' ${wl}-berok'
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
 
11895
            # Exported symbols can be pulled into shared objects from archives
 
11896
            whole_archive_flag_spec_CXX='$convenience'
12413
11897
            archive_cmds_need_lc_CXX=yes
12414
11898
            # This is similar to how AIX traditionally builds its shared
12415
11899
            # libraries.
12439
11923
        ;;
12440
11924
 
12441
11925
      cygwin* | mingw* | pw32* | cegcc*)
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
 
11926
        # _LT_TAGVAR(hardcode_libdir_flag_spec, CXX) is actually meaningless,
 
11927
        # as there is no search path for DLLs.
 
11928
        hardcode_libdir_flag_spec_CXX='-L$libdir'
 
11929
        allow_undefined_flag_CXX=unsupported
 
11930
        always_export_symbols_CXX=no
 
11931
        enable_shared_with_static_runtimes_CXX=yes
12493
11932
 
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
 
        ;;
 
11933
        if $LD --help 2>&1 | $GREP 'auto-import' > /dev/null; then
 
11934
          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'
 
11935
          # If the export-symbols file already is a .def file (1st line
 
11936
          # is EXPORTS), use it as is; otherwise, prepend...
 
11937
          archive_expsym_cmds_CXX='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
 
11938
            cp $export_symbols $output_objdir/$soname.def;
 
11939
          else
 
11940
            echo EXPORTS > $output_objdir/$soname.def;
 
11941
            cat $export_symbols >> $output_objdir/$soname.def;
 
11942
          fi~
 
11943
          $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'
 
11944
        else
 
11945
          ld_shlibs_CXX=no
 
11946
        fi
 
11947
        ;;
12511
11948
      darwin* | rhapsody*)
12512
11949
 
12513
11950
 
12515
11952
  hardcode_direct_CXX=no
12516
11953
  hardcode_automatic_CXX=yes
12517
11954
  hardcode_shlibpath_var_CXX=unsupported
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
 
11955
  whole_archive_flag_spec_CXX=''
12524
11956
  link_all_deplibs_CXX=yes
12525
11957
  allow_undefined_flag_CXX="$_lt_dar_allow_undefined"
12526
11958
  case $cc_basename in
12528
11960
     *) _lt_dar_can_shared=$GCC ;;
12529
11961
  esac
12530
11962
  if test "$_lt_dar_can_shared" = "yes"; then
12531
 
    output_verbose_link_cmd=func_echo_all
 
11963
    output_verbose_link_cmd=echo
12532
11964
    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}"
12533
11965
    module_cmds_CXX="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}"
12534
11966
    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}"
12562
11994
        esac
12563
11995
        ;;
12564
11996
 
12565
 
      freebsd2.*)
 
11997
      freebsd[12]*)
12566
11998
        # C++ shared libraries reported to be fairly broken before
12567
11999
        # switch to ELF
12568
12000
        ld_shlibs_CXX=no
12581
12013
      gnu*)
12582
12014
        ;;
12583
12015
 
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
 
 
12589
12016
      hpux9*)
12590
12017
        hardcode_libdir_flag_spec_CXX='${wl}+b ${wl}$libdir'
12591
12018
        hardcode_libdir_separator_CXX=:
12610
12037
            # explicitly linking system object files so we need to strip them
12611
12038
            # from the output so that they don't get included in the library
12612
12039
            # dependencies.
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"'
 
12040
            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'
12614
12041
            ;;
12615
12042
          *)
12616
12043
            if test "$GXX" = yes; then
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'
 
12044
              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'
12618
12045
            else
12619
12046
              # FIXME: insert proper C++ library support
12620
12047
              ld_shlibs_CXX=no
12675
12102
            # explicitly linking system object files so we need to strip them
12676
12103
            # from the output so that they don't get included in the library
12677
12104
            # dependencies.
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"'
 
12105
            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'
12679
12106
            ;;
12680
12107
          *)
12681
12108
            if test "$GXX" = yes; then
12685
12112
                    archive_cmds_CXX='$CC -shared -nostdlib -fPIC ${wl}+h ${wl}$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
12686
12113
                    ;;
12687
12114
                  ia64*)
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'
 
12115
                    archive_cmds_CXX='$CC -shared -nostdlib -fPIC ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
12689
12116
                    ;;
12690
12117
                  *)
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'
 
12118
                    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'
12692
12119
                    ;;
12693
12120
                esac
12694
12121
              fi
12718
12145
        case $cc_basename in
12719
12146
          CC*)
12720
12147
            # SGI C++
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'
 
12148
            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'
12722
12149
 
12723
12150
            # Archives containing C++ object files must be created using
12724
12151
            # "CC -ar", where "CC" is the IRIX C++ compiler.  This is
12729
12156
          *)
12730
12157
            if test "$GXX" = yes; then
12731
12158
              if test "$with_gnu_ld" = no; then
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'
 
12159
                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'
12733
12160
              else
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'
 
12161
                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'
12735
12162
              fi
12736
12163
            fi
12737
12164
            link_all_deplibs_CXX=yes
12742
12169
        inherit_rpath_CXX=yes
12743
12170
        ;;
12744
12171
 
12745
 
      linux* | k*bsd*-gnu | kopensolaris*-gnu)
 
12172
      linux* | k*bsd*-gnu)
12746
12173
        case $cc_basename in
12747
12174
          KCC*)
12748
12175
            # Kuck and Associates, Inc. (KAI) C++ Compiler
12760
12187
            # explicitly linking system object files so we need to strip them
12761
12188
            # from the output so that they don't get included in the library
12762
12189
            # dependencies.
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"'
 
12190
            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'
12764
12191
 
12765
12192
            hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
12766
12193
            export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
12797
12224
          pgCC* | pgcpp*)
12798
12225
            # Portland Group C++ compiler
12799
12226
            case `$CC -V` in
12800
 
            *pgCC\ [1-5].* | *pgcpp\ [1-5].*)
 
12227
            *pgCC\ [1-5]* | *pgcpp\ [1-5]*)
12801
12228
              prelink_cmds_CXX='tpldir=Template.dir~
12802
12229
                rm -rf $tpldir~
12803
12230
                $CC --prelink_objects --instantiation_dir $tpldir $objs $libobjs $compile_deplibs~
12804
 
                compile_command="$compile_command `find $tpldir -name \*.o | sort | $NL2SP`"'
 
12231
                compile_command="$compile_command `find $tpldir -name \*.o | $NL2SP`"'
12805
12232
              old_archive_cmds_CXX='tpldir=Template.dir~
12806
12233
                rm -rf $tpldir~
12807
12234
                $CC --prelink_objects --instantiation_dir $tpldir $oldobjs$old_deplibs~
12808
 
                $AR $AR_FLAGS $oldlib$oldobjs$old_deplibs `find $tpldir -name \*.o | sort | $NL2SP`~
 
12235
                $AR $AR_FLAGS $oldlib$oldobjs$old_deplibs `find $tpldir -name \*.o | $NL2SP`~
12809
12236
                $RANLIB $oldlib'
12810
12237
              archive_cmds_CXX='tpldir=Template.dir~
12811
12238
                rm -rf $tpldir~
12812
12239
                $CC --prelink_objects --instantiation_dir $tpldir $predep_objects $libobjs $deplibs $convenience $postdep_objects~
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'
 
12240
                $CC -shared $pic_flag $predep_objects $libobjs $deplibs `find $tpldir -name \*.o | $NL2SP` $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname -o $lib'
12814
12241
              archive_expsym_cmds_CXX='tpldir=Template.dir~
12815
12242
                rm -rf $tpldir~
12816
12243
                $CC --prelink_objects --instantiation_dir $tpldir $predep_objects $libobjs $deplibs $convenience $postdep_objects~
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'
 
12244
                $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'
12818
12245
              ;;
12819
 
            *) # Version 6 and above use weak symbols
 
12246
            *) # Version 6 will use weak symbols
12820
12247
              archive_cmds_CXX='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname -o $lib'
12821
12248
              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'
12822
12249
              ;;
12824
12251
 
12825
12252
            hardcode_libdir_flag_spec_CXX='${wl}--rpath ${wl}$libdir'
12826
12253
            export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
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'
 
12254
            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'
12828
12255
            ;;
12829
12256
          cxx*)
12830
12257
            # Compaq C++
12843
12270
            # explicitly linking system object files so we need to strip them
12844
12271
            # from the output so that they don't get included in the library
12845
12272
            # dependencies.
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'
 
12273
            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'
12847
12274
            ;;
12848
 
          xl* | mpixl* | bgxl*)
 
12275
          xl*)
12849
12276
            # IBM XL 8.0 on PPC, with GNU ld
12850
12277
            hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
12851
12278
            export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
12865
12292
              archive_cmds_CXX='$CC -G${allow_undefined_flag} -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
12866
12293
              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'
12867
12294
              hardcode_libdir_flag_spec_CXX='-R$libdir'
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'
 
12295
              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'
12869
12296
              compiler_needs_object_CXX=yes
12870
12297
 
12871
12298
              # Not sure whether something based on
12872
12299
              # $CC $CFLAGS -v conftest.$objext -o libconftest$shared_ext 2>&1
12873
12300
              # would be better.
12874
 
              output_verbose_link_cmd='func_echo_all'
 
12301
              output_verbose_link_cmd='echo'
12875
12302
 
12876
12303
              # Archives containing C++ object files must be created using
12877
12304
              # "CC -xar", where "CC" is the Sun C++ compiler.  This is
12940
12367
            export_dynamic_flag_spec_CXX='${wl}-E'
12941
12368
            whole_archive_flag_spec_CXX="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
12942
12369
          fi
12943
 
          output_verbose_link_cmd=func_echo_all
 
12370
          output_verbose_link_cmd=echo
12944
12371
        else
12945
12372
          ld_shlibs_CXX=no
12946
12373
        fi
12975
12402
            case $host in
12976
12403
              osf3*)
12977
12404
                allow_undefined_flag_CXX=' ${wl}-expect_unresolved ${wl}\*'
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'
 
12405
                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'
12979
12406
                hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
12980
12407
                ;;
12981
12408
              *)
12982
12409
                allow_undefined_flag_CXX=' -expect_unresolved \*'
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'
 
12410
                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'
12984
12411
                archive_expsym_cmds_CXX='for i in `cat $export_symbols`; do printf "%s %s\\n" -exported_symbol "\$i" >> $lib.exp; done~
12985
12412
                  echo "-hidden">> $lib.exp~
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~
 
12413
                  $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~
12987
12414
                  $RM $lib.exp'
12988
12415
                hardcode_libdir_flag_spec_CXX='-rpath $libdir'
12989
12416
                ;;
12999
12426
            # explicitly linking system object files so we need to strip them
13000
12427
            # from the output so that they don't get included in the library
13001
12428
            # dependencies.
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"'
 
12429
            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'
13003
12430
            ;;
13004
12431
          *)
13005
12432
            if test "$GXX" = yes && test "$with_gnu_ld" = no; then
13006
12433
              allow_undefined_flag_CXX=' ${wl}-expect_unresolved ${wl}\*'
13007
12434
              case $host in
13008
12435
                osf3*)
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'
 
12436
                  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'
13010
12437
                  ;;
13011
12438
                *)
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'
 
12439
                  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'
13013
12440
                  ;;
13014
12441
              esac
13015
12442
 
13019
12446
              # Commands to make compiler produce verbose output that lists
13020
12447
              # what "hidden" libraries, object files and flags are used when
13021
12448
              # linking a shared library.
13022
 
              output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP -v "^Configured with:" | $GREP "\-L"'
 
12449
              output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP "\-L"'
13023
12450
 
13024
12451
            else
13025
12452
              # FIXME: insert proper C++ library support
13055
12482
 
13056
12483
      solaris*)
13057
12484
        case $cc_basename in
13058
 
          CC* | sunCC*)
 
12485
          CC*)
13059
12486
            # Sun C++ 4.2, 5.x and Centerline C++
13060
12487
            archive_cmds_need_lc_CXX=yes
13061
12488
            no_undefined_flag_CXX=' -zdefs'
13076
12503
            esac
13077
12504
            link_all_deplibs_CXX=yes
13078
12505
 
13079
 
            output_verbose_link_cmd='func_echo_all'
 
12506
            output_verbose_link_cmd='echo'
13080
12507
 
13081
12508
            # Archives containing C++ object files must be created using
13082
12509
            # "CC -xar", where "CC" is the Sun C++ compiler.  This is
13096
12523
            if test "$GXX" = yes && test "$with_gnu_ld" = no; then
13097
12524
              no_undefined_flag_CXX=' ${wl}-z ${wl}defs'
13098
12525
              if $CC --version | $GREP -v '^2\.7' > /dev/null; then
13099
 
                archive_cmds_CXX='$CC -shared $pic_flag -nostdlib $LDFLAGS $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
 
12526
                archive_cmds_CXX='$CC -shared -nostdlib $LDFLAGS $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
13100
12527
                archive_expsym_cmds_CXX='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $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'
 
12528
                  $CC -shared -nostdlib ${wl}-M $wl$lib.exp -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$RM $lib.exp'
13102
12529
 
13103
12530
                # Commands to make compiler produce verbose output that lists
13104
12531
                # what "hidden" libraries, object files and flags are used when
13105
12532
                # linking a shared library.
13106
 
                output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP -v "^Configured with:" | $GREP "\-L"'
 
12533
                output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP "\-L"'
13107
12534
              else
13108
12535
                # g++ 2.7 appears to require `-G' NOT `-shared' on this
13109
12536
                # platform.
13114
12541
                # Commands to make compiler produce verbose output that lists
13115
12542
                # what "hidden" libraries, object files and flags are used when
13116
12543
                # linking a shared library.
13117
 
                output_verbose_link_cmd='$CC -G $CFLAGS -v conftest.$objext 2>&1 | $GREP -v "^Configured with:" | $GREP "\-L"'
 
12544
                output_verbose_link_cmd='$CC -G $CFLAGS -v conftest.$objext 2>&1 | $GREP "\-L"'
13118
12545
              fi
13119
12546
 
13120
12547
              hardcode_libdir_flag_spec_CXX='${wl}-R $wl$libdir'
13168
12595
          CC*)
13169
12596
            archive_cmds_CXX='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13170
12597
            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"
13175
12598
            ;;
13176
12599
          *)
13177
12600
            archive_cmds_CXX='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13233
12656
};
13234
12657
_LT_EOF
13235
12658
 
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
 
 
13244
12659
if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
13245
12660
  (eval $ac_compile) 2>&5
13246
12661
  ac_status=$?
13254
12669
  pre_test_object_deps_done=no
13255
12670
 
13256
12671
  for p in `eval "$output_verbose_link_cmd"`; do
13257
 
    case ${prev}${p} in
 
12672
    case $p in
13258
12673
 
13259
12674
    -L* | -R* | -l*)
13260
12675
       # Some compilers place space between "-{L,R}" and the path.
13263
12678
          test $p = "-R"; then
13264
12679
         prev=$p
13265
12680
         continue
 
12681
       else
 
12682
         prev=
13266
12683
       fi
13267
12684
 
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
13279
12685
       if test "$pre_test_object_deps_done" = no; then
13280
 
         case ${prev} in
13281
 
         -L | -R)
 
12686
         case $p in
 
12687
         -L* | -R*)
13282
12688
           # Internal compiler library paths should come after those
13283
12689
           # provided the user.  The postdeps already come after the
13284
12690
           # user supplied libs so there is no need to process them.
13298
12704
           postdeps_CXX="${postdeps_CXX} ${prev}${p}"
13299
12705
         fi
13300
12706
       fi
13301
 
       prev=
13302
12707
       ;;
13303
12708
 
13304
 
    *.lto.$objext) ;; # Ignore GCC LTO objects
13305
12709
    *.$objext)
13306
12710
       # This assumes that the test object file only shows up
13307
12711
       # once in the compiler output.
13337
12741
fi
13338
12742
 
13339
12743
$RM -f confest.$objext
13340
 
CFLAGS=$_lt_libdeps_save_CFLAGS
13341
12744
 
13342
12745
# PORTME: override above test on systems where it is broken
13343
12746
case $host_os in
13373
12776
 
13374
12777
solaris*)
13375
12778
  case $cc_basename in
13376
 
  CC* | sunCC*)
 
12779
  CC*)
13377
12780
    # The more standards-conforming stlport4 library is
13378
12781
    # incompatible with the Cstd library. Avoid specifying
13379
12782
    # it if it's in CXXFLAGS. Ignore libCrun as
13438
12841
lt_prog_compiler_pic_CXX=
13439
12842
lt_prog_compiler_static_CXX=
13440
12843
 
 
12844
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5
 
12845
$as_echo_n "checking for $compiler option to produce PIC... " >&6; }
13441
12846
 
13442
12847
  # C++ specific cases for pic, static, wl, etc.
13443
12848
  if test "$GXX" = yes; then
13487
12892
      # DJGPP does not support shared libraries at all
13488
12893
      lt_prog_compiler_pic_CXX=
13489
12894
      ;;
13490
 
    haiku*)
13491
 
      # PIC is the default for Haiku.
13492
 
      # The "-static" flag exists, but is broken.
13493
 
      lt_prog_compiler_static_CXX=
13494
 
      ;;
13495
12895
    interix[3-9]*)
13496
12896
      # Interix 3.x gcc -fpic/-fPIC options generate broken code.
13497
12897
      # Instead, we relocate shared libraries at runtime.
13541
12941
          ;;
13542
12942
        esac
13543
12943
        ;;
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
 
        ;;
13549
12944
      dgux*)
13550
12945
        case $cc_basename in
13551
12946
          ec++*)
13602
12997
            ;;
13603
12998
        esac
13604
12999
        ;;
13605
 
      linux* | k*bsd*-gnu | kopensolaris*-gnu)
 
13000
      linux* | k*bsd*-gnu)
13606
13001
        case $cc_basename in
13607
13002
          KCC*)
13608
13003
            # KAI C++ Compiler
13635
13030
            lt_prog_compiler_pic_CXX=
13636
13031
            lt_prog_compiler_static_CXX='-non_shared'
13637
13032
            ;;
13638
 
          xlc* | xlC* | bgxl[cC]* | mpixl[cC]*)
13639
 
            # IBM XL 8.0, 9.0 on PPC and BlueGene
 
13033
          xlc* | xlC*)
 
13034
            # IBM XL 8.0 on PPC
13640
13035
            lt_prog_compiler_wl_CXX='-Wl,'
13641
13036
            lt_prog_compiler_pic_CXX='-qpic'
13642
13037
            lt_prog_compiler_static_CXX='-qstaticlink'
13698
13093
        ;;
13699
13094
      solaris*)
13700
13095
        case $cc_basename in
13701
 
          CC* | sunCC*)
 
13096
          CC*)
13702
13097
            # Sun C++ 4.2, 5.x and Centerline C++
13703
13098
            lt_prog_compiler_pic_CXX='-KPIC'
13704
13099
            lt_prog_compiler_static_CXX='-Bstatic'
13763
13158
    lt_prog_compiler_pic_CXX="$lt_prog_compiler_pic_CXX -DPIC"
13764
13159
    ;;
13765
13160
esac
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
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_prog_compiler_pic_CXX" >&5
 
13162
$as_echo "$lt_prog_compiler_pic_CXX" >&6; }
 
13163
 
 
13164
 
13777
13165
 
13778
13166
#
13779
13167
# Check to make sure the PIC flag actually works.
13781
13169
if test -n "$lt_prog_compiler_pic_CXX"; then
13782
13170
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler PIC flag $lt_prog_compiler_pic_CXX works" >&5
13783
13171
$as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic_CXX works... " >&6; }
13784
 
if ${lt_cv_prog_compiler_pic_works_CXX+:} false; then :
 
13172
if test "${lt_cv_prog_compiler_pic_works_CXX+set}" = set; then :
13785
13173
  $as_echo_n "(cached) " >&6
13786
13174
else
13787
13175
  lt_cv_prog_compiler_pic_works_CXX=no
13797
13185
   -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
13798
13186
   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
13799
13187
   -e 's:$: $lt_compiler_flag:'`
13800
 
   (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
 
13188
   (eval echo "\"\$as_me:13188: $lt_compile\"" >&5)
13801
13189
   (eval "$lt_compile" 2>conftest.err)
13802
13190
   ac_status=$?
13803
13191
   cat conftest.err >&5
13804
 
   echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
13192
   echo "$as_me:13192: \$? = $ac_status" >&5
13805
13193
   if (exit $ac_status) && test -s "$ac_outfile"; then
13806
13194
     # The compiler can only warn and ignore the option if not recognized
13807
13195
     # So say no if there are warnings other than the usual output.
13808
 
     $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
 
13196
     $ECHO "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' >conftest.exp
13809
13197
     $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
13810
13198
     if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
13811
13199
       lt_cv_prog_compiler_pic_works_CXX=yes
13831
13219
 
13832
13220
 
13833
13221
 
13834
 
 
13835
 
 
13836
13222
#
13837
13223
# Check to make sure the static flag actually works.
13838
13224
#
13839
13225
wl=$lt_prog_compiler_wl_CXX eval lt_tmp_static_flag=\"$lt_prog_compiler_static_CXX\"
13840
13226
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler static flag $lt_tmp_static_flag works" >&5
13841
13227
$as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
13842
 
if ${lt_cv_prog_compiler_static_works_CXX+:} false; then :
 
13228
if test "${lt_cv_prog_compiler_static_works_CXX+set}" = set; then :
13843
13229
  $as_echo_n "(cached) " >&6
13844
13230
else
13845
13231
  lt_cv_prog_compiler_static_works_CXX=no
13852
13238
     if test -s conftest.err; then
13853
13239
       # Append any errors to the config.log.
13854
13240
       cat conftest.err 1>&5
13855
 
       $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
 
13241
       $ECHO "X$_lt_linker_boilerplate" | $Xsed -e '/^$/d' > conftest.exp
13856
13242
       $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
13857
13243
       if diff conftest.exp conftest.er2 >/dev/null; then
13858
13244
         lt_cv_prog_compiler_static_works_CXX=yes
13879
13265
 
13880
13266
    { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
13881
13267
$as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
13882
 
if ${lt_cv_prog_compiler_c_o_CXX+:} false; then :
 
13268
if test "${lt_cv_prog_compiler_c_o_CXX+set}" = set; then :
13883
13269
  $as_echo_n "(cached) " >&6
13884
13270
else
13885
13271
  lt_cv_prog_compiler_c_o_CXX=no
13898
13284
   -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
13899
13285
   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
13900
13286
   -e 's:$: $lt_compiler_flag:'`
13901
 
   (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
 
13287
   (eval echo "\"\$as_me:13287: $lt_compile\"" >&5)
13902
13288
   (eval "$lt_compile" 2>out/conftest.err)
13903
13289
   ac_status=$?
13904
13290
   cat out/conftest.err >&5
13905
 
   echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
13291
   echo "$as_me:13291: \$? = $ac_status" >&5
13906
13292
   if (exit $ac_status) && test -s out/conftest2.$ac_objext
13907
13293
   then
13908
13294
     # The compiler can only warn and ignore the option if not recognized
13909
13295
     # So say no if there are warnings
13910
 
     $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
 
13296
     $ECHO "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' > out/conftest.exp
13911
13297
     $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
13912
13298
     if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
13913
13299
       lt_cv_prog_compiler_c_o_CXX=yes
13931
13317
 
13932
13318
    { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
13933
13319
$as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
13934
 
if ${lt_cv_prog_compiler_c_o_CXX+:} false; then :
 
13320
if test "${lt_cv_prog_compiler_c_o_CXX+set}" = set; then :
13935
13321
  $as_echo_n "(cached) " >&6
13936
13322
else
13937
13323
  lt_cv_prog_compiler_c_o_CXX=no
13950
13336
   -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
13951
13337
   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
13952
13338
   -e 's:$: $lt_compiler_flag:'`
13953
 
   (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
 
13339
   (eval echo "\"\$as_me:13339: $lt_compile\"" >&5)
13954
13340
   (eval "$lt_compile" 2>out/conftest.err)
13955
13341
   ac_status=$?
13956
13342
   cat out/conftest.err >&5
13957
 
   echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
13343
   echo "$as_me:13343: \$? = $ac_status" >&5
13958
13344
   if (exit $ac_status) && test -s out/conftest2.$ac_objext
13959
13345
   then
13960
13346
     # The compiler can only warn and ignore the option if not recognized
13961
13347
     # So say no if there are warnings
13962
 
     $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
 
13348
     $ECHO "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' > out/conftest.exp
13963
13349
     $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
13964
13350
     if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
13965
13351
       lt_cv_prog_compiler_c_o_CXX=yes
14010
13396
$as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
14011
13397
 
14012
13398
  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]_.*'
14014
13399
  case $host_os in
14015
13400
  aix[4-9]*)
14016
13401
    # If we're using GNU nm, then we don't want the "-C" option.
14017
13402
    # -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".
14020
13403
    if $NM -V 2>&1 | $GREP 'GNU' > /dev/null; then
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'
 
13404
      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'
14022
13405
    else
14023
13406
      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'
14024
13407
    fi
14025
13408
    ;;
14026
13409
  pw32*)
14027
13410
    export_symbols_cmds_CXX="$ltdll_cmds"
14028
 
    ;;
 
13411
  ;;
14029
13412
  cygwin* | mingw* | cegcc*)
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*)
 
13413
    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'
 
13414
  ;;
 
13415
  linux* | k*bsd*-gnu)
14041
13416
    link_all_deplibs_CXX=no
14042
 
    ;;
 
13417
  ;;
14043
13418
  *)
14044
13419
    export_symbols_cmds_CXX='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
14045
 
    ;;
 
13420
  ;;
14046
13421
  esac
 
13422
  exclude_expsyms_CXX='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
14047
13423
 
14048
13424
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs_CXX" >&5
14049
13425
$as_echo "$ld_shlibs_CXX" >&6; }
14075
13451
      # to ld, don't add -lc before -lgcc.
14076
13452
      { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5
14077
13453
$as_echo_n "checking whether -lc should be explicitly linked in... " >&6; }
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
 
13454
      $RM conftest*
 
13455
      echo "$lt_simple_compile_test_code" > conftest.$ac_ext
14083
13456
 
14084
 
        if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
 
13457
      if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
14085
13458
  (eval $ac_compile) 2>&5
14086
13459
  ac_status=$?
14087
13460
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14088
13461
  test $ac_status = 0; } 2>conftest.err; then
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
 
13462
        soname=conftest
 
13463
        lib=conftest
 
13464
        libobjs=conftest.$ac_objext
 
13465
        deplibs=
 
13466
        wl=$lt_prog_compiler_wl_CXX
 
13467
        pic_flag=$lt_prog_compiler_pic_CXX
 
13468
        compiler_flags=-v
 
13469
        linker_flags=-v
 
13470
        verstring=
 
13471
        output_objdir=.
 
13472
        libname=conftest
 
13473
        lt_save_allow_undefined_flag=$allow_undefined_flag_CXX
 
13474
        allow_undefined_flag_CXX=
 
13475
        if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds_CXX 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5
14103
13476
  (eval $archive_cmds_CXX 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1) 2>&5
14104
13477
  ac_status=$?
14105
13478
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14106
13479
  test $ac_status = 0; }
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
 
13480
        then
 
13481
          archive_cmds_need_lc_CXX=no
 
13482
        else
 
13483
          archive_cmds_need_lc_CXX=yes
 
13484
        fi
 
13485
        allow_undefined_flag_CXX=$lt_save_allow_undefined_flag
 
13486
      else
 
13487
        cat conftest.err 1>&5
 
13488
      fi
 
13489
      $RM conftest*
 
13490
      { $as_echo "$as_me:${as_lineno-$LINENO}: result: $archive_cmds_need_lc_CXX" >&5
 
13491
$as_echo "$archive_cmds_need_lc_CXX" >&6; }
14122
13492
      ;;
14123
13493
    esac
14124
13494
  fi
14186
13556
 
14187
13557
 
14188
13558
 
 
13559
 
 
13560
 
14189
13561
    { $as_echo "$as_me:${as_lineno-$LINENO}: checking dynamic linker characteristics" >&5
14190
13562
$as_echo_n "checking dynamic linker characteristics... " >&6; }
14191
13563
 
14211
13583
 
14212
13584
case $host_os in
14213
13585
aix3*)
14214
 
  version_type=linux # correct to gnu/linux during the next big refactor
 
13586
  version_type=linux
14215
13587
  library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a'
14216
13588
  shlibpath_var=LIBPATH
14217
13589
 
14220
13592
  ;;
14221
13593
 
14222
13594
aix[4-9]*)
14223
 
  version_type=linux # correct to gnu/linux during the next big refactor
 
13595
  version_type=linux
14224
13596
  need_lib_prefix=no
14225
13597
  need_version=no
14226
13598
  hardcode_into_libs=yes
14273
13645
  m68k)
14274
13646
    library_names_spec='$libname.ixlibrary $libname.a'
14275
13647
    # Create ${libname}_ixlibrary.a entries in /sys/libs.
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'
 
13648
    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'
14277
13649
    ;;
14278
13650
  esac
14279
13651
  ;;
14285
13657
  ;;
14286
13658
 
14287
13659
bsdi[45]*)
14288
 
  version_type=linux # correct to gnu/linux during the next big refactor
 
13660
  version_type=linux
14289
13661
  need_version=no
14290
13662
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14291
13663
  soname_spec='${libname}${release}${shared_ext}$major'
14304
13676
  need_version=no
14305
13677
  need_lib_prefix=no
14306
13678
 
14307
 
  case $GCC,$cc_basename in
14308
 
  yes,*)
14309
 
    # gcc
 
13679
  case $GCC,$host_os in
 
13680
  yes,cygwin* | yes,mingw* | yes,pw32* | yes,cegcc*)
14310
13681
    library_names_spec='$libname.dll.a'
14311
13682
    # DLL is installed to $(libdir)/../bin by postinstall_cmds
14312
13683
    postinstall_cmds='base_file=`basename \${file}`~
14327
13698
    cygwin*)
14328
13699
      # Cygwin DLLs use 'cyg' prefix rather than 'lib'
14329
13700
      soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
14330
 
 
 
13701
      sys_lib_search_path_spec="/usr/lib /lib/w32api /lib /usr/local/lib"
14331
13702
      ;;
14332
13703
    mingw* | cegcc*)
14333
13704
      # MinGW DLLs use traditional 'lib' prefix
14334
13705
      soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
 
13706
      sys_lib_search_path_spec=`$CC -print-search-dirs | $GREP "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
 
13707
      if $ECHO "$sys_lib_search_path_spec" | $GREP ';[c-zC-Z]:/' >/dev/null; then
 
13708
        # It is most probably a Windows format PATH printed by
 
13709
        # mingw gcc, but we are running on Cygwin. Gcc prints its search
 
13710
        # path with ; separators, and with drive letters. We can handle the
 
13711
        # drive letters (cygwin fileutils understands them), so leave them,
 
13712
        # especially as we might pass files found there to a mingw objdump,
 
13713
        # which wouldn't understand a cygwinified path. Ahh.
 
13714
        sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
 
13715
      else
 
13716
        sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED  -e "s/$PATH_SEPARATOR/ /g"`
 
13717
      fi
14335
13718
      ;;
14336
13719
    pw32*)
14337
13720
      # pw32 DLLs use 'pw' prefix rather than 'lib'
14338
13721
      library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
14339
13722
      ;;
14340
13723
    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'
14398
13724
    ;;
14399
13725
 
14400
13726
  *)
14401
 
    # Assume MSVC wrapper
14402
13727
    library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
14403
 
    dynamic_linker='Win32 ld.exe'
14404
13728
    ;;
14405
13729
  esac
 
13730
  dynamic_linker='Win32 ld.exe'
14406
13731
  # FIXME: first we should search . and the directory the executable is in
14407
13732
  shlibpath_var=PATH
14408
13733
  ;;
14422
13747
  ;;
14423
13748
 
14424
13749
dgux*)
14425
 
  version_type=linux # correct to gnu/linux during the next big refactor
 
13750
  version_type=linux
14426
13751
  need_lib_prefix=no
14427
13752
  need_version=no
14428
13753
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
14430
13755
  shlibpath_var=LD_LIBRARY_PATH
14431
13756
  ;;
14432
13757
 
 
13758
freebsd1*)
 
13759
  dynamic_linker=no
 
13760
  ;;
 
13761
 
14433
13762
freebsd* | dragonfly*)
14434
13763
  # DragonFly does not have aout.  When/if they implement a new
14435
13764
  # versioning mechanism, adjust this.
14437
13766
    objformat=`/usr/bin/objformat`
14438
13767
  else
14439
13768
    case $host_os in
14440
 
    freebsd[23].*) objformat=aout ;;
 
13769
    freebsd[123]*) objformat=aout ;;
14441
13770
    *) objformat=elf ;;
14442
13771
    esac
14443
13772
  fi
14455
13784
  esac
14456
13785
  shlibpath_var=LD_LIBRARY_PATH
14457
13786
  case $host_os in
14458
 
  freebsd2.*)
 
13787
  freebsd2*)
14459
13788
    shlibpath_overrides_runpath=yes
14460
13789
    ;;
14461
13790
  freebsd3.[01]* | freebsdelf3.[01]*)
14475
13804
  ;;
14476
13805
 
14477
13806
gnu*)
14478
 
  version_type=linux # correct to gnu/linux during the next big refactor
 
13807
  version_type=linux
14479
13808
  need_lib_prefix=no
14480
13809
  need_version=no
14481
13810
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
14482
13811
  soname_spec='${libname}${release}${shared_ext}$major'
14483
13812
  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'
14498
13813
  hardcode_into_libs=yes
14499
13814
  ;;
14500
13815
 
14540
13855
    soname_spec='${libname}${release}${shared_ext}$major'
14541
13856
    ;;
14542
13857
  esac
14543
 
  # HP-UX runs *really* slowly unless shared libraries are mode 555, ...
 
13858
  # HP-UX runs *really* slowly unless shared libraries are mode 555.
14544
13859
  postinstall_cmds='chmod 555 $lib'
14545
 
  # or fails outright, so override atomically:
14546
 
  install_override_mode=555
14547
13860
  ;;
14548
13861
 
14549
13862
interix[3-9]*)
14550
 
  version_type=linux # correct to gnu/linux during the next big refactor
 
13863
  version_type=linux
14551
13864
  need_lib_prefix=no
14552
13865
  need_version=no
14553
13866
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
14563
13876
    nonstopux*) version_type=nonstopux ;;
14564
13877
    *)
14565
13878
        if test "$lt_cv_prog_gnu_ld" = yes; then
14566
 
                version_type=linux # correct to gnu/linux during the next big refactor
 
13879
                version_type=linux
14567
13880
        else
14568
13881
                version_type=irix
14569
13882
        fi ;;
14600
13913
  dynamic_linker=no
14601
13914
  ;;
14602
13915
 
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
 
13916
# This must be Linux ELF.
 
13917
linux* | k*bsd*-gnu)
 
13918
  version_type=linux
14606
13919
  need_lib_prefix=no
14607
13920
  need_version=no
14608
13921
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14610
13923
  finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
14611
13924
  shlibpath_var=LD_LIBRARY_PATH
14612
13925
  shlibpath_overrides_runpath=no
14613
 
 
14614
13926
  # Some binutils ld are patched to set DT_RUNPATH
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
 
13927
  save_LDFLAGS=$LDFLAGS
 
13928
  save_libdir=$libdir
 
13929
  eval "libdir=/foo; wl=\"$lt_prog_compiler_wl_CXX\"; \
 
13930
       LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec_CXX\""
 
13931
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14624
13932
/* end confdefs.h.  */
14625
13933
 
14626
13934
int
14633
13941
_ACEOF
14634
13942
if ac_fn_cxx_try_link "$LINENO"; then :
14635
13943
  if  ($OBJDUMP -p conftest$ac_exeext) 2>/dev/null | grep "RUNPATH.*$libdir" >/dev/null; then :
14636
 
  lt_cv_shlibpath_overrides_runpath=yes
 
13944
  shlibpath_overrides_runpath=yes
14637
13945
fi
14638
13946
fi
14639
13947
rm -f core conftest.err conftest.$ac_objext \
14640
13948
    conftest$ac_exeext conftest.$ac_ext
14641
 
    LDFLAGS=$save_LDFLAGS
14642
 
    libdir=$save_libdir
14643
 
 
14644
 
fi
14645
 
 
14646
 
  shlibpath_overrides_runpath=$lt_cv_shlibpath_overrides_runpath
 
13949
  LDFLAGS=$save_LDFLAGS
 
13950
  libdir=$save_libdir
14647
13951
 
14648
13952
  # This implies no fast_install, which is unacceptable.
14649
13953
  # Some rework will be needed to allow for fast_install
14652
13956
 
14653
13957
  # Append ld.so.conf contents to the search path
14654
13958
  if test -f /etc/ld.so.conf; then
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' ' '`
 
13959
    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' ' '`
14656
13960
    sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra"
14657
13961
  fi
14658
13962
 
14696
14000
  ;;
14697
14001
 
14698
14002
newsos6)
14699
 
  version_type=linux # correct to gnu/linux during the next big refactor
 
14003
  version_type=linux
14700
14004
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14701
14005
  shlibpath_var=LD_LIBRARY_PATH
14702
14006
  shlibpath_overrides_runpath=yes
14765
14069
  ;;
14766
14070
 
14767
14071
solaris*)
14768
 
  version_type=linux # correct to gnu/linux during the next big refactor
 
14072
  version_type=linux
14769
14073
  need_lib_prefix=no
14770
14074
  need_version=no
14771
14075
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14790
14094
  ;;
14791
14095
 
14792
14096
sysv4 | sysv4.3*)
14793
 
  version_type=linux # correct to gnu/linux during the next big refactor
 
14097
  version_type=linux
14794
14098
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14795
14099
  soname_spec='${libname}${release}${shared_ext}$major'
14796
14100
  shlibpath_var=LD_LIBRARY_PATH
14814
14118
 
14815
14119
sysv4*MP*)
14816
14120
  if test -d /usr/nec ;then
14817
 
    version_type=linux # correct to gnu/linux during the next big refactor
 
14121
    version_type=linux
14818
14122
    library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
14819
14123
    soname_spec='$libname${shared_ext}.$major'
14820
14124
    shlibpath_var=LD_LIBRARY_PATH
14845
14149
 
14846
14150
tpf*)
14847
14151
  # TPF is a cross-target only.  Preferred cross-host = GNU/Linux.
14848
 
  version_type=linux # correct to gnu/linux during the next big refactor
 
14152
  version_type=linux
14849
14153
  need_lib_prefix=no
14850
14154
  need_version=no
14851
14155
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14855
14159
  ;;
14856
14160
 
14857
14161
uts4*)
14858
 
  version_type=linux # correct to gnu/linux during the next big refactor
 
14162
  version_type=linux
14859
14163
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14860
14164
  soname_spec='${libname}${release}${shared_ext}$major'
14861
14165
  shlibpath_var=LD_LIBRARY_PATH
14916
14220
 
14917
14221
 
14918
14222
 
14919
 
 
14920
 
 
14921
14223
    { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to hardcode library paths into programs" >&5
14922
14224
$as_echo_n "checking how to hardcode library paths into programs... " >&6; }
14923
14225
hardcode_action_CXX=
14965
14267
  fi # test -n "$compiler"
14966
14268
 
14967
14269
  CC=$lt_save_CC
14968
 
  CFLAGS=$lt_save_CFLAGS
14969
14270
  LDCXX=$LD
14970
14271
  LD=$lt_save_LD
14971
14272
  GCC=$lt_save_GCC
14985
14286
 
14986
14287
 
14987
14288
 
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
 
 
15008
14289
# checks for libraries.
15009
14290
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for main in -lboost_filesystem-mt" >&5
15010
14291
$as_echo_n "checking for main in -lboost_filesystem-mt... " >&6; }
15011
 
if ${ac_cv_lib_boost_filesystem_mt_main+:} false; then :
 
14292
if test "${ac_cv_lib_boost_filesystem_mt_main+set}" = set; then :
15012
14293
  $as_echo_n "(cached) " >&6
15013
14294
else
15014
14295
  ac_check_lib_save_LIBS=$LIBS
15036
14317
fi
15037
14318
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_boost_filesystem_mt_main" >&5
15038
14319
$as_echo "$ac_cv_lib_boost_filesystem_mt_main" >&6; }
15039
 
if test "x$ac_cv_lib_boost_filesystem_mt_main" = xyes; then :
 
14320
if test "x$ac_cv_lib_boost_filesystem_mt_main" = x""yes; then :
15040
14321
  cat >>confdefs.h <<_ACEOF
15041
14322
#define HAVE_LIBBOOST_FILESYSTEM_MT 1
15042
14323
_ACEOF
15050
14331
 
15051
14332
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for main in -lboost_thread-mt" >&5
15052
14333
$as_echo_n "checking for main in -lboost_thread-mt... " >&6; }
15053
 
if ${ac_cv_lib_boost_thread_mt_main+:} false; then :
 
14334
if test "${ac_cv_lib_boost_thread_mt_main+set}" = set; then :
15054
14335
  $as_echo_n "(cached) " >&6
15055
14336
else
15056
14337
  ac_check_lib_save_LIBS=$LIBS
15078
14359
fi
15079
14360
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_boost_thread_mt_main" >&5
15080
14361
$as_echo "$ac_cv_lib_boost_thread_mt_main" >&6; }
15081
 
if test "x$ac_cv_lib_boost_thread_mt_main" = xyes; then :
 
14362
if test "x$ac_cv_lib_boost_thread_mt_main" = x""yes; then :
15082
14363
  cat >>confdefs.h <<_ACEOF
15083
14364
#define HAVE_LIBBOOST_THREAD_MT 1
15084
14365
_ACEOF
15086
14367
  LIBS="-lboost_thread-mt $LIBS"
15087
14368
 
15088
14369
else
15089
 
  as_fn_error $? "Unable to find Boost Thread library" "$LINENO" 5
 
14370
  as_fn_error "Unable to find Boost Thread library" "$LINENO" 5
15090
14371
fi
15091
14372
 
15092
14373
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqlite3_initialize in -lsqlite3" >&5
15093
14374
$as_echo_n "checking for sqlite3_initialize in -lsqlite3... " >&6; }
15094
 
if ${ac_cv_lib_sqlite3_sqlite3_initialize+:} false; then :
 
14375
if test "${ac_cv_lib_sqlite3_sqlite3_initialize+set}" = set; then :
15095
14376
  $as_echo_n "(cached) " >&6
15096
14377
else
15097
14378
  ac_check_lib_save_LIBS=$LIBS
15125
14406
fi
15126
14407
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_sqlite3_sqlite3_initialize" >&5
15127
14408
$as_echo "$ac_cv_lib_sqlite3_sqlite3_initialize" >&6; }
15128
 
if test "x$ac_cv_lib_sqlite3_sqlite3_initialize" = xyes; then :
 
14409
if test "x$ac_cv_lib_sqlite3_sqlite3_initialize" = x""yes; then :
15129
14410
  cat >>confdefs.h <<_ACEOF
15130
14411
#define HAVE_LIBSQLITE3 1
15131
14412
_ACEOF
15133
14414
  LIBS="-lsqlite3 $LIBS"
15134
14415
 
15135
14416
else
15136
 
  as_fn_error $? "Unable to find SQLite3 library" "$LINENO" 5
 
14417
  as_fn_error "Unable to find SQLite3 library" "$LINENO" 5
15137
14418
fi
15138
14419
 
15139
14420
 
15140
14421
# checks for header files.
15141
14422
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
15142
14423
$as_echo_n "checking for ANSI C header files... " >&6; }
15143
 
if ${ac_cv_header_stdc+:} false; then :
 
14424
if test "${ac_cv_header_stdc+set}" = set; then :
15144
14425
  $as_echo_n "(cached) " >&6
15145
14426
else
15146
14427
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15253
14534
for ac_header in string.h
15254
14535
do :
15255
14536
  ac_fn_c_check_header_mongrel "$LINENO" "string.h" "ac_cv_header_string_h" "$ac_includes_default"
15256
 
if test "x$ac_cv_header_string_h" = xyes; then :
 
14537
if test "x$ac_cv_header_string_h" = x""yes; then :
15257
14538
  cat >>confdefs.h <<_ACEOF
15258
14539
#define HAVE_STRING_H 1
15259
14540
_ACEOF
15333
14614
     :end' >>confcache
15334
14615
if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
15335
14616
  if test -w "$cache_file"; then
15336
 
    if test "x$cache_file" != "x/dev/null"; then
 
14617
    test "x$cache_file" != "x/dev/null" &&
15337
14618
      { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
15338
14619
$as_echo "$as_me: updating cache $cache_file" >&6;}
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
 
14620
    cat confcache >$cache_file
15351
14621
  else
15352
14622
    { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
15353
14623
$as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
15363
14633
 
15364
14634
ac_libobjs=
15365
14635
ac_ltlibobjs=
15366
 
U=
15367
14636
for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
15368
14637
  # 1. Remove the extension, and $U if already installed.
15369
14638
  ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
15387
14656
fi
15388
14657
 
15389
14658
if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
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.
 
14659
  as_fn_error "conditional \"AMDEP\" was never defined.
15395
14660
Usually this means the macro was only invoked conditionally." "$LINENO" 5
15396
14661
fi
15397
14662
if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
15398
 
  as_fn_error $? "conditional \"am__fastdepCC\" was never defined.
 
14663
  as_fn_error "conditional \"am__fastdepCC\" was never defined.
 
14664
Usually this means the macro was only invoked conditionally." "$LINENO" 5
 
14665
fi
 
14666
if test -z "${am__fastdepCXX_TRUE}" && test -z "${am__fastdepCXX_FALSE}"; then
 
14667
  as_fn_error "conditional \"am__fastdepCXX\" was never defined.
 
14668
Usually this means the macro was only invoked conditionally." "$LINENO" 5
 
14669
fi
 
14670
if test -z "${am__fastdepCXX_TRUE}" && test -z "${am__fastdepCXX_FALSE}"; then
 
14671
  as_fn_error "conditional \"am__fastdepCXX\" was never defined.
15399
14672
Usually this means the macro was only invoked conditionally." "$LINENO" 5
15400
14673
fi
15401
14674
 
15402
 
: "${CONFIG_STATUS=./config.status}"
 
14675
: ${CONFIG_STATUS=./config.status}
15403
14676
ac_write_fail=0
15404
14677
ac_clean_files_save=$ac_clean_files
15405
14678
ac_clean_files="$ac_clean_files $CONFIG_STATUS"
15500
14773
IFS=" ""        $as_nl"
15501
14774
 
15502
14775
# Find who we are.  Look in the path if we contain no directory separator.
15503
 
as_myself=
15504
14776
case $0 in #((
15505
14777
  *[\\/]* ) as_myself=$0 ;;
15506
14778
  *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
15546
14818
(unset CDPATH) >/dev/null 2>&1 && unset CDPATH
15547
14819
 
15548
14820
 
15549
 
# as_fn_error STATUS ERROR [LINENO LOG_FD]
15550
 
# ----------------------------------------
 
14821
# as_fn_error ERROR [LINENO LOG_FD]
 
14822
# ---------------------------------
15551
14823
# Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
15552
14824
# provided, also output the error to LOG_FD, referencing LINENO. Then exit the
15553
 
# script with STATUS, using 1 if that was 0.
 
14825
# script with status $?, using 1 if that was 0.
15554
14826
as_fn_error ()
15555
14827
{
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
 
14828
  as_status=$?; test $as_status -eq 0 && as_status=1
 
14829
  if test "$3"; then
 
14830
    as_lineno=${as_lineno-"$2"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
 
14831
    $as_echo "$as_me:${as_lineno-$LINENO}: error: $1" >&$3
15560
14832
  fi
15561
 
  $as_echo "$as_me: error: $2" >&2
 
14833
  $as_echo "$as_me: error: $1" >&2
15562
14834
  as_fn_exit $as_status
15563
14835
} # as_fn_error
15564
14836
 
15754
15026
      test -d "$as_dir" && break
15755
15027
    done
15756
15028
    test -z "$as_dirs" || eval "mkdir $as_dirs"
15757
 
  } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
 
15029
  } || test -d "$as_dir" || as_fn_error "cannot create directory $as_dir"
15758
15030
 
15759
15031
 
15760
15032
} # as_fn_mkdir_p
15807
15079
# report actual input values of CONFIG_FILES etc. instead of their
15808
15080
# values after options handling.
15809
15081
ac_log="
15810
 
This file was extended by sqlite3cc $as_me 0.2dev, which was
15811
 
generated by GNU Autoconf 2.68.  Invocation command line was
 
15082
This file was extended by sqlite3cc $as_me 0.1.0, which was
 
15083
generated by GNU Autoconf 2.64.  Invocation command line was
15812
15084
 
15813
15085
  CONFIG_FILES    = $CONFIG_FILES
15814
15086
  CONFIG_HEADERS  = $CONFIG_HEADERS
15848
15120
 
15849
15121
  -h, --help       print this help, then exit
15850
15122
  -V, --version    print version number and configuration settings, then exit
15851
 
      --config     print configuration, then exit
15852
15123
  -q, --quiet, --silent
15853
15124
                   do not print progress messages
15854
15125
  -d, --debug      don't remove temporary files
15867
15138
Configuration commands:
15868
15139
$config_commands
15869
15140
 
15870
 
Report bugs to <tim@ed.am>.
15871
 
sqlite3cc home page: <http://ed.am/dev/sqlite3cc>."
 
15141
Report bugs to <edam@waxworlds.org>.
 
15142
sqlite3cc home page: <http://www.waxworlds.org/edam/software/sqlite3cc>."
15872
15143
 
15873
15144
_ACEOF
15874
15145
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
15875
 
ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
15876
15146
ac_cs_version="\\
15877
 
sqlite3cc config.status 0.2dev
15878
 
configured by $0, generated by GNU Autoconf 2.68,
15879
 
  with options \\"\$ac_cs_config\\"
 
15147
sqlite3cc config.status 0.1.0
 
15148
configured by $0, generated by GNU Autoconf 2.64,
 
15149
  with options \\"`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`\\"
15880
15150
 
15881
 
Copyright (C) 2010 Free Software Foundation, Inc.
 
15151
Copyright (C) 2009 Free Software Foundation, Inc.
15882
15152
This config.status script is free software; the Free Software Foundation
15883
15153
gives unlimited permission to copy, distribute and modify it."
15884
15154
 
15896
15166
while test $# != 0
15897
15167
do
15898
15168
  case $1 in
15899
 
  --*=?*)
 
15169
  --*=*)
15900
15170
    ac_option=`expr "X$1" : 'X\([^=]*\)='`
15901
15171
    ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
15902
15172
    ac_shift=:
15903
15173
    ;;
15904
 
  --*=)
15905
 
    ac_option=`expr "X$1" : 'X\([^=]*\)='`
15906
 
    ac_optarg=
15907
 
    ac_shift=:
15908
 
    ;;
15909
15174
  *)
15910
15175
    ac_option=$1
15911
15176
    ac_optarg=$2
15919
15184
    ac_cs_recheck=: ;;
15920
15185
  --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
15921
15186
    $as_echo "$ac_cs_version"; exit ;;
15922
 
  --config | --confi | --conf | --con | --co | --c )
15923
 
    $as_echo "$ac_cs_config"; exit ;;
15924
15187
  --debug | --debu | --deb | --de | --d | -d )
15925
15188
    debug=: ;;
15926
15189
  --file | --fil | --fi | --f )
15927
15190
    $ac_shift
15928
15191
    case $ac_optarg in
15929
15192
    *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
15930
 
    '') as_fn_error $? "missing file argument" ;;
15931
15193
    esac
15932
15194
    as_fn_append CONFIG_FILES " '$ac_optarg'"
15933
15195
    ac_need_defaults=false;;
15940
15202
    ac_need_defaults=false;;
15941
15203
  --he | --h)
15942
15204
    # Conflict between --help and --header
15943
 
    as_fn_error $? "ambiguous option: \`$1'
 
15205
    as_fn_error "ambiguous option: \`$1'
15944
15206
Try \`$0 --help' for more information.";;
15945
15207
  --help | --hel | -h )
15946
15208
    $as_echo "$ac_cs_usage"; exit ;;
15949
15211
    ac_cs_silent=: ;;
15950
15212
 
15951
15213
  # This is an error.
15952
 
  -*) as_fn_error $? "unrecognized option: \`$1'
 
15214
  -*) as_fn_error "unrecognized option: \`$1'
15953
15215
Try \`$0 --help' for more information." ;;
15954
15216
 
15955
15217
  *) as_fn_append ac_config_targets " $1"
16003
15265
sed_quote_subst='$sed_quote_subst'
16004
15266
double_quote_subst='$double_quote_subst'
16005
15267
delay_variable_subst='$delay_variable_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"`'
 
15268
macro_version='`$ECHO "X$macro_version" | $Xsed -e "$delay_single_quote_subst"`'
 
15269
macro_revision='`$ECHO "X$macro_revision" | $Xsed -e "$delay_single_quote_subst"`'
 
15270
enable_shared='`$ECHO "X$enable_shared" | $Xsed -e "$delay_single_quote_subst"`'
 
15271
enable_static='`$ECHO "X$enable_static" | $Xsed -e "$delay_single_quote_subst"`'
 
15272
pic_mode='`$ECHO "X$pic_mode" | $Xsed -e "$delay_single_quote_subst"`'
 
15273
enable_fast_install='`$ECHO "X$enable_fast_install" | $Xsed -e "$delay_single_quote_subst"`'
 
15274
host_alias='`$ECHO "X$host_alias" | $Xsed -e "$delay_single_quote_subst"`'
 
15275
host='`$ECHO "X$host" | $Xsed -e "$delay_single_quote_subst"`'
 
15276
host_os='`$ECHO "X$host_os" | $Xsed -e "$delay_single_quote_subst"`'
 
15277
build_alias='`$ECHO "X$build_alias" | $Xsed -e "$delay_single_quote_subst"`'
 
15278
build='`$ECHO "X$build" | $Xsed -e "$delay_single_quote_subst"`'
 
15279
build_os='`$ECHO "X$build_os" | $Xsed -e "$delay_single_quote_subst"`'
 
15280
SED='`$ECHO "X$SED" | $Xsed -e "$delay_single_quote_subst"`'
 
15281
Xsed='`$ECHO "X$Xsed" | $Xsed -e "$delay_single_quote_subst"`'
 
15282
GREP='`$ECHO "X$GREP" | $Xsed -e "$delay_single_quote_subst"`'
 
15283
EGREP='`$ECHO "X$EGREP" | $Xsed -e "$delay_single_quote_subst"`'
 
15284
FGREP='`$ECHO "X$FGREP" | $Xsed -e "$delay_single_quote_subst"`'
 
15285
LD='`$ECHO "X$LD" | $Xsed -e "$delay_single_quote_subst"`'
 
15286
NM='`$ECHO "X$NM" | $Xsed -e "$delay_single_quote_subst"`'
 
15287
LN_S='`$ECHO "X$LN_S" | $Xsed -e "$delay_single_quote_subst"`'
 
15288
max_cmd_len='`$ECHO "X$max_cmd_len" | $Xsed -e "$delay_single_quote_subst"`'
 
15289
ac_objext='`$ECHO "X$ac_objext" | $Xsed -e "$delay_single_quote_subst"`'
 
15290
exeext='`$ECHO "X$exeext" | $Xsed -e "$delay_single_quote_subst"`'
 
15291
lt_unset='`$ECHO "X$lt_unset" | $Xsed -e "$delay_single_quote_subst"`'
 
15292
lt_SP2NL='`$ECHO "X$lt_SP2NL" | $Xsed -e "$delay_single_quote_subst"`'
 
15293
lt_NL2SP='`$ECHO "X$lt_NL2SP" | $Xsed -e "$delay_single_quote_subst"`'
 
15294
reload_flag='`$ECHO "X$reload_flag" | $Xsed -e "$delay_single_quote_subst"`'
 
15295
reload_cmds='`$ECHO "X$reload_cmds" | $Xsed -e "$delay_single_quote_subst"`'
 
15296
OBJDUMP='`$ECHO "X$OBJDUMP" | $Xsed -e "$delay_single_quote_subst"`'
 
15297
deplibs_check_method='`$ECHO "X$deplibs_check_method" | $Xsed -e "$delay_single_quote_subst"`'
 
15298
file_magic_cmd='`$ECHO "X$file_magic_cmd" | $Xsed -e "$delay_single_quote_subst"`'
 
15299
AR='`$ECHO "X$AR" | $Xsed -e "$delay_single_quote_subst"`'
 
15300
AR_FLAGS='`$ECHO "X$AR_FLAGS" | $Xsed -e "$delay_single_quote_subst"`'
 
15301
STRIP='`$ECHO "X$STRIP" | $Xsed -e "$delay_single_quote_subst"`'
 
15302
RANLIB='`$ECHO "X$RANLIB" | $Xsed -e "$delay_single_quote_subst"`'
 
15303
old_postinstall_cmds='`$ECHO "X$old_postinstall_cmds" | $Xsed -e "$delay_single_quote_subst"`'
 
15304
old_postuninstall_cmds='`$ECHO "X$old_postuninstall_cmds" | $Xsed -e "$delay_single_quote_subst"`'
 
15305
old_archive_cmds='`$ECHO "X$old_archive_cmds" | $Xsed -e "$delay_single_quote_subst"`'
 
15306
CC='`$ECHO "X$CC" | $Xsed -e "$delay_single_quote_subst"`'
 
15307
CFLAGS='`$ECHO "X$CFLAGS" | $Xsed -e "$delay_single_quote_subst"`'
 
15308
compiler='`$ECHO "X$compiler" | $Xsed -e "$delay_single_quote_subst"`'
 
15309
GCC='`$ECHO "X$GCC" | $Xsed -e "$delay_single_quote_subst"`'
 
15310
lt_cv_sys_global_symbol_pipe='`$ECHO "X$lt_cv_sys_global_symbol_pipe" | $Xsed -e "$delay_single_quote_subst"`'
 
15311
lt_cv_sys_global_symbol_to_cdecl='`$ECHO "X$lt_cv_sys_global_symbol_to_cdecl" | $Xsed -e "$delay_single_quote_subst"`'
 
15312
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"`'
 
15313
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"`'
 
15314
objdir='`$ECHO "X$objdir" | $Xsed -e "$delay_single_quote_subst"`'
 
15315
SHELL='`$ECHO "X$SHELL" | $Xsed -e "$delay_single_quote_subst"`'
 
15316
ECHO='`$ECHO "X$ECHO" | $Xsed -e "$delay_single_quote_subst"`'
 
15317
MAGIC_CMD='`$ECHO "X$MAGIC_CMD" | $Xsed -e "$delay_single_quote_subst"`'
 
15318
lt_prog_compiler_no_builtin_flag='`$ECHO "X$lt_prog_compiler_no_builtin_flag" | $Xsed -e "$delay_single_quote_subst"`'
 
15319
lt_prog_compiler_wl='`$ECHO "X$lt_prog_compiler_wl" | $Xsed -e "$delay_single_quote_subst"`'
 
15320
lt_prog_compiler_pic='`$ECHO "X$lt_prog_compiler_pic" | $Xsed -e "$delay_single_quote_subst"`'
 
15321
lt_prog_compiler_static='`$ECHO "X$lt_prog_compiler_static" | $Xsed -e "$delay_single_quote_subst"`'
 
15322
lt_cv_prog_compiler_c_o='`$ECHO "X$lt_cv_prog_compiler_c_o" | $Xsed -e "$delay_single_quote_subst"`'
 
15323
need_locks='`$ECHO "X$need_locks" | $Xsed -e "$delay_single_quote_subst"`'
 
15324
DSYMUTIL='`$ECHO "X$DSYMUTIL" | $Xsed -e "$delay_single_quote_subst"`'
 
15325
NMEDIT='`$ECHO "X$NMEDIT" | $Xsed -e "$delay_single_quote_subst"`'
 
15326
LIPO='`$ECHO "X$LIPO" | $Xsed -e "$delay_single_quote_subst"`'
 
15327
OTOOL='`$ECHO "X$OTOOL" | $Xsed -e "$delay_single_quote_subst"`'
 
15328
OTOOL64='`$ECHO "X$OTOOL64" | $Xsed -e "$delay_single_quote_subst"`'
 
15329
libext='`$ECHO "X$libext" | $Xsed -e "$delay_single_quote_subst"`'
 
15330
shrext_cmds='`$ECHO "X$shrext_cmds" | $Xsed -e "$delay_single_quote_subst"`'
 
15331
extract_expsyms_cmds='`$ECHO "X$extract_expsyms_cmds" | $Xsed -e "$delay_single_quote_subst"`'
 
15332
archive_cmds_need_lc='`$ECHO "X$archive_cmds_need_lc" | $Xsed -e "$delay_single_quote_subst"`'
 
15333
enable_shared_with_static_runtimes='`$ECHO "X$enable_shared_with_static_runtimes" | $Xsed -e "$delay_single_quote_subst"`'
 
15334
export_dynamic_flag_spec='`$ECHO "X$export_dynamic_flag_spec" | $Xsed -e "$delay_single_quote_subst"`'
 
15335
whole_archive_flag_spec='`$ECHO "X$whole_archive_flag_spec" | $Xsed -e "$delay_single_quote_subst"`'
 
15336
compiler_needs_object='`$ECHO "X$compiler_needs_object" | $Xsed -e "$delay_single_quote_subst"`'
 
15337
old_archive_from_new_cmds='`$ECHO "X$old_archive_from_new_cmds" | $Xsed -e "$delay_single_quote_subst"`'
 
15338
old_archive_from_expsyms_cmds='`$ECHO "X$old_archive_from_expsyms_cmds" | $Xsed -e "$delay_single_quote_subst"`'
 
15339
archive_cmds='`$ECHO "X$archive_cmds" | $Xsed -e "$delay_single_quote_subst"`'
 
15340
archive_expsym_cmds='`$ECHO "X$archive_expsym_cmds" | $Xsed -e "$delay_single_quote_subst"`'
 
15341
module_cmds='`$ECHO "X$module_cmds" | $Xsed -e "$delay_single_quote_subst"`'
 
15342
module_expsym_cmds='`$ECHO "X$module_expsym_cmds" | $Xsed -e "$delay_single_quote_subst"`'
 
15343
with_gnu_ld='`$ECHO "X$with_gnu_ld" | $Xsed -e "$delay_single_quote_subst"`'
 
15344
allow_undefined_flag='`$ECHO "X$allow_undefined_flag" | $Xsed -e "$delay_single_quote_subst"`'
 
15345
no_undefined_flag='`$ECHO "X$no_undefined_flag" | $Xsed -e "$delay_single_quote_subst"`'
 
15346
hardcode_libdir_flag_spec='`$ECHO "X$hardcode_libdir_flag_spec" | $Xsed -e "$delay_single_quote_subst"`'
 
15347
hardcode_libdir_flag_spec_ld='`$ECHO "X$hardcode_libdir_flag_spec_ld" | $Xsed -e "$delay_single_quote_subst"`'
 
15348
hardcode_libdir_separator='`$ECHO "X$hardcode_libdir_separator" | $Xsed -e "$delay_single_quote_subst"`'
 
15349
hardcode_direct='`$ECHO "X$hardcode_direct" | $Xsed -e "$delay_single_quote_subst"`'
 
15350
hardcode_direct_absolute='`$ECHO "X$hardcode_direct_absolute" | $Xsed -e "$delay_single_quote_subst"`'
 
15351
hardcode_minus_L='`$ECHO "X$hardcode_minus_L" | $Xsed -e "$delay_single_quote_subst"`'
 
15352
hardcode_shlibpath_var='`$ECHO "X$hardcode_shlibpath_var" | $Xsed -e "$delay_single_quote_subst"`'
 
15353
hardcode_automatic='`$ECHO "X$hardcode_automatic" | $Xsed -e "$delay_single_quote_subst"`'
 
15354
inherit_rpath='`$ECHO "X$inherit_rpath" | $Xsed -e "$delay_single_quote_subst"`'
 
15355
link_all_deplibs='`$ECHO "X$link_all_deplibs" | $Xsed -e "$delay_single_quote_subst"`'
 
15356
fix_srcfile_path='`$ECHO "X$fix_srcfile_path" | $Xsed -e "$delay_single_quote_subst"`'
 
15357
always_export_symbols='`$ECHO "X$always_export_symbols" | $Xsed -e "$delay_single_quote_subst"`'
 
15358
export_symbols_cmds='`$ECHO "X$export_symbols_cmds" | $Xsed -e "$delay_single_quote_subst"`'
 
15359
exclude_expsyms='`$ECHO "X$exclude_expsyms" | $Xsed -e "$delay_single_quote_subst"`'
 
15360
include_expsyms='`$ECHO "X$include_expsyms" | $Xsed -e "$delay_single_quote_subst"`'
 
15361
prelink_cmds='`$ECHO "X$prelink_cmds" | $Xsed -e "$delay_single_quote_subst"`'
 
15362
file_list_spec='`$ECHO "X$file_list_spec" | $Xsed -e "$delay_single_quote_subst"`'
 
15363
variables_saved_for_relink='`$ECHO "X$variables_saved_for_relink" | $Xsed -e "$delay_single_quote_subst"`'
 
15364
need_lib_prefix='`$ECHO "X$need_lib_prefix" | $Xsed -e "$delay_single_quote_subst"`'
 
15365
need_version='`$ECHO "X$need_version" | $Xsed -e "$delay_single_quote_subst"`'
 
15366
version_type='`$ECHO "X$version_type" | $Xsed -e "$delay_single_quote_subst"`'
 
15367
runpath_var='`$ECHO "X$runpath_var" | $Xsed -e "$delay_single_quote_subst"`'
 
15368
shlibpath_var='`$ECHO "X$shlibpath_var" | $Xsed -e "$delay_single_quote_subst"`'
 
15369
shlibpath_overrides_runpath='`$ECHO "X$shlibpath_overrides_runpath" | $Xsed -e "$delay_single_quote_subst"`'
 
15370
libname_spec='`$ECHO "X$libname_spec" | $Xsed -e "$delay_single_quote_subst"`'
 
15371
library_names_spec='`$ECHO "X$library_names_spec" | $Xsed -e "$delay_single_quote_subst"`'
 
15372
soname_spec='`$ECHO "X$soname_spec" | $Xsed -e "$delay_single_quote_subst"`'
 
15373
postinstall_cmds='`$ECHO "X$postinstall_cmds" | $Xsed -e "$delay_single_quote_subst"`'
 
15374
postuninstall_cmds='`$ECHO "X$postuninstall_cmds" | $Xsed -e "$delay_single_quote_subst"`'
 
15375
finish_cmds='`$ECHO "X$finish_cmds" | $Xsed -e "$delay_single_quote_subst"`'
 
15376
finish_eval='`$ECHO "X$finish_eval" | $Xsed -e "$delay_single_quote_subst"`'
 
15377
hardcode_into_libs='`$ECHO "X$hardcode_into_libs" | $Xsed -e "$delay_single_quote_subst"`'
 
15378
sys_lib_search_path_spec='`$ECHO "X$sys_lib_search_path_spec" | $Xsed -e "$delay_single_quote_subst"`'
 
15379
sys_lib_dlsearch_path_spec='`$ECHO "X$sys_lib_dlsearch_path_spec" | $Xsed -e "$delay_single_quote_subst"`'
 
15380
hardcode_action='`$ECHO "X$hardcode_action" | $Xsed -e "$delay_single_quote_subst"`'
 
15381
enable_dlopen='`$ECHO "X$enable_dlopen" | $Xsed -e "$delay_single_quote_subst"`'
 
15382
enable_dlopen_self='`$ECHO "X$enable_dlopen_self" | $Xsed -e "$delay_single_quote_subst"`'
 
15383
enable_dlopen_self_static='`$ECHO "X$enable_dlopen_self_static" | $Xsed -e "$delay_single_quote_subst"`'
 
15384
old_striplib='`$ECHO "X$old_striplib" | $Xsed -e "$delay_single_quote_subst"`'
 
15385
striplib='`$ECHO "X$striplib" | $Xsed -e "$delay_single_quote_subst"`'
 
15386
compiler_lib_search_dirs='`$ECHO "X$compiler_lib_search_dirs" | $Xsed -e "$delay_single_quote_subst"`'
 
15387
predep_objects='`$ECHO "X$predep_objects" | $Xsed -e "$delay_single_quote_subst"`'
 
15388
postdep_objects='`$ECHO "X$postdep_objects" | $Xsed -e "$delay_single_quote_subst"`'
 
15389
predeps='`$ECHO "X$predeps" | $Xsed -e "$delay_single_quote_subst"`'
 
15390
postdeps='`$ECHO "X$postdeps" | $Xsed -e "$delay_single_quote_subst"`'
 
15391
compiler_lib_search_path='`$ECHO "X$compiler_lib_search_path" | $Xsed -e "$delay_single_quote_subst"`'
 
15392
LD_CXX='`$ECHO "X$LD_CXX" | $Xsed -e "$delay_single_quote_subst"`'
 
15393
old_archive_cmds_CXX='`$ECHO "X$old_archive_cmds_CXX" | $Xsed -e "$delay_single_quote_subst"`'
 
15394
compiler_CXX='`$ECHO "X$compiler_CXX" | $Xsed -e "$delay_single_quote_subst"`'
 
15395
GCC_CXX='`$ECHO "X$GCC_CXX" | $Xsed -e "$delay_single_quote_subst"`'
 
15396
lt_prog_compiler_no_builtin_flag_CXX='`$ECHO "X$lt_prog_compiler_no_builtin_flag_CXX" | $Xsed -e "$delay_single_quote_subst"`'
 
15397
lt_prog_compiler_wl_CXX='`$ECHO "X$lt_prog_compiler_wl_CXX" | $Xsed -e "$delay_single_quote_subst"`'
 
15398
lt_prog_compiler_pic_CXX='`$ECHO "X$lt_prog_compiler_pic_CXX" | $Xsed -e "$delay_single_quote_subst"`'
 
15399
lt_prog_compiler_static_CXX='`$ECHO "X$lt_prog_compiler_static_CXX" | $Xsed -e "$delay_single_quote_subst"`'
 
15400
lt_cv_prog_compiler_c_o_CXX='`$ECHO "X$lt_cv_prog_compiler_c_o_CXX" | $Xsed -e "$delay_single_quote_subst"`'
 
15401
archive_cmds_need_lc_CXX='`$ECHO "X$archive_cmds_need_lc_CXX" | $Xsed -e "$delay_single_quote_subst"`'
 
15402
enable_shared_with_static_runtimes_CXX='`$ECHO "X$enable_shared_with_static_runtimes_CXX" | $Xsed -e "$delay_single_quote_subst"`'
 
15403
export_dynamic_flag_spec_CXX='`$ECHO "X$export_dynamic_flag_spec_CXX" | $Xsed -e "$delay_single_quote_subst"`'
 
15404
whole_archive_flag_spec_CXX='`$ECHO "X$whole_archive_flag_spec_CXX" | $Xsed -e "$delay_single_quote_subst"`'
 
15405
compiler_needs_object_CXX='`$ECHO "X$compiler_needs_object_CXX" | $Xsed -e "$delay_single_quote_subst"`'
 
15406
old_archive_from_new_cmds_CXX='`$ECHO "X$old_archive_from_new_cmds_CXX" | $Xsed -e "$delay_single_quote_subst"`'
 
15407
old_archive_from_expsyms_cmds_CXX='`$ECHO "X$old_archive_from_expsyms_cmds_CXX" | $Xsed -e "$delay_single_quote_subst"`'
 
15408
archive_cmds_CXX='`$ECHO "X$archive_cmds_CXX" | $Xsed -e "$delay_single_quote_subst"`'
 
15409
archive_expsym_cmds_CXX='`$ECHO "X$archive_expsym_cmds_CXX" | $Xsed -e "$delay_single_quote_subst"`'
 
15410
module_cmds_CXX='`$ECHO "X$module_cmds_CXX" | $Xsed -e "$delay_single_quote_subst"`'
 
15411
module_expsym_cmds_CXX='`$ECHO "X$module_expsym_cmds_CXX" | $Xsed -e "$delay_single_quote_subst"`'
 
15412
with_gnu_ld_CXX='`$ECHO "X$with_gnu_ld_CXX" | $Xsed -e "$delay_single_quote_subst"`'
 
15413
allow_undefined_flag_CXX='`$ECHO "X$allow_undefined_flag_CXX" | $Xsed -e "$delay_single_quote_subst"`'
 
15414
no_undefined_flag_CXX='`$ECHO "X$no_undefined_flag_CXX" | $Xsed -e "$delay_single_quote_subst"`'
 
15415
hardcode_libdir_flag_spec_CXX='`$ECHO "X$hardcode_libdir_flag_spec_CXX" | $Xsed -e "$delay_single_quote_subst"`'
 
15416
hardcode_libdir_flag_spec_ld_CXX='`$ECHO "X$hardcode_libdir_flag_spec_ld_CXX" | $Xsed -e "$delay_single_quote_subst"`'
 
15417
hardcode_libdir_separator_CXX='`$ECHO "X$hardcode_libdir_separator_CXX" | $Xsed -e "$delay_single_quote_subst"`'
 
15418
hardcode_direct_CXX='`$ECHO "X$hardcode_direct_CXX" | $Xsed -e "$delay_single_quote_subst"`'
 
15419
hardcode_direct_absolute_CXX='`$ECHO "X$hardcode_direct_absolute_CXX" | $Xsed -e "$delay_single_quote_subst"`'
 
15420
hardcode_minus_L_CXX='`$ECHO "X$hardcode_minus_L_CXX" | $Xsed -e "$delay_single_quote_subst"`'
 
15421
hardcode_shlibpath_var_CXX='`$ECHO "X$hardcode_shlibpath_var_CXX" | $Xsed -e "$delay_single_quote_subst"`'
 
15422
hardcode_automatic_CXX='`$ECHO "X$hardcode_automatic_CXX" | $Xsed -e "$delay_single_quote_subst"`'
 
15423
inherit_rpath_CXX='`$ECHO "X$inherit_rpath_CXX" | $Xsed -e "$delay_single_quote_subst"`'
 
15424
link_all_deplibs_CXX='`$ECHO "X$link_all_deplibs_CXX" | $Xsed -e "$delay_single_quote_subst"`'
 
15425
fix_srcfile_path_CXX='`$ECHO "X$fix_srcfile_path_CXX" | $Xsed -e "$delay_single_quote_subst"`'
 
15426
always_export_symbols_CXX='`$ECHO "X$always_export_symbols_CXX" | $Xsed -e "$delay_single_quote_subst"`'
 
15427
export_symbols_cmds_CXX='`$ECHO "X$export_symbols_cmds_CXX" | $Xsed -e "$delay_single_quote_subst"`'
 
15428
exclude_expsyms_CXX='`$ECHO "X$exclude_expsyms_CXX" | $Xsed -e "$delay_single_quote_subst"`'
 
15429
include_expsyms_CXX='`$ECHO "X$include_expsyms_CXX" | $Xsed -e "$delay_single_quote_subst"`'
 
15430
prelink_cmds_CXX='`$ECHO "X$prelink_cmds_CXX" | $Xsed -e "$delay_single_quote_subst"`'
 
15431
file_list_spec_CXX='`$ECHO "X$file_list_spec_CXX" | $Xsed -e "$delay_single_quote_subst"`'
 
15432
hardcode_action_CXX='`$ECHO "X$hardcode_action_CXX" | $Xsed -e "$delay_single_quote_subst"`'
 
15433
compiler_lib_search_dirs_CXX='`$ECHO "X$compiler_lib_search_dirs_CXX" | $Xsed -e "$delay_single_quote_subst"`'
 
15434
predep_objects_CXX='`$ECHO "X$predep_objects_CXX" | $Xsed -e "$delay_single_quote_subst"`'
 
15435
postdep_objects_CXX='`$ECHO "X$postdep_objects_CXX" | $Xsed -e "$delay_single_quote_subst"`'
 
15436
predeps_CXX='`$ECHO "X$predeps_CXX" | $Xsed -e "$delay_single_quote_subst"`'
 
15437
postdeps_CXX='`$ECHO "X$postdeps_CXX" | $Xsed -e "$delay_single_quote_subst"`'
 
15438
compiler_lib_search_path_CXX='`$ECHO "X$compiler_lib_search_path_CXX" | $Xsed -e "$delay_single_quote_subst"`'
16190
15439
 
16191
15440
LTCC='$LTCC'
16192
15441
LTCFLAGS='$LTCFLAGS'
16193
15442
compiler='$compiler_DEFAULT'
16194
15443
 
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
 
 
16203
15444
# Quote evaled strings.
16204
 
for var in SHELL \
16205
 
ECHO \
16206
 
PATH_SEPARATOR \
16207
 
SED \
 
15445
for var in SED \
16208
15446
GREP \
16209
15447
EGREP \
16210
15448
FGREP \
16217
15455
OBJDUMP \
16218
15456
deplibs_check_method \
16219
15457
file_magic_cmd \
16220
 
file_magic_glob \
16221
 
want_nocaseglob \
16222
 
DLLTOOL \
16223
 
sharedlib_from_linklib_cmd \
16224
15458
AR \
16225
15459
AR_FLAGS \
16226
 
archiver_list_spec \
16227
15460
STRIP \
16228
15461
RANLIB \
16229
15462
CC \
16233
15466
lt_cv_sys_global_symbol_to_cdecl \
16234
15467
lt_cv_sys_global_symbol_to_c_name_address \
16235
15468
lt_cv_sys_global_symbol_to_c_name_address_lib_prefix \
16236
 
nm_file_list_spec \
 
15469
SHELL \
 
15470
ECHO \
16237
15471
lt_prog_compiler_no_builtin_flag \
 
15472
lt_prog_compiler_wl \
16238
15473
lt_prog_compiler_pic \
16239
 
lt_prog_compiler_wl \
16240
15474
lt_prog_compiler_static \
16241
15475
lt_cv_prog_compiler_c_o \
16242
15476
need_locks \
16243
 
MANIFEST_TOOL \
16244
15477
DSYMUTIL \
16245
15478
NMEDIT \
16246
15479
LIPO \
16254
15487
allow_undefined_flag \
16255
15488
no_undefined_flag \
16256
15489
hardcode_libdir_flag_spec \
 
15490
hardcode_libdir_flag_spec_ld \
16257
15491
hardcode_libdir_separator \
 
15492
fix_srcfile_path \
16258
15493
exclude_expsyms \
16259
15494
include_expsyms \
16260
15495
file_list_spec \
16262
15497
libname_spec \
16263
15498
library_names_spec \
16264
15499
soname_spec \
16265
 
install_override_mode \
16266
15500
finish_eval \
16267
15501
old_striplib \
16268
15502
striplib \
16273
15507
postdeps \
16274
15508
compiler_lib_search_path \
16275
15509
LD_CXX \
16276
 
reload_flag_CXX \
16277
15510
compiler_CXX \
16278
15511
lt_prog_compiler_no_builtin_flag_CXX \
 
15512
lt_prog_compiler_wl_CXX \
16279
15513
lt_prog_compiler_pic_CXX \
16280
 
lt_prog_compiler_wl_CXX \
16281
15514
lt_prog_compiler_static_CXX \
16282
15515
lt_cv_prog_compiler_c_o_CXX \
16283
15516
export_dynamic_flag_spec_CXX \
16287
15520
allow_undefined_flag_CXX \
16288
15521
no_undefined_flag_CXX \
16289
15522
hardcode_libdir_flag_spec_CXX \
 
15523
hardcode_libdir_flag_spec_ld_CXX \
16290
15524
hardcode_libdir_separator_CXX \
 
15525
fix_srcfile_path_CXX \
16291
15526
exclude_expsyms_CXX \
16292
15527
include_expsyms_CXX \
16293
15528
file_list_spec_CXX \
16297
15532
predeps_CXX \
16298
15533
postdeps_CXX \
16299
15534
compiler_lib_search_path_CXX; do
16300
 
    case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
 
15535
    case \`eval \\\\\$ECHO "X\\\\\$\$var"\` in
16301
15536
    *[\\\\\\\`\\"\\\$]*)
16302
 
      eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED \\"\\\$sed_quote_subst\\"\\\`\\\\\\""
 
15537
      eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"X\\\$\$var\\" | \\\$Xsed -e \\"\\\$sed_quote_subst\\"\\\`\\\\\\""
16303
15538
      ;;
16304
15539
    *)
16305
15540
      eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
16321
15556
module_expsym_cmds \
16322
15557
export_symbols_cmds \
16323
15558
prelink_cmds \
16324
 
postlink_cmds \
16325
15559
postinstall_cmds \
16326
15560
postuninstall_cmds \
16327
15561
finish_cmds \
16328
15562
sys_lib_search_path_spec \
16329
15563
sys_lib_dlsearch_path_spec \
16330
 
reload_cmds_CXX \
16331
15564
old_archive_cmds_CXX \
16332
15565
old_archive_from_new_cmds_CXX \
16333
15566
old_archive_from_expsyms_cmds_CXX \
16336
15569
module_cmds_CXX \
16337
15570
module_expsym_cmds_CXX \
16338
15571
export_symbols_cmds_CXX \
16339
 
prelink_cmds_CXX \
16340
 
postlink_cmds_CXX; do
16341
 
    case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
 
15572
prelink_cmds_CXX; do
 
15573
    case \`eval \\\\\$ECHO "X\\\\\$\$var"\` in
16342
15574
    *[\\\\\\\`\\"\\\$]*)
16343
 
      eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED -e \\"\\\$double_quote_subst\\" -e \\"\\\$sed_quote_subst\\" -e \\"\\\$delay_variable_subst\\"\\\`\\\\\\""
 
15575
      eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"X\\\$\$var\\" | \\\$Xsed -e \\"\\\$double_quote_subst\\" -e \\"\\\$sed_quote_subst\\" -e \\"\\\$delay_variable_subst\\"\\\`\\\\\\""
16344
15576
      ;;
16345
15577
    *)
16346
15578
      eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
16348
15580
    esac
16349
15581
done
16350
15582
 
 
15583
# Fix-up fallback echo if it was mangled by the above quoting rules.
 
15584
case \$lt_ECHO in
 
15585
*'\\\$0 --fallback-echo"')  lt_ECHO=\`\$ECHO "X\$lt_ECHO" | \$Xsed -e 's/\\\\\\\\\\\\\\\$0 --fallback-echo"\$/\$0 --fallback-echo"/'\`
 
15586
  ;;
 
15587
esac
 
15588
 
16351
15589
ac_aux_dir='$ac_aux_dir'
16352
15590
xsi_shell='$xsi_shell'
16353
15591
lt_shell_append='$lt_shell_append'
16386
15624
    "include/Makefile") CONFIG_FILES="$CONFIG_FILES include/Makefile" ;;
16387
15625
    "test/Makefile") CONFIG_FILES="$CONFIG_FILES test/Makefile" ;;
16388
15626
 
16389
 
  *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
 
15627
  *) as_fn_error "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
16390
15628
  esac
16391
15629
done
16392
15630
 
16409
15647
# after its creation but before its name has been assigned to `$tmp'.
16410
15648
$debug ||
16411
15649
{
16412
 
  tmp= ac_tmp=
 
15650
  tmp=
16413
15651
  trap 'exit_status=$?
16414
 
  : "${ac_tmp:=$tmp}"
16415
 
  { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
 
15652
  { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status
16416
15653
' 0
16417
15654
  trap 'as_fn_exit 1' 1 2 13 15
16418
15655
}
16420
15657
 
16421
15658
{
16422
15659
  tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
16423
 
  test -d "$tmp"
 
15660
  test -n "$tmp" && test -d "$tmp"
16424
15661
}  ||
16425
15662
{
16426
15663
  tmp=./conf$$-$RANDOM
16427
15664
  (umask 077 && mkdir "$tmp")
16428
 
} || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5
16429
 
ac_tmp=$tmp
 
15665
} || as_fn_error "cannot create a temporary directory in ." "$LINENO" 5
16430
15666
 
16431
15667
# Set up the scripts for CONFIG_FILES section.
16432
15668
# No need to generate them if there are no CONFIG_FILES.
16443
15679
fi
16444
15680
ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
16445
15681
if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
16446
 
  ac_cs_awk_cr='\\r'
 
15682
  ac_cs_awk_cr='\r'
16447
15683
else
16448
15684
  ac_cs_awk_cr=$ac_cr
16449
15685
fi
16450
15686
 
16451
 
echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&
 
15687
echo 'BEGIN {' >"$tmp/subs1.awk" &&
16452
15688
_ACEOF
16453
15689
 
16454
15690
 
16457
15693
  echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
16458
15694
  echo "_ACEOF"
16459
15695
} >conf$$subs.sh ||
16460
 
  as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
16461
 
ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
 
15696
  as_fn_error "could not make $CONFIG_STATUS" "$LINENO" 5
 
15697
ac_delim_num=`echo "$ac_subst_vars" | grep -c '$'`
16462
15698
ac_delim='%!_!# '
16463
15699
for ac_last_try in false false false false false :; do
16464
15700
  . ./conf$$subs.sh ||
16465
 
    as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
 
15701
    as_fn_error "could not make $CONFIG_STATUS" "$LINENO" 5
16466
15702
 
16467
15703
  ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
16468
15704
  if test $ac_delim_n = $ac_delim_num; then
16469
15705
    break
16470
15706
  elif $ac_last_try; then
16471
 
    as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
 
15707
    as_fn_error "could not make $CONFIG_STATUS" "$LINENO" 5
16472
15708
  else
16473
15709
    ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
16474
15710
  fi
16476
15712
rm -f conf$$subs.sh
16477
15713
 
16478
15714
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
16479
 
cat >>"\$ac_tmp/subs1.awk" <<\\_ACAWK &&
 
15715
cat >>"\$tmp/subs1.awk" <<\\_ACAWK &&
16480
15716
_ACEOF
16481
15717
sed -n '
16482
15718
h
16490
15726
t delim
16491
15727
:nl
16492
15728
h
16493
 
s/\(.\{148\}\)..*/\1/
 
15729
s/\(.\{148\}\).*/\1/
16494
15730
t more1
16495
15731
s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
16496
15732
p
16504
15740
t nl
16505
15741
:delim
16506
15742
h
16507
 
s/\(.\{148\}\)..*/\1/
 
15743
s/\(.\{148\}\).*/\1/
16508
15744
t more2
16509
15745
s/["\\]/\\&/g; s/^/"/; s/$/"/
16510
15746
p
16524
15760
rm -f conf$$subs.awk
16525
15761
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
16526
15762
_ACAWK
16527
 
cat >>"\$ac_tmp/subs1.awk" <<_ACAWK &&
 
15763
cat >>"\$tmp/subs1.awk" <<_ACAWK &&
16528
15764
  for (key in S) S_is_set[key] = 1
16529
15765
  FS = ""
16530
15766
 
16556
15792
  sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
16557
15793
else
16558
15794
  cat
16559
 
fi < "$ac_tmp/subs1.awk" > "$ac_tmp/subs.awk" \
16560
 
  || as_fn_error $? "could not setup config files machinery" "$LINENO" 5
 
15795
fi < "$tmp/subs1.awk" > "$tmp/subs.awk" \
 
15796
  || as_fn_error "could not setup config files machinery" "$LINENO" 5
16561
15797
_ACEOF
16562
15798
 
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
 
15799
# VPATH may cause trouble with some makes, so we remove $(srcdir),
 
15800
# ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
16565
15801
# trailing colons and then remove the whole line if VPATH becomes empty
16566
15802
# (actually we leave an empty line to preserve line numbers).
16567
15803
if test "x$srcdir" = x.; then
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/^:*//
 
15804
  ac_vpsub='/^[  ]*VPATH[        ]*=/{
 
15805
s/:*\$(srcdir):*/:/
 
15806
s/:*\${srcdir}:*/:/
 
15807
s/:*@srcdir@:*/:/
 
15808
s/^\([^=]*=[     ]*\):*/\1/
16577
15809
s/:*$//
16578
 
x
16579
 
s/\(=[   ]*\).*/\1/
16580
 
G
16581
 
s/\n//
16582
15810
s/^[^=]*=[       ]*$//
16583
15811
}'
16584
15812
fi
16590
15818
# No need to generate them if there are no CONFIG_HEADERS.
16591
15819
# This happens for instance with `./config.status Makefile'.
16592
15820
if test -n "$CONFIG_HEADERS"; then
16593
 
cat >"$ac_tmp/defines.awk" <<\_ACAWK ||
 
15821
cat >"$tmp/defines.awk" <<\_ACAWK ||
16594
15822
BEGIN {
16595
15823
_ACEOF
16596
15824
 
16602
15830
# handling of long lines.
16603
15831
ac_delim='%!_!# '
16604
15832
for ac_last_try in false false :; do
16605
 
  ac_tt=`sed -n "/$ac_delim/p" confdefs.h`
16606
 
  if test -z "$ac_tt"; then
 
15833
  ac_t=`sed -n "/$ac_delim/p" confdefs.h`
 
15834
  if test -z "$ac_t"; then
16607
15835
    break
16608
15836
  elif $ac_last_try; then
16609
 
    as_fn_error $? "could not make $CONFIG_HEADERS" "$LINENO" 5
 
15837
    as_fn_error "could not make $CONFIG_HEADERS" "$LINENO" 5
16610
15838
  else
16611
15839
    ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
16612
15840
  fi
16691
15919
_ACAWK
16692
15920
_ACEOF
16693
15921
cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
16694
 
  as_fn_error $? "could not setup config headers machinery" "$LINENO" 5
 
15922
  as_fn_error "could not setup config headers machinery" "$LINENO" 5
16695
15923
fi # test -n "$CONFIG_HEADERS"
16696
15924
 
16697
15925
 
16704
15932
  esac
16705
15933
  case $ac_mode$ac_tag in
16706
15934
  :[FHL]*:*);;
16707
 
  :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5;;
 
15935
  :L* | :C*:*) as_fn_error "invalid tag \`$ac_tag'" "$LINENO" 5;;
16708
15936
  :[FH]-) ac_tag=-:-;;
16709
15937
  :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
16710
15938
  esac
16723
15951
    for ac_f
16724
15952
    do
16725
15953
      case $ac_f in
16726
 
      -) ac_f="$ac_tmp/stdin";;
 
15954
      -) ac_f="$tmp/stdin";;
16727
15955
      *) # Look for the file first in the build tree, then in the source tree
16728
15956
         # (if the path is not absolute).  The absolute path cannot be DOS-style,
16729
15957
         # because $ac_f cannot contain `:'.
16732
15960
           [\\/$]*) false;;
16733
15961
           *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
16734
15962
           esac ||
16735
 
           as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
 
15963
           as_fn_error "cannot find input file: \`$ac_f'" "$LINENO" 5;;
16736
15964
      esac
16737
15965
      case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
16738
15966
      as_fn_append ac_file_inputs " '$ac_f'"
16758
15986
    esac
16759
15987
 
16760
15988
    case $ac_tag in
16761
 
    *:-:* | *:-) cat >"$ac_tmp/stdin" \
16762
 
      || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;;
 
15989
    *:-:* | *:-) cat >"$tmp/stdin" \
 
15990
      || as_fn_error "could not create $ac_file" "$LINENO" 5 ;;
16763
15991
    esac
16764
15992
    ;;
16765
15993
  esac
16895
16123
s&@MKDIR_P@&$ac_MKDIR_P&;t t
16896
16124
$ac_datarootdir_hack
16897
16125
"
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
 
16126
eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$tmp/subs.awk" >$tmp/out \
 
16127
  || as_fn_error "could not create $ac_file" "$LINENO" 5
16900
16128
 
16901
16129
test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
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"; } &&
 
16130
  { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out"`; test -n "$ac_out"; } &&
 
16131
  { ac_out=`sed -n '/^[  ]*datarootdir[  ]*:*=/p' "$tmp/out"`; test -z "$ac_out"; } &&
16905
16132
  { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
16906
 
which seems to be undefined.  Please make sure it is defined" >&5
 
16133
which seems to be undefined.  Please make sure it is defined." >&5
16907
16134
$as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
16908
 
which seems to be undefined.  Please make sure it is defined" >&2;}
 
16135
which seems to be undefined.  Please make sure it is defined." >&2;}
16909
16136
 
16910
 
  rm -f "$ac_tmp/stdin"
 
16137
  rm -f "$tmp/stdin"
16911
16138
  case $ac_file in
16912
 
  -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
16913
 
  *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
 
16139
  -) cat "$tmp/out" && rm -f "$tmp/out";;
 
16140
  *) rm -f "$ac_file" && mv "$tmp/out" "$ac_file";;
16914
16141
  esac \
16915
 
  || as_fn_error $? "could not create $ac_file" "$LINENO" 5
 
16142
  || as_fn_error "could not create $ac_file" "$LINENO" 5
16916
16143
 ;;
16917
16144
  :H)
16918
16145
  #
16921
16148
  if test x"$ac_file" != x-; then
16922
16149
    {
16923
16150
      $as_echo "/* $configure_input  */" \
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
 
16151
      && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs"
 
16152
    } >"$tmp/config.h" \
 
16153
      || as_fn_error "could not create $ac_file" "$LINENO" 5
 
16154
    if diff "$ac_file" "$tmp/config.h" >/dev/null 2>&1; then
16928
16155
      { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
16929
16156
$as_echo "$as_me: $ac_file is unchanged" >&6;}
16930
16157
    else
16931
16158
      rm -f "$ac_file"
16932
 
      mv "$ac_tmp/config.h" "$ac_file" \
16933
 
        || as_fn_error $? "could not create $ac_file" "$LINENO" 5
 
16159
      mv "$tmp/config.h" "$ac_file" \
 
16160
        || as_fn_error "could not create $ac_file" "$LINENO" 5
16934
16161
    fi
16935
16162
  else
16936
16163
    $as_echo "/* $configure_input  */" \
16937
 
      && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \
16938
 
      || as_fn_error $? "could not create -" "$LINENO" 5
 
16164
      && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs" \
 
16165
      || as_fn_error "could not create -" "$LINENO" 5
16939
16166
  fi
16940
16167
# Compute "$ac_file"'s index in $config_headers.
16941
16168
_am_arg="$ac_file"
17096
16323
# NOTE: Changes made to this file will be lost: look at ltmain.sh.
17097
16324
#
17098
16325
#   Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2003, 2004, 2005,
17099
 
#                 2006, 2007, 2008, 2009, 2010, 2011 Free Software
17100
 
#                 Foundation, Inc.
 
16326
#                 2006, 2007, 2008 Free Software Foundation, Inc.
17101
16327
#   Written by Gordon Matzigkeit, 1996
17102
16328
#
17103
16329
#   This file is part of GNU Libtool.
17145
16371
# Whether or not to optimize for fast installation.
17146
16372
fast_install=$enable_fast_install
17147
16373
 
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
 
 
17157
16374
# The host system.
17158
16375
host_alias=$host_alias
17159
16376
host=$host
17203
16420
# turn newlines into spaces.
17204
16421
NL2SP=$lt_lt_NL2SP
17205
16422
 
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
 
16423
# How to create reloadable object files.
 
16424
reload_flag=$lt_reload_flag
 
16425
reload_cmds=$lt_reload_cmds
17211
16426
 
17212
16427
# An object symbol dumper.
17213
16428
OBJDUMP=$lt_OBJDUMP
17215
16430
# Method to check whether dependent libraries are shared objects.
17216
16431
deplibs_check_method=$lt_deplibs_check_method
17217
16432
 
17218
 
# Command to use when deplibs_check_method = "file_magic".
 
16433
# Command to use when deplibs_check_method == "file_magic".
17219
16434
file_magic_cmd=$lt_file_magic_cmd
17220
16435
 
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
 
 
17233
16436
# The archiver.
17234
16437
AR=$lt_AR
17235
 
 
17236
 
# Flags to create an archive.
17237
16438
AR_FLAGS=$lt_AR_FLAGS
17238
16439
 
17239
 
# How to feed a file listing to the archiver.
17240
 
archiver_list_spec=$lt_archiver_list_spec
17241
 
 
17242
16440
# A symbol stripping program.
17243
16441
STRIP=$lt_STRIP
17244
16442
 
17247
16445
old_postinstall_cmds=$lt_old_postinstall_cmds
17248
16446
old_postuninstall_cmds=$lt_old_postuninstall_cmds
17249
16447
 
17250
 
# Whether to use a lock for old archive extraction.
17251
 
lock_old_archive_extraction=$lock_old_archive_extraction
17252
 
 
17253
16448
# A C compiler.
17254
16449
LTCC=$lt_CC
17255
16450
 
17268
16463
# Transform the output of nm in a C name address pair when lib prefix is needed.
17269
16464
global_symbol_to_c_name_address_lib_prefix=$lt_lt_cv_sys_global_symbol_to_c_name_address_lib_prefix
17270
16465
 
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
 
 
17277
16466
# The name of the directory that contains temporary libtool files.
17278
16467
objdir=$objdir
17279
16468
 
 
16469
# Shell to use when invoking shell scripts.
 
16470
SHELL=$lt_SHELL
 
16471
 
 
16472
# An echo program that does not interpret backslashes.
 
16473
ECHO=$lt_ECHO
 
16474
 
17280
16475
# Used to examine libraries when file_magic_cmd begins with "file".
17281
16476
MAGIC_CMD=$MAGIC_CMD
17282
16477
 
17283
16478
# Must we lock files when doing compilation?
17284
16479
need_locks=$lt_need_locks
17285
16480
 
17286
 
# Manifest tool.
17287
 
MANIFEST_TOOL=$lt_MANIFEST_TOOL
17288
 
 
17289
16481
# Tool to manipulate archived DWARF debug symbol files on Mac OS X.
17290
16482
DSYMUTIL=$lt_DSYMUTIL
17291
16483
 
17342
16534
# The coded name of the library, if different from the real name.
17343
16535
soname_spec=$lt_soname_spec
17344
16536
 
17345
 
# Permission mode override for installation of shared libraries.
17346
 
install_override_mode=$lt_install_override_mode
17347
 
 
17348
16537
# Command to use after installation of a shared archive.
17349
16538
postinstall_cmds=$lt_postinstall_cmds
17350
16539
 
17384
16573
# The linker used to build libraries.
17385
16574
LD=$lt_LD
17386
16575
 
17387
 
# How to create reloadable object files.
17388
 
reload_flag=$lt_reload_flag
17389
 
reload_cmds=$lt_reload_cmds
17390
 
 
17391
16576
# Commands used to build an old-style archive.
17392
16577
old_archive_cmds=$lt_old_archive_cmds
17393
16578
 
17400
16585
# Compiler flag to turn off builtin functions.
17401
16586
no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag
17402
16587
 
 
16588
# How to pass a linker flag through the compiler.
 
16589
wl=$lt_lt_prog_compiler_wl
 
16590
 
17403
16591
# Additional compiler flags for building library objects.
17404
16592
pic_flag=$lt_lt_prog_compiler_pic
17405
16593
 
17406
 
# How to pass a linker flag through the compiler.
17407
 
wl=$lt_lt_prog_compiler_wl
17408
 
 
17409
16594
# Compiler flag to prevent dynamic linking.
17410
16595
link_static_flag=$lt_lt_prog_compiler_static
17411
16596
 
17455
16640
# This must work even if \$libdir does not exist
17456
16641
hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec
17457
16642
 
 
16643
# If ld is used when linking, flag to hardcode \$libdir into a binary
 
16644
# during linking.  This must work even if \$libdir does not exist.
 
16645
hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld
 
16646
 
17458
16647
# Whether we need a single "-rpath" flag with a separated argument.
17459
16648
hardcode_libdir_separator=$lt_hardcode_libdir_separator
17460
16649
 
17488
16677
# Whether libtool must link a program against all its dependency libraries.
17489
16678
link_all_deplibs=$link_all_deplibs
17490
16679
 
 
16680
# Fix the shell variable \$srcfile for the compiler.
 
16681
fix_srcfile_path=$lt_fix_srcfile_path
 
16682
 
17491
16683
# Set to "yes" if exported symbols are required.
17492
16684
always_export_symbols=$always_export_symbols
17493
16685
 
17503
16695
# Commands necessary for linking programs (against libraries) with templates.
17504
16696
prelink_cmds=$lt_prelink_cmds
17505
16697
 
17506
 
# Commands necessary for finishing linking programs.
17507
 
postlink_cmds=$lt_postlink_cmds
17508
 
 
17509
16698
# Specify filename containing input files.
17510
16699
file_list_spec=$lt_file_list_spec
17511
16700
 
17552
16741
  # if finds mixed CR/LF and LF-only lines.  Since sed operates in
17553
16742
  # text mode, it properly converts lines to CR/LF.  This bash problem
17554
16743
  # is reportedly fixed, but why not run on old versions too?
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" ||
 
16744
  sed '/^# Generated shell functions inserted here/q' "$ltmain" >> "$cfgfile" \
 
16745
    || (rm -f "$cfgfile"; exit 1)
 
16746
 
 
16747
  case $xsi_shell in
 
16748
  yes)
 
16749
    cat << \_LT_EOF >> "$cfgfile"
 
16750
 
 
16751
# func_dirname file append nondir_replacement
 
16752
# Compute the dirname of FILE.  If nonempty, add APPEND to the result,
 
16753
# otherwise set result to NONDIR_REPLACEMENT.
 
16754
func_dirname ()
 
16755
{
 
16756
  case ${1} in
 
16757
    */*) func_dirname_result="${1%/*}${2}" ;;
 
16758
    *  ) func_dirname_result="${3}" ;;
 
16759
  esac
 
16760
}
 
16761
 
 
16762
# func_basename file
 
16763
func_basename ()
 
16764
{
 
16765
  func_basename_result="${1##*/}"
 
16766
}
 
16767
 
 
16768
# func_dirname_and_basename file append nondir_replacement
 
16769
# perform func_basename and func_dirname in a single function
 
16770
# call:
 
16771
#   dirname:  Compute the dirname of FILE.  If nonempty,
 
16772
#             add APPEND to the result, otherwise set result
 
16773
#             to NONDIR_REPLACEMENT.
 
16774
#             value returned in "$func_dirname_result"
 
16775
#   basename: Compute filename of FILE.
 
16776
#             value retuned in "$func_basename_result"
 
16777
# Implementation must be kept synchronized with func_dirname
 
16778
# and func_basename. For efficiency, we do not delegate to
 
16779
# those functions but instead duplicate the functionality here.
 
16780
func_dirname_and_basename ()
 
16781
{
 
16782
  case ${1} in
 
16783
    */*) func_dirname_result="${1%/*}${2}" ;;
 
16784
    *  ) func_dirname_result="${3}" ;;
 
16785
  esac
 
16786
  func_basename_result="${1##*/}"
 
16787
}
 
16788
 
 
16789
# func_stripname prefix suffix name
 
16790
# strip PREFIX and SUFFIX off of NAME.
 
16791
# PREFIX and SUFFIX must not contain globbing or regex special
 
16792
# characters, hashes, percent signs, but SUFFIX may contain a leading
 
16793
# dot (in which case that matches only a dot).
 
16794
func_stripname ()
 
16795
{
 
16796
  # pdksh 5.2.14 does not do ${X%$Y} correctly if both X and Y are
 
16797
  # positional parameters, so assign one to ordinary parameter first.
 
16798
  func_stripname_result=${3}
 
16799
  func_stripname_result=${func_stripname_result#"${1}"}
 
16800
  func_stripname_result=${func_stripname_result%"${2}"}
 
16801
}
 
16802
 
 
16803
# func_opt_split
 
16804
func_opt_split ()
 
16805
{
 
16806
  func_opt_split_opt=${1%%=*}
 
16807
  func_opt_split_arg=${1#*=}
 
16808
}
 
16809
 
 
16810
# func_lo2o object
 
16811
func_lo2o ()
 
16812
{
 
16813
  case ${1} in
 
16814
    *.lo) func_lo2o_result=${1%.lo}.${objext} ;;
 
16815
    *)    func_lo2o_result=${1} ;;
 
16816
  esac
 
16817
}
 
16818
 
 
16819
# func_xform libobj-or-source
 
16820
func_xform ()
 
16821
{
 
16822
  func_xform_result=${1%.*}.lo
 
16823
}
 
16824
 
 
16825
# func_arith arithmetic-term...
 
16826
func_arith ()
 
16827
{
 
16828
  func_arith_result=$(( $* ))
 
16829
}
 
16830
 
 
16831
# func_len string
 
16832
# STRING may not start with a hyphen.
 
16833
func_len ()
 
16834
{
 
16835
  func_len_result=${#1}
 
16836
}
 
16837
 
 
16838
_LT_EOF
 
16839
    ;;
 
16840
  *) # Bourne compatible functions.
 
16841
    cat << \_LT_EOF >> "$cfgfile"
 
16842
 
 
16843
# func_dirname file append nondir_replacement
 
16844
# Compute the dirname of FILE.  If nonempty, add APPEND to the result,
 
16845
# otherwise set result to NONDIR_REPLACEMENT.
 
16846
func_dirname ()
 
16847
{
 
16848
  # Extract subdirectory from the argument.
 
16849
  func_dirname_result=`$ECHO "X${1}" | $Xsed -e "$dirname"`
 
16850
  if test "X$func_dirname_result" = "X${1}"; then
 
16851
    func_dirname_result="${3}"
 
16852
  else
 
16853
    func_dirname_result="$func_dirname_result${2}"
 
16854
  fi
 
16855
}
 
16856
 
 
16857
# func_basename file
 
16858
func_basename ()
 
16859
{
 
16860
  func_basename_result=`$ECHO "X${1}" | $Xsed -e "$basename"`
 
16861
}
 
16862
 
 
16863
 
 
16864
# func_stripname prefix suffix name
 
16865
# strip PREFIX and SUFFIX off of NAME.
 
16866
# PREFIX and SUFFIX must not contain globbing or regex special
 
16867
# characters, hashes, percent signs, but SUFFIX may contain a leading
 
16868
# dot (in which case that matches only a dot).
 
16869
# func_strip_suffix prefix name
 
16870
func_stripname ()
 
16871
{
 
16872
  case ${2} in
 
16873
    .*) func_stripname_result=`$ECHO "X${3}" \
 
16874
           | $Xsed -e "s%^${1}%%" -e "s%\\\\${2}\$%%"`;;
 
16875
    *)  func_stripname_result=`$ECHO "X${3}" \
 
16876
           | $Xsed -e "s%^${1}%%" -e "s%${2}\$%%"`;;
 
16877
  esac
 
16878
}
 
16879
 
 
16880
# sed scripts:
 
16881
my_sed_long_opt='1s/^\(-[^=]*\)=.*/\1/;q'
 
16882
my_sed_long_arg='1s/^-[^=]*=//'
 
16883
 
 
16884
# func_opt_split
 
16885
func_opt_split ()
 
16886
{
 
16887
  func_opt_split_opt=`$ECHO "X${1}" | $Xsed -e "$my_sed_long_opt"`
 
16888
  func_opt_split_arg=`$ECHO "X${1}" | $Xsed -e "$my_sed_long_arg"`
 
16889
}
 
16890
 
 
16891
# func_lo2o object
 
16892
func_lo2o ()
 
16893
{
 
16894
  func_lo2o_result=`$ECHO "X${1}" | $Xsed -e "$lo2o"`
 
16895
}
 
16896
 
 
16897
# func_xform libobj-or-source
 
16898
func_xform ()
 
16899
{
 
16900
  func_xform_result=`$ECHO "X${1}" | $Xsed -e 's/\.[^.]*$/.lo/'`
 
16901
}
 
16902
 
 
16903
# func_arith arithmetic-term...
 
16904
func_arith ()
 
16905
{
 
16906
  func_arith_result=`expr "$@"`
 
16907
}
 
16908
 
 
16909
# func_len string
 
16910
# STRING may not start with a hyphen.
 
16911
func_len ()
 
16912
{
 
16913
  func_len_result=`expr "$1" : ".*" 2>/dev/null || echo $max_cmd_len`
 
16914
}
 
16915
 
 
16916
_LT_EOF
 
16917
esac
 
16918
 
 
16919
case $lt_shell_append in
 
16920
  yes)
 
16921
    cat << \_LT_EOF >> "$cfgfile"
 
16922
 
 
16923
# func_append var value
 
16924
# Append VALUE to the end of shell variable VAR.
 
16925
func_append ()
 
16926
{
 
16927
  eval "$1+=\$2"
 
16928
}
 
16929
_LT_EOF
 
16930
    ;;
 
16931
  *)
 
16932
    cat << \_LT_EOF >> "$cfgfile"
 
16933
 
 
16934
# func_append var value
 
16935
# Append VALUE to the end of shell variable VAR.
 
16936
func_append ()
 
16937
{
 
16938
  eval "$1=\$$1\$2"
 
16939
}
 
16940
 
 
16941
_LT_EOF
 
16942
    ;;
 
16943
  esac
 
16944
 
 
16945
 
 
16946
  sed -n '/^# Generated shell functions inserted here/,$p' "$ltmain" >> "$cfgfile" \
 
16947
    || (rm -f "$cfgfile"; exit 1)
 
16948
 
 
16949
  mv -f "$cfgfile" "$ofile" ||
17718
16950
    (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile")
17719
16951
  chmod +x "$ofile"
17720
16952
 
17726
16958
# The linker used to build libraries.
17727
16959
LD=$lt_LD_CXX
17728
16960
 
17729
 
# How to create reloadable object files.
17730
 
reload_flag=$lt_reload_flag_CXX
17731
 
reload_cmds=$lt_reload_cmds_CXX
17732
 
 
17733
16961
# Commands used to build an old-style archive.
17734
16962
old_archive_cmds=$lt_old_archive_cmds_CXX
17735
16963
 
17742
16970
# Compiler flag to turn off builtin functions.
17743
16971
no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag_CXX
17744
16972
 
 
16973
# How to pass a linker flag through the compiler.
 
16974
wl=$lt_lt_prog_compiler_wl_CXX
 
16975
 
17745
16976
# Additional compiler flags for building library objects.
17746
16977
pic_flag=$lt_lt_prog_compiler_pic_CXX
17747
16978
 
17748
 
# How to pass a linker flag through the compiler.
17749
 
wl=$lt_lt_prog_compiler_wl_CXX
17750
 
 
17751
16979
# Compiler flag to prevent dynamic linking.
17752
16980
link_static_flag=$lt_lt_prog_compiler_static_CXX
17753
16981
 
17797
17025
# This must work even if \$libdir does not exist
17798
17026
hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec_CXX
17799
17027
 
 
17028
# If ld is used when linking, flag to hardcode \$libdir into a binary
 
17029
# during linking.  This must work even if \$libdir does not exist.
 
17030
hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld_CXX
 
17031
 
17800
17032
# Whether we need a single "-rpath" flag with a separated argument.
17801
17033
hardcode_libdir_separator=$lt_hardcode_libdir_separator_CXX
17802
17034
 
17830
17062
# Whether libtool must link a program against all its dependency libraries.
17831
17063
link_all_deplibs=$link_all_deplibs_CXX
17832
17064
 
 
17065
# Fix the shell variable \$srcfile for the compiler.
 
17066
fix_srcfile_path=$lt_fix_srcfile_path_CXX
 
17067
 
17833
17068
# Set to "yes" if exported symbols are required.
17834
17069
always_export_symbols=$always_export_symbols_CXX
17835
17070
 
17845
17080
# Commands necessary for linking programs (against libraries) with templates.
17846
17081
prelink_cmds=$lt_prelink_cmds_CXX
17847
17082
 
17848
 
# Commands necessary for finishing linking programs.
17849
 
postlink_cmds=$lt_postlink_cmds_CXX
17850
 
 
17851
17083
# Specify filename containing input files.
17852
17084
file_list_spec=$lt_file_list_spec_CXX
17853
17085
 
17882
17114
ac_clean_files=$ac_clean_files_save
17883
17115
 
17884
17116
test $ac_write_fail = 0 ||
17885
 
  as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5
 
17117
  as_fn_error "write failure creating $CONFIG_STATUS" "$LINENO" 5
17886
17118
 
17887
17119
 
17888
17120
# configure is writing to config.log, and then calls config.status.
17903
17135
  exec 5>>config.log
17904
17136
  # Use ||, not &&, to avoid exiting from the if with $? = 1, which
17905
17137
  # would make configure fail if this is the last instruction.
17906
 
  $ac_cs_success || as_fn_exit 1
 
17138
  $ac_cs_success || as_fn_exit $?
17907
17139
fi
17908
17140
if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
17909
17141
  { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5