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
## There is no encapsulation within the following macros, do not change
8434
## the running order or otherwise move them around unless you know exactly
8435
## what you are doing...
8437
lt_prog_compiler_no_builtin_flag=
8439
if test "$GCC" = yes; then
8440
lt_prog_compiler_no_builtin_flag=' -fno-builtin'
8443
{ echo "$as_me:$LINENO: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
8444
echo $ECHO_N "checking if $compiler supports -fno-rtti -fno-exceptions... $ECHO_C" >&6; }
8445
if test "${lt_cv_prog_compiler_rtti_exceptions+set}" = set; then
8446
echo $ECHO_N "(cached) $ECHO_C" >&6
8448
lt_cv_prog_compiler_rtti_exceptions=no
8449
ac_outfile=conftest.$ac_objext
8450
echo "$lt_simple_compile_test_code" > conftest.$ac_ext
8451
lt_compiler_flag="-fno-rtti -fno-exceptions"
8452
# Insert the option either (1) after the last *FLAGS variable, or
8453
# (2) before a word containing "conftest.", or (3) at the end.
8454
# Note that $ac_compile itself does not contain backslashes and begins
8455
# with a dollar sign (not a hyphen), so the echo should work correctly.
8456
# The option is referenced via a variable to avoid confusing sed.
8457
lt_compile=`echo "$ac_compile" | $SED \
8458
-e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8459
-e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8460
-e 's:$: $lt_compiler_flag:'`
8461
(eval echo "\"\$as_me:__oline__: $lt_compile\"" >&5)
8462
(eval "$lt_compile" 2>conftest.err)
8464
cat conftest.err >&5
8465
echo "$as_me:__oline__: \$? = $ac_status" >&5
8466
if (exit $ac_status) && test -s "$ac_outfile"; then
8467
# The compiler can only warn and ignore the option if not recognized
8468
# So say no if there are warnings other than the usual output.
8469
$echo "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' >conftest.exp
8470
$SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
8471
if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
8472
lt_cv_prog_compiler_rtti_exceptions=yes
8478
{ echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_rtti_exceptions" >&5
8479
echo "${ECHO_T}$lt_cv_prog_compiler_rtti_exceptions" >&6; }
8481
if test x"$lt_cv_prog_compiler_rtti_exceptions" = xyes; then
8482
lt_prog_compiler_no_builtin_flag="$lt_prog_compiler_no_builtin_flag -fno-rtti -fno-exceptions"
8489
lt_prog_compiler_wl=
8490
lt_prog_compiler_pic=
8491
lt_prog_compiler_static=
8493
{ echo "$as_me:$LINENO: checking for $compiler option to produce PIC" >&5
8494
echo $ECHO_N "checking for $compiler option to produce PIC... $ECHO_C" >&6; }
8496
if test "$GCC" = yes; then
8497
lt_prog_compiler_wl='-Wl,'
8498
lt_prog_compiler_static='-static'
8502
# All AIX code is PIC.
8503
if test "$host_cpu" = ia64; then
8504
# AIX 5 now supports IA64 processor
8505
lt_prog_compiler_static='-Bstatic'
8510
# FIXME: we need at least 68020 code to build shared libraries, but
8511
# adding the `-m68020' flag to GCC prevents building anything better,
8513
lt_prog_compiler_pic='-m68020 -resident32 -malways-restore-a4'
8516
beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
8517
# PIC is the default for these OSes.
8520
mingw* | cygwin* | pw32* | os2*)
8521
# This hack is so that the source file can tell whether it is being
8522
# built for inclusion in a dll (and should export symbols for example).
8523
# Although the cygwin gcc ignores -fPIC, still need this for old-style
8524
# (--disable-auto-import) libraries
8525
lt_prog_compiler_pic='-DDLL_EXPORT'
8528
darwin* | rhapsody*)
8529
# PIC is the default on this platform
8530
# Common symbols not allowed in MH_DYLIB files
8531
lt_prog_compiler_pic='-fno-common'
8535
# Interix 3.x gcc -fpic/-fPIC options generate broken code.
8536
# Instead, we relocate shared libraries at runtime.
8540
# Just because we use GCC doesn't mean we suddenly get shared libraries
8541
# on systems that don't support them.
8542
lt_prog_compiler_can_build_shared=no
8547
if test -d /usr/nec; then
8548
lt_prog_compiler_pic=-Kconform_pic
8553
# PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
8560
lt_prog_compiler_pic='-fPIC'
8566
lt_prog_compiler_pic='-fPIC'
8570
# PORTME Check for flag to pass linker flags through the system compiler.
8573
lt_prog_compiler_wl='-Wl,'
8574
if test "$host_cpu" = ia64; then
8575
# AIX 5 now supports IA64 processor
8576
lt_prog_compiler_static='-Bstatic'
8578
lt_prog_compiler_static='-bnso -bI:/lib/syscalls.exp'
8582
# PIC is the default on this platform
8583
# Common symbols not allowed in MH_DYLIB files
8584
case $cc_basename in
8586
lt_prog_compiler_pic='-qnocommon'
8587
lt_prog_compiler_wl='-Wl,'
8592
mingw* | cygwin* | pw32* | os2*)
8593
# This hack is so that the source file can tell whether it is being
8594
# built for inclusion in a dll (and should export symbols for example).
8595
lt_prog_compiler_pic='-DDLL_EXPORT'
8598
hpux9* | hpux10* | hpux11*)
8599
lt_prog_compiler_wl='-Wl,'
8600
# PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
8607
lt_prog_compiler_pic='+Z'
8610
# Is there a better lt_prog_compiler_static that works with the bundled CC?
8611
lt_prog_compiler_static='${wl}-a ${wl}archive'
8614
irix5* | irix6* | nonstopux*)
8615
lt_prog_compiler_wl='-Wl,'
8616
# PIC (with -KPIC) is the default.
8617
lt_prog_compiler_static='-non_shared'
8621
lt_prog_compiler_pic='-KPIC'
8622
lt_prog_compiler_static='-Bstatic'
8625
linux* | k*bsd*-gnu)
8626
case $cc_basename in
8628
lt_prog_compiler_wl='-Wl,'
8629
lt_prog_compiler_pic='-KPIC'
8630
lt_prog_compiler_static='-static'
8632
pgcc* | pgf77* | pgf90* | pgf95*)
8633
# Portland Group compilers (*not* the Pentium gcc compiler,
8634
# which looks to be a dead project)
8635
lt_prog_compiler_wl='-Wl,'
8636
lt_prog_compiler_pic='-fpic'
8637
lt_prog_compiler_static='-Bstatic'
8640
lt_prog_compiler_wl='-Wl,'
8641
# All Alpha code is PIC.
8642
lt_prog_compiler_static='-non_shared'
8645
case `$CC -V 2>&1 | sed 5q` in
8648
lt_prog_compiler_pic='-KPIC'
8649
lt_prog_compiler_static='-Bstatic'
8650
lt_prog_compiler_wl='-Wl,'
8653
# Sun Fortran 8.3 passes all unrecognized flags to the linker
8654
lt_prog_compiler_pic='-KPIC'
8655
lt_prog_compiler_static='-Bstatic'
8656
lt_prog_compiler_wl=''
8663
osf3* | osf4* | osf5*)
8664
lt_prog_compiler_wl='-Wl,'
8665
# All OSF/1 code is PIC.
8666
lt_prog_compiler_static='-non_shared'
8670
lt_prog_compiler_static='-non_shared'
8674
lt_prog_compiler_pic='-KPIC'
8675
lt_prog_compiler_static='-Bstatic'
8676
case $cc_basename in
8678
lt_prog_compiler_wl='-Qoption ld ';;
8680
lt_prog_compiler_wl='-Wl,';;
8685
lt_prog_compiler_wl='-Qoption ld '
8686
lt_prog_compiler_pic='-PIC'
8687
lt_prog_compiler_static='-Bstatic'
8690
sysv4 | sysv4.2uw2* | sysv4.3*)
8691
lt_prog_compiler_wl='-Wl,'
8692
lt_prog_compiler_pic='-KPIC'
8693
lt_prog_compiler_static='-Bstatic'
8697
if test -d /usr/nec ;then
8698
lt_prog_compiler_pic='-Kconform_pic'
8699
lt_prog_compiler_static='-Bstatic'
8703
sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
8704
lt_prog_compiler_wl='-Wl,'
8705
lt_prog_compiler_pic='-KPIC'
8706
lt_prog_compiler_static='-Bstatic'
8710
lt_prog_compiler_wl='-Wl,'
8711
lt_prog_compiler_can_build_shared=no
8715
lt_prog_compiler_pic='-pic'
8716
lt_prog_compiler_static='-Bstatic'
8720
lt_prog_compiler_can_build_shared=no
8725
{ echo "$as_me:$LINENO: result: $lt_prog_compiler_pic" >&5
8726
echo "${ECHO_T}$lt_prog_compiler_pic" >&6; }
8729
# Check to make sure the PIC flag actually works.
8731
if test -n "$lt_prog_compiler_pic"; then
8733
{ echo "$as_me:$LINENO: checking if $compiler PIC flag $lt_prog_compiler_pic works" >&5
8734
echo $ECHO_N "checking if $compiler PIC flag $lt_prog_compiler_pic works... $ECHO_C" >&6; }
8735
if test "${lt_prog_compiler_pic_works+set}" = set; then
8736
echo $ECHO_N "(cached) $ECHO_C" >&6
8738
lt_prog_compiler_pic_works=no
8739
ac_outfile=conftest.$ac_objext
8740
echo "$lt_simple_compile_test_code" > conftest.$ac_ext
8741
lt_compiler_flag="$lt_prog_compiler_pic -DPIC"
8742
# Insert the option either (1) after the last *FLAGS variable, or
8743
# (2) before a word containing "conftest.", or (3) at the end.
8744
# Note that $ac_compile itself does not contain backslashes and begins
8745
# with a dollar sign (not a hyphen), so the echo should work correctly.
8746
# The option is referenced via a variable to avoid confusing sed.
8747
lt_compile=`echo "$ac_compile" | $SED \
8748
-e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8749
-e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8750
-e 's:$: $lt_compiler_flag:'`
8751
(eval echo "\"\$as_me:__oline__: $lt_compile\"" >&5)
8752
(eval "$lt_compile" 2>conftest.err)
8754
cat conftest.err >&5
8755
echo "$as_me:__oline__: \$? = $ac_status" >&5
8756
if (exit $ac_status) && test -s "$ac_outfile"; then
8757
# The compiler can only warn and ignore the option if not recognized
8758
# So say no if there are warnings other than the usual output.
8759
$echo "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' >conftest.exp
8760
$SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
8761
if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
8762
lt_prog_compiler_pic_works=yes
8768
{ echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_works" >&5
8769
echo "${ECHO_T}$lt_prog_compiler_pic_works" >&6; }
8771
if test x"$lt_prog_compiler_pic_works" = xyes; then
8772
case $lt_prog_compiler_pic in
8774
*) lt_prog_compiler_pic=" $lt_prog_compiler_pic" ;;
8777
lt_prog_compiler_pic=
8778
lt_prog_compiler_can_build_shared=no
8783
# For platforms which do not support PIC, -DPIC is meaningless:
8785
lt_prog_compiler_pic=
8788
lt_prog_compiler_pic="$lt_prog_compiler_pic -DPIC"
8793
# Check to make sure the static flag actually works.
8795
wl=$lt_prog_compiler_wl eval lt_tmp_static_flag=\"$lt_prog_compiler_static\"
8796
{ echo "$as_me:$LINENO: checking if $compiler static flag $lt_tmp_static_flag works" >&5
8797
echo $ECHO_N "checking if $compiler static flag $lt_tmp_static_flag works... $ECHO_C" >&6; }
8798
if test "${lt_prog_compiler_static_works+set}" = set; then
8799
echo $ECHO_N "(cached) $ECHO_C" >&6
8801
lt_prog_compiler_static_works=no
8802
save_LDFLAGS="$LDFLAGS"
8803
LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
8804
echo "$lt_simple_link_test_code" > conftest.$ac_ext
8805
if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
8806
# The linker can only warn and ignore the option if not recognized
8807
# So say no if there are warnings
8808
if test -s conftest.err; then
8809
# Append any errors to the config.log.
8810
cat conftest.err 1>&5
8811
$echo "X$_lt_linker_boilerplate" | $Xsed -e '/^$/d' > conftest.exp
8812
$SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
8813
if diff conftest.exp conftest.er2 >/dev/null; then
8814
lt_prog_compiler_static_works=yes
8817
lt_prog_compiler_static_works=yes
8821
LDFLAGS="$save_LDFLAGS"
8824
{ echo "$as_me:$LINENO: result: $lt_prog_compiler_static_works" >&5
8825
echo "${ECHO_T}$lt_prog_compiler_static_works" >&6; }
8827
if test x"$lt_prog_compiler_static_works" = xyes; then
8830
lt_prog_compiler_static=
8834
{ echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5
8835
echo $ECHO_N "checking if $compiler supports -c -o file.$ac_objext... $ECHO_C" >&6; }
8836
if test "${lt_cv_prog_compiler_c_o+set}" = set; then
8837
echo $ECHO_N "(cached) $ECHO_C" >&6
8839
lt_cv_prog_compiler_c_o=no
8840
$rm -r conftest 2>/dev/null
8844
echo "$lt_simple_compile_test_code" > conftest.$ac_ext
8846
lt_compiler_flag="-o out/conftest2.$ac_objext"
8847
# Insert the option either (1) after the last *FLAGS variable, or
8848
# (2) before a word containing "conftest.", or (3) at the end.
8849
# Note that $ac_compile itself does not contain backslashes and begins
8850
# with a dollar sign (not a hyphen), so the echo should work correctly.
8851
lt_compile=`echo "$ac_compile" | $SED \
8852
-e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8853
-e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8854
-e 's:$: $lt_compiler_flag:'`
8855
(eval echo "\"\$as_me:__oline__: $lt_compile\"" >&5)
8856
(eval "$lt_compile" 2>out/conftest.err)
8858
cat out/conftest.err >&5
8859
echo "$as_me:__oline__: \$? = $ac_status" >&5
8860
if (exit $ac_status) && test -s out/conftest2.$ac_objext
8862
# The compiler can only warn and ignore the option if not recognized
8863
# So say no if there are warnings
8864
$echo "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' > out/conftest.exp
8865
$SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
8866
if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
8867
lt_cv_prog_compiler_c_o=yes
8872
# SGI C++ compiler will create directory out/ii_files/ for
8873
# template instantiation
8874
test -d out/ii_files && $rm out/ii_files/* && rmdir out/ii_files
8875
$rm out/* && rmdir out
8881
{ echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_c_o" >&5
8882
echo "${ECHO_T}$lt_cv_prog_compiler_c_o" >&6; }
8885
hard_links="nottested"
8886
if test "$lt_cv_prog_compiler_c_o" = no && test "$need_locks" != no; then
8887
# do not overwrite the value of need_locks provided by the user
8888
{ echo "$as_me:$LINENO: checking if we can lock with hard links" >&5
8889
echo $ECHO_N "checking if we can lock with hard links... $ECHO_C" >&6; }
8892
ln conftest.a conftest.b 2>/dev/null && hard_links=no
8894
ln conftest.a conftest.b 2>&5 || hard_links=no
8895
ln conftest.a conftest.b 2>/dev/null && hard_links=no
8896
{ echo "$as_me:$LINENO: result: $hard_links" >&5
8897
echo "${ECHO_T}$hard_links" >&6; }
8898
if test "$hard_links" = no; then
8899
{ echo "$as_me:$LINENO: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
8900
echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
8907
{ echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5
8908
echo $ECHO_N "checking whether the $compiler linker ($LD) supports shared libraries... $ECHO_C" >&6; }
8911
allow_undefined_flag=
8912
enable_shared_with_static_runtimes=no
8914
archive_expsym_cmds=
8915
old_archive_From_new_cmds=
8916
old_archive_from_expsyms_cmds=
8917
export_dynamic_flag_spec=
8918
whole_archive_flag_spec=
8919
thread_safe_flag_spec=
8920
hardcode_libdir_flag_spec=
8921
hardcode_libdir_flag_spec_ld=
8922
hardcode_libdir_separator=
8925
hardcode_shlibpath_var=unsupported
8926
link_all_deplibs=unknown
8927
hardcode_automatic=no
8930
always_export_symbols=no
8931
export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
8932
# include_expsyms should be a list of space-separated symbols to be *always*
8933
# included in the symbol list
8935
# exclude_expsyms can be an extended regexp of symbols to exclude
8936
# it will be wrapped by ` (' and `)$', so one must not match beginning or
8937
# end of line. Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
8938
# as well as any symbol that contains `d'.
8939
exclude_expsyms="_GLOBAL_OFFSET_TABLE_"
8940
# Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
8941
# platforms (ab)use it in PIC code, but their linkers get confused if
8942
# the symbol is explicitly referenced. Since portable code cannot
8943
# rely on this symbol name, it's probably fine to never include it in
8944
# preloaded symbol tables.
8945
extract_expsyms_cmds=
8946
# Just being paranoid about ensuring that cc_basename is set.
8947
for cc_temp in $compiler""; do
8949
compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
8950
distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
8955
cc_basename=`$echo "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
8958
cygwin* | mingw* | pw32*)
8959
# FIXME: the MSVC++ port hasn't been tested in a loooong time
8960
# When not using gcc, we currently assume that we are using
8961
# Microsoft Visual C++.
8962
if test "$GCC" != yes; then
8967
# we just hope/assume this is gcc and not c89 (= MSVC++)
8976
if test "$with_gnu_ld" = yes; then
8977
# If archive_cmds runs LD, not CC, wlarc should be empty
8980
# Set some defaults for GNU ld with shared library support. These
8981
# are reset later if shared libraries are not supported. Putting them
8982
# here allows them to be overridden if necessary.
8983
runpath_var=LD_RUN_PATH
8984
hardcode_libdir_flag_spec='${wl}--rpath ${wl}$libdir'
8985
export_dynamic_flag_spec='${wl}--export-dynamic'
8986
# ancient GNU ld didn't support --whole-archive et. al.
8987
if $LD --help 2>&1 | grep 'no-whole-archive' > /dev/null; then
8988
whole_archive_flag_spec="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
8990
whole_archive_flag_spec=
8992
supports_anon_versioning=no
8993
case `$LD -v 2>/dev/null` in
8994
*\ [01].* | *\ 2.[0-9].* | *\ 2.10.*) ;; # catch versions < 2.11
8995
*\ 2.11.93.0.2\ *) supports_anon_versioning=yes ;; # RH7.3 ...
8996
*\ 2.11.92.0.12\ *) supports_anon_versioning=yes ;; # Mandrake 8.2 ...
8997
*\ 2.11.*) ;; # other 2.11 versions
8998
*) supports_anon_versioning=yes ;;
9001
# See if GNU ld supports shared libraries.
9003
aix3* | aix4* | aix5*)
9004
# On AIX/PPC, the GNU linker is very broken
9005
if test "$host_cpu" != ia64; then
9009
*** Warning: the GNU linker, at least up to release 2.9.1, is reported
9010
*** to be unable to reliably create shared libraries on AIX.
9011
*** Therefore, libtool is disabling shared libraries support. If you
9012
*** really care for shared libraries, you may want to modify your PATH
9013
*** so that a non-GNU linker is found, and then restart.
9020
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)'
9021
hardcode_libdir_flag_spec='-L$libdir'
9022
hardcode_minus_L=yes
9024
# Samuel A. Falvo II <kc5tja@dolphin.openprojects.net> reports
9025
# that the semantics of dynamic libraries on AmigaOS, at least up
9026
# to version 4, is to share data among multiple programs linked
9027
# with the same dynamic library. Since this doesn't match the
9028
# behavior of shared libraries on other platforms, we can't use
9034
if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
9035
allow_undefined_flag=unsupported
9036
# Joseph Beckenbach <jrb3@best.com> says some releases of gcc
9037
# support --undefined. This deserves some investigation. FIXME
9038
archive_cmds='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9044
cygwin* | mingw* | pw32*)
9045
# _LT_AC_TAGVAR(hardcode_libdir_flag_spec, ) is actually meaningless,
9046
# as there is no search path for DLLs.
9047
hardcode_libdir_flag_spec='-L$libdir'
9048
allow_undefined_flag=unsupported
9049
always_export_symbols=no
9050
enable_shared_with_static_runtimes=yes
9051
export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1 DATA/'\'' -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols'
9053
if $LD --help 2>&1 | grep 'auto-import' > /dev/null; then
9054
archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
9055
# If the export-symbols file already is a .def file (1st line
9056
# is EXPORTS), use it as is; otherwise, prepend...
9057
archive_expsym_cmds='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
9058
cp $export_symbols $output_objdir/$soname.def;
9060
echo EXPORTS > $output_objdir/$soname.def;
9061
cat $export_symbols >> $output_objdir/$soname.def;
9063
$CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
9071
hardcode_shlibpath_var=no
9072
hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
9073
export_dynamic_flag_spec='${wl}-E'
9074
# Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
9075
# Instead, shared libraries are loaded at an image base (0x10000000 by
9076
# default) and relocated if they conflict, which is a slow very memory
9077
# consuming and fragmenting process. To avoid this, we pick a random,
9078
# 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
9079
# time. Moving up from 0x10000000 also allows more sbrk(2) space.
9080
archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
9081
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'
9084
gnu* | linux* | k*bsd*-gnu)
9085
if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
9087
case $cc_basename,$host_cpu in
9088
pgcc*) # Portland Group C compiler
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'
9092
pgf77* | pgf90* | pgf95*) # Portland Group f77 and f90 compilers
9093
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'
9094
tmp_addflag=' $pic_flag -Mnomain' ;;
9095
ecc*,ia64* | icc*,ia64*) # Intel C compiler on ia64
9096
tmp_addflag=' -i_dynamic' ;;
9097
efc*,ia64* | ifort*,ia64*) # Intel Fortran compiler on ia64
9098
tmp_addflag=' -i_dynamic -nofor_main' ;;
9099
ifc* | ifort*) # Intel Fortran compiler
9100
tmp_addflag=' -nofor_main' ;;
9102
case `$CC -V 2>&1 | sed 5q` in
9103
*Sun\ C*) # Sun C 5.9
9104
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'
9105
tmp_sharedflag='-G' ;;
9106
*Sun\ F*) # Sun Fortran 8.3
9107
tmp_sharedflag='-G' ;;
9109
tmp_sharedflag='-shared' ;;
9111
archive_cmds='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9113
if test $supports_anon_versioning = yes; then
9114
archive_expsym_cmds='$echo "{ global:" > $output_objdir/$libname.ver~
9115
cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
9116
$echo "local: *; };" >> $output_objdir/$libname.ver~
9117
$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
9125
netbsd* | netbsdelf*-gnu)
9126
if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
9127
archive_cmds='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
9130
archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9131
archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
9136
if $LD -v 2>&1 | grep 'BFD 2\.8' > /dev/null; then
9140
*** Warning: The releases 2.8.* of the GNU linker cannot reliably
9141
*** create shared libraries on Solaris systems. Therefore, libtool
9142
*** is disabling shared libraries support. We urge you to upgrade GNU
9143
*** binutils to release 2.9.1 or newer. Another option is to modify
9144
*** your PATH or compiler configuration so that the native linker is
9145
*** used, and then restart.
9148
elif $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
9149
archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9150
archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
9156
sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX*)
9157
case `$LD -v 2>&1` in
9158
*\ [01].* | *\ 2.[0-9].* | *\ 2.1[0-5].*)
9162
*** Warning: Releases of the GNU linker prior to 2.16.91.0.3 can not
9163
*** reliably create shared libraries on SCO systems. Therefore, libtool
9164
*** is disabling shared libraries support. We urge you to upgrade GNU
9165
*** binutils to release 2.16.91.0.3 or newer. Another option is to modify
9166
*** your PATH or compiler configuration so that the native linker is
9167
*** used, and then restart.
9172
if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
9173
hardcode_libdir_flag_spec='`test -z "$SCOABSPATH" && echo ${wl}-rpath,$libdir`'
9174
archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib'
9175
archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname,\${SCOABSPATH:+${install_libdir}/}$soname,-retain-symbols-file,$export_symbols -o $lib'
9184
archive_cmds='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
9187
hardcode_shlibpath_var=no
9191
if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
9192
archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9193
archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
9200
if test "$ld_shlibs" = no; then
9202
hardcode_libdir_flag_spec=
9203
export_dynamic_flag_spec=
9204
whole_archive_flag_spec=
9207
# PORTME fill in a description of your system's linker (not GNU ld)
9210
allow_undefined_flag=unsupported
9211
always_export_symbols=yes
9212
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'
9213
# Note: this linker hardcodes the directories in LIBPATH if there
9214
# are no directories specified by -L.
9215
hardcode_minus_L=yes
9216
if test "$GCC" = yes && test -z "$lt_prog_compiler_static"; then
9217
# Neither direct hardcoding nor static linking is supported with a
9219
hardcode_direct=unsupported
9224
if test "$host_cpu" = ia64; then
9225
# On IA64, the linker does run time linking by default, so we don't
9226
# have to do anything special.
9227
aix_use_runtimelinking=no
9228
exp_sym_flag='-Bexport'
9231
# If we're using GNU nm, then we don't want the "-C" option.
9232
# -C means demangle to AIX nm, but means don't demangle with GNU nm
9233
if $NM -V 2>&1 | grep 'GNU' > /dev/null; then
9234
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'
9236
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'
9238
aix_use_runtimelinking=no
9240
# Test if we are trying to use run time linking or normal
9241
# AIX style linking. If -brtl is somewhere in LDFLAGS, we
9242
# need to do runtime linking.
9243
case $host_os in aix4.[23]|aix4.[23].*|aix5*)
9244
for ld_flag in $LDFLAGS; do
9245
if (test $ld_flag = "-brtl" || test $ld_flag = "-Wl,-brtl"); then
9246
aix_use_runtimelinking=yes
9253
exp_sym_flag='-bexport'
9254
no_entry_flag='-bnoentry'
9257
# When large executables or shared objects are built, AIX ld can
9258
# have problems creating the table of contents. If linking a library
9259
# or program results in "error TOC overflow" add -mminimal-toc to
9260
# CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
9261
# enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
9265
hardcode_libdir_separator=':'
9266
link_all_deplibs=yes
9268
if test "$GCC" = yes; then
9269
case $host_os in aix4.[012]|aix4.[012].*)
9270
# We only want to do this on AIX 4.2 and lower, the check
9271
# below for broken collect2 doesn't work under 4.3+
9272
collect2name=`${CC} -print-prog-name=collect2`
9273
if test -f "$collect2name" && \
9274
strings "$collect2name" | grep resolve_lib_name >/dev/null
9276
# We have reworked collect2
9279
# We have old collect2
9280
hardcode_direct=unsupported
9281
# It fails to find uninstalled libraries when the uninstalled
9282
# path is not listed in the libpath. Setting hardcode_minus_L
9283
# to unsupported forces relinking
9284
hardcode_minus_L=yes
9285
hardcode_libdir_flag_spec='-L$libdir'
9286
hardcode_libdir_separator=
9290
shared_flag='-shared'
9291
if test "$aix_use_runtimelinking" = yes; then
9292
shared_flag="$shared_flag "'${wl}-G'
9296
if test "$host_cpu" = ia64; then
9297
# VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
9298
# chokes on -Wl,-G. The following line is correct:
9301
if test "$aix_use_runtimelinking" = yes; then
9302
shared_flag='${wl}-G'
9304
shared_flag='${wl}-bM:SRE'
9309
# It seems that -bexpall does not export symbols beginning with
9310
# underscore (_), so it is better to generate a list of symbols to export.
9311
always_export_symbols=yes
9312
if test "$aix_use_runtimelinking" = yes; then
9313
# Warning - without using the other runtime loading flags (-brtl),
9314
# -berok will link without error, but may produce a broken library.
9315
allow_undefined_flag='-berok'
9316
# Determine the default libpath from the value encoded in an empty executable.
9317
cat >conftest.$ac_ext <<_ACEOF
9320
cat confdefs.h >>conftest.$ac_ext
9321
cat >>conftest.$ac_ext <<_ACEOF
9322
/* end confdefs.h. */
9332
rm -f conftest.$ac_objext conftest$ac_exeext
9333
if { (ac_try="$ac_link"
9335
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9336
*) ac_try_echo=$ac_try;;
9338
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9339
(eval "$ac_link") 2>conftest.er1
9341
grep -v '^ *+' conftest.er1 >conftest.err
9343
cat conftest.err >&5
9344
echo "$as_me:$LINENO: \$? = $ac_status" >&5
9345
(exit $ac_status); } && {
9346
test -z "$ac_c_werror_flag" ||
9347
test ! -s conftest.err
9348
} && test -s conftest$ac_exeext &&
9349
$as_test_x conftest$ac_exeext; then
9351
lt_aix_libpath_sed='
9352
/Import File Strings/,/^$/ {
9358
aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9359
# Check for a 64-bit object if we didn't find anything.
9360
if test -z "$aix_libpath"; then
9361
aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9364
echo "$as_me: failed program was:" >&5
9365
sed 's/^/| /' conftest.$ac_ext >&5
9370
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
9371
conftest$ac_exeext conftest.$ac_ext
9372
if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
9374
hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
9375
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"
9377
if test "$host_cpu" = ia64; then
9378
hardcode_libdir_flag_spec='${wl}-R $libdir:/usr/lib:/lib'
9379
allow_undefined_flag="-z nodefs"
9380
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"
9382
# Determine the default libpath from the value encoded in an empty executable.
9383
cat >conftest.$ac_ext <<_ACEOF
9386
cat confdefs.h >>conftest.$ac_ext
9387
cat >>conftest.$ac_ext <<_ACEOF
9388
/* end confdefs.h. */
9398
rm -f conftest.$ac_objext conftest$ac_exeext
9399
if { (ac_try="$ac_link"
9401
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9402
*) ac_try_echo=$ac_try;;
9404
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9405
(eval "$ac_link") 2>conftest.er1
9407
grep -v '^ *+' conftest.er1 >conftest.err
9409
cat conftest.err >&5
9410
echo "$as_me:$LINENO: \$? = $ac_status" >&5
9411
(exit $ac_status); } && {
9412
test -z "$ac_c_werror_flag" ||
9413
test ! -s conftest.err
9414
} && test -s conftest$ac_exeext &&
9415
$as_test_x conftest$ac_exeext; then
9417
lt_aix_libpath_sed='
9418
/Import File Strings/,/^$/ {
9424
aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9425
# Check for a 64-bit object if we didn't find anything.
9426
if test -z "$aix_libpath"; then
9427
aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9430
echo "$as_me: failed program was:" >&5
9431
sed 's/^/| /' conftest.$ac_ext >&5
9436
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
9437
conftest$ac_exeext conftest.$ac_ext
9438
if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
9440
hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
9441
# Warning - without using the other run time loading flags,
9442
# -berok will link without error, but may produce a broken library.
9443
no_undefined_flag=' ${wl}-bernotok'
9444
allow_undefined_flag=' ${wl}-berok'
9445
# Exported symbols can be pulled into shared objects from archives
9446
whole_archive_flag_spec='$convenience'
9447
archive_cmds_need_lc=yes
9448
# This is similar to how AIX traditionally builds its shared libraries.
9449
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'
9455
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)'
9456
hardcode_libdir_flag_spec='-L$libdir'
9457
hardcode_minus_L=yes
9458
# see comment about different semantics on the GNU ld section
9463
export_dynamic_flag_spec=-rdynamic
9466
cygwin* | mingw* | pw32*)
9467
# When not using gcc, we currently assume that we are using
9468
# Microsoft Visual C++.
9469
# hardcode_libdir_flag_spec is actually meaningless, as there is
9470
# no search path for DLLs.
9471
hardcode_libdir_flag_spec=' '
9472
allow_undefined_flag=unsupported
9473
# Tell ltmain to make .lib files, not .a files.
9475
# Tell ltmain to make .dll files, not .so files.
9477
# FIXME: Setting linknames here is a bad hack.
9478
archive_cmds='$CC -o $lib $libobjs $compiler_flags `echo "$deplibs" | $SED -e '\''s/ -lc$//'\''` -link -dll~linknames='
9479
# The linker will automatically build a .lib file if we build a DLL.
9480
old_archive_From_new_cmds='true'
9481
# FIXME: Should let the user specify the lib program.
9482
old_archive_cmds='lib -OUT:$oldlib$oldobjs$old_deplibs'
9483
fix_srcfile_path='`cygpath -w "$srcfile"`'
9484
enable_shared_with_static_runtimes=yes
9487
darwin* | rhapsody*)
9489
rhapsody* | darwin1.[012])
9490
allow_undefined_flag='${wl}-undefined ${wl}suppress'
9493
if test -z ${MACOSX_DEPLOYMENT_TARGET} ; then
9494
allow_undefined_flag='${wl}-flat_namespace ${wl}-undefined ${wl}suppress'
9496
case ${MACOSX_DEPLOYMENT_TARGET} in
9498
allow_undefined_flag='${wl}-flat_namespace ${wl}-undefined ${wl}suppress'
9501
allow_undefined_flag='${wl}-undefined ${wl}dynamic_lookup'
9507
archive_cmds_need_lc=no
9509
hardcode_automatic=yes
9510
hardcode_shlibpath_var=unsupported
9511
whole_archive_flag_spec=''
9512
link_all_deplibs=yes
9513
if test "$GCC" = yes ; then
9514
output_verbose_link_cmd='echo'
9515
archive_cmds='$CC -dynamiclib $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags -install_name $rpath/$soname $verstring'
9516
module_cmds='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
9517
# Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin lds
9518
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}'
9519
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}'
9521
case $cc_basename in
9523
output_verbose_link_cmd='echo'
9524
archive_cmds='$CC -qmkshrobj $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-install_name ${wl}`echo $rpath/$soname` $xlcverstring'
9525
module_cmds='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
9526
# Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin lds
9527
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}'
9528
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}'
9538
archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9539
hardcode_libdir_flag_spec='-L$libdir'
9540
hardcode_shlibpath_var=no
9547
# FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
9548
# support. Future versions do this automatically, but an explicit c++rt0.o
9549
# does not break anything, and helps significantly (at the cost of a little
9552
archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
9553
hardcode_libdir_flag_spec='-R$libdir'
9555
hardcode_shlibpath_var=no
9558
# Unfortunately, older versions of FreeBSD 2 do not have this feature.
9560
archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
9562
hardcode_minus_L=yes
9563
hardcode_shlibpath_var=no
9566
# FreeBSD 3 and greater uses gcc -shared to do shared libraries.
9567
freebsd* | dragonfly*)
9568
archive_cmds='$CC -shared -o $lib $libobjs $deplibs $compiler_flags'
9569
hardcode_libdir_flag_spec='-R$libdir'
9571
hardcode_shlibpath_var=no
9575
if test "$GCC" = yes; then
9576
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'
9578
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'
9580
hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
9581
hardcode_libdir_separator=:
9584
# hardcode_minus_L: Not really in the search PATH,
9585
# but as the default location of the library.
9586
hardcode_minus_L=yes
9587
export_dynamic_flag_spec='${wl}-E'
9591
if test "$GCC" = yes -a "$with_gnu_ld" = no; then
9592
archive_cmds='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
9594
archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
9596
if test "$with_gnu_ld" = no; then
9597
hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
9598
hardcode_libdir_separator=:
9601
export_dynamic_flag_spec='${wl}-E'
9603
# hardcode_minus_L: Not really in the search PATH,
9604
# but as the default location of the library.
9605
hardcode_minus_L=yes
9610
if test "$GCC" = yes -a "$with_gnu_ld" = no; then
9613
archive_cmds='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
9616
archive_cmds='$CC -shared ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
9619
archive_cmds='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
9625
archive_cmds='$CC -b ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
9628
archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
9631
archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
9635
if test "$with_gnu_ld" = no; then
9636
hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
9637
hardcode_libdir_separator=:
9641
hardcode_libdir_flag_spec_ld='+b $libdir'
9643
hardcode_shlibpath_var=no
9647
export_dynamic_flag_spec='${wl}-E'
9649
# hardcode_minus_L: Not really in the search PATH,
9650
# but as the default location of the library.
9651
hardcode_minus_L=yes
9657
irix5* | irix6* | nonstopux*)
9658
if test "$GCC" = yes; then
9659
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'
9661
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'
9662
hardcode_libdir_flag_spec_ld='-rpath $libdir'
9664
hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9665
hardcode_libdir_separator=:
9666
link_all_deplibs=yes
9669
netbsd* | netbsdelf*-gnu)
9670
if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
9671
archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' # a.out
9673
archive_cmds='$LD -shared -o $lib $libobjs $deplibs $linker_flags' # ELF
9675
hardcode_libdir_flag_spec='-R$libdir'
9677
hardcode_shlibpath_var=no
9681
archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9683
hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9684
hardcode_libdir_separator=:
9685
hardcode_shlibpath_var=no
9689
if test -f /usr/libexec/ld.so; then
9691
hardcode_shlibpath_var=no
9692
if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
9693
archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
9694
archive_expsym_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols'
9695
hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
9696
export_dynamic_flag_spec='${wl}-E'
9699
openbsd[01].* | openbsd2.[0-7] | openbsd2.[0-7].*)
9700
archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
9701
hardcode_libdir_flag_spec='-R$libdir'
9704
archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
9705
hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
9715
hardcode_libdir_flag_spec='-L$libdir'
9716
hardcode_minus_L=yes
9717
allow_undefined_flag=unsupported
9718
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'
9719
old_archive_From_new_cmds='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
9723
if test "$GCC" = yes; then
9724
allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
9725
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'
9727
allow_undefined_flag=' -expect_unresolved \*'
9728
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'
9730
hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9731
hardcode_libdir_separator=:
9734
osf4* | osf5*) # as osf3* with the addition of -msym flag
9735
if test "$GCC" = yes; then
9736
allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
9737
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'
9738
hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9740
allow_undefined_flag=' -expect_unresolved \*'
9741
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'
9742
archive_expsym_cmds='for i in `cat $export_symbols`; do printf "%s %s\\n" -exported_symbol "\$i" >> $lib.exp; done; echo "-hidden">> $lib.exp~
9743
$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'
9745
# Both c and cxx compiler support -rpath directly
9746
hardcode_libdir_flag_spec='-rpath $libdir'
9748
hardcode_libdir_separator=:
9752
no_undefined_flag=' -z text'
9753
if test "$GCC" = yes; then
9755
archive_cmds='$CC -shared ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
9756
archive_expsym_cmds='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
9757
$CC -shared ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags~$rm $lib.exp'
9760
archive_cmds='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
9761
archive_expsym_cmds='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
9762
$LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$rm $lib.exp'
9764
hardcode_libdir_flag_spec='-R$libdir'
9765
hardcode_shlibpath_var=no
9767
solaris2.[0-5] | solaris2.[0-5].*) ;;
9769
# The compiler driver will combine and reorder linker options,
9770
# but understands `-z linker_flag'. GCC discards it without `$wl',
9771
# but is careful enough not to reorder.
9772
# Supported since Solaris 2.6 (maybe 2.5.1?)
9773
if test "$GCC" = yes; then
9774
whole_archive_flag_spec='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
9776
whole_archive_flag_spec='-z allextract$convenience -z defaultextract'
9780
link_all_deplibs=yes
9784
if test "x$host_vendor" = xsequent; then
9785
# Use $CC to link under sequent, because it throws in some extra .o
9786
# files that make .init and .fini sections work.
9787
archive_cmds='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags'
9789
archive_cmds='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
9791
hardcode_libdir_flag_spec='-L$libdir'
9793
hardcode_minus_L=yes
9794
hardcode_shlibpath_var=no
9798
case $host_vendor in
9800
archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9801
hardcode_direct=yes # is this really true???
9804
## LD is ld it makes a PLAMLIB
9805
## CC just makes a GrossModule.
9806
archive_cmds='$LD -G -o $lib $libobjs $deplibs $linker_flags'
9807
reload_cmds='$CC -r -o $output$reload_objs'
9811
archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9812
hardcode_direct=no #Motorola manual says yes, but my tests say they lie
9815
runpath_var='LD_RUN_PATH'
9816
hardcode_shlibpath_var=no
9820
archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9821
hardcode_shlibpath_var=no
9822
export_dynamic_flag_spec='-Bexport'
9826
if test -d /usr/nec; then
9827
archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9828
hardcode_shlibpath_var=no
9829
runpath_var=LD_RUN_PATH
9830
hardcode_runpath_var=yes
9835
sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7* | sco3.2v5.0.[024]*)
9836
no_undefined_flag='${wl}-z,text'
9837
archive_cmds_need_lc=no
9838
hardcode_shlibpath_var=no
9839
runpath_var='LD_RUN_PATH'
9841
if test "$GCC" = yes; then
9842
archive_cmds='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9843
archive_expsym_cmds='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9845
archive_cmds='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9846
archive_expsym_cmds='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9850
sysv5* | sco3.2v5* | sco5v6*)
9851
# Note: We can NOT use -z defs as we might desire, because we do not
9852
# link with -lc, and that would cause any symbols used from libc to
9853
# always be unresolved, which means just about no library would
9854
# ever link correctly. If we're not using GNU ld we use -z text
9855
# though, which does catch some bad symbols but isn't as heavy-handed
9857
no_undefined_flag='${wl}-z,text'
9858
allow_undefined_flag='${wl}-z,nodefs'
9859
archive_cmds_need_lc=no
9860
hardcode_shlibpath_var=no
9861
hardcode_libdir_flag_spec='`test -z "$SCOABSPATH" && echo ${wl}-R,$libdir`'
9862
hardcode_libdir_separator=':'
9863
link_all_deplibs=yes
9864
export_dynamic_flag_spec='${wl}-Bexport'
9865
runpath_var='LD_RUN_PATH'
9867
if test "$GCC" = yes; then
9868
archive_cmds='$CC -shared ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
9869
archive_expsym_cmds='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
9871
archive_cmds='$CC -G ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
9872
archive_expsym_cmds='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
9877
archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9878
hardcode_libdir_flag_spec='-L$libdir'
9879
hardcode_shlibpath_var=no
9888
{ echo "$as_me:$LINENO: result: $ld_shlibs" >&5
9889
echo "${ECHO_T}$ld_shlibs" >&6; }
9890
test "$ld_shlibs" = no && can_build_shared=no
9893
# Do we need to explicitly link libc?
9895
case "x$archive_cmds_need_lc" in
9897
# Assume -lc should be added
9898
archive_cmds_need_lc=yes
9900
if test "$enable_shared" = yes && test "$GCC" = yes; then
9901
case $archive_cmds in
9903
# FIXME: we may have to deal with multi-command sequences.
9906
# Test whether the compiler implicitly links with -lc since on some
9907
# systems, -lgcc has to come before -lc. If gcc already passes -lc
9908
# to ld, don't add -lc before -lgcc.
9909
{ echo "$as_me:$LINENO: checking whether -lc should be explicitly linked in" >&5
9910
echo $ECHO_N "checking whether -lc should be explicitly linked in... $ECHO_C" >&6; }
9912
echo "$lt_simple_compile_test_code" > conftest.$ac_ext
9914
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
9915
(eval $ac_compile) 2>&5
9917
echo "$as_me:$LINENO: \$? = $ac_status" >&5
9918
(exit $ac_status); } 2>conftest.err; then
9921
libobjs=conftest.$ac_objext
9923
wl=$lt_prog_compiler_wl
9924
pic_flag=$lt_prog_compiler_pic
9930
lt_save_allow_undefined_flag=$allow_undefined_flag
9931
allow_undefined_flag=
9932
if { (eval echo "$as_me:$LINENO: \"$archive_cmds 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1\"") >&5
9933
(eval $archive_cmds 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1) 2>&5
9935
echo "$as_me:$LINENO: \$? = $ac_status" >&5
9936
(exit $ac_status); }
9938
archive_cmds_need_lc=no
9940
archive_cmds_need_lc=yes
9942
allow_undefined_flag=$lt_save_allow_undefined_flag
9944
cat conftest.err 1>&5
9947
{ echo "$as_me:$LINENO: result: $archive_cmds_need_lc" >&5
9948
echo "${ECHO_T}$archive_cmds_need_lc" >&6; }
9955
{ echo "$as_me:$LINENO: checking dynamic linker characteristics" >&5
9956
echo $ECHO_N "checking dynamic linker characteristics... $ECHO_C" >&6; }
9958
libname_spec='lib$name'
9966
shlibpath_overrides_runpath=unknown
9968
dynamic_linker="$host_os ld.so"
9969
sys_lib_dlsearch_path_spec="/lib /usr/lib"
9971
if test "$GCC" = yes; then
9973
darwin*) lt_awk_arg="/^libraries:/,/LR/" ;;
9974
*) lt_awk_arg="/^libraries:/" ;;
9976
lt_search_path_spec=`$CC -print-search-dirs | awk $lt_awk_arg | $SED -e "s/^libraries://" -e "s,=/,/,g"`
9977
if echo "$lt_search_path_spec" | grep ';' >/dev/null ; then
9978
# if the path contains ";" then we assume it to be the separator
9979
# otherwise default to the standard path separator (i.e. ":") - it is
9980
# assumed that no part of a normal pathname contains ";" but that should
9981
# okay in the real world where ";" in dirpaths is itself problematic.
9982
lt_search_path_spec=`echo "$lt_search_path_spec" | $SED -e 's/;/ /g'`
9984
lt_search_path_spec=`echo "$lt_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
9986
# Ok, now we have the path, separated by spaces, we can step through it
9987
# and add multilib dir if necessary.
9988
lt_tmp_lt_search_path_spec=
9989
lt_multi_os_dir=`$CC $CPPFLAGS $CFLAGS $LDFLAGS -print-multi-os-directory 2>/dev/null`
9990
for lt_sys_path in $lt_search_path_spec; do
9991
if test -d "$lt_sys_path/$lt_multi_os_dir"; then
9992
lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path/$lt_multi_os_dir"
9994
test -d "$lt_sys_path" && \
9995
lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path"
9998
lt_search_path_spec=`echo $lt_tmp_lt_search_path_spec | awk '
9999
BEGIN {RS=" "; FS="/|\n";} {
10002
for (lt_i = NF; lt_i > 0; lt_i--) {
10003
if ($lt_i != "" && $lt_i != ".") {
10004
if ($lt_i == "..") {
10007
if (lt_count == 0) {
10008
lt_foo="/" $lt_i lt_foo;
10015
if (lt_foo != "") { lt_freq[lt_foo]++; }
10016
if (lt_freq[lt_foo] == 1) { print lt_foo; }
10018
sys_lib_search_path_spec=`echo $lt_search_path_spec`
10020
sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"
10022
need_lib_prefix=unknown
10023
hardcode_into_libs=no
10025
# when you set need_version to no, make sure it does not cause -set_version
10026
# flags to be left without arguments
10027
need_version=unknown
10032
library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a'
10033
shlibpath_var=LIBPATH
10035
# AIX 3 has no versioning support, so we append a major version to the name.
10036
soname_spec='${libname}${release}${shared_ext}$major'
10043
hardcode_into_libs=yes
10044
if test "$host_cpu" = ia64; then
10045
# AIX 5 supports IA64
10046
library_names_spec='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
10047
shlibpath_var=LD_LIBRARY_PATH
10049
# With GCC up to 2.95.x, collect2 would create an import file
10050
# for dependence libraries. The import file would start with
10051
# the line `#! .'. This would cause the generated library to
10052
# depend on `.', always an invalid library. This was fixed in
10053
# development snapshots of GCC prior to 3.0.
10055
aix4 | aix4.[01] | aix4.[01].*)
10056
if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
10058
echo '#endif'; } | ${CC} -E - | grep yes > /dev/null; then
10061
can_build_shared=no
10065
# AIX (on Power*) has no versioning support, so currently we can not hardcode correct
10066
# soname into executable. Probably we can add versioning support to
10067
# collect2, so additional links can be useful in future.
10068
if test "$aix_use_runtimelinking" = yes; then
10069
# If using run time linking (on AIX 4.2 or later) use lib<name>.so
10070
# instead of lib<name>.a to let people know that these are not
10071
# typical AIX shared libraries.
10072
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10074
# We preserve .a as extension for shared libraries through AIX4.2
10075
# and later when we are not doing run time linking.
10076
library_names_spec='${libname}${release}.a $libname.a'
10077
soname_spec='${libname}${release}${shared_ext}$major'
10079
shlibpath_var=LIBPATH
10084
library_names_spec='$libname.ixlibrary $libname.a'
10085
# Create ${libname}_ixlibrary.a entries in /sys/libs.
10086
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'
10090
library_names_spec='${libname}${shared_ext}'
10091
dynamic_linker="$host_os ld.so"
10092
shlibpath_var=LIBRARY_PATH
10098
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10099
soname_spec='${libname}${release}${shared_ext}$major'
10100
finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
10101
shlibpath_var=LD_LIBRARY_PATH
10102
sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
10103
sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
10104
# the default ld.so.conf also contains /usr/contrib/lib and
10105
# /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
10106
# libtool to hard-code these into programs
10109
cygwin* | mingw* | pw32*)
10110
version_type=windows
10115
case $GCC,$host_os in
10116
yes,cygwin* | yes,mingw* | yes,pw32*)
10117
library_names_spec='$libname.dll.a'
10118
# DLL is installed to $(libdir)/../bin by postinstall_cmds
10119
postinstall_cmds='base_file=`basename \${file}`~
10120
dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i;echo \$dlname'\''`~
10121
dldir=$destdir/`dirname \$dlpath`~
10122
test -d \$dldir || mkdir -p \$dldir~
10123
$install_prog $dir/$dlname \$dldir/$dlname~
10124
chmod a+x \$dldir/$dlname'
10125
postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
10126
dlpath=$dir/\$dldll~
10128
shlibpath_overrides_runpath=yes
10132
# Cygwin DLLs use 'cyg' prefix rather than 'lib'
10133
soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
10134
sys_lib_search_path_spec="/usr/lib /lib/w32api /lib /usr/local/lib"
10137
# MinGW DLLs use traditional 'lib' prefix
10138
soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
10139
sys_lib_search_path_spec=`$CC -print-search-dirs | grep "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
10140
if echo "$sys_lib_search_path_spec" | grep ';[c-zC-Z]:/' >/dev/null; then
10141
# It is most probably a Windows format PATH printed by
10142
# mingw gcc, but we are running on Cygwin. Gcc prints its search
10143
# path with ; separators, and with drive letters. We can handle the
10144
# drive letters (cygwin fileutils understands them), so leave them,
10145
# especially as we might pass files found there to a mingw objdump,
10146
# which wouldn't understand a cygwinified path. Ahh.
10147
sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
10149
sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
10153
# pw32 DLLs use 'pw' prefix rather than 'lib'
10154
library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
10160
library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
10163
dynamic_linker='Win32 ld.exe'
10164
# FIXME: first we should search . and the directory the executable is in
10168
darwin* | rhapsody*)
10169
dynamic_linker="$host_os dyld"
10170
version_type=darwin
10173
library_names_spec='${libname}${release}${versuffix}$shared_ext ${libname}${release}${major}$shared_ext ${libname}$shared_ext'
10174
soname_spec='${libname}${release}${major}$shared_ext'
10175
shlibpath_overrides_runpath=yes
10176
shlibpath_var=DYLD_LIBRARY_PATH
10177
shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`'
10179
sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/local/lib"
10180
sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
10187
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
10188
soname_spec='${libname}${release}${shared_ext}$major'
10189
shlibpath_var=LD_LIBRARY_PATH
10196
freebsd* | dragonfly*)
10197
# DragonFly does not have aout. When/if they implement a new
10198
# versioning mechanism, adjust this.
10199
if test -x /usr/bin/objformat; then
10200
objformat=`/usr/bin/objformat`
10203
freebsd[123]*) objformat=aout ;;
10204
*) objformat=elf ;;
10207
version_type=freebsd-$objformat
10208
case $version_type in
10210
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
10215
library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
10219
shlibpath_var=LD_LIBRARY_PATH
10222
shlibpath_overrides_runpath=yes
10224
freebsd3.[01]* | freebsdelf3.[01]*)
10225
shlibpath_overrides_runpath=yes
10226
hardcode_into_libs=yes
10228
freebsd3.[2-9]* | freebsdelf3.[2-9]* | \
10229
freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1)
10230
shlibpath_overrides_runpath=no
10231
hardcode_into_libs=yes
10233
*) # from 4.6 on, and DragonFly
10234
shlibpath_overrides_runpath=yes
10235
hardcode_into_libs=yes
10244
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
10245
soname_spec='${libname}${release}${shared_ext}$major'
10246
shlibpath_var=LD_LIBRARY_PATH
10247
hardcode_into_libs=yes
10250
hpux9* | hpux10* | hpux11*)
10251
# Give a soname corresponding to the major version so that dld.sl refuses to
10252
# link against other versions.
10259
hardcode_into_libs=yes
10260
dynamic_linker="$host_os dld.so"
10261
shlibpath_var=LD_LIBRARY_PATH
10262
shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
10263
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10264
soname_spec='${libname}${release}${shared_ext}$major'
10265
if test "X$HPUX_IA64_MODE" = X32; then
10266
sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
10268
sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
10270
sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
10274
hardcode_into_libs=yes
10275
dynamic_linker="$host_os dld.sl"
10276
shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
10277
shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
10278
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10279
soname_spec='${libname}${release}${shared_ext}$major'
10280
sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
10281
sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
10285
dynamic_linker="$host_os dld.sl"
10286
shlibpath_var=SHLIB_PATH
10287
shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
10288
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10289
soname_spec='${libname}${release}${shared_ext}$major'
10292
# HP-UX runs *really* slowly unless shared libraries are mode 555.
10293
postinstall_cmds='chmod 555 $lib'
10300
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
10301
soname_spec='${libname}${release}${shared_ext}$major'
10302
dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)'
10303
shlibpath_var=LD_LIBRARY_PATH
10304
shlibpath_overrides_runpath=no
10305
hardcode_into_libs=yes
10308
irix5* | irix6* | nonstopux*)
10310
nonstopux*) version_type=nonstopux ;;
10312
if test "$lt_cv_prog_gnu_ld" = yes; then
10320
soname_spec='${libname}${release}${shared_ext}$major'
10321
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
10323
irix5* | nonstopux*)
10324
libsuff= shlibsuff=
10327
case $LD in # libtool.m4 will add one of these switches to LD
10328
*-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
10329
libsuff= shlibsuff= libmagic=32-bit;;
10330
*-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
10331
libsuff=32 shlibsuff=N32 libmagic=N32;;
10332
*-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
10333
libsuff=64 shlibsuff=64 libmagic=64-bit;;
10334
*) libsuff= shlibsuff= libmagic=never-match;;
10338
shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
10339
shlibpath_overrides_runpath=no
10340
sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
10341
sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}"
10342
hardcode_into_libs=yes
10345
# No shared lib support for Linux oldld, aout, or coff.
10346
linux*oldld* | linux*aout* | linux*coff*)
10350
# This must be Linux ELF.
10351
linux* | k*bsd*-gnu)
10355
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10356
soname_spec='${libname}${release}${shared_ext}$major'
10357
finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
10358
shlibpath_var=LD_LIBRARY_PATH
10359
shlibpath_overrides_runpath=no
10360
# This implies no fast_install, which is unacceptable.
10361
# Some rework will be needed to allow for fast_install
10362
# before this can be enabled.
10363
hardcode_into_libs=yes
10365
# Append ld.so.conf contents to the search path
10366
if test -f /etc/ld.so.conf; then
10367
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' ' '`
10368
sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra"
10371
# We used to test for /lib/ld.so.1 and disable shared libraries on
10372
# powerpc, because MkLinux only supported shared libraries with the
10373
# GNU dynamic linker. Since this was broken with cross compilers,
10374
# most powerpc-linux boxes support dynamic linking these days and
10375
# people can always --disable-shared, the test was removed, and we
10376
# assume the GNU/Linux dynamic linker is in use.
10377
dynamic_linker='GNU/Linux ld.so'
10384
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
10385
soname_spec='${libname}${release}${shared_ext}$major'
10386
shlibpath_var=LD_LIBRARY_PATH
10387
shlibpath_overrides_runpath=no
10388
hardcode_into_libs=yes
10389
dynamic_linker='NetBSD ld.elf_so'
10396
if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
10397
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
10398
finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
10399
dynamic_linker='NetBSD (a.out) ld.so'
10401
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
10402
soname_spec='${libname}${release}${shared_ext}$major'
10403
dynamic_linker='NetBSD ld.elf_so'
10405
shlibpath_var=LD_LIBRARY_PATH
10406
shlibpath_overrides_runpath=yes
10407
hardcode_into_libs=yes
10412
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10413
shlibpath_var=LD_LIBRARY_PATH
10414
shlibpath_overrides_runpath=yes
10421
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10422
soname_spec='${libname}${release}${shared_ext}$major'
10423
shlibpath_var=LD_LIBRARY_PATH
10424
shlibpath_overrides_runpath=yes
10429
sys_lib_dlsearch_path_spec="/usr/lib"
10431
# Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
10433
openbsd3.3 | openbsd3.3.*) need_version=yes ;;
10434
*) need_version=no ;;
10436
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
10437
finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
10438
shlibpath_var=LD_LIBRARY_PATH
10439
if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
10441
openbsd2.[89] | openbsd2.[89].*)
10442
shlibpath_overrides_runpath=no
10445
shlibpath_overrides_runpath=yes
10449
shlibpath_overrides_runpath=yes
10454
libname_spec='$name'
10457
library_names_spec='$libname${shared_ext} $libname.a'
10458
dynamic_linker='OS/2 ld.exe'
10459
shlibpath_var=LIBPATH
10462
osf3* | osf4* | osf5*)
10466
soname_spec='${libname}${release}${shared_ext}$major'
10467
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10468
shlibpath_var=LD_LIBRARY_PATH
10469
sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
10470
sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec"
10481
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10482
soname_spec='${libname}${release}${shared_ext}$major'
10483
shlibpath_var=LD_LIBRARY_PATH
10484
shlibpath_overrides_runpath=yes
10485
hardcode_into_libs=yes
10486
# ldd complains unless libraries are executable
10487
postinstall_cmds='chmod +x $lib'
10492
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
10493
finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
10494
shlibpath_var=LD_LIBRARY_PATH
10495
shlibpath_overrides_runpath=yes
10496
if test "$with_gnu_ld" = yes; then
10504
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10505
soname_spec='${libname}${release}${shared_ext}$major'
10506
shlibpath_var=LD_LIBRARY_PATH
10507
case $host_vendor in
10509
shlibpath_overrides_runpath=no
10511
export_dynamic_flag_spec='${wl}-Blargedynsym'
10512
runpath_var=LD_RUN_PATH
10520
shlibpath_overrides_runpath=no
10521
sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
10527
if test -d /usr/nec ;then
10529
library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
10530
soname_spec='$libname${shared_ext}.$major'
10531
shlibpath_var=LD_LIBRARY_PATH
10535
sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
10536
version_type=freebsd-elf
10539
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
10540
soname_spec='${libname}${release}${shared_ext}$major'
10541
shlibpath_var=LD_LIBRARY_PATH
10542
hardcode_into_libs=yes
10543
if test "$with_gnu_ld" = yes; then
10544
sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
10545
shlibpath_overrides_runpath=no
10547
sys_lib_search_path_spec='/usr/ccs/lib /usr/lib'
10548
shlibpath_overrides_runpath=yes
10551
sys_lib_search_path_spec="$sys_lib_search_path_spec /lib"
10555
sys_lib_dlsearch_path_spec='/usr/lib'
10560
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10561
soname_spec='${libname}${release}${shared_ext}$major'
10562
shlibpath_var=LD_LIBRARY_PATH
10569
{ echo "$as_me:$LINENO: result: $dynamic_linker" >&5
10570
echo "${ECHO_T}$dynamic_linker" >&6; }
10571
test "$dynamic_linker" = no && can_build_shared=no
10573
variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
10574
if test "$GCC" = yes; then
10575
variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
10578
{ echo "$as_me:$LINENO: checking how to hardcode library paths into programs" >&5
10579
echo $ECHO_N "checking how to hardcode library paths into programs... $ECHO_C" >&6; }
10581
if test -n "$hardcode_libdir_flag_spec" || \
10582
test -n "$runpath_var" || \
10583
test "X$hardcode_automatic" = "Xyes" ; then
10585
# We can hardcode non-existant directories.
10586
if test "$hardcode_direct" != no &&
10587
# If the only mechanism to avoid hardcoding is shlibpath_var, we
10588
# have to relink, otherwise we might link with an installed library
10589
# when we should be linking with a yet-to-be-installed one
10590
## test "$_LT_AC_TAGVAR(hardcode_shlibpath_var, )" != no &&
10591
test "$hardcode_minus_L" != no; then
10592
# Linking always hardcodes the temporary library directory.
10593
hardcode_action=relink
10595
# We can link without hardcoding, and we can hardcode nonexisting dirs.
10596
hardcode_action=immediate
10599
# We cannot hardcode anything, or else we can only hardcode existing
10601
hardcode_action=unsupported
10603
{ echo "$as_me:$LINENO: result: $hardcode_action" >&5
10604
echo "${ECHO_T}$hardcode_action" >&6; }
10606
if test "$hardcode_action" = relink; then
10607
# Fast installation is not supported
10608
enable_fast_install=no
10609
elif test "$shlibpath_overrides_runpath" = yes ||
10610
test "$enable_shared" = no; then
10611
# Fast installation is not necessary
10612
enable_fast_install=needless
10617
{ echo "$as_me:$LINENO: checking whether stripping libraries is possible" >&5
10618
echo $ECHO_N "checking whether stripping libraries is possible... $ECHO_C" >&6; }
10619
if test -n "$STRIP" && $STRIP -V 2>&1 | grep "GNU strip" >/dev/null; then
10620
test -z "$old_striplib" && old_striplib="$STRIP --strip-debug"
10621
test -z "$striplib" && striplib="$STRIP --strip-unneeded"
10622
{ echo "$as_me:$LINENO: result: yes" >&5
10623
echo "${ECHO_T}yes" >&6; }
10625
# FIXME - insert some real tests, host_os isn't really good enough
10628
if test -n "$STRIP" ; then
10629
striplib="$STRIP -x"
10630
old_striplib="$STRIP -S"
10631
{ echo "$as_me:$LINENO: result: yes" >&5
10632
echo "${ECHO_T}yes" >&6; }
10634
{ echo "$as_me:$LINENO: result: no" >&5
10635
echo "${ECHO_T}no" >&6; }
10639
{ echo "$as_me:$LINENO: result: no" >&5
10640
echo "${ECHO_T}no" >&6; }
10645
if test "x$enable_dlopen" != xyes; then
10646
enable_dlopen=unknown
10647
enable_dlopen_self=unknown
10648
enable_dlopen_self_static=unknown
10655
lt_cv_dlopen="load_add_on"
10657
lt_cv_dlopen_self=yes
10661
lt_cv_dlopen="LoadLibrary"
10666
lt_cv_dlopen="dlopen"
10671
# if libdl is installed we need to link against it
10672
{ echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
10673
echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6; }
10674
if test "${ac_cv_lib_dl_dlopen+set}" = set; then
10675
echo $ECHO_N "(cached) $ECHO_C" >&6
10677
ac_check_lib_save_LIBS=$LIBS
10679
cat >conftest.$ac_ext <<_ACEOF
10682
cat confdefs.h >>conftest.$ac_ext
10683
cat >>conftest.$ac_ext <<_ACEOF
10684
/* end confdefs.h. */
10686
/* Override any GCC internal prototype to avoid an error.
10687
Use char because int might match the return type of a GCC
10688
builtin and then its argument prototype would still apply. */
10701
rm -f conftest.$ac_objext conftest$ac_exeext
10702
if { (ac_try="$ac_link"
10703
case "(($ac_try" in
10704
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10705
*) ac_try_echo=$ac_try;;
10707
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10708
(eval "$ac_link") 2>conftest.er1
10710
grep -v '^ *+' conftest.er1 >conftest.err
10712
cat conftest.err >&5
10713
echo "$as_me:$LINENO: \$? = $ac_status" >&5
10714
(exit $ac_status); } && {
10715
test -z "$ac_c_werror_flag" ||
10716
test ! -s conftest.err
10717
} && test -s conftest$ac_exeext &&
10718
$as_test_x conftest$ac_exeext; then
10719
ac_cv_lib_dl_dlopen=yes
10721
echo "$as_me: failed program was:" >&5
10722
sed 's/^/| /' conftest.$ac_ext >&5
10724
ac_cv_lib_dl_dlopen=no
10727
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
10728
conftest$ac_exeext conftest.$ac_ext
10729
LIBS=$ac_check_lib_save_LIBS
10731
{ echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
10732
echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6; }
10733
if test $ac_cv_lib_dl_dlopen = yes; then
10734
lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
10737
lt_cv_dlopen="dyld"
10739
lt_cv_dlopen_self=yes
10746
{ echo "$as_me:$LINENO: checking for shl_load" >&5
10747
echo $ECHO_N "checking for shl_load... $ECHO_C" >&6; }
10748
if test "${ac_cv_func_shl_load+set}" = set; then
10749
echo $ECHO_N "(cached) $ECHO_C" >&6
10751
cat >conftest.$ac_ext <<_ACEOF
10754
cat confdefs.h >>conftest.$ac_ext
10755
cat >>conftest.$ac_ext <<_ACEOF
10756
/* end confdefs.h. */
10757
/* Define shl_load to an innocuous variant, in case <limits.h> declares shl_load.
10758
For example, HP-UX 11i <limits.h> declares gettimeofday. */
10759
#define shl_load innocuous_shl_load
10761
/* System header to define __stub macros and hopefully few prototypes,
10762
which can conflict with char shl_load (); below.
10763
Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
10764
<limits.h> exists even on freestanding compilers. */
10767
# include <limits.h>
10769
# include <assert.h>
10774
/* Override any GCC internal prototype to avoid an error.
10775
Use char because int might match the return type of a GCC
10776
builtin and then its argument prototype would still apply. */
10781
/* The GNU C library defines this for functions which it implements
10782
to always fail with ENOSYS. Some functions are actually named
10783
something starting with __ and the normal name is an alias. */
10784
#if defined __stub_shl_load || defined __stub___shl_load
10791
return shl_load ();
10796
rm -f conftest.$ac_objext conftest$ac_exeext
10797
if { (ac_try="$ac_link"
10798
case "(($ac_try" in
10799
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10800
*) ac_try_echo=$ac_try;;
10802
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10803
(eval "$ac_link") 2>conftest.er1
10805
grep -v '^ *+' conftest.er1 >conftest.err
10807
cat conftest.err >&5
10808
echo "$as_me:$LINENO: \$? = $ac_status" >&5
10809
(exit $ac_status); } && {
10810
test -z "$ac_c_werror_flag" ||
10811
test ! -s conftest.err
10812
} && test -s conftest$ac_exeext &&
10813
$as_test_x conftest$ac_exeext; then
10814
ac_cv_func_shl_load=yes
10816
echo "$as_me: failed program was:" >&5
10817
sed 's/^/| /' conftest.$ac_ext >&5
10819
ac_cv_func_shl_load=no
10822
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
10823
conftest$ac_exeext conftest.$ac_ext
10825
{ echo "$as_me:$LINENO: result: $ac_cv_func_shl_load" >&5
10826
echo "${ECHO_T}$ac_cv_func_shl_load" >&6; }
10827
if test $ac_cv_func_shl_load = yes; then
10828
lt_cv_dlopen="shl_load"
10830
{ echo "$as_me:$LINENO: checking for shl_load in -ldld" >&5
10831
echo $ECHO_N "checking for shl_load in -ldld... $ECHO_C" >&6; }
10832
if test "${ac_cv_lib_dld_shl_load+set}" = set; then
10833
echo $ECHO_N "(cached) $ECHO_C" >&6
10835
ac_check_lib_save_LIBS=$LIBS
10837
cat >conftest.$ac_ext <<_ACEOF
10840
cat confdefs.h >>conftest.$ac_ext
10841
cat >>conftest.$ac_ext <<_ACEOF
10842
/* end confdefs.h. */
10844
/* Override any GCC internal prototype to avoid an error.
10845
Use char because int might match the return type of a GCC
10846
builtin and then its argument prototype would still apply. */
10854
return shl_load ();
10859
rm -f conftest.$ac_objext conftest$ac_exeext
10860
if { (ac_try="$ac_link"
10861
case "(($ac_try" in
10862
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10863
*) ac_try_echo=$ac_try;;
10865
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10866
(eval "$ac_link") 2>conftest.er1
10868
grep -v '^ *+' conftest.er1 >conftest.err
10870
cat conftest.err >&5
10871
echo "$as_me:$LINENO: \$? = $ac_status" >&5
10872
(exit $ac_status); } && {
10873
test -z "$ac_c_werror_flag" ||
10874
test ! -s conftest.err
10875
} && test -s conftest$ac_exeext &&
10876
$as_test_x conftest$ac_exeext; then
10877
ac_cv_lib_dld_shl_load=yes
10879
echo "$as_me: failed program was:" >&5
10880
sed 's/^/| /' conftest.$ac_ext >&5
10882
ac_cv_lib_dld_shl_load=no
10885
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
10886
conftest$ac_exeext conftest.$ac_ext
10887
LIBS=$ac_check_lib_save_LIBS
10889
{ echo "$as_me:$LINENO: result: $ac_cv_lib_dld_shl_load" >&5
10890
echo "${ECHO_T}$ac_cv_lib_dld_shl_load" >&6; }
10891
if test $ac_cv_lib_dld_shl_load = yes; then
10892
lt_cv_dlopen="shl_load" lt_cv_dlopen_libs="-dld"
10894
{ echo "$as_me:$LINENO: checking for dlopen" >&5
10895
echo $ECHO_N "checking for dlopen... $ECHO_C" >&6; }
10896
if test "${ac_cv_func_dlopen+set}" = set; then
10897
echo $ECHO_N "(cached) $ECHO_C" >&6
10899
cat >conftest.$ac_ext <<_ACEOF
10902
cat confdefs.h >>conftest.$ac_ext
10903
cat >>conftest.$ac_ext <<_ACEOF
10904
/* end confdefs.h. */
10905
/* Define dlopen to an innocuous variant, in case <limits.h> declares dlopen.
10906
For example, HP-UX 11i <limits.h> declares gettimeofday. */
10907
#define dlopen innocuous_dlopen
10909
/* System header to define __stub macros and hopefully few prototypes,
10910
which can conflict with char dlopen (); below.
10911
Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
10912
<limits.h> exists even on freestanding compilers. */
10915
# include <limits.h>
10917
# include <assert.h>
10922
/* Override any GCC internal prototype to avoid an error.
10923
Use char because int might match the return type of a GCC
10924
builtin and then its argument prototype would still apply. */
10929
/* The GNU C library defines this for functions which it implements
10930
to always fail with ENOSYS. Some functions are actually named
10931
something starting with __ and the normal name is an alias. */
10932
#if defined __stub_dlopen || defined __stub___dlopen
10944
rm -f conftest.$ac_objext conftest$ac_exeext
10945
if { (ac_try="$ac_link"
10946
case "(($ac_try" in
10947
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10948
*) ac_try_echo=$ac_try;;
10950
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10951
(eval "$ac_link") 2>conftest.er1
10953
grep -v '^ *+' conftest.er1 >conftest.err
10955
cat conftest.err >&5
10956
echo "$as_me:$LINENO: \$? = $ac_status" >&5
10957
(exit $ac_status); } && {
10958
test -z "$ac_c_werror_flag" ||
10959
test ! -s conftest.err
10960
} && test -s conftest$ac_exeext &&
10961
$as_test_x conftest$ac_exeext; then
10962
ac_cv_func_dlopen=yes
10964
echo "$as_me: failed program was:" >&5
10965
sed 's/^/| /' conftest.$ac_ext >&5
10967
ac_cv_func_dlopen=no
10970
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
10971
conftest$ac_exeext conftest.$ac_ext
10973
{ echo "$as_me:$LINENO: result: $ac_cv_func_dlopen" >&5
10974
echo "${ECHO_T}$ac_cv_func_dlopen" >&6; }
10975
if test $ac_cv_func_dlopen = yes; then
10976
lt_cv_dlopen="dlopen"
10978
{ echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
10979
echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6; }
10980
if test "${ac_cv_lib_dl_dlopen+set}" = set; then
10981
echo $ECHO_N "(cached) $ECHO_C" >&6
10983
ac_check_lib_save_LIBS=$LIBS
10985
cat >conftest.$ac_ext <<_ACEOF
10988
cat confdefs.h >>conftest.$ac_ext
10989
cat >>conftest.$ac_ext <<_ACEOF
10990
/* end confdefs.h. */
10992
/* Override any GCC internal prototype to avoid an error.
10993
Use char because int might match the return type of a GCC
10994
builtin and then its argument prototype would still apply. */
11007
rm -f conftest.$ac_objext conftest$ac_exeext
11008
if { (ac_try="$ac_link"
11009
case "(($ac_try" in
11010
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11011
*) ac_try_echo=$ac_try;;
11013
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11014
(eval "$ac_link") 2>conftest.er1
11016
grep -v '^ *+' conftest.er1 >conftest.err
11018
cat conftest.err >&5
11019
echo "$as_me:$LINENO: \$? = $ac_status" >&5
11020
(exit $ac_status); } && {
11021
test -z "$ac_c_werror_flag" ||
11022
test ! -s conftest.err
11023
} && test -s conftest$ac_exeext &&
11024
$as_test_x conftest$ac_exeext; then
11025
ac_cv_lib_dl_dlopen=yes
11027
echo "$as_me: failed program was:" >&5
11028
sed 's/^/| /' conftest.$ac_ext >&5
11030
ac_cv_lib_dl_dlopen=no
11033
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
11034
conftest$ac_exeext conftest.$ac_ext
11035
LIBS=$ac_check_lib_save_LIBS
11037
{ echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
11038
echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6; }
11039
if test $ac_cv_lib_dl_dlopen = yes; then
11040
lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
11042
{ echo "$as_me:$LINENO: checking for dlopen in -lsvld" >&5
11043
echo $ECHO_N "checking for dlopen in -lsvld... $ECHO_C" >&6; }
11044
if test "${ac_cv_lib_svld_dlopen+set}" = set; then
11045
echo $ECHO_N "(cached) $ECHO_C" >&6
11047
ac_check_lib_save_LIBS=$LIBS
11048
LIBS="-lsvld $LIBS"
11049
cat >conftest.$ac_ext <<_ACEOF
11052
cat confdefs.h >>conftest.$ac_ext
11053
cat >>conftest.$ac_ext <<_ACEOF
11054
/* end confdefs.h. */
11056
/* Override any GCC internal prototype to avoid an error.
11057
Use char because int might match the return type of a GCC
11058
builtin and then its argument prototype would still apply. */
11071
rm -f conftest.$ac_objext conftest$ac_exeext
11072
if { (ac_try="$ac_link"
11073
case "(($ac_try" in
11074
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11075
*) ac_try_echo=$ac_try;;
11077
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11078
(eval "$ac_link") 2>conftest.er1
11080
grep -v '^ *+' conftest.er1 >conftest.err
11082
cat conftest.err >&5
11083
echo "$as_me:$LINENO: \$? = $ac_status" >&5
11084
(exit $ac_status); } && {
11085
test -z "$ac_c_werror_flag" ||
11086
test ! -s conftest.err
11087
} && test -s conftest$ac_exeext &&
11088
$as_test_x conftest$ac_exeext; then
11089
ac_cv_lib_svld_dlopen=yes
11091
echo "$as_me: failed program was:" >&5
11092
sed 's/^/| /' conftest.$ac_ext >&5
11094
ac_cv_lib_svld_dlopen=no
11097
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
11098
conftest$ac_exeext conftest.$ac_ext
11099
LIBS=$ac_check_lib_save_LIBS
11101
{ echo "$as_me:$LINENO: result: $ac_cv_lib_svld_dlopen" >&5
11102
echo "${ECHO_T}$ac_cv_lib_svld_dlopen" >&6; }
11103
if test $ac_cv_lib_svld_dlopen = yes; then
11104
lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-lsvld"
11106
{ echo "$as_me:$LINENO: checking for dld_link in -ldld" >&5
11107
echo $ECHO_N "checking for dld_link in -ldld... $ECHO_C" >&6; }
11108
if test "${ac_cv_lib_dld_dld_link+set}" = set; then
11109
echo $ECHO_N "(cached) $ECHO_C" >&6
11111
ac_check_lib_save_LIBS=$LIBS
11113
cat >conftest.$ac_ext <<_ACEOF
11116
cat confdefs.h >>conftest.$ac_ext
11117
cat >>conftest.$ac_ext <<_ACEOF
11118
/* end confdefs.h. */
11120
/* Override any GCC internal prototype to avoid an error.
11121
Use char because int might match the return type of a GCC
11122
builtin and then its argument prototype would still apply. */
11130
return dld_link ();
11135
rm -f conftest.$ac_objext conftest$ac_exeext
11136
if { (ac_try="$ac_link"
11137
case "(($ac_try" in
11138
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11139
*) ac_try_echo=$ac_try;;
11141
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11142
(eval "$ac_link") 2>conftest.er1
11144
grep -v '^ *+' conftest.er1 >conftest.err
11146
cat conftest.err >&5
11147
echo "$as_me:$LINENO: \$? = $ac_status" >&5
11148
(exit $ac_status); } && {
11149
test -z "$ac_c_werror_flag" ||
11150
test ! -s conftest.err
11151
} && test -s conftest$ac_exeext &&
11152
$as_test_x conftest$ac_exeext; then
11153
ac_cv_lib_dld_dld_link=yes
11155
echo "$as_me: failed program was:" >&5
11156
sed 's/^/| /' conftest.$ac_ext >&5
11158
ac_cv_lib_dld_dld_link=no
11161
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
11162
conftest$ac_exeext conftest.$ac_ext
11163
LIBS=$ac_check_lib_save_LIBS
11165
{ echo "$as_me:$LINENO: result: $ac_cv_lib_dld_dld_link" >&5
11166
echo "${ECHO_T}$ac_cv_lib_dld_dld_link" >&6; }
11167
if test $ac_cv_lib_dld_dld_link = yes; then
11168
lt_cv_dlopen="dld_link" lt_cv_dlopen_libs="-dld"
11189
if test "x$lt_cv_dlopen" != xno; then
11195
case $lt_cv_dlopen in
11197
save_CPPFLAGS="$CPPFLAGS"
11198
test "x$ac_cv_header_dlfcn_h" = xyes && CPPFLAGS="$CPPFLAGS -DHAVE_DLFCN_H"
11200
save_LDFLAGS="$LDFLAGS"
11201
wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $export_dynamic_flag_spec\"
11204
LIBS="$lt_cv_dlopen_libs $LIBS"
11206
{ echo "$as_me:$LINENO: checking whether a program can dlopen itself" >&5
11207
echo $ECHO_N "checking whether a program can dlopen itself... $ECHO_C" >&6; }
11208
if test "${lt_cv_dlopen_self+set}" = set; then
11209
echo $ECHO_N "(cached) $ECHO_C" >&6
11211
if test "$cross_compiling" = yes; then :
11212
lt_cv_dlopen_self=cross
11214
lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
11215
lt_status=$lt_dlunknown
11216
cat > conftest.$ac_ext <<EOF
11217
#line __oline__ "configure"
11218
#include "confdefs.h"
11227
# define LT_DLGLOBAL RTLD_GLOBAL
11230
# define LT_DLGLOBAL DL_GLOBAL
11232
# define LT_DLGLOBAL 0
11236
/* We may have to define LT_DLLAZY_OR_NOW in the command line if we
11237
find out it does not work in some platform. */
11238
#ifndef LT_DLLAZY_OR_NOW
11240
# define LT_DLLAZY_OR_NOW RTLD_LAZY
11243
# define LT_DLLAZY_OR_NOW DL_LAZY
11246
# define LT_DLLAZY_OR_NOW RTLD_NOW
11249
# define LT_DLLAZY_OR_NOW DL_NOW
11251
# define LT_DLLAZY_OR_NOW 0
11259
extern "C" void exit (int);
11262
void fnord() { int i=42;}
11265
void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
11266
int status = $lt_dlunknown;
11270
if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
11271
else if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
11272
/* dlclose (self); */
11280
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11281
(eval $ac_link) 2>&5
11283
echo "$as_me:$LINENO: \$? = $ac_status" >&5
11284
(exit $ac_status); } && test -s conftest${ac_exeext} 2>/dev/null; then
11285
(./conftest; exit; ) >&5 2>/dev/null
11287
case x$lt_status in
11288
x$lt_dlno_uscore) lt_cv_dlopen_self=yes ;;
11289
x$lt_dlneed_uscore) lt_cv_dlopen_self=yes ;;
11290
x$lt_dlunknown|x*) lt_cv_dlopen_self=no ;;
11293
# compilation failed
11294
lt_cv_dlopen_self=no
11301
{ echo "$as_me:$LINENO: result: $lt_cv_dlopen_self" >&5
11302
echo "${ECHO_T}$lt_cv_dlopen_self" >&6; }
11304
if test "x$lt_cv_dlopen_self" = xyes; then
11305
wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $lt_prog_compiler_static\"
11306
{ echo "$as_me:$LINENO: checking whether a statically linked program can dlopen itself" >&5
11307
echo $ECHO_N "checking whether a statically linked program can dlopen itself... $ECHO_C" >&6; }
11308
if test "${lt_cv_dlopen_self_static+set}" = set; then
11309
echo $ECHO_N "(cached) $ECHO_C" >&6
11311
if test "$cross_compiling" = yes; then :
11312
lt_cv_dlopen_self_static=cross
11314
lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
11315
lt_status=$lt_dlunknown
11316
cat > conftest.$ac_ext <<EOF
11317
#line __oline__ "configure"
11318
#include "confdefs.h"
11327
# define LT_DLGLOBAL RTLD_GLOBAL
11330
# define LT_DLGLOBAL DL_GLOBAL
11332
# define LT_DLGLOBAL 0
11336
/* We may have to define LT_DLLAZY_OR_NOW in the command line if we
11337
find out it does not work in some platform. */
11338
#ifndef LT_DLLAZY_OR_NOW
11340
# define LT_DLLAZY_OR_NOW RTLD_LAZY
11343
# define LT_DLLAZY_OR_NOW DL_LAZY
11346
# define LT_DLLAZY_OR_NOW RTLD_NOW
11349
# define LT_DLLAZY_OR_NOW DL_NOW
11351
# define LT_DLLAZY_OR_NOW 0
11359
extern "C" void exit (int);
11362
void fnord() { int i=42;}
11365
void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
11366
int status = $lt_dlunknown;
11370
if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
11371
else if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
11372
/* dlclose (self); */
11380
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11381
(eval $ac_link) 2>&5
11383
echo "$as_me:$LINENO: \$? = $ac_status" >&5
11384
(exit $ac_status); } && test -s conftest${ac_exeext} 2>/dev/null; then
11385
(./conftest; exit; ) >&5 2>/dev/null
11387
case x$lt_status in
11388
x$lt_dlno_uscore) lt_cv_dlopen_self_static=yes ;;
11389
x$lt_dlneed_uscore) lt_cv_dlopen_self_static=yes ;;
11390
x$lt_dlunknown|x*) lt_cv_dlopen_self_static=no ;;
11393
# compilation failed
11394
lt_cv_dlopen_self_static=no
11401
{ echo "$as_me:$LINENO: result: $lt_cv_dlopen_self_static" >&5
11402
echo "${ECHO_T}$lt_cv_dlopen_self_static" >&6; }
11405
CPPFLAGS="$save_CPPFLAGS"
11406
LDFLAGS="$save_LDFLAGS"
11411
case $lt_cv_dlopen_self in
11412
yes|no) enable_dlopen_self=$lt_cv_dlopen_self ;;
11413
*) enable_dlopen_self=unknown ;;
11416
case $lt_cv_dlopen_self_static in
11417
yes|no) enable_dlopen_self_static=$lt_cv_dlopen_self_static ;;
11418
*) enable_dlopen_self_static=unknown ;;
11423
# Report which library types will actually be built
11424
{ echo "$as_me:$LINENO: checking if libtool supports shared libraries" >&5
11425
echo $ECHO_N "checking if libtool supports shared libraries... $ECHO_C" >&6; }
11426
{ echo "$as_me:$LINENO: result: $can_build_shared" >&5
11427
echo "${ECHO_T}$can_build_shared" >&6; }
11429
{ echo "$as_me:$LINENO: checking whether to build shared libraries" >&5
11430
echo $ECHO_N "checking whether to build shared libraries... $ECHO_C" >&6; }
11431
test "$can_build_shared" = "no" && enable_shared=no
11433
# On AIX, shared libraries and static libraries use the same namespace, and
11434
# are all built from PIC.
11437
test "$enable_shared" = yes && enable_static=no
11438
if test -n "$RANLIB"; then
11439
archive_cmds="$archive_cmds~\$RANLIB \$lib"
11440
postinstall_cmds='$RANLIB $lib'
11445
if test "$host_cpu" != ia64 && test "$aix_use_runtimelinking" = no ; then
11446
test "$enable_shared" = yes && enable_static=no
11450
{ echo "$as_me:$LINENO: result: $enable_shared" >&5
11451
echo "${ECHO_T}$enable_shared" >&6; }
11453
{ echo "$as_me:$LINENO: checking whether to build static libraries" >&5
11454
echo $ECHO_N "checking whether to build static libraries... $ECHO_C" >&6; }
11455
# Make sure either enable_shared or enable_static is yes.
11456
test "$enable_shared" = yes || enable_static=yes
11457
{ echo "$as_me:$LINENO: result: $enable_static" >&5
11458
echo "${ECHO_T}$enable_static" >&6; }
11460
# The else clause should only fire when bootstrapping the
11461
# libtool distribution, otherwise you forgot to ship ltmain.sh
11462
# with your package, and you will get complaints that there are
11463
# no rules to generate ltmain.sh.
11464
if test -f "$ltmain"; then
11465
# See if we are running on zsh, and set the options which allow our commands through
11466
# without removal of \ escapes.
11467
if test -n "${ZSH_VERSION+set}" ; then
11468
setopt NO_GLOB_SUBST
11470
# Now quote all the things that may contain metacharacters while being
11471
# careful not to overquote the AC_SUBSTed values. We take copies of the
11472
# variables and quote the copies for generation of the libtool script.
11473
for var in echo old_CC old_CFLAGS AR AR_FLAGS EGREP RANLIB LN_S LTCC LTCFLAGS NM \
11475
libname_spec library_names_spec soname_spec extract_expsyms_cmds \
11476
old_striplib striplib file_magic_cmd finish_cmds finish_eval \
11477
deplibs_check_method reload_flag reload_cmds need_locks \
11478
lt_cv_sys_global_symbol_pipe lt_cv_sys_global_symbol_to_cdecl \
11479
lt_cv_sys_global_symbol_to_c_name_address \
11480
sys_lib_search_path_spec sys_lib_dlsearch_path_spec \
11481
old_postinstall_cmds old_postuninstall_cmds \
11485
lt_prog_compiler_wl \
11486
lt_prog_compiler_pic \
11487
lt_prog_compiler_static \
11488
lt_prog_compiler_no_builtin_flag \
11489
export_dynamic_flag_spec \
11490
thread_safe_flag_spec \
11491
whole_archive_flag_spec \
11492
enable_shared_with_static_runtimes \
11494
old_archive_from_new_cmds \
11499
compiler_lib_search_path \
11501
archive_expsym_cmds \
11503
postuninstall_cmds \
11504
old_archive_from_expsyms_cmds \
11505
allow_undefined_flag \
11506
no_undefined_flag \
11507
export_symbols_cmds \
11508
hardcode_libdir_flag_spec \
11509
hardcode_libdir_flag_spec_ld \
11510
hardcode_libdir_separator \
11511
hardcode_automatic \
11513
module_expsym_cmds \
11514
lt_cv_prog_compiler_c_o \
11517
include_expsyms; do
11520
old_archive_cmds | \
11521
old_archive_from_new_cmds | \
11523
archive_expsym_cmds | \
11525
module_expsym_cmds | \
11526
old_archive_from_expsyms_cmds | \
11527
export_symbols_cmds | \
11528
extract_expsyms_cmds | reload_cmds | finish_cmds | \
11529
postinstall_cmds | postuninstall_cmds | \
11530
old_postinstall_cmds | old_postuninstall_cmds | \
11531
sys_lib_search_path_spec | sys_lib_dlsearch_path_spec)
11532
# Double-quote double-evaled strings.
11533
eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$double_quote_subst\" -e \"\$sed_quote_subst\" -e \"\$delay_variable_subst\"\`\\\""
11536
eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$sed_quote_subst\"\`\\\""
11542
*'\$0 --fallback-echo"')
11543
lt_echo=`$echo "X$lt_echo" | $Xsed -e 's/\\\\\\\$0 --fallback-echo"$/$0 --fallback-echo"/'`
11547
cfgfile="${ofile}T"
11548
trap "$rm \"$cfgfile\"; exit 1" 1 2 15
11550
{ echo "$as_me:$LINENO: creating $ofile" >&5
11551
echo "$as_me: creating $ofile" >&6;}
11553
cat <<__EOF__ >> "$cfgfile"
11556
# `$echo "$cfgfile" | sed 's%^.*/%%'` - Provide generalized library-building support services.
11557
# Generated automatically by $PROGRAM (GNU $PACKAGE $VERSION$TIMESTAMP)
11558
# NOTE: Changes made to this file will be lost: look at ltmain.sh.
11560
# Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004, 2005, 2006, 2007
11561
# Free Software Foundation, Inc.
11563
# This file is part of GNU Libtool:
11564
# Originally by Gordon Matzigkeit <gord@gnu.ai.mit.edu>, 1996
11566
# This program is free software; you can redistribute it and/or modify
11567
# it under the terms of the GNU General Public License as published by
11568
# the Free Software Foundation; either version 2 of the License, or
11569
# (at your option) any later version.
11571
# This program is distributed in the hope that it will be useful, but
11572
# WITHOUT ANY WARRANTY; without even the implied warranty of
11573
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
11574
# General Public License for more details.
11576
# You should have received a copy of the GNU General Public License
11577
# along with this program; if not, write to the Free Software
11578
# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
11580
# As a special exception to the GNU General Public License, if you
11581
# distribute this file as part of a program that contains a
11582
# configuration script generated by Autoconf, you may include it under
11583
# the same distribution terms that you use for the rest of that program.
11585
# A sed program that does not truncate output.
11588
# Sed that helps us avoid accidentally triggering echo(1) options like -n.
11589
Xsed="$SED -e 1s/^X//"
11591
# The HP-UX ksh and POSIX shell print the target directory to stdout
11592
# if CDPATH is set.
11593
(unset CDPATH) >/dev/null 2>&1 && unset CDPATH
11595
# The names of the tagged configurations supported by this script.
11598
# ### BEGIN LIBTOOL CONFIG
11600
# Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
11602
# Shell to use when invoking shell scripts.
11605
# Whether or not to build shared libraries.
11606
build_libtool_libs=$enable_shared
11608
# Whether or not to build static libraries.
11609
build_old_libs=$enable_static
11611
# Whether or not to add -lc for building shared libraries.
11612
build_libtool_need_lc=$archive_cmds_need_lc
11614
# Whether or not to disallow shared libs when runtime libs are static
11615
allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes
11617
# Whether or not to optimize for fast installation.
11618
fast_install=$enable_fast_install
11621
host_alias=$host_alias
11625
# The build system.
11626
build_alias=$build_alias
11630
# An echo program that does not interpret backslashes.
11635
AR_FLAGS=$lt_AR_FLAGS
11640
# LTCC compiler flags.
11641
LTCFLAGS=$lt_LTCFLAGS
11643
# A language-specific compiler.
11646
# Is the compiler the GNU C compiler?
11652
# The linker used to build libraries.
11655
# Whether we need hard or soft links.
11658
# A BSD-compatible nm program.
11661
# A symbol stripping program
11664
# Used to examine libraries when file_magic_cmd begins "file"
11665
MAGIC_CMD=$MAGIC_CMD
11667
# Used on cygwin: DLL creation program.
11670
# Used on cygwin: object dumper.
11673
# Used on cygwin: assembler.
11676
# The name of the directory that contains temporary libtool files.
11679
# How to create reloadable object files.
11680
reload_flag=$lt_reload_flag
11681
reload_cmds=$lt_reload_cmds
11683
# How to pass a linker flag through the compiler.
11684
wl=$lt_lt_prog_compiler_wl
11686
# Object file suffix (normally "o").
11687
objext="$ac_objext"
11689
# Old archive suffix (normally "a").
11692
# Shared library suffix (normally ".so").
11693
shrext_cmds='$shrext_cmds'
11695
# Executable file suffix (normally "").
11698
# Additional compiler flags for building library objects.
11699
pic_flag=$lt_lt_prog_compiler_pic
11702
# What is the maximum length of a command?
11703
max_cmd_len=$lt_cv_sys_max_cmd_len
11705
# Does compiler simultaneously support -c and -o options?
11706
compiler_c_o=$lt_lt_cv_prog_compiler_c_o
11708
# Must we lock files when doing compilation?
11709
need_locks=$lt_need_locks
11711
# Do we need the lib prefix for modules?
11712
need_lib_prefix=$need_lib_prefix
11714
# Do we need a version for libraries?
11715
need_version=$need_version
11717
# Whether dlopen is supported.
11718
dlopen_support=$enable_dlopen
11720
# Whether dlopen of programs is supported.
11721
dlopen_self=$enable_dlopen_self
11723
# Whether dlopen of statically linked programs is supported.
11724
dlopen_self_static=$enable_dlopen_self_static
11726
# Compiler flag to prevent dynamic linking.
11727
link_static_flag=$lt_lt_prog_compiler_static
11729
# Compiler flag to turn off builtin functions.
11730
no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag
11732
# Compiler flag to allow reflexive dlopens.
11733
export_dynamic_flag_spec=$lt_export_dynamic_flag_spec
11735
# Compiler flag to generate shared objects directly from archives.
11736
whole_archive_flag_spec=$lt_whole_archive_flag_spec
11738
# Compiler flag to generate thread-safe objects.
11739
thread_safe_flag_spec=$lt_thread_safe_flag_spec
11741
# Library versioning type.
11742
version_type=$version_type
11744
# Format of library name prefix.
11745
libname_spec=$lt_libname_spec
11747
# List of archive names. First name is the real one, the rest are links.
11748
# The last name is the one that the linker finds with -lNAME.
11749
library_names_spec=$lt_library_names_spec
11751
# The coded name of the library, if different from the real name.
11752
soname_spec=$lt_soname_spec
11754
# Commands used to build and install an old-style archive.
11756
old_archive_cmds=$lt_old_archive_cmds
11757
old_postinstall_cmds=$lt_old_postinstall_cmds
11758
old_postuninstall_cmds=$lt_old_postuninstall_cmds
11760
# Create an old-style archive from a shared archive.
11761
old_archive_from_new_cmds=$lt_old_archive_from_new_cmds
11763
# Create a temporary old-style archive to link instead of a shared archive.
11764
old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds
11766
# Commands used to build and install a shared archive.
11767
archive_cmds=$lt_archive_cmds
11768
archive_expsym_cmds=$lt_archive_expsym_cmds
11769
postinstall_cmds=$lt_postinstall_cmds
11770
postuninstall_cmds=$lt_postuninstall_cmds
11772
# Commands used to build a loadable module (assumed same as above if empty)
11773
module_cmds=$lt_module_cmds
11774
module_expsym_cmds=$lt_module_expsym_cmds
11776
# Commands to strip libraries.
11777
old_striplib=$lt_old_striplib
11778
striplib=$lt_striplib
11780
# Dependencies to place before the objects being linked to create a
11782
predep_objects=$lt_predep_objects
11784
# Dependencies to place after the objects being linked to create a
11786
postdep_objects=$lt_postdep_objects
11788
# Dependencies to place before the objects being linked to create a
11790
predeps=$lt_predeps
11792
# Dependencies to place after the objects being linked to create a
11794
postdeps=$lt_postdeps
11796
# The library search path used internally by the compiler when linking
11797
# a shared library.
11798
compiler_lib_search_path=$lt_compiler_lib_search_path
11800
# Method to check whether dependent libraries are shared objects.
11801
deplibs_check_method=$lt_deplibs_check_method
11803
# Command to use when deplibs_check_method == file_magic.
11804
file_magic_cmd=$lt_file_magic_cmd
11806
# Flag that allows shared libraries with undefined symbols to be built.
11807
allow_undefined_flag=$lt_allow_undefined_flag
11809
# Flag that forces no undefined symbols.
11810
no_undefined_flag=$lt_no_undefined_flag
11812
# Commands used to finish a libtool library installation in a directory.
11813
finish_cmds=$lt_finish_cmds
11815
# Same as above, but a single script fragment to be evaled but not shown.
11816
finish_eval=$lt_finish_eval
11818
# Take the output of nm and produce a listing of raw symbols and C names.
11819
global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
11821
# Transform the output of nm in a proper C declaration
11822
global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
11824
# Transform the output of nm in a C name address pair
11825
global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
11827
# This is the shared library runtime path variable.
11828
runpath_var=$runpath_var
11830
# This is the shared library path variable.
11831
shlibpath_var=$shlibpath_var
11833
# Is shlibpath searched before the hard-coded library search path?
11834
shlibpath_overrides_runpath=$shlibpath_overrides_runpath
11836
# How to hardcode a shared library path into an executable.
11837
hardcode_action=$hardcode_action
11839
# Whether we should hardcode library paths into libraries.
11840
hardcode_into_libs=$hardcode_into_libs
11842
# Flag to hardcode \$libdir into a binary during linking.
11843
# This must work even if \$libdir does not exist.
11844
hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec
11846
# If ld is used when linking, flag to hardcode \$libdir into
11847
# a binary during linking. This must work even if \$libdir does
11849
hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld
11851
# Whether we need a single -rpath flag with a separated argument.
11852
hardcode_libdir_separator=$lt_hardcode_libdir_separator
11854
# Set to yes if using DIR/libNAME${shared_ext} during linking hardcodes DIR into the
11855
# resulting binary.
11856
hardcode_direct=$hardcode_direct
11858
# Set to yes if using the -LDIR flag during linking hardcodes DIR into the
11859
# resulting binary.
11860
hardcode_minus_L=$hardcode_minus_L
11862
# Set to yes if using SHLIBPATH_VAR=DIR during linking hardcodes DIR into
11863
# the resulting binary.
11864
hardcode_shlibpath_var=$hardcode_shlibpath_var
11866
# Set to yes if building a shared library automatically hardcodes DIR into the library
11867
# and all subsequent libraries and executables linked against it.
11868
hardcode_automatic=$hardcode_automatic
11870
# Variables whose values should be saved in libtool wrapper scripts and
11871
# restored at relink time.
11872
variables_saved_for_relink="$variables_saved_for_relink"
11874
# Whether libtool must link a program against all its dependency libraries.
11875
link_all_deplibs=$link_all_deplibs
11877
# Compile-time system search path for libraries
11878
sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
11880
# Run-time system search path for libraries
11881
sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
11883
# Fix the shell variable \$srcfile for the compiler.
11884
fix_srcfile_path=$lt_fix_srcfile_path
11886
# Set to yes if exported symbols are required.
11887
always_export_symbols=$always_export_symbols
11889
# The commands to list exported symbols.
11890
export_symbols_cmds=$lt_export_symbols_cmds
11892
# The commands to extract the exported symbol list from a shared archive.
11893
extract_expsyms_cmds=$lt_extract_expsyms_cmds
11895
# Symbols that should not be listed in the preloaded symbols.
11896
exclude_expsyms=$lt_exclude_expsyms
11898
# Symbols that must always be exported.
11899
include_expsyms=$lt_include_expsyms
11901
# ### END LIBTOOL CONFIG
11908
cat <<\EOF >> "$cfgfile"
11910
# AIX sometimes has problems with the GCC collect2 program. For some
11911
# reason, if we set the COLLECT_NAMES environment variable, the problems
11912
# vanish in a puff of smoke.
11913
if test "X${COLLECT_NAMES+set}" != Xset; then
11915
export COLLECT_NAMES
11921
# We use sed instead of cat because bash on DJGPP gets confused if
11922
# if finds mixed CR/LF and LF-only lines. Since sed operates in
11923
# text mode, it properly converts lines to CR/LF. This bash problem
11924
# is reportedly fixed, but why not run on old versions too?
11925
sed '$q' "$ltmain" >> "$cfgfile" || (rm -f "$cfgfile"; exit 1)
11927
mv -f "$cfgfile" "$ofile" || \
11928
(rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile")
11932
# If there is no Makefile yet, we rely on a make rule to execute
11933
# `config.status --recheck' to rerun these tests and create the
11934
# libtool script then.
11935
ltmain_in=`echo $ltmain | sed -e 's/\.sh$/.in/'`
11936
if test -f "$ltmain_in"; then
11937
test -f Makefile && make "$ltmain"
11943
ac_cpp='$CPP $CPPFLAGS'
11944
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11945
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11946
ac_compiler_gnu=$ac_cv_c_compiler_gnu
11951
# Check whether --with-tags was given.
11952
if test "${with_tags+set}" = set; then
11953
withval=$with_tags; tagnames="$withval"
11957
if test -f "$ltmain" && test -n "$tagnames"; then
11958
if test ! -f "${ofile}"; then
11959
{ echo "$as_me:$LINENO: WARNING: output file \`$ofile' does not exist" >&5
11960
echo "$as_me: WARNING: output file \`$ofile' does not exist" >&2;}
11963
if test -z "$LTCC"; then
11964
eval "`$SHELL ${ofile} --config | grep '^LTCC='`"
11965
if test -z "$LTCC"; then
11966
{ echo "$as_me:$LINENO: WARNING: output file \`$ofile' does not look like a libtool script" >&5
11967
echo "$as_me: WARNING: output file \`$ofile' does not look like a libtool script" >&2;}
11969
{ echo "$as_me:$LINENO: WARNING: using \`LTCC=$LTCC', extracted from \`$ofile'" >&5
11970
echo "$as_me: WARNING: using \`LTCC=$LTCC', extracted from \`$ofile'" >&2;}
11973
if test -z "$LTCFLAGS"; then
11974
eval "`$SHELL ${ofile} --config | grep '^LTCFLAGS='`"
11977
# Extract list of available tagged configurations in $ofile.
11978
# Note that this assumes the entire list is on one line.
11979
available_tags=`grep "^available_tags=" "${ofile}" | $SED -e 's/available_tags=\(.*$\)/\1/' -e 's/\"//g'`
11981
lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
11982
for tagname in $tagnames; do
11984
# Check whether tagname contains only valid characters
11985
case `$echo "X$tagname" | $Xsed -e 's:[-_ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz1234567890,/]::g'` in
11987
*) { { echo "$as_me:$LINENO: error: invalid tag name: $tagname" >&5
11988
echo "$as_me: error: invalid tag name: $tagname" >&2;}
11989
{ (exit 1); exit 1; }; }
11993
if grep "^# ### BEGIN LIBTOOL TAG CONFIG: $tagname$" < "${ofile}" > /dev/null
11995
{ { echo "$as_me:$LINENO: error: tag name \"$tagname\" already exists" >&5
11996
echo "$as_me: error: tag name \"$tagname\" already exists" >&2;}
11997
{ (exit 1); exit 1; }; }
12000
# Update the list of available tags.
12001
if test -n "$tagname"; then
12002
echo appending configuration tag \"$tagname\" to $ofile
12006
if test -n "$CXX" && ( test "X$CXX" != "Xno" &&
12007
( (test "X$CXX" = "Xg++" && `g++ -v >/dev/null 2>&1` ) ||
12008
(test "X$CXX" != "Xg++"))) ; then
12010
ac_cpp='$CXXCPP $CPPFLAGS'
12011
ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12012
ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12013
ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
12018
archive_cmds_need_lc_CXX=no
12019
allow_undefined_flag_CXX=
12020
always_export_symbols_CXX=no
12021
archive_expsym_cmds_CXX=
12022
export_dynamic_flag_spec_CXX=
12023
hardcode_direct_CXX=no
12024
hardcode_libdir_flag_spec_CXX=
12025
hardcode_libdir_flag_spec_ld_CXX=
12026
hardcode_libdir_separator_CXX=
12027
hardcode_minus_L_CXX=no
12028
hardcode_shlibpath_var_CXX=unsupported
12029
hardcode_automatic_CXX=no
12031
module_expsym_cmds_CXX=
12032
link_all_deplibs_CXX=unknown
12033
old_archive_cmds_CXX=$old_archive_cmds
12034
no_undefined_flag_CXX=
12035
whole_archive_flag_spec_CXX=
12036
enable_shared_with_static_runtimes_CXX=no
12038
# Dependencies to place before and after the object being linked:
12039
predep_objects_CXX=
12040
postdep_objects_CXX=
12043
compiler_lib_search_path_CXX=
12045
# Source file extension for C++ test sources.
12048
# Object file extension for compiled C++ test sources.
12052
# Code to be used in simple compile tests
12053
lt_simple_compile_test_code="int some_variable = 0;"
12055
# Code to be used in simple link tests
12056
lt_simple_link_test_code='int main(int, char *[]) { return(0); }'
12058
# ltmain only uses $CC for tagged configurations so make sure $CC is set.
12060
# If no C compiler was specified, use CC.
12063
# If no C compiler flags were specified, use CFLAGS.
12064
LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
12066
# Allow CC to be a program name with arguments.
12070
# save warnings/boilerplate of simple test code
12071
ac_outfile=conftest.$ac_objext
12072
echo "$lt_simple_compile_test_code" >conftest.$ac_ext
12073
eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
12074
_lt_compiler_boilerplate=`cat conftest.err`
12077
ac_outfile=conftest.$ac_objext
12078
echo "$lt_simple_link_test_code" >conftest.$ac_ext
12079
eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
12080
_lt_linker_boilerplate=`cat conftest.err`
12084
# Allow CC to be a program name with arguments.
12089
lt_save_with_gnu_ld=$with_gnu_ld
12090
lt_save_path_LD=$lt_cv_path_LD
12091
if test -n "${lt_cv_prog_gnu_ldcxx+set}"; then
12092
lt_cv_prog_gnu_ld=$lt_cv_prog_gnu_ldcxx
12094
$as_unset lt_cv_prog_gnu_ld
12096
if test -n "${lt_cv_path_LDCXX+set}"; then
12097
lt_cv_path_LD=$lt_cv_path_LDCXX
12099
$as_unset lt_cv_path_LD
12101
test -z "${LDCXX+set}" || LD=$LDCXX
12105
for cc_temp in $compiler""; do
12107
compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
12108
distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
12113
cc_basename=`$echo "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
12116
# We don't want -fno-exception wen compiling C++ code, so set the
12117
# no_builtin_flag separately
12118
if test "$GXX" = yes; then
12119
lt_prog_compiler_no_builtin_flag_CXX=' -fno-builtin'
12121
lt_prog_compiler_no_builtin_flag_CXX=
12124
if test "$GXX" = yes; then
12125
# Set up default GNU C++ configuration
12128
# Check whether --with-gnu-ld was given.
12129
if test "${with_gnu_ld+set}" = set; then
12130
withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes
12136
if test "$GCC" = yes; then
12137
# Check if gcc -print-prog-name=ld gives a path.
12138
{ echo "$as_me:$LINENO: checking for ld used by $CC" >&5
12139
echo $ECHO_N "checking for ld used by $CC... $ECHO_C" >&6; }
12142
# gcc leaves a trailing carriage return which upsets mingw
12143
ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
12145
ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
12148
# Accept absolute paths.
12150
re_direlt='/[^/][^/]*/\.\./'
12151
# Canonicalize the pathname of ld
12152
ac_prog=`echo $ac_prog| $SED 's%\\\\%/%g'`
12153
while echo $ac_prog | grep "$re_direlt" > /dev/null 2>&1; do
12154
ac_prog=`echo $ac_prog| $SED "s%$re_direlt%/%"`
12156
test -z "$LD" && LD="$ac_prog"
12159
# If it fails, then pretend we aren't using GCC.
12163
# If it is relative, then search for the first ld in PATH.
12164
with_gnu_ld=unknown
12167
elif test "$with_gnu_ld" = yes; then
12168
{ echo "$as_me:$LINENO: checking for GNU ld" >&5
12169
echo $ECHO_N "checking for GNU ld... $ECHO_C" >&6; }
12171
{ echo "$as_me:$LINENO: checking for non-GNU ld" >&5
12172
echo $ECHO_N "checking for non-GNU ld... $ECHO_C" >&6; }
12174
if test "${lt_cv_path_LD+set}" = set; then
12175
echo $ECHO_N "(cached) $ECHO_C" >&6
12177
if test -z "$LD"; then
12178
lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
12179
for ac_dir in $PATH; do
12181
test -z "$ac_dir" && ac_dir=.
12182
if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
12183
lt_cv_path_LD="$ac_dir/$ac_prog"
12184
# Check to see if the program is GNU ld. I'd rather use --version,
12185
# but apparently some variants of GNU ld only accept -v.
12186
# Break only if it was the GNU/non-GNU ld that we prefer.
12187
case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
12188
*GNU* | *'with BFD'*)
12189
test "$with_gnu_ld" != no && break
12192
test "$with_gnu_ld" != yes && break
12199
lt_cv_path_LD="$LD" # Let the user override the test with a path.
12203
LD="$lt_cv_path_LD"
12204
if test -n "$LD"; then
12205
{ echo "$as_me:$LINENO: result: $LD" >&5
12206
echo "${ECHO_T}$LD" >&6; }
12208
{ echo "$as_me:$LINENO: result: no" >&5
12209
echo "${ECHO_T}no" >&6; }
12211
test -z "$LD" && { { echo "$as_me:$LINENO: error: no acceptable ld found in \$PATH" >&5
12212
echo "$as_me: error: no acceptable ld found in \$PATH" >&2;}
12213
{ (exit 1); exit 1; }; }
12214
{ echo "$as_me:$LINENO: checking if the linker ($LD) is GNU ld" >&5
12215
echo $ECHO_N "checking if the linker ($LD) is GNU ld... $ECHO_C" >&6; }
12216
if test "${lt_cv_prog_gnu_ld+set}" = set; then
12217
echo $ECHO_N "(cached) $ECHO_C" >&6
12219
# I'd rather use --version here, but apparently some GNU lds only accept -v.
12220
case `$LD -v 2>&1 </dev/null` in
12221
*GNU* | *'with BFD'*)
12222
lt_cv_prog_gnu_ld=yes
12225
lt_cv_prog_gnu_ld=no
12229
{ echo "$as_me:$LINENO: result: $lt_cv_prog_gnu_ld" >&5
12230
echo "${ECHO_T}$lt_cv_prog_gnu_ld" >&6; }
12231
with_gnu_ld=$lt_cv_prog_gnu_ld
12235
# Check if GNU C++ uses GNU ld as the underlying linker, since the
12236
# archiving commands below assume that GNU ld is being used.
12237
if test "$with_gnu_ld" = yes; then
12238
archive_cmds_CXX='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
12239
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'
12241
hardcode_libdir_flag_spec_CXX='${wl}--rpath ${wl}$libdir'
12242
export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
12244
# If archive_cmds runs LD, not CC, wlarc should be empty
12245
# XXX I think wlarc can be eliminated in ltcf-cxx, but I need to
12246
# investigate it a little bit more. (MM)
12249
# ancient GNU ld didn't support --whole-archive et. al.
12250
if eval "`$CC -print-prog-name=ld` --help 2>&1" | \
12251
grep 'no-whole-archive' > /dev/null; then
12252
whole_archive_flag_spec_CXX="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
12254
whole_archive_flag_spec_CXX=
12260
# A generic and very simple default shared library creation
12261
# command for GNU C++ for the case where it uses the native
12262
# linker, instead of GNU ld. If possible, this setting should
12263
# overridden to take advantage of the native linker features on
12264
# the platform it is being used on.
12265
archive_cmds_CXX='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $lib'
12268
# Commands to make compiler produce verbose output that lists
12269
# what "hidden" libraries, object files and flags are used when
12270
# linking a shared library.
12271
output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | grep "\-L"'
12279
# PORTME: fill in a description of your system's C++ link characteristics
12280
{ echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5
12281
echo $ECHO_N "checking whether the $compiler linker ($LD) supports shared libraries... $ECHO_C" >&6; }
12285
# FIXME: insert proper C++ library support
12289
if test "$host_cpu" = ia64; then
12290
# On IA64, the linker does run time linking by default, so we don't
12291
# have to do anything special.
12292
aix_use_runtimelinking=no
12293
exp_sym_flag='-Bexport'
12296
aix_use_runtimelinking=no
12298
# Test if we are trying to use run time linking or normal
12299
# AIX style linking. If -brtl is somewhere in LDFLAGS, we
12300
# need to do runtime linking.
12301
case $host_os in aix4.[23]|aix4.[23].*|aix5*)
12302
for ld_flag in $LDFLAGS; do
12305
aix_use_runtimelinking=yes
12313
exp_sym_flag='-bexport'
12314
no_entry_flag='-bnoentry'
12317
# When large executables or shared objects are built, AIX ld can
12318
# have problems creating the table of contents. If linking a library
12319
# or program results in "error TOC overflow" add -mminimal-toc to
12320
# CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
12321
# enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
12323
archive_cmds_CXX=''
12324
hardcode_direct_CXX=yes
12325
hardcode_libdir_separator_CXX=':'
12326
link_all_deplibs_CXX=yes
12328
if test "$GXX" = yes; then
12329
case $host_os in aix4.[012]|aix4.[012].*)
12330
# We only want to do this on AIX 4.2 and lower, the check
12331
# below for broken collect2 doesn't work under 4.3+
12332
collect2name=`${CC} -print-prog-name=collect2`
12333
if test -f "$collect2name" && \
12334
strings "$collect2name" | grep resolve_lib_name >/dev/null
12336
# We have reworked collect2
12339
# We have old collect2
12340
hardcode_direct_CXX=unsupported
12341
# It fails to find uninstalled libraries when the uninstalled
12342
# path is not listed in the libpath. Setting hardcode_minus_L
12343
# to unsupported forces relinking
12344
hardcode_minus_L_CXX=yes
12345
hardcode_libdir_flag_spec_CXX='-L$libdir'
12346
hardcode_libdir_separator_CXX=
12350
shared_flag='-shared'
12351
if test "$aix_use_runtimelinking" = yes; then
12352
shared_flag="$shared_flag "'${wl}-G'
12356
if test "$host_cpu" = ia64; then
12357
# VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
12358
# chokes on -Wl,-G. The following line is correct:
12361
if test "$aix_use_runtimelinking" = yes; then
12362
shared_flag='${wl}-G'
12364
shared_flag='${wl}-bM:SRE'
12369
# It seems that -bexpall does not export symbols beginning with
12370
# underscore (_), so it is better to generate a list of symbols to export.
12371
always_export_symbols_CXX=yes
12372
if test "$aix_use_runtimelinking" = yes; then
12373
# Warning - without using the other runtime loading flags (-brtl),
12374
# -berok will link without error, but may produce a broken library.
12375
allow_undefined_flag_CXX='-berok'
12376
# Determine the default libpath from the value encoded in an empty executable.
12377
cat >conftest.$ac_ext <<_ACEOF
12380
cat confdefs.h >>conftest.$ac_ext
12381
cat >>conftest.$ac_ext <<_ACEOF
12382
/* end confdefs.h. */
12392
rm -f conftest.$ac_objext conftest$ac_exeext
12393
if { (ac_try="$ac_link"
12394
case "(($ac_try" in
12395
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12396
*) ac_try_echo=$ac_try;;
12398
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12399
(eval "$ac_link") 2>conftest.er1
12401
grep -v '^ *+' conftest.er1 >conftest.err
12403
cat conftest.err >&5
12404
echo "$as_me:$LINENO: \$? = $ac_status" >&5
12405
(exit $ac_status); } && {
12406
test -z "$ac_cxx_werror_flag" ||
12407
test ! -s conftest.err
12408
} && test -s conftest$ac_exeext &&
12409
$as_test_x conftest$ac_exeext; then
12411
lt_aix_libpath_sed='
12412
/Import File Strings/,/^$/ {
12418
aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
12419
# Check for a 64-bit object if we didn't find anything.
12420
if test -z "$aix_libpath"; then
12421
aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
12424
echo "$as_me: failed program was:" >&5
12425
sed 's/^/| /' conftest.$ac_ext >&5
12430
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
12431
conftest$ac_exeext conftest.$ac_ext
12432
if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
12434
hardcode_libdir_flag_spec_CXX='${wl}-blibpath:$libdir:'"$aix_libpath"
12436
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"
12438
if test "$host_cpu" = ia64; then
12439
hardcode_libdir_flag_spec_CXX='${wl}-R $libdir:/usr/lib:/lib'
12440
allow_undefined_flag_CXX="-z nodefs"
12441
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"
12443
# Determine the default libpath from the value encoded in an empty executable.
12444
cat >conftest.$ac_ext <<_ACEOF
12447
cat confdefs.h >>conftest.$ac_ext
12448
cat >>conftest.$ac_ext <<_ACEOF
12449
/* end confdefs.h. */
12459
rm -f conftest.$ac_objext conftest$ac_exeext
12460
if { (ac_try="$ac_link"
12461
case "(($ac_try" in
12462
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12463
*) ac_try_echo=$ac_try;;
12465
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12466
(eval "$ac_link") 2>conftest.er1
12468
grep -v '^ *+' conftest.er1 >conftest.err
12470
cat conftest.err >&5
12471
echo "$as_me:$LINENO: \$? = $ac_status" >&5
12472
(exit $ac_status); } && {
12473
test -z "$ac_cxx_werror_flag" ||
12474
test ! -s conftest.err
12475
} && test -s conftest$ac_exeext &&
12476
$as_test_x conftest$ac_exeext; then
12478
lt_aix_libpath_sed='
12479
/Import File Strings/,/^$/ {
12485
aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
12486
# Check for a 64-bit object if we didn't find anything.
12487
if test -z "$aix_libpath"; then
12488
aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
12491
echo "$as_me: failed program was:" >&5
12492
sed 's/^/| /' conftest.$ac_ext >&5
12497
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
12498
conftest$ac_exeext conftest.$ac_ext
12499
if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
12501
hardcode_libdir_flag_spec_CXX='${wl}-blibpath:$libdir:'"$aix_libpath"
12502
# Warning - without using the other run time loading flags,
12503
# -berok will link without error, but may produce a broken library.
12504
no_undefined_flag_CXX=' ${wl}-bernotok'
12505
allow_undefined_flag_CXX=' ${wl}-berok'
12506
# Exported symbols can be pulled into shared objects from archives
12507
whole_archive_flag_spec_CXX='$convenience'
12508
archive_cmds_need_lc_CXX=yes
12509
# This is similar to how AIX traditionally builds its shared libraries.
12510
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'
12516
if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
12517
allow_undefined_flag_CXX=unsupported
12518
# Joseph Beckenbach <jrb3@best.com> says some releases of gcc
12519
# support --undefined. This deserves some investigation. FIXME
12520
archive_cmds_CXX='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
12527
case $cc_basename in
12529
# FIXME: insert proper C++ library support
12535
cygwin* | mingw* | pw32*)
12536
# _LT_AC_TAGVAR(hardcode_libdir_flag_spec, CXX) is actually meaningless,
12537
# as there is no search path for DLLs.
12538
hardcode_libdir_flag_spec_CXX='-L$libdir'
12539
allow_undefined_flag_CXX=unsupported
12540
always_export_symbols_CXX=no
12541
enable_shared_with_static_runtimes_CXX=yes
12543
if $LD --help 2>&1 | grep 'auto-import' > /dev/null; then
12544
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'
12545
# If the export-symbols file already is a .def file (1st line
12546
# is EXPORTS), use it as is; otherwise, prepend...
12547
archive_expsym_cmds_CXX='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
12548
cp $export_symbols $output_objdir/$soname.def;
12550
echo EXPORTS > $output_objdir/$soname.def;
12551
cat $export_symbols >> $output_objdir/$soname.def;
12553
$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'
12558
darwin* | rhapsody*)
12560
rhapsody* | darwin1.[012])
12561
allow_undefined_flag_CXX='${wl}-undefined ${wl}suppress'
12564
if test -z ${MACOSX_DEPLOYMENT_TARGET} ; then
12565
allow_undefined_flag_CXX='${wl}-flat_namespace ${wl}-undefined ${wl}suppress'
12567
case ${MACOSX_DEPLOYMENT_TARGET} in
12569
allow_undefined_flag_CXX='${wl}-flat_namespace ${wl}-undefined ${wl}suppress'
12572
allow_undefined_flag_CXX='${wl}-undefined ${wl}dynamic_lookup'
12578
archive_cmds_need_lc_CXX=no
12579
hardcode_direct_CXX=no
12580
hardcode_automatic_CXX=yes
12581
hardcode_shlibpath_var_CXX=unsupported
12582
whole_archive_flag_spec_CXX=''
12583
link_all_deplibs_CXX=yes
12585
if test "$GXX" = yes ; then
12586
lt_int_apple_cc_single_mod=no
12587
output_verbose_link_cmd='echo'
12588
if $CC -dumpspecs 2>&1 | $EGREP 'single_module' >/dev/null ; then
12589
lt_int_apple_cc_single_mod=yes
12591
if test "X$lt_int_apple_cc_single_mod" = Xyes ; then
12592
archive_cmds_CXX='$CC -dynamiclib -single_module $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags -install_name $rpath/$soname $verstring'
12594
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'
12596
module_cmds_CXX='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
12597
# Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin lds
12598
if test "X$lt_int_apple_cc_single_mod" = Xyes ; then
12599
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}'
12601
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}'
12603
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}'
12605
case $cc_basename in
12607
output_verbose_link_cmd='echo'
12608
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'
12609
module_cmds_CXX='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
12610
# Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin lds
12611
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}'
12612
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}'
12622
case $cc_basename in
12624
# FIXME: insert proper C++ library support
12628
# Green Hills C++ Compiler
12629
# FIXME: insert proper C++ library support
12633
# FIXME: insert proper C++ library support
12639
# C++ shared libraries reported to be fairly broken before switch to ELF
12643
archive_cmds_need_lc_CXX=no
12645
freebsd* | dragonfly*)
12646
# FreeBSD 3 and later use GNU C++ and GNU ld with standard ELF
12653
hardcode_libdir_flag_spec_CXX='${wl}+b ${wl}$libdir'
12654
hardcode_libdir_separator_CXX=:
12655
export_dynamic_flag_spec_CXX='${wl}-E'
12656
hardcode_direct_CXX=yes
12657
hardcode_minus_L_CXX=yes # Not in the search PATH,
12658
# but as the default
12659
# location of the library.
12661
case $cc_basename in
12663
# FIXME: insert proper C++ library support
12667
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'
12668
# Commands to make compiler produce verbose output that lists
12669
# what "hidden" libraries, object files and flags are used when
12670
# linking a shared library.
12672
# There doesn't appear to be a way to prevent this compiler from
12673
# explicitly linking system object files so we need to strip them
12674
# from the output so that they don't get included in the library
12676
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'
12679
if test "$GXX" = yes; then
12680
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'
12682
# FIXME: insert proper C++ library support
12689
if test $with_gnu_ld = no; then
12690
hardcode_libdir_flag_spec_CXX='${wl}+b ${wl}$libdir'
12691
hardcode_libdir_separator_CXX=:
12696
export_dynamic_flag_spec_CXX='${wl}-E'
12702
hardcode_direct_CXX=no
12703
hardcode_shlibpath_var_CXX=no
12706
hardcode_direct_CXX=yes
12707
hardcode_minus_L_CXX=yes # Not in the search PATH,
12708
# but as the default
12709
# location of the library.
12713
case $cc_basename in
12715
# FIXME: insert proper C++ library support
12721
archive_cmds_CXX='$CC -b ${wl}+h ${wl}$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
12724
archive_cmds_CXX='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
12727
archive_cmds_CXX='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
12730
# Commands to make compiler produce verbose output that lists
12731
# what "hidden" libraries, object files and flags are used when
12732
# linking a shared library.
12734
# There doesn't appear to be a way to prevent this compiler from
12735
# explicitly linking system object files so we need to strip them
12736
# from the output so that they don't get included in the library
12738
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'
12741
if test "$GXX" = yes; then
12742
if test $with_gnu_ld = no; then
12745
archive_cmds_CXX='$CC -shared -nostdlib -fPIC ${wl}+h ${wl}$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
12748
archive_cmds_CXX='$CC -shared -nostdlib -fPIC ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
12751
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'
12756
# FIXME: insert proper C++ library support
12763
hardcode_direct_CXX=no
12764
hardcode_shlibpath_var_CXX=no
12765
hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
12766
export_dynamic_flag_spec_CXX='${wl}-E'
12767
# Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
12768
# Instead, shared libraries are loaded at an image base (0x10000000 by
12769
# default) and relocated if they conflict, which is a slow very memory
12770
# consuming and fragmenting process. To avoid this, we pick a random,
12771
# 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
12772
# time. Moving up from 0x10000000 also allows more sbrk(2) space.
12773
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'
12774
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'
12777
case $cc_basename in
12780
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'
12782
# Archives containing C++ object files must be created using
12783
# "CC -ar", where "CC" is the IRIX C++ compiler. This is
12784
# necessary to make sure instantiated templates are included
12786
old_archive_cmds_CXX='$CC -ar -WR,-u -o $oldlib $oldobjs'
12789
if test "$GXX" = yes; then
12790
if test "$with_gnu_ld" = no; then
12791
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'
12793
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'
12796
link_all_deplibs_CXX=yes
12799
hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
12800
hardcode_libdir_separator_CXX=:
12802
linux* | k*bsd*-gnu)
12803
case $cc_basename in
12805
# Kuck and Associates, Inc. (KAI) C++ Compiler
12807
# KCC will only create a shared library if the output file
12808
# ends with ".so" (or ".sl" for HP-UX), so rename the library
12809
# to its proper name (with version) after linking.
12810
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'
12811
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'
12812
# Commands to make compiler produce verbose output that lists
12813
# what "hidden" libraries, object files and flags are used when
12814
# linking a shared library.
12816
# There doesn't appear to be a way to prevent this compiler from
12817
# explicitly linking system object files so we need to strip them
12818
# from the output so that they don't get included in the library
12820
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'
12822
hardcode_libdir_flag_spec_CXX='${wl}--rpath,$libdir'
12823
export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
12825
# Archives containing C++ object files must be created using
12826
# "CC -Bstatic", where "CC" is the KAI C++ compiler.
12827
old_archive_cmds_CXX='$CC -Bstatic -o $oldlib $oldobjs'
12832
# version 8.0 and above of icpc choke on multiply defined symbols
12833
# if we add $predep_objects and $postdep_objects, however 7.1 and
12834
# earlier do not add the objects themselves.
12835
case `$CC -V 2>&1` in
12837
archive_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
12838
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'
12840
*) # Version 8.0 or newer
12843
ia64*) tmp_idyn=' -i_dynamic';;
12845
archive_cmds_CXX='$CC -shared'"$tmp_idyn"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
12846
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'
12849
archive_cmds_need_lc_CXX=no
12850
hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
12851
export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
12852
whole_archive_flag_spec_CXX='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
12855
# Portland Group C++ compiler
12856
archive_cmds_CXX='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname -o $lib'
12857
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'
12859
hardcode_libdir_flag_spec_CXX='${wl}--rpath ${wl}$libdir'
12860
export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
12861
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'
12865
archive_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
12866
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'
12868
runpath_var=LD_RUN_PATH
12869
hardcode_libdir_flag_spec_CXX='-rpath $libdir'
12870
hardcode_libdir_separator_CXX=:
12872
# Commands to make compiler produce verbose output that lists
12873
# what "hidden" libraries, object files and flags are used when
12874
# linking a shared library.
12876
# There doesn't appear to be a way to prevent this compiler from
12877
# explicitly linking system object files so we need to strip them
12878
# from the output so that they don't get included in the library
12880
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'
12883
case `$CC -V 2>&1 | sed 5q` in
12886
no_undefined_flag_CXX=' -zdefs'
12887
archive_cmds_CXX='$CC -G${allow_undefined_flag} -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
12888
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'
12889
hardcode_libdir_flag_spec_CXX='-R$libdir'
12890
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'
12892
# Not sure whether something based on
12893
# $CC $CFLAGS -v conftest.$objext -o libconftest$shared_ext 2>&1
12895
output_verbose_link_cmd='echo'
12897
# Archives containing C++ object files must be created using
12898
# "CC -xar", where "CC" is the Sun C++ compiler. This is
12899
# necessary to make sure instantiated templates are included
12901
old_archive_cmds_CXX='$CC -xar -o $oldlib $oldobjs'
12908
# FIXME: insert proper C++ library support
12912
# FIXME: insert proper C++ library support
12916
case $cc_basename in
12918
# FIXME: insert proper C++ library support
12922
# FIXME: insert proper C++ library support
12927
netbsd* | netbsdelf*-gnu)
12928
if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
12929
archive_cmds_CXX='$LD -Bshareable -o $lib $predep_objects $libobjs $deplibs $postdep_objects $linker_flags'
12931
hardcode_libdir_flag_spec_CXX='-R$libdir'
12932
hardcode_direct_CXX=yes
12933
hardcode_shlibpath_var_CXX=no
12935
# Workaround some broken pre-1.5 toolchains
12936
output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | grep conftest.$objext | $SED -e "s:-lgcc -lc -lgcc::"'
12939
# C++ shared libraries are fairly broken
12943
if test -f /usr/libexec/ld.so; then
12944
hardcode_direct_CXX=yes
12945
hardcode_shlibpath_var_CXX=no
12946
archive_cmds_CXX='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $lib'
12947
hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
12948
if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
12949
archive_expsym_cmds_CXX='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-retain-symbols-file,$export_symbols -o $lib'
12950
export_dynamic_flag_spec_CXX='${wl}-E'
12951
whole_archive_flag_spec_CXX="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
12953
output_verbose_link_cmd='echo'
12959
case $cc_basename in
12961
# Kuck and Associates, Inc. (KAI) C++ Compiler
12963
# KCC will only create a shared library if the output file
12964
# ends with ".so" (or ".sl" for HP-UX), so rename the library
12965
# to its proper name (with version) after linking.
12966
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'
12968
hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
12969
hardcode_libdir_separator_CXX=:
12971
# Archives containing C++ object files must be created using
12972
# "CC -Bstatic", where "CC" is the KAI C++ compiler.
12973
old_archive_cmds_CXX='$CC -Bstatic -o $oldlib $oldobjs'
12977
# Rational C++ 2.4.1
12978
# FIXME: insert proper C++ library support
12982
allow_undefined_flag_CXX=' ${wl}-expect_unresolved ${wl}\*'
12983
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'
12985
hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
12986
hardcode_libdir_separator_CXX=:
12988
# Commands to make compiler produce verbose output that lists
12989
# what "hidden" libraries, object files and flags are used when
12990
# linking a shared library.
12992
# There doesn't appear to be a way to prevent this compiler from
12993
# explicitly linking system object files so we need to strip them
12994
# from the output so that they don't get included in the library
12996
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'
12999
if test "$GXX" = yes && test "$with_gnu_ld" = no; then
13000
allow_undefined_flag_CXX=' ${wl}-expect_unresolved ${wl}\*'
13001
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'
13003
hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
13004
hardcode_libdir_separator_CXX=:
13006
# Commands to make compiler produce verbose output that lists
13007
# what "hidden" libraries, object files and flags are used when
13008
# linking a shared library.
13009
output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | grep "\-L"'
13012
# FIXME: insert proper C++ library support
13019
case $cc_basename in
13021
# Kuck and Associates, Inc. (KAI) C++ Compiler
13023
# KCC will only create a shared library if the output file
13024
# ends with ".so" (or ".sl" for HP-UX), so rename the library
13025
# to its proper name (with version) after linking.
13026
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'
13028
hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
13029
hardcode_libdir_separator_CXX=:
13031
# Archives containing C++ object files must be created using
13032
# the KAI C++ compiler.
13033
old_archive_cmds_CXX='$CC -o $oldlib $oldobjs'
13036
# Rational C++ 2.4.1
13037
# FIXME: insert proper C++ library support
13041
allow_undefined_flag_CXX=' -expect_unresolved \*'
13042
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'
13043
archive_expsym_cmds_CXX='for i in `cat $export_symbols`; do printf "%s %s\\n" -exported_symbol "\$i" >> $lib.exp; done~
13044
echo "-hidden">> $lib.exp~
13045
$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~
13048
hardcode_libdir_flag_spec_CXX='-rpath $libdir'
13049
hardcode_libdir_separator_CXX=:
13051
# Commands to make compiler produce verbose output that lists
13052
# what "hidden" libraries, object files and flags are used when
13053
# linking a shared library.
13055
# There doesn't appear to be a way to prevent this compiler from
13056
# explicitly linking system object files so we need to strip them
13057
# from the output so that they don't get included in the library
13059
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'
13062
if test "$GXX" = yes && test "$with_gnu_ld" = no; then
13063
allow_undefined_flag_CXX=' ${wl}-expect_unresolved ${wl}\*'
13064
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'
13066
hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
13067
hardcode_libdir_separator_CXX=:
13069
# Commands to make compiler produce verbose output that lists
13070
# what "hidden" libraries, object files and flags are used when
13071
# linking a shared library.
13072
output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | grep "\-L"'
13075
# FIXME: insert proper C++ library support
13082
# FIXME: insert proper C++ library support
13086
case $cc_basename in
13089
# FIXME: insert proper C++ library support
13094
# FIXME: insert proper C++ library support
13098
# FIXME: insert proper C++ library support
13104
case $cc_basename in
13106
# Sun C++ 4.2, 5.x and Centerline C++
13107
archive_cmds_need_lc_CXX=yes
13108
no_undefined_flag_CXX=' -zdefs'
13109
archive_cmds_CXX='$CC -G${allow_undefined_flag} -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
13110
archive_expsym_cmds_CXX='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
13111
$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'
13113
hardcode_libdir_flag_spec_CXX='-R$libdir'
13114
hardcode_shlibpath_var_CXX=no
13116
solaris2.[0-5] | solaris2.[0-5].*) ;;
13118
# The compiler driver will combine and reorder linker options,
13119
# but understands `-z linker_flag'.
13120
# Supported since Solaris 2.6 (maybe 2.5.1?)
13121
whole_archive_flag_spec_CXX='-z allextract$convenience -z defaultextract'
13124
link_all_deplibs_CXX=yes
13126
output_verbose_link_cmd='echo'
13128
# Archives containing C++ object files must be created using
13129
# "CC -xar", where "CC" is the Sun C++ compiler. This is
13130
# necessary to make sure instantiated templates are included
13132
old_archive_cmds_CXX='$CC -xar -o $oldlib $oldobjs'
13135
# Green Hills C++ Compiler
13136
archive_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
13138
# The C++ compiler must be used to create the archive.
13139
old_archive_cmds_CXX='$CC $LDFLAGS -archive -o $oldlib $oldobjs'
13142
# GNU C++ compiler with Solaris linker
13143
if test "$GXX" = yes && test "$with_gnu_ld" = no; then
13144
no_undefined_flag_CXX=' ${wl}-z ${wl}defs'
13145
if $CC --version | grep -v '^2\.7' > /dev/null; then
13146
archive_cmds_CXX='$CC -shared -nostdlib $LDFLAGS $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
13147
archive_expsym_cmds_CXX='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
13148
$CC -shared -nostdlib ${wl}-M $wl$lib.exp -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$rm $lib.exp'
13150
# Commands to make compiler produce verbose output that lists
13151
# what "hidden" libraries, object files and flags are used when
13152
# linking a shared library.
13153
output_verbose_link_cmd="$CC -shared $CFLAGS -v conftest.$objext 2>&1 | grep \"\-L\""
13155
# g++ 2.7 appears to require `-G' NOT `-shared' on this
13157
archive_cmds_CXX='$CC -G -nostdlib $LDFLAGS $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
13158
archive_expsym_cmds_CXX='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
13159
$CC -G -nostdlib ${wl}-M $wl$lib.exp -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$rm $lib.exp'
13161
# Commands to make compiler produce verbose output that lists
13162
# what "hidden" libraries, object files and flags are used when
13163
# linking a shared library.
13164
output_verbose_link_cmd="$CC -G $CFLAGS -v conftest.$objext 2>&1 | grep \"\-L\""
13167
hardcode_libdir_flag_spec_CXX='${wl}-R $wl$libdir'
13169
solaris2.[0-5] | solaris2.[0-5].*) ;;
13171
whole_archive_flag_spec_CXX='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
13178
sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7* | sco3.2v5.0.[024]*)
13179
no_undefined_flag_CXX='${wl}-z,text'
13180
archive_cmds_need_lc_CXX=no
13181
hardcode_shlibpath_var_CXX=no
13182
runpath_var='LD_RUN_PATH'
13184
case $cc_basename in
13186
archive_cmds_CXX='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13187
archive_expsym_cmds_CXX='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13190
archive_cmds_CXX='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13191
archive_expsym_cmds_CXX='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13195
sysv5* | sco3.2v5* | sco5v6*)
13196
# Note: We can NOT use -z defs as we might desire, because we do not
13197
# link with -lc, and that would cause any symbols used from libc to
13198
# always be unresolved, which means just about no library would
13199
# ever link correctly. If we're not using GNU ld we use -z text
13200
# though, which does catch some bad symbols but isn't as heavy-handed
13202
# For security reasons, it is highly recommended that you always
13203
# use absolute paths for naming shared libraries, and exclude the
13204
# DT_RUNPATH tag from executables and libraries. But doing so
13205
# requires that you compile everything twice, which is a pain.
13206
# So that behaviour is only enabled if SCOABSPATH is set to a
13207
# non-empty value in the environment. Most likely only useful for
13208
# creating official distributions of packages.
13209
# This is a hack until libtool officially supports absolute path
13210
# names for shared libraries.
13211
no_undefined_flag_CXX='${wl}-z,text'
13212
allow_undefined_flag_CXX='${wl}-z,nodefs'
13213
archive_cmds_need_lc_CXX=no
13214
hardcode_shlibpath_var_CXX=no
13215
hardcode_libdir_flag_spec_CXX='`test -z "$SCOABSPATH" && echo ${wl}-R,$libdir`'
13216
hardcode_libdir_separator_CXX=':'
13217
link_all_deplibs_CXX=yes
13218
export_dynamic_flag_spec_CXX='${wl}-Bexport'
13219
runpath_var='LD_RUN_PATH'
13221
case $cc_basename in
13223
archive_cmds_CXX='$CC -G ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
13224
archive_expsym_cmds_CXX='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
13227
archive_cmds_CXX='$CC -shared ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
13228
archive_expsym_cmds_CXX='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
13233
case $cc_basename in
13235
# NonStop-UX NCC 3.20
13236
# FIXME: insert proper C++ library support
13240
# FIXME: insert proper C++ library support
13246
# FIXME: insert proper C++ library support
13250
# FIXME: insert proper C++ library support
13254
{ echo "$as_me:$LINENO: result: $ld_shlibs_CXX" >&5
13255
echo "${ECHO_T}$ld_shlibs_CXX" >&6; }
13256
test "$ld_shlibs_CXX" = no && can_build_shared=no
13262
## There is no encapsulation within the following macros, do not change
13263
## the running order or otherwise move them around unless you know exactly
13264
## what you are doing...
13266
cat > conftest.$ac_ext <<EOF
13270
Foo (void) { a = 0; }
13276
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13277
(eval $ac_compile) 2>&5
13279
echo "$as_me:$LINENO: \$? = $ac_status" >&5
13280
(exit $ac_status); }; then
13281
# Parse the compiler output and extract the necessary
13282
# objects, libraries and library flags.
13284
# Sentinel used to keep track of whether or not we are before
13285
# the conftest object file.
13286
pre_test_object_deps_done=no
13288
# The `*' in the case matches for architectures that use `case' in
13289
# $output_verbose_cmd can trigger glob expansion during the loop
13290
# eval without this substitution.
13291
output_verbose_link_cmd=`$echo "X$output_verbose_link_cmd" | $Xsed -e "$no_glob_subst"`
13293
for p in `eval $output_verbose_link_cmd`; do
13297
# Some compilers place space between "-{L,R}" and the path.
13298
# Remove the space.
13299
if test $p = "-L" \
13300
|| test $p = "-R"; then
13307
if test "$pre_test_object_deps_done" = no; then
13310
# Internal compiler library paths should come after those
13311
# provided the user. The postdeps already come after the
13312
# user supplied libs so there is no need to process them.
13313
if test -z "$compiler_lib_search_path_CXX"; then
13314
compiler_lib_search_path_CXX="${prev}${p}"
13316
compiler_lib_search_path_CXX="${compiler_lib_search_path_CXX} ${prev}${p}"
13319
# The "-l" case would never come before the object being
13320
# linked, so don't bother handling this case.
13323
if test -z "$postdeps_CXX"; then
13324
postdeps_CXX="${prev}${p}"
13326
postdeps_CXX="${postdeps_CXX} ${prev}${p}"
13332
# This assumes that the test object file only shows up
13333
# once in the compiler output.
13334
if test "$p" = "conftest.$objext"; then
13335
pre_test_object_deps_done=yes
13339
if test "$pre_test_object_deps_done" = no; then
13340
if test -z "$predep_objects_CXX"; then
13341
predep_objects_CXX="$p"
13343
predep_objects_CXX="$predep_objects_CXX $p"
13346
if test -z "$postdep_objects_CXX"; then
13347
postdep_objects_CXX="$p"
13349
postdep_objects_CXX="$postdep_objects_CXX $p"
13354
*) ;; # Ignore the rest.
13362
echo "libtool.m4: error: problem compiling CXX test program"
13365
$rm -f confest.$objext
13367
# PORTME: override above test on systems where it is broken
13370
# Interix 3.5 installs completely hosed .la files for C++, so rather than
13371
# hack all around it, let's just trust "g++" to DTRT.
13372
predep_objects_CXX=
13373
postdep_objects_CXX=
13378
case `$CC -V 2>&1 | sed 5q` in
13382
# The more standards-conforming stlport4 library is
13383
# incompatible with the Cstd library. Avoid specifying
13384
# it if it's in CXXFLAGS. Ignore libCrun as
13385
# -library=stlport4 depends on it.
13386
case " $CXX $CXXFLAGS " in
13387
*" -library=stlport4 "*)
13388
solaris_use_stlport4=yes
13391
if test "$solaris_use_stlport4" != yes; then
13392
postdeps_CXX='-library=Cstd -library=Crun'
13399
case $cc_basename in
13401
# The more standards-conforming stlport4 library is
13402
# incompatible with the Cstd library. Avoid specifying
13403
# it if it's in CXXFLAGS. Ignore libCrun as
13404
# -library=stlport4 depends on it.
13405
case " $CXX $CXXFLAGS " in
13406
*" -library=stlport4 "*)
13407
solaris_use_stlport4=yes
13411
# Adding this requires a known-good setup of shared libraries for
13412
# Sun compiler versions before 5.6, else PIC objects from an old
13413
# archive will be linked into the output, leading to subtle bugs.
13414
if test "$solaris_use_stlport4" != yes; then
13415
postdeps_CXX='-library=Cstd -library=Crun'
13423
case " $postdeps_CXX " in
13424
*" -lc "*) archive_cmds_need_lc_CXX=no ;;
13427
lt_prog_compiler_wl_CXX=
13428
lt_prog_compiler_pic_CXX=
13429
lt_prog_compiler_static_CXX=
13431
{ echo "$as_me:$LINENO: checking for $compiler option to produce PIC" >&5
13432
echo $ECHO_N "checking for $compiler option to produce PIC... $ECHO_C" >&6; }
13434
# C++ specific cases for pic, static, wl, etc.
13435
if test "$GXX" = yes; then
13436
lt_prog_compiler_wl_CXX='-Wl,'
13437
lt_prog_compiler_static_CXX='-static'
13441
# All AIX code is PIC.
13442
if test "$host_cpu" = ia64; then
13443
# AIX 5 now supports IA64 processor
13444
lt_prog_compiler_static_CXX='-Bstatic'
13448
# FIXME: we need at least 68020 code to build shared libraries, but
13449
# adding the `-m68020' flag to GCC prevents building anything better,
13451
lt_prog_compiler_pic_CXX='-m68020 -resident32 -malways-restore-a4'
13453
beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
13454
# PIC is the default for these OSes.
13456
mingw* | cygwin* | os2* | pw32*)
13457
# This hack is so that the source file can tell whether it is being
13458
# built for inclusion in a dll (and should export symbols for example).
13459
# Although the cygwin gcc ignores -fPIC, still need this for old-style
13460
# (--disable-auto-import) libraries
13461
lt_prog_compiler_pic_CXX='-DDLL_EXPORT'
13463
darwin* | rhapsody*)
13464
# PIC is the default on this platform
13465
# Common symbols not allowed in MH_DYLIB files
13466
lt_prog_compiler_pic_CXX='-fno-common'
13469
# DJGPP does not support shared libraries at all
13470
lt_prog_compiler_pic_CXX=
13473
# Interix 3.x gcc -fpic/-fPIC options generate broken code.
13474
# Instead, we relocate shared libraries at runtime.
13477
if test -d /usr/nec; then
13478
lt_prog_compiler_pic_CXX=-Kconform_pic
13482
# PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
13483
# not for PA HP-UX.
13488
lt_prog_compiler_pic_CXX='-fPIC'
13493
lt_prog_compiler_pic_CXX='-fPIC'
13499
# All AIX code is PIC.
13500
if test "$host_cpu" = ia64; then
13501
# AIX 5 now supports IA64 processor
13502
lt_prog_compiler_static_CXX='-Bstatic'
13504
lt_prog_compiler_static_CXX='-bnso -bI:/lib/syscalls.exp'
13508
case $cc_basename in
13510
# Green Hills C++ Compiler
13511
# _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"
13516
# PIC is the default on this platform
13517
# Common symbols not allowed in MH_DYLIB files
13518
case $cc_basename in
13520
lt_prog_compiler_pic_CXX='-qnocommon'
13521
lt_prog_compiler_wl_CXX='-Wl,'
13526
case $cc_basename in
13528
lt_prog_compiler_pic_CXX='-KPIC'
13531
# Green Hills C++ Compiler
13532
lt_prog_compiler_pic_CXX='-pic'
13538
freebsd* | dragonfly*)
13539
# FreeBSD uses GNU C++
13541
hpux9* | hpux10* | hpux11*)
13542
case $cc_basename in
13544
lt_prog_compiler_wl_CXX='-Wl,'
13545
lt_prog_compiler_static_CXX='${wl}-a ${wl}archive'
13546
if test "$host_cpu" != ia64; then
13547
lt_prog_compiler_pic_CXX='+Z'
13551
lt_prog_compiler_wl_CXX='-Wl,'
13552
lt_prog_compiler_static_CXX='${wl}-a ${wl}archive'
13558
lt_prog_compiler_pic_CXX='+Z'
13567
# This is c89, which is MS Visual C++ (no shared libs)
13568
# Anyone wants to do a port?
13570
irix5* | irix6* | nonstopux*)
13571
case $cc_basename in
13573
lt_prog_compiler_wl_CXX='-Wl,'
13574
lt_prog_compiler_static_CXX='-non_shared'
13575
# CC pic flag -KPIC is the default.
13581
linux* | k*bsd*-gnu)
13582
case $cc_basename in
13585
lt_prog_compiler_wl_CXX='--backend -Wl,'
13586
lt_prog_compiler_pic_CXX='-fPIC'
13590
lt_prog_compiler_wl_CXX='-Wl,'
13591
lt_prog_compiler_pic_CXX='-KPIC'
13592
lt_prog_compiler_static_CXX='-static'
13595
# Portland Group C++ compiler.
13596
lt_prog_compiler_wl_CXX='-Wl,'
13597
lt_prog_compiler_pic_CXX='-fpic'
13598
lt_prog_compiler_static_CXX='-Bstatic'
13602
# Make sure the PIC flag is empty. It appears that all Alpha
13603
# Linux and Compaq Tru64 Unix objects are PIC.
13604
lt_prog_compiler_pic_CXX=
13605
lt_prog_compiler_static_CXX='-non_shared'
13608
case `$CC -V 2>&1 | sed 5q` in
13611
lt_prog_compiler_pic_CXX='-KPIC'
13612
lt_prog_compiler_static_CXX='-Bstatic'
13613
lt_prog_compiler_wl_CXX='-Qoption ld '
13624
case $cc_basename in
13626
lt_prog_compiler_pic_CXX='-W c,exportall'
13632
netbsd* | netbsdelf*-gnu)
13634
osf3* | osf4* | osf5*)
13635
case $cc_basename in
13637
lt_prog_compiler_wl_CXX='--backend -Wl,'
13640
# Rational C++ 2.4.1
13641
lt_prog_compiler_pic_CXX='-pic'
13644
# Digital/Compaq C++
13645
lt_prog_compiler_wl_CXX='-Wl,'
13646
# Make sure the PIC flag is empty. It appears that all Alpha
13647
# Linux and Compaq Tru64 Unix objects are PIC.
13648
lt_prog_compiler_pic_CXX=
13649
lt_prog_compiler_static_CXX='-non_shared'
13658
case $cc_basename in
13660
# Sun C++ 4.2, 5.x and Centerline C++
13661
lt_prog_compiler_pic_CXX='-KPIC'
13662
lt_prog_compiler_static_CXX='-Bstatic'
13663
lt_prog_compiler_wl_CXX='-Qoption ld '
13666
# Green Hills C++ Compiler
13667
lt_prog_compiler_pic_CXX='-PIC'
13674
case $cc_basename in
13677
lt_prog_compiler_pic_CXX='-pic'
13678
lt_prog_compiler_static_CXX='-Bstatic'
13682
lt_prog_compiler_pic_CXX='-pic'
13689
case $cc_basename in
13691
# NonStop-UX NCC 3.20
13692
lt_prog_compiler_pic_CXX='-KPIC'
13698
sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
13699
case $cc_basename in
13701
lt_prog_compiler_wl_CXX='-Wl,'
13702
lt_prog_compiler_pic_CXX='-KPIC'
13703
lt_prog_compiler_static_CXX='-Bstatic'
13710
lt_prog_compiler_can_build_shared_CXX=no
13715
{ echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_CXX" >&5
13716
echo "${ECHO_T}$lt_prog_compiler_pic_CXX" >&6; }
13719
# Check to make sure the PIC flag actually works.
13721
if test -n "$lt_prog_compiler_pic_CXX"; then
13723
{ echo "$as_me:$LINENO: checking if $compiler PIC flag $lt_prog_compiler_pic_CXX works" >&5
13724
echo $ECHO_N "checking if $compiler PIC flag $lt_prog_compiler_pic_CXX works... $ECHO_C" >&6; }
13725
if test "${lt_prog_compiler_pic_works_CXX+set}" = set; then
13726
echo $ECHO_N "(cached) $ECHO_C" >&6
13728
lt_prog_compiler_pic_works_CXX=no
13729
ac_outfile=conftest.$ac_objext
13730
echo "$lt_simple_compile_test_code" > conftest.$ac_ext
13731
lt_compiler_flag="$lt_prog_compiler_pic_CXX -DPIC"
13732
# Insert the option either (1) after the last *FLAGS variable, or
13733
# (2) before a word containing "conftest.", or (3) at the end.
13734
# Note that $ac_compile itself does not contain backslashes and begins
13735
# with a dollar sign (not a hyphen), so the echo should work correctly.
13736
# The option is referenced via a variable to avoid confusing sed.
13737
lt_compile=`echo "$ac_compile" | $SED \
13738
-e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
13739
-e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
13740
-e 's:$: $lt_compiler_flag:'`
13741
(eval echo "\"\$as_me:__oline__: $lt_compile\"" >&5)
13742
(eval "$lt_compile" 2>conftest.err)
13744
cat conftest.err >&5
13745
echo "$as_me:__oline__: \$? = $ac_status" >&5
13746
if (exit $ac_status) && test -s "$ac_outfile"; then
13747
# The compiler can only warn and ignore the option if not recognized
13748
# So say no if there are warnings other than the usual output.
13749
$echo "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' >conftest.exp
13750
$SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
13751
if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
13752
lt_prog_compiler_pic_works_CXX=yes
13758
{ echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_works_CXX" >&5
13759
echo "${ECHO_T}$lt_prog_compiler_pic_works_CXX" >&6; }
13761
if test x"$lt_prog_compiler_pic_works_CXX" = xyes; then
13762
case $lt_prog_compiler_pic_CXX in
13764
*) lt_prog_compiler_pic_CXX=" $lt_prog_compiler_pic_CXX" ;;
13767
lt_prog_compiler_pic_CXX=
13768
lt_prog_compiler_can_build_shared_CXX=no
13773
# For platforms which do not support PIC, -DPIC is meaningless:
13775
lt_prog_compiler_pic_CXX=
13778
lt_prog_compiler_pic_CXX="$lt_prog_compiler_pic_CXX -DPIC"
13783
# Check to make sure the static flag actually works.
13785
wl=$lt_prog_compiler_wl_CXX eval lt_tmp_static_flag=\"$lt_prog_compiler_static_CXX\"
13786
{ echo "$as_me:$LINENO: checking if $compiler static flag $lt_tmp_static_flag works" >&5
13787
echo $ECHO_N "checking if $compiler static flag $lt_tmp_static_flag works... $ECHO_C" >&6; }
13788
if test "${lt_prog_compiler_static_works_CXX+set}" = set; then
13789
echo $ECHO_N "(cached) $ECHO_C" >&6
13791
lt_prog_compiler_static_works_CXX=no
13792
save_LDFLAGS="$LDFLAGS"
13793
LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
13794
echo "$lt_simple_link_test_code" > conftest.$ac_ext
13795
if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
13796
# The linker can only warn and ignore the option if not recognized
13797
# So say no if there are warnings
13798
if test -s conftest.err; then
13799
# Append any errors to the config.log.
13800
cat conftest.err 1>&5
13801
$echo "X$_lt_linker_boilerplate" | $Xsed -e '/^$/d' > conftest.exp
13802
$SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
13803
if diff conftest.exp conftest.er2 >/dev/null; then
13804
lt_prog_compiler_static_works_CXX=yes
13807
lt_prog_compiler_static_works_CXX=yes
13811
LDFLAGS="$save_LDFLAGS"
13814
{ echo "$as_me:$LINENO: result: $lt_prog_compiler_static_works_CXX" >&5
13815
echo "${ECHO_T}$lt_prog_compiler_static_works_CXX" >&6; }
13817
if test x"$lt_prog_compiler_static_works_CXX" = xyes; then
13820
lt_prog_compiler_static_CXX=
13824
{ echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5
13825
echo $ECHO_N "checking if $compiler supports -c -o file.$ac_objext... $ECHO_C" >&6; }
13826
if test "${lt_cv_prog_compiler_c_o_CXX+set}" = set; then
13827
echo $ECHO_N "(cached) $ECHO_C" >&6
13829
lt_cv_prog_compiler_c_o_CXX=no
13830
$rm -r conftest 2>/dev/null
13834
echo "$lt_simple_compile_test_code" > conftest.$ac_ext
13836
lt_compiler_flag="-o out/conftest2.$ac_objext"
13837
# Insert the option either (1) after the last *FLAGS variable, or
13838
# (2) before a word containing "conftest.", or (3) at the end.
13839
# Note that $ac_compile itself does not contain backslashes and begins
13840
# with a dollar sign (not a hyphen), so the echo should work correctly.
13841
lt_compile=`echo "$ac_compile" | $SED \
13842
-e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
13843
-e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
13844
-e 's:$: $lt_compiler_flag:'`
13845
(eval echo "\"\$as_me:__oline__: $lt_compile\"" >&5)
13846
(eval "$lt_compile" 2>out/conftest.err)
13848
cat out/conftest.err >&5
13849
echo "$as_me:__oline__: \$? = $ac_status" >&5
13850
if (exit $ac_status) && test -s out/conftest2.$ac_objext
13852
# The compiler can only warn and ignore the option if not recognized
13853
# So say no if there are warnings
13854
$echo "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' > out/conftest.exp
13855
$SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
13856
if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
13857
lt_cv_prog_compiler_c_o_CXX=yes
13862
# SGI C++ compiler will create directory out/ii_files/ for
13863
# template instantiation
13864
test -d out/ii_files && $rm out/ii_files/* && rmdir out/ii_files
13865
$rm out/* && rmdir out
13871
{ echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_c_o_CXX" >&5
13872
echo "${ECHO_T}$lt_cv_prog_compiler_c_o_CXX" >&6; }
13875
hard_links="nottested"
13876
if test "$lt_cv_prog_compiler_c_o_CXX" = no && test "$need_locks" != no; then
13877
# do not overwrite the value of need_locks provided by the user
13878
{ echo "$as_me:$LINENO: checking if we can lock with hard links" >&5
13879
echo $ECHO_N "checking if we can lock with hard links... $ECHO_C" >&6; }
13882
ln conftest.a conftest.b 2>/dev/null && hard_links=no
13884
ln conftest.a conftest.b 2>&5 || hard_links=no
13885
ln conftest.a conftest.b 2>/dev/null && hard_links=no
13886
{ echo "$as_me:$LINENO: result: $hard_links" >&5
13887
echo "${ECHO_T}$hard_links" >&6; }
13888
if test "$hard_links" = no; then
13889
{ echo "$as_me:$LINENO: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
13890
echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
13897
{ echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5
13898
echo $ECHO_N "checking whether the $compiler linker ($LD) supports shared libraries... $ECHO_C" >&6; }
13900
export_symbols_cmds_CXX='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
13903
# If we're using GNU nm, then we don't want the "-C" option.
13904
# -C means demangle to AIX nm, but means don't demangle with GNU nm
13905
if $NM -V 2>&1 | grep 'GNU' > /dev/null; then
13906
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'
13908
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'
13912
export_symbols_cmds_CXX="$ltdll_cmds"
13915
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'
13917
linux* | k*bsd*-gnu)
13918
link_all_deplibs_CXX=no
13921
export_symbols_cmds_CXX='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
13925
{ echo "$as_me:$LINENO: result: $ld_shlibs_CXX" >&5
13926
echo "${ECHO_T}$ld_shlibs_CXX" >&6; }
13927
test "$ld_shlibs_CXX" = no && can_build_shared=no
13930
# Do we need to explicitly link libc?
13932
case "x$archive_cmds_need_lc_CXX" in
13934
# Assume -lc should be added
13935
archive_cmds_need_lc_CXX=yes
13937
if test "$enable_shared" = yes && test "$GCC" = yes; then
13938
case $archive_cmds_CXX in
13940
# FIXME: we may have to deal with multi-command sequences.
13943
# Test whether the compiler implicitly links with -lc since on some
13944
# systems, -lgcc has to come before -lc. If gcc already passes -lc
13945
# to ld, don't add -lc before -lgcc.
13946
{ echo "$as_me:$LINENO: checking whether -lc should be explicitly linked in" >&5
13947
echo $ECHO_N "checking whether -lc should be explicitly linked in... $ECHO_C" >&6; }
13949
echo "$lt_simple_compile_test_code" > conftest.$ac_ext
13951
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13952
(eval $ac_compile) 2>&5
13954
echo "$as_me:$LINENO: \$? = $ac_status" >&5
13955
(exit $ac_status); } 2>conftest.err; then
13958
libobjs=conftest.$ac_objext
13960
wl=$lt_prog_compiler_wl_CXX
13961
pic_flag=$lt_prog_compiler_pic_CXX
13967
lt_save_allow_undefined_flag=$allow_undefined_flag_CXX
13968
allow_undefined_flag_CXX=
13969
if { (eval echo "$as_me:$LINENO: \"$archive_cmds_CXX 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1\"") >&5
13970
(eval $archive_cmds_CXX 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1) 2>&5
13972
echo "$as_me:$LINENO: \$? = $ac_status" >&5
13973
(exit $ac_status); }
13975
archive_cmds_need_lc_CXX=no
13977
archive_cmds_need_lc_CXX=yes
13979
allow_undefined_flag_CXX=$lt_save_allow_undefined_flag
13981
cat conftest.err 1>&5
13984
{ echo "$as_me:$LINENO: result: $archive_cmds_need_lc_CXX" >&5
13985
echo "${ECHO_T}$archive_cmds_need_lc_CXX" >&6; }
13992
{ echo "$as_me:$LINENO: checking dynamic linker characteristics" >&5
13993
echo $ECHO_N "checking dynamic linker characteristics... $ECHO_C" >&6; }
13994
library_names_spec=
13995
libname_spec='lib$name'
13999
postuninstall_cmds=
14003
shlibpath_overrides_runpath=unknown
14005
dynamic_linker="$host_os ld.so"
14006
sys_lib_dlsearch_path_spec="/lib /usr/lib"
14008
need_lib_prefix=unknown
14009
hardcode_into_libs=no
14011
# when you set need_version to no, make sure it does not cause -set_version
14012
# flags to be left without arguments
14013
need_version=unknown
14018
library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a'
14019
shlibpath_var=LIBPATH
14021
# AIX 3 has no versioning support, so we append a major version to the name.
14022
soname_spec='${libname}${release}${shared_ext}$major'
14029
hardcode_into_libs=yes
14030
if test "$host_cpu" = ia64; then
14031
# AIX 5 supports IA64
14032
library_names_spec='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
14033
shlibpath_var=LD_LIBRARY_PATH
14035
# With GCC up to 2.95.x, collect2 would create an import file
14036
# for dependence libraries. The import file would start with
14037
# the line `#! .'. This would cause the generated library to
14038
# depend on `.', always an invalid library. This was fixed in
14039
# development snapshots of GCC prior to 3.0.
14041
aix4 | aix4.[01] | aix4.[01].*)
14042
if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
14044
echo '#endif'; } | ${CC} -E - | grep yes > /dev/null; then
14047
can_build_shared=no
14051
# AIX (on Power*) has no versioning support, so currently we can not hardcode correct
14052
# soname into executable. Probably we can add versioning support to
14053
# collect2, so additional links can be useful in future.
14054
if test "$aix_use_runtimelinking" = yes; then
14055
# If using run time linking (on AIX 4.2 or later) use lib<name>.so
14056
# instead of lib<name>.a to let people know that these are not
14057
# typical AIX shared libraries.
14058
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14060
# We preserve .a as extension for shared libraries through AIX4.2
14061
# and later when we are not doing run time linking.
14062
library_names_spec='${libname}${release}.a $libname.a'
14063
soname_spec='${libname}${release}${shared_ext}$major'
14065
shlibpath_var=LIBPATH
14070
library_names_spec='$libname.ixlibrary $libname.a'
14071
# Create ${libname}_ixlibrary.a entries in /sys/libs.
14072
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'
14076
library_names_spec='${libname}${shared_ext}'
14077
dynamic_linker="$host_os ld.so"
14078
shlibpath_var=LIBRARY_PATH
14084
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14085
soname_spec='${libname}${release}${shared_ext}$major'
14086
finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
14087
shlibpath_var=LD_LIBRARY_PATH
14088
sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
14089
sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
14090
# the default ld.so.conf also contains /usr/contrib/lib and
14091
# /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
14092
# libtool to hard-code these into programs
14095
cygwin* | mingw* | pw32*)
14096
version_type=windows
14101
case $GCC,$host_os in
14102
yes,cygwin* | yes,mingw* | yes,pw32*)
14103
library_names_spec='$libname.dll.a'
14104
# DLL is installed to $(libdir)/../bin by postinstall_cmds
14105
postinstall_cmds='base_file=`basename \${file}`~
14106
dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i;echo \$dlname'\''`~
14107
dldir=$destdir/`dirname \$dlpath`~
14108
test -d \$dldir || mkdir -p \$dldir~
14109
$install_prog $dir/$dlname \$dldir/$dlname~
14110
chmod a+x \$dldir/$dlname'
14111
postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
14112
dlpath=$dir/\$dldll~
14114
shlibpath_overrides_runpath=yes
14118
# Cygwin DLLs use 'cyg' prefix rather than 'lib'
14119
soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
14120
sys_lib_search_path_spec="/usr/lib /lib/w32api /lib /usr/local/lib"
14123
# MinGW DLLs use traditional 'lib' prefix
14124
soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
14125
sys_lib_search_path_spec=`$CC -print-search-dirs | grep "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
14126
if echo "$sys_lib_search_path_spec" | grep ';[c-zC-Z]:/' >/dev/null; then
14127
# It is most probably a Windows format PATH printed by
14128
# mingw gcc, but we are running on Cygwin. Gcc prints its search
14129
# path with ; separators, and with drive letters. We can handle the
14130
# drive letters (cygwin fileutils understands them), so leave them,
14131
# especially as we might pass files found there to a mingw objdump,
14132
# which wouldn't understand a cygwinified path. Ahh.
14133
sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
14135
sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
14139
# pw32 DLLs use 'pw' prefix rather than 'lib'
14140
library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
14146
library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
14149
dynamic_linker='Win32 ld.exe'
14150
# FIXME: first we should search . and the directory the executable is in
14154
darwin* | rhapsody*)
14155
dynamic_linker="$host_os dyld"
14156
version_type=darwin
14159
library_names_spec='${libname}${release}${versuffix}$shared_ext ${libname}${release}${major}$shared_ext ${libname}$shared_ext'
14160
soname_spec='${libname}${release}${major}$shared_ext'
14161
shlibpath_overrides_runpath=yes
14162
shlibpath_var=DYLD_LIBRARY_PATH
14163
shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`'
14165
sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
14172
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
14173
soname_spec='${libname}${release}${shared_ext}$major'
14174
shlibpath_var=LD_LIBRARY_PATH
14181
freebsd* | dragonfly*)
14182
# DragonFly does not have aout. When/if they implement a new
14183
# versioning mechanism, adjust this.
14184
if test -x /usr/bin/objformat; then
14185
objformat=`/usr/bin/objformat`
14188
freebsd[123]*) objformat=aout ;;
14189
*) objformat=elf ;;
14192
version_type=freebsd-$objformat
14193
case $version_type in
14195
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
14200
library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
14204
shlibpath_var=LD_LIBRARY_PATH
14207
shlibpath_overrides_runpath=yes
14209
freebsd3.[01]* | freebsdelf3.[01]*)
14210
shlibpath_overrides_runpath=yes
14211
hardcode_into_libs=yes
14213
freebsd3.[2-9]* | freebsdelf3.[2-9]* | \
14214
freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1)
14215
shlibpath_overrides_runpath=no
14216
hardcode_into_libs=yes
14218
*) # from 4.6 on, and DragonFly
14219
shlibpath_overrides_runpath=yes
14220
hardcode_into_libs=yes
14229
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
14230
soname_spec='${libname}${release}${shared_ext}$major'
14231
shlibpath_var=LD_LIBRARY_PATH
14232
hardcode_into_libs=yes
14235
hpux9* | hpux10* | hpux11*)
14236
# Give a soname corresponding to the major version so that dld.sl refuses to
14237
# link against other versions.
14244
hardcode_into_libs=yes
14245
dynamic_linker="$host_os dld.so"
14246
shlibpath_var=LD_LIBRARY_PATH
14247
shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
14248
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14249
soname_spec='${libname}${release}${shared_ext}$major'
14250
if test "X$HPUX_IA64_MODE" = X32; then
14251
sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
14253
sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
14255
sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
14259
hardcode_into_libs=yes
14260
dynamic_linker="$host_os dld.sl"
14261
shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
14262
shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
14263
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14264
soname_spec='${libname}${release}${shared_ext}$major'
14265
sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
14266
sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
14270
dynamic_linker="$host_os dld.sl"
14271
shlibpath_var=SHLIB_PATH
14272
shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
14273
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14274
soname_spec='${libname}${release}${shared_ext}$major'
14277
# HP-UX runs *really* slowly unless shared libraries are mode 555.
14278
postinstall_cmds='chmod 555 $lib'
14285
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
14286
soname_spec='${libname}${release}${shared_ext}$major'
14287
dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)'
14288
shlibpath_var=LD_LIBRARY_PATH
14289
shlibpath_overrides_runpath=no
14290
hardcode_into_libs=yes
14293
irix5* | irix6* | nonstopux*)
14295
nonstopux*) version_type=nonstopux ;;
14297
if test "$lt_cv_prog_gnu_ld" = yes; then
14305
soname_spec='${libname}${release}${shared_ext}$major'
14306
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
14308
irix5* | nonstopux*)
14309
libsuff= shlibsuff=
14312
case $LD in # libtool.m4 will add one of these switches to LD
14313
*-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
14314
libsuff= shlibsuff= libmagic=32-bit;;
14315
*-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
14316
libsuff=32 shlibsuff=N32 libmagic=N32;;
14317
*-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
14318
libsuff=64 shlibsuff=64 libmagic=64-bit;;
14319
*) libsuff= shlibsuff= libmagic=never-match;;
14323
shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
14324
shlibpath_overrides_runpath=no
14325
sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
14326
sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}"
14327
hardcode_into_libs=yes
14330
# No shared lib support for Linux oldld, aout, or coff.
14331
linux*oldld* | linux*aout* | linux*coff*)
14335
# This must be Linux ELF.
14336
linux* | k*bsd*-gnu)
14340
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14341
soname_spec='${libname}${release}${shared_ext}$major'
14342
finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
14343
shlibpath_var=LD_LIBRARY_PATH
14344
shlibpath_overrides_runpath=no
14345
# This implies no fast_install, which is unacceptable.
14346
# Some rework will be needed to allow for fast_install
14347
# before this can be enabled.
14348
hardcode_into_libs=yes
14350
# Append ld.so.conf contents to the search path
14351
if test -f /etc/ld.so.conf; then
14352
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' ' '`
14353
sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra"
14356
# We used to test for /lib/ld.so.1 and disable shared libraries on
14357
# powerpc, because MkLinux only supported shared libraries with the
14358
# GNU dynamic linker. Since this was broken with cross compilers,
14359
# most powerpc-linux boxes support dynamic linking these days and
14360
# people can always --disable-shared, the test was removed, and we
14361
# assume the GNU/Linux dynamic linker is in use.
14362
dynamic_linker='GNU/Linux ld.so'
14369
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
14370
soname_spec='${libname}${release}${shared_ext}$major'
14371
shlibpath_var=LD_LIBRARY_PATH
14372
shlibpath_overrides_runpath=no
14373
hardcode_into_libs=yes
14374
dynamic_linker='NetBSD ld.elf_so'
14381
if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
14382
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
14383
finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
14384
dynamic_linker='NetBSD (a.out) ld.so'
14386
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
14387
soname_spec='${libname}${release}${shared_ext}$major'
14388
dynamic_linker='NetBSD ld.elf_so'
14390
shlibpath_var=LD_LIBRARY_PATH
14391
shlibpath_overrides_runpath=yes
14392
hardcode_into_libs=yes
14397
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14398
shlibpath_var=LD_LIBRARY_PATH
14399
shlibpath_overrides_runpath=yes
14406
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14407
soname_spec='${libname}${release}${shared_ext}$major'
14408
shlibpath_var=LD_LIBRARY_PATH
14409
shlibpath_overrides_runpath=yes
14414
sys_lib_dlsearch_path_spec="/usr/lib"
14416
# Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
14418
openbsd3.3 | openbsd3.3.*) need_version=yes ;;
14419
*) need_version=no ;;
14421
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
14422
finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
14423
shlibpath_var=LD_LIBRARY_PATH
14424
if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
14426
openbsd2.[89] | openbsd2.[89].*)
14427
shlibpath_overrides_runpath=no
14430
shlibpath_overrides_runpath=yes
14434
shlibpath_overrides_runpath=yes
14439
libname_spec='$name'
14442
library_names_spec='$libname${shared_ext} $libname.a'
14443
dynamic_linker='OS/2 ld.exe'
14444
shlibpath_var=LIBPATH
14447
osf3* | osf4* | osf5*)
14451
soname_spec='${libname}${release}${shared_ext}$major'
14452
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14453
shlibpath_var=LD_LIBRARY_PATH
14454
sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
14455
sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec"
14466
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14467
soname_spec='${libname}${release}${shared_ext}$major'
14468
shlibpath_var=LD_LIBRARY_PATH
14469
shlibpath_overrides_runpath=yes
14470
hardcode_into_libs=yes
14471
# ldd complains unless libraries are executable
14472
postinstall_cmds='chmod +x $lib'
14477
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
14478
finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
14479
shlibpath_var=LD_LIBRARY_PATH
14480
shlibpath_overrides_runpath=yes
14481
if test "$with_gnu_ld" = yes; then
14489
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14490
soname_spec='${libname}${release}${shared_ext}$major'
14491
shlibpath_var=LD_LIBRARY_PATH
14492
case $host_vendor in
14494
shlibpath_overrides_runpath=no
14496
export_dynamic_flag_spec='${wl}-Blargedynsym'
14497
runpath_var=LD_RUN_PATH
14505
shlibpath_overrides_runpath=no
14506
sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
14512
if test -d /usr/nec ;then
14514
library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
14515
soname_spec='$libname${shared_ext}.$major'
14516
shlibpath_var=LD_LIBRARY_PATH
14520
sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
14521
version_type=freebsd-elf
14524
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
14525
soname_spec='${libname}${release}${shared_ext}$major'
14526
shlibpath_var=LD_LIBRARY_PATH
14527
hardcode_into_libs=yes
14528
if test "$with_gnu_ld" = yes; then
14529
sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
14530
shlibpath_overrides_runpath=no
14532
sys_lib_search_path_spec='/usr/ccs/lib /usr/lib'
14533
shlibpath_overrides_runpath=yes
14536
sys_lib_search_path_spec="$sys_lib_search_path_spec /lib"
14540
sys_lib_dlsearch_path_spec='/usr/lib'
14545
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14546
soname_spec='${libname}${release}${shared_ext}$major'
14547
shlibpath_var=LD_LIBRARY_PATH
14554
{ echo "$as_me:$LINENO: result: $dynamic_linker" >&5
14555
echo "${ECHO_T}$dynamic_linker" >&6; }
14556
test "$dynamic_linker" = no && can_build_shared=no
14558
variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
14559
if test "$GCC" = yes; then
14560
variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
14563
{ echo "$as_me:$LINENO: checking how to hardcode library paths into programs" >&5
14564
echo $ECHO_N "checking how to hardcode library paths into programs... $ECHO_C" >&6; }
14565
hardcode_action_CXX=
14566
if test -n "$hardcode_libdir_flag_spec_CXX" || \
14567
test -n "$runpath_var_CXX" || \
14568
test "X$hardcode_automatic_CXX" = "Xyes" ; then
14570
# We can hardcode non-existant directories.
14571
if test "$hardcode_direct_CXX" != no &&
14572
# If the only mechanism to avoid hardcoding is shlibpath_var, we
14573
# have to relink, otherwise we might link with an installed library
14574
# when we should be linking with a yet-to-be-installed one
14575
## test "$_LT_AC_TAGVAR(hardcode_shlibpath_var, CXX)" != no &&
14576
test "$hardcode_minus_L_CXX" != no; then
14577
# Linking always hardcodes the temporary library directory.
14578
hardcode_action_CXX=relink
14580
# We can link without hardcoding, and we can hardcode nonexisting dirs.
14581
hardcode_action_CXX=immediate
14584
# We cannot hardcode anything, or else we can only hardcode existing
14586
hardcode_action_CXX=unsupported
14588
{ echo "$as_me:$LINENO: result: $hardcode_action_CXX" >&5
14589
echo "${ECHO_T}$hardcode_action_CXX" >&6; }
14591
if test "$hardcode_action_CXX" = relink; then
14592
# Fast installation is not supported
14593
enable_fast_install=no
14594
elif test "$shlibpath_overrides_runpath" = yes ||
14595
test "$enable_shared" = no; then
14596
# Fast installation is not necessary
14597
enable_fast_install=needless
14601
# The else clause should only fire when bootstrapping the
14602
# libtool distribution, otherwise you forgot to ship ltmain.sh
14603
# with your package, and you will get complaints that there are
14604
# no rules to generate ltmain.sh.
14605
if test -f "$ltmain"; then
14606
# See if we are running on zsh, and set the options which allow our commands through
14607
# without removal of \ escapes.
14608
if test -n "${ZSH_VERSION+set}" ; then
14609
setopt NO_GLOB_SUBST
14611
# Now quote all the things that may contain metacharacters while being
14612
# careful not to overquote the AC_SUBSTed values. We take copies of the
14613
# variables and quote the copies for generation of the libtool script.
14614
for var in echo old_CC old_CFLAGS AR AR_FLAGS EGREP RANLIB LN_S LTCC LTCFLAGS NM \
14616
libname_spec library_names_spec soname_spec extract_expsyms_cmds \
14617
old_striplib striplib file_magic_cmd finish_cmds finish_eval \
14618
deplibs_check_method reload_flag reload_cmds need_locks \
14619
lt_cv_sys_global_symbol_pipe lt_cv_sys_global_symbol_to_cdecl \
14620
lt_cv_sys_global_symbol_to_c_name_address \
14621
sys_lib_search_path_spec sys_lib_dlsearch_path_spec \
14622
old_postinstall_cmds old_postuninstall_cmds \
14626
lt_prog_compiler_wl_CXX \
14627
lt_prog_compiler_pic_CXX \
14628
lt_prog_compiler_static_CXX \
14629
lt_prog_compiler_no_builtin_flag_CXX \
14630
export_dynamic_flag_spec_CXX \
14631
thread_safe_flag_spec_CXX \
14632
whole_archive_flag_spec_CXX \
14633
enable_shared_with_static_runtimes_CXX \
14634
old_archive_cmds_CXX \
14635
old_archive_from_new_cmds_CXX \
14636
predep_objects_CXX \
14637
postdep_objects_CXX \
14640
compiler_lib_search_path_CXX \
14642
archive_expsym_cmds_CXX \
14643
postinstall_cmds_CXX \
14644
postuninstall_cmds_CXX \
14645
old_archive_from_expsyms_cmds_CXX \
14646
allow_undefined_flag_CXX \
14647
no_undefined_flag_CXX \
14648
export_symbols_cmds_CXX \
14649
hardcode_libdir_flag_spec_CXX \
14650
hardcode_libdir_flag_spec_ld_CXX \
14651
hardcode_libdir_separator_CXX \
14652
hardcode_automatic_CXX \
14654
module_expsym_cmds_CXX \
14655
lt_cv_prog_compiler_c_o_CXX \
14656
fix_srcfile_path_CXX \
14657
exclude_expsyms_CXX \
14658
include_expsyms_CXX; do
14661
old_archive_cmds_CXX | \
14662
old_archive_from_new_cmds_CXX | \
14663
archive_cmds_CXX | \
14664
archive_expsym_cmds_CXX | \
14665
module_cmds_CXX | \
14666
module_expsym_cmds_CXX | \
14667
old_archive_from_expsyms_cmds_CXX | \
14668
export_symbols_cmds_CXX | \
14669
extract_expsyms_cmds | reload_cmds | finish_cmds | \
14670
postinstall_cmds | postuninstall_cmds | \
14671
old_postinstall_cmds | old_postuninstall_cmds | \
14672
sys_lib_search_path_spec | sys_lib_dlsearch_path_spec)
14673
# Double-quote double-evaled strings.
14674
eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$double_quote_subst\" -e \"\$sed_quote_subst\" -e \"\$delay_variable_subst\"\`\\\""
14677
eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$sed_quote_subst\"\`\\\""
14683
*'\$0 --fallback-echo"')
14684
lt_echo=`$echo "X$lt_echo" | $Xsed -e 's/\\\\\\\$0 --fallback-echo"$/$0 --fallback-echo"/'`
14690
cat <<__EOF__ >> "$cfgfile"
14691
# ### BEGIN LIBTOOL TAG CONFIG: $tagname
14693
# Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
14695
# Shell to use when invoking shell scripts.
14698
# Whether or not to build shared libraries.
14699
build_libtool_libs=$enable_shared
14701
# Whether or not to build static libraries.
14702
build_old_libs=$enable_static
14704
# Whether or not to add -lc for building shared libraries.
14705
build_libtool_need_lc=$archive_cmds_need_lc_CXX
14707
# Whether or not to disallow shared libs when runtime libs are static
14708
allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes_CXX
14710
# Whether or not to optimize for fast installation.
14711
fast_install=$enable_fast_install
14714
host_alias=$host_alias
14718
# The build system.
14719
build_alias=$build_alias
14723
# An echo program that does not interpret backslashes.
14728
AR_FLAGS=$lt_AR_FLAGS
14733
# LTCC compiler flags.
14734
LTCFLAGS=$lt_LTCFLAGS
14736
# A language-specific compiler.
14737
CC=$lt_compiler_CXX
14739
# Is the compiler the GNU C compiler?
14745
# The linker used to build libraries.
14748
# Whether we need hard or soft links.
14751
# A BSD-compatible nm program.
14754
# A symbol stripping program
14757
# Used to examine libraries when file_magic_cmd begins "file"
14758
MAGIC_CMD=$MAGIC_CMD
14760
# Used on cygwin: DLL creation program.
14763
# Used on cygwin: object dumper.
14766
# Used on cygwin: assembler.
14769
# The name of the directory that contains temporary libtool files.
14772
# How to create reloadable object files.
14773
reload_flag=$lt_reload_flag
14774
reload_cmds=$lt_reload_cmds
14776
# How to pass a linker flag through the compiler.
14777
wl=$lt_lt_prog_compiler_wl_CXX
14779
# Object file suffix (normally "o").
14780
objext="$ac_objext"
14782
# Old archive suffix (normally "a").
14785
# Shared library suffix (normally ".so").
14786
shrext_cmds='$shrext_cmds'
14788
# Executable file suffix (normally "").
14791
# Additional compiler flags for building library objects.
14792
pic_flag=$lt_lt_prog_compiler_pic_CXX
14795
# What is the maximum length of a command?
14796
max_cmd_len=$lt_cv_sys_max_cmd_len
14798
# Does compiler simultaneously support -c and -o options?
14799
compiler_c_o=$lt_lt_cv_prog_compiler_c_o_CXX
14801
# Must we lock files when doing compilation?
14802
need_locks=$lt_need_locks
14804
# Do we need the lib prefix for modules?
14805
need_lib_prefix=$need_lib_prefix
14807
# Do we need a version for libraries?
14808
need_version=$need_version
14810
# Whether dlopen is supported.
14811
dlopen_support=$enable_dlopen
14813
# Whether dlopen of programs is supported.
14814
dlopen_self=$enable_dlopen_self
14816
# Whether dlopen of statically linked programs is supported.
14817
dlopen_self_static=$enable_dlopen_self_static
14819
# Compiler flag to prevent dynamic linking.
14820
link_static_flag=$lt_lt_prog_compiler_static_CXX
14822
# Compiler flag to turn off builtin functions.
14823
no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag_CXX
14825
# Compiler flag to allow reflexive dlopens.
14826
export_dynamic_flag_spec=$lt_export_dynamic_flag_spec_CXX
14828
# Compiler flag to generate shared objects directly from archives.
14829
whole_archive_flag_spec=$lt_whole_archive_flag_spec_CXX
14831
# Compiler flag to generate thread-safe objects.
14832
thread_safe_flag_spec=$lt_thread_safe_flag_spec_CXX
14834
# Library versioning type.
14835
version_type=$version_type
14837
# Format of library name prefix.
14838
libname_spec=$lt_libname_spec
14840
# List of archive names. First name is the real one, the rest are links.
14841
# The last name is the one that the linker finds with -lNAME.
14842
library_names_spec=$lt_library_names_spec
14844
# The coded name of the library, if different from the real name.
14845
soname_spec=$lt_soname_spec
14847
# Commands used to build and install an old-style archive.
14849
old_archive_cmds=$lt_old_archive_cmds_CXX
14850
old_postinstall_cmds=$lt_old_postinstall_cmds
14851
old_postuninstall_cmds=$lt_old_postuninstall_cmds
14853
# Create an old-style archive from a shared archive.
14854
old_archive_from_new_cmds=$lt_old_archive_from_new_cmds_CXX
14856
# Create a temporary old-style archive to link instead of a shared archive.
14857
old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds_CXX
14859
# Commands used to build and install a shared archive.
14860
archive_cmds=$lt_archive_cmds_CXX
14861
archive_expsym_cmds=$lt_archive_expsym_cmds_CXX
14862
postinstall_cmds=$lt_postinstall_cmds
14863
postuninstall_cmds=$lt_postuninstall_cmds
14865
# Commands used to build a loadable module (assumed same as above if empty)
14866
module_cmds=$lt_module_cmds_CXX
14867
module_expsym_cmds=$lt_module_expsym_cmds_CXX
14869
# Commands to strip libraries.
14870
old_striplib=$lt_old_striplib
14871
striplib=$lt_striplib
14873
# Dependencies to place before the objects being linked to create a
14875
predep_objects=$lt_predep_objects_CXX
14877
# Dependencies to place after the objects being linked to create a
14879
postdep_objects=$lt_postdep_objects_CXX
14881
# Dependencies to place before the objects being linked to create a
14883
predeps=$lt_predeps_CXX
14885
# Dependencies to place after the objects being linked to create a
14887
postdeps=$lt_postdeps_CXX
14889
# The library search path used internally by the compiler when linking
14890
# a shared library.
14891
compiler_lib_search_path=$lt_compiler_lib_search_path_CXX
14893
# Method to check whether dependent libraries are shared objects.
14894
deplibs_check_method=$lt_deplibs_check_method
14896
# Command to use when deplibs_check_method == file_magic.
14897
file_magic_cmd=$lt_file_magic_cmd
14899
# Flag that allows shared libraries with undefined symbols to be built.
14900
allow_undefined_flag=$lt_allow_undefined_flag_CXX
14902
# Flag that forces no undefined symbols.
14903
no_undefined_flag=$lt_no_undefined_flag_CXX
14905
# Commands used to finish a libtool library installation in a directory.
14906
finish_cmds=$lt_finish_cmds
14908
# Same as above, but a single script fragment to be evaled but not shown.
14909
finish_eval=$lt_finish_eval
14911
# Take the output of nm and produce a listing of raw symbols and C names.
14912
global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
14914
# Transform the output of nm in a proper C declaration
14915
global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
14917
# Transform the output of nm in a C name address pair
14918
global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
14920
# This is the shared library runtime path variable.
14921
runpath_var=$runpath_var
14923
# This is the shared library path variable.
14924
shlibpath_var=$shlibpath_var
14926
# Is shlibpath searched before the hard-coded library search path?
14927
shlibpath_overrides_runpath=$shlibpath_overrides_runpath
14929
# How to hardcode a shared library path into an executable.
14930
hardcode_action=$hardcode_action_CXX
14932
# Whether we should hardcode library paths into libraries.
14933
hardcode_into_libs=$hardcode_into_libs
14935
# Flag to hardcode \$libdir into a binary during linking.
14936
# This must work even if \$libdir does not exist.
14937
hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec_CXX
14939
# If ld is used when linking, flag to hardcode \$libdir into
14940
# a binary during linking. This must work even if \$libdir does
14942
hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld_CXX
14944
# Whether we need a single -rpath flag with a separated argument.
14945
hardcode_libdir_separator=$lt_hardcode_libdir_separator_CXX
14947
# Set to yes if using DIR/libNAME${shared_ext} during linking hardcodes DIR into the
14948
# resulting binary.
14949
hardcode_direct=$hardcode_direct_CXX
14951
# Set to yes if using the -LDIR flag during linking hardcodes DIR into the
14952
# resulting binary.
14953
hardcode_minus_L=$hardcode_minus_L_CXX
14955
# Set to yes if using SHLIBPATH_VAR=DIR during linking hardcodes DIR into
14956
# the resulting binary.
14957
hardcode_shlibpath_var=$hardcode_shlibpath_var_CXX
14959
# Set to yes if building a shared library automatically hardcodes DIR into the library
14960
# and all subsequent libraries and executables linked against it.
14961
hardcode_automatic=$hardcode_automatic_CXX
14963
# Variables whose values should be saved in libtool wrapper scripts and
14964
# restored at relink time.
14965
variables_saved_for_relink="$variables_saved_for_relink"
14967
# Whether libtool must link a program against all its dependency libraries.
14968
link_all_deplibs=$link_all_deplibs_CXX
14970
# Compile-time system search path for libraries
14971
sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
14973
# Run-time system search path for libraries
14974
sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
14976
# Fix the shell variable \$srcfile for the compiler.
14977
fix_srcfile_path=$lt_fix_srcfile_path
14979
# Set to yes if exported symbols are required.
14980
always_export_symbols=$always_export_symbols_CXX
14982
# The commands to list exported symbols.
14983
export_symbols_cmds=$lt_export_symbols_cmds_CXX
14985
# The commands to extract the exported symbol list from a shared archive.
14986
extract_expsyms_cmds=$lt_extract_expsyms_cmds
14988
# Symbols that should not be listed in the preloaded symbols.
14989
exclude_expsyms=$lt_exclude_expsyms_CXX
14991
# Symbols that must always be exported.
14992
include_expsyms=$lt_include_expsyms_CXX
14994
# ### END LIBTOOL TAG CONFIG: $tagname
15000
# If there is no Makefile yet, we rely on a make rule to execute
15001
# `config.status --recheck' to rerun these tests and create the
15002
# libtool script then.
15003
ltmain_in=`echo $ltmain | sed -e 's/\.sh$/.in/'`
15004
if test -f "$ltmain_in"; then
15005
test -f Makefile && make "$ltmain"
15011
ac_cpp='$CPP $CPPFLAGS'
15012
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15013
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15014
ac_compiler_gnu=$ac_cv_c_compiler_gnu
15020
with_gnu_ldcxx=$with_gnu_ld
15021
with_gnu_ld=$lt_save_with_gnu_ld
15022
lt_cv_path_LDCXX=$lt_cv_path_LD
15023
lt_cv_path_LD=$lt_save_path_LD
15024
lt_cv_prog_gnu_ldcxx=$lt_cv_prog_gnu_ld
15025
lt_cv_prog_gnu_ld=$lt_save_with_gnu_ld
15033
if test -n "$F77" && test "X$F77" != "Xno"; then
15036
ac_compile='$F77 -c $FFLAGS conftest.$ac_ext >&5'
15037
ac_link='$F77 -o conftest$ac_exeext $FFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15038
ac_compiler_gnu=$ac_cv_f77_compiler_gnu
15041
archive_cmds_need_lc_F77=no
15042
allow_undefined_flag_F77=
15043
always_export_symbols_F77=no
15044
archive_expsym_cmds_F77=
15045
export_dynamic_flag_spec_F77=
15046
hardcode_direct_F77=no
15047
hardcode_libdir_flag_spec_F77=
15048
hardcode_libdir_flag_spec_ld_F77=
15049
hardcode_libdir_separator_F77=
15050
hardcode_minus_L_F77=no
15051
hardcode_automatic_F77=no
15053
module_expsym_cmds_F77=
15054
link_all_deplibs_F77=unknown
15055
old_archive_cmds_F77=$old_archive_cmds
15056
no_undefined_flag_F77=
15057
whole_archive_flag_spec_F77=
15058
enable_shared_with_static_runtimes_F77=no
15060
# Source file extension for f77 test sources.
15063
# Object file extension for compiled f77 test sources.
15067
# Code to be used in simple compile tests
15068
lt_simple_compile_test_code="\
15074
# Code to be used in simple link tests
15075
lt_simple_link_test_code="\
15080
# ltmain only uses $CC for tagged configurations so make sure $CC is set.
15082
# If no C compiler was specified, use CC.
15085
# If no C compiler flags were specified, use CFLAGS.
15086
LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
15088
# Allow CC to be a program name with arguments.
15092
# save warnings/boilerplate of simple test code
15093
ac_outfile=conftest.$ac_objext
15094
echo "$lt_simple_compile_test_code" >conftest.$ac_ext
15095
eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
15096
_lt_compiler_boilerplate=`cat conftest.err`
15099
ac_outfile=conftest.$ac_objext
15100
echo "$lt_simple_link_test_code" >conftest.$ac_ext
15101
eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
15102
_lt_linker_boilerplate=`cat conftest.err`
15106
# Allow CC to be a program name with arguments.
15111
for cc_temp in $compiler""; do
15113
compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
15114
distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
15119
cc_basename=`$echo "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
15122
{ echo "$as_me:$LINENO: checking if libtool supports shared libraries" >&5
15123
echo $ECHO_N "checking if libtool supports shared libraries... $ECHO_C" >&6; }
15124
{ echo "$as_me:$LINENO: result: $can_build_shared" >&5
15125
echo "${ECHO_T}$can_build_shared" >&6; }
15127
{ echo "$as_me:$LINENO: checking whether to build shared libraries" >&5
15128
echo $ECHO_N "checking whether to build shared libraries... $ECHO_C" >&6; }
15129
test "$can_build_shared" = "no" && enable_shared=no
15131
# On AIX, shared libraries and static libraries use the same namespace, and
15132
# are all built from PIC.
15135
test "$enable_shared" = yes && enable_static=no
15136
if test -n "$RANLIB"; then
15137
archive_cmds="$archive_cmds~\$RANLIB \$lib"
15138
postinstall_cmds='$RANLIB $lib'
15142
if test "$host_cpu" != ia64 && test "$aix_use_runtimelinking" = no ; then
15143
test "$enable_shared" = yes && enable_static=no
15147
{ echo "$as_me:$LINENO: result: $enable_shared" >&5
15148
echo "${ECHO_T}$enable_shared" >&6; }
15150
{ echo "$as_me:$LINENO: checking whether to build static libraries" >&5
15151
echo $ECHO_N "checking whether to build static libraries... $ECHO_C" >&6; }
15152
# Make sure either enable_shared or enable_static is yes.
15153
test "$enable_shared" = yes || enable_static=yes
15154
{ echo "$as_me:$LINENO: result: $enable_static" >&5
15155
echo "${ECHO_T}$enable_static" >&6; }
15160
lt_prog_compiler_wl_F77=
15161
lt_prog_compiler_pic_F77=
15162
lt_prog_compiler_static_F77=
15164
{ echo "$as_me:$LINENO: checking for $compiler option to produce PIC" >&5
15165
echo $ECHO_N "checking for $compiler option to produce PIC... $ECHO_C" >&6; }
15167
if test "$GCC" = yes; then
15168
lt_prog_compiler_wl_F77='-Wl,'
15169
lt_prog_compiler_static_F77='-static'
15173
# All AIX code is PIC.
15174
if test "$host_cpu" = ia64; then
15175
# AIX 5 now supports IA64 processor
15176
lt_prog_compiler_static_F77='-Bstatic'
15181
# FIXME: we need at least 68020 code to build shared libraries, but
15182
# adding the `-m68020' flag to GCC prevents building anything better,
15184
lt_prog_compiler_pic_F77='-m68020 -resident32 -malways-restore-a4'
15187
beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
15188
# PIC is the default for these OSes.
15191
mingw* | cygwin* | pw32* | os2*)
15192
# This hack is so that the source file can tell whether it is being
15193
# built for inclusion in a dll (and should export symbols for example).
15194
# Although the cygwin gcc ignores -fPIC, still need this for old-style
15195
# (--disable-auto-import) libraries
15196
lt_prog_compiler_pic_F77='-DDLL_EXPORT'
15199
darwin* | rhapsody*)
15200
# PIC is the default on this platform
15201
# Common symbols not allowed in MH_DYLIB files
15202
lt_prog_compiler_pic_F77='-fno-common'
15206
# Interix 3.x gcc -fpic/-fPIC options generate broken code.
15207
# Instead, we relocate shared libraries at runtime.
15211
# Just because we use GCC doesn't mean we suddenly get shared libraries
15212
# on systems that don't support them.
15213
lt_prog_compiler_can_build_shared_F77=no
15218
if test -d /usr/nec; then
15219
lt_prog_compiler_pic_F77=-Kconform_pic
15224
# PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
15225
# not for PA HP-UX.
15231
lt_prog_compiler_pic_F77='-fPIC'
15237
lt_prog_compiler_pic_F77='-fPIC'
15241
# PORTME Check for flag to pass linker flags through the system compiler.
15244
lt_prog_compiler_wl_F77='-Wl,'
15245
if test "$host_cpu" = ia64; then
15246
# AIX 5 now supports IA64 processor
15247
lt_prog_compiler_static_F77='-Bstatic'
15249
lt_prog_compiler_static_F77='-bnso -bI:/lib/syscalls.exp'
15253
# PIC is the default on this platform
15254
# Common symbols not allowed in MH_DYLIB files
15255
case $cc_basename in
15257
lt_prog_compiler_pic_F77='-qnocommon'
15258
lt_prog_compiler_wl_F77='-Wl,'
15263
mingw* | cygwin* | pw32* | os2*)
15264
# This hack is so that the source file can tell whether it is being
15265
# built for inclusion in a dll (and should export symbols for example).
15266
lt_prog_compiler_pic_F77='-DDLL_EXPORT'
15269
hpux9* | hpux10* | hpux11*)
15270
lt_prog_compiler_wl_F77='-Wl,'
15271
# PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
15272
# not for PA HP-UX.
15278
lt_prog_compiler_pic_F77='+Z'
15281
# Is there a better lt_prog_compiler_static that works with the bundled CC?
15282
lt_prog_compiler_static_F77='${wl}-a ${wl}archive'
15285
irix5* | irix6* | nonstopux*)
15286
lt_prog_compiler_wl_F77='-Wl,'
15287
# PIC (with -KPIC) is the default.
15288
lt_prog_compiler_static_F77='-non_shared'
15292
lt_prog_compiler_pic_F77='-KPIC'
15293
lt_prog_compiler_static_F77='-Bstatic'
15296
linux* | k*bsd*-gnu)
15297
case $cc_basename in
15299
lt_prog_compiler_wl_F77='-Wl,'
15300
lt_prog_compiler_pic_F77='-KPIC'
15301
lt_prog_compiler_static_F77='-static'
15303
pgcc* | pgf77* | pgf90* | pgf95*)
15304
# Portland Group compilers (*not* the Pentium gcc compiler,
15305
# which looks to be a dead project)
15306
lt_prog_compiler_wl_F77='-Wl,'
15307
lt_prog_compiler_pic_F77='-fpic'
15308
lt_prog_compiler_static_F77='-Bstatic'
15311
lt_prog_compiler_wl_F77='-Wl,'
15312
# All Alpha code is PIC.
15313
lt_prog_compiler_static_F77='-non_shared'
15316
case `$CC -V 2>&1 | sed 5q` in
15319
lt_prog_compiler_pic_F77='-KPIC'
15320
lt_prog_compiler_static_F77='-Bstatic'
15321
lt_prog_compiler_wl_F77='-Wl,'
15324
# Sun Fortran 8.3 passes all unrecognized flags to the linker
15325
lt_prog_compiler_pic_F77='-KPIC'
15326
lt_prog_compiler_static_F77='-Bstatic'
15327
lt_prog_compiler_wl_F77=''
15334
osf3* | osf4* | osf5*)
15335
lt_prog_compiler_wl_F77='-Wl,'
15336
# All OSF/1 code is PIC.
15337
lt_prog_compiler_static_F77='-non_shared'
15341
lt_prog_compiler_static_F77='-non_shared'
15345
lt_prog_compiler_pic_F77='-KPIC'
15346
lt_prog_compiler_static_F77='-Bstatic'
15347
case $cc_basename in
15348
f77* | f90* | f95*)
15349
lt_prog_compiler_wl_F77='-Qoption ld ';;
15351
lt_prog_compiler_wl_F77='-Wl,';;
15356
lt_prog_compiler_wl_F77='-Qoption ld '
15357
lt_prog_compiler_pic_F77='-PIC'
15358
lt_prog_compiler_static_F77='-Bstatic'
15361
sysv4 | sysv4.2uw2* | sysv4.3*)
15362
lt_prog_compiler_wl_F77='-Wl,'
15363
lt_prog_compiler_pic_F77='-KPIC'
15364
lt_prog_compiler_static_F77='-Bstatic'
15368
if test -d /usr/nec ;then
15369
lt_prog_compiler_pic_F77='-Kconform_pic'
15370
lt_prog_compiler_static_F77='-Bstatic'
15374
sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
15375
lt_prog_compiler_wl_F77='-Wl,'
15376
lt_prog_compiler_pic_F77='-KPIC'
15377
lt_prog_compiler_static_F77='-Bstatic'
15381
lt_prog_compiler_wl_F77='-Wl,'
15382
lt_prog_compiler_can_build_shared_F77=no
15386
lt_prog_compiler_pic_F77='-pic'
15387
lt_prog_compiler_static_F77='-Bstatic'
15391
lt_prog_compiler_can_build_shared_F77=no
15396
{ echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_F77" >&5
15397
echo "${ECHO_T}$lt_prog_compiler_pic_F77" >&6; }
15400
# Check to make sure the PIC flag actually works.
15402
if test -n "$lt_prog_compiler_pic_F77"; then
15404
{ echo "$as_me:$LINENO: checking if $compiler PIC flag $lt_prog_compiler_pic_F77 works" >&5
15405
echo $ECHO_N "checking if $compiler PIC flag $lt_prog_compiler_pic_F77 works... $ECHO_C" >&6; }
15406
if test "${lt_prog_compiler_pic_works_F77+set}" = set; then
15407
echo $ECHO_N "(cached) $ECHO_C" >&6
15409
lt_prog_compiler_pic_works_F77=no
15410
ac_outfile=conftest.$ac_objext
15411
echo "$lt_simple_compile_test_code" > conftest.$ac_ext
15412
lt_compiler_flag="$lt_prog_compiler_pic_F77"
15413
# Insert the option either (1) after the last *FLAGS variable, or
15414
# (2) before a word containing "conftest.", or (3) at the end.
15415
# Note that $ac_compile itself does not contain backslashes and begins
15416
# with a dollar sign (not a hyphen), so the echo should work correctly.
15417
# The option is referenced via a variable to avoid confusing sed.
15418
lt_compile=`echo "$ac_compile" | $SED \
15419
-e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
15420
-e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
15421
-e 's:$: $lt_compiler_flag:'`
15422
(eval echo "\"\$as_me:__oline__: $lt_compile\"" >&5)
15423
(eval "$lt_compile" 2>conftest.err)
15425
cat conftest.err >&5
15426
echo "$as_me:__oline__: \$? = $ac_status" >&5
15427
if (exit $ac_status) && test -s "$ac_outfile"; then
15428
# The compiler can only warn and ignore the option if not recognized
15429
# So say no if there are warnings other than the usual output.
15430
$echo "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' >conftest.exp
15431
$SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
15432
if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
15433
lt_prog_compiler_pic_works_F77=yes
15439
{ echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_works_F77" >&5
15440
echo "${ECHO_T}$lt_prog_compiler_pic_works_F77" >&6; }
15442
if test x"$lt_prog_compiler_pic_works_F77" = xyes; then
15443
case $lt_prog_compiler_pic_F77 in
15445
*) lt_prog_compiler_pic_F77=" $lt_prog_compiler_pic_F77" ;;
15448
lt_prog_compiler_pic_F77=
15449
lt_prog_compiler_can_build_shared_F77=no
15454
# For platforms which do not support PIC, -DPIC is meaningless:
15456
lt_prog_compiler_pic_F77=
15459
lt_prog_compiler_pic_F77="$lt_prog_compiler_pic_F77"
15464
# Check to make sure the static flag actually works.
15466
wl=$lt_prog_compiler_wl_F77 eval lt_tmp_static_flag=\"$lt_prog_compiler_static_F77\"
15467
{ echo "$as_me:$LINENO: checking if $compiler static flag $lt_tmp_static_flag works" >&5
15468
echo $ECHO_N "checking if $compiler static flag $lt_tmp_static_flag works... $ECHO_C" >&6; }
15469
if test "${lt_prog_compiler_static_works_F77+set}" = set; then
15470
echo $ECHO_N "(cached) $ECHO_C" >&6
15472
lt_prog_compiler_static_works_F77=no
15473
save_LDFLAGS="$LDFLAGS"
15474
LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
15475
echo "$lt_simple_link_test_code" > conftest.$ac_ext
15476
if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
15477
# The linker can only warn and ignore the option if not recognized
15478
# So say no if there are warnings
15479
if test -s conftest.err; then
15480
# Append any errors to the config.log.
15481
cat conftest.err 1>&5
15482
$echo "X$_lt_linker_boilerplate" | $Xsed -e '/^$/d' > conftest.exp
15483
$SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
15484
if diff conftest.exp conftest.er2 >/dev/null; then
15485
lt_prog_compiler_static_works_F77=yes
15488
lt_prog_compiler_static_works_F77=yes
15492
LDFLAGS="$save_LDFLAGS"
15495
{ echo "$as_me:$LINENO: result: $lt_prog_compiler_static_works_F77" >&5
15496
echo "${ECHO_T}$lt_prog_compiler_static_works_F77" >&6; }
15498
if test x"$lt_prog_compiler_static_works_F77" = xyes; then
15501
lt_prog_compiler_static_F77=
15505
{ echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5
15506
echo $ECHO_N "checking if $compiler supports -c -o file.$ac_objext... $ECHO_C" >&6; }
15507
if test "${lt_cv_prog_compiler_c_o_F77+set}" = set; then
15508
echo $ECHO_N "(cached) $ECHO_C" >&6
15510
lt_cv_prog_compiler_c_o_F77=no
15511
$rm -r conftest 2>/dev/null
15515
echo "$lt_simple_compile_test_code" > conftest.$ac_ext
15517
lt_compiler_flag="-o out/conftest2.$ac_objext"
15518
# Insert the option either (1) after the last *FLAGS variable, or
15519
# (2) before a word containing "conftest.", or (3) at the end.
15520
# Note that $ac_compile itself does not contain backslashes and begins
15521
# with a dollar sign (not a hyphen), so the echo should work correctly.
15522
lt_compile=`echo "$ac_compile" | $SED \
15523
-e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
15524
-e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
15525
-e 's:$: $lt_compiler_flag:'`
15526
(eval echo "\"\$as_me:__oline__: $lt_compile\"" >&5)
15527
(eval "$lt_compile" 2>out/conftest.err)
15529
cat out/conftest.err >&5
15530
echo "$as_me:__oline__: \$? = $ac_status" >&5
15531
if (exit $ac_status) && test -s out/conftest2.$ac_objext
15533
# The compiler can only warn and ignore the option if not recognized
15534
# So say no if there are warnings
15535
$echo "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' > out/conftest.exp
15536
$SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
15537
if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
15538
lt_cv_prog_compiler_c_o_F77=yes
15543
# SGI C++ compiler will create directory out/ii_files/ for
15544
# template instantiation
15545
test -d out/ii_files && $rm out/ii_files/* && rmdir out/ii_files
15546
$rm out/* && rmdir out
15552
{ echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_c_o_F77" >&5
15553
echo "${ECHO_T}$lt_cv_prog_compiler_c_o_F77" >&6; }
15556
hard_links="nottested"
15557
if test "$lt_cv_prog_compiler_c_o_F77" = no && test "$need_locks" != no; then
15558
# do not overwrite the value of need_locks provided by the user
15559
{ echo "$as_me:$LINENO: checking if we can lock with hard links" >&5
15560
echo $ECHO_N "checking if we can lock with hard links... $ECHO_C" >&6; }
15563
ln conftest.a conftest.b 2>/dev/null && hard_links=no
15565
ln conftest.a conftest.b 2>&5 || hard_links=no
15566
ln conftest.a conftest.b 2>/dev/null && hard_links=no
15567
{ echo "$as_me:$LINENO: result: $hard_links" >&5
15568
echo "${ECHO_T}$hard_links" >&6; }
15569
if test "$hard_links" = no; then
15570
{ echo "$as_me:$LINENO: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
15571
echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
15578
{ echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5
15579
echo $ECHO_N "checking whether the $compiler linker ($LD) supports shared libraries... $ECHO_C" >&6; }
15582
allow_undefined_flag_F77=
15583
enable_shared_with_static_runtimes_F77=no
15585
archive_expsym_cmds_F77=
15586
old_archive_From_new_cmds_F77=
15587
old_archive_from_expsyms_cmds_F77=
15588
export_dynamic_flag_spec_F77=
15589
whole_archive_flag_spec_F77=
15590
thread_safe_flag_spec_F77=
15591
hardcode_libdir_flag_spec_F77=
15592
hardcode_libdir_flag_spec_ld_F77=
15593
hardcode_libdir_separator_F77=
15594
hardcode_direct_F77=no
15595
hardcode_minus_L_F77=no
15596
hardcode_shlibpath_var_F77=unsupported
15597
link_all_deplibs_F77=unknown
15598
hardcode_automatic_F77=no
15600
module_expsym_cmds_F77=
15601
always_export_symbols_F77=no
15602
export_symbols_cmds_F77='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
15603
# include_expsyms should be a list of space-separated symbols to be *always*
15604
# included in the symbol list
15605
include_expsyms_F77=
15606
# exclude_expsyms can be an extended regexp of symbols to exclude
15607
# it will be wrapped by ` (' and `)$', so one must not match beginning or
15608
# end of line. Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
15609
# as well as any symbol that contains `d'.
15610
exclude_expsyms_F77="_GLOBAL_OFFSET_TABLE_"
15611
# Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
15612
# platforms (ab)use it in PIC code, but their linkers get confused if
15613
# the symbol is explicitly referenced. Since portable code cannot
15614
# rely on this symbol name, it's probably fine to never include it in
15615
# preloaded symbol tables.
15616
extract_expsyms_cmds=
15617
# Just being paranoid about ensuring that cc_basename is set.
15618
for cc_temp in $compiler""; do
15620
compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
15621
distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
15626
cc_basename=`$echo "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
15629
cygwin* | mingw* | pw32*)
15630
# FIXME: the MSVC++ port hasn't been tested in a loooong time
15631
# When not using gcc, we currently assume that we are using
15632
# Microsoft Visual C++.
15633
if test "$GCC" != yes; then
15638
# we just hope/assume this is gcc and not c89 (= MSVC++)
15647
if test "$with_gnu_ld" = yes; then
15648
# If archive_cmds runs LD, not CC, wlarc should be empty
15651
# Set some defaults for GNU ld with shared library support. These
15652
# are reset later if shared libraries are not supported. Putting them
15653
# here allows them to be overridden if necessary.
15654
runpath_var=LD_RUN_PATH
15655
hardcode_libdir_flag_spec_F77='${wl}--rpath ${wl}$libdir'
15656
export_dynamic_flag_spec_F77='${wl}--export-dynamic'
15657
# ancient GNU ld didn't support --whole-archive et. al.
15658
if $LD --help 2>&1 | grep 'no-whole-archive' > /dev/null; then
15659
whole_archive_flag_spec_F77="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
15661
whole_archive_flag_spec_F77=
15663
supports_anon_versioning=no
15664
case `$LD -v 2>/dev/null` in
15665
*\ [01].* | *\ 2.[0-9].* | *\ 2.10.*) ;; # catch versions < 2.11
15666
*\ 2.11.93.0.2\ *) supports_anon_versioning=yes ;; # RH7.3 ...
15667
*\ 2.11.92.0.12\ *) supports_anon_versioning=yes ;; # Mandrake 8.2 ...
15668
*\ 2.11.*) ;; # other 2.11 versions
15669
*) supports_anon_versioning=yes ;;
15672
# See if GNU ld supports shared libraries.
15674
aix3* | aix4* | aix5*)
15675
# On AIX/PPC, the GNU linker is very broken
15676
if test "$host_cpu" != ia64; then
15680
*** Warning: the GNU linker, at least up to release 2.9.1, is reported
15681
*** to be unable to reliably create shared libraries on AIX.
15682
*** Therefore, libtool is disabling shared libraries support. If you
15683
*** really care for shared libraries, you may want to modify your PATH
15684
*** so that a non-GNU linker is found, and then restart.
15691
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)'
15692
hardcode_libdir_flag_spec_F77='-L$libdir'
15693
hardcode_minus_L_F77=yes
15695
# Samuel A. Falvo II <kc5tja@dolphin.openprojects.net> reports
15696
# that the semantics of dynamic libraries on AmigaOS, at least up
15697
# to version 4, is to share data among multiple programs linked
15698
# with the same dynamic library. Since this doesn't match the
15699
# behavior of shared libraries on other platforms, we can't use
15705
if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
15706
allow_undefined_flag_F77=unsupported
15707
# Joseph Beckenbach <jrb3@best.com> says some releases of gcc
15708
# support --undefined. This deserves some investigation. FIXME
15709
archive_cmds_F77='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
15715
cygwin* | mingw* | pw32*)
15716
# _LT_AC_TAGVAR(hardcode_libdir_flag_spec, F77) is actually meaningless,
15717
# as there is no search path for DLLs.
15718
hardcode_libdir_flag_spec_F77='-L$libdir'
15719
allow_undefined_flag_F77=unsupported
15720
always_export_symbols_F77=no
15721
enable_shared_with_static_runtimes_F77=yes
15722
export_symbols_cmds_F77='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1 DATA/'\'' -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols'
15724
if $LD --help 2>&1 | grep 'auto-import' > /dev/null; then
15725
archive_cmds_F77='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
15726
# If the export-symbols file already is a .def file (1st line
15727
# is EXPORTS), use it as is; otherwise, prepend...
15728
archive_expsym_cmds_F77='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
15729
cp $export_symbols $output_objdir/$soname.def;
15731
echo EXPORTS > $output_objdir/$soname.def;
15732
cat $export_symbols >> $output_objdir/$soname.def;
15734
$CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
15741
hardcode_direct_F77=no
15742
hardcode_shlibpath_var_F77=no
15743
hardcode_libdir_flag_spec_F77='${wl}-rpath,$libdir'
15744
export_dynamic_flag_spec_F77='${wl}-E'
15745
# Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
15746
# Instead, shared libraries are loaded at an image base (0x10000000 by
15747
# default) and relocated if they conflict, which is a slow very memory
15748
# consuming and fragmenting process. To avoid this, we pick a random,
15749
# 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
15750
# time. Moving up from 0x10000000 also allows more sbrk(2) space.
15751
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'
15752
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'
15755
gnu* | linux* | k*bsd*-gnu)
15756
if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
15758
case $cc_basename,$host_cpu in
15759
pgcc*) # Portland Group C compiler
15760
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'
15761
tmp_addflag=' $pic_flag'
15763
pgf77* | pgf90* | pgf95*) # Portland Group f77 and f90 compilers
15764
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'
15765
tmp_addflag=' $pic_flag -Mnomain' ;;
15766
ecc*,ia64* | icc*,ia64*) # Intel C compiler on ia64
15767
tmp_addflag=' -i_dynamic' ;;
15768
efc*,ia64* | ifort*,ia64*) # Intel Fortran compiler on ia64
15769
tmp_addflag=' -i_dynamic -nofor_main' ;;
15770
ifc* | ifort*) # Intel Fortran compiler
15771
tmp_addflag=' -nofor_main' ;;
15773
case `$CC -V 2>&1 | sed 5q` in
15774
*Sun\ C*) # Sun C 5.9
15775
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'
15776
tmp_sharedflag='-G' ;;
15777
*Sun\ F*) # Sun Fortran 8.3
15778
tmp_sharedflag='-G' ;;
15780
tmp_sharedflag='-shared' ;;
15782
archive_cmds_F77='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
15784
if test $supports_anon_versioning = yes; then
15785
archive_expsym_cmds_F77='$echo "{ global:" > $output_objdir/$libname.ver~
15786
cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
15787
$echo "local: *; };" >> $output_objdir/$libname.ver~
15788
$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
15790
link_all_deplibs_F77=no
15796
netbsd* | netbsdelf*-gnu)
15797
if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
15798
archive_cmds_F77='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
15801
archive_cmds_F77='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
15802
archive_expsym_cmds_F77='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
15807
if $LD -v 2>&1 | grep 'BFD 2\.8' > /dev/null; then
15811
*** Warning: The releases 2.8.* of the GNU linker cannot reliably
15812
*** create shared libraries on Solaris systems. Therefore, libtool
15813
*** is disabling shared libraries support. We urge you to upgrade GNU
15814
*** binutils to release 2.9.1 or newer. Another option is to modify
15815
*** your PATH or compiler configuration so that the native linker is
15816
*** used, and then restart.
15819
elif $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
15820
archive_cmds_F77='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
15821
archive_expsym_cmds_F77='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
15827
sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX*)
15828
case `$LD -v 2>&1` in
15829
*\ [01].* | *\ 2.[0-9].* | *\ 2.1[0-5].*)
15833
*** Warning: Releases of the GNU linker prior to 2.16.91.0.3 can not
15834
*** reliably create shared libraries on SCO systems. Therefore, libtool
15835
*** is disabling shared libraries support. We urge you to upgrade GNU
15836
*** binutils to release 2.16.91.0.3 or newer. Another option is to modify
15837
*** your PATH or compiler configuration so that the native linker is
15838
*** used, and then restart.
15843
if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
15844
hardcode_libdir_flag_spec_F77='`test -z "$SCOABSPATH" && echo ${wl}-rpath,$libdir`'
15845
archive_cmds_F77='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib'
15846
archive_expsym_cmds_F77='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname,\${SCOABSPATH:+${install_libdir}/}$soname,-retain-symbols-file,$export_symbols -o $lib'
15855
archive_cmds_F77='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
15857
hardcode_direct_F77=yes
15858
hardcode_shlibpath_var_F77=no
15862
if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
15863
archive_cmds_F77='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
15864
archive_expsym_cmds_F77='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
15871
if test "$ld_shlibs_F77" = no; then
15873
hardcode_libdir_flag_spec_F77=
15874
export_dynamic_flag_spec_F77=
15875
whole_archive_flag_spec_F77=
15878
# PORTME fill in a description of your system's linker (not GNU ld)
15881
allow_undefined_flag_F77=unsupported
15882
always_export_symbols_F77=yes
15883
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'
15884
# Note: this linker hardcodes the directories in LIBPATH if there
15885
# are no directories specified by -L.
15886
hardcode_minus_L_F77=yes
15887
if test "$GCC" = yes && test -z "$lt_prog_compiler_static"; then
15888
# Neither direct hardcoding nor static linking is supported with a
15890
hardcode_direct_F77=unsupported
15895
if test "$host_cpu" = ia64; then
15896
# On IA64, the linker does run time linking by default, so we don't
15897
# have to do anything special.
15898
aix_use_runtimelinking=no
15899
exp_sym_flag='-Bexport'
15902
# If we're using GNU nm, then we don't want the "-C" option.
15903
# -C means demangle to AIX nm, but means don't demangle with GNU nm
15904
if $NM -V 2>&1 | grep 'GNU' > /dev/null; then
15905
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'
15907
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'
15909
aix_use_runtimelinking=no
15911
# Test if we are trying to use run time linking or normal
15912
# AIX style linking. If -brtl is somewhere in LDFLAGS, we
15913
# need to do runtime linking.
15914
case $host_os in aix4.[23]|aix4.[23].*|aix5*)
15915
for ld_flag in $LDFLAGS; do
15916
if (test $ld_flag = "-brtl" || test $ld_flag = "-Wl,-brtl"); then
15917
aix_use_runtimelinking=yes
15924
exp_sym_flag='-bexport'
15925
no_entry_flag='-bnoentry'
15928
# When large executables or shared objects are built, AIX ld can
15929
# have problems creating the table of contents. If linking a library
15930
# or program results in "error TOC overflow" add -mminimal-toc to
15931
# CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
15932
# enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
15934
archive_cmds_F77=''
15935
hardcode_direct_F77=yes
15936
hardcode_libdir_separator_F77=':'
15937
link_all_deplibs_F77=yes
15939
if test "$GCC" = yes; then
15940
case $host_os in aix4.[012]|aix4.[012].*)
15941
# We only want to do this on AIX 4.2 and lower, the check
15942
# below for broken collect2 doesn't work under 4.3+
15943
collect2name=`${CC} -print-prog-name=collect2`
15944
if test -f "$collect2name" && \
15945
strings "$collect2name" | grep resolve_lib_name >/dev/null
15947
# We have reworked collect2
15950
# We have old collect2
15951
hardcode_direct_F77=unsupported
15952
# It fails to find uninstalled libraries when the uninstalled
15953
# path is not listed in the libpath. Setting hardcode_minus_L
15954
# to unsupported forces relinking
15955
hardcode_minus_L_F77=yes
15956
hardcode_libdir_flag_spec_F77='-L$libdir'
15957
hardcode_libdir_separator_F77=
15961
shared_flag='-shared'
15962
if test "$aix_use_runtimelinking" = yes; then
15963
shared_flag="$shared_flag "'${wl}-G'
15967
if test "$host_cpu" = ia64; then
15968
# VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
15969
# chokes on -Wl,-G. The following line is correct:
15972
if test "$aix_use_runtimelinking" = yes; then
15973
shared_flag='${wl}-G'
15975
shared_flag='${wl}-bM:SRE'
15980
# It seems that -bexpall does not export symbols beginning with
15981
# underscore (_), so it is better to generate a list of symbols to export.
15982
always_export_symbols_F77=yes
15983
if test "$aix_use_runtimelinking" = yes; then
15984
# Warning - without using the other runtime loading flags (-brtl),
15985
# -berok will link without error, but may produce a broken library.
15986
allow_undefined_flag_F77='-berok'
15987
# Determine the default libpath from the value encoded in an empty executable.
15988
cat >conftest.$ac_ext <<_ACEOF
15993
rm -f conftest.$ac_objext conftest$ac_exeext
15994
if { (ac_try="$ac_link"
15995
case "(($ac_try" in
15996
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15997
*) ac_try_echo=$ac_try;;
15999
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16000
(eval "$ac_link") 2>conftest.er1
16002
grep -v '^ *+' conftest.er1 >conftest.err
16004
cat conftest.err >&5
16005
echo "$as_me:$LINENO: \$? = $ac_status" >&5
16006
(exit $ac_status); } && {
16007
test -z "$ac_f77_werror_flag" ||
16008
test ! -s conftest.err
16009
} && test -s conftest$ac_exeext &&
16010
$as_test_x conftest$ac_exeext; then
16012
lt_aix_libpath_sed='
16013
/Import File Strings/,/^$/ {
16019
aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
16020
# Check for a 64-bit object if we didn't find anything.
16021
if test -z "$aix_libpath"; then
16022
aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
16025
echo "$as_me: failed program was:" >&5
16026
sed 's/^/| /' conftest.$ac_ext >&5
16031
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
16032
conftest$ac_exeext conftest.$ac_ext
16033
if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
16035
hardcode_libdir_flag_spec_F77='${wl}-blibpath:$libdir:'"$aix_libpath"
16036
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"
16038
if test "$host_cpu" = ia64; then
16039
hardcode_libdir_flag_spec_F77='${wl}-R $libdir:/usr/lib:/lib'
16040
allow_undefined_flag_F77="-z nodefs"
16041
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"
16043
# Determine the default libpath from the value encoded in an empty executable.
16044
cat >conftest.$ac_ext <<_ACEOF
16049
rm -f conftest.$ac_objext conftest$ac_exeext
16050
if { (ac_try="$ac_link"
16051
case "(($ac_try" in
16052
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16053
*) ac_try_echo=$ac_try;;
16055
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16056
(eval "$ac_link") 2>conftest.er1
16058
grep -v '^ *+' conftest.er1 >conftest.err
16060
cat conftest.err >&5
16061
echo "$as_me:$LINENO: \$? = $ac_status" >&5
16062
(exit $ac_status); } && {
16063
test -z "$ac_f77_werror_flag" ||
16064
test ! -s conftest.err
16065
} && test -s conftest$ac_exeext &&
16066
$as_test_x conftest$ac_exeext; then
16068
lt_aix_libpath_sed='
16069
/Import File Strings/,/^$/ {
16075
aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
16076
# Check for a 64-bit object if we didn't find anything.
16077
if test -z "$aix_libpath"; then
16078
aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
16081
echo "$as_me: failed program was:" >&5
16082
sed 's/^/| /' conftest.$ac_ext >&5
16087
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
16088
conftest$ac_exeext conftest.$ac_ext
16089
if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
16091
hardcode_libdir_flag_spec_F77='${wl}-blibpath:$libdir:'"$aix_libpath"
16092
# Warning - without using the other run time loading flags,
16093
# -berok will link without error, but may produce a broken library.
16094
no_undefined_flag_F77=' ${wl}-bernotok'
16095
allow_undefined_flag_F77=' ${wl}-berok'
16096
# Exported symbols can be pulled into shared objects from archives
16097
whole_archive_flag_spec_F77='$convenience'
16098
archive_cmds_need_lc_F77=yes
16099
# This is similar to how AIX traditionally builds its shared libraries.
16100
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'
16106
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)'
16107
hardcode_libdir_flag_spec_F77='-L$libdir'
16108
hardcode_minus_L_F77=yes
16109
# see comment about different semantics on the GNU ld section
16114
export_dynamic_flag_spec_F77=-rdynamic
16117
cygwin* | mingw* | pw32*)
16118
# When not using gcc, we currently assume that we are using
16119
# Microsoft Visual C++.
16120
# hardcode_libdir_flag_spec is actually meaningless, as there is
16121
# no search path for DLLs.
16122
hardcode_libdir_flag_spec_F77=' '
16123
allow_undefined_flag_F77=unsupported
16124
# Tell ltmain to make .lib files, not .a files.
16126
# Tell ltmain to make .dll files, not .so files.
16128
# FIXME: Setting linknames here is a bad hack.
16129
archive_cmds_F77='$CC -o $lib $libobjs $compiler_flags `echo "$deplibs" | $SED -e '\''s/ -lc$//'\''` -link -dll~linknames='
16130
# The linker will automatically build a .lib file if we build a DLL.
16131
old_archive_From_new_cmds_F77='true'
16132
# FIXME: Should let the user specify the lib program.
16133
old_archive_cmds_F77='lib -OUT:$oldlib$oldobjs$old_deplibs'
16134
fix_srcfile_path_F77='`cygpath -w "$srcfile"`'
16135
enable_shared_with_static_runtimes_F77=yes
16138
darwin* | rhapsody*)
16140
rhapsody* | darwin1.[012])
16141
allow_undefined_flag_F77='${wl}-undefined ${wl}suppress'
16144
if test -z ${MACOSX_DEPLOYMENT_TARGET} ; then
16145
allow_undefined_flag_F77='${wl}-flat_namespace ${wl}-undefined ${wl}suppress'
16147
case ${MACOSX_DEPLOYMENT_TARGET} in
16149
allow_undefined_flag_F77='${wl}-flat_namespace ${wl}-undefined ${wl}suppress'
16152
allow_undefined_flag_F77='${wl}-undefined ${wl}dynamic_lookup'
16158
archive_cmds_need_lc_F77=no
16159
hardcode_direct_F77=no
16160
hardcode_automatic_F77=yes
16161
hardcode_shlibpath_var_F77=unsupported
16162
whole_archive_flag_spec_F77=''
16163
link_all_deplibs_F77=yes
16164
if test "$GCC" = yes ; then
16165
output_verbose_link_cmd='echo'
16166
archive_cmds_F77='$CC -dynamiclib $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags -install_name $rpath/$soname $verstring'
16167
module_cmds_F77='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
16168
# Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin lds
16169
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}'
16170
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}'
16172
case $cc_basename in
16174
output_verbose_link_cmd='echo'
16175
archive_cmds_F77='$CC -qmkshrobj $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-install_name ${wl}`echo $rpath/$soname` $xlcverstring'
16176
module_cmds_F77='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
16177
# Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin lds
16178
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}'
16179
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}'
16189
archive_cmds_F77='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
16190
hardcode_libdir_flag_spec_F77='-L$libdir'
16191
hardcode_shlibpath_var_F77=no
16198
# FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
16199
# support. Future versions do this automatically, but an explicit c++rt0.o
16200
# does not break anything, and helps significantly (at the cost of a little
16203
archive_cmds_F77='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
16204
hardcode_libdir_flag_spec_F77='-R$libdir'
16205
hardcode_direct_F77=yes
16206
hardcode_shlibpath_var_F77=no
16209
# Unfortunately, older versions of FreeBSD 2 do not have this feature.
16211
archive_cmds_F77='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
16212
hardcode_direct_F77=yes
16213
hardcode_minus_L_F77=yes
16214
hardcode_shlibpath_var_F77=no
16217
# FreeBSD 3 and greater uses gcc -shared to do shared libraries.
16218
freebsd* | dragonfly*)
16219
archive_cmds_F77='$CC -shared -o $lib $libobjs $deplibs $compiler_flags'
16220
hardcode_libdir_flag_spec_F77='-R$libdir'
16221
hardcode_direct_F77=yes
16222
hardcode_shlibpath_var_F77=no
16226
if test "$GCC" = yes; then
16227
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'
16229
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'
16231
hardcode_libdir_flag_spec_F77='${wl}+b ${wl}$libdir'
16232
hardcode_libdir_separator_F77=:
16233
hardcode_direct_F77=yes
16235
# hardcode_minus_L: Not really in the search PATH,
16236
# but as the default location of the library.
16237
hardcode_minus_L_F77=yes
16238
export_dynamic_flag_spec_F77='${wl}-E'
16242
if test "$GCC" = yes -a "$with_gnu_ld" = no; then
16243
archive_cmds_F77='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
16245
archive_cmds_F77='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
16247
if test "$with_gnu_ld" = no; then
16248
hardcode_libdir_flag_spec_F77='${wl}+b ${wl}$libdir'
16249
hardcode_libdir_separator_F77=:
16251
hardcode_direct_F77=yes
16252
export_dynamic_flag_spec_F77='${wl}-E'
16254
# hardcode_minus_L: Not really in the search PATH,
16255
# but as the default location of the library.
16256
hardcode_minus_L_F77=yes
16261
if test "$GCC" = yes -a "$with_gnu_ld" = no; then
16264
archive_cmds_F77='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
16267
archive_cmds_F77='$CC -shared ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
16270
archive_cmds_F77='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
16276
archive_cmds_F77='$CC -b ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
16279
archive_cmds_F77='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
16282
archive_cmds_F77='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
16286
if test "$with_gnu_ld" = no; then
16287
hardcode_libdir_flag_spec_F77='${wl}+b ${wl}$libdir'
16288
hardcode_libdir_separator_F77=:
16292
hardcode_libdir_flag_spec_ld_F77='+b $libdir'
16293
hardcode_direct_F77=no
16294
hardcode_shlibpath_var_F77=no
16297
hardcode_direct_F77=yes
16298
export_dynamic_flag_spec_F77='${wl}-E'
16300
# hardcode_minus_L: Not really in the search PATH,
16301
# but as the default location of the library.
16302
hardcode_minus_L_F77=yes
16308
irix5* | irix6* | nonstopux*)
16309
if test "$GCC" = yes; then
16310
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'
16312
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'
16313
hardcode_libdir_flag_spec_ld_F77='-rpath $libdir'
16315
hardcode_libdir_flag_spec_F77='${wl}-rpath ${wl}$libdir'
16316
hardcode_libdir_separator_F77=:
16317
link_all_deplibs_F77=yes
16320
netbsd* | netbsdelf*-gnu)
16321
if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
16322
archive_cmds_F77='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' # a.out
16324
archive_cmds_F77='$LD -shared -o $lib $libobjs $deplibs $linker_flags' # ELF
16326
hardcode_libdir_flag_spec_F77='-R$libdir'
16327
hardcode_direct_F77=yes
16328
hardcode_shlibpath_var_F77=no
16332
archive_cmds_F77='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
16333
hardcode_direct_F77=yes
16334
hardcode_libdir_flag_spec_F77='${wl}-rpath ${wl}$libdir'
16335
hardcode_libdir_separator_F77=:
16336
hardcode_shlibpath_var_F77=no
16340
if test -f /usr/libexec/ld.so; then
16341
hardcode_direct_F77=yes
16342
hardcode_shlibpath_var_F77=no
16343
if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
16344
archive_cmds_F77='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
16345
archive_expsym_cmds_F77='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols'
16346
hardcode_libdir_flag_spec_F77='${wl}-rpath,$libdir'
16347
export_dynamic_flag_spec_F77='${wl}-E'
16350
openbsd[01].* | openbsd2.[0-7] | openbsd2.[0-7].*)
16351
archive_cmds_F77='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
16352
hardcode_libdir_flag_spec_F77='-R$libdir'
16355
archive_cmds_F77='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
16356
hardcode_libdir_flag_spec_F77='${wl}-rpath,$libdir'
16366
hardcode_libdir_flag_spec_F77='-L$libdir'
16367
hardcode_minus_L_F77=yes
16368
allow_undefined_flag_F77=unsupported
16369
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'
16370
old_archive_From_new_cmds_F77='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
16374
if test "$GCC" = yes; then
16375
allow_undefined_flag_F77=' ${wl}-expect_unresolved ${wl}\*'
16376
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'
16378
allow_undefined_flag_F77=' -expect_unresolved \*'
16379
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'
16381
hardcode_libdir_flag_spec_F77='${wl}-rpath ${wl}$libdir'
16382
hardcode_libdir_separator_F77=:
16385
osf4* | osf5*) # as osf3* with the addition of -msym flag
16386
if test "$GCC" = yes; then
16387
allow_undefined_flag_F77=' ${wl}-expect_unresolved ${wl}\*'
16388
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'
16389
hardcode_libdir_flag_spec_F77='${wl}-rpath ${wl}$libdir'
16391
allow_undefined_flag_F77=' -expect_unresolved \*'
16392
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'
16393
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~
16394
$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'
16396
# Both c and cxx compiler support -rpath directly
16397
hardcode_libdir_flag_spec_F77='-rpath $libdir'
16399
hardcode_libdir_separator_F77=:
16403
no_undefined_flag_F77=' -z text'
16404
if test "$GCC" = yes; then
16406
archive_cmds_F77='$CC -shared ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
16407
archive_expsym_cmds_F77='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
16408
$CC -shared ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags~$rm $lib.exp'
16411
archive_cmds_F77='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
16412
archive_expsym_cmds_F77='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
16413
$LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$rm $lib.exp'
16415
hardcode_libdir_flag_spec_F77='-R$libdir'
16416
hardcode_shlibpath_var_F77=no
16418
solaris2.[0-5] | solaris2.[0-5].*) ;;
16420
# The compiler driver will combine and reorder linker options,
16421
# but understands `-z linker_flag'. GCC discards it without `$wl',
16422
# but is careful enough not to reorder.
16423
# Supported since Solaris 2.6 (maybe 2.5.1?)
16424
if test "$GCC" = yes; then
16425
whole_archive_flag_spec_F77='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
16427
whole_archive_flag_spec_F77='-z allextract$convenience -z defaultextract'
16431
link_all_deplibs_F77=yes
16435
if test "x$host_vendor" = xsequent; then
16436
# Use $CC to link under sequent, because it throws in some extra .o
16437
# files that make .init and .fini sections work.
16438
archive_cmds_F77='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags'
16440
archive_cmds_F77='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
16442
hardcode_libdir_flag_spec_F77='-L$libdir'
16443
hardcode_direct_F77=yes
16444
hardcode_minus_L_F77=yes
16445
hardcode_shlibpath_var_F77=no
16449
case $host_vendor in
16451
archive_cmds_F77='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
16452
hardcode_direct_F77=yes # is this really true???
16455
## LD is ld it makes a PLAMLIB
16456
## CC just makes a GrossModule.
16457
archive_cmds_F77='$LD -G -o $lib $libobjs $deplibs $linker_flags'
16458
reload_cmds_F77='$CC -r -o $output$reload_objs'
16459
hardcode_direct_F77=no
16462
archive_cmds_F77='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
16463
hardcode_direct_F77=no #Motorola manual says yes, but my tests say they lie
16466
runpath_var='LD_RUN_PATH'
16467
hardcode_shlibpath_var_F77=no
16471
archive_cmds_F77='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
16472
hardcode_shlibpath_var_F77=no
16473
export_dynamic_flag_spec_F77='-Bexport'
16477
if test -d /usr/nec; then
16478
archive_cmds_F77='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
16479
hardcode_shlibpath_var_F77=no
16480
runpath_var=LD_RUN_PATH
16481
hardcode_runpath_var=yes
16486
sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7* | sco3.2v5.0.[024]*)
16487
no_undefined_flag_F77='${wl}-z,text'
16488
archive_cmds_need_lc_F77=no
16489
hardcode_shlibpath_var_F77=no
16490
runpath_var='LD_RUN_PATH'
16492
if test "$GCC" = yes; then
16493
archive_cmds_F77='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
16494
archive_expsym_cmds_F77='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
16496
archive_cmds_F77='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
16497
archive_expsym_cmds_F77='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
16501
sysv5* | sco3.2v5* | sco5v6*)
16502
# Note: We can NOT use -z defs as we might desire, because we do not
16503
# link with -lc, and that would cause any symbols used from libc to
16504
# always be unresolved, which means just about no library would
16505
# ever link correctly. If we're not using GNU ld we use -z text
16506
# though, which does catch some bad symbols but isn't as heavy-handed
16508
no_undefined_flag_F77='${wl}-z,text'
16509
allow_undefined_flag_F77='${wl}-z,nodefs'
16510
archive_cmds_need_lc_F77=no
16511
hardcode_shlibpath_var_F77=no
16512
hardcode_libdir_flag_spec_F77='`test -z "$SCOABSPATH" && echo ${wl}-R,$libdir`'
16513
hardcode_libdir_separator_F77=':'
16514
link_all_deplibs_F77=yes
16515
export_dynamic_flag_spec_F77='${wl}-Bexport'
16516
runpath_var='LD_RUN_PATH'
16518
if test "$GCC" = yes; then
16519
archive_cmds_F77='$CC -shared ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
16520
archive_expsym_cmds_F77='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
16522
archive_cmds_F77='$CC -G ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
16523
archive_expsym_cmds_F77='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
16528
archive_cmds_F77='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
16529
hardcode_libdir_flag_spec_F77='-L$libdir'
16530
hardcode_shlibpath_var_F77=no
16539
{ echo "$as_me:$LINENO: result: $ld_shlibs_F77" >&5
16540
echo "${ECHO_T}$ld_shlibs_F77" >&6; }
16541
test "$ld_shlibs_F77" = no && can_build_shared=no
16544
# Do we need to explicitly link libc?
16546
case "x$archive_cmds_need_lc_F77" in
16548
# Assume -lc should be added
16549
archive_cmds_need_lc_F77=yes
16551
if test "$enable_shared" = yes && test "$GCC" = yes; then
16552
case $archive_cmds_F77 in
16554
# FIXME: we may have to deal with multi-command sequences.
16557
# Test whether the compiler implicitly links with -lc since on some
16558
# systems, -lgcc has to come before -lc. If gcc already passes -lc
16559
# to ld, don't add -lc before -lgcc.
16560
{ echo "$as_me:$LINENO: checking whether -lc should be explicitly linked in" >&5
16561
echo $ECHO_N "checking whether -lc should be explicitly linked in... $ECHO_C" >&6; }
16563
echo "$lt_simple_compile_test_code" > conftest.$ac_ext
16565
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16566
(eval $ac_compile) 2>&5
16568
echo "$as_me:$LINENO: \$? = $ac_status" >&5
16569
(exit $ac_status); } 2>conftest.err; then
16572
libobjs=conftest.$ac_objext
16574
wl=$lt_prog_compiler_wl_F77
16575
pic_flag=$lt_prog_compiler_pic_F77
16581
lt_save_allow_undefined_flag=$allow_undefined_flag_F77
16582
allow_undefined_flag_F77=
16583
if { (eval echo "$as_me:$LINENO: \"$archive_cmds_F77 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1\"") >&5
16584
(eval $archive_cmds_F77 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1) 2>&5
16586
echo "$as_me:$LINENO: \$? = $ac_status" >&5
16587
(exit $ac_status); }
16589
archive_cmds_need_lc_F77=no
16591
archive_cmds_need_lc_F77=yes
16593
allow_undefined_flag_F77=$lt_save_allow_undefined_flag
16595
cat conftest.err 1>&5
16598
{ echo "$as_me:$LINENO: result: $archive_cmds_need_lc_F77" >&5
16599
echo "${ECHO_T}$archive_cmds_need_lc_F77" >&6; }
16606
{ echo "$as_me:$LINENO: checking dynamic linker characteristics" >&5
16607
echo $ECHO_N "checking dynamic linker characteristics... $ECHO_C" >&6; }
16608
library_names_spec=
16609
libname_spec='lib$name'
16613
postuninstall_cmds=
16617
shlibpath_overrides_runpath=unknown
16619
dynamic_linker="$host_os ld.so"
16620
sys_lib_dlsearch_path_spec="/lib /usr/lib"
16622
need_lib_prefix=unknown
16623
hardcode_into_libs=no
16625
# when you set need_version to no, make sure it does not cause -set_version
16626
# flags to be left without arguments
16627
need_version=unknown
16632
library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a'
16633
shlibpath_var=LIBPATH
16635
# AIX 3 has no versioning support, so we append a major version to the name.
16636
soname_spec='${libname}${release}${shared_ext}$major'
16643
hardcode_into_libs=yes
16644
if test "$host_cpu" = ia64; then
16645
# AIX 5 supports IA64
16646
library_names_spec='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
16647
shlibpath_var=LD_LIBRARY_PATH
16649
# With GCC up to 2.95.x, collect2 would create an import file
16650
# for dependence libraries. The import file would start with
16651
# the line `#! .'. This would cause the generated library to
16652
# depend on `.', always an invalid library. This was fixed in
16653
# development snapshots of GCC prior to 3.0.
16655
aix4 | aix4.[01] | aix4.[01].*)
16656
if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
16658
echo '#endif'; } | ${CC} -E - | grep yes > /dev/null; then
16661
can_build_shared=no
16665
# AIX (on Power*) has no versioning support, so currently we can not hardcode correct
16666
# soname into executable. Probably we can add versioning support to
16667
# collect2, so additional links can be useful in future.
16668
if test "$aix_use_runtimelinking" = yes; then
16669
# If using run time linking (on AIX 4.2 or later) use lib<name>.so
16670
# instead of lib<name>.a to let people know that these are not
16671
# typical AIX shared libraries.
16672
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
16674
# We preserve .a as extension for shared libraries through AIX4.2
16675
# and later when we are not doing run time linking.
16676
library_names_spec='${libname}${release}.a $libname.a'
16677
soname_spec='${libname}${release}${shared_ext}$major'
16679
shlibpath_var=LIBPATH
16684
library_names_spec='$libname.ixlibrary $libname.a'
16685
# Create ${libname}_ixlibrary.a entries in /sys/libs.
16686
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'
16690
library_names_spec='${libname}${shared_ext}'
16691
dynamic_linker="$host_os ld.so"
16692
shlibpath_var=LIBRARY_PATH
16698
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
16699
soname_spec='${libname}${release}${shared_ext}$major'
16700
finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
16701
shlibpath_var=LD_LIBRARY_PATH
16702
sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
16703
sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
16704
# the default ld.so.conf also contains /usr/contrib/lib and
16705
# /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
16706
# libtool to hard-code these into programs
16709
cygwin* | mingw* | pw32*)
16710
version_type=windows
16715
case $GCC,$host_os in
16716
yes,cygwin* | yes,mingw* | yes,pw32*)
16717
library_names_spec='$libname.dll.a'
16718
# DLL is installed to $(libdir)/../bin by postinstall_cmds
16719
postinstall_cmds='base_file=`basename \${file}`~
16720
dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i;echo \$dlname'\''`~
16721
dldir=$destdir/`dirname \$dlpath`~
16722
test -d \$dldir || mkdir -p \$dldir~
16723
$install_prog $dir/$dlname \$dldir/$dlname~
16724
chmod a+x \$dldir/$dlname'
16725
postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
16726
dlpath=$dir/\$dldll~
16728
shlibpath_overrides_runpath=yes
16732
# Cygwin DLLs use 'cyg' prefix rather than 'lib'
16733
soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
16734
sys_lib_search_path_spec="/usr/lib /lib/w32api /lib /usr/local/lib"
16737
# MinGW DLLs use traditional 'lib' prefix
16738
soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
16739
sys_lib_search_path_spec=`$CC -print-search-dirs | grep "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
16740
if echo "$sys_lib_search_path_spec" | grep ';[c-zC-Z]:/' >/dev/null; then
16741
# It is most probably a Windows format PATH printed by
16742
# mingw gcc, but we are running on Cygwin. Gcc prints its search
16743
# path with ; separators, and with drive letters. We can handle the
16744
# drive letters (cygwin fileutils understands them), so leave them,
16745
# especially as we might pass files found there to a mingw objdump,
16746
# which wouldn't understand a cygwinified path. Ahh.
16747
sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
16749
sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
16753
# pw32 DLLs use 'pw' prefix rather than 'lib'
16754
library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
16760
library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
16763
dynamic_linker='Win32 ld.exe'
16764
# FIXME: first we should search . and the directory the executable is in
16768
darwin* | rhapsody*)
16769
dynamic_linker="$host_os dyld"
16770
version_type=darwin
16773
library_names_spec='${libname}${release}${versuffix}$shared_ext ${libname}${release}${major}$shared_ext ${libname}$shared_ext'
16774
soname_spec='${libname}${release}${major}$shared_ext'
16775
shlibpath_overrides_runpath=yes
16776
shlibpath_var=DYLD_LIBRARY_PATH
16777
shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`'
16779
sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
16786
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
16787
soname_spec='${libname}${release}${shared_ext}$major'
16788
shlibpath_var=LD_LIBRARY_PATH
16795
freebsd* | dragonfly*)
16796
# DragonFly does not have aout. When/if they implement a new
16797
# versioning mechanism, adjust this.
16798
if test -x /usr/bin/objformat; then
16799
objformat=`/usr/bin/objformat`
16802
freebsd[123]*) objformat=aout ;;
16803
*) objformat=elf ;;
16806
version_type=freebsd-$objformat
16807
case $version_type in
16809
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
16814
library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
16818
shlibpath_var=LD_LIBRARY_PATH
16821
shlibpath_overrides_runpath=yes
16823
freebsd3.[01]* | freebsdelf3.[01]*)
16824
shlibpath_overrides_runpath=yes
16825
hardcode_into_libs=yes
16827
freebsd3.[2-9]* | freebsdelf3.[2-9]* | \
16828
freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1)
16829
shlibpath_overrides_runpath=no
16830
hardcode_into_libs=yes
16832
*) # from 4.6 on, and DragonFly
16833
shlibpath_overrides_runpath=yes
16834
hardcode_into_libs=yes
16843
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
16844
soname_spec='${libname}${release}${shared_ext}$major'
16845
shlibpath_var=LD_LIBRARY_PATH
16846
hardcode_into_libs=yes
16849
hpux9* | hpux10* | hpux11*)
16850
# Give a soname corresponding to the major version so that dld.sl refuses to
16851
# link against other versions.
16858
hardcode_into_libs=yes
16859
dynamic_linker="$host_os dld.so"
16860
shlibpath_var=LD_LIBRARY_PATH
16861
shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
16862
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
16863
soname_spec='${libname}${release}${shared_ext}$major'
16864
if test "X$HPUX_IA64_MODE" = X32; then
16865
sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
16867
sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
16869
sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
16873
hardcode_into_libs=yes
16874
dynamic_linker="$host_os dld.sl"
16875
shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
16876
shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
16877
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
16878
soname_spec='${libname}${release}${shared_ext}$major'
16879
sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
16880
sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
16884
dynamic_linker="$host_os dld.sl"
16885
shlibpath_var=SHLIB_PATH
16886
shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
16887
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
16888
soname_spec='${libname}${release}${shared_ext}$major'
16891
# HP-UX runs *really* slowly unless shared libraries are mode 555.
16892
postinstall_cmds='chmod 555 $lib'
16899
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
16900
soname_spec='${libname}${release}${shared_ext}$major'
16901
dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)'
16902
shlibpath_var=LD_LIBRARY_PATH
16903
shlibpath_overrides_runpath=no
16904
hardcode_into_libs=yes
16907
irix5* | irix6* | nonstopux*)
16909
nonstopux*) version_type=nonstopux ;;
16911
if test "$lt_cv_prog_gnu_ld" = yes; then
16919
soname_spec='${libname}${release}${shared_ext}$major'
16920
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
16922
irix5* | nonstopux*)
16923
libsuff= shlibsuff=
16926
case $LD in # libtool.m4 will add one of these switches to LD
16927
*-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
16928
libsuff= shlibsuff= libmagic=32-bit;;
16929
*-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
16930
libsuff=32 shlibsuff=N32 libmagic=N32;;
16931
*-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
16932
libsuff=64 shlibsuff=64 libmagic=64-bit;;
16933
*) libsuff= shlibsuff= libmagic=never-match;;
16937
shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
16938
shlibpath_overrides_runpath=no
16939
sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
16940
sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}"
16941
hardcode_into_libs=yes
16944
# No shared lib support for Linux oldld, aout, or coff.
16945
linux*oldld* | linux*aout* | linux*coff*)
16949
# This must be Linux ELF.
16950
linux* | k*bsd*-gnu)
16954
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
16955
soname_spec='${libname}${release}${shared_ext}$major'
16956
finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
16957
shlibpath_var=LD_LIBRARY_PATH
16958
shlibpath_overrides_runpath=no
16959
# This implies no fast_install, which is unacceptable.
16960
# Some rework will be needed to allow for fast_install
16961
# before this can be enabled.
16962
hardcode_into_libs=yes
16964
# Append ld.so.conf contents to the search path
16965
if test -f /etc/ld.so.conf; then
16966
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' ' '`
16967
sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra"
16970
# We used to test for /lib/ld.so.1 and disable shared libraries on
16971
# powerpc, because MkLinux only supported shared libraries with the
16972
# GNU dynamic linker. Since this was broken with cross compilers,
16973
# most powerpc-linux boxes support dynamic linking these days and
16974
# people can always --disable-shared, the test was removed, and we
16975
# assume the GNU/Linux dynamic linker is in use.
16976
dynamic_linker='GNU/Linux ld.so'
16983
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
16984
soname_spec='${libname}${release}${shared_ext}$major'
16985
shlibpath_var=LD_LIBRARY_PATH
16986
shlibpath_overrides_runpath=no
16987
hardcode_into_libs=yes
16988
dynamic_linker='NetBSD ld.elf_so'
16995
if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
16996
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
16997
finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
16998
dynamic_linker='NetBSD (a.out) ld.so'
17000
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
17001
soname_spec='${libname}${release}${shared_ext}$major'
17002
dynamic_linker='NetBSD ld.elf_so'
17004
shlibpath_var=LD_LIBRARY_PATH
17005
shlibpath_overrides_runpath=yes
17006
hardcode_into_libs=yes
17011
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
17012
shlibpath_var=LD_LIBRARY_PATH
17013
shlibpath_overrides_runpath=yes
17020
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
17021
soname_spec='${libname}${release}${shared_ext}$major'
17022
shlibpath_var=LD_LIBRARY_PATH
17023
shlibpath_overrides_runpath=yes
17028
sys_lib_dlsearch_path_spec="/usr/lib"
17030
# Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
17032
openbsd3.3 | openbsd3.3.*) need_version=yes ;;
17033
*) need_version=no ;;
17035
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
17036
finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
17037
shlibpath_var=LD_LIBRARY_PATH
17038
if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
17040
openbsd2.[89] | openbsd2.[89].*)
17041
shlibpath_overrides_runpath=no
17044
shlibpath_overrides_runpath=yes
17048
shlibpath_overrides_runpath=yes
17053
libname_spec='$name'
17056
library_names_spec='$libname${shared_ext} $libname.a'
17057
dynamic_linker='OS/2 ld.exe'
17058
shlibpath_var=LIBPATH
17061
osf3* | osf4* | osf5*)
17065
soname_spec='${libname}${release}${shared_ext}$major'
17066
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
17067
shlibpath_var=LD_LIBRARY_PATH
17068
sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
17069
sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec"
17080
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
17081
soname_spec='${libname}${release}${shared_ext}$major'
17082
shlibpath_var=LD_LIBRARY_PATH
17083
shlibpath_overrides_runpath=yes
17084
hardcode_into_libs=yes
17085
# ldd complains unless libraries are executable
17086
postinstall_cmds='chmod +x $lib'
17091
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
17092
finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
17093
shlibpath_var=LD_LIBRARY_PATH
17094
shlibpath_overrides_runpath=yes
17095
if test "$with_gnu_ld" = yes; then
17103
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
17104
soname_spec='${libname}${release}${shared_ext}$major'
17105
shlibpath_var=LD_LIBRARY_PATH
17106
case $host_vendor in
17108
shlibpath_overrides_runpath=no
17110
export_dynamic_flag_spec='${wl}-Blargedynsym'
17111
runpath_var=LD_RUN_PATH
17119
shlibpath_overrides_runpath=no
17120
sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
17126
if test -d /usr/nec ;then
17128
library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
17129
soname_spec='$libname${shared_ext}.$major'
17130
shlibpath_var=LD_LIBRARY_PATH
17134
sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
17135
version_type=freebsd-elf
17138
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
17139
soname_spec='${libname}${release}${shared_ext}$major'
17140
shlibpath_var=LD_LIBRARY_PATH
17141
hardcode_into_libs=yes
17142
if test "$with_gnu_ld" = yes; then
17143
sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
17144
shlibpath_overrides_runpath=no
17146
sys_lib_search_path_spec='/usr/ccs/lib /usr/lib'
17147
shlibpath_overrides_runpath=yes
17150
sys_lib_search_path_spec="$sys_lib_search_path_spec /lib"
17154
sys_lib_dlsearch_path_spec='/usr/lib'
17159
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
17160
soname_spec='${libname}${release}${shared_ext}$major'
17161
shlibpath_var=LD_LIBRARY_PATH
17168
{ echo "$as_me:$LINENO: result: $dynamic_linker" >&5
17169
echo "${ECHO_T}$dynamic_linker" >&6; }
17170
test "$dynamic_linker" = no && can_build_shared=no
17172
variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
17173
if test "$GCC" = yes; then
17174
variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
17177
{ echo "$as_me:$LINENO: checking how to hardcode library paths into programs" >&5
17178
echo $ECHO_N "checking how to hardcode library paths into programs... $ECHO_C" >&6; }
17179
hardcode_action_F77=
17180
if test -n "$hardcode_libdir_flag_spec_F77" || \
17181
test -n "$runpath_var_F77" || \
17182
test "X$hardcode_automatic_F77" = "Xyes" ; then
17184
# We can hardcode non-existant directories.
17185
if test "$hardcode_direct_F77" != no &&
17186
# If the only mechanism to avoid hardcoding is shlibpath_var, we
17187
# have to relink, otherwise we might link with an installed library
17188
# when we should be linking with a yet-to-be-installed one
17189
## test "$_LT_AC_TAGVAR(hardcode_shlibpath_var, F77)" != no &&
17190
test "$hardcode_minus_L_F77" != no; then
17191
# Linking always hardcodes the temporary library directory.
17192
hardcode_action_F77=relink
17194
# We can link without hardcoding, and we can hardcode nonexisting dirs.
17195
hardcode_action_F77=immediate
17198
# We cannot hardcode anything, or else we can only hardcode existing
17200
hardcode_action_F77=unsupported
17202
{ echo "$as_me:$LINENO: result: $hardcode_action_F77" >&5
17203
echo "${ECHO_T}$hardcode_action_F77" >&6; }
17205
if test "$hardcode_action_F77" = relink; then
17206
# Fast installation is not supported
17207
enable_fast_install=no
17208
elif test "$shlibpath_overrides_runpath" = yes ||
17209
test "$enable_shared" = no; then
17210
# Fast installation is not necessary
17211
enable_fast_install=needless
17215
# The else clause should only fire when bootstrapping the
17216
# libtool distribution, otherwise you forgot to ship ltmain.sh
17217
# with your package, and you will get complaints that there are
17218
# no rules to generate ltmain.sh.
17219
if test -f "$ltmain"; then
17220
# See if we are running on zsh, and set the options which allow our commands through
17221
# without removal of \ escapes.
17222
if test -n "${ZSH_VERSION+set}" ; then
17223
setopt NO_GLOB_SUBST
17225
# Now quote all the things that may contain metacharacters while being
17226
# careful not to overquote the AC_SUBSTed values. We take copies of the
17227
# variables and quote the copies for generation of the libtool script.
17228
for var in echo old_CC old_CFLAGS AR AR_FLAGS EGREP RANLIB LN_S LTCC LTCFLAGS NM \
17230
libname_spec library_names_spec soname_spec extract_expsyms_cmds \
17231
old_striplib striplib file_magic_cmd finish_cmds finish_eval \
17232
deplibs_check_method reload_flag reload_cmds need_locks \
17233
lt_cv_sys_global_symbol_pipe lt_cv_sys_global_symbol_to_cdecl \
17234
lt_cv_sys_global_symbol_to_c_name_address \
17235
sys_lib_search_path_spec sys_lib_dlsearch_path_spec \
17236
old_postinstall_cmds old_postuninstall_cmds \
17240
lt_prog_compiler_wl_F77 \
17241
lt_prog_compiler_pic_F77 \
17242
lt_prog_compiler_static_F77 \
17243
lt_prog_compiler_no_builtin_flag_F77 \
17244
export_dynamic_flag_spec_F77 \
17245
thread_safe_flag_spec_F77 \
17246
whole_archive_flag_spec_F77 \
17247
enable_shared_with_static_runtimes_F77 \
17248
old_archive_cmds_F77 \
17249
old_archive_from_new_cmds_F77 \
17250
predep_objects_F77 \
17251
postdep_objects_F77 \
17254
compiler_lib_search_path_F77 \
17256
archive_expsym_cmds_F77 \
17257
postinstall_cmds_F77 \
17258
postuninstall_cmds_F77 \
17259
old_archive_from_expsyms_cmds_F77 \
17260
allow_undefined_flag_F77 \
17261
no_undefined_flag_F77 \
17262
export_symbols_cmds_F77 \
17263
hardcode_libdir_flag_spec_F77 \
17264
hardcode_libdir_flag_spec_ld_F77 \
17265
hardcode_libdir_separator_F77 \
17266
hardcode_automatic_F77 \
17268
module_expsym_cmds_F77 \
17269
lt_cv_prog_compiler_c_o_F77 \
17270
fix_srcfile_path_F77 \
17271
exclude_expsyms_F77 \
17272
include_expsyms_F77; do
17275
old_archive_cmds_F77 | \
17276
old_archive_from_new_cmds_F77 | \
17277
archive_cmds_F77 | \
17278
archive_expsym_cmds_F77 | \
17279
module_cmds_F77 | \
17280
module_expsym_cmds_F77 | \
17281
old_archive_from_expsyms_cmds_F77 | \
17282
export_symbols_cmds_F77 | \
17283
extract_expsyms_cmds | reload_cmds | finish_cmds | \
17284
postinstall_cmds | postuninstall_cmds | \
17285
old_postinstall_cmds | old_postuninstall_cmds | \
17286
sys_lib_search_path_spec | sys_lib_dlsearch_path_spec)
17287
# Double-quote double-evaled strings.
17288
eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$double_quote_subst\" -e \"\$sed_quote_subst\" -e \"\$delay_variable_subst\"\`\\\""
17291
eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$sed_quote_subst\"\`\\\""
17297
*'\$0 --fallback-echo"')
17298
lt_echo=`$echo "X$lt_echo" | $Xsed -e 's/\\\\\\\$0 --fallback-echo"$/$0 --fallback-echo"/'`
17304
cat <<__EOF__ >> "$cfgfile"
17305
# ### BEGIN LIBTOOL TAG CONFIG: $tagname
17307
# Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
17309
# Shell to use when invoking shell scripts.
17312
# Whether or not to build shared libraries.
17313
build_libtool_libs=$enable_shared
17315
# Whether or not to build static libraries.
17316
build_old_libs=$enable_static
17318
# Whether or not to add -lc for building shared libraries.
17319
build_libtool_need_lc=$archive_cmds_need_lc_F77
17321
# Whether or not to disallow shared libs when runtime libs are static
17322
allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes_F77
17324
# Whether or not to optimize for fast installation.
17325
fast_install=$enable_fast_install
17328
host_alias=$host_alias
17332
# The build system.
17333
build_alias=$build_alias
17337
# An echo program that does not interpret backslashes.
17342
AR_FLAGS=$lt_AR_FLAGS
17347
# LTCC compiler flags.
17348
LTCFLAGS=$lt_LTCFLAGS
17350
# A language-specific compiler.
17351
CC=$lt_compiler_F77
17353
# Is the compiler the GNU C compiler?
17359
# The linker used to build libraries.
17362
# Whether we need hard or soft links.
17365
# A BSD-compatible nm program.
17368
# A symbol stripping program
17371
# Used to examine libraries when file_magic_cmd begins "file"
17372
MAGIC_CMD=$MAGIC_CMD
17374
# Used on cygwin: DLL creation program.
17377
# Used on cygwin: object dumper.
17380
# Used on cygwin: assembler.
17383
# The name of the directory that contains temporary libtool files.
17386
# How to create reloadable object files.
17387
reload_flag=$lt_reload_flag
17388
reload_cmds=$lt_reload_cmds
17390
# How to pass a linker flag through the compiler.
17391
wl=$lt_lt_prog_compiler_wl_F77
17393
# Object file suffix (normally "o").
17394
objext="$ac_objext"
17396
# Old archive suffix (normally "a").
17399
# Shared library suffix (normally ".so").
17400
shrext_cmds='$shrext_cmds'
17402
# Executable file suffix (normally "").
17405
# Additional compiler flags for building library objects.
17406
pic_flag=$lt_lt_prog_compiler_pic_F77
17409
# What is the maximum length of a command?
17410
max_cmd_len=$lt_cv_sys_max_cmd_len
17412
# Does compiler simultaneously support -c and -o options?
17413
compiler_c_o=$lt_lt_cv_prog_compiler_c_o_F77
17415
# Must we lock files when doing compilation?
17416
need_locks=$lt_need_locks
17418
# Do we need the lib prefix for modules?
17419
need_lib_prefix=$need_lib_prefix
17421
# Do we need a version for libraries?
17422
need_version=$need_version
17424
# Whether dlopen is supported.
17425
dlopen_support=$enable_dlopen
17427
# Whether dlopen of programs is supported.
17428
dlopen_self=$enable_dlopen_self
17430
# Whether dlopen of statically linked programs is supported.
17431
dlopen_self_static=$enable_dlopen_self_static
17433
# Compiler flag to prevent dynamic linking.
17434
link_static_flag=$lt_lt_prog_compiler_static_F77
17436
# Compiler flag to turn off builtin functions.
17437
no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag_F77
17439
# Compiler flag to allow reflexive dlopens.
17440
export_dynamic_flag_spec=$lt_export_dynamic_flag_spec_F77
17442
# Compiler flag to generate shared objects directly from archives.
17443
whole_archive_flag_spec=$lt_whole_archive_flag_spec_F77
17445
# Compiler flag to generate thread-safe objects.
17446
thread_safe_flag_spec=$lt_thread_safe_flag_spec_F77
17448
# Library versioning type.
17449
version_type=$version_type
17451
# Format of library name prefix.
17452
libname_spec=$lt_libname_spec
17454
# List of archive names. First name is the real one, the rest are links.
17455
# The last name is the one that the linker finds with -lNAME.
17456
library_names_spec=$lt_library_names_spec
17458
# The coded name of the library, if different from the real name.
17459
soname_spec=$lt_soname_spec
17461
# Commands used to build and install an old-style archive.
17463
old_archive_cmds=$lt_old_archive_cmds_F77
17464
old_postinstall_cmds=$lt_old_postinstall_cmds
17465
old_postuninstall_cmds=$lt_old_postuninstall_cmds
17467
# Create an old-style archive from a shared archive.
17468
old_archive_from_new_cmds=$lt_old_archive_from_new_cmds_F77
17470
# Create a temporary old-style archive to link instead of a shared archive.
17471
old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds_F77
17473
# Commands used to build and install a shared archive.
17474
archive_cmds=$lt_archive_cmds_F77
17475
archive_expsym_cmds=$lt_archive_expsym_cmds_F77
17476
postinstall_cmds=$lt_postinstall_cmds
17477
postuninstall_cmds=$lt_postuninstall_cmds
17479
# Commands used to build a loadable module (assumed same as above if empty)
17480
module_cmds=$lt_module_cmds_F77
17481
module_expsym_cmds=$lt_module_expsym_cmds_F77
17483
# Commands to strip libraries.
17484
old_striplib=$lt_old_striplib
17485
striplib=$lt_striplib
17487
# Dependencies to place before the objects being linked to create a
17489
predep_objects=$lt_predep_objects_F77
17491
# Dependencies to place after the objects being linked to create a
17493
postdep_objects=$lt_postdep_objects_F77
17495
# Dependencies to place before the objects being linked to create a
17497
predeps=$lt_predeps_F77
17499
# Dependencies to place after the objects being linked to create a
17501
postdeps=$lt_postdeps_F77
17503
# The library search path used internally by the compiler when linking
17504
# a shared library.
17505
compiler_lib_search_path=$lt_compiler_lib_search_path_F77
17507
# Method to check whether dependent libraries are shared objects.
17508
deplibs_check_method=$lt_deplibs_check_method
17510
# Command to use when deplibs_check_method == file_magic.
17511
file_magic_cmd=$lt_file_magic_cmd
17513
# Flag that allows shared libraries with undefined symbols to be built.
17514
allow_undefined_flag=$lt_allow_undefined_flag_F77
17516
# Flag that forces no undefined symbols.
17517
no_undefined_flag=$lt_no_undefined_flag_F77
17519
# Commands used to finish a libtool library installation in a directory.
17520
finish_cmds=$lt_finish_cmds
17522
# Same as above, but a single script fragment to be evaled but not shown.
17523
finish_eval=$lt_finish_eval
17525
# Take the output of nm and produce a listing of raw symbols and C names.
17526
global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
17528
# Transform the output of nm in a proper C declaration
17529
global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
17531
# Transform the output of nm in a C name address pair
17532
global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
17534
# This is the shared library runtime path variable.
17535
runpath_var=$runpath_var
17537
# This is the shared library path variable.
17538
shlibpath_var=$shlibpath_var
17540
# Is shlibpath searched before the hard-coded library search path?
17541
shlibpath_overrides_runpath=$shlibpath_overrides_runpath
17543
# How to hardcode a shared library path into an executable.
17544
hardcode_action=$hardcode_action_F77
17546
# Whether we should hardcode library paths into libraries.
17547
hardcode_into_libs=$hardcode_into_libs
17549
# Flag to hardcode \$libdir into a binary during linking.
17550
# This must work even if \$libdir does not exist.
17551
hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec_F77
17553
# If ld is used when linking, flag to hardcode \$libdir into
17554
# a binary during linking. This must work even if \$libdir does
17556
hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld_F77
17558
# Whether we need a single -rpath flag with a separated argument.
17559
hardcode_libdir_separator=$lt_hardcode_libdir_separator_F77
17561
# Set to yes if using DIR/libNAME${shared_ext} during linking hardcodes DIR into the
17562
# resulting binary.
17563
hardcode_direct=$hardcode_direct_F77
17565
# Set to yes if using the -LDIR flag during linking hardcodes DIR into the
17566
# resulting binary.
17567
hardcode_minus_L=$hardcode_minus_L_F77
17569
# Set to yes if using SHLIBPATH_VAR=DIR during linking hardcodes DIR into
17570
# the resulting binary.
17571
hardcode_shlibpath_var=$hardcode_shlibpath_var_F77
17573
# Set to yes if building a shared library automatically hardcodes DIR into the library
17574
# and all subsequent libraries and executables linked against it.
17575
hardcode_automatic=$hardcode_automatic_F77
17577
# Variables whose values should be saved in libtool wrapper scripts and
17578
# restored at relink time.
17579
variables_saved_for_relink="$variables_saved_for_relink"
17581
# Whether libtool must link a program against all its dependency libraries.
17582
link_all_deplibs=$link_all_deplibs_F77
17584
# Compile-time system search path for libraries
17585
sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
17587
# Run-time system search path for libraries
17588
sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
17590
# Fix the shell variable \$srcfile for the compiler.
17591
fix_srcfile_path=$lt_fix_srcfile_path
17593
# Set to yes if exported symbols are required.
17594
always_export_symbols=$always_export_symbols_F77
17596
# The commands to list exported symbols.
17597
export_symbols_cmds=$lt_export_symbols_cmds_F77
17599
# The commands to extract the exported symbol list from a shared archive.
17600
extract_expsyms_cmds=$lt_extract_expsyms_cmds
17602
# Symbols that should not be listed in the preloaded symbols.
17603
exclude_expsyms=$lt_exclude_expsyms_F77
17605
# Symbols that must always be exported.
17606
include_expsyms=$lt_include_expsyms_F77
17608
# ### END LIBTOOL TAG CONFIG: $tagname
17614
# If there is no Makefile yet, we rely on a make rule to execute
17615
# `config.status --recheck' to rerun these tests and create the
17616
# libtool script then.
17617
ltmain_in=`echo $ltmain | sed -e 's/\.sh$/.in/'`
17618
if test -f "$ltmain_in"; then
17619
test -f Makefile && make "$ltmain"
17625
ac_cpp='$CPP $CPPFLAGS'
17626
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17627
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17628
ac_compiler_gnu=$ac_cv_c_compiler_gnu
17638
if test -n "$GCJ" && test "X$GCJ" != "Xno"; then
17641
# Source file extension for Java test sources.
17644
# Object file extension for compiled Java test sources.
17648
# Code to be used in simple compile tests
17649
lt_simple_compile_test_code="class foo {}"
17651
# Code to be used in simple link tests
17652
lt_simple_link_test_code='public class conftest { public static void main(String[] argv) {}; }'
17654
# ltmain only uses $CC for tagged configurations so make sure $CC is set.
17656
# If no C compiler was specified, use CC.
17659
# If no C compiler flags were specified, use CFLAGS.
17660
LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
17662
# Allow CC to be a program name with arguments.
17666
# save warnings/boilerplate of simple test code
17667
ac_outfile=conftest.$ac_objext
17668
echo "$lt_simple_compile_test_code" >conftest.$ac_ext
17669
eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
17670
_lt_compiler_boilerplate=`cat conftest.err`
17673
ac_outfile=conftest.$ac_objext
17674
echo "$lt_simple_link_test_code" >conftest.$ac_ext
17675
eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
17676
_lt_linker_boilerplate=`cat conftest.err`
17680
# Allow CC to be a program name with arguments.
17685
for cc_temp in $compiler""; do
17687
compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
17688
distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
17693
cc_basename=`$echo "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
17696
# GCJ did not exist at the time GCC didn't implicitly link libc in.
17697
archive_cmds_need_lc_GCJ=no
17699
old_archive_cmds_GCJ=$old_archive_cmds
17702
## There is no encapsulation within the following macros, do not change
17703
## the running order or otherwise move them around unless you know exactly
17704
## what you are doing...
17706
lt_prog_compiler_no_builtin_flag_GCJ=
17708
if test "$GCC" = yes; then
17709
lt_prog_compiler_no_builtin_flag_GCJ=' -fno-builtin'
17712
{ echo "$as_me:$LINENO: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
17713
echo $ECHO_N "checking if $compiler supports -fno-rtti -fno-exceptions... $ECHO_C" >&6; }
17714
if test "${lt_cv_prog_compiler_rtti_exceptions+set}" = set; then
17715
echo $ECHO_N "(cached) $ECHO_C" >&6
17717
lt_cv_prog_compiler_rtti_exceptions=no
17718
ac_outfile=conftest.$ac_objext
17719
echo "$lt_simple_compile_test_code" > conftest.$ac_ext
17720
lt_compiler_flag="-fno-rtti -fno-exceptions"
17721
# Insert the option either (1) after the last *FLAGS variable, or
17722
# (2) before a word containing "conftest.", or (3) at the end.
17723
# Note that $ac_compile itself does not contain backslashes and begins
17724
# with a dollar sign (not a hyphen), so the echo should work correctly.
17725
# The option is referenced via a variable to avoid confusing sed.
17726
lt_compile=`echo "$ac_compile" | $SED \
17727
-e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
17728
-e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
17729
-e 's:$: $lt_compiler_flag:'`
17730
(eval echo "\"\$as_me:__oline__: $lt_compile\"" >&5)
17731
(eval "$lt_compile" 2>conftest.err)
17733
cat conftest.err >&5
17734
echo "$as_me:__oline__: \$? = $ac_status" >&5
17735
if (exit $ac_status) && test -s "$ac_outfile"; then
17736
# The compiler can only warn and ignore the option if not recognized
17737
# So say no if there are warnings other than the usual output.
17738
$echo "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' >conftest.exp
17739
$SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
17740
if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
17741
lt_cv_prog_compiler_rtti_exceptions=yes
17747
{ echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_rtti_exceptions" >&5
17748
echo "${ECHO_T}$lt_cv_prog_compiler_rtti_exceptions" >&6; }
17750
if test x"$lt_cv_prog_compiler_rtti_exceptions" = xyes; then
17751
lt_prog_compiler_no_builtin_flag_GCJ="$lt_prog_compiler_no_builtin_flag_GCJ -fno-rtti -fno-exceptions"
17758
lt_prog_compiler_wl_GCJ=
17759
lt_prog_compiler_pic_GCJ=
17760
lt_prog_compiler_static_GCJ=
17762
{ echo "$as_me:$LINENO: checking for $compiler option to produce PIC" >&5
17763
echo $ECHO_N "checking for $compiler option to produce PIC... $ECHO_C" >&6; }
17765
if test "$GCC" = yes; then
17766
lt_prog_compiler_wl_GCJ='-Wl,'
17767
lt_prog_compiler_static_GCJ='-static'
17771
# All AIX code is PIC.
17772
if test "$host_cpu" = ia64; then
17773
# AIX 5 now supports IA64 processor
17774
lt_prog_compiler_static_GCJ='-Bstatic'
17779
# FIXME: we need at least 68020 code to build shared libraries, but
17780
# adding the `-m68020' flag to GCC prevents building anything better,
17782
lt_prog_compiler_pic_GCJ='-m68020 -resident32 -malways-restore-a4'
17785
beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
17786
# PIC is the default for these OSes.
17789
mingw* | cygwin* | pw32* | os2*)
17790
# This hack is so that the source file can tell whether it is being
17791
# built for inclusion in a dll (and should export symbols for example).
17792
# Although the cygwin gcc ignores -fPIC, still need this for old-style
17793
# (--disable-auto-import) libraries
17794
lt_prog_compiler_pic_GCJ='-DDLL_EXPORT'
17797
darwin* | rhapsody*)
17798
# PIC is the default on this platform
17799
# Common symbols not allowed in MH_DYLIB files
17800
lt_prog_compiler_pic_GCJ='-fno-common'
17804
# Interix 3.x gcc -fpic/-fPIC options generate broken code.
17805
# Instead, we relocate shared libraries at runtime.
17809
# Just because we use GCC doesn't mean we suddenly get shared libraries
17810
# on systems that don't support them.
17811
lt_prog_compiler_can_build_shared_GCJ=no
17816
if test -d /usr/nec; then
17817
lt_prog_compiler_pic_GCJ=-Kconform_pic
17822
# PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
17823
# not for PA HP-UX.
17829
lt_prog_compiler_pic_GCJ='-fPIC'
17835
lt_prog_compiler_pic_GCJ='-fPIC'
17839
# PORTME Check for flag to pass linker flags through the system compiler.
17842
lt_prog_compiler_wl_GCJ='-Wl,'
17843
if test "$host_cpu" = ia64; then
17844
# AIX 5 now supports IA64 processor
17845
lt_prog_compiler_static_GCJ='-Bstatic'
17847
lt_prog_compiler_static_GCJ='-bnso -bI:/lib/syscalls.exp'
17851
# PIC is the default on this platform
17852
# Common symbols not allowed in MH_DYLIB files
17853
case $cc_basename in
17855
lt_prog_compiler_pic_GCJ='-qnocommon'
17856
lt_prog_compiler_wl_GCJ='-Wl,'
17861
mingw* | cygwin* | pw32* | os2*)
17862
# This hack is so that the source file can tell whether it is being
17863
# built for inclusion in a dll (and should export symbols for example).
17864
lt_prog_compiler_pic_GCJ='-DDLL_EXPORT'
17867
hpux9* | hpux10* | hpux11*)
17868
lt_prog_compiler_wl_GCJ='-Wl,'
17869
# PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
17870
# not for PA HP-UX.
17876
lt_prog_compiler_pic_GCJ='+Z'
17879
# Is there a better lt_prog_compiler_static that works with the bundled CC?
17880
lt_prog_compiler_static_GCJ='${wl}-a ${wl}archive'
17883
irix5* | irix6* | nonstopux*)
17884
lt_prog_compiler_wl_GCJ='-Wl,'
17885
# PIC (with -KPIC) is the default.
17886
lt_prog_compiler_static_GCJ='-non_shared'
17890
lt_prog_compiler_pic_GCJ='-KPIC'
17891
lt_prog_compiler_static_GCJ='-Bstatic'
17894
linux* | k*bsd*-gnu)
17895
case $cc_basename in
17897
lt_prog_compiler_wl_GCJ='-Wl,'
17898
lt_prog_compiler_pic_GCJ='-KPIC'
17899
lt_prog_compiler_static_GCJ='-static'
17901
pgcc* | pgf77* | pgf90* | pgf95*)
17902
# Portland Group compilers (*not* the Pentium gcc compiler,
17903
# which looks to be a dead project)
17904
lt_prog_compiler_wl_GCJ='-Wl,'
17905
lt_prog_compiler_pic_GCJ='-fpic'
17906
lt_prog_compiler_static_GCJ='-Bstatic'
17909
lt_prog_compiler_wl_GCJ='-Wl,'
17910
# All Alpha code is PIC.
17911
lt_prog_compiler_static_GCJ='-non_shared'
17914
case `$CC -V 2>&1 | sed 5q` in
17917
lt_prog_compiler_pic_GCJ='-KPIC'
17918
lt_prog_compiler_static_GCJ='-Bstatic'
17919
lt_prog_compiler_wl_GCJ='-Wl,'
17922
# Sun Fortran 8.3 passes all unrecognized flags to the linker
17923
lt_prog_compiler_pic_GCJ='-KPIC'
17924
lt_prog_compiler_static_GCJ='-Bstatic'
17925
lt_prog_compiler_wl_GCJ=''
17932
osf3* | osf4* | osf5*)
17933
lt_prog_compiler_wl_GCJ='-Wl,'
17934
# All OSF/1 code is PIC.
17935
lt_prog_compiler_static_GCJ='-non_shared'
17939
lt_prog_compiler_static_GCJ='-non_shared'
17943
lt_prog_compiler_pic_GCJ='-KPIC'
17944
lt_prog_compiler_static_GCJ='-Bstatic'
17945
case $cc_basename in
17946
f77* | f90* | f95*)
17947
lt_prog_compiler_wl_GCJ='-Qoption ld ';;
17949
lt_prog_compiler_wl_GCJ='-Wl,';;
17954
lt_prog_compiler_wl_GCJ='-Qoption ld '
17955
lt_prog_compiler_pic_GCJ='-PIC'
17956
lt_prog_compiler_static_GCJ='-Bstatic'
17959
sysv4 | sysv4.2uw2* | sysv4.3*)
17960
lt_prog_compiler_wl_GCJ='-Wl,'
17961
lt_prog_compiler_pic_GCJ='-KPIC'
17962
lt_prog_compiler_static_GCJ='-Bstatic'
17966
if test -d /usr/nec ;then
17967
lt_prog_compiler_pic_GCJ='-Kconform_pic'
17968
lt_prog_compiler_static_GCJ='-Bstatic'
17972
sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
17973
lt_prog_compiler_wl_GCJ='-Wl,'
17974
lt_prog_compiler_pic_GCJ='-KPIC'
17975
lt_prog_compiler_static_GCJ='-Bstatic'
17979
lt_prog_compiler_wl_GCJ='-Wl,'
17980
lt_prog_compiler_can_build_shared_GCJ=no
17984
lt_prog_compiler_pic_GCJ='-pic'
17985
lt_prog_compiler_static_GCJ='-Bstatic'
17989
lt_prog_compiler_can_build_shared_GCJ=no
17994
{ echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_GCJ" >&5
17995
echo "${ECHO_T}$lt_prog_compiler_pic_GCJ" >&6; }
17998
# Check to make sure the PIC flag actually works.
18000
if test -n "$lt_prog_compiler_pic_GCJ"; then
18002
{ echo "$as_me:$LINENO: checking if $compiler PIC flag $lt_prog_compiler_pic_GCJ works" >&5
18003
echo $ECHO_N "checking if $compiler PIC flag $lt_prog_compiler_pic_GCJ works... $ECHO_C" >&6; }
18004
if test "${lt_prog_compiler_pic_works_GCJ+set}" = set; then
18005
echo $ECHO_N "(cached) $ECHO_C" >&6
18007
lt_prog_compiler_pic_works_GCJ=no
18008
ac_outfile=conftest.$ac_objext
18009
echo "$lt_simple_compile_test_code" > conftest.$ac_ext
18010
lt_compiler_flag="$lt_prog_compiler_pic_GCJ"
18011
# Insert the option either (1) after the last *FLAGS variable, or
18012
# (2) before a word containing "conftest.", or (3) at the end.
18013
# Note that $ac_compile itself does not contain backslashes and begins
18014
# with a dollar sign (not a hyphen), so the echo should work correctly.
18015
# The option is referenced via a variable to avoid confusing sed.
18016
lt_compile=`echo "$ac_compile" | $SED \
18017
-e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
18018
-e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
18019
-e 's:$: $lt_compiler_flag:'`
18020
(eval echo "\"\$as_me:__oline__: $lt_compile\"" >&5)
18021
(eval "$lt_compile" 2>conftest.err)
18023
cat conftest.err >&5
18024
echo "$as_me:__oline__: \$? = $ac_status" >&5
18025
if (exit $ac_status) && test -s "$ac_outfile"; then
18026
# The compiler can only warn and ignore the option if not recognized
18027
# So say no if there are warnings other than the usual output.
18028
$echo "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' >conftest.exp
18029
$SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
18030
if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
18031
lt_prog_compiler_pic_works_GCJ=yes
18037
{ echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_works_GCJ" >&5
18038
echo "${ECHO_T}$lt_prog_compiler_pic_works_GCJ" >&6; }
18040
if test x"$lt_prog_compiler_pic_works_GCJ" = xyes; then
18041
case $lt_prog_compiler_pic_GCJ in
18043
*) lt_prog_compiler_pic_GCJ=" $lt_prog_compiler_pic_GCJ" ;;
18046
lt_prog_compiler_pic_GCJ=
18047
lt_prog_compiler_can_build_shared_GCJ=no
18052
# For platforms which do not support PIC, -DPIC is meaningless:
18054
lt_prog_compiler_pic_GCJ=
18057
lt_prog_compiler_pic_GCJ="$lt_prog_compiler_pic_GCJ"
18062
# Check to make sure the static flag actually works.
18064
wl=$lt_prog_compiler_wl_GCJ eval lt_tmp_static_flag=\"$lt_prog_compiler_static_GCJ\"
18065
{ echo "$as_me:$LINENO: checking if $compiler static flag $lt_tmp_static_flag works" >&5
18066
echo $ECHO_N "checking if $compiler static flag $lt_tmp_static_flag works... $ECHO_C" >&6; }
18067
if test "${lt_prog_compiler_static_works_GCJ+set}" = set; then
18068
echo $ECHO_N "(cached) $ECHO_C" >&6
18070
lt_prog_compiler_static_works_GCJ=no
18071
save_LDFLAGS="$LDFLAGS"
18072
LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
18073
echo "$lt_simple_link_test_code" > conftest.$ac_ext
18074
if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
18075
# The linker can only warn and ignore the option if not recognized
18076
# So say no if there are warnings
18077
if test -s conftest.err; then
18078
# Append any errors to the config.log.
18079
cat conftest.err 1>&5
18080
$echo "X$_lt_linker_boilerplate" | $Xsed -e '/^$/d' > conftest.exp
18081
$SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
18082
if diff conftest.exp conftest.er2 >/dev/null; then
18083
lt_prog_compiler_static_works_GCJ=yes
18086
lt_prog_compiler_static_works_GCJ=yes
18090
LDFLAGS="$save_LDFLAGS"
18093
{ echo "$as_me:$LINENO: result: $lt_prog_compiler_static_works_GCJ" >&5
18094
echo "${ECHO_T}$lt_prog_compiler_static_works_GCJ" >&6; }
18096
if test x"$lt_prog_compiler_static_works_GCJ" = xyes; then
18099
lt_prog_compiler_static_GCJ=
18103
{ echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5
18104
echo $ECHO_N "checking if $compiler supports -c -o file.$ac_objext... $ECHO_C" >&6; }
18105
if test "${lt_cv_prog_compiler_c_o_GCJ+set}" = set; then
18106
echo $ECHO_N "(cached) $ECHO_C" >&6
18108
lt_cv_prog_compiler_c_o_GCJ=no
18109
$rm -r conftest 2>/dev/null
18113
echo "$lt_simple_compile_test_code" > conftest.$ac_ext
18115
lt_compiler_flag="-o out/conftest2.$ac_objext"
18116
# Insert the option either (1) after the last *FLAGS variable, or
18117
# (2) before a word containing "conftest.", or (3) at the end.
18118
# Note that $ac_compile itself does not contain backslashes and begins
18119
# with a dollar sign (not a hyphen), so the echo should work correctly.
18120
lt_compile=`echo "$ac_compile" | $SED \
18121
-e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
18122
-e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
18123
-e 's:$: $lt_compiler_flag:'`
18124
(eval echo "\"\$as_me:__oline__: $lt_compile\"" >&5)
18125
(eval "$lt_compile" 2>out/conftest.err)
18127
cat out/conftest.err >&5
18128
echo "$as_me:__oline__: \$? = $ac_status" >&5
18129
if (exit $ac_status) && test -s out/conftest2.$ac_objext
18131
# The compiler can only warn and ignore the option if not recognized
18132
# So say no if there are warnings
18133
$echo "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' > out/conftest.exp
18134
$SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
18135
if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
18136
lt_cv_prog_compiler_c_o_GCJ=yes
18141
# SGI C++ compiler will create directory out/ii_files/ for
18142
# template instantiation
18143
test -d out/ii_files && $rm out/ii_files/* && rmdir out/ii_files
18144
$rm out/* && rmdir out
18150
{ echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_c_o_GCJ" >&5
18151
echo "${ECHO_T}$lt_cv_prog_compiler_c_o_GCJ" >&6; }
18154
hard_links="nottested"
18155
if test "$lt_cv_prog_compiler_c_o_GCJ" = no && test "$need_locks" != no; then
18156
# do not overwrite the value of need_locks provided by the user
18157
{ echo "$as_me:$LINENO: checking if we can lock with hard links" >&5
18158
echo $ECHO_N "checking if we can lock with hard links... $ECHO_C" >&6; }
18161
ln conftest.a conftest.b 2>/dev/null && hard_links=no
18163
ln conftest.a conftest.b 2>&5 || hard_links=no
18164
ln conftest.a conftest.b 2>/dev/null && hard_links=no
18165
{ echo "$as_me:$LINENO: result: $hard_links" >&5
18166
echo "${ECHO_T}$hard_links" >&6; }
18167
if test "$hard_links" = no; then
18168
{ echo "$as_me:$LINENO: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
18169
echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
18176
{ echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5
18177
echo $ECHO_N "checking whether the $compiler linker ($LD) supports shared libraries... $ECHO_C" >&6; }
18180
allow_undefined_flag_GCJ=
18181
enable_shared_with_static_runtimes_GCJ=no
18183
archive_expsym_cmds_GCJ=
18184
old_archive_From_new_cmds_GCJ=
18185
old_archive_from_expsyms_cmds_GCJ=
18186
export_dynamic_flag_spec_GCJ=
18187
whole_archive_flag_spec_GCJ=
18188
thread_safe_flag_spec_GCJ=
18189
hardcode_libdir_flag_spec_GCJ=
18190
hardcode_libdir_flag_spec_ld_GCJ=
18191
hardcode_libdir_separator_GCJ=
18192
hardcode_direct_GCJ=no
18193
hardcode_minus_L_GCJ=no
18194
hardcode_shlibpath_var_GCJ=unsupported
18195
link_all_deplibs_GCJ=unknown
18196
hardcode_automatic_GCJ=no
18198
module_expsym_cmds_GCJ=
18199
always_export_symbols_GCJ=no
18200
export_symbols_cmds_GCJ='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
18201
# include_expsyms should be a list of space-separated symbols to be *always*
18202
# included in the symbol list
18203
include_expsyms_GCJ=
18204
# exclude_expsyms can be an extended regexp of symbols to exclude
18205
# it will be wrapped by ` (' and `)$', so one must not match beginning or
18206
# end of line. Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
18207
# as well as any symbol that contains `d'.
18208
exclude_expsyms_GCJ="_GLOBAL_OFFSET_TABLE_"
18209
# Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
18210
# platforms (ab)use it in PIC code, but their linkers get confused if
18211
# the symbol is explicitly referenced. Since portable code cannot
18212
# rely on this symbol name, it's probably fine to never include it in
18213
# preloaded symbol tables.
18214
extract_expsyms_cmds=
18215
# Just being paranoid about ensuring that cc_basename is set.
18216
for cc_temp in $compiler""; do
18218
compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
18219
distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
18224
cc_basename=`$echo "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
18227
cygwin* | mingw* | pw32*)
18228
# FIXME: the MSVC++ port hasn't been tested in a loooong time
18229
# When not using gcc, we currently assume that we are using
18230
# Microsoft Visual C++.
18231
if test "$GCC" != yes; then
18236
# we just hope/assume this is gcc and not c89 (= MSVC++)
18245
if test "$with_gnu_ld" = yes; then
18246
# If archive_cmds runs LD, not CC, wlarc should be empty
18249
# Set some defaults for GNU ld with shared library support. These
18250
# are reset later if shared libraries are not supported. Putting them
18251
# here allows them to be overridden if necessary.
18252
runpath_var=LD_RUN_PATH
18253
hardcode_libdir_flag_spec_GCJ='${wl}--rpath ${wl}$libdir'
18254
export_dynamic_flag_spec_GCJ='${wl}--export-dynamic'
18255
# ancient GNU ld didn't support --whole-archive et. al.
18256
if $LD --help 2>&1 | grep 'no-whole-archive' > /dev/null; then
18257
whole_archive_flag_spec_GCJ="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
18259
whole_archive_flag_spec_GCJ=
18261
supports_anon_versioning=no
18262
case `$LD -v 2>/dev/null` in
18263
*\ [01].* | *\ 2.[0-9].* | *\ 2.10.*) ;; # catch versions < 2.11
18264
*\ 2.11.93.0.2\ *) supports_anon_versioning=yes ;; # RH7.3 ...
18265
*\ 2.11.92.0.12\ *) supports_anon_versioning=yes ;; # Mandrake 8.2 ...
18266
*\ 2.11.*) ;; # other 2.11 versions
18267
*) supports_anon_versioning=yes ;;
18270
# See if GNU ld supports shared libraries.
18272
aix3* | aix4* | aix5*)
18273
# On AIX/PPC, the GNU linker is very broken
18274
if test "$host_cpu" != ia64; then
18278
*** Warning: the GNU linker, at least up to release 2.9.1, is reported
18279
*** to be unable to reliably create shared libraries on AIX.
18280
*** Therefore, libtool is disabling shared libraries support. If you
18281
*** really care for shared libraries, you may want to modify your PATH
18282
*** so that a non-GNU linker is found, and then restart.
18289
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)'
18290
hardcode_libdir_flag_spec_GCJ='-L$libdir'
18291
hardcode_minus_L_GCJ=yes
18293
# Samuel A. Falvo II <kc5tja@dolphin.openprojects.net> reports
18294
# that the semantics of dynamic libraries on AmigaOS, at least up
18295
# to version 4, is to share data among multiple programs linked
18296
# with the same dynamic library. Since this doesn't match the
18297
# behavior of shared libraries on other platforms, we can't use
18303
if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
18304
allow_undefined_flag_GCJ=unsupported
18305
# Joseph Beckenbach <jrb3@best.com> says some releases of gcc
18306
# support --undefined. This deserves some investigation. FIXME
18307
archive_cmds_GCJ='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
18313
cygwin* | mingw* | pw32*)
18314
# _LT_AC_TAGVAR(hardcode_libdir_flag_spec, GCJ) is actually meaningless,
18315
# as there is no search path for DLLs.
18316
hardcode_libdir_flag_spec_GCJ='-L$libdir'
18317
allow_undefined_flag_GCJ=unsupported
18318
always_export_symbols_GCJ=no
18319
enable_shared_with_static_runtimes_GCJ=yes
18320
export_symbols_cmds_GCJ='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1 DATA/'\'' -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols'
18322
if $LD --help 2>&1 | grep 'auto-import' > /dev/null; then
18323
archive_cmds_GCJ='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
18324
# If the export-symbols file already is a .def file (1st line
18325
# is EXPORTS), use it as is; otherwise, prepend...
18326
archive_expsym_cmds_GCJ='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
18327
cp $export_symbols $output_objdir/$soname.def;
18329
echo EXPORTS > $output_objdir/$soname.def;
18330
cat $export_symbols >> $output_objdir/$soname.def;
18332
$CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
18339
hardcode_direct_GCJ=no
18340
hardcode_shlibpath_var_GCJ=no
18341
hardcode_libdir_flag_spec_GCJ='${wl}-rpath,$libdir'
18342
export_dynamic_flag_spec_GCJ='${wl}-E'
18343
# Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
18344
# Instead, shared libraries are loaded at an image base (0x10000000 by
18345
# default) and relocated if they conflict, which is a slow very memory
18346
# consuming and fragmenting process. To avoid this, we pick a random,
18347
# 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
18348
# time. Moving up from 0x10000000 also allows more sbrk(2) space.
18349
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'
18350
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'
18353
gnu* | linux* | k*bsd*-gnu)
18354
if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
18356
case $cc_basename,$host_cpu in
18357
pgcc*) # Portland Group C compiler
18358
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'
18359
tmp_addflag=' $pic_flag'
18361
pgf77* | pgf90* | pgf95*) # Portland Group f77 and f90 compilers
18362
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'
18363
tmp_addflag=' $pic_flag -Mnomain' ;;
18364
ecc*,ia64* | icc*,ia64*) # Intel C compiler on ia64
18365
tmp_addflag=' -i_dynamic' ;;
18366
efc*,ia64* | ifort*,ia64*) # Intel Fortran compiler on ia64
18367
tmp_addflag=' -i_dynamic -nofor_main' ;;
18368
ifc* | ifort*) # Intel Fortran compiler
18369
tmp_addflag=' -nofor_main' ;;
18371
case `$CC -V 2>&1 | sed 5q` in
18372
*Sun\ C*) # Sun C 5.9
18373
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'
18374
tmp_sharedflag='-G' ;;
18375
*Sun\ F*) # Sun Fortran 8.3
18376
tmp_sharedflag='-G' ;;
18378
tmp_sharedflag='-shared' ;;
18380
archive_cmds_GCJ='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
18382
if test $supports_anon_versioning = yes; then
18383
archive_expsym_cmds_GCJ='$echo "{ global:" > $output_objdir/$libname.ver~
18384
cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
18385
$echo "local: *; };" >> $output_objdir/$libname.ver~
18386
$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
18388
link_all_deplibs_GCJ=no
18394
netbsd* | netbsdelf*-gnu)
18395
if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
18396
archive_cmds_GCJ='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
18399
archive_cmds_GCJ='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
18400
archive_expsym_cmds_GCJ='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
18405
if $LD -v 2>&1 | grep 'BFD 2\.8' > /dev/null; then
18409
*** Warning: The releases 2.8.* of the GNU linker cannot reliably
18410
*** create shared libraries on Solaris systems. Therefore, libtool
18411
*** is disabling shared libraries support. We urge you to upgrade GNU
18412
*** binutils to release 2.9.1 or newer. Another option is to modify
18413
*** your PATH or compiler configuration so that the native linker is
18414
*** used, and then restart.
18417
elif $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
18418
archive_cmds_GCJ='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
18419
archive_expsym_cmds_GCJ='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
18425
sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX*)
18426
case `$LD -v 2>&1` in
18427
*\ [01].* | *\ 2.[0-9].* | *\ 2.1[0-5].*)
18431
*** Warning: Releases of the GNU linker prior to 2.16.91.0.3 can not
18432
*** reliably create shared libraries on SCO systems. Therefore, libtool
18433
*** is disabling shared libraries support. We urge you to upgrade GNU
18434
*** binutils to release 2.16.91.0.3 or newer. Another option is to modify
18435
*** your PATH or compiler configuration so that the native linker is
18436
*** used, and then restart.
18441
if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
18442
hardcode_libdir_flag_spec_GCJ='`test -z "$SCOABSPATH" && echo ${wl}-rpath,$libdir`'
18443
archive_cmds_GCJ='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib'
18444
archive_expsym_cmds_GCJ='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname,\${SCOABSPATH:+${install_libdir}/}$soname,-retain-symbols-file,$export_symbols -o $lib'
18453
archive_cmds_GCJ='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
18455
hardcode_direct_GCJ=yes
18456
hardcode_shlibpath_var_GCJ=no
18460
if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
18461
archive_cmds_GCJ='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
18462
archive_expsym_cmds_GCJ='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
18469
if test "$ld_shlibs_GCJ" = no; then
18471
hardcode_libdir_flag_spec_GCJ=
18472
export_dynamic_flag_spec_GCJ=
18473
whole_archive_flag_spec_GCJ=
18476
# PORTME fill in a description of your system's linker (not GNU ld)
18479
allow_undefined_flag_GCJ=unsupported
18480
always_export_symbols_GCJ=yes
18481
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'
18482
# Note: this linker hardcodes the directories in LIBPATH if there
18483
# are no directories specified by -L.
18484
hardcode_minus_L_GCJ=yes
18485
if test "$GCC" = yes && test -z "$lt_prog_compiler_static"; then
18486
# Neither direct hardcoding nor static linking is supported with a
18488
hardcode_direct_GCJ=unsupported
18493
if test "$host_cpu" = ia64; then
18494
# On IA64, the linker does run time linking by default, so we don't
18495
# have to do anything special.
18496
aix_use_runtimelinking=no
18497
exp_sym_flag='-Bexport'
18500
# If we're using GNU nm, then we don't want the "-C" option.
18501
# -C means demangle to AIX nm, but means don't demangle with GNU nm
18502
if $NM -V 2>&1 | grep 'GNU' > /dev/null; then
18503
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'
18505
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'
18507
aix_use_runtimelinking=no
18509
# Test if we are trying to use run time linking or normal
18510
# AIX style linking. If -brtl is somewhere in LDFLAGS, we
18511
# need to do runtime linking.
18512
case $host_os in aix4.[23]|aix4.[23].*|aix5*)
18513
for ld_flag in $LDFLAGS; do
18514
if (test $ld_flag = "-brtl" || test $ld_flag = "-Wl,-brtl"); then
18515
aix_use_runtimelinking=yes
18522
exp_sym_flag='-bexport'
18523
no_entry_flag='-bnoentry'
18526
# When large executables or shared objects are built, AIX ld can
18527
# have problems creating the table of contents. If linking a library
18528
# or program results in "error TOC overflow" add -mminimal-toc to
18529
# CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
18530
# enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
18532
archive_cmds_GCJ=''
18533
hardcode_direct_GCJ=yes
18534
hardcode_libdir_separator_GCJ=':'
18535
link_all_deplibs_GCJ=yes
18537
if test "$GCC" = yes; then
18538
case $host_os in aix4.[012]|aix4.[012].*)
18539
# We only want to do this on AIX 4.2 and lower, the check
18540
# below for broken collect2 doesn't work under 4.3+
18541
collect2name=`${CC} -print-prog-name=collect2`
18542
if test -f "$collect2name" && \
18543
strings "$collect2name" | grep resolve_lib_name >/dev/null
18545
# We have reworked collect2
18548
# We have old collect2
18549
hardcode_direct_GCJ=unsupported
18550
# It fails to find uninstalled libraries when the uninstalled
18551
# path is not listed in the libpath. Setting hardcode_minus_L
18552
# to unsupported forces relinking
18553
hardcode_minus_L_GCJ=yes
18554
hardcode_libdir_flag_spec_GCJ='-L$libdir'
18555
hardcode_libdir_separator_GCJ=
18559
shared_flag='-shared'
18560
if test "$aix_use_runtimelinking" = yes; then
18561
shared_flag="$shared_flag "'${wl}-G'
18565
if test "$host_cpu" = ia64; then
18566
# VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
18567
# chokes on -Wl,-G. The following line is correct:
18570
if test "$aix_use_runtimelinking" = yes; then
18571
shared_flag='${wl}-G'
18573
shared_flag='${wl}-bM:SRE'
18578
# It seems that -bexpall does not export symbols beginning with
18579
# underscore (_), so it is better to generate a list of symbols to export.
18580
always_export_symbols_GCJ=yes
18581
if test "$aix_use_runtimelinking" = yes; then
18582
# Warning - without using the other runtime loading flags (-brtl),
18583
# -berok will link without error, but may produce a broken library.
18584
allow_undefined_flag_GCJ='-berok'
18585
# Determine the default libpath from the value encoded in an empty executable.
18586
cat >conftest.$ac_ext <<_ACEOF
18589
cat confdefs.h >>conftest.$ac_ext
18590
cat >>conftest.$ac_ext <<_ACEOF
18591
/* end confdefs.h. */
18601
rm -f conftest.$ac_objext conftest$ac_exeext
18602
if { (ac_try="$ac_link"
18603
case "(($ac_try" in
18604
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18605
*) ac_try_echo=$ac_try;;
18607
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18608
(eval "$ac_link") 2>conftest.er1
18610
grep -v '^ *+' conftest.er1 >conftest.err
18612
cat conftest.err >&5
18613
echo "$as_me:$LINENO: \$? = $ac_status" >&5
18614
(exit $ac_status); } && {
18615
test -z "$ac_c_werror_flag" ||
18616
test ! -s conftest.err
18617
} && test -s conftest$ac_exeext &&
18618
$as_test_x conftest$ac_exeext; then
18620
lt_aix_libpath_sed='
18621
/Import File Strings/,/^$/ {
18627
aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
18628
# Check for a 64-bit object if we didn't find anything.
18629
if test -z "$aix_libpath"; then
18630
aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
18633
echo "$as_me: failed program was:" >&5
18634
sed 's/^/| /' conftest.$ac_ext >&5
18639
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
18640
conftest$ac_exeext conftest.$ac_ext
18641
if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
18643
hardcode_libdir_flag_spec_GCJ='${wl}-blibpath:$libdir:'"$aix_libpath"
18644
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"
18646
if test "$host_cpu" = ia64; then
18647
hardcode_libdir_flag_spec_GCJ='${wl}-R $libdir:/usr/lib:/lib'
18648
allow_undefined_flag_GCJ="-z nodefs"
18649
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"
18651
# Determine the default libpath from the value encoded in an empty executable.
18652
cat >conftest.$ac_ext <<_ACEOF
18655
cat confdefs.h >>conftest.$ac_ext
18656
cat >>conftest.$ac_ext <<_ACEOF
18657
/* end confdefs.h. */
18667
rm -f conftest.$ac_objext conftest$ac_exeext
18668
if { (ac_try="$ac_link"
18669
case "(($ac_try" in
18670
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18671
*) ac_try_echo=$ac_try;;
18673
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18674
(eval "$ac_link") 2>conftest.er1
18676
grep -v '^ *+' conftest.er1 >conftest.err
18678
cat conftest.err >&5
18679
echo "$as_me:$LINENO: \$? = $ac_status" >&5
18680
(exit $ac_status); } && {
18681
test -z "$ac_c_werror_flag" ||
18682
test ! -s conftest.err
18683
} && test -s conftest$ac_exeext &&
18684
$as_test_x conftest$ac_exeext; then
18686
lt_aix_libpath_sed='
18687
/Import File Strings/,/^$/ {
18693
aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
18694
# Check for a 64-bit object if we didn't find anything.
18695
if test -z "$aix_libpath"; then
18696
aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
18699
echo "$as_me: failed program was:" >&5
18700
sed 's/^/| /' conftest.$ac_ext >&5
18705
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
18706
conftest$ac_exeext conftest.$ac_ext
18707
if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
18709
hardcode_libdir_flag_spec_GCJ='${wl}-blibpath:$libdir:'"$aix_libpath"
18710
# Warning - without using the other run time loading flags,
18711
# -berok will link without error, but may produce a broken library.
18712
no_undefined_flag_GCJ=' ${wl}-bernotok'
18713
allow_undefined_flag_GCJ=' ${wl}-berok'
18714
# Exported symbols can be pulled into shared objects from archives
18715
whole_archive_flag_spec_GCJ='$convenience'
18716
archive_cmds_need_lc_GCJ=yes
18717
# This is similar to how AIX traditionally builds its shared libraries.
18718
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'
18724
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)'
18725
hardcode_libdir_flag_spec_GCJ='-L$libdir'
18726
hardcode_minus_L_GCJ=yes
18727
# see comment about different semantics on the GNU ld section
18732
export_dynamic_flag_spec_GCJ=-rdynamic
18735
cygwin* | mingw* | pw32*)
18736
# When not using gcc, we currently assume that we are using
18737
# Microsoft Visual C++.
18738
# hardcode_libdir_flag_spec is actually meaningless, as there is
18739
# no search path for DLLs.
18740
hardcode_libdir_flag_spec_GCJ=' '
18741
allow_undefined_flag_GCJ=unsupported
18742
# Tell ltmain to make .lib files, not .a files.
18744
# Tell ltmain to make .dll files, not .so files.
18746
# FIXME: Setting linknames here is a bad hack.
18747
archive_cmds_GCJ='$CC -o $lib $libobjs $compiler_flags `echo "$deplibs" | $SED -e '\''s/ -lc$//'\''` -link -dll~linknames='
18748
# The linker will automatically build a .lib file if we build a DLL.
18749
old_archive_From_new_cmds_GCJ='true'
18750
# FIXME: Should let the user specify the lib program.
18751
old_archive_cmds_GCJ='lib -OUT:$oldlib$oldobjs$old_deplibs'
18752
fix_srcfile_path_GCJ='`cygpath -w "$srcfile"`'
18753
enable_shared_with_static_runtimes_GCJ=yes
18756
darwin* | rhapsody*)
18758
rhapsody* | darwin1.[012])
18759
allow_undefined_flag_GCJ='${wl}-undefined ${wl}suppress'
18762
if test -z ${MACOSX_DEPLOYMENT_TARGET} ; then
18763
allow_undefined_flag_GCJ='${wl}-flat_namespace ${wl}-undefined ${wl}suppress'
18765
case ${MACOSX_DEPLOYMENT_TARGET} in
18767
allow_undefined_flag_GCJ='${wl}-flat_namespace ${wl}-undefined ${wl}suppress'
18770
allow_undefined_flag_GCJ='${wl}-undefined ${wl}dynamic_lookup'
18776
archive_cmds_need_lc_GCJ=no
18777
hardcode_direct_GCJ=no
18778
hardcode_automatic_GCJ=yes
18779
hardcode_shlibpath_var_GCJ=unsupported
18780
whole_archive_flag_spec_GCJ=''
18781
link_all_deplibs_GCJ=yes
18782
if test "$GCC" = yes ; then
18783
output_verbose_link_cmd='echo'
18784
archive_cmds_GCJ='$CC -dynamiclib $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags -install_name $rpath/$soname $verstring'
18785
module_cmds_GCJ='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
18786
# Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin lds
18787
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}'
18788
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}'
18790
case $cc_basename in
18792
output_verbose_link_cmd='echo'
18793
archive_cmds_GCJ='$CC -qmkshrobj $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-install_name ${wl}`echo $rpath/$soname` $xlcverstring'
18794
module_cmds_GCJ='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
18795
# Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin lds
18796
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}'
18797
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}'
18807
archive_cmds_GCJ='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
18808
hardcode_libdir_flag_spec_GCJ='-L$libdir'
18809
hardcode_shlibpath_var_GCJ=no
18816
# FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
18817
# support. Future versions do this automatically, but an explicit c++rt0.o
18818
# does not break anything, and helps significantly (at the cost of a little
18821
archive_cmds_GCJ='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
18822
hardcode_libdir_flag_spec_GCJ='-R$libdir'
18823
hardcode_direct_GCJ=yes
18824
hardcode_shlibpath_var_GCJ=no
18827
# Unfortunately, older versions of FreeBSD 2 do not have this feature.
18829
archive_cmds_GCJ='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
18830
hardcode_direct_GCJ=yes
18831
hardcode_minus_L_GCJ=yes
18832
hardcode_shlibpath_var_GCJ=no
18835
# FreeBSD 3 and greater uses gcc -shared to do shared libraries.
18836
freebsd* | dragonfly*)
18837
archive_cmds_GCJ='$CC -shared -o $lib $libobjs $deplibs $compiler_flags'
18838
hardcode_libdir_flag_spec_GCJ='-R$libdir'
18839
hardcode_direct_GCJ=yes
18840
hardcode_shlibpath_var_GCJ=no
18844
if test "$GCC" = yes; then
18845
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'
18847
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'
18849
hardcode_libdir_flag_spec_GCJ='${wl}+b ${wl}$libdir'
18850
hardcode_libdir_separator_GCJ=:
18851
hardcode_direct_GCJ=yes
18853
# hardcode_minus_L: Not really in the search PATH,
18854
# but as the default location of the library.
18855
hardcode_minus_L_GCJ=yes
18856
export_dynamic_flag_spec_GCJ='${wl}-E'
18860
if test "$GCC" = yes -a "$with_gnu_ld" = no; then
18861
archive_cmds_GCJ='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
18863
archive_cmds_GCJ='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
18865
if test "$with_gnu_ld" = no; then
18866
hardcode_libdir_flag_spec_GCJ='${wl}+b ${wl}$libdir'
18867
hardcode_libdir_separator_GCJ=:
18869
hardcode_direct_GCJ=yes
18870
export_dynamic_flag_spec_GCJ='${wl}-E'
18872
# hardcode_minus_L: Not really in the search PATH,
18873
# but as the default location of the library.
18874
hardcode_minus_L_GCJ=yes
18879
if test "$GCC" = yes -a "$with_gnu_ld" = no; then
18882
archive_cmds_GCJ='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
18885
archive_cmds_GCJ='$CC -shared ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
18888
archive_cmds_GCJ='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
18894
archive_cmds_GCJ='$CC -b ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
18897
archive_cmds_GCJ='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
18900
archive_cmds_GCJ='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
18904
if test "$with_gnu_ld" = no; then
18905
hardcode_libdir_flag_spec_GCJ='${wl}+b ${wl}$libdir'
18906
hardcode_libdir_separator_GCJ=:
18910
hardcode_libdir_flag_spec_ld_GCJ='+b $libdir'
18911
hardcode_direct_GCJ=no
18912
hardcode_shlibpath_var_GCJ=no
18915
hardcode_direct_GCJ=yes
18916
export_dynamic_flag_spec_GCJ='${wl}-E'
18918
# hardcode_minus_L: Not really in the search PATH,
18919
# but as the default location of the library.
18920
hardcode_minus_L_GCJ=yes
18926
irix5* | irix6* | nonstopux*)
18927
if test "$GCC" = yes; then
18928
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'
18930
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'
18931
hardcode_libdir_flag_spec_ld_GCJ='-rpath $libdir'
18933
hardcode_libdir_flag_spec_GCJ='${wl}-rpath ${wl}$libdir'
18934
hardcode_libdir_separator_GCJ=:
18935
link_all_deplibs_GCJ=yes
18938
netbsd* | netbsdelf*-gnu)
18939
if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
18940
archive_cmds_GCJ='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' # a.out
18942
archive_cmds_GCJ='$LD -shared -o $lib $libobjs $deplibs $linker_flags' # ELF
18944
hardcode_libdir_flag_spec_GCJ='-R$libdir'
18945
hardcode_direct_GCJ=yes
18946
hardcode_shlibpath_var_GCJ=no
18950
archive_cmds_GCJ='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
18951
hardcode_direct_GCJ=yes
18952
hardcode_libdir_flag_spec_GCJ='${wl}-rpath ${wl}$libdir'
18953
hardcode_libdir_separator_GCJ=:
18954
hardcode_shlibpath_var_GCJ=no
18958
if test -f /usr/libexec/ld.so; then
18959
hardcode_direct_GCJ=yes
18960
hardcode_shlibpath_var_GCJ=no
18961
if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
18962
archive_cmds_GCJ='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
18963
archive_expsym_cmds_GCJ='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols'
18964
hardcode_libdir_flag_spec_GCJ='${wl}-rpath,$libdir'
18965
export_dynamic_flag_spec_GCJ='${wl}-E'
18968
openbsd[01].* | openbsd2.[0-7] | openbsd2.[0-7].*)
18969
archive_cmds_GCJ='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
18970
hardcode_libdir_flag_spec_GCJ='-R$libdir'
18973
archive_cmds_GCJ='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
18974
hardcode_libdir_flag_spec_GCJ='${wl}-rpath,$libdir'
18984
hardcode_libdir_flag_spec_GCJ='-L$libdir'
18985
hardcode_minus_L_GCJ=yes
18986
allow_undefined_flag_GCJ=unsupported
18987
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'
18988
old_archive_From_new_cmds_GCJ='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
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}-soname ${wl}$soname `test -n "$verstring" && echo ${wl}-set_version ${wl}$verstring` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
18996
allow_undefined_flag_GCJ=' -expect_unresolved \*'
18997
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'
18999
hardcode_libdir_flag_spec_GCJ='${wl}-rpath ${wl}$libdir'
19000
hardcode_libdir_separator_GCJ=:
19003
osf4* | osf5*) # as osf3* with the addition of -msym flag
19004
if test "$GCC" = yes; then
19005
allow_undefined_flag_GCJ=' ${wl}-expect_unresolved ${wl}\*'
19006
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'
19007
hardcode_libdir_flag_spec_GCJ='${wl}-rpath ${wl}$libdir'
19009
allow_undefined_flag_GCJ=' -expect_unresolved \*'
19010
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'
19011
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~
19012
$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'
19014
# Both c and cxx compiler support -rpath directly
19015
hardcode_libdir_flag_spec_GCJ='-rpath $libdir'
19017
hardcode_libdir_separator_GCJ=:
19021
no_undefined_flag_GCJ=' -z text'
19022
if test "$GCC" = yes; then
19024
archive_cmds_GCJ='$CC -shared ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
19025
archive_expsym_cmds_GCJ='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
19026
$CC -shared ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags~$rm $lib.exp'
19029
archive_cmds_GCJ='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
19030
archive_expsym_cmds_GCJ='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
19031
$LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$rm $lib.exp'
19033
hardcode_libdir_flag_spec_GCJ='-R$libdir'
19034
hardcode_shlibpath_var_GCJ=no
19036
solaris2.[0-5] | solaris2.[0-5].*) ;;
19038
# The compiler driver will combine and reorder linker options,
19039
# but understands `-z linker_flag'. GCC discards it without `$wl',
19040
# but is careful enough not to reorder.
19041
# Supported since Solaris 2.6 (maybe 2.5.1?)
19042
if test "$GCC" = yes; then
19043
whole_archive_flag_spec_GCJ='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
19045
whole_archive_flag_spec_GCJ='-z allextract$convenience -z defaultextract'
19049
link_all_deplibs_GCJ=yes
19053
if test "x$host_vendor" = xsequent; then
19054
# Use $CC to link under sequent, because it throws in some extra .o
19055
# files that make .init and .fini sections work.
19056
archive_cmds_GCJ='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags'
19058
archive_cmds_GCJ='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
19060
hardcode_libdir_flag_spec_GCJ='-L$libdir'
19061
hardcode_direct_GCJ=yes
19062
hardcode_minus_L_GCJ=yes
19063
hardcode_shlibpath_var_GCJ=no
19067
case $host_vendor in
19069
archive_cmds_GCJ='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
19070
hardcode_direct_GCJ=yes # is this really true???
19073
## LD is ld it makes a PLAMLIB
19074
## CC just makes a GrossModule.
19075
archive_cmds_GCJ='$LD -G -o $lib $libobjs $deplibs $linker_flags'
19076
reload_cmds_GCJ='$CC -r -o $output$reload_objs'
19077
hardcode_direct_GCJ=no
19080
archive_cmds_GCJ='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
19081
hardcode_direct_GCJ=no #Motorola manual says yes, but my tests say they lie
19084
runpath_var='LD_RUN_PATH'
19085
hardcode_shlibpath_var_GCJ=no
19089
archive_cmds_GCJ='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
19090
hardcode_shlibpath_var_GCJ=no
19091
export_dynamic_flag_spec_GCJ='-Bexport'
19095
if test -d /usr/nec; then
19096
archive_cmds_GCJ='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
19097
hardcode_shlibpath_var_GCJ=no
19098
runpath_var=LD_RUN_PATH
19099
hardcode_runpath_var=yes
19104
sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7* | sco3.2v5.0.[024]*)
19105
no_undefined_flag_GCJ='${wl}-z,text'
19106
archive_cmds_need_lc_GCJ=no
19107
hardcode_shlibpath_var_GCJ=no
19108
runpath_var='LD_RUN_PATH'
19110
if test "$GCC" = yes; then
19111
archive_cmds_GCJ='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
19112
archive_expsym_cmds_GCJ='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
19114
archive_cmds_GCJ='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
19115
archive_expsym_cmds_GCJ='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
19119
sysv5* | sco3.2v5* | sco5v6*)
19120
# Note: We can NOT use -z defs as we might desire, because we do not
19121
# link with -lc, and that would cause any symbols used from libc to
19122
# always be unresolved, which means just about no library would
19123
# ever link correctly. If we're not using GNU ld we use -z text
19124
# though, which does catch some bad symbols but isn't as heavy-handed
19126
no_undefined_flag_GCJ='${wl}-z,text'
19127
allow_undefined_flag_GCJ='${wl}-z,nodefs'
19128
archive_cmds_need_lc_GCJ=no
19129
hardcode_shlibpath_var_GCJ=no
19130
hardcode_libdir_flag_spec_GCJ='`test -z "$SCOABSPATH" && echo ${wl}-R,$libdir`'
19131
hardcode_libdir_separator_GCJ=':'
19132
link_all_deplibs_GCJ=yes
19133
export_dynamic_flag_spec_GCJ='${wl}-Bexport'
19134
runpath_var='LD_RUN_PATH'
19136
if test "$GCC" = yes; then
19137
archive_cmds_GCJ='$CC -shared ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
19138
archive_expsym_cmds_GCJ='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
19140
archive_cmds_GCJ='$CC -G ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
19141
archive_expsym_cmds_GCJ='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
19146
archive_cmds_GCJ='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
19147
hardcode_libdir_flag_spec_GCJ='-L$libdir'
19148
hardcode_shlibpath_var_GCJ=no
19157
{ echo "$as_me:$LINENO: result: $ld_shlibs_GCJ" >&5
19158
echo "${ECHO_T}$ld_shlibs_GCJ" >&6; }
19159
test "$ld_shlibs_GCJ" = no && can_build_shared=no
19162
# Do we need to explicitly link libc?
19164
case "x$archive_cmds_need_lc_GCJ" in
19166
# Assume -lc should be added
19167
archive_cmds_need_lc_GCJ=yes
19169
if test "$enable_shared" = yes && test "$GCC" = yes; then
19170
case $archive_cmds_GCJ in
19172
# FIXME: we may have to deal with multi-command sequences.
19175
# Test whether the compiler implicitly links with -lc since on some
19176
# systems, -lgcc has to come before -lc. If gcc already passes -lc
19177
# to ld, don't add -lc before -lgcc.
19178
{ echo "$as_me:$LINENO: checking whether -lc should be explicitly linked in" >&5
19179
echo $ECHO_N "checking whether -lc should be explicitly linked in... $ECHO_C" >&6; }
19181
echo "$lt_simple_compile_test_code" > conftest.$ac_ext
19183
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19184
(eval $ac_compile) 2>&5
19186
echo "$as_me:$LINENO: \$? = $ac_status" >&5
19187
(exit $ac_status); } 2>conftest.err; then
19190
libobjs=conftest.$ac_objext
19192
wl=$lt_prog_compiler_wl_GCJ
19193
pic_flag=$lt_prog_compiler_pic_GCJ
19199
lt_save_allow_undefined_flag=$allow_undefined_flag_GCJ
19200
allow_undefined_flag_GCJ=
19201
if { (eval echo "$as_me:$LINENO: \"$archive_cmds_GCJ 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1\"") >&5
19202
(eval $archive_cmds_GCJ 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1) 2>&5
19204
echo "$as_me:$LINENO: \$? = $ac_status" >&5
19205
(exit $ac_status); }
19207
archive_cmds_need_lc_GCJ=no
19209
archive_cmds_need_lc_GCJ=yes
19211
allow_undefined_flag_GCJ=$lt_save_allow_undefined_flag
19213
cat conftest.err 1>&5
19216
{ echo "$as_me:$LINENO: result: $archive_cmds_need_lc_GCJ" >&5
19217
echo "${ECHO_T}$archive_cmds_need_lc_GCJ" >&6; }
19224
{ echo "$as_me:$LINENO: checking dynamic linker characteristics" >&5
19225
echo $ECHO_N "checking dynamic linker characteristics... $ECHO_C" >&6; }
19226
library_names_spec=
19227
libname_spec='lib$name'
19231
postuninstall_cmds=
19235
shlibpath_overrides_runpath=unknown
19237
dynamic_linker="$host_os ld.so"
19238
sys_lib_dlsearch_path_spec="/lib /usr/lib"
19240
need_lib_prefix=unknown
19241
hardcode_into_libs=no
19243
# when you set need_version to no, make sure it does not cause -set_version
19244
# flags to be left without arguments
19245
need_version=unknown
19250
library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a'
19251
shlibpath_var=LIBPATH
19253
# AIX 3 has no versioning support, so we append a major version to the name.
19254
soname_spec='${libname}${release}${shared_ext}$major'
19261
hardcode_into_libs=yes
19262
if test "$host_cpu" = ia64; then
19263
# AIX 5 supports IA64
19264
library_names_spec='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
19265
shlibpath_var=LD_LIBRARY_PATH
19267
# With GCC up to 2.95.x, collect2 would create an import file
19268
# for dependence libraries. The import file would start with
19269
# the line `#! .'. This would cause the generated library to
19270
# depend on `.', always an invalid library. This was fixed in
19271
# development snapshots of GCC prior to 3.0.
19273
aix4 | aix4.[01] | aix4.[01].*)
19274
if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
19276
echo '#endif'; } | ${CC} -E - | grep yes > /dev/null; then
19279
can_build_shared=no
19283
# AIX (on Power*) has no versioning support, so currently we can not hardcode correct
19284
# soname into executable. Probably we can add versioning support to
19285
# collect2, so additional links can be useful in future.
19286
if test "$aix_use_runtimelinking" = yes; then
19287
# If using run time linking (on AIX 4.2 or later) use lib<name>.so
19288
# instead of lib<name>.a to let people know that these are not
19289
# typical AIX shared libraries.
19290
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
19292
# We preserve .a as extension for shared libraries through AIX4.2
19293
# and later when we are not doing run time linking.
19294
library_names_spec='${libname}${release}.a $libname.a'
19295
soname_spec='${libname}${release}${shared_ext}$major'
19297
shlibpath_var=LIBPATH
19302
library_names_spec='$libname.ixlibrary $libname.a'
19303
# Create ${libname}_ixlibrary.a entries in /sys/libs.
19304
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'
19308
library_names_spec='${libname}${shared_ext}'
19309
dynamic_linker="$host_os ld.so"
19310
shlibpath_var=LIBRARY_PATH
19316
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
19317
soname_spec='${libname}${release}${shared_ext}$major'
19318
finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
19319
shlibpath_var=LD_LIBRARY_PATH
19320
sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
19321
sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
19322
# the default ld.so.conf also contains /usr/contrib/lib and
19323
# /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
19324
# libtool to hard-code these into programs
19327
cygwin* | mingw* | pw32*)
19328
version_type=windows
19333
case $GCC,$host_os in
19334
yes,cygwin* | yes,mingw* | yes,pw32*)
19335
library_names_spec='$libname.dll.a'
19336
# DLL is installed to $(libdir)/../bin by postinstall_cmds
19337
postinstall_cmds='base_file=`basename \${file}`~
19338
dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i;echo \$dlname'\''`~
19339
dldir=$destdir/`dirname \$dlpath`~
19340
test -d \$dldir || mkdir -p \$dldir~
19341
$install_prog $dir/$dlname \$dldir/$dlname~
19342
chmod a+x \$dldir/$dlname'
19343
postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
19344
dlpath=$dir/\$dldll~
19346
shlibpath_overrides_runpath=yes
19350
# Cygwin DLLs use 'cyg' prefix rather than 'lib'
19351
soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
19352
sys_lib_search_path_spec="/usr/lib /lib/w32api /lib /usr/local/lib"
19355
# MinGW DLLs use traditional 'lib' prefix
19356
soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
19357
sys_lib_search_path_spec=`$CC -print-search-dirs | grep "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
19358
if echo "$sys_lib_search_path_spec" | grep ';[c-zC-Z]:/' >/dev/null; then
19359
# It is most probably a Windows format PATH printed by
19360
# mingw gcc, but we are running on Cygwin. Gcc prints its search
19361
# path with ; separators, and with drive letters. We can handle the
19362
# drive letters (cygwin fileutils understands them), so leave them,
19363
# especially as we might pass files found there to a mingw objdump,
19364
# which wouldn't understand a cygwinified path. Ahh.
19365
sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
19367
sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
19371
# pw32 DLLs use 'pw' prefix rather than 'lib'
19372
library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
19378
library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
19381
dynamic_linker='Win32 ld.exe'
19382
# FIXME: first we should search . and the directory the executable is in
19386
darwin* | rhapsody*)
19387
dynamic_linker="$host_os dyld"
19388
version_type=darwin
19391
library_names_spec='${libname}${release}${versuffix}$shared_ext ${libname}${release}${major}$shared_ext ${libname}$shared_ext'
19392
soname_spec='${libname}${release}${major}$shared_ext'
19393
shlibpath_overrides_runpath=yes
19394
shlibpath_var=DYLD_LIBRARY_PATH
19395
shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`'
19397
sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
19404
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
19405
soname_spec='${libname}${release}${shared_ext}$major'
19406
shlibpath_var=LD_LIBRARY_PATH
19413
freebsd* | dragonfly*)
19414
# DragonFly does not have aout. When/if they implement a new
19415
# versioning mechanism, adjust this.
19416
if test -x /usr/bin/objformat; then
19417
objformat=`/usr/bin/objformat`
19420
freebsd[123]*) objformat=aout ;;
19421
*) objformat=elf ;;
19424
version_type=freebsd-$objformat
19425
case $version_type in
19427
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
19432
library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
19436
shlibpath_var=LD_LIBRARY_PATH
19439
shlibpath_overrides_runpath=yes
19441
freebsd3.[01]* | freebsdelf3.[01]*)
19442
shlibpath_overrides_runpath=yes
19443
hardcode_into_libs=yes
19445
freebsd3.[2-9]* | freebsdelf3.[2-9]* | \
19446
freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1)
19447
shlibpath_overrides_runpath=no
19448
hardcode_into_libs=yes
19450
*) # from 4.6 on, and DragonFly
19451
shlibpath_overrides_runpath=yes
19452
hardcode_into_libs=yes
19461
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
19462
soname_spec='${libname}${release}${shared_ext}$major'
19463
shlibpath_var=LD_LIBRARY_PATH
19464
hardcode_into_libs=yes
19467
hpux9* | hpux10* | hpux11*)
19468
# Give a soname corresponding to the major version so that dld.sl refuses to
19469
# link against other versions.
19476
hardcode_into_libs=yes
19477
dynamic_linker="$host_os dld.so"
19478
shlibpath_var=LD_LIBRARY_PATH
19479
shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
19480
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
19481
soname_spec='${libname}${release}${shared_ext}$major'
19482
if test "X$HPUX_IA64_MODE" = X32; then
19483
sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
19485
sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
19487
sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
19491
hardcode_into_libs=yes
19492
dynamic_linker="$host_os dld.sl"
19493
shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
19494
shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
19495
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
19496
soname_spec='${libname}${release}${shared_ext}$major'
19497
sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
19498
sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
19502
dynamic_linker="$host_os dld.sl"
19503
shlibpath_var=SHLIB_PATH
19504
shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
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'
19509
# HP-UX runs *really* slowly unless shared libraries are mode 555.
19510
postinstall_cmds='chmod 555 $lib'
19517
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
19518
soname_spec='${libname}${release}${shared_ext}$major'
19519
dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)'
19520
shlibpath_var=LD_LIBRARY_PATH
19521
shlibpath_overrides_runpath=no
19522
hardcode_into_libs=yes
19525
irix5* | irix6* | nonstopux*)
19527
nonstopux*) version_type=nonstopux ;;
19529
if test "$lt_cv_prog_gnu_ld" = yes; then
19537
soname_spec='${libname}${release}${shared_ext}$major'
19538
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
19540
irix5* | nonstopux*)
19541
libsuff= shlibsuff=
19544
case $LD in # libtool.m4 will add one of these switches to LD
19545
*-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
19546
libsuff= shlibsuff= libmagic=32-bit;;
19547
*-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
19548
libsuff=32 shlibsuff=N32 libmagic=N32;;
19549
*-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
19550
libsuff=64 shlibsuff=64 libmagic=64-bit;;
19551
*) libsuff= shlibsuff= libmagic=never-match;;
19555
shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
19556
shlibpath_overrides_runpath=no
19557
sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
19558
sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}"
19559
hardcode_into_libs=yes
19562
# No shared lib support for Linux oldld, aout, or coff.
19563
linux*oldld* | linux*aout* | linux*coff*)
19567
# This must be Linux ELF.
19568
linux* | k*bsd*-gnu)
19572
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
19573
soname_spec='${libname}${release}${shared_ext}$major'
19574
finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
19575
shlibpath_var=LD_LIBRARY_PATH
19576
shlibpath_overrides_runpath=no
19577
# This implies no fast_install, which is unacceptable.
19578
# Some rework will be needed to allow for fast_install
19579
# before this can be enabled.
19580
hardcode_into_libs=yes
19582
# Append ld.so.conf contents to the search path
19583
if test -f /etc/ld.so.conf; then
19584
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' ' '`
19585
sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra"
19588
# We used to test for /lib/ld.so.1 and disable shared libraries on
19589
# powerpc, because MkLinux only supported shared libraries with the
19590
# GNU dynamic linker. Since this was broken with cross compilers,
19591
# most powerpc-linux boxes support dynamic linking these days and
19592
# people can always --disable-shared, the test was removed, and we
19593
# assume the GNU/Linux dynamic linker is in use.
19594
dynamic_linker='GNU/Linux ld.so'
19601
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
19602
soname_spec='${libname}${release}${shared_ext}$major'
19603
shlibpath_var=LD_LIBRARY_PATH
19604
shlibpath_overrides_runpath=no
19605
hardcode_into_libs=yes
19606
dynamic_linker='NetBSD ld.elf_so'
19613
if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
19614
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
19615
finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
19616
dynamic_linker='NetBSD (a.out) ld.so'
19618
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
19619
soname_spec='${libname}${release}${shared_ext}$major'
19620
dynamic_linker='NetBSD ld.elf_so'
19622
shlibpath_var=LD_LIBRARY_PATH
19623
shlibpath_overrides_runpath=yes
19624
hardcode_into_libs=yes
19629
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
19630
shlibpath_var=LD_LIBRARY_PATH
19631
shlibpath_overrides_runpath=yes
19638
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
19639
soname_spec='${libname}${release}${shared_ext}$major'
19640
shlibpath_var=LD_LIBRARY_PATH
19641
shlibpath_overrides_runpath=yes
19646
sys_lib_dlsearch_path_spec="/usr/lib"
19648
# Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
19650
openbsd3.3 | openbsd3.3.*) need_version=yes ;;
19651
*) need_version=no ;;
19653
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
19654
finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
19655
shlibpath_var=LD_LIBRARY_PATH
19656
if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
19658
openbsd2.[89] | openbsd2.[89].*)
19659
shlibpath_overrides_runpath=no
19662
shlibpath_overrides_runpath=yes
19666
shlibpath_overrides_runpath=yes
19671
libname_spec='$name'
19674
library_names_spec='$libname${shared_ext} $libname.a'
19675
dynamic_linker='OS/2 ld.exe'
19676
shlibpath_var=LIBPATH
19679
osf3* | osf4* | osf5*)
19683
soname_spec='${libname}${release}${shared_ext}$major'
19684
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
19685
shlibpath_var=LD_LIBRARY_PATH
19686
sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
19687
sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec"
19698
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
19699
soname_spec='${libname}${release}${shared_ext}$major'
19700
shlibpath_var=LD_LIBRARY_PATH
19701
shlibpath_overrides_runpath=yes
19702
hardcode_into_libs=yes
19703
# ldd complains unless libraries are executable
19704
postinstall_cmds='chmod +x $lib'
19709
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
19710
finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
19711
shlibpath_var=LD_LIBRARY_PATH
19712
shlibpath_overrides_runpath=yes
19713
if test "$with_gnu_ld" = yes; then
19721
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
19722
soname_spec='${libname}${release}${shared_ext}$major'
19723
shlibpath_var=LD_LIBRARY_PATH
19724
case $host_vendor in
19726
shlibpath_overrides_runpath=no
19728
export_dynamic_flag_spec='${wl}-Blargedynsym'
19729
runpath_var=LD_RUN_PATH
19737
shlibpath_overrides_runpath=no
19738
sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
19744
if test -d /usr/nec ;then
19746
library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
19747
soname_spec='$libname${shared_ext}.$major'
19748
shlibpath_var=LD_LIBRARY_PATH
19752
sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
19753
version_type=freebsd-elf
19756
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
19757
soname_spec='${libname}${release}${shared_ext}$major'
19758
shlibpath_var=LD_LIBRARY_PATH
19759
hardcode_into_libs=yes
19760
if test "$with_gnu_ld" = yes; then
19761
sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
19762
shlibpath_overrides_runpath=no
19764
sys_lib_search_path_spec='/usr/ccs/lib /usr/lib'
19765
shlibpath_overrides_runpath=yes
19768
sys_lib_search_path_spec="$sys_lib_search_path_spec /lib"
19772
sys_lib_dlsearch_path_spec='/usr/lib'
19777
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
19778
soname_spec='${libname}${release}${shared_ext}$major'
19779
shlibpath_var=LD_LIBRARY_PATH
19786
{ echo "$as_me:$LINENO: result: $dynamic_linker" >&5
19787
echo "${ECHO_T}$dynamic_linker" >&6; }
19788
test "$dynamic_linker" = no && can_build_shared=no
19790
variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
19791
if test "$GCC" = yes; then
19792
variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
19795
{ echo "$as_me:$LINENO: checking how to hardcode library paths into programs" >&5
19796
echo $ECHO_N "checking how to hardcode library paths into programs... $ECHO_C" >&6; }
19797
hardcode_action_GCJ=
19798
if test -n "$hardcode_libdir_flag_spec_GCJ" || \
19799
test -n "$runpath_var_GCJ" || \
19800
test "X$hardcode_automatic_GCJ" = "Xyes" ; then
19802
# We can hardcode non-existant directories.
19803
if test "$hardcode_direct_GCJ" != no &&
19804
# If the only mechanism to avoid hardcoding is shlibpath_var, we
19805
# have to relink, otherwise we might link with an installed library
19806
# when we should be linking with a yet-to-be-installed one
19807
## test "$_LT_AC_TAGVAR(hardcode_shlibpath_var, GCJ)" != no &&
19808
test "$hardcode_minus_L_GCJ" != no; then
19809
# Linking always hardcodes the temporary library directory.
19810
hardcode_action_GCJ=relink
19812
# We can link without hardcoding, and we can hardcode nonexisting dirs.
19813
hardcode_action_GCJ=immediate
19816
# We cannot hardcode anything, or else we can only hardcode existing
19818
hardcode_action_GCJ=unsupported
19820
{ echo "$as_me:$LINENO: result: $hardcode_action_GCJ" >&5
19821
echo "${ECHO_T}$hardcode_action_GCJ" >&6; }
19823
if test "$hardcode_action_GCJ" = relink; then
19824
# Fast installation is not supported
19825
enable_fast_install=no
19826
elif test "$shlibpath_overrides_runpath" = yes ||
19827
test "$enable_shared" = no; then
19828
# Fast installation is not necessary
19829
enable_fast_install=needless
19833
# The else clause should only fire when bootstrapping the
19834
# libtool distribution, otherwise you forgot to ship ltmain.sh
19835
# with your package, and you will get complaints that there are
19836
# no rules to generate ltmain.sh.
19837
if test -f "$ltmain"; then
19838
# See if we are running on zsh, and set the options which allow our commands through
19839
# without removal of \ escapes.
19840
if test -n "${ZSH_VERSION+set}" ; then
19841
setopt NO_GLOB_SUBST
19843
# Now quote all the things that may contain metacharacters while being
19844
# careful not to overquote the AC_SUBSTed values. We take copies of the
19845
# variables and quote the copies for generation of the libtool script.
19846
for var in echo old_CC old_CFLAGS AR AR_FLAGS EGREP RANLIB LN_S LTCC LTCFLAGS NM \
19848
libname_spec library_names_spec soname_spec extract_expsyms_cmds \
19849
old_striplib striplib file_magic_cmd finish_cmds finish_eval \
19850
deplibs_check_method reload_flag reload_cmds need_locks \
19851
lt_cv_sys_global_symbol_pipe lt_cv_sys_global_symbol_to_cdecl \
19852
lt_cv_sys_global_symbol_to_c_name_address \
19853
sys_lib_search_path_spec sys_lib_dlsearch_path_spec \
19854
old_postinstall_cmds old_postuninstall_cmds \
19858
lt_prog_compiler_wl_GCJ \
19859
lt_prog_compiler_pic_GCJ \
19860
lt_prog_compiler_static_GCJ \
19861
lt_prog_compiler_no_builtin_flag_GCJ \
19862
export_dynamic_flag_spec_GCJ \
19863
thread_safe_flag_spec_GCJ \
19864
whole_archive_flag_spec_GCJ \
19865
enable_shared_with_static_runtimes_GCJ \
19866
old_archive_cmds_GCJ \
19867
old_archive_from_new_cmds_GCJ \
19868
predep_objects_GCJ \
19869
postdep_objects_GCJ \
19872
compiler_lib_search_path_GCJ \
19874
archive_expsym_cmds_GCJ \
19875
postinstall_cmds_GCJ \
19876
postuninstall_cmds_GCJ \
19877
old_archive_from_expsyms_cmds_GCJ \
19878
allow_undefined_flag_GCJ \
19879
no_undefined_flag_GCJ \
19880
export_symbols_cmds_GCJ \
19881
hardcode_libdir_flag_spec_GCJ \
19882
hardcode_libdir_flag_spec_ld_GCJ \
19883
hardcode_libdir_separator_GCJ \
19884
hardcode_automatic_GCJ \
19886
module_expsym_cmds_GCJ \
19887
lt_cv_prog_compiler_c_o_GCJ \
19888
fix_srcfile_path_GCJ \
19889
exclude_expsyms_GCJ \
19890
include_expsyms_GCJ; do
19893
old_archive_cmds_GCJ | \
19894
old_archive_from_new_cmds_GCJ | \
19895
archive_cmds_GCJ | \
19896
archive_expsym_cmds_GCJ | \
19897
module_cmds_GCJ | \
19898
module_expsym_cmds_GCJ | \
19899
old_archive_from_expsyms_cmds_GCJ | \
19900
export_symbols_cmds_GCJ | \
19901
extract_expsyms_cmds | reload_cmds | finish_cmds | \
19902
postinstall_cmds | postuninstall_cmds | \
19903
old_postinstall_cmds | old_postuninstall_cmds | \
19904
sys_lib_search_path_spec | sys_lib_dlsearch_path_spec)
19905
# Double-quote double-evaled strings.
19906
eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$double_quote_subst\" -e \"\$sed_quote_subst\" -e \"\$delay_variable_subst\"\`\\\""
19909
eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$sed_quote_subst\"\`\\\""
19915
*'\$0 --fallback-echo"')
19916
lt_echo=`$echo "X$lt_echo" | $Xsed -e 's/\\\\\\\$0 --fallback-echo"$/$0 --fallback-echo"/'`
19922
cat <<__EOF__ >> "$cfgfile"
19923
# ### BEGIN LIBTOOL TAG CONFIG: $tagname
19925
# Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
19927
# Shell to use when invoking shell scripts.
19930
# Whether or not to build shared libraries.
19931
build_libtool_libs=$enable_shared
19933
# Whether or not to build static libraries.
19934
build_old_libs=$enable_static
19936
# Whether or not to add -lc for building shared libraries.
19937
build_libtool_need_lc=$archive_cmds_need_lc_GCJ
19939
# Whether or not to disallow shared libs when runtime libs are static
19940
allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes_GCJ
19942
# Whether or not to optimize for fast installation.
19943
fast_install=$enable_fast_install
19946
host_alias=$host_alias
19950
# The build system.
19951
build_alias=$build_alias
19955
# An echo program that does not interpret backslashes.
19960
AR_FLAGS=$lt_AR_FLAGS
19965
# LTCC compiler flags.
19966
LTCFLAGS=$lt_LTCFLAGS
19968
# A language-specific compiler.
19969
CC=$lt_compiler_GCJ
19971
# Is the compiler the GNU C compiler?
19977
# The linker used to build libraries.
19980
# Whether we need hard or soft links.
19983
# A BSD-compatible nm program.
19986
# A symbol stripping program
19989
# Used to examine libraries when file_magic_cmd begins "file"
19990
MAGIC_CMD=$MAGIC_CMD
19992
# Used on cygwin: DLL creation program.
19995
# Used on cygwin: object dumper.
19998
# Used on cygwin: assembler.
20001
# The name of the directory that contains temporary libtool files.
20004
# How to create reloadable object files.
20005
reload_flag=$lt_reload_flag
20006
reload_cmds=$lt_reload_cmds
20008
# How to pass a linker flag through the compiler.
20009
wl=$lt_lt_prog_compiler_wl_GCJ
20011
# Object file suffix (normally "o").
20012
objext="$ac_objext"
20014
# Old archive suffix (normally "a").
20017
# Shared library suffix (normally ".so").
20018
shrext_cmds='$shrext_cmds'
20020
# Executable file suffix (normally "").
20023
# Additional compiler flags for building library objects.
20024
pic_flag=$lt_lt_prog_compiler_pic_GCJ
20027
# What is the maximum length of a command?
20028
max_cmd_len=$lt_cv_sys_max_cmd_len
20030
# Does compiler simultaneously support -c and -o options?
20031
compiler_c_o=$lt_lt_cv_prog_compiler_c_o_GCJ
20033
# Must we lock files when doing compilation?
20034
need_locks=$lt_need_locks
20036
# Do we need the lib prefix for modules?
20037
need_lib_prefix=$need_lib_prefix
20039
# Do we need a version for libraries?
20040
need_version=$need_version
20042
# Whether dlopen is supported.
20043
dlopen_support=$enable_dlopen
20045
# Whether dlopen of programs is supported.
20046
dlopen_self=$enable_dlopen_self
20048
# Whether dlopen of statically linked programs is supported.
20049
dlopen_self_static=$enable_dlopen_self_static
20051
# Compiler flag to prevent dynamic linking.
20052
link_static_flag=$lt_lt_prog_compiler_static_GCJ
20054
# Compiler flag to turn off builtin functions.
20055
no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag_GCJ
20057
# Compiler flag to allow reflexive dlopens.
20058
export_dynamic_flag_spec=$lt_export_dynamic_flag_spec_GCJ
20060
# Compiler flag to generate shared objects directly from archives.
20061
whole_archive_flag_spec=$lt_whole_archive_flag_spec_GCJ
20063
# Compiler flag to generate thread-safe objects.
20064
thread_safe_flag_spec=$lt_thread_safe_flag_spec_GCJ
20066
# Library versioning type.
20067
version_type=$version_type
20069
# Format of library name prefix.
20070
libname_spec=$lt_libname_spec
20072
# List of archive names. First name is the real one, the rest are links.
20073
# The last name is the one that the linker finds with -lNAME.
20074
library_names_spec=$lt_library_names_spec
20076
# The coded name of the library, if different from the real name.
20077
soname_spec=$lt_soname_spec
20079
# Commands used to build and install an old-style archive.
20081
old_archive_cmds=$lt_old_archive_cmds_GCJ
20082
old_postinstall_cmds=$lt_old_postinstall_cmds
20083
old_postuninstall_cmds=$lt_old_postuninstall_cmds
20085
# Create an old-style archive from a shared archive.
20086
old_archive_from_new_cmds=$lt_old_archive_from_new_cmds_GCJ
20088
# Create a temporary old-style archive to link instead of a shared archive.
20089
old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds_GCJ
20091
# Commands used to build and install a shared archive.
20092
archive_cmds=$lt_archive_cmds_GCJ
20093
archive_expsym_cmds=$lt_archive_expsym_cmds_GCJ
20094
postinstall_cmds=$lt_postinstall_cmds
20095
postuninstall_cmds=$lt_postuninstall_cmds
20097
# Commands used to build a loadable module (assumed same as above if empty)
20098
module_cmds=$lt_module_cmds_GCJ
20099
module_expsym_cmds=$lt_module_expsym_cmds_GCJ
20101
# Commands to strip libraries.
20102
old_striplib=$lt_old_striplib
20103
striplib=$lt_striplib
20105
# Dependencies to place before the objects being linked to create a
20107
predep_objects=$lt_predep_objects_GCJ
20109
# Dependencies to place after the objects being linked to create a
20111
postdep_objects=$lt_postdep_objects_GCJ
20113
# Dependencies to place before the objects being linked to create a
20115
predeps=$lt_predeps_GCJ
20117
# Dependencies to place after the objects being linked to create a
20119
postdeps=$lt_postdeps_GCJ
20121
# The library search path used internally by the compiler when linking
20122
# a shared library.
20123
compiler_lib_search_path=$lt_compiler_lib_search_path_GCJ
20125
# Method to check whether dependent libraries are shared objects.
20126
deplibs_check_method=$lt_deplibs_check_method
20128
# Command to use when deplibs_check_method == file_magic.
20129
file_magic_cmd=$lt_file_magic_cmd
20131
# Flag that allows shared libraries with undefined symbols to be built.
20132
allow_undefined_flag=$lt_allow_undefined_flag_GCJ
20134
# Flag that forces no undefined symbols.
20135
no_undefined_flag=$lt_no_undefined_flag_GCJ
20137
# Commands used to finish a libtool library installation in a directory.
20138
finish_cmds=$lt_finish_cmds
20140
# Same as above, but a single script fragment to be evaled but not shown.
20141
finish_eval=$lt_finish_eval
20143
# Take the output of nm and produce a listing of raw symbols and C names.
20144
global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
20146
# Transform the output of nm in a proper C declaration
20147
global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
20149
# Transform the output of nm in a C name address pair
20150
global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
20152
# This is the shared library runtime path variable.
20153
runpath_var=$runpath_var
20155
# This is the shared library path variable.
20156
shlibpath_var=$shlibpath_var
20158
# Is shlibpath searched before the hard-coded library search path?
20159
shlibpath_overrides_runpath=$shlibpath_overrides_runpath
20161
# How to hardcode a shared library path into an executable.
20162
hardcode_action=$hardcode_action_GCJ
20164
# Whether we should hardcode library paths into libraries.
20165
hardcode_into_libs=$hardcode_into_libs
20167
# Flag to hardcode \$libdir into a binary during linking.
20168
# This must work even if \$libdir does not exist.
20169
hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec_GCJ
20171
# If ld is used when linking, flag to hardcode \$libdir into
20172
# a binary during linking. This must work even if \$libdir does
20174
hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld_GCJ
20176
# Whether we need a single -rpath flag with a separated argument.
20177
hardcode_libdir_separator=$lt_hardcode_libdir_separator_GCJ
20179
# Set to yes if using DIR/libNAME${shared_ext} during linking hardcodes DIR into the
20180
# resulting binary.
20181
hardcode_direct=$hardcode_direct_GCJ
20183
# Set to yes if using the -LDIR flag during linking hardcodes DIR into the
20184
# resulting binary.
20185
hardcode_minus_L=$hardcode_minus_L_GCJ
20187
# Set to yes if using SHLIBPATH_VAR=DIR during linking hardcodes DIR into
20188
# the resulting binary.
20189
hardcode_shlibpath_var=$hardcode_shlibpath_var_GCJ
20191
# Set to yes if building a shared library automatically hardcodes DIR into the library
20192
# and all subsequent libraries and executables linked against it.
20193
hardcode_automatic=$hardcode_automatic_GCJ
20195
# Variables whose values should be saved in libtool wrapper scripts and
20196
# restored at relink time.
20197
variables_saved_for_relink="$variables_saved_for_relink"
20199
# Whether libtool must link a program against all its dependency libraries.
20200
link_all_deplibs=$link_all_deplibs_GCJ
20202
# Compile-time system search path for libraries
20203
sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
20205
# Run-time system search path for libraries
20206
sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
20208
# Fix the shell variable \$srcfile for the compiler.
20209
fix_srcfile_path=$lt_fix_srcfile_path
20211
# Set to yes if exported symbols are required.
20212
always_export_symbols=$always_export_symbols_GCJ
20214
# The commands to list exported symbols.
20215
export_symbols_cmds=$lt_export_symbols_cmds_GCJ
20217
# The commands to extract the exported symbol list from a shared archive.
20218
extract_expsyms_cmds=$lt_extract_expsyms_cmds
20220
# Symbols that should not be listed in the preloaded symbols.
20221
exclude_expsyms=$lt_exclude_expsyms_GCJ
20223
# Symbols that must always be exported.
20224
include_expsyms=$lt_include_expsyms_GCJ
20226
# ### END LIBTOOL TAG CONFIG: $tagname
20232
# If there is no Makefile yet, we rely on a make rule to execute
20233
# `config.status --recheck' to rerun these tests and create the
20234
# libtool script then.
20235
ltmain_in=`echo $ltmain | sed -e 's/\.sh$/.in/'`
20236
if test -f "$ltmain_in"; then
20237
test -f Makefile && make "$ltmain"
20243
ac_cpp='$CPP $CPPFLAGS'
20244
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20245
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20246
ac_compiler_gnu=$ac_cv_c_compiler_gnu
20258
# Source file extension for RC test sources.
20261
# Object file extension for compiled RC test sources.
20265
# Code to be used in simple compile tests
20266
lt_simple_compile_test_code='sample MENU { MENUITEM "&Soup", 100, CHECKED }'
20268
# Code to be used in simple link tests
20269
lt_simple_link_test_code="$lt_simple_compile_test_code"
20271
# ltmain only uses $CC for tagged configurations so make sure $CC is set.
20273
# If no C compiler was specified, use CC.
20276
# If no C compiler flags were specified, use CFLAGS.
20277
LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
20279
# Allow CC to be a program name with arguments.
20283
# save warnings/boilerplate of simple test code
20284
ac_outfile=conftest.$ac_objext
20285
echo "$lt_simple_compile_test_code" >conftest.$ac_ext
20286
eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
20287
_lt_compiler_boilerplate=`cat conftest.err`
20290
ac_outfile=conftest.$ac_objext
20291
echo "$lt_simple_link_test_code" >conftest.$ac_ext
20292
eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
20293
_lt_linker_boilerplate=`cat conftest.err`
20297
# Allow CC to be a program name with arguments.
20302
for cc_temp in $compiler""; do
20304
compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
20305
distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
20310
cc_basename=`$echo "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
20312
lt_cv_prog_compiler_c_o_RC=yes
20314
# The else clause should only fire when bootstrapping the
20315
# libtool distribution, otherwise you forgot to ship ltmain.sh
20316
# with your package, and you will get complaints that there are
20317
# no rules to generate ltmain.sh.
20318
if test -f "$ltmain"; then
20319
# See if we are running on zsh, and set the options which allow our commands through
20320
# without removal of \ escapes.
20321
if test -n "${ZSH_VERSION+set}" ; then
20322
setopt NO_GLOB_SUBST
20324
# Now quote all the things that may contain metacharacters while being
20325
# careful not to overquote the AC_SUBSTed values. We take copies of the
20326
# variables and quote the copies for generation of the libtool script.
20327
for var in echo old_CC old_CFLAGS AR AR_FLAGS EGREP RANLIB LN_S LTCC LTCFLAGS NM \
20329
libname_spec library_names_spec soname_spec extract_expsyms_cmds \
20330
old_striplib striplib file_magic_cmd finish_cmds finish_eval \
20331
deplibs_check_method reload_flag reload_cmds need_locks \
20332
lt_cv_sys_global_symbol_pipe lt_cv_sys_global_symbol_to_cdecl \
20333
lt_cv_sys_global_symbol_to_c_name_address \
20334
sys_lib_search_path_spec sys_lib_dlsearch_path_spec \
20335
old_postinstall_cmds old_postuninstall_cmds \
20339
lt_prog_compiler_wl_RC \
20340
lt_prog_compiler_pic_RC \
20341
lt_prog_compiler_static_RC \
20342
lt_prog_compiler_no_builtin_flag_RC \
20343
export_dynamic_flag_spec_RC \
20344
thread_safe_flag_spec_RC \
20345
whole_archive_flag_spec_RC \
20346
enable_shared_with_static_runtimes_RC \
20347
old_archive_cmds_RC \
20348
old_archive_from_new_cmds_RC \
20349
predep_objects_RC \
20350
postdep_objects_RC \
20353
compiler_lib_search_path_RC \
20355
archive_expsym_cmds_RC \
20356
postinstall_cmds_RC \
20357
postuninstall_cmds_RC \
20358
old_archive_from_expsyms_cmds_RC \
20359
allow_undefined_flag_RC \
20360
no_undefined_flag_RC \
20361
export_symbols_cmds_RC \
20362
hardcode_libdir_flag_spec_RC \
20363
hardcode_libdir_flag_spec_ld_RC \
20364
hardcode_libdir_separator_RC \
20365
hardcode_automatic_RC \
20367
module_expsym_cmds_RC \
20368
lt_cv_prog_compiler_c_o_RC \
20369
fix_srcfile_path_RC \
20370
exclude_expsyms_RC \
20371
include_expsyms_RC; do
20374
old_archive_cmds_RC | \
20375
old_archive_from_new_cmds_RC | \
20376
archive_cmds_RC | \
20377
archive_expsym_cmds_RC | \
20379
module_expsym_cmds_RC | \
20380
old_archive_from_expsyms_cmds_RC | \
20381
export_symbols_cmds_RC | \
20382
extract_expsyms_cmds | reload_cmds | finish_cmds | \
20383
postinstall_cmds | postuninstall_cmds | \
20384
old_postinstall_cmds | old_postuninstall_cmds | \
20385
sys_lib_search_path_spec | sys_lib_dlsearch_path_spec)
20386
# Double-quote double-evaled strings.
20387
eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$double_quote_subst\" -e \"\$sed_quote_subst\" -e \"\$delay_variable_subst\"\`\\\""
20390
eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$sed_quote_subst\"\`\\\""
20396
*'\$0 --fallback-echo"')
20397
lt_echo=`$echo "X$lt_echo" | $Xsed -e 's/\\\\\\\$0 --fallback-echo"$/$0 --fallback-echo"/'`
20403
cat <<__EOF__ >> "$cfgfile"
20404
# ### BEGIN LIBTOOL TAG CONFIG: $tagname
20406
# Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
20408
# Shell to use when invoking shell scripts.
20411
# Whether or not to build shared libraries.
20412
build_libtool_libs=$enable_shared
20414
# Whether or not to build static libraries.
20415
build_old_libs=$enable_static
20417
# Whether or not to add -lc for building shared libraries.
20418
build_libtool_need_lc=$archive_cmds_need_lc_RC
20420
# Whether or not to disallow shared libs when runtime libs are static
20421
allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes_RC
20423
# Whether or not to optimize for fast installation.
20424
fast_install=$enable_fast_install
20427
host_alias=$host_alias
20431
# The build system.
20432
build_alias=$build_alias
20436
# An echo program that does not interpret backslashes.
20441
AR_FLAGS=$lt_AR_FLAGS
20446
# LTCC compiler flags.
20447
LTCFLAGS=$lt_LTCFLAGS
20449
# A language-specific compiler.
20452
# Is the compiler the GNU C compiler?
20458
# The linker used to build libraries.
20461
# Whether we need hard or soft links.
20464
# A BSD-compatible nm program.
20467
# A symbol stripping program
20470
# Used to examine libraries when file_magic_cmd begins "file"
20471
MAGIC_CMD=$MAGIC_CMD
20473
# Used on cygwin: DLL creation program.
20476
# Used on cygwin: object dumper.
20479
# Used on cygwin: assembler.
20482
# The name of the directory that contains temporary libtool files.
20485
# How to create reloadable object files.
20486
reload_flag=$lt_reload_flag
20487
reload_cmds=$lt_reload_cmds
20489
# How to pass a linker flag through the compiler.
20490
wl=$lt_lt_prog_compiler_wl_RC
20492
# Object file suffix (normally "o").
20493
objext="$ac_objext"
20495
# Old archive suffix (normally "a").
20498
# Shared library suffix (normally ".so").
20499
shrext_cmds='$shrext_cmds'
20501
# Executable file suffix (normally "").
20504
# Additional compiler flags for building library objects.
20505
pic_flag=$lt_lt_prog_compiler_pic_RC
20508
# What is the maximum length of a command?
20509
max_cmd_len=$lt_cv_sys_max_cmd_len
20511
# Does compiler simultaneously support -c and -o options?
20512
compiler_c_o=$lt_lt_cv_prog_compiler_c_o_RC
20514
# Must we lock files when doing compilation?
20515
need_locks=$lt_need_locks
20517
# Do we need the lib prefix for modules?
20518
need_lib_prefix=$need_lib_prefix
20520
# Do we need a version for libraries?
20521
need_version=$need_version
20523
# Whether dlopen is supported.
20524
dlopen_support=$enable_dlopen
20526
# Whether dlopen of programs is supported.
20527
dlopen_self=$enable_dlopen_self
20529
# Whether dlopen of statically linked programs is supported.
20530
dlopen_self_static=$enable_dlopen_self_static
20532
# Compiler flag to prevent dynamic linking.
20533
link_static_flag=$lt_lt_prog_compiler_static_RC
20535
# Compiler flag to turn off builtin functions.
20536
no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag_RC
20538
# Compiler flag to allow reflexive dlopens.
20539
export_dynamic_flag_spec=$lt_export_dynamic_flag_spec_RC
20541
# Compiler flag to generate shared objects directly from archives.
20542
whole_archive_flag_spec=$lt_whole_archive_flag_spec_RC
20544
# Compiler flag to generate thread-safe objects.
20545
thread_safe_flag_spec=$lt_thread_safe_flag_spec_RC
20547
# Library versioning type.
20548
version_type=$version_type
20550
# Format of library name prefix.
20551
libname_spec=$lt_libname_spec
20553
# List of archive names. First name is the real one, the rest are links.
20554
# The last name is the one that the linker finds with -lNAME.
20555
library_names_spec=$lt_library_names_spec
20557
# The coded name of the library, if different from the real name.
20558
soname_spec=$lt_soname_spec
20560
# Commands used to build and install an old-style archive.
20562
old_archive_cmds=$lt_old_archive_cmds_RC
20563
old_postinstall_cmds=$lt_old_postinstall_cmds
20564
old_postuninstall_cmds=$lt_old_postuninstall_cmds
20566
# Create an old-style archive from a shared archive.
20567
old_archive_from_new_cmds=$lt_old_archive_from_new_cmds_RC
20569
# Create a temporary old-style archive to link instead of a shared archive.
20570
old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds_RC
20572
# Commands used to build and install a shared archive.
20573
archive_cmds=$lt_archive_cmds_RC
20574
archive_expsym_cmds=$lt_archive_expsym_cmds_RC
20575
postinstall_cmds=$lt_postinstall_cmds
20576
postuninstall_cmds=$lt_postuninstall_cmds
20578
# Commands used to build a loadable module (assumed same as above if empty)
20579
module_cmds=$lt_module_cmds_RC
20580
module_expsym_cmds=$lt_module_expsym_cmds_RC
20582
# Commands to strip libraries.
20583
old_striplib=$lt_old_striplib
20584
striplib=$lt_striplib
20586
# Dependencies to place before the objects being linked to create a
20588
predep_objects=$lt_predep_objects_RC
20590
# Dependencies to place after the objects being linked to create a
20592
postdep_objects=$lt_postdep_objects_RC
20594
# Dependencies to place before the objects being linked to create a
20596
predeps=$lt_predeps_RC
20598
# Dependencies to place after the objects being linked to create a
20600
postdeps=$lt_postdeps_RC
20602
# The library search path used internally by the compiler when linking
20603
# a shared library.
20604
compiler_lib_search_path=$lt_compiler_lib_search_path_RC
20606
# Method to check whether dependent libraries are shared objects.
20607
deplibs_check_method=$lt_deplibs_check_method
20609
# Command to use when deplibs_check_method == file_magic.
20610
file_magic_cmd=$lt_file_magic_cmd
20612
# Flag that allows shared libraries with undefined symbols to be built.
20613
allow_undefined_flag=$lt_allow_undefined_flag_RC
20615
# Flag that forces no undefined symbols.
20616
no_undefined_flag=$lt_no_undefined_flag_RC
20618
# Commands used to finish a libtool library installation in a directory.
20619
finish_cmds=$lt_finish_cmds
20621
# Same as above, but a single script fragment to be evaled but not shown.
20622
finish_eval=$lt_finish_eval
20624
# Take the output of nm and produce a listing of raw symbols and C names.
20625
global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
20627
# Transform the output of nm in a proper C declaration
20628
global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
20630
# Transform the output of nm in a C name address pair
20631
global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
20633
# This is the shared library runtime path variable.
20634
runpath_var=$runpath_var
20636
# This is the shared library path variable.
20637
shlibpath_var=$shlibpath_var
20639
# Is shlibpath searched before the hard-coded library search path?
20640
shlibpath_overrides_runpath=$shlibpath_overrides_runpath
20642
# How to hardcode a shared library path into an executable.
20643
hardcode_action=$hardcode_action_RC
20645
# Whether we should hardcode library paths into libraries.
20646
hardcode_into_libs=$hardcode_into_libs
20648
# Flag to hardcode \$libdir into a binary during linking.
20649
# This must work even if \$libdir does not exist.
20650
hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec_RC
20652
# If ld is used when linking, flag to hardcode \$libdir into
20653
# a binary during linking. This must work even if \$libdir does
20655
hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld_RC
20657
# Whether we need a single -rpath flag with a separated argument.
20658
hardcode_libdir_separator=$lt_hardcode_libdir_separator_RC
20660
# Set to yes if using DIR/libNAME${shared_ext} during linking hardcodes DIR into the
20661
# resulting binary.
20662
hardcode_direct=$hardcode_direct_RC
20664
# Set to yes if using the -LDIR flag during linking hardcodes DIR into the
20665
# resulting binary.
20666
hardcode_minus_L=$hardcode_minus_L_RC
20668
# Set to yes if using SHLIBPATH_VAR=DIR during linking hardcodes DIR into
20669
# the resulting binary.
20670
hardcode_shlibpath_var=$hardcode_shlibpath_var_RC
20672
# Set to yes if building a shared library automatically hardcodes DIR into the library
20673
# and all subsequent libraries and executables linked against it.
20674
hardcode_automatic=$hardcode_automatic_RC
20676
# Variables whose values should be saved in libtool wrapper scripts and
20677
# restored at relink time.
20678
variables_saved_for_relink="$variables_saved_for_relink"
20680
# Whether libtool must link a program against all its dependency libraries.
20681
link_all_deplibs=$link_all_deplibs_RC
20683
# Compile-time system search path for libraries
20684
sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
20686
# Run-time system search path for libraries
20687
sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
20689
# Fix the shell variable \$srcfile for the compiler.
20690
fix_srcfile_path=$lt_fix_srcfile_path
20692
# Set to yes if exported symbols are required.
20693
always_export_symbols=$always_export_symbols_RC
20695
# The commands to list exported symbols.
20696
export_symbols_cmds=$lt_export_symbols_cmds_RC
20698
# The commands to extract the exported symbol list from a shared archive.
20699
extract_expsyms_cmds=$lt_extract_expsyms_cmds
20701
# Symbols that should not be listed in the preloaded symbols.
20702
exclude_expsyms=$lt_exclude_expsyms_RC
20704
# Symbols that must always be exported.
20705
include_expsyms=$lt_include_expsyms_RC
20707
# ### END LIBTOOL TAG CONFIG: $tagname
20713
# If there is no Makefile yet, we rely on a make rule to execute
20714
# `config.status --recheck' to rerun these tests and create the
20715
# libtool script then.
20716
ltmain_in=`echo $ltmain | sed -e 's/\.sh$/.in/'`
20717
if test -f "$ltmain_in"; then
20718
test -f Makefile && make "$ltmain"
20724
ac_cpp='$CPP $CPPFLAGS'
20725
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20726
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20727
ac_compiler_gnu=$ac_cv_c_compiler_gnu
20734
{ { echo "$as_me:$LINENO: error: Unsupported tag name: $tagname" >&5
20735
echo "$as_me: error: Unsupported tag name: $tagname" >&2;}
20736
{ (exit 1); exit 1; }; }
20740
# Append the new tag name to the list of available tags.
20741
if test -n "$tagname" ; then
20742
available_tags="$available_tags $tagname"
20748
# Now substitute the updated list of available tags.
20749
if eval "sed -e 's/^available_tags=.*\$/available_tags=\"$available_tags\"/' \"$ofile\" > \"${ofile}T\""; then
20750
mv "${ofile}T" "$ofile"
20754
{ { echo "$as_me:$LINENO: error: unable to update list of available tagged configurations." >&5
20755
echo "$as_me: error: unable to update list of available tagged configurations." >&2;}
20756
{ (exit 1); exit 1; }; }
20762
# This can be used to rebuild libtool when needed
20763
LIBTOOL_DEPS="$ac_aux_dir/ltmain.sh"
20765
# Always use our own libtool.
20766
LIBTOOL='$(SHELL) $(top_builddir)/libtool'
20768
# Prevent multiple expansion
20795
ac_header_dirent=no
20796
for ac_hdr in dirent.h sys/ndir.h sys/dir.h ndir.h; do
20797
as_ac_Header=`echo "ac_cv_header_dirent_$ac_hdr" | $as_tr_sh`
20798
{ echo "$as_me:$LINENO: checking for $ac_hdr that defines DIR" >&5
20799
echo $ECHO_N "checking for $ac_hdr that defines DIR... $ECHO_C" >&6; }
20800
if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
20801
echo $ECHO_N "(cached) $ECHO_C" >&6
20803
cat >conftest.$ac_ext <<_ACEOF
20806
cat confdefs.h >>conftest.$ac_ext
20807
cat >>conftest.$ac_ext <<_ACEOF
20808
/* end confdefs.h. */
20809
#include <sys/types.h>
20821
rm -f conftest.$ac_objext
20822
if { (ac_try="$ac_compile"
20823
case "(($ac_try" in
20824
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20825
*) ac_try_echo=$ac_try;;
20827
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20828
(eval "$ac_compile") 2>conftest.er1
20830
grep -v '^ *+' conftest.er1 >conftest.err
20832
cat conftest.err >&5
20833
echo "$as_me:$LINENO: \$? = $ac_status" >&5
20834
(exit $ac_status); } && {
20835
test -z "$ac_c_werror_flag" ||
20836
test ! -s conftest.err
20837
} && test -s conftest.$ac_objext; then
20838
eval "$as_ac_Header=yes"
20840
echo "$as_me: failed program was:" >&5
20841
sed 's/^/| /' conftest.$ac_ext >&5
20843
eval "$as_ac_Header=no"
20846
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20848
ac_res=`eval echo '${'$as_ac_Header'}'`
20849
{ echo "$as_me:$LINENO: result: $ac_res" >&5
20850
echo "${ECHO_T}$ac_res" >&6; }
20851
if test `eval echo '${'$as_ac_Header'}'` = yes; then
20852
cat >>confdefs.h <<_ACEOF
20853
@%:@define `echo "HAVE_$ac_hdr" | $as_tr_cpp` 1
20856
ac_header_dirent=$ac_hdr; break
20860
# Two versions of opendir et al. are in -ldir and -lx on SCO Xenix.
20861
if test $ac_header_dirent = dirent.h; then
20862
{ echo "$as_me:$LINENO: checking for library containing opendir" >&5
20863
echo $ECHO_N "checking for library containing opendir... $ECHO_C" >&6; }
20864
if test "${ac_cv_search_opendir+set}" = set; then
20865
echo $ECHO_N "(cached) $ECHO_C" >&6
20867
ac_func_search_save_LIBS=$LIBS
20868
cat >conftest.$ac_ext <<_ACEOF
20871
cat confdefs.h >>conftest.$ac_ext
20872
cat >>conftest.$ac_ext <<_ACEOF
20873
/* end confdefs.h. */
20875
/* Override any GCC internal prototype to avoid an error.
20876
Use char because int might match the return type of a GCC
20877
builtin and then its argument prototype would still apply. */
20890
for ac_lib in '' dir; do
20891
if test -z "$ac_lib"; then
20892
ac_res="none required"
20895
LIBS="-l$ac_lib $ac_func_search_save_LIBS"
20897
rm -f conftest.$ac_objext conftest$ac_exeext
20898
if { (ac_try="$ac_link"
20899
case "(($ac_try" in
20900
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20901
*) ac_try_echo=$ac_try;;
20903
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20904
(eval "$ac_link") 2>conftest.er1
20906
grep -v '^ *+' conftest.er1 >conftest.err
20908
cat conftest.err >&5
20909
echo "$as_me:$LINENO: \$? = $ac_status" >&5
20910
(exit $ac_status); } && {
20911
test -z "$ac_c_werror_flag" ||
20912
test ! -s conftest.err
20913
} && test -s conftest$ac_exeext &&
20914
$as_test_x conftest$ac_exeext; then
20915
ac_cv_search_opendir=$ac_res
20917
echo "$as_me: failed program was:" >&5
20918
sed 's/^/| /' conftest.$ac_ext >&5
20923
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
20925
if test "${ac_cv_search_opendir+set}" = set; then
20929
if test "${ac_cv_search_opendir+set}" = set; then
20932
ac_cv_search_opendir=no
20934
rm conftest.$ac_ext
20935
LIBS=$ac_func_search_save_LIBS
20937
{ echo "$as_me:$LINENO: result: $ac_cv_search_opendir" >&5
20938
echo "${ECHO_T}$ac_cv_search_opendir" >&6; }
20939
ac_res=$ac_cv_search_opendir
20940
if test "$ac_res" != no; then
20941
test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
20946
{ echo "$as_me:$LINENO: checking for library containing opendir" >&5
20947
echo $ECHO_N "checking for library containing opendir... $ECHO_C" >&6; }
20948
if test "${ac_cv_search_opendir+set}" = set; then
20949
echo $ECHO_N "(cached) $ECHO_C" >&6
20951
ac_func_search_save_LIBS=$LIBS
20952
cat >conftest.$ac_ext <<_ACEOF
20955
cat confdefs.h >>conftest.$ac_ext
20956
cat >>conftest.$ac_ext <<_ACEOF
20957
/* end confdefs.h. */
20959
/* Override any GCC internal prototype to avoid an error.
20960
Use char because int might match the return type of a GCC
20961
builtin and then its argument prototype would still apply. */
20974
for ac_lib in '' x; do
20975
if test -z "$ac_lib"; then
20976
ac_res="none required"
20979
LIBS="-l$ac_lib $ac_func_search_save_LIBS"
20981
rm -f conftest.$ac_objext conftest$ac_exeext
20982
if { (ac_try="$ac_link"
20983
case "(($ac_try" in
20984
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20985
*) ac_try_echo=$ac_try;;
20987
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20988
(eval "$ac_link") 2>conftest.er1
20990
grep -v '^ *+' conftest.er1 >conftest.err
20992
cat conftest.err >&5
20993
echo "$as_me:$LINENO: \$? = $ac_status" >&5
20994
(exit $ac_status); } && {
20995
test -z "$ac_c_werror_flag" ||
20996
test ! -s conftest.err
20997
} && test -s conftest$ac_exeext &&
20998
$as_test_x conftest$ac_exeext; then
20999
ac_cv_search_opendir=$ac_res
21001
echo "$as_me: failed program was:" >&5
21002
sed 's/^/| /' conftest.$ac_ext >&5
21007
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
21009
if test "${ac_cv_search_opendir+set}" = set; then
21013
if test "${ac_cv_search_opendir+set}" = set; then
21016
ac_cv_search_opendir=no
21018
rm conftest.$ac_ext
21019
LIBS=$ac_func_search_save_LIBS
21021
{ echo "$as_me:$LINENO: result: $ac_cv_search_opendir" >&5
21022
echo "${ECHO_T}$ac_cv_search_opendir" >&6; }
21023
ac_res=$ac_cv_search_opendir
21024
if test "$ac_res" != no; then
21025
test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
21031
{ echo "$as_me:$LINENO: checking for ANSI C header files" >&5
21032
echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6; }
21033
if test "${ac_cv_header_stdc+set}" = set; then
21034
echo $ECHO_N "(cached) $ECHO_C" >&6
21036
cat >conftest.$ac_ext <<_ACEOF
21039
cat confdefs.h >>conftest.$ac_ext
21040
cat >>conftest.$ac_ext <<_ACEOF
21041
/* end confdefs.h. */
21042
#include <stdlib.h>
21043
#include <stdarg.h>
21044
#include <string.h>
21055
rm -f conftest.$ac_objext
21056
if { (ac_try="$ac_compile"
21057
case "(($ac_try" in
21058
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21059
*) ac_try_echo=$ac_try;;
21061
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21062
(eval "$ac_compile") 2>conftest.er1
21064
grep -v '^ *+' conftest.er1 >conftest.err
21066
cat conftest.err >&5
21067
echo "$as_me:$LINENO: \$? = $ac_status" >&5
21068
(exit $ac_status); } && {
21069
test -z "$ac_c_werror_flag" ||
21070
test ! -s conftest.err
21071
} && test -s conftest.$ac_objext; then
21072
ac_cv_header_stdc=yes
21074
echo "$as_me: failed program was:" >&5
21075
sed 's/^/| /' conftest.$ac_ext >&5
21077
ac_cv_header_stdc=no
21080
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21082
if test $ac_cv_header_stdc = yes; then
21083
# SunOS 4.x string.h does not declare mem*, contrary to ANSI.
21084
cat >conftest.$ac_ext <<_ACEOF
21087
cat confdefs.h >>conftest.$ac_ext
21088
cat >>conftest.$ac_ext <<_ACEOF
21089
/* end confdefs.h. */
21090
#include <string.h>
21093
if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
21094
$EGREP "memchr" >/dev/null 2>&1; then
21097
ac_cv_header_stdc=no
21103
if test $ac_cv_header_stdc = yes; then
21104
# ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
21105
cat >conftest.$ac_ext <<_ACEOF
21108
cat confdefs.h >>conftest.$ac_ext
21109
cat >>conftest.$ac_ext <<_ACEOF
21110
/* end confdefs.h. */
21111
#include <stdlib.h>
21114
if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
21115
$EGREP "free" >/dev/null 2>&1; then
21118
ac_cv_header_stdc=no
21124
if test $ac_cv_header_stdc = yes; then
21125
# /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
21126
if test "$cross_compiling" = yes; then
21129
cat >conftest.$ac_ext <<_ACEOF
21132
cat confdefs.h >>conftest.$ac_ext
21133
cat >>conftest.$ac_ext <<_ACEOF
21134
/* end confdefs.h. */
21136
#include <stdlib.h>
21137
#if ((' ' & 0x0FF) == 0x020)
21138
# define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
21139
# define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
21141
# define ISLOWER(c) \
21142
(('a' <= (c) && (c) <= 'i') \
21143
|| ('j' <= (c) && (c) <= 'r') \
21144
|| ('s' <= (c) && (c) <= 'z'))
21145
# define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
21148
#define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
21153
for (i = 0; i < 256; i++)
21154
if (XOR (islower (i), ISLOWER (i))
21155
|| toupper (i) != TOUPPER (i))
21160
rm -f conftest$ac_exeext
21161
if { (ac_try="$ac_link"
21162
case "(($ac_try" in
21163
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21164
*) ac_try_echo=$ac_try;;
21166
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21167
(eval "$ac_link") 2>&5
21169
echo "$as_me:$LINENO: \$? = $ac_status" >&5
21170
(exit $ac_status); } && { ac_try='./conftest$ac_exeext'
21171
{ (case "(($ac_try" in
21172
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21173
*) ac_try_echo=$ac_try;;
21175
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21176
(eval "$ac_try") 2>&5
21178
echo "$as_me:$LINENO: \$? = $ac_status" >&5
21179
(exit $ac_status); }; }; then
21182
echo "$as_me: program exited with status $ac_status" >&5
21183
echo "$as_me: failed program was:" >&5
21184
sed 's/^/| /' conftest.$ac_ext >&5
21186
( exit $ac_status )
21187
ac_cv_header_stdc=no
21189
rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
21195
{ echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
21196
echo "${ECHO_T}$ac_cv_header_stdc" >&6; }
21197
if test $ac_cv_header_stdc = yes; then
21199
cat >>confdefs.h <<\_ACEOF
21200
@%:@define STDC_HEADERS 1
21212
for ac_header in fcntl.h limits.h stdlib.h string.h sys/param.h unistd.h malloc.h
21214
as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
21215
if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
21216
{ echo "$as_me:$LINENO: checking for $ac_header" >&5
21217
echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
21218
if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
21219
echo $ECHO_N "(cached) $ECHO_C" >&6
21221
ac_res=`eval echo '${'$as_ac_Header'}'`
21222
{ echo "$as_me:$LINENO: result: $ac_res" >&5
21223
echo "${ECHO_T}$ac_res" >&6; }
21225
# Is the header compilable?
21226
{ echo "$as_me:$LINENO: checking $ac_header usability" >&5
21227
echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; }
21228
cat >conftest.$ac_ext <<_ACEOF
21231
cat confdefs.h >>conftest.$ac_ext
21232
cat >>conftest.$ac_ext <<_ACEOF
21233
/* end confdefs.h. */
21234
$ac_includes_default
21235
@%:@include <$ac_header>
21237
rm -f conftest.$ac_objext
21238
if { (ac_try="$ac_compile"
21239
case "(($ac_try" in
21240
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21241
*) ac_try_echo=$ac_try;;
21243
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21244
(eval "$ac_compile") 2>conftest.er1
21246
grep -v '^ *+' conftest.er1 >conftest.err
21248
cat conftest.err >&5
21249
echo "$as_me:$LINENO: \$? = $ac_status" >&5
21250
(exit $ac_status); } && {
21251
test -z "$ac_c_werror_flag" ||
21252
test ! -s conftest.err
21253
} && test -s conftest.$ac_objext; then
21254
ac_header_compiler=yes
21256
echo "$as_me: failed program was:" >&5
21257
sed 's/^/| /' conftest.$ac_ext >&5
21259
ac_header_compiler=no
21262
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21263
{ echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
21264
echo "${ECHO_T}$ac_header_compiler" >&6; }
21266
# Is the header present?
21267
{ echo "$as_me:$LINENO: checking $ac_header presence" >&5
21268
echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; }
21269
cat >conftest.$ac_ext <<_ACEOF
21272
cat confdefs.h >>conftest.$ac_ext
21273
cat >>conftest.$ac_ext <<_ACEOF
21274
/* end confdefs.h. */
21275
@%:@include <$ac_header>
21277
if { (ac_try="$ac_cpp conftest.$ac_ext"
21278
case "(($ac_try" in
21279
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21280
*) ac_try_echo=$ac_try;;
21282
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21283
(eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
21285
grep -v '^ *+' conftest.er1 >conftest.err
21287
cat conftest.err >&5
21288
echo "$as_me:$LINENO: \$? = $ac_status" >&5
21289
(exit $ac_status); } >/dev/null && {
21290
test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
21291
test ! -s conftest.err
21293
ac_header_preproc=yes
21295
echo "$as_me: failed program was:" >&5
21296
sed 's/^/| /' conftest.$ac_ext >&5
21298
ac_header_preproc=no
21301
rm -f conftest.err conftest.$ac_ext
21302
{ echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
21303
echo "${ECHO_T}$ac_header_preproc" >&6; }
21305
# So? What about this header?
21306
case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
21308
{ echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
21309
echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
21310
{ echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
21311
echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
21312
ac_header_preproc=yes
21315
{ echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
21316
echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
21317
{ echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
21318
echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
21319
{ echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
21320
echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
21321
{ echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
21322
echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
21323
{ echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
21324
echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
21325
{ echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
21326
echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
21330
{ echo "$as_me:$LINENO: checking for $ac_header" >&5
21331
echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
21332
if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
21333
echo $ECHO_N "(cached) $ECHO_C" >&6
21335
eval "$as_ac_Header=\$ac_header_preproc"
21337
ac_res=`eval echo '${'$as_ac_Header'}'`
21338
{ echo "$as_me:$LINENO: result: $ac_res" >&5
21339
echo "${ECHO_T}$ac_res" >&6; }
21342
if test `eval echo '${'$as_ac_Header'}'` = yes; then
21343
cat >>confdefs.h <<_ACEOF
21344
@%:@define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
21352
{ echo "$as_me:$LINENO: checking for stdbool.h that conforms to C99" >&5
21353
echo $ECHO_N "checking for stdbool.h that conforms to C99... $ECHO_C" >&6; }
21354
if test "${ac_cv_header_stdbool_h+set}" = set; then
21355
echo $ECHO_N "(cached) $ECHO_C" >&6
21357
cat >conftest.$ac_ext <<_ACEOF
21360
cat confdefs.h >>conftest.$ac_ext
21361
cat >>conftest.$ac_ext <<_ACEOF
21362
/* end confdefs.h. */
21364
#include <stdbool.h>
21366
"error: bool is not defined"
21369
"error: false is not defined"
21372
"error: false is not 0"
21375
"error: true is not defined"
21378
"error: true is not 1"
21380
#ifndef __bool_true_false_are_defined
21381
"error: __bool_true_false_are_defined is not defined"
21384
struct s { _Bool s: 1; _Bool t; } s;
21386
char a[true == 1 ? 1 : -1];
21387
char b[false == 0 ? 1 : -1];
21388
char c[__bool_true_false_are_defined == 1 ? 1 : -1];
21389
char d[(bool) 0.5 == true ? 1 : -1];
21391
char f[(_Bool) 0.0 == false ? 1 : -1];
21393
char h[sizeof (_Bool)];
21394
char i[sizeof s.t];
21395
enum { j = false, k = true, l = false * true, m = true * 256 };
21397
char o[sizeof n == m * sizeof n[0] ? 1 : -1];
21398
char p[-1 - (_Bool) 0 < 0 && -1 - (bool) 0 < 0 ? 1 : -1];
21399
# if defined __xlc__ || defined __GNUC__
21400
/* Catch a bug in IBM AIX xlc compiler version 6.0.0.0
21401
reported by James Lemley on 2005-10-05; see
21402
http://lists.gnu.org/archive/html/bug-coreutils/2005-10/msg00086.html
21403
This test is not quite right, since xlc is allowed to
21404
reject this program, as the initializer for xlcbug is
21405
not one of the forms that C requires support for.
21406
However, doing the test right would require a runtime
21407
test, and that would make cross-compilation harder.
21408
Let us hope that IBM fixes the xlc bug, and also adds
21409
support for this kind of constant expression. In the
21410
meantime, this test will reject xlc, which is OK, since
21411
our stdbool.h substitute should suffice. We also test
21412
this with GCC, where it should work, to detect more
21413
quickly whether someone messes up the test in the
21415
char digs[] = "0123456789";
21416
int xlcbug = 1 / (&(digs + 5)[-2 + (bool) 1] == &digs[4] ? 1 : -1);
21418
/* Catch a bug in an HP-UX C compiler. See
21419
http://gcc.gnu.org/ml/gcc-patches/2003-12/msg02303.html
21420
http://lists.gnu.org/archive/html/bug-coreutils/2005-11/msg00161.html
21431
/* Refer to every declared value, to avoid compiler optimizations. */
21432
return (!a + !b + !c + !d + !e + !f + !g + !h + !i + !!j + !k + !!l
21433
+ !m + !n + !o + !p + !q + !pq);
21439
rm -f conftest.$ac_objext
21440
if { (ac_try="$ac_compile"
21441
case "(($ac_try" in
21442
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21443
*) ac_try_echo=$ac_try;;
21445
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21446
(eval "$ac_compile") 2>conftest.er1
21448
grep -v '^ *+' conftest.er1 >conftest.err
21450
cat conftest.err >&5
21451
echo "$as_me:$LINENO: \$? = $ac_status" >&5
21452
(exit $ac_status); } && {
21453
test -z "$ac_c_werror_flag" ||
21454
test ! -s conftest.err
21455
} && test -s conftest.$ac_objext; then
21456
ac_cv_header_stdbool_h=yes
21458
echo "$as_me: failed program was:" >&5
21459
sed 's/^/| /' conftest.$ac_ext >&5
21461
ac_cv_header_stdbool_h=no
21464
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21466
{ echo "$as_me:$LINENO: result: $ac_cv_header_stdbool_h" >&5
21467
echo "${ECHO_T}$ac_cv_header_stdbool_h" >&6; }
21468
{ echo "$as_me:$LINENO: checking for _Bool" >&5
21469
echo $ECHO_N "checking for _Bool... $ECHO_C" >&6; }
21470
if test "${ac_cv_type__Bool+set}" = set; then
21471
echo $ECHO_N "(cached) $ECHO_C" >&6
21473
cat >conftest.$ac_ext <<_ACEOF
21476
cat confdefs.h >>conftest.$ac_ext
21477
cat >>conftest.$ac_ext <<_ACEOF
21478
/* end confdefs.h. */
21479
$ac_includes_default
21480
typedef _Bool ac__type_new_;
21484
if ((ac__type_new_ *) 0)
21486
if (sizeof (ac__type_new_))
21492
rm -f conftest.$ac_objext
21493
if { (ac_try="$ac_compile"
21494
case "(($ac_try" in
21495
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21496
*) ac_try_echo=$ac_try;;
21498
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21499
(eval "$ac_compile") 2>conftest.er1
21501
grep -v '^ *+' conftest.er1 >conftest.err
21503
cat conftest.err >&5
21504
echo "$as_me:$LINENO: \$? = $ac_status" >&5
21505
(exit $ac_status); } && {
21506
test -z "$ac_c_werror_flag" ||
21507
test ! -s conftest.err
21508
} && test -s conftest.$ac_objext; then
21509
ac_cv_type__Bool=yes
21511
echo "$as_me: failed program was:" >&5
21512
sed 's/^/| /' conftest.$ac_ext >&5
21514
ac_cv_type__Bool=no
21517
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21519
{ echo "$as_me:$LINENO: result: $ac_cv_type__Bool" >&5
21520
echo "${ECHO_T}$ac_cv_type__Bool" >&6; }
21521
if test $ac_cv_type__Bool = yes; then
21523
cat >>confdefs.h <<_ACEOF
21524
@%:@define HAVE__BOOL 1
21530
if test $ac_cv_header_stdbool_h = yes; then
21532
cat >>confdefs.h <<\_ACEOF
21533
@%:@define HAVE_STDBOOL_H 1
21538
{ echo "$as_me:$LINENO: checking for an ANSI C-conforming const" >&5
21539
echo $ECHO_N "checking for an ANSI C-conforming const... $ECHO_C" >&6; }
21540
if test "${ac_cv_c_const+set}" = set; then
21541
echo $ECHO_N "(cached) $ECHO_C" >&6
21543
cat >conftest.$ac_ext <<_ACEOF
21546
cat confdefs.h >>conftest.$ac_ext
21547
cat >>conftest.$ac_ext <<_ACEOF
21548
/* end confdefs.h. */
21553
/* FIXME: Include the comments suggested by Paul. */
21554
#ifndef __cplusplus
21555
/* Ultrix mips cc rejects this. */
21556
typedef int charset[2];
21558
/* SunOS 4.1.1 cc rejects this. */
21559
char const *const *pcpcc;
21561
/* NEC SVR4.0.2 mips cc rejects this. */
21562
struct point {int x, y;};
21563
static struct point const zero = {0,0};
21564
/* AIX XL C 1.02.0.0 rejects this.
21565
It does not let you subtract one const X* pointer from another in
21566
an arm of an if-expression whose if-part is not a constant
21568
const char *g = "string";
21569
pcpcc = &g + (g ? g-g : 0);
21570
/* HPUX 7.0 cc rejects these. */
21572
ppc = (char**) pcpcc;
21573
pcpcc = (char const *const *) ppc;
21574
{ /* SCO 3.2v4 cc rejects this. */
21576
char const *s = 0 ? (char *) 0 : (char const *) 0;
21581
{ /* Someone thinks the Sun supposedly-ANSI compiler will reject this. */
21582
int x[] = {25, 17};
21583
const int *foo = &x[0];
21586
{ /* Sun SC1.0 ANSI compiler rejects this -- but not the above. */
21587
typedef const int *iptr;
21591
{ /* AIX XL C 1.02.0.0 rejects this saying
21592
"k.c", line 2.27: 1506-025 (S) Operand must be a modifiable lvalue. */
21593
struct s { int j; const int *ap[3]; };
21594
struct s *b; b->j = 5;
21596
{ /* ULTRIX-32 V3.1 (Rev 9) vcc rejects this */
21597
const int foo = 10;
21598
if (!foo) return 0;
21600
return !cs[0] && !zero.x;
21607
rm -f conftest.$ac_objext
21608
if { (ac_try="$ac_compile"
21609
case "(($ac_try" in
21610
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21611
*) ac_try_echo=$ac_try;;
21613
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21614
(eval "$ac_compile") 2>conftest.er1
21616
grep -v '^ *+' conftest.er1 >conftest.err
21618
cat conftest.err >&5
21619
echo "$as_me:$LINENO: \$? = $ac_status" >&5
21620
(exit $ac_status); } && {
21621
test -z "$ac_c_werror_flag" ||
21622
test ! -s conftest.err
21623
} && test -s conftest.$ac_objext; then
21626
echo "$as_me: failed program was:" >&5
21627
sed 's/^/| /' conftest.$ac_ext >&5
21632
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21634
{ echo "$as_me:$LINENO: result: $ac_cv_c_const" >&5
21635
echo "${ECHO_T}$ac_cv_c_const" >&6; }
21636
if test $ac_cv_c_const = no; then
21638
cat >>confdefs.h <<\_ACEOF
21644
{ echo "$as_me:$LINENO: checking for inline" >&5
21645
echo $ECHO_N "checking for inline... $ECHO_C" >&6; }
21646
if test "${ac_cv_c_inline+set}" = set; then
21647
echo $ECHO_N "(cached) $ECHO_C" >&6
21650
for ac_kw in inline __inline__ __inline; do
21651
cat >conftest.$ac_ext <<_ACEOF
21654
cat confdefs.h >>conftest.$ac_ext
21655
cat >>conftest.$ac_ext <<_ACEOF
21656
/* end confdefs.h. */
21657
#ifndef __cplusplus
21659
static $ac_kw foo_t static_foo () {return 0; }
21660
$ac_kw foo_t foo () {return 0; }
21664
rm -f conftest.$ac_objext
21665
if { (ac_try="$ac_compile"
21666
case "(($ac_try" in
21667
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21668
*) ac_try_echo=$ac_try;;
21670
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21671
(eval "$ac_compile") 2>conftest.er1
21673
grep -v '^ *+' conftest.er1 >conftest.err
21675
cat conftest.err >&5
21676
echo "$as_me:$LINENO: \$? = $ac_status" >&5
21677
(exit $ac_status); } && {
21678
test -z "$ac_c_werror_flag" ||
21679
test ! -s conftest.err
21680
} && test -s conftest.$ac_objext; then
21681
ac_cv_c_inline=$ac_kw
21683
echo "$as_me: failed program was:" >&5
21684
sed 's/^/| /' conftest.$ac_ext >&5
21689
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21690
test "$ac_cv_c_inline" != no && break
21694
{ echo "$as_me:$LINENO: result: $ac_cv_c_inline" >&5
21695
echo "${ECHO_T}$ac_cv_c_inline" >&6; }
21698
case $ac_cv_c_inline in
21701
case $ac_cv_c_inline in
21703
*) ac_val=$ac_cv_c_inline;;
21705
cat >>confdefs.h <<_ACEOF
21706
#ifndef __cplusplus
21707
#define inline $ac_val
21713
{ echo "$as_me:$LINENO: checking for size_t" >&5
21714
echo $ECHO_N "checking for size_t... $ECHO_C" >&6; }
21715
if test "${ac_cv_type_size_t+set}" = set; then
21716
echo $ECHO_N "(cached) $ECHO_C" >&6
21718
cat >conftest.$ac_ext <<_ACEOF
21721
cat confdefs.h >>conftest.$ac_ext
21722
cat >>conftest.$ac_ext <<_ACEOF
21723
/* end confdefs.h. */
21724
$ac_includes_default
21725
typedef size_t ac__type_new_;
21729
if ((ac__type_new_ *) 0)
21731
if (sizeof (ac__type_new_))
21737
rm -f conftest.$ac_objext
21738
if { (ac_try="$ac_compile"
21739
case "(($ac_try" in
21740
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21741
*) ac_try_echo=$ac_try;;
21743
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21744
(eval "$ac_compile") 2>conftest.er1
21746
grep -v '^ *+' conftest.er1 >conftest.err
21748
cat conftest.err >&5
21749
echo "$as_me:$LINENO: \$? = $ac_status" >&5
21750
(exit $ac_status); } && {
21751
test -z "$ac_c_werror_flag" ||
21752
test ! -s conftest.err
21753
} && test -s conftest.$ac_objext; then
21754
ac_cv_type_size_t=yes
21756
echo "$as_me: failed program was:" >&5
21757
sed 's/^/| /' conftest.$ac_ext >&5
21759
ac_cv_type_size_t=no
21762
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21764
{ echo "$as_me:$LINENO: result: $ac_cv_type_size_t" >&5
21765
echo "${ECHO_T}$ac_cv_type_size_t" >&6; }
21766
if test $ac_cv_type_size_t = yes; then
21770
cat >>confdefs.h <<_ACEOF
21771
@%:@define size_t unsigned int
21776
{ echo "$as_me:$LINENO: checking whether time.h and sys/time.h may both be included" >&5
21777
echo $ECHO_N "checking whether time.h and sys/time.h may both be included... $ECHO_C" >&6; }
21778
if test "${ac_cv_header_time+set}" = set; then
21779
echo $ECHO_N "(cached) $ECHO_C" >&6
21781
cat >conftest.$ac_ext <<_ACEOF
21784
cat confdefs.h >>conftest.$ac_ext
21785
cat >>conftest.$ac_ext <<_ACEOF
21786
/* end confdefs.h. */
21787
#include <sys/types.h>
21788
#include <sys/time.h>
21794
if ((struct tm *) 0)
21800
rm -f conftest.$ac_objext
21801
if { (ac_try="$ac_compile"
21802
case "(($ac_try" in
21803
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21804
*) ac_try_echo=$ac_try;;
21806
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21807
(eval "$ac_compile") 2>conftest.er1
21809
grep -v '^ *+' conftest.er1 >conftest.err
21811
cat conftest.err >&5
21812
echo "$as_me:$LINENO: \$? = $ac_status" >&5
21813
(exit $ac_status); } && {
21814
test -z "$ac_c_werror_flag" ||
21815
test ! -s conftest.err
21816
} && test -s conftest.$ac_objext; then
21817
ac_cv_header_time=yes
21819
echo "$as_me: failed program was:" >&5
21820
sed 's/^/| /' conftest.$ac_ext >&5
21822
ac_cv_header_time=no
21825
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21827
{ echo "$as_me:$LINENO: result: $ac_cv_header_time" >&5
21828
echo "${ECHO_T}$ac_cv_header_time" >&6; }
21829
if test $ac_cv_header_time = yes; then
21831
cat >>confdefs.h <<\_ACEOF
21832
@%:@define TIME_WITH_SYS_TIME 1
21837
{ echo "$as_me:$LINENO: checking for working volatile" >&5
21838
echo $ECHO_N "checking for working volatile... $ECHO_C" >&6; }
21839
if test "${ac_cv_c_volatile+set}" = set; then
21840
echo $ECHO_N "(cached) $ECHO_C" >&6
21842
cat >conftest.$ac_ext <<_ACEOF
21845
cat confdefs.h >>conftest.$ac_ext
21846
cat >>conftest.$ac_ext <<_ACEOF
21847
/* end confdefs.h. */
21854
int * volatile y = (int *) 0;
21860
rm -f conftest.$ac_objext
21861
if { (ac_try="$ac_compile"
21862
case "(($ac_try" in
21863
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21864
*) ac_try_echo=$ac_try;;
21866
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21867
(eval "$ac_compile") 2>conftest.er1
21869
grep -v '^ *+' conftest.er1 >conftest.err
21871
cat conftest.err >&5
21872
echo "$as_me:$LINENO: \$? = $ac_status" >&5
21873
(exit $ac_status); } && {
21874
test -z "$ac_c_werror_flag" ||
21875
test ! -s conftest.err
21876
} && test -s conftest.$ac_objext; then
21877
ac_cv_c_volatile=yes
21879
echo "$as_me: failed program was:" >&5
21880
sed 's/^/| /' conftest.$ac_ext >&5
21882
ac_cv_c_volatile=no
21885
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21887
{ echo "$as_me:$LINENO: result: $ac_cv_c_volatile" >&5
21888
echo "${ECHO_T}$ac_cv_c_volatile" >&6; }
21889
if test $ac_cv_c_volatile = no; then
21891
cat >>confdefs.h <<\_ACEOF
21892
@%:@define volatile
21898
{ echo "$as_me:$LINENO: checking whether closedir returns void" >&5
21899
echo $ECHO_N "checking whether closedir returns void... $ECHO_C" >&6; }
21900
if test "${ac_cv_func_closedir_void+set}" = set; then
21901
echo $ECHO_N "(cached) $ECHO_C" >&6
21903
if test "$cross_compiling" = yes; then
21904
ac_cv_func_closedir_void=yes
21906
cat >conftest.$ac_ext <<_ACEOF
21909
cat confdefs.h >>conftest.$ac_ext
21910
cat >>conftest.$ac_ext <<_ACEOF
21911
/* end confdefs.h. */
21912
$ac_includes_default
21913
#include <$ac_header_dirent>
21914
#ifndef __cplusplus
21921
return closedir (opendir (".")) != 0;
21926
rm -f conftest$ac_exeext
21927
if { (ac_try="$ac_link"
21928
case "(($ac_try" in
21929
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21930
*) ac_try_echo=$ac_try;;
21932
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21933
(eval "$ac_link") 2>&5
21935
echo "$as_me:$LINENO: \$? = $ac_status" >&5
21936
(exit $ac_status); } && { ac_try='./conftest$ac_exeext'
21937
{ (case "(($ac_try" in
21938
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21939
*) ac_try_echo=$ac_try;;
21941
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21942
(eval "$ac_try") 2>&5
21944
echo "$as_me:$LINENO: \$? = $ac_status" >&5
21945
(exit $ac_status); }; }; then
21946
ac_cv_func_closedir_void=no
21948
echo "$as_me: program exited with status $ac_status" >&5
21949
echo "$as_me: failed program was:" >&5
21950
sed 's/^/| /' conftest.$ac_ext >&5
21952
( exit $ac_status )
21953
ac_cv_func_closedir_void=yes
21955
rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
21960
{ echo "$as_me:$LINENO: result: $ac_cv_func_closedir_void" >&5
21961
echo "${ECHO_T}$ac_cv_func_closedir_void" >&6; }
21962
if test $ac_cv_func_closedir_void = yes; then
21964
cat >>confdefs.h <<\_ACEOF
21965
@%:@define CLOSEDIR_VOID 1
21971
for ac_header in stdlib.h
21973
as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
21974
if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
21975
{ echo "$as_me:$LINENO: checking for $ac_header" >&5
21976
echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
21977
if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
21978
echo $ECHO_N "(cached) $ECHO_C" >&6
21980
ac_res=`eval echo '${'$as_ac_Header'}'`
21981
{ echo "$as_me:$LINENO: result: $ac_res" >&5
21982
echo "${ECHO_T}$ac_res" >&6; }
21984
# Is the header compilable?
21985
{ echo "$as_me:$LINENO: checking $ac_header usability" >&5
21986
echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; }
21987
cat >conftest.$ac_ext <<_ACEOF
21990
cat confdefs.h >>conftest.$ac_ext
21991
cat >>conftest.$ac_ext <<_ACEOF
21992
/* end confdefs.h. */
21993
$ac_includes_default
21994
@%:@include <$ac_header>
21996
rm -f conftest.$ac_objext
21997
if { (ac_try="$ac_compile"
21998
case "(($ac_try" in
21999
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22000
*) ac_try_echo=$ac_try;;
22002
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22003
(eval "$ac_compile") 2>conftest.er1
22005
grep -v '^ *+' conftest.er1 >conftest.err
22007
cat conftest.err >&5
22008
echo "$as_me:$LINENO: \$? = $ac_status" >&5
22009
(exit $ac_status); } && {
22010
test -z "$ac_c_werror_flag" ||
22011
test ! -s conftest.err
22012
} && test -s conftest.$ac_objext; then
22013
ac_header_compiler=yes
22015
echo "$as_me: failed program was:" >&5
22016
sed 's/^/| /' conftest.$ac_ext >&5
22018
ac_header_compiler=no
22021
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22022
{ echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
22023
echo "${ECHO_T}$ac_header_compiler" >&6; }
22025
# Is the header present?
22026
{ echo "$as_me:$LINENO: checking $ac_header presence" >&5
22027
echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; }
22028
cat >conftest.$ac_ext <<_ACEOF
22031
cat confdefs.h >>conftest.$ac_ext
22032
cat >>conftest.$ac_ext <<_ACEOF
22033
/* end confdefs.h. */
22034
@%:@include <$ac_header>
22036
if { (ac_try="$ac_cpp conftest.$ac_ext"
22037
case "(($ac_try" in
22038
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22039
*) ac_try_echo=$ac_try;;
22041
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22042
(eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
22044
grep -v '^ *+' conftest.er1 >conftest.err
22046
cat conftest.err >&5
22047
echo "$as_me:$LINENO: \$? = $ac_status" >&5
22048
(exit $ac_status); } >/dev/null && {
22049
test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
22050
test ! -s conftest.err
22052
ac_header_preproc=yes
22054
echo "$as_me: failed program was:" >&5
22055
sed 's/^/| /' conftest.$ac_ext >&5
22057
ac_header_preproc=no
22060
rm -f conftest.err conftest.$ac_ext
22061
{ echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
22062
echo "${ECHO_T}$ac_header_preproc" >&6; }
22064
# So? What about this header?
22065
case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
22067
{ echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
22068
echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
22069
{ echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
22070
echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
22071
ac_header_preproc=yes
22074
{ echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
22075
echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
22076
{ echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
22077
echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
22078
{ echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
22079
echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
22080
{ echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
22081
echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
22082
{ echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
22083
echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
22084
{ echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
22085
echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
22089
{ echo "$as_me:$LINENO: checking for $ac_header" >&5
22090
echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
22091
if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
22092
echo $ECHO_N "(cached) $ECHO_C" >&6
22094
eval "$as_ac_Header=\$ac_header_preproc"
22096
ac_res=`eval echo '${'$as_ac_Header'}'`
22097
{ echo "$as_me:$LINENO: result: $ac_res" >&5
22098
echo "${ECHO_T}$ac_res" >&6; }
22101
if test `eval echo '${'$as_ac_Header'}'` = yes; then
22102
cat >>confdefs.h <<_ACEOF
22103
@%:@define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
22110
{ echo "$as_me:$LINENO: checking for GNU libc compatible malloc" >&5
22111
echo $ECHO_N "checking for GNU libc compatible malloc... $ECHO_C" >&6; }
22112
if test "${ac_cv_func_malloc_0_nonnull+set}" = set; then
22113
echo $ECHO_N "(cached) $ECHO_C" >&6
22115
if test "$cross_compiling" = yes; then
22116
ac_cv_func_malloc_0_nonnull=no
22118
cat >conftest.$ac_ext <<_ACEOF
22121
cat confdefs.h >>conftest.$ac_ext
22122
cat >>conftest.$ac_ext <<_ACEOF
22123
/* end confdefs.h. */
22124
#if defined STDC_HEADERS || defined HAVE_STDLIB_H
22125
# include <stdlib.h>
22133
return ! malloc (0);
22138
rm -f conftest$ac_exeext
22139
if { (ac_try="$ac_link"
22140
case "(($ac_try" in
22141
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22142
*) ac_try_echo=$ac_try;;
22144
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22145
(eval "$ac_link") 2>&5
22147
echo "$as_me:$LINENO: \$? = $ac_status" >&5
22148
(exit $ac_status); } && { ac_try='./conftest$ac_exeext'
22149
{ (case "(($ac_try" in
22150
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22151
*) ac_try_echo=$ac_try;;
22153
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22154
(eval "$ac_try") 2>&5
22156
echo "$as_me:$LINENO: \$? = $ac_status" >&5
22157
(exit $ac_status); }; }; then
22158
ac_cv_func_malloc_0_nonnull=yes
22160
echo "$as_me: program exited with status $ac_status" >&5
22161
echo "$as_me: failed program was:" >&5
22162
sed 's/^/| /' conftest.$ac_ext >&5
22164
( exit $ac_status )
22165
ac_cv_func_malloc_0_nonnull=no
22167
rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
22172
{ echo "$as_me:$LINENO: result: $ac_cv_func_malloc_0_nonnull" >&5
22173
echo "${ECHO_T}$ac_cv_func_malloc_0_nonnull" >&6; }
22174
if test $ac_cv_func_malloc_0_nonnull = yes; then
22176
cat >>confdefs.h <<\_ACEOF
22177
@%:@define HAVE_MALLOC 1
22181
cat >>confdefs.h <<\_ACEOF
22182
@%:@define HAVE_MALLOC 0
22185
case " $LIB@&t@OBJS " in
22186
*" malloc.$ac_objext "* ) ;;
22187
*) LIB@&t@OBJS="$LIB@&t@OBJS malloc.$ac_objext"
22192
cat >>confdefs.h <<\_ACEOF
22193
@%:@define malloc rpl_malloc
22200
{ echo "$as_me:$LINENO: checking for working memcmp" >&5
22201
echo $ECHO_N "checking for working memcmp... $ECHO_C" >&6; }
22202
if test "${ac_cv_func_memcmp_working+set}" = set; then
22203
echo $ECHO_N "(cached) $ECHO_C" >&6
22205
if test "$cross_compiling" = yes; then
22206
ac_cv_func_memcmp_working=no
22208
cat >conftest.$ac_ext <<_ACEOF
22211
cat confdefs.h >>conftest.$ac_ext
22212
cat >>conftest.$ac_ext <<_ACEOF
22213
/* end confdefs.h. */
22214
$ac_includes_default
22219
/* Some versions of memcmp are not 8-bit clean. */
22220
char c0 = '\100', c1 = '\200', c2 = '\201';
22221
if (memcmp(&c0, &c2, 1) >= 0 || memcmp(&c1, &c2, 1) >= 0)
22224
/* The Next x86 OpenStep bug shows up only when comparing 16 bytes
22225
or more and with at least one buffer not starting on a 4-byte boundary.
22226
William Lewis provided this test program. */
22231
for (i = 0; i < 4; i++)
22235
strcpy (a, "--------01111111");
22236
strcpy (b, "--------10000000");
22237
if (memcmp (a, b, 16) >= 0)
22247
rm -f conftest$ac_exeext
22248
if { (ac_try="$ac_link"
22249
case "(($ac_try" in
22250
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22251
*) ac_try_echo=$ac_try;;
22253
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22254
(eval "$ac_link") 2>&5
22256
echo "$as_me:$LINENO: \$? = $ac_status" >&5
22257
(exit $ac_status); } && { ac_try='./conftest$ac_exeext'
22258
{ (case "(($ac_try" in
22259
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22260
*) ac_try_echo=$ac_try;;
22262
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22263
(eval "$ac_try") 2>&5
22265
echo "$as_me:$LINENO: \$? = $ac_status" >&5
22266
(exit $ac_status); }; }; then
22267
ac_cv_func_memcmp_working=yes
22269
echo "$as_me: program exited with status $ac_status" >&5
22270
echo "$as_me: failed program was:" >&5
22271
sed 's/^/| /' conftest.$ac_ext >&5
22273
( exit $ac_status )
22274
ac_cv_func_memcmp_working=no
22276
rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
22281
{ echo "$as_me:$LINENO: result: $ac_cv_func_memcmp_working" >&5
22282
echo "${ECHO_T}$ac_cv_func_memcmp_working" >&6; }
22283
test $ac_cv_func_memcmp_working = no && case " $LIB@&t@OBJS " in
22284
*" memcmp.$ac_objext "* ) ;;
22285
*) LIB@&t@OBJS="$LIB@&t@OBJS memcmp.$ac_objext"
22290
{ echo "$as_me:$LINENO: checking whether lstat dereferences a symlink specified with a trailing slash" >&5
22291
echo $ECHO_N "checking whether lstat dereferences a symlink specified with a trailing slash... $ECHO_C" >&6; }
22292
if test "${ac_cv_func_lstat_dereferences_slashed_symlink+set}" = set; then
22293
echo $ECHO_N "(cached) $ECHO_C" >&6
22295
rm -f conftest.sym conftest.file
22296
echo >conftest.file
22297
if test "$as_ln_s" = "ln -s" && ln -s conftest.file conftest.sym; then
22298
if test "$cross_compiling" = yes; then
22299
ac_cv_func_lstat_dereferences_slashed_symlink=no
22301
cat >conftest.$ac_ext <<_ACEOF
22304
cat confdefs.h >>conftest.$ac_ext
22305
cat >>conftest.$ac_ext <<_ACEOF
22306
/* end confdefs.h. */
22307
$ac_includes_default
22312
/* Linux will dereference the symlink and fail.
22313
That is better in the sense that it means we will not
22314
have to compile and use the lstat wrapper. */
22315
return lstat ("conftest.sym/", &sbuf) == 0;
22320
rm -f conftest$ac_exeext
22321
if { (ac_try="$ac_link"
22322
case "(($ac_try" in
22323
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22324
*) ac_try_echo=$ac_try;;
22326
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22327
(eval "$ac_link") 2>&5
22329
echo "$as_me:$LINENO: \$? = $ac_status" >&5
22330
(exit $ac_status); } && { ac_try='./conftest$ac_exeext'
22331
{ (case "(($ac_try" in
22332
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22333
*) ac_try_echo=$ac_try;;
22335
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22336
(eval "$ac_try") 2>&5
22338
echo "$as_me:$LINENO: \$? = $ac_status" >&5
22339
(exit $ac_status); }; }; then
22340
ac_cv_func_lstat_dereferences_slashed_symlink=yes
22342
echo "$as_me: program exited with status $ac_status" >&5
22343
echo "$as_me: failed program was:" >&5
22344
sed 's/^/| /' conftest.$ac_ext >&5
22346
( exit $ac_status )
22347
ac_cv_func_lstat_dereferences_slashed_symlink=no
22349
rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
22354
# If the `ln -s' command failed, then we probably don't even
22355
# have an lstat function.
22356
ac_cv_func_lstat_dereferences_slashed_symlink=no
22358
rm -f conftest.sym conftest.file
22361
{ echo "$as_me:$LINENO: result: $ac_cv_func_lstat_dereferences_slashed_symlink" >&5
22362
echo "${ECHO_T}$ac_cv_func_lstat_dereferences_slashed_symlink" >&6; }
22364
test $ac_cv_func_lstat_dereferences_slashed_symlink = yes &&
22366
cat >>confdefs.h <<_ACEOF
22367
@%:@define LSTAT_FOLLOWS_SLASHED_SYMLINK 1
22371
if test $ac_cv_func_lstat_dereferences_slashed_symlink = no; then
22372
case " $LIB@&t@OBJS " in
22373
*" lstat.$ac_objext "* ) ;;
22374
*) LIB@&t@OBJS="$LIB@&t@OBJS lstat.$ac_objext"
22380
{ echo "$as_me:$LINENO: checking whether stat accepts an empty string" >&5
22381
echo $ECHO_N "checking whether stat accepts an empty string... $ECHO_C" >&6; }
22382
if test "${ac_cv_func_stat_empty_string_bug+set}" = set; then
22383
echo $ECHO_N "(cached) $ECHO_C" >&6
22385
if test "$cross_compiling" = yes; then
22386
ac_cv_func_stat_empty_string_bug=yes
22388
cat >conftest.$ac_ext <<_ACEOF
22391
cat confdefs.h >>conftest.$ac_ext
22392
cat >>conftest.$ac_ext <<_ACEOF
22393
/* end confdefs.h. */
22394
$ac_includes_default
22399
return stat ("", &sbuf) == 0;
22404
rm -f conftest$ac_exeext
22405
if { (ac_try="$ac_link"
22406
case "(($ac_try" in
22407
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22408
*) ac_try_echo=$ac_try;;
22410
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22411
(eval "$ac_link") 2>&5
22413
echo "$as_me:$LINENO: \$? = $ac_status" >&5
22414
(exit $ac_status); } && { ac_try='./conftest$ac_exeext'
22415
{ (case "(($ac_try" in
22416
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22417
*) ac_try_echo=$ac_try;;
22419
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22420
(eval "$ac_try") 2>&5
22422
echo "$as_me:$LINENO: \$? = $ac_status" >&5
22423
(exit $ac_status); }; }; then
22424
ac_cv_func_stat_empty_string_bug=no
22426
echo "$as_me: program exited with status $ac_status" >&5
22427
echo "$as_me: failed program was:" >&5
22428
sed 's/^/| /' conftest.$ac_ext >&5
22430
( exit $ac_status )
22431
ac_cv_func_stat_empty_string_bug=yes
22433
rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
22438
{ echo "$as_me:$LINENO: result: $ac_cv_func_stat_empty_string_bug" >&5
22439
echo "${ECHO_T}$ac_cv_func_stat_empty_string_bug" >&6; }
22440
if test $ac_cv_func_stat_empty_string_bug = yes; then
22441
case " $LIB@&t@OBJS " in
22442
*" stat.$ac_objext "* ) ;;
22443
*) LIB@&t@OBJS="$LIB@&t@OBJS stat.$ac_objext"
22448
cat >>confdefs.h <<_ACEOF
22449
@%:@define HAVE_STAT_EMPTY_STRING_BUG 1
22455
for ac_func in vprintf
22457
as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
22458
{ echo "$as_me:$LINENO: checking for $ac_func" >&5
22459
echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
22460
if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
22461
echo $ECHO_N "(cached) $ECHO_C" >&6
22463
cat >conftest.$ac_ext <<_ACEOF
22466
cat confdefs.h >>conftest.$ac_ext
22467
cat >>conftest.$ac_ext <<_ACEOF
22468
/* end confdefs.h. */
22469
/* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
22470
For example, HP-UX 11i <limits.h> declares gettimeofday. */
22471
#define $ac_func innocuous_$ac_func
22473
/* System header to define __stub macros and hopefully few prototypes,
22474
which can conflict with char $ac_func (); below.
22475
Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
22476
<limits.h> exists even on freestanding compilers. */
22479
# include <limits.h>
22481
# include <assert.h>
22486
/* Override any GCC internal prototype to avoid an error.
22487
Use char because int might match the return type of a GCC
22488
builtin and then its argument prototype would still apply. */
22493
/* The GNU C library defines this for functions which it implements
22494
to always fail with ENOSYS. Some functions are actually named
22495
something starting with __ and the normal name is an alias. */
22496
#if defined __stub_$ac_func || defined __stub___$ac_func
22503
return $ac_func ();
22508
rm -f conftest.$ac_objext conftest$ac_exeext
22509
if { (ac_try="$ac_link"
22510
case "(($ac_try" in
22511
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22512
*) ac_try_echo=$ac_try;;
22514
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22515
(eval "$ac_link") 2>conftest.er1
22517
grep -v '^ *+' conftest.er1 >conftest.err
22519
cat conftest.err >&5
22520
echo "$as_me:$LINENO: \$? = $ac_status" >&5
22521
(exit $ac_status); } && {
22522
test -z "$ac_c_werror_flag" ||
22523
test ! -s conftest.err
22524
} && test -s conftest$ac_exeext &&
22525
$as_test_x conftest$ac_exeext; then
22526
eval "$as_ac_var=yes"
22528
echo "$as_me: failed program was:" >&5
22529
sed 's/^/| /' conftest.$ac_ext >&5
22531
eval "$as_ac_var=no"
22534
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
22535
conftest$ac_exeext conftest.$ac_ext
22537
ac_res=`eval echo '${'$as_ac_var'}'`
22538
{ echo "$as_me:$LINENO: result: $ac_res" >&5
22539
echo "${ECHO_T}$ac_res" >&6; }
22540
if test `eval echo '${'$as_ac_var'}'` = yes; then
22541
cat >>confdefs.h <<_ACEOF
22542
@%:@define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
22545
{ echo "$as_me:$LINENO: checking for _doprnt" >&5
22546
echo $ECHO_N "checking for _doprnt... $ECHO_C" >&6; }
22547
if test "${ac_cv_func__doprnt+set}" = set; then
22548
echo $ECHO_N "(cached) $ECHO_C" >&6
22550
cat >conftest.$ac_ext <<_ACEOF
22553
cat confdefs.h >>conftest.$ac_ext
22554
cat >>conftest.$ac_ext <<_ACEOF
22555
/* end confdefs.h. */
22556
/* Define _doprnt to an innocuous variant, in case <limits.h> declares _doprnt.
22557
For example, HP-UX 11i <limits.h> declares gettimeofday. */
22558
#define _doprnt innocuous__doprnt
22560
/* System header to define __stub macros and hopefully few prototypes,
22561
which can conflict with char _doprnt (); below.
22562
Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
22563
<limits.h> exists even on freestanding compilers. */
22566
# include <limits.h>
22568
# include <assert.h>
22573
/* Override any GCC internal prototype to avoid an error.
22574
Use char because int might match the return type of a GCC
22575
builtin and then its argument prototype would still apply. */
22580
/* The GNU C library defines this for functions which it implements
22581
to always fail with ENOSYS. Some functions are actually named
22582
something starting with __ and the normal name is an alias. */
22583
#if defined __stub__doprnt || defined __stub____doprnt
22595
rm -f conftest.$ac_objext conftest$ac_exeext
22596
if { (ac_try="$ac_link"
22597
case "(($ac_try" in
22598
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22599
*) ac_try_echo=$ac_try;;
22601
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22602
(eval "$ac_link") 2>conftest.er1
22604
grep -v '^ *+' conftest.er1 >conftest.err
22606
cat conftest.err >&5
22607
echo "$as_me:$LINENO: \$? = $ac_status" >&5
22608
(exit $ac_status); } && {
22609
test -z "$ac_c_werror_flag" ||
22610
test ! -s conftest.err
22611
} && test -s conftest$ac_exeext &&
22612
$as_test_x conftest$ac_exeext; then
22613
ac_cv_func__doprnt=yes
22615
echo "$as_me: failed program was:" >&5
22616
sed 's/^/| /' conftest.$ac_ext >&5
22618
ac_cv_func__doprnt=no
22621
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
22622
conftest$ac_exeext conftest.$ac_ext
22624
{ echo "$as_me:$LINENO: result: $ac_cv_func__doprnt" >&5
22625
echo "${ECHO_T}$ac_cv_func__doprnt" >&6; }
22626
if test $ac_cv_func__doprnt = yes; then
22628
cat >>confdefs.h <<\_ACEOF
22629
@%:@define HAVE_DOPRNT 1
22650
for ac_func in atexit getcwd isascii memchr memmove memset strcasecmp strchr strcspn strdup strrchr strstr
22652
as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
22653
{ echo "$as_me:$LINENO: checking for $ac_func" >&5
22654
echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
22655
if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
22656
echo $ECHO_N "(cached) $ECHO_C" >&6
22658
cat >conftest.$ac_ext <<_ACEOF
22661
cat confdefs.h >>conftest.$ac_ext
22662
cat >>conftest.$ac_ext <<_ACEOF
22663
/* end confdefs.h. */
22664
/* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
22665
For example, HP-UX 11i <limits.h> declares gettimeofday. */
22666
#define $ac_func innocuous_$ac_func
22668
/* System header to define __stub macros and hopefully few prototypes,
22669
which can conflict with char $ac_func (); below.
22670
Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
22671
<limits.h> exists even on freestanding compilers. */
22674
# include <limits.h>
22676
# include <assert.h>
22681
/* Override any GCC internal prototype to avoid an error.
22682
Use char because int might match the return type of a GCC
22683
builtin and then its argument prototype would still apply. */
22688
/* The GNU C library defines this for functions which it implements
22689
to always fail with ENOSYS. Some functions are actually named
22690
something starting with __ and the normal name is an alias. */
22691
#if defined __stub_$ac_func || defined __stub___$ac_func
22698
return $ac_func ();
22703
rm -f conftest.$ac_objext conftest$ac_exeext
22704
if { (ac_try="$ac_link"
22705
case "(($ac_try" in
22706
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22707
*) ac_try_echo=$ac_try;;
22709
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22710
(eval "$ac_link") 2>conftest.er1
22712
grep -v '^ *+' conftest.er1 >conftest.err
22714
cat conftest.err >&5
22715
echo "$as_me:$LINENO: \$? = $ac_status" >&5
22716
(exit $ac_status); } && {
22717
test -z "$ac_c_werror_flag" ||
22718
test ! -s conftest.err
22719
} && test -s conftest$ac_exeext &&
22720
$as_test_x conftest$ac_exeext; then
22721
eval "$as_ac_var=yes"
22723
echo "$as_me: failed program was:" >&5
22724
sed 's/^/| /' conftest.$ac_ext >&5
22726
eval "$as_ac_var=no"
22729
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
22730
conftest$ac_exeext conftest.$ac_ext
22732
ac_res=`eval echo '${'$as_ac_var'}'`
22733
{ echo "$as_me:$LINENO: result: $ac_res" >&5
22734
echo "${ECHO_T}$ac_res" >&6; }
22735
if test `eval echo '${'$as_ac_var'}'` = yes; then
22736
cat >>confdefs.h <<_ACEOF
22737
@%:@define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
22744
{ echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
22745
echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6; }
22746
if test "${ac_cv_lib_dl_dlopen+set}" = set; then
22747
echo $ECHO_N "(cached) $ECHO_C" >&6
22749
ac_check_lib_save_LIBS=$LIBS
22751
cat >conftest.$ac_ext <<_ACEOF
22754
cat confdefs.h >>conftest.$ac_ext
22755
cat >>conftest.$ac_ext <<_ACEOF
22756
/* end confdefs.h. */
22758
/* Override any GCC internal prototype to avoid an error.
22759
Use char because int might match the return type of a GCC
22760
builtin and then its argument prototype would still apply. */
22773
rm -f conftest.$ac_objext conftest$ac_exeext
22774
if { (ac_try="$ac_link"
22775
case "(($ac_try" in
22776
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22777
*) ac_try_echo=$ac_try;;
22779
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22780
(eval "$ac_link") 2>conftest.er1
22782
grep -v '^ *+' conftest.er1 >conftest.err
22784
cat conftest.err >&5
22785
echo "$as_me:$LINENO: \$? = $ac_status" >&5
22786
(exit $ac_status); } && {
22787
test -z "$ac_c_werror_flag" ||
22788
test ! -s conftest.err
22789
} && test -s conftest$ac_exeext &&
22790
$as_test_x conftest$ac_exeext; then
22791
ac_cv_lib_dl_dlopen=yes
22793
echo "$as_me: failed program was:" >&5
22794
sed 's/^/| /' conftest.$ac_ext >&5
22796
ac_cv_lib_dl_dlopen=no
22799
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
22800
conftest$ac_exeext conftest.$ac_ext
22801
LIBS=$ac_check_lib_save_LIBS
22803
{ echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
22804
echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6; }
22805
if test $ac_cv_lib_dl_dlopen = yes; then
22806
cat >>confdefs.h <<_ACEOF
22807
@%:@define HAVE_LIBDL 1
22815
{ echo "$as_me:$LINENO: checking for pthread_create in -lpthread" >&5
22816
echo $ECHO_N "checking for pthread_create in -lpthread... $ECHO_C" >&6; }
22817
if test "${ac_cv_lib_pthread_pthread_create+set}" = set; then
22818
echo $ECHO_N "(cached) $ECHO_C" >&6
22820
ac_check_lib_save_LIBS=$LIBS
22821
LIBS="-lpthread $LIBS"
22822
cat >conftest.$ac_ext <<_ACEOF
22825
cat confdefs.h >>conftest.$ac_ext
22826
cat >>conftest.$ac_ext <<_ACEOF
22827
/* end confdefs.h. */
22829
/* Override any GCC internal prototype to avoid an error.
22830
Use char because int might match the return type of a GCC
22831
builtin and then its argument prototype would still apply. */
22835
char pthread_create ();
22839
return pthread_create ();
22844
rm -f conftest.$ac_objext conftest$ac_exeext
22845
if { (ac_try="$ac_link"
22846
case "(($ac_try" in
22847
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22848
*) ac_try_echo=$ac_try;;
22850
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22851
(eval "$ac_link") 2>conftest.er1
22853
grep -v '^ *+' conftest.er1 >conftest.err
22855
cat conftest.err >&5
22856
echo "$as_me:$LINENO: \$? = $ac_status" >&5
22857
(exit $ac_status); } && {
22858
test -z "$ac_c_werror_flag" ||
22859
test ! -s conftest.err
22860
} && test -s conftest$ac_exeext &&
22861
$as_test_x conftest$ac_exeext; then
22862
ac_cv_lib_pthread_pthread_create=yes
22864
echo "$as_me: failed program was:" >&5
22865
sed 's/^/| /' conftest.$ac_ext >&5
22867
ac_cv_lib_pthread_pthread_create=no
22870
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
22871
conftest$ac_exeext conftest.$ac_ext
22872
LIBS=$ac_check_lib_save_LIBS
22874
{ echo "$as_me:$LINENO: result: $ac_cv_lib_pthread_pthread_create" >&5
22875
echo "${ECHO_T}$ac_cv_lib_pthread_pthread_create" >&6; }
22876
if test $ac_cv_lib_pthread_pthread_create = yes; then
22877
cat >>confdefs.h <<_ACEOF
22878
@%:@define HAVE_LIBPTHREAD 1
22881
LIBS="-lpthread $LIBS"
22885
{ echo "$as_me:$LINENO: checking for snprintf" >&5
22886
echo $ECHO_N "checking for snprintf... $ECHO_C" >&6; }
22887
if test "${ac_cv_func_snprintf+set}" = set; then
22888
echo $ECHO_N "(cached) $ECHO_C" >&6
22890
cat >conftest.$ac_ext <<_ACEOF
22893
cat confdefs.h >>conftest.$ac_ext
22894
cat >>conftest.$ac_ext <<_ACEOF
22895
/* end confdefs.h. */
22896
/* Define snprintf to an innocuous variant, in case <limits.h> declares snprintf.
22897
For example, HP-UX 11i <limits.h> declares gettimeofday. */
22898
#define snprintf innocuous_snprintf
22900
/* System header to define __stub macros and hopefully few prototypes,
22901
which can conflict with char snprintf (); below.
22902
Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
22903
<limits.h> exists even on freestanding compilers. */
22906
# include <limits.h>
22908
# include <assert.h>
22913
/* Override any GCC internal prototype to avoid an error.
22914
Use char because int might match the return type of a GCC
22915
builtin and then its argument prototype would still apply. */
22920
/* The GNU C library defines this for functions which it implements
22921
to always fail with ENOSYS. Some functions are actually named
22922
something starting with __ and the normal name is an alias. */
22923
#if defined __stub_snprintf || defined __stub___snprintf
22930
return snprintf ();
22935
rm -f conftest.$ac_objext conftest$ac_exeext
22936
if { (ac_try="$ac_link"
22937
case "(($ac_try" in
22938
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22939
*) ac_try_echo=$ac_try;;
22941
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22942
(eval "$ac_link") 2>conftest.er1
22944
grep -v '^ *+' conftest.er1 >conftest.err
22946
cat conftest.err >&5
22947
echo "$as_me:$LINENO: \$? = $ac_status" >&5
22948
(exit $ac_status); } && {
22949
test -z "$ac_c_werror_flag" ||
22950
test ! -s conftest.err
22951
} && test -s conftest$ac_exeext &&
22952
$as_test_x conftest$ac_exeext; then
22953
ac_cv_func_snprintf=yes
22955
echo "$as_me: failed program was:" >&5
22956
sed 's/^/| /' conftest.$ac_ext >&5
22958
ac_cv_func_snprintf=no
22961
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
22962
conftest$ac_exeext conftest.$ac_ext
22964
{ echo "$as_me:$LINENO: result: $ac_cv_func_snprintf" >&5
22965
echo "${ECHO_T}$ac_cv_func_snprintf" >&6; }
22966
if test $ac_cv_func_snprintf = yes; then
22968
cat >>confdefs.h <<\_ACEOF
22969
@%:@define HAVE_SNPRINTF
22974
{ echo "$as_me:$LINENO: checking for vsnprintf" >&5
22975
echo $ECHO_N "checking for vsnprintf... $ECHO_C" >&6; }
22976
if test "${ac_cv_func_vsnprintf+set}" = set; then
22977
echo $ECHO_N "(cached) $ECHO_C" >&6
22979
cat >conftest.$ac_ext <<_ACEOF
22982
cat confdefs.h >>conftest.$ac_ext
22983
cat >>conftest.$ac_ext <<_ACEOF
22984
/* end confdefs.h. */
22985
/* Define vsnprintf to an innocuous variant, in case <limits.h> declares vsnprintf.
22986
For example, HP-UX 11i <limits.h> declares gettimeofday. */
22987
#define vsnprintf innocuous_vsnprintf
22989
/* System header to define __stub macros and hopefully few prototypes,
22990
which can conflict with char vsnprintf (); below.
22991
Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
22992
<limits.h> exists even on freestanding compilers. */
22995
# include <limits.h>
22997
# include <assert.h>
23002
/* Override any GCC internal prototype to avoid an error.
23003
Use char because int might match the return type of a GCC
23004
builtin and then its argument prototype would still apply. */
23009
/* The GNU C library defines this for functions which it implements
23010
to always fail with ENOSYS. Some functions are actually named
23011
something starting with __ and the normal name is an alias. */
23012
#if defined __stub_vsnprintf || defined __stub___vsnprintf
23019
return vsnprintf ();
23024
rm -f conftest.$ac_objext conftest$ac_exeext
23025
if { (ac_try="$ac_link"
23026
case "(($ac_try" in
23027
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23028
*) ac_try_echo=$ac_try;;
23030
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23031
(eval "$ac_link") 2>conftest.er1
23033
grep -v '^ *+' conftest.er1 >conftest.err
23035
cat conftest.err >&5
23036
echo "$as_me:$LINENO: \$? = $ac_status" >&5
23037
(exit $ac_status); } && {
23038
test -z "$ac_c_werror_flag" ||
23039
test ! -s conftest.err
23040
} && test -s conftest$ac_exeext &&
23041
$as_test_x conftest$ac_exeext; then
23042
ac_cv_func_vsnprintf=yes
23044
echo "$as_me: failed program was:" >&5
23045
sed 's/^/| /' conftest.$ac_ext >&5
23047
ac_cv_func_vsnprintf=no
23050
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
23051
conftest$ac_exeext conftest.$ac_ext
23053
{ echo "$as_me:$LINENO: result: $ac_cv_func_vsnprintf" >&5
23054
echo "${ECHO_T}$ac_cv_func_vsnprintf" >&6; }
23055
if test $ac_cv_func_vsnprintf = yes; then
23057
cat >>confdefs.h <<\_ACEOF
23058
@%:@define HAVE_VSNPRINTF
23065
{ echo "$as_me:$LINENO: checking for library containing gzopen" >&5
23066
echo $ECHO_N "checking for library containing gzopen... $ECHO_C" >&6; }
23067
if test "${ac_cv_search_gzopen+set}" = set; then
23068
echo $ECHO_N "(cached) $ECHO_C" >&6
23070
ac_func_search_save_LIBS=$LIBS
23071
cat >conftest.$ac_ext <<_ACEOF
23074
cat confdefs.h >>conftest.$ac_ext
23075
cat >>conftest.$ac_ext <<_ACEOF
23076
/* end confdefs.h. */
23078
/* Override any GCC internal prototype to avoid an error.
23079
Use char because int might match the return type of a GCC
23080
builtin and then its argument prototype would still apply. */
23093
for ac_lib in '' z; do
23094
if test -z "$ac_lib"; then
23095
ac_res="none required"
23098
LIBS="-l$ac_lib $ac_func_search_save_LIBS"
23100
rm -f conftest.$ac_objext conftest$ac_exeext
23101
if { (ac_try="$ac_link"
23102
case "(($ac_try" in
23103
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23104
*) ac_try_echo=$ac_try;;
23106
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23107
(eval "$ac_link") 2>conftest.er1
23109
grep -v '^ *+' conftest.er1 >conftest.err
23111
cat conftest.err >&5
23112
echo "$as_me:$LINENO: \$? = $ac_status" >&5
23113
(exit $ac_status); } && {
23114
test -z "$ac_c_werror_flag" ||
23115
test ! -s conftest.err
23116
} && test -s conftest$ac_exeext &&
23117
$as_test_x conftest$ac_exeext; then
23118
ac_cv_search_gzopen=$ac_res
23120
echo "$as_me: failed program was:" >&5
23121
sed 's/^/| /' conftest.$ac_ext >&5
23126
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
23128
if test "${ac_cv_search_gzopen+set}" = set; then
23132
if test "${ac_cv_search_gzopen+set}" = set; then
23135
ac_cv_search_gzopen=no
23137
rm conftest.$ac_ext
23138
LIBS=$ac_func_search_save_LIBS
23140
{ echo "$as_me:$LINENO: result: $ac_cv_search_gzopen" >&5
23141
echo "${ECHO_T}$ac_cv_search_gzopen" >&6; }
23142
ac_res=$ac_cv_search_gzopen
23143
if test "$ac_res" != no; then
23144
test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
23151
{ echo "$as_me:$LINENO: checking for library containing BZ2_bzopen" >&5
23152
echo $ECHO_N "checking for library containing BZ2_bzopen... $ECHO_C" >&6; }
23153
if test "${ac_cv_search_BZ2_bzopen+set}" = set; then
23154
echo $ECHO_N "(cached) $ECHO_C" >&6
23156
ac_func_search_save_LIBS=$LIBS
23157
cat >conftest.$ac_ext <<_ACEOF
23160
cat confdefs.h >>conftest.$ac_ext
23161
cat >>conftest.$ac_ext <<_ACEOF
23162
/* end confdefs.h. */
23164
/* Override any GCC internal prototype to avoid an error.
23165
Use char because int might match the return type of a GCC
23166
builtin and then its argument prototype would still apply. */
23170
char BZ2_bzopen ();
23174
return BZ2_bzopen ();
23179
for ac_lib in '' bz2; do
23180
if test -z "$ac_lib"; then
23181
ac_res="none required"
23184
LIBS="-l$ac_lib $ac_func_search_save_LIBS"
23186
rm -f conftest.$ac_objext conftest$ac_exeext
23187
if { (ac_try="$ac_link"
23188
case "(($ac_try" in
23189
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23190
*) ac_try_echo=$ac_try;;
23192
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23193
(eval "$ac_link") 2>conftest.er1
23195
grep -v '^ *+' conftest.er1 >conftest.err
23197
cat conftest.err >&5
23198
echo "$as_me:$LINENO: \$? = $ac_status" >&5
23199
(exit $ac_status); } && {
23200
test -z "$ac_c_werror_flag" ||
23201
test ! -s conftest.err
23202
} && test -s conftest$ac_exeext &&
23203
$as_test_x conftest$ac_exeext; then
23204
ac_cv_search_BZ2_bzopen=$ac_res
23206
echo "$as_me: failed program was:" >&5
23207
sed 's/^/| /' conftest.$ac_ext >&5
23212
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
23214
if test "${ac_cv_search_BZ2_bzopen+set}" = set; then
23218
if test "${ac_cv_search_BZ2_bzopen+set}" = set; then
23221
ac_cv_search_BZ2_bzopen=no
23223
rm conftest.$ac_ext
23224
LIBS=$ac_func_search_save_LIBS
23226
{ echo "$as_me:$LINENO: result: $ac_cv_search_BZ2_bzopen" >&5
23227
echo "${ECHO_T}$ac_cv_search_BZ2_bzopen" >&6; }
23228
ac_res=$ac_cv_search_BZ2_bzopen
23229
if test "$ac_res" != no; then
23230
test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
23238
if test "$HAVE_ZLIB" = yes; then
23240
HAVE_ZLIB_FALSE='#'
23246
if test "$HAVE_BZIP2" = yes; then
23248
HAVE_BZIP2_FALSE='#'
23250
HAVE_BZIP2_TRUE='#'
23255
CODEBLOCKS_CURRENT=0
23256
CODEBLOCKS_REVISION=1
23258
CODEBLOCKS_VERSION_INFO=$CODEBLOCKS_CURRENT:$CODEBLOCKS_REVISION:$CODEBLOCKS_AGE
23262
AMTAR=${AMTAR-"${am_missing_run}tar"}
23264
# Always define AMTAR for backward compatibility.
23266
AMTAR=${AMTAR-"${am_missing_run}tar"}
23268
am__tar='${AMTAR} chf - "$$tardir"'; am__untar='${AMTAR} xf -'
23273
CODEBLOCKS_PLATFORM=gtk
23275
# Check whether --with-platform was given.
23276
if test "${with_platform+set}" = set; then
23277
withval=$with_platform; CODEBLOCKS_PLATFORM=$withval
23279
CODEBLOCKS_PLATFORM=gtk
23287
case $CODEBLOCKS_PLATFORM in
23289
PLATFORM_CFLAGS="-I/usr/X11R6/include"
23290
PLATFORM_LIBS="-L/usr/X11R6/lib -lX11"
23294
PLATFORM_LIBS="-lgdi32"
23307
{ echo "$as_me:$LINENO: checking whether to enable debugging" >&5
23308
echo $ECHO_N "checking whether to enable debugging... $ECHO_C" >&6; }
23310
# Check whether --enable-debug was given.
23311
if test "${enable_debug+set}" = set; then
23312
enableval=$enable_debug;
23314
enable_debug=$debug_default
23317
if test "x$enable_debug" = "xyes"; then
23318
CFLAGS="-g -DDEBUG $CFLAGS"
23319
CXXFLAGS="-g -DDEBUG $CXXFLAGS"
23320
{ echo "$as_me:$LINENO: result: yes" >&5
23321
echo "${ECHO_T}yes" >&6; }
23323
CFLAGS="-O2 -ffast-math $CFLAGS"
23324
CXXFLAGS="-O2 -ffast-math $CXXFLAGS"
23325
{ echo "$as_me:$LINENO: result: no" >&5
23326
echo "${ECHO_T}no" >&6; }
23329
{ echo "$as_me:$LINENO: checking whether to build the source formatter plugin" >&5
23330
echo $ECHO_N "checking whether to build the source formatter plugin... $ECHO_C" >&6; }
23331
astyle_default="yes"
23332
# Check whether --enable-source-formatter was given.
23333
if test "${enable_source_formatter+set}" = set; then
23334
enableval=$enable_source_formatter;
23336
enable_astyle=$astyle_default
23339
if test "x$enable_astyle" = "xyes"; then
23341
BUILD_ASTYLE_FALSE='#'
23343
BUILD_ASTYLE_TRUE='#'
23344
BUILD_ASTYLE_FALSE=
23347
if test "x$enable_astyle" = "xyes"; then
23348
{ echo "$as_me:$LINENO: result: yes" >&5
23349
echo "${ECHO_T}yes" >&6; }
23351
{ echo "$as_me:$LINENO: result: no" >&5
23352
echo "${ECHO_T}no" >&6; }
23355
{ echo "$as_me:$LINENO: checking whether to build the autosave plugin" >&5
23356
echo $ECHO_N "checking whether to build the autosave plugin... $ECHO_C" >&6; }
23357
autosave_default="yes"
23358
# Check whether --enable-autosave was given.
23359
if test "${enable_autosave+set}" = set; then
23360
enableval=$enable_autosave;
23362
enable_autosave=$autosave_default
23365
if test "x$enable_autosave" = "xyes"; then
23366
BUILD_AUTOSAVE_TRUE=
23367
BUILD_AUTOSAVE_FALSE='#'
23369
BUILD_AUTOSAVE_TRUE='#'
23370
BUILD_AUTOSAVE_FALSE=
23373
if test "x$enable_autosave" = "xyes"; then
23374
{ echo "$as_me:$LINENO: result: yes" >&5
23375
echo "${ECHO_T}yes" >&6; }
23377
{ echo "$as_me:$LINENO: result: no" >&5
23378
echo "${ECHO_T}no" >&6; }
23381
{ echo "$as_me:$LINENO: checking whether to build the class wizard plugin" >&5
23382
echo $ECHO_N "checking whether to build the class wizard plugin... $ECHO_C" >&6; }
23384
# Check whether --enable-class-wizard was given.
23385
if test "${enable_class_wizard+set}" = set; then
23386
enableval=$enable_class_wizard;
23388
enable_cw=$cw_default
23391
if test "x$enable_cw" = "xyes"; then
23392
BUILD_CLASSWIZARD_TRUE=
23393
BUILD_CLASSWIZARD_FALSE='#'
23395
BUILD_CLASSWIZARD_TRUE='#'
23396
BUILD_CLASSWIZARD_FALSE=
23399
if test "x$enable_cw" = "xyes"; then
23400
{ echo "$as_me:$LINENO: result: yes" >&5
23401
echo "${ECHO_T}yes" >&6; }
23403
{ echo "$as_me:$LINENO: result: no" >&5
23404
echo "${ECHO_T}no" >&6; }
23407
{ echo "$as_me:$LINENO: checking whether to build the code completion plugin" >&5
23408
echo $ECHO_N "checking whether to build the code completion plugin... $ECHO_C" >&6; }
23410
# Check whether --enable-code-completion was given.
23411
if test "${enable_code_completion+set}" = set; then
23412
enableval=$enable_code_completion;
23414
enable_cc=$cc_default
23417
if test "x$enable_cc" = "xyes"; then
23418
BUILD_CODECOMPLETION_TRUE=
23419
BUILD_CODECOMPLETION_FALSE='#'
23421
BUILD_CODECOMPLETION_TRUE='#'
23422
BUILD_CODECOMPLETION_FALSE=
23425
if test "x$enable_cc" = "xyes"; then
23426
{ echo "$as_me:$LINENO: result: yes" >&5
23427
echo "${ECHO_T}yes" >&6; }
23429
{ echo "$as_me:$LINENO: result: no" >&5
23430
echo "${ECHO_T}no" >&6; }
23433
{ echo "$as_me:$LINENO: checking whether to build the compiler plugin" >&5
23434
echo $ECHO_N "checking whether to build the compiler plugin... $ECHO_C" >&6; }
23436
# Check whether --enable-compiler was given.
23437
if test "${enable_compiler+set}" = set; then
23438
enableval=$enable_compiler;
23440
enable_gcc=$gcc_default
23443
if test "x$enable_gcc" = "xyes"; then
23444
BUILD_COMPILER_TRUE=
23445
BUILD_COMPILER_FALSE='#'
23447
BUILD_COMPILER_TRUE='#'
23448
BUILD_COMPILER_FALSE=
23451
if test "x$enable_gcc" = "xyes"; then
23452
{ echo "$as_me:$LINENO: result: yes" >&5
23453
echo "${ECHO_T}yes" >&6; }
23455
{ echo "$as_me:$LINENO: result: no" >&5
23456
echo "${ECHO_T}no" >&6; }
23459
{ echo "$as_me:$LINENO: checking whether to build the debugger plugin" >&5
23460
echo $ECHO_N "checking whether to build the debugger plugin... $ECHO_C" >&6; }
23462
# Check whether --enable-debugger was given.
23463
if test "${enable_debugger+set}" = set; then
23464
enableval=$enable_debugger;
23466
enable_dbg=$dbg_default
23469
if test "x$enable_dbg" = "xyes"; then
23470
BUILD_DEBUGGER_TRUE=
23471
BUILD_DEBUGGER_FALSE='#'
23473
BUILD_DEBUGGER_TRUE='#'
23474
BUILD_DEBUGGER_FALSE=
23477
if test "x$enable_dbg" = "xyes"; then
23478
{ echo "$as_me:$LINENO: result: yes" >&5
23479
echo "${ECHO_T}yes" >&6; }
23481
{ echo "$as_me:$LINENO: result: no" >&5
23482
echo "${ECHO_T}no" >&6; }
23485
{ echo "$as_me:$LINENO: checking whether to build the default MIME handler plugin" >&5
23486
echo $ECHO_N "checking whether to build the default MIME handler plugin... $ECHO_C" >&6; }
23488
# Check whether --enable-mime-handler was given.
23489
if test "${enable_mime_handler+set}" = set; then
23490
enableval=$enable_mime_handler;
23492
enable_mime=$mime_default
23495
if test "x$enable_mime" = "xyes"; then
23496
BUILD_MIMEHANDLER_TRUE=
23497
BUILD_MIMEHANDLER_FALSE='#'
23499
BUILD_MIMEHANDLER_TRUE='#'
23500
BUILD_MIMEHANDLER_FALSE=
23503
if test "x$enable_mime" = "xyes"; then
23504
{ echo "$as_me:$LINENO: result: yes" >&5
23505
echo "${ECHO_T}yes" >&6; }
23507
{ echo "$as_me:$LINENO: result: no" >&5
23508
echo "${ECHO_T}no" >&6; }
23511
{ echo "$as_me:$LINENO: checking whether to build the open files list plugin" >&5
23512
echo $ECHO_N "checking whether to build the open files list plugin... $ECHO_C" >&6; }
23513
openfiles_default="yes"
23514
# Check whether --enable-open-files-list was given.
23515
if test "${enable_open_files_list+set}" = set; then
23516
enableval=$enable_open_files_list;
23518
enable_openfiles=$openfiles_default
23521
if test "x$enable_openfiles" = "xyes"; then
23522
BUILD_OPENFILESLIST_TRUE=
23523
BUILD_OPENFILESLIST_FALSE='#'
23525
BUILD_OPENFILESLIST_TRUE='#'
23526
BUILD_OPENFILESLIST_FALSE=
23529
if test "x$enable_openfiles" = "xyes"; then
23530
{ echo "$as_me:$LINENO: result: yes" >&5
23531
echo "${ECHO_T}yes" >&6; }
23533
{ echo "$as_me:$LINENO: result: no" >&5
23534
echo "${ECHO_T}no" >&6; }
23537
{ echo "$as_me:$LINENO: checking whether to build the foreign projects importer plugin" >&5
23538
echo $ECHO_N "checking whether to build the foreign projects importer plugin... $ECHO_C" >&6; }
23539
pimport_default="yes"
23540
# Check whether --enable-projects-importer was given.
23541
if test "${enable_projects_importer+set}" = set; then
23542
enableval=$enable_projects_importer;
23544
enable_pimport=$pimport_default
23547
if test "x$enable_pimport" = "xyes"; then
23548
BUILD_PROJECTSIMPORTER_TRUE=
23549
BUILD_PROJECTSIMPORTER_FALSE='#'
23551
BUILD_PROJECTSIMPORTER_TRUE='#'
23552
BUILD_PROJECTSIMPORTER_FALSE=
23555
if test "x$enable_pimport" = "xyes"; then
23556
{ echo "$as_me:$LINENO: result: yes" >&5
23557
echo "${ECHO_T}yes" >&6; }
23559
{ echo "$as_me:$LINENO: result: no" >&5
23560
echo "${ECHO_T}no" >&6; }
23563
{ echo "$as_me:$LINENO: checking whether to build the scripted wizard plugin" >&5
23564
echo $ECHO_N "checking whether to build the scripted wizard plugin... $ECHO_C" >&6; }
23566
# Check whether --enable-scripted-wizard was given.
23567
if test "${enable_scripted_wizard+set}" = set; then
23568
enableval=$enable_scripted_wizard;
23570
enable_prw=$prw_default
23573
if test "x$enable_prw" = "xyes"; then
23574
BUILD_SCRIPTEDWIZARD_TRUE=
23575
BUILD_SCRIPTEDWIZARD_FALSE='#'
23577
BUILD_SCRIPTEDWIZARD_TRUE='#'
23578
BUILD_SCRIPTEDWIZARD_FALSE=
23581
if test "x$enable_prw" = "xyes"; then
23582
{ echo "$as_me:$LINENO: result: yes" >&5
23583
echo "${ECHO_T}yes" >&6; }
23585
{ echo "$as_me:$LINENO: result: no" >&5
23586
echo "${ECHO_T}no" >&6; }
23589
{ echo "$as_me:$LINENO: checking whether to build the to-do plugin" >&5
23590
echo $ECHO_N "checking whether to build the to-do plugin... $ECHO_C" >&6; }
23592
# Check whether --enable-todo was given.
23593
if test "${enable_todo+set}" = set; then
23594
enableval=$enable_todo;
23596
enable_todo=$todo_default
23599
if test "x$enable_todo" = "xyes"; then
23601
BUILD_TODO_FALSE='#'
23603
BUILD_TODO_TRUE='#'
23607
if test "x$enable_todo" = "xyes"; then
23608
{ echo "$as_me:$LINENO: result: yes" >&5
23609
echo "${ECHO_T}yes" >&6; }
23611
{ echo "$as_me:$LINENO: result: no" >&5
23612
echo "${ECHO_T}no" >&6; }
23617
*-*-cygwin* | *-*-mingw*)
23618
{ echo "$as_me:$LINENO: checking whether to build the xp-manifest plugin" >&5
23619
echo $ECHO_N "checking whether to build the xp-manifest plugin... $ECHO_C" >&6; }
23620
xpmanifest_default="yes"
23621
# Check whether --enable-todo was given.
23622
if test "${enable_todo+set}" = set; then
23623
enableval=$enable_todo;
23625
enable_xpmanifest=$xpmanifest_default
23628
if test "x$enable_xpmanifest" = "xyes"; then
23629
BUILD_MANIFEST_TRUE=
23630
BUILD_MANIFEST_FALSE='#'
23632
BUILD_MANIFEST_TRUE='#'
23633
BUILD_MANIFEST_FALSE=
23636
if test "x$enable_xpmanifest" = "xyes"; then
23637
{ echo "$as_me:$LINENO: result: yes" >&5
23638
echo "${ECHO_T}yes" >&6; }
23640
{ echo "$as_me:$LINENO: result: no" >&5
23641
echo "${ECHO_T}no" >&6; }
23646
BUILD_MANIFEST_TRUE=
23647
BUILD_MANIFEST_FALSE='#'
23649
BUILD_MANIFEST_TRUE='#'
23650
BUILD_MANIFEST_FALSE=
23660
# default to 'none'
23663
BUILD_AUTOVERSIONING_TRUE=
23664
BUILD_AUTOVERSIONING_FALSE='#'
23666
BUILD_AUTOVERSIONING_TRUE='#'
23667
BUILD_AUTOVERSIONING_FALSE=
23671
BUILD_BROWSETRACKER_TRUE=
23672
BUILD_BROWSETRACKER_FALSE='#'
23674
BUILD_BROWSETRACKER_TRUE='#'
23675
BUILD_BROWSETRACKER_FALSE=
23679
BUILD_BYOGAMES_TRUE=
23680
BUILD_BYOGAMES_FALSE='#'
23682
BUILD_BYOGAMES_TRUE='#'
23683
BUILD_BYOGAMES_FALSE=
23687
BUILD_CBKODERS_TRUE=
23688
BUILD_CBKODERS_FALSE='#'
23690
BUILD_CBKODERS_TRUE='#'
23691
BUILD_CBKODERS_FALSE=
23695
BUILD_CODESNIPPETS_TRUE=
23696
BUILD_CODESNIPPETS_FALSE='#'
23698
BUILD_CODESNIPPETS_TRUE='#'
23699
BUILD_CODESNIPPETS_FALSE=
23703
BUILD_CODESTAT_TRUE=
23704
BUILD_CODESTAT_FALSE='#'
23706
BUILD_CODESTAT_TRUE='#'
23707
BUILD_CODESTAT_FALSE=
23711
BUILD_DRAGSCROLL_TRUE=
23712
BUILD_DRAGSCROLL_FALSE='#'
23714
BUILD_DRAGSCROLL_TRUE='#'
23715
BUILD_DRAGSCROLL_FALSE=
23719
BUILD_ENVVARS_TRUE=
23720
BUILD_ENVVARS_FALSE='#'
23722
BUILD_ENVVARS_TRUE='#'
23723
BUILD_ENVVARS_FALSE=
23728
BUILD_HELP_FALSE='#'
23730
BUILD_HELP_TRUE='#'
23735
BUILD_KEYBINDER_TRUE=
23736
BUILD_KEYBINDER_FALSE='#'
23738
BUILD_KEYBINDER_TRUE='#'
23739
BUILD_KEYBINDER_FALSE=
23743
BUILD_LIBFINDER_TRUE=
23744
BUILD_LIBFINDER_FALSE='#'
23746
BUILD_LIBFINDER_TRUE='#'
23747
BUILD_LIBFINDER_FALSE=
23751
BUILD_PROFILER_TRUE=
23752
BUILD_PROFILER_FALSE='#'
23754
BUILD_PROFILER_TRUE='#'
23755
BUILD_PROFILER_FALSE=
23760
BUILD_REGEX_FALSE='#'
23762
BUILD_REGEX_TRUE='#'
23767
BUILD_EXPORTER_TRUE=
23768
BUILD_EXPORTER_FALSE='#'
23770
BUILD_EXPORTER_TRUE='#'
23771
BUILD_EXPORTER_FALSE=
23776
BUILD_SYMTAB_FALSE='#'
23778
BUILD_SYMTAB_TRUE='#'
23779
BUILD_SYMTAB_FALSE=
23783
BUILD_THREADSEARCH_TRUE=
23784
BUILD_THREADSEARCH_FALSE='#'
23786
BUILD_THREADSEARCH_TRUE='#'
23787
BUILD_THREADSEARCH_FALSE=
23791
BUILD_WXSMITH_TRUE=
23792
BUILD_WXSMITH_FALSE='#'
23794
BUILD_WXSMITH_TRUE='#'
23795
BUILD_WXSMITH_FALSE=
23800
{ echo "$as_me:$LINENO: checking which (if any) contrib plugins to build" >&5
23801
echo $ECHO_N "checking which (if any) contrib plugins to build... $ECHO_C" >&6; }
23803
# Check whether --with-contrib-plugins was given.
23804
if test "${with_contrib_plugins+set}" = set; then
23805
withval=$with_contrib_plugins; plugins="$withval"
23811
plugins=`echo $plugins | sed 's/,/ /g'`
23812
for plugin in $plugins
23818
BUILD_AUTOVERSIONING_TRUE=
23819
BUILD_AUTOVERSIONING_FALSE='#'
23821
BUILD_AUTOVERSIONING_TRUE='#'
23822
BUILD_AUTOVERSIONING_FALSE=
23826
BUILD_BROWSETRACKER_TRUE=
23827
BUILD_BROWSETRACKER_FALSE='#'
23829
BUILD_BROWSETRACKER_TRUE='#'
23830
BUILD_BROWSETRACKER_FALSE=
23834
BUILD_BYOGAMES_TRUE=
23835
BUILD_BYOGAMES_FALSE='#'
23837
BUILD_BYOGAMES_TRUE='#'
23838
BUILD_BYOGAMES_FALSE=
23842
BUILD_CBKODERS_TRUE=
23843
BUILD_CBKODERS_FALSE='#'
23845
BUILD_CBKODERS_TRUE='#'
23846
BUILD_CBKODERS_FALSE=
23850
BUILD_CODESNIPPETS_TRUE=
23851
BUILD_CODESNIPPETS_FALSE='#'
23853
BUILD_CODESNIPPETS_TRUE='#'
23854
BUILD_CODESNIPPETS_FALSE=
23858
BUILD_CODESTAT_TRUE=
23859
BUILD_CODESTAT_FALSE='#'
23861
BUILD_CODESTAT_TRUE='#'
23862
BUILD_CODESTAT_FALSE=
23866
BUILD_DRAGSCROLL_TRUE=
23867
BUILD_DRAGSCROLL_FALSE='#'
23869
BUILD_DRAGSCROLL_TRUE='#'
23870
BUILD_DRAGSCROLL_FALSE=
23874
BUILD_ENVVARS_TRUE=
23875
BUILD_ENVVARS_FALSE='#'
23877
BUILD_ENVVARS_TRUE='#'
23878
BUILD_ENVVARS_FALSE=
23883
BUILD_HELP_FALSE='#'
23885
BUILD_HELP_TRUE='#'
23890
BUILD_KEYBINDER_TRUE=
23891
BUILD_KEYBINDER_FALSE='#'
23893
BUILD_KEYBINDER_TRUE='#'
23894
BUILD_KEYBINDER_FALSE=
23898
BUILD_LIBFINDER_TRUE=
23899
BUILD_LIBFINDER_FALSE='#'
23901
BUILD_LIBFINDER_TRUE='#'
23902
BUILD_LIBFINDER_FALSE=
23906
BUILD_PROFILER_TRUE=
23907
BUILD_PROFILER_FALSE='#'
23909
BUILD_PROFILER_TRUE='#'
23910
BUILD_PROFILER_FALSE=
23915
BUILD_REGEX_FALSE='#'
23917
BUILD_REGEX_TRUE='#'
23922
BUILD_EXPORTER_TRUE=
23923
BUILD_EXPORTER_FALSE='#'
23925
BUILD_EXPORTER_TRUE='#'
23926
BUILD_EXPORTER_FALSE=
23931
BUILD_SYMTAB_FALSE='#'
23933
BUILD_SYMTAB_TRUE='#'
23934
BUILD_SYMTAB_FALSE=
23938
BUILD_THREADSEARCH_TRUE=
23939
BUILD_THREADSEARCH_FALSE='#'
23941
BUILD_THREADSEARCH_TRUE='#'
23942
BUILD_THREADSEARCH_FALSE=
23946
BUILD_WXSMITH_TRUE=
23947
BUILD_WXSMITH_FALSE='#'
23949
BUILD_WXSMITH_TRUE='#'
23950
BUILD_WXSMITH_FALSE=
23957
BUILD_AUTOVERSIONING_TRUE=
23958
BUILD_AUTOVERSIONING_FALSE='#'
23960
BUILD_AUTOVERSIONING_TRUE='#'
23961
BUILD_AUTOVERSIONING_FALSE=
23967
BUILD_BROWSETRACKER_TRUE=
23968
BUILD_BROWSETRACKER_FALSE='#'
23970
BUILD_BROWSETRACKER_TRUE='#'
23971
BUILD_BROWSETRACKER_FALSE=
23977
BUILD_BYOGAMES_TRUE=
23978
BUILD_BYOGAMES_FALSE='#'
23980
BUILD_BYOGAMES_TRUE='#'
23981
BUILD_BYOGAMES_FALSE=
23987
BUILD_CBKODERS_TRUE=
23988
BUILD_CBKODERS_FALSE='#'
23990
BUILD_CBKODERS_TRUE='#'
23991
BUILD_CBKODERS_FALSE=
23997
BUILD_CODESNIPPETS_TRUE=
23998
BUILD_CODESNIPPETS_FALSE='#'
24000
BUILD_CODESNIPPETS_TRUE='#'
24001
BUILD_CODESNIPPETS_FALSE=
24007
BUILD_CODESTAT_TRUE=
24008
BUILD_CODESTAT_FALSE='#'
24010
BUILD_CODESTAT_TRUE='#'
24011
BUILD_CODESTAT_FALSE=
24017
BUILD_DRAGSCROLL_TRUE=
24018
BUILD_DRAGSCROLL_FALSE='#'
24020
BUILD_DRAGSCROLL_TRUE='#'
24021
BUILD_DRAGSCROLL_FALSE=
24027
BUILD_ENVVARS_TRUE=
24028
BUILD_ENVVARS_FALSE='#'
24030
BUILD_ENVVARS_TRUE='#'
24031
BUILD_ENVVARS_FALSE=
24038
BUILD_HELP_FALSE='#'
24040
BUILD_HELP_TRUE='#'
24047
BUILD_KEYBINDER_TRUE=
24048
BUILD_KEYBINDER_FALSE='#'
24050
BUILD_KEYBINDER_TRUE='#'
24051
BUILD_KEYBINDER_FALSE=
24057
BUILD_LIBFINDER_TRUE=
24058
BUILD_LIBFINDER_FALSE='#'
24060
BUILD_LIBFINDER_TRUE='#'
24061
BUILD_LIBFINDER_FALSE=
24067
BUILD_PROFILER_TRUE=
24068
BUILD_PROFILER_FALSE='#'
24070
BUILD_PROFILER_TRUE='#'
24071
BUILD_PROFILER_FALSE=
24078
BUILD_REGEX_FALSE='#'
24080
BUILD_REGEX_TRUE='#'
24087
BUILD_EXPORTER_TRUE=
24088
BUILD_EXPORTER_FALSE='#'
24090
BUILD_EXPORTER_TRUE='#'
24091
BUILD_EXPORTER_FALSE=
24098
BUILD_SYMTAB_FALSE='#'
24100
BUILD_SYMTAB_TRUE='#'
24101
BUILD_SYMTAB_FALSE=
24107
BUILD_THREADSEARCH_TRUE=
24108
BUILD_THREADSEARCH_FALSE='#'
24110
BUILD_THREADSEARCH_TRUE='#'
24111
BUILD_THREADSEARCH_FALSE=
24117
BUILD_WXSMITH_TRUE=
24118
BUILD_WXSMITH_FALSE='#'
24120
BUILD_WXSMITH_TRUE='#'
24121
BUILD_WXSMITH_FALSE=
24127
BUILD_AUTOVERSIONING_TRUE=
24128
BUILD_AUTOVERSIONING_FALSE='#'
24130
BUILD_AUTOVERSIONING_TRUE='#'
24131
BUILD_AUTOVERSIONING_FALSE=
24137
BUILD_BROWSETRACKER_TRUE=
24138
BUILD_BROWSETRACKER_FALSE='#'
24140
BUILD_BROWSETRACKER_TRUE='#'
24141
BUILD_BROWSETRACKER_FALSE=
24147
BUILD_BYOGAMES_TRUE=
24148
BUILD_BYOGAMES_FALSE='#'
24150
BUILD_BYOGAMES_TRUE='#'
24151
BUILD_BYOGAMES_FALSE=
24157
BUILD_CBKODERS_TRUE=
24158
BUILD_CBKODERS_FALSE='#'
24160
BUILD_CBKODERS_TRUE='#'
24161
BUILD_CBKODERS_FALSE=
24167
BUILD_CODESNIPPETS_TRUE=
24168
BUILD_CODESNIPPETS_FALSE='#'
24170
BUILD_CODESNIPPETS_TRUE='#'
24171
BUILD_CODESNIPPETS_FALSE=
24177
BUILD_CODESTAT_TRUE=
24178
BUILD_CODESTAT_FALSE='#'
24180
BUILD_CODESTAT_TRUE='#'
24181
BUILD_CODESTAT_FALSE=
24187
BUILD_DRAGSCROLL_TRUE=
24188
BUILD_DRAGSCROLL_FALSE='#'
24190
BUILD_DRAGSCROLL_TRUE='#'
24191
BUILD_DRAGSCROLL_FALSE=
24197
BUILD_ENVVARS_TRUE=
24198
BUILD_ENVVARS_FALSE='#'
24200
BUILD_ENVVARS_TRUE='#'
24201
BUILD_ENVVARS_FALSE=
24208
BUILD_HELP_FALSE='#'
24210
BUILD_HELP_TRUE='#'
24217
BUILD_KEYBINDER_TRUE=
24218
BUILD_KEYBINDER_FALSE='#'
24220
BUILD_KEYBINDER_TRUE='#'
24221
BUILD_KEYBINDER_FALSE=
24227
BUILD_LIBFINDER_TRUE=
24228
BUILD_LIBFINDER_FALSE='#'
24230
BUILD_LIBFINDER_TRUE='#'
24231
BUILD_LIBFINDER_FALSE=
24237
BUILD_PROFILER_TRUE=
24238
BUILD_PROFILER_FALSE='#'
24240
BUILD_PROFILER_TRUE='#'
24241
BUILD_PROFILER_FALSE=
24248
BUILD_REGEX_FALSE='#'
24250
BUILD_REGEX_TRUE='#'
24257
BUILD_EXPORTER_TRUE=
24258
BUILD_EXPORTER_FALSE='#'
24260
BUILD_EXPORTER_TRUE='#'
24261
BUILD_EXPORTER_FALSE=
24268
BUILD_SYMTAB_FALSE='#'
24270
BUILD_SYMTAB_TRUE='#'
24271
BUILD_SYMTAB_FALSE=
24277
BUILD_THREADSEARCH_TRUE=
24278
BUILD_THREADSEARCH_FALSE='#'
24280
BUILD_THREADSEARCH_TRUE='#'
24281
BUILD_THREADSEARCH_FALSE=
24287
BUILD_WXSMITH_TRUE=
24288
BUILD_WXSMITH_FALSE='#'
24290
BUILD_WXSMITH_TRUE='#'
24291
BUILD_WXSMITH_FALSE=
24296
echo "Unknown contrib plugin $plugin, ignoring"
24300
{ echo "$as_me:$LINENO: result: $plugins" >&5
24301
echo "${ECHO_T}$plugins" >&6; }
24327
PRECOMPILE_HEADERS_TRUE=
24328
PRECOMPILE_HEADERS_FALSE='#'
24330
PRECOMPILE_HEADERS_TRUE='#'
24331
PRECOMPILE_HEADERS_FALSE=
24334
# Check whether --enable-pch was given.
24335
if test "${enable_pch+set}" = set; then
24336
enableval=$enable_pch;
24338
enable_pch=$pch_default
24341
if test "x$enable_pch" = "x" -o "x$enable_pch" = "xyes" ; then
24342
if test "x$GCC" = "xyes"; then
24343
{ echo "$as_me:$LINENO: checking if the compiler supports precompiled headers" >&5
24344
echo $ECHO_N "checking if the compiler supports precompiled headers... $ECHO_C" >&6; }
24345
cat >conftest.$ac_ext <<_ACEOF
24348
cat confdefs.h >>conftest.$ac_ext
24349
cat >>conftest.$ac_ext <<_ACEOF
24350
/* end confdefs.h. */
24356
#if !defined(__GNUC__) || !defined(__GNUC_MINOR__)
24357
#error "no pch support"
24360
#error "no pch support"
24362
#if (__GNUC__ == 3) && \
24363
((!defined(__APPLE_CC__) && (__GNUC_MINOR__ < 4)) || \
24364
( defined(__APPLE_CC__) && (__GNUC_MINOR__ < 3)))
24365
#error "no pch support"
24372
rm -f conftest.$ac_objext
24373
if { (ac_try="$ac_compile"
24374
case "(($ac_try" in
24375
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24376
*) ac_try_echo=$ac_try;;
24378
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24379
(eval "$ac_compile") 2>conftest.er1
24381
grep -v '^ *+' conftest.er1 >conftest.err
24383
cat conftest.err >&5
24384
echo "$as_me:$LINENO: \$? = $ac_status" >&5
24385
(exit $ac_status); } && {
24386
test -z "$ac_c_werror_flag" ||
24387
test ! -s conftest.err
24388
} && test -s conftest.$ac_objext; then
24390
{ echo "$as_me:$LINENO: result: yes" >&5
24391
echo "${ECHO_T}yes" >&6; }
24393
PCH_FLAGS="-DCB_PRECOMP -Winvalid-pch"
24396
echo "$as_me: failed program was:" >&5
24397
sed 's/^/| /' conftest.$ac_ext >&5
24400
{ echo "$as_me:$LINENO: result: no" >&5
24401
echo "${ECHO_T}no" >&6; }
24405
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24406
if test $GCC_PCH = 1; then
24407
PRECOMPILE_HEADERS_TRUE=
24408
PRECOMPILE_HEADERS_FALSE='#'
24410
PRECOMPILE_HEADERS_TRUE='#'
24411
PRECOMPILE_HEADERS_FALSE=
24421
# Check whether --with-wxdir was given.
24422
if test "${with_wxdir+set}" = set; then
24423
withval=$with_wxdir; wx_config_name="$withval/wx-config"
24424
wx_config_args="--inplace"
24428
# Check whether --with-wx-config was given.
24429
if test "${with_wx_config+set}" = set; then
24430
withval=$with_wx_config; wx_config_name="$withval"
24434
# Check whether --with-wx-prefix was given.
24435
if test "${with_wx_prefix+set}" = set; then
24436
withval=$with_wx_prefix; wx_config_prefix="$withval"
24438
wx_config_prefix=""
24442
# Check whether --with-wx-exec-prefix was given.
24443
if test "${with_wx_exec_prefix+set}" = set; then
24444
withval=$with_wx_exec_prefix; wx_config_exec_prefix="$withval"
24446
wx_config_exec_prefix=""
24451
if test x${WX_CONFIG_NAME+set} != xset ; then
24452
WX_CONFIG_NAME=wx-config
24455
if test "x$wx_config_name" != x ; then
24456
WX_CONFIG_NAME="$wx_config_name"
24459
if test x$wx_config_exec_prefix != x ; then
24460
wx_config_args="$wx_config_args --exec-prefix=$wx_config_exec_prefix"
24461
WX_LOOKUP_PATH="$wx_config_exec_prefix/bin"
24463
if test x$wx_config_prefix != x ; then
24464
wx_config_args="$wx_config_args --prefix=$wx_config_prefix"
24465
WX_LOOKUP_PATH="$WX_LOOKUP_PATH:$wx_config_prefix/bin"
24467
if test "$cross_compiling" = "yes"; then
24468
wx_config_args="$wx_config_args --host=$host_alias"
24471
if test -x "$WX_CONFIG_NAME" ; then
24472
{ echo "$as_me:$LINENO: checking for wx-config" >&5
24473
echo $ECHO_N "checking for wx-config... $ECHO_C" >&6; }
24474
WX_CONFIG_PATH="$WX_CONFIG_NAME"
24475
{ echo "$as_me:$LINENO: result: $WX_CONFIG_PATH" >&5
24476
echo "${ECHO_T}$WX_CONFIG_PATH" >&6; }
24478
# Extract the first word of "$WX_CONFIG_NAME", so it can be a program name with args.
24479
set dummy $WX_CONFIG_NAME; ac_word=$2
24480
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
24481
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
24482
if test "${ac_cv_path_WX_CONFIG_PATH+set}" = set; then
24483
echo $ECHO_N "(cached) $ECHO_C" >&6
24485
case $WX_CONFIG_PATH in
24487
ac_cv_path_WX_CONFIG_PATH="$WX_CONFIG_PATH" # Let the user override the test with a path.
24490
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
24491
as_dummy=""$WX_LOOKUP_PATH:$PATH""
24492
for as_dir in $as_dummy
24495
test -z "$as_dir" && as_dir=.
24496
for ac_exec_ext in '' $ac_executable_extensions; do
24497
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
24498
ac_cv_path_WX_CONFIG_PATH="$as_dir/$ac_word$ac_exec_ext"
24499
echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
24506
test -z "$ac_cv_path_WX_CONFIG_PATH" && ac_cv_path_WX_CONFIG_PATH="no"
24510
WX_CONFIG_PATH=$ac_cv_path_WX_CONFIG_PATH
24511
if test -n "$WX_CONFIG_PATH"; then
24512
{ echo "$as_me:$LINENO: result: $WX_CONFIG_PATH" >&5
24513
echo "${ECHO_T}$WX_CONFIG_PATH" >&6; }
24515
{ echo "$as_me:$LINENO: result: no" >&5
24516
echo "${ECHO_T}no" >&6; }
24522
if test "$WX_CONFIG_PATH" != "no" ; then
24525
min_wx_version=2.8.0
24526
if test -z "" ; then
24527
{ echo "$as_me:$LINENO: checking for wxWidgets version >= $min_wx_version" >&5
24528
echo $ECHO_N "checking for wxWidgets version >= $min_wx_version... $ECHO_C" >&6; }
24530
{ echo "$as_me:$LINENO: checking for wxWidgets version >= $min_wx_version ()" >&5
24531
echo $ECHO_N "checking for wxWidgets version >= $min_wx_version ()... $ECHO_C" >&6; }
24534
WX_CONFIG_WITH_ARGS="$WX_CONFIG_PATH $wx_config_args "
24536
WX_VERSION=`$WX_CONFIG_WITH_ARGS --version 2>/dev/null`
24537
wx_config_major_version=`echo $WX_VERSION | \
24538
sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
24539
wx_config_minor_version=`echo $WX_VERSION | \
24540
sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
24541
wx_config_micro_version=`echo $WX_VERSION | \
24542
sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
24544
wx_requested_major_version=`echo $min_wx_version | \
24545
sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
24546
wx_requested_minor_version=`echo $min_wx_version | \
24547
sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
24548
wx_requested_micro_version=`echo $min_wx_version | \
24549
sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
24553
if test "x$WX_VERSION" != x ; then
24554
if test $wx_config_major_version -gt $wx_requested_major_version; then
24557
if test $wx_config_major_version -eq $wx_requested_major_version; then
24558
if test $wx_config_minor_version -gt $wx_requested_minor_version; then
24561
if test $wx_config_minor_version -eq $wx_requested_minor_version; then
24562
if test $wx_config_micro_version -ge $wx_requested_micro_version; then
24572
if test -n "$wx_ver_ok"; then
24574
{ echo "$as_me:$LINENO: result: yes (version $WX_VERSION)" >&5
24575
echo "${ECHO_T}yes (version $WX_VERSION)" >&6; }
24576
WX_LIBS=`$WX_CONFIG_WITH_ARGS --libs`
24578
{ echo "$as_me:$LINENO: checking for wxWidgets static library" >&5
24579
echo $ECHO_N "checking for wxWidgets static library... $ECHO_C" >&6; }
24580
WX_LIBS_STATIC=`$WX_CONFIG_WITH_ARGS --static --libs 2>/dev/null`
24581
if test "x$WX_LIBS_STATIC" = "x"; then
24582
{ echo "$as_me:$LINENO: result: no" >&5
24583
echo "${ECHO_T}no" >&6; }
24585
{ echo "$as_me:$LINENO: result: yes" >&5
24586
echo "${ECHO_T}yes" >&6; }
24590
if test $wx_config_major_version -gt 2; then
24591
wx_has_cppflags=yes
24593
if test $wx_config_major_version -eq 2; then
24594
if test $wx_config_minor_version -gt 2; then
24595
wx_has_cppflags=yes
24597
if test $wx_config_minor_version -eq 2; then
24598
if test $wx_config_micro_version -ge 6; then
24599
wx_has_cppflags=yes
24607
if test $wx_config_major_version -gt 2; then
24610
if test $wx_config_major_version -eq 2; then
24611
if test $wx_config_minor_version -ge 7; then
24616
if test "x$wx_has_rescomp" = x ; then
24619
WX_RESCOMP=`$WX_CONFIG_WITH_ARGS --rescomp`
24622
if test "x$wx_has_cppflags" = x ; then
24623
WX_CFLAGS=`$WX_CONFIG_WITH_ARGS --cflags`
24624
WX_CPPFLAGS=$WX_CFLAGS
24625
WX_CXXFLAGS=$WX_CFLAGS
24627
WX_CFLAGS_ONLY=$WX_CFLAGS
24628
WX_CXXFLAGS_ONLY=$WX_CFLAGS
24630
WX_CPPFLAGS=`$WX_CONFIG_WITH_ARGS --cppflags`
24631
WX_CXXFLAGS=`$WX_CONFIG_WITH_ARGS --cxxflags`
24632
WX_CFLAGS=`$WX_CONFIG_WITH_ARGS --cflags`
24634
WX_CFLAGS_ONLY=`echo $WX_CFLAGS | sed "s@^$WX_CPPFLAGS *@@"`
24635
WX_CXXFLAGS_ONLY=`echo $WX_CXXFLAGS | sed "s@^$WX_CFLAGS *@@"`
24642
if test "x$WX_VERSION" = x; then
24643
{ echo "$as_me:$LINENO: result: no" >&5
24644
echo "${ECHO_T}no" >&6; }
24646
{ echo "$as_me:$LINENO: result: no (version $WX_VERSION is not new enough)" >&5
24647
echo "${ECHO_T}no (version $WX_VERSION is not new enough)" >&6; }
24682
if test "$wxWin" != 1; then
24683
{ { echo "$as_me:$LINENO: error:
24684
wxWidgets must be installed on your system.
24686
Please check that wx-config is in path, the directory
24687
where wxWidgets libraries are installed (returned by
24688
'wx-config --libs' or 'wx-config --static --libs' command)
24689
is in LD_LIBRARY_PATH or equivalent variable and
24690
wxWindows version is 2.8.0 or above.
24692
echo "$as_me: error:
24693
wxWidgets must be installed on your system.
24695
Please check that wx-config is in path, the directory
24696
where wxWidgets libraries are installed (returned by
24697
'wx-config --libs' or 'wx-config --static --libs' command)
24698
is in LD_LIBRARY_PATH or equivalent variable and
24699
wxWindows version is 2.8.0 or above.
24701
{ (exit 1); exit 1; }; }
24703
# check for wx2.8.3 which is known to behave badly for us
24704
if test "$WX_VERSION" = "2.8.3"; then
24705
{ { echo "$as_me:$LINENO: error:
24706
wxWidgets version 2.8.3 is known to behave badly with
24707
Code::Blocks. Please upgrade to a newer (or downgrade to an
24708
earlier) wxWidgets version...
24710
echo "$as_me: error:
24711
wxWidgets version 2.8.3 is known to behave badly with
24712
Code::Blocks. Please upgrade to a newer (or downgrade to an
24713
earlier) wxWidgets version...
24715
{ (exit 1); exit 1; }; }
24728
POSTLINK_COMMAND="@true"
24731
{ echo "$as_me:$LINENO: checking for wxWidgets platform" >&5
24732
echo $ECHO_N "checking for wxWidgets platform... $ECHO_C" >&6; }
24733
WX_BASENAME=`$WX_CONFIG_WITH_ARGS --basename`
24734
case $WX_BASENAME in
24736
{ echo "$as_me:$LINENO: result: wxGTK" >&5
24737
echo "${ECHO_T}wxGTK" >&6; }
24738
# Extract the first word of "pkg-config", so it can be a program name with args.
24739
set dummy pkg-config; ac_word=$2
24740
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
24741
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
24742
if test "${ac_cv_prog_HAVE_PKG_CONFIG+set}" = set; then
24743
echo $ECHO_N "(cached) $ECHO_C" >&6
24745
if test -n "$HAVE_PKG_CONFIG"; then
24746
ac_cv_prog_HAVE_PKG_CONFIG="$HAVE_PKG_CONFIG" # Let the user override the test.
24748
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
24749
for as_dir in $PATH
24752
test -z "$as_dir" && as_dir=.
24753
for ac_exec_ext in '' $ac_executable_extensions; do
24754
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
24755
ac_cv_prog_HAVE_PKG_CONFIG="yes"
24756
echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
24763
test -z "$ac_cv_prog_HAVE_PKG_CONFIG" && ac_cv_prog_HAVE_PKG_CONFIG="no"
24766
HAVE_PKG_CONFIG=$ac_cv_prog_HAVE_PKG_CONFIG
24767
if test -n "$HAVE_PKG_CONFIG"; then
24768
{ echo "$as_me:$LINENO: result: $HAVE_PKG_CONFIG" >&5
24769
echo "${ECHO_T}$HAVE_PKG_CONFIG" >&6; }
24771
{ echo "$as_me:$LINENO: result: no" >&5
24772
echo "${ECHO_T}no" >&6; }
24777
if test "x$HAVE_PKG_CONFIG" = "xyes"; then
24780
if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
24781
if test -n "$ac_tool_prefix"; then
24782
# Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
24783
set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
24784
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
24785
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
24786
if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
24787
echo $ECHO_N "(cached) $ECHO_C" >&6
24789
case $PKG_CONFIG in
24791
ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
24794
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
24795
for as_dir in $PATH
24798
test -z "$as_dir" && as_dir=.
24799
for ac_exec_ext in '' $ac_executable_extensions; do
24800
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
24801
ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
24802
echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
24812
PKG_CONFIG=$ac_cv_path_PKG_CONFIG
24813
if test -n "$PKG_CONFIG"; then
24814
{ echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
24815
echo "${ECHO_T}$PKG_CONFIG" >&6; }
24817
{ echo "$as_me:$LINENO: result: no" >&5
24818
echo "${ECHO_T}no" >&6; }
24823
if test -z "$ac_cv_path_PKG_CONFIG"; then
24824
ac_pt_PKG_CONFIG=$PKG_CONFIG
24825
# Extract the first word of "pkg-config", so it can be a program name with args.
24826
set dummy pkg-config; ac_word=$2
24827
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
24828
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
24829
if test "${ac_cv_path_ac_pt_PKG_CONFIG+set}" = set; then
24830
echo $ECHO_N "(cached) $ECHO_C" >&6
24832
case $ac_pt_PKG_CONFIG in
24834
ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
24837
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
24838
for as_dir in $PATH
24841
test -z "$as_dir" && as_dir=.
24842
for ac_exec_ext in '' $ac_executable_extensions; do
24843
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
24844
ac_cv_path_ac_pt_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
24845
echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
24855
ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG
24856
if test -n "$ac_pt_PKG_CONFIG"; then
24857
{ echo "$as_me:$LINENO: result: $ac_pt_PKG_CONFIG" >&5
24858
echo "${ECHO_T}$ac_pt_PKG_CONFIG" >&6; }
24860
{ echo "$as_me:$LINENO: result: no" >&5
24861
echo "${ECHO_T}no" >&6; }
24864
if test "x$ac_pt_PKG_CONFIG" = x; then
24867
case $cross_compiling:$ac_tool_warned in
24869
{ echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
24870
whose name does not start with the host triplet. If you think this
24871
configuration is useful to you, please write to autoconf@gnu.org." >&5
24872
echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
24873
whose name does not start with the host triplet. If you think this
24874
configuration is useful to you, please write to autoconf@gnu.org." >&2;}
24875
ac_tool_warned=yes ;;
24877
PKG_CONFIG=$ac_pt_PKG_CONFIG
24880
PKG_CONFIG="$ac_cv_path_PKG_CONFIG"
24884
if test -n "$PKG_CONFIG"; then
24885
_pkg_min_version=0.9.0
24886
{ echo "$as_me:$LINENO: checking pkg-config is at least version $_pkg_min_version" >&5
24887
echo $ECHO_N "checking pkg-config is at least version $_pkg_min_version... $ECHO_C" >&6; }
24888
if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
24889
{ echo "$as_me:$LINENO: result: yes" >&5
24890
echo "${ECHO_T}yes" >&6; }
24892
{ echo "$as_me:$LINENO: result: no" >&5
24893
echo "${ECHO_T}no" >&6; }
24900
{ echo "$as_me:$LINENO: checking for GTK2" >&5
24901
echo $ECHO_N "checking for GTK2... $ECHO_C" >&6; }
24903
if test -n "$PKG_CONFIG"; then
24904
if test -n "$GTK2_CFLAGS"; then
24905
pkg_cv_GTK2_CFLAGS="$GTK2_CFLAGS"
24907
if test -n "$PKG_CONFIG" && \
24908
{ (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gtk+-2.0 >= 2.0.0\"") >&5
24909
($PKG_CONFIG --exists --print-errors "gtk+-2.0 >= 2.0.0") 2>&5
24911
echo "$as_me:$LINENO: \$? = $ac_status" >&5
24912
(exit $ac_status); }; then
24913
pkg_cv_GTK2_CFLAGS=`$PKG_CONFIG --cflags "gtk+-2.0 >= 2.0.0" 2>/dev/null`
24921
if test -n "$PKG_CONFIG"; then
24922
if test -n "$GTK2_LIBS"; then
24923
pkg_cv_GTK2_LIBS="$GTK2_LIBS"
24925
if test -n "$PKG_CONFIG" && \
24926
{ (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gtk+-2.0 >= 2.0.0\"") >&5
24927
($PKG_CONFIG --exists --print-errors "gtk+-2.0 >= 2.0.0") 2>&5
24929
echo "$as_me:$LINENO: \$? = $ac_status" >&5
24930
(exit $ac_status); }; then
24931
pkg_cv_GTK2_LIBS=`$PKG_CONFIG --libs "gtk+-2.0 >= 2.0.0" 2>/dev/null`
24942
if test $pkg_failed = yes; then
24944
if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
24945
_pkg_short_errors_supported=yes
24947
_pkg_short_errors_supported=no
24949
if test $_pkg_short_errors_supported = yes; then
24950
GTK2_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "gtk+-2.0 >= 2.0.0"`
24952
GTK2_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "gtk+-2.0 >= 2.0.0"`
24954
# Put the nasty error message in config.log where it belongs
24955
echo "$GTK2_PKG_ERRORS" >&5
24957
{ { echo "$as_me:$LINENO: error: Package requirements (gtk+-2.0 >= 2.0.0) were not met:
24961
Consider adjusting the PKG_CONFIG_PATH environment variable if you
24962
installed software in a non-standard prefix.
24964
Alternatively, you may set the environment variables GTK2_CFLAGS
24965
and GTK2_LIBS to avoid the need to call pkg-config.
24966
See the pkg-config man page for more details.
24968
echo "$as_me: error: Package requirements (gtk+-2.0 >= 2.0.0) were not met:
24972
Consider adjusting the PKG_CONFIG_PATH environment variable if you
24973
installed software in a non-standard prefix.
24975
Alternatively, you may set the environment variables GTK2_CFLAGS
24976
and GTK2_LIBS to avoid the need to call pkg-config.
24977
See the pkg-config man page for more details.
24979
{ (exit 1); exit 1; }; }
24980
elif test $pkg_failed = untried; then
24981
{ { echo "$as_me:$LINENO: error: The pkg-config script could not be found or is too old. Make sure it
24982
is in your PATH or set the PKG_CONFIG environment variable to the full
24983
path to pkg-config.
24985
Alternatively, you may set the environment variables GTK2_CFLAGS
24986
and GTK2_LIBS to avoid the need to call pkg-config.
24987
See the pkg-config man page for more details.
24989
To get pkg-config, see <http://pkg-config.freedesktop.org/>.
24990
See \`config.log' for more details." >&5
24991
echo "$as_me: error: The pkg-config script could not be found or is too old. Make sure it
24992
is in your PATH or set the PKG_CONFIG environment variable to the full
24993
path to pkg-config.
24995
Alternatively, you may set the environment variables GTK2_CFLAGS
24996
and GTK2_LIBS to avoid the need to call pkg-config.
24997
See the pkg-config man page for more details.
24999
To get pkg-config, see <http://pkg-config.freedesktop.org/>.
25000
See \`config.log' for more details." >&2;}
25001
{ (exit 1); exit 1; }; }
25003
GTK2_CFLAGS=$pkg_cv_GTK2_CFLAGS
25004
GTK2_LIBS=$pkg_cv_GTK2_LIBS
25005
{ echo "$as_me:$LINENO: result: yes" >&5
25006
echo "${ECHO_T}yes" >&6; }
25010
WX_GTK2_CFLAGS="$GTK2_CFLAGS"
25011
WX_GTK2_LIBS="$GTK2_LIBS"
25014
{ echo "$as_me:$LINENO: result: wxMSW" >&5
25015
echo "${ECHO_T}wxMSW" >&6; }
25018
{ echo "$as_me:$LINENO: result: wxMac" >&5
25019
echo "${ECHO_T}wxMac" >&6; }
25020
# Extract the first word of "Rez", so it can be a program name with args.
25021
set dummy Rez; ac_word=$2
25022
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
25023
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
25024
if test "${ac_cv_prog_REZ+set}" = set; then
25025
echo $ECHO_N "(cached) $ECHO_C" >&6
25027
if test -n "$REZ"; then
25028
ac_cv_prog_REZ="$REZ" # Let the user override the test.
25030
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
25031
for as_dir in $PATH
25034
test -z "$as_dir" && as_dir=.
25035
for ac_exec_ext in '' $ac_executable_extensions; do
25036
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
25037
ac_cv_prog_REZ="Rez"
25038
echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
25045
test -z "$ac_cv_prog_REZ" && ac_cv_prog_REZ="/Developer/Tools/Rez"
25048
REZ=$ac_cv_prog_REZ
25049
if test -n "$REZ"; then
25050
{ echo "$as_me:$LINENO: result: $REZ" >&5
25051
echo "${ECHO_T}$REZ" >&6; }
25053
{ echo "$as_me:$LINENO: result: no" >&5
25054
echo "${ECHO_T}no" >&6; }
25058
POSTLINK_COMMAND="\$(REZ) -d __DARWIN__ -t APPL Carbon.r -o"
25059
# Extract the first word of "SetFile", so it can be a program name with args.
25060
set dummy SetFile; ac_word=$2
25061
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
25062
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
25063
if test "${ac_cv_prog_SETFILE+set}" = set; then
25064
echo $ECHO_N "(cached) $ECHO_C" >&6
25066
if test -n "$SETFILE"; then
25067
ac_cv_prog_SETFILE="$SETFILE" # Let the user override the test.
25069
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
25070
for as_dir in $PATH
25073
test -z "$as_dir" && as_dir=.
25074
for ac_exec_ext in '' $ac_executable_extensions; do
25075
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
25076
ac_cv_prog_SETFILE="SetFile"
25077
echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
25084
test -z "$ac_cv_prog_SETFILE" && ac_cv_prog_SETFILE="/Developer/Tools/SetFile"
25087
SETFILE=$ac_cv_prog_SETFILE
25088
if test -n "$SETFILE"; then
25089
{ echo "$as_me:$LINENO: result: $SETFILE" >&5
25090
echo "${ECHO_T}$SETFILE" >&6; }
25092
{ echo "$as_me:$LINENO: result: no" >&5
25093
echo "${ECHO_T}no" >&6; }
25097
MACSETFILE="\$(SETFILE)"
25100
{ echo "$as_me:$LINENO: result: other" >&5
25101
echo "${ECHO_T}other" >&6; }
25113
{ echo "$as_me:$LINENO: checking if wxWidgets libraries are needed for plugins" >&5
25114
echo $ECHO_N "checking if wxWidgets libraries are needed for plugins... $ECHO_C" >&6; }
25117
{ echo "$as_me:$LINENO: result: yes" >&5
25118
echo "${ECHO_T}yes" >&6; }
25119
PLUGIN_WX_LIBS="$WX_LIBS"
25122
{ echo "$as_me:$LINENO: result: no" >&5
25123
echo "${ECHO_T}no" >&6; }
25131
{ echo "$as_me:$LINENO: checking for PIC flags" >&5
25132
echo $ECHO_N "checking for PIC flags... $ECHO_C" >&6; }
25135
if test "$GCC" = yes; then
25136
PIC_FLAGS="-fPIC -DPIC"
25138
PIC_FLAGS="-KPIC -DPIC"
25142
PIC_FLAGS="-fPIC -DPIC"
25145
{ echo "$as_me:$LINENO: result: $PIC_FLAGS" >&5
25146
echo "${ECHO_T}$PIC_FLAGS" >&6; }
25148
CPPFLAGS="$CPPFLAGS -Ulinux -Uunix"
25149
CXXFLAGS="$CXXFLAGS $PCH_FLAGS $PIC_FLAGS -fexceptions"
25150
codeblocks_PCH_FLAGS="$PCH_FLAGS"
25154
if test `uname` = "Linux"; then
25162
if test `uname` = "Darwin"; then
25171
{ echo "$as_me:$LINENO: Configuring Code::Blocks..." >&5
25172
echo "$as_me: Configuring Code::Blocks..." >&6;}
25173
{ echo "$as_me:$LINENO: SVN revision 1.0svn ()" >&5
25174
echo "$as_me: SVN revision 1.0svn ()" >&6;}
25179
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"
25182
cat >confcache <<\_ACEOF
25183
# This file is a shell script that caches the results of configure
25184
# tests run on this system so they can be shared between configure
25185
# scripts and configure runs, see configure's option --config-cache.
25186
# It is not useful on other systems. If it contains results you don't
25187
# want to keep, you may remove or edit it.
25189
# config.status only pays attention to the cache file if you give it
25190
# the --recheck option to rerun configure.
25192
# `ac_cv_env_foo' variables (set or unset) will be overridden when
25193
# loading this file, other *unset* `ac_cv_foo' will be assigned the
25194
# following values.
25198
# The following way of writing the cache mishandles newlines in values,
25199
# but we know of no workaround that is simple, portable, and efficient.
25200
# So, we kill variables containing newlines.
25201
# Ultrix sh set writes to stderr and can't be redirected directly,
25202
# and sets the high bit in the cache file unless we assign to the vars.
25204
for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
25205
eval ac_val=\$$ac_var
25209
*_cv_*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
25210
echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
25213
_ | IFS | as_nl) ;; #(
25214
*) $as_unset $ac_var ;;
25220
case $as_nl`(ac_space=' '; set) 2>&1` in #(
25221
*${as_nl}ac_space=\ *)
25222
# `set' does not quote correctly, so add quotes (double-quote
25223
# substitution turns \\\\ into \\, and sed turns \\ into \).
25226
s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
25229
# `set' quotes correctly as required by POSIX, so do not add quotes.
25230
sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
25239
s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
25241
s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
25243
if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
25244
if test -w "$cache_file"; then
25245
test "x$cache_file" != "x/dev/null" &&
25246
{ echo "$as_me:$LINENO: updating cache $cache_file" >&5
25247
echo "$as_me: updating cache $cache_file" >&6;}
25248
cat confcache >$cache_file
25250
{ echo "$as_me:$LINENO: not updating unwritable cache $cache_file" >&5
25251
echo "$as_me: not updating unwritable cache $cache_file" >&6;}
25256
test "x$prefix" = xNONE && prefix=$ac_default_prefix
25257
# Let make expand exec_prefix.
25258
test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
25260
DEFS=-DHAVE_CONFIG_H
25264
for ac_i in : $LIB@&t@OBJS; do test "x$ac_i" = x: && continue
25265
# 1. Remove the extension, and $U if already installed.
25266
ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
25267
ac_i=`echo "$ac_i" | sed "$ac_script"`
25268
# 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
25269
# will be set to the directory where LIBOBJS objects are built.
25270
ac_libobjs="$ac_libobjs \${LIBOBJDIR}$ac_i\$U.$ac_objext"
25271
ac_ltlibobjs="$ac_ltlibobjs \${LIBOBJDIR}$ac_i"'$U.lo'
25273
LIB@&t@OBJS=$ac_libobjs
25275
LTLIBOBJS=$ac_ltlibobjs
25278
if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
25279
{ { echo "$as_me:$LINENO: error: conditional \"AMDEP\" was never defined.
25280
Usually this means the macro was only invoked conditionally." >&5
25281
echo "$as_me: error: conditional \"AMDEP\" was never defined.
25282
Usually this means the macro was only invoked conditionally." >&2;}
25283
{ (exit 1); exit 1; }; }
25285
if test -z "${am__fastdepCXX_TRUE}" && test -z "${am__fastdepCXX_FALSE}"; then
25286
{ { echo "$as_me:$LINENO: error: conditional \"am__fastdepCXX\" was never defined.
25287
Usually this means the macro was only invoked conditionally." >&5
25288
echo "$as_me: error: conditional \"am__fastdepCXX\" was never defined.
25289
Usually this means the macro was only invoked conditionally." >&2;}
25290
{ (exit 1); exit 1; }; }
25292
if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
25293
{ { echo "$as_me:$LINENO: error: conditional \"am__fastdepCC\" was never defined.
25294
Usually this means the macro was only invoked conditionally." >&5
25295
echo "$as_me: error: conditional \"am__fastdepCC\" was never defined.
25296
Usually this means the macro was only invoked conditionally." >&2;}
25297
{ (exit 1); exit 1; }; }
25299
if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
25300
{ { echo "$as_me:$LINENO: error: conditional \"am__fastdepCC\" was never defined.
25301
Usually this means the macro was only invoked conditionally." >&5
25302
echo "$as_me: error: conditional \"am__fastdepCC\" was never defined.
25303
Usually this means the macro was only invoked conditionally." >&2;}
25304
{ (exit 1); exit 1; }; }
25306
if test -z "${CODEBLOCKS_NT_TRUE}" && test -z "${CODEBLOCKS_NT_FALSE}"; then
25307
{ { echo "$as_me:$LINENO: error: conditional \"CODEBLOCKS_NT\" was never defined.
25308
Usually this means the macro was only invoked conditionally." >&5
25309
echo "$as_me: error: conditional \"CODEBLOCKS_NT\" was never defined.
25310
Usually this means the macro was only invoked conditionally." >&2;}
25311
{ (exit 1); exit 1; }; }
25313
if test -z "${CODEBLOCKS_LINUX_TRUE}" && test -z "${CODEBLOCKS_LINUX_FALSE}"; then
25314
{ { echo "$as_me:$LINENO: error: conditional \"CODEBLOCKS_LINUX\" was never defined.
25315
Usually this means the macro was only invoked conditionally." >&5
25316
echo "$as_me: error: conditional \"CODEBLOCKS_LINUX\" was never defined.
25317
Usually this means the macro was only invoked conditionally." >&2;}
25318
{ (exit 1); exit 1; }; }
25320
if test -z "${CODEBLOCKS_DARWIN_TRUE}" && test -z "${CODEBLOCKS_DARWIN_FALSE}"; then
25321
{ { echo "$as_me:$LINENO: error: conditional \"CODEBLOCKS_DARWIN\" was never defined.
25322
Usually this means the macro was only invoked conditionally." >&5
25323
echo "$as_me: error: conditional \"CODEBLOCKS_DARWIN\" was never defined.
25324
Usually this means the macro was only invoked conditionally." >&2;}
25325
{ (exit 1); exit 1; }; }
25327
if test -z "${HAVE_ZLIB_TRUE}" && test -z "${HAVE_ZLIB_FALSE}"; then
25328
{ { echo "$as_me:$LINENO: error: conditional \"HAVE_ZLIB\" was never defined.
25329
Usually this means the macro was only invoked conditionally." >&5
25330
echo "$as_me: error: conditional \"HAVE_ZLIB\" was never defined.
25331
Usually this means the macro was only invoked conditionally." >&2;}
25332
{ (exit 1); exit 1; }; }
25334
if test -z "${HAVE_BZIP2_TRUE}" && test -z "${HAVE_BZIP2_FALSE}"; then
25335
{ { echo "$as_me:$LINENO: error: conditional \"HAVE_BZIP2\" was never defined.
25336
Usually this means the macro was only invoked conditionally." >&5
25337
echo "$as_me: error: conditional \"HAVE_BZIP2\" was never defined.
25338
Usually this means the macro was only invoked conditionally." >&2;}
25339
{ (exit 1); exit 1; }; }
25341
if test -z "${BUILD_ASTYLE_TRUE}" && test -z "${BUILD_ASTYLE_FALSE}"; then
25342
{ { echo "$as_me:$LINENO: error: conditional \"BUILD_ASTYLE\" was never defined.
25343
Usually this means the macro was only invoked conditionally." >&5
25344
echo "$as_me: error: conditional \"BUILD_ASTYLE\" was never defined.
25345
Usually this means the macro was only invoked conditionally." >&2;}
25346
{ (exit 1); exit 1; }; }
25348
if test -z "${BUILD_AUTOSAVE_TRUE}" && test -z "${BUILD_AUTOSAVE_FALSE}"; then
25349
{ { echo "$as_me:$LINENO: error: conditional \"BUILD_AUTOSAVE\" was never defined.
25350
Usually this means the macro was only invoked conditionally." >&5
25351
echo "$as_me: error: conditional \"BUILD_AUTOSAVE\" was never defined.
25352
Usually this means the macro was only invoked conditionally." >&2;}
25353
{ (exit 1); exit 1; }; }
25355
if test -z "${BUILD_CLASSWIZARD_TRUE}" && test -z "${BUILD_CLASSWIZARD_FALSE}"; then
25356
{ { echo "$as_me:$LINENO: error: conditional \"BUILD_CLASSWIZARD\" was never defined.
25357
Usually this means the macro was only invoked conditionally." >&5
25358
echo "$as_me: error: conditional \"BUILD_CLASSWIZARD\" was never defined.
25359
Usually this means the macro was only invoked conditionally." >&2;}
25360
{ (exit 1); exit 1; }; }
25362
if test -z "${BUILD_CODECOMPLETION_TRUE}" && test -z "${BUILD_CODECOMPLETION_FALSE}"; then
25363
{ { echo "$as_me:$LINENO: error: conditional \"BUILD_CODECOMPLETION\" was never defined.
25364
Usually this means the macro was only invoked conditionally." >&5
25365
echo "$as_me: error: conditional \"BUILD_CODECOMPLETION\" was never defined.
25366
Usually this means the macro was only invoked conditionally." >&2;}
25367
{ (exit 1); exit 1; }; }
25369
if test -z "${BUILD_COMPILER_TRUE}" && test -z "${BUILD_COMPILER_FALSE}"; then
25370
{ { echo "$as_me:$LINENO: error: conditional \"BUILD_COMPILER\" was never defined.
25371
Usually this means the macro was only invoked conditionally." >&5
25372
echo "$as_me: error: conditional \"BUILD_COMPILER\" was never defined.
25373
Usually this means the macro was only invoked conditionally." >&2;}
25374
{ (exit 1); exit 1; }; }
25376
if test -z "${BUILD_DEBUGGER_TRUE}" && test -z "${BUILD_DEBUGGER_FALSE}"; then
25377
{ { echo "$as_me:$LINENO: error: conditional \"BUILD_DEBUGGER\" was never defined.
25378
Usually this means the macro was only invoked conditionally." >&5
25379
echo "$as_me: error: conditional \"BUILD_DEBUGGER\" was never defined.
25380
Usually this means the macro was only invoked conditionally." >&2;}
25381
{ (exit 1); exit 1; }; }
25383
if test -z "${BUILD_MIMEHANDLER_TRUE}" && test -z "${BUILD_MIMEHANDLER_FALSE}"; then
25384
{ { echo "$as_me:$LINENO: error: conditional \"BUILD_MIMEHANDLER\" was never defined.
25385
Usually this means the macro was only invoked conditionally." >&5
25386
echo "$as_me: error: conditional \"BUILD_MIMEHANDLER\" was never defined.
25387
Usually this means the macro was only invoked conditionally." >&2;}
25388
{ (exit 1); exit 1; }; }
25390
if test -z "${BUILD_OPENFILESLIST_TRUE}" && test -z "${BUILD_OPENFILESLIST_FALSE}"; then
25391
{ { echo "$as_me:$LINENO: error: conditional \"BUILD_OPENFILESLIST\" was never defined.
25392
Usually this means the macro was only invoked conditionally." >&5
25393
echo "$as_me: error: conditional \"BUILD_OPENFILESLIST\" was never defined.
25394
Usually this means the macro was only invoked conditionally." >&2;}
25395
{ (exit 1); exit 1; }; }
25397
if test -z "${BUILD_PROJECTSIMPORTER_TRUE}" && test -z "${BUILD_PROJECTSIMPORTER_FALSE}"; then
25398
{ { echo "$as_me:$LINENO: error: conditional \"BUILD_PROJECTSIMPORTER\" was never defined.
25399
Usually this means the macro was only invoked conditionally." >&5
25400
echo "$as_me: error: conditional \"BUILD_PROJECTSIMPORTER\" was never defined.
25401
Usually this means the macro was only invoked conditionally." >&2;}
25402
{ (exit 1); exit 1; }; }
25404
if test -z "${BUILD_SCRIPTEDWIZARD_TRUE}" && test -z "${BUILD_SCRIPTEDWIZARD_FALSE}"; then
25405
{ { echo "$as_me:$LINENO: error: conditional \"BUILD_SCRIPTEDWIZARD\" was never defined.
25406
Usually this means the macro was only invoked conditionally." >&5
25407
echo "$as_me: error: conditional \"BUILD_SCRIPTEDWIZARD\" was never defined.
25408
Usually this means the macro was only invoked conditionally." >&2;}
25409
{ (exit 1); exit 1; }; }
25411
if test -z "${BUILD_TODO_TRUE}" && test -z "${BUILD_TODO_FALSE}"; then
25412
{ { echo "$as_me:$LINENO: error: conditional \"BUILD_TODO\" was never defined.
25413
Usually this means the macro was only invoked conditionally." >&5
25414
echo "$as_me: error: conditional \"BUILD_TODO\" was never defined.
25415
Usually this means the macro was only invoked conditionally." >&2;}
25416
{ (exit 1); exit 1; }; }
25418
if test -z "${BUILD_MANIFEST_TRUE}" && test -z "${BUILD_MANIFEST_FALSE}"; then
25419
{ { echo "$as_me:$LINENO: error: conditional \"BUILD_MANIFEST\" was never defined.
25420
Usually this means the macro was only invoked conditionally." >&5
25421
echo "$as_me: error: conditional \"BUILD_MANIFEST\" was never defined.
25422
Usually this means the macro was only invoked conditionally." >&2;}
25423
{ (exit 1); exit 1; }; }
25425
if test -z "${BUILD_MANIFEST_TRUE}" && test -z "${BUILD_MANIFEST_FALSE}"; then
25426
{ { echo "$as_me:$LINENO: error: conditional \"BUILD_MANIFEST\" was never defined.
25427
Usually this means the macro was only invoked conditionally." >&5
25428
echo "$as_me: error: conditional \"BUILD_MANIFEST\" was never defined.
25429
Usually this means the macro was only invoked conditionally." >&2;}
25430
{ (exit 1); exit 1; }; }
25432
if test -z "${BUILD_AUTOVERSIONING_TRUE}" && test -z "${BUILD_AUTOVERSIONING_FALSE}"; then
25433
{ { echo "$as_me:$LINENO: error: conditional \"BUILD_AUTOVERSIONING\" was never defined.
25434
Usually this means the macro was only invoked conditionally." >&5
25435
echo "$as_me: error: conditional \"BUILD_AUTOVERSIONING\" was never defined.
25436
Usually this means the macro was only invoked conditionally." >&2;}
25437
{ (exit 1); exit 1; }; }
25439
if test -z "${BUILD_BROWSETRACKER_TRUE}" && test -z "${BUILD_BROWSETRACKER_FALSE}"; then
25440
{ { echo "$as_me:$LINENO: error: conditional \"BUILD_BROWSETRACKER\" was never defined.
25441
Usually this means the macro was only invoked conditionally." >&5
25442
echo "$as_me: error: conditional \"BUILD_BROWSETRACKER\" was never defined.
25443
Usually this means the macro was only invoked conditionally." >&2;}
25444
{ (exit 1); exit 1; }; }
25446
if test -z "${BUILD_BYOGAMES_TRUE}" && test -z "${BUILD_BYOGAMES_FALSE}"; then
25447
{ { echo "$as_me:$LINENO: error: conditional \"BUILD_BYOGAMES\" was never defined.
25448
Usually this means the macro was only invoked conditionally." >&5
25449
echo "$as_me: error: conditional \"BUILD_BYOGAMES\" was never defined.
25450
Usually this means the macro was only invoked conditionally." >&2;}
25451
{ (exit 1); exit 1; }; }
25453
if test -z "${BUILD_CBKODERS_TRUE}" && test -z "${BUILD_CBKODERS_FALSE}"; then
25454
{ { echo "$as_me:$LINENO: error: conditional \"BUILD_CBKODERS\" was never defined.
25455
Usually this means the macro was only invoked conditionally." >&5
25456
echo "$as_me: error: conditional \"BUILD_CBKODERS\" was never defined.
25457
Usually this means the macro was only invoked conditionally." >&2;}
25458
{ (exit 1); exit 1; }; }
25460
if test -z "${BUILD_CODESNIPPETS_TRUE}" && test -z "${BUILD_CODESNIPPETS_FALSE}"; then
25461
{ { echo "$as_me:$LINENO: error: conditional \"BUILD_CODESNIPPETS\" was never defined.
25462
Usually this means the macro was only invoked conditionally." >&5
25463
echo "$as_me: error: conditional \"BUILD_CODESNIPPETS\" was never defined.
25464
Usually this means the macro was only invoked conditionally." >&2;}
25465
{ (exit 1); exit 1; }; }
25467
if test -z "${BUILD_CODESTAT_TRUE}" && test -z "${BUILD_CODESTAT_FALSE}"; then
25468
{ { echo "$as_me:$LINENO: error: conditional \"BUILD_CODESTAT\" was never defined.
25469
Usually this means the macro was only invoked conditionally." >&5
25470
echo "$as_me: error: conditional \"BUILD_CODESTAT\" was never defined.
25471
Usually this means the macro was only invoked conditionally." >&2;}
25472
{ (exit 1); exit 1; }; }
25474
if test -z "${BUILD_DRAGSCROLL_TRUE}" && test -z "${BUILD_DRAGSCROLL_FALSE}"; then
25475
{ { echo "$as_me:$LINENO: error: conditional \"BUILD_DRAGSCROLL\" was never defined.
25476
Usually this means the macro was only invoked conditionally." >&5
25477
echo "$as_me: error: conditional \"BUILD_DRAGSCROLL\" was never defined.
25478
Usually this means the macro was only invoked conditionally." >&2;}
25479
{ (exit 1); exit 1; }; }
25481
if test -z "${BUILD_ENVVARS_TRUE}" && test -z "${BUILD_ENVVARS_FALSE}"; then
25482
{ { echo "$as_me:$LINENO: error: conditional \"BUILD_ENVVARS\" was never defined.
25483
Usually this means the macro was only invoked conditionally." >&5
25484
echo "$as_me: error: conditional \"BUILD_ENVVARS\" was never defined.
25485
Usually this means the macro was only invoked conditionally." >&2;}
25486
{ (exit 1); exit 1; }; }
25488
if test -z "${BUILD_HELP_TRUE}" && test -z "${BUILD_HELP_FALSE}"; then
25489
{ { echo "$as_me:$LINENO: error: conditional \"BUILD_HELP\" was never defined.
25490
Usually this means the macro was only invoked conditionally." >&5
25491
echo "$as_me: error: conditional \"BUILD_HELP\" was never defined.
25492
Usually this means the macro was only invoked conditionally." >&2;}
25493
{ (exit 1); exit 1; }; }
25495
if test -z "${BUILD_KEYBINDER_TRUE}" && test -z "${BUILD_KEYBINDER_FALSE}"; then
25496
{ { echo "$as_me:$LINENO: error: conditional \"BUILD_KEYBINDER\" was never defined.
25497
Usually this means the macro was only invoked conditionally." >&5
25498
echo "$as_me: error: conditional \"BUILD_KEYBINDER\" was never defined.
25499
Usually this means the macro was only invoked conditionally." >&2;}
25500
{ (exit 1); exit 1; }; }
25502
if test -z "${BUILD_LIBFINDER_TRUE}" && test -z "${BUILD_LIBFINDER_FALSE}"; then
25503
{ { echo "$as_me:$LINENO: error: conditional \"BUILD_LIBFINDER\" was never defined.
25504
Usually this means the macro was only invoked conditionally." >&5
25505
echo "$as_me: error: conditional \"BUILD_LIBFINDER\" was never defined.
25506
Usually this means the macro was only invoked conditionally." >&2;}
25507
{ (exit 1); exit 1; }; }
25509
if test -z "${BUILD_PROFILER_TRUE}" && test -z "${BUILD_PROFILER_FALSE}"; then
25510
{ { echo "$as_me:$LINENO: error: conditional \"BUILD_PROFILER\" was never defined.
25511
Usually this means the macro was only invoked conditionally." >&5
25512
echo "$as_me: error: conditional \"BUILD_PROFILER\" was never defined.
25513
Usually this means the macro was only invoked conditionally." >&2;}
25514
{ (exit 1); exit 1; }; }
25516
if test -z "${BUILD_REGEX_TRUE}" && test -z "${BUILD_REGEX_FALSE}"; then
25517
{ { echo "$as_me:$LINENO: error: conditional \"BUILD_REGEX\" was never defined.
25518
Usually this means the macro was only invoked conditionally." >&5
25519
echo "$as_me: error: conditional \"BUILD_REGEX\" was never defined.
25520
Usually this means the macro was only invoked conditionally." >&2;}
25521
{ (exit 1); exit 1; }; }
25523
if test -z "${BUILD_EXPORTER_TRUE}" && test -z "${BUILD_EXPORTER_FALSE}"; then
25524
{ { echo "$as_me:$LINENO: error: conditional \"BUILD_EXPORTER\" was never defined.
25525
Usually this means the macro was only invoked conditionally." >&5
25526
echo "$as_me: error: conditional \"BUILD_EXPORTER\" was never defined.
25527
Usually this means the macro was only invoked conditionally." >&2;}
25528
{ (exit 1); exit 1; }; }
25530
if test -z "${BUILD_SYMTAB_TRUE}" && test -z "${BUILD_SYMTAB_FALSE}"; then
25531
{ { echo "$as_me:$LINENO: error: conditional \"BUILD_SYMTAB\" was never defined.
25532
Usually this means the macro was only invoked conditionally." >&5
25533
echo "$as_me: error: conditional \"BUILD_SYMTAB\" was never defined.
25534
Usually this means the macro was only invoked conditionally." >&2;}
25535
{ (exit 1); exit 1; }; }
25537
if test -z "${BUILD_THREADSEARCH_TRUE}" && test -z "${BUILD_THREADSEARCH_FALSE}"; then
25538
{ { echo "$as_me:$LINENO: error: conditional \"BUILD_THREADSEARCH\" was never defined.
25539
Usually this means the macro was only invoked conditionally." >&5
25540
echo "$as_me: error: conditional \"BUILD_THREADSEARCH\" was never defined.
25541
Usually this means the macro was only invoked conditionally." >&2;}
25542
{ (exit 1); exit 1; }; }
25544
if test -z "${BUILD_WXSMITH_TRUE}" && test -z "${BUILD_WXSMITH_FALSE}"; then
25545
{ { echo "$as_me:$LINENO: error: conditional \"BUILD_WXSMITH\" was never defined.
25546
Usually this means the macro was only invoked conditionally." >&5
25547
echo "$as_me: error: conditional \"BUILD_WXSMITH\" was never defined.
25548
Usually this means the macro was only invoked conditionally." >&2;}
25549
{ (exit 1); exit 1; }; }
25551
if test -z "${BUILD_AUTOVERSIONING_TRUE}" && test -z "${BUILD_AUTOVERSIONING_FALSE}"; then
25552
{ { echo "$as_me:$LINENO: error: conditional \"BUILD_AUTOVERSIONING\" was never defined.
25553
Usually this means the macro was only invoked conditionally." >&5
25554
echo "$as_me: error: conditional \"BUILD_AUTOVERSIONING\" was never defined.
25555
Usually this means the macro was only invoked conditionally." >&2;}
25556
{ (exit 1); exit 1; }; }
25558
if test -z "${BUILD_BROWSETRACKER_TRUE}" && test -z "${BUILD_BROWSETRACKER_FALSE}"; then
25559
{ { echo "$as_me:$LINENO: error: conditional \"BUILD_BROWSETRACKER\" was never defined.
25560
Usually this means the macro was only invoked conditionally." >&5
25561
echo "$as_me: error: conditional \"BUILD_BROWSETRACKER\" was never defined.
25562
Usually this means the macro was only invoked conditionally." >&2;}
25563
{ (exit 1); exit 1; }; }
25565
if test -z "${BUILD_BYOGAMES_TRUE}" && test -z "${BUILD_BYOGAMES_FALSE}"; then
25566
{ { echo "$as_me:$LINENO: error: conditional \"BUILD_BYOGAMES\" was never defined.
25567
Usually this means the macro was only invoked conditionally." >&5
25568
echo "$as_me: error: conditional \"BUILD_BYOGAMES\" was never defined.
25569
Usually this means the macro was only invoked conditionally." >&2;}
25570
{ (exit 1); exit 1; }; }
25572
if test -z "${BUILD_CBKODERS_TRUE}" && test -z "${BUILD_CBKODERS_FALSE}"; then
25573
{ { echo "$as_me:$LINENO: error: conditional \"BUILD_CBKODERS\" was never defined.
25574
Usually this means the macro was only invoked conditionally." >&5
25575
echo "$as_me: error: conditional \"BUILD_CBKODERS\" was never defined.
25576
Usually this means the macro was only invoked conditionally." >&2;}
25577
{ (exit 1); exit 1; }; }
25579
if test -z "${BUILD_CODESNIPPETS_TRUE}" && test -z "${BUILD_CODESNIPPETS_FALSE}"; then
25580
{ { echo "$as_me:$LINENO: error: conditional \"BUILD_CODESNIPPETS\" was never defined.
25581
Usually this means the macro was only invoked conditionally." >&5
25582
echo "$as_me: error: conditional \"BUILD_CODESNIPPETS\" was never defined.
25583
Usually this means the macro was only invoked conditionally." >&2;}
25584
{ (exit 1); exit 1; }; }
25586
if test -z "${BUILD_CODESTAT_TRUE}" && test -z "${BUILD_CODESTAT_FALSE}"; then
25587
{ { echo "$as_me:$LINENO: error: conditional \"BUILD_CODESTAT\" was never defined.
25588
Usually this means the macro was only invoked conditionally." >&5
25589
echo "$as_me: error: conditional \"BUILD_CODESTAT\" was never defined.
25590
Usually this means the macro was only invoked conditionally." >&2;}
25591
{ (exit 1); exit 1; }; }
25593
if test -z "${BUILD_DRAGSCROLL_TRUE}" && test -z "${BUILD_DRAGSCROLL_FALSE}"; then
25594
{ { echo "$as_me:$LINENO: error: conditional \"BUILD_DRAGSCROLL\" was never defined.
25595
Usually this means the macro was only invoked conditionally." >&5
25596
echo "$as_me: error: conditional \"BUILD_DRAGSCROLL\" was never defined.
25597
Usually this means the macro was only invoked conditionally." >&2;}
25598
{ (exit 1); exit 1; }; }
25600
if test -z "${BUILD_ENVVARS_TRUE}" && test -z "${BUILD_ENVVARS_FALSE}"; then
25601
{ { echo "$as_me:$LINENO: error: conditional \"BUILD_ENVVARS\" was never defined.
25602
Usually this means the macro was only invoked conditionally." >&5
25603
echo "$as_me: error: conditional \"BUILD_ENVVARS\" was never defined.
25604
Usually this means the macro was only invoked conditionally." >&2;}
25605
{ (exit 1); exit 1; }; }
25607
if test -z "${BUILD_HELP_TRUE}" && test -z "${BUILD_HELP_FALSE}"; then
25608
{ { echo "$as_me:$LINENO: error: conditional \"BUILD_HELP\" was never defined.
25609
Usually this means the macro was only invoked conditionally." >&5
25610
echo "$as_me: error: conditional \"BUILD_HELP\" was never defined.
25611
Usually this means the macro was only invoked conditionally." >&2;}
25612
{ (exit 1); exit 1; }; }
25614
if test -z "${BUILD_KEYBINDER_TRUE}" && test -z "${BUILD_KEYBINDER_FALSE}"; then
25615
{ { echo "$as_me:$LINENO: error: conditional \"BUILD_KEYBINDER\" was never defined.
25616
Usually this means the macro was only invoked conditionally." >&5
25617
echo "$as_me: error: conditional \"BUILD_KEYBINDER\" was never defined.
25618
Usually this means the macro was only invoked conditionally." >&2;}
25619
{ (exit 1); exit 1; }; }
25621
if test -z "${BUILD_LIBFINDER_TRUE}" && test -z "${BUILD_LIBFINDER_FALSE}"; then
25622
{ { echo "$as_me:$LINENO: error: conditional \"BUILD_LIBFINDER\" was never defined.
25623
Usually this means the macro was only invoked conditionally." >&5
25624
echo "$as_me: error: conditional \"BUILD_LIBFINDER\" was never defined.
25625
Usually this means the macro was only invoked conditionally." >&2;}
25626
{ (exit 1); exit 1; }; }
25628
if test -z "${BUILD_PROFILER_TRUE}" && test -z "${BUILD_PROFILER_FALSE}"; then
25629
{ { echo "$as_me:$LINENO: error: conditional \"BUILD_PROFILER\" was never defined.
25630
Usually this means the macro was only invoked conditionally." >&5
25631
echo "$as_me: error: conditional \"BUILD_PROFILER\" was never defined.
25632
Usually this means the macro was only invoked conditionally." >&2;}
25633
{ (exit 1); exit 1; }; }
25635
if test -z "${BUILD_REGEX_TRUE}" && test -z "${BUILD_REGEX_FALSE}"; then
25636
{ { echo "$as_me:$LINENO: error: conditional \"BUILD_REGEX\" was never defined.
25637
Usually this means the macro was only invoked conditionally." >&5
25638
echo "$as_me: error: conditional \"BUILD_REGEX\" was never defined.
25639
Usually this means the macro was only invoked conditionally." >&2;}
25640
{ (exit 1); exit 1; }; }
25642
if test -z "${BUILD_EXPORTER_TRUE}" && test -z "${BUILD_EXPORTER_FALSE}"; then
25643
{ { echo "$as_me:$LINENO: error: conditional \"BUILD_EXPORTER\" was never defined.
25644
Usually this means the macro was only invoked conditionally." >&5
25645
echo "$as_me: error: conditional \"BUILD_EXPORTER\" was never defined.
25646
Usually this means the macro was only invoked conditionally." >&2;}
25647
{ (exit 1); exit 1; }; }
25649
if test -z "${BUILD_SYMTAB_TRUE}" && test -z "${BUILD_SYMTAB_FALSE}"; then
25650
{ { echo "$as_me:$LINENO: error: conditional \"BUILD_SYMTAB\" was never defined.
25651
Usually this means the macro was only invoked conditionally." >&5
25652
echo "$as_me: error: conditional \"BUILD_SYMTAB\" was never defined.
25653
Usually this means the macro was only invoked conditionally." >&2;}
25654
{ (exit 1); exit 1; }; }
25656
if test -z "${BUILD_THREADSEARCH_TRUE}" && test -z "${BUILD_THREADSEARCH_FALSE}"; then
25657
{ { echo "$as_me:$LINENO: error: conditional \"BUILD_THREADSEARCH\" was never defined.
25658
Usually this means the macro was only invoked conditionally." >&5
25659
echo "$as_me: error: conditional \"BUILD_THREADSEARCH\" was never defined.
25660
Usually this means the macro was only invoked conditionally." >&2;}
25661
{ (exit 1); exit 1; }; }
25663
if test -z "${BUILD_WXSMITH_TRUE}" && test -z "${BUILD_WXSMITH_FALSE}"; then
25664
{ { echo "$as_me:$LINENO: error: conditional \"BUILD_WXSMITH\" was never defined.
25665
Usually this means the macro was only invoked conditionally." >&5
25666
echo "$as_me: error: conditional \"BUILD_WXSMITH\" was never defined.
25667
Usually this means the macro was only invoked conditionally." >&2;}
25668
{ (exit 1); exit 1; }; }
25670
if test -z "${BUILD_AUTOVERSIONING_TRUE}" && test -z "${BUILD_AUTOVERSIONING_FALSE}"; then
25671
{ { echo "$as_me:$LINENO: error: conditional \"BUILD_AUTOVERSIONING\" was never defined.
25672
Usually this means the macro was only invoked conditionally." >&5
25673
echo "$as_me: error: conditional \"BUILD_AUTOVERSIONING\" was never defined.
25674
Usually this means the macro was only invoked conditionally." >&2;}
25675
{ (exit 1); exit 1; }; }
25677
if test -z "${BUILD_BROWSETRACKER_TRUE}" && test -z "${BUILD_BROWSETRACKER_FALSE}"; then
25678
{ { echo "$as_me:$LINENO: error: conditional \"BUILD_BROWSETRACKER\" was never defined.
25679
Usually this means the macro was only invoked conditionally." >&5
25680
echo "$as_me: error: conditional \"BUILD_BROWSETRACKER\" was never defined.
25681
Usually this means the macro was only invoked conditionally." >&2;}
25682
{ (exit 1); exit 1; }; }
25684
if test -z "${BUILD_BYOGAMES_TRUE}" && test -z "${BUILD_BYOGAMES_FALSE}"; then
25685
{ { echo "$as_me:$LINENO: error: conditional \"BUILD_BYOGAMES\" was never defined.
25686
Usually this means the macro was only invoked conditionally." >&5
25687
echo "$as_me: error: conditional \"BUILD_BYOGAMES\" was never defined.
25688
Usually this means the macro was only invoked conditionally." >&2;}
25689
{ (exit 1); exit 1; }; }
25691
if test -z "${BUILD_CBKODERS_TRUE}" && test -z "${BUILD_CBKODERS_FALSE}"; then
25692
{ { echo "$as_me:$LINENO: error: conditional \"BUILD_CBKODERS\" was never defined.
25693
Usually this means the macro was only invoked conditionally." >&5
25694
echo "$as_me: error: conditional \"BUILD_CBKODERS\" was never defined.
25695
Usually this means the macro was only invoked conditionally." >&2;}
25696
{ (exit 1); exit 1; }; }
25698
if test -z "${BUILD_CODESNIPPETS_TRUE}" && test -z "${BUILD_CODESNIPPETS_FALSE}"; then
25699
{ { echo "$as_me:$LINENO: error: conditional \"BUILD_CODESNIPPETS\" was never defined.
25700
Usually this means the macro was only invoked conditionally." >&5
25701
echo "$as_me: error: conditional \"BUILD_CODESNIPPETS\" was never defined.
25702
Usually this means the macro was only invoked conditionally." >&2;}
25703
{ (exit 1); exit 1; }; }
25705
if test -z "${BUILD_CODESTAT_TRUE}" && test -z "${BUILD_CODESTAT_FALSE}"; then
25706
{ { echo "$as_me:$LINENO: error: conditional \"BUILD_CODESTAT\" was never defined.
25707
Usually this means the macro was only invoked conditionally." >&5
25708
echo "$as_me: error: conditional \"BUILD_CODESTAT\" was never defined.
25709
Usually this means the macro was only invoked conditionally." >&2;}
25710
{ (exit 1); exit 1; }; }
25712
if test -z "${BUILD_DRAGSCROLL_TRUE}" && test -z "${BUILD_DRAGSCROLL_FALSE}"; then
25713
{ { echo "$as_me:$LINENO: error: conditional \"BUILD_DRAGSCROLL\" was never defined.
25714
Usually this means the macro was only invoked conditionally." >&5
25715
echo "$as_me: error: conditional \"BUILD_DRAGSCROLL\" was never defined.
25716
Usually this means the macro was only invoked conditionally." >&2;}
25717
{ (exit 1); exit 1; }; }
25719
if test -z "${BUILD_ENVVARS_TRUE}" && test -z "${BUILD_ENVVARS_FALSE}"; then
25720
{ { echo "$as_me:$LINENO: error: conditional \"BUILD_ENVVARS\" was never defined.
25721
Usually this means the macro was only invoked conditionally." >&5
25722
echo "$as_me: error: conditional \"BUILD_ENVVARS\" was never defined.
25723
Usually this means the macro was only invoked conditionally." >&2;}
25724
{ (exit 1); exit 1; }; }
25726
if test -z "${BUILD_HELP_TRUE}" && test -z "${BUILD_HELP_FALSE}"; then
25727
{ { echo "$as_me:$LINENO: error: conditional \"BUILD_HELP\" was never defined.
25728
Usually this means the macro was only invoked conditionally." >&5
25729
echo "$as_me: error: conditional \"BUILD_HELP\" was never defined.
25730
Usually this means the macro was only invoked conditionally." >&2;}
25731
{ (exit 1); exit 1; }; }
25733
if test -z "${BUILD_KEYBINDER_TRUE}" && test -z "${BUILD_KEYBINDER_FALSE}"; then
25734
{ { echo "$as_me:$LINENO: error: conditional \"BUILD_KEYBINDER\" was never defined.
25735
Usually this means the macro was only invoked conditionally." >&5
25736
echo "$as_me: error: conditional \"BUILD_KEYBINDER\" was never defined.
25737
Usually this means the macro was only invoked conditionally." >&2;}
25738
{ (exit 1); exit 1; }; }
25740
if test -z "${BUILD_LIBFINDER_TRUE}" && test -z "${BUILD_LIBFINDER_FALSE}"; then
25741
{ { echo "$as_me:$LINENO: error: conditional \"BUILD_LIBFINDER\" was never defined.
25742
Usually this means the macro was only invoked conditionally." >&5
25743
echo "$as_me: error: conditional \"BUILD_LIBFINDER\" was never defined.
25744
Usually this means the macro was only invoked conditionally." >&2;}
25745
{ (exit 1); exit 1; }; }
25747
if test -z "${BUILD_PROFILER_TRUE}" && test -z "${BUILD_PROFILER_FALSE}"; then
25748
{ { echo "$as_me:$LINENO: error: conditional \"BUILD_PROFILER\" was never defined.
25749
Usually this means the macro was only invoked conditionally." >&5
25750
echo "$as_me: error: conditional \"BUILD_PROFILER\" was never defined.
25751
Usually this means the macro was only invoked conditionally." >&2;}
25752
{ (exit 1); exit 1; }; }
25754
if test -z "${BUILD_REGEX_TRUE}" && test -z "${BUILD_REGEX_FALSE}"; then
25755
{ { echo "$as_me:$LINENO: error: conditional \"BUILD_REGEX\" was never defined.
25756
Usually this means the macro was only invoked conditionally." >&5
25757
echo "$as_me: error: conditional \"BUILD_REGEX\" was never defined.
25758
Usually this means the macro was only invoked conditionally." >&2;}
25759
{ (exit 1); exit 1; }; }
25761
if test -z "${BUILD_EXPORTER_TRUE}" && test -z "${BUILD_EXPORTER_FALSE}"; then
25762
{ { echo "$as_me:$LINENO: error: conditional \"BUILD_EXPORTER\" was never defined.
25763
Usually this means the macro was only invoked conditionally." >&5
25764
echo "$as_me: error: conditional \"BUILD_EXPORTER\" was never defined.
25765
Usually this means the macro was only invoked conditionally." >&2;}
25766
{ (exit 1); exit 1; }; }
25768
if test -z "${BUILD_SYMTAB_TRUE}" && test -z "${BUILD_SYMTAB_FALSE}"; then
25769
{ { echo "$as_me:$LINENO: error: conditional \"BUILD_SYMTAB\" was never defined.
25770
Usually this means the macro was only invoked conditionally." >&5
25771
echo "$as_me: error: conditional \"BUILD_SYMTAB\" was never defined.
25772
Usually this means the macro was only invoked conditionally." >&2;}
25773
{ (exit 1); exit 1; }; }
25775
if test -z "${BUILD_THREADSEARCH_TRUE}" && test -z "${BUILD_THREADSEARCH_FALSE}"; then
25776
{ { echo "$as_me:$LINENO: error: conditional \"BUILD_THREADSEARCH\" was never defined.
25777
Usually this means the macro was only invoked conditionally." >&5
25778
echo "$as_me: error: conditional \"BUILD_THREADSEARCH\" was never defined.
25779
Usually this means the macro was only invoked conditionally." >&2;}
25780
{ (exit 1); exit 1; }; }
25782
if test -z "${BUILD_WXSMITH_TRUE}" && test -z "${BUILD_WXSMITH_FALSE}"; then
25783
{ { echo "$as_me:$LINENO: error: conditional \"BUILD_WXSMITH\" was never defined.
25784
Usually this means the macro was only invoked conditionally." >&5
25785
echo "$as_me: error: conditional \"BUILD_WXSMITH\" was never defined.
25786
Usually this means the macro was only invoked conditionally." >&2;}
25787
{ (exit 1); exit 1; }; }
25789
if test -z "${BUILD_AUTOVERSIONING_TRUE}" && test -z "${BUILD_AUTOVERSIONING_FALSE}"; then
25790
{ { echo "$as_me:$LINENO: error: conditional \"BUILD_AUTOVERSIONING\" was never defined.
25791
Usually this means the macro was only invoked conditionally." >&5
25792
echo "$as_me: error: conditional \"BUILD_AUTOVERSIONING\" was never defined.
25793
Usually this means the macro was only invoked conditionally." >&2;}
25794
{ (exit 1); exit 1; }; }
25796
if test -z "${BUILD_BROWSETRACKER_TRUE}" && test -z "${BUILD_BROWSETRACKER_FALSE}"; then
25797
{ { echo "$as_me:$LINENO: error: conditional \"BUILD_BROWSETRACKER\" was never defined.
25798
Usually this means the macro was only invoked conditionally." >&5
25799
echo "$as_me: error: conditional \"BUILD_BROWSETRACKER\" was never defined.
25800
Usually this means the macro was only invoked conditionally." >&2;}
25801
{ (exit 1); exit 1; }; }
25803
if test -z "${BUILD_BYOGAMES_TRUE}" && test -z "${BUILD_BYOGAMES_FALSE}"; then
25804
{ { echo "$as_me:$LINENO: error: conditional \"BUILD_BYOGAMES\" was never defined.
25805
Usually this means the macro was only invoked conditionally." >&5
25806
echo "$as_me: error: conditional \"BUILD_BYOGAMES\" was never defined.
25807
Usually this means the macro was only invoked conditionally." >&2;}
25808
{ (exit 1); exit 1; }; }
25810
if test -z "${BUILD_CBKODERS_TRUE}" && test -z "${BUILD_CBKODERS_FALSE}"; then
25811
{ { echo "$as_me:$LINENO: error: conditional \"BUILD_CBKODERS\" was never defined.
25812
Usually this means the macro was only invoked conditionally." >&5
25813
echo "$as_me: error: conditional \"BUILD_CBKODERS\" was never defined.
25814
Usually this means the macro was only invoked conditionally." >&2;}
25815
{ (exit 1); exit 1; }; }
25817
if test -z "${BUILD_CODESNIPPETS_TRUE}" && test -z "${BUILD_CODESNIPPETS_FALSE}"; then
25818
{ { echo "$as_me:$LINENO: error: conditional \"BUILD_CODESNIPPETS\" was never defined.
25819
Usually this means the macro was only invoked conditionally." >&5
25820
echo "$as_me: error: conditional \"BUILD_CODESNIPPETS\" was never defined.
25821
Usually this means the macro was only invoked conditionally." >&2;}
25822
{ (exit 1); exit 1; }; }
25824
if test -z "${BUILD_CODESTAT_TRUE}" && test -z "${BUILD_CODESTAT_FALSE}"; then
25825
{ { echo "$as_me:$LINENO: error: conditional \"BUILD_CODESTAT\" was never defined.
25826
Usually this means the macro was only invoked conditionally." >&5
25827
echo "$as_me: error: conditional \"BUILD_CODESTAT\" was never defined.
25828
Usually this means the macro was only invoked conditionally." >&2;}
25829
{ (exit 1); exit 1; }; }
25831
if test -z "${BUILD_DRAGSCROLL_TRUE}" && test -z "${BUILD_DRAGSCROLL_FALSE}"; then
25832
{ { echo "$as_me:$LINENO: error: conditional \"BUILD_DRAGSCROLL\" was never defined.
25833
Usually this means the macro was only invoked conditionally." >&5
25834
echo "$as_me: error: conditional \"BUILD_DRAGSCROLL\" was never defined.
25835
Usually this means the macro was only invoked conditionally." >&2;}
25836
{ (exit 1); exit 1; }; }
25838
if test -z "${BUILD_ENVVARS_TRUE}" && test -z "${BUILD_ENVVARS_FALSE}"; then
25839
{ { echo "$as_me:$LINENO: error: conditional \"BUILD_ENVVARS\" was never defined.
25840
Usually this means the macro was only invoked conditionally." >&5
25841
echo "$as_me: error: conditional \"BUILD_ENVVARS\" was never defined.
25842
Usually this means the macro was only invoked conditionally." >&2;}
25843
{ (exit 1); exit 1; }; }
25845
if test -z "${BUILD_HELP_TRUE}" && test -z "${BUILD_HELP_FALSE}"; then
25846
{ { echo "$as_me:$LINENO: error: conditional \"BUILD_HELP\" was never defined.
25847
Usually this means the macro was only invoked conditionally." >&5
25848
echo "$as_me: error: conditional \"BUILD_HELP\" was never defined.
25849
Usually this means the macro was only invoked conditionally." >&2;}
25850
{ (exit 1); exit 1; }; }
25852
if test -z "${BUILD_KEYBINDER_TRUE}" && test -z "${BUILD_KEYBINDER_FALSE}"; then
25853
{ { echo "$as_me:$LINENO: error: conditional \"BUILD_KEYBINDER\" was never defined.
25854
Usually this means the macro was only invoked conditionally." >&5
25855
echo "$as_me: error: conditional \"BUILD_KEYBINDER\" was never defined.
25856
Usually this means the macro was only invoked conditionally." >&2;}
25857
{ (exit 1); exit 1; }; }
25859
if test -z "${BUILD_LIBFINDER_TRUE}" && test -z "${BUILD_LIBFINDER_FALSE}"; then
25860
{ { echo "$as_me:$LINENO: error: conditional \"BUILD_LIBFINDER\" was never defined.
25861
Usually this means the macro was only invoked conditionally." >&5
25862
echo "$as_me: error: conditional \"BUILD_LIBFINDER\" was never defined.
25863
Usually this means the macro was only invoked conditionally." >&2;}
25864
{ (exit 1); exit 1; }; }
25866
if test -z "${BUILD_PROFILER_TRUE}" && test -z "${BUILD_PROFILER_FALSE}"; then
25867
{ { echo "$as_me:$LINENO: error: conditional \"BUILD_PROFILER\" was never defined.
25868
Usually this means the macro was only invoked conditionally." >&5
25869
echo "$as_me: error: conditional \"BUILD_PROFILER\" was never defined.
25870
Usually this means the macro was only invoked conditionally." >&2;}
25871
{ (exit 1); exit 1; }; }
25873
if test -z "${BUILD_REGEX_TRUE}" && test -z "${BUILD_REGEX_FALSE}"; then
25874
{ { echo "$as_me:$LINENO: error: conditional \"BUILD_REGEX\" was never defined.
25875
Usually this means the macro was only invoked conditionally." >&5
25876
echo "$as_me: error: conditional \"BUILD_REGEX\" was never defined.
25877
Usually this means the macro was only invoked conditionally." >&2;}
25878
{ (exit 1); exit 1; }; }
25880
if test -z "${BUILD_EXPORTER_TRUE}" && test -z "${BUILD_EXPORTER_FALSE}"; then
25881
{ { echo "$as_me:$LINENO: error: conditional \"BUILD_EXPORTER\" was never defined.
25882
Usually this means the macro was only invoked conditionally." >&5
25883
echo "$as_me: error: conditional \"BUILD_EXPORTER\" was never defined.
25884
Usually this means the macro was only invoked conditionally." >&2;}
25885
{ (exit 1); exit 1; }; }
25887
if test -z "${BUILD_SYMTAB_TRUE}" && test -z "${BUILD_SYMTAB_FALSE}"; then
25888
{ { echo "$as_me:$LINENO: error: conditional \"BUILD_SYMTAB\" was never defined.
25889
Usually this means the macro was only invoked conditionally." >&5
25890
echo "$as_me: error: conditional \"BUILD_SYMTAB\" was never defined.
25891
Usually this means the macro was only invoked conditionally." >&2;}
25892
{ (exit 1); exit 1; }; }
25894
if test -z "${BUILD_THREADSEARCH_TRUE}" && test -z "${BUILD_THREADSEARCH_FALSE}"; then
25895
{ { echo "$as_me:$LINENO: error: conditional \"BUILD_THREADSEARCH\" was never defined.
25896
Usually this means the macro was only invoked conditionally." >&5
25897
echo "$as_me: error: conditional \"BUILD_THREADSEARCH\" was never defined.
25898
Usually this means the macro was only invoked conditionally." >&2;}
25899
{ (exit 1); exit 1; }; }
25901
if test -z "${BUILD_WXSMITH_TRUE}" && test -z "${BUILD_WXSMITH_FALSE}"; then
25902
{ { echo "$as_me:$LINENO: error: conditional \"BUILD_WXSMITH\" was never defined.
25903
Usually this means the macro was only invoked conditionally." >&5
25904
echo "$as_me: error: conditional \"BUILD_WXSMITH\" was never defined.
25905
Usually this means the macro was only invoked conditionally." >&2;}
25906
{ (exit 1); exit 1; }; }
25908
if test -z "${PRECOMPILE_HEADERS_TRUE}" && test -z "${PRECOMPILE_HEADERS_FALSE}"; then
25909
{ { echo "$as_me:$LINENO: error: conditional \"PRECOMPILE_HEADERS\" was never defined.
25910
Usually this means the macro was only invoked conditionally." >&5
25911
echo "$as_me: error: conditional \"PRECOMPILE_HEADERS\" was never defined.
25912
Usually this means the macro was only invoked conditionally." >&2;}
25913
{ (exit 1); exit 1; }; }
25915
if test -z "${PRECOMPILE_HEADERS_TRUE}" && test -z "${PRECOMPILE_HEADERS_FALSE}"; then
25916
{ { echo "$as_me:$LINENO: error: conditional \"PRECOMPILE_HEADERS\" was never defined.
25917
Usually this means the macro was only invoked conditionally." >&5
25918
echo "$as_me: error: conditional \"PRECOMPILE_HEADERS\" was never defined.
25919
Usually this means the macro was only invoked conditionally." >&2;}
25920
{ (exit 1); exit 1; }; }
25922
if test -z "${LINUX_TRUE}" && test -z "${LINUX_FALSE}"; then
25923
{ { echo "$as_me:$LINENO: error: conditional \"LINUX\" was never defined.
25924
Usually this means the macro was only invoked conditionally." >&5
25925
echo "$as_me: error: conditional \"LINUX\" was never defined.
25926
Usually this means the macro was only invoked conditionally." >&2;}
25927
{ (exit 1); exit 1; }; }
25929
if test -z "${DARWIN_TRUE}" && test -z "${DARWIN_FALSE}"; then
25930
{ { echo "$as_me:$LINENO: error: conditional \"DARWIN\" was never defined.
25931
Usually this means the macro was only invoked conditionally." >&5
25932
echo "$as_me: error: conditional \"DARWIN\" was never defined.
25933
Usually this means the macro was only invoked conditionally." >&2;}
25934
{ (exit 1); exit 1; }; }
25937
: ${CONFIG_STATUS=./config.status}
25938
ac_clean_files_save=$ac_clean_files
25939
ac_clean_files="$ac_clean_files $CONFIG_STATUS"
25940
{ echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
25941
echo "$as_me: creating $CONFIG_STATUS" >&6;}
25942
cat >$CONFIG_STATUS <<_ACEOF
25944
# Generated by $as_me.
25945
# Run this file to recreate the current configuration.
25946
# Compiler output produced by configure, useful for debugging
25947
# configure, is in config.log if it exists.
25950
ac_cs_recheck=false
25952
SHELL=\${CONFIG_SHELL-$SHELL}
25955
cat >>$CONFIG_STATUS <<\_ACEOF
25956
## --------------------- ##
25957
## M4sh Initialization. ##
25958
## --------------------- ##
25960
# Be more Bourne compatible
25961
DUALCASE=1; export DUALCASE # for MKS sh
25962
if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
25965
# Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
25966
# is contrary to our usage. Disable this feature.
25967
alias -g '${1+"$@"}'='"$@"'
25968
setopt NO_GLOB_SUBST
25970
case `(set -o) 2>/dev/null` in
25971
*posix*) set -o posix ;;
25980
# Avoid depending upon Character Ranges.
25981
as_cr_letters='abcdefghijklmnopqrstuvwxyz'
25982
as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
25983
as_cr_Letters=$as_cr_letters$as_cr_LETTERS
25984
as_cr_digits='0123456789'
25985
as_cr_alnum=$as_cr_Letters$as_cr_digits
25987
# The user is always right.
25988
if test "${PATH_SEPARATOR+set}" != set; then
25989
echo "#! /bin/sh" >conf$$.sh
25990
echo "exit 0" >>conf$$.sh
25992
if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
26000
# Support unset when possible.
26001
if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
26009
# We need space, tab and new line, in precisely that order. Quoting is
26010
# there to prevent editors from complaining about space-tab.
26011
# (If _AS_PATH_WALK were called with IFS unset, it would disable word
26012
# splitting by setting IFS to empty value.)
26017
# Find who we are. Look in the path if we contain no directory separator.
26019
*[\\/]* ) as_myself=$0 ;;
26020
*) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
26021
for as_dir in $PATH
26024
test -z "$as_dir" && as_dir=.
26025
test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
26031
# We did not find ourselves, most probably we were run as `sh COMMAND'
26032
# in which case we are not to be found in the path.
26033
if test "x$as_myself" = x; then
26036
if test ! -f "$as_myself"; then
26037
echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
26038
{ (exit 1); exit 1; }
26041
# Work around bugs in pre-3.0 UWIN ksh.
26042
for as_var in ENV MAIL MAILPATH
26043
do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
26051
LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
26052
LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
26053
LC_TELEPHONE LC_TIME
26055
if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
26056
eval $as_var=C; export $as_var
26058
($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
26062
# Required to use basename.
26063
if expr a : '\(a\)' >/dev/null 2>&1 &&
26064
test "X`expr 00001 : '.*\(...\)'`" = X001; then
26070
if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
26071
as_basename=basename
26077
# Name of the executable.
26078
as_me=`$as_basename -- "$0" ||
26079
$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
26080
X"$0" : 'X\(//\)$' \| \
26081
X"$0" : 'X\(/\)' \| . 2>/dev/null ||
26083
sed '/^.*\/\([^/][^/]*\)\/*$/{
26102
as_lineno_1=$LINENO
26103
as_lineno_2=$LINENO
26104
test "x$as_lineno_1" != "x$as_lineno_2" &&
26105
test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" || {
26107
# Create $as_me.lineno as a copy of $as_myself, but with $LINENO
26108
# uniformly replaced by the line number. The first 'sed' inserts a
26109
# line-number line after each line using $LINENO; the second 'sed'
26110
# does the real work. The second script uses 'N' to pair each
26111
# line-number line with the line containing $LINENO, and appends
26112
# trailing '-' during substitution so that $LINENO is not a special
26113
# case at line end.
26114
# (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
26115
# scripts with optimization help from Paolo Bonzini. Blame Lee
26116
# E. McMahon (1931-1989) for sed's syntax. :-)
26128
s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
26131
' >$as_me.lineno &&
26132
chmod +x "$as_me.lineno" ||
26133
{ echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
26134
{ (exit 1); exit 1; }; }
26136
# Don't try to exec as it changes $[0], causing all sort of problems
26137
# (the dirname of $[0] is not the place where we might find the
26138
# original and so on. Autoconf is especially sensitive to this).
26139
. "./$as_me.lineno"
26140
# Exit status is that of the last command.
26145
if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
26151
ECHO_C= ECHO_N= ECHO_T=
26152
case `echo -n x` in
26154
case `echo 'x\c'` in
26155
*c*) ECHO_T=' ';; # ECHO_T is single tab character.
26162
if expr a : '\(a\)' >/dev/null 2>&1 &&
26163
test "X`expr 00001 : '.*\(...\)'`" = X001; then
26169
rm -f conf$$ conf$$.exe conf$$.file
26170
if test -d conf$$.dir; then
26171
rm -f conf$$.dir/conf$$.file
26177
if ln -s conf$$.file conf$$ 2>/dev/null; then
26179
# ... but there are two gotchas:
26180
# 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
26181
# 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
26182
# In both cases, we have to default to `cp -p'.
26183
ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
26185
elif ln conf$$.file conf$$ 2>/dev/null; then
26190
rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
26191
rmdir conf$$.dir 2>/dev/null
26193
if mkdir -p . 2>/dev/null; then
26196
test -d ./-p && rmdir ./-p
26200
if test -x / >/dev/null 2>&1; then
26201
as_test_x='test -x'
26203
if ls -dL / >/dev/null 2>&1; then
26210
if test -d "$1"; then
26216
case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in
26217
???[sx]*):;;*)false;;esac;fi
26221
as_executable_p=$as_test_x
26223
# Sed expression to map a string onto a valid CPP name.
26224
as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
26226
# Sed expression to map a string onto a valid variable name.
26227
as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
26232
# Save the log message, to keep $[0] and so on meaningful, and to
26233
# report actual input values of CONFIG_FILES etc. instead of their
26234
# values after options handling.
26236
This file was extended by codeblocks $as_me 1.0svn, which was
26237
generated by GNU Autoconf 2.61. Invocation command line was
26239
CONFIG_FILES = $CONFIG_FILES
26240
CONFIG_HEADERS = $CONFIG_HEADERS
26241
CONFIG_LINKS = $CONFIG_LINKS
26242
CONFIG_COMMANDS = $CONFIG_COMMANDS
26245
on `(hostname || uname -n) 2>/dev/null | sed 1q`
26250
cat >>$CONFIG_STATUS <<_ACEOF
26251
# Files that config.status was made for.
26252
config_files="$ac_config_files"
26253
config_headers="$ac_config_headers"
26254
config_commands="$ac_config_commands"
26258
cat >>$CONFIG_STATUS <<\_ACEOF
26260
\`$as_me' instantiates files from templates according to the
26261
current configuration.
26263
Usage: $0 [OPTIONS] [FILE]...
26265
-h, --help print this help, then exit
26266
-V, --version print version number and configuration settings, then exit
26267
-q, --quiet do not print progress messages
26268
-d, --debug don't remove temporary files
26269
--recheck update $as_me by reconfiguring in the same conditions
26270
--file=FILE[:TEMPLATE]
26271
instantiate the configuration file FILE
26272
--header=FILE[:TEMPLATE]
26273
instantiate the configuration header FILE
26275
Configuration files:
26278
Configuration headers:
26281
Configuration commands:
26284
Report bugs to <bug-autoconf@gnu.org>."
26287
cat >>$CONFIG_STATUS <<_ACEOF
26289
codeblocks config.status 1.0svn
26290
configured by $0, generated by GNU Autoconf 2.61,
26291
with options \\"`echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`\\"
26293
Copyright (C) 2006 Free Software Foundation, Inc.
26294
This config.status script is free software; the Free Software Foundation
26295
gives unlimited permission to copy, distribute and modify it."
26303
cat >>$CONFIG_STATUS <<\_ACEOF
26304
# If no file are specified by the user, then we need to provide default
26305
# value. By we need to know if files were specified by the user.
26311
ac_option=`expr "X$1" : 'X\([^=]*\)='`
26312
ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
26323
# Handling of the options.
26324
-recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
26326
--version | --versio | --versi | --vers | --ver | --ve | --v | -V )
26327
echo "$ac_cs_version"; exit ;;
26328
--debug | --debu | --deb | --de | --d | -d )
26330
--file | --fil | --fi | --f )
26332
CONFIG_FILES="$CONFIG_FILES $ac_optarg"
26333
ac_need_defaults=false;;
26334
--header | --heade | --head | --hea )
26336
CONFIG_HEADERS="$CONFIG_HEADERS $ac_optarg"
26337
ac_need_defaults=false;;
26339
# Conflict between --help and --header
26340
{ echo "$as_me: error: ambiguous option: $1
26341
Try \`$0 --help' for more information." >&2
26342
{ (exit 1); exit 1; }; };;
26343
--help | --hel | -h )
26344
echo "$ac_cs_usage"; exit ;;
26345
-q | -quiet | --quiet | --quie | --qui | --qu | --q \
26346
| -silent | --silent | --silen | --sile | --sil | --si | --s)
26349
# This is an error.
26350
-*) { echo "$as_me: error: unrecognized option: $1
26351
Try \`$0 --help' for more information." >&2
26352
{ (exit 1); exit 1; }; } ;;
26354
*) ac_config_targets="$ac_config_targets $1"
26355
ac_need_defaults=false ;;
26361
ac_configure_extra_args=
26363
if $ac_cs_silent; then
26365
ac_configure_extra_args="$ac_configure_extra_args --silent"
26369
cat >>$CONFIG_STATUS <<_ACEOF
26370
if \$ac_cs_recheck; then
26371
echo "running CONFIG_SHELL=$SHELL $SHELL $0 "$ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6
26372
CONFIG_SHELL=$SHELL
26373
export CONFIG_SHELL
26374
exec $SHELL "$0"$ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
26378
cat >>$CONFIG_STATUS <<\_ACEOF
26382
sed 'h;s/./-/g;s/^.../@%:@@%:@ /;s/...$/ @%:@@%:@/;p;x;p;x' <<_ASBOX
26383
@%:@@%:@ Running $as_me. @%:@@%:@
26389
cat >>$CONFIG_STATUS <<_ACEOF
26393
AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
26397
cat >>$CONFIG_STATUS <<\_ACEOF
26399
# Handling of arguments.
26400
for ac_config_target in $ac_config_targets
26402
case $ac_config_target in
26403
"src/include/config.h") CONFIG_HEADERS="$CONFIG_HEADERS src/include/config.h" ;;
26404
"depfiles") CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;;
26405
"Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
26406
"src/Makefile") CONFIG_FILES="$CONFIG_FILES src/Makefile" ;;
26407
"src/base/Makefile") CONFIG_FILES="$CONFIG_FILES src/base/Makefile" ;;
26408
"src/base/tinyxml/Makefile") CONFIG_FILES="$CONFIG_FILES src/base/tinyxml/Makefile" ;;
26409
"src/build_tools/Makefile") CONFIG_FILES="$CONFIG_FILES src/build_tools/Makefile" ;;
26410
"src/build_tools/autorevision/Makefile") CONFIG_FILES="$CONFIG_FILES src/build_tools/autorevision/Makefile" ;;
26411
"src/include/autorevision.h") CONFIG_FILES="$CONFIG_FILES src/include/autorevision.h" ;;
26412
"src/include/Makefile") CONFIG_FILES="$CONFIG_FILES src/include/Makefile" ;;
26413
"src/include/scripting/Makefile") CONFIG_FILES="$CONFIG_FILES src/include/scripting/Makefile" ;;
26414
"src/include/scripting/bindings/Makefile") CONFIG_FILES="$CONFIG_FILES src/include/scripting/bindings/Makefile" ;;
26415
"src/include/scripting/include/Makefile") CONFIG_FILES="$CONFIG_FILES src/include/scripting/include/Makefile" ;;
26416
"src/include/scripting/sqplus/Makefile") CONFIG_FILES="$CONFIG_FILES src/include/scripting/sqplus/Makefile" ;;
26417
"src/include/scripting/sqstdlib/Makefile") CONFIG_FILES="$CONFIG_FILES src/include/scripting/sqstdlib/Makefile" ;;
26418
"src/include/scripting/squirrel/Makefile") CONFIG_FILES="$CONFIG_FILES src/include/scripting/squirrel/Makefile" ;;
26419
"src/include/tinyxml/Makefile") CONFIG_FILES="$CONFIG_FILES src/include/tinyxml/Makefile" ;;
26420
"src/include/wxFlatNotebook/Makefile") CONFIG_FILES="$CONFIG_FILES src/include/wxFlatNotebook/Makefile" ;;
26421
"src/include/wxscintilla/Makefile") CONFIG_FILES="$CONFIG_FILES src/include/wxscintilla/Makefile" ;;
26422
"src/sdk/Makefile") CONFIG_FILES="$CONFIG_FILES src/sdk/Makefile" ;;
26423
"src/sdk/scripting/Makefile") CONFIG_FILES="$CONFIG_FILES src/sdk/scripting/Makefile" ;;
26424
"src/sdk/scripting/bindings/Makefile") CONFIG_FILES="$CONFIG_FILES src/sdk/scripting/bindings/Makefile" ;;
26425
"src/sdk/scripting/squirrel/Makefile") CONFIG_FILES="$CONFIG_FILES src/sdk/scripting/squirrel/Makefile" ;;
26426
"src/sdk/scripting/sqstdlib/Makefile") CONFIG_FILES="$CONFIG_FILES src/sdk/scripting/sqstdlib/Makefile" ;;
26427
"src/sdk/scripting/sqplus/Makefile") CONFIG_FILES="$CONFIG_FILES src/sdk/scripting/sqplus/Makefile" ;;
26428
"src/sdk/wxscintilla/Makefile") CONFIG_FILES="$CONFIG_FILES src/sdk/wxscintilla/Makefile" ;;
26429
"src/sdk/wxFlatNotebook/Makefile") CONFIG_FILES="$CONFIG_FILES src/sdk/wxFlatNotebook/Makefile" ;;
26430
"src/sdk/resources/Makefile") CONFIG_FILES="$CONFIG_FILES src/sdk/resources/Makefile" ;;
26431
"src/sdk/resources/lexers/Makefile") CONFIG_FILES="$CONFIG_FILES src/sdk/resources/lexers/Makefile" ;;
26432
"src/src/wxAUI/Makefile") CONFIG_FILES="$CONFIG_FILES src/src/wxAUI/Makefile" ;;
26433
"src/src/resources/Makefile") CONFIG_FILES="$CONFIG_FILES src/src/resources/Makefile" ;;
26434
"src/src/resources/icons/Makefile") CONFIG_FILES="$CONFIG_FILES src/src/resources/icons/Makefile" ;;
26435
"src/src/resources/images/Makefile") CONFIG_FILES="$CONFIG_FILES src/src/resources/images/Makefile" ;;
26436
"src/src/resources/images/16x16/Makefile") CONFIG_FILES="$CONFIG_FILES src/src/resources/images/16x16/Makefile" ;;
26437
"src/src/resources/images/settings/Makefile") CONFIG_FILES="$CONFIG_FILES src/src/resources/images/settings/Makefile" ;;
26438
"src/src/Makefile") CONFIG_FILES="$CONFIG_FILES src/src/Makefile" ;;
26439
"src/plugins/Makefile") CONFIG_FILES="$CONFIG_FILES src/plugins/Makefile" ;;
26440
"src/plugins/astyle/Makefile") CONFIG_FILES="$CONFIG_FILES src/plugins/astyle/Makefile" ;;
26441
"src/plugins/astyle/resources/Makefile") CONFIG_FILES="$CONFIG_FILES src/plugins/astyle/resources/Makefile" ;;
26442
"src/plugins/autosave/Makefile") CONFIG_FILES="$CONFIG_FILES src/plugins/autosave/Makefile" ;;
26443
"src/plugins/classwizard/Makefile") CONFIG_FILES="$CONFIG_FILES src/plugins/classwizard/Makefile" ;;
26444
"src/plugins/classwizard/resources/Makefile") CONFIG_FILES="$CONFIG_FILES src/plugins/classwizard/resources/Makefile" ;;
26445
"src/plugins/codecompletion/Makefile") CONFIG_FILES="$CONFIG_FILES src/plugins/codecompletion/Makefile" ;;
26446
"src/plugins/codecompletion/resources/Makefile") CONFIG_FILES="$CONFIG_FILES src/plugins/codecompletion/resources/Makefile" ;;
26447
"src/plugins/compilergcc/Makefile") CONFIG_FILES="$CONFIG_FILES src/plugins/compilergcc/Makefile" ;;
26448
"src/plugins/compilergcc/depslib/Makefile") CONFIG_FILES="$CONFIG_FILES src/plugins/compilergcc/depslib/Makefile" ;;
26449
"src/plugins/compilergcc/depslib/src/Makefile") CONFIG_FILES="$CONFIG_FILES src/plugins/compilergcc/depslib/src/Makefile" ;;
26450
"src/plugins/compilergcc/resources/Makefile") CONFIG_FILES="$CONFIG_FILES src/plugins/compilergcc/resources/Makefile" ;;
26451
"src/plugins/debuggergdb/Makefile") CONFIG_FILES="$CONFIG_FILES src/plugins/debuggergdb/Makefile" ;;
26452
"src/plugins/debuggergdb/resources/Makefile") CONFIG_FILES="$CONFIG_FILES src/plugins/debuggergdb/resources/Makefile" ;;
26453
"src/plugins/debuggergdb/resources/images/Makefile") CONFIG_FILES="$CONFIG_FILES src/plugins/debuggergdb/resources/images/Makefile" ;;
26454
"src/plugins/debuggergdb/resources/images/16x16/Makefile") CONFIG_FILES="$CONFIG_FILES src/plugins/debuggergdb/resources/images/16x16/Makefile" ;;
26455
"src/plugins/defaultmimehandler/Makefile") CONFIG_FILES="$CONFIG_FILES src/plugins/defaultmimehandler/Makefile" ;;
26456
"src/plugins/defaultmimehandler/resources/Makefile") CONFIG_FILES="$CONFIG_FILES src/plugins/defaultmimehandler/resources/Makefile" ;;
26457
"src/plugins/openfileslist/Makefile") CONFIG_FILES="$CONFIG_FILES src/plugins/openfileslist/Makefile" ;;
26458
"src/plugins/projectsimporter/Makefile") CONFIG_FILES="$CONFIG_FILES src/plugins/projectsimporter/Makefile" ;;
26459
"src/plugins/projectsimporter/resources/Makefile") CONFIG_FILES="$CONFIG_FILES src/plugins/projectsimporter/resources/Makefile" ;;
26460
"src/plugins/scriptedwizard/Makefile") CONFIG_FILES="$CONFIG_FILES src/plugins/scriptedwizard/Makefile" ;;
26461
"src/plugins/scriptedwizard/resources/Makefile") CONFIG_FILES="$CONFIG_FILES src/plugins/scriptedwizard/resources/Makefile" ;;
26462
"src/plugins/scriptedwizard/resources/avr/Makefile") CONFIG_FILES="$CONFIG_FILES src/plugins/scriptedwizard/resources/avr/Makefile" ;;
26463
"src/plugins/scriptedwizard/resources/avr/files/Makefile") CONFIG_FILES="$CONFIG_FILES src/plugins/scriptedwizard/resources/avr/files/Makefile" ;;
26464
"src/plugins/scriptedwizard/resources/c_file/Makefile") CONFIG_FILES="$CONFIG_FILES src/plugins/scriptedwizard/resources/c_file/Makefile" ;;
26465
"src/plugins/scriptedwizard/resources/console/Makefile") CONFIG_FILES="$CONFIG_FILES src/plugins/scriptedwizard/resources/console/Makefile" ;;
26466
"src/plugins/scriptedwizard/resources/console/c/Makefile") CONFIG_FILES="$CONFIG_FILES src/plugins/scriptedwizard/resources/console/c/Makefile" ;;
26467
"src/plugins/scriptedwizard/resources/console/cpp/Makefile") CONFIG_FILES="$CONFIG_FILES src/plugins/scriptedwizard/resources/console/cpp/Makefile" ;;
26468
"src/plugins/scriptedwizard/resources/d/Makefile") CONFIG_FILES="$CONFIG_FILES src/plugins/scriptedwizard/resources/d/Makefile" ;;
26469
"src/plugins/scriptedwizard/resources/d/console/Makefile") CONFIG_FILES="$CONFIG_FILES src/plugins/scriptedwizard/resources/d/console/Makefile" ;;
26470
"src/plugins/scriptedwizard/resources/directx/Makefile") CONFIG_FILES="$CONFIG_FILES src/plugins/scriptedwizard/resources/directx/Makefile" ;;
26471
"src/plugins/scriptedwizard/resources/directx/files/Makefile") CONFIG_FILES="$CONFIG_FILES src/plugins/scriptedwizard/resources/directx/files/Makefile" ;;
26472
"src/plugins/scriptedwizard/resources/dll/Makefile") CONFIG_FILES="$CONFIG_FILES src/plugins/scriptedwizard/resources/dll/Makefile" ;;
26473
"src/plugins/scriptedwizard/resources/dll/files/Makefile") CONFIG_FILES="$CONFIG_FILES src/plugins/scriptedwizard/resources/dll/files/Makefile" ;;
26474
"src/plugins/scriptedwizard/resources/empty/Makefile") CONFIG_FILES="$CONFIG_FILES src/plugins/scriptedwizard/resources/empty/Makefile" ;;
26475
"src/plugins/scriptedwizard/resources/empty_file/Makefile") CONFIG_FILES="$CONFIG_FILES src/plugins/scriptedwizard/resources/empty_file/Makefile" ;;
26476
"src/plugins/scriptedwizard/resources/fltk/Makefile") CONFIG_FILES="$CONFIG_FILES src/plugins/scriptedwizard/resources/fltk/Makefile" ;;
26477
"src/plugins/scriptedwizard/resources/fltk/files/Makefile") CONFIG_FILES="$CONFIG_FILES src/plugins/scriptedwizard/resources/fltk/files/Makefile" ;;
26478
"src/plugins/scriptedwizard/resources/fltk/fluid/Makefile") CONFIG_FILES="$CONFIG_FILES src/plugins/scriptedwizard/resources/fltk/fluid/Makefile" ;;
26479
"src/plugins/scriptedwizard/resources/glfw/Makefile") CONFIG_FILES="$CONFIG_FILES src/plugins/scriptedwizard/resources/glfw/Makefile" ;;
26480
"src/plugins/scriptedwizard/resources/glfw/files/Makefile") CONFIG_FILES="$CONFIG_FILES src/plugins/scriptedwizard/resources/glfw/files/Makefile" ;;
26481
"src/plugins/scriptedwizard/resources/glut/Makefile") CONFIG_FILES="$CONFIG_FILES src/plugins/scriptedwizard/resources/glut/Makefile" ;;
26482
"src/plugins/scriptedwizard/resources/glut/files/Makefile") CONFIG_FILES="$CONFIG_FILES src/plugins/scriptedwizard/resources/glut/files/Makefile" ;;
26483
"src/plugins/scriptedwizard/resources/gtk/Makefile") CONFIG_FILES="$CONFIG_FILES src/plugins/scriptedwizard/resources/gtk/Makefile" ;;
26484
"src/plugins/scriptedwizard/resources/gtk/files/Makefile") CONFIG_FILES="$CONFIG_FILES src/plugins/scriptedwizard/resources/gtk/files/Makefile" ;;
26485
"src/plugins/scriptedwizard/resources/h_file/Makefile") CONFIG_FILES="$CONFIG_FILES src/plugins/scriptedwizard/resources/h_file/Makefile" ;;
26486
"src/plugins/scriptedwizard/resources/irrlicht/Makefile") CONFIG_FILES="$CONFIG_FILES src/plugins/scriptedwizard/resources/irrlicht/Makefile" ;;
26487
"src/plugins/scriptedwizard/resources/irrlicht/files/Makefile") CONFIG_FILES="$CONFIG_FILES src/plugins/scriptedwizard/resources/irrlicht/files/Makefile" ;;
26488
"src/plugins/scriptedwizard/resources/lf/Makefile") CONFIG_FILES="$CONFIG_FILES src/plugins/scriptedwizard/resources/lf/Makefile" ;;
26489
"src/plugins/scriptedwizard/resources/lf/files/Makefile") CONFIG_FILES="$CONFIG_FILES src/plugins/scriptedwizard/resources/lf/files/Makefile" ;;
26490
"src/plugins/scriptedwizard/resources/lf/files/quick/Makefile") CONFIG_FILES="$CONFIG_FILES src/plugins/scriptedwizard/resources/lf/files/quick/Makefile" ;;
26491
"src/plugins/scriptedwizard/resources/lf/files/structured/Makefile") CONFIG_FILES="$CONFIG_FILES src/plugins/scriptedwizard/resources/lf/files/structured/Makefile" ;;
26492
"src/plugins/scriptedwizard/resources/ogre/Makefile") CONFIG_FILES="$CONFIG_FILES src/plugins/scriptedwizard/resources/ogre/Makefile" ;;
26493
"src/plugins/scriptedwizard/resources/ogre/files/Makefile") CONFIG_FILES="$CONFIG_FILES src/plugins/scriptedwizard/resources/ogre/files/Makefile" ;;
26494
"src/plugins/scriptedwizard/resources/opengl/Makefile") CONFIG_FILES="$CONFIG_FILES src/plugins/scriptedwizard/resources/opengl/Makefile" ;;
26495
"src/plugins/scriptedwizard/resources/opengl/files_unix/Makefile") CONFIG_FILES="$CONFIG_FILES src/plugins/scriptedwizard/resources/opengl/files_unix/Makefile" ;;
26496
"src/plugins/scriptedwizard/resources/opengl/files_win/Makefile") CONFIG_FILES="$CONFIG_FILES src/plugins/scriptedwizard/resources/opengl/files_win/Makefile" ;;
26497
"src/plugins/scriptedwizard/resources/qt4/Makefile") CONFIG_FILES="$CONFIG_FILES src/plugins/scriptedwizard/resources/qt4/Makefile" ;;
26498
"src/plugins/scriptedwizard/resources/qt4/files/Makefile") CONFIG_FILES="$CONFIG_FILES src/plugins/scriptedwizard/resources/qt4/files/Makefile" ;;
26499
"src/plugins/scriptedwizard/resources/sdl/Makefile") CONFIG_FILES="$CONFIG_FILES src/plugins/scriptedwizard/resources/sdl/Makefile" ;;
26500
"src/plugins/scriptedwizard/resources/sdl/files/Makefile") CONFIG_FILES="$CONFIG_FILES src/plugins/scriptedwizard/resources/sdl/files/Makefile" ;;
26501
"src/plugins/scriptedwizard/resources/plugins/Makefile") CONFIG_FILES="$CONFIG_FILES src/plugins/scriptedwizard/resources/plugins/Makefile" ;;
26502
"src/plugins/scriptedwizard/resources/plugins/templates/Makefile") CONFIG_FILES="$CONFIG_FILES src/plugins/scriptedwizard/resources/plugins/templates/Makefile" ;;
26503
"src/plugins/scriptedwizard/resources/smartwin/Makefile") CONFIG_FILES="$CONFIG_FILES src/plugins/scriptedwizard/resources/smartwin/Makefile" ;;
26504
"src/plugins/scriptedwizard/resources/smartwin/files/Makefile") CONFIG_FILES="$CONFIG_FILES src/plugins/scriptedwizard/resources/smartwin/files/Makefile" ;;
26505
"src/plugins/scriptedwizard/resources/staticlib/Makefile") CONFIG_FILES="$CONFIG_FILES src/plugins/scriptedwizard/resources/staticlib/Makefile" ;;
26506
"src/plugins/scriptedwizard/resources/staticlib/files/Makefile") CONFIG_FILES="$CONFIG_FILES src/plugins/scriptedwizard/resources/staticlib/files/Makefile" ;;
26507
"src/plugins/scriptedwizard/resources/sharedlib/Makefile") CONFIG_FILES="$CONFIG_FILES src/plugins/scriptedwizard/resources/sharedlib/Makefile" ;;
26508
"src/plugins/scriptedwizard/resources/sharedlib/files/Makefile") CONFIG_FILES="$CONFIG_FILES src/plugins/scriptedwizard/resources/sharedlib/files/Makefile" ;;
26509
"src/plugins/scriptedwizard/resources/sys/Makefile") CONFIG_FILES="$CONFIG_FILES src/plugins/scriptedwizard/resources/sys/Makefile" ;;
26510
"src/plugins/scriptedwizard/resources/sys/files/Makefile") CONFIG_FILES="$CONFIG_FILES src/plugins/scriptedwizard/resources/sys/files/Makefile" ;;
26511
"src/plugins/scriptedwizard/resources/win32gui/Makefile") CONFIG_FILES="$CONFIG_FILES src/plugins/scriptedwizard/resources/win32gui/Makefile" ;;
26512
"src/plugins/scriptedwizard/resources/win32gui/files/Makefile") CONFIG_FILES="$CONFIG_FILES src/plugins/scriptedwizard/resources/win32gui/files/Makefile" ;;
26513
"src/plugins/scriptedwizard/resources/win32gui/files/dialog/Makefile") CONFIG_FILES="$CONFIG_FILES src/plugins/scriptedwizard/resources/win32gui/files/dialog/Makefile" ;;
26514
"src/plugins/scriptedwizard/resources/win32gui/files/frame/Makefile") CONFIG_FILES="$CONFIG_FILES src/plugins/scriptedwizard/resources/win32gui/files/frame/Makefile" ;;
26515
"src/plugins/scriptedwizard/resources/wxwidgets/Makefile") CONFIG_FILES="$CONFIG_FILES src/plugins/scriptedwizard/resources/wxwidgets/Makefile" ;;
26516
"src/plugins/scriptedwizard/resources/wxwidgets/common/Makefile") CONFIG_FILES="$CONFIG_FILES src/plugins/scriptedwizard/resources/wxwidgets/common/Makefile" ;;
26517
"src/plugins/scriptedwizard/resources/wxwidgets/pch/Makefile") CONFIG_FILES="$CONFIG_FILES src/plugins/scriptedwizard/resources/wxwidgets/pch/Makefile" ;;
26518
"src/plugins/scriptedwizard/resources/wxwidgets/rc/Makefile") CONFIG_FILES="$CONFIG_FILES src/plugins/scriptedwizard/resources/wxwidgets/rc/Makefile" ;;
26519
"src/plugins/scriptedwizard/resources/wxwidgets/wxfb/Makefile") CONFIG_FILES="$CONFIG_FILES src/plugins/scriptedwizard/resources/wxwidgets/wxfb/Makefile" ;;
26520
"src/plugins/scriptedwizard/resources/wxwidgets/wxfb/dialog/Makefile") CONFIG_FILES="$CONFIG_FILES src/plugins/scriptedwizard/resources/wxwidgets/wxfb/dialog/Makefile" ;;
26521
"src/plugins/scriptedwizard/resources/wxwidgets/wxfb/frame/Makefile") CONFIG_FILES="$CONFIG_FILES src/plugins/scriptedwizard/resources/wxwidgets/wxfb/frame/Makefile" ;;
26522
"src/plugins/scriptedwizard/resources/wxwidgets/wxsmith/Makefile") CONFIG_FILES="$CONFIG_FILES src/plugins/scriptedwizard/resources/wxwidgets/wxsmith/Makefile" ;;
26523
"src/plugins/todo/Makefile") CONFIG_FILES="$CONFIG_FILES src/plugins/todo/Makefile" ;;
26524
"src/plugins/todo/resources/Makefile") CONFIG_FILES="$CONFIG_FILES src/plugins/todo/resources/Makefile" ;;
26525
"src/plugins/xpmanifest/Makefile") CONFIG_FILES="$CONFIG_FILES src/plugins/xpmanifest/Makefile" ;;
26526
"src/plugins/contrib/Makefile") CONFIG_FILES="$CONFIG_FILES src/plugins/contrib/Makefile" ;;
26527
"src/plugins/contrib/AutoVersioning/Makefile") CONFIG_FILES="$CONFIG_FILES src/plugins/contrib/AutoVersioning/Makefile" ;;
26528
"src/plugins/contrib/BrowseTracker/Makefile") CONFIG_FILES="$CONFIG_FILES src/plugins/contrib/BrowseTracker/Makefile" ;;
26529
"src/plugins/contrib/byogames/Makefile") CONFIG_FILES="$CONFIG_FILES src/plugins/contrib/byogames/Makefile" ;;
26530
"src/plugins/contrib/cb_koders/Makefile") CONFIG_FILES="$CONFIG_FILES src/plugins/contrib/cb_koders/Makefile" ;;
26531
"src/plugins/contrib/codesnippets/Makefile") CONFIG_FILES="$CONFIG_FILES src/plugins/contrib/codesnippets/Makefile" ;;
26532
"src/plugins/contrib/codesnippets/resources/Makefile") CONFIG_FILES="$CONFIG_FILES src/plugins/contrib/codesnippets/resources/Makefile" ;;
26533
"src/plugins/contrib/codestat/Makefile") CONFIG_FILES="$CONFIG_FILES src/plugins/contrib/codestat/Makefile" ;;
26534
"src/plugins/contrib/codestat/resources/Makefile") CONFIG_FILES="$CONFIG_FILES src/plugins/contrib/codestat/resources/Makefile" ;;
26535
"src/plugins/contrib/dragscroll/Makefile") CONFIG_FILES="$CONFIG_FILES src/plugins/contrib/dragscroll/Makefile" ;;
26536
"src/plugins/contrib/envvars/Makefile") CONFIG_FILES="$CONFIG_FILES src/plugins/contrib/envvars/Makefile" ;;
26537
"src/plugins/contrib/help_plugin/Makefile") CONFIG_FILES="$CONFIG_FILES src/plugins/contrib/help_plugin/Makefile" ;;
26538
"src/plugins/contrib/help_plugin/bzip2/Makefile") CONFIG_FILES="$CONFIG_FILES src/plugins/contrib/help_plugin/bzip2/Makefile" ;;
26539
"src/plugins/contrib/help_plugin/zlib/Makefile") CONFIG_FILES="$CONFIG_FILES src/plugins/contrib/help_plugin/zlib/Makefile" ;;
26540
"src/plugins/contrib/keybinder/Makefile") CONFIG_FILES="$CONFIG_FILES src/plugins/contrib/keybinder/Makefile" ;;
26541
"src/plugins/contrib/lib_finder/Makefile") CONFIG_FILES="$CONFIG_FILES src/plugins/contrib/lib_finder/Makefile" ;;
26542
"src/plugins/contrib/lib_finder/lib_finder/Makefile") CONFIG_FILES="$CONFIG_FILES src/plugins/contrib/lib_finder/lib_finder/Makefile" ;;
26543
"src/plugins/contrib/profiler/Makefile") CONFIG_FILES="$CONFIG_FILES src/plugins/contrib/profiler/Makefile" ;;
26544
"src/plugins/contrib/profiler/resources/Makefile") CONFIG_FILES="$CONFIG_FILES src/plugins/contrib/profiler/resources/Makefile" ;;
26545
"src/plugins/contrib/source_exporter/Makefile") CONFIG_FILES="$CONFIG_FILES src/plugins/contrib/source_exporter/Makefile" ;;
26546
"src/plugins/contrib/source_exporter/wxPdfDocument/Makefile") CONFIG_FILES="$CONFIG_FILES src/plugins/contrib/source_exporter/wxPdfDocument/Makefile" ;;
26547
"src/plugins/contrib/symtab/Makefile") CONFIG_FILES="$CONFIG_FILES src/plugins/contrib/symtab/Makefile" ;;
26548
"src/plugins/contrib/symtab/resources/Makefile") CONFIG_FILES="$CONFIG_FILES src/plugins/contrib/symtab/resources/Makefile" ;;
26549
"src/plugins/contrib/regex_testbed/Makefile") CONFIG_FILES="$CONFIG_FILES src/plugins/contrib/regex_testbed/Makefile" ;;
26550
"src/plugins/contrib/ThreadSearch/Makefile") CONFIG_FILES="$CONFIG_FILES src/plugins/contrib/ThreadSearch/Makefile" ;;
26551
"src/plugins/contrib/ThreadSearch/resources/Makefile") CONFIG_FILES="$CONFIG_FILES src/plugins/contrib/ThreadSearch/resources/Makefile" ;;
26552
"src/plugins/contrib/ThreadSearch/resources/images/Makefile") CONFIG_FILES="$CONFIG_FILES src/plugins/contrib/ThreadSearch/resources/images/Makefile" ;;
26553
"src/plugins/contrib/wxSmith/Makefile") CONFIG_FILES="$CONFIG_FILES src/plugins/contrib/wxSmith/Makefile" ;;
26554
"src/plugins/contrib/wxSmith/propgrid/Makefile") CONFIG_FILES="$CONFIG_FILES src/plugins/contrib/wxSmith/propgrid/Makefile" ;;
26555
"src/plugins/contrib/wxSmith/plugin/Makefile") CONFIG_FILES="$CONFIG_FILES src/plugins/contrib/wxSmith/plugin/Makefile" ;;
26556
"src/plugins/contrib/wxSmith/properties/Makefile") CONFIG_FILES="$CONFIG_FILES src/plugins/contrib/wxSmith/properties/Makefile" ;;
26557
"src/plugins/contrib/wxSmith/wxwidgets/Makefile") CONFIG_FILES="$CONFIG_FILES src/plugins/contrib/wxSmith/wxwidgets/Makefile" ;;
26558
"src/plugins/contrib/wxSmith/wxwidgets/properties/Makefile") CONFIG_FILES="$CONFIG_FILES src/plugins/contrib/wxSmith/wxwidgets/properties/Makefile" ;;
26559
"src/plugins/contrib/wxSmith/wxwidgets/defitems/Makefile") CONFIG_FILES="$CONFIG_FILES src/plugins/contrib/wxSmith/wxwidgets/defitems/Makefile" ;;
26560
"src/plugins/contrib/wxSmith/wxwidgets/icons/Makefile") CONFIG_FILES="$CONFIG_FILES src/plugins/contrib/wxSmith/wxwidgets/icons/Makefile" ;;
26561
"src/plugins/contrib/wxSmithContribItems/Makefile") CONFIG_FILES="$CONFIG_FILES src/plugins/contrib/wxSmithContribItems/Makefile" ;;
26562
"src/scripts/Makefile") CONFIG_FILES="$CONFIG_FILES src/scripts/Makefile" ;;
26563
"src/tools/Makefile") CONFIG_FILES="$CONFIG_FILES src/tools/Makefile" ;;
26564
"src/tools/cb_share_config/Makefile") CONFIG_FILES="$CONFIG_FILES src/tools/cb_share_config/Makefile" ;;
26565
"src/tools/ConsoleRunner/Makefile") CONFIG_FILES="$CONFIG_FILES src/tools/ConsoleRunner/Makefile" ;;
26566
"src/setup/Makefile") CONFIG_FILES="$CONFIG_FILES src/setup/Makefile" ;;
26567
"src/setup/mime/Makefile") CONFIG_FILES="$CONFIG_FILES src/setup/mime/Makefile" ;;
26568
"src/templates/Makefile") CONFIG_FILES="$CONFIG_FILES src/templates/Makefile" ;;
26569
"src/templates/common/Makefile") CONFIG_FILES="$CONFIG_FILES src/templates/common/Makefile" ;;
26570
"src/templates/unix/Makefile") CONFIG_FILES="$CONFIG_FILES src/templates/unix/Makefile" ;;
26571
"src/templates/win32/Makefile") CONFIG_FILES="$CONFIG_FILES src/templates/win32/Makefile" ;;
26572
"src/wxsmith/Makefile") CONFIG_FILES="$CONFIG_FILES src/wxsmith/Makefile" ;;
26573
"codeblocks.pc") CONFIG_FILES="$CONFIG_FILES codeblocks.pc" ;;
26574
"codeblocks.spec") CONFIG_FILES="$CONFIG_FILES codeblocks.spec" ;;
26575
"codeblocks.plist") CONFIG_FILES="$CONFIG_FILES codeblocks.plist" ;;
26577
*) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
26578
echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
26579
{ (exit 1); exit 1; }; };;
26584
# If the user did not use the arguments to specify the items to instantiate,
26585
# then the envvar interface is used. Set only those that are not.
26586
# We use the long form for the default assignment because of an extremely
26587
# bizarre bug on SunOS 4.1.3.
26588
if $ac_need_defaults; then
26589
test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
26590
test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
26591
test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
26594
# Have a temporary directory for convenience. Make it in the build tree
26595
# simply because there is no reason against having it here, and in addition,
26596
# creating and moving files from /tmp can sometimes cause problems.
26597
# Hook for its removal unless debugging.
26598
# Note that there is a small window in which the directory will not be cleaned:
26599
# after its creation but before its name has been assigned to `$tmp'.
26603
trap 'exit_status=$?
26604
{ test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status
26606
trap '{ (exit 1); exit 1; }' 1 2 13 15
26608
# Create a (secure) tmp directory for tmp files.
26611
tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
26612
test -n "$tmp" && test -d "$tmp"
26615
tmp=./conf$$-$RANDOM
26616
(umask 077 && mkdir "$tmp")
26619
echo "$me: cannot create a temporary directory in ." >&2
26620
{ (exit 1); exit 1; }
26624
# Set up the sed scripts for CONFIG_FILES section.
26627
# No need to generate the scripts if there are no CONFIG_FILES.
26628
# This happens for instance when ./config.status config.h
26629
if test -n "$CONFIG_FILES"; then
26636
for ac_last_try in false false false false false :; do
26637
cat >conf$$subs.sed <<_ACEOF
26638
SHELL!$SHELL$ac_delim
26639
PATH_SEPARATOR!$PATH_SEPARATOR$ac_delim
26640
PACKAGE_NAME!$PACKAGE_NAME$ac_delim
26641
PACKAGE_TARNAME!$PACKAGE_TARNAME$ac_delim
26642
PACKAGE_VERSION!$PACKAGE_VERSION$ac_delim
26643
PACKAGE_STRING!$PACKAGE_STRING$ac_delim
26644
PACKAGE_BUGREPORT!$PACKAGE_BUGREPORT$ac_delim
26645
exec_prefix!$exec_prefix$ac_delim
26646
prefix!$prefix$ac_delim
26647
program_transform_name!$program_transform_name$ac_delim
26648
bindir!$bindir$ac_delim
26649
sbindir!$sbindir$ac_delim
26650
libexecdir!$libexecdir$ac_delim
26651
datarootdir!$datarootdir$ac_delim
26652
datadir!$datadir$ac_delim
26653
sysconfdir!$sysconfdir$ac_delim
26654
sharedstatedir!$sharedstatedir$ac_delim
26655
localstatedir!$localstatedir$ac_delim
26656
includedir!$includedir$ac_delim
26657
oldincludedir!$oldincludedir$ac_delim
26658
docdir!$docdir$ac_delim
26659
infodir!$infodir$ac_delim
26660
htmldir!$htmldir$ac_delim
26661
dvidir!$dvidir$ac_delim
26662
pdfdir!$pdfdir$ac_delim
26663
psdir!$psdir$ac_delim
26664
libdir!$libdir$ac_delim
26665
localedir!$localedir$ac_delim
26666
mandir!$mandir$ac_delim
26667
DEFS!$DEFS$ac_delim
26668
ECHO_C!$ECHO_C$ac_delim
26669
ECHO_N!$ECHO_N$ac_delim
26670
ECHO_T!$ECHO_T$ac_delim
26671
LIBS!$LIBS$ac_delim
26672
build_alias!$build_alias$ac_delim
26673
host_alias!$host_alias$ac_delim
26674
target_alias!$target_alias$ac_delim
26675
build!$build$ac_delim
26676
build_cpu!$build_cpu$ac_delim
26677
build_vendor!$build_vendor$ac_delim
26678
build_os!$build_os$ac_delim
26679
host!$host$ac_delim
26680
host_cpu!$host_cpu$ac_delim
26681
host_vendor!$host_vendor$ac_delim
26682
host_os!$host_os$ac_delim
26683
target!$target$ac_delim
26684
target_cpu!$target_cpu$ac_delim
26685
target_vendor!$target_vendor$ac_delim
26686
target_os!$target_os$ac_delim
26687
INSTALL_PROGRAM!$INSTALL_PROGRAM$ac_delim
26688
INSTALL_SCRIPT!$INSTALL_SCRIPT$ac_delim
26689
INSTALL_DATA!$INSTALL_DATA$ac_delim
26690
am__isrc!$am__isrc$ac_delim
26691
CYGPATH_W!$CYGPATH_W$ac_delim
26692
PACKAGE!$PACKAGE$ac_delim
26693
VERSION!$VERSION$ac_delim
26694
ACLOCAL!$ACLOCAL$ac_delim
26695
AUTOCONF!$AUTOCONF$ac_delim
26696
AUTOMAKE!$AUTOMAKE$ac_delim
26697
AUTOHEADER!$AUTOHEADER$ac_delim
26698
MAKEINFO!$MAKEINFO$ac_delim
26699
install_sh!$install_sh$ac_delim
26700
STRIP!$STRIP$ac_delim
26701
INSTALL_STRIP_PROGRAM!$INSTALL_STRIP_PROGRAM$ac_delim
26702
mkdir_p!$mkdir_p$ac_delim
26704
SET_MAKE!$SET_MAKE$ac_delim
26705
am__leading_dot!$am__leading_dot$ac_delim
26706
AMTAR!$AMTAR$ac_delim
26707
am__tar!$am__tar$ac_delim
26708
am__untar!$am__untar$ac_delim
26710
CXXFLAGS!$CXXFLAGS$ac_delim
26711
LDFLAGS!$LDFLAGS$ac_delim
26712
CPPFLAGS!$CPPFLAGS$ac_delim
26713
ac_ct_CXX!$ac_ct_CXX$ac_delim
26714
EXEEXT!$EXEEXT$ac_delim
26715
OBJEXT!$OBJEXT$ac_delim
26716
DEPDIR!$DEPDIR$ac_delim
26717
am__include!$am__include$ac_delim
26718
am__quote!$am__quote$ac_delim
26719
AMDEP_TRUE!$AMDEP_TRUE$ac_delim
26720
AMDEP_FALSE!$AMDEP_FALSE$ac_delim
26721
AMDEPBACKSLASH!$AMDEPBACKSLASH$ac_delim
26722
CXXDEPMODE!$CXXDEPMODE$ac_delim
26723
am__fastdepCXX_TRUE!$am__fastdepCXX_TRUE$ac_delim
26724
am__fastdepCXX_FALSE!$am__fastdepCXX_FALSE$ac_delim
26726
CFLAGS!$CFLAGS$ac_delim
26727
ac_ct_CC!$ac_ct_CC$ac_delim
26728
CCDEPMODE!$CCDEPMODE$ac_delim
26729
am__fastdepCC_TRUE!$am__fastdepCC_TRUE$ac_delim
26730
am__fastdepCC_FALSE!$am__fastdepCC_FALSE$ac_delim
26732
LN_S!$LN_S$ac_delim
26733
SHARED_FLAGS!$SHARED_FLAGS$ac_delim
26734
PLUGIN_FLAGS!$PLUGIN_FLAGS$ac_delim
26737
if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 97; then
26739
elif $ac_last_try; then
26740
{ { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
26741
echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
26742
{ (exit 1); exit 1; }; }
26744
ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
26748
ac_eof=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
26749
if test -n "$ac_eof"; then
26750
ac_eof=`echo "$ac_eof" | sort -nru | sed 1q`
26751
ac_eof=`expr $ac_eof + 1`
26754
cat >>$CONFIG_STATUS <<_ACEOF
26755
cat >"\$tmp/subs-1.sed" <<\CEOF$ac_eof
26756
/@[a-zA-Z_][a-zA-Z_0-9]*@/!b
26759
s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
26760
s/^/s,@/; s/!/@,|#_!!_#|/
26763
s/'"$ac_delim"'$/,g/; t
26765
N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
26766
' >>$CONFIG_STATUS <conf$$subs.sed
26767
rm -f conf$$subs.sed
26768
cat >>$CONFIG_STATUS <<_ACEOF
26774
for ac_last_try in false false false false false :; do
26775
cat >conf$$subs.sed <<_ACEOF
26777
CODEBLOCKS_NT_TRUE!$CODEBLOCKS_NT_TRUE$ac_delim
26778
CODEBLOCKS_NT_FALSE!$CODEBLOCKS_NT_FALSE$ac_delim
26779
CODEBLOCKS_LINUX_TRUE!$CODEBLOCKS_LINUX_TRUE$ac_delim
26780
CODEBLOCKS_LINUX_FALSE!$CODEBLOCKS_LINUX_FALSE$ac_delim
26781
CODEBLOCKS_DARWIN_TRUE!$CODEBLOCKS_DARWIN_TRUE$ac_delim
26782
CODEBLOCKS_DARWIN_FALSE!$CODEBLOCKS_DARWIN_FALSE$ac_delim
26784
GREP!$GREP$ac_delim
26785
EGREP!$EGREP$ac_delim
26786
ECHO!$ECHO$ac_delim
26788
RANLIB!$RANLIB$ac_delim
26789
CXXCPP!$CXXCPP$ac_delim
26791
FFLAGS!$FFLAGS$ac_delim
26792
ac_ct_F77!$ac_ct_F77$ac_delim
26793
LIBTOOL!$LIBTOOL$ac_delim
26794
LIB@&t@OBJS!$LIB@&t@OBJS$ac_delim
26795
HAVE_ZLIB_TRUE!$HAVE_ZLIB_TRUE$ac_delim
26796
HAVE_ZLIB_FALSE!$HAVE_ZLIB_FALSE$ac_delim
26797
HAVE_BZIP2_TRUE!$HAVE_BZIP2_TRUE$ac_delim
26798
HAVE_BZIP2_FALSE!$HAVE_BZIP2_FALSE$ac_delim
26799
CODEBLOCKS_VERSION_INFO!$CODEBLOCKS_VERSION_INFO$ac_delim
26800
PLATFORM_CFLAGS!$PLATFORM_CFLAGS$ac_delim
26801
PLATFORM_LIBS!$PLATFORM_LIBS$ac_delim
26802
CODEBLOCKS_PLATFORM!$CODEBLOCKS_PLATFORM$ac_delim
26803
BUILD_ASTYLE_TRUE!$BUILD_ASTYLE_TRUE$ac_delim
26804
BUILD_ASTYLE_FALSE!$BUILD_ASTYLE_FALSE$ac_delim
26805
BUILD_AUTOSAVE_TRUE!$BUILD_AUTOSAVE_TRUE$ac_delim
26806
BUILD_AUTOSAVE_FALSE!$BUILD_AUTOSAVE_FALSE$ac_delim
26807
BUILD_CLASSWIZARD_TRUE!$BUILD_CLASSWIZARD_TRUE$ac_delim
26808
BUILD_CLASSWIZARD_FALSE!$BUILD_CLASSWIZARD_FALSE$ac_delim
26809
BUILD_CODECOMPLETION_TRUE!$BUILD_CODECOMPLETION_TRUE$ac_delim
26810
BUILD_CODECOMPLETION_FALSE!$BUILD_CODECOMPLETION_FALSE$ac_delim
26811
BUILD_COMPILER_TRUE!$BUILD_COMPILER_TRUE$ac_delim
26812
BUILD_COMPILER_FALSE!$BUILD_COMPILER_FALSE$ac_delim
26813
BUILD_DEBUGGER_TRUE!$BUILD_DEBUGGER_TRUE$ac_delim
26814
BUILD_DEBUGGER_FALSE!$BUILD_DEBUGGER_FALSE$ac_delim
26815
BUILD_MIMEHANDLER_TRUE!$BUILD_MIMEHANDLER_TRUE$ac_delim
26816
BUILD_MIMEHANDLER_FALSE!$BUILD_MIMEHANDLER_FALSE$ac_delim
26817
BUILD_OPENFILESLIST_TRUE!$BUILD_OPENFILESLIST_TRUE$ac_delim
26818
BUILD_OPENFILESLIST_FALSE!$BUILD_OPENFILESLIST_FALSE$ac_delim
26819
BUILD_PROJECTSIMPORTER_TRUE!$BUILD_PROJECTSIMPORTER_TRUE$ac_delim
26820
BUILD_PROJECTSIMPORTER_FALSE!$BUILD_PROJECTSIMPORTER_FALSE$ac_delim
26821
BUILD_SCRIPTEDWIZARD_TRUE!$BUILD_SCRIPTEDWIZARD_TRUE$ac_delim
26822
BUILD_SCRIPTEDWIZARD_FALSE!$BUILD_SCRIPTEDWIZARD_FALSE$ac_delim
26823
BUILD_TODO_TRUE!$BUILD_TODO_TRUE$ac_delim
26824
BUILD_TODO_FALSE!$BUILD_TODO_FALSE$ac_delim
26825
BUILD_MANIFEST_TRUE!$BUILD_MANIFEST_TRUE$ac_delim
26826
BUILD_MANIFEST_FALSE!$BUILD_MANIFEST_FALSE$ac_delim
26827
BUILD_AUTOVERSIONING_TRUE!$BUILD_AUTOVERSIONING_TRUE$ac_delim
26828
BUILD_AUTOVERSIONING_FALSE!$BUILD_AUTOVERSIONING_FALSE$ac_delim
26829
BUILD_BROWSETRACKER_TRUE!$BUILD_BROWSETRACKER_TRUE$ac_delim
26830
BUILD_BROWSETRACKER_FALSE!$BUILD_BROWSETRACKER_FALSE$ac_delim
26831
BUILD_BYOGAMES_TRUE!$BUILD_BYOGAMES_TRUE$ac_delim
26832
BUILD_BYOGAMES_FALSE!$BUILD_BYOGAMES_FALSE$ac_delim
26833
BUILD_CBKODERS_TRUE!$BUILD_CBKODERS_TRUE$ac_delim
26834
BUILD_CBKODERS_FALSE!$BUILD_CBKODERS_FALSE$ac_delim
26835
BUILD_CODESNIPPETS_TRUE!$BUILD_CODESNIPPETS_TRUE$ac_delim
26836
BUILD_CODESNIPPETS_FALSE!$BUILD_CODESNIPPETS_FALSE$ac_delim
26837
BUILD_CODESTAT_TRUE!$BUILD_CODESTAT_TRUE$ac_delim
26838
BUILD_CODESTAT_FALSE!$BUILD_CODESTAT_FALSE$ac_delim
26839
BUILD_DRAGSCROLL_TRUE!$BUILD_DRAGSCROLL_TRUE$ac_delim
26840
BUILD_DRAGSCROLL_FALSE!$BUILD_DRAGSCROLL_FALSE$ac_delim
26841
BUILD_ENVVARS_TRUE!$BUILD_ENVVARS_TRUE$ac_delim
26842
BUILD_ENVVARS_FALSE!$BUILD_ENVVARS_FALSE$ac_delim
26843
BUILD_HELP_TRUE!$BUILD_HELP_TRUE$ac_delim
26844
BUILD_HELP_FALSE!$BUILD_HELP_FALSE$ac_delim
26845
BUILD_KEYBINDER_TRUE!$BUILD_KEYBINDER_TRUE$ac_delim
26846
BUILD_KEYBINDER_FALSE!$BUILD_KEYBINDER_FALSE$ac_delim
26847
BUILD_LIBFINDER_TRUE!$BUILD_LIBFINDER_TRUE$ac_delim
26848
BUILD_LIBFINDER_FALSE!$BUILD_LIBFINDER_FALSE$ac_delim
26849
BUILD_PROFILER_TRUE!$BUILD_PROFILER_TRUE$ac_delim
26850
BUILD_PROFILER_FALSE!$BUILD_PROFILER_FALSE$ac_delim
26851
BUILD_REGEX_TRUE!$BUILD_REGEX_TRUE$ac_delim
26852
BUILD_REGEX_FALSE!$BUILD_REGEX_FALSE$ac_delim
26853
BUILD_EXPORTER_TRUE!$BUILD_EXPORTER_TRUE$ac_delim
26854
BUILD_EXPORTER_FALSE!$BUILD_EXPORTER_FALSE$ac_delim
26855
BUILD_SYMTAB_TRUE!$BUILD_SYMTAB_TRUE$ac_delim
26856
BUILD_SYMTAB_FALSE!$BUILD_SYMTAB_FALSE$ac_delim
26857
BUILD_THREADSEARCH_TRUE!$BUILD_THREADSEARCH_TRUE$ac_delim
26858
BUILD_THREADSEARCH_FALSE!$BUILD_THREADSEARCH_FALSE$ac_delim
26859
BUILD_WXSMITH_TRUE!$BUILD_WXSMITH_TRUE$ac_delim
26860
BUILD_WXSMITH_FALSE!$BUILD_WXSMITH_FALSE$ac_delim
26861
BUILD_AUTOVERSIONING!$BUILD_AUTOVERSIONING$ac_delim
26862
BUILD_BROWSETRACKER!$BUILD_BROWSETRACKER$ac_delim
26863
BUILD_BYOGAMES!$BUILD_BYOGAMES$ac_delim
26864
BUILD_CBKODERS!$BUILD_CBKODERS$ac_delim
26865
BUILD_CODESNIPPETS!$BUILD_CODESNIPPETS$ac_delim
26866
BUILD_CODESTAT!$BUILD_CODESTAT$ac_delim
26867
BUILD_COPYSTRINGS!$BUILD_COPYSTRINGS$ac_delim
26868
BUILD_DRAGSCROLL!$BUILD_DRAGSCROLL$ac_delim
26869
BUILD_ENVVARS!$BUILD_ENVVARS$ac_delim
26870
BUILD_HELP!$BUILD_HELP$ac_delim
26871
BUILD_KEYBINDER!$BUILD_KEYBINDER$ac_delim
26872
BUILD_LIBFINDER!$BUILD_LIBFINDER$ac_delim
26875
if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 97; then
26877
elif $ac_last_try; then
26878
{ { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
26879
echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
26880
{ (exit 1); exit 1; }; }
26882
ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
26886
ac_eof=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
26887
if test -n "$ac_eof"; then
26888
ac_eof=`echo "$ac_eof" | sort -nru | sed 1q`
26889
ac_eof=`expr $ac_eof + 1`
26892
cat >>$CONFIG_STATUS <<_ACEOF
26893
cat >"\$tmp/subs-2.sed" <<\CEOF$ac_eof
26894
/@[a-zA-Z_][a-zA-Z_0-9]*@/!b
26897
s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
26898
s/^/s,@/; s/!/@,|#_!!_#|/
26901
s/'"$ac_delim"'$/,g/; t
26903
N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
26904
' >>$CONFIG_STATUS <conf$$subs.sed
26905
rm -f conf$$subs.sed
26906
cat >>$CONFIG_STATUS <<_ACEOF
26912
for ac_last_try in false false false false false :; do
26913
cat >conf$$subs.sed <<_ACEOF
26914
BUILD_PROFILER!$BUILD_PROFILER$ac_delim
26915
BUILD_REGEX!$BUILD_REGEX$ac_delim
26916
BUILD_EXPORTER!$BUILD_EXPORTER$ac_delim
26917
BUILD_SYMTAB!$BUILD_SYMTAB$ac_delim
26918
BUILD_THREADSEARCH!$BUILD_THREADSEARCH$ac_delim
26919
BUILD_WXSMITH!$BUILD_WXSMITH$ac_delim
26920
PRECOMPILE_HEADERS_TRUE!$PRECOMPILE_HEADERS_TRUE$ac_delim
26921
PRECOMPILE_HEADERS_FALSE!$PRECOMPILE_HEADERS_FALSE$ac_delim
26922
WX_CONFIG_PATH!$WX_CONFIG_PATH$ac_delim
26923
WX_CPPFLAGS!$WX_CPPFLAGS$ac_delim
26924
WX_CFLAGS!$WX_CFLAGS$ac_delim
26925
WX_CXXFLAGS!$WX_CXXFLAGS$ac_delim
26926
WX_CFLAGS_ONLY!$WX_CFLAGS_ONLY$ac_delim
26927
WX_CXXFLAGS_ONLY!$WX_CXXFLAGS_ONLY$ac_delim
26928
WX_LIBS!$WX_LIBS$ac_delim
26929
WX_LIBS_STATIC!$WX_LIBS_STATIC$ac_delim
26930
WX_VERSION!$WX_VERSION$ac_delim
26931
WX_RESCOMP!$WX_RESCOMP$ac_delim
26932
HAVE_PKG_CONFIG!$HAVE_PKG_CONFIG$ac_delim
26933
PKG_CONFIG!$PKG_CONFIG$ac_delim
26934
GTK2_CFLAGS!$GTK2_CFLAGS$ac_delim
26935
GTK2_LIBS!$GTK2_LIBS$ac_delim
26937
SETFILE!$SETFILE$ac_delim
26938
WX_GTK2_CFLAGS!$WX_GTK2_CFLAGS$ac_delim
26939
WX_GTK2_LIBS!$WX_GTK2_LIBS$ac_delim
26940
POSTLINK_COMMAND!$POSTLINK_COMMAND$ac_delim
26941
MACSETFILE!$MACSETFILE$ac_delim
26942
PLUGIN_WX_LIBS!$PLUGIN_WX_LIBS$ac_delim
26943
codeblocks_PCH_FLAGS!$codeblocks_PCH_FLAGS$ac_delim
26944
LINUX_TRUE!$LINUX_TRUE$ac_delim
26945
LINUX_FALSE!$LINUX_FALSE$ac_delim
26946
DARWIN_TRUE!$DARWIN_TRUE$ac_delim
26947
DARWIN_FALSE!$DARWIN_FALSE$ac_delim
26948
REVISION!$REVISION$ac_delim
26949
DATE!$DATE$ac_delim
26950
LTLIBOBJS!$LTLIBOBJS$ac_delim
26953
if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 37; then
26955
elif $ac_last_try; then
26956
{ { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
26957
echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
26958
{ (exit 1); exit 1; }; }
26960
ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
26964
ac_eof=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
26965
if test -n "$ac_eof"; then
26966
ac_eof=`echo "$ac_eof" | sort -nru | sed 1q`
26967
ac_eof=`expr $ac_eof + 1`
26970
cat >>$CONFIG_STATUS <<_ACEOF
26971
cat >"\$tmp/subs-3.sed" <<\CEOF$ac_eof
26972
/@[a-zA-Z_][a-zA-Z_0-9]*@/!b end
26975
s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
26976
s/^/s,@/; s/!/@,|#_!!_#|/
26979
s/'"$ac_delim"'$/,g/; t
26981
N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
26982
' >>$CONFIG_STATUS <conf$$subs.sed
26983
rm -f conf$$subs.sed
26984
cat >>$CONFIG_STATUS <<_ACEOF
26991
# VPATH may cause trouble with some makes, so we remove $(srcdir),
26992
# ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
26993
# trailing colons and then remove the whole line if VPATH becomes empty
26994
# (actually we leave an empty line to preserve line numbers).
26995
if test "x$srcdir" = x.; then
26996
ac_vpsub='/^[ ]*VPATH[ ]*=/{
26997
s/:*\$(srcdir):*/:/
26998
s/:*\${srcdir}:*/:/
27000
s/^\([^=]*=[ ]*\):*/\1/
27006
cat >>$CONFIG_STATUS <<\_ACEOF
27007
fi # test -n "$CONFIG_FILES"
27010
for ac_tag in :F $CONFIG_FILES :H $CONFIG_HEADERS :C $CONFIG_COMMANDS
27013
:[FHLC]) ac_mode=$ac_tag; continue;;
27015
case $ac_mode$ac_tag in
27017
:L* | :C*:*) { { echo "$as_me:$LINENO: error: Invalid tag $ac_tag." >&5
27018
echo "$as_me: error: Invalid tag $ac_tag." >&2;}
27019
{ (exit 1); exit 1; }; };;
27020
:[FH]-) ac_tag=-:-;;
27021
:[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
27038
-) ac_f="$tmp/stdin";;
27039
*) # Look for the file first in the build tree, then in the source tree
27040
# (if the path is not absolute). The absolute path cannot be DOS-style,
27041
# because $ac_f cannot contain `:'.
27045
*) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
27047
{ { echo "$as_me:$LINENO: error: cannot find input file: $ac_f" >&5
27048
echo "$as_me: error: cannot find input file: $ac_f" >&2;}
27049
{ (exit 1); exit 1; }; };;
27051
ac_file_inputs="$ac_file_inputs $ac_f"
27054
# Let's still pretend it is `configure' which instantiates (i.e., don't
27055
# use $as_me), people would be surprised to read:
27056
# /* config.h. Generated by config.status. */
27057
configure_input="Generated from "`IFS=:
27058
echo $* | sed 's|^[^:]*/||;s|:[^:]*/|, |g'`" by configure."
27059
if test x"$ac_file" != x-; then
27060
configure_input="$ac_file. $configure_input"
27061
{ echo "$as_me:$LINENO: creating $ac_file" >&5
27062
echo "$as_me: creating $ac_file" >&6;}
27066
*:-:* | *:-) cat >"$tmp/stdin";;
27071
ac_dir=`$as_dirname -- "$ac_file" ||
27072
$as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
27073
X"$ac_file" : 'X\(//\)[^/]' \| \
27074
X"$ac_file" : 'X\(//\)$' \| \
27075
X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
27077
sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
27081
/^X\(\/\/\)[^/].*/{
27096
-*) as_dir=./$as_dir;;
27098
test -d "$as_dir" || { $as_mkdir_p && mkdir -p "$as_dir"; } || {
27102
*\'*) as_qdir=`echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #(
27103
*) as_qdir=$as_dir;;
27105
as_dirs="'$as_qdir' $as_dirs"
27106
as_dir=`$as_dirname -- "$as_dir" ||
27107
$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
27108
X"$as_dir" : 'X\(//\)[^/]' \| \
27109
X"$as_dir" : 'X\(//\)$' \| \
27110
X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
27112
sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
27116
/^X\(\/\/\)[^/].*/{
27129
test -d "$as_dir" && break
27131
test -z "$as_dirs" || eval "mkdir $as_dirs"
27132
} || test -d "$as_dir" || { { echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
27133
echo "$as_me: error: cannot create directory $as_dir" >&2;}
27134
{ (exit 1); exit 1; }; }; }
27138
.) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
27140
ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
27141
# A ".." for each directory in $ac_dir_suffix.
27142
ac_top_builddir_sub=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'`
27143
case $ac_top_builddir_sub in
27144
"") ac_top_builddir_sub=. ac_top_build_prefix= ;;
27145
*) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
27148
ac_abs_top_builddir=$ac_pwd
27149
ac_abs_builddir=$ac_pwd$ac_dir_suffix
27150
# for backward compatibility:
27151
ac_top_builddir=$ac_top_build_prefix
27154
.) # We are building in place.
27156
ac_top_srcdir=$ac_top_builddir_sub
27157
ac_abs_top_srcdir=$ac_pwd ;;
27158
[\\/]* | ?:[\\/]* ) # Absolute name.
27159
ac_srcdir=$srcdir$ac_dir_suffix;
27160
ac_top_srcdir=$srcdir
27161
ac_abs_top_srcdir=$srcdir ;;
27162
*) # Relative name.
27163
ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
27164
ac_top_srcdir=$ac_top_build_prefix$srcdir
27165
ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
27167
ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
27177
[\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
27178
*) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
27180
ac_MKDIR_P=$MKDIR_P
27182
[\\/$]* | ?:[\\/]* ) ;;
27183
*/*) ac_MKDIR_P=$ac_top_build_prefix$MKDIR_P ;;
27187
cat >>$CONFIG_STATUS <<\_ACEOF
27188
# If the template does not know about datarootdir, expand it.
27189
# FIXME: This hack should be removed a few years after 2.60.
27190
ac_datarootdir_hack=; ac_datarootdir_seen=
27192
case `sed -n '/datarootdir/ {
27201
' $ac_file_inputs` in
27202
*datarootdir*) ac_datarootdir_seen=yes;;
27203
*@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
27204
{ echo "$as_me:$LINENO: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
27205
echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
27207
cat >>$CONFIG_STATUS <<_ACEOF
27208
ac_datarootdir_hack='
27209
s&@datadir@&$datadir&g
27210
s&@docdir@&$docdir&g
27211
s&@infodir@&$infodir&g
27212
s&@localedir@&$localedir&g
27213
s&@mandir@&$mandir&g
27214
s&\\\${datarootdir}&$datarootdir&g' ;;
27218
# Neutralize VPATH when `$srcdir' = `.'.
27219
# Shell code in configure.ac might set extrasub.
27220
# FIXME: do we really want to maintain this feature?
27221
cat >>$CONFIG_STATUS <<_ACEOF
27225
cat >>$CONFIG_STATUS <<\_ACEOF
27227
/@[a-zA-Z_][a-zA-Z_0-9]*@/!b
27228
s&@configure_input@&$configure_input&;t t
27229
s&@top_builddir@&$ac_top_builddir_sub&;t t
27230
s&@srcdir@&$ac_srcdir&;t t
27231
s&@abs_srcdir@&$ac_abs_srcdir&;t t
27232
s&@top_srcdir@&$ac_top_srcdir&;t t
27233
s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
27234
s&@builddir@&$ac_builddir&;t t
27235
s&@abs_builddir@&$ac_abs_builddir&;t t
27236
s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
27237
s&@INSTALL@&$ac_INSTALL&;t t
27238
s&@MKDIR_P@&$ac_MKDIR_P&;t t
27239
$ac_datarootdir_hack
27240
" $ac_file_inputs | sed -f "$tmp/subs-1.sed" | sed -f "$tmp/subs-2.sed" | sed -f "$tmp/subs-3.sed" >$tmp/out
27242
test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
27243
{ ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out"`; test -n "$ac_out"; } &&
27244
{ ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' "$tmp/out"`; test -z "$ac_out"; } &&
27245
{ echo "$as_me:$LINENO: WARNING: $ac_file contains a reference to the variable \`datarootdir'
27246
which seems to be undefined. Please make sure it is defined." >&5
27247
echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
27248
which seems to be undefined. Please make sure it is defined." >&2;}
27252
-) cat "$tmp/out"; rm -f "$tmp/out";;
27253
*) rm -f "$ac_file"; mv "$tmp/out" $ac_file;;
27262
# Transform confdefs.h into a sed script `conftest.defines', that
27263
# substitutes the proper values into config.h.in to produce config.h.
27264
rm -f conftest.defines conftest.tail
27265
# First, append a space to every undef/define line, to ease matching.
27266
echo 's/$/ /' >conftest.defines
27267
# Then, protect against being on the right side of a sed subst, or in
27268
# an unquoted here document, in config.status. If some macros were
27269
# called several times there might be several #defines for the same
27270
# symbol, which is useless. But do not sort them, since the last
27271
# AC_DEFINE must be honored.
27272
ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
27273
# These sed commands are passed to sed as "A NAME B PARAMS C VALUE D", where
27274
# NAME is the cpp macro being defined, VALUE is the value it is being given.
27275
# PARAMS is the parameter list in the macro definition--in most cases, it's
27276
# just an empty string.
27277
ac_dA='s,^\\([ #]*\\)[^ ]*\\([ ]*'
27278
ac_dB='\\)[ (].*,\\1define\\2'
27286
s/^[ ]*#[ ]*define[ ][ ]*//
27291
s/^\('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/ '"$ac_dA"'\1'"$ac_dB"'\2'"${ac_dC}"'\3'"$ac_dD"'/p
27292
s/^\('"$ac_word_re"'\)[ ]*\(.*\)/'"$ac_dA"'\1'"$ac_dB$ac_dC"'\2'"$ac_dD"'/p
27293
' >>conftest.defines
27295
# Remove the space that was appended to ease matching.
27296
# Then replace #undef with comments. This is necessary, for
27297
# example, in the case of _POSIX_SOURCE, which is predefined and required
27298
# on some systems where configure will not decide to define it.
27299
# (The regexp can be short, since the line contains either #define or #undef.)
27301
s,^[ #]*u.*,/* & */,' >>conftest.defines
27303
# Break up conftest.defines:
27304
ac_max_sed_lines=50
27306
# First sed command is: sed -f defines.sed $ac_file_inputs >"$tmp/out1"
27307
# Second one is: sed -f defines.sed "$tmp/out1" >"$tmp/out2"
27308
# Third one will be: sed -f defines.sed "$tmp/out2" >"$tmp/out1"
27310
ac_in='$ac_file_inputs'
27311
ac_out='"$tmp/out1"'
27312
ac_nxt='"$tmp/out2"'
27316
# Write a here document:
27317
cat >>$CONFIG_STATUS <<_ACEOF
27318
# First, check the format of the line:
27319
cat >"\$tmp/defines.sed" <<\\CEOF
27320
/^[ ]*#[ ]*undef[ ][ ]*$ac_word_re[ ]*\$/b def
27321
/^[ ]*#[ ]*define[ ][ ]*$ac_word_re[( ]/b def
27325
sed ${ac_max_sed_lines}q conftest.defines >>$CONFIG_STATUS
27327
sed -f "$tmp/defines.sed"' "$ac_in >$ac_out" >>$CONFIG_STATUS
27328
ac_in=$ac_out; ac_out=$ac_nxt; ac_nxt=$ac_in
27329
sed 1,${ac_max_sed_lines}d conftest.defines >conftest.tail
27330
grep . conftest.tail >/dev/null || break
27331
rm -f conftest.defines
27332
mv conftest.tail conftest.defines
27334
rm -f conftest.defines conftest.tail
27336
echo "ac_result=$ac_in" >>$CONFIG_STATUS
27337
cat >>$CONFIG_STATUS <<\_ACEOF
27338
if test x"$ac_file" != x-; then
27339
echo "/* $configure_input */" >"$tmp/config.h"
27340
cat "$ac_result" >>"$tmp/config.h"
27341
if diff $ac_file "$tmp/config.h" >/dev/null 2>&1; then
27342
{ echo "$as_me:$LINENO: $ac_file is unchanged" >&5
27343
echo "$as_me: $ac_file is unchanged" >&6;}
27346
mv "$tmp/config.h" $ac_file
27349
echo "/* $configure_input */"
27353
# Compute $ac_file's index in $config_headers.
27355
for _am_header in $config_headers :; do
27356
case $_am_header in
27357
$ac_file | $ac_file:* )
27360
_am_stamp_count=`expr $_am_stamp_count + 1` ;;
27363
echo "timestamp for $ac_file" >`$as_dirname -- $ac_file ||
27364
$as_expr X$ac_file : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
27365
X$ac_file : 'X\(//\)[^/]' \| \
27366
X$ac_file : 'X\(//\)$' \| \
27367
X$ac_file : 'X\(/\)' \| . 2>/dev/null ||
27369
sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
27373
/^X\(\/\/\)[^/].*/{
27385
s/.*/./; q'`/stamp-h$_am_stamp_count
27388
:C) { echo "$as_me:$LINENO: executing $ac_file commands" >&5
27389
echo "$as_me: executing $ac_file commands" >&6;}
27394
case $ac_file$ac_mode in
27395
"depfiles":C) test x"$AMDEP_TRUE" != x"" || for mf in $CONFIG_FILES; do
27396
# Strip MF so we end up with the name of the file.
27397
mf=`echo "$mf" | sed -e 's/:.*$//'`
27398
# Check whether this is an Automake generated Makefile or not.
27399
# We used to match only the files named `Makefile.in', but
27400
# some people rename them; so instead we look at the file content.
27401
# Grep'ing the first line is not enough: some people post-process
27402
# each Makefile.in and add a new line on top of each file to say so.
27403
# Grep'ing the whole file is not good either: AIX grep has a line
27404
# limit of 2048, but all sed's we know have understand at least 4000.
27405
if sed 10q "$mf" | grep '^#.*generated by automake' > /dev/null 2>&1; then
27406
dirpart=`$as_dirname -- "$mf" ||
27407
$as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
27408
X"$mf" : 'X\(//\)[^/]' \| \
27409
X"$mf" : 'X\(//\)$' \| \
27410
X"$mf" : 'X\(/\)' \| . 2>/dev/null ||
27412
sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
27416
/^X\(\/\/\)[^/].*/{
27432
# Extract the definition of DEPDIR, am__include, and am__quote
27433
# from the Makefile without running `make'.
27434
DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"`
27435
test -z "$DEPDIR" && continue
27436
am__include=`sed -n 's/^am__include = //p' < "$mf"`
27437
test -z "am__include" && continue
27438
am__quote=`sed -n 's/^am__quote = //p' < "$mf"`
27439
# When using ansi2knr, U may be empty or an underscore; expand it
27440
U=`sed -n 's/^U = //p' < "$mf"`
27441
# Find all dependency output files, they are included files with
27442
# $(DEPDIR) in their names. We invoke sed twice because it is the
27443
# simplest approach to changing $(DEPDIR) to its actual value in the
27445
for file in `sed -n "
27446
s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
27447
sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do
27448
# Make sure the directory exists.
27449
test -f "$dirpart/$file" && continue
27450
fdir=`$as_dirname -- "$file" ||
27451
$as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
27452
X"$file" : 'X\(//\)[^/]' \| \
27453
X"$file" : 'X\(//\)$' \| \
27454
X"$file" : 'X\(/\)' \| . 2>/dev/null ||
27456
sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
27460
/^X\(\/\/\)[^/].*/{
27473
{ as_dir=$dirpart/$fdir
27475
-*) as_dir=./$as_dir;;
27477
test -d "$as_dir" || { $as_mkdir_p && mkdir -p "$as_dir"; } || {
27481
*\'*) as_qdir=`echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #(
27482
*) as_qdir=$as_dir;;
27484
as_dirs="'$as_qdir' $as_dirs"
27485
as_dir=`$as_dirname -- "$as_dir" ||
27486
$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
27487
X"$as_dir" : 'X\(//\)[^/]' \| \
27488
X"$as_dir" : 'X\(//\)$' \| \
27489
X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
27491
sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
27495
/^X\(\/\/\)[^/].*/{
27508
test -d "$as_dir" && break
27510
test -z "$as_dirs" || eval "mkdir $as_dirs"
27511
} || test -d "$as_dir" || { { echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
27512
echo "$as_me: error: cannot create directory $as_dir" >&2;}
27513
{ (exit 1); exit 1; }; }; }
27514
# echo "creating $dirpart/$file"
27515
echo '# dummy' > "$dirpart/$file"
27524
{ (exit 0); exit 0; }
27526
chmod +x $CONFIG_STATUS
27527
ac_clean_files=$ac_clean_files_save
27530
# configure is writing to config.log, and then calls config.status.
27531
# config.status does its own redirection, appending to config.log.
27532
# Unfortunately, on DOS this fails, as config.log is still kept open
27533
# by configure, so config.status won't be able to write to it; its
27534
# output is simply discarded. So we exec the FD to /dev/null,
27535
# effectively closing config.log, so it can be properly (re)opened and
27536
# appended to by config.status. When coming back to configure, we
27537
# need to make the FD available again.
27538
if test "$no_create" != yes; then
27540
ac_config_status_args=
27541
test "$silent" = yes &&
27542
ac_config_status_args="$ac_config_status_args --quiet"
27544
$SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
27546
# Use ||, not &&, to avoid exiting from the if with $? = 1, which
27547
# would make configure fail if this is the last instruction.
27548
$ac_cs_success || { (exit 1); exit 1; }
27554
echo "*************************************************"
27555
echo "* Code::Blocks source tree has been configured. *"
27556
echo "*************************************************"
27558
echo "You can now build Code::Blocks by issuing 'make'".
27559
echo "When the build is complete, become root and install"
27560
echo "it by issuing 'make install'".