2
@%:@ Guess values for system-dependent variables and create Makefiles.
3
@%:@ Generated by GNU Autoconf 2.61 for codeblocks 1.0svn.
5
@%:@ Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
6
@%:@ 2002, 2003, 2004, 2005, 2006 Free Software Foundation, Inc.
7
@%:@ This configure script is free software; the Free Software Foundation
8
@%:@ gives unlimited permission to copy, distribute and modify it.
9
## --------------------- ##
10
## M4sh Initialization. ##
11
## --------------------- ##
13
# Be more Bourne compatible
14
DUALCASE=1; export DUALCASE # for MKS sh
15
if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
18
# Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
19
# is contrary to our usage. Disable this feature.
20
alias -g '${1+"$@"}'='"$@"'
23
case `(set -o) 2>/dev/null` in
24
*posix*) set -o posix ;;
33
# Avoid depending upon Character Ranges.
34
as_cr_letters='abcdefghijklmnopqrstuvwxyz'
35
as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
36
as_cr_Letters=$as_cr_letters$as_cr_LETTERS
37
as_cr_digits='0123456789'
38
as_cr_alnum=$as_cr_Letters$as_cr_digits
40
# The user is always right.
41
if test "${PATH_SEPARATOR+set}" != set; then
42
echo "#! /bin/sh" >conf$$.sh
43
echo "exit 0" >>conf$$.sh
45
if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
53
# Support unset when possible.
54
if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
62
# We need space, tab and new line, in precisely that order. Quoting is
63
# there to prevent editors from complaining about space-tab.
64
# (If _AS_PATH_WALK were called with IFS unset, it would disable word
65
# splitting by setting IFS to empty value.)
70
# Find who we are. Look in the path if we contain no directory separator.
72
*[\\/]* ) as_myself=$0 ;;
73
*) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
77
test -z "$as_dir" && as_dir=.
78
test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
84
# We did not find ourselves, most probably we were run as `sh COMMAND'
85
# in which case we are not to be found in the path.
86
if test "x$as_myself" = x; then
89
if test ! -f "$as_myself"; then
90
echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
94
# Work around bugs in pre-3.0 UWIN ksh.
95
for as_var in ENV MAIL MAILPATH
96
do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
104
LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
105
LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
108
if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
109
eval $as_var=C; export $as_var
111
($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
115
# Required to use basename.
116
if expr a : '\(a\)' >/dev/null 2>&1 &&
117
test "X`expr 00001 : '.*\(...\)'`" = X001; then
123
if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
130
# Name of the executable.
131
as_me=`$as_basename -- "$0" ||
132
$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
133
X"$0" : 'X\(//\)$' \| \
134
X"$0" : 'X\(/\)' \| . 2>/dev/null ||
136
sed '/^.*\/\([^/][^/]*\)\/*$/{
154
if test "x$CONFIG_SHELL" = x; then
155
if (eval ":") 2>/dev/null; then
161
if test $as_have_required = yes && (eval ":
171
as_func_ret_success () {
174
as_func_ret_failure () {
179
if as_func_success; then
183
echo as_func_success failed.
186
if as_func_failure; then
188
echo as_func_failure succeeded.
191
if as_func_ret_success; then
195
echo as_func_ret_success failed.
198
if as_func_ret_failure; then
200
echo as_func_ret_failure succeeded.
203
if ( set x; as_func_ret_success y && test x = \"\$1\" ); then
207
echo positional parameters were not saved.
210
test \$exitcode = 0) || { (exit 1); exit 1; }
215
test \"x\$as_lineno_1\" != \"x\$as_lineno_2\" &&
216
test \"x\`expr \$as_lineno_1 + 1\`\" = \"x\$as_lineno_2\") || { (exit 1); exit 1; }
217
") 2> /dev/null; then
221
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
222
for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
225
test -z "$as_dir" && as_dir=.
228
for as_base in sh bash ksh sh5; do
229
as_candidate_shells="$as_candidate_shells $as_dir/$as_base"
236
for as_shell in $as_candidate_shells $SHELL; do
237
# Try only shells that exist, to save several forks.
238
if { test -f "$as_shell" || test -f "$as_shell.exe"; } &&
239
{ ("$as_shell") 2> /dev/null <<\_ASEOF
240
if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
243
# Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
244
# is contrary to our usage. Disable this feature.
245
alias -g '${1+"$@"}'='"$@"'
248
case `(set -o) 2>/dev/null` in
249
*posix*) set -o posix ;;
258
CONFIG_SHELL=$as_shell
260
if { "$as_shell" 2> /dev/null <<\_ASEOF
261
if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
264
# Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
265
# is contrary to our usage. Disable this feature.
266
alias -g '${1+"$@"}'='"$@"'
269
case `(set -o) 2>/dev/null` in
270
*posix*) set -o posix ;;
286
as_func_ret_success () {
289
as_func_ret_failure () {
294
if as_func_success; then
298
echo as_func_success failed.
301
if as_func_failure; then
303
echo as_func_failure succeeded.
306
if as_func_ret_success; then
310
echo as_func_ret_success failed.
313
if as_func_ret_failure; then
315
echo as_func_ret_failure succeeded.
318
if ( set x; as_func_ret_success y && test x = "$1" ); then
322
echo positional parameters were not saved.
325
test $exitcode = 0) || { (exit 1); exit 1; }
330
test "x$as_lineno_1" != "x$as_lineno_2" &&
331
test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2") || { (exit 1); exit 1; }
342
if test "x$CONFIG_SHELL" != x; then
343
for as_var in BASH_ENV ENV
344
do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
347
exec "$CONFIG_SHELL" "$as_myself" ${1+"$@"}
351
if test $as_have_required = no; then
352
echo This script requires a shell more modern than all the
353
echo shells that I found on your system. Please install a
354
echo modern shell, or manually run the script under such a
355
echo shell if you do have one.
356
{ (exit 1); exit 1; }
366
(eval "as_func_return () {
375
as_func_ret_success () {
378
as_func_ret_failure () {
383
if as_func_success; then
387
echo as_func_success failed.
390
if as_func_failure; then
392
echo as_func_failure succeeded.
395
if as_func_ret_success; then
399
echo as_func_ret_success failed.
402
if as_func_ret_failure; then
404
echo as_func_ret_failure succeeded.
407
if ( set x; as_func_ret_success y && test x = \"\$1\" ); then
411
echo positional parameters were not saved.
414
test \$exitcode = 0") || {
415
echo No shell found that supports shell functions.
416
echo Please tell autoconf@gnu.org about your system,
417
echo including any error possibly output before this
425
test "x$as_lineno_1" != "x$as_lineno_2" &&
426
test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" || {
428
# Create $as_me.lineno as a copy of $as_myself, but with $LINENO
429
# uniformly replaced by the line number. The first 'sed' inserts a
430
# line-number line after each line using $LINENO; the second 'sed'
431
# does the real work. The second script uses 'N' to pair each
432
# line-number line with the line containing $LINENO, and appends
433
# trailing '-' during substitution so that $LINENO is not a special
435
# (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
436
# scripts with optimization help from Paolo Bonzini. Blame Lee
437
# E. McMahon (1931-1989) for sed's syntax. :-)
449
s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
453
chmod +x "$as_me.lineno" ||
454
{ echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
455
{ (exit 1); exit 1; }; }
457
# Don't try to exec as it changes $[0], causing all sort of problems
458
# (the dirname of $[0] is not the place where we might find the
459
# original and so on. Autoconf is especially sensitive to this).
461
# Exit status is that of the last command.
466
if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
472
ECHO_C= ECHO_N= ECHO_T=
476
*c*) ECHO_T=' ';; # ECHO_T is single tab character.
483
if expr a : '\(a\)' >/dev/null 2>&1 &&
484
test "X`expr 00001 : '.*\(...\)'`" = X001; then
490
rm -f conf$$ conf$$.exe conf$$.file
491
if test -d conf$$.dir; then
492
rm -f conf$$.dir/conf$$.file
498
if ln -s conf$$.file conf$$ 2>/dev/null; then
500
# ... but there are two gotchas:
501
# 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
502
# 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
503
# In both cases, we have to default to `cp -p'.
504
ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
506
elif ln conf$$.file conf$$ 2>/dev/null; then
511
rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
512
rmdir conf$$.dir 2>/dev/null
514
if mkdir -p . 2>/dev/null; then
517
test -d ./-p && rmdir ./-p
521
if test -x / >/dev/null 2>&1; then
524
if ls -dL / >/dev/null 2>&1; then
531
if test -d "$1"; then
537
case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in
538
???[sx]*):;;*)false;;esac;fi
542
as_executable_p=$as_test_x
544
# Sed expression to map a string onto a valid CPP name.
545
as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
547
# Sed expression to map a string onto a valid variable name.
548
as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
553
# Check that we are running under the correct shell.
554
SHELL=${CONFIG_SHELL-/bin/sh}
558
# Remove one level of quotation (which was required for Make).
559
ECHO=`echo "$ECHO" | sed 's,\\\\\$\\$0,'$0','`
564
if test "X$1" = X--no-reexec; then
565
# Discard the --no-reexec flag, and continue.
567
elif test "X$1" = X--fallback-echo; then
568
# Avoid inline document here, it may be left over
570
elif test "X`($echo '\t') 2>/dev/null`" = 'X\t' ; then
571
# Yippee, $echo works!
574
# Restart under the correct shell.
575
exec $SHELL "$0" --no-reexec ${1+"$@"}
578
if test "X$1" = X--fallback-echo; then
579
# used as fallback echo
587
# The HP-UX ksh and POSIX shell print the target directory to stdout
589
(unset CDPATH) >/dev/null 2>&1 && unset CDPATH
591
if test -z "$ECHO"; then
592
if test "X${echo_test_string+set}" != Xset; then
593
# find a string as large as possible, as long as the shell can cope with it
594
for cmd in 'sed 50q "$0"' 'sed 20q "$0"' 'sed 10q "$0"' 'sed 2q "$0"' 'echo test'; do
595
# expected sizes: less than 2Kb, 1Kb, 512 bytes, 16 bytes, ...
596
if (echo_test_string=`eval $cmd`) 2>/dev/null &&
597
echo_test_string=`eval $cmd` &&
598
(test "X$echo_test_string" = "X$echo_test_string") 2>/dev/null
605
if test "X`($echo '\t') 2>/dev/null`" = 'X\t' &&
606
echo_testing_string=`($echo "$echo_test_string") 2>/dev/null` &&
607
test "X$echo_testing_string" = "X$echo_test_string"; then
610
# The Solaris, AIX, and Digital Unix default echo programs unquote
611
# backslashes. This makes it impossible to quote backslashes using
612
# echo "$something" | sed 's/\\/\\\\/g'
614
# So, first we look for a working echo in the user's PATH.
616
lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
617
for dir in $PATH /usr/ucb; do
619
if (test -f $dir/echo || test -f $dir/echo$ac_exeext) &&
620
test "X`($dir/echo '\t') 2>/dev/null`" = 'X\t' &&
621
echo_testing_string=`($dir/echo "$echo_test_string") 2>/dev/null` &&
622
test "X$echo_testing_string" = "X$echo_test_string"; then
629
if test "X$echo" = Xecho; then
630
# We didn't find a better echo, so look for alternatives.
631
if test "X`(print -r '\t') 2>/dev/null`" = 'X\t' &&
632
echo_testing_string=`(print -r "$echo_test_string") 2>/dev/null` &&
633
test "X$echo_testing_string" = "X$echo_test_string"; then
634
# This shell has a builtin print -r that does the trick.
636
elif (test -f /bin/ksh || test -f /bin/ksh$ac_exeext) &&
637
test "X$CONFIG_SHELL" != X/bin/ksh; then
638
# If we have ksh, try running configure again with it.
639
ORIGINAL_CONFIG_SHELL=${CONFIG_SHELL-/bin/sh}
640
export ORIGINAL_CONFIG_SHELL
641
CONFIG_SHELL=/bin/ksh
643
exec $CONFIG_SHELL "$0" --no-reexec ${1+"$@"}
647
if test "X`($echo '\t') 2>/dev/null`" = 'X\t' &&
648
echo_testing_string=`($echo "$echo_test_string") 2>/dev/null` &&
649
test "X$echo_testing_string" = "X$echo_test_string"; then
652
elif echo_testing_string=`($ORIGINAL_CONFIG_SHELL "$0" --fallback-echo '\t') 2>/dev/null` &&
653
test "X$echo_testing_string" = 'X\t' &&
654
echo_testing_string=`($ORIGINAL_CONFIG_SHELL "$0" --fallback-echo "$echo_test_string") 2>/dev/null` &&
655
test "X$echo_testing_string" = "X$echo_test_string"; then
656
CONFIG_SHELL=$ORIGINAL_CONFIG_SHELL
658
SHELL="$CONFIG_SHELL"
660
echo="$CONFIG_SHELL $0 --fallback-echo"
661
elif echo_testing_string=`($CONFIG_SHELL "$0" --fallback-echo '\t') 2>/dev/null` &&
662
test "X$echo_testing_string" = 'X\t' &&
663
echo_testing_string=`($CONFIG_SHELL "$0" --fallback-echo "$echo_test_string") 2>/dev/null` &&
664
test "X$echo_testing_string" = "X$echo_test_string"; then
665
echo="$CONFIG_SHELL $0 --fallback-echo"
667
# maybe with a smaller string...
670
for cmd in 'echo test' 'sed 2q "$0"' 'sed 10q "$0"' 'sed 20q "$0"' 'sed 50q "$0"'; do
671
if (test "X$echo_test_string" = "X`eval $cmd`") 2>/dev/null
678
if test "$prev" != 'sed 50q "$0"'; then
679
echo_test_string=`eval $prev`
680
export echo_test_string
681
exec ${ORIGINAL_CONFIG_SHELL-${CONFIG_SHELL-/bin/sh}} "$0" ${1+"$@"}
683
# Oops. We lost completely, so just stick with echo.
692
# Copy echo and quote the copy suitably for passing to libtool from
693
# the Makefile, instead of quoting the original, which is used later.
695
if test "X$ECHO" = "X$CONFIG_SHELL $0 --fallback-echo"; then
696
ECHO="$CONFIG_SHELL \\\$\$0 --fallback-echo"
702
tagnames=${tagnames+${tagnames},}CXX
704
tagnames=${tagnames+${tagnames},}F77
706
exec 7<&0 </dev/null 6>&1
709
# hostname on some systems (SVR3.2, Linux) returns a bogus exit status,
710
# so uname gets run too.
711
ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
716
ac_default_prefix=/usr/local
718
ac_config_libobj_dir=.
724
SHELL=${CONFIG_SHELL-/bin/sh}
726
# Identity of this package.
727
PACKAGE_NAME='codeblocks'
728
PACKAGE_TARNAME='codeblocks'
729
PACKAGE_VERSION='1.0svn'
730
PACKAGE_STRING='codeblocks 1.0svn'
733
# Factoring default headers for most tests.
734
ac_includes_default="\
736
#ifdef HAVE_SYS_TYPES_H
737
# include <sys/types.h>
739
#ifdef HAVE_SYS_STAT_H
740
# include <sys/stat.h>
746
# ifdef HAVE_STDLIB_H
751
# if !defined STDC_HEADERS && defined HAVE_MEMORY_H
756
#ifdef HAVE_STRINGS_H
757
# include <strings.h>
759
#ifdef HAVE_INTTYPES_H
760
# include <inttypes.h>
778
program_transform_name
832
INSTALL_STRIP_PROGRAM
869
CODEBLOCKS_LINUX_TRUE
870
CODEBLOCKS_LINUX_FALSE
871
CODEBLOCKS_DARWIN_TRUE
872
CODEBLOCKS_DARWIN_FALSE
889
CODEBLOCKS_VERSION_INFO
897
BUILD_CLASSWIZARD_TRUE
898
BUILD_CLASSWIZARD_FALSE
899
BUILD_CODECOMPLETION_TRUE
900
BUILD_CODECOMPLETION_FALSE
905
BUILD_MIMEHANDLER_TRUE
906
BUILD_MIMEHANDLER_FALSE
907
BUILD_OPENFILESLIST_TRUE
908
BUILD_OPENFILESLIST_FALSE
909
BUILD_PROJECTSIMPORTER_TRUE
910
BUILD_PROJECTSIMPORTER_FALSE
911
BUILD_SCRIPTEDWIZARD_TRUE
912
BUILD_SCRIPTEDWIZARD_FALSE
917
BUILD_AUTOVERSIONING_TRUE
918
BUILD_AUTOVERSIONING_FALSE
919
BUILD_BROWSETRACKER_TRUE
920
BUILD_BROWSETRACKER_FALSE
925
BUILD_CODESNIPPETS_TRUE
926
BUILD_CODESNIPPETS_FALSE
929
BUILD_DRAGSCROLL_TRUE
930
BUILD_DRAGSCROLL_FALSE
936
BUILD_KEYBINDER_FALSE
938
BUILD_LIBFINDER_FALSE
947
BUILD_THREADSEARCH_TRUE
948
BUILD_THREADSEARCH_FALSE
969
PRECOMPILE_HEADERS_TRUE
970
PRECOMPILE_HEADERS_FALSE
1001
ac_precious_vars='build_alias
1021
# Initialize some variables set by options.
1023
ac_init_version=false
1024
# The variables have the same names as the options, with
1025
# dashes changed to underlines.
1026
cache_file=/dev/null
1033
program_transform_name=s,x,x,
1041
# Installation directory options.
1042
# These are left unexpanded so users can "make install exec_prefix=/foo"
1043
# and all the variables that are supposed to be based on exec_prefix
1044
# by default will actually change.
1045
# Use braces instead of parens because sh, perl, etc. also accept them.
1046
# (The list follows the same order as the GNU Coding Standards.)
1047
bindir='${exec_prefix}/bin'
1048
sbindir='${exec_prefix}/sbin'
1049
libexecdir='${exec_prefix}/libexec'
1050
datarootdir='${prefix}/share'
1051
datadir='${datarootdir}'
1052
sysconfdir='${prefix}/etc'
1053
sharedstatedir='${prefix}/com'
1054
localstatedir='${prefix}/var'
1055
includedir='${prefix}/include'
1056
oldincludedir='/usr/include'
1057
docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
1058
infodir='${datarootdir}/info'
1063
libdir='${exec_prefix}/lib'
1064
localedir='${datarootdir}/locale'
1065
mandir='${datarootdir}/man'
1071
# If the previous option needs an argument, assign it.
1072
if test -n "$ac_prev"; then
1073
eval $ac_prev=\$ac_option
1079
*=*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
1083
# Accept the important Cygnus configure options, so we can diagnose typos.
1085
case $ac_dashdash$ac_option in
1089
-bindir | --bindir | --bindi | --bind | --bin | --bi)
1091
-bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
1092
bindir=$ac_optarg ;;
1094
-build | --build | --buil | --bui | --bu)
1095
ac_prev=build_alias ;;
1096
-build=* | --build=* | --buil=* | --bui=* | --bu=*)
1097
build_alias=$ac_optarg ;;
1099
-cache-file | --cache-file | --cache-fil | --cache-fi \
1100
| --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
1101
ac_prev=cache_file ;;
1102
-cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
1103
| --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
1104
cache_file=$ac_optarg ;;
1106
--config-cache | -C)
1107
cache_file=config.cache ;;
1109
-datadir | --datadir | --datadi | --datad)
1111
-datadir=* | --datadir=* | --datadi=* | --datad=*)
1112
datadir=$ac_optarg ;;
1114
-datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
1115
| --dataroo | --dataro | --datar)
1116
ac_prev=datarootdir ;;
1117
-datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
1118
| --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
1119
datarootdir=$ac_optarg ;;
1121
-disable-* | --disable-*)
1122
ac_feature=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
1123
# Reject names that are not valid shell variable names.
1124
expr "x$ac_feature" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1125
{ echo "$as_me: error: invalid feature name: $ac_feature" >&2
1126
{ (exit 1); exit 1; }; }
1127
ac_feature=`echo $ac_feature | sed 's/[-.]/_/g'`
1128
eval enable_$ac_feature=no ;;
1130
-docdir | --docdir | --docdi | --doc | --do)
1132
-docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
1133
docdir=$ac_optarg ;;
1135
-dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
1137
-dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
1138
dvidir=$ac_optarg ;;
1140
-enable-* | --enable-*)
1141
ac_feature=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
1142
# Reject names that are not valid shell variable names.
1143
expr "x$ac_feature" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1144
{ echo "$as_me: error: invalid feature name: $ac_feature" >&2
1145
{ (exit 1); exit 1; }; }
1146
ac_feature=`echo $ac_feature | sed 's/[-.]/_/g'`
1147
eval enable_$ac_feature=\$ac_optarg ;;
1149
-exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
1150
| --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
1151
| --exec | --exe | --ex)
1152
ac_prev=exec_prefix ;;
1153
-exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
1154
| --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
1155
| --exec=* | --exe=* | --ex=*)
1156
exec_prefix=$ac_optarg ;;
1158
-gas | --gas | --ga | --g)
1159
# Obsolete; use --with-gas.
1162
-help | --help | --hel | --he | -h)
1163
ac_init_help=long ;;
1164
-help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
1165
ac_init_help=recursive ;;
1166
-help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
1167
ac_init_help=short ;;
1169
-host | --host | --hos | --ho)
1170
ac_prev=host_alias ;;
1171
-host=* | --host=* | --hos=* | --ho=*)
1172
host_alias=$ac_optarg ;;
1174
-htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
1176
-htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
1178
htmldir=$ac_optarg ;;
1180
-includedir | --includedir | --includedi | --included | --include \
1181
| --includ | --inclu | --incl | --inc)
1182
ac_prev=includedir ;;
1183
-includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
1184
| --includ=* | --inclu=* | --incl=* | --inc=*)
1185
includedir=$ac_optarg ;;
1187
-infodir | --infodir | --infodi | --infod | --info | --inf)
1189
-infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
1190
infodir=$ac_optarg ;;
1192
-libdir | --libdir | --libdi | --libd)
1194
-libdir=* | --libdir=* | --libdi=* | --libd=*)
1195
libdir=$ac_optarg ;;
1197
-libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
1198
| --libexe | --libex | --libe)
1199
ac_prev=libexecdir ;;
1200
-libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
1201
| --libexe=* | --libex=* | --libe=*)
1202
libexecdir=$ac_optarg ;;
1204
-localedir | --localedir | --localedi | --localed | --locale)
1205
ac_prev=localedir ;;
1206
-localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
1207
localedir=$ac_optarg ;;
1209
-localstatedir | --localstatedir | --localstatedi | --localstated \
1210
| --localstate | --localstat | --localsta | --localst | --locals)
1211
ac_prev=localstatedir ;;
1212
-localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
1213
| --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
1214
localstatedir=$ac_optarg ;;
1216
-mandir | --mandir | --mandi | --mand | --man | --ma | --m)
1218
-mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
1219
mandir=$ac_optarg ;;
1221
-nfp | --nfp | --nf)
1222
# Obsolete; use --without-fp.
1225
-no-create | --no-create | --no-creat | --no-crea | --no-cre \
1226
| --no-cr | --no-c | -n)
1229
-no-recursion | --no-recursion | --no-recursio | --no-recursi \
1230
| --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
1233
-oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
1234
| --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
1235
| --oldin | --oldi | --old | --ol | --o)
1236
ac_prev=oldincludedir ;;
1237
-oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
1238
| --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
1239
| --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
1240
oldincludedir=$ac_optarg ;;
1242
-prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
1244
-prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
1245
prefix=$ac_optarg ;;
1247
-program-prefix | --program-prefix | --program-prefi | --program-pref \
1248
| --program-pre | --program-pr | --program-p)
1249
ac_prev=program_prefix ;;
1250
-program-prefix=* | --program-prefix=* | --program-prefi=* \
1251
| --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
1252
program_prefix=$ac_optarg ;;
1254
-program-suffix | --program-suffix | --program-suffi | --program-suff \
1255
| --program-suf | --program-su | --program-s)
1256
ac_prev=program_suffix ;;
1257
-program-suffix=* | --program-suffix=* | --program-suffi=* \
1258
| --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
1259
program_suffix=$ac_optarg ;;
1261
-program-transform-name | --program-transform-name \
1262
| --program-transform-nam | --program-transform-na \
1263
| --program-transform-n | --program-transform- \
1264
| --program-transform | --program-transfor \
1265
| --program-transfo | --program-transf \
1266
| --program-trans | --program-tran \
1267
| --progr-tra | --program-tr | --program-t)
1268
ac_prev=program_transform_name ;;
1269
-program-transform-name=* | --program-transform-name=* \
1270
| --program-transform-nam=* | --program-transform-na=* \
1271
| --program-transform-n=* | --program-transform-=* \
1272
| --program-transform=* | --program-transfor=* \
1273
| --program-transfo=* | --program-transf=* \
1274
| --program-trans=* | --program-tran=* \
1275
| --progr-tra=* | --program-tr=* | --program-t=*)
1276
program_transform_name=$ac_optarg ;;
1278
-pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
1280
-pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
1281
pdfdir=$ac_optarg ;;
1283
-psdir | --psdir | --psdi | --psd | --ps)
1285
-psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
1288
-q | -quiet | --quiet | --quie | --qui | --qu | --q \
1289
| -silent | --silent | --silen | --sile | --sil)
1292
-sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
1294
-sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
1296
sbindir=$ac_optarg ;;
1298
-sharedstatedir | --sharedstatedir | --sharedstatedi \
1299
| --sharedstated | --sharedstate | --sharedstat | --sharedsta \
1300
| --sharedst | --shareds | --shared | --share | --shar \
1302
ac_prev=sharedstatedir ;;
1303
-sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
1304
| --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
1305
| --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
1307
sharedstatedir=$ac_optarg ;;
1309
-site | --site | --sit)
1311
-site=* | --site=* | --sit=*)
1314
-srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
1316
-srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
1317
srcdir=$ac_optarg ;;
1319
-sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
1320
| --syscon | --sysco | --sysc | --sys | --sy)
1321
ac_prev=sysconfdir ;;
1322
-sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
1323
| --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
1324
sysconfdir=$ac_optarg ;;
1326
-target | --target | --targe | --targ | --tar | --ta | --t)
1327
ac_prev=target_alias ;;
1328
-target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
1329
target_alias=$ac_optarg ;;
1331
-v | -verbose | --verbose | --verbos | --verbo | --verb)
1334
-version | --version | --versio | --versi | --vers | -V)
1335
ac_init_version=: ;;
1338
ac_package=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1339
# Reject names that are not valid shell variable names.
1340
expr "x$ac_package" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1341
{ echo "$as_me: error: invalid package name: $ac_package" >&2
1342
{ (exit 1); exit 1; }; }
1343
ac_package=`echo $ac_package | sed 's/[-.]/_/g'`
1344
eval with_$ac_package=\$ac_optarg ;;
1346
-without-* | --without-*)
1347
ac_package=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1348
# Reject names that are not valid shell variable names.
1349
expr "x$ac_package" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1350
{ echo "$as_me: error: invalid package name: $ac_package" >&2
1351
{ (exit 1); exit 1; }; }
1352
ac_package=`echo $ac_package | sed 's/[-.]/_/g'`
1353
eval with_$ac_package=no ;;
1356
# Obsolete; use --with-x.
1359
-x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
1360
| --x-incl | --x-inc | --x-in | --x-i)
1361
ac_prev=x_includes ;;
1362
-x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
1363
| --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
1364
x_includes=$ac_optarg ;;
1366
-x-libraries | --x-libraries | --x-librarie | --x-librari \
1367
| --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
1368
ac_prev=x_libraries ;;
1369
-x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
1370
| --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
1371
x_libraries=$ac_optarg ;;
1373
-*) { echo "$as_me: error: unrecognized option: $ac_option
1374
Try \`$0 --help' for more information." >&2
1375
{ (exit 1); exit 1; }; }
1379
ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
1380
# Reject names that are not valid shell variable names.
1381
expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev/null &&
1382
{ echo "$as_me: error: invalid variable name: $ac_envvar" >&2
1383
{ (exit 1); exit 1; }; }
1384
eval $ac_envvar=\$ac_optarg
1385
export $ac_envvar ;;
1388
# FIXME: should be removed in autoconf 3.0.
1389
echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1390
expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1391
echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1392
: ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
1398
if test -n "$ac_prev"; then
1399
ac_option=--`echo $ac_prev | sed 's/_/-/g'`
1400
{ echo "$as_me: error: missing argument to $ac_option" >&2
1401
{ (exit 1); exit 1; }; }
1404
# Be sure to have absolute directory names.
1405
for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1406
datadir sysconfdir sharedstatedir localstatedir includedir \
1407
oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1408
libdir localedir mandir
1410
eval ac_val=\$$ac_var
1412
[\\/$]* | ?:[\\/]* ) continue;;
1413
NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
1415
{ echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
1416
{ (exit 1); exit 1; }; }
1419
# There might be people who depend on the old broken behavior: `$host'
1420
# used to hold the argument of --host etc.
1421
# FIXME: To remove some day.
1424
target=$target_alias
1426
# FIXME: To remove some day.
1427
if test "x$host_alias" != x; then
1428
if test "x$build_alias" = x; then
1429
cross_compiling=maybe
1430
echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
1431
If a cross compiler is detected then cross compile mode will be used." >&2
1432
elif test "x$build_alias" != "x$host_alias"; then
1438
test -n "$host_alias" && ac_tool_prefix=$host_alias-
1440
test "$silent" = yes && exec 6>/dev/null
1443
ac_pwd=`pwd` && test -n "$ac_pwd" &&
1444
ac_ls_di=`ls -di .` &&
1445
ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
1446
{ echo "$as_me: error: Working directory cannot be determined" >&2
1447
{ (exit 1); exit 1; }; }
1448
test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1449
{ echo "$as_me: error: pwd does not report name of working directory" >&2
1450
{ (exit 1); exit 1; }; }
1453
# Find the source files, if location was not specified.
1454
if test -z "$srcdir"; then
1455
ac_srcdir_defaulted=yes
1456
# Try the directory containing this script, then the parent directory.
1457
ac_confdir=`$as_dirname -- "$0" ||
1458
$as_expr X"$0" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1459
X"$0" : 'X\(//\)[^/]' \| \
1460
X"$0" : 'X\(//\)$' \| \
1461
X"$0" : 'X\(/\)' \| . 2>/dev/null ||
1463
sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1481
if test ! -r "$srcdir/$ac_unique_file"; then
1485
ac_srcdir_defaulted=no
1487
if test ! -r "$srcdir/$ac_unique_file"; then
1488
test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
1489
{ echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2
1490
{ (exit 1); exit 1; }; }
1492
ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
1494
cd "$srcdir" && test -r "./$ac_unique_file" || { echo "$as_me: error: $ac_msg" >&2
1495
{ (exit 1); exit 1; }; }
1497
# When building in place, set srcdir=.
1498
if test "$ac_abs_confdir" = "$ac_pwd"; then
1501
# Remove unnecessary trailing slashes from srcdir.
1502
# Double slashes in file names in object file debugging info
1503
# mess up M-x gdb in Emacs.
1505
*/) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1507
for ac_var in $ac_precious_vars; do
1508
eval ac_env_${ac_var}_set=\${${ac_var}+set}
1509
eval ac_env_${ac_var}_value=\$${ac_var}
1510
eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
1511
eval ac_cv_env_${ac_var}_value=\$${ac_var}
1515
# Report the --help message.
1517
if test "$ac_init_help" = "long"; then
1518
# Omit some internal or obsolete options to make the list less imposing.
1519
# This message is too long to be a string in the A/UX 3.1 sh.
1521
\`configure' configures codeblocks 1.0svn to adapt to many kinds of systems.
1523
Usage: $0 [OPTION]... [VAR=VALUE]...
1525
To assign environment variables (e.g., CC, CFLAGS...), specify them as
1526
VAR=VALUE. See below for descriptions of some of the useful variables.
1528
Defaults for the options are specified in brackets.
1531
-h, --help display this help and exit
1532
--help=short display options specific to this package
1533
--help=recursive display the short help of all the included packages
1534
-V, --version display version information and exit
1535
-q, --quiet, --silent do not print \`checking...' messages
1536
--cache-file=FILE cache test results in FILE [disabled]
1537
-C, --config-cache alias for \`--cache-file=config.cache'
1538
-n, --no-create do not create output files
1539
--srcdir=DIR find the sources in DIR [configure dir or \`..']
1541
Installation directories:
1542
--prefix=PREFIX install architecture-independent files in PREFIX
1543
[$ac_default_prefix]
1544
--exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
1547
By default, \`make install' will install all the files in
1548
\`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
1549
an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1550
for instance \`--prefix=\$HOME'.
1552
For better control, use the options below.
1554
Fine tuning of the installation directories:
1555
--bindir=DIR user executables [EPREFIX/bin]
1556
--sbindir=DIR system admin executables [EPREFIX/sbin]
1557
--libexecdir=DIR program executables [EPREFIX/libexec]
1558
--sysconfdir=DIR read-only single-machine data [PREFIX/etc]
1559
--sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
1560
--localstatedir=DIR modifiable single-machine data [PREFIX/var]
1561
--libdir=DIR object code libraries [EPREFIX/lib]
1562
--includedir=DIR C header files [PREFIX/include]
1563
--oldincludedir=DIR C header files for non-gcc [/usr/include]
1564
--datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
1565
--datadir=DIR read-only architecture-independent data [DATAROOTDIR]
1566
--infodir=DIR info documentation [DATAROOTDIR/info]
1567
--localedir=DIR locale-dependent data [DATAROOTDIR/locale]
1568
--mandir=DIR man documentation [DATAROOTDIR/man]
1569
--docdir=DIR documentation root @<:@DATAROOTDIR/doc/codeblocks@:>@
1570
--htmldir=DIR html documentation [DOCDIR]
1571
--dvidir=DIR dvi documentation [DOCDIR]
1572
--pdfdir=DIR pdf documentation [DOCDIR]
1573
--psdir=DIR ps documentation [DOCDIR]
1579
--program-prefix=PREFIX prepend PREFIX to installed program names
1580
--program-suffix=SUFFIX append SUFFIX to installed program names
1581
--program-transform-name=PROGRAM run sed PROGRAM on installed program names
1584
--build=BUILD configure for building on BUILD [guessed]
1585
--host=HOST cross-compile to build programs to run on HOST [BUILD]
1586
--target=TARGET configure for building compilers for TARGET [HOST]
1590
if test -n "$ac_init_help"; then
1591
case $ac_init_help in
1592
short | recursive ) echo "Configuration of codeblocks 1.0svn:";;
1597
--disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
1598
--enable-FEATURE[=ARG] include FEATURE [ARG=yes]
1599
--disable-dependency-tracking speeds up one-time build
1600
--enable-dependency-tracking do not reject slow dependency extractors
1601
--enable-static@<:@=PKGS@:>@ build static libraries @<:@default=no@:>@
1602
--enable-shared@<:@=PKGS@:>@ build shared libraries @<:@default=yes@:>@
1603
--enable-fast-install@<:@=PKGS@:>@
1604
optimize for fast installation @<:@default=yes@:>@
1605
--disable-libtool-lock avoid locking (might break parallel builds)
1606
--enable-debug turn on debugging (default is OFF)
1607
--enable-source-formatter
1608
build the source formatter plugin (default YES)
1609
--enable-autosave build the autosave plugin (default YES)
1610
--enable-class-wizard build the class wizard plugin (default YES)
1611
--enable-code-completion
1612
build the code completion plugin (default YES)
1613
--enable-compiler build the compiler plugin (default YES)
1614
--enable-debugger build the debugger plugin (default YES)
1615
--enable-mime-handler build the default MIME handler plugin (default YES)
1616
--enable-open-files-list
1617
build the open files list plugin (default YES)
1618
--enable-projects-importer
1619
build the foreign projects importer plugin (default
1621
--enable-scripted-wizard
1622
build the scripted wizard plugin (default YES)
1623
--enable-todo build the to-do plugin (default YES)
1624
--enable-xpmanifest build the xp-manifest plugin (default YES)
1625
--enable-pch use precompiled headers if available (default YES)
1628
--with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
1629
--without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
1630
--with-gnu-ld assume the C compiler uses GNU ld @<:@default=no@:>@
1631
--with-pic try to use only PIC/non-PIC objects @<:@default=use
1633
--with-tags@<:@=TAGS@:>@ include additional configurations @<:@automatic@:>@
1634
--with-platform=PLATFORM
1635
the platform to build, win32, macosx or gtk(default)
1636
--with-contrib-plugins=<list> compile contrib plugins in <list>.
1637
plugins may be separated with commas.
1638
"all" compiles all contrib plugins
1639
"all,-help" compiles all contrib plugins except the help plugin
1640
By default, no contrib plugins are compiled
1641
Plugin names are: AutoVersioning,BrowseTracker,byogames,cbkoders,codesnippets,
1642
codestat,dragscroll,envvars,
1643
help,keybinder,libfinder,profiler,
1644
regex,exporter,symtab,wxsmith
1645
--with-wxdir=PATH Use uninstalled version of wxWidgets in PATH
1646
--with-wx-config=CONFIG wx-config script to use (optional)
1647
--with-wx-prefix=PREFIX Prefix where wxWidgets is installed (optional)
1648
--with-wx-exec-prefix=PREFIX
1649
Exec prefix where wxWidgets is installed (optional)
1651
Some influential environment variables:
1652
CXX C++ compiler command
1653
CXXFLAGS C++ compiler flags
1654
LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
1655
nonstandard directory <lib dir>
1656
LIBS libraries to pass to the linker, e.g. -l<library>
1657
CPPFLAGS C/C++/Objective C preprocessor flags, e.g. -I<include dir> if
1658
you have headers in a nonstandard directory <include dir>
1659
CC C compiler command
1660
CFLAGS C compiler flags
1662
CXXCPP C++ preprocessor
1663
F77 Fortran 77 compiler command
1664
FFLAGS Fortran 77 compiler flags
1665
PKG_CONFIG path to pkg-config utility
1666
GTK2_CFLAGS C compiler flags for GTK2, overriding pkg-config
1667
GTK2_LIBS linker flags for GTK2, overriding pkg-config
1669
Use these variables to override the choices made by `configure' or to help
1670
it to find libraries and programs with nonstandard names/locations.
1676
if test "$ac_init_help" = "recursive"; then
1677
# If there are subdirs, report their specific --help.
1678
for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1679
test -d "$ac_dir" || continue
1683
.) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1685
ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
1686
# A ".." for each directory in $ac_dir_suffix.
1687
ac_top_builddir_sub=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'`
1688
case $ac_top_builddir_sub in
1689
"") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1690
*) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
1693
ac_abs_top_builddir=$ac_pwd
1694
ac_abs_builddir=$ac_pwd$ac_dir_suffix
1695
# for backward compatibility:
1696
ac_top_builddir=$ac_top_build_prefix
1699
.) # We are building in place.
1701
ac_top_srcdir=$ac_top_builddir_sub
1702
ac_abs_top_srcdir=$ac_pwd ;;
1703
[\\/]* | ?:[\\/]* ) # Absolute name.
1704
ac_srcdir=$srcdir$ac_dir_suffix;
1705
ac_top_srcdir=$srcdir
1706
ac_abs_top_srcdir=$srcdir ;;
1708
ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
1709
ac_top_srcdir=$ac_top_build_prefix$srcdir
1710
ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
1712
ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1714
cd "$ac_dir" || { ac_status=$?; continue; }
1715
# Check for guested configure.
1716
if test -f "$ac_srcdir/configure.gnu"; then
1718
$SHELL "$ac_srcdir/configure.gnu" --help=recursive
1719
elif test -f "$ac_srcdir/configure"; then
1721
$SHELL "$ac_srcdir/configure" --help=recursive
1723
echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1725
cd "$ac_pwd" || { ac_status=$?; break; }
1729
test -n "$ac_init_help" && exit $ac_status
1730
if $ac_init_version; then
1732
codeblocks configure 1.0svn
1733
generated by GNU Autoconf 2.61
1735
Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
1736
2002, 2003, 2004, 2005, 2006 Free Software Foundation, Inc.
1737
This configure script is free software; the Free Software Foundation
1738
gives unlimited permission to copy, distribute and modify it.
1742
cat >config.log <<_ACEOF
1743
This file contains any messages produced by compilers while
1744
running configure, to aid debugging if configure makes a mistake.
1746
It was created by codeblocks $as_me 1.0svn, which was
1747
generated by GNU Autoconf 2.61. Invocation command line was
1755
@%:@@%:@ --------- @%:@@%:@
1756
@%:@@%:@ Platform. @%:@@%:@
1757
@%:@@%:@ --------- @%:@@%:@
1759
hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
1760
uname -m = `(uname -m) 2>/dev/null || echo unknown`
1761
uname -r = `(uname -r) 2>/dev/null || echo unknown`
1762
uname -s = `(uname -s) 2>/dev/null || echo unknown`
1763
uname -v = `(uname -v) 2>/dev/null || echo unknown`
1765
/usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
1766
/bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
1768
/bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
1769
/usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
1770
/usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
1771
/usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
1772
/bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
1773
/usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
1774
/bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
1778
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1782
test -z "$as_dir" && as_dir=.
1783
echo "PATH: $as_dir"
1792
@%:@@%:@ ----------- @%:@@%:@
1793
@%:@@%:@ Core tests. @%:@@%:@
1794
@%:@@%:@ ----------- @%:@@%:@
1799
# Keep a trace of the command line.
1800
# Strip out --no-create and --no-recursion so they do not pile up.
1801
# Strip out --silent because we don't want to record it for future runs.
1802
# Also quote any args containing shell meta-characters.
1803
# Make two passes to allow for proper duplicate-argument suppression.
1807
ac_must_keep_next=false
1813
-no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
1814
-q | -quiet | --quiet | --quie | --qui | --qu | --q \
1815
| -silent | --silent | --silen | --sile | --sil)
1818
ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
1821
1) ac_configure_args0="$ac_configure_args0 '$ac_arg'" ;;
1823
ac_configure_args1="$ac_configure_args1 '$ac_arg'"
1824
if test $ac_must_keep_next = true; then
1825
ac_must_keep_next=false # Got value, back to normal.
1828
*=* | --config-cache | -C | -disable-* | --disable-* \
1829
| -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
1830
| -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
1831
| -with-* | --with-* | -without-* | --without-* | --x)
1832
case "$ac_configure_args0 " in
1833
"$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
1836
-* ) ac_must_keep_next=true ;;
1839
ac_configure_args="$ac_configure_args '$ac_arg'"
1844
$as_unset ac_configure_args0 || test "${ac_configure_args0+set}" != set || { ac_configure_args0=; export ac_configure_args0; }
1845
$as_unset ac_configure_args1 || test "${ac_configure_args1+set}" != set || { ac_configure_args1=; export ac_configure_args1; }
1847
# When interrupted or exit'd, cleanup temporary files, and complete
1848
# config.log. We remove comments because anyway the quotes in there
1849
# would cause problems or look ugly.
1850
# WARNING: Use '\'' to represent an apostrophe within the trap.
1851
# WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
1852
trap 'exit_status=$?
1853
# Save into config.log some information that might help in debugging.
1858
@%:@@%:@ ---------------- @%:@@%:@
1859
@%:@@%:@ Cache variables. @%:@@%:@
1860
@%:@@%:@ ---------------- @%:@@%:@
1863
# The following way of writing the cache mishandles newlines in values,
1865
for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
1866
eval ac_val=\$$ac_var
1870
*_cv_*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
1871
echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
1874
_ | IFS | as_nl) ;; #(
1875
*) $as_unset $ac_var ;;
1880
case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
1881
*${as_nl}ac_space=\ *)
1883
"s/'\''/'\''\\\\'\'''\''/g;
1884
s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
1887
sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
1895
@%:@@%:@ ----------------- @%:@@%:@
1896
@%:@@%:@ Output variables. @%:@@%:@
1897
@%:@@%:@ ----------------- @%:@@%:@
1900
for ac_var in $ac_subst_vars
1902
eval ac_val=\$$ac_var
1904
*\'\''*) ac_val=`echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1906
echo "$ac_var='\''$ac_val'\''"
1910
if test -n "$ac_subst_files"; then
1912
@%:@@%:@ ------------------- @%:@@%:@
1913
@%:@@%:@ File substitutions. @%:@@%:@
1914
@%:@@%:@ ------------------- @%:@@%:@
1917
for ac_var in $ac_subst_files
1919
eval ac_val=\$$ac_var
1921
*\'\''*) ac_val=`echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1923
echo "$ac_var='\''$ac_val'\''"
1928
if test -s confdefs.h; then
1930
@%:@@%:@ ----------- @%:@@%:@
1931
@%:@@%:@ confdefs.h. @%:@@%:@
1932
@%:@@%:@ ----------- @%:@@%:@
1938
test "$ac_signal" != 0 &&
1939
echo "$as_me: caught signal $ac_signal"
1940
echo "$as_me: exit $exit_status"
1942
rm -f core *.core core.conftest.* &&
1943
rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
1946
for ac_signal in 1 2 13 15; do
1947
trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
1951
# confdefs.h avoids OS command line length limits that DEFS can exceed.
1952
rm -f -r conftest* confdefs.h
1954
# Predefined preprocessor variables.
1956
cat >>confdefs.h <<_ACEOF
1957
@%:@define PACKAGE_NAME "$PACKAGE_NAME"
1961
cat >>confdefs.h <<_ACEOF
1962
@%:@define PACKAGE_TARNAME "$PACKAGE_TARNAME"
1966
cat >>confdefs.h <<_ACEOF
1967
@%:@define PACKAGE_VERSION "$PACKAGE_VERSION"
1971
cat >>confdefs.h <<_ACEOF
1972
@%:@define PACKAGE_STRING "$PACKAGE_STRING"
1976
cat >>confdefs.h <<_ACEOF
1977
@%:@define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
1981
# Let the site file select an alternate cache file if it wants to.
1982
# Prefer explicitly selected file to automatically selected ones.
1983
if test -n "$CONFIG_SITE"; then
1984
set x "$CONFIG_SITE"
1985
elif test "x$prefix" != xNONE; then
1986
set x "$prefix/share/config.site" "$prefix/etc/config.site"
1988
set x "$ac_default_prefix/share/config.site" \
1989
"$ac_default_prefix/etc/config.site"
1994
if test -r "$ac_site_file"; then
1995
{ echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
1996
echo "$as_me: loading site script $ac_site_file" >&6;}
1997
sed 's/^/| /' "$ac_site_file" >&5
2002
if test -r "$cache_file"; then
2003
# Some versions of bash will fail to source /dev/null (special
2004
# files actually), so we avoid doing that.
2005
if test -f "$cache_file"; then
2006
{ echo "$as_me:$LINENO: loading cache $cache_file" >&5
2007
echo "$as_me: loading cache $cache_file" >&6;}
2009
[\\/]* | ?:[\\/]* ) . "$cache_file";;
2010
*) . "./$cache_file";;
2014
{ echo "$as_me:$LINENO: creating cache $cache_file" >&5
2015
echo "$as_me: creating cache $cache_file" >&6;}
2019
# Check that the precious variables saved in the cache have kept the same
2021
ac_cache_corrupted=false
2022
for ac_var in $ac_precious_vars; do
2023
eval ac_old_set=\$ac_cv_env_${ac_var}_set
2024
eval ac_new_set=\$ac_env_${ac_var}_set
2025
eval ac_old_val=\$ac_cv_env_${ac_var}_value
2026
eval ac_new_val=\$ac_env_${ac_var}_value
2027
case $ac_old_set,$ac_new_set in
2029
{ echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
2030
echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
2031
ac_cache_corrupted=: ;;
2033
{ echo "$as_me:$LINENO: error: \`$ac_var' was not set in the previous run" >&5
2034
echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
2035
ac_cache_corrupted=: ;;
2038
if test "x$ac_old_val" != "x$ac_new_val"; then
2039
{ echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5
2040
echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
2041
{ echo "$as_me:$LINENO: former value: $ac_old_val" >&5
2042
echo "$as_me: former value: $ac_old_val" >&2;}
2043
{ echo "$as_me:$LINENO: current value: $ac_new_val" >&5
2044
echo "$as_me: current value: $ac_new_val" >&2;}
2045
ac_cache_corrupted=:
2048
# Pass precious variables to config.status.
2049
if test "$ac_new_set" = set; then
2051
*\'*) ac_arg=$ac_var=`echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
2052
*) ac_arg=$ac_var=$ac_new_val ;;
2054
case " $ac_configure_args " in
2055
*" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
2056
*) ac_configure_args="$ac_configure_args '$ac_arg'" ;;
2060
if $ac_cache_corrupted; then
2061
{ echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5
2062
echo "$as_me: error: changes in the environment can compromise the build" >&2;}
2063
{ { echo "$as_me:$LINENO: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5
2064
echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;}
2065
{ (exit 1); exit 1; }; }
2093
ac_cpp='$CPP $CPPFLAGS'
2094
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2095
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2096
ac_compiler_gnu=$ac_cv_c_compiler_gnu
2101
for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
2102
if test -f "$ac_dir/install-sh"; then
2104
ac_install_sh="$ac_aux_dir/install-sh -c"
2106
elif test -f "$ac_dir/install.sh"; then
2108
ac_install_sh="$ac_aux_dir/install.sh -c"
2110
elif test -f "$ac_dir/shtool"; then
2112
ac_install_sh="$ac_aux_dir/shtool install -c"
2116
if test -z "$ac_aux_dir"; then
2117
{ { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" >&5
2118
echo "$as_me: error: cannot find install-sh or install.sh in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" >&2;}
2119
{ (exit 1); exit 1; }; }
2122
# These three variables are undocumented and unsupported,
2123
# and are intended to be withdrawn in a future Autoconf release.
2124
# They can cause serious problems if a builder's source tree is in a directory
2125
# whose full name contains unusual characters.
2126
ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
2127
ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
2128
ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var.
2131
# Make sure we can run config.sub.
2132
$SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
2133
{ { echo "$as_me:$LINENO: error: cannot run $SHELL $ac_aux_dir/config.sub" >&5
2134
echo "$as_me: error: cannot run $SHELL $ac_aux_dir/config.sub" >&2;}
2135
{ (exit 1); exit 1; }; }
2137
{ echo "$as_me:$LINENO: checking build system type" >&5
2138
echo $ECHO_N "checking build system type... $ECHO_C" >&6; }
2139
if test "${ac_cv_build+set}" = set; then
2140
echo $ECHO_N "(cached) $ECHO_C" >&6
2142
ac_build_alias=$build_alias
2143
test "x$ac_build_alias" = x &&
2144
ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
2145
test "x$ac_build_alias" = x &&
2146
{ { echo "$as_me:$LINENO: error: cannot guess build type; you must specify one" >&5
2147
echo "$as_me: error: cannot guess build type; you must specify one" >&2;}
2148
{ (exit 1); exit 1; }; }
2149
ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
2150
{ { echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&5
2151
echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&2;}
2152
{ (exit 1); exit 1; }; }
2155
{ echo "$as_me:$LINENO: result: $ac_cv_build" >&5
2156
echo "${ECHO_T}$ac_cv_build" >&6; }
2157
case $ac_cv_build in
2159
*) { { echo "$as_me:$LINENO: error: invalid value of canonical build" >&5
2160
echo "$as_me: error: invalid value of canonical build" >&2;}
2161
{ (exit 1); exit 1; }; };;
2164
ac_save_IFS=$IFS; IFS='-'
2170
# Remember, the first character of IFS is used to create $*,
2171
# except with old shells:
2174
case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
2177
{ echo "$as_me:$LINENO: checking host system type" >&5
2178
echo $ECHO_N "checking host system type... $ECHO_C" >&6; }
2179
if test "${ac_cv_host+set}" = set; then
2180
echo $ECHO_N "(cached) $ECHO_C" >&6
2182
if test "x$host_alias" = x; then
2183
ac_cv_host=$ac_cv_build
2185
ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
2186
{ { echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&5
2187
echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&2;}
2188
{ (exit 1); exit 1; }; }
2192
{ echo "$as_me:$LINENO: result: $ac_cv_host" >&5
2193
echo "${ECHO_T}$ac_cv_host" >&6; }
2196
*) { { echo "$as_me:$LINENO: error: invalid value of canonical host" >&5
2197
echo "$as_me: error: invalid value of canonical host" >&2;}
2198
{ (exit 1); exit 1; }; };;
2201
ac_save_IFS=$IFS; IFS='-'
2207
# Remember, the first character of IFS is used to create $*,
2208
# except with old shells:
2211
case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
2214
{ echo "$as_me:$LINENO: checking target system type" >&5
2215
echo $ECHO_N "checking target system type... $ECHO_C" >&6; }
2216
if test "${ac_cv_target+set}" = set; then
2217
echo $ECHO_N "(cached) $ECHO_C" >&6
2219
if test "x$target_alias" = x; then
2220
ac_cv_target=$ac_cv_host
2222
ac_cv_target=`$SHELL "$ac_aux_dir/config.sub" $target_alias` ||
2223
{ { echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $target_alias failed" >&5
2224
echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $target_alias failed" >&2;}
2225
{ (exit 1); exit 1; }; }
2229
{ echo "$as_me:$LINENO: result: $ac_cv_target" >&5
2230
echo "${ECHO_T}$ac_cv_target" >&6; }
2231
case $ac_cv_target in
2233
*) { { echo "$as_me:$LINENO: error: invalid value of canonical target" >&5
2234
echo "$as_me: error: invalid value of canonical target" >&2;}
2235
{ (exit 1); exit 1; }; };;
2237
target=$ac_cv_target
2238
ac_save_IFS=$IFS; IFS='-'
2244
# Remember, the first character of IFS is used to create $*,
2245
# except with old shells:
2248
case $target_os in *\ *) target_os=`echo "$target_os" | sed 's/ /-/g'`;; esac
2251
# The aliases save the names the user supplied, while $host etc.
2252
# will get canonicalized.
2253
test -n "$target_alias" &&
2254
test "$program_prefix$program_suffix$program_transform_name" = \
2256
program_prefix=${target_alias}-
2258
am__api_version='1.10'
2260
# Find a good install program. We prefer a C program (faster),
2261
# so one script is as good as another. But avoid the broken or
2262
# incompatible versions:
2263
# SysV /etc/install, /usr/sbin/install
2264
# SunOS /usr/etc/install
2265
# IRIX /sbin/install
2267
# AmigaOS /C/install, which installs bootblocks on floppy discs
2268
# AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
2269
# AFS /usr/afsws/bin/install, which mishandles nonexistent args
2270
# SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
2271
# OS/2's system install, which has a completely different semantic
2272
# ./install, which can be erroneously created by make from ./install.sh.
2273
{ echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
2274
echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6; }
2275
if test -z "$INSTALL"; then
2276
if test "${ac_cv_path_install+set}" = set; then
2277
echo $ECHO_N "(cached) $ECHO_C" >&6
2279
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2283
test -z "$as_dir" && as_dir=.
2284
# Account for people who put trailing slashes in PATH elements.
2286
./ | .// | /cC/* | \
2287
/etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
2288
?:\\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \
2291
# OSF1 and SCO ODT 3.0 have their own names for install.
2292
# Don't use installbsd from OSF since it installs stuff as root
2294
for ac_prog in ginstall scoinst install; do
2295
for ac_exec_ext in '' $ac_executable_extensions; do
2296
if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
2297
if test $ac_prog = install &&
2298
grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
2299
# AIX install. It has an incompatible calling convention.
2301
elif test $ac_prog = install &&
2302
grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
2303
# program-specific install script used by HP pwplus--don't use.
2306
ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
2319
if test "${ac_cv_path_install+set}" = set; then
2320
INSTALL=$ac_cv_path_install
2322
# As a last resort, use the slow shell script. Don't cache a
2323
# value for INSTALL within a source directory, because that will
2324
# break other packages using the cache if that directory is
2325
# removed, or if the value is a relative name.
2326
INSTALL=$ac_install_sh
2329
{ echo "$as_me:$LINENO: result: $INSTALL" >&5
2330
echo "${ECHO_T}$INSTALL" >&6; }
2332
# Use test -z because SunOS4 sh mishandles braces in ${var-val}.
2333
# It thinks the first close brace ends the variable substitution.
2334
test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
2336
test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
2338
test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
2340
{ echo "$as_me:$LINENO: checking whether build environment is sane" >&5
2341
echo $ECHO_N "checking whether build environment is sane... $ECHO_C" >&6; }
2344
echo timestamp > conftest.file
2345
# Do `set' in a subshell so we don't clobber the current shell's
2346
# arguments. Must try -L first in case configure is actually a
2347
# symlink; some systems play weird games with the mod time of symlinks
2348
# (eg FreeBSD returns the mod time of the symlink's containing
2351
set X `ls -Lt $srcdir/configure conftest.file 2> /dev/null`
2352
if test "$*" = "X"; then
2354
set X `ls -t $srcdir/configure conftest.file`
2357
if test "$*" != "X $srcdir/configure conftest.file" \
2358
&& test "$*" != "X conftest.file $srcdir/configure"; then
2360
# If neither matched, then we have a broken ls. This can happen
2361
# if, for instance, CONFIG_SHELL is bash and it inherits a
2362
# broken ls alias from the environment. This has actually
2363
# happened. Such a system could not be considered "sane".
2364
{ { echo "$as_me:$LINENO: error: ls -t appears to fail. Make sure there is not a broken
2365
alias in your environment" >&5
2366
echo "$as_me: error: ls -t appears to fail. Make sure there is not a broken
2367
alias in your environment" >&2;}
2368
{ (exit 1); exit 1; }; }
2371
test "$2" = conftest.file
2377
{ { echo "$as_me:$LINENO: error: newly created file is older than distributed files!
2378
Check your system clock" >&5
2379
echo "$as_me: error: newly created file is older than distributed files!
2380
Check your system clock" >&2;}
2381
{ (exit 1); exit 1; }; }
2383
{ echo "$as_me:$LINENO: result: yes" >&5
2384
echo "${ECHO_T}yes" >&6; }
2385
test "$program_prefix" != NONE &&
2386
program_transform_name="s&^&$program_prefix&;$program_transform_name"
2387
# Use a double $ so make ignores it.
2388
test "$program_suffix" != NONE &&
2389
program_transform_name="s&\$&$program_suffix&;$program_transform_name"
2390
# Double any \ or $. echo might interpret backslashes.
2391
# By default was `s,x,x', remove it if useless.
2392
cat <<\_ACEOF >conftest.sed
2393
s/[\\$]/&&/g;s/;s,x,x,$//
2395
program_transform_name=`echo $program_transform_name | sed -f conftest.sed`
2398
# expand $ac_aux_dir to an absolute path
2399
am_aux_dir=`cd $ac_aux_dir && pwd`
2401
test x"${MISSING+set}" = xset || MISSING="\${SHELL} $am_aux_dir/missing"
2402
# Use eval to expand $SHELL
2403
if eval "$MISSING --run true"; then
2404
am_missing_run="$MISSING --run "
2407
{ echo "$as_me:$LINENO: WARNING: \`missing' script is too old or missing" >&5
2408
echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;}
2411
{ echo "$as_me:$LINENO: checking for a thread-safe mkdir -p" >&5
2412
echo $ECHO_N "checking for a thread-safe mkdir -p... $ECHO_C" >&6; }
2413
if test -z "$MKDIR_P"; then
2414
if test "${ac_cv_path_mkdir+set}" = set; then
2415
echo $ECHO_N "(cached) $ECHO_C" >&6
2417
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2418
for as_dir in $PATH$PATH_SEPARATOR/opt/sfw/bin
2421
test -z "$as_dir" && as_dir=.
2422
for ac_prog in mkdir gmkdir; do
2423
for ac_exec_ext in '' $ac_executable_extensions; do
2424
{ test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; } || continue
2425
case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #(
2426
'mkdir (GNU coreutils) '* | \
2427
'mkdir (coreutils) '* | \
2428
'mkdir (fileutils) '4.1*)
2429
ac_cv_path_mkdir=$as_dir/$ac_prog$ac_exec_ext
2439
if test "${ac_cv_path_mkdir+set}" = set; then
2440
MKDIR_P="$ac_cv_path_mkdir -p"
2442
# As a last resort, use the slow shell script. Don't cache a
2443
# value for MKDIR_P within a source directory, because that will
2444
# break other packages using the cache if that directory is
2445
# removed, or if the value is a relative name.
2446
test -d ./--version && rmdir ./--version
2447
MKDIR_P="$ac_install_sh -d"
2450
{ echo "$as_me:$LINENO: result: $MKDIR_P" >&5
2451
echo "${ECHO_T}$MKDIR_P" >&6; }
2455
[\\/$]* | ?:[\\/]*) ;;
2456
*/*) mkdir_p="\$(top_builddir)/$mkdir_p" ;;
2459
for ac_prog in gawk mawk nawk awk
2461
# Extract the first word of "$ac_prog", so it can be a program name with args.
2462
set dummy $ac_prog; ac_word=$2
2463
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
2464
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2465
if test "${ac_cv_prog_AWK+set}" = set; then
2466
echo $ECHO_N "(cached) $ECHO_C" >&6
2468
if test -n "$AWK"; then
2469
ac_cv_prog_AWK="$AWK" # Let the user override the test.
2471
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2475
test -z "$as_dir" && as_dir=.
2476
for ac_exec_ext in '' $ac_executable_extensions; do
2477
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2478
ac_cv_prog_AWK="$ac_prog"
2479
echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2489
if test -n "$AWK"; then
2490
{ echo "$as_me:$LINENO: result: $AWK" >&5
2491
echo "${ECHO_T}$AWK" >&6; }
2493
{ echo "$as_me:$LINENO: result: no" >&5
2494
echo "${ECHO_T}no" >&6; }
2498
test -n "$AWK" && break
2501
{ echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
2502
echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6; }
2503
set x ${MAKE-make}; ac_make=`echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
2504
if { as_var=ac_cv_prog_make_${ac_make}_set; eval "test \"\${$as_var+set}\" = set"; }; then
2505
echo $ECHO_N "(cached) $ECHO_C" >&6
2507
cat >conftest.make <<\_ACEOF
2510
@echo '@@@%%%=$(MAKE)=@@@%%%'
2512
# GNU make sometimes prints "make[1]: Entering...", which would confuse us.
2513
case `${MAKE-make} -f conftest.make 2>/dev/null` in
2515
eval ac_cv_prog_make_${ac_make}_set=yes;;
2517
eval ac_cv_prog_make_${ac_make}_set=no;;
2521
if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
2522
{ echo "$as_me:$LINENO: result: yes" >&5
2523
echo "${ECHO_T}yes" >&6; }
2526
{ echo "$as_me:$LINENO: result: no" >&5
2527
echo "${ECHO_T}no" >&6; }
2528
SET_MAKE="MAKE=${MAKE-make}"
2531
rm -rf .tst 2>/dev/null
2532
mkdir .tst 2>/dev/null
2533
if test -d .tst; then
2538
rmdir .tst 2>/dev/null
2540
if test "`cd $srcdir && pwd`" != "`pwd`"; then
2541
# Use -I$(srcdir) only when $(srcdir) != ., so that make's output
2542
# is not polluted with repeated "-I."
2543
am__isrc=' -I$(srcdir)'
2544
# test to see if srcdir already configured
2545
if test -f $srcdir/config.status; then
2546
{ { echo "$as_me:$LINENO: error: source directory already configured; run \"make distclean\" there first" >&5
2547
echo "$as_me: error: source directory already configured; run \"make distclean\" there first" >&2;}
2548
{ (exit 1); exit 1; }; }
2552
# test whether we have cygpath
2553
if test -z "$CYGPATH_W"; then
2554
if (cygpath --version) >/dev/null 2>/dev/null; then
2555
CYGPATH_W='cygpath -w'
2562
# Define the identity of the package.
2563
PACKAGE='codeblocks'
2567
cat >>confdefs.h <<_ACEOF
2568
@%:@define PACKAGE "$PACKAGE"
2572
cat >>confdefs.h <<_ACEOF
2573
@%:@define VERSION "$VERSION"
2576
# Some tools Automake needs.
2578
ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
2581
AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}
2584
AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
2587
AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"}
2590
MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
2592
install_sh=${install_sh-"\$(SHELL) $am_aux_dir/install-sh"}
2594
# Installed binaries are usually stripped using `strip' when the user
2595
# run `make install-strip'. However `strip' might not be the right
2596
# tool to use in cross-compilation environments, therefore Automake
2597
# will honor the `STRIP' environment variable to overrule this program.
2598
if test "$cross_compiling" != no; then
2599
if test -n "$ac_tool_prefix"; then
2600
# Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
2601
set dummy ${ac_tool_prefix}strip; ac_word=$2
2602
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
2603
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2604
if test "${ac_cv_prog_STRIP+set}" = set; then
2605
echo $ECHO_N "(cached) $ECHO_C" >&6
2607
if test -n "$STRIP"; then
2608
ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
2610
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2614
test -z "$as_dir" && as_dir=.
2615
for ac_exec_ext in '' $ac_executable_extensions; do
2616
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2617
ac_cv_prog_STRIP="${ac_tool_prefix}strip"
2618
echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2627
STRIP=$ac_cv_prog_STRIP
2628
if test -n "$STRIP"; then
2629
{ echo "$as_me:$LINENO: result: $STRIP" >&5
2630
echo "${ECHO_T}$STRIP" >&6; }
2632
{ echo "$as_me:$LINENO: result: no" >&5
2633
echo "${ECHO_T}no" >&6; }
2638
if test -z "$ac_cv_prog_STRIP"; then
2640
# Extract the first word of "strip", so it can be a program name with args.
2641
set dummy strip; ac_word=$2
2642
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
2643
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2644
if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
2645
echo $ECHO_N "(cached) $ECHO_C" >&6
2647
if test -n "$ac_ct_STRIP"; then
2648
ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
2650
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2654
test -z "$as_dir" && as_dir=.
2655
for ac_exec_ext in '' $ac_executable_extensions; do
2656
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2657
ac_cv_prog_ac_ct_STRIP="strip"
2658
echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2667
ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
2668
if test -n "$ac_ct_STRIP"; then
2669
{ echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
2670
echo "${ECHO_T}$ac_ct_STRIP" >&6; }
2672
{ echo "$as_me:$LINENO: result: no" >&5
2673
echo "${ECHO_T}no" >&6; }
2676
if test "x$ac_ct_STRIP" = x; then
2679
case $cross_compiling:$ac_tool_warned in
2681
{ echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
2682
whose name does not start with the host triplet. If you think this
2683
configuration is useful to you, please write to autoconf@gnu.org." >&5
2684
echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
2685
whose name does not start with the host triplet. If you think this
2686
configuration is useful to you, please write to autoconf@gnu.org." >&2;}
2687
ac_tool_warned=yes ;;
2692
STRIP="$ac_cv_prog_STRIP"
2696
INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s"
2698
# We need awk for the "check" target. The system "awk" is bad on
2700
# Always define AMTAR for backward compatibility.
2702
AMTAR=${AMTAR-"${am_missing_run}tar"}
2704
am__tar='${AMTAR} chf - "$$tardir"'; am__untar='${AMTAR} xf -'
2710
ac_config_headers="$ac_config_headers src/include/config.h"
2714
ac_cpp='$CXXCPP $CPPFLAGS'
2715
ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2716
ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2717
ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
2718
if test -z "$CXX"; then
2719
if test -n "$CCC"; then
2722
if test -n "$ac_tool_prefix"; then
2723
for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
2725
# Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
2726
set dummy $ac_tool_prefix$ac_prog; ac_word=$2
2727
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
2728
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2729
if test "${ac_cv_prog_CXX+set}" = set; then
2730
echo $ECHO_N "(cached) $ECHO_C" >&6
2732
if test -n "$CXX"; then
2733
ac_cv_prog_CXX="$CXX" # Let the user override the test.
2735
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2739
test -z "$as_dir" && as_dir=.
2740
for ac_exec_ext in '' $ac_executable_extensions; do
2741
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2742
ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
2743
echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2753
if test -n "$CXX"; then
2754
{ echo "$as_me:$LINENO: result: $CXX" >&5
2755
echo "${ECHO_T}$CXX" >&6; }
2757
{ echo "$as_me:$LINENO: result: no" >&5
2758
echo "${ECHO_T}no" >&6; }
2762
test -n "$CXX" && break
2765
if test -z "$CXX"; then
2767
for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
2769
# Extract the first word of "$ac_prog", so it can be a program name with args.
2770
set dummy $ac_prog; ac_word=$2
2771
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
2772
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2773
if test "${ac_cv_prog_ac_ct_CXX+set}" = set; then
2774
echo $ECHO_N "(cached) $ECHO_C" >&6
2776
if test -n "$ac_ct_CXX"; then
2777
ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
2779
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2783
test -z "$as_dir" && as_dir=.
2784
for ac_exec_ext in '' $ac_executable_extensions; do
2785
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2786
ac_cv_prog_ac_ct_CXX="$ac_prog"
2787
echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2796
ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
2797
if test -n "$ac_ct_CXX"; then
2798
{ echo "$as_me:$LINENO: result: $ac_ct_CXX" >&5
2799
echo "${ECHO_T}$ac_ct_CXX" >&6; }
2801
{ echo "$as_me:$LINENO: result: no" >&5
2802
echo "${ECHO_T}no" >&6; }
2806
test -n "$ac_ct_CXX" && break
2809
if test "x$ac_ct_CXX" = x; then
2812
case $cross_compiling:$ac_tool_warned in
2814
{ echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
2815
whose name does not start with the host triplet. If you think this
2816
configuration is useful to you, please write to autoconf@gnu.org." >&5
2817
echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
2818
whose name does not start with the host triplet. If you think this
2819
configuration is useful to you, please write to autoconf@gnu.org." >&2;}
2820
ac_tool_warned=yes ;;
2828
# Provide some information about the compiler.
2829
echo "$as_me:$LINENO: checking for C++ compiler version" >&5
2830
ac_compiler=`set X $ac_compile; echo $2`
2831
{ (ac_try="$ac_compiler --version >&5"
2833
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2834
*) ac_try_echo=$ac_try;;
2836
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2837
(eval "$ac_compiler --version >&5") 2>&5
2839
echo "$as_me:$LINENO: \$? = $ac_status" >&5
2840
(exit $ac_status); }
2841
{ (ac_try="$ac_compiler -v >&5"
2843
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2844
*) ac_try_echo=$ac_try;;
2846
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2847
(eval "$ac_compiler -v >&5") 2>&5
2849
echo "$as_me:$LINENO: \$? = $ac_status" >&5
2850
(exit $ac_status); }
2851
{ (ac_try="$ac_compiler -V >&5"
2853
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2854
*) ac_try_echo=$ac_try;;
2856
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2857
(eval "$ac_compiler -V >&5") 2>&5
2859
echo "$as_me:$LINENO: \$? = $ac_status" >&5
2860
(exit $ac_status); }
2862
cat >conftest.$ac_ext <<_ACEOF
2865
cat confdefs.h >>conftest.$ac_ext
2866
cat >>conftest.$ac_ext <<_ACEOF
2867
/* end confdefs.h. */
2877
ac_clean_files_save=$ac_clean_files
2878
ac_clean_files="$ac_clean_files a.out a.exe b.out"
2879
# Try to create an executable without -o first, disregard a.out.
2880
# It will help us diagnose broken compilers, and finding out an intuition
2882
{ echo "$as_me:$LINENO: checking for C++ compiler default output file name" >&5
2883
echo $ECHO_N "checking for C++ compiler default output file name... $ECHO_C" >&6; }
2884
ac_link_default=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
2886
# List of possible output files, starting from the most likely.
2887
# The algorithm is not robust to junk in `.', hence go to wildcards (a.*)
2888
# only as a last resort. b.out is created by i960 compilers.
2889
ac_files='a_out.exe a.exe conftest.exe a.out conftest a.* conftest.* b.out'
2891
# The IRIX 6 linker writes into existing files which may not be
2892
# executable, retaining their permissions. Remove them first so a
2893
# subsequent execution test works.
2895
for ac_file in $ac_files
2898
*.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj ) ;;
2899
* ) ac_rmfiles="$ac_rmfiles $ac_file";;
2904
if { (ac_try="$ac_link_default"
2906
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2907
*) ac_try_echo=$ac_try;;
2909
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2910
(eval "$ac_link_default") 2>&5
2912
echo "$as_me:$LINENO: \$? = $ac_status" >&5
2913
(exit $ac_status); }; then
2914
# Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
2915
# So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
2916
# in a Makefile. We should not override ac_cv_exeext if it was cached,
2917
# so that the user can short-circuit this test for compilers unknown to
2919
for ac_file in $ac_files ''
2921
test -f "$ac_file" || continue
2923
*.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj )
2926
# We found the default executable, but exeext='' is most
2930
if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
2932
ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
2934
# We set ac_cv_exeext here because the later test for it is not
2935
# safe: cross compilers may not add the suffix if given an `-o'
2936
# argument, so we may need to know it at that point already.
2937
# Even if this section looks crufty: it has the advantage of
2944
test "$ac_cv_exeext" = no && ac_cv_exeext=
2950
{ echo "$as_me:$LINENO: result: $ac_file" >&5
2951
echo "${ECHO_T}$ac_file" >&6; }
2952
if test -z "$ac_file"; then
2953
echo "$as_me: failed program was:" >&5
2954
sed 's/^/| /' conftest.$ac_ext >&5
2956
{ { echo "$as_me:$LINENO: error: C++ compiler cannot create executables
2957
See \`config.log' for more details." >&5
2958
echo "$as_me: error: C++ compiler cannot create executables
2959
See \`config.log' for more details." >&2;}
2960
{ (exit 77); exit 77; }; }
2963
ac_exeext=$ac_cv_exeext
2965
# Check that the compiler produces executables we can run. If not, either
2966
# the compiler is broken, or we cross compile.
2967
{ echo "$as_me:$LINENO: checking whether the C++ compiler works" >&5
2968
echo $ECHO_N "checking whether the C++ compiler works... $ECHO_C" >&6; }
2969
# FIXME: These cross compiler hacks should be removed for Autoconf 3.0
2970
# If not cross compiling, check that we can run a simple program.
2971
if test "$cross_compiling" != yes; then
2972
if { ac_try='./$ac_file'
2973
{ (case "(($ac_try" in
2974
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2975
*) ac_try_echo=$ac_try;;
2977
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2978
(eval "$ac_try") 2>&5
2980
echo "$as_me:$LINENO: \$? = $ac_status" >&5
2981
(exit $ac_status); }; }; then
2984
if test "$cross_compiling" = maybe; then
2987
{ { echo "$as_me:$LINENO: error: cannot run C++ compiled programs.
2988
If you meant to cross compile, use \`--host'.
2989
See \`config.log' for more details." >&5
2990
echo "$as_me: error: cannot run C++ compiled programs.
2991
If you meant to cross compile, use \`--host'.
2992
See \`config.log' for more details." >&2;}
2993
{ (exit 1); exit 1; }; }
2997
{ echo "$as_me:$LINENO: result: yes" >&5
2998
echo "${ECHO_T}yes" >&6; }
3000
rm -f a.out a.exe conftest$ac_cv_exeext b.out
3001
ac_clean_files=$ac_clean_files_save
3002
# Check that the compiler produces executables we can run. If not, either
3003
# the compiler is broken, or we cross compile.
3004
{ echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
3005
echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6; }
3006
{ echo "$as_me:$LINENO: result: $cross_compiling" >&5
3007
echo "${ECHO_T}$cross_compiling" >&6; }
3009
{ echo "$as_me:$LINENO: checking for suffix of executables" >&5
3010
echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6; }
3011
if { (ac_try="$ac_link"
3013
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3014
*) ac_try_echo=$ac_try;;
3016
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3017
(eval "$ac_link") 2>&5
3019
echo "$as_me:$LINENO: \$? = $ac_status" >&5
3020
(exit $ac_status); }; then
3021
# If both `conftest.exe' and `conftest' are `present' (well, observable)
3022
# catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
3023
# work properly (i.e., refer to `conftest.exe'), while it won't with
3025
for ac_file in conftest.exe conftest conftest.*; do
3026
test -f "$ac_file" || continue
3028
*.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj ) ;;
3029
*.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
3035
{ { echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link
3036
See \`config.log' for more details." >&5
3037
echo "$as_me: error: cannot compute suffix of executables: cannot compile and link
3038
See \`config.log' for more details." >&2;}
3039
{ (exit 1); exit 1; }; }
3042
rm -f conftest$ac_cv_exeext
3043
{ echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
3044
echo "${ECHO_T}$ac_cv_exeext" >&6; }
3046
rm -f conftest.$ac_ext
3047
EXEEXT=$ac_cv_exeext
3049
{ echo "$as_me:$LINENO: checking for suffix of object files" >&5
3050
echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6; }
3051
if test "${ac_cv_objext+set}" = set; then
3052
echo $ECHO_N "(cached) $ECHO_C" >&6
3054
cat >conftest.$ac_ext <<_ACEOF
3057
cat confdefs.h >>conftest.$ac_ext
3058
cat >>conftest.$ac_ext <<_ACEOF
3059
/* end confdefs.h. */
3069
rm -f conftest.o conftest.obj
3070
if { (ac_try="$ac_compile"
3072
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3073
*) ac_try_echo=$ac_try;;
3075
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3076
(eval "$ac_compile") 2>&5
3078
echo "$as_me:$LINENO: \$? = $ac_status" >&5
3079
(exit $ac_status); }; then
3080
for ac_file in conftest.o conftest.obj conftest.*; do
3081
test -f "$ac_file" || continue;
3083
*.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf ) ;;
3084
*) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
3089
echo "$as_me: failed program was:" >&5
3090
sed 's/^/| /' conftest.$ac_ext >&5
3092
{ { echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile
3093
See \`config.log' for more details." >&5
3094
echo "$as_me: error: cannot compute suffix of object files: cannot compile
3095
See \`config.log' for more details." >&2;}
3096
{ (exit 1); exit 1; }; }
3099
rm -f conftest.$ac_cv_objext conftest.$ac_ext
3101
{ echo "$as_me:$LINENO: result: $ac_cv_objext" >&5
3102
echo "${ECHO_T}$ac_cv_objext" >&6; }
3103
OBJEXT=$ac_cv_objext
3105
{ echo "$as_me:$LINENO: checking whether we are using the GNU C++ compiler" >&5
3106
echo $ECHO_N "checking whether we are using the GNU C++ compiler... $ECHO_C" >&6; }
3107
if test "${ac_cv_cxx_compiler_gnu+set}" = set; then
3108
echo $ECHO_N "(cached) $ECHO_C" >&6
3110
cat >conftest.$ac_ext <<_ACEOF
3113
cat confdefs.h >>conftest.$ac_ext
3114
cat >>conftest.$ac_ext <<_ACEOF
3115
/* end confdefs.h. */
3128
rm -f conftest.$ac_objext
3129
if { (ac_try="$ac_compile"
3131
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3132
*) ac_try_echo=$ac_try;;
3134
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3135
(eval "$ac_compile") 2>conftest.er1
3137
grep -v '^ *+' conftest.er1 >conftest.err
3139
cat conftest.err >&5
3140
echo "$as_me:$LINENO: \$? = $ac_status" >&5
3141
(exit $ac_status); } && {
3142
test -z "$ac_cxx_werror_flag" ||
3143
test ! -s conftest.err
3144
} && test -s conftest.$ac_objext; then
3147
echo "$as_me: failed program was:" >&5
3148
sed 's/^/| /' conftest.$ac_ext >&5
3153
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3154
ac_cv_cxx_compiler_gnu=$ac_compiler_gnu
3157
{ echo "$as_me:$LINENO: result: $ac_cv_cxx_compiler_gnu" >&5
3158
echo "${ECHO_T}$ac_cv_cxx_compiler_gnu" >&6; }
3159
GXX=`test $ac_compiler_gnu = yes && echo yes`
3160
ac_test_CXXFLAGS=${CXXFLAGS+set}
3161
ac_save_CXXFLAGS=$CXXFLAGS
3162
{ echo "$as_me:$LINENO: checking whether $CXX accepts -g" >&5
3163
echo $ECHO_N "checking whether $CXX accepts -g... $ECHO_C" >&6; }
3164
if test "${ac_cv_prog_cxx_g+set}" = set; then
3165
echo $ECHO_N "(cached) $ECHO_C" >&6
3167
ac_save_cxx_werror_flag=$ac_cxx_werror_flag
3168
ac_cxx_werror_flag=yes
3171
cat >conftest.$ac_ext <<_ACEOF
3174
cat confdefs.h >>conftest.$ac_ext
3175
cat >>conftest.$ac_ext <<_ACEOF
3176
/* end confdefs.h. */
3186
rm -f conftest.$ac_objext
3187
if { (ac_try="$ac_compile"
3189
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3190
*) ac_try_echo=$ac_try;;
3192
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3193
(eval "$ac_compile") 2>conftest.er1
3195
grep -v '^ *+' conftest.er1 >conftest.err
3197
cat conftest.err >&5
3198
echo "$as_me:$LINENO: \$? = $ac_status" >&5
3199
(exit $ac_status); } && {
3200
test -z "$ac_cxx_werror_flag" ||
3201
test ! -s conftest.err
3202
} && test -s conftest.$ac_objext; then
3203
ac_cv_prog_cxx_g=yes
3205
echo "$as_me: failed program was:" >&5
3206
sed 's/^/| /' conftest.$ac_ext >&5
3209
cat >conftest.$ac_ext <<_ACEOF
3212
cat confdefs.h >>conftest.$ac_ext
3213
cat >>conftest.$ac_ext <<_ACEOF
3214
/* end confdefs.h. */
3224
rm -f conftest.$ac_objext
3225
if { (ac_try="$ac_compile"
3227
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3228
*) ac_try_echo=$ac_try;;
3230
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3231
(eval "$ac_compile") 2>conftest.er1
3233
grep -v '^ *+' conftest.er1 >conftest.err
3235
cat conftest.err >&5
3236
echo "$as_me:$LINENO: \$? = $ac_status" >&5
3237
(exit $ac_status); } && {
3238
test -z "$ac_cxx_werror_flag" ||
3239
test ! -s conftest.err
3240
} && test -s conftest.$ac_objext; then
3243
echo "$as_me: failed program was:" >&5
3244
sed 's/^/| /' conftest.$ac_ext >&5
3246
ac_cxx_werror_flag=$ac_save_cxx_werror_flag
3248
cat >conftest.$ac_ext <<_ACEOF
3251
cat confdefs.h >>conftest.$ac_ext
3252
cat >>conftest.$ac_ext <<_ACEOF
3253
/* end confdefs.h. */
3263
rm -f conftest.$ac_objext
3264
if { (ac_try="$ac_compile"
3266
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3267
*) ac_try_echo=$ac_try;;
3269
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3270
(eval "$ac_compile") 2>conftest.er1
3272
grep -v '^ *+' conftest.er1 >conftest.err
3274
cat conftest.err >&5
3275
echo "$as_me:$LINENO: \$? = $ac_status" >&5
3276
(exit $ac_status); } && {
3277
test -z "$ac_cxx_werror_flag" ||
3278
test ! -s conftest.err
3279
} && test -s conftest.$ac_objext; then
3280
ac_cv_prog_cxx_g=yes
3282
echo "$as_me: failed program was:" >&5
3283
sed 's/^/| /' conftest.$ac_ext >&5
3288
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3291
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3294
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3295
ac_cxx_werror_flag=$ac_save_cxx_werror_flag
3297
{ echo "$as_me:$LINENO: result: $ac_cv_prog_cxx_g" >&5
3298
echo "${ECHO_T}$ac_cv_prog_cxx_g" >&6; }
3299
if test "$ac_test_CXXFLAGS" = set; then
3300
CXXFLAGS=$ac_save_CXXFLAGS
3301
elif test $ac_cv_prog_cxx_g = yes; then
3302
if test "$GXX" = yes; then
3308
if test "$GXX" = yes; then
3315
ac_cpp='$CPP $CPPFLAGS'
3316
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3317
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3318
ac_compiler_gnu=$ac_cv_c_compiler_gnu
3319
DEPDIR="${am__leading_dot}deps"
3321
ac_config_commands="$ac_config_commands depfiles"
3324
am_make=${MAKE-make}
3325
cat > confinc << 'END'
3330
# If we don't find an include directive, just comment out the code.
3331
{ echo "$as_me:$LINENO: checking for style of include used by $am_make" >&5
3332
echo $ECHO_N "checking for style of include used by $am_make... $ECHO_C" >&6; }
3336
# First try GNU make style include.
3337
echo "include confinc" > confmf
3338
# We grep out `Entering directory' and `Leaving directory'
3339
# messages which can occur if `w' ends up in MAKEFLAGS.
3340
# In particular we don't look at `^make:' because GNU make might
3341
# be invoked under some other name (usually "gmake"), in which
3342
# case it prints its new name instead of `make'.
3343
if test "`$am_make -s -f confmf 2> /dev/null | grep -v 'ing directory'`" = "done"; then
3348
# Now try BSD make style include.
3349
if test "$am__include" = "#"; then
3350
echo '.include "confinc"' > confmf
3351
if test "`$am_make -s -f confmf 2> /dev/null`" = "done"; then
3352
am__include=.include
3359
{ echo "$as_me:$LINENO: result: $_am_result" >&5
3360
echo "${ECHO_T}$_am_result" >&6; }
3361
rm -f confinc confmf
3363
# Check whether --enable-dependency-tracking was given.
3364
if test "${enable_dependency_tracking+set}" = set; then
3365
enableval=$enable_dependency_tracking;
3368
if test "x$enable_dependency_tracking" != xno; then
3369
am_depcomp="$ac_aux_dir/depcomp"
3372
if test "x$enable_dependency_tracking" != xno; then
3382
depcc="$CXX" am_compiler_list=
3384
{ echo "$as_me:$LINENO: checking dependency style of $depcc" >&5
3385
echo $ECHO_N "checking dependency style of $depcc... $ECHO_C" >&6; }
3386
if test "${am_cv_CXX_dependencies_compiler_type+set}" = set; then
3387
echo $ECHO_N "(cached) $ECHO_C" >&6
3389
if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
3390
# We make a subdir and do the tests there. Otherwise we can end up
3391
# making bogus files that we don't know about and never remove. For
3392
# instance it was reported that on HP-UX the gcc test will end up
3393
# making a dummy file named `D' -- because `-MD' means `put the output
3396
# Copy depcomp to subdir because otherwise we won't find it if we're
3397
# using a relative directory.
3398
cp "$am_depcomp" conftest.dir
3400
# We will build objects and dependencies in a subdirectory because
3401
# it helps to detect inapplicable dependency modes. For instance
3402
# both Tru64's cc and ICC support -MD to output dependencies as a
3403
# side effect of compilation, but ICC will put the dependencies in
3404
# the current directory while Tru64 will put them in the object
3408
am_cv_CXX_dependencies_compiler_type=none
3409
if test "$am_compiler_list" = ""; then
3410
am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
3412
for depmode in $am_compiler_list; do
3413
# Setup a source with many dependencies, because some compilers
3414
# like to wrap large dependency lists on column 80 (with \), and
3415
# we should not choose a depcomp mode which is confused by this.
3417
# We need to recreate these files for each test, as the compiler may
3418
# overwrite some of them when testing with obscure command lines.
3419
# This happens at least with the AIX C compiler.
3421
for i in 1 2 3 4 5 6; do
3422
echo '#include "conftst'$i'.h"' >> sub/conftest.c
3423
# Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
3424
# Solaris 8's {/usr,}/bin/sh.
3425
touch sub/conftst$i.h
3427
echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
3431
# after this tag, mechanisms are not by side-effect, so they'll
3432
# only be used when explicitly requested
3433
if test "x$enable_dependency_tracking" = xyes; then
3441
# We check with `-c' and `-o' for the sake of the "dashmstdout"
3442
# mode. It turns out that the SunPro C++ compiler does not properly
3443
# handle `-M -o', and we need to detect this.
3444
if depmode=$depmode \
3445
source=sub/conftest.c object=sub/conftest.${OBJEXT-o} \
3446
depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
3447
$SHELL ./depcomp $depcc -c -o sub/conftest.${OBJEXT-o} sub/conftest.c \
3448
>/dev/null 2>conftest.err &&
3449
grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
3450
grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
3451
grep sub/conftest.${OBJEXT-o} sub/conftest.Po > /dev/null 2>&1 &&
3452
${MAKE-make} -s -f confmf > /dev/null 2>&1; then
3453
# icc doesn't choke on unknown options, it will just issue warnings
3454
# or remarks (even with -Werror). So we grep stderr for any message
3455
# that says an option was ignored or not supported.
3456
# When given -MP, icc 7.0 and 7.1 complain thusly:
3457
# icc: Command line warning: ignoring option '-M'; no argument required
3458
# The diagnosis changed in icc 8.0:
3459
# icc: Command line remark: option '-MP' not supported
3460
if (grep 'ignoring option' conftest.err ||
3461
grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
3462
am_cv_CXX_dependencies_compiler_type=$depmode
3471
am_cv_CXX_dependencies_compiler_type=none
3475
{ echo "$as_me:$LINENO: result: $am_cv_CXX_dependencies_compiler_type" >&5
3476
echo "${ECHO_T}$am_cv_CXX_dependencies_compiler_type" >&6; }
3477
CXXDEPMODE=depmode=$am_cv_CXX_dependencies_compiler_type
3480
test "x$enable_dependency_tracking" != xno \
3481
&& test "$am_cv_CXX_dependencies_compiler_type" = gcc3; then
3482
am__fastdepCXX_TRUE=
3483
am__fastdepCXX_FALSE='#'
3485
am__fastdepCXX_TRUE='#'
3486
am__fastdepCXX_FALSE=
3491
ac_cpp='$CPP $CPPFLAGS'
3492
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3493
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3494
ac_compiler_gnu=$ac_cv_c_compiler_gnu
3495
if test -n "$ac_tool_prefix"; then
3496
# Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
3497
set dummy ${ac_tool_prefix}gcc; ac_word=$2
3498
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
3499
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
3500
if test "${ac_cv_prog_CC+set}" = set; then
3501
echo $ECHO_N "(cached) $ECHO_C" >&6
3503
if test -n "$CC"; then
3504
ac_cv_prog_CC="$CC" # Let the user override the test.
3506
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3510
test -z "$as_dir" && as_dir=.
3511
for ac_exec_ext in '' $ac_executable_extensions; do
3512
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3513
ac_cv_prog_CC="${ac_tool_prefix}gcc"
3514
echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3524
if test -n "$CC"; then
3525
{ echo "$as_me:$LINENO: result: $CC" >&5
3526
echo "${ECHO_T}$CC" >&6; }
3528
{ echo "$as_me:$LINENO: result: no" >&5
3529
echo "${ECHO_T}no" >&6; }
3534
if test -z "$ac_cv_prog_CC"; then
3536
# Extract the first word of "gcc", so it can be a program name with args.
3537
set dummy gcc; ac_word=$2
3538
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
3539
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
3540
if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
3541
echo $ECHO_N "(cached) $ECHO_C" >&6
3543
if test -n "$ac_ct_CC"; then
3544
ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
3546
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3550
test -z "$as_dir" && as_dir=.
3551
for ac_exec_ext in '' $ac_executable_extensions; do
3552
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3553
ac_cv_prog_ac_ct_CC="gcc"
3554
echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3563
ac_ct_CC=$ac_cv_prog_ac_ct_CC
3564
if test -n "$ac_ct_CC"; then
3565
{ echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
3566
echo "${ECHO_T}$ac_ct_CC" >&6; }
3568
{ echo "$as_me:$LINENO: result: no" >&5
3569
echo "${ECHO_T}no" >&6; }
3572
if test "x$ac_ct_CC" = x; then
3575
case $cross_compiling:$ac_tool_warned in
3577
{ echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
3578
whose name does not start with the host triplet. If you think this
3579
configuration is useful to you, please write to autoconf@gnu.org." >&5
3580
echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
3581
whose name does not start with the host triplet. If you think this
3582
configuration is useful to you, please write to autoconf@gnu.org." >&2;}
3583
ac_tool_warned=yes ;;
3591
if test -z "$CC"; then
3592
if test -n "$ac_tool_prefix"; then
3593
# Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
3594
set dummy ${ac_tool_prefix}cc; ac_word=$2
3595
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
3596
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
3597
if test "${ac_cv_prog_CC+set}" = set; then
3598
echo $ECHO_N "(cached) $ECHO_C" >&6
3600
if test -n "$CC"; then
3601
ac_cv_prog_CC="$CC" # Let the user override the test.
3603
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3607
test -z "$as_dir" && as_dir=.
3608
for ac_exec_ext in '' $ac_executable_extensions; do
3609
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3610
ac_cv_prog_CC="${ac_tool_prefix}cc"
3611
echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3621
if test -n "$CC"; then
3622
{ echo "$as_me:$LINENO: result: $CC" >&5
3623
echo "${ECHO_T}$CC" >&6; }
3625
{ echo "$as_me:$LINENO: result: no" >&5
3626
echo "${ECHO_T}no" >&6; }
3632
if test -z "$CC"; then
3633
# Extract the first word of "cc", so it can be a program name with args.
3634
set dummy cc; ac_word=$2
3635
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
3636
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
3637
if test "${ac_cv_prog_CC+set}" = set; then
3638
echo $ECHO_N "(cached) $ECHO_C" >&6
3640
if test -n "$CC"; then
3641
ac_cv_prog_CC="$CC" # Let the user override the test.
3644
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3648
test -z "$as_dir" && as_dir=.
3649
for ac_exec_ext in '' $ac_executable_extensions; do
3650
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3651
if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
3652
ac_prog_rejected=yes
3656
echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3663
if test $ac_prog_rejected = yes; then
3664
# We found a bogon in the path, so make sure we never use it.
3665
set dummy $ac_cv_prog_CC
3667
if test $@%:@ != 0; then
3668
# We chose a different compiler from the bogus one.
3669
# However, it has the same basename, so the bogon will be chosen
3670
# first if we set CC to just the basename; use the full file name.
3672
ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
3678
if test -n "$CC"; then
3679
{ echo "$as_me:$LINENO: result: $CC" >&5
3680
echo "${ECHO_T}$CC" >&6; }
3682
{ echo "$as_me:$LINENO: result: no" >&5
3683
echo "${ECHO_T}no" >&6; }
3688
if test -z "$CC"; then
3689
if test -n "$ac_tool_prefix"; then
3690
for ac_prog in cl.exe
3692
# Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
3693
set dummy $ac_tool_prefix$ac_prog; ac_word=$2
3694
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
3695
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
3696
if test "${ac_cv_prog_CC+set}" = set; then
3697
echo $ECHO_N "(cached) $ECHO_C" >&6
3699
if test -n "$CC"; then
3700
ac_cv_prog_CC="$CC" # Let the user override the test.
3702
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3706
test -z "$as_dir" && as_dir=.
3707
for ac_exec_ext in '' $ac_executable_extensions; do
3708
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3709
ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
3710
echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3720
if test -n "$CC"; then
3721
{ echo "$as_me:$LINENO: result: $CC" >&5
3722
echo "${ECHO_T}$CC" >&6; }
3724
{ echo "$as_me:$LINENO: result: no" >&5
3725
echo "${ECHO_T}no" >&6; }
3729
test -n "$CC" && break
3732
if test -z "$CC"; then
3734
for ac_prog in cl.exe
3736
# Extract the first word of "$ac_prog", so it can be a program name with args.
3737
set dummy $ac_prog; ac_word=$2
3738
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
3739
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
3740
if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
3741
echo $ECHO_N "(cached) $ECHO_C" >&6
3743
if test -n "$ac_ct_CC"; then
3744
ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
3746
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3750
test -z "$as_dir" && as_dir=.
3751
for ac_exec_ext in '' $ac_executable_extensions; do
3752
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3753
ac_cv_prog_ac_ct_CC="$ac_prog"
3754
echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3763
ac_ct_CC=$ac_cv_prog_ac_ct_CC
3764
if test -n "$ac_ct_CC"; then
3765
{ echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
3766
echo "${ECHO_T}$ac_ct_CC" >&6; }
3768
{ echo "$as_me:$LINENO: result: no" >&5
3769
echo "${ECHO_T}no" >&6; }
3773
test -n "$ac_ct_CC" && break
3776
if test "x$ac_ct_CC" = x; then
3779
case $cross_compiling:$ac_tool_warned in
3781
{ echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
3782
whose name does not start with the host triplet. If you think this
3783
configuration is useful to you, please write to autoconf@gnu.org." >&5
3784
echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
3785
whose name does not start with the host triplet. If you think this
3786
configuration is useful to you, please write to autoconf@gnu.org." >&2;}
3787
ac_tool_warned=yes ;;
3796
test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
3797
See \`config.log' for more details." >&5
3798
echo "$as_me: error: no acceptable C compiler found in \$PATH
3799
See \`config.log' for more details." >&2;}
3800
{ (exit 1); exit 1; }; }
3802
# Provide some information about the compiler.
3803
echo "$as_me:$LINENO: checking for C compiler version" >&5
3804
ac_compiler=`set X $ac_compile; echo $2`
3805
{ (ac_try="$ac_compiler --version >&5"
3807
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3808
*) ac_try_echo=$ac_try;;
3810
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3811
(eval "$ac_compiler --version >&5") 2>&5
3813
echo "$as_me:$LINENO: \$? = $ac_status" >&5
3814
(exit $ac_status); }
3815
{ (ac_try="$ac_compiler -v >&5"
3817
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3818
*) ac_try_echo=$ac_try;;
3820
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3821
(eval "$ac_compiler -v >&5") 2>&5
3823
echo "$as_me:$LINENO: \$? = $ac_status" >&5
3824
(exit $ac_status); }
3825
{ (ac_try="$ac_compiler -V >&5"
3827
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3828
*) ac_try_echo=$ac_try;;
3830
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3831
(eval "$ac_compiler -V >&5") 2>&5
3833
echo "$as_me:$LINENO: \$? = $ac_status" >&5
3834
(exit $ac_status); }
3836
{ echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
3837
echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6; }
3838
if test "${ac_cv_c_compiler_gnu+set}" = set; then
3839
echo $ECHO_N "(cached) $ECHO_C" >&6
3841
cat >conftest.$ac_ext <<_ACEOF
3844
cat confdefs.h >>conftest.$ac_ext
3845
cat >>conftest.$ac_ext <<_ACEOF
3846
/* end confdefs.h. */
3859
rm -f conftest.$ac_objext
3860
if { (ac_try="$ac_compile"
3862
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3863
*) ac_try_echo=$ac_try;;
3865
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3866
(eval "$ac_compile") 2>conftest.er1
3868
grep -v '^ *+' conftest.er1 >conftest.err
3870
cat conftest.err >&5
3871
echo "$as_me:$LINENO: \$? = $ac_status" >&5
3872
(exit $ac_status); } && {
3873
test -z "$ac_c_werror_flag" ||
3874
test ! -s conftest.err
3875
} && test -s conftest.$ac_objext; then
3878
echo "$as_me: failed program was:" >&5
3879
sed 's/^/| /' conftest.$ac_ext >&5
3884
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3885
ac_cv_c_compiler_gnu=$ac_compiler_gnu
3888
{ echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
3889
echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6; }
3890
GCC=`test $ac_compiler_gnu = yes && echo yes`
3891
ac_test_CFLAGS=${CFLAGS+set}
3892
ac_save_CFLAGS=$CFLAGS
3893
{ echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
3894
echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6; }
3895
if test "${ac_cv_prog_cc_g+set}" = set; then
3896
echo $ECHO_N "(cached) $ECHO_C" >&6
3898
ac_save_c_werror_flag=$ac_c_werror_flag
3899
ac_c_werror_flag=yes
3902
cat >conftest.$ac_ext <<_ACEOF
3905
cat confdefs.h >>conftest.$ac_ext
3906
cat >>conftest.$ac_ext <<_ACEOF
3907
/* end confdefs.h. */
3917
rm -f conftest.$ac_objext
3918
if { (ac_try="$ac_compile"
3920
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3921
*) ac_try_echo=$ac_try;;
3923
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3924
(eval "$ac_compile") 2>conftest.er1
3926
grep -v '^ *+' conftest.er1 >conftest.err
3928
cat conftest.err >&5
3929
echo "$as_me:$LINENO: \$? = $ac_status" >&5
3930
(exit $ac_status); } && {
3931
test -z "$ac_c_werror_flag" ||
3932
test ! -s conftest.err
3933
} && test -s conftest.$ac_objext; then
3936
echo "$as_me: failed program was:" >&5
3937
sed 's/^/| /' conftest.$ac_ext >&5
3940
cat >conftest.$ac_ext <<_ACEOF
3943
cat confdefs.h >>conftest.$ac_ext
3944
cat >>conftest.$ac_ext <<_ACEOF
3945
/* end confdefs.h. */
3955
rm -f conftest.$ac_objext
3956
if { (ac_try="$ac_compile"
3958
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3959
*) ac_try_echo=$ac_try;;
3961
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3962
(eval "$ac_compile") 2>conftest.er1
3964
grep -v '^ *+' conftest.er1 >conftest.err
3966
cat conftest.err >&5
3967
echo "$as_me:$LINENO: \$? = $ac_status" >&5
3968
(exit $ac_status); } && {
3969
test -z "$ac_c_werror_flag" ||
3970
test ! -s conftest.err
3971
} && test -s conftest.$ac_objext; then
3974
echo "$as_me: failed program was:" >&5
3975
sed 's/^/| /' conftest.$ac_ext >&5
3977
ac_c_werror_flag=$ac_save_c_werror_flag
3979
cat >conftest.$ac_ext <<_ACEOF
3982
cat confdefs.h >>conftest.$ac_ext
3983
cat >>conftest.$ac_ext <<_ACEOF
3984
/* end confdefs.h. */
3994
rm -f conftest.$ac_objext
3995
if { (ac_try="$ac_compile"
3997
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3998
*) ac_try_echo=$ac_try;;
4000
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4001
(eval "$ac_compile") 2>conftest.er1
4003
grep -v '^ *+' conftest.er1 >conftest.err
4005
cat conftest.err >&5
4006
echo "$as_me:$LINENO: \$? = $ac_status" >&5
4007
(exit $ac_status); } && {
4008
test -z "$ac_c_werror_flag" ||
4009
test ! -s conftest.err
4010
} && test -s conftest.$ac_objext; then
4013
echo "$as_me: failed program was:" >&5
4014
sed 's/^/| /' conftest.$ac_ext >&5
4019
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4022
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4025
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4026
ac_c_werror_flag=$ac_save_c_werror_flag
4028
{ echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
4029
echo "${ECHO_T}$ac_cv_prog_cc_g" >&6; }
4030
if test "$ac_test_CFLAGS" = set; then
4031
CFLAGS=$ac_save_CFLAGS
4032
elif test $ac_cv_prog_cc_g = yes; then
4033
if test "$GCC" = yes; then
4039
if test "$GCC" = yes; then
4045
{ echo "$as_me:$LINENO: checking for $CC option to accept ISO C89" >&5
4046
echo $ECHO_N "checking for $CC option to accept ISO C89... $ECHO_C" >&6; }
4047
if test "${ac_cv_prog_cc_c89+set}" = set; then
4048
echo $ECHO_N "(cached) $ECHO_C" >&6
4050
ac_cv_prog_cc_c89=no
4052
cat >conftest.$ac_ext <<_ACEOF
4055
cat confdefs.h >>conftest.$ac_ext
4056
cat >>conftest.$ac_ext <<_ACEOF
4057
/* end confdefs.h. */
4060
#include <sys/types.h>
4061
#include <sys/stat.h>
4062
/* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
4063
struct buf { int x; };
4064
FILE * (*rcsopen) (struct buf *, struct stat *, int);
4065
static char *e (p, i)
4071
static char *f (char * (*g) (char **, int), char **p, ...)
4076
s = g (p, va_arg (v,int));
4081
/* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
4082
function prototypes and stuff, but not '\xHH' hex character constants.
4083
These don't provoke an error unfortunately, instead are silently treated
4084
as 'x'. The following induces an error, until -std is added to get
4085
proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
4086
array size at least. It's necessary to write '\x00'==0 to get something
4087
that's true only with -std. */
4088
int osf4_cc_array ['\x00' == 0 ? 1 : -1];
4090
/* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
4091
inside strings and character constants. */
4093
int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
4095
int test (int i, double x);
4096
struct s1 {int (*f) (int a);};
4097
struct s2 {int (*f) (double a);};
4098
int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
4104
return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
4109
for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
4110
-Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
4112
CC="$ac_save_CC $ac_arg"
4113
rm -f conftest.$ac_objext
4114
if { (ac_try="$ac_compile"
4116
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4117
*) ac_try_echo=$ac_try;;
4119
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4120
(eval "$ac_compile") 2>conftest.er1
4122
grep -v '^ *+' conftest.er1 >conftest.err
4124
cat conftest.err >&5
4125
echo "$as_me:$LINENO: \$? = $ac_status" >&5
4126
(exit $ac_status); } && {
4127
test -z "$ac_c_werror_flag" ||
4128
test ! -s conftest.err
4129
} && test -s conftest.$ac_objext; then
4130
ac_cv_prog_cc_c89=$ac_arg
4132
echo "$as_me: failed program was:" >&5
4133
sed 's/^/| /' conftest.$ac_ext >&5
4138
rm -f core conftest.err conftest.$ac_objext
4139
test "x$ac_cv_prog_cc_c89" != "xno" && break
4141
rm -f conftest.$ac_ext
4146
case "x$ac_cv_prog_cc_c89" in
4148
{ echo "$as_me:$LINENO: result: none needed" >&5
4149
echo "${ECHO_T}none needed" >&6; } ;;
4151
{ echo "$as_me:$LINENO: result: unsupported" >&5
4152
echo "${ECHO_T}unsupported" >&6; } ;;
4154
CC="$CC $ac_cv_prog_cc_c89"
4155
{ echo "$as_me:$LINENO: result: $ac_cv_prog_cc_c89" >&5
4156
echo "${ECHO_T}$ac_cv_prog_cc_c89" >&6; } ;;
4161
ac_cpp='$CPP $CPPFLAGS'
4162
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4163
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4164
ac_compiler_gnu=$ac_cv_c_compiler_gnu
4166
depcc="$CC" am_compiler_list=
4168
{ echo "$as_me:$LINENO: checking dependency style of $depcc" >&5
4169
echo $ECHO_N "checking dependency style of $depcc... $ECHO_C" >&6; }
4170
if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then
4171
echo $ECHO_N "(cached) $ECHO_C" >&6
4173
if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
4174
# We make a subdir and do the tests there. Otherwise we can end up
4175
# making bogus files that we don't know about and never remove. For
4176
# instance it was reported that on HP-UX the gcc test will end up
4177
# making a dummy file named `D' -- because `-MD' means `put the output
4180
# Copy depcomp to subdir because otherwise we won't find it if we're
4181
# using a relative directory.
4182
cp "$am_depcomp" conftest.dir
4184
# We will build objects and dependencies in a subdirectory because
4185
# it helps to detect inapplicable dependency modes. For instance
4186
# both Tru64's cc and ICC support -MD to output dependencies as a
4187
# side effect of compilation, but ICC will put the dependencies in
4188
# the current directory while Tru64 will put them in the object
4192
am_cv_CC_dependencies_compiler_type=none
4193
if test "$am_compiler_list" = ""; then
4194
am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
4196
for depmode in $am_compiler_list; do
4197
# Setup a source with many dependencies, because some compilers
4198
# like to wrap large dependency lists on column 80 (with \), and
4199
# we should not choose a depcomp mode which is confused by this.
4201
# We need to recreate these files for each test, as the compiler may
4202
# overwrite some of them when testing with obscure command lines.
4203
# This happens at least with the AIX C compiler.
4205
for i in 1 2 3 4 5 6; do
4206
echo '#include "conftst'$i'.h"' >> sub/conftest.c
4207
# Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
4208
# Solaris 8's {/usr,}/bin/sh.
4209
touch sub/conftst$i.h
4211
echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
4215
# after this tag, mechanisms are not by side-effect, so they'll
4216
# only be used when explicitly requested
4217
if test "x$enable_dependency_tracking" = xyes; then
4225
# We check with `-c' and `-o' for the sake of the "dashmstdout"
4226
# mode. It turns out that the SunPro C++ compiler does not properly
4227
# handle `-M -o', and we need to detect this.
4228
if depmode=$depmode \
4229
source=sub/conftest.c object=sub/conftest.${OBJEXT-o} \
4230
depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
4231
$SHELL ./depcomp $depcc -c -o sub/conftest.${OBJEXT-o} sub/conftest.c \
4232
>/dev/null 2>conftest.err &&
4233
grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
4234
grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
4235
grep sub/conftest.${OBJEXT-o} sub/conftest.Po > /dev/null 2>&1 &&
4236
${MAKE-make} -s -f confmf > /dev/null 2>&1; then
4237
# icc doesn't choke on unknown options, it will just issue warnings
4238
# or remarks (even with -Werror). So we grep stderr for any message
4239
# that says an option was ignored or not supported.
4240
# When given -MP, icc 7.0 and 7.1 complain thusly:
4241
# icc: Command line warning: ignoring option '-M'; no argument required
4242
# The diagnosis changed in icc 8.0:
4243
# icc: Command line remark: option '-MP' not supported
4244
if (grep 'ignoring option' conftest.err ||
4245
grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
4246
am_cv_CC_dependencies_compiler_type=$depmode
4255
am_cv_CC_dependencies_compiler_type=none
4259
{ echo "$as_me:$LINENO: result: $am_cv_CC_dependencies_compiler_type" >&5
4260
echo "${ECHO_T}$am_cv_CC_dependencies_compiler_type" >&6; }
4261
CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
4264
test "x$enable_dependency_tracking" != xno \
4265
&& test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
4267
am__fastdepCC_FALSE='#'
4269
am__fastdepCC_TRUE='#'
4270
am__fastdepCC_FALSE=
4275
ac_cpp='$CPP $CPPFLAGS'
4276
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4277
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4278
ac_compiler_gnu=$ac_cv_c_compiler_gnu
4279
{ echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5
4280
echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6; }
4281
# On Suns, sometimes $CPP names a directory.
4282
if test -n "$CPP" && test -d "$CPP"; then
4285
if test -z "$CPP"; then
4286
if test "${ac_cv_prog_CPP+set}" = set; then
4287
echo $ECHO_N "(cached) $ECHO_C" >&6
4289
# Double quotes because CPP needs to be expanded
4290
for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
4293
for ac_c_preproc_warn_flag in '' yes
4295
# Use a header file that comes with gcc, so configuring glibc
4296
# with a fresh cross-compiler works.
4297
# Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4298
# <limits.h> exists even on freestanding compilers.
4299
# On the NeXT, cc -E runs the code through the compiler's parser,
4300
# not just through cpp. "Syntax error" is here to catch this case.
4301
cat >conftest.$ac_ext <<_ACEOF
4304
cat confdefs.h >>conftest.$ac_ext
4305
cat >>conftest.$ac_ext <<_ACEOF
4306
/* end confdefs.h. */
4308
@%:@ include <limits.h>
4310
@%:@ include <assert.h>
4314
if { (ac_try="$ac_cpp conftest.$ac_ext"
4316
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4317
*) ac_try_echo=$ac_try;;
4319
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4320
(eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
4322
grep -v '^ *+' conftest.er1 >conftest.err
4324
cat conftest.err >&5
4325
echo "$as_me:$LINENO: \$? = $ac_status" >&5
4326
(exit $ac_status); } >/dev/null && {
4327
test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
4328
test ! -s conftest.err
4332
echo "$as_me: failed program was:" >&5
4333
sed 's/^/| /' conftest.$ac_ext >&5
4335
# Broken: fails on valid input.
4339
rm -f conftest.err conftest.$ac_ext
4341
# OK, works on sane cases. Now check whether nonexistent headers
4342
# can be detected and how.
4343
cat >conftest.$ac_ext <<_ACEOF
4346
cat confdefs.h >>conftest.$ac_ext
4347
cat >>conftest.$ac_ext <<_ACEOF
4348
/* end confdefs.h. */
4349
@%:@include <ac_nonexistent.h>
4351
if { (ac_try="$ac_cpp conftest.$ac_ext"
4353
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4354
*) ac_try_echo=$ac_try;;
4356
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4357
(eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
4359
grep -v '^ *+' conftest.er1 >conftest.err
4361
cat conftest.err >&5
4362
echo "$as_me:$LINENO: \$? = $ac_status" >&5
4363
(exit $ac_status); } >/dev/null && {
4364
test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
4365
test ! -s conftest.err
4367
# Broken: success on invalid input.
4370
echo "$as_me: failed program was:" >&5
4371
sed 's/^/| /' conftest.$ac_ext >&5
4373
# Passes both tests.
4378
rm -f conftest.err conftest.$ac_ext
4381
# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
4382
rm -f conftest.err conftest.$ac_ext
4383
if $ac_preproc_ok; then
4395
{ echo "$as_me:$LINENO: result: $CPP" >&5
4396
echo "${ECHO_T}$CPP" >&6; }
4398
for ac_c_preproc_warn_flag in '' yes
4400
# Use a header file that comes with gcc, so configuring glibc
4401
# with a fresh cross-compiler works.
4402
# Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4403
# <limits.h> exists even on freestanding compilers.
4404
# On the NeXT, cc -E runs the code through the compiler's parser,
4405
# not just through cpp. "Syntax error" is here to catch this case.
4406
cat >conftest.$ac_ext <<_ACEOF
4409
cat confdefs.h >>conftest.$ac_ext
4410
cat >>conftest.$ac_ext <<_ACEOF
4411
/* end confdefs.h. */
4413
@%:@ include <limits.h>
4415
@%:@ include <assert.h>
4419
if { (ac_try="$ac_cpp conftest.$ac_ext"
4421
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4422
*) ac_try_echo=$ac_try;;
4424
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4425
(eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
4427
grep -v '^ *+' conftest.er1 >conftest.err
4429
cat conftest.err >&5
4430
echo "$as_me:$LINENO: \$? = $ac_status" >&5
4431
(exit $ac_status); } >/dev/null && {
4432
test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
4433
test ! -s conftest.err
4437
echo "$as_me: failed program was:" >&5
4438
sed 's/^/| /' conftest.$ac_ext >&5
4440
# Broken: fails on valid input.
4444
rm -f conftest.err conftest.$ac_ext
4446
# OK, works on sane cases. Now check whether nonexistent headers
4447
# can be detected and how.
4448
cat >conftest.$ac_ext <<_ACEOF
4451
cat confdefs.h >>conftest.$ac_ext
4452
cat >>conftest.$ac_ext <<_ACEOF
4453
/* end confdefs.h. */
4454
@%:@include <ac_nonexistent.h>
4456
if { (ac_try="$ac_cpp conftest.$ac_ext"
4458
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4459
*) ac_try_echo=$ac_try;;
4461
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4462
(eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
4464
grep -v '^ *+' conftest.er1 >conftest.err
4466
cat conftest.err >&5
4467
echo "$as_me:$LINENO: \$? = $ac_status" >&5
4468
(exit $ac_status); } >/dev/null && {
4469
test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
4470
test ! -s conftest.err
4472
# Broken: success on invalid input.
4475
echo "$as_me: failed program was:" >&5
4476
sed 's/^/| /' conftest.$ac_ext >&5
4478
# Passes both tests.
4483
rm -f conftest.err conftest.$ac_ext
4486
# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
4487
rm -f conftest.err conftest.$ac_ext
4488
if $ac_preproc_ok; then
4491
{ { echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check
4492
See \`config.log' for more details." >&5
4493
echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check
4494
See \`config.log' for more details." >&2;}
4495
{ (exit 1); exit 1; }; }
4499
ac_cpp='$CPP $CPPFLAGS'
4500
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4501
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4502
ac_compiler_gnu=$ac_cv_c_compiler_gnu
4505
ac_cpp='$CPP $CPPFLAGS'
4506
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4507
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4508
ac_compiler_gnu=$ac_cv_c_compiler_gnu
4509
if test -n "$ac_tool_prefix"; then
4510
# Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
4511
set dummy ${ac_tool_prefix}gcc; ac_word=$2
4512
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
4513
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
4514
if test "${ac_cv_prog_CC+set}" = set; then
4515
echo $ECHO_N "(cached) $ECHO_C" >&6
4517
if test -n "$CC"; then
4518
ac_cv_prog_CC="$CC" # Let the user override the test.
4520
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4524
test -z "$as_dir" && as_dir=.
4525
for ac_exec_ext in '' $ac_executable_extensions; do
4526
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4527
ac_cv_prog_CC="${ac_tool_prefix}gcc"
4528
echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4538
if test -n "$CC"; then
4539
{ echo "$as_me:$LINENO: result: $CC" >&5
4540
echo "${ECHO_T}$CC" >&6; }
4542
{ echo "$as_me:$LINENO: result: no" >&5
4543
echo "${ECHO_T}no" >&6; }
4548
if test -z "$ac_cv_prog_CC"; then
4550
# Extract the first word of "gcc", so it can be a program name with args.
4551
set dummy gcc; ac_word=$2
4552
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
4553
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
4554
if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
4555
echo $ECHO_N "(cached) $ECHO_C" >&6
4557
if test -n "$ac_ct_CC"; then
4558
ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
4560
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4564
test -z "$as_dir" && as_dir=.
4565
for ac_exec_ext in '' $ac_executable_extensions; do
4566
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4567
ac_cv_prog_ac_ct_CC="gcc"
4568
echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4577
ac_ct_CC=$ac_cv_prog_ac_ct_CC
4578
if test -n "$ac_ct_CC"; then
4579
{ echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
4580
echo "${ECHO_T}$ac_ct_CC" >&6; }
4582
{ echo "$as_me:$LINENO: result: no" >&5
4583
echo "${ECHO_T}no" >&6; }
4586
if test "x$ac_ct_CC" = x; then
4589
case $cross_compiling:$ac_tool_warned in
4591
{ echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
4592
whose name does not start with the host triplet. If you think this
4593
configuration is useful to you, please write to autoconf@gnu.org." >&5
4594
echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
4595
whose name does not start with the host triplet. If you think this
4596
configuration is useful to you, please write to autoconf@gnu.org." >&2;}
4597
ac_tool_warned=yes ;;
4605
if test -z "$CC"; then
4606
if test -n "$ac_tool_prefix"; then
4607
# Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
4608
set dummy ${ac_tool_prefix}cc; ac_word=$2
4609
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
4610
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
4611
if test "${ac_cv_prog_CC+set}" = set; then
4612
echo $ECHO_N "(cached) $ECHO_C" >&6
4614
if test -n "$CC"; then
4615
ac_cv_prog_CC="$CC" # Let the user override the test.
4617
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4621
test -z "$as_dir" && as_dir=.
4622
for ac_exec_ext in '' $ac_executable_extensions; do
4623
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4624
ac_cv_prog_CC="${ac_tool_prefix}cc"
4625
echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4635
if test -n "$CC"; then
4636
{ echo "$as_me:$LINENO: result: $CC" >&5
4637
echo "${ECHO_T}$CC" >&6; }
4639
{ echo "$as_me:$LINENO: result: no" >&5
4640
echo "${ECHO_T}no" >&6; }
4646
if test -z "$CC"; then
4647
# Extract the first word of "cc", so it can be a program name with args.
4648
set dummy cc; ac_word=$2
4649
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
4650
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
4651
if test "${ac_cv_prog_CC+set}" = set; then
4652
echo $ECHO_N "(cached) $ECHO_C" >&6
4654
if test -n "$CC"; then
4655
ac_cv_prog_CC="$CC" # Let the user override the test.
4658
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4662
test -z "$as_dir" && as_dir=.
4663
for ac_exec_ext in '' $ac_executable_extensions; do
4664
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4665
if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
4666
ac_prog_rejected=yes
4670
echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4677
if test $ac_prog_rejected = yes; then
4678
# We found a bogon in the path, so make sure we never use it.
4679
set dummy $ac_cv_prog_CC
4681
if test $@%:@ != 0; then
4682
# We chose a different compiler from the bogus one.
4683
# However, it has the same basename, so the bogon will be chosen
4684
# first if we set CC to just the basename; use the full file name.
4686
ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
4692
if test -n "$CC"; then
4693
{ echo "$as_me:$LINENO: result: $CC" >&5
4694
echo "${ECHO_T}$CC" >&6; }
4696
{ echo "$as_me:$LINENO: result: no" >&5
4697
echo "${ECHO_T}no" >&6; }
4702
if test -z "$CC"; then
4703
if test -n "$ac_tool_prefix"; then
4704
for ac_prog in cl.exe
4706
# Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
4707
set dummy $ac_tool_prefix$ac_prog; ac_word=$2
4708
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
4709
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
4710
if test "${ac_cv_prog_CC+set}" = set; then
4711
echo $ECHO_N "(cached) $ECHO_C" >&6
4713
if test -n "$CC"; then
4714
ac_cv_prog_CC="$CC" # Let the user override the test.
4716
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4720
test -z "$as_dir" && as_dir=.
4721
for ac_exec_ext in '' $ac_executable_extensions; do
4722
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4723
ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
4724
echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4734
if test -n "$CC"; then
4735
{ echo "$as_me:$LINENO: result: $CC" >&5
4736
echo "${ECHO_T}$CC" >&6; }
4738
{ echo "$as_me:$LINENO: result: no" >&5
4739
echo "${ECHO_T}no" >&6; }
4743
test -n "$CC" && break
4746
if test -z "$CC"; then
4748
for ac_prog in cl.exe
4750
# Extract the first word of "$ac_prog", so it can be a program name with args.
4751
set dummy $ac_prog; ac_word=$2
4752
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
4753
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
4754
if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
4755
echo $ECHO_N "(cached) $ECHO_C" >&6
4757
if test -n "$ac_ct_CC"; then
4758
ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
4760
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4764
test -z "$as_dir" && as_dir=.
4765
for ac_exec_ext in '' $ac_executable_extensions; do
4766
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4767
ac_cv_prog_ac_ct_CC="$ac_prog"
4768
echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4777
ac_ct_CC=$ac_cv_prog_ac_ct_CC
4778
if test -n "$ac_ct_CC"; then
4779
{ echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
4780
echo "${ECHO_T}$ac_ct_CC" >&6; }
4782
{ echo "$as_me:$LINENO: result: no" >&5
4783
echo "${ECHO_T}no" >&6; }
4787
test -n "$ac_ct_CC" && break
4790
if test "x$ac_ct_CC" = x; then
4793
case $cross_compiling:$ac_tool_warned in
4795
{ echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
4796
whose name does not start with the host triplet. If you think this
4797
configuration is useful to you, please write to autoconf@gnu.org." >&5
4798
echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
4799
whose name does not start with the host triplet. If you think this
4800
configuration is useful to you, please write to autoconf@gnu.org." >&2;}
4801
ac_tool_warned=yes ;;
4810
test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
4811
See \`config.log' for more details." >&5
4812
echo "$as_me: error: no acceptable C compiler found in \$PATH
4813
See \`config.log' for more details." >&2;}
4814
{ (exit 1); exit 1; }; }
4816
# Provide some information about the compiler.
4817
echo "$as_me:$LINENO: checking for C compiler version" >&5
4818
ac_compiler=`set X $ac_compile; echo $2`
4819
{ (ac_try="$ac_compiler --version >&5"
4821
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4822
*) ac_try_echo=$ac_try;;
4824
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4825
(eval "$ac_compiler --version >&5") 2>&5
4827
echo "$as_me:$LINENO: \$? = $ac_status" >&5
4828
(exit $ac_status); }
4829
{ (ac_try="$ac_compiler -v >&5"
4831
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4832
*) ac_try_echo=$ac_try;;
4834
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4835
(eval "$ac_compiler -v >&5") 2>&5
4837
echo "$as_me:$LINENO: \$? = $ac_status" >&5
4838
(exit $ac_status); }
4839
{ (ac_try="$ac_compiler -V >&5"
4841
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4842
*) ac_try_echo=$ac_try;;
4844
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4845
(eval "$ac_compiler -V >&5") 2>&5
4847
echo "$as_me:$LINENO: \$? = $ac_status" >&5
4848
(exit $ac_status); }
4850
{ echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
4851
echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6; }
4852
if test "${ac_cv_c_compiler_gnu+set}" = set; then
4853
echo $ECHO_N "(cached) $ECHO_C" >&6
4855
cat >conftest.$ac_ext <<_ACEOF
4858
cat confdefs.h >>conftest.$ac_ext
4859
cat >>conftest.$ac_ext <<_ACEOF
4860
/* end confdefs.h. */
4873
rm -f conftest.$ac_objext
4874
if { (ac_try="$ac_compile"
4876
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4877
*) ac_try_echo=$ac_try;;
4879
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4880
(eval "$ac_compile") 2>conftest.er1
4882
grep -v '^ *+' conftest.er1 >conftest.err
4884
cat conftest.err >&5
4885
echo "$as_me:$LINENO: \$? = $ac_status" >&5
4886
(exit $ac_status); } && {
4887
test -z "$ac_c_werror_flag" ||
4888
test ! -s conftest.err
4889
} && test -s conftest.$ac_objext; then
4892
echo "$as_me: failed program was:" >&5
4893
sed 's/^/| /' conftest.$ac_ext >&5
4898
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4899
ac_cv_c_compiler_gnu=$ac_compiler_gnu
4902
{ echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
4903
echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6; }
4904
GCC=`test $ac_compiler_gnu = yes && echo yes`
4905
ac_test_CFLAGS=${CFLAGS+set}
4906
ac_save_CFLAGS=$CFLAGS
4907
{ echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
4908
echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6; }
4909
if test "${ac_cv_prog_cc_g+set}" = set; then
4910
echo $ECHO_N "(cached) $ECHO_C" >&6
4912
ac_save_c_werror_flag=$ac_c_werror_flag
4913
ac_c_werror_flag=yes
4916
cat >conftest.$ac_ext <<_ACEOF
4919
cat confdefs.h >>conftest.$ac_ext
4920
cat >>conftest.$ac_ext <<_ACEOF
4921
/* end confdefs.h. */
4931
rm -f conftest.$ac_objext
4932
if { (ac_try="$ac_compile"
4934
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4935
*) ac_try_echo=$ac_try;;
4937
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4938
(eval "$ac_compile") 2>conftest.er1
4940
grep -v '^ *+' conftest.er1 >conftest.err
4942
cat conftest.err >&5
4943
echo "$as_me:$LINENO: \$? = $ac_status" >&5
4944
(exit $ac_status); } && {
4945
test -z "$ac_c_werror_flag" ||
4946
test ! -s conftest.err
4947
} && test -s conftest.$ac_objext; then
4950
echo "$as_me: failed program was:" >&5
4951
sed 's/^/| /' conftest.$ac_ext >&5
4954
cat >conftest.$ac_ext <<_ACEOF
4957
cat confdefs.h >>conftest.$ac_ext
4958
cat >>conftest.$ac_ext <<_ACEOF
4959
/* end confdefs.h. */
4969
rm -f conftest.$ac_objext
4970
if { (ac_try="$ac_compile"
4972
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4973
*) ac_try_echo=$ac_try;;
4975
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4976
(eval "$ac_compile") 2>conftest.er1
4978
grep -v '^ *+' conftest.er1 >conftest.err
4980
cat conftest.err >&5
4981
echo "$as_me:$LINENO: \$? = $ac_status" >&5
4982
(exit $ac_status); } && {
4983
test -z "$ac_c_werror_flag" ||
4984
test ! -s conftest.err
4985
} && test -s conftest.$ac_objext; then
4988
echo "$as_me: failed program was:" >&5
4989
sed 's/^/| /' conftest.$ac_ext >&5
4991
ac_c_werror_flag=$ac_save_c_werror_flag
4993
cat >conftest.$ac_ext <<_ACEOF
4996
cat confdefs.h >>conftest.$ac_ext
4997
cat >>conftest.$ac_ext <<_ACEOF
4998
/* end confdefs.h. */
5008
rm -f conftest.$ac_objext
5009
if { (ac_try="$ac_compile"
5011
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5012
*) ac_try_echo=$ac_try;;
5014
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5015
(eval "$ac_compile") 2>conftest.er1
5017
grep -v '^ *+' conftest.er1 >conftest.err
5019
cat conftest.err >&5
5020
echo "$as_me:$LINENO: \$? = $ac_status" >&5
5021
(exit $ac_status); } && {
5022
test -z "$ac_c_werror_flag" ||
5023
test ! -s conftest.err
5024
} && test -s conftest.$ac_objext; then
5027
echo "$as_me: failed program was:" >&5
5028
sed 's/^/| /' conftest.$ac_ext >&5
5033
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5036
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5039
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5040
ac_c_werror_flag=$ac_save_c_werror_flag
5042
{ echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
5043
echo "${ECHO_T}$ac_cv_prog_cc_g" >&6; }
5044
if test "$ac_test_CFLAGS" = set; then
5045
CFLAGS=$ac_save_CFLAGS
5046
elif test $ac_cv_prog_cc_g = yes; then
5047
if test "$GCC" = yes; then
5053
if test "$GCC" = yes; then
5059
{ echo "$as_me:$LINENO: checking for $CC option to accept ISO C89" >&5
5060
echo $ECHO_N "checking for $CC option to accept ISO C89... $ECHO_C" >&6; }
5061
if test "${ac_cv_prog_cc_c89+set}" = set; then
5062
echo $ECHO_N "(cached) $ECHO_C" >&6
5064
ac_cv_prog_cc_c89=no
5066
cat >conftest.$ac_ext <<_ACEOF
5069
cat confdefs.h >>conftest.$ac_ext
5070
cat >>conftest.$ac_ext <<_ACEOF
5071
/* end confdefs.h. */
5074
#include <sys/types.h>
5075
#include <sys/stat.h>
5076
/* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
5077
struct buf { int x; };
5078
FILE * (*rcsopen) (struct buf *, struct stat *, int);
5079
static char *e (p, i)
5085
static char *f (char * (*g) (char **, int), char **p, ...)
5090
s = g (p, va_arg (v,int));
5095
/* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
5096
function prototypes and stuff, but not '\xHH' hex character constants.
5097
These don't provoke an error unfortunately, instead are silently treated
5098
as 'x'. The following induces an error, until -std is added to get
5099
proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
5100
array size at least. It's necessary to write '\x00'==0 to get something
5101
that's true only with -std. */
5102
int osf4_cc_array ['\x00' == 0 ? 1 : -1];
5104
/* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
5105
inside strings and character constants. */
5107
int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
5109
int test (int i, double x);
5110
struct s1 {int (*f) (int a);};
5111
struct s2 {int (*f) (double a);};
5112
int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
5118
return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
5123
for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
5124
-Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
5126
CC="$ac_save_CC $ac_arg"
5127
rm -f conftest.$ac_objext
5128
if { (ac_try="$ac_compile"
5130
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5131
*) ac_try_echo=$ac_try;;
5133
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5134
(eval "$ac_compile") 2>conftest.er1
5136
grep -v '^ *+' conftest.er1 >conftest.err
5138
cat conftest.err >&5
5139
echo "$as_me:$LINENO: \$? = $ac_status" >&5
5140
(exit $ac_status); } && {
5141
test -z "$ac_c_werror_flag" ||
5142
test ! -s conftest.err
5143
} && test -s conftest.$ac_objext; then
5144
ac_cv_prog_cc_c89=$ac_arg
5146
echo "$as_me: failed program was:" >&5
5147
sed 's/^/| /' conftest.$ac_ext >&5
5152
rm -f core conftest.err conftest.$ac_objext
5153
test "x$ac_cv_prog_cc_c89" != "xno" && break
5155
rm -f conftest.$ac_ext
5160
case "x$ac_cv_prog_cc_c89" in
5162
{ echo "$as_me:$LINENO: result: none needed" >&5
5163
echo "${ECHO_T}none needed" >&6; } ;;
5165
{ echo "$as_me:$LINENO: result: unsupported" >&5
5166
echo "${ECHO_T}unsupported" >&6; } ;;
5168
CC="$CC $ac_cv_prog_cc_c89"
5169
{ echo "$as_me:$LINENO: result: $ac_cv_prog_cc_c89" >&5
5170
echo "${ECHO_T}$ac_cv_prog_cc_c89" >&6; } ;;
5175
ac_cpp='$CPP $CPPFLAGS'
5176
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5177
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5178
ac_compiler_gnu=$ac_cv_c_compiler_gnu
5180
depcc="$CC" am_compiler_list=
5182
{ echo "$as_me:$LINENO: checking dependency style of $depcc" >&5
5183
echo $ECHO_N "checking dependency style of $depcc... $ECHO_C" >&6; }
5184
if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then
5185
echo $ECHO_N "(cached) $ECHO_C" >&6
5187
if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
5188
# We make a subdir and do the tests there. Otherwise we can end up
5189
# making bogus files that we don't know about and never remove. For
5190
# instance it was reported that on HP-UX the gcc test will end up
5191
# making a dummy file named `D' -- because `-MD' means `put the output
5194
# Copy depcomp to subdir because otherwise we won't find it if we're
5195
# using a relative directory.
5196
cp "$am_depcomp" conftest.dir
5198
# We will build objects and dependencies in a subdirectory because
5199
# it helps to detect inapplicable dependency modes. For instance
5200
# both Tru64's cc and ICC support -MD to output dependencies as a
5201
# side effect of compilation, but ICC will put the dependencies in
5202
# the current directory while Tru64 will put them in the object
5206
am_cv_CC_dependencies_compiler_type=none
5207
if test "$am_compiler_list" = ""; then
5208
am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
5210
for depmode in $am_compiler_list; do
5211
# Setup a source with many dependencies, because some compilers
5212
# like to wrap large dependency lists on column 80 (with \), and
5213
# we should not choose a depcomp mode which is confused by this.
5215
# We need to recreate these files for each test, as the compiler may
5216
# overwrite some of them when testing with obscure command lines.
5217
# This happens at least with the AIX C compiler.
5219
for i in 1 2 3 4 5 6; do
5220
echo '#include "conftst'$i'.h"' >> sub/conftest.c
5221
# Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
5222
# Solaris 8's {/usr,}/bin/sh.
5223
touch sub/conftst$i.h
5225
echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
5229
# after this tag, mechanisms are not by side-effect, so they'll
5230
# only be used when explicitly requested
5231
if test "x$enable_dependency_tracking" = xyes; then
5239
# We check with `-c' and `-o' for the sake of the "dashmstdout"
5240
# mode. It turns out that the SunPro C++ compiler does not properly
5241
# handle `-M -o', and we need to detect this.
5242
if depmode=$depmode \
5243
source=sub/conftest.c object=sub/conftest.${OBJEXT-o} \
5244
depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
5245
$SHELL ./depcomp $depcc -c -o sub/conftest.${OBJEXT-o} sub/conftest.c \
5246
>/dev/null 2>conftest.err &&
5247
grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
5248
grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
5249
grep sub/conftest.${OBJEXT-o} sub/conftest.Po > /dev/null 2>&1 &&
5250
${MAKE-make} -s -f confmf > /dev/null 2>&1; then
5251
# icc doesn't choke on unknown options, it will just issue warnings
5252
# or remarks (even with -Werror). So we grep stderr for any message
5253
# that says an option was ignored or not supported.
5254
# When given -MP, icc 7.0 and 7.1 complain thusly:
5255
# icc: Command line warning: ignoring option '-M'; no argument required
5256
# The diagnosis changed in icc 8.0:
5257
# icc: Command line remark: option '-MP' not supported
5258
if (grep 'ignoring option' conftest.err ||
5259
grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
5260
am_cv_CC_dependencies_compiler_type=$depmode
5269
am_cv_CC_dependencies_compiler_type=none
5273
{ echo "$as_me:$LINENO: result: $am_cv_CC_dependencies_compiler_type" >&5
5274
echo "${ECHO_T}$am_cv_CC_dependencies_compiler_type" >&6; }
5275
CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
5278
test "x$enable_dependency_tracking" != xno \
5279
&& test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
5281
am__fastdepCC_FALSE='#'
5283
am__fastdepCC_TRUE='#'
5284
am__fastdepCC_FALSE=
5288
if test "x$CC" != xcc; then
5289
{ echo "$as_me:$LINENO: checking whether $CC and cc understand -c and -o together" >&5
5290
echo $ECHO_N "checking whether $CC and cc understand -c and -o together... $ECHO_C" >&6; }
5292
{ echo "$as_me:$LINENO: checking whether cc understands -c and -o together" >&5
5293
echo $ECHO_N "checking whether cc understands -c and -o together... $ECHO_C" >&6; }
5295
set dummy $CC; ac_cc=`echo $2 |
5296
sed 's/[^a-zA-Z0-9_]/_/g;s/^[0-9]/_/'`
5297
if { as_var=ac_cv_prog_cc_${ac_cc}_c_o; eval "test \"\${$as_var+set}\" = set"; }; then
5298
echo $ECHO_N "(cached) $ECHO_C" >&6
5300
cat >conftest.$ac_ext <<_ACEOF
5303
cat confdefs.h >>conftest.$ac_ext
5304
cat >>conftest.$ac_ext <<_ACEOF
5305
/* end confdefs.h. */
5315
# Make sure it works both with $CC and with simple cc.
5316
# We do the test twice because some compilers refuse to overwrite an
5317
# existing .o file with -o, though they will create one.
5318
ac_try='$CC -c conftest.$ac_ext -o conftest2.$ac_objext >&5'
5320
if { (case "(($ac_try" in
5321
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5322
*) ac_try_echo=$ac_try;;
5324
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5325
(eval "$ac_try") 2>&5
5327
echo "$as_me:$LINENO: \$? = $ac_status" >&5
5328
(exit $ac_status); } &&
5329
test -f conftest2.$ac_objext && { (case "(($ac_try" in
5330
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5331
*) ac_try_echo=$ac_try;;
5333
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5334
(eval "$ac_try") 2>&5
5336
echo "$as_me:$LINENO: \$? = $ac_status" >&5
5337
(exit $ac_status); };
5339
eval ac_cv_prog_cc_${ac_cc}_c_o=yes
5340
if test "x$CC" != xcc; then
5341
# Test first that cc exists at all.
5342
if { ac_try='cc -c conftest.$ac_ext >&5'
5343
{ (case "(($ac_try" in
5344
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5345
*) ac_try_echo=$ac_try;;
5347
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5348
(eval "$ac_try") 2>&5
5350
echo "$as_me:$LINENO: \$? = $ac_status" >&5
5351
(exit $ac_status); }; }; then
5352
ac_try='cc -c conftest.$ac_ext -o conftest2.$ac_objext >&5'
5354
if { (case "(($ac_try" in
5355
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5356
*) ac_try_echo=$ac_try;;
5358
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5359
(eval "$ac_try") 2>&5
5361
echo "$as_me:$LINENO: \$? = $ac_status" >&5
5362
(exit $ac_status); } &&
5363
test -f conftest2.$ac_objext && { (case "(($ac_try" in
5364
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5365
*) ac_try_echo=$ac_try;;
5367
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5368
(eval "$ac_try") 2>&5
5370
echo "$as_me:$LINENO: \$? = $ac_status" >&5
5371
(exit $ac_status); };
5376
# cc exists but doesn't like -o.
5377
eval ac_cv_prog_cc_${ac_cc}_c_o=no
5382
eval ac_cv_prog_cc_${ac_cc}_c_o=no
5384
rm -f core conftest*
5387
if eval test \$ac_cv_prog_cc_${ac_cc}_c_o = yes; then
5388
{ echo "$as_me:$LINENO: result: yes" >&5
5389
echo "${ECHO_T}yes" >&6; }
5391
{ echo "$as_me:$LINENO: result: no" >&5
5392
echo "${ECHO_T}no" >&6; }
5394
cat >>confdefs.h <<\_ACEOF
5395
@%:@define NO_MINUS_C_MINUS_O 1
5400
# Find a good install program. We prefer a C program (faster),
5401
# so one script is as good as another. But avoid the broken or
5402
# incompatible versions:
5403
# SysV /etc/install, /usr/sbin/install
5404
# SunOS /usr/etc/install
5405
# IRIX /sbin/install
5407
# AmigaOS /C/install, which installs bootblocks on floppy discs
5408
# AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
5409
# AFS /usr/afsws/bin/install, which mishandles nonexistent args
5410
# SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
5411
# OS/2's system install, which has a completely different semantic
5412
# ./install, which can be erroneously created by make from ./install.sh.
5413
{ echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
5414
echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6; }
5415
if test -z "$INSTALL"; then
5416
if test "${ac_cv_path_install+set}" = set; then
5417
echo $ECHO_N "(cached) $ECHO_C" >&6
5419
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5423
test -z "$as_dir" && as_dir=.
5424
# Account for people who put trailing slashes in PATH elements.
5426
./ | .// | /cC/* | \
5427
/etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
5428
?:\\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \
5431
# OSF1 and SCO ODT 3.0 have their own names for install.
5432
# Don't use installbsd from OSF since it installs stuff as root
5434
for ac_prog in ginstall scoinst install; do
5435
for ac_exec_ext in '' $ac_executable_extensions; do
5436
if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
5437
if test $ac_prog = install &&
5438
grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
5439
# AIX install. It has an incompatible calling convention.
5441
elif test $ac_prog = install &&
5442
grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
5443
# program-specific install script used by HP pwplus--don't use.
5446
ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
5459
if test "${ac_cv_path_install+set}" = set; then
5460
INSTALL=$ac_cv_path_install
5462
# As a last resort, use the slow shell script. Don't cache a
5463
# value for INSTALL within a source directory, because that will
5464
# break other packages using the cache if that directory is
5465
# removed, or if the value is a relative name.
5466
INSTALL=$ac_install_sh
5469
{ echo "$as_me:$LINENO: result: $INSTALL" >&5
5470
echo "${ECHO_T}$INSTALL" >&6; }
5472
# Use test -z because SunOS4 sh mishandles braces in ${var-val}.
5473
# It thinks the first close brace ends the variable substitution.
5474
test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
5476
test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
5478
test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
5480
{ echo "$as_me:$LINENO: checking whether ln -s works" >&5
5481
echo $ECHO_N "checking whether ln -s works... $ECHO_C" >&6; }
5483
if test "$LN_S" = "ln -s"; then
5484
{ echo "$as_me:$LINENO: result: yes" >&5
5485
echo "${ECHO_T}yes" >&6; }
5487
{ echo "$as_me:$LINENO: result: no, using $LN_S" >&5
5488
echo "${ECHO_T}no, using $LN_S" >&6; }
5491
{ echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
5492
echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6; }
5493
set x ${MAKE-make}; ac_make=`echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
5494
if { as_var=ac_cv_prog_make_${ac_make}_set; eval "test \"\${$as_var+set}\" = set"; }; then
5495
echo $ECHO_N "(cached) $ECHO_C" >&6
5497
cat >conftest.make <<\_ACEOF
5500
@echo '@@@%%%=$(MAKE)=@@@%%%'
5502
# GNU make sometimes prints "make[1]: Entering...", which would confuse us.
5503
case `${MAKE-make} -f conftest.make 2>/dev/null` in
5505
eval ac_cv_prog_make_${ac_make}_set=yes;;
5507
eval ac_cv_prog_make_${ac_make}_set=no;;
5511
if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
5512
{ echo "$as_me:$LINENO: result: yes" >&5
5513
echo "${ECHO_T}yes" >&6; }
5516
{ echo "$as_me:$LINENO: result: no" >&5
5517
echo "${ECHO_T}no" >&6; }
5518
SET_MAKE="MAKE=${MAKE-make}"
5521
for ac_prog in gawk mawk nawk awk
5523
# Extract the first word of "$ac_prog", so it can be a program name with args.
5524
set dummy $ac_prog; ac_word=$2
5525
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
5526
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
5527
if test "${ac_cv_prog_AWK+set}" = set; then
5528
echo $ECHO_N "(cached) $ECHO_C" >&6
5530
if test -n "$AWK"; then
5531
ac_cv_prog_AWK="$AWK" # Let the user override the test.
5533
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5537
test -z "$as_dir" && as_dir=.
5538
for ac_exec_ext in '' $ac_executable_extensions; do
5539
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5540
ac_cv_prog_AWK="$ac_prog"
5541
echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5551
if test -n "$AWK"; then
5552
{ echo "$as_me:$LINENO: result: $AWK" >&5
5553
echo "${ECHO_T}$AWK" >&6; }
5555
{ echo "$as_me:$LINENO: result: no" >&5
5556
echo "${ECHO_T}no" >&6; }
5560
test -n "$AWK" && break
5565
*-*-cygwin* | *-*-mingw*)
5566
SHARED_FLAGS="-shared -no-undefined -Xlinker --export-all-symbols"
5568
PLUGIN_FLAGS="-shared -no-undefined -avoid-version"
5570
if test -n "$ac_tool_prefix"; then
5571
# Extract the first word of "${ac_tool_prefix}windres", so it can be a program name with args.
5572
set dummy ${ac_tool_prefix}windres; ac_word=$2
5573
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
5574
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
5575
if test "${ac_cv_prog_RC+set}" = set; then
5576
echo $ECHO_N "(cached) $ECHO_C" >&6
5578
if test -n "$RC"; then
5579
ac_cv_prog_RC="$RC" # Let the user override the test.
5581
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5585
test -z "$as_dir" && as_dir=.
5586
for ac_exec_ext in '' $ac_executable_extensions; do
5587
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5588
ac_cv_prog_RC="${ac_tool_prefix}windres"
5589
echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5599
if test -n "$RC"; then
5600
{ echo "$as_me:$LINENO: result: $RC" >&5
5601
echo "${ECHO_T}$RC" >&6; }
5603
{ echo "$as_me:$LINENO: result: no" >&5
5604
echo "${ECHO_T}no" >&6; }
5609
if test -z "$ac_cv_prog_RC"; then
5611
# Extract the first word of "windres", so it can be a program name with args.
5612
set dummy windres; ac_word=$2
5613
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
5614
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
5615
if test "${ac_cv_prog_ac_ct_RC+set}" = set; then
5616
echo $ECHO_N "(cached) $ECHO_C" >&6
5618
if test -n "$ac_ct_RC"; then
5619
ac_cv_prog_ac_ct_RC="$ac_ct_RC" # Let the user override the test.
5621
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5625
test -z "$as_dir" && as_dir=.
5626
for ac_exec_ext in '' $ac_executable_extensions; do
5627
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5628
ac_cv_prog_ac_ct_RC="windres"
5629
echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5638
ac_ct_RC=$ac_cv_prog_ac_ct_RC
5639
if test -n "$ac_ct_RC"; then
5640
{ echo "$as_me:$LINENO: result: $ac_ct_RC" >&5
5641
echo "${ECHO_T}$ac_ct_RC" >&6; }
5643
{ echo "$as_me:$LINENO: result: no" >&5
5644
echo "${ECHO_T}no" >&6; }
5647
if test "x$ac_ct_RC" = x; then
5650
case $cross_compiling:$ac_tool_warned in
5652
{ echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
5653
whose name does not start with the host triplet. If you think this
5654
configuration is useful to you, please write to autoconf@gnu.org." >&5
5655
echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
5656
whose name does not start with the host triplet. If you think this
5657
configuration is useful to you, please write to autoconf@gnu.org." >&2;}
5658
ac_tool_warned=yes ;;
5668
*-*-darwin*) SHARED_FLAGS="-dynamic"
5670
PLUGIN_FLAGS="-bundle -avoid-version"
5674
*) SHARED_FLAGS="-shared"
5676
PLUGIN_FLAGS="-shared -avoid-version"
5681
if test x$nt = xtrue; then
5683
CODEBLOCKS_NT_FALSE='#'
5685
CODEBLOCKS_NT_TRUE='#'
5686
CODEBLOCKS_NT_FALSE=
5689
if test x$linux = xtrue; then
5690
CODEBLOCKS_LINUX_TRUE=
5691
CODEBLOCKS_LINUX_FALSE='#'
5693
CODEBLOCKS_LINUX_TRUE='#'
5694
CODEBLOCKS_LINUX_FALSE=
5697
if test x$darwin = xtrue ; then
5698
CODEBLOCKS_DARWIN_TRUE=
5699
CODEBLOCKS_DARWIN_FALSE='#'
5701
CODEBLOCKS_DARWIN_TRUE='#'
5702
CODEBLOCKS_DARWIN_FALSE=
5707
# Check whether --enable-static was given.
5708
if test "${enable_static+set}" = set; then
5709
enableval=$enable_static; p=${PACKAGE-default}
5711
yes) enable_static=yes ;;
5712
no) enable_static=no ;;
5715
# Look at the argument we got. We use all the common list separators.
5716
lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
5717
for pkg in $enableval; do
5719
if test "X$pkg" = "X$p"; then
5732
# Check whether --enable-shared was given.
5733
if test "${enable_shared+set}" = set; then
5734
enableval=$enable_shared; p=${PACKAGE-default}
5736
yes) enable_shared=yes ;;
5737
no) enable_shared=no ;;
5740
# Look at the argument we got. We use all the common list separators.
5741
lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
5742
for pkg in $enableval; do
5744
if test "X$pkg" = "X$p"; then
5756
# Check whether --enable-fast-install was given.
5757
if test "${enable_fast_install+set}" = set; then
5758
enableval=$enable_fast_install; p=${PACKAGE-default}
5760
yes) enable_fast_install=yes ;;
5761
no) enable_fast_install=no ;;
5763
enable_fast_install=no
5764
# Look at the argument we got. We use all the common list separators.
5765
lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
5766
for pkg in $enableval; do
5768
if test "X$pkg" = "X$p"; then
5769
enable_fast_install=yes
5776
enable_fast_install=yes
5780
{ echo "$as_me:$LINENO: checking for a sed that does not truncate output" >&5
5781
echo $ECHO_N "checking for a sed that does not truncate output... $ECHO_C" >&6; }
5782
if test "${lt_cv_path_SED+set}" = set; then
5783
echo $ECHO_N "(cached) $ECHO_C" >&6
5785
# Loop through the user's path and test for sed and gsed.
5786
# Then use that list of sed's as ones to test for truncation.
5787
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5791
test -z "$as_dir" && as_dir=.
5792
for lt_ac_prog in sed gsed; do
5793
for ac_exec_ext in '' $ac_executable_extensions; do
5794
if { test -f "$as_dir/$lt_ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$lt_ac_prog$ac_exec_ext"; }; then
5795
lt_ac_sed_list="$lt_ac_sed_list $as_dir/$lt_ac_prog$ac_exec_ext"
5803
# Add /usr/xpg4/bin/sed as it is typically found on Solaris
5804
# along with /bin/sed that truncates output.
5805
for lt_ac_sed in $lt_ac_sed_list /usr/xpg4/bin/sed; do
5806
test ! -f $lt_ac_sed && continue
5807
cat /dev/null > conftest.in
5809
echo $ECHO_N "0123456789$ECHO_C" >conftest.in
5810
# Check for GNU sed and select it if it is found.
5811
if "$lt_ac_sed" --version 2>&1 < /dev/null | grep 'GNU' > /dev/null; then
5812
lt_cv_path_SED=$lt_ac_sed
5816
cat conftest.in conftest.in >conftest.tmp
5817
mv conftest.tmp conftest.in
5818
cp conftest.in conftest.nl
5820
$lt_ac_sed -e 's/a$//' < conftest.nl >conftest.out || break
5821
cmp -s conftest.out conftest.nl || break
5822
# 10000 chars as input seems more than enough
5823
test $lt_ac_count -gt 10 && break
5824
lt_ac_count=`expr $lt_ac_count + 1`
5825
if test $lt_ac_count -gt $lt_ac_max; then
5826
lt_ac_max=$lt_ac_count
5827
lt_cv_path_SED=$lt_ac_sed
5836
{ echo "$as_me:$LINENO: result: $SED" >&5
5837
echo "${ECHO_T}$SED" >&6; }
5839
{ echo "$as_me:$LINENO: checking for grep that handles long lines and -e" >&5
5840
echo $ECHO_N "checking for grep that handles long lines and -e... $ECHO_C" >&6; }
5841
if test "${ac_cv_path_GREP+set}" = set; then
5842
echo $ECHO_N "(cached) $ECHO_C" >&6
5844
# Extract the first word of "grep ggrep" to use in msg output
5845
if test -z "$GREP"; then
5846
set dummy grep ggrep; ac_prog_name=$2
5847
if test "${ac_cv_path_GREP+set}" = set; then
5848
echo $ECHO_N "(cached) $ECHO_C" >&6
5850
ac_path_GREP_found=false
5851
# Loop through the user's path and test for each of PROGNAME-LIST
5852
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5853
for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
5856
test -z "$as_dir" && as_dir=.
5857
for ac_prog in grep ggrep; do
5858
for ac_exec_ext in '' $ac_executable_extensions; do
5859
ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
5860
{ test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } || continue
5861
# Check for GNU ac_path_GREP and select it if it is found.
5862
# Check for GNU $ac_path_GREP
5863
case `"$ac_path_GREP" --version 2>&1` in
5865
ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
5868
echo $ECHO_N "0123456789$ECHO_C" >"conftest.in"
5871
cat "conftest.in" "conftest.in" >"conftest.tmp"
5872
mv "conftest.tmp" "conftest.in"
5873
cp "conftest.in" "conftest.nl"
5874
echo 'GREP' >> "conftest.nl"
5875
"$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
5876
diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
5877
ac_count=`expr $ac_count + 1`
5878
if test $ac_count -gt ${ac_path_GREP_max-0}; then
5879
# Best one so far, save it but keep looking for a better one
5880
ac_cv_path_GREP="$ac_path_GREP"
5881
ac_path_GREP_max=$ac_count
5883
# 10*(2^10) chars as input seems more than enough
5884
test $ac_count -gt 10 && break
5886
rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
5890
$ac_path_GREP_found && break 3
5900
GREP="$ac_cv_path_GREP"
5901
if test -z "$GREP"; then
5902
{ { echo "$as_me:$LINENO: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
5903
echo "$as_me: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
5904
{ (exit 1); exit 1; }; }
5908
ac_cv_path_GREP=$GREP
5913
{ echo "$as_me:$LINENO: result: $ac_cv_path_GREP" >&5
5914
echo "${ECHO_T}$ac_cv_path_GREP" >&6; }
5915
GREP="$ac_cv_path_GREP"
5918
{ echo "$as_me:$LINENO: checking for egrep" >&5
5919
echo $ECHO_N "checking for egrep... $ECHO_C" >&6; }
5920
if test "${ac_cv_path_EGREP+set}" = set; then
5921
echo $ECHO_N "(cached) $ECHO_C" >&6
5923
if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
5924
then ac_cv_path_EGREP="$GREP -E"
5926
# Extract the first word of "egrep" to use in msg output
5927
if test -z "$EGREP"; then
5928
set dummy egrep; ac_prog_name=$2
5929
if test "${ac_cv_path_EGREP+set}" = set; then
5930
echo $ECHO_N "(cached) $ECHO_C" >&6
5932
ac_path_EGREP_found=false
5933
# Loop through the user's path and test for each of PROGNAME-LIST
5934
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5935
for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
5938
test -z "$as_dir" && as_dir=.
5939
for ac_prog in egrep; do
5940
for ac_exec_ext in '' $ac_executable_extensions; do
5941
ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
5942
{ test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } || continue
5943
# Check for GNU ac_path_EGREP and select it if it is found.
5944
# Check for GNU $ac_path_EGREP
5945
case `"$ac_path_EGREP" --version 2>&1` in
5947
ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
5950
echo $ECHO_N "0123456789$ECHO_C" >"conftest.in"
5953
cat "conftest.in" "conftest.in" >"conftest.tmp"
5954
mv "conftest.tmp" "conftest.in"
5955
cp "conftest.in" "conftest.nl"
5956
echo 'EGREP' >> "conftest.nl"
5957
"$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
5958
diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
5959
ac_count=`expr $ac_count + 1`
5960
if test $ac_count -gt ${ac_path_EGREP_max-0}; then
5961
# Best one so far, save it but keep looking for a better one
5962
ac_cv_path_EGREP="$ac_path_EGREP"
5963
ac_path_EGREP_max=$ac_count
5965
# 10*(2^10) chars as input seems more than enough
5966
test $ac_count -gt 10 && break
5968
rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
5972
$ac_path_EGREP_found && break 3
5982
EGREP="$ac_cv_path_EGREP"
5983
if test -z "$EGREP"; then
5984
{ { echo "$as_me:$LINENO: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
5985
echo "$as_me: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
5986
{ (exit 1); exit 1; }; }
5990
ac_cv_path_EGREP=$EGREP
5996
{ echo "$as_me:$LINENO: result: $ac_cv_path_EGREP" >&5
5997
echo "${ECHO_T}$ac_cv_path_EGREP" >&6; }
5998
EGREP="$ac_cv_path_EGREP"
6002
# Check whether --with-gnu-ld was given.
6003
if test "${with_gnu_ld+set}" = set; then
6004
withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes
6010
if test "$GCC" = yes; then
6011
# Check if gcc -print-prog-name=ld gives a path.
6012
{ echo "$as_me:$LINENO: checking for ld used by $CC" >&5
6013
echo $ECHO_N "checking for ld used by $CC... $ECHO_C" >&6; }
6016
# gcc leaves a trailing carriage return which upsets mingw
6017
ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
6019
ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
6022
# Accept absolute paths.
6024
re_direlt='/[^/][^/]*/\.\./'
6025
# Canonicalize the pathname of ld
6026
ac_prog=`echo $ac_prog| $SED 's%\\\\%/%g'`
6027
while echo $ac_prog | grep "$re_direlt" > /dev/null 2>&1; do
6028
ac_prog=`echo $ac_prog| $SED "s%$re_direlt%/%"`
6030
test -z "$LD" && LD="$ac_prog"
6033
# If it fails, then pretend we aren't using GCC.
6037
# If it is relative, then search for the first ld in PATH.
6041
elif test "$with_gnu_ld" = yes; then
6042
{ echo "$as_me:$LINENO: checking for GNU ld" >&5
6043
echo $ECHO_N "checking for GNU ld... $ECHO_C" >&6; }
6045
{ echo "$as_me:$LINENO: checking for non-GNU ld" >&5
6046
echo $ECHO_N "checking for non-GNU ld... $ECHO_C" >&6; }
6048
if test "${lt_cv_path_LD+set}" = set; then
6049
echo $ECHO_N "(cached) $ECHO_C" >&6
6051
if test -z "$LD"; then
6052
lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
6053
for ac_dir in $PATH; do
6055
test -z "$ac_dir" && ac_dir=.
6056
if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
6057
lt_cv_path_LD="$ac_dir/$ac_prog"
6058
# Check to see if the program is GNU ld. I'd rather use --version,
6059
# but apparently some variants of GNU ld only accept -v.
6060
# Break only if it was the GNU/non-GNU ld that we prefer.
6061
case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
6062
*GNU* | *'with BFD'*)
6063
test "$with_gnu_ld" != no && break
6066
test "$with_gnu_ld" != yes && break
6073
lt_cv_path_LD="$LD" # Let the user override the test with a path.
6078
if test -n "$LD"; then
6079
{ echo "$as_me:$LINENO: result: $LD" >&5
6080
echo "${ECHO_T}$LD" >&6; }
6082
{ echo "$as_me:$LINENO: result: no" >&5
6083
echo "${ECHO_T}no" >&6; }
6085
test -z "$LD" && { { echo "$as_me:$LINENO: error: no acceptable ld found in \$PATH" >&5
6086
echo "$as_me: error: no acceptable ld found in \$PATH" >&2;}
6087
{ (exit 1); exit 1; }; }
6088
{ echo "$as_me:$LINENO: checking if the linker ($LD) is GNU ld" >&5
6089
echo $ECHO_N "checking if the linker ($LD) is GNU ld... $ECHO_C" >&6; }
6090
if test "${lt_cv_prog_gnu_ld+set}" = set; then
6091
echo $ECHO_N "(cached) $ECHO_C" >&6
6093
# I'd rather use --version here, but apparently some GNU lds only accept -v.
6094
case `$LD -v 2>&1 </dev/null` in
6095
*GNU* | *'with BFD'*)
6096
lt_cv_prog_gnu_ld=yes
6099
lt_cv_prog_gnu_ld=no
6103
{ echo "$as_me:$LINENO: result: $lt_cv_prog_gnu_ld" >&5
6104
echo "${ECHO_T}$lt_cv_prog_gnu_ld" >&6; }
6105
with_gnu_ld=$lt_cv_prog_gnu_ld
6108
{ echo "$as_me:$LINENO: checking for $LD option to reload object files" >&5
6109
echo $ECHO_N "checking for $LD option to reload object files... $ECHO_C" >&6; }
6110
if test "${lt_cv_ld_reload_flag+set}" = set; then
6111
echo $ECHO_N "(cached) $ECHO_C" >&6
6113
lt_cv_ld_reload_flag='-r'
6115
{ echo "$as_me:$LINENO: result: $lt_cv_ld_reload_flag" >&5
6116
echo "${ECHO_T}$lt_cv_ld_reload_flag" >&6; }
6117
reload_flag=$lt_cv_ld_reload_flag
6118
case $reload_flag in
6120
*) reload_flag=" $reload_flag" ;;
6122
reload_cmds='$LD$reload_flag -o $output$reload_objs'
6125
if test "$GCC" = yes; then
6126
reload_cmds='$LTCC $LTCFLAGS -nostdlib ${wl}-r -o $output$reload_objs'
6128
reload_cmds='$LD$reload_flag -o $output$reload_objs'
6133
{ echo "$as_me:$LINENO: checking for BSD-compatible nm" >&5
6134
echo $ECHO_N "checking for BSD-compatible nm... $ECHO_C" >&6; }
6135
if test "${lt_cv_path_NM+set}" = set; then
6136
echo $ECHO_N "(cached) $ECHO_C" >&6
6138
if test -n "$NM"; then
6139
# Let the user override the test.
6142
lt_nm_to_check="${ac_tool_prefix}nm"
6143
if test -n "$ac_tool_prefix" && test "$build" = "$host"; then
6144
lt_nm_to_check="$lt_nm_to_check nm"
6146
for lt_tmp_nm in $lt_nm_to_check; do
6147
lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
6148
for ac_dir in $PATH /usr/ccs/bin/elf /usr/ccs/bin /usr/ucb /bin; do
6150
test -z "$ac_dir" && ac_dir=.
6151
tmp_nm="$ac_dir/$lt_tmp_nm"
6152
if test -f "$tmp_nm" || test -f "$tmp_nm$ac_exeext" ; then
6153
# Check to see if the nm accepts a BSD-compat flag.
6154
# Adding the `sed 1q' prevents false positives on HP-UX, which says:
6155
# nm: unknown option "B" ignored
6156
# Tru64's nm complains that /dev/null is an invalid object file
6157
case `"$tmp_nm" -B /dev/null 2>&1 | sed '1q'` in
6158
*/dev/null* | *'Invalid file or object type'*)
6159
lt_cv_path_NM="$tmp_nm -B"
6163
case `"$tmp_nm" -p /dev/null 2>&1 | sed '1q'` in
6165
lt_cv_path_NM="$tmp_nm -p"
6169
lt_cv_path_NM=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but
6170
continue # so that we can try to find one that supports BSD flags
6179
test -z "$lt_cv_path_NM" && lt_cv_path_NM=nm
6182
{ echo "$as_me:$LINENO: result: $lt_cv_path_NM" >&5
6183
echo "${ECHO_T}$lt_cv_path_NM" >&6; }
6186
{ echo "$as_me:$LINENO: checking how to recognize dependent libraries" >&5
6187
echo $ECHO_N "checking how to recognize dependent libraries... $ECHO_C" >&6; }
6188
if test "${lt_cv_deplibs_check_method+set}" = set; then
6189
echo $ECHO_N "(cached) $ECHO_C" >&6
6191
lt_cv_file_magic_cmd='$MAGIC_CMD'
6192
lt_cv_file_magic_test_file=
6193
lt_cv_deplibs_check_method='unknown'
6194
# Need to set the preceding variable on all platforms that support
6195
# interlibrary dependencies.
6196
# 'none' -- dependencies not supported.
6197
# `unknown' -- same as none, but documents that we really don't know.
6198
# 'pass_all' -- all dependencies passed with no checks.
6199
# 'test_compile' -- check by making test program.
6200
# 'file_magic [[regex]]' -- check by looking for files in library path
6201
# which responds to the $file_magic_cmd with a given extended regex.
6202
# If you have `file' or equivalent on your system and you're not sure
6203
# whether `pass_all' will *always* work, you probably want this one.
6207
lt_cv_deplibs_check_method=pass_all
6211
lt_cv_deplibs_check_method=pass_all
6215
lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib)'
6216
lt_cv_file_magic_cmd='/usr/bin/file -L'
6217
lt_cv_file_magic_test_file=/shlib/libc.so
6221
# func_win32_libid is a shell function defined in ltmain.sh
6222
lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
6223
lt_cv_file_magic_cmd='func_win32_libid'
6227
# Base MSYS/MinGW do not provide the 'file' command needed by
6228
# func_win32_libid shell function, so use a weaker test based on 'objdump',
6229
# unless we find 'file', for example because we are cross-compiling.
6230
if ( file / ) >/dev/null 2>&1; then
6231
lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
6232
lt_cv_file_magic_cmd='func_win32_libid'
6234
lt_cv_deplibs_check_method='file_magic file format pei*-i386(.*architecture: i386)?'
6235
lt_cv_file_magic_cmd='$OBJDUMP -f'
6239
darwin* | rhapsody*)
6240
lt_cv_deplibs_check_method=pass_all
6243
freebsd* | dragonfly*)
6244
if echo __ELF__ | $CC -E - | grep __ELF__ > /dev/null; then
6247
# Not sure whether the presence of OpenBSD here was a mistake.
6248
# Let's accept both of them until this is cleared up.
6249
lt_cv_deplibs_check_method='file_magic (FreeBSD|OpenBSD|DragonFly)/i[3-9]86 (compact )?demand paged shared library'
6250
lt_cv_file_magic_cmd=/usr/bin/file
6251
lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*`
6255
lt_cv_deplibs_check_method=pass_all
6260
lt_cv_deplibs_check_method=pass_all
6263
hpux10.20* | hpux11*)
6264
lt_cv_file_magic_cmd=/usr/bin/file
6267
lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - IA64'
6268
lt_cv_file_magic_test_file=/usr/lib/hpux32/libc.so
6271
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]'
6272
lt_cv_file_magic_test_file=/usr/lib/pa20_64/libc.sl
6275
lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9].[0-9]) shared library'
6276
lt_cv_file_magic_test_file=/usr/lib/libc.sl
6282
# PIC code is broken on Interix 3.x, that's why |\.a not |_pic\.a here
6283
lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|\.a)$'
6286
irix5* | irix6* | nonstopux*)
6288
*-32|*"-32 ") libmagic=32-bit;;
6289
*-n32|*"-n32 ") libmagic=N32;;
6290
*-64|*"-64 ") libmagic=64-bit;;
6291
*) libmagic=never-match;;
6293
lt_cv_deplibs_check_method=pass_all
6296
# This must be Linux ELF.
6297
linux* | k*bsd*-gnu)
6298
lt_cv_deplibs_check_method=pass_all
6301
netbsd* | netbsdelf*-gnu)
6302
if echo __ELF__ | $CC -E - | grep __ELF__ > /dev/null; then
6303
lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
6305
lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|_pic\.a)$'
6310
lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (executable|dynamic lib)'
6311
lt_cv_file_magic_cmd=/usr/bin/file
6312
lt_cv_file_magic_test_file=/usr/lib/libnls.so
6316
lt_cv_deplibs_check_method=unknown
6320
if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
6321
lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|\.so|_pic\.a)$'
6323
lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
6327
osf3* | osf4* | osf5*)
6328
lt_cv_deplibs_check_method=pass_all
6332
lt_cv_deplibs_check_method=pass_all
6336
lt_cv_deplibs_check_method=pass_all
6340
case $host_vendor in
6342
lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib) M[0-9][0-9]* Version [0-9]'
6343
lt_cv_file_magic_test_file=`echo /usr/lib/libc.so*`
6346
lt_cv_deplibs_check_method=pass_all
6349
lt_cv_file_magic_cmd='/bin/file'
6350
lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )'
6353
lt_cv_file_magic_cmd='/bin/file'
6354
lt_cv_deplibs_check_method="file_magic ELF [0-9][0-9]*-bit [LM]SB dynamic lib"
6355
lt_cv_file_magic_test_file=/lib/libc.so
6358
lt_cv_deplibs_check_method=pass_all
6361
lt_cv_deplibs_check_method=pass_all
6366
sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
6367
lt_cv_deplibs_check_method=pass_all
6372
{ echo "$as_me:$LINENO: result: $lt_cv_deplibs_check_method" >&5
6373
echo "${ECHO_T}$lt_cv_deplibs_check_method" >&6; }
6374
file_magic_cmd=$lt_cv_file_magic_cmd
6375
deplibs_check_method=$lt_cv_deplibs_check_method
6376
test -z "$deplibs_check_method" && deplibs_check_method=unknown
6381
# If no C compiler was specified, use CC.
6384
# If no C compiler flags were specified, use CFLAGS.
6385
LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
6387
# Allow CC to be a program name with arguments.
6391
# Check whether --enable-libtool-lock was given.
6392
if test "${enable_libtool_lock+set}" = set; then
6393
enableval=$enable_libtool_lock;
6396
test "x$enable_libtool_lock" != xno && enable_libtool_lock=yes
6398
# Some flags need to be propagated to the compiler or linker for good
6402
# Find out which ABI we are using.
6403
echo 'int i;' > conftest.$ac_ext
6404
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6405
(eval $ac_compile) 2>&5
6407
echo "$as_me:$LINENO: \$? = $ac_status" >&5
6408
(exit $ac_status); }; then
6409
case `/usr/bin/file conftest.$ac_objext` in
6421
# Find out which ABI we are using.
6422
echo '#line __oline__ "configure"' > conftest.$ac_ext
6423
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6424
(eval $ac_compile) 2>&5
6426
echo "$as_me:$LINENO: \$? = $ac_status" >&5
6427
(exit $ac_status); }; then
6428
if test "$lt_cv_prog_gnu_ld" = yes; then
6429
case `/usr/bin/file conftest.$ac_objext` in
6431
LD="${LD-ld} -melf32bsmip"
6434
LD="${LD-ld} -melf32bmipn32"
6437
LD="${LD-ld} -melf64bmip"
6441
case `/usr/bin/file conftest.$ac_objext` in
6457
x86_64-*kfreebsd*-gnu|x86_64-*linux*|ppc*-*linux*|powerpc*-*linux*| \
6458
s390*-*linux*|sparc*-*linux*)
6459
# Find out which ABI we are using.
6460
echo 'int i;' > conftest.$ac_ext
6461
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6462
(eval $ac_compile) 2>&5
6464
echo "$as_me:$LINENO: \$? = $ac_status" >&5
6465
(exit $ac_status); }; then
6466
case `/usr/bin/file conftest.o` in
6469
x86_64-*kfreebsd*-gnu)
6470
LD="${LD-ld} -m elf_i386_fbsd"
6473
LD="${LD-ld} -m elf_i386"
6475
ppc64-*linux*|powerpc64-*linux*)
6476
LD="${LD-ld} -m elf32ppclinux"
6479
LD="${LD-ld} -m elf_s390"
6482
LD="${LD-ld} -m elf32_sparc"
6488
x86_64-*kfreebsd*-gnu)
6489
LD="${LD-ld} -m elf_x86_64_fbsd"
6492
LD="${LD-ld} -m elf_x86_64"
6494
ppc*-*linux*|powerpc*-*linux*)
6495
LD="${LD-ld} -m elf64ppc"
6498
LD="${LD-ld} -m elf64_s390"
6501
LD="${LD-ld} -m elf64_sparc"
6511
# On SCO OpenServer 5, we need -belf to get full-featured binaries.
6512
SAVE_CFLAGS="$CFLAGS"
6513
CFLAGS="$CFLAGS -belf"
6514
{ echo "$as_me:$LINENO: checking whether the C compiler needs -belf" >&5
6515
echo $ECHO_N "checking whether the C compiler needs -belf... $ECHO_C" >&6; }
6516
if test "${lt_cv_cc_needs_belf+set}" = set; then
6517
echo $ECHO_N "(cached) $ECHO_C" >&6
6520
ac_cpp='$CPP $CPPFLAGS'
6521
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6522
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6523
ac_compiler_gnu=$ac_cv_c_compiler_gnu
6525
cat >conftest.$ac_ext <<_ACEOF
6528
cat confdefs.h >>conftest.$ac_ext
6529
cat >>conftest.$ac_ext <<_ACEOF
6530
/* end confdefs.h. */
6540
rm -f conftest.$ac_objext conftest$ac_exeext
6541
if { (ac_try="$ac_link"
6543
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6544
*) ac_try_echo=$ac_try;;
6546
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6547
(eval "$ac_link") 2>conftest.er1
6549
grep -v '^ *+' conftest.er1 >conftest.err
6551
cat conftest.err >&5
6552
echo "$as_me:$LINENO: \$? = $ac_status" >&5
6553
(exit $ac_status); } && {
6554
test -z "$ac_c_werror_flag" ||
6555
test ! -s conftest.err
6556
} && test -s conftest$ac_exeext &&
6557
$as_test_x conftest$ac_exeext; then
6558
lt_cv_cc_needs_belf=yes
6560
echo "$as_me: failed program was:" >&5
6561
sed 's/^/| /' conftest.$ac_ext >&5
6563
lt_cv_cc_needs_belf=no
6566
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
6567
conftest$ac_exeext conftest.$ac_ext
6569
ac_cpp='$CPP $CPPFLAGS'
6570
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6571
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6572
ac_compiler_gnu=$ac_cv_c_compiler_gnu
6575
{ echo "$as_me:$LINENO: result: $lt_cv_cc_needs_belf" >&5
6576
echo "${ECHO_T}$lt_cv_cc_needs_belf" >&6; }
6577
if test x"$lt_cv_cc_needs_belf" != x"yes"; then
6578
# this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
6579
CFLAGS="$SAVE_CFLAGS"
6583
# Find out which ABI we are using.
6584
echo 'int i;' > conftest.$ac_ext
6585
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6586
(eval $ac_compile) 2>&5
6588
echo "$as_me:$LINENO: \$? = $ac_status" >&5
6589
(exit $ac_status); }; then
6590
case `/usr/bin/file conftest.o` in
6592
case $lt_cv_prog_gnu_ld in
6593
yes*) LD="${LD-ld} -m elf64_sparc" ;;
6594
*) LD="${LD-ld} -64" ;;
6605
need_locks="$enable_libtool_lock"
6609
{ echo "$as_me:$LINENO: checking for ANSI C header files" >&5
6610
echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6; }
6611
if test "${ac_cv_header_stdc+set}" = set; then
6612
echo $ECHO_N "(cached) $ECHO_C" >&6
6614
cat >conftest.$ac_ext <<_ACEOF
6617
cat confdefs.h >>conftest.$ac_ext
6618
cat >>conftest.$ac_ext <<_ACEOF
6619
/* end confdefs.h. */
6633
rm -f conftest.$ac_objext
6634
if { (ac_try="$ac_compile"
6636
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6637
*) ac_try_echo=$ac_try;;
6639
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6640
(eval "$ac_compile") 2>conftest.er1
6642
grep -v '^ *+' conftest.er1 >conftest.err
6644
cat conftest.err >&5
6645
echo "$as_me:$LINENO: \$? = $ac_status" >&5
6646
(exit $ac_status); } && {
6647
test -z "$ac_c_werror_flag" ||
6648
test ! -s conftest.err
6649
} && test -s conftest.$ac_objext; then
6650
ac_cv_header_stdc=yes
6652
echo "$as_me: failed program was:" >&5
6653
sed 's/^/| /' conftest.$ac_ext >&5
6655
ac_cv_header_stdc=no
6658
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6660
if test $ac_cv_header_stdc = yes; then
6661
# SunOS 4.x string.h does not declare mem*, contrary to ANSI.
6662
cat >conftest.$ac_ext <<_ACEOF
6665
cat confdefs.h >>conftest.$ac_ext
6666
cat >>conftest.$ac_ext <<_ACEOF
6667
/* end confdefs.h. */
6671
if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
6672
$EGREP "memchr" >/dev/null 2>&1; then
6675
ac_cv_header_stdc=no
6681
if test $ac_cv_header_stdc = yes; then
6682
# ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
6683
cat >conftest.$ac_ext <<_ACEOF
6686
cat confdefs.h >>conftest.$ac_ext
6687
cat >>conftest.$ac_ext <<_ACEOF
6688
/* end confdefs.h. */
6692
if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
6693
$EGREP "free" >/dev/null 2>&1; then
6696
ac_cv_header_stdc=no
6702
if test $ac_cv_header_stdc = yes; then
6703
# /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
6704
if test "$cross_compiling" = yes; then
6707
cat >conftest.$ac_ext <<_ACEOF
6710
cat confdefs.h >>conftest.$ac_ext
6711
cat >>conftest.$ac_ext <<_ACEOF
6712
/* end confdefs.h. */
6715
#if ((' ' & 0x0FF) == 0x020)
6716
# define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
6717
# define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
6719
# define ISLOWER(c) \
6720
(('a' <= (c) && (c) <= 'i') \
6721
|| ('j' <= (c) && (c) <= 'r') \
6722
|| ('s' <= (c) && (c) <= 'z'))
6723
# define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
6726
#define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
6731
for (i = 0; i < 256; i++)
6732
if (XOR (islower (i), ISLOWER (i))
6733
|| toupper (i) != TOUPPER (i))
6738
rm -f conftest$ac_exeext
6739
if { (ac_try="$ac_link"
6741
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6742
*) ac_try_echo=$ac_try;;
6744
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6745
(eval "$ac_link") 2>&5
6747
echo "$as_me:$LINENO: \$? = $ac_status" >&5
6748
(exit $ac_status); } && { ac_try='./conftest$ac_exeext'
6749
{ (case "(($ac_try" in
6750
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6751
*) ac_try_echo=$ac_try;;
6753
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6754
(eval "$ac_try") 2>&5
6756
echo "$as_me:$LINENO: \$? = $ac_status" >&5
6757
(exit $ac_status); }; }; then
6760
echo "$as_me: program exited with status $ac_status" >&5
6761
echo "$as_me: failed program was:" >&5
6762
sed 's/^/| /' conftest.$ac_ext >&5
6765
ac_cv_header_stdc=no
6767
rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
6773
{ echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
6774
echo "${ECHO_T}$ac_cv_header_stdc" >&6; }
6775
if test $ac_cv_header_stdc = yes; then
6777
cat >>confdefs.h <<\_ACEOF
6778
@%:@define STDC_HEADERS 1
6783
# On IRIX 5.3, sys/types and inttypes.h are conflicting.
6793
for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
6794
inttypes.h stdint.h unistd.h
6796
as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
6797
{ echo "$as_me:$LINENO: checking for $ac_header" >&5
6798
echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
6799
if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
6800
echo $ECHO_N "(cached) $ECHO_C" >&6
6802
cat >conftest.$ac_ext <<_ACEOF
6805
cat confdefs.h >>conftest.$ac_ext
6806
cat >>conftest.$ac_ext <<_ACEOF
6807
/* end confdefs.h. */
6808
$ac_includes_default
6810
@%:@include <$ac_header>
6812
rm -f conftest.$ac_objext
6813
if { (ac_try="$ac_compile"
6815
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6816
*) ac_try_echo=$ac_try;;
6818
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6819
(eval "$ac_compile") 2>conftest.er1
6821
grep -v '^ *+' conftest.er1 >conftest.err
6823
cat conftest.err >&5
6824
echo "$as_me:$LINENO: \$? = $ac_status" >&5
6825
(exit $ac_status); } && {
6826
test -z "$ac_c_werror_flag" ||
6827
test ! -s conftest.err
6828
} && test -s conftest.$ac_objext; then
6829
eval "$as_ac_Header=yes"
6831
echo "$as_me: failed program was:" >&5
6832
sed 's/^/| /' conftest.$ac_ext >&5
6834
eval "$as_ac_Header=no"
6837
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6839
ac_res=`eval echo '${'$as_ac_Header'}'`
6840
{ echo "$as_me:$LINENO: result: $ac_res" >&5
6841
echo "${ECHO_T}$ac_res" >&6; }
6842
if test `eval echo '${'$as_ac_Header'}'` = yes; then
6843
cat >>confdefs.h <<_ACEOF
6844
@%:@define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
6853
for ac_header in dlfcn.h
6855
as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
6856
if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
6857
{ echo "$as_me:$LINENO: checking for $ac_header" >&5
6858
echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
6859
if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
6860
echo $ECHO_N "(cached) $ECHO_C" >&6
6862
ac_res=`eval echo '${'$as_ac_Header'}'`
6863
{ echo "$as_me:$LINENO: result: $ac_res" >&5
6864
echo "${ECHO_T}$ac_res" >&6; }
6866
# Is the header compilable?
6867
{ echo "$as_me:$LINENO: checking $ac_header usability" >&5
6868
echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; }
6869
cat >conftest.$ac_ext <<_ACEOF
6872
cat confdefs.h >>conftest.$ac_ext
6873
cat >>conftest.$ac_ext <<_ACEOF
6874
/* end confdefs.h. */
6875
$ac_includes_default
6876
@%:@include <$ac_header>
6878
rm -f conftest.$ac_objext
6879
if { (ac_try="$ac_compile"
6881
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6882
*) ac_try_echo=$ac_try;;
6884
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6885
(eval "$ac_compile") 2>conftest.er1
6887
grep -v '^ *+' conftest.er1 >conftest.err
6889
cat conftest.err >&5
6890
echo "$as_me:$LINENO: \$? = $ac_status" >&5
6891
(exit $ac_status); } && {
6892
test -z "$ac_c_werror_flag" ||
6893
test ! -s conftest.err
6894
} && test -s conftest.$ac_objext; then
6895
ac_header_compiler=yes
6897
echo "$as_me: failed program was:" >&5
6898
sed 's/^/| /' conftest.$ac_ext >&5
6900
ac_header_compiler=no
6903
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6904
{ echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
6905
echo "${ECHO_T}$ac_header_compiler" >&6; }
6907
# Is the header present?
6908
{ echo "$as_me:$LINENO: checking $ac_header presence" >&5
6909
echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; }
6910
cat >conftest.$ac_ext <<_ACEOF
6913
cat confdefs.h >>conftest.$ac_ext
6914
cat >>conftest.$ac_ext <<_ACEOF
6915
/* end confdefs.h. */
6916
@%:@include <$ac_header>
6918
if { (ac_try="$ac_cpp conftest.$ac_ext"
6920
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6921
*) ac_try_echo=$ac_try;;
6923
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6924
(eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
6926
grep -v '^ *+' conftest.er1 >conftest.err
6928
cat conftest.err >&5
6929
echo "$as_me:$LINENO: \$? = $ac_status" >&5
6930
(exit $ac_status); } >/dev/null && {
6931
test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
6932
test ! -s conftest.err
6934
ac_header_preproc=yes
6936
echo "$as_me: failed program was:" >&5
6937
sed 's/^/| /' conftest.$ac_ext >&5
6939
ac_header_preproc=no
6942
rm -f conftest.err conftest.$ac_ext
6943
{ echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
6944
echo "${ECHO_T}$ac_header_preproc" >&6; }
6946
# So? What about this header?
6947
case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
6949
{ echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
6950
echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
6951
{ echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
6952
echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
6953
ac_header_preproc=yes
6956
{ echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
6957
echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
6958
{ echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
6959
echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
6960
{ echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
6961
echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
6962
{ echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
6963
echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
6964
{ echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
6965
echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
6966
{ echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
6967
echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
6971
{ echo "$as_me:$LINENO: checking for $ac_header" >&5
6972
echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
6973
if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
6974
echo $ECHO_N "(cached) $ECHO_C" >&6
6976
eval "$as_ac_Header=\$ac_header_preproc"
6978
ac_res=`eval echo '${'$as_ac_Header'}'`
6979
{ echo "$as_me:$LINENO: result: $ac_res" >&5
6980
echo "${ECHO_T}$ac_res" >&6; }
6983
if test `eval echo '${'$as_ac_Header'}'` = yes; then
6984
cat >>confdefs.h <<_ACEOF
6985
@%:@define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
6994
if test -n "$CXX" && ( test "X$CXX" != "Xno" &&
6995
( (test "X$CXX" = "Xg++" && `g++ -v >/dev/null 2>&1` ) ||
6996
(test "X$CXX" != "Xg++"))) ; then
6998
ac_cpp='$CXXCPP $CPPFLAGS'
6999
ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7000
ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7001
ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
7002
{ echo "$as_me:$LINENO: checking how to run the C++ preprocessor" >&5
7003
echo $ECHO_N "checking how to run the C++ preprocessor... $ECHO_C" >&6; }
7004
if test -z "$CXXCPP"; then
7005
if test "${ac_cv_prog_CXXCPP+set}" = set; then
7006
echo $ECHO_N "(cached) $ECHO_C" >&6
7008
# Double quotes because CXXCPP needs to be expanded
7009
for CXXCPP in "$CXX -E" "/lib/cpp"
7012
for ac_cxx_preproc_warn_flag in '' yes
7014
# Use a header file that comes with gcc, so configuring glibc
7015
# with a fresh cross-compiler works.
7016
# Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
7017
# <limits.h> exists even on freestanding compilers.
7018
# On the NeXT, cc -E runs the code through the compiler's parser,
7019
# not just through cpp. "Syntax error" is here to catch this case.
7020
cat >conftest.$ac_ext <<_ACEOF
7023
cat confdefs.h >>conftest.$ac_ext
7024
cat >>conftest.$ac_ext <<_ACEOF
7025
/* end confdefs.h. */
7027
@%:@ include <limits.h>
7029
@%:@ include <assert.h>
7033
if { (ac_try="$ac_cpp conftest.$ac_ext"
7035
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7036
*) ac_try_echo=$ac_try;;
7038
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7039
(eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
7041
grep -v '^ *+' conftest.er1 >conftest.err
7043
cat conftest.err >&5
7044
echo "$as_me:$LINENO: \$? = $ac_status" >&5
7045
(exit $ac_status); } >/dev/null && {
7046
test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
7047
test ! -s conftest.err
7051
echo "$as_me: failed program was:" >&5
7052
sed 's/^/| /' conftest.$ac_ext >&5
7054
# Broken: fails on valid input.
7058
rm -f conftest.err conftest.$ac_ext
7060
# OK, works on sane cases. Now check whether nonexistent headers
7061
# can be detected and how.
7062
cat >conftest.$ac_ext <<_ACEOF
7065
cat confdefs.h >>conftest.$ac_ext
7066
cat >>conftest.$ac_ext <<_ACEOF
7067
/* end confdefs.h. */
7068
@%:@include <ac_nonexistent.h>
7070
if { (ac_try="$ac_cpp conftest.$ac_ext"
7072
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7073
*) ac_try_echo=$ac_try;;
7075
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7076
(eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
7078
grep -v '^ *+' conftest.er1 >conftest.err
7080
cat conftest.err >&5
7081
echo "$as_me:$LINENO: \$? = $ac_status" >&5
7082
(exit $ac_status); } >/dev/null && {
7083
test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
7084
test ! -s conftest.err
7086
# Broken: success on invalid input.
7089
echo "$as_me: failed program was:" >&5
7090
sed 's/^/| /' conftest.$ac_ext >&5
7092
# Passes both tests.
7097
rm -f conftest.err conftest.$ac_ext
7100
# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
7101
rm -f conftest.err conftest.$ac_ext
7102
if $ac_preproc_ok; then
7107
ac_cv_prog_CXXCPP=$CXXCPP
7110
CXXCPP=$ac_cv_prog_CXXCPP
7112
ac_cv_prog_CXXCPP=$CXXCPP
7114
{ echo "$as_me:$LINENO: result: $CXXCPP" >&5
7115
echo "${ECHO_T}$CXXCPP" >&6; }
7117
for ac_cxx_preproc_warn_flag in '' yes
7119
# Use a header file that comes with gcc, so configuring glibc
7120
# with a fresh cross-compiler works.
7121
# Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
7122
# <limits.h> exists even on freestanding compilers.
7123
# On the NeXT, cc -E runs the code through the compiler's parser,
7124
# not just through cpp. "Syntax error" is here to catch this case.
7125
cat >conftest.$ac_ext <<_ACEOF
7128
cat confdefs.h >>conftest.$ac_ext
7129
cat >>conftest.$ac_ext <<_ACEOF
7130
/* end confdefs.h. */
7132
@%:@ include <limits.h>
7134
@%:@ include <assert.h>
7138
if { (ac_try="$ac_cpp conftest.$ac_ext"
7140
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7141
*) ac_try_echo=$ac_try;;
7143
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7144
(eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
7146
grep -v '^ *+' conftest.er1 >conftest.err
7148
cat conftest.err >&5
7149
echo "$as_me:$LINENO: \$? = $ac_status" >&5
7150
(exit $ac_status); } >/dev/null && {
7151
test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
7152
test ! -s conftest.err
7156
echo "$as_me: failed program was:" >&5
7157
sed 's/^/| /' conftest.$ac_ext >&5
7159
# Broken: fails on valid input.
7163
rm -f conftest.err conftest.$ac_ext
7165
# OK, works on sane cases. Now check whether nonexistent headers
7166
# can be detected and how.
7167
cat >conftest.$ac_ext <<_ACEOF
7170
cat confdefs.h >>conftest.$ac_ext
7171
cat >>conftest.$ac_ext <<_ACEOF
7172
/* end confdefs.h. */
7173
@%:@include <ac_nonexistent.h>
7175
if { (ac_try="$ac_cpp conftest.$ac_ext"
7177
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7178
*) ac_try_echo=$ac_try;;
7180
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7181
(eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
7183
grep -v '^ *+' conftest.er1 >conftest.err
7185
cat conftest.err >&5
7186
echo "$as_me:$LINENO: \$? = $ac_status" >&5
7187
(exit $ac_status); } >/dev/null && {
7188
test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
7189
test ! -s conftest.err
7191
# Broken: success on invalid input.
7194
echo "$as_me: failed program was:" >&5
7195
sed 's/^/| /' conftest.$ac_ext >&5
7197
# Passes both tests.
7202
rm -f conftest.err conftest.$ac_ext
7205
# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
7206
rm -f conftest.err conftest.$ac_ext
7207
if $ac_preproc_ok; then
7210
{ { echo "$as_me:$LINENO: error: C++ preprocessor \"$CXXCPP\" fails sanity check
7211
See \`config.log' for more details." >&5
7212
echo "$as_me: error: C++ preprocessor \"$CXXCPP\" fails sanity check
7213
See \`config.log' for more details." >&2;}
7214
{ (exit 1); exit 1; }; }
7218
ac_cpp='$CXXCPP $CPPFLAGS'
7219
ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7220
ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7221
ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
7227
ac_compile='$F77 -c $FFLAGS conftest.$ac_ext >&5'
7228
ac_link='$F77 -o conftest$ac_exeext $FFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7229
ac_compiler_gnu=$ac_cv_f77_compiler_gnu
7230
if test -n "$ac_tool_prefix"; then
7231
for ac_prog in g77 xlf f77 frt pgf77 cf77 fort77 fl32 af77 xlf90 f90 pgf90 pghpf epcf90 gfortran g95 xlf95 f95 fort ifort ifc efc pgf95 lf95 ftn
7233
# Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
7234
set dummy $ac_tool_prefix$ac_prog; ac_word=$2
7235
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
7236
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
7237
if test "${ac_cv_prog_F77+set}" = set; then
7238
echo $ECHO_N "(cached) $ECHO_C" >&6
7240
if test -n "$F77"; then
7241
ac_cv_prog_F77="$F77" # Let the user override the test.
7243
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7247
test -z "$as_dir" && as_dir=.
7248
for ac_exec_ext in '' $ac_executable_extensions; do
7249
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7250
ac_cv_prog_F77="$ac_tool_prefix$ac_prog"
7251
echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
7261
if test -n "$F77"; then
7262
{ echo "$as_me:$LINENO: result: $F77" >&5
7263
echo "${ECHO_T}$F77" >&6; }
7265
{ echo "$as_me:$LINENO: result: no" >&5
7266
echo "${ECHO_T}no" >&6; }
7270
test -n "$F77" && break
7273
if test -z "$F77"; then
7275
for ac_prog in g77 xlf f77 frt pgf77 cf77 fort77 fl32 af77 xlf90 f90 pgf90 pghpf epcf90 gfortran g95 xlf95 f95 fort ifort ifc efc pgf95 lf95 ftn
7277
# Extract the first word of "$ac_prog", so it can be a program name with args.
7278
set dummy $ac_prog; ac_word=$2
7279
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
7280
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
7281
if test "${ac_cv_prog_ac_ct_F77+set}" = set; then
7282
echo $ECHO_N "(cached) $ECHO_C" >&6
7284
if test -n "$ac_ct_F77"; then
7285
ac_cv_prog_ac_ct_F77="$ac_ct_F77" # Let the user override the test.
7287
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7291
test -z "$as_dir" && as_dir=.
7292
for ac_exec_ext in '' $ac_executable_extensions; do
7293
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7294
ac_cv_prog_ac_ct_F77="$ac_prog"
7295
echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
7304
ac_ct_F77=$ac_cv_prog_ac_ct_F77
7305
if test -n "$ac_ct_F77"; then
7306
{ echo "$as_me:$LINENO: result: $ac_ct_F77" >&5
7307
echo "${ECHO_T}$ac_ct_F77" >&6; }
7309
{ echo "$as_me:$LINENO: result: no" >&5
7310
echo "${ECHO_T}no" >&6; }
7314
test -n "$ac_ct_F77" && break
7317
if test "x$ac_ct_F77" = x; then
7320
case $cross_compiling:$ac_tool_warned in
7322
{ echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
7323
whose name does not start with the host triplet. If you think this
7324
configuration is useful to you, please write to autoconf@gnu.org." >&5
7325
echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
7326
whose name does not start with the host triplet. If you think this
7327
configuration is useful to you, please write to autoconf@gnu.org." >&2;}
7328
ac_tool_warned=yes ;;
7335
# Provide some information about the compiler.
7336
echo "$as_me:$LINENO: checking for Fortran 77 compiler version" >&5
7337
ac_compiler=`set X $ac_compile; echo $2`
7338
{ (ac_try="$ac_compiler --version >&5"
7340
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7341
*) ac_try_echo=$ac_try;;
7343
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7344
(eval "$ac_compiler --version >&5") 2>&5
7346
echo "$as_me:$LINENO: \$? = $ac_status" >&5
7347
(exit $ac_status); }
7348
{ (ac_try="$ac_compiler -v >&5"
7350
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7351
*) ac_try_echo=$ac_try;;
7353
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7354
(eval "$ac_compiler -v >&5") 2>&5
7356
echo "$as_me:$LINENO: \$? = $ac_status" >&5
7357
(exit $ac_status); }
7358
{ (ac_try="$ac_compiler -V >&5"
7360
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7361
*) ac_try_echo=$ac_try;;
7363
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7364
(eval "$ac_compiler -V >&5") 2>&5
7366
echo "$as_me:$LINENO: \$? = $ac_status" >&5
7367
(exit $ac_status); }
7370
# If we don't use `.F' as extension, the preprocessor is not run on the
7371
# input file. (Note that this only needs to work for GNU compilers.)
7374
{ echo "$as_me:$LINENO: checking whether we are using the GNU Fortran 77 compiler" >&5
7375
echo $ECHO_N "checking whether we are using the GNU Fortran 77 compiler... $ECHO_C" >&6; }
7376
if test "${ac_cv_f77_compiler_gnu+set}" = set; then
7377
echo $ECHO_N "(cached) $ECHO_C" >&6
7379
cat >conftest.$ac_ext <<_ACEOF
7387
rm -f conftest.$ac_objext
7388
if { (ac_try="$ac_compile"
7390
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7391
*) ac_try_echo=$ac_try;;
7393
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7394
(eval "$ac_compile") 2>conftest.er1
7396
grep -v '^ *+' conftest.er1 >conftest.err
7398
cat conftest.err >&5
7399
echo "$as_me:$LINENO: \$? = $ac_status" >&5
7400
(exit $ac_status); } && {
7401
test -z "$ac_f77_werror_flag" ||
7402
test ! -s conftest.err
7403
} && test -s conftest.$ac_objext; then
7406
echo "$as_me: failed program was:" >&5
7407
sed 's/^/| /' conftest.$ac_ext >&5
7412
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7413
ac_cv_f77_compiler_gnu=$ac_compiler_gnu
7416
{ echo "$as_me:$LINENO: result: $ac_cv_f77_compiler_gnu" >&5
7417
echo "${ECHO_T}$ac_cv_f77_compiler_gnu" >&6; }
7419
ac_test_FFLAGS=${FFLAGS+set}
7420
ac_save_FFLAGS=$FFLAGS
7422
{ echo "$as_me:$LINENO: checking whether $F77 accepts -g" >&5
7423
echo $ECHO_N "checking whether $F77 accepts -g... $ECHO_C" >&6; }
7424
if test "${ac_cv_prog_f77_g+set}" = set; then
7425
echo $ECHO_N "(cached) $ECHO_C" >&6
7428
cat >conftest.$ac_ext <<_ACEOF
7433
rm -f conftest.$ac_objext
7434
if { (ac_try="$ac_compile"
7436
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7437
*) ac_try_echo=$ac_try;;
7439
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7440
(eval "$ac_compile") 2>conftest.er1
7442
grep -v '^ *+' conftest.er1 >conftest.err
7444
cat conftest.err >&5
7445
echo "$as_me:$LINENO: \$? = $ac_status" >&5
7446
(exit $ac_status); } && {
7447
test -z "$ac_f77_werror_flag" ||
7448
test ! -s conftest.err
7449
} && test -s conftest.$ac_objext; then
7450
ac_cv_prog_f77_g=yes
7452
echo "$as_me: failed program was:" >&5
7453
sed 's/^/| /' conftest.$ac_ext >&5
7458
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7461
{ echo "$as_me:$LINENO: result: $ac_cv_prog_f77_g" >&5
7462
echo "${ECHO_T}$ac_cv_prog_f77_g" >&6; }
7463
if test "$ac_test_FFLAGS" = set; then
7464
FFLAGS=$ac_save_FFLAGS
7465
elif test $ac_cv_prog_f77_g = yes; then
7466
if test "x$ac_cv_f77_compiler_gnu" = xyes; then
7472
if test "x$ac_cv_f77_compiler_gnu" = xyes; then
7479
G77=`test $ac_compiler_gnu = yes && echo yes`
7481
ac_cpp='$CPP $CPPFLAGS'
7482
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7483
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7484
ac_compiler_gnu=$ac_cv_c_compiler_gnu
7488
# Autoconf 2.13's AC_OBJEXT and AC_EXEEXT macros only works for C compilers!
7490
# find the maximum length of command line arguments
7491
{ echo "$as_me:$LINENO: checking the maximum length of command line arguments" >&5
7492
echo $ECHO_N "checking the maximum length of command line arguments... $ECHO_C" >&6; }
7493
if test "${lt_cv_sys_max_cmd_len+set}" = set; then
7494
echo $ECHO_N "(cached) $ECHO_C" >&6
7501
# On DJGPP, this test can blow up pretty badly due to problems in libc
7502
# (any single argument exceeding 2000 bytes causes a buffer overrun
7503
# during glob expansion). Even if it were fixed, the result of this
7504
# check would be larger than it should be.
7505
lt_cv_sys_max_cmd_len=12288; # 12K is about right
7509
# Under GNU Hurd, this test is not required because there is
7510
# no limit to the length of command line arguments.
7511
# Libtool will interpret -1 as no limit whatsoever
7512
lt_cv_sys_max_cmd_len=-1;
7516
# On Win9x/ME, this test blows up -- it succeeds, but takes
7517
# about 5 minutes as the teststring grows exponentially.
7518
# Worse, since 9x/ME are not pre-emptively multitasking,
7519
# you end up with a "frozen" computer, even though with patience
7520
# the test eventually succeeds (with a max line length of 256k).
7521
# Instead, let's just punt: use the minimum linelength reported by
7522
# all of the supported platforms: 8192 (on NT/2K/XP).
7523
lt_cv_sys_max_cmd_len=8192;
7527
# On AmigaOS with pdksh, this test takes hours, literally.
7528
# So we just punt and use a minimum line length of 8192.
7529
lt_cv_sys_max_cmd_len=8192;
7532
netbsd* | freebsd* | openbsd* | darwin* | dragonfly*)
7533
# This has been around since 386BSD, at least. Likely further.
7534
if test -x /sbin/sysctl; then
7535
lt_cv_sys_max_cmd_len=`/sbin/sysctl -n kern.argmax`
7536
elif test -x /usr/sbin/sysctl; then
7537
lt_cv_sys_max_cmd_len=`/usr/sbin/sysctl -n kern.argmax`
7539
lt_cv_sys_max_cmd_len=65536 # usable default for all BSDs
7541
# And add a safety zone
7542
lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
7543
lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
7547
# We know the value 262144 and hardcode it with a safety zone (like BSD)
7548
lt_cv_sys_max_cmd_len=196608
7552
# Dr. Hans Ekkehard Plesser reports seeing a kernel panic running configure
7553
# due to this test when exec_disable_arg_limit is 1 on Tru64. It is not
7554
# nice to cause kernel panics so lets avoid the loop below.
7555
# First set a reasonable default.
7556
lt_cv_sys_max_cmd_len=16384
7558
if test -x /sbin/sysconfig; then
7559
case `/sbin/sysconfig -q proc exec_disable_arg_limit` in
7560
*1*) lt_cv_sys_max_cmd_len=-1 ;;
7565
lt_cv_sys_max_cmd_len=102400
7567
sysv5* | sco5v6* | sysv4.2uw2*)
7568
kargmax=`grep ARG_MAX /etc/conf/cf.d/stune 2>/dev/null`
7569
if test -n "$kargmax"; then
7570
lt_cv_sys_max_cmd_len=`echo $kargmax | sed 's/.*[ ]//'`
7572
lt_cv_sys_max_cmd_len=32768
7576
lt_cv_sys_max_cmd_len=`(getconf ARG_MAX) 2> /dev/null`
7577
if test -n "$lt_cv_sys_max_cmd_len"; then
7578
lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
7579
lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
7581
SHELL=${SHELL-${CONFIG_SHELL-/bin/sh}}
7582
while (test "X"`$SHELL $0 --fallback-echo "X$teststring" 2>/dev/null` \
7583
= "XX$teststring") >/dev/null 2>&1 &&
7584
new_result=`expr "X$teststring" : ".*" 2>&1` &&
7585
lt_cv_sys_max_cmd_len=$new_result &&
7586
test $i != 17 # 1/2 MB should be enough
7589
teststring=$teststring$teststring
7592
# Add a significant safety factor because C++ compilers can tack on massive
7593
# amounts of additional arguments before passing them to the linker.
7594
# It appears as though 1/2 is a usable value.
7595
lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 2`
7602
if test -n $lt_cv_sys_max_cmd_len ; then
7603
{ echo "$as_me:$LINENO: result: $lt_cv_sys_max_cmd_len" >&5
7604
echo "${ECHO_T}$lt_cv_sys_max_cmd_len" >&6; }
7606
{ echo "$as_me:$LINENO: result: none" >&5
7607
echo "${ECHO_T}none" >&6; }
7614
# Check for command to grab the raw symbol name followed by C symbol from nm.
7615
{ echo "$as_me:$LINENO: checking command to parse $NM output from $compiler object" >&5
7616
echo $ECHO_N "checking command to parse $NM output from $compiler object... $ECHO_C" >&6; }
7617
if test "${lt_cv_sys_global_symbol_pipe+set}" = set; then
7618
echo $ECHO_N "(cached) $ECHO_C" >&6
7621
# These are sane defaults that work on at least a few old systems.
7622
# [They come from Ultrix. What could be older than Ultrix?!! ;)]
7624
# Character class describing NM global symbol codes.
7625
symcode='[BCDEGRST]'
7627
# Regexp to match symbols that can be accessed directly from C.
7628
sympat='\([_A-Za-z][_A-Za-z0-9]*\)'
7630
# Transform an extracted symbol line into a proper C declaration
7631
lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^. .* \(.*\)$/extern int \1;/p'"
7633
# Transform an extracted symbol line into symbol name and symbol address
7634
lt_cv_sys_global_symbol_to_c_name_address="sed -n -e 's/^: \([^ ]*\) $/ {\\\"\1\\\", (lt_ptr) 0},/p' -e 's/^$symcode \([^ ]*\) \([^ ]*\)$/ {\"\2\", (lt_ptr) \&\2},/p'"
7636
# Define system-specific variables.
7641
cygwin* | mingw* | pw32*)
7642
symcode='[ABCDGISTW]'
7644
hpux*) # Its linker distinguishes data from code symbols
7645
if test "$host_cpu" = ia64; then
7646
symcode='[ABCDEGRST]'
7648
lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'"
7649
lt_cv_sys_global_symbol_to_c_name_address="sed -n -e 's/^: \([^ ]*\) $/ {\\\"\1\\\", (lt_ptr) 0},/p' -e 's/^$symcode* \([^ ]*\) \([^ ]*\)$/ {\"\2\", (lt_ptr) \&\2},/p'"
7651
linux* | k*bsd*-gnu)
7652
if test "$host_cpu" = ia64; then
7653
symcode='[ABCDGIRSTW]'
7654
lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'"
7655
lt_cv_sys_global_symbol_to_c_name_address="sed -n -e 's/^: \([^ ]*\) $/ {\\\"\1\\\", (lt_ptr) 0},/p' -e 's/^$symcode* \([^ ]*\) \([^ ]*\)$/ {\"\2\", (lt_ptr) \&\2},/p'"
7659
symcode='[BCDEGRST]'
7662
symcode='[BCDEGQRST]'
7673
sysv5* | sco5v6* | unixware* | OpenUNIX*)
7681
# Handle CRLF in mingw tool chain
7685
opt_cr=`echo 'x\{0,1\}' | tr x '\015'` # option cr in regexp
7689
# If we're using GNU nm, then use its standard symbol codes.
7690
case `$NM -V 2>&1` in
7691
*GNU* | *'with BFD'*)
7692
symcode='[ABCDGIRSTW]' ;;
7695
# Try without a prefix undercore, then with it.
7696
for ac_symprfx in "" "_"; do
7698
# Transform symcode, sympat, and symprfx into a raw symbol and a C symbol.
7699
symxfrm="\\1 $ac_symprfx\\2 \\2"
7701
# Write the raw and C identifiers.
7702
lt_cv_sys_global_symbol_pipe="sed -n -e 's/^.*[ ]\($symcode$symcode*\)[ ][ ]*$ac_symprfx$sympat$opt_cr$/$symxfrm/p'"
7704
# Check to see that the pipe works correctly.
7708
cat > conftest.$ac_ext <<EOF
7713
void nm_test_func(){}
7717
int main(){nm_test_var='a';nm_test_func();return(0);}
7720
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7721
(eval $ac_compile) 2>&5
7723
echo "$as_me:$LINENO: \$? = $ac_status" >&5
7724
(exit $ac_status); }; then
7725
# Now try to grab the symbols.
7727
if { (eval echo "$as_me:$LINENO: \"$NM conftest.$ac_objext \| $lt_cv_sys_global_symbol_pipe \> $nlist\"") >&5
7728
(eval $NM conftest.$ac_objext \| $lt_cv_sys_global_symbol_pipe \> $nlist) 2>&5
7730
echo "$as_me:$LINENO: \$? = $ac_status" >&5
7731
(exit $ac_status); } && test -s "$nlist"; then
7732
# Try sorting and uniquifying the output.
7733
if sort "$nlist" | uniq > "$nlist"T; then
7734
mv -f "$nlist"T "$nlist"
7739
# Make sure that we snagged all the symbols we need.
7740
if grep ' nm_test_var$' "$nlist" >/dev/null; then
7741
if grep ' nm_test_func$' "$nlist" >/dev/null; then
7742
cat <<EOF > conftest.$ac_ext
7748
# Now generate the symbol file.
7749
eval "$lt_cv_sys_global_symbol_to_cdecl"' < "$nlist" | grep -v main >> conftest.$ac_ext'
7751
cat <<EOF >> conftest.$ac_ext
7752
#if defined (__STDC__) && __STDC__
7753
# define lt_ptr_t void *
7755
# define lt_ptr_t char *
7759
/* The mapping between symbol names and symbols. */
7764
lt_preloaded_symbols[] =
7767
$SED "s/^$symcode$symcode* \(.*\) \(.*\)$/ {\"\2\", (lt_ptr_t) \&\2},/" < "$nlist" | grep -v main >> conftest.$ac_ext
7768
cat <<\EOF >> conftest.$ac_ext
7776
# Now try linking the two files.
7777
mv conftest.$ac_objext conftstm.$ac_objext
7778
lt_save_LIBS="$LIBS"
7779
lt_save_CFLAGS="$CFLAGS"
7780
LIBS="conftstm.$ac_objext"
7781
CFLAGS="$CFLAGS$lt_prog_compiler_no_builtin_flag"
7782
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
7783
(eval $ac_link) 2>&5
7785
echo "$as_me:$LINENO: \$? = $ac_status" >&5
7786
(exit $ac_status); } && test -s conftest${ac_exeext}; then
7789
LIBS="$lt_save_LIBS"
7790
CFLAGS="$lt_save_CFLAGS"
7792
echo "cannot find nm_test_func in $nlist" >&5
7795
echo "cannot find nm_test_var in $nlist" >&5
7798
echo "cannot run $lt_cv_sys_global_symbol_pipe" >&5
7801
echo "$progname: failed program was:" >&5
7802
cat conftest.$ac_ext >&5
7804
rm -f conftest* conftst*
7806
# Do not use the global_symbol_pipe unless it works.
7807
if test "$pipe_works" = yes; then
7810
lt_cv_sys_global_symbol_pipe=
7816
if test -z "$lt_cv_sys_global_symbol_pipe"; then
7817
lt_cv_sys_global_symbol_to_cdecl=
7819
if test -z "$lt_cv_sys_global_symbol_pipe$lt_cv_sys_global_symbol_to_cdecl"; then
7820
{ echo "$as_me:$LINENO: result: failed" >&5
7821
echo "${ECHO_T}failed" >&6; }
7823
{ echo "$as_me:$LINENO: result: ok" >&5
7824
echo "${ECHO_T}ok" >&6; }
7827
{ echo "$as_me:$LINENO: checking for objdir" >&5
7828
echo $ECHO_N "checking for objdir... $ECHO_C" >&6; }
7829
if test "${lt_cv_objdir+set}" = set; then
7830
echo $ECHO_N "(cached) $ECHO_C" >&6
7832
rm -f .libs 2>/dev/null
7833
mkdir .libs 2>/dev/null
7834
if test -d .libs; then
7837
# MS-DOS does not allow filenames that begin with a dot.
7840
rmdir .libs 2>/dev/null
7842
{ echo "$as_me:$LINENO: result: $lt_cv_objdir" >&5
7843
echo "${ECHO_T}$lt_cv_objdir" >&6; }
7844
objdir=$lt_cv_objdir
7852
# AIX sometimes has problems with the GCC collect2 program. For some
7853
# reason, if we set the COLLECT_NAMES environment variable, the problems
7854
# vanish in a puff of smoke.
7855
if test "X${COLLECT_NAMES+set}" != Xset; then
7857
export COLLECT_NAMES
7862
# Sed substitution that helps us do robust quoting. It backslashifies
7863
# metacharacters that are still active within double-quoted strings.
7864
Xsed='sed -e 1s/^X//'
7865
sed_quote_subst='s/\([\\"\\`$\\\\]\)/\\\1/g'
7867
# Same as above, but do not quote variable references.
7868
double_quote_subst='s/\([\\"\\`\\\\]\)/\\\1/g'
7870
# Sed substitution to delay expansion of an escaped shell variable in a
7871
# double_quote_subst'ed string.
7872
delay_variable_subst='s/\\\\\\\\\\\$/\\\\\\$/g'
7874
# Sed substitution to avoid accidental globbing in evaled expressions
7875
no_glob_subst='s/\*/\\\*/g'
7881
default_ofile=libtool
7882
can_build_shared=yes
7884
# All known linkers require a `.a' archive for static linking (except MSVC,
7885
# which needs '.lib').
7887
ltmain="$ac_aux_dir/ltmain.sh"
7888
ofile="$default_ofile"
7889
with_gnu_ld="$lt_cv_prog_gnu_ld"
7891
if test -n "$ac_tool_prefix"; then
7892
# Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
7893
set dummy ${ac_tool_prefix}ar; ac_word=$2
7894
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
7895
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
7896
if test "${ac_cv_prog_AR+set}" = set; then
7897
echo $ECHO_N "(cached) $ECHO_C" >&6
7899
if test -n "$AR"; then
7900
ac_cv_prog_AR="$AR" # Let the user override the test.
7902
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7906
test -z "$as_dir" && as_dir=.
7907
for ac_exec_ext in '' $ac_executable_extensions; do
7908
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7909
ac_cv_prog_AR="${ac_tool_prefix}ar"
7910
echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
7920
if test -n "$AR"; then
7921
{ echo "$as_me:$LINENO: result: $AR" >&5
7922
echo "${ECHO_T}$AR" >&6; }
7924
{ echo "$as_me:$LINENO: result: no" >&5
7925
echo "${ECHO_T}no" >&6; }
7930
if test -z "$ac_cv_prog_AR"; then
7932
# Extract the first word of "ar", so it can be a program name with args.
7933
set dummy ar; ac_word=$2
7934
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
7935
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
7936
if test "${ac_cv_prog_ac_ct_AR+set}" = set; then
7937
echo $ECHO_N "(cached) $ECHO_C" >&6
7939
if test -n "$ac_ct_AR"; then
7940
ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
7942
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7946
test -z "$as_dir" && as_dir=.
7947
for ac_exec_ext in '' $ac_executable_extensions; do
7948
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7949
ac_cv_prog_ac_ct_AR="ar"
7950
echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
7959
ac_ct_AR=$ac_cv_prog_ac_ct_AR
7960
if test -n "$ac_ct_AR"; then
7961
{ echo "$as_me:$LINENO: result: $ac_ct_AR" >&5
7962
echo "${ECHO_T}$ac_ct_AR" >&6; }
7964
{ echo "$as_me:$LINENO: result: no" >&5
7965
echo "${ECHO_T}no" >&6; }
7968
if test "x$ac_ct_AR" = x; then
7971
case $cross_compiling:$ac_tool_warned in
7973
{ echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
7974
whose name does not start with the host triplet. If you think this
7975
configuration is useful to you, please write to autoconf@gnu.org." >&5
7976
echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
7977
whose name does not start with the host triplet. If you think this
7978
configuration is useful to you, please write to autoconf@gnu.org." >&2;}
7979
ac_tool_warned=yes ;;
7987
if test -n "$ac_tool_prefix"; then
7988
# Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
7989
set dummy ${ac_tool_prefix}ranlib; ac_word=$2
7990
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
7991
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
7992
if test "${ac_cv_prog_RANLIB+set}" = set; then
7993
echo $ECHO_N "(cached) $ECHO_C" >&6
7995
if test -n "$RANLIB"; then
7996
ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
7998
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8002
test -z "$as_dir" && as_dir=.
8003
for ac_exec_ext in '' $ac_executable_extensions; do
8004
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8005
ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
8006
echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
8015
RANLIB=$ac_cv_prog_RANLIB
8016
if test -n "$RANLIB"; then
8017
{ echo "$as_me:$LINENO: result: $RANLIB" >&5
8018
echo "${ECHO_T}$RANLIB" >&6; }
8020
{ echo "$as_me:$LINENO: result: no" >&5
8021
echo "${ECHO_T}no" >&6; }
8026
if test -z "$ac_cv_prog_RANLIB"; then
8027
ac_ct_RANLIB=$RANLIB
8028
# Extract the first word of "ranlib", so it can be a program name with args.
8029
set dummy ranlib; ac_word=$2
8030
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
8031
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
8032
if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
8033
echo $ECHO_N "(cached) $ECHO_C" >&6
8035
if test -n "$ac_ct_RANLIB"; then
8036
ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
8038
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8042
test -z "$as_dir" && as_dir=.
8043
for ac_exec_ext in '' $ac_executable_extensions; do
8044
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8045
ac_cv_prog_ac_ct_RANLIB="ranlib"
8046
echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
8055
ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
8056
if test -n "$ac_ct_RANLIB"; then
8057
{ echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
8058
echo "${ECHO_T}$ac_ct_RANLIB" >&6; }
8060
{ echo "$as_me:$LINENO: result: no" >&5
8061
echo "${ECHO_T}no" >&6; }
8064
if test "x$ac_ct_RANLIB" = x; then
8067
case $cross_compiling:$ac_tool_warned in
8069
{ echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
8070
whose name does not start with the host triplet. If you think this
8071
configuration is useful to you, please write to autoconf@gnu.org." >&5
8072
echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
8073
whose name does not start with the host triplet. If you think this
8074
configuration is useful to you, please write to autoconf@gnu.org." >&2;}
8075
ac_tool_warned=yes ;;
8077
RANLIB=$ac_ct_RANLIB
8080
RANLIB="$ac_cv_prog_RANLIB"
8083
if test -n "$ac_tool_prefix"; then
8084
# Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
8085
set dummy ${ac_tool_prefix}strip; ac_word=$2
8086
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
8087
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
8088
if test "${ac_cv_prog_STRIP+set}" = set; then
8089
echo $ECHO_N "(cached) $ECHO_C" >&6
8091
if test -n "$STRIP"; then
8092
ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
8094
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8098
test -z "$as_dir" && as_dir=.
8099
for ac_exec_ext in '' $ac_executable_extensions; do
8100
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8101
ac_cv_prog_STRIP="${ac_tool_prefix}strip"
8102
echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
8111
STRIP=$ac_cv_prog_STRIP
8112
if test -n "$STRIP"; then
8113
{ echo "$as_me:$LINENO: result: $STRIP" >&5
8114
echo "${ECHO_T}$STRIP" >&6; }
8116
{ echo "$as_me:$LINENO: result: no" >&5
8117
echo "${ECHO_T}no" >&6; }
8122
if test -z "$ac_cv_prog_STRIP"; then
8124
# Extract the first word of "strip", so it can be a program name with args.
8125
set dummy strip; ac_word=$2
8126
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
8127
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
8128
if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
8129
echo $ECHO_N "(cached) $ECHO_C" >&6
8131
if test -n "$ac_ct_STRIP"; then
8132
ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
8134
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8138
test -z "$as_dir" && as_dir=.
8139
for ac_exec_ext in '' $ac_executable_extensions; do
8140
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8141
ac_cv_prog_ac_ct_STRIP="strip"
8142
echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
8151
ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
8152
if test -n "$ac_ct_STRIP"; then
8153
{ echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
8154
echo "${ECHO_T}$ac_ct_STRIP" >&6; }
8156
{ echo "$as_me:$LINENO: result: no" >&5
8157
echo "${ECHO_T}no" >&6; }
8160
if test "x$ac_ct_STRIP" = x; then
8163
case $cross_compiling:$ac_tool_warned in
8165
{ echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
8166
whose name does not start with the host triplet. If you think this
8167
configuration is useful to you, please write to autoconf@gnu.org." >&5
8168
echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
8169
whose name does not start with the host triplet. If you think this
8170
configuration is useful to you, please write to autoconf@gnu.org." >&2;}
8171
ac_tool_warned=yes ;;
8176
STRIP="$ac_cv_prog_STRIP"
8181
old_CFLAGS="$CFLAGS"
8183
# Set sane defaults for various variables
8184
test -z "$AR" && AR=ar
8185
test -z "$AR_FLAGS" && AR_FLAGS=cru
8186
test -z "$AS" && AS=as
8187
test -z "$CC" && CC=cc
8188
test -z "$LTCC" && LTCC=$CC
8189
test -z "$LTCFLAGS" && LTCFLAGS=$CFLAGS
8190
test -z "$DLLTOOL" && DLLTOOL=dlltool
8191
test -z "$LD" && LD=ld
8192
test -z "$LN_S" && LN_S="ln -s"
8193
test -z "$MAGIC_CMD" && MAGIC_CMD=file
8194
test -z "$NM" && NM=nm
8195
test -z "$SED" && SED=sed
8196
test -z "$OBJDUMP" && OBJDUMP=objdump
8197
test -z "$RANLIB" && RANLIB=:
8198
test -z "$STRIP" && STRIP=:
8199
test -z "$ac_objext" && ac_objext=o
8201
# Determine commands to create old-style static archives.
8202
old_archive_cmds='$AR $AR_FLAGS $oldlib$oldobjs'
8203
old_postinstall_cmds='chmod 644 $oldlib'
8204
old_postuninstall_cmds=
8206
if test -n "$RANLIB"; then
8209
old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB -t \$oldlib"
8212
old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB \$oldlib"
8215
old_archive_cmds="$old_archive_cmds~\$RANLIB \$oldlib"
8218
for cc_temp in $compiler""; do
8220
compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
8221
distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
8226
cc_basename=`$echo "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
8229
# Only perform the check for file, if the check method requires it
8230
case $deplibs_check_method in
8232
if test "$file_magic_cmd" = '$MAGIC_CMD'; then
8233
{ echo "$as_me:$LINENO: checking for ${ac_tool_prefix}file" >&5
8234
echo $ECHO_N "checking for ${ac_tool_prefix}file... $ECHO_C" >&6; }
8235
if test "${lt_cv_path_MAGIC_CMD+set}" = set; then
8236
echo $ECHO_N "(cached) $ECHO_C" >&6
8240
lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
8243
lt_save_MAGIC_CMD="$MAGIC_CMD"
8244
lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
8245
ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
8246
for ac_dir in $ac_dummy; do
8248
test -z "$ac_dir" && ac_dir=.
8249
if test -f $ac_dir/${ac_tool_prefix}file; then
8250
lt_cv_path_MAGIC_CMD="$ac_dir/${ac_tool_prefix}file"
8251
if test -n "$file_magic_test_file"; then
8252
case $deplibs_check_method in
8254
file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
8255
MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
8256
if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
8257
$EGREP "$file_magic_regex" > /dev/null; then
8262
*** Warning: the command libtool uses to detect shared libraries,
8263
*** $file_magic_cmd, produces output that libtool cannot recognize.
8264
*** The result is that libtool may fail to recognize shared libraries
8265
*** as such. This will affect the creation of libtool libraries that
8266
*** depend on shared libraries, but programs linked with such libtool
8267
*** libraries will work regardless of this problem. Nevertheless, you
8268
*** may want to report the problem to your system manager and/or to
8269
*** bug-libtool@gnu.org
8279
MAGIC_CMD="$lt_save_MAGIC_CMD"
8284
MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
8285
if test -n "$MAGIC_CMD"; then
8286
{ echo "$as_me:$LINENO: result: $MAGIC_CMD" >&5
8287
echo "${ECHO_T}$MAGIC_CMD" >&6; }
8289
{ echo "$as_me:$LINENO: result: no" >&5
8290
echo "${ECHO_T}no" >&6; }
8293
if test -z "$lt_cv_path_MAGIC_CMD"; then
8294
if test -n "$ac_tool_prefix"; then
8295
{ echo "$as_me:$LINENO: checking for file" >&5
8296
echo $ECHO_N "checking for file... $ECHO_C" >&6; }
8297
if test "${lt_cv_path_MAGIC_CMD+set}" = set; then
8298
echo $ECHO_N "(cached) $ECHO_C" >&6
8302
lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
8305
lt_save_MAGIC_CMD="$MAGIC_CMD"
8306
lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
8307
ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
8308
for ac_dir in $ac_dummy; do
8310
test -z "$ac_dir" && ac_dir=.
8311
if test -f $ac_dir/file; then
8312
lt_cv_path_MAGIC_CMD="$ac_dir/file"
8313
if test -n "$file_magic_test_file"; then
8314
case $deplibs_check_method in
8316
file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
8317
MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
8318
if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
8319
$EGREP "$file_magic_regex" > /dev/null; then
8324
*** Warning: the command libtool uses to detect shared libraries,
8325
*** $file_magic_cmd, produces output that libtool cannot recognize.
8326
*** The result is that libtool may fail to recognize shared libraries
8327
*** as such. This will affect the creation of libtool libraries that
8328
*** depend on shared libraries, but programs linked with such libtool
8329
*** libraries will work regardless of this problem. Nevertheless, you
8330
*** may want to report the problem to your system manager and/or to
8331
*** bug-libtool@gnu.org
8341
MAGIC_CMD="$lt_save_MAGIC_CMD"
8346
MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
8347
if test -n "$MAGIC_CMD"; then
8348
{ echo "$as_me:$LINENO: result: $MAGIC_CMD" >&5
8349
echo "${ECHO_T}$MAGIC_CMD" >&6; }
8351
{ echo "$as_me:$LINENO: result: no" >&5
8352
echo "${ECHO_T}no" >&6; }
8367
# Check whether --enable-libtool-lock was given.
8368
if test "${enable_libtool_lock+set}" = set; then
8369
enableval=$enable_libtool_lock;
8372
test "x$enable_libtool_lock" != xno && enable_libtool_lock=yes
8375
# Check whether --with-pic was given.
8376
if test "${with_pic+set}" = set; then
8377
withval=$with_pic; pic_mode="$withval"
8382
test -z "$pic_mode" && pic_mode=default
8384
# Use C for the default configuration in the libtool script
8388
ac_cpp='$CPP $CPPFLAGS'
8389
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8390
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8391
ac_compiler_gnu=$ac_cv_c_compiler_gnu
8394
# Source file extension for C test sources.
8397
# Object file extension for compiled C test sources.
8401
# Code to be used in simple compile tests
8402
lt_simple_compile_test_code="int some_variable = 0;"
8404
# Code to be used in simple link tests
8405
lt_simple_link_test_code='int main(){return(0);}'
8408
# If no C compiler was specified, use CC.
8411
# If no C compiler flags were specified, use CFLAGS.
8412
LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
8414
# Allow CC to be a program name with arguments.
8418
# save warnings/boilerplate of simple test code
8419
ac_outfile=conftest.$ac_objext
8420
echo "$lt_simple_compile_test_code" >conftest.$ac_ext
8421
eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
8422
_lt_compiler_boilerplate=`cat conftest.err`
8425
ac_outfile=conftest.$ac_objext
8426
echo "$lt_simple_link_test_code" >conftest.$ac_ext
8427
eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
8428
_lt_linker_boilerplate=`cat conftest.err`
8433
lt_prog_compiler_no_builtin_flag=
8435
if test "$GCC" = yes; then
8436
lt_prog_compiler_no_builtin_flag=' -fno-builtin'
8439
{ echo "$as_me:$LINENO: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
8440
echo $ECHO_N "checking if $compiler supports -fno-rtti -fno-exceptions... $ECHO_C" >&6; }
8441
if test "${lt_cv_prog_compiler_rtti_exceptions+set}" = set; then
8442
echo $ECHO_N "(cached) $ECHO_C" >&6
8444
lt_cv_prog_compiler_rtti_exceptions=no
8445
ac_outfile=conftest.$ac_objext
8446
echo "$lt_simple_compile_test_code" > conftest.$ac_ext
8447
lt_compiler_flag="-fno-rtti -fno-exceptions"
8448
# Insert the option either (1) after the last *FLAGS variable, or
8449
# (2) before a word containing "conftest.", or (3) at the end.
8450
# Note that $ac_compile itself does not contain backslashes and begins
8451
# with a dollar sign (not a hyphen), so the echo should work correctly.
8452
# The option is referenced via a variable to avoid confusing sed.
8453
lt_compile=`echo "$ac_compile" | $SED \
8454
-e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8455
-e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8456
-e 's:$: $lt_compiler_flag:'`
8457
(eval echo "\"\$as_me:__oline__: $lt_compile\"" >&5)
8458
(eval "$lt_compile" 2>conftest.err)
8460
cat conftest.err >&5
8461
echo "$as_me:__oline__: \$? = $ac_status" >&5
8462
if (exit $ac_status) && test -s "$ac_outfile"; then
8463
# The compiler can only warn and ignore the option if not recognized
8464
# So say no if there are warnings other than the usual output.
8465
$echo "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' >conftest.exp
8466
$SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
8467
if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
8468
lt_cv_prog_compiler_rtti_exceptions=yes
8474
{ echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_rtti_exceptions" >&5
8475
echo "${ECHO_T}$lt_cv_prog_compiler_rtti_exceptions" >&6; }
8477
if test x"$lt_cv_prog_compiler_rtti_exceptions" = xyes; then
8478
lt_prog_compiler_no_builtin_flag="$lt_prog_compiler_no_builtin_flag -fno-rtti -fno-exceptions"
8485
lt_prog_compiler_wl=
8486
lt_prog_compiler_pic=
8487
lt_prog_compiler_static=
8489
{ echo "$as_me:$LINENO: checking for $compiler option to produce PIC" >&5
8490
echo $ECHO_N "checking for $compiler option to produce PIC... $ECHO_C" >&6; }
8492
if test "$GCC" = yes; then
8493
lt_prog_compiler_wl='-Wl,'
8494
lt_prog_compiler_static='-static'
8498
# All AIX code is PIC.
8499
if test "$host_cpu" = ia64; then
8500
# AIX 5 now supports IA64 processor
8501
lt_prog_compiler_static='-Bstatic'
8506
# FIXME: we need at least 68020 code to build shared libraries, but
8507
# adding the `-m68020' flag to GCC prevents building anything better,
8509
lt_prog_compiler_pic='-m68020 -resident32 -malways-restore-a4'
8512
beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
8513
# PIC is the default for these OSes.
8516
mingw* | cygwin* | pw32* | os2*)
8517
# This hack is so that the source file can tell whether it is being
8518
# built for inclusion in a dll (and should export symbols for example).
8519
# Although the cygwin gcc ignores -fPIC, still need this for old-style
8520
# (--disable-auto-import) libraries
8521
lt_prog_compiler_pic='-DDLL_EXPORT'
8524
darwin* | rhapsody*)
8525
# PIC is the default on this platform
8526
# Common symbols not allowed in MH_DYLIB files
8527
lt_prog_compiler_pic='-fno-common'
8531
# Interix 3.x gcc -fpic/-fPIC options generate broken code.
8532
# Instead, we relocate shared libraries at runtime.
8536
# Just because we use GCC doesn't mean we suddenly get shared libraries
8537
# on systems that don't support them.
8538
lt_prog_compiler_can_build_shared=no
8543
if test -d /usr/nec; then
8544
lt_prog_compiler_pic=-Kconform_pic
8549
# PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
8556
lt_prog_compiler_pic='-fPIC'
8562
lt_prog_compiler_pic='-fPIC'
8566
# PORTME Check for flag to pass linker flags through the system compiler.
8569
lt_prog_compiler_wl='-Wl,'
8570
if test "$host_cpu" = ia64; then
8571
# AIX 5 now supports IA64 processor
8572
lt_prog_compiler_static='-Bstatic'
8574
lt_prog_compiler_static='-bnso -bI:/lib/syscalls.exp'
8578
# PIC is the default on this platform
8579
# Common symbols not allowed in MH_DYLIB files
8580
case $cc_basename in
8582
lt_prog_compiler_pic='-qnocommon'
8583
lt_prog_compiler_wl='-Wl,'
8588
mingw* | cygwin* | pw32* | os2*)
8589
# This hack is so that the source file can tell whether it is being
8590
# built for inclusion in a dll (and should export symbols for example).
8591
lt_prog_compiler_pic='-DDLL_EXPORT'
8594
hpux9* | hpux10* | hpux11*)
8595
lt_prog_compiler_wl='-Wl,'
8596
# PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
8603
lt_prog_compiler_pic='+Z'
8606
# Is there a better lt_prog_compiler_static that works with the bundled CC?
8607
lt_prog_compiler_static='${wl}-a ${wl}archive'
8610
irix5* | irix6* | nonstopux*)
8611
lt_prog_compiler_wl='-Wl,'
8612
# PIC (with -KPIC) is the default.
8613
lt_prog_compiler_static='-non_shared'
8617
lt_prog_compiler_pic='-KPIC'
8618
lt_prog_compiler_static='-Bstatic'
8621
linux* | k*bsd*-gnu)
8622
case $cc_basename in
8624
lt_prog_compiler_wl='-Wl,'
8625
lt_prog_compiler_pic='-KPIC'
8626
lt_prog_compiler_static='-static'
8628
pgcc* | pgf77* | pgf90* | pgf95*)
8629
# Portland Group compilers (*not* the Pentium gcc compiler,
8630
# which looks to be a dead project)
8631
lt_prog_compiler_wl='-Wl,'
8632
lt_prog_compiler_pic='-fpic'
8633
lt_prog_compiler_static='-Bstatic'
8636
lt_prog_compiler_wl='-Wl,'
8637
# All Alpha code is PIC.
8638
lt_prog_compiler_static='-non_shared'
8641
case `$CC -V 2>&1 | sed 5q` in
8644
lt_prog_compiler_pic='-KPIC'
8645
lt_prog_compiler_static='-Bstatic'
8646
lt_prog_compiler_wl='-Wl,'
8649
# Sun Fortran 8.3 passes all unrecognized flags to the linker
8650
lt_prog_compiler_pic='-KPIC'
8651
lt_prog_compiler_static='-Bstatic'
8652
lt_prog_compiler_wl=''
8659
osf3* | osf4* | osf5*)
8660
lt_prog_compiler_wl='-Wl,'
8661
# All OSF/1 code is PIC.
8662
lt_prog_compiler_static='-non_shared'
8666
lt_prog_compiler_static='-non_shared'
8670
lt_prog_compiler_pic='-KPIC'
8671
lt_prog_compiler_static='-Bstatic'
8672
case $cc_basename in
8674
lt_prog_compiler_wl='-Qoption ld ';;
8676
lt_prog_compiler_wl='-Wl,';;
8681
lt_prog_compiler_wl='-Qoption ld '
8682
lt_prog_compiler_pic='-PIC'
8683
lt_prog_compiler_static='-Bstatic'
8686
sysv4 | sysv4.2uw2* | sysv4.3*)
8687
lt_prog_compiler_wl='-Wl,'
8688
lt_prog_compiler_pic='-KPIC'
8689
lt_prog_compiler_static='-Bstatic'
8693
if test -d /usr/nec ;then
8694
lt_prog_compiler_pic='-Kconform_pic'
8695
lt_prog_compiler_static='-Bstatic'
8699
sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
8700
lt_prog_compiler_wl='-Wl,'
8701
lt_prog_compiler_pic='-KPIC'
8702
lt_prog_compiler_static='-Bstatic'
8706
lt_prog_compiler_wl='-Wl,'
8707
lt_prog_compiler_can_build_shared=no
8711
lt_prog_compiler_pic='-pic'
8712
lt_prog_compiler_static='-Bstatic'
8716
lt_prog_compiler_can_build_shared=no
8721
{ echo "$as_me:$LINENO: result: $lt_prog_compiler_pic" >&5
8722
echo "${ECHO_T}$lt_prog_compiler_pic" >&6; }
8725
# Check to make sure the PIC flag actually works.
8727
if test -n "$lt_prog_compiler_pic"; then
8729
{ echo "$as_me:$LINENO: checking if $compiler PIC flag $lt_prog_compiler_pic works" >&5
8730
echo $ECHO_N "checking if $compiler PIC flag $lt_prog_compiler_pic works... $ECHO_C" >&6; }
8731
if test "${lt_prog_compiler_pic_works+set}" = set; then
8732
echo $ECHO_N "(cached) $ECHO_C" >&6
8734
lt_prog_compiler_pic_works=no
8735
ac_outfile=conftest.$ac_objext
8736
echo "$lt_simple_compile_test_code" > conftest.$ac_ext
8737
lt_compiler_flag="$lt_prog_compiler_pic -DPIC"
8738
# Insert the option either (1) after the last *FLAGS variable, or
8739
# (2) before a word containing "conftest.", or (3) at the end.
8740
# Note that $ac_compile itself does not contain backslashes and begins
8741
# with a dollar sign (not a hyphen), so the echo should work correctly.
8742
# The option is referenced via a variable to avoid confusing sed.
8743
lt_compile=`echo "$ac_compile" | $SED \
8744
-e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8745
-e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8746
-e 's:$: $lt_compiler_flag:'`
8747
(eval echo "\"\$as_me:__oline__: $lt_compile\"" >&5)
8748
(eval "$lt_compile" 2>conftest.err)
8750
cat conftest.err >&5
8751
echo "$as_me:__oline__: \$? = $ac_status" >&5
8752
if (exit $ac_status) && test -s "$ac_outfile"; then
8753
# The compiler can only warn and ignore the option if not recognized
8754
# So say no if there are warnings other than the usual output.
8755
$echo "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' >conftest.exp
8756
$SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
8757
if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
8758
lt_prog_compiler_pic_works=yes
8764
{ echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_works" >&5
8765
echo "${ECHO_T}$lt_prog_compiler_pic_works" >&6; }
8767
if test x"$lt_prog_compiler_pic_works" = xyes; then
8768
case $lt_prog_compiler_pic in
8770
*) lt_prog_compiler_pic=" $lt_prog_compiler_pic" ;;
8773
lt_prog_compiler_pic=
8774
lt_prog_compiler_can_build_shared=no
8779
# For platforms which do not support PIC, -DPIC is meaningless:
8781
lt_prog_compiler_pic=
8784
lt_prog_compiler_pic="$lt_prog_compiler_pic -DPIC"
8789
# Check to make sure the static flag actually works.
8791
wl=$lt_prog_compiler_wl eval lt_tmp_static_flag=\"$lt_prog_compiler_static\"
8792
{ echo "$as_me:$LINENO: checking if $compiler static flag $lt_tmp_static_flag works" >&5
8793
echo $ECHO_N "checking if $compiler static flag $lt_tmp_static_flag works... $ECHO_C" >&6; }
8794
if test "${lt_prog_compiler_static_works+set}" = set; then
8795
echo $ECHO_N "(cached) $ECHO_C" >&6
8797
lt_prog_compiler_static_works=no
8798
save_LDFLAGS="$LDFLAGS"
8799
LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
8800
echo "$lt_simple_link_test_code" > conftest.$ac_ext
8801
if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
8802
# The linker can only warn and ignore the option if not recognized
8803
# So say no if there are warnings
8804
if test -s conftest.err; then
8805
# Append any errors to the config.log.
8806
cat conftest.err 1>&5
8807
$echo "X$_lt_linker_boilerplate" | $Xsed -e '/^$/d' > conftest.exp
8808
$SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
8809
if diff conftest.exp conftest.er2 >/dev/null; then
8810
lt_prog_compiler_static_works=yes
8813
lt_prog_compiler_static_works=yes
8817
LDFLAGS="$save_LDFLAGS"
8820
{ echo "$as_me:$LINENO: result: $lt_prog_compiler_static_works" >&5
8821
echo "${ECHO_T}$lt_prog_compiler_static_works" >&6; }
8823
if test x"$lt_prog_compiler_static_works" = xyes; then
8826
lt_prog_compiler_static=
8830
{ echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5
8831
echo $ECHO_N "checking if $compiler supports -c -o file.$ac_objext... $ECHO_C" >&6; }
8832
if test "${lt_cv_prog_compiler_c_o+set}" = set; then
8833
echo $ECHO_N "(cached) $ECHO_C" >&6
8835
lt_cv_prog_compiler_c_o=no
8836
$rm -r conftest 2>/dev/null
8840
echo "$lt_simple_compile_test_code" > conftest.$ac_ext
8842
lt_compiler_flag="-o out/conftest2.$ac_objext"
8843
# Insert the option either (1) after the last *FLAGS variable, or
8844
# (2) before a word containing "conftest.", or (3) at the end.
8845
# Note that $ac_compile itself does not contain backslashes and begins
8846
# with a dollar sign (not a hyphen), so the echo should work correctly.
8847
lt_compile=`echo "$ac_compile" | $SED \
8848
-e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8849
-e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8850
-e 's:$: $lt_compiler_flag:'`
8851
(eval echo "\"\$as_me:__oline__: $lt_compile\"" >&5)
8852
(eval "$lt_compile" 2>out/conftest.err)
8854
cat out/conftest.err >&5
8855
echo "$as_me:__oline__: \$? = $ac_status" >&5
8856
if (exit $ac_status) && test -s out/conftest2.$ac_objext
8858
# The compiler can only warn and ignore the option if not recognized
8859
# So say no if there are warnings
8860
$echo "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' > out/conftest.exp
8861
$SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
8862
if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
8863
lt_cv_prog_compiler_c_o=yes
8868
# SGI C++ compiler will create directory out/ii_files/ for
8869
# template instantiation
8870
test -d out/ii_files && $rm out/ii_files/* && rmdir out/ii_files
8871
$rm out/* && rmdir out
8877
{ echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_c_o" >&5
8878
echo "${ECHO_T}$lt_cv_prog_compiler_c_o" >&6; }
8881
hard_links="nottested"
8882
if test "$lt_cv_prog_compiler_c_o" = no && test "$need_locks" != no; then
8883
# do not overwrite the value of need_locks provided by the user
8884
{ echo "$as_me:$LINENO: checking if we can lock with hard links" >&5
8885
echo $ECHO_N "checking if we can lock with hard links... $ECHO_C" >&6; }
8888
ln conftest.a conftest.b 2>/dev/null && hard_links=no
8890
ln conftest.a conftest.b 2>&5 || hard_links=no
8891
ln conftest.a conftest.b 2>/dev/null && hard_links=no
8892
{ echo "$as_me:$LINENO: result: $hard_links" >&5
8893
echo "${ECHO_T}$hard_links" >&6; }
8894
if test "$hard_links" = no; then
8895
{ echo "$as_me:$LINENO: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
8896
echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
8903
{ echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5
8904
echo $ECHO_N "checking whether the $compiler linker ($LD) supports shared libraries... $ECHO_C" >&6; }
8907
allow_undefined_flag=
8908
enable_shared_with_static_runtimes=no
8910
archive_expsym_cmds=
8911
old_archive_From_new_cmds=
8912
old_archive_from_expsyms_cmds=
8913
export_dynamic_flag_spec=
8914
whole_archive_flag_spec=
8915
thread_safe_flag_spec=
8916
hardcode_libdir_flag_spec=
8917
hardcode_libdir_flag_spec_ld=
8918
hardcode_libdir_separator=
8921
hardcode_shlibpath_var=unsupported
8922
link_all_deplibs=unknown
8923
hardcode_automatic=no
8926
always_export_symbols=no
8927
export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
8928
# include_expsyms should be a list of space-separated symbols to be *always*
8929
# included in the symbol list
8931
# exclude_expsyms can be an extended regexp of symbols to exclude
8932
# it will be wrapped by ` (' and `)$', so one must not match beginning or
8933
# end of line. Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
8934
# as well as any symbol that contains `d'.
8935
exclude_expsyms="_GLOBAL_OFFSET_TABLE_"
8936
# Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
8937
# platforms (ab)use it in PIC code, but their linkers get confused if
8938
# the symbol is explicitly referenced. Since portable code cannot
8939
# rely on this symbol name, it's probably fine to never include it in
8940
# preloaded symbol tables.
8941
extract_expsyms_cmds=
8942
# Just being paranoid about ensuring that cc_basename is set.
8943
for cc_temp in $compiler""; do
8945
compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
8946
distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
8951
cc_basename=`$echo "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
8954
cygwin* | mingw* | pw32*)
8955
# FIXME: the MSVC++ port hasn't been tested in a loooong time
8956
# When not using gcc, we currently assume that we are using
8957
# Microsoft Visual C++.
8958
if test "$GCC" != yes; then
8963
# we just hope/assume this is gcc and not c89 (= MSVC++)
8972
if test "$with_gnu_ld" = yes; then
8973
# If archive_cmds runs LD, not CC, wlarc should be empty
8976
# Set some defaults for GNU ld with shared library support. These
8977
# are reset later if shared libraries are not supported. Putting them
8978
# here allows them to be overridden if necessary.
8979
runpath_var=LD_RUN_PATH
8980
hardcode_libdir_flag_spec='${wl}--rpath ${wl}$libdir'
8981
export_dynamic_flag_spec='${wl}--export-dynamic'
8982
# ancient GNU ld didn't support --whole-archive et. al.
8983
if $LD --help 2>&1 | grep 'no-whole-archive' > /dev/null; then
8984
whole_archive_flag_spec="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
8986
whole_archive_flag_spec=
8988
supports_anon_versioning=no
8989
case `$LD -v 2>/dev/null` in
8990
*\ [01].* | *\ 2.[0-9].* | *\ 2.10.*) ;; # catch versions < 2.11
8991
*\ 2.11.93.0.2\ *) supports_anon_versioning=yes ;; # RH7.3 ...
8992
*\ 2.11.92.0.12\ *) supports_anon_versioning=yes ;; # Mandrake 8.2 ...
8993
*\ 2.11.*) ;; # other 2.11 versions
8994
*) supports_anon_versioning=yes ;;
8997
# See if GNU ld supports shared libraries.
8999
aix3* | aix4* | aix5*)
9000
# On AIX/PPC, the GNU linker is very broken
9001
if test "$host_cpu" != ia64; then
9005
*** Warning: the GNU linker, at least up to release 2.9.1, is reported
9006
*** to be unable to reliably create shared libraries on AIX.
9007
*** Therefore, libtool is disabling shared libraries support. If you
9008
*** really care for shared libraries, you may want to modify your PATH
9009
*** so that a non-GNU linker is found, and then restart.
9016
archive_cmds='$rm $output_objdir/a2ixlibrary.data~$echo "#define NAME $libname" > $output_objdir/a2ixlibrary.data~$echo "#define LIBRARY_ID 1" >> $output_objdir/a2ixlibrary.data~$echo "#define VERSION $major" >> $output_objdir/a2ixlibrary.data~$echo "#define REVISION $revision" >> $output_objdir/a2ixlibrary.data~$AR $AR_FLAGS $lib $libobjs~$RANLIB $lib~(cd $output_objdir && a2ixlibrary -32)'
9017
hardcode_libdir_flag_spec='-L$libdir'
9018
hardcode_minus_L=yes
9020
# Samuel A. Falvo II <kc5tja@dolphin.openprojects.net> reports
9021
# that the semantics of dynamic libraries on AmigaOS, at least up
9022
# to version 4, is to share data among multiple programs linked
9023
# with the same dynamic library. Since this doesn't match the
9024
# behavior of shared libraries on other platforms, we can't use
9030
if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
9031
allow_undefined_flag=unsupported
9032
# Joseph Beckenbach <jrb3@best.com> says some releases of gcc
9033
# support --undefined. This deserves some investigation. FIXME
9034
archive_cmds='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9040
cygwin* | mingw* | pw32*)
9041
# _LT_AC_TAGVAR(hardcode_libdir_flag_spec, ) is actually meaningless,
9042
# as there is no search path for DLLs.
9043
hardcode_libdir_flag_spec='-L$libdir'
9044
allow_undefined_flag=unsupported
9045
always_export_symbols=no
9046
enable_shared_with_static_runtimes=yes
9047
export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1 DATA/'\'' -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols'
9049
if $LD --help 2>&1 | grep 'auto-import' > /dev/null; then
9050
archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
9051
# If the export-symbols file already is a .def file (1st line
9052
# is EXPORTS), use it as is; otherwise, prepend...
9053
archive_expsym_cmds='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
9054
cp $export_symbols $output_objdir/$soname.def;
9056
echo EXPORTS > $output_objdir/$soname.def;
9057
cat $export_symbols >> $output_objdir/$soname.def;
9059
$CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
9067
hardcode_shlibpath_var=no
9068
hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
9069
export_dynamic_flag_spec='${wl}-E'
9070
# Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
9071
# Instead, shared libraries are loaded at an image base (0x10000000 by
9072
# default) and relocated if they conflict, which is a slow very memory
9073
# consuming and fragmenting process. To avoid this, we pick a random,
9074
# 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
9075
# time. Moving up from 0x10000000 also allows more sbrk(2) space.
9076
archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
9077
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'
9080
gnu* | linux* | k*bsd*-gnu)
9081
if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
9083
case $cc_basename,$host_cpu in
9084
pgcc*) # Portland Group C compiler
9085
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'
9086
tmp_addflag=' $pic_flag'
9088
pgf77* | pgf90* | pgf95*) # Portland Group f77 and f90 compilers
9089
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'
9090
tmp_addflag=' $pic_flag -Mnomain' ;;
9091
ecc*,ia64* | icc*,ia64*) # Intel C compiler on ia64
9092
tmp_addflag=' -i_dynamic' ;;
9093
efc*,ia64* | ifort*,ia64*) # Intel Fortran compiler on ia64
9094
tmp_addflag=' -i_dynamic -nofor_main' ;;
9095
ifc* | ifort*) # Intel Fortran compiler
9096
tmp_addflag=' -nofor_main' ;;
9098
case `$CC -V 2>&1 | sed 5q` in
9099
*Sun\ C*) # Sun C 5.9
9100
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'
9101
tmp_sharedflag='-G' ;;
9102
*Sun\ F*) # Sun Fortran 8.3
9103
tmp_sharedflag='-G' ;;
9105
tmp_sharedflag='-shared' ;;
9107
archive_cmds='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9109
if test $supports_anon_versioning = yes; then
9110
archive_expsym_cmds='$echo "{ global:" > $output_objdir/$libname.ver~
9111
cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
9112
$echo "local: *; };" >> $output_objdir/$libname.ver~
9113
$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
9121
netbsd* | netbsdelf*-gnu)
9122
if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
9123
archive_cmds='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
9126
archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9127
archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
9132
if $LD -v 2>&1 | grep 'BFD 2\.8' > /dev/null; then
9136
*** Warning: The releases 2.8.* of the GNU linker cannot reliably
9137
*** create shared libraries on Solaris systems. Therefore, libtool
9138
*** is disabling shared libraries support. We urge you to upgrade GNU
9139
*** binutils to release 2.9.1 or newer. Another option is to modify
9140
*** your PATH or compiler configuration so that the native linker is
9141
*** used, and then restart.
9144
elif $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
9145
archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9146
archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
9152
sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX*)
9153
case `$LD -v 2>&1` in
9154
*\ [01].* | *\ 2.[0-9].* | *\ 2.1[0-5].*)
9158
*** Warning: Releases of the GNU linker prior to 2.16.91.0.3 can not
9159
*** reliably create shared libraries on SCO systems. Therefore, libtool
9160
*** is disabling shared libraries support. We urge you to upgrade GNU
9161
*** binutils to release 2.16.91.0.3 or newer. Another option is to modify
9162
*** your PATH or compiler configuration so that the native linker is
9163
*** used, and then restart.
9168
if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
9169
hardcode_libdir_flag_spec='`test -z "$SCOABSPATH" && echo ${wl}-rpath,$libdir`'
9170
archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib'
9171
archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname,\${SCOABSPATH:+${install_libdir}/}$soname,-retain-symbols-file,$export_symbols -o $lib'
9180
archive_cmds='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
9183
hardcode_shlibpath_var=no
9187
if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
9188
archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9189
archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
9196
if test "$ld_shlibs" = no; then
9198
hardcode_libdir_flag_spec=
9199
export_dynamic_flag_spec=
9200
whole_archive_flag_spec=
9203
# PORTME fill in a description of your system's linker (not GNU ld)
9206
allow_undefined_flag=unsupported
9207
always_export_symbols=yes
9208
archive_expsym_cmds='$LD -o $output_objdir/$soname $libobjs $deplibs $linker_flags -bE:$export_symbols -T512 -H512 -bM:SRE~$AR $AR_FLAGS $lib $output_objdir/$soname'
9209
# Note: this linker hardcodes the directories in LIBPATH if there
9210
# are no directories specified by -L.
9211
hardcode_minus_L=yes
9212
if test "$GCC" = yes && test -z "$lt_prog_compiler_static"; then
9213
# Neither direct hardcoding nor static linking is supported with a
9215
hardcode_direct=unsupported
9220
if test "$host_cpu" = ia64; then
9221
# On IA64, the linker does run time linking by default, so we don't
9222
# have to do anything special.
9223
aix_use_runtimelinking=no
9224
exp_sym_flag='-Bexport'
9227
# If we're using GNU nm, then we don't want the "-C" option.
9228
# -C means demangle to AIX nm, but means don't demangle with GNU nm
9229
if $NM -V 2>&1 | grep 'GNU' > /dev/null; then
9230
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'
9232
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'
9234
aix_use_runtimelinking=no
9236
# Test if we are trying to use run time linking or normal
9237
# AIX style linking. If -brtl is somewhere in LDFLAGS, we
9238
# need to do runtime linking.
9239
case $host_os in aix4.[23]|aix4.[23].*|aix5*)
9240
for ld_flag in $LDFLAGS; do
9241
if (test $ld_flag = "-brtl" || test $ld_flag = "-Wl,-brtl"); then
9242
aix_use_runtimelinking=yes
9249
exp_sym_flag='-bexport'
9250
no_entry_flag='-bnoentry'
9253
# When large executables or shared objects are built, AIX ld can
9254
# have problems creating the table of contents. If linking a library
9255
# or program results in "error TOC overflow" add -mminimal-toc to
9256
# CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
9257
# enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
9261
hardcode_libdir_separator=':'
9262
link_all_deplibs=yes
9264
if test "$GCC" = yes; then
9265
case $host_os in aix4.[012]|aix4.[012].*)
9266
# We only want to do this on AIX 4.2 and lower, the check
9267
# below for broken collect2 doesn't work under 4.3+
9268
collect2name=`${CC} -print-prog-name=collect2`
9269
if test -f "$collect2name" && \
9270
strings "$collect2name" | grep resolve_lib_name >/dev/null
9272
# We have reworked collect2
9275
# We have old collect2
9276
hardcode_direct=unsupported
9277
# It fails to find uninstalled libraries when the uninstalled
9278
# path is not listed in the libpath. Setting hardcode_minus_L
9279
# to unsupported forces relinking
9280
hardcode_minus_L=yes
9281
hardcode_libdir_flag_spec='-L$libdir'
9282
hardcode_libdir_separator=
9286
shared_flag='-shared'
9287
if test "$aix_use_runtimelinking" = yes; then
9288
shared_flag="$shared_flag "'${wl}-G'
9292
if test "$host_cpu" = ia64; then
9293
# VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
9294
# chokes on -Wl,-G. The following line is correct:
9297
if test "$aix_use_runtimelinking" = yes; then
9298
shared_flag='${wl}-G'
9300
shared_flag='${wl}-bM:SRE'
9305
# It seems that -bexpall does not export symbols beginning with
9306
# underscore (_), so it is better to generate a list of symbols to export.
9307
always_export_symbols=yes
9308
if test "$aix_use_runtimelinking" = yes; then
9309
# Warning - without using the other runtime loading flags (-brtl),
9310
# -berok will link without error, but may produce a broken library.
9311
allow_undefined_flag='-berok'
9312
# Determine the default libpath from the value encoded in an empty executable.
9313
cat >conftest.$ac_ext <<_ACEOF
9316
cat confdefs.h >>conftest.$ac_ext
9317
cat >>conftest.$ac_ext <<_ACEOF
9318
/* end confdefs.h. */
9328
rm -f conftest.$ac_objext conftest$ac_exeext
9329
if { (ac_try="$ac_link"
9331
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9332
*) ac_try_echo=$ac_try;;
9334
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9335
(eval "$ac_link") 2>conftest.er1
9337
grep -v '^ *+' conftest.er1 >conftest.err
9339
cat conftest.err >&5
9340
echo "$as_me:$LINENO: \$? = $ac_status" >&5
9341
(exit $ac_status); } && {
9342
test -z "$ac_c_werror_flag" ||
9343
test ! -s conftest.err
9344
} && test -s conftest$ac_exeext &&
9345
$as_test_x conftest$ac_exeext; then
9347
lt_aix_libpath_sed='
9348
/Import File Strings/,/^$/ {
9354
aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9355
# Check for a 64-bit object if we didn't find anything.
9356
if test -z "$aix_libpath"; then
9357
aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9360
echo "$as_me: failed program was:" >&5
9361
sed 's/^/| /' conftest.$ac_ext >&5
9366
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
9367
conftest$ac_exeext conftest.$ac_ext
9368
if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
9370
hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
9371
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 "${wl}${allow_undefined_flag}"; else :; fi` '"\${wl}$exp_sym_flag:\$export_symbols $shared_flag"
9373
if test "$host_cpu" = ia64; then
9374
hardcode_libdir_flag_spec='${wl}-R $libdir:/usr/lib:/lib'
9375
allow_undefined_flag="-z nodefs"
9376
archive_expsym_cmds="\$CC $shared_flag"' -o $output_objdir/$soname $libobjs $deplibs '"\${wl}$no_entry_flag"' $compiler_flags ${wl}${allow_undefined_flag} '"\${wl}$exp_sym_flag:\$export_symbols"
9378
# Determine the default libpath from the value encoded in an empty executable.
9379
cat >conftest.$ac_ext <<_ACEOF
9382
cat confdefs.h >>conftest.$ac_ext
9383
cat >>conftest.$ac_ext <<_ACEOF
9384
/* end confdefs.h. */
9394
rm -f conftest.$ac_objext conftest$ac_exeext
9395
if { (ac_try="$ac_link"
9397
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9398
*) ac_try_echo=$ac_try;;
9400
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9401
(eval "$ac_link") 2>conftest.er1
9403
grep -v '^ *+' conftest.er1 >conftest.err
9405
cat conftest.err >&5
9406
echo "$as_me:$LINENO: \$? = $ac_status" >&5
9407
(exit $ac_status); } && {
9408
test -z "$ac_c_werror_flag" ||
9409
test ! -s conftest.err
9410
} && test -s conftest$ac_exeext &&
9411
$as_test_x conftest$ac_exeext; then
9413
lt_aix_libpath_sed='
9414
/Import File Strings/,/^$/ {
9420
aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9421
# Check for a 64-bit object if we didn't find anything.
9422
if test -z "$aix_libpath"; then
9423
aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9426
echo "$as_me: failed program was:" >&5
9427
sed 's/^/| /' conftest.$ac_ext >&5
9432
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
9433
conftest$ac_exeext conftest.$ac_ext
9434
if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
9436
hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
9437
# Warning - without using the other run time loading flags,
9438
# -berok will link without error, but may produce a broken library.
9439
no_undefined_flag=' ${wl}-bernotok'
9440
allow_undefined_flag=' ${wl}-berok'
9441
# Exported symbols can be pulled into shared objects from archives
9442
whole_archive_flag_spec='$convenience'
9443
archive_cmds_need_lc=yes
9444
# This is similar to how AIX traditionally builds its shared libraries.
9445
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'
9451
archive_cmds='$rm $output_objdir/a2ixlibrary.data~$echo "#define NAME $libname" > $output_objdir/a2ixlibrary.data~$echo "#define LIBRARY_ID 1" >> $output_objdir/a2ixlibrary.data~$echo "#define VERSION $major" >> $output_objdir/a2ixlibrary.data~$echo "#define REVISION $revision" >> $output_objdir/a2ixlibrary.data~$AR $AR_FLAGS $lib $libobjs~$RANLIB $lib~(cd $output_objdir && a2ixlibrary -32)'
9452
hardcode_libdir_flag_spec='-L$libdir'
9453
hardcode_minus_L=yes
9454
# see comment about different semantics on the GNU ld section
9459
export_dynamic_flag_spec=-rdynamic
9462
cygwin* | mingw* | pw32*)
9463
# When not using gcc, we currently assume that we are using
9464
# Microsoft Visual C++.
9465
# hardcode_libdir_flag_spec is actually meaningless, as there is
9466
# no search path for DLLs.
9467
hardcode_libdir_flag_spec=' '
9468
allow_undefined_flag=unsupported
9469
# Tell ltmain to make .lib files, not .a files.
9471
# Tell ltmain to make .dll files, not .so files.
9473
# FIXME: Setting linknames here is a bad hack.
9474
archive_cmds='$CC -o $lib $libobjs $compiler_flags `echo "$deplibs" | $SED -e '\''s/ -lc$//'\''` -link -dll~linknames='
9475
# The linker will automatically build a .lib file if we build a DLL.
9476
old_archive_From_new_cmds='true'
9477
# FIXME: Should let the user specify the lib program.
9478
old_archive_cmds='lib -OUT:$oldlib$oldobjs$old_deplibs'
9479
fix_srcfile_path='`cygpath -w "$srcfile"`'
9480
enable_shared_with_static_runtimes=yes
9483
darwin* | rhapsody*)
9485
rhapsody* | darwin1.[012])
9486
allow_undefined_flag='${wl}-undefined ${wl}suppress'
9489
if test -z ${MACOSX_DEPLOYMENT_TARGET} ; then
9490
allow_undefined_flag='${wl}-flat_namespace ${wl}-undefined ${wl}suppress'
9492
case ${MACOSX_DEPLOYMENT_TARGET} in
9494
allow_undefined_flag='${wl}-flat_namespace ${wl}-undefined ${wl}suppress'
9497
allow_undefined_flag='${wl}-undefined ${wl}dynamic_lookup'
9503
archive_cmds_need_lc=no
9505
hardcode_automatic=yes
9506
hardcode_shlibpath_var=unsupported
9507
whole_archive_flag_spec=''
9508
link_all_deplibs=yes
9509
if test "$GCC" = yes ; then
9510
output_verbose_link_cmd='echo'
9511
archive_cmds='$CC -dynamiclib $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags -install_name $rpath/$soname $verstring'
9512
module_cmds='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
9513
# Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin lds
9514
archive_expsym_cmds='sed -e "s,#.*,," -e "s,^[ ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC -dynamiclib $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags -install_name $rpath/$soname $verstring~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
9515
module_expsym_cmds='sed -e "s,#.*,," -e "s,^[ ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
9517
case $cc_basename in
9519
output_verbose_link_cmd='echo'
9520
archive_cmds='$CC -qmkshrobj $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-install_name ${wl}`echo $rpath/$soname` $xlcverstring'
9521
module_cmds='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
9522
# Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin lds
9523
archive_expsym_cmds='sed -e "s,#.*,," -e "s,^[ ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC -qmkshrobj $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-install_name ${wl}$rpath/$soname $xlcverstring~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
9524
module_expsym_cmds='sed -e "s,#.*,," -e "s,^[ ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
9534
archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9535
hardcode_libdir_flag_spec='-L$libdir'
9536
hardcode_shlibpath_var=no
9543
# FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
9544
# support. Future versions do this automatically, but an explicit c++rt0.o
9545
# does not break anything, and helps significantly (at the cost of a little
9548
archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
9549
hardcode_libdir_flag_spec='-R$libdir'
9551
hardcode_shlibpath_var=no
9554
# Unfortunately, older versions of FreeBSD 2 do not have this feature.
9556
archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
9558
hardcode_minus_L=yes
9559
hardcode_shlibpath_var=no
9562
# FreeBSD 3 and greater uses gcc -shared to do shared libraries.
9563
freebsd* | dragonfly*)
9564
archive_cmds='$CC -shared -o $lib $libobjs $deplibs $compiler_flags'
9565
hardcode_libdir_flag_spec='-R$libdir'
9567
hardcode_shlibpath_var=no
9571
if test "$GCC" = yes; then
9572
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'
9574
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'
9576
hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
9577
hardcode_libdir_separator=:
9580
# hardcode_minus_L: Not really in the search PATH,
9581
# but as the default location of the library.
9582
hardcode_minus_L=yes
9583
export_dynamic_flag_spec='${wl}-E'
9587
if test "$GCC" = yes -a "$with_gnu_ld" = no; then
9588
archive_cmds='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
9590
archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
9592
if test "$with_gnu_ld" = no; then
9593
hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
9594
hardcode_libdir_separator=:
9597
export_dynamic_flag_spec='${wl}-E'
9599
# hardcode_minus_L: Not really in the search PATH,
9600
# but as the default location of the library.
9601
hardcode_minus_L=yes
9606
if test "$GCC" = yes -a "$with_gnu_ld" = no; then
9609
archive_cmds='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
9612
archive_cmds='$CC -shared ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
9615
archive_cmds='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
9621
archive_cmds='$CC -b ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
9624
archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
9627
archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
9631
if test "$with_gnu_ld" = no; then
9632
hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
9633
hardcode_libdir_separator=:
9637
hardcode_libdir_flag_spec_ld='+b $libdir'
9639
hardcode_shlibpath_var=no
9643
export_dynamic_flag_spec='${wl}-E'
9645
# hardcode_minus_L: Not really in the search PATH,
9646
# but as the default location of the library.
9647
hardcode_minus_L=yes
9653
irix5* | irix6* | nonstopux*)
9654
if test "$GCC" = yes; then
9655
archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && echo ${wl}-set_version ${wl}$verstring` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
9657
archive_cmds='$LD -shared $libobjs $deplibs $linker_flags -soname $soname `test -n "$verstring" && echo -set_version $verstring` -update_registry ${output_objdir}/so_locations -o $lib'
9658
hardcode_libdir_flag_spec_ld='-rpath $libdir'
9660
hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9661
hardcode_libdir_separator=:
9662
link_all_deplibs=yes
9665
netbsd* | netbsdelf*-gnu)
9666
if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
9667
archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' # a.out
9669
archive_cmds='$LD -shared -o $lib $libobjs $deplibs $linker_flags' # ELF
9671
hardcode_libdir_flag_spec='-R$libdir'
9673
hardcode_shlibpath_var=no
9677
archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9679
hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9680
hardcode_libdir_separator=:
9681
hardcode_shlibpath_var=no
9685
if test -f /usr/libexec/ld.so; then
9687
hardcode_shlibpath_var=no
9688
if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
9689
archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
9690
archive_expsym_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols'
9691
hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
9692
export_dynamic_flag_spec='${wl}-E'
9695
openbsd[01].* | openbsd2.[0-7] | openbsd2.[0-7].*)
9696
archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
9697
hardcode_libdir_flag_spec='-R$libdir'
9700
archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
9701
hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
9711
hardcode_libdir_flag_spec='-L$libdir'
9712
hardcode_minus_L=yes
9713
allow_undefined_flag=unsupported
9714
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'
9715
old_archive_From_new_cmds='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
9719
if test "$GCC" = yes; then
9720
allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
9721
archive_cmds='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && echo ${wl}-set_version ${wl}$verstring` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
9723
allow_undefined_flag=' -expect_unresolved \*'
9724
archive_cmds='$LD -shared${allow_undefined_flag} $libobjs $deplibs $linker_flags -soname $soname `test -n "$verstring" && echo -set_version $verstring` -update_registry ${output_objdir}/so_locations -o $lib'
9726
hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9727
hardcode_libdir_separator=:
9730
osf4* | osf5*) # as osf3* with the addition of -msym flag
9731
if test "$GCC" = yes; then
9732
allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
9733
archive_cmds='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags ${wl}-msym ${wl}-soname ${wl}$soname `test -n "$verstring" && echo ${wl}-set_version ${wl}$verstring` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
9734
hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9736
allow_undefined_flag=' -expect_unresolved \*'
9737
archive_cmds='$LD -shared${allow_undefined_flag} $libobjs $deplibs $linker_flags -msym -soname $soname `test -n "$verstring" && echo -set_version $verstring` -update_registry ${output_objdir}/so_locations -o $lib'
9738
archive_expsym_cmds='for i in `cat $export_symbols`; do printf "%s %s\\n" -exported_symbol "\$i" >> $lib.exp; done; echo "-hidden">> $lib.exp~
9739
$LD -shared${allow_undefined_flag} -input $lib.exp $linker_flags $libobjs $deplibs -soname $soname `test -n "$verstring" && echo -set_version $verstring` -update_registry ${output_objdir}/so_locations -o $lib~$rm $lib.exp'
9741
# Both c and cxx compiler support -rpath directly
9742
hardcode_libdir_flag_spec='-rpath $libdir'
9744
hardcode_libdir_separator=:
9748
no_undefined_flag=' -z text'
9749
if test "$GCC" = yes; then
9751
archive_cmds='$CC -shared ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
9752
archive_expsym_cmds='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
9753
$CC -shared ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags~$rm $lib.exp'
9756
archive_cmds='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
9757
archive_expsym_cmds='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
9758
$LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$rm $lib.exp'
9760
hardcode_libdir_flag_spec='-R$libdir'
9761
hardcode_shlibpath_var=no
9763
solaris2.[0-5] | solaris2.[0-5].*) ;;
9765
# The compiler driver will combine and reorder linker options,
9766
# but understands `-z linker_flag'. GCC discards it without `$wl',
9767
# but is careful enough not to reorder.
9768
# Supported since Solaris 2.6 (maybe 2.5.1?)
9769
if test "$GCC" = yes; then
9770
whole_archive_flag_spec='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
9772
whole_archive_flag_spec='-z allextract$convenience -z defaultextract'
9776
link_all_deplibs=yes
9780
if test "x$host_vendor" = xsequent; then
9781
# Use $CC to link under sequent, because it throws in some extra .o
9782
# files that make .init and .fini sections work.
9783
archive_cmds='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags'
9785
archive_cmds='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
9787
hardcode_libdir_flag_spec='-L$libdir'
9789
hardcode_minus_L=yes
9790
hardcode_shlibpath_var=no
9794
case $host_vendor in
9796
archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9797
hardcode_direct=yes # is this really true???
9800
## LD is ld it makes a PLAMLIB
9801
## CC just makes a GrossModule.
9802
archive_cmds='$LD -G -o $lib $libobjs $deplibs $linker_flags'
9803
reload_cmds='$CC -r -o $output$reload_objs'
9807
archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9808
hardcode_direct=no #Motorola manual says yes, but my tests say they lie
9811
runpath_var='LD_RUN_PATH'
9812
hardcode_shlibpath_var=no
9816
archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9817
hardcode_shlibpath_var=no
9818
export_dynamic_flag_spec='-Bexport'
9822
if test -d /usr/nec; then
9823
archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9824
hardcode_shlibpath_var=no
9825
runpath_var=LD_RUN_PATH
9826
hardcode_runpath_var=yes
9831
sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7* | sco3.2v5.0.[024]*)
9832
no_undefined_flag='${wl}-z,text'
9833
archive_cmds_need_lc=no
9834
hardcode_shlibpath_var=no
9835
runpath_var='LD_RUN_PATH'
9837
if test "$GCC" = yes; then
9838
archive_cmds='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9839
archive_expsym_cmds='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9841
archive_cmds='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9842
archive_expsym_cmds='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9846
sysv5* | sco3.2v5* | sco5v6*)
9847
# Note: We can NOT use -z defs as we might desire, because we do not
9848
# link with -lc, and that would cause any symbols used from libc to
9849
# always be unresolved, which means just about no library would
9850
# ever link correctly. If we're not using GNU ld we use -z text
9851
# though, which does catch some bad symbols but isn't as heavy-handed
9853
no_undefined_flag='${wl}-z,text'
9854
allow_undefined_flag='${wl}-z,nodefs'
9855
archive_cmds_need_lc=no
9856
hardcode_shlibpath_var=no
9857
hardcode_libdir_flag_spec='`test -z "$SCOABSPATH" && echo ${wl}-R,$libdir`'
9858
hardcode_libdir_separator=':'
9859
link_all_deplibs=yes
9860
export_dynamic_flag_spec='${wl}-Bexport'
9861
runpath_var='LD_RUN_PATH'
9863
if test "$GCC" = yes; then
9864
archive_cmds='$CC -shared ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
9865
archive_expsym_cmds='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
9867
archive_cmds='$CC -G ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
9868
archive_expsym_cmds='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
9873
archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9874
hardcode_libdir_flag_spec='-L$libdir'
9875
hardcode_shlibpath_var=no
9884
{ echo "$as_me:$LINENO: result: $ld_shlibs" >&5
9885
echo "${ECHO_T}$ld_shlibs" >&6; }
9886
test "$ld_shlibs" = no && can_build_shared=no
9889
# Do we need to explicitly link libc?
9891
case "x$archive_cmds_need_lc" in
9893
# Assume -lc should be added
9894
archive_cmds_need_lc=yes
9896
if test "$enable_shared" = yes && test "$GCC" = yes; then
9897
case $archive_cmds in
9899
# FIXME: we may have to deal with multi-command sequences.
9902
# Test whether the compiler implicitly links with -lc since on some
9903
# systems, -lgcc has to come before -lc. If gcc already passes -lc
9904
# to ld, don't add -lc before -lgcc.
9905
{ echo "$as_me:$LINENO: checking whether -lc should be explicitly linked in" >&5
9906
echo $ECHO_N "checking whether -lc should be explicitly linked in... $ECHO_C" >&6; }
9908
echo "$lt_simple_compile_test_code" > conftest.$ac_ext
9910
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
9911
(eval $ac_compile) 2>&5
9913
echo "$as_me:$LINENO: \$? = $ac_status" >&5
9914
(exit $ac_status); } 2>conftest.err; then
9917
libobjs=conftest.$ac_objext
9919
wl=$lt_prog_compiler_wl
9920
pic_flag=$lt_prog_compiler_pic
9926
lt_save_allow_undefined_flag=$allow_undefined_flag
9927
allow_undefined_flag=
9928
if { (eval echo "$as_me:$LINENO: \"$archive_cmds 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1\"") >&5
9929
(eval $archive_cmds 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1) 2>&5
9931
echo "$as_me:$LINENO: \$? = $ac_status" >&5
9932
(exit $ac_status); }
9934
archive_cmds_need_lc=no
9936
archive_cmds_need_lc=yes
9938
allow_undefined_flag=$lt_save_allow_undefined_flag
9940
cat conftest.err 1>&5
9943
{ echo "$as_me:$LINENO: result: $archive_cmds_need_lc" >&5
9944
echo "${ECHO_T}$archive_cmds_need_lc" >&6; }
9951
{ echo "$as_me:$LINENO: checking dynamic linker characteristics" >&5
9952
echo $ECHO_N "checking dynamic linker characteristics... $ECHO_C" >&6; }
9954
libname_spec='lib$name'
9962
shlibpath_overrides_runpath=unknown
9964
dynamic_linker="$host_os ld.so"
9965
sys_lib_dlsearch_path_spec="/lib /usr/lib"
9967
if test "$GCC" = yes; then
9969
darwin*) lt_awk_arg="/^libraries:/,/LR/" ;;
9970
*) lt_awk_arg="/^libraries:/" ;;
9972
lt_search_path_spec=`$CC -print-search-dirs | awk $lt_awk_arg | $SED -e "s/^libraries://" -e "s,=/,/,g"`
9973
if echo "$lt_search_path_spec" | grep ';' >/dev/null ; then
9974
# if the path contains ";" then we assume it to be the separator
9975
# otherwise default to the standard path separator (i.e. ":") - it is
9976
# assumed that no part of a normal pathname contains ";" but that should
9977
# okay in the real world where ";" in dirpaths is itself problematic.
9978
lt_search_path_spec=`echo "$lt_search_path_spec" | $SED -e 's/;/ /g'`
9980
lt_search_path_spec=`echo "$lt_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
9982
# Ok, now we have the path, separated by spaces, we can step through it
9983
# and add multilib dir if necessary.
9984
lt_tmp_lt_search_path_spec=
9985
lt_multi_os_dir=`$CC $CPPFLAGS $CFLAGS $LDFLAGS -print-multi-os-directory 2>/dev/null`
9986
for lt_sys_path in $lt_search_path_spec; do
9987
if test -d "$lt_sys_path/$lt_multi_os_dir"; then
9988
lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path/$lt_multi_os_dir"
9990
test -d "$lt_sys_path" && \
9991
lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path"
9994
lt_search_path_spec=`echo $lt_tmp_lt_search_path_spec | awk '
9995
BEGIN {RS=" "; FS="/|\n";} {
9998
for (lt_i = NF; lt_i > 0; lt_i--) {
9999
if ($lt_i != "" && $lt_i != ".") {
10000
if ($lt_i == "..") {
10003
if (lt_count == 0) {
10004
lt_foo="/" $lt_i lt_foo;
10011
if (lt_foo != "") { lt_freq[lt_foo]++; }
10012
if (lt_freq[lt_foo] == 1) { print lt_foo; }
10014
sys_lib_search_path_spec=`echo $lt_search_path_spec`
10016
sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"
10018
need_lib_prefix=unknown
10019
hardcode_into_libs=no
10021
# when you set need_version to no, make sure it does not cause -set_version
10022
# flags to be left without arguments
10023
need_version=unknown
10028
library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a'
10029
shlibpath_var=LIBPATH
10031
# AIX 3 has no versioning support, so we append a major version to the name.
10032
soname_spec='${libname}${release}${shared_ext}$major'
10039
hardcode_into_libs=yes
10040
if test "$host_cpu" = ia64; then
10041
# AIX 5 supports IA64
10042
library_names_spec='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
10043
shlibpath_var=LD_LIBRARY_PATH
10045
# With GCC up to 2.95.x, collect2 would create an import file
10046
# for dependence libraries. The import file would start with
10047
# the line `#! .'. This would cause the generated library to
10048
# depend on `.', always an invalid library. This was fixed in
10049
# development snapshots of GCC prior to 3.0.
10051
aix4 | aix4.[01] | aix4.[01].*)
10052
if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
10054
echo '#endif'; } | ${CC} -E - | grep yes > /dev/null; then
10057
can_build_shared=no
10061
# AIX (on Power*) has no versioning support, so currently we can not hardcode correct
10062
# soname into executable. Probably we can add versioning support to
10063
# collect2, so additional links can be useful in future.
10064
if test "$aix_use_runtimelinking" = yes; then
10065
# If using run time linking (on AIX 4.2 or later) use lib<name>.so
10066
# instead of lib<name>.a to let people know that these are not
10067
# typical AIX shared libraries.
10068
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10070
# We preserve .a as extension for shared libraries through AIX4.2
10071
# and later when we are not doing run time linking.
10072
library_names_spec='${libname}${release}.a $libname.a'
10073
soname_spec='${libname}${release}${shared_ext}$major'
10075
shlibpath_var=LIBPATH
10080
library_names_spec='$libname.ixlibrary $libname.a'
10081
# Create ${libname}_ixlibrary.a entries in /sys/libs.
10082
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'
10086
library_names_spec='${libname}${shared_ext}'
10087
dynamic_linker="$host_os ld.so"
10088
shlibpath_var=LIBRARY_PATH
10094
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10095
soname_spec='${libname}${release}${shared_ext}$major'
10096
finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
10097
shlibpath_var=LD_LIBRARY_PATH
10098
sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
10099
sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
10100
# the default ld.so.conf also contains /usr/contrib/lib and
10101
# /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
10102
# libtool to hard-code these into programs
10105
cygwin* | mingw* | pw32*)
10106
version_type=windows
10111
case $GCC,$host_os in
10112
yes,cygwin* | yes,mingw* | yes,pw32*)
10113
library_names_spec='$libname.dll.a'
10114
# DLL is installed to $(libdir)/../bin by postinstall_cmds
10115
postinstall_cmds='base_file=`basename \${file}`~
10116
dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i;echo \$dlname'\''`~
10117
dldir=$destdir/`dirname \$dlpath`~
10118
test -d \$dldir || mkdir -p \$dldir~
10119
$install_prog $dir/$dlname \$dldir/$dlname~
10120
chmod a+x \$dldir/$dlname'
10121
postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
10122
dlpath=$dir/\$dldll~
10124
shlibpath_overrides_runpath=yes
10128
# Cygwin DLLs use 'cyg' prefix rather than 'lib'
10129
soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
10130
sys_lib_search_path_spec="/usr/lib /lib/w32api /lib /usr/local/lib"
10133
# MinGW DLLs use traditional 'lib' prefix
10134
soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
10135
sys_lib_search_path_spec=`$CC -print-search-dirs | grep "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
10136
if echo "$sys_lib_search_path_spec" | grep ';[c-zC-Z]:/' >/dev/null; then
10137
# It is most probably a Windows format PATH printed by
10138
# mingw gcc, but we are running on Cygwin. Gcc prints its search
10139
# path with ; separators, and with drive letters. We can handle the
10140
# drive letters (cygwin fileutils understands them), so leave them,
10141
# especially as we might pass files found there to a mingw objdump,
10142
# which wouldn't understand a cygwinified path. Ahh.
10143
sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
10145
sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
10149
# pw32 DLLs use 'pw' prefix rather than 'lib'
10150
library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
10156
library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
10159
dynamic_linker='Win32 ld.exe'
10160
# FIXME: first we should search . and the directory the executable is in
10164
darwin* | rhapsody*)
10165
dynamic_linker="$host_os dyld"
10166
version_type=darwin
10169
library_names_spec='${libname}${release}${versuffix}$shared_ext ${libname}${release}${major}$shared_ext ${libname}$shared_ext'
10170
soname_spec='${libname}${release}${major}$shared_ext'
10171
shlibpath_overrides_runpath=yes
10172
shlibpath_var=DYLD_LIBRARY_PATH
10173
shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`'
10175
sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/local/lib"
10176
sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
10183
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
10184
soname_spec='${libname}${release}${shared_ext}$major'
10185
shlibpath_var=LD_LIBRARY_PATH
10192
freebsd* | dragonfly*)
10193
# DragonFly does not have aout. When/if they implement a new
10194
# versioning mechanism, adjust this.
10195
if test -x /usr/bin/objformat; then
10196
objformat=`/usr/bin/objformat`
10199
freebsd[123]*) objformat=aout ;;
10200
*) objformat=elf ;;
10203
version_type=freebsd-$objformat
10204
case $version_type in
10206
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
10211
library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
10215
shlibpath_var=LD_LIBRARY_PATH
10218
shlibpath_overrides_runpath=yes
10220
freebsd3.[01]* | freebsdelf3.[01]*)
10221
shlibpath_overrides_runpath=yes
10222
hardcode_into_libs=yes
10224
freebsd3.[2-9]* | freebsdelf3.[2-9]* | \
10225
freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1)
10226
shlibpath_overrides_runpath=no
10227
hardcode_into_libs=yes
10229
*) # from 4.6 on, and DragonFly
10230
shlibpath_overrides_runpath=yes
10231
hardcode_into_libs=yes
10240
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
10241
soname_spec='${libname}${release}${shared_ext}$major'
10242
shlibpath_var=LD_LIBRARY_PATH
10243
hardcode_into_libs=yes
10246
hpux9* | hpux10* | hpux11*)
10247
# Give a soname corresponding to the major version so that dld.sl refuses to
10248
# link against other versions.
10255
hardcode_into_libs=yes
10256
dynamic_linker="$host_os dld.so"
10257
shlibpath_var=LD_LIBRARY_PATH
10258
shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
10259
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10260
soname_spec='${libname}${release}${shared_ext}$major'
10261
if test "X$HPUX_IA64_MODE" = X32; then
10262
sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
10264
sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
10266
sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
10270
hardcode_into_libs=yes
10271
dynamic_linker="$host_os dld.sl"
10272
shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
10273
shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
10274
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10275
soname_spec='${libname}${release}${shared_ext}$major'
10276
sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
10277
sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
10281
dynamic_linker="$host_os dld.sl"
10282
shlibpath_var=SHLIB_PATH
10283
shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
10284
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10285
soname_spec='${libname}${release}${shared_ext}$major'
10288
# HP-UX runs *really* slowly unless shared libraries are mode 555.
10289
postinstall_cmds='chmod 555 $lib'
10296
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
10297
soname_spec='${libname}${release}${shared_ext}$major'
10298
dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)'
10299
shlibpath_var=LD_LIBRARY_PATH
10300
shlibpath_overrides_runpath=no
10301
hardcode_into_libs=yes
10304
irix5* | irix6* | nonstopux*)
10306
nonstopux*) version_type=nonstopux ;;
10308
if test "$lt_cv_prog_gnu_ld" = yes; then
10316
soname_spec='${libname}${release}${shared_ext}$major'
10317
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
10319
irix5* | nonstopux*)
10320
libsuff= shlibsuff=
10323
case $LD in # libtool.m4 will add one of these switches to LD
10324
*-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
10325
libsuff= shlibsuff= libmagic=32-bit;;
10326
*-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
10327
libsuff=32 shlibsuff=N32 libmagic=N32;;
10328
*-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
10329
libsuff=64 shlibsuff=64 libmagic=64-bit;;
10330
*) libsuff= shlibsuff= libmagic=never-match;;
10334
shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
10335
shlibpath_overrides_runpath=no
10336
sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
10337
sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}"
10338
hardcode_into_libs=yes
10341
# No shared lib support for Linux oldld, aout, or coff.
10342
linux*oldld* | linux*aout* | linux*coff*)
10346
# This must be Linux ELF.
10347
linux* | k*bsd*-gnu)
10351
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10352
soname_spec='${libname}${release}${shared_ext}$major'
10353
finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
10354
shlibpath_var=LD_LIBRARY_PATH
10355
shlibpath_overrides_runpath=no
10356
# This implies no fast_install, which is unacceptable.
10357
# Some rework will be needed to allow for fast_install
10358
# before this can be enabled.
10359
hardcode_into_libs=yes
10361
# Append ld.so.conf contents to the search path
10362
if test -f /etc/ld.so.conf; then
10363
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' ' '`
10364
sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra"
10367
# We used to test for /lib/ld.so.1 and disable shared libraries on
10368
# powerpc, because MkLinux only supported shared libraries with the
10369
# GNU dynamic linker. Since this was broken with cross compilers,
10370
# most powerpc-linux boxes support dynamic linking these days and
10371
# people can always --disable-shared, the test was removed, and we
10372
# assume the GNU/Linux dynamic linker is in use.
10373
dynamic_linker='GNU/Linux ld.so'
10380
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
10381
soname_spec='${libname}${release}${shared_ext}$major'
10382
shlibpath_var=LD_LIBRARY_PATH
10383
shlibpath_overrides_runpath=no
10384
hardcode_into_libs=yes
10385
dynamic_linker='NetBSD ld.elf_so'
10392
if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
10393
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
10394
finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
10395
dynamic_linker='NetBSD (a.out) ld.so'
10397
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
10398
soname_spec='${libname}${release}${shared_ext}$major'
10399
dynamic_linker='NetBSD ld.elf_so'
10401
shlibpath_var=LD_LIBRARY_PATH
10402
shlibpath_overrides_runpath=yes
10403
hardcode_into_libs=yes
10408
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10409
shlibpath_var=LD_LIBRARY_PATH
10410
shlibpath_overrides_runpath=yes
10417
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10418
soname_spec='${libname}${release}${shared_ext}$major'
10419
shlibpath_var=LD_LIBRARY_PATH
10420
shlibpath_overrides_runpath=yes
10425
sys_lib_dlsearch_path_spec="/usr/lib"
10427
# Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
10429
openbsd3.3 | openbsd3.3.*) need_version=yes ;;
10430
*) need_version=no ;;
10432
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
10433
finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
10434
shlibpath_var=LD_LIBRARY_PATH
10435
if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
10437
openbsd2.[89] | openbsd2.[89].*)
10438
shlibpath_overrides_runpath=no
10441
shlibpath_overrides_runpath=yes
10445
shlibpath_overrides_runpath=yes
10450
libname_spec='$name'
10453
library_names_spec='$libname${shared_ext} $libname.a'
10454
dynamic_linker='OS/2 ld.exe'
10455
shlibpath_var=LIBPATH
10458
osf3* | osf4* | osf5*)
10462
soname_spec='${libname}${release}${shared_ext}$major'
10463
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10464
shlibpath_var=LD_LIBRARY_PATH
10465
sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
10466
sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec"
10477
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10478
soname_spec='${libname}${release}${shared_ext}$major'
10479
shlibpath_var=LD_LIBRARY_PATH
10480
shlibpath_overrides_runpath=yes
10481
hardcode_into_libs=yes
10482
# ldd complains unless libraries are executable
10483
postinstall_cmds='chmod +x $lib'
10488
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
10489
finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
10490
shlibpath_var=LD_LIBRARY_PATH
10491
shlibpath_overrides_runpath=yes
10492
if test "$with_gnu_ld" = yes; then
10500
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10501
soname_spec='${libname}${release}${shared_ext}$major'
10502
shlibpath_var=LD_LIBRARY_PATH
10503
case $host_vendor in
10505
shlibpath_overrides_runpath=no
10507
export_dynamic_flag_spec='${wl}-Blargedynsym'
10508
runpath_var=LD_RUN_PATH
10516
shlibpath_overrides_runpath=no
10517
sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
10523
if test -d /usr/nec ;then
10525
library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
10526
soname_spec='$libname${shared_ext}.$major'
10527
shlibpath_var=LD_LIBRARY_PATH
10531
sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
10532
version_type=freebsd-elf
10535
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
10536
soname_spec='${libname}${release}${shared_ext}$major'
10537
shlibpath_var=LD_LIBRARY_PATH
10538
hardcode_into_libs=yes
10539
if test "$with_gnu_ld" = yes; then
10540
sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
10541
shlibpath_overrides_runpath=no
10543
sys_lib_search_path_spec='/usr/ccs/lib /usr/lib'
10544
shlibpath_overrides_runpath=yes
10547
sys_lib_search_path_spec="$sys_lib_search_path_spec /lib"
10551
sys_lib_dlsearch_path_spec='/usr/lib'
10556
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10557
soname_spec='${libname}${release}${shared_ext}$major'
10558
shlibpath_var=LD_LIBRARY_PATH
10565
{ echo "$as_me:$LINENO: result: $dynamic_linker" >&5
10566
echo "${ECHO_T}$dynamic_linker" >&6; }
10567
test "$dynamic_linker" = no && can_build_shared=no
10569
variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
10570
if test "$GCC" = yes; then
10571
variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
10574
{ echo "$as_me:$LINENO: checking how to hardcode library paths into programs" >&5
10575
echo $ECHO_N "checking how to hardcode library paths into programs... $ECHO_C" >&6; }
10577
if test -n "$hardcode_libdir_flag_spec" || \
10578
test -n "$runpath_var" || \
10579
test "X$hardcode_automatic" = "Xyes" ; then
10581
# We can hardcode non-existant directories.
10582
if test "$hardcode_direct" != no &&
10583
# If the only mechanism to avoid hardcoding is shlibpath_var, we
10584
# have to relink, otherwise we might link with an installed library
10585
# when we should be linking with a yet-to-be-installed one
10586
## test "$_LT_AC_TAGVAR(hardcode_shlibpath_var, )" != no &&
10587
test "$hardcode_minus_L" != no; then
10588
# Linking always hardcodes the temporary library directory.
10589
hardcode_action=relink
10591
# We can link without hardcoding, and we can hardcode nonexisting dirs.
10592
hardcode_action=immediate
10595
# We cannot hardcode anything, or else we can only hardcode existing
10597
hardcode_action=unsupported
10599
{ echo "$as_me:$LINENO: result: $hardcode_action" >&5
10600
echo "${ECHO_T}$hardcode_action" >&6; }
10602
if test "$hardcode_action" = relink; then
10603
# Fast installation is not supported
10604
enable_fast_install=no
10605
elif test "$shlibpath_overrides_runpath" = yes ||
10606
test "$enable_shared" = no; then
10607
# Fast installation is not necessary
10608
enable_fast_install=needless
10613
{ echo "$as_me:$LINENO: checking whether stripping libraries is possible" >&5
10614
echo $ECHO_N "checking whether stripping libraries is possible... $ECHO_C" >&6; }
10615
if test -n "$STRIP" && $STRIP -V 2>&1 | grep "GNU strip" >/dev/null; then
10616
test -z "$old_striplib" && old_striplib="$STRIP --strip-debug"
10617
test -z "$striplib" && striplib="$STRIP --strip-unneeded"
10618
{ echo "$as_me:$LINENO: result: yes" >&5
10619
echo "${ECHO_T}yes" >&6; }
10621
# FIXME - insert some real tests, host_os isn't really good enough
10624
if test -n "$STRIP" ; then
10625
striplib="$STRIP -x"
10626
old_striplib="$STRIP -S"
10627
{ echo "$as_me:$LINENO: result: yes" >&5
10628
echo "${ECHO_T}yes" >&6; }
10630
{ echo "$as_me:$LINENO: result: no" >&5
10631
echo "${ECHO_T}no" >&6; }
10635
{ echo "$as_me:$LINENO: result: no" >&5
10636
echo "${ECHO_T}no" >&6; }
10641
if test "x$enable_dlopen" != xyes; then
10642
enable_dlopen=unknown
10643
enable_dlopen_self=unknown
10644
enable_dlopen_self_static=unknown
10651
lt_cv_dlopen="load_add_on"
10653
lt_cv_dlopen_self=yes
10657
lt_cv_dlopen="LoadLibrary"
10662
lt_cv_dlopen="dlopen"
10667
# if libdl is installed we need to link against it
10668
{ echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
10669
echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6; }
10670
if test "${ac_cv_lib_dl_dlopen+set}" = set; then
10671
echo $ECHO_N "(cached) $ECHO_C" >&6
10673
ac_check_lib_save_LIBS=$LIBS
10675
cat >conftest.$ac_ext <<_ACEOF
10678
cat confdefs.h >>conftest.$ac_ext
10679
cat >>conftest.$ac_ext <<_ACEOF
10680
/* end confdefs.h. */
10682
/* Override any GCC internal prototype to avoid an error.
10683
Use char because int might match the return type of a GCC
10684
builtin and then its argument prototype would still apply. */
10697
rm -f conftest.$ac_objext conftest$ac_exeext
10698
if { (ac_try="$ac_link"
10699
case "(($ac_try" in
10700
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10701
*) ac_try_echo=$ac_try;;
10703
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10704
(eval "$ac_link") 2>conftest.er1
10706
grep -v '^ *+' conftest.er1 >conftest.err
10708
cat conftest.err >&5
10709
echo "$as_me:$LINENO: \$? = $ac_status" >&5
10710
(exit $ac_status); } && {
10711
test -z "$ac_c_werror_flag" ||
10712
test ! -s conftest.err
10713
} && test -s conftest$ac_exeext &&
10714
$as_test_x conftest$ac_exeext; then
10715
ac_cv_lib_dl_dlopen=yes
10717
echo "$as_me: failed program was:" >&5
10718
sed 's/^/| /' conftest.$ac_ext >&5
10720
ac_cv_lib_dl_dlopen=no
10723
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
10724
conftest$ac_exeext conftest.$ac_ext
10725
LIBS=$ac_check_lib_save_LIBS
10727
{ echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
10728
echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6; }
10729
if test $ac_cv_lib_dl_dlopen = yes; then
10730
lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
10733
lt_cv_dlopen="dyld"
10735
lt_cv_dlopen_self=yes
10742
{ echo "$as_me:$LINENO: checking for shl_load" >&5
10743
echo $ECHO_N "checking for shl_load... $ECHO_C" >&6; }
10744
if test "${ac_cv_func_shl_load+set}" = set; then
10745
echo $ECHO_N "(cached) $ECHO_C" >&6
10747
cat >conftest.$ac_ext <<_ACEOF
10750
cat confdefs.h >>conftest.$ac_ext
10751
cat >>conftest.$ac_ext <<_ACEOF
10752
/* end confdefs.h. */
10753
/* Define shl_load to an innocuous variant, in case <limits.h> declares shl_load.
10754
For example, HP-UX 11i <limits.h> declares gettimeofday. */
10755
#define shl_load innocuous_shl_load
10757
/* System header to define __stub macros and hopefully few prototypes,
10758
which can conflict with char shl_load (); below.
10759
Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
10760
<limits.h> exists even on freestanding compilers. */
10763
# include <limits.h>
10765
# include <assert.h>
10770
/* Override any GCC internal prototype to avoid an error.
10771
Use char because int might match the return type of a GCC
10772
builtin and then its argument prototype would still apply. */
10777
/* The GNU C library defines this for functions which it implements
10778
to always fail with ENOSYS. Some functions are actually named
10779
something starting with __ and the normal name is an alias. */
10780
#if defined __stub_shl_load || defined __stub___shl_load
10787
return shl_load ();
10792
rm -f conftest.$ac_objext conftest$ac_exeext
10793
if { (ac_try="$ac_link"
10794
case "(($ac_try" in
10795
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10796
*) ac_try_echo=$ac_try;;
10798
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10799
(eval "$ac_link") 2>conftest.er1
10801
grep -v '^ *+' conftest.er1 >conftest.err
10803
cat conftest.err >&5
10804
echo "$as_me:$LINENO: \$? = $ac_status" >&5
10805
(exit $ac_status); } && {
10806
test -z "$ac_c_werror_flag" ||
10807
test ! -s conftest.err
10808
} && test -s conftest$ac_exeext &&
10809
$as_test_x conftest$ac_exeext; then
10810
ac_cv_func_shl_load=yes
10812
echo "$as_me: failed program was:" >&5
10813
sed 's/^/| /' conftest.$ac_ext >&5
10815
ac_cv_func_shl_load=no
10818
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
10819
conftest$ac_exeext conftest.$ac_ext
10821
{ echo "$as_me:$LINENO: result: $ac_cv_func_shl_load" >&5
10822
echo "${ECHO_T}$ac_cv_func_shl_load" >&6; }
10823
if test $ac_cv_func_shl_load = yes; then
10824
lt_cv_dlopen="shl_load"
10826
{ echo "$as_me:$LINENO: checking for shl_load in -ldld" >&5
10827
echo $ECHO_N "checking for shl_load in -ldld... $ECHO_C" >&6; }
10828
if test "${ac_cv_lib_dld_shl_load+set}" = set; then
10829
echo $ECHO_N "(cached) $ECHO_C" >&6
10831
ac_check_lib_save_LIBS=$LIBS
10833
cat >conftest.$ac_ext <<_ACEOF
10836
cat confdefs.h >>conftest.$ac_ext
10837
cat >>conftest.$ac_ext <<_ACEOF
10838
/* end confdefs.h. */
10840
/* Override any GCC internal prototype to avoid an error.
10841
Use char because int might match the return type of a GCC
10842
builtin and then its argument prototype would still apply. */
10850
return shl_load ();
10855
rm -f conftest.$ac_objext conftest$ac_exeext
10856
if { (ac_try="$ac_link"
10857
case "(($ac_try" in
10858
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10859
*) ac_try_echo=$ac_try;;
10861
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10862
(eval "$ac_link") 2>conftest.er1
10864
grep -v '^ *+' conftest.er1 >conftest.err
10866
cat conftest.err >&5
10867
echo "$as_me:$LINENO: \$? = $ac_status" >&5
10868
(exit $ac_status); } && {
10869
test -z "$ac_c_werror_flag" ||
10870
test ! -s conftest.err
10871
} && test -s conftest$ac_exeext &&
10872
$as_test_x conftest$ac_exeext; then
10873
ac_cv_lib_dld_shl_load=yes
10875
echo "$as_me: failed program was:" >&5
10876
sed 's/^/| /' conftest.$ac_ext >&5
10878
ac_cv_lib_dld_shl_load=no
10881
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
10882
conftest$ac_exeext conftest.$ac_ext
10883
LIBS=$ac_check_lib_save_LIBS
10885
{ echo "$as_me:$LINENO: result: $ac_cv_lib_dld_shl_load" >&5
10886
echo "${ECHO_T}$ac_cv_lib_dld_shl_load" >&6; }
10887
if test $ac_cv_lib_dld_shl_load = yes; then
10888
lt_cv_dlopen="shl_load" lt_cv_dlopen_libs="-dld"
10890
{ echo "$as_me:$LINENO: checking for dlopen" >&5
10891
echo $ECHO_N "checking for dlopen... $ECHO_C" >&6; }
10892
if test "${ac_cv_func_dlopen+set}" = set; then
10893
echo $ECHO_N "(cached) $ECHO_C" >&6
10895
cat >conftest.$ac_ext <<_ACEOF
10898
cat confdefs.h >>conftest.$ac_ext
10899
cat >>conftest.$ac_ext <<_ACEOF
10900
/* end confdefs.h. */
10901
/* Define dlopen to an innocuous variant, in case <limits.h> declares dlopen.
10902
For example, HP-UX 11i <limits.h> declares gettimeofday. */
10903
#define dlopen innocuous_dlopen
10905
/* System header to define __stub macros and hopefully few prototypes,
10906
which can conflict with char dlopen (); below.
10907
Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
10908
<limits.h> exists even on freestanding compilers. */
10911
# include <limits.h>
10913
# include <assert.h>
10918
/* Override any GCC internal prototype to avoid an error.
10919
Use char because int might match the return type of a GCC
10920
builtin and then its argument prototype would still apply. */
10925
/* The GNU C library defines this for functions which it implements
10926
to always fail with ENOSYS. Some functions are actually named
10927
something starting with __ and the normal name is an alias. */
10928
#if defined __stub_dlopen || defined __stub___dlopen
10940
rm -f conftest.$ac_objext conftest$ac_exeext
10941
if { (ac_try="$ac_link"
10942
case "(($ac_try" in
10943
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10944
*) ac_try_echo=$ac_try;;
10946
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10947
(eval "$ac_link") 2>conftest.er1
10949
grep -v '^ *+' conftest.er1 >conftest.err
10951
cat conftest.err >&5
10952
echo "$as_me:$LINENO: \$? = $ac_status" >&5
10953
(exit $ac_status); } && {
10954
test -z "$ac_c_werror_flag" ||
10955
test ! -s conftest.err
10956
} && test -s conftest$ac_exeext &&
10957
$as_test_x conftest$ac_exeext; then
10958
ac_cv_func_dlopen=yes
10960
echo "$as_me: failed program was:" >&5
10961
sed 's/^/| /' conftest.$ac_ext >&5
10963
ac_cv_func_dlopen=no
10966
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
10967
conftest$ac_exeext conftest.$ac_ext
10969
{ echo "$as_me:$LINENO: result: $ac_cv_func_dlopen" >&5
10970
echo "${ECHO_T}$ac_cv_func_dlopen" >&6; }
10971
if test $ac_cv_func_dlopen = yes; then
10972
lt_cv_dlopen="dlopen"
10974
{ echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
10975
echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6; }
10976
if test "${ac_cv_lib_dl_dlopen+set}" = set; then
10977
echo $ECHO_N "(cached) $ECHO_C" >&6
10979
ac_check_lib_save_LIBS=$LIBS
10981
cat >conftest.$ac_ext <<_ACEOF
10984
cat confdefs.h >>conftest.$ac_ext
10985
cat >>conftest.$ac_ext <<_ACEOF
10986
/* end confdefs.h. */
10988
/* Override any GCC internal prototype to avoid an error.
10989
Use char because int might match the return type of a GCC
10990
builtin and then its argument prototype would still apply. */
11003
rm -f conftest.$ac_objext conftest$ac_exeext
11004
if { (ac_try="$ac_link"
11005
case "(($ac_try" in
11006
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11007
*) ac_try_echo=$ac_try;;
11009
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11010
(eval "$ac_link") 2>conftest.er1
11012
grep -v '^ *+' conftest.er1 >conftest.err
11014
cat conftest.err >&5
11015
echo "$as_me:$LINENO: \$? = $ac_status" >&5
11016
(exit $ac_status); } && {
11017
test -z "$ac_c_werror_flag" ||
11018
test ! -s conftest.err
11019
} && test -s conftest$ac_exeext &&
11020
$as_test_x conftest$ac_exeext; then
11021
ac_cv_lib_dl_dlopen=yes
11023
echo "$as_me: failed program was:" >&5
11024
sed 's/^/| /' conftest.$ac_ext >&5
11026
ac_cv_lib_dl_dlopen=no
11029
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
11030
conftest$ac_exeext conftest.$ac_ext
11031
LIBS=$ac_check_lib_save_LIBS
11033
{ echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
11034
echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6; }
11035
if test $ac_cv_lib_dl_dlopen = yes; then
11036
lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
11038
{ echo "$as_me:$LINENO: checking for dlopen in -lsvld" >&5
11039
echo $ECHO_N "checking for dlopen in -lsvld... $ECHO_C" >&6; }
11040
if test "${ac_cv_lib_svld_dlopen+set}" = set; then
11041
echo $ECHO_N "(cached) $ECHO_C" >&6
11043
ac_check_lib_save_LIBS=$LIBS
11044
LIBS="-lsvld $LIBS"
11045
cat >conftest.$ac_ext <<_ACEOF
11048
cat confdefs.h >>conftest.$ac_ext
11049
cat >>conftest.$ac_ext <<_ACEOF
11050
/* end confdefs.h. */
11052
/* Override any GCC internal prototype to avoid an error.
11053
Use char because int might match the return type of a GCC
11054
builtin and then its argument prototype would still apply. */
11067
rm -f conftest.$ac_objext conftest$ac_exeext
11068
if { (ac_try="$ac_link"
11069
case "(($ac_try" in
11070
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11071
*) ac_try_echo=$ac_try;;
11073
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11074
(eval "$ac_link") 2>conftest.er1
11076
grep -v '^ *+' conftest.er1 >conftest.err
11078
cat conftest.err >&5
11079
echo "$as_me:$LINENO: \$? = $ac_status" >&5
11080
(exit $ac_status); } && {
11081
test -z "$ac_c_werror_flag" ||
11082
test ! -s conftest.err
11083
} && test -s conftest$ac_exeext &&
11084
$as_test_x conftest$ac_exeext; then
11085
ac_cv_lib_svld_dlopen=yes
11087
echo "$as_me: failed program was:" >&5
11088
sed 's/^/| /' conftest.$ac_ext >&5
11090
ac_cv_lib_svld_dlopen=no
11093
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
11094
conftest$ac_exeext conftest.$ac_ext
11095
LIBS=$ac_check_lib_save_LIBS
11097
{ echo "$as_me:$LINENO: result: $ac_cv_lib_svld_dlopen" >&5
11098
echo "${ECHO_T}$ac_cv_lib_svld_dlopen" >&6; }
11099
if test $ac_cv_lib_svld_dlopen = yes; then
11100
lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-lsvld"
11102
{ echo "$as_me:$LINENO: checking for dld_link in -ldld" >&5
11103
echo $ECHO_N "checking for dld_link in -ldld... $ECHO_C" >&6; }
11104
if test "${ac_cv_lib_dld_dld_link+set}" = set; then
11105
echo $ECHO_N "(cached) $ECHO_C" >&6
11107
ac_check_lib_save_LIBS=$LIBS
11109
cat >conftest.$ac_ext <<_ACEOF
11112
cat confdefs.h >>conftest.$ac_ext
11113
cat >>conftest.$ac_ext <<_ACEOF
11114
/* end confdefs.h. */
11116
/* Override any GCC internal prototype to avoid an error.
11117
Use char because int might match the return type of a GCC
11118
builtin and then its argument prototype would still apply. */
11126
return dld_link ();
11131
rm -f conftest.$ac_objext conftest$ac_exeext
11132
if { (ac_try="$ac_link"
11133
case "(($ac_try" in
11134
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11135
*) ac_try_echo=$ac_try;;
11137
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11138
(eval "$ac_link") 2>conftest.er1
11140
grep -v '^ *+' conftest.er1 >conftest.err
11142
cat conftest.err >&5
11143
echo "$as_me:$LINENO: \$? = $ac_status" >&5
11144
(exit $ac_status); } && {
11145
test -z "$ac_c_werror_flag" ||
11146
test ! -s conftest.err
11147
} && test -s conftest$ac_exeext &&
11148
$as_test_x conftest$ac_exeext; then
11149
ac_cv_lib_dld_dld_link=yes
11151
echo "$as_me: failed program was:" >&5
11152
sed 's/^/| /' conftest.$ac_ext >&5
11154
ac_cv_lib_dld_dld_link=no
11157
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
11158
conftest$ac_exeext conftest.$ac_ext
11159
LIBS=$ac_check_lib_save_LIBS
11161
{ echo "$as_me:$LINENO: result: $ac_cv_lib_dld_dld_link" >&5
11162
echo "${ECHO_T}$ac_cv_lib_dld_dld_link" >&6; }
11163
if test $ac_cv_lib_dld_dld_link = yes; then
11164
lt_cv_dlopen="dld_link" lt_cv_dlopen_libs="-dld"
11185
if test "x$lt_cv_dlopen" != xno; then
11191
case $lt_cv_dlopen in
11193
save_CPPFLAGS="$CPPFLAGS"
11194
test "x$ac_cv_header_dlfcn_h" = xyes && CPPFLAGS="$CPPFLAGS -DHAVE_DLFCN_H"
11196
save_LDFLAGS="$LDFLAGS"
11197
wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $export_dynamic_flag_spec\"
11200
LIBS="$lt_cv_dlopen_libs $LIBS"
11202
{ echo "$as_me:$LINENO: checking whether a program can dlopen itself" >&5
11203
echo $ECHO_N "checking whether a program can dlopen itself... $ECHO_C" >&6; }
11204
if test "${lt_cv_dlopen_self+set}" = set; then
11205
echo $ECHO_N "(cached) $ECHO_C" >&6
11207
if test "$cross_compiling" = yes; then :
11208
lt_cv_dlopen_self=cross
11210
lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
11211
lt_status=$lt_dlunknown
11212
cat > conftest.$ac_ext <<EOF
11213
#line __oline__ "configure"
11214
#include "confdefs.h"
11223
# define LT_DLGLOBAL RTLD_GLOBAL
11226
# define LT_DLGLOBAL DL_GLOBAL
11228
# define LT_DLGLOBAL 0
11232
/* We may have to define LT_DLLAZY_OR_NOW in the command line if we
11233
find out it does not work in some platform. */
11234
#ifndef LT_DLLAZY_OR_NOW
11236
# define LT_DLLAZY_OR_NOW RTLD_LAZY
11239
# define LT_DLLAZY_OR_NOW DL_LAZY
11242
# define LT_DLLAZY_OR_NOW RTLD_NOW
11245
# define LT_DLLAZY_OR_NOW DL_NOW
11247
# define LT_DLLAZY_OR_NOW 0
11255
extern "C" void exit (int);
11258
void fnord() { int i=42;}
11261
void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
11262
int status = $lt_dlunknown;
11266
if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
11267
else if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
11268
/* dlclose (self); */
11276
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11277
(eval $ac_link) 2>&5
11279
echo "$as_me:$LINENO: \$? = $ac_status" >&5
11280
(exit $ac_status); } && test -s conftest${ac_exeext} 2>/dev/null; then
11281
(./conftest; exit; ) >&5 2>/dev/null
11283
case x$lt_status in
11284
x$lt_dlno_uscore) lt_cv_dlopen_self=yes ;;
11285
x$lt_dlneed_uscore) lt_cv_dlopen_self=yes ;;
11286
x$lt_dlunknown|x*) lt_cv_dlopen_self=no ;;
11289
# compilation failed
11290
lt_cv_dlopen_self=no
11297
{ echo "$as_me:$LINENO: result: $lt_cv_dlopen_self" >&5
11298
echo "${ECHO_T}$lt_cv_dlopen_self" >&6; }
11300
if test "x$lt_cv_dlopen_self" = xyes; then
11301
wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $lt_prog_compiler_static\"
11302
{ echo "$as_me:$LINENO: checking whether a statically linked program can dlopen itself" >&5
11303
echo $ECHO_N "checking whether a statically linked program can dlopen itself... $ECHO_C" >&6; }
11304
if test "${lt_cv_dlopen_self_static+set}" = set; then
11305
echo $ECHO_N "(cached) $ECHO_C" >&6
11307
if test "$cross_compiling" = yes; then :
11308
lt_cv_dlopen_self_static=cross
11310
lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
11311
lt_status=$lt_dlunknown
11312
cat > conftest.$ac_ext <<EOF
11313
#line __oline__ "configure"
11314
#include "confdefs.h"
11323
# define LT_DLGLOBAL RTLD_GLOBAL
11326
# define LT_DLGLOBAL DL_GLOBAL
11328
# define LT_DLGLOBAL 0
11332
/* We may have to define LT_DLLAZY_OR_NOW in the command line if we
11333
find out it does not work in some platform. */
11334
#ifndef LT_DLLAZY_OR_NOW
11336
# define LT_DLLAZY_OR_NOW RTLD_LAZY
11339
# define LT_DLLAZY_OR_NOW DL_LAZY
11342
# define LT_DLLAZY_OR_NOW RTLD_NOW
11345
# define LT_DLLAZY_OR_NOW DL_NOW
11347
# define LT_DLLAZY_OR_NOW 0
11355
extern "C" void exit (int);
11358
void fnord() { int i=42;}
11361
void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
11362
int status = $lt_dlunknown;
11366
if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
11367
else if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
11368
/* dlclose (self); */
11376
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11377
(eval $ac_link) 2>&5
11379
echo "$as_me:$LINENO: \$? = $ac_status" >&5
11380
(exit $ac_status); } && test -s conftest${ac_exeext} 2>/dev/null; then
11381
(./conftest; exit; ) >&5 2>/dev/null
11383
case x$lt_status in
11384
x$lt_dlno_uscore) lt_cv_dlopen_self_static=yes ;;
11385
x$lt_dlneed_uscore) lt_cv_dlopen_self_static=yes ;;
11386
x$lt_dlunknown|x*) lt_cv_dlopen_self_static=no ;;
11389
# compilation failed
11390
lt_cv_dlopen_self_static=no
11397
{ echo "$as_me:$LINENO: result: $lt_cv_dlopen_self_static" >&5
11398
echo "${ECHO_T}$lt_cv_dlopen_self_static" >&6; }
11401
CPPFLAGS="$save_CPPFLAGS"
11402
LDFLAGS="$save_LDFLAGS"
11407
case $lt_cv_dlopen_self in
11408
yes|no) enable_dlopen_self=$lt_cv_dlopen_self ;;
11409
*) enable_dlopen_self=unknown ;;
11412
case $lt_cv_dlopen_self_static in
11413
yes|no) enable_dlopen_self_static=$lt_cv_dlopen_self_static ;;
11414
*) enable_dlopen_self_static=unknown ;;
11419
# Report which library types will actually be built
11420
{ echo "$as_me:$LINENO: checking if libtool supports shared libraries" >&5
11421
echo $ECHO_N "checking if libtool supports shared libraries... $ECHO_C" >&6; }
11422
{ echo "$as_me:$LINENO: result: $can_build_shared" >&5
11423
echo "${ECHO_T}$can_build_shared" >&6; }
11425
{ echo "$as_me:$LINENO: checking whether to build shared libraries" >&5
11426
echo $ECHO_N "checking whether to build shared libraries... $ECHO_C" >&6; }
11427
test "$can_build_shared" = "no" && enable_shared=no
11429
# On AIX, shared libraries and static libraries use the same namespace, and
11430
# are all built from PIC.
11433
test "$enable_shared" = yes && enable_static=no
11434
if test -n "$RANLIB"; then
11435
archive_cmds="$archive_cmds~\$RANLIB \$lib"
11436
postinstall_cmds='$RANLIB $lib'
11441
if test "$host_cpu" != ia64 && test "$aix_use_runtimelinking" = no ; then
11442
test "$enable_shared" = yes && enable_static=no
11446
{ echo "$as_me:$LINENO: result: $enable_shared" >&5
11447
echo "${ECHO_T}$enable_shared" >&6; }
11449
{ echo "$as_me:$LINENO: checking whether to build static libraries" >&5
11450
echo $ECHO_N "checking whether to build static libraries... $ECHO_C" >&6; }
11451
# Make sure either enable_shared or enable_static is yes.
11452
test "$enable_shared" = yes || enable_static=yes
11453
{ echo "$as_me:$LINENO: result: $enable_static" >&5
11454
echo "${ECHO_T}$enable_static" >&6; }
11456
# The else clause should only fire when bootstrapping the
11457
# libtool distribution, otherwise you forgot to ship ltmain.sh
11458
# with your package, and you will get complaints that there are
11459
# no rules to generate ltmain.sh.
11460
if test -f "$ltmain"; then
11461
# See if we are running on zsh, and set the options which allow our commands through
11462
# without removal of \ escapes.
11463
if test -n "${ZSH_VERSION+set}" ; then
11464
setopt NO_GLOB_SUBST
11466
# Now quote all the things that may contain metacharacters while being
11467
# careful not to overquote the AC_SUBSTed values. We take copies of the
11468
# variables and quote the copies for generation of the libtool script.
11469
for var in echo old_CC old_CFLAGS AR AR_FLAGS EGREP RANLIB LN_S LTCC LTCFLAGS NM \
11471
libname_spec library_names_spec soname_spec extract_expsyms_cmds \
11472
old_striplib striplib file_magic_cmd finish_cmds finish_eval \
11473
deplibs_check_method reload_flag reload_cmds need_locks \
11474
lt_cv_sys_global_symbol_pipe lt_cv_sys_global_symbol_to_cdecl \
11475
lt_cv_sys_global_symbol_to_c_name_address \
11476
sys_lib_search_path_spec sys_lib_dlsearch_path_spec \
11477
old_postinstall_cmds old_postuninstall_cmds \
11481
lt_prog_compiler_wl \
11482
lt_prog_compiler_pic \
11483
lt_prog_compiler_static \
11484
lt_prog_compiler_no_builtin_flag \
11485
export_dynamic_flag_spec \
11486
thread_safe_flag_spec \
11487
whole_archive_flag_spec \
11488
enable_shared_with_static_runtimes \
11490
old_archive_from_new_cmds \
11495
compiler_lib_search_path \
11497
archive_expsym_cmds \
11499
postuninstall_cmds \
11500
old_archive_from_expsyms_cmds \
11501
allow_undefined_flag \
11502
no_undefined_flag \
11503
export_symbols_cmds \
11504
hardcode_libdir_flag_spec \
11505
hardcode_libdir_flag_spec_ld \
11506
hardcode_libdir_separator \
11507
hardcode_automatic \
11509
module_expsym_cmds \
11510
lt_cv_prog_compiler_c_o \
11513
include_expsyms; do
11516
old_archive_cmds | \
11517
old_archive_from_new_cmds | \
11519
archive_expsym_cmds | \
11521
module_expsym_cmds | \
11522
old_archive_from_expsyms_cmds | \
11523
export_symbols_cmds | \
11524
extract_expsyms_cmds | reload_cmds | finish_cmds | \
11525
postinstall_cmds | postuninstall_cmds | \
11526
old_postinstall_cmds | old_postuninstall_cmds | \
11527
sys_lib_search_path_spec | sys_lib_dlsearch_path_spec)
11528
# Double-quote double-evaled strings.
11529
eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$double_quote_subst\" -e \"\$sed_quote_subst\" -e \"\$delay_variable_subst\"\`\\\""
11532
eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$sed_quote_subst\"\`\\\""
11538
*'\$0 --fallback-echo"')
11539
lt_echo=`$echo "X$lt_echo" | $Xsed -e 's/\\\\\\\$0 --fallback-echo"$/$0 --fallback-echo"/'`
11543
cfgfile="${ofile}T"
11544
trap "$rm \"$cfgfile\"; exit 1" 1 2 15
11546
{ echo "$as_me:$LINENO: creating $ofile" >&5
11547
echo "$as_me: creating $ofile" >&6;}
11549
cat <<__EOF__ >> "$cfgfile"
11552
# `$echo "$cfgfile" | sed 's%^.*/%%'` - Provide generalized library-building support services.
11553
# Generated automatically by $PROGRAM (GNU $PACKAGE $VERSION$TIMESTAMP)
11554
# NOTE: Changes made to this file will be lost: look at ltmain.sh.
11556
# Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004, 2005, 2006, 2007
11557
# Free Software Foundation, Inc.
11559
# This file is part of GNU Libtool:
11560
# Originally by Gordon Matzigkeit <gord@gnu.ai.mit.edu>, 1996
11562
# This program is free software; you can redistribute it and/or modify
11563
# it under the terms of the GNU General Public License as published by
11564
# the Free Software Foundation; either version 2 of the License, or
11565
# (at your option) any later version.
11567
# This program is distributed in the hope that it will be useful, but
11568
# WITHOUT ANY WARRANTY; without even the implied warranty of
11569
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
11570
# General Public License for more details.
11572
# You should have received a copy of the GNU General Public License
11573
# along with this program; if not, write to the Free Software
11574
# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
11576
# As a special exception to the GNU General Public License, if you
11577
# distribute this file as part of a program that contains a
11578
# configuration script generated by Autoconf, you may include it under
11579
# the same distribution terms that you use for the rest of that program.
11581
# A sed program that does not truncate output.
11584
# Sed that helps us avoid accidentally triggering echo(1) options like -n.
11585
Xsed="$SED -e 1s/^X//"
11587
# The HP-UX ksh and POSIX shell print the target directory to stdout
11588
# if CDPATH is set.
11589
(unset CDPATH) >/dev/null 2>&1 && unset CDPATH
11591
# The names of the tagged configurations supported by this script.
11594
# ### BEGIN LIBTOOL CONFIG
11596
# Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
11598
# Shell to use when invoking shell scripts.
11601
# Whether or not to build shared libraries.
11602
build_libtool_libs=$enable_shared
11604
# Whether or not to build static libraries.
11605
build_old_libs=$enable_static
11607
# Whether or not to add -lc for building shared libraries.
11608
build_libtool_need_lc=$archive_cmds_need_lc
11610
# Whether or not to disallow shared libs when runtime libs are static
11611
allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes
11613
# Whether or not to optimize for fast installation.
11614
fast_install=$enable_fast_install
11617
host_alias=$host_alias
11621
# The build system.
11622
build_alias=$build_alias
11626
# An echo program that does not interpret backslashes.
11631
AR_FLAGS=$lt_AR_FLAGS
11636
# LTCC compiler flags.
11637
LTCFLAGS=$lt_LTCFLAGS
11639
# A language-specific compiler.
11642
# Is the compiler the GNU C compiler?
11648
# The linker used to build libraries.
11651
# Whether we need hard or soft links.
11654
# A BSD-compatible nm program.
11657
# A symbol stripping program
11660
# Used to examine libraries when file_magic_cmd begins "file"
11661
MAGIC_CMD=$MAGIC_CMD
11663
# Used on cygwin: DLL creation program.
11666
# Used on cygwin: object dumper.
11669
# Used on cygwin: assembler.
11672
# The name of the directory that contains temporary libtool files.
11675
# How to create reloadable object files.
11676
reload_flag=$lt_reload_flag
11677
reload_cmds=$lt_reload_cmds
11679
# How to pass a linker flag through the compiler.
11680
wl=$lt_lt_prog_compiler_wl
11682
# Object file suffix (normally "o").
11683
objext="$ac_objext"
11685
# Old archive suffix (normally "a").
11688
# Shared library suffix (normally ".so").
11689
shrext_cmds='$shrext_cmds'
11691
# Executable file suffix (normally "").
11694
# Additional compiler flags for building library objects.
11695
pic_flag=$lt_lt_prog_compiler_pic
11698
# What is the maximum length of a command?
11699
max_cmd_len=$lt_cv_sys_max_cmd_len
11701
# Does compiler simultaneously support -c and -o options?
11702
compiler_c_o=$lt_lt_cv_prog_compiler_c_o
11704
# Must we lock files when doing compilation?
11705
need_locks=$lt_need_locks
11707
# Do we need the lib prefix for modules?
11708
need_lib_prefix=$need_lib_prefix
11710
# Do we need a version for libraries?
11711
need_version=$need_version
11713
# Whether dlopen is supported.
11714
dlopen_support=$enable_dlopen
11716
# Whether dlopen of programs is supported.
11717
dlopen_self=$enable_dlopen_self
11719
# Whether dlopen of statically linked programs is supported.
11720
dlopen_self_static=$enable_dlopen_self_static
11722
# Compiler flag to prevent dynamic linking.
11723
link_static_flag=$lt_lt_prog_compiler_static
11725
# Compiler flag to turn off builtin functions.
11726
no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag
11728
# Compiler flag to allow reflexive dlopens.
11729
export_dynamic_flag_spec=$lt_export_dynamic_flag_spec
11731
# Compiler flag to generate shared objects directly from archives.
11732
whole_archive_flag_spec=$lt_whole_archive_flag_spec
11734
# Compiler flag to generate thread-safe objects.
11735
thread_safe_flag_spec=$lt_thread_safe_flag_spec
11737
# Library versioning type.
11738
version_type=$version_type
11740
# Format of library name prefix.
11741
libname_spec=$lt_libname_spec
11743
# List of archive names. First name is the real one, the rest are links.
11744
# The last name is the one that the linker finds with -lNAME.
11745
library_names_spec=$lt_library_names_spec
11747
# The coded name of the library, if different from the real name.
11748
soname_spec=$lt_soname_spec
11750
# Commands used to build and install an old-style archive.
11752
old_archive_cmds=$lt_old_archive_cmds
11753
old_postinstall_cmds=$lt_old_postinstall_cmds
11754
old_postuninstall_cmds=$lt_old_postuninstall_cmds
11756
# Create an old-style archive from a shared archive.
11757
old_archive_from_new_cmds=$lt_old_archive_from_new_cmds
11759
# Create a temporary old-style archive to link instead of a shared archive.
11760
old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds
11762
# Commands used to build and install a shared archive.
11763
archive_cmds=$lt_archive_cmds
11764
archive_expsym_cmds=$lt_archive_expsym_cmds
11765
postinstall_cmds=$lt_postinstall_cmds
11766
postuninstall_cmds=$lt_postuninstall_cmds
11768
# Commands used to build a loadable module (assumed same as above if empty)
11769
module_cmds=$lt_module_cmds
11770
module_expsym_cmds=$lt_module_expsym_cmds
11772
# Commands to strip libraries.
11773
old_striplib=$lt_old_striplib
11774
striplib=$lt_striplib
11776
# Dependencies to place before the objects being linked to create a
11778
predep_objects=$lt_predep_objects
11780
# Dependencies to place after the objects being linked to create a
11782
postdep_objects=$lt_postdep_objects
11784
# Dependencies to place before the objects being linked to create a
11786
predeps=$lt_predeps
11788
# Dependencies to place after the objects being linked to create a
11790
postdeps=$lt_postdeps
11792
# The library search path used internally by the compiler when linking
11793
# a shared library.
11794
compiler_lib_search_path=$lt_compiler_lib_search_path
11796
# Method to check whether dependent libraries are shared objects.
11797
deplibs_check_method=$lt_deplibs_check_method
11799
# Command to use when deplibs_check_method == file_magic.
11800
file_magic_cmd=$lt_file_magic_cmd
11802
# Flag that allows shared libraries with undefined symbols to be built.
11803
allow_undefined_flag=$lt_allow_undefined_flag
11805
# Flag that forces no undefined symbols.
11806
no_undefined_flag=$lt_no_undefined_flag
11808
# Commands used to finish a libtool library installation in a directory.
11809
finish_cmds=$lt_finish_cmds
11811
# Same as above, but a single script fragment to be evaled but not shown.
11812
finish_eval=$lt_finish_eval
11814
# Take the output of nm and produce a listing of raw symbols and C names.
11815
global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
11817
# Transform the output of nm in a proper C declaration
11818
global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
11820
# Transform the output of nm in a C name address pair
11821
global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
11823
# This is the shared library runtime path variable.
11824
runpath_var=$runpath_var
11826
# This is the shared library path variable.
11827
shlibpath_var=$shlibpath_var
11829
# Is shlibpath searched before the hard-coded library search path?
11830
shlibpath_overrides_runpath=$shlibpath_overrides_runpath
11832
# How to hardcode a shared library path into an executable.
11833
hardcode_action=$hardcode_action
11835
# Whether we should hardcode library paths into libraries.
11836
hardcode_into_libs=$hardcode_into_libs
11838
# Flag to hardcode \$libdir into a binary during linking.
11839
# This must work even if \$libdir does not exist.
11840
hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec
11842
# If ld is used when linking, flag to hardcode \$libdir into
11843
# a binary during linking. This must work even if \$libdir does
11845
hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld
11847
# Whether we need a single -rpath flag with a separated argument.
11848
hardcode_libdir_separator=$lt_hardcode_libdir_separator
11850
# Set to yes if using DIR/libNAME${shared_ext} during linking hardcodes DIR into the
11851
# resulting binary.
11852
hardcode_direct=$hardcode_direct
11854
# Set to yes if using the -LDIR flag during linking hardcodes DIR into the
11855
# resulting binary.
11856
hardcode_minus_L=$hardcode_minus_L
11858
# Set to yes if using SHLIBPATH_VAR=DIR during linking hardcodes DIR into
11859
# the resulting binary.
11860
hardcode_shlibpath_var=$hardcode_shlibpath_var
11862
# Set to yes if building a shared library automatically hardcodes DIR into the library
11863
# and all subsequent libraries and executables linked against it.
11864
hardcode_automatic=$hardcode_automatic
11866
# Variables whose values should be saved in libtool wrapper scripts and
11867
# restored at relink time.
11868
variables_saved_for_relink="$variables_saved_for_relink"
11870
# Whether libtool must link a program against all its dependency libraries.
11871
link_all_deplibs=$link_all_deplibs
11873
# Compile-time system search path for libraries
11874
sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
11876
# Run-time system search path for libraries
11877
sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
11879
# Fix the shell variable \$srcfile for the compiler.
11880
fix_srcfile_path=$lt_fix_srcfile_path
11882
# Set to yes if exported symbols are required.
11883
always_export_symbols=$always_export_symbols
11885
# The commands to list exported symbols.
11886
export_symbols_cmds=$lt_export_symbols_cmds
11888
# The commands to extract the exported symbol list from a shared archive.
11889
extract_expsyms_cmds=$lt_extract_expsyms_cmds
11891
# Symbols that should not be listed in the preloaded symbols.
11892
exclude_expsyms=$lt_exclude_expsyms
11894
# Symbols that must always be exported.
11895
include_expsyms=$lt_include_expsyms
11897
# ### END LIBTOOL CONFIG
11904
cat <<\EOF >> "$cfgfile"
11906
# AIX sometimes has problems with the GCC collect2 program. For some
11907
# reason, if we set the COLLECT_NAMES environment variable, the problems
11908
# vanish in a puff of smoke.
11909
if test "X${COLLECT_NAMES+set}" != Xset; then
11911
export COLLECT_NAMES
11917
# We use sed instead of cat because bash on DJGPP gets confused if
11918
# if finds mixed CR/LF and LF-only lines. Since sed operates in
11919
# text mode, it properly converts lines to CR/LF. This bash problem
11920
# is reportedly fixed, but why not run on old versions too?
11921
sed '$q' "$ltmain" >> "$cfgfile" || (rm -f "$cfgfile"; exit 1)
11923
mv -f "$cfgfile" "$ofile" || \
11924
(rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile")
11928
# If there is no Makefile yet, we rely on a make rule to execute
11929
# `config.status --recheck' to rerun these tests and create the
11930
# libtool script then.
11931
ltmain_in=`echo $ltmain | sed -e 's/\.sh$/.in/'`
11932
if test -f "$ltmain_in"; then
11933
test -f Makefile && make "$ltmain"
11939
ac_cpp='$CPP $CPPFLAGS'
11940
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11941
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11942
ac_compiler_gnu=$ac_cv_c_compiler_gnu
11947
# Check whether --with-tags was given.
11948
if test "${with_tags+set}" = set; then
11949
withval=$with_tags; tagnames="$withval"
11953
if test -f "$ltmain" && test -n "$tagnames"; then
11954
if test ! -f "${ofile}"; then
11955
{ echo "$as_me:$LINENO: WARNING: output file \`$ofile' does not exist" >&5
11956
echo "$as_me: WARNING: output file \`$ofile' does not exist" >&2;}
11959
if test -z "$LTCC"; then
11960
eval "`$SHELL ${ofile} --config | grep '^LTCC='`"
11961
if test -z "$LTCC"; then
11962
{ echo "$as_me:$LINENO: WARNING: output file \`$ofile' does not look like a libtool script" >&5
11963
echo "$as_me: WARNING: output file \`$ofile' does not look like a libtool script" >&2;}
11965
{ echo "$as_me:$LINENO: WARNING: using \`LTCC=$LTCC', extracted from \`$ofile'" >&5
11966
echo "$as_me: WARNING: using \`LTCC=$LTCC', extracted from \`$ofile'" >&2;}
11969
if test -z "$LTCFLAGS"; then
11970
eval "`$SHELL ${ofile} --config | grep '^LTCFLAGS='`"
11973
# Extract list of available tagged configurations in $ofile.
11974
# Note that this assumes the entire list is on one line.
11975
available_tags=`grep "^available_tags=" "${ofile}" | $SED -e 's/available_tags=\(.*$\)/\1/' -e 's/\"//g'`
11977
lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
11978
for tagname in $tagnames; do
11980
# Check whether tagname contains only valid characters
11981
case `$echo "X$tagname" | $Xsed -e 's:[-_ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz1234567890,/]::g'` in
11983
*) { { echo "$as_me:$LINENO: error: invalid tag name: $tagname" >&5
11984
echo "$as_me: error: invalid tag name: $tagname" >&2;}
11985
{ (exit 1); exit 1; }; }
11989
if grep "^# ### BEGIN LIBTOOL TAG CONFIG: $tagname$" < "${ofile}" > /dev/null
11991
{ { echo "$as_me:$LINENO: error: tag name \"$tagname\" already exists" >&5
11992
echo "$as_me: error: tag name \"$tagname\" already exists" >&2;}
11993
{ (exit 1); exit 1; }; }
11996
# Update the list of available tags.
11997
if test -n "$tagname"; then
11998
echo appending configuration tag \"$tagname\" to $ofile
12002
if test -n "$CXX" && ( test "X$CXX" != "Xno" &&
12003
( (test "X$CXX" = "Xg++" && `g++ -v >/dev/null 2>&1` ) ||
12004
(test "X$CXX" != "Xg++"))) ; then
12006
ac_cpp='$CXXCPP $CPPFLAGS'
12007
ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12008
ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12009
ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
12014
archive_cmds_need_lc_CXX=no
12015
allow_undefined_flag_CXX=
12016
always_export_symbols_CXX=no
12017
archive_expsym_cmds_CXX=
12018
export_dynamic_flag_spec_CXX=
12019
hardcode_direct_CXX=no
12020
hardcode_libdir_flag_spec_CXX=
12021
hardcode_libdir_flag_spec_ld_CXX=
12022
hardcode_libdir_separator_CXX=
12023
hardcode_minus_L_CXX=no
12024
hardcode_shlibpath_var_CXX=unsupported
12025
hardcode_automatic_CXX=no
12027
module_expsym_cmds_CXX=
12028
link_all_deplibs_CXX=unknown
12029
old_archive_cmds_CXX=$old_archive_cmds
12030
no_undefined_flag_CXX=
12031
whole_archive_flag_spec_CXX=
12032
enable_shared_with_static_runtimes_CXX=no
12034
# Dependencies to place before and after the object being linked:
12035
predep_objects_CXX=
12036
postdep_objects_CXX=
12039
compiler_lib_search_path_CXX=
12041
# Source file extension for C++ test sources.
12044
# Object file extension for compiled C++ test sources.
12048
# Code to be used in simple compile tests
12049
lt_simple_compile_test_code="int some_variable = 0;"
12051
# Code to be used in simple link tests
12052
lt_simple_link_test_code='int main(int, char *[]) { return(0); }'
12054
# ltmain only uses $CC for tagged configurations so make sure $CC is set.
12056
# If no C compiler was specified, use CC.
12059
# If no C compiler flags were specified, use CFLAGS.
12060
LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
12062
# Allow CC to be a program name with arguments.
12066
# save warnings/boilerplate of simple test code
12067
ac_outfile=conftest.$ac_objext
12068
echo "$lt_simple_compile_test_code" >conftest.$ac_ext
12069
eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
12070
_lt_compiler_boilerplate=`cat conftest.err`
12073
ac_outfile=conftest.$ac_objext
12074
echo "$lt_simple_link_test_code" >conftest.$ac_ext
12075
eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
12076
_lt_linker_boilerplate=`cat conftest.err`
12080
# Allow CC to be a program name with arguments.
12085
lt_save_with_gnu_ld=$with_gnu_ld
12086
lt_save_path_LD=$lt_cv_path_LD
12087
if test -n "${lt_cv_prog_gnu_ldcxx+set}"; then
12088
lt_cv_prog_gnu_ld=$lt_cv_prog_gnu_ldcxx
12090
$as_unset lt_cv_prog_gnu_ld
12092
if test -n "${lt_cv_path_LDCXX+set}"; then
12093
lt_cv_path_LD=$lt_cv_path_LDCXX
12095
$as_unset lt_cv_path_LD
12097
test -z "${LDCXX+set}" || LD=$LDCXX
12101
for cc_temp in $compiler""; do
12103
compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
12104
distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
12109
cc_basename=`$echo "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
12112
# We don't want -fno-exception wen compiling C++ code, so set the
12113
# no_builtin_flag separately
12114
if test "$GXX" = yes; then
12115
lt_prog_compiler_no_builtin_flag_CXX=' -fno-builtin'
12117
lt_prog_compiler_no_builtin_flag_CXX=
12120
if test "$GXX" = yes; then
12121
# Set up default GNU C++ configuration
12124
# Check whether --with-gnu-ld was given.
12125
if test "${with_gnu_ld+set}" = set; then
12126
withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes
12132
if test "$GCC" = yes; then
12133
# Check if gcc -print-prog-name=ld gives a path.
12134
{ echo "$as_me:$LINENO: checking for ld used by $CC" >&5
12135
echo $ECHO_N "checking for ld used by $CC... $ECHO_C" >&6; }
12138
# gcc leaves a trailing carriage return which upsets mingw
12139
ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
12141
ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
12144
# Accept absolute paths.
12146
re_direlt='/[^/][^/]*/\.\./'
12147
# Canonicalize the pathname of ld
12148
ac_prog=`echo $ac_prog| $SED 's%\\\\%/%g'`
12149
while echo $ac_prog | grep "$re_direlt" > /dev/null 2>&1; do
12150
ac_prog=`echo $ac_prog| $SED "s%$re_direlt%/%"`
12152
test -z "$LD" && LD="$ac_prog"
12155
# If it fails, then pretend we aren't using GCC.
12159
# If it is relative, then search for the first ld in PATH.
12160
with_gnu_ld=unknown
12163
elif test "$with_gnu_ld" = yes; then
12164
{ echo "$as_me:$LINENO: checking for GNU ld" >&5
12165
echo $ECHO_N "checking for GNU ld... $ECHO_C" >&6; }
12167
{ echo "$as_me:$LINENO: checking for non-GNU ld" >&5
12168
echo $ECHO_N "checking for non-GNU ld... $ECHO_C" >&6; }
12170
if test "${lt_cv_path_LD+set}" = set; then
12171
echo $ECHO_N "(cached) $ECHO_C" >&6
12173
if test -z "$LD"; then
12174
lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
12175
for ac_dir in $PATH; do
12177
test -z "$ac_dir" && ac_dir=.
12178
if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
12179
lt_cv_path_LD="$ac_dir/$ac_prog"
12180
# Check to see if the program is GNU ld. I'd rather use --version,
12181
# but apparently some variants of GNU ld only accept -v.
12182
# Break only if it was the GNU/non-GNU ld that we prefer.
12183
case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
12184
*GNU* | *'with BFD'*)
12185
test "$with_gnu_ld" != no && break
12188
test "$with_gnu_ld" != yes && break
12195
lt_cv_path_LD="$LD" # Let the user override the test with a path.
12199
LD="$lt_cv_path_LD"
12200
if test -n "$LD"; then
12201
{ echo "$as_me:$LINENO: result: $LD" >&5
12202
echo "${ECHO_T}$LD" >&6; }
12204
{ echo "$as_me:$LINENO: result: no" >&5
12205
echo "${ECHO_T}no" >&6; }
12207
test -z "$LD" && { { echo "$as_me:$LINENO: error: no acceptable ld found in \$PATH" >&5
12208
echo "$as_me: error: no acceptable ld found in \$PATH" >&2;}
12209
{ (exit 1); exit 1; }; }
12210
{ echo "$as_me:$LINENO: checking if the linker ($LD) is GNU ld" >&5
12211
echo $ECHO_N "checking if the linker ($LD) is GNU ld... $ECHO_C" >&6; }
12212
if test "${lt_cv_prog_gnu_ld+set}" = set; then
12213
echo $ECHO_N "(cached) $ECHO_C" >&6
12215
# I'd rather use --version here, but apparently some GNU lds only accept -v.
12216
case `$LD -v 2>&1 </dev/null` in
12217
*GNU* | *'with BFD'*)
12218
lt_cv_prog_gnu_ld=yes
12221
lt_cv_prog_gnu_ld=no
12225
{ echo "$as_me:$LINENO: result: $lt_cv_prog_gnu_ld" >&5
12226
echo "${ECHO_T}$lt_cv_prog_gnu_ld" >&6; }
12227
with_gnu_ld=$lt_cv_prog_gnu_ld
12231
# Check if GNU C++ uses GNU ld as the underlying linker, since the
12232
# archiving commands below assume that GNU ld is being used.
12233
if test "$with_gnu_ld" = yes; then
12234
archive_cmds_CXX='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
12235
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'
12237
hardcode_libdir_flag_spec_CXX='${wl}--rpath ${wl}$libdir'
12238
export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
12240
# If archive_cmds runs LD, not CC, wlarc should be empty
12241
# XXX I think wlarc can be eliminated in ltcf-cxx, but I need to
12242
# investigate it a little bit more. (MM)
12245
# ancient GNU ld didn't support --whole-archive et. al.
12246
if eval "`$CC -print-prog-name=ld` --help 2>&1" | \
12247
grep 'no-whole-archive' > /dev/null; then
12248
whole_archive_flag_spec_CXX="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
12250
whole_archive_flag_spec_CXX=
12256
# A generic and very simple default shared library creation
12257
# command for GNU C++ for the case where it uses the native
12258
# linker, instead of GNU ld. If possible, this setting should
12259
# overridden to take advantage of the native linker features on
12260
# the platform it is being used on.
12261
archive_cmds_CXX='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $lib'
12264
# Commands to make compiler produce verbose output that lists
12265
# what "hidden" libraries, object files and flags are used when
12266
# linking a shared library.
12267
output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | grep "\-L"'
12275
# PORTME: fill in a description of your system's C++ link characteristics
12276
{ echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5
12277
echo $ECHO_N "checking whether the $compiler linker ($LD) supports shared libraries... $ECHO_C" >&6; }
12281
# FIXME: insert proper C++ library support
12285
if test "$host_cpu" = ia64; then
12286
# On IA64, the linker does run time linking by default, so we don't
12287
# have to do anything special.
12288
aix_use_runtimelinking=no
12289
exp_sym_flag='-Bexport'
12292
aix_use_runtimelinking=no
12294
# Test if we are trying to use run time linking or normal
12295
# AIX style linking. If -brtl is somewhere in LDFLAGS, we
12296
# need to do runtime linking.
12297
case $host_os in aix4.[23]|aix4.[23].*|aix5*)
12298
for ld_flag in $LDFLAGS; do
12301
aix_use_runtimelinking=yes
12309
exp_sym_flag='-bexport'
12310
no_entry_flag='-bnoentry'
12313
# When large executables or shared objects are built, AIX ld can
12314
# have problems creating the table of contents. If linking a library
12315
# or program results in "error TOC overflow" add -mminimal-toc to
12316
# CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
12317
# enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
12319
archive_cmds_CXX=''
12320
hardcode_direct_CXX=yes
12321
hardcode_libdir_separator_CXX=':'
12322
link_all_deplibs_CXX=yes
12324
if test "$GXX" = yes; then
12325
case $host_os in aix4.[012]|aix4.[012].*)
12326
# We only want to do this on AIX 4.2 and lower, the check
12327
# below for broken collect2 doesn't work under 4.3+
12328
collect2name=`${CC} -print-prog-name=collect2`
12329
if test -f "$collect2name" && \
12330
strings "$collect2name" | grep resolve_lib_name >/dev/null
12332
# We have reworked collect2
12335
# We have old collect2
12336
hardcode_direct_CXX=unsupported
12337
# It fails to find uninstalled libraries when the uninstalled
12338
# path is not listed in the libpath. Setting hardcode_minus_L
12339
# to unsupported forces relinking
12340
hardcode_minus_L_CXX=yes
12341
hardcode_libdir_flag_spec_CXX='-L$libdir'
12342
hardcode_libdir_separator_CXX=
12346
shared_flag='-shared'
12347
if test "$aix_use_runtimelinking" = yes; then
12348
shared_flag="$shared_flag "'${wl}-G'
12352
if test "$host_cpu" = ia64; then
12353
# VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
12354
# chokes on -Wl,-G. The following line is correct:
12357
if test "$aix_use_runtimelinking" = yes; then
12358
shared_flag='${wl}-G'
12360
shared_flag='${wl}-bM:SRE'
12365
# It seems that -bexpall does not export symbols beginning with
12366
# underscore (_), so it is better to generate a list of symbols to export.
12367
always_export_symbols_CXX=yes
12368
if test "$aix_use_runtimelinking" = yes; then
12369
# Warning - without using the other runtime loading flags (-brtl),
12370
# -berok will link without error, but may produce a broken library.
12371
allow_undefined_flag_CXX='-berok'
12372
# Determine the default libpath from the value encoded in an empty executable.
12373
cat >conftest.$ac_ext <<_ACEOF
12376
cat confdefs.h >>conftest.$ac_ext
12377
cat >>conftest.$ac_ext <<_ACEOF
12378
/* end confdefs.h. */
12388
rm -f conftest.$ac_objext conftest$ac_exeext
12389
if { (ac_try="$ac_link"
12390
case "(($ac_try" in
12391
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12392
*) ac_try_echo=$ac_try;;
12394
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12395
(eval "$ac_link") 2>conftest.er1
12397
grep -v '^ *+' conftest.er1 >conftest.err
12399
cat conftest.err >&5
12400
echo "$as_me:$LINENO: \$? = $ac_status" >&5
12401
(exit $ac_status); } && {
12402
test -z "$ac_cxx_werror_flag" ||
12403
test ! -s conftest.err
12404
} && test -s conftest$ac_exeext &&
12405
$as_test_x conftest$ac_exeext; then
12407
lt_aix_libpath_sed='
12408
/Import File Strings/,/^$/ {
12414
aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
12415
# Check for a 64-bit object if we didn't find anything.
12416
if test -z "$aix_libpath"; then
12417
aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
12420
echo "$as_me: failed program was:" >&5
12421
sed 's/^/| /' conftest.$ac_ext >&5
12426
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
12427
conftest$ac_exeext conftest.$ac_ext
12428
if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
12430
hardcode_libdir_flag_spec_CXX='${wl}-blibpath:$libdir:'"$aix_libpath"
12432
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 "${wl}${allow_undefined_flag}"; else :; fi` '"\${wl}$exp_sym_flag:\$export_symbols $shared_flag"
12434
if test "$host_cpu" = ia64; then
12435
hardcode_libdir_flag_spec_CXX='${wl}-R $libdir:/usr/lib:/lib'
12436
allow_undefined_flag_CXX="-z nodefs"
12437
archive_expsym_cmds_CXX="\$CC $shared_flag"' -o $output_objdir/$soname $libobjs $deplibs '"\${wl}$no_entry_flag"' $compiler_flags ${wl}${allow_undefined_flag} '"\${wl}$exp_sym_flag:\$export_symbols"
12439
# Determine the default libpath from the value encoded in an empty executable.
12440
cat >conftest.$ac_ext <<_ACEOF
12443
cat confdefs.h >>conftest.$ac_ext
12444
cat >>conftest.$ac_ext <<_ACEOF
12445
/* end confdefs.h. */
12455
rm -f conftest.$ac_objext conftest$ac_exeext
12456
if { (ac_try="$ac_link"
12457
case "(($ac_try" in
12458
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12459
*) ac_try_echo=$ac_try;;
12461
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12462
(eval "$ac_link") 2>conftest.er1
12464
grep -v '^ *+' conftest.er1 >conftest.err
12466
cat conftest.err >&5
12467
echo "$as_me:$LINENO: \$? = $ac_status" >&5
12468
(exit $ac_status); } && {
12469
test -z "$ac_cxx_werror_flag" ||
12470
test ! -s conftest.err
12471
} && test -s conftest$ac_exeext &&
12472
$as_test_x conftest$ac_exeext; then
12474
lt_aix_libpath_sed='
12475
/Import File Strings/,/^$/ {
12481
aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
12482
# Check for a 64-bit object if we didn't find anything.
12483
if test -z "$aix_libpath"; then
12484
aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
12487
echo "$as_me: failed program was:" >&5
12488
sed 's/^/| /' conftest.$ac_ext >&5
12493
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
12494
conftest$ac_exeext conftest.$ac_ext
12495
if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
12497
hardcode_libdir_flag_spec_CXX='${wl}-blibpath:$libdir:'"$aix_libpath"
12498
# Warning - without using the other run time loading flags,
12499
# -berok will link without error, but may produce a broken library.
12500
no_undefined_flag_CXX=' ${wl}-bernotok'
12501
allow_undefined_flag_CXX=' ${wl}-berok'
12502
# Exported symbols can be pulled into shared objects from archives
12503
whole_archive_flag_spec_CXX='$convenience'
12504
archive_cmds_need_lc_CXX=yes
12505
# This is similar to how AIX traditionally builds its shared libraries.
12506
archive_expsym_cmds_CXX="\$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'
12512
if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
12513
allow_undefined_flag_CXX=unsupported
12514
# Joseph Beckenbach <jrb3@best.com> says some releases of gcc
12515
# support --undefined. This deserves some investigation. FIXME
12516
archive_cmds_CXX='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
12523
case $cc_basename in
12525
# FIXME: insert proper C++ library support
12531
cygwin* | mingw* | pw32*)
12532
# _LT_AC_TAGVAR(hardcode_libdir_flag_spec, CXX) is actually meaningless,
12533
# as there is no search path for DLLs.
12534
hardcode_libdir_flag_spec_CXX='-L$libdir'
12535
allow_undefined_flag_CXX=unsupported
12536
always_export_symbols_CXX=no
12537
enable_shared_with_static_runtimes_CXX=yes
12539
if $LD --help 2>&1 | grep 'auto-import' > /dev/null; then
12540
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'
12541
# If the export-symbols file already is a .def file (1st line
12542
# is EXPORTS), use it as is; otherwise, prepend...
12543
archive_expsym_cmds_CXX='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
12544
cp $export_symbols $output_objdir/$soname.def;
12546
echo EXPORTS > $output_objdir/$soname.def;
12547
cat $export_symbols >> $output_objdir/$soname.def;
12549
$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'
12554
darwin* | rhapsody*)
12556
rhapsody* | darwin1.[012])
12557
allow_undefined_flag_CXX='${wl}-undefined ${wl}suppress'
12560
if test -z ${MACOSX_DEPLOYMENT_TARGET} ; then
12561
allow_undefined_flag_CXX='${wl}-flat_namespace ${wl}-undefined ${wl}suppress'
12563
case ${MACOSX_DEPLOYMENT_TARGET} in
12565
allow_undefined_flag_CXX='${wl}-flat_namespace ${wl}-undefined ${wl}suppress'
12568
allow_undefined_flag_CXX='${wl}-undefined ${wl}dynamic_lookup'
12574
archive_cmds_need_lc_CXX=no
12575
hardcode_direct_CXX=no
12576
hardcode_automatic_CXX=yes
12577
hardcode_shlibpath_var_CXX=unsupported
12578
whole_archive_flag_spec_CXX=''
12579
link_all_deplibs_CXX=yes
12581
if test "$GXX" = yes ; then
12582
lt_int_apple_cc_single_mod=no
12583
output_verbose_link_cmd='echo'
12584
if $CC -dumpspecs 2>&1 | $EGREP 'single_module' >/dev/null ; then
12585
lt_int_apple_cc_single_mod=yes
12587
if test "X$lt_int_apple_cc_single_mod" = Xyes ; then
12588
archive_cmds_CXX='$CC -dynamiclib -single_module $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags -install_name $rpath/$soname $verstring'
12590
archive_cmds_CXX='$CC -r -keep_private_externs -nostdlib -o ${lib}-master.o $libobjs~$CC -dynamiclib $allow_undefined_flag -o $lib ${lib}-master.o $deplibs $compiler_flags -install_name $rpath/$soname $verstring'
12592
module_cmds_CXX='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
12593
# Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin lds
12594
if test "X$lt_int_apple_cc_single_mod" = Xyes ; then
12595
archive_expsym_cmds_CXX='sed -e "s,#.*,," -e "s,^[ ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC -dynamiclib -single_module $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags -install_name $rpath/$soname $verstring~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
12597
archive_expsym_cmds_CXX='sed -e "s,#.*,," -e "s,^[ ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC -r -keep_private_externs -nostdlib -o ${lib}-master.o $libobjs~$CC -dynamiclib $allow_undefined_flag -o $lib ${lib}-master.o $deplibs $compiler_flags -install_name $rpath/$soname $verstring~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
12599
module_expsym_cmds_CXX='sed -e "s,#.*,," -e "s,^[ ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
12601
case $cc_basename in
12603
output_verbose_link_cmd='echo'
12604
archive_cmds_CXX='$CC -qmkshrobj ${wl}-single_module $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-install_name ${wl}`echo $rpath/$soname` $xlcverstring'
12605
module_cmds_CXX='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
12606
# Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin lds
12607
archive_expsym_cmds_CXX='sed -e "s,#.*,," -e "s,^[ ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC -qmkshrobj ${wl}-single_module $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-install_name ${wl}$rpath/$soname $xlcverstring~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
12608
module_expsym_cmds_CXX='sed -e "s,#.*,," -e "s,^[ ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
12618
case $cc_basename in
12620
# FIXME: insert proper C++ library support
12624
# Green Hills C++ Compiler
12625
# FIXME: insert proper C++ library support
12629
# FIXME: insert proper C++ library support
12635
# C++ shared libraries reported to be fairly broken before switch to ELF
12639
archive_cmds_need_lc_CXX=no
12641
freebsd* | dragonfly*)
12642
# FreeBSD 3 and later use GNU C++ and GNU ld with standard ELF
12649
hardcode_libdir_flag_spec_CXX='${wl}+b ${wl}$libdir'
12650
hardcode_libdir_separator_CXX=:
12651
export_dynamic_flag_spec_CXX='${wl}-E'
12652
hardcode_direct_CXX=yes
12653
hardcode_minus_L_CXX=yes # Not in the search PATH,
12654
# but as the default
12655
# location of the library.
12657
case $cc_basename in
12659
# FIXME: insert proper C++ library support
12663
archive_cmds_CXX='$rm $output_objdir/$soname~$CC -b ${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'
12664
# Commands to make compiler produce verbose output that lists
12665
# what "hidden" libraries, object files and flags are used when
12666
# linking a shared library.
12668
# There doesn't appear to be a way to prevent this compiler from
12669
# explicitly linking system object files so we need to strip them
12670
# from the output so that they don't get included in the library
12672
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 $list'
12675
if test "$GXX" = yes; then
12676
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'
12678
# FIXME: insert proper C++ library support
12685
if test $with_gnu_ld = no; then
12686
hardcode_libdir_flag_spec_CXX='${wl}+b ${wl}$libdir'
12687
hardcode_libdir_separator_CXX=:
12692
export_dynamic_flag_spec_CXX='${wl}-E'
12698
hardcode_direct_CXX=no
12699
hardcode_shlibpath_var_CXX=no
12702
hardcode_direct_CXX=yes
12703
hardcode_minus_L_CXX=yes # Not in the search PATH,
12704
# but as the default
12705
# location of the library.
12709
case $cc_basename in
12711
# FIXME: insert proper C++ library support
12717
archive_cmds_CXX='$CC -b ${wl}+h ${wl}$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
12720
archive_cmds_CXX='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
12723
archive_cmds_CXX='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
12726
# Commands to make compiler produce verbose output that lists
12727
# what "hidden" libraries, object files and flags are used when
12728
# linking a shared library.
12730
# There doesn't appear to be a way to prevent this compiler from
12731
# explicitly linking system object files so we need to strip them
12732
# from the output so that they don't get included in the library
12734
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 $list'
12737
if test "$GXX" = yes; then
12738
if test $with_gnu_ld = no; then
12741
archive_cmds_CXX='$CC -shared -nostdlib -fPIC ${wl}+h ${wl}$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
12744
archive_cmds_CXX='$CC -shared -nostdlib -fPIC ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
12747
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'
12752
# FIXME: insert proper C++ library support
12759
hardcode_direct_CXX=no
12760
hardcode_shlibpath_var_CXX=no
12761
hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
12762
export_dynamic_flag_spec_CXX='${wl}-E'
12763
# Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
12764
# Instead, shared libraries are loaded at an image base (0x10000000 by
12765
# default) and relocated if they conflict, which is a slow very memory
12766
# consuming and fragmenting process. To avoid this, we pick a random,
12767
# 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
12768
# time. Moving up from 0x10000000 also allows more sbrk(2) space.
12769
archive_cmds_CXX='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
12770
archive_expsym_cmds_CXX='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'
12773
case $cc_basename in
12776
archive_cmds_CXX='$CC -shared -all -multigot $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -soname $soname `test -n "$verstring" && echo -set_version $verstring` -update_registry ${output_objdir}/so_locations -o $lib'
12778
# Archives containing C++ object files must be created using
12779
# "CC -ar", where "CC" is the IRIX C++ compiler. This is
12780
# necessary to make sure instantiated templates are included
12782
old_archive_cmds_CXX='$CC -ar -WR,-u -o $oldlib $oldobjs'
12785
if test "$GXX" = yes; then
12786
if test "$with_gnu_ld" = no; then
12787
archive_cmds_CXX='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && echo ${wl}-set_version ${wl}$verstring` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
12789
archive_cmds_CXX='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && echo ${wl}-set_version ${wl}$verstring` -o $lib'
12792
link_all_deplibs_CXX=yes
12795
hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
12796
hardcode_libdir_separator_CXX=:
12798
linux* | k*bsd*-gnu)
12799
case $cc_basename in
12801
# Kuck and Associates, Inc. (KAI) C++ Compiler
12803
# KCC will only create a shared library if the output file
12804
# ends with ".so" (or ".sl" for HP-UX), so rename the library
12805
# to its proper name (with version) after linking.
12806
archive_cmds_CXX='tempext=`echo $shared_ext | $SED -e '\''s/\([^()0-9A-Za-z{}]\)/\\\\\1/g'\''`; templib=`echo $lib | $SED -e "s/\${tempext}\..*/.so/"`; $CC $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags --soname $soname -o \$templib; mv \$templib $lib'
12807
archive_expsym_cmds_CXX='tempext=`echo $shared_ext | $SED -e '\''s/\([^()0-9A-Za-z{}]\)/\\\\\1/g'\''`; templib=`echo $lib | $SED -e "s/\${tempext}\..*/.so/"`; $CC $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags --soname $soname -o \$templib ${wl}-retain-symbols-file,$export_symbols; mv \$templib $lib'
12808
# Commands to make compiler produce verbose output that lists
12809
# what "hidden" libraries, object files and flags are used when
12810
# linking a shared library.
12812
# There doesn't appear to be a way to prevent this compiler from
12813
# explicitly linking system object files so we need to strip them
12814
# from the output so that they don't get included in the library
12816
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 $list'
12818
hardcode_libdir_flag_spec_CXX='${wl}--rpath,$libdir'
12819
export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
12821
# Archives containing C++ object files must be created using
12822
# "CC -Bstatic", where "CC" is the KAI C++ compiler.
12823
old_archive_cmds_CXX='$CC -Bstatic -o $oldlib $oldobjs'
12828
# version 8.0 and above of icpc choke on multiply defined symbols
12829
# if we add $predep_objects and $postdep_objects, however 7.1 and
12830
# earlier do not add the objects themselves.
12831
case `$CC -V 2>&1` in
12833
archive_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
12834
archive_expsym_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
12836
*) # Version 8.0 or newer
12839
ia64*) tmp_idyn=' -i_dynamic';;
12841
archive_cmds_CXX='$CC -shared'"$tmp_idyn"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
12842
archive_expsym_cmds_CXX='$CC -shared'"$tmp_idyn"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
12845
archive_cmds_need_lc_CXX=no
12846
hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
12847
export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
12848
whole_archive_flag_spec_CXX='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
12851
# Portland Group C++ compiler
12852
archive_cmds_CXX='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname -o $lib'
12853
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'
12855
hardcode_libdir_flag_spec_CXX='${wl}--rpath ${wl}$libdir'
12856
export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
12857
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'
12861
archive_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
12862
archive_expsym_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib ${wl}-retain-symbols-file $wl$export_symbols'
12864
runpath_var=LD_RUN_PATH
12865
hardcode_libdir_flag_spec_CXX='-rpath $libdir'
12866
hardcode_libdir_separator_CXX=:
12868
# Commands to make compiler produce verbose output that lists
12869
# what "hidden" libraries, object files and flags are used when
12870
# linking a shared library.
12872
# There doesn't appear to be a way to prevent this compiler from
12873
# explicitly linking system object files so we need to strip them
12874
# from the output so that they don't get included in the library
12876
output_verbose_link_cmd='templist=`$CC -shared $CFLAGS -v conftest.$objext 2>&1 | grep "ld"`; templist=`echo $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; echo $list'
12879
case `$CC -V 2>&1 | sed 5q` in
12882
no_undefined_flag_CXX=' -zdefs'
12883
archive_cmds_CXX='$CC -G${allow_undefined_flag} -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
12884
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'
12885
hardcode_libdir_flag_spec_CXX='-R$libdir'
12886
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'
12888
# Not sure whether something based on
12889
# $CC $CFLAGS -v conftest.$objext -o libconftest$shared_ext 2>&1
12891
output_verbose_link_cmd='echo'
12893
# Archives containing C++ object files must be created using
12894
# "CC -xar", where "CC" is the Sun C++ compiler. This is
12895
# necessary to make sure instantiated templates are included
12897
old_archive_cmds_CXX='$CC -xar -o $oldlib $oldobjs'
12904
# FIXME: insert proper C++ library support
12908
# FIXME: insert proper C++ library support
12912
case $cc_basename in
12914
# FIXME: insert proper C++ library support
12918
# FIXME: insert proper C++ library support
12923
netbsd* | netbsdelf*-gnu)
12924
if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
12925
archive_cmds_CXX='$LD -Bshareable -o $lib $predep_objects $libobjs $deplibs $postdep_objects $linker_flags'
12927
hardcode_libdir_flag_spec_CXX='-R$libdir'
12928
hardcode_direct_CXX=yes
12929
hardcode_shlibpath_var_CXX=no
12931
# Workaround some broken pre-1.5 toolchains
12932
output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | grep conftest.$objext | $SED -e "s:-lgcc -lc -lgcc::"'
12935
# C++ shared libraries are fairly broken
12939
if test -f /usr/libexec/ld.so; then
12940
hardcode_direct_CXX=yes
12941
hardcode_shlibpath_var_CXX=no
12942
archive_cmds_CXX='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $lib'
12943
hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
12944
if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
12945
archive_expsym_cmds_CXX='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-retain-symbols-file,$export_symbols -o $lib'
12946
export_dynamic_flag_spec_CXX='${wl}-E'
12947
whole_archive_flag_spec_CXX="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
12949
output_verbose_link_cmd='echo'
12955
case $cc_basename in
12957
# Kuck and Associates, Inc. (KAI) C++ Compiler
12959
# KCC will only create a shared library if the output file
12960
# ends with ".so" (or ".sl" for HP-UX), so rename the library
12961
# to its proper name (with version) after linking.
12962
archive_cmds_CXX='tempext=`echo $shared_ext | $SED -e '\''s/\([^()0-9A-Za-z{}]\)/\\\\\1/g'\''`; templib=`echo $lib | $SED -e "s/\${tempext}\..*/.so/"`; $CC $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags --soname $soname -o \$templib; mv \$templib $lib'
12964
hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
12965
hardcode_libdir_separator_CXX=:
12967
# Archives containing C++ object files must be created using
12968
# "CC -Bstatic", where "CC" is the KAI C++ compiler.
12969
old_archive_cmds_CXX='$CC -Bstatic -o $oldlib $oldobjs'
12973
# Rational C++ 2.4.1
12974
# FIXME: insert proper C++ library support
12978
allow_undefined_flag_CXX=' ${wl}-expect_unresolved ${wl}\*'
12979
archive_cmds_CXX='$CC -shared${allow_undefined_flag} $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $soname `test -n "$verstring" && echo ${wl}-set_version $verstring` -update_registry ${output_objdir}/so_locations -o $lib'
12981
hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
12982
hardcode_libdir_separator_CXX=:
12984
# Commands to make compiler produce verbose output that lists
12985
# what "hidden" libraries, object files and flags are used when
12986
# linking a shared library.
12988
# There doesn't appear to be a way to prevent this compiler from
12989
# explicitly linking system object files so we need to strip them
12990
# from the output so that they don't get included in the library
12992
output_verbose_link_cmd='templist=`$CC -shared $CFLAGS -v conftest.$objext 2>&1 | grep "ld" | grep -v "ld:"`; templist=`echo $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; echo $list'
12995
if test "$GXX" = yes && test "$with_gnu_ld" = no; then
12996
allow_undefined_flag_CXX=' ${wl}-expect_unresolved ${wl}\*'
12997
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 ${wl}-set_version ${wl}$verstring` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
12999
hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
13000
hardcode_libdir_separator_CXX=:
13002
# Commands to make compiler produce verbose output that lists
13003
# what "hidden" libraries, object files and flags are used when
13004
# linking a shared library.
13005
output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | grep "\-L"'
13008
# FIXME: insert proper C++ library support
13015
case $cc_basename in
13017
# Kuck and Associates, Inc. (KAI) C++ Compiler
13019
# KCC will only create a shared library if the output file
13020
# ends with ".so" (or ".sl" for HP-UX), so rename the library
13021
# to its proper name (with version) after linking.
13022
archive_cmds_CXX='tempext=`echo $shared_ext | $SED -e '\''s/\([^()0-9A-Za-z{}]\)/\\\\\1/g'\''`; templib=`echo $lib | $SED -e "s/\${tempext}\..*/.so/"`; $CC $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags --soname $soname -o \$templib; mv \$templib $lib'
13024
hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
13025
hardcode_libdir_separator_CXX=:
13027
# Archives containing C++ object files must be created using
13028
# the KAI C++ compiler.
13029
old_archive_cmds_CXX='$CC -o $oldlib $oldobjs'
13032
# Rational C++ 2.4.1
13033
# FIXME: insert proper C++ library support
13037
allow_undefined_flag_CXX=' -expect_unresolved \*'
13038
archive_cmds_CXX='$CC -shared${allow_undefined_flag} $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -msym -soname $soname `test -n "$verstring" && echo -set_version $verstring` -update_registry ${output_objdir}/so_locations -o $lib'
13039
archive_expsym_cmds_CXX='for i in `cat $export_symbols`; do printf "%s %s\\n" -exported_symbol "\$i" >> $lib.exp; done~
13040
echo "-hidden">> $lib.exp~
13041
$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~
13044
hardcode_libdir_flag_spec_CXX='-rpath $libdir'
13045
hardcode_libdir_separator_CXX=:
13047
# Commands to make compiler produce verbose output that lists
13048
# what "hidden" libraries, object files and flags are used when
13049
# linking a shared library.
13051
# There doesn't appear to be a way to prevent this compiler from
13052
# explicitly linking system object files so we need to strip them
13053
# from the output so that they don't get included in the library
13055
output_verbose_link_cmd='templist=`$CC -shared $CFLAGS -v conftest.$objext 2>&1 | grep "ld" | grep -v "ld:"`; templist=`echo $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; echo $list'
13058
if test "$GXX" = yes && test "$with_gnu_ld" = no; then
13059
allow_undefined_flag_CXX=' ${wl}-expect_unresolved ${wl}\*'
13060
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` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
13062
hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
13063
hardcode_libdir_separator_CXX=:
13065
# Commands to make compiler produce verbose output that lists
13066
# what "hidden" libraries, object files and flags are used when
13067
# linking a shared library.
13068
output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | grep "\-L"'
13071
# FIXME: insert proper C++ library support
13078
# FIXME: insert proper C++ library support
13082
case $cc_basename in
13085
# FIXME: insert proper C++ library support
13090
# FIXME: insert proper C++ library support
13094
# FIXME: insert proper C++ library support
13100
case $cc_basename in
13102
# Sun C++ 4.2, 5.x and Centerline C++
13103
archive_cmds_need_lc_CXX=yes
13104
no_undefined_flag_CXX=' -zdefs'
13105
archive_cmds_CXX='$CC -G${allow_undefined_flag} -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
13106
archive_expsym_cmds_CXX='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
13107
$CC -G${allow_undefined_flag} ${wl}-M ${wl}$lib.exp -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$rm $lib.exp'
13109
hardcode_libdir_flag_spec_CXX='-R$libdir'
13110
hardcode_shlibpath_var_CXX=no
13112
solaris2.[0-5] | solaris2.[0-5].*) ;;
13114
# The compiler driver will combine and reorder linker options,
13115
# but understands `-z linker_flag'.
13116
# Supported since Solaris 2.6 (maybe 2.5.1?)
13117
whole_archive_flag_spec_CXX='-z allextract$convenience -z defaultextract'
13120
link_all_deplibs_CXX=yes
13122
output_verbose_link_cmd='echo'
13124
# Archives containing C++ object files must be created using
13125
# "CC -xar", where "CC" is the Sun C++ compiler. This is
13126
# necessary to make sure instantiated templates are included
13128
old_archive_cmds_CXX='$CC -xar -o $oldlib $oldobjs'
13131
# Green Hills C++ Compiler
13132
archive_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
13134
# The C++ compiler must be used to create the archive.
13135
old_archive_cmds_CXX='$CC $LDFLAGS -archive -o $oldlib $oldobjs'
13138
# GNU C++ compiler with Solaris linker
13139
if test "$GXX" = yes && test "$with_gnu_ld" = no; then
13140
no_undefined_flag_CXX=' ${wl}-z ${wl}defs'
13141
if $CC --version | grep -v '^2\.7' > /dev/null; then
13142
archive_cmds_CXX='$CC -shared -nostdlib $LDFLAGS $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
13143
archive_expsym_cmds_CXX='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
13144
$CC -shared -nostdlib ${wl}-M $wl$lib.exp -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$rm $lib.exp'
13146
# Commands to make compiler produce verbose output that lists
13147
# what "hidden" libraries, object files and flags are used when
13148
# linking a shared library.
13149
output_verbose_link_cmd="$CC -shared $CFLAGS -v conftest.$objext 2>&1 | grep \"\-L\""
13151
# g++ 2.7 appears to require `-G' NOT `-shared' on this
13153
archive_cmds_CXX='$CC -G -nostdlib $LDFLAGS $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
13154
archive_expsym_cmds_CXX='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
13155
$CC -G -nostdlib ${wl}-M $wl$lib.exp -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$rm $lib.exp'
13157
# Commands to make compiler produce verbose output that lists
13158
# what "hidden" libraries, object files and flags are used when
13159
# linking a shared library.
13160
output_verbose_link_cmd="$CC -G $CFLAGS -v conftest.$objext 2>&1 | grep \"\-L\""
13163
hardcode_libdir_flag_spec_CXX='${wl}-R $wl$libdir'
13165
solaris2.[0-5] | solaris2.[0-5].*) ;;
13167
whole_archive_flag_spec_CXX='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
13174
sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7* | sco3.2v5.0.[024]*)
13175
no_undefined_flag_CXX='${wl}-z,text'
13176
archive_cmds_need_lc_CXX=no
13177
hardcode_shlibpath_var_CXX=no
13178
runpath_var='LD_RUN_PATH'
13180
case $cc_basename in
13182
archive_cmds_CXX='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13183
archive_expsym_cmds_CXX='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13186
archive_cmds_CXX='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13187
archive_expsym_cmds_CXX='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13191
sysv5* | sco3.2v5* | sco5v6*)
13192
# Note: We can NOT use -z defs as we might desire, because we do not
13193
# link with -lc, and that would cause any symbols used from libc to
13194
# always be unresolved, which means just about no library would
13195
# ever link correctly. If we're not using GNU ld we use -z text
13196
# though, which does catch some bad symbols but isn't as heavy-handed
13198
# For security reasons, it is highly recommended that you always
13199
# use absolute paths for naming shared libraries, and exclude the
13200
# DT_RUNPATH tag from executables and libraries. But doing so
13201
# requires that you compile everything twice, which is a pain.
13202
# So that behaviour is only enabled if SCOABSPATH is set to a
13203
# non-empty value in the environment. Most likely only useful for
13204
# creating official distributions of packages.
13205
# This is a hack until libtool officially supports absolute path
13206
# names for shared libraries.
13207
no_undefined_flag_CXX='${wl}-z,text'
13208
allow_undefined_flag_CXX='${wl}-z,nodefs'
13209
archive_cmds_need_lc_CXX=no
13210
hardcode_shlibpath_var_CXX=no
13211
hardcode_libdir_flag_spec_CXX='`test -z "$SCOABSPATH" && echo ${wl}-R,$libdir`'
13212
hardcode_libdir_separator_CXX=':'
13213
link_all_deplibs_CXX=yes
13214
export_dynamic_flag_spec_CXX='${wl}-Bexport'
13215
runpath_var='LD_RUN_PATH'
13217
case $cc_basename in
13219
archive_cmds_CXX='$CC -G ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
13220
archive_expsym_cmds_CXX='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
13223
archive_cmds_CXX='$CC -shared ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
13224
archive_expsym_cmds_CXX='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
13229
case $cc_basename in
13231
# NonStop-UX NCC 3.20
13232
# FIXME: insert proper C++ library support
13236
# FIXME: insert proper C++ library support
13242
# FIXME: insert proper C++ library support
13246
# FIXME: insert proper C++ library support
13250
{ echo "$as_me:$LINENO: result: $ld_shlibs_CXX" >&5
13251
echo "${ECHO_T}$ld_shlibs_CXX" >&6; }
13252
test "$ld_shlibs_CXX" = no && can_build_shared=no
13258
cat > conftest.$ac_ext <<EOF
13262
Foo (void) { a = 0; }
13268
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13269
(eval $ac_compile) 2>&5
13271
echo "$as_me:$LINENO: \$? = $ac_status" >&5
13272
(exit $ac_status); }; then
13273
# Parse the compiler output and extract the necessary
13274
# objects, libraries and library flags.
13276
# Sentinel used to keep track of whether or not we are before
13277
# the conftest object file.
13278
pre_test_object_deps_done=no
13280
# The `*' in the case matches for architectures that use `case' in
13281
# $output_verbose_cmd can trigger glob expansion during the loop
13282
# eval without this substitution.
13283
output_verbose_link_cmd=`$echo "X$output_verbose_link_cmd" | $Xsed -e "$no_glob_subst"`
13285
for p in `eval $output_verbose_link_cmd`; do
13289
# Some compilers place space between "-{L,R}" and the path.
13290
# Remove the space.
13291
if test $p = "-L" \
13292
|| test $p = "-R"; then
13299
if test "$pre_test_object_deps_done" = no; then
13302
# Internal compiler library paths should come after those
13303
# provided the user. The postdeps already come after the
13304
# user supplied libs so there is no need to process them.
13305
if test -z "$compiler_lib_search_path_CXX"; then
13306
compiler_lib_search_path_CXX="${prev}${p}"
13308
compiler_lib_search_path_CXX="${compiler_lib_search_path_CXX} ${prev}${p}"
13311
# The "-l" case would never come before the object being
13312
# linked, so don't bother handling this case.
13315
if test -z "$postdeps_CXX"; then
13316
postdeps_CXX="${prev}${p}"
13318
postdeps_CXX="${postdeps_CXX} ${prev}${p}"
13324
# This assumes that the test object file only shows up
13325
# once in the compiler output.
13326
if test "$p" = "conftest.$objext"; then
13327
pre_test_object_deps_done=yes
13331
if test "$pre_test_object_deps_done" = no; then
13332
if test -z "$predep_objects_CXX"; then
13333
predep_objects_CXX="$p"
13335
predep_objects_CXX="$predep_objects_CXX $p"
13338
if test -z "$postdep_objects_CXX"; then
13339
postdep_objects_CXX="$p"
13341
postdep_objects_CXX="$postdep_objects_CXX $p"
13346
*) ;; # Ignore the rest.
13354
echo "libtool.m4: error: problem compiling CXX test program"
13357
$rm -f confest.$objext
13359
# PORTME: override above test on systems where it is broken
13362
# Interix 3.5 installs completely hosed .la files for C++, so rather than
13363
# hack all around it, let's just trust "g++" to DTRT.
13364
predep_objects_CXX=
13365
postdep_objects_CXX=
13370
case `$CC -V 2>&1 | sed 5q` in
13374
# The more standards-conforming stlport4 library is
13375
# incompatible with the Cstd library. Avoid specifying
13376
# it if it's in CXXFLAGS. Ignore libCrun as
13377
# -library=stlport4 depends on it.
13378
case " $CXX $CXXFLAGS " in
13379
*" -library=stlport4 "*)
13380
solaris_use_stlport4=yes
13383
if test "$solaris_use_stlport4" != yes; then
13384
postdeps_CXX='-library=Cstd -library=Crun'
13391
case $cc_basename in
13393
# The more standards-conforming stlport4 library is
13394
# incompatible with the Cstd library. Avoid specifying
13395
# it if it's in CXXFLAGS. Ignore libCrun as
13396
# -library=stlport4 depends on it.
13397
case " $CXX $CXXFLAGS " in
13398
*" -library=stlport4 "*)
13399
solaris_use_stlport4=yes
13403
# Adding this requires a known-good setup of shared libraries for
13404
# Sun compiler versions before 5.6, else PIC objects from an old
13405
# archive will be linked into the output, leading to subtle bugs.
13406
if test "$solaris_use_stlport4" != yes; then
13407
postdeps_CXX='-library=Cstd -library=Crun'
13415
case " $postdeps_CXX " in
13416
*" -lc "*) archive_cmds_need_lc_CXX=no ;;
13419
lt_prog_compiler_wl_CXX=
13420
lt_prog_compiler_pic_CXX=
13421
lt_prog_compiler_static_CXX=
13423
{ echo "$as_me:$LINENO: checking for $compiler option to produce PIC" >&5
13424
echo $ECHO_N "checking for $compiler option to produce PIC... $ECHO_C" >&6; }
13426
# C++ specific cases for pic, static, wl, etc.
13427
if test "$GXX" = yes; then
13428
lt_prog_compiler_wl_CXX='-Wl,'
13429
lt_prog_compiler_static_CXX='-static'
13433
# All AIX code is PIC.
13434
if test "$host_cpu" = ia64; then
13435
# AIX 5 now supports IA64 processor
13436
lt_prog_compiler_static_CXX='-Bstatic'
13440
# FIXME: we need at least 68020 code to build shared libraries, but
13441
# adding the `-m68020' flag to GCC prevents building anything better,
13443
lt_prog_compiler_pic_CXX='-m68020 -resident32 -malways-restore-a4'
13445
beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
13446
# PIC is the default for these OSes.
13448
mingw* | cygwin* | os2* | pw32*)
13449
# This hack is so that the source file can tell whether it is being
13450
# built for inclusion in a dll (and should export symbols for example).
13451
# Although the cygwin gcc ignores -fPIC, still need this for old-style
13452
# (--disable-auto-import) libraries
13453
lt_prog_compiler_pic_CXX='-DDLL_EXPORT'
13455
darwin* | rhapsody*)
13456
# PIC is the default on this platform
13457
# Common symbols not allowed in MH_DYLIB files
13458
lt_prog_compiler_pic_CXX='-fno-common'
13461
# DJGPP does not support shared libraries at all
13462
lt_prog_compiler_pic_CXX=
13465
# Interix 3.x gcc -fpic/-fPIC options generate broken code.
13466
# Instead, we relocate shared libraries at runtime.
13469
if test -d /usr/nec; then
13470
lt_prog_compiler_pic_CXX=-Kconform_pic
13474
# PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
13475
# not for PA HP-UX.
13480
lt_prog_compiler_pic_CXX='-fPIC'
13485
lt_prog_compiler_pic_CXX='-fPIC'
13491
# All AIX code is PIC.
13492
if test "$host_cpu" = ia64; then
13493
# AIX 5 now supports IA64 processor
13494
lt_prog_compiler_static_CXX='-Bstatic'
13496
lt_prog_compiler_static_CXX='-bnso -bI:/lib/syscalls.exp'
13500
case $cc_basename in
13502
# Green Hills C++ Compiler
13503
# _LT_AC_TAGVAR(lt_prog_compiler_static, CXX)="--no_auto_instantiation -u __main -u __premain -u _abort -r $COOL_DIR/lib/libOrb.a $MVME_DIR/lib/CC/libC.a $MVME_DIR/lib/classix/libcx.s.a"
13508
# PIC is the default on this platform
13509
# Common symbols not allowed in MH_DYLIB files
13510
case $cc_basename in
13512
lt_prog_compiler_pic_CXX='-qnocommon'
13513
lt_prog_compiler_wl_CXX='-Wl,'
13518
case $cc_basename in
13520
lt_prog_compiler_pic_CXX='-KPIC'
13523
# Green Hills C++ Compiler
13524
lt_prog_compiler_pic_CXX='-pic'
13530
freebsd* | dragonfly*)
13531
# FreeBSD uses GNU C++
13533
hpux9* | hpux10* | hpux11*)
13534
case $cc_basename in
13536
lt_prog_compiler_wl_CXX='-Wl,'
13537
lt_prog_compiler_static_CXX='${wl}-a ${wl}archive'
13538
if test "$host_cpu" != ia64; then
13539
lt_prog_compiler_pic_CXX='+Z'
13543
lt_prog_compiler_wl_CXX='-Wl,'
13544
lt_prog_compiler_static_CXX='${wl}-a ${wl}archive'
13550
lt_prog_compiler_pic_CXX='+Z'
13559
# This is c89, which is MS Visual C++ (no shared libs)
13560
# Anyone wants to do a port?
13562
irix5* | irix6* | nonstopux*)
13563
case $cc_basename in
13565
lt_prog_compiler_wl_CXX='-Wl,'
13566
lt_prog_compiler_static_CXX='-non_shared'
13567
# CC pic flag -KPIC is the default.
13573
linux* | k*bsd*-gnu)
13574
case $cc_basename in
13577
lt_prog_compiler_wl_CXX='--backend -Wl,'
13578
lt_prog_compiler_pic_CXX='-fPIC'
13582
lt_prog_compiler_wl_CXX='-Wl,'
13583
lt_prog_compiler_pic_CXX='-KPIC'
13584
lt_prog_compiler_static_CXX='-static'
13587
# Portland Group C++ compiler.
13588
lt_prog_compiler_wl_CXX='-Wl,'
13589
lt_prog_compiler_pic_CXX='-fpic'
13590
lt_prog_compiler_static_CXX='-Bstatic'
13594
# Make sure the PIC flag is empty. It appears that all Alpha
13595
# Linux and Compaq Tru64 Unix objects are PIC.
13596
lt_prog_compiler_pic_CXX=
13597
lt_prog_compiler_static_CXX='-non_shared'
13600
case `$CC -V 2>&1 | sed 5q` in
13603
lt_prog_compiler_pic_CXX='-KPIC'
13604
lt_prog_compiler_static_CXX='-Bstatic'
13605
lt_prog_compiler_wl_CXX='-Qoption ld '
13616
case $cc_basename in
13618
lt_prog_compiler_pic_CXX='-W c,exportall'
13624
netbsd* | netbsdelf*-gnu)
13626
osf3* | osf4* | osf5*)
13627
case $cc_basename in
13629
lt_prog_compiler_wl_CXX='--backend -Wl,'
13632
# Rational C++ 2.4.1
13633
lt_prog_compiler_pic_CXX='-pic'
13636
# Digital/Compaq C++
13637
lt_prog_compiler_wl_CXX='-Wl,'
13638
# Make sure the PIC flag is empty. It appears that all Alpha
13639
# Linux and Compaq Tru64 Unix objects are PIC.
13640
lt_prog_compiler_pic_CXX=
13641
lt_prog_compiler_static_CXX='-non_shared'
13650
case $cc_basename in
13652
# Sun C++ 4.2, 5.x and Centerline C++
13653
lt_prog_compiler_pic_CXX='-KPIC'
13654
lt_prog_compiler_static_CXX='-Bstatic'
13655
lt_prog_compiler_wl_CXX='-Qoption ld '
13658
# Green Hills C++ Compiler
13659
lt_prog_compiler_pic_CXX='-PIC'
13666
case $cc_basename in
13669
lt_prog_compiler_pic_CXX='-pic'
13670
lt_prog_compiler_static_CXX='-Bstatic'
13674
lt_prog_compiler_pic_CXX='-pic'
13681
case $cc_basename in
13683
# NonStop-UX NCC 3.20
13684
lt_prog_compiler_pic_CXX='-KPIC'
13690
sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
13691
case $cc_basename in
13693
lt_prog_compiler_wl_CXX='-Wl,'
13694
lt_prog_compiler_pic_CXX='-KPIC'
13695
lt_prog_compiler_static_CXX='-Bstatic'
13702
lt_prog_compiler_can_build_shared_CXX=no
13707
{ echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_CXX" >&5
13708
echo "${ECHO_T}$lt_prog_compiler_pic_CXX" >&6; }
13711
# Check to make sure the PIC flag actually works.
13713
if test -n "$lt_prog_compiler_pic_CXX"; then
13715
{ echo "$as_me:$LINENO: checking if $compiler PIC flag $lt_prog_compiler_pic_CXX works" >&5
13716
echo $ECHO_N "checking if $compiler PIC flag $lt_prog_compiler_pic_CXX works... $ECHO_C" >&6; }
13717
if test "${lt_prog_compiler_pic_works_CXX+set}" = set; then
13718
echo $ECHO_N "(cached) $ECHO_C" >&6
13720
lt_prog_compiler_pic_works_CXX=no
13721
ac_outfile=conftest.$ac_objext
13722
echo "$lt_simple_compile_test_code" > conftest.$ac_ext
13723
lt_compiler_flag="$lt_prog_compiler_pic_CXX -DPIC"
13724
# Insert the option either (1) after the last *FLAGS variable, or
13725
# (2) before a word containing "conftest.", or (3) at the end.
13726
# Note that $ac_compile itself does not contain backslashes and begins
13727
# with a dollar sign (not a hyphen), so the echo should work correctly.
13728
# The option is referenced via a variable to avoid confusing sed.
13729
lt_compile=`echo "$ac_compile" | $SED \
13730
-e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
13731
-e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
13732
-e 's:$: $lt_compiler_flag:'`
13733
(eval echo "\"\$as_me:__oline__: $lt_compile\"" >&5)
13734
(eval "$lt_compile" 2>conftest.err)
13736
cat conftest.err >&5
13737
echo "$as_me:__oline__: \$? = $ac_status" >&5
13738
if (exit $ac_status) && test -s "$ac_outfile"; then
13739
# The compiler can only warn and ignore the option if not recognized
13740
# So say no if there are warnings other than the usual output.
13741
$echo "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' >conftest.exp
13742
$SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
13743
if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
13744
lt_prog_compiler_pic_works_CXX=yes
13750
{ echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_works_CXX" >&5
13751
echo "${ECHO_T}$lt_prog_compiler_pic_works_CXX" >&6; }
13753
if test x"$lt_prog_compiler_pic_works_CXX" = xyes; then
13754
case $lt_prog_compiler_pic_CXX in
13756
*) lt_prog_compiler_pic_CXX=" $lt_prog_compiler_pic_CXX" ;;
13759
lt_prog_compiler_pic_CXX=
13760
lt_prog_compiler_can_build_shared_CXX=no
13765
# For platforms which do not support PIC, -DPIC is meaningless:
13767
lt_prog_compiler_pic_CXX=
13770
lt_prog_compiler_pic_CXX="$lt_prog_compiler_pic_CXX -DPIC"
13775
# Check to make sure the static flag actually works.
13777
wl=$lt_prog_compiler_wl_CXX eval lt_tmp_static_flag=\"$lt_prog_compiler_static_CXX\"
13778
{ echo "$as_me:$LINENO: checking if $compiler static flag $lt_tmp_static_flag works" >&5
13779
echo $ECHO_N "checking if $compiler static flag $lt_tmp_static_flag works... $ECHO_C" >&6; }
13780
if test "${lt_prog_compiler_static_works_CXX+set}" = set; then
13781
echo $ECHO_N "(cached) $ECHO_C" >&6
13783
lt_prog_compiler_static_works_CXX=no
13784
save_LDFLAGS="$LDFLAGS"
13785
LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
13786
echo "$lt_simple_link_test_code" > conftest.$ac_ext
13787
if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
13788
# The linker can only warn and ignore the option if not recognized
13789
# So say no if there are warnings
13790
if test -s conftest.err; then
13791
# Append any errors to the config.log.
13792
cat conftest.err 1>&5
13793
$echo "X$_lt_linker_boilerplate" | $Xsed -e '/^$/d' > conftest.exp
13794
$SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
13795
if diff conftest.exp conftest.er2 >/dev/null; then
13796
lt_prog_compiler_static_works_CXX=yes
13799
lt_prog_compiler_static_works_CXX=yes
13803
LDFLAGS="$save_LDFLAGS"
13806
{ echo "$as_me:$LINENO: result: $lt_prog_compiler_static_works_CXX" >&5
13807
echo "${ECHO_T}$lt_prog_compiler_static_works_CXX" >&6; }
13809
if test x"$lt_prog_compiler_static_works_CXX" = xyes; then
13812
lt_prog_compiler_static_CXX=
13816
{ echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5
13817
echo $ECHO_N "checking if $compiler supports -c -o file.$ac_objext... $ECHO_C" >&6; }
13818
if test "${lt_cv_prog_compiler_c_o_CXX+set}" = set; then
13819
echo $ECHO_N "(cached) $ECHO_C" >&6
13821
lt_cv_prog_compiler_c_o_CXX=no
13822
$rm -r conftest 2>/dev/null
13826
echo "$lt_simple_compile_test_code" > conftest.$ac_ext
13828
lt_compiler_flag="-o out/conftest2.$ac_objext"
13829
# Insert the option either (1) after the last *FLAGS variable, or
13830
# (2) before a word containing "conftest.", or (3) at the end.
13831
# Note that $ac_compile itself does not contain backslashes and begins
13832
# with a dollar sign (not a hyphen), so the echo should work correctly.
13833
lt_compile=`echo "$ac_compile" | $SED \
13834
-e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
13835
-e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
13836
-e 's:$: $lt_compiler_flag:'`
13837
(eval echo "\"\$as_me:__oline__: $lt_compile\"" >&5)
13838
(eval "$lt_compile" 2>out/conftest.err)
13840
cat out/conftest.err >&5
13841
echo "$as_me:__oline__: \$? = $ac_status" >&5
13842
if (exit $ac_status) && test -s out/conftest2.$ac_objext
13844
# The compiler can only warn and ignore the option if not recognized
13845
# So say no if there are warnings
13846
$echo "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' > out/conftest.exp
13847
$SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
13848
if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
13849
lt_cv_prog_compiler_c_o_CXX=yes
13854
# SGI C++ compiler will create directory out/ii_files/ for
13855
# template instantiation
13856
test -d out/ii_files && $rm out/ii_files/* && rmdir out/ii_files
13857
$rm out/* && rmdir out
13863
{ echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_c_o_CXX" >&5
13864
echo "${ECHO_T}$lt_cv_prog_compiler_c_o_CXX" >&6; }
13867
hard_links="nottested"
13868
if test "$lt_cv_prog_compiler_c_o_CXX" = no && test "$need_locks" != no; then
13869
# do not overwrite the value of need_locks provided by the user
13870
{ echo "$as_me:$LINENO: checking if we can lock with hard links" >&5
13871
echo $ECHO_N "checking if we can lock with hard links... $ECHO_C" >&6; }
13874
ln conftest.a conftest.b 2>/dev/null && hard_links=no
13876
ln conftest.a conftest.b 2>&5 || hard_links=no
13877
ln conftest.a conftest.b 2>/dev/null && hard_links=no
13878
{ echo "$as_me:$LINENO: result: $hard_links" >&5
13879
echo "${ECHO_T}$hard_links" >&6; }
13880
if test "$hard_links" = no; then
13881
{ echo "$as_me:$LINENO: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
13882
echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
13889
{ echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5
13890
echo $ECHO_N "checking whether the $compiler linker ($LD) supports shared libraries... $ECHO_C" >&6; }
13892
export_symbols_cmds_CXX='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
13895
# If we're using GNU nm, then we don't want the "-C" option.
13896
# -C means demangle to AIX nm, but means don't demangle with GNU nm
13897
if $NM -V 2>&1 | grep 'GNU' > /dev/null; then
13898
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'
13900
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'
13904
export_symbols_cmds_CXX="$ltdll_cmds"
13907
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'
13909
linux* | k*bsd*-gnu)
13910
link_all_deplibs_CXX=no
13913
export_symbols_cmds_CXX='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
13917
{ echo "$as_me:$LINENO: result: $ld_shlibs_CXX" >&5
13918
echo "${ECHO_T}$ld_shlibs_CXX" >&6; }
13919
test "$ld_shlibs_CXX" = no && can_build_shared=no
13922
# Do we need to explicitly link libc?
13924
case "x$archive_cmds_need_lc_CXX" in
13926
# Assume -lc should be added
13927
archive_cmds_need_lc_CXX=yes
13929
if test "$enable_shared" = yes && test "$GCC" = yes; then
13930
case $archive_cmds_CXX in
13932
# FIXME: we may have to deal with multi-command sequences.
13935
# Test whether the compiler implicitly links with -lc since on some
13936
# systems, -lgcc has to come before -lc. If gcc already passes -lc
13937
# to ld, don't add -lc before -lgcc.
13938
{ echo "$as_me:$LINENO: checking whether -lc should be explicitly linked in" >&5
13939
echo $ECHO_N "checking whether -lc should be explicitly linked in... $ECHO_C" >&6; }
13941
echo "$lt_simple_compile_test_code" > conftest.$ac_ext
13943
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13944
(eval $ac_compile) 2>&5
13946
echo "$as_me:$LINENO: \$? = $ac_status" >&5
13947
(exit $ac_status); } 2>conftest.err; then
13950
libobjs=conftest.$ac_objext
13952
wl=$lt_prog_compiler_wl_CXX
13953
pic_flag=$lt_prog_compiler_pic_CXX
13959
lt_save_allow_undefined_flag=$allow_undefined_flag_CXX
13960
allow_undefined_flag_CXX=
13961
if { (eval echo "$as_me:$LINENO: \"$archive_cmds_CXX 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1\"") >&5
13962
(eval $archive_cmds_CXX 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1) 2>&5
13964
echo "$as_me:$LINENO: \$? = $ac_status" >&5
13965
(exit $ac_status); }
13967
archive_cmds_need_lc_CXX=no
13969
archive_cmds_need_lc_CXX=yes
13971
allow_undefined_flag_CXX=$lt_save_allow_undefined_flag
13973
cat conftest.err 1>&5
13976
{ echo "$as_me:$LINENO: result: $archive_cmds_need_lc_CXX" >&5
13977
echo "${ECHO_T}$archive_cmds_need_lc_CXX" >&6; }
13984
{ echo "$as_me:$LINENO: checking dynamic linker characteristics" >&5
13985
echo $ECHO_N "checking dynamic linker characteristics... $ECHO_C" >&6; }
13986
library_names_spec=
13987
libname_spec='lib$name'
13991
postuninstall_cmds=
13995
shlibpath_overrides_runpath=unknown
13997
dynamic_linker="$host_os ld.so"
13998
sys_lib_dlsearch_path_spec="/lib /usr/lib"
14000
need_lib_prefix=unknown
14001
hardcode_into_libs=no
14003
# when you set need_version to no, make sure it does not cause -set_version
14004
# flags to be left without arguments
14005
need_version=unknown
14010
library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a'
14011
shlibpath_var=LIBPATH
14013
# AIX 3 has no versioning support, so we append a major version to the name.
14014
soname_spec='${libname}${release}${shared_ext}$major'
14021
hardcode_into_libs=yes
14022
if test "$host_cpu" = ia64; then
14023
# AIX 5 supports IA64
14024
library_names_spec='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
14025
shlibpath_var=LD_LIBRARY_PATH
14027
# With GCC up to 2.95.x, collect2 would create an import file
14028
# for dependence libraries. The import file would start with
14029
# the line `#! .'. This would cause the generated library to
14030
# depend on `.', always an invalid library. This was fixed in
14031
# development snapshots of GCC prior to 3.0.
14033
aix4 | aix4.[01] | aix4.[01].*)
14034
if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
14036
echo '#endif'; } | ${CC} -E - | grep yes > /dev/null; then
14039
can_build_shared=no
14043
# AIX (on Power*) has no versioning support, so currently we can not hardcode correct
14044
# soname into executable. Probably we can add versioning support to
14045
# collect2, so additional links can be useful in future.
14046
if test "$aix_use_runtimelinking" = yes; then
14047
# If using run time linking (on AIX 4.2 or later) use lib<name>.so
14048
# instead of lib<name>.a to let people know that these are not
14049
# typical AIX shared libraries.
14050
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14052
# We preserve .a as extension for shared libraries through AIX4.2
14053
# and later when we are not doing run time linking.
14054
library_names_spec='${libname}${release}.a $libname.a'
14055
soname_spec='${libname}${release}${shared_ext}$major'
14057
shlibpath_var=LIBPATH
14062
library_names_spec='$libname.ixlibrary $libname.a'
14063
# Create ${libname}_ixlibrary.a entries in /sys/libs.
14064
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'
14068
library_names_spec='${libname}${shared_ext}'
14069
dynamic_linker="$host_os ld.so"
14070
shlibpath_var=LIBRARY_PATH
14076
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14077
soname_spec='${libname}${release}${shared_ext}$major'
14078
finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
14079
shlibpath_var=LD_LIBRARY_PATH
14080
sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
14081
sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
14082
# the default ld.so.conf also contains /usr/contrib/lib and
14083
# /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
14084
# libtool to hard-code these into programs
14087
cygwin* | mingw* | pw32*)
14088
version_type=windows
14093
case $GCC,$host_os in
14094
yes,cygwin* | yes,mingw* | yes,pw32*)
14095
library_names_spec='$libname.dll.a'
14096
# DLL is installed to $(libdir)/../bin by postinstall_cmds
14097
postinstall_cmds='base_file=`basename \${file}`~
14098
dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i;echo \$dlname'\''`~
14099
dldir=$destdir/`dirname \$dlpath`~
14100
test -d \$dldir || mkdir -p \$dldir~
14101
$install_prog $dir/$dlname \$dldir/$dlname~
14102
chmod a+x \$dldir/$dlname'
14103
postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
14104
dlpath=$dir/\$dldll~
14106
shlibpath_overrides_runpath=yes
14110
# Cygwin DLLs use 'cyg' prefix rather than 'lib'
14111
soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
14112
sys_lib_search_path_spec="/usr/lib /lib/w32api /lib /usr/local/lib"
14115
# MinGW DLLs use traditional 'lib' prefix
14116
soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
14117
sys_lib_search_path_spec=`$CC -print-search-dirs | grep "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
14118
if echo "$sys_lib_search_path_spec" | grep ';[c-zC-Z]:/' >/dev/null; then
14119
# It is most probably a Windows format PATH printed by
14120
# mingw gcc, but we are running on Cygwin. Gcc prints its search
14121
# path with ; separators, and with drive letters. We can handle the
14122
# drive letters (cygwin fileutils understands them), so leave them,
14123
# especially as we might pass files found there to a mingw objdump,
14124
# which wouldn't understand a cygwinified path. Ahh.
14125
sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
14127
sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
14131
# pw32 DLLs use 'pw' prefix rather than 'lib'
14132
library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
14138
library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
14141
dynamic_linker='Win32 ld.exe'
14142
# FIXME: first we should search . and the directory the executable is in
14146
darwin* | rhapsody*)
14147
dynamic_linker="$host_os dyld"
14148
version_type=darwin
14151
library_names_spec='${libname}${release}${versuffix}$shared_ext ${libname}${release}${major}$shared_ext ${libname}$shared_ext'
14152
soname_spec='${libname}${release}${major}$shared_ext'
14153
shlibpath_overrides_runpath=yes
14154
shlibpath_var=DYLD_LIBRARY_PATH
14155
shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`'
14157
sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
14164
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
14165
soname_spec='${libname}${release}${shared_ext}$major'
14166
shlibpath_var=LD_LIBRARY_PATH
14173
freebsd* | dragonfly*)
14174
# DragonFly does not have aout. When/if they implement a new
14175
# versioning mechanism, adjust this.
14176
if test -x /usr/bin/objformat; then
14177
objformat=`/usr/bin/objformat`
14180
freebsd[123]*) objformat=aout ;;
14181
*) objformat=elf ;;
14184
version_type=freebsd-$objformat
14185
case $version_type in
14187
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
14192
library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
14196
shlibpath_var=LD_LIBRARY_PATH
14199
shlibpath_overrides_runpath=yes
14201
freebsd3.[01]* | freebsdelf3.[01]*)
14202
shlibpath_overrides_runpath=yes
14203
hardcode_into_libs=yes
14205
freebsd3.[2-9]* | freebsdelf3.[2-9]* | \
14206
freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1)
14207
shlibpath_overrides_runpath=no
14208
hardcode_into_libs=yes
14210
*) # from 4.6 on, and DragonFly
14211
shlibpath_overrides_runpath=yes
14212
hardcode_into_libs=yes
14221
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
14222
soname_spec='${libname}${release}${shared_ext}$major'
14223
shlibpath_var=LD_LIBRARY_PATH
14224
hardcode_into_libs=yes
14227
hpux9* | hpux10* | hpux11*)
14228
# Give a soname corresponding to the major version so that dld.sl refuses to
14229
# link against other versions.
14236
hardcode_into_libs=yes
14237
dynamic_linker="$host_os dld.so"
14238
shlibpath_var=LD_LIBRARY_PATH
14239
shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
14240
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14241
soname_spec='${libname}${release}${shared_ext}$major'
14242
if test "X$HPUX_IA64_MODE" = X32; then
14243
sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
14245
sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
14247
sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
14251
hardcode_into_libs=yes
14252
dynamic_linker="$host_os dld.sl"
14253
shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
14254
shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
14255
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14256
soname_spec='${libname}${release}${shared_ext}$major'
14257
sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
14258
sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
14262
dynamic_linker="$host_os dld.sl"
14263
shlibpath_var=SHLIB_PATH
14264
shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
14265
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14266
soname_spec='${libname}${release}${shared_ext}$major'
14269
# HP-UX runs *really* slowly unless shared libraries are mode 555.
14270
postinstall_cmds='chmod 555 $lib'
14277
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
14278
soname_spec='${libname}${release}${shared_ext}$major'
14279
dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)'
14280
shlibpath_var=LD_LIBRARY_PATH
14281
shlibpath_overrides_runpath=no
14282
hardcode_into_libs=yes
14285
irix5* | irix6* | nonstopux*)
14287
nonstopux*) version_type=nonstopux ;;
14289
if test "$lt_cv_prog_gnu_ld" = yes; then
14297
soname_spec='${libname}${release}${shared_ext}$major'
14298
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
14300
irix5* | nonstopux*)
14301
libsuff= shlibsuff=
14304
case $LD in # libtool.m4 will add one of these switches to LD
14305
*-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
14306
libsuff= shlibsuff= libmagic=32-bit;;
14307
*-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
14308
libsuff=32 shlibsuff=N32 libmagic=N32;;
14309
*-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
14310
libsuff=64 shlibsuff=64 libmagic=64-bit;;
14311
*) libsuff= shlibsuff= libmagic=never-match;;
14315
shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
14316
shlibpath_overrides_runpath=no
14317
sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
14318
sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}"
14319
hardcode_into_libs=yes
14322
# No shared lib support for Linux oldld, aout, or coff.
14323
linux*oldld* | linux*aout* | linux*coff*)
14327
# This must be Linux ELF.
14328
linux* | k*bsd*-gnu)
14332
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14333
soname_spec='${libname}${release}${shared_ext}$major'
14334
finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
14335
shlibpath_var=LD_LIBRARY_PATH
14336
shlibpath_overrides_runpath=no
14337
# This implies no fast_install, which is unacceptable.
14338
# Some rework will be needed to allow for fast_install
14339
# before this can be enabled.
14340
hardcode_into_libs=yes
14342
# Append ld.so.conf contents to the search path
14343
if test -f /etc/ld.so.conf; then
14344
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' ' '`
14345
sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra"
14348
# We used to test for /lib/ld.so.1 and disable shared libraries on
14349
# powerpc, because MkLinux only supported shared libraries with the
14350
# GNU dynamic linker. Since this was broken with cross compilers,
14351
# most powerpc-linux boxes support dynamic linking these days and
14352
# people can always --disable-shared, the test was removed, and we
14353
# assume the GNU/Linux dynamic linker is in use.
14354
dynamic_linker='GNU/Linux ld.so'
14361
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
14362
soname_spec='${libname}${release}${shared_ext}$major'
14363
shlibpath_var=LD_LIBRARY_PATH
14364
shlibpath_overrides_runpath=no
14365
hardcode_into_libs=yes
14366
dynamic_linker='NetBSD ld.elf_so'
14373
if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
14374
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
14375
finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
14376
dynamic_linker='NetBSD (a.out) ld.so'
14378
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
14379
soname_spec='${libname}${release}${shared_ext}$major'
14380
dynamic_linker='NetBSD ld.elf_so'
14382
shlibpath_var=LD_LIBRARY_PATH
14383
shlibpath_overrides_runpath=yes
14384
hardcode_into_libs=yes
14389
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14390
shlibpath_var=LD_LIBRARY_PATH
14391
shlibpath_overrides_runpath=yes
14398
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14399
soname_spec='${libname}${release}${shared_ext}$major'
14400
shlibpath_var=LD_LIBRARY_PATH
14401
shlibpath_overrides_runpath=yes
14406
sys_lib_dlsearch_path_spec="/usr/lib"
14408
# Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
14410
openbsd3.3 | openbsd3.3.*) need_version=yes ;;
14411
*) need_version=no ;;
14413
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
14414
finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
14415
shlibpath_var=LD_LIBRARY_PATH
14416
if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
14418
openbsd2.[89] | openbsd2.[89].*)
14419
shlibpath_overrides_runpath=no
14422
shlibpath_overrides_runpath=yes
14426
shlibpath_overrides_runpath=yes
14431
libname_spec='$name'
14434
library_names_spec='$libname${shared_ext} $libname.a'
14435
dynamic_linker='OS/2 ld.exe'
14436
shlibpath_var=LIBPATH
14439
osf3* | osf4* | osf5*)
14443
soname_spec='${libname}${release}${shared_ext}$major'
14444
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14445
shlibpath_var=LD_LIBRARY_PATH
14446
sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
14447
sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec"
14458
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14459
soname_spec='${libname}${release}${shared_ext}$major'
14460
shlibpath_var=LD_LIBRARY_PATH
14461
shlibpath_overrides_runpath=yes
14462
hardcode_into_libs=yes
14463
# ldd complains unless libraries are executable
14464
postinstall_cmds='chmod +x $lib'
14469
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
14470
finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
14471
shlibpath_var=LD_LIBRARY_PATH
14472
shlibpath_overrides_runpath=yes
14473
if test "$with_gnu_ld" = yes; then
14481
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14482
soname_spec='${libname}${release}${shared_ext}$major'
14483
shlibpath_var=LD_LIBRARY_PATH
14484
case $host_vendor in
14486
shlibpath_overrides_runpath=no
14488
export_dynamic_flag_spec='${wl}-Blargedynsym'
14489
runpath_var=LD_RUN_PATH
14497
shlibpath_overrides_runpath=no
14498
sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
14504
if test -d /usr/nec ;then
14506
library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
14507
soname_spec='$libname${shared_ext}.$major'
14508
shlibpath_var=LD_LIBRARY_PATH
14512
sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
14513
version_type=freebsd-elf
14516
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
14517
soname_spec='${libname}${release}${shared_ext}$major'
14518
shlibpath_var=LD_LIBRARY_PATH
14519
hardcode_into_libs=yes
14520
if test "$with_gnu_ld" = yes; then
14521
sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
14522
shlibpath_overrides_runpath=no
14524
sys_lib_search_path_spec='/usr/ccs/lib /usr/lib'
14525
shlibpath_overrides_runpath=yes
14528
sys_lib_search_path_spec="$sys_lib_search_path_spec /lib"
14532
sys_lib_dlsearch_path_spec='/usr/lib'
14537
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14538
soname_spec='${libname}${release}${shared_ext}$major'
14539
shlibpath_var=LD_LIBRARY_PATH
14546
{ echo "$as_me:$LINENO: result: $dynamic_linker" >&5
14547
echo "${ECHO_T}$dynamic_linker" >&6; }
14548
test "$dynamic_linker" = no && can_build_shared=no
14550
variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
14551
if test "$GCC" = yes; then
14552
variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
14555
{ echo "$as_me:$LINENO: checking how to hardcode library paths into programs" >&5
14556
echo $ECHO_N "checking how to hardcode library paths into programs... $ECHO_C" >&6; }
14557
hardcode_action_CXX=
14558
if test -n "$hardcode_libdir_flag_spec_CXX" || \
14559
test -n "$runpath_var_CXX" || \
14560
test "X$hardcode_automatic_CXX" = "Xyes" ; then
14562
# We can hardcode non-existant directories.
14563
if test "$hardcode_direct_CXX" != no &&
14564
# If the only mechanism to avoid hardcoding is shlibpath_var, we
14565
# have to relink, otherwise we might link with an installed library
14566
# when we should be linking with a yet-to-be-installed one
14567
## test "$_LT_AC_TAGVAR(hardcode_shlibpath_var, CXX)" != no &&
14568
test "$hardcode_minus_L_CXX" != no; then
14569
# Linking always hardcodes the temporary library directory.
14570
hardcode_action_CXX=relink
14572
# We can link without hardcoding, and we can hardcode nonexisting dirs.
14573
hardcode_action_CXX=immediate
14576
# We cannot hardcode anything, or else we can only hardcode existing
14578
hardcode_action_CXX=unsupported
14580
{ echo "$as_me:$LINENO: result: $hardcode_action_CXX" >&5
14581
echo "${ECHO_T}$hardcode_action_CXX" >&6; }
14583
if test "$hardcode_action_CXX" = relink; then
14584
# Fast installation is not supported
14585
enable_fast_install=no
14586
elif test "$shlibpath_overrides_runpath" = yes ||
14587
test "$enable_shared" = no; then
14588
# Fast installation is not necessary
14589
enable_fast_install=needless
14593
# The else clause should only fire when bootstrapping the
14594
# libtool distribution, otherwise you forgot to ship ltmain.sh
14595
# with your package, and you will get complaints that there are
14596
# no rules to generate ltmain.sh.
14597
if test -f "$ltmain"; then
14598
# See if we are running on zsh, and set the options which allow our commands through
14599
# without removal of \ escapes.
14600
if test -n "${ZSH_VERSION+set}" ; then
14601
setopt NO_GLOB_SUBST
14603
# Now quote all the things that may contain metacharacters while being
14604
# careful not to overquote the AC_SUBSTed values. We take copies of the
14605
# variables and quote the copies for generation of the libtool script.
14606
for var in echo old_CC old_CFLAGS AR AR_FLAGS EGREP RANLIB LN_S LTCC LTCFLAGS NM \
14608
libname_spec library_names_spec soname_spec extract_expsyms_cmds \
14609
old_striplib striplib file_magic_cmd finish_cmds finish_eval \
14610
deplibs_check_method reload_flag reload_cmds need_locks \
14611
lt_cv_sys_global_symbol_pipe lt_cv_sys_global_symbol_to_cdecl \
14612
lt_cv_sys_global_symbol_to_c_name_address \
14613
sys_lib_search_path_spec sys_lib_dlsearch_path_spec \
14614
old_postinstall_cmds old_postuninstall_cmds \
14618
lt_prog_compiler_wl_CXX \
14619
lt_prog_compiler_pic_CXX \
14620
lt_prog_compiler_static_CXX \
14621
lt_prog_compiler_no_builtin_flag_CXX \
14622
export_dynamic_flag_spec_CXX \
14623
thread_safe_flag_spec_CXX \
14624
whole_archive_flag_spec_CXX \
14625
enable_shared_with_static_runtimes_CXX \
14626
old_archive_cmds_CXX \
14627
old_archive_from_new_cmds_CXX \
14628
predep_objects_CXX \
14629
postdep_objects_CXX \
14632
compiler_lib_search_path_CXX \
14634
archive_expsym_cmds_CXX \
14635
postinstall_cmds_CXX \
14636
postuninstall_cmds_CXX \
14637
old_archive_from_expsyms_cmds_CXX \
14638
allow_undefined_flag_CXX \
14639
no_undefined_flag_CXX \
14640
export_symbols_cmds_CXX \
14641
hardcode_libdir_flag_spec_CXX \
14642
hardcode_libdir_flag_spec_ld_CXX \
14643
hardcode_libdir_separator_CXX \
14644
hardcode_automatic_CXX \
14646
module_expsym_cmds_CXX \
14647
lt_cv_prog_compiler_c_o_CXX \
14648
fix_srcfile_path_CXX \
14649
exclude_expsyms_CXX \
14650
include_expsyms_CXX; do
14653
old_archive_cmds_CXX | \
14654
old_archive_from_new_cmds_CXX | \
14655
archive_cmds_CXX | \
14656
archive_expsym_cmds_CXX | \
14657
module_cmds_CXX | \
14658
module_expsym_cmds_CXX | \
14659
old_archive_from_expsyms_cmds_CXX | \
14660
export_symbols_cmds_CXX | \
14661
extract_expsyms_cmds | reload_cmds | finish_cmds | \
14662
postinstall_cmds | postuninstall_cmds | \
14663
old_postinstall_cmds | old_postuninstall_cmds | \
14664
sys_lib_search_path_spec | sys_lib_dlsearch_path_spec)
14665
# Double-quote double-evaled strings.
14666
eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$double_quote_subst\" -e \"\$sed_quote_subst\" -e \"\$delay_variable_subst\"\`\\\""
14669
eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$sed_quote_subst\"\`\\\""
14675
*'\$0 --fallback-echo"')
14676
lt_echo=`$echo "X$lt_echo" | $Xsed -e 's/\\\\\\\$0 --fallback-echo"$/$0 --fallback-echo"/'`
14682
cat <<__EOF__ >> "$cfgfile"
14683
# ### BEGIN LIBTOOL TAG CONFIG: $tagname
14685
# Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
14687
# Shell to use when invoking shell scripts.
14690
# Whether or not to build shared libraries.
14691
build_libtool_libs=$enable_shared
14693
# Whether or not to build static libraries.
14694
build_old_libs=$enable_static
14696
# Whether or not to add -lc for building shared libraries.
14697
build_libtool_need_lc=$archive_cmds_need_lc_CXX
14699
# Whether or not to disallow shared libs when runtime libs are static
14700
allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes_CXX
14702
# Whether or not to optimize for fast installation.
14703
fast_install=$enable_fast_install
14706
host_alias=$host_alias
14710
# The build system.
14711
build_alias=$build_alias
14715
# An echo program that does not interpret backslashes.
14720
AR_FLAGS=$lt_AR_FLAGS
14725
# LTCC compiler flags.
14726
LTCFLAGS=$lt_LTCFLAGS
14728
# A language-specific compiler.
14729
CC=$lt_compiler_CXX
14731
# Is the compiler the GNU C compiler?
14737
# The linker used to build libraries.
14740
# Whether we need hard or soft links.
14743
# A BSD-compatible nm program.
14746
# A symbol stripping program
14749
# Used to examine libraries when file_magic_cmd begins "file"
14750
MAGIC_CMD=$MAGIC_CMD
14752
# Used on cygwin: DLL creation program.
14755
# Used on cygwin: object dumper.
14758
# Used on cygwin: assembler.
14761
# The name of the directory that contains temporary libtool files.
14764
# How to create reloadable object files.
14765
reload_flag=$lt_reload_flag
14766
reload_cmds=$lt_reload_cmds
14768
# How to pass a linker flag through the compiler.
14769
wl=$lt_lt_prog_compiler_wl_CXX
14771
# Object file suffix (normally "o").
14772
objext="$ac_objext"
14774
# Old archive suffix (normally "a").
14777
# Shared library suffix (normally ".so").
14778
shrext_cmds='$shrext_cmds'
14780
# Executable file suffix (normally "").
14783
# Additional compiler flags for building library objects.
14784
pic_flag=$lt_lt_prog_compiler_pic_CXX
14787
# What is the maximum length of a command?
14788
max_cmd_len=$lt_cv_sys_max_cmd_len
14790
# Does compiler simultaneously support -c and -o options?
14791
compiler_c_o=$lt_lt_cv_prog_compiler_c_o_CXX
14793
# Must we lock files when doing compilation?
14794
need_locks=$lt_need_locks
14796
# Do we need the lib prefix for modules?
14797
need_lib_prefix=$need_lib_prefix
14799
# Do we need a version for libraries?
14800
need_version=$need_version
14802
# Whether dlopen is supported.
14803
dlopen_support=$enable_dlopen
14805
# Whether dlopen of programs is supported.
14806
dlopen_self=$enable_dlopen_self
14808
# Whether dlopen of statically linked programs is supported.
14809
dlopen_self_static=$enable_dlopen_self_static
14811
# Compiler flag to prevent dynamic linking.
14812
link_static_flag=$lt_lt_prog_compiler_static_CXX
14814
# Compiler flag to turn off builtin functions.
14815
no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag_CXX
14817
# Compiler flag to allow reflexive dlopens.
14818
export_dynamic_flag_spec=$lt_export_dynamic_flag_spec_CXX
14820
# Compiler flag to generate shared objects directly from archives.
14821
whole_archive_flag_spec=$lt_whole_archive_flag_spec_CXX
14823
# Compiler flag to generate thread-safe objects.
14824
thread_safe_flag_spec=$lt_thread_safe_flag_spec_CXX
14826
# Library versioning type.
14827
version_type=$version_type
14829
# Format of library name prefix.
14830
libname_spec=$lt_libname_spec
14832
# List of archive names. First name is the real one, the rest are links.
14833
# The last name is the one that the linker finds with -lNAME.
14834
library_names_spec=$lt_library_names_spec
14836
# The coded name of the library, if different from the real name.
14837
soname_spec=$lt_soname_spec
14839
# Commands used to build and install an old-style archive.
14841
old_archive_cmds=$lt_old_archive_cmds_CXX
14842
old_postinstall_cmds=$lt_old_postinstall_cmds
14843
old_postuninstall_cmds=$lt_old_postuninstall_cmds
14845
# Create an old-style archive from a shared archive.
14846
old_archive_from_new_cmds=$lt_old_archive_from_new_cmds_CXX
14848
# Create a temporary old-style archive to link instead of a shared archive.
14849
old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds_CXX
14851
# Commands used to build and install a shared archive.
14852
archive_cmds=$lt_archive_cmds_CXX
14853
archive_expsym_cmds=$lt_archive_expsym_cmds_CXX
14854
postinstall_cmds=$lt_postinstall_cmds
14855
postuninstall_cmds=$lt_postuninstall_cmds
14857
# Commands used to build a loadable module (assumed same as above if empty)
14858
module_cmds=$lt_module_cmds_CXX
14859
module_expsym_cmds=$lt_module_expsym_cmds_CXX
14861
# Commands to strip libraries.
14862
old_striplib=$lt_old_striplib
14863
striplib=$lt_striplib
14865
# Dependencies to place before the objects being linked to create a
14867
predep_objects=$lt_predep_objects_CXX
14869
# Dependencies to place after the objects being linked to create a
14871
postdep_objects=$lt_postdep_objects_CXX
14873
# Dependencies to place before the objects being linked to create a
14875
predeps=$lt_predeps_CXX
14877
# Dependencies to place after the objects being linked to create a
14879
postdeps=$lt_postdeps_CXX
14881
# The library search path used internally by the compiler when linking
14882
# a shared library.
14883
compiler_lib_search_path=$lt_compiler_lib_search_path_CXX
14885
# Method to check whether dependent libraries are shared objects.
14886
deplibs_check_method=$lt_deplibs_check_method
14888
# Command to use when deplibs_check_method == file_magic.
14889
file_magic_cmd=$lt_file_magic_cmd
14891
# Flag that allows shared libraries with undefined symbols to be built.
14892
allow_undefined_flag=$lt_allow_undefined_flag_CXX
14894
# Flag that forces no undefined symbols.
14895
no_undefined_flag=$lt_no_undefined_flag_CXX
14897
# Commands used to finish a libtool library installation in a directory.
14898
finish_cmds=$lt_finish_cmds
14900
# Same as above, but a single script fragment to be evaled but not shown.
14901
finish_eval=$lt_finish_eval
14903
# Take the output of nm and produce a listing of raw symbols and C names.
14904
global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
14906
# Transform the output of nm in a proper C declaration
14907
global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
14909
# Transform the output of nm in a C name address pair
14910
global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
14912
# This is the shared library runtime path variable.
14913
runpath_var=$runpath_var
14915
# This is the shared library path variable.
14916
shlibpath_var=$shlibpath_var
14918
# Is shlibpath searched before the hard-coded library search path?
14919
shlibpath_overrides_runpath=$shlibpath_overrides_runpath
14921
# How to hardcode a shared library path into an executable.
14922
hardcode_action=$hardcode_action_CXX
14924
# Whether we should hardcode library paths into libraries.
14925
hardcode_into_libs=$hardcode_into_libs
14927
# Flag to hardcode \$libdir into a binary during linking.
14928
# This must work even if \$libdir does not exist.
14929
hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec_CXX
14931
# If ld is used when linking, flag to hardcode \$libdir into
14932
# a binary during linking. This must work even if \$libdir does
14934
hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld_CXX
14936
# Whether we need a single -rpath flag with a separated argument.
14937
hardcode_libdir_separator=$lt_hardcode_libdir_separator_CXX
14939
# Set to yes if using DIR/libNAME${shared_ext} during linking hardcodes DIR into the
14940
# resulting binary.
14941
hardcode_direct=$hardcode_direct_CXX
14943
# Set to yes if using the -LDIR flag during linking hardcodes DIR into the
14944
# resulting binary.
14945
hardcode_minus_L=$hardcode_minus_L_CXX
14947
# Set to yes if using SHLIBPATH_VAR=DIR during linking hardcodes DIR into
14948
# the resulting binary.
14949
hardcode_shlibpath_var=$hardcode_shlibpath_var_CXX
14951
# Set to yes if building a shared library automatically hardcodes DIR into the library
14952
# and all subsequent libraries and executables linked against it.
14953
hardcode_automatic=$hardcode_automatic_CXX
14955
# Variables whose values should be saved in libtool wrapper scripts and
14956
# restored at relink time.
14957
variables_saved_for_relink="$variables_saved_for_relink"
14959
# Whether libtool must link a program against all its dependency libraries.
14960
link_all_deplibs=$link_all_deplibs_CXX
14962
# Compile-time system search path for libraries
14963
sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
14965
# Run-time system search path for libraries
14966
sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
14968
# Fix the shell variable \$srcfile for the compiler.
14969
fix_srcfile_path=$lt_fix_srcfile_path
14971
# Set to yes if exported symbols are required.
14972
always_export_symbols=$always_export_symbols_CXX
14974
# The commands to list exported symbols.
14975
export_symbols_cmds=$lt_export_symbols_cmds_CXX
14977
# The commands to extract the exported symbol list from a shared archive.
14978
extract_expsyms_cmds=$lt_extract_expsyms_cmds
14980
# Symbols that should not be listed in the preloaded symbols.
14981
exclude_expsyms=$lt_exclude_expsyms_CXX
14983
# Symbols that must always be exported.
14984
include_expsyms=$lt_include_expsyms_CXX
14986
# ### END LIBTOOL TAG CONFIG: $tagname
14992
# If there is no Makefile yet, we rely on a make rule to execute
14993
# `config.status --recheck' to rerun these tests and create the
14994
# libtool script then.
14995
ltmain_in=`echo $ltmain | sed -e 's/\.sh$/.in/'`
14996
if test -f "$ltmain_in"; then
14997
test -f Makefile && make "$ltmain"
15003
ac_cpp='$CPP $CPPFLAGS'
15004
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15005
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15006
ac_compiler_gnu=$ac_cv_c_compiler_gnu
15012
with_gnu_ldcxx=$with_gnu_ld
15013
with_gnu_ld=$lt_save_with_gnu_ld
15014
lt_cv_path_LDCXX=$lt_cv_path_LD
15015
lt_cv_path_LD=$lt_save_path_LD
15016
lt_cv_prog_gnu_ldcxx=$lt_cv_prog_gnu_ld
15017
lt_cv_prog_gnu_ld=$lt_save_with_gnu_ld
15025
if test -n "$F77" && test "X$F77" != "Xno"; then
15028
ac_compile='$F77 -c $FFLAGS conftest.$ac_ext >&5'
15029
ac_link='$F77 -o conftest$ac_exeext $FFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15030
ac_compiler_gnu=$ac_cv_f77_compiler_gnu
15033
archive_cmds_need_lc_F77=no
15034
allow_undefined_flag_F77=
15035
always_export_symbols_F77=no
15036
archive_expsym_cmds_F77=
15037
export_dynamic_flag_spec_F77=
15038
hardcode_direct_F77=no
15039
hardcode_libdir_flag_spec_F77=
15040
hardcode_libdir_flag_spec_ld_F77=
15041
hardcode_libdir_separator_F77=
15042
hardcode_minus_L_F77=no
15043
hardcode_automatic_F77=no
15045
module_expsym_cmds_F77=
15046
link_all_deplibs_F77=unknown
15047
old_archive_cmds_F77=$old_archive_cmds
15048
no_undefined_flag_F77=
15049
whole_archive_flag_spec_F77=
15050
enable_shared_with_static_runtimes_F77=no
15052
# Source file extension for f77 test sources.
15055
# Object file extension for compiled f77 test sources.
15059
# Code to be used in simple compile tests
15060
lt_simple_compile_test_code="\
15066
# Code to be used in simple link tests
15067
lt_simple_link_test_code="\
15072
# ltmain only uses $CC for tagged configurations so make sure $CC is set.
15074
# If no C compiler was specified, use CC.
15077
# If no C compiler flags were specified, use CFLAGS.
15078
LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
15080
# Allow CC to be a program name with arguments.
15084
# save warnings/boilerplate of simple test code
15085
ac_outfile=conftest.$ac_objext
15086
echo "$lt_simple_compile_test_code" >conftest.$ac_ext
15087
eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
15088
_lt_compiler_boilerplate=`cat conftest.err`
15091
ac_outfile=conftest.$ac_objext
15092
echo "$lt_simple_link_test_code" >conftest.$ac_ext
15093
eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
15094
_lt_linker_boilerplate=`cat conftest.err`
15098
# Allow CC to be a program name with arguments.
15103
for cc_temp in $compiler""; do
15105
compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
15106
distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
15111
cc_basename=`$echo "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
15114
{ echo "$as_me:$LINENO: checking if libtool supports shared libraries" >&5
15115
echo $ECHO_N "checking if libtool supports shared libraries... $ECHO_C" >&6; }
15116
{ echo "$as_me:$LINENO: result: $can_build_shared" >&5
15117
echo "${ECHO_T}$can_build_shared" >&6; }
15119
{ echo "$as_me:$LINENO: checking whether to build shared libraries" >&5
15120
echo $ECHO_N "checking whether to build shared libraries... $ECHO_C" >&6; }
15121
test "$can_build_shared" = "no" && enable_shared=no
15123
# On AIX, shared libraries and static libraries use the same namespace, and
15124
# are all built from PIC.
15127
test "$enable_shared" = yes && enable_static=no
15128
if test -n "$RANLIB"; then
15129
archive_cmds="$archive_cmds~\$RANLIB \$lib"
15130
postinstall_cmds='$RANLIB $lib'
15134
if test "$host_cpu" != ia64 && test "$aix_use_runtimelinking" = no ; then
15135
test "$enable_shared" = yes && enable_static=no
15139
{ echo "$as_me:$LINENO: result: $enable_shared" >&5
15140
echo "${ECHO_T}$enable_shared" >&6; }
15142
{ echo "$as_me:$LINENO: checking whether to build static libraries" >&5
15143
echo $ECHO_N "checking whether to build static libraries... $ECHO_C" >&6; }
15144
# Make sure either enable_shared or enable_static is yes.
15145
test "$enable_shared" = yes || enable_static=yes
15146
{ echo "$as_me:$LINENO: result: $enable_static" >&5
15147
echo "${ECHO_T}$enable_static" >&6; }
15152
lt_prog_compiler_wl_F77=
15153
lt_prog_compiler_pic_F77=
15154
lt_prog_compiler_static_F77=
15156
{ echo "$as_me:$LINENO: checking for $compiler option to produce PIC" >&5
15157
echo $ECHO_N "checking for $compiler option to produce PIC... $ECHO_C" >&6; }
15159
if test "$GCC" = yes; then
15160
lt_prog_compiler_wl_F77='-Wl,'
15161
lt_prog_compiler_static_F77='-static'
15165
# All AIX code is PIC.
15166
if test "$host_cpu" = ia64; then
15167
# AIX 5 now supports IA64 processor
15168
lt_prog_compiler_static_F77='-Bstatic'
15173
# FIXME: we need at least 68020 code to build shared libraries, but
15174
# adding the `-m68020' flag to GCC prevents building anything better,
15176
lt_prog_compiler_pic_F77='-m68020 -resident32 -malways-restore-a4'
15179
beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
15180
# PIC is the default for these OSes.
15183
mingw* | cygwin* | pw32* | os2*)
15184
# This hack is so that the source file can tell whether it is being
15185
# built for inclusion in a dll (and should export symbols for example).
15186
# Although the cygwin gcc ignores -fPIC, still need this for old-style
15187
# (--disable-auto-import) libraries
15188
lt_prog_compiler_pic_F77='-DDLL_EXPORT'
15191
darwin* | rhapsody*)
15192
# PIC is the default on this platform
15193
# Common symbols not allowed in MH_DYLIB files
15194
lt_prog_compiler_pic_F77='-fno-common'
15198
# Interix 3.x gcc -fpic/-fPIC options generate broken code.
15199
# Instead, we relocate shared libraries at runtime.
15203
# Just because we use GCC doesn't mean we suddenly get shared libraries
15204
# on systems that don't support them.
15205
lt_prog_compiler_can_build_shared_F77=no
15210
if test -d /usr/nec; then
15211
lt_prog_compiler_pic_F77=-Kconform_pic
15216
# PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
15217
# not for PA HP-UX.
15223
lt_prog_compiler_pic_F77='-fPIC'
15229
lt_prog_compiler_pic_F77='-fPIC'
15233
# PORTME Check for flag to pass linker flags through the system compiler.
15236
lt_prog_compiler_wl_F77='-Wl,'
15237
if test "$host_cpu" = ia64; then
15238
# AIX 5 now supports IA64 processor
15239
lt_prog_compiler_static_F77='-Bstatic'
15241
lt_prog_compiler_static_F77='-bnso -bI:/lib/syscalls.exp'
15245
# PIC is the default on this platform
15246
# Common symbols not allowed in MH_DYLIB files
15247
case $cc_basename in
15249
lt_prog_compiler_pic_F77='-qnocommon'
15250
lt_prog_compiler_wl_F77='-Wl,'
15255
mingw* | cygwin* | pw32* | os2*)
15256
# This hack is so that the source file can tell whether it is being
15257
# built for inclusion in a dll (and should export symbols for example).
15258
lt_prog_compiler_pic_F77='-DDLL_EXPORT'
15261
hpux9* | hpux10* | hpux11*)
15262
lt_prog_compiler_wl_F77='-Wl,'
15263
# PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
15264
# not for PA HP-UX.
15270
lt_prog_compiler_pic_F77='+Z'
15273
# Is there a better lt_prog_compiler_static that works with the bundled CC?
15274
lt_prog_compiler_static_F77='${wl}-a ${wl}archive'
15277
irix5* | irix6* | nonstopux*)
15278
lt_prog_compiler_wl_F77='-Wl,'
15279
# PIC (with -KPIC) is the default.
15280
lt_prog_compiler_static_F77='-non_shared'
15284
lt_prog_compiler_pic_F77='-KPIC'
15285
lt_prog_compiler_static_F77='-Bstatic'
15288
linux* | k*bsd*-gnu)
15289
case $cc_basename in
15291
lt_prog_compiler_wl_F77='-Wl,'
15292
lt_prog_compiler_pic_F77='-KPIC'
15293
lt_prog_compiler_static_F77='-static'
15295
pgcc* | pgf77* | pgf90* | pgf95*)
15296
# Portland Group compilers (*not* the Pentium gcc compiler,
15297
# which looks to be a dead project)
15298
lt_prog_compiler_wl_F77='-Wl,'
15299
lt_prog_compiler_pic_F77='-fpic'
15300
lt_prog_compiler_static_F77='-Bstatic'
15303
lt_prog_compiler_wl_F77='-Wl,'
15304
# All Alpha code is PIC.
15305
lt_prog_compiler_static_F77='-non_shared'
15308
case `$CC -V 2>&1 | sed 5q` in
15311
lt_prog_compiler_pic_F77='-KPIC'
15312
lt_prog_compiler_static_F77='-Bstatic'
15313
lt_prog_compiler_wl_F77='-Wl,'
15316
# Sun Fortran 8.3 passes all unrecognized flags to the linker
15317
lt_prog_compiler_pic_F77='-KPIC'
15318
lt_prog_compiler_static_F77='-Bstatic'
15319
lt_prog_compiler_wl_F77=''
15326
osf3* | osf4* | osf5*)
15327
lt_prog_compiler_wl_F77='-Wl,'
15328
# All OSF/1 code is PIC.
15329
lt_prog_compiler_static_F77='-non_shared'
15333
lt_prog_compiler_static_F77='-non_shared'
15337
lt_prog_compiler_pic_F77='-KPIC'
15338
lt_prog_compiler_static_F77='-Bstatic'
15339
case $cc_basename in
15340
f77* | f90* | f95*)
15341
lt_prog_compiler_wl_F77='-Qoption ld ';;
15343
lt_prog_compiler_wl_F77='-Wl,';;
15348
lt_prog_compiler_wl_F77='-Qoption ld '
15349
lt_prog_compiler_pic_F77='-PIC'
15350
lt_prog_compiler_static_F77='-Bstatic'
15353
sysv4 | sysv4.2uw2* | sysv4.3*)
15354
lt_prog_compiler_wl_F77='-Wl,'
15355
lt_prog_compiler_pic_F77='-KPIC'
15356
lt_prog_compiler_static_F77='-Bstatic'
15360
if test -d /usr/nec ;then
15361
lt_prog_compiler_pic_F77='-Kconform_pic'
15362
lt_prog_compiler_static_F77='-Bstatic'
15366
sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
15367
lt_prog_compiler_wl_F77='-Wl,'
15368
lt_prog_compiler_pic_F77='-KPIC'
15369
lt_prog_compiler_static_F77='-Bstatic'
15373
lt_prog_compiler_wl_F77='-Wl,'
15374
lt_prog_compiler_can_build_shared_F77=no
15378
lt_prog_compiler_pic_F77='-pic'
15379
lt_prog_compiler_static_F77='-Bstatic'
15383
lt_prog_compiler_can_build_shared_F77=no
15388
{ echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_F77" >&5
15389
echo "${ECHO_T}$lt_prog_compiler_pic_F77" >&6; }
15392
# Check to make sure the PIC flag actually works.
15394
if test -n "$lt_prog_compiler_pic_F77"; then
15396
{ echo "$as_me:$LINENO: checking if $compiler PIC flag $lt_prog_compiler_pic_F77 works" >&5
15397
echo $ECHO_N "checking if $compiler PIC flag $lt_prog_compiler_pic_F77 works... $ECHO_C" >&6; }
15398
if test "${lt_prog_compiler_pic_works_F77+set}" = set; then
15399
echo $ECHO_N "(cached) $ECHO_C" >&6
15401
lt_prog_compiler_pic_works_F77=no
15402
ac_outfile=conftest.$ac_objext
15403
echo "$lt_simple_compile_test_code" > conftest.$ac_ext
15404
lt_compiler_flag="$lt_prog_compiler_pic_F77"
15405
# Insert the option either (1) after the last *FLAGS variable, or
15406
# (2) before a word containing "conftest.", or (3) at the end.
15407
# Note that $ac_compile itself does not contain backslashes and begins
15408
# with a dollar sign (not a hyphen), so the echo should work correctly.
15409
# The option is referenced via a variable to avoid confusing sed.
15410
lt_compile=`echo "$ac_compile" | $SED \
15411
-e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
15412
-e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
15413
-e 's:$: $lt_compiler_flag:'`
15414
(eval echo "\"\$as_me:__oline__: $lt_compile\"" >&5)
15415
(eval "$lt_compile" 2>conftest.err)
15417
cat conftest.err >&5
15418
echo "$as_me:__oline__: \$? = $ac_status" >&5
15419
if (exit $ac_status) && test -s "$ac_outfile"; then
15420
# The compiler can only warn and ignore the option if not recognized
15421
# So say no if there are warnings other than the usual output.
15422
$echo "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' >conftest.exp
15423
$SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
15424
if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
15425
lt_prog_compiler_pic_works_F77=yes
15431
{ echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_works_F77" >&5
15432
echo "${ECHO_T}$lt_prog_compiler_pic_works_F77" >&6; }
15434
if test x"$lt_prog_compiler_pic_works_F77" = xyes; then
15435
case $lt_prog_compiler_pic_F77 in
15437
*) lt_prog_compiler_pic_F77=" $lt_prog_compiler_pic_F77" ;;
15440
lt_prog_compiler_pic_F77=
15441
lt_prog_compiler_can_build_shared_F77=no
15446
# For platforms which do not support PIC, -DPIC is meaningless:
15448
lt_prog_compiler_pic_F77=
15451
lt_prog_compiler_pic_F77="$lt_prog_compiler_pic_F77"
15456
# Check to make sure the static flag actually works.
15458
wl=$lt_prog_compiler_wl_F77 eval lt_tmp_static_flag=\"$lt_prog_compiler_static_F77\"
15459
{ echo "$as_me:$LINENO: checking if $compiler static flag $lt_tmp_static_flag works" >&5
15460
echo $ECHO_N "checking if $compiler static flag $lt_tmp_static_flag works... $ECHO_C" >&6; }
15461
if test "${lt_prog_compiler_static_works_F77+set}" = set; then
15462
echo $ECHO_N "(cached) $ECHO_C" >&6
15464
lt_prog_compiler_static_works_F77=no
15465
save_LDFLAGS="$LDFLAGS"
15466
LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
15467
echo "$lt_simple_link_test_code" > conftest.$ac_ext
15468
if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
15469
# The linker can only warn and ignore the option if not recognized
15470
# So say no if there are warnings
15471
if test -s conftest.err; then
15472
# Append any errors to the config.log.
15473
cat conftest.err 1>&5
15474
$echo "X$_lt_linker_boilerplate" | $Xsed -e '/^$/d' > conftest.exp
15475
$SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
15476
if diff conftest.exp conftest.er2 >/dev/null; then
15477
lt_prog_compiler_static_works_F77=yes
15480
lt_prog_compiler_static_works_F77=yes
15484
LDFLAGS="$save_LDFLAGS"
15487
{ echo "$as_me:$LINENO: result: $lt_prog_compiler_static_works_F77" >&5
15488
echo "${ECHO_T}$lt_prog_compiler_static_works_F77" >&6; }
15490
if test x"$lt_prog_compiler_static_works_F77" = xyes; then
15493
lt_prog_compiler_static_F77=
15497
{ echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5
15498
echo $ECHO_N "checking if $compiler supports -c -o file.$ac_objext... $ECHO_C" >&6; }
15499
if test "${lt_cv_prog_compiler_c_o_F77+set}" = set; then
15500
echo $ECHO_N "(cached) $ECHO_C" >&6
15502
lt_cv_prog_compiler_c_o_F77=no
15503
$rm -r conftest 2>/dev/null
15507
echo "$lt_simple_compile_test_code" > conftest.$ac_ext
15509
lt_compiler_flag="-o out/conftest2.$ac_objext"
15510
# Insert the option either (1) after the last *FLAGS variable, or
15511
# (2) before a word containing "conftest.", or (3) at the end.
15512
# Note that $ac_compile itself does not contain backslashes and begins
15513
# with a dollar sign (not a hyphen), so the echo should work correctly.
15514
lt_compile=`echo "$ac_compile" | $SED \
15515
-e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
15516
-e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
15517
-e 's:$: $lt_compiler_flag:'`
15518
(eval echo "\"\$as_me:__oline__: $lt_compile\"" >&5)
15519
(eval "$lt_compile" 2>out/conftest.err)
15521
cat out/conftest.err >&5
15522
echo "$as_me:__oline__: \$? = $ac_status" >&5
15523
if (exit $ac_status) && test -s out/conftest2.$ac_objext
15525
# The compiler can only warn and ignore the option if not recognized
15526
# So say no if there are warnings
15527
$echo "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' > out/conftest.exp
15528
$SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
15529
if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
15530
lt_cv_prog_compiler_c_o_F77=yes
15535
# SGI C++ compiler will create directory out/ii_files/ for
15536
# template instantiation
15537
test -d out/ii_files && $rm out/ii_files/* && rmdir out/ii_files
15538
$rm out/* && rmdir out
15544
{ echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_c_o_F77" >&5
15545
echo "${ECHO_T}$lt_cv_prog_compiler_c_o_F77" >&6; }
15548
hard_links="nottested"
15549
if test "$lt_cv_prog_compiler_c_o_F77" = no && test "$need_locks" != no; then
15550
# do not overwrite the value of need_locks provided by the user
15551
{ echo "$as_me:$LINENO: checking if we can lock with hard links" >&5
15552
echo $ECHO_N "checking if we can lock with hard links... $ECHO_C" >&6; }
15555
ln conftest.a conftest.b 2>/dev/null && hard_links=no
15557
ln conftest.a conftest.b 2>&5 || hard_links=no
15558
ln conftest.a conftest.b 2>/dev/null && hard_links=no
15559
{ echo "$as_me:$LINENO: result: $hard_links" >&5
15560
echo "${ECHO_T}$hard_links" >&6; }
15561
if test "$hard_links" = no; then
15562
{ echo "$as_me:$LINENO: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
15563
echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
15570
{ echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5
15571
echo $ECHO_N "checking whether the $compiler linker ($LD) supports shared libraries... $ECHO_C" >&6; }
15574
allow_undefined_flag_F77=
15575
enable_shared_with_static_runtimes_F77=no
15577
archive_expsym_cmds_F77=
15578
old_archive_From_new_cmds_F77=
15579
old_archive_from_expsyms_cmds_F77=
15580
export_dynamic_flag_spec_F77=
15581
whole_archive_flag_spec_F77=
15582
thread_safe_flag_spec_F77=
15583
hardcode_libdir_flag_spec_F77=
15584
hardcode_libdir_flag_spec_ld_F77=
15585
hardcode_libdir_separator_F77=
15586
hardcode_direct_F77=no
15587
hardcode_minus_L_F77=no
15588
hardcode_shlibpath_var_F77=unsupported
15589
link_all_deplibs_F77=unknown
15590
hardcode_automatic_F77=no
15592
module_expsym_cmds_F77=
15593
always_export_symbols_F77=no
15594
export_symbols_cmds_F77='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
15595
# include_expsyms should be a list of space-separated symbols to be *always*
15596
# included in the symbol list
15597
include_expsyms_F77=
15598
# exclude_expsyms can be an extended regexp of symbols to exclude
15599
# it will be wrapped by ` (' and `)$', so one must not match beginning or
15600
# end of line. Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
15601
# as well as any symbol that contains `d'.
15602
exclude_expsyms_F77="_GLOBAL_OFFSET_TABLE_"
15603
# Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
15604
# platforms (ab)use it in PIC code, but their linkers get confused if
15605
# the symbol is explicitly referenced. Since portable code cannot
15606
# rely on this symbol name, it's probably fine to never include it in
15607
# preloaded symbol tables.
15608
extract_expsyms_cmds=
15609
# Just being paranoid about ensuring that cc_basename is set.
15610
for cc_temp in $compiler""; do
15612
compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
15613
distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
15618
cc_basename=`$echo "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
15621
cygwin* | mingw* | pw32*)
15622
# FIXME: the MSVC++ port hasn't been tested in a loooong time
15623
# When not using gcc, we currently assume that we are using
15624
# Microsoft Visual C++.
15625
if test "$GCC" != yes; then
15630
# we just hope/assume this is gcc and not c89 (= MSVC++)
15639
if test "$with_gnu_ld" = yes; then
15640
# If archive_cmds runs LD, not CC, wlarc should be empty
15643
# Set some defaults for GNU ld with shared library support. These
15644
# are reset later if shared libraries are not supported. Putting them
15645
# here allows them to be overridden if necessary.
15646
runpath_var=LD_RUN_PATH
15647
hardcode_libdir_flag_spec_F77='${wl}--rpath ${wl}$libdir'
15648
export_dynamic_flag_spec_F77='${wl}--export-dynamic'
15649
# ancient GNU ld didn't support --whole-archive et. al.
15650
if $LD --help 2>&1 | grep 'no-whole-archive' > /dev/null; then
15651
whole_archive_flag_spec_F77="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
15653
whole_archive_flag_spec_F77=
15655
supports_anon_versioning=no
15656
case `$LD -v 2>/dev/null` in
15657
*\ [01].* | *\ 2.[0-9].* | *\ 2.10.*) ;; # catch versions < 2.11
15658
*\ 2.11.93.0.2\ *) supports_anon_versioning=yes ;; # RH7.3 ...
15659
*\ 2.11.92.0.12\ *) supports_anon_versioning=yes ;; # Mandrake 8.2 ...
15660
*\ 2.11.*) ;; # other 2.11 versions
15661
*) supports_anon_versioning=yes ;;
15664
# See if GNU ld supports shared libraries.
15666
aix3* | aix4* | aix5*)
15667
# On AIX/PPC, the GNU linker is very broken
15668
if test "$host_cpu" != ia64; then
15672
*** Warning: the GNU linker, at least up to release 2.9.1, is reported
15673
*** to be unable to reliably create shared libraries on AIX.
15674
*** Therefore, libtool is disabling shared libraries support. If you
15675
*** really care for shared libraries, you may want to modify your PATH
15676
*** so that a non-GNU linker is found, and then restart.
15683
archive_cmds_F77='$rm $output_objdir/a2ixlibrary.data~$echo "#define NAME $libname" > $output_objdir/a2ixlibrary.data~$echo "#define LIBRARY_ID 1" >> $output_objdir/a2ixlibrary.data~$echo "#define VERSION $major" >> $output_objdir/a2ixlibrary.data~$echo "#define REVISION $revision" >> $output_objdir/a2ixlibrary.data~$AR $AR_FLAGS $lib $libobjs~$RANLIB $lib~(cd $output_objdir && a2ixlibrary -32)'
15684
hardcode_libdir_flag_spec_F77='-L$libdir'
15685
hardcode_minus_L_F77=yes
15687
# Samuel A. Falvo II <kc5tja@dolphin.openprojects.net> reports
15688
# that the semantics of dynamic libraries on AmigaOS, at least up
15689
# to version 4, is to share data among multiple programs linked
15690
# with the same dynamic library. Since this doesn't match the
15691
# behavior of shared libraries on other platforms, we can't use
15697
if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
15698
allow_undefined_flag_F77=unsupported
15699
# Joseph Beckenbach <jrb3@best.com> says some releases of gcc
15700
# support --undefined. This deserves some investigation. FIXME
15701
archive_cmds_F77='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
15707
cygwin* | mingw* | pw32*)
15708
# _LT_AC_TAGVAR(hardcode_libdir_flag_spec, F77) is actually meaningless,
15709
# as there is no search path for DLLs.
15710
hardcode_libdir_flag_spec_F77='-L$libdir'
15711
allow_undefined_flag_F77=unsupported
15712
always_export_symbols_F77=no
15713
enable_shared_with_static_runtimes_F77=yes
15714
export_symbols_cmds_F77='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1 DATA/'\'' -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols'
15716
if $LD --help 2>&1 | grep 'auto-import' > /dev/null; then
15717
archive_cmds_F77='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
15718
# If the export-symbols file already is a .def file (1st line
15719
# is EXPORTS), use it as is; otherwise, prepend...
15720
archive_expsym_cmds_F77='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
15721
cp $export_symbols $output_objdir/$soname.def;
15723
echo EXPORTS > $output_objdir/$soname.def;
15724
cat $export_symbols >> $output_objdir/$soname.def;
15726
$CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
15733
hardcode_direct_F77=no
15734
hardcode_shlibpath_var_F77=no
15735
hardcode_libdir_flag_spec_F77='${wl}-rpath,$libdir'
15736
export_dynamic_flag_spec_F77='${wl}-E'
15737
# Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
15738
# Instead, shared libraries are loaded at an image base (0x10000000 by
15739
# default) and relocated if they conflict, which is a slow very memory
15740
# consuming and fragmenting process. To avoid this, we pick a random,
15741
# 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
15742
# time. Moving up from 0x10000000 also allows more sbrk(2) space.
15743
archive_cmds_F77='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
15744
archive_expsym_cmds_F77='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'
15747
gnu* | linux* | k*bsd*-gnu)
15748
if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
15750
case $cc_basename,$host_cpu in
15751
pgcc*) # Portland Group C compiler
15752
whole_archive_flag_spec_F77='${wl}--whole-archive`for conv in $convenience\"\"; do test -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; $echo \"$new_convenience\"` ${wl}--no-whole-archive'
15753
tmp_addflag=' $pic_flag'
15755
pgf77* | pgf90* | pgf95*) # Portland Group f77 and f90 compilers
15756
whole_archive_flag_spec_F77='${wl}--whole-archive`for conv in $convenience\"\"; do test -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; $echo \"$new_convenience\"` ${wl}--no-whole-archive'
15757
tmp_addflag=' $pic_flag -Mnomain' ;;
15758
ecc*,ia64* | icc*,ia64*) # Intel C compiler on ia64
15759
tmp_addflag=' -i_dynamic' ;;
15760
efc*,ia64* | ifort*,ia64*) # Intel Fortran compiler on ia64
15761
tmp_addflag=' -i_dynamic -nofor_main' ;;
15762
ifc* | ifort*) # Intel Fortran compiler
15763
tmp_addflag=' -nofor_main' ;;
15765
case `$CC -V 2>&1 | sed 5q` in
15766
*Sun\ C*) # Sun C 5.9
15767
whole_archive_flag_spec_F77='${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'
15768
tmp_sharedflag='-G' ;;
15769
*Sun\ F*) # Sun Fortran 8.3
15770
tmp_sharedflag='-G' ;;
15772
tmp_sharedflag='-shared' ;;
15774
archive_cmds_F77='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
15776
if test $supports_anon_versioning = yes; then
15777
archive_expsym_cmds_F77='$echo "{ global:" > $output_objdir/$libname.ver~
15778
cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
15779
$echo "local: *; };" >> $output_objdir/$libname.ver~
15780
$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
15782
link_all_deplibs_F77=no
15788
netbsd* | netbsdelf*-gnu)
15789
if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
15790
archive_cmds_F77='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
15793
archive_cmds_F77='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
15794
archive_expsym_cmds_F77='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
15799
if $LD -v 2>&1 | grep 'BFD 2\.8' > /dev/null; then
15803
*** Warning: The releases 2.8.* of the GNU linker cannot reliably
15804
*** create shared libraries on Solaris systems. Therefore, libtool
15805
*** is disabling shared libraries support. We urge you to upgrade GNU
15806
*** binutils to release 2.9.1 or newer. Another option is to modify
15807
*** your PATH or compiler configuration so that the native linker is
15808
*** used, and then restart.
15811
elif $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
15812
archive_cmds_F77='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
15813
archive_expsym_cmds_F77='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
15819
sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX*)
15820
case `$LD -v 2>&1` in
15821
*\ [01].* | *\ 2.[0-9].* | *\ 2.1[0-5].*)
15825
*** Warning: Releases of the GNU linker prior to 2.16.91.0.3 can not
15826
*** reliably create shared libraries on SCO systems. Therefore, libtool
15827
*** is disabling shared libraries support. We urge you to upgrade GNU
15828
*** binutils to release 2.16.91.0.3 or newer. Another option is to modify
15829
*** your PATH or compiler configuration so that the native linker is
15830
*** used, and then restart.
15835
if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
15836
hardcode_libdir_flag_spec_F77='`test -z "$SCOABSPATH" && echo ${wl}-rpath,$libdir`'
15837
archive_cmds_F77='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib'
15838
archive_expsym_cmds_F77='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname,\${SCOABSPATH:+${install_libdir}/}$soname,-retain-symbols-file,$export_symbols -o $lib'
15847
archive_cmds_F77='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
15849
hardcode_direct_F77=yes
15850
hardcode_shlibpath_var_F77=no
15854
if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
15855
archive_cmds_F77='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
15856
archive_expsym_cmds_F77='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
15863
if test "$ld_shlibs_F77" = no; then
15865
hardcode_libdir_flag_spec_F77=
15866
export_dynamic_flag_spec_F77=
15867
whole_archive_flag_spec_F77=
15870
# PORTME fill in a description of your system's linker (not GNU ld)
15873
allow_undefined_flag_F77=unsupported
15874
always_export_symbols_F77=yes
15875
archive_expsym_cmds_F77='$LD -o $output_objdir/$soname $libobjs $deplibs $linker_flags -bE:$export_symbols -T512 -H512 -bM:SRE~$AR $AR_FLAGS $lib $output_objdir/$soname'
15876
# Note: this linker hardcodes the directories in LIBPATH if there
15877
# are no directories specified by -L.
15878
hardcode_minus_L_F77=yes
15879
if test "$GCC" = yes && test -z "$lt_prog_compiler_static"; then
15880
# Neither direct hardcoding nor static linking is supported with a
15882
hardcode_direct_F77=unsupported
15887
if test "$host_cpu" = ia64; then
15888
# On IA64, the linker does run time linking by default, so we don't
15889
# have to do anything special.
15890
aix_use_runtimelinking=no
15891
exp_sym_flag='-Bexport'
15894
# If we're using GNU nm, then we don't want the "-C" option.
15895
# -C means demangle to AIX nm, but means don't demangle with GNU nm
15896
if $NM -V 2>&1 | grep 'GNU' > /dev/null; then
15897
export_symbols_cmds_F77='$NM -Bpg $libobjs $convenience | awk '\''{ if (((\$2 == "T") || (\$2 == "D") || (\$2 == "B")) && (substr(\$3,1,1) != ".")) { print \$3 } }'\'' | sort -u > $export_symbols'
15899
export_symbols_cmds_F77='$NM -BCpg $libobjs $convenience | awk '\''{ if (((\$2 == "T") || (\$2 == "D") || (\$2 == "B")) && (substr(\$3,1,1) != ".")) { print \$3 } }'\'' | sort -u > $export_symbols'
15901
aix_use_runtimelinking=no
15903
# Test if we are trying to use run time linking or normal
15904
# AIX style linking. If -brtl is somewhere in LDFLAGS, we
15905
# need to do runtime linking.
15906
case $host_os in aix4.[23]|aix4.[23].*|aix5*)
15907
for ld_flag in $LDFLAGS; do
15908
if (test $ld_flag = "-brtl" || test $ld_flag = "-Wl,-brtl"); then
15909
aix_use_runtimelinking=yes
15916
exp_sym_flag='-bexport'
15917
no_entry_flag='-bnoentry'
15920
# When large executables or shared objects are built, AIX ld can
15921
# have problems creating the table of contents. If linking a library
15922
# or program results in "error TOC overflow" add -mminimal-toc to
15923
# CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
15924
# enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
15926
archive_cmds_F77=''
15927
hardcode_direct_F77=yes
15928
hardcode_libdir_separator_F77=':'
15929
link_all_deplibs_F77=yes
15931
if test "$GCC" = yes; then
15932
case $host_os in aix4.[012]|aix4.[012].*)
15933
# We only want to do this on AIX 4.2 and lower, the check
15934
# below for broken collect2 doesn't work under 4.3+
15935
collect2name=`${CC} -print-prog-name=collect2`
15936
if test -f "$collect2name" && \
15937
strings "$collect2name" | grep resolve_lib_name >/dev/null
15939
# We have reworked collect2
15942
# We have old collect2
15943
hardcode_direct_F77=unsupported
15944
# It fails to find uninstalled libraries when the uninstalled
15945
# path is not listed in the libpath. Setting hardcode_minus_L
15946
# to unsupported forces relinking
15947
hardcode_minus_L_F77=yes
15948
hardcode_libdir_flag_spec_F77='-L$libdir'
15949
hardcode_libdir_separator_F77=
15953
shared_flag='-shared'
15954
if test "$aix_use_runtimelinking" = yes; then
15955
shared_flag="$shared_flag "'${wl}-G'
15959
if test "$host_cpu" = ia64; then
15960
# VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
15961
# chokes on -Wl,-G. The following line is correct:
15964
if test "$aix_use_runtimelinking" = yes; then
15965
shared_flag='${wl}-G'
15967
shared_flag='${wl}-bM:SRE'
15972
# It seems that -bexpall does not export symbols beginning with
15973
# underscore (_), so it is better to generate a list of symbols to export.
15974
always_export_symbols_F77=yes
15975
if test "$aix_use_runtimelinking" = yes; then
15976
# Warning - without using the other runtime loading flags (-brtl),
15977
# -berok will link without error, but may produce a broken library.
15978
allow_undefined_flag_F77='-berok'
15979
# Determine the default libpath from the value encoded in an empty executable.
15980
cat >conftest.$ac_ext <<_ACEOF
15985
rm -f conftest.$ac_objext conftest$ac_exeext
15986
if { (ac_try="$ac_link"
15987
case "(($ac_try" in
15988
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15989
*) ac_try_echo=$ac_try;;
15991
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15992
(eval "$ac_link") 2>conftest.er1
15994
grep -v '^ *+' conftest.er1 >conftest.err
15996
cat conftest.err >&5
15997
echo "$as_me:$LINENO: \$? = $ac_status" >&5
15998
(exit $ac_status); } && {
15999
test -z "$ac_f77_werror_flag" ||
16000
test ! -s conftest.err
16001
} && test -s conftest$ac_exeext &&
16002
$as_test_x conftest$ac_exeext; then
16004
lt_aix_libpath_sed='
16005
/Import File Strings/,/^$/ {
16011
aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
16012
# Check for a 64-bit object if we didn't find anything.
16013
if test -z "$aix_libpath"; then
16014
aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
16017
echo "$as_me: failed program was:" >&5
16018
sed 's/^/| /' conftest.$ac_ext >&5
16023
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
16024
conftest$ac_exeext conftest.$ac_ext
16025
if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
16027
hardcode_libdir_flag_spec_F77='${wl}-blibpath:$libdir:'"$aix_libpath"
16028
archive_expsym_cmds_F77="\$CC"' -o $output_objdir/$soname $libobjs $deplibs '"\${wl}$no_entry_flag"' $compiler_flags `if test "x${allow_undefined_flag}" != "x"; then echo "${wl}${allow_undefined_flag}"; else :; fi` '"\${wl}$exp_sym_flag:\$export_symbols $shared_flag"
16030
if test "$host_cpu" = ia64; then
16031
hardcode_libdir_flag_spec_F77='${wl}-R $libdir:/usr/lib:/lib'
16032
allow_undefined_flag_F77="-z nodefs"
16033
archive_expsym_cmds_F77="\$CC $shared_flag"' -o $output_objdir/$soname $libobjs $deplibs '"\${wl}$no_entry_flag"' $compiler_flags ${wl}${allow_undefined_flag} '"\${wl}$exp_sym_flag:\$export_symbols"
16035
# Determine the default libpath from the value encoded in an empty executable.
16036
cat >conftest.$ac_ext <<_ACEOF
16041
rm -f conftest.$ac_objext conftest$ac_exeext
16042
if { (ac_try="$ac_link"
16043
case "(($ac_try" in
16044
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16045
*) ac_try_echo=$ac_try;;
16047
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16048
(eval "$ac_link") 2>conftest.er1
16050
grep -v '^ *+' conftest.er1 >conftest.err
16052
cat conftest.err >&5
16053
echo "$as_me:$LINENO: \$? = $ac_status" >&5
16054
(exit $ac_status); } && {
16055
test -z "$ac_f77_werror_flag" ||
16056
test ! -s conftest.err
16057
} && test -s conftest$ac_exeext &&
16058
$as_test_x conftest$ac_exeext; then
16060
lt_aix_libpath_sed='
16061
/Import File Strings/,/^$/ {
16067
aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
16068
# Check for a 64-bit object if we didn't find anything.
16069
if test -z "$aix_libpath"; then
16070
aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
16073
echo "$as_me: failed program was:" >&5
16074
sed 's/^/| /' conftest.$ac_ext >&5
16079
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
16080
conftest$ac_exeext conftest.$ac_ext
16081
if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
16083
hardcode_libdir_flag_spec_F77='${wl}-blibpath:$libdir:'"$aix_libpath"
16084
# Warning - without using the other run time loading flags,
16085
# -berok will link without error, but may produce a broken library.
16086
no_undefined_flag_F77=' ${wl}-bernotok'
16087
allow_undefined_flag_F77=' ${wl}-berok'
16088
# Exported symbols can be pulled into shared objects from archives
16089
whole_archive_flag_spec_F77='$convenience'
16090
archive_cmds_need_lc_F77=yes
16091
# This is similar to how AIX traditionally builds its shared libraries.
16092
archive_expsym_cmds_F77="\$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'
16098
archive_cmds_F77='$rm $output_objdir/a2ixlibrary.data~$echo "#define NAME $libname" > $output_objdir/a2ixlibrary.data~$echo "#define LIBRARY_ID 1" >> $output_objdir/a2ixlibrary.data~$echo "#define VERSION $major" >> $output_objdir/a2ixlibrary.data~$echo "#define REVISION $revision" >> $output_objdir/a2ixlibrary.data~$AR $AR_FLAGS $lib $libobjs~$RANLIB $lib~(cd $output_objdir && a2ixlibrary -32)'
16099
hardcode_libdir_flag_spec_F77='-L$libdir'
16100
hardcode_minus_L_F77=yes
16101
# see comment about different semantics on the GNU ld section
16106
export_dynamic_flag_spec_F77=-rdynamic
16109
cygwin* | mingw* | pw32*)
16110
# When not using gcc, we currently assume that we are using
16111
# Microsoft Visual C++.
16112
# hardcode_libdir_flag_spec is actually meaningless, as there is
16113
# no search path for DLLs.
16114
hardcode_libdir_flag_spec_F77=' '
16115
allow_undefined_flag_F77=unsupported
16116
# Tell ltmain to make .lib files, not .a files.
16118
# Tell ltmain to make .dll files, not .so files.
16120
# FIXME: Setting linknames here is a bad hack.
16121
archive_cmds_F77='$CC -o $lib $libobjs $compiler_flags `echo "$deplibs" | $SED -e '\''s/ -lc$//'\''` -link -dll~linknames='
16122
# The linker will automatically build a .lib file if we build a DLL.
16123
old_archive_From_new_cmds_F77='true'
16124
# FIXME: Should let the user specify the lib program.
16125
old_archive_cmds_F77='lib -OUT:$oldlib$oldobjs$old_deplibs'
16126
fix_srcfile_path_F77='`cygpath -w "$srcfile"`'
16127
enable_shared_with_static_runtimes_F77=yes
16130
darwin* | rhapsody*)
16132
rhapsody* | darwin1.[012])
16133
allow_undefined_flag_F77='${wl}-undefined ${wl}suppress'
16136
if test -z ${MACOSX_DEPLOYMENT_TARGET} ; then
16137
allow_undefined_flag_F77='${wl}-flat_namespace ${wl}-undefined ${wl}suppress'
16139
case ${MACOSX_DEPLOYMENT_TARGET} in
16141
allow_undefined_flag_F77='${wl}-flat_namespace ${wl}-undefined ${wl}suppress'
16144
allow_undefined_flag_F77='${wl}-undefined ${wl}dynamic_lookup'
16150
archive_cmds_need_lc_F77=no
16151
hardcode_direct_F77=no
16152
hardcode_automatic_F77=yes
16153
hardcode_shlibpath_var_F77=unsupported
16154
whole_archive_flag_spec_F77=''
16155
link_all_deplibs_F77=yes
16156
if test "$GCC" = yes ; then
16157
output_verbose_link_cmd='echo'
16158
archive_cmds_F77='$CC -dynamiclib $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags -install_name $rpath/$soname $verstring'
16159
module_cmds_F77='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
16160
# Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin lds
16161
archive_expsym_cmds_F77='sed -e "s,#.*,," -e "s,^[ ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC -dynamiclib $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags -install_name $rpath/$soname $verstring~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
16162
module_expsym_cmds_F77='sed -e "s,#.*,," -e "s,^[ ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
16164
case $cc_basename in
16166
output_verbose_link_cmd='echo'
16167
archive_cmds_F77='$CC -qmkshrobj $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-install_name ${wl}`echo $rpath/$soname` $xlcverstring'
16168
module_cmds_F77='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
16169
# Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin lds
16170
archive_expsym_cmds_F77='sed -e "s,#.*,," -e "s,^[ ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC -qmkshrobj $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-install_name ${wl}$rpath/$soname $xlcverstring~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
16171
module_expsym_cmds_F77='sed -e "s,#.*,," -e "s,^[ ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
16181
archive_cmds_F77='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
16182
hardcode_libdir_flag_spec_F77='-L$libdir'
16183
hardcode_shlibpath_var_F77=no
16190
# FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
16191
# support. Future versions do this automatically, but an explicit c++rt0.o
16192
# does not break anything, and helps significantly (at the cost of a little
16195
archive_cmds_F77='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
16196
hardcode_libdir_flag_spec_F77='-R$libdir'
16197
hardcode_direct_F77=yes
16198
hardcode_shlibpath_var_F77=no
16201
# Unfortunately, older versions of FreeBSD 2 do not have this feature.
16203
archive_cmds_F77='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
16204
hardcode_direct_F77=yes
16205
hardcode_minus_L_F77=yes
16206
hardcode_shlibpath_var_F77=no
16209
# FreeBSD 3 and greater uses gcc -shared to do shared libraries.
16210
freebsd* | dragonfly*)
16211
archive_cmds_F77='$CC -shared -o $lib $libobjs $deplibs $compiler_flags'
16212
hardcode_libdir_flag_spec_F77='-R$libdir'
16213
hardcode_direct_F77=yes
16214
hardcode_shlibpath_var_F77=no
16218
if test "$GCC" = yes; then
16219
archive_cmds_F77='$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'
16221
archive_cmds_F77='$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'
16223
hardcode_libdir_flag_spec_F77='${wl}+b ${wl}$libdir'
16224
hardcode_libdir_separator_F77=:
16225
hardcode_direct_F77=yes
16227
# hardcode_minus_L: Not really in the search PATH,
16228
# but as the default location of the library.
16229
hardcode_minus_L_F77=yes
16230
export_dynamic_flag_spec_F77='${wl}-E'
16234
if test "$GCC" = yes -a "$with_gnu_ld" = no; then
16235
archive_cmds_F77='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
16237
archive_cmds_F77='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
16239
if test "$with_gnu_ld" = no; then
16240
hardcode_libdir_flag_spec_F77='${wl}+b ${wl}$libdir'
16241
hardcode_libdir_separator_F77=:
16243
hardcode_direct_F77=yes
16244
export_dynamic_flag_spec_F77='${wl}-E'
16246
# hardcode_minus_L: Not really in the search PATH,
16247
# but as the default location of the library.
16248
hardcode_minus_L_F77=yes
16253
if test "$GCC" = yes -a "$with_gnu_ld" = no; then
16256
archive_cmds_F77='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
16259
archive_cmds_F77='$CC -shared ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
16262
archive_cmds_F77='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
16268
archive_cmds_F77='$CC -b ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
16271
archive_cmds_F77='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
16274
archive_cmds_F77='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
16278
if test "$with_gnu_ld" = no; then
16279
hardcode_libdir_flag_spec_F77='${wl}+b ${wl}$libdir'
16280
hardcode_libdir_separator_F77=:
16284
hardcode_libdir_flag_spec_ld_F77='+b $libdir'
16285
hardcode_direct_F77=no
16286
hardcode_shlibpath_var_F77=no
16289
hardcode_direct_F77=yes
16290
export_dynamic_flag_spec_F77='${wl}-E'
16292
# hardcode_minus_L: Not really in the search PATH,
16293
# but as the default location of the library.
16294
hardcode_minus_L_F77=yes
16300
irix5* | irix6* | nonstopux*)
16301
if test "$GCC" = yes; then
16302
archive_cmds_F77='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && echo ${wl}-set_version ${wl}$verstring` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
16304
archive_cmds_F77='$LD -shared $libobjs $deplibs $linker_flags -soname $soname `test -n "$verstring" && echo -set_version $verstring` -update_registry ${output_objdir}/so_locations -o $lib'
16305
hardcode_libdir_flag_spec_ld_F77='-rpath $libdir'
16307
hardcode_libdir_flag_spec_F77='${wl}-rpath ${wl}$libdir'
16308
hardcode_libdir_separator_F77=:
16309
link_all_deplibs_F77=yes
16312
netbsd* | netbsdelf*-gnu)
16313
if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
16314
archive_cmds_F77='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' # a.out
16316
archive_cmds_F77='$LD -shared -o $lib $libobjs $deplibs $linker_flags' # ELF
16318
hardcode_libdir_flag_spec_F77='-R$libdir'
16319
hardcode_direct_F77=yes
16320
hardcode_shlibpath_var_F77=no
16324
archive_cmds_F77='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
16325
hardcode_direct_F77=yes
16326
hardcode_libdir_flag_spec_F77='${wl}-rpath ${wl}$libdir'
16327
hardcode_libdir_separator_F77=:
16328
hardcode_shlibpath_var_F77=no
16332
if test -f /usr/libexec/ld.so; then
16333
hardcode_direct_F77=yes
16334
hardcode_shlibpath_var_F77=no
16335
if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
16336
archive_cmds_F77='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
16337
archive_expsym_cmds_F77='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols'
16338
hardcode_libdir_flag_spec_F77='${wl}-rpath,$libdir'
16339
export_dynamic_flag_spec_F77='${wl}-E'
16342
openbsd[01].* | openbsd2.[0-7] | openbsd2.[0-7].*)
16343
archive_cmds_F77='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
16344
hardcode_libdir_flag_spec_F77='-R$libdir'
16347
archive_cmds_F77='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
16348
hardcode_libdir_flag_spec_F77='${wl}-rpath,$libdir'
16358
hardcode_libdir_flag_spec_F77='-L$libdir'
16359
hardcode_minus_L_F77=yes
16360
allow_undefined_flag_F77=unsupported
16361
archive_cmds_F77='$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'
16362
old_archive_From_new_cmds_F77='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
16366
if test "$GCC" = yes; then
16367
allow_undefined_flag_F77=' ${wl}-expect_unresolved ${wl}\*'
16368
archive_cmds_F77='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && echo ${wl}-set_version ${wl}$verstring` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
16370
allow_undefined_flag_F77=' -expect_unresolved \*'
16371
archive_cmds_F77='$LD -shared${allow_undefined_flag} $libobjs $deplibs $linker_flags -soname $soname `test -n "$verstring" && echo -set_version $verstring` -update_registry ${output_objdir}/so_locations -o $lib'
16373
hardcode_libdir_flag_spec_F77='${wl}-rpath ${wl}$libdir'
16374
hardcode_libdir_separator_F77=:
16377
osf4* | osf5*) # as osf3* with the addition of -msym flag
16378
if test "$GCC" = yes; then
16379
allow_undefined_flag_F77=' ${wl}-expect_unresolved ${wl}\*'
16380
archive_cmds_F77='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags ${wl}-msym ${wl}-soname ${wl}$soname `test -n "$verstring" && echo ${wl}-set_version ${wl}$verstring` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
16381
hardcode_libdir_flag_spec_F77='${wl}-rpath ${wl}$libdir'
16383
allow_undefined_flag_F77=' -expect_unresolved \*'
16384
archive_cmds_F77='$LD -shared${allow_undefined_flag} $libobjs $deplibs $linker_flags -msym -soname $soname `test -n "$verstring" && echo -set_version $verstring` -update_registry ${output_objdir}/so_locations -o $lib'
16385
archive_expsym_cmds_F77='for i in `cat $export_symbols`; do printf "%s %s\\n" -exported_symbol "\$i" >> $lib.exp; done; echo "-hidden">> $lib.exp~
16386
$LD -shared${allow_undefined_flag} -input $lib.exp $linker_flags $libobjs $deplibs -soname $soname `test -n "$verstring" && echo -set_version $verstring` -update_registry ${output_objdir}/so_locations -o $lib~$rm $lib.exp'
16388
# Both c and cxx compiler support -rpath directly
16389
hardcode_libdir_flag_spec_F77='-rpath $libdir'
16391
hardcode_libdir_separator_F77=:
16395
no_undefined_flag_F77=' -z text'
16396
if test "$GCC" = yes; then
16398
archive_cmds_F77='$CC -shared ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
16399
archive_expsym_cmds_F77='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
16400
$CC -shared ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags~$rm $lib.exp'
16403
archive_cmds_F77='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
16404
archive_expsym_cmds_F77='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
16405
$LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$rm $lib.exp'
16407
hardcode_libdir_flag_spec_F77='-R$libdir'
16408
hardcode_shlibpath_var_F77=no
16410
solaris2.[0-5] | solaris2.[0-5].*) ;;
16412
# The compiler driver will combine and reorder linker options,
16413
# but understands `-z linker_flag'. GCC discards it without `$wl',
16414
# but is careful enough not to reorder.
16415
# Supported since Solaris 2.6 (maybe 2.5.1?)
16416
if test "$GCC" = yes; then
16417
whole_archive_flag_spec_F77='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
16419
whole_archive_flag_spec_F77='-z allextract$convenience -z defaultextract'
16423
link_all_deplibs_F77=yes
16427
if test "x$host_vendor" = xsequent; then
16428
# Use $CC to link under sequent, because it throws in some extra .o
16429
# files that make .init and .fini sections work.
16430
archive_cmds_F77='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags'
16432
archive_cmds_F77='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
16434
hardcode_libdir_flag_spec_F77='-L$libdir'
16435
hardcode_direct_F77=yes
16436
hardcode_minus_L_F77=yes
16437
hardcode_shlibpath_var_F77=no
16441
case $host_vendor in
16443
archive_cmds_F77='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
16444
hardcode_direct_F77=yes # is this really true???
16447
## LD is ld it makes a PLAMLIB
16448
## CC just makes a GrossModule.
16449
archive_cmds_F77='$LD -G -o $lib $libobjs $deplibs $linker_flags'
16450
reload_cmds_F77='$CC -r -o $output$reload_objs'
16451
hardcode_direct_F77=no
16454
archive_cmds_F77='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
16455
hardcode_direct_F77=no #Motorola manual says yes, but my tests say they lie
16458
runpath_var='LD_RUN_PATH'
16459
hardcode_shlibpath_var_F77=no
16463
archive_cmds_F77='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
16464
hardcode_shlibpath_var_F77=no
16465
export_dynamic_flag_spec_F77='-Bexport'
16469
if test -d /usr/nec; then
16470
archive_cmds_F77='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
16471
hardcode_shlibpath_var_F77=no
16472
runpath_var=LD_RUN_PATH
16473
hardcode_runpath_var=yes
16478
sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7* | sco3.2v5.0.[024]*)
16479
no_undefined_flag_F77='${wl}-z,text'
16480
archive_cmds_need_lc_F77=no
16481
hardcode_shlibpath_var_F77=no
16482
runpath_var='LD_RUN_PATH'
16484
if test "$GCC" = yes; then
16485
archive_cmds_F77='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
16486
archive_expsym_cmds_F77='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
16488
archive_cmds_F77='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
16489
archive_expsym_cmds_F77='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
16493
sysv5* | sco3.2v5* | sco5v6*)
16494
# Note: We can NOT use -z defs as we might desire, because we do not
16495
# link with -lc, and that would cause any symbols used from libc to
16496
# always be unresolved, which means just about no library would
16497
# ever link correctly. If we're not using GNU ld we use -z text
16498
# though, which does catch some bad symbols but isn't as heavy-handed
16500
no_undefined_flag_F77='${wl}-z,text'
16501
allow_undefined_flag_F77='${wl}-z,nodefs'
16502
archive_cmds_need_lc_F77=no
16503
hardcode_shlibpath_var_F77=no
16504
hardcode_libdir_flag_spec_F77='`test -z "$SCOABSPATH" && echo ${wl}-R,$libdir`'
16505
hardcode_libdir_separator_F77=':'
16506
link_all_deplibs_F77=yes
16507
export_dynamic_flag_spec_F77='${wl}-Bexport'
16508
runpath_var='LD_RUN_PATH'
16510
if test "$GCC" = yes; then
16511
archive_cmds_F77='$CC -shared ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
16512
archive_expsym_cmds_F77='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
16514
archive_cmds_F77='$CC -G ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
16515
archive_expsym_cmds_F77='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
16520
archive_cmds_F77='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
16521
hardcode_libdir_flag_spec_F77='-L$libdir'
16522
hardcode_shlibpath_var_F77=no
16531
{ echo "$as_me:$LINENO: result: $ld_shlibs_F77" >&5
16532
echo "${ECHO_T}$ld_shlibs_F77" >&6; }
16533
test "$ld_shlibs_F77" = no && can_build_shared=no
16536
# Do we need to explicitly link libc?
16538
case "x$archive_cmds_need_lc_F77" in
16540
# Assume -lc should be added
16541
archive_cmds_need_lc_F77=yes
16543
if test "$enable_shared" = yes && test "$GCC" = yes; then
16544
case $archive_cmds_F77 in
16546
# FIXME: we may have to deal with multi-command sequences.
16549
# Test whether the compiler implicitly links with -lc since on some
16550
# systems, -lgcc has to come before -lc. If gcc already passes -lc
16551
# to ld, don't add -lc before -lgcc.
16552
{ echo "$as_me:$LINENO: checking whether -lc should be explicitly linked in" >&5
16553
echo $ECHO_N "checking whether -lc should be explicitly linked in... $ECHO_C" >&6; }
16555
echo "$lt_simple_compile_test_code" > conftest.$ac_ext
16557
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16558
(eval $ac_compile) 2>&5
16560
echo "$as_me:$LINENO: \$? = $ac_status" >&5
16561
(exit $ac_status); } 2>conftest.err; then
16564
libobjs=conftest.$ac_objext
16566
wl=$lt_prog_compiler_wl_F77
16567
pic_flag=$lt_prog_compiler_pic_F77
16573
lt_save_allow_undefined_flag=$allow_undefined_flag_F77
16574
allow_undefined_flag_F77=
16575
if { (eval echo "$as_me:$LINENO: \"$archive_cmds_F77 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1\"") >&5
16576
(eval $archive_cmds_F77 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1) 2>&5
16578
echo "$as_me:$LINENO: \$? = $ac_status" >&5
16579
(exit $ac_status); }
16581
archive_cmds_need_lc_F77=no
16583
archive_cmds_need_lc_F77=yes
16585
allow_undefined_flag_F77=$lt_save_allow_undefined_flag
16587
cat conftest.err 1>&5
16590
{ echo "$as_me:$LINENO: result: $archive_cmds_need_lc_F77" >&5
16591
echo "${ECHO_T}$archive_cmds_need_lc_F77" >&6; }
16598
{ echo "$as_me:$LINENO: checking dynamic linker characteristics" >&5
16599
echo $ECHO_N "checking dynamic linker characteristics... $ECHO_C" >&6; }
16600
library_names_spec=
16601
libname_spec='lib$name'
16605
postuninstall_cmds=
16609
shlibpath_overrides_runpath=unknown
16611
dynamic_linker="$host_os ld.so"
16612
sys_lib_dlsearch_path_spec="/lib /usr/lib"
16614
need_lib_prefix=unknown
16615
hardcode_into_libs=no
16617
# when you set need_version to no, make sure it does not cause -set_version
16618
# flags to be left without arguments
16619
need_version=unknown
16624
library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a'
16625
shlibpath_var=LIBPATH
16627
# AIX 3 has no versioning support, so we append a major version to the name.
16628
soname_spec='${libname}${release}${shared_ext}$major'
16635
hardcode_into_libs=yes
16636
if test "$host_cpu" = ia64; then
16637
# AIX 5 supports IA64
16638
library_names_spec='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
16639
shlibpath_var=LD_LIBRARY_PATH
16641
# With GCC up to 2.95.x, collect2 would create an import file
16642
# for dependence libraries. The import file would start with
16643
# the line `#! .'. This would cause the generated library to
16644
# depend on `.', always an invalid library. This was fixed in
16645
# development snapshots of GCC prior to 3.0.
16647
aix4 | aix4.[01] | aix4.[01].*)
16648
if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
16650
echo '#endif'; } | ${CC} -E - | grep yes > /dev/null; then
16653
can_build_shared=no
16657
# AIX (on Power*) has no versioning support, so currently we can not hardcode correct
16658
# soname into executable. Probably we can add versioning support to
16659
# collect2, so additional links can be useful in future.
16660
if test "$aix_use_runtimelinking" = yes; then
16661
# If using run time linking (on AIX 4.2 or later) use lib<name>.so
16662
# instead of lib<name>.a to let people know that these are not
16663
# typical AIX shared libraries.
16664
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
16666
# We preserve .a as extension for shared libraries through AIX4.2
16667
# and later when we are not doing run time linking.
16668
library_names_spec='${libname}${release}.a $libname.a'
16669
soname_spec='${libname}${release}${shared_ext}$major'
16671
shlibpath_var=LIBPATH
16676
library_names_spec='$libname.ixlibrary $libname.a'
16677
# Create ${libname}_ixlibrary.a entries in /sys/libs.
16678
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'
16682
library_names_spec='${libname}${shared_ext}'
16683
dynamic_linker="$host_os ld.so"
16684
shlibpath_var=LIBRARY_PATH
16690
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
16691
soname_spec='${libname}${release}${shared_ext}$major'
16692
finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
16693
shlibpath_var=LD_LIBRARY_PATH
16694
sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
16695
sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
16696
# the default ld.so.conf also contains /usr/contrib/lib and
16697
# /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
16698
# libtool to hard-code these into programs
16701
cygwin* | mingw* | pw32*)
16702
version_type=windows
16707
case $GCC,$host_os in
16708
yes,cygwin* | yes,mingw* | yes,pw32*)
16709
library_names_spec='$libname.dll.a'
16710
# DLL is installed to $(libdir)/../bin by postinstall_cmds
16711
postinstall_cmds='base_file=`basename \${file}`~
16712
dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i;echo \$dlname'\''`~
16713
dldir=$destdir/`dirname \$dlpath`~
16714
test -d \$dldir || mkdir -p \$dldir~
16715
$install_prog $dir/$dlname \$dldir/$dlname~
16716
chmod a+x \$dldir/$dlname'
16717
postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
16718
dlpath=$dir/\$dldll~
16720
shlibpath_overrides_runpath=yes
16724
# Cygwin DLLs use 'cyg' prefix rather than 'lib'
16725
soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
16726
sys_lib_search_path_spec="/usr/lib /lib/w32api /lib /usr/local/lib"
16729
# MinGW DLLs use traditional 'lib' prefix
16730
soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
16731
sys_lib_search_path_spec=`$CC -print-search-dirs | grep "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
16732
if echo "$sys_lib_search_path_spec" | grep ';[c-zC-Z]:/' >/dev/null; then
16733
# It is most probably a Windows format PATH printed by
16734
# mingw gcc, but we are running on Cygwin. Gcc prints its search
16735
# path with ; separators, and with drive letters. We can handle the
16736
# drive letters (cygwin fileutils understands them), so leave them,
16737
# especially as we might pass files found there to a mingw objdump,
16738
# which wouldn't understand a cygwinified path. Ahh.
16739
sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
16741
sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
16745
# pw32 DLLs use 'pw' prefix rather than 'lib'
16746
library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
16752
library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
16755
dynamic_linker='Win32 ld.exe'
16756
# FIXME: first we should search . and the directory the executable is in
16760
darwin* | rhapsody*)
16761
dynamic_linker="$host_os dyld"
16762
version_type=darwin
16765
library_names_spec='${libname}${release}${versuffix}$shared_ext ${libname}${release}${major}$shared_ext ${libname}$shared_ext'
16766
soname_spec='${libname}${release}${major}$shared_ext'
16767
shlibpath_overrides_runpath=yes
16768
shlibpath_var=DYLD_LIBRARY_PATH
16769
shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`'
16771
sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
16778
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
16779
soname_spec='${libname}${release}${shared_ext}$major'
16780
shlibpath_var=LD_LIBRARY_PATH
16787
freebsd* | dragonfly*)
16788
# DragonFly does not have aout. When/if they implement a new
16789
# versioning mechanism, adjust this.
16790
if test -x /usr/bin/objformat; then
16791
objformat=`/usr/bin/objformat`
16794
freebsd[123]*) objformat=aout ;;
16795
*) objformat=elf ;;
16798
version_type=freebsd-$objformat
16799
case $version_type in
16801
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
16806
library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
16810
shlibpath_var=LD_LIBRARY_PATH
16813
shlibpath_overrides_runpath=yes
16815
freebsd3.[01]* | freebsdelf3.[01]*)
16816
shlibpath_overrides_runpath=yes
16817
hardcode_into_libs=yes
16819
freebsd3.[2-9]* | freebsdelf3.[2-9]* | \
16820
freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1)
16821
shlibpath_overrides_runpath=no
16822
hardcode_into_libs=yes
16824
*) # from 4.6 on, and DragonFly
16825
shlibpath_overrides_runpath=yes
16826
hardcode_into_libs=yes
16835
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
16836
soname_spec='${libname}${release}${shared_ext}$major'
16837
shlibpath_var=LD_LIBRARY_PATH
16838
hardcode_into_libs=yes
16841
hpux9* | hpux10* | hpux11*)
16842
# Give a soname corresponding to the major version so that dld.sl refuses to
16843
# link against other versions.
16850
hardcode_into_libs=yes
16851
dynamic_linker="$host_os dld.so"
16852
shlibpath_var=LD_LIBRARY_PATH
16853
shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
16854
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
16855
soname_spec='${libname}${release}${shared_ext}$major'
16856
if test "X$HPUX_IA64_MODE" = X32; then
16857
sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
16859
sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
16861
sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
16865
hardcode_into_libs=yes
16866
dynamic_linker="$host_os dld.sl"
16867
shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
16868
shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
16869
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
16870
soname_spec='${libname}${release}${shared_ext}$major'
16871
sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
16872
sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
16876
dynamic_linker="$host_os dld.sl"
16877
shlibpath_var=SHLIB_PATH
16878
shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
16879
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
16880
soname_spec='${libname}${release}${shared_ext}$major'
16883
# HP-UX runs *really* slowly unless shared libraries are mode 555.
16884
postinstall_cmds='chmod 555 $lib'
16891
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
16892
soname_spec='${libname}${release}${shared_ext}$major'
16893
dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)'
16894
shlibpath_var=LD_LIBRARY_PATH
16895
shlibpath_overrides_runpath=no
16896
hardcode_into_libs=yes
16899
irix5* | irix6* | nonstopux*)
16901
nonstopux*) version_type=nonstopux ;;
16903
if test "$lt_cv_prog_gnu_ld" = yes; then
16911
soname_spec='${libname}${release}${shared_ext}$major'
16912
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
16914
irix5* | nonstopux*)
16915
libsuff= shlibsuff=
16918
case $LD in # libtool.m4 will add one of these switches to LD
16919
*-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
16920
libsuff= shlibsuff= libmagic=32-bit;;
16921
*-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
16922
libsuff=32 shlibsuff=N32 libmagic=N32;;
16923
*-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
16924
libsuff=64 shlibsuff=64 libmagic=64-bit;;
16925
*) libsuff= shlibsuff= libmagic=never-match;;
16929
shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
16930
shlibpath_overrides_runpath=no
16931
sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
16932
sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}"
16933
hardcode_into_libs=yes
16936
# No shared lib support for Linux oldld, aout, or coff.
16937
linux*oldld* | linux*aout* | linux*coff*)
16941
# This must be Linux ELF.
16942
linux* | k*bsd*-gnu)
16946
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
16947
soname_spec='${libname}${release}${shared_ext}$major'
16948
finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
16949
shlibpath_var=LD_LIBRARY_PATH
16950
shlibpath_overrides_runpath=no
16951
# This implies no fast_install, which is unacceptable.
16952
# Some rework will be needed to allow for fast_install
16953
# before this can be enabled.
16954
hardcode_into_libs=yes
16956
# Append ld.so.conf contents to the search path
16957
if test -f /etc/ld.so.conf; then
16958
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' ' '`
16959
sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra"
16962
# We used to test for /lib/ld.so.1 and disable shared libraries on
16963
# powerpc, because MkLinux only supported shared libraries with the
16964
# GNU dynamic linker. Since this was broken with cross compilers,
16965
# most powerpc-linux boxes support dynamic linking these days and
16966
# people can always --disable-shared, the test was removed, and we
16967
# assume the GNU/Linux dynamic linker is in use.
16968
dynamic_linker='GNU/Linux ld.so'
16975
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
16976
soname_spec='${libname}${release}${shared_ext}$major'
16977
shlibpath_var=LD_LIBRARY_PATH
16978
shlibpath_overrides_runpath=no
16979
hardcode_into_libs=yes
16980
dynamic_linker='NetBSD ld.elf_so'
16987
if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
16988
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
16989
finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
16990
dynamic_linker='NetBSD (a.out) ld.so'
16992
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
16993
soname_spec='${libname}${release}${shared_ext}$major'
16994
dynamic_linker='NetBSD ld.elf_so'
16996
shlibpath_var=LD_LIBRARY_PATH
16997
shlibpath_overrides_runpath=yes
16998
hardcode_into_libs=yes
17003
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
17004
shlibpath_var=LD_LIBRARY_PATH
17005
shlibpath_overrides_runpath=yes
17012
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
17013
soname_spec='${libname}${release}${shared_ext}$major'
17014
shlibpath_var=LD_LIBRARY_PATH
17015
shlibpath_overrides_runpath=yes
17020
sys_lib_dlsearch_path_spec="/usr/lib"
17022
# Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
17024
openbsd3.3 | openbsd3.3.*) need_version=yes ;;
17025
*) need_version=no ;;
17027
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
17028
finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
17029
shlibpath_var=LD_LIBRARY_PATH
17030
if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
17032
openbsd2.[89] | openbsd2.[89].*)
17033
shlibpath_overrides_runpath=no
17036
shlibpath_overrides_runpath=yes
17040
shlibpath_overrides_runpath=yes
17045
libname_spec='$name'
17048
library_names_spec='$libname${shared_ext} $libname.a'
17049
dynamic_linker='OS/2 ld.exe'
17050
shlibpath_var=LIBPATH
17053
osf3* | osf4* | osf5*)
17057
soname_spec='${libname}${release}${shared_ext}$major'
17058
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
17059
shlibpath_var=LD_LIBRARY_PATH
17060
sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
17061
sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec"
17072
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
17073
soname_spec='${libname}${release}${shared_ext}$major'
17074
shlibpath_var=LD_LIBRARY_PATH
17075
shlibpath_overrides_runpath=yes
17076
hardcode_into_libs=yes
17077
# ldd complains unless libraries are executable
17078
postinstall_cmds='chmod +x $lib'
17083
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
17084
finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
17085
shlibpath_var=LD_LIBRARY_PATH
17086
shlibpath_overrides_runpath=yes
17087
if test "$with_gnu_ld" = yes; then
17095
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
17096
soname_spec='${libname}${release}${shared_ext}$major'
17097
shlibpath_var=LD_LIBRARY_PATH
17098
case $host_vendor in
17100
shlibpath_overrides_runpath=no
17102
export_dynamic_flag_spec='${wl}-Blargedynsym'
17103
runpath_var=LD_RUN_PATH
17111
shlibpath_overrides_runpath=no
17112
sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
17118
if test -d /usr/nec ;then
17120
library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
17121
soname_spec='$libname${shared_ext}.$major'
17122
shlibpath_var=LD_LIBRARY_PATH
17126
sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
17127
version_type=freebsd-elf
17130
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
17131
soname_spec='${libname}${release}${shared_ext}$major'
17132
shlibpath_var=LD_LIBRARY_PATH
17133
hardcode_into_libs=yes
17134
if test "$with_gnu_ld" = yes; then
17135
sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
17136
shlibpath_overrides_runpath=no
17138
sys_lib_search_path_spec='/usr/ccs/lib /usr/lib'
17139
shlibpath_overrides_runpath=yes
17142
sys_lib_search_path_spec="$sys_lib_search_path_spec /lib"
17146
sys_lib_dlsearch_path_spec='/usr/lib'
17151
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
17152
soname_spec='${libname}${release}${shared_ext}$major'
17153
shlibpath_var=LD_LIBRARY_PATH
17160
{ echo "$as_me:$LINENO: result: $dynamic_linker" >&5
17161
echo "${ECHO_T}$dynamic_linker" >&6; }
17162
test "$dynamic_linker" = no && can_build_shared=no
17164
variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
17165
if test "$GCC" = yes; then
17166
variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
17169
{ echo "$as_me:$LINENO: checking how to hardcode library paths into programs" >&5
17170
echo $ECHO_N "checking how to hardcode library paths into programs... $ECHO_C" >&6; }
17171
hardcode_action_F77=
17172
if test -n "$hardcode_libdir_flag_spec_F77" || \
17173
test -n "$runpath_var_F77" || \
17174
test "X$hardcode_automatic_F77" = "Xyes" ; then
17176
# We can hardcode non-existant directories.
17177
if test "$hardcode_direct_F77" != no &&
17178
# If the only mechanism to avoid hardcoding is shlibpath_var, we
17179
# have to relink, otherwise we might link with an installed library
17180
# when we should be linking with a yet-to-be-installed one
17181
## test "$_LT_AC_TAGVAR(hardcode_shlibpath_var, F77)" != no &&
17182
test "$hardcode_minus_L_F77" != no; then
17183
# Linking always hardcodes the temporary library directory.
17184
hardcode_action_F77=relink
17186
# We can link without hardcoding, and we can hardcode nonexisting dirs.
17187
hardcode_action_F77=immediate
17190
# We cannot hardcode anything, or else we can only hardcode existing
17192
hardcode_action_F77=unsupported
17194
{ echo "$as_me:$LINENO: result: $hardcode_action_F77" >&5
17195
echo "${ECHO_T}$hardcode_action_F77" >&6; }
17197
if test "$hardcode_action_F77" = relink; then
17198
# Fast installation is not supported
17199
enable_fast_install=no
17200
elif test "$shlibpath_overrides_runpath" = yes ||
17201
test "$enable_shared" = no; then
17202
# Fast installation is not necessary
17203
enable_fast_install=needless
17207
# The else clause should only fire when bootstrapping the
17208
# libtool distribution, otherwise you forgot to ship ltmain.sh
17209
# with your package, and you will get complaints that there are
17210
# no rules to generate ltmain.sh.
17211
if test -f "$ltmain"; then
17212
# See if we are running on zsh, and set the options which allow our commands through
17213
# without removal of \ escapes.
17214
if test -n "${ZSH_VERSION+set}" ; then
17215
setopt NO_GLOB_SUBST
17217
# Now quote all the things that may contain metacharacters while being
17218
# careful not to overquote the AC_SUBSTed values. We take copies of the
17219
# variables and quote the copies for generation of the libtool script.
17220
for var in echo old_CC old_CFLAGS AR AR_FLAGS EGREP RANLIB LN_S LTCC LTCFLAGS NM \
17222
libname_spec library_names_spec soname_spec extract_expsyms_cmds \
17223
old_striplib striplib file_magic_cmd finish_cmds finish_eval \
17224
deplibs_check_method reload_flag reload_cmds need_locks \
17225
lt_cv_sys_global_symbol_pipe lt_cv_sys_global_symbol_to_cdecl \
17226
lt_cv_sys_global_symbol_to_c_name_address \
17227
sys_lib_search_path_spec sys_lib_dlsearch_path_spec \
17228
old_postinstall_cmds old_postuninstall_cmds \
17232
lt_prog_compiler_wl_F77 \
17233
lt_prog_compiler_pic_F77 \
17234
lt_prog_compiler_static_F77 \
17235
lt_prog_compiler_no_builtin_flag_F77 \
17236
export_dynamic_flag_spec_F77 \
17237
thread_safe_flag_spec_F77 \
17238
whole_archive_flag_spec_F77 \
17239
enable_shared_with_static_runtimes_F77 \
17240
old_archive_cmds_F77 \
17241
old_archive_from_new_cmds_F77 \
17242
predep_objects_F77 \
17243
postdep_objects_F77 \
17246
compiler_lib_search_path_F77 \
17248
archive_expsym_cmds_F77 \
17249
postinstall_cmds_F77 \
17250
postuninstall_cmds_F77 \
17251
old_archive_from_expsyms_cmds_F77 \
17252
allow_undefined_flag_F77 \
17253
no_undefined_flag_F77 \
17254
export_symbols_cmds_F77 \
17255
hardcode_libdir_flag_spec_F77 \
17256
hardcode_libdir_flag_spec_ld_F77 \
17257
hardcode_libdir_separator_F77 \
17258
hardcode_automatic_F77 \
17260
module_expsym_cmds_F77 \
17261
lt_cv_prog_compiler_c_o_F77 \
17262
fix_srcfile_path_F77 \
17263
exclude_expsyms_F77 \
17264
include_expsyms_F77; do
17267
old_archive_cmds_F77 | \
17268
old_archive_from_new_cmds_F77 | \
17269
archive_cmds_F77 | \
17270
archive_expsym_cmds_F77 | \
17271
module_cmds_F77 | \
17272
module_expsym_cmds_F77 | \
17273
old_archive_from_expsyms_cmds_F77 | \
17274
export_symbols_cmds_F77 | \
17275
extract_expsyms_cmds | reload_cmds | finish_cmds | \
17276
postinstall_cmds | postuninstall_cmds | \
17277
old_postinstall_cmds | old_postuninstall_cmds | \
17278
sys_lib_search_path_spec | sys_lib_dlsearch_path_spec)
17279
# Double-quote double-evaled strings.
17280
eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$double_quote_subst\" -e \"\$sed_quote_subst\" -e \"\$delay_variable_subst\"\`\\\""
17283
eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$sed_quote_subst\"\`\\\""
17289
*'\$0 --fallback-echo"')
17290
lt_echo=`$echo "X$lt_echo" | $Xsed -e 's/\\\\\\\$0 --fallback-echo"$/$0 --fallback-echo"/'`
17296
cat <<__EOF__ >> "$cfgfile"
17297
# ### BEGIN LIBTOOL TAG CONFIG: $tagname
17299
# Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
17301
# Shell to use when invoking shell scripts.
17304
# Whether or not to build shared libraries.
17305
build_libtool_libs=$enable_shared
17307
# Whether or not to build static libraries.
17308
build_old_libs=$enable_static
17310
# Whether or not to add -lc for building shared libraries.
17311
build_libtool_need_lc=$archive_cmds_need_lc_F77
17313
# Whether or not to disallow shared libs when runtime libs are static
17314
allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes_F77
17316
# Whether or not to optimize for fast installation.
17317
fast_install=$enable_fast_install
17320
host_alias=$host_alias
17324
# The build system.
17325
build_alias=$build_alias
17329
# An echo program that does not interpret backslashes.
17334
AR_FLAGS=$lt_AR_FLAGS
17339
# LTCC compiler flags.
17340
LTCFLAGS=$lt_LTCFLAGS
17342
# A language-specific compiler.
17343
CC=$lt_compiler_F77
17345
# Is the compiler the GNU C compiler?
17351
# The linker used to build libraries.
17354
# Whether we need hard or soft links.
17357
# A BSD-compatible nm program.
17360
# A symbol stripping program
17363
# Used to examine libraries when file_magic_cmd begins "file"
17364
MAGIC_CMD=$MAGIC_CMD
17366
# Used on cygwin: DLL creation program.
17369
# Used on cygwin: object dumper.
17372
# Used on cygwin: assembler.
17375
# The name of the directory that contains temporary libtool files.
17378
# How to create reloadable object files.
17379
reload_flag=$lt_reload_flag
17380
reload_cmds=$lt_reload_cmds
17382
# How to pass a linker flag through the compiler.
17383
wl=$lt_lt_prog_compiler_wl_F77
17385
# Object file suffix (normally "o").
17386
objext="$ac_objext"
17388
# Old archive suffix (normally "a").
17391
# Shared library suffix (normally ".so").
17392
shrext_cmds='$shrext_cmds'
17394
# Executable file suffix (normally "").
17397
# Additional compiler flags for building library objects.
17398
pic_flag=$lt_lt_prog_compiler_pic_F77
17401
# What is the maximum length of a command?
17402
max_cmd_len=$lt_cv_sys_max_cmd_len
17404
# Does compiler simultaneously support -c and -o options?
17405
compiler_c_o=$lt_lt_cv_prog_compiler_c_o_F77
17407
# Must we lock files when doing compilation?
17408
need_locks=$lt_need_locks
17410
# Do we need the lib prefix for modules?
17411
need_lib_prefix=$need_lib_prefix
17413
# Do we need a version for libraries?
17414
need_version=$need_version
17416
# Whether dlopen is supported.
17417
dlopen_support=$enable_dlopen
17419
# Whether dlopen of programs is supported.
17420
dlopen_self=$enable_dlopen_self
17422
# Whether dlopen of statically linked programs is supported.
17423
dlopen_self_static=$enable_dlopen_self_static
17425
# Compiler flag to prevent dynamic linking.
17426
link_static_flag=$lt_lt_prog_compiler_static_F77
17428
# Compiler flag to turn off builtin functions.
17429
no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag_F77
17431
# Compiler flag to allow reflexive dlopens.
17432
export_dynamic_flag_spec=$lt_export_dynamic_flag_spec_F77
17434
# Compiler flag to generate shared objects directly from archives.
17435
whole_archive_flag_spec=$lt_whole_archive_flag_spec_F77
17437
# Compiler flag to generate thread-safe objects.
17438
thread_safe_flag_spec=$lt_thread_safe_flag_spec_F77
17440
# Library versioning type.
17441
version_type=$version_type
17443
# Format of library name prefix.
17444
libname_spec=$lt_libname_spec
17446
# List of archive names. First name is the real one, the rest are links.
17447
# The last name is the one that the linker finds with -lNAME.
17448
library_names_spec=$lt_library_names_spec
17450
# The coded name of the library, if different from the real name.
17451
soname_spec=$lt_soname_spec
17453
# Commands used to build and install an old-style archive.
17455
old_archive_cmds=$lt_old_archive_cmds_F77
17456
old_postinstall_cmds=$lt_old_postinstall_cmds
17457
old_postuninstall_cmds=$lt_old_postuninstall_cmds
17459
# Create an old-style archive from a shared archive.
17460
old_archive_from_new_cmds=$lt_old_archive_from_new_cmds_F77
17462
# Create a temporary old-style archive to link instead of a shared archive.
17463
old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds_F77
17465
# Commands used to build and install a shared archive.
17466
archive_cmds=$lt_archive_cmds_F77
17467
archive_expsym_cmds=$lt_archive_expsym_cmds_F77
17468
postinstall_cmds=$lt_postinstall_cmds
17469
postuninstall_cmds=$lt_postuninstall_cmds
17471
# Commands used to build a loadable module (assumed same as above if empty)
17472
module_cmds=$lt_module_cmds_F77
17473
module_expsym_cmds=$lt_module_expsym_cmds_F77
17475
# Commands to strip libraries.
17476
old_striplib=$lt_old_striplib
17477
striplib=$lt_striplib
17479
# Dependencies to place before the objects being linked to create a
17481
predep_objects=$lt_predep_objects_F77
17483
# Dependencies to place after the objects being linked to create a
17485
postdep_objects=$lt_postdep_objects_F77
17487
# Dependencies to place before the objects being linked to create a
17489
predeps=$lt_predeps_F77
17491
# Dependencies to place after the objects being linked to create a
17493
postdeps=$lt_postdeps_F77
17495
# The library search path used internally by the compiler when linking
17496
# a shared library.
17497
compiler_lib_search_path=$lt_compiler_lib_search_path_F77
17499
# Method to check whether dependent libraries are shared objects.
17500
deplibs_check_method=$lt_deplibs_check_method
17502
# Command to use when deplibs_check_method == file_magic.
17503
file_magic_cmd=$lt_file_magic_cmd
17505
# Flag that allows shared libraries with undefined symbols to be built.
17506
allow_undefined_flag=$lt_allow_undefined_flag_F77
17508
# Flag that forces no undefined symbols.
17509
no_undefined_flag=$lt_no_undefined_flag_F77
17511
# Commands used to finish a libtool library installation in a directory.
17512
finish_cmds=$lt_finish_cmds
17514
# Same as above, but a single script fragment to be evaled but not shown.
17515
finish_eval=$lt_finish_eval
17517
# Take the output of nm and produce a listing of raw symbols and C names.
17518
global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
17520
# Transform the output of nm in a proper C declaration
17521
global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
17523
# Transform the output of nm in a C name address pair
17524
global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
17526
# This is the shared library runtime path variable.
17527
runpath_var=$runpath_var
17529
# This is the shared library path variable.
17530
shlibpath_var=$shlibpath_var
17532
# Is shlibpath searched before the hard-coded library search path?
17533
shlibpath_overrides_runpath=$shlibpath_overrides_runpath
17535
# How to hardcode a shared library path into an executable.
17536
hardcode_action=$hardcode_action_F77
17538
# Whether we should hardcode library paths into libraries.
17539
hardcode_into_libs=$hardcode_into_libs
17541
# Flag to hardcode \$libdir into a binary during linking.
17542
# This must work even if \$libdir does not exist.
17543
hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec_F77
17545
# If ld is used when linking, flag to hardcode \$libdir into
17546
# a binary during linking. This must work even if \$libdir does
17548
hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld_F77
17550
# Whether we need a single -rpath flag with a separated argument.
17551
hardcode_libdir_separator=$lt_hardcode_libdir_separator_F77
17553
# Set to yes if using DIR/libNAME${shared_ext} during linking hardcodes DIR into the
17554
# resulting binary.
17555
hardcode_direct=$hardcode_direct_F77
17557
# Set to yes if using the -LDIR flag during linking hardcodes DIR into the
17558
# resulting binary.
17559
hardcode_minus_L=$hardcode_minus_L_F77
17561
# Set to yes if using SHLIBPATH_VAR=DIR during linking hardcodes DIR into
17562
# the resulting binary.
17563
hardcode_shlibpath_var=$hardcode_shlibpath_var_F77
17565
# Set to yes if building a shared library automatically hardcodes DIR into the library
17566
# and all subsequent libraries and executables linked against it.
17567
hardcode_automatic=$hardcode_automatic_F77
17569
# Variables whose values should be saved in libtool wrapper scripts and
17570
# restored at relink time.
17571
variables_saved_for_relink="$variables_saved_for_relink"
17573
# Whether libtool must link a program against all its dependency libraries.
17574
link_all_deplibs=$link_all_deplibs_F77
17576
# Compile-time system search path for libraries
17577
sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
17579
# Run-time system search path for libraries
17580
sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
17582
# Fix the shell variable \$srcfile for the compiler.
17583
fix_srcfile_path=$lt_fix_srcfile_path
17585
# Set to yes if exported symbols are required.
17586
always_export_symbols=$always_export_symbols_F77
17588
# The commands to list exported symbols.
17589
export_symbols_cmds=$lt_export_symbols_cmds_F77
17591
# The commands to extract the exported symbol list from a shared archive.
17592
extract_expsyms_cmds=$lt_extract_expsyms_cmds
17594
# Symbols that should not be listed in the preloaded symbols.
17595
exclude_expsyms=$lt_exclude_expsyms_F77
17597
# Symbols that must always be exported.
17598
include_expsyms=$lt_include_expsyms_F77
17600
# ### END LIBTOOL TAG CONFIG: $tagname
17606
# If there is no Makefile yet, we rely on a make rule to execute
17607
# `config.status --recheck' to rerun these tests and create the
17608
# libtool script then.
17609
ltmain_in=`echo $ltmain | sed -e 's/\.sh$/.in/'`
17610
if test -f "$ltmain_in"; then
17611
test -f Makefile && make "$ltmain"
17617
ac_cpp='$CPP $CPPFLAGS'
17618
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17619
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17620
ac_compiler_gnu=$ac_cv_c_compiler_gnu
17630
if test -n "$GCJ" && test "X$GCJ" != "Xno"; then
17633
# Source file extension for Java test sources.
17636
# Object file extension for compiled Java test sources.
17640
# Code to be used in simple compile tests
17641
lt_simple_compile_test_code="class foo {}"
17643
# Code to be used in simple link tests
17644
lt_simple_link_test_code='public class conftest { public static void main(String[] argv) {}; }'
17646
# ltmain only uses $CC for tagged configurations so make sure $CC is set.
17648
# If no C compiler was specified, use CC.
17651
# If no C compiler flags were specified, use CFLAGS.
17652
LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
17654
# Allow CC to be a program name with arguments.
17658
# save warnings/boilerplate of simple test code
17659
ac_outfile=conftest.$ac_objext
17660
echo "$lt_simple_compile_test_code" >conftest.$ac_ext
17661
eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
17662
_lt_compiler_boilerplate=`cat conftest.err`
17665
ac_outfile=conftest.$ac_objext
17666
echo "$lt_simple_link_test_code" >conftest.$ac_ext
17667
eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
17668
_lt_linker_boilerplate=`cat conftest.err`
17672
# Allow CC to be a program name with arguments.
17677
for cc_temp in $compiler""; do
17679
compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
17680
distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
17685
cc_basename=`$echo "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
17688
# GCJ did not exist at the time GCC didn't implicitly link libc in.
17689
archive_cmds_need_lc_GCJ=no
17691
old_archive_cmds_GCJ=$old_archive_cmds
17694
lt_prog_compiler_no_builtin_flag_GCJ=
17696
if test "$GCC" = yes; then
17697
lt_prog_compiler_no_builtin_flag_GCJ=' -fno-builtin'
17700
{ echo "$as_me:$LINENO: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
17701
echo $ECHO_N "checking if $compiler supports -fno-rtti -fno-exceptions... $ECHO_C" >&6; }
17702
if test "${lt_cv_prog_compiler_rtti_exceptions+set}" = set; then
17703
echo $ECHO_N "(cached) $ECHO_C" >&6
17705
lt_cv_prog_compiler_rtti_exceptions=no
17706
ac_outfile=conftest.$ac_objext
17707
echo "$lt_simple_compile_test_code" > conftest.$ac_ext
17708
lt_compiler_flag="-fno-rtti -fno-exceptions"
17709
# Insert the option either (1) after the last *FLAGS variable, or
17710
# (2) before a word containing "conftest.", or (3) at the end.
17711
# Note that $ac_compile itself does not contain backslashes and begins
17712
# with a dollar sign (not a hyphen), so the echo should work correctly.
17713
# The option is referenced via a variable to avoid confusing sed.
17714
lt_compile=`echo "$ac_compile" | $SED \
17715
-e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
17716
-e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
17717
-e 's:$: $lt_compiler_flag:'`
17718
(eval echo "\"\$as_me:__oline__: $lt_compile\"" >&5)
17719
(eval "$lt_compile" 2>conftest.err)
17721
cat conftest.err >&5
17722
echo "$as_me:__oline__: \$? = $ac_status" >&5
17723
if (exit $ac_status) && test -s "$ac_outfile"; then
17724
# The compiler can only warn and ignore the option if not recognized
17725
# So say no if there are warnings other than the usual output.
17726
$echo "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' >conftest.exp
17727
$SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
17728
if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
17729
lt_cv_prog_compiler_rtti_exceptions=yes
17735
{ echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_rtti_exceptions" >&5
17736
echo "${ECHO_T}$lt_cv_prog_compiler_rtti_exceptions" >&6; }
17738
if test x"$lt_cv_prog_compiler_rtti_exceptions" = xyes; then
17739
lt_prog_compiler_no_builtin_flag_GCJ="$lt_prog_compiler_no_builtin_flag_GCJ -fno-rtti -fno-exceptions"
17746
lt_prog_compiler_wl_GCJ=
17747
lt_prog_compiler_pic_GCJ=
17748
lt_prog_compiler_static_GCJ=
17750
{ echo "$as_me:$LINENO: checking for $compiler option to produce PIC" >&5
17751
echo $ECHO_N "checking for $compiler option to produce PIC... $ECHO_C" >&6; }
17753
if test "$GCC" = yes; then
17754
lt_prog_compiler_wl_GCJ='-Wl,'
17755
lt_prog_compiler_static_GCJ='-static'
17759
# All AIX code is PIC.
17760
if test "$host_cpu" = ia64; then
17761
# AIX 5 now supports IA64 processor
17762
lt_prog_compiler_static_GCJ='-Bstatic'
17767
# FIXME: we need at least 68020 code to build shared libraries, but
17768
# adding the `-m68020' flag to GCC prevents building anything better,
17770
lt_prog_compiler_pic_GCJ='-m68020 -resident32 -malways-restore-a4'
17773
beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
17774
# PIC is the default for these OSes.
17777
mingw* | cygwin* | pw32* | os2*)
17778
# This hack is so that the source file can tell whether it is being
17779
# built for inclusion in a dll (and should export symbols for example).
17780
# Although the cygwin gcc ignores -fPIC, still need this for old-style
17781
# (--disable-auto-import) libraries
17782
lt_prog_compiler_pic_GCJ='-DDLL_EXPORT'
17785
darwin* | rhapsody*)
17786
# PIC is the default on this platform
17787
# Common symbols not allowed in MH_DYLIB files
17788
lt_prog_compiler_pic_GCJ='-fno-common'
17792
# Interix 3.x gcc -fpic/-fPIC options generate broken code.
17793
# Instead, we relocate shared libraries at runtime.
17797
# Just because we use GCC doesn't mean we suddenly get shared libraries
17798
# on systems that don't support them.
17799
lt_prog_compiler_can_build_shared_GCJ=no
17804
if test -d /usr/nec; then
17805
lt_prog_compiler_pic_GCJ=-Kconform_pic
17810
# PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
17811
# not for PA HP-UX.
17817
lt_prog_compiler_pic_GCJ='-fPIC'
17823
lt_prog_compiler_pic_GCJ='-fPIC'
17827
# PORTME Check for flag to pass linker flags through the system compiler.
17830
lt_prog_compiler_wl_GCJ='-Wl,'
17831
if test "$host_cpu" = ia64; then
17832
# AIX 5 now supports IA64 processor
17833
lt_prog_compiler_static_GCJ='-Bstatic'
17835
lt_prog_compiler_static_GCJ='-bnso -bI:/lib/syscalls.exp'
17839
# PIC is the default on this platform
17840
# Common symbols not allowed in MH_DYLIB files
17841
case $cc_basename in
17843
lt_prog_compiler_pic_GCJ='-qnocommon'
17844
lt_prog_compiler_wl_GCJ='-Wl,'
17849
mingw* | cygwin* | pw32* | os2*)
17850
# This hack is so that the source file can tell whether it is being
17851
# built for inclusion in a dll (and should export symbols for example).
17852
lt_prog_compiler_pic_GCJ='-DDLL_EXPORT'
17855
hpux9* | hpux10* | hpux11*)
17856
lt_prog_compiler_wl_GCJ='-Wl,'
17857
# PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
17858
# not for PA HP-UX.
17864
lt_prog_compiler_pic_GCJ='+Z'
17867
# Is there a better lt_prog_compiler_static that works with the bundled CC?
17868
lt_prog_compiler_static_GCJ='${wl}-a ${wl}archive'
17871
irix5* | irix6* | nonstopux*)
17872
lt_prog_compiler_wl_GCJ='-Wl,'
17873
# PIC (with -KPIC) is the default.
17874
lt_prog_compiler_static_GCJ='-non_shared'
17878
lt_prog_compiler_pic_GCJ='-KPIC'
17879
lt_prog_compiler_static_GCJ='-Bstatic'
17882
linux* | k*bsd*-gnu)
17883
case $cc_basename in
17885
lt_prog_compiler_wl_GCJ='-Wl,'
17886
lt_prog_compiler_pic_GCJ='-KPIC'
17887
lt_prog_compiler_static_GCJ='-static'
17889
pgcc* | pgf77* | pgf90* | pgf95*)
17890
# Portland Group compilers (*not* the Pentium gcc compiler,
17891
# which looks to be a dead project)
17892
lt_prog_compiler_wl_GCJ='-Wl,'
17893
lt_prog_compiler_pic_GCJ='-fpic'
17894
lt_prog_compiler_static_GCJ='-Bstatic'
17897
lt_prog_compiler_wl_GCJ='-Wl,'
17898
# All Alpha code is PIC.
17899
lt_prog_compiler_static_GCJ='-non_shared'
17902
case `$CC -V 2>&1 | sed 5q` in
17905
lt_prog_compiler_pic_GCJ='-KPIC'
17906
lt_prog_compiler_static_GCJ='-Bstatic'
17907
lt_prog_compiler_wl_GCJ='-Wl,'
17910
# Sun Fortran 8.3 passes all unrecognized flags to the linker
17911
lt_prog_compiler_pic_GCJ='-KPIC'
17912
lt_prog_compiler_static_GCJ='-Bstatic'
17913
lt_prog_compiler_wl_GCJ=''
17920
osf3* | osf4* | osf5*)
17921
lt_prog_compiler_wl_GCJ='-Wl,'
17922
# All OSF/1 code is PIC.
17923
lt_prog_compiler_static_GCJ='-non_shared'
17927
lt_prog_compiler_static_GCJ='-non_shared'
17931
lt_prog_compiler_pic_GCJ='-KPIC'
17932
lt_prog_compiler_static_GCJ='-Bstatic'
17933
case $cc_basename in
17934
f77* | f90* | f95*)
17935
lt_prog_compiler_wl_GCJ='-Qoption ld ';;
17937
lt_prog_compiler_wl_GCJ='-Wl,';;
17942
lt_prog_compiler_wl_GCJ='-Qoption ld '
17943
lt_prog_compiler_pic_GCJ='-PIC'
17944
lt_prog_compiler_static_GCJ='-Bstatic'
17947
sysv4 | sysv4.2uw2* | sysv4.3*)
17948
lt_prog_compiler_wl_GCJ='-Wl,'
17949
lt_prog_compiler_pic_GCJ='-KPIC'
17950
lt_prog_compiler_static_GCJ='-Bstatic'
17954
if test -d /usr/nec ;then
17955
lt_prog_compiler_pic_GCJ='-Kconform_pic'
17956
lt_prog_compiler_static_GCJ='-Bstatic'
17960
sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
17961
lt_prog_compiler_wl_GCJ='-Wl,'
17962
lt_prog_compiler_pic_GCJ='-KPIC'
17963
lt_prog_compiler_static_GCJ='-Bstatic'
17967
lt_prog_compiler_wl_GCJ='-Wl,'
17968
lt_prog_compiler_can_build_shared_GCJ=no
17972
lt_prog_compiler_pic_GCJ='-pic'
17973
lt_prog_compiler_static_GCJ='-Bstatic'
17977
lt_prog_compiler_can_build_shared_GCJ=no
17982
{ echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_GCJ" >&5
17983
echo "${ECHO_T}$lt_prog_compiler_pic_GCJ" >&6; }
17986
# Check to make sure the PIC flag actually works.
17988
if test -n "$lt_prog_compiler_pic_GCJ"; then
17990
{ echo "$as_me:$LINENO: checking if $compiler PIC flag $lt_prog_compiler_pic_GCJ works" >&5
17991
echo $ECHO_N "checking if $compiler PIC flag $lt_prog_compiler_pic_GCJ works... $ECHO_C" >&6; }
17992
if test "${lt_prog_compiler_pic_works_GCJ+set}" = set; then
17993
echo $ECHO_N "(cached) $ECHO_C" >&6
17995
lt_prog_compiler_pic_works_GCJ=no
17996
ac_outfile=conftest.$ac_objext
17997
echo "$lt_simple_compile_test_code" > conftest.$ac_ext
17998
lt_compiler_flag="$lt_prog_compiler_pic_GCJ"
17999
# Insert the option either (1) after the last *FLAGS variable, or
18000
# (2) before a word containing "conftest.", or (3) at the end.
18001
# Note that $ac_compile itself does not contain backslashes and begins
18002
# with a dollar sign (not a hyphen), so the echo should work correctly.
18003
# The option is referenced via a variable to avoid confusing sed.
18004
lt_compile=`echo "$ac_compile" | $SED \
18005
-e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
18006
-e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
18007
-e 's:$: $lt_compiler_flag:'`
18008
(eval echo "\"\$as_me:__oline__: $lt_compile\"" >&5)
18009
(eval "$lt_compile" 2>conftest.err)
18011
cat conftest.err >&5
18012
echo "$as_me:__oline__: \$? = $ac_status" >&5
18013
if (exit $ac_status) && test -s "$ac_outfile"; then
18014
# The compiler can only warn and ignore the option if not recognized
18015
# So say no if there are warnings other than the usual output.
18016
$echo "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' >conftest.exp
18017
$SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
18018
if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
18019
lt_prog_compiler_pic_works_GCJ=yes
18025
{ echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_works_GCJ" >&5
18026
echo "${ECHO_T}$lt_prog_compiler_pic_works_GCJ" >&6; }
18028
if test x"$lt_prog_compiler_pic_works_GCJ" = xyes; then
18029
case $lt_prog_compiler_pic_GCJ in
18031
*) lt_prog_compiler_pic_GCJ=" $lt_prog_compiler_pic_GCJ" ;;
18034
lt_prog_compiler_pic_GCJ=
18035
lt_prog_compiler_can_build_shared_GCJ=no
18040
# For platforms which do not support PIC, -DPIC is meaningless:
18042
lt_prog_compiler_pic_GCJ=
18045
lt_prog_compiler_pic_GCJ="$lt_prog_compiler_pic_GCJ"
18050
# Check to make sure the static flag actually works.
18052
wl=$lt_prog_compiler_wl_GCJ eval lt_tmp_static_flag=\"$lt_prog_compiler_static_GCJ\"
18053
{ echo "$as_me:$LINENO: checking if $compiler static flag $lt_tmp_static_flag works" >&5
18054
echo $ECHO_N "checking if $compiler static flag $lt_tmp_static_flag works... $ECHO_C" >&6; }
18055
if test "${lt_prog_compiler_static_works_GCJ+set}" = set; then
18056
echo $ECHO_N "(cached) $ECHO_C" >&6
18058
lt_prog_compiler_static_works_GCJ=no
18059
save_LDFLAGS="$LDFLAGS"
18060
LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
18061
echo "$lt_simple_link_test_code" > conftest.$ac_ext
18062
if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
18063
# The linker can only warn and ignore the option if not recognized
18064
# So say no if there are warnings
18065
if test -s conftest.err; then
18066
# Append any errors to the config.log.
18067
cat conftest.err 1>&5
18068
$echo "X$_lt_linker_boilerplate" | $Xsed -e '/^$/d' > conftest.exp
18069
$SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
18070
if diff conftest.exp conftest.er2 >/dev/null; then
18071
lt_prog_compiler_static_works_GCJ=yes
18074
lt_prog_compiler_static_works_GCJ=yes
18078
LDFLAGS="$save_LDFLAGS"
18081
{ echo "$as_me:$LINENO: result: $lt_prog_compiler_static_works_GCJ" >&5
18082
echo "${ECHO_T}$lt_prog_compiler_static_works_GCJ" >&6; }
18084
if test x"$lt_prog_compiler_static_works_GCJ" = xyes; then
18087
lt_prog_compiler_static_GCJ=
18091
{ echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5
18092
echo $ECHO_N "checking if $compiler supports -c -o file.$ac_objext... $ECHO_C" >&6; }
18093
if test "${lt_cv_prog_compiler_c_o_GCJ+set}" = set; then
18094
echo $ECHO_N "(cached) $ECHO_C" >&6
18096
lt_cv_prog_compiler_c_o_GCJ=no
18097
$rm -r conftest 2>/dev/null
18101
echo "$lt_simple_compile_test_code" > conftest.$ac_ext
18103
lt_compiler_flag="-o out/conftest2.$ac_objext"
18104
# Insert the option either (1) after the last *FLAGS variable, or
18105
# (2) before a word containing "conftest.", or (3) at the end.
18106
# Note that $ac_compile itself does not contain backslashes and begins
18107
# with a dollar sign (not a hyphen), so the echo should work correctly.
18108
lt_compile=`echo "$ac_compile" | $SED \
18109
-e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
18110
-e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
18111
-e 's:$: $lt_compiler_flag:'`
18112
(eval echo "\"\$as_me:__oline__: $lt_compile\"" >&5)
18113
(eval "$lt_compile" 2>out/conftest.err)
18115
cat out/conftest.err >&5
18116
echo "$as_me:__oline__: \$? = $ac_status" >&5
18117
if (exit $ac_status) && test -s out/conftest2.$ac_objext
18119
# The compiler can only warn and ignore the option if not recognized
18120
# So say no if there are warnings
18121
$echo "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' > out/conftest.exp
18122
$SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
18123
if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
18124
lt_cv_prog_compiler_c_o_GCJ=yes
18129
# SGI C++ compiler will create directory out/ii_files/ for
18130
# template instantiation
18131
test -d out/ii_files && $rm out/ii_files/* && rmdir out/ii_files
18132
$rm out/* && rmdir out
18138
{ echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_c_o_GCJ" >&5
18139
echo "${ECHO_T}$lt_cv_prog_compiler_c_o_GCJ" >&6; }
18142
hard_links="nottested"
18143
if test "$lt_cv_prog_compiler_c_o_GCJ" = no && test "$need_locks" != no; then
18144
# do not overwrite the value of need_locks provided by the user
18145
{ echo "$as_me:$LINENO: checking if we can lock with hard links" >&5
18146
echo $ECHO_N "checking if we can lock with hard links... $ECHO_C" >&6; }
18149
ln conftest.a conftest.b 2>/dev/null && hard_links=no
18151
ln conftest.a conftest.b 2>&5 || hard_links=no
18152
ln conftest.a conftest.b 2>/dev/null && hard_links=no
18153
{ echo "$as_me:$LINENO: result: $hard_links" >&5
18154
echo "${ECHO_T}$hard_links" >&6; }
18155
if test "$hard_links" = no; then
18156
{ echo "$as_me:$LINENO: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
18157
echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
18164
{ echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5
18165
echo $ECHO_N "checking whether the $compiler linker ($LD) supports shared libraries... $ECHO_C" >&6; }
18168
allow_undefined_flag_GCJ=
18169
enable_shared_with_static_runtimes_GCJ=no
18171
archive_expsym_cmds_GCJ=
18172
old_archive_From_new_cmds_GCJ=
18173
old_archive_from_expsyms_cmds_GCJ=
18174
export_dynamic_flag_spec_GCJ=
18175
whole_archive_flag_spec_GCJ=
18176
thread_safe_flag_spec_GCJ=
18177
hardcode_libdir_flag_spec_GCJ=
18178
hardcode_libdir_flag_spec_ld_GCJ=
18179
hardcode_libdir_separator_GCJ=
18180
hardcode_direct_GCJ=no
18181
hardcode_minus_L_GCJ=no
18182
hardcode_shlibpath_var_GCJ=unsupported
18183
link_all_deplibs_GCJ=unknown
18184
hardcode_automatic_GCJ=no
18186
module_expsym_cmds_GCJ=
18187
always_export_symbols_GCJ=no
18188
export_symbols_cmds_GCJ='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
18189
# include_expsyms should be a list of space-separated symbols to be *always*
18190
# included in the symbol list
18191
include_expsyms_GCJ=
18192
# exclude_expsyms can be an extended regexp of symbols to exclude
18193
# it will be wrapped by ` (' and `)$', so one must not match beginning or
18194
# end of line. Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
18195
# as well as any symbol that contains `d'.
18196
exclude_expsyms_GCJ="_GLOBAL_OFFSET_TABLE_"
18197
# Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
18198
# platforms (ab)use it in PIC code, but their linkers get confused if
18199
# the symbol is explicitly referenced. Since portable code cannot
18200
# rely on this symbol name, it's probably fine to never include it in
18201
# preloaded symbol tables.
18202
extract_expsyms_cmds=
18203
# Just being paranoid about ensuring that cc_basename is set.
18204
for cc_temp in $compiler""; do
18206
compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
18207
distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
18212
cc_basename=`$echo "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
18215
cygwin* | mingw* | pw32*)
18216
# FIXME: the MSVC++ port hasn't been tested in a loooong time
18217
# When not using gcc, we currently assume that we are using
18218
# Microsoft Visual C++.
18219
if test "$GCC" != yes; then
18224
# we just hope/assume this is gcc and not c89 (= MSVC++)
18233
if test "$with_gnu_ld" = yes; then
18234
# If archive_cmds runs LD, not CC, wlarc should be empty
18237
# Set some defaults for GNU ld with shared library support. These
18238
# are reset later if shared libraries are not supported. Putting them
18239
# here allows them to be overridden if necessary.
18240
runpath_var=LD_RUN_PATH
18241
hardcode_libdir_flag_spec_GCJ='${wl}--rpath ${wl}$libdir'
18242
export_dynamic_flag_spec_GCJ='${wl}--export-dynamic'
18243
# ancient GNU ld didn't support --whole-archive et. al.
18244
if $LD --help 2>&1 | grep 'no-whole-archive' > /dev/null; then
18245
whole_archive_flag_spec_GCJ="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
18247
whole_archive_flag_spec_GCJ=
18249
supports_anon_versioning=no
18250
case `$LD -v 2>/dev/null` in
18251
*\ [01].* | *\ 2.[0-9].* | *\ 2.10.*) ;; # catch versions < 2.11
18252
*\ 2.11.93.0.2\ *) supports_anon_versioning=yes ;; # RH7.3 ...
18253
*\ 2.11.92.0.12\ *) supports_anon_versioning=yes ;; # Mandrake 8.2 ...
18254
*\ 2.11.*) ;; # other 2.11 versions
18255
*) supports_anon_versioning=yes ;;
18258
# See if GNU ld supports shared libraries.
18260
aix3* | aix4* | aix5*)
18261
# On AIX/PPC, the GNU linker is very broken
18262
if test "$host_cpu" != ia64; then
18266
*** Warning: the GNU linker, at least up to release 2.9.1, is reported
18267
*** to be unable to reliably create shared libraries on AIX.
18268
*** Therefore, libtool is disabling shared libraries support. If you
18269
*** really care for shared libraries, you may want to modify your PATH
18270
*** so that a non-GNU linker is found, and then restart.
18277
archive_cmds_GCJ='$rm $output_objdir/a2ixlibrary.data~$echo "#define NAME $libname" > $output_objdir/a2ixlibrary.data~$echo "#define LIBRARY_ID 1" >> $output_objdir/a2ixlibrary.data~$echo "#define VERSION $major" >> $output_objdir/a2ixlibrary.data~$echo "#define REVISION $revision" >> $output_objdir/a2ixlibrary.data~$AR $AR_FLAGS $lib $libobjs~$RANLIB $lib~(cd $output_objdir && a2ixlibrary -32)'
18278
hardcode_libdir_flag_spec_GCJ='-L$libdir'
18279
hardcode_minus_L_GCJ=yes
18281
# Samuel A. Falvo II <kc5tja@dolphin.openprojects.net> reports
18282
# that the semantics of dynamic libraries on AmigaOS, at least up
18283
# to version 4, is to share data among multiple programs linked
18284
# with the same dynamic library. Since this doesn't match the
18285
# behavior of shared libraries on other platforms, we can't use
18291
if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
18292
allow_undefined_flag_GCJ=unsupported
18293
# Joseph Beckenbach <jrb3@best.com> says some releases of gcc
18294
# support --undefined. This deserves some investigation. FIXME
18295
archive_cmds_GCJ='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
18301
cygwin* | mingw* | pw32*)
18302
# _LT_AC_TAGVAR(hardcode_libdir_flag_spec, GCJ) is actually meaningless,
18303
# as there is no search path for DLLs.
18304
hardcode_libdir_flag_spec_GCJ='-L$libdir'
18305
allow_undefined_flag_GCJ=unsupported
18306
always_export_symbols_GCJ=no
18307
enable_shared_with_static_runtimes_GCJ=yes
18308
export_symbols_cmds_GCJ='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1 DATA/'\'' -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols'
18310
if $LD --help 2>&1 | grep 'auto-import' > /dev/null; then
18311
archive_cmds_GCJ='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
18312
# If the export-symbols file already is a .def file (1st line
18313
# is EXPORTS), use it as is; otherwise, prepend...
18314
archive_expsym_cmds_GCJ='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
18315
cp $export_symbols $output_objdir/$soname.def;
18317
echo EXPORTS > $output_objdir/$soname.def;
18318
cat $export_symbols >> $output_objdir/$soname.def;
18320
$CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
18327
hardcode_direct_GCJ=no
18328
hardcode_shlibpath_var_GCJ=no
18329
hardcode_libdir_flag_spec_GCJ='${wl}-rpath,$libdir'
18330
export_dynamic_flag_spec_GCJ='${wl}-E'
18331
# Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
18332
# Instead, shared libraries are loaded at an image base (0x10000000 by
18333
# default) and relocated if they conflict, which is a slow very memory
18334
# consuming and fragmenting process. To avoid this, we pick a random,
18335
# 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
18336
# time. Moving up from 0x10000000 also allows more sbrk(2) space.
18337
archive_cmds_GCJ='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
18338
archive_expsym_cmds_GCJ='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'
18341
gnu* | linux* | k*bsd*-gnu)
18342
if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
18344
case $cc_basename,$host_cpu in
18345
pgcc*) # Portland Group C compiler
18346
whole_archive_flag_spec_GCJ='${wl}--whole-archive`for conv in $convenience\"\"; do test -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; $echo \"$new_convenience\"` ${wl}--no-whole-archive'
18347
tmp_addflag=' $pic_flag'
18349
pgf77* | pgf90* | pgf95*) # Portland Group f77 and f90 compilers
18350
whole_archive_flag_spec_GCJ='${wl}--whole-archive`for conv in $convenience\"\"; do test -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; $echo \"$new_convenience\"` ${wl}--no-whole-archive'
18351
tmp_addflag=' $pic_flag -Mnomain' ;;
18352
ecc*,ia64* | icc*,ia64*) # Intel C compiler on ia64
18353
tmp_addflag=' -i_dynamic' ;;
18354
efc*,ia64* | ifort*,ia64*) # Intel Fortran compiler on ia64
18355
tmp_addflag=' -i_dynamic -nofor_main' ;;
18356
ifc* | ifort*) # Intel Fortran compiler
18357
tmp_addflag=' -nofor_main' ;;
18359
case `$CC -V 2>&1 | sed 5q` in
18360
*Sun\ C*) # Sun C 5.9
18361
whole_archive_flag_spec_GCJ='${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'
18362
tmp_sharedflag='-G' ;;
18363
*Sun\ F*) # Sun Fortran 8.3
18364
tmp_sharedflag='-G' ;;
18366
tmp_sharedflag='-shared' ;;
18368
archive_cmds_GCJ='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
18370
if test $supports_anon_versioning = yes; then
18371
archive_expsym_cmds_GCJ='$echo "{ global:" > $output_objdir/$libname.ver~
18372
cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
18373
$echo "local: *; };" >> $output_objdir/$libname.ver~
18374
$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
18376
link_all_deplibs_GCJ=no
18382
netbsd* | netbsdelf*-gnu)
18383
if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
18384
archive_cmds_GCJ='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
18387
archive_cmds_GCJ='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
18388
archive_expsym_cmds_GCJ='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
18393
if $LD -v 2>&1 | grep 'BFD 2\.8' > /dev/null; then
18397
*** Warning: The releases 2.8.* of the GNU linker cannot reliably
18398
*** create shared libraries on Solaris systems. Therefore, libtool
18399
*** is disabling shared libraries support. We urge you to upgrade GNU
18400
*** binutils to release 2.9.1 or newer. Another option is to modify
18401
*** your PATH or compiler configuration so that the native linker is
18402
*** used, and then restart.
18405
elif $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
18406
archive_cmds_GCJ='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
18407
archive_expsym_cmds_GCJ='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
18413
sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX*)
18414
case `$LD -v 2>&1` in
18415
*\ [01].* | *\ 2.[0-9].* | *\ 2.1[0-5].*)
18419
*** Warning: Releases of the GNU linker prior to 2.16.91.0.3 can not
18420
*** reliably create shared libraries on SCO systems. Therefore, libtool
18421
*** is disabling shared libraries support. We urge you to upgrade GNU
18422
*** binutils to release 2.16.91.0.3 or newer. Another option is to modify
18423
*** your PATH or compiler configuration so that the native linker is
18424
*** used, and then restart.
18429
if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
18430
hardcode_libdir_flag_spec_GCJ='`test -z "$SCOABSPATH" && echo ${wl}-rpath,$libdir`'
18431
archive_cmds_GCJ='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib'
18432
archive_expsym_cmds_GCJ='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname,\${SCOABSPATH:+${install_libdir}/}$soname,-retain-symbols-file,$export_symbols -o $lib'
18441
archive_cmds_GCJ='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
18443
hardcode_direct_GCJ=yes
18444
hardcode_shlibpath_var_GCJ=no
18448
if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
18449
archive_cmds_GCJ='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
18450
archive_expsym_cmds_GCJ='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
18457
if test "$ld_shlibs_GCJ" = no; then
18459
hardcode_libdir_flag_spec_GCJ=
18460
export_dynamic_flag_spec_GCJ=
18461
whole_archive_flag_spec_GCJ=
18464
# PORTME fill in a description of your system's linker (not GNU ld)
18467
allow_undefined_flag_GCJ=unsupported
18468
always_export_symbols_GCJ=yes
18469
archive_expsym_cmds_GCJ='$LD -o $output_objdir/$soname $libobjs $deplibs $linker_flags -bE:$export_symbols -T512 -H512 -bM:SRE~$AR $AR_FLAGS $lib $output_objdir/$soname'
18470
# Note: this linker hardcodes the directories in LIBPATH if there
18471
# are no directories specified by -L.
18472
hardcode_minus_L_GCJ=yes
18473
if test "$GCC" = yes && test -z "$lt_prog_compiler_static"; then
18474
# Neither direct hardcoding nor static linking is supported with a
18476
hardcode_direct_GCJ=unsupported
18481
if test "$host_cpu" = ia64; then
18482
# On IA64, the linker does run time linking by default, so we don't
18483
# have to do anything special.
18484
aix_use_runtimelinking=no
18485
exp_sym_flag='-Bexport'
18488
# If we're using GNU nm, then we don't want the "-C" option.
18489
# -C means demangle to AIX nm, but means don't demangle with GNU nm
18490
if $NM -V 2>&1 | grep 'GNU' > /dev/null; then
18491
export_symbols_cmds_GCJ='$NM -Bpg $libobjs $convenience | awk '\''{ if (((\$2 == "T") || (\$2 == "D") || (\$2 == "B")) && (substr(\$3,1,1) != ".")) { print \$3 } }'\'' | sort -u > $export_symbols'
18493
export_symbols_cmds_GCJ='$NM -BCpg $libobjs $convenience | awk '\''{ if (((\$2 == "T") || (\$2 == "D") || (\$2 == "B")) && (substr(\$3,1,1) != ".")) { print \$3 } }'\'' | sort -u > $export_symbols'
18495
aix_use_runtimelinking=no
18497
# Test if we are trying to use run time linking or normal
18498
# AIX style linking. If -brtl is somewhere in LDFLAGS, we
18499
# need to do runtime linking.
18500
case $host_os in aix4.[23]|aix4.[23].*|aix5*)
18501
for ld_flag in $LDFLAGS; do
18502
if (test $ld_flag = "-brtl" || test $ld_flag = "-Wl,-brtl"); then
18503
aix_use_runtimelinking=yes
18510
exp_sym_flag='-bexport'
18511
no_entry_flag='-bnoentry'
18514
# When large executables or shared objects are built, AIX ld can
18515
# have problems creating the table of contents. If linking a library
18516
# or program results in "error TOC overflow" add -mminimal-toc to
18517
# CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
18518
# enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
18520
archive_cmds_GCJ=''
18521
hardcode_direct_GCJ=yes
18522
hardcode_libdir_separator_GCJ=':'
18523
link_all_deplibs_GCJ=yes
18525
if test "$GCC" = yes; then
18526
case $host_os in aix4.[012]|aix4.[012].*)
18527
# We only want to do this on AIX 4.2 and lower, the check
18528
# below for broken collect2 doesn't work under 4.3+
18529
collect2name=`${CC} -print-prog-name=collect2`
18530
if test -f "$collect2name" && \
18531
strings "$collect2name" | grep resolve_lib_name >/dev/null
18533
# We have reworked collect2
18536
# We have old collect2
18537
hardcode_direct_GCJ=unsupported
18538
# It fails to find uninstalled libraries when the uninstalled
18539
# path is not listed in the libpath. Setting hardcode_minus_L
18540
# to unsupported forces relinking
18541
hardcode_minus_L_GCJ=yes
18542
hardcode_libdir_flag_spec_GCJ='-L$libdir'
18543
hardcode_libdir_separator_GCJ=
18547
shared_flag='-shared'
18548
if test "$aix_use_runtimelinking" = yes; then
18549
shared_flag="$shared_flag "'${wl}-G'
18553
if test "$host_cpu" = ia64; then
18554
# VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
18555
# chokes on -Wl,-G. The following line is correct:
18558
if test "$aix_use_runtimelinking" = yes; then
18559
shared_flag='${wl}-G'
18561
shared_flag='${wl}-bM:SRE'
18566
# It seems that -bexpall does not export symbols beginning with
18567
# underscore (_), so it is better to generate a list of symbols to export.
18568
always_export_symbols_GCJ=yes
18569
if test "$aix_use_runtimelinking" = yes; then
18570
# Warning - without using the other runtime loading flags (-brtl),
18571
# -berok will link without error, but may produce a broken library.
18572
allow_undefined_flag_GCJ='-berok'
18573
# Determine the default libpath from the value encoded in an empty executable.
18574
cat >conftest.$ac_ext <<_ACEOF
18577
cat confdefs.h >>conftest.$ac_ext
18578
cat >>conftest.$ac_ext <<_ACEOF
18579
/* end confdefs.h. */
18589
rm -f conftest.$ac_objext conftest$ac_exeext
18590
if { (ac_try="$ac_link"
18591
case "(($ac_try" in
18592
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18593
*) ac_try_echo=$ac_try;;
18595
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18596
(eval "$ac_link") 2>conftest.er1
18598
grep -v '^ *+' conftest.er1 >conftest.err
18600
cat conftest.err >&5
18601
echo "$as_me:$LINENO: \$? = $ac_status" >&5
18602
(exit $ac_status); } && {
18603
test -z "$ac_c_werror_flag" ||
18604
test ! -s conftest.err
18605
} && test -s conftest$ac_exeext &&
18606
$as_test_x conftest$ac_exeext; then
18608
lt_aix_libpath_sed='
18609
/Import File Strings/,/^$/ {
18615
aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
18616
# Check for a 64-bit object if we didn't find anything.
18617
if test -z "$aix_libpath"; then
18618
aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
18621
echo "$as_me: failed program was:" >&5
18622
sed 's/^/| /' conftest.$ac_ext >&5
18627
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
18628
conftest$ac_exeext conftest.$ac_ext
18629
if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
18631
hardcode_libdir_flag_spec_GCJ='${wl}-blibpath:$libdir:'"$aix_libpath"
18632
archive_expsym_cmds_GCJ="\$CC"' -o $output_objdir/$soname $libobjs $deplibs '"\${wl}$no_entry_flag"' $compiler_flags `if test "x${allow_undefined_flag}" != "x"; then echo "${wl}${allow_undefined_flag}"; else :; fi` '"\${wl}$exp_sym_flag:\$export_symbols $shared_flag"
18634
if test "$host_cpu" = ia64; then
18635
hardcode_libdir_flag_spec_GCJ='${wl}-R $libdir:/usr/lib:/lib'
18636
allow_undefined_flag_GCJ="-z nodefs"
18637
archive_expsym_cmds_GCJ="\$CC $shared_flag"' -o $output_objdir/$soname $libobjs $deplibs '"\${wl}$no_entry_flag"' $compiler_flags ${wl}${allow_undefined_flag} '"\${wl}$exp_sym_flag:\$export_symbols"
18639
# Determine the default libpath from the value encoded in an empty executable.
18640
cat >conftest.$ac_ext <<_ACEOF
18643
cat confdefs.h >>conftest.$ac_ext
18644
cat >>conftest.$ac_ext <<_ACEOF
18645
/* end confdefs.h. */
18655
rm -f conftest.$ac_objext conftest$ac_exeext
18656
if { (ac_try="$ac_link"
18657
case "(($ac_try" in
18658
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18659
*) ac_try_echo=$ac_try;;
18661
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18662
(eval "$ac_link") 2>conftest.er1
18664
grep -v '^ *+' conftest.er1 >conftest.err
18666
cat conftest.err >&5
18667
echo "$as_me:$LINENO: \$? = $ac_status" >&5
18668
(exit $ac_status); } && {
18669
test -z "$ac_c_werror_flag" ||
18670
test ! -s conftest.err
18671
} && test -s conftest$ac_exeext &&
18672
$as_test_x conftest$ac_exeext; then
18674
lt_aix_libpath_sed='
18675
/Import File Strings/,/^$/ {
18681
aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
18682
# Check for a 64-bit object if we didn't find anything.
18683
if test -z "$aix_libpath"; then
18684
aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
18687
echo "$as_me: failed program was:" >&5
18688
sed 's/^/| /' conftest.$ac_ext >&5
18693
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
18694
conftest$ac_exeext conftest.$ac_ext
18695
if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
18697
hardcode_libdir_flag_spec_GCJ='${wl}-blibpath:$libdir:'"$aix_libpath"
18698
# Warning - without using the other run time loading flags,
18699
# -berok will link without error, but may produce a broken library.
18700
no_undefined_flag_GCJ=' ${wl}-bernotok'
18701
allow_undefined_flag_GCJ=' ${wl}-berok'
18702
# Exported symbols can be pulled into shared objects from archives
18703
whole_archive_flag_spec_GCJ='$convenience'
18704
archive_cmds_need_lc_GCJ=yes
18705
# This is similar to how AIX traditionally builds its shared libraries.
18706
archive_expsym_cmds_GCJ="\$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'
18712
archive_cmds_GCJ='$rm $output_objdir/a2ixlibrary.data~$echo "#define NAME $libname" > $output_objdir/a2ixlibrary.data~$echo "#define LIBRARY_ID 1" >> $output_objdir/a2ixlibrary.data~$echo "#define VERSION $major" >> $output_objdir/a2ixlibrary.data~$echo "#define REVISION $revision" >> $output_objdir/a2ixlibrary.data~$AR $AR_FLAGS $lib $libobjs~$RANLIB $lib~(cd $output_objdir && a2ixlibrary -32)'
18713
hardcode_libdir_flag_spec_GCJ='-L$libdir'
18714
hardcode_minus_L_GCJ=yes
18715
# see comment about different semantics on the GNU ld section
18720
export_dynamic_flag_spec_GCJ=-rdynamic
18723
cygwin* | mingw* | pw32*)
18724
# When not using gcc, we currently assume that we are using
18725
# Microsoft Visual C++.
18726
# hardcode_libdir_flag_spec is actually meaningless, as there is
18727
# no search path for DLLs.
18728
hardcode_libdir_flag_spec_GCJ=' '
18729
allow_undefined_flag_GCJ=unsupported
18730
# Tell ltmain to make .lib files, not .a files.
18732
# Tell ltmain to make .dll files, not .so files.
18734
# FIXME: Setting linknames here is a bad hack.
18735
archive_cmds_GCJ='$CC -o $lib $libobjs $compiler_flags `echo "$deplibs" | $SED -e '\''s/ -lc$//'\''` -link -dll~linknames='
18736
# The linker will automatically build a .lib file if we build a DLL.
18737
old_archive_From_new_cmds_GCJ='true'
18738
# FIXME: Should let the user specify the lib program.
18739
old_archive_cmds_GCJ='lib -OUT:$oldlib$oldobjs$old_deplibs'
18740
fix_srcfile_path_GCJ='`cygpath -w "$srcfile"`'
18741
enable_shared_with_static_runtimes_GCJ=yes
18744
darwin* | rhapsody*)
18746
rhapsody* | darwin1.[012])
18747
allow_undefined_flag_GCJ='${wl}-undefined ${wl}suppress'
18750
if test -z ${MACOSX_DEPLOYMENT_TARGET} ; then
18751
allow_undefined_flag_GCJ='${wl}-flat_namespace ${wl}-undefined ${wl}suppress'
18753
case ${MACOSX_DEPLOYMENT_TARGET} in
18755
allow_undefined_flag_GCJ='${wl}-flat_namespace ${wl}-undefined ${wl}suppress'
18758
allow_undefined_flag_GCJ='${wl}-undefined ${wl}dynamic_lookup'
18764
archive_cmds_need_lc_GCJ=no
18765
hardcode_direct_GCJ=no
18766
hardcode_automatic_GCJ=yes
18767
hardcode_shlibpath_var_GCJ=unsupported
18768
whole_archive_flag_spec_GCJ=''
18769
link_all_deplibs_GCJ=yes
18770
if test "$GCC" = yes ; then
18771
output_verbose_link_cmd='echo'
18772
archive_cmds_GCJ='$CC -dynamiclib $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags -install_name $rpath/$soname $verstring'
18773
module_cmds_GCJ='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
18774
# Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin lds
18775
archive_expsym_cmds_GCJ='sed -e "s,#.*,," -e "s,^[ ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC -dynamiclib $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags -install_name $rpath/$soname $verstring~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
18776
module_expsym_cmds_GCJ='sed -e "s,#.*,," -e "s,^[ ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
18778
case $cc_basename in
18780
output_verbose_link_cmd='echo'
18781
archive_cmds_GCJ='$CC -qmkshrobj $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-install_name ${wl}`echo $rpath/$soname` $xlcverstring'
18782
module_cmds_GCJ='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
18783
# Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin lds
18784
archive_expsym_cmds_GCJ='sed -e "s,#.*,," -e "s,^[ ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC -qmkshrobj $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-install_name ${wl}$rpath/$soname $xlcverstring~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
18785
module_expsym_cmds_GCJ='sed -e "s,#.*,," -e "s,^[ ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
18795
archive_cmds_GCJ='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
18796
hardcode_libdir_flag_spec_GCJ='-L$libdir'
18797
hardcode_shlibpath_var_GCJ=no
18804
# FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
18805
# support. Future versions do this automatically, but an explicit c++rt0.o
18806
# does not break anything, and helps significantly (at the cost of a little
18809
archive_cmds_GCJ='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
18810
hardcode_libdir_flag_spec_GCJ='-R$libdir'
18811
hardcode_direct_GCJ=yes
18812
hardcode_shlibpath_var_GCJ=no
18815
# Unfortunately, older versions of FreeBSD 2 do not have this feature.
18817
archive_cmds_GCJ='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
18818
hardcode_direct_GCJ=yes
18819
hardcode_minus_L_GCJ=yes
18820
hardcode_shlibpath_var_GCJ=no
18823
# FreeBSD 3 and greater uses gcc -shared to do shared libraries.
18824
freebsd* | dragonfly*)
18825
archive_cmds_GCJ='$CC -shared -o $lib $libobjs $deplibs $compiler_flags'
18826
hardcode_libdir_flag_spec_GCJ='-R$libdir'
18827
hardcode_direct_GCJ=yes
18828
hardcode_shlibpath_var_GCJ=no
18832
if test "$GCC" = yes; then
18833
archive_cmds_GCJ='$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'
18835
archive_cmds_GCJ='$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'
18837
hardcode_libdir_flag_spec_GCJ='${wl}+b ${wl}$libdir'
18838
hardcode_libdir_separator_GCJ=:
18839
hardcode_direct_GCJ=yes
18841
# hardcode_minus_L: Not really in the search PATH,
18842
# but as the default location of the library.
18843
hardcode_minus_L_GCJ=yes
18844
export_dynamic_flag_spec_GCJ='${wl}-E'
18848
if test "$GCC" = yes -a "$with_gnu_ld" = no; then
18849
archive_cmds_GCJ='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
18851
archive_cmds_GCJ='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
18853
if test "$with_gnu_ld" = no; then
18854
hardcode_libdir_flag_spec_GCJ='${wl}+b ${wl}$libdir'
18855
hardcode_libdir_separator_GCJ=:
18857
hardcode_direct_GCJ=yes
18858
export_dynamic_flag_spec_GCJ='${wl}-E'
18860
# hardcode_minus_L: Not really in the search PATH,
18861
# but as the default location of the library.
18862
hardcode_minus_L_GCJ=yes
18867
if test "$GCC" = yes -a "$with_gnu_ld" = no; then
18870
archive_cmds_GCJ='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
18873
archive_cmds_GCJ='$CC -shared ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
18876
archive_cmds_GCJ='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
18882
archive_cmds_GCJ='$CC -b ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
18885
archive_cmds_GCJ='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
18888
archive_cmds_GCJ='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
18892
if test "$with_gnu_ld" = no; then
18893
hardcode_libdir_flag_spec_GCJ='${wl}+b ${wl}$libdir'
18894
hardcode_libdir_separator_GCJ=:
18898
hardcode_libdir_flag_spec_ld_GCJ='+b $libdir'
18899
hardcode_direct_GCJ=no
18900
hardcode_shlibpath_var_GCJ=no
18903
hardcode_direct_GCJ=yes
18904
export_dynamic_flag_spec_GCJ='${wl}-E'
18906
# hardcode_minus_L: Not really in the search PATH,
18907
# but as the default location of the library.
18908
hardcode_minus_L_GCJ=yes
18914
irix5* | irix6* | nonstopux*)
18915
if test "$GCC" = yes; then
18916
archive_cmds_GCJ='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && echo ${wl}-set_version ${wl}$verstring` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
18918
archive_cmds_GCJ='$LD -shared $libobjs $deplibs $linker_flags -soname $soname `test -n "$verstring" && echo -set_version $verstring` -update_registry ${output_objdir}/so_locations -o $lib'
18919
hardcode_libdir_flag_spec_ld_GCJ='-rpath $libdir'
18921
hardcode_libdir_flag_spec_GCJ='${wl}-rpath ${wl}$libdir'
18922
hardcode_libdir_separator_GCJ=:
18923
link_all_deplibs_GCJ=yes
18926
netbsd* | netbsdelf*-gnu)
18927
if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
18928
archive_cmds_GCJ='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' # a.out
18930
archive_cmds_GCJ='$LD -shared -o $lib $libobjs $deplibs $linker_flags' # ELF
18932
hardcode_libdir_flag_spec_GCJ='-R$libdir'
18933
hardcode_direct_GCJ=yes
18934
hardcode_shlibpath_var_GCJ=no
18938
archive_cmds_GCJ='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
18939
hardcode_direct_GCJ=yes
18940
hardcode_libdir_flag_spec_GCJ='${wl}-rpath ${wl}$libdir'
18941
hardcode_libdir_separator_GCJ=:
18942
hardcode_shlibpath_var_GCJ=no
18946
if test -f /usr/libexec/ld.so; then
18947
hardcode_direct_GCJ=yes
18948
hardcode_shlibpath_var_GCJ=no
18949
if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
18950
archive_cmds_GCJ='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
18951
archive_expsym_cmds_GCJ='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols'
18952
hardcode_libdir_flag_spec_GCJ='${wl}-rpath,$libdir'
18953
export_dynamic_flag_spec_GCJ='${wl}-E'
18956
openbsd[01].* | openbsd2.[0-7] | openbsd2.[0-7].*)
18957
archive_cmds_GCJ='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
18958
hardcode_libdir_flag_spec_GCJ='-R$libdir'
18961
archive_cmds_GCJ='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
18962
hardcode_libdir_flag_spec_GCJ='${wl}-rpath,$libdir'
18972
hardcode_libdir_flag_spec_GCJ='-L$libdir'
18973
hardcode_minus_L_GCJ=yes
18974
allow_undefined_flag_GCJ=unsupported
18975
archive_cmds_GCJ='$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'
18976
old_archive_From_new_cmds_GCJ='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
18980
if test "$GCC" = yes; then
18981
allow_undefined_flag_GCJ=' ${wl}-expect_unresolved ${wl}\*'
18982
archive_cmds_GCJ='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && echo ${wl}-set_version ${wl}$verstring` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
18984
allow_undefined_flag_GCJ=' -expect_unresolved \*'
18985
archive_cmds_GCJ='$LD -shared${allow_undefined_flag} $libobjs $deplibs $linker_flags -soname $soname `test -n "$verstring" && echo -set_version $verstring` -update_registry ${output_objdir}/so_locations -o $lib'
18987
hardcode_libdir_flag_spec_GCJ='${wl}-rpath ${wl}$libdir'
18988
hardcode_libdir_separator_GCJ=:
18991
osf4* | osf5*) # as osf3* with the addition of -msym flag
18992
if test "$GCC" = yes; then
18993
allow_undefined_flag_GCJ=' ${wl}-expect_unresolved ${wl}\*'
18994
archive_cmds_GCJ='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags ${wl}-msym ${wl}-soname ${wl}$soname `test -n "$verstring" && echo ${wl}-set_version ${wl}$verstring` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
18995
hardcode_libdir_flag_spec_GCJ='${wl}-rpath ${wl}$libdir'
18997
allow_undefined_flag_GCJ=' -expect_unresolved \*'
18998
archive_cmds_GCJ='$LD -shared${allow_undefined_flag} $libobjs $deplibs $linker_flags -msym -soname $soname `test -n "$verstring" && echo -set_version $verstring` -update_registry ${output_objdir}/so_locations -o $lib'
18999
archive_expsym_cmds_GCJ='for i in `cat $export_symbols`; do printf "%s %s\\n" -exported_symbol "\$i" >> $lib.exp; done; echo "-hidden">> $lib.exp~
19000
$LD -shared${allow_undefined_flag} -input $lib.exp $linker_flags $libobjs $deplibs -soname $soname `test -n "$verstring" && echo -set_version $verstring` -update_registry ${output_objdir}/so_locations -o $lib~$rm $lib.exp'
19002
# Both c and cxx compiler support -rpath directly
19003
hardcode_libdir_flag_spec_GCJ='-rpath $libdir'
19005
hardcode_libdir_separator_GCJ=:
19009
no_undefined_flag_GCJ=' -z text'
19010
if test "$GCC" = yes; then
19012
archive_cmds_GCJ='$CC -shared ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
19013
archive_expsym_cmds_GCJ='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
19014
$CC -shared ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags~$rm $lib.exp'
19017
archive_cmds_GCJ='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
19018
archive_expsym_cmds_GCJ='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
19019
$LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$rm $lib.exp'
19021
hardcode_libdir_flag_spec_GCJ='-R$libdir'
19022
hardcode_shlibpath_var_GCJ=no
19024
solaris2.[0-5] | solaris2.[0-5].*) ;;
19026
# The compiler driver will combine and reorder linker options,
19027
# but understands `-z linker_flag'. GCC discards it without `$wl',
19028
# but is careful enough not to reorder.
19029
# Supported since Solaris 2.6 (maybe 2.5.1?)
19030
if test "$GCC" = yes; then
19031
whole_archive_flag_spec_GCJ='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
19033
whole_archive_flag_spec_GCJ='-z allextract$convenience -z defaultextract'
19037
link_all_deplibs_GCJ=yes
19041
if test "x$host_vendor" = xsequent; then
19042
# Use $CC to link under sequent, because it throws in some extra .o
19043
# files that make .init and .fini sections work.
19044
archive_cmds_GCJ='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags'
19046
archive_cmds_GCJ='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
19048
hardcode_libdir_flag_spec_GCJ='-L$libdir'
19049
hardcode_direct_GCJ=yes
19050
hardcode_minus_L_GCJ=yes
19051
hardcode_shlibpath_var_GCJ=no
19055
case $host_vendor in
19057
archive_cmds_GCJ='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
19058
hardcode_direct_GCJ=yes # is this really true???
19061
## LD is ld it makes a PLAMLIB
19062
## CC just makes a GrossModule.
19063
archive_cmds_GCJ='$LD -G -o $lib $libobjs $deplibs $linker_flags'
19064
reload_cmds_GCJ='$CC -r -o $output$reload_objs'
19065
hardcode_direct_GCJ=no
19068
archive_cmds_GCJ='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
19069
hardcode_direct_GCJ=no #Motorola manual says yes, but my tests say they lie
19072
runpath_var='LD_RUN_PATH'
19073
hardcode_shlibpath_var_GCJ=no
19077
archive_cmds_GCJ='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
19078
hardcode_shlibpath_var_GCJ=no
19079
export_dynamic_flag_spec_GCJ='-Bexport'
19083
if test -d /usr/nec; then
19084
archive_cmds_GCJ='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
19085
hardcode_shlibpath_var_GCJ=no
19086
runpath_var=LD_RUN_PATH
19087
hardcode_runpath_var=yes
19092
sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7* | sco3.2v5.0.[024]*)
19093
no_undefined_flag_GCJ='${wl}-z,text'
19094
archive_cmds_need_lc_GCJ=no
19095
hardcode_shlibpath_var_GCJ=no
19096
runpath_var='LD_RUN_PATH'
19098
if test "$GCC" = yes; then
19099
archive_cmds_GCJ='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
19100
archive_expsym_cmds_GCJ='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
19102
archive_cmds_GCJ='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
19103
archive_expsym_cmds_GCJ='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
19107
sysv5* | sco3.2v5* | sco5v6*)
19108
# Note: We can NOT use -z defs as we might desire, because we do not
19109
# link with -lc, and that would cause any symbols used from libc to
19110
# always be unresolved, which means just about no library would
19111
# ever link correctly. If we're not using GNU ld we use -z text
19112
# though, which does catch some bad symbols but isn't as heavy-handed
19114
no_undefined_flag_GCJ='${wl}-z,text'
19115
allow_undefined_flag_GCJ='${wl}-z,nodefs'
19116
archive_cmds_need_lc_GCJ=no
19117
hardcode_shlibpath_var_GCJ=no
19118
hardcode_libdir_flag_spec_GCJ='`test -z "$SCOABSPATH" && echo ${wl}-R,$libdir`'
19119
hardcode_libdir_separator_GCJ=':'
19120
link_all_deplibs_GCJ=yes
19121
export_dynamic_flag_spec_GCJ='${wl}-Bexport'
19122
runpath_var='LD_RUN_PATH'
19124
if test "$GCC" = yes; then
19125
archive_cmds_GCJ='$CC -shared ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
19126
archive_expsym_cmds_GCJ='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
19128
archive_cmds_GCJ='$CC -G ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
19129
archive_expsym_cmds_GCJ='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
19134
archive_cmds_GCJ='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
19135
hardcode_libdir_flag_spec_GCJ='-L$libdir'
19136
hardcode_shlibpath_var_GCJ=no
19145
{ echo "$as_me:$LINENO: result: $ld_shlibs_GCJ" >&5
19146
echo "${ECHO_T}$ld_shlibs_GCJ" >&6; }
19147
test "$ld_shlibs_GCJ" = no && can_build_shared=no
19150
# Do we need to explicitly link libc?
19152
case "x$archive_cmds_need_lc_GCJ" in
19154
# Assume -lc should be added
19155
archive_cmds_need_lc_GCJ=yes
19157
if test "$enable_shared" = yes && test "$GCC" = yes; then
19158
case $archive_cmds_GCJ in
19160
# FIXME: we may have to deal with multi-command sequences.
19163
# Test whether the compiler implicitly links with -lc since on some
19164
# systems, -lgcc has to come before -lc. If gcc already passes -lc
19165
# to ld, don't add -lc before -lgcc.
19166
{ echo "$as_me:$LINENO: checking whether -lc should be explicitly linked in" >&5
19167
echo $ECHO_N "checking whether -lc should be explicitly linked in... $ECHO_C" >&6; }
19169
echo "$lt_simple_compile_test_code" > conftest.$ac_ext
19171
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19172
(eval $ac_compile) 2>&5
19174
echo "$as_me:$LINENO: \$? = $ac_status" >&5
19175
(exit $ac_status); } 2>conftest.err; then
19178
libobjs=conftest.$ac_objext
19180
wl=$lt_prog_compiler_wl_GCJ
19181
pic_flag=$lt_prog_compiler_pic_GCJ
19187
lt_save_allow_undefined_flag=$allow_undefined_flag_GCJ
19188
allow_undefined_flag_GCJ=
19189
if { (eval echo "$as_me:$LINENO: \"$archive_cmds_GCJ 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1\"") >&5
19190
(eval $archive_cmds_GCJ 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1) 2>&5
19192
echo "$as_me:$LINENO: \$? = $ac_status" >&5
19193
(exit $ac_status); }
19195
archive_cmds_need_lc_GCJ=no
19197
archive_cmds_need_lc_GCJ=yes
19199
allow_undefined_flag_GCJ=$lt_save_allow_undefined_flag
19201
cat conftest.err 1>&5
19204
{ echo "$as_me:$LINENO: result: $archive_cmds_need_lc_GCJ" >&5
19205
echo "${ECHO_T}$archive_cmds_need_lc_GCJ" >&6; }
19212
{ echo "$as_me:$LINENO: checking dynamic linker characteristics" >&5
19213
echo $ECHO_N "checking dynamic linker characteristics... $ECHO_C" >&6; }
19214
library_names_spec=
19215
libname_spec='lib$name'
19219
postuninstall_cmds=
19223
shlibpath_overrides_runpath=unknown
19225
dynamic_linker="$host_os ld.so"
19226
sys_lib_dlsearch_path_spec="/lib /usr/lib"
19228
need_lib_prefix=unknown
19229
hardcode_into_libs=no
19231
# when you set need_version to no, make sure it does not cause -set_version
19232
# flags to be left without arguments
19233
need_version=unknown
19238
library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a'
19239
shlibpath_var=LIBPATH
19241
# AIX 3 has no versioning support, so we append a major version to the name.
19242
soname_spec='${libname}${release}${shared_ext}$major'
19249
hardcode_into_libs=yes
19250
if test "$host_cpu" = ia64; then
19251
# AIX 5 supports IA64
19252
library_names_spec='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
19253
shlibpath_var=LD_LIBRARY_PATH
19255
# With GCC up to 2.95.x, collect2 would create an import file
19256
# for dependence libraries. The import file would start with
19257
# the line `#! .'. This would cause the generated library to
19258
# depend on `.', always an invalid library. This was fixed in
19259
# development snapshots of GCC prior to 3.0.
19261
aix4 | aix4.[01] | aix4.[01].*)
19262
if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
19264
echo '#endif'; } | ${CC} -E - | grep yes > /dev/null; then
19267
can_build_shared=no
19271
# AIX (on Power*) has no versioning support, so currently we can not hardcode correct
19272
# soname into executable. Probably we can add versioning support to
19273
# collect2, so additional links can be useful in future.
19274
if test "$aix_use_runtimelinking" = yes; then
19275
# If using run time linking (on AIX 4.2 or later) use lib<name>.so
19276
# instead of lib<name>.a to let people know that these are not
19277
# typical AIX shared libraries.
19278
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
19280
# We preserve .a as extension for shared libraries through AIX4.2
19281
# and later when we are not doing run time linking.
19282
library_names_spec='${libname}${release}.a $libname.a'
19283
soname_spec='${libname}${release}${shared_ext}$major'
19285
shlibpath_var=LIBPATH
19290
library_names_spec='$libname.ixlibrary $libname.a'
19291
# Create ${libname}_ixlibrary.a entries in /sys/libs.
19292
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'
19296
library_names_spec='${libname}${shared_ext}'
19297
dynamic_linker="$host_os ld.so"
19298
shlibpath_var=LIBRARY_PATH
19304
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
19305
soname_spec='${libname}${release}${shared_ext}$major'
19306
finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
19307
shlibpath_var=LD_LIBRARY_PATH
19308
sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
19309
sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
19310
# the default ld.so.conf also contains /usr/contrib/lib and
19311
# /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
19312
# libtool to hard-code these into programs
19315
cygwin* | mingw* | pw32*)
19316
version_type=windows
19321
case $GCC,$host_os in
19322
yes,cygwin* | yes,mingw* | yes,pw32*)
19323
library_names_spec='$libname.dll.a'
19324
# DLL is installed to $(libdir)/../bin by postinstall_cmds
19325
postinstall_cmds='base_file=`basename \${file}`~
19326
dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i;echo \$dlname'\''`~
19327
dldir=$destdir/`dirname \$dlpath`~
19328
test -d \$dldir || mkdir -p \$dldir~
19329
$install_prog $dir/$dlname \$dldir/$dlname~
19330
chmod a+x \$dldir/$dlname'
19331
postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
19332
dlpath=$dir/\$dldll~
19334
shlibpath_overrides_runpath=yes
19338
# Cygwin DLLs use 'cyg' prefix rather than 'lib'
19339
soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
19340
sys_lib_search_path_spec="/usr/lib /lib/w32api /lib /usr/local/lib"
19343
# MinGW DLLs use traditional 'lib' prefix
19344
soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
19345
sys_lib_search_path_spec=`$CC -print-search-dirs | grep "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
19346
if echo "$sys_lib_search_path_spec" | grep ';[c-zC-Z]:/' >/dev/null; then
19347
# It is most probably a Windows format PATH printed by
19348
# mingw gcc, but we are running on Cygwin. Gcc prints its search
19349
# path with ; separators, and with drive letters. We can handle the
19350
# drive letters (cygwin fileutils understands them), so leave them,
19351
# especially as we might pass files found there to a mingw objdump,
19352
# which wouldn't understand a cygwinified path. Ahh.
19353
sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
19355
sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
19359
# pw32 DLLs use 'pw' prefix rather than 'lib'
19360
library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
19366
library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
19369
dynamic_linker='Win32 ld.exe'
19370
# FIXME: first we should search . and the directory the executable is in
19374
darwin* | rhapsody*)
19375
dynamic_linker="$host_os dyld"
19376
version_type=darwin
19379
library_names_spec='${libname}${release}${versuffix}$shared_ext ${libname}${release}${major}$shared_ext ${libname}$shared_ext'
19380
soname_spec='${libname}${release}${major}$shared_ext'
19381
shlibpath_overrides_runpath=yes
19382
shlibpath_var=DYLD_LIBRARY_PATH
19383
shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`'
19385
sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
19392
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
19393
soname_spec='${libname}${release}${shared_ext}$major'
19394
shlibpath_var=LD_LIBRARY_PATH
19401
freebsd* | dragonfly*)
19402
# DragonFly does not have aout. When/if they implement a new
19403
# versioning mechanism, adjust this.
19404
if test -x /usr/bin/objformat; then
19405
objformat=`/usr/bin/objformat`
19408
freebsd[123]*) objformat=aout ;;
19409
*) objformat=elf ;;
19412
version_type=freebsd-$objformat
19413
case $version_type in
19415
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
19420
library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
19424
shlibpath_var=LD_LIBRARY_PATH
19427
shlibpath_overrides_runpath=yes
19429
freebsd3.[01]* | freebsdelf3.[01]*)
19430
shlibpath_overrides_runpath=yes
19431
hardcode_into_libs=yes
19433
freebsd3.[2-9]* | freebsdelf3.[2-9]* | \
19434
freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1)
19435
shlibpath_overrides_runpath=no
19436
hardcode_into_libs=yes
19438
*) # from 4.6 on, and DragonFly
19439
shlibpath_overrides_runpath=yes
19440
hardcode_into_libs=yes
19449
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
19450
soname_spec='${libname}${release}${shared_ext}$major'
19451
shlibpath_var=LD_LIBRARY_PATH
19452
hardcode_into_libs=yes
19455
hpux9* | hpux10* | hpux11*)
19456
# Give a soname corresponding to the major version so that dld.sl refuses to
19457
# link against other versions.
19464
hardcode_into_libs=yes
19465
dynamic_linker="$host_os dld.so"
19466
shlibpath_var=LD_LIBRARY_PATH
19467
shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
19468
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
19469
soname_spec='${libname}${release}${shared_ext}$major'
19470
if test "X$HPUX_IA64_MODE" = X32; then
19471
sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
19473
sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
19475
sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
19479
hardcode_into_libs=yes
19480
dynamic_linker="$host_os dld.sl"
19481
shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
19482
shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
19483
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
19484
soname_spec='${libname}${release}${shared_ext}$major'
19485
sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
19486
sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
19490
dynamic_linker="$host_os dld.sl"
19491
shlibpath_var=SHLIB_PATH
19492
shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
19493
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
19494
soname_spec='${libname}${release}${shared_ext}$major'
19497
# HP-UX runs *really* slowly unless shared libraries are mode 555.
19498
postinstall_cmds='chmod 555 $lib'
19505
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
19506
soname_spec='${libname}${release}${shared_ext}$major'
19507
dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)'
19508
shlibpath_var=LD_LIBRARY_PATH
19509
shlibpath_overrides_runpath=no
19510
hardcode_into_libs=yes
19513
irix5* | irix6* | nonstopux*)
19515
nonstopux*) version_type=nonstopux ;;
19517
if test "$lt_cv_prog_gnu_ld" = yes; then
19525
soname_spec='${libname}${release}${shared_ext}$major'
19526
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
19528
irix5* | nonstopux*)
19529
libsuff= shlibsuff=
19532
case $LD in # libtool.m4 will add one of these switches to LD
19533
*-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
19534
libsuff= shlibsuff= libmagic=32-bit;;
19535
*-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
19536
libsuff=32 shlibsuff=N32 libmagic=N32;;
19537
*-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
19538
libsuff=64 shlibsuff=64 libmagic=64-bit;;
19539
*) libsuff= shlibsuff= libmagic=never-match;;
19543
shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
19544
shlibpath_overrides_runpath=no
19545
sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
19546
sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}"
19547
hardcode_into_libs=yes
19550
# No shared lib support for Linux oldld, aout, or coff.
19551
linux*oldld* | linux*aout* | linux*coff*)
19555
# This must be Linux ELF.
19556
linux* | k*bsd*-gnu)
19560
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
19561
soname_spec='${libname}${release}${shared_ext}$major'
19562
finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
19563
shlibpath_var=LD_LIBRARY_PATH
19564
shlibpath_overrides_runpath=no
19565
# This implies no fast_install, which is unacceptable.
19566
# Some rework will be needed to allow for fast_install
19567
# before this can be enabled.
19568
hardcode_into_libs=yes
19570
# Append ld.so.conf contents to the search path
19571
if test -f /etc/ld.so.conf; then
19572
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' ' '`
19573
sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra"
19576
# We used to test for /lib/ld.so.1 and disable shared libraries on
19577
# powerpc, because MkLinux only supported shared libraries with the
19578
# GNU dynamic linker. Since this was broken with cross compilers,
19579
# most powerpc-linux boxes support dynamic linking these days and
19580
# people can always --disable-shared, the test was removed, and we
19581
# assume the GNU/Linux dynamic linker is in use.
19582
dynamic_linker='GNU/Linux ld.so'
19589
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
19590
soname_spec='${libname}${release}${shared_ext}$major'
19591
shlibpath_var=LD_LIBRARY_PATH
19592
shlibpath_overrides_runpath=no
19593
hardcode_into_libs=yes
19594
dynamic_linker='NetBSD ld.elf_so'
19601
if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
19602
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
19603
finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
19604
dynamic_linker='NetBSD (a.out) ld.so'
19606
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
19607
soname_spec='${libname}${release}${shared_ext}$major'
19608
dynamic_linker='NetBSD ld.elf_so'
19610
shlibpath_var=LD_LIBRARY_PATH
19611
shlibpath_overrides_runpath=yes
19612
hardcode_into_libs=yes
19617
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
19618
shlibpath_var=LD_LIBRARY_PATH
19619
shlibpath_overrides_runpath=yes
19626
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
19627
soname_spec='${libname}${release}${shared_ext}$major'
19628
shlibpath_var=LD_LIBRARY_PATH
19629
shlibpath_overrides_runpath=yes
19634
sys_lib_dlsearch_path_spec="/usr/lib"
19636
# Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
19638
openbsd3.3 | openbsd3.3.*) need_version=yes ;;
19639
*) need_version=no ;;
19641
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
19642
finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
19643
shlibpath_var=LD_LIBRARY_PATH
19644
if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
19646
openbsd2.[89] | openbsd2.[89].*)
19647
shlibpath_overrides_runpath=no
19650
shlibpath_overrides_runpath=yes
19654
shlibpath_overrides_runpath=yes
19659
libname_spec='$name'
19662
library_names_spec='$libname${shared_ext} $libname.a'
19663
dynamic_linker='OS/2 ld.exe'
19664
shlibpath_var=LIBPATH
19667
osf3* | osf4* | osf5*)
19671
soname_spec='${libname}${release}${shared_ext}$major'
19672
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
19673
shlibpath_var=LD_LIBRARY_PATH
19674
sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
19675
sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec"
19686
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
19687
soname_spec='${libname}${release}${shared_ext}$major'
19688
shlibpath_var=LD_LIBRARY_PATH
19689
shlibpath_overrides_runpath=yes
19690
hardcode_into_libs=yes
19691
# ldd complains unless libraries are executable
19692
postinstall_cmds='chmod +x $lib'
19697
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
19698
finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
19699
shlibpath_var=LD_LIBRARY_PATH
19700
shlibpath_overrides_runpath=yes
19701
if test "$with_gnu_ld" = yes; then
19709
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
19710
soname_spec='${libname}${release}${shared_ext}$major'
19711
shlibpath_var=LD_LIBRARY_PATH
19712
case $host_vendor in
19714
shlibpath_overrides_runpath=no
19716
export_dynamic_flag_spec='${wl}-Blargedynsym'
19717
runpath_var=LD_RUN_PATH
19725
shlibpath_overrides_runpath=no
19726
sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
19732
if test -d /usr/nec ;then
19734
library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
19735
soname_spec='$libname${shared_ext}.$major'
19736
shlibpath_var=LD_LIBRARY_PATH
19740
sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
19741
version_type=freebsd-elf
19744
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
19745
soname_spec='${libname}${release}${shared_ext}$major'
19746
shlibpath_var=LD_LIBRARY_PATH
19747
hardcode_into_libs=yes
19748
if test "$with_gnu_ld" = yes; then
19749
sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
19750
shlibpath_overrides_runpath=no
19752
sys_lib_search_path_spec='/usr/ccs/lib /usr/lib'
19753
shlibpath_overrides_runpath=yes
19756
sys_lib_search_path_spec="$sys_lib_search_path_spec /lib"
19760
sys_lib_dlsearch_path_spec='/usr/lib'
19765
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
19766
soname_spec='${libname}${release}${shared_ext}$major'
19767
shlibpath_var=LD_LIBRARY_PATH
19774
{ echo "$as_me:$LINENO: result: $dynamic_linker" >&5
19775
echo "${ECHO_T}$dynamic_linker" >&6; }
19776
test "$dynamic_linker" = no && can_build_shared=no
19778
variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
19779
if test "$GCC" = yes; then
19780
variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
19783
{ echo "$as_me:$LINENO: checking how to hardcode library paths into programs" >&5
19784
echo $ECHO_N "checking how to hardcode library paths into programs... $ECHO_C" >&6; }
19785
hardcode_action_GCJ=
19786
if test -n "$hardcode_libdir_flag_spec_GCJ" || \
19787
test -n "$runpath_var_GCJ" || \
19788
test "X$hardcode_automatic_GCJ" = "Xyes" ; then
19790
# We can hardcode non-existant directories.
19791
if test "$hardcode_direct_GCJ" != no &&
19792
# If the only mechanism to avoid hardcoding is shlibpath_var, we
19793
# have to relink, otherwise we might link with an installed library
19794
# when we should be linking with a yet-to-be-installed one
19795
## test "$_LT_AC_TAGVAR(hardcode_shlibpath_var, GCJ)" != no &&
19796
test "$hardcode_minus_L_GCJ" != no; then
19797
# Linking always hardcodes the temporary library directory.
19798
hardcode_action_GCJ=relink
19800
# We can link without hardcoding, and we can hardcode nonexisting dirs.
19801
hardcode_action_GCJ=immediate
19804
# We cannot hardcode anything, or else we can only hardcode existing
19806
hardcode_action_GCJ=unsupported
19808
{ echo "$as_me:$LINENO: result: $hardcode_action_GCJ" >&5
19809
echo "${ECHO_T}$hardcode_action_GCJ" >&6; }
19811
if test "$hardcode_action_GCJ" = relink; then
19812
# Fast installation is not supported
19813
enable_fast_install=no
19814
elif test "$shlibpath_overrides_runpath" = yes ||
19815
test "$enable_shared" = no; then
19816
# Fast installation is not necessary
19817
enable_fast_install=needless
19821
# The else clause should only fire when bootstrapping the
19822
# libtool distribution, otherwise you forgot to ship ltmain.sh
19823
# with your package, and you will get complaints that there are
19824
# no rules to generate ltmain.sh.
19825
if test -f "$ltmain"; then
19826
# See if we are running on zsh, and set the options which allow our commands through
19827
# without removal of \ escapes.
19828
if test -n "${ZSH_VERSION+set}" ; then
19829
setopt NO_GLOB_SUBST
19831
# Now quote all the things that may contain metacharacters while being
19832
# careful not to overquote the AC_SUBSTed values. We take copies of the
19833
# variables and quote the copies for generation of the libtool script.
19834
for var in echo old_CC old_CFLAGS AR AR_FLAGS EGREP RANLIB LN_S LTCC LTCFLAGS NM \
19836
libname_spec library_names_spec soname_spec extract_expsyms_cmds \
19837
old_striplib striplib file_magic_cmd finish_cmds finish_eval \
19838
deplibs_check_method reload_flag reload_cmds need_locks \
19839
lt_cv_sys_global_symbol_pipe lt_cv_sys_global_symbol_to_cdecl \
19840
lt_cv_sys_global_symbol_to_c_name_address \
19841
sys_lib_search_path_spec sys_lib_dlsearch_path_spec \
19842
old_postinstall_cmds old_postuninstall_cmds \
19846
lt_prog_compiler_wl_GCJ \
19847
lt_prog_compiler_pic_GCJ \
19848
lt_prog_compiler_static_GCJ \
19849
lt_prog_compiler_no_builtin_flag_GCJ \
19850
export_dynamic_flag_spec_GCJ \
19851
thread_safe_flag_spec_GCJ \
19852
whole_archive_flag_spec_GCJ \
19853
enable_shared_with_static_runtimes_GCJ \
19854
old_archive_cmds_GCJ \
19855
old_archive_from_new_cmds_GCJ \
19856
predep_objects_GCJ \
19857
postdep_objects_GCJ \
19860
compiler_lib_search_path_GCJ \
19862
archive_expsym_cmds_GCJ \
19863
postinstall_cmds_GCJ \
19864
postuninstall_cmds_GCJ \
19865
old_archive_from_expsyms_cmds_GCJ \
19866
allow_undefined_flag_GCJ \
19867
no_undefined_flag_GCJ \
19868
export_symbols_cmds_GCJ \
19869
hardcode_libdir_flag_spec_GCJ \
19870
hardcode_libdir_flag_spec_ld_GCJ \
19871
hardcode_libdir_separator_GCJ \
19872
hardcode_automatic_GCJ \
19874
module_expsym_cmds_GCJ \
19875
lt_cv_prog_compiler_c_o_GCJ \
19876
fix_srcfile_path_GCJ \
19877
exclude_expsyms_GCJ \
19878
include_expsyms_GCJ; do
19881
old_archive_cmds_GCJ | \
19882
old_archive_from_new_cmds_GCJ | \
19883
archive_cmds_GCJ | \
19884
archive_expsym_cmds_GCJ | \
19885
module_cmds_GCJ | \
19886
module_expsym_cmds_GCJ | \
19887
old_archive_from_expsyms_cmds_GCJ | \
19888
export_symbols_cmds_GCJ | \
19889
extract_expsyms_cmds | reload_cmds | finish_cmds | \
19890
postinstall_cmds | postuninstall_cmds | \
19891
old_postinstall_cmds | old_postuninstall_cmds | \
19892
sys_lib_search_path_spec | sys_lib_dlsearch_path_spec)
19893
# Double-quote double-evaled strings.
19894
eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$double_quote_subst\" -e \"\$sed_quote_subst\" -e \"\$delay_variable_subst\"\`\\\""
19897
eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$sed_quote_subst\"\`\\\""
19903
*'\$0 --fallback-echo"')
19904
lt_echo=`$echo "X$lt_echo" | $Xsed -e 's/\\\\\\\$0 --fallback-echo"$/$0 --fallback-echo"/'`
19910
cat <<__EOF__ >> "$cfgfile"
19911
# ### BEGIN LIBTOOL TAG CONFIG: $tagname
19913
# Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
19915
# Shell to use when invoking shell scripts.
19918
# Whether or not to build shared libraries.
19919
build_libtool_libs=$enable_shared
19921
# Whether or not to build static libraries.
19922
build_old_libs=$enable_static
19924
# Whether or not to add -lc for building shared libraries.
19925
build_libtool_need_lc=$archive_cmds_need_lc_GCJ
19927
# Whether or not to disallow shared libs when runtime libs are static
19928
allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes_GCJ
19930
# Whether or not to optimize for fast installation.
19931
fast_install=$enable_fast_install
19934
host_alias=$host_alias
19938
# The build system.
19939
build_alias=$build_alias
19943
# An echo program that does not interpret backslashes.
19948
AR_FLAGS=$lt_AR_FLAGS
19953
# LTCC compiler flags.
19954
LTCFLAGS=$lt_LTCFLAGS
19956
# A language-specific compiler.
19957
CC=$lt_compiler_GCJ
19959
# Is the compiler the GNU C compiler?
19965
# The linker used to build libraries.
19968
# Whether we need hard or soft links.
19971
# A BSD-compatible nm program.
19974
# A symbol stripping program
19977
# Used to examine libraries when file_magic_cmd begins "file"
19978
MAGIC_CMD=$MAGIC_CMD
19980
# Used on cygwin: DLL creation program.
19983
# Used on cygwin: object dumper.
19986
# Used on cygwin: assembler.
19989
# The name of the directory that contains temporary libtool files.
19992
# How to create reloadable object files.
19993
reload_flag=$lt_reload_flag
19994
reload_cmds=$lt_reload_cmds
19996
# How to pass a linker flag through the compiler.
19997
wl=$lt_lt_prog_compiler_wl_GCJ
19999
# Object file suffix (normally "o").
20000
objext="$ac_objext"
20002
# Old archive suffix (normally "a").
20005
# Shared library suffix (normally ".so").
20006
shrext_cmds='$shrext_cmds'
20008
# Executable file suffix (normally "").
20011
# Additional compiler flags for building library objects.
20012
pic_flag=$lt_lt_prog_compiler_pic_GCJ
20015
# What is the maximum length of a command?
20016
max_cmd_len=$lt_cv_sys_max_cmd_len
20018
# Does compiler simultaneously support -c and -o options?
20019
compiler_c_o=$lt_lt_cv_prog_compiler_c_o_GCJ
20021
# Must we lock files when doing compilation?
20022
need_locks=$lt_need_locks
20024
# Do we need the lib prefix for modules?
20025
need_lib_prefix=$need_lib_prefix
20027
# Do we need a version for libraries?
20028
need_version=$need_version
20030
# Whether dlopen is supported.
20031
dlopen_support=$enable_dlopen
20033
# Whether dlopen of programs is supported.
20034
dlopen_self=$enable_dlopen_self
20036
# Whether dlopen of statically linked programs is supported.
20037
dlopen_self_static=$enable_dlopen_self_static
20039
# Compiler flag to prevent dynamic linking.
20040
link_static_flag=$lt_lt_prog_compiler_static_GCJ
20042
# Compiler flag to turn off builtin functions.
20043
no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag_GCJ
20045
# Compiler flag to allow reflexive dlopens.
20046
export_dynamic_flag_spec=$lt_export_dynamic_flag_spec_GCJ
20048
# Compiler flag to generate shared objects directly from archives.
20049
whole_archive_flag_spec=$lt_whole_archive_flag_spec_GCJ
20051
# Compiler flag to generate thread-safe objects.
20052
thread_safe_flag_spec=$lt_thread_safe_flag_spec_GCJ
20054
# Library versioning type.
20055
version_type=$version_type
20057
# Format of library name prefix.
20058
libname_spec=$lt_libname_spec
20060
# List of archive names. First name is the real one, the rest are links.
20061
# The last name is the one that the linker finds with -lNAME.
20062
library_names_spec=$lt_library_names_spec
20064
# The coded name of the library, if different from the real name.
20065
soname_spec=$lt_soname_spec
20067
# Commands used to build and install an old-style archive.
20069
old_archive_cmds=$lt_old_archive_cmds_GCJ
20070
old_postinstall_cmds=$lt_old_postinstall_cmds
20071
old_postuninstall_cmds=$lt_old_postuninstall_cmds
20073
# Create an old-style archive from a shared archive.
20074
old_archive_from_new_cmds=$lt_old_archive_from_new_cmds_GCJ
20076
# Create a temporary old-style archive to link instead of a shared archive.
20077
old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds_GCJ
20079
# Commands used to build and install a shared archive.
20080
archive_cmds=$lt_archive_cmds_GCJ
20081
archive_expsym_cmds=$lt_archive_expsym_cmds_GCJ
20082
postinstall_cmds=$lt_postinstall_cmds
20083
postuninstall_cmds=$lt_postuninstall_cmds
20085
# Commands used to build a loadable module (assumed same as above if empty)
20086
module_cmds=$lt_module_cmds_GCJ
20087
module_expsym_cmds=$lt_module_expsym_cmds_GCJ
20089
# Commands to strip libraries.
20090
old_striplib=$lt_old_striplib
20091
striplib=$lt_striplib
20093
# Dependencies to place before the objects being linked to create a
20095
predep_objects=$lt_predep_objects_GCJ
20097
# Dependencies to place after the objects being linked to create a
20099
postdep_objects=$lt_postdep_objects_GCJ
20101
# Dependencies to place before the objects being linked to create a
20103
predeps=$lt_predeps_GCJ
20105
# Dependencies to place after the objects being linked to create a
20107
postdeps=$lt_postdeps_GCJ
20109
# The library search path used internally by the compiler when linking
20110
# a shared library.
20111
compiler_lib_search_path=$lt_compiler_lib_search_path_GCJ
20113
# Method to check whether dependent libraries are shared objects.
20114
deplibs_check_method=$lt_deplibs_check_method
20116
# Command to use when deplibs_check_method == file_magic.
20117
file_magic_cmd=$lt_file_magic_cmd
20119
# Flag that allows shared libraries with undefined symbols to be built.
20120
allow_undefined_flag=$lt_allow_undefined_flag_GCJ
20122
# Flag that forces no undefined symbols.
20123
no_undefined_flag=$lt_no_undefined_flag_GCJ
20125
# Commands used to finish a libtool library installation in a directory.
20126
finish_cmds=$lt_finish_cmds
20128
# Same as above, but a single script fragment to be evaled but not shown.
20129
finish_eval=$lt_finish_eval
20131
# Take the output of nm and produce a listing of raw symbols and C names.
20132
global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
20134
# Transform the output of nm in a proper C declaration
20135
global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
20137
# Transform the output of nm in a C name address pair
20138
global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
20140
# This is the shared library runtime path variable.
20141
runpath_var=$runpath_var
20143
# This is the shared library path variable.
20144
shlibpath_var=$shlibpath_var
20146
# Is shlibpath searched before the hard-coded library search path?
20147
shlibpath_overrides_runpath=$shlibpath_overrides_runpath
20149
# How to hardcode a shared library path into an executable.
20150
hardcode_action=$hardcode_action_GCJ
20152
# Whether we should hardcode library paths into libraries.
20153
hardcode_into_libs=$hardcode_into_libs
20155
# Flag to hardcode \$libdir into a binary during linking.
20156
# This must work even if \$libdir does not exist.
20157
hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec_GCJ
20159
# If ld is used when linking, flag to hardcode \$libdir into
20160
# a binary during linking. This must work even if \$libdir does
20162
hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld_GCJ
20164
# Whether we need a single -rpath flag with a separated argument.
20165
hardcode_libdir_separator=$lt_hardcode_libdir_separator_GCJ
20167
# Set to yes if using DIR/libNAME${shared_ext} during linking hardcodes DIR into the
20168
# resulting binary.
20169
hardcode_direct=$hardcode_direct_GCJ
20171
# Set to yes if using the -LDIR flag during linking hardcodes DIR into the
20172
# resulting binary.
20173
hardcode_minus_L=$hardcode_minus_L_GCJ
20175
# Set to yes if using SHLIBPATH_VAR=DIR during linking hardcodes DIR into
20176
# the resulting binary.
20177
hardcode_shlibpath_var=$hardcode_shlibpath_var_GCJ
20179
# Set to yes if building a shared library automatically hardcodes DIR into the library
20180
# and all subsequent libraries and executables linked against it.
20181
hardcode_automatic=$hardcode_automatic_GCJ
20183
# Variables whose values should be saved in libtool wrapper scripts and
20184
# restored at relink time.
20185
variables_saved_for_relink="$variables_saved_for_relink"
20187
# Whether libtool must link a program against all its dependency libraries.
20188
link_all_deplibs=$link_all_deplibs_GCJ
20190
# Compile-time system search path for libraries
20191
sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
20193
# Run-time system search path for libraries
20194
sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
20196
# Fix the shell variable \$srcfile for the compiler.
20197
fix_srcfile_path=$lt_fix_srcfile_path
20199
# Set to yes if exported symbols are required.
20200
always_export_symbols=$always_export_symbols_GCJ
20202
# The commands to list exported symbols.
20203
export_symbols_cmds=$lt_export_symbols_cmds_GCJ
20205
# The commands to extract the exported symbol list from a shared archive.
20206
extract_expsyms_cmds=$lt_extract_expsyms_cmds
20208
# Symbols that should not be listed in the preloaded symbols.
20209
exclude_expsyms=$lt_exclude_expsyms_GCJ
20211
# Symbols that must always be exported.
20212
include_expsyms=$lt_include_expsyms_GCJ
20214
# ### END LIBTOOL TAG CONFIG: $tagname
20220
# If there is no Makefile yet, we rely on a make rule to execute
20221
# `config.status --recheck' to rerun these tests and create the
20222
# libtool script then.
20223
ltmain_in=`echo $ltmain | sed -e 's/\.sh$/.in/'`
20224
if test -f "$ltmain_in"; then
20225
test -f Makefile && make "$ltmain"
20231
ac_cpp='$CPP $CPPFLAGS'
20232
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20233
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20234
ac_compiler_gnu=$ac_cv_c_compiler_gnu
20246
# Source file extension for RC test sources.
20249
# Object file extension for compiled RC test sources.
20253
# Code to be used in simple compile tests
20254
lt_simple_compile_test_code='sample MENU { MENUITEM "&Soup", 100, CHECKED }'
20256
# Code to be used in simple link tests
20257
lt_simple_link_test_code="$lt_simple_compile_test_code"
20259
# ltmain only uses $CC for tagged configurations so make sure $CC is set.
20261
# If no C compiler was specified, use CC.
20264
# If no C compiler flags were specified, use CFLAGS.
20265
LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
20267
# Allow CC to be a program name with arguments.
20271
# save warnings/boilerplate of simple test code
20272
ac_outfile=conftest.$ac_objext
20273
echo "$lt_simple_compile_test_code" >conftest.$ac_ext
20274
eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
20275
_lt_compiler_boilerplate=`cat conftest.err`
20278
ac_outfile=conftest.$ac_objext
20279
echo "$lt_simple_link_test_code" >conftest.$ac_ext
20280
eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
20281
_lt_linker_boilerplate=`cat conftest.err`
20285
# Allow CC to be a program name with arguments.
20290
for cc_temp in $compiler""; do
20292
compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
20293
distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
20298
cc_basename=`$echo "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
20300
lt_cv_prog_compiler_c_o_RC=yes
20302
# The else clause should only fire when bootstrapping the
20303
# libtool distribution, otherwise you forgot to ship ltmain.sh
20304
# with your package, and you will get complaints that there are
20305
# no rules to generate ltmain.sh.
20306
if test -f "$ltmain"; then
20307
# See if we are running on zsh, and set the options which allow our commands through
20308
# without removal of \ escapes.
20309
if test -n "${ZSH_VERSION+set}" ; then
20310
setopt NO_GLOB_SUBST
20312
# Now quote all the things that may contain metacharacters while being
20313
# careful not to overquote the AC_SUBSTed values. We take copies of the
20314
# variables and quote the copies for generation of the libtool script.
20315
for var in echo old_CC old_CFLAGS AR AR_FLAGS EGREP RANLIB LN_S LTCC LTCFLAGS NM \
20317
libname_spec library_names_spec soname_spec extract_expsyms_cmds \
20318
old_striplib striplib file_magic_cmd finish_cmds finish_eval \
20319
deplibs_check_method reload_flag reload_cmds need_locks \
20320
lt_cv_sys_global_symbol_pipe lt_cv_sys_global_symbol_to_cdecl \
20321
lt_cv_sys_global_symbol_to_c_name_address \
20322
sys_lib_search_path_spec sys_lib_dlsearch_path_spec \
20323
old_postinstall_cmds old_postuninstall_cmds \
20327
lt_prog_compiler_wl_RC \
20328
lt_prog_compiler_pic_RC \
20329
lt_prog_compiler_static_RC \
20330
lt_prog_compiler_no_builtin_flag_RC \
20331
export_dynamic_flag_spec_RC \
20332
thread_safe_flag_spec_RC \
20333
whole_archive_flag_spec_RC \
20334
enable_shared_with_static_runtimes_RC \
20335
old_archive_cmds_RC \
20336
old_archive_from_new_cmds_RC \
20337
predep_objects_RC \
20338
postdep_objects_RC \
20341
compiler_lib_search_path_RC \
20343
archive_expsym_cmds_RC \
20344
postinstall_cmds_RC \
20345
postuninstall_cmds_RC \
20346
old_archive_from_expsyms_cmds_RC \
20347
allow_undefined_flag_RC \
20348
no_undefined_flag_RC \
20349
export_symbols_cmds_RC \
20350
hardcode_libdir_flag_spec_RC \
20351
hardcode_libdir_flag_spec_ld_RC \
20352
hardcode_libdir_separator_RC \
20353
hardcode_automatic_RC \
20355
module_expsym_cmds_RC \
20356
lt_cv_prog_compiler_c_o_RC \
20357
fix_srcfile_path_RC \
20358
exclude_expsyms_RC \
20359
include_expsyms_RC; do
20362
old_archive_cmds_RC | \
20363
old_archive_from_new_cmds_RC | \
20364
archive_cmds_RC | \
20365
archive_expsym_cmds_RC | \
20367
module_expsym_cmds_RC | \
20368
old_archive_from_expsyms_cmds_RC | \
20369
export_symbols_cmds_RC | \
20370
extract_expsyms_cmds | reload_cmds | finish_cmds | \
20371
postinstall_cmds | postuninstall_cmds | \
20372
old_postinstall_cmds | old_postuninstall_cmds | \
20373
sys_lib_search_path_spec | sys_lib_dlsearch_path_spec)
20374
# Double-quote double-evaled strings.
20375
eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$double_quote_subst\" -e \"\$sed_quote_subst\" -e \"\$delay_variable_subst\"\`\\\""
20378
eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$sed_quote_subst\"\`\\\""
20384
*'\$0 --fallback-echo"')
20385
lt_echo=`$echo "X$lt_echo" | $Xsed -e 's/\\\\\\\$0 --fallback-echo"$/$0 --fallback-echo"/'`
20391
cat <<__EOF__ >> "$cfgfile"
20392
# ### BEGIN LIBTOOL TAG CONFIG: $tagname
20394
# Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
20396
# Shell to use when invoking shell scripts.
20399
# Whether or not to build shared libraries.
20400
build_libtool_libs=$enable_shared
20402
# Whether or not to build static libraries.
20403
build_old_libs=$enable_static
20405
# Whether or not to add -lc for building shared libraries.
20406
build_libtool_need_lc=$archive_cmds_need_lc_RC
20408
# Whether or not to disallow shared libs when runtime libs are static
20409
allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes_RC
20411
# Whether or not to optimize for fast installation.
20412
fast_install=$enable_fast_install
20415
host_alias=$host_alias
20419
# The build system.
20420
build_alias=$build_alias
20424
# An echo program that does not interpret backslashes.
20429
AR_FLAGS=$lt_AR_FLAGS
20434
# LTCC compiler flags.
20435
LTCFLAGS=$lt_LTCFLAGS
20437
# A language-specific compiler.
20440
# Is the compiler the GNU C compiler?
20446
# The linker used to build libraries.
20449
# Whether we need hard or soft links.
20452
# A BSD-compatible nm program.
20455
# A symbol stripping program
20458
# Used to examine libraries when file_magic_cmd begins "file"
20459
MAGIC_CMD=$MAGIC_CMD
20461
# Used on cygwin: DLL creation program.
20464
# Used on cygwin: object dumper.
20467
# Used on cygwin: assembler.
20470
# The name of the directory that contains temporary libtool files.
20473
# How to create reloadable object files.
20474
reload_flag=$lt_reload_flag
20475
reload_cmds=$lt_reload_cmds
20477
# How to pass a linker flag through the compiler.
20478
wl=$lt_lt_prog_compiler_wl_RC
20480
# Object file suffix (normally "o").
20481
objext="$ac_objext"
20483
# Old archive suffix (normally "a").
20486
# Shared library suffix (normally ".so").
20487
shrext_cmds='$shrext_cmds'
20489
# Executable file suffix (normally "").
20492
# Additional compiler flags for building library objects.
20493
pic_flag=$lt_lt_prog_compiler_pic_RC
20496
# What is the maximum length of a command?
20497
max_cmd_len=$lt_cv_sys_max_cmd_len
20499
# Does compiler simultaneously support -c and -o options?
20500
compiler_c_o=$lt_lt_cv_prog_compiler_c_o_RC
20502
# Must we lock files when doing compilation?
20503
need_locks=$lt_need_locks
20505
# Do we need the lib prefix for modules?
20506
need_lib_prefix=$need_lib_prefix
20508
# Do we need a version for libraries?
20509
need_version=$need_version
20511
# Whether dlopen is supported.
20512
dlopen_support=$enable_dlopen
20514
# Whether dlopen of programs is supported.
20515
dlopen_self=$enable_dlopen_self
20517
# Whether dlopen of statically linked programs is supported.
20518
dlopen_self_static=$enable_dlopen_self_static
20520
# Compiler flag to prevent dynamic linking.
20521
link_static_flag=$lt_lt_prog_compiler_static_RC
20523
# Compiler flag to turn off builtin functions.
20524
no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag_RC
20526
# Compiler flag to allow reflexive dlopens.
20527
export_dynamic_flag_spec=$lt_export_dynamic_flag_spec_RC
20529
# Compiler flag to generate shared objects directly from archives.
20530
whole_archive_flag_spec=$lt_whole_archive_flag_spec_RC
20532
# Compiler flag to generate thread-safe objects.
20533
thread_safe_flag_spec=$lt_thread_safe_flag_spec_RC
20535
# Library versioning type.
20536
version_type=$version_type
20538
# Format of library name prefix.
20539
libname_spec=$lt_libname_spec
20541
# List of archive names. First name is the real one, the rest are links.
20542
# The last name is the one that the linker finds with -lNAME.
20543
library_names_spec=$lt_library_names_spec
20545
# The coded name of the library, if different from the real name.
20546
soname_spec=$lt_soname_spec
20548
# Commands used to build and install an old-style archive.
20550
old_archive_cmds=$lt_old_archive_cmds_RC
20551
old_postinstall_cmds=$lt_old_postinstall_cmds
20552
old_postuninstall_cmds=$lt_old_postuninstall_cmds
20554
# Create an old-style archive from a shared archive.
20555
old_archive_from_new_cmds=$lt_old_archive_from_new_cmds_RC
20557
# Create a temporary old-style archive to link instead of a shared archive.
20558
old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds_RC
20560
# Commands used to build and install a shared archive.
20561
archive_cmds=$lt_archive_cmds_RC
20562
archive_expsym_cmds=$lt_archive_expsym_cmds_RC
20563
postinstall_cmds=$lt_postinstall_cmds
20564
postuninstall_cmds=$lt_postuninstall_cmds
20566
# Commands used to build a loadable module (assumed same as above if empty)
20567
module_cmds=$lt_module_cmds_RC
20568
module_expsym_cmds=$lt_module_expsym_cmds_RC
20570
# Commands to strip libraries.
20571
old_striplib=$lt_old_striplib
20572
striplib=$lt_striplib
20574
# Dependencies to place before the objects being linked to create a
20576
predep_objects=$lt_predep_objects_RC
20578
# Dependencies to place after the objects being linked to create a
20580
postdep_objects=$lt_postdep_objects_RC
20582
# Dependencies to place before the objects being linked to create a
20584
predeps=$lt_predeps_RC
20586
# Dependencies to place after the objects being linked to create a
20588
postdeps=$lt_postdeps_RC
20590
# The library search path used internally by the compiler when linking
20591
# a shared library.
20592
compiler_lib_search_path=$lt_compiler_lib_search_path_RC
20594
# Method to check whether dependent libraries are shared objects.
20595
deplibs_check_method=$lt_deplibs_check_method
20597
# Command to use when deplibs_check_method == file_magic.
20598
file_magic_cmd=$lt_file_magic_cmd
20600
# Flag that allows shared libraries with undefined symbols to be built.
20601
allow_undefined_flag=$lt_allow_undefined_flag_RC
20603
# Flag that forces no undefined symbols.
20604
no_undefined_flag=$lt_no_undefined_flag_RC
20606
# Commands used to finish a libtool library installation in a directory.
20607
finish_cmds=$lt_finish_cmds
20609
# Same as above, but a single script fragment to be evaled but not shown.
20610
finish_eval=$lt_finish_eval
20612
# Take the output of nm and produce a listing of raw symbols and C names.
20613
global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
20615
# Transform the output of nm in a proper C declaration
20616
global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
20618
# Transform the output of nm in a C name address pair
20619
global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
20621
# This is the shared library runtime path variable.
20622
runpath_var=$runpath_var
20624
# This is the shared library path variable.
20625
shlibpath_var=$shlibpath_var
20627
# Is shlibpath searched before the hard-coded library search path?
20628
shlibpath_overrides_runpath=$shlibpath_overrides_runpath
20630
# How to hardcode a shared library path into an executable.
20631
hardcode_action=$hardcode_action_RC
20633
# Whether we should hardcode library paths into libraries.
20634
hardcode_into_libs=$hardcode_into_libs
20636
# Flag to hardcode \$libdir into a binary during linking.
20637
# This must work even if \$libdir does not exist.
20638
hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec_RC
20640
# If ld is used when linking, flag to hardcode \$libdir into
20641
# a binary during linking. This must work even if \$libdir does
20643
hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld_RC
20645
# Whether we need a single -rpath flag with a separated argument.
20646
hardcode_libdir_separator=$lt_hardcode_libdir_separator_RC
20648
# Set to yes if using DIR/libNAME${shared_ext} during linking hardcodes DIR into the
20649
# resulting binary.
20650
hardcode_direct=$hardcode_direct_RC
20652
# Set to yes if using the -LDIR flag during linking hardcodes DIR into the
20653
# resulting binary.
20654
hardcode_minus_L=$hardcode_minus_L_RC
20656
# Set to yes if using SHLIBPATH_VAR=DIR during linking hardcodes DIR into
20657
# the resulting binary.
20658
hardcode_shlibpath_var=$hardcode_shlibpath_var_RC
20660
# Set to yes if building a shared library automatically hardcodes DIR into the library
20661
# and all subsequent libraries and executables linked against it.
20662
hardcode_automatic=$hardcode_automatic_RC
20664
# Variables whose values should be saved in libtool wrapper scripts and
20665
# restored at relink time.
20666
variables_saved_for_relink="$variables_saved_for_relink"
20668
# Whether libtool must link a program against all its dependency libraries.
20669
link_all_deplibs=$link_all_deplibs_RC
20671
# Compile-time system search path for libraries
20672
sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
20674
# Run-time system search path for libraries
20675
sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
20677
# Fix the shell variable \$srcfile for the compiler.
20678
fix_srcfile_path=$lt_fix_srcfile_path
20680
# Set to yes if exported symbols are required.
20681
always_export_symbols=$always_export_symbols_RC
20683
# The commands to list exported symbols.
20684
export_symbols_cmds=$lt_export_symbols_cmds_RC
20686
# The commands to extract the exported symbol list from a shared archive.
20687
extract_expsyms_cmds=$lt_extract_expsyms_cmds
20689
# Symbols that should not be listed in the preloaded symbols.
20690
exclude_expsyms=$lt_exclude_expsyms_RC
20692
# Symbols that must always be exported.
20693
include_expsyms=$lt_include_expsyms_RC
20695
# ### END LIBTOOL TAG CONFIG: $tagname
20701
# If there is no Makefile yet, we rely on a make rule to execute
20702
# `config.status --recheck' to rerun these tests and create the
20703
# libtool script then.
20704
ltmain_in=`echo $ltmain | sed -e 's/\.sh$/.in/'`
20705
if test -f "$ltmain_in"; then
20706
test -f Makefile && make "$ltmain"
20712
ac_cpp='$CPP $CPPFLAGS'
20713
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20714
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20715
ac_compiler_gnu=$ac_cv_c_compiler_gnu
20722
{ { echo "$as_me:$LINENO: error: Unsupported tag name: $tagname" >&5
20723
echo "$as_me: error: Unsupported tag name: $tagname" >&2;}
20724
{ (exit 1); exit 1; }; }
20728
# Append the new tag name to the list of available tags.
20729
if test -n "$tagname" ; then
20730
available_tags="$available_tags $tagname"
20736
# Now substitute the updated list of available tags.
20737
if eval "sed -e 's/^available_tags=.*\$/available_tags=\"$available_tags\"/' \"$ofile\" > \"${ofile}T\""; then
20738
mv "${ofile}T" "$ofile"
20742
{ { echo "$as_me:$LINENO: error: unable to update list of available tagged configurations." >&5
20743
echo "$as_me: error: unable to update list of available tagged configurations." >&2;}
20744
{ (exit 1); exit 1; }; }
20750
# This can be used to rebuild libtool when needed
20751
LIBTOOL_DEPS="$ac_aux_dir/ltmain.sh"
20753
# Always use our own libtool.
20754
LIBTOOL='$(SHELL) $(top_builddir)/libtool'
20756
# Prevent multiple expansion
20783
ac_header_dirent=no
20784
for ac_hdr in dirent.h sys/ndir.h sys/dir.h ndir.h; do
20785
as_ac_Header=`echo "ac_cv_header_dirent_$ac_hdr" | $as_tr_sh`
20786
{ echo "$as_me:$LINENO: checking for $ac_hdr that defines DIR" >&5
20787
echo $ECHO_N "checking for $ac_hdr that defines DIR... $ECHO_C" >&6; }
20788
if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
20789
echo $ECHO_N "(cached) $ECHO_C" >&6
20791
cat >conftest.$ac_ext <<_ACEOF
20794
cat confdefs.h >>conftest.$ac_ext
20795
cat >>conftest.$ac_ext <<_ACEOF
20796
/* end confdefs.h. */
20797
#include <sys/types.h>
20809
rm -f conftest.$ac_objext
20810
if { (ac_try="$ac_compile"
20811
case "(($ac_try" in
20812
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20813
*) ac_try_echo=$ac_try;;
20815
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20816
(eval "$ac_compile") 2>conftest.er1
20818
grep -v '^ *+' conftest.er1 >conftest.err
20820
cat conftest.err >&5
20821
echo "$as_me:$LINENO: \$? = $ac_status" >&5
20822
(exit $ac_status); } && {
20823
test -z "$ac_c_werror_flag" ||
20824
test ! -s conftest.err
20825
} && test -s conftest.$ac_objext; then
20826
eval "$as_ac_Header=yes"
20828
echo "$as_me: failed program was:" >&5
20829
sed 's/^/| /' conftest.$ac_ext >&5
20831
eval "$as_ac_Header=no"
20834
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20836
ac_res=`eval echo '${'$as_ac_Header'}'`
20837
{ echo "$as_me:$LINENO: result: $ac_res" >&5
20838
echo "${ECHO_T}$ac_res" >&6; }
20839
if test `eval echo '${'$as_ac_Header'}'` = yes; then
20840
cat >>confdefs.h <<_ACEOF
20841
@%:@define `echo "HAVE_$ac_hdr" | $as_tr_cpp` 1
20844
ac_header_dirent=$ac_hdr; break
20848
# Two versions of opendir et al. are in -ldir and -lx on SCO Xenix.
20849
if test $ac_header_dirent = dirent.h; then
20850
{ echo "$as_me:$LINENO: checking for library containing opendir" >&5
20851
echo $ECHO_N "checking for library containing opendir... $ECHO_C" >&6; }
20852
if test "${ac_cv_search_opendir+set}" = set; then
20853
echo $ECHO_N "(cached) $ECHO_C" >&6
20855
ac_func_search_save_LIBS=$LIBS
20856
cat >conftest.$ac_ext <<_ACEOF
20859
cat confdefs.h >>conftest.$ac_ext
20860
cat >>conftest.$ac_ext <<_ACEOF
20861
/* end confdefs.h. */
20863
/* Override any GCC internal prototype to avoid an error.
20864
Use char because int might match the return type of a GCC
20865
builtin and then its argument prototype would still apply. */
20878
for ac_lib in '' dir; do
20879
if test -z "$ac_lib"; then
20880
ac_res="none required"
20883
LIBS="-l$ac_lib $ac_func_search_save_LIBS"
20885
rm -f conftest.$ac_objext conftest$ac_exeext
20886
if { (ac_try="$ac_link"
20887
case "(($ac_try" in
20888
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20889
*) ac_try_echo=$ac_try;;
20891
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20892
(eval "$ac_link") 2>conftest.er1
20894
grep -v '^ *+' conftest.er1 >conftest.err
20896
cat conftest.err >&5
20897
echo "$as_me:$LINENO: \$? = $ac_status" >&5
20898
(exit $ac_status); } && {
20899
test -z "$ac_c_werror_flag" ||
20900
test ! -s conftest.err
20901
} && test -s conftest$ac_exeext &&
20902
$as_test_x conftest$ac_exeext; then
20903
ac_cv_search_opendir=$ac_res
20905
echo "$as_me: failed program was:" >&5
20906
sed 's/^/| /' conftest.$ac_ext >&5
20911
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
20913
if test "${ac_cv_search_opendir+set}" = set; then
20917
if test "${ac_cv_search_opendir+set}" = set; then
20920
ac_cv_search_opendir=no
20922
rm conftest.$ac_ext
20923
LIBS=$ac_func_search_save_LIBS
20925
{ echo "$as_me:$LINENO: result: $ac_cv_search_opendir" >&5
20926
echo "${ECHO_T}$ac_cv_search_opendir" >&6; }
20927
ac_res=$ac_cv_search_opendir
20928
if test "$ac_res" != no; then
20929
test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
20934
{ echo "$as_me:$LINENO: checking for library containing opendir" >&5
20935
echo $ECHO_N "checking for library containing opendir... $ECHO_C" >&6; }
20936
if test "${ac_cv_search_opendir+set}" = set; then
20937
echo $ECHO_N "(cached) $ECHO_C" >&6
20939
ac_func_search_save_LIBS=$LIBS
20940
cat >conftest.$ac_ext <<_ACEOF
20943
cat confdefs.h >>conftest.$ac_ext
20944
cat >>conftest.$ac_ext <<_ACEOF
20945
/* end confdefs.h. */
20947
/* Override any GCC internal prototype to avoid an error.
20948
Use char because int might match the return type of a GCC
20949
builtin and then its argument prototype would still apply. */
20962
for ac_lib in '' x; do
20963
if test -z "$ac_lib"; then
20964
ac_res="none required"
20967
LIBS="-l$ac_lib $ac_func_search_save_LIBS"
20969
rm -f conftest.$ac_objext conftest$ac_exeext
20970
if { (ac_try="$ac_link"
20971
case "(($ac_try" in
20972
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20973
*) ac_try_echo=$ac_try;;
20975
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20976
(eval "$ac_link") 2>conftest.er1
20978
grep -v '^ *+' conftest.er1 >conftest.err
20980
cat conftest.err >&5
20981
echo "$as_me:$LINENO: \$? = $ac_status" >&5
20982
(exit $ac_status); } && {
20983
test -z "$ac_c_werror_flag" ||
20984
test ! -s conftest.err
20985
} && test -s conftest$ac_exeext &&
20986
$as_test_x conftest$ac_exeext; then
20987
ac_cv_search_opendir=$ac_res
20989
echo "$as_me: failed program was:" >&5
20990
sed 's/^/| /' conftest.$ac_ext >&5
20995
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
20997
if test "${ac_cv_search_opendir+set}" = set; then
21001
if test "${ac_cv_search_opendir+set}" = set; then
21004
ac_cv_search_opendir=no
21006
rm conftest.$ac_ext
21007
LIBS=$ac_func_search_save_LIBS
21009
{ echo "$as_me:$LINENO: result: $ac_cv_search_opendir" >&5
21010
echo "${ECHO_T}$ac_cv_search_opendir" >&6; }
21011
ac_res=$ac_cv_search_opendir
21012
if test "$ac_res" != no; then
21013
test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
21019
{ echo "$as_me:$LINENO: checking for ANSI C header files" >&5
21020
echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6; }
21021
if test "${ac_cv_header_stdc+set}" = set; then
21022
echo $ECHO_N "(cached) $ECHO_C" >&6
21024
cat >conftest.$ac_ext <<_ACEOF
21027
cat confdefs.h >>conftest.$ac_ext
21028
cat >>conftest.$ac_ext <<_ACEOF
21029
/* end confdefs.h. */
21030
#include <stdlib.h>
21031
#include <stdarg.h>
21032
#include <string.h>
21043
rm -f conftest.$ac_objext
21044
if { (ac_try="$ac_compile"
21045
case "(($ac_try" in
21046
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21047
*) ac_try_echo=$ac_try;;
21049
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21050
(eval "$ac_compile") 2>conftest.er1
21052
grep -v '^ *+' conftest.er1 >conftest.err
21054
cat conftest.err >&5
21055
echo "$as_me:$LINENO: \$? = $ac_status" >&5
21056
(exit $ac_status); } && {
21057
test -z "$ac_c_werror_flag" ||
21058
test ! -s conftest.err
21059
} && test -s conftest.$ac_objext; then
21060
ac_cv_header_stdc=yes
21062
echo "$as_me: failed program was:" >&5
21063
sed 's/^/| /' conftest.$ac_ext >&5
21065
ac_cv_header_stdc=no
21068
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21070
if test $ac_cv_header_stdc = yes; then
21071
# SunOS 4.x string.h does not declare mem*, contrary to ANSI.
21072
cat >conftest.$ac_ext <<_ACEOF
21075
cat confdefs.h >>conftest.$ac_ext
21076
cat >>conftest.$ac_ext <<_ACEOF
21077
/* end confdefs.h. */
21078
#include <string.h>
21081
if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
21082
$EGREP "memchr" >/dev/null 2>&1; then
21085
ac_cv_header_stdc=no
21091
if test $ac_cv_header_stdc = yes; then
21092
# ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
21093
cat >conftest.$ac_ext <<_ACEOF
21096
cat confdefs.h >>conftest.$ac_ext
21097
cat >>conftest.$ac_ext <<_ACEOF
21098
/* end confdefs.h. */
21099
#include <stdlib.h>
21102
if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
21103
$EGREP "free" >/dev/null 2>&1; then
21106
ac_cv_header_stdc=no
21112
if test $ac_cv_header_stdc = yes; then
21113
# /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
21114
if test "$cross_compiling" = yes; then
21117
cat >conftest.$ac_ext <<_ACEOF
21120
cat confdefs.h >>conftest.$ac_ext
21121
cat >>conftest.$ac_ext <<_ACEOF
21122
/* end confdefs.h. */
21124
#include <stdlib.h>
21125
#if ((' ' & 0x0FF) == 0x020)
21126
# define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
21127
# define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
21129
# define ISLOWER(c) \
21130
(('a' <= (c) && (c) <= 'i') \
21131
|| ('j' <= (c) && (c) <= 'r') \
21132
|| ('s' <= (c) && (c) <= 'z'))
21133
# define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
21136
#define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
21141
for (i = 0; i < 256; i++)
21142
if (XOR (islower (i), ISLOWER (i))
21143
|| toupper (i) != TOUPPER (i))
21148
rm -f conftest$ac_exeext
21149
if { (ac_try="$ac_link"
21150
case "(($ac_try" in
21151
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21152
*) ac_try_echo=$ac_try;;
21154
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21155
(eval "$ac_link") 2>&5
21157
echo "$as_me:$LINENO: \$? = $ac_status" >&5
21158
(exit $ac_status); } && { ac_try='./conftest$ac_exeext'
21159
{ (case "(($ac_try" in
21160
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21161
*) ac_try_echo=$ac_try;;
21163
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21164
(eval "$ac_try") 2>&5
21166
echo "$as_me:$LINENO: \$? = $ac_status" >&5
21167
(exit $ac_status); }; }; then
21170
echo "$as_me: program exited with status $ac_status" >&5
21171
echo "$as_me: failed program was:" >&5
21172
sed 's/^/| /' conftest.$ac_ext >&5
21174
( exit $ac_status )
21175
ac_cv_header_stdc=no
21177
rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
21183
{ echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
21184
echo "${ECHO_T}$ac_cv_header_stdc" >&6; }
21185
if test $ac_cv_header_stdc = yes; then
21187
cat >>confdefs.h <<\_ACEOF
21188
@%:@define STDC_HEADERS 1
21200
for ac_header in fcntl.h limits.h stdlib.h string.h sys/param.h unistd.h malloc.h
21202
as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
21203
if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
21204
{ echo "$as_me:$LINENO: checking for $ac_header" >&5
21205
echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
21206
if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
21207
echo $ECHO_N "(cached) $ECHO_C" >&6
21209
ac_res=`eval echo '${'$as_ac_Header'}'`
21210
{ echo "$as_me:$LINENO: result: $ac_res" >&5
21211
echo "${ECHO_T}$ac_res" >&6; }
21213
# Is the header compilable?
21214
{ echo "$as_me:$LINENO: checking $ac_header usability" >&5
21215
echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; }
21216
cat >conftest.$ac_ext <<_ACEOF
21219
cat confdefs.h >>conftest.$ac_ext
21220
cat >>conftest.$ac_ext <<_ACEOF
21221
/* end confdefs.h. */
21222
$ac_includes_default
21223
@%:@include <$ac_header>
21225
rm -f conftest.$ac_objext
21226
if { (ac_try="$ac_compile"
21227
case "(($ac_try" in
21228
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21229
*) ac_try_echo=$ac_try;;
21231
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21232
(eval "$ac_compile") 2>conftest.er1
21234
grep -v '^ *+' conftest.er1 >conftest.err
21236
cat conftest.err >&5
21237
echo "$as_me:$LINENO: \$? = $ac_status" >&5
21238
(exit $ac_status); } && {
21239
test -z "$ac_c_werror_flag" ||
21240
test ! -s conftest.err
21241
} && test -s conftest.$ac_objext; then
21242
ac_header_compiler=yes
21244
echo "$as_me: failed program was:" >&5
21245
sed 's/^/| /' conftest.$ac_ext >&5
21247
ac_header_compiler=no
21250
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21251
{ echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
21252
echo "${ECHO_T}$ac_header_compiler" >&6; }
21254
# Is the header present?
21255
{ echo "$as_me:$LINENO: checking $ac_header presence" >&5
21256
echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; }
21257
cat >conftest.$ac_ext <<_ACEOF
21260
cat confdefs.h >>conftest.$ac_ext
21261
cat >>conftest.$ac_ext <<_ACEOF
21262
/* end confdefs.h. */
21263
@%:@include <$ac_header>
21265
if { (ac_try="$ac_cpp conftest.$ac_ext"
21266
case "(($ac_try" in
21267
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21268
*) ac_try_echo=$ac_try;;
21270
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21271
(eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
21273
grep -v '^ *+' conftest.er1 >conftest.err
21275
cat conftest.err >&5
21276
echo "$as_me:$LINENO: \$? = $ac_status" >&5
21277
(exit $ac_status); } >/dev/null && {
21278
test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
21279
test ! -s conftest.err
21281
ac_header_preproc=yes
21283
echo "$as_me: failed program was:" >&5
21284
sed 's/^/| /' conftest.$ac_ext >&5
21286
ac_header_preproc=no
21289
rm -f conftest.err conftest.$ac_ext
21290
{ echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
21291
echo "${ECHO_T}$ac_header_preproc" >&6; }
21293
# So? What about this header?
21294
case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
21296
{ echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
21297
echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
21298
{ echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
21299
echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
21300
ac_header_preproc=yes
21303
{ echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
21304
echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
21305
{ echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
21306
echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
21307
{ echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
21308
echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
21309
{ echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
21310
echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
21311
{ echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
21312
echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
21313
{ echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
21314
echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
21318
{ echo "$as_me:$LINENO: checking for $ac_header" >&5
21319
echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
21320
if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
21321
echo $ECHO_N "(cached) $ECHO_C" >&6
21323
eval "$as_ac_Header=\$ac_header_preproc"
21325
ac_res=`eval echo '${'$as_ac_Header'}'`
21326
{ echo "$as_me:$LINENO: result: $ac_res" >&5
21327
echo "${ECHO_T}$ac_res" >&6; }
21330
if test `eval echo '${'$as_ac_Header'}'` = yes; then
21331
cat >>confdefs.h <<_ACEOF
21332
@%:@define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
21340
{ echo "$as_me:$LINENO: checking for stdbool.h that conforms to C99" >&5
21341
echo $ECHO_N "checking for stdbool.h that conforms to C99... $ECHO_C" >&6; }
21342
if test "${ac_cv_header_stdbool_h+set}" = set; then
21343
echo $ECHO_N "(cached) $ECHO_C" >&6
21345
cat >conftest.$ac_ext <<_ACEOF
21348
cat confdefs.h >>conftest.$ac_ext
21349
cat >>conftest.$ac_ext <<_ACEOF
21350
/* end confdefs.h. */
21352
#include <stdbool.h>
21354
"error: bool is not defined"
21357
"error: false is not defined"
21360
"error: false is not 0"
21363
"error: true is not defined"
21366
"error: true is not 1"
21368
#ifndef __bool_true_false_are_defined
21369
"error: __bool_true_false_are_defined is not defined"
21372
struct s { _Bool s: 1; _Bool t; } s;
21374
char a[true == 1 ? 1 : -1];
21375
char b[false == 0 ? 1 : -1];
21376
char c[__bool_true_false_are_defined == 1 ? 1 : -1];
21377
char d[(bool) 0.5 == true ? 1 : -1];
21379
char f[(_Bool) 0.0 == false ? 1 : -1];
21381
char h[sizeof (_Bool)];
21382
char i[sizeof s.t];
21383
enum { j = false, k = true, l = false * true, m = true * 256 };
21385
char o[sizeof n == m * sizeof n[0] ? 1 : -1];
21386
char p[-1 - (_Bool) 0 < 0 && -1 - (bool) 0 < 0 ? 1 : -1];
21387
# if defined __xlc__ || defined __GNUC__
21388
/* Catch a bug in IBM AIX xlc compiler version 6.0.0.0
21389
reported by James Lemley on 2005-10-05; see
21390
http://lists.gnu.org/archive/html/bug-coreutils/2005-10/msg00086.html
21391
This test is not quite right, since xlc is allowed to
21392
reject this program, as the initializer for xlcbug is
21393
not one of the forms that C requires support for.
21394
However, doing the test right would require a runtime
21395
test, and that would make cross-compilation harder.
21396
Let us hope that IBM fixes the xlc bug, and also adds
21397
support for this kind of constant expression. In the
21398
meantime, this test will reject xlc, which is OK, since
21399
our stdbool.h substitute should suffice. We also test
21400
this with GCC, where it should work, to detect more
21401
quickly whether someone messes up the test in the
21403
char digs[] = "0123456789";
21404
int xlcbug = 1 / (&(digs + 5)[-2 + (bool) 1] == &digs[4] ? 1 : -1);
21406
/* Catch a bug in an HP-UX C compiler. See
21407
http://gcc.gnu.org/ml/gcc-patches/2003-12/msg02303.html
21408
http://lists.gnu.org/archive/html/bug-coreutils/2005-11/msg00161.html
21419
/* Refer to every declared value, to avoid compiler optimizations. */
21420
return (!a + !b + !c + !d + !e + !f + !g + !h + !i + !!j + !k + !!l
21421
+ !m + !n + !o + !p + !q + !pq);
21427
rm -f conftest.$ac_objext
21428
if { (ac_try="$ac_compile"
21429
case "(($ac_try" in
21430
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21431
*) ac_try_echo=$ac_try;;
21433
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21434
(eval "$ac_compile") 2>conftest.er1
21436
grep -v '^ *+' conftest.er1 >conftest.err
21438
cat conftest.err >&5
21439
echo "$as_me:$LINENO: \$? = $ac_status" >&5
21440
(exit $ac_status); } && {
21441
test -z "$ac_c_werror_flag" ||
21442
test ! -s conftest.err
21443
} && test -s conftest.$ac_objext; then
21444
ac_cv_header_stdbool_h=yes
21446
echo "$as_me: failed program was:" >&5
21447
sed 's/^/| /' conftest.$ac_ext >&5
21449
ac_cv_header_stdbool_h=no
21452
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21454
{ echo "$as_me:$LINENO: result: $ac_cv_header_stdbool_h" >&5
21455
echo "${ECHO_T}$ac_cv_header_stdbool_h" >&6; }
21456
{ echo "$as_me:$LINENO: checking for _Bool" >&5
21457
echo $ECHO_N "checking for _Bool... $ECHO_C" >&6; }
21458
if test "${ac_cv_type__Bool+set}" = set; then
21459
echo $ECHO_N "(cached) $ECHO_C" >&6
21461
cat >conftest.$ac_ext <<_ACEOF
21464
cat confdefs.h >>conftest.$ac_ext
21465
cat >>conftest.$ac_ext <<_ACEOF
21466
/* end confdefs.h. */
21467
$ac_includes_default
21468
typedef _Bool ac__type_new_;
21472
if ((ac__type_new_ *) 0)
21474
if (sizeof (ac__type_new_))
21480
rm -f conftest.$ac_objext
21481
if { (ac_try="$ac_compile"
21482
case "(($ac_try" in
21483
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21484
*) ac_try_echo=$ac_try;;
21486
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21487
(eval "$ac_compile") 2>conftest.er1
21489
grep -v '^ *+' conftest.er1 >conftest.err
21491
cat conftest.err >&5
21492
echo "$as_me:$LINENO: \$? = $ac_status" >&5
21493
(exit $ac_status); } && {
21494
test -z "$ac_c_werror_flag" ||
21495
test ! -s conftest.err
21496
} && test -s conftest.$ac_objext; then
21497
ac_cv_type__Bool=yes
21499
echo "$as_me: failed program was:" >&5
21500
sed 's/^/| /' conftest.$ac_ext >&5
21502
ac_cv_type__Bool=no
21505
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21507
{ echo "$as_me:$LINENO: result: $ac_cv_type__Bool" >&5
21508
echo "${ECHO_T}$ac_cv_type__Bool" >&6; }
21509
if test $ac_cv_type__Bool = yes; then
21511
cat >>confdefs.h <<_ACEOF
21512
@%:@define HAVE__BOOL 1
21518
if test $ac_cv_header_stdbool_h = yes; then
21520
cat >>confdefs.h <<\_ACEOF
21521
@%:@define HAVE_STDBOOL_H 1
21526
{ echo "$as_me:$LINENO: checking for an ANSI C-conforming const" >&5
21527
echo $ECHO_N "checking for an ANSI C-conforming const... $ECHO_C" >&6; }
21528
if test "${ac_cv_c_const+set}" = set; then
21529
echo $ECHO_N "(cached) $ECHO_C" >&6
21531
cat >conftest.$ac_ext <<_ACEOF
21534
cat confdefs.h >>conftest.$ac_ext
21535
cat >>conftest.$ac_ext <<_ACEOF
21536
/* end confdefs.h. */
21541
/* FIXME: Include the comments suggested by Paul. */
21542
#ifndef __cplusplus
21543
/* Ultrix mips cc rejects this. */
21544
typedef int charset[2];
21546
/* SunOS 4.1.1 cc rejects this. */
21547
char const *const *pcpcc;
21549
/* NEC SVR4.0.2 mips cc rejects this. */
21550
struct point {int x, y;};
21551
static struct point const zero = {0,0};
21552
/* AIX XL C 1.02.0.0 rejects this.
21553
It does not let you subtract one const X* pointer from another in
21554
an arm of an if-expression whose if-part is not a constant
21556
const char *g = "string";
21557
pcpcc = &g + (g ? g-g : 0);
21558
/* HPUX 7.0 cc rejects these. */
21560
ppc = (char**) pcpcc;
21561
pcpcc = (char const *const *) ppc;
21562
{ /* SCO 3.2v4 cc rejects this. */
21564
char const *s = 0 ? (char *) 0 : (char const *) 0;
21569
{ /* Someone thinks the Sun supposedly-ANSI compiler will reject this. */
21570
int x[] = {25, 17};
21571
const int *foo = &x[0];
21574
{ /* Sun SC1.0 ANSI compiler rejects this -- but not the above. */
21575
typedef const int *iptr;
21579
{ /* AIX XL C 1.02.0.0 rejects this saying
21580
"k.c", line 2.27: 1506-025 (S) Operand must be a modifiable lvalue. */
21581
struct s { int j; const int *ap[3]; };
21582
struct s *b; b->j = 5;
21584
{ /* ULTRIX-32 V3.1 (Rev 9) vcc rejects this */
21585
const int foo = 10;
21586
if (!foo) return 0;
21588
return !cs[0] && !zero.x;
21595
rm -f conftest.$ac_objext
21596
if { (ac_try="$ac_compile"
21597
case "(($ac_try" in
21598
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21599
*) ac_try_echo=$ac_try;;
21601
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21602
(eval "$ac_compile") 2>conftest.er1
21604
grep -v '^ *+' conftest.er1 >conftest.err
21606
cat conftest.err >&5
21607
echo "$as_me:$LINENO: \$? = $ac_status" >&5
21608
(exit $ac_status); } && {
21609
test -z "$ac_c_werror_flag" ||
21610
test ! -s conftest.err
21611
} && test -s conftest.$ac_objext; then
21614
echo "$as_me: failed program was:" >&5
21615
sed 's/^/| /' conftest.$ac_ext >&5
21620
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21622
{ echo "$as_me:$LINENO: result: $ac_cv_c_const" >&5
21623
echo "${ECHO_T}$ac_cv_c_const" >&6; }
21624
if test $ac_cv_c_const = no; then
21626
cat >>confdefs.h <<\_ACEOF
21632
{ echo "$as_me:$LINENO: checking for inline" >&5
21633
echo $ECHO_N "checking for inline... $ECHO_C" >&6; }
21634
if test "${ac_cv_c_inline+set}" = set; then
21635
echo $ECHO_N "(cached) $ECHO_C" >&6
21638
for ac_kw in inline __inline__ __inline; do
21639
cat >conftest.$ac_ext <<_ACEOF
21642
cat confdefs.h >>conftest.$ac_ext
21643
cat >>conftest.$ac_ext <<_ACEOF
21644
/* end confdefs.h. */
21645
#ifndef __cplusplus
21647
static $ac_kw foo_t static_foo () {return 0; }
21648
$ac_kw foo_t foo () {return 0; }
21652
rm -f conftest.$ac_objext
21653
if { (ac_try="$ac_compile"
21654
case "(($ac_try" in
21655
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21656
*) ac_try_echo=$ac_try;;
21658
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21659
(eval "$ac_compile") 2>conftest.er1
21661
grep -v '^ *+' conftest.er1 >conftest.err
21663
cat conftest.err >&5
21664
echo "$as_me:$LINENO: \$? = $ac_status" >&5
21665
(exit $ac_status); } && {
21666
test -z "$ac_c_werror_flag" ||
21667
test ! -s conftest.err
21668
} && test -s conftest.$ac_objext; then
21669
ac_cv_c_inline=$ac_kw
21671
echo "$as_me: failed program was:" >&5
21672
sed 's/^/| /' conftest.$ac_ext >&5
21677
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21678
test "$ac_cv_c_inline" != no && break
21682
{ echo "$as_me:$LINENO: result: $ac_cv_c_inline" >&5
21683
echo "${ECHO_T}$ac_cv_c_inline" >&6; }
21686
case $ac_cv_c_inline in
21689
case $ac_cv_c_inline in
21691
*) ac_val=$ac_cv_c_inline;;
21693
cat >>confdefs.h <<_ACEOF
21694
#ifndef __cplusplus
21695
#define inline $ac_val
21701
{ echo "$as_me:$LINENO: checking for size_t" >&5
21702
echo $ECHO_N "checking for size_t... $ECHO_C" >&6; }
21703
if test "${ac_cv_type_size_t+set}" = set; then
21704
echo $ECHO_N "(cached) $ECHO_C" >&6
21706
cat >conftest.$ac_ext <<_ACEOF
21709
cat confdefs.h >>conftest.$ac_ext
21710
cat >>conftest.$ac_ext <<_ACEOF
21711
/* end confdefs.h. */
21712
$ac_includes_default
21713
typedef size_t ac__type_new_;
21717
if ((ac__type_new_ *) 0)
21719
if (sizeof (ac__type_new_))
21725
rm -f conftest.$ac_objext
21726
if { (ac_try="$ac_compile"
21727
case "(($ac_try" in
21728
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21729
*) ac_try_echo=$ac_try;;
21731
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21732
(eval "$ac_compile") 2>conftest.er1
21734
grep -v '^ *+' conftest.er1 >conftest.err
21736
cat conftest.err >&5
21737
echo "$as_me:$LINENO: \$? = $ac_status" >&5
21738
(exit $ac_status); } && {
21739
test -z "$ac_c_werror_flag" ||
21740
test ! -s conftest.err
21741
} && test -s conftest.$ac_objext; then
21742
ac_cv_type_size_t=yes
21744
echo "$as_me: failed program was:" >&5
21745
sed 's/^/| /' conftest.$ac_ext >&5
21747
ac_cv_type_size_t=no
21750
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21752
{ echo "$as_me:$LINENO: result: $ac_cv_type_size_t" >&5
21753
echo "${ECHO_T}$ac_cv_type_size_t" >&6; }
21754
if test $ac_cv_type_size_t = yes; then
21758
cat >>confdefs.h <<_ACEOF
21759
@%:@define size_t unsigned int
21764
{ echo "$as_me:$LINENO: checking whether time.h and sys/time.h may both be included" >&5
21765
echo $ECHO_N "checking whether time.h and sys/time.h may both be included... $ECHO_C" >&6; }
21766
if test "${ac_cv_header_time+set}" = set; then
21767
echo $ECHO_N "(cached) $ECHO_C" >&6
21769
cat >conftest.$ac_ext <<_ACEOF
21772
cat confdefs.h >>conftest.$ac_ext
21773
cat >>conftest.$ac_ext <<_ACEOF
21774
/* end confdefs.h. */
21775
#include <sys/types.h>
21776
#include <sys/time.h>
21782
if ((struct tm *) 0)
21788
rm -f conftest.$ac_objext
21789
if { (ac_try="$ac_compile"
21790
case "(($ac_try" in
21791
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21792
*) ac_try_echo=$ac_try;;
21794
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21795
(eval "$ac_compile") 2>conftest.er1
21797
grep -v '^ *+' conftest.er1 >conftest.err
21799
cat conftest.err >&5
21800
echo "$as_me:$LINENO: \$? = $ac_status" >&5
21801
(exit $ac_status); } && {
21802
test -z "$ac_c_werror_flag" ||
21803
test ! -s conftest.err
21804
} && test -s conftest.$ac_objext; then
21805
ac_cv_header_time=yes
21807
echo "$as_me: failed program was:" >&5
21808
sed 's/^/| /' conftest.$ac_ext >&5
21810
ac_cv_header_time=no
21813
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21815
{ echo "$as_me:$LINENO: result: $ac_cv_header_time" >&5
21816
echo "${ECHO_T}$ac_cv_header_time" >&6; }
21817
if test $ac_cv_header_time = yes; then
21819
cat >>confdefs.h <<\_ACEOF
21820
@%:@define TIME_WITH_SYS_TIME 1
21825
{ echo "$as_me:$LINENO: checking for working volatile" >&5
21826
echo $ECHO_N "checking for working volatile... $ECHO_C" >&6; }
21827
if test "${ac_cv_c_volatile+set}" = set; then
21828
echo $ECHO_N "(cached) $ECHO_C" >&6
21830
cat >conftest.$ac_ext <<_ACEOF
21833
cat confdefs.h >>conftest.$ac_ext
21834
cat >>conftest.$ac_ext <<_ACEOF
21835
/* end confdefs.h. */
21842
int * volatile y = (int *) 0;
21848
rm -f conftest.$ac_objext
21849
if { (ac_try="$ac_compile"
21850
case "(($ac_try" in
21851
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21852
*) ac_try_echo=$ac_try;;
21854
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21855
(eval "$ac_compile") 2>conftest.er1
21857
grep -v '^ *+' conftest.er1 >conftest.err
21859
cat conftest.err >&5
21860
echo "$as_me:$LINENO: \$? = $ac_status" >&5
21861
(exit $ac_status); } && {
21862
test -z "$ac_c_werror_flag" ||
21863
test ! -s conftest.err
21864
} && test -s conftest.$ac_objext; then
21865
ac_cv_c_volatile=yes
21867
echo "$as_me: failed program was:" >&5
21868
sed 's/^/| /' conftest.$ac_ext >&5
21870
ac_cv_c_volatile=no
21873
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21875
{ echo "$as_me:$LINENO: result: $ac_cv_c_volatile" >&5
21876
echo "${ECHO_T}$ac_cv_c_volatile" >&6; }
21877
if test $ac_cv_c_volatile = no; then
21879
cat >>confdefs.h <<\_ACEOF
21880
@%:@define volatile
21886
{ echo "$as_me:$LINENO: checking whether closedir returns void" >&5
21887
echo $ECHO_N "checking whether closedir returns void... $ECHO_C" >&6; }
21888
if test "${ac_cv_func_closedir_void+set}" = set; then
21889
echo $ECHO_N "(cached) $ECHO_C" >&6
21891
if test "$cross_compiling" = yes; then
21892
ac_cv_func_closedir_void=yes
21894
cat >conftest.$ac_ext <<_ACEOF
21897
cat confdefs.h >>conftest.$ac_ext
21898
cat >>conftest.$ac_ext <<_ACEOF
21899
/* end confdefs.h. */
21900
$ac_includes_default
21901
#include <$ac_header_dirent>
21902
#ifndef __cplusplus
21909
return closedir (opendir (".")) != 0;
21914
rm -f conftest$ac_exeext
21915
if { (ac_try="$ac_link"
21916
case "(($ac_try" in
21917
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21918
*) ac_try_echo=$ac_try;;
21920
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21921
(eval "$ac_link") 2>&5
21923
echo "$as_me:$LINENO: \$? = $ac_status" >&5
21924
(exit $ac_status); } && { ac_try='./conftest$ac_exeext'
21925
{ (case "(($ac_try" in
21926
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21927
*) ac_try_echo=$ac_try;;
21929
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21930
(eval "$ac_try") 2>&5
21932
echo "$as_me:$LINENO: \$? = $ac_status" >&5
21933
(exit $ac_status); }; }; then
21934
ac_cv_func_closedir_void=no
21936
echo "$as_me: program exited with status $ac_status" >&5
21937
echo "$as_me: failed program was:" >&5
21938
sed 's/^/| /' conftest.$ac_ext >&5
21940
( exit $ac_status )
21941
ac_cv_func_closedir_void=yes
21943
rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
21948
{ echo "$as_me:$LINENO: result: $ac_cv_func_closedir_void" >&5
21949
echo "${ECHO_T}$ac_cv_func_closedir_void" >&6; }
21950
if test $ac_cv_func_closedir_void = yes; then
21952
cat >>confdefs.h <<\_ACEOF
21953
@%:@define CLOSEDIR_VOID 1
21959
for ac_header in stdlib.h
21961
as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
21962
if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
21963
{ echo "$as_me:$LINENO: checking for $ac_header" >&5
21964
echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
21965
if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
21966
echo $ECHO_N "(cached) $ECHO_C" >&6
21968
ac_res=`eval echo '${'$as_ac_Header'}'`
21969
{ echo "$as_me:$LINENO: result: $ac_res" >&5
21970
echo "${ECHO_T}$ac_res" >&6; }
21972
# Is the header compilable?
21973
{ echo "$as_me:$LINENO: checking $ac_header usability" >&5
21974
echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; }
21975
cat >conftest.$ac_ext <<_ACEOF
21978
cat confdefs.h >>conftest.$ac_ext
21979
cat >>conftest.$ac_ext <<_ACEOF
21980
/* end confdefs.h. */
21981
$ac_includes_default
21982
@%:@include <$ac_header>
21984
rm -f conftest.$ac_objext
21985
if { (ac_try="$ac_compile"
21986
case "(($ac_try" in
21987
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21988
*) ac_try_echo=$ac_try;;
21990
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21991
(eval "$ac_compile") 2>conftest.er1
21993
grep -v '^ *+' conftest.er1 >conftest.err
21995
cat conftest.err >&5
21996
echo "$as_me:$LINENO: \$? = $ac_status" >&5
21997
(exit $ac_status); } && {
21998
test -z "$ac_c_werror_flag" ||
21999
test ! -s conftest.err
22000
} && test -s conftest.$ac_objext; then
22001
ac_header_compiler=yes
22003
echo "$as_me: failed program was:" >&5
22004
sed 's/^/| /' conftest.$ac_ext >&5
22006
ac_header_compiler=no
22009
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22010
{ echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
22011
echo "${ECHO_T}$ac_header_compiler" >&6; }
22013
# Is the header present?
22014
{ echo "$as_me:$LINENO: checking $ac_header presence" >&5
22015
echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; }
22016
cat >conftest.$ac_ext <<_ACEOF
22019
cat confdefs.h >>conftest.$ac_ext
22020
cat >>conftest.$ac_ext <<_ACEOF
22021
/* end confdefs.h. */
22022
@%:@include <$ac_header>
22024
if { (ac_try="$ac_cpp conftest.$ac_ext"
22025
case "(($ac_try" in
22026
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22027
*) ac_try_echo=$ac_try;;
22029
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22030
(eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
22032
grep -v '^ *+' conftest.er1 >conftest.err
22034
cat conftest.err >&5
22035
echo "$as_me:$LINENO: \$? = $ac_status" >&5
22036
(exit $ac_status); } >/dev/null && {
22037
test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
22038
test ! -s conftest.err
22040
ac_header_preproc=yes
22042
echo "$as_me: failed program was:" >&5
22043
sed 's/^/| /' conftest.$ac_ext >&5
22045
ac_header_preproc=no
22048
rm -f conftest.err conftest.$ac_ext
22049
{ echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
22050
echo "${ECHO_T}$ac_header_preproc" >&6; }
22052
# So? What about this header?
22053
case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
22055
{ echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
22056
echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
22057
{ echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
22058
echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
22059
ac_header_preproc=yes
22062
{ echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
22063
echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
22064
{ echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
22065
echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
22066
{ echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
22067
echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
22068
{ echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
22069
echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
22070
{ echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
22071
echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
22072
{ echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
22073
echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
22077
{ echo "$as_me:$LINENO: checking for $ac_header" >&5
22078
echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
22079
if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
22080
echo $ECHO_N "(cached) $ECHO_C" >&6
22082
eval "$as_ac_Header=\$ac_header_preproc"
22084
ac_res=`eval echo '${'$as_ac_Header'}'`
22085
{ echo "$as_me:$LINENO: result: $ac_res" >&5
22086
echo "${ECHO_T}$ac_res" >&6; }
22089
if test `eval echo '${'$as_ac_Header'}'` = yes; then
22090
cat >>confdefs.h <<_ACEOF
22091
@%:@define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
22098
{ echo "$as_me:$LINENO: checking for GNU libc compatible malloc" >&5
22099
echo $ECHO_N "checking for GNU libc compatible malloc... $ECHO_C" >&6; }
22100
if test "${ac_cv_func_malloc_0_nonnull+set}" = set; then
22101
echo $ECHO_N "(cached) $ECHO_C" >&6
22103
if test "$cross_compiling" = yes; then
22104
ac_cv_func_malloc_0_nonnull=no
22106
cat >conftest.$ac_ext <<_ACEOF
22109
cat confdefs.h >>conftest.$ac_ext
22110
cat >>conftest.$ac_ext <<_ACEOF
22111
/* end confdefs.h. */
22112
#if defined STDC_HEADERS || defined HAVE_STDLIB_H
22113
# include <stdlib.h>
22121
return ! malloc (0);
22126
rm -f conftest$ac_exeext
22127
if { (ac_try="$ac_link"
22128
case "(($ac_try" in
22129
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22130
*) ac_try_echo=$ac_try;;
22132
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22133
(eval "$ac_link") 2>&5
22135
echo "$as_me:$LINENO: \$? = $ac_status" >&5
22136
(exit $ac_status); } && { ac_try='./conftest$ac_exeext'
22137
{ (case "(($ac_try" in
22138
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22139
*) ac_try_echo=$ac_try;;
22141
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22142
(eval "$ac_try") 2>&5
22144
echo "$as_me:$LINENO: \$? = $ac_status" >&5
22145
(exit $ac_status); }; }; then
22146
ac_cv_func_malloc_0_nonnull=yes
22148
echo "$as_me: program exited with status $ac_status" >&5
22149
echo "$as_me: failed program was:" >&5
22150
sed 's/^/| /' conftest.$ac_ext >&5
22152
( exit $ac_status )
22153
ac_cv_func_malloc_0_nonnull=no
22155
rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
22160
{ echo "$as_me:$LINENO: result: $ac_cv_func_malloc_0_nonnull" >&5
22161
echo "${ECHO_T}$ac_cv_func_malloc_0_nonnull" >&6; }
22162
if test $ac_cv_func_malloc_0_nonnull = yes; then
22164
cat >>confdefs.h <<\_ACEOF
22165
@%:@define HAVE_MALLOC 1
22169
cat >>confdefs.h <<\_ACEOF
22170
@%:@define HAVE_MALLOC 0
22173
case " $LIB@&t@OBJS " in
22174
*" malloc.$ac_objext "* ) ;;
22175
*) LIB@&t@OBJS="$LIB@&t@OBJS malloc.$ac_objext"
22180
cat >>confdefs.h <<\_ACEOF
22181
@%:@define malloc rpl_malloc
22188
{ echo "$as_me:$LINENO: checking for working memcmp" >&5
22189
echo $ECHO_N "checking for working memcmp... $ECHO_C" >&6; }
22190
if test "${ac_cv_func_memcmp_working+set}" = set; then
22191
echo $ECHO_N "(cached) $ECHO_C" >&6
22193
if test "$cross_compiling" = yes; then
22194
ac_cv_func_memcmp_working=no
22196
cat >conftest.$ac_ext <<_ACEOF
22199
cat confdefs.h >>conftest.$ac_ext
22200
cat >>conftest.$ac_ext <<_ACEOF
22201
/* end confdefs.h. */
22202
$ac_includes_default
22207
/* Some versions of memcmp are not 8-bit clean. */
22208
char c0 = '\100', c1 = '\200', c2 = '\201';
22209
if (memcmp(&c0, &c2, 1) >= 0 || memcmp(&c1, &c2, 1) >= 0)
22212
/* The Next x86 OpenStep bug shows up only when comparing 16 bytes
22213
or more and with at least one buffer not starting on a 4-byte boundary.
22214
William Lewis provided this test program. */
22219
for (i = 0; i < 4; i++)
22223
strcpy (a, "--------01111111");
22224
strcpy (b, "--------10000000");
22225
if (memcmp (a, b, 16) >= 0)
22235
rm -f conftest$ac_exeext
22236
if { (ac_try="$ac_link"
22237
case "(($ac_try" in
22238
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22239
*) ac_try_echo=$ac_try;;
22241
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22242
(eval "$ac_link") 2>&5
22244
echo "$as_me:$LINENO: \$? = $ac_status" >&5
22245
(exit $ac_status); } && { ac_try='./conftest$ac_exeext'
22246
{ (case "(($ac_try" in
22247
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22248
*) ac_try_echo=$ac_try;;
22250
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22251
(eval "$ac_try") 2>&5
22253
echo "$as_me:$LINENO: \$? = $ac_status" >&5
22254
(exit $ac_status); }; }; then
22255
ac_cv_func_memcmp_working=yes
22257
echo "$as_me: program exited with status $ac_status" >&5
22258
echo "$as_me: failed program was:" >&5
22259
sed 's/^/| /' conftest.$ac_ext >&5
22261
( exit $ac_status )
22262
ac_cv_func_memcmp_working=no
22264
rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
22269
{ echo "$as_me:$LINENO: result: $ac_cv_func_memcmp_working" >&5
22270
echo "${ECHO_T}$ac_cv_func_memcmp_working" >&6; }
22271
test $ac_cv_func_memcmp_working = no && case " $LIB@&t@OBJS " in
22272
*" memcmp.$ac_objext "* ) ;;
22273
*) LIB@&t@OBJS="$LIB@&t@OBJS memcmp.$ac_objext"
22278
{ echo "$as_me:$LINENO: checking whether lstat dereferences a symlink specified with a trailing slash" >&5
22279
echo $ECHO_N "checking whether lstat dereferences a symlink specified with a trailing slash... $ECHO_C" >&6; }
22280
if test "${ac_cv_func_lstat_dereferences_slashed_symlink+set}" = set; then
22281
echo $ECHO_N "(cached) $ECHO_C" >&6
22283
rm -f conftest.sym conftest.file
22284
echo >conftest.file
22285
if test "$as_ln_s" = "ln -s" && ln -s conftest.file conftest.sym; then
22286
if test "$cross_compiling" = yes; then
22287
ac_cv_func_lstat_dereferences_slashed_symlink=no
22289
cat >conftest.$ac_ext <<_ACEOF
22292
cat confdefs.h >>conftest.$ac_ext
22293
cat >>conftest.$ac_ext <<_ACEOF
22294
/* end confdefs.h. */
22295
$ac_includes_default
22300
/* Linux will dereference the symlink and fail.
22301
That is better in the sense that it means we will not
22302
have to compile and use the lstat wrapper. */
22303
return lstat ("conftest.sym/", &sbuf) == 0;
22308
rm -f conftest$ac_exeext
22309
if { (ac_try="$ac_link"
22310
case "(($ac_try" in
22311
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22312
*) ac_try_echo=$ac_try;;
22314
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22315
(eval "$ac_link") 2>&5
22317
echo "$as_me:$LINENO: \$? = $ac_status" >&5
22318
(exit $ac_status); } && { ac_try='./conftest$ac_exeext'
22319
{ (case "(($ac_try" in
22320
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22321
*) ac_try_echo=$ac_try;;
22323
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22324
(eval "$ac_try") 2>&5
22326
echo "$as_me:$LINENO: \$? = $ac_status" >&5
22327
(exit $ac_status); }; }; then
22328
ac_cv_func_lstat_dereferences_slashed_symlink=yes
22330
echo "$as_me: program exited with status $ac_status" >&5
22331
echo "$as_me: failed program was:" >&5
22332
sed 's/^/| /' conftest.$ac_ext >&5
22334
( exit $ac_status )
22335
ac_cv_func_lstat_dereferences_slashed_symlink=no
22337
rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
22342
# If the `ln -s' command failed, then we probably don't even
22343
# have an lstat function.
22344
ac_cv_func_lstat_dereferences_slashed_symlink=no
22346
rm -f conftest.sym conftest.file
22349
{ echo "$as_me:$LINENO: result: $ac_cv_func_lstat_dereferences_slashed_symlink" >&5
22350
echo "${ECHO_T}$ac_cv_func_lstat_dereferences_slashed_symlink" >&6; }
22352
test $ac_cv_func_lstat_dereferences_slashed_symlink = yes &&
22354
cat >>confdefs.h <<_ACEOF
22355
@%:@define LSTAT_FOLLOWS_SLASHED_SYMLINK 1
22359
if test $ac_cv_func_lstat_dereferences_slashed_symlink = no; then
22360
case " $LIB@&t@OBJS " in
22361
*" lstat.$ac_objext "* ) ;;
22362
*) LIB@&t@OBJS="$LIB@&t@OBJS lstat.$ac_objext"
22368
{ echo "$as_me:$LINENO: checking whether stat accepts an empty string" >&5
22369
echo $ECHO_N "checking whether stat accepts an empty string... $ECHO_C" >&6; }
22370
if test "${ac_cv_func_stat_empty_string_bug+set}" = set; then
22371
echo $ECHO_N "(cached) $ECHO_C" >&6
22373
if test "$cross_compiling" = yes; then
22374
ac_cv_func_stat_empty_string_bug=yes
22376
cat >conftest.$ac_ext <<_ACEOF
22379
cat confdefs.h >>conftest.$ac_ext
22380
cat >>conftest.$ac_ext <<_ACEOF
22381
/* end confdefs.h. */
22382
$ac_includes_default
22387
return stat ("", &sbuf) == 0;
22392
rm -f conftest$ac_exeext
22393
if { (ac_try="$ac_link"
22394
case "(($ac_try" in
22395
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22396
*) ac_try_echo=$ac_try;;
22398
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22399
(eval "$ac_link") 2>&5
22401
echo "$as_me:$LINENO: \$? = $ac_status" >&5
22402
(exit $ac_status); } && { ac_try='./conftest$ac_exeext'
22403
{ (case "(($ac_try" in
22404
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22405
*) ac_try_echo=$ac_try;;
22407
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22408
(eval "$ac_try") 2>&5
22410
echo "$as_me:$LINENO: \$? = $ac_status" >&5
22411
(exit $ac_status); }; }; then
22412
ac_cv_func_stat_empty_string_bug=no
22414
echo "$as_me: program exited with status $ac_status" >&5
22415
echo "$as_me: failed program was:" >&5
22416
sed 's/^/| /' conftest.$ac_ext >&5
22418
( exit $ac_status )
22419
ac_cv_func_stat_empty_string_bug=yes
22421
rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
22426
{ echo "$as_me:$LINENO: result: $ac_cv_func_stat_empty_string_bug" >&5
22427
echo "${ECHO_T}$ac_cv_func_stat_empty_string_bug" >&6; }
22428
if test $ac_cv_func_stat_empty_string_bug = yes; then
22429
case " $LIB@&t@OBJS " in
22430
*" stat.$ac_objext "* ) ;;
22431
*) LIB@&t@OBJS="$LIB@&t@OBJS stat.$ac_objext"
22436
cat >>confdefs.h <<_ACEOF
22437
@%:@define HAVE_STAT_EMPTY_STRING_BUG 1
22443
for ac_func in vprintf
22445
as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
22446
{ echo "$as_me:$LINENO: checking for $ac_func" >&5
22447
echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
22448
if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
22449
echo $ECHO_N "(cached) $ECHO_C" >&6
22451
cat >conftest.$ac_ext <<_ACEOF
22454
cat confdefs.h >>conftest.$ac_ext
22455
cat >>conftest.$ac_ext <<_ACEOF
22456
/* end confdefs.h. */
22457
/* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
22458
For example, HP-UX 11i <limits.h> declares gettimeofday. */
22459
#define $ac_func innocuous_$ac_func
22461
/* System header to define __stub macros and hopefully few prototypes,
22462
which can conflict with char $ac_func (); below.
22463
Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
22464
<limits.h> exists even on freestanding compilers. */
22467
# include <limits.h>
22469
# include <assert.h>
22474
/* Override any GCC internal prototype to avoid an error.
22475
Use char because int might match the return type of a GCC
22476
builtin and then its argument prototype would still apply. */
22481
/* The GNU C library defines this for functions which it implements
22482
to always fail with ENOSYS. Some functions are actually named
22483
something starting with __ and the normal name is an alias. */
22484
#if defined __stub_$ac_func || defined __stub___$ac_func
22491
return $ac_func ();
22496
rm -f conftest.$ac_objext conftest$ac_exeext
22497
if { (ac_try="$ac_link"
22498
case "(($ac_try" in
22499
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22500
*) ac_try_echo=$ac_try;;
22502
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22503
(eval "$ac_link") 2>conftest.er1
22505
grep -v '^ *+' conftest.er1 >conftest.err
22507
cat conftest.err >&5
22508
echo "$as_me:$LINENO: \$? = $ac_status" >&5
22509
(exit $ac_status); } && {
22510
test -z "$ac_c_werror_flag" ||
22511
test ! -s conftest.err
22512
} && test -s conftest$ac_exeext &&
22513
$as_test_x conftest$ac_exeext; then
22514
eval "$as_ac_var=yes"
22516
echo "$as_me: failed program was:" >&5
22517
sed 's/^/| /' conftest.$ac_ext >&5
22519
eval "$as_ac_var=no"
22522
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
22523
conftest$ac_exeext conftest.$ac_ext
22525
ac_res=`eval echo '${'$as_ac_var'}'`
22526
{ echo "$as_me:$LINENO: result: $ac_res" >&5
22527
echo "${ECHO_T}$ac_res" >&6; }
22528
if test `eval echo '${'$as_ac_var'}'` = yes; then
22529
cat >>confdefs.h <<_ACEOF
22530
@%:@define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
22533
{ echo "$as_me:$LINENO: checking for _doprnt" >&5
22534
echo $ECHO_N "checking for _doprnt... $ECHO_C" >&6; }
22535
if test "${ac_cv_func__doprnt+set}" = set; then
22536
echo $ECHO_N "(cached) $ECHO_C" >&6
22538
cat >conftest.$ac_ext <<_ACEOF
22541
cat confdefs.h >>conftest.$ac_ext
22542
cat >>conftest.$ac_ext <<_ACEOF
22543
/* end confdefs.h. */
22544
/* Define _doprnt to an innocuous variant, in case <limits.h> declares _doprnt.
22545
For example, HP-UX 11i <limits.h> declares gettimeofday. */
22546
#define _doprnt innocuous__doprnt
22548
/* System header to define __stub macros and hopefully few prototypes,
22549
which can conflict with char _doprnt (); below.
22550
Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
22551
<limits.h> exists even on freestanding compilers. */
22554
# include <limits.h>
22556
# include <assert.h>
22561
/* Override any GCC internal prototype to avoid an error.
22562
Use char because int might match the return type of a GCC
22563
builtin and then its argument prototype would still apply. */
22568
/* The GNU C library defines this for functions which it implements
22569
to always fail with ENOSYS. Some functions are actually named
22570
something starting with __ and the normal name is an alias. */
22571
#if defined __stub__doprnt || defined __stub____doprnt
22583
rm -f conftest.$ac_objext conftest$ac_exeext
22584
if { (ac_try="$ac_link"
22585
case "(($ac_try" in
22586
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22587
*) ac_try_echo=$ac_try;;
22589
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22590
(eval "$ac_link") 2>conftest.er1
22592
grep -v '^ *+' conftest.er1 >conftest.err
22594
cat conftest.err >&5
22595
echo "$as_me:$LINENO: \$? = $ac_status" >&5
22596
(exit $ac_status); } && {
22597
test -z "$ac_c_werror_flag" ||
22598
test ! -s conftest.err
22599
} && test -s conftest$ac_exeext &&
22600
$as_test_x conftest$ac_exeext; then
22601
ac_cv_func__doprnt=yes
22603
echo "$as_me: failed program was:" >&5
22604
sed 's/^/| /' conftest.$ac_ext >&5
22606
ac_cv_func__doprnt=no
22609
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
22610
conftest$ac_exeext conftest.$ac_ext
22612
{ echo "$as_me:$LINENO: result: $ac_cv_func__doprnt" >&5
22613
echo "${ECHO_T}$ac_cv_func__doprnt" >&6; }
22614
if test $ac_cv_func__doprnt = yes; then
22616
cat >>confdefs.h <<\_ACEOF
22617
@%:@define HAVE_DOPRNT 1
22638
for ac_func in atexit getcwd isascii memchr memmove memset strcasecmp strchr strcspn strdup strrchr strstr
22640
as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
22641
{ echo "$as_me:$LINENO: checking for $ac_func" >&5
22642
echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
22643
if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
22644
echo $ECHO_N "(cached) $ECHO_C" >&6
22646
cat >conftest.$ac_ext <<_ACEOF
22649
cat confdefs.h >>conftest.$ac_ext
22650
cat >>conftest.$ac_ext <<_ACEOF
22651
/* end confdefs.h. */
22652
/* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
22653
For example, HP-UX 11i <limits.h> declares gettimeofday. */
22654
#define $ac_func innocuous_$ac_func
22656
/* System header to define __stub macros and hopefully few prototypes,
22657
which can conflict with char $ac_func (); below.
22658
Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
22659
<limits.h> exists even on freestanding compilers. */
22662
# include <limits.h>
22664
# include <assert.h>
22669
/* Override any GCC internal prototype to avoid an error.
22670
Use char because int might match the return type of a GCC
22671
builtin and then its argument prototype would still apply. */
22676
/* The GNU C library defines this for functions which it implements
22677
to always fail with ENOSYS. Some functions are actually named
22678
something starting with __ and the normal name is an alias. */
22679
#if defined __stub_$ac_func || defined __stub___$ac_func
22686
return $ac_func ();
22691
rm -f conftest.$ac_objext conftest$ac_exeext
22692
if { (ac_try="$ac_link"
22693
case "(($ac_try" in
22694
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22695
*) ac_try_echo=$ac_try;;
22697
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22698
(eval "$ac_link") 2>conftest.er1
22700
grep -v '^ *+' conftest.er1 >conftest.err
22702
cat conftest.err >&5
22703
echo "$as_me:$LINENO: \$? = $ac_status" >&5
22704
(exit $ac_status); } && {
22705
test -z "$ac_c_werror_flag" ||
22706
test ! -s conftest.err
22707
} && test -s conftest$ac_exeext &&
22708
$as_test_x conftest$ac_exeext; then
22709
eval "$as_ac_var=yes"
22711
echo "$as_me: failed program was:" >&5
22712
sed 's/^/| /' conftest.$ac_ext >&5
22714
eval "$as_ac_var=no"
22717
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
22718
conftest$ac_exeext conftest.$ac_ext
22720
ac_res=`eval echo '${'$as_ac_var'}'`
22721
{ echo "$as_me:$LINENO: result: $ac_res" >&5
22722
echo "${ECHO_T}$ac_res" >&6; }
22723
if test `eval echo '${'$as_ac_var'}'` = yes; then
22724
cat >>confdefs.h <<_ACEOF
22725
@%:@define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
22732
{ echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
22733
echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6; }
22734
if test "${ac_cv_lib_dl_dlopen+set}" = set; then
22735
echo $ECHO_N "(cached) $ECHO_C" >&6
22737
ac_check_lib_save_LIBS=$LIBS
22739
cat >conftest.$ac_ext <<_ACEOF
22742
cat confdefs.h >>conftest.$ac_ext
22743
cat >>conftest.$ac_ext <<_ACEOF
22744
/* end confdefs.h. */
22746
/* Override any GCC internal prototype to avoid an error.
22747
Use char because int might match the return type of a GCC
22748
builtin and then its argument prototype would still apply. */
22761
rm -f conftest.$ac_objext conftest$ac_exeext
22762
if { (ac_try="$ac_link"
22763
case "(($ac_try" in
22764
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22765
*) ac_try_echo=$ac_try;;
22767
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22768
(eval "$ac_link") 2>conftest.er1
22770
grep -v '^ *+' conftest.er1 >conftest.err
22772
cat conftest.err >&5
22773
echo "$as_me:$LINENO: \$? = $ac_status" >&5
22774
(exit $ac_status); } && {
22775
test -z "$ac_c_werror_flag" ||
22776
test ! -s conftest.err
22777
} && test -s conftest$ac_exeext &&
22778
$as_test_x conftest$ac_exeext; then
22779
ac_cv_lib_dl_dlopen=yes
22781
echo "$as_me: failed program was:" >&5
22782
sed 's/^/| /' conftest.$ac_ext >&5
22784
ac_cv_lib_dl_dlopen=no
22787
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
22788
conftest$ac_exeext conftest.$ac_ext
22789
LIBS=$ac_check_lib_save_LIBS
22791
{ echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
22792
echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6; }
22793
if test $ac_cv_lib_dl_dlopen = yes; then
22794
cat >>confdefs.h <<_ACEOF
22795
@%:@define HAVE_LIBDL 1
22803
{ echo "$as_me:$LINENO: checking for pthread_create in -lpthread" >&5
22804
echo $ECHO_N "checking for pthread_create in -lpthread... $ECHO_C" >&6; }
22805
if test "${ac_cv_lib_pthread_pthread_create+set}" = set; then
22806
echo $ECHO_N "(cached) $ECHO_C" >&6
22808
ac_check_lib_save_LIBS=$LIBS
22809
LIBS="-lpthread $LIBS"
22810
cat >conftest.$ac_ext <<_ACEOF
22813
cat confdefs.h >>conftest.$ac_ext
22814
cat >>conftest.$ac_ext <<_ACEOF
22815
/* end confdefs.h. */
22817
/* Override any GCC internal prototype to avoid an error.
22818
Use char because int might match the return type of a GCC
22819
builtin and then its argument prototype would still apply. */
22823
char pthread_create ();
22827
return pthread_create ();
22832
rm -f conftest.$ac_objext conftest$ac_exeext
22833
if { (ac_try="$ac_link"
22834
case "(($ac_try" in
22835
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22836
*) ac_try_echo=$ac_try;;
22838
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22839
(eval "$ac_link") 2>conftest.er1
22841
grep -v '^ *+' conftest.er1 >conftest.err
22843
cat conftest.err >&5
22844
echo "$as_me:$LINENO: \$? = $ac_status" >&5
22845
(exit $ac_status); } && {
22846
test -z "$ac_c_werror_flag" ||
22847
test ! -s conftest.err
22848
} && test -s conftest$ac_exeext &&
22849
$as_test_x conftest$ac_exeext; then
22850
ac_cv_lib_pthread_pthread_create=yes
22852
echo "$as_me: failed program was:" >&5
22853
sed 's/^/| /' conftest.$ac_ext >&5
22855
ac_cv_lib_pthread_pthread_create=no
22858
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
22859
conftest$ac_exeext conftest.$ac_ext
22860
LIBS=$ac_check_lib_save_LIBS
22862
{ echo "$as_me:$LINENO: result: $ac_cv_lib_pthread_pthread_create" >&5
22863
echo "${ECHO_T}$ac_cv_lib_pthread_pthread_create" >&6; }
22864
if test $ac_cv_lib_pthread_pthread_create = yes; then
22865
cat >>confdefs.h <<_ACEOF
22866
@%:@define HAVE_LIBPTHREAD 1
22869
LIBS="-lpthread $LIBS"
22873
{ echo "$as_me:$LINENO: checking for snprintf" >&5
22874
echo $ECHO_N "checking for snprintf... $ECHO_C" >&6; }
22875
if test "${ac_cv_func_snprintf+set}" = set; then
22876
echo $ECHO_N "(cached) $ECHO_C" >&6
22878
cat >conftest.$ac_ext <<_ACEOF
22881
cat confdefs.h >>conftest.$ac_ext
22882
cat >>conftest.$ac_ext <<_ACEOF
22883
/* end confdefs.h. */
22884
/* Define snprintf to an innocuous variant, in case <limits.h> declares snprintf.
22885
For example, HP-UX 11i <limits.h> declares gettimeofday. */
22886
#define snprintf innocuous_snprintf
22888
/* System header to define __stub macros and hopefully few prototypes,
22889
which can conflict with char snprintf (); below.
22890
Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
22891
<limits.h> exists even on freestanding compilers. */
22894
# include <limits.h>
22896
# include <assert.h>
22901
/* Override any GCC internal prototype to avoid an error.
22902
Use char because int might match the return type of a GCC
22903
builtin and then its argument prototype would still apply. */
22908
/* The GNU C library defines this for functions which it implements
22909
to always fail with ENOSYS. Some functions are actually named
22910
something starting with __ and the normal name is an alias. */
22911
#if defined __stub_snprintf || defined __stub___snprintf
22918
return snprintf ();
22923
rm -f conftest.$ac_objext conftest$ac_exeext
22924
if { (ac_try="$ac_link"
22925
case "(($ac_try" in
22926
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22927
*) ac_try_echo=$ac_try;;
22929
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22930
(eval "$ac_link") 2>conftest.er1
22932
grep -v '^ *+' conftest.er1 >conftest.err
22934
cat conftest.err >&5
22935
echo "$as_me:$LINENO: \$? = $ac_status" >&5
22936
(exit $ac_status); } && {
22937
test -z "$ac_c_werror_flag" ||
22938
test ! -s conftest.err
22939
} && test -s conftest$ac_exeext &&
22940
$as_test_x conftest$ac_exeext; then
22941
ac_cv_func_snprintf=yes
22943
echo "$as_me: failed program was:" >&5
22944
sed 's/^/| /' conftest.$ac_ext >&5
22946
ac_cv_func_snprintf=no
22949
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
22950
conftest$ac_exeext conftest.$ac_ext
22952
{ echo "$as_me:$LINENO: result: $ac_cv_func_snprintf" >&5
22953
echo "${ECHO_T}$ac_cv_func_snprintf" >&6; }
22954
if test $ac_cv_func_snprintf = yes; then
22956
cat >>confdefs.h <<\_ACEOF
22957
@%:@define HAVE_SNPRINTF
22962
{ echo "$as_me:$LINENO: checking for vsnprintf" >&5
22963
echo $ECHO_N "checking for vsnprintf... $ECHO_C" >&6; }
22964
if test "${ac_cv_func_vsnprintf+set}" = set; then
22965
echo $ECHO_N "(cached) $ECHO_C" >&6
22967
cat >conftest.$ac_ext <<_ACEOF
22970
cat confdefs.h >>conftest.$ac_ext
22971
cat >>conftest.$ac_ext <<_ACEOF
22972
/* end confdefs.h. */
22973
/* Define vsnprintf to an innocuous variant, in case <limits.h> declares vsnprintf.
22974
For example, HP-UX 11i <limits.h> declares gettimeofday. */
22975
#define vsnprintf innocuous_vsnprintf
22977
/* System header to define __stub macros and hopefully few prototypes,
22978
which can conflict with char vsnprintf (); below.
22979
Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
22980
<limits.h> exists even on freestanding compilers. */
22983
# include <limits.h>
22985
# include <assert.h>
22990
/* Override any GCC internal prototype to avoid an error.
22991
Use char because int might match the return type of a GCC
22992
builtin and then its argument prototype would still apply. */
22997
/* The GNU C library defines this for functions which it implements
22998
to always fail with ENOSYS. Some functions are actually named
22999
something starting with __ and the normal name is an alias. */
23000
#if defined __stub_vsnprintf || defined __stub___vsnprintf
23007
return vsnprintf ();
23012
rm -f conftest.$ac_objext conftest$ac_exeext
23013
if { (ac_try="$ac_link"
23014
case "(($ac_try" in
23015
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23016
*) ac_try_echo=$ac_try;;
23018
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23019
(eval "$ac_link") 2>conftest.er1
23021
grep -v '^ *+' conftest.er1 >conftest.err
23023
cat conftest.err >&5
23024
echo "$as_me:$LINENO: \$? = $ac_status" >&5
23025
(exit $ac_status); } && {
23026
test -z "$ac_c_werror_flag" ||
23027
test ! -s conftest.err
23028
} && test -s conftest$ac_exeext &&
23029
$as_test_x conftest$ac_exeext; then
23030
ac_cv_func_vsnprintf=yes
23032
echo "$as_me: failed program was:" >&5
23033
sed 's/^/| /' conftest.$ac_ext >&5
23035
ac_cv_func_vsnprintf=no
23038
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
23039
conftest$ac_exeext conftest.$ac_ext
23041
{ echo "$as_me:$LINENO: result: $ac_cv_func_vsnprintf" >&5
23042
echo "${ECHO_T}$ac_cv_func_vsnprintf" >&6; }
23043
if test $ac_cv_func_vsnprintf = yes; then
23045
cat >>confdefs.h <<\_ACEOF
23046
@%:@define HAVE_VSNPRINTF
23053
{ echo "$as_me:$LINENO: checking for library containing gzopen" >&5
23054
echo $ECHO_N "checking for library containing gzopen... $ECHO_C" >&6; }
23055
if test "${ac_cv_search_gzopen+set}" = set; then
23056
echo $ECHO_N "(cached) $ECHO_C" >&6
23058
ac_func_search_save_LIBS=$LIBS
23059
cat >conftest.$ac_ext <<_ACEOF
23062
cat confdefs.h >>conftest.$ac_ext
23063
cat >>conftest.$ac_ext <<_ACEOF
23064
/* end confdefs.h. */
23066
/* Override any GCC internal prototype to avoid an error.
23067
Use char because int might match the return type of a GCC
23068
builtin and then its argument prototype would still apply. */
23081
for ac_lib in '' z; do
23082
if test -z "$ac_lib"; then
23083
ac_res="none required"
23086
LIBS="-l$ac_lib $ac_func_search_save_LIBS"
23088
rm -f conftest.$ac_objext conftest$ac_exeext
23089
if { (ac_try="$ac_link"
23090
case "(($ac_try" in
23091
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23092
*) ac_try_echo=$ac_try;;
23094
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23095
(eval "$ac_link") 2>conftest.er1
23097
grep -v '^ *+' conftest.er1 >conftest.err
23099
cat conftest.err >&5
23100
echo "$as_me:$LINENO: \$? = $ac_status" >&5
23101
(exit $ac_status); } && {
23102
test -z "$ac_c_werror_flag" ||
23103
test ! -s conftest.err
23104
} && test -s conftest$ac_exeext &&
23105
$as_test_x conftest$ac_exeext; then
23106
ac_cv_search_gzopen=$ac_res
23108
echo "$as_me: failed program was:" >&5
23109
sed 's/^/| /' conftest.$ac_ext >&5
23114
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
23116
if test "${ac_cv_search_gzopen+set}" = set; then
23120
if test "${ac_cv_search_gzopen+set}" = set; then
23123
ac_cv_search_gzopen=no
23125
rm conftest.$ac_ext
23126
LIBS=$ac_func_search_save_LIBS
23128
{ echo "$as_me:$LINENO: result: $ac_cv_search_gzopen" >&5
23129
echo "${ECHO_T}$ac_cv_search_gzopen" >&6; }
23130
ac_res=$ac_cv_search_gzopen
23131
if test "$ac_res" != no; then
23132
test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
23139
{ echo "$as_me:$LINENO: checking for library containing BZ2_bzopen" >&5
23140
echo $ECHO_N "checking for library containing BZ2_bzopen... $ECHO_C" >&6; }
23141
if test "${ac_cv_search_BZ2_bzopen+set}" = set; then
23142
echo $ECHO_N "(cached) $ECHO_C" >&6
23144
ac_func_search_save_LIBS=$LIBS
23145
cat >conftest.$ac_ext <<_ACEOF
23148
cat confdefs.h >>conftest.$ac_ext
23149
cat >>conftest.$ac_ext <<_ACEOF
23150
/* end confdefs.h. */
23152
/* Override any GCC internal prototype to avoid an error.
23153
Use char because int might match the return type of a GCC
23154
builtin and then its argument prototype would still apply. */
23158
char BZ2_bzopen ();
23162
return BZ2_bzopen ();
23167
for ac_lib in '' bz2; do
23168
if test -z "$ac_lib"; then
23169
ac_res="none required"
23172
LIBS="-l$ac_lib $ac_func_search_save_LIBS"
23174
rm -f conftest.$ac_objext conftest$ac_exeext
23175
if { (ac_try="$ac_link"
23176
case "(($ac_try" in
23177
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23178
*) ac_try_echo=$ac_try;;
23180
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23181
(eval "$ac_link") 2>conftest.er1
23183
grep -v '^ *+' conftest.er1 >conftest.err
23185
cat conftest.err >&5
23186
echo "$as_me:$LINENO: \$? = $ac_status" >&5
23187
(exit $ac_status); } && {
23188
test -z "$ac_c_werror_flag" ||
23189
test ! -s conftest.err
23190
} && test -s conftest$ac_exeext &&
23191
$as_test_x conftest$ac_exeext; then
23192
ac_cv_search_BZ2_bzopen=$ac_res
23194
echo "$as_me: failed program was:" >&5
23195
sed 's/^/| /' conftest.$ac_ext >&5
23200
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
23202
if test "${ac_cv_search_BZ2_bzopen+set}" = set; then
23206
if test "${ac_cv_search_BZ2_bzopen+set}" = set; then
23209
ac_cv_search_BZ2_bzopen=no
23211
rm conftest.$ac_ext
23212
LIBS=$ac_func_search_save_LIBS
23214
{ echo "$as_me:$LINENO: result: $ac_cv_search_BZ2_bzopen" >&5
23215
echo "${ECHO_T}$ac_cv_search_BZ2_bzopen" >&6; }
23216
ac_res=$ac_cv_search_BZ2_bzopen
23217
if test "$ac_res" != no; then
23218
test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
23226
if test "$HAVE_ZLIB" = yes; then
23228
HAVE_ZLIB_FALSE='#'
23234
if test "$HAVE_BZIP2" = yes; then
23236
HAVE_BZIP2_FALSE='#'
23238
HAVE_BZIP2_TRUE='#'
23243
CODEBLOCKS_CURRENT=0
23244
CODEBLOCKS_REVISION=1
23246
CODEBLOCKS_VERSION_INFO=$CODEBLOCKS_CURRENT:$CODEBLOCKS_REVISION:$CODEBLOCKS_AGE
23250
AMTAR=${AMTAR-"${am_missing_run}tar"}
23252
# Always define AMTAR for backward compatibility.
23254
AMTAR=${AMTAR-"${am_missing_run}tar"}
23256
am__tar='${AMTAR} chf - "$$tardir"'; am__untar='${AMTAR} xf -'
23261
CODEBLOCKS_PLATFORM=gtk
23263
# Check whether --with-platform was given.
23264
if test "${with_platform+set}" = set; then
23265
withval=$with_platform; CODEBLOCKS_PLATFORM=$withval
23267
CODEBLOCKS_PLATFORM=gtk
23275
case $CODEBLOCKS_PLATFORM in
23277
PLATFORM_CFLAGS="-I/usr/X11R6/include"
23278
PLATFORM_LIBS="-L/usr/X11R6/lib -lX11"
23282
PLATFORM_LIBS="-lgdi32"
23295
{ echo "$as_me:$LINENO: checking whether to enable debugging" >&5
23296
echo $ECHO_N "checking whether to enable debugging... $ECHO_C" >&6; }
23298
# Check whether --enable-debug was given.
23299
if test "${enable_debug+set}" = set; then
23300
enableval=$enable_debug;
23302
enable_debug=$debug_default
23305
if test "x$enable_debug" = "xyes"; then
23306
CFLAGS="-g -DDEBUG $CFLAGS"
23307
CXXFLAGS="-g -DDEBUG $CXXFLAGS"
23308
{ echo "$as_me:$LINENO: result: yes" >&5
23309
echo "${ECHO_T}yes" >&6; }
23311
CFLAGS="-O2 -ffast-math $CFLAGS"
23312
CXXFLAGS="-O2 -ffast-math $CXXFLAGS"
23313
{ echo "$as_me:$LINENO: result: no" >&5
23314
echo "${ECHO_T}no" >&6; }
23317
{ echo "$as_me:$LINENO: checking whether to build the source formatter plugin" >&5
23318
echo $ECHO_N "checking whether to build the source formatter plugin... $ECHO_C" >&6; }
23319
astyle_default="yes"
23320
# Check whether --enable-source-formatter was given.
23321
if test "${enable_source_formatter+set}" = set; then
23322
enableval=$enable_source_formatter;
23324
enable_astyle=$astyle_default
23327
if test "x$enable_astyle" = "xyes"; then
23329
BUILD_ASTYLE_FALSE='#'
23331
BUILD_ASTYLE_TRUE='#'
23332
BUILD_ASTYLE_FALSE=
23335
if test "x$enable_astyle" = "xyes"; then
23336
{ echo "$as_me:$LINENO: result: yes" >&5
23337
echo "${ECHO_T}yes" >&6; }
23339
{ echo "$as_me:$LINENO: result: no" >&5
23340
echo "${ECHO_T}no" >&6; }
23343
{ echo "$as_me:$LINENO: checking whether to build the autosave plugin" >&5
23344
echo $ECHO_N "checking whether to build the autosave plugin... $ECHO_C" >&6; }
23345
autosave_default="yes"
23346
# Check whether --enable-autosave was given.
23347
if test "${enable_autosave+set}" = set; then
23348
enableval=$enable_autosave;
23350
enable_autosave=$autosave_default
23353
if test "x$enable_autosave" = "xyes"; then
23354
BUILD_AUTOSAVE_TRUE=
23355
BUILD_AUTOSAVE_FALSE='#'
23357
BUILD_AUTOSAVE_TRUE='#'
23358
BUILD_AUTOSAVE_FALSE=
23361
if test "x$enable_autosave" = "xyes"; then
23362
{ echo "$as_me:$LINENO: result: yes" >&5
23363
echo "${ECHO_T}yes" >&6; }
23365
{ echo "$as_me:$LINENO: result: no" >&5
23366
echo "${ECHO_T}no" >&6; }
23369
{ echo "$as_me:$LINENO: checking whether to build the class wizard plugin" >&5
23370
echo $ECHO_N "checking whether to build the class wizard plugin... $ECHO_C" >&6; }
23372
# Check whether --enable-class-wizard was given.
23373
if test "${enable_class_wizard+set}" = set; then
23374
enableval=$enable_class_wizard;
23376
enable_cw=$cw_default
23379
if test "x$enable_cw" = "xyes"; then
23380
BUILD_CLASSWIZARD_TRUE=
23381
BUILD_CLASSWIZARD_FALSE='#'
23383
BUILD_CLASSWIZARD_TRUE='#'
23384
BUILD_CLASSWIZARD_FALSE=
23387
if test "x$enable_cw" = "xyes"; then
23388
{ echo "$as_me:$LINENO: result: yes" >&5
23389
echo "${ECHO_T}yes" >&6; }
23391
{ echo "$as_me:$LINENO: result: no" >&5
23392
echo "${ECHO_T}no" >&6; }
23395
{ echo "$as_me:$LINENO: checking whether to build the code completion plugin" >&5
23396
echo $ECHO_N "checking whether to build the code completion plugin... $ECHO_C" >&6; }
23398
# Check whether --enable-code-completion was given.
23399
if test "${enable_code_completion+set}" = set; then
23400
enableval=$enable_code_completion;
23402
enable_cc=$cc_default
23405
if test "x$enable_cc" = "xyes"; then
23406
BUILD_CODECOMPLETION_TRUE=
23407
BUILD_CODECOMPLETION_FALSE='#'
23409
BUILD_CODECOMPLETION_TRUE='#'
23410
BUILD_CODECOMPLETION_FALSE=
23413
if test "x$enable_cc" = "xyes"; then
23414
{ echo "$as_me:$LINENO: result: yes" >&5
23415
echo "${ECHO_T}yes" >&6; }
23417
{ echo "$as_me:$LINENO: result: no" >&5
23418
echo "${ECHO_T}no" >&6; }
23421
{ echo "$as_me:$LINENO: checking whether to build the compiler plugin" >&5
23422
echo $ECHO_N "checking whether to build the compiler plugin... $ECHO_C" >&6; }
23424
# Check whether --enable-compiler was given.
23425
if test "${enable_compiler+set}" = set; then
23426
enableval=$enable_compiler;
23428
enable_gcc=$gcc_default
23431
if test "x$enable_gcc" = "xyes"; then
23432
BUILD_COMPILER_TRUE=
23433
BUILD_COMPILER_FALSE='#'
23435
BUILD_COMPILER_TRUE='#'
23436
BUILD_COMPILER_FALSE=
23439
if test "x$enable_gcc" = "xyes"; then
23440
{ echo "$as_me:$LINENO: result: yes" >&5
23441
echo "${ECHO_T}yes" >&6; }
23443
{ echo "$as_me:$LINENO: result: no" >&5
23444
echo "${ECHO_T}no" >&6; }
23447
{ echo "$as_me:$LINENO: checking whether to build the debugger plugin" >&5
23448
echo $ECHO_N "checking whether to build the debugger plugin... $ECHO_C" >&6; }
23450
# Check whether --enable-debugger was given.
23451
if test "${enable_debugger+set}" = set; then
23452
enableval=$enable_debugger;
23454
enable_dbg=$dbg_default
23457
if test "x$enable_dbg" = "xyes"; then
23458
BUILD_DEBUGGER_TRUE=
23459
BUILD_DEBUGGER_FALSE='#'
23461
BUILD_DEBUGGER_TRUE='#'
23462
BUILD_DEBUGGER_FALSE=
23465
if test "x$enable_dbg" = "xyes"; then
23466
{ echo "$as_me:$LINENO: result: yes" >&5
23467
echo "${ECHO_T}yes" >&6; }
23469
{ echo "$as_me:$LINENO: result: no" >&5
23470
echo "${ECHO_T}no" >&6; }
23473
{ echo "$as_me:$LINENO: checking whether to build the default MIME handler plugin" >&5
23474
echo $ECHO_N "checking whether to build the default MIME handler plugin... $ECHO_C" >&6; }
23476
# Check whether --enable-mime-handler was given.
23477
if test "${enable_mime_handler+set}" = set; then
23478
enableval=$enable_mime_handler;
23480
enable_mime=$mime_default
23483
if test "x$enable_mime" = "xyes"; then
23484
BUILD_MIMEHANDLER_TRUE=
23485
BUILD_MIMEHANDLER_FALSE='#'
23487
BUILD_MIMEHANDLER_TRUE='#'
23488
BUILD_MIMEHANDLER_FALSE=
23491
if test "x$enable_mime" = "xyes"; then
23492
{ echo "$as_me:$LINENO: result: yes" >&5
23493
echo "${ECHO_T}yes" >&6; }
23495
{ echo "$as_me:$LINENO: result: no" >&5
23496
echo "${ECHO_T}no" >&6; }
23499
{ echo "$as_me:$LINENO: checking whether to build the open files list plugin" >&5
23500
echo $ECHO_N "checking whether to build the open files list plugin... $ECHO_C" >&6; }
23501
openfiles_default="yes"
23502
# Check whether --enable-open-files-list was given.
23503
if test "${enable_open_files_list+set}" = set; then
23504
enableval=$enable_open_files_list;
23506
enable_openfiles=$openfiles_default
23509
if test "x$enable_openfiles" = "xyes"; then
23510
BUILD_OPENFILESLIST_TRUE=
23511
BUILD_OPENFILESLIST_FALSE='#'
23513
BUILD_OPENFILESLIST_TRUE='#'
23514
BUILD_OPENFILESLIST_FALSE=
23517
if test "x$enable_openfiles" = "xyes"; then
23518
{ echo "$as_me:$LINENO: result: yes" >&5
23519
echo "${ECHO_T}yes" >&6; }
23521
{ echo "$as_me:$LINENO: result: no" >&5
23522
echo "${ECHO_T}no" >&6; }
23525
{ echo "$as_me:$LINENO: checking whether to build the foreign projects importer plugin" >&5
23526
echo $ECHO_N "checking whether to build the foreign projects importer plugin... $ECHO_C" >&6; }
23527
pimport_default="yes"
23528
# Check whether --enable-projects-importer was given.
23529
if test "${enable_projects_importer+set}" = set; then
23530
enableval=$enable_projects_importer;
23532
enable_pimport=$pimport_default
23535
if test "x$enable_pimport" = "xyes"; then
23536
BUILD_PROJECTSIMPORTER_TRUE=
23537
BUILD_PROJECTSIMPORTER_FALSE='#'
23539
BUILD_PROJECTSIMPORTER_TRUE='#'
23540
BUILD_PROJECTSIMPORTER_FALSE=
23543
if test "x$enable_pimport" = "xyes"; then
23544
{ echo "$as_me:$LINENO: result: yes" >&5
23545
echo "${ECHO_T}yes" >&6; }
23547
{ echo "$as_me:$LINENO: result: no" >&5
23548
echo "${ECHO_T}no" >&6; }
23551
{ echo "$as_me:$LINENO: checking whether to build the scripted wizard plugin" >&5
23552
echo $ECHO_N "checking whether to build the scripted wizard plugin... $ECHO_C" >&6; }
23554
# Check whether --enable-scripted-wizard was given.
23555
if test "${enable_scripted_wizard+set}" = set; then
23556
enableval=$enable_scripted_wizard;
23558
enable_prw=$prw_default
23561
if test "x$enable_prw" = "xyes"; then
23562
BUILD_SCRIPTEDWIZARD_TRUE=
23563
BUILD_SCRIPTEDWIZARD_FALSE='#'
23565
BUILD_SCRIPTEDWIZARD_TRUE='#'
23566
BUILD_SCRIPTEDWIZARD_FALSE=
23569
if test "x$enable_prw" = "xyes"; then
23570
{ echo "$as_me:$LINENO: result: yes" >&5
23571
echo "${ECHO_T}yes" >&6; }
23573
{ echo "$as_me:$LINENO: result: no" >&5
23574
echo "${ECHO_T}no" >&6; }
23577
{ echo "$as_me:$LINENO: checking whether to build the to-do plugin" >&5
23578
echo $ECHO_N "checking whether to build the to-do plugin... $ECHO_C" >&6; }
23580
# Check whether --enable-todo was given.
23581
if test "${enable_todo+set}" = set; then
23582
enableval=$enable_todo;
23584
enable_todo=$todo_default
23587
if test "x$enable_todo" = "xyes"; then
23589
BUILD_TODO_FALSE='#'
23591
BUILD_TODO_TRUE='#'
23595
if test "x$enable_todo" = "xyes"; then
23596
{ echo "$as_me:$LINENO: result: yes" >&5
23597
echo "${ECHO_T}yes" >&6; }
23599
{ echo "$as_me:$LINENO: result: no" >&5
23600
echo "${ECHO_T}no" >&6; }
23605
*-*-cygwin* | *-*-mingw*)
23606
{ echo "$as_me:$LINENO: checking whether to build the xp-manifest plugin" >&5
23607
echo $ECHO_N "checking whether to build the xp-manifest plugin... $ECHO_C" >&6; }
23608
xpmanifest_default="yes"
23609
# Check whether --enable-todo was given.
23610
if test "${enable_todo+set}" = set; then
23611
enableval=$enable_todo;
23613
enable_xpmanifest=$xpmanifest_default
23616
if test "x$enable_xpmanifest" = "xyes"; then
23617
BUILD_MANIFEST_TRUE=
23618
BUILD_MANIFEST_FALSE='#'
23620
BUILD_MANIFEST_TRUE='#'
23621
BUILD_MANIFEST_FALSE=
23624
if test "x$enable_xpmanifest" = "xyes"; then
23625
{ echo "$as_me:$LINENO: result: yes" >&5
23626
echo "${ECHO_T}yes" >&6; }
23628
{ echo "$as_me:$LINENO: result: no" >&5
23629
echo "${ECHO_T}no" >&6; }
23634
BUILD_MANIFEST_TRUE=
23635
BUILD_MANIFEST_FALSE='#'
23637
BUILD_MANIFEST_TRUE='#'
23638
BUILD_MANIFEST_FALSE=
23648
# default to 'none'
23651
BUILD_AUTOVERSIONING_TRUE=
23652
BUILD_AUTOVERSIONING_FALSE='#'
23654
BUILD_AUTOVERSIONING_TRUE='#'
23655
BUILD_AUTOVERSIONING_FALSE=
23659
BUILD_BROWSETRACKER_TRUE=
23660
BUILD_BROWSETRACKER_FALSE='#'
23662
BUILD_BROWSETRACKER_TRUE='#'
23663
BUILD_BROWSETRACKER_FALSE=
23667
BUILD_BYOGAMES_TRUE=
23668
BUILD_BYOGAMES_FALSE='#'
23670
BUILD_BYOGAMES_TRUE='#'
23671
BUILD_BYOGAMES_FALSE=
23675
BUILD_CBKODERS_TRUE=
23676
BUILD_CBKODERS_FALSE='#'
23678
BUILD_CBKODERS_TRUE='#'
23679
BUILD_CBKODERS_FALSE=
23683
BUILD_CODESNIPPETS_TRUE=
23684
BUILD_CODESNIPPETS_FALSE='#'
23686
BUILD_CODESNIPPETS_TRUE='#'
23687
BUILD_CODESNIPPETS_FALSE=
23691
BUILD_CODESTAT_TRUE=
23692
BUILD_CODESTAT_FALSE='#'
23694
BUILD_CODESTAT_TRUE='#'
23695
BUILD_CODESTAT_FALSE=
23699
BUILD_DRAGSCROLL_TRUE=
23700
BUILD_DRAGSCROLL_FALSE='#'
23702
BUILD_DRAGSCROLL_TRUE='#'
23703
BUILD_DRAGSCROLL_FALSE=
23707
BUILD_ENVVARS_TRUE=
23708
BUILD_ENVVARS_FALSE='#'
23710
BUILD_ENVVARS_TRUE='#'
23711
BUILD_ENVVARS_FALSE=
23716
BUILD_HELP_FALSE='#'
23718
BUILD_HELP_TRUE='#'
23723
BUILD_KEYBINDER_TRUE=
23724
BUILD_KEYBINDER_FALSE='#'
23726
BUILD_KEYBINDER_TRUE='#'
23727
BUILD_KEYBINDER_FALSE=
23731
BUILD_LIBFINDER_TRUE=
23732
BUILD_LIBFINDER_FALSE='#'
23734
BUILD_LIBFINDER_TRUE='#'
23735
BUILD_LIBFINDER_FALSE=
23739
BUILD_PROFILER_TRUE=
23740
BUILD_PROFILER_FALSE='#'
23742
BUILD_PROFILER_TRUE='#'
23743
BUILD_PROFILER_FALSE=
23748
BUILD_REGEX_FALSE='#'
23750
BUILD_REGEX_TRUE='#'
23755
BUILD_EXPORTER_TRUE=
23756
BUILD_EXPORTER_FALSE='#'
23758
BUILD_EXPORTER_TRUE='#'
23759
BUILD_EXPORTER_FALSE=
23764
BUILD_SYMTAB_FALSE='#'
23766
BUILD_SYMTAB_TRUE='#'
23767
BUILD_SYMTAB_FALSE=
23771
BUILD_THREADSEARCH_TRUE=
23772
BUILD_THREADSEARCH_FALSE='#'
23774
BUILD_THREADSEARCH_TRUE='#'
23775
BUILD_THREADSEARCH_FALSE=
23779
BUILD_WXSMITH_TRUE=
23780
BUILD_WXSMITH_FALSE='#'
23782
BUILD_WXSMITH_TRUE='#'
23783
BUILD_WXSMITH_FALSE=
23788
{ echo "$as_me:$LINENO: checking which (if any) contrib plugins to build" >&5
23789
echo $ECHO_N "checking which (if any) contrib plugins to build... $ECHO_C" >&6; }
23791
# Check whether --with-contrib-plugins was given.
23792
if test "${with_contrib_plugins+set}" = set; then
23793
withval=$with_contrib_plugins; plugins="$withval"
23799
plugins=`echo $plugins | sed 's/,/ /g'`
23800
for plugin in $plugins
23806
BUILD_AUTOVERSIONING_TRUE=
23807
BUILD_AUTOVERSIONING_FALSE='#'
23809
BUILD_AUTOVERSIONING_TRUE='#'
23810
BUILD_AUTOVERSIONING_FALSE=
23814
BUILD_BROWSETRACKER_TRUE=
23815
BUILD_BROWSETRACKER_FALSE='#'
23817
BUILD_BROWSETRACKER_TRUE='#'
23818
BUILD_BROWSETRACKER_FALSE=
23822
BUILD_BYOGAMES_TRUE=
23823
BUILD_BYOGAMES_FALSE='#'
23825
BUILD_BYOGAMES_TRUE='#'
23826
BUILD_BYOGAMES_FALSE=
23830
BUILD_CBKODERS_TRUE=
23831
BUILD_CBKODERS_FALSE='#'
23833
BUILD_CBKODERS_TRUE='#'
23834
BUILD_CBKODERS_FALSE=
23838
BUILD_CODESNIPPETS_TRUE=
23839
BUILD_CODESNIPPETS_FALSE='#'
23841
BUILD_CODESNIPPETS_TRUE='#'
23842
BUILD_CODESNIPPETS_FALSE=
23846
BUILD_CODESTAT_TRUE=
23847
BUILD_CODESTAT_FALSE='#'
23849
BUILD_CODESTAT_TRUE='#'
23850
BUILD_CODESTAT_FALSE=
23854
BUILD_DRAGSCROLL_TRUE=
23855
BUILD_DRAGSCROLL_FALSE='#'
23857
BUILD_DRAGSCROLL_TRUE='#'
23858
BUILD_DRAGSCROLL_FALSE=
23862
BUILD_ENVVARS_TRUE=
23863
BUILD_ENVVARS_FALSE='#'
23865
BUILD_ENVVARS_TRUE='#'
23866
BUILD_ENVVARS_FALSE=
23871
BUILD_HELP_FALSE='#'
23873
BUILD_HELP_TRUE='#'
23878
BUILD_KEYBINDER_TRUE=
23879
BUILD_KEYBINDER_FALSE='#'
23881
BUILD_KEYBINDER_TRUE='#'
23882
BUILD_KEYBINDER_FALSE=
23886
BUILD_LIBFINDER_TRUE=
23887
BUILD_LIBFINDER_FALSE='#'
23889
BUILD_LIBFINDER_TRUE='#'
23890
BUILD_LIBFINDER_FALSE=
23894
BUILD_PROFILER_TRUE=
23895
BUILD_PROFILER_FALSE='#'
23897
BUILD_PROFILER_TRUE='#'
23898
BUILD_PROFILER_FALSE=
23903
BUILD_REGEX_FALSE='#'
23905
BUILD_REGEX_TRUE='#'
23910
BUILD_EXPORTER_TRUE=
23911
BUILD_EXPORTER_FALSE='#'
23913
BUILD_EXPORTER_TRUE='#'
23914
BUILD_EXPORTER_FALSE=
23919
BUILD_SYMTAB_FALSE='#'
23921
BUILD_SYMTAB_TRUE='#'
23922
BUILD_SYMTAB_FALSE=
23926
BUILD_THREADSEARCH_TRUE=
23927
BUILD_THREADSEARCH_FALSE='#'
23929
BUILD_THREADSEARCH_TRUE='#'
23930
BUILD_THREADSEARCH_FALSE=
23934
BUILD_WXSMITH_TRUE=
23935
BUILD_WXSMITH_FALSE='#'
23937
BUILD_WXSMITH_TRUE='#'
23938
BUILD_WXSMITH_FALSE=
23945
BUILD_AUTOVERSIONING_TRUE=
23946
BUILD_AUTOVERSIONING_FALSE='#'
23948
BUILD_AUTOVERSIONING_TRUE='#'
23949
BUILD_AUTOVERSIONING_FALSE=
23955
BUILD_BROWSETRACKER_TRUE=
23956
BUILD_BROWSETRACKER_FALSE='#'
23958
BUILD_BROWSETRACKER_TRUE='#'
23959
BUILD_BROWSETRACKER_FALSE=
23965
BUILD_BYOGAMES_TRUE=
23966
BUILD_BYOGAMES_FALSE='#'
23968
BUILD_BYOGAMES_TRUE='#'
23969
BUILD_BYOGAMES_FALSE=
23975
BUILD_CBKODERS_TRUE=
23976
BUILD_CBKODERS_FALSE='#'
23978
BUILD_CBKODERS_TRUE='#'
23979
BUILD_CBKODERS_FALSE=
23985
BUILD_CODESNIPPETS_TRUE=
23986
BUILD_CODESNIPPETS_FALSE='#'
23988
BUILD_CODESNIPPETS_TRUE='#'
23989
BUILD_CODESNIPPETS_FALSE=
23995
BUILD_CODESTAT_TRUE=
23996
BUILD_CODESTAT_FALSE='#'
23998
BUILD_CODESTAT_TRUE='#'
23999
BUILD_CODESTAT_FALSE=
24005
BUILD_DRAGSCROLL_TRUE=
24006
BUILD_DRAGSCROLL_FALSE='#'
24008
BUILD_DRAGSCROLL_TRUE='#'
24009
BUILD_DRAGSCROLL_FALSE=
24015
BUILD_ENVVARS_TRUE=
24016
BUILD_ENVVARS_FALSE='#'
24018
BUILD_ENVVARS_TRUE='#'
24019
BUILD_ENVVARS_FALSE=
24026
BUILD_HELP_FALSE='#'
24028
BUILD_HELP_TRUE='#'
24035
BUILD_KEYBINDER_TRUE=
24036
BUILD_KEYBINDER_FALSE='#'
24038
BUILD_KEYBINDER_TRUE='#'
24039
BUILD_KEYBINDER_FALSE=
24045
BUILD_LIBFINDER_TRUE=
24046
BUILD_LIBFINDER_FALSE='#'
24048
BUILD_LIBFINDER_TRUE='#'
24049
BUILD_LIBFINDER_FALSE=
24055
BUILD_PROFILER_TRUE=
24056
BUILD_PROFILER_FALSE='#'
24058
BUILD_PROFILER_TRUE='#'
24059
BUILD_PROFILER_FALSE=
24066
BUILD_REGEX_FALSE='#'
24068
BUILD_REGEX_TRUE='#'
24075
BUILD_EXPORTER_TRUE=
24076
BUILD_EXPORTER_FALSE='#'
24078
BUILD_EXPORTER_TRUE='#'
24079
BUILD_EXPORTER_FALSE=
24086
BUILD_SYMTAB_FALSE='#'
24088
BUILD_SYMTAB_TRUE='#'
24089
BUILD_SYMTAB_FALSE=
24095
BUILD_THREADSEARCH_TRUE=
24096
BUILD_THREADSEARCH_FALSE='#'
24098
BUILD_THREADSEARCH_TRUE='#'
24099
BUILD_THREADSEARCH_FALSE=
24105
BUILD_WXSMITH_TRUE=
24106
BUILD_WXSMITH_FALSE='#'
24108
BUILD_WXSMITH_TRUE='#'
24109
BUILD_WXSMITH_FALSE=
24115
BUILD_AUTOVERSIONING_TRUE=
24116
BUILD_AUTOVERSIONING_FALSE='#'
24118
BUILD_AUTOVERSIONING_TRUE='#'
24119
BUILD_AUTOVERSIONING_FALSE=
24125
BUILD_BROWSETRACKER_TRUE=
24126
BUILD_BROWSETRACKER_FALSE='#'
24128
BUILD_BROWSETRACKER_TRUE='#'
24129
BUILD_BROWSETRACKER_FALSE=
24135
BUILD_BYOGAMES_TRUE=
24136
BUILD_BYOGAMES_FALSE='#'
24138
BUILD_BYOGAMES_TRUE='#'
24139
BUILD_BYOGAMES_FALSE=
24145
BUILD_CBKODERS_TRUE=
24146
BUILD_CBKODERS_FALSE='#'
24148
BUILD_CBKODERS_TRUE='#'
24149
BUILD_CBKODERS_FALSE=
24155
BUILD_CODESNIPPETS_TRUE=
24156
BUILD_CODESNIPPETS_FALSE='#'
24158
BUILD_CODESNIPPETS_TRUE='#'
24159
BUILD_CODESNIPPETS_FALSE=
24165
BUILD_CODESTAT_TRUE=
24166
BUILD_CODESTAT_FALSE='#'
24168
BUILD_CODESTAT_TRUE='#'
24169
BUILD_CODESTAT_FALSE=
24175
BUILD_DRAGSCROLL_TRUE=
24176
BUILD_DRAGSCROLL_FALSE='#'
24178
BUILD_DRAGSCROLL_TRUE='#'
24179
BUILD_DRAGSCROLL_FALSE=
24185
BUILD_ENVVARS_TRUE=
24186
BUILD_ENVVARS_FALSE='#'
24188
BUILD_ENVVARS_TRUE='#'
24189
BUILD_ENVVARS_FALSE=
24196
BUILD_HELP_FALSE='#'
24198
BUILD_HELP_TRUE='#'
24205
BUILD_KEYBINDER_TRUE=
24206
BUILD_KEYBINDER_FALSE='#'
24208
BUILD_KEYBINDER_TRUE='#'
24209
BUILD_KEYBINDER_FALSE=
24215
BUILD_LIBFINDER_TRUE=
24216
BUILD_LIBFINDER_FALSE='#'
24218
BUILD_LIBFINDER_TRUE='#'
24219
BUILD_LIBFINDER_FALSE=
24225
BUILD_PROFILER_TRUE=
24226
BUILD_PROFILER_FALSE='#'
24228
BUILD_PROFILER_TRUE='#'
24229
BUILD_PROFILER_FALSE=
24236
BUILD_REGEX_FALSE='#'
24238
BUILD_REGEX_TRUE='#'
24245
BUILD_EXPORTER_TRUE=
24246
BUILD_EXPORTER_FALSE='#'
24248
BUILD_EXPORTER_TRUE='#'
24249
BUILD_EXPORTER_FALSE=
24256
BUILD_SYMTAB_FALSE='#'
24258
BUILD_SYMTAB_TRUE='#'
24259
BUILD_SYMTAB_FALSE=
24265
BUILD_THREADSEARCH_TRUE=
24266
BUILD_THREADSEARCH_FALSE='#'
24268
BUILD_THREADSEARCH_TRUE='#'
24269
BUILD_THREADSEARCH_FALSE=
24275
BUILD_WXSMITH_TRUE=
24276
BUILD_WXSMITH_FALSE='#'
24278
BUILD_WXSMITH_TRUE='#'
24279
BUILD_WXSMITH_FALSE=
24284
echo "Unknown contrib plugin $plugin, ignoring"
24288
{ echo "$as_me:$LINENO: result: $plugins" >&5
24289
echo "${ECHO_T}$plugins" >&6; }
24315
PRECOMPILE_HEADERS_TRUE=
24316
PRECOMPILE_HEADERS_FALSE='#'
24318
PRECOMPILE_HEADERS_TRUE='#'
24319
PRECOMPILE_HEADERS_FALSE=
24322
# Check whether --enable-pch was given.
24323
if test "${enable_pch+set}" = set; then
24324
enableval=$enable_pch;
24326
enable_pch=$pch_default
24329
if test "x$enable_pch" = "x" -o "x$enable_pch" = "xyes" ; then
24330
if test "x$GCC" = "xyes"; then
24331
{ echo "$as_me:$LINENO: checking if the compiler supports precompiled headers" >&5
24332
echo $ECHO_N "checking if the compiler supports precompiled headers... $ECHO_C" >&6; }
24333
cat >conftest.$ac_ext <<_ACEOF
24336
cat confdefs.h >>conftest.$ac_ext
24337
cat >>conftest.$ac_ext <<_ACEOF
24338
/* end confdefs.h. */
24344
#if !defined(__GNUC__) || !defined(__GNUC_MINOR__)
24345
#error "no pch support"
24348
#error "no pch support"
24350
#if (__GNUC__ == 3) && \
24351
((!defined(__APPLE_CC__) && (__GNUC_MINOR__ < 4)) || \
24352
( defined(__APPLE_CC__) && (__GNUC_MINOR__ < 3)))
24353
#error "no pch support"
24360
rm -f conftest.$ac_objext
24361
if { (ac_try="$ac_compile"
24362
case "(($ac_try" in
24363
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24364
*) ac_try_echo=$ac_try;;
24366
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24367
(eval "$ac_compile") 2>conftest.er1
24369
grep -v '^ *+' conftest.er1 >conftest.err
24371
cat conftest.err >&5
24372
echo "$as_me:$LINENO: \$? = $ac_status" >&5
24373
(exit $ac_status); } && {
24374
test -z "$ac_c_werror_flag" ||
24375
test ! -s conftest.err
24376
} && test -s conftest.$ac_objext; then
24378
{ echo "$as_me:$LINENO: result: yes" >&5
24379
echo "${ECHO_T}yes" >&6; }
24381
PCH_FLAGS="-DCB_PRECOMP -Winvalid-pch"
24384
echo "$as_me: failed program was:" >&5
24385
sed 's/^/| /' conftest.$ac_ext >&5
24388
{ echo "$as_me:$LINENO: result: no" >&5
24389
echo "${ECHO_T}no" >&6; }
24393
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24394
if test $GCC_PCH = 1; then
24395
PRECOMPILE_HEADERS_TRUE=
24396
PRECOMPILE_HEADERS_FALSE='#'
24398
PRECOMPILE_HEADERS_TRUE='#'
24399
PRECOMPILE_HEADERS_FALSE=
24409
# Check whether --with-wxdir was given.
24410
if test "${with_wxdir+set}" = set; then
24411
withval=$with_wxdir; wx_config_name="$withval/wx-config"
24412
wx_config_args="--inplace"
24416
# Check whether --with-wx-config was given.
24417
if test "${with_wx_config+set}" = set; then
24418
withval=$with_wx_config; wx_config_name="$withval"
24422
# Check whether --with-wx-prefix was given.
24423
if test "${with_wx_prefix+set}" = set; then
24424
withval=$with_wx_prefix; wx_config_prefix="$withval"
24426
wx_config_prefix=""
24430
# Check whether --with-wx-exec-prefix was given.
24431
if test "${with_wx_exec_prefix+set}" = set; then
24432
withval=$with_wx_exec_prefix; wx_config_exec_prefix="$withval"
24434
wx_config_exec_prefix=""
24439
if test x${WX_CONFIG_NAME+set} != xset ; then
24440
WX_CONFIG_NAME=wx-config
24443
if test "x$wx_config_name" != x ; then
24444
WX_CONFIG_NAME="$wx_config_name"
24447
if test x$wx_config_exec_prefix != x ; then
24448
wx_config_args="$wx_config_args --exec-prefix=$wx_config_exec_prefix"
24449
WX_LOOKUP_PATH="$wx_config_exec_prefix/bin"
24451
if test x$wx_config_prefix != x ; then
24452
wx_config_args="$wx_config_args --prefix=$wx_config_prefix"
24453
WX_LOOKUP_PATH="$WX_LOOKUP_PATH:$wx_config_prefix/bin"
24455
if test "$cross_compiling" = "yes"; then
24456
wx_config_args="$wx_config_args --host=$host_alias"
24459
if test -x "$WX_CONFIG_NAME" ; then
24460
{ echo "$as_me:$LINENO: checking for wx-config" >&5
24461
echo $ECHO_N "checking for wx-config... $ECHO_C" >&6; }
24462
WX_CONFIG_PATH="$WX_CONFIG_NAME"
24463
{ echo "$as_me:$LINENO: result: $WX_CONFIG_PATH" >&5
24464
echo "${ECHO_T}$WX_CONFIG_PATH" >&6; }
24466
# Extract the first word of "$WX_CONFIG_NAME", so it can be a program name with args.
24467
set dummy $WX_CONFIG_NAME; ac_word=$2
24468
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
24469
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
24470
if test "${ac_cv_path_WX_CONFIG_PATH+set}" = set; then
24471
echo $ECHO_N "(cached) $ECHO_C" >&6
24473
case $WX_CONFIG_PATH in
24475
ac_cv_path_WX_CONFIG_PATH="$WX_CONFIG_PATH" # Let the user override the test with a path.
24478
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
24479
as_dummy=""$WX_LOOKUP_PATH:$PATH""
24480
for as_dir in $as_dummy
24483
test -z "$as_dir" && as_dir=.
24484
for ac_exec_ext in '' $ac_executable_extensions; do
24485
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
24486
ac_cv_path_WX_CONFIG_PATH="$as_dir/$ac_word$ac_exec_ext"
24487
echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
24494
test -z "$ac_cv_path_WX_CONFIG_PATH" && ac_cv_path_WX_CONFIG_PATH="no"
24498
WX_CONFIG_PATH=$ac_cv_path_WX_CONFIG_PATH
24499
if test -n "$WX_CONFIG_PATH"; then
24500
{ echo "$as_me:$LINENO: result: $WX_CONFIG_PATH" >&5
24501
echo "${ECHO_T}$WX_CONFIG_PATH" >&6; }
24503
{ echo "$as_me:$LINENO: result: no" >&5
24504
echo "${ECHO_T}no" >&6; }
24510
if test "$WX_CONFIG_PATH" != "no" ; then
24513
min_wx_version=2.8.0
24514
if test -z "" ; then
24515
{ echo "$as_me:$LINENO: checking for wxWidgets version >= $min_wx_version" >&5
24516
echo $ECHO_N "checking for wxWidgets version >= $min_wx_version... $ECHO_C" >&6; }
24518
{ echo "$as_me:$LINENO: checking for wxWidgets version >= $min_wx_version ()" >&5
24519
echo $ECHO_N "checking for wxWidgets version >= $min_wx_version ()... $ECHO_C" >&6; }
24522
WX_CONFIG_WITH_ARGS="$WX_CONFIG_PATH $wx_config_args "
24524
WX_VERSION=`$WX_CONFIG_WITH_ARGS --version 2>/dev/null`
24525
wx_config_major_version=`echo $WX_VERSION | \
24526
sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
24527
wx_config_minor_version=`echo $WX_VERSION | \
24528
sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
24529
wx_config_micro_version=`echo $WX_VERSION | \
24530
sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
24532
wx_requested_major_version=`echo $min_wx_version | \
24533
sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
24534
wx_requested_minor_version=`echo $min_wx_version | \
24535
sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
24536
wx_requested_micro_version=`echo $min_wx_version | \
24537
sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
24541
if test "x$WX_VERSION" != x ; then
24542
if test $wx_config_major_version -gt $wx_requested_major_version; then
24545
if test $wx_config_major_version -eq $wx_requested_major_version; then
24546
if test $wx_config_minor_version -gt $wx_requested_minor_version; then
24549
if test $wx_config_minor_version -eq $wx_requested_minor_version; then
24550
if test $wx_config_micro_version -ge $wx_requested_micro_version; then
24560
if test -n "$wx_ver_ok"; then
24562
{ echo "$as_me:$LINENO: result: yes (version $WX_VERSION)" >&5
24563
echo "${ECHO_T}yes (version $WX_VERSION)" >&6; }
24564
WX_LIBS=`$WX_CONFIG_WITH_ARGS --libs`
24566
{ echo "$as_me:$LINENO: checking for wxWidgets static library" >&5
24567
echo $ECHO_N "checking for wxWidgets static library... $ECHO_C" >&6; }
24568
WX_LIBS_STATIC=`$WX_CONFIG_WITH_ARGS --static --libs 2>/dev/null`
24569
if test "x$WX_LIBS_STATIC" = "x"; then
24570
{ echo "$as_me:$LINENO: result: no" >&5
24571
echo "${ECHO_T}no" >&6; }
24573
{ echo "$as_me:$LINENO: result: yes" >&5
24574
echo "${ECHO_T}yes" >&6; }
24578
if test $wx_config_major_version -gt 2; then
24579
wx_has_cppflags=yes
24581
if test $wx_config_major_version -eq 2; then
24582
if test $wx_config_minor_version -gt 2; then
24583
wx_has_cppflags=yes
24585
if test $wx_config_minor_version -eq 2; then
24586
if test $wx_config_micro_version -ge 6; then
24587
wx_has_cppflags=yes
24595
if test $wx_config_major_version -gt 2; then
24598
if test $wx_config_major_version -eq 2; then
24599
if test $wx_config_minor_version -ge 7; then
24604
if test "x$wx_has_rescomp" = x ; then
24607
WX_RESCOMP=`$WX_CONFIG_WITH_ARGS --rescomp`
24610
if test "x$wx_has_cppflags" = x ; then
24611
WX_CFLAGS=`$WX_CONFIG_WITH_ARGS --cflags`
24612
WX_CPPFLAGS=$WX_CFLAGS
24613
WX_CXXFLAGS=$WX_CFLAGS
24615
WX_CFLAGS_ONLY=$WX_CFLAGS
24616
WX_CXXFLAGS_ONLY=$WX_CFLAGS
24618
WX_CPPFLAGS=`$WX_CONFIG_WITH_ARGS --cppflags`
24619
WX_CXXFLAGS=`$WX_CONFIG_WITH_ARGS --cxxflags`
24620
WX_CFLAGS=`$WX_CONFIG_WITH_ARGS --cflags`
24622
WX_CFLAGS_ONLY=`echo $WX_CFLAGS | sed "s@^$WX_CPPFLAGS *@@"`
24623
WX_CXXFLAGS_ONLY=`echo $WX_CXXFLAGS | sed "s@^$WX_CFLAGS *@@"`
24630
if test "x$WX_VERSION" = x; then
24631
{ echo "$as_me:$LINENO: result: no" >&5
24632
echo "${ECHO_T}no" >&6; }
24634
{ echo "$as_me:$LINENO: result: no (version $WX_VERSION is not new enough)" >&5
24635
echo "${ECHO_T}no (version $WX_VERSION is not new enough)" >&6; }
24670
if test "$wxWin" != 1; then
24671
{ { echo "$as_me:$LINENO: error:
24672
wxWidgets must be installed on your system.
24674
Please check that wx-config is in path, the directory
24675
where wxWidgets libraries are installed (returned by
24676
'wx-config --libs' or 'wx-config --static --libs' command)
24677
is in LD_LIBRARY_PATH or equivalent variable and
24678
wxWindows version is 2.8.0 or above.
24680
echo "$as_me: error:
24681
wxWidgets must be installed on your system.
24683
Please check that wx-config is in path, the directory
24684
where wxWidgets libraries are installed (returned by
24685
'wx-config --libs' or 'wx-config --static --libs' command)
24686
is in LD_LIBRARY_PATH or equivalent variable and
24687
wxWindows version is 2.8.0 or above.
24689
{ (exit 1); exit 1; }; }
24691
# check for wx2.8.3 which is known to behave badly for us
24692
if test "$WX_VERSION" = "2.8.3"; then
24693
{ { echo "$as_me:$LINENO: error:
24694
wxWidgets version 2.8.3 is known to behave badly with
24695
Code::Blocks. Please upgrade to a newer (or downgrade to an
24696
earlier) wxWidgets version...
24698
echo "$as_me: error:
24699
wxWidgets version 2.8.3 is known to behave badly with
24700
Code::Blocks. Please upgrade to a newer (or downgrade to an
24701
earlier) wxWidgets version...
24703
{ (exit 1); exit 1; }; }
24716
POSTLINK_COMMAND="@true"
24719
{ echo "$as_me:$LINENO: checking for wxWidgets platform" >&5
24720
echo $ECHO_N "checking for wxWidgets platform... $ECHO_C" >&6; }
24721
WX_BASENAME=`$WX_CONFIG_WITH_ARGS --basename`
24722
case $WX_BASENAME in
24724
{ echo "$as_me:$LINENO: result: wxGTK" >&5
24725
echo "${ECHO_T}wxGTK" >&6; }
24726
# Extract the first word of "pkg-config", so it can be a program name with args.
24727
set dummy pkg-config; ac_word=$2
24728
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
24729
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
24730
if test "${ac_cv_prog_HAVE_PKG_CONFIG+set}" = set; then
24731
echo $ECHO_N "(cached) $ECHO_C" >&6
24733
if test -n "$HAVE_PKG_CONFIG"; then
24734
ac_cv_prog_HAVE_PKG_CONFIG="$HAVE_PKG_CONFIG" # Let the user override the test.
24736
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
24737
for as_dir in $PATH
24740
test -z "$as_dir" && as_dir=.
24741
for ac_exec_ext in '' $ac_executable_extensions; do
24742
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
24743
ac_cv_prog_HAVE_PKG_CONFIG="yes"
24744
echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
24751
test -z "$ac_cv_prog_HAVE_PKG_CONFIG" && ac_cv_prog_HAVE_PKG_CONFIG="no"
24754
HAVE_PKG_CONFIG=$ac_cv_prog_HAVE_PKG_CONFIG
24755
if test -n "$HAVE_PKG_CONFIG"; then
24756
{ echo "$as_me:$LINENO: result: $HAVE_PKG_CONFIG" >&5
24757
echo "${ECHO_T}$HAVE_PKG_CONFIG" >&6; }
24759
{ echo "$as_me:$LINENO: result: no" >&5
24760
echo "${ECHO_T}no" >&6; }
24765
if test "x$HAVE_PKG_CONFIG" = "xyes"; then
24768
if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
24769
if test -n "$ac_tool_prefix"; then
24770
# Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
24771
set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
24772
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
24773
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
24774
if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
24775
echo $ECHO_N "(cached) $ECHO_C" >&6
24777
case $PKG_CONFIG in
24779
ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
24782
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
24783
for as_dir in $PATH
24786
test -z "$as_dir" && as_dir=.
24787
for ac_exec_ext in '' $ac_executable_extensions; do
24788
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
24789
ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
24790
echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
24800
PKG_CONFIG=$ac_cv_path_PKG_CONFIG
24801
if test -n "$PKG_CONFIG"; then
24802
{ echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
24803
echo "${ECHO_T}$PKG_CONFIG" >&6; }
24805
{ echo "$as_me:$LINENO: result: no" >&5
24806
echo "${ECHO_T}no" >&6; }
24811
if test -z "$ac_cv_path_PKG_CONFIG"; then
24812
ac_pt_PKG_CONFIG=$PKG_CONFIG
24813
# Extract the first word of "pkg-config", so it can be a program name with args.
24814
set dummy pkg-config; ac_word=$2
24815
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
24816
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
24817
if test "${ac_cv_path_ac_pt_PKG_CONFIG+set}" = set; then
24818
echo $ECHO_N "(cached) $ECHO_C" >&6
24820
case $ac_pt_PKG_CONFIG in
24822
ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
24825
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
24826
for as_dir in $PATH
24829
test -z "$as_dir" && as_dir=.
24830
for ac_exec_ext in '' $ac_executable_extensions; do
24831
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
24832
ac_cv_path_ac_pt_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
24833
echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
24843
ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG
24844
if test -n "$ac_pt_PKG_CONFIG"; then
24845
{ echo "$as_me:$LINENO: result: $ac_pt_PKG_CONFIG" >&5
24846
echo "${ECHO_T}$ac_pt_PKG_CONFIG" >&6; }
24848
{ echo "$as_me:$LINENO: result: no" >&5
24849
echo "${ECHO_T}no" >&6; }
24852
if test "x$ac_pt_PKG_CONFIG" = x; then
24855
case $cross_compiling:$ac_tool_warned in
24857
{ echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
24858
whose name does not start with the host triplet. If you think this
24859
configuration is useful to you, please write to autoconf@gnu.org." >&5
24860
echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
24861
whose name does not start with the host triplet. If you think this
24862
configuration is useful to you, please write to autoconf@gnu.org." >&2;}
24863
ac_tool_warned=yes ;;
24865
PKG_CONFIG=$ac_pt_PKG_CONFIG
24868
PKG_CONFIG="$ac_cv_path_PKG_CONFIG"
24872
if test -n "$PKG_CONFIG"; then
24873
_pkg_min_version=0.9.0
24874
{ echo "$as_me:$LINENO: checking pkg-config is at least version $_pkg_min_version" >&5
24875
echo $ECHO_N "checking pkg-config is at least version $_pkg_min_version... $ECHO_C" >&6; }
24876
if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
24877
{ echo "$as_me:$LINENO: result: yes" >&5
24878
echo "${ECHO_T}yes" >&6; }
24880
{ echo "$as_me:$LINENO: result: no" >&5
24881
echo "${ECHO_T}no" >&6; }
24888
{ echo "$as_me:$LINENO: checking for GTK2" >&5
24889
echo $ECHO_N "checking for GTK2... $ECHO_C" >&6; }
24891
if test -n "$PKG_CONFIG"; then
24892
if test -n "$GTK2_CFLAGS"; then
24893
pkg_cv_GTK2_CFLAGS="$GTK2_CFLAGS"
24895
if test -n "$PKG_CONFIG" && \
24896
{ (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gtk+-2.0 >= 2.0.0\"") >&5
24897
($PKG_CONFIG --exists --print-errors "gtk+-2.0 >= 2.0.0") 2>&5
24899
echo "$as_me:$LINENO: \$? = $ac_status" >&5
24900
(exit $ac_status); }; then
24901
pkg_cv_GTK2_CFLAGS=`$PKG_CONFIG --cflags "gtk+-2.0 >= 2.0.0" 2>/dev/null`
24909
if test -n "$PKG_CONFIG"; then
24910
if test -n "$GTK2_LIBS"; then
24911
pkg_cv_GTK2_LIBS="$GTK2_LIBS"
24913
if test -n "$PKG_CONFIG" && \
24914
{ (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gtk+-2.0 >= 2.0.0\"") >&5
24915
($PKG_CONFIG --exists --print-errors "gtk+-2.0 >= 2.0.0") 2>&5
24917
echo "$as_me:$LINENO: \$? = $ac_status" >&5
24918
(exit $ac_status); }; then
24919
pkg_cv_GTK2_LIBS=`$PKG_CONFIG --libs "gtk+-2.0 >= 2.0.0" 2>/dev/null`
24930
if test $pkg_failed = yes; then
24932
if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
24933
_pkg_short_errors_supported=yes
24935
_pkg_short_errors_supported=no
24937
if test $_pkg_short_errors_supported = yes; then
24938
GTK2_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "gtk+-2.0 >= 2.0.0"`
24940
GTK2_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "gtk+-2.0 >= 2.0.0"`
24942
# Put the nasty error message in config.log where it belongs
24943
echo "$GTK2_PKG_ERRORS" >&5
24945
{ { echo "$as_me:$LINENO: error: Package requirements (gtk+-2.0 >= 2.0.0) were not met:
24949
Consider adjusting the PKG_CONFIG_PATH environment variable if you
24950
installed software in a non-standard prefix.
24952
Alternatively, you may set the environment variables GTK2_CFLAGS
24953
and GTK2_LIBS to avoid the need to call pkg-config.
24954
See the pkg-config man page for more details.
24956
echo "$as_me: error: Package requirements (gtk+-2.0 >= 2.0.0) were not met:
24960
Consider adjusting the PKG_CONFIG_PATH environment variable if you
24961
installed software in a non-standard prefix.
24963
Alternatively, you may set the environment variables GTK2_CFLAGS
24964
and GTK2_LIBS to avoid the need to call pkg-config.
24965
See the pkg-config man page for more details.
24967
{ (exit 1); exit 1; }; }
24968
elif test $pkg_failed = untried; then
24969
{ { echo "$as_me:$LINENO: error: The pkg-config script could not be found or is too old. Make sure it
24970
is in your PATH or set the PKG_CONFIG environment variable to the full
24971
path to pkg-config.
24973
Alternatively, you may set the environment variables GTK2_CFLAGS
24974
and GTK2_LIBS to avoid the need to call pkg-config.
24975
See the pkg-config man page for more details.
24977
To get pkg-config, see <http://pkg-config.freedesktop.org/>.
24978
See \`config.log' for more details." >&5
24979
echo "$as_me: error: The pkg-config script could not be found or is too old. Make sure it
24980
is in your PATH or set the PKG_CONFIG environment variable to the full
24981
path to pkg-config.
24983
Alternatively, you may set the environment variables GTK2_CFLAGS
24984
and GTK2_LIBS to avoid the need to call pkg-config.
24985
See the pkg-config man page for more details.
24987
To get pkg-config, see <http://pkg-config.freedesktop.org/>.
24988
See \`config.log' for more details." >&2;}
24989
{ (exit 1); exit 1; }; }
24991
GTK2_CFLAGS=$pkg_cv_GTK2_CFLAGS
24992
GTK2_LIBS=$pkg_cv_GTK2_LIBS
24993
{ echo "$as_me:$LINENO: result: yes" >&5
24994
echo "${ECHO_T}yes" >&6; }
24998
WX_GTK2_CFLAGS="$GTK2_CFLAGS"
24999
WX_GTK2_LIBS="$GTK2_LIBS"
25002
{ echo "$as_me:$LINENO: result: wxMSW" >&5
25003
echo "${ECHO_T}wxMSW" >&6; }
25006
{ echo "$as_me:$LINENO: result: wxMac" >&5
25007
echo "${ECHO_T}wxMac" >&6; }
25008
# Extract the first word of "Rez", so it can be a program name with args.
25009
set dummy Rez; ac_word=$2
25010
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
25011
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
25012
if test "${ac_cv_prog_REZ+set}" = set; then
25013
echo $ECHO_N "(cached) $ECHO_C" >&6
25015
if test -n "$REZ"; then
25016
ac_cv_prog_REZ="$REZ" # Let the user override the test.
25018
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
25019
for as_dir in $PATH
25022
test -z "$as_dir" && as_dir=.
25023
for ac_exec_ext in '' $ac_executable_extensions; do
25024
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
25025
ac_cv_prog_REZ="Rez"
25026
echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
25033
test -z "$ac_cv_prog_REZ" && ac_cv_prog_REZ="/Developer/Tools/Rez"
25036
REZ=$ac_cv_prog_REZ
25037
if test -n "$REZ"; then
25038
{ echo "$as_me:$LINENO: result: $REZ" >&5
25039
echo "${ECHO_T}$REZ" >&6; }
25041
{ echo "$as_me:$LINENO: result: no" >&5
25042
echo "${ECHO_T}no" >&6; }
25046
POSTLINK_COMMAND="\$(REZ) -d __DARWIN__ -t APPL Carbon.r -o"
25047
# Extract the first word of "SetFile", so it can be a program name with args.
25048
set dummy SetFile; ac_word=$2
25049
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
25050
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
25051
if test "${ac_cv_prog_SETFILE+set}" = set; then
25052
echo $ECHO_N "(cached) $ECHO_C" >&6
25054
if test -n "$SETFILE"; then
25055
ac_cv_prog_SETFILE="$SETFILE" # Let the user override the test.
25057
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
25058
for as_dir in $PATH
25061
test -z "$as_dir" && as_dir=.
25062
for ac_exec_ext in '' $ac_executable_extensions; do
25063
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
25064
ac_cv_prog_SETFILE="SetFile"
25065
echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
25072
test -z "$ac_cv_prog_SETFILE" && ac_cv_prog_SETFILE="/Developer/Tools/SetFile"
25075
SETFILE=$ac_cv_prog_SETFILE
25076
if test -n "$SETFILE"; then
25077
{ echo "$as_me:$LINENO: result: $SETFILE" >&5
25078
echo "${ECHO_T}$SETFILE" >&6; }
25080
{ echo "$as_me:$LINENO: result: no" >&5
25081
echo "${ECHO_T}no" >&6; }
25085
MACSETFILE="\$(SETFILE)"
25088
{ echo "$as_me:$LINENO: result: other" >&5
25089
echo "${ECHO_T}other" >&6; }
25101
{ echo "$as_me:$LINENO: checking if wxWidgets libraries are needed for plugins" >&5
25102
echo $ECHO_N "checking if wxWidgets libraries are needed for plugins... $ECHO_C" >&6; }
25105
{ echo "$as_me:$LINENO: result: yes" >&5
25106
echo "${ECHO_T}yes" >&6; }
25107
PLUGIN_WX_LIBS="$WX_LIBS"
25110
{ echo "$as_me:$LINENO: result: no" >&5
25111
echo "${ECHO_T}no" >&6; }
25119
{ echo "$as_me:$LINENO: checking for PIC flags" >&5
25120
echo $ECHO_N "checking for PIC flags... $ECHO_C" >&6; }
25123
if test "$GCC" = yes; then
25124
PIC_FLAGS="-fPIC -DPIC"
25126
PIC_FLAGS="-KPIC -DPIC"
25130
PIC_FLAGS="-fPIC -DPIC"
25133
{ echo "$as_me:$LINENO: result: $PIC_FLAGS" >&5
25134
echo "${ECHO_T}$PIC_FLAGS" >&6; }
25136
CPPFLAGS="$CPPFLAGS -Ulinux -Uunix"
25137
CXXFLAGS="$CXXFLAGS $PCH_FLAGS $PIC_FLAGS -fexceptions"
25138
codeblocks_PCH_FLAGS="$PCH_FLAGS"
25142
if test `uname` = "Linux"; then
25150
if test `uname` = "Darwin"; then
25159
{ echo "$as_me:$LINENO: Configuring Code::Blocks..." >&5
25160
echo "$as_me: Configuring Code::Blocks..." >&6;}
25161
{ echo "$as_me:$LINENO: SVN revision 1.0svn ()" >&5
25162
echo "$as_me: SVN revision 1.0svn ()" >&6;}
25167
ac_config_files="$ac_config_files Makefile src/Makefile src/base/Makefile src/base/tinyxml/Makefile src/build_tools/Makefile src/build_tools/autorevision/Makefile src/include/autorevision.h src/include/Makefile src/include/scripting/Makefile src/include/scripting/bindings/Makefile src/include/scripting/include/Makefile src/include/scripting/sqplus/Makefile src/include/scripting/sqstdlib/Makefile src/include/scripting/squirrel/Makefile src/include/tinyxml/Makefile src/include/wxFlatNotebook/Makefile src/include/wxscintilla/Makefile src/sdk/Makefile src/sdk/scripting/Makefile src/sdk/scripting/bindings/Makefile src/sdk/scripting/squirrel/Makefile src/sdk/scripting/sqstdlib/Makefile src/sdk/scripting/sqplus/Makefile src/sdk/wxscintilla/Makefile src/sdk/wxFlatNotebook/Makefile src/sdk/resources/Makefile src/sdk/resources/lexers/Makefile src/src/wxAUI/Makefile src/src/resources/Makefile src/src/resources/icons/Makefile src/src/resources/images/Makefile src/src/resources/images/16x16/Makefile src/src/resources/images/settings/Makefile src/src/Makefile src/plugins/Makefile src/plugins/astyle/Makefile src/plugins/astyle/resources/Makefile src/plugins/autosave/Makefile src/plugins/classwizard/Makefile src/plugins/classwizard/resources/Makefile src/plugins/codecompletion/Makefile src/plugins/codecompletion/resources/Makefile src/plugins/compilergcc/Makefile src/plugins/compilergcc/depslib/Makefile src/plugins/compilergcc/depslib/src/Makefile src/plugins/compilergcc/resources/Makefile src/plugins/debuggergdb/Makefile src/plugins/debuggergdb/resources/Makefile src/plugins/debuggergdb/resources/images/Makefile src/plugins/debuggergdb/resources/images/16x16/Makefile src/plugins/defaultmimehandler/Makefile src/plugins/defaultmimehandler/resources/Makefile src/plugins/openfileslist/Makefile src/plugins/projectsimporter/Makefile src/plugins/projectsimporter/resources/Makefile src/plugins/scriptedwizard/Makefile src/plugins/scriptedwizard/resources/Makefile src/plugins/scriptedwizard/resources/avr/Makefile src/plugins/scriptedwizard/resources/avr/files/Makefile src/plugins/scriptedwizard/resources/c_file/Makefile src/plugins/scriptedwizard/resources/console/Makefile src/plugins/scriptedwizard/resources/console/c/Makefile src/plugins/scriptedwizard/resources/console/cpp/Makefile src/plugins/scriptedwizard/resources/d/Makefile src/plugins/scriptedwizard/resources/d/console/Makefile src/plugins/scriptedwizard/resources/directx/Makefile src/plugins/scriptedwizard/resources/directx/files/Makefile src/plugins/scriptedwizard/resources/dll/Makefile src/plugins/scriptedwizard/resources/dll/files/Makefile src/plugins/scriptedwizard/resources/empty/Makefile src/plugins/scriptedwizard/resources/empty_file/Makefile src/plugins/scriptedwizard/resources/fltk/Makefile src/plugins/scriptedwizard/resources/fltk/files/Makefile src/plugins/scriptedwizard/resources/fltk/fluid/Makefile src/plugins/scriptedwizard/resources/glfw/Makefile src/plugins/scriptedwizard/resources/glfw/files/Makefile src/plugins/scriptedwizard/resources/glut/Makefile src/plugins/scriptedwizard/resources/glut/files/Makefile src/plugins/scriptedwizard/resources/gtk/Makefile src/plugins/scriptedwizard/resources/gtk/files/Makefile src/plugins/scriptedwizard/resources/h_file/Makefile src/plugins/scriptedwizard/resources/irrlicht/Makefile src/plugins/scriptedwizard/resources/irrlicht/files/Makefile src/plugins/scriptedwizard/resources/lf/Makefile src/plugins/scriptedwizard/resources/lf/files/Makefile src/plugins/scriptedwizard/resources/lf/files/quick/Makefile src/plugins/scriptedwizard/resources/lf/files/structured/Makefile src/plugins/scriptedwizard/resources/ogre/Makefile src/plugins/scriptedwizard/resources/ogre/files/Makefile src/plugins/scriptedwizard/resources/opengl/Makefile src/plugins/scriptedwizard/resources/opengl/files_unix/Makefile src/plugins/scriptedwizard/resources/opengl/files_win/Makefile src/plugins/scriptedwizard/resources/qt4/Makefile src/plugins/scriptedwizard/resources/qt4/files/Makefile src/plugins/scriptedwizard/resources/sdl/Makefile src/plugins/scriptedwizard/resources/sdl/files/Makefile src/plugins/scriptedwizard/resources/plugins/Makefile src/plugins/scriptedwizard/resources/plugins/templates/Makefile src/plugins/scriptedwizard/resources/smartwin/Makefile src/plugins/scriptedwizard/resources/smartwin/files/Makefile src/plugins/scriptedwizard/resources/staticlib/Makefile src/plugins/scriptedwizard/resources/staticlib/files/Makefile src/plugins/scriptedwizard/resources/sharedlib/Makefile src/plugins/scriptedwizard/resources/sharedlib/files/Makefile src/plugins/scriptedwizard/resources/sys/Makefile src/plugins/scriptedwizard/resources/sys/files/Makefile src/plugins/scriptedwizard/resources/win32gui/Makefile src/plugins/scriptedwizard/resources/win32gui/files/Makefile src/plugins/scriptedwizard/resources/win32gui/files/dialog/Makefile src/plugins/scriptedwizard/resources/win32gui/files/frame/Makefile src/plugins/scriptedwizard/resources/wxwidgets/Makefile src/plugins/scriptedwizard/resources/wxwidgets/common/Makefile src/plugins/scriptedwizard/resources/wxwidgets/pch/Makefile src/plugins/scriptedwizard/resources/wxwidgets/rc/Makefile src/plugins/scriptedwizard/resources/wxwidgets/wxfb/Makefile src/plugins/scriptedwizard/resources/wxwidgets/wxfb/dialog/Makefile src/plugins/scriptedwizard/resources/wxwidgets/wxfb/frame/Makefile src/plugins/scriptedwizard/resources/wxwidgets/wxsmith/Makefile src/plugins/todo/Makefile src/plugins/todo/resources/Makefile src/plugins/xpmanifest/Makefile src/plugins/contrib/Makefile src/plugins/contrib/AutoVersioning/Makefile src/plugins/contrib/BrowseTracker/Makefile src/plugins/contrib/byogames/Makefile src/plugins/contrib/cb_koders/Makefile src/plugins/contrib/codesnippets/Makefile src/plugins/contrib/codesnippets/resources/Makefile src/plugins/contrib/codestat/Makefile src/plugins/contrib/codestat/resources/Makefile src/plugins/contrib/dragscroll/Makefile src/plugins/contrib/envvars/Makefile src/plugins/contrib/help_plugin/Makefile src/plugins/contrib/help_plugin/bzip2/Makefile src/plugins/contrib/help_plugin/zlib/Makefile src/plugins/contrib/keybinder/Makefile src/plugins/contrib/lib_finder/Makefile src/plugins/contrib/lib_finder/lib_finder/Makefile src/plugins/contrib/profiler/Makefile src/plugins/contrib/profiler/resources/Makefile src/plugins/contrib/source_exporter/Makefile src/plugins/contrib/source_exporter/wxPdfDocument/Makefile src/plugins/contrib/symtab/Makefile src/plugins/contrib/symtab/resources/Makefile src/plugins/contrib/regex_testbed/Makefile src/plugins/contrib/ThreadSearch/Makefile src/plugins/contrib/ThreadSearch/resources/Makefile src/plugins/contrib/ThreadSearch/resources/images/Makefile src/plugins/contrib/wxSmith/Makefile src/plugins/contrib/wxSmith/propgrid/Makefile src/plugins/contrib/wxSmith/plugin/Makefile src/plugins/contrib/wxSmith/properties/Makefile src/plugins/contrib/wxSmith/wxwidgets/Makefile src/plugins/contrib/wxSmith/wxwidgets/properties/Makefile src/plugins/contrib/wxSmith/wxwidgets/defitems/Makefile src/plugins/contrib/wxSmith/wxwidgets/icons/Makefile src/plugins/contrib/wxSmithContribItems/Makefile src/scripts/Makefile src/tools/Makefile src/tools/cb_share_config/Makefile src/tools/ConsoleRunner/Makefile src/setup/Makefile src/setup/mime/Makefile src/templates/Makefile src/templates/common/Makefile src/templates/unix/Makefile src/templates/win32/Makefile src/wxsmith/Makefile codeblocks.pc codeblocks.spec codeblocks.plist"
25170
cat >confcache <<\_ACEOF
25171
# This file is a shell script that caches the results of configure
25172
# tests run on this system so they can be shared between configure
25173
# scripts and configure runs, see configure's option --config-cache.
25174
# It is not useful on other systems. If it contains results you don't
25175
# want to keep, you may remove or edit it.
25177
# config.status only pays attention to the cache file if you give it
25178
# the --recheck option to rerun configure.
25180
# `ac_cv_env_foo' variables (set or unset) will be overridden when
25181
# loading this file, other *unset* `ac_cv_foo' will be assigned the
25182
# following values.
25186
# The following way of writing the cache mishandles newlines in values,
25187
# but we know of no workaround that is simple, portable, and efficient.
25188
# So, we kill variables containing newlines.
25189
# Ultrix sh set writes to stderr and can't be redirected directly,
25190
# and sets the high bit in the cache file unless we assign to the vars.
25192
for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
25193
eval ac_val=\$$ac_var
25197
*_cv_*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
25198
echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
25201
_ | IFS | as_nl) ;; #(
25202
*) $as_unset $ac_var ;;
25208
case $as_nl`(ac_space=' '; set) 2>&1` in #(
25209
*${as_nl}ac_space=\ *)
25210
# `set' does not quote correctly, so add quotes (double-quote
25211
# substitution turns \\\\ into \\, and sed turns \\ into \).
25214
s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
25217
# `set' quotes correctly as required by POSIX, so do not add quotes.
25218
sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
25227
s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
25229
s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
25231
if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
25232
if test -w "$cache_file"; then
25233
test "x$cache_file" != "x/dev/null" &&
25234
{ echo "$as_me:$LINENO: updating cache $cache_file" >&5
25235
echo "$as_me: updating cache $cache_file" >&6;}
25236
cat confcache >$cache_file
25238
{ echo "$as_me:$LINENO: not updating unwritable cache $cache_file" >&5
25239
echo "$as_me: not updating unwritable cache $cache_file" >&6;}
25244
test "x$prefix" = xNONE && prefix=$ac_default_prefix
25245
# Let make expand exec_prefix.
25246
test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
25248
DEFS=-DHAVE_CONFIG_H
25252
for ac_i in : $LIB@&t@OBJS; do test "x$ac_i" = x: && continue
25253
# 1. Remove the extension, and $U if already installed.
25254
ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
25255
ac_i=`echo "$ac_i" | sed "$ac_script"`
25256
# 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
25257
# will be set to the directory where LIBOBJS objects are built.
25258
ac_libobjs="$ac_libobjs \${LIBOBJDIR}$ac_i\$U.$ac_objext"
25259
ac_ltlibobjs="$ac_ltlibobjs \${LIBOBJDIR}$ac_i"'$U.lo'
25261
LIB@&t@OBJS=$ac_libobjs
25263
LTLIBOBJS=$ac_ltlibobjs
25266
if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
25267
{ { echo "$as_me:$LINENO: error: conditional \"AMDEP\" was never defined.
25268
Usually this means the macro was only invoked conditionally." >&5
25269
echo "$as_me: error: conditional \"AMDEP\" was never defined.
25270
Usually this means the macro was only invoked conditionally." >&2;}
25271
{ (exit 1); exit 1; }; }
25273
if test -z "${am__fastdepCXX_TRUE}" && test -z "${am__fastdepCXX_FALSE}"; then
25274
{ { echo "$as_me:$LINENO: error: conditional \"am__fastdepCXX\" was never defined.
25275
Usually this means the macro was only invoked conditionally." >&5
25276
echo "$as_me: error: conditional \"am__fastdepCXX\" was never defined.
25277
Usually this means the macro was only invoked conditionally." >&2;}
25278
{ (exit 1); exit 1; }; }
25280
if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
25281
{ { echo "$as_me:$LINENO: error: conditional \"am__fastdepCC\" was never defined.
25282
Usually this means the macro was only invoked conditionally." >&5
25283
echo "$as_me: error: conditional \"am__fastdepCC\" was never defined.
25284
Usually this means the macro was only invoked conditionally." >&2;}
25285
{ (exit 1); exit 1; }; }
25287
if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
25288
{ { echo "$as_me:$LINENO: error: conditional \"am__fastdepCC\" was never defined.
25289
Usually this means the macro was only invoked conditionally." >&5
25290
echo "$as_me: error: conditional \"am__fastdepCC\" was never defined.
25291
Usually this means the macro was only invoked conditionally." >&2;}
25292
{ (exit 1); exit 1; }; }
25294
if test -z "${CODEBLOCKS_NT_TRUE}" && test -z "${CODEBLOCKS_NT_FALSE}"; then
25295
{ { echo "$as_me:$LINENO: error: conditional \"CODEBLOCKS_NT\" was never defined.
25296
Usually this means the macro was only invoked conditionally." >&5
25297
echo "$as_me: error: conditional \"CODEBLOCKS_NT\" was never defined.
25298
Usually this means the macro was only invoked conditionally." >&2;}
25299
{ (exit 1); exit 1; }; }
25301
if test -z "${CODEBLOCKS_LINUX_TRUE}" && test -z "${CODEBLOCKS_LINUX_FALSE}"; then
25302
{ { echo "$as_me:$LINENO: error: conditional \"CODEBLOCKS_LINUX\" was never defined.
25303
Usually this means the macro was only invoked conditionally." >&5
25304
echo "$as_me: error: conditional \"CODEBLOCKS_LINUX\" was never defined.
25305
Usually this means the macro was only invoked conditionally." >&2;}
25306
{ (exit 1); exit 1; }; }
25308
if test -z "${CODEBLOCKS_DARWIN_TRUE}" && test -z "${CODEBLOCKS_DARWIN_FALSE}"; then
25309
{ { echo "$as_me:$LINENO: error: conditional \"CODEBLOCKS_DARWIN\" was never defined.
25310
Usually this means the macro was only invoked conditionally." >&5
25311
echo "$as_me: error: conditional \"CODEBLOCKS_DARWIN\" was never defined.
25312
Usually this means the macro was only invoked conditionally." >&2;}
25313
{ (exit 1); exit 1; }; }
25315
if test -z "${HAVE_ZLIB_TRUE}" && test -z "${HAVE_ZLIB_FALSE}"; then
25316
{ { echo "$as_me:$LINENO: error: conditional \"HAVE_ZLIB\" was never defined.
25317
Usually this means the macro was only invoked conditionally." >&5
25318
echo "$as_me: error: conditional \"HAVE_ZLIB\" was never defined.
25319
Usually this means the macro was only invoked conditionally." >&2;}
25320
{ (exit 1); exit 1; }; }
25322
if test -z "${HAVE_BZIP2_TRUE}" && test -z "${HAVE_BZIP2_FALSE}"; then
25323
{ { echo "$as_me:$LINENO: error: conditional \"HAVE_BZIP2\" was never defined.
25324
Usually this means the macro was only invoked conditionally." >&5
25325
echo "$as_me: error: conditional \"HAVE_BZIP2\" was never defined.
25326
Usually this means the macro was only invoked conditionally." >&2;}
25327
{ (exit 1); exit 1; }; }
25329
if test -z "${BUILD_ASTYLE_TRUE}" && test -z "${BUILD_ASTYLE_FALSE}"; then
25330
{ { echo "$as_me:$LINENO: error: conditional \"BUILD_ASTYLE\" was never defined.
25331
Usually this means the macro was only invoked conditionally." >&5
25332
echo "$as_me: error: conditional \"BUILD_ASTYLE\" was never defined.
25333
Usually this means the macro was only invoked conditionally." >&2;}
25334
{ (exit 1); exit 1; }; }
25336
if test -z "${BUILD_AUTOSAVE_TRUE}" && test -z "${BUILD_AUTOSAVE_FALSE}"; then
25337
{ { echo "$as_me:$LINENO: error: conditional \"BUILD_AUTOSAVE\" was never defined.
25338
Usually this means the macro was only invoked conditionally." >&5
25339
echo "$as_me: error: conditional \"BUILD_AUTOSAVE\" was never defined.
25340
Usually this means the macro was only invoked conditionally." >&2;}
25341
{ (exit 1); exit 1; }; }
25343
if test -z "${BUILD_CLASSWIZARD_TRUE}" && test -z "${BUILD_CLASSWIZARD_FALSE}"; then
25344
{ { echo "$as_me:$LINENO: error: conditional \"BUILD_CLASSWIZARD\" was never defined.
25345
Usually this means the macro was only invoked conditionally." >&5
25346
echo "$as_me: error: conditional \"BUILD_CLASSWIZARD\" was never defined.
25347
Usually this means the macro was only invoked conditionally." >&2;}
25348
{ (exit 1); exit 1; }; }
25350
if test -z "${BUILD_CODECOMPLETION_TRUE}" && test -z "${BUILD_CODECOMPLETION_FALSE}"; then
25351
{ { echo "$as_me:$LINENO: error: conditional \"BUILD_CODECOMPLETION\" was never defined.
25352
Usually this means the macro was only invoked conditionally." >&5
25353
echo "$as_me: error: conditional \"BUILD_CODECOMPLETION\" was never defined.
25354
Usually this means the macro was only invoked conditionally." >&2;}
25355
{ (exit 1); exit 1; }; }
25357
if test -z "${BUILD_COMPILER_TRUE}" && test -z "${BUILD_COMPILER_FALSE}"; then
25358
{ { echo "$as_me:$LINENO: error: conditional \"BUILD_COMPILER\" was never defined.
25359
Usually this means the macro was only invoked conditionally." >&5
25360
echo "$as_me: error: conditional \"BUILD_COMPILER\" was never defined.
25361
Usually this means the macro was only invoked conditionally." >&2;}
25362
{ (exit 1); exit 1; }; }
25364
if test -z "${BUILD_DEBUGGER_TRUE}" && test -z "${BUILD_DEBUGGER_FALSE}"; then
25365
{ { echo "$as_me:$LINENO: error: conditional \"BUILD_DEBUGGER\" was never defined.
25366
Usually this means the macro was only invoked conditionally." >&5
25367
echo "$as_me: error: conditional \"BUILD_DEBUGGER\" was never defined.
25368
Usually this means the macro was only invoked conditionally." >&2;}
25369
{ (exit 1); exit 1; }; }
25371
if test -z "${BUILD_MIMEHANDLER_TRUE}" && test -z "${BUILD_MIMEHANDLER_FALSE}"; then
25372
{ { echo "$as_me:$LINENO: error: conditional \"BUILD_MIMEHANDLER\" was never defined.
25373
Usually this means the macro was only invoked conditionally." >&5
25374
echo "$as_me: error: conditional \"BUILD_MIMEHANDLER\" was never defined.
25375
Usually this means the macro was only invoked conditionally." >&2;}
25376
{ (exit 1); exit 1; }; }
25378
if test -z "${BUILD_OPENFILESLIST_TRUE}" && test -z "${BUILD_OPENFILESLIST_FALSE}"; then
25379
{ { echo "$as_me:$LINENO: error: conditional \"BUILD_OPENFILESLIST\" was never defined.
25380
Usually this means the macro was only invoked conditionally." >&5
25381
echo "$as_me: error: conditional \"BUILD_OPENFILESLIST\" was never defined.
25382
Usually this means the macro was only invoked conditionally." >&2;}
25383
{ (exit 1); exit 1; }; }
25385
if test -z "${BUILD_PROJECTSIMPORTER_TRUE}" && test -z "${BUILD_PROJECTSIMPORTER_FALSE}"; then
25386
{ { echo "$as_me:$LINENO: error: conditional \"BUILD_PROJECTSIMPORTER\" was never defined.
25387
Usually this means the macro was only invoked conditionally." >&5
25388
echo "$as_me: error: conditional \"BUILD_PROJECTSIMPORTER\" was never defined.
25389
Usually this means the macro was only invoked conditionally." >&2;}
25390
{ (exit 1); exit 1; }; }
25392
if test -z "${BUILD_SCRIPTEDWIZARD_TRUE}" && test -z "${BUILD_SCRIPTEDWIZARD_FALSE}"; then
25393
{ { echo "$as_me:$LINENO: error: conditional \"BUILD_SCRIPTEDWIZARD\" was never defined.
25394
Usually this means the macro was only invoked conditionally." >&5
25395
echo "$as_me: error: conditional \"BUILD_SCRIPTEDWIZARD\" was never defined.
25396
Usually this means the macro was only invoked conditionally." >&2;}
25397
{ (exit 1); exit 1; }; }
25399
if test -z "${BUILD_TODO_TRUE}" && test -z "${BUILD_TODO_FALSE}"; then
25400
{ { echo "$as_me:$LINENO: error: conditional \"BUILD_TODO\" was never defined.
25401
Usually this means the macro was only invoked conditionally." >&5
25402
echo "$as_me: error: conditional \"BUILD_TODO\" was never defined.
25403
Usually this means the macro was only invoked conditionally." >&2;}
25404
{ (exit 1); exit 1; }; }
25406
if test -z "${BUILD_MANIFEST_TRUE}" && test -z "${BUILD_MANIFEST_FALSE}"; then
25407
{ { echo "$as_me:$LINENO: error: conditional \"BUILD_MANIFEST\" was never defined.
25408
Usually this means the macro was only invoked conditionally." >&5
25409
echo "$as_me: error: conditional \"BUILD_MANIFEST\" was never defined.
25410
Usually this means the macro was only invoked conditionally." >&2;}
25411
{ (exit 1); exit 1; }; }
25413
if test -z "${BUILD_MANIFEST_TRUE}" && test -z "${BUILD_MANIFEST_FALSE}"; then
25414
{ { echo "$as_me:$LINENO: error: conditional \"BUILD_MANIFEST\" was never defined.
25415
Usually this means the macro was only invoked conditionally." >&5
25416
echo "$as_me: error: conditional \"BUILD_MANIFEST\" was never defined.
25417
Usually this means the macro was only invoked conditionally." >&2;}
25418
{ (exit 1); exit 1; }; }
25420
if test -z "${BUILD_AUTOVERSIONING_TRUE}" && test -z "${BUILD_AUTOVERSIONING_FALSE}"; then
25421
{ { echo "$as_me:$LINENO: error: conditional \"BUILD_AUTOVERSIONING\" was never defined.
25422
Usually this means the macro was only invoked conditionally." >&5
25423
echo "$as_me: error: conditional \"BUILD_AUTOVERSIONING\" was never defined.
25424
Usually this means the macro was only invoked conditionally." >&2;}
25425
{ (exit 1); exit 1; }; }
25427
if test -z "${BUILD_BROWSETRACKER_TRUE}" && test -z "${BUILD_BROWSETRACKER_FALSE}"; then
25428
{ { echo "$as_me:$LINENO: error: conditional \"BUILD_BROWSETRACKER\" was never defined.
25429
Usually this means the macro was only invoked conditionally." >&5
25430
echo "$as_me: error: conditional \"BUILD_BROWSETRACKER\" was never defined.
25431
Usually this means the macro was only invoked conditionally." >&2;}
25432
{ (exit 1); exit 1; }; }
25434
if test -z "${BUILD_BYOGAMES_TRUE}" && test -z "${BUILD_BYOGAMES_FALSE}"; then
25435
{ { echo "$as_me:$LINENO: error: conditional \"BUILD_BYOGAMES\" was never defined.
25436
Usually this means the macro was only invoked conditionally." >&5
25437
echo "$as_me: error: conditional \"BUILD_BYOGAMES\" was never defined.
25438
Usually this means the macro was only invoked conditionally." >&2;}
25439
{ (exit 1); exit 1; }; }
25441
if test -z "${BUILD_CBKODERS_TRUE}" && test -z "${BUILD_CBKODERS_FALSE}"; then
25442
{ { echo "$as_me:$LINENO: error: conditional \"BUILD_CBKODERS\" was never defined.
25443
Usually this means the macro was only invoked conditionally." >&5
25444
echo "$as_me: error: conditional \"BUILD_CBKODERS\" was never defined.
25445
Usually this means the macro was only invoked conditionally." >&2;}
25446
{ (exit 1); exit 1; }; }
25448
if test -z "${BUILD_CODESNIPPETS_TRUE}" && test -z "${BUILD_CODESNIPPETS_FALSE}"; then
25449
{ { echo "$as_me:$LINENO: error: conditional \"BUILD_CODESNIPPETS\" was never defined.
25450
Usually this means the macro was only invoked conditionally." >&5
25451
echo "$as_me: error: conditional \"BUILD_CODESNIPPETS\" was never defined.
25452
Usually this means the macro was only invoked conditionally." >&2;}
25453
{ (exit 1); exit 1; }; }
25455
if test -z "${BUILD_CODESTAT_TRUE}" && test -z "${BUILD_CODESTAT_FALSE}"; then
25456
{ { echo "$as_me:$LINENO: error: conditional \"BUILD_CODESTAT\" was never defined.
25457
Usually this means the macro was only invoked conditionally." >&5
25458
echo "$as_me: error: conditional \"BUILD_CODESTAT\" was never defined.
25459
Usually this means the macro was only invoked conditionally." >&2;}
25460
{ (exit 1); exit 1; }; }
25462
if test -z "${BUILD_DRAGSCROLL_TRUE}" && test -z "${BUILD_DRAGSCROLL_FALSE}"; then
25463
{ { echo "$as_me:$LINENO: error: conditional \"BUILD_DRAGSCROLL\" was never defined.
25464
Usually this means the macro was only invoked conditionally." >&5
25465
echo "$as_me: error: conditional \"BUILD_DRAGSCROLL\" was never defined.
25466
Usually this means the macro was only invoked conditionally." >&2;}
25467
{ (exit 1); exit 1; }; }
25469
if test -z "${BUILD_ENVVARS_TRUE}" && test -z "${BUILD_ENVVARS_FALSE}"; then
25470
{ { echo "$as_me:$LINENO: error: conditional \"BUILD_ENVVARS\" was never defined.
25471
Usually this means the macro was only invoked conditionally." >&5
25472
echo "$as_me: error: conditional \"BUILD_ENVVARS\" was never defined.
25473
Usually this means the macro was only invoked conditionally." >&2;}
25474
{ (exit 1); exit 1; }; }
25476
if test -z "${BUILD_HELP_TRUE}" && test -z "${BUILD_HELP_FALSE}"; then
25477
{ { echo "$as_me:$LINENO: error: conditional \"BUILD_HELP\" was never defined.
25478
Usually this means the macro was only invoked conditionally." >&5
25479
echo "$as_me: error: conditional \"BUILD_HELP\" was never defined.
25480
Usually this means the macro was only invoked conditionally." >&2;}
25481
{ (exit 1); exit 1; }; }
25483
if test -z "${BUILD_KEYBINDER_TRUE}" && test -z "${BUILD_KEYBINDER_FALSE}"; then
25484
{ { echo "$as_me:$LINENO: error: conditional \"BUILD_KEYBINDER\" was never defined.
25485
Usually this means the macro was only invoked conditionally." >&5
25486
echo "$as_me: error: conditional \"BUILD_KEYBINDER\" was never defined.
25487
Usually this means the macro was only invoked conditionally." >&2;}
25488
{ (exit 1); exit 1; }; }
25490
if test -z "${BUILD_LIBFINDER_TRUE}" && test -z "${BUILD_LIBFINDER_FALSE}"; then
25491
{ { echo "$as_me:$LINENO: error: conditional \"BUILD_LIBFINDER\" was never defined.
25492
Usually this means the macro was only invoked conditionally." >&5
25493
echo "$as_me: error: conditional \"BUILD_LIBFINDER\" was never defined.
25494
Usually this means the macro was only invoked conditionally." >&2;}
25495
{ (exit 1); exit 1; }; }
25497
if test -z "${BUILD_PROFILER_TRUE}" && test -z "${BUILD_PROFILER_FALSE}"; then
25498
{ { echo "$as_me:$LINENO: error: conditional \"BUILD_PROFILER\" was never defined.
25499
Usually this means the macro was only invoked conditionally." >&5
25500
echo "$as_me: error: conditional \"BUILD_PROFILER\" was never defined.
25501
Usually this means the macro was only invoked conditionally." >&2;}
25502
{ (exit 1); exit 1; }; }
25504
if test -z "${BUILD_REGEX_TRUE}" && test -z "${BUILD_REGEX_FALSE}"; then
25505
{ { echo "$as_me:$LINENO: error: conditional \"BUILD_REGEX\" was never defined.
25506
Usually this means the macro was only invoked conditionally." >&5
25507
echo "$as_me: error: conditional \"BUILD_REGEX\" was never defined.
25508
Usually this means the macro was only invoked conditionally." >&2;}
25509
{ (exit 1); exit 1; }; }
25511
if test -z "${BUILD_EXPORTER_TRUE}" && test -z "${BUILD_EXPORTER_FALSE}"; then
25512
{ { echo "$as_me:$LINENO: error: conditional \"BUILD_EXPORTER\" was never defined.
25513
Usually this means the macro was only invoked conditionally." >&5
25514
echo "$as_me: error: conditional \"BUILD_EXPORTER\" was never defined.
25515
Usually this means the macro was only invoked conditionally." >&2;}
25516
{ (exit 1); exit 1; }; }
25518
if test -z "${BUILD_SYMTAB_TRUE}" && test -z "${BUILD_SYMTAB_FALSE}"; then
25519
{ { echo "$as_me:$LINENO: error: conditional \"BUILD_SYMTAB\" was never defined.
25520
Usually this means the macro was only invoked conditionally." >&5
25521
echo "$as_me: error: conditional \"BUILD_SYMTAB\" was never defined.
25522
Usually this means the macro was only invoked conditionally." >&2;}
25523
{ (exit 1); exit 1; }; }
25525
if test -z "${BUILD_THREADSEARCH_TRUE}" && test -z "${BUILD_THREADSEARCH_FALSE}"; then
25526
{ { echo "$as_me:$LINENO: error: conditional \"BUILD_THREADSEARCH\" was never defined.
25527
Usually this means the macro was only invoked conditionally." >&5
25528
echo "$as_me: error: conditional \"BUILD_THREADSEARCH\" was never defined.
25529
Usually this means the macro was only invoked conditionally." >&2;}
25530
{ (exit 1); exit 1; }; }
25532
if test -z "${BUILD_WXSMITH_TRUE}" && test -z "${BUILD_WXSMITH_FALSE}"; then
25533
{ { echo "$as_me:$LINENO: error: conditional \"BUILD_WXSMITH\" was never defined.
25534
Usually this means the macro was only invoked conditionally." >&5
25535
echo "$as_me: error: conditional \"BUILD_WXSMITH\" was never defined.
25536
Usually this means the macro was only invoked conditionally." >&2;}
25537
{ (exit 1); exit 1; }; }
25539
if test -z "${BUILD_AUTOVERSIONING_TRUE}" && test -z "${BUILD_AUTOVERSIONING_FALSE}"; then
25540
{ { echo "$as_me:$LINENO: error: conditional \"BUILD_AUTOVERSIONING\" was never defined.
25541
Usually this means the macro was only invoked conditionally." >&5
25542
echo "$as_me: error: conditional \"BUILD_AUTOVERSIONING\" was never defined.
25543
Usually this means the macro was only invoked conditionally." >&2;}
25544
{ (exit 1); exit 1; }; }
25546
if test -z "${BUILD_BROWSETRACKER_TRUE}" && test -z "${BUILD_BROWSETRACKER_FALSE}"; then
25547
{ { echo "$as_me:$LINENO: error: conditional \"BUILD_BROWSETRACKER\" was never defined.
25548
Usually this means the macro was only invoked conditionally." >&5
25549
echo "$as_me: error: conditional \"BUILD_BROWSETRACKER\" was never defined.
25550
Usually this means the macro was only invoked conditionally." >&2;}
25551
{ (exit 1); exit 1; }; }
25553
if test -z "${BUILD_BYOGAMES_TRUE}" && test -z "${BUILD_BYOGAMES_FALSE}"; then
25554
{ { echo "$as_me:$LINENO: error: conditional \"BUILD_BYOGAMES\" was never defined.
25555
Usually this means the macro was only invoked conditionally." >&5
25556
echo "$as_me: error: conditional \"BUILD_BYOGAMES\" was never defined.
25557
Usually this means the macro was only invoked conditionally." >&2;}
25558
{ (exit 1); exit 1; }; }
25560
if test -z "${BUILD_CBKODERS_TRUE}" && test -z "${BUILD_CBKODERS_FALSE}"; then
25561
{ { echo "$as_me:$LINENO: error: conditional \"BUILD_CBKODERS\" was never defined.
25562
Usually this means the macro was only invoked conditionally." >&5
25563
echo "$as_me: error: conditional \"BUILD_CBKODERS\" was never defined.
25564
Usually this means the macro was only invoked conditionally." >&2;}
25565
{ (exit 1); exit 1; }; }
25567
if test -z "${BUILD_CODESNIPPETS_TRUE}" && test -z "${BUILD_CODESNIPPETS_FALSE}"; then
25568
{ { echo "$as_me:$LINENO: error: conditional \"BUILD_CODESNIPPETS\" was never defined.
25569
Usually this means the macro was only invoked conditionally." >&5
25570
echo "$as_me: error: conditional \"BUILD_CODESNIPPETS\" was never defined.
25571
Usually this means the macro was only invoked conditionally." >&2;}
25572
{ (exit 1); exit 1; }; }
25574
if test -z "${BUILD_CODESTAT_TRUE}" && test -z "${BUILD_CODESTAT_FALSE}"; then
25575
{ { echo "$as_me:$LINENO: error: conditional \"BUILD_CODESTAT\" was never defined.
25576
Usually this means the macro was only invoked conditionally." >&5
25577
echo "$as_me: error: conditional \"BUILD_CODESTAT\" was never defined.
25578
Usually this means the macro was only invoked conditionally." >&2;}
25579
{ (exit 1); exit 1; }; }
25581
if test -z "${BUILD_DRAGSCROLL_TRUE}" && test -z "${BUILD_DRAGSCROLL_FALSE}"; then
25582
{ { echo "$as_me:$LINENO: error: conditional \"BUILD_DRAGSCROLL\" was never defined.
25583
Usually this means the macro was only invoked conditionally." >&5
25584
echo "$as_me: error: conditional \"BUILD_DRAGSCROLL\" was never defined.
25585
Usually this means the macro was only invoked conditionally." >&2;}
25586
{ (exit 1); exit 1; }; }
25588
if test -z "${BUILD_ENVVARS_TRUE}" && test -z "${BUILD_ENVVARS_FALSE}"; then
25589
{ { echo "$as_me:$LINENO: error: conditional \"BUILD_ENVVARS\" was never defined.
25590
Usually this means the macro was only invoked conditionally." >&5
25591
echo "$as_me: error: conditional \"BUILD_ENVVARS\" was never defined.
25592
Usually this means the macro was only invoked conditionally." >&2;}
25593
{ (exit 1); exit 1; }; }
25595
if test -z "${BUILD_HELP_TRUE}" && test -z "${BUILD_HELP_FALSE}"; then
25596
{ { echo "$as_me:$LINENO: error: conditional \"BUILD_HELP\" was never defined.
25597
Usually this means the macro was only invoked conditionally." >&5
25598
echo "$as_me: error: conditional \"BUILD_HELP\" was never defined.
25599
Usually this means the macro was only invoked conditionally." >&2;}
25600
{ (exit 1); exit 1; }; }
25602
if test -z "${BUILD_KEYBINDER_TRUE}" && test -z "${BUILD_KEYBINDER_FALSE}"; then
25603
{ { echo "$as_me:$LINENO: error: conditional \"BUILD_KEYBINDER\" was never defined.
25604
Usually this means the macro was only invoked conditionally." >&5
25605
echo "$as_me: error: conditional \"BUILD_KEYBINDER\" was never defined.
25606
Usually this means the macro was only invoked conditionally." >&2;}
25607
{ (exit 1); exit 1; }; }
25609
if test -z "${BUILD_LIBFINDER_TRUE}" && test -z "${BUILD_LIBFINDER_FALSE}"; then
25610
{ { echo "$as_me:$LINENO: error: conditional \"BUILD_LIBFINDER\" was never defined.
25611
Usually this means the macro was only invoked conditionally." >&5
25612
echo "$as_me: error: conditional \"BUILD_LIBFINDER\" was never defined.
25613
Usually this means the macro was only invoked conditionally." >&2;}
25614
{ (exit 1); exit 1; }; }
25616
if test -z "${BUILD_PROFILER_TRUE}" && test -z "${BUILD_PROFILER_FALSE}"; then
25617
{ { echo "$as_me:$LINENO: error: conditional \"BUILD_PROFILER\" was never defined.
25618
Usually this means the macro was only invoked conditionally." >&5
25619
echo "$as_me: error: conditional \"BUILD_PROFILER\" was never defined.
25620
Usually this means the macro was only invoked conditionally." >&2;}
25621
{ (exit 1); exit 1; }; }
25623
if test -z "${BUILD_REGEX_TRUE}" && test -z "${BUILD_REGEX_FALSE}"; then
25624
{ { echo "$as_me:$LINENO: error: conditional \"BUILD_REGEX\" was never defined.
25625
Usually this means the macro was only invoked conditionally." >&5
25626
echo "$as_me: error: conditional \"BUILD_REGEX\" was never defined.
25627
Usually this means the macro was only invoked conditionally." >&2;}
25628
{ (exit 1); exit 1; }; }
25630
if test -z "${BUILD_EXPORTER_TRUE}" && test -z "${BUILD_EXPORTER_FALSE}"; then
25631
{ { echo "$as_me:$LINENO: error: conditional \"BUILD_EXPORTER\" was never defined.
25632
Usually this means the macro was only invoked conditionally." >&5
25633
echo "$as_me: error: conditional \"BUILD_EXPORTER\" was never defined.
25634
Usually this means the macro was only invoked conditionally." >&2;}
25635
{ (exit 1); exit 1; }; }
25637
if test -z "${BUILD_SYMTAB_TRUE}" && test -z "${BUILD_SYMTAB_FALSE}"; then
25638
{ { echo "$as_me:$LINENO: error: conditional \"BUILD_SYMTAB\" was never defined.
25639
Usually this means the macro was only invoked conditionally." >&5
25640
echo "$as_me: error: conditional \"BUILD_SYMTAB\" was never defined.
25641
Usually this means the macro was only invoked conditionally." >&2;}
25642
{ (exit 1); exit 1; }; }
25644
if test -z "${BUILD_THREADSEARCH_TRUE}" && test -z "${BUILD_THREADSEARCH_FALSE}"; then
25645
{ { echo "$as_me:$LINENO: error: conditional \"BUILD_THREADSEARCH\" was never defined.
25646
Usually this means the macro was only invoked conditionally." >&5
25647
echo "$as_me: error: conditional \"BUILD_THREADSEARCH\" was never defined.
25648
Usually this means the macro was only invoked conditionally." >&2;}
25649
{ (exit 1); exit 1; }; }
25651
if test -z "${BUILD_WXSMITH_TRUE}" && test -z "${BUILD_WXSMITH_FALSE}"; then
25652
{ { echo "$as_me:$LINENO: error: conditional \"BUILD_WXSMITH\" was never defined.
25653
Usually this means the macro was only invoked conditionally." >&5
25654
echo "$as_me: error: conditional \"BUILD_WXSMITH\" was never defined.
25655
Usually this means the macro was only invoked conditionally." >&2;}
25656
{ (exit 1); exit 1; }; }
25658
if test -z "${BUILD_AUTOVERSIONING_TRUE}" && test -z "${BUILD_AUTOVERSIONING_FALSE}"; then
25659
{ { echo "$as_me:$LINENO: error: conditional \"BUILD_AUTOVERSIONING\" was never defined.
25660
Usually this means the macro was only invoked conditionally." >&5
25661
echo "$as_me: error: conditional \"BUILD_AUTOVERSIONING\" was never defined.
25662
Usually this means the macro was only invoked conditionally." >&2;}
25663
{ (exit 1); exit 1; }; }
25665
if test -z "${BUILD_BROWSETRACKER_TRUE}" && test -z "${BUILD_BROWSETRACKER_FALSE}"; then
25666
{ { echo "$as_me:$LINENO: error: conditional \"BUILD_BROWSETRACKER\" was never defined.
25667
Usually this means the macro was only invoked conditionally." >&5
25668
echo "$as_me: error: conditional \"BUILD_BROWSETRACKER\" was never defined.
25669
Usually this means the macro was only invoked conditionally." >&2;}
25670
{ (exit 1); exit 1; }; }
25672
if test -z "${BUILD_BYOGAMES_TRUE}" && test -z "${BUILD_BYOGAMES_FALSE}"; then
25673
{ { echo "$as_me:$LINENO: error: conditional \"BUILD_BYOGAMES\" was never defined.
25674
Usually this means the macro was only invoked conditionally." >&5
25675
echo "$as_me: error: conditional \"BUILD_BYOGAMES\" was never defined.
25676
Usually this means the macro was only invoked conditionally." >&2;}
25677
{ (exit 1); exit 1; }; }
25679
if test -z "${BUILD_CBKODERS_TRUE}" && test -z "${BUILD_CBKODERS_FALSE}"; then
25680
{ { echo "$as_me:$LINENO: error: conditional \"BUILD_CBKODERS\" was never defined.
25681
Usually this means the macro was only invoked conditionally." >&5
25682
echo "$as_me: error: conditional \"BUILD_CBKODERS\" was never defined.
25683
Usually this means the macro was only invoked conditionally." >&2;}
25684
{ (exit 1); exit 1; }; }
25686
if test -z "${BUILD_CODESNIPPETS_TRUE}" && test -z "${BUILD_CODESNIPPETS_FALSE}"; then
25687
{ { echo "$as_me:$LINENO: error: conditional \"BUILD_CODESNIPPETS\" was never defined.
25688
Usually this means the macro was only invoked conditionally." >&5
25689
echo "$as_me: error: conditional \"BUILD_CODESNIPPETS\" was never defined.
25690
Usually this means the macro was only invoked conditionally." >&2;}
25691
{ (exit 1); exit 1; }; }
25693
if test -z "${BUILD_CODESTAT_TRUE}" && test -z "${BUILD_CODESTAT_FALSE}"; then
25694
{ { echo "$as_me:$LINENO: error: conditional \"BUILD_CODESTAT\" was never defined.
25695
Usually this means the macro was only invoked conditionally." >&5
25696
echo "$as_me: error: conditional \"BUILD_CODESTAT\" was never defined.
25697
Usually this means the macro was only invoked conditionally." >&2;}
25698
{ (exit 1); exit 1; }; }
25700
if test -z "${BUILD_DRAGSCROLL_TRUE}" && test -z "${BUILD_DRAGSCROLL_FALSE}"; then
25701
{ { echo "$as_me:$LINENO: error: conditional \"BUILD_DRAGSCROLL\" was never defined.
25702
Usually this means the macro was only invoked conditionally." >&5
25703
echo "$as_me: error: conditional \"BUILD_DRAGSCROLL\" was never defined.
25704
Usually this means the macro was only invoked conditionally." >&2;}
25705
{ (exit 1); exit 1; }; }
25707
if test -z "${BUILD_ENVVARS_TRUE}" && test -z "${BUILD_ENVVARS_FALSE}"; then
25708
{ { echo "$as_me:$LINENO: error: conditional \"BUILD_ENVVARS\" was never defined.
25709
Usually this means the macro was only invoked conditionally." >&5
25710
echo "$as_me: error: conditional \"BUILD_ENVVARS\" was never defined.
25711
Usually this means the macro was only invoked conditionally." >&2;}
25712
{ (exit 1); exit 1; }; }
25714
if test -z "${BUILD_HELP_TRUE}" && test -z "${BUILD_HELP_FALSE}"; then
25715
{ { echo "$as_me:$LINENO: error: conditional \"BUILD_HELP\" was never defined.
25716
Usually this means the macro was only invoked conditionally." >&5
25717
echo "$as_me: error: conditional \"BUILD_HELP\" was never defined.
25718
Usually this means the macro was only invoked conditionally." >&2;}
25719
{ (exit 1); exit 1; }; }
25721
if test -z "${BUILD_KEYBINDER_TRUE}" && test -z "${BUILD_KEYBINDER_FALSE}"; then
25722
{ { echo "$as_me:$LINENO: error: conditional \"BUILD_KEYBINDER\" was never defined.
25723
Usually this means the macro was only invoked conditionally." >&5
25724
echo "$as_me: error: conditional \"BUILD_KEYBINDER\" was never defined.
25725
Usually this means the macro was only invoked conditionally." >&2;}
25726
{ (exit 1); exit 1; }; }
25728
if test -z "${BUILD_LIBFINDER_TRUE}" && test -z "${BUILD_LIBFINDER_FALSE}"; then
25729
{ { echo "$as_me:$LINENO: error: conditional \"BUILD_LIBFINDER\" was never defined.
25730
Usually this means the macro was only invoked conditionally." >&5
25731
echo "$as_me: error: conditional \"BUILD_LIBFINDER\" was never defined.
25732
Usually this means the macro was only invoked conditionally." >&2;}
25733
{ (exit 1); exit 1; }; }
25735
if test -z "${BUILD_PROFILER_TRUE}" && test -z "${BUILD_PROFILER_FALSE}"; then
25736
{ { echo "$as_me:$LINENO: error: conditional \"BUILD_PROFILER\" was never defined.
25737
Usually this means the macro was only invoked conditionally." >&5
25738
echo "$as_me: error: conditional \"BUILD_PROFILER\" was never defined.
25739
Usually this means the macro was only invoked conditionally." >&2;}
25740
{ (exit 1); exit 1; }; }
25742
if test -z "${BUILD_REGEX_TRUE}" && test -z "${BUILD_REGEX_FALSE}"; then
25743
{ { echo "$as_me:$LINENO: error: conditional \"BUILD_REGEX\" was never defined.
25744
Usually this means the macro was only invoked conditionally." >&5
25745
echo "$as_me: error: conditional \"BUILD_REGEX\" was never defined.
25746
Usually this means the macro was only invoked conditionally." >&2;}
25747
{ (exit 1); exit 1; }; }
25749
if test -z "${BUILD_EXPORTER_TRUE}" && test -z "${BUILD_EXPORTER_FALSE}"; then
25750
{ { echo "$as_me:$LINENO: error: conditional \"BUILD_EXPORTER\" was never defined.
25751
Usually this means the macro was only invoked conditionally." >&5
25752
echo "$as_me: error: conditional \"BUILD_EXPORTER\" was never defined.
25753
Usually this means the macro was only invoked conditionally." >&2;}
25754
{ (exit 1); exit 1; }; }
25756
if test -z "${BUILD_SYMTAB_TRUE}" && test -z "${BUILD_SYMTAB_FALSE}"; then
25757
{ { echo "$as_me:$LINENO: error: conditional \"BUILD_SYMTAB\" was never defined.
25758
Usually this means the macro was only invoked conditionally." >&5
25759
echo "$as_me: error: conditional \"BUILD_SYMTAB\" was never defined.
25760
Usually this means the macro was only invoked conditionally." >&2;}
25761
{ (exit 1); exit 1; }; }
25763
if test -z "${BUILD_THREADSEARCH_TRUE}" && test -z "${BUILD_THREADSEARCH_FALSE}"; then
25764
{ { echo "$as_me:$LINENO: error: conditional \"BUILD_THREADSEARCH\" was never defined.
25765
Usually this means the macro was only invoked conditionally." >&5
25766
echo "$as_me: error: conditional \"BUILD_THREADSEARCH\" was never defined.
25767
Usually this means the macro was only invoked conditionally." >&2;}
25768
{ (exit 1); exit 1; }; }
25770
if test -z "${BUILD_WXSMITH_TRUE}" && test -z "${BUILD_WXSMITH_FALSE}"; then
25771
{ { echo "$as_me:$LINENO: error: conditional \"BUILD_WXSMITH\" was never defined.
25772
Usually this means the macro was only invoked conditionally." >&5
25773
echo "$as_me: error: conditional \"BUILD_WXSMITH\" was never defined.
25774
Usually this means the macro was only invoked conditionally." >&2;}
25775
{ (exit 1); exit 1; }; }
25777
if test -z "${BUILD_AUTOVERSIONING_TRUE}" && test -z "${BUILD_AUTOVERSIONING_FALSE}"; then
25778
{ { echo "$as_me:$LINENO: error: conditional \"BUILD_AUTOVERSIONING\" was never defined.
25779
Usually this means the macro was only invoked conditionally." >&5
25780
echo "$as_me: error: conditional \"BUILD_AUTOVERSIONING\" was never defined.
25781
Usually this means the macro was only invoked conditionally." >&2;}
25782
{ (exit 1); exit 1; }; }
25784
if test -z "${BUILD_BROWSETRACKER_TRUE}" && test -z "${BUILD_BROWSETRACKER_FALSE}"; then
25785
{ { echo "$as_me:$LINENO: error: conditional \"BUILD_BROWSETRACKER\" was never defined.
25786
Usually this means the macro was only invoked conditionally." >&5
25787
echo "$as_me: error: conditional \"BUILD_BROWSETRACKER\" was never defined.
25788
Usually this means the macro was only invoked conditionally." >&2;}
25789
{ (exit 1); exit 1; }; }
25791
if test -z "${BUILD_BYOGAMES_TRUE}" && test -z "${BUILD_BYOGAMES_FALSE}"; then
25792
{ { echo "$as_me:$LINENO: error: conditional \"BUILD_BYOGAMES\" was never defined.
25793
Usually this means the macro was only invoked conditionally." >&5
25794
echo "$as_me: error: conditional \"BUILD_BYOGAMES\" was never defined.
25795
Usually this means the macro was only invoked conditionally." >&2;}
25796
{ (exit 1); exit 1; }; }
25798
if test -z "${BUILD_CBKODERS_TRUE}" && test -z "${BUILD_CBKODERS_FALSE}"; then
25799
{ { echo "$as_me:$LINENO: error: conditional \"BUILD_CBKODERS\" was never defined.
25800
Usually this means the macro was only invoked conditionally." >&5
25801
echo "$as_me: error: conditional \"BUILD_CBKODERS\" was never defined.
25802
Usually this means the macro was only invoked conditionally." >&2;}
25803
{ (exit 1); exit 1; }; }
25805
if test -z "${BUILD_CODESNIPPETS_TRUE}" && test -z "${BUILD_CODESNIPPETS_FALSE}"; then
25806
{ { echo "$as_me:$LINENO: error: conditional \"BUILD_CODESNIPPETS\" was never defined.
25807
Usually this means the macro was only invoked conditionally." >&5
25808
echo "$as_me: error: conditional \"BUILD_CODESNIPPETS\" was never defined.
25809
Usually this means the macro was only invoked conditionally." >&2;}
25810
{ (exit 1); exit 1; }; }
25812
if test -z "${BUILD_CODESTAT_TRUE}" && test -z "${BUILD_CODESTAT_FALSE}"; then
25813
{ { echo "$as_me:$LINENO: error: conditional \"BUILD_CODESTAT\" was never defined.
25814
Usually this means the macro was only invoked conditionally." >&5
25815
echo "$as_me: error: conditional \"BUILD_CODESTAT\" was never defined.
25816
Usually this means the macro was only invoked conditionally." >&2;}
25817
{ (exit 1); exit 1; }; }
25819
if test -z "${BUILD_DRAGSCROLL_TRUE}" && test -z "${BUILD_DRAGSCROLL_FALSE}"; then
25820
{ { echo "$as_me:$LINENO: error: conditional \"BUILD_DRAGSCROLL\" was never defined.
25821
Usually this means the macro was only invoked conditionally." >&5
25822
echo "$as_me: error: conditional \"BUILD_DRAGSCROLL\" was never defined.
25823
Usually this means the macro was only invoked conditionally." >&2;}
25824
{ (exit 1); exit 1; }; }
25826
if test -z "${BUILD_ENVVARS_TRUE}" && test -z "${BUILD_ENVVARS_FALSE}"; then
25827
{ { echo "$as_me:$LINENO: error: conditional \"BUILD_ENVVARS\" was never defined.
25828
Usually this means the macro was only invoked conditionally." >&5
25829
echo "$as_me: error: conditional \"BUILD_ENVVARS\" was never defined.
25830
Usually this means the macro was only invoked conditionally." >&2;}
25831
{ (exit 1); exit 1; }; }
25833
if test -z "${BUILD_HELP_TRUE}" && test -z "${BUILD_HELP_FALSE}"; then
25834
{ { echo "$as_me:$LINENO: error: conditional \"BUILD_HELP\" was never defined.
25835
Usually this means the macro was only invoked conditionally." >&5
25836
echo "$as_me: error: conditional \"BUILD_HELP\" was never defined.
25837
Usually this means the macro was only invoked conditionally." >&2;}
25838
{ (exit 1); exit 1; }; }
25840
if test -z "${BUILD_KEYBINDER_TRUE}" && test -z "${BUILD_KEYBINDER_FALSE}"; then
25841
{ { echo "$as_me:$LINENO: error: conditional \"BUILD_KEYBINDER\" was never defined.
25842
Usually this means the macro was only invoked conditionally." >&5
25843
echo "$as_me: error: conditional \"BUILD_KEYBINDER\" was never defined.
25844
Usually this means the macro was only invoked conditionally." >&2;}
25845
{ (exit 1); exit 1; }; }
25847
if test -z "${BUILD_LIBFINDER_TRUE}" && test -z "${BUILD_LIBFINDER_FALSE}"; then
25848
{ { echo "$as_me:$LINENO: error: conditional \"BUILD_LIBFINDER\" was never defined.
25849
Usually this means the macro was only invoked conditionally." >&5
25850
echo "$as_me: error: conditional \"BUILD_LIBFINDER\" was never defined.
25851
Usually this means the macro was only invoked conditionally." >&2;}
25852
{ (exit 1); exit 1; }; }
25854
if test -z "${BUILD_PROFILER_TRUE}" && test -z "${BUILD_PROFILER_FALSE}"; then
25855
{ { echo "$as_me:$LINENO: error: conditional \"BUILD_PROFILER\" was never defined.
25856
Usually this means the macro was only invoked conditionally." >&5
25857
echo "$as_me: error: conditional \"BUILD_PROFILER\" was never defined.
25858
Usually this means the macro was only invoked conditionally." >&2;}
25859
{ (exit 1); exit 1; }; }
25861
if test -z "${BUILD_REGEX_TRUE}" && test -z "${BUILD_REGEX_FALSE}"; then
25862
{ { echo "$as_me:$LINENO: error: conditional \"BUILD_REGEX\" was never defined.
25863
Usually this means the macro was only invoked conditionally." >&5
25864
echo "$as_me: error: conditional \"BUILD_REGEX\" was never defined.
25865
Usually this means the macro was only invoked conditionally." >&2;}
25866
{ (exit 1); exit 1; }; }
25868
if test -z "${BUILD_EXPORTER_TRUE}" && test -z "${BUILD_EXPORTER_FALSE}"; then
25869
{ { echo "$as_me:$LINENO: error: conditional \"BUILD_EXPORTER\" was never defined.
25870
Usually this means the macro was only invoked conditionally." >&5
25871
echo "$as_me: error: conditional \"BUILD_EXPORTER\" was never defined.
25872
Usually this means the macro was only invoked conditionally." >&2;}
25873
{ (exit 1); exit 1; }; }
25875
if test -z "${BUILD_SYMTAB_TRUE}" && test -z "${BUILD_SYMTAB_FALSE}"; then
25876
{ { echo "$as_me:$LINENO: error: conditional \"BUILD_SYMTAB\" was never defined.
25877
Usually this means the macro was only invoked conditionally." >&5
25878
echo "$as_me: error: conditional \"BUILD_SYMTAB\" was never defined.
25879
Usually this means the macro was only invoked conditionally." >&2;}
25880
{ (exit 1); exit 1; }; }
25882
if test -z "${BUILD_THREADSEARCH_TRUE}" && test -z "${BUILD_THREADSEARCH_FALSE}"; then
25883
{ { echo "$as_me:$LINENO: error: conditional \"BUILD_THREADSEARCH\" was never defined.
25884
Usually this means the macro was only invoked conditionally." >&5
25885
echo "$as_me: error: conditional \"BUILD_THREADSEARCH\" was never defined.
25886
Usually this means the macro was only invoked conditionally." >&2;}
25887
{ (exit 1); exit 1; }; }
25889
if test -z "${BUILD_WXSMITH_TRUE}" && test -z "${BUILD_WXSMITH_FALSE}"; then
25890
{ { echo "$as_me:$LINENO: error: conditional \"BUILD_WXSMITH\" was never defined.
25891
Usually this means the macro was only invoked conditionally." >&5
25892
echo "$as_me: error: conditional \"BUILD_WXSMITH\" was never defined.
25893
Usually this means the macro was only invoked conditionally." >&2;}
25894
{ (exit 1); exit 1; }; }
25896
if test -z "${PRECOMPILE_HEADERS_TRUE}" && test -z "${PRECOMPILE_HEADERS_FALSE}"; then
25897
{ { echo "$as_me:$LINENO: error: conditional \"PRECOMPILE_HEADERS\" was never defined.
25898
Usually this means the macro was only invoked conditionally." >&5
25899
echo "$as_me: error: conditional \"PRECOMPILE_HEADERS\" was never defined.
25900
Usually this means the macro was only invoked conditionally." >&2;}
25901
{ (exit 1); exit 1; }; }
25903
if test -z "${PRECOMPILE_HEADERS_TRUE}" && test -z "${PRECOMPILE_HEADERS_FALSE}"; then
25904
{ { echo "$as_me:$LINENO: error: conditional \"PRECOMPILE_HEADERS\" was never defined.
25905
Usually this means the macro was only invoked conditionally." >&5
25906
echo "$as_me: error: conditional \"PRECOMPILE_HEADERS\" was never defined.
25907
Usually this means the macro was only invoked conditionally." >&2;}
25908
{ (exit 1); exit 1; }; }
25910
if test -z "${LINUX_TRUE}" && test -z "${LINUX_FALSE}"; then
25911
{ { echo "$as_me:$LINENO: error: conditional \"LINUX\" was never defined.
25912
Usually this means the macro was only invoked conditionally." >&5
25913
echo "$as_me: error: conditional \"LINUX\" was never defined.
25914
Usually this means the macro was only invoked conditionally." >&2;}
25915
{ (exit 1); exit 1; }; }
25917
if test -z "${DARWIN_TRUE}" && test -z "${DARWIN_FALSE}"; then
25918
{ { echo "$as_me:$LINENO: error: conditional \"DARWIN\" was never defined.
25919
Usually this means the macro was only invoked conditionally." >&5
25920
echo "$as_me: error: conditional \"DARWIN\" was never defined.
25921
Usually this means the macro was only invoked conditionally." >&2;}
25922
{ (exit 1); exit 1; }; }
25925
: ${CONFIG_STATUS=./config.status}
25926
ac_clean_files_save=$ac_clean_files
25927
ac_clean_files="$ac_clean_files $CONFIG_STATUS"
25928
{ echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
25929
echo "$as_me: creating $CONFIG_STATUS" >&6;}
25930
cat >$CONFIG_STATUS <<_ACEOF
25932
# Generated by $as_me.
25933
# Run this file to recreate the current configuration.
25934
# Compiler output produced by configure, useful for debugging
25935
# configure, is in config.log if it exists.
25938
ac_cs_recheck=false
25940
SHELL=\${CONFIG_SHELL-$SHELL}
25943
cat >>$CONFIG_STATUS <<\_ACEOF
25944
## --------------------- ##
25945
## M4sh Initialization. ##
25946
## --------------------- ##
25948
# Be more Bourne compatible
25949
DUALCASE=1; export DUALCASE # for MKS sh
25950
if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
25953
# Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
25954
# is contrary to our usage. Disable this feature.
25955
alias -g '${1+"$@"}'='"$@"'
25956
setopt NO_GLOB_SUBST
25958
case `(set -o) 2>/dev/null` in
25959
*posix*) set -o posix ;;
25968
# Avoid depending upon Character Ranges.
25969
as_cr_letters='abcdefghijklmnopqrstuvwxyz'
25970
as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
25971
as_cr_Letters=$as_cr_letters$as_cr_LETTERS
25972
as_cr_digits='0123456789'
25973
as_cr_alnum=$as_cr_Letters$as_cr_digits
25975
# The user is always right.
25976
if test "${PATH_SEPARATOR+set}" != set; then
25977
echo "#! /bin/sh" >conf$$.sh
25978
echo "exit 0" >>conf$$.sh
25980
if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
25988
# Support unset when possible.
25989
if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
25997
# We need space, tab and new line, in precisely that order. Quoting is
25998
# there to prevent editors from complaining about space-tab.
25999
# (If _AS_PATH_WALK were called with IFS unset, it would disable word
26000
# splitting by setting IFS to empty value.)
26005
# Find who we are. Look in the path if we contain no directory separator.
26007
*[\\/]* ) as_myself=$0 ;;
26008
*) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
26009
for as_dir in $PATH
26012
test -z "$as_dir" && as_dir=.
26013
test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
26019
# We did not find ourselves, most probably we were run as `sh COMMAND'
26020
# in which case we are not to be found in the path.
26021
if test "x$as_myself" = x; then
26024
if test ! -f "$as_myself"; then
26025
echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
26026
{ (exit 1); exit 1; }
26029
# Work around bugs in pre-3.0 UWIN ksh.
26030
for as_var in ENV MAIL MAILPATH
26031
do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
26039
LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
26040
LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
26041
LC_TELEPHONE LC_TIME
26043
if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
26044
eval $as_var=C; export $as_var
26046
($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
26050
# Required to use basename.
26051
if expr a : '\(a\)' >/dev/null 2>&1 &&
26052
test "X`expr 00001 : '.*\(...\)'`" = X001; then
26058
if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
26059
as_basename=basename
26065
# Name of the executable.
26066
as_me=`$as_basename -- "$0" ||
26067
$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
26068
X"$0" : 'X\(//\)$' \| \
26069
X"$0" : 'X\(/\)' \| . 2>/dev/null ||
26071
sed '/^.*\/\([^/][^/]*\)\/*$/{
26090
as_lineno_1=$LINENO
26091
as_lineno_2=$LINENO
26092
test "x$as_lineno_1" != "x$as_lineno_2" &&
26093
test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" || {
26095
# Create $as_me.lineno as a copy of $as_myself, but with $LINENO
26096
# uniformly replaced by the line number. The first 'sed' inserts a
26097
# line-number line after each line using $LINENO; the second 'sed'
26098
# does the real work. The second script uses 'N' to pair each
26099
# line-number line with the line containing $LINENO, and appends
26100
# trailing '-' during substitution so that $LINENO is not a special
26101
# case at line end.
26102
# (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
26103
# scripts with optimization help from Paolo Bonzini. Blame Lee
26104
# E. McMahon (1931-1989) for sed's syntax. :-)
26116
s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
26119
' >$as_me.lineno &&
26120
chmod +x "$as_me.lineno" ||
26121
{ echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
26122
{ (exit 1); exit 1; }; }
26124
# Don't try to exec as it changes $[0], causing all sort of problems
26125
# (the dirname of $[0] is not the place where we might find the
26126
# original and so on. Autoconf is especially sensitive to this).
26127
. "./$as_me.lineno"
26128
# Exit status is that of the last command.
26133
if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
26139
ECHO_C= ECHO_N= ECHO_T=
26140
case `echo -n x` in
26142
case `echo 'x\c'` in
26143
*c*) ECHO_T=' ';; # ECHO_T is single tab character.
26150
if expr a : '\(a\)' >/dev/null 2>&1 &&
26151
test "X`expr 00001 : '.*\(...\)'`" = X001; then
26157
rm -f conf$$ conf$$.exe conf$$.file
26158
if test -d conf$$.dir; then
26159
rm -f conf$$.dir/conf$$.file
26165
if ln -s conf$$.file conf$$ 2>/dev/null; then
26167
# ... but there are two gotchas:
26168
# 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
26169
# 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
26170
# In both cases, we have to default to `cp -p'.
26171
ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
26173
elif ln conf$$.file conf$$ 2>/dev/null; then
26178
rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
26179
rmdir conf$$.dir 2>/dev/null
26181
if mkdir -p . 2>/dev/null; then
26184
test -d ./-p && rmdir ./-p
26188
if test -x / >/dev/null 2>&1; then
26189
as_test_x='test -x'
26191
if ls -dL / >/dev/null 2>&1; then
26198
if test -d "$1"; then
26204
case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in
26205
???[sx]*):;;*)false;;esac;fi
26209
as_executable_p=$as_test_x
26211
# Sed expression to map a string onto a valid CPP name.
26212
as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
26214
# Sed expression to map a string onto a valid variable name.
26215
as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
26220
# Save the log message, to keep $[0] and so on meaningful, and to
26221
# report actual input values of CONFIG_FILES etc. instead of their
26222
# values after options handling.
26224
This file was extended by codeblocks $as_me 1.0svn, which was
26225
generated by GNU Autoconf 2.61. Invocation command line was
26227
CONFIG_FILES = $CONFIG_FILES
26228
CONFIG_HEADERS = $CONFIG_HEADERS
26229
CONFIG_LINKS = $CONFIG_LINKS
26230
CONFIG_COMMANDS = $CONFIG_COMMANDS
26233
on `(hostname || uname -n) 2>/dev/null | sed 1q`
26238
cat >>$CONFIG_STATUS <<_ACEOF
26239
# Files that config.status was made for.
26240
config_files="$ac_config_files"
26241
config_headers="$ac_config_headers"
26242
config_commands="$ac_config_commands"
26246
cat >>$CONFIG_STATUS <<\_ACEOF
26248
\`$as_me' instantiates files from templates according to the
26249
current configuration.
26251
Usage: $0 [OPTIONS] [FILE]...
26253
-h, --help print this help, then exit
26254
-V, --version print version number and configuration settings, then exit
26255
-q, --quiet do not print progress messages
26256
-d, --debug don't remove temporary files
26257
--recheck update $as_me by reconfiguring in the same conditions
26258
--file=FILE[:TEMPLATE]
26259
instantiate the configuration file FILE
26260
--header=FILE[:TEMPLATE]
26261
instantiate the configuration header FILE
26263
Configuration files:
26266
Configuration headers:
26269
Configuration commands:
26272
Report bugs to <bug-autoconf@gnu.org>."
26275
cat >>$CONFIG_STATUS <<_ACEOF
26277
codeblocks config.status 1.0svn
26278
configured by $0, generated by GNU Autoconf 2.61,
26279
with options \\"`echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`\\"
26281
Copyright (C) 2006 Free Software Foundation, Inc.
26282
This config.status script is free software; the Free Software Foundation
26283
gives unlimited permission to copy, distribute and modify it."
26291
cat >>$CONFIG_STATUS <<\_ACEOF
26292
# If no file are specified by the user, then we need to provide default
26293
# value. By we need to know if files were specified by the user.
26299
ac_option=`expr "X$1" : 'X\([^=]*\)='`
26300
ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
26311
# Handling of the options.
26312
-recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
26314
--version | --versio | --versi | --vers | --ver | --ve | --v | -V )
26315
echo "$ac_cs_version"; exit ;;
26316
--debug | --debu | --deb | --de | --d | -d )
26318
--file | --fil | --fi | --f )
26320
CONFIG_FILES="$CONFIG_FILES $ac_optarg"
26321
ac_need_defaults=false;;
26322
--header | --heade | --head | --hea )
26324
CONFIG_HEADERS="$CONFIG_HEADERS $ac_optarg"
26325
ac_need_defaults=false;;
26327
# Conflict between --help and --header
26328
{ echo "$as_me: error: ambiguous option: $1
26329
Try \`$0 --help' for more information." >&2
26330
{ (exit 1); exit 1; }; };;
26331
--help | --hel | -h )
26332
echo "$ac_cs_usage"; exit ;;
26333
-q | -quiet | --quiet | --quie | --qui | --qu | --q \
26334
| -silent | --silent | --silen | --sile | --sil | --si | --s)
26337
# This is an error.
26338
-*) { echo "$as_me: error: unrecognized option: $1
26339
Try \`$0 --help' for more information." >&2
26340
{ (exit 1); exit 1; }; } ;;
26342
*) ac_config_targets="$ac_config_targets $1"
26343
ac_need_defaults=false ;;
26349
ac_configure_extra_args=
26351
if $ac_cs_silent; then
26353
ac_configure_extra_args="$ac_configure_extra_args --silent"
26357
cat >>$CONFIG_STATUS <<_ACEOF
26358
if \$ac_cs_recheck; then
26359
echo "running CONFIG_SHELL=$SHELL $SHELL $0 "$ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6
26360
CONFIG_SHELL=$SHELL
26361
export CONFIG_SHELL
26362
exec $SHELL "$0"$ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
26366
cat >>$CONFIG_STATUS <<\_ACEOF
26370
sed 'h;s/./-/g;s/^.../@%:@@%:@ /;s/...$/ @%:@@%:@/;p;x;p;x' <<_ASBOX
26371
@%:@@%:@ Running $as_me. @%:@@%:@
26377
cat >>$CONFIG_STATUS <<_ACEOF
26381
AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
26385
cat >>$CONFIG_STATUS <<\_ACEOF
26387
# Handling of arguments.
26388
for ac_config_target in $ac_config_targets
26390
case $ac_config_target in
26391
"src/include/config.h") CONFIG_HEADERS="$CONFIG_HEADERS src/include/config.h" ;;
26392
"depfiles") CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;;
26393
"Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
26394
"src/Makefile") CONFIG_FILES="$CONFIG_FILES src/Makefile" ;;
26395
"src/base/Makefile") CONFIG_FILES="$CONFIG_FILES src/base/Makefile" ;;
26396
"src/base/tinyxml/Makefile") CONFIG_FILES="$CONFIG_FILES src/base/tinyxml/Makefile" ;;
26397
"src/build_tools/Makefile") CONFIG_FILES="$CONFIG_FILES src/build_tools/Makefile" ;;
26398
"src/build_tools/autorevision/Makefile") CONFIG_FILES="$CONFIG_FILES src/build_tools/autorevision/Makefile" ;;
26399
"src/include/autorevision.h") CONFIG_FILES="$CONFIG_FILES src/include/autorevision.h" ;;
26400
"src/include/Makefile") CONFIG_FILES="$CONFIG_FILES src/include/Makefile" ;;
26401
"src/include/scripting/Makefile") CONFIG_FILES="$CONFIG_FILES src/include/scripting/Makefile" ;;
26402
"src/include/scripting/bindings/Makefile") CONFIG_FILES="$CONFIG_FILES src/include/scripting/bindings/Makefile" ;;
26403
"src/include/scripting/include/Makefile") CONFIG_FILES="$CONFIG_FILES src/include/scripting/include/Makefile" ;;
26404
"src/include/scripting/sqplus/Makefile") CONFIG_FILES="$CONFIG_FILES src/include/scripting/sqplus/Makefile" ;;
26405
"src/include/scripting/sqstdlib/Makefile") CONFIG_FILES="$CONFIG_FILES src/include/scripting/sqstdlib/Makefile" ;;
26406
"src/include/scripting/squirrel/Makefile") CONFIG_FILES="$CONFIG_FILES src/include/scripting/squirrel/Makefile" ;;
26407
"src/include/tinyxml/Makefile") CONFIG_FILES="$CONFIG_FILES src/include/tinyxml/Makefile" ;;
26408
"src/include/wxFlatNotebook/Makefile") CONFIG_FILES="$CONFIG_FILES src/include/wxFlatNotebook/Makefile" ;;
26409
"src/include/wxscintilla/Makefile") CONFIG_FILES="$CONFIG_FILES src/include/wxscintilla/Makefile" ;;
26410
"src/sdk/Makefile") CONFIG_FILES="$CONFIG_FILES src/sdk/Makefile" ;;
26411
"src/sdk/scripting/Makefile") CONFIG_FILES="$CONFIG_FILES src/sdk/scripting/Makefile" ;;
26412
"src/sdk/scripting/bindings/Makefile") CONFIG_FILES="$CONFIG_FILES src/sdk/scripting/bindings/Makefile" ;;
26413
"src/sdk/scripting/squirrel/Makefile") CONFIG_FILES="$CONFIG_FILES src/sdk/scripting/squirrel/Makefile" ;;
26414
"src/sdk/scripting/sqstdlib/Makefile") CONFIG_FILES="$CONFIG_FILES src/sdk/scripting/sqstdlib/Makefile" ;;
26415
"src/sdk/scripting/sqplus/Makefile") CONFIG_FILES="$CONFIG_FILES src/sdk/scripting/sqplus/Makefile" ;;
26416
"src/sdk/wxscintilla/Makefile") CONFIG_FILES="$CONFIG_FILES src/sdk/wxscintilla/Makefile" ;;
26417
"src/sdk/wxFlatNotebook/Makefile") CONFIG_FILES="$CONFIG_FILES src/sdk/wxFlatNotebook/Makefile" ;;
26418
"src/sdk/resources/Makefile") CONFIG_FILES="$CONFIG_FILES src/sdk/resources/Makefile" ;;
26419
"src/sdk/resources/lexers/Makefile") CONFIG_FILES="$CONFIG_FILES src/sdk/resources/lexers/Makefile" ;;
26420
"src/src/wxAUI/Makefile") CONFIG_FILES="$CONFIG_FILES src/src/wxAUI/Makefile" ;;
26421
"src/src/resources/Makefile") CONFIG_FILES="$CONFIG_FILES src/src/resources/Makefile" ;;
26422
"src/src/resources/icons/Makefile") CONFIG_FILES="$CONFIG_FILES src/src/resources/icons/Makefile" ;;
26423
"src/src/resources/images/Makefile") CONFIG_FILES="$CONFIG_FILES src/src/resources/images/Makefile" ;;
26424
"src/src/resources/images/16x16/Makefile") CONFIG_FILES="$CONFIG_FILES src/src/resources/images/16x16/Makefile" ;;
26425
"src/src/resources/images/settings/Makefile") CONFIG_FILES="$CONFIG_FILES src/src/resources/images/settings/Makefile" ;;
26426
"src/src/Makefile") CONFIG_FILES="$CONFIG_FILES src/src/Makefile" ;;
26427
"src/plugins/Makefile") CONFIG_FILES="$CONFIG_FILES src/plugins/Makefile" ;;
26428
"src/plugins/astyle/Makefile") CONFIG_FILES="$CONFIG_FILES src/plugins/astyle/Makefile" ;;
26429
"src/plugins/astyle/resources/Makefile") CONFIG_FILES="$CONFIG_FILES src/plugins/astyle/resources/Makefile" ;;
26430
"src/plugins/autosave/Makefile") CONFIG_FILES="$CONFIG_FILES src/plugins/autosave/Makefile" ;;
26431
"src/plugins/classwizard/Makefile") CONFIG_FILES="$CONFIG_FILES src/plugins/classwizard/Makefile" ;;
26432
"src/plugins/classwizard/resources/Makefile") CONFIG_FILES="$CONFIG_FILES src/plugins/classwizard/resources/Makefile" ;;
26433
"src/plugins/codecompletion/Makefile") CONFIG_FILES="$CONFIG_FILES src/plugins/codecompletion/Makefile" ;;
26434
"src/plugins/codecompletion/resources/Makefile") CONFIG_FILES="$CONFIG_FILES src/plugins/codecompletion/resources/Makefile" ;;
26435
"src/plugins/compilergcc/Makefile") CONFIG_FILES="$CONFIG_FILES src/plugins/compilergcc/Makefile" ;;
26436
"src/plugins/compilergcc/depslib/Makefile") CONFIG_FILES="$CONFIG_FILES src/plugins/compilergcc/depslib/Makefile" ;;
26437
"src/plugins/compilergcc/depslib/src/Makefile") CONFIG_FILES="$CONFIG_FILES src/plugins/compilergcc/depslib/src/Makefile" ;;
26438
"src/plugins/compilergcc/resources/Makefile") CONFIG_FILES="$CONFIG_FILES src/plugins/compilergcc/resources/Makefile" ;;
26439
"src/plugins/debuggergdb/Makefile") CONFIG_FILES="$CONFIG_FILES src/plugins/debuggergdb/Makefile" ;;
26440
"src/plugins/debuggergdb/resources/Makefile") CONFIG_FILES="$CONFIG_FILES src/plugins/debuggergdb/resources/Makefile" ;;
26441
"src/plugins/debuggergdb/resources/images/Makefile") CONFIG_FILES="$CONFIG_FILES src/plugins/debuggergdb/resources/images/Makefile" ;;
26442
"src/plugins/debuggergdb/resources/images/16x16/Makefile") CONFIG_FILES="$CONFIG_FILES src/plugins/debuggergdb/resources/images/16x16/Makefile" ;;
26443
"src/plugins/defaultmimehandler/Makefile") CONFIG_FILES="$CONFIG_FILES src/plugins/defaultmimehandler/Makefile" ;;
26444
"src/plugins/defaultmimehandler/resources/Makefile") CONFIG_FILES="$CONFIG_FILES src/plugins/defaultmimehandler/resources/Makefile" ;;
26445
"src/plugins/openfileslist/Makefile") CONFIG_FILES="$CONFIG_FILES src/plugins/openfileslist/Makefile" ;;
26446
"src/plugins/projectsimporter/Makefile") CONFIG_FILES="$CONFIG_FILES src/plugins/projectsimporter/Makefile" ;;
26447
"src/plugins/projectsimporter/resources/Makefile") CONFIG_FILES="$CONFIG_FILES src/plugins/projectsimporter/resources/Makefile" ;;
26448
"src/plugins/scriptedwizard/Makefile") CONFIG_FILES="$CONFIG_FILES src/plugins/scriptedwizard/Makefile" ;;
26449
"src/plugins/scriptedwizard/resources/Makefile") CONFIG_FILES="$CONFIG_FILES src/plugins/scriptedwizard/resources/Makefile" ;;
26450
"src/plugins/scriptedwizard/resources/avr/Makefile") CONFIG_FILES="$CONFIG_FILES src/plugins/scriptedwizard/resources/avr/Makefile" ;;
26451
"src/plugins/scriptedwizard/resources/avr/files/Makefile") CONFIG_FILES="$CONFIG_FILES src/plugins/scriptedwizard/resources/avr/files/Makefile" ;;
26452
"src/plugins/scriptedwizard/resources/c_file/Makefile") CONFIG_FILES="$CONFIG_FILES src/plugins/scriptedwizard/resources/c_file/Makefile" ;;
26453
"src/plugins/scriptedwizard/resources/console/Makefile") CONFIG_FILES="$CONFIG_FILES src/plugins/scriptedwizard/resources/console/Makefile" ;;
26454
"src/plugins/scriptedwizard/resources/console/c/Makefile") CONFIG_FILES="$CONFIG_FILES src/plugins/scriptedwizard/resources/console/c/Makefile" ;;
26455
"src/plugins/scriptedwizard/resources/console/cpp/Makefile") CONFIG_FILES="$CONFIG_FILES src/plugins/scriptedwizard/resources/console/cpp/Makefile" ;;
26456
"src/plugins/scriptedwizard/resources/d/Makefile") CONFIG_FILES="$CONFIG_FILES src/plugins/scriptedwizard/resources/d/Makefile" ;;
26457
"src/plugins/scriptedwizard/resources/d/console/Makefile") CONFIG_FILES="$CONFIG_FILES src/plugins/scriptedwizard/resources/d/console/Makefile" ;;
26458
"src/plugins/scriptedwizard/resources/directx/Makefile") CONFIG_FILES="$CONFIG_FILES src/plugins/scriptedwizard/resources/directx/Makefile" ;;
26459
"src/plugins/scriptedwizard/resources/directx/files/Makefile") CONFIG_FILES="$CONFIG_FILES src/plugins/scriptedwizard/resources/directx/files/Makefile" ;;
26460
"src/plugins/scriptedwizard/resources/dll/Makefile") CONFIG_FILES="$CONFIG_FILES src/plugins/scriptedwizard/resources/dll/Makefile" ;;
26461
"src/plugins/scriptedwizard/resources/dll/files/Makefile") CONFIG_FILES="$CONFIG_FILES src/plugins/scriptedwizard/resources/dll/files/Makefile" ;;
26462
"src/plugins/scriptedwizard/resources/empty/Makefile") CONFIG_FILES="$CONFIG_FILES src/plugins/scriptedwizard/resources/empty/Makefile" ;;
26463
"src/plugins/scriptedwizard/resources/empty_file/Makefile") CONFIG_FILES="$CONFIG_FILES src/plugins/scriptedwizard/resources/empty_file/Makefile" ;;
26464
"src/plugins/scriptedwizard/resources/fltk/Makefile") CONFIG_FILES="$CONFIG_FILES src/plugins/scriptedwizard/resources/fltk/Makefile" ;;
26465
"src/plugins/scriptedwizard/resources/fltk/files/Makefile") CONFIG_FILES="$CONFIG_FILES src/plugins/scriptedwizard/resources/fltk/files/Makefile" ;;
26466
"src/plugins/scriptedwizard/resources/fltk/fluid/Makefile") CONFIG_FILES="$CONFIG_FILES src/plugins/scriptedwizard/resources/fltk/fluid/Makefile" ;;
26467
"src/plugins/scriptedwizard/resources/glfw/Makefile") CONFIG_FILES="$CONFIG_FILES src/plugins/scriptedwizard/resources/glfw/Makefile" ;;
26468
"src/plugins/scriptedwizard/resources/glfw/files/Makefile") CONFIG_FILES="$CONFIG_FILES src/plugins/scriptedwizard/resources/glfw/files/Makefile" ;;
26469
"src/plugins/scriptedwizard/resources/glut/Makefile") CONFIG_FILES="$CONFIG_FILES src/plugins/scriptedwizard/resources/glut/Makefile" ;;
26470
"src/plugins/scriptedwizard/resources/glut/files/Makefile") CONFIG_FILES="$CONFIG_FILES src/plugins/scriptedwizard/resources/glut/files/Makefile" ;;
26471
"src/plugins/scriptedwizard/resources/gtk/Makefile") CONFIG_FILES="$CONFIG_FILES src/plugins/scriptedwizard/resources/gtk/Makefile" ;;
26472
"src/plugins/scriptedwizard/resources/gtk/files/Makefile") CONFIG_FILES="$CONFIG_FILES src/plugins/scriptedwizard/resources/gtk/files/Makefile" ;;
26473
"src/plugins/scriptedwizard/resources/h_file/Makefile") CONFIG_FILES="$CONFIG_FILES src/plugins/scriptedwizard/resources/h_file/Makefile" ;;
26474
"src/plugins/scriptedwizard/resources/irrlicht/Makefile") CONFIG_FILES="$CONFIG_FILES src/plugins/scriptedwizard/resources/irrlicht/Makefile" ;;
26475
"src/plugins/scriptedwizard/resources/irrlicht/files/Makefile") CONFIG_FILES="$CONFIG_FILES src/plugins/scriptedwizard/resources/irrlicht/files/Makefile" ;;
26476
"src/plugins/scriptedwizard/resources/lf/Makefile") CONFIG_FILES="$CONFIG_FILES src/plugins/scriptedwizard/resources/lf/Makefile" ;;
26477
"src/plugins/scriptedwizard/resources/lf/files/Makefile") CONFIG_FILES="$CONFIG_FILES src/plugins/scriptedwizard/resources/lf/files/Makefile" ;;
26478
"src/plugins/scriptedwizard/resources/lf/files/quick/Makefile") CONFIG_FILES="$CONFIG_FILES src/plugins/scriptedwizard/resources/lf/files/quick/Makefile" ;;
26479
"src/plugins/scriptedwizard/resources/lf/files/structured/Makefile") CONFIG_FILES="$CONFIG_FILES src/plugins/scriptedwizard/resources/lf/files/structured/Makefile" ;;
26480
"src/plugins/scriptedwizard/resources/ogre/Makefile") CONFIG_FILES="$CONFIG_FILES src/plugins/scriptedwizard/resources/ogre/Makefile" ;;
26481
"src/plugins/scriptedwizard/resources/ogre/files/Makefile") CONFIG_FILES="$CONFIG_FILES src/plugins/scriptedwizard/resources/ogre/files/Makefile" ;;
26482
"src/plugins/scriptedwizard/resources/opengl/Makefile") CONFIG_FILES="$CONFIG_FILES src/plugins/scriptedwizard/resources/opengl/Makefile" ;;
26483
"src/plugins/scriptedwizard/resources/opengl/files_unix/Makefile") CONFIG_FILES="$CONFIG_FILES src/plugins/scriptedwizard/resources/opengl/files_unix/Makefile" ;;
26484
"src/plugins/scriptedwizard/resources/opengl/files_win/Makefile") CONFIG_FILES="$CONFIG_FILES src/plugins/scriptedwizard/resources/opengl/files_win/Makefile" ;;
26485
"src/plugins/scriptedwizard/resources/qt4/Makefile") CONFIG_FILES="$CONFIG_FILES src/plugins/scriptedwizard/resources/qt4/Makefile" ;;
26486
"src/plugins/scriptedwizard/resources/qt4/files/Makefile") CONFIG_FILES="$CONFIG_FILES src/plugins/scriptedwizard/resources/qt4/files/Makefile" ;;
26487
"src/plugins/scriptedwizard/resources/sdl/Makefile") CONFIG_FILES="$CONFIG_FILES src/plugins/scriptedwizard/resources/sdl/Makefile" ;;
26488
"src/plugins/scriptedwizard/resources/sdl/files/Makefile") CONFIG_FILES="$CONFIG_FILES src/plugins/scriptedwizard/resources/sdl/files/Makefile" ;;
26489
"src/plugins/scriptedwizard/resources/plugins/Makefile") CONFIG_FILES="$CONFIG_FILES src/plugins/scriptedwizard/resources/plugins/Makefile" ;;
26490
"src/plugins/scriptedwizard/resources/plugins/templates/Makefile") CONFIG_FILES="$CONFIG_FILES src/plugins/scriptedwizard/resources/plugins/templates/Makefile" ;;
26491
"src/plugins/scriptedwizard/resources/smartwin/Makefile") CONFIG_FILES="$CONFIG_FILES src/plugins/scriptedwizard/resources/smartwin/Makefile" ;;
26492
"src/plugins/scriptedwizard/resources/smartwin/files/Makefile") CONFIG_FILES="$CONFIG_FILES src/plugins/scriptedwizard/resources/smartwin/files/Makefile" ;;
26493
"src/plugins/scriptedwizard/resources/staticlib/Makefile") CONFIG_FILES="$CONFIG_FILES src/plugins/scriptedwizard/resources/staticlib/Makefile" ;;
26494
"src/plugins/scriptedwizard/resources/staticlib/files/Makefile") CONFIG_FILES="$CONFIG_FILES src/plugins/scriptedwizard/resources/staticlib/files/Makefile" ;;
26495
"src/plugins/scriptedwizard/resources/sharedlib/Makefile") CONFIG_FILES="$CONFIG_FILES src/plugins/scriptedwizard/resources/sharedlib/Makefile" ;;
26496
"src/plugins/scriptedwizard/resources/sharedlib/files/Makefile") CONFIG_FILES="$CONFIG_FILES src/plugins/scriptedwizard/resources/sharedlib/files/Makefile" ;;
26497
"src/plugins/scriptedwizard/resources/sys/Makefile") CONFIG_FILES="$CONFIG_FILES src/plugins/scriptedwizard/resources/sys/Makefile" ;;
26498
"src/plugins/scriptedwizard/resources/sys/files/Makefile") CONFIG_FILES="$CONFIG_FILES src/plugins/scriptedwizard/resources/sys/files/Makefile" ;;
26499
"src/plugins/scriptedwizard/resources/win32gui/Makefile") CONFIG_FILES="$CONFIG_FILES src/plugins/scriptedwizard/resources/win32gui/Makefile" ;;
26500
"src/plugins/scriptedwizard/resources/win32gui/files/Makefile") CONFIG_FILES="$CONFIG_FILES src/plugins/scriptedwizard/resources/win32gui/files/Makefile" ;;
26501
"src/plugins/scriptedwizard/resources/win32gui/files/dialog/Makefile") CONFIG_FILES="$CONFIG_FILES src/plugins/scriptedwizard/resources/win32gui/files/dialog/Makefile" ;;
26502
"src/plugins/scriptedwizard/resources/win32gui/files/frame/Makefile") CONFIG_FILES="$CONFIG_FILES src/plugins/scriptedwizard/resources/win32gui/files/frame/Makefile" ;;
26503
"src/plugins/scriptedwizard/resources/wxwidgets/Makefile") CONFIG_FILES="$CONFIG_FILES src/plugins/scriptedwizard/resources/wxwidgets/Makefile" ;;
26504
"src/plugins/scriptedwizard/resources/wxwidgets/common/Makefile") CONFIG_FILES="$CONFIG_FILES src/plugins/scriptedwizard/resources/wxwidgets/common/Makefile" ;;
26505
"src/plugins/scriptedwizard/resources/wxwidgets/pch/Makefile") CONFIG_FILES="$CONFIG_FILES src/plugins/scriptedwizard/resources/wxwidgets/pch/Makefile" ;;
26506
"src/plugins/scriptedwizard/resources/wxwidgets/rc/Makefile") CONFIG_FILES="$CONFIG_FILES src/plugins/scriptedwizard/resources/wxwidgets/rc/Makefile" ;;
26507
"src/plugins/scriptedwizard/resources/wxwidgets/wxfb/Makefile") CONFIG_FILES="$CONFIG_FILES src/plugins/scriptedwizard/resources/wxwidgets/wxfb/Makefile" ;;
26508
"src/plugins/scriptedwizard/resources/wxwidgets/wxfb/dialog/Makefile") CONFIG_FILES="$CONFIG_FILES src/plugins/scriptedwizard/resources/wxwidgets/wxfb/dialog/Makefile" ;;
26509
"src/plugins/scriptedwizard/resources/wxwidgets/wxfb/frame/Makefile") CONFIG_FILES="$CONFIG_FILES src/plugins/scriptedwizard/resources/wxwidgets/wxfb/frame/Makefile" ;;
26510
"src/plugins/scriptedwizard/resources/wxwidgets/wxsmith/Makefile") CONFIG_FILES="$CONFIG_FILES src/plugins/scriptedwizard/resources/wxwidgets/wxsmith/Makefile" ;;
26511
"src/plugins/todo/Makefile") CONFIG_FILES="$CONFIG_FILES src/plugins/todo/Makefile" ;;
26512
"src/plugins/todo/resources/Makefile") CONFIG_FILES="$CONFIG_FILES src/plugins/todo/resources/Makefile" ;;
26513
"src/plugins/xpmanifest/Makefile") CONFIG_FILES="$CONFIG_FILES src/plugins/xpmanifest/Makefile" ;;
26514
"src/plugins/contrib/Makefile") CONFIG_FILES="$CONFIG_FILES src/plugins/contrib/Makefile" ;;
26515
"src/plugins/contrib/AutoVersioning/Makefile") CONFIG_FILES="$CONFIG_FILES src/plugins/contrib/AutoVersioning/Makefile" ;;
26516
"src/plugins/contrib/BrowseTracker/Makefile") CONFIG_FILES="$CONFIG_FILES src/plugins/contrib/BrowseTracker/Makefile" ;;
26517
"src/plugins/contrib/byogames/Makefile") CONFIG_FILES="$CONFIG_FILES src/plugins/contrib/byogames/Makefile" ;;
26518
"src/plugins/contrib/cb_koders/Makefile") CONFIG_FILES="$CONFIG_FILES src/plugins/contrib/cb_koders/Makefile" ;;
26519
"src/plugins/contrib/codesnippets/Makefile") CONFIG_FILES="$CONFIG_FILES src/plugins/contrib/codesnippets/Makefile" ;;
26520
"src/plugins/contrib/codesnippets/resources/Makefile") CONFIG_FILES="$CONFIG_FILES src/plugins/contrib/codesnippets/resources/Makefile" ;;
26521
"src/plugins/contrib/codestat/Makefile") CONFIG_FILES="$CONFIG_FILES src/plugins/contrib/codestat/Makefile" ;;
26522
"src/plugins/contrib/codestat/resources/Makefile") CONFIG_FILES="$CONFIG_FILES src/plugins/contrib/codestat/resources/Makefile" ;;
26523
"src/plugins/contrib/dragscroll/Makefile") CONFIG_FILES="$CONFIG_FILES src/plugins/contrib/dragscroll/Makefile" ;;
26524
"src/plugins/contrib/envvars/Makefile") CONFIG_FILES="$CONFIG_FILES src/plugins/contrib/envvars/Makefile" ;;
26525
"src/plugins/contrib/help_plugin/Makefile") CONFIG_FILES="$CONFIG_FILES src/plugins/contrib/help_plugin/Makefile" ;;
26526
"src/plugins/contrib/help_plugin/bzip2/Makefile") CONFIG_FILES="$CONFIG_FILES src/plugins/contrib/help_plugin/bzip2/Makefile" ;;
26527
"src/plugins/contrib/help_plugin/zlib/Makefile") CONFIG_FILES="$CONFIG_FILES src/plugins/contrib/help_plugin/zlib/Makefile" ;;
26528
"src/plugins/contrib/keybinder/Makefile") CONFIG_FILES="$CONFIG_FILES src/plugins/contrib/keybinder/Makefile" ;;
26529
"src/plugins/contrib/lib_finder/Makefile") CONFIG_FILES="$CONFIG_FILES src/plugins/contrib/lib_finder/Makefile" ;;
26530
"src/plugins/contrib/lib_finder/lib_finder/Makefile") CONFIG_FILES="$CONFIG_FILES src/plugins/contrib/lib_finder/lib_finder/Makefile" ;;
26531
"src/plugins/contrib/profiler/Makefile") CONFIG_FILES="$CONFIG_FILES src/plugins/contrib/profiler/Makefile" ;;
26532
"src/plugins/contrib/profiler/resources/Makefile") CONFIG_FILES="$CONFIG_FILES src/plugins/contrib/profiler/resources/Makefile" ;;
26533
"src/plugins/contrib/source_exporter/Makefile") CONFIG_FILES="$CONFIG_FILES src/plugins/contrib/source_exporter/Makefile" ;;
26534
"src/plugins/contrib/source_exporter/wxPdfDocument/Makefile") CONFIG_FILES="$CONFIG_FILES src/plugins/contrib/source_exporter/wxPdfDocument/Makefile" ;;
26535
"src/plugins/contrib/symtab/Makefile") CONFIG_FILES="$CONFIG_FILES src/plugins/contrib/symtab/Makefile" ;;
26536
"src/plugins/contrib/symtab/resources/Makefile") CONFIG_FILES="$CONFIG_FILES src/plugins/contrib/symtab/resources/Makefile" ;;
26537
"src/plugins/contrib/regex_testbed/Makefile") CONFIG_FILES="$CONFIG_FILES src/plugins/contrib/regex_testbed/Makefile" ;;
26538
"src/plugins/contrib/ThreadSearch/Makefile") CONFIG_FILES="$CONFIG_FILES src/plugins/contrib/ThreadSearch/Makefile" ;;
26539
"src/plugins/contrib/ThreadSearch/resources/Makefile") CONFIG_FILES="$CONFIG_FILES src/plugins/contrib/ThreadSearch/resources/Makefile" ;;
26540
"src/plugins/contrib/ThreadSearch/resources/images/Makefile") CONFIG_FILES="$CONFIG_FILES src/plugins/contrib/ThreadSearch/resources/images/Makefile" ;;
26541
"src/plugins/contrib/wxSmith/Makefile") CONFIG_FILES="$CONFIG_FILES src/plugins/contrib/wxSmith/Makefile" ;;
26542
"src/plugins/contrib/wxSmith/propgrid/Makefile") CONFIG_FILES="$CONFIG_FILES src/plugins/contrib/wxSmith/propgrid/Makefile" ;;
26543
"src/plugins/contrib/wxSmith/plugin/Makefile") CONFIG_FILES="$CONFIG_FILES src/plugins/contrib/wxSmith/plugin/Makefile" ;;
26544
"src/plugins/contrib/wxSmith/properties/Makefile") CONFIG_FILES="$CONFIG_FILES src/plugins/contrib/wxSmith/properties/Makefile" ;;
26545
"src/plugins/contrib/wxSmith/wxwidgets/Makefile") CONFIG_FILES="$CONFIG_FILES src/plugins/contrib/wxSmith/wxwidgets/Makefile" ;;
26546
"src/plugins/contrib/wxSmith/wxwidgets/properties/Makefile") CONFIG_FILES="$CONFIG_FILES src/plugins/contrib/wxSmith/wxwidgets/properties/Makefile" ;;
26547
"src/plugins/contrib/wxSmith/wxwidgets/defitems/Makefile") CONFIG_FILES="$CONFIG_FILES src/plugins/contrib/wxSmith/wxwidgets/defitems/Makefile" ;;
26548
"src/plugins/contrib/wxSmith/wxwidgets/icons/Makefile") CONFIG_FILES="$CONFIG_FILES src/plugins/contrib/wxSmith/wxwidgets/icons/Makefile" ;;
26549
"src/plugins/contrib/wxSmithContribItems/Makefile") CONFIG_FILES="$CONFIG_FILES src/plugins/contrib/wxSmithContribItems/Makefile" ;;
26550
"src/scripts/Makefile") CONFIG_FILES="$CONFIG_FILES src/scripts/Makefile" ;;
26551
"src/tools/Makefile") CONFIG_FILES="$CONFIG_FILES src/tools/Makefile" ;;
26552
"src/tools/cb_share_config/Makefile") CONFIG_FILES="$CONFIG_FILES src/tools/cb_share_config/Makefile" ;;
26553
"src/tools/ConsoleRunner/Makefile") CONFIG_FILES="$CONFIG_FILES src/tools/ConsoleRunner/Makefile" ;;
26554
"src/setup/Makefile") CONFIG_FILES="$CONFIG_FILES src/setup/Makefile" ;;
26555
"src/setup/mime/Makefile") CONFIG_FILES="$CONFIG_FILES src/setup/mime/Makefile" ;;
26556
"src/templates/Makefile") CONFIG_FILES="$CONFIG_FILES src/templates/Makefile" ;;
26557
"src/templates/common/Makefile") CONFIG_FILES="$CONFIG_FILES src/templates/common/Makefile" ;;
26558
"src/templates/unix/Makefile") CONFIG_FILES="$CONFIG_FILES src/templates/unix/Makefile" ;;
26559
"src/templates/win32/Makefile") CONFIG_FILES="$CONFIG_FILES src/templates/win32/Makefile" ;;
26560
"src/wxsmith/Makefile") CONFIG_FILES="$CONFIG_FILES src/wxsmith/Makefile" ;;
26561
"codeblocks.pc") CONFIG_FILES="$CONFIG_FILES codeblocks.pc" ;;
26562
"codeblocks.spec") CONFIG_FILES="$CONFIG_FILES codeblocks.spec" ;;
26563
"codeblocks.plist") CONFIG_FILES="$CONFIG_FILES codeblocks.plist" ;;
26565
*) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
26566
echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
26567
{ (exit 1); exit 1; }; };;
26572
# If the user did not use the arguments to specify the items to instantiate,
26573
# then the envvar interface is used. Set only those that are not.
26574
# We use the long form for the default assignment because of an extremely
26575
# bizarre bug on SunOS 4.1.3.
26576
if $ac_need_defaults; then
26577
test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
26578
test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
26579
test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
26582
# Have a temporary directory for convenience. Make it in the build tree
26583
# simply because there is no reason against having it here, and in addition,
26584
# creating and moving files from /tmp can sometimes cause problems.
26585
# Hook for its removal unless debugging.
26586
# Note that there is a small window in which the directory will not be cleaned:
26587
# after its creation but before its name has been assigned to `$tmp'.
26591
trap 'exit_status=$?
26592
{ test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status
26594
trap '{ (exit 1); exit 1; }' 1 2 13 15
26596
# Create a (secure) tmp directory for tmp files.
26599
tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
26600
test -n "$tmp" && test -d "$tmp"
26603
tmp=./conf$$-$RANDOM
26604
(umask 077 && mkdir "$tmp")
26607
echo "$me: cannot create a temporary directory in ." >&2
26608
{ (exit 1); exit 1; }
26612
# Set up the sed scripts for CONFIG_FILES section.
26615
# No need to generate the scripts if there are no CONFIG_FILES.
26616
# This happens for instance when ./config.status config.h
26617
if test -n "$CONFIG_FILES"; then
26624
for ac_last_try in false false false false false :; do
26625
cat >conf$$subs.sed <<_ACEOF
26626
SHELL!$SHELL$ac_delim
26627
PATH_SEPARATOR!$PATH_SEPARATOR$ac_delim
26628
PACKAGE_NAME!$PACKAGE_NAME$ac_delim
26629
PACKAGE_TARNAME!$PACKAGE_TARNAME$ac_delim
26630
PACKAGE_VERSION!$PACKAGE_VERSION$ac_delim
26631
PACKAGE_STRING!$PACKAGE_STRING$ac_delim
26632
PACKAGE_BUGREPORT!$PACKAGE_BUGREPORT$ac_delim
26633
exec_prefix!$exec_prefix$ac_delim
26634
prefix!$prefix$ac_delim
26635
program_transform_name!$program_transform_name$ac_delim
26636
bindir!$bindir$ac_delim
26637
sbindir!$sbindir$ac_delim
26638
libexecdir!$libexecdir$ac_delim
26639
datarootdir!$datarootdir$ac_delim
26640
datadir!$datadir$ac_delim
26641
sysconfdir!$sysconfdir$ac_delim
26642
sharedstatedir!$sharedstatedir$ac_delim
26643
localstatedir!$localstatedir$ac_delim
26644
includedir!$includedir$ac_delim
26645
oldincludedir!$oldincludedir$ac_delim
26646
docdir!$docdir$ac_delim
26647
infodir!$infodir$ac_delim
26648
htmldir!$htmldir$ac_delim
26649
dvidir!$dvidir$ac_delim
26650
pdfdir!$pdfdir$ac_delim
26651
psdir!$psdir$ac_delim
26652
libdir!$libdir$ac_delim
26653
localedir!$localedir$ac_delim
26654
mandir!$mandir$ac_delim
26655
DEFS!$DEFS$ac_delim
26656
ECHO_C!$ECHO_C$ac_delim
26657
ECHO_N!$ECHO_N$ac_delim
26658
ECHO_T!$ECHO_T$ac_delim
26659
LIBS!$LIBS$ac_delim
26660
build_alias!$build_alias$ac_delim
26661
host_alias!$host_alias$ac_delim
26662
target_alias!$target_alias$ac_delim
26663
build!$build$ac_delim
26664
build_cpu!$build_cpu$ac_delim
26665
build_vendor!$build_vendor$ac_delim
26666
build_os!$build_os$ac_delim
26667
host!$host$ac_delim
26668
host_cpu!$host_cpu$ac_delim
26669
host_vendor!$host_vendor$ac_delim
26670
host_os!$host_os$ac_delim
26671
target!$target$ac_delim
26672
target_cpu!$target_cpu$ac_delim
26673
target_vendor!$target_vendor$ac_delim
26674
target_os!$target_os$ac_delim
26675
INSTALL_PROGRAM!$INSTALL_PROGRAM$ac_delim
26676
INSTALL_SCRIPT!$INSTALL_SCRIPT$ac_delim
26677
INSTALL_DATA!$INSTALL_DATA$ac_delim
26678
am__isrc!$am__isrc$ac_delim
26679
CYGPATH_W!$CYGPATH_W$ac_delim
26680
PACKAGE!$PACKAGE$ac_delim
26681
VERSION!$VERSION$ac_delim
26682
ACLOCAL!$ACLOCAL$ac_delim
26683
AUTOCONF!$AUTOCONF$ac_delim
26684
AUTOMAKE!$AUTOMAKE$ac_delim
26685
AUTOHEADER!$AUTOHEADER$ac_delim
26686
MAKEINFO!$MAKEINFO$ac_delim
26687
install_sh!$install_sh$ac_delim
26688
STRIP!$STRIP$ac_delim
26689
INSTALL_STRIP_PROGRAM!$INSTALL_STRIP_PROGRAM$ac_delim
26690
mkdir_p!$mkdir_p$ac_delim
26692
SET_MAKE!$SET_MAKE$ac_delim
26693
am__leading_dot!$am__leading_dot$ac_delim
26694
AMTAR!$AMTAR$ac_delim
26695
am__tar!$am__tar$ac_delim
26696
am__untar!$am__untar$ac_delim
26698
CXXFLAGS!$CXXFLAGS$ac_delim
26699
LDFLAGS!$LDFLAGS$ac_delim
26700
CPPFLAGS!$CPPFLAGS$ac_delim
26701
ac_ct_CXX!$ac_ct_CXX$ac_delim
26702
EXEEXT!$EXEEXT$ac_delim
26703
OBJEXT!$OBJEXT$ac_delim
26704
DEPDIR!$DEPDIR$ac_delim
26705
am__include!$am__include$ac_delim
26706
am__quote!$am__quote$ac_delim
26707
AMDEP_TRUE!$AMDEP_TRUE$ac_delim
26708
AMDEP_FALSE!$AMDEP_FALSE$ac_delim
26709
AMDEPBACKSLASH!$AMDEPBACKSLASH$ac_delim
26710
CXXDEPMODE!$CXXDEPMODE$ac_delim
26711
am__fastdepCXX_TRUE!$am__fastdepCXX_TRUE$ac_delim
26712
am__fastdepCXX_FALSE!$am__fastdepCXX_FALSE$ac_delim
26714
CFLAGS!$CFLAGS$ac_delim
26715
ac_ct_CC!$ac_ct_CC$ac_delim
26716
CCDEPMODE!$CCDEPMODE$ac_delim
26717
am__fastdepCC_TRUE!$am__fastdepCC_TRUE$ac_delim
26718
am__fastdepCC_FALSE!$am__fastdepCC_FALSE$ac_delim
26720
LN_S!$LN_S$ac_delim
26721
SHARED_FLAGS!$SHARED_FLAGS$ac_delim
26722
PLUGIN_FLAGS!$PLUGIN_FLAGS$ac_delim
26725
if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 97; then
26727
elif $ac_last_try; then
26728
{ { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
26729
echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
26730
{ (exit 1); exit 1; }; }
26732
ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
26736
ac_eof=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
26737
if test -n "$ac_eof"; then
26738
ac_eof=`echo "$ac_eof" | sort -nru | sed 1q`
26739
ac_eof=`expr $ac_eof + 1`
26742
cat >>$CONFIG_STATUS <<_ACEOF
26743
cat >"\$tmp/subs-1.sed" <<\CEOF$ac_eof
26744
/@[a-zA-Z_][a-zA-Z_0-9]*@/!b
26747
s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
26748
s/^/s,@/; s/!/@,|#_!!_#|/
26751
s/'"$ac_delim"'$/,g/; t
26753
N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
26754
' >>$CONFIG_STATUS <conf$$subs.sed
26755
rm -f conf$$subs.sed
26756
cat >>$CONFIG_STATUS <<_ACEOF
26762
for ac_last_try in false false false false false :; do
26763
cat >conf$$subs.sed <<_ACEOF
26765
CODEBLOCKS_NT_TRUE!$CODEBLOCKS_NT_TRUE$ac_delim
26766
CODEBLOCKS_NT_FALSE!$CODEBLOCKS_NT_FALSE$ac_delim
26767
CODEBLOCKS_LINUX_TRUE!$CODEBLOCKS_LINUX_TRUE$ac_delim
26768
CODEBLOCKS_LINUX_FALSE!$CODEBLOCKS_LINUX_FALSE$ac_delim
26769
CODEBLOCKS_DARWIN_TRUE!$CODEBLOCKS_DARWIN_TRUE$ac_delim
26770
CODEBLOCKS_DARWIN_FALSE!$CODEBLOCKS_DARWIN_FALSE$ac_delim
26772
GREP!$GREP$ac_delim
26773
EGREP!$EGREP$ac_delim
26774
ECHO!$ECHO$ac_delim
26776
RANLIB!$RANLIB$ac_delim
26777
CXXCPP!$CXXCPP$ac_delim
26779
FFLAGS!$FFLAGS$ac_delim
26780
ac_ct_F77!$ac_ct_F77$ac_delim
26781
LIBTOOL!$LIBTOOL$ac_delim
26782
LIB@&t@OBJS!$LIB@&t@OBJS$ac_delim
26783
HAVE_ZLIB_TRUE!$HAVE_ZLIB_TRUE$ac_delim
26784
HAVE_ZLIB_FALSE!$HAVE_ZLIB_FALSE$ac_delim
26785
HAVE_BZIP2_TRUE!$HAVE_BZIP2_TRUE$ac_delim
26786
HAVE_BZIP2_FALSE!$HAVE_BZIP2_FALSE$ac_delim
26787
CODEBLOCKS_VERSION_INFO!$CODEBLOCKS_VERSION_INFO$ac_delim
26788
PLATFORM_CFLAGS!$PLATFORM_CFLAGS$ac_delim
26789
PLATFORM_LIBS!$PLATFORM_LIBS$ac_delim
26790
CODEBLOCKS_PLATFORM!$CODEBLOCKS_PLATFORM$ac_delim
26791
BUILD_ASTYLE_TRUE!$BUILD_ASTYLE_TRUE$ac_delim
26792
BUILD_ASTYLE_FALSE!$BUILD_ASTYLE_FALSE$ac_delim
26793
BUILD_AUTOSAVE_TRUE!$BUILD_AUTOSAVE_TRUE$ac_delim
26794
BUILD_AUTOSAVE_FALSE!$BUILD_AUTOSAVE_FALSE$ac_delim
26795
BUILD_CLASSWIZARD_TRUE!$BUILD_CLASSWIZARD_TRUE$ac_delim
26796
BUILD_CLASSWIZARD_FALSE!$BUILD_CLASSWIZARD_FALSE$ac_delim
26797
BUILD_CODECOMPLETION_TRUE!$BUILD_CODECOMPLETION_TRUE$ac_delim
26798
BUILD_CODECOMPLETION_FALSE!$BUILD_CODECOMPLETION_FALSE$ac_delim
26799
BUILD_COMPILER_TRUE!$BUILD_COMPILER_TRUE$ac_delim
26800
BUILD_COMPILER_FALSE!$BUILD_COMPILER_FALSE$ac_delim
26801
BUILD_DEBUGGER_TRUE!$BUILD_DEBUGGER_TRUE$ac_delim
26802
BUILD_DEBUGGER_FALSE!$BUILD_DEBUGGER_FALSE$ac_delim
26803
BUILD_MIMEHANDLER_TRUE!$BUILD_MIMEHANDLER_TRUE$ac_delim
26804
BUILD_MIMEHANDLER_FALSE!$BUILD_MIMEHANDLER_FALSE$ac_delim
26805
BUILD_OPENFILESLIST_TRUE!$BUILD_OPENFILESLIST_TRUE$ac_delim
26806
BUILD_OPENFILESLIST_FALSE!$BUILD_OPENFILESLIST_FALSE$ac_delim
26807
BUILD_PROJECTSIMPORTER_TRUE!$BUILD_PROJECTSIMPORTER_TRUE$ac_delim
26808
BUILD_PROJECTSIMPORTER_FALSE!$BUILD_PROJECTSIMPORTER_FALSE$ac_delim
26809
BUILD_SCRIPTEDWIZARD_TRUE!$BUILD_SCRIPTEDWIZARD_TRUE$ac_delim
26810
BUILD_SCRIPTEDWIZARD_FALSE!$BUILD_SCRIPTEDWIZARD_FALSE$ac_delim
26811
BUILD_TODO_TRUE!$BUILD_TODO_TRUE$ac_delim
26812
BUILD_TODO_FALSE!$BUILD_TODO_FALSE$ac_delim
26813
BUILD_MANIFEST_TRUE!$BUILD_MANIFEST_TRUE$ac_delim
26814
BUILD_MANIFEST_FALSE!$BUILD_MANIFEST_FALSE$ac_delim
26815
BUILD_AUTOVERSIONING_TRUE!$BUILD_AUTOVERSIONING_TRUE$ac_delim
26816
BUILD_AUTOVERSIONING_FALSE!$BUILD_AUTOVERSIONING_FALSE$ac_delim
26817
BUILD_BROWSETRACKER_TRUE!$BUILD_BROWSETRACKER_TRUE$ac_delim
26818
BUILD_BROWSETRACKER_FALSE!$BUILD_BROWSETRACKER_FALSE$ac_delim
26819
BUILD_BYOGAMES_TRUE!$BUILD_BYOGAMES_TRUE$ac_delim
26820
BUILD_BYOGAMES_FALSE!$BUILD_BYOGAMES_FALSE$ac_delim
26821
BUILD_CBKODERS_TRUE!$BUILD_CBKODERS_TRUE$ac_delim
26822
BUILD_CBKODERS_FALSE!$BUILD_CBKODERS_FALSE$ac_delim
26823
BUILD_CODESNIPPETS_TRUE!$BUILD_CODESNIPPETS_TRUE$ac_delim
26824
BUILD_CODESNIPPETS_FALSE!$BUILD_CODESNIPPETS_FALSE$ac_delim
26825
BUILD_CODESTAT_TRUE!$BUILD_CODESTAT_TRUE$ac_delim
26826
BUILD_CODESTAT_FALSE!$BUILD_CODESTAT_FALSE$ac_delim
26827
BUILD_DRAGSCROLL_TRUE!$BUILD_DRAGSCROLL_TRUE$ac_delim
26828
BUILD_DRAGSCROLL_FALSE!$BUILD_DRAGSCROLL_FALSE$ac_delim
26829
BUILD_ENVVARS_TRUE!$BUILD_ENVVARS_TRUE$ac_delim
26830
BUILD_ENVVARS_FALSE!$BUILD_ENVVARS_FALSE$ac_delim
26831
BUILD_HELP_TRUE!$BUILD_HELP_TRUE$ac_delim
26832
BUILD_HELP_FALSE!$BUILD_HELP_FALSE$ac_delim
26833
BUILD_KEYBINDER_TRUE!$BUILD_KEYBINDER_TRUE$ac_delim
26834
BUILD_KEYBINDER_FALSE!$BUILD_KEYBINDER_FALSE$ac_delim
26835
BUILD_LIBFINDER_TRUE!$BUILD_LIBFINDER_TRUE$ac_delim
26836
BUILD_LIBFINDER_FALSE!$BUILD_LIBFINDER_FALSE$ac_delim
26837
BUILD_PROFILER_TRUE!$BUILD_PROFILER_TRUE$ac_delim
26838
BUILD_PROFILER_FALSE!$BUILD_PROFILER_FALSE$ac_delim
26839
BUILD_REGEX_TRUE!$BUILD_REGEX_TRUE$ac_delim
26840
BUILD_REGEX_FALSE!$BUILD_REGEX_FALSE$ac_delim
26841
BUILD_EXPORTER_TRUE!$BUILD_EXPORTER_TRUE$ac_delim
26842
BUILD_EXPORTER_FALSE!$BUILD_EXPORTER_FALSE$ac_delim
26843
BUILD_SYMTAB_TRUE!$BUILD_SYMTAB_TRUE$ac_delim
26844
BUILD_SYMTAB_FALSE!$BUILD_SYMTAB_FALSE$ac_delim
26845
BUILD_THREADSEARCH_TRUE!$BUILD_THREADSEARCH_TRUE$ac_delim
26846
BUILD_THREADSEARCH_FALSE!$BUILD_THREADSEARCH_FALSE$ac_delim
26847
BUILD_WXSMITH_TRUE!$BUILD_WXSMITH_TRUE$ac_delim
26848
BUILD_WXSMITH_FALSE!$BUILD_WXSMITH_FALSE$ac_delim
26849
BUILD_AUTOVERSIONING!$BUILD_AUTOVERSIONING$ac_delim
26850
BUILD_BROWSETRACKER!$BUILD_BROWSETRACKER$ac_delim
26851
BUILD_BYOGAMES!$BUILD_BYOGAMES$ac_delim
26852
BUILD_CBKODERS!$BUILD_CBKODERS$ac_delim
26853
BUILD_CODESNIPPETS!$BUILD_CODESNIPPETS$ac_delim
26854
BUILD_CODESTAT!$BUILD_CODESTAT$ac_delim
26855
BUILD_COPYSTRINGS!$BUILD_COPYSTRINGS$ac_delim
26856
BUILD_DRAGSCROLL!$BUILD_DRAGSCROLL$ac_delim
26857
BUILD_ENVVARS!$BUILD_ENVVARS$ac_delim
26858
BUILD_HELP!$BUILD_HELP$ac_delim
26859
BUILD_KEYBINDER!$BUILD_KEYBINDER$ac_delim
26860
BUILD_LIBFINDER!$BUILD_LIBFINDER$ac_delim
26863
if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 97; then
26865
elif $ac_last_try; then
26866
{ { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
26867
echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
26868
{ (exit 1); exit 1; }; }
26870
ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
26874
ac_eof=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
26875
if test -n "$ac_eof"; then
26876
ac_eof=`echo "$ac_eof" | sort -nru | sed 1q`
26877
ac_eof=`expr $ac_eof + 1`
26880
cat >>$CONFIG_STATUS <<_ACEOF
26881
cat >"\$tmp/subs-2.sed" <<\CEOF$ac_eof
26882
/@[a-zA-Z_][a-zA-Z_0-9]*@/!b
26885
s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
26886
s/^/s,@/; s/!/@,|#_!!_#|/
26889
s/'"$ac_delim"'$/,g/; t
26891
N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
26892
' >>$CONFIG_STATUS <conf$$subs.sed
26893
rm -f conf$$subs.sed
26894
cat >>$CONFIG_STATUS <<_ACEOF
26900
for ac_last_try in false false false false false :; do
26901
cat >conf$$subs.sed <<_ACEOF
26902
BUILD_PROFILER!$BUILD_PROFILER$ac_delim
26903
BUILD_REGEX!$BUILD_REGEX$ac_delim
26904
BUILD_EXPORTER!$BUILD_EXPORTER$ac_delim
26905
BUILD_SYMTAB!$BUILD_SYMTAB$ac_delim
26906
BUILD_THREADSEARCH!$BUILD_THREADSEARCH$ac_delim
26907
BUILD_WXSMITH!$BUILD_WXSMITH$ac_delim
26908
PRECOMPILE_HEADERS_TRUE!$PRECOMPILE_HEADERS_TRUE$ac_delim
26909
PRECOMPILE_HEADERS_FALSE!$PRECOMPILE_HEADERS_FALSE$ac_delim
26910
WX_CONFIG_PATH!$WX_CONFIG_PATH$ac_delim
26911
WX_CPPFLAGS!$WX_CPPFLAGS$ac_delim
26912
WX_CFLAGS!$WX_CFLAGS$ac_delim
26913
WX_CXXFLAGS!$WX_CXXFLAGS$ac_delim
26914
WX_CFLAGS_ONLY!$WX_CFLAGS_ONLY$ac_delim
26915
WX_CXXFLAGS_ONLY!$WX_CXXFLAGS_ONLY$ac_delim
26916
WX_LIBS!$WX_LIBS$ac_delim
26917
WX_LIBS_STATIC!$WX_LIBS_STATIC$ac_delim
26918
WX_VERSION!$WX_VERSION$ac_delim
26919
WX_RESCOMP!$WX_RESCOMP$ac_delim
26920
HAVE_PKG_CONFIG!$HAVE_PKG_CONFIG$ac_delim
26921
PKG_CONFIG!$PKG_CONFIG$ac_delim
26922
GTK2_CFLAGS!$GTK2_CFLAGS$ac_delim
26923
GTK2_LIBS!$GTK2_LIBS$ac_delim
26925
SETFILE!$SETFILE$ac_delim
26926
WX_GTK2_CFLAGS!$WX_GTK2_CFLAGS$ac_delim
26927
WX_GTK2_LIBS!$WX_GTK2_LIBS$ac_delim
26928
POSTLINK_COMMAND!$POSTLINK_COMMAND$ac_delim
26929
MACSETFILE!$MACSETFILE$ac_delim
26930
PLUGIN_WX_LIBS!$PLUGIN_WX_LIBS$ac_delim
26931
codeblocks_PCH_FLAGS!$codeblocks_PCH_FLAGS$ac_delim
26932
LINUX_TRUE!$LINUX_TRUE$ac_delim
26933
LINUX_FALSE!$LINUX_FALSE$ac_delim
26934
DARWIN_TRUE!$DARWIN_TRUE$ac_delim
26935
DARWIN_FALSE!$DARWIN_FALSE$ac_delim
26936
REVISION!$REVISION$ac_delim
26937
DATE!$DATE$ac_delim
26938
LTLIBOBJS!$LTLIBOBJS$ac_delim
26941
if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 37; then
26943
elif $ac_last_try; then
26944
{ { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
26945
echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
26946
{ (exit 1); exit 1; }; }
26948
ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
26952
ac_eof=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
26953
if test -n "$ac_eof"; then
26954
ac_eof=`echo "$ac_eof" | sort -nru | sed 1q`
26955
ac_eof=`expr $ac_eof + 1`
26958
cat >>$CONFIG_STATUS <<_ACEOF
26959
cat >"\$tmp/subs-3.sed" <<\CEOF$ac_eof
26960
/@[a-zA-Z_][a-zA-Z_0-9]*@/!b end
26963
s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
26964
s/^/s,@/; s/!/@,|#_!!_#|/
26967
s/'"$ac_delim"'$/,g/; t
26969
N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
26970
' >>$CONFIG_STATUS <conf$$subs.sed
26971
rm -f conf$$subs.sed
26972
cat >>$CONFIG_STATUS <<_ACEOF
26979
# VPATH may cause trouble with some makes, so we remove $(srcdir),
26980
# ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
26981
# trailing colons and then remove the whole line if VPATH becomes empty
26982
# (actually we leave an empty line to preserve line numbers).
26983
if test "x$srcdir" = x.; then
26984
ac_vpsub='/^[ ]*VPATH[ ]*=/{
26985
s/:*\$(srcdir):*/:/
26986
s/:*\${srcdir}:*/:/
26988
s/^\([^=]*=[ ]*\):*/\1/
26994
cat >>$CONFIG_STATUS <<\_ACEOF
26995
fi # test -n "$CONFIG_FILES"
26998
for ac_tag in :F $CONFIG_FILES :H $CONFIG_HEADERS :C $CONFIG_COMMANDS
27001
:[FHLC]) ac_mode=$ac_tag; continue;;
27003
case $ac_mode$ac_tag in
27005
:L* | :C*:*) { { echo "$as_me:$LINENO: error: Invalid tag $ac_tag." >&5
27006
echo "$as_me: error: Invalid tag $ac_tag." >&2;}
27007
{ (exit 1); exit 1; }; };;
27008
:[FH]-) ac_tag=-:-;;
27009
:[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
27026
-) ac_f="$tmp/stdin";;
27027
*) # Look for the file first in the build tree, then in the source tree
27028
# (if the path is not absolute). The absolute path cannot be DOS-style,
27029
# because $ac_f cannot contain `:'.
27033
*) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
27035
{ { echo "$as_me:$LINENO: error: cannot find input file: $ac_f" >&5
27036
echo "$as_me: error: cannot find input file: $ac_f" >&2;}
27037
{ (exit 1); exit 1; }; };;
27039
ac_file_inputs="$ac_file_inputs $ac_f"
27042
# Let's still pretend it is `configure' which instantiates (i.e., don't
27043
# use $as_me), people would be surprised to read:
27044
# /* config.h. Generated by config.status. */
27045
configure_input="Generated from "`IFS=:
27046
echo $* | sed 's|^[^:]*/||;s|:[^:]*/|, |g'`" by configure."
27047
if test x"$ac_file" != x-; then
27048
configure_input="$ac_file. $configure_input"
27049
{ echo "$as_me:$LINENO: creating $ac_file" >&5
27050
echo "$as_me: creating $ac_file" >&6;}
27054
*:-:* | *:-) cat >"$tmp/stdin";;
27059
ac_dir=`$as_dirname -- "$ac_file" ||
27060
$as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
27061
X"$ac_file" : 'X\(//\)[^/]' \| \
27062
X"$ac_file" : 'X\(//\)$' \| \
27063
X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
27065
sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
27069
/^X\(\/\/\)[^/].*/{
27084
-*) as_dir=./$as_dir;;
27086
test -d "$as_dir" || { $as_mkdir_p && mkdir -p "$as_dir"; } || {
27090
*\'*) as_qdir=`echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #(
27091
*) as_qdir=$as_dir;;
27093
as_dirs="'$as_qdir' $as_dirs"
27094
as_dir=`$as_dirname -- "$as_dir" ||
27095
$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
27096
X"$as_dir" : 'X\(//\)[^/]' \| \
27097
X"$as_dir" : 'X\(//\)$' \| \
27098
X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
27100
sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
27104
/^X\(\/\/\)[^/].*/{
27117
test -d "$as_dir" && break
27119
test -z "$as_dirs" || eval "mkdir $as_dirs"
27120
} || test -d "$as_dir" || { { echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
27121
echo "$as_me: error: cannot create directory $as_dir" >&2;}
27122
{ (exit 1); exit 1; }; }; }
27126
.) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
27128
ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
27129
# A ".." for each directory in $ac_dir_suffix.
27130
ac_top_builddir_sub=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'`
27131
case $ac_top_builddir_sub in
27132
"") ac_top_builddir_sub=. ac_top_build_prefix= ;;
27133
*) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
27136
ac_abs_top_builddir=$ac_pwd
27137
ac_abs_builddir=$ac_pwd$ac_dir_suffix
27138
# for backward compatibility:
27139
ac_top_builddir=$ac_top_build_prefix
27142
.) # We are building in place.
27144
ac_top_srcdir=$ac_top_builddir_sub
27145
ac_abs_top_srcdir=$ac_pwd ;;
27146
[\\/]* | ?:[\\/]* ) # Absolute name.
27147
ac_srcdir=$srcdir$ac_dir_suffix;
27148
ac_top_srcdir=$srcdir
27149
ac_abs_top_srcdir=$srcdir ;;
27150
*) # Relative name.
27151
ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
27152
ac_top_srcdir=$ac_top_build_prefix$srcdir
27153
ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
27155
ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
27165
[\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
27166
*) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
27168
ac_MKDIR_P=$MKDIR_P
27170
[\\/$]* | ?:[\\/]* ) ;;
27171
*/*) ac_MKDIR_P=$ac_top_build_prefix$MKDIR_P ;;
27175
cat >>$CONFIG_STATUS <<\_ACEOF
27176
# If the template does not know about datarootdir, expand it.
27177
# FIXME: This hack should be removed a few years after 2.60.
27178
ac_datarootdir_hack=; ac_datarootdir_seen=
27180
case `sed -n '/datarootdir/ {
27189
' $ac_file_inputs` in
27190
*datarootdir*) ac_datarootdir_seen=yes;;
27191
*@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
27192
{ echo "$as_me:$LINENO: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
27193
echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
27195
cat >>$CONFIG_STATUS <<_ACEOF
27196
ac_datarootdir_hack='
27197
s&@datadir@&$datadir&g
27198
s&@docdir@&$docdir&g
27199
s&@infodir@&$infodir&g
27200
s&@localedir@&$localedir&g
27201
s&@mandir@&$mandir&g
27202
s&\\\${datarootdir}&$datarootdir&g' ;;
27206
# Neutralize VPATH when `$srcdir' = `.'.
27207
# Shell code in configure.ac might set extrasub.
27208
# FIXME: do we really want to maintain this feature?
27209
cat >>$CONFIG_STATUS <<_ACEOF
27213
cat >>$CONFIG_STATUS <<\_ACEOF
27215
/@[a-zA-Z_][a-zA-Z_0-9]*@/!b
27216
s&@configure_input@&$configure_input&;t t
27217
s&@top_builddir@&$ac_top_builddir_sub&;t t
27218
s&@srcdir@&$ac_srcdir&;t t
27219
s&@abs_srcdir@&$ac_abs_srcdir&;t t
27220
s&@top_srcdir@&$ac_top_srcdir&;t t
27221
s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
27222
s&@builddir@&$ac_builddir&;t t
27223
s&@abs_builddir@&$ac_abs_builddir&;t t
27224
s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
27225
s&@INSTALL@&$ac_INSTALL&;t t
27226
s&@MKDIR_P@&$ac_MKDIR_P&;t t
27227
$ac_datarootdir_hack
27228
" $ac_file_inputs | sed -f "$tmp/subs-1.sed" | sed -f "$tmp/subs-2.sed" | sed -f "$tmp/subs-3.sed" >$tmp/out
27230
test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
27231
{ ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out"`; test -n "$ac_out"; } &&
27232
{ ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' "$tmp/out"`; test -z "$ac_out"; } &&
27233
{ echo "$as_me:$LINENO: WARNING: $ac_file contains a reference to the variable \`datarootdir'
27234
which seems to be undefined. Please make sure it is defined." >&5
27235
echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
27236
which seems to be undefined. Please make sure it is defined." >&2;}
27240
-) cat "$tmp/out"; rm -f "$tmp/out";;
27241
*) rm -f "$ac_file"; mv "$tmp/out" $ac_file;;
27250
# Transform confdefs.h into a sed script `conftest.defines', that
27251
# substitutes the proper values into config.h.in to produce config.h.
27252
rm -f conftest.defines conftest.tail
27253
# First, append a space to every undef/define line, to ease matching.
27254
echo 's/$/ /' >conftest.defines
27255
# Then, protect against being on the right side of a sed subst, or in
27256
# an unquoted here document, in config.status. If some macros were
27257
# called several times there might be several #defines for the same
27258
# symbol, which is useless. But do not sort them, since the last
27259
# AC_DEFINE must be honored.
27260
ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
27261
# These sed commands are passed to sed as "A NAME B PARAMS C VALUE D", where
27262
# NAME is the cpp macro being defined, VALUE is the value it is being given.
27263
# PARAMS is the parameter list in the macro definition--in most cases, it's
27264
# just an empty string.
27265
ac_dA='s,^\\([ #]*\\)[^ ]*\\([ ]*'
27266
ac_dB='\\)[ (].*,\\1define\\2'
27274
s/^[ ]*#[ ]*define[ ][ ]*//
27279
s/^\('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/ '"$ac_dA"'\1'"$ac_dB"'\2'"${ac_dC}"'\3'"$ac_dD"'/p
27280
s/^\('"$ac_word_re"'\)[ ]*\(.*\)/'"$ac_dA"'\1'"$ac_dB$ac_dC"'\2'"$ac_dD"'/p
27281
' >>conftest.defines
27283
# Remove the space that was appended to ease matching.
27284
# Then replace #undef with comments. This is necessary, for
27285
# example, in the case of _POSIX_SOURCE, which is predefined and required
27286
# on some systems where configure will not decide to define it.
27287
# (The regexp can be short, since the line contains either #define or #undef.)
27289
s,^[ #]*u.*,/* & */,' >>conftest.defines
27291
# Break up conftest.defines:
27292
ac_max_sed_lines=50
27294
# First sed command is: sed -f defines.sed $ac_file_inputs >"$tmp/out1"
27295
# Second one is: sed -f defines.sed "$tmp/out1" >"$tmp/out2"
27296
# Third one will be: sed -f defines.sed "$tmp/out2" >"$tmp/out1"
27298
ac_in='$ac_file_inputs'
27299
ac_out='"$tmp/out1"'
27300
ac_nxt='"$tmp/out2"'
27304
# Write a here document:
27305
cat >>$CONFIG_STATUS <<_ACEOF
27306
# First, check the format of the line:
27307
cat >"\$tmp/defines.sed" <<\\CEOF
27308
/^[ ]*#[ ]*undef[ ][ ]*$ac_word_re[ ]*\$/b def
27309
/^[ ]*#[ ]*define[ ][ ]*$ac_word_re[( ]/b def
27313
sed ${ac_max_sed_lines}q conftest.defines >>$CONFIG_STATUS
27315
sed -f "$tmp/defines.sed"' "$ac_in >$ac_out" >>$CONFIG_STATUS
27316
ac_in=$ac_out; ac_out=$ac_nxt; ac_nxt=$ac_in
27317
sed 1,${ac_max_sed_lines}d conftest.defines >conftest.tail
27318
grep . conftest.tail >/dev/null || break
27319
rm -f conftest.defines
27320
mv conftest.tail conftest.defines
27322
rm -f conftest.defines conftest.tail
27324
echo "ac_result=$ac_in" >>$CONFIG_STATUS
27325
cat >>$CONFIG_STATUS <<\_ACEOF
27326
if test x"$ac_file" != x-; then
27327
echo "/* $configure_input */" >"$tmp/config.h"
27328
cat "$ac_result" >>"$tmp/config.h"
27329
if diff $ac_file "$tmp/config.h" >/dev/null 2>&1; then
27330
{ echo "$as_me:$LINENO: $ac_file is unchanged" >&5
27331
echo "$as_me: $ac_file is unchanged" >&6;}
27334
mv "$tmp/config.h" $ac_file
27337
echo "/* $configure_input */"
27341
# Compute $ac_file's index in $config_headers.
27343
for _am_header in $config_headers :; do
27344
case $_am_header in
27345
$ac_file | $ac_file:* )
27348
_am_stamp_count=`expr $_am_stamp_count + 1` ;;
27351
echo "timestamp for $ac_file" >`$as_dirname -- $ac_file ||
27352
$as_expr X$ac_file : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
27353
X$ac_file : 'X\(//\)[^/]' \| \
27354
X$ac_file : 'X\(//\)$' \| \
27355
X$ac_file : 'X\(/\)' \| . 2>/dev/null ||
27357
sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
27361
/^X\(\/\/\)[^/].*/{
27373
s/.*/./; q'`/stamp-h$_am_stamp_count
27376
:C) { echo "$as_me:$LINENO: executing $ac_file commands" >&5
27377
echo "$as_me: executing $ac_file commands" >&6;}
27382
case $ac_file$ac_mode in
27383
"depfiles":C) test x"$AMDEP_TRUE" != x"" || for mf in $CONFIG_FILES; do
27384
# Strip MF so we end up with the name of the file.
27385
mf=`echo "$mf" | sed -e 's/:.*$//'`
27386
# Check whether this is an Automake generated Makefile or not.
27387
# We used to match only the files named `Makefile.in', but
27388
# some people rename them; so instead we look at the file content.
27389
# Grep'ing the first line is not enough: some people post-process
27390
# each Makefile.in and add a new line on top of each file to say so.
27391
# Grep'ing the whole file is not good either: AIX grep has a line
27392
# limit of 2048, but all sed's we know have understand at least 4000.
27393
if sed 10q "$mf" | grep '^#.*generated by automake' > /dev/null 2>&1; then
27394
dirpart=`$as_dirname -- "$mf" ||
27395
$as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
27396
X"$mf" : 'X\(//\)[^/]' \| \
27397
X"$mf" : 'X\(//\)$' \| \
27398
X"$mf" : 'X\(/\)' \| . 2>/dev/null ||
27400
sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
27404
/^X\(\/\/\)[^/].*/{
27420
# Extract the definition of DEPDIR, am__include, and am__quote
27421
# from the Makefile without running `make'.
27422
DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"`
27423
test -z "$DEPDIR" && continue
27424
am__include=`sed -n 's/^am__include = //p' < "$mf"`
27425
test -z "am__include" && continue
27426
am__quote=`sed -n 's/^am__quote = //p' < "$mf"`
27427
# When using ansi2knr, U may be empty or an underscore; expand it
27428
U=`sed -n 's/^U = //p' < "$mf"`
27429
# Find all dependency output files, they are included files with
27430
# $(DEPDIR) in their names. We invoke sed twice because it is the
27431
# simplest approach to changing $(DEPDIR) to its actual value in the
27433
for file in `sed -n "
27434
s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
27435
sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do
27436
# Make sure the directory exists.
27437
test -f "$dirpart/$file" && continue
27438
fdir=`$as_dirname -- "$file" ||
27439
$as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
27440
X"$file" : 'X\(//\)[^/]' \| \
27441
X"$file" : 'X\(//\)$' \| \
27442
X"$file" : 'X\(/\)' \| . 2>/dev/null ||
27444
sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
27448
/^X\(\/\/\)[^/].*/{
27461
{ as_dir=$dirpart/$fdir
27463
-*) as_dir=./$as_dir;;
27465
test -d "$as_dir" || { $as_mkdir_p && mkdir -p "$as_dir"; } || {
27469
*\'*) as_qdir=`echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #(
27470
*) as_qdir=$as_dir;;
27472
as_dirs="'$as_qdir' $as_dirs"
27473
as_dir=`$as_dirname -- "$as_dir" ||
27474
$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
27475
X"$as_dir" : 'X\(//\)[^/]' \| \
27476
X"$as_dir" : 'X\(//\)$' \| \
27477
X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
27479
sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
27483
/^X\(\/\/\)[^/].*/{
27496
test -d "$as_dir" && break
27498
test -z "$as_dirs" || eval "mkdir $as_dirs"
27499
} || test -d "$as_dir" || { { echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
27500
echo "$as_me: error: cannot create directory $as_dir" >&2;}
27501
{ (exit 1); exit 1; }; }; }
27502
# echo "creating $dirpart/$file"
27503
echo '# dummy' > "$dirpart/$file"
27512
{ (exit 0); exit 0; }
27514
chmod +x $CONFIG_STATUS
27515
ac_clean_files=$ac_clean_files_save
27518
# configure is writing to config.log, and then calls config.status.
27519
# config.status does its own redirection, appending to config.log.
27520
# Unfortunately, on DOS this fails, as config.log is still kept open
27521
# by configure, so config.status won't be able to write to it; its
27522
# output is simply discarded. So we exec the FD to /dev/null,
27523
# effectively closing config.log, so it can be properly (re)opened and
27524
# appended to by config.status. When coming back to configure, we
27525
# need to make the FD available again.
27526
if test "$no_create" != yes; then
27528
ac_config_status_args=
27529
test "$silent" = yes &&
27530
ac_config_status_args="$ac_config_status_args --quiet"
27532
$SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
27534
# Use ||, not &&, to avoid exiting from the if with $? = 1, which
27535
# would make configure fail if this is the last instruction.
27536
$ac_cs_success || { (exit 1); exit 1; }
27542
echo "*************************************************"
27543
echo "* Code::Blocks source tree has been configured. *"
27544
echo "*************************************************"
27546
echo "You can now build Code::Blocks by issuing 'make'".
27547
echo "When the build is complete, become root and install"
27548
echo "it by issuing 'make install'".