/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:39:13 UTC
  • Revision ID: edam@waxworlds.org-20100729063913-wvcvkogsa2alwkhr
- moved basic_statement::operator <<() back to basic_statement and just create another specialisation in command so that it can use sqlite::exec

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.1.0.
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
 
571
700
PACKAGE_TARNAME='sqlite3cc'
572
701
PACKAGE_VERSION='0.1.0'
573
702
PACKAGE_STRING='sqlite3cc 0.1.0'
574
 
PACKAGE_BUGREPORT='tim@ed.am'
575
 
PACKAGE_URL='http://ed.am/dev/sqlite3cc'
 
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
 
AMDEPBACKSLASH
659
 
AMDEP_FALSE
660
 
AMDEP_TRUE
661
 
am__quote
662
 
am__include
663
 
DEPDIR
664
 
OBJEXT
665
 
EXEEXT
666
 
ac_ct_CXX
667
 
CPPFLAGS
668
 
LDFLAGS
669
 
CXXFLAGS
670
 
CXX
671
798
am__untar
672
799
am__tar
673
800
AMTAR
733
860
ac_subst_files=''
734
861
ac_user_opts='
735
862
enable_option_checking
736
 
enable_dependency_tracking
737
863
enable_shared
738
864
enable_static
739
865
with_pic
740
866
enable_fast_install
 
867
enable_dependency_tracking
741
868
with_gnu_ld
742
 
with_sysroot
743
869
enable_libtool_lock
744
870
'
745
871
      ac_precious_vars='build_alias
746
872
host_alias
747
873
target_alias
748
 
CXX
749
 
CXXFLAGS
 
874
CC
 
875
CFLAGS
750
876
LDFLAGS
751
877
LIBS
752
878
CPPFLAGS
 
879
CPP
 
880
CXX
 
881
CXXFLAGS
753
882
CCC
754
 
CC
755
 
CFLAGS
756
 
CPP
757
883
CXXCPP'
758
884
 
759
885
 
817
943
  fi
818
944
 
819
945
  case $ac_option in
820
 
  *=?*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
821
 
  *=)   ac_optarg= ;;
822
 
  *)    ac_optarg=yes ;;
 
946
  *=*)  ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
 
947
  *)    ac_optarg=yes ;;
823
948
  esac
824
949
 
825
950
  # Accept the important Cygnus configure options, so we can diagnose typos.
864
989
    ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
865
990
    # Reject names that are not valid shell variable names.
866
991
    expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
867
 
      as_fn_error $? "invalid feature name: $ac_useropt"
 
992
      as_fn_error "invalid feature name: $ac_useropt"
868
993
    ac_useropt_orig=$ac_useropt
869
994
    ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
870
995
    case $ac_user_opts in
890
1015
    ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
891
1016
    # Reject names that are not valid shell variable names.
892
1017
    expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
893
 
      as_fn_error $? "invalid feature name: $ac_useropt"
 
1018
      as_fn_error "invalid feature name: $ac_useropt"
894
1019
    ac_useropt_orig=$ac_useropt
895
1020
    ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
896
1021
    case $ac_user_opts in
1094
1219
    ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1095
1220
    # Reject names that are not valid shell variable names.
1096
1221
    expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1097
 
      as_fn_error $? "invalid package name: $ac_useropt"
 
1222
      as_fn_error "invalid package name: $ac_useropt"
1098
1223
    ac_useropt_orig=$ac_useropt
1099
1224
    ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1100
1225
    case $ac_user_opts in
1110
1235
    ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1111
1236
    # Reject names that are not valid shell variable names.
1112
1237
    expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1113
 
      as_fn_error $? "invalid package name: $ac_useropt"
 
1238
      as_fn_error "invalid package name: $ac_useropt"
1114
1239
    ac_useropt_orig=$ac_useropt
1115
1240
    ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1116
1241
    case $ac_user_opts in
1140
1265
  | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
1141
1266
    x_libraries=$ac_optarg ;;
1142
1267
 
1143
 
  -*) as_fn_error $? "unrecognized option: \`$ac_option'
1144
 
Try \`$0 --help' for more information"
 
1268
  -*) as_fn_error "unrecognized option: \`$ac_option'
 
1269
Try \`$0 --help' for more information."
1145
1270
    ;;
1146
1271
 
1147
1272
  *=*)
1149
1274
    # Reject names that are not valid shell variable names.
1150
1275
    case $ac_envvar in #(
1151
1276
      '' | [0-9]* | *[!_$as_cr_alnum]* )
1152
 
      as_fn_error $? "invalid variable name: \`$ac_envvar'" ;;
 
1277
      as_fn_error "invalid variable name: \`$ac_envvar'" ;;
1153
1278
    esac
1154
1279
    eval $ac_envvar=\$ac_optarg
1155
1280
    export $ac_envvar ;;
1159
1284
    $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1160
1285
    expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1161
1286
      $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1162
 
    : "${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}
1163
1288
    ;;
1164
1289
 
1165
1290
  esac
1167
1292
 
1168
1293
if test -n "$ac_prev"; then
1169
1294
  ac_option=--`echo $ac_prev | sed 's/_/-/g'`
1170
 
  as_fn_error $? "missing argument to $ac_option"
 
1295
  as_fn_error "missing argument to $ac_option"
1171
1296
fi
1172
1297
 
1173
1298
if test -n "$ac_unrecognized_opts"; then
1174
1299
  case $enable_option_checking in
1175
1300
    no) ;;
1176
 
    fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;;
 
1301
    fatal) as_fn_error "unrecognized options: $ac_unrecognized_opts" ;;
1177
1302
    *)     $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
1178
1303
  esac
1179
1304
fi
1196
1321
    [\\/$]* | ?:[\\/]* )  continue;;
1197
1322
    NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
1198
1323
  esac
1199
 
  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"
1200
1325
done
1201
1326
 
1202
1327
# There might be people who depend on the old broken behavior: `$host'
1210
1335
if test "x$host_alias" != x; then
1211
1336
  if test "x$build_alias" = x; then
1212
1337
    cross_compiling=maybe
1213
 
    $as_echo "$as_me: WARNING: if you wanted to set the --build type, don't use --host.
1214
 
    If a cross compiler is detected then cross compile mode will be used" >&2
 
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
1215
1340
  elif test "x$build_alias" != "x$host_alias"; then
1216
1341
    cross_compiling=yes
1217
1342
  fi
1226
1351
ac_pwd=`pwd` && test -n "$ac_pwd" &&
1227
1352
ac_ls_di=`ls -di .` &&
1228
1353
ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
1229
 
  as_fn_error $? "working directory cannot be determined"
 
1354
  as_fn_error "working directory cannot be determined"
1230
1355
test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1231
 
  as_fn_error $? "pwd does not report name of working directory"
 
1356
  as_fn_error "pwd does not report name of working directory"
1232
1357
 
1233
1358
 
1234
1359
# Find the source files, if location was not specified.
1267
1392
fi
1268
1393
if test ! -r "$srcdir/$ac_unique_file"; then
1269
1394
  test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
1270
 
  as_fn_error $? "cannot find sources ($ac_unique_file) in $srcdir"
 
1395
  as_fn_error "cannot find sources ($ac_unique_file) in $srcdir"
1271
1396
fi
1272
1397
ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
1273
1398
ac_abs_confdir=`(
1274
 
        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"
1275
1400
        pwd)`
1276
1401
# When building in place, set srcdir=.
1277
1402
if test "$ac_abs_confdir" = "$ac_pwd"; then
1311
1436
      --help=short        display options specific to this package
1312
1437
      --help=recursive    display the short help of all the included packages
1313
1438
  -V, --version           display version information and exit
1314
 
  -q, --quiet, --silent   do not print \`checking ...' messages
 
1439
  -q, --quiet, --silent   do not print \`checking...' messages
1315
1440
      --cache-file=FILE   cache test results in FILE [disabled]
1316
1441
  -C, --config-cache      alias for \`--cache-file=config.cache'
1317
1442
  -n, --no-create         do not create output files
1375
1500
  --disable-option-checking  ignore unrecognized --enable/--with options
1376
1501
  --disable-FEATURE       do not include FEATURE (same as --enable-FEATURE=no)
1377
1502
  --enable-FEATURE[=ARG]  include FEATURE [ARG=yes]
1378
 
  --disable-dependency-tracking  speeds up one-time build
1379
 
  --enable-dependency-tracking   do not reject slow dependency extractors
1380
1503
  --enable-shared[=PKGS]  build shared libraries [default=yes]
1381
1504
  --enable-static[=PKGS]  build static libraries [default=yes]
1382
1505
  --enable-fast-install[=PKGS]
1383
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
1384
1509
  --disable-libtool-lock  avoid locking (might break parallel builds)
1385
1510
 
1386
1511
Optional Packages:
1387
1512
  --with-PACKAGE[=ARG]    use PACKAGE [ARG=yes]
1388
1513
  --without-PACKAGE       do not use PACKAGE (same as --with-PACKAGE=no)
1389
 
  --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
1390
1515
                          both]
1391
1516
  --with-gnu-ld           assume the C compiler uses GNU ld [default=no]
1392
 
  --with-sysroot=DIR Search for dependent libraries within DIR
1393
 
                        (or the compiler's sysroot if not specified).
1394
1517
 
1395
1518
Some influential environment variables:
1396
 
  CXX         C++ compiler command
1397
 
  CXXFLAGS    C++ compiler flags
 
1519
  CC          C compiler command
 
1520
  CFLAGS      C compiler flags
1398
1521
  LDFLAGS     linker flags, e.g. -L<lib dir> if you have libraries in a
1399
1522
              nonstandard directory <lib dir>
1400
1523
  LIBS        libraries to pass to the linker, e.g. -l<library>
1401
 
  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
1402
1525
              you have headers in a nonstandard directory <include dir>
1403
 
  CC          C compiler command
1404
 
  CFLAGS      C compiler flags
1405
1526
  CPP         C preprocessor
 
1527
  CXX         C++ compiler command
 
1528
  CXXFLAGS    C++ compiler flags
1406
1529
  CXXCPP      C++ preprocessor
1407
1530
 
1408
1531
Use these variables to override the choices made by `configure' or to help
1409
1532
it to find libraries and programs with nonstandard names/locations.
1410
1533
 
1411
 
Report bugs to <tim@ed.am>.
1412
 
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>.
1413
1536
_ACEOF
1414
1537
ac_status=$?
1415
1538
fi
1473
1596
if $ac_init_version; then
1474
1597
  cat <<\_ACEOF
1475
1598
sqlite3cc configure 0.1.0
1476
 
generated by GNU Autoconf 2.68
 
1599
generated by GNU Autoconf 2.64
1477
1600
 
1478
 
Copyright (C) 2010 Free Software Foundation, Inc.
 
1601
Copyright (C) 2009 Free Software Foundation, Inc.
1479
1602
This configure script is free software; the Free Software Foundation
1480
1603
gives unlimited permission to copy, distribute and modify it.
1481
1604
_ACEOF
1486
1609
## Autoconf initialization. ##
1487
1610
## ------------------------ ##
1488
1611
 
1489
 
# ac_fn_cxx_try_compile LINENO
1490
 
# ----------------------------
1491
 
# Try to compile conftest.$ac_ext, and return whether this succeeded.
1492
 
ac_fn_cxx_try_compile ()
1493
 
{
1494
 
  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1495
 
  rm -f conftest.$ac_objext
1496
 
  if { { ac_try="$ac_compile"
1497
 
case "(($ac_try" in
1498
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1499
 
  *) ac_try_echo=$ac_try;;
1500
 
esac
1501
 
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1502
 
$as_echo "$ac_try_echo"; } >&5
1503
 
  (eval "$ac_compile") 2>conftest.err
1504
 
  ac_status=$?
1505
 
  if test -s conftest.err; then
1506
 
    grep -v '^ *+' conftest.err >conftest.er1
1507
 
    cat conftest.er1 >&5
1508
 
    mv -f conftest.er1 conftest.err
1509
 
  fi
1510
 
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1511
 
  test $ac_status = 0; } && {
1512
 
         test -z "$ac_cxx_werror_flag" ||
1513
 
         test ! -s conftest.err
1514
 
       } && test -s conftest.$ac_objext; then :
1515
 
  ac_retval=0
1516
 
else
1517
 
  $as_echo "$as_me: failed program was:" >&5
1518
 
sed 's/^/| /' conftest.$ac_ext >&5
1519
 
 
1520
 
        ac_retval=1
1521
 
fi
1522
 
  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1523
 
  as_fn_set_status $ac_retval
1524
 
 
1525
 
} # ac_fn_cxx_try_compile
1526
 
 
1527
1612
# ac_fn_c_try_compile LINENO
1528
1613
# --------------------------
1529
1614
# Try to compile conftest.$ac_ext, and return whether this succeeded.
1557
1642
 
1558
1643
        ac_retval=1
1559
1644
fi
1560
 
  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1561
 
  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
1562
1647
 
1563
1648
} # ac_fn_c_try_compile
1564
1649
 
1603
1688
  # interfere with the next link command; also delete a directory that is
1604
1689
  # left behind by Apple's compiler.  We do this before executing the actions.
1605
1690
  rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1606
 
  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1607
 
  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
1608
1693
 
1609
1694
} # ac_fn_c_try_link
1610
1695
 
1617
1702
  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1618
1703
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1619
1704
$as_echo_n "checking for $2... " >&6; }
1620
 
if eval \${$3+:} false; then :
 
1705
if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
1621
1706
  $as_echo_n "(cached) " >&6
1622
1707
else
1623
1708
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1635
1720
eval ac_res=\$$3
1636
1721
               { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1637
1722
$as_echo "$ac_res" >&6; }
1638
 
  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;}
1639
1724
 
1640
1725
} # ac_fn_c_check_header_compile
1641
1726
 
1660
1745
    mv -f conftest.er1 conftest.err
1661
1746
  fi
1662
1747
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1663
 
  test $ac_status = 0; } > conftest.i && {
 
1748
  test $ac_status = 0; } >/dev/null && {
1664
1749
         test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
1665
1750
         test ! -s conftest.err
1666
1751
       }; then :
1671
1756
 
1672
1757
    ac_retval=1
1673
1758
fi
1674
 
  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1675
 
  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
1676
1761
 
1677
1762
} # ac_fn_c_try_cpp
1678
1763
 
1713
1798
       ac_retval=$ac_status
1714
1799
fi
1715
1800
  rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1716
 
  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1717
 
  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
1718
1803
 
1719
1804
} # ac_fn_c_try_run
1720
1805
 
1726
1811
  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1727
1812
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1728
1813
$as_echo_n "checking for $2... " >&6; }
1729
 
if eval \${$3+:} false; then :
 
1814
if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
1730
1815
  $as_echo_n "(cached) " >&6
1731
1816
else
1732
1817
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1781
1866
eval ac_res=\$$3
1782
1867
               { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1783
1868
$as_echo "$ac_res" >&6; }
1784
 
  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;}
1785
1870
 
1786
1871
} # ac_fn_c_check_func
1787
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
 
1788
1911
# ac_fn_cxx_try_cpp LINENO
1789
1912
# ------------------------
1790
1913
# Try to preprocess conftest.$ac_ext, and return whether this succeeded.
1806
1929
    mv -f conftest.er1 conftest.err
1807
1930
  fi
1808
1931
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1809
 
  test $ac_status = 0; } > conftest.i && {
 
1932
  test $ac_status = 0; } >/dev/null && {
1810
1933
         test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
1811
1934
         test ! -s conftest.err
1812
1935
       }; then :
1817
1940
 
1818
1941
    ac_retval=1
1819
1942
fi
1820
 
  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1821
 
  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
1822
1945
 
1823
1946
} # ac_fn_cxx_try_cpp
1824
1947
 
1863
1986
  # interfere with the next link command; also delete a directory that is
1864
1987
  # left behind by Apple's compiler.  We do this before executing the actions.
1865
1988
  rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1866
 
  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1867
 
  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
1868
1991
 
1869
1992
} # ac_fn_cxx_try_link
1870
1993
 
1876
1999
ac_fn_c_check_header_mongrel ()
1877
2000
{
1878
2001
  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1879
 
  if eval \${$3+:} false; then :
 
2002
  if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
1880
2003
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1881
2004
$as_echo_n "checking for $2... " >&6; }
1882
 
if eval \${$3+:} false; then :
 
2005
if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
1883
2006
  $as_echo_n "(cached) " >&6
1884
2007
fi
1885
2008
eval ac_res=\$$3
1915
2038
else
1916
2039
  ac_header_preproc=no
1917
2040
fi
1918
 
rm -f conftest.err conftest.i conftest.$ac_ext
 
2041
rm -f conftest.err conftest.$ac_ext
1919
2042
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
1920
2043
$as_echo "$ac_header_preproc" >&6; }
1921
2044
 
1938
2061
$as_echo "$as_me: WARNING: $2:     section \"Present But Cannot Be Compiled\"" >&2;}
1939
2062
    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
1940
2063
$as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
1941
 
( $as_echo "## ------------------------ ##
1942
 
## Report this to tim@ed.am ##
1943
 
## ------------------------ ##"
 
2064
( cat <<\_ASBOX
 
2065
## --------------------------------- ##
 
2066
## Report this to edam@waxworlds.org ##
 
2067
## --------------------------------- ##
 
2068
_ASBOX
1944
2069
     ) | sed "s/^/$as_me: WARNING:     /" >&2
1945
2070
    ;;
1946
2071
esac
1947
2072
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1948
2073
$as_echo_n "checking for $2... " >&6; }
1949
 
if eval \${$3+:} false; then :
 
2074
if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
1950
2075
  $as_echo_n "(cached) " >&6
1951
2076
else
1952
2077
  eval "$3=\$ac_header_compiler"
1955
2080
               { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1956
2081
$as_echo "$ac_res" >&6; }
1957
2082
fi
1958
 
  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;}
1959
2084
 
1960
2085
} # ac_fn_c_check_header_mongrel
1961
2086
cat >config.log <<_ACEOF
1963
2088
running configure, to aid debugging if configure makes a mistake.
1964
2089
 
1965
2090
It was created by sqlite3cc $as_me 0.1.0, which was
1966
 
generated by GNU Autoconf 2.68.  Invocation command line was
 
2091
generated by GNU Autoconf 2.64.  Invocation command line was
1967
2092
 
1968
2093
  $ $0 $@
1969
2094
 
2073
2198
  {
2074
2199
    echo
2075
2200
 
2076
 
    $as_echo "## ---------------- ##
 
2201
    cat <<\_ASBOX
 
2202
## ---------------- ##
2077
2203
## Cache variables. ##
2078
 
## ---------------- ##"
 
2204
## ---------------- ##
 
2205
_ASBOX
2079
2206
    echo
2080
2207
    # The following way of writing the cache mishandles newlines in values,
2081
2208
(
2109
2236
)
2110
2237
    echo
2111
2238
 
2112
 
    $as_echo "## ----------------- ##
 
2239
    cat <<\_ASBOX
 
2240
## ----------------- ##
2113
2241
## Output variables. ##
2114
 
## ----------------- ##"
 
2242
## ----------------- ##
 
2243
_ASBOX
2115
2244
    echo
2116
2245
    for ac_var in $ac_subst_vars
2117
2246
    do
2124
2253
    echo
2125
2254
 
2126
2255
    if test -n "$ac_subst_files"; then
2127
 
      $as_echo "## ------------------- ##
 
2256
      cat <<\_ASBOX
 
2257
## ------------------- ##
2128
2258
## File substitutions. ##
2129
 
## ------------------- ##"
 
2259
## ------------------- ##
 
2260
_ASBOX
2130
2261
      echo
2131
2262
      for ac_var in $ac_subst_files
2132
2263
      do
2140
2271
    fi
2141
2272
 
2142
2273
    if test -s confdefs.h; then
2143
 
      $as_echo "## ----------- ##
 
2274
      cat <<\_ASBOX
 
2275
## ----------- ##
2144
2276
## confdefs.h. ##
2145
 
## ----------- ##"
 
2277
## ----------- ##
 
2278
_ASBOX
2146
2279
      echo
2147
2280
      cat confdefs.h
2148
2281
      echo
2197
2330
ac_site_file1=NONE
2198
2331
ac_site_file2=NONE
2199
2332
if test -n "$CONFIG_SITE"; then
2200
 
  # We do not want a PATH search for config.site.
2201
 
  case $CONFIG_SITE in #((
2202
 
    -*)  ac_site_file1=./$CONFIG_SITE;;
2203
 
    */*) ac_site_file1=$CONFIG_SITE;;
2204
 
    *)   ac_site_file1=./$CONFIG_SITE;;
2205
 
  esac
 
2333
  ac_site_file1=$CONFIG_SITE
2206
2334
elif test "x$prefix" != xNONE; then
2207
2335
  ac_site_file1=$prefix/share/config.site
2208
2336
  ac_site_file2=$prefix/etc/config.site
2213
2341
for ac_site_file in "$ac_site_file1" "$ac_site_file2"
2214
2342
do
2215
2343
  test "x$ac_site_file" = xNONE && continue
2216
 
  if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then
 
2344
  if test -r "$ac_site_file"; then
2217
2345
    { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
2218
2346
$as_echo "$as_me: loading site script $ac_site_file" >&6;}
2219
2347
    sed 's/^/| /' "$ac_site_file" >&5
2220
 
    . "$ac_site_file" \
2221
 
      || { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2222
 
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2223
 
as_fn_error $? "failed to load site script $ac_site_file
2224
 
See \`config.log' for more details" "$LINENO" 5; }
 
2348
    . "$ac_site_file"
2225
2349
  fi
2226
2350
done
2227
2351
 
2228
2352
if test -r "$cache_file"; then
2229
 
  # Some versions of bash will fail to source /dev/null (special files
2230
 
  # actually), so we avoid doing that.  DJGPP emulates it as a regular file.
2231
 
  if test /dev/null != "$cache_file" && test -f "$cache_file"; then
 
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
2232
2356
    { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
2233
2357
$as_echo "$as_me: loading cache $cache_file" >&6;}
2234
2358
    case $cache_file in
2297
2421
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2298
2422
  { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
2299
2423
$as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
2300
 
  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
2301
2425
fi
2302
2426
## -------------------- ##
2303
2427
## Main body of script. ##
2314
2438
 
2315
2439
ac_aux_dir=
2316
2440
for ac_dir in build-aux "$srcdir"/build-aux; do
2317
 
  if test -f "$ac_dir/install-sh"; then
2318
 
    ac_aux_dir=$ac_dir
2319
 
    ac_install_sh="$ac_aux_dir/install-sh -c"
2320
 
    break
2321
 
  elif test -f "$ac_dir/install.sh"; then
2322
 
    ac_aux_dir=$ac_dir
2323
 
    ac_install_sh="$ac_aux_dir/install.sh -c"
2324
 
    break
2325
 
  elif test -f "$ac_dir/shtool"; then
2326
 
    ac_aux_dir=$ac_dir
2327
 
    ac_install_sh="$ac_aux_dir/shtool install -c"
2328
 
    break
2329
 
  fi
 
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
2330
2448
done
2331
2449
if test -z "$ac_aux_dir"; then
2332
 
  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
2333
2451
fi
2334
2452
 
2335
2453
# These three variables are undocumented and unsupported,
2361
2479
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
2362
2480
$as_echo_n "checking for a BSD-compatible install... " >&6; }
2363
2481
if test -z "$INSTALL"; then
2364
 
if ${ac_cv_path_install+:} false; then :
 
2482
if test "${ac_cv_path_install+set}" = set; then :
2365
2483
  $as_echo_n "(cached) " >&6
2366
2484
else
2367
2485
  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2448
2566
'
2449
2567
case `pwd` in
2450
2568
  *[\\\"\#\$\&\'\`$am_lf]*)
2451
 
    as_fn_error $? "unsafe absolute working directory name" "$LINENO" 5;;
 
2569
    as_fn_error "unsafe absolute working directory name" "$LINENO" 5;;
2452
2570
esac
2453
2571
case $srcdir in
2454
2572
  *[\\\"\#\$\&\'\`$am_lf\ \     ]*)
2455
 
    as_fn_error $? "unsafe srcdir value: \`$srcdir'" "$LINENO" 5;;
 
2573
    as_fn_error "unsafe srcdir value: \`$srcdir'" "$LINENO" 5;;
2456
2574
esac
2457
2575
 
2458
2576
# Do `set' in a subshell so we don't clobber the current shell's
2474
2592
      # if, for instance, CONFIG_SHELL is bash and it inherits a
2475
2593
      # broken ls alias from the environment.  This has actually
2476
2594
      # happened.  Such a system could not be considered "sane".
2477
 
      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
2478
2596
alias in your environment" "$LINENO" 5
2479
2597
   fi
2480
2598
 
2484
2602
   # Ok.
2485
2603
   :
2486
2604
else
2487
 
   as_fn_error $? "newly created file is older than distributed files!
 
2605
   as_fn_error "newly created file is older than distributed files!
2488
2606
Check your system clock" "$LINENO" 5
2489
2607
fi
2490
2608
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2538
2656
set dummy ${ac_tool_prefix}strip; ac_word=$2
2539
2657
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2540
2658
$as_echo_n "checking for $ac_word... " >&6; }
2541
 
if ${ac_cv_prog_STRIP+:} false; then :
 
2659
if test "${ac_cv_prog_STRIP+set}" = set; then :
2542
2660
  $as_echo_n "(cached) " >&6
2543
2661
else
2544
2662
  if test -n "$STRIP"; then
2578
2696
set dummy strip; ac_word=$2
2579
2697
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2580
2698
$as_echo_n "checking for $ac_word... " >&6; }
2581
 
if ${ac_cv_prog_ac_ct_STRIP+:} false; then :
 
2699
if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then :
2582
2700
  $as_echo_n "(cached) " >&6
2583
2701
else
2584
2702
  if test -n "$ac_ct_STRIP"; then
2631
2749
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for a thread-safe mkdir -p" >&5
2632
2750
$as_echo_n "checking for a thread-safe mkdir -p... " >&6; }
2633
2751
if test -z "$MKDIR_P"; then
2634
 
  if ${ac_cv_path_mkdir+:} false; then :
 
2752
  if test "${ac_cv_path_mkdir+set}" = set; then :
2635
2753
  $as_echo_n "(cached) " >&6
2636
2754
else
2637
2755
  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2656
2774
 
2657
2775
fi
2658
2776
 
2659
 
  test -d ./--version && rmdir ./--version
2660
2777
  if test "${ac_cv_path_mkdir+set}" = set; then
2661
2778
    MKDIR_P="$ac_cv_path_mkdir -p"
2662
2779
  else
2664
2781
    # value for MKDIR_P within a source directory, because that will
2665
2782
    # break other packages using the cache if that directory is
2666
2783
    # removed, or if the value is a relative name.
 
2784
    test -d ./--version && rmdir ./--version
2667
2785
    MKDIR_P="$ac_install_sh -d"
2668
2786
  fi
2669
2787
fi
2682
2800
set dummy $ac_prog; ac_word=$2
2683
2801
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2684
2802
$as_echo_n "checking for $ac_word... " >&6; }
2685
 
if ${ac_cv_prog_AWK+:} false; then :
 
2803
if test "${ac_cv_prog_AWK+set}" = set; then :
2686
2804
  $as_echo_n "(cached) " >&6
2687
2805
else
2688
2806
  if test -n "$AWK"; then
2722
2840
$as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
2723
2841
set x ${MAKE-make}
2724
2842
ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
2725
 
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 :
2726
2844
  $as_echo_n "(cached) " >&6
2727
2845
else
2728
2846
  cat >conftest.make <<\_ACEOF
2730
2848
all:
2731
2849
        @echo '@@@%%%=$(MAKE)=@@@%%%'
2732
2850
_ACEOF
2733
 
# GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
 
2851
# GNU make sometimes prints "make[1]: Entering...", which would confuse us.
2734
2852
case `${MAKE-make} -f conftest.make 2>/dev/null` in
2735
2853
  *@@@%%%=?*=@@@%%%*)
2736
2854
    eval ac_cv_prog_make_${ac_make}_set=yes;;
2764
2882
  am__isrc=' -I$(srcdir)'
2765
2883
  # test to see if srcdir already configured
2766
2884
  if test -f $srcdir/config.status; then
2767
 
    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
2768
2886
  fi
2769
2887
fi
2770
2888
 
2823
2941
 
2824
2942
ac_config_headers="$ac_config_headers config.h"
2825
2943
 
2826
 
 
2827
 
# checks for programs.
2828
 
ac_ext=cpp
2829
 
ac_cpp='$CXXCPP $CPPFLAGS'
2830
 
ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2831
 
ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2832
 
ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
2833
 
if test -z "$CXX"; then
2834
 
  if test -n "$CCC"; then
2835
 
    CXX=$CCC
2836
 
  else
2837
 
    if test -n "$ac_tool_prefix"; then
2838
 
  for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
2839
 
  do
2840
 
    # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
2841
 
set dummy $ac_tool_prefix$ac_prog; ac_word=$2
2842
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2843
 
$as_echo_n "checking for $ac_word... " >&6; }
2844
 
if ${ac_cv_prog_CXX+:} false; then :
2845
 
  $as_echo_n "(cached) " >&6
2846
 
else
2847
 
  if test -n "$CXX"; then
2848
 
  ac_cv_prog_CXX="$CXX" # Let the user override the test.
2849
 
else
2850
 
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2851
 
for as_dir in $PATH
2852
 
do
2853
 
  IFS=$as_save_IFS
2854
 
  test -z "$as_dir" && as_dir=.
2855
 
    for ac_exec_ext in '' $ac_executable_extensions; do
2856
 
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2857
 
    ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
2858
 
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2859
 
    break 2
2860
 
  fi
2861
 
done
2862
 
  done
2863
 
IFS=$as_save_IFS
2864
 
 
2865
 
fi
2866
 
fi
2867
 
CXX=$ac_cv_prog_CXX
2868
 
if test -n "$CXX"; then
2869
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXX" >&5
2870
 
$as_echo "$CXX" >&6; }
2871
 
else
2872
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2873
 
$as_echo "no" >&6; }
2874
 
fi
2875
 
 
2876
 
 
2877
 
    test -n "$CXX" && break
2878
 
  done
2879
 
fi
2880
 
if test -z "$CXX"; then
2881
 
  ac_ct_CXX=$CXX
2882
 
  for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
2883
 
do
2884
 
  # Extract the first word of "$ac_prog", so it can be a program name with args.
2885
 
set dummy $ac_prog; ac_word=$2
2886
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2887
 
$as_echo_n "checking for $ac_word... " >&6; }
2888
 
if ${ac_cv_prog_ac_ct_CXX+:} false; then :
2889
 
  $as_echo_n "(cached) " >&6
2890
 
else
2891
 
  if test -n "$ac_ct_CXX"; then
2892
 
  ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
2893
 
else
2894
 
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2895
 
for as_dir in $PATH
2896
 
do
2897
 
  IFS=$as_save_IFS
2898
 
  test -z "$as_dir" && as_dir=.
2899
 
    for ac_exec_ext in '' $ac_executable_extensions; do
2900
 
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2901
 
    ac_cv_prog_ac_ct_CXX="$ac_prog"
2902
 
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2903
 
    break 2
2904
 
  fi
2905
 
done
2906
 
  done
2907
 
IFS=$as_save_IFS
2908
 
 
2909
 
fi
2910
 
fi
2911
 
ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
2912
 
if test -n "$ac_ct_CXX"; then
2913
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CXX" >&5
2914
 
$as_echo "$ac_ct_CXX" >&6; }
2915
 
else
2916
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2917
 
$as_echo "no" >&6; }
2918
 
fi
2919
 
 
2920
 
 
2921
 
  test -n "$ac_ct_CXX" && break
2922
 
done
2923
 
 
2924
 
  if test "x$ac_ct_CXX" = x; then
2925
 
    CXX="g++"
2926
 
  else
2927
 
    case $cross_compiling:$ac_tool_warned in
2928
 
yes:)
2929
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
2930
 
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2931
 
ac_tool_warned=yes ;;
2932
 
esac
2933
 
    CXX=$ac_ct_CXX
2934
 
  fi
2935
 
fi
2936
 
 
2937
 
  fi
2938
 
fi
2939
 
# Provide some information about the compiler.
2940
 
$as_echo "$as_me:${as_lineno-$LINENO}: checking for C++ compiler version" >&5
2941
 
set X $ac_compile
2942
 
ac_compiler=$2
2943
 
for ac_option in --version -v -V -qversion; do
2944
 
  { { ac_try="$ac_compiler $ac_option >&5"
2945
 
case "(($ac_try" in
2946
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2947
 
  *) ac_try_echo=$ac_try;;
2948
 
esac
2949
 
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2950
 
$as_echo "$ac_try_echo"; } >&5
2951
 
  (eval "$ac_compiler $ac_option >&5") 2>conftest.err
2952
 
  ac_status=$?
2953
 
  if test -s conftest.err; then
2954
 
    sed '10a\
2955
 
... rest of stderr output deleted ...
2956
 
         10q' conftest.err >conftest.er1
2957
 
    cat conftest.er1 >&5
2958
 
  fi
2959
 
  rm -f conftest.er1 conftest.err
2960
 
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2961
 
  test $ac_status = 0; }
2962
 
done
2963
 
 
2964
 
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2965
 
/* end confdefs.h.  */
2966
 
 
2967
 
int
2968
 
main ()
2969
 
{
2970
 
 
2971
 
  ;
2972
 
  return 0;
2973
 
}
2974
 
_ACEOF
2975
 
ac_clean_files_save=$ac_clean_files
2976
 
ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
2977
 
# Try to create an executable without -o first, disregard a.out.
2978
 
# It will help us diagnose broken compilers, and finding out an intuition
2979
 
# of exeext.
2980
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C++ compiler works" >&5
2981
 
$as_echo_n "checking whether the C++ compiler works... " >&6; }
2982
 
ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
2983
 
 
2984
 
# The possible output files:
2985
 
ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
2986
 
 
2987
 
ac_rmfiles=
2988
 
for ac_file in $ac_files
2989
 
do
2990
 
  case $ac_file in
2991
 
    *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
2992
 
    * ) ac_rmfiles="$ac_rmfiles $ac_file";;
2993
 
  esac
2994
 
done
2995
 
rm -f $ac_rmfiles
2996
 
 
2997
 
if { { ac_try="$ac_link_default"
2998
 
case "(($ac_try" in
2999
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3000
 
  *) ac_try_echo=$ac_try;;
3001
 
esac
3002
 
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3003
 
$as_echo "$ac_try_echo"; } >&5
3004
 
  (eval "$ac_link_default") 2>&5
3005
 
  ac_status=$?
3006
 
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3007
 
  test $ac_status = 0; }; then :
3008
 
  # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
3009
 
# So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
3010
 
# in a Makefile.  We should not override ac_cv_exeext if it was cached,
3011
 
# so that the user can short-circuit this test for compilers unknown to
3012
 
# Autoconf.
3013
 
for ac_file in $ac_files ''
3014
 
do
3015
 
  test -f "$ac_file" || continue
3016
 
  case $ac_file in
3017
 
    *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
3018
 
        ;;
3019
 
    [ab].out )
3020
 
        # We found the default executable, but exeext='' is most
3021
 
        # certainly right.
3022
 
        break;;
3023
 
    *.* )
3024
 
        if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
3025
 
        then :; else
3026
 
           ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
3027
 
        fi
3028
 
        # We set ac_cv_exeext here because the later test for it is not
3029
 
        # safe: cross compilers may not add the suffix if given an `-o'
3030
 
        # argument, so we may need to know it at that point already.
3031
 
        # Even if this section looks crufty: it has the advantage of
3032
 
        # actually working.
3033
 
        break;;
3034
 
    * )
3035
 
        break;;
3036
 
  esac
3037
 
done
3038
 
test "$ac_cv_exeext" = no && ac_cv_exeext=
3039
 
 
3040
 
else
3041
 
  ac_file=''
3042
 
fi
3043
 
if test -z "$ac_file"; then :
3044
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3045
 
$as_echo "no" >&6; }
3046
 
$as_echo "$as_me: failed program was:" >&5
3047
 
sed 's/^/| /' conftest.$ac_ext >&5
3048
 
 
3049
 
{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3050
 
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3051
 
as_fn_error 77 "C++ compiler cannot create executables
3052
 
See \`config.log' for more details" "$LINENO" 5; }
3053
 
else
3054
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3055
 
$as_echo "yes" >&6; }
3056
 
fi
3057
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for C++ compiler default output file name" >&5
3058
 
$as_echo_n "checking for C++ compiler default output file name... " >&6; }
3059
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
3060
 
$as_echo "$ac_file" >&6; }
3061
 
ac_exeext=$ac_cv_exeext
3062
 
 
3063
 
rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
3064
 
ac_clean_files=$ac_clean_files_save
3065
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
3066
 
$as_echo_n "checking for suffix of executables... " >&6; }
3067
 
if { { ac_try="$ac_link"
3068
 
case "(($ac_try" in
3069
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3070
 
  *) ac_try_echo=$ac_try;;
3071
 
esac
3072
 
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3073
 
$as_echo "$ac_try_echo"; } >&5
3074
 
  (eval "$ac_link") 2>&5
3075
 
  ac_status=$?
3076
 
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3077
 
  test $ac_status = 0; }; then :
3078
 
  # If both `conftest.exe' and `conftest' are `present' (well, observable)
3079
 
# catch `conftest.exe'.  For instance with Cygwin, `ls conftest' will
3080
 
# work properly (i.e., refer to `conftest.exe'), while it won't with
3081
 
# `rm'.
3082
 
for ac_file in conftest.exe conftest conftest.*; do
3083
 
  test -f "$ac_file" || continue
3084
 
  case $ac_file in
3085
 
    *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
3086
 
    *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
3087
 
          break;;
3088
 
    * ) break;;
3089
 
  esac
3090
 
done
3091
 
else
3092
 
  { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3093
 
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3094
 
as_fn_error $? "cannot compute suffix of executables: cannot compile and link
3095
 
See \`config.log' for more details" "$LINENO" 5; }
3096
 
fi
3097
 
rm -f conftest conftest$ac_cv_exeext
3098
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
3099
 
$as_echo "$ac_cv_exeext" >&6; }
3100
 
 
3101
 
rm -f conftest.$ac_ext
3102
 
EXEEXT=$ac_cv_exeext
3103
 
ac_exeext=$EXEEXT
3104
 
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3105
 
/* end confdefs.h.  */
3106
 
#include <stdio.h>
3107
 
int
3108
 
main ()
3109
 
{
3110
 
FILE *f = fopen ("conftest.out", "w");
3111
 
 return ferror (f) || fclose (f) != 0;
3112
 
 
3113
 
  ;
3114
 
  return 0;
3115
 
}
3116
 
_ACEOF
3117
 
ac_clean_files="$ac_clean_files conftest.out"
3118
 
# Check that the compiler produces executables we can run.  If not, either
3119
 
# the compiler is broken, or we cross compile.
3120
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
3121
 
$as_echo_n "checking whether we are cross compiling... " >&6; }
3122
 
if test "$cross_compiling" != yes; then
3123
 
  { { ac_try="$ac_link"
3124
 
case "(($ac_try" in
3125
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3126
 
  *) ac_try_echo=$ac_try;;
3127
 
esac
3128
 
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3129
 
$as_echo "$ac_try_echo"; } >&5
3130
 
  (eval "$ac_link") 2>&5
3131
 
  ac_status=$?
3132
 
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3133
 
  test $ac_status = 0; }
3134
 
  if { ac_try='./conftest$ac_cv_exeext'
3135
 
  { { case "(($ac_try" in
3136
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3137
 
  *) ac_try_echo=$ac_try;;
3138
 
esac
3139
 
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3140
 
$as_echo "$ac_try_echo"; } >&5
3141
 
  (eval "$ac_try") 2>&5
3142
 
  ac_status=$?
3143
 
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3144
 
  test $ac_status = 0; }; }; then
3145
 
    cross_compiling=no
3146
 
  else
3147
 
    if test "$cross_compiling" = maybe; then
3148
 
        cross_compiling=yes
3149
 
    else
3150
 
        { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3151
 
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3152
 
as_fn_error $? "cannot run C++ compiled programs.
3153
 
If you meant to cross compile, use \`--host'.
3154
 
See \`config.log' for more details" "$LINENO" 5; }
3155
 
    fi
3156
 
  fi
3157
 
fi
3158
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
3159
 
$as_echo "$cross_compiling" >&6; }
3160
 
 
3161
 
rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out
3162
 
ac_clean_files=$ac_clean_files_save
3163
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
3164
 
$as_echo_n "checking for suffix of object files... " >&6; }
3165
 
if ${ac_cv_objext+:} false; then :
3166
 
  $as_echo_n "(cached) " >&6
3167
 
else
3168
 
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3169
 
/* end confdefs.h.  */
3170
 
 
3171
 
int
3172
 
main ()
3173
 
{
3174
 
 
3175
 
  ;
3176
 
  return 0;
3177
 
}
3178
 
_ACEOF
3179
 
rm -f conftest.o conftest.obj
3180
 
if { { ac_try="$ac_compile"
3181
 
case "(($ac_try" in
3182
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3183
 
  *) ac_try_echo=$ac_try;;
3184
 
esac
3185
 
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3186
 
$as_echo "$ac_try_echo"; } >&5
3187
 
  (eval "$ac_compile") 2>&5
3188
 
  ac_status=$?
3189
 
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3190
 
  test $ac_status = 0; }; then :
3191
 
  for ac_file in conftest.o conftest.obj conftest.*; do
3192
 
  test -f "$ac_file" || continue;
3193
 
  case $ac_file in
3194
 
    *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
3195
 
    *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
3196
 
       break;;
3197
 
  esac
3198
 
done
3199
 
else
3200
 
  $as_echo "$as_me: failed program was:" >&5
3201
 
sed 's/^/| /' conftest.$ac_ext >&5
3202
 
 
3203
 
{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3204
 
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3205
 
as_fn_error $? "cannot compute suffix of object files: cannot compile
3206
 
See \`config.log' for more details" "$LINENO" 5; }
3207
 
fi
3208
 
rm -f conftest.$ac_cv_objext conftest.$ac_ext
3209
 
fi
3210
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
3211
 
$as_echo "$ac_cv_objext" >&6; }
3212
 
OBJEXT=$ac_cv_objext
3213
 
ac_objext=$OBJEXT
3214
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C++ compiler" >&5
3215
 
$as_echo_n "checking whether we are using the GNU C++ compiler... " >&6; }
3216
 
if ${ac_cv_cxx_compiler_gnu+:} false; then :
3217
 
  $as_echo_n "(cached) " >&6
3218
 
else
3219
 
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3220
 
/* end confdefs.h.  */
3221
 
 
3222
 
int
3223
 
main ()
3224
 
{
3225
 
#ifndef __GNUC__
3226
 
       choke me
3227
 
#endif
3228
 
 
3229
 
  ;
3230
 
  return 0;
3231
 
}
3232
 
_ACEOF
3233
 
if ac_fn_cxx_try_compile "$LINENO"; then :
3234
 
  ac_compiler_gnu=yes
3235
 
else
3236
 
  ac_compiler_gnu=no
3237
 
fi
3238
 
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3239
 
ac_cv_cxx_compiler_gnu=$ac_compiler_gnu
3240
 
 
3241
 
fi
3242
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cxx_compiler_gnu" >&5
3243
 
$as_echo "$ac_cv_cxx_compiler_gnu" >&6; }
3244
 
if test $ac_compiler_gnu = yes; then
3245
 
  GXX=yes
3246
 
else
3247
 
  GXX=
3248
 
fi
3249
 
ac_test_CXXFLAGS=${CXXFLAGS+set}
3250
 
ac_save_CXXFLAGS=$CXXFLAGS
3251
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CXX accepts -g" >&5
3252
 
$as_echo_n "checking whether $CXX accepts -g... " >&6; }
3253
 
if ${ac_cv_prog_cxx_g+:} false; then :
3254
 
  $as_echo_n "(cached) " >&6
3255
 
else
3256
 
  ac_save_cxx_werror_flag=$ac_cxx_werror_flag
3257
 
   ac_cxx_werror_flag=yes
3258
 
   ac_cv_prog_cxx_g=no
3259
 
   CXXFLAGS="-g"
3260
 
   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3261
 
/* end confdefs.h.  */
3262
 
 
3263
 
int
3264
 
main ()
3265
 
{
3266
 
 
3267
 
  ;
3268
 
  return 0;
3269
 
}
3270
 
_ACEOF
3271
 
if ac_fn_cxx_try_compile "$LINENO"; then :
3272
 
  ac_cv_prog_cxx_g=yes
3273
 
else
3274
 
  CXXFLAGS=""
3275
 
      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3276
 
/* end confdefs.h.  */
3277
 
 
3278
 
int
3279
 
main ()
3280
 
{
3281
 
 
3282
 
  ;
3283
 
  return 0;
3284
 
}
3285
 
_ACEOF
3286
 
if ac_fn_cxx_try_compile "$LINENO"; then :
3287
 
 
3288
 
else
3289
 
  ac_cxx_werror_flag=$ac_save_cxx_werror_flag
3290
 
         CXXFLAGS="-g"
3291
 
         cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3292
 
/* end confdefs.h.  */
3293
 
 
3294
 
int
3295
 
main ()
3296
 
{
3297
 
 
3298
 
  ;
3299
 
  return 0;
3300
 
}
3301
 
_ACEOF
3302
 
if ac_fn_cxx_try_compile "$LINENO"; then :
3303
 
  ac_cv_prog_cxx_g=yes
3304
 
fi
3305
 
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3306
 
fi
3307
 
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3308
 
fi
3309
 
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3310
 
   ac_cxx_werror_flag=$ac_save_cxx_werror_flag
3311
 
fi
3312
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cxx_g" >&5
3313
 
$as_echo "$ac_cv_prog_cxx_g" >&6; }
3314
 
if test "$ac_test_CXXFLAGS" = set; then
3315
 
  CXXFLAGS=$ac_save_CXXFLAGS
3316
 
elif test $ac_cv_prog_cxx_g = yes; then
3317
 
  if test "$GXX" = yes; then
3318
 
    CXXFLAGS="-g -O2"
3319
 
  else
3320
 
    CXXFLAGS="-g"
3321
 
  fi
3322
 
else
3323
 
  if test "$GXX" = yes; then
3324
 
    CXXFLAGS="-O2"
3325
 
  else
3326
 
    CXXFLAGS=
3327
 
  fi
3328
 
fi
3329
 
ac_ext=c
3330
 
ac_cpp='$CPP $CPPFLAGS'
3331
 
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3332
 
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3333
 
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
 
3334
3040
DEPDIR="${am__leading_dot}deps"
3335
3041
 
3336
3042
ac_config_commands="$ac_config_commands depfiles"
3393
3099
fi
3394
3100
 
3395
3101
 
3396
 
 
3397
 
depcc="$CXX"  am_compiler_list=
3398
 
 
3399
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
3400
 
$as_echo_n "checking dependency style of $depcc... " >&6; }
3401
 
if ${am_cv_CXX_dependencies_compiler_type+:} false; then :
3402
 
  $as_echo_n "(cached) " >&6
3403
 
else
3404
 
  if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
3405
 
  # We make a subdir and do the tests there.  Otherwise we can end up
3406
 
  # making bogus files that we don't know about and never remove.  For
3407
 
  # instance it was reported that on HP-UX the gcc test will end up
3408
 
  # making a dummy file named `D' -- because `-MD' means `put the output
3409
 
  # in D'.
3410
 
  mkdir conftest.dir
3411
 
  # Copy depcomp to subdir because otherwise we won't find it if we're
3412
 
  # using a relative directory.
3413
 
  cp "$am_depcomp" conftest.dir
3414
 
  cd conftest.dir
3415
 
  # We will build objects and dependencies in a subdirectory because
3416
 
  # it helps to detect inapplicable dependency modes.  For instance
3417
 
  # both Tru64's cc and ICC support -MD to output dependencies as a
3418
 
  # side effect of compilation, but ICC will put the dependencies in
3419
 
  # the current directory while Tru64 will put them in the object
3420
 
  # directory.
3421
 
  mkdir sub
3422
 
 
3423
 
  am_cv_CXX_dependencies_compiler_type=none
3424
 
  if test "$am_compiler_list" = ""; then
3425
 
     am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
3426
 
  fi
3427
 
  am__universal=false
3428
 
  case " $depcc " in #(
3429
 
     *\ -arch\ *\ -arch\ *) am__universal=true ;;
3430
 
     esac
3431
 
 
3432
 
  for depmode in $am_compiler_list; do
3433
 
    # Setup a source with many dependencies, because some compilers
3434
 
    # like to wrap large dependency lists on column 80 (with \), and
3435
 
    # we should not choose a depcomp mode which is confused by this.
3436
 
    #
3437
 
    # We need to recreate these files for each test, as the compiler may
3438
 
    # overwrite some of them when testing with obscure command lines.
3439
 
    # This happens at least with the AIX C compiler.
3440
 
    : > sub/conftest.c
3441
 
    for i in 1 2 3 4 5 6; do
3442
 
      echo '#include "conftst'$i'.h"' >> sub/conftest.c
3443
 
      # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
3444
 
      # Solaris 8's {/usr,}/bin/sh.
3445
 
      touch sub/conftst$i.h
3446
 
    done
3447
 
    echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
3448
 
 
3449
 
    # We check with `-c' and `-o' for the sake of the "dashmstdout"
3450
 
    # mode.  It turns out that the SunPro C++ compiler does not properly
3451
 
    # handle `-M -o', and we need to detect this.  Also, some Intel
3452
 
    # versions had trouble with output in subdirs
3453
 
    am__obj=sub/conftest.${OBJEXT-o}
3454
 
    am__minus_obj="-o $am__obj"
3455
 
    case $depmode in
3456
 
    gcc)
3457
 
      # This depmode causes a compiler race in universal mode.
3458
 
      test "$am__universal" = false || continue
3459
 
      ;;
3460
 
    nosideeffect)
3461
 
      # after this tag, mechanisms are not by side-effect, so they'll
3462
 
      # only be used when explicitly requested
3463
 
      if test "x$enable_dependency_tracking" = xyes; then
3464
 
        continue
3465
 
      else
3466
 
        break
3467
 
      fi
3468
 
      ;;
3469
 
    msvisualcpp | msvcmsys)
3470
 
      # This compiler won't grok `-c -o', but also, the minuso test has
3471
 
      # not run yet.  These depmodes are late enough in the game, and
3472
 
      # so weak that their functioning should not be impacted.
3473
 
      am__obj=conftest.${OBJEXT-o}
3474
 
      am__minus_obj=
3475
 
      ;;
3476
 
    none) break ;;
3477
 
    esac
3478
 
    if depmode=$depmode \
3479
 
       source=sub/conftest.c object=$am__obj \
3480
 
       depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
3481
 
       $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
3482
 
         >/dev/null 2>conftest.err &&
3483
 
       grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
3484
 
       grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
3485
 
       grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
3486
 
       ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
3487
 
      # icc doesn't choke on unknown options, it will just issue warnings
3488
 
      # or remarks (even with -Werror).  So we grep stderr for any message
3489
 
      # that says an option was ignored or not supported.
3490
 
      # When given -MP, icc 7.0 and 7.1 complain thusly:
3491
 
      #   icc: Command line warning: ignoring option '-M'; no argument required
3492
 
      # The diagnosis changed in icc 8.0:
3493
 
      #   icc: Command line remark: option '-MP' not supported
3494
 
      if (grep 'ignoring option' conftest.err ||
3495
 
          grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
3496
 
        am_cv_CXX_dependencies_compiler_type=$depmode
3497
 
        break
3498
 
      fi
3499
 
    fi
3500
 
  done
3501
 
 
3502
 
  cd ..
3503
 
  rm -rf conftest.dir
3504
 
else
3505
 
  am_cv_CXX_dependencies_compiler_type=none
3506
 
fi
3507
 
 
3508
 
fi
3509
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CXX_dependencies_compiler_type" >&5
3510
 
$as_echo "$am_cv_CXX_dependencies_compiler_type" >&6; }
3511
 
CXXDEPMODE=depmode=$am_cv_CXX_dependencies_compiler_type
3512
 
 
3513
 
 if
3514
 
  test "x$enable_dependency_tracking" != xno \
3515
 
  && test "$am_cv_CXX_dependencies_compiler_type" = gcc3; then
3516
 
  am__fastdepCXX_TRUE=
3517
 
  am__fastdepCXX_FALSE='#'
3518
 
else
3519
 
  am__fastdepCXX_TRUE='#'
3520
 
  am__fastdepCXX_FALSE=
3521
 
fi
3522
 
 
3523
 
 
3524
 
case `pwd` in
3525
 
  *\ * | *\     *)
3526
 
    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&5
3527
 
$as_echo "$as_me: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&2;} ;;
3528
 
esac
3529
 
 
3530
 
 
3531
 
 
3532
 
macro_version='2.4.2'
3533
 
macro_revision='1.3337'
3534
 
 
3535
 
 
3536
 
 
3537
 
 
3538
 
 
3539
 
 
3540
 
 
3541
 
 
3542
 
 
3543
 
 
3544
 
 
3545
 
 
3546
 
 
3547
 
ltmain="$ac_aux_dir/ltmain.sh"
3548
 
 
3549
 
# Make sure we can run config.sub.
3550
 
$SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
3551
 
  as_fn_error $? "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
3552
 
 
3553
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
3554
 
$as_echo_n "checking build system type... " >&6; }
3555
 
if ${ac_cv_build+:} false; then :
3556
 
  $as_echo_n "(cached) " >&6
3557
 
else
3558
 
  ac_build_alias=$build_alias
3559
 
test "x$ac_build_alias" = x &&
3560
 
  ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
3561
 
test "x$ac_build_alias" = x &&
3562
 
  as_fn_error $? "cannot guess build type; you must specify one" "$LINENO" 5
3563
 
ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
3564
 
  as_fn_error $? "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
3565
 
 
3566
 
fi
3567
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
3568
 
$as_echo "$ac_cv_build" >&6; }
3569
 
case $ac_cv_build in
3570
 
*-*-*) ;;
3571
 
*) as_fn_error $? "invalid value of canonical build" "$LINENO" 5;;
3572
 
esac
3573
 
build=$ac_cv_build
3574
 
ac_save_IFS=$IFS; IFS='-'
3575
 
set x $ac_cv_build
3576
 
shift
3577
 
build_cpu=$1
3578
 
build_vendor=$2
3579
 
shift; shift
3580
 
# Remember, the first character of IFS is used to create $*,
3581
 
# except with old shells:
3582
 
build_os=$*
3583
 
IFS=$ac_save_IFS
3584
 
case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
3585
 
 
3586
 
 
3587
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
3588
 
$as_echo_n "checking host system type... " >&6; }
3589
 
if ${ac_cv_host+:} false; then :
3590
 
  $as_echo_n "(cached) " >&6
3591
 
else
3592
 
  if test "x$host_alias" = x; then
3593
 
  ac_cv_host=$ac_cv_build
3594
 
else
3595
 
  ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
3596
 
    as_fn_error $? "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
3597
 
fi
3598
 
 
3599
 
fi
3600
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
3601
 
$as_echo "$ac_cv_host" >&6; }
3602
 
case $ac_cv_host in
3603
 
*-*-*) ;;
3604
 
*) as_fn_error $? "invalid value of canonical host" "$LINENO" 5;;
3605
 
esac
3606
 
host=$ac_cv_host
3607
 
ac_save_IFS=$IFS; IFS='-'
3608
 
set x $ac_cv_host
3609
 
shift
3610
 
host_cpu=$1
3611
 
host_vendor=$2
3612
 
shift; shift
3613
 
# Remember, the first character of IFS is used to create $*,
3614
 
# except with old shells:
3615
 
host_os=$*
3616
 
IFS=$ac_save_IFS
3617
 
case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
3618
 
 
3619
 
 
3620
 
# Backslashify metacharacters that are still active within
3621
 
# double-quoted strings.
3622
 
sed_quote_subst='s/\(["`$\\]\)/\\\1/g'
3623
 
 
3624
 
# Same as above, but do not quote variable references.
3625
 
double_quote_subst='s/\(["`\\]\)/\\\1/g'
3626
 
 
3627
 
# Sed substitution to delay expansion of an escaped shell variable in a
3628
 
# double_quote_subst'ed string.
3629
 
delay_variable_subst='s/\\\\\\\\\\\$/\\\\\\$/g'
3630
 
 
3631
 
# Sed substitution to delay expansion of an escaped single quote.
3632
 
delay_single_quote_subst='s/'\''/'\'\\\\\\\'\''/g'
3633
 
 
3634
 
# Sed substitution to avoid accidental globbing in evaled expressions
3635
 
no_glob_subst='s/\*/\\\*/g'
3636
 
 
3637
 
ECHO='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
3638
 
ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO
3639
 
ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO$ECHO
3640
 
 
3641
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to print strings" >&5
3642
 
$as_echo_n "checking how to print strings... " >&6; }
3643
 
# Test print first, because it will be a builtin if present.
3644
 
if test "X`( print -r -- -n ) 2>/dev/null`" = X-n && \
3645
 
   test "X`print -r -- $ECHO 2>/dev/null`" = "X$ECHO"; then
3646
 
  ECHO='print -r --'
3647
 
elif test "X`printf %s $ECHO 2>/dev/null`" = "X$ECHO"; then
3648
 
  ECHO='printf %s\n'
3649
 
else
3650
 
  # Use this function as a fallback that always works.
3651
 
  func_fallback_echo ()
3652
 
  {
3653
 
    eval 'cat <<_LTECHO_EOF
3654
 
$1
3655
 
_LTECHO_EOF'
3656
 
  }
3657
 
  ECHO='func_fallback_echo'
3658
 
fi
3659
 
 
3660
 
# func_echo_all arg...
3661
 
# Invoke $ECHO with all args, space-separated.
3662
 
func_echo_all ()
3663
 
{
3664
 
    $ECHO ""
3665
 
}
3666
 
 
3667
 
case "$ECHO" in
3668
 
  printf*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: printf" >&5
3669
 
$as_echo "printf" >&6; } ;;
3670
 
  print*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: print -r" >&5
3671
 
$as_echo "print -r" >&6; } ;;
3672
 
  *) { $as_echo "$as_me:${as_lineno-$LINENO}: result: cat" >&5
3673
 
$as_echo "cat" >&6; } ;;
3674
 
esac
3675
 
 
3676
 
 
3677
 
 
3678
 
 
3679
 
 
3680
 
 
3681
 
 
3682
 
 
3683
 
 
3684
 
 
3685
 
 
3686
 
 
3687
 
 
3688
 
 
3689
3102
ac_ext=c
3690
3103
ac_cpp='$CPP $CPPFLAGS'
3691
3104
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3696
3109
set dummy ${ac_tool_prefix}gcc; ac_word=$2
3697
3110
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3698
3111
$as_echo_n "checking for $ac_word... " >&6; }
3699
 
if ${ac_cv_prog_CC+:} false; then :
 
3112
if test "${ac_cv_prog_CC+set}" = set; then :
3700
3113
  $as_echo_n "(cached) " >&6
3701
3114
else
3702
3115
  if test -n "$CC"; then
3736
3149
set dummy gcc; ac_word=$2
3737
3150
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3738
3151
$as_echo_n "checking for $ac_word... " >&6; }
3739
 
if ${ac_cv_prog_ac_ct_CC+:} false; then :
 
3152
if test "${ac_cv_prog_ac_ct_CC+set}" = set; then :
3740
3153
  $as_echo_n "(cached) " >&6
3741
3154
else
3742
3155
  if test -n "$ac_ct_CC"; then
3789
3202
set dummy ${ac_tool_prefix}cc; ac_word=$2
3790
3203
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3791
3204
$as_echo_n "checking for $ac_word... " >&6; }
3792
 
if ${ac_cv_prog_CC+:} false; then :
 
3205
if test "${ac_cv_prog_CC+set}" = set; then :
3793
3206
  $as_echo_n "(cached) " >&6
3794
3207
else
3795
3208
  if test -n "$CC"; then
3829
3242
set dummy cc; ac_word=$2
3830
3243
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3831
3244
$as_echo_n "checking for $ac_word... " >&6; }
3832
 
if ${ac_cv_prog_CC+:} false; then :
 
3245
if test "${ac_cv_prog_CC+set}" = set; then :
3833
3246
  $as_echo_n "(cached) " >&6
3834
3247
else
3835
3248
  if test -n "$CC"; then
3888
3301
set dummy $ac_tool_prefix$ac_prog; ac_word=$2
3889
3302
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3890
3303
$as_echo_n "checking for $ac_word... " >&6; }
3891
 
if ${ac_cv_prog_CC+:} false; then :
 
3304
if test "${ac_cv_prog_CC+set}" = set; then :
3892
3305
  $as_echo_n "(cached) " >&6
3893
3306
else
3894
3307
  if test -n "$CC"; then
3932
3345
set dummy $ac_prog; ac_word=$2
3933
3346
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3934
3347
$as_echo_n "checking for $ac_word... " >&6; }
3935
 
if ${ac_cv_prog_ac_ct_CC+:} false; then :
 
3348
if test "${ac_cv_prog_ac_ct_CC+set}" = set; then :
3936
3349
  $as_echo_n "(cached) " >&6
3937
3350
else
3938
3351
  if test -n "$ac_ct_CC"; then
3986
3399
 
3987
3400
test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3988
3401
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3989
 
as_fn_error $? "no acceptable C compiler found in \$PATH
3990
 
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; }
3991
3404
 
3992
3405
# Provide some information about the compiler.
3993
3406
$as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
4008
3421
... rest of stderr output deleted ...
4009
3422
         10q' conftest.err >conftest.er1
4010
3423
    cat conftest.er1 >&5
 
3424
    rm -f conftest.er1 conftest.err
4011
3425
  fi
4012
 
  rm -f conftest.er1 conftest.err
4013
3426
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4014
3427
  test $ac_status = 0; }
4015
3428
done
4016
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
4017
3657
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
4018
3658
$as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
4019
 
if ${ac_cv_c_compiler_gnu+:} false; then :
 
3659
if test "${ac_cv_c_compiler_gnu+set}" = set; then :
4020
3660
  $as_echo_n "(cached) " >&6
4021
3661
else
4022
3662
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4053
3693
ac_save_CFLAGS=$CFLAGS
4054
3694
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
4055
3695
$as_echo_n "checking whether $CC accepts -g... " >&6; }
4056
 
if ${ac_cv_prog_cc_g+:} false; then :
 
3696
if test "${ac_cv_prog_cc_g+set}" = set; then :
4057
3697
  $as_echo_n "(cached) " >&6
4058
3698
else
4059
3699
  ac_save_c_werror_flag=$ac_c_werror_flag
4131
3771
fi
4132
3772
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
4133
3773
$as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
4134
 
if ${ac_cv_prog_cc_c89+:} false; then :
 
3774
if test "${ac_cv_prog_cc_c89+set}" = set; then :
4135
3775
  $as_echo_n "(cached) " >&6
4136
3776
else
4137
3777
  ac_cv_prog_cc_c89=no
4230
3870
 
4231
3871
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
4232
3872
$as_echo_n "checking dependency style of $depcc... " >&6; }
4233
 
if ${am_cv_CC_dependencies_compiler_type+:} false; then :
 
3873
if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then :
4234
3874
  $as_echo_n "(cached) " >&6
4235
3875
else
4236
3876
  if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
4355
3995
 
4356
3996
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for a sed that does not truncate output" >&5
4357
3997
$as_echo_n "checking for a sed that does not truncate output... " >&6; }
4358
 
if ${ac_cv_path_SED+:} false; then :
 
3998
if test "${ac_cv_path_SED+set}" = set; then :
4359
3999
  $as_echo_n "(cached) " >&6
4360
4000
else
4361
4001
            ac_script=s/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb/
4410
4050
  done
4411
4051
IFS=$as_save_IFS
4412
4052
  if test -z "$ac_cv_path_SED"; then
4413
 
    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
4414
4054
  fi
4415
4055
else
4416
4056
  ac_cv_path_SED=$SED
4437
4077
 
4438
4078
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
4439
4079
$as_echo_n "checking for grep that handles long lines and -e... " >&6; }
4440
 
if ${ac_cv_path_GREP+:} false; then :
 
4080
if test "${ac_cv_path_GREP+set}" = set; then :
4441
4081
  $as_echo_n "(cached) " >&6
4442
4082
else
4443
4083
  if test -z "$GREP"; then
4486
4126
  done
4487
4127
IFS=$as_save_IFS
4488
4128
  if test -z "$ac_cv_path_GREP"; then
4489
 
    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
4490
4130
  fi
4491
4131
else
4492
4132
  ac_cv_path_GREP=$GREP
4500
4140
 
4501
4141
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
4502
4142
$as_echo_n "checking for egrep... " >&6; }
4503
 
if ${ac_cv_path_EGREP+:} false; then :
 
4143
if test "${ac_cv_path_EGREP+set}" = set; then :
4504
4144
  $as_echo_n "(cached) " >&6
4505
4145
else
4506
4146
  if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
4552
4192
  done
4553
4193
IFS=$as_save_IFS
4554
4194
  if test -z "$ac_cv_path_EGREP"; then
4555
 
    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
4556
4196
  fi
4557
4197
else
4558
4198
  ac_cv_path_EGREP=$EGREP
4567
4207
 
4568
4208
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for fgrep" >&5
4569
4209
$as_echo_n "checking for fgrep... " >&6; }
4570
 
if ${ac_cv_path_FGREP+:} false; then :
 
4210
if test "${ac_cv_path_FGREP+set}" = set; then :
4571
4211
  $as_echo_n "(cached) " >&6
4572
4212
else
4573
4213
  if echo 'ab*c' | $GREP -F 'ab*c' >/dev/null 2>&1
4619
4259
  done
4620
4260
IFS=$as_save_IFS
4621
4261
  if test -z "$ac_cv_path_FGREP"; then
4622
 
    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
4623
4263
  fi
4624
4264
else
4625
4265
  ac_cv_path_FGREP=$FGREP
4698
4338
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
4699
4339
$as_echo_n "checking for non-GNU ld... " >&6; }
4700
4340
fi
4701
 
if ${lt_cv_path_LD+:} false; then :
 
4341
if test "${lt_cv_path_LD+set}" = set; then :
4702
4342
  $as_echo_n "(cached) " >&6
4703
4343
else
4704
4344
  if test -z "$LD"; then
4735
4375
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4736
4376
$as_echo "no" >&6; }
4737
4377
fi
4738
 
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
4739
4379
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
4740
4380
$as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
4741
 
if ${lt_cv_prog_gnu_ld+:} false; then :
 
4381
if test "${lt_cv_prog_gnu_ld+set}" = set; then :
4742
4382
  $as_echo_n "(cached) " >&6
4743
4383
else
4744
4384
  # I'd rather use --version here, but apparently some GNU lds only accept -v.
4765
4405
 
4766
4406
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for BSD- or MS-compatible name lister (nm)" >&5
4767
4407
$as_echo_n "checking for BSD- or MS-compatible name lister (nm)... " >&6; }
4768
 
if ${lt_cv_path_NM+:} false; then :
 
4408
if test "${lt_cv_path_NM+set}" = set; then :
4769
4409
  $as_echo_n "(cached) " >&6
4770
4410
else
4771
4411
  if test -n "$NM"; then
4818
4458
  NM="$lt_cv_path_NM"
4819
4459
else
4820
4460
  # Didn't find any BSD compatible name lister, look for dumpbin.
4821
 
  if test -n "$DUMPBIN"; then :
4822
 
    # Let the user override the test.
4823
 
  else
4824
 
    if test -n "$ac_tool_prefix"; then
4825
 
  for ac_prog in dumpbin "link -dump"
 
4461
  if test -n "$ac_tool_prefix"; then
 
4462
  for ac_prog in "dumpbin -symbols" "link -dump -symbols"
4826
4463
  do
4827
4464
    # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
4828
4465
set dummy $ac_tool_prefix$ac_prog; ac_word=$2
4829
4466
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4830
4467
$as_echo_n "checking for $ac_word... " >&6; }
4831
 
if ${ac_cv_prog_DUMPBIN+:} false; then :
 
4468
if test "${ac_cv_prog_DUMPBIN+set}" = set; then :
4832
4469
  $as_echo_n "(cached) " >&6
4833
4470
else
4834
4471
  if test -n "$DUMPBIN"; then
4866
4503
fi
4867
4504
if test -z "$DUMPBIN"; then
4868
4505
  ac_ct_DUMPBIN=$DUMPBIN
4869
 
  for ac_prog in dumpbin "link -dump"
 
4506
  for ac_prog in "dumpbin -symbols" "link -dump -symbols"
4870
4507
do
4871
4508
  # Extract the first word of "$ac_prog", so it can be a program name with args.
4872
4509
set dummy $ac_prog; ac_word=$2
4873
4510
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4874
4511
$as_echo_n "checking for $ac_word... " >&6; }
4875
 
if ${ac_cv_prog_ac_ct_DUMPBIN+:} false; then :
 
4512
if test "${ac_cv_prog_ac_ct_DUMPBIN+set}" = set; then :
4876
4513
  $as_echo_n "(cached) " >&6
4877
4514
else
4878
4515
  if test -n "$ac_ct_DUMPBIN"; then
4921
4558
  fi
4922
4559
fi
4923
4560
 
4924
 
    case `$DUMPBIN -symbols /dev/null 2>&1 | sed '1q'` in
4925
 
    *COFF*)
4926
 
      DUMPBIN="$DUMPBIN -symbols"
4927
 
      ;;
4928
 
    *)
4929
 
      DUMPBIN=:
4930
 
      ;;
4931
 
    esac
4932
 
  fi
4933
4561
 
4934
4562
  if test "$DUMPBIN" != ":"; then
4935
4563
    NM="$DUMPBIN"
4944
4572
 
4945
4573
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking the name lister ($NM) interface" >&5
4946
4574
$as_echo_n "checking the name lister ($NM) interface... " >&6; }
4947
 
if ${lt_cv_nm_interface+:} false; then :
 
4575
if test "${lt_cv_nm_interface+set}" = set; then :
4948
4576
  $as_echo_n "(cached) " >&6
4949
4577
else
4950
4578
  lt_cv_nm_interface="BSD nm"
4951
4579
  echo "int some_variable = 0;" > conftest.$ac_ext
4952
 
  (eval echo "\"\$as_me:$LINENO: $ac_compile\"" >&5)
 
4580
  (eval echo "\"\$as_me:4580: $ac_compile\"" >&5)
4953
4581
  (eval "$ac_compile" 2>conftest.err)
4954
4582
  cat conftest.err >&5
4955
 
  (eval echo "\"\$as_me:$LINENO: $NM \\\"conftest.$ac_objext\\\"\"" >&5)
 
4583
  (eval echo "\"\$as_me:4583: $NM \\\"conftest.$ac_objext\\\"\"" >&5)
4956
4584
  (eval "$NM \"conftest.$ac_objext\"" 2>conftest.err > conftest.out)
4957
4585
  cat conftest.err >&5
4958
 
  (eval echo "\"\$as_me:$LINENO: output\"" >&5)
 
4586
  (eval echo "\"\$as_me:4586: output\"" >&5)
4959
4587
  cat conftest.out >&5
4960
4588
  if $GREP 'External.*some_variable' conftest.out > /dev/null; then
4961
4589
    lt_cv_nm_interface="MS dumpbin"
4979
4607
# find the maximum length of command line arguments
4980
4608
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking the maximum length of command line arguments" >&5
4981
4609
$as_echo_n "checking the maximum length of command line arguments... " >&6; }
4982
 
if ${lt_cv_sys_max_cmd_len+:} false; then :
 
4610
if test "${lt_cv_sys_max_cmd_len+set}" = set; then :
4983
4611
  $as_echo_n "(cached) " >&6
4984
4612
else
4985
4613
    i=0
5012
4640
    lt_cv_sys_max_cmd_len=8192;
5013
4641
    ;;
5014
4642
 
5015
 
  mint*)
5016
 
    # On MiNT this can take a long time and run out of memory.
5017
 
    lt_cv_sys_max_cmd_len=8192;
5018
 
    ;;
5019
 
 
5020
4643
  amigaos*)
5021
4644
    # On AmigaOS with pdksh, this test takes hours, literally.
5022
4645
    # So we just punt and use a minimum line length of 8192.
5042
4665
    lt_cv_sys_max_cmd_len=196608
5043
4666
    ;;
5044
4667
 
5045
 
  os2*)
5046
 
    # The test takes a long time on OS/2.
5047
 
    lt_cv_sys_max_cmd_len=8192
5048
 
    ;;
5049
 
 
5050
4668
  osf*)
5051
4669
    # Dr. Hans Ekkehard Plesser reports seeing a kernel panic running configure
5052
4670
    # due to this test when exec_disable_arg_limit is 1 on Tru64. It is not
5086
4704
      # If test is not a shell built-in, we'll probably end up computing a
5087
4705
      # maximum length that is only half of the actual maximum length, but
5088
4706
      # we can't tell.
5089
 
      while { test "X"`env echo "$teststring$teststring" 2>/dev/null` \
5090
 
                 = "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 &&
5091
4709
              test $i != 17 # 1/2 MB should be enough
5092
4710
      do
5093
4711
        i=`expr $i + 1`
5129
4747
# Try some XSI features
5130
4748
xsi_shell=no
5131
4749
( _lt_dummy="a/b/c"
5132
 
  test "${_lt_dummy##*/},${_lt_dummy%/*},${_lt_dummy#??}"${_lt_dummy%"$_lt_dummy"}, \
5133
 
      = c,a/b,b/c, \
 
4750
  test "${_lt_dummy##*/},${_lt_dummy%/*},"${_lt_dummy%"$_lt_dummy"}, \
 
4751
      = c,a/b,, \
5134
4752
    && eval 'test $(( 1 + 1 )) -eq 2 \
5135
4753
    && test "${#_lt_dummy}" -eq 5' ) >/dev/null 2>&1 \
5136
4754
  && xsi_shell=yes
5179
4797
 
5180
4798
 
5181
4799
 
5182
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to convert $build file names to $host format" >&5
5183
 
$as_echo_n "checking how to convert $build file names to $host format... " >&6; }
5184
 
if ${lt_cv_to_host_file_cmd+:} false; then :
5185
 
  $as_echo_n "(cached) " >&6
5186
 
else
5187
 
  case $host in
5188
 
  *-*-mingw* )
5189
 
    case $build in
5190
 
      *-*-mingw* ) # actually msys
5191
 
        lt_cv_to_host_file_cmd=func_convert_file_msys_to_w32
5192
 
        ;;
5193
 
      *-*-cygwin* )
5194
 
        lt_cv_to_host_file_cmd=func_convert_file_cygwin_to_w32
5195
 
        ;;
5196
 
      * ) # otherwise, assume *nix
5197
 
        lt_cv_to_host_file_cmd=func_convert_file_nix_to_w32
5198
 
        ;;
5199
 
    esac
5200
 
    ;;
5201
 
  *-*-cygwin* )
5202
 
    case $build in
5203
 
      *-*-mingw* ) # actually msys
5204
 
        lt_cv_to_host_file_cmd=func_convert_file_msys_to_cygwin
5205
 
        ;;
5206
 
      *-*-cygwin* )
5207
 
        lt_cv_to_host_file_cmd=func_convert_file_noop
5208
 
        ;;
5209
 
      * ) # otherwise, assume *nix
5210
 
        lt_cv_to_host_file_cmd=func_convert_file_nix_to_cygwin
5211
 
        ;;
5212
 
    esac
5213
 
    ;;
5214
 
  * ) # unhandled hosts (and "normal" native builds)
5215
 
    lt_cv_to_host_file_cmd=func_convert_file_noop
5216
 
    ;;
5217
 
esac
5218
 
 
5219
 
fi
5220
 
 
5221
 
to_host_file_cmd=$lt_cv_to_host_file_cmd
5222
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_to_host_file_cmd" >&5
5223
 
$as_echo "$lt_cv_to_host_file_cmd" >&6; }
5224
 
 
5225
 
 
5226
 
 
5227
 
 
5228
 
 
5229
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to convert $build file names to toolchain format" >&5
5230
 
$as_echo_n "checking how to convert $build file names to toolchain format... " >&6; }
5231
 
if ${lt_cv_to_tool_file_cmd+:} false; then :
5232
 
  $as_echo_n "(cached) " >&6
5233
 
else
5234
 
  #assume ordinary cross tools, or native build.
5235
 
lt_cv_to_tool_file_cmd=func_convert_file_noop
5236
 
case $host in
5237
 
  *-*-mingw* )
5238
 
    case $build in
5239
 
      *-*-mingw* ) # actually msys
5240
 
        lt_cv_to_tool_file_cmd=func_convert_file_msys_to_w32
5241
 
        ;;
5242
 
    esac
5243
 
    ;;
5244
 
esac
5245
 
 
5246
 
fi
5247
 
 
5248
 
to_tool_file_cmd=$lt_cv_to_tool_file_cmd
5249
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_to_tool_file_cmd" >&5
5250
 
$as_echo "$lt_cv_to_tool_file_cmd" >&6; }
5251
 
 
5252
 
 
5253
 
 
5254
 
 
5255
 
 
5256
4800
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $LD option to reload object files" >&5
5257
4801
$as_echo_n "checking for $LD option to reload object files... " >&6; }
5258
 
if ${lt_cv_ld_reload_flag+:} false; then :
 
4802
if test "${lt_cv_ld_reload_flag+set}" = set; then :
5259
4803
  $as_echo_n "(cached) " >&6
5260
4804
else
5261
4805
  lt_cv_ld_reload_flag='-r'
5269
4813
esac
5270
4814
reload_cmds='$LD$reload_flag -o $output$reload_objs'
5271
4815
case $host_os in
5272
 
  cygwin* | mingw* | pw32* | cegcc*)
5273
 
    if test "$GCC" != yes; then
5274
 
      reload_cmds=false
5275
 
    fi
5276
 
    ;;
5277
4816
  darwin*)
5278
4817
    if test "$GCC" = yes; then
5279
4818
      reload_cmds='$LTCC $LTCFLAGS -nostdlib ${wl}-r -o $output$reload_objs'
5296
4835
set dummy ${ac_tool_prefix}objdump; ac_word=$2
5297
4836
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5298
4837
$as_echo_n "checking for $ac_word... " >&6; }
5299
 
if ${ac_cv_prog_OBJDUMP+:} false; then :
 
4838
if test "${ac_cv_prog_OBJDUMP+set}" = set; then :
5300
4839
  $as_echo_n "(cached) " >&6
5301
4840
else
5302
4841
  if test -n "$OBJDUMP"; then
5336
4875
set dummy objdump; ac_word=$2
5337
4876
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5338
4877
$as_echo_n "checking for $ac_word... " >&6; }
5339
 
if ${ac_cv_prog_ac_ct_OBJDUMP+:} false; then :
 
4878
if test "${ac_cv_prog_ac_ct_OBJDUMP+set}" = set; then :
5340
4879
  $as_echo_n "(cached) " >&6
5341
4880
else
5342
4881
  if test -n "$ac_ct_OBJDUMP"; then
5395
4934
 
5396
4935
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to recognize dependent libraries" >&5
5397
4936
$as_echo_n "checking how to recognize dependent libraries... " >&6; }
5398
 
if ${lt_cv_deplibs_check_method+:} false; then :
 
4937
if test "${lt_cv_deplibs_check_method+set}" = set; then :
5399
4938
  $as_echo_n "(cached) " >&6
5400
4939
else
5401
4940
  lt_cv_file_magic_cmd='$MAGIC_CMD'
5437
4976
  # Base MSYS/MinGW do not provide the 'file' command needed by
5438
4977
  # func_win32_libid shell function, so use a weaker test based on 'objdump',
5439
4978
  # unless we find 'file', for example because we are cross-compiling.
5440
 
  # func_win32_libid assumes BSD nm, so disallow it if using MS dumpbin.
5441
 
  if ( test "$lt_cv_nm_interface" = "BSD nm" && file / ) >/dev/null 2>&1; then
 
4979
  if ( file / ) >/dev/null 2>&1; then
5442
4980
    lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
5443
4981
    lt_cv_file_magic_cmd='func_win32_libid'
5444
4982
  else
5445
 
    # Keep this pattern in sync with the one in func_win32_libid.
5446
 
    lt_cv_deplibs_check_method='file_magic file format (pei*-i386(.*architecture: i386)?|pe-arm-wince|pe-x86-64)'
 
4983
    lt_cv_deplibs_check_method='file_magic file format pei*-i386(.*architecture: i386)?'
5447
4984
    lt_cv_file_magic_cmd='$OBJDUMP -f'
5448
4985
  fi
5449
4986
  ;;
5450
4987
 
5451
 
cegcc*)
 
4988
cegcc)
5452
4989
  # use the weaker test based on 'objdump'. See mingw*.
5453
4990
  lt_cv_deplibs_check_method='file_magic file format pe-arm-.*little(.*architecture: arm)?'
5454
4991
  lt_cv_file_magic_cmd='$OBJDUMP -f'
5478
5015
  lt_cv_deplibs_check_method=pass_all
5479
5016
  ;;
5480
5017
 
5481
 
haiku*)
5482
 
  lt_cv_deplibs_check_method=pass_all
5483
 
  ;;
5484
 
 
5485
5018
hpux10.20* | hpux11*)
5486
5019
  lt_cv_file_magic_cmd=/usr/bin/file
5487
5020
  case $host_cpu in
5490
5023
    lt_cv_file_magic_test_file=/usr/lib/hpux32/libc.so
5491
5024
    ;;
5492
5025
  hppa*64*)
5493
 
    lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF[ -][0-9][0-9])(-bit)?( [LM]SB)? shared object( file)?[, -]* PA-RISC [0-9]\.[0-9]'
 
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]'
5494
5027
    lt_cv_file_magic_test_file=/usr/lib/pa20_64/libc.sl
5495
5028
    ;;
5496
5029
  *)
5497
 
    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'
5498
5031
    lt_cv_file_magic_test_file=/usr/lib/libc.sl
5499
5032
    ;;
5500
5033
  esac
5515
5048
  lt_cv_deplibs_check_method=pass_all
5516
5049
  ;;
5517
5050
 
5518
 
# This must be glibc/ELF.
5519
 
linux* | k*bsd*-gnu | kopensolaris*-gnu)
 
5051
# This must be Linux ELF.
 
5052
linux* | k*bsd*-gnu)
5520
5053
  lt_cv_deplibs_check_method=pass_all
5521
5054
  ;;
5522
5055
 
5597
5130
fi
5598
5131
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_deplibs_check_method" >&5
5599
5132
$as_echo "$lt_cv_deplibs_check_method" >&6; }
5600
 
 
5601
 
file_magic_glob=
5602
 
want_nocaseglob=no
5603
 
if test "$build" = "$host"; then
5604
 
  case $host_os in
5605
 
  mingw* | pw32*)
5606
 
    if ( shopt | grep nocaseglob ) >/dev/null 2>&1; then
5607
 
      want_nocaseglob=yes
5608
 
    else
5609
 
      file_magic_glob=`echo aAbBcCdDeEfFgGhHiIjJkKlLmMnNoOpPqQrRsStTuUvVwWxXyYzZ | $SED -e "s/\(..\)/s\/[\1]\/[\1]\/g;/g"`
5610
 
    fi
5611
 
    ;;
5612
 
  esac
5613
 
fi
5614
 
 
5615
5133
file_magic_cmd=$lt_cv_file_magic_cmd
5616
5134
deplibs_check_method=$lt_cv_deplibs_check_method
5617
5135
test -z "$deplibs_check_method" && deplibs_check_method=unknown
5627
5145
 
5628
5146
 
5629
5147
 
5630
 
 
5631
 
 
5632
 
 
5633
 
 
5634
 
 
5635
 
 
5636
 
 
5637
 
 
5638
 
 
5639
 
 
5640
 
if test -n "$ac_tool_prefix"; then
5641
 
  # Extract the first word of "${ac_tool_prefix}dlltool", so it can be a program name with args.
5642
 
set dummy ${ac_tool_prefix}dlltool; ac_word=$2
5643
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5644
 
$as_echo_n "checking for $ac_word... " >&6; }
5645
 
if ${ac_cv_prog_DLLTOOL+:} false; then :
5646
 
  $as_echo_n "(cached) " >&6
5647
 
else
5648
 
  if test -n "$DLLTOOL"; then
5649
 
  ac_cv_prog_DLLTOOL="$DLLTOOL" # Let the user override the test.
5650
 
else
5651
 
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5652
 
for as_dir in $PATH
5653
 
do
5654
 
  IFS=$as_save_IFS
5655
 
  test -z "$as_dir" && as_dir=.
5656
 
    for ac_exec_ext in '' $ac_executable_extensions; do
5657
 
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5658
 
    ac_cv_prog_DLLTOOL="${ac_tool_prefix}dlltool"
5659
 
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5660
 
    break 2
5661
 
  fi
5662
 
done
5663
 
  done
5664
 
IFS=$as_save_IFS
5665
 
 
5666
 
fi
5667
 
fi
5668
 
DLLTOOL=$ac_cv_prog_DLLTOOL
5669
 
if test -n "$DLLTOOL"; then
5670
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DLLTOOL" >&5
5671
 
$as_echo "$DLLTOOL" >&6; }
5672
 
else
5673
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5674
 
$as_echo "no" >&6; }
5675
 
fi
5676
 
 
5677
 
 
5678
 
fi
5679
 
if test -z "$ac_cv_prog_DLLTOOL"; then
5680
 
  ac_ct_DLLTOOL=$DLLTOOL
5681
 
  # Extract the first word of "dlltool", so it can be a program name with args.
5682
 
set dummy dlltool; ac_word=$2
5683
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5684
 
$as_echo_n "checking for $ac_word... " >&6; }
5685
 
if ${ac_cv_prog_ac_ct_DLLTOOL+:} false; then :
5686
 
  $as_echo_n "(cached) " >&6
5687
 
else
5688
 
  if test -n "$ac_ct_DLLTOOL"; then
5689
 
  ac_cv_prog_ac_ct_DLLTOOL="$ac_ct_DLLTOOL" # Let the user override the test.
5690
 
else
5691
 
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5692
 
for as_dir in $PATH
5693
 
do
5694
 
  IFS=$as_save_IFS
5695
 
  test -z "$as_dir" && as_dir=.
5696
 
    for ac_exec_ext in '' $ac_executable_extensions; do
5697
 
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5698
 
    ac_cv_prog_ac_ct_DLLTOOL="dlltool"
5699
 
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5700
 
    break 2
5701
 
  fi
5702
 
done
5703
 
  done
5704
 
IFS=$as_save_IFS
5705
 
 
5706
 
fi
5707
 
fi
5708
 
ac_ct_DLLTOOL=$ac_cv_prog_ac_ct_DLLTOOL
5709
 
if test -n "$ac_ct_DLLTOOL"; then
5710
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DLLTOOL" >&5
5711
 
$as_echo "$ac_ct_DLLTOOL" >&6; }
5712
 
else
5713
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5714
 
$as_echo "no" >&6; }
5715
 
fi
5716
 
 
5717
 
  if test "x$ac_ct_DLLTOOL" = x; then
5718
 
    DLLTOOL="false"
5719
 
  else
5720
 
    case $cross_compiling:$ac_tool_warned in
5721
 
yes:)
5722
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5723
 
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5724
 
ac_tool_warned=yes ;;
5725
 
esac
5726
 
    DLLTOOL=$ac_ct_DLLTOOL
5727
 
  fi
5728
 
else
5729
 
  DLLTOOL="$ac_cv_prog_DLLTOOL"
5730
 
fi
5731
 
 
5732
 
test -z "$DLLTOOL" && DLLTOOL=dlltool
5733
 
 
5734
 
 
5735
 
 
5736
 
 
5737
 
 
5738
 
 
5739
 
 
5740
 
 
5741
 
 
5742
 
 
5743
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to associate runtime and link libraries" >&5
5744
 
$as_echo_n "checking how to associate runtime and link libraries... " >&6; }
5745
 
if ${lt_cv_sharedlib_from_linklib_cmd+:} false; then :
5746
 
  $as_echo_n "(cached) " >&6
5747
 
else
5748
 
  lt_cv_sharedlib_from_linklib_cmd='unknown'
5749
 
 
5750
 
case $host_os in
5751
 
cygwin* | mingw* | pw32* | cegcc*)
5752
 
  # two different shell functions defined in ltmain.sh
5753
 
  # decide which to use based on capabilities of $DLLTOOL
5754
 
  case `$DLLTOOL --help 2>&1` in
5755
 
  *--identify-strict*)
5756
 
    lt_cv_sharedlib_from_linklib_cmd=func_cygming_dll_for_implib
5757
 
    ;;
5758
 
  *)
5759
 
    lt_cv_sharedlib_from_linklib_cmd=func_cygming_dll_for_implib_fallback
5760
 
    ;;
5761
 
  esac
5762
 
  ;;
5763
 
*)
5764
 
  # fallback: assume linklib IS sharedlib
5765
 
  lt_cv_sharedlib_from_linklib_cmd="$ECHO"
5766
 
  ;;
5767
 
esac
5768
 
 
5769
 
fi
5770
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sharedlib_from_linklib_cmd" >&5
5771
 
$as_echo "$lt_cv_sharedlib_from_linklib_cmd" >&6; }
5772
 
sharedlib_from_linklib_cmd=$lt_cv_sharedlib_from_linklib_cmd
5773
 
test -z "$sharedlib_from_linklib_cmd" && sharedlib_from_linklib_cmd=$ECHO
5774
 
 
5775
 
 
5776
 
 
5777
 
 
5778
 
 
5779
 
 
5780
 
 
5781
 
 
5782
 
if test -n "$ac_tool_prefix"; then
5783
 
  for ac_prog in ar
5784
 
  do
5785
 
    # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
5786
 
set dummy $ac_tool_prefix$ac_prog; ac_word=$2
5787
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5788
 
$as_echo_n "checking for $ac_word... " >&6; }
5789
 
if ${ac_cv_prog_AR+:} false; then :
 
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 :
5790
5154
  $as_echo_n "(cached) " >&6
5791
5155
else
5792
5156
  if test -n "$AR"; then
5799
5163
  test -z "$as_dir" && as_dir=.
5800
5164
    for ac_exec_ext in '' $ac_executable_extensions; do
5801
5165
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5802
 
    ac_cv_prog_AR="$ac_tool_prefix$ac_prog"
 
5166
    ac_cv_prog_AR="${ac_tool_prefix}ar"
5803
5167
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5804
5168
    break 2
5805
5169
  fi
5819
5183
fi
5820
5184
 
5821
5185
 
5822
 
    test -n "$AR" && break
5823
 
  done
5824
5186
fi
5825
 
if test -z "$AR"; then
 
5187
if test -z "$ac_cv_prog_AR"; then
5826
5188
  ac_ct_AR=$AR
5827
 
  for ac_prog in ar
5828
 
do
5829
 
  # Extract the first word of "$ac_prog", so it can be a program name with args.
5830
 
set dummy $ac_prog; ac_word=$2
 
5189
  # Extract the first word of "ar", so it can be a program name with args.
 
5190
set dummy ar; ac_word=$2
5831
5191
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5832
5192
$as_echo_n "checking for $ac_word... " >&6; }
5833
 
if ${ac_cv_prog_ac_ct_AR+:} false; then :
 
5193
if test "${ac_cv_prog_ac_ct_AR+set}" = set; then :
5834
5194
  $as_echo_n "(cached) " >&6
5835
5195
else
5836
5196
  if test -n "$ac_ct_AR"; then
5843
5203
  test -z "$as_dir" && as_dir=.
5844
5204
    for ac_exec_ext in '' $ac_executable_extensions; do
5845
5205
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5846
 
    ac_cv_prog_ac_ct_AR="$ac_prog"
 
5206
    ac_cv_prog_ac_ct_AR="ar"
5847
5207
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5848
5208
    break 2
5849
5209
  fi
5862
5222
$as_echo "no" >&6; }
5863
5223
fi
5864
5224
 
5865
 
 
5866
 
  test -n "$ac_ct_AR" && break
5867
 
done
5868
 
 
5869
5225
  if test "x$ac_ct_AR" = x; then
5870
5226
    AR="false"
5871
5227
  else
5877
5233
esac
5878
5234
    AR=$ac_ct_AR
5879
5235
  fi
5880
 
fi
5881
 
 
5882
 
: ${AR=ar}
5883
 
: ${AR_FLAGS=cru}
5884
 
 
5885
 
 
5886
 
 
5887
 
 
5888
 
 
5889
 
 
5890
 
 
5891
 
 
5892
 
 
5893
 
 
5894
 
 
5895
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for archiver @FILE support" >&5
5896
 
$as_echo_n "checking for archiver @FILE support... " >&6; }
5897
 
if ${lt_cv_ar_at_file+:} false; then :
5898
 
  $as_echo_n "(cached) " >&6
5899
 
else
5900
 
  lt_cv_ar_at_file=no
5901
 
   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5902
 
/* end confdefs.h.  */
5903
 
 
5904
 
int
5905
 
main ()
5906
 
{
5907
 
 
5908
 
  ;
5909
 
  return 0;
5910
 
}
5911
 
_ACEOF
5912
 
if ac_fn_c_try_compile "$LINENO"; then :
5913
 
  echo conftest.$ac_objext > conftest.lst
5914
 
      lt_ar_try='$AR $AR_FLAGS libconftest.a @conftest.lst >&5'
5915
 
      { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$lt_ar_try\""; } >&5
5916
 
  (eval $lt_ar_try) 2>&5
5917
 
  ac_status=$?
5918
 
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5919
 
  test $ac_status = 0; }
5920
 
      if test "$ac_status" -eq 0; then
5921
 
        # Ensure the archiver fails upon bogus file names.
5922
 
        rm -f conftest.$ac_objext libconftest.a
5923
 
        { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$lt_ar_try\""; } >&5
5924
 
  (eval $lt_ar_try) 2>&5
5925
 
  ac_status=$?
5926
 
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5927
 
  test $ac_status = 0; }
5928
 
        if test "$ac_status" -ne 0; then
5929
 
          lt_cv_ar_at_file=@
5930
 
        fi
5931
 
      fi
5932
 
      rm -f conftest.* libconftest.a
5933
 
 
5934
 
fi
5935
 
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5936
 
 
5937
 
fi
5938
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ar_at_file" >&5
5939
 
$as_echo "$lt_cv_ar_at_file" >&6; }
5940
 
 
5941
 
if test "x$lt_cv_ar_at_file" = xno; then
5942
 
  archiver_list_spec=
5943
 
else
5944
 
  archiver_list_spec=$lt_cv_ar_at_file
5945
 
fi
 
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
 
5946
5246
 
5947
5247
 
5948
5248
 
5955
5255
set dummy ${ac_tool_prefix}strip; ac_word=$2
5956
5256
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5957
5257
$as_echo_n "checking for $ac_word... " >&6; }
5958
 
if ${ac_cv_prog_STRIP+:} false; then :
 
5258
if test "${ac_cv_prog_STRIP+set}" = set; then :
5959
5259
  $as_echo_n "(cached) " >&6
5960
5260
else
5961
5261
  if test -n "$STRIP"; then
5995
5295
set dummy strip; ac_word=$2
5996
5296
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5997
5297
$as_echo_n "checking for $ac_word... " >&6; }
5998
 
if ${ac_cv_prog_ac_ct_STRIP+:} false; then :
 
5298
if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then :
5999
5299
  $as_echo_n "(cached) " >&6
6000
5300
else
6001
5301
  if test -n "$ac_ct_STRIP"; then
6054
5354
set dummy ${ac_tool_prefix}ranlib; ac_word=$2
6055
5355
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6056
5356
$as_echo_n "checking for $ac_word... " >&6; }
6057
 
if ${ac_cv_prog_RANLIB+:} false; then :
 
5357
if test "${ac_cv_prog_RANLIB+set}" = set; then :
6058
5358
  $as_echo_n "(cached) " >&6
6059
5359
else
6060
5360
  if test -n "$RANLIB"; then
6094
5394
set dummy ranlib; ac_word=$2
6095
5395
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6096
5396
$as_echo_n "checking for $ac_word... " >&6; }
6097
 
if ${ac_cv_prog_ac_ct_RANLIB+:} false; then :
 
5397
if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then :
6098
5398
  $as_echo_n "(cached) " >&6
6099
5399
else
6100
5400
  if test -n "$ac_ct_RANLIB"; then
6156
5456
if test -n "$RANLIB"; then
6157
5457
  case $host_os in
6158
5458
  openbsd*)
6159
 
    old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB -t \$tool_oldlib"
 
5459
    old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB -t \$oldlib"
6160
5460
    ;;
6161
5461
  *)
6162
 
    old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB \$tool_oldlib"
 
5462
    old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB \$oldlib"
6163
5463
    ;;
6164
5464
  esac
6165
 
  old_archive_cmds="$old_archive_cmds~\$RANLIB \$tool_oldlib"
 
5465
  old_archive_cmds="$old_archive_cmds~\$RANLIB \$oldlib"
6166
5466
fi
6167
5467
 
6168
 
case $host_os in
6169
 
  darwin*)
6170
 
    lock_old_archive_extraction=yes ;;
6171
 
  *)
6172
 
    lock_old_archive_extraction=no ;;
6173
 
esac
6174
 
 
6175
 
 
6176
 
 
6177
 
 
6178
 
 
6179
 
 
6180
5468
 
6181
5469
 
6182
5470
 
6223
5511
# Check for command to grab the raw symbol name followed by C symbol from nm.
6224
5512
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking command to parse $NM output from $compiler object" >&5
6225
5513
$as_echo_n "checking command to parse $NM output from $compiler object... " >&6; }
6226
 
if ${lt_cv_sys_global_symbol_pipe+:} false; then :
 
5514
if test "${lt_cv_sys_global_symbol_pipe+set}" = set; then :
6227
5515
  $as_echo_n "(cached) " >&6
6228
5516
else
6229
5517
 
6284
5572
lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'"
6285
5573
 
6286
5574
# Transform an extracted symbol line into symbol name and symbol address
6287
 
lt_cv_sys_global_symbol_to_c_name_address="sed -n -e 's/^: \([^ ]*\)[ ]*$/  {\\\"\1\\\", (void *) 0},/p' -e 's/^$symcode* \([^ ]*\) \([^ ]*\)$/  {\"\2\", (void *) \&\2},/p'"
6288
 
lt_cv_sys_global_symbol_to_c_name_address_lib_prefix="sed -n -e 's/^: \([^ ]*\)[ ]*$/  {\\\"\1\\\", (void *) 0},/p' -e 's/^$symcode* \([^ ]*\) \(lib[^ ]*\)$/  {\"\2\", (void *) \&\2},/p' -e 's/^$symcode* \([^ ]*\) \([^ ]*\)$/  {\"lib\2\", (void *) \&\2},/p'"
 
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'"
6289
5577
 
6290
5578
# Handle CRLF in mingw tool chain
6291
5579
opt_cr=
6309
5597
    # which start with @ or ?.
6310
5598
    lt_cv_sys_global_symbol_pipe="$AWK '"\
6311
5599
"     {last_section=section; section=\$ 3};"\
6312
 
"     /^COFF SYMBOL TABLE/{for(i in hide) delete hide[i]};"\
6313
5600
"     /Section length .*#relocs.*(pick any)/{hide[last_section]=1};"\
6314
5601
"     \$ 0!~/External *\|/{next};"\
6315
5602
"     / 0+ UNDEF /{next}; / UNDEF \([^|]\)*()/{next};"\
6322
5609
  else
6323
5610
    lt_cv_sys_global_symbol_pipe="sed -n -e 's/^.*[      ]\($symcode$symcode*\)[         ][      ]*$ac_symprfx$sympat$opt_cr$/$symxfrm/p'"
6324
5611
  fi
6325
 
  lt_cv_sys_global_symbol_pipe="$lt_cv_sys_global_symbol_pipe | sed '/ __gnu_lto/d'"
6326
5612
 
6327
5613
  # Check to see that the pipe works correctly.
6328
5614
  pipe_works=no
6348
5634
  test $ac_status = 0; }; then
6349
5635
    # Now try to grab the symbols.
6350
5636
    nlist=conftest.nm
6351
 
    if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$NM conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist\""; } >&5
6352
 
  (eval $NM conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist) 2>&5
 
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
6353
5639
  ac_status=$?
6354
5640
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6355
5641
  test $ac_status = 0; } && test -s "$nlist"; then
6364
5650
      if $GREP ' nm_test_var$' "$nlist" >/dev/null; then
6365
5651
        if $GREP ' nm_test_func$' "$nlist" >/dev/null; then
6366
5652
          cat <<_LT_EOF > conftest.$ac_ext
6367
 
/* Keep this code in sync between libtool.m4, ltmain, lt_system.h, and tests.  */
6368
 
#if defined(_WIN32) || defined(__CYGWIN__) || defined(_WIN32_WCE)
6369
 
/* DATA imports from DLLs on WIN32 con't be const, because runtime
6370
 
   relocations are performed -- see ld's documentation on pseudo-relocs.  */
6371
 
# define LT_DLSYM_CONST
6372
 
#elif defined(__osf__)
6373
 
/* This system does not cope well with relocations in const data.  */
6374
 
# define LT_DLSYM_CONST
6375
 
#else
6376
 
# define LT_DLSYM_CONST const
6377
 
#endif
6378
 
 
6379
5653
#ifdef __cplusplus
6380
5654
extern "C" {
6381
5655
#endif
6387
5661
          cat <<_LT_EOF >> conftest.$ac_ext
6388
5662
 
6389
5663
/* The mapping between symbol names and symbols.  */
6390
 
LT_DLSYM_CONST struct {
 
5664
const struct {
6391
5665
  const char *name;
6392
5666
  void       *address;
6393
5667
}
6413
5687
_LT_EOF
6414
5688
          # Now try linking the two files.
6415
5689
          mv conftest.$ac_objext conftstm.$ac_objext
6416
 
          lt_globsym_save_LIBS=$LIBS
6417
 
          lt_globsym_save_CFLAGS=$CFLAGS
 
5690
          lt_save_LIBS="$LIBS"
 
5691
          lt_save_CFLAGS="$CFLAGS"
6418
5692
          LIBS="conftstm.$ac_objext"
6419
5693
          CFLAGS="$CFLAGS$lt_prog_compiler_no_builtin_flag"
6420
5694
          if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
6424
5698
  test $ac_status = 0; } && test -s conftest${ac_exeext}; then
6425
5699
            pipe_works=yes
6426
5700
          fi
6427
 
          LIBS=$lt_globsym_save_LIBS
6428
 
          CFLAGS=$lt_globsym_save_CFLAGS
 
5701
          LIBS="$lt_save_LIBS"
 
5702
          CFLAGS="$lt_save_CFLAGS"
6429
5703
        else
6430
5704
          echo "cannot find nm_test_func in $nlist" >&5
6431
5705
        fi
6462
5736
$as_echo "ok" >&6; }
6463
5737
fi
6464
5738
 
6465
 
# Response file support.
6466
 
if test "$lt_cv_nm_interface" = "MS dumpbin"; then
6467
 
  nm_file_list_spec='@'
6468
 
elif $NM --help 2>/dev/null | grep '[@]FILE' >/dev/null; then
6469
 
  nm_file_list_spec='@'
6470
 
fi
6471
 
 
6472
 
 
6473
 
 
6474
 
 
6475
 
 
6476
 
 
6477
 
 
6478
 
 
6479
 
 
6480
 
 
6481
 
 
6482
 
 
6483
 
 
6484
 
 
6485
 
 
6486
 
 
6487
 
 
6488
 
 
6489
 
 
6490
 
 
6491
 
 
6492
 
 
6493
 
 
6494
 
 
6495
 
 
6496
 
 
6497
 
 
6498
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for sysroot" >&5
6499
 
$as_echo_n "checking for sysroot... " >&6; }
6500
 
 
6501
 
# Check whether --with-sysroot was given.
6502
 
if test "${with_sysroot+set}" = set; then :
6503
 
  withval=$with_sysroot;
6504
 
else
6505
 
  with_sysroot=no
6506
 
fi
6507
 
 
6508
 
 
6509
 
lt_sysroot=
6510
 
case ${with_sysroot} in #(
6511
 
 yes)
6512
 
   if test "$GCC" = yes; then
6513
 
     lt_sysroot=`$CC --print-sysroot 2>/dev/null`
6514
 
   fi
6515
 
   ;; #(
6516
 
 /*)
6517
 
   lt_sysroot=`echo "$with_sysroot" | sed -e "$sed_quote_subst"`
6518
 
   ;; #(
6519
 
 no|'')
6520
 
   ;; #(
6521
 
 *)
6522
 
   { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${with_sysroot}" >&5
6523
 
$as_echo "${with_sysroot}" >&6; }
6524
 
   as_fn_error $? "The sysroot must be an absolute path." "$LINENO" 5
6525
 
   ;;
6526
 
esac
6527
 
 
6528
 
 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${lt_sysroot:-no}" >&5
6529
 
$as_echo "${lt_sysroot:-no}" >&6; }
 
5739
 
 
5740
 
 
5741
 
 
5742
 
 
5743
 
 
5744
 
 
5745
 
 
5746
 
 
5747
 
 
5748
 
 
5749
 
 
5750
 
 
5751
 
 
5752
 
 
5753
 
 
5754
 
 
5755
 
6530
5756
 
6531
5757
 
6532
5758
 
6563
5789
  ;;
6564
5790
*-*-irix6*)
6565
5791
  # Find out which ABI we are using.
6566
 
  echo '#line '$LINENO' "configure"' > conftest.$ac_ext
 
5792
  echo '#line 5792 "configure"' > conftest.$ac_ext
6567
5793
  if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
6568
5794
  (eval $ac_compile) 2>&5
6569
5795
  ac_status=$?
6657
5883
  CFLAGS="$CFLAGS -belf"
6658
5884
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler needs -belf" >&5
6659
5885
$as_echo_n "checking whether the C compiler needs -belf... " >&6; }
6660
 
if ${lt_cv_cc_needs_belf+:} false; then :
 
5886
if test "${lt_cv_cc_needs_belf+set}" = set; then :
6661
5887
  $as_echo_n "(cached) " >&6
6662
5888
else
6663
5889
  ac_ext=c
6698
5924
    CFLAGS="$SAVE_CFLAGS"
6699
5925
  fi
6700
5926
  ;;
6701
 
*-*solaris*)
 
5927
sparc*-*solaris*)
6702
5928
  # Find out which ABI we are using.
6703
5929
  echo 'int i;' > conftest.$ac_ext
6704
5930
  if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
6709
5935
    case `/usr/bin/file conftest.o` in
6710
5936
    *64-bit*)
6711
5937
      case $lt_cv_prog_gnu_ld in
6712
 
      yes*)
6713
 
        case $host in
6714
 
        i?86-*-solaris*)
6715
 
          LD="${LD-ld} -m elf_x86_64"
6716
 
          ;;
6717
 
        sparc*-*-solaris*)
6718
 
          LD="${LD-ld} -m elf64_sparc"
6719
 
          ;;
6720
 
        esac
6721
 
        # GNU ld 2.21 introduced _sol2 emulations.  Use them if available.
6722
 
        if ${LD-ld} -V | grep _sol2 >/dev/null 2>&1; then
6723
 
          LD="${LD-ld}_sol2"
6724
 
        fi
6725
 
        ;;
 
5938
      yes*) LD="${LD-ld} -m elf64_sparc" ;;
6726
5939
      *)
6727
5940
        if ${LD-ld} -64 -r -o conftest2.o conftest.o >/dev/null 2>&1; then
6728
5941
          LD="${LD-ld} -64"
6738
5951
 
6739
5952
need_locks="$enable_libtool_lock"
6740
5953
 
6741
 
if test -n "$ac_tool_prefix"; then
6742
 
  # Extract the first word of "${ac_tool_prefix}mt", so it can be a program name with args.
6743
 
set dummy ${ac_tool_prefix}mt; ac_word=$2
6744
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6745
 
$as_echo_n "checking for $ac_word... " >&6; }
6746
 
if ${ac_cv_prog_MANIFEST_TOOL+:} false; then :
6747
 
  $as_echo_n "(cached) " >&6
6748
 
else
6749
 
  if test -n "$MANIFEST_TOOL"; then
6750
 
  ac_cv_prog_MANIFEST_TOOL="$MANIFEST_TOOL" # Let the user override the test.
6751
 
else
6752
 
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6753
 
for as_dir in $PATH
6754
 
do
6755
 
  IFS=$as_save_IFS
6756
 
  test -z "$as_dir" && as_dir=.
6757
 
    for ac_exec_ext in '' $ac_executable_extensions; do
6758
 
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6759
 
    ac_cv_prog_MANIFEST_TOOL="${ac_tool_prefix}mt"
6760
 
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6761
 
    break 2
6762
 
  fi
6763
 
done
6764
 
  done
6765
 
IFS=$as_save_IFS
6766
 
 
6767
 
fi
6768
 
fi
6769
 
MANIFEST_TOOL=$ac_cv_prog_MANIFEST_TOOL
6770
 
if test -n "$MANIFEST_TOOL"; then
6771
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MANIFEST_TOOL" >&5
6772
 
$as_echo "$MANIFEST_TOOL" >&6; }
6773
 
else
6774
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6775
 
$as_echo "no" >&6; }
6776
 
fi
6777
 
 
6778
 
 
6779
 
fi
6780
 
if test -z "$ac_cv_prog_MANIFEST_TOOL"; then
6781
 
  ac_ct_MANIFEST_TOOL=$MANIFEST_TOOL
6782
 
  # Extract the first word of "mt", so it can be a program name with args.
6783
 
set dummy mt; ac_word=$2
6784
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6785
 
$as_echo_n "checking for $ac_word... " >&6; }
6786
 
if ${ac_cv_prog_ac_ct_MANIFEST_TOOL+:} false; then :
6787
 
  $as_echo_n "(cached) " >&6
6788
 
else
6789
 
  if test -n "$ac_ct_MANIFEST_TOOL"; then
6790
 
  ac_cv_prog_ac_ct_MANIFEST_TOOL="$ac_ct_MANIFEST_TOOL" # Let the user override the test.
6791
 
else
6792
 
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6793
 
for as_dir in $PATH
6794
 
do
6795
 
  IFS=$as_save_IFS
6796
 
  test -z "$as_dir" && as_dir=.
6797
 
    for ac_exec_ext in '' $ac_executable_extensions; do
6798
 
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6799
 
    ac_cv_prog_ac_ct_MANIFEST_TOOL="mt"
6800
 
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6801
 
    break 2
6802
 
  fi
6803
 
done
6804
 
  done
6805
 
IFS=$as_save_IFS
6806
 
 
6807
 
fi
6808
 
fi
6809
 
ac_ct_MANIFEST_TOOL=$ac_cv_prog_ac_ct_MANIFEST_TOOL
6810
 
if test -n "$ac_ct_MANIFEST_TOOL"; then
6811
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_MANIFEST_TOOL" >&5
6812
 
$as_echo "$ac_ct_MANIFEST_TOOL" >&6; }
6813
 
else
6814
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6815
 
$as_echo "no" >&6; }
6816
 
fi
6817
 
 
6818
 
  if test "x$ac_ct_MANIFEST_TOOL" = x; then
6819
 
    MANIFEST_TOOL=":"
6820
 
  else
6821
 
    case $cross_compiling:$ac_tool_warned in
6822
 
yes:)
6823
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6824
 
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6825
 
ac_tool_warned=yes ;;
6826
 
esac
6827
 
    MANIFEST_TOOL=$ac_ct_MANIFEST_TOOL
6828
 
  fi
6829
 
else
6830
 
  MANIFEST_TOOL="$ac_cv_prog_MANIFEST_TOOL"
6831
 
fi
6832
 
 
6833
 
test -z "$MANIFEST_TOOL" && MANIFEST_TOOL=mt
6834
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $MANIFEST_TOOL is a manifest tool" >&5
6835
 
$as_echo_n "checking if $MANIFEST_TOOL is a manifest tool... " >&6; }
6836
 
if ${lt_cv_path_mainfest_tool+:} false; then :
6837
 
  $as_echo_n "(cached) " >&6
6838
 
else
6839
 
  lt_cv_path_mainfest_tool=no
6840
 
  echo "$as_me:$LINENO: $MANIFEST_TOOL '-?'" >&5
6841
 
  $MANIFEST_TOOL '-?' 2>conftest.err > conftest.out
6842
 
  cat conftest.err >&5
6843
 
  if $GREP 'Manifest Tool' conftest.out > /dev/null; then
6844
 
    lt_cv_path_mainfest_tool=yes
6845
 
  fi
6846
 
  rm -f conftest*
6847
 
fi
6848
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_mainfest_tool" >&5
6849
 
$as_echo "$lt_cv_path_mainfest_tool" >&6; }
6850
 
if test "x$lt_cv_path_mainfest_tool" != xyes; then
6851
 
  MANIFEST_TOOL=:
6852
 
fi
6853
 
 
6854
 
 
6855
 
 
6856
 
 
6857
 
 
6858
5954
 
6859
5955
  case $host_os in
6860
5956
    rhapsody* | darwin*)
6863
5959
set dummy ${ac_tool_prefix}dsymutil; ac_word=$2
6864
5960
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6865
5961
$as_echo_n "checking for $ac_word... " >&6; }
6866
 
if ${ac_cv_prog_DSYMUTIL+:} false; then :
 
5962
if test "${ac_cv_prog_DSYMUTIL+set}" = set; then :
6867
5963
  $as_echo_n "(cached) " >&6
6868
5964
else
6869
5965
  if test -n "$DSYMUTIL"; then
6903
5999
set dummy dsymutil; ac_word=$2
6904
6000
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6905
6001
$as_echo_n "checking for $ac_word... " >&6; }
6906
 
if ${ac_cv_prog_ac_ct_DSYMUTIL+:} false; then :
 
6002
if test "${ac_cv_prog_ac_ct_DSYMUTIL+set}" = set; then :
6907
6003
  $as_echo_n "(cached) " >&6
6908
6004
else
6909
6005
  if test -n "$ac_ct_DSYMUTIL"; then
6955
6051
set dummy ${ac_tool_prefix}nmedit; ac_word=$2
6956
6052
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6957
6053
$as_echo_n "checking for $ac_word... " >&6; }
6958
 
if ${ac_cv_prog_NMEDIT+:} false; then :
 
6054
if test "${ac_cv_prog_NMEDIT+set}" = set; then :
6959
6055
  $as_echo_n "(cached) " >&6
6960
6056
else
6961
6057
  if test -n "$NMEDIT"; then
6995
6091
set dummy nmedit; ac_word=$2
6996
6092
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6997
6093
$as_echo_n "checking for $ac_word... " >&6; }
6998
 
if ${ac_cv_prog_ac_ct_NMEDIT+:} false; then :
 
6094
if test "${ac_cv_prog_ac_ct_NMEDIT+set}" = set; then :
6999
6095
  $as_echo_n "(cached) " >&6
7000
6096
else
7001
6097
  if test -n "$ac_ct_NMEDIT"; then
7047
6143
set dummy ${ac_tool_prefix}lipo; ac_word=$2
7048
6144
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7049
6145
$as_echo_n "checking for $ac_word... " >&6; }
7050
 
if ${ac_cv_prog_LIPO+:} false; then :
 
6146
if test "${ac_cv_prog_LIPO+set}" = set; then :
7051
6147
  $as_echo_n "(cached) " >&6
7052
6148
else
7053
6149
  if test -n "$LIPO"; then
7087
6183
set dummy lipo; ac_word=$2
7088
6184
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7089
6185
$as_echo_n "checking for $ac_word... " >&6; }
7090
 
if ${ac_cv_prog_ac_ct_LIPO+:} false; then :
 
6186
if test "${ac_cv_prog_ac_ct_LIPO+set}" = set; then :
7091
6187
  $as_echo_n "(cached) " >&6
7092
6188
else
7093
6189
  if test -n "$ac_ct_LIPO"; then
7139
6235
set dummy ${ac_tool_prefix}otool; ac_word=$2
7140
6236
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7141
6237
$as_echo_n "checking for $ac_word... " >&6; }
7142
 
if ${ac_cv_prog_OTOOL+:} false; then :
 
6238
if test "${ac_cv_prog_OTOOL+set}" = set; then :
7143
6239
  $as_echo_n "(cached) " >&6
7144
6240
else
7145
6241
  if test -n "$OTOOL"; then
7179
6275
set dummy otool; ac_word=$2
7180
6276
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7181
6277
$as_echo_n "checking for $ac_word... " >&6; }
7182
 
if ${ac_cv_prog_ac_ct_OTOOL+:} false; then :
 
6278
if test "${ac_cv_prog_ac_ct_OTOOL+set}" = set; then :
7183
6279
  $as_echo_n "(cached) " >&6
7184
6280
else
7185
6281
  if test -n "$ac_ct_OTOOL"; then
7231
6327
set dummy ${ac_tool_prefix}otool64; ac_word=$2
7232
6328
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7233
6329
$as_echo_n "checking for $ac_word... " >&6; }
7234
 
if ${ac_cv_prog_OTOOL64+:} false; then :
 
6330
if test "${ac_cv_prog_OTOOL64+set}" = set; then :
7235
6331
  $as_echo_n "(cached) " >&6
7236
6332
else
7237
6333
  if test -n "$OTOOL64"; then
7271
6367
set dummy otool64; ac_word=$2
7272
6368
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7273
6369
$as_echo_n "checking for $ac_word... " >&6; }
7274
 
if ${ac_cv_prog_ac_ct_OTOOL64+:} false; then :
 
6370
if test "${ac_cv_prog_ac_ct_OTOOL64+set}" = set; then :
7275
6371
  $as_echo_n "(cached) " >&6
7276
6372
else
7277
6373
  if test -n "$ac_ct_OTOOL64"; then
7346
6442
 
7347
6443
    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -single_module linker flag" >&5
7348
6444
$as_echo_n "checking for -single_module linker flag... " >&6; }
7349
 
if ${lt_cv_apple_cc_single_mod+:} false; then :
 
6445
if test "${lt_cv_apple_cc_single_mod+set}" = set; then :
7350
6446
  $as_echo_n "(cached) " >&6
7351
6447
else
7352
6448
  lt_cv_apple_cc_single_mod=no
7362
6458
        $LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
7363
6459
          -dynamiclib -Wl,-single_module conftest.c 2>conftest.err
7364
6460
        _lt_result=$?
7365
 
        # If there is a non-empty error log, and "single_module"
7366
 
        # appears in it, assume the flag caused a linker warning
7367
 
        if test -s conftest.err && $GREP single_module conftest.err; then
7368
 
          cat conftest.err >&5
7369
 
        # Otherwise, if the output was created with a 0 exit code from
7370
 
        # the compiler, it worked.
7371
 
        elif test -f libconftest.dylib && test $_lt_result -eq 0; then
 
6461
        if test -f libconftest.dylib && test ! -s conftest.err && test $_lt_result = 0; then
7372
6462
          lt_cv_apple_cc_single_mod=yes
7373
6463
        else
7374
6464
          cat conftest.err >&5
7379
6469
fi
7380
6470
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_apple_cc_single_mod" >&5
7381
6471
$as_echo "$lt_cv_apple_cc_single_mod" >&6; }
7382
 
 
7383
6472
    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -exported_symbols_list linker flag" >&5
7384
6473
$as_echo_n "checking for -exported_symbols_list linker flag... " >&6; }
7385
 
if ${lt_cv_ld_exported_symbols_list+:} false; then :
 
6474
if test "${lt_cv_ld_exported_symbols_list+set}" = set; then :
7386
6475
  $as_echo_n "(cached) " >&6
7387
6476
else
7388
6477
  lt_cv_ld_exported_symbols_list=no
7412
6501
fi
7413
6502
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_exported_symbols_list" >&5
7414
6503
$as_echo "$lt_cv_ld_exported_symbols_list" >&6; }
7415
 
 
7416
 
    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -force_load linker flag" >&5
7417
 
$as_echo_n "checking for -force_load linker flag... " >&6; }
7418
 
if ${lt_cv_ld_force_load+:} false; then :
7419
 
  $as_echo_n "(cached) " >&6
7420
 
else
7421
 
  lt_cv_ld_force_load=no
7422
 
      cat > conftest.c << _LT_EOF
7423
 
int forced_loaded() { return 2;}
7424
 
_LT_EOF
7425
 
      echo "$LTCC $LTCFLAGS -c -o conftest.o conftest.c" >&5
7426
 
      $LTCC $LTCFLAGS -c -o conftest.o conftest.c 2>&5
7427
 
      echo "$AR cru libconftest.a conftest.o" >&5
7428
 
      $AR cru libconftest.a conftest.o 2>&5
7429
 
      echo "$RANLIB libconftest.a" >&5
7430
 
      $RANLIB libconftest.a 2>&5
7431
 
      cat > conftest.c << _LT_EOF
7432
 
int main() { return 0;}
7433
 
_LT_EOF
7434
 
      echo "$LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a" >&5
7435
 
      $LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a 2>conftest.err
7436
 
      _lt_result=$?
7437
 
      if test -s conftest.err && $GREP force_load conftest.err; then
7438
 
        cat conftest.err >&5
7439
 
      elif test -f conftest && test $_lt_result -eq 0 && $GREP forced_load conftest >/dev/null 2>&1 ; then
7440
 
        lt_cv_ld_force_load=yes
7441
 
      else
7442
 
        cat conftest.err >&5
7443
 
      fi
7444
 
        rm -f conftest.err libconftest.a conftest conftest.c
7445
 
        rm -rf conftest.dSYM
7446
 
 
7447
 
fi
7448
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_force_load" >&5
7449
 
$as_echo "$lt_cv_ld_force_load" >&6; }
7450
6504
    case $host_os in
7451
6505
    rhapsody* | darwin1.[012])
7452
6506
      _lt_dar_allow_undefined='${wl}-undefined ${wl}suppress' ;;
7474
6528
    else
7475
6529
      _lt_dar_export_syms='~$NMEDIT -s $output_objdir/${libname}-symbols.expsym ${lib}'
7476
6530
    fi
7477
 
    if test "$DSYMUTIL" != ":" && test "$lt_cv_ld_force_load" = "no"; then
 
6531
    if test "$DSYMUTIL" != ":"; then
7478
6532
      _lt_dsymutil='~$DSYMUTIL $lib || :'
7479
6533
    else
7480
6534
      _lt_dsymutil=
7494
6548
  CPP=
7495
6549
fi
7496
6550
if test -z "$CPP"; then
7497
 
  if ${ac_cv_prog_CPP+:} false; then :
 
6551
  if test "${ac_cv_prog_CPP+set}" = set; then :
7498
6552
  $as_echo_n "(cached) " >&6
7499
6553
else
7500
6554
      # Double quotes because CPP needs to be expanded
7524
6578
  # Broken: fails on valid input.
7525
6579
continue
7526
6580
fi
7527
 
rm -f conftest.err conftest.i conftest.$ac_ext
 
6581
rm -f conftest.err conftest.$ac_ext
7528
6582
 
7529
6583
  # OK, works on sane cases.  Now check whether nonexistent headers
7530
6584
  # can be detected and how.
7540
6594
ac_preproc_ok=:
7541
6595
break
7542
6596
fi
7543
 
rm -f conftest.err conftest.i conftest.$ac_ext
 
6597
rm -f conftest.err conftest.$ac_ext
7544
6598
 
7545
6599
done
7546
6600
# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
7547
 
rm -f conftest.i conftest.err conftest.$ac_ext
 
6601
rm -f conftest.err conftest.$ac_ext
7548
6602
if $ac_preproc_ok; then :
7549
6603
  break
7550
6604
fi
7583
6637
  # Broken: fails on valid input.
7584
6638
continue
7585
6639
fi
7586
 
rm -f conftest.err conftest.i conftest.$ac_ext
 
6640
rm -f conftest.err conftest.$ac_ext
7587
6641
 
7588
6642
  # OK, works on sane cases.  Now check whether nonexistent headers
7589
6643
  # can be detected and how.
7599
6653
ac_preproc_ok=:
7600
6654
break
7601
6655
fi
7602
 
rm -f conftest.err conftest.i conftest.$ac_ext
 
6656
rm -f conftest.err conftest.$ac_ext
7603
6657
 
7604
6658
done
7605
6659
# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
7606
 
rm -f conftest.i conftest.err conftest.$ac_ext
 
6660
rm -f conftest.err conftest.$ac_ext
7607
6661
if $ac_preproc_ok; then :
7608
6662
 
7609
6663
else
7610
6664
  { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
7611
6665
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
7612
 
as_fn_error $? "C preprocessor \"$CPP\" fails sanity check
7613
 
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; }
7614
6668
fi
7615
6669
 
7616
6670
ac_ext=c
7622
6676
 
7623
6677
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
7624
6678
$as_echo_n "checking for ANSI C header files... " >&6; }
7625
 
if ${ac_cv_header_stdc+:} false; then :
 
6679
if test "${ac_cv_header_stdc+set}" = set; then :
7626
6680
  $as_echo_n "(cached) " >&6
7627
6681
else
7628
6682
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7739
6793
  as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
7740
6794
ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
7741
6795
"
7742
 
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 :
7743
6798
  cat >>confdefs.h <<_ACEOF
7744
6799
#define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
7745
6800
_ACEOF
7753
6808
do :
7754
6809
  ac_fn_c_check_header_compile "$LINENO" "dlfcn.h" "ac_cv_header_dlfcn_h" "$ac_includes_default
7755
6810
"
7756
 
if test "x$ac_cv_header_dlfcn_h" = xyes; then :
 
6811
if test "x$ac_cv_header_dlfcn_h" = x""yes; then :
7757
6812
  cat >>confdefs.h <<_ACEOF
7758
6813
#define HAVE_DLFCN_H 1
7759
6814
_ACEOF
7764
6819
 
7765
6820
 
7766
6821
 
7767
 
 
7768
 
func_stripname_cnf ()
7769
 
{
7770
 
  case ${2} in
7771
 
  .*) func_stripname_result=`$ECHO "${3}" | $SED "s%^${1}%%; s%\\\\${2}\$%%"`;;
7772
 
  *)  func_stripname_result=`$ECHO "${3}" | $SED "s%^${1}%%; s%${2}\$%%"`;;
7773
 
  esac
7774
 
} # func_stripname_cnf
7775
 
 
7776
 
 
7777
 
 
7778
 
 
7779
 
 
7780
6822
# Set options
7781
6823
 
7782
6824
 
7852
6894
 
7853
6895
# Check whether --with-pic was given.
7854
6896
if test "${with_pic+set}" = set; then :
7855
 
  withval=$with_pic; lt_p=${PACKAGE-default}
7856
 
    case $withval in
7857
 
    yes|no) pic_mode=$withval ;;
7858
 
    *)
7859
 
      pic_mode=default
7860
 
      # Look at the argument we got.  We use all the common list separators.
7861
 
      lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
7862
 
      for lt_pkg in $withval; do
7863
 
        IFS="$lt_save_ifs"
7864
 
        if test "X$lt_pkg" = "X$lt_p"; then
7865
 
          pic_mode=yes
7866
 
        fi
7867
 
      done
7868
 
      IFS="$lt_save_ifs"
7869
 
      ;;
7870
 
    esac
 
6897
  withval=$with_pic; pic_mode="$withval"
7871
6898
else
7872
6899
  pic_mode=default
7873
6900
fi
7944
6971
 
7945
6972
 
7946
6973
 
7947
 
 
7948
 
 
7949
 
 
7950
 
 
7951
 
 
7952
6974
test -z "$LN_S" && LN_S="ln -s"
7953
6975
 
7954
6976
 
7970
6992
 
7971
6993
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for objdir" >&5
7972
6994
$as_echo_n "checking for objdir... " >&6; }
7973
 
if ${lt_cv_objdir+:} false; then :
 
6995
if test "${lt_cv_objdir+set}" = set; then :
7974
6996
  $as_echo_n "(cached) " >&6
7975
6997
else
7976
6998
  rm -f .libs 2>/dev/null
7998
7020
 
7999
7021
 
8000
7022
 
 
7023
 
 
7024
 
 
7025
 
 
7026
 
 
7027
 
 
7028
 
 
7029
 
 
7030
 
 
7031
 
 
7032
 
 
7033
 
 
7034
 
 
7035
 
8001
7036
case $host_os in
8002
7037
aix3*)
8003
7038
  # AIX sometimes has problems with the GCC collect2 program.  For some
8010
7045
  ;;
8011
7046
esac
8012
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
 
8013
7065
# Global variables:
8014
7066
ofile=libtool
8015
7067
can_build_shared=yes
8038
7090
    *) break;;
8039
7091
  esac
8040
7092
done
8041
 
cc_basename=`$ECHO "$cc_temp" | $SED "s%.*/%%; s%^$host_alias-%%"`
 
7093
cc_basename=`$ECHO "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
8042
7094
 
8043
7095
 
8044
7096
# Only perform the check for file, if the check method requires it
8048
7100
  if test "$file_magic_cmd" = '$MAGIC_CMD'; then
8049
7101
    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ${ac_tool_prefix}file" >&5
8050
7102
$as_echo_n "checking for ${ac_tool_prefix}file... " >&6; }
8051
 
if ${lt_cv_path_MAGIC_CMD+:} false; then :
 
7103
if test "${lt_cv_path_MAGIC_CMD+set}" = set; then :
8052
7104
  $as_echo_n "(cached) " >&6
8053
7105
else
8054
7106
  case $MAGIC_CMD in
8114
7166
  if test -n "$ac_tool_prefix"; then
8115
7167
    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for file" >&5
8116
7168
$as_echo_n "checking for file... " >&6; }
8117
 
if ${lt_cv_path_MAGIC_CMD+:} false; then :
 
7169
if test "${lt_cv_path_MAGIC_CMD+set}" = set; then :
8118
7170
  $as_echo_n "(cached) " >&6
8119
7171
else
8120
7172
  case $MAGIC_CMD in
8247
7299
lt_prog_compiler_no_builtin_flag=
8248
7300
 
8249
7301
if test "$GCC" = yes; then
8250
 
  case $cc_basename in
8251
 
  nvcc*)
8252
 
    lt_prog_compiler_no_builtin_flag=' -Xcompiler -fno-builtin' ;;
8253
 
  *)
8254
 
    lt_prog_compiler_no_builtin_flag=' -fno-builtin' ;;
8255
 
  esac
 
7302
  lt_prog_compiler_no_builtin_flag=' -fno-builtin'
8256
7303
 
8257
7304
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
8258
7305
$as_echo_n "checking if $compiler supports -fno-rtti -fno-exceptions... " >&6; }
8259
 
if ${lt_cv_prog_compiler_rtti_exceptions+:} false; then :
 
7306
if test "${lt_cv_prog_compiler_rtti_exceptions+set}" = set; then :
8260
7307
  $as_echo_n "(cached) " >&6
8261
7308
else
8262
7309
  lt_cv_prog_compiler_rtti_exceptions=no
8272
7319
   -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8273
7320
   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8274
7321
   -e 's:$: $lt_compiler_flag:'`
8275
 
   (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
 
7322
   (eval echo "\"\$as_me:7322: $lt_compile\"" >&5)
8276
7323
   (eval "$lt_compile" 2>conftest.err)
8277
7324
   ac_status=$?
8278
7325
   cat conftest.err >&5
8279
 
   echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
7326
   echo "$as_me:7326: \$? = $ac_status" >&5
8280
7327
   if (exit $ac_status) && test -s "$ac_outfile"; then
8281
7328
     # The compiler can only warn and ignore the option if not recognized
8282
7329
     # So say no if there are warnings other than the usual output.
8283
 
     $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
 
7330
     $ECHO "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' >conftest.exp
8284
7331
     $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
8285
7332
     if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
8286
7333
       lt_cv_prog_compiler_rtti_exceptions=yes
8309
7356
lt_prog_compiler_pic=
8310
7357
lt_prog_compiler_static=
8311
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; }
8312
7361
 
8313
7362
  if test "$GCC" = yes; then
8314
7363
    lt_prog_compiler_wl='-Wl,'
8356
7405
      lt_prog_compiler_pic='-fno-common'
8357
7406
      ;;
8358
7407
 
8359
 
    haiku*)
8360
 
      # PIC is the default for Haiku.
8361
 
      # The "-static" flag exists, but is broken.
8362
 
      lt_prog_compiler_static=
8363
 
      ;;
8364
 
 
8365
7408
    hpux*)
8366
7409
      # PIC is the default for 64-bit PA HP-UX, but not for 32-bit
8367
7410
      # PA HP-UX.  On IA64 HP-UX, PIC is the default but the pic flag
8404
7447
      lt_prog_compiler_pic='-fPIC'
8405
7448
      ;;
8406
7449
    esac
8407
 
 
8408
 
    case $cc_basename in
8409
 
    nvcc*) # Cuda Compiler Driver 2.2
8410
 
      lt_prog_compiler_wl='-Xlinker '
8411
 
      if test -n "$lt_prog_compiler_pic"; then
8412
 
        lt_prog_compiler_pic="-Xcompiler $lt_prog_compiler_pic"
8413
 
      fi
8414
 
      ;;
8415
 
    esac
8416
7450
  else
8417
7451
    # PORTME Check for flag to pass linker flags through the system compiler.
8418
7452
    case $host_os in
8454
7488
      lt_prog_compiler_static='-non_shared'
8455
7489
      ;;
8456
7490
 
8457
 
    linux* | k*bsd*-gnu | kopensolaris*-gnu)
 
7491
    linux* | k*bsd*-gnu)
8458
7492
      case $cc_basename in
8459
7493
      # old Intel for x86_64 which still supported -KPIC.
8460
7494
      ecc*)
8475
7509
        lt_prog_compiler_pic='--shared'
8476
7510
        lt_prog_compiler_static='--static'
8477
7511
        ;;
8478
 
      nagfor*)
8479
 
        # NAG Fortran compiler
8480
 
        lt_prog_compiler_wl='-Wl,-Wl,,'
8481
 
        lt_prog_compiler_pic='-PIC'
8482
 
        lt_prog_compiler_static='-Bstatic'
8483
 
        ;;
8484
 
      pgcc* | pgf77* | pgf90* | pgf95* | pgfortran*)
 
7512
      pgcc* | pgf77* | pgf90* | pgf95*)
8485
7513
        # Portland Group compilers (*not* the Pentium gcc compiler,
8486
7514
        # which looks to be a dead project)
8487
7515
        lt_prog_compiler_wl='-Wl,'
8493
7521
        # All Alpha code is PIC.
8494
7522
        lt_prog_compiler_static='-non_shared'
8495
7523
        ;;
8496
 
      xl* | bgxl* | bgf* | mpixl*)
8497
 
        # 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
8498
7526
        lt_prog_compiler_wl='-Wl,'
8499
7527
        lt_prog_compiler_pic='-qpic'
8500
7528
        lt_prog_compiler_static='-qstaticlink'
8501
7529
        ;;
8502
7530
      *)
8503
7531
        case `$CC -V 2>&1 | sed 5q` in
8504
 
        *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*)
8505
7539
          # Sun Fortran 8.3 passes all unrecognized flags to the linker
8506
7540
          lt_prog_compiler_pic='-KPIC'
8507
7541
          lt_prog_compiler_static='-Bstatic'
8508
7542
          lt_prog_compiler_wl=''
8509
7543
          ;;
8510
 
        *Sun\ F* | *Sun*Fortran*)
8511
 
          lt_prog_compiler_pic='-KPIC'
8512
 
          lt_prog_compiler_static='-Bstatic'
8513
 
          lt_prog_compiler_wl='-Qoption ld '
8514
 
          ;;
8515
 
        *Sun\ C*)
8516
 
          # Sun C 5.9
8517
 
          lt_prog_compiler_pic='-KPIC'
8518
 
          lt_prog_compiler_static='-Bstatic'
8519
 
          lt_prog_compiler_wl='-Wl,'
8520
 
          ;;
8521
 
        *Intel*\ [CF]*Compiler*)
8522
 
          lt_prog_compiler_wl='-Wl,'
8523
 
          lt_prog_compiler_pic='-fPIC'
8524
 
          lt_prog_compiler_static='-static'
8525
 
          ;;
8526
 
        *Portland\ Group*)
8527
 
          lt_prog_compiler_wl='-Wl,'
8528
 
          lt_prog_compiler_pic='-fpic'
8529
 
          lt_prog_compiler_static='-Bstatic'
8530
 
          ;;
8531
7544
        esac
8532
7545
        ;;
8533
7546
      esac
8558
7571
      lt_prog_compiler_pic='-KPIC'
8559
7572
      lt_prog_compiler_static='-Bstatic'
8560
7573
      case $cc_basename in
8561
 
      f77* | f90* | f95* | sunf77* | sunf90* | sunf95*)
 
7574
      f77* | f90* | f95*)
8562
7575
        lt_prog_compiler_wl='-Qoption ld ';;
8563
7576
      *)
8564
7577
        lt_prog_compiler_wl='-Wl,';;
8615
7628
    lt_prog_compiler_pic="$lt_prog_compiler_pic -DPIC"
8616
7629
    ;;
8617
7630
esac
8618
 
 
8619
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5
8620
 
$as_echo_n "checking for $compiler option to produce PIC... " >&6; }
8621
 
if ${lt_cv_prog_compiler_pic+:} false; then :
8622
 
  $as_echo_n "(cached) " >&6
8623
 
else
8624
 
  lt_cv_prog_compiler_pic=$lt_prog_compiler_pic
8625
 
fi
8626
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic" >&5
8627
 
$as_echo "$lt_cv_prog_compiler_pic" >&6; }
8628
 
lt_prog_compiler_pic=$lt_cv_prog_compiler_pic
 
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
 
8629
7638
 
8630
7639
#
8631
7640
# Check to make sure the PIC flag actually works.
8633
7642
if test -n "$lt_prog_compiler_pic"; then
8634
7643
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler PIC flag $lt_prog_compiler_pic works" >&5
8635
7644
$as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic works... " >&6; }
8636
 
if ${lt_cv_prog_compiler_pic_works+:} false; then :
 
7645
if test "${lt_cv_prog_compiler_pic_works+set}" = set; then :
8637
7646
  $as_echo_n "(cached) " >&6
8638
7647
else
8639
7648
  lt_cv_prog_compiler_pic_works=no
8649
7658
   -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8650
7659
   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8651
7660
   -e 's:$: $lt_compiler_flag:'`
8652
 
   (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
 
7661
   (eval echo "\"\$as_me:7661: $lt_compile\"" >&5)
8653
7662
   (eval "$lt_compile" 2>conftest.err)
8654
7663
   ac_status=$?
8655
7664
   cat conftest.err >&5
8656
 
   echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
7665
   echo "$as_me:7665: \$? = $ac_status" >&5
8657
7666
   if (exit $ac_status) && test -s "$ac_outfile"; then
8658
7667
     # The compiler can only warn and ignore the option if not recognized
8659
7668
     # So say no if there are warnings other than the usual output.
8660
 
     $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
 
7669
     $ECHO "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' >conftest.exp
8661
7670
     $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
8662
7671
     if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
8663
7672
       lt_cv_prog_compiler_pic_works=yes
8686
7695
 
8687
7696
 
8688
7697
 
8689
 
 
8690
 
 
8691
 
 
8692
 
 
8693
 
 
8694
7698
#
8695
7699
# Check to make sure the static flag actually works.
8696
7700
#
8697
7701
wl=$lt_prog_compiler_wl eval lt_tmp_static_flag=\"$lt_prog_compiler_static\"
8698
7702
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler static flag $lt_tmp_static_flag works" >&5
8699
7703
$as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
8700
 
if ${lt_cv_prog_compiler_static_works+:} false; then :
 
7704
if test "${lt_cv_prog_compiler_static_works+set}" = set; then :
8701
7705
  $as_echo_n "(cached) " >&6
8702
7706
else
8703
7707
  lt_cv_prog_compiler_static_works=no
8710
7714
     if test -s conftest.err; then
8711
7715
       # Append any errors to the config.log.
8712
7716
       cat conftest.err 1>&5
8713
 
       $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
 
7717
       $ECHO "X$_lt_linker_boilerplate" | $Xsed -e '/^$/d' > conftest.exp
8714
7718
       $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
8715
7719
       if diff conftest.exp conftest.er2 >/dev/null; then
8716
7720
         lt_cv_prog_compiler_static_works=yes
8740
7744
 
8741
7745
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
8742
7746
$as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
8743
 
if ${lt_cv_prog_compiler_c_o+:} false; then :
 
7747
if test "${lt_cv_prog_compiler_c_o+set}" = set; then :
8744
7748
  $as_echo_n "(cached) " >&6
8745
7749
else
8746
7750
  lt_cv_prog_compiler_c_o=no
8759
7763
   -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8760
7764
   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8761
7765
   -e 's:$: $lt_compiler_flag:'`
8762
 
   (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
 
7766
   (eval echo "\"\$as_me:7766: $lt_compile\"" >&5)
8763
7767
   (eval "$lt_compile" 2>out/conftest.err)
8764
7768
   ac_status=$?
8765
7769
   cat out/conftest.err >&5
8766
 
   echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
7770
   echo "$as_me:7770: \$? = $ac_status" >&5
8767
7771
   if (exit $ac_status) && test -s out/conftest2.$ac_objext
8768
7772
   then
8769
7773
     # The compiler can only warn and ignore the option if not recognized
8770
7774
     # So say no if there are warnings
8771
 
     $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
 
7775
     $ECHO "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' > out/conftest.exp
8772
7776
     $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
8773
7777
     if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
8774
7778
       lt_cv_prog_compiler_c_o=yes
8795
7799
 
8796
7800
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
8797
7801
$as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
8798
 
if ${lt_cv_prog_compiler_c_o+:} false; then :
 
7802
if test "${lt_cv_prog_compiler_c_o+set}" = set; then :
8799
7803
  $as_echo_n "(cached) " >&6
8800
7804
else
8801
7805
  lt_cv_prog_compiler_c_o=no
8814
7818
   -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8815
7819
   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8816
7820
   -e 's:$: $lt_compiler_flag:'`
8817
 
   (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
 
7821
   (eval echo "\"\$as_me:7821: $lt_compile\"" >&5)
8818
7822
   (eval "$lt_compile" 2>out/conftest.err)
8819
7823
   ac_status=$?
8820
7824
   cat out/conftest.err >&5
8821
 
   echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
7825
   echo "$as_me:7825: \$? = $ac_status" >&5
8822
7826
   if (exit $ac_status) && test -s out/conftest2.$ac_objext
8823
7827
   then
8824
7828
     # The compiler can only warn and ignore the option if not recognized
8825
7829
     # So say no if there are warnings
8826
 
     $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
 
7830
     $ECHO "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' > out/conftest.exp
8827
7831
     $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
8828
7832
     if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
8829
7833
       lt_cv_prog_compiler_c_o=yes
8889
7893
  hardcode_direct=no
8890
7894
  hardcode_direct_absolute=no
8891
7895
  hardcode_libdir_flag_spec=
 
7896
  hardcode_libdir_flag_spec_ld=
8892
7897
  hardcode_libdir_separator=
8893
7898
  hardcode_minus_L=no
8894
7899
  hardcode_shlibpath_var=unsupported
8932
7937
  openbsd*)
8933
7938
    with_gnu_ld=no
8934
7939
    ;;
8935
 
  linux* | k*bsd*-gnu | gnu*)
 
7940
  linux* | k*bsd*-gnu)
8936
7941
    link_all_deplibs=no
8937
7942
    ;;
8938
7943
  esac
8939
7944
 
8940
7945
  ld_shlibs=yes
8941
 
 
8942
 
  # On some targets, GNU ld is compatible enough with the native linker
8943
 
  # that we're better off using the native interface for both.
8944
 
  lt_use_gnu_ld_interface=no
8945
7946
  if test "$with_gnu_ld" = yes; then
8946
 
    case $host_os in
8947
 
      aix*)
8948
 
        # The AIX port of GNU ld has always aspired to compatibility
8949
 
        # with the native linker.  However, as the warning in the GNU ld
8950
 
        # block says, versions before 2.19.5* couldn't really create working
8951
 
        # shared libraries, regardless of the interface used.
8952
 
        case `$LD -v 2>&1` in
8953
 
          *\ \(GNU\ Binutils\)\ 2.19.5*) ;;
8954
 
          *\ \(GNU\ Binutils\)\ 2.[2-9]*) ;;
8955
 
          *\ \(GNU\ Binutils\)\ [3-9]*) ;;
8956
 
          *)
8957
 
            lt_use_gnu_ld_interface=yes
8958
 
            ;;
8959
 
        esac
8960
 
        ;;
8961
 
      *)
8962
 
        lt_use_gnu_ld_interface=yes
8963
 
        ;;
8964
 
    esac
8965
 
  fi
8966
 
 
8967
 
  if test "$lt_use_gnu_ld_interface" = yes; then
8968
7947
    # If archive_cmds runs LD, not CC, wlarc should be empty
8969
7948
    wlarc='${wl}'
8970
7949
 
8982
7961
    fi
8983
7962
    supports_anon_versioning=no
8984
7963
    case `$LD -v 2>&1` in
8985
 
      *GNU\ gold*) supports_anon_versioning=yes ;;
8986
7964
      *\ [01].* | *\ 2.[0-9].* | *\ 2.10.*) ;; # catch versions < 2.11
8987
7965
      *\ 2.11.93.0.2\ *) supports_anon_versioning=yes ;; # RH7.3 ...
8988
7966
      *\ 2.11.92.0.12\ *) supports_anon_versioning=yes ;; # Mandrake 8.2 ...
8998
7976
        ld_shlibs=no
8999
7977
        cat <<_LT_EOF 1>&2
9000
7978
 
9001
 
*** 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
9002
7980
*** to be unable to reliably create shared libraries on AIX.
9003
7981
*** Therefore, libtool is disabling shared libraries support.  If you
9004
 
*** really care for shared libraries, you may want to install binutils
9005
 
*** 2.20 or above, or modify your PATH so that a non-GNU linker is found.
9006
 
*** You will then need to restart the configuration process.
 
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.
9007
7984
 
9008
7985
_LT_EOF
9009
7986
      fi
9039
8016
      # _LT_TAGVAR(hardcode_libdir_flag_spec, ) is actually meaningless,
9040
8017
      # as there is no search path for DLLs.
9041
8018
      hardcode_libdir_flag_spec='-L$libdir'
9042
 
      export_dynamic_flag_spec='${wl}--export-all-symbols'
9043
8019
      allow_undefined_flag=unsupported
9044
8020
      always_export_symbols=no
9045
8021
      enable_shared_with_static_runtimes=yes
9046
 
      export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1 DATA/;s/^.*[ ]__nm__\([^ ]*\)[ ][^ ]*/\1 DATA/;/^I[ ]/d;/^[AITW][ ]/s/.* //'\'' | sort | uniq > $export_symbols'
9047
 
      exclude_expsyms='[_]+GLOBAL_OFFSET_TABLE_|[_]+GLOBAL__[FID]_.*|[_]+head_[A-Za-z0-9_]+_dll|[A-Za-z0-9_]+_dll_iname'
 
8022
      export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1 DATA/'\'' | $SED -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols'
9048
8023
 
9049
8024
      if $LD --help 2>&1 | $GREP 'auto-import' > /dev/null; then
9050
8025
        archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
9062
8037
      fi
9063
8038
      ;;
9064
8039
 
9065
 
    haiku*)
9066
 
      archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9067
 
      link_all_deplibs=yes
9068
 
      ;;
9069
 
 
9070
8040
    interix[3-9]*)
9071
8041
      hardcode_direct=no
9072
8042
      hardcode_shlibpath_var=no
9082
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'
9083
8053
      ;;
9084
8054
 
9085
 
    gnu* | linux* | tpf* | k*bsd*-gnu | kopensolaris*-gnu)
 
8055
    gnu* | linux* | tpf* | k*bsd*-gnu)
9086
8056
      tmp_diet=no
9087
8057
      if test "$host_os" = linux-dietlibc; then
9088
8058
        case $cc_basename in
9092
8062
      if $LD --help 2>&1 | $EGREP ': supported targets:.* elf' > /dev/null \
9093
8063
         && test "$tmp_diet" = no
9094
8064
      then
9095
 
        tmp_addflag=' $pic_flag'
 
8065
        tmp_addflag=
9096
8066
        tmp_sharedflag='-shared'
9097
8067
        case $cc_basename,$host_cpu in
9098
8068
        pgcc*)                          # Portland Group C compiler
9099
 
          whole_archive_flag_spec='${wl}--whole-archive`for conv in $convenience\"\"; do test  -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; func_echo_all \"$new_convenience\"` ${wl}--no-whole-archive'
 
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'
9100
8070
          tmp_addflag=' $pic_flag'
9101
8071
          ;;
9102
 
        pgf77* | pgf90* | pgf95* | pgfortran*)
9103
 
                                        # Portland Group f77 and f90 compilers
9104
 
          whole_archive_flag_spec='${wl}--whole-archive`for conv in $convenience\"\"; do test  -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; func_echo_all \"$new_convenience\"` ${wl}--no-whole-archive'
 
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'
9105
8074
          tmp_addflag=' $pic_flag -Mnomain' ;;
9106
8075
        ecc*,ia64* | icc*,ia64*)        # Intel C compiler on ia64
9107
8076
          tmp_addflag=' -i_dynamic' ;;
9112
8081
        lf95*)                          # Lahey Fortran 8.1
9113
8082
          whole_archive_flag_spec=
9114
8083
          tmp_sharedflag='--shared' ;;
9115
 
        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)
9116
8085
          tmp_sharedflag='-qmkshrobj'
9117
8086
          tmp_addflag= ;;
9118
 
        nvcc*)  # Cuda Compiler Driver 2.2
9119
 
          whole_archive_flag_spec='${wl}--whole-archive`for conv in $convenience\"\"; do test  -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; func_echo_all \"$new_convenience\"` ${wl}--no-whole-archive'
9120
 
          compiler_needs_object=yes
9121
 
          ;;
9122
8087
        esac
9123
8088
        case `$CC -V 2>&1 | sed 5q` in
9124
8089
        *Sun\ C*)                       # Sun C 5.9
9125
 
          whole_archive_flag_spec='${wl}--whole-archive`new_convenience=; for conv in $convenience\"\"; do test -z \"$conv\" || new_convenience=\"$new_convenience,$conv\"; done; func_echo_all \"$new_convenience\"` ${wl}--no-whole-archive'
 
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'
9126
8091
          compiler_needs_object=yes
9127
8092
          tmp_sharedflag='-G' ;;
9128
8093
        *Sun\ F*)                       # Sun Fortran 8.3
9138
8103
        fi
9139
8104
 
9140
8105
        case $cc_basename in
9141
 
        xlf* | bgf* | bgxlf* | mpixlf*)
 
8106
        xlf*)
9142
8107
          # IBM XL Fortran 10.1 on PPC cannot create shared libs itself
9143
8108
          whole_archive_flag_spec='--whole-archive$convenience --no-whole-archive'
9144
 
          hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9145
 
          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'
9146
8112
          if test "x$supports_anon_versioning" = xyes; then
9147
8113
            archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
9148
8114
              cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
9149
8115
              echo "local: *; };" >> $output_objdir/$libname.ver~
9150
 
              $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'
9151
8117
          fi
9152
8118
          ;;
9153
8119
        esac
9161
8127
        archive_cmds='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
9162
8128
        wlarc=
9163
8129
      else
9164
 
        archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9165
 
        archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
 
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'
9166
8132
      fi
9167
8133
      ;;
9168
8134
 
9180
8146
 
9181
8147
_LT_EOF
9182
8148
      elif $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
9183
 
        archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9184
 
        archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
 
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'
9185
8151
      else
9186
8152
        ld_shlibs=no
9187
8153
      fi
9227
8193
 
9228
8194
    *)
9229
8195
      if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
9230
 
        archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9231
 
        archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
 
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'
9232
8198
      else
9233
8199
        ld_shlibs=no
9234
8200
      fi
9268
8234
      else
9269
8235
        # If we're using GNU nm, then we don't want the "-C" option.
9270
8236
        # -C means demangle to AIX nm, but means don't demangle with GNU nm
9271
 
        # Also, AIX nm treats weak defined symbols like other global
9272
 
        # defined symbols, whereas GNU nm marks them as "W".
9273
8237
        if $NM -V 2>&1 | $GREP 'GNU' > /dev/null; then
9274
 
          export_symbols_cmds='$NM -Bpg $libobjs $convenience | awk '\''{ if (((\$ 2 == "T") || (\$ 2 == "D") || (\$ 2 == "B") || (\$ 2 == "W")) && (substr(\$ 3,1,1) != ".")) { print \$ 3 } }'\'' | sort -u > $export_symbols'
 
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'
9275
8239
        else
9276
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'
9277
8241
        fi
9359
8323
        allow_undefined_flag='-berok'
9360
8324
        # Determine the default libpath from the value encoded in an
9361
8325
        # empty executable.
9362
 
        if test "${lt_cv_aix_libpath+set}" = set; then
9363
 
  aix_libpath=$lt_cv_aix_libpath
9364
 
else
9365
 
  if ${lt_cv_aix_libpath_+:} false; then :
9366
 
  $as_echo_n "(cached) " >&6
9367
 
else
9368
 
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 
8326
        cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9369
8327
/* end confdefs.h.  */
9370
8328
 
9371
8329
int
9378
8336
_ACEOF
9379
8337
if ac_fn_c_try_link "$LINENO"; then :
9380
8338
 
9381
 
  lt_aix_libpath_sed='
9382
 
      /Import File Strings/,/^$/ {
9383
 
          /^0/ {
9384
 
              s/^0  *\([^ ]*\) *$/\1/
9385
 
              p
9386
 
          }
9387
 
      }'
9388
 
  lt_cv_aix_libpath_=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9389
 
  # Check for a 64-bit object if we didn't find anything.
9390
 
  if test -z "$lt_cv_aix_libpath_"; then
9391
 
    lt_cv_aix_libpath_=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9392
 
  fi
 
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
9393
8351
fi
9394
8352
rm -f core conftest.err conftest.$ac_objext \
9395
8353
    conftest$ac_exeext conftest.$ac_ext
9396
 
  if test -z "$lt_cv_aix_libpath_"; then
9397
 
    lt_cv_aix_libpath_="/usr/lib:/lib"
9398
 
  fi
9399
 
 
9400
 
fi
9401
 
 
9402
 
  aix_libpath=$lt_cv_aix_libpath_
9403
 
fi
 
8354
if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
9404
8355
 
9405
8356
        hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
9406
 
        archive_expsym_cmds='$CC -o $output_objdir/$soname $libobjs $deplibs '"\${wl}$no_entry_flag"' $compiler_flags `if test "x${allow_undefined_flag}" != "x"; then func_echo_all "${wl}${allow_undefined_flag}"; else :; fi` '"\${wl}$exp_sym_flag:\$export_symbols $shared_flag"
 
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"
9407
8358
      else
9408
8359
        if test "$host_cpu" = ia64; then
9409
8360
          hardcode_libdir_flag_spec='${wl}-R $libdir:/usr/lib:/lib'
9412
8363
        else
9413
8364
         # Determine the default libpath from the value encoded in an
9414
8365
         # empty executable.
9415
 
         if test "${lt_cv_aix_libpath+set}" = set; then
9416
 
  aix_libpath=$lt_cv_aix_libpath
9417
 
else
9418
 
  if ${lt_cv_aix_libpath_+:} false; then :
9419
 
  $as_echo_n "(cached) " >&6
9420
 
else
9421
 
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 
8366
         cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9422
8367
/* end confdefs.h.  */
9423
8368
 
9424
8369
int
9431
8376
_ACEOF
9432
8377
if ac_fn_c_try_link "$LINENO"; then :
9433
8378
 
9434
 
  lt_aix_libpath_sed='
9435
 
      /Import File Strings/,/^$/ {
9436
 
          /^0/ {
9437
 
              s/^0  *\([^ ]*\) *$/\1/
9438
 
              p
9439
 
          }
9440
 
      }'
9441
 
  lt_cv_aix_libpath_=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9442
 
  # Check for a 64-bit object if we didn't find anything.
9443
 
  if test -z "$lt_cv_aix_libpath_"; then
9444
 
    lt_cv_aix_libpath_=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9445
 
  fi
 
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
9446
8391
fi
9447
8392
rm -f core conftest.err conftest.$ac_objext \
9448
8393
    conftest$ac_exeext conftest.$ac_ext
9449
 
  if test -z "$lt_cv_aix_libpath_"; then
9450
 
    lt_cv_aix_libpath_="/usr/lib:/lib"
9451
 
  fi
9452
 
 
9453
 
fi
9454
 
 
9455
 
  aix_libpath=$lt_cv_aix_libpath_
9456
 
fi
 
8394
if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
9457
8395
 
9458
8396
         hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
9459
8397
          # Warning - without using the other run time loading flags,
9460
8398
          # -berok will link without error, but may produce a broken library.
9461
8399
          no_undefined_flag=' ${wl}-bernotok'
9462
8400
          allow_undefined_flag=' ${wl}-berok'
9463
 
          if test "$with_gnu_ld" = yes; then
9464
 
            # We only use this code for GNU lds that support --whole-archive.
9465
 
            whole_archive_flag_spec='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
9466
 
          else
9467
 
            # Exported symbols can be pulled into shared objects from archives
9468
 
            whole_archive_flag_spec='$convenience'
9469
 
          fi
 
8401
          # Exported symbols can be pulled into shared objects from archives
 
8402
          whole_archive_flag_spec='$convenience'
9470
8403
          archive_cmds_need_lc=yes
9471
8404
          # This is similar to how AIX traditionally builds its shared libraries.
9472
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'
9498
8431
      # Microsoft Visual C++.
9499
8432
      # hardcode_libdir_flag_spec is actually meaningless, as there is
9500
8433
      # no search path for DLLs.
9501
 
      case $cc_basename in
9502
 
      cl*)
9503
 
        # Native MSVC
9504
 
        hardcode_libdir_flag_spec=' '
9505
 
        allow_undefined_flag=unsupported
9506
 
        always_export_symbols=yes
9507
 
        file_list_spec='@'
9508
 
        # Tell ltmain to make .lib files, not .a files.
9509
 
        libext=lib
9510
 
        # Tell ltmain to make .dll files, not .so files.
9511
 
        shrext_cmds=".dll"
9512
 
        # FIXME: Setting linknames here is a bad hack.
9513
 
        archive_cmds='$CC -o $output_objdir/$soname $libobjs $compiler_flags $deplibs -Wl,-dll~linknames='
9514
 
        archive_expsym_cmds='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
9515
 
            sed -n -e 's/\\\\\\\(.*\\\\\\\)/-link\\\ -EXPORT:\\\\\\\1/' -e '1\\\!p' < $export_symbols > $output_objdir/$soname.exp;
9516
 
          else
9517
 
            sed -e 's/\\\\\\\(.*\\\\\\\)/-link\\\ -EXPORT:\\\\\\\1/' < $export_symbols > $output_objdir/$soname.exp;
9518
 
          fi~
9519
 
          $CC -o $tool_output_objdir$soname $libobjs $compiler_flags $deplibs "@$tool_output_objdir$soname.exp" -Wl,-DLL,-IMPLIB:"$tool_output_objdir$libname.dll.lib"~
9520
 
          linknames='
9521
 
        # The linker will not automatically build a static lib if we build a DLL.
9522
 
        # _LT_TAGVAR(old_archive_from_new_cmds, )='true'
9523
 
        enable_shared_with_static_runtimes=yes
9524
 
        exclude_expsyms='_NULL_IMPORT_DESCRIPTOR|_IMPORT_DESCRIPTOR_.*'
9525
 
        export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1,DATA/'\'' | $SED -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols'
9526
 
        # Don't use ranlib
9527
 
        old_postinstall_cmds='chmod 644 $oldlib'
9528
 
        postlink_cmds='lt_outputfile="@OUTPUT@"~
9529
 
          lt_tool_outputfile="@TOOL_OUTPUT@"~
9530
 
          case $lt_outputfile in
9531
 
            *.exe|*.EXE) ;;
9532
 
            *)
9533
 
              lt_outputfile="$lt_outputfile.exe"
9534
 
              lt_tool_outputfile="$lt_tool_outputfile.exe"
9535
 
              ;;
9536
 
          esac~
9537
 
          if test "$MANIFEST_TOOL" != ":" && test -f "$lt_outputfile.manifest"; then
9538
 
            $MANIFEST_TOOL -manifest "$lt_tool_outputfile.manifest" -outputresource:"$lt_tool_outputfile" || exit 1;
9539
 
            $RM "$lt_outputfile.manifest";
9540
 
          fi'
9541
 
        ;;
9542
 
      *)
9543
 
        # Assume MSVC wrapper
9544
 
        hardcode_libdir_flag_spec=' '
9545
 
        allow_undefined_flag=unsupported
9546
 
        # Tell ltmain to make .lib files, not .a files.
9547
 
        libext=lib
9548
 
        # Tell ltmain to make .dll files, not .so files.
9549
 
        shrext_cmds=".dll"
9550
 
        # FIXME: Setting linknames here is a bad hack.
9551
 
        archive_cmds='$CC -o $lib $libobjs $compiler_flags `func_echo_all "$deplibs" | $SED '\''s/ -lc$//'\''` -link -dll~linknames='
9552
 
        # The linker will automatically build a .lib file if we build a DLL.
9553
 
        old_archive_from_new_cmds='true'
9554
 
        # FIXME: Should let the user specify the lib program.
9555
 
        old_archive_cmds='lib -OUT:$oldlib$oldobjs$old_deplibs'
9556
 
        enable_shared_with_static_runtimes=yes
9557
 
        ;;
9558
 
      esac
 
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
9559
8448
      ;;
9560
8449
 
9561
8450
    darwin* | rhapsody*)
9565
8454
  hardcode_direct=no
9566
8455
  hardcode_automatic=yes
9567
8456
  hardcode_shlibpath_var=unsupported
9568
 
  if test "$lt_cv_ld_force_load" = "yes"; then
9569
 
    whole_archive_flag_spec='`for conv in $convenience\"\"; do test  -n \"$conv\" && new_convenience=\"$new_convenience ${wl}-force_load,$conv\"; done; func_echo_all \"$new_convenience\"`'
9570
 
 
9571
 
  else
9572
 
    whole_archive_flag_spec=''
9573
 
  fi
 
8457
  whole_archive_flag_spec=''
9574
8458
  link_all_deplibs=yes
9575
8459
  allow_undefined_flag="$_lt_dar_allow_undefined"
9576
8460
  case $cc_basename in
9578
8462
     *) _lt_dar_can_shared=$GCC ;;
9579
8463
  esac
9580
8464
  if test "$_lt_dar_can_shared" = "yes"; then
9581
 
    output_verbose_link_cmd=func_echo_all
 
8465
    output_verbose_link_cmd=echo
9582
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}"
9583
8467
    module_cmds="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}"
9584
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}"
9596
8480
      hardcode_shlibpath_var=no
9597
8481
      ;;
9598
8482
 
 
8483
    freebsd1*)
 
8484
      ld_shlibs=no
 
8485
      ;;
 
8486
 
9599
8487
    # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
9600
8488
    # support.  Future versions do this automatically, but an explicit c++rt0.o
9601
8489
    # does not break anything, and helps significantly (at the cost of a little
9608
8496
      ;;
9609
8497
 
9610
8498
    # Unfortunately, older versions of FreeBSD 2 do not have this feature.
9611
 
    freebsd2.*)
 
8499
    freebsd2*)
9612
8500
      archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
9613
8501
      hardcode_direct=yes
9614
8502
      hardcode_minus_L=yes
9617
8505
 
9618
8506
    # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
9619
8507
    freebsd* | dragonfly*)
9620
 
      archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
 
8508
      archive_cmds='$CC -shared -o $lib $libobjs $deplibs $compiler_flags'
9621
8509
      hardcode_libdir_flag_spec='-R$libdir'
9622
8510
      hardcode_direct=yes
9623
8511
      hardcode_shlibpath_var=no
9625
8513
 
9626
8514
    hpux9*)
9627
8515
      if test "$GCC" = yes; then
9628
 
        archive_cmds='$RM $output_objdir/$soname~$CC -shared $pic_flag ${wl}+b ${wl}$install_libdir -o $output_objdir/$soname $libobjs $deplibs $compiler_flags~test $output_objdir/$soname = $lib || mv $output_objdir/$soname $lib'
 
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'
9629
8517
      else
9630
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'
9631
8519
      fi
9640
8528
      ;;
9641
8529
 
9642
8530
    hpux10*)
9643
 
      if test "$GCC" = yes && test "$with_gnu_ld" = no; then
9644
 
        archive_cmds='$CC -shared $pic_flag ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
 
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'
9645
8533
      else
9646
8534
        archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
9647
8535
      fi
9648
8536
      if test "$with_gnu_ld" = no; then
9649
8537
        hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
 
8538
        hardcode_libdir_flag_spec_ld='+b $libdir'
9650
8539
        hardcode_libdir_separator=:
9651
8540
        hardcode_direct=yes
9652
8541
        hardcode_direct_absolute=yes
9658
8547
      ;;
9659
8548
 
9660
8549
    hpux11*)
9661
 
      if test "$GCC" = yes && test "$with_gnu_ld" = no; then
 
8550
      if test "$GCC" = yes -a "$with_gnu_ld" = no; then
9662
8551
        case $host_cpu in
9663
8552
        hppa*64*)
9664
8553
          archive_cmds='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
9665
8554
          ;;
9666
8555
        ia64*)
9667
 
          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'
9668
8557
          ;;
9669
8558
        *)
9670
 
          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'
9671
8560
          ;;
9672
8561
        esac
9673
8562
      else
9679
8568
          archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
9680
8569
          ;;
9681
8570
        *)
9682
 
 
9683
 
          # Older versions of the 11.00 compiler do not understand -b yet
9684
 
          # (HP92453-01 A.11.01.20 doesn't, HP92453-01 B.11.X.35175-35176.GP does)
9685
 
          { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC understands -b" >&5
9686
 
$as_echo_n "checking if $CC understands -b... " >&6; }
9687
 
if ${lt_cv_prog_compiler__b+:} false; then :
9688
 
  $as_echo_n "(cached) " >&6
9689
 
else
9690
 
  lt_cv_prog_compiler__b=no
9691
 
   save_LDFLAGS="$LDFLAGS"
9692
 
   LDFLAGS="$LDFLAGS -b"
9693
 
   echo "$lt_simple_link_test_code" > conftest.$ac_ext
9694
 
   if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
9695
 
     # The linker can only warn and ignore the option if not recognized
9696
 
     # So say no if there are warnings
9697
 
     if test -s conftest.err; then
9698
 
       # Append any errors to the config.log.
9699
 
       cat conftest.err 1>&5
9700
 
       $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
9701
 
       $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
9702
 
       if diff conftest.exp conftest.er2 >/dev/null; then
9703
 
         lt_cv_prog_compiler__b=yes
9704
 
       fi
9705
 
     else
9706
 
       lt_cv_prog_compiler__b=yes
9707
 
     fi
9708
 
   fi
9709
 
   $RM -r conftest*
9710
 
   LDFLAGS="$save_LDFLAGS"
9711
 
 
9712
 
fi
9713
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler__b" >&5
9714
 
$as_echo "$lt_cv_prog_compiler__b" >&6; }
9715
 
 
9716
 
if test x"$lt_cv_prog_compiler__b" = xyes; then
9717
 
    archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
9718
 
else
9719
 
    archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
9720
 
fi
9721
 
 
 
8571
          archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
9722
8572
          ;;
9723
8573
        esac
9724
8574
      fi
9746
8596
 
9747
8597
    irix5* | irix6* | nonstopux*)
9748
8598
      if test "$GCC" = yes; then
9749
 
        archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && func_echo_all "${wl}-set_version ${wl}$verstring"` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
 
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'
9750
8600
        # Try to use the -exported_symbol ld option, if it does not
9751
8601
        # work, assume that -exports_file does not work either and
9752
8602
        # implicitly export all symbols.
9753
 
        # This should be the same for all languages, so no per-tag cache variable.
9754
 
        { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $host_os linker accepts -exported_symbol" >&5
9755
 
$as_echo_n "checking whether the $host_os linker accepts -exported_symbol... " >&6; }
9756
 
if ${lt_cv_irix_exported_symbol+:} false; then :
9757
 
  $as_echo_n "(cached) " >&6
9758
 
else
9759
 
  save_LDFLAGS="$LDFLAGS"
9760
 
           LDFLAGS="$LDFLAGS -shared ${wl}-exported_symbol ${wl}foo ${wl}-update_registry ${wl}/dev/null"
9761
 
           cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 
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
9762
8606
/* end confdefs.h.  */
9763
 
int foo (void) { return 0; }
 
8607
int foo(void) {}
9764
8608
_ACEOF
9765
8609
if ac_fn_c_try_link "$LINENO"; then :
9766
 
  lt_cv_irix_exported_symbol=yes
9767
 
else
9768
 
  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
 
9769
8612
fi
9770
8613
rm -f core conftest.err conftest.$ac_objext \
9771
8614
    conftest$ac_exeext conftest.$ac_ext
9772
 
           LDFLAGS="$save_LDFLAGS"
9773
 
fi
9774
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_irix_exported_symbol" >&5
9775
 
$as_echo "$lt_cv_irix_exported_symbol" >&6; }
9776
 
        if test "$lt_cv_irix_exported_symbol" = yes; then
9777
 
          archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && func_echo_all "${wl}-set_version ${wl}$verstring"` ${wl}-update_registry ${wl}${output_objdir}/so_locations ${wl}-exports_file ${wl}$export_symbols -o $lib'
9778
 
        fi
 
8615
        LDFLAGS="$save_LDFLAGS"
9779
8616
      else
9780
 
        archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags -soname $soname `test -n "$verstring" && func_echo_all "-set_version $verstring"` -update_registry ${output_objdir}/so_locations -o $lib'
9781
 
        archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags -soname $soname `test -n "$verstring" && func_echo_all "-set_version $verstring"` -update_registry ${output_objdir}/so_locations -exports_file $export_symbols -o $lib'
 
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'
9782
8619
      fi
9783
8620
      archive_cmds_need_lc='no'
9784
8621
      hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9840
8677
      hardcode_libdir_flag_spec='-L$libdir'
9841
8678
      hardcode_minus_L=yes
9842
8679
      allow_undefined_flag=unsupported
9843
 
      archive_cmds='$ECHO "LIBRARY $libname INITINSTANCE" > $output_objdir/$libname.def~$ECHO "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~echo DATA >> $output_objdir/$libname.def~echo " SINGLE NONSHARED" >> $output_objdir/$libname.def~echo EXPORTS >> $output_objdir/$libname.def~emxexp $libobjs >> $output_objdir/$libname.def~$CC -Zdll -Zcrtdll -o $lib $libobjs $deplibs $compiler_flags $output_objdir/$libname.def'
 
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'
9844
8681
      old_archive_from_new_cmds='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
9845
8682
      ;;
9846
8683
 
9847
8684
    osf3*)
9848
8685
      if test "$GCC" = yes; then
9849
8686
        allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
9850
 
        archive_cmds='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && func_echo_all "${wl}-set_version ${wl}$verstring"` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
 
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'
9851
8688
      else
9852
8689
        allow_undefined_flag=' -expect_unresolved \*'
9853
 
        archive_cmds='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags -soname $soname `test -n "$verstring" && func_echo_all "-set_version $verstring"` -update_registry ${output_objdir}/so_locations -o $lib'
 
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'
9854
8691
      fi
9855
8692
      archive_cmds_need_lc='no'
9856
8693
      hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9860
8697
    osf4* | osf5*)      # as osf3* with the addition of -msym flag
9861
8698
      if test "$GCC" = yes; then
9862
8699
        allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
9863
 
        archive_cmds='$CC -shared${allow_undefined_flag} $pic_flag $libobjs $deplibs $compiler_flags ${wl}-msym ${wl}-soname ${wl}$soname `test -n "$verstring" && func_echo_all "${wl}-set_version ${wl}$verstring"` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
 
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'
9864
8701
        hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9865
8702
      else
9866
8703
        allow_undefined_flag=' -expect_unresolved \*'
9867
 
        archive_cmds='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags -msym -soname $soname `test -n "$verstring" && func_echo_all "-set_version $verstring"` -update_registry ${output_objdir}/so_locations -o $lib'
 
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'
9868
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~
9869
 
        $CC -shared${allow_undefined_flag} ${wl}-input ${wl}$lib.exp $compiler_flags $libobjs $deplibs -soname $soname `test -n "$verstring" && $ECHO "-set_version $verstring"` -update_registry ${output_objdir}/so_locations -o $lib~$RM $lib.exp'
 
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'
9870
8707
 
9871
8708
        # Both c and cxx compiler support -rpath directly
9872
8709
        hardcode_libdir_flag_spec='-rpath $libdir'
9879
8716
      no_undefined_flag=' -z defs'
9880
8717
      if test "$GCC" = yes; then
9881
8718
        wlarc='${wl}'
9882
 
        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'
9883
8720
        archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
9884
 
          $CC -shared $pic_flag ${wl}-z ${wl}text ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
 
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'
9885
8722
      else
9886
8723
        case `$CC -V 2>&1` in
9887
8724
        *"Compilers 5.0"*)
10069
8906
      # to ld, don't add -lc before -lgcc.
10070
8907
      { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5
10071
8908
$as_echo_n "checking whether -lc should be explicitly linked in... " >&6; }
10072
 
if ${lt_cv_archive_cmds_need_lc+:} false; then :
10073
 
  $as_echo_n "(cached) " >&6
10074
 
else
10075
 
  $RM conftest*
10076
 
        echo "$lt_simple_compile_test_code" > conftest.$ac_ext
 
8909
      $RM conftest*
 
8910
      echo "$lt_simple_compile_test_code" > conftest.$ac_ext
10077
8911
 
10078
 
        if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
 
8912
      if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
10079
8913
  (eval $ac_compile) 2>&5
10080
8914
  ac_status=$?
10081
8915
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
10082
8916
  test $ac_status = 0; } 2>conftest.err; then
10083
 
          soname=conftest
10084
 
          lib=conftest
10085
 
          libobjs=conftest.$ac_objext
10086
 
          deplibs=
10087
 
          wl=$lt_prog_compiler_wl
10088
 
          pic_flag=$lt_prog_compiler_pic
10089
 
          compiler_flags=-v
10090
 
          linker_flags=-v
10091
 
          verstring=
10092
 
          output_objdir=.
10093
 
          libname=conftest
10094
 
          lt_save_allow_undefined_flag=$allow_undefined_flag
10095
 
          allow_undefined_flag=
10096
 
          if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5
 
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
10097
8931
  (eval $archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1) 2>&5
10098
8932
  ac_status=$?
10099
8933
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
10100
8934
  test $ac_status = 0; }
10101
 
          then
10102
 
            lt_cv_archive_cmds_need_lc=no
10103
 
          else
10104
 
            lt_cv_archive_cmds_need_lc=yes
10105
 
          fi
10106
 
          allow_undefined_flag=$lt_save_allow_undefined_flag
10107
 
        else
10108
 
          cat conftest.err 1>&5
10109
 
        fi
10110
 
        $RM conftest*
10111
 
 
10112
 
fi
10113
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_archive_cmds_need_lc" >&5
10114
 
$as_echo "$lt_cv_archive_cmds_need_lc" >&6; }
10115
 
      archive_cmds_need_lc=$lt_cv_archive_cmds_need_lc
 
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; }
10116
8947
      ;;
10117
8948
    esac
10118
8949
  fi
10270
9101
 
10271
9102
 
10272
9103
 
 
9104
 
 
9105
 
 
9106
 
 
9107
 
 
9108
 
10273
9109
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking dynamic linker characteristics" >&5
10274
9110
$as_echo_n "checking dynamic linker characteristics... " >&6; }
10275
9111
 
10278
9114
    darwin*) lt_awk_arg="/^libraries:/,/LR/" ;;
10279
9115
    *) lt_awk_arg="/^libraries:/" ;;
10280
9116
  esac
10281
 
  case $host_os in
10282
 
    mingw* | cegcc*) lt_sed_strip_eq="s,=\([A-Za-z]:\),\1,g" ;;
10283
 
    *) lt_sed_strip_eq="s,=/,/,g" ;;
10284
 
  esac
10285
 
  lt_search_path_spec=`$CC -print-search-dirs | awk $lt_awk_arg | $SED -e "s/^libraries://" -e $lt_sed_strip_eq`
10286
 
  case $lt_search_path_spec in
10287
 
  *\;*)
 
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
10288
9119
    # if the path contains ";" then we assume it to be the separator
10289
9120
    # otherwise default to the standard path separator (i.e. ":") - it is
10290
9121
    # assumed that no part of a normal pathname contains ";" but that should
10291
9122
    # okay in the real world where ";" in dirpaths is itself problematic.
10292
 
    lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED 's/;/ /g'`
10293
 
    ;;
10294
 
  *)
10295
 
    lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED "s/$PATH_SEPARATOR/ /g"`
10296
 
    ;;
10297
 
  esac
 
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
10298
9127
  # Ok, now we have the path, separated by spaces, we can step through it
10299
9128
  # and add multilib dir if necessary.
10300
9129
  lt_tmp_lt_search_path_spec=
10307
9136
        lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path"
10308
9137
    fi
10309
9138
  done
10310
 
  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 '
10311
9140
BEGIN {RS=" "; FS="/|\n";} {
10312
9141
  lt_foo="";
10313
9142
  lt_count=0;
10327
9156
  if (lt_foo != "") { lt_freq[lt_foo]++; }
10328
9157
  if (lt_freq[lt_foo] == 1) { print lt_foo; }
10329
9158
}'`
10330
 
  # AWK program above erroneously prepends '/' to C:/dos/paths
10331
 
  # for these hosts.
10332
 
  case $host_os in
10333
 
    mingw* | cegcc*) lt_search_path_spec=`$ECHO "$lt_search_path_spec" |\
10334
 
      $SED 's,/\([A-Za-z]:\),\1,g'` ;;
10335
 
  esac
10336
 
  sys_lib_search_path_spec=`$ECHO "$lt_search_path_spec" | $lt_NL2SP`
 
9159
  sys_lib_search_path_spec=`$ECHO $lt_search_path_spec`
10337
9160
else
10338
9161
  sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"
10339
9162
fi
10359
9182
 
10360
9183
case $host_os in
10361
9184
aix3*)
10362
 
  version_type=linux # correct to gnu/linux during the next big refactor
 
9185
  version_type=linux
10363
9186
  library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a'
10364
9187
  shlibpath_var=LIBPATH
10365
9188
 
10368
9191
  ;;
10369
9192
 
10370
9193
aix[4-9]*)
10371
 
  version_type=linux # correct to gnu/linux during the next big refactor
 
9194
  version_type=linux
10372
9195
  need_lib_prefix=no
10373
9196
  need_version=no
10374
9197
  hardcode_into_libs=yes
10421
9244
  m68k)
10422
9245
    library_names_spec='$libname.ixlibrary $libname.a'
10423
9246
    # Create ${libname}_ixlibrary.a entries in /sys/libs.
10424
 
    finish_eval='for lib in `ls $libdir/*.ixlibrary 2>/dev/null`; do libname=`func_echo_all "$lib" | $SED '\''s%^.*/\([^/]*\)\.ixlibrary$%\1%'\''`; test $RM /sys/libs/${libname}_ixlibrary.a; $show "cd /sys/libs && $LN_S $lib ${libname}_ixlibrary.a"; cd /sys/libs && $LN_S $lib ${libname}_ixlibrary.a || exit 1; done'
 
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'
10425
9248
    ;;
10426
9249
  esac
10427
9250
  ;;
10433
9256
  ;;
10434
9257
 
10435
9258
bsdi[45]*)
10436
 
  version_type=linux # correct to gnu/linux during the next big refactor
 
9259
  version_type=linux
10437
9260
  need_version=no
10438
9261
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10439
9262
  soname_spec='${libname}${release}${shared_ext}$major'
10452
9275
  need_version=no
10453
9276
  need_lib_prefix=no
10454
9277
 
10455
 
  case $GCC,$cc_basename in
10456
 
  yes,*)
10457
 
    # gcc
 
9278
  case $GCC,$host_os in
 
9279
  yes,cygwin* | yes,mingw* | yes,pw32* | yes,cegcc*)
10458
9280
    library_names_spec='$libname.dll.a'
10459
9281
    # DLL is installed to $(libdir)/../bin by postinstall_cmds
10460
9282
    postinstall_cmds='base_file=`basename \${file}`~
10475
9297
    cygwin*)
10476
9298
      # Cygwin DLLs use 'cyg' prefix rather than 'lib'
10477
9299
      soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
10478
 
 
10479
 
      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"
10480
9301
      ;;
10481
9302
    mingw* | cegcc*)
10482
9303
      # MinGW DLLs use traditional 'lib' prefix
10483
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
10484
9317
      ;;
10485
9318
    pw32*)
10486
9319
      # pw32 DLLs use 'pw' prefix rather than 'lib'
10487
9320
      library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
10488
9321
      ;;
10489
9322
    esac
10490
 
    dynamic_linker='Win32 ld.exe'
10491
 
    ;;
10492
 
 
10493
 
  *,cl*)
10494
 
    # Native MSVC
10495
 
    libname_spec='$name'
10496
 
    soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
10497
 
    library_names_spec='${libname}.dll.lib'
10498
 
 
10499
 
    case $build_os in
10500
 
    mingw*)
10501
 
      sys_lib_search_path_spec=
10502
 
      lt_save_ifs=$IFS
10503
 
      IFS=';'
10504
 
      for lt_path in $LIB
10505
 
      do
10506
 
        IFS=$lt_save_ifs
10507
 
        # Let DOS variable expansion print the short 8.3 style file name.
10508
 
        lt_path=`cd "$lt_path" 2>/dev/null && cmd //C "for %i in (".") do @echo %~si"`
10509
 
        sys_lib_search_path_spec="$sys_lib_search_path_spec $lt_path"
10510
 
      done
10511
 
      IFS=$lt_save_ifs
10512
 
      # Convert to MSYS style.
10513
 
      sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | sed -e 's|\\\\|/|g' -e 's| \\([a-zA-Z]\\):| /\\1|g' -e 's|^ ||'`
10514
 
      ;;
10515
 
    cygwin*)
10516
 
      # Convert to unix form, then to dos form, then back to unix form
10517
 
      # but this time dos style (no spaces!) so that the unix form looks
10518
 
      # like /cygdrive/c/PROGRA~1:/cygdr...
10519
 
      sys_lib_search_path_spec=`cygpath --path --unix "$LIB"`
10520
 
      sys_lib_search_path_spec=`cygpath --path --dos "$sys_lib_search_path_spec" 2>/dev/null`
10521
 
      sys_lib_search_path_spec=`cygpath --path --unix "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
10522
 
      ;;
10523
 
    *)
10524
 
      sys_lib_search_path_spec="$LIB"
10525
 
      if $ECHO "$sys_lib_search_path_spec" | $GREP ';[c-zC-Z]:/' >/dev/null; then
10526
 
        # It is most probably a Windows format PATH.
10527
 
        sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
10528
 
      else
10529
 
        sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
10530
 
      fi
10531
 
      # FIXME: find the short name or the path components, as spaces are
10532
 
      # common. (e.g. "Program Files" -> "PROGRA~1")
10533
 
      ;;
10534
 
    esac
10535
 
 
10536
 
    # DLL is installed to $(libdir)/../bin by postinstall_cmds
10537
 
    postinstall_cmds='base_file=`basename \${file}`~
10538
 
      dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
10539
 
      dldir=$destdir/`dirname \$dlpath`~
10540
 
      test -d \$dldir || mkdir -p \$dldir~
10541
 
      $install_prog $dir/$dlname \$dldir/$dlname'
10542
 
    postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
10543
 
      dlpath=$dir/\$dldll~
10544
 
       $RM \$dlpath'
10545
 
    shlibpath_overrides_runpath=yes
10546
 
    dynamic_linker='Win32 link.exe'
10547
9323
    ;;
10548
9324
 
10549
9325
  *)
10550
 
    # Assume MSVC wrapper
10551
9326
    library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
10552
 
    dynamic_linker='Win32 ld.exe'
10553
9327
    ;;
10554
9328
  esac
 
9329
  dynamic_linker='Win32 ld.exe'
10555
9330
  # FIXME: first we should search . and the directory the executable is in
10556
9331
  shlibpath_var=PATH
10557
9332
  ;;
10572
9347
  ;;
10573
9348
 
10574
9349
dgux*)
10575
 
  version_type=linux # correct to gnu/linux during the next big refactor
 
9350
  version_type=linux
10576
9351
  need_lib_prefix=no
10577
9352
  need_version=no
10578
9353
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
10580
9355
  shlibpath_var=LD_LIBRARY_PATH
10581
9356
  ;;
10582
9357
 
 
9358
freebsd1*)
 
9359
  dynamic_linker=no
 
9360
  ;;
 
9361
 
10583
9362
freebsd* | dragonfly*)
10584
9363
  # DragonFly does not have aout.  When/if they implement a new
10585
9364
  # versioning mechanism, adjust this.
10587
9366
    objformat=`/usr/bin/objformat`
10588
9367
  else
10589
9368
    case $host_os in
10590
 
    freebsd[23].*) objformat=aout ;;
 
9369
    freebsd[123]*) objformat=aout ;;
10591
9370
    *) objformat=elf ;;
10592
9371
    esac
10593
9372
  fi
10605
9384
  esac
10606
9385
  shlibpath_var=LD_LIBRARY_PATH
10607
9386
  case $host_os in
10608
 
  freebsd2.*)
 
9387
  freebsd2*)
10609
9388
    shlibpath_overrides_runpath=yes
10610
9389
    ;;
10611
9390
  freebsd3.[01]* | freebsdelf3.[01]*)
10625
9404
  ;;
10626
9405
 
10627
9406
gnu*)
10628
 
  version_type=linux # correct to gnu/linux during the next big refactor
 
9407
  version_type=linux
10629
9408
  need_lib_prefix=no
10630
9409
  need_version=no
10631
9410
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
10632
9411
  soname_spec='${libname}${release}${shared_ext}$major'
10633
9412
  shlibpath_var=LD_LIBRARY_PATH
10634
 
  shlibpath_overrides_runpath=no
10635
 
  hardcode_into_libs=yes
10636
 
  ;;
10637
 
 
10638
 
haiku*)
10639
 
  version_type=linux # correct to gnu/linux during the next big refactor
10640
 
  need_lib_prefix=no
10641
 
  need_version=no
10642
 
  dynamic_linker="$host_os runtime_loader"
10643
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
10644
 
  soname_spec='${libname}${release}${shared_ext}$major'
10645
 
  shlibpath_var=LIBRARY_PATH
10646
 
  shlibpath_overrides_runpath=yes
10647
 
  sys_lib_dlsearch_path_spec='/boot/home/config/lib /boot/common/lib /boot/system/lib'
10648
9413
  hardcode_into_libs=yes
10649
9414
  ;;
10650
9415
 
10690
9455
    soname_spec='${libname}${release}${shared_ext}$major'
10691
9456
    ;;
10692
9457
  esac
10693
 
  # HP-UX runs *really* slowly unless shared libraries are mode 555, ...
 
9458
  # HP-UX runs *really* slowly unless shared libraries are mode 555.
10694
9459
  postinstall_cmds='chmod 555 $lib'
10695
 
  # or fails outright, so override atomically:
10696
 
  install_override_mode=555
10697
9460
  ;;
10698
9461
 
10699
9462
interix[3-9]*)
10700
 
  version_type=linux # correct to gnu/linux during the next big refactor
 
9463
  version_type=linux
10701
9464
  need_lib_prefix=no
10702
9465
  need_version=no
10703
9466
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
10713
9476
    nonstopux*) version_type=nonstopux ;;
10714
9477
    *)
10715
9478
        if test "$lt_cv_prog_gnu_ld" = yes; then
10716
 
                version_type=linux # correct to gnu/linux during the next big refactor
 
9479
                version_type=linux
10717
9480
        else
10718
9481
                version_type=irix
10719
9482
        fi ;;
10750
9513
  dynamic_linker=no
10751
9514
  ;;
10752
9515
 
10753
 
# This must be glibc/ELF.
10754
 
linux* | k*bsd*-gnu | kopensolaris*-gnu)
10755
 
  version_type=linux # correct to gnu/linux during the next big refactor
 
9516
# This must be Linux ELF.
 
9517
linux* | k*bsd*-gnu)
 
9518
  version_type=linux
10756
9519
  need_lib_prefix=no
10757
9520
  need_version=no
10758
9521
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10760
9523
  finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
10761
9524
  shlibpath_var=LD_LIBRARY_PATH
10762
9525
  shlibpath_overrides_runpath=no
10763
 
 
10764
9526
  # Some binutils ld are patched to set DT_RUNPATH
10765
 
  if ${lt_cv_shlibpath_overrides_runpath+:} false; then :
10766
 
  $as_echo_n "(cached) " >&6
10767
 
else
10768
 
  lt_cv_shlibpath_overrides_runpath=no
10769
 
    save_LDFLAGS=$LDFLAGS
10770
 
    save_libdir=$libdir
10771
 
    eval "libdir=/foo; wl=\"$lt_prog_compiler_wl\"; \
10772
 
         LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec\""
10773
 
    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 
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
10774
9532
/* end confdefs.h.  */
10775
9533
 
10776
9534
int
10783
9541
_ACEOF
10784
9542
if ac_fn_c_try_link "$LINENO"; then :
10785
9543
  if  ($OBJDUMP -p conftest$ac_exeext) 2>/dev/null | grep "RUNPATH.*$libdir" >/dev/null; then :
10786
 
  lt_cv_shlibpath_overrides_runpath=yes
 
9544
  shlibpath_overrides_runpath=yes
10787
9545
fi
10788
9546
fi
10789
9547
rm -f core conftest.err conftest.$ac_objext \
10790
9548
    conftest$ac_exeext conftest.$ac_ext
10791
 
    LDFLAGS=$save_LDFLAGS
10792
 
    libdir=$save_libdir
10793
 
 
10794
 
fi
10795
 
 
10796
 
  shlibpath_overrides_runpath=$lt_cv_shlibpath_overrides_runpath
 
9549
  LDFLAGS=$save_LDFLAGS
 
9550
  libdir=$save_libdir
10797
9551
 
10798
9552
  # This implies no fast_install, which is unacceptable.
10799
9553
  # Some rework will be needed to allow for fast_install
10802
9556
 
10803
9557
  # Append ld.so.conf contents to the search path
10804
9558
  if test -f /etc/ld.so.conf; then
10805
 
    lt_ld_extra=`awk '/^include / { system(sprintf("cd /etc; cat %s 2>/dev/null", \$2)); skip = 1; } { if (!skip) print \$0; skip = 0; }' < /etc/ld.so.conf | $SED -e 's/#.*//;/^[       ]*hwcap[        ]/d;s/[:,      ]/ /g;s/=[^=]*$//;s/=[^= ]* / /g;s/"//g;/^$/d' | tr '\n' ' '`
 
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' ' '`
10806
9560
    sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra"
10807
9561
  fi
10808
9562
 
10846
9600
  ;;
10847
9601
 
10848
9602
newsos6)
10849
 
  version_type=linux # correct to gnu/linux during the next big refactor
 
9603
  version_type=linux
10850
9604
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10851
9605
  shlibpath_var=LD_LIBRARY_PATH
10852
9606
  shlibpath_overrides_runpath=yes
10915
9669
  ;;
10916
9670
 
10917
9671
solaris*)
10918
 
  version_type=linux # correct to gnu/linux during the next big refactor
 
9672
  version_type=linux
10919
9673
  need_lib_prefix=no
10920
9674
  need_version=no
10921
9675
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10940
9694
  ;;
10941
9695
 
10942
9696
sysv4 | sysv4.3*)
10943
 
  version_type=linux # correct to gnu/linux during the next big refactor
 
9697
  version_type=linux
10944
9698
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10945
9699
  soname_spec='${libname}${release}${shared_ext}$major'
10946
9700
  shlibpath_var=LD_LIBRARY_PATH
10964
9718
 
10965
9719
sysv4*MP*)
10966
9720
  if test -d /usr/nec ;then
10967
 
    version_type=linux # correct to gnu/linux during the next big refactor
 
9721
    version_type=linux
10968
9722
    library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
10969
9723
    soname_spec='$libname${shared_ext}.$major'
10970
9724
    shlibpath_var=LD_LIBRARY_PATH
10995
9749
 
10996
9750
tpf*)
10997
9751
  # TPF is a cross-target only.  Preferred cross-host = GNU/Linux.
10998
 
  version_type=linux # correct to gnu/linux during the next big refactor
 
9752
  version_type=linux
10999
9753
  need_lib_prefix=no
11000
9754
  need_version=no
11001
9755
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11005
9759
  ;;
11006
9760
 
11007
9761
uts4*)
11008
 
  version_type=linux # correct to gnu/linux during the next big refactor
 
9762
  version_type=linux
11009
9763
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11010
9764
  soname_spec='${libname}${release}${shared_ext}$major'
11011
9765
  shlibpath_var=LD_LIBRARY_PATH
11117
9871
 
11118
9872
 
11119
9873
 
11120
 
 
11121
 
 
11122
 
 
11123
 
 
11124
 
 
11125
9874
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to hardcode library paths into programs" >&5
11126
9875
$as_echo_n "checking how to hardcode library paths into programs... " >&6; }
11127
9876
hardcode_action=
11194
9943
  # if libdl is installed we need to link against it
11195
9944
    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
11196
9945
$as_echo_n "checking for dlopen in -ldl... " >&6; }
11197
 
if ${ac_cv_lib_dl_dlopen+:} false; then :
 
9946
if test "${ac_cv_lib_dl_dlopen+set}" = set; then :
11198
9947
  $as_echo_n "(cached) " >&6
11199
9948
else
11200
9949
  ac_check_lib_save_LIBS=$LIBS
11228
9977
fi
11229
9978
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
11230
9979
$as_echo "$ac_cv_lib_dl_dlopen" >&6; }
11231
 
if test "x$ac_cv_lib_dl_dlopen" = xyes; then :
 
9980
if test "x$ac_cv_lib_dl_dlopen" = x""yes; then :
11232
9981
  lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
11233
9982
else
11234
9983
 
11242
9991
 
11243
9992
  *)
11244
9993
    ac_fn_c_check_func "$LINENO" "shl_load" "ac_cv_func_shl_load"
11245
 
if test "x$ac_cv_func_shl_load" = xyes; then :
 
9994
if test "x$ac_cv_func_shl_load" = x""yes; then :
11246
9995
  lt_cv_dlopen="shl_load"
11247
9996
else
11248
9997
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shl_load in -ldld" >&5
11249
9998
$as_echo_n "checking for shl_load in -ldld... " >&6; }
11250
 
if ${ac_cv_lib_dld_shl_load+:} false; then :
 
9999
if test "${ac_cv_lib_dld_shl_load+set}" = set; then :
11251
10000
  $as_echo_n "(cached) " >&6
11252
10001
else
11253
10002
  ac_check_lib_save_LIBS=$LIBS
11281
10030
fi
11282
10031
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_shl_load" >&5
11283
10032
$as_echo "$ac_cv_lib_dld_shl_load" >&6; }
11284
 
if test "x$ac_cv_lib_dld_shl_load" = xyes; then :
 
10033
if test "x$ac_cv_lib_dld_shl_load" = x""yes; then :
11285
10034
  lt_cv_dlopen="shl_load" lt_cv_dlopen_libs="-ldld"
11286
10035
else
11287
10036
  ac_fn_c_check_func "$LINENO" "dlopen" "ac_cv_func_dlopen"
11288
 
if test "x$ac_cv_func_dlopen" = xyes; then :
 
10037
if test "x$ac_cv_func_dlopen" = x""yes; then :
11289
10038
  lt_cv_dlopen="dlopen"
11290
10039
else
11291
10040
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
11292
10041
$as_echo_n "checking for dlopen in -ldl... " >&6; }
11293
 
if ${ac_cv_lib_dl_dlopen+:} false; then :
 
10042
if test "${ac_cv_lib_dl_dlopen+set}" = set; then :
11294
10043
  $as_echo_n "(cached) " >&6
11295
10044
else
11296
10045
  ac_check_lib_save_LIBS=$LIBS
11324
10073
fi
11325
10074
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
11326
10075
$as_echo "$ac_cv_lib_dl_dlopen" >&6; }
11327
 
if test "x$ac_cv_lib_dl_dlopen" = xyes; then :
 
10076
if test "x$ac_cv_lib_dl_dlopen" = x""yes; then :
11328
10077
  lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
11329
10078
else
11330
10079
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -lsvld" >&5
11331
10080
$as_echo_n "checking for dlopen in -lsvld... " >&6; }
11332
 
if ${ac_cv_lib_svld_dlopen+:} false; then :
 
10081
if test "${ac_cv_lib_svld_dlopen+set}" = set; then :
11333
10082
  $as_echo_n "(cached) " >&6
11334
10083
else
11335
10084
  ac_check_lib_save_LIBS=$LIBS
11363
10112
fi
11364
10113
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_svld_dlopen" >&5
11365
10114
$as_echo "$ac_cv_lib_svld_dlopen" >&6; }
11366
 
if test "x$ac_cv_lib_svld_dlopen" = xyes; then :
 
10115
if test "x$ac_cv_lib_svld_dlopen" = x""yes; then :
11367
10116
  lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-lsvld"
11368
10117
else
11369
10118
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dld_link in -ldld" >&5
11370
10119
$as_echo_n "checking for dld_link in -ldld... " >&6; }
11371
 
if ${ac_cv_lib_dld_dld_link+:} false; then :
 
10120
if test "${ac_cv_lib_dld_dld_link+set}" = set; then :
11372
10121
  $as_echo_n "(cached) " >&6
11373
10122
else
11374
10123
  ac_check_lib_save_LIBS=$LIBS
11402
10151
fi
11403
10152
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_dld_link" >&5
11404
10153
$as_echo "$ac_cv_lib_dld_dld_link" >&6; }
11405
 
if test "x$ac_cv_lib_dld_dld_link" = xyes; then :
 
10154
if test "x$ac_cv_lib_dld_dld_link" = x""yes; then :
11406
10155
  lt_cv_dlopen="dld_link" lt_cv_dlopen_libs="-ldld"
11407
10156
fi
11408
10157
 
11443
10192
 
11444
10193
    { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a program can dlopen itself" >&5
11445
10194
$as_echo_n "checking whether a program can dlopen itself... " >&6; }
11446
 
if ${lt_cv_dlopen_self+:} false; then :
 
10195
if test "${lt_cv_dlopen_self+set}" = set; then :
11447
10196
  $as_echo_n "(cached) " >&6
11448
10197
else
11449
10198
          if test "$cross_compiling" = yes; then :
11452
10201
  lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
11453
10202
  lt_status=$lt_dlunknown
11454
10203
  cat > conftest.$ac_ext <<_LT_EOF
11455
 
#line $LINENO "configure"
 
10204
#line 10204 "configure"
11456
10205
#include "confdefs.h"
11457
10206
 
11458
10207
#if HAVE_DLFCN_H
11493
10242
#  endif
11494
10243
#endif
11495
10244
 
11496
 
/* When -fvisbility=hidden is used, assume the code has been annotated
11497
 
   correspondingly for the symbols needed.  */
11498
 
#if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
11499
 
int fnord () __attribute__((visibility("default")));
11500
 
#endif
11501
 
 
11502
 
int fnord () { return 42; }
 
10245
void fnord() { int i=42;}
11503
10246
int main ()
11504
10247
{
11505
10248
  void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
11508
10251
  if (self)
11509
10252
    {
11510
10253
      if (dlsym (self,"fnord"))       status = $lt_dlno_uscore;
11511
 
      else
11512
 
        {
11513
 
          if (dlsym( self,"_fnord"))  status = $lt_dlneed_uscore;
11514
 
          else puts (dlerror ());
11515
 
        }
 
10254
      else if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
11516
10255
      /* dlclose (self); */
11517
10256
    }
11518
10257
  else
11549
10288
      wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $lt_prog_compiler_static\"
11550
10289
      { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a statically linked program can dlopen itself" >&5
11551
10290
$as_echo_n "checking whether a statically linked program can dlopen itself... " >&6; }
11552
 
if ${lt_cv_dlopen_self_static+:} false; then :
 
10291
if test "${lt_cv_dlopen_self_static+set}" = set; then :
11553
10292
  $as_echo_n "(cached) " >&6
11554
10293
else
11555
10294
          if test "$cross_compiling" = yes; then :
11558
10297
  lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
11559
10298
  lt_status=$lt_dlunknown
11560
10299
  cat > conftest.$ac_ext <<_LT_EOF
11561
 
#line $LINENO "configure"
 
10300
#line 10300 "configure"
11562
10301
#include "confdefs.h"
11563
10302
 
11564
10303
#if HAVE_DLFCN_H
11599
10338
#  endif
11600
10339
#endif
11601
10340
 
11602
 
/* When -fvisbility=hidden is used, assume the code has been annotated
11603
 
   correspondingly for the symbols needed.  */
11604
 
#if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
11605
 
int fnord () __attribute__((visibility("default")));
11606
 
#endif
11607
 
 
11608
 
int fnord () { return 42; }
 
10341
void fnord() { int i=42;}
11609
10342
int main ()
11610
10343
{
11611
10344
  void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
11614
10347
  if (self)
11615
10348
    {
11616
10349
      if (dlsym (self,"fnord"))       status = $lt_dlno_uscore;
11617
 
      else
11618
 
        {
11619
 
          if (dlsym( self,"_fnord"))  status = $lt_dlneed_uscore;
11620
 
          else puts (dlerror ());
11621
 
        }
 
10350
      else if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
11622
10351
      /* dlclose (self); */
11623
10352
    }
11624
10353
  else
11775
10504
 
11776
10505
CC="$lt_save_CC"
11777
10506
 
11778
 
      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" &&
11779
11299
    ( (test "X$CXX" = "Xg++" && `g++ -v >/dev/null 2>&1` ) ||
11780
11300
    (test "X$CXX" != "Xg++"))) ; then
11781
11301
  ac_ext=cpp
11786
11306
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C++ preprocessor" >&5
11787
11307
$as_echo_n "checking how to run the C++ preprocessor... " >&6; }
11788
11308
if test -z "$CXXCPP"; then
11789
 
  if ${ac_cv_prog_CXXCPP+:} false; then :
 
11309
  if test "${ac_cv_prog_CXXCPP+set}" = set; then :
11790
11310
  $as_echo_n "(cached) " >&6
11791
11311
else
11792
11312
      # Double quotes because CXXCPP needs to be expanded
11816
11336
  # Broken: fails on valid input.
11817
11337
continue
11818
11338
fi
11819
 
rm -f conftest.err conftest.i conftest.$ac_ext
 
11339
rm -f conftest.err conftest.$ac_ext
11820
11340
 
11821
11341
  # OK, works on sane cases.  Now check whether nonexistent headers
11822
11342
  # can be detected and how.
11832
11352
ac_preproc_ok=:
11833
11353
break
11834
11354
fi
11835
 
rm -f conftest.err conftest.i conftest.$ac_ext
 
11355
rm -f conftest.err conftest.$ac_ext
11836
11356
 
11837
11357
done
11838
11358
# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
11839
 
rm -f conftest.i conftest.err conftest.$ac_ext
 
11359
rm -f conftest.err conftest.$ac_ext
11840
11360
if $ac_preproc_ok; then :
11841
11361
  break
11842
11362
fi
11875
11395
  # Broken: fails on valid input.
11876
11396
continue
11877
11397
fi
11878
 
rm -f conftest.err conftest.i conftest.$ac_ext
 
11398
rm -f conftest.err conftest.$ac_ext
11879
11399
 
11880
11400
  # OK, works on sane cases.  Now check whether nonexistent headers
11881
11401
  # can be detected and how.
11891
11411
ac_preproc_ok=:
11892
11412
break
11893
11413
fi
11894
 
rm -f conftest.err conftest.i conftest.$ac_ext
 
11414
rm -f conftest.err conftest.$ac_ext
11895
11415
 
11896
11416
done
11897
11417
# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
11898
 
rm -f conftest.i conftest.err conftest.$ac_ext
 
11418
rm -f conftest.err conftest.$ac_ext
11899
11419
if $ac_preproc_ok; then :
11900
11420
 
11901
11421
else
11902
11422
  { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
11903
11423
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
11904
 
as_fn_error $? "C++ preprocessor \"$CXXCPP\" fails sanity check
11905
 
See \`config.log' for more details" "$LINENO" 5; }
 
11424
_lt_caught_CXX_error=yes; }
11906
11425
fi
11907
11426
 
11908
11427
ac_ext=c
11915
11434
  _lt_caught_CXX_error=yes
11916
11435
fi
11917
11436
 
 
11437
 
 
11438
 
 
11439
 
11918
11440
ac_ext=cpp
11919
11441
ac_cpp='$CXXCPP $CPPFLAGS'
11920
11442
ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11930
11452
hardcode_direct_CXX=no
11931
11453
hardcode_direct_absolute_CXX=no
11932
11454
hardcode_libdir_flag_spec_CXX=
 
11455
hardcode_libdir_flag_spec_ld_CXX=
11933
11456
hardcode_libdir_separator_CXX=
11934
11457
hardcode_minus_L_CXX=no
11935
11458
hardcode_shlibpath_var_CXX=unsupported
11939
11462
module_expsym_cmds_CXX=
11940
11463
link_all_deplibs_CXX=unknown
11941
11464
old_archive_cmds_CXX=$old_archive_cmds
11942
 
reload_flag_CXX=$reload_flag
11943
 
reload_cmds_CXX=$reload_cmds
11944
11465
no_undefined_flag_CXX=
11945
11466
whole_archive_flag_spec_CXX=
11946
11467
enable_shared_with_static_runtimes_CXX=no
11996
11517
 
11997
11518
  # Allow CC to be a program name with arguments.
11998
11519
  lt_save_CC=$CC
11999
 
  lt_save_CFLAGS=$CFLAGS
12000
11520
  lt_save_LD=$LD
12001
11521
  lt_save_GCC=$GCC
12002
11522
  GCC=$GXX
12014
11534
  fi
12015
11535
  test -z "${LDCXX+set}" || LD=$LDCXX
12016
11536
  CC=${CXX-"c++"}
12017
 
  CFLAGS=$CXXFLAGS
12018
11537
  compiler=$CC
12019
11538
  compiler_CXX=$CC
12020
11539
  for cc_temp in $compiler""; do
12025
11544
    *) break;;
12026
11545
  esac
12027
11546
done
12028
 
cc_basename=`$ECHO "$cc_temp" | $SED "s%.*/%%; s%^$host_alias-%%"`
 
11547
cc_basename=`$ECHO "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
12029
11548
 
12030
11549
 
12031
11550
  if test -n "$compiler"; then
12088
11607
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
12089
11608
$as_echo_n "checking for non-GNU ld... " >&6; }
12090
11609
fi
12091
 
if ${lt_cv_path_LD+:} false; then :
 
11610
if test "${lt_cv_path_LD+set}" = set; then :
12092
11611
  $as_echo_n "(cached) " >&6
12093
11612
else
12094
11613
  if test -z "$LD"; then
12125
11644
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12126
11645
$as_echo "no" >&6; }
12127
11646
fi
12128
 
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
12129
11648
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
12130
11649
$as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
12131
 
if ${lt_cv_prog_gnu_ld+:} false; then :
 
11650
if test "${lt_cv_prog_gnu_ld+set}" = set; then :
12132
11651
  $as_echo_n "(cached) " >&6
12133
11652
else
12134
11653
  # I'd rather use --version here, but apparently some GNU lds only accept -v.
12154
11673
      # Check if GNU C++ uses GNU ld as the underlying linker, since the
12155
11674
      # archiving commands below assume that GNU ld is being used.
12156
11675
      if test "$with_gnu_ld" = yes; then
12157
 
        archive_cmds_CXX='$CC $pic_flag -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
12158
 
        archive_expsym_cmds_CXX='$CC $pic_flag -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
 
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'
12159
11678
 
12160
11679
        hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
12161
11680
        export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
12187
11706
      # Commands to make compiler produce verbose output that lists
12188
11707
      # what "hidden" libraries, object files and flags are used when
12189
11708
      # linking a shared library.
12190
 
      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"'
12191
11710
 
12192
11711
    else
12193
11712
      GXX=no
12297
11816
          allow_undefined_flag_CXX='-berok'
12298
11817
          # Determine the default libpath from the value encoded in an empty
12299
11818
          # executable.
12300
 
          if test "${lt_cv_aix_libpath+set}" = set; then
12301
 
  aix_libpath=$lt_cv_aix_libpath
12302
 
else
12303
 
  if ${lt_cv_aix_libpath__CXX+:} false; then :
12304
 
  $as_echo_n "(cached) " >&6
12305
 
else
12306
 
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 
11819
          cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12307
11820
/* end confdefs.h.  */
12308
11821
 
12309
11822
int
12316
11829
_ACEOF
12317
11830
if ac_fn_cxx_try_link "$LINENO"; then :
12318
11831
 
12319
 
  lt_aix_libpath_sed='
12320
 
      /Import File Strings/,/^$/ {
12321
 
          /^0/ {
12322
 
              s/^0  *\([^ ]*\) *$/\1/
12323
 
              p
12324
 
          }
12325
 
      }'
12326
 
  lt_cv_aix_libpath__CXX=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
12327
 
  # Check for a 64-bit object if we didn't find anything.
12328
 
  if test -z "$lt_cv_aix_libpath__CXX"; then
12329
 
    lt_cv_aix_libpath__CXX=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
12330
 
  fi
 
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
12331
11844
fi
12332
11845
rm -f core conftest.err conftest.$ac_objext \
12333
11846
    conftest$ac_exeext conftest.$ac_ext
12334
 
  if test -z "$lt_cv_aix_libpath__CXX"; then
12335
 
    lt_cv_aix_libpath__CXX="/usr/lib:/lib"
12336
 
  fi
12337
 
 
12338
 
fi
12339
 
 
12340
 
  aix_libpath=$lt_cv_aix_libpath__CXX
12341
 
fi
 
11847
if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
12342
11848
 
12343
11849
          hardcode_libdir_flag_spec_CXX='${wl}-blibpath:$libdir:'"$aix_libpath"
12344
11850
 
12345
 
          archive_expsym_cmds_CXX='$CC -o $output_objdir/$soname $libobjs $deplibs '"\${wl}$no_entry_flag"' $compiler_flags `if test "x${allow_undefined_flag}" != "x"; then func_echo_all "${wl}${allow_undefined_flag}"; else :; fi` '"\${wl}$exp_sym_flag:\$export_symbols $shared_flag"
 
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"
12346
11852
        else
12347
11853
          if test "$host_cpu" = ia64; then
12348
11854
            hardcode_libdir_flag_spec_CXX='${wl}-R $libdir:/usr/lib:/lib'
12351
11857
          else
12352
11858
            # Determine the default libpath from the value encoded in an
12353
11859
            # empty executable.
12354
 
            if test "${lt_cv_aix_libpath+set}" = set; then
12355
 
  aix_libpath=$lt_cv_aix_libpath
12356
 
else
12357
 
  if ${lt_cv_aix_libpath__CXX+:} false; then :
12358
 
  $as_echo_n "(cached) " >&6
12359
 
else
12360
 
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 
11860
            cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12361
11861
/* end confdefs.h.  */
12362
11862
 
12363
11863
int
12370
11870
_ACEOF
12371
11871
if ac_fn_cxx_try_link "$LINENO"; then :
12372
11872
 
12373
 
  lt_aix_libpath_sed='
12374
 
      /Import File Strings/,/^$/ {
12375
 
          /^0/ {
12376
 
              s/^0  *\([^ ]*\) *$/\1/
12377
 
              p
12378
 
          }
12379
 
      }'
12380
 
  lt_cv_aix_libpath__CXX=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
12381
 
  # Check for a 64-bit object if we didn't find anything.
12382
 
  if test -z "$lt_cv_aix_libpath__CXX"; then
12383
 
    lt_cv_aix_libpath__CXX=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
12384
 
  fi
 
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
12385
11885
fi
12386
11886
rm -f core conftest.err conftest.$ac_objext \
12387
11887
    conftest$ac_exeext conftest.$ac_ext
12388
 
  if test -z "$lt_cv_aix_libpath__CXX"; then
12389
 
    lt_cv_aix_libpath__CXX="/usr/lib:/lib"
12390
 
  fi
12391
 
 
12392
 
fi
12393
 
 
12394
 
  aix_libpath=$lt_cv_aix_libpath__CXX
12395
 
fi
 
11888
if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
12396
11889
 
12397
11890
            hardcode_libdir_flag_spec_CXX='${wl}-blibpath:$libdir:'"$aix_libpath"
12398
11891
            # Warning - without using the other run time loading flags,
12399
11892
            # -berok will link without error, but may produce a broken library.
12400
11893
            no_undefined_flag_CXX=' ${wl}-bernotok'
12401
11894
            allow_undefined_flag_CXX=' ${wl}-berok'
12402
 
            if test "$with_gnu_ld" = yes; then
12403
 
              # We only use this code for GNU lds that support --whole-archive.
12404
 
              whole_archive_flag_spec_CXX='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
12405
 
            else
12406
 
              # Exported symbols can be pulled into shared objects from archives
12407
 
              whole_archive_flag_spec_CXX='$convenience'
12408
 
            fi
 
11895
            # Exported symbols can be pulled into shared objects from archives
 
11896
            whole_archive_flag_spec_CXX='$convenience'
12409
11897
            archive_cmds_need_lc_CXX=yes
12410
11898
            # This is similar to how AIX traditionally builds its shared
12411
11899
            # libraries.
12435
11923
        ;;
12436
11924
 
12437
11925
      cygwin* | mingw* | pw32* | cegcc*)
12438
 
        case $GXX,$cc_basename in
12439
 
        ,cl* | no,cl*)
12440
 
          # Native MSVC
12441
 
          # hardcode_libdir_flag_spec is actually meaningless, as there is
12442
 
          # no search path for DLLs.
12443
 
          hardcode_libdir_flag_spec_CXX=' '
12444
 
          allow_undefined_flag_CXX=unsupported
12445
 
          always_export_symbols_CXX=yes
12446
 
          file_list_spec_CXX='@'
12447
 
          # Tell ltmain to make .lib files, not .a files.
12448
 
          libext=lib
12449
 
          # Tell ltmain to make .dll files, not .so files.
12450
 
          shrext_cmds=".dll"
12451
 
          # FIXME: Setting linknames here is a bad hack.
12452
 
          archive_cmds_CXX='$CC -o $output_objdir/$soname $libobjs $compiler_flags $deplibs -Wl,-dll~linknames='
12453
 
          archive_expsym_cmds_CXX='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
12454
 
              $SED -n -e 's/\\\\\\\(.*\\\\\\\)/-link\\\ -EXPORT:\\\\\\\1/' -e '1\\\!p' < $export_symbols > $output_objdir/$soname.exp;
12455
 
            else
12456
 
              $SED -e 's/\\\\\\\(.*\\\\\\\)/-link\\\ -EXPORT:\\\\\\\1/' < $export_symbols > $output_objdir/$soname.exp;
12457
 
            fi~
12458
 
            $CC -o $tool_output_objdir$soname $libobjs $compiler_flags $deplibs "@$tool_output_objdir$soname.exp" -Wl,-DLL,-IMPLIB:"$tool_output_objdir$libname.dll.lib"~
12459
 
            linknames='
12460
 
          # The linker will not automatically build a static lib if we build a DLL.
12461
 
          # _LT_TAGVAR(old_archive_from_new_cmds, CXX)='true'
12462
 
          enable_shared_with_static_runtimes_CXX=yes
12463
 
          # Don't use ranlib
12464
 
          old_postinstall_cmds_CXX='chmod 644 $oldlib'
12465
 
          postlink_cmds_CXX='lt_outputfile="@OUTPUT@"~
12466
 
            lt_tool_outputfile="@TOOL_OUTPUT@"~
12467
 
            case $lt_outputfile in
12468
 
              *.exe|*.EXE) ;;
12469
 
              *)
12470
 
                lt_outputfile="$lt_outputfile.exe"
12471
 
                lt_tool_outputfile="$lt_tool_outputfile.exe"
12472
 
                ;;
12473
 
            esac~
12474
 
            func_to_tool_file "$lt_outputfile"~
12475
 
            if test "$MANIFEST_TOOL" != ":" && test -f "$lt_outputfile.manifest"; then
12476
 
              $MANIFEST_TOOL -manifest "$lt_tool_outputfile.manifest" -outputresource:"$lt_tool_outputfile" || exit 1;
12477
 
              $RM "$lt_outputfile.manifest";
12478
 
            fi'
12479
 
          ;;
12480
 
        *)
12481
 
          # g++
12482
 
          # _LT_TAGVAR(hardcode_libdir_flag_spec, CXX) is actually meaningless,
12483
 
          # as there is no search path for DLLs.
12484
 
          hardcode_libdir_flag_spec_CXX='-L$libdir'
12485
 
          export_dynamic_flag_spec_CXX='${wl}--export-all-symbols'
12486
 
          allow_undefined_flag_CXX=unsupported
12487
 
          always_export_symbols_CXX=no
12488
 
          enable_shared_with_static_runtimes_CXX=yes
 
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
12489
11932
 
12490
 
          if $LD --help 2>&1 | $GREP 'auto-import' > /dev/null; then
12491
 
            archive_cmds_CXX='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
12492
 
            # If the export-symbols file already is a .def file (1st line
12493
 
            # is EXPORTS), use it as is; otherwise, prepend...
12494
 
            archive_expsym_cmds_CXX='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
12495
 
              cp $export_symbols $output_objdir/$soname.def;
12496
 
            else
12497
 
              echo EXPORTS > $output_objdir/$soname.def;
12498
 
              cat $export_symbols >> $output_objdir/$soname.def;
12499
 
            fi~
12500
 
            $CC -shared -nostdlib $output_objdir/$soname.def $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
12501
 
          else
12502
 
            ld_shlibs_CXX=no
12503
 
          fi
12504
 
          ;;
12505
 
        esac
12506
 
        ;;
 
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
        ;;
12507
11948
      darwin* | rhapsody*)
12508
11949
 
12509
11950
 
12511
11952
  hardcode_direct_CXX=no
12512
11953
  hardcode_automatic_CXX=yes
12513
11954
  hardcode_shlibpath_var_CXX=unsupported
12514
 
  if test "$lt_cv_ld_force_load" = "yes"; then
12515
 
    whole_archive_flag_spec_CXX='`for conv in $convenience\"\"; do test  -n \"$conv\" && new_convenience=\"$new_convenience ${wl}-force_load,$conv\"; done; func_echo_all \"$new_convenience\"`'
12516
 
 
12517
 
  else
12518
 
    whole_archive_flag_spec_CXX=''
12519
 
  fi
 
11955
  whole_archive_flag_spec_CXX=''
12520
11956
  link_all_deplibs_CXX=yes
12521
11957
  allow_undefined_flag_CXX="$_lt_dar_allow_undefined"
12522
11958
  case $cc_basename in
12524
11960
     *) _lt_dar_can_shared=$GCC ;;
12525
11961
  esac
12526
11962
  if test "$_lt_dar_can_shared" = "yes"; then
12527
 
    output_verbose_link_cmd=func_echo_all
 
11963
    output_verbose_link_cmd=echo
12528
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}"
12529
11965
    module_cmds_CXX="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}"
12530
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}"
12558
11994
        esac
12559
11995
        ;;
12560
11996
 
12561
 
      freebsd2.*)
 
11997
      freebsd[12]*)
12562
11998
        # C++ shared libraries reported to be fairly broken before
12563
11999
        # switch to ELF
12564
12000
        ld_shlibs_CXX=no
12577
12013
      gnu*)
12578
12014
        ;;
12579
12015
 
12580
 
      haiku*)
12581
 
        archive_cmds_CXX='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
12582
 
        link_all_deplibs_CXX=yes
12583
 
        ;;
12584
 
 
12585
12016
      hpux9*)
12586
12017
        hardcode_libdir_flag_spec_CXX='${wl}+b ${wl}$libdir'
12587
12018
        hardcode_libdir_separator_CXX=:
12606
12037
            # explicitly linking system object files so we need to strip them
12607
12038
            # from the output so that they don't get included in the library
12608
12039
            # dependencies.
12609
 
            output_verbose_link_cmd='templist=`($CC -b $CFLAGS -v conftest.$objext 2>&1) | $EGREP "\-L"`; list=""; for z in $templist; do case $z in conftest.$objext) list="$list $z";; *.$objext);; *) list="$list $z";;esac; done; func_echo_all "$list"'
 
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'
12610
12041
            ;;
12611
12042
          *)
12612
12043
            if test "$GXX" = yes; then
12613
 
              archive_cmds_CXX='$RM $output_objdir/$soname~$CC -shared -nostdlib $pic_flag ${wl}+b ${wl}$install_libdir -o $output_objdir/$soname $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~test $output_objdir/$soname = $lib || mv $output_objdir/$soname $lib'
 
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'
12614
12045
            else
12615
12046
              # FIXME: insert proper C++ library support
12616
12047
              ld_shlibs_CXX=no
12671
12102
            # explicitly linking system object files so we need to strip them
12672
12103
            # from the output so that they don't get included in the library
12673
12104
            # dependencies.
12674
 
            output_verbose_link_cmd='templist=`($CC -b $CFLAGS -v conftest.$objext 2>&1) | $GREP "\-L"`; list=""; for z in $templist; do case $z in conftest.$objext) list="$list $z";; *.$objext);; *) list="$list $z";;esac; done; func_echo_all "$list"'
 
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'
12675
12106
            ;;
12676
12107
          *)
12677
12108
            if test "$GXX" = yes; then
12681
12112
                    archive_cmds_CXX='$CC -shared -nostdlib -fPIC ${wl}+h ${wl}$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
12682
12113
                    ;;
12683
12114
                  ia64*)
12684
 
                    archive_cmds_CXX='$CC -shared -nostdlib $pic_flag ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
 
12115
                    archive_cmds_CXX='$CC -shared -nostdlib -fPIC ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
12685
12116
                    ;;
12686
12117
                  *)
12687
 
                    archive_cmds_CXX='$CC -shared -nostdlib $pic_flag ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
 
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'
12688
12119
                    ;;
12689
12120
                esac
12690
12121
              fi
12714
12145
        case $cc_basename in
12715
12146
          CC*)
12716
12147
            # SGI C++
12717
 
            archive_cmds_CXX='$CC -shared -all -multigot $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -soname $soname `test -n "$verstring" && func_echo_all "-set_version $verstring"` -update_registry ${output_objdir}/so_locations -o $lib'
 
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'
12718
12149
 
12719
12150
            # Archives containing C++ object files must be created using
12720
12151
            # "CC -ar", where "CC" is the IRIX C++ compiler.  This is
12725
12156
          *)
12726
12157
            if test "$GXX" = yes; then
12727
12158
              if test "$with_gnu_ld" = no; then
12728
 
                archive_cmds_CXX='$CC -shared $pic_flag -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && func_echo_all "${wl}-set_version ${wl}$verstring"` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
 
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'
12729
12160
              else
12730
 
                archive_cmds_CXX='$CC -shared $pic_flag -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && func_echo_all "${wl}-set_version ${wl}$verstring"` -o $lib'
 
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'
12731
12162
              fi
12732
12163
            fi
12733
12164
            link_all_deplibs_CXX=yes
12738
12169
        inherit_rpath_CXX=yes
12739
12170
        ;;
12740
12171
 
12741
 
      linux* | k*bsd*-gnu | kopensolaris*-gnu)
 
12172
      linux* | k*bsd*-gnu)
12742
12173
        case $cc_basename in
12743
12174
          KCC*)
12744
12175
            # Kuck and Associates, Inc. (KAI) C++ Compiler
12756
12187
            # explicitly linking system object files so we need to strip them
12757
12188
            # from the output so that they don't get included in the library
12758
12189
            # dependencies.
12759
 
            output_verbose_link_cmd='templist=`$CC $CFLAGS -v conftest.$objext -o libconftest$shared_ext 2>&1 | $GREP "ld"`; rm -f libconftest$shared_ext; list=""; for z in $templist; do case $z in conftest.$objext) list="$list $z";; *.$objext);; *) list="$list $z";;esac; done; func_echo_all "$list"'
 
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'
12760
12191
 
12761
12192
            hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
12762
12193
            export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
12793
12224
          pgCC* | pgcpp*)
12794
12225
            # Portland Group C++ compiler
12795
12226
            case `$CC -V` in
12796
 
            *pgCC\ [1-5].* | *pgcpp\ [1-5].*)
 
12227
            *pgCC\ [1-5]* | *pgcpp\ [1-5]*)
12797
12228
              prelink_cmds_CXX='tpldir=Template.dir~
12798
12229
                rm -rf $tpldir~
12799
12230
                $CC --prelink_objects --instantiation_dir $tpldir $objs $libobjs $compile_deplibs~
12800
 
                compile_command="$compile_command `find $tpldir -name \*.o | sort | $NL2SP`"'
 
12231
                compile_command="$compile_command `find $tpldir -name \*.o | $NL2SP`"'
12801
12232
              old_archive_cmds_CXX='tpldir=Template.dir~
12802
12233
                rm -rf $tpldir~
12803
12234
                $CC --prelink_objects --instantiation_dir $tpldir $oldobjs$old_deplibs~
12804
 
                $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`~
12805
12236
                $RANLIB $oldlib'
12806
12237
              archive_cmds_CXX='tpldir=Template.dir~
12807
12238
                rm -rf $tpldir~
12808
12239
                $CC --prelink_objects --instantiation_dir $tpldir $predep_objects $libobjs $deplibs $convenience $postdep_objects~
12809
 
                $CC -shared $pic_flag $predep_objects $libobjs $deplibs `find $tpldir -name \*.o | sort | $NL2SP` $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname -o $lib'
 
12240
                $CC -shared $pic_flag $predep_objects $libobjs $deplibs `find $tpldir -name \*.o | $NL2SP` $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname -o $lib'
12810
12241
              archive_expsym_cmds_CXX='tpldir=Template.dir~
12811
12242
                rm -rf $tpldir~
12812
12243
                $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 ${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'
12814
12245
              ;;
12815
 
            *) # Version 6 and above use weak symbols
 
12246
            *) # Version 6 will use weak symbols
12816
12247
              archive_cmds_CXX='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname -o $lib'
12817
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'
12818
12249
              ;;
12820
12251
 
12821
12252
            hardcode_libdir_flag_spec_CXX='${wl}--rpath ${wl}$libdir'
12822
12253
            export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
12823
 
            whole_archive_flag_spec_CXX='${wl}--whole-archive`for conv in $convenience\"\"; do test  -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; func_echo_all \"$new_convenience\"` ${wl}--no-whole-archive'
 
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'
12824
12255
            ;;
12825
12256
          cxx*)
12826
12257
            # Compaq C++
12839
12270
            # explicitly linking system object files so we need to strip them
12840
12271
            # from the output so that they don't get included in the library
12841
12272
            # dependencies.
12842
 
            output_verbose_link_cmd='templist=`$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP "ld"`; templist=`func_echo_all "$templist" | $SED "s/\(^.*ld.*\)\( .*ld .*$\)/\1/"`; list=""; for z in $templist; do case $z in conftest.$objext) list="$list $z";; *.$objext);; *) list="$list $z";;esac; done; func_echo_all "X$list" | $Xsed'
 
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'
12843
12274
            ;;
12844
 
          xl* | mpixl* | bgxl*)
 
12275
          xl*)
12845
12276
            # IBM XL 8.0 on PPC, with GNU ld
12846
12277
            hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
12847
12278
            export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
12861
12292
              archive_cmds_CXX='$CC -G${allow_undefined_flag} -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
12862
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'
12863
12294
              hardcode_libdir_flag_spec_CXX='-R$libdir'
12864
 
              whole_archive_flag_spec_CXX='${wl}--whole-archive`new_convenience=; for conv in $convenience\"\"; do test -z \"$conv\" || new_convenience=\"$new_convenience,$conv\"; done; func_echo_all \"$new_convenience\"` ${wl}--no-whole-archive'
 
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'
12865
12296
              compiler_needs_object_CXX=yes
12866
12297
 
12867
12298
              # Not sure whether something based on
12868
12299
              # $CC $CFLAGS -v conftest.$objext -o libconftest$shared_ext 2>&1
12869
12300
              # would be better.
12870
 
              output_verbose_link_cmd='func_echo_all'
 
12301
              output_verbose_link_cmd='echo'
12871
12302
 
12872
12303
              # Archives containing C++ object files must be created using
12873
12304
              # "CC -xar", where "CC" is the Sun C++ compiler.  This is
12936
12367
            export_dynamic_flag_spec_CXX='${wl}-E'
12937
12368
            whole_archive_flag_spec_CXX="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
12938
12369
          fi
12939
 
          output_verbose_link_cmd=func_echo_all
 
12370
          output_verbose_link_cmd=echo
12940
12371
        else
12941
12372
          ld_shlibs_CXX=no
12942
12373
        fi
12971
12402
            case $host in
12972
12403
              osf3*)
12973
12404
                allow_undefined_flag_CXX=' ${wl}-expect_unresolved ${wl}\*'
12974
 
                archive_cmds_CXX='$CC -shared${allow_undefined_flag} $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $soname `test -n "$verstring" && func_echo_all "${wl}-set_version $verstring"` -update_registry ${output_objdir}/so_locations -o $lib'
 
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'
12975
12406
                hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
12976
12407
                ;;
12977
12408
              *)
12978
12409
                allow_undefined_flag_CXX=' -expect_unresolved \*'
12979
 
                archive_cmds_CXX='$CC -shared${allow_undefined_flag} $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -msym -soname $soname `test -n "$verstring" && func_echo_all "-set_version $verstring"` -update_registry ${output_objdir}/so_locations -o $lib'
 
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'
12980
12411
                archive_expsym_cmds_CXX='for i in `cat $export_symbols`; do printf "%s %s\\n" -exported_symbol "\$i" >> $lib.exp; done~
12981
12412
                  echo "-hidden">> $lib.exp~
12982
 
                  $CC -shared$allow_undefined_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -msym -soname $soname ${wl}-input ${wl}$lib.exp  `test -n "$verstring" && $ECHO "-set_version $verstring"` -update_registry ${output_objdir}/so_locations -o $lib~
 
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~
12983
12414
                  $RM $lib.exp'
12984
12415
                hardcode_libdir_flag_spec_CXX='-rpath $libdir'
12985
12416
                ;;
12995
12426
            # explicitly linking system object files so we need to strip them
12996
12427
            # from the output so that they don't get included in the library
12997
12428
            # dependencies.
12998
 
            output_verbose_link_cmd='templist=`$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP "ld" | $GREP -v "ld:"`; templist=`func_echo_all "$templist" | $SED "s/\(^.*ld.*\)\( .*ld.*$\)/\1/"`; list=""; for z in $templist; do case $z in conftest.$objext) list="$list $z";; *.$objext);; *) list="$list $z";;esac; done; func_echo_all "$list"'
 
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'
12999
12430
            ;;
13000
12431
          *)
13001
12432
            if test "$GXX" = yes && test "$with_gnu_ld" = no; then
13002
12433
              allow_undefined_flag_CXX=' ${wl}-expect_unresolved ${wl}\*'
13003
12434
              case $host in
13004
12435
                osf3*)
13005
 
                  archive_cmds_CXX='$CC -shared -nostdlib ${allow_undefined_flag} $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && func_echo_all "${wl}-set_version ${wl}$verstring"` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
 
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'
13006
12437
                  ;;
13007
12438
                *)
13008
 
                  archive_cmds_CXX='$CC -shared $pic_flag -nostdlib ${allow_undefined_flag} $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-msym ${wl}-soname ${wl}$soname `test -n "$verstring" && func_echo_all "${wl}-set_version ${wl}$verstring"` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
 
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'
13009
12440
                  ;;
13010
12441
              esac
13011
12442
 
13015
12446
              # Commands to make compiler produce verbose output that lists
13016
12447
              # what "hidden" libraries, object files and flags are used when
13017
12448
              # linking a shared library.
13018
 
              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"'
13019
12450
 
13020
12451
            else
13021
12452
              # FIXME: insert proper C++ library support
13051
12482
 
13052
12483
      solaris*)
13053
12484
        case $cc_basename in
13054
 
          CC* | sunCC*)
 
12485
          CC*)
13055
12486
            # Sun C++ 4.2, 5.x and Centerline C++
13056
12487
            archive_cmds_need_lc_CXX=yes
13057
12488
            no_undefined_flag_CXX=' -zdefs'
13072
12503
            esac
13073
12504
            link_all_deplibs_CXX=yes
13074
12505
 
13075
 
            output_verbose_link_cmd='func_echo_all'
 
12506
            output_verbose_link_cmd='echo'
13076
12507
 
13077
12508
            # Archives containing C++ object files must be created using
13078
12509
            # "CC -xar", where "CC" is the Sun C++ compiler.  This is
13092
12523
            if test "$GXX" = yes && test "$with_gnu_ld" = no; then
13093
12524
              no_undefined_flag_CXX=' ${wl}-z ${wl}defs'
13094
12525
              if $CC --version | $GREP -v '^2\.7' > /dev/null; then
13095
 
                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'
13096
12527
                archive_expsym_cmds_CXX='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
13097
 
                  $CC -shared $pic_flag -nostdlib ${wl}-M $wl$lib.exp -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$RM $lib.exp'
 
12528
                  $CC -shared -nostdlib ${wl}-M $wl$lib.exp -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$RM $lib.exp'
13098
12529
 
13099
12530
                # Commands to make compiler produce verbose output that lists
13100
12531
                # what "hidden" libraries, object files and flags are used when
13101
12532
                # linking a shared library.
13102
 
                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"'
13103
12534
              else
13104
12535
                # g++ 2.7 appears to require `-G' NOT `-shared' on this
13105
12536
                # platform.
13110
12541
                # Commands to make compiler produce verbose output that lists
13111
12542
                # what "hidden" libraries, object files and flags are used when
13112
12543
                # linking a shared library.
13113
 
                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"'
13114
12545
              fi
13115
12546
 
13116
12547
              hardcode_libdir_flag_spec_CXX='${wl}-R $wl$libdir'
13164
12595
          CC*)
13165
12596
            archive_cmds_CXX='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13166
12597
            archive_expsym_cmds_CXX='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13167
 
            old_archive_cmds_CXX='$CC -Tprelink_objects $oldobjs~
13168
 
              '"$old_archive_cmds_CXX"
13169
 
            reload_cmds_CXX='$CC -Tprelink_objects $reload_objs~
13170
 
              '"$reload_cmds_CXX"
13171
12598
            ;;
13172
12599
          *)
13173
12600
            archive_cmds_CXX='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13229
12656
};
13230
12657
_LT_EOF
13231
12658
 
13232
 
 
13233
 
_lt_libdeps_save_CFLAGS=$CFLAGS
13234
 
case "$CC $CFLAGS " in #(
13235
 
*\ -flto*\ *) CFLAGS="$CFLAGS -fno-lto" ;;
13236
 
*\ -fwhopr*\ *) CFLAGS="$CFLAGS -fno-whopr" ;;
13237
 
*\ -fuse-linker-plugin*\ *) CFLAGS="$CFLAGS -fno-use-linker-plugin" ;;
13238
 
esac
13239
 
 
13240
12659
if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
13241
12660
  (eval $ac_compile) 2>&5
13242
12661
  ac_status=$?
13250
12669
  pre_test_object_deps_done=no
13251
12670
 
13252
12671
  for p in `eval "$output_verbose_link_cmd"`; do
13253
 
    case ${prev}${p} in
 
12672
    case $p in
13254
12673
 
13255
12674
    -L* | -R* | -l*)
13256
12675
       # Some compilers place space between "-{L,R}" and the path.
13259
12678
          test $p = "-R"; then
13260
12679
         prev=$p
13261
12680
         continue
 
12681
       else
 
12682
         prev=
13262
12683
       fi
13263
12684
 
13264
 
       # Expand the sysroot to ease extracting the directories later.
13265
 
       if test -z "$prev"; then
13266
 
         case $p in
13267
 
         -L*) func_stripname_cnf '-L' '' "$p"; prev=-L; p=$func_stripname_result ;;
13268
 
         -R*) func_stripname_cnf '-R' '' "$p"; prev=-R; p=$func_stripname_result ;;
13269
 
         -l*) func_stripname_cnf '-l' '' "$p"; prev=-l; p=$func_stripname_result ;;
13270
 
         esac
13271
 
       fi
13272
 
       case $p in
13273
 
       =*) func_stripname_cnf '=' '' "$p"; p=$lt_sysroot$func_stripname_result ;;
13274
 
       esac
13275
12685
       if test "$pre_test_object_deps_done" = no; then
13276
 
         case ${prev} in
13277
 
         -L | -R)
 
12686
         case $p in
 
12687
         -L* | -R*)
13278
12688
           # Internal compiler library paths should come after those
13279
12689
           # provided the user.  The postdeps already come after the
13280
12690
           # user supplied libs so there is no need to process them.
13294
12704
           postdeps_CXX="${postdeps_CXX} ${prev}${p}"
13295
12705
         fi
13296
12706
       fi
13297
 
       prev=
13298
12707
       ;;
13299
12708
 
13300
 
    *.lto.$objext) ;; # Ignore GCC LTO objects
13301
12709
    *.$objext)
13302
12710
       # This assumes that the test object file only shows up
13303
12711
       # once in the compiler output.
13333
12741
fi
13334
12742
 
13335
12743
$RM -f confest.$objext
13336
 
CFLAGS=$_lt_libdeps_save_CFLAGS
13337
12744
 
13338
12745
# PORTME: override above test on systems where it is broken
13339
12746
case $host_os in
13369
12776
 
13370
12777
solaris*)
13371
12778
  case $cc_basename in
13372
 
  CC* | sunCC*)
 
12779
  CC*)
13373
12780
    # The more standards-conforming stlport4 library is
13374
12781
    # incompatible with the Cstd library. Avoid specifying
13375
12782
    # it if it's in CXXFLAGS. Ignore libCrun as
13434
12841
lt_prog_compiler_pic_CXX=
13435
12842
lt_prog_compiler_static_CXX=
13436
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; }
13437
12846
 
13438
12847
  # C++ specific cases for pic, static, wl, etc.
13439
12848
  if test "$GXX" = yes; then
13483
12892
      # DJGPP does not support shared libraries at all
13484
12893
      lt_prog_compiler_pic_CXX=
13485
12894
      ;;
13486
 
    haiku*)
13487
 
      # PIC is the default for Haiku.
13488
 
      # The "-static" flag exists, but is broken.
13489
 
      lt_prog_compiler_static_CXX=
13490
 
      ;;
13491
12895
    interix[3-9]*)
13492
12896
      # Interix 3.x gcc -fpic/-fPIC options generate broken code.
13493
12897
      # Instead, we relocate shared libraries at runtime.
13537
12941
          ;;
13538
12942
        esac
13539
12943
        ;;
13540
 
      mingw* | cygwin* | os2* | pw32* | cegcc*)
13541
 
        # This hack is so that the source file can tell whether it is being
13542
 
        # built for inclusion in a dll (and should export symbols for example).
13543
 
        lt_prog_compiler_pic_CXX='-DDLL_EXPORT'
13544
 
        ;;
13545
12944
      dgux*)
13546
12945
        case $cc_basename in
13547
12946
          ec++*)
13598
12997
            ;;
13599
12998
        esac
13600
12999
        ;;
13601
 
      linux* | k*bsd*-gnu | kopensolaris*-gnu)
 
13000
      linux* | k*bsd*-gnu)
13602
13001
        case $cc_basename in
13603
13002
          KCC*)
13604
13003
            # KAI C++ Compiler
13631
13030
            lt_prog_compiler_pic_CXX=
13632
13031
            lt_prog_compiler_static_CXX='-non_shared'
13633
13032
            ;;
13634
 
          xlc* | xlC* | bgxl[cC]* | mpixl[cC]*)
13635
 
            # IBM XL 8.0, 9.0 on PPC and BlueGene
 
13033
          xlc* | xlC*)
 
13034
            # IBM XL 8.0 on PPC
13636
13035
            lt_prog_compiler_wl_CXX='-Wl,'
13637
13036
            lt_prog_compiler_pic_CXX='-qpic'
13638
13037
            lt_prog_compiler_static_CXX='-qstaticlink'
13694
13093
        ;;
13695
13094
      solaris*)
13696
13095
        case $cc_basename in
13697
 
          CC* | sunCC*)
 
13096
          CC*)
13698
13097
            # Sun C++ 4.2, 5.x and Centerline C++
13699
13098
            lt_prog_compiler_pic_CXX='-KPIC'
13700
13099
            lt_prog_compiler_static_CXX='-Bstatic'
13759
13158
    lt_prog_compiler_pic_CXX="$lt_prog_compiler_pic_CXX -DPIC"
13760
13159
    ;;
13761
13160
esac
13762
 
 
13763
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5
13764
 
$as_echo_n "checking for $compiler option to produce PIC... " >&6; }
13765
 
if ${lt_cv_prog_compiler_pic_CXX+:} false; then :
13766
 
  $as_echo_n "(cached) " >&6
13767
 
else
13768
 
  lt_cv_prog_compiler_pic_CXX=$lt_prog_compiler_pic_CXX
13769
 
fi
13770
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_CXX" >&5
13771
 
$as_echo "$lt_cv_prog_compiler_pic_CXX" >&6; }
13772
 
lt_prog_compiler_pic_CXX=$lt_cv_prog_compiler_pic_CXX
 
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
 
13773
13165
 
13774
13166
#
13775
13167
# Check to make sure the PIC flag actually works.
13777
13169
if test -n "$lt_prog_compiler_pic_CXX"; then
13778
13170
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler PIC flag $lt_prog_compiler_pic_CXX works" >&5
13779
13171
$as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic_CXX works... " >&6; }
13780
 
if ${lt_cv_prog_compiler_pic_works_CXX+:} false; then :
 
13172
if test "${lt_cv_prog_compiler_pic_works_CXX+set}" = set; then :
13781
13173
  $as_echo_n "(cached) " >&6
13782
13174
else
13783
13175
  lt_cv_prog_compiler_pic_works_CXX=no
13793
13185
   -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
13794
13186
   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
13795
13187
   -e 's:$: $lt_compiler_flag:'`
13796
 
   (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
 
13188
   (eval echo "\"\$as_me:13188: $lt_compile\"" >&5)
13797
13189
   (eval "$lt_compile" 2>conftest.err)
13798
13190
   ac_status=$?
13799
13191
   cat conftest.err >&5
13800
 
   echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
13192
   echo "$as_me:13192: \$? = $ac_status" >&5
13801
13193
   if (exit $ac_status) && test -s "$ac_outfile"; then
13802
13194
     # The compiler can only warn and ignore the option if not recognized
13803
13195
     # So say no if there are warnings other than the usual output.
13804
 
     $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
 
13196
     $ECHO "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' >conftest.exp
13805
13197
     $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
13806
13198
     if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
13807
13199
       lt_cv_prog_compiler_pic_works_CXX=yes
13827
13219
 
13828
13220
 
13829
13221
 
13830
 
 
13831
 
 
13832
13222
#
13833
13223
# Check to make sure the static flag actually works.
13834
13224
#
13835
13225
wl=$lt_prog_compiler_wl_CXX eval lt_tmp_static_flag=\"$lt_prog_compiler_static_CXX\"
13836
13226
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler static flag $lt_tmp_static_flag works" >&5
13837
13227
$as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
13838
 
if ${lt_cv_prog_compiler_static_works_CXX+:} false; then :
 
13228
if test "${lt_cv_prog_compiler_static_works_CXX+set}" = set; then :
13839
13229
  $as_echo_n "(cached) " >&6
13840
13230
else
13841
13231
  lt_cv_prog_compiler_static_works_CXX=no
13848
13238
     if test -s conftest.err; then
13849
13239
       # Append any errors to the config.log.
13850
13240
       cat conftest.err 1>&5
13851
 
       $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
 
13241
       $ECHO "X$_lt_linker_boilerplate" | $Xsed -e '/^$/d' > conftest.exp
13852
13242
       $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
13853
13243
       if diff conftest.exp conftest.er2 >/dev/null; then
13854
13244
         lt_cv_prog_compiler_static_works_CXX=yes
13875
13265
 
13876
13266
    { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
13877
13267
$as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
13878
 
if ${lt_cv_prog_compiler_c_o_CXX+:} false; then :
 
13268
if test "${lt_cv_prog_compiler_c_o_CXX+set}" = set; then :
13879
13269
  $as_echo_n "(cached) " >&6
13880
13270
else
13881
13271
  lt_cv_prog_compiler_c_o_CXX=no
13894
13284
   -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
13895
13285
   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
13896
13286
   -e 's:$: $lt_compiler_flag:'`
13897
 
   (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
 
13287
   (eval echo "\"\$as_me:13287: $lt_compile\"" >&5)
13898
13288
   (eval "$lt_compile" 2>out/conftest.err)
13899
13289
   ac_status=$?
13900
13290
   cat out/conftest.err >&5
13901
 
   echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
13291
   echo "$as_me:13291: \$? = $ac_status" >&5
13902
13292
   if (exit $ac_status) && test -s out/conftest2.$ac_objext
13903
13293
   then
13904
13294
     # The compiler can only warn and ignore the option if not recognized
13905
13295
     # So say no if there are warnings
13906
 
     $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
 
13296
     $ECHO "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' > out/conftest.exp
13907
13297
     $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
13908
13298
     if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
13909
13299
       lt_cv_prog_compiler_c_o_CXX=yes
13927
13317
 
13928
13318
    { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
13929
13319
$as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
13930
 
if ${lt_cv_prog_compiler_c_o_CXX+:} false; then :
 
13320
if test "${lt_cv_prog_compiler_c_o_CXX+set}" = set; then :
13931
13321
  $as_echo_n "(cached) " >&6
13932
13322
else
13933
13323
  lt_cv_prog_compiler_c_o_CXX=no
13946
13336
   -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
13947
13337
   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
13948
13338
   -e 's:$: $lt_compiler_flag:'`
13949
 
   (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
 
13339
   (eval echo "\"\$as_me:13339: $lt_compile\"" >&5)
13950
13340
   (eval "$lt_compile" 2>out/conftest.err)
13951
13341
   ac_status=$?
13952
13342
   cat out/conftest.err >&5
13953
 
   echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
13343
   echo "$as_me:13343: \$? = $ac_status" >&5
13954
13344
   if (exit $ac_status) && test -s out/conftest2.$ac_objext
13955
13345
   then
13956
13346
     # The compiler can only warn and ignore the option if not recognized
13957
13347
     # So say no if there are warnings
13958
 
     $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
 
13348
     $ECHO "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' > out/conftest.exp
13959
13349
     $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
13960
13350
     if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
13961
13351
       lt_cv_prog_compiler_c_o_CXX=yes
14006
13396
$as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
14007
13397
 
14008
13398
  export_symbols_cmds_CXX='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
14009
 
  exclude_expsyms_CXX='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
14010
13399
  case $host_os in
14011
13400
  aix[4-9]*)
14012
13401
    # If we're using GNU nm, then we don't want the "-C" option.
14013
13402
    # -C means demangle to AIX nm, but means don't demangle with GNU nm
14014
 
    # Also, AIX nm treats weak defined symbols like other global defined
14015
 
    # symbols, whereas GNU nm marks them as "W".
14016
13403
    if $NM -V 2>&1 | $GREP 'GNU' > /dev/null; then
14017
 
      export_symbols_cmds_CXX='$NM -Bpg $libobjs $convenience | awk '\''{ if (((\$ 2 == "T") || (\$ 2 == "D") || (\$ 2 == "B") || (\$ 2 == "W")) && (substr(\$ 3,1,1) != ".")) { print \$ 3 } }'\'' | sort -u > $export_symbols'
 
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'
14018
13405
    else
14019
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'
14020
13407
    fi
14021
13408
    ;;
14022
13409
  pw32*)
14023
13410
    export_symbols_cmds_CXX="$ltdll_cmds"
14024
 
    ;;
 
13411
  ;;
14025
13412
  cygwin* | mingw* | cegcc*)
14026
 
    case $cc_basename in
14027
 
    cl*)
14028
 
      exclude_expsyms_CXX='_NULL_IMPORT_DESCRIPTOR|_IMPORT_DESCRIPTOR_.*'
14029
 
      ;;
14030
 
    *)
14031
 
      export_symbols_cmds_CXX='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1 DATA/;s/^.*[ ]__nm__\([^ ]*\)[ ][^ ]*/\1 DATA/;/^I[ ]/d;/^[AITW][ ]/s/.* //'\'' | sort | uniq > $export_symbols'
14032
 
      exclude_expsyms_CXX='[_]+GLOBAL_OFFSET_TABLE_|[_]+GLOBAL__[FID]_.*|[_]+head_[A-Za-z0-9_]+_dll|[A-Za-z0-9_]+_dll_iname'
14033
 
      ;;
14034
 
    esac
14035
 
    ;;
14036
 
  linux* | k*bsd*-gnu | gnu*)
 
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)
14037
13416
    link_all_deplibs_CXX=no
14038
 
    ;;
 
13417
  ;;
14039
13418
  *)
14040
13419
    export_symbols_cmds_CXX='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
14041
 
    ;;
 
13420
  ;;
14042
13421
  esac
 
13422
  exclude_expsyms_CXX='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
14043
13423
 
14044
13424
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs_CXX" >&5
14045
13425
$as_echo "$ld_shlibs_CXX" >&6; }
14071
13451
      # to ld, don't add -lc before -lgcc.
14072
13452
      { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5
14073
13453
$as_echo_n "checking whether -lc should be explicitly linked in... " >&6; }
14074
 
if ${lt_cv_archive_cmds_need_lc_CXX+:} false; then :
14075
 
  $as_echo_n "(cached) " >&6
14076
 
else
14077
 
  $RM conftest*
14078
 
        echo "$lt_simple_compile_test_code" > conftest.$ac_ext
 
13454
      $RM conftest*
 
13455
      echo "$lt_simple_compile_test_code" > conftest.$ac_ext
14079
13456
 
14080
 
        if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
 
13457
      if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
14081
13458
  (eval $ac_compile) 2>&5
14082
13459
  ac_status=$?
14083
13460
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14084
13461
  test $ac_status = 0; } 2>conftest.err; then
14085
 
          soname=conftest
14086
 
          lib=conftest
14087
 
          libobjs=conftest.$ac_objext
14088
 
          deplibs=
14089
 
          wl=$lt_prog_compiler_wl_CXX
14090
 
          pic_flag=$lt_prog_compiler_pic_CXX
14091
 
          compiler_flags=-v
14092
 
          linker_flags=-v
14093
 
          verstring=
14094
 
          output_objdir=.
14095
 
          libname=conftest
14096
 
          lt_save_allow_undefined_flag=$allow_undefined_flag_CXX
14097
 
          allow_undefined_flag_CXX=
14098
 
          if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds_CXX 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5
 
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
14099
13476
  (eval $archive_cmds_CXX 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1) 2>&5
14100
13477
  ac_status=$?
14101
13478
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14102
13479
  test $ac_status = 0; }
14103
 
          then
14104
 
            lt_cv_archive_cmds_need_lc_CXX=no
14105
 
          else
14106
 
            lt_cv_archive_cmds_need_lc_CXX=yes
14107
 
          fi
14108
 
          allow_undefined_flag_CXX=$lt_save_allow_undefined_flag
14109
 
        else
14110
 
          cat conftest.err 1>&5
14111
 
        fi
14112
 
        $RM conftest*
14113
 
 
14114
 
fi
14115
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_archive_cmds_need_lc_CXX" >&5
14116
 
$as_echo "$lt_cv_archive_cmds_need_lc_CXX" >&6; }
14117
 
      archive_cmds_need_lc_CXX=$lt_cv_archive_cmds_need_lc_CXX
 
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; }
14118
13492
      ;;
14119
13493
    esac
14120
13494
  fi
14182
13556
 
14183
13557
 
14184
13558
 
 
13559
 
 
13560
 
14185
13561
    { $as_echo "$as_me:${as_lineno-$LINENO}: checking dynamic linker characteristics" >&5
14186
13562
$as_echo_n "checking dynamic linker characteristics... " >&6; }
14187
13563
 
14207
13583
 
14208
13584
case $host_os in
14209
13585
aix3*)
14210
 
  version_type=linux # correct to gnu/linux during the next big refactor
 
13586
  version_type=linux
14211
13587
  library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a'
14212
13588
  shlibpath_var=LIBPATH
14213
13589
 
14216
13592
  ;;
14217
13593
 
14218
13594
aix[4-9]*)
14219
 
  version_type=linux # correct to gnu/linux during the next big refactor
 
13595
  version_type=linux
14220
13596
  need_lib_prefix=no
14221
13597
  need_version=no
14222
13598
  hardcode_into_libs=yes
14269
13645
  m68k)
14270
13646
    library_names_spec='$libname.ixlibrary $libname.a'
14271
13647
    # Create ${libname}_ixlibrary.a entries in /sys/libs.
14272
 
    finish_eval='for lib in `ls $libdir/*.ixlibrary 2>/dev/null`; do libname=`func_echo_all "$lib" | $SED '\''s%^.*/\([^/]*\)\.ixlibrary$%\1%'\''`; test $RM /sys/libs/${libname}_ixlibrary.a; $show "cd /sys/libs && $LN_S $lib ${libname}_ixlibrary.a"; cd /sys/libs && $LN_S $lib ${libname}_ixlibrary.a || exit 1; done'
 
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'
14273
13649
    ;;
14274
13650
  esac
14275
13651
  ;;
14281
13657
  ;;
14282
13658
 
14283
13659
bsdi[45]*)
14284
 
  version_type=linux # correct to gnu/linux during the next big refactor
 
13660
  version_type=linux
14285
13661
  need_version=no
14286
13662
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14287
13663
  soname_spec='${libname}${release}${shared_ext}$major'
14300
13676
  need_version=no
14301
13677
  need_lib_prefix=no
14302
13678
 
14303
 
  case $GCC,$cc_basename in
14304
 
  yes,*)
14305
 
    # gcc
 
13679
  case $GCC,$host_os in
 
13680
  yes,cygwin* | yes,mingw* | yes,pw32* | yes,cegcc*)
14306
13681
    library_names_spec='$libname.dll.a'
14307
13682
    # DLL is installed to $(libdir)/../bin by postinstall_cmds
14308
13683
    postinstall_cmds='base_file=`basename \${file}`~
14323
13698
    cygwin*)
14324
13699
      # Cygwin DLLs use 'cyg' prefix rather than 'lib'
14325
13700
      soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
14326
 
 
 
13701
      sys_lib_search_path_spec="/usr/lib /lib/w32api /lib /usr/local/lib"
14327
13702
      ;;
14328
13703
    mingw* | cegcc*)
14329
13704
      # MinGW DLLs use traditional 'lib' prefix
14330
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
14331
13718
      ;;
14332
13719
    pw32*)
14333
13720
      # pw32 DLLs use 'pw' prefix rather than 'lib'
14334
13721
      library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
14335
13722
      ;;
14336
13723
    esac
14337
 
    dynamic_linker='Win32 ld.exe'
14338
 
    ;;
14339
 
 
14340
 
  *,cl*)
14341
 
    # Native MSVC
14342
 
    libname_spec='$name'
14343
 
    soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
14344
 
    library_names_spec='${libname}.dll.lib'
14345
 
 
14346
 
    case $build_os in
14347
 
    mingw*)
14348
 
      sys_lib_search_path_spec=
14349
 
      lt_save_ifs=$IFS
14350
 
      IFS=';'
14351
 
      for lt_path in $LIB
14352
 
      do
14353
 
        IFS=$lt_save_ifs
14354
 
        # Let DOS variable expansion print the short 8.3 style file name.
14355
 
        lt_path=`cd "$lt_path" 2>/dev/null && cmd //C "for %i in (".") do @echo %~si"`
14356
 
        sys_lib_search_path_spec="$sys_lib_search_path_spec $lt_path"
14357
 
      done
14358
 
      IFS=$lt_save_ifs
14359
 
      # Convert to MSYS style.
14360
 
      sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | sed -e 's|\\\\|/|g' -e 's| \\([a-zA-Z]\\):| /\\1|g' -e 's|^ ||'`
14361
 
      ;;
14362
 
    cygwin*)
14363
 
      # Convert to unix form, then to dos form, then back to unix form
14364
 
      # but this time dos style (no spaces!) so that the unix form looks
14365
 
      # like /cygdrive/c/PROGRA~1:/cygdr...
14366
 
      sys_lib_search_path_spec=`cygpath --path --unix "$LIB"`
14367
 
      sys_lib_search_path_spec=`cygpath --path --dos "$sys_lib_search_path_spec" 2>/dev/null`
14368
 
      sys_lib_search_path_spec=`cygpath --path --unix "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
14369
 
      ;;
14370
 
    *)
14371
 
      sys_lib_search_path_spec="$LIB"
14372
 
      if $ECHO "$sys_lib_search_path_spec" | $GREP ';[c-zC-Z]:/' >/dev/null; then
14373
 
        # It is most probably a Windows format PATH.
14374
 
        sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
14375
 
      else
14376
 
        sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
14377
 
      fi
14378
 
      # FIXME: find the short name or the path components, as spaces are
14379
 
      # common. (e.g. "Program Files" -> "PROGRA~1")
14380
 
      ;;
14381
 
    esac
14382
 
 
14383
 
    # DLL is installed to $(libdir)/../bin by postinstall_cmds
14384
 
    postinstall_cmds='base_file=`basename \${file}`~
14385
 
      dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
14386
 
      dldir=$destdir/`dirname \$dlpath`~
14387
 
      test -d \$dldir || mkdir -p \$dldir~
14388
 
      $install_prog $dir/$dlname \$dldir/$dlname'
14389
 
    postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
14390
 
      dlpath=$dir/\$dldll~
14391
 
       $RM \$dlpath'
14392
 
    shlibpath_overrides_runpath=yes
14393
 
    dynamic_linker='Win32 link.exe'
14394
13724
    ;;
14395
13725
 
14396
13726
  *)
14397
 
    # Assume MSVC wrapper
14398
13727
    library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
14399
 
    dynamic_linker='Win32 ld.exe'
14400
13728
    ;;
14401
13729
  esac
 
13730
  dynamic_linker='Win32 ld.exe'
14402
13731
  # FIXME: first we should search . and the directory the executable is in
14403
13732
  shlibpath_var=PATH
14404
13733
  ;;
14418
13747
  ;;
14419
13748
 
14420
13749
dgux*)
14421
 
  version_type=linux # correct to gnu/linux during the next big refactor
 
13750
  version_type=linux
14422
13751
  need_lib_prefix=no
14423
13752
  need_version=no
14424
13753
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
14426
13755
  shlibpath_var=LD_LIBRARY_PATH
14427
13756
  ;;
14428
13757
 
 
13758
freebsd1*)
 
13759
  dynamic_linker=no
 
13760
  ;;
 
13761
 
14429
13762
freebsd* | dragonfly*)
14430
13763
  # DragonFly does not have aout.  When/if they implement a new
14431
13764
  # versioning mechanism, adjust this.
14433
13766
    objformat=`/usr/bin/objformat`
14434
13767
  else
14435
13768
    case $host_os in
14436
 
    freebsd[23].*) objformat=aout ;;
 
13769
    freebsd[123]*) objformat=aout ;;
14437
13770
    *) objformat=elf ;;
14438
13771
    esac
14439
13772
  fi
14451
13784
  esac
14452
13785
  shlibpath_var=LD_LIBRARY_PATH
14453
13786
  case $host_os in
14454
 
  freebsd2.*)
 
13787
  freebsd2*)
14455
13788
    shlibpath_overrides_runpath=yes
14456
13789
    ;;
14457
13790
  freebsd3.[01]* | freebsdelf3.[01]*)
14471
13804
  ;;
14472
13805
 
14473
13806
gnu*)
14474
 
  version_type=linux # correct to gnu/linux during the next big refactor
 
13807
  version_type=linux
14475
13808
  need_lib_prefix=no
14476
13809
  need_version=no
14477
13810
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
14478
13811
  soname_spec='${libname}${release}${shared_ext}$major'
14479
13812
  shlibpath_var=LD_LIBRARY_PATH
14480
 
  shlibpath_overrides_runpath=no
14481
 
  hardcode_into_libs=yes
14482
 
  ;;
14483
 
 
14484
 
haiku*)
14485
 
  version_type=linux # correct to gnu/linux during the next big refactor
14486
 
  need_lib_prefix=no
14487
 
  need_version=no
14488
 
  dynamic_linker="$host_os runtime_loader"
14489
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
14490
 
  soname_spec='${libname}${release}${shared_ext}$major'
14491
 
  shlibpath_var=LIBRARY_PATH
14492
 
  shlibpath_overrides_runpath=yes
14493
 
  sys_lib_dlsearch_path_spec='/boot/home/config/lib /boot/common/lib /boot/system/lib'
14494
13813
  hardcode_into_libs=yes
14495
13814
  ;;
14496
13815
 
14536
13855
    soname_spec='${libname}${release}${shared_ext}$major'
14537
13856
    ;;
14538
13857
  esac
14539
 
  # HP-UX runs *really* slowly unless shared libraries are mode 555, ...
 
13858
  # HP-UX runs *really* slowly unless shared libraries are mode 555.
14540
13859
  postinstall_cmds='chmod 555 $lib'
14541
 
  # or fails outright, so override atomically:
14542
 
  install_override_mode=555
14543
13860
  ;;
14544
13861
 
14545
13862
interix[3-9]*)
14546
 
  version_type=linux # correct to gnu/linux during the next big refactor
 
13863
  version_type=linux
14547
13864
  need_lib_prefix=no
14548
13865
  need_version=no
14549
13866
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
14559
13876
    nonstopux*) version_type=nonstopux ;;
14560
13877
    *)
14561
13878
        if test "$lt_cv_prog_gnu_ld" = yes; then
14562
 
                version_type=linux # correct to gnu/linux during the next big refactor
 
13879
                version_type=linux
14563
13880
        else
14564
13881
                version_type=irix
14565
13882
        fi ;;
14596
13913
  dynamic_linker=no
14597
13914
  ;;
14598
13915
 
14599
 
# This must be glibc/ELF.
14600
 
linux* | k*bsd*-gnu | kopensolaris*-gnu)
14601
 
  version_type=linux # correct to gnu/linux during the next big refactor
 
13916
# This must be Linux ELF.
 
13917
linux* | k*bsd*-gnu)
 
13918
  version_type=linux
14602
13919
  need_lib_prefix=no
14603
13920
  need_version=no
14604
13921
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14606
13923
  finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
14607
13924
  shlibpath_var=LD_LIBRARY_PATH
14608
13925
  shlibpath_overrides_runpath=no
14609
 
 
14610
13926
  # Some binutils ld are patched to set DT_RUNPATH
14611
 
  if ${lt_cv_shlibpath_overrides_runpath+:} false; then :
14612
 
  $as_echo_n "(cached) " >&6
14613
 
else
14614
 
  lt_cv_shlibpath_overrides_runpath=no
14615
 
    save_LDFLAGS=$LDFLAGS
14616
 
    save_libdir=$libdir
14617
 
    eval "libdir=/foo; wl=\"$lt_prog_compiler_wl_CXX\"; \
14618
 
         LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec_CXX\""
14619
 
    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 
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
14620
13932
/* end confdefs.h.  */
14621
13933
 
14622
13934
int
14629
13941
_ACEOF
14630
13942
if ac_fn_cxx_try_link "$LINENO"; then :
14631
13943
  if  ($OBJDUMP -p conftest$ac_exeext) 2>/dev/null | grep "RUNPATH.*$libdir" >/dev/null; then :
14632
 
  lt_cv_shlibpath_overrides_runpath=yes
 
13944
  shlibpath_overrides_runpath=yes
14633
13945
fi
14634
13946
fi
14635
13947
rm -f core conftest.err conftest.$ac_objext \
14636
13948
    conftest$ac_exeext conftest.$ac_ext
14637
 
    LDFLAGS=$save_LDFLAGS
14638
 
    libdir=$save_libdir
14639
 
 
14640
 
fi
14641
 
 
14642
 
  shlibpath_overrides_runpath=$lt_cv_shlibpath_overrides_runpath
 
13949
  LDFLAGS=$save_LDFLAGS
 
13950
  libdir=$save_libdir
14643
13951
 
14644
13952
  # This implies no fast_install, which is unacceptable.
14645
13953
  # Some rework will be needed to allow for fast_install
14648
13956
 
14649
13957
  # Append ld.so.conf contents to the search path
14650
13958
  if test -f /etc/ld.so.conf; then
14651
 
    lt_ld_extra=`awk '/^include / { system(sprintf("cd /etc; cat %s 2>/dev/null", \$2)); skip = 1; } { if (!skip) print \$0; skip = 0; }' < /etc/ld.so.conf | $SED -e 's/#.*//;/^[       ]*hwcap[        ]/d;s/[:,      ]/ /g;s/=[^=]*$//;s/=[^= ]* / /g;s/"//g;/^$/d' | tr '\n' ' '`
 
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' ' '`
14652
13960
    sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra"
14653
13961
  fi
14654
13962
 
14692
14000
  ;;
14693
14001
 
14694
14002
newsos6)
14695
 
  version_type=linux # correct to gnu/linux during the next big refactor
 
14003
  version_type=linux
14696
14004
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14697
14005
  shlibpath_var=LD_LIBRARY_PATH
14698
14006
  shlibpath_overrides_runpath=yes
14761
14069
  ;;
14762
14070
 
14763
14071
solaris*)
14764
 
  version_type=linux # correct to gnu/linux during the next big refactor
 
14072
  version_type=linux
14765
14073
  need_lib_prefix=no
14766
14074
  need_version=no
14767
14075
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14786
14094
  ;;
14787
14095
 
14788
14096
sysv4 | sysv4.3*)
14789
 
  version_type=linux # correct to gnu/linux during the next big refactor
 
14097
  version_type=linux
14790
14098
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14791
14099
  soname_spec='${libname}${release}${shared_ext}$major'
14792
14100
  shlibpath_var=LD_LIBRARY_PATH
14810
14118
 
14811
14119
sysv4*MP*)
14812
14120
  if test -d /usr/nec ;then
14813
 
    version_type=linux # correct to gnu/linux during the next big refactor
 
14121
    version_type=linux
14814
14122
    library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
14815
14123
    soname_spec='$libname${shared_ext}.$major'
14816
14124
    shlibpath_var=LD_LIBRARY_PATH
14841
14149
 
14842
14150
tpf*)
14843
14151
  # TPF is a cross-target only.  Preferred cross-host = GNU/Linux.
14844
 
  version_type=linux # correct to gnu/linux during the next big refactor
 
14152
  version_type=linux
14845
14153
  need_lib_prefix=no
14846
14154
  need_version=no
14847
14155
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14851
14159
  ;;
14852
14160
 
14853
14161
uts4*)
14854
 
  version_type=linux # correct to gnu/linux during the next big refactor
 
14162
  version_type=linux
14855
14163
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14856
14164
  soname_spec='${libname}${release}${shared_ext}$major'
14857
14165
  shlibpath_var=LD_LIBRARY_PATH
14912
14220
 
14913
14221
 
14914
14222
 
14915
 
 
14916
 
 
14917
14223
    { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to hardcode library paths into programs" >&5
14918
14224
$as_echo_n "checking how to hardcode library paths into programs... " >&6; }
14919
14225
hardcode_action_CXX=
14961
14267
  fi # test -n "$compiler"
14962
14268
 
14963
14269
  CC=$lt_save_CC
14964
 
  CFLAGS=$lt_save_CFLAGS
14965
14270
  LDCXX=$LD
14966
14271
  LD=$lt_save_LD
14967
14272
  GCC=$lt_save_GCC
14981
14286
 
14982
14287
 
14983
14288
 
14984
 
 
14985
 
 
14986
 
 
14987
 
 
14988
 
 
14989
 
 
14990
 
 
14991
 
 
14992
 
 
14993
 
 
14994
 
 
14995
 
        ac_config_commands="$ac_config_commands libtool"
14996
 
 
14997
 
 
14998
 
 
14999
 
 
15000
 
# Only expand once:
15001
 
 
15002
 
 
15003
 
 
15004
14289
# checks for libraries.
15005
14290
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for main in -lboost_filesystem-mt" >&5
15006
14291
$as_echo_n "checking for main in -lboost_filesystem-mt... " >&6; }
15007
 
if ${ac_cv_lib_boost_filesystem_mt_main+:} false; then :
 
14292
if test "${ac_cv_lib_boost_filesystem_mt_main+set}" = set; then :
15008
14293
  $as_echo_n "(cached) " >&6
15009
14294
else
15010
14295
  ac_check_lib_save_LIBS=$LIBS
15032
14317
fi
15033
14318
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_boost_filesystem_mt_main" >&5
15034
14319
$as_echo "$ac_cv_lib_boost_filesystem_mt_main" >&6; }
15035
 
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 :
15036
14321
  cat >>confdefs.h <<_ACEOF
15037
14322
#define HAVE_LIBBOOST_FILESYSTEM_MT 1
15038
14323
_ACEOF
15046
14331
 
15047
14332
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for main in -lboost_thread-mt" >&5
15048
14333
$as_echo_n "checking for main in -lboost_thread-mt... " >&6; }
15049
 
if ${ac_cv_lib_boost_thread_mt_main+:} false; then :
 
14334
if test "${ac_cv_lib_boost_thread_mt_main+set}" = set; then :
15050
14335
  $as_echo_n "(cached) " >&6
15051
14336
else
15052
14337
  ac_check_lib_save_LIBS=$LIBS
15074
14359
fi
15075
14360
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_boost_thread_mt_main" >&5
15076
14361
$as_echo "$ac_cv_lib_boost_thread_mt_main" >&6; }
15077
 
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 :
15078
14363
  cat >>confdefs.h <<_ACEOF
15079
14364
#define HAVE_LIBBOOST_THREAD_MT 1
15080
14365
_ACEOF
15082
14367
  LIBS="-lboost_thread-mt $LIBS"
15083
14368
 
15084
14369
else
15085
 
  as_fn_error $? "Unable to find Boost Thread library" "$LINENO" 5
 
14370
  as_fn_error "Unable to find Boost Thread library" "$LINENO" 5
15086
14371
fi
15087
14372
 
15088
14373
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqlite3_initialize in -lsqlite3" >&5
15089
14374
$as_echo_n "checking for sqlite3_initialize in -lsqlite3... " >&6; }
15090
 
if ${ac_cv_lib_sqlite3_sqlite3_initialize+:} false; then :
 
14375
if test "${ac_cv_lib_sqlite3_sqlite3_initialize+set}" = set; then :
15091
14376
  $as_echo_n "(cached) " >&6
15092
14377
else
15093
14378
  ac_check_lib_save_LIBS=$LIBS
15121
14406
fi
15122
14407
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_sqlite3_sqlite3_initialize" >&5
15123
14408
$as_echo "$ac_cv_lib_sqlite3_sqlite3_initialize" >&6; }
15124
 
if test "x$ac_cv_lib_sqlite3_sqlite3_initialize" = xyes; then :
 
14409
if test "x$ac_cv_lib_sqlite3_sqlite3_initialize" = x""yes; then :
15125
14410
  cat >>confdefs.h <<_ACEOF
15126
14411
#define HAVE_LIBSQLITE3 1
15127
14412
_ACEOF
15129
14414
  LIBS="-lsqlite3 $LIBS"
15130
14415
 
15131
14416
else
15132
 
  as_fn_error $? "Unable to find SQLite3 library" "$LINENO" 5
 
14417
  as_fn_error "Unable to find SQLite3 library" "$LINENO" 5
15133
14418
fi
15134
14419
 
15135
14420
 
15136
14421
# checks for header files.
15137
14422
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
15138
14423
$as_echo_n "checking for ANSI C header files... " >&6; }
15139
 
if ${ac_cv_header_stdc+:} false; then :
 
14424
if test "${ac_cv_header_stdc+set}" = set; then :
15140
14425
  $as_echo_n "(cached) " >&6
15141
14426
else
15142
14427
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15249
14534
for ac_header in string.h
15250
14535
do :
15251
14536
  ac_fn_c_check_header_mongrel "$LINENO" "string.h" "ac_cv_header_string_h" "$ac_includes_default"
15252
 
if test "x$ac_cv_header_string_h" = xyes; then :
 
14537
if test "x$ac_cv_header_string_h" = x""yes; then :
15253
14538
  cat >>confdefs.h <<_ACEOF
15254
14539
#define HAVE_STRING_H 1
15255
14540
_ACEOF
15329
14614
     :end' >>confcache
15330
14615
if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
15331
14616
  if test -w "$cache_file"; then
15332
 
    if test "x$cache_file" != "x/dev/null"; then
 
14617
    test "x$cache_file" != "x/dev/null" &&
15333
14618
      { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
15334
14619
$as_echo "$as_me: updating cache $cache_file" >&6;}
15335
 
      if test ! -f "$cache_file" || test -h "$cache_file"; then
15336
 
        cat confcache >"$cache_file"
15337
 
      else
15338
 
        case $cache_file in #(
15339
 
        */* | ?:*)
15340
 
          mv -f confcache "$cache_file"$$ &&
15341
 
          mv -f "$cache_file"$$ "$cache_file" ;; #(
15342
 
        *)
15343
 
          mv -f confcache "$cache_file" ;;
15344
 
        esac
15345
 
      fi
15346
 
    fi
 
14620
    cat confcache >$cache_file
15347
14621
  else
15348
14622
    { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
15349
14623
$as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
15359
14633
 
15360
14634
ac_libobjs=
15361
14635
ac_ltlibobjs=
15362
 
U=
15363
14636
for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
15364
14637
  # 1. Remove the extension, and $U if already installed.
15365
14638
  ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
15383
14656
fi
15384
14657
 
15385
14658
if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
15386
 
  as_fn_error $? "conditional \"AMDEP\" was never defined.
15387
 
Usually this means the macro was only invoked conditionally." "$LINENO" 5
15388
 
fi
15389
 
if test -z "${am__fastdepCXX_TRUE}" && test -z "${am__fastdepCXX_FALSE}"; then
15390
 
  as_fn_error $? "conditional \"am__fastdepCXX\" was never defined.
 
14659
  as_fn_error "conditional \"AMDEP\" was never defined.
15391
14660
Usually this means the macro was only invoked conditionally." "$LINENO" 5
15392
14661
fi
15393
14662
if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
15394
 
  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.
15395
14672
Usually this means the macro was only invoked conditionally." "$LINENO" 5
15396
14673
fi
15397
14674
 
15398
 
: "${CONFIG_STATUS=./config.status}"
 
14675
: ${CONFIG_STATUS=./config.status}
15399
14676
ac_write_fail=0
15400
14677
ac_clean_files_save=$ac_clean_files
15401
14678
ac_clean_files="$ac_clean_files $CONFIG_STATUS"
15496
14773
IFS=" ""        $as_nl"
15497
14774
 
15498
14775
# Find who we are.  Look in the path if we contain no directory separator.
15499
 
as_myself=
15500
14776
case $0 in #((
15501
14777
  *[\\/]* ) as_myself=$0 ;;
15502
14778
  *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
15542
14818
(unset CDPATH) >/dev/null 2>&1 && unset CDPATH
15543
14819
 
15544
14820
 
15545
 
# as_fn_error STATUS ERROR [LINENO LOG_FD]
15546
 
# ----------------------------------------
 
14821
# as_fn_error ERROR [LINENO LOG_FD]
 
14822
# ---------------------------------
15547
14823
# Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
15548
14824
# provided, also output the error to LOG_FD, referencing LINENO. Then exit the
15549
 
# script with STATUS, using 1 if that was 0.
 
14825
# script with status $?, using 1 if that was 0.
15550
14826
as_fn_error ()
15551
14827
{
15552
 
  as_status=$1; test $as_status -eq 0 && as_status=1
15553
 
  if test "$4"; then
15554
 
    as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
15555
 
    $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
 
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
15556
14832
  fi
15557
 
  $as_echo "$as_me: error: $2" >&2
 
14833
  $as_echo "$as_me: error: $1" >&2
15558
14834
  as_fn_exit $as_status
15559
14835
} # as_fn_error
15560
14836
 
15750
15026
      test -d "$as_dir" && break
15751
15027
    done
15752
15028
    test -z "$as_dirs" || eval "mkdir $as_dirs"
15753
 
  } || 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"
15754
15030
 
15755
15031
 
15756
15032
} # as_fn_mkdir_p
15804
15080
# values after options handling.
15805
15081
ac_log="
15806
15082
This file was extended by sqlite3cc $as_me 0.1.0, which was
15807
 
generated by GNU Autoconf 2.68.  Invocation command line was
 
15083
generated by GNU Autoconf 2.64.  Invocation command line was
15808
15084
 
15809
15085
  CONFIG_FILES    = $CONFIG_FILES
15810
15086
  CONFIG_HEADERS  = $CONFIG_HEADERS
15844
15120
 
15845
15121
  -h, --help       print this help, then exit
15846
15122
  -V, --version    print version number and configuration settings, then exit
15847
 
      --config     print configuration, then exit
15848
15123
  -q, --quiet, --silent
15849
15124
                   do not print progress messages
15850
15125
  -d, --debug      don't remove temporary files
15863
15138
Configuration commands:
15864
15139
$config_commands
15865
15140
 
15866
 
Report bugs to <tim@ed.am>.
15867
 
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>."
15868
15143
 
15869
15144
_ACEOF
15870
15145
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
15871
 
ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
15872
15146
ac_cs_version="\\
15873
15147
sqlite3cc config.status 0.1.0
15874
 
configured by $0, generated by GNU Autoconf 2.68,
15875
 
  with options \\"\$ac_cs_config\\"
 
15148
configured by $0, generated by GNU Autoconf 2.64,
 
15149
  with options \\"`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`\\"
15876
15150
 
15877
 
Copyright (C) 2010 Free Software Foundation, Inc.
 
15151
Copyright (C) 2009 Free Software Foundation, Inc.
15878
15152
This config.status script is free software; the Free Software Foundation
15879
15153
gives unlimited permission to copy, distribute and modify it."
15880
15154
 
15892
15166
while test $# != 0
15893
15167
do
15894
15168
  case $1 in
15895
 
  --*=?*)
 
15169
  --*=*)
15896
15170
    ac_option=`expr "X$1" : 'X\([^=]*\)='`
15897
15171
    ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
15898
15172
    ac_shift=:
15899
15173
    ;;
15900
 
  --*=)
15901
 
    ac_option=`expr "X$1" : 'X\([^=]*\)='`
15902
 
    ac_optarg=
15903
 
    ac_shift=:
15904
 
    ;;
15905
15174
  *)
15906
15175
    ac_option=$1
15907
15176
    ac_optarg=$2
15915
15184
    ac_cs_recheck=: ;;
15916
15185
  --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
15917
15186
    $as_echo "$ac_cs_version"; exit ;;
15918
 
  --config | --confi | --conf | --con | --co | --c )
15919
 
    $as_echo "$ac_cs_config"; exit ;;
15920
15187
  --debug | --debu | --deb | --de | --d | -d )
15921
15188
    debug=: ;;
15922
15189
  --file | --fil | --fi | --f )
15923
15190
    $ac_shift
15924
15191
    case $ac_optarg in
15925
15192
    *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
15926
 
    '') as_fn_error $? "missing file argument" ;;
15927
15193
    esac
15928
15194
    as_fn_append CONFIG_FILES " '$ac_optarg'"
15929
15195
    ac_need_defaults=false;;
15936
15202
    ac_need_defaults=false;;
15937
15203
  --he | --h)
15938
15204
    # Conflict between --help and --header
15939
 
    as_fn_error $? "ambiguous option: \`$1'
 
15205
    as_fn_error "ambiguous option: \`$1'
15940
15206
Try \`$0 --help' for more information.";;
15941
15207
  --help | --hel | -h )
15942
15208
    $as_echo "$ac_cs_usage"; exit ;;
15945
15211
    ac_cs_silent=: ;;
15946
15212
 
15947
15213
  # This is an error.
15948
 
  -*) as_fn_error $? "unrecognized option: \`$1'
 
15214
  -*) as_fn_error "unrecognized option: \`$1'
15949
15215
Try \`$0 --help' for more information." ;;
15950
15216
 
15951
15217
  *) as_fn_append ac_config_targets " $1"
15999
15265
sed_quote_subst='$sed_quote_subst'
16000
15266
double_quote_subst='$double_quote_subst'
16001
15267
delay_variable_subst='$delay_variable_subst'
16002
 
macro_version='`$ECHO "$macro_version" | $SED "$delay_single_quote_subst"`'
16003
 
macro_revision='`$ECHO "$macro_revision" | $SED "$delay_single_quote_subst"`'
16004
 
enable_shared='`$ECHO "$enable_shared" | $SED "$delay_single_quote_subst"`'
16005
 
enable_static='`$ECHO "$enable_static" | $SED "$delay_single_quote_subst"`'
16006
 
pic_mode='`$ECHO "$pic_mode" | $SED "$delay_single_quote_subst"`'
16007
 
enable_fast_install='`$ECHO "$enable_fast_install" | $SED "$delay_single_quote_subst"`'
16008
 
SHELL='`$ECHO "$SHELL" | $SED "$delay_single_quote_subst"`'
16009
 
ECHO='`$ECHO "$ECHO" | $SED "$delay_single_quote_subst"`'
16010
 
PATH_SEPARATOR='`$ECHO "$PATH_SEPARATOR" | $SED "$delay_single_quote_subst"`'
16011
 
host_alias='`$ECHO "$host_alias" | $SED "$delay_single_quote_subst"`'
16012
 
host='`$ECHO "$host" | $SED "$delay_single_quote_subst"`'
16013
 
host_os='`$ECHO "$host_os" | $SED "$delay_single_quote_subst"`'
16014
 
build_alias='`$ECHO "$build_alias" | $SED "$delay_single_quote_subst"`'
16015
 
build='`$ECHO "$build" | $SED "$delay_single_quote_subst"`'
16016
 
build_os='`$ECHO "$build_os" | $SED "$delay_single_quote_subst"`'
16017
 
SED='`$ECHO "$SED" | $SED "$delay_single_quote_subst"`'
16018
 
Xsed='`$ECHO "$Xsed" | $SED "$delay_single_quote_subst"`'
16019
 
GREP='`$ECHO "$GREP" | $SED "$delay_single_quote_subst"`'
16020
 
EGREP='`$ECHO "$EGREP" | $SED "$delay_single_quote_subst"`'
16021
 
FGREP='`$ECHO "$FGREP" | $SED "$delay_single_quote_subst"`'
16022
 
LD='`$ECHO "$LD" | $SED "$delay_single_quote_subst"`'
16023
 
NM='`$ECHO "$NM" | $SED "$delay_single_quote_subst"`'
16024
 
LN_S='`$ECHO "$LN_S" | $SED "$delay_single_quote_subst"`'
16025
 
max_cmd_len='`$ECHO "$max_cmd_len" | $SED "$delay_single_quote_subst"`'
16026
 
ac_objext='`$ECHO "$ac_objext" | $SED "$delay_single_quote_subst"`'
16027
 
exeext='`$ECHO "$exeext" | $SED "$delay_single_quote_subst"`'
16028
 
lt_unset='`$ECHO "$lt_unset" | $SED "$delay_single_quote_subst"`'
16029
 
lt_SP2NL='`$ECHO "$lt_SP2NL" | $SED "$delay_single_quote_subst"`'
16030
 
lt_NL2SP='`$ECHO "$lt_NL2SP" | $SED "$delay_single_quote_subst"`'
16031
 
lt_cv_to_host_file_cmd='`$ECHO "$lt_cv_to_host_file_cmd" | $SED "$delay_single_quote_subst"`'
16032
 
lt_cv_to_tool_file_cmd='`$ECHO "$lt_cv_to_tool_file_cmd" | $SED "$delay_single_quote_subst"`'
16033
 
reload_flag='`$ECHO "$reload_flag" | $SED "$delay_single_quote_subst"`'
16034
 
reload_cmds='`$ECHO "$reload_cmds" | $SED "$delay_single_quote_subst"`'
16035
 
OBJDUMP='`$ECHO "$OBJDUMP" | $SED "$delay_single_quote_subst"`'
16036
 
deplibs_check_method='`$ECHO "$deplibs_check_method" | $SED "$delay_single_quote_subst"`'
16037
 
file_magic_cmd='`$ECHO "$file_magic_cmd" | $SED "$delay_single_quote_subst"`'
16038
 
file_magic_glob='`$ECHO "$file_magic_glob" | $SED "$delay_single_quote_subst"`'
16039
 
want_nocaseglob='`$ECHO "$want_nocaseglob" | $SED "$delay_single_quote_subst"`'
16040
 
DLLTOOL='`$ECHO "$DLLTOOL" | $SED "$delay_single_quote_subst"`'
16041
 
sharedlib_from_linklib_cmd='`$ECHO "$sharedlib_from_linklib_cmd" | $SED "$delay_single_quote_subst"`'
16042
 
AR='`$ECHO "$AR" | $SED "$delay_single_quote_subst"`'
16043
 
AR_FLAGS='`$ECHO "$AR_FLAGS" | $SED "$delay_single_quote_subst"`'
16044
 
archiver_list_spec='`$ECHO "$archiver_list_spec" | $SED "$delay_single_quote_subst"`'
16045
 
STRIP='`$ECHO "$STRIP" | $SED "$delay_single_quote_subst"`'
16046
 
RANLIB='`$ECHO "$RANLIB" | $SED "$delay_single_quote_subst"`'
16047
 
old_postinstall_cmds='`$ECHO "$old_postinstall_cmds" | $SED "$delay_single_quote_subst"`'
16048
 
old_postuninstall_cmds='`$ECHO "$old_postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
16049
 
old_archive_cmds='`$ECHO "$old_archive_cmds" | $SED "$delay_single_quote_subst"`'
16050
 
lock_old_archive_extraction='`$ECHO "$lock_old_archive_extraction" | $SED "$delay_single_quote_subst"`'
16051
 
CC='`$ECHO "$CC" | $SED "$delay_single_quote_subst"`'
16052
 
CFLAGS='`$ECHO "$CFLAGS" | $SED "$delay_single_quote_subst"`'
16053
 
compiler='`$ECHO "$compiler" | $SED "$delay_single_quote_subst"`'
16054
 
GCC='`$ECHO "$GCC" | $SED "$delay_single_quote_subst"`'
16055
 
lt_cv_sys_global_symbol_pipe='`$ECHO "$lt_cv_sys_global_symbol_pipe" | $SED "$delay_single_quote_subst"`'
16056
 
lt_cv_sys_global_symbol_to_cdecl='`$ECHO "$lt_cv_sys_global_symbol_to_cdecl" | $SED "$delay_single_quote_subst"`'
16057
 
lt_cv_sys_global_symbol_to_c_name_address='`$ECHO "$lt_cv_sys_global_symbol_to_c_name_address" | $SED "$delay_single_quote_subst"`'
16058
 
lt_cv_sys_global_symbol_to_c_name_address_lib_prefix='`$ECHO "$lt_cv_sys_global_symbol_to_c_name_address_lib_prefix" | $SED "$delay_single_quote_subst"`'
16059
 
nm_file_list_spec='`$ECHO "$nm_file_list_spec" | $SED "$delay_single_quote_subst"`'
16060
 
lt_sysroot='`$ECHO "$lt_sysroot" | $SED "$delay_single_quote_subst"`'
16061
 
objdir='`$ECHO "$objdir" | $SED "$delay_single_quote_subst"`'
16062
 
MAGIC_CMD='`$ECHO "$MAGIC_CMD" | $SED "$delay_single_quote_subst"`'
16063
 
lt_prog_compiler_no_builtin_flag='`$ECHO "$lt_prog_compiler_no_builtin_flag" | $SED "$delay_single_quote_subst"`'
16064
 
lt_prog_compiler_pic='`$ECHO "$lt_prog_compiler_pic" | $SED "$delay_single_quote_subst"`'
16065
 
lt_prog_compiler_wl='`$ECHO "$lt_prog_compiler_wl" | $SED "$delay_single_quote_subst"`'
16066
 
lt_prog_compiler_static='`$ECHO "$lt_prog_compiler_static" | $SED "$delay_single_quote_subst"`'
16067
 
lt_cv_prog_compiler_c_o='`$ECHO "$lt_cv_prog_compiler_c_o" | $SED "$delay_single_quote_subst"`'
16068
 
need_locks='`$ECHO "$need_locks" | $SED "$delay_single_quote_subst"`'
16069
 
MANIFEST_TOOL='`$ECHO "$MANIFEST_TOOL" | $SED "$delay_single_quote_subst"`'
16070
 
DSYMUTIL='`$ECHO "$DSYMUTIL" | $SED "$delay_single_quote_subst"`'
16071
 
NMEDIT='`$ECHO "$NMEDIT" | $SED "$delay_single_quote_subst"`'
16072
 
LIPO='`$ECHO "$LIPO" | $SED "$delay_single_quote_subst"`'
16073
 
OTOOL='`$ECHO "$OTOOL" | $SED "$delay_single_quote_subst"`'
16074
 
OTOOL64='`$ECHO "$OTOOL64" | $SED "$delay_single_quote_subst"`'
16075
 
libext='`$ECHO "$libext" | $SED "$delay_single_quote_subst"`'
16076
 
shrext_cmds='`$ECHO "$shrext_cmds" | $SED "$delay_single_quote_subst"`'
16077
 
extract_expsyms_cmds='`$ECHO "$extract_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
16078
 
archive_cmds_need_lc='`$ECHO "$archive_cmds_need_lc" | $SED "$delay_single_quote_subst"`'
16079
 
enable_shared_with_static_runtimes='`$ECHO "$enable_shared_with_static_runtimes" | $SED "$delay_single_quote_subst"`'
16080
 
export_dynamic_flag_spec='`$ECHO "$export_dynamic_flag_spec" | $SED "$delay_single_quote_subst"`'
16081
 
whole_archive_flag_spec='`$ECHO "$whole_archive_flag_spec" | $SED "$delay_single_quote_subst"`'
16082
 
compiler_needs_object='`$ECHO "$compiler_needs_object" | $SED "$delay_single_quote_subst"`'
16083
 
old_archive_from_new_cmds='`$ECHO "$old_archive_from_new_cmds" | $SED "$delay_single_quote_subst"`'
16084
 
old_archive_from_expsyms_cmds='`$ECHO "$old_archive_from_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
16085
 
archive_cmds='`$ECHO "$archive_cmds" | $SED "$delay_single_quote_subst"`'
16086
 
archive_expsym_cmds='`$ECHO "$archive_expsym_cmds" | $SED "$delay_single_quote_subst"`'
16087
 
module_cmds='`$ECHO "$module_cmds" | $SED "$delay_single_quote_subst"`'
16088
 
module_expsym_cmds='`$ECHO "$module_expsym_cmds" | $SED "$delay_single_quote_subst"`'
16089
 
with_gnu_ld='`$ECHO "$with_gnu_ld" | $SED "$delay_single_quote_subst"`'
16090
 
allow_undefined_flag='`$ECHO "$allow_undefined_flag" | $SED "$delay_single_quote_subst"`'
16091
 
no_undefined_flag='`$ECHO "$no_undefined_flag" | $SED "$delay_single_quote_subst"`'
16092
 
hardcode_libdir_flag_spec='`$ECHO "$hardcode_libdir_flag_spec" | $SED "$delay_single_quote_subst"`'
16093
 
hardcode_libdir_separator='`$ECHO "$hardcode_libdir_separator" | $SED "$delay_single_quote_subst"`'
16094
 
hardcode_direct='`$ECHO "$hardcode_direct" | $SED "$delay_single_quote_subst"`'
16095
 
hardcode_direct_absolute='`$ECHO "$hardcode_direct_absolute" | $SED "$delay_single_quote_subst"`'
16096
 
hardcode_minus_L='`$ECHO "$hardcode_minus_L" | $SED "$delay_single_quote_subst"`'
16097
 
hardcode_shlibpath_var='`$ECHO "$hardcode_shlibpath_var" | $SED "$delay_single_quote_subst"`'
16098
 
hardcode_automatic='`$ECHO "$hardcode_automatic" | $SED "$delay_single_quote_subst"`'
16099
 
inherit_rpath='`$ECHO "$inherit_rpath" | $SED "$delay_single_quote_subst"`'
16100
 
link_all_deplibs='`$ECHO "$link_all_deplibs" | $SED "$delay_single_quote_subst"`'
16101
 
always_export_symbols='`$ECHO "$always_export_symbols" | $SED "$delay_single_quote_subst"`'
16102
 
export_symbols_cmds='`$ECHO "$export_symbols_cmds" | $SED "$delay_single_quote_subst"`'
16103
 
exclude_expsyms='`$ECHO "$exclude_expsyms" | $SED "$delay_single_quote_subst"`'
16104
 
include_expsyms='`$ECHO "$include_expsyms" | $SED "$delay_single_quote_subst"`'
16105
 
prelink_cmds='`$ECHO "$prelink_cmds" | $SED "$delay_single_quote_subst"`'
16106
 
postlink_cmds='`$ECHO "$postlink_cmds" | $SED "$delay_single_quote_subst"`'
16107
 
file_list_spec='`$ECHO "$file_list_spec" | $SED "$delay_single_quote_subst"`'
16108
 
variables_saved_for_relink='`$ECHO "$variables_saved_for_relink" | $SED "$delay_single_quote_subst"`'
16109
 
need_lib_prefix='`$ECHO "$need_lib_prefix" | $SED "$delay_single_quote_subst"`'
16110
 
need_version='`$ECHO "$need_version" | $SED "$delay_single_quote_subst"`'
16111
 
version_type='`$ECHO "$version_type" | $SED "$delay_single_quote_subst"`'
16112
 
runpath_var='`$ECHO "$runpath_var" | $SED "$delay_single_quote_subst"`'
16113
 
shlibpath_var='`$ECHO "$shlibpath_var" | $SED "$delay_single_quote_subst"`'
16114
 
shlibpath_overrides_runpath='`$ECHO "$shlibpath_overrides_runpath" | $SED "$delay_single_quote_subst"`'
16115
 
libname_spec='`$ECHO "$libname_spec" | $SED "$delay_single_quote_subst"`'
16116
 
library_names_spec='`$ECHO "$library_names_spec" | $SED "$delay_single_quote_subst"`'
16117
 
soname_spec='`$ECHO "$soname_spec" | $SED "$delay_single_quote_subst"`'
16118
 
install_override_mode='`$ECHO "$install_override_mode" | $SED "$delay_single_quote_subst"`'
16119
 
postinstall_cmds='`$ECHO "$postinstall_cmds" | $SED "$delay_single_quote_subst"`'
16120
 
postuninstall_cmds='`$ECHO "$postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
16121
 
finish_cmds='`$ECHO "$finish_cmds" | $SED "$delay_single_quote_subst"`'
16122
 
finish_eval='`$ECHO "$finish_eval" | $SED "$delay_single_quote_subst"`'
16123
 
hardcode_into_libs='`$ECHO "$hardcode_into_libs" | $SED "$delay_single_quote_subst"`'
16124
 
sys_lib_search_path_spec='`$ECHO "$sys_lib_search_path_spec" | $SED "$delay_single_quote_subst"`'
16125
 
sys_lib_dlsearch_path_spec='`$ECHO "$sys_lib_dlsearch_path_spec" | $SED "$delay_single_quote_subst"`'
16126
 
hardcode_action='`$ECHO "$hardcode_action" | $SED "$delay_single_quote_subst"`'
16127
 
enable_dlopen='`$ECHO "$enable_dlopen" | $SED "$delay_single_quote_subst"`'
16128
 
enable_dlopen_self='`$ECHO "$enable_dlopen_self" | $SED "$delay_single_quote_subst"`'
16129
 
enable_dlopen_self_static='`$ECHO "$enable_dlopen_self_static" | $SED "$delay_single_quote_subst"`'
16130
 
old_striplib='`$ECHO "$old_striplib" | $SED "$delay_single_quote_subst"`'
16131
 
striplib='`$ECHO "$striplib" | $SED "$delay_single_quote_subst"`'
16132
 
compiler_lib_search_dirs='`$ECHO "$compiler_lib_search_dirs" | $SED "$delay_single_quote_subst"`'
16133
 
predep_objects='`$ECHO "$predep_objects" | $SED "$delay_single_quote_subst"`'
16134
 
postdep_objects='`$ECHO "$postdep_objects" | $SED "$delay_single_quote_subst"`'
16135
 
predeps='`$ECHO "$predeps" | $SED "$delay_single_quote_subst"`'
16136
 
postdeps='`$ECHO "$postdeps" | $SED "$delay_single_quote_subst"`'
16137
 
compiler_lib_search_path='`$ECHO "$compiler_lib_search_path" | $SED "$delay_single_quote_subst"`'
16138
 
LD_CXX='`$ECHO "$LD_CXX" | $SED "$delay_single_quote_subst"`'
16139
 
reload_flag_CXX='`$ECHO "$reload_flag_CXX" | $SED "$delay_single_quote_subst"`'
16140
 
reload_cmds_CXX='`$ECHO "$reload_cmds_CXX" | $SED "$delay_single_quote_subst"`'
16141
 
old_archive_cmds_CXX='`$ECHO "$old_archive_cmds_CXX" | $SED "$delay_single_quote_subst"`'
16142
 
compiler_CXX='`$ECHO "$compiler_CXX" | $SED "$delay_single_quote_subst"`'
16143
 
GCC_CXX='`$ECHO "$GCC_CXX" | $SED "$delay_single_quote_subst"`'
16144
 
lt_prog_compiler_no_builtin_flag_CXX='`$ECHO "$lt_prog_compiler_no_builtin_flag_CXX" | $SED "$delay_single_quote_subst"`'
16145
 
lt_prog_compiler_pic_CXX='`$ECHO "$lt_prog_compiler_pic_CXX" | $SED "$delay_single_quote_subst"`'
16146
 
lt_prog_compiler_wl_CXX='`$ECHO "$lt_prog_compiler_wl_CXX" | $SED "$delay_single_quote_subst"`'
16147
 
lt_prog_compiler_static_CXX='`$ECHO "$lt_prog_compiler_static_CXX" | $SED "$delay_single_quote_subst"`'
16148
 
lt_cv_prog_compiler_c_o_CXX='`$ECHO "$lt_cv_prog_compiler_c_o_CXX" | $SED "$delay_single_quote_subst"`'
16149
 
archive_cmds_need_lc_CXX='`$ECHO "$archive_cmds_need_lc_CXX" | $SED "$delay_single_quote_subst"`'
16150
 
enable_shared_with_static_runtimes_CXX='`$ECHO "$enable_shared_with_static_runtimes_CXX" | $SED "$delay_single_quote_subst"`'
16151
 
export_dynamic_flag_spec_CXX='`$ECHO "$export_dynamic_flag_spec_CXX" | $SED "$delay_single_quote_subst"`'
16152
 
whole_archive_flag_spec_CXX='`$ECHO "$whole_archive_flag_spec_CXX" | $SED "$delay_single_quote_subst"`'
16153
 
compiler_needs_object_CXX='`$ECHO "$compiler_needs_object_CXX" | $SED "$delay_single_quote_subst"`'
16154
 
old_archive_from_new_cmds_CXX='`$ECHO "$old_archive_from_new_cmds_CXX" | $SED "$delay_single_quote_subst"`'
16155
 
old_archive_from_expsyms_cmds_CXX='`$ECHO "$old_archive_from_expsyms_cmds_CXX" | $SED "$delay_single_quote_subst"`'
16156
 
archive_cmds_CXX='`$ECHO "$archive_cmds_CXX" | $SED "$delay_single_quote_subst"`'
16157
 
archive_expsym_cmds_CXX='`$ECHO "$archive_expsym_cmds_CXX" | $SED "$delay_single_quote_subst"`'
16158
 
module_cmds_CXX='`$ECHO "$module_cmds_CXX" | $SED "$delay_single_quote_subst"`'
16159
 
module_expsym_cmds_CXX='`$ECHO "$module_expsym_cmds_CXX" | $SED "$delay_single_quote_subst"`'
16160
 
with_gnu_ld_CXX='`$ECHO "$with_gnu_ld_CXX" | $SED "$delay_single_quote_subst"`'
16161
 
allow_undefined_flag_CXX='`$ECHO "$allow_undefined_flag_CXX" | $SED "$delay_single_quote_subst"`'
16162
 
no_undefined_flag_CXX='`$ECHO "$no_undefined_flag_CXX" | $SED "$delay_single_quote_subst"`'
16163
 
hardcode_libdir_flag_spec_CXX='`$ECHO "$hardcode_libdir_flag_spec_CXX" | $SED "$delay_single_quote_subst"`'
16164
 
hardcode_libdir_separator_CXX='`$ECHO "$hardcode_libdir_separator_CXX" | $SED "$delay_single_quote_subst"`'
16165
 
hardcode_direct_CXX='`$ECHO "$hardcode_direct_CXX" | $SED "$delay_single_quote_subst"`'
16166
 
hardcode_direct_absolute_CXX='`$ECHO "$hardcode_direct_absolute_CXX" | $SED "$delay_single_quote_subst"`'
16167
 
hardcode_minus_L_CXX='`$ECHO "$hardcode_minus_L_CXX" | $SED "$delay_single_quote_subst"`'
16168
 
hardcode_shlibpath_var_CXX='`$ECHO "$hardcode_shlibpath_var_CXX" | $SED "$delay_single_quote_subst"`'
16169
 
hardcode_automatic_CXX='`$ECHO "$hardcode_automatic_CXX" | $SED "$delay_single_quote_subst"`'
16170
 
inherit_rpath_CXX='`$ECHO "$inherit_rpath_CXX" | $SED "$delay_single_quote_subst"`'
16171
 
link_all_deplibs_CXX='`$ECHO "$link_all_deplibs_CXX" | $SED "$delay_single_quote_subst"`'
16172
 
always_export_symbols_CXX='`$ECHO "$always_export_symbols_CXX" | $SED "$delay_single_quote_subst"`'
16173
 
export_symbols_cmds_CXX='`$ECHO "$export_symbols_cmds_CXX" | $SED "$delay_single_quote_subst"`'
16174
 
exclude_expsyms_CXX='`$ECHO "$exclude_expsyms_CXX" | $SED "$delay_single_quote_subst"`'
16175
 
include_expsyms_CXX='`$ECHO "$include_expsyms_CXX" | $SED "$delay_single_quote_subst"`'
16176
 
prelink_cmds_CXX='`$ECHO "$prelink_cmds_CXX" | $SED "$delay_single_quote_subst"`'
16177
 
postlink_cmds_CXX='`$ECHO "$postlink_cmds_CXX" | $SED "$delay_single_quote_subst"`'
16178
 
file_list_spec_CXX='`$ECHO "$file_list_spec_CXX" | $SED "$delay_single_quote_subst"`'
16179
 
hardcode_action_CXX='`$ECHO "$hardcode_action_CXX" | $SED "$delay_single_quote_subst"`'
16180
 
compiler_lib_search_dirs_CXX='`$ECHO "$compiler_lib_search_dirs_CXX" | $SED "$delay_single_quote_subst"`'
16181
 
predep_objects_CXX='`$ECHO "$predep_objects_CXX" | $SED "$delay_single_quote_subst"`'
16182
 
postdep_objects_CXX='`$ECHO "$postdep_objects_CXX" | $SED "$delay_single_quote_subst"`'
16183
 
predeps_CXX='`$ECHO "$predeps_CXX" | $SED "$delay_single_quote_subst"`'
16184
 
postdeps_CXX='`$ECHO "$postdeps_CXX" | $SED "$delay_single_quote_subst"`'
16185
 
compiler_lib_search_path_CXX='`$ECHO "$compiler_lib_search_path_CXX" | $SED "$delay_single_quote_subst"`'
 
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"`'
16186
15439
 
16187
15440
LTCC='$LTCC'
16188
15441
LTCFLAGS='$LTCFLAGS'
16189
15442
compiler='$compiler_DEFAULT'
16190
15443
 
16191
 
# A function that is used when there is no print builtin or printf.
16192
 
func_fallback_echo ()
16193
 
{
16194
 
  eval 'cat <<_LTECHO_EOF
16195
 
\$1
16196
 
_LTECHO_EOF'
16197
 
}
16198
 
 
16199
15444
# Quote evaled strings.
16200
 
for var in SHELL \
16201
 
ECHO \
16202
 
PATH_SEPARATOR \
16203
 
SED \
 
15445
for var in SED \
16204
15446
GREP \
16205
15447
EGREP \
16206
15448
FGREP \
16213
15455
OBJDUMP \
16214
15456
deplibs_check_method \
16215
15457
file_magic_cmd \
16216
 
file_magic_glob \
16217
 
want_nocaseglob \
16218
 
DLLTOOL \
16219
 
sharedlib_from_linklib_cmd \
16220
15458
AR \
16221
15459
AR_FLAGS \
16222
 
archiver_list_spec \
16223
15460
STRIP \
16224
15461
RANLIB \
16225
15462
CC \
16229
15466
lt_cv_sys_global_symbol_to_cdecl \
16230
15467
lt_cv_sys_global_symbol_to_c_name_address \
16231
15468
lt_cv_sys_global_symbol_to_c_name_address_lib_prefix \
16232
 
nm_file_list_spec \
 
15469
SHELL \
 
15470
ECHO \
16233
15471
lt_prog_compiler_no_builtin_flag \
 
15472
lt_prog_compiler_wl \
16234
15473
lt_prog_compiler_pic \
16235
 
lt_prog_compiler_wl \
16236
15474
lt_prog_compiler_static \
16237
15475
lt_cv_prog_compiler_c_o \
16238
15476
need_locks \
16239
 
MANIFEST_TOOL \
16240
15477
DSYMUTIL \
16241
15478
NMEDIT \
16242
15479
LIPO \
16250
15487
allow_undefined_flag \
16251
15488
no_undefined_flag \
16252
15489
hardcode_libdir_flag_spec \
 
15490
hardcode_libdir_flag_spec_ld \
16253
15491
hardcode_libdir_separator \
 
15492
fix_srcfile_path \
16254
15493
exclude_expsyms \
16255
15494
include_expsyms \
16256
15495
file_list_spec \
16258
15497
libname_spec \
16259
15498
library_names_spec \
16260
15499
soname_spec \
16261
 
install_override_mode \
16262
15500
finish_eval \
16263
15501
old_striplib \
16264
15502
striplib \
16269
15507
postdeps \
16270
15508
compiler_lib_search_path \
16271
15509
LD_CXX \
16272
 
reload_flag_CXX \
16273
15510
compiler_CXX \
16274
15511
lt_prog_compiler_no_builtin_flag_CXX \
 
15512
lt_prog_compiler_wl_CXX \
16275
15513
lt_prog_compiler_pic_CXX \
16276
 
lt_prog_compiler_wl_CXX \
16277
15514
lt_prog_compiler_static_CXX \
16278
15515
lt_cv_prog_compiler_c_o_CXX \
16279
15516
export_dynamic_flag_spec_CXX \
16283
15520
allow_undefined_flag_CXX \
16284
15521
no_undefined_flag_CXX \
16285
15522
hardcode_libdir_flag_spec_CXX \
 
15523
hardcode_libdir_flag_spec_ld_CXX \
16286
15524
hardcode_libdir_separator_CXX \
 
15525
fix_srcfile_path_CXX \
16287
15526
exclude_expsyms_CXX \
16288
15527
include_expsyms_CXX \
16289
15528
file_list_spec_CXX \
16293
15532
predeps_CXX \
16294
15533
postdeps_CXX \
16295
15534
compiler_lib_search_path_CXX; do
16296
 
    case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
 
15535
    case \`eval \\\\\$ECHO "X\\\\\$\$var"\` in
16297
15536
    *[\\\\\\\`\\"\\\$]*)
16298
 
      eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED \\"\\\$sed_quote_subst\\"\\\`\\\\\\""
 
15537
      eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"X\\\$\$var\\" | \\\$Xsed -e \\"\\\$sed_quote_subst\\"\\\`\\\\\\""
16299
15538
      ;;
16300
15539
    *)
16301
15540
      eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
16317
15556
module_expsym_cmds \
16318
15557
export_symbols_cmds \
16319
15558
prelink_cmds \
16320
 
postlink_cmds \
16321
15559
postinstall_cmds \
16322
15560
postuninstall_cmds \
16323
15561
finish_cmds \
16324
15562
sys_lib_search_path_spec \
16325
15563
sys_lib_dlsearch_path_spec \
16326
 
reload_cmds_CXX \
16327
15564
old_archive_cmds_CXX \
16328
15565
old_archive_from_new_cmds_CXX \
16329
15566
old_archive_from_expsyms_cmds_CXX \
16332
15569
module_cmds_CXX \
16333
15570
module_expsym_cmds_CXX \
16334
15571
export_symbols_cmds_CXX \
16335
 
prelink_cmds_CXX \
16336
 
postlink_cmds_CXX; do
16337
 
    case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
 
15572
prelink_cmds_CXX; do
 
15573
    case \`eval \\\\\$ECHO "X\\\\\$\$var"\` in
16338
15574
    *[\\\\\\\`\\"\\\$]*)
16339
 
      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\\"\\\`\\\\\\""
16340
15576
      ;;
16341
15577
    *)
16342
15578
      eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
16344
15580
    esac
16345
15581
done
16346
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
 
16347
15589
ac_aux_dir='$ac_aux_dir'
16348
15590
xsi_shell='$xsi_shell'
16349
15591
lt_shell_append='$lt_shell_append'
16382
15624
    "include/Makefile") CONFIG_FILES="$CONFIG_FILES include/Makefile" ;;
16383
15625
    "test/Makefile") CONFIG_FILES="$CONFIG_FILES test/Makefile" ;;
16384
15626
 
16385
 
  *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
 
15627
  *) as_fn_error "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
16386
15628
  esac
16387
15629
done
16388
15630
 
16405
15647
# after its creation but before its name has been assigned to `$tmp'.
16406
15648
$debug ||
16407
15649
{
16408
 
  tmp= ac_tmp=
 
15650
  tmp=
16409
15651
  trap 'exit_status=$?
16410
 
  : "${ac_tmp:=$tmp}"
16411
 
  { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
 
15652
  { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status
16412
15653
' 0
16413
15654
  trap 'as_fn_exit 1' 1 2 13 15
16414
15655
}
16416
15657
 
16417
15658
{
16418
15659
  tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
16419
 
  test -d "$tmp"
 
15660
  test -n "$tmp" && test -d "$tmp"
16420
15661
}  ||
16421
15662
{
16422
15663
  tmp=./conf$$-$RANDOM
16423
15664
  (umask 077 && mkdir "$tmp")
16424
 
} || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5
16425
 
ac_tmp=$tmp
 
15665
} || as_fn_error "cannot create a temporary directory in ." "$LINENO" 5
16426
15666
 
16427
15667
# Set up the scripts for CONFIG_FILES section.
16428
15668
# No need to generate them if there are no CONFIG_FILES.
16439
15679
fi
16440
15680
ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
16441
15681
if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
16442
 
  ac_cs_awk_cr='\\r'
 
15682
  ac_cs_awk_cr='\r'
16443
15683
else
16444
15684
  ac_cs_awk_cr=$ac_cr
16445
15685
fi
16446
15686
 
16447
 
echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&
 
15687
echo 'BEGIN {' >"$tmp/subs1.awk" &&
16448
15688
_ACEOF
16449
15689
 
16450
15690
 
16453
15693
  echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
16454
15694
  echo "_ACEOF"
16455
15695
} >conf$$subs.sh ||
16456
 
  as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
16457
 
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 '$'`
16458
15698
ac_delim='%!_!# '
16459
15699
for ac_last_try in false false false false false :; do
16460
15700
  . ./conf$$subs.sh ||
16461
 
    as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
 
15701
    as_fn_error "could not make $CONFIG_STATUS" "$LINENO" 5
16462
15702
 
16463
15703
  ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
16464
15704
  if test $ac_delim_n = $ac_delim_num; then
16465
15705
    break
16466
15706
  elif $ac_last_try; then
16467
 
    as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
 
15707
    as_fn_error "could not make $CONFIG_STATUS" "$LINENO" 5
16468
15708
  else
16469
15709
    ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
16470
15710
  fi
16472
15712
rm -f conf$$subs.sh
16473
15713
 
16474
15714
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
16475
 
cat >>"\$ac_tmp/subs1.awk" <<\\_ACAWK &&
 
15715
cat >>"\$tmp/subs1.awk" <<\\_ACAWK &&
16476
15716
_ACEOF
16477
15717
sed -n '
16478
15718
h
16486
15726
t delim
16487
15727
:nl
16488
15728
h
16489
 
s/\(.\{148\}\)..*/\1/
 
15729
s/\(.\{148\}\).*/\1/
16490
15730
t more1
16491
15731
s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
16492
15732
p
16500
15740
t nl
16501
15741
:delim
16502
15742
h
16503
 
s/\(.\{148\}\)..*/\1/
 
15743
s/\(.\{148\}\).*/\1/
16504
15744
t more2
16505
15745
s/["\\]/\\&/g; s/^/"/; s/$/"/
16506
15746
p
16520
15760
rm -f conf$$subs.awk
16521
15761
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
16522
15762
_ACAWK
16523
 
cat >>"\$ac_tmp/subs1.awk" <<_ACAWK &&
 
15763
cat >>"\$tmp/subs1.awk" <<_ACAWK &&
16524
15764
  for (key in S) S_is_set[key] = 1
16525
15765
  FS = ""
16526
15766
 
16552
15792
  sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
16553
15793
else
16554
15794
  cat
16555
 
fi < "$ac_tmp/subs1.awk" > "$ac_tmp/subs.awk" \
16556
 
  || 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
16557
15797
_ACEOF
16558
15798
 
16559
 
# VPATH may cause trouble with some makes, so we remove sole $(srcdir),
16560
 
# ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".", strip leading and
 
15799
# VPATH may cause trouble with some makes, so we remove $(srcdir),
 
15800
# ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
16561
15801
# trailing colons and then remove the whole line if VPATH becomes empty
16562
15802
# (actually we leave an empty line to preserve line numbers).
16563
15803
if test "x$srcdir" = x.; then
16564
 
  ac_vpsub='/^[  ]*VPATH[        ]*=[    ]*/{
16565
 
h
16566
 
s///
16567
 
s/^/:/
16568
 
s/[      ]*$/:/
16569
 
s/:\$(srcdir):/:/g
16570
 
s/:\${srcdir}:/:/g
16571
 
s/:@srcdir@:/:/g
16572
 
s/^:*//
 
15804
  ac_vpsub='/^[  ]*VPATH[        ]*=/{
 
15805
s/:*\$(srcdir):*/:/
 
15806
s/:*\${srcdir}:*/:/
 
15807
s/:*@srcdir@:*/:/
 
15808
s/^\([^=]*=[     ]*\):*/\1/
16573
15809
s/:*$//
16574
 
x
16575
 
s/\(=[   ]*\).*/\1/
16576
 
G
16577
 
s/\n//
16578
15810
s/^[^=]*=[       ]*$//
16579
15811
}'
16580
15812
fi
16586
15818
# No need to generate them if there are no CONFIG_HEADERS.
16587
15819
# This happens for instance with `./config.status Makefile'.
16588
15820
if test -n "$CONFIG_HEADERS"; then
16589
 
cat >"$ac_tmp/defines.awk" <<\_ACAWK ||
 
15821
cat >"$tmp/defines.awk" <<\_ACAWK ||
16590
15822
BEGIN {
16591
15823
_ACEOF
16592
15824
 
16598
15830
# handling of long lines.
16599
15831
ac_delim='%!_!# '
16600
15832
for ac_last_try in false false :; do
16601
 
  ac_tt=`sed -n "/$ac_delim/p" confdefs.h`
16602
 
  if test -z "$ac_tt"; then
 
15833
  ac_t=`sed -n "/$ac_delim/p" confdefs.h`
 
15834
  if test -z "$ac_t"; then
16603
15835
    break
16604
15836
  elif $ac_last_try; then
16605
 
    as_fn_error $? "could not make $CONFIG_HEADERS" "$LINENO" 5
 
15837
    as_fn_error "could not make $CONFIG_HEADERS" "$LINENO" 5
16606
15838
  else
16607
15839
    ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
16608
15840
  fi
16687
15919
_ACAWK
16688
15920
_ACEOF
16689
15921
cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
16690
 
  as_fn_error $? "could not setup config headers machinery" "$LINENO" 5
 
15922
  as_fn_error "could not setup config headers machinery" "$LINENO" 5
16691
15923
fi # test -n "$CONFIG_HEADERS"
16692
15924
 
16693
15925
 
16700
15932
  esac
16701
15933
  case $ac_mode$ac_tag in
16702
15934
  :[FHL]*:*);;
16703
 
  :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5;;
 
15935
  :L* | :C*:*) as_fn_error "invalid tag \`$ac_tag'" "$LINENO" 5;;
16704
15936
  :[FH]-) ac_tag=-:-;;
16705
15937
  :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
16706
15938
  esac
16719
15951
    for ac_f
16720
15952
    do
16721
15953
      case $ac_f in
16722
 
      -) ac_f="$ac_tmp/stdin";;
 
15954
      -) ac_f="$tmp/stdin";;
16723
15955
      *) # Look for the file first in the build tree, then in the source tree
16724
15956
         # (if the path is not absolute).  The absolute path cannot be DOS-style,
16725
15957
         # because $ac_f cannot contain `:'.
16728
15960
           [\\/$]*) false;;
16729
15961
           *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
16730
15962
           esac ||
16731
 
           as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
 
15963
           as_fn_error "cannot find input file: \`$ac_f'" "$LINENO" 5;;
16732
15964
      esac
16733
15965
      case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
16734
15966
      as_fn_append ac_file_inputs " '$ac_f'"
16754
15986
    esac
16755
15987
 
16756
15988
    case $ac_tag in
16757
 
    *:-:* | *:-) cat >"$ac_tmp/stdin" \
16758
 
      || 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 ;;
16759
15991
    esac
16760
15992
    ;;
16761
15993
  esac
16891
16123
s&@MKDIR_P@&$ac_MKDIR_P&;t t
16892
16124
$ac_datarootdir_hack
16893
16125
"
16894
 
eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.awk" \
16895
 
  >$ac_tmp/out || as_fn_error $? "could not create $ac_file" "$LINENO" 5
 
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
16896
16128
 
16897
16129
test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
16898
 
  { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out"`; test -n "$ac_out"; } &&
16899
 
  { ac_out=`sed -n '/^[  ]*datarootdir[  ]*:*=/p' \
16900
 
      "$ac_tmp/out"`; test -z "$ac_out"; } &&
 
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"; } &&
16901
16132
  { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
16902
 
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
16903
16134
$as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
16904
 
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;}
16905
16136
 
16906
 
  rm -f "$ac_tmp/stdin"
 
16137
  rm -f "$tmp/stdin"
16907
16138
  case $ac_file in
16908
 
  -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
16909
 
  *) 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";;
16910
16141
  esac \
16911
 
  || as_fn_error $? "could not create $ac_file" "$LINENO" 5
 
16142
  || as_fn_error "could not create $ac_file" "$LINENO" 5
16912
16143
 ;;
16913
16144
  :H)
16914
16145
  #
16917
16148
  if test x"$ac_file" != x-; then
16918
16149
    {
16919
16150
      $as_echo "/* $configure_input  */" \
16920
 
      && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs"
16921
 
    } >"$ac_tmp/config.h" \
16922
 
      || as_fn_error $? "could not create $ac_file" "$LINENO" 5
16923
 
    if diff "$ac_file" "$ac_tmp/config.h" >/dev/null 2>&1; then
 
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
16924
16155
      { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
16925
16156
$as_echo "$as_me: $ac_file is unchanged" >&6;}
16926
16157
    else
16927
16158
      rm -f "$ac_file"
16928
 
      mv "$ac_tmp/config.h" "$ac_file" \
16929
 
        || 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
16930
16161
    fi
16931
16162
  else
16932
16163
    $as_echo "/* $configure_input  */" \
16933
 
      && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \
16934
 
      || 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
16935
16166
  fi
16936
16167
# Compute "$ac_file"'s index in $config_headers.
16937
16168
_am_arg="$ac_file"
17092
16323
# NOTE: Changes made to this file will be lost: look at ltmain.sh.
17093
16324
#
17094
16325
#   Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2003, 2004, 2005,
17095
 
#                 2006, 2007, 2008, 2009, 2010, 2011 Free Software
17096
 
#                 Foundation, Inc.
 
16326
#                 2006, 2007, 2008 Free Software Foundation, Inc.
17097
16327
#   Written by Gordon Matzigkeit, 1996
17098
16328
#
17099
16329
#   This file is part of GNU Libtool.
17141
16371
# Whether or not to optimize for fast installation.
17142
16372
fast_install=$enable_fast_install
17143
16373
 
17144
 
# Shell to use when invoking shell scripts.
17145
 
SHELL=$lt_SHELL
17146
 
 
17147
 
# An echo program that protects backslashes.
17148
 
ECHO=$lt_ECHO
17149
 
 
17150
 
# The PATH separator for the build system.
17151
 
PATH_SEPARATOR=$lt_PATH_SEPARATOR
17152
 
 
17153
16374
# The host system.
17154
16375
host_alias=$host_alias
17155
16376
host=$host
17199
16420
# turn newlines into spaces.
17200
16421
NL2SP=$lt_lt_NL2SP
17201
16422
 
17202
 
# convert \$build file names to \$host format.
17203
 
to_host_file_cmd=$lt_cv_to_host_file_cmd
17204
 
 
17205
 
# convert \$build files to toolchain format.
17206
 
to_tool_file_cmd=$lt_cv_to_tool_file_cmd
 
16423
# How to create reloadable object files.
 
16424
reload_flag=$lt_reload_flag
 
16425
reload_cmds=$lt_reload_cmds
17207
16426
 
17208
16427
# An object symbol dumper.
17209
16428
OBJDUMP=$lt_OBJDUMP
17211
16430
# Method to check whether dependent libraries are shared objects.
17212
16431
deplibs_check_method=$lt_deplibs_check_method
17213
16432
 
17214
 
# Command to use when deplibs_check_method = "file_magic".
 
16433
# Command to use when deplibs_check_method == "file_magic".
17215
16434
file_magic_cmd=$lt_file_magic_cmd
17216
16435
 
17217
 
# How to find potential files when deplibs_check_method = "file_magic".
17218
 
file_magic_glob=$lt_file_magic_glob
17219
 
 
17220
 
# Find potential files using nocaseglob when deplibs_check_method = "file_magic".
17221
 
want_nocaseglob=$lt_want_nocaseglob
17222
 
 
17223
 
# DLL creation program.
17224
 
DLLTOOL=$lt_DLLTOOL
17225
 
 
17226
 
# Command to associate shared and link libraries.
17227
 
sharedlib_from_linklib_cmd=$lt_sharedlib_from_linklib_cmd
17228
 
 
17229
16436
# The archiver.
17230
16437
AR=$lt_AR
17231
 
 
17232
 
# Flags to create an archive.
17233
16438
AR_FLAGS=$lt_AR_FLAGS
17234
16439
 
17235
 
# How to feed a file listing to the archiver.
17236
 
archiver_list_spec=$lt_archiver_list_spec
17237
 
 
17238
16440
# A symbol stripping program.
17239
16441
STRIP=$lt_STRIP
17240
16442
 
17243
16445
old_postinstall_cmds=$lt_old_postinstall_cmds
17244
16446
old_postuninstall_cmds=$lt_old_postuninstall_cmds
17245
16447
 
17246
 
# Whether to use a lock for old archive extraction.
17247
 
lock_old_archive_extraction=$lock_old_archive_extraction
17248
 
 
17249
16448
# A C compiler.
17250
16449
LTCC=$lt_CC
17251
16450
 
17264
16463
# Transform the output of nm in a C name address pair when lib prefix is needed.
17265
16464
global_symbol_to_c_name_address_lib_prefix=$lt_lt_cv_sys_global_symbol_to_c_name_address_lib_prefix
17266
16465
 
17267
 
# Specify filename containing input files for \$NM.
17268
 
nm_file_list_spec=$lt_nm_file_list_spec
17269
 
 
17270
 
# The root where to search for dependent libraries,and in which our libraries should be installed.
17271
 
lt_sysroot=$lt_sysroot
17272
 
 
17273
16466
# The name of the directory that contains temporary libtool files.
17274
16467
objdir=$objdir
17275
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
 
17276
16475
# Used to examine libraries when file_magic_cmd begins with "file".
17277
16476
MAGIC_CMD=$MAGIC_CMD
17278
16477
 
17279
16478
# Must we lock files when doing compilation?
17280
16479
need_locks=$lt_need_locks
17281
16480
 
17282
 
# Manifest tool.
17283
 
MANIFEST_TOOL=$lt_MANIFEST_TOOL
17284
 
 
17285
16481
# Tool to manipulate archived DWARF debug symbol files on Mac OS X.
17286
16482
DSYMUTIL=$lt_DSYMUTIL
17287
16483
 
17338
16534
# The coded name of the library, if different from the real name.
17339
16535
soname_spec=$lt_soname_spec
17340
16536
 
17341
 
# Permission mode override for installation of shared libraries.
17342
 
install_override_mode=$lt_install_override_mode
17343
 
 
17344
16537
# Command to use after installation of a shared archive.
17345
16538
postinstall_cmds=$lt_postinstall_cmds
17346
16539
 
17380
16573
# The linker used to build libraries.
17381
16574
LD=$lt_LD
17382
16575
 
17383
 
# How to create reloadable object files.
17384
 
reload_flag=$lt_reload_flag
17385
 
reload_cmds=$lt_reload_cmds
17386
 
 
17387
16576
# Commands used to build an old-style archive.
17388
16577
old_archive_cmds=$lt_old_archive_cmds
17389
16578
 
17396
16585
# Compiler flag to turn off builtin functions.
17397
16586
no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag
17398
16587
 
 
16588
# How to pass a linker flag through the compiler.
 
16589
wl=$lt_lt_prog_compiler_wl
 
16590
 
17399
16591
# Additional compiler flags for building library objects.
17400
16592
pic_flag=$lt_lt_prog_compiler_pic
17401
16593
 
17402
 
# How to pass a linker flag through the compiler.
17403
 
wl=$lt_lt_prog_compiler_wl
17404
 
 
17405
16594
# Compiler flag to prevent dynamic linking.
17406
16595
link_static_flag=$lt_lt_prog_compiler_static
17407
16596
 
17451
16640
# This must work even if \$libdir does not exist
17452
16641
hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec
17453
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
 
17454
16647
# Whether we need a single "-rpath" flag with a separated argument.
17455
16648
hardcode_libdir_separator=$lt_hardcode_libdir_separator
17456
16649
 
17484
16677
# Whether libtool must link a program against all its dependency libraries.
17485
16678
link_all_deplibs=$link_all_deplibs
17486
16679
 
 
16680
# Fix the shell variable \$srcfile for the compiler.
 
16681
fix_srcfile_path=$lt_fix_srcfile_path
 
16682
 
17487
16683
# Set to "yes" if exported symbols are required.
17488
16684
always_export_symbols=$always_export_symbols
17489
16685
 
17499
16695
# Commands necessary for linking programs (against libraries) with templates.
17500
16696
prelink_cmds=$lt_prelink_cmds
17501
16697
 
17502
 
# Commands necessary for finishing linking programs.
17503
 
postlink_cmds=$lt_postlink_cmds
17504
 
 
17505
16698
# Specify filename containing input files.
17506
16699
file_list_spec=$lt_file_list_spec
17507
16700
 
17548
16741
  # if finds mixed CR/LF and LF-only lines.  Since sed operates in
17549
16742
  # text mode, it properly converts lines to CR/LF.  This bash problem
17550
16743
  # is reportedly fixed, but why not run on old versions too?
17551
 
  sed '$q' "$ltmain" >> "$cfgfile" \
17552
 
     || (rm -f "$cfgfile"; exit 1)
17553
 
 
17554
 
  if test x"$xsi_shell" = xyes; then
17555
 
  sed -e '/^func_dirname ()$/,/^} # func_dirname /c\
17556
 
func_dirname ()\
17557
 
{\
17558
 
\    case ${1} in\
17559
 
\      */*) func_dirname_result="${1%/*}${2}" ;;\
17560
 
\      *  ) func_dirname_result="${3}" ;;\
17561
 
\    esac\
17562
 
} # Extended-shell func_dirname implementation' "$cfgfile" > $cfgfile.tmp \
17563
 
  && mv -f "$cfgfile.tmp" "$cfgfile" \
17564
 
    || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
17565
 
test 0 -eq $? || _lt_function_replace_fail=:
17566
 
 
17567
 
 
17568
 
  sed -e '/^func_basename ()$/,/^} # func_basename /c\
17569
 
func_basename ()\
17570
 
{\
17571
 
\    func_basename_result="${1##*/}"\
17572
 
} # Extended-shell func_basename implementation' "$cfgfile" > $cfgfile.tmp \
17573
 
  && mv -f "$cfgfile.tmp" "$cfgfile" \
17574
 
    || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
17575
 
test 0 -eq $? || _lt_function_replace_fail=:
17576
 
 
17577
 
 
17578
 
  sed -e '/^func_dirname_and_basename ()$/,/^} # func_dirname_and_basename /c\
17579
 
func_dirname_and_basename ()\
17580
 
{\
17581
 
\    case ${1} in\
17582
 
\      */*) func_dirname_result="${1%/*}${2}" ;;\
17583
 
\      *  ) func_dirname_result="${3}" ;;\
17584
 
\    esac\
17585
 
\    func_basename_result="${1##*/}"\
17586
 
} # Extended-shell func_dirname_and_basename implementation' "$cfgfile" > $cfgfile.tmp \
17587
 
  && mv -f "$cfgfile.tmp" "$cfgfile" \
17588
 
    || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
17589
 
test 0 -eq $? || _lt_function_replace_fail=:
17590
 
 
17591
 
 
17592
 
  sed -e '/^func_stripname ()$/,/^} # func_stripname /c\
17593
 
func_stripname ()\
17594
 
{\
17595
 
\    # pdksh 5.2.14 does not do ${X%$Y} correctly if both X and Y are\
17596
 
\    # positional parameters, so assign one to ordinary parameter first.\
17597
 
\    func_stripname_result=${3}\
17598
 
\    func_stripname_result=${func_stripname_result#"${1}"}\
17599
 
\    func_stripname_result=${func_stripname_result%"${2}"}\
17600
 
} # Extended-shell func_stripname implementation' "$cfgfile" > $cfgfile.tmp \
17601
 
  && mv -f "$cfgfile.tmp" "$cfgfile" \
17602
 
    || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
17603
 
test 0 -eq $? || _lt_function_replace_fail=:
17604
 
 
17605
 
 
17606
 
  sed -e '/^func_split_long_opt ()$/,/^} # func_split_long_opt /c\
17607
 
func_split_long_opt ()\
17608
 
{\
17609
 
\    func_split_long_opt_name=${1%%=*}\
17610
 
\    func_split_long_opt_arg=${1#*=}\
17611
 
} # Extended-shell func_split_long_opt implementation' "$cfgfile" > $cfgfile.tmp \
17612
 
  && mv -f "$cfgfile.tmp" "$cfgfile" \
17613
 
    || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
17614
 
test 0 -eq $? || _lt_function_replace_fail=:
17615
 
 
17616
 
 
17617
 
  sed -e '/^func_split_short_opt ()$/,/^} # func_split_short_opt /c\
17618
 
func_split_short_opt ()\
17619
 
{\
17620
 
\    func_split_short_opt_arg=${1#??}\
17621
 
\    func_split_short_opt_name=${1%"$func_split_short_opt_arg"}\
17622
 
} # Extended-shell func_split_short_opt implementation' "$cfgfile" > $cfgfile.tmp \
17623
 
  && mv -f "$cfgfile.tmp" "$cfgfile" \
17624
 
    || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
17625
 
test 0 -eq $? || _lt_function_replace_fail=:
17626
 
 
17627
 
 
17628
 
  sed -e '/^func_lo2o ()$/,/^} # func_lo2o /c\
17629
 
func_lo2o ()\
17630
 
{\
17631
 
\    case ${1} in\
17632
 
\      *.lo) func_lo2o_result=${1%.lo}.${objext} ;;\
17633
 
\      *)    func_lo2o_result=${1} ;;\
17634
 
\    esac\
17635
 
} # Extended-shell func_lo2o implementation' "$cfgfile" > $cfgfile.tmp \
17636
 
  && mv -f "$cfgfile.tmp" "$cfgfile" \
17637
 
    || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
17638
 
test 0 -eq $? || _lt_function_replace_fail=:
17639
 
 
17640
 
 
17641
 
  sed -e '/^func_xform ()$/,/^} # func_xform /c\
17642
 
func_xform ()\
17643
 
{\
17644
 
    func_xform_result=${1%.*}.lo\
17645
 
} # Extended-shell func_xform implementation' "$cfgfile" > $cfgfile.tmp \
17646
 
  && mv -f "$cfgfile.tmp" "$cfgfile" \
17647
 
    || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
17648
 
test 0 -eq $? || _lt_function_replace_fail=:
17649
 
 
17650
 
 
17651
 
  sed -e '/^func_arith ()$/,/^} # func_arith /c\
17652
 
func_arith ()\
17653
 
{\
17654
 
    func_arith_result=$(( $* ))\
17655
 
} # Extended-shell func_arith implementation' "$cfgfile" > $cfgfile.tmp \
17656
 
  && mv -f "$cfgfile.tmp" "$cfgfile" \
17657
 
    || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
17658
 
test 0 -eq $? || _lt_function_replace_fail=:
17659
 
 
17660
 
 
17661
 
  sed -e '/^func_len ()$/,/^} # func_len /c\
17662
 
func_len ()\
17663
 
{\
17664
 
    func_len_result=${#1}\
17665
 
} # Extended-shell func_len implementation' "$cfgfile" > $cfgfile.tmp \
17666
 
  && mv -f "$cfgfile.tmp" "$cfgfile" \
17667
 
    || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
17668
 
test 0 -eq $? || _lt_function_replace_fail=:
17669
 
 
17670
 
fi
17671
 
 
17672
 
if test x"$lt_shell_append" = xyes; then
17673
 
  sed -e '/^func_append ()$/,/^} # func_append /c\
17674
 
func_append ()\
17675
 
{\
17676
 
    eval "${1}+=\\${2}"\
17677
 
} # Extended-shell func_append implementation' "$cfgfile" > $cfgfile.tmp \
17678
 
  && mv -f "$cfgfile.tmp" "$cfgfile" \
17679
 
    || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
17680
 
test 0 -eq $? || _lt_function_replace_fail=:
17681
 
 
17682
 
 
17683
 
  sed -e '/^func_append_quoted ()$/,/^} # func_append_quoted /c\
17684
 
func_append_quoted ()\
17685
 
{\
17686
 
\    func_quote_for_eval "${2}"\
17687
 
\    eval "${1}+=\\\\ \\$func_quote_for_eval_result"\
17688
 
} # Extended-shell func_append_quoted implementation' "$cfgfile" > $cfgfile.tmp \
17689
 
  && mv -f "$cfgfile.tmp" "$cfgfile" \
17690
 
    || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
17691
 
test 0 -eq $? || _lt_function_replace_fail=:
17692
 
 
17693
 
 
17694
 
  # Save a `func_append' function call where possible by direct use of '+='
17695
 
  sed -e 's%func_append \([a-zA-Z_]\{1,\}\) "%\1+="%g' $cfgfile > $cfgfile.tmp \
17696
 
    && mv -f "$cfgfile.tmp" "$cfgfile" \
17697
 
      || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
17698
 
  test 0 -eq $? || _lt_function_replace_fail=:
17699
 
else
17700
 
  # Save a `func_append' function call even when '+=' is not available
17701
 
  sed -e 's%func_append \([a-zA-Z_]\{1,\}\) "%\1="$\1%g' $cfgfile > $cfgfile.tmp \
17702
 
    && mv -f "$cfgfile.tmp" "$cfgfile" \
17703
 
      || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
17704
 
  test 0 -eq $? || _lt_function_replace_fail=:
17705
 
fi
17706
 
 
17707
 
if test x"$_lt_function_replace_fail" = x":"; then
17708
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Unable to substitute extended shell functions in $ofile" >&5
17709
 
$as_echo "$as_me: WARNING: Unable to substitute extended shell functions in $ofile" >&2;}
17710
 
fi
17711
 
 
17712
 
 
17713
 
   mv -f "$cfgfile" "$ofile" ||
 
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" ||
17714
16950
    (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile")
17715
16951
  chmod +x "$ofile"
17716
16952
 
17722
16958
# The linker used to build libraries.
17723
16959
LD=$lt_LD_CXX
17724
16960
 
17725
 
# How to create reloadable object files.
17726
 
reload_flag=$lt_reload_flag_CXX
17727
 
reload_cmds=$lt_reload_cmds_CXX
17728
 
 
17729
16961
# Commands used to build an old-style archive.
17730
16962
old_archive_cmds=$lt_old_archive_cmds_CXX
17731
16963
 
17738
16970
# Compiler flag to turn off builtin functions.
17739
16971
no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag_CXX
17740
16972
 
 
16973
# How to pass a linker flag through the compiler.
 
16974
wl=$lt_lt_prog_compiler_wl_CXX
 
16975
 
17741
16976
# Additional compiler flags for building library objects.
17742
16977
pic_flag=$lt_lt_prog_compiler_pic_CXX
17743
16978
 
17744
 
# How to pass a linker flag through the compiler.
17745
 
wl=$lt_lt_prog_compiler_wl_CXX
17746
 
 
17747
16979
# Compiler flag to prevent dynamic linking.
17748
16980
link_static_flag=$lt_lt_prog_compiler_static_CXX
17749
16981
 
17793
17025
# This must work even if \$libdir does not exist
17794
17026
hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec_CXX
17795
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
 
17796
17032
# Whether we need a single "-rpath" flag with a separated argument.
17797
17033
hardcode_libdir_separator=$lt_hardcode_libdir_separator_CXX
17798
17034
 
17826
17062
# Whether libtool must link a program against all its dependency libraries.
17827
17063
link_all_deplibs=$link_all_deplibs_CXX
17828
17064
 
 
17065
# Fix the shell variable \$srcfile for the compiler.
 
17066
fix_srcfile_path=$lt_fix_srcfile_path_CXX
 
17067
 
17829
17068
# Set to "yes" if exported symbols are required.
17830
17069
always_export_symbols=$always_export_symbols_CXX
17831
17070
 
17841
17080
# Commands necessary for linking programs (against libraries) with templates.
17842
17081
prelink_cmds=$lt_prelink_cmds_CXX
17843
17082
 
17844
 
# Commands necessary for finishing linking programs.
17845
 
postlink_cmds=$lt_postlink_cmds_CXX
17846
 
 
17847
17083
# Specify filename containing input files.
17848
17084
file_list_spec=$lt_file_list_spec_CXX
17849
17085
 
17878
17114
ac_clean_files=$ac_clean_files_save
17879
17115
 
17880
17116
test $ac_write_fail = 0 ||
17881
 
  as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5
 
17117
  as_fn_error "write failure creating $CONFIG_STATUS" "$LINENO" 5
17882
17118
 
17883
17119
 
17884
17120
# configure is writing to config.log, and then calls config.status.
17899
17135
  exec 5>>config.log
17900
17136
  # Use ||, not &&, to avoid exiting from the if with $? = 1, which
17901
17137
  # would make configure fail if this is the last instruction.
17902
 
  $ac_cs_success || as_fn_exit 1
 
17138
  $ac_cs_success || as_fn_exit $?
17903
17139
fi
17904
17140
if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
17905
17141
  { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5