2
# Guess values for system-dependent variables and create Makefiles.
3
# Generated by GNU Autoconf 2.61.
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
if test "X${CDPATH+set}" = Xset; then CDPATH=:; export CDPATH; fi
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.
733
ac_unique_file="acinclude.m4"
734
ac_default_prefix=${KDEDIR:-the kde prefix}
735
# Factoring default headers for most tests.
736
ac_includes_default="\
738
#ifdef HAVE_SYS_TYPES_H
739
# include <sys/types.h>
741
#ifdef HAVE_SYS_STAT_H
742
# include <sys/stat.h>
748
# ifdef HAVE_STDLIB_H
753
# if !defined STDC_HEADERS && defined HAVE_MEMORY_H
758
#ifdef HAVE_STRINGS_H
759
# include <strings.h>
761
#ifdef HAVE_INTTYPES_H
762
# include <inttypes.h>
780
program_transform_name
833
INSTALL_STRIP_PROGRAM
870
unsermake_enable_pch_TRUE
871
unsermake_enable_pch_FALSE
877
ENABLE_PERMISSIVE_FLAG
883
KDE_USE_CLOSURE_FALSE
886
KDE_USE_NMCHECK_FALSE
1017
ac_precious_vars='build_alias
1035
# Initialize some variables set by options.
1037
ac_init_version=false
1038
# The variables have the same names as the options, with
1039
# dashes changed to underlines.
1040
cache_file=/dev/null
1047
program_transform_name=s,x,x,
1055
# Installation directory options.
1056
# These are left unexpanded so users can "make install exec_prefix=/foo"
1057
# and all the variables that are supposed to be based on exec_prefix
1058
# by default will actually change.
1059
# Use braces instead of parens because sh, perl, etc. also accept them.
1060
# (The list follows the same order as the GNU Coding Standards.)
1061
bindir='${exec_prefix}/bin'
1062
sbindir='${exec_prefix}/sbin'
1063
libexecdir='${exec_prefix}/libexec'
1064
datarootdir='${prefix}/share'
1065
datadir='${datarootdir}'
1066
sysconfdir='${prefix}/etc'
1067
sharedstatedir='${prefix}/com'
1068
localstatedir='${prefix}/var'
1069
includedir='${prefix}/include'
1070
oldincludedir='/usr/include'
1071
docdir='${datarootdir}/doc/${PACKAGE}'
1072
infodir='${datarootdir}/info'
1077
libdir='${exec_prefix}/lib'
1078
localedir='${datarootdir}/locale'
1079
mandir='${datarootdir}/man'
1085
# If the previous option needs an argument, assign it.
1086
if test -n "$ac_prev"; then
1087
eval $ac_prev=\$ac_option
1093
*=*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
1097
# Accept the important Cygnus configure options, so we can diagnose typos.
1099
case $ac_dashdash$ac_option in
1103
-bindir | --bindir | --bindi | --bind | --bin | --bi)
1105
-bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
1106
bindir=$ac_optarg ;;
1108
-build | --build | --buil | --bui | --bu)
1109
ac_prev=build_alias ;;
1110
-build=* | --build=* | --buil=* | --bui=* | --bu=*)
1111
build_alias=$ac_optarg ;;
1113
-cache-file | --cache-file | --cache-fil | --cache-fi \
1114
| --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
1115
ac_prev=cache_file ;;
1116
-cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
1117
| --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
1118
cache_file=$ac_optarg ;;
1120
--config-cache | -C)
1121
cache_file=config.cache ;;
1123
-datadir | --datadir | --datadi | --datad)
1125
-datadir=* | --datadir=* | --datadi=* | --datad=*)
1126
datadir=$ac_optarg ;;
1128
-datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
1129
| --dataroo | --dataro | --datar)
1130
ac_prev=datarootdir ;;
1131
-datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
1132
| --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
1133
datarootdir=$ac_optarg ;;
1135
-disable-* | --disable-*)
1136
ac_feature=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
1137
# Reject names that are not valid shell variable names.
1138
expr "x$ac_feature" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1139
{ echo "$as_me: error: invalid feature name: $ac_feature" >&2
1140
{ (exit 1); exit 1; }; }
1141
ac_feature=`echo $ac_feature | sed 's/[-.]/_/g'`
1142
eval enable_$ac_feature=no ;;
1144
-docdir | --docdir | --docdi | --doc | --do)
1146
-docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
1147
docdir=$ac_optarg ;;
1149
-dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
1151
-dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
1152
dvidir=$ac_optarg ;;
1154
-enable-* | --enable-*)
1155
ac_feature=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
1156
# Reject names that are not valid shell variable names.
1157
expr "x$ac_feature" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1158
{ echo "$as_me: error: invalid feature name: $ac_feature" >&2
1159
{ (exit 1); exit 1; }; }
1160
ac_feature=`echo $ac_feature | sed 's/[-.]/_/g'`
1161
eval enable_$ac_feature=\$ac_optarg ;;
1163
-exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
1164
| --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
1165
| --exec | --exe | --ex)
1166
ac_prev=exec_prefix ;;
1167
-exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
1168
| --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
1169
| --exec=* | --exe=* | --ex=*)
1170
exec_prefix=$ac_optarg ;;
1172
-gas | --gas | --ga | --g)
1173
# Obsolete; use --with-gas.
1176
-help | --help | --hel | --he | -h)
1177
ac_init_help=long ;;
1178
-help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
1179
ac_init_help=recursive ;;
1180
-help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
1181
ac_init_help=short ;;
1183
-host | --host | --hos | --ho)
1184
ac_prev=host_alias ;;
1185
-host=* | --host=* | --hos=* | --ho=*)
1186
host_alias=$ac_optarg ;;
1188
-htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
1190
-htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
1192
htmldir=$ac_optarg ;;
1194
-includedir | --includedir | --includedi | --included | --include \
1195
| --includ | --inclu | --incl | --inc)
1196
ac_prev=includedir ;;
1197
-includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
1198
| --includ=* | --inclu=* | --incl=* | --inc=*)
1199
includedir=$ac_optarg ;;
1201
-infodir | --infodir | --infodi | --infod | --info | --inf)
1203
-infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
1204
infodir=$ac_optarg ;;
1206
-libdir | --libdir | --libdi | --libd)
1208
-libdir=* | --libdir=* | --libdi=* | --libd=*)
1209
libdir=$ac_optarg ;;
1211
-libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
1212
| --libexe | --libex | --libe)
1213
ac_prev=libexecdir ;;
1214
-libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
1215
| --libexe=* | --libex=* | --libe=*)
1216
libexecdir=$ac_optarg ;;
1218
-localedir | --localedir | --localedi | --localed | --locale)
1219
ac_prev=localedir ;;
1220
-localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
1221
localedir=$ac_optarg ;;
1223
-localstatedir | --localstatedir | --localstatedi | --localstated \
1224
| --localstate | --localstat | --localsta | --localst | --locals)
1225
ac_prev=localstatedir ;;
1226
-localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
1227
| --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
1228
localstatedir=$ac_optarg ;;
1230
-mandir | --mandir | --mandi | --mand | --man | --ma | --m)
1232
-mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
1233
mandir=$ac_optarg ;;
1235
-nfp | --nfp | --nf)
1236
# Obsolete; use --without-fp.
1239
-no-create | --no-create | --no-creat | --no-crea | --no-cre \
1240
| --no-cr | --no-c | -n)
1243
-no-recursion | --no-recursion | --no-recursio | --no-recursi \
1244
| --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
1247
-oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
1248
| --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
1249
| --oldin | --oldi | --old | --ol | --o)
1250
ac_prev=oldincludedir ;;
1251
-oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
1252
| --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
1253
| --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
1254
oldincludedir=$ac_optarg ;;
1256
-prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
1258
-prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
1259
prefix=$ac_optarg ;;
1261
-program-prefix | --program-prefix | --program-prefi | --program-pref \
1262
| --program-pre | --program-pr | --program-p)
1263
ac_prev=program_prefix ;;
1264
-program-prefix=* | --program-prefix=* | --program-prefi=* \
1265
| --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
1266
program_prefix=$ac_optarg ;;
1268
-program-suffix | --program-suffix | --program-suffi | --program-suff \
1269
| --program-suf | --program-su | --program-s)
1270
ac_prev=program_suffix ;;
1271
-program-suffix=* | --program-suffix=* | --program-suffi=* \
1272
| --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
1273
program_suffix=$ac_optarg ;;
1275
-program-transform-name | --program-transform-name \
1276
| --program-transform-nam | --program-transform-na \
1277
| --program-transform-n | --program-transform- \
1278
| --program-transform | --program-transfor \
1279
| --program-transfo | --program-transf \
1280
| --program-trans | --program-tran \
1281
| --progr-tra | --program-tr | --program-t)
1282
ac_prev=program_transform_name ;;
1283
-program-transform-name=* | --program-transform-name=* \
1284
| --program-transform-nam=* | --program-transform-na=* \
1285
| --program-transform-n=* | --program-transform-=* \
1286
| --program-transform=* | --program-transfor=* \
1287
| --program-transfo=* | --program-transf=* \
1288
| --program-trans=* | --program-tran=* \
1289
| --progr-tra=* | --program-tr=* | --program-t=*)
1290
program_transform_name=$ac_optarg ;;
1292
-pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
1294
-pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
1295
pdfdir=$ac_optarg ;;
1297
-psdir | --psdir | --psdi | --psd | --ps)
1299
-psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
1302
-q | -quiet | --quiet | --quie | --qui | --qu | --q \
1303
| -silent | --silent | --silen | --sile | --sil)
1306
-sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
1308
-sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
1310
sbindir=$ac_optarg ;;
1312
-sharedstatedir | --sharedstatedir | --sharedstatedi \
1313
| --sharedstated | --sharedstate | --sharedstat | --sharedsta \
1314
| --sharedst | --shareds | --shared | --share | --shar \
1316
ac_prev=sharedstatedir ;;
1317
-sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
1318
| --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
1319
| --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
1321
sharedstatedir=$ac_optarg ;;
1323
-site | --site | --sit)
1325
-site=* | --site=* | --sit=*)
1328
-srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
1330
-srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
1331
srcdir=$ac_optarg ;;
1333
-sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
1334
| --syscon | --sysco | --sysc | --sys | --sy)
1335
ac_prev=sysconfdir ;;
1336
-sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
1337
| --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
1338
sysconfdir=$ac_optarg ;;
1340
-target | --target | --targe | --targ | --tar | --ta | --t)
1341
ac_prev=target_alias ;;
1342
-target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
1343
target_alias=$ac_optarg ;;
1345
-v | -verbose | --verbose | --verbos | --verbo | --verb)
1348
-version | --version | --versio | --versi | --vers | -V)
1349
ac_init_version=: ;;
1352
ac_package=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1353
# Reject names that are not valid shell variable names.
1354
expr "x$ac_package" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1355
{ echo "$as_me: error: invalid package name: $ac_package" >&2
1356
{ (exit 1); exit 1; }; }
1357
ac_package=`echo $ac_package | sed 's/[-.]/_/g'`
1358
eval with_$ac_package=\$ac_optarg ;;
1360
-without-* | --without-*)
1361
ac_package=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1362
# Reject names that are not valid shell variable names.
1363
expr "x$ac_package" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1364
{ echo "$as_me: error: invalid package name: $ac_package" >&2
1365
{ (exit 1); exit 1; }; }
1366
ac_package=`echo $ac_package | sed 's/[-.]/_/g'`
1367
eval with_$ac_package=no ;;
1370
# Obsolete; use --with-x.
1373
-x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
1374
| --x-incl | --x-inc | --x-in | --x-i)
1375
ac_prev=x_includes ;;
1376
-x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
1377
| --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
1378
x_includes=$ac_optarg ;;
1380
-x-libraries | --x-libraries | --x-librarie | --x-librari \
1381
| --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
1382
ac_prev=x_libraries ;;
1383
-x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
1384
| --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
1385
x_libraries=$ac_optarg ;;
1387
-*) { echo "$as_me: error: unrecognized option: $ac_option
1388
Try \`$0 --help' for more information." >&2
1389
{ (exit 1); exit 1; }; }
1393
ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
1394
# Reject names that are not valid shell variable names.
1395
expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev/null &&
1396
{ echo "$as_me: error: invalid variable name: $ac_envvar" >&2
1397
{ (exit 1); exit 1; }; }
1398
eval $ac_envvar=\$ac_optarg
1399
export $ac_envvar ;;
1402
# FIXME: should be removed in autoconf 3.0.
1403
echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1404
expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1405
echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1406
: ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
1412
if test -n "$ac_prev"; then
1413
ac_option=--`echo $ac_prev | sed 's/_/-/g'`
1414
{ echo "$as_me: error: missing argument to $ac_option" >&2
1415
{ (exit 1); exit 1; }; }
1418
# Be sure to have absolute directory names.
1419
for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1420
datadir sysconfdir sharedstatedir localstatedir includedir \
1421
oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1422
libdir localedir mandir
1424
eval ac_val=\$$ac_var
1426
[\\/$]* | ?:[\\/]* ) continue;;
1427
NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
1429
{ echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
1430
{ (exit 1); exit 1; }; }
1433
# There might be people who depend on the old broken behavior: `$host'
1434
# used to hold the argument of --host etc.
1435
# FIXME: To remove some day.
1438
target=$target_alias
1440
# FIXME: To remove some day.
1441
if test "x$host_alias" != x; then
1442
if test "x$build_alias" = x; then
1443
cross_compiling=maybe
1444
echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
1445
If a cross compiler is detected then cross compile mode will be used." >&2
1446
elif test "x$build_alias" != "x$host_alias"; then
1452
test -n "$host_alias" && ac_tool_prefix=$host_alias-
1454
test "$silent" = yes && exec 6>/dev/null
1457
ac_pwd=`pwd` && test -n "$ac_pwd" &&
1458
ac_ls_di=`ls -di .` &&
1459
ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
1460
{ echo "$as_me: error: Working directory cannot be determined" >&2
1461
{ (exit 1); exit 1; }; }
1462
test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1463
{ echo "$as_me: error: pwd does not report name of working directory" >&2
1464
{ (exit 1); exit 1; }; }
1467
# Find the source files, if location was not specified.
1468
if test -z "$srcdir"; then
1469
ac_srcdir_defaulted=yes
1470
# Try the directory containing this script, then the parent directory.
1471
ac_confdir=`$as_dirname -- "$0" ||
1472
$as_expr X"$0" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1473
X"$0" : 'X\(//\)[^/]' \| \
1474
X"$0" : 'X\(//\)$' \| \
1475
X"$0" : 'X\(/\)' \| . 2>/dev/null ||
1477
sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1495
if test ! -r "$srcdir/$ac_unique_file"; then
1499
ac_srcdir_defaulted=no
1501
if test ! -r "$srcdir/$ac_unique_file"; then
1502
test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
1503
{ echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2
1504
{ (exit 1); exit 1; }; }
1506
ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
1508
cd "$srcdir" && test -r "./$ac_unique_file" || { echo "$as_me: error: $ac_msg" >&2
1509
{ (exit 1); exit 1; }; }
1511
# When building in place, set srcdir=.
1512
if test "$ac_abs_confdir" = "$ac_pwd"; then
1515
# Remove unnecessary trailing slashes from srcdir.
1516
# Double slashes in file names in object file debugging info
1517
# mess up M-x gdb in Emacs.
1519
*/) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1521
for ac_var in $ac_precious_vars; do
1522
eval ac_env_${ac_var}_set=\${${ac_var}+set}
1523
eval ac_env_${ac_var}_value=\$${ac_var}
1524
eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
1525
eval ac_cv_env_${ac_var}_value=\$${ac_var}
1529
# Report the --help message.
1531
if test "$ac_init_help" = "long"; then
1532
# Omit some internal or obsolete options to make the list less imposing.
1533
# This message is too long to be a string in the A/UX 3.1 sh.
1535
\`configure' configures this package to adapt to many kinds of systems.
1537
Usage: $0 [OPTION]... [VAR=VALUE]...
1539
To assign environment variables (e.g., CC, CFLAGS...), specify them as
1540
VAR=VALUE. See below for descriptions of some of the useful variables.
1542
Defaults for the options are specified in brackets.
1545
-h, --help display this help and exit
1546
--help=short display options specific to this package
1547
--help=recursive display the short help of all the included packages
1548
-V, --version display version information and exit
1549
-q, --quiet, --silent do not print \`checking...' messages
1550
--cache-file=FILE cache test results in FILE [disabled]
1551
-C, --config-cache alias for \`--cache-file=config.cache'
1552
-n, --no-create do not create output files
1553
--srcdir=DIR find the sources in DIR [configure dir or \`..']
1555
Installation directories:
1556
--prefix=PREFIX install architecture-independent files in PREFIX
1557
[$ac_default_prefix]
1558
--exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
1561
By default, \`make install' will install all the files in
1562
\`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
1563
an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1564
for instance \`--prefix=\$HOME'.
1566
For better control, use the options below.
1568
Fine tuning of the installation directories:
1569
--bindir=DIR user executables [EPREFIX/bin]
1570
--sbindir=DIR system admin executables [EPREFIX/sbin]
1571
--libexecdir=DIR program executables [EPREFIX/libexec]
1572
--sysconfdir=DIR read-only single-machine data [PREFIX/etc]
1573
--sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
1574
--localstatedir=DIR modifiable single-machine data [PREFIX/var]
1575
--libdir=DIR object code libraries [EPREFIX/lib]
1576
--includedir=DIR C header files [PREFIX/include]
1577
--oldincludedir=DIR C header files for non-gcc [/usr/include]
1578
--datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
1579
--datadir=DIR read-only architecture-independent data [DATAROOTDIR]
1580
--infodir=DIR info documentation [DATAROOTDIR/info]
1581
--localedir=DIR locale-dependent data [DATAROOTDIR/locale]
1582
--mandir=DIR man documentation [DATAROOTDIR/man]
1583
--docdir=DIR documentation root [DATAROOTDIR/doc/PACKAGE]
1584
--htmldir=DIR html documentation [DOCDIR]
1585
--dvidir=DIR dvi documentation [DOCDIR]
1586
--pdfdir=DIR pdf documentation [DOCDIR]
1587
--psdir=DIR ps documentation [DOCDIR]
1593
--program-prefix=PREFIX prepend PREFIX to installed program names
1594
--program-suffix=SUFFIX append SUFFIX to installed program names
1595
--program-transform-name=PROGRAM run sed PROGRAM on installed program names
1598
--build=BUILD configure for building on BUILD [guessed]
1599
--host=HOST cross-compile to build programs to run on HOST [BUILD]
1600
--target=TARGET configure for building compilers for TARGET [HOST]
1604
if test -n "$ac_init_help"; then
1609
--disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
1610
--enable-FEATURE[=ARG] include FEATURE [ARG=yes]
1611
--disable-fast-perl disable fast Makefile generation (needs perl)
1612
--enable-debug=ARG enables debug symbols (yes|no|full) default=no
1613
--disable-debug disables debug output and debug symbols default=no
1614
--enable-strict compiles with strict compiler options (may not
1616
--disable-warnings disables compilation with -Wall and similar
1617
--enable-profile creates profiling infos default=no
1618
--disable-dependency-tracking speeds up one-time build
1619
--enable-dependency-tracking do not reject slow dependency extractors
1620
--enable-pch enables precompiled header support (currently only
1621
KCC or gcc >=3.4+unsermake) default=no
1622
--enable-coverage use gcc coverage testing
1623
--enable-new-ldflags enable the new linker flags
1624
--enable-final build size optimized apps (experimental - needs lots
1626
--enable-closure delay template instantiation
1627
--enable-nmcheck enable automatic namespace cleanness check
1628
--enable-shared[=PKGS] build shared libraries [default=yes]
1629
--enable-static[=PKGS] build static libraries [default=no]
1630
--enable-libsuffix /lib directory suffix (64,32,none,auto=default)
1631
--enable-fast-install[=PKGS]
1632
optimize for fast installation [default=yes]
1633
--disable-libtool-lock avoid locking (might break parallel builds)
1634
--enable-pie platform supports PIE linking default=detect
1635
--enable-embedded link to Qt-embedded, don't use X
1636
--enable-qtopia link to Qt-embedded, link to the Qtopia Environment
1637
--enable-mac link to Qt/Mac (don't use X)
1638
--disable-mt link to non-threaded Qt (deprecated)
1639
--disable-threading disables threading even if libpthread found
1640
--disable-rpath do not use the rpath feature of ld
1641
--disable-path-check don't try to find out, where to install
1644
--with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
1645
--without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
1646
--with-gnu-ld assume the C compiler uses GNU ld [default=no]
1647
--with-pic try to use only PIC/non-PIC objects [default=use
1649
--with-tags[=TAGS] include additional configurations [automatic]
1650
--with-extra-includes=DIR
1651
adds non standard include paths
1652
--with-extra-libs=DIR adds non standard library paths
1653
--with-qt-dir=DIR where the root of Qt is installed
1654
--with-qt-includes=DIR where the Qt includes are.
1655
--with-qt-libraries=DIR where the Qt library is installed.
1656
--without-arts build without aRts default=no
1658
Some influential environment variables:
1659
CC C compiler command
1660
CFLAGS C compiler flags
1661
LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
1662
nonstandard directory <lib dir>
1663
LIBS libraries to pass to the linker, e.g. -l<library>
1664
CPPFLAGS C/C++/Objective C preprocessor flags, e.g. -I<include dir> if
1665
you have headers in a nonstandard directory <include dir>
1667
CXX C++ compiler command
1668
CXXFLAGS C++ compiler flags
1669
CXXCPP C++ preprocessor
1670
F77 Fortran 77 compiler command
1671
FFLAGS Fortran 77 compiler flags
1672
XMKMF Path to xmkmf, Makefile generator for X Window System
1674
Use these variables to override the choices made by `configure' or to help
1675
it to find libraries and programs with nonstandard names/locations.
1681
if test "$ac_init_help" = "recursive"; then
1682
# If there are subdirs, report their specific --help.
1683
for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1684
test -d "$ac_dir" || continue
1688
.) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1690
ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
1691
# A ".." for each directory in $ac_dir_suffix.
1692
ac_top_builddir_sub=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'`
1693
case $ac_top_builddir_sub in
1694
"") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1695
*) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
1698
ac_abs_top_builddir=$ac_pwd
1699
ac_abs_builddir=$ac_pwd$ac_dir_suffix
1700
# for backward compatibility:
1701
ac_top_builddir=$ac_top_build_prefix
1704
.) # We are building in place.
1706
ac_top_srcdir=$ac_top_builddir_sub
1707
ac_abs_top_srcdir=$ac_pwd ;;
1708
[\\/]* | ?:[\\/]* ) # Absolute name.
1709
ac_srcdir=$srcdir$ac_dir_suffix;
1710
ac_top_srcdir=$srcdir
1711
ac_abs_top_srcdir=$srcdir ;;
1713
ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
1714
ac_top_srcdir=$ac_top_build_prefix$srcdir
1715
ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
1717
ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1719
cd "$ac_dir" || { ac_status=$?; continue; }
1720
# Check for guested configure.
1721
if test -f "$ac_srcdir/configure.gnu"; then
1723
$SHELL "$ac_srcdir/configure.gnu" --help=recursive
1724
elif test -f "$ac_srcdir/configure"; then
1726
$SHELL "$ac_srcdir/configure" --help=recursive
1728
echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1730
cd "$ac_pwd" || { ac_status=$?; break; }
1734
test -n "$ac_init_help" && exit $ac_status
1735
if $ac_init_version; then
1738
generated by GNU Autoconf 2.61
1740
Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
1741
2002, 2003, 2004, 2005, 2006 Free Software Foundation, Inc.
1742
This configure script is free software; the Free Software Foundation
1743
gives unlimited permission to copy, distribute and modify it.
1747
cat >config.log <<_ACEOF
1748
This file contains any messages produced by compilers while
1749
running configure, to aid debugging if configure makes a mistake.
1751
It was created by $as_me, which was
1752
generated by GNU Autoconf 2.61. Invocation command line was
1764
hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
1765
uname -m = `(uname -m) 2>/dev/null || echo unknown`
1766
uname -r = `(uname -r) 2>/dev/null || echo unknown`
1767
uname -s = `(uname -s) 2>/dev/null || echo unknown`
1768
uname -v = `(uname -v) 2>/dev/null || echo unknown`
1770
/usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
1771
/bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
1773
/bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
1774
/usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
1775
/usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
1776
/usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
1777
/bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
1778
/usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
1779
/bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
1783
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1787
test -z "$as_dir" && as_dir=.
1788
echo "PATH: $as_dir"
1804
# Keep a trace of the command line.
1805
# Strip out --no-create and --no-recursion so they do not pile up.
1806
# Strip out --silent because we don't want to record it for future runs.
1807
# Also quote any args containing shell meta-characters.
1808
# Make two passes to allow for proper duplicate-argument suppression.
1812
ac_must_keep_next=false
1818
-no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
1819
-q | -quiet | --quiet | --quie | --qui | --qu | --q \
1820
| -silent | --silent | --silen | --sile | --sil)
1823
ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
1826
1) ac_configure_args0="$ac_configure_args0 '$ac_arg'" ;;
1828
ac_configure_args1="$ac_configure_args1 '$ac_arg'"
1829
if test $ac_must_keep_next = true; then
1830
ac_must_keep_next=false # Got value, back to normal.
1833
*=* | --config-cache | -C | -disable-* | --disable-* \
1834
| -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
1835
| -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
1836
| -with-* | --with-* | -without-* | --without-* | --x)
1837
case "$ac_configure_args0 " in
1838
"$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
1841
-* ) ac_must_keep_next=true ;;
1844
ac_configure_args="$ac_configure_args '$ac_arg'"
1849
$as_unset ac_configure_args0 || test "${ac_configure_args0+set}" != set || { ac_configure_args0=; export ac_configure_args0; }
1850
$as_unset ac_configure_args1 || test "${ac_configure_args1+set}" != set || { ac_configure_args1=; export ac_configure_args1; }
1852
# When interrupted or exit'd, cleanup temporary files, and complete
1853
# config.log. We remove comments because anyway the quotes in there
1854
# would cause problems or look ugly.
1855
# WARNING: Use '\'' to represent an apostrophe within the trap.
1856
# WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
1857
trap 'exit_status=$?
1858
# Save into config.log some information that might help in debugging.
1863
## ---------------- ##
1864
## Cache variables. ##
1865
## ---------------- ##
1868
# The following way of writing the cache mishandles newlines in values,
1870
for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
1871
eval ac_val=\$$ac_var
1875
*_cv_*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
1876
echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
1879
_ | IFS | as_nl) ;; #(
1880
*) $as_unset $ac_var ;;
1885
case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
1886
*${as_nl}ac_space=\ *)
1888
"s/'\''/'\''\\\\'\'''\''/g;
1889
s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
1892
sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
1900
## ----------------- ##
1901
## Output variables. ##
1902
## ----------------- ##
1905
for ac_var in $ac_subst_vars
1907
eval ac_val=\$$ac_var
1909
*\'\''*) ac_val=`echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1911
echo "$ac_var='\''$ac_val'\''"
1915
if test -n "$ac_subst_files"; then
1917
## ------------------- ##
1918
## File substitutions. ##
1919
## ------------------- ##
1922
for ac_var in $ac_subst_files
1924
eval ac_val=\$$ac_var
1926
*\'\''*) ac_val=`echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1928
echo "$ac_var='\''$ac_val'\''"
1933
if test -s confdefs.h; then
1943
test "$ac_signal" != 0 &&
1944
echo "$as_me: caught signal $ac_signal"
1945
echo "$as_me: exit $exit_status"
1947
rm -f core *.core core.conftest.* &&
1948
rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
1951
for ac_signal in 1 2 13 15; do
1952
trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
1956
# confdefs.h avoids OS command line length limits that DEFS can exceed.
1957
rm -f -r conftest* confdefs.h
1959
# Predefined preprocessor variables.
1961
cat >>confdefs.h <<_ACEOF
1962
#define PACKAGE_NAME "$PACKAGE_NAME"
1966
cat >>confdefs.h <<_ACEOF
1967
#define PACKAGE_TARNAME "$PACKAGE_TARNAME"
1971
cat >>confdefs.h <<_ACEOF
1972
#define PACKAGE_VERSION "$PACKAGE_VERSION"
1976
cat >>confdefs.h <<_ACEOF
1977
#define PACKAGE_STRING "$PACKAGE_STRING"
1981
cat >>confdefs.h <<_ACEOF
1982
#define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
1986
# Let the site file select an alternate cache file if it wants to.
1987
# Prefer explicitly selected file to automatically selected ones.
1988
if test -n "$CONFIG_SITE"; then
1989
set x "$CONFIG_SITE"
1990
elif test "x$prefix" != xNONE; then
1991
set x "$prefix/share/config.site" "$prefix/etc/config.site"
1993
set x "$ac_default_prefix/share/config.site" \
1994
"$ac_default_prefix/etc/config.site"
1999
if test -r "$ac_site_file"; then
2000
{ echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
2001
echo "$as_me: loading site script $ac_site_file" >&6;}
2002
sed 's/^/| /' "$ac_site_file" >&5
2007
if test -r "$cache_file"; then
2008
# Some versions of bash will fail to source /dev/null (special
2009
# files actually), so we avoid doing that.
2010
if test -f "$cache_file"; then
2011
{ echo "$as_me:$LINENO: loading cache $cache_file" >&5
2012
echo "$as_me: loading cache $cache_file" >&6;}
2014
[\\/]* | ?:[\\/]* ) . "$cache_file";;
2015
*) . "./$cache_file";;
2019
{ echo "$as_me:$LINENO: creating cache $cache_file" >&5
2020
echo "$as_me: creating cache $cache_file" >&6;}
2024
# Check that the precious variables saved in the cache have kept the same
2026
ac_cache_corrupted=false
2027
for ac_var in $ac_precious_vars; do
2028
eval ac_old_set=\$ac_cv_env_${ac_var}_set
2029
eval ac_new_set=\$ac_env_${ac_var}_set
2030
eval ac_old_val=\$ac_cv_env_${ac_var}_value
2031
eval ac_new_val=\$ac_env_${ac_var}_value
2032
case $ac_old_set,$ac_new_set in
2034
{ echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
2035
echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
2036
ac_cache_corrupted=: ;;
2038
{ echo "$as_me:$LINENO: error: \`$ac_var' was not set in the previous run" >&5
2039
echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
2040
ac_cache_corrupted=: ;;
2043
if test "x$ac_old_val" != "x$ac_new_val"; then
2044
{ echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5
2045
echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
2046
{ echo "$as_me:$LINENO: former value: $ac_old_val" >&5
2047
echo "$as_me: former value: $ac_old_val" >&2;}
2048
{ echo "$as_me:$LINENO: current value: $ac_new_val" >&5
2049
echo "$as_me: current value: $ac_new_val" >&2;}
2050
ac_cache_corrupted=:
2053
# Pass precious variables to config.status.
2054
if test "$ac_new_set" = set; then
2056
*\'*) ac_arg=$ac_var=`echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
2057
*) ac_arg=$ac_var=$ac_new_val ;;
2059
case " $ac_configure_args " in
2060
*" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
2061
*) ac_configure_args="$ac_configure_args '$ac_arg'" ;;
2065
if $ac_cache_corrupted; then
2066
{ echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5
2067
echo "$as_me: error: changes in the environment can compromise the build" >&2;}
2068
{ { echo "$as_me:$LINENO: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5
2069
echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;}
2070
{ (exit 1); exit 1; }; }
2090
ac_cpp='$CPP $CPPFLAGS'
2091
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2092
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2093
ac_compiler_gnu=$ac_cv_c_compiler_gnu
2097
for ac_dir in admin "$srcdir"/admin; do
2098
if test -f "$ac_dir/install-sh"; then
2100
ac_install_sh="$ac_aux_dir/install-sh -c"
2102
elif test -f "$ac_dir/install.sh"; then
2104
ac_install_sh="$ac_aux_dir/install.sh -c"
2106
elif test -f "$ac_dir/shtool"; then
2108
ac_install_sh="$ac_aux_dir/shtool install -c"
2112
if test -z "$ac_aux_dir"; then
2113
{ { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in admin \"$srcdir\"/admin" >&5
2114
echo "$as_me: error: cannot find install-sh or install.sh in admin \"$srcdir\"/admin" >&2;}
2115
{ (exit 1); exit 1; }; }
2118
# These three variables are undocumented and unsupported,
2119
# and are intended to be withdrawn in a future Autoconf release.
2120
# They can cause serious problems if a builder's source tree is in a directory
2121
# whose full name contains unusual characters.
2122
ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
2123
ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
2124
ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var.
2130
# Make sure we can run config.sub.
2131
$SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
2132
{ { echo "$as_me:$LINENO: error: cannot run $SHELL $ac_aux_dir/config.sub" >&5
2133
echo "$as_me: error: cannot run $SHELL $ac_aux_dir/config.sub" >&2;}
2134
{ (exit 1); exit 1; }; }
2136
{ echo "$as_me:$LINENO: checking build system type" >&5
2137
echo $ECHO_N "checking build system type... $ECHO_C" >&6; }
2138
if test "${ac_cv_build+set}" = set; then
2139
echo $ECHO_N "(cached) $ECHO_C" >&6
2141
ac_build_alias=$build_alias
2142
test "x$ac_build_alias" = x &&
2143
ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
2144
test "x$ac_build_alias" = x &&
2145
{ { echo "$as_me:$LINENO: error: cannot guess build type; you must specify one" >&5
2146
echo "$as_me: error: cannot guess build type; you must specify one" >&2;}
2147
{ (exit 1); exit 1; }; }
2148
ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
2149
{ { echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&5
2150
echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&2;}
2151
{ (exit 1); exit 1; }; }
2154
{ echo "$as_me:$LINENO: result: $ac_cv_build" >&5
2155
echo "${ECHO_T}$ac_cv_build" >&6; }
2156
case $ac_cv_build in
2158
*) { { echo "$as_me:$LINENO: error: invalid value of canonical build" >&5
2159
echo "$as_me: error: invalid value of canonical build" >&2;}
2160
{ (exit 1); exit 1; }; };;
2163
ac_save_IFS=$IFS; IFS='-'
2169
# Remember, the first character of IFS is used to create $*,
2170
# except with old shells:
2173
case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
2176
{ echo "$as_me:$LINENO: checking host system type" >&5
2177
echo $ECHO_N "checking host system type... $ECHO_C" >&6; }
2178
if test "${ac_cv_host+set}" = set; then
2179
echo $ECHO_N "(cached) $ECHO_C" >&6
2181
if test "x$host_alias" = x; then
2182
ac_cv_host=$ac_cv_build
2184
ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
2185
{ { echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&5
2186
echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&2;}
2187
{ (exit 1); exit 1; }; }
2191
{ echo "$as_me:$LINENO: result: $ac_cv_host" >&5
2192
echo "${ECHO_T}$ac_cv_host" >&6; }
2195
*) { { echo "$as_me:$LINENO: error: invalid value of canonical host" >&5
2196
echo "$as_me: error: invalid value of canonical host" >&2;}
2197
{ (exit 1); exit 1; }; };;
2200
ac_save_IFS=$IFS; IFS='-'
2206
# Remember, the first character of IFS is used to create $*,
2207
# except with old shells:
2210
case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
2213
{ echo "$as_me:$LINENO: checking target system type" >&5
2214
echo $ECHO_N "checking target system type... $ECHO_C" >&6; }
2215
if test "${ac_cv_target+set}" = set; then
2216
echo $ECHO_N "(cached) $ECHO_C" >&6
2218
if test "x$target_alias" = x; then
2219
ac_cv_target=$ac_cv_host
2221
ac_cv_target=`$SHELL "$ac_aux_dir/config.sub" $target_alias` ||
2222
{ { echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $target_alias failed" >&5
2223
echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $target_alias failed" >&2;}
2224
{ (exit 1); exit 1; }; }
2228
{ echo "$as_me:$LINENO: result: $ac_cv_target" >&5
2229
echo "${ECHO_T}$ac_cv_target" >&6; }
2230
case $ac_cv_target in
2232
*) { { echo "$as_me:$LINENO: error: invalid value of canonical target" >&5
2233
echo "$as_me: error: invalid value of canonical target" >&2;}
2234
{ (exit 1); exit 1; }; };;
2236
target=$ac_cv_target
2237
ac_save_IFS=$IFS; IFS='-'
2243
# Remember, the first character of IFS is used to create $*,
2244
# except with old shells:
2247
case $target_os in *\ *) target_os=`echo "$target_os" | sed 's/ /-/g'`;; esac
2250
# The aliases save the names the user supplied, while $host etc.
2251
# will get canonicalized.
2252
test -n "$target_alias" &&
2253
test "$program_prefix$program_suffix$program_transform_name" = \
2255
program_prefix=${target_alias}-
2256
test "$program_prefix" != NONE &&
2257
program_transform_name="s&^&$program_prefix&;$program_transform_name"
2258
# Use a double $ so make ignores it.
2259
test "$program_suffix" != NONE &&
2260
program_transform_name="s&\$&$program_suffix&;$program_transform_name"
2261
# Double any \ or $. echo might interpret backslashes.
2262
# By default was `s,x,x', remove it if useless.
2263
cat <<\_ACEOF >conftest.sed
2264
s/[\\$]/&&/g;s/;s,x,x,$//
2266
program_transform_name=`echo $program_transform_name | sed -f conftest.sed`
2270
am__api_version="1.9"
2273
test -n "$INSTALL" && kde_save_INSTALL_given=$INSTALL
2274
test -n "$INSTALL_PROGRAM" && kde_save_INSTALL_PROGRAM_given=$INSTALL_PROGRAM
2275
test -n "$INSTALL_SCRIPT" && kde_save_INSTALL_SCRIPT_given=$INSTALL_SCRIPT
2276
# Find a good install program. We prefer a C program (faster),
2277
# so one script is as good as another. But avoid the broken or
2278
# incompatible versions:
2279
# SysV /etc/install, /usr/sbin/install
2280
# SunOS /usr/etc/install
2281
# IRIX /sbin/install
2283
# AmigaOS /C/install, which installs bootblocks on floppy discs
2284
# AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
2285
# AFS /usr/afsws/bin/install, which mishandles nonexistent args
2286
# SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
2287
# OS/2's system install, which has a completely different semantic
2288
# ./install, which can be erroneously created by make from ./install.sh.
2289
{ echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
2290
echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6; }
2291
if test -z "$INSTALL"; then
2292
if test "${ac_cv_path_install+set}" = set; then
2293
echo $ECHO_N "(cached) $ECHO_C" >&6
2295
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2299
test -z "$as_dir" && as_dir=.
2300
# Account for people who put trailing slashes in PATH elements.
2302
./ | .// | /cC/* | \
2303
/etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
2304
?:\\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \
2307
# OSF1 and SCO ODT 3.0 have their own names for install.
2308
# Don't use installbsd from OSF since it installs stuff as root
2310
for ac_prog in ginstall scoinst install; do
2311
for ac_exec_ext in '' $ac_executable_extensions; do
2312
if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
2313
if test $ac_prog = install &&
2314
grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
2315
# AIX install. It has an incompatible calling convention.
2317
elif test $ac_prog = install &&
2318
grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
2319
# program-specific install script used by HP pwplus--don't use.
2322
ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
2335
if test "${ac_cv_path_install+set}" = set; then
2336
INSTALL=$ac_cv_path_install
2338
# As a last resort, use the slow shell script. Don't cache a
2339
# value for INSTALL within a source directory, because that will
2340
# break other packages using the cache if that directory is
2341
# removed, or if the value is a relative name.
2342
INSTALL=$ac_install_sh
2345
{ echo "$as_me:$LINENO: result: $INSTALL" >&5
2346
echo "${ECHO_T}$INSTALL" >&6; }
2348
# Use test -z because SunOS4 sh mishandles braces in ${var-val}.
2349
# It thinks the first close brace ends the variable substitution.
2350
test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
2352
test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
2354
test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
2357
if test -z "$kde_save_INSTALL_given" ; then
2358
# OK, user hasn't given any INSTALL, autoconf found one for us
2359
# now we test, if it supports the -p flag
2360
{ echo "$as_me:$LINENO: checking for -p flag to install" >&5
2361
echo $ECHO_N "checking for -p flag to install... $ECHO_C" >&6; }
2362
rm -f confinst.$$.* > /dev/null 2>&1
2363
echo "Testtest" > confinst.$$.orig
2365
if ${INSTALL} -p confinst.$$.orig confinst.$$.new > /dev/null 2>&1 ; then
2366
if test -f confinst.$$.new ; then
2367
# OK, -p seems to do no harm to install
2368
INSTALL="${INSTALL} -p"
2373
{ echo "$as_me:$LINENO: result: $ac_res" >&5
2374
echo "${ECHO_T}$ac_res" >&6; }
2377
if test -z "$kde_save_INSTALL_PROGRAM_given" ; then
2378
INSTALL_PROGRAM='${INSTALL} $(INSTALL_STRIP_FLAG)'
2380
if test -z "$kde_save_INSTALL_SCRIPT_given" ; then
2381
INSTALL_SCRIPT='${INSTALL}'
2384
{ echo "$as_me:$LINENO: checking whether build environment is sane" >&5
2385
echo $ECHO_N "checking whether build environment is sane... $ECHO_C" >&6; }
2388
echo timestamp > conftest.file
2389
# Do `set' in a subshell so we don't clobber the current shell's
2390
# arguments. Must try -L first in case configure is actually a
2391
# symlink; some systems play weird games with the mod time of symlinks
2392
# (eg FreeBSD returns the mod time of the symlink's containing
2395
set X `ls -Lt $srcdir/configure conftest.file 2> /dev/null`
2396
if test "$*" = "X"; then
2398
set X `ls -t $srcdir/configure conftest.file`
2401
if test "$*" != "X $srcdir/configure conftest.file" \
2402
&& test "$*" != "X conftest.file $srcdir/configure"; then
2404
# If neither matched, then we have a broken ls. This can happen
2405
# if, for instance, CONFIG_SHELL is bash and it inherits a
2406
# broken ls alias from the environment. This has actually
2407
# happened. Such a system could not be considered "sane".
2408
{ { echo "$as_me:$LINENO: error: ls -t appears to fail. Make sure there is not a broken
2409
alias in your environment" >&5
2410
echo "$as_me: error: ls -t appears to fail. Make sure there is not a broken
2411
alias in your environment" >&2;}
2412
{ (exit 1); exit 1; }; }
2415
test "$2" = conftest.file
2421
{ { echo "$as_me:$LINENO: error: newly created file is older than distributed files!
2422
Check your system clock" >&5
2423
echo "$as_me: error: newly created file is older than distributed files!
2424
Check your system clock" >&2;}
2425
{ (exit 1); exit 1; }; }
2427
{ echo "$as_me:$LINENO: result: yes" >&5
2428
echo "${ECHO_T}yes" >&6; }
2429
# expand $ac_aux_dir to an absolute path
2430
am_aux_dir=`cd $ac_aux_dir && pwd`
2432
test x"${MISSING+set}" = xset || MISSING="\${SHELL} $am_aux_dir/missing"
2433
# Use eval to expand $SHELL
2434
if eval "$MISSING --run true"; then
2435
am_missing_run="$MISSING --run "
2438
{ echo "$as_me:$LINENO: WARNING: \`missing' script is too old or missing" >&5
2439
echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;}
2442
if mkdir -p --version . >/dev/null 2>&1 && test ! -d ./--version; then
2443
# We used to keeping the `.' as first argument, in order to
2444
# allow $(mkdir_p) to be used without argument. As in
2445
# $(mkdir_p) $(somedir)
2446
# where $(somedir) is conditionally defined. However this is wrong
2448
# 1. if the package is installed by a user who cannot write `.'
2449
# make install will fail,
2450
# 2. the above comment should most certainly read
2451
# $(mkdir_p) $(DESTDIR)$(somedir)
2452
# so it does not work when $(somedir) is undefined and
2453
# $(DESTDIR) is not.
2454
# To support the latter case, we have to write
2455
# test -z "$(somedir)" || $(mkdir_p) $(DESTDIR)$(somedir),
2456
# so the `.' trick is pointless.
2457
mkdir_p='mkdir -p --'
2459
# On NextStep and OpenStep, the `mkdir' command does not
2460
# recognize any option. It will interpret all options as
2461
# directories to create, and then abort because `.' already
2463
for d in ./-p ./--version;
2465
test -d $d && rmdir $d
2467
# $(mkinstalldirs) is defined by Automake if mkinstalldirs exists.
2468
if test -f "$ac_aux_dir/mkinstalldirs"; then
2469
mkdir_p='$(mkinstalldirs)'
2471
mkdir_p='$(install_sh) -d'
2475
for ac_prog in gawk mawk nawk awk
2477
# Extract the first word of "$ac_prog", so it can be a program name with args.
2478
set dummy $ac_prog; ac_word=$2
2479
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
2480
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2481
if test "${ac_cv_prog_AWK+set}" = set; then
2482
echo $ECHO_N "(cached) $ECHO_C" >&6
2484
if test -n "$AWK"; then
2485
ac_cv_prog_AWK="$AWK" # Let the user override the test.
2487
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2491
test -z "$as_dir" && as_dir=.
2492
for ac_exec_ext in '' $ac_executable_extensions; do
2493
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2494
ac_cv_prog_AWK="$ac_prog"
2495
echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2505
if test -n "$AWK"; then
2506
{ echo "$as_me:$LINENO: result: $AWK" >&5
2507
echo "${ECHO_T}$AWK" >&6; }
2509
{ echo "$as_me:$LINENO: result: no" >&5
2510
echo "${ECHO_T}no" >&6; }
2514
test -n "$AWK" && break
2517
{ echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
2518
echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6; }
2519
set x ${MAKE-make}; ac_make=`echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
2520
if { as_var=ac_cv_prog_make_${ac_make}_set; eval "test \"\${$as_var+set}\" = set"; }; then
2521
echo $ECHO_N "(cached) $ECHO_C" >&6
2523
cat >conftest.make <<\_ACEOF
2526
@echo '@@@%%%=$(MAKE)=@@@%%%'
2528
# GNU make sometimes prints "make[1]: Entering...", which would confuse us.
2529
case `${MAKE-make} -f conftest.make 2>/dev/null` in
2531
eval ac_cv_prog_make_${ac_make}_set=yes;;
2533
eval ac_cv_prog_make_${ac_make}_set=no;;
2537
if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
2538
{ echo "$as_me:$LINENO: result: yes" >&5
2539
echo "${ECHO_T}yes" >&6; }
2542
{ echo "$as_me:$LINENO: result: no" >&5
2543
echo "${ECHO_T}no" >&6; }
2544
SET_MAKE="MAKE=${MAKE-make}"
2547
rm -rf .tst 2>/dev/null
2548
mkdir .tst 2>/dev/null
2549
if test -d .tst; then
2554
rmdir .tst 2>/dev/null
2556
# test to see if srcdir already configured
2557
if test "`cd $srcdir && pwd`" != "`pwd`" &&
2558
test -f $srcdir/config.status; then
2559
{ { echo "$as_me:$LINENO: error: source directory already configured; run \"make distclean\" there first" >&5
2560
echo "$as_me: error: source directory already configured; run \"make distclean\" there first" >&2;}
2561
{ (exit 1); exit 1; }; }
2564
# test whether we have cygpath
2565
if test -z "$CYGPATH_W"; then
2566
if (cygpath --version) >/dev/null 2>/dev/null; then
2567
CYGPATH_W='cygpath -w'
2574
# Define the identity of the package.
2579
cat >>confdefs.h <<_ACEOF
2580
#define PACKAGE "$PACKAGE"
2584
cat >>confdefs.h <<_ACEOF
2585
#define VERSION "$VERSION"
2588
# Some tools Automake needs.
2590
ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
2593
AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}
2596
AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
2599
AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"}
2602
MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
2604
install_sh=${install_sh-"$am_aux_dir/install-sh"}
2606
# Installed binaries are usually stripped using `strip' when the user
2607
# run `make install-strip'. However `strip' might not be the right
2608
# tool to use in cross-compilation environments, therefore Automake
2609
# will honor the `STRIP' environment variable to overrule this program.
2610
if test "$cross_compiling" != no; then
2611
if test -n "$ac_tool_prefix"; then
2612
# Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
2613
set dummy ${ac_tool_prefix}strip; ac_word=$2
2614
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
2615
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2616
if test "${ac_cv_prog_STRIP+set}" = set; then
2617
echo $ECHO_N "(cached) $ECHO_C" >&6
2619
if test -n "$STRIP"; then
2620
ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
2622
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2626
test -z "$as_dir" && as_dir=.
2627
for ac_exec_ext in '' $ac_executable_extensions; do
2628
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2629
ac_cv_prog_STRIP="${ac_tool_prefix}strip"
2630
echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2639
STRIP=$ac_cv_prog_STRIP
2640
if test -n "$STRIP"; then
2641
{ echo "$as_me:$LINENO: result: $STRIP" >&5
2642
echo "${ECHO_T}$STRIP" >&6; }
2644
{ echo "$as_me:$LINENO: result: no" >&5
2645
echo "${ECHO_T}no" >&6; }
2650
if test -z "$ac_cv_prog_STRIP"; then
2652
# Extract the first word of "strip", so it can be a program name with args.
2653
set dummy strip; ac_word=$2
2654
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
2655
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2656
if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
2657
echo $ECHO_N "(cached) $ECHO_C" >&6
2659
if test -n "$ac_ct_STRIP"; then
2660
ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
2662
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2666
test -z "$as_dir" && as_dir=.
2667
for ac_exec_ext in '' $ac_executable_extensions; do
2668
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2669
ac_cv_prog_ac_ct_STRIP="strip"
2670
echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2679
ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
2680
if test -n "$ac_ct_STRIP"; then
2681
{ echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
2682
echo "${ECHO_T}$ac_ct_STRIP" >&6; }
2684
{ echo "$as_me:$LINENO: result: no" >&5
2685
echo "${ECHO_T}no" >&6; }
2688
if test "x$ac_ct_STRIP" = x; then
2691
case $cross_compiling:$ac_tool_warned in
2693
{ echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
2694
whose name does not start with the host triplet. If you think this
2695
configuration is useful to you, please write to autoconf@gnu.org." >&5
2696
echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
2697
whose name does not start with the host triplet. If you think this
2698
configuration is useful to you, please write to autoconf@gnu.org." >&2;}
2699
ac_tool_warned=yes ;;
2704
STRIP="$ac_cv_prog_STRIP"
2708
INSTALL_STRIP_PROGRAM="\${SHELL} \$(install_sh) -c -s"
2710
# We need awk for the "check" target. The system "awk" is bad on
2712
# Always define AMTAR for backward compatibility.
2714
AMTAR=${AMTAR-"${am_missing_run}tar"}
2716
am__tar='${AMTAR} chof - "$$tardir"'; am__untar='${AMTAR} xf -'
2727
kde_default_bindirs="/usr/bin /usr/local/bin /opt/local/bin /usr/X11R6/bin /opt/kde/bin /opt/kde3/bin /usr/kde/bin /usr/local/kde/bin"
2728
test -n "$KDEDIR" && kde_default_bindirs="$KDEDIR/bin $kde_default_bindirs"
2729
if test -n "$KDEDIRS"; then
2732
for dir in $KDEDIRS; do
2733
kde_default_bindirs="$dir/bin $kde_default_bindirs "
2738
if test "x$prefix" = "xNONE"; then
2740
{ echo "$as_me:$LINENO: checking for kde-config" >&5
2741
echo $ECHO_N "checking for kde-config... $ECHO_C" >&6; }
2742
if test -n "$KDECONFIG"; then
2743
kde_cv_path="$KDECONFIG";
2745
kde_cache=`echo kde-config | sed 'y%./+-%__p_%'`
2747
if { as_var=kde_cv_path_$kde_cache; eval "test \"\${$as_var+set}\" = set"; }; then
2748
echo $ECHO_N "(cached) $ECHO_C" >&6
2755
for dir in $PATH; do
2758
if test -z "prepend"; then dirs="$kde_default_bindirs $dirs"
2759
else dirs="$dirs $kde_default_bindirs"
2763
for dir in $dirs; do
2764
if test -x "$dir/kde-config"; then
2767
evalstr="$dir/kde-config 2>&1 "
2768
if eval $evalstr; then
2769
kde_cv_path="$dir/kde-config"
2773
kde_cv_path="$dir/kde-config"
2779
eval "kde_cv_path_$kde_cache=$kde_cv_path"
2785
eval "kde_cv_path=\"`echo '$kde_cv_path_'$kde_cache`\""
2789
if test -z "$kde_cv_path" || test "$kde_cv_path" = NONE; then
2790
{ echo "$as_me:$LINENO: result: not found" >&5
2791
echo "${ECHO_T}not found" >&6; }
2793
{ { echo "$as_me:$LINENO: error: The important program kde-config was not found!
2794
Please check whether you installed KDE correctly.
2796
echo "$as_me: error: The important program kde-config was not found!
2797
Please check whether you installed KDE correctly.
2799
{ (exit 1); exit 1; }; }
2802
{ echo "$as_me:$LINENO: result: $kde_cv_path" >&5
2803
echo "${ECHO_T}$kde_cv_path" >&6; }
2804
KDECONFIG=$kde_cv_path
2809
kde_save_PATH="$PATH"
2810
PATH="$exec_prefix/bin:$prefix/bin:$PATH"
2812
{ echo "$as_me:$LINENO: checking for kde-config" >&5
2813
echo $ECHO_N "checking for kde-config... $ECHO_C" >&6; }
2814
if test -n "$KDECONFIG"; then
2815
kde_cv_path="$KDECONFIG";
2817
kde_cache=`echo kde-config | sed 'y%./+-%__p_%'`
2819
if { as_var=kde_cv_path_$kde_cache; eval "test \"\${$as_var+set}\" = set"; }; then
2820
echo $ECHO_N "(cached) $ECHO_C" >&6
2827
for dir in $PATH; do
2830
if test -z "prepend"; then dirs="$kde_default_bindirs $dirs"
2831
else dirs="$dirs $kde_default_bindirs"
2835
for dir in $dirs; do
2836
if test -x "$dir/kde-config"; then
2839
evalstr="$dir/kde-config 2>&1 "
2840
if eval $evalstr; then
2841
kde_cv_path="$dir/kde-config"
2845
kde_cv_path="$dir/kde-config"
2851
eval "kde_cv_path_$kde_cache=$kde_cv_path"
2857
eval "kde_cv_path=\"`echo '$kde_cv_path_'$kde_cache`\""
2861
if test -z "$kde_cv_path" || test "$kde_cv_path" = NONE; then
2862
{ echo "$as_me:$LINENO: result: not found" >&5
2863
echo "${ECHO_T}not found" >&6; }
2865
{ { echo "$as_me:$LINENO: error: The important program kde-config was not found!
2866
Please check whether you installed KDE correctly.
2868
echo "$as_me: error: The important program kde-config was not found!
2869
Please check whether you installed KDE correctly.
2871
{ (exit 1); exit 1; }; }
2874
{ echo "$as_me:$LINENO: result: $kde_cv_path" >&5
2875
echo "${ECHO_T}$kde_cv_path" >&6; }
2876
KDECONFIG=$kde_cv_path
2880
PATH="$kde_save_PATH"
2883
kde_libs_prefix=`$KDECONFIG --prefix`
2884
if test -z "$kde_libs_prefix" || test ! -x "$kde_libs_prefix"; then
2885
{ { echo "$as_me:$LINENO: error: $KDECONFIG --prefix outputed the non existant prefix '$kde_libs_prefix' for kdelibs.
2886
This means it has been moved since you installed it.
2887
This won't work. Please recompile kdelibs for the new prefix.
2889
echo "$as_me: error: $KDECONFIG --prefix outputed the non existant prefix '$kde_libs_prefix' for kdelibs.
2890
This means it has been moved since you installed it.
2891
This won't work. Please recompile kdelibs for the new prefix.
2893
{ (exit 1); exit 1; }; }
2895
kde_libs_htmldir=`$KDECONFIG --install html --expandvars`
2897
{ echo "$as_me:$LINENO: checking where to install" >&5
2898
echo $ECHO_N "checking where to install... $ECHO_C" >&6; }
2899
if test "x$prefix" = "xNONE"; then
2900
prefix=$kde_libs_prefix
2901
{ echo "$as_me:$LINENO: result: $prefix (as returned by kde-config)" >&5
2902
echo "${ECHO_T}$prefix (as returned by kde-config)" >&6; }
2904
given_prefix=$prefix
2905
{ echo "$as_me:$LINENO: result: $prefix (as requested)" >&5
2906
echo "${ECHO_T}$prefix (as requested)" >&6; }
2909
# And delete superfluous '/' to make compares easier
2910
prefix=`echo "$prefix" | sed 's,//*,/,g' | sed -e 's,/$,,'`
2911
exec_prefix=`echo "$exec_prefix" | sed 's,//*,/,g' | sed -e 's,/$,,'`
2912
given_prefix=`echo "$given_prefix" | sed 's,//*,/,g' | sed -e 's,/$,,'`
2919
# Check whether --enable-fast-perl was given.
2920
if test "${enable_fast_perl+set}" = set; then
2921
enableval=$enable_fast_perl; with_fast_perl=$enableval
2929
if test -f $srcdir/configure.files ; then
2930
val=`sed -e 's%^%\$(top_srcdir)/%' $srcdir/configure.files`
2933
if test -n "$val" ; then
2935
CONF_FILES="$CONF_FILES $i"
2942
ac_config_headers="$ac_config_headers config.h"
2944
DEPDIR="${am__leading_dot}deps"
2946
ac_config_commands="$ac_config_commands depfiles"
2949
am_make=${MAKE-make}
2950
cat > confinc << 'END'
2955
# If we don't find an include directive, just comment out the code.
2956
{ echo "$as_me:$LINENO: checking for style of include used by $am_make" >&5
2957
echo $ECHO_N "checking for style of include used by $am_make... $ECHO_C" >&6; }
2961
# First try GNU make style include.
2962
echo "include confinc" > confmf
2963
# We grep out `Entering directory' and `Leaving directory'
2964
# messages which can occur if `w' ends up in MAKEFLAGS.
2965
# In particular we don't look at `^make:' because GNU make might
2966
# be invoked under some other name (usually "gmake"), in which
2967
# case it prints its new name instead of `make'.
2968
if test "`$am_make -s -f confmf 2> /dev/null | grep -v 'ing directory'`" = "done"; then
2973
# Now try BSD make style include.
2974
if test "$am__include" = "#"; then
2975
echo '.include "confinc"' > confmf
2976
if test "`$am_make -s -f confmf 2> /dev/null`" = "done"; then
2977
am__include=.include
2984
{ echo "$as_me:$LINENO: result: $_am_result" >&5
2985
echo "${ECHO_T}$_am_result" >&6; }
2986
rm -f confinc confmf
2988
# Check whether --enable-dependency-tracking was given.
2989
if test "${enable_dependency_tracking+set}" = set; then
2990
enableval=$enable_dependency_tracking;
2993
if test "x$enable_dependency_tracking" != xno; then
2994
am_depcomp="$ac_aux_dir/depcomp"
2999
if test "x$enable_dependency_tracking" != xno; then
3012
# Check whether --enable-debug was given.
3013
if test "${enable_debug+set}" = set; then
3014
enableval=$enable_debug;
3017
kde_use_debug_code="yes"
3018
kde_use_debug_define=no
3021
kde_use_debug_code="full"
3022
kde_use_debug_define=no
3025
kde_use_debug_code="no"
3026
kde_use_debug_define=yes
3031
kde_use_debug_code="no"
3032
kde_use_debug_define=no
3037
# Check whether --enable-dummyoption was given.
3038
if test "${enable_dummyoption+set}" = set; then
3039
enableval=$enable_dummyoption;
3043
# Check whether --enable-strict was given.
3044
if test "${enable_strict+set}" = set; then
3045
enableval=$enable_strict;
3046
if test $enableval = "no"; then
3047
kde_use_strict_options="no"
3049
kde_use_strict_options="yes"
3053
kde_use_strict_options="no"
3057
# Check whether --enable-warnings was given.
3058
if test "${enable_warnings+set}" = set; then
3059
enableval=$enable_warnings;
3060
if test $enableval = "no"; then
3061
kde_use_warnings="no"
3063
kde_use_warnings="yes"
3067
kde_use_warnings="yes"
3071
if test "$kde_use_debug_code" != "no"; then
3072
kde_use_warnings=yes
3075
# Check whether --enable-profile was given.
3076
if test "${enable_profile+set}" = set; then
3077
enableval=$enable_profile; kde_use_profiling=$enableval
3079
kde_use_profiling="no"
3087
ac_cpp='$CPP $CPPFLAGS'
3088
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3089
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3090
ac_compiler_gnu=$ac_cv_c_compiler_gnu
3091
if test -n "$ac_tool_prefix"; then
3092
# Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
3093
set dummy ${ac_tool_prefix}gcc; ac_word=$2
3094
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
3095
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
3096
if test "${ac_cv_prog_CC+set}" = set; then
3097
echo $ECHO_N "(cached) $ECHO_C" >&6
3099
if test -n "$CC"; then
3100
ac_cv_prog_CC="$CC" # Let the user override the test.
3102
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3106
test -z "$as_dir" && as_dir=.
3107
for ac_exec_ext in '' $ac_executable_extensions; do
3108
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3109
ac_cv_prog_CC="${ac_tool_prefix}gcc"
3110
echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3120
if test -n "$CC"; then
3121
{ echo "$as_me:$LINENO: result: $CC" >&5
3122
echo "${ECHO_T}$CC" >&6; }
3124
{ echo "$as_me:$LINENO: result: no" >&5
3125
echo "${ECHO_T}no" >&6; }
3130
if test -z "$ac_cv_prog_CC"; then
3132
# Extract the first word of "gcc", so it can be a program name with args.
3133
set dummy gcc; ac_word=$2
3134
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
3135
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
3136
if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
3137
echo $ECHO_N "(cached) $ECHO_C" >&6
3139
if test -n "$ac_ct_CC"; then
3140
ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
3142
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3146
test -z "$as_dir" && as_dir=.
3147
for ac_exec_ext in '' $ac_executable_extensions; do
3148
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3149
ac_cv_prog_ac_ct_CC="gcc"
3150
echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3159
ac_ct_CC=$ac_cv_prog_ac_ct_CC
3160
if test -n "$ac_ct_CC"; then
3161
{ echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
3162
echo "${ECHO_T}$ac_ct_CC" >&6; }
3164
{ echo "$as_me:$LINENO: result: no" >&5
3165
echo "${ECHO_T}no" >&6; }
3168
if test "x$ac_ct_CC" = x; then
3171
case $cross_compiling:$ac_tool_warned in
3173
{ echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
3174
whose name does not start with the host triplet. If you think this
3175
configuration is useful to you, please write to autoconf@gnu.org." >&5
3176
echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
3177
whose name does not start with the host triplet. If you think this
3178
configuration is useful to you, please write to autoconf@gnu.org." >&2;}
3179
ac_tool_warned=yes ;;
3187
if test -z "$CC"; then
3188
if test -n "$ac_tool_prefix"; then
3189
# Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
3190
set dummy ${ac_tool_prefix}cc; ac_word=$2
3191
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
3192
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
3193
if test "${ac_cv_prog_CC+set}" = set; then
3194
echo $ECHO_N "(cached) $ECHO_C" >&6
3196
if test -n "$CC"; then
3197
ac_cv_prog_CC="$CC" # Let the user override the test.
3199
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3203
test -z "$as_dir" && as_dir=.
3204
for ac_exec_ext in '' $ac_executable_extensions; do
3205
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3206
ac_cv_prog_CC="${ac_tool_prefix}cc"
3207
echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3217
if test -n "$CC"; then
3218
{ echo "$as_me:$LINENO: result: $CC" >&5
3219
echo "${ECHO_T}$CC" >&6; }
3221
{ echo "$as_me:$LINENO: result: no" >&5
3222
echo "${ECHO_T}no" >&6; }
3228
if test -z "$CC"; then
3229
# Extract the first word of "cc", so it can be a program name with args.
3230
set dummy cc; ac_word=$2
3231
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
3232
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
3233
if test "${ac_cv_prog_CC+set}" = set; then
3234
echo $ECHO_N "(cached) $ECHO_C" >&6
3236
if test -n "$CC"; then
3237
ac_cv_prog_CC="$CC" # Let the user override the test.
3240
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3244
test -z "$as_dir" && as_dir=.
3245
for ac_exec_ext in '' $ac_executable_extensions; do
3246
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3247
if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
3248
ac_prog_rejected=yes
3252
echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3259
if test $ac_prog_rejected = yes; then
3260
# We found a bogon in the path, so make sure we never use it.
3261
set dummy $ac_cv_prog_CC
3263
if test $# != 0; then
3264
# We chose a different compiler from the bogus one.
3265
# However, it has the same basename, so the bogon will be chosen
3266
# first if we set CC to just the basename; use the full file name.
3268
ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
3274
if test -n "$CC"; then
3275
{ echo "$as_me:$LINENO: result: $CC" >&5
3276
echo "${ECHO_T}$CC" >&6; }
3278
{ echo "$as_me:$LINENO: result: no" >&5
3279
echo "${ECHO_T}no" >&6; }
3284
if test -z "$CC"; then
3285
if test -n "$ac_tool_prefix"; then
3286
for ac_prog in cl.exe
3288
# Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
3289
set dummy $ac_tool_prefix$ac_prog; ac_word=$2
3290
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
3291
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
3292
if test "${ac_cv_prog_CC+set}" = set; then
3293
echo $ECHO_N "(cached) $ECHO_C" >&6
3295
if test -n "$CC"; then
3296
ac_cv_prog_CC="$CC" # Let the user override the test.
3298
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3302
test -z "$as_dir" && as_dir=.
3303
for ac_exec_ext in '' $ac_executable_extensions; do
3304
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3305
ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
3306
echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3316
if test -n "$CC"; then
3317
{ echo "$as_me:$LINENO: result: $CC" >&5
3318
echo "${ECHO_T}$CC" >&6; }
3320
{ echo "$as_me:$LINENO: result: no" >&5
3321
echo "${ECHO_T}no" >&6; }
3325
test -n "$CC" && break
3328
if test -z "$CC"; then
3330
for ac_prog in cl.exe
3332
# Extract the first word of "$ac_prog", so it can be a program name with args.
3333
set dummy $ac_prog; ac_word=$2
3334
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
3335
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
3336
if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
3337
echo $ECHO_N "(cached) $ECHO_C" >&6
3339
if test -n "$ac_ct_CC"; then
3340
ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
3342
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3346
test -z "$as_dir" && as_dir=.
3347
for ac_exec_ext in '' $ac_executable_extensions; do
3348
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3349
ac_cv_prog_ac_ct_CC="$ac_prog"
3350
echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3359
ac_ct_CC=$ac_cv_prog_ac_ct_CC
3360
if test -n "$ac_ct_CC"; then
3361
{ echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
3362
echo "${ECHO_T}$ac_ct_CC" >&6; }
3364
{ echo "$as_me:$LINENO: result: no" >&5
3365
echo "${ECHO_T}no" >&6; }
3369
test -n "$ac_ct_CC" && break
3372
if test "x$ac_ct_CC" = x; then
3375
case $cross_compiling:$ac_tool_warned in
3377
{ echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
3378
whose name does not start with the host triplet. If you think this
3379
configuration is useful to you, please write to autoconf@gnu.org." >&5
3380
echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
3381
whose name does not start with the host triplet. If you think this
3382
configuration is useful to you, please write to autoconf@gnu.org." >&2;}
3383
ac_tool_warned=yes ;;
3392
test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
3393
See \`config.log' for more details." >&5
3394
echo "$as_me: error: no acceptable C compiler found in \$PATH
3395
See \`config.log' for more details." >&2;}
3396
{ (exit 1); exit 1; }; }
3398
# Provide some information about the compiler.
3399
echo "$as_me:$LINENO: checking for C compiler version" >&5
3400
ac_compiler=`set X $ac_compile; echo $2`
3401
{ (ac_try="$ac_compiler --version >&5"
3403
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3404
*) ac_try_echo=$ac_try;;
3406
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3407
(eval "$ac_compiler --version >&5") 2>&5
3409
echo "$as_me:$LINENO: \$? = $ac_status" >&5
3410
(exit $ac_status); }
3411
{ (ac_try="$ac_compiler -v >&5"
3413
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3414
*) ac_try_echo=$ac_try;;
3416
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3417
(eval "$ac_compiler -v >&5") 2>&5
3419
echo "$as_me:$LINENO: \$? = $ac_status" >&5
3420
(exit $ac_status); }
3421
{ (ac_try="$ac_compiler -V >&5"
3423
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3424
*) ac_try_echo=$ac_try;;
3426
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3427
(eval "$ac_compiler -V >&5") 2>&5
3429
echo "$as_me:$LINENO: \$? = $ac_status" >&5
3430
(exit $ac_status); }
3432
cat >conftest.$ac_ext <<_ACEOF
3435
cat confdefs.h >>conftest.$ac_ext
3436
cat >>conftest.$ac_ext <<_ACEOF
3437
/* end confdefs.h. */
3447
ac_clean_files_save=$ac_clean_files
3448
ac_clean_files="$ac_clean_files a.out a.exe b.out"
3449
# Try to create an executable without -o first, disregard a.out.
3450
# It will help us diagnose broken compilers, and finding out an intuition
3452
{ echo "$as_me:$LINENO: checking for C compiler default output file name" >&5
3453
echo $ECHO_N "checking for C compiler default output file name... $ECHO_C" >&6; }
3454
ac_link_default=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
3456
# List of possible output files, starting from the most likely.
3457
# The algorithm is not robust to junk in `.', hence go to wildcards (a.*)
3458
# only as a last resort. b.out is created by i960 compilers.
3459
ac_files='a_out.exe a.exe conftest.exe a.out conftest a.* conftest.* b.out'
3461
# The IRIX 6 linker writes into existing files which may not be
3462
# executable, retaining their permissions. Remove them first so a
3463
# subsequent execution test works.
3465
for ac_file in $ac_files
3468
*.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj ) ;;
3469
* ) ac_rmfiles="$ac_rmfiles $ac_file";;
3474
if { (ac_try="$ac_link_default"
3476
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3477
*) ac_try_echo=$ac_try;;
3479
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3480
(eval "$ac_link_default") 2>&5
3482
echo "$as_me:$LINENO: \$? = $ac_status" >&5
3483
(exit $ac_status); }; then
3484
# Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
3485
# So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
3486
# in a Makefile. We should not override ac_cv_exeext if it was cached,
3487
# so that the user can short-circuit this test for compilers unknown to
3489
for ac_file in $ac_files ''
3491
test -f "$ac_file" || continue
3493
*.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj )
3496
# We found the default executable, but exeext='' is most
3500
if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
3502
ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
3504
# We set ac_cv_exeext here because the later test for it is not
3505
# safe: cross compilers may not add the suffix if given an `-o'
3506
# argument, so we may need to know it at that point already.
3507
# Even if this section looks crufty: it has the advantage of
3514
test "$ac_cv_exeext" = no && ac_cv_exeext=
3520
{ echo "$as_me:$LINENO: result: $ac_file" >&5
3521
echo "${ECHO_T}$ac_file" >&6; }
3522
if test -z "$ac_file"; then
3523
echo "$as_me: failed program was:" >&5
3524
sed 's/^/| /' conftest.$ac_ext >&5
3526
{ { echo "$as_me:$LINENO: error: C compiler cannot create executables
3527
See \`config.log' for more details." >&5
3528
echo "$as_me: error: C compiler cannot create executables
3529
See \`config.log' for more details." >&2;}
3530
{ (exit 77); exit 77; }; }
3533
ac_exeext=$ac_cv_exeext
3535
# Check that the compiler produces executables we can run. If not, either
3536
# the compiler is broken, or we cross compile.
3537
{ echo "$as_me:$LINENO: checking whether the C compiler works" >&5
3538
echo $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6; }
3539
# FIXME: These cross compiler hacks should be removed for Autoconf 3.0
3540
# If not cross compiling, check that we can run a simple program.
3541
if test "$cross_compiling" != yes; then
3542
if { ac_try='./$ac_file'
3543
{ (case "(($ac_try" in
3544
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3545
*) ac_try_echo=$ac_try;;
3547
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3548
(eval "$ac_try") 2>&5
3550
echo "$as_me:$LINENO: \$? = $ac_status" >&5
3551
(exit $ac_status); }; }; then
3554
if test "$cross_compiling" = maybe; then
3557
{ { echo "$as_me:$LINENO: error: cannot run C compiled programs.
3558
If you meant to cross compile, use \`--host'.
3559
See \`config.log' for more details." >&5
3560
echo "$as_me: error: cannot run C compiled programs.
3561
If you meant to cross compile, use \`--host'.
3562
See \`config.log' for more details." >&2;}
3563
{ (exit 1); exit 1; }; }
3567
{ echo "$as_me:$LINENO: result: yes" >&5
3568
echo "${ECHO_T}yes" >&6; }
3570
rm -f a.out a.exe conftest$ac_cv_exeext b.out
3571
ac_clean_files=$ac_clean_files_save
3572
# Check that the compiler produces executables we can run. If not, either
3573
# the compiler is broken, or we cross compile.
3574
{ echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
3575
echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6; }
3576
{ echo "$as_me:$LINENO: result: $cross_compiling" >&5
3577
echo "${ECHO_T}$cross_compiling" >&6; }
3579
{ echo "$as_me:$LINENO: checking for suffix of executables" >&5
3580
echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6; }
3581
if { (ac_try="$ac_link"
3583
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3584
*) ac_try_echo=$ac_try;;
3586
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3587
(eval "$ac_link") 2>&5
3589
echo "$as_me:$LINENO: \$? = $ac_status" >&5
3590
(exit $ac_status); }; then
3591
# If both `conftest.exe' and `conftest' are `present' (well, observable)
3592
# catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
3593
# work properly (i.e., refer to `conftest.exe'), while it won't with
3595
for ac_file in conftest.exe conftest conftest.*; do
3596
test -f "$ac_file" || continue
3598
*.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj ) ;;
3599
*.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
3605
{ { echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link
3606
See \`config.log' for more details." >&5
3607
echo "$as_me: error: cannot compute suffix of executables: cannot compile and link
3608
See \`config.log' for more details." >&2;}
3609
{ (exit 1); exit 1; }; }
3612
rm -f conftest$ac_cv_exeext
3613
{ echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
3614
echo "${ECHO_T}$ac_cv_exeext" >&6; }
3616
rm -f conftest.$ac_ext
3617
EXEEXT=$ac_cv_exeext
3619
{ echo "$as_me:$LINENO: checking for suffix of object files" >&5
3620
echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6; }
3621
if test "${ac_cv_objext+set}" = set; then
3622
echo $ECHO_N "(cached) $ECHO_C" >&6
3624
cat >conftest.$ac_ext <<_ACEOF
3627
cat confdefs.h >>conftest.$ac_ext
3628
cat >>conftest.$ac_ext <<_ACEOF
3629
/* end confdefs.h. */
3639
rm -f conftest.o conftest.obj
3640
if { (ac_try="$ac_compile"
3642
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3643
*) ac_try_echo=$ac_try;;
3645
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3646
(eval "$ac_compile") 2>&5
3648
echo "$as_me:$LINENO: \$? = $ac_status" >&5
3649
(exit $ac_status); }; then
3650
for ac_file in conftest.o conftest.obj conftest.*; do
3651
test -f "$ac_file" || continue;
3653
*.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf ) ;;
3654
*) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
3659
echo "$as_me: failed program was:" >&5
3660
sed 's/^/| /' conftest.$ac_ext >&5
3662
{ { echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile
3663
See \`config.log' for more details." >&5
3664
echo "$as_me: error: cannot compute suffix of object files: cannot compile
3665
See \`config.log' for more details." >&2;}
3666
{ (exit 1); exit 1; }; }
3669
rm -f conftest.$ac_cv_objext conftest.$ac_ext
3671
{ echo "$as_me:$LINENO: result: $ac_cv_objext" >&5
3672
echo "${ECHO_T}$ac_cv_objext" >&6; }
3673
OBJEXT=$ac_cv_objext
3675
{ echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
3676
echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6; }
3677
if test "${ac_cv_c_compiler_gnu+set}" = set; then
3678
echo $ECHO_N "(cached) $ECHO_C" >&6
3680
cat >conftest.$ac_ext <<_ACEOF
3683
cat confdefs.h >>conftest.$ac_ext
3684
cat >>conftest.$ac_ext <<_ACEOF
3685
/* end confdefs.h. */
3698
rm -f conftest.$ac_objext
3699
if { (ac_try="$ac_compile"
3701
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3702
*) ac_try_echo=$ac_try;;
3704
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3705
(eval "$ac_compile") 2>conftest.er1
3707
grep -v '^ *+' conftest.er1 >conftest.err
3709
cat conftest.err >&5
3710
echo "$as_me:$LINENO: \$? = $ac_status" >&5
3711
(exit $ac_status); } && {
3712
test -z "$ac_c_werror_flag" ||
3713
test ! -s conftest.err
3714
} && test -s conftest.$ac_objext; then
3717
echo "$as_me: failed program was:" >&5
3718
sed 's/^/| /' conftest.$ac_ext >&5
3723
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3724
ac_cv_c_compiler_gnu=$ac_compiler_gnu
3727
{ echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
3728
echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6; }
3729
GCC=`test $ac_compiler_gnu = yes && echo yes`
3730
ac_test_CFLAGS=${CFLAGS+set}
3731
ac_save_CFLAGS=$CFLAGS
3732
{ echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
3733
echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6; }
3734
if test "${ac_cv_prog_cc_g+set}" = set; then
3735
echo $ECHO_N "(cached) $ECHO_C" >&6
3737
ac_save_c_werror_flag=$ac_c_werror_flag
3738
ac_c_werror_flag=yes
3741
cat >conftest.$ac_ext <<_ACEOF
3744
cat confdefs.h >>conftest.$ac_ext
3745
cat >>conftest.$ac_ext <<_ACEOF
3746
/* end confdefs.h. */
3756
rm -f conftest.$ac_objext
3757
if { (ac_try="$ac_compile"
3759
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3760
*) ac_try_echo=$ac_try;;
3762
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3763
(eval "$ac_compile") 2>conftest.er1
3765
grep -v '^ *+' conftest.er1 >conftest.err
3767
cat conftest.err >&5
3768
echo "$as_me:$LINENO: \$? = $ac_status" >&5
3769
(exit $ac_status); } && {
3770
test -z "$ac_c_werror_flag" ||
3771
test ! -s conftest.err
3772
} && test -s conftest.$ac_objext; then
3775
echo "$as_me: failed program was:" >&5
3776
sed 's/^/| /' conftest.$ac_ext >&5
3779
cat >conftest.$ac_ext <<_ACEOF
3782
cat confdefs.h >>conftest.$ac_ext
3783
cat >>conftest.$ac_ext <<_ACEOF
3784
/* end confdefs.h. */
3794
rm -f conftest.$ac_objext
3795
if { (ac_try="$ac_compile"
3797
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3798
*) ac_try_echo=$ac_try;;
3800
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3801
(eval "$ac_compile") 2>conftest.er1
3803
grep -v '^ *+' conftest.er1 >conftest.err
3805
cat conftest.err >&5
3806
echo "$as_me:$LINENO: \$? = $ac_status" >&5
3807
(exit $ac_status); } && {
3808
test -z "$ac_c_werror_flag" ||
3809
test ! -s conftest.err
3810
} && test -s conftest.$ac_objext; then
3813
echo "$as_me: failed program was:" >&5
3814
sed 's/^/| /' conftest.$ac_ext >&5
3816
ac_c_werror_flag=$ac_save_c_werror_flag
3818
cat >conftest.$ac_ext <<_ACEOF
3821
cat confdefs.h >>conftest.$ac_ext
3822
cat >>conftest.$ac_ext <<_ACEOF
3823
/* end confdefs.h. */
3833
rm -f conftest.$ac_objext
3834
if { (ac_try="$ac_compile"
3836
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3837
*) ac_try_echo=$ac_try;;
3839
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3840
(eval "$ac_compile") 2>conftest.er1
3842
grep -v '^ *+' conftest.er1 >conftest.err
3844
cat conftest.err >&5
3845
echo "$as_me:$LINENO: \$? = $ac_status" >&5
3846
(exit $ac_status); } && {
3847
test -z "$ac_c_werror_flag" ||
3848
test ! -s conftest.err
3849
} && test -s conftest.$ac_objext; then
3852
echo "$as_me: failed program was:" >&5
3853
sed 's/^/| /' conftest.$ac_ext >&5
3858
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3861
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3864
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3865
ac_c_werror_flag=$ac_save_c_werror_flag
3867
{ echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
3868
echo "${ECHO_T}$ac_cv_prog_cc_g" >&6; }
3869
if test "$ac_test_CFLAGS" = set; then
3870
CFLAGS=$ac_save_CFLAGS
3871
elif test $ac_cv_prog_cc_g = yes; then
3872
if test "$GCC" = yes; then
3878
if test "$GCC" = yes; then
3884
{ echo "$as_me:$LINENO: checking for $CC option to accept ISO C89" >&5
3885
echo $ECHO_N "checking for $CC option to accept ISO C89... $ECHO_C" >&6; }
3886
if test "${ac_cv_prog_cc_c89+set}" = set; then
3887
echo $ECHO_N "(cached) $ECHO_C" >&6
3889
ac_cv_prog_cc_c89=no
3891
cat >conftest.$ac_ext <<_ACEOF
3894
cat confdefs.h >>conftest.$ac_ext
3895
cat >>conftest.$ac_ext <<_ACEOF
3896
/* end confdefs.h. */
3899
#include <sys/types.h>
3900
#include <sys/stat.h>
3901
/* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
3902
struct buf { int x; };
3903
FILE * (*rcsopen) (struct buf *, struct stat *, int);
3904
static char *e (p, i)
3910
static char *f (char * (*g) (char **, int), char **p, ...)
3915
s = g (p, va_arg (v,int));
3920
/* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
3921
function prototypes and stuff, but not '\xHH' hex character constants.
3922
These don't provoke an error unfortunately, instead are silently treated
3923
as 'x'. The following induces an error, until -std is added to get
3924
proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
3925
array size at least. It's necessary to write '\x00'==0 to get something
3926
that's true only with -std. */
3927
int osf4_cc_array ['\x00' == 0 ? 1 : -1];
3929
/* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
3930
inside strings and character constants. */
3932
int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
3934
int test (int i, double x);
3935
struct s1 {int (*f) (int a);};
3936
struct s2 {int (*f) (double a);};
3937
int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
3943
return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
3948
for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
3949
-Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
3951
CC="$ac_save_CC $ac_arg"
3952
rm -f conftest.$ac_objext
3953
if { (ac_try="$ac_compile"
3955
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3956
*) ac_try_echo=$ac_try;;
3958
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3959
(eval "$ac_compile") 2>conftest.er1
3961
grep -v '^ *+' conftest.er1 >conftest.err
3963
cat conftest.err >&5
3964
echo "$as_me:$LINENO: \$? = $ac_status" >&5
3965
(exit $ac_status); } && {
3966
test -z "$ac_c_werror_flag" ||
3967
test ! -s conftest.err
3968
} && test -s conftest.$ac_objext; then
3969
ac_cv_prog_cc_c89=$ac_arg
3971
echo "$as_me: failed program was:" >&5
3972
sed 's/^/| /' conftest.$ac_ext >&5
3977
rm -f core conftest.err conftest.$ac_objext
3978
test "x$ac_cv_prog_cc_c89" != "xno" && break
3980
rm -f conftest.$ac_ext
3985
case "x$ac_cv_prog_cc_c89" in
3987
{ echo "$as_me:$LINENO: result: none needed" >&5
3988
echo "${ECHO_T}none needed" >&6; } ;;
3990
{ echo "$as_me:$LINENO: result: unsupported" >&5
3991
echo "${ECHO_T}unsupported" >&6; } ;;
3993
CC="$CC $ac_cv_prog_cc_c89"
3994
{ echo "$as_me:$LINENO: result: $ac_cv_prog_cc_c89" >&5
3995
echo "${ECHO_T}$ac_cv_prog_cc_c89" >&6; } ;;
4000
ac_cpp='$CPP $CPPFLAGS'
4001
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4002
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4003
ac_compiler_gnu=$ac_cv_c_compiler_gnu
4005
depcc="$CC" am_compiler_list=
4007
{ echo "$as_me:$LINENO: checking dependency style of $depcc" >&5
4008
echo $ECHO_N "checking dependency style of $depcc... $ECHO_C" >&6; }
4009
if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then
4010
echo $ECHO_N "(cached) $ECHO_C" >&6
4012
if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
4013
# We make a subdir and do the tests there. Otherwise we can end up
4014
# making bogus files that we don't know about and never remove. For
4015
# instance it was reported that on HP-UX the gcc test will end up
4016
# making a dummy file named `D' -- because `-MD' means `put the output
4019
# Copy depcomp to subdir because otherwise we won't find it if we're
4020
# using a relative directory.
4021
cp "$am_depcomp" conftest.dir
4023
# We will build objects and dependencies in a subdirectory because
4024
# it helps to detect inapplicable dependency modes. For instance
4025
# both Tru64's cc and ICC support -MD to output dependencies as a
4026
# side effect of compilation, but ICC will put the dependencies in
4027
# the current directory while Tru64 will put them in the object
4031
am_cv_CC_dependencies_compiler_type=none
4032
if test "$am_compiler_list" = ""; then
4033
am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
4035
for depmode in $am_compiler_list; do
4036
# Setup a source with many dependencies, because some compilers
4037
# like to wrap large dependency lists on column 80 (with \), and
4038
# we should not choose a depcomp mode which is confused by this.
4040
# We need to recreate these files for each test, as the compiler may
4041
# overwrite some of them when testing with obscure command lines.
4042
# This happens at least with the AIX C compiler.
4044
for i in 1 2 3 4 5 6; do
4045
echo '#include "conftst'$i'.h"' >> sub/conftest.c
4046
# Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
4047
# Solaris 8's {/usr,}/bin/sh.
4048
touch sub/conftst$i.h
4050
echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
4054
# after this tag, mechanisms are not by side-effect, so they'll
4055
# only be used when explicitly requested
4056
if test "x$enable_dependency_tracking" = xyes; then
4064
# We check with `-c' and `-o' for the sake of the "dashmstdout"
4065
# mode. It turns out that the SunPro C++ compiler does not properly
4066
# handle `-M -o', and we need to detect this.
4067
if depmode=$depmode \
4068
source=sub/conftest.c object=sub/conftest.${OBJEXT-o} \
4069
depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
4070
$SHELL ./depcomp $depcc -c -o sub/conftest.${OBJEXT-o} sub/conftest.c \
4071
>/dev/null 2>conftest.err &&
4072
grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
4073
grep sub/conftest.${OBJEXT-o} sub/conftest.Po > /dev/null 2>&1 &&
4074
${MAKE-make} -s -f confmf > /dev/null 2>&1; then
4075
# icc doesn't choke on unknown options, it will just issue warnings
4076
# or remarks (even with -Werror). So we grep stderr for any message
4077
# that says an option was ignored or not supported.
4078
# When given -MP, icc 7.0 and 7.1 complain thusly:
4079
# icc: Command line warning: ignoring option '-M'; no argument required
4080
# The diagnosis changed in icc 8.0:
4081
# icc: Command line remark: option '-MP' not supported
4082
if (grep 'ignoring option' conftest.err ||
4083
grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
4084
am_cv_CC_dependencies_compiler_type=$depmode
4093
am_cv_CC_dependencies_compiler_type=none
4097
{ echo "$as_me:$LINENO: result: $am_cv_CC_dependencies_compiler_type" >&5
4098
echo "${ECHO_T}$am_cv_CC_dependencies_compiler_type" >&6; }
4099
CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
4104
test "x$enable_dependency_tracking" != xno \
4105
&& test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
4107
am__fastdepCC_FALSE='#'
4109
am__fastdepCC_TRUE='#'
4110
am__fastdepCC_FALSE=
4116
ac_cpp='$CPP $CPPFLAGS'
4117
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4118
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4119
ac_compiler_gnu=$ac_cv_c_compiler_gnu
4120
{ echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5
4121
echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6; }
4122
# On Suns, sometimes $CPP names a directory.
4123
if test -n "$CPP" && test -d "$CPP"; then
4126
if test -z "$CPP"; then
4127
if test "${ac_cv_prog_CPP+set}" = set; then
4128
echo $ECHO_N "(cached) $ECHO_C" >&6
4130
# Double quotes because CPP needs to be expanded
4131
for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
4134
for ac_c_preproc_warn_flag in '' yes
4136
# Use a header file that comes with gcc, so configuring glibc
4137
# with a fresh cross-compiler works.
4138
# Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4139
# <limits.h> exists even on freestanding compilers.
4140
# On the NeXT, cc -E runs the code through the compiler's parser,
4141
# not just through cpp. "Syntax error" is here to catch this case.
4142
cat >conftest.$ac_ext <<_ACEOF
4145
cat confdefs.h >>conftest.$ac_ext
4146
cat >>conftest.$ac_ext <<_ACEOF
4147
/* end confdefs.h. */
4149
# include <limits.h>
4151
# include <assert.h>
4155
if { (ac_try="$ac_cpp conftest.$ac_ext"
4157
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4158
*) ac_try_echo=$ac_try;;
4160
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4161
(eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
4163
grep -v '^ *+' conftest.er1 >conftest.err
4165
cat conftest.err >&5
4166
echo "$as_me:$LINENO: \$? = $ac_status" >&5
4167
(exit $ac_status); } >/dev/null && {
4168
test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
4169
test ! -s conftest.err
4173
echo "$as_me: failed program was:" >&5
4174
sed 's/^/| /' conftest.$ac_ext >&5
4176
# Broken: fails on valid input.
4180
rm -f conftest.err conftest.$ac_ext
4182
# OK, works on sane cases. Now check whether nonexistent headers
4183
# can be detected and how.
4184
cat >conftest.$ac_ext <<_ACEOF
4187
cat confdefs.h >>conftest.$ac_ext
4188
cat >>conftest.$ac_ext <<_ACEOF
4189
/* end confdefs.h. */
4190
#include <ac_nonexistent.h>
4192
if { (ac_try="$ac_cpp conftest.$ac_ext"
4194
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4195
*) ac_try_echo=$ac_try;;
4197
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4198
(eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
4200
grep -v '^ *+' conftest.er1 >conftest.err
4202
cat conftest.err >&5
4203
echo "$as_me:$LINENO: \$? = $ac_status" >&5
4204
(exit $ac_status); } >/dev/null && {
4205
test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
4206
test ! -s conftest.err
4208
# Broken: success on invalid input.
4211
echo "$as_me: failed program was:" >&5
4212
sed 's/^/| /' conftest.$ac_ext >&5
4214
# Passes both tests.
4219
rm -f conftest.err conftest.$ac_ext
4222
# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
4223
rm -f conftest.err conftest.$ac_ext
4224
if $ac_preproc_ok; then
4236
{ echo "$as_me:$LINENO: result: $CPP" >&5
4237
echo "${ECHO_T}$CPP" >&6; }
4239
for ac_c_preproc_warn_flag in '' yes
4241
# Use a header file that comes with gcc, so configuring glibc
4242
# with a fresh cross-compiler works.
4243
# Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4244
# <limits.h> exists even on freestanding compilers.
4245
# On the NeXT, cc -E runs the code through the compiler's parser,
4246
# not just through cpp. "Syntax error" is here to catch this case.
4247
cat >conftest.$ac_ext <<_ACEOF
4250
cat confdefs.h >>conftest.$ac_ext
4251
cat >>conftest.$ac_ext <<_ACEOF
4252
/* end confdefs.h. */
4254
# include <limits.h>
4256
# include <assert.h>
4260
if { (ac_try="$ac_cpp conftest.$ac_ext"
4262
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4263
*) ac_try_echo=$ac_try;;
4265
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4266
(eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
4268
grep -v '^ *+' conftest.er1 >conftest.err
4270
cat conftest.err >&5
4271
echo "$as_me:$LINENO: \$? = $ac_status" >&5
4272
(exit $ac_status); } >/dev/null && {
4273
test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
4274
test ! -s conftest.err
4278
echo "$as_me: failed program was:" >&5
4279
sed 's/^/| /' conftest.$ac_ext >&5
4281
# Broken: fails on valid input.
4285
rm -f conftest.err conftest.$ac_ext
4287
# OK, works on sane cases. Now check whether nonexistent headers
4288
# can be detected and how.
4289
cat >conftest.$ac_ext <<_ACEOF
4292
cat confdefs.h >>conftest.$ac_ext
4293
cat >>conftest.$ac_ext <<_ACEOF
4294
/* end confdefs.h. */
4295
#include <ac_nonexistent.h>
4297
if { (ac_try="$ac_cpp conftest.$ac_ext"
4299
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4300
*) ac_try_echo=$ac_try;;
4302
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4303
(eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
4305
grep -v '^ *+' conftest.er1 >conftest.err
4307
cat conftest.err >&5
4308
echo "$as_me:$LINENO: \$? = $ac_status" >&5
4309
(exit $ac_status); } >/dev/null && {
4310
test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
4311
test ! -s conftest.err
4313
# Broken: success on invalid input.
4316
echo "$as_me: failed program was:" >&5
4317
sed 's/^/| /' conftest.$ac_ext >&5
4319
# Passes both tests.
4324
rm -f conftest.err conftest.$ac_ext
4327
# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
4328
rm -f conftest.err conftest.$ac_ext
4329
if $ac_preproc_ok; then
4332
{ { echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check
4333
See \`config.log' for more details." >&5
4334
echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check
4335
See \`config.log' for more details." >&2;}
4336
{ (exit 1); exit 1; }; }
4340
ac_cpp='$CPP $CPPFLAGS'
4341
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4342
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4343
ac_compiler_gnu=$ac_cv_c_compiler_gnu
4346
if test "$GCC" = "yes"; then
4347
if test "$kde_use_debug_code" != "no"; then
4348
if test $kde_use_debug_code = "full"; then
4349
CFLAGS="-g3 -fno-inline $CFLAGS"
4351
CFLAGS="-g -O2 -fno-schedule-insns -fno-inline $CFLAGS"
4354
CFLAGS="-O2 $CFLAGS"
4358
if test "$kde_use_debug_define" = "yes"; then
4359
CFLAGS="-DNDEBUG $CFLAGS"
4364
*-*-sysv4.2uw*) CFLAGS="-D_UNIXWARE $CFLAGS";;
4365
*-*-sysv5uw7*) CFLAGS="-D_UNIXWARE7 $CFLAGS";;
4368
if test -z "$LDFLAGS" && test "$kde_use_debug_code" = "no" && test "$GCC" = "yes"; then
4372
CXXFLAGS=" $CXXFLAGS"
4375
ac_cpp='$CXXCPP $CPPFLAGS'
4376
ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4377
ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4378
ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
4379
if test -z "$CXX"; then
4380
if test -n "$CCC"; then
4383
if test -n "$ac_tool_prefix"; then
4384
for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
4386
# Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
4387
set dummy $ac_tool_prefix$ac_prog; ac_word=$2
4388
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
4389
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
4390
if test "${ac_cv_prog_CXX+set}" = set; then
4391
echo $ECHO_N "(cached) $ECHO_C" >&6
4393
if test -n "$CXX"; then
4394
ac_cv_prog_CXX="$CXX" # Let the user override the test.
4396
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4400
test -z "$as_dir" && as_dir=.
4401
for ac_exec_ext in '' $ac_executable_extensions; do
4402
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4403
ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
4404
echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4414
if test -n "$CXX"; then
4415
{ echo "$as_me:$LINENO: result: $CXX" >&5
4416
echo "${ECHO_T}$CXX" >&6; }
4418
{ echo "$as_me:$LINENO: result: no" >&5
4419
echo "${ECHO_T}no" >&6; }
4423
test -n "$CXX" && break
4426
if test -z "$CXX"; then
4428
for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
4430
# Extract the first word of "$ac_prog", so it can be a program name with args.
4431
set dummy $ac_prog; ac_word=$2
4432
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
4433
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
4434
if test "${ac_cv_prog_ac_ct_CXX+set}" = set; then
4435
echo $ECHO_N "(cached) $ECHO_C" >&6
4437
if test -n "$ac_ct_CXX"; then
4438
ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
4440
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4444
test -z "$as_dir" && as_dir=.
4445
for ac_exec_ext in '' $ac_executable_extensions; do
4446
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4447
ac_cv_prog_ac_ct_CXX="$ac_prog"
4448
echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4457
ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
4458
if test -n "$ac_ct_CXX"; then
4459
{ echo "$as_me:$LINENO: result: $ac_ct_CXX" >&5
4460
echo "${ECHO_T}$ac_ct_CXX" >&6; }
4462
{ echo "$as_me:$LINENO: result: no" >&5
4463
echo "${ECHO_T}no" >&6; }
4467
test -n "$ac_ct_CXX" && break
4470
if test "x$ac_ct_CXX" = x; then
4473
case $cross_compiling:$ac_tool_warned in
4475
{ echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
4476
whose name does not start with the host triplet. If you think this
4477
configuration is useful to you, please write to autoconf@gnu.org." >&5
4478
echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
4479
whose name does not start with the host triplet. If you think this
4480
configuration is useful to you, please write to autoconf@gnu.org." >&2;}
4481
ac_tool_warned=yes ;;
4489
# Provide some information about the compiler.
4490
echo "$as_me:$LINENO: checking for C++ compiler version" >&5
4491
ac_compiler=`set X $ac_compile; echo $2`
4492
{ (ac_try="$ac_compiler --version >&5"
4494
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4495
*) ac_try_echo=$ac_try;;
4497
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4498
(eval "$ac_compiler --version >&5") 2>&5
4500
echo "$as_me:$LINENO: \$? = $ac_status" >&5
4501
(exit $ac_status); }
4502
{ (ac_try="$ac_compiler -v >&5"
4504
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4505
*) ac_try_echo=$ac_try;;
4507
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4508
(eval "$ac_compiler -v >&5") 2>&5
4510
echo "$as_me:$LINENO: \$? = $ac_status" >&5
4511
(exit $ac_status); }
4512
{ (ac_try="$ac_compiler -V >&5"
4514
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4515
*) ac_try_echo=$ac_try;;
4517
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4518
(eval "$ac_compiler -V >&5") 2>&5
4520
echo "$as_me:$LINENO: \$? = $ac_status" >&5
4521
(exit $ac_status); }
4523
{ echo "$as_me:$LINENO: checking whether we are using the GNU C++ compiler" >&5
4524
echo $ECHO_N "checking whether we are using the GNU C++ compiler... $ECHO_C" >&6; }
4525
if test "${ac_cv_cxx_compiler_gnu+set}" = set; then
4526
echo $ECHO_N "(cached) $ECHO_C" >&6
4528
cat >conftest.$ac_ext <<_ACEOF
4531
cat confdefs.h >>conftest.$ac_ext
4532
cat >>conftest.$ac_ext <<_ACEOF
4533
/* end confdefs.h. */
4546
rm -f conftest.$ac_objext
4547
if { (ac_try="$ac_compile"
4549
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4550
*) ac_try_echo=$ac_try;;
4552
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4553
(eval "$ac_compile") 2>conftest.er1
4555
grep -v '^ *+' conftest.er1 >conftest.err
4557
cat conftest.err >&5
4558
echo "$as_me:$LINENO: \$? = $ac_status" >&5
4559
(exit $ac_status); } && {
4560
test -z "$ac_cxx_werror_flag" ||
4561
test ! -s conftest.err
4562
} && test -s conftest.$ac_objext; then
4565
echo "$as_me: failed program was:" >&5
4566
sed 's/^/| /' conftest.$ac_ext >&5
4571
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4572
ac_cv_cxx_compiler_gnu=$ac_compiler_gnu
4575
{ echo "$as_me:$LINENO: result: $ac_cv_cxx_compiler_gnu" >&5
4576
echo "${ECHO_T}$ac_cv_cxx_compiler_gnu" >&6; }
4577
GXX=`test $ac_compiler_gnu = yes && echo yes`
4578
ac_test_CXXFLAGS=${CXXFLAGS+set}
4579
ac_save_CXXFLAGS=$CXXFLAGS
4580
{ echo "$as_me:$LINENO: checking whether $CXX accepts -g" >&5
4581
echo $ECHO_N "checking whether $CXX accepts -g... $ECHO_C" >&6; }
4582
if test "${ac_cv_prog_cxx_g+set}" = set; then
4583
echo $ECHO_N "(cached) $ECHO_C" >&6
4585
ac_save_cxx_werror_flag=$ac_cxx_werror_flag
4586
ac_cxx_werror_flag=yes
4589
cat >conftest.$ac_ext <<_ACEOF
4592
cat confdefs.h >>conftest.$ac_ext
4593
cat >>conftest.$ac_ext <<_ACEOF
4594
/* end confdefs.h. */
4604
rm -f conftest.$ac_objext
4605
if { (ac_try="$ac_compile"
4607
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4608
*) ac_try_echo=$ac_try;;
4610
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4611
(eval "$ac_compile") 2>conftest.er1
4613
grep -v '^ *+' conftest.er1 >conftest.err
4615
cat conftest.err >&5
4616
echo "$as_me:$LINENO: \$? = $ac_status" >&5
4617
(exit $ac_status); } && {
4618
test -z "$ac_cxx_werror_flag" ||
4619
test ! -s conftest.err
4620
} && test -s conftest.$ac_objext; then
4621
ac_cv_prog_cxx_g=yes
4623
echo "$as_me: failed program was:" >&5
4624
sed 's/^/| /' conftest.$ac_ext >&5
4627
cat >conftest.$ac_ext <<_ACEOF
4630
cat confdefs.h >>conftest.$ac_ext
4631
cat >>conftest.$ac_ext <<_ACEOF
4632
/* end confdefs.h. */
4642
rm -f conftest.$ac_objext
4643
if { (ac_try="$ac_compile"
4645
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4646
*) ac_try_echo=$ac_try;;
4648
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4649
(eval "$ac_compile") 2>conftest.er1
4651
grep -v '^ *+' conftest.er1 >conftest.err
4653
cat conftest.err >&5
4654
echo "$as_me:$LINENO: \$? = $ac_status" >&5
4655
(exit $ac_status); } && {
4656
test -z "$ac_cxx_werror_flag" ||
4657
test ! -s conftest.err
4658
} && test -s conftest.$ac_objext; then
4661
echo "$as_me: failed program was:" >&5
4662
sed 's/^/| /' conftest.$ac_ext >&5
4664
ac_cxx_werror_flag=$ac_save_cxx_werror_flag
4666
cat >conftest.$ac_ext <<_ACEOF
4669
cat confdefs.h >>conftest.$ac_ext
4670
cat >>conftest.$ac_ext <<_ACEOF
4671
/* end confdefs.h. */
4681
rm -f conftest.$ac_objext
4682
if { (ac_try="$ac_compile"
4684
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4685
*) ac_try_echo=$ac_try;;
4687
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4688
(eval "$ac_compile") 2>conftest.er1
4690
grep -v '^ *+' conftest.er1 >conftest.err
4692
cat conftest.err >&5
4693
echo "$as_me:$LINENO: \$? = $ac_status" >&5
4694
(exit $ac_status); } && {
4695
test -z "$ac_cxx_werror_flag" ||
4696
test ! -s conftest.err
4697
} && test -s conftest.$ac_objext; then
4698
ac_cv_prog_cxx_g=yes
4700
echo "$as_me: failed program was:" >&5
4701
sed 's/^/| /' conftest.$ac_ext >&5
4706
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4709
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4712
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4713
ac_cxx_werror_flag=$ac_save_cxx_werror_flag
4715
{ echo "$as_me:$LINENO: result: $ac_cv_prog_cxx_g" >&5
4716
echo "${ECHO_T}$ac_cv_prog_cxx_g" >&6; }
4717
if test "$ac_test_CXXFLAGS" = set; then
4718
CXXFLAGS=$ac_save_CXXFLAGS
4719
elif test $ac_cv_prog_cxx_g = yes; then
4720
if test "$GXX" = yes; then
4726
if test "$GXX" = yes; then
4733
ac_cpp='$CPP $CPPFLAGS'
4734
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4735
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4736
ac_compiler_gnu=$ac_cv_c_compiler_gnu
4738
depcc="$CXX" am_compiler_list=
4740
{ echo "$as_me:$LINENO: checking dependency style of $depcc" >&5
4741
echo $ECHO_N "checking dependency style of $depcc... $ECHO_C" >&6; }
4742
if test "${am_cv_CXX_dependencies_compiler_type+set}" = set; then
4743
echo $ECHO_N "(cached) $ECHO_C" >&6
4745
if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
4746
# We make a subdir and do the tests there. Otherwise we can end up
4747
# making bogus files that we don't know about and never remove. For
4748
# instance it was reported that on HP-UX the gcc test will end up
4749
# making a dummy file named `D' -- because `-MD' means `put the output
4752
# Copy depcomp to subdir because otherwise we won't find it if we're
4753
# using a relative directory.
4754
cp "$am_depcomp" conftest.dir
4756
# We will build objects and dependencies in a subdirectory because
4757
# it helps to detect inapplicable dependency modes. For instance
4758
# both Tru64's cc and ICC support -MD to output dependencies as a
4759
# side effect of compilation, but ICC will put the dependencies in
4760
# the current directory while Tru64 will put them in the object
4764
am_cv_CXX_dependencies_compiler_type=none
4765
if test "$am_compiler_list" = ""; then
4766
am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
4768
for depmode in $am_compiler_list; do
4769
# Setup a source with many dependencies, because some compilers
4770
# like to wrap large dependency lists on column 80 (with \), and
4771
# we should not choose a depcomp mode which is confused by this.
4773
# We need to recreate these files for each test, as the compiler may
4774
# overwrite some of them when testing with obscure command lines.
4775
# This happens at least with the AIX C compiler.
4777
for i in 1 2 3 4 5 6; do
4778
echo '#include "conftst'$i'.h"' >> sub/conftest.c
4779
# Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
4780
# Solaris 8's {/usr,}/bin/sh.
4781
touch sub/conftst$i.h
4783
echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
4787
# after this tag, mechanisms are not by side-effect, so they'll
4788
# only be used when explicitly requested
4789
if test "x$enable_dependency_tracking" = xyes; then
4797
# We check with `-c' and `-o' for the sake of the "dashmstdout"
4798
# mode. It turns out that the SunPro C++ compiler does not properly
4799
# handle `-M -o', and we need to detect this.
4800
if depmode=$depmode \
4801
source=sub/conftest.c object=sub/conftest.${OBJEXT-o} \
4802
depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
4803
$SHELL ./depcomp $depcc -c -o sub/conftest.${OBJEXT-o} sub/conftest.c \
4804
>/dev/null 2>conftest.err &&
4805
grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
4806
grep sub/conftest.${OBJEXT-o} sub/conftest.Po > /dev/null 2>&1 &&
4807
${MAKE-make} -s -f confmf > /dev/null 2>&1; then
4808
# icc doesn't choke on unknown options, it will just issue warnings
4809
# or remarks (even with -Werror). So we grep stderr for any message
4810
# that says an option was ignored or not supported.
4811
# When given -MP, icc 7.0 and 7.1 complain thusly:
4812
# icc: Command line warning: ignoring option '-M'; no argument required
4813
# The diagnosis changed in icc 8.0:
4814
# icc: Command line remark: option '-MP' not supported
4815
if (grep 'ignoring option' conftest.err ||
4816
grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
4817
am_cv_CXX_dependencies_compiler_type=$depmode
4826
am_cv_CXX_dependencies_compiler_type=none
4830
{ echo "$as_me:$LINENO: result: $am_cv_CXX_dependencies_compiler_type" >&5
4831
echo "${ECHO_T}$am_cv_CXX_dependencies_compiler_type" >&6; }
4832
CXXDEPMODE=depmode=$am_cv_CXX_dependencies_compiler_type
4837
test "x$enable_dependency_tracking" != xno \
4838
&& test "$am_cv_CXX_dependencies_compiler_type" = gcc3; then
4839
am__fastdepCXX_TRUE=
4840
am__fastdepCXX_FALSE='#'
4842
am__fastdepCXX_TRUE='#'
4843
am__fastdepCXX_FALSE=
4849
{ echo "$as_me:$LINENO: checking whether $CC is blacklisted" >&5
4850
echo $ECHO_N "checking whether $CC is blacklisted... $ECHO_C" >&6; }
4853
cat >conftest.$ac_ext <<_ACEOF
4856
cat confdefs.h >>conftest.$ac_ext
4857
cat >>conftest.$ac_ext <<_ACEOF
4858
/* end confdefs.h. */
4861
#if __GNUC__ == 4 && __GNUC_MINOR__ == 0 && __GNUC_PATCHLEVEL__ == 0
4874
rm -f conftest.$ac_objext
4875
if { (ac_try="$ac_compile"
4877
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4878
*) ac_try_echo=$ac_try;;
4880
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4881
(eval "$ac_compile") 2>conftest.er1
4883
grep -v '^ *+' conftest.er1 >conftest.err
4885
cat conftest.err >&5
4886
echo "$as_me:$LINENO: \$? = $ac_status" >&5
4887
(exit $ac_status); } && {
4888
test -z "$ac_c_werror_flag" ||
4889
test ! -s conftest.err
4890
} && test -s conftest.$ac_objext; then
4893
echo "$as_me: failed program was:" >&5
4894
sed 's/^/| /' conftest.$ac_ext >&5
4896
kde_bad_compiler=yes
4900
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4902
{ echo "$as_me:$LINENO: result: $kde_bad_compiler" >&5
4903
echo "${ECHO_T}$kde_bad_compiler" >&6; }
4905
if test "$kde_bad_compiler" = "yes"; then
4906
{ { echo "$as_me:$LINENO: error:
4908
This particular compiler version is blacklisted because it
4909
is known to miscompile KDE. Please use a newer version, or
4910
if that is not yet available, choose an older version.
4912
Please do not report a bug or bother us reporting this
4913
configure error. We know about it, and we introduced
4914
it by intention to avoid untraceable bugs or crashes in KDE.
4917
echo "$as_me: error:
4919
This particular compiler version is blacklisted because it
4920
is known to miscompile KDE. Please use a newer version, or
4921
if that is not yet available, choose an older version.
4923
Please do not report a bug or bother us reporting this
4924
configure error. We know about it, and we introduced
4925
it by intention to avoid untraceable bugs or crashes in KDE.
4928
{ (exit 1); exit 1; }; }
4933
if test "$GXX" = "yes" || test "$CXX" = "KCC"; then
4934
if test "$kde_use_debug_code" != "no"; then
4935
if test "$CXX" = "KCC"; then
4936
CXXFLAGS="+K0 -Wall -pedantic -W -Wpointer-arith -Wwrite-strings $CXXFLAGS"
4938
if test "$kde_use_debug_code" = "full"; then
4939
CXXFLAGS="-g3 -fno-inline $CXXFLAGS"
4941
CXXFLAGS="-g -O2 -fno-schedule-insns -fno-inline $CXXFLAGS"
4945
{ echo "$as_me:$LINENO: checking whether $CXX supports -fno-builtin" >&5
4946
echo $ECHO_N "checking whether $CXX supports -fno-builtin... $ECHO_C" >&6; }
4947
kde_cache=`echo fno-builtin | sed 'y% .=/+-,%____p__%'`
4948
if { as_var=kde_cv_prog_cxx_$kde_cache; eval "test \"\${$as_var+set}\" = set"; }; then
4949
echo $ECHO_N "(cached) $ECHO_C" >&6
4955
ac_cpp='$CXXCPP $CPPFLAGS'
4956
ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4957
ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4958
ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
4960
ac_link='rm -rf SunWS_cache; ${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
4964
save_CXXFLAGS="$CXXFLAGS"
4965
CXXFLAGS="$CXXFLAGS -fno-builtin"
4966
cat >conftest.$ac_ext <<_ACEOF
4969
cat confdefs.h >>conftest.$ac_ext
4970
cat >>conftest.$ac_ext <<_ACEOF
4971
/* end confdefs.h. */
4981
rm -f conftest.$ac_objext conftest$ac_exeext
4982
if { (ac_try="$ac_link"
4984
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4985
*) ac_try_echo=$ac_try;;
4987
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4988
(eval "$ac_link") 2>conftest.er1
4990
grep -v '^ *+' conftest.er1 >conftest.err
4992
cat conftest.err >&5
4993
echo "$as_me:$LINENO: \$? = $ac_status" >&5
4994
(exit $ac_status); } && {
4995
test -z "$ac_cxx_werror_flag" ||
4996
test ! -s conftest.err
4997
} && test -s conftest$ac_exeext &&
4998
$as_test_x conftest$ac_exeext; then
4999
eval "kde_cv_prog_cxx_$kde_cache=yes"
5001
echo "$as_me: failed program was:" >&5
5002
sed 's/^/| /' conftest.$ac_ext >&5
5007
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
5008
conftest$ac_exeext conftest.$ac_ext
5009
CXXFLAGS="$save_CXXFLAGS"
5011
ac_cpp='$CPP $CPPFLAGS'
5012
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5013
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5014
ac_compiler_gnu=$ac_cv_c_compiler_gnu
5019
if eval "test \"`echo '$kde_cv_prog_cxx_'$kde_cache`\" = yes"; then
5020
{ echo "$as_me:$LINENO: result: yes" >&5
5021
echo "${ECHO_T}yes" >&6; }
5023
CXXFLAGS="-fno-builtin $CXXFLAGS"
5025
{ echo "$as_me:$LINENO: result: no" >&5
5026
echo "${ECHO_T}no" >&6; }
5033
{ echo "$as_me:$LINENO: checking whether $CXX supports -Woverloaded-virtual" >&5
5034
echo $ECHO_N "checking whether $CXX supports -Woverloaded-virtual... $ECHO_C" >&6; }
5035
kde_cache=`echo Woverloaded-virtual | sed 'y% .=/+-,%____p__%'`
5036
if { as_var=kde_cv_prog_cxx_$kde_cache; eval "test \"\${$as_var+set}\" = set"; }; then
5037
echo $ECHO_N "(cached) $ECHO_C" >&6
5042
ac_cpp='$CXXCPP $CPPFLAGS'
5043
ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5044
ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5045
ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
5047
ac_link='rm -rf SunWS_cache; ${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
5050
save_CXXFLAGS="$CXXFLAGS"
5051
CXXFLAGS="$CXXFLAGS -Woverloaded-virtual"
5052
cat >conftest.$ac_ext <<_ACEOF
5055
cat confdefs.h >>conftest.$ac_ext
5056
cat >>conftest.$ac_ext <<_ACEOF
5057
/* end confdefs.h. */
5067
rm -f conftest.$ac_objext conftest$ac_exeext
5068
if { (ac_try="$ac_link"
5070
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5071
*) ac_try_echo=$ac_try;;
5073
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5074
(eval "$ac_link") 2>conftest.er1
5076
grep -v '^ *+' conftest.er1 >conftest.err
5078
cat conftest.err >&5
5079
echo "$as_me:$LINENO: \$? = $ac_status" >&5
5080
(exit $ac_status); } && {
5081
test -z "$ac_cxx_werror_flag" ||
5082
test ! -s conftest.err
5083
} && test -s conftest$ac_exeext &&
5084
$as_test_x conftest$ac_exeext; then
5085
eval "kde_cv_prog_cxx_$kde_cache=yes"
5087
echo "$as_me: failed program was:" >&5
5088
sed 's/^/| /' conftest.$ac_ext >&5
5093
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
5094
conftest$ac_exeext conftest.$ac_ext
5095
CXXFLAGS="$save_CXXFLAGS"
5097
ac_cpp='$CPP $CPPFLAGS'
5098
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5099
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5100
ac_compiler_gnu=$ac_cv_c_compiler_gnu
5105
if eval "test \"`echo '$kde_cv_prog_cxx_'$kde_cache`\" = yes"; then
5106
{ echo "$as_me:$LINENO: result: yes" >&5
5107
echo "${ECHO_T}yes" >&6; }
5109
WOVERLOADED_VIRTUAL="-Woverloaded-virtual"
5111
{ echo "$as_me:$LINENO: result: no" >&5
5112
echo "${ECHO_T}no" >&6; }
5114
WOVERLOADED_VRITUAL=""
5119
if test "$CXX" = "KCC"; then
5120
CXXFLAGS="+K3 $CXXFLAGS"
5122
CXXFLAGS="-O2 $CXXFLAGS"
5127
if test "$kde_use_debug_define" = "yes"; then
5128
CXXFLAGS="-DNDEBUG -DNO_DEBUG $CXXFLAGS"
5131
if test "$kde_use_profiling" = "yes"; then
5133
{ echo "$as_me:$LINENO: checking whether $CXX supports -pg" >&5
5134
echo $ECHO_N "checking whether $CXX supports -pg... $ECHO_C" >&6; }
5135
kde_cache=`echo pg | sed 'y% .=/+-,%____p__%'`
5136
if { as_var=kde_cv_prog_cxx_$kde_cache; eval "test \"\${$as_var+set}\" = set"; }; then
5137
echo $ECHO_N "(cached) $ECHO_C" >&6
5142
ac_cpp='$CXXCPP $CPPFLAGS'
5143
ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5144
ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5145
ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
5147
ac_link='rm -rf SunWS_cache; ${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
5150
save_CXXFLAGS="$CXXFLAGS"
5151
CXXFLAGS="$CXXFLAGS -pg"
5152
cat >conftest.$ac_ext <<_ACEOF
5155
cat confdefs.h >>conftest.$ac_ext
5156
cat >>conftest.$ac_ext <<_ACEOF
5157
/* end confdefs.h. */
5167
rm -f conftest.$ac_objext conftest$ac_exeext
5168
if { (ac_try="$ac_link"
5170
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5171
*) ac_try_echo=$ac_try;;
5173
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5174
(eval "$ac_link") 2>conftest.er1
5176
grep -v '^ *+' conftest.er1 >conftest.err
5178
cat conftest.err >&5
5179
echo "$as_me:$LINENO: \$? = $ac_status" >&5
5180
(exit $ac_status); } && {
5181
test -z "$ac_cxx_werror_flag" ||
5182
test ! -s conftest.err
5183
} && test -s conftest$ac_exeext &&
5184
$as_test_x conftest$ac_exeext; then
5185
eval "kde_cv_prog_cxx_$kde_cache=yes"
5187
echo "$as_me: failed program was:" >&5
5188
sed 's/^/| /' conftest.$ac_ext >&5
5193
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
5194
conftest$ac_exeext conftest.$ac_ext
5195
CXXFLAGS="$save_CXXFLAGS"
5197
ac_cpp='$CPP $CPPFLAGS'
5198
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5199
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5200
ac_compiler_gnu=$ac_cv_c_compiler_gnu
5205
if eval "test \"`echo '$kde_cv_prog_cxx_'$kde_cache`\" = yes"; then
5206
{ echo "$as_me:$LINENO: result: yes" >&5
5207
echo "${ECHO_T}yes" >&6; }
5210
CFLAGS="-pg $CFLAGS"
5211
CXXFLAGS="-pg $CXXFLAGS"
5214
{ echo "$as_me:$LINENO: result: no" >&5
5215
echo "${ECHO_T}no" >&6; }
5222
if test "$kde_use_warnings" = "yes"; then
5223
if test "$GCC" = "yes"; then
5224
CXXFLAGS="-Wall -W -Wpointer-arith $CXXFLAGS"
5227
CFLAGS="-std=iso9899:1990 -W -Wall -Wchar-subscripts -Wshadow -Wpointer-arith -Wmissing-prototypes -Wwrite-strings -D_XOPEN_SOURCE=500 -D_BSD_SOURCE $CFLAGS"
5228
CXXFLAGS="-ansi -D_XOPEN_SOURCE=500 -D_BSD_SOURCE -Wcast-align -Wconversion -Wchar-subscripts $CXXFLAGS"
5230
{ echo "$as_me:$LINENO: checking whether $CXX supports -Wmissing-format-attribute" >&5
5231
echo $ECHO_N "checking whether $CXX supports -Wmissing-format-attribute... $ECHO_C" >&6; }
5232
kde_cache=`echo Wmissing-format-attribute | sed 'y% .=/+-,%____p__%'`
5233
if { as_var=kde_cv_prog_cxx_$kde_cache; eval "test \"\${$as_var+set}\" = set"; }; then
5234
echo $ECHO_N "(cached) $ECHO_C" >&6
5239
ac_cpp='$CXXCPP $CPPFLAGS'
5240
ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5241
ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5242
ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
5244
ac_link='rm -rf SunWS_cache; ${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
5247
save_CXXFLAGS="$CXXFLAGS"
5248
CXXFLAGS="$CXXFLAGS -Wmissing-format-attribute"
5249
cat >conftest.$ac_ext <<_ACEOF
5252
cat confdefs.h >>conftest.$ac_ext
5253
cat >>conftest.$ac_ext <<_ACEOF
5254
/* end confdefs.h. */
5264
rm -f conftest.$ac_objext conftest$ac_exeext
5265
if { (ac_try="$ac_link"
5267
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5268
*) ac_try_echo=$ac_try;;
5270
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5271
(eval "$ac_link") 2>conftest.er1
5273
grep -v '^ *+' conftest.er1 >conftest.err
5275
cat conftest.err >&5
5276
echo "$as_me:$LINENO: \$? = $ac_status" >&5
5277
(exit $ac_status); } && {
5278
test -z "$ac_cxx_werror_flag" ||
5279
test ! -s conftest.err
5280
} && test -s conftest$ac_exeext &&
5281
$as_test_x conftest$ac_exeext; then
5282
eval "kde_cv_prog_cxx_$kde_cache=yes"
5284
echo "$as_me: failed program was:" >&5
5285
sed 's/^/| /' conftest.$ac_ext >&5
5290
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
5291
conftest$ac_exeext conftest.$ac_ext
5292
CXXFLAGS="$save_CXXFLAGS"
5294
ac_cpp='$CPP $CPPFLAGS'
5295
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5296
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5297
ac_compiler_gnu=$ac_cv_c_compiler_gnu
5302
if eval "test \"`echo '$kde_cv_prog_cxx_'$kde_cache`\" = yes"; then
5303
{ echo "$as_me:$LINENO: result: yes" >&5
5304
echo "${ECHO_T}yes" >&6; }
5306
CXXFLAGS="$CXXFLAGS -Wformat-security -Wmissing-format-attribute"
5308
{ echo "$as_me:$LINENO: result: no" >&5
5309
echo "${ECHO_T}no" >&6; }
5315
{ echo "$as_me:$LINENO: checking whether $CC supports -Wmissing-format-attribute" >&5
5316
echo $ECHO_N "checking whether $CC supports -Wmissing-format-attribute... $ECHO_C" >&6; }
5317
kde_cache=`echo Wmissing-format-attribute | sed 'y% .=/+-,%____p__%'`
5318
if { as_var=kde_cv_prog_cc_$kde_cache; eval "test \"\${$as_var+set}\" = set"; }; then
5319
echo $ECHO_N "(cached) $ECHO_C" >&6
5324
ac_cpp='$CPP $CPPFLAGS'
5325
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5326
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5327
ac_compiler_gnu=$ac_cv_c_compiler_gnu
5329
save_CFLAGS="$CFLAGS"
5330
CFLAGS="$CFLAGS -Wmissing-format-attribute"
5331
cat >conftest.$ac_ext <<_ACEOF
5334
cat confdefs.h >>conftest.$ac_ext
5335
cat >>conftest.$ac_ext <<_ACEOF
5336
/* end confdefs.h. */
5346
rm -f conftest.$ac_objext conftest$ac_exeext
5347
if { (ac_try="$ac_link"
5349
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5350
*) ac_try_echo=$ac_try;;
5352
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5353
(eval "$ac_link") 2>conftest.er1
5355
grep -v '^ *+' conftest.er1 >conftest.err
5357
cat conftest.err >&5
5358
echo "$as_me:$LINENO: \$? = $ac_status" >&5
5359
(exit $ac_status); } && {
5360
test -z "$ac_c_werror_flag" ||
5361
test ! -s conftest.err
5362
} && test -s conftest$ac_exeext &&
5363
$as_test_x conftest$ac_exeext; then
5364
eval "kde_cv_prog_cc_$kde_cache=yes"
5366
echo "$as_me: failed program was:" >&5
5367
sed 's/^/| /' conftest.$ac_ext >&5
5372
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
5373
conftest$ac_exeext conftest.$ac_ext
5374
CFLAGS="$save_CFLAGS"
5376
ac_cpp='$CPP $CPPFLAGS'
5377
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5378
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5379
ac_compiler_gnu=$ac_cv_c_compiler_gnu
5384
if eval "test \"`echo '$kde_cv_prog_cc_'$kde_cache`\" = yes"; then
5385
{ echo "$as_me:$LINENO: result: yes" >&5
5386
echo "${ECHO_T}yes" >&6; }
5388
CFLAGS="$CFLAGS -Wformat-security -Wmissing-format-attribute"
5390
{ echo "$as_me:$LINENO: result: no" >&5
5391
echo "${ECHO_T}no" >&6; }
5399
{ echo "$as_me:$LINENO: checking whether $CXX supports -Wundef" >&5
5400
echo $ECHO_N "checking whether $CXX supports -Wundef... $ECHO_C" >&6; }
5401
kde_cache=`echo Wundef | sed 'y% .=/+-,%____p__%'`
5402
if { as_var=kde_cv_prog_cxx_$kde_cache; eval "test \"\${$as_var+set}\" = set"; }; then
5403
echo $ECHO_N "(cached) $ECHO_C" >&6
5408
ac_cpp='$CXXCPP $CPPFLAGS'
5409
ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5410
ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5411
ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
5413
ac_link='rm -rf SunWS_cache; ${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
5416
save_CXXFLAGS="$CXXFLAGS"
5417
CXXFLAGS="$CXXFLAGS -Wundef"
5418
cat >conftest.$ac_ext <<_ACEOF
5421
cat confdefs.h >>conftest.$ac_ext
5422
cat >>conftest.$ac_ext <<_ACEOF
5423
/* end confdefs.h. */
5433
rm -f conftest.$ac_objext conftest$ac_exeext
5434
if { (ac_try="$ac_link"
5436
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5437
*) ac_try_echo=$ac_try;;
5439
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5440
(eval "$ac_link") 2>conftest.er1
5442
grep -v '^ *+' conftest.er1 >conftest.err
5444
cat conftest.err >&5
5445
echo "$as_me:$LINENO: \$? = $ac_status" >&5
5446
(exit $ac_status); } && {
5447
test -z "$ac_cxx_werror_flag" ||
5448
test ! -s conftest.err
5449
} && test -s conftest$ac_exeext &&
5450
$as_test_x conftest$ac_exeext; then
5451
eval "kde_cv_prog_cxx_$kde_cache=yes"
5453
echo "$as_me: failed program was:" >&5
5454
sed 's/^/| /' conftest.$ac_ext >&5
5459
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
5460
conftest$ac_exeext conftest.$ac_ext
5461
CXXFLAGS="$save_CXXFLAGS"
5463
ac_cpp='$CPP $CPPFLAGS'
5464
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5465
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5466
ac_compiler_gnu=$ac_cv_c_compiler_gnu
5471
if eval "test \"`echo '$kde_cv_prog_cxx_'$kde_cache`\" = yes"; then
5472
{ echo "$as_me:$LINENO: result: yes" >&5
5473
echo "${ECHO_T}yes" >&6; }
5475
CXXFLAGS="-Wundef $CXXFLAGS"
5477
{ echo "$as_me:$LINENO: result: no" >&5
5478
echo "${ECHO_T}no" >&6; }
5484
{ echo "$as_me:$LINENO: checking whether $CXX supports -Wno-long-long" >&5
5485
echo $ECHO_N "checking whether $CXX supports -Wno-long-long... $ECHO_C" >&6; }
5486
kde_cache=`echo Wno-long-long | sed 'y% .=/+-,%____p__%'`
5487
if { as_var=kde_cv_prog_cxx_$kde_cache; eval "test \"\${$as_var+set}\" = set"; }; then
5488
echo $ECHO_N "(cached) $ECHO_C" >&6
5493
ac_cpp='$CXXCPP $CPPFLAGS'
5494
ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5495
ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5496
ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
5498
ac_link='rm -rf SunWS_cache; ${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
5501
save_CXXFLAGS="$CXXFLAGS"
5502
CXXFLAGS="$CXXFLAGS -Wno-long-long"
5503
cat >conftest.$ac_ext <<_ACEOF
5506
cat confdefs.h >>conftest.$ac_ext
5507
cat >>conftest.$ac_ext <<_ACEOF
5508
/* end confdefs.h. */
5518
rm -f conftest.$ac_objext conftest$ac_exeext
5519
if { (ac_try="$ac_link"
5521
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5522
*) ac_try_echo=$ac_try;;
5524
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5525
(eval "$ac_link") 2>conftest.er1
5527
grep -v '^ *+' conftest.er1 >conftest.err
5529
cat conftest.err >&5
5530
echo "$as_me:$LINENO: \$? = $ac_status" >&5
5531
(exit $ac_status); } && {
5532
test -z "$ac_cxx_werror_flag" ||
5533
test ! -s conftest.err
5534
} && test -s conftest$ac_exeext &&
5535
$as_test_x conftest$ac_exeext; then
5536
eval "kde_cv_prog_cxx_$kde_cache=yes"
5538
echo "$as_me: failed program was:" >&5
5539
sed 's/^/| /' conftest.$ac_ext >&5
5544
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
5545
conftest$ac_exeext conftest.$ac_ext
5546
CXXFLAGS="$save_CXXFLAGS"
5548
ac_cpp='$CPP $CPPFLAGS'
5549
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5550
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5551
ac_compiler_gnu=$ac_cv_c_compiler_gnu
5556
if eval "test \"`echo '$kde_cv_prog_cxx_'$kde_cache`\" = yes"; then
5557
{ echo "$as_me:$LINENO: result: yes" >&5
5558
echo "${ECHO_T}yes" >&6; }
5560
CXXFLAGS="-Wno-long-long $CXXFLAGS"
5562
{ echo "$as_me:$LINENO: result: no" >&5
5563
echo "${ECHO_T}no" >&6; }
5569
{ echo "$as_me:$LINENO: checking whether $CXX supports -Wno-non-virtual-dtor" >&5
5570
echo $ECHO_N "checking whether $CXX supports -Wno-non-virtual-dtor... $ECHO_C" >&6; }
5571
kde_cache=`echo Wno-non-virtual-dtor | sed 'y% .=/+-,%____p__%'`
5572
if { as_var=kde_cv_prog_cxx_$kde_cache; eval "test \"\${$as_var+set}\" = set"; }; then
5573
echo $ECHO_N "(cached) $ECHO_C" >&6
5578
ac_cpp='$CXXCPP $CPPFLAGS'
5579
ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5580
ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5581
ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
5583
ac_link='rm -rf SunWS_cache; ${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
5586
save_CXXFLAGS="$CXXFLAGS"
5587
CXXFLAGS="$CXXFLAGS -Wno-non-virtual-dtor"
5588
cat >conftest.$ac_ext <<_ACEOF
5591
cat confdefs.h >>conftest.$ac_ext
5592
cat >>conftest.$ac_ext <<_ACEOF
5593
/* end confdefs.h. */
5603
rm -f conftest.$ac_objext conftest$ac_exeext
5604
if { (ac_try="$ac_link"
5606
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5607
*) ac_try_echo=$ac_try;;
5609
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5610
(eval "$ac_link") 2>conftest.er1
5612
grep -v '^ *+' conftest.er1 >conftest.err
5614
cat conftest.err >&5
5615
echo "$as_me:$LINENO: \$? = $ac_status" >&5
5616
(exit $ac_status); } && {
5617
test -z "$ac_cxx_werror_flag" ||
5618
test ! -s conftest.err
5619
} && test -s conftest$ac_exeext &&
5620
$as_test_x conftest$ac_exeext; then
5621
eval "kde_cv_prog_cxx_$kde_cache=yes"
5623
echo "$as_me: failed program was:" >&5
5624
sed 's/^/| /' conftest.$ac_ext >&5
5629
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
5630
conftest$ac_exeext conftest.$ac_ext
5631
CXXFLAGS="$save_CXXFLAGS"
5633
ac_cpp='$CPP $CPPFLAGS'
5634
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5635
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5636
ac_compiler_gnu=$ac_cv_c_compiler_gnu
5641
if eval "test \"`echo '$kde_cv_prog_cxx_'$kde_cache`\" = yes"; then
5642
{ echo "$as_me:$LINENO: result: yes" >&5
5643
echo "${ECHO_T}yes" >&6; }
5645
CXXFLAGS="$CXXFLAGS -Wno-non-virtual-dtor"
5647
{ echo "$as_me:$LINENO: result: no" >&5
5648
echo "${ECHO_T}no" >&6; }
5656
if test "$GXX" = "yes" && test "$kde_use_strict_options" = "yes"; then
5657
CXXFLAGS="-Wcast-qual -Wshadow -Wcast-align $CXXFLAGS"
5660
# Check whether --enable-pch was given.
5661
if test "${enable_pch+set}" = set; then
5662
enableval=$enable_pch; kde_use_pch=$enableval
5668
HAVE_GCC_VISIBILITY=0
5671
if test "$GXX" = "yes"; then
5672
gcc_no_reorder_blocks=NO
5674
{ echo "$as_me:$LINENO: checking whether $CXX supports -fno-reorder-blocks" >&5
5675
echo $ECHO_N "checking whether $CXX supports -fno-reorder-blocks... $ECHO_C" >&6; }
5676
kde_cache=`echo fno-reorder-blocks | sed 'y% .=/+-,%____p__%'`
5677
if { as_var=kde_cv_prog_cxx_$kde_cache; eval "test \"\${$as_var+set}\" = set"; }; then
5678
echo $ECHO_N "(cached) $ECHO_C" >&6
5683
ac_cpp='$CXXCPP $CPPFLAGS'
5684
ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5685
ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5686
ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
5688
ac_link='rm -rf SunWS_cache; ${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
5691
save_CXXFLAGS="$CXXFLAGS"
5692
CXXFLAGS="$CXXFLAGS -fno-reorder-blocks"
5693
cat >conftest.$ac_ext <<_ACEOF
5696
cat confdefs.h >>conftest.$ac_ext
5697
cat >>conftest.$ac_ext <<_ACEOF
5698
/* end confdefs.h. */
5708
rm -f conftest.$ac_objext conftest$ac_exeext
5709
if { (ac_try="$ac_link"
5711
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5712
*) ac_try_echo=$ac_try;;
5714
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5715
(eval "$ac_link") 2>conftest.er1
5717
grep -v '^ *+' conftest.er1 >conftest.err
5719
cat conftest.err >&5
5720
echo "$as_me:$LINENO: \$? = $ac_status" >&5
5721
(exit $ac_status); } && {
5722
test -z "$ac_cxx_werror_flag" ||
5723
test ! -s conftest.err
5724
} && test -s conftest$ac_exeext &&
5725
$as_test_x conftest$ac_exeext; then
5726
eval "kde_cv_prog_cxx_$kde_cache=yes"
5728
echo "$as_me: failed program was:" >&5
5729
sed 's/^/| /' conftest.$ac_ext >&5
5734
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
5735
conftest$ac_exeext conftest.$ac_ext
5736
CXXFLAGS="$save_CXXFLAGS"
5738
ac_cpp='$CPP $CPPFLAGS'
5739
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5740
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5741
ac_compiler_gnu=$ac_cv_c_compiler_gnu
5746
if eval "test \"`echo '$kde_cv_prog_cxx_'$kde_cache`\" = yes"; then
5747
{ echo "$as_me:$LINENO: result: yes" >&5
5748
echo "${ECHO_T}yes" >&6; }
5750
gcc_no_reorder_blocks=YES
5752
{ echo "$as_me:$LINENO: result: no" >&5
5753
echo "${ECHO_T}no" >&6; }
5758
if test $kde_use_debug_code != "no" && \
5759
test $kde_use_debug_code != "full" && \
5760
test "YES" = "$gcc_no_reorder_blocks" ; then
5761
CXXFLAGS="$CXXFLAGS -fno-reorder-blocks"
5762
CFLAGS="$CFLAGS -fno-reorder-blocks"
5765
{ echo "$as_me:$LINENO: checking whether $CXX supports -fno-exceptions" >&5
5766
echo $ECHO_N "checking whether $CXX supports -fno-exceptions... $ECHO_C" >&6; }
5767
kde_cache=`echo fno-exceptions | sed 'y% .=/+-,%____p__%'`
5768
if { as_var=kde_cv_prog_cxx_$kde_cache; eval "test \"\${$as_var+set}\" = set"; }; then
5769
echo $ECHO_N "(cached) $ECHO_C" >&6
5774
ac_cpp='$CXXCPP $CPPFLAGS'
5775
ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5776
ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5777
ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
5779
ac_link='rm -rf SunWS_cache; ${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
5782
save_CXXFLAGS="$CXXFLAGS"
5783
CXXFLAGS="$CXXFLAGS -fno-exceptions"
5784
cat >conftest.$ac_ext <<_ACEOF
5787
cat confdefs.h >>conftest.$ac_ext
5788
cat >>conftest.$ac_ext <<_ACEOF
5789
/* end confdefs.h. */
5799
rm -f conftest.$ac_objext conftest$ac_exeext
5800
if { (ac_try="$ac_link"
5802
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5803
*) ac_try_echo=$ac_try;;
5805
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5806
(eval "$ac_link") 2>conftest.er1
5808
grep -v '^ *+' conftest.er1 >conftest.err
5810
cat conftest.err >&5
5811
echo "$as_me:$LINENO: \$? = $ac_status" >&5
5812
(exit $ac_status); } && {
5813
test -z "$ac_cxx_werror_flag" ||
5814
test ! -s conftest.err
5815
} && test -s conftest$ac_exeext &&
5816
$as_test_x conftest$ac_exeext; then
5817
eval "kde_cv_prog_cxx_$kde_cache=yes"
5819
echo "$as_me: failed program was:" >&5
5820
sed 's/^/| /' conftest.$ac_ext >&5
5825
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
5826
conftest$ac_exeext conftest.$ac_ext
5827
CXXFLAGS="$save_CXXFLAGS"
5829
ac_cpp='$CPP $CPPFLAGS'
5830
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5831
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5832
ac_compiler_gnu=$ac_cv_c_compiler_gnu
5837
if eval "test \"`echo '$kde_cv_prog_cxx_'$kde_cache`\" = yes"; then
5838
{ echo "$as_me:$LINENO: result: yes" >&5
5839
echo "${ECHO_T}yes" >&6; }
5841
CXXFLAGS="$CXXFLAGS -fno-exceptions"
5843
{ echo "$as_me:$LINENO: result: no" >&5
5844
echo "${ECHO_T}no" >&6; }
5850
{ echo "$as_me:$LINENO: checking whether $CXX supports -fno-check-new" >&5
5851
echo $ECHO_N "checking whether $CXX supports -fno-check-new... $ECHO_C" >&6; }
5852
kde_cache=`echo fno-check-new | sed 'y% .=/+-,%____p__%'`
5853
if { as_var=kde_cv_prog_cxx_$kde_cache; eval "test \"\${$as_var+set}\" = set"; }; then
5854
echo $ECHO_N "(cached) $ECHO_C" >&6
5859
ac_cpp='$CXXCPP $CPPFLAGS'
5860
ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5861
ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5862
ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
5864
ac_link='rm -rf SunWS_cache; ${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
5867
save_CXXFLAGS="$CXXFLAGS"
5868
CXXFLAGS="$CXXFLAGS -fno-check-new"
5869
cat >conftest.$ac_ext <<_ACEOF
5872
cat confdefs.h >>conftest.$ac_ext
5873
cat >>conftest.$ac_ext <<_ACEOF
5874
/* end confdefs.h. */
5884
rm -f conftest.$ac_objext conftest$ac_exeext
5885
if { (ac_try="$ac_link"
5887
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5888
*) ac_try_echo=$ac_try;;
5890
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5891
(eval "$ac_link") 2>conftest.er1
5893
grep -v '^ *+' conftest.er1 >conftest.err
5895
cat conftest.err >&5
5896
echo "$as_me:$LINENO: \$? = $ac_status" >&5
5897
(exit $ac_status); } && {
5898
test -z "$ac_cxx_werror_flag" ||
5899
test ! -s conftest.err
5900
} && test -s conftest$ac_exeext &&
5901
$as_test_x conftest$ac_exeext; then
5902
eval "kde_cv_prog_cxx_$kde_cache=yes"
5904
echo "$as_me: failed program was:" >&5
5905
sed 's/^/| /' conftest.$ac_ext >&5
5910
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
5911
conftest$ac_exeext conftest.$ac_ext
5912
CXXFLAGS="$save_CXXFLAGS"
5914
ac_cpp='$CPP $CPPFLAGS'
5915
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5916
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5917
ac_compiler_gnu=$ac_cv_c_compiler_gnu
5922
if eval "test \"`echo '$kde_cv_prog_cxx_'$kde_cache`\" = yes"; then
5923
{ echo "$as_me:$LINENO: result: yes" >&5
5924
echo "${ECHO_T}yes" >&6; }
5926
CXXFLAGS="$CXXFLAGS -fno-check-new"
5928
{ echo "$as_me:$LINENO: result: no" >&5
5929
echo "${ECHO_T}no" >&6; }
5935
{ echo "$as_me:$LINENO: checking whether $CXX supports -fno-common" >&5
5936
echo $ECHO_N "checking whether $CXX supports -fno-common... $ECHO_C" >&6; }
5937
kde_cache=`echo fno-common | sed 'y% .=/+-,%____p__%'`
5938
if { as_var=kde_cv_prog_cxx_$kde_cache; eval "test \"\${$as_var+set}\" = set"; }; then
5939
echo $ECHO_N "(cached) $ECHO_C" >&6
5944
ac_cpp='$CXXCPP $CPPFLAGS'
5945
ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5946
ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5947
ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
5949
ac_link='rm -rf SunWS_cache; ${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
5952
save_CXXFLAGS="$CXXFLAGS"
5953
CXXFLAGS="$CXXFLAGS -fno-common"
5954
cat >conftest.$ac_ext <<_ACEOF
5957
cat confdefs.h >>conftest.$ac_ext
5958
cat >>conftest.$ac_ext <<_ACEOF
5959
/* end confdefs.h. */
5969
rm -f conftest.$ac_objext conftest$ac_exeext
5970
if { (ac_try="$ac_link"
5972
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5973
*) ac_try_echo=$ac_try;;
5975
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5976
(eval "$ac_link") 2>conftest.er1
5978
grep -v '^ *+' conftest.er1 >conftest.err
5980
cat conftest.err >&5
5981
echo "$as_me:$LINENO: \$? = $ac_status" >&5
5982
(exit $ac_status); } && {
5983
test -z "$ac_cxx_werror_flag" ||
5984
test ! -s conftest.err
5985
} && test -s conftest$ac_exeext &&
5986
$as_test_x conftest$ac_exeext; then
5987
eval "kde_cv_prog_cxx_$kde_cache=yes"
5989
echo "$as_me: failed program was:" >&5
5990
sed 's/^/| /' conftest.$ac_ext >&5
5995
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
5996
conftest$ac_exeext conftest.$ac_ext
5997
CXXFLAGS="$save_CXXFLAGS"
5999
ac_cpp='$CPP $CPPFLAGS'
6000
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6001
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6002
ac_compiler_gnu=$ac_cv_c_compiler_gnu
6007
if eval "test \"`echo '$kde_cv_prog_cxx_'$kde_cache`\" = yes"; then
6008
{ echo "$as_me:$LINENO: result: yes" >&5
6009
echo "${ECHO_T}yes" >&6; }
6011
CXXFLAGS="$CXXFLAGS -fno-common"
6013
{ echo "$as_me:$LINENO: result: no" >&5
6014
echo "${ECHO_T}no" >&6; }
6020
{ echo "$as_me:$LINENO: checking whether $CXX supports -fexceptions" >&5
6021
echo $ECHO_N "checking whether $CXX supports -fexceptions... $ECHO_C" >&6; }
6022
kde_cache=`echo fexceptions | sed 'y% .=/+-,%____p__%'`
6023
if { as_var=kde_cv_prog_cxx_$kde_cache; eval "test \"\${$as_var+set}\" = set"; }; then
6024
echo $ECHO_N "(cached) $ECHO_C" >&6
6029
ac_cpp='$CXXCPP $CPPFLAGS'
6030
ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6031
ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6032
ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
6034
ac_link='rm -rf SunWS_cache; ${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
6037
save_CXXFLAGS="$CXXFLAGS"
6038
CXXFLAGS="$CXXFLAGS -fexceptions"
6039
cat >conftest.$ac_ext <<_ACEOF
6042
cat confdefs.h >>conftest.$ac_ext
6043
cat >>conftest.$ac_ext <<_ACEOF
6044
/* end confdefs.h. */
6054
rm -f conftest.$ac_objext conftest$ac_exeext
6055
if { (ac_try="$ac_link"
6057
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6058
*) ac_try_echo=$ac_try;;
6060
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6061
(eval "$ac_link") 2>conftest.er1
6063
grep -v '^ *+' conftest.er1 >conftest.err
6065
cat conftest.err >&5
6066
echo "$as_me:$LINENO: \$? = $ac_status" >&5
6067
(exit $ac_status); } && {
6068
test -z "$ac_cxx_werror_flag" ||
6069
test ! -s conftest.err
6070
} && test -s conftest$ac_exeext &&
6071
$as_test_x conftest$ac_exeext; then
6072
eval "kde_cv_prog_cxx_$kde_cache=yes"
6074
echo "$as_me: failed program was:" >&5
6075
sed 's/^/| /' conftest.$ac_ext >&5
6080
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
6081
conftest$ac_exeext conftest.$ac_ext
6082
CXXFLAGS="$save_CXXFLAGS"
6084
ac_cpp='$CPP $CPPFLAGS'
6085
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6086
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6087
ac_compiler_gnu=$ac_cv_c_compiler_gnu
6092
if eval "test \"`echo '$kde_cv_prog_cxx_'$kde_cache`\" = yes"; then
6093
{ echo "$as_me:$LINENO: result: yes" >&5
6094
echo "${ECHO_T}yes" >&6; }
6096
USE_EXCEPTIONS="-fexceptions"
6098
{ echo "$as_me:$LINENO: result: no" >&5
6099
echo "${ECHO_T}no" >&6; }
6104
ENABLE_PERMISSIVE_FLAG="-fpermissive"
6106
if test "$kde_use_pch" = "yes"; then
6107
{ echo "$as_me:$LINENO: checking whether gcc supports precompiling c header files" >&5
6108
echo $ECHO_N "checking whether gcc supports precompiling c header files... $ECHO_C" >&6; }
6110
if $CC -x c-header conftest.h >/dev/null 2>/dev/null; then
6111
kde_gcc_supports_pch=yes
6112
{ echo "$as_me:$LINENO: result: yes" >&5
6113
echo "${ECHO_T}yes" >&6; }
6115
kde_gcc_supports_pch=no
6116
{ echo "$as_me:$LINENO: result: no" >&5
6117
echo "${ECHO_T}no" >&6; }
6119
if test "$kde_gcc_supports_pch" = "yes"; then
6120
{ echo "$as_me:$LINENO: checking whether gcc supports precompiling c++ header files" >&5
6121
echo $ECHO_N "checking whether gcc supports precompiling c++ header files... $ECHO_C" >&6; }
6122
if $CXX -x c++-header conftest.h >/dev/null 2>/dev/null; then
6123
kde_gcc_supports_pch=yes
6124
{ echo "$as_me:$LINENO: result: yes" >&5
6125
echo "${ECHO_T}yes" >&6; }
6127
kde_gcc_supports_pch=no
6128
{ echo "$as_me:$LINENO: result: no" >&5
6129
echo "${ECHO_T}no" >&6; }
6132
rm -f conftest.h conftest.h.gch
6136
{ echo "$as_me:$LINENO: checking whether system headers can cope with -O2 -fno-inline" >&5
6137
echo $ECHO_N "checking whether system headers can cope with -O2 -fno-inline... $ECHO_C" >&6; }
6138
if test "${kde_cv_opt_noinline_match+set}" = set; then
6139
echo $ECHO_N "(cached) $ECHO_C" >&6
6142
kde_cv_opt_noinline_match=irrelevant
6143
if echo "$CFLAGS" | grep -e -O2 >/dev/null 2>/dev/null \
6144
&& echo "$CFLAGS" | grep -e -fno-inline >/dev/null 2>/dev/null ; then
6146
ac_cflags_save="$CFLAGS"
6147
CFLAGS="$CFLAGS -D_USE_GNU"
6149
cat >conftest.$ac_ext <<_ACEOF
6152
cat confdefs.h >>conftest.$ac_ext
6153
cat >>conftest.$ac_ext <<_ACEOF
6154
/* end confdefs.h. */
6161
const char *pt, *et;
6162
et = __extension__ ({ char __a0, __a1, __a2; (__builtin_constant_p ( ";," ) && ((size_t)(const void *)(( ";," )+ 1) - (size_t)(const void *)( ";," ) == 1) ? ((__a0 =((__const char *) ( ";," ))[0], __a0 == '\0') ? ((void) ( pt ),((void *)0) ) : ((__a1 = ((__const char *) ( ";," ))[1], __a1== '\0') ? (__extension__ (__builtin_constant_p ( __a0 ) && ( __a0 ) == '\0' ? (char *) __rawmemchr ( pt , __a0) : strchr( pt , __a0 ))) : ((__a2 = ((__const char *) ( ";," ))[2], __a2 == '\0') ? __strpbrk_c2 ( pt , __a0, __a1) :(((__const char *) ( ";," ))[3] == '\0' ? __strpbrk_c3 ( pt ,__a0, __a1, __a2): strpbrk ( pt , ";," ))))) : strpbrk ( pt , ";," )); }) ;
6168
rm -f conftest.$ac_objext conftest$ac_exeext
6169
if { (ac_try="$ac_link"
6171
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6172
*) ac_try_echo=$ac_try;;
6174
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6175
(eval "$ac_link") 2>conftest.er1
6177
grep -v '^ *+' conftest.er1 >conftest.err
6179
cat conftest.err >&5
6180
echo "$as_me:$LINENO: \$? = $ac_status" >&5
6181
(exit $ac_status); } && {
6182
test -z "$ac_c_werror_flag" ||
6183
test ! -s conftest.err
6184
} && test -s conftest$ac_exeext &&
6185
$as_test_x conftest$ac_exeext; then
6186
kde_cv_opt_noinline_match=yes
6188
echo "$as_me: failed program was:" >&5
6189
sed 's/^/| /' conftest.$ac_ext >&5
6191
kde_cv_opt_noinline_match=no
6195
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
6196
conftest$ac_exeext conftest.$ac_ext
6198
CFLAGS="$ac_cflags_save"
6202
{ echo "$as_me:$LINENO: result: $kde_cv_opt_noinline_match" >&5
6203
echo "${ECHO_T}$kde_cv_opt_noinline_match" >&6; }
6205
if test "x$kde_cv_opt_noinline_match" = "xno" ; then
6206
CFLAGS="`echo "$CFLAGS" | sed "s/ -fno-inline//"`"
6211
if test "$kde_use_pch" = "yes" && test "$kde_gcc_supports_pch" = "yes"; then
6212
unsermake_enable_pch_TRUE=
6213
unsermake_enable_pch_FALSE='#'
6215
unsermake_enable_pch_TRUE='#'
6216
unsermake_enable_pch_FALSE=
6219
if test "$CXX" = "KCC"; then
6221
if test "$kde_use_pch" = "yes"; then
6223
{ echo "$as_me:$LINENO: checking whether $CXX supports --pch" >&5
6224
echo $ECHO_N "checking whether $CXX supports --pch... $ECHO_C" >&6; }
6225
kde_cache=`echo -pch | sed 'y% .=/+-,%____p__%'`
6226
if { as_var=kde_cv_prog_cxx_$kde_cache; eval "test \"\${$as_var+set}\" = set"; }; then
6227
echo $ECHO_N "(cached) $ECHO_C" >&6
6232
ac_cpp='$CXXCPP $CPPFLAGS'
6233
ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6234
ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6235
ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
6237
ac_link='rm -rf SunWS_cache; ${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
6240
save_CXXFLAGS="$CXXFLAGS"
6241
CXXFLAGS="$CXXFLAGS --pch"
6242
cat >conftest.$ac_ext <<_ACEOF
6245
cat confdefs.h >>conftest.$ac_ext
6246
cat >>conftest.$ac_ext <<_ACEOF
6247
/* end confdefs.h. */
6257
rm -f conftest.$ac_objext conftest$ac_exeext
6258
if { (ac_try="$ac_link"
6260
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6261
*) ac_try_echo=$ac_try;;
6263
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6264
(eval "$ac_link") 2>conftest.er1
6266
grep -v '^ *+' conftest.er1 >conftest.err
6268
cat conftest.err >&5
6269
echo "$as_me:$LINENO: \$? = $ac_status" >&5
6270
(exit $ac_status); } && {
6271
test -z "$ac_cxx_werror_flag" ||
6272
test ! -s conftest.err
6273
} && test -s conftest$ac_exeext &&
6274
$as_test_x conftest$ac_exeext; then
6275
eval "kde_cv_prog_cxx_$kde_cache=yes"
6277
echo "$as_me: failed program was:" >&5
6278
sed 's/^/| /' conftest.$ac_ext >&5
6283
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
6284
conftest$ac_exeext conftest.$ac_ext
6285
CXXFLAGS="$save_CXXFLAGS"
6287
ac_cpp='$CPP $CPPFLAGS'
6288
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6289
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6290
ac_compiler_gnu=$ac_cv_c_compiler_gnu
6295
if eval "test \"`echo '$kde_cv_prog_cxx_'$kde_cache`\" = yes"; then
6296
{ echo "$as_me:$LINENO: result: yes" >&5
6297
echo "${ECHO_T}yes" >&6; }
6299
CXXFLAGS="$CXXFLAGS --pch"
6301
{ echo "$as_me:$LINENO: result: no" >&5
6302
echo "${ECHO_T}no" >&6; }
6309
{ echo "$as_me:$LINENO: checking whether $CXX supports --inline_keyword_space_time=6" >&5
6310
echo $ECHO_N "checking whether $CXX supports --inline_keyword_space_time=6... $ECHO_C" >&6; }
6311
kde_cache=`echo -inline_keyword_space_time=6 | sed 'y% .=/+-,%____p__%'`
6312
if { as_var=kde_cv_prog_cxx_$kde_cache; eval "test \"\${$as_var+set}\" = set"; }; then
6313
echo $ECHO_N "(cached) $ECHO_C" >&6
6318
ac_cpp='$CXXCPP $CPPFLAGS'
6319
ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6320
ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6321
ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
6323
ac_link='rm -rf SunWS_cache; ${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
6326
save_CXXFLAGS="$CXXFLAGS"
6327
CXXFLAGS="$CXXFLAGS --inline_keyword_space_time=6"
6328
cat >conftest.$ac_ext <<_ACEOF
6331
cat confdefs.h >>conftest.$ac_ext
6332
cat >>conftest.$ac_ext <<_ACEOF
6333
/* end confdefs.h. */
6343
rm -f conftest.$ac_objext conftest$ac_exeext
6344
if { (ac_try="$ac_link"
6346
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6347
*) ac_try_echo=$ac_try;;
6349
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6350
(eval "$ac_link") 2>conftest.er1
6352
grep -v '^ *+' conftest.er1 >conftest.err
6354
cat conftest.err >&5
6355
echo "$as_me:$LINENO: \$? = $ac_status" >&5
6356
(exit $ac_status); } && {
6357
test -z "$ac_cxx_werror_flag" ||
6358
test ! -s conftest.err
6359
} && test -s conftest$ac_exeext &&
6360
$as_test_x conftest$ac_exeext; then
6361
eval "kde_cv_prog_cxx_$kde_cache=yes"
6363
echo "$as_me: failed program was:" >&5
6364
sed 's/^/| /' conftest.$ac_ext >&5
6369
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
6370
conftest$ac_exeext conftest.$ac_ext
6371
CXXFLAGS="$save_CXXFLAGS"
6373
ac_cpp='$CPP $CPPFLAGS'
6374
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6375
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6376
ac_compiler_gnu=$ac_cv_c_compiler_gnu
6381
if eval "test \"`echo '$kde_cv_prog_cxx_'$kde_cache`\" = yes"; then
6382
{ echo "$as_me:$LINENO: result: yes" >&5
6383
echo "${ECHO_T}yes" >&6; }
6385
CXXFLAGS="$CXXFLAGS --inline_keyword_space_time=6"
6387
{ echo "$as_me:$LINENO: result: no" >&5
6388
echo "${ECHO_T}no" >&6; }
6394
{ echo "$as_me:$LINENO: checking whether $CXX supports --inline_auto_space_time=2" >&5
6395
echo $ECHO_N "checking whether $CXX supports --inline_auto_space_time=2... $ECHO_C" >&6; }
6396
kde_cache=`echo -inline_auto_space_time=2 | sed 'y% .=/+-,%____p__%'`
6397
if { as_var=kde_cv_prog_cxx_$kde_cache; eval "test \"\${$as_var+set}\" = set"; }; then
6398
echo $ECHO_N "(cached) $ECHO_C" >&6
6403
ac_cpp='$CXXCPP $CPPFLAGS'
6404
ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6405
ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6406
ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
6408
ac_link='rm -rf SunWS_cache; ${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
6411
save_CXXFLAGS="$CXXFLAGS"
6412
CXXFLAGS="$CXXFLAGS --inline_auto_space_time=2"
6413
cat >conftest.$ac_ext <<_ACEOF
6416
cat confdefs.h >>conftest.$ac_ext
6417
cat >>conftest.$ac_ext <<_ACEOF
6418
/* end confdefs.h. */
6428
rm -f conftest.$ac_objext conftest$ac_exeext
6429
if { (ac_try="$ac_link"
6431
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6432
*) ac_try_echo=$ac_try;;
6434
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6435
(eval "$ac_link") 2>conftest.er1
6437
grep -v '^ *+' conftest.er1 >conftest.err
6439
cat conftest.err >&5
6440
echo "$as_me:$LINENO: \$? = $ac_status" >&5
6441
(exit $ac_status); } && {
6442
test -z "$ac_cxx_werror_flag" ||
6443
test ! -s conftest.err
6444
} && test -s conftest$ac_exeext &&
6445
$as_test_x conftest$ac_exeext; then
6446
eval "kde_cv_prog_cxx_$kde_cache=yes"
6448
echo "$as_me: failed program was:" >&5
6449
sed 's/^/| /' conftest.$ac_ext >&5
6454
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
6455
conftest$ac_exeext conftest.$ac_ext
6456
CXXFLAGS="$save_CXXFLAGS"
6458
ac_cpp='$CPP $CPPFLAGS'
6459
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6460
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6461
ac_compiler_gnu=$ac_cv_c_compiler_gnu
6466
if eval "test \"`echo '$kde_cv_prog_cxx_'$kde_cache`\" = yes"; then
6467
{ echo "$as_me:$LINENO: result: yes" >&5
6468
echo "${ECHO_T}yes" >&6; }
6470
CXXFLAGS="$CXXFLAGS --inline_auto_space_time=2"
6472
{ echo "$as_me:$LINENO: result: no" >&5
6473
echo "${ECHO_T}no" >&6; }
6479
{ echo "$as_me:$LINENO: checking whether $CXX supports --inline_implicit_space_time=2.0" >&5
6480
echo $ECHO_N "checking whether $CXX supports --inline_implicit_space_time=2.0... $ECHO_C" >&6; }
6481
kde_cache=`echo -inline_implicit_space_time=2.0 | sed 'y% .=/+-,%____p__%'`
6482
if { as_var=kde_cv_prog_cxx_$kde_cache; eval "test \"\${$as_var+set}\" = set"; }; then
6483
echo $ECHO_N "(cached) $ECHO_C" >&6
6488
ac_cpp='$CXXCPP $CPPFLAGS'
6489
ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6490
ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6491
ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
6493
ac_link='rm -rf SunWS_cache; ${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
6496
save_CXXFLAGS="$CXXFLAGS"
6497
CXXFLAGS="$CXXFLAGS --inline_implicit_space_time=2.0"
6498
cat >conftest.$ac_ext <<_ACEOF
6501
cat confdefs.h >>conftest.$ac_ext
6502
cat >>conftest.$ac_ext <<_ACEOF
6503
/* end confdefs.h. */
6513
rm -f conftest.$ac_objext conftest$ac_exeext
6514
if { (ac_try="$ac_link"
6516
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6517
*) ac_try_echo=$ac_try;;
6519
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6520
(eval "$ac_link") 2>conftest.er1
6522
grep -v '^ *+' conftest.er1 >conftest.err
6524
cat conftest.err >&5
6525
echo "$as_me:$LINENO: \$? = $ac_status" >&5
6526
(exit $ac_status); } && {
6527
test -z "$ac_cxx_werror_flag" ||
6528
test ! -s conftest.err
6529
} && test -s conftest$ac_exeext &&
6530
$as_test_x conftest$ac_exeext; then
6531
eval "kde_cv_prog_cxx_$kde_cache=yes"
6533
echo "$as_me: failed program was:" >&5
6534
sed 's/^/| /' conftest.$ac_ext >&5
6539
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
6540
conftest$ac_exeext conftest.$ac_ext
6541
CXXFLAGS="$save_CXXFLAGS"
6543
ac_cpp='$CPP $CPPFLAGS'
6544
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6545
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6546
ac_compiler_gnu=$ac_cv_c_compiler_gnu
6551
if eval "test \"`echo '$kde_cv_prog_cxx_'$kde_cache`\" = yes"; then
6552
{ echo "$as_me:$LINENO: result: yes" >&5
6553
echo "${ECHO_T}yes" >&6; }
6555
CXXFLAGS="$CXXFLAGS --inline_implicit_space_time=2.0"
6557
{ echo "$as_me:$LINENO: result: no" >&5
6558
echo "${ECHO_T}no" >&6; }
6564
{ echo "$as_me:$LINENO: checking whether $CXX supports --inline_generated_space_time=2.0" >&5
6565
echo $ECHO_N "checking whether $CXX supports --inline_generated_space_time=2.0... $ECHO_C" >&6; }
6566
kde_cache=`echo -inline_generated_space_time=2.0 | sed 'y% .=/+-,%____p__%'`
6567
if { as_var=kde_cv_prog_cxx_$kde_cache; eval "test \"\${$as_var+set}\" = set"; }; then
6568
echo $ECHO_N "(cached) $ECHO_C" >&6
6573
ac_cpp='$CXXCPP $CPPFLAGS'
6574
ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6575
ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6576
ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
6578
ac_link='rm -rf SunWS_cache; ${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
6581
save_CXXFLAGS="$CXXFLAGS"
6582
CXXFLAGS="$CXXFLAGS --inline_generated_space_time=2.0"
6583
cat >conftest.$ac_ext <<_ACEOF
6586
cat confdefs.h >>conftest.$ac_ext
6587
cat >>conftest.$ac_ext <<_ACEOF
6588
/* end confdefs.h. */
6598
rm -f conftest.$ac_objext conftest$ac_exeext
6599
if { (ac_try="$ac_link"
6601
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6602
*) ac_try_echo=$ac_try;;
6604
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6605
(eval "$ac_link") 2>conftest.er1
6607
grep -v '^ *+' conftest.er1 >conftest.err
6609
cat conftest.err >&5
6610
echo "$as_me:$LINENO: \$? = $ac_status" >&5
6611
(exit $ac_status); } && {
6612
test -z "$ac_cxx_werror_flag" ||
6613
test ! -s conftest.err
6614
} && test -s conftest$ac_exeext &&
6615
$as_test_x conftest$ac_exeext; then
6616
eval "kde_cv_prog_cxx_$kde_cache=yes"
6618
echo "$as_me: failed program was:" >&5
6619
sed 's/^/| /' conftest.$ac_ext >&5
6624
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
6625
conftest$ac_exeext conftest.$ac_ext
6626
CXXFLAGS="$save_CXXFLAGS"
6628
ac_cpp='$CPP $CPPFLAGS'
6629
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6630
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6631
ac_compiler_gnu=$ac_cv_c_compiler_gnu
6636
if eval "test \"`echo '$kde_cv_prog_cxx_'$kde_cache`\" = yes"; then
6637
{ echo "$as_me:$LINENO: result: yes" >&5
6638
echo "${ECHO_T}yes" >&6; }
6640
CXXFLAGS="$CXXFLAGS --inline_generated_space_time=2.0"
6642
{ echo "$as_me:$LINENO: result: no" >&5
6643
echo "${ECHO_T}no" >&6; }
6649
{ echo "$as_me:$LINENO: checking whether $CXX supports --one_per" >&5
6650
echo $ECHO_N "checking whether $CXX supports --one_per... $ECHO_C" >&6; }
6651
kde_cache=`echo -one_per | sed 'y% .=/+-,%____p__%'`
6652
if { as_var=kde_cv_prog_cxx_$kde_cache; eval "test \"\${$as_var+set}\" = set"; }; then
6653
echo $ECHO_N "(cached) $ECHO_C" >&6
6658
ac_cpp='$CXXCPP $CPPFLAGS'
6659
ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6660
ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6661
ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
6663
ac_link='rm -rf SunWS_cache; ${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
6666
save_CXXFLAGS="$CXXFLAGS"
6667
CXXFLAGS="$CXXFLAGS --one_per"
6668
cat >conftest.$ac_ext <<_ACEOF
6671
cat confdefs.h >>conftest.$ac_ext
6672
cat >>conftest.$ac_ext <<_ACEOF
6673
/* end confdefs.h. */
6683
rm -f conftest.$ac_objext conftest$ac_exeext
6684
if { (ac_try="$ac_link"
6686
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6687
*) ac_try_echo=$ac_try;;
6689
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6690
(eval "$ac_link") 2>conftest.er1
6692
grep -v '^ *+' conftest.er1 >conftest.err
6694
cat conftest.err >&5
6695
echo "$as_me:$LINENO: \$? = $ac_status" >&5
6696
(exit $ac_status); } && {
6697
test -z "$ac_cxx_werror_flag" ||
6698
test ! -s conftest.err
6699
} && test -s conftest$ac_exeext &&
6700
$as_test_x conftest$ac_exeext; then
6701
eval "kde_cv_prog_cxx_$kde_cache=yes"
6703
echo "$as_me: failed program was:" >&5
6704
sed 's/^/| /' conftest.$ac_ext >&5
6709
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
6710
conftest$ac_exeext conftest.$ac_ext
6711
CXXFLAGS="$save_CXXFLAGS"
6713
ac_cpp='$CPP $CPPFLAGS'
6714
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6715
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6716
ac_compiler_gnu=$ac_cv_c_compiler_gnu
6721
if eval "test \"`echo '$kde_cv_prog_cxx_'$kde_cache`\" = yes"; then
6722
{ echo "$as_me:$LINENO: result: yes" >&5
6723
echo "${ECHO_T}yes" >&6; }
6725
CXXFLAGS="$CXXFLAGS --one_per"
6727
{ echo "$as_me:$LINENO: result: no" >&5
6728
echo "${ECHO_T}no" >&6; }
6739
*-*-irix*) test "$GXX" = yes && CXXFLAGS="-D_LANGUAGE_C_PLUS_PLUS -D__LANGUAGE_C_PLUS_PLUS $CXXFLAGS" ;;
6740
*-*-sysv4.2uw*) CXXFLAGS="-D_UNIXWARE $CXXFLAGS";;
6741
*-*-sysv5uw7*) CXXFLAGS="-D_UNIXWARE7 $CXXFLAGS";;
6743
if test "$GXX" = yes; then
6744
libstdcpp=`$CXX -print-file-name=libstdc++.so`
6745
if test ! -f $libstdcpp; then
6746
{ { echo "$as_me:$LINENO: error: You've compiled gcc without --enable-shared. This doesn't work with KDE. Please recompile gcc with --enable-shared to receive a libstdc++.so" >&5
6747
echo "$as_me: error: You've compiled gcc without --enable-shared. This doesn't work with KDE. Please recompile gcc with --enable-shared to receive a libstdc++.so" >&2;}
6748
{ (exit 1); exit 1; }; }
6754
if test "x$kde_use_qt_emb" != "xyes"; then
6756
__forbid=" -fno-rtti -rpath "
6757
if test -n "$__val"; then
6763
*" $i "*) { echo "$as_me:$LINENO: WARNING: found forbidden $i in CXX, removing it" >&5
6764
echo "$as_me: WARNING: found forbidden $i in CXX, removing it" >&2;} ;;
6765
*) # Careful to not add spaces, where there were none, because otherwise
6766
# libtool gets confused, if we change e.g. CXX
6767
if test -z "$__new" ; then __new=$i ; else __new="$__new $i" ; fi ;;
6775
__forbid=" -fno-rtti -rpath "
6776
if test -n "$__val"; then
6782
*" $i "*) { echo "$as_me:$LINENO: WARNING: found forbidden $i in CXXFLAGS, removing it" >&5
6783
echo "$as_me: WARNING: found forbidden $i in CXXFLAGS, removing it" >&2;} ;;
6784
*) # Careful to not add spaces, where there were none, because otherwise
6785
# libtool gets confused, if we change e.g. CXX
6786
if test -z "$__new" ; then __new=$i ; else __new="$__new $i" ; fi ;;
6796
if test -n "$__val"; then
6802
*" $i "*) { echo "$as_me:$LINENO: WARNING: found forbidden $i in CXX, removing it" >&5
6803
echo "$as_me: WARNING: found forbidden $i in CXX, removing it" >&2;} ;;
6804
*) # Careful to not add spaces, where there were none, because otherwise
6805
# libtool gets confused, if we change e.g. CXX
6806
if test -z "$__new" ; then __new=$i ; else __new="$__new $i" ; fi ;;
6815
if test -n "$__val"; then
6821
*" $i "*) { echo "$as_me:$LINENO: WARNING: found forbidden $i in CXXFLAGS, removing it" >&5
6822
echo "$as_me: WARNING: found forbidden $i in CXXFLAGS, removing it" >&2;} ;;
6823
*) # Careful to not add spaces, where there were none, because otherwise
6824
# libtool gets confused, if we change e.g. CXX
6825
if test -z "$__new" ; then __new=$i ; else __new="$__new $i" ; fi ;;
6836
ac_cpp='$CXXCPP $CPPFLAGS'
6837
ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6838
ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6839
ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
6840
{ echo "$as_me:$LINENO: checking how to run the C++ preprocessor" >&5
6841
echo $ECHO_N "checking how to run the C++ preprocessor... $ECHO_C" >&6; }
6842
if test -z "$CXXCPP"; then
6843
if test "${ac_cv_prog_CXXCPP+set}" = set; then
6844
echo $ECHO_N "(cached) $ECHO_C" >&6
6846
# Double quotes because CXXCPP needs to be expanded
6847
for CXXCPP in "$CXX -E" "/lib/cpp"
6850
for ac_cxx_preproc_warn_flag in '' yes
6852
# Use a header file that comes with gcc, so configuring glibc
6853
# with a fresh cross-compiler works.
6854
# Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
6855
# <limits.h> exists even on freestanding compilers.
6856
# On the NeXT, cc -E runs the code through the compiler's parser,
6857
# not just through cpp. "Syntax error" is here to catch this case.
6858
cat >conftest.$ac_ext <<_ACEOF
6861
cat confdefs.h >>conftest.$ac_ext
6862
cat >>conftest.$ac_ext <<_ACEOF
6863
/* end confdefs.h. */
6865
# include <limits.h>
6867
# include <assert.h>
6871
if { (ac_try="$ac_cpp conftest.$ac_ext"
6873
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6874
*) ac_try_echo=$ac_try;;
6876
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6877
(eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
6879
grep -v '^ *+' conftest.er1 >conftest.err
6881
cat conftest.err >&5
6882
echo "$as_me:$LINENO: \$? = $ac_status" >&5
6883
(exit $ac_status); } >/dev/null && {
6884
test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
6885
test ! -s conftest.err
6889
echo "$as_me: failed program was:" >&5
6890
sed 's/^/| /' conftest.$ac_ext >&5
6892
# Broken: fails on valid input.
6896
rm -f conftest.err conftest.$ac_ext
6898
# OK, works on sane cases. Now check whether nonexistent headers
6899
# can be detected and how.
6900
cat >conftest.$ac_ext <<_ACEOF
6903
cat confdefs.h >>conftest.$ac_ext
6904
cat >>conftest.$ac_ext <<_ACEOF
6905
/* end confdefs.h. */
6906
#include <ac_nonexistent.h>
6908
if { (ac_try="$ac_cpp conftest.$ac_ext"
6910
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6911
*) ac_try_echo=$ac_try;;
6913
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6914
(eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
6916
grep -v '^ *+' conftest.er1 >conftest.err
6918
cat conftest.err >&5
6919
echo "$as_me:$LINENO: \$? = $ac_status" >&5
6920
(exit $ac_status); } >/dev/null && {
6921
test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
6922
test ! -s conftest.err
6924
# Broken: success on invalid input.
6927
echo "$as_me: failed program was:" >&5
6928
sed 's/^/| /' conftest.$ac_ext >&5
6930
# Passes both tests.
6935
rm -f conftest.err conftest.$ac_ext
6938
# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
6939
rm -f conftest.err conftest.$ac_ext
6940
if $ac_preproc_ok; then
6945
ac_cv_prog_CXXCPP=$CXXCPP
6948
CXXCPP=$ac_cv_prog_CXXCPP
6950
ac_cv_prog_CXXCPP=$CXXCPP
6952
{ echo "$as_me:$LINENO: result: $CXXCPP" >&5
6953
echo "${ECHO_T}$CXXCPP" >&6; }
6955
for ac_cxx_preproc_warn_flag in '' yes
6957
# Use a header file that comes with gcc, so configuring glibc
6958
# with a fresh cross-compiler works.
6959
# Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
6960
# <limits.h> exists even on freestanding compilers.
6961
# On the NeXT, cc -E runs the code through the compiler's parser,
6962
# not just through cpp. "Syntax error" is here to catch this case.
6963
cat >conftest.$ac_ext <<_ACEOF
6966
cat confdefs.h >>conftest.$ac_ext
6967
cat >>conftest.$ac_ext <<_ACEOF
6968
/* end confdefs.h. */
6970
# include <limits.h>
6972
# include <assert.h>
6976
if { (ac_try="$ac_cpp conftest.$ac_ext"
6978
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6979
*) ac_try_echo=$ac_try;;
6981
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6982
(eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
6984
grep -v '^ *+' conftest.er1 >conftest.err
6986
cat conftest.err >&5
6987
echo "$as_me:$LINENO: \$? = $ac_status" >&5
6988
(exit $ac_status); } >/dev/null && {
6989
test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
6990
test ! -s conftest.err
6994
echo "$as_me: failed program was:" >&5
6995
sed 's/^/| /' conftest.$ac_ext >&5
6997
# Broken: fails on valid input.
7001
rm -f conftest.err conftest.$ac_ext
7003
# OK, works on sane cases. Now check whether nonexistent headers
7004
# can be detected and how.
7005
cat >conftest.$ac_ext <<_ACEOF
7008
cat confdefs.h >>conftest.$ac_ext
7009
cat >>conftest.$ac_ext <<_ACEOF
7010
/* end confdefs.h. */
7011
#include <ac_nonexistent.h>
7013
if { (ac_try="$ac_cpp conftest.$ac_ext"
7015
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7016
*) ac_try_echo=$ac_try;;
7018
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7019
(eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
7021
grep -v '^ *+' conftest.er1 >conftest.err
7023
cat conftest.err >&5
7024
echo "$as_me:$LINENO: \$? = $ac_status" >&5
7025
(exit $ac_status); } >/dev/null && {
7026
test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
7027
test ! -s conftest.err
7029
# Broken: success on invalid input.
7032
echo "$as_me: failed program was:" >&5
7033
sed 's/^/| /' conftest.$ac_ext >&5
7035
# Passes both tests.
7040
rm -f conftest.err conftest.$ac_ext
7043
# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
7044
rm -f conftest.err conftest.$ac_ext
7045
if $ac_preproc_ok; then
7048
{ { echo "$as_me:$LINENO: error: C++ preprocessor \"$CXXCPP\" fails sanity check
7049
See \`config.log' for more details." >&5
7050
echo "$as_me: error: C++ preprocessor \"$CXXCPP\" fails sanity check
7051
See \`config.log' for more details." >&2;}
7052
{ (exit 1); exit 1; }; }
7056
ac_cpp='$CPP $CPPFLAGS'
7057
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7058
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7059
ac_compiler_gnu=$ac_cv_c_compiler_gnu
7062
if test "$GCC" = yes; then
7066
{ echo "$as_me:$LINENO: checking whether $CXX supports -O0" >&5
7067
echo $ECHO_N "checking whether $CXX supports -O0... $ECHO_C" >&6; }
7068
kde_cache=`echo O0 | sed 'y% .=/+-,%____p__%'`
7069
if { as_var=kde_cv_prog_cxx_$kde_cache; eval "test \"\${$as_var+set}\" = set"; }; then
7070
echo $ECHO_N "(cached) $ECHO_C" >&6
7075
ac_cpp='$CXXCPP $CPPFLAGS'
7076
ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7077
ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7078
ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
7080
ac_link='rm -rf SunWS_cache; ${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
7083
save_CXXFLAGS="$CXXFLAGS"
7084
CXXFLAGS="$CXXFLAGS -O0"
7085
cat >conftest.$ac_ext <<_ACEOF
7088
cat confdefs.h >>conftest.$ac_ext
7089
cat >>conftest.$ac_ext <<_ACEOF
7090
/* end confdefs.h. */
7100
rm -f conftest.$ac_objext conftest$ac_exeext
7101
if { (ac_try="$ac_link"
7103
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7104
*) ac_try_echo=$ac_try;;
7106
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7107
(eval "$ac_link") 2>conftest.er1
7109
grep -v '^ *+' conftest.er1 >conftest.err
7111
cat conftest.err >&5
7112
echo "$as_me:$LINENO: \$? = $ac_status" >&5
7113
(exit $ac_status); } && {
7114
test -z "$ac_cxx_werror_flag" ||
7115
test ! -s conftest.err
7116
} && test -s conftest$ac_exeext &&
7117
$as_test_x conftest$ac_exeext; then
7118
eval "kde_cv_prog_cxx_$kde_cache=yes"
7120
echo "$as_me: failed program was:" >&5
7121
sed 's/^/| /' conftest.$ac_ext >&5
7126
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
7127
conftest$ac_exeext conftest.$ac_ext
7128
CXXFLAGS="$save_CXXFLAGS"
7130
ac_cpp='$CPP $CPPFLAGS'
7131
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7132
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7133
ac_compiler_gnu=$ac_cv_c_compiler_gnu
7138
if eval "test \"`echo '$kde_cv_prog_cxx_'$kde_cache`\" = yes"; then
7139
{ echo "$as_me:$LINENO: result: yes" >&5
7140
echo "${ECHO_T}yes" >&6; }
7144
{ echo "$as_me:$LINENO: result: no" >&5
7145
echo "${ECHO_T}no" >&6; }
7151
# Check whether --enable-coverage was given.
7152
if test "${enable_coverage+set}" = set; then
7153
enableval=$enable_coverage;
7154
if test "$am_cv_CC_dependencies_compiler_type" = "gcc3"; then
7155
ac_coverage_compiler="-fprofile-arcs -ftest-coverage"
7156
ac_coverage_linker="-lgcc"
7157
elif test "$am_cv_CC_dependencies_compiler_type" = "gcc"; then
7158
ac_coverage_compiler="-fprofile-arcs -ftest-coverage"
7159
ac_coverage_linker=""
7161
{ { echo "$as_me:$LINENO: error: coverage with your compiler is not supported" >&5
7162
echo "$as_me: error: coverage with your compiler is not supported" >&2;}
7163
{ (exit 1); exit 1; }; }
7165
CFLAGS="$CFLAGS $ac_coverage_compiler"
7166
CXXFLAGS="$CXXFLAGS $ac_coverage_compiler"
7167
LDFLAGS="$LDFLAGS $ac_coverage_linker"
7177
# Check whether --enable-new_ldflags was given.
7178
if test "${enable_new_ldflags+set}" = set; then
7179
enableval=$enable_new_ldflags; kde_use_new_ldflags=$enableval
7181
kde_use_new_ldflags=no
7185
LDFLAGS_AS_NEEDED=""
7186
LDFLAGS_NEW_DTAGS=""
7187
if test "x$kde_use_new_ldflags" = "xyes"; then
7188
LDFLAGS_NEW_DTAGS=""
7190
{ echo "$as_me:$LINENO: checking whether $CXX supports -Wl,--enable-new-dtags" >&5
7191
echo $ECHO_N "checking whether $CXX supports -Wl,--enable-new-dtags... $ECHO_C" >&6; }
7192
kde_cache=`echo Wl,--enable-new-dtags | sed 'y% .=/+-,%____p__%'`
7193
if { as_var=kde_cv_prog_cxx_$kde_cache; eval "test \"\${$as_var+set}\" = set"; }; then
7194
echo $ECHO_N "(cached) $ECHO_C" >&6
7199
ac_cpp='$CXXCPP $CPPFLAGS'
7200
ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7201
ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7202
ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
7204
ac_link='rm -rf SunWS_cache; ${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
7207
save_CXXFLAGS="$CXXFLAGS"
7208
CXXFLAGS="$CXXFLAGS -Wl,--enable-new-dtags"
7209
cat >conftest.$ac_ext <<_ACEOF
7212
cat confdefs.h >>conftest.$ac_ext
7213
cat >>conftest.$ac_ext <<_ACEOF
7214
/* end confdefs.h. */
7224
rm -f conftest.$ac_objext conftest$ac_exeext
7225
if { (ac_try="$ac_link"
7227
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7228
*) ac_try_echo=$ac_try;;
7230
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7231
(eval "$ac_link") 2>conftest.er1
7233
grep -v '^ *+' conftest.er1 >conftest.err
7235
cat conftest.err >&5
7236
echo "$as_me:$LINENO: \$? = $ac_status" >&5
7237
(exit $ac_status); } && {
7238
test -z "$ac_cxx_werror_flag" ||
7239
test ! -s conftest.err
7240
} && test -s conftest$ac_exeext &&
7241
$as_test_x conftest$ac_exeext; then
7242
eval "kde_cv_prog_cxx_$kde_cache=yes"
7244
echo "$as_me: failed program was:" >&5
7245
sed 's/^/| /' conftest.$ac_ext >&5
7250
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
7251
conftest$ac_exeext conftest.$ac_ext
7252
CXXFLAGS="$save_CXXFLAGS"
7254
ac_cpp='$CPP $CPPFLAGS'
7255
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7256
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7257
ac_compiler_gnu=$ac_cv_c_compiler_gnu
7262
if eval "test \"`echo '$kde_cv_prog_cxx_'$kde_cache`\" = yes"; then
7263
{ echo "$as_me:$LINENO: result: yes" >&5
7264
echo "${ECHO_T}yes" >&6; }
7266
LDFLAGS_NEW_DTAGS="-Wl,--enable-new-dtags"
7268
{ echo "$as_me:$LINENO: result: no" >&5
7269
echo "${ECHO_T}no" >&6; }
7276
{ echo "$as_me:$LINENO: checking whether $CXX supports -Wl,--as-needed" >&5
7277
echo $ECHO_N "checking whether $CXX supports -Wl,--as-needed... $ECHO_C" >&6; }
7278
kde_cache=`echo Wl,--as-needed | sed 'y% .=/+-,%____p__%'`
7279
if { as_var=kde_cv_prog_cxx_$kde_cache; eval "test \"\${$as_var+set}\" = set"; }; then
7280
echo $ECHO_N "(cached) $ECHO_C" >&6
7285
ac_cpp='$CXXCPP $CPPFLAGS'
7286
ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7287
ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7288
ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
7290
ac_link='rm -rf SunWS_cache; ${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
7293
save_CXXFLAGS="$CXXFLAGS"
7294
CXXFLAGS="$CXXFLAGS -Wl,--as-needed"
7295
cat >conftest.$ac_ext <<_ACEOF
7298
cat confdefs.h >>conftest.$ac_ext
7299
cat >>conftest.$ac_ext <<_ACEOF
7300
/* end confdefs.h. */
7310
rm -f conftest.$ac_objext conftest$ac_exeext
7311
if { (ac_try="$ac_link"
7313
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7314
*) ac_try_echo=$ac_try;;
7316
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7317
(eval "$ac_link") 2>conftest.er1
7319
grep -v '^ *+' conftest.er1 >conftest.err
7321
cat conftest.err >&5
7322
echo "$as_me:$LINENO: \$? = $ac_status" >&5
7323
(exit $ac_status); } && {
7324
test -z "$ac_cxx_werror_flag" ||
7325
test ! -s conftest.err
7326
} && test -s conftest$ac_exeext &&
7327
$as_test_x conftest$ac_exeext; then
7328
eval "kde_cv_prog_cxx_$kde_cache=yes"
7330
echo "$as_me: failed program was:" >&5
7331
sed 's/^/| /' conftest.$ac_ext >&5
7336
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
7337
conftest$ac_exeext conftest.$ac_ext
7338
CXXFLAGS="$save_CXXFLAGS"
7340
ac_cpp='$CPP $CPPFLAGS'
7341
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7342
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7343
ac_compiler_gnu=$ac_cv_c_compiler_gnu
7348
if eval "test \"`echo '$kde_cv_prog_cxx_'$kde_cache`\" = yes"; then
7349
{ echo "$as_me:$LINENO: result: yes" >&5
7350
echo "${ECHO_T}yes" >&6; }
7352
LDFLAGS_AS_NEEDED="-Wl,--as-needed"
7354
{ echo "$as_me:$LINENO: result: no" >&5
7355
echo "${ECHO_T}no" >&6; }
7365
# Check whether --enable-final was given.
7366
if test "${enable_final+set}" = set; then
7367
enableval=$enable_final; kde_use_final=$enableval
7373
if test "x$kde_use_final" = "xyes"; then
7374
KDE_USE_FINAL_TRUE=""
7375
KDE_USE_FINAL_FALSE="#"
7377
KDE_USE_FINAL_TRUE="#"
7378
KDE_USE_FINAL_FALSE=""
7384
# Check whether --enable-closure was given.
7385
if test "${enable_closure+set}" = set; then
7386
enableval=$enable_closure; kde_use_closure=$enableval
7393
if test "x$kde_use_closure" = "xyes"; then
7394
KDE_USE_CLOSURE_TRUE=""
7395
KDE_USE_CLOSURE_FALSE="#"
7396
# CXXFLAGS="$CXXFLAGS $REPO"
7398
KDE_USE_CLOSURE_TRUE="#"
7399
KDE_USE_CLOSURE_FALSE=""
7404
{ echo "$as_me:$LINENO: checking whether $CXX supports -Wl,--no-undefined" >&5
7405
echo $ECHO_N "checking whether $CXX supports -Wl,--no-undefined... $ECHO_C" >&6; }
7406
kde_cache=`echo Wl,--no-undefined | sed 'y% .=/+-,%____p__%'`
7407
if { as_var=kde_cv_prog_cxx_$kde_cache; eval "test \"\${$as_var+set}\" = set"; }; then
7408
echo $ECHO_N "(cached) $ECHO_C" >&6
7413
ac_cpp='$CXXCPP $CPPFLAGS'
7414
ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7415
ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7416
ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
7418
ac_link='rm -rf SunWS_cache; ${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
7421
save_CXXFLAGS="$CXXFLAGS"
7422
CXXFLAGS="$CXXFLAGS -Wl,--no-undefined"
7423
cat >conftest.$ac_ext <<_ACEOF
7426
cat confdefs.h >>conftest.$ac_ext
7427
cat >>conftest.$ac_ext <<_ACEOF
7428
/* end confdefs.h. */
7438
rm -f conftest.$ac_objext conftest$ac_exeext
7439
if { (ac_try="$ac_link"
7441
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7442
*) ac_try_echo=$ac_try;;
7444
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7445
(eval "$ac_link") 2>conftest.er1
7447
grep -v '^ *+' conftest.er1 >conftest.err
7449
cat conftest.err >&5
7450
echo "$as_me:$LINENO: \$? = $ac_status" >&5
7451
(exit $ac_status); } && {
7452
test -z "$ac_cxx_werror_flag" ||
7453
test ! -s conftest.err
7454
} && test -s conftest$ac_exeext &&
7455
$as_test_x conftest$ac_exeext; then
7456
eval "kde_cv_prog_cxx_$kde_cache=yes"
7458
echo "$as_me: failed program was:" >&5
7459
sed 's/^/| /' conftest.$ac_ext >&5
7464
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
7465
conftest$ac_exeext conftest.$ac_ext
7466
CXXFLAGS="$save_CXXFLAGS"
7468
ac_cpp='$CPP $CPPFLAGS'
7469
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7470
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7471
ac_compiler_gnu=$ac_cv_c_compiler_gnu
7476
if eval "test \"`echo '$kde_cv_prog_cxx_'$kde_cache`\" = yes"; then
7477
{ echo "$as_me:$LINENO: result: yes" >&5
7478
echo "${ECHO_T}yes" >&6; }
7481
{ echo "$as_me:$LINENO: checking whether $CXX supports -Wl,--allow-shlib-undefined" >&5
7482
echo $ECHO_N "checking whether $CXX supports -Wl,--allow-shlib-undefined... $ECHO_C" >&6; }
7483
kde_cache=`echo Wl,--allow-shlib-undefined | sed 'y% .=/+-,%____p__%'`
7484
if { as_var=kde_cv_prog_cxx_$kde_cache; eval "test \"\${$as_var+set}\" = set"; }; then
7485
echo $ECHO_N "(cached) $ECHO_C" >&6
7490
ac_cpp='$CXXCPP $CPPFLAGS'
7491
ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7492
ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7493
ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
7495
ac_link='rm -rf SunWS_cache; ${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
7498
save_CXXFLAGS="$CXXFLAGS"
7499
CXXFLAGS="$CXXFLAGS -Wl,--allow-shlib-undefined"
7500
cat >conftest.$ac_ext <<_ACEOF
7503
cat confdefs.h >>conftest.$ac_ext
7504
cat >>conftest.$ac_ext <<_ACEOF
7505
/* end confdefs.h. */
7515
rm -f conftest.$ac_objext conftest$ac_exeext
7516
if { (ac_try="$ac_link"
7518
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7519
*) ac_try_echo=$ac_try;;
7521
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7522
(eval "$ac_link") 2>conftest.er1
7524
grep -v '^ *+' conftest.er1 >conftest.err
7526
cat conftest.err >&5
7527
echo "$as_me:$LINENO: \$? = $ac_status" >&5
7528
(exit $ac_status); } && {
7529
test -z "$ac_cxx_werror_flag" ||
7530
test ! -s conftest.err
7531
} && test -s conftest$ac_exeext &&
7532
$as_test_x conftest$ac_exeext; then
7533
eval "kde_cv_prog_cxx_$kde_cache=yes"
7535
echo "$as_me: failed program was:" >&5
7536
sed 's/^/| /' conftest.$ac_ext >&5
7541
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
7542
conftest$ac_exeext conftest.$ac_ext
7543
CXXFLAGS="$save_CXXFLAGS"
7545
ac_cpp='$CPP $CPPFLAGS'
7546
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7547
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7548
ac_compiler_gnu=$ac_cv_c_compiler_gnu
7553
if eval "test \"`echo '$kde_cv_prog_cxx_'$kde_cache`\" = yes"; then
7554
{ echo "$as_me:$LINENO: result: yes" >&5
7555
echo "${ECHO_T}yes" >&6; }
7557
KDE_NO_UNDEFINED="-Wl,--no-undefined -Wl,--allow-shlib-undefined"
7559
{ echo "$as_me:$LINENO: result: no" >&5
7560
echo "${ECHO_T}no" >&6; }
7566
{ echo "$as_me:$LINENO: result: no" >&5
7567
echo "${ECHO_T}no" >&6; }
7580
# Check whether --enable-nmcheck was given.
7581
if test "${enable_nmcheck+set}" = set; then
7582
enableval=$enable_nmcheck; kde_use_nmcheck=$enableval
7588
if test "$kde_use_nmcheck" = "yes"; then
7589
KDE_USE_NMCHECK_TRUE=""
7590
KDE_USE_NMCHECK_FALSE="#"
7592
KDE_USE_NMCHECK_TRUE="#"
7593
KDE_USE_NMCHECK_FALSE=""
7601
# Check whether --enable-shared was given.
7602
if test "${enable_shared+set}" = set; then
7603
enableval=$enable_shared; p=${PACKAGE-default}
7605
yes) enable_shared=yes ;;
7606
no) enable_shared=no ;;
7609
# Look at the argument we got. We use all the common list separators.
7610
lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
7611
for pkg in $enableval; do
7613
if test "X$pkg" = "X$p"; then
7625
# Check whether --enable-static was given.
7626
if test "${enable_static+set}" = set; then
7627
enableval=$enable_static; p=${PACKAGE-default}
7629
yes) enable_static=yes ;;
7630
no) enable_static=no ;;
7633
# Look at the argument we got. We use all the common list separators.
7634
lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
7635
for pkg in $enableval; do
7637
if test "X$pkg" = "X$p"; then
7652
# Check whether --enable-libsuffix was given.
7653
if test "${enable_libsuffix+set}" = set; then
7654
enableval=$enable_libsuffix; kdelibsuff=$enableval
7660
if test "$kdelibsuff" = "auto"; then
7662
cat > conftest.c << EOF
7668
kdelibsuff=`$CC conftest.c -o conftest.out; ldd conftest.out |sed -ne '/libc.so/{
7669
s,.*/lib\([^\/]*\)/.*,\1,
7675
if test "$kdelibsuff" = "no" || test "$kdelibsuff" = "none"; then
7678
if test -z "$kdelibsuff"; then
7679
{ echo "$as_me:$LINENO: result: not using lib directory suffix" >&5
7680
echo "${ECHO_T}not using lib directory suffix" >&6; }
7682
cat >>confdefs.h <<\_ACEOF
7683
#define KDELIBSUFF ""
7687
if test "$libdir" = '${exec_prefix}/lib'; then
7688
libdir="$libdir${kdelibsuff}"
7692
cat >>confdefs.h <<_ACEOF
7693
#define KDELIBSUFF "${kdelibsuff}"
7696
{ echo "$as_me:$LINENO: result: using lib directory suffix $kdelibsuff" >&5
7697
echo "${ECHO_T}using lib directory suffix $kdelibsuff" >&6; }
7700
# Check whether --enable-fast-install was given.
7701
if test "${enable_fast_install+set}" = set; then
7702
enableval=$enable_fast_install; p=${PACKAGE-default}
7704
yes) enable_fast_install=yes ;;
7705
no) enable_fast_install=no ;;
7707
enable_fast_install=no
7708
# Look at the argument we got. We use all the common list separators.
7709
lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
7710
for pkg in $enableval; do
7712
if test "X$pkg" = "X$p"; then
7713
enable_fast_install=yes
7720
enable_fast_install=yes
7724
{ echo "$as_me:$LINENO: checking for a sed that does not truncate output" >&5
7725
echo $ECHO_N "checking for a sed that does not truncate output... $ECHO_C" >&6; }
7726
if test "${lt_cv_path_SED+set}" = set; then
7727
echo $ECHO_N "(cached) $ECHO_C" >&6
7729
# Loop through the user's path and test for sed and gsed.
7730
# Then use that list of sed's as ones to test for truncation.
7731
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7735
test -z "$as_dir" && as_dir=.
7736
for lt_ac_prog in sed gsed; do
7737
for ac_exec_ext in '' $ac_executable_extensions; do
7738
if $as_executable_p "$as_dir/$lt_ac_prog$ac_exec_ext"; then
7739
lt_ac_sed_list="$lt_ac_sed_list $as_dir/$lt_ac_prog$ac_exec_ext"
7746
# Add /usr/xpg4/bin/sed as it is typically found on Solaris
7747
# along with /bin/sed that truncates output.
7748
for lt_ac_sed in $lt_ac_sed_list /usr/xpg4/bin/sed; do
7749
test ! -f $lt_ac_sed && break
7750
cat /dev/null > conftest.in
7752
echo $ECHO_N "0123456789$ECHO_C" >conftest.in
7753
# Check for GNU sed and select it if it is found.
7754
if "$lt_ac_sed" --version 2>&1 < /dev/null | grep 'GNU' > /dev/null; then
7755
lt_cv_path_SED=$lt_ac_sed
7759
cat conftest.in conftest.in >conftest.tmp
7760
mv conftest.tmp conftest.in
7761
cp conftest.in conftest.nl
7763
$lt_ac_sed -e 's/a$//' < conftest.nl >conftest.out || break
7764
cmp -s conftest.out conftest.nl || break
7765
# 10000 chars as input seems more than enough
7766
test $lt_ac_count -gt 10 && break
7767
lt_ac_count=`expr $lt_ac_count + 1`
7768
if test $lt_ac_count -gt $lt_ac_max; then
7769
lt_ac_max=$lt_ac_count
7770
lt_cv_path_SED=$lt_ac_sed
7778
{ echo "$as_me:$LINENO: result: $SED" >&5
7779
echo "${ECHO_T}$SED" >&6; }
7781
{ echo "$as_me:$LINENO: checking for grep that handles long lines and -e" >&5
7782
echo $ECHO_N "checking for grep that handles long lines and -e... $ECHO_C" >&6; }
7783
if test "${ac_cv_path_GREP+set}" = set; then
7784
echo $ECHO_N "(cached) $ECHO_C" >&6
7786
# Extract the first word of "grep ggrep" to use in msg output
7787
if test -z "$GREP"; then
7788
set dummy grep ggrep; ac_prog_name=$2
7789
if test "${ac_cv_path_GREP+set}" = set; then
7790
echo $ECHO_N "(cached) $ECHO_C" >&6
7792
ac_path_GREP_found=false
7793
# Loop through the user's path and test for each of PROGNAME-LIST
7794
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7795
for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
7798
test -z "$as_dir" && as_dir=.
7799
for ac_prog in grep ggrep; do
7800
for ac_exec_ext in '' $ac_executable_extensions; do
7801
ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
7802
{ test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } || continue
7803
# Check for GNU ac_path_GREP and select it if it is found.
7804
# Check for GNU $ac_path_GREP
7805
case `"$ac_path_GREP" --version 2>&1` in
7807
ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
7810
echo $ECHO_N "0123456789$ECHO_C" >"conftest.in"
7813
cat "conftest.in" "conftest.in" >"conftest.tmp"
7814
mv "conftest.tmp" "conftest.in"
7815
cp "conftest.in" "conftest.nl"
7816
echo 'GREP' >> "conftest.nl"
7817
"$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
7818
diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
7819
ac_count=`expr $ac_count + 1`
7820
if test $ac_count -gt ${ac_path_GREP_max-0}; then
7821
# Best one so far, save it but keep looking for a better one
7822
ac_cv_path_GREP="$ac_path_GREP"
7823
ac_path_GREP_max=$ac_count
7825
# 10*(2^10) chars as input seems more than enough
7826
test $ac_count -gt 10 && break
7828
rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
7832
$ac_path_GREP_found && break 3
7842
GREP="$ac_cv_path_GREP"
7843
if test -z "$GREP"; then
7844
{ { echo "$as_me:$LINENO: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
7845
echo "$as_me: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
7846
{ (exit 1); exit 1; }; }
7850
ac_cv_path_GREP=$GREP
7855
{ echo "$as_me:$LINENO: result: $ac_cv_path_GREP" >&5
7856
echo "${ECHO_T}$ac_cv_path_GREP" >&6; }
7857
GREP="$ac_cv_path_GREP"
7860
{ echo "$as_me:$LINENO: checking for egrep" >&5
7861
echo $ECHO_N "checking for egrep... $ECHO_C" >&6; }
7862
if test "${ac_cv_path_EGREP+set}" = set; then
7863
echo $ECHO_N "(cached) $ECHO_C" >&6
7865
if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
7866
then ac_cv_path_EGREP="$GREP -E"
7868
# Extract the first word of "egrep" to use in msg output
7869
if test -z "$EGREP"; then
7870
set dummy egrep; ac_prog_name=$2
7871
if test "${ac_cv_path_EGREP+set}" = set; then
7872
echo $ECHO_N "(cached) $ECHO_C" >&6
7874
ac_path_EGREP_found=false
7875
# Loop through the user's path and test for each of PROGNAME-LIST
7876
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7877
for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
7880
test -z "$as_dir" && as_dir=.
7881
for ac_prog in egrep; do
7882
for ac_exec_ext in '' $ac_executable_extensions; do
7883
ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
7884
{ test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } || continue
7885
# Check for GNU ac_path_EGREP and select it if it is found.
7886
# Check for GNU $ac_path_EGREP
7887
case `"$ac_path_EGREP" --version 2>&1` in
7889
ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
7892
echo $ECHO_N "0123456789$ECHO_C" >"conftest.in"
7895
cat "conftest.in" "conftest.in" >"conftest.tmp"
7896
mv "conftest.tmp" "conftest.in"
7897
cp "conftest.in" "conftest.nl"
7898
echo 'EGREP' >> "conftest.nl"
7899
"$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
7900
diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
7901
ac_count=`expr $ac_count + 1`
7902
if test $ac_count -gt ${ac_path_EGREP_max-0}; then
7903
# Best one so far, save it but keep looking for a better one
7904
ac_cv_path_EGREP="$ac_path_EGREP"
7905
ac_path_EGREP_max=$ac_count
7907
# 10*(2^10) chars as input seems more than enough
7908
test $ac_count -gt 10 && break
7910
rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
7914
$ac_path_EGREP_found && break 3
7924
EGREP="$ac_cv_path_EGREP"
7925
if test -z "$EGREP"; then
7926
{ { echo "$as_me:$LINENO: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
7927
echo "$as_me: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
7928
{ (exit 1); exit 1; }; }
7932
ac_cv_path_EGREP=$EGREP
7938
{ echo "$as_me:$LINENO: result: $ac_cv_path_EGREP" >&5
7939
echo "${ECHO_T}$ac_cv_path_EGREP" >&6; }
7940
EGREP="$ac_cv_path_EGREP"
7944
# Check whether --with-gnu-ld was given.
7945
if test "${with_gnu_ld+set}" = set; then
7946
withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes
7952
if test "$GCC" = yes; then
7953
# Check if gcc -print-prog-name=ld gives a path.
7954
{ echo "$as_me:$LINENO: checking for ld used by $CC" >&5
7955
echo $ECHO_N "checking for ld used by $CC... $ECHO_C" >&6; }
7958
# gcc leaves a trailing carriage return which upsets mingw
7959
ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
7961
ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
7964
# Accept absolute paths.
7966
re_direlt='/[^/][^/]*/\.\./'
7967
# Canonicalize the pathname of ld
7968
ac_prog=`echo $ac_prog| $SED 's%\\\\%/%g'`
7969
while echo $ac_prog | grep "$re_direlt" > /dev/null 2>&1; do
7970
ac_prog=`echo $ac_prog| $SED "s%$re_direlt%/%"`
7972
test -z "$LD" && LD="$ac_prog"
7975
# If it fails, then pretend we aren't using GCC.
7979
# If it is relative, then search for the first ld in PATH.
7983
elif test "$with_gnu_ld" = yes; then
7984
{ echo "$as_me:$LINENO: checking for GNU ld" >&5
7985
echo $ECHO_N "checking for GNU ld... $ECHO_C" >&6; }
7987
{ echo "$as_me:$LINENO: checking for non-GNU ld" >&5
7988
echo $ECHO_N "checking for non-GNU ld... $ECHO_C" >&6; }
7990
if test "${lt_cv_path_LD+set}" = set; then
7991
echo $ECHO_N "(cached) $ECHO_C" >&6
7993
if test -z "$LD"; then
7994
lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
7995
for ac_dir in $PATH; do
7997
test -z "$ac_dir" && ac_dir=.
7998
if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
7999
lt_cv_path_LD="$ac_dir/$ac_prog"
8000
# Check to see if the program is GNU ld. I'd rather use --version,
8001
# but apparently some GNU ld's only accept -v.
8002
# Break only if it was the GNU/non-GNU ld that we prefer.
8003
case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
8004
*GNU* | *'with BFD'*)
8005
test "$with_gnu_ld" != no && break
8008
test "$with_gnu_ld" != yes && break
8015
lt_cv_path_LD="$LD" # Let the user override the test with a path.
8020
if test -n "$LD"; then
8021
{ echo "$as_me:$LINENO: result: $LD" >&5
8022
echo "${ECHO_T}$LD" >&6; }
8024
{ echo "$as_me:$LINENO: result: no" >&5
8025
echo "${ECHO_T}no" >&6; }
8027
test -z "$LD" && { { echo "$as_me:$LINENO: error: no acceptable ld found in \$PATH" >&5
8028
echo "$as_me: error: no acceptable ld found in \$PATH" >&2;}
8029
{ (exit 1); exit 1; }; }
8030
{ echo "$as_me:$LINENO: checking if the linker ($LD) is GNU ld" >&5
8031
echo $ECHO_N "checking if the linker ($LD) is GNU ld... $ECHO_C" >&6; }
8032
if test "${lt_cv_prog_gnu_ld+set}" = set; then
8033
echo $ECHO_N "(cached) $ECHO_C" >&6
8035
# I'd rather use --version here, but apparently some GNU ld's only accept -v.
8036
case `$LD -v 2>&1 </dev/null` in
8037
*GNU* | *'with BFD'*)
8038
lt_cv_prog_gnu_ld=yes
8041
lt_cv_prog_gnu_ld=no
8045
{ echo "$as_me:$LINENO: result: $lt_cv_prog_gnu_ld" >&5
8046
echo "${ECHO_T}$lt_cv_prog_gnu_ld" >&6; }
8047
with_gnu_ld=$lt_cv_prog_gnu_ld
8050
{ echo "$as_me:$LINENO: checking for $LD option to reload object files" >&5
8051
echo $ECHO_N "checking for $LD option to reload object files... $ECHO_C" >&6; }
8052
if test "${lt_cv_ld_reload_flag+set}" = set; then
8053
echo $ECHO_N "(cached) $ECHO_C" >&6
8055
lt_cv_ld_reload_flag='-r'
8057
{ echo "$as_me:$LINENO: result: $lt_cv_ld_reload_flag" >&5
8058
echo "${ECHO_T}$lt_cv_ld_reload_flag" >&6; }
8059
reload_flag=$lt_cv_ld_reload_flag
8060
case $reload_flag in
8062
*) reload_flag=" $reload_flag" ;;
8064
reload_cmds='$LD$reload_flag -o $output$reload_objs'
8066
{ echo "$as_me:$LINENO: checking for BSD-compatible nm" >&5
8067
echo $ECHO_N "checking for BSD-compatible nm... $ECHO_C" >&6; }
8068
if test "${lt_cv_path_NM+set}" = set; then
8069
echo $ECHO_N "(cached) $ECHO_C" >&6
8071
if test -n "$NM"; then
8072
# Let the user override the test.
8075
lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
8076
for ac_dir in $PATH /usr/ccs/bin /usr/ucb /bin; do
8078
test -z "$ac_dir" && ac_dir=.
8079
tmp_nm="$ac_dir/${ac_tool_prefix}nm"
8080
if test -f "$tmp_nm" || test -f "$tmp_nm$ac_exeext" ; then
8081
# Check to see if the nm accepts a BSD-compat flag.
8082
# Adding the `sed 1q' prevents false positives on HP-UX, which says:
8083
# nm: unknown option "B" ignored
8084
# Tru64's nm complains that /dev/null is an invalid object file
8085
case `"$tmp_nm" -B /dev/null 2>&1 | sed '1q'` in
8086
*/dev/null* | *'Invalid file or object type'*)
8087
lt_cv_path_NM="$tmp_nm -B"
8091
case `"$tmp_nm" -p /dev/null 2>&1 | sed '1q'` in
8093
lt_cv_path_NM="$tmp_nm -p"
8097
lt_cv_path_NM=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but
8098
continue # so that we can try to find one that supports BSD flags
8105
test -z "$lt_cv_path_NM" && lt_cv_path_NM=nm
8108
{ echo "$as_me:$LINENO: result: $lt_cv_path_NM" >&5
8109
echo "${ECHO_T}$lt_cv_path_NM" >&6; }
8112
{ echo "$as_me:$LINENO: checking whether ln -s works" >&5
8113
echo $ECHO_N "checking whether ln -s works... $ECHO_C" >&6; }
8115
if test "$LN_S" = "ln -s"; then
8116
{ echo "$as_me:$LINENO: result: yes" >&5
8117
echo "${ECHO_T}yes" >&6; }
8119
{ echo "$as_me:$LINENO: result: no, using $LN_S" >&5
8120
echo "${ECHO_T}no, using $LN_S" >&6; }
8123
{ echo "$as_me:$LINENO: checking how to recognise dependent libraries" >&5
8124
echo $ECHO_N "checking how to recognise dependent libraries... $ECHO_C" >&6; }
8125
if test "${lt_cv_deplibs_check_method+set}" = set; then
8126
echo $ECHO_N "(cached) $ECHO_C" >&6
8128
lt_cv_file_magic_cmd='$MAGIC_CMD'
8129
lt_cv_file_magic_test_file=
8130
lt_cv_deplibs_check_method='unknown'
8131
# Need to set the preceding variable on all platforms that support
8132
# interlibrary dependencies.
8133
# 'none' -- dependencies not supported.
8134
# `unknown' -- same as none, but documents that we really don't know.
8135
# 'pass_all' -- all dependencies passed with no checks.
8136
# 'test_compile' -- check by making test program.
8137
# 'file_magic [[regex]]' -- check by looking for files in library path
8138
# which responds to the $file_magic_cmd with a given extended regex.
8139
# If you have `file' or equivalent on your system and you're not sure
8140
# whether `pass_all' will *always* work, you probably want this one.
8144
lt_cv_deplibs_check_method=pass_all
8148
lt_cv_deplibs_check_method=pass_all
8152
lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib)'
8153
lt_cv_file_magic_cmd='/usr/bin/file -L'
8154
lt_cv_file_magic_test_file=/shlib/libc.so
8158
lt_cv_deplibs_check_method=pass_all
8162
# win32_libid is a shell function defined in ltmain.sh
8163
lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
8164
lt_cv_file_magic_cmd='win32_libid'
8167
darwin* | rhapsody*)
8168
# this will be overwritten by pass_all, but leave it in just in case
8169
lt_cv_deplibs_check_method='file_magic Mach-O dynamically linked shared library'
8170
lt_cv_file_magic_cmd='/usr/bin/file -L'
8172
rhapsody* | darwin1.[012])
8173
lt_cv_file_magic_test_file=`/System/Library/Frameworks/System.framework/System`
8176
lt_cv_file_magic_test_file='/usr/lib/libSystem.dylib'
8179
lt_cv_deplibs_check_method=pass_all
8182
freebsd* | kfreebsd*-gnu)
8183
if echo __ELF__ | $CC -E - | grep __ELF__ > /dev/null; then
8186
# Not sure whether the presence of OpenBSD here was a mistake.
8187
# Let's accept both of them until this is cleared up.
8188
lt_cv_deplibs_check_method='file_magic (FreeBSD|OpenBSD)/i[3-9]86 (compact )?demand paged shared library'
8189
lt_cv_file_magic_cmd=/usr/bin/file
8190
lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*`
8194
lt_cv_deplibs_check_method=pass_all
8199
lt_cv_deplibs_check_method=pass_all
8202
hpux10.20* | hpux11*)
8203
lt_cv_file_magic_cmd=/usr/bin/file
8206
lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - IA64'
8207
lt_cv_file_magic_test_file=/usr/lib/hpux32/libc.so
8210
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]'
8211
lt_cv_file_magic_test_file=/usr/lib/pa20_64/libc.sl
8214
lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9].[0-9]) shared library'
8215
lt_cv_file_magic_test_file=/usr/lib/libc.sl
8220
irix5* | irix6* | nonstopux*)
8222
irix5* | nonstopux*)
8223
# this will be overridden with pass_all, but let us keep it just in case
8224
lt_cv_deplibs_check_method="file_magic ELF 32-bit MSB dynamic lib MIPS - version 1"
8228
*-32|*"-32 ") libmagic=32-bit;;
8229
*-n32|*"-n32 ") libmagic=N32;;
8230
*-64|*"-64 ") libmagic=64-bit;;
8231
*) libmagic=never-match;;
8233
# this will be overridden with pass_all, but let us keep it just in case
8234
lt_cv_deplibs_check_method="file_magic ELF ${libmagic} MSB mips-[1234] dynamic lib MIPS - version 1"
8237
lt_cv_file_magic_test_file=`echo /lib${libsuff}/libc.so*`
8238
lt_cv_deplibs_check_method=pass_all
8241
# This must be Linux ELF.
8244
alpha* | hppa* | i*86 | ia64* | m68* | mips* | powerpc* | sparc* | s390* | sh* | x86_64* )
8245
lt_cv_deplibs_check_method=pass_all ;;
8246
# the debian people say, arm and glibc 2.3.1 works for them with pass_all
8248
lt_cv_deplibs_check_method=pass_all ;;
8250
# glibc up to 2.1.1 does not perform some relocations on ARM
8251
lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )' ;;
8253
lt_cv_file_magic_test_file=`echo /lib/libc.so* /lib/libc-*.so`
8257
if echo __ELF__ | $CC -E - | grep __ELF__ > /dev/null; then
8258
lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
8260
lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|_pic\.a)$'
8265
lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (executable|dynamic lib)'
8266
lt_cv_file_magic_cmd=/usr/bin/file
8267
lt_cv_file_magic_test_file=/usr/lib/libnls.so
8271
lt_cv_deplibs_check_method=unknown
8275
lt_cv_file_magic_cmd=/usr/bin/file
8276
lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*`
8277
if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
8278
lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [LM]SB shared object'
8280
lt_cv_deplibs_check_method='file_magic OpenBSD.* shared library'
8284
osf3* | osf4* | osf5*)
8285
# this will be overridden with pass_all, but let us keep it just in case
8286
lt_cv_deplibs_check_method='file_magic COFF format alpha shared library'
8287
lt_cv_file_magic_test_file=/shlib/libc.so
8288
lt_cv_deplibs_check_method=pass_all
8292
lt_cv_deplibs_check_method=pass_all
8296
lt_cv_deplibs_check_method=pass_all
8297
lt_cv_file_magic_test_file=/lib/libc.so
8300
sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
8301
case $host_vendor in
8303
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]'
8304
lt_cv_file_magic_test_file=`echo /usr/lib/libc.so*`
8307
lt_cv_deplibs_check_method=pass_all
8310
lt_cv_file_magic_cmd='/bin/file'
8311
lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )'
8314
lt_cv_file_magic_cmd='/bin/file'
8315
lt_cv_deplibs_check_method="file_magic ELF [0-9][0-9]*-bit [LM]SB dynamic lib"
8316
lt_cv_file_magic_test_file=/lib/libc.so
8319
lt_cv_deplibs_check_method=pass_all
8324
sysv5OpenUNIX8* | sysv5UnixWare7* | sysv5uw[78]* | unixware7* | sysv4*uw2*)
8325
lt_cv_deplibs_check_method=pass_all
8330
{ echo "$as_me:$LINENO: result: $lt_cv_deplibs_check_method" >&5
8331
echo "${ECHO_T}$lt_cv_deplibs_check_method" >&6; }
8332
file_magic_cmd=$lt_cv_file_magic_cmd
8333
deplibs_check_method=$lt_cv_deplibs_check_method
8334
test -z "$deplibs_check_method" && deplibs_check_method=unknown
8337
# If no C compiler was specified, use CC.
8340
# Allow CC to be a program name with arguments.
8343
# Check whether --enable-libtool-lock was given.
8344
if test "${enable_libtool_lock+set}" = set; then
8345
enableval=$enable_libtool_lock;
8348
test "x$enable_libtool_lock" != xno && enable_libtool_lock=yes
8350
# Some flags need to be propagated to the compiler or linker for good
8354
# Find out which ABI we are using.
8355
echo 'int i;' > conftest.$ac_ext
8356
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
8357
(eval $ac_compile) 2>&5
8359
echo "$as_me:$LINENO: \$? = $ac_status" >&5
8360
(exit $ac_status); }; then
8361
case `/usr/bin/file conftest.$ac_objext` in
8373
# Find out which ABI we are using.
8374
echo '#line 8374 "configure"' > conftest.$ac_ext
8375
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
8376
(eval $ac_compile) 2>&5
8378
echo "$as_me:$LINENO: \$? = $ac_status" >&5
8379
(exit $ac_status); }; then
8380
if test "$lt_cv_prog_gnu_ld" = yes; then
8381
case `/usr/bin/file conftest.$ac_objext` in
8383
LD="${LD-ld} -melf32bsmip"
8386
LD="${LD-ld} -melf32bmipn32"
8389
LD="${LD-ld} -melf64bmip"
8393
case `/usr/bin/file conftest.$ac_objext` in
8409
x86_64-*linux*|ppc*-*linux*|powerpc*-*linux*|s390*-*linux*|sparc*-*linux*)
8410
# Find out which ABI we are using.
8411
echo 'int i;' > conftest.$ac_ext
8412
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
8413
(eval $ac_compile) 2>&5
8415
echo "$as_me:$LINENO: \$? = $ac_status" >&5
8416
(exit $ac_status); }; then
8417
case "`/usr/bin/file conftest.o`" in
8422
LD="${LD-ld} -m elf_i386"
8425
LD="${LD-ld} -m elf32ppclinux"
8428
LD="${LD-ld} -m elf_s390"
8431
LD="${LD-ld} -m elf32_sparc"
8439
LD="${LD-ld} -m elf_x86_64"
8441
ppc*-*linux*|powerpc*-*linux*)
8442
LD="${LD-ld} -m elf64ppc"
8445
LD="${LD-ld} -m elf64_s390"
8448
LD="${LD-ld} -m elf64_sparc"
8458
# On SCO OpenServer 5, we need -belf to get full-featured binaries.
8459
SAVE_CFLAGS="$CFLAGS"
8460
CFLAGS="$CFLAGS -belf"
8461
{ echo "$as_me:$LINENO: checking whether the C compiler needs -belf" >&5
8462
echo $ECHO_N "checking whether the C compiler needs -belf... $ECHO_C" >&6; }
8463
if test "${lt_cv_cc_needs_belf+set}" = set; then
8464
echo $ECHO_N "(cached) $ECHO_C" >&6
8467
ac_cpp='$CPP $CPPFLAGS'
8468
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8469
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8470
ac_compiler_gnu=$ac_cv_c_compiler_gnu
8472
cat >conftest.$ac_ext <<_ACEOF
8475
cat confdefs.h >>conftest.$ac_ext
8476
cat >>conftest.$ac_ext <<_ACEOF
8477
/* end confdefs.h. */
8487
rm -f conftest.$ac_objext conftest$ac_exeext
8488
if { (ac_try="$ac_link"
8490
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8491
*) ac_try_echo=$ac_try;;
8493
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8494
(eval "$ac_link") 2>conftest.er1
8496
grep -v '^ *+' conftest.er1 >conftest.err
8498
cat conftest.err >&5
8499
echo "$as_me:$LINENO: \$? = $ac_status" >&5
8500
(exit $ac_status); } && {
8501
test -z "$ac_c_werror_flag" ||
8502
test ! -s conftest.err
8503
} && test -s conftest$ac_exeext &&
8504
$as_test_x conftest$ac_exeext; then
8505
lt_cv_cc_needs_belf=yes
8507
echo "$as_me: failed program was:" >&5
8508
sed 's/^/| /' conftest.$ac_ext >&5
8510
lt_cv_cc_needs_belf=no
8513
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
8514
conftest$ac_exeext conftest.$ac_ext
8516
ac_cpp='$CPP $CPPFLAGS'
8517
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8518
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8519
ac_compiler_gnu=$ac_cv_c_compiler_gnu
8522
{ echo "$as_me:$LINENO: result: $lt_cv_cc_needs_belf" >&5
8523
echo "${ECHO_T}$lt_cv_cc_needs_belf" >&6; }
8524
if test x"$lt_cv_cc_needs_belf" != x"yes"; then
8525
# this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
8526
CFLAGS="$SAVE_CFLAGS"
8532
need_locks="$enable_libtool_lock"
8536
{ echo "$as_me:$LINENO: checking for ANSI C header files" >&5
8537
echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6; }
8538
if test "${ac_cv_header_stdc+set}" = set; then
8539
echo $ECHO_N "(cached) $ECHO_C" >&6
8541
cat >conftest.$ac_ext <<_ACEOF
8544
cat confdefs.h >>conftest.$ac_ext
8545
cat >>conftest.$ac_ext <<_ACEOF
8546
/* end confdefs.h. */
8560
rm -f conftest.$ac_objext
8561
if { (ac_try="$ac_compile"
8563
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8564
*) ac_try_echo=$ac_try;;
8566
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8567
(eval "$ac_compile") 2>conftest.er1
8569
grep -v '^ *+' conftest.er1 >conftest.err
8571
cat conftest.err >&5
8572
echo "$as_me:$LINENO: \$? = $ac_status" >&5
8573
(exit $ac_status); } && {
8574
test -z "$ac_c_werror_flag" ||
8575
test ! -s conftest.err
8576
} && test -s conftest.$ac_objext; then
8577
ac_cv_header_stdc=yes
8579
echo "$as_me: failed program was:" >&5
8580
sed 's/^/| /' conftest.$ac_ext >&5
8582
ac_cv_header_stdc=no
8585
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
8587
if test $ac_cv_header_stdc = yes; then
8588
# SunOS 4.x string.h does not declare mem*, contrary to ANSI.
8589
cat >conftest.$ac_ext <<_ACEOF
8592
cat confdefs.h >>conftest.$ac_ext
8593
cat >>conftest.$ac_ext <<_ACEOF
8594
/* end confdefs.h. */
8598
if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
8599
$EGREP "memchr" >/dev/null 2>&1; then
8602
ac_cv_header_stdc=no
8608
if test $ac_cv_header_stdc = yes; then
8609
# ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
8610
cat >conftest.$ac_ext <<_ACEOF
8613
cat confdefs.h >>conftest.$ac_ext
8614
cat >>conftest.$ac_ext <<_ACEOF
8615
/* end confdefs.h. */
8619
if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
8620
$EGREP "free" >/dev/null 2>&1; then
8623
ac_cv_header_stdc=no
8629
if test $ac_cv_header_stdc = yes; then
8630
# /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
8631
if test "$cross_compiling" = yes; then
8634
cat >conftest.$ac_ext <<_ACEOF
8637
cat confdefs.h >>conftest.$ac_ext
8638
cat >>conftest.$ac_ext <<_ACEOF
8639
/* end confdefs.h. */
8642
#if ((' ' & 0x0FF) == 0x020)
8643
# define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
8644
# define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
8646
# define ISLOWER(c) \
8647
(('a' <= (c) && (c) <= 'i') \
8648
|| ('j' <= (c) && (c) <= 'r') \
8649
|| ('s' <= (c) && (c) <= 'z'))
8650
# define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
8653
#define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
8658
for (i = 0; i < 256; i++)
8659
if (XOR (islower (i), ISLOWER (i))
8660
|| toupper (i) != TOUPPER (i))
8665
rm -f conftest$ac_exeext
8666
if { (ac_try="$ac_link"
8668
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8669
*) ac_try_echo=$ac_try;;
8671
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8672
(eval "$ac_link") 2>&5
8674
echo "$as_me:$LINENO: \$? = $ac_status" >&5
8675
(exit $ac_status); } && { ac_try='./conftest$ac_exeext'
8676
{ (case "(($ac_try" in
8677
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8678
*) ac_try_echo=$ac_try;;
8680
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8681
(eval "$ac_try") 2>&5
8683
echo "$as_me:$LINENO: \$? = $ac_status" >&5
8684
(exit $ac_status); }; }; then
8687
echo "$as_me: program exited with status $ac_status" >&5
8688
echo "$as_me: failed program was:" >&5
8689
sed 's/^/| /' conftest.$ac_ext >&5
8692
ac_cv_header_stdc=no
8694
rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
8700
{ echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
8701
echo "${ECHO_T}$ac_cv_header_stdc" >&6; }
8702
if test $ac_cv_header_stdc = yes; then
8704
cat >>confdefs.h <<\_ACEOF
8705
#define STDC_HEADERS 1
8710
# On IRIX 5.3, sys/types and inttypes.h are conflicting.
8720
for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
8721
inttypes.h stdint.h unistd.h
8723
as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
8724
{ echo "$as_me:$LINENO: checking for $ac_header" >&5
8725
echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
8726
if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
8727
echo $ECHO_N "(cached) $ECHO_C" >&6
8729
cat >conftest.$ac_ext <<_ACEOF
8732
cat confdefs.h >>conftest.$ac_ext
8733
cat >>conftest.$ac_ext <<_ACEOF
8734
/* end confdefs.h. */
8735
$ac_includes_default
8737
#include <$ac_header>
8739
rm -f conftest.$ac_objext
8740
if { (ac_try="$ac_compile"
8742
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8743
*) ac_try_echo=$ac_try;;
8745
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8746
(eval "$ac_compile") 2>conftest.er1
8748
grep -v '^ *+' conftest.er1 >conftest.err
8750
cat conftest.err >&5
8751
echo "$as_me:$LINENO: \$? = $ac_status" >&5
8752
(exit $ac_status); } && {
8753
test -z "$ac_c_werror_flag" ||
8754
test ! -s conftest.err
8755
} && test -s conftest.$ac_objext; then
8756
eval "$as_ac_Header=yes"
8758
echo "$as_me: failed program was:" >&5
8759
sed 's/^/| /' conftest.$ac_ext >&5
8761
eval "$as_ac_Header=no"
8764
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
8766
ac_res=`eval echo '${'$as_ac_Header'}'`
8767
{ echo "$as_me:$LINENO: result: $ac_res" >&5
8768
echo "${ECHO_T}$ac_res" >&6; }
8769
if test `eval echo '${'$as_ac_Header'}'` = yes; then
8770
cat >>confdefs.h <<_ACEOF
8771
#define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
8780
for ac_header in dlfcn.h
8782
as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
8783
if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
8784
{ echo "$as_me:$LINENO: checking for $ac_header" >&5
8785
echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
8786
if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
8787
echo $ECHO_N "(cached) $ECHO_C" >&6
8789
ac_res=`eval echo '${'$as_ac_Header'}'`
8790
{ echo "$as_me:$LINENO: result: $ac_res" >&5
8791
echo "${ECHO_T}$ac_res" >&6; }
8793
# Is the header compilable?
8794
{ echo "$as_me:$LINENO: checking $ac_header usability" >&5
8795
echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; }
8796
cat >conftest.$ac_ext <<_ACEOF
8799
cat confdefs.h >>conftest.$ac_ext
8800
cat >>conftest.$ac_ext <<_ACEOF
8801
/* end confdefs.h. */
8802
$ac_includes_default
8803
#include <$ac_header>
8805
rm -f conftest.$ac_objext
8806
if { (ac_try="$ac_compile"
8808
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8809
*) ac_try_echo=$ac_try;;
8811
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8812
(eval "$ac_compile") 2>conftest.er1
8814
grep -v '^ *+' conftest.er1 >conftest.err
8816
cat conftest.err >&5
8817
echo "$as_me:$LINENO: \$? = $ac_status" >&5
8818
(exit $ac_status); } && {
8819
test -z "$ac_c_werror_flag" ||
8820
test ! -s conftest.err
8821
} && test -s conftest.$ac_objext; then
8822
ac_header_compiler=yes
8824
echo "$as_me: failed program was:" >&5
8825
sed 's/^/| /' conftest.$ac_ext >&5
8827
ac_header_compiler=no
8830
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
8831
{ echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
8832
echo "${ECHO_T}$ac_header_compiler" >&6; }
8834
# Is the header present?
8835
{ echo "$as_me:$LINENO: checking $ac_header presence" >&5
8836
echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; }
8837
cat >conftest.$ac_ext <<_ACEOF
8840
cat confdefs.h >>conftest.$ac_ext
8841
cat >>conftest.$ac_ext <<_ACEOF
8842
/* end confdefs.h. */
8843
#include <$ac_header>
8845
if { (ac_try="$ac_cpp conftest.$ac_ext"
8847
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8848
*) ac_try_echo=$ac_try;;
8850
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8851
(eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
8853
grep -v '^ *+' conftest.er1 >conftest.err
8855
cat conftest.err >&5
8856
echo "$as_me:$LINENO: \$? = $ac_status" >&5
8857
(exit $ac_status); } >/dev/null && {
8858
test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
8859
test ! -s conftest.err
8861
ac_header_preproc=yes
8863
echo "$as_me: failed program was:" >&5
8864
sed 's/^/| /' conftest.$ac_ext >&5
8866
ac_header_preproc=no
8869
rm -f conftest.err conftest.$ac_ext
8870
{ echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
8871
echo "${ECHO_T}$ac_header_preproc" >&6; }
8873
# So? What about this header?
8874
case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
8876
{ echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
8877
echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
8878
{ echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
8879
echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
8880
ac_header_preproc=yes
8883
{ echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
8884
echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
8885
{ echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
8886
echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
8887
{ echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
8888
echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
8889
{ echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
8890
echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
8891
{ echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
8892
echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
8893
{ echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
8894
echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
8898
{ echo "$as_me:$LINENO: checking for $ac_header" >&5
8899
echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
8900
if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
8901
echo $ECHO_N "(cached) $ECHO_C" >&6
8903
eval "$as_ac_Header=\$ac_header_preproc"
8905
ac_res=`eval echo '${'$as_ac_Header'}'`
8906
{ echo "$as_me:$LINENO: result: $ac_res" >&5
8907
echo "${ECHO_T}$ac_res" >&6; }
8910
if test `eval echo '${'$as_ac_Header'}'` = yes; then
8911
cat >>confdefs.h <<_ACEOF
8912
#define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
8920
ac_compile='$F77 -c $FFLAGS conftest.$ac_ext >&5'
8921
ac_link='$F77 -o conftest$ac_exeext $FFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8922
ac_compiler_gnu=$ac_cv_f77_compiler_gnu
8923
if test -n "$ac_tool_prefix"; then
8924
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
8926
# Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
8927
set dummy $ac_tool_prefix$ac_prog; ac_word=$2
8928
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
8929
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
8930
if test "${ac_cv_prog_F77+set}" = set; then
8931
echo $ECHO_N "(cached) $ECHO_C" >&6
8933
if test -n "$F77"; then
8934
ac_cv_prog_F77="$F77" # Let the user override the test.
8936
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8940
test -z "$as_dir" && as_dir=.
8941
for ac_exec_ext in '' $ac_executable_extensions; do
8942
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8943
ac_cv_prog_F77="$ac_tool_prefix$ac_prog"
8944
echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
8954
if test -n "$F77"; then
8955
{ echo "$as_me:$LINENO: result: $F77" >&5
8956
echo "${ECHO_T}$F77" >&6; }
8958
{ echo "$as_me:$LINENO: result: no" >&5
8959
echo "${ECHO_T}no" >&6; }
8963
test -n "$F77" && break
8966
if test -z "$F77"; then
8968
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
8970
# Extract the first word of "$ac_prog", so it can be a program name with args.
8971
set dummy $ac_prog; ac_word=$2
8972
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
8973
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
8974
if test "${ac_cv_prog_ac_ct_F77+set}" = set; then
8975
echo $ECHO_N "(cached) $ECHO_C" >&6
8977
if test -n "$ac_ct_F77"; then
8978
ac_cv_prog_ac_ct_F77="$ac_ct_F77" # Let the user override the test.
8980
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8984
test -z "$as_dir" && as_dir=.
8985
for ac_exec_ext in '' $ac_executable_extensions; do
8986
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8987
ac_cv_prog_ac_ct_F77="$ac_prog"
8988
echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
8997
ac_ct_F77=$ac_cv_prog_ac_ct_F77
8998
if test -n "$ac_ct_F77"; then
8999
{ echo "$as_me:$LINENO: result: $ac_ct_F77" >&5
9000
echo "${ECHO_T}$ac_ct_F77" >&6; }
9002
{ echo "$as_me:$LINENO: result: no" >&5
9003
echo "${ECHO_T}no" >&6; }
9007
test -n "$ac_ct_F77" && break
9010
if test "x$ac_ct_F77" = x; then
9013
case $cross_compiling:$ac_tool_warned in
9015
{ echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
9016
whose name does not start with the host triplet. If you think this
9017
configuration is useful to you, please write to autoconf@gnu.org." >&5
9018
echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
9019
whose name does not start with the host triplet. If you think this
9020
configuration is useful to you, please write to autoconf@gnu.org." >&2;}
9021
ac_tool_warned=yes ;;
9028
# Provide some information about the compiler.
9029
echo "$as_me:$LINENO: checking for Fortran 77 compiler version" >&5
9030
ac_compiler=`set X $ac_compile; echo $2`
9031
{ (ac_try="$ac_compiler --version >&5"
9033
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9034
*) ac_try_echo=$ac_try;;
9036
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9037
(eval "$ac_compiler --version >&5") 2>&5
9039
echo "$as_me:$LINENO: \$? = $ac_status" >&5
9040
(exit $ac_status); }
9041
{ (ac_try="$ac_compiler -v >&5"
9043
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9044
*) ac_try_echo=$ac_try;;
9046
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9047
(eval "$ac_compiler -v >&5") 2>&5
9049
echo "$as_me:$LINENO: \$? = $ac_status" >&5
9050
(exit $ac_status); }
9051
{ (ac_try="$ac_compiler -V >&5"
9053
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9054
*) ac_try_echo=$ac_try;;
9056
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9057
(eval "$ac_compiler -V >&5") 2>&5
9059
echo "$as_me:$LINENO: \$? = $ac_status" >&5
9060
(exit $ac_status); }
9063
# If we don't use `.F' as extension, the preprocessor is not run on the
9064
# input file. (Note that this only needs to work for GNU compilers.)
9067
{ echo "$as_me:$LINENO: checking whether we are using the GNU Fortran 77 compiler" >&5
9068
echo $ECHO_N "checking whether we are using the GNU Fortran 77 compiler... $ECHO_C" >&6; }
9069
if test "${ac_cv_f77_compiler_gnu+set}" = set; then
9070
echo $ECHO_N "(cached) $ECHO_C" >&6
9072
cat >conftest.$ac_ext <<_ACEOF
9080
rm -f conftest.$ac_objext
9081
if { (ac_try="$ac_compile"
9083
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9084
*) ac_try_echo=$ac_try;;
9086
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9087
(eval "$ac_compile") 2>conftest.er1
9089
grep -v '^ *+' conftest.er1 >conftest.err
9091
cat conftest.err >&5
9092
echo "$as_me:$LINENO: \$? = $ac_status" >&5
9093
(exit $ac_status); } && {
9094
test -z "$ac_f77_werror_flag" ||
9095
test ! -s conftest.err
9096
} && test -s conftest.$ac_objext; then
9099
echo "$as_me: failed program was:" >&5
9100
sed 's/^/| /' conftest.$ac_ext >&5
9105
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
9106
ac_cv_f77_compiler_gnu=$ac_compiler_gnu
9109
{ echo "$as_me:$LINENO: result: $ac_cv_f77_compiler_gnu" >&5
9110
echo "${ECHO_T}$ac_cv_f77_compiler_gnu" >&6; }
9112
ac_test_FFLAGS=${FFLAGS+set}
9113
ac_save_FFLAGS=$FFLAGS
9115
{ echo "$as_me:$LINENO: checking whether $F77 accepts -g" >&5
9116
echo $ECHO_N "checking whether $F77 accepts -g... $ECHO_C" >&6; }
9117
if test "${ac_cv_prog_f77_g+set}" = set; then
9118
echo $ECHO_N "(cached) $ECHO_C" >&6
9121
cat >conftest.$ac_ext <<_ACEOF
9126
rm -f conftest.$ac_objext
9127
if { (ac_try="$ac_compile"
9129
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9130
*) ac_try_echo=$ac_try;;
9132
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9133
(eval "$ac_compile") 2>conftest.er1
9135
grep -v '^ *+' conftest.er1 >conftest.err
9137
cat conftest.err >&5
9138
echo "$as_me:$LINENO: \$? = $ac_status" >&5
9139
(exit $ac_status); } && {
9140
test -z "$ac_f77_werror_flag" ||
9141
test ! -s conftest.err
9142
} && test -s conftest.$ac_objext; then
9143
ac_cv_prog_f77_g=yes
9145
echo "$as_me: failed program was:" >&5
9146
sed 's/^/| /' conftest.$ac_ext >&5
9151
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
9154
{ echo "$as_me:$LINENO: result: $ac_cv_prog_f77_g" >&5
9155
echo "${ECHO_T}$ac_cv_prog_f77_g" >&6; }
9156
if test "$ac_test_FFLAGS" = set; then
9157
FFLAGS=$ac_save_FFLAGS
9158
elif test $ac_cv_prog_f77_g = yes; then
9159
if test "x$ac_cv_f77_compiler_gnu" = xyes; then
9165
if test "x$ac_cv_f77_compiler_gnu" = xyes; then
9172
G77=`test $ac_compiler_gnu = yes && echo yes`
9174
ac_cpp='$CPP $CPPFLAGS'
9175
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
9176
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
9177
ac_compiler_gnu=$ac_cv_c_compiler_gnu
9181
# Autoconf 2.13's AC_OBJEXT and AC_EXEEXT macros only works for C compilers!
9183
# find the maximum length of command line arguments
9184
{ echo "$as_me:$LINENO: checking the maximum length of command line arguments" >&5
9185
echo $ECHO_N "checking the maximum length of command line arguments... $ECHO_C" >&6; }
9186
if test "${lt_cv_sys_max_cmd_len+set}" = set; then
9187
echo $ECHO_N "(cached) $ECHO_C" >&6
9194
# On DJGPP, this test can blow up pretty badly due to problems in libc
9195
# (any single argument exceeding 2000 bytes causes a buffer overrun
9196
# during glob expansion). Even if it were fixed, the result of this
9197
# check would be larger than it should be.
9198
lt_cv_sys_max_cmd_len=12288; # 12K is about right
9202
# Under GNU Hurd, this test is not required because there is
9203
# no limit to the length of command line arguments.
9204
# Libtool will interpret -1 as no limit whatsoever
9205
lt_cv_sys_max_cmd_len=-1;
9209
# On Win9x/ME, this test blows up -- it succeeds, but takes
9210
# about 5 minutes as the teststring grows exponentially.
9211
# Worse, since 9x/ME are not pre-emptively multitasking,
9212
# you end up with a "frozen" computer, even though with patience
9213
# the test eventually succeeds (with a max line length of 256k).
9214
# Instead, let's just punt: use the minimum linelength reported by
9215
# all of the supported platforms: 8192 (on NT/2K/XP).
9216
lt_cv_sys_max_cmd_len=8192;
9220
# If test is not a shell built-in, we'll probably end up computing a
9221
# maximum length that is only half of the actual maximum length, but
9223
while (test "X"`$CONFIG_SHELL $0 --fallback-echo "X$testring" 2>/dev/null` \
9224
= "XX$testring") >/dev/null 2>&1 &&
9225
new_result=`expr "X$testring" : ".*" 2>&1` &&
9226
lt_cv_sys_max_cmd_len=$new_result &&
9227
test $i != 17 # 1/2 MB should be enough
9230
testring=$testring$testring
9233
# Add a significant safety factor because C++ compilers can tack on massive
9234
# amounts of additional arguments before passing them to the linker.
9235
# It appears as though 1/2 is a usable value.
9236
lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 2`
9242
if test -n $lt_cv_sys_max_cmd_len ; then
9243
{ echo "$as_me:$LINENO: result: $lt_cv_sys_max_cmd_len" >&5
9244
echo "${ECHO_T}$lt_cv_sys_max_cmd_len" >&6; }
9246
{ echo "$as_me:$LINENO: result: none" >&5
9247
echo "${ECHO_T}none" >&6; }
9253
# Check for command to grab the raw symbol name followed by C symbol from nm.
9254
{ echo "$as_me:$LINENO: checking command to parse $NM output from $compiler object" >&5
9255
echo $ECHO_N "checking command to parse $NM output from $compiler object... $ECHO_C" >&6; }
9256
if test "${lt_cv_sys_global_symbol_pipe+set}" = set; then
9257
echo $ECHO_N "(cached) $ECHO_C" >&6
9260
# These are sane defaults that work on at least a few old systems.
9261
# [They come from Ultrix. What could be older than Ultrix?!! ;)]
9263
# Character class describing NM global symbol codes.
9264
symcode='[BCDEGRST]'
9266
# Regexp to match symbols that can be accessed directly from C.
9267
sympat='\([_A-Za-z][_A-Za-z0-9]*\)'
9269
# Transform the above into a raw symbol and a C symbol.
9270
symxfrm='\1 \2\3 \3'
9272
# Transform an extracted symbol line into a proper C declaration
9273
lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^. .* \(.*\)$/extern int \1;/p'"
9275
# Transform an extracted symbol line into symbol name and symbol address
9276
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'"
9278
# Define system-specific variables.
9283
cygwin* | mingw* | pw32*)
9284
symcode='[ABCDGISTW]'
9286
hpux*) # Its linker distinguishes data from code symbols
9287
if test "$host_cpu" = ia64; then
9288
symcode='[ABCDEGRST]'
9290
lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'"
9291
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'"
9294
symcode='[BCDEGRST]'
9297
symcode='[BCDEGQRST]'
9307
# Handle CRLF in mingw tool chain
9311
opt_cr=`echo 'x\{0,1\}' | tr x '\015'` # option cr in regexp
9315
# If we're using GNU nm, then use its standard symbol codes.
9316
case `$NM -V 2>&1` in
9317
*GNU* | *'with BFD'*)
9318
symcode='[ABCDGISTW]' ;;
9321
# Try without a prefix undercore, then with it.
9322
for ac_symprfx in "" "_"; do
9324
# Write the raw and C identifiers.
9325
lt_cv_sys_global_symbol_pipe="sed -n -e 's/^.*[ ]\($symcode$symcode*\)[ ][ ]*\($ac_symprfx\)$sympat$opt_cr$/$symxfrm/p'"
9327
# Check to see that the pipe works correctly.
9331
cat > conftest.$ac_ext <<EOF
9336
void nm_test_func(){}
9340
int main(){nm_test_var='a';nm_test_func();return(0);}
9343
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
9344
(eval $ac_compile) 2>&5
9346
echo "$as_me:$LINENO: \$? = $ac_status" >&5
9347
(exit $ac_status); }; then
9348
# Now try to grab the symbols.
9350
if { (eval echo "$as_me:$LINENO: \"$NM conftest.$ac_objext \| $lt_cv_sys_global_symbol_pipe \> $nlist\"") >&5
9351
(eval $NM conftest.$ac_objext \| $lt_cv_sys_global_symbol_pipe \> $nlist) 2>&5
9353
echo "$as_me:$LINENO: \$? = $ac_status" >&5
9354
(exit $ac_status); } && test -s "$nlist"; then
9355
# Try sorting and uniquifying the output.
9356
if sort "$nlist" | uniq > "$nlist"T; then
9357
mv -f "$nlist"T "$nlist"
9362
# Make sure that we snagged all the symbols we need.
9363
if grep ' nm_test_var$' "$nlist" >/dev/null; then
9364
if grep ' nm_test_func$' "$nlist" >/dev/null; then
9365
cat <<EOF > conftest.$ac_ext
9371
# Now generate the symbol file.
9372
eval "$lt_cv_sys_global_symbol_to_cdecl"' < "$nlist" | grep -v main >> conftest.$ac_ext'
9374
cat <<EOF >> conftest.$ac_ext
9375
#if defined (__STDC__) && __STDC__
9376
# define lt_ptr_t void *
9378
# define lt_ptr_t char *
9382
/* The mapping between symbol names and symbols. */
9387
lt_preloaded_symbols[] =
9390
$SED "s/^$symcode$symcode* \(.*\) \(.*\)$/ {\"\2\", (lt_ptr_t) \&\2},/" < "$nlist" | grep -v main >> conftest.$ac_ext
9391
cat <<\EOF >> conftest.$ac_ext
9399
# Now try linking the two files.
9400
mv conftest.$ac_objext conftstm.$ac_objext
9401
lt_save_LIBS="$LIBS"
9402
lt_save_CFLAGS="$CFLAGS"
9403
LIBS="conftstm.$ac_objext"
9404
CFLAGS="$CFLAGS$lt_prog_compiler_no_builtin_flag"
9405
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
9406
(eval $ac_link) 2>&5
9408
echo "$as_me:$LINENO: \$? = $ac_status" >&5
9409
(exit $ac_status); } && test -s conftest${ac_exeext}; then
9412
LIBS="$lt_save_LIBS"
9413
CFLAGS="$lt_save_CFLAGS"
9415
echo "cannot find nm_test_func in $nlist" >&5
9418
echo "cannot find nm_test_var in $nlist" >&5
9421
echo "cannot run $lt_cv_sys_global_symbol_pipe" >&5
9424
echo "$progname: failed program was:" >&5
9425
cat conftest.$ac_ext >&5
9427
rm -f conftest* conftst*
9429
# Do not use the global_symbol_pipe unless it works.
9430
if test "$pipe_works" = yes; then
9433
lt_cv_sys_global_symbol_pipe=
9439
if test -z "$lt_cv_sys_global_symbol_pipe"; then
9440
lt_cv_sys_global_symbol_to_cdecl=
9442
if test -z "$lt_cv_sys_global_symbol_pipe$lt_cv_sys_global_symbol_to_cdecl"; then
9443
{ echo "$as_me:$LINENO: result: failed" >&5
9444
echo "${ECHO_T}failed" >&6; }
9446
{ echo "$as_me:$LINENO: result: ok" >&5
9447
echo "${ECHO_T}ok" >&6; }
9450
{ echo "$as_me:$LINENO: checking for objdir" >&5
9451
echo $ECHO_N "checking for objdir... $ECHO_C" >&6; }
9452
if test "${lt_cv_objdir+set}" = set; then
9453
echo $ECHO_N "(cached) $ECHO_C" >&6
9455
rm -f .libs 2>/dev/null
9456
mkdir .libs 2>/dev/null
9457
if test -d .libs; then
9460
# MS-DOS does not allow filenames that begin with a dot.
9463
rmdir .libs 2>/dev/null
9465
{ echo "$as_me:$LINENO: result: $lt_cv_objdir" >&5
9466
echo "${ECHO_T}$lt_cv_objdir" >&6; }
9467
objdir=$lt_cv_objdir
9475
# AIX sometimes has problems with the GCC collect2 program. For some
9476
# reason, if we set the COLLECT_NAMES environment variable, the problems
9477
# vanish in a puff of smoke.
9478
if test "X${COLLECT_NAMES+set}" != Xset; then
9480
export COLLECT_NAMES
9485
# Sed substitution that helps us do robust quoting. It backslashifies
9486
# metacharacters that are still active within double-quoted strings.
9487
Xsed='sed -e s/^X//'
9488
sed_quote_subst='s/\([\\"\\`$\\\\]\)/\\\1/g'
9490
# Same as above, but do not quote variable references.
9491
double_quote_subst='s/\([\\"\\`\\\\]\)/\\\1/g'
9493
# Sed substitution to delay expansion of an escaped shell variable in a
9494
# double_quote_subst'ed string.
9495
delay_variable_subst='s/\\\\\\\\\\\$/\\\\\\$/g'
9497
# Sed substitution to avoid accidental globbing in evaled expressions
9498
no_glob_subst='s/\*/\\\*/g'
9504
default_ofile=libtool
9505
can_build_shared=yes
9507
# All known linkers require a `.a' archive for static linking (except M$VC,
9508
# which needs '.lib').
9510
ltmain="$ac_aux_dir/ltmain.sh"
9511
ofile="$default_ofile"
9512
with_gnu_ld="$lt_cv_prog_gnu_ld"
9514
if test -n "$ac_tool_prefix"; then
9515
# Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
9516
set dummy ${ac_tool_prefix}ar; ac_word=$2
9517
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
9518
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
9519
if test "${ac_cv_prog_AR+set}" = set; then
9520
echo $ECHO_N "(cached) $ECHO_C" >&6
9522
if test -n "$AR"; then
9523
ac_cv_prog_AR="$AR" # Let the user override the test.
9525
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9529
test -z "$as_dir" && as_dir=.
9530
for ac_exec_ext in '' $ac_executable_extensions; do
9531
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9532
ac_cv_prog_AR="${ac_tool_prefix}ar"
9533
echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
9543
if test -n "$AR"; then
9544
{ echo "$as_me:$LINENO: result: $AR" >&5
9545
echo "${ECHO_T}$AR" >&6; }
9547
{ echo "$as_me:$LINENO: result: no" >&5
9548
echo "${ECHO_T}no" >&6; }
9553
if test -z "$ac_cv_prog_AR"; then
9555
# Extract the first word of "ar", so it can be a program name with args.
9556
set dummy ar; ac_word=$2
9557
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
9558
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
9559
if test "${ac_cv_prog_ac_ct_AR+set}" = set; then
9560
echo $ECHO_N "(cached) $ECHO_C" >&6
9562
if test -n "$ac_ct_AR"; then
9563
ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
9565
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9569
test -z "$as_dir" && as_dir=.
9570
for ac_exec_ext in '' $ac_executable_extensions; do
9571
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9572
ac_cv_prog_ac_ct_AR="ar"
9573
echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
9582
ac_ct_AR=$ac_cv_prog_ac_ct_AR
9583
if test -n "$ac_ct_AR"; then
9584
{ echo "$as_me:$LINENO: result: $ac_ct_AR" >&5
9585
echo "${ECHO_T}$ac_ct_AR" >&6; }
9587
{ echo "$as_me:$LINENO: result: no" >&5
9588
echo "${ECHO_T}no" >&6; }
9591
if test "x$ac_ct_AR" = x; then
9594
case $cross_compiling:$ac_tool_warned in
9596
{ echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
9597
whose name does not start with the host triplet. If you think this
9598
configuration is useful to you, please write to autoconf@gnu.org." >&5
9599
echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
9600
whose name does not start with the host triplet. If you think this
9601
configuration is useful to you, please write to autoconf@gnu.org." >&2;}
9602
ac_tool_warned=yes ;;
9610
if test -n "$ac_tool_prefix"; then
9611
# Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
9612
set dummy ${ac_tool_prefix}ranlib; ac_word=$2
9613
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
9614
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
9615
if test "${ac_cv_prog_RANLIB+set}" = set; then
9616
echo $ECHO_N "(cached) $ECHO_C" >&6
9618
if test -n "$RANLIB"; then
9619
ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
9621
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9625
test -z "$as_dir" && as_dir=.
9626
for ac_exec_ext in '' $ac_executable_extensions; do
9627
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9628
ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
9629
echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
9638
RANLIB=$ac_cv_prog_RANLIB
9639
if test -n "$RANLIB"; then
9640
{ echo "$as_me:$LINENO: result: $RANLIB" >&5
9641
echo "${ECHO_T}$RANLIB" >&6; }
9643
{ echo "$as_me:$LINENO: result: no" >&5
9644
echo "${ECHO_T}no" >&6; }
9649
if test -z "$ac_cv_prog_RANLIB"; then
9650
ac_ct_RANLIB=$RANLIB
9651
# Extract the first word of "ranlib", so it can be a program name with args.
9652
set dummy ranlib; ac_word=$2
9653
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
9654
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
9655
if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
9656
echo $ECHO_N "(cached) $ECHO_C" >&6
9658
if test -n "$ac_ct_RANLIB"; then
9659
ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
9661
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9665
test -z "$as_dir" && as_dir=.
9666
for ac_exec_ext in '' $ac_executable_extensions; do
9667
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9668
ac_cv_prog_ac_ct_RANLIB="ranlib"
9669
echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
9678
ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
9679
if test -n "$ac_ct_RANLIB"; then
9680
{ echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
9681
echo "${ECHO_T}$ac_ct_RANLIB" >&6; }
9683
{ echo "$as_me:$LINENO: result: no" >&5
9684
echo "${ECHO_T}no" >&6; }
9687
if test "x$ac_ct_RANLIB" = x; then
9690
case $cross_compiling:$ac_tool_warned in
9692
{ echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
9693
whose name does not start with the host triplet. If you think this
9694
configuration is useful to you, please write to autoconf@gnu.org." >&5
9695
echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
9696
whose name does not start with the host triplet. If you think this
9697
configuration is useful to you, please write to autoconf@gnu.org." >&2;}
9698
ac_tool_warned=yes ;;
9700
RANLIB=$ac_ct_RANLIB
9703
RANLIB="$ac_cv_prog_RANLIB"
9706
if test -n "$ac_tool_prefix"; then
9707
# Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
9708
set dummy ${ac_tool_prefix}strip; ac_word=$2
9709
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
9710
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
9711
if test "${ac_cv_prog_STRIP+set}" = set; then
9712
echo $ECHO_N "(cached) $ECHO_C" >&6
9714
if test -n "$STRIP"; then
9715
ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
9717
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9721
test -z "$as_dir" && as_dir=.
9722
for ac_exec_ext in '' $ac_executable_extensions; do
9723
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9724
ac_cv_prog_STRIP="${ac_tool_prefix}strip"
9725
echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
9734
STRIP=$ac_cv_prog_STRIP
9735
if test -n "$STRIP"; then
9736
{ echo "$as_me:$LINENO: result: $STRIP" >&5
9737
echo "${ECHO_T}$STRIP" >&6; }
9739
{ echo "$as_me:$LINENO: result: no" >&5
9740
echo "${ECHO_T}no" >&6; }
9745
if test -z "$ac_cv_prog_STRIP"; then
9747
# Extract the first word of "strip", so it can be a program name with args.
9748
set dummy strip; ac_word=$2
9749
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
9750
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
9751
if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
9752
echo $ECHO_N "(cached) $ECHO_C" >&6
9754
if test -n "$ac_ct_STRIP"; then
9755
ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
9757
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9761
test -z "$as_dir" && as_dir=.
9762
for ac_exec_ext in '' $ac_executable_extensions; do
9763
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9764
ac_cv_prog_ac_ct_STRIP="strip"
9765
echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
9774
ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
9775
if test -n "$ac_ct_STRIP"; then
9776
{ echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
9777
echo "${ECHO_T}$ac_ct_STRIP" >&6; }
9779
{ echo "$as_me:$LINENO: result: no" >&5
9780
echo "${ECHO_T}no" >&6; }
9783
if test "x$ac_ct_STRIP" = x; then
9786
case $cross_compiling:$ac_tool_warned in
9788
{ echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
9789
whose name does not start with the host triplet. If you think this
9790
configuration is useful to you, please write to autoconf@gnu.org." >&5
9791
echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
9792
whose name does not start with the host triplet. If you think this
9793
configuration is useful to you, please write to autoconf@gnu.org." >&2;}
9794
ac_tool_warned=yes ;;
9799
STRIP="$ac_cv_prog_STRIP"
9804
old_CFLAGS="$CFLAGS"
9806
# Set sane defaults for various variables
9807
test -z "$AR" && AR=ar
9808
test -z "$AR_FLAGS" && AR_FLAGS=cru
9809
test -z "$AS" && AS=as
9810
test -z "$CC" && CC=cc
9811
test -z "$LTCC" && LTCC=$CC
9812
test -z "$DLLTOOL" && DLLTOOL=dlltool
9813
test -z "$LD" && LD=ld
9814
test -z "$LN_S" && LN_S="ln -s"
9815
test -z "$MAGIC_CMD" && MAGIC_CMD=file
9816
test -z "$NM" && NM=nm
9817
test -z "$SED" && SED=sed
9818
test -z "$OBJDUMP" && OBJDUMP=objdump
9819
test -z "$RANLIB" && RANLIB=:
9820
test -z "$STRIP" && STRIP=:
9821
test -z "$ac_objext" && ac_objext=o
9823
# Determine commands to create old-style static archives.
9824
old_archive_cmds='$AR $AR_FLAGS $oldlib$oldobjs$old_deplibs'
9825
old_postinstall_cmds='chmod 644 $oldlib'
9826
old_postuninstall_cmds=
9828
if test -n "$RANLIB"; then
9831
old_postinstall_cmds="\$RANLIB -t \$oldlib~$old_postinstall_cmds"
9834
old_postinstall_cmds="\$RANLIB \$oldlib~$old_postinstall_cmds"
9837
old_archive_cmds="$old_archive_cmds~\$RANLIB \$oldlib"
9840
# Only perform the check for file, if the check method requires it
9841
case $deplibs_check_method in
9843
if test "$file_magic_cmd" = '$MAGIC_CMD'; then
9844
{ echo "$as_me:$LINENO: checking for ${ac_tool_prefix}file" >&5
9845
echo $ECHO_N "checking for ${ac_tool_prefix}file... $ECHO_C" >&6; }
9846
if test "${lt_cv_path_MAGIC_CMD+set}" = set; then
9847
echo $ECHO_N "(cached) $ECHO_C" >&6
9851
lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
9854
lt_save_MAGIC_CMD="$MAGIC_CMD"
9855
lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
9856
ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
9857
for ac_dir in $ac_dummy; do
9859
test -z "$ac_dir" && ac_dir=.
9860
if test -f $ac_dir/${ac_tool_prefix}file; then
9861
lt_cv_path_MAGIC_CMD="$ac_dir/${ac_tool_prefix}file"
9862
if test -n "$file_magic_test_file"; then
9863
case $deplibs_check_method in
9865
file_magic_regex="`expr \"$deplibs_check_method\" : \"file_magic \(.*\)\"`"
9866
MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
9867
if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
9868
$EGREP "$file_magic_regex" > /dev/null; then
9873
*** Warning: the command libtool uses to detect shared libraries,
9874
*** $file_magic_cmd, produces output that libtool cannot recognize.
9875
*** The result is that libtool may fail to recognize shared libraries
9876
*** as such. This will affect the creation of libtool libraries that
9877
*** depend on shared libraries, but programs linked with such libtool
9878
*** libraries will work regardless of this problem. Nevertheless, you
9879
*** may want to report the problem to your system manager and/or to
9880
*** bug-libtool@gnu.org
9890
MAGIC_CMD="$lt_save_MAGIC_CMD"
9895
MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
9896
if test -n "$MAGIC_CMD"; then
9897
{ echo "$as_me:$LINENO: result: $MAGIC_CMD" >&5
9898
echo "${ECHO_T}$MAGIC_CMD" >&6; }
9900
{ echo "$as_me:$LINENO: result: no" >&5
9901
echo "${ECHO_T}no" >&6; }
9904
if test -z "$lt_cv_path_MAGIC_CMD"; then
9905
if test -n "$ac_tool_prefix"; then
9906
{ echo "$as_me:$LINENO: checking for file" >&5
9907
echo $ECHO_N "checking for file... $ECHO_C" >&6; }
9908
if test "${lt_cv_path_MAGIC_CMD+set}" = set; then
9909
echo $ECHO_N "(cached) $ECHO_C" >&6
9913
lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
9916
lt_save_MAGIC_CMD="$MAGIC_CMD"
9917
lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
9918
ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
9919
for ac_dir in $ac_dummy; do
9921
test -z "$ac_dir" && ac_dir=.
9922
if test -f $ac_dir/file; then
9923
lt_cv_path_MAGIC_CMD="$ac_dir/file"
9924
if test -n "$file_magic_test_file"; then
9925
case $deplibs_check_method in
9927
file_magic_regex="`expr \"$deplibs_check_method\" : \"file_magic \(.*\)\"`"
9928
MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
9929
if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
9930
$EGREP "$file_magic_regex" > /dev/null; then
9935
*** Warning: the command libtool uses to detect shared libraries,
9936
*** $file_magic_cmd, produces output that libtool cannot recognize.
9937
*** The result is that libtool may fail to recognize shared libraries
9938
*** as such. This will affect the creation of libtool libraries that
9939
*** depend on shared libraries, but programs linked with such libtool
9940
*** libraries will work regardless of this problem. Nevertheless, you
9941
*** may want to report the problem to your system manager and/or to
9942
*** bug-libtool@gnu.org
9952
MAGIC_CMD="$lt_save_MAGIC_CMD"
9957
MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
9958
if test -n "$MAGIC_CMD"; then
9959
{ echo "$as_me:$LINENO: result: $MAGIC_CMD" >&5
9960
echo "${ECHO_T}$MAGIC_CMD" >&6; }
9962
{ echo "$as_me:$LINENO: result: no" >&5
9963
echo "${ECHO_T}no" >&6; }
9978
# Check whether --enable-libtool-lock was given.
9979
if test "${enable_libtool_lock+set}" = set; then
9980
enableval=$enable_libtool_lock;
9983
test "x$enable_libtool_lock" != xno && enable_libtool_lock=yes
9986
# Check whether --with-pic was given.
9987
if test "${with_pic+set}" = set; then
9988
withval=$with_pic; pic_mode="$withval"
9993
test -z "$pic_mode" && pic_mode=default
9995
# Use C for the default configuration in the libtool script
9999
ac_cpp='$CPP $CPPFLAGS'
10000
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
10001
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
10002
ac_compiler_gnu=$ac_cv_c_compiler_gnu
10005
# Source file extension for C test sources.
10008
# Object file extension for compiled C test sources.
10012
# Code to be used in simple compile tests
10013
lt_simple_compile_test_code="int some_variable = 0;\n"
10015
# Code to be used in simple link tests
10016
lt_simple_link_test_code='int main(){return(0);}\n'
10019
# If no C compiler was specified, use CC.
10022
# Allow CC to be a program name with arguments.
10027
# Check for any special shared library compilation flags.
10030
if test "$GCC" = no; then
10033
lt_prog_cc_shlib='-belf'
10037
if test -n "$lt_prog_cc_shlib"; then
10038
{ echo "$as_me:$LINENO: WARNING: \`$CC' requires \`$lt_prog_cc_shlib' to build shared libraries" >&5
10039
echo "$as_me: WARNING: \`$CC' requires \`$lt_prog_cc_shlib' to build shared libraries" >&2;}
10040
if echo "$old_CC $old_CFLAGS " | grep "[ ]$lt_prog_cc_shlib[ ]" >/dev/null; then :
10042
{ echo "$as_me:$LINENO: WARNING: add \`$lt_prog_cc_shlib' to the CC or CFLAGS env variable and reconfigure" >&5
10043
echo "$as_me: WARNING: add \`$lt_prog_cc_shlib' to the CC or CFLAGS env variable and reconfigure" >&2;}
10044
lt_cv_prog_cc_can_build_shared=no
10050
# Check to make sure the static flag actually works.
10052
{ echo "$as_me:$LINENO: checking if $compiler static flag $lt_prog_compiler_static works" >&5
10053
echo $ECHO_N "checking if $compiler static flag $lt_prog_compiler_static works... $ECHO_C" >&6; }
10054
if test "${lt_prog_compiler_static_works+set}" = set; then
10055
echo $ECHO_N "(cached) $ECHO_C" >&6
10057
lt_prog_compiler_static_works=no
10058
save_LDFLAGS="$LDFLAGS"
10059
LDFLAGS="$LDFLAGS $lt_prog_compiler_static"
10060
printf "$lt_simple_link_test_code" > conftest.$ac_ext
10061
if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
10062
# The compiler can only warn and ignore the option if not recognized
10063
# So say no if there are warnings
10064
if test -s conftest.err; then
10065
# Append any errors to the config.log.
10066
cat conftest.err 1>&5
10068
lt_prog_compiler_static_works=yes
10072
LDFLAGS="$save_LDFLAGS"
10075
{ echo "$as_me:$LINENO: result: $lt_prog_compiler_static_works" >&5
10076
echo "${ECHO_T}$lt_prog_compiler_static_works" >&6; }
10078
if test x"$lt_prog_compiler_static_works" = xyes; then
10081
lt_prog_compiler_static=
10087
## There is no encapsulation within the following macros, do not change
10088
## the running order or otherwise move them around unless you know exactly
10089
## what you are doing...
10091
lt_prog_compiler_no_builtin_flag=
10093
if test "$GCC" = yes; then
10094
lt_prog_compiler_no_builtin_flag=' -fno-builtin'
10097
{ echo "$as_me:$LINENO: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
10098
echo $ECHO_N "checking if $compiler supports -fno-rtti -fno-exceptions... $ECHO_C" >&6; }
10099
if test "${lt_cv_prog_compiler_rtti_exceptions+set}" = set; then
10100
echo $ECHO_N "(cached) $ECHO_C" >&6
10102
lt_cv_prog_compiler_rtti_exceptions=no
10103
ac_outfile=conftest.$ac_objext
10104
printf "$lt_simple_compile_test_code" > conftest.$ac_ext
10105
lt_compiler_flag="-fno-rtti -fno-exceptions"
10106
# Insert the option either (1) after the last *FLAGS variable, or
10107
# (2) before a word containing "conftest.", or (3) at the end.
10108
# Note that $ac_compile itself does not contain backslashes and begins
10109
# with a dollar sign (not a hyphen), so the echo should work correctly.
10110
# The option is referenced via a variable to avoid confusing sed.
10111
lt_compile=`echo "$ac_compile" | $SED \
10112
-e 's:.*FLAGS}? :&$lt_compiler_flag :; t' \
10113
-e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
10114
-e 's:$: $lt_compiler_flag:'`
10115
(eval echo "\"\$as_me:10115: $lt_compile\"" >&5)
10116
(eval "$lt_compile" 2>conftest.err)
10118
cat conftest.err >&5
10119
echo "$as_me:10119: \$? = $ac_status" >&5
10120
if (exit $ac_status) && test -s "$ac_outfile"; then
10121
# The compiler can only warn and ignore the option if not recognized
10122
# So say no if there are warnings
10123
if test ! -s conftest.err; then
10124
lt_cv_prog_compiler_rtti_exceptions=yes
10130
{ echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_rtti_exceptions" >&5
10131
echo "${ECHO_T}$lt_cv_prog_compiler_rtti_exceptions" >&6; }
10133
if test x"$lt_cv_prog_compiler_rtti_exceptions" = xyes; then
10134
lt_prog_compiler_no_builtin_flag="$lt_prog_compiler_no_builtin_flag -fno-rtti -fno-exceptions"
10141
lt_prog_compiler_wl=
10142
lt_prog_compiler_pic=
10143
lt_prog_compiler_static=
10145
{ echo "$as_me:$LINENO: checking for $compiler option to produce PIC" >&5
10146
echo $ECHO_N "checking for $compiler option to produce PIC... $ECHO_C" >&6; }
10148
if test "$GCC" = yes; then
10149
lt_prog_compiler_wl='-Wl,'
10150
lt_prog_compiler_static='-static'
10154
# All AIX code is PIC.
10155
if test "$host_cpu" = ia64; then
10156
# AIX 5 now supports IA64 processor
10157
lt_prog_compiler_static='-Bstatic'
10162
# FIXME: we need at least 68020 code to build shared libraries, but
10163
# adding the `-m68020' flag to GCC prevents building anything better,
10165
lt_prog_compiler_pic='-m68020 -resident32 -malways-restore-a4'
10168
beos* | cygwin* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
10169
# PIC is the default for these OSes.
10172
mingw* | pw32* | os2*)
10173
# This hack is so that the source file can tell whether it is being
10174
# built for inclusion in a dll (and should export symbols for example).
10175
lt_prog_compiler_pic='-DDLL_EXPORT'
10178
darwin* | rhapsody*)
10179
# PIC is the default on this platform
10180
# Common symbols not allowed in MH_DYLIB files
10181
lt_prog_compiler_pic='-fno-common'
10185
# Just because we use GCC doesn't mean we suddenly get shared libraries
10186
# on systems that don't support them.
10187
lt_prog_compiler_can_build_shared=no
10192
if test -d /usr/nec; then
10193
lt_prog_compiler_pic=-Kconform_pic
10198
# PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
10199
# not for PA HP-UX.
10200
case "$host_cpu" in
10205
lt_prog_compiler_pic='-fPIC'
10211
lt_prog_compiler_pic='-fPIC'
10215
# PORTME Check for flag to pass linker flags through the system compiler.
10218
lt_prog_compiler_wl='-Wl,'
10219
if test "$host_cpu" = ia64; then
10220
# AIX 5 now supports IA64 processor
10221
lt_prog_compiler_static='-Bstatic'
10223
lt_prog_compiler_static='-bnso -bI:/lib/syscalls.exp'
10227
mingw* | pw32* | os2*)
10228
# This hack is so that the source file can tell whether it is being
10229
# built for inclusion in a dll (and should export symbols for example).
10230
lt_prog_compiler_pic='-DDLL_EXPORT'
10233
hpux9* | hpux10* | hpux11*)
10234
lt_prog_compiler_wl='-Wl,'
10235
# PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
10236
# not for PA HP-UX.
10237
case "$host_cpu" in
10242
lt_prog_compiler_pic='+Z'
10245
# Is there a better lt_prog_compiler_static that works with the bundled CC?
10246
lt_prog_compiler_static='${wl}-a ${wl}archive'
10249
irix5* | irix6* | nonstopux*)
10250
lt_prog_compiler_wl='-Wl,'
10251
# PIC (with -KPIC) is the default.
10252
lt_prog_compiler_static='-non_shared'
10256
lt_prog_compiler_pic='-KPIC'
10257
lt_prog_compiler_static='-Bstatic'
10263
lt_prog_compiler_wl='-Wl,'
10264
lt_prog_compiler_pic='-KPIC'
10265
lt_prog_compiler_static='-static'
10268
lt_prog_compiler_wl='-Wl,'
10269
# All Alpha code is PIC.
10270
lt_prog_compiler_static='-non_shared'
10275
osf3* | osf4* | osf5*)
10276
lt_prog_compiler_wl='-Wl,'
10277
# All OSF/1 code is PIC.
10278
lt_prog_compiler_static='-non_shared'
10282
lt_prog_compiler_pic='-Kpic'
10283
lt_prog_compiler_static='-dn'
10287
lt_prog_compiler_wl='-Wl,'
10288
lt_prog_compiler_pic='-KPIC'
10289
lt_prog_compiler_static='-Bstatic'
10293
lt_prog_compiler_wl='-Qoption ld '
10294
lt_prog_compiler_pic='-PIC'
10295
lt_prog_compiler_static='-Bstatic'
10298
sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
10299
lt_prog_compiler_wl='-Wl,'
10300
lt_prog_compiler_pic='-KPIC'
10301
lt_prog_compiler_static='-Bstatic'
10305
if test -d /usr/nec ;then
10306
lt_prog_compiler_pic='-Kconform_pic'
10307
lt_prog_compiler_static='-Bstatic'
10312
lt_prog_compiler_pic='-pic'
10313
lt_prog_compiler_static='-Bstatic'
10317
lt_prog_compiler_can_build_shared=no
10322
{ echo "$as_me:$LINENO: result: $lt_prog_compiler_pic" >&5
10323
echo "${ECHO_T}$lt_prog_compiler_pic" >&6; }
10326
# Check to make sure the PIC flag actually works.
10328
if test -n "$lt_prog_compiler_pic"; then
10330
{ echo "$as_me:$LINENO: checking if $compiler PIC flag $lt_prog_compiler_pic works" >&5
10331
echo $ECHO_N "checking if $compiler PIC flag $lt_prog_compiler_pic works... $ECHO_C" >&6; }
10332
if test "${lt_prog_compiler_pic_works+set}" = set; then
10333
echo $ECHO_N "(cached) $ECHO_C" >&6
10335
lt_prog_compiler_pic_works=no
10336
ac_outfile=conftest.$ac_objext
10337
printf "$lt_simple_compile_test_code" > conftest.$ac_ext
10338
lt_compiler_flag="$lt_prog_compiler_pic -DPIC"
10339
# Insert the option either (1) after the last *FLAGS variable, or
10340
# (2) before a word containing "conftest.", or (3) at the end.
10341
# Note that $ac_compile itself does not contain backslashes and begins
10342
# with a dollar sign (not a hyphen), so the echo should work correctly.
10343
# The option is referenced via a variable to avoid confusing sed.
10344
lt_compile=`echo "$ac_compile" | $SED \
10345
-e 's:.*FLAGS}? :&$lt_compiler_flag :; t' \
10346
-e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
10347
-e 's:$: $lt_compiler_flag:'`
10348
(eval echo "\"\$as_me:10348: $lt_compile\"" >&5)
10349
(eval "$lt_compile" 2>conftest.err)
10351
cat conftest.err >&5
10352
echo "$as_me:10352: \$? = $ac_status" >&5
10353
if (exit $ac_status) && test -s "$ac_outfile"; then
10354
# The compiler can only warn and ignore the option if not recognized
10355
# So say no if there are warnings
10356
if test ! -s conftest.err; then
10357
lt_prog_compiler_pic_works=yes
10363
{ echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_works" >&5
10364
echo "${ECHO_T}$lt_prog_compiler_pic_works" >&6; }
10366
if test x"$lt_prog_compiler_pic_works" = xyes; then
10367
case $lt_prog_compiler_pic in
10369
*) lt_prog_compiler_pic=" $lt_prog_compiler_pic" ;;
10372
lt_prog_compiler_pic=
10373
lt_prog_compiler_can_build_shared=no
10378
# For platforms which do not support PIC, -DPIC is meaningless:
10380
lt_prog_compiler_pic=
10383
lt_prog_compiler_pic="$lt_prog_compiler_pic -DPIC"
10387
{ echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5
10388
echo $ECHO_N "checking if $compiler supports -c -o file.$ac_objext... $ECHO_C" >&6; }
10389
if test "${lt_cv_prog_compiler_c_o+set}" = set; then
10390
echo $ECHO_N "(cached) $ECHO_C" >&6
10392
lt_cv_prog_compiler_c_o=no
10393
$rm -r conftest 2>/dev/null
10397
printf "$lt_simple_compile_test_code" > conftest.$ac_ext
10399
# According to Tom Tromey, Ian Lance Taylor reported there are C compilers
10400
# that will create temporary files in the current directory regardless of
10401
# the output directory. Thus, making CWD read-only will cause this test
10402
# to fail, enabling locking or at least warning the user not to do parallel
10406
lt_compiler_flag="-o out/conftest2.$ac_objext"
10407
# Insert the option either (1) after the last *FLAGS variable, or
10408
# (2) before a word containing "conftest.", or (3) at the end.
10409
# Note that $ac_compile itself does not contain backslashes and begins
10410
# with a dollar sign (not a hyphen), so the echo should work correctly.
10411
lt_compile=`echo "$ac_compile" | $SED \
10412
-e 's:.*FLAGS}? :&$lt_compiler_flag :; t' \
10413
-e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
10414
-e 's:$: $lt_compiler_flag:'`
10415
(eval echo "\"\$as_me:10415: $lt_compile\"" >&5)
10416
(eval "$lt_compile" 2>out/conftest.err)
10418
cat out/conftest.err >&5
10419
echo "$as_me:10419: \$? = $ac_status" >&5
10420
if (exit $ac_status) && test -s out/conftest2.$ac_objext
10422
# The compiler can only warn and ignore the option if not recognized
10423
# So say no if there are warnings
10424
if test ! -s out/conftest.err; then
10425
lt_cv_prog_compiler_c_o=yes
10429
$rm conftest* out/*
10436
{ echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_c_o" >&5
10437
echo "${ECHO_T}$lt_cv_prog_compiler_c_o" >&6; }
10440
hard_links="nottested"
10441
if test "$lt_cv_prog_compiler_c_o" = no && test "$need_locks" != no; then
10442
# do not overwrite the value of need_locks provided by the user
10443
{ echo "$as_me:$LINENO: checking if we can lock with hard links" >&5
10444
echo $ECHO_N "checking if we can lock with hard links... $ECHO_C" >&6; }
10447
ln conftest.a conftest.b 2>/dev/null && hard_links=no
10449
ln conftest.a conftest.b 2>&5 || hard_links=no
10450
ln conftest.a conftest.b 2>/dev/null && hard_links=no
10451
{ echo "$as_me:$LINENO: result: $hard_links" >&5
10452
echo "${ECHO_T}$hard_links" >&6; }
10453
if test "$hard_links" = no; then
10454
{ echo "$as_me:$LINENO: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
10455
echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
10462
{ echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5
10463
echo $ECHO_N "checking whether the $compiler linker ($LD) supports shared libraries... $ECHO_C" >&6; }
10466
allow_undefined_flag=
10467
enable_shared_with_static_runtimes=no
10469
archive_expsym_cmds=
10470
old_archive_From_new_cmds=
10471
old_archive_from_expsyms_cmds=
10472
export_dynamic_flag_spec=
10473
whole_archive_flag_spec=
10474
thread_safe_flag_spec=
10475
hardcode_libdir_flag_spec=
10476
hardcode_libdir_flag_spec_ld=
10477
hardcode_libdir_separator=
10479
hardcode_minus_L=no
10480
hardcode_shlibpath_var=unsupported
10481
link_all_deplibs=unknown
10482
hardcode_automatic=no
10484
module_expsym_cmds=
10485
always_export_symbols=no
10486
export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
10487
# include_expsyms should be a list of space-separated symbols to be *always*
10488
# included in the symbol list
10490
# exclude_expsyms can be an extended regexp of symbols to exclude
10491
# it will be wrapped by ` (' and `)$', so one must not match beginning or
10492
# end of line. Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
10493
# as well as any symbol that contains `d'.
10494
exclude_expsyms="_GLOBAL_OFFSET_TABLE_"
10495
# Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
10496
# platforms (ab)use it in PIC code, but their linkers get confused if
10497
# the symbol is explicitly referenced. Since portable code cannot
10498
# rely on this symbol name, it's probably fine to never include it in
10499
# preloaded symbol tables.
10500
extract_expsyms_cmds=
10503
cygwin* | mingw* | pw32*)
10504
# FIXME: the MSVC++ port hasn't been tested in a loooong time
10505
# When not using gcc, we currently assume that we are using
10506
# Microsoft Visual C++.
10507
if test "$GCC" != yes; then
10517
if test "$with_gnu_ld" = yes; then
10518
# If archive_cmds runs LD, not CC, wlarc should be empty
10521
# See if GNU ld supports shared libraries.
10523
aix3* | aix4* | aix5*)
10524
# On AIX/PPC, the GNU linker is very broken
10525
if test "$host_cpu" != ia64; then
10529
*** Warning: the GNU linker, at least up to release 2.9.1, is reported
10530
*** to be unable to reliably create shared libraries on AIX.
10531
*** Therefore, libtool is disabling shared libraries support. If you
10532
*** really care for shared libraries, you may want to modify your PATH
10533
*** so that a non-GNU linker is found, and then restart.
10540
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)'
10541
hardcode_libdir_flag_spec='-L$libdir'
10542
hardcode_minus_L=yes
10544
# Samuel A. Falvo II <kc5tja@dolphin.openprojects.net> reports
10545
# that the semantics of dynamic libraries on AmigaOS, at least up
10546
# to version 4, is to share data among multiple programs linked
10547
# with the same dynamic library. Since this doesn't match the
10548
# behavior of shared libraries on other platforms, we can't use
10554
if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
10555
allow_undefined_flag=unsupported
10556
# Joseph Beckenbach <jrb3@best.com> says some releases of gcc
10557
# support --undefined. This deserves some investigation. FIXME
10558
archive_cmds='$CC -nostart $compiler_flags $libobjs $deplibs ${wl}-soname $wl$soname -o $lib'
10564
cygwin* | mingw* | pw32*)
10565
# _LT_AC_TAGVAR(hardcode_libdir_flag_spec, ) is actually meaningless,
10566
# as there is no search path for DLLs.
10567
hardcode_libdir_flag_spec='-L$libdir'
10568
allow_undefined_flag=no
10569
always_export_symbols=no
10570
enable_shared_with_static_runtimes=yes
10571
export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGS] /s/.* \([^ ]*\)/\1 DATA/'\'' | $SED -e '\''/^[AITW] /s/.* //'\'' | sort | uniq > $export_symbols'
10573
if $LD --help 2>&1 | grep 'auto-import' > /dev/null; then
10574
archive_cmds='$CC -shared $compiler_flags $libobjs $deplibs -o $output_objdir/$soname ${wl}--image-base=0x10000000 ${wl}--out-implib,$lib'
10575
# If the export-symbols file already is a .def file (1st line
10576
# is EXPORTS), use it as is; otherwise, prepend...
10577
archive_expsym_cmds='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
10578
cp $export_symbols $output_objdir/$soname.def;
10580
echo EXPORTS > $output_objdir/$soname.def;
10581
cat $export_symbols >> $output_objdir/$soname.def;
10583
$CC -shared $output_objdir/$soname.def $compiler_flags $libobjs $deplibs -o $output_objdir/$soname ${wl}--image-base=0x10000000 ${wl}--out-implib,$lib'
10590
if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
10591
archive_cmds='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
10594
archive_cmds='$CC -shared $compiler_flags $libobjs $deplibs ${wl}-soname $wl$soname -o $lib'
10595
archive_expsym_cmds='$CC -shared $compiler_flags $libobjs $deplibs ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
10600
if $LD -v 2>&1 | grep 'BFD 2\.8' > /dev/null; then
10604
*** Warning: The releases 2.8.* of the GNU linker cannot reliably
10605
*** create shared libraries on Solaris systems. Therefore, libtool
10606
*** is disabling shared libraries support. We urge you to upgrade GNU
10607
*** binutils to release 2.9.1 or newer. Another option is to modify
10608
*** your PATH or compiler configuration so that the native linker is
10609
*** used, and then restart.
10612
elif $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
10613
archive_cmds='$CC -shared $compiler_flags $libobjs $deplibs ${wl}-soname $wl$soname -o $lib'
10614
archive_expsym_cmds='$CC -shared $compiler_flags $libobjs $deplibs ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
10621
archive_cmds='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
10623
hardcode_direct=yes
10624
hardcode_shlibpath_var=no
10628
if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
10629
archive_cmds='$CC -shared $compiler_flags $libobjs $deplibs ${wl}-soname $wl$soname -o $lib'
10630
archive_expsym_cmds='$CC -shared $compiler_flags $libobjs $deplibs ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
10637
if test "$ld_shlibs" = yes; then
10638
runpath_var=LD_RUN_PATH
10639
hardcode_libdir_flag_spec='${wl}--rpath ${wl}$libdir'
10640
export_dynamic_flag_spec='${wl}--export-dynamic'
10641
# ancient GNU ld didn't support --whole-archive et. al.
10642
if $LD --help 2>&1 | grep 'no-whole-archive' > /dev/null; then
10643
whole_archive_flag_spec="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
10645
whole_archive_flag_spec=
10649
# PORTME fill in a description of your system's linker (not GNU ld)
10652
allow_undefined_flag=unsupported
10653
always_export_symbols=yes
10654
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'
10655
# Note: this linker hardcodes the directories in LIBPATH if there
10656
# are no directories specified by -L.
10657
hardcode_minus_L=yes
10658
if test "$GCC" = yes && test -z "$link_static_flag"; then
10659
# Neither direct hardcoding nor static linking is supported with a
10661
hardcode_direct=unsupported
10666
if test "$host_cpu" = ia64; then
10667
# On IA64, the linker does run time linking by default, so we don't
10668
# have to do anything special.
10669
aix_use_runtimelinking=no
10670
exp_sym_flag='-Bexport'
10673
# If we're using GNU nm, then we don't want the "-C" option.
10674
# -C means demangle to AIX nm, but means don't demangle with GNU nm
10675
if $NM -V 2>&1 | grep 'GNU' > /dev/null; then
10676
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'
10678
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'
10681
# KDE requires run time linking. Make it the default.
10682
aix_use_runtimelinking=yes
10683
exp_sym_flag='-bexport'
10684
no_entry_flag='-bnoentry'
10687
# When large executables or shared objects are built, AIX ld can
10688
# have problems creating the table of contents. If linking a library
10689
# or program results in "error TOC overflow" add -mminimal-toc to
10690
# CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
10691
# enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
10694
hardcode_direct=yes
10695
hardcode_libdir_separator=':'
10696
link_all_deplibs=yes
10698
if test "$GCC" = yes; then
10699
case $host_os in aix4.012|aix4.012.*)
10700
# We only want to do this on AIX 4.2 and lower, the check
10701
# below for broken collect2 doesn't work under 4.3+
10702
collect2name=`${CC} -print-prog-name=collect2`
10703
if test -f "$collect2name" && \
10704
strings "$collect2name" | grep resolve_lib_name >/dev/null
10706
# We have reworked collect2
10707
hardcode_direct=yes
10709
# We have old collect2
10710
hardcode_direct=unsupported
10711
# It fails to find uninstalled libraries when the uninstalled
10712
# path is not listed in the libpath. Setting hardcode_minus_L
10713
# to unsupported forces relinking
10714
hardcode_minus_L=yes
10715
hardcode_libdir_flag_spec='-L$libdir'
10716
hardcode_libdir_separator=
10719
shared_flag='-shared'
10722
if test "$host_cpu" = ia64; then
10723
# VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
10724
# chokes on -Wl,-G. The following line is correct:
10727
if test "$aix_use_runtimelinking" = yes; then
10728
shared_flag='-qmkshrobj ${wl}-G'
10730
shared_flag='-qmkshrobj'
10735
# Let the compiler handle the export list.
10736
always_export_symbols=no
10737
if test "$aix_use_runtimelinking" = yes; then
10738
# Warning - without using the other runtime loading flags (-brtl),
10739
# -berok will link without error, but may produce a broken library.
10740
allow_undefined_flag='-berok'
10741
# Determine the default libpath from the value encoded in an empty executable.
10742
cat >conftest.$ac_ext <<_ACEOF
10745
cat confdefs.h >>conftest.$ac_ext
10746
cat >>conftest.$ac_ext <<_ACEOF
10747
/* end confdefs.h. */
10757
rm -f conftest.$ac_objext conftest$ac_exeext
10758
if { (ac_try="$ac_link"
10759
case "(($ac_try" in
10760
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10761
*) ac_try_echo=$ac_try;;
10763
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10764
(eval "$ac_link") 2>conftest.er1
10766
grep -v '^ *+' conftest.er1 >conftest.err
10768
cat conftest.err >&5
10769
echo "$as_me:$LINENO: \$? = $ac_status" >&5
10770
(exit $ac_status); } && {
10771
test -z "$ac_c_werror_flag" ||
10772
test ! -s conftest.err
10773
} && test -s conftest$ac_exeext &&
10774
$as_test_x conftest$ac_exeext; then
10776
aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0 *\(.*\)$/\1/; p; }
10778
# Check for a 64-bit object if we didn't find anything.
10779
if test -z "$aix_libpath"; then aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0 *\(.*\)$/\1/; p; }
10782
echo "$as_me: failed program was:" >&5
10783
sed 's/^/| /' conftest.$ac_ext >&5
10788
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
10789
conftest$ac_exeext conftest.$ac_ext
10790
if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
10792
hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
10793
archive_cmds="\$CC"' -o $output_objdir/$soname $compiler_flags $libobjs $deplibs `if test "x${allow_undefined_flag}" != "x"; then echo "${wl}${allow_undefined_flag}"; else :; fi` '" $shared_flag"
10794
archive_expsym_cmds="\$CC"' -o $output_objdir/$soname $compiler_flags $libobjs $deplibs `if test "x${allow_undefined_flag}" != "x"; then echo "${wl}${allow_undefined_flag}"; else :; fi` '"\${wl}$exp_sym_flag:\$export_symbols $shared_flag"
10796
if test "$host_cpu" = ia64; then
10797
hardcode_libdir_flag_spec='${wl}-R $libdir:/usr/lib:/lib'
10798
allow_undefined_flag="-z nodefs"
10799
archive_expsym_cmds="\$CC $shared_flag"' -o $output_objdir/$soname $compiler_flags $libobjs $deplibs ${wl}${allow_undefined_flag} '"\${wl}$no_entry_flag \${wl}$exp_sym_flag:\$export_symbols"
10801
# Determine the default libpath from the value encoded in an empty executable.
10802
cat >conftest.$ac_ext <<_ACEOF
10805
cat confdefs.h >>conftest.$ac_ext
10806
cat >>conftest.$ac_ext <<_ACEOF
10807
/* end confdefs.h. */
10817
rm -f conftest.$ac_objext conftest$ac_exeext
10818
if { (ac_try="$ac_link"
10819
case "(($ac_try" in
10820
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10821
*) ac_try_echo=$ac_try;;
10823
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10824
(eval "$ac_link") 2>conftest.er1
10826
grep -v '^ *+' conftest.er1 >conftest.err
10828
cat conftest.err >&5
10829
echo "$as_me:$LINENO: \$? = $ac_status" >&5
10830
(exit $ac_status); } && {
10831
test -z "$ac_c_werror_flag" ||
10832
test ! -s conftest.err
10833
} && test -s conftest$ac_exeext &&
10834
$as_test_x conftest$ac_exeext; then
10836
aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0 *\(.*\)$/\1/; p; }
10838
# Check for a 64-bit object if we didn't find anything.
10839
if test -z "$aix_libpath"; then aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0 *\(.*\)$/\1/; p; }
10842
echo "$as_me: failed program was:" >&5
10843
sed 's/^/| /' conftest.$ac_ext >&5
10848
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
10849
conftest$ac_exeext conftest.$ac_ext
10850
if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
10852
hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
10853
# Warning - without using the other run time loading flags,
10854
# -berok will link without error, but may produce a broken library.
10855
no_undefined_flag=' ${wl}-bernotok'
10856
allow_undefined_flag=' ${wl}-berok'
10857
# -bexpall does not export symbols beginning with underscore (_)
10858
always_export_symbols=yes
10859
# Exported symbols can be pulled into shared objects from archives
10860
whole_archive_flag_spec=' '
10861
archive_cmds_need_lc=yes
10862
# This is similar to how AIX traditionally builds it's shared libraries.
10863
archive_expsym_cmds="\$CC $shared_flag"' -o $output_objdir/$soname $compiler_flags $libobjs $deplibs ${wl}-bE:$export_symbols ${wl}-bnoentry${allow_undefined_flag}~$AR $AR_FLAGS $output_objdir/$libname$release.a $output_objdir/$soname'
10869
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)'
10870
hardcode_libdir_flag_spec='-L$libdir'
10871
hardcode_minus_L=yes
10872
# see comment about different semantics on the GNU ld section
10877
export_dynamic_flag_spec=-rdynamic
10880
cygwin* | mingw* | pw32*)
10881
# When not using gcc, we currently assume that we are using
10882
# Microsoft Visual C++.
10883
# hardcode_libdir_flag_spec is actually meaningless, as there is
10884
# no search path for DLLs.
10885
hardcode_libdir_flag_spec=' '
10886
allow_undefined_flag=no
10887
# Tell ltmain to make .lib files, not .a files.
10889
# Tell ltmain to make .dll files, not .so files.
10891
# FIXME: Setting linknames here is a bad hack.
10892
archive_cmds='$CC -o $lib $compiler_flags $libobjs `echo "$deplibs" | $SED -e '\''s/ -lc$//'\''` -link -dll~linknames='
10893
# The linker will automatically build a .lib file if we build a DLL.
10894
old_archive_From_new_cmds='true'
10895
# FIXME: Should let the user specify the lib program.
10896
old_archive_cmds='lib /OUT:$oldlib$oldobjs$old_deplibs'
10897
fix_srcfile_path='`cygpath -w "$srcfile"`'
10898
enable_shared_with_static_runtimes=yes
10901
darwin* | rhapsody*)
10902
if test "$GXX" = yes ; then
10903
archive_cmds_need_lc=no
10905
rhapsody* | darwin1.[012])
10906
allow_undefined_flag='-Wl,-undefined -Wl,suppress'
10909
if test -z ${MACOSX_DEPLOYMENT_TARGET} ; then
10910
allow_undefined_flag='-Wl,-flat_namespace -Wl,-undefined -Wl,suppress'
10912
case ${MACOSX_DEPLOYMENT_TARGET} in
10914
allow_undefined_flag='-Wl,-flat_namespace -Wl,-undefined -Wl,suppress'
10917
allow_undefined_flag='-Wl,-undefined -Wl,dynamic_lookup'
10923
lt_int_apple_cc_single_mod=no
10924
output_verbose_link_cmd='echo'
10925
if $CC -dumpspecs 2>&1 | grep 'single_module' >/dev/null ; then
10926
lt_int_apple_cc_single_mod=yes
10928
if test "X$lt_int_apple_cc_single_mod" = Xyes ; then
10929
archive_cmds='$CC -dynamiclib -single_module $allow_undefined_flag -o $lib $compiler_flags $libobjs $deplibs -install_name $rpath/$soname $verstring'
10931
archive_cmds='$CC -r ${wl}-bind_at_load -keep_private_externs -nostdlib -o ${lib}-master.o $libobjs~$CC -dynamiclib $allow_undefined_flag -o $lib ${lib}-master.o $compiler_flags $deplibs -install_name $rpath/$soname $verstring'
10933
module_cmds='$CC ${wl}-bind_at_load $allow_undefined_flag -o $lib -bundle $compiler_flags $libobjs $deplibs'
10934
# Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin ld's
10935
if test "X$lt_int_apple_cc_single_mod" = Xyes ; then
10936
archive_expsym_cmds='sed -e "s,#.*,," -e "s,^[ ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC -dynamiclib -single_module $allow_undefined_flag -o $lib $compiler_flags $libobjs $deplibs -install_name $rpath/$soname $verstring~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
10938
archive_expsym_cmds='sed -e "s,#.*,," -e "s,^[ ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC -r ${wl}-bind_at_load -keep_private_externs -nostdlib -o ${lib}-master.o $libobjs~$CC -dynamiclib $allow_undefined_flag -o $lib ${lib}-master.o $compiler_flags $deplibs -install_name $rpath/$soname $verstring~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
10940
module_expsym_cmds='sed -e "s,#.*,," -e "s,^[ ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC $allow_undefined_flag -o $lib -bundle $compiler_flags $libobjs $deplibs~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
10942
hardcode_automatic=yes
10943
hardcode_shlibpath_var=unsupported
10944
whole_archive_flag_spec='-all_load $convenience'
10945
link_all_deplibs=yes
10952
archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10953
hardcode_libdir_flag_spec='-L$libdir'
10954
hardcode_shlibpath_var=no
10961
# FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
10962
# support. Future versions do this automatically, but an explicit c++rt0.o
10963
# does not break anything, and helps significantly (at the cost of a little
10966
archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
10967
hardcode_libdir_flag_spec='-R$libdir'
10968
hardcode_direct=yes
10969
hardcode_shlibpath_var=no
10972
# Unfortunately, older versions of FreeBSD 2 do not have this feature.
10974
archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
10975
hardcode_direct=yes
10976
hardcode_minus_L=yes
10977
hardcode_shlibpath_var=no
10980
# FreeBSD 3 and greater uses gcc -shared to do shared libraries.
10981
freebsd* | kfreebsd*-gnu)
10982
archive_cmds='$CC -shared -o $lib $compiler_flags $libobjs $deplibs'
10983
hardcode_libdir_flag_spec='-R$libdir'
10984
hardcode_direct=yes
10985
hardcode_shlibpath_var=no
10989
if test "$GCC" = yes; then
10990
archive_cmds='$rm $output_objdir/$soname~$CC -shared -fPIC ${wl}+b ${wl}$install_libdir -o $output_objdir/$soname $compiler_flags $libobjs $deplibs~test $output_objdir/$soname = $lib || mv $output_objdir/$soname $lib'
10992
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'
10994
hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
10995
hardcode_libdir_separator=:
10996
hardcode_direct=yes
10998
# hardcode_minus_L: Not really in the search PATH,
10999
# but as the default location of the library.
11000
hardcode_minus_L=yes
11001
export_dynamic_flag_spec='${wl}-E'
11005
if test "$GCC" = yes -a "$with_gnu_ld" = no; then
11006
case "$host_cpu" in
11008
archive_cmds='$CC -shared ${wl}+h ${wl}$soname -o $lib $compiler_flags $libobjs $deplibs'
11011
archive_cmds='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $compiler_flags $libobjs $deplibs'
11015
case "$host_cpu" in
11017
archive_cmds='$LD -b +h $soname -o $lib $libobjs $deplibs $linker_flags'
11020
archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
11024
if test "$with_gnu_ld" = no; then
11025
case "$host_cpu" in
11027
hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
11028
hardcode_libdir_flag_spec_ld='+b $libdir'
11029
hardcode_libdir_separator=:
11031
hardcode_shlibpath_var=no
11034
hardcode_libdir_flag_spec='-L$libdir'
11036
hardcode_shlibpath_var=no
11038
# hardcode_minus_L: Not really in the search PATH,
11039
# but as the default location of the library.
11040
hardcode_minus_L=yes
11043
hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
11044
hardcode_libdir_separator=:
11045
hardcode_direct=yes
11046
export_dynamic_flag_spec='${wl}-E'
11048
# hardcode_minus_L: Not really in the search PATH,
11049
# but as the default location of the library.
11050
hardcode_minus_L=yes
11056
irix5* | irix6* | nonstopux*)
11057
if test "$GCC" = yes; then
11058
archive_cmds='$CC -shared $compiler_flags $libobjs $deplibs ${wl}-soname ${wl}$soname `test -n "$verstring" && echo ${wl}-set_version ${wl}$verstring` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
11060
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'
11061
hardcode_libdir_flag_spec_ld='-rpath $libdir'
11063
hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
11064
hardcode_libdir_separator=:
11065
link_all_deplibs=yes
11069
if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
11070
archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' # a.out
11072
archive_cmds='$LD -shared -o $lib $libobjs $deplibs $linker_flags' # ELF
11074
hardcode_libdir_flag_spec='-R$libdir'
11075
hardcode_direct=yes
11076
hardcode_shlibpath_var=no
11080
archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
11081
hardcode_direct=yes
11082
hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
11083
hardcode_libdir_separator=:
11084
hardcode_shlibpath_var=no
11088
hardcode_direct=yes
11089
hardcode_shlibpath_var=no
11090
if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
11091
archive_cmds='$CC -shared $pic_flag -o $lib $compiler_flags $libobjs $deplibs'
11092
hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
11093
export_dynamic_flag_spec='${wl}-E'
11096
openbsd[01].* | openbsd2.[0-7] | openbsd2.[0-7].*)
11097
archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
11098
hardcode_libdir_flag_spec='-R$libdir'
11101
archive_cmds='$CC -shared $pic_flag -o $lib $compiler_flags $libobjs $deplibs'
11102
hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
11109
hardcode_libdir_flag_spec='-L$libdir'
11110
hardcode_minus_L=yes
11111
allow_undefined_flag=unsupported
11112
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 $compiler_flags $libobjs $deplibs$output_objdir/$libname.def'
11113
old_archive_From_new_cmds='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
11117
if test "$GCC" = yes; then
11118
allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
11119
archive_cmds='$CC -shared${allow_undefined_flag} $compiler_flags $libobjs $deplibs ${wl}-soname ${wl}$soname `test -n "$verstring" && echo ${wl}-set_version ${wl}$verstring` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
11121
allow_undefined_flag=' -expect_unresolved \*'
11122
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'
11124
hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
11125
hardcode_libdir_separator=:
11128
osf4* | osf5*) # as osf3* with the addition of -msym flag
11129
if test "$GCC" = yes; then
11130
allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
11131
archive_cmds='$CC -shared${allow_undefined_flag} $compiler_flags $libobjs $deplibs ${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'
11132
hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
11134
allow_undefined_flag=' -expect_unresolved \*'
11135
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'
11136
archive_expsym_cmds='for i in `cat $export_symbols`; do printf "%s %s\\n" -exported_symbol "\$i" >> $lib.exp; done; echo "-hidden">> $lib.exp~
11137
$LD -shared${allow_undefined_flag} -input $lib.exp $linker_flags $libobjs $deplibs -soname $soname `test -n "$verstring" && echo -set_version $verstring` -update_registry ${objdir}/so_locations -o $lib~$rm $lib.exp'
11139
# Both c and cxx compiler support -rpath directly
11140
hardcode_libdir_flag_spec='-rpath $libdir'
11142
hardcode_libdir_separator=:
11146
archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
11147
hardcode_shlibpath_var=no
11148
export_dynamic_flag_spec='${wl}-Bexport'
11149
runpath_var=LD_RUN_PATH
11150
hardcode_runpath_var=yes
11154
no_undefined_flag=' -z text'
11155
if test "$GCC" = yes; then
11156
archive_cmds='$CC -shared ${wl}-h ${wl}$soname -o $lib $compiler_flags $libobjs $deplibs'
11157
archive_expsym_cmds='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
11158
$CC -shared ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $compiler_flags $libobjs $deplibs~$rm $lib.exp'
11160
archive_cmds='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
11161
archive_expsym_cmds='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
11162
$LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$rm $lib.exp'
11164
hardcode_libdir_flag_spec='-R$libdir'
11165
hardcode_shlibpath_var=no
11167
solaris2.[0-5] | solaris2.[0-5].*) ;;
11168
*) # Supported since Solaris 2.6 (maybe 2.5.1?)
11169
whole_archive_flag_spec='-z allextract$convenience -z defaultextract' ;;
11171
link_all_deplibs=yes
11175
if test "x$host_vendor" = xsequent; then
11176
# Use $CC to link under sequent, because it throws in some extra .o
11177
# files that make .init and .fini sections work.
11178
archive_cmds='$CC -G ${wl}-h $soname -o $lib $compiler_flags $libobjs $deplibs'
11180
archive_cmds='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
11182
hardcode_libdir_flag_spec='-L$libdir'
11183
hardcode_direct=yes
11184
hardcode_minus_L=yes
11185
hardcode_shlibpath_var=no
11189
case $host_vendor in
11191
archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
11192
hardcode_direct=yes # is this really true???
11195
## LD is ld it makes a PLAMLIB
11196
## CC just makes a GrossModule.
11197
archive_cmds='$LD -G -o $lib $libobjs $deplibs $linker_flags'
11198
reload_cmds='$CC -r -o $output$reload_objs'
11202
archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
11203
hardcode_direct=no #Motorola manual says yes, but my tests say they lie
11206
runpath_var='LD_RUN_PATH'
11207
hardcode_shlibpath_var=no
11211
archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
11212
hardcode_shlibpath_var=no
11213
export_dynamic_flag_spec='-Bexport'
11217
if test -d /usr/nec; then
11218
archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
11219
hardcode_shlibpath_var=no
11220
runpath_var=LD_RUN_PATH
11221
hardcode_runpath_var=yes
11227
archive_cmds='$LD -G -o $lib $libobjs $deplibs $linker_flags'
11228
hardcode_direct=yes
11229
hardcode_minus_L=no
11230
hardcode_shlibpath_var=no
11231
hardcode_runpath_var=yes
11232
runpath_var=LD_RUN_PATH
11235
sysv5OpenUNIX8* | sysv5UnixWare7* | sysv5uw[78]* | unixware7*)
11236
no_undefined_flag='${wl}-z ${wl}text'
11237
if test "$GCC" = yes; then
11238
archive_cmds='$CC -shared ${wl}-h ${wl}$soname -o $lib $compiler_flags $libobjs $deplibs'
11240
archive_cmds='$CC -G ${wl}-h ${wl}$soname -o $lib $compiler_flags $libobjs $deplibs'
11242
runpath_var='LD_RUN_PATH'
11243
hardcode_shlibpath_var=no
11247
no_undefined_flag=' -z text'
11248
# $CC -shared without GNU ld will not create a library from C++
11249
# object files and a static libstdc++, better avoid it by now
11250
archive_cmds='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
11251
archive_expsym_cmds='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
11252
$LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$rm $lib.exp'
11253
hardcode_libdir_flag_spec=
11254
hardcode_shlibpath_var=no
11255
runpath_var='LD_RUN_PATH'
11259
archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
11260
hardcode_libdir_flag_spec='-L$libdir'
11261
hardcode_shlibpath_var=no
11270
{ echo "$as_me:$LINENO: result: $ld_shlibs" >&5
11271
echo "${ECHO_T}$ld_shlibs" >&6; }
11272
test "$ld_shlibs" = no && can_build_shared=no
11274
variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
11275
if test "$GCC" = yes; then
11276
variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
11280
# Do we need to explicitly link libc?
11282
case "x$archive_cmds_need_lc" in
11284
# Assume -lc should be added
11285
archive_cmds_need_lc=yes
11287
if test "$enable_shared" = yes && test "$GCC" = yes; then
11288
case $archive_cmds in
11290
# FIXME: we may have to deal with multi-command sequences.
11293
# Test whether the compiler implicitly links with -lc since on some
11294
# systems, -lgcc has to come before -lc. If gcc already passes -lc
11295
# to ld, don't add -lc before -lgcc.
11296
{ echo "$as_me:$LINENO: checking whether -lc should be explicitly linked in" >&5
11297
echo $ECHO_N "checking whether -lc should be explicitly linked in... $ECHO_C" >&6; }
11299
printf "$lt_simple_compile_test_code" > conftest.$ac_ext
11301
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11302
(eval $ac_compile) 2>&5
11304
echo "$as_me:$LINENO: \$? = $ac_status" >&5
11305
(exit $ac_status); } 2>conftest.err; then
11308
libobjs=conftest.$ac_objext
11310
wl=$lt_prog_compiler_wl
11316
lt_save_allow_undefined_flag=$allow_undefined_flag
11317
allow_undefined_flag=
11318
if { (eval echo "$as_me:$LINENO: \"$archive_cmds 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1\"") >&5
11319
(eval $archive_cmds 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1) 2>&5
11321
echo "$as_me:$LINENO: \$? = $ac_status" >&5
11322
(exit $ac_status); }
11324
archive_cmds_need_lc=no
11326
archive_cmds_need_lc=yes
11328
allow_undefined_flag=$lt_save_allow_undefined_flag
11330
cat conftest.err 1>&5
11333
{ echo "$as_me:$LINENO: result: $archive_cmds_need_lc" >&5
11334
echo "${ECHO_T}$archive_cmds_need_lc" >&6; }
11341
{ echo "$as_me:$LINENO: checking dynamic linker characteristics" >&5
11342
echo $ECHO_N "checking dynamic linker characteristics... $ECHO_C" >&6; }
11343
library_names_spec=
11344
libname_spec='lib$name'
11348
postuninstall_cmds=
11352
shlibpath_overrides_runpath=unknown
11354
dynamic_linker="$host_os ld.so"
11355
sys_lib_dlsearch_path_spec="/lib /usr/lib"
11356
sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"
11357
need_lib_prefix=unknown
11358
hardcode_into_libs=no
11360
# when you set need_version to no, make sure it does not cause -set_version
11361
# flags to be left without arguments
11362
need_version=unknown
11367
library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a'
11368
shlibpath_var=LIBPATH
11370
# AIX 3 has no versioning support, so we append a major version to the name.
11371
soname_spec='${libname}${release}${shared_ext}$major'
11378
hardcode_into_libs=yes
11379
if test "$host_cpu" = ia64; then
11380
# AIX 5 supports IA64
11381
library_names_spec='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
11382
shlibpath_var=LD_LIBRARY_PATH
11384
# With GCC up to 2.95.x, collect2 would create an import file
11385
# for dependence libraries. The import file would start with
11386
# the line `#! .'. This would cause the generated library to
11387
# depend on `.', always an invalid library. This was fixed in
11388
# development snapshots of GCC prior to 3.0.
11390
aix4 | aix4.[01] | aix4.[01].*)
11391
if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
11393
echo '#endif'; } | ${CC} -E - | grep yes > /dev/null; then
11396
can_build_shared=no
11400
# AIX (on Power*) has no versioning support, so currently we can not hardcode correct
11401
# soname into executable. Probably we can add versioning support to
11402
# collect2, so additional links can be useful in future.
11403
if test "$aix_use_runtimelinking" = yes; then
11404
# If using run time linking (on AIX 4.2 or later) use lib<name>.so
11405
# instead of lib<name>.a to let people know that these are not
11406
# typical AIX shared libraries.
11407
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11409
# We preserve .a as extension for shared libraries through AIX4.2
11410
# and later when we are not doing run time linking.
11411
library_names_spec='${libname}${release}.a $libname.a'
11412
soname_spec='${libname}${release}${shared_ext}$major'
11414
shlibpath_var=LIBPATH
11419
library_names_spec='$libname.ixlibrary $libname.a'
11420
# Create ${libname}_ixlibrary.a entries in /sys/libs.
11421
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'
11425
library_names_spec='${libname}${shared_ext}'
11426
dynamic_linker="$host_os ld.so"
11427
shlibpath_var=LIBRARY_PATH
11433
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11434
soname_spec='${libname}${release}${shared_ext}$major'
11435
finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
11436
shlibpath_var=LD_LIBRARY_PATH
11437
sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
11438
sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
11439
# the default ld.so.conf also contains /usr/contrib/lib and
11440
# /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
11441
# libtool to hard-code these into programs
11444
cygwin* | mingw* | pw32*)
11445
version_type=windows
11450
case $GCC,$host_os in
11451
yes,cygwin* | yes,mingw* | yes,pw32*)
11452
library_names_spec='$libname.dll.a'
11453
# DLL is installed to $(libdir)/../bin by postinstall_cmds
11454
postinstall_cmds='base_file=`basename \${file}`~
11455
dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i;echo \$dlname'\''`~
11456
dldir=$destdir/`dirname \$dlpath`~
11457
test -d \$dldir || mkdir -p \$dldir~
11458
$install_prog $dir/$dlname \$dldir/$dlname'
11459
postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
11460
dlpath=$dir/\$dldll~
11462
shlibpath_overrides_runpath=yes
11466
# Cygwin DLLs use 'cyg' prefix rather than 'lib'
11467
soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
11468
sys_lib_search_path_spec="/usr/lib /lib/w32api /lib /usr/local/lib"
11471
# MinGW DLLs use traditional 'lib' prefix
11472
soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
11473
sys_lib_search_path_spec=`$CC -print-search-dirs | grep "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
11474
if echo "$sys_lib_search_path_spec" | grep ';[c-zC-Z]:/' >/dev/null; then
11475
# It is most probably a Windows format PATH printed by
11476
# mingw gcc, but we are running on Cygwin. Gcc prints its search
11477
# path with ; separators, and with drive letters. We can handle the
11478
# drive letters (cygwin fileutils understands them), so leave them,
11479
# especially as we might pass files found there to a mingw objdump,
11480
# which wouldn't understand a cygwinified path. Ahh.
11481
sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
11483
sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
11487
# pw32 DLLs use 'pw' prefix rather than 'lib'
11488
library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/./-/g'`${versuffix}${shared_ext}'
11494
library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
11497
dynamic_linker='Win32 ld.exe'
11498
# FIXME: first we should search . and the directory the executable is in
11502
darwin* | rhapsody*)
11503
dynamic_linker="$host_os dyld"
11504
version_type=darwin
11507
library_names_spec='${libname}${release}${versuffix}$shared_ext ${libname}${release}${major}$shared_ext ${libname}$shared_ext'
11508
soname_spec='${libname}${release}${major}$shared_ext'
11509
shlibpath_overrides_runpath=yes
11510
shlibpath_var=DYLD_LIBRARY_PATH
11511
shrext='$(test .$module = .yes && echo .so || echo .dylib)'
11512
# Apple's gcc prints 'gcc -print-search-dirs' doesn't operate the same.
11513
if test "$GCC" = yes; then
11514
sys_lib_search_path_spec=`$CC -print-search-dirs | tr "\n" "$PATH_SEPARATOR" | sed -e 's/libraries:/@libraries:/' | tr "@" "\n" | grep "^libraries:" | sed -e "s/^libraries://" -e "s,=/,/,g" -e "s,$PATH_SEPARATOR, ,g" -e "s,.*,& /lib /usr/lib /usr/local/lib,g"`
11516
sys_lib_search_path_spec='/lib /usr/lib /usr/local/lib'
11518
sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
11525
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
11526
soname_spec='${libname}${release}${shared_ext}$major'
11527
shlibpath_var=LD_LIBRARY_PATH
11538
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
11539
soname_spec='${libname}${release}${shared_ext}$major'
11540
shlibpath_var=LD_LIBRARY_PATH
11541
shlibpath_overrides_runpath=no
11542
hardcode_into_libs=yes
11543
dynamic_linker='GNU ld.so'
11547
objformat=`test -x /usr/bin/objformat && /usr/bin/objformat || echo aout`
11548
version_type=freebsd-$objformat
11549
case $version_type in
11551
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
11556
library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
11560
shlibpath_var=LD_LIBRARY_PATH
11563
shlibpath_overrides_runpath=yes
11565
freebsd3.01* | freebsdelf3.01*)
11566
shlibpath_overrides_runpath=yes
11567
hardcode_into_libs=yes
11570
shlibpath_overrides_runpath=no
11571
hardcode_into_libs=yes
11580
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
11581
soname_spec='${libname}${release}${shared_ext}$major'
11582
shlibpath_var=LD_LIBRARY_PATH
11583
hardcode_into_libs=yes
11586
hpux9* | hpux10* | hpux11*)
11587
# Give a soname corresponding to the major version so that dld.sl refuses to
11588
# link against other versions.
11592
case "$host_cpu" in
11595
hardcode_into_libs=yes
11596
dynamic_linker="$host_os dld.so"
11597
shlibpath_var=LD_LIBRARY_PATH
11598
shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
11599
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11600
soname_spec='${libname}${release}${shared_ext}$major'
11601
if test "X$HPUX_IA64_MODE" = X32; then
11602
sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
11604
sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
11606
sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
11610
hardcode_into_libs=yes
11611
dynamic_linker="$host_os dld.sl"
11612
shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
11613
shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
11614
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11615
soname_spec='${libname}${release}${shared_ext}$major'
11616
sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
11617
sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
11621
dynamic_linker="$host_os dld.sl"
11622
shlibpath_var=SHLIB_PATH
11623
shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
11624
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11625
soname_spec='${libname}${release}${shared_ext}$major'
11628
# HP-UX runs *really* slowly unless shared libraries are mode 555.
11629
postinstall_cmds='chmod 555 $lib'
11632
irix5* | irix6* | nonstopux*)
11634
nonstopux*) version_type=nonstopux ;;
11636
if test "$lt_cv_prog_gnu_ld" = yes; then
11644
soname_spec='${libname}${release}${shared_ext}$major'
11645
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
11647
irix5* | nonstopux*)
11648
libsuff= shlibsuff=
11651
case $LD in # libtool.m4 will add one of these switches to LD
11652
*-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
11653
libsuff= shlibsuff= libmagic=32-bit;;
11654
*-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
11655
libsuff=32 shlibsuff=N32 libmagic=N32;;
11656
*-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
11657
libsuff=64 shlibsuff=64 libmagic=64-bit;;
11658
*) libsuff= shlibsuff= libmagic=never-match;;
11662
shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
11663
shlibpath_overrides_runpath=no
11664
sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
11665
sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}"
11666
hardcode_into_libs=yes
11669
# No shared lib support for Linux oldld, aout, or coff.
11670
linux*oldld* | linux*aout* | linux*coff*)
11674
# This must be Linux ELF.
11679
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11680
soname_spec='${libname}${release}${shared_ext}$major'
11681
finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
11683
if test "x$LINUX_64_MODE" = x64; then
11684
# Some platforms are per default 64-bit, so there's no /lib64
11685
if test -d /lib64; then
11689
shlibpath_var=LD_LIBRARY_PATH
11690
shlibpath_overrides_runpath=no
11691
sys_lib_dlsearch_path_spec="/lib${libsuff} /usr/lib${libsuff}"
11692
sys_lib_search_path_spec="/lib${libsuff} /usr/lib${libsuff} /usr/local/lib${libsuff}"
11693
# This implies no fast_install, which is unacceptable.
11694
# Some rework will be needed to allow for fast_install
11695
# before this can be enabled.
11696
hardcode_into_libs=yes
11698
# We used to test for /lib/ld.so.1 and disable shared libraries on
11699
# powerpc, because MkLinux only supported shared libraries with the
11700
# GNU dynamic linker. Since this was broken with cross compilers,
11701
# most powerpc-linux boxes support dynamic linking these days and
11702
# people can always --disable-shared, the test was removed, and we
11703
# assume the GNU/Linux dynamic linker is in use.
11704
dynamic_linker='GNU/Linux ld.so'
11711
if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
11712
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
11713
finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
11714
dynamic_linker='NetBSD (a.out) ld.so'
11716
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} ${libname}${shared_ext}'
11717
soname_spec='${libname}${release}${shared_ext}$major'
11718
dynamic_linker='NetBSD ld.elf_so'
11720
shlibpath_var=LD_LIBRARY_PATH
11721
shlibpath_overrides_runpath=yes
11722
hardcode_into_libs=yes
11727
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11728
shlibpath_var=LD_LIBRARY_PATH
11729
shlibpath_overrides_runpath=yes
11736
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11737
soname_spec='${libname}${release}${shared_ext}$major'
11738
shlibpath_var=LD_LIBRARY_PATH
11739
shlibpath_overrides_runpath=yes
11746
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
11747
finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
11748
shlibpath_var=LD_LIBRARY_PATH
11749
if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
11751
openbsd2.[89] | openbsd2.[89].*)
11752
shlibpath_overrides_runpath=no
11755
shlibpath_overrides_runpath=yes
11759
shlibpath_overrides_runpath=yes
11764
libname_spec='$name'
11767
library_names_spec='$libname${shared_ext} $libname.a'
11768
dynamic_linker='OS/2 ld.exe'
11769
shlibpath_var=LIBPATH
11772
osf3* | osf4* | osf5*)
11776
soname_spec='${libname}${release}${shared_ext}$major'
11777
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11778
shlibpath_var=LD_LIBRARY_PATH
11779
sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
11780
sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec"
11785
soname_spec='${libname}${release}${shared_ext}$major'
11786
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11787
shlibpath_var=LD_LIBRARY_PATH
11794
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11795
soname_spec='${libname}${release}${shared_ext}$major'
11796
shlibpath_var=LD_LIBRARY_PATH
11797
shlibpath_overrides_runpath=yes
11798
hardcode_into_libs=yes
11799
# ldd complains unless libraries are executable
11800
postinstall_cmds='chmod +x $lib'
11805
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
11806
finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
11807
shlibpath_var=LD_LIBRARY_PATH
11808
shlibpath_overrides_runpath=yes
11809
if test "$with_gnu_ld" = yes; then
11815
sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
11817
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11818
soname_spec='${libname}${release}${shared_ext}$major'
11819
shlibpath_var=LD_LIBRARY_PATH
11820
case $host_vendor in
11822
shlibpath_overrides_runpath=no
11824
export_dynamic_flag_spec='${wl}-Blargedynsym'
11825
runpath_var=LD_RUN_PATH
11833
shlibpath_overrides_runpath=no
11834
sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
11840
if test -d /usr/nec ;then
11842
library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
11843
soname_spec='$libname${shared_ext}.$major'
11844
shlibpath_var=LD_LIBRARY_PATH
11850
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11851
soname_spec='${libname}${release}${shared_ext}$major'
11852
shlibpath_var=LD_LIBRARY_PATH
11859
{ echo "$as_me:$LINENO: result: $dynamic_linker" >&5
11860
echo "${ECHO_T}$dynamic_linker" >&6; }
11861
test "$dynamic_linker" = no && can_build_shared=no
11863
{ echo "$as_me:$LINENO: checking how to hardcode library paths into programs" >&5
11864
echo $ECHO_N "checking how to hardcode library paths into programs... $ECHO_C" >&6; }
11866
if test -n "$hardcode_libdir_flag_spec" || \
11867
test -n "$runpath_var " || \
11868
test "X$hardcode_automatic"="Xyes" ; then
11870
# We can hardcode non-existant directories.
11871
if test "$hardcode_direct" != no &&
11872
# If the only mechanism to avoid hardcoding is shlibpath_var, we
11873
# have to relink, otherwise we might link with an installed library
11874
# when we should be linking with a yet-to-be-installed one
11875
## test "$_LT_AC_TAGVAR(hardcode_shlibpath_var, )" != no &&
11876
test "$hardcode_minus_L" != no; then
11877
# Linking always hardcodes the temporary library directory.
11878
hardcode_action=relink
11880
# We can link without hardcoding, and we can hardcode nonexisting dirs.
11881
hardcode_action=immediate
11884
# We cannot hardcode anything, or else we can only hardcode existing
11886
hardcode_action=unsupported
11888
{ echo "$as_me:$LINENO: result: $hardcode_action" >&5
11889
echo "${ECHO_T}$hardcode_action" >&6; }
11891
if test "$hardcode_action" = relink; then
11892
# Fast installation is not supported
11893
enable_fast_install=no
11894
elif test "$shlibpath_overrides_runpath" = yes ||
11895
test "$enable_shared" = no; then
11896
# Fast installation is not necessary
11897
enable_fast_install=needless
11902
{ echo "$as_me:$LINENO: checking whether stripping libraries is possible" >&5
11903
echo $ECHO_N "checking whether stripping libraries is possible... $ECHO_C" >&6; }
11904
if test -n "$STRIP" && $STRIP -V 2>&1 | grep "GNU strip" >/dev/null; then
11905
test -z "$old_striplib" && old_striplib="$STRIP --strip-debug"
11906
test -z "$striplib" && striplib="$STRIP --strip-unneeded"
11907
{ echo "$as_me:$LINENO: result: yes" >&5
11908
echo "${ECHO_T}yes" >&6; }
11910
# FIXME - insert some real tests, host_os isn't really good enough
11913
if test -n "$STRIP" ; then
11914
striplib="$STRIP -x"
11915
{ echo "$as_me:$LINENO: result: yes" >&5
11916
echo "${ECHO_T}yes" >&6; }
11918
{ echo "$as_me:$LINENO: result: no" >&5
11919
echo "${ECHO_T}no" >&6; }
11923
{ echo "$as_me:$LINENO: result: no" >&5
11924
echo "${ECHO_T}no" >&6; }
11929
if test "x$enable_dlopen" != xyes; then
11930
enable_dlopen=unknown
11931
enable_dlopen_self=unknown
11932
enable_dlopen_self_static=unknown
11939
lt_cv_dlopen="load_add_on"
11941
lt_cv_dlopen_self=yes
11945
lt_cv_dlopen="LoadLibrary"
11950
lt_cv_dlopen="dlopen"
11955
# if libdl is installed we need to link against it
11956
{ echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
11957
echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6; }
11958
if test "${ac_cv_lib_dl_dlopen+set}" = set; then
11959
echo $ECHO_N "(cached) $ECHO_C" >&6
11961
ac_check_lib_save_LIBS=$LIBS
11963
cat >conftest.$ac_ext <<_ACEOF
11966
cat confdefs.h >>conftest.$ac_ext
11967
cat >>conftest.$ac_ext <<_ACEOF
11968
/* end confdefs.h. */
11970
/* Override any GCC internal prototype to avoid an error.
11971
Use char because int might match the return type of a GCC
11972
builtin and then its argument prototype would still apply. */
11985
rm -f conftest.$ac_objext conftest$ac_exeext
11986
if { (ac_try="$ac_link"
11987
case "(($ac_try" in
11988
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11989
*) ac_try_echo=$ac_try;;
11991
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11992
(eval "$ac_link") 2>conftest.er1
11994
grep -v '^ *+' conftest.er1 >conftest.err
11996
cat conftest.err >&5
11997
echo "$as_me:$LINENO: \$? = $ac_status" >&5
11998
(exit $ac_status); } && {
11999
test -z "$ac_c_werror_flag" ||
12000
test ! -s conftest.err
12001
} && test -s conftest$ac_exeext &&
12002
$as_test_x conftest$ac_exeext; then
12003
ac_cv_lib_dl_dlopen=yes
12005
echo "$as_me: failed program was:" >&5
12006
sed 's/^/| /' conftest.$ac_ext >&5
12008
ac_cv_lib_dl_dlopen=no
12011
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
12012
conftest$ac_exeext conftest.$ac_ext
12013
LIBS=$ac_check_lib_save_LIBS
12015
{ echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
12016
echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6; }
12017
if test $ac_cv_lib_dl_dlopen = yes; then
12018
lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
12021
lt_cv_dlopen="dyld"
12023
lt_cv_dlopen_self=yes
12030
{ echo "$as_me:$LINENO: checking for shl_load" >&5
12031
echo $ECHO_N "checking for shl_load... $ECHO_C" >&6; }
12032
if test "${ac_cv_func_shl_load+set}" = set; then
12033
echo $ECHO_N "(cached) $ECHO_C" >&6
12035
cat >conftest.$ac_ext <<_ACEOF
12038
cat confdefs.h >>conftest.$ac_ext
12039
cat >>conftest.$ac_ext <<_ACEOF
12040
/* end confdefs.h. */
12041
/* Define shl_load to an innocuous variant, in case <limits.h> declares shl_load.
12042
For example, HP-UX 11i <limits.h> declares gettimeofday. */
12043
#define shl_load innocuous_shl_load
12045
/* System header to define __stub macros and hopefully few prototypes,
12046
which can conflict with char shl_load (); below.
12047
Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
12048
<limits.h> exists even on freestanding compilers. */
12051
# include <limits.h>
12053
# include <assert.h>
12058
/* Override any GCC internal prototype to avoid an error.
12059
Use char because int might match the return type of a GCC
12060
builtin and then its argument prototype would still apply. */
12065
/* The GNU C library defines this for functions which it implements
12066
to always fail with ENOSYS. Some functions are actually named
12067
something starting with __ and the normal name is an alias. */
12068
#if defined __stub_shl_load || defined __stub___shl_load
12075
return shl_load ();
12080
rm -f conftest.$ac_objext conftest$ac_exeext
12081
if { (ac_try="$ac_link"
12082
case "(($ac_try" in
12083
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12084
*) ac_try_echo=$ac_try;;
12086
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12087
(eval "$ac_link") 2>conftest.er1
12089
grep -v '^ *+' conftest.er1 >conftest.err
12091
cat conftest.err >&5
12092
echo "$as_me:$LINENO: \$? = $ac_status" >&5
12093
(exit $ac_status); } && {
12094
test -z "$ac_c_werror_flag" ||
12095
test ! -s conftest.err
12096
} && test -s conftest$ac_exeext &&
12097
$as_test_x conftest$ac_exeext; then
12098
ac_cv_func_shl_load=yes
12100
echo "$as_me: failed program was:" >&5
12101
sed 's/^/| /' conftest.$ac_ext >&5
12103
ac_cv_func_shl_load=no
12106
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
12107
conftest$ac_exeext conftest.$ac_ext
12109
{ echo "$as_me:$LINENO: result: $ac_cv_func_shl_load" >&5
12110
echo "${ECHO_T}$ac_cv_func_shl_load" >&6; }
12111
if test $ac_cv_func_shl_load = yes; then
12112
lt_cv_dlopen="shl_load"
12114
{ echo "$as_me:$LINENO: checking for shl_load in -ldld" >&5
12115
echo $ECHO_N "checking for shl_load in -ldld... $ECHO_C" >&6; }
12116
if test "${ac_cv_lib_dld_shl_load+set}" = set; then
12117
echo $ECHO_N "(cached) $ECHO_C" >&6
12119
ac_check_lib_save_LIBS=$LIBS
12121
cat >conftest.$ac_ext <<_ACEOF
12124
cat confdefs.h >>conftest.$ac_ext
12125
cat >>conftest.$ac_ext <<_ACEOF
12126
/* end confdefs.h. */
12128
/* Override any GCC internal prototype to avoid an error.
12129
Use char because int might match the return type of a GCC
12130
builtin and then its argument prototype would still apply. */
12138
return shl_load ();
12143
rm -f conftest.$ac_objext conftest$ac_exeext
12144
if { (ac_try="$ac_link"
12145
case "(($ac_try" in
12146
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12147
*) ac_try_echo=$ac_try;;
12149
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12150
(eval "$ac_link") 2>conftest.er1
12152
grep -v '^ *+' conftest.er1 >conftest.err
12154
cat conftest.err >&5
12155
echo "$as_me:$LINENO: \$? = $ac_status" >&5
12156
(exit $ac_status); } && {
12157
test -z "$ac_c_werror_flag" ||
12158
test ! -s conftest.err
12159
} && test -s conftest$ac_exeext &&
12160
$as_test_x conftest$ac_exeext; then
12161
ac_cv_lib_dld_shl_load=yes
12163
echo "$as_me: failed program was:" >&5
12164
sed 's/^/| /' conftest.$ac_ext >&5
12166
ac_cv_lib_dld_shl_load=no
12169
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
12170
conftest$ac_exeext conftest.$ac_ext
12171
LIBS=$ac_check_lib_save_LIBS
12173
{ echo "$as_me:$LINENO: result: $ac_cv_lib_dld_shl_load" >&5
12174
echo "${ECHO_T}$ac_cv_lib_dld_shl_load" >&6; }
12175
if test $ac_cv_lib_dld_shl_load = yes; then
12176
lt_cv_dlopen="shl_load" lt_cv_dlopen_libs="-dld"
12178
{ echo "$as_me:$LINENO: checking for dlopen" >&5
12179
echo $ECHO_N "checking for dlopen... $ECHO_C" >&6; }
12180
if test "${ac_cv_func_dlopen+set}" = set; then
12181
echo $ECHO_N "(cached) $ECHO_C" >&6
12183
cat >conftest.$ac_ext <<_ACEOF
12186
cat confdefs.h >>conftest.$ac_ext
12187
cat >>conftest.$ac_ext <<_ACEOF
12188
/* end confdefs.h. */
12189
/* Define dlopen to an innocuous variant, in case <limits.h> declares dlopen.
12190
For example, HP-UX 11i <limits.h> declares gettimeofday. */
12191
#define dlopen innocuous_dlopen
12193
/* System header to define __stub macros and hopefully few prototypes,
12194
which can conflict with char dlopen (); below.
12195
Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
12196
<limits.h> exists even on freestanding compilers. */
12199
# include <limits.h>
12201
# include <assert.h>
12206
/* Override any GCC internal prototype to avoid an error.
12207
Use char because int might match the return type of a GCC
12208
builtin and then its argument prototype would still apply. */
12213
/* The GNU C library defines this for functions which it implements
12214
to always fail with ENOSYS. Some functions are actually named
12215
something starting with __ and the normal name is an alias. */
12216
#if defined __stub_dlopen || defined __stub___dlopen
12228
rm -f conftest.$ac_objext conftest$ac_exeext
12229
if { (ac_try="$ac_link"
12230
case "(($ac_try" in
12231
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12232
*) ac_try_echo=$ac_try;;
12234
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12235
(eval "$ac_link") 2>conftest.er1
12237
grep -v '^ *+' conftest.er1 >conftest.err
12239
cat conftest.err >&5
12240
echo "$as_me:$LINENO: \$? = $ac_status" >&5
12241
(exit $ac_status); } && {
12242
test -z "$ac_c_werror_flag" ||
12243
test ! -s conftest.err
12244
} && test -s conftest$ac_exeext &&
12245
$as_test_x conftest$ac_exeext; then
12246
ac_cv_func_dlopen=yes
12248
echo "$as_me: failed program was:" >&5
12249
sed 's/^/| /' conftest.$ac_ext >&5
12251
ac_cv_func_dlopen=no
12254
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
12255
conftest$ac_exeext conftest.$ac_ext
12257
{ echo "$as_me:$LINENO: result: $ac_cv_func_dlopen" >&5
12258
echo "${ECHO_T}$ac_cv_func_dlopen" >&6; }
12259
if test $ac_cv_func_dlopen = yes; then
12260
lt_cv_dlopen="dlopen"
12262
{ echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
12263
echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6; }
12264
if test "${ac_cv_lib_dl_dlopen+set}" = set; then
12265
echo $ECHO_N "(cached) $ECHO_C" >&6
12267
ac_check_lib_save_LIBS=$LIBS
12269
cat >conftest.$ac_ext <<_ACEOF
12272
cat confdefs.h >>conftest.$ac_ext
12273
cat >>conftest.$ac_ext <<_ACEOF
12274
/* end confdefs.h. */
12276
/* Override any GCC internal prototype to avoid an error.
12277
Use char because int might match the return type of a GCC
12278
builtin and then its argument prototype would still apply. */
12291
rm -f conftest.$ac_objext conftest$ac_exeext
12292
if { (ac_try="$ac_link"
12293
case "(($ac_try" in
12294
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12295
*) ac_try_echo=$ac_try;;
12297
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12298
(eval "$ac_link") 2>conftest.er1
12300
grep -v '^ *+' conftest.er1 >conftest.err
12302
cat conftest.err >&5
12303
echo "$as_me:$LINENO: \$? = $ac_status" >&5
12304
(exit $ac_status); } && {
12305
test -z "$ac_c_werror_flag" ||
12306
test ! -s conftest.err
12307
} && test -s conftest$ac_exeext &&
12308
$as_test_x conftest$ac_exeext; then
12309
ac_cv_lib_dl_dlopen=yes
12311
echo "$as_me: failed program was:" >&5
12312
sed 's/^/| /' conftest.$ac_ext >&5
12314
ac_cv_lib_dl_dlopen=no
12317
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
12318
conftest$ac_exeext conftest.$ac_ext
12319
LIBS=$ac_check_lib_save_LIBS
12321
{ echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
12322
echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6; }
12323
if test $ac_cv_lib_dl_dlopen = yes; then
12324
lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
12326
{ echo "$as_me:$LINENO: checking for dlopen in -lsvld" >&5
12327
echo $ECHO_N "checking for dlopen in -lsvld... $ECHO_C" >&6; }
12328
if test "${ac_cv_lib_svld_dlopen+set}" = set; then
12329
echo $ECHO_N "(cached) $ECHO_C" >&6
12331
ac_check_lib_save_LIBS=$LIBS
12332
LIBS="-lsvld $LIBS"
12333
cat >conftest.$ac_ext <<_ACEOF
12336
cat confdefs.h >>conftest.$ac_ext
12337
cat >>conftest.$ac_ext <<_ACEOF
12338
/* end confdefs.h. */
12340
/* Override any GCC internal prototype to avoid an error.
12341
Use char because int might match the return type of a GCC
12342
builtin and then its argument prototype would still apply. */
12355
rm -f conftest.$ac_objext conftest$ac_exeext
12356
if { (ac_try="$ac_link"
12357
case "(($ac_try" in
12358
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12359
*) ac_try_echo=$ac_try;;
12361
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12362
(eval "$ac_link") 2>conftest.er1
12364
grep -v '^ *+' conftest.er1 >conftest.err
12366
cat conftest.err >&5
12367
echo "$as_me:$LINENO: \$? = $ac_status" >&5
12368
(exit $ac_status); } && {
12369
test -z "$ac_c_werror_flag" ||
12370
test ! -s conftest.err
12371
} && test -s conftest$ac_exeext &&
12372
$as_test_x conftest$ac_exeext; then
12373
ac_cv_lib_svld_dlopen=yes
12375
echo "$as_me: failed program was:" >&5
12376
sed 's/^/| /' conftest.$ac_ext >&5
12378
ac_cv_lib_svld_dlopen=no
12381
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
12382
conftest$ac_exeext conftest.$ac_ext
12383
LIBS=$ac_check_lib_save_LIBS
12385
{ echo "$as_me:$LINENO: result: $ac_cv_lib_svld_dlopen" >&5
12386
echo "${ECHO_T}$ac_cv_lib_svld_dlopen" >&6; }
12387
if test $ac_cv_lib_svld_dlopen = yes; then
12388
lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-lsvld"
12390
{ echo "$as_me:$LINENO: checking for dld_link in -ldld" >&5
12391
echo $ECHO_N "checking for dld_link in -ldld... $ECHO_C" >&6; }
12392
if test "${ac_cv_lib_dld_dld_link+set}" = set; then
12393
echo $ECHO_N "(cached) $ECHO_C" >&6
12395
ac_check_lib_save_LIBS=$LIBS
12397
cat >conftest.$ac_ext <<_ACEOF
12400
cat confdefs.h >>conftest.$ac_ext
12401
cat >>conftest.$ac_ext <<_ACEOF
12402
/* end confdefs.h. */
12404
/* Override any GCC internal prototype to avoid an error.
12405
Use char because int might match the return type of a GCC
12406
builtin and then its argument prototype would still apply. */
12414
return dld_link ();
12419
rm -f conftest.$ac_objext conftest$ac_exeext
12420
if { (ac_try="$ac_link"
12421
case "(($ac_try" in
12422
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12423
*) ac_try_echo=$ac_try;;
12425
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12426
(eval "$ac_link") 2>conftest.er1
12428
grep -v '^ *+' conftest.er1 >conftest.err
12430
cat conftest.err >&5
12431
echo "$as_me:$LINENO: \$? = $ac_status" >&5
12432
(exit $ac_status); } && {
12433
test -z "$ac_c_werror_flag" ||
12434
test ! -s conftest.err
12435
} && test -s conftest$ac_exeext &&
12436
$as_test_x conftest$ac_exeext; then
12437
ac_cv_lib_dld_dld_link=yes
12439
echo "$as_me: failed program was:" >&5
12440
sed 's/^/| /' conftest.$ac_ext >&5
12442
ac_cv_lib_dld_dld_link=no
12445
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
12446
conftest$ac_exeext conftest.$ac_ext
12447
LIBS=$ac_check_lib_save_LIBS
12449
{ echo "$as_me:$LINENO: result: $ac_cv_lib_dld_dld_link" >&5
12450
echo "${ECHO_T}$ac_cv_lib_dld_dld_link" >&6; }
12451
if test $ac_cv_lib_dld_dld_link = yes; then
12452
lt_cv_dlopen="dld_link" lt_cv_dlopen_libs="-dld"
12473
if test "x$lt_cv_dlopen" != xno; then
12479
case $lt_cv_dlopen in
12481
save_CPPFLAGS="$CPPFLAGS"
12482
test "x$ac_cv_header_dlfcn_h" = xyes && CPPFLAGS="$CPPFLAGS -DHAVE_DLFCN_H"
12484
save_LDFLAGS="$LDFLAGS"
12485
eval LDFLAGS=\"\$LDFLAGS $export_dynamic_flag_spec\"
12488
LIBS="$lt_cv_dlopen_libs $LIBS"
12490
{ echo "$as_me:$LINENO: checking whether a program can dlopen itself" >&5
12491
echo $ECHO_N "checking whether a program can dlopen itself... $ECHO_C" >&6; }
12492
if test "${lt_cv_dlopen_self+set}" = set; then
12493
echo $ECHO_N "(cached) $ECHO_C" >&6
12495
if test "$cross_compiling" = yes; then :
12496
lt_cv_dlopen_self=cross
12498
lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
12499
lt_status=$lt_dlunknown
12500
cat > conftest.$ac_ext <<EOF
12501
#line 12501 "configure"
12502
#include "confdefs.h"
12511
# define LT_DLGLOBAL RTLD_GLOBAL
12514
# define LT_DLGLOBAL DL_GLOBAL
12516
# define LT_DLGLOBAL 0
12520
/* We may have to define LT_DLLAZY_OR_NOW in the command line if we
12521
find out it does not work in some platform. */
12522
#ifndef LT_DLLAZY_OR_NOW
12524
# define LT_DLLAZY_OR_NOW RTLD_LAZY
12527
# define LT_DLLAZY_OR_NOW DL_LAZY
12530
# define LT_DLLAZY_OR_NOW RTLD_NOW
12533
# define LT_DLLAZY_OR_NOW DL_NOW
12535
# define LT_DLLAZY_OR_NOW 0
12543
extern "C" void exit (int);
12546
void fnord() { int i=42;}
12549
void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
12550
int status = $lt_dlunknown;
12554
if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
12555
else if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
12556
/* dlclose (self); */
12562
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12563
(eval $ac_link) 2>&5
12565
echo "$as_me:$LINENO: \$? = $ac_status" >&5
12566
(exit $ac_status); } && test -s conftest${ac_exeext} 2>/dev/null; then
12567
(./conftest; exit; ) 2>/dev/null
12569
case x$lt_status in
12570
x$lt_dlno_uscore) lt_cv_dlopen_self=yes ;;
12571
x$lt_dlneed_uscore) lt_cv_dlopen_self=yes ;;
12572
x$lt_unknown|x*) lt_cv_dlopen_self=no ;;
12575
# compilation failed
12576
lt_cv_dlopen_self=no
12583
{ echo "$as_me:$LINENO: result: $lt_cv_dlopen_self" >&5
12584
echo "${ECHO_T}$lt_cv_dlopen_self" >&6; }
12586
if test "x$lt_cv_dlopen_self" = xyes; then
12587
LDFLAGS="$LDFLAGS $link_static_flag"
12588
{ echo "$as_me:$LINENO: checking whether a statically linked program can dlopen itself" >&5
12589
echo $ECHO_N "checking whether a statically linked program can dlopen itself... $ECHO_C" >&6; }
12590
if test "${lt_cv_dlopen_self_static+set}" = set; then
12591
echo $ECHO_N "(cached) $ECHO_C" >&6
12593
if test "$cross_compiling" = yes; then :
12594
lt_cv_dlopen_self_static=cross
12596
lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
12597
lt_status=$lt_dlunknown
12598
cat > conftest.$ac_ext <<EOF
12599
#line 12599 "configure"
12600
#include "confdefs.h"
12609
# define LT_DLGLOBAL RTLD_GLOBAL
12612
# define LT_DLGLOBAL DL_GLOBAL
12614
# define LT_DLGLOBAL 0
12618
/* We may have to define LT_DLLAZY_OR_NOW in the command line if we
12619
find out it does not work in some platform. */
12620
#ifndef LT_DLLAZY_OR_NOW
12622
# define LT_DLLAZY_OR_NOW RTLD_LAZY
12625
# define LT_DLLAZY_OR_NOW DL_LAZY
12628
# define LT_DLLAZY_OR_NOW RTLD_NOW
12631
# define LT_DLLAZY_OR_NOW DL_NOW
12633
# define LT_DLLAZY_OR_NOW 0
12641
extern "C" void exit (int);
12644
void fnord() { int i=42;}
12647
void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
12648
int status = $lt_dlunknown;
12652
if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
12653
else if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
12654
/* dlclose (self); */
12660
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12661
(eval $ac_link) 2>&5
12663
echo "$as_me:$LINENO: \$? = $ac_status" >&5
12664
(exit $ac_status); } && test -s conftest${ac_exeext} 2>/dev/null; then
12665
(./conftest; exit; ) 2>/dev/null
12667
case x$lt_status in
12668
x$lt_dlno_uscore) lt_cv_dlopen_self_static=yes ;;
12669
x$lt_dlneed_uscore) lt_cv_dlopen_self_static=yes ;;
12670
x$lt_unknown|x*) lt_cv_dlopen_self_static=no ;;
12673
# compilation failed
12674
lt_cv_dlopen_self_static=no
12681
{ echo "$as_me:$LINENO: result: $lt_cv_dlopen_self_static" >&5
12682
echo "${ECHO_T}$lt_cv_dlopen_self_static" >&6; }
12685
CPPFLAGS="$save_CPPFLAGS"
12686
LDFLAGS="$save_LDFLAGS"
12691
case $lt_cv_dlopen_self in
12692
yes|no) enable_dlopen_self=$lt_cv_dlopen_self ;;
12693
*) enable_dlopen_self=unknown ;;
12696
case $lt_cv_dlopen_self_static in
12697
yes|no) enable_dlopen_self_static=$lt_cv_dlopen_self_static ;;
12698
*) enable_dlopen_self_static=unknown ;;
12703
# Report which librarie types wil actually be built
12704
{ echo "$as_me:$LINENO: checking if libtool supports shared libraries" >&5
12705
echo $ECHO_N "checking if libtool supports shared libraries... $ECHO_C" >&6; }
12706
{ echo "$as_me:$LINENO: result: $can_build_shared" >&5
12707
echo "${ECHO_T}$can_build_shared" >&6; }
12709
{ echo "$as_me:$LINENO: checking whether to build shared libraries" >&5
12710
echo $ECHO_N "checking whether to build shared libraries... $ECHO_C" >&6; }
12711
test "$can_build_shared" = "no" && enable_shared=no
12713
# On AIX, shared libraries and static libraries use the same namespace, and
12714
# are all built from PIC.
12717
test "$enable_shared" = yes && enable_static=no
12718
if test -n "$RANLIB"; then
12719
archive_cmds="$archive_cmds~\$RANLIB \$lib"
12720
postinstall_cmds='$RANLIB $lib'
12725
if test "$host_cpu" != ia64 && test "$aix_use_runtimelinking" = no ; then
12726
test "$enable_shared" = yes && enable_static=no
12729
darwin* | rhapsody*)
12730
if test "$GCC" = yes; then
12731
archive_cmds_need_lc=no
12733
rhapsody* | darwin1.[012])
12734
allow_undefined_flag='-Wl,-undefined -Wl,suppress'
12737
if test -z ${MACOSX_DEPLOYMENT_TARGET} ; then
12738
allow_undefined_flag='-Wl,-flat_namespace -Wl,-undefined -Wl,suppress'
12740
case ${MACOSX_DEPLOYMENT_TARGET} in
12742
allow_undefined_flag='-Wl,-flat_namespace -Wl,-undefined -Wl,suppress'
12745
allow_undefined_flag='-Wl,-undefined -Wl,dynamic_lookup'
12751
output_verbose_link_cmd='echo'
12752
archive_cmds='$CC -dynamiclib $allow_undefined_flag -o $lib $compiler_flags $libobjs $deplibs -install_name $rpath/$soname $verstring'
12753
module_cmds='$CC $allow_undefined_flag -o $lib -bundle $compiler_flags $libobjs $deplibs'
12754
# Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin ld's
12755
archive_expsym_cmds='sed -e "s,#.*,," -e "s,^[ ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC -dynamiclib $allow_undefined_flag -o $lib $compiler_flags $libobjs $deplibs -install_name $rpath/$soname $verstring~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
12756
module_expsym_cmds='sed -e "s,#.*,," -e "s,^[ ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC $allow_undefined_flag -o $lib -bundle $compiler_flags $libobjs $deplibs~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
12758
hardcode_automatic=yes
12759
hardcode_shlibpath_var=unsupported
12760
whole_archive_flag_spec='-all_load $convenience'
12761
link_all_deplibs=yes
12767
{ echo "$as_me:$LINENO: result: $enable_shared" >&5
12768
echo "${ECHO_T}$enable_shared" >&6; }
12770
{ echo "$as_me:$LINENO: checking whether to build static libraries" >&5
12771
echo $ECHO_N "checking whether to build static libraries... $ECHO_C" >&6; }
12772
# Make sure either enable_shared or enable_static is yes.
12773
test "$enable_shared" = yes || enable_static=yes
12774
{ echo "$as_me:$LINENO: result: $enable_static" >&5
12775
echo "${ECHO_T}$enable_static" >&6; }
12777
# The else clause should only fire when bootstrapping the
12778
# libtool distribution, otherwise you forgot to ship ltmain.sh
12779
# with your package, and you will get complaints that there are
12780
# no rules to generate ltmain.sh.
12781
if test -f "$ltmain"; then
12782
# See if we are running on zsh, and set the options which allow our commands through
12783
# without removal of \ escapes.
12784
if test -n "${ZSH_VERSION+set}" ; then
12785
setopt NO_GLOB_SUBST
12787
# Now quote all the things that may contain metacharacters while being
12788
# careful not to overquote the AC_SUBSTed values. We take copies of the
12789
# variables and quote the copies for generation of the libtool script.
12790
for var in echo old_CC old_CFLAGS AR AR_FLAGS EGREP RANLIB LN_S LTCC NM SED SHELL \
12791
libname_spec library_names_spec soname_spec extract_expsyms_cmds \
12792
old_striplib striplib file_magic_cmd finish_cmds finish_eval \
12793
deplibs_check_method reload_flag reload_cmds need_locks \
12794
lt_cv_sys_global_symbol_pipe lt_cv_sys_global_symbol_to_cdecl \
12795
lt_cv_sys_global_symbol_to_c_name_address \
12796
sys_lib_search_path_spec sys_lib_dlsearch_path_spec \
12797
old_postinstall_cmds old_postuninstall_cmds \
12801
lt_prog_compiler_wl \
12802
lt_prog_compiler_pic \
12803
lt_prog_compiler_static \
12804
lt_prog_compiler_no_builtin_flag \
12805
export_dynamic_flag_spec \
12806
thread_safe_flag_spec \
12807
whole_archive_flag_spec \
12808
enable_shared_with_static_runtimes \
12810
old_archive_from_new_cmds \
12815
compiler_lib_search_path \
12817
archive_expsym_cmds \
12819
postuninstall_cmds \
12820
old_archive_from_expsyms_cmds \
12821
allow_undefined_flag \
12822
no_undefined_flag \
12823
export_symbols_cmds \
12824
hardcode_libdir_flag_spec \
12825
hardcode_libdir_flag_spec_ld \
12826
hardcode_libdir_separator \
12827
hardcode_automatic \
12829
module_expsym_cmds \
12830
lt_cv_prog_compiler_c_o \
12832
include_expsyms; do
12835
old_archive_cmds | \
12836
old_archive_from_new_cmds | \
12838
archive_expsym_cmds | \
12840
module_expsym_cmds | \
12841
old_archive_from_expsyms_cmds | \
12842
export_symbols_cmds | \
12843
extract_expsyms_cmds | reload_cmds | finish_cmds | \
12844
postinstall_cmds | postuninstall_cmds | \
12845
old_postinstall_cmds | old_postuninstall_cmds | \
12846
sys_lib_search_path_spec | sys_lib_dlsearch_path_spec)
12847
# Double-quote double-evaled strings.
12848
eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$double_quote_subst\" -e \"\$sed_quote_subst\" -e \"\$delay_variable_subst\"\`\\\""
12851
eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$sed_quote_subst\"\`\\\""
12857
*'\$0 --fallback-echo"')
12858
lt_echo=`$echo "X$lt_echo" | $Xsed -e 's/\\\\\\\$0 --fallback-echo"$/$0 --fallback-echo"/'`
12862
cfgfile="${ofile}T"
12863
trap "$rm \"$cfgfile\"; exit 1" 1 2 15
12865
{ echo "$as_me:$LINENO: creating $ofile" >&5
12866
echo "$as_me: creating $ofile" >&6;}
12868
cat <<__EOF__ >> "$cfgfile"
12871
# `$echo "$cfgfile" | sed 's%^.*/%%'` - Provide generalized library-building support services.
12872
# Generated automatically by $PROGRAM (GNU $PACKAGE $VERSION$TIMESTAMP)
12873
# NOTE: Changes made to this file will be lost: look at ltmain.sh.
12875
# Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001
12876
# Free Software Foundation, Inc.
12878
# This file is part of GNU Libtool:
12879
# Originally by Gordon Matzigkeit <gord@gnu.ai.mit.edu>, 1996
12881
# This program is free software; you can redistribute it and/or modify
12882
# it under the terms of the GNU General Public License as published by
12883
# the Free Software Foundation; either version 2 of the License, or
12884
# (at your option) any later version.
12886
# This program is distributed in the hope that it will be useful, but
12887
# WITHOUT ANY WARRANTY; without even the implied warranty of
12888
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
12889
# General Public License for more details.
12891
# You should have received a copy of the GNU General Public License
12892
# along with this program; if not, write to the Free Software
12893
# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
12895
# As a special exception to the GNU General Public License, if you
12896
# distribute this file as part of a program that contains a
12897
# configuration script generated by Autoconf, you may include it under
12898
# the same distribution terms that you use for the rest of that program.
12900
# A sed program that does not truncate output.
12903
# Sed that helps us avoid accidentally triggering echo(1) options like -n.
12904
Xsed="$SED -e s/^X//"
12906
# The HP-UX ksh and POSIX shell print the target directory to stdout
12907
# if CDPATH is set.
12908
if test "X\${CDPATH+set}" = Xset; then CDPATH=:; export CDPATH; fi
12910
# The names of the tagged configurations supported by this script.
12913
# ### BEGIN LIBTOOL CONFIG
12915
# Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
12917
# Shell to use when invoking shell scripts.
12920
# Whether or not to build shared libraries.
12921
build_libtool_libs=$enable_shared
12923
# Whether or not to build static libraries.
12924
build_old_libs=$enable_static
12926
# Whether or not to add -lc for building shared libraries.
12927
build_libtool_need_lc=$archive_cmds_need_lc
12929
# Whether or not to disallow shared libs when runtime libs are static
12930
allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes
12932
# Whether or not to optimize for fast installation.
12933
fast_install=$enable_fast_install
12936
host_alias=$host_alias
12939
# An echo program that does not interpret backslashes.
12944
AR_FLAGS=$lt_AR_FLAGS
12949
# A language-specific compiler.
12952
# Is the compiler the GNU C compiler?
12958
# The linker used to build libraries.
12961
# Whether we need hard or soft links.
12964
# A BSD-compatible nm program.
12967
# A symbol stripping program
12970
# Used to examine libraries when file_magic_cmd begins "file"
12971
MAGIC_CMD=$MAGIC_CMD
12973
# Used on cygwin: DLL creation program.
12976
# Used on cygwin: object dumper.
12979
# Used on cygwin: assembler.
12982
# The name of the directory that contains temporary libtool files.
12985
# How to create reloadable object files.
12986
reload_flag=$lt_reload_flag
12987
reload_cmds=$lt_reload_cmds
12989
# How to pass a linker flag through the compiler.
12990
wl=$lt_lt_prog_compiler_wl
12992
# Object file suffix (normally "o").
12993
objext="$ac_objext"
12995
# Old archive suffix (normally "a").
12998
# Shared library suffix (normally ".so").
13001
# Executable file suffix (normally "").
13004
# Additional compiler flags for building library objects.
13005
pic_flag=$lt_lt_prog_compiler_pic
13008
# What is the maximum length of a command?
13009
max_cmd_len=$lt_cv_sys_max_cmd_len
13011
# Does compiler simultaneously support -c and -o options?
13012
compiler_c_o=$lt_lt_cv_prog_compiler_c_o
13014
# Must we lock files when doing compilation ?
13015
need_locks=$lt_need_locks
13017
# Do we need the lib prefix for modules?
13018
need_lib_prefix=$need_lib_prefix
13020
# Do we need a version for libraries?
13021
need_version=$need_version
13023
# Whether dlopen is supported.
13024
dlopen_support=$enable_dlopen
13026
# Whether dlopen of programs is supported.
13027
dlopen_self=$enable_dlopen_self
13029
# Whether dlopen of statically linked programs is supported.
13030
dlopen_self_static=$enable_dlopen_self_static
13032
# Compiler flag to prevent dynamic linking.
13033
link_static_flag=$lt_lt_prog_compiler_static
13035
# Compiler flag to turn off builtin functions.
13036
no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag
13038
# Compiler flag to allow reflexive dlopens.
13039
export_dynamic_flag_spec=$lt_export_dynamic_flag_spec
13041
# Compiler flag to generate shared objects directly from archives.
13042
whole_archive_flag_spec=$lt_whole_archive_flag_spec
13044
# Compiler flag to generate thread-safe objects.
13045
thread_safe_flag_spec=$lt_thread_safe_flag_spec
13047
# Library versioning type.
13048
version_type=$version_type
13050
# Format of library name prefix.
13051
libname_spec=$lt_libname_spec
13053
# List of archive names. First name is the real one, the rest are links.
13054
# The last name is the one that the linker finds with -lNAME.
13055
library_names_spec=$lt_library_names_spec
13057
# The coded name of the library, if different from the real name.
13058
soname_spec=$lt_soname_spec
13060
# Commands used to build and install an old-style archive.
13062
old_archive_cmds=$lt_old_archive_cmds
13063
old_postinstall_cmds=$lt_old_postinstall_cmds
13064
old_postuninstall_cmds=$lt_old_postuninstall_cmds
13066
# Create an old-style archive from a shared archive.
13067
old_archive_from_new_cmds=$lt_old_archive_from_new_cmds
13069
# Create a temporary old-style archive to link instead of a shared archive.
13070
old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds
13072
# Commands used to build and install a shared archive.
13073
archive_cmds=$lt_archive_cmds
13074
archive_expsym_cmds=$lt_archive_expsym_cmds
13075
postinstall_cmds=$lt_postinstall_cmds
13076
postuninstall_cmds=$lt_postuninstall_cmds
13078
# Commands used to build a loadable module (assumed same as above if empty)
13079
module_cmds=$lt_module_cmds
13080
module_expsym_cmds=$lt_module_expsym_cmds
13082
# Commands to strip libraries.
13083
old_striplib=$lt_old_striplib
13084
striplib=$lt_striplib
13086
# Dependencies to place before the objects being linked to create a
13088
predep_objects=$lt_predep_objects
13090
# Dependencies to place after the objects being linked to create a
13092
postdep_objects=$lt_postdep_objects
13094
# Dependencies to place before the objects being linked to create a
13096
predeps=$lt_predeps
13098
# Dependencies to place after the objects being linked to create a
13100
postdeps=$lt_postdeps
13102
# The library search path used internally by the compiler when linking
13103
# a shared library.
13104
compiler_lib_search_path=$lt_compiler_lib_search_path
13106
# Method to check whether dependent libraries are shared objects.
13107
deplibs_check_method=$lt_deplibs_check_method
13109
# Command to use when deplibs_check_method == file_magic.
13110
file_magic_cmd=$lt_file_magic_cmd
13112
# Flag that allows shared libraries with undefined symbols to be built.
13113
allow_undefined_flag=$lt_allow_undefined_flag
13115
# Flag that forces no undefined symbols.
13116
no_undefined_flag=$lt_no_undefined_flag
13118
# Commands used to finish a libtool library installation in a directory.
13119
finish_cmds=$lt_finish_cmds
13121
# Same as above, but a single script fragment to be evaled but not shown.
13122
finish_eval=$lt_finish_eval
13124
# Take the output of nm and produce a listing of raw symbols and C names.
13125
global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
13127
# Transform the output of nm in a proper C declaration
13128
global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
13130
# Transform the output of nm in a C name address pair
13131
global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
13133
# This is the shared library runtime path variable.
13134
runpath_var=$runpath_var
13136
# This is the shared library path variable.
13137
shlibpath_var=$shlibpath_var
13139
# Is shlibpath searched before the hard-coded library search path?
13140
shlibpath_overrides_runpath=$shlibpath_overrides_runpath
13142
# How to hardcode a shared library path into an executable.
13143
hardcode_action=$hardcode_action
13145
# Whether we should hardcode library paths into libraries.
13146
hardcode_into_libs=$hardcode_into_libs
13148
# Flag to hardcode \$libdir into a binary during linking.
13149
# This must work even if \$libdir does not exist.
13150
hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec
13152
# If ld is used when linking, flag to hardcode \$libdir into
13153
# a binary during linking. This must work even if \$libdir does
13155
hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld
13157
# Whether we need a single -rpath flag with a separated argument.
13158
hardcode_libdir_separator=$lt_hardcode_libdir_separator
13160
# Set to yes if using DIR/libNAME${shared_ext} during linking hardcodes DIR into the
13161
# resulting binary.
13162
hardcode_direct=$hardcode_direct
13164
# Set to yes if using the -LDIR flag during linking hardcodes DIR into the
13165
# resulting binary.
13166
hardcode_minus_L=$hardcode_minus_L
13168
# Set to yes if using SHLIBPATH_VAR=DIR during linking hardcodes DIR into
13169
# the resulting binary.
13170
hardcode_shlibpath_var=$hardcode_shlibpath_var
13172
# Set to yes if building a shared library automatically hardcodes DIR into the library
13173
# and all subsequent libraries and executables linked against it.
13174
hardcode_automatic=$hardcode_automatic
13176
# Variables whose values should be saved in libtool wrapper scripts and
13177
# restored at relink time.
13178
variables_saved_for_relink="$variables_saved_for_relink"
13180
# Whether libtool must link a program against all its dependency libraries.
13181
link_all_deplibs=$link_all_deplibs
13183
# Compile-time system search path for libraries
13184
sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
13186
# Run-time system search path for libraries
13187
sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
13189
# Fix the shell variable \$srcfile for the compiler.
13190
fix_srcfile_path="$fix_srcfile_path"
13192
# Set to yes if exported symbols are required.
13193
always_export_symbols=$always_export_symbols
13195
# The commands to list exported symbols.
13196
export_symbols_cmds=$lt_export_symbols_cmds
13198
# The commands to extract the exported symbol list from a shared archive.
13199
extract_expsyms_cmds=$lt_extract_expsyms_cmds
13201
# Symbols that should not be listed in the preloaded symbols.
13202
exclude_expsyms=$lt_exclude_expsyms
13204
# Symbols that must always be exported.
13205
include_expsyms=$lt_include_expsyms
13207
# ### END LIBTOOL CONFIG
13214
cat <<\EOF >> "$cfgfile"
13216
# AIX sometimes has problems with the GCC collect2 program. For some
13217
# reason, if we set the COLLECT_NAMES environment variable, the problems
13218
# vanish in a puff of smoke.
13219
if test "X${COLLECT_NAMES+set}" != Xset; then
13221
export COLLECT_NAMES
13227
# We use sed instead of cat because bash on DJGPP gets confused if
13228
# if finds mixed CR/LF and LF-only lines. Since sed operates in
13229
# text mode, it properly converts lines to CR/LF. This bash problem
13230
# is reportedly fixed, but why not run on old versions too?
13231
sed '$q' "$ltmain" >> "$cfgfile" || (rm -f "$cfgfile"; exit 1)
13233
mv -f "$cfgfile" "$ofile" || \
13234
(rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile")
13238
# If there is no Makefile yet, we rely on a make rule to execute
13239
# `config.status --recheck' to rerun these tests and create the
13240
# libtool script then.
13241
test -f Makefile && make "$ltmain"
13246
ac_cpp='$CPP $CPPFLAGS'
13247
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13248
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13249
ac_compiler_gnu=$ac_cv_c_compiler_gnu
13254
# Check whether --with-tags was given.
13255
if test "${with_tags+set}" = set; then
13256
withval=$with_tags; tagnames="$withval"
13260
if test -f "$ltmain" && test -n "$tagnames"; then
13261
if test ! -f "${ofile}"; then
13262
{ echo "$as_me:$LINENO: WARNING: output file \`$ofile' does not exist" >&5
13263
echo "$as_me: WARNING: output file \`$ofile' does not exist" >&2;}
13266
if test -z "$LTCC"; then
13267
eval "`$SHELL ${ofile} --config | grep '^LTCC='`"
13268
if test -z "$LTCC"; then
13269
{ echo "$as_me:$LINENO: WARNING: output file \`$ofile' does not look like a libtool script" >&5
13270
echo "$as_me: WARNING: output file \`$ofile' does not look like a libtool script" >&2;}
13272
{ echo "$as_me:$LINENO: WARNING: using \`LTCC=$LTCC', extracted from \`$ofile'" >&5
13273
echo "$as_me: WARNING: using \`LTCC=$LTCC', extracted from \`$ofile'" >&2;}
13277
# Extract list of available tagged configurations in $ofile.
13278
# Note that this assumes the entire list is on one line.
13279
available_tags=`grep "^available_tags=" "${ofile}" | $SED -e 's/available_tags=\(.*$\)/\1/' -e 's/\"//g'`
13281
lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
13282
for tagname in $tagnames; do
13284
# Check whether tagname contains only valid characters
13285
case `$echo "X$tagname" | $Xsed -e 's:[-_ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz1234567890,/]::g'` in
13287
*) { { echo "$as_me:$LINENO: error: invalid tag name: $tagname" >&5
13288
echo "$as_me: error: invalid tag name: $tagname" >&2;}
13289
{ (exit 1); exit 1; }; }
13293
if grep "^# ### BEGIN LIBTOOL TAG CONFIG: $tagname$" < "${ofile}" > /dev/null
13295
{ { echo "$as_me:$LINENO: error: tag name \"$tagname\" already exists" >&5
13296
echo "$as_me: error: tag name \"$tagname\" already exists" >&2;}
13297
{ (exit 1); exit 1; }; }
13300
# Update the list of available tags.
13301
if test -n "$tagname"; then
13302
echo appending configuration tag \"$tagname\" to $ofile
13306
if test -n "$CXX" && test "X$CXX" != "Xno"; then
13308
ac_cpp='$CXXCPP $CPPFLAGS'
13309
ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13310
ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13311
ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
13316
archive_cmds_need_lc_CXX=no
13317
allow_undefined_flag_CXX=
13318
always_export_symbols_CXX=no
13319
archive_expsym_cmds_CXX=
13320
export_dynamic_flag_spec_CXX=
13321
hardcode_direct_CXX=no
13322
hardcode_libdir_flag_spec_CXX=
13323
hardcode_libdir_flag_spec_ld_CXX=
13324
hardcode_libdir_separator_CXX=
13325
hardcode_minus_L_CXX=no
13326
hardcode_automatic_CXX=no
13328
module_expsym_cmds_CXX=
13329
link_all_deplibs_CXX=unknown
13330
old_archive_cmds_CXX=$old_archive_cmds
13331
no_undefined_flag_CXX=
13332
whole_archive_flag_spec_CXX=
13333
enable_shared_with_static_runtimes_CXX=no
13335
# Dependencies to place before and after the object being linked:
13336
predep_objects_CXX=
13337
postdep_objects_CXX=
13340
compiler_lib_search_path_CXX=
13342
# Source file extension for C++ test sources.
13345
# Object file extension for compiled C++ test sources.
13349
# Code to be used in simple compile tests
13350
lt_simple_compile_test_code="int some_variable = 0;\n"
13352
# Code to be used in simple link tests
13353
lt_simple_link_test_code='int main(int, char *) { return(0); }\n'
13355
# ltmain only uses $CC for tagged configurations so make sure $CC is set.
13357
# If no C compiler was specified, use CC.
13360
# Allow CC to be a program name with arguments.
13364
# Allow CC to be a program name with arguments.
13369
lt_save_with_gnu_ld=$with_gnu_ld
13370
lt_save_path_LD=$lt_cv_path_LD
13371
if test -n "${lt_cv_prog_gnu_ldcxx+set}"; then
13372
lt_cv_prog_gnu_ld=$lt_cv_prog_gnu_ldcxx
13374
unset lt_cv_prog_gnu_ld
13376
if test -n "${lt_cv_path_LDCXX+set}"; then
13377
lt_cv_path_LD=$lt_cv_path_LDCXX
13379
unset lt_cv_path_LD
13381
test -z "${LDCXX+set}" || LD=$LDCXX
13385
cc_basename=`$echo X"$compiler" | $Xsed -e 's%^.*/%%'`
13387
# We don't want -fno-exception wen compiling C++ code, so set the
13388
# no_builtin_flag separately
13389
if test "$GXX" = yes; then
13390
lt_prog_compiler_no_builtin_flag_CXX=' -fno-builtin'
13392
lt_prog_compiler_no_builtin_flag_CXX=
13395
if test "$GXX" = yes; then
13396
# Set up default GNU C++ configuration
13399
# Check whether --with-gnu-ld was given.
13400
if test "${with_gnu_ld+set}" = set; then
13401
withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes
13407
if test "$GCC" = yes; then
13408
# Check if gcc -print-prog-name=ld gives a path.
13409
{ echo "$as_me:$LINENO: checking for ld used by $CC" >&5
13410
echo $ECHO_N "checking for ld used by $CC... $ECHO_C" >&6; }
13413
# gcc leaves a trailing carriage return which upsets mingw
13414
ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
13416
ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
13419
# Accept absolute paths.
13421
re_direlt='/[^/][^/]*/\.\./'
13422
# Canonicalize the pathname of ld
13423
ac_prog=`echo $ac_prog| $SED 's%\\\\%/%g'`
13424
while echo $ac_prog | grep "$re_direlt" > /dev/null 2>&1; do
13425
ac_prog=`echo $ac_prog| $SED "s%$re_direlt%/%"`
13427
test -z "$LD" && LD="$ac_prog"
13430
# If it fails, then pretend we aren't using GCC.
13434
# If it is relative, then search for the first ld in PATH.
13435
with_gnu_ld=unknown
13438
elif test "$with_gnu_ld" = yes; then
13439
{ echo "$as_me:$LINENO: checking for GNU ld" >&5
13440
echo $ECHO_N "checking for GNU ld... $ECHO_C" >&6; }
13442
{ echo "$as_me:$LINENO: checking for non-GNU ld" >&5
13443
echo $ECHO_N "checking for non-GNU ld... $ECHO_C" >&6; }
13445
if test "${lt_cv_path_LD+set}" = set; then
13446
echo $ECHO_N "(cached) $ECHO_C" >&6
13448
if test -z "$LD"; then
13449
lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
13450
for ac_dir in $PATH; do
13452
test -z "$ac_dir" && ac_dir=.
13453
if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
13454
lt_cv_path_LD="$ac_dir/$ac_prog"
13455
# Check to see if the program is GNU ld. I'd rather use --version,
13456
# but apparently some GNU ld's only accept -v.
13457
# Break only if it was the GNU/non-GNU ld that we prefer.
13458
case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
13459
*GNU* | *'with BFD'*)
13460
test "$with_gnu_ld" != no && break
13463
test "$with_gnu_ld" != yes && break
13470
lt_cv_path_LD="$LD" # Let the user override the test with a path.
13474
LD="$lt_cv_path_LD"
13475
if test -n "$LD"; then
13476
{ echo "$as_me:$LINENO: result: $LD" >&5
13477
echo "${ECHO_T}$LD" >&6; }
13479
{ echo "$as_me:$LINENO: result: no" >&5
13480
echo "${ECHO_T}no" >&6; }
13482
test -z "$LD" && { { echo "$as_me:$LINENO: error: no acceptable ld found in \$PATH" >&5
13483
echo "$as_me: error: no acceptable ld found in \$PATH" >&2;}
13484
{ (exit 1); exit 1; }; }
13485
{ echo "$as_me:$LINENO: checking if the linker ($LD) is GNU ld" >&5
13486
echo $ECHO_N "checking if the linker ($LD) is GNU ld... $ECHO_C" >&6; }
13487
if test "${lt_cv_prog_gnu_ld+set}" = set; then
13488
echo $ECHO_N "(cached) $ECHO_C" >&6
13490
# I'd rather use --version here, but apparently some GNU ld's only accept -v.
13491
case `$LD -v 2>&1 </dev/null` in
13492
*GNU* | *'with BFD'*)
13493
lt_cv_prog_gnu_ld=yes
13496
lt_cv_prog_gnu_ld=no
13500
{ echo "$as_me:$LINENO: result: $lt_cv_prog_gnu_ld" >&5
13501
echo "${ECHO_T}$lt_cv_prog_gnu_ld" >&6; }
13502
with_gnu_ld=$lt_cv_prog_gnu_ld
13506
# Check if GNU C++ uses GNU ld as the underlying linker, since the
13507
# archiving commands below assume that GNU ld is being used.
13508
if test "$with_gnu_ld" = yes; then
13509
archive_cmds_CXX='$CC -shared -nostdlib $compiler_flags $predep_objects $libobjs $deplibs $postdep_objects ${wl}-soname $wl$soname -o $lib'
13510
archive_expsym_cmds_CXX='$CC -shared -nostdlib $compiler_flags $predep_objects $libobjs $deplibs $postdep_objects ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
13512
hardcode_libdir_flag_spec_CXX='${wl}--rpath ${wl}$libdir'
13513
export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
13515
# If archive_cmds runs LD, not CC, wlarc should be empty
13516
# XXX I think wlarc can be eliminated in ltcf-cxx, but I need to
13517
# investigate it a little bit more. (MM)
13520
# ancient GNU ld didn't support --whole-archive et. al.
13521
if eval "`$CC -print-prog-name=ld` --help 2>&1" | \
13522
grep 'no-whole-archive' > /dev/null; then
13523
whole_archive_flag_spec_CXX="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
13525
whole_archive_flag_spec_CXX=
13531
# A generic and very simple default shared library creation
13532
# command for GNU C++ for the case where it uses the native
13533
# linker, instead of GNU ld. If possible, this setting should
13534
# overridden to take advantage of the native linker features on
13535
# the platform it is being used on.
13536
archive_cmds_CXX='$CC -shared -nostdlib $compiler_flags $predep_objects $libobjs $deplibs $postdep_objects -o $lib'
13539
# Commands to make compiler produce verbose output that lists
13540
# what "hidden" libraries, object files and flags are used when
13541
# linking a shared library.
13542
output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | grep "\-L"'
13550
# PORTME: fill in a description of your system's C++ link characteristics
13551
{ echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5
13552
echo $ECHO_N "checking whether the $compiler linker ($LD) supports shared libraries... $ECHO_C" >&6; }
13556
# FIXME: insert proper C++ library support
13560
if test "$host_cpu" = ia64; then
13561
# On IA64, the linker does run time linking by default, so we don't
13562
# have to do anything special.
13563
aix_use_runtimelinking=no
13564
exp_sym_flag='-Bexport'
13567
# KDE requires run time linking. Make it the default.
13568
aix_use_runtimelinking=yes
13569
exp_sym_flag='-bexport'
13570
no_entry_flag='-bnoentry'
13573
# When large executables or shared objects are built, AIX ld can
13574
# have problems creating the table of contents. If linking a library
13575
# or program results in "error TOC overflow" add -mminimal-toc to
13576
# CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
13577
# enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
13579
archive_cmds_CXX=''
13580
hardcode_direct_CXX=yes
13581
hardcode_libdir_separator_CXX=':'
13582
link_all_deplibs_CXX=yes
13584
if test "$GXX" = yes; then
13585
case $host_os in aix4.012|aix4.012.*)
13586
# We only want to do this on AIX 4.2 and lower, the check
13587
# below for broken collect2 doesn't work under 4.3+
13588
collect2name=`${CC} -print-prog-name=collect2`
13589
if test -f "$collect2name" && \
13590
strings "$collect2name" | grep resolve_lib_name >/dev/null
13592
# We have reworked collect2
13593
hardcode_direct_CXX=yes
13595
# We have old collect2
13596
hardcode_direct_CXX=unsupported
13597
# It fails to find uninstalled libraries when the uninstalled
13598
# path is not listed in the libpath. Setting hardcode_minus_L
13599
# to unsupported forces relinking
13600
hardcode_minus_L_CXX=yes
13601
hardcode_libdir_flag_spec_CXX='-L$libdir'
13602
hardcode_libdir_separator_CXX=
13605
shared_flag='-shared'
13608
if test "$host_cpu" = ia64; then
13609
# VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
13610
# chokes on -Wl,-G. The following line is correct:
13613
if test "$aix_use_runtimelinking" = yes; then
13614
shared_flag='-qmkshrobj ${wl}-G'
13616
shared_flag='-qmkshrobj'
13621
# Let the compiler handle the export list.
13622
always_export_symbols_CXX=no
13623
if test "$aix_use_runtimelinking" = yes; then
13624
# Warning - without using the other runtime loading flags (-brtl),
13625
# -berok will link without error, but may produce a broken library.
13626
allow_undefined_flag_CXX='-berok'
13627
# Determine the default libpath from the value encoded in an empty executable.
13628
cat >conftest.$ac_ext <<_ACEOF
13631
cat confdefs.h >>conftest.$ac_ext
13632
cat >>conftest.$ac_ext <<_ACEOF
13633
/* end confdefs.h. */
13643
rm -f conftest.$ac_objext conftest$ac_exeext
13644
if { (ac_try="$ac_link"
13645
case "(($ac_try" in
13646
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13647
*) ac_try_echo=$ac_try;;
13649
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13650
(eval "$ac_link") 2>conftest.er1
13652
grep -v '^ *+' conftest.er1 >conftest.err
13654
cat conftest.err >&5
13655
echo "$as_me:$LINENO: \$? = $ac_status" >&5
13656
(exit $ac_status); } && {
13657
test -z "$ac_cxx_werror_flag" ||
13658
test ! -s conftest.err
13659
} && test -s conftest$ac_exeext &&
13660
$as_test_x conftest$ac_exeext; then
13662
aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0 *\(.*\)$/\1/; p; }
13664
# Check for a 64-bit object if we didn't find anything.
13665
if test -z "$aix_libpath"; then aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0 *\(.*\)$/\1/; p; }
13668
echo "$as_me: failed program was:" >&5
13669
sed 's/^/| /' conftest.$ac_ext >&5
13674
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
13675
conftest$ac_exeext conftest.$ac_ext
13676
if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
13678
hardcode_libdir_flag_spec_CXX='${wl}-blibpath:$libdir:'"$aix_libpath"
13680
archive_cmds_CXX="\$CC"' -o $output_objdir/$soname $compiler_flags $libobjs $deplibs `if test "x${allow_undefined_flag}" != "x"; then echo "${wl}${allow_undefined_flag}"; else :; fi` '" $shared_flag"
13681
archive_expsym_cmds_CXX="\$CC"' -o $output_objdir/$soname $compiler_flags $libobjs $deplibs `if test "x${allow_undefined_flag}" != "x"; then echo "${wl}${allow_undefined_flag}"; else :; fi` '"\${wl}$exp_sym_flag:\$export_symbols $shared_flag"
13683
if test "$host_cpu" = ia64; then
13684
hardcode_libdir_flag_spec_CXX='${wl}-R $libdir:/usr/lib:/lib'
13685
allow_undefined_flag_CXX="-z nodefs"
13686
archive_expsym_cmds_CXX="\$CC $shared_flag"' -o $output_objdir/$soname $compiler_flags $libobjs $deplibs ${wl}${allow_undefined_flag} '"\${wl}$no_entry_flag \${wl}$exp_sym_flag:\$export_symbols"
13688
# Determine the default libpath from the value encoded in an empty executable.
13689
cat >conftest.$ac_ext <<_ACEOF
13692
cat confdefs.h >>conftest.$ac_ext
13693
cat >>conftest.$ac_ext <<_ACEOF
13694
/* end confdefs.h. */
13704
rm -f conftest.$ac_objext conftest$ac_exeext
13705
if { (ac_try="$ac_link"
13706
case "(($ac_try" in
13707
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13708
*) ac_try_echo=$ac_try;;
13710
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13711
(eval "$ac_link") 2>conftest.er1
13713
grep -v '^ *+' conftest.er1 >conftest.err
13715
cat conftest.err >&5
13716
echo "$as_me:$LINENO: \$? = $ac_status" >&5
13717
(exit $ac_status); } && {
13718
test -z "$ac_cxx_werror_flag" ||
13719
test ! -s conftest.err
13720
} && test -s conftest$ac_exeext &&
13721
$as_test_x conftest$ac_exeext; then
13723
aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0 *\(.*\)$/\1/; p; }
13725
# Check for a 64-bit object if we didn't find anything.
13726
if test -z "$aix_libpath"; then aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0 *\(.*\)$/\1/; p; }
13729
echo "$as_me: failed program was:" >&5
13730
sed 's/^/| /' conftest.$ac_ext >&5
13735
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
13736
conftest$ac_exeext conftest.$ac_ext
13737
if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
13739
hardcode_libdir_flag_spec_CXX='${wl}-blibpath:$libdir:'"$aix_libpath"
13740
# Warning - without using the other run time loading flags,
13741
# -berok will link without error, but may produce a broken library.
13742
no_undefined_flag_CXX=' ${wl}-bernotok'
13743
allow_undefined_flag_CXX=' ${wl}-berok'
13744
# -bexpall does not export symbols beginning with underscore (_)
13745
always_export_symbols_CXX=yes
13746
# Exported symbols can be pulled into shared objects from archives
13747
whole_archive_flag_spec_CXX=' '
13748
archive_cmds_need_lc_CXX=yes
13749
# This is similar to how AIX traditionally builds it's shared libraries.
13750
archive_expsym_cmds_CXX="\$CC $shared_flag"' -o $output_objdir/$soname $compiler_flags $libobjs $deplibs ${wl}-bE:$export_symbols ${wl}-bnoentry${allow_undefined_flag}~$AR $AR_FLAGS $output_objdir/$libname$release.a $output_objdir/$soname'
13755
case $cc_basename in
13757
# FIXME: insert proper C++ library support
13763
cygwin* | mingw* | pw32*)
13764
# _LT_AC_TAGVAR(hardcode_libdir_flag_spec, CXX) is actually meaningless,
13765
# as there is no search path for DLLs.
13766
hardcode_libdir_flag_spec_CXX='-L$libdir'
13767
allow_undefined_flag_CXX=no
13768
always_export_symbols_CXX=no
13769
enable_shared_with_static_runtimes_CXX=yes
13771
if $LD --help 2>&1 | grep 'auto-import' > /dev/null; then
13772
archive_cmds_CXX='$CC -shared -nostdlib $compiler_flags $predep_objects $libobjs $deplibs $postdep_objects -o $output_objdir/$soname ${wl}--image-base=0x10000000 ${wl}--out-implib,$lib'
13773
# If the export-symbols file already is a .def file (1st line
13774
# is EXPORTS), use it as is; otherwise, prepend...
13775
archive_expsym_cmds_CXX='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
13776
cp $export_symbols $output_objdir/$soname.def;
13778
echo EXPORTS > $output_objdir/$soname.def;
13779
cat $export_symbols >> $output_objdir/$soname.def;
13781
$CC -shared -nostdlib $output_objdir/$soname.def $compiler_flags $predep_objects $libobjs $deplibs $postdep_objects -o $output_objdir/$soname ${wl}--image-base=0x10000000 ${wl}--out-implib,$lib'
13787
darwin* | rhapsody*)
13788
if test "$GXX" = yes; then
13789
archive_cmds_need_lc_CXX=no
13791
rhapsody* | darwin1.[012])
13792
allow_undefined_flag_CXX='-Wl,-undefined -Wl,suppress'
13795
if test -z ${MACOSX_DEPLOYMENT_TARGET} ; then
13796
allow_undefined_flag_CXX='-Wl,-flat_namespace -Wl,-undefined -Wl,suppress'
13798
case ${MACOSX_DEPLOYMENT_TARGET} in
13800
allow_undefined_flag_CXX='-Wl,-flat_namespace -Wl,-undefined -Wl,suppress'
13803
allow_undefined_flag_CXX='-Wl,-undefined -Wl,dynamic_lookup'
13809
lt_int_apple_cc_single_mod=no
13810
output_verbose_link_cmd='echo'
13811
if $CC -dumpspecs 2>&1 | grep 'single_module' >/dev/null ; then
13812
lt_int_apple_cc_single_mod=yes
13814
if test "X$lt_int_apple_cc_single_mod" = Xyes ; then
13815
archive_cmds_CXX='$CC -dynamiclib -single_module $allow_undefined_flag -o $lib $compiler_flags $libobjs $deplibs -install_name $rpath/$soname $verstring'
13817
archive_cmds_CXX='$CC -r ${wl}-bind_at_load -keep_private_externs -nostdlib -o ${lib}-master.o $libobjs~$CC -dynamiclib $allow_undefined_flag -o $lib ${lib}-master.o $compiler_flags $deplibs -install_name $rpath/$soname $verstring'
13819
module_cmds_CXX='$CC ${wl}-bind_at_load $allow_undefined_flag -o $lib -bundle $compiler_flags $libobjs $deplibs'
13821
# Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin ld's
13822
if test "X$lt_int_apple_cc_single_mod" = Xyes ; then
13823
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 $compiler_flags $libobjs $deplibs -install_name $rpath/$soname $verstring~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
13825
archive_expsym_cmds_CXX='sed -e "s,#.*,," -e "s,^[ ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC -r ${wl}-bind_at_load -keep_private_externs -nostdlib -o ${lib}-master.o $libobjs~$CC -dynamiclib $allow_undefined_flag -o $lib ${lib}-master.o $compiler_flags $deplibs -install_name $rpath/$soname $verstring~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
13827
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 $compiler_flags $libobjs $deplibs~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
13828
hardcode_direct_CXX=no
13829
hardcode_automatic_CXX=yes
13830
hardcode_shlibpath_var_CXX=unsupported
13831
whole_archive_flag_spec_CXX='-all_load $convenience'
13832
link_all_deplibs_CXX=yes
13839
case $cc_basename in
13841
# FIXME: insert proper C++ library support
13845
# Green Hills C++ Compiler
13846
# FIXME: insert proper C++ library support
13850
# FIXME: insert proper C++ library support
13856
# C++ shared libraries reported to be fairly broken before switch to ELF
13860
archive_cmds_need_lc_CXX=no
13862
freebsd* | kfreebsd*-gnu)
13863
# FreeBSD 3 and later use GNU C++ and GNU ld with standard ELF
13870
hardcode_libdir_flag_spec_CXX='${wl}+b ${wl}$libdir'
13871
hardcode_libdir_separator_CXX=:
13872
export_dynamic_flag_spec_CXX='${wl}-E'
13873
hardcode_direct_CXX=yes
13874
hardcode_minus_L_CXX=yes # Not in the search PATH,
13875
# but as the default
13876
# location of the library.
13878
case $cc_basename in
13880
# FIXME: insert proper C++ library support
13884
archive_cmds_CXX='$rm $output_objdir/$soname~$CC -b ${wl}+b ${wl}$install_libdir -o $output_objdir/$soname $compiler_flags $predep_objects $libobjs $deplibs $postdep_objects~test $output_objdir/$soname = $lib || mv $output_objdir/$soname $lib'
13885
# Commands to make compiler produce verbose output that lists
13886
# what "hidden" libraries, object files and flags are used when
13887
# linking a shared library.
13889
# There doesn't appear to be a way to prevent this compiler from
13890
# explicitly linking system object files so we need to strip them
13891
# from the output so that they don't get included in the library
13893
output_verbose_link_cmd='templist=`($CC -b $CFLAGS -v conftest.$objext 2>&1) | egrep "\-L"`; list=""; for z in $templist; do case $z in conftest.$objext) list="$list $z";; *.$objext);; *) list="$list $z";;esac; done; echo $list'
13896
if test "$GXX" = yes; then
13897
archive_cmds_CXX='$rm $output_objdir/$soname~$CC -shared -nostdlib -fPIC ${wl}+b ${wl}$install_libdir -o $output_objdir/$soname $compiler_flags $predep_objects $libobjs $deplibs $postdep_objects~test $output_objdir/$soname = $lib || mv $output_objdir/$soname $lib'
13899
# FIXME: insert proper C++ library support
13906
if test $with_gnu_ld = no; then
13907
case "$host_cpu" in
13909
hardcode_libdir_flag_spec_CXX='${wl}+b ${wl}$libdir'
13910
hardcode_libdir_flag_spec_ld_CXX='+b $libdir'
13911
hardcode_libdir_separator_CXX=:
13914
hardcode_libdir_flag_spec_CXX='-L$libdir'
13917
hardcode_libdir_flag_spec_CXX='${wl}+b ${wl}$libdir'
13918
hardcode_libdir_separator_CXX=:
13919
export_dynamic_flag_spec_CXX='${wl}-E'
13923
case "$host_cpu" in
13925
hardcode_direct_CXX=no
13926
hardcode_shlibpath_var_CXX=no
13929
hardcode_direct_CXX=no
13930
hardcode_shlibpath_var_CXX=no
13931
hardcode_minus_L_CXX=yes # Not in the search PATH,
13932
# but as the default
13933
# location of the library.
13936
hardcode_direct_CXX=yes
13937
hardcode_minus_L_CXX=yes # Not in the search PATH,
13938
# but as the default
13939
# location of the library.
13943
case $cc_basename in
13945
# FIXME: insert proper C++ library support
13949
case "$host_cpu" in
13951
archive_cmds_CXX='$LD -b +h $soname -o $lib $linker_flags $libobjs $deplibs'
13954
archive_cmds_CXX='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $compiler_flags $predep_objects $libobjs $deplibs $postdep_objects'
13957
# Commands to make compiler produce verbose output that lists
13958
# what "hidden" libraries, object files and flags are used when
13959
# linking a shared library.
13961
# There doesn't appear to be a way to prevent this compiler from
13962
# explicitly linking system object files so we need to strip them
13963
# from the output so that they don't get included in the library
13965
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'
13968
if test "$GXX" = yes; then
13969
if test $with_gnu_ld = no; then
13970
case "$host_cpu" in
13972
archive_cmds_CXX='$LD -b +h $soname -o $lib $linker_flags $libobjs $deplibs'
13975
archive_cmds_CXX='$CC -shared -nostdlib -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $compiler_flags $predep_objects $libobjs $deplibs $postdep_objects'
13980
# FIXME: insert proper C++ library support
13987
case $cc_basename in
13990
archive_cmds_CXX='$CC -shared -all -multigot $compiler_flags $predep_objects $libobjs $deplibs $postdep_objects -soname $soname `test -n "$verstring" && echo -set_version $verstring` -update_registry ${objdir}/so_locations -o $lib'
13992
# Archives containing C++ object files must be created using
13993
# "CC -ar", where "CC" is the IRIX C++ compiler. This is
13994
# necessary to make sure instantiated templates are included
13996
old_archive_cmds_CXX='$CC -ar -WR,-u -o $oldlib $oldobjs'
13999
if test "$GXX" = yes; then
14000
if test "$with_gnu_ld" = no; then
14001
archive_cmds_CXX='$CC -shared -nostdlib $compiler_flags $predep_objects $libobjs $deplibs $postdep_objects ${wl}-soname ${wl}$soname `test -n "$verstring" && echo ${wl}-set_version ${wl}$verstring` ${wl}-update_registry ${wl}${objdir}/so_locations -o $lib'
14003
archive_cmds_CXX='$CC -shared -nostdlib $compiler_flags $predep_objects $libobjs $deplibs $postdep_objects ${wl}-soname ${wl}$soname `test -n "$verstring" && echo ${wl}-set_version ${wl}$verstring` -o $lib'
14006
link_all_deplibs_CXX=yes
14009
hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
14010
hardcode_libdir_separator_CXX=:
14013
case $cc_basename in
14015
# Kuck and Associates, Inc. (KAI) C++ Compiler
14017
# KCC will only create a shared library if the output file
14018
# ends with ".so" (or ".sl" for HP-UX), so rename the library
14019
# to its proper name (with version) after linking.
14020
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 $compiler_flags $predep_objects $libobjs $deplibs $postdep_objects --soname $soname -o \$templib; mv \$templib $lib'
14021
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 $compiler_flags $predep_objects $libobjs $deplibs $postdep_objects --soname $soname -o \$templib ${wl}-retain-symbols-file,$export_symbols; mv \$templib $lib'
14022
# Commands to make compiler produce verbose output that lists
14023
# what "hidden" libraries, object files and flags are used when
14024
# linking a shared library.
14026
# There doesn't appear to be a way to prevent this compiler from
14027
# explicitly linking system object files so we need to strip them
14028
# from the output so that they don't get included in the library
14030
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'
14032
hardcode_libdir_flag_spec_CXX='${wl}--rpath,$libdir'
14033
export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
14035
# Archives containing C++ object files must be created using
14036
# "CC -Bstatic", where "CC" is the KAI C++ compiler.
14037
old_archive_cmds_CXX='$CC -Bstatic -o $oldlib $oldobjs'
14042
archive_cmds_need_lc_CXX=no
14043
archive_cmds_CXX='$CC -shared $compiler_flags $predep_objects $libobjs $deplibs $postdep_objects ${wl}-soname $wl$soname -o $lib'
14044
archive_expsym_cmds_CXX='$CC -shared $compiler_flags $predep_objects $libobjs $deplibs $postdep_objects ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
14045
hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
14046
export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
14047
whole_archive_flag_spec_CXX='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
14051
archive_cmds_CXX='$CC -shared $compiler_flags $predep_objects $libobjs $deplibs $postdep_objects ${wl}-soname $wl$soname -o $lib'
14052
archive_expsym_cmds_CXX='$CC -shared $compiler_flags $predep_objects $libobjs $deplibs $postdep_objects ${wl}-soname $wl$soname -o $lib ${wl}-retain-symbols-file $wl$export_symbols'
14054
runpath_var=LD_RUN_PATH
14055
hardcode_libdir_flag_spec_CXX='-rpath $libdir'
14056
hardcode_libdir_separator_CXX=:
14058
# Commands to make compiler produce verbose output that lists
14059
# what "hidden" libraries, object files and flags are used when
14060
# linking a shared library.
14062
# There doesn't appear to be a way to prevent this compiler from
14063
# explicitly linking system object files so we need to strip them
14064
# from the output so that they don't get included in the library
14066
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'
14071
# FIXME: insert proper C++ library support
14075
# FIXME: insert proper C++ library support
14079
case $cc_basename in
14081
# FIXME: insert proper C++ library support
14085
# FIXME: insert proper C++ library support
14091
if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
14092
archive_cmds_CXX='$LD -Bshareable -o $lib $predep_objects $libobjs $deplibs $postdep_objects $linker_flags'
14094
hardcode_libdir_flag_spec_CXX='-R$libdir'
14095
hardcode_direct_CXX=yes
14096
hardcode_shlibpath_var_CXX=no
14098
# Workaround some broken pre-1.5 toolchains
14099
output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | grep conftest.$objext | $SED -e "s:-lgcc -lc -lgcc::"'
14102
case $cc_basename in
14104
# Kuck and Associates, Inc. (KAI) C++ Compiler
14106
# KCC will only create a shared library if the output file
14107
# ends with ".so" (or ".sl" for HP-UX), so rename the library
14108
# to its proper name (with version) after linking.
14109
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 $compiler_flags $predep_objects $libobjs $deplibs $postdep_objects --soname $soname -o \$templib; mv \$templib $lib'
14111
hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
14112
hardcode_libdir_separator_CXX=:
14114
# Archives containing C++ object files must be created using
14115
# "CC -Bstatic", where "CC" is the KAI C++ compiler.
14116
old_archive_cmds_CXX='$CC -Bstatic -o $oldlib $oldobjs'
14120
# Rational C++ 2.4.1
14121
# FIXME: insert proper C++ library support
14125
allow_undefined_flag_CXX=' ${wl}-expect_unresolved ${wl}\*'
14126
archive_cmds_CXX='$CC -shared${allow_undefined_flag} $compiler_flags $predep_objects $libobjs $deplibs $postdep_objects ${wl}-soname $soname `test -n "$verstring" && echo ${wl}-set_version $verstring` -update_registry ${objdir}/so_locations -o $lib'
14128
hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
14129
hardcode_libdir_separator_CXX=:
14131
# Commands to make compiler produce verbose output that lists
14132
# what "hidden" libraries, object files and flags are used when
14133
# linking a shared library.
14135
# There doesn't appear to be a way to prevent this compiler from
14136
# explicitly linking system object files so we need to strip them
14137
# from the output so that they don't get included in the library
14139
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'
14142
if test "$GXX" = yes && test "$with_gnu_ld" = no; then
14143
allow_undefined_flag_CXX=' ${wl}-expect_unresolved ${wl}\*'
14144
archive_cmds_CXX='$CC -shared -nostdlib ${allow_undefined_flag} $compiler_flags $predep_objects $libobjs $deplibs $postdep_objects ${wl}-soname ${wl}$soname `test -n "$verstring" && echo ${wl}-set_version ${wl}$verstring` ${wl}-update_registry ${wl}${objdir}/so_locations -o $lib'
14146
hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
14147
hardcode_libdir_separator_CXX=:
14149
# Commands to make compiler produce verbose output that lists
14150
# what "hidden" libraries, object files and flags are used when
14151
# linking a shared library.
14152
output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | grep "\-L"'
14155
# FIXME: insert proper C++ library support
14162
case $cc_basename in
14164
# Kuck and Associates, Inc. (KAI) C++ Compiler
14166
# KCC will only create a shared library if the output file
14167
# ends with ".so" (or ".sl" for HP-UX), so rename the library
14168
# to its proper name (with version) after linking.
14169
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 $compiler_flags $predep_objects $libobjs $deplibs $postdep_objects --soname $soname -o \$templib; mv \$templib $lib'
14171
hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
14172
hardcode_libdir_separator_CXX=:
14174
# Archives containing C++ object files must be created using
14175
# the KAI C++ compiler.
14176
old_archive_cmds_CXX='$CC -o $oldlib $oldobjs'
14179
# Rational C++ 2.4.1
14180
# FIXME: insert proper C++ library support
14184
allow_undefined_flag_CXX=' -expect_unresolved \*'
14185
archive_cmds_CXX='$CC -shared${allow_undefined_flag} $compiler_flags $predep_objects $libobjs $deplibs $postdep_objects -msym -soname $soname `test -n "$verstring" && echo -set_version $verstring` -update_registry ${objdir}/so_locations -o $lib'
14186
archive_expsym_cmds_CXX='for i in `cat $export_symbols`; do printf "%s %s\\n" -exported_symbol "\$i" >> $lib.exp; done~
14187
echo "-hidden">> $lib.exp~
14188
$CC -shared$allow_undefined_flag $compiler_flags $predep_objects $libobjs $deplibs $postdep_objects -msym -soname $soname -Wl,-input -Wl,$lib.exp `test -n "$verstring" && echo -set_version $verstring` -update_registry $objdir/so_locations -o $lib~
14191
hardcode_libdir_flag_spec_CXX='-rpath $libdir'
14192
hardcode_libdir_separator_CXX=:
14194
# Commands to make compiler produce verbose output that lists
14195
# what "hidden" libraries, object files and flags are used when
14196
# linking a shared library.
14198
# There doesn't appear to be a way to prevent this compiler from
14199
# explicitly linking system object files so we need to strip them
14200
# from the output so that they don't get included in the library
14202
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'
14205
if test "$GXX" = yes && test "$with_gnu_ld" = no; then
14206
allow_undefined_flag_CXX=' ${wl}-expect_unresolved ${wl}\*'
14207
archive_cmds_CXX='$CC -shared -nostdlib ${allow_undefined_flag} $compiler_flags $predep_objects $libobjs $deplibs $postdep_objects ${wl}-msym ${wl}-soname ${wl}$soname `test -n "$verstring" && echo ${wl}-set_version ${wl}$verstring` ${wl}-update_registry ${wl}${objdir}/so_locations -o $lib'
14209
hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
14210
hardcode_libdir_separator_CXX=:
14212
# Commands to make compiler produce verbose output that lists
14213
# what "hidden" libraries, object files and flags are used when
14214
# linking a shared library.
14215
output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | grep "\-L"'
14218
# FIXME: insert proper C++ library support
14225
# FIXME: insert proper C++ library support
14229
archive_cmds_need_lc_CXX=no
14230
case $cc_basename in
14232
# FIXME: insert proper C++ library support
14236
# FIXME: insert proper C++ library support
14242
case $cc_basename in
14245
# FIXME: insert proper C++ library support
14250
# FIXME: insert proper C++ library support
14254
# FIXME: insert proper C++ library support
14260
case $cc_basename in
14262
# Sun C++ 4.2, 5.x and Centerline C++
14263
no_undefined_flag_CXX=' -zdefs'
14264
archive_cmds_CXX='$CC -G${allow_undefined_flag} -nolib -h$soname -o $lib $compiler_flags $predep_objects $libobjs $deplibs $postdep_objects'
14265
archive_expsym_cmds_CXX='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
14266
$CC -G${allow_undefined_flag} -nolib ${wl}-M ${wl}$lib.exp -h$soname -o $lib $compiler_flags $predep_objects $libobjs $deplibs $postdep_objects~$rm $lib.exp'
14268
hardcode_libdir_flag_spec_CXX='-R$libdir'
14269
hardcode_shlibpath_var_CXX=no
14271
solaris2.0-5 | solaris2.0-5.*) ;;
14273
# The C++ compiler is used as linker so we must use $wl
14274
# flag to pass the commands to the underlying system
14276
# Supported since Solaris 2.6 (maybe 2.5.1?)
14277
whole_archive_flag_spec_CXX='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
14280
link_all_deplibs_CXX=yes
14282
# Commands to make compiler produce verbose output that lists
14283
# what "hidden" libraries, object files and flags are used when
14284
# linking a shared library.
14286
# There doesn't appear to be a way to prevent this compiler from
14287
# explicitly linking system object files so we need to strip them
14288
# from the output so that they don't get included in the library
14290
output_verbose_link_cmd='templist=`$CC -G $CFLAGS -v conftest.$objext 2>&1 | grep "\-[LR]"`; list=""; for z in $templist; do case $z in conftest.$objext) list="$list $z";; *.$objext);; *) list="$list $z";;esac; done; echo $list'
14292
# Archives containing C++ object files must be created using
14293
# "CC -xar", where "CC" is the Sun C++ compiler. This is
14294
# necessary to make sure instantiated templates are included
14296
old_archive_cmds_CXX='$CC -xar -o $oldlib $oldobjs'
14299
# Green Hills C++ Compiler
14300
archive_cmds_CXX='$CC -shared $compiler_flags $predep_objects $libobjs $deplibs $postdep_objects ${wl}-h $wl$soname -o $lib'
14302
# The C++ compiler must be used to create the archive.
14303
old_archive_cmds_CXX='$CC $LDFLAGS -archive -o $oldlib $oldobjs'
14306
# GNU C++ compiler with Solaris linker
14307
if test "$GXX" = yes && test "$with_gnu_ld" = no; then
14308
no_undefined_flag_CXX=' ${wl}-z ${wl}defs'
14309
if $CC --version | grep -v '^2\.7' > /dev/null; then
14310
archive_cmds_CXX='$CC -shared -nostdlib $LDFLAGS $compiler_flags $predep_objects $libobjs $deplibs $postdep_objects ${wl}-h $wl$soname -o $lib'
14311
archive_expsym_cmds_CXX='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
14312
$CC -shared -nostdlib ${wl}-M $wl$lib.exp -o $lib $compiler_flags $predep_objects $libobjs $deplibs $postdep_objects~$rm $lib.exp'
14314
# Commands to make compiler produce verbose output that lists
14315
# what "hidden" libraries, object files and flags are used when
14316
# linking a shared library.
14317
output_verbose_link_cmd="$CC -shared $CFLAGS -v conftest.$objext 2>&1 | grep \"\-L\""
14319
# g++ 2.7 appears to require `-G' NOT `-shared' on this
14321
archive_cmds_CXX='$CC -G -nostdlib $LDFLAGS $compiler_flags $predep_objects $libobjs $deplibs $postdep_objects ${wl}-h $wl$soname -o $lib'
14322
archive_expsym_cmds_CXX='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
14323
$CC -G -nostdlib ${wl}-M $wl$lib.exp -o $lib $compiler_flags $predep_objects $libobjs $deplibs $postdep_objects~$rm $lib.exp'
14325
# Commands to make compiler produce verbose output that lists
14326
# what "hidden" libraries, object files and flags are used when
14327
# linking a shared library.
14328
output_verbose_link_cmd="$CC -G $CFLAGS -v conftest.$objext 2>&1 | grep \"\-L\""
14331
hardcode_libdir_flag_spec_CXX='${wl}-R $wl$libdir'
14336
sysv5OpenUNIX8* | sysv5UnixWare7* | sysv5uw[78]* | unixware7*)
14337
archive_cmds_need_lc_CXX=no
14340
case $cc_basename in
14342
# NonStop-UX NCC 3.20
14343
# FIXME: insert proper C++ library support
14347
# FIXME: insert proper C++ library support
14353
# FIXME: insert proper C++ library support
14357
# FIXME: insert proper C++ library support
14361
{ echo "$as_me:$LINENO: result: $ld_shlibs_CXX" >&5
14362
echo "${ECHO_T}$ld_shlibs_CXX" >&6; }
14363
test "$ld_shlibs_CXX" = no && can_build_shared=no
14369
## There is no encapsulation within the following macros, do not change
14370
## the running order or otherwise move them around unless you know exactly
14371
## what you are doing...
14373
cat > conftest.$ac_ext <<EOF
14377
Foo (void) { a = 0; }
14383
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14384
(eval $ac_compile) 2>&5
14386
echo "$as_me:$LINENO: \$? = $ac_status" >&5
14387
(exit $ac_status); }; then
14388
# Parse the compiler output and extract the necessary
14389
# objects, libraries and library flags.
14391
# Sentinel used to keep track of whether or not we are before
14392
# the conftest object file.
14393
pre_test_object_deps_done=no
14395
# The `*' in the case matches for architectures that use `case' in
14396
# $output_verbose_cmd can trigger glob expansion during the loop
14397
# eval without this substitution.
14398
output_verbose_link_cmd="`$echo \"X$output_verbose_link_cmd\" | $Xsed -e \"$no_glob_subst\"`"
14400
for p in `eval $output_verbose_link_cmd`; do
14404
# Some compilers place space between "-{L,R}" and the path.
14405
# Remove the space.
14406
if test $p = "-L" \
14407
|| test $p = "-R"; then
14414
if test "$pre_test_object_deps_done" = no; then
14417
# Internal compiler library paths should come after those
14418
# provided the user. The postdeps already come after the
14419
# user supplied libs so there is no need to process them.
14420
if test -z "$compiler_lib_search_path_CXX"; then
14421
compiler_lib_search_path_CXX="${prev}${p}"
14423
compiler_lib_search_path_CXX="${compiler_lib_search_path_CXX} ${prev}${p}"
14426
# The "-l" case would never come before the object being
14427
# linked, so don't bother handling this case.
14430
if test -z "$postdeps_CXX"; then
14431
postdeps_CXX="${prev}${p}"
14433
postdeps_CXX="${postdeps_CXX} ${prev}${p}"
14438
*.$objext|*.$libext)
14439
# This assumes that the test object file only shows up
14440
# once in the compiler output.
14441
if test "$p" = "conftest.$objext"; then
14442
pre_test_object_deps_done=yes
14446
if test "$pre_test_object_deps_done" = no; then
14447
if test -z "$predep_objects_CXX"; then
14448
predep_objects_CXX="$p"
14450
predep_objects_CXX="$predep_objects_CXX $p"
14453
if test -z "$postdep_objects_CXX"; then
14454
postdep_objects_CXX="$p"
14456
postdep_objects_CXX="$postdep_objects_CXX $p"
14461
*) ;; # Ignore the rest.
14469
echo "libtool.m4: error: problem compiling CXX test program"
14472
$rm -f confest.$objext
14474
case " $postdeps_CXX " in
14475
*" -lc "*) archive_cmds_need_lc_CXX=no ;;
14478
lt_prog_compiler_wl_CXX=
14479
lt_prog_compiler_pic_CXX=
14480
lt_prog_compiler_static_CXX=
14482
{ echo "$as_me:$LINENO: checking for $compiler option to produce PIC" >&5
14483
echo $ECHO_N "checking for $compiler option to produce PIC... $ECHO_C" >&6; }
14485
# C++ specific cases for pic, static, wl, etc.
14486
if test "$GXX" = yes; then
14487
lt_prog_compiler_wl_CXX='-Wl,'
14488
lt_prog_compiler_static_CXX='-static'
14492
# All AIX code is PIC.
14493
if test "$host_cpu" = ia64; then
14494
# AIX 5 now supports IA64 processor
14495
lt_prog_compiler_static_CXX='-Bstatic'
14499
# FIXME: we need at least 68020 code to build shared libraries, but
14500
# adding the `-m68020' flag to GCC prevents building anything better,
14502
lt_prog_compiler_pic_CXX='-m68020 -resident32 -malways-restore-a4'
14504
beos* | cygwin* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
14505
# PIC is the default for these OSes.
14507
mingw* | os2* | pw32*)
14508
# This hack is so that the source file can tell whether it is being
14509
# built for inclusion in a dll (and should export symbols for example).
14510
lt_prog_compiler_pic_CXX='-DDLL_EXPORT'
14512
darwin* | rhapsody*)
14513
# PIC is the default on this platform
14514
# Common symbols not allowed in MH_DYLIB files
14515
lt_prog_compiler_pic_CXX='-fno-common'
14518
# DJGPP does not support shared libraries at all
14519
lt_prog_compiler_pic_CXX=
14522
if test -d /usr/nec; then
14523
lt_prog_compiler_pic_CXX=-Kconform_pic
14527
# PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
14528
# not for PA HP-UX.
14529
case "$host_cpu" in
14533
lt_prog_compiler_pic_CXX='-fPIC'
14538
lt_prog_compiler_pic_CXX='-fPIC'
14544
# All AIX code is PIC.
14545
if test "$host_cpu" = ia64; then
14546
# AIX 5 now supports IA64 processor
14547
lt_prog_compiler_static_CXX='-Bstatic'
14549
lt_prog_compiler_static_CXX='-bnso -bI:/lib/syscalls.exp'
14553
case $cc_basename in
14555
# Green Hills C++ Compiler
14556
# _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"
14561
case $cc_basename in
14563
lt_prog_compiler_pic_CXX='-KPIC'
14566
# Green Hills C++ Compiler
14567
lt_prog_compiler_pic_CXX='-pic'
14573
freebsd* | kfreebsd*-gnu)
14574
# FreeBSD uses GNU C++
14576
hpux9* | hpux10* | hpux11*)
14577
case $cc_basename in
14579
lt_prog_compiler_wl_CXX='-Wl,'
14580
lt_prog_compiler_static_CXX="${ac_cv_prog_cc_wl}-a ${ac_cv_prog_cc_wl}archive"
14581
if test "$host_cpu" != ia64; then
14582
lt_prog_compiler_pic_CXX='+Z'
14586
lt_prog_compiler_wl_CXX='-Wl,'
14587
lt_prog_compiler_static_CXX="${ac_cv_prog_cc_wl}-a ${ac_cv_prog_cc_wl}archive"
14588
case "$host_cpu" in
14593
lt_prog_compiler_pic_CXX='+Z'
14601
irix5* | irix6* | nonstopux*)
14602
case $cc_basename in
14604
lt_prog_compiler_wl_CXX='-Wl,'
14605
lt_prog_compiler_static_CXX='-non_shared'
14606
# CC pic flag -KPIC is the default.
14613
case $cc_basename in
14616
lt_prog_compiler_wl_CXX='--backend -Wl,'
14617
lt_prog_compiler_pic_CXX='-fPIC'
14621
lt_prog_compiler_wl_CXX='-Wl,'
14622
lt_prog_compiler_pic_CXX='-KPIC'
14623
lt_prog_compiler_static_CXX='-static'
14627
# Make sure the PIC flag is empty. It appears that all Alpha
14628
# Linux and Compaq Tru64 Unix objects are PIC.
14629
lt_prog_compiler_pic_CXX=
14630
lt_prog_compiler_static_CXX='-non_shared'
14641
case $cc_basename in
14643
lt_prog_compiler_pic_CXX='-W c,exportall'
14651
osf3* | osf4* | osf5*)
14652
case $cc_basename in
14654
lt_prog_compiler_wl_CXX='--backend -Wl,'
14657
# Rational C++ 2.4.1
14658
lt_prog_compiler_pic_CXX='-pic'
14661
# Digital/Compaq C++
14662
lt_prog_compiler_wl_CXX='-Wl,'
14663
# Make sure the PIC flag is empty. It appears that all Alpha
14664
# Linux and Compaq Tru64 Unix objects are PIC.
14665
lt_prog_compiler_pic_CXX=
14666
lt_prog_compiler_static_CXX='-non_shared'
14675
case $cc_basename in
14677
lt_prog_compiler_pic_CXX='-fPIC'
14684
case $cc_basename in
14686
# Sun C++ 4.2, 5.x and Centerline C++
14687
lt_prog_compiler_pic_CXX='-KPIC'
14688
lt_prog_compiler_static_CXX='-Bstatic'
14689
lt_prog_compiler_wl_CXX='-Qoption ld '
14692
# Green Hills C++ Compiler
14693
lt_prog_compiler_pic_CXX='-PIC'
14700
case $cc_basename in
14703
lt_prog_compiler_pic_CXX='-pic'
14704
lt_prog_compiler_static_CXX='-Bstatic'
14708
lt_prog_compiler_pic_CXX='-pic'
14715
case $cc_basename in
14717
# NonStop-UX NCC 3.20
14718
lt_prog_compiler_pic_CXX='-KPIC'
14729
lt_prog_compiler_can_build_shared_CXX=no
14734
{ echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_CXX" >&5
14735
echo "${ECHO_T}$lt_prog_compiler_pic_CXX" >&6; }
14738
# Check to make sure the PIC flag actually works.
14740
if test -n "$lt_prog_compiler_pic_CXX"; then
14742
{ echo "$as_me:$LINENO: checking if $compiler PIC flag $lt_prog_compiler_pic_CXX works" >&5
14743
echo $ECHO_N "checking if $compiler PIC flag $lt_prog_compiler_pic_CXX works... $ECHO_C" >&6; }
14744
if test "${lt_prog_compiler_pic_works_CXX+set}" = set; then
14745
echo $ECHO_N "(cached) $ECHO_C" >&6
14747
lt_prog_compiler_pic_works_CXX=no
14748
ac_outfile=conftest.$ac_objext
14749
printf "$lt_simple_compile_test_code" > conftest.$ac_ext
14750
lt_compiler_flag="$lt_prog_compiler_pic_CXX -DPIC"
14751
# Insert the option either (1) after the last *FLAGS variable, or
14752
# (2) before a word containing "conftest.", or (3) at the end.
14753
# Note that $ac_compile itself does not contain backslashes and begins
14754
# with a dollar sign (not a hyphen), so the echo should work correctly.
14755
# The option is referenced via a variable to avoid confusing sed.
14756
lt_compile=`echo "$ac_compile" | $SED \
14757
-e 's:.*FLAGS}? :&$lt_compiler_flag :; t' \
14758
-e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
14759
-e 's:$: $lt_compiler_flag:'`
14760
(eval echo "\"\$as_me:14760: $lt_compile\"" >&5)
14761
(eval "$lt_compile" 2>conftest.err)
14763
cat conftest.err >&5
14764
echo "$as_me:14764: \$? = $ac_status" >&5
14765
if (exit $ac_status) && test -s "$ac_outfile"; then
14766
# The compiler can only warn and ignore the option if not recognized
14767
# So say no if there are warnings
14768
if test ! -s conftest.err; then
14769
lt_prog_compiler_pic_works_CXX=yes
14775
{ echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_works_CXX" >&5
14776
echo "${ECHO_T}$lt_prog_compiler_pic_works_CXX" >&6; }
14778
if test x"$lt_prog_compiler_pic_works_CXX" = xyes; then
14779
case $lt_prog_compiler_pic_CXX in
14781
*) lt_prog_compiler_pic_CXX=" $lt_prog_compiler_pic_CXX" ;;
14784
lt_prog_compiler_pic_CXX=
14785
lt_prog_compiler_can_build_shared_CXX=no
14790
# For platforms which do not support PIC, -DPIC is meaningless:
14792
lt_prog_compiler_pic_CXX=
14795
lt_prog_compiler_pic_CXX="$lt_prog_compiler_pic_CXX -DPIC"
14799
{ echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5
14800
echo $ECHO_N "checking if $compiler supports -c -o file.$ac_objext... $ECHO_C" >&6; }
14801
if test "${lt_cv_prog_compiler_c_o_CXX+set}" = set; then
14802
echo $ECHO_N "(cached) $ECHO_C" >&6
14804
lt_cv_prog_compiler_c_o_CXX=no
14805
$rm -r conftest 2>/dev/null
14809
printf "$lt_simple_compile_test_code" > conftest.$ac_ext
14811
# According to Tom Tromey, Ian Lance Taylor reported there are C compilers
14812
# that will create temporary files in the current directory regardless of
14813
# the output directory. Thus, making CWD read-only will cause this test
14814
# to fail, enabling locking or at least warning the user not to do parallel
14818
lt_compiler_flag="-o out/conftest2.$ac_objext"
14819
# Insert the option either (1) after the last *FLAGS variable, or
14820
# (2) before a word containing "conftest.", or (3) at the end.
14821
# Note that $ac_compile itself does not contain backslashes and begins
14822
# with a dollar sign (not a hyphen), so the echo should work correctly.
14823
lt_compile=`echo "$ac_compile" | $SED \
14824
-e 's:.*FLAGS}? :&$lt_compiler_flag :; t' \
14825
-e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
14826
-e 's:$: $lt_compiler_flag:'`
14827
(eval echo "\"\$as_me:14827: $lt_compile\"" >&5)
14828
(eval "$lt_compile" 2>out/conftest.err)
14830
cat out/conftest.err >&5
14831
echo "$as_me:14831: \$? = $ac_status" >&5
14832
if (exit $ac_status) && test -s out/conftest2.$ac_objext
14834
# The compiler can only warn and ignore the option if not recognized
14835
# So say no if there are warnings
14836
if test ! -s out/conftest.err; then
14837
lt_cv_prog_compiler_c_o_CXX=yes
14841
$rm conftest* out/*
14848
{ echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_c_o_CXX" >&5
14849
echo "${ECHO_T}$lt_cv_prog_compiler_c_o_CXX" >&6; }
14852
hard_links="nottested"
14853
if test "$lt_cv_prog_compiler_c_o_CXX" = no && test "$need_locks" != no; then
14854
# do not overwrite the value of need_locks provided by the user
14855
{ echo "$as_me:$LINENO: checking if we can lock with hard links" >&5
14856
echo $ECHO_N "checking if we can lock with hard links... $ECHO_C" >&6; }
14859
ln conftest.a conftest.b 2>/dev/null && hard_links=no
14861
ln conftest.a conftest.b 2>&5 || hard_links=no
14862
ln conftest.a conftest.b 2>/dev/null && hard_links=no
14863
{ echo "$as_me:$LINENO: result: $hard_links" >&5
14864
echo "${ECHO_T}$hard_links" >&6; }
14865
if test "$hard_links" = no; then
14866
{ echo "$as_me:$LINENO: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
14867
echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
14874
{ echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5
14875
echo $ECHO_N "checking whether the $compiler linker ($LD) supports shared libraries... $ECHO_C" >&6; }
14877
export_symbols_cmds_CXX='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
14880
# If we're using GNU nm, then we don't want the "-C" option.
14881
# -C means demangle to AIX nm, but means don't demangle with GNU nm
14882
if $NM -V 2>&1 | grep 'GNU' > /dev/null; then
14883
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'
14885
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'
14889
export_symbols_cmds_CXX="$ltdll_cmds"
14892
export_symbols_cmds_CXX='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGS] /s/.* \([^ ]*\)/\1 DATA/'\'' | $SED -e '\''/^[AITW] /s/.* //'\'' | sort | uniq > $export_symbols'
14895
export_symbols_cmds_CXX='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
14899
{ echo "$as_me:$LINENO: result: $ld_shlibs_CXX" >&5
14900
echo "${ECHO_T}$ld_shlibs_CXX" >&6; }
14901
test "$ld_shlibs_CXX" = no && can_build_shared=no
14903
variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
14904
if test "$GCC" = yes; then
14905
variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
14909
# Do we need to explicitly link libc?
14911
case "x$archive_cmds_need_lc_CXX" in
14913
# Assume -lc should be added
14914
archive_cmds_need_lc_CXX=yes
14916
if test "$enable_shared" = yes && test "$GCC" = yes; then
14917
case $archive_cmds_CXX in
14919
# FIXME: we may have to deal with multi-command sequences.
14922
# Test whether the compiler implicitly links with -lc since on some
14923
# systems, -lgcc has to come before -lc. If gcc already passes -lc
14924
# to ld, don't add -lc before -lgcc.
14925
{ echo "$as_me:$LINENO: checking whether -lc should be explicitly linked in" >&5
14926
echo $ECHO_N "checking whether -lc should be explicitly linked in... $ECHO_C" >&6; }
14928
printf "$lt_simple_compile_test_code" > conftest.$ac_ext
14930
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14931
(eval $ac_compile) 2>&5
14933
echo "$as_me:$LINENO: \$? = $ac_status" >&5
14934
(exit $ac_status); } 2>conftest.err; then
14937
libobjs=conftest.$ac_objext
14939
wl=$lt_prog_compiler_wl_CXX
14945
lt_save_allow_undefined_flag=$allow_undefined_flag_CXX
14946
allow_undefined_flag_CXX=
14947
if { (eval echo "$as_me:$LINENO: \"$archive_cmds_CXX 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1\"") >&5
14948
(eval $archive_cmds_CXX 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1) 2>&5
14950
echo "$as_me:$LINENO: \$? = $ac_status" >&5
14951
(exit $ac_status); }
14953
archive_cmds_need_lc_CXX=no
14955
archive_cmds_need_lc_CXX=yes
14957
allow_undefined_flag_CXX=$lt_save_allow_undefined_flag
14959
cat conftest.err 1>&5
14962
{ echo "$as_me:$LINENO: result: $archive_cmds_need_lc_CXX" >&5
14963
echo "${ECHO_T}$archive_cmds_need_lc_CXX" >&6; }
14970
{ echo "$as_me:$LINENO: checking dynamic linker characteristics" >&5
14971
echo $ECHO_N "checking dynamic linker characteristics... $ECHO_C" >&6; }
14972
library_names_spec=
14973
libname_spec='lib$name'
14977
postuninstall_cmds=
14981
shlibpath_overrides_runpath=unknown
14983
dynamic_linker="$host_os ld.so"
14984
sys_lib_dlsearch_path_spec="/lib /usr/lib"
14985
sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"
14986
need_lib_prefix=unknown
14987
hardcode_into_libs=no
14989
# when you set need_version to no, make sure it does not cause -set_version
14990
# flags to be left without arguments
14991
need_version=unknown
14996
library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a'
14997
shlibpath_var=LIBPATH
14999
# AIX 3 has no versioning support, so we append a major version to the name.
15000
soname_spec='${libname}${release}${shared_ext}$major'
15007
hardcode_into_libs=yes
15008
if test "$host_cpu" = ia64; then
15009
# AIX 5 supports IA64
15010
library_names_spec='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
15011
shlibpath_var=LD_LIBRARY_PATH
15013
# With GCC up to 2.95.x, collect2 would create an import file
15014
# for dependence libraries. The import file would start with
15015
# the line `#! .'. This would cause the generated library to
15016
# depend on `.', always an invalid library. This was fixed in
15017
# development snapshots of GCC prior to 3.0.
15019
aix4 | aix4.[01] | aix4.[01].*)
15020
if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
15022
echo '#endif'; } | ${CC} -E - | grep yes > /dev/null; then
15025
can_build_shared=no
15029
# AIX (on Power*) has no versioning support, so currently we can not hardcode correct
15030
# soname into executable. Probably we can add versioning support to
15031
# collect2, so additional links can be useful in future.
15032
if test "$aix_use_runtimelinking" = yes; then
15033
# If using run time linking (on AIX 4.2 or later) use lib<name>.so
15034
# instead of lib<name>.a to let people know that these are not
15035
# typical AIX shared libraries.
15036
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15038
# We preserve .a as extension for shared libraries through AIX4.2
15039
# and later when we are not doing run time linking.
15040
library_names_spec='${libname}${release}.a $libname.a'
15041
soname_spec='${libname}${release}${shared_ext}$major'
15043
shlibpath_var=LIBPATH
15048
library_names_spec='$libname.ixlibrary $libname.a'
15049
# Create ${libname}_ixlibrary.a entries in /sys/libs.
15050
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'
15054
library_names_spec='${libname}${shared_ext}'
15055
dynamic_linker="$host_os ld.so"
15056
shlibpath_var=LIBRARY_PATH
15062
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15063
soname_spec='${libname}${release}${shared_ext}$major'
15064
finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
15065
shlibpath_var=LD_LIBRARY_PATH
15066
sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
15067
sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
15068
# the default ld.so.conf also contains /usr/contrib/lib and
15069
# /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
15070
# libtool to hard-code these into programs
15073
cygwin* | mingw* | pw32*)
15074
version_type=windows
15079
case $GCC,$host_os in
15080
yes,cygwin* | yes,mingw* | yes,pw32*)
15081
library_names_spec='$libname.dll.a'
15082
# DLL is installed to $(libdir)/../bin by postinstall_cmds
15083
postinstall_cmds='base_file=`basename \${file}`~
15084
dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i;echo \$dlname'\''`~
15085
dldir=$destdir/`dirname \$dlpath`~
15086
test -d \$dldir || mkdir -p \$dldir~
15087
$install_prog $dir/$dlname \$dldir/$dlname'
15088
postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
15089
dlpath=$dir/\$dldll~
15091
shlibpath_overrides_runpath=yes
15095
# Cygwin DLLs use 'cyg' prefix rather than 'lib'
15096
soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
15097
sys_lib_search_path_spec="/usr/lib /lib/w32api /lib /usr/local/lib"
15100
# MinGW DLLs use traditional 'lib' prefix
15101
soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
15102
sys_lib_search_path_spec=`$CC -print-search-dirs | grep "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
15103
if echo "$sys_lib_search_path_spec" | grep ';[c-zC-Z]:/' >/dev/null; then
15104
# It is most probably a Windows format PATH printed by
15105
# mingw gcc, but we are running on Cygwin. Gcc prints its search
15106
# path with ; separators, and with drive letters. We can handle the
15107
# drive letters (cygwin fileutils understands them), so leave them,
15108
# especially as we might pass files found there to a mingw objdump,
15109
# which wouldn't understand a cygwinified path. Ahh.
15110
sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
15112
sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
15116
# pw32 DLLs use 'pw' prefix rather than 'lib'
15117
library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/./-/g'`${versuffix}${shared_ext}'
15123
library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
15126
dynamic_linker='Win32 ld.exe'
15127
# FIXME: first we should search . and the directory the executable is in
15131
darwin* | rhapsody*)
15132
dynamic_linker="$host_os dyld"
15133
version_type=darwin
15136
library_names_spec='${libname}${release}${versuffix}$shared_ext ${libname}${release}${major}$shared_ext ${libname}$shared_ext'
15137
soname_spec='${libname}${release}${major}$shared_ext'
15138
shlibpath_overrides_runpath=yes
15139
shlibpath_var=DYLD_LIBRARY_PATH
15140
shrext='$(test .$module = .yes && echo .so || echo .dylib)'
15141
# Apple's gcc prints 'gcc -print-search-dirs' doesn't operate the same.
15142
if test "$GCC" = yes; then
15143
sys_lib_search_path_spec=`$CC -print-search-dirs | tr "\n" "$PATH_SEPARATOR" | sed -e 's/libraries:/@libraries:/' | tr "@" "\n" | grep "^libraries:" | sed -e "s/^libraries://" -e "s,=/,/,g" -e "s,$PATH_SEPARATOR, ,g" -e "s,.*,& /lib /usr/lib /usr/local/lib,g"`
15145
sys_lib_search_path_spec='/lib /usr/lib /usr/local/lib'
15147
sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
15154
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
15155
soname_spec='${libname}${release}${shared_ext}$major'
15156
shlibpath_var=LD_LIBRARY_PATH
15167
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
15168
soname_spec='${libname}${release}${shared_ext}$major'
15169
shlibpath_var=LD_LIBRARY_PATH
15170
shlibpath_overrides_runpath=no
15171
hardcode_into_libs=yes
15172
dynamic_linker='GNU ld.so'
15176
objformat=`test -x /usr/bin/objformat && /usr/bin/objformat || echo aout`
15177
version_type=freebsd-$objformat
15178
case $version_type in
15180
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
15185
library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
15189
shlibpath_var=LD_LIBRARY_PATH
15192
shlibpath_overrides_runpath=yes
15194
freebsd3.01* | freebsdelf3.01*)
15195
shlibpath_overrides_runpath=yes
15196
hardcode_into_libs=yes
15199
shlibpath_overrides_runpath=no
15200
hardcode_into_libs=yes
15209
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
15210
soname_spec='${libname}${release}${shared_ext}$major'
15211
shlibpath_var=LD_LIBRARY_PATH
15212
hardcode_into_libs=yes
15215
hpux9* | hpux10* | hpux11*)
15216
# Give a soname corresponding to the major version so that dld.sl refuses to
15217
# link against other versions.
15221
case "$host_cpu" in
15224
hardcode_into_libs=yes
15225
dynamic_linker="$host_os dld.so"
15226
shlibpath_var=LD_LIBRARY_PATH
15227
shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
15228
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15229
soname_spec='${libname}${release}${shared_ext}$major'
15230
if test "X$HPUX_IA64_MODE" = X32; then
15231
sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
15233
sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
15235
sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
15239
hardcode_into_libs=yes
15240
dynamic_linker="$host_os dld.sl"
15241
shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
15242
shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
15243
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15244
soname_spec='${libname}${release}${shared_ext}$major'
15245
sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
15246
sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
15250
dynamic_linker="$host_os dld.sl"
15251
shlibpath_var=SHLIB_PATH
15252
shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
15253
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15254
soname_spec='${libname}${release}${shared_ext}$major'
15257
# HP-UX runs *really* slowly unless shared libraries are mode 555.
15258
postinstall_cmds='chmod 555 $lib'
15261
irix5* | irix6* | nonstopux*)
15263
nonstopux*) version_type=nonstopux ;;
15265
if test "$lt_cv_prog_gnu_ld" = yes; then
15273
soname_spec='${libname}${release}${shared_ext}$major'
15274
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
15276
irix5* | nonstopux*)
15277
libsuff= shlibsuff=
15280
case $LD in # libtool.m4 will add one of these switches to LD
15281
*-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
15282
libsuff= shlibsuff= libmagic=32-bit;;
15283
*-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
15284
libsuff=32 shlibsuff=N32 libmagic=N32;;
15285
*-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
15286
libsuff=64 shlibsuff=64 libmagic=64-bit;;
15287
*) libsuff= shlibsuff= libmagic=never-match;;
15291
shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
15292
shlibpath_overrides_runpath=no
15293
sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
15294
sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}"
15295
hardcode_into_libs=yes
15298
# No shared lib support for Linux oldld, aout, or coff.
15299
linux*oldld* | linux*aout* | linux*coff*)
15303
# This must be Linux ELF.
15308
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15309
soname_spec='${libname}${release}${shared_ext}$major'
15310
finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
15312
if test "x$LINUX_64_MODE" = x64; then
15313
# Some platforms are per default 64-bit, so there's no /lib64
15314
if test -d /lib64; then
15318
shlibpath_var=LD_LIBRARY_PATH
15319
shlibpath_overrides_runpath=no
15320
sys_lib_dlsearch_path_spec="/lib${libsuff} /usr/lib${libsuff}"
15321
sys_lib_search_path_spec="/lib${libsuff} /usr/lib${libsuff} /usr/local/lib${libsuff}"
15322
# This implies no fast_install, which is unacceptable.
15323
# Some rework will be needed to allow for fast_install
15324
# before this can be enabled.
15325
hardcode_into_libs=yes
15327
# We used to test for /lib/ld.so.1 and disable shared libraries on
15328
# powerpc, because MkLinux only supported shared libraries with the
15329
# GNU dynamic linker. Since this was broken with cross compilers,
15330
# most powerpc-linux boxes support dynamic linking these days and
15331
# people can always --disable-shared, the test was removed, and we
15332
# assume the GNU/Linux dynamic linker is in use.
15333
dynamic_linker='GNU/Linux ld.so'
15340
if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
15341
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
15342
finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
15343
dynamic_linker='NetBSD (a.out) ld.so'
15345
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} ${libname}${shared_ext}'
15346
soname_spec='${libname}${release}${shared_ext}$major'
15347
dynamic_linker='NetBSD ld.elf_so'
15349
shlibpath_var=LD_LIBRARY_PATH
15350
shlibpath_overrides_runpath=yes
15351
hardcode_into_libs=yes
15356
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15357
shlibpath_var=LD_LIBRARY_PATH
15358
shlibpath_overrides_runpath=yes
15365
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15366
soname_spec='${libname}${release}${shared_ext}$major'
15367
shlibpath_var=LD_LIBRARY_PATH
15368
shlibpath_overrides_runpath=yes
15375
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
15376
finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
15377
shlibpath_var=LD_LIBRARY_PATH
15378
if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
15380
openbsd2.[89] | openbsd2.[89].*)
15381
shlibpath_overrides_runpath=no
15384
shlibpath_overrides_runpath=yes
15388
shlibpath_overrides_runpath=yes
15393
libname_spec='$name'
15396
library_names_spec='$libname${shared_ext} $libname.a'
15397
dynamic_linker='OS/2 ld.exe'
15398
shlibpath_var=LIBPATH
15401
osf3* | osf4* | osf5*)
15405
soname_spec='${libname}${release}${shared_ext}$major'
15406
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15407
shlibpath_var=LD_LIBRARY_PATH
15408
sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
15409
sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec"
15414
soname_spec='${libname}${release}${shared_ext}$major'
15415
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15416
shlibpath_var=LD_LIBRARY_PATH
15423
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15424
soname_spec='${libname}${release}${shared_ext}$major'
15425
shlibpath_var=LD_LIBRARY_PATH
15426
shlibpath_overrides_runpath=yes
15427
hardcode_into_libs=yes
15428
# ldd complains unless libraries are executable
15429
postinstall_cmds='chmod +x $lib'
15434
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
15435
finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
15436
shlibpath_var=LD_LIBRARY_PATH
15437
shlibpath_overrides_runpath=yes
15438
if test "$with_gnu_ld" = yes; then
15444
sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
15446
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15447
soname_spec='${libname}${release}${shared_ext}$major'
15448
shlibpath_var=LD_LIBRARY_PATH
15449
case $host_vendor in
15451
shlibpath_overrides_runpath=no
15453
export_dynamic_flag_spec='${wl}-Blargedynsym'
15454
runpath_var=LD_RUN_PATH
15462
shlibpath_overrides_runpath=no
15463
sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
15469
if test -d /usr/nec ;then
15471
library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
15472
soname_spec='$libname${shared_ext}.$major'
15473
shlibpath_var=LD_LIBRARY_PATH
15479
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15480
soname_spec='${libname}${release}${shared_ext}$major'
15481
shlibpath_var=LD_LIBRARY_PATH
15488
{ echo "$as_me:$LINENO: result: $dynamic_linker" >&5
15489
echo "${ECHO_T}$dynamic_linker" >&6; }
15490
test "$dynamic_linker" = no && can_build_shared=no
15492
{ echo "$as_me:$LINENO: checking how to hardcode library paths into programs" >&5
15493
echo $ECHO_N "checking how to hardcode library paths into programs... $ECHO_C" >&6; }
15494
hardcode_action_CXX=
15495
if test -n "$hardcode_libdir_flag_spec_CXX" || \
15496
test -n "$runpath_var CXX" || \
15497
test "X$hardcode_automatic_CXX"="Xyes" ; then
15499
# We can hardcode non-existant directories.
15500
if test "$hardcode_direct_CXX" != no &&
15501
# If the only mechanism to avoid hardcoding is shlibpath_var, we
15502
# have to relink, otherwise we might link with an installed library
15503
# when we should be linking with a yet-to-be-installed one
15504
## test "$_LT_AC_TAGVAR(hardcode_shlibpath_var, CXX)" != no &&
15505
test "$hardcode_minus_L_CXX" != no; then
15506
# Linking always hardcodes the temporary library directory.
15507
hardcode_action_CXX=relink
15509
# We can link without hardcoding, and we can hardcode nonexisting dirs.
15510
hardcode_action_CXX=immediate
15513
# We cannot hardcode anything, or else we can only hardcode existing
15515
hardcode_action_CXX=unsupported
15517
{ echo "$as_me:$LINENO: result: $hardcode_action_CXX" >&5
15518
echo "${ECHO_T}$hardcode_action_CXX" >&6; }
15520
if test "$hardcode_action_CXX" = relink; then
15521
# Fast installation is not supported
15522
enable_fast_install=no
15523
elif test "$shlibpath_overrides_runpath" = yes ||
15524
test "$enable_shared" = no; then
15525
# Fast installation is not necessary
15526
enable_fast_install=needless
15531
{ echo "$as_me:$LINENO: checking whether stripping libraries is possible" >&5
15532
echo $ECHO_N "checking whether stripping libraries is possible... $ECHO_C" >&6; }
15533
if test -n "$STRIP" && $STRIP -V 2>&1 | grep "GNU strip" >/dev/null; then
15534
test -z "$old_striplib" && old_striplib="$STRIP --strip-debug"
15535
test -z "$striplib" && striplib="$STRIP --strip-unneeded"
15536
{ echo "$as_me:$LINENO: result: yes" >&5
15537
echo "${ECHO_T}yes" >&6; }
15539
# FIXME - insert some real tests, host_os isn't really good enough
15542
if test -n "$STRIP" ; then
15543
striplib="$STRIP -x"
15544
{ echo "$as_me:$LINENO: result: yes" >&5
15545
echo "${ECHO_T}yes" >&6; }
15547
{ echo "$as_me:$LINENO: result: no" >&5
15548
echo "${ECHO_T}no" >&6; }
15552
{ echo "$as_me:$LINENO: result: no" >&5
15553
echo "${ECHO_T}no" >&6; }
15558
if test "x$enable_dlopen" != xyes; then
15559
enable_dlopen=unknown
15560
enable_dlopen_self=unknown
15561
enable_dlopen_self_static=unknown
15568
lt_cv_dlopen="load_add_on"
15570
lt_cv_dlopen_self=yes
15574
lt_cv_dlopen="LoadLibrary"
15579
lt_cv_dlopen="dlopen"
15584
# if libdl is installed we need to link against it
15585
{ echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
15586
echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6; }
15587
if test "${ac_cv_lib_dl_dlopen+set}" = set; then
15588
echo $ECHO_N "(cached) $ECHO_C" >&6
15590
ac_check_lib_save_LIBS=$LIBS
15592
cat >conftest.$ac_ext <<_ACEOF
15595
cat confdefs.h >>conftest.$ac_ext
15596
cat >>conftest.$ac_ext <<_ACEOF
15597
/* end confdefs.h. */
15599
/* Override any GCC internal prototype to avoid an error.
15600
Use char because int might match the return type of a GCC
15601
builtin and then its argument prototype would still apply. */
15614
rm -f conftest.$ac_objext conftest$ac_exeext
15615
if { (ac_try="$ac_link"
15616
case "(($ac_try" in
15617
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15618
*) ac_try_echo=$ac_try;;
15620
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15621
(eval "$ac_link") 2>conftest.er1
15623
grep -v '^ *+' conftest.er1 >conftest.err
15625
cat conftest.err >&5
15626
echo "$as_me:$LINENO: \$? = $ac_status" >&5
15627
(exit $ac_status); } && {
15628
test -z "$ac_cxx_werror_flag" ||
15629
test ! -s conftest.err
15630
} && test -s conftest$ac_exeext &&
15631
$as_test_x conftest$ac_exeext; then
15632
ac_cv_lib_dl_dlopen=yes
15634
echo "$as_me: failed program was:" >&5
15635
sed 's/^/| /' conftest.$ac_ext >&5
15637
ac_cv_lib_dl_dlopen=no
15640
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
15641
conftest$ac_exeext conftest.$ac_ext
15642
LIBS=$ac_check_lib_save_LIBS
15644
{ echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
15645
echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6; }
15646
if test $ac_cv_lib_dl_dlopen = yes; then
15647
lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
15650
lt_cv_dlopen="dyld"
15652
lt_cv_dlopen_self=yes
15659
{ echo "$as_me:$LINENO: checking for shl_load" >&5
15660
echo $ECHO_N "checking for shl_load... $ECHO_C" >&6; }
15661
if test "${ac_cv_func_shl_load+set}" = set; then
15662
echo $ECHO_N "(cached) $ECHO_C" >&6
15664
cat >conftest.$ac_ext <<_ACEOF
15667
cat confdefs.h >>conftest.$ac_ext
15668
cat >>conftest.$ac_ext <<_ACEOF
15669
/* end confdefs.h. */
15670
/* Define shl_load to an innocuous variant, in case <limits.h> declares shl_load.
15671
For example, HP-UX 11i <limits.h> declares gettimeofday. */
15672
#define shl_load innocuous_shl_load
15674
/* System header to define __stub macros and hopefully few prototypes,
15675
which can conflict with char shl_load (); below.
15676
Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
15677
<limits.h> exists even on freestanding compilers. */
15680
# include <limits.h>
15682
# include <assert.h>
15687
/* Override any GCC internal prototype to avoid an error.
15688
Use char because int might match the return type of a GCC
15689
builtin and then its argument prototype would still apply. */
15694
/* The GNU C library defines this for functions which it implements
15695
to always fail with ENOSYS. Some functions are actually named
15696
something starting with __ and the normal name is an alias. */
15697
#if defined __stub_shl_load || defined __stub___shl_load
15704
return shl_load ();
15709
rm -f conftest.$ac_objext conftest$ac_exeext
15710
if { (ac_try="$ac_link"
15711
case "(($ac_try" in
15712
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15713
*) ac_try_echo=$ac_try;;
15715
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15716
(eval "$ac_link") 2>conftest.er1
15718
grep -v '^ *+' conftest.er1 >conftest.err
15720
cat conftest.err >&5
15721
echo "$as_me:$LINENO: \$? = $ac_status" >&5
15722
(exit $ac_status); } && {
15723
test -z "$ac_cxx_werror_flag" ||
15724
test ! -s conftest.err
15725
} && test -s conftest$ac_exeext &&
15726
$as_test_x conftest$ac_exeext; then
15727
ac_cv_func_shl_load=yes
15729
echo "$as_me: failed program was:" >&5
15730
sed 's/^/| /' conftest.$ac_ext >&5
15732
ac_cv_func_shl_load=no
15735
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
15736
conftest$ac_exeext conftest.$ac_ext
15738
{ echo "$as_me:$LINENO: result: $ac_cv_func_shl_load" >&5
15739
echo "${ECHO_T}$ac_cv_func_shl_load" >&6; }
15740
if test $ac_cv_func_shl_load = yes; then
15741
lt_cv_dlopen="shl_load"
15743
{ echo "$as_me:$LINENO: checking for shl_load in -ldld" >&5
15744
echo $ECHO_N "checking for shl_load in -ldld... $ECHO_C" >&6; }
15745
if test "${ac_cv_lib_dld_shl_load+set}" = set; then
15746
echo $ECHO_N "(cached) $ECHO_C" >&6
15748
ac_check_lib_save_LIBS=$LIBS
15750
cat >conftest.$ac_ext <<_ACEOF
15753
cat confdefs.h >>conftest.$ac_ext
15754
cat >>conftest.$ac_ext <<_ACEOF
15755
/* end confdefs.h. */
15757
/* Override any GCC internal prototype to avoid an error.
15758
Use char because int might match the return type of a GCC
15759
builtin and then its argument prototype would still apply. */
15767
return shl_load ();
15772
rm -f conftest.$ac_objext conftest$ac_exeext
15773
if { (ac_try="$ac_link"
15774
case "(($ac_try" in
15775
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15776
*) ac_try_echo=$ac_try;;
15778
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15779
(eval "$ac_link") 2>conftest.er1
15781
grep -v '^ *+' conftest.er1 >conftest.err
15783
cat conftest.err >&5
15784
echo "$as_me:$LINENO: \$? = $ac_status" >&5
15785
(exit $ac_status); } && {
15786
test -z "$ac_cxx_werror_flag" ||
15787
test ! -s conftest.err
15788
} && test -s conftest$ac_exeext &&
15789
$as_test_x conftest$ac_exeext; then
15790
ac_cv_lib_dld_shl_load=yes
15792
echo "$as_me: failed program was:" >&5
15793
sed 's/^/| /' conftest.$ac_ext >&5
15795
ac_cv_lib_dld_shl_load=no
15798
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
15799
conftest$ac_exeext conftest.$ac_ext
15800
LIBS=$ac_check_lib_save_LIBS
15802
{ echo "$as_me:$LINENO: result: $ac_cv_lib_dld_shl_load" >&5
15803
echo "${ECHO_T}$ac_cv_lib_dld_shl_load" >&6; }
15804
if test $ac_cv_lib_dld_shl_load = yes; then
15805
lt_cv_dlopen="shl_load" lt_cv_dlopen_libs="-dld"
15807
{ echo "$as_me:$LINENO: checking for dlopen" >&5
15808
echo $ECHO_N "checking for dlopen... $ECHO_C" >&6; }
15809
if test "${ac_cv_func_dlopen+set}" = set; then
15810
echo $ECHO_N "(cached) $ECHO_C" >&6
15812
cat >conftest.$ac_ext <<_ACEOF
15815
cat confdefs.h >>conftest.$ac_ext
15816
cat >>conftest.$ac_ext <<_ACEOF
15817
/* end confdefs.h. */
15818
/* Define dlopen to an innocuous variant, in case <limits.h> declares dlopen.
15819
For example, HP-UX 11i <limits.h> declares gettimeofday. */
15820
#define dlopen innocuous_dlopen
15822
/* System header to define __stub macros and hopefully few prototypes,
15823
which can conflict with char dlopen (); below.
15824
Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
15825
<limits.h> exists even on freestanding compilers. */
15828
# include <limits.h>
15830
# include <assert.h>
15835
/* Override any GCC internal prototype to avoid an error.
15836
Use char because int might match the return type of a GCC
15837
builtin and then its argument prototype would still apply. */
15842
/* The GNU C library defines this for functions which it implements
15843
to always fail with ENOSYS. Some functions are actually named
15844
something starting with __ and the normal name is an alias. */
15845
#if defined __stub_dlopen || defined __stub___dlopen
15857
rm -f conftest.$ac_objext conftest$ac_exeext
15858
if { (ac_try="$ac_link"
15859
case "(($ac_try" in
15860
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15861
*) ac_try_echo=$ac_try;;
15863
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15864
(eval "$ac_link") 2>conftest.er1
15866
grep -v '^ *+' conftest.er1 >conftest.err
15868
cat conftest.err >&5
15869
echo "$as_me:$LINENO: \$? = $ac_status" >&5
15870
(exit $ac_status); } && {
15871
test -z "$ac_cxx_werror_flag" ||
15872
test ! -s conftest.err
15873
} && test -s conftest$ac_exeext &&
15874
$as_test_x conftest$ac_exeext; then
15875
ac_cv_func_dlopen=yes
15877
echo "$as_me: failed program was:" >&5
15878
sed 's/^/| /' conftest.$ac_ext >&5
15880
ac_cv_func_dlopen=no
15883
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
15884
conftest$ac_exeext conftest.$ac_ext
15886
{ echo "$as_me:$LINENO: result: $ac_cv_func_dlopen" >&5
15887
echo "${ECHO_T}$ac_cv_func_dlopen" >&6; }
15888
if test $ac_cv_func_dlopen = yes; then
15889
lt_cv_dlopen="dlopen"
15891
{ echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
15892
echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6; }
15893
if test "${ac_cv_lib_dl_dlopen+set}" = set; then
15894
echo $ECHO_N "(cached) $ECHO_C" >&6
15896
ac_check_lib_save_LIBS=$LIBS
15898
cat >conftest.$ac_ext <<_ACEOF
15901
cat confdefs.h >>conftest.$ac_ext
15902
cat >>conftest.$ac_ext <<_ACEOF
15903
/* end confdefs.h. */
15905
/* Override any GCC internal prototype to avoid an error.
15906
Use char because int might match the return type of a GCC
15907
builtin and then its argument prototype would still apply. */
15920
rm -f conftest.$ac_objext conftest$ac_exeext
15921
if { (ac_try="$ac_link"
15922
case "(($ac_try" in
15923
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15924
*) ac_try_echo=$ac_try;;
15926
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15927
(eval "$ac_link") 2>conftest.er1
15929
grep -v '^ *+' conftest.er1 >conftest.err
15931
cat conftest.err >&5
15932
echo "$as_me:$LINENO: \$? = $ac_status" >&5
15933
(exit $ac_status); } && {
15934
test -z "$ac_cxx_werror_flag" ||
15935
test ! -s conftest.err
15936
} && test -s conftest$ac_exeext &&
15937
$as_test_x conftest$ac_exeext; then
15938
ac_cv_lib_dl_dlopen=yes
15940
echo "$as_me: failed program was:" >&5
15941
sed 's/^/| /' conftest.$ac_ext >&5
15943
ac_cv_lib_dl_dlopen=no
15946
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
15947
conftest$ac_exeext conftest.$ac_ext
15948
LIBS=$ac_check_lib_save_LIBS
15950
{ echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
15951
echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6; }
15952
if test $ac_cv_lib_dl_dlopen = yes; then
15953
lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
15955
{ echo "$as_me:$LINENO: checking for dlopen in -lsvld" >&5
15956
echo $ECHO_N "checking for dlopen in -lsvld... $ECHO_C" >&6; }
15957
if test "${ac_cv_lib_svld_dlopen+set}" = set; then
15958
echo $ECHO_N "(cached) $ECHO_C" >&6
15960
ac_check_lib_save_LIBS=$LIBS
15961
LIBS="-lsvld $LIBS"
15962
cat >conftest.$ac_ext <<_ACEOF
15965
cat confdefs.h >>conftest.$ac_ext
15966
cat >>conftest.$ac_ext <<_ACEOF
15967
/* end confdefs.h. */
15969
/* Override any GCC internal prototype to avoid an error.
15970
Use char because int might match the return type of a GCC
15971
builtin and then its argument prototype would still apply. */
15984
rm -f conftest.$ac_objext conftest$ac_exeext
15985
if { (ac_try="$ac_link"
15986
case "(($ac_try" in
15987
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15988
*) ac_try_echo=$ac_try;;
15990
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15991
(eval "$ac_link") 2>conftest.er1
15993
grep -v '^ *+' conftest.er1 >conftest.err
15995
cat conftest.err >&5
15996
echo "$as_me:$LINENO: \$? = $ac_status" >&5
15997
(exit $ac_status); } && {
15998
test -z "$ac_cxx_werror_flag" ||
15999
test ! -s conftest.err
16000
} && test -s conftest$ac_exeext &&
16001
$as_test_x conftest$ac_exeext; then
16002
ac_cv_lib_svld_dlopen=yes
16004
echo "$as_me: failed program was:" >&5
16005
sed 's/^/| /' conftest.$ac_ext >&5
16007
ac_cv_lib_svld_dlopen=no
16010
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
16011
conftest$ac_exeext conftest.$ac_ext
16012
LIBS=$ac_check_lib_save_LIBS
16014
{ echo "$as_me:$LINENO: result: $ac_cv_lib_svld_dlopen" >&5
16015
echo "${ECHO_T}$ac_cv_lib_svld_dlopen" >&6; }
16016
if test $ac_cv_lib_svld_dlopen = yes; then
16017
lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-lsvld"
16019
{ echo "$as_me:$LINENO: checking for dld_link in -ldld" >&5
16020
echo $ECHO_N "checking for dld_link in -ldld... $ECHO_C" >&6; }
16021
if test "${ac_cv_lib_dld_dld_link+set}" = set; then
16022
echo $ECHO_N "(cached) $ECHO_C" >&6
16024
ac_check_lib_save_LIBS=$LIBS
16026
cat >conftest.$ac_ext <<_ACEOF
16029
cat confdefs.h >>conftest.$ac_ext
16030
cat >>conftest.$ac_ext <<_ACEOF
16031
/* end confdefs.h. */
16033
/* Override any GCC internal prototype to avoid an error.
16034
Use char because int might match the return type of a GCC
16035
builtin and then its argument prototype would still apply. */
16043
return dld_link ();
16048
rm -f conftest.$ac_objext conftest$ac_exeext
16049
if { (ac_try="$ac_link"
16050
case "(($ac_try" in
16051
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16052
*) ac_try_echo=$ac_try;;
16054
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16055
(eval "$ac_link") 2>conftest.er1
16057
grep -v '^ *+' conftest.er1 >conftest.err
16059
cat conftest.err >&5
16060
echo "$as_me:$LINENO: \$? = $ac_status" >&5
16061
(exit $ac_status); } && {
16062
test -z "$ac_cxx_werror_flag" ||
16063
test ! -s conftest.err
16064
} && test -s conftest$ac_exeext &&
16065
$as_test_x conftest$ac_exeext; then
16066
ac_cv_lib_dld_dld_link=yes
16068
echo "$as_me: failed program was:" >&5
16069
sed 's/^/| /' conftest.$ac_ext >&5
16071
ac_cv_lib_dld_dld_link=no
16074
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
16075
conftest$ac_exeext conftest.$ac_ext
16076
LIBS=$ac_check_lib_save_LIBS
16078
{ echo "$as_me:$LINENO: result: $ac_cv_lib_dld_dld_link" >&5
16079
echo "${ECHO_T}$ac_cv_lib_dld_dld_link" >&6; }
16080
if test $ac_cv_lib_dld_dld_link = yes; then
16081
lt_cv_dlopen="dld_link" lt_cv_dlopen_libs="-dld"
16102
if test "x$lt_cv_dlopen" != xno; then
16108
case $lt_cv_dlopen in
16110
save_CPPFLAGS="$CPPFLAGS"
16111
test "x$ac_cv_header_dlfcn_h" = xyes && CPPFLAGS="$CPPFLAGS -DHAVE_DLFCN_H"
16113
save_LDFLAGS="$LDFLAGS"
16114
eval LDFLAGS=\"\$LDFLAGS $export_dynamic_flag_spec\"
16117
LIBS="$lt_cv_dlopen_libs $LIBS"
16119
{ echo "$as_me:$LINENO: checking whether a program can dlopen itself" >&5
16120
echo $ECHO_N "checking whether a program can dlopen itself... $ECHO_C" >&6; }
16121
if test "${lt_cv_dlopen_self+set}" = set; then
16122
echo $ECHO_N "(cached) $ECHO_C" >&6
16124
if test "$cross_compiling" = yes; then :
16125
lt_cv_dlopen_self=cross
16127
lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
16128
lt_status=$lt_dlunknown
16129
cat > conftest.$ac_ext <<EOF
16130
#line 16130 "configure"
16131
#include "confdefs.h"
16140
# define LT_DLGLOBAL RTLD_GLOBAL
16143
# define LT_DLGLOBAL DL_GLOBAL
16145
# define LT_DLGLOBAL 0
16149
/* We may have to define LT_DLLAZY_OR_NOW in the command line if we
16150
find out it does not work in some platform. */
16151
#ifndef LT_DLLAZY_OR_NOW
16153
# define LT_DLLAZY_OR_NOW RTLD_LAZY
16156
# define LT_DLLAZY_OR_NOW DL_LAZY
16159
# define LT_DLLAZY_OR_NOW RTLD_NOW
16162
# define LT_DLLAZY_OR_NOW DL_NOW
16164
# define LT_DLLAZY_OR_NOW 0
16172
extern "C" void exit (int);
16175
void fnord() { int i=42;}
16178
void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
16179
int status = $lt_dlunknown;
16183
if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
16184
else if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
16185
/* dlclose (self); */
16191
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
16192
(eval $ac_link) 2>&5
16194
echo "$as_me:$LINENO: \$? = $ac_status" >&5
16195
(exit $ac_status); } && test -s conftest${ac_exeext} 2>/dev/null; then
16196
(./conftest; exit; ) 2>/dev/null
16198
case x$lt_status in
16199
x$lt_dlno_uscore) lt_cv_dlopen_self=yes ;;
16200
x$lt_dlneed_uscore) lt_cv_dlopen_self=yes ;;
16201
x$lt_unknown|x*) lt_cv_dlopen_self=no ;;
16204
# compilation failed
16205
lt_cv_dlopen_self=no
16212
{ echo "$as_me:$LINENO: result: $lt_cv_dlopen_self" >&5
16213
echo "${ECHO_T}$lt_cv_dlopen_self" >&6; }
16215
if test "x$lt_cv_dlopen_self" = xyes; then
16216
LDFLAGS="$LDFLAGS $link_static_flag"
16217
{ echo "$as_me:$LINENO: checking whether a statically linked program can dlopen itself" >&5
16218
echo $ECHO_N "checking whether a statically linked program can dlopen itself... $ECHO_C" >&6; }
16219
if test "${lt_cv_dlopen_self_static+set}" = set; then
16220
echo $ECHO_N "(cached) $ECHO_C" >&6
16222
if test "$cross_compiling" = yes; then :
16223
lt_cv_dlopen_self_static=cross
16225
lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
16226
lt_status=$lt_dlunknown
16227
cat > conftest.$ac_ext <<EOF
16228
#line 16228 "configure"
16229
#include "confdefs.h"
16238
# define LT_DLGLOBAL RTLD_GLOBAL
16241
# define LT_DLGLOBAL DL_GLOBAL
16243
# define LT_DLGLOBAL 0
16247
/* We may have to define LT_DLLAZY_OR_NOW in the command line if we
16248
find out it does not work in some platform. */
16249
#ifndef LT_DLLAZY_OR_NOW
16251
# define LT_DLLAZY_OR_NOW RTLD_LAZY
16254
# define LT_DLLAZY_OR_NOW DL_LAZY
16257
# define LT_DLLAZY_OR_NOW RTLD_NOW
16260
# define LT_DLLAZY_OR_NOW DL_NOW
16262
# define LT_DLLAZY_OR_NOW 0
16270
extern "C" void exit (int);
16273
void fnord() { int i=42;}
16276
void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
16277
int status = $lt_dlunknown;
16281
if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
16282
else if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
16283
/* dlclose (self); */
16289
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
16290
(eval $ac_link) 2>&5
16292
echo "$as_me:$LINENO: \$? = $ac_status" >&5
16293
(exit $ac_status); } && test -s conftest${ac_exeext} 2>/dev/null; then
16294
(./conftest; exit; ) 2>/dev/null
16296
case x$lt_status in
16297
x$lt_dlno_uscore) lt_cv_dlopen_self_static=yes ;;
16298
x$lt_dlneed_uscore) lt_cv_dlopen_self_static=yes ;;
16299
x$lt_unknown|x*) lt_cv_dlopen_self_static=no ;;
16302
# compilation failed
16303
lt_cv_dlopen_self_static=no
16310
{ echo "$as_me:$LINENO: result: $lt_cv_dlopen_self_static" >&5
16311
echo "${ECHO_T}$lt_cv_dlopen_self_static" >&6; }
16314
CPPFLAGS="$save_CPPFLAGS"
16315
LDFLAGS="$save_LDFLAGS"
16320
case $lt_cv_dlopen_self in
16321
yes|no) enable_dlopen_self=$lt_cv_dlopen_self ;;
16322
*) enable_dlopen_self=unknown ;;
16325
case $lt_cv_dlopen_self_static in
16326
yes|no) enable_dlopen_self_static=$lt_cv_dlopen_self_static ;;
16327
*) enable_dlopen_self_static=unknown ;;
16332
# The else clause should only fire when bootstrapping the
16333
# libtool distribution, otherwise you forgot to ship ltmain.sh
16334
# with your package, and you will get complaints that there are
16335
# no rules to generate ltmain.sh.
16336
if test -f "$ltmain"; then
16337
# See if we are running on zsh, and set the options which allow our commands through
16338
# without removal of \ escapes.
16339
if test -n "${ZSH_VERSION+set}" ; then
16340
setopt NO_GLOB_SUBST
16342
# Now quote all the things that may contain metacharacters while being
16343
# careful not to overquote the AC_SUBSTed values. We take copies of the
16344
# variables and quote the copies for generation of the libtool script.
16345
for var in echo old_CC old_CFLAGS AR AR_FLAGS EGREP RANLIB LN_S LTCC NM SED SHELL \
16346
libname_spec library_names_spec soname_spec extract_expsyms_cmds \
16347
old_striplib striplib file_magic_cmd finish_cmds finish_eval \
16348
deplibs_check_method reload_flag reload_cmds need_locks \
16349
lt_cv_sys_global_symbol_pipe lt_cv_sys_global_symbol_to_cdecl \
16350
lt_cv_sys_global_symbol_to_c_name_address \
16351
sys_lib_search_path_spec sys_lib_dlsearch_path_spec \
16352
old_postinstall_cmds old_postuninstall_cmds \
16356
lt_prog_compiler_wl_CXX \
16357
lt_prog_compiler_pic_CXX \
16358
lt_prog_compiler_static_CXX \
16359
lt_prog_compiler_no_builtin_flag_CXX \
16360
export_dynamic_flag_spec_CXX \
16361
thread_safe_flag_spec_CXX \
16362
whole_archive_flag_spec_CXX \
16363
enable_shared_with_static_runtimes_CXX \
16364
old_archive_cmds_CXX \
16365
old_archive_from_new_cmds_CXX \
16366
predep_objects_CXX \
16367
postdep_objects_CXX \
16370
compiler_lib_search_path_CXX \
16372
archive_expsym_cmds_CXX \
16373
postinstall_cmds_CXX \
16374
postuninstall_cmds_CXX \
16375
old_archive_from_expsyms_cmds_CXX \
16376
allow_undefined_flag_CXX \
16377
no_undefined_flag_CXX \
16378
export_symbols_cmds_CXX \
16379
hardcode_libdir_flag_spec_CXX \
16380
hardcode_libdir_flag_spec_ld_CXX \
16381
hardcode_libdir_separator_CXX \
16382
hardcode_automatic_CXX \
16384
module_expsym_cmds_CXX \
16385
lt_cv_prog_compiler_c_o_CXX \
16386
exclude_expsyms_CXX \
16387
include_expsyms_CXX; do
16390
old_archive_cmds_CXX | \
16391
old_archive_from_new_cmds_CXX | \
16392
archive_cmds_CXX | \
16393
archive_expsym_cmds_CXX | \
16394
module_cmds_CXX | \
16395
module_expsym_cmds_CXX | \
16396
old_archive_from_expsyms_cmds_CXX | \
16397
export_symbols_cmds_CXX | \
16398
extract_expsyms_cmds | reload_cmds | finish_cmds | \
16399
postinstall_cmds | postuninstall_cmds | \
16400
old_postinstall_cmds | old_postuninstall_cmds | \
16401
sys_lib_search_path_spec | sys_lib_dlsearch_path_spec)
16402
# Double-quote double-evaled strings.
16403
eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$double_quote_subst\" -e \"\$sed_quote_subst\" -e \"\$delay_variable_subst\"\`\\\""
16406
eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$sed_quote_subst\"\`\\\""
16412
*'\$0 --fallback-echo"')
16413
lt_echo=`$echo "X$lt_echo" | $Xsed -e 's/\\\\\\\$0 --fallback-echo"$/$0 --fallback-echo"/'`
16419
cat <<__EOF__ >> "$cfgfile"
16420
# ### BEGIN LIBTOOL TAG CONFIG: $tagname
16422
# Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
16424
# Shell to use when invoking shell scripts.
16427
# Whether or not to build shared libraries.
16428
build_libtool_libs=$enable_shared
16430
# Whether or not to build static libraries.
16431
build_old_libs=$enable_static
16433
# Whether or not to add -lc for building shared libraries.
16434
build_libtool_need_lc=$archive_cmds_need_lc_CXX
16436
# Whether or not to disallow shared libs when runtime libs are static
16437
allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes_CXX
16439
# Whether or not to optimize for fast installation.
16440
fast_install=$enable_fast_install
16443
host_alias=$host_alias
16446
# An echo program that does not interpret backslashes.
16451
AR_FLAGS=$lt_AR_FLAGS
16456
# A language-specific compiler.
16457
CC=$lt_compiler_CXX
16459
# Is the compiler the GNU C compiler?
16465
# The linker used to build libraries.
16468
# Whether we need hard or soft links.
16471
# A BSD-compatible nm program.
16474
# A symbol stripping program
16477
# Used to examine libraries when file_magic_cmd begins "file"
16478
MAGIC_CMD=$MAGIC_CMD
16480
# Used on cygwin: DLL creation program.
16483
# Used on cygwin: object dumper.
16486
# Used on cygwin: assembler.
16489
# The name of the directory that contains temporary libtool files.
16492
# How to create reloadable object files.
16493
reload_flag=$lt_reload_flag
16494
reload_cmds=$lt_reload_cmds
16496
# How to pass a linker flag through the compiler.
16497
wl=$lt_lt_prog_compiler_wl_CXX
16499
# Object file suffix (normally "o").
16500
objext="$ac_objext"
16502
# Old archive suffix (normally "a").
16505
# Shared library suffix (normally ".so").
16508
# Executable file suffix (normally "").
16511
# Additional compiler flags for building library objects.
16512
pic_flag=$lt_lt_prog_compiler_pic_CXX
16515
# What is the maximum length of a command?
16516
max_cmd_len=$lt_cv_sys_max_cmd_len
16518
# Does compiler simultaneously support -c and -o options?
16519
compiler_c_o=$lt_lt_cv_prog_compiler_c_o_CXX
16521
# Must we lock files when doing compilation ?
16522
need_locks=$lt_need_locks
16524
# Do we need the lib prefix for modules?
16525
need_lib_prefix=$need_lib_prefix
16527
# Do we need a version for libraries?
16528
need_version=$need_version
16530
# Whether dlopen is supported.
16531
dlopen_support=$enable_dlopen
16533
# Whether dlopen of programs is supported.
16534
dlopen_self=$enable_dlopen_self
16536
# Whether dlopen of statically linked programs is supported.
16537
dlopen_self_static=$enable_dlopen_self_static
16539
# Compiler flag to prevent dynamic linking.
16540
link_static_flag=$lt_lt_prog_compiler_static_CXX
16542
# Compiler flag to turn off builtin functions.
16543
no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag_CXX
16545
# Compiler flag to allow reflexive dlopens.
16546
export_dynamic_flag_spec=$lt_export_dynamic_flag_spec_CXX
16548
# Compiler flag to generate shared objects directly from archives.
16549
whole_archive_flag_spec=$lt_whole_archive_flag_spec_CXX
16551
# Compiler flag to generate thread-safe objects.
16552
thread_safe_flag_spec=$lt_thread_safe_flag_spec_CXX
16554
# Library versioning type.
16555
version_type=$version_type
16557
# Format of library name prefix.
16558
libname_spec=$lt_libname_spec
16560
# List of archive names. First name is the real one, the rest are links.
16561
# The last name is the one that the linker finds with -lNAME.
16562
library_names_spec=$lt_library_names_spec
16564
# The coded name of the library, if different from the real name.
16565
soname_spec=$lt_soname_spec
16567
# Commands used to build and install an old-style archive.
16569
old_archive_cmds=$lt_old_archive_cmds_CXX
16570
old_postinstall_cmds=$lt_old_postinstall_cmds
16571
old_postuninstall_cmds=$lt_old_postuninstall_cmds
16573
# Create an old-style archive from a shared archive.
16574
old_archive_from_new_cmds=$lt_old_archive_from_new_cmds_CXX
16576
# Create a temporary old-style archive to link instead of a shared archive.
16577
old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds_CXX
16579
# Commands used to build and install a shared archive.
16580
archive_cmds=$lt_archive_cmds_CXX
16581
archive_expsym_cmds=$lt_archive_expsym_cmds_CXX
16582
postinstall_cmds=$lt_postinstall_cmds
16583
postuninstall_cmds=$lt_postuninstall_cmds
16585
# Commands used to build a loadable module (assumed same as above if empty)
16586
module_cmds=$lt_module_cmds_CXX
16587
module_expsym_cmds=$lt_module_expsym_cmds_CXX
16589
# Commands to strip libraries.
16590
old_striplib=$lt_old_striplib
16591
striplib=$lt_striplib
16593
# Dependencies to place before the objects being linked to create a
16595
predep_objects=$lt_predep_objects_CXX
16597
# Dependencies to place after the objects being linked to create a
16599
postdep_objects=$lt_postdep_objects_CXX
16601
# Dependencies to place before the objects being linked to create a
16603
predeps=$lt_predeps_CXX
16605
# Dependencies to place after the objects being linked to create a
16607
postdeps=$lt_postdeps_CXX
16609
# The library search path used internally by the compiler when linking
16610
# a shared library.
16611
compiler_lib_search_path=$lt_compiler_lib_search_path_CXX
16613
# Method to check whether dependent libraries are shared objects.
16614
deplibs_check_method=$lt_deplibs_check_method
16616
# Command to use when deplibs_check_method == file_magic.
16617
file_magic_cmd=$lt_file_magic_cmd
16619
# Flag that allows shared libraries with undefined symbols to be built.
16620
allow_undefined_flag=$lt_allow_undefined_flag_CXX
16622
# Flag that forces no undefined symbols.
16623
no_undefined_flag=$lt_no_undefined_flag_CXX
16625
# Commands used to finish a libtool library installation in a directory.
16626
finish_cmds=$lt_finish_cmds
16628
# Same as above, but a single script fragment to be evaled but not shown.
16629
finish_eval=$lt_finish_eval
16631
# Take the output of nm and produce a listing of raw symbols and C names.
16632
global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
16634
# Transform the output of nm in a proper C declaration
16635
global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
16637
# Transform the output of nm in a C name address pair
16638
global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
16640
# This is the shared library runtime path variable.
16641
runpath_var=$runpath_var
16643
# This is the shared library path variable.
16644
shlibpath_var=$shlibpath_var
16646
# Is shlibpath searched before the hard-coded library search path?
16647
shlibpath_overrides_runpath=$shlibpath_overrides_runpath
16649
# How to hardcode a shared library path into an executable.
16650
hardcode_action=$hardcode_action_CXX
16652
# Whether we should hardcode library paths into libraries.
16653
hardcode_into_libs=$hardcode_into_libs
16655
# Flag to hardcode \$libdir into a binary during linking.
16656
# This must work even if \$libdir does not exist.
16657
hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec_CXX
16659
# If ld is used when linking, flag to hardcode \$libdir into
16660
# a binary during linking. This must work even if \$libdir does
16662
hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld_CXX
16664
# Whether we need a single -rpath flag with a separated argument.
16665
hardcode_libdir_separator=$lt_hardcode_libdir_separator_CXX
16667
# Set to yes if using DIR/libNAME${shared_ext} during linking hardcodes DIR into the
16668
# resulting binary.
16669
hardcode_direct=$hardcode_direct_CXX
16671
# Set to yes if using the -LDIR flag during linking hardcodes DIR into the
16672
# resulting binary.
16673
hardcode_minus_L=$hardcode_minus_L_CXX
16675
# Set to yes if using SHLIBPATH_VAR=DIR during linking hardcodes DIR into
16676
# the resulting binary.
16677
hardcode_shlibpath_var=$hardcode_shlibpath_var_CXX
16679
# Set to yes if building a shared library automatically hardcodes DIR into the library
16680
# and all subsequent libraries and executables linked against it.
16681
hardcode_automatic=$hardcode_automatic_CXX
16683
# Variables whose values should be saved in libtool wrapper scripts and
16684
# restored at relink time.
16685
variables_saved_for_relink="$variables_saved_for_relink"
16687
# Whether libtool must link a program against all its dependency libraries.
16688
link_all_deplibs=$link_all_deplibs_CXX
16690
# Compile-time system search path for libraries
16691
sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
16693
# Run-time system search path for libraries
16694
sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
16696
# Fix the shell variable \$srcfile for the compiler.
16697
fix_srcfile_path="$fix_srcfile_path_CXX"
16699
# Set to yes if exported symbols are required.
16700
always_export_symbols=$always_export_symbols_CXX
16702
# The commands to list exported symbols.
16703
export_symbols_cmds=$lt_export_symbols_cmds_CXX
16705
# The commands to extract the exported symbol list from a shared archive.
16706
extract_expsyms_cmds=$lt_extract_expsyms_cmds
16708
# Symbols that should not be listed in the preloaded symbols.
16709
exclude_expsyms=$lt_exclude_expsyms_CXX
16711
# Symbols that must always be exported.
16712
include_expsyms=$lt_include_expsyms_CXX
16714
# ### END LIBTOOL TAG CONFIG: $tagname
16720
# If there is no Makefile yet, we rely on a make rule to execute
16721
# `config.status --recheck' to rerun these tests and create the
16722
# libtool script then.
16723
test -f Makefile && make "$ltmain"
16728
ac_cpp='$CPP $CPPFLAGS'
16729
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16730
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16731
ac_compiler_gnu=$ac_cv_c_compiler_gnu
16737
with_gnu_ldcxx=$with_gnu_ld
16738
with_gnu_ld=$lt_save_with_gnu_ld
16739
lt_cv_path_LDCXX=$lt_cv_path_LD
16740
lt_cv_path_LD=$lt_save_path_LD
16741
lt_cv_prog_gnu_ldcxx=$lt_cv_prog_gnu_ld
16742
lt_cv_prog_gnu_ld=$lt_save_with_gnu_ld
16750
if test -n "$F77" && test "X$F77" != "Xno"; then
16753
ac_compile='$F77 -c $FFLAGS conftest.$ac_ext >&5'
16754
ac_link='$F77 -o conftest$ac_exeext $FFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16755
ac_compiler_gnu=$ac_cv_f77_compiler_gnu
16758
archive_cmds_need_lc_F77=no
16759
allow_undefined_flag_F77=
16760
always_export_symbols_F77=no
16761
archive_expsym_cmds_F77=
16762
export_dynamic_flag_spec_F77=
16763
hardcode_direct_F77=no
16764
hardcode_libdir_flag_spec_F77=
16765
hardcode_libdir_flag_spec_ld_F77=
16766
hardcode_libdir_separator_F77=
16767
hardcode_minus_L_F77=no
16768
hardcode_automatic_F77=no
16770
module_expsym_cmds_F77=
16771
link_all_deplibs_F77=unknown
16772
old_archive_cmds_F77=$old_archive_cmds
16773
no_undefined_flag_F77=
16774
whole_archive_flag_spec_F77=
16775
enable_shared_with_static_runtimes_F77=no
16777
# Source file extension for f77 test sources.
16780
# Object file extension for compiled f77 test sources.
16784
# Code to be used in simple compile tests
16785
lt_simple_compile_test_code=" subroutine t\n return\n end\n"
16787
# Code to be used in simple link tests
16788
lt_simple_link_test_code=" program t\n end\n"
16790
# ltmain only uses $CC for tagged configurations so make sure $CC is set.
16792
# If no C compiler was specified, use CC.
16795
# Allow CC to be a program name with arguments.
16799
# Allow CC to be a program name with arguments.
16804
cc_basename=`$echo X"$compiler" | $Xsed -e 's%^.*/%%'`
16806
{ echo "$as_me:$LINENO: checking if libtool supports shared libraries" >&5
16807
echo $ECHO_N "checking if libtool supports shared libraries... $ECHO_C" >&6; }
16808
{ echo "$as_me:$LINENO: result: $can_build_shared" >&5
16809
echo "${ECHO_T}$can_build_shared" >&6; }
16811
{ echo "$as_me:$LINENO: checking whether to build shared libraries" >&5
16812
echo $ECHO_N "checking whether to build shared libraries... $ECHO_C" >&6; }
16813
test "$can_build_shared" = "no" && enable_shared=no
16815
# On AIX, shared libraries and static libraries use the same namespace, and
16816
# are all built from PIC.
16819
test "$enable_shared" = yes && enable_static=no
16820
if test -n "$RANLIB"; then
16821
archive_cmds="$archive_cmds~\$RANLIB \$lib"
16822
postinstall_cmds='$RANLIB $lib'
16826
test "$enable_shared" = yes && enable_static=no
16829
{ echo "$as_me:$LINENO: result: $enable_shared" >&5
16830
echo "${ECHO_T}$enable_shared" >&6; }
16832
{ echo "$as_me:$LINENO: checking whether to build static libraries" >&5
16833
echo $ECHO_N "checking whether to build static libraries... $ECHO_C" >&6; }
16834
# Make sure either enable_shared or enable_static is yes.
16835
test "$enable_shared" = yes || enable_static=yes
16836
{ echo "$as_me:$LINENO: result: $enable_static" >&5
16837
echo "${ECHO_T}$enable_static" >&6; }
16839
test "$ld_shlibs_F77" = no && can_build_shared=no
16844
lt_prog_compiler_wl_F77=
16845
lt_prog_compiler_pic_F77=
16846
lt_prog_compiler_static_F77=
16848
{ echo "$as_me:$LINENO: checking for $compiler option to produce PIC" >&5
16849
echo $ECHO_N "checking for $compiler option to produce PIC... $ECHO_C" >&6; }
16851
if test "$GCC" = yes; then
16852
lt_prog_compiler_wl_F77='-Wl,'
16853
lt_prog_compiler_static_F77='-static'
16857
# All AIX code is PIC.
16858
if test "$host_cpu" = ia64; then
16859
# AIX 5 now supports IA64 processor
16860
lt_prog_compiler_static_F77='-Bstatic'
16865
# FIXME: we need at least 68020 code to build shared libraries, but
16866
# adding the `-m68020' flag to GCC prevents building anything better,
16868
lt_prog_compiler_pic_F77='-m68020 -resident32 -malways-restore-a4'
16871
beos* | cygwin* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
16872
# PIC is the default for these OSes.
16875
mingw* | pw32* | os2*)
16876
# This hack is so that the source file can tell whether it is being
16877
# built for inclusion in a dll (and should export symbols for example).
16878
lt_prog_compiler_pic_F77='-DDLL_EXPORT'
16881
darwin* | rhapsody*)
16882
# PIC is the default on this platform
16883
# Common symbols not allowed in MH_DYLIB files
16884
lt_prog_compiler_pic_F77='-fno-common'
16888
# Just because we use GCC doesn't mean we suddenly get shared libraries
16889
# on systems that don't support them.
16890
lt_prog_compiler_can_build_shared_F77=no
16895
if test -d /usr/nec; then
16896
lt_prog_compiler_pic_F77=-Kconform_pic
16901
# PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
16902
# not for PA HP-UX.
16903
case "$host_cpu" in
16908
lt_prog_compiler_pic_F77='-fPIC'
16914
lt_prog_compiler_pic_F77='-fPIC'
16918
# PORTME Check for flag to pass linker flags through the system compiler.
16921
lt_prog_compiler_wl_F77='-Wl,'
16922
if test "$host_cpu" = ia64; then
16923
# AIX 5 now supports IA64 processor
16924
lt_prog_compiler_static_F77='-Bstatic'
16926
lt_prog_compiler_static_F77='-bnso -bI:/lib/syscalls.exp'
16930
mingw* | pw32* | os2*)
16931
# This hack is so that the source file can tell whether it is being
16932
# built for inclusion in a dll (and should export symbols for example).
16933
lt_prog_compiler_pic_F77='-DDLL_EXPORT'
16936
hpux9* | hpux10* | hpux11*)
16937
lt_prog_compiler_wl_F77='-Wl,'
16938
# PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
16939
# not for PA HP-UX.
16940
case "$host_cpu" in
16945
lt_prog_compiler_pic_F77='+Z'
16948
# Is there a better lt_prog_compiler_static that works with the bundled CC?
16949
lt_prog_compiler_static_F77='${wl}-a ${wl}archive'
16952
irix5* | irix6* | nonstopux*)
16953
lt_prog_compiler_wl_F77='-Wl,'
16954
# PIC (with -KPIC) is the default.
16955
lt_prog_compiler_static_F77='-non_shared'
16959
lt_prog_compiler_pic_F77='-KPIC'
16960
lt_prog_compiler_static_F77='-Bstatic'
16966
lt_prog_compiler_wl_F77='-Wl,'
16967
lt_prog_compiler_pic_F77='-KPIC'
16968
lt_prog_compiler_static_F77='-static'
16971
lt_prog_compiler_wl_F77='-Wl,'
16972
# All Alpha code is PIC.
16973
lt_prog_compiler_static_F77='-non_shared'
16978
osf3* | osf4* | osf5*)
16979
lt_prog_compiler_wl_F77='-Wl,'
16980
# All OSF/1 code is PIC.
16981
lt_prog_compiler_static_F77='-non_shared'
16985
lt_prog_compiler_pic_F77='-Kpic'
16986
lt_prog_compiler_static_F77='-dn'
16990
lt_prog_compiler_wl_F77='-Wl,'
16991
lt_prog_compiler_pic_F77='-KPIC'
16992
lt_prog_compiler_static_F77='-Bstatic'
16996
lt_prog_compiler_wl_F77='-Qoption ld '
16997
lt_prog_compiler_pic_F77='-PIC'
16998
lt_prog_compiler_static_F77='-Bstatic'
17001
sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
17002
lt_prog_compiler_wl_F77='-Wl,'
17003
lt_prog_compiler_pic_F77='-KPIC'
17004
lt_prog_compiler_static_F77='-Bstatic'
17008
if test -d /usr/nec ;then
17009
lt_prog_compiler_pic_F77='-Kconform_pic'
17010
lt_prog_compiler_static_F77='-Bstatic'
17015
lt_prog_compiler_pic_F77='-pic'
17016
lt_prog_compiler_static_F77='-Bstatic'
17020
lt_prog_compiler_can_build_shared_F77=no
17025
{ echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_F77" >&5
17026
echo "${ECHO_T}$lt_prog_compiler_pic_F77" >&6; }
17029
# Check to make sure the PIC flag actually works.
17031
if test -n "$lt_prog_compiler_pic_F77"; then
17033
{ echo "$as_me:$LINENO: checking if $compiler PIC flag $lt_prog_compiler_pic_F77 works" >&5
17034
echo $ECHO_N "checking if $compiler PIC flag $lt_prog_compiler_pic_F77 works... $ECHO_C" >&6; }
17035
if test "${lt_prog_compiler_pic_works_F77+set}" = set; then
17036
echo $ECHO_N "(cached) $ECHO_C" >&6
17038
lt_prog_compiler_pic_works_F77=no
17039
ac_outfile=conftest.$ac_objext
17040
printf "$lt_simple_compile_test_code" > conftest.$ac_ext
17041
lt_compiler_flag="$lt_prog_compiler_pic_F77"
17042
# Insert the option either (1) after the last *FLAGS variable, or
17043
# (2) before a word containing "conftest.", or (3) at the end.
17044
# Note that $ac_compile itself does not contain backslashes and begins
17045
# with a dollar sign (not a hyphen), so the echo should work correctly.
17046
# The option is referenced via a variable to avoid confusing sed.
17047
lt_compile=`echo "$ac_compile" | $SED \
17048
-e 's:.*FLAGS}? :&$lt_compiler_flag :; t' \
17049
-e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
17050
-e 's:$: $lt_compiler_flag:'`
17051
(eval echo "\"\$as_me:17051: $lt_compile\"" >&5)
17052
(eval "$lt_compile" 2>conftest.err)
17054
cat conftest.err >&5
17055
echo "$as_me:17055: \$? = $ac_status" >&5
17056
if (exit $ac_status) && test -s "$ac_outfile"; then
17057
# The compiler can only warn and ignore the option if not recognized
17058
# So say no if there are warnings
17059
if test ! -s conftest.err; then
17060
lt_prog_compiler_pic_works_F77=yes
17066
{ echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_works_F77" >&5
17067
echo "${ECHO_T}$lt_prog_compiler_pic_works_F77" >&6; }
17069
if test x"$lt_prog_compiler_pic_works_F77" = xyes; then
17070
case $lt_prog_compiler_pic_F77 in
17072
*) lt_prog_compiler_pic_F77=" $lt_prog_compiler_pic_F77" ;;
17075
lt_prog_compiler_pic_F77=
17076
lt_prog_compiler_can_build_shared_F77=no
17081
# For platforms which do not support PIC, -DPIC is meaningless:
17083
lt_prog_compiler_pic_F77=
17086
lt_prog_compiler_pic_F77="$lt_prog_compiler_pic_F77"
17090
{ echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5
17091
echo $ECHO_N "checking if $compiler supports -c -o file.$ac_objext... $ECHO_C" >&6; }
17092
if test "${lt_cv_prog_compiler_c_o_F77+set}" = set; then
17093
echo $ECHO_N "(cached) $ECHO_C" >&6
17095
lt_cv_prog_compiler_c_o_F77=no
17096
$rm -r conftest 2>/dev/null
17100
printf "$lt_simple_compile_test_code" > conftest.$ac_ext
17102
# According to Tom Tromey, Ian Lance Taylor reported there are C compilers
17103
# that will create temporary files in the current directory regardless of
17104
# the output directory. Thus, making CWD read-only will cause this test
17105
# to fail, enabling locking or at least warning the user not to do parallel
17109
lt_compiler_flag="-o out/conftest2.$ac_objext"
17110
# Insert the option either (1) after the last *FLAGS variable, or
17111
# (2) before a word containing "conftest.", or (3) at the end.
17112
# Note that $ac_compile itself does not contain backslashes and begins
17113
# with a dollar sign (not a hyphen), so the echo should work correctly.
17114
lt_compile=`echo "$ac_compile" | $SED \
17115
-e 's:.*FLAGS}? :&$lt_compiler_flag :; t' \
17116
-e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
17117
-e 's:$: $lt_compiler_flag:'`
17118
(eval echo "\"\$as_me:17118: $lt_compile\"" >&5)
17119
(eval "$lt_compile" 2>out/conftest.err)
17121
cat out/conftest.err >&5
17122
echo "$as_me:17122: \$? = $ac_status" >&5
17123
if (exit $ac_status) && test -s out/conftest2.$ac_objext
17125
# The compiler can only warn and ignore the option if not recognized
17126
# So say no if there are warnings
17127
if test ! -s out/conftest.err; then
17128
lt_cv_prog_compiler_c_o_F77=yes
17132
$rm conftest* out/*
17139
{ echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_c_o_F77" >&5
17140
echo "${ECHO_T}$lt_cv_prog_compiler_c_o_F77" >&6; }
17143
hard_links="nottested"
17144
if test "$lt_cv_prog_compiler_c_o_F77" = no && test "$need_locks" != no; then
17145
# do not overwrite the value of need_locks provided by the user
17146
{ echo "$as_me:$LINENO: checking if we can lock with hard links" >&5
17147
echo $ECHO_N "checking if we can lock with hard links... $ECHO_C" >&6; }
17150
ln conftest.a conftest.b 2>/dev/null && hard_links=no
17152
ln conftest.a conftest.b 2>&5 || hard_links=no
17153
ln conftest.a conftest.b 2>/dev/null && hard_links=no
17154
{ echo "$as_me:$LINENO: result: $hard_links" >&5
17155
echo "${ECHO_T}$hard_links" >&6; }
17156
if test "$hard_links" = no; then
17157
{ echo "$as_me:$LINENO: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
17158
echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
17165
{ echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5
17166
echo $ECHO_N "checking whether the $compiler linker ($LD) supports shared libraries... $ECHO_C" >&6; }
17169
allow_undefined_flag_F77=
17170
enable_shared_with_static_runtimes_F77=no
17172
archive_expsym_cmds_F77=
17173
old_archive_From_new_cmds_F77=
17174
old_archive_from_expsyms_cmds_F77=
17175
export_dynamic_flag_spec_F77=
17176
whole_archive_flag_spec_F77=
17177
thread_safe_flag_spec_F77=
17178
hardcode_libdir_flag_spec_F77=
17179
hardcode_libdir_flag_spec_ld_F77=
17180
hardcode_libdir_separator_F77=
17181
hardcode_direct_F77=no
17182
hardcode_minus_L_F77=no
17183
hardcode_shlibpath_var_F77=unsupported
17184
link_all_deplibs_F77=unknown
17185
hardcode_automatic_F77=no
17187
module_expsym_cmds_F77=
17188
always_export_symbols_F77=no
17189
export_symbols_cmds_F77='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
17190
# include_expsyms should be a list of space-separated symbols to be *always*
17191
# included in the symbol list
17192
include_expsyms_F77=
17193
# exclude_expsyms can be an extended regexp of symbols to exclude
17194
# it will be wrapped by ` (' and `)$', so one must not match beginning or
17195
# end of line. Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
17196
# as well as any symbol that contains `d'.
17197
exclude_expsyms_F77="_GLOBAL_OFFSET_TABLE_"
17198
# Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
17199
# platforms (ab)use it in PIC code, but their linkers get confused if
17200
# the symbol is explicitly referenced. Since portable code cannot
17201
# rely on this symbol name, it's probably fine to never include it in
17202
# preloaded symbol tables.
17203
extract_expsyms_cmds=
17206
cygwin* | mingw* | pw32*)
17207
# FIXME: the MSVC++ port hasn't been tested in a loooong time
17208
# When not using gcc, we currently assume that we are using
17209
# Microsoft Visual C++.
17210
if test "$GCC" != yes; then
17220
if test "$with_gnu_ld" = yes; then
17221
# If archive_cmds runs LD, not CC, wlarc should be empty
17224
# See if GNU ld supports shared libraries.
17226
aix3* | aix4* | aix5*)
17227
# On AIX/PPC, the GNU linker is very broken
17228
if test "$host_cpu" != ia64; then
17232
*** Warning: the GNU linker, at least up to release 2.9.1, is reported
17233
*** to be unable to reliably create shared libraries on AIX.
17234
*** Therefore, libtool is disabling shared libraries support. If you
17235
*** really care for shared libraries, you may want to modify your PATH
17236
*** so that a non-GNU linker is found, and then restart.
17243
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)'
17244
hardcode_libdir_flag_spec_F77='-L$libdir'
17245
hardcode_minus_L_F77=yes
17247
# Samuel A. Falvo II <kc5tja@dolphin.openprojects.net> reports
17248
# that the semantics of dynamic libraries on AmigaOS, at least up
17249
# to version 4, is to share data among multiple programs linked
17250
# with the same dynamic library. Since this doesn't match the
17251
# behavior of shared libraries on other platforms, we can't use
17257
if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
17258
allow_undefined_flag_F77=unsupported
17259
# Joseph Beckenbach <jrb3@best.com> says some releases of gcc
17260
# support --undefined. This deserves some investigation. FIXME
17261
archive_cmds_F77='$CC -nostart $compiler_flags $libobjs $deplibs ${wl}-soname $wl$soname -o $lib'
17267
cygwin* | mingw* | pw32*)
17268
# _LT_AC_TAGVAR(hardcode_libdir_flag_spec, F77) is actually meaningless,
17269
# as there is no search path for DLLs.
17270
hardcode_libdir_flag_spec_F77='-L$libdir'
17271
allow_undefined_flag_F77=no
17272
always_export_symbols_F77=no
17273
enable_shared_with_static_runtimes_F77=yes
17274
export_symbols_cmds_F77='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGS] /s/.* \([^ ]*\)/\1 DATA/'\'' | $SED -e '\''/^[AITW] /s/.* //'\'' | sort | uniq > $export_symbols'
17276
if $LD --help 2>&1 | grep 'auto-import' > /dev/null; then
17277
archive_cmds_F77='$CC -shared $compiler_flags $libobjs $deplibs -o $output_objdir/$soname ${wl}--image-base=0x10000000 ${wl}--out-implib,$lib'
17278
# If the export-symbols file already is a .def file (1st line
17279
# is EXPORTS), use it as is; otherwise, prepend...
17280
archive_expsym_cmds_F77='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
17281
cp $export_symbols $output_objdir/$soname.def;
17283
echo EXPORTS > $output_objdir/$soname.def;
17284
cat $export_symbols >> $output_objdir/$soname.def;
17286
$CC -shared $output_objdir/$soname.def $compiler_flags $libobjs $deplibs -o $output_objdir/$soname ${wl}--image-base=0x10000000 ${wl}--out-implib,$lib'
17293
if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
17294
archive_cmds_F77='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
17297
archive_cmds_F77='$CC -shared $compiler_flags $libobjs $deplibs ${wl}-soname $wl$soname -o $lib'
17298
archive_expsym_cmds_F77='$CC -shared $compiler_flags $libobjs $deplibs ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
17303
if $LD -v 2>&1 | grep 'BFD 2\.8' > /dev/null; then
17307
*** Warning: The releases 2.8.* of the GNU linker cannot reliably
17308
*** create shared libraries on Solaris systems. Therefore, libtool
17309
*** is disabling shared libraries support. We urge you to upgrade GNU
17310
*** binutils to release 2.9.1 or newer. Another option is to modify
17311
*** your PATH or compiler configuration so that the native linker is
17312
*** used, and then restart.
17315
elif $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
17316
archive_cmds_F77='$CC -shared $compiler_flags $libobjs $deplibs ${wl}-soname $wl$soname -o $lib'
17317
archive_expsym_cmds_F77='$CC -shared $compiler_flags $libobjs $deplibs ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
17324
archive_cmds_F77='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
17326
hardcode_direct_F77=yes
17327
hardcode_shlibpath_var_F77=no
17331
if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
17332
archive_cmds_F77='$CC -shared $compiler_flags $libobjs $deplibs ${wl}-soname $wl$soname -o $lib'
17333
archive_expsym_cmds_F77='$CC -shared $compiler_flags $libobjs $deplibs ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
17340
if test "$ld_shlibs_F77" = yes; then
17341
runpath_var=LD_RUN_PATH
17342
hardcode_libdir_flag_spec_F77='${wl}--rpath ${wl}$libdir'
17343
export_dynamic_flag_spec_F77='${wl}--export-dynamic'
17344
# ancient GNU ld didn't support --whole-archive et. al.
17345
if $LD --help 2>&1 | grep 'no-whole-archive' > /dev/null; then
17346
whole_archive_flag_spec_F77="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
17348
whole_archive_flag_spec_F77=
17352
# PORTME fill in a description of your system's linker (not GNU ld)
17355
allow_undefined_flag_F77=unsupported
17356
always_export_symbols_F77=yes
17357
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'
17358
# Note: this linker hardcodes the directories in LIBPATH if there
17359
# are no directories specified by -L.
17360
hardcode_minus_L_F77=yes
17361
if test "$GCC" = yes && test -z "$link_static_flag"; then
17362
# Neither direct hardcoding nor static linking is supported with a
17364
hardcode_direct_F77=unsupported
17369
if test "$host_cpu" = ia64; then
17370
# On IA64, the linker does run time linking by default, so we don't
17371
# have to do anything special.
17372
aix_use_runtimelinking=no
17373
exp_sym_flag='-Bexport'
17376
# If we're using GNU nm, then we don't want the "-C" option.
17377
# -C means demangle to AIX nm, but means don't demangle with GNU nm
17378
if $NM -V 2>&1 | grep 'GNU' > /dev/null; then
17379
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'
17381
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'
17384
# KDE requires run time linking. Make it the default.
17385
aix_use_runtimelinking=yes
17386
exp_sym_flag='-bexport'
17387
no_entry_flag='-bnoentry'
17390
# When large executables or shared objects are built, AIX ld can
17391
# have problems creating the table of contents. If linking a library
17392
# or program results in "error TOC overflow" add -mminimal-toc to
17393
# CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
17394
# enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
17396
archive_cmds_F77=''
17397
hardcode_direct_F77=yes
17398
hardcode_libdir_separator_F77=':'
17399
link_all_deplibs_F77=yes
17401
if test "$GCC" = yes; then
17402
case $host_os in aix4.012|aix4.012.*)
17403
# We only want to do this on AIX 4.2 and lower, the check
17404
# below for broken collect2 doesn't work under 4.3+
17405
collect2name=`${CC} -print-prog-name=collect2`
17406
if test -f "$collect2name" && \
17407
strings "$collect2name" | grep resolve_lib_name >/dev/null
17409
# We have reworked collect2
17410
hardcode_direct_F77=yes
17412
# We have old collect2
17413
hardcode_direct_F77=unsupported
17414
# It fails to find uninstalled libraries when the uninstalled
17415
# path is not listed in the libpath. Setting hardcode_minus_L
17416
# to unsupported forces relinking
17417
hardcode_minus_L_F77=yes
17418
hardcode_libdir_flag_spec_F77='-L$libdir'
17419
hardcode_libdir_separator_F77=
17422
shared_flag='-shared'
17425
if test "$host_cpu" = ia64; then
17426
# VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
17427
# chokes on -Wl,-G. The following line is correct:
17430
if test "$aix_use_runtimelinking" = yes; then
17431
shared_flag='-qmkshrobj ${wl}-G'
17433
shared_flag='-qmkshrobj'
17438
# Let the compiler handle the export list.
17439
always_export_symbols_F77=no
17440
if test "$aix_use_runtimelinking" = yes; then
17441
# Warning - without using the other runtime loading flags (-brtl),
17442
# -berok will link without error, but may produce a broken library.
17443
allow_undefined_flag_F77='-berok'
17444
# Determine the default libpath from the value encoded in an empty executable.
17445
cat >conftest.$ac_ext <<_ACEOF
17450
rm -f conftest.$ac_objext conftest$ac_exeext
17451
if { (ac_try="$ac_link"
17452
case "(($ac_try" in
17453
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17454
*) ac_try_echo=$ac_try;;
17456
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17457
(eval "$ac_link") 2>conftest.er1
17459
grep -v '^ *+' conftest.er1 >conftest.err
17461
cat conftest.err >&5
17462
echo "$as_me:$LINENO: \$? = $ac_status" >&5
17463
(exit $ac_status); } && {
17464
test -z "$ac_f77_werror_flag" ||
17465
test ! -s conftest.err
17466
} && test -s conftest$ac_exeext &&
17467
$as_test_x conftest$ac_exeext; then
17469
aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0 *\(.*\)$/\1/; p; }
17471
# Check for a 64-bit object if we didn't find anything.
17472
if test -z "$aix_libpath"; then aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0 *\(.*\)$/\1/; p; }
17475
echo "$as_me: failed program was:" >&5
17476
sed 's/^/| /' conftest.$ac_ext >&5
17481
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
17482
conftest$ac_exeext conftest.$ac_ext
17483
if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
17485
hardcode_libdir_flag_spec_F77='${wl}-blibpath:$libdir:'"$aix_libpath"
17486
archive_cmds_F77="\$CC"' -o $output_objdir/$soname $compiler_flags $libobjs $deplibs `if test "x${allow_undefined_flag}" != "x"; then echo "${wl}${allow_undefined_flag}"; else :; fi` '" $shared_flag"
17487
archive_expsym_cmds_F77="\$CC"' -o $output_objdir/$soname $compiler_flags $libobjs $deplibs `if test "x${allow_undefined_flag}" != "x"; then echo "${wl}${allow_undefined_flag}"; else :; fi` '"\${wl}$exp_sym_flag:\$export_symbols $shared_flag"
17489
if test "$host_cpu" = ia64; then
17490
hardcode_libdir_flag_spec_F77='${wl}-R $libdir:/usr/lib:/lib'
17491
allow_undefined_flag_F77="-z nodefs"
17492
archive_expsym_cmds_F77="\$CC $shared_flag"' -o $output_objdir/$soname $compiler_flags $libobjs $deplibs ${wl}${allow_undefined_flag} '"\${wl}$no_entry_flag \${wl}$exp_sym_flag:\$export_symbols"
17494
# Determine the default libpath from the value encoded in an empty executable.
17495
cat >conftest.$ac_ext <<_ACEOF
17500
rm -f conftest.$ac_objext conftest$ac_exeext
17501
if { (ac_try="$ac_link"
17502
case "(($ac_try" in
17503
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17504
*) ac_try_echo=$ac_try;;
17506
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17507
(eval "$ac_link") 2>conftest.er1
17509
grep -v '^ *+' conftest.er1 >conftest.err
17511
cat conftest.err >&5
17512
echo "$as_me:$LINENO: \$? = $ac_status" >&5
17513
(exit $ac_status); } && {
17514
test -z "$ac_f77_werror_flag" ||
17515
test ! -s conftest.err
17516
} && test -s conftest$ac_exeext &&
17517
$as_test_x conftest$ac_exeext; then
17519
aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0 *\(.*\)$/\1/; p; }
17521
# Check for a 64-bit object if we didn't find anything.
17522
if test -z "$aix_libpath"; then aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0 *\(.*\)$/\1/; p; }
17525
echo "$as_me: failed program was:" >&5
17526
sed 's/^/| /' conftest.$ac_ext >&5
17531
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
17532
conftest$ac_exeext conftest.$ac_ext
17533
if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
17535
hardcode_libdir_flag_spec_F77='${wl}-blibpath:$libdir:'"$aix_libpath"
17536
# Warning - without using the other run time loading flags,
17537
# -berok will link without error, but may produce a broken library.
17538
no_undefined_flag_F77=' ${wl}-bernotok'
17539
allow_undefined_flag_F77=' ${wl}-berok'
17540
# -bexpall does not export symbols beginning with underscore (_)
17541
always_export_symbols_F77=yes
17542
# Exported symbols can be pulled into shared objects from archives
17543
whole_archive_flag_spec_F77=' '
17544
archive_cmds_need_lc_F77=yes
17545
# This is similar to how AIX traditionally builds it's shared libraries.
17546
archive_expsym_cmds_F77="\$CC $shared_flag"' -o $output_objdir/$soname $compiler_flags $libobjs $deplibs ${wl}-bE:$export_symbols ${wl}-bnoentry${allow_undefined_flag}~$AR $AR_FLAGS $output_objdir/$libname$release.a $output_objdir/$soname'
17552
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)'
17553
hardcode_libdir_flag_spec_F77='-L$libdir'
17554
hardcode_minus_L_F77=yes
17555
# see comment about different semantics on the GNU ld section
17560
export_dynamic_flag_spec_F77=-rdynamic
17563
cygwin* | mingw* | pw32*)
17564
# When not using gcc, we currently assume that we are using
17565
# Microsoft Visual C++.
17566
# hardcode_libdir_flag_spec is actually meaningless, as there is
17567
# no search path for DLLs.
17568
hardcode_libdir_flag_spec_F77=' '
17569
allow_undefined_flag_F77=no
17570
# Tell ltmain to make .lib files, not .a files.
17572
# Tell ltmain to make .dll files, not .so files.
17574
# FIXME: Setting linknames here is a bad hack.
17575
archive_cmds_F77='$CC -o $lib $compiler_flags $libobjs `echo "$deplibs" | $SED -e '\''s/ -lc$//'\''` -link -dll~linknames='
17576
# The linker will automatically build a .lib file if we build a DLL.
17577
old_archive_From_new_cmds_F77='true'
17578
# FIXME: Should let the user specify the lib program.
17579
old_archive_cmds_F77='lib /OUT:$oldlib$oldobjs$old_deplibs'
17580
fix_srcfile_path='`cygpath -w "$srcfile"`'
17581
enable_shared_with_static_runtimes_F77=yes
17584
darwin* | rhapsody*)
17585
if test "$GXX" = yes ; then
17586
archive_cmds_need_lc_F77=no
17588
rhapsody* | darwin1.[012])
17589
allow_undefined_flag_F77='-Wl,-undefined -Wl,suppress'
17592
if test -z ${MACOSX_DEPLOYMENT_TARGET} ; then
17593
allow_undefined_flag_F77='-Wl,-flat_namespace -Wl,-undefined -Wl,suppress'
17595
case ${MACOSX_DEPLOYMENT_TARGET} in
17597
allow_undefined_flag_F77='-Wl,-flat_namespace -Wl,-undefined -Wl,suppress'
17600
allow_undefined_flag_F77='-Wl,-undefined -Wl,dynamic_lookup'
17606
lt_int_apple_cc_single_mod=no
17607
output_verbose_link_cmd='echo'
17608
if $CC -dumpspecs 2>&1 | grep 'single_module' >/dev/null ; then
17609
lt_int_apple_cc_single_mod=yes
17611
if test "X$lt_int_apple_cc_single_mod" = Xyes ; then
17612
archive_cmds_F77='$CC -dynamiclib -single_module $allow_undefined_flag -o $lib $compiler_flags $libobjs $deplibs -install_name $rpath/$soname $verstring'
17614
archive_cmds_F77='$CC -r ${wl}-bind_at_load -keep_private_externs -nostdlib -o ${lib}-master.o $libobjs~$CC -dynamiclib $allow_undefined_flag -o $lib ${lib}-master.o $compiler_flags $deplibs -install_name $rpath/$soname $verstring'
17616
module_cmds_F77='$CC ${wl}-bind_at_load $allow_undefined_flag -o $lib -bundle $compiler_flags $libobjs $deplibs'
17617
# Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin ld's
17618
if test "X$lt_int_apple_cc_single_mod" = Xyes ; then
17619
archive_expsym_cmds_F77='sed -e "s,#.*,," -e "s,^[ ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC -dynamiclib -single_module $allow_undefined_flag -o $lib $compiler_flags $libobjs $deplibs -install_name $rpath/$soname $verstring~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
17621
archive_expsym_cmds_F77='sed -e "s,#.*,," -e "s,^[ ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC -r ${wl}-bind_at_load -keep_private_externs -nostdlib -o ${lib}-master.o $libobjs~$CC -dynamiclib $allow_undefined_flag -o $lib ${lib}-master.o $compiler_flags $deplibs -install_name $rpath/$soname $verstring~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
17623
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 $compiler_flags $libobjs $deplibs~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
17624
hardcode_direct_F77=no
17625
hardcode_automatic_F77=yes
17626
hardcode_shlibpath_var_F77=unsupported
17627
whole_archive_flag_spec_F77='-all_load $convenience'
17628
link_all_deplibs_F77=yes
17635
archive_cmds_F77='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
17636
hardcode_libdir_flag_spec_F77='-L$libdir'
17637
hardcode_shlibpath_var_F77=no
17644
# FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
17645
# support. Future versions do this automatically, but an explicit c++rt0.o
17646
# does not break anything, and helps significantly (at the cost of a little
17649
archive_cmds_F77='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
17650
hardcode_libdir_flag_spec_F77='-R$libdir'
17651
hardcode_direct_F77=yes
17652
hardcode_shlibpath_var_F77=no
17655
# Unfortunately, older versions of FreeBSD 2 do not have this feature.
17657
archive_cmds_F77='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
17658
hardcode_direct_F77=yes
17659
hardcode_minus_L_F77=yes
17660
hardcode_shlibpath_var_F77=no
17663
# FreeBSD 3 and greater uses gcc -shared to do shared libraries.
17664
freebsd* | kfreebsd*-gnu)
17665
archive_cmds_F77='$CC -shared -o $lib $compiler_flags $libobjs $deplibs'
17666
hardcode_libdir_flag_spec_F77='-R$libdir'
17667
hardcode_direct_F77=yes
17668
hardcode_shlibpath_var_F77=no
17672
if test "$GCC" = yes; then
17673
archive_cmds_F77='$rm $output_objdir/$soname~$CC -shared -fPIC ${wl}+b ${wl}$install_libdir -o $output_objdir/$soname $compiler_flags $libobjs $deplibs~test $output_objdir/$soname = $lib || mv $output_objdir/$soname $lib'
17675
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'
17677
hardcode_libdir_flag_spec_F77='${wl}+b ${wl}$libdir'
17678
hardcode_libdir_separator_F77=:
17679
hardcode_direct_F77=yes
17681
# hardcode_minus_L: Not really in the search PATH,
17682
# but as the default location of the library.
17683
hardcode_minus_L_F77=yes
17684
export_dynamic_flag_spec_F77='${wl}-E'
17688
if test "$GCC" = yes -a "$with_gnu_ld" = no; then
17689
case "$host_cpu" in
17691
archive_cmds_F77='$CC -shared ${wl}+h ${wl}$soname -o $lib $compiler_flags $libobjs $deplibs'
17694
archive_cmds_F77='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $compiler_flags $libobjs $deplibs'
17698
case "$host_cpu" in
17700
archive_cmds_F77='$LD -b +h $soname -o $lib $libobjs $deplibs $linker_flags'
17703
archive_cmds_F77='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
17707
if test "$with_gnu_ld" = no; then
17708
case "$host_cpu" in
17710
hardcode_libdir_flag_spec_F77='${wl}+b ${wl}$libdir'
17711
hardcode_libdir_flag_spec_ld_F77='+b $libdir'
17712
hardcode_libdir_separator_F77=:
17713
hardcode_direct_F77=no
17714
hardcode_shlibpath_var_F77=no
17717
hardcode_libdir_flag_spec_F77='-L$libdir'
17718
hardcode_direct_F77=no
17719
hardcode_shlibpath_var_F77=no
17721
# hardcode_minus_L: Not really in the search PATH,
17722
# but as the default location of the library.
17723
hardcode_minus_L_F77=yes
17726
hardcode_libdir_flag_spec_F77='${wl}+b ${wl}$libdir'
17727
hardcode_libdir_separator_F77=:
17728
hardcode_direct_F77=yes
17729
export_dynamic_flag_spec_F77='${wl}-E'
17731
# hardcode_minus_L: Not really in the search PATH,
17732
# but as the default location of the library.
17733
hardcode_minus_L_F77=yes
17739
irix5* | irix6* | nonstopux*)
17740
if test "$GCC" = yes; then
17741
archive_cmds_F77='$CC -shared $compiler_flags $libobjs $deplibs ${wl}-soname ${wl}$soname `test -n "$verstring" && echo ${wl}-set_version ${wl}$verstring` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
17743
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'
17744
hardcode_libdir_flag_spec_ld_F77='-rpath $libdir'
17746
hardcode_libdir_flag_spec_F77='${wl}-rpath ${wl}$libdir'
17747
hardcode_libdir_separator_F77=:
17748
link_all_deplibs_F77=yes
17752
if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
17753
archive_cmds_F77='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' # a.out
17755
archive_cmds_F77='$LD -shared -o $lib $libobjs $deplibs $linker_flags' # ELF
17757
hardcode_libdir_flag_spec_F77='-R$libdir'
17758
hardcode_direct_F77=yes
17759
hardcode_shlibpath_var_F77=no
17763
archive_cmds_F77='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
17764
hardcode_direct_F77=yes
17765
hardcode_libdir_flag_spec_F77='${wl}-rpath ${wl}$libdir'
17766
hardcode_libdir_separator_F77=:
17767
hardcode_shlibpath_var_F77=no
17771
hardcode_direct_F77=yes
17772
hardcode_shlibpath_var_F77=no
17773
if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
17774
archive_cmds_F77='$CC -shared $pic_flag -o $lib $compiler_flags $libobjs $deplibs'
17775
hardcode_libdir_flag_spec_F77='${wl}-rpath,$libdir'
17776
export_dynamic_flag_spec_F77='${wl}-E'
17779
openbsd[01].* | openbsd2.[0-7] | openbsd2.[0-7].*)
17780
archive_cmds_F77='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
17781
hardcode_libdir_flag_spec_F77='-R$libdir'
17784
archive_cmds_F77='$CC -shared $pic_flag -o $lib $compiler_flags $libobjs $deplibs'
17785
hardcode_libdir_flag_spec_F77='${wl}-rpath,$libdir'
17792
hardcode_libdir_flag_spec_F77='-L$libdir'
17793
hardcode_minus_L_F77=yes
17794
allow_undefined_flag_F77=unsupported
17795
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 $compiler_flags $libobjs $deplibs$output_objdir/$libname.def'
17796
old_archive_From_new_cmds_F77='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
17800
if test "$GCC" = yes; then
17801
allow_undefined_flag_F77=' ${wl}-expect_unresolved ${wl}\*'
17802
archive_cmds_F77='$CC -shared${allow_undefined_flag} $compiler_flags $libobjs $deplibs ${wl}-soname ${wl}$soname `test -n "$verstring" && echo ${wl}-set_version ${wl}$verstring` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
17804
allow_undefined_flag_F77=' -expect_unresolved \*'
17805
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'
17807
hardcode_libdir_flag_spec_F77='${wl}-rpath ${wl}$libdir'
17808
hardcode_libdir_separator_F77=:
17811
osf4* | osf5*) # as osf3* with the addition of -msym flag
17812
if test "$GCC" = yes; then
17813
allow_undefined_flag_F77=' ${wl}-expect_unresolved ${wl}\*'
17814
archive_cmds_F77='$CC -shared${allow_undefined_flag} $compiler_flags $libobjs $deplibs ${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'
17815
hardcode_libdir_flag_spec_F77='${wl}-rpath ${wl}$libdir'
17817
allow_undefined_flag_F77=' -expect_unresolved \*'
17818
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'
17819
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~
17820
$LD -shared${allow_undefined_flag} -input $lib.exp $linker_flags $libobjs $deplibs -soname $soname `test -n "$verstring" && echo -set_version $verstring` -update_registry ${objdir}/so_locations -o $lib~$rm $lib.exp'
17822
# Both c and cxx compiler support -rpath directly
17823
hardcode_libdir_flag_spec_F77='-rpath $libdir'
17825
hardcode_libdir_separator_F77=:
17829
archive_cmds_F77='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
17830
hardcode_shlibpath_var_F77=no
17831
export_dynamic_flag_spec_F77='${wl}-Bexport'
17832
runpath_var=LD_RUN_PATH
17833
hardcode_runpath_var=yes
17837
no_undefined_flag_F77=' -z text'
17838
if test "$GCC" = yes; then
17839
archive_cmds_F77='$CC -shared ${wl}-h ${wl}$soname -o $lib $compiler_flags $libobjs $deplibs'
17840
archive_expsym_cmds_F77='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
17841
$CC -shared ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $compiler_flags $libobjs $deplibs~$rm $lib.exp'
17843
archive_cmds_F77='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
17844
archive_expsym_cmds_F77='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
17845
$LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$rm $lib.exp'
17847
hardcode_libdir_flag_spec_F77='-R$libdir'
17848
hardcode_shlibpath_var_F77=no
17850
solaris2.[0-5] | solaris2.[0-5].*) ;;
17851
*) # Supported since Solaris 2.6 (maybe 2.5.1?)
17852
whole_archive_flag_spec_F77='-z allextract$convenience -z defaultextract' ;;
17854
link_all_deplibs_F77=yes
17858
if test "x$host_vendor" = xsequent; then
17859
# Use $CC to link under sequent, because it throws in some extra .o
17860
# files that make .init and .fini sections work.
17861
archive_cmds_F77='$CC -G ${wl}-h $soname -o $lib $compiler_flags $libobjs $deplibs'
17863
archive_cmds_F77='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
17865
hardcode_libdir_flag_spec_F77='-L$libdir'
17866
hardcode_direct_F77=yes
17867
hardcode_minus_L_F77=yes
17868
hardcode_shlibpath_var_F77=no
17872
case $host_vendor in
17874
archive_cmds_F77='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
17875
hardcode_direct_F77=yes # is this really true???
17878
## LD is ld it makes a PLAMLIB
17879
## CC just makes a GrossModule.
17880
archive_cmds_F77='$LD -G -o $lib $libobjs $deplibs $linker_flags'
17881
reload_cmds_F77='$CC -r -o $output$reload_objs'
17882
hardcode_direct_F77=no
17885
archive_cmds_F77='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
17886
hardcode_direct_F77=no #Motorola manual says yes, but my tests say they lie
17889
runpath_var='LD_RUN_PATH'
17890
hardcode_shlibpath_var_F77=no
17894
archive_cmds_F77='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
17895
hardcode_shlibpath_var_F77=no
17896
export_dynamic_flag_spec_F77='-Bexport'
17900
if test -d /usr/nec; then
17901
archive_cmds_F77='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
17902
hardcode_shlibpath_var_F77=no
17903
runpath_var=LD_RUN_PATH
17904
hardcode_runpath_var=yes
17910
archive_cmds_F77='$LD -G -o $lib $libobjs $deplibs $linker_flags'
17911
hardcode_direct_F77=yes
17912
hardcode_minus_L_F77=no
17913
hardcode_shlibpath_var_F77=no
17914
hardcode_runpath_var=yes
17915
runpath_var=LD_RUN_PATH
17918
sysv5OpenUNIX8* | sysv5UnixWare7* | sysv5uw[78]* | unixware7*)
17919
no_undefined_flag_F77='${wl}-z ${wl}text'
17920
if test "$GCC" = yes; then
17921
archive_cmds_F77='$CC -shared ${wl}-h ${wl}$soname -o $lib $compiler_flags $libobjs $deplibs'
17923
archive_cmds_F77='$CC -G ${wl}-h ${wl}$soname -o $lib $compiler_flags $libobjs $deplibs'
17925
runpath_var='LD_RUN_PATH'
17926
hardcode_shlibpath_var_F77=no
17930
no_undefined_flag_F77=' -z text'
17931
# $CC -shared without GNU ld will not create a library from C++
17932
# object files and a static libstdc++, better avoid it by now
17933
archive_cmds_F77='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
17934
archive_expsym_cmds_F77='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
17935
$LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$rm $lib.exp'
17936
hardcode_libdir_flag_spec_F77=
17937
hardcode_shlibpath_var_F77=no
17938
runpath_var='LD_RUN_PATH'
17942
archive_cmds_F77='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
17943
hardcode_libdir_flag_spec_F77='-L$libdir'
17944
hardcode_shlibpath_var_F77=no
17953
{ echo "$as_me:$LINENO: result: $ld_shlibs_F77" >&5
17954
echo "${ECHO_T}$ld_shlibs_F77" >&6; }
17955
test "$ld_shlibs_F77" = no && can_build_shared=no
17957
variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
17958
if test "$GCC" = yes; then
17959
variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
17963
# Do we need to explicitly link libc?
17965
case "x$archive_cmds_need_lc_F77" in
17967
# Assume -lc should be added
17968
archive_cmds_need_lc_F77=yes
17970
if test "$enable_shared" = yes && test "$GCC" = yes; then
17971
case $archive_cmds_F77 in
17973
# FIXME: we may have to deal with multi-command sequences.
17976
# Test whether the compiler implicitly links with -lc since on some
17977
# systems, -lgcc has to come before -lc. If gcc already passes -lc
17978
# to ld, don't add -lc before -lgcc.
17979
{ echo "$as_me:$LINENO: checking whether -lc should be explicitly linked in" >&5
17980
echo $ECHO_N "checking whether -lc should be explicitly linked in... $ECHO_C" >&6; }
17982
printf "$lt_simple_compile_test_code" > conftest.$ac_ext
17984
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17985
(eval $ac_compile) 2>&5
17987
echo "$as_me:$LINENO: \$? = $ac_status" >&5
17988
(exit $ac_status); } 2>conftest.err; then
17991
libobjs=conftest.$ac_objext
17993
wl=$lt_prog_compiler_wl_F77
17999
lt_save_allow_undefined_flag=$allow_undefined_flag_F77
18000
allow_undefined_flag_F77=
18001
if { (eval echo "$as_me:$LINENO: \"$archive_cmds_F77 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1\"") >&5
18002
(eval $archive_cmds_F77 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1) 2>&5
18004
echo "$as_me:$LINENO: \$? = $ac_status" >&5
18005
(exit $ac_status); }
18007
archive_cmds_need_lc_F77=no
18009
archive_cmds_need_lc_F77=yes
18011
allow_undefined_flag_F77=$lt_save_allow_undefined_flag
18013
cat conftest.err 1>&5
18016
{ echo "$as_me:$LINENO: result: $archive_cmds_need_lc_F77" >&5
18017
echo "${ECHO_T}$archive_cmds_need_lc_F77" >&6; }
18024
{ echo "$as_me:$LINENO: checking dynamic linker characteristics" >&5
18025
echo $ECHO_N "checking dynamic linker characteristics... $ECHO_C" >&6; }
18026
library_names_spec=
18027
libname_spec='lib$name'
18031
postuninstall_cmds=
18035
shlibpath_overrides_runpath=unknown
18037
dynamic_linker="$host_os ld.so"
18038
sys_lib_dlsearch_path_spec="/lib /usr/lib"
18039
sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"
18040
need_lib_prefix=unknown
18041
hardcode_into_libs=no
18043
# when you set need_version to no, make sure it does not cause -set_version
18044
# flags to be left without arguments
18045
need_version=unknown
18050
library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a'
18051
shlibpath_var=LIBPATH
18053
# AIX 3 has no versioning support, so we append a major version to the name.
18054
soname_spec='${libname}${release}${shared_ext}$major'
18061
hardcode_into_libs=yes
18062
if test "$host_cpu" = ia64; then
18063
# AIX 5 supports IA64
18064
library_names_spec='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
18065
shlibpath_var=LD_LIBRARY_PATH
18067
# With GCC up to 2.95.x, collect2 would create an import file
18068
# for dependence libraries. The import file would start with
18069
# the line `#! .'. This would cause the generated library to
18070
# depend on `.', always an invalid library. This was fixed in
18071
# development snapshots of GCC prior to 3.0.
18073
aix4 | aix4.[01] | aix4.[01].*)
18074
if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
18076
echo '#endif'; } | ${CC} -E - | grep yes > /dev/null; then
18079
can_build_shared=no
18083
# AIX (on Power*) has no versioning support, so currently we can not hardcode correct
18084
# soname into executable. Probably we can add versioning support to
18085
# collect2, so additional links can be useful in future.
18086
if test "$aix_use_runtimelinking" = yes; then
18087
# If using run time linking (on AIX 4.2 or later) use lib<name>.so
18088
# instead of lib<name>.a to let people know that these are not
18089
# typical AIX shared libraries.
18090
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
18092
# We preserve .a as extension for shared libraries through AIX4.2
18093
# and later when we are not doing run time linking.
18094
library_names_spec='${libname}${release}.a $libname.a'
18095
soname_spec='${libname}${release}${shared_ext}$major'
18097
shlibpath_var=LIBPATH
18102
library_names_spec='$libname.ixlibrary $libname.a'
18103
# Create ${libname}_ixlibrary.a entries in /sys/libs.
18104
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'
18108
library_names_spec='${libname}${shared_ext}'
18109
dynamic_linker="$host_os ld.so"
18110
shlibpath_var=LIBRARY_PATH
18116
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
18117
soname_spec='${libname}${release}${shared_ext}$major'
18118
finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
18119
shlibpath_var=LD_LIBRARY_PATH
18120
sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
18121
sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
18122
# the default ld.so.conf also contains /usr/contrib/lib and
18123
# /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
18124
# libtool to hard-code these into programs
18127
cygwin* | mingw* | pw32*)
18128
version_type=windows
18133
case $GCC,$host_os in
18134
yes,cygwin* | yes,mingw* | yes,pw32*)
18135
library_names_spec='$libname.dll.a'
18136
# DLL is installed to $(libdir)/../bin by postinstall_cmds
18137
postinstall_cmds='base_file=`basename \${file}`~
18138
dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i;echo \$dlname'\''`~
18139
dldir=$destdir/`dirname \$dlpath`~
18140
test -d \$dldir || mkdir -p \$dldir~
18141
$install_prog $dir/$dlname \$dldir/$dlname'
18142
postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
18143
dlpath=$dir/\$dldll~
18145
shlibpath_overrides_runpath=yes
18149
# Cygwin DLLs use 'cyg' prefix rather than 'lib'
18150
soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
18151
sys_lib_search_path_spec="/usr/lib /lib/w32api /lib /usr/local/lib"
18154
# MinGW DLLs use traditional 'lib' prefix
18155
soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
18156
sys_lib_search_path_spec=`$CC -print-search-dirs | grep "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
18157
if echo "$sys_lib_search_path_spec" | grep ';[c-zC-Z]:/' >/dev/null; then
18158
# It is most probably a Windows format PATH printed by
18159
# mingw gcc, but we are running on Cygwin. Gcc prints its search
18160
# path with ; separators, and with drive letters. We can handle the
18161
# drive letters (cygwin fileutils understands them), so leave them,
18162
# especially as we might pass files found there to a mingw objdump,
18163
# which wouldn't understand a cygwinified path. Ahh.
18164
sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
18166
sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
18170
# pw32 DLLs use 'pw' prefix rather than 'lib'
18171
library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/./-/g'`${versuffix}${shared_ext}'
18177
library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
18180
dynamic_linker='Win32 ld.exe'
18181
# FIXME: first we should search . and the directory the executable is in
18185
darwin* | rhapsody*)
18186
dynamic_linker="$host_os dyld"
18187
version_type=darwin
18190
library_names_spec='${libname}${release}${versuffix}$shared_ext ${libname}${release}${major}$shared_ext ${libname}$shared_ext'
18191
soname_spec='${libname}${release}${major}$shared_ext'
18192
shlibpath_overrides_runpath=yes
18193
shlibpath_var=DYLD_LIBRARY_PATH
18194
shrext='$(test .$module = .yes && echo .so || echo .dylib)'
18195
# Apple's gcc prints 'gcc -print-search-dirs' doesn't operate the same.
18196
if test "$GCC" = yes; then
18197
sys_lib_search_path_spec=`$CC -print-search-dirs | tr "\n" "$PATH_SEPARATOR" | sed -e 's/libraries:/@libraries:/' | tr "@" "\n" | grep "^libraries:" | sed -e "s/^libraries://" -e "s,=/,/,g" -e "s,$PATH_SEPARATOR, ,g" -e "s,.*,& /lib /usr/lib /usr/local/lib,g"`
18199
sys_lib_search_path_spec='/lib /usr/lib /usr/local/lib'
18201
sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
18208
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
18209
soname_spec='${libname}${release}${shared_ext}$major'
18210
shlibpath_var=LD_LIBRARY_PATH
18221
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
18222
soname_spec='${libname}${release}${shared_ext}$major'
18223
shlibpath_var=LD_LIBRARY_PATH
18224
shlibpath_overrides_runpath=no
18225
hardcode_into_libs=yes
18226
dynamic_linker='GNU ld.so'
18230
objformat=`test -x /usr/bin/objformat && /usr/bin/objformat || echo aout`
18231
version_type=freebsd-$objformat
18232
case $version_type in
18234
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
18239
library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
18243
shlibpath_var=LD_LIBRARY_PATH
18246
shlibpath_overrides_runpath=yes
18248
freebsd3.01* | freebsdelf3.01*)
18249
shlibpath_overrides_runpath=yes
18250
hardcode_into_libs=yes
18253
shlibpath_overrides_runpath=no
18254
hardcode_into_libs=yes
18263
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
18264
soname_spec='${libname}${release}${shared_ext}$major'
18265
shlibpath_var=LD_LIBRARY_PATH
18266
hardcode_into_libs=yes
18269
hpux9* | hpux10* | hpux11*)
18270
# Give a soname corresponding to the major version so that dld.sl refuses to
18271
# link against other versions.
18275
case "$host_cpu" in
18278
hardcode_into_libs=yes
18279
dynamic_linker="$host_os dld.so"
18280
shlibpath_var=LD_LIBRARY_PATH
18281
shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
18282
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
18283
soname_spec='${libname}${release}${shared_ext}$major'
18284
if test "X$HPUX_IA64_MODE" = X32; then
18285
sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
18287
sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
18289
sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
18293
hardcode_into_libs=yes
18294
dynamic_linker="$host_os dld.sl"
18295
shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
18296
shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
18297
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
18298
soname_spec='${libname}${release}${shared_ext}$major'
18299
sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
18300
sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
18304
dynamic_linker="$host_os dld.sl"
18305
shlibpath_var=SHLIB_PATH
18306
shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
18307
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
18308
soname_spec='${libname}${release}${shared_ext}$major'
18311
# HP-UX runs *really* slowly unless shared libraries are mode 555.
18312
postinstall_cmds='chmod 555 $lib'
18315
irix5* | irix6* | nonstopux*)
18317
nonstopux*) version_type=nonstopux ;;
18319
if test "$lt_cv_prog_gnu_ld" = yes; then
18327
soname_spec='${libname}${release}${shared_ext}$major'
18328
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
18330
irix5* | nonstopux*)
18331
libsuff= shlibsuff=
18334
case $LD in # libtool.m4 will add one of these switches to LD
18335
*-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
18336
libsuff= shlibsuff= libmagic=32-bit;;
18337
*-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
18338
libsuff=32 shlibsuff=N32 libmagic=N32;;
18339
*-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
18340
libsuff=64 shlibsuff=64 libmagic=64-bit;;
18341
*) libsuff= shlibsuff= libmagic=never-match;;
18345
shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
18346
shlibpath_overrides_runpath=no
18347
sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
18348
sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}"
18349
hardcode_into_libs=yes
18352
# No shared lib support for Linux oldld, aout, or coff.
18353
linux*oldld* | linux*aout* | linux*coff*)
18357
# This must be Linux ELF.
18362
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
18363
soname_spec='${libname}${release}${shared_ext}$major'
18364
finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
18366
if test "x$LINUX_64_MODE" = x64; then
18367
# Some platforms are per default 64-bit, so there's no /lib64
18368
if test -d /lib64; then
18372
shlibpath_var=LD_LIBRARY_PATH
18373
shlibpath_overrides_runpath=no
18374
sys_lib_dlsearch_path_spec="/lib${libsuff} /usr/lib${libsuff}"
18375
sys_lib_search_path_spec="/lib${libsuff} /usr/lib${libsuff} /usr/local/lib${libsuff}"
18376
# This implies no fast_install, which is unacceptable.
18377
# Some rework will be needed to allow for fast_install
18378
# before this can be enabled.
18379
hardcode_into_libs=yes
18381
# We used to test for /lib/ld.so.1 and disable shared libraries on
18382
# powerpc, because MkLinux only supported shared libraries with the
18383
# GNU dynamic linker. Since this was broken with cross compilers,
18384
# most powerpc-linux boxes support dynamic linking these days and
18385
# people can always --disable-shared, the test was removed, and we
18386
# assume the GNU/Linux dynamic linker is in use.
18387
dynamic_linker='GNU/Linux ld.so'
18394
if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
18395
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
18396
finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
18397
dynamic_linker='NetBSD (a.out) ld.so'
18399
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} ${libname}${shared_ext}'
18400
soname_spec='${libname}${release}${shared_ext}$major'
18401
dynamic_linker='NetBSD ld.elf_so'
18403
shlibpath_var=LD_LIBRARY_PATH
18404
shlibpath_overrides_runpath=yes
18405
hardcode_into_libs=yes
18410
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
18411
shlibpath_var=LD_LIBRARY_PATH
18412
shlibpath_overrides_runpath=yes
18419
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
18420
soname_spec='${libname}${release}${shared_ext}$major'
18421
shlibpath_var=LD_LIBRARY_PATH
18422
shlibpath_overrides_runpath=yes
18429
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
18430
finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
18431
shlibpath_var=LD_LIBRARY_PATH
18432
if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
18434
openbsd2.[89] | openbsd2.[89].*)
18435
shlibpath_overrides_runpath=no
18438
shlibpath_overrides_runpath=yes
18442
shlibpath_overrides_runpath=yes
18447
libname_spec='$name'
18450
library_names_spec='$libname${shared_ext} $libname.a'
18451
dynamic_linker='OS/2 ld.exe'
18452
shlibpath_var=LIBPATH
18455
osf3* | osf4* | osf5*)
18459
soname_spec='${libname}${release}${shared_ext}$major'
18460
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
18461
shlibpath_var=LD_LIBRARY_PATH
18462
sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
18463
sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec"
18468
soname_spec='${libname}${release}${shared_ext}$major'
18469
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
18470
shlibpath_var=LD_LIBRARY_PATH
18477
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
18478
soname_spec='${libname}${release}${shared_ext}$major'
18479
shlibpath_var=LD_LIBRARY_PATH
18480
shlibpath_overrides_runpath=yes
18481
hardcode_into_libs=yes
18482
# ldd complains unless libraries are executable
18483
postinstall_cmds='chmod +x $lib'
18488
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
18489
finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
18490
shlibpath_var=LD_LIBRARY_PATH
18491
shlibpath_overrides_runpath=yes
18492
if test "$with_gnu_ld" = yes; then
18498
sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
18500
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
18501
soname_spec='${libname}${release}${shared_ext}$major'
18502
shlibpath_var=LD_LIBRARY_PATH
18503
case $host_vendor in
18505
shlibpath_overrides_runpath=no
18507
export_dynamic_flag_spec='${wl}-Blargedynsym'
18508
runpath_var=LD_RUN_PATH
18516
shlibpath_overrides_runpath=no
18517
sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
18523
if test -d /usr/nec ;then
18525
library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
18526
soname_spec='$libname${shared_ext}.$major'
18527
shlibpath_var=LD_LIBRARY_PATH
18533
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
18534
soname_spec='${libname}${release}${shared_ext}$major'
18535
shlibpath_var=LD_LIBRARY_PATH
18542
{ echo "$as_me:$LINENO: result: $dynamic_linker" >&5
18543
echo "${ECHO_T}$dynamic_linker" >&6; }
18544
test "$dynamic_linker" = no && can_build_shared=no
18546
{ echo "$as_me:$LINENO: checking how to hardcode library paths into programs" >&5
18547
echo $ECHO_N "checking how to hardcode library paths into programs... $ECHO_C" >&6; }
18548
hardcode_action_F77=
18549
if test -n "$hardcode_libdir_flag_spec_F77" || \
18550
test -n "$runpath_var F77" || \
18551
test "X$hardcode_automatic_F77"="Xyes" ; then
18553
# We can hardcode non-existant directories.
18554
if test "$hardcode_direct_F77" != no &&
18555
# If the only mechanism to avoid hardcoding is shlibpath_var, we
18556
# have to relink, otherwise we might link with an installed library
18557
# when we should be linking with a yet-to-be-installed one
18558
## test "$_LT_AC_TAGVAR(hardcode_shlibpath_var, F77)" != no &&
18559
test "$hardcode_minus_L_F77" != no; then
18560
# Linking always hardcodes the temporary library directory.
18561
hardcode_action_F77=relink
18563
# We can link without hardcoding, and we can hardcode nonexisting dirs.
18564
hardcode_action_F77=immediate
18567
# We cannot hardcode anything, or else we can only hardcode existing
18569
hardcode_action_F77=unsupported
18571
{ echo "$as_me:$LINENO: result: $hardcode_action_F77" >&5
18572
echo "${ECHO_T}$hardcode_action_F77" >&6; }
18574
if test "$hardcode_action_F77" = relink; then
18575
# Fast installation is not supported
18576
enable_fast_install=no
18577
elif test "$shlibpath_overrides_runpath" = yes ||
18578
test "$enable_shared" = no; then
18579
# Fast installation is not necessary
18580
enable_fast_install=needless
18585
{ echo "$as_me:$LINENO: checking whether stripping libraries is possible" >&5
18586
echo $ECHO_N "checking whether stripping libraries is possible... $ECHO_C" >&6; }
18587
if test -n "$STRIP" && $STRIP -V 2>&1 | grep "GNU strip" >/dev/null; then
18588
test -z "$old_striplib" && old_striplib="$STRIP --strip-debug"
18589
test -z "$striplib" && striplib="$STRIP --strip-unneeded"
18590
{ echo "$as_me:$LINENO: result: yes" >&5
18591
echo "${ECHO_T}yes" >&6; }
18593
# FIXME - insert some real tests, host_os isn't really good enough
18596
if test -n "$STRIP" ; then
18597
striplib="$STRIP -x"
18598
{ echo "$as_me:$LINENO: result: yes" >&5
18599
echo "${ECHO_T}yes" >&6; }
18601
{ echo "$as_me:$LINENO: result: no" >&5
18602
echo "${ECHO_T}no" >&6; }
18606
{ echo "$as_me:$LINENO: result: no" >&5
18607
echo "${ECHO_T}no" >&6; }
18614
# The else clause should only fire when bootstrapping the
18615
# libtool distribution, otherwise you forgot to ship ltmain.sh
18616
# with your package, and you will get complaints that there are
18617
# no rules to generate ltmain.sh.
18618
if test -f "$ltmain"; then
18619
# See if we are running on zsh, and set the options which allow our commands through
18620
# without removal of \ escapes.
18621
if test -n "${ZSH_VERSION+set}" ; then
18622
setopt NO_GLOB_SUBST
18624
# Now quote all the things that may contain metacharacters while being
18625
# careful not to overquote the AC_SUBSTed values. We take copies of the
18626
# variables and quote the copies for generation of the libtool script.
18627
for var in echo old_CC old_CFLAGS AR AR_FLAGS EGREP RANLIB LN_S LTCC NM SED SHELL \
18628
libname_spec library_names_spec soname_spec extract_expsyms_cmds \
18629
old_striplib striplib file_magic_cmd finish_cmds finish_eval \
18630
deplibs_check_method reload_flag reload_cmds need_locks \
18631
lt_cv_sys_global_symbol_pipe lt_cv_sys_global_symbol_to_cdecl \
18632
lt_cv_sys_global_symbol_to_c_name_address \
18633
sys_lib_search_path_spec sys_lib_dlsearch_path_spec \
18634
old_postinstall_cmds old_postuninstall_cmds \
18638
lt_prog_compiler_wl_F77 \
18639
lt_prog_compiler_pic_F77 \
18640
lt_prog_compiler_static_F77 \
18641
lt_prog_compiler_no_builtin_flag_F77 \
18642
export_dynamic_flag_spec_F77 \
18643
thread_safe_flag_spec_F77 \
18644
whole_archive_flag_spec_F77 \
18645
enable_shared_with_static_runtimes_F77 \
18646
old_archive_cmds_F77 \
18647
old_archive_from_new_cmds_F77 \
18648
predep_objects_F77 \
18649
postdep_objects_F77 \
18652
compiler_lib_search_path_F77 \
18654
archive_expsym_cmds_F77 \
18655
postinstall_cmds_F77 \
18656
postuninstall_cmds_F77 \
18657
old_archive_from_expsyms_cmds_F77 \
18658
allow_undefined_flag_F77 \
18659
no_undefined_flag_F77 \
18660
export_symbols_cmds_F77 \
18661
hardcode_libdir_flag_spec_F77 \
18662
hardcode_libdir_flag_spec_ld_F77 \
18663
hardcode_libdir_separator_F77 \
18664
hardcode_automatic_F77 \
18666
module_expsym_cmds_F77 \
18667
lt_cv_prog_compiler_c_o_F77 \
18668
exclude_expsyms_F77 \
18669
include_expsyms_F77; do
18672
old_archive_cmds_F77 | \
18673
old_archive_from_new_cmds_F77 | \
18674
archive_cmds_F77 | \
18675
archive_expsym_cmds_F77 | \
18676
module_cmds_F77 | \
18677
module_expsym_cmds_F77 | \
18678
old_archive_from_expsyms_cmds_F77 | \
18679
export_symbols_cmds_F77 | \
18680
extract_expsyms_cmds | reload_cmds | finish_cmds | \
18681
postinstall_cmds | postuninstall_cmds | \
18682
old_postinstall_cmds | old_postuninstall_cmds | \
18683
sys_lib_search_path_spec | sys_lib_dlsearch_path_spec)
18684
# Double-quote double-evaled strings.
18685
eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$double_quote_subst\" -e \"\$sed_quote_subst\" -e \"\$delay_variable_subst\"\`\\\""
18688
eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$sed_quote_subst\"\`\\\""
18694
*'\$0 --fallback-echo"')
18695
lt_echo=`$echo "X$lt_echo" | $Xsed -e 's/\\\\\\\$0 --fallback-echo"$/$0 --fallback-echo"/'`
18701
cat <<__EOF__ >> "$cfgfile"
18702
# ### BEGIN LIBTOOL TAG CONFIG: $tagname
18704
# Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
18706
# Shell to use when invoking shell scripts.
18709
# Whether or not to build shared libraries.
18710
build_libtool_libs=$enable_shared
18712
# Whether or not to build static libraries.
18713
build_old_libs=$enable_static
18715
# Whether or not to add -lc for building shared libraries.
18716
build_libtool_need_lc=$archive_cmds_need_lc_F77
18718
# Whether or not to disallow shared libs when runtime libs are static
18719
allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes_F77
18721
# Whether or not to optimize for fast installation.
18722
fast_install=$enable_fast_install
18725
host_alias=$host_alias
18728
# An echo program that does not interpret backslashes.
18733
AR_FLAGS=$lt_AR_FLAGS
18738
# A language-specific compiler.
18739
CC=$lt_compiler_F77
18741
# Is the compiler the GNU C compiler?
18747
# The linker used to build libraries.
18750
# Whether we need hard or soft links.
18753
# A BSD-compatible nm program.
18756
# A symbol stripping program
18759
# Used to examine libraries when file_magic_cmd begins "file"
18760
MAGIC_CMD=$MAGIC_CMD
18762
# Used on cygwin: DLL creation program.
18765
# Used on cygwin: object dumper.
18768
# Used on cygwin: assembler.
18771
# The name of the directory that contains temporary libtool files.
18774
# How to create reloadable object files.
18775
reload_flag=$lt_reload_flag
18776
reload_cmds=$lt_reload_cmds
18778
# How to pass a linker flag through the compiler.
18779
wl=$lt_lt_prog_compiler_wl_F77
18781
# Object file suffix (normally "o").
18782
objext="$ac_objext"
18784
# Old archive suffix (normally "a").
18787
# Shared library suffix (normally ".so").
18790
# Executable file suffix (normally "").
18793
# Additional compiler flags for building library objects.
18794
pic_flag=$lt_lt_prog_compiler_pic_F77
18797
# What is the maximum length of a command?
18798
max_cmd_len=$lt_cv_sys_max_cmd_len
18800
# Does compiler simultaneously support -c and -o options?
18801
compiler_c_o=$lt_lt_cv_prog_compiler_c_o_F77
18803
# Must we lock files when doing compilation ?
18804
need_locks=$lt_need_locks
18806
# Do we need the lib prefix for modules?
18807
need_lib_prefix=$need_lib_prefix
18809
# Do we need a version for libraries?
18810
need_version=$need_version
18812
# Whether dlopen is supported.
18813
dlopen_support=$enable_dlopen
18815
# Whether dlopen of programs is supported.
18816
dlopen_self=$enable_dlopen_self
18818
# Whether dlopen of statically linked programs is supported.
18819
dlopen_self_static=$enable_dlopen_self_static
18821
# Compiler flag to prevent dynamic linking.
18822
link_static_flag=$lt_lt_prog_compiler_static_F77
18824
# Compiler flag to turn off builtin functions.
18825
no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag_F77
18827
# Compiler flag to allow reflexive dlopens.
18828
export_dynamic_flag_spec=$lt_export_dynamic_flag_spec_F77
18830
# Compiler flag to generate shared objects directly from archives.
18831
whole_archive_flag_spec=$lt_whole_archive_flag_spec_F77
18833
# Compiler flag to generate thread-safe objects.
18834
thread_safe_flag_spec=$lt_thread_safe_flag_spec_F77
18836
# Library versioning type.
18837
version_type=$version_type
18839
# Format of library name prefix.
18840
libname_spec=$lt_libname_spec
18842
# List of archive names. First name is the real one, the rest are links.
18843
# The last name is the one that the linker finds with -lNAME.
18844
library_names_spec=$lt_library_names_spec
18846
# The coded name of the library, if different from the real name.
18847
soname_spec=$lt_soname_spec
18849
# Commands used to build and install an old-style archive.
18851
old_archive_cmds=$lt_old_archive_cmds_F77
18852
old_postinstall_cmds=$lt_old_postinstall_cmds
18853
old_postuninstall_cmds=$lt_old_postuninstall_cmds
18855
# Create an old-style archive from a shared archive.
18856
old_archive_from_new_cmds=$lt_old_archive_from_new_cmds_F77
18858
# Create a temporary old-style archive to link instead of a shared archive.
18859
old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds_F77
18861
# Commands used to build and install a shared archive.
18862
archive_cmds=$lt_archive_cmds_F77
18863
archive_expsym_cmds=$lt_archive_expsym_cmds_F77
18864
postinstall_cmds=$lt_postinstall_cmds
18865
postuninstall_cmds=$lt_postuninstall_cmds
18867
# Commands used to build a loadable module (assumed same as above if empty)
18868
module_cmds=$lt_module_cmds_F77
18869
module_expsym_cmds=$lt_module_expsym_cmds_F77
18871
# Commands to strip libraries.
18872
old_striplib=$lt_old_striplib
18873
striplib=$lt_striplib
18875
# Dependencies to place before the objects being linked to create a
18877
predep_objects=$lt_predep_objects_F77
18879
# Dependencies to place after the objects being linked to create a
18881
postdep_objects=$lt_postdep_objects_F77
18883
# Dependencies to place before the objects being linked to create a
18885
predeps=$lt_predeps_F77
18887
# Dependencies to place after the objects being linked to create a
18889
postdeps=$lt_postdeps_F77
18891
# The library search path used internally by the compiler when linking
18892
# a shared library.
18893
compiler_lib_search_path=$lt_compiler_lib_search_path_F77
18895
# Method to check whether dependent libraries are shared objects.
18896
deplibs_check_method=$lt_deplibs_check_method
18898
# Command to use when deplibs_check_method == file_magic.
18899
file_magic_cmd=$lt_file_magic_cmd
18901
# Flag that allows shared libraries with undefined symbols to be built.
18902
allow_undefined_flag=$lt_allow_undefined_flag_F77
18904
# Flag that forces no undefined symbols.
18905
no_undefined_flag=$lt_no_undefined_flag_F77
18907
# Commands used to finish a libtool library installation in a directory.
18908
finish_cmds=$lt_finish_cmds
18910
# Same as above, but a single script fragment to be evaled but not shown.
18911
finish_eval=$lt_finish_eval
18913
# Take the output of nm and produce a listing of raw symbols and C names.
18914
global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
18916
# Transform the output of nm in a proper C declaration
18917
global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
18919
# Transform the output of nm in a C name address pair
18920
global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
18922
# This is the shared library runtime path variable.
18923
runpath_var=$runpath_var
18925
# This is the shared library path variable.
18926
shlibpath_var=$shlibpath_var
18928
# Is shlibpath searched before the hard-coded library search path?
18929
shlibpath_overrides_runpath=$shlibpath_overrides_runpath
18931
# How to hardcode a shared library path into an executable.
18932
hardcode_action=$hardcode_action_F77
18934
# Whether we should hardcode library paths into libraries.
18935
hardcode_into_libs=$hardcode_into_libs
18937
# Flag to hardcode \$libdir into a binary during linking.
18938
# This must work even if \$libdir does not exist.
18939
hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec_F77
18941
# If ld is used when linking, flag to hardcode \$libdir into
18942
# a binary during linking. This must work even if \$libdir does
18944
hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld_F77
18946
# Whether we need a single -rpath flag with a separated argument.
18947
hardcode_libdir_separator=$lt_hardcode_libdir_separator_F77
18949
# Set to yes if using DIR/libNAME${shared_ext} during linking hardcodes DIR into the
18950
# resulting binary.
18951
hardcode_direct=$hardcode_direct_F77
18953
# Set to yes if using the -LDIR flag during linking hardcodes DIR into the
18954
# resulting binary.
18955
hardcode_minus_L=$hardcode_minus_L_F77
18957
# Set to yes if using SHLIBPATH_VAR=DIR during linking hardcodes DIR into
18958
# the resulting binary.
18959
hardcode_shlibpath_var=$hardcode_shlibpath_var_F77
18961
# Set to yes if building a shared library automatically hardcodes DIR into the library
18962
# and all subsequent libraries and executables linked against it.
18963
hardcode_automatic=$hardcode_automatic_F77
18965
# Variables whose values should be saved in libtool wrapper scripts and
18966
# restored at relink time.
18967
variables_saved_for_relink="$variables_saved_for_relink"
18969
# Whether libtool must link a program against all its dependency libraries.
18970
link_all_deplibs=$link_all_deplibs_F77
18972
# Compile-time system search path for libraries
18973
sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
18975
# Run-time system search path for libraries
18976
sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
18978
# Fix the shell variable \$srcfile for the compiler.
18979
fix_srcfile_path="$fix_srcfile_path_F77"
18981
# Set to yes if exported symbols are required.
18982
always_export_symbols=$always_export_symbols_F77
18984
# The commands to list exported symbols.
18985
export_symbols_cmds=$lt_export_symbols_cmds_F77
18987
# The commands to extract the exported symbol list from a shared archive.
18988
extract_expsyms_cmds=$lt_extract_expsyms_cmds
18990
# Symbols that should not be listed in the preloaded symbols.
18991
exclude_expsyms=$lt_exclude_expsyms_F77
18993
# Symbols that must always be exported.
18994
include_expsyms=$lt_include_expsyms_F77
18996
# ### END LIBTOOL TAG CONFIG: $tagname
19002
# If there is no Makefile yet, we rely on a make rule to execute
19003
# `config.status --recheck' to rerun these tests and create the
19004
# libtool script then.
19005
test -f Makefile && make "$ltmain"
19010
ac_cpp='$CPP $CPPFLAGS'
19011
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19012
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19013
ac_compiler_gnu=$ac_cv_c_compiler_gnu
19023
if test -n "$GCJ" && test "X$GCJ" != "Xno"; then
19026
# Source file extension for Java test sources.
19029
# Object file extension for compiled Java test sources.
19033
# Code to be used in simple compile tests
19034
lt_simple_compile_test_code="class foo {}\n"
19036
# Code to be used in simple link tests
19037
lt_simple_link_test_code='public class conftest { public static void main(String argv) {}; }\n'
19039
# ltmain only uses $CC for tagged configurations so make sure $CC is set.
19041
# If no C compiler was specified, use CC.
19044
# Allow CC to be a program name with arguments.
19048
# Allow CC to be a program name with arguments.
19054
# GCJ did not exist at the time GCC didn't implicitly link libc in.
19055
archive_cmds_need_lc_GCJ=no
19058
## There is no encapsulation within the following macros, do not change
19059
## the running order or otherwise move them around unless you know exactly
19060
## what you are doing...
19062
lt_prog_compiler_no_builtin_flag_GCJ=
19064
if test "$GCC" = yes; then
19065
lt_prog_compiler_no_builtin_flag_GCJ=' -fno-builtin'
19068
{ echo "$as_me:$LINENO: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
19069
echo $ECHO_N "checking if $compiler supports -fno-rtti -fno-exceptions... $ECHO_C" >&6; }
19070
if test "${lt_cv_prog_compiler_rtti_exceptions+set}" = set; then
19071
echo $ECHO_N "(cached) $ECHO_C" >&6
19073
lt_cv_prog_compiler_rtti_exceptions=no
19074
ac_outfile=conftest.$ac_objext
19075
printf "$lt_simple_compile_test_code" > conftest.$ac_ext
19076
lt_compiler_flag="-fno-rtti -fno-exceptions"
19077
# Insert the option either (1) after the last *FLAGS variable, or
19078
# (2) before a word containing "conftest.", or (3) at the end.
19079
# Note that $ac_compile itself does not contain backslashes and begins
19080
# with a dollar sign (not a hyphen), so the echo should work correctly.
19081
# The option is referenced via a variable to avoid confusing sed.
19082
lt_compile=`echo "$ac_compile" | $SED \
19083
-e 's:.*FLAGS}? :&$lt_compiler_flag :; t' \
19084
-e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
19085
-e 's:$: $lt_compiler_flag:'`
19086
(eval echo "\"\$as_me:19086: $lt_compile\"" >&5)
19087
(eval "$lt_compile" 2>conftest.err)
19089
cat conftest.err >&5
19090
echo "$as_me:19090: \$? = $ac_status" >&5
19091
if (exit $ac_status) && test -s "$ac_outfile"; then
19092
# The compiler can only warn and ignore the option if not recognized
19093
# So say no if there are warnings
19094
if test ! -s conftest.err; then
19095
lt_cv_prog_compiler_rtti_exceptions=yes
19101
{ echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_rtti_exceptions" >&5
19102
echo "${ECHO_T}$lt_cv_prog_compiler_rtti_exceptions" >&6; }
19104
if test x"$lt_cv_prog_compiler_rtti_exceptions" = xyes; then
19105
lt_prog_compiler_no_builtin_flag_GCJ="$lt_prog_compiler_no_builtin_flag_GCJ -fno-rtti -fno-exceptions"
19112
lt_prog_compiler_wl_GCJ=
19113
lt_prog_compiler_pic_GCJ=
19114
lt_prog_compiler_static_GCJ=
19116
{ echo "$as_me:$LINENO: checking for $compiler option to produce PIC" >&5
19117
echo $ECHO_N "checking for $compiler option to produce PIC... $ECHO_C" >&6; }
19119
if test "$GCC" = yes; then
19120
lt_prog_compiler_wl_GCJ='-Wl,'
19121
lt_prog_compiler_static_GCJ='-static'
19125
# All AIX code is PIC.
19126
if test "$host_cpu" = ia64; then
19127
# AIX 5 now supports IA64 processor
19128
lt_prog_compiler_static_GCJ='-Bstatic'
19133
# FIXME: we need at least 68020 code to build shared libraries, but
19134
# adding the `-m68020' flag to GCC prevents building anything better,
19136
lt_prog_compiler_pic_GCJ='-m68020 -resident32 -malways-restore-a4'
19139
beos* | cygwin* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
19140
# PIC is the default for these OSes.
19143
mingw* | pw32* | os2*)
19144
# This hack is so that the source file can tell whether it is being
19145
# built for inclusion in a dll (and should export symbols for example).
19146
lt_prog_compiler_pic_GCJ='-DDLL_EXPORT'
19149
darwin* | rhapsody*)
19150
# PIC is the default on this platform
19151
# Common symbols not allowed in MH_DYLIB files
19152
lt_prog_compiler_pic_GCJ='-fno-common'
19156
# Just because we use GCC doesn't mean we suddenly get shared libraries
19157
# on systems that don't support them.
19158
lt_prog_compiler_can_build_shared_GCJ=no
19163
if test -d /usr/nec; then
19164
lt_prog_compiler_pic_GCJ=-Kconform_pic
19169
# PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
19170
# not for PA HP-UX.
19171
case "$host_cpu" in
19176
lt_prog_compiler_pic_GCJ='-fPIC'
19182
lt_prog_compiler_pic_GCJ='-fPIC'
19186
# PORTME Check for flag to pass linker flags through the system compiler.
19189
lt_prog_compiler_wl_GCJ='-Wl,'
19190
if test "$host_cpu" = ia64; then
19191
# AIX 5 now supports IA64 processor
19192
lt_prog_compiler_static_GCJ='-Bstatic'
19194
lt_prog_compiler_static_GCJ='-bnso -bI:/lib/syscalls.exp'
19198
mingw* | pw32* | os2*)
19199
# This hack is so that the source file can tell whether it is being
19200
# built for inclusion in a dll (and should export symbols for example).
19201
lt_prog_compiler_pic_GCJ='-DDLL_EXPORT'
19204
hpux9* | hpux10* | hpux11*)
19205
lt_prog_compiler_wl_GCJ='-Wl,'
19206
# PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
19207
# not for PA HP-UX.
19208
case "$host_cpu" in
19213
lt_prog_compiler_pic_GCJ='+Z'
19216
# Is there a better lt_prog_compiler_static that works with the bundled CC?
19217
lt_prog_compiler_static_GCJ='${wl}-a ${wl}archive'
19220
irix5* | irix6* | nonstopux*)
19221
lt_prog_compiler_wl_GCJ='-Wl,'
19222
# PIC (with -KPIC) is the default.
19223
lt_prog_compiler_static_GCJ='-non_shared'
19227
lt_prog_compiler_pic_GCJ='-KPIC'
19228
lt_prog_compiler_static_GCJ='-Bstatic'
19234
lt_prog_compiler_wl_GCJ='-Wl,'
19235
lt_prog_compiler_pic_GCJ='-KPIC'
19236
lt_prog_compiler_static_GCJ='-static'
19239
lt_prog_compiler_wl_GCJ='-Wl,'
19240
# All Alpha code is PIC.
19241
lt_prog_compiler_static_GCJ='-non_shared'
19246
osf3* | osf4* | osf5*)
19247
lt_prog_compiler_wl_GCJ='-Wl,'
19248
# All OSF/1 code is PIC.
19249
lt_prog_compiler_static_GCJ='-non_shared'
19253
lt_prog_compiler_pic_GCJ='-Kpic'
19254
lt_prog_compiler_static_GCJ='-dn'
19258
lt_prog_compiler_wl_GCJ='-Wl,'
19259
lt_prog_compiler_pic_GCJ='-KPIC'
19260
lt_prog_compiler_static_GCJ='-Bstatic'
19264
lt_prog_compiler_wl_GCJ='-Qoption ld '
19265
lt_prog_compiler_pic_GCJ='-PIC'
19266
lt_prog_compiler_static_GCJ='-Bstatic'
19269
sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
19270
lt_prog_compiler_wl_GCJ='-Wl,'
19271
lt_prog_compiler_pic_GCJ='-KPIC'
19272
lt_prog_compiler_static_GCJ='-Bstatic'
19276
if test -d /usr/nec ;then
19277
lt_prog_compiler_pic_GCJ='-Kconform_pic'
19278
lt_prog_compiler_static_GCJ='-Bstatic'
19283
lt_prog_compiler_pic_GCJ='-pic'
19284
lt_prog_compiler_static_GCJ='-Bstatic'
19288
lt_prog_compiler_can_build_shared_GCJ=no
19293
{ echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_GCJ" >&5
19294
echo "${ECHO_T}$lt_prog_compiler_pic_GCJ" >&6; }
19297
# Check to make sure the PIC flag actually works.
19299
if test -n "$lt_prog_compiler_pic_GCJ"; then
19301
{ echo "$as_me:$LINENO: checking if $compiler PIC flag $lt_prog_compiler_pic_GCJ works" >&5
19302
echo $ECHO_N "checking if $compiler PIC flag $lt_prog_compiler_pic_GCJ works... $ECHO_C" >&6; }
19303
if test "${lt_prog_compiler_pic_works_GCJ+set}" = set; then
19304
echo $ECHO_N "(cached) $ECHO_C" >&6
19306
lt_prog_compiler_pic_works_GCJ=no
19307
ac_outfile=conftest.$ac_objext
19308
printf "$lt_simple_compile_test_code" > conftest.$ac_ext
19309
lt_compiler_flag="$lt_prog_compiler_pic_GCJ"
19310
# Insert the option either (1) after the last *FLAGS variable, or
19311
# (2) before a word containing "conftest.", or (3) at the end.
19312
# Note that $ac_compile itself does not contain backslashes and begins
19313
# with a dollar sign (not a hyphen), so the echo should work correctly.
19314
# The option is referenced via a variable to avoid confusing sed.
19315
lt_compile=`echo "$ac_compile" | $SED \
19316
-e 's:.*FLAGS}? :&$lt_compiler_flag :; t' \
19317
-e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
19318
-e 's:$: $lt_compiler_flag:'`
19319
(eval echo "\"\$as_me:19319: $lt_compile\"" >&5)
19320
(eval "$lt_compile" 2>conftest.err)
19322
cat conftest.err >&5
19323
echo "$as_me:19323: \$? = $ac_status" >&5
19324
if (exit $ac_status) && test -s "$ac_outfile"; then
19325
# The compiler can only warn and ignore the option if not recognized
19326
# So say no if there are warnings
19327
if test ! -s conftest.err; then
19328
lt_prog_compiler_pic_works_GCJ=yes
19334
{ echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_works_GCJ" >&5
19335
echo "${ECHO_T}$lt_prog_compiler_pic_works_GCJ" >&6; }
19337
if test x"$lt_prog_compiler_pic_works_GCJ" = xyes; then
19338
case $lt_prog_compiler_pic_GCJ in
19340
*) lt_prog_compiler_pic_GCJ=" $lt_prog_compiler_pic_GCJ" ;;
19343
lt_prog_compiler_pic_GCJ=
19344
lt_prog_compiler_can_build_shared_GCJ=no
19349
# For platforms which do not support PIC, -DPIC is meaningless:
19351
lt_prog_compiler_pic_GCJ=
19354
lt_prog_compiler_pic_GCJ="$lt_prog_compiler_pic_GCJ"
19358
{ echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5
19359
echo $ECHO_N "checking if $compiler supports -c -o file.$ac_objext... $ECHO_C" >&6; }
19360
if test "${lt_cv_prog_compiler_c_o_GCJ+set}" = set; then
19361
echo $ECHO_N "(cached) $ECHO_C" >&6
19363
lt_cv_prog_compiler_c_o_GCJ=no
19364
$rm -r conftest 2>/dev/null
19368
printf "$lt_simple_compile_test_code" > conftest.$ac_ext
19370
# According to Tom Tromey, Ian Lance Taylor reported there are C compilers
19371
# that will create temporary files in the current directory regardless of
19372
# the output directory. Thus, making CWD read-only will cause this test
19373
# to fail, enabling locking or at least warning the user not to do parallel
19377
lt_compiler_flag="-o out/conftest2.$ac_objext"
19378
# Insert the option either (1) after the last *FLAGS variable, or
19379
# (2) before a word containing "conftest.", or (3) at the end.
19380
# Note that $ac_compile itself does not contain backslashes and begins
19381
# with a dollar sign (not a hyphen), so the echo should work correctly.
19382
lt_compile=`echo "$ac_compile" | $SED \
19383
-e 's:.*FLAGS}? :&$lt_compiler_flag :; t' \
19384
-e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
19385
-e 's:$: $lt_compiler_flag:'`
19386
(eval echo "\"\$as_me:19386: $lt_compile\"" >&5)
19387
(eval "$lt_compile" 2>out/conftest.err)
19389
cat out/conftest.err >&5
19390
echo "$as_me:19390: \$? = $ac_status" >&5
19391
if (exit $ac_status) && test -s out/conftest2.$ac_objext
19393
# The compiler can only warn and ignore the option if not recognized
19394
# So say no if there are warnings
19395
if test ! -s out/conftest.err; then
19396
lt_cv_prog_compiler_c_o_GCJ=yes
19400
$rm conftest* out/*
19407
{ echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_c_o_GCJ" >&5
19408
echo "${ECHO_T}$lt_cv_prog_compiler_c_o_GCJ" >&6; }
19411
hard_links="nottested"
19412
if test "$lt_cv_prog_compiler_c_o_GCJ" = no && test "$need_locks" != no; then
19413
# do not overwrite the value of need_locks provided by the user
19414
{ echo "$as_me:$LINENO: checking if we can lock with hard links" >&5
19415
echo $ECHO_N "checking if we can lock with hard links... $ECHO_C" >&6; }
19418
ln conftest.a conftest.b 2>/dev/null && hard_links=no
19420
ln conftest.a conftest.b 2>&5 || hard_links=no
19421
ln conftest.a conftest.b 2>/dev/null && hard_links=no
19422
{ echo "$as_me:$LINENO: result: $hard_links" >&5
19423
echo "${ECHO_T}$hard_links" >&6; }
19424
if test "$hard_links" = no; then
19425
{ echo "$as_me:$LINENO: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
19426
echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
19433
{ echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5
19434
echo $ECHO_N "checking whether the $compiler linker ($LD) supports shared libraries... $ECHO_C" >&6; }
19437
allow_undefined_flag_GCJ=
19438
enable_shared_with_static_runtimes_GCJ=no
19440
archive_expsym_cmds_GCJ=
19441
old_archive_From_new_cmds_GCJ=
19442
old_archive_from_expsyms_cmds_GCJ=
19443
export_dynamic_flag_spec_GCJ=
19444
whole_archive_flag_spec_GCJ=
19445
thread_safe_flag_spec_GCJ=
19446
hardcode_libdir_flag_spec_GCJ=
19447
hardcode_libdir_flag_spec_ld_GCJ=
19448
hardcode_libdir_separator_GCJ=
19449
hardcode_direct_GCJ=no
19450
hardcode_minus_L_GCJ=no
19451
hardcode_shlibpath_var_GCJ=unsupported
19452
link_all_deplibs_GCJ=unknown
19453
hardcode_automatic_GCJ=no
19455
module_expsym_cmds_GCJ=
19456
always_export_symbols_GCJ=no
19457
export_symbols_cmds_GCJ='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
19458
# include_expsyms should be a list of space-separated symbols to be *always*
19459
# included in the symbol list
19460
include_expsyms_GCJ=
19461
# exclude_expsyms can be an extended regexp of symbols to exclude
19462
# it will be wrapped by ` (' and `)$', so one must not match beginning or
19463
# end of line. Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
19464
# as well as any symbol that contains `d'.
19465
exclude_expsyms_GCJ="_GLOBAL_OFFSET_TABLE_"
19466
# Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
19467
# platforms (ab)use it in PIC code, but their linkers get confused if
19468
# the symbol is explicitly referenced. Since portable code cannot
19469
# rely on this symbol name, it's probably fine to never include it in
19470
# preloaded symbol tables.
19471
extract_expsyms_cmds=
19474
cygwin* | mingw* | pw32*)
19475
# FIXME: the MSVC++ port hasn't been tested in a loooong time
19476
# When not using gcc, we currently assume that we are using
19477
# Microsoft Visual C++.
19478
if test "$GCC" != yes; then
19488
if test "$with_gnu_ld" = yes; then
19489
# If archive_cmds runs LD, not CC, wlarc should be empty
19492
# See if GNU ld supports shared libraries.
19494
aix3* | aix4* | aix5*)
19495
# On AIX/PPC, the GNU linker is very broken
19496
if test "$host_cpu" != ia64; then
19500
*** Warning: the GNU linker, at least up to release 2.9.1, is reported
19501
*** to be unable to reliably create shared libraries on AIX.
19502
*** Therefore, libtool is disabling shared libraries support. If you
19503
*** really care for shared libraries, you may want to modify your PATH
19504
*** so that a non-GNU linker is found, and then restart.
19511
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)'
19512
hardcode_libdir_flag_spec_GCJ='-L$libdir'
19513
hardcode_minus_L_GCJ=yes
19515
# Samuel A. Falvo II <kc5tja@dolphin.openprojects.net> reports
19516
# that the semantics of dynamic libraries on AmigaOS, at least up
19517
# to version 4, is to share data among multiple programs linked
19518
# with the same dynamic library. Since this doesn't match the
19519
# behavior of shared libraries on other platforms, we can't use
19525
if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
19526
allow_undefined_flag_GCJ=unsupported
19527
# Joseph Beckenbach <jrb3@best.com> says some releases of gcc
19528
# support --undefined. This deserves some investigation. FIXME
19529
archive_cmds_GCJ='$CC -nostart $compiler_flags $libobjs $deplibs ${wl}-soname $wl$soname -o $lib'
19535
cygwin* | mingw* | pw32*)
19536
# _LT_AC_TAGVAR(hardcode_libdir_flag_spec, GCJ) is actually meaningless,
19537
# as there is no search path for DLLs.
19538
hardcode_libdir_flag_spec_GCJ='-L$libdir'
19539
allow_undefined_flag_GCJ=no
19540
always_export_symbols_GCJ=no
19541
enable_shared_with_static_runtimes_GCJ=yes
19542
export_symbols_cmds_GCJ='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGS] /s/.* \([^ ]*\)/\1 DATA/'\'' | $SED -e '\''/^[AITW] /s/.* //'\'' | sort | uniq > $export_symbols'
19544
if $LD --help 2>&1 | grep 'auto-import' > /dev/null; then
19545
archive_cmds_GCJ='$CC -shared $compiler_flags $libobjs $deplibs -o $output_objdir/$soname ${wl}--image-base=0x10000000 ${wl}--out-implib,$lib'
19546
# If the export-symbols file already is a .def file (1st line
19547
# is EXPORTS), use it as is; otherwise, prepend...
19548
archive_expsym_cmds_GCJ='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
19549
cp $export_symbols $output_objdir/$soname.def;
19551
echo EXPORTS > $output_objdir/$soname.def;
19552
cat $export_symbols >> $output_objdir/$soname.def;
19554
$CC -shared $output_objdir/$soname.def $compiler_flags $libobjs $deplibs -o $output_objdir/$soname ${wl}--image-base=0x10000000 ${wl}--out-implib,$lib'
19561
if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
19562
archive_cmds_GCJ='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
19565
archive_cmds_GCJ='$CC -shared $compiler_flags $libobjs $deplibs ${wl}-soname $wl$soname -o $lib'
19566
archive_expsym_cmds_GCJ='$CC -shared $compiler_flags $libobjs $deplibs ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
19571
if $LD -v 2>&1 | grep 'BFD 2\.8' > /dev/null; then
19575
*** Warning: The releases 2.8.* of the GNU linker cannot reliably
19576
*** create shared libraries on Solaris systems. Therefore, libtool
19577
*** is disabling shared libraries support. We urge you to upgrade GNU
19578
*** binutils to release 2.9.1 or newer. Another option is to modify
19579
*** your PATH or compiler configuration so that the native linker is
19580
*** used, and then restart.
19583
elif $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
19584
archive_cmds_GCJ='$CC -shared $compiler_flags $libobjs $deplibs ${wl}-soname $wl$soname -o $lib'
19585
archive_expsym_cmds_GCJ='$CC -shared $compiler_flags $libobjs $deplibs ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
19592
archive_cmds_GCJ='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
19594
hardcode_direct_GCJ=yes
19595
hardcode_shlibpath_var_GCJ=no
19599
if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
19600
archive_cmds_GCJ='$CC -shared $compiler_flags $libobjs $deplibs ${wl}-soname $wl$soname -o $lib'
19601
archive_expsym_cmds_GCJ='$CC -shared $compiler_flags $libobjs $deplibs ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
19608
if test "$ld_shlibs_GCJ" = yes; then
19609
runpath_var=LD_RUN_PATH
19610
hardcode_libdir_flag_spec_GCJ='${wl}--rpath ${wl}$libdir'
19611
export_dynamic_flag_spec_GCJ='${wl}--export-dynamic'
19612
# ancient GNU ld didn't support --whole-archive et. al.
19613
if $LD --help 2>&1 | grep 'no-whole-archive' > /dev/null; then
19614
whole_archive_flag_spec_GCJ="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
19616
whole_archive_flag_spec_GCJ=
19620
# PORTME fill in a description of your system's linker (not GNU ld)
19623
allow_undefined_flag_GCJ=unsupported
19624
always_export_symbols_GCJ=yes
19625
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'
19626
# Note: this linker hardcodes the directories in LIBPATH if there
19627
# are no directories specified by -L.
19628
hardcode_minus_L_GCJ=yes
19629
if test "$GCC" = yes && test -z "$link_static_flag"; then
19630
# Neither direct hardcoding nor static linking is supported with a
19632
hardcode_direct_GCJ=unsupported
19637
if test "$host_cpu" = ia64; then
19638
# On IA64, the linker does run time linking by default, so we don't
19639
# have to do anything special.
19640
aix_use_runtimelinking=no
19641
exp_sym_flag='-Bexport'
19644
# If we're using GNU nm, then we don't want the "-C" option.
19645
# -C means demangle to AIX nm, but means don't demangle with GNU nm
19646
if $NM -V 2>&1 | grep 'GNU' > /dev/null; then
19647
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'
19649
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'
19652
# KDE requires run time linking. Make it the default.
19653
aix_use_runtimelinking=yes
19654
exp_sym_flag='-bexport'
19655
no_entry_flag='-bnoentry'
19658
# When large executables or shared objects are built, AIX ld can
19659
# have problems creating the table of contents. If linking a library
19660
# or program results in "error TOC overflow" add -mminimal-toc to
19661
# CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
19662
# enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
19664
archive_cmds_GCJ=''
19665
hardcode_direct_GCJ=yes
19666
hardcode_libdir_separator_GCJ=':'
19667
link_all_deplibs_GCJ=yes
19669
if test "$GCC" = yes; then
19670
case $host_os in aix4.012|aix4.012.*)
19671
# We only want to do this on AIX 4.2 and lower, the check
19672
# below for broken collect2 doesn't work under 4.3+
19673
collect2name=`${CC} -print-prog-name=collect2`
19674
if test -f "$collect2name" && \
19675
strings "$collect2name" | grep resolve_lib_name >/dev/null
19677
# We have reworked collect2
19678
hardcode_direct_GCJ=yes
19680
# We have old collect2
19681
hardcode_direct_GCJ=unsupported
19682
# It fails to find uninstalled libraries when the uninstalled
19683
# path is not listed in the libpath. Setting hardcode_minus_L
19684
# to unsupported forces relinking
19685
hardcode_minus_L_GCJ=yes
19686
hardcode_libdir_flag_spec_GCJ='-L$libdir'
19687
hardcode_libdir_separator_GCJ=
19690
shared_flag='-shared'
19693
if test "$host_cpu" = ia64; then
19694
# VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
19695
# chokes on -Wl,-G. The following line is correct:
19698
if test "$aix_use_runtimelinking" = yes; then
19699
shared_flag='-qmkshrobj ${wl}-G'
19701
shared_flag='-qmkshrobj'
19706
# Let the compiler handle the export list.
19707
always_export_symbols_GCJ=no
19708
if test "$aix_use_runtimelinking" = yes; then
19709
# Warning - without using the other runtime loading flags (-brtl),
19710
# -berok will link without error, but may produce a broken library.
19711
allow_undefined_flag_GCJ='-berok'
19712
# Determine the default libpath from the value encoded in an empty executable.
19713
cat >conftest.$ac_ext <<_ACEOF
19716
cat confdefs.h >>conftest.$ac_ext
19717
cat >>conftest.$ac_ext <<_ACEOF
19718
/* end confdefs.h. */
19728
rm -f conftest.$ac_objext conftest$ac_exeext
19729
if { (ac_try="$ac_link"
19730
case "(($ac_try" in
19731
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19732
*) ac_try_echo=$ac_try;;
19734
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19735
(eval "$ac_link") 2>conftest.er1
19737
grep -v '^ *+' conftest.er1 >conftest.err
19739
cat conftest.err >&5
19740
echo "$as_me:$LINENO: \$? = $ac_status" >&5
19741
(exit $ac_status); } && {
19742
test -z "$ac_c_werror_flag" ||
19743
test ! -s conftest.err
19744
} && test -s conftest$ac_exeext &&
19745
$as_test_x conftest$ac_exeext; then
19747
aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0 *\(.*\)$/\1/; p; }
19749
# Check for a 64-bit object if we didn't find anything.
19750
if test -z "$aix_libpath"; then aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0 *\(.*\)$/\1/; p; }
19753
echo "$as_me: failed program was:" >&5
19754
sed 's/^/| /' conftest.$ac_ext >&5
19759
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
19760
conftest$ac_exeext conftest.$ac_ext
19761
if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
19763
hardcode_libdir_flag_spec_GCJ='${wl}-blibpath:$libdir:'"$aix_libpath"
19764
archive_cmds_GCJ="\$CC"' -o $output_objdir/$soname $compiler_flags $libobjs $deplibs `if test "x${allow_undefined_flag}" != "x"; then echo "${wl}${allow_undefined_flag}"; else :; fi` '" $shared_flag"
19765
archive_expsym_cmds_GCJ="\$CC"' -o $output_objdir/$soname $compiler_flags $libobjs $deplibs `if test "x${allow_undefined_flag}" != "x"; then echo "${wl}${allow_undefined_flag}"; else :; fi` '"\${wl}$exp_sym_flag:\$export_symbols $shared_flag"
19767
if test "$host_cpu" = ia64; then
19768
hardcode_libdir_flag_spec_GCJ='${wl}-R $libdir:/usr/lib:/lib'
19769
allow_undefined_flag_GCJ="-z nodefs"
19770
archive_expsym_cmds_GCJ="\$CC $shared_flag"' -o $output_objdir/$soname $compiler_flags $libobjs $deplibs ${wl}${allow_undefined_flag} '"\${wl}$no_entry_flag \${wl}$exp_sym_flag:\$export_symbols"
19772
# Determine the default libpath from the value encoded in an empty executable.
19773
cat >conftest.$ac_ext <<_ACEOF
19776
cat confdefs.h >>conftest.$ac_ext
19777
cat >>conftest.$ac_ext <<_ACEOF
19778
/* end confdefs.h. */
19788
rm -f conftest.$ac_objext conftest$ac_exeext
19789
if { (ac_try="$ac_link"
19790
case "(($ac_try" in
19791
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19792
*) ac_try_echo=$ac_try;;
19794
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19795
(eval "$ac_link") 2>conftest.er1
19797
grep -v '^ *+' conftest.er1 >conftest.err
19799
cat conftest.err >&5
19800
echo "$as_me:$LINENO: \$? = $ac_status" >&5
19801
(exit $ac_status); } && {
19802
test -z "$ac_c_werror_flag" ||
19803
test ! -s conftest.err
19804
} && test -s conftest$ac_exeext &&
19805
$as_test_x conftest$ac_exeext; then
19807
aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0 *\(.*\)$/\1/; p; }
19809
# Check for a 64-bit object if we didn't find anything.
19810
if test -z "$aix_libpath"; then aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0 *\(.*\)$/\1/; p; }
19813
echo "$as_me: failed program was:" >&5
19814
sed 's/^/| /' conftest.$ac_ext >&5
19819
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
19820
conftest$ac_exeext conftest.$ac_ext
19821
if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
19823
hardcode_libdir_flag_spec_GCJ='${wl}-blibpath:$libdir:'"$aix_libpath"
19824
# Warning - without using the other run time loading flags,
19825
# -berok will link without error, but may produce a broken library.
19826
no_undefined_flag_GCJ=' ${wl}-bernotok'
19827
allow_undefined_flag_GCJ=' ${wl}-berok'
19828
# -bexpall does not export symbols beginning with underscore (_)
19829
always_export_symbols_GCJ=yes
19830
# Exported symbols can be pulled into shared objects from archives
19831
whole_archive_flag_spec_GCJ=' '
19832
archive_cmds_need_lc_GCJ=yes
19833
# This is similar to how AIX traditionally builds it's shared libraries.
19834
archive_expsym_cmds_GCJ="\$CC $shared_flag"' -o $output_objdir/$soname $compiler_flags $libobjs $deplibs ${wl}-bE:$export_symbols ${wl}-bnoentry${allow_undefined_flag}~$AR $AR_FLAGS $output_objdir/$libname$release.a $output_objdir/$soname'
19840
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)'
19841
hardcode_libdir_flag_spec_GCJ='-L$libdir'
19842
hardcode_minus_L_GCJ=yes
19843
# see comment about different semantics on the GNU ld section
19848
export_dynamic_flag_spec_GCJ=-rdynamic
19851
cygwin* | mingw* | pw32*)
19852
# When not using gcc, we currently assume that we are using
19853
# Microsoft Visual C++.
19854
# hardcode_libdir_flag_spec is actually meaningless, as there is
19855
# no search path for DLLs.
19856
hardcode_libdir_flag_spec_GCJ=' '
19857
allow_undefined_flag_GCJ=no
19858
# Tell ltmain to make .lib files, not .a files.
19860
# Tell ltmain to make .dll files, not .so files.
19862
# FIXME: Setting linknames here is a bad hack.
19863
archive_cmds_GCJ='$CC -o $lib $compiler_flags $libobjs `echo "$deplibs" | $SED -e '\''s/ -lc$//'\''` -link -dll~linknames='
19864
# The linker will automatically build a .lib file if we build a DLL.
19865
old_archive_From_new_cmds_GCJ='true'
19866
# FIXME: Should let the user specify the lib program.
19867
old_archive_cmds_GCJ='lib /OUT:$oldlib$oldobjs$old_deplibs'
19868
fix_srcfile_path='`cygpath -w "$srcfile"`'
19869
enable_shared_with_static_runtimes_GCJ=yes
19872
darwin* | rhapsody*)
19873
if test "$GXX" = yes ; then
19874
archive_cmds_need_lc_GCJ=no
19876
rhapsody* | darwin1.[012])
19877
allow_undefined_flag_GCJ='-Wl,-undefined -Wl,suppress'
19880
if test -z ${MACOSX_DEPLOYMENT_TARGET} ; then
19881
allow_undefined_flag_GCJ='-Wl,-flat_namespace -Wl,-undefined -Wl,suppress'
19883
case ${MACOSX_DEPLOYMENT_TARGET} in
19885
allow_undefined_flag_GCJ='-Wl,-flat_namespace -Wl,-undefined -Wl,suppress'
19888
allow_undefined_flag_GCJ='-Wl,-undefined -Wl,dynamic_lookup'
19894
lt_int_apple_cc_single_mod=no
19895
output_verbose_link_cmd='echo'
19896
if $CC -dumpspecs 2>&1 | grep 'single_module' >/dev/null ; then
19897
lt_int_apple_cc_single_mod=yes
19899
if test "X$lt_int_apple_cc_single_mod" = Xyes ; then
19900
archive_cmds_GCJ='$CC -dynamiclib -single_module $allow_undefined_flag -o $lib $compiler_flags $libobjs $deplibs -install_name $rpath/$soname $verstring'
19902
archive_cmds_GCJ='$CC -r ${wl}-bind_at_load -keep_private_externs -nostdlib -o ${lib}-master.o $libobjs~$CC -dynamiclib $allow_undefined_flag -o $lib ${lib}-master.o $compiler_flags $deplibs -install_name $rpath/$soname $verstring'
19904
module_cmds_GCJ='$CC ${wl}-bind_at_load $allow_undefined_flag -o $lib -bundle $compiler_flags $libobjs $deplibs'
19905
# Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin ld's
19906
if test "X$lt_int_apple_cc_single_mod" = Xyes ; then
19907
archive_expsym_cmds_GCJ='sed -e "s,#.*,," -e "s,^[ ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC -dynamiclib -single_module $allow_undefined_flag -o $lib $compiler_flags $libobjs $deplibs -install_name $rpath/$soname $verstring~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
19909
archive_expsym_cmds_GCJ='sed -e "s,#.*,," -e "s,^[ ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC -r ${wl}-bind_at_load -keep_private_externs -nostdlib -o ${lib}-master.o $libobjs~$CC -dynamiclib $allow_undefined_flag -o $lib ${lib}-master.o $compiler_flags $deplibs -install_name $rpath/$soname $verstring~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
19911
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 $compiler_flags $libobjs $deplibs~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
19912
hardcode_direct_GCJ=no
19913
hardcode_automatic_GCJ=yes
19914
hardcode_shlibpath_var_GCJ=unsupported
19915
whole_archive_flag_spec_GCJ='-all_load $convenience'
19916
link_all_deplibs_GCJ=yes
19923
archive_cmds_GCJ='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
19924
hardcode_libdir_flag_spec_GCJ='-L$libdir'
19925
hardcode_shlibpath_var_GCJ=no
19932
# FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
19933
# support. Future versions do this automatically, but an explicit c++rt0.o
19934
# does not break anything, and helps significantly (at the cost of a little
19937
archive_cmds_GCJ='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
19938
hardcode_libdir_flag_spec_GCJ='-R$libdir'
19939
hardcode_direct_GCJ=yes
19940
hardcode_shlibpath_var_GCJ=no
19943
# Unfortunately, older versions of FreeBSD 2 do not have this feature.
19945
archive_cmds_GCJ='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
19946
hardcode_direct_GCJ=yes
19947
hardcode_minus_L_GCJ=yes
19948
hardcode_shlibpath_var_GCJ=no
19951
# FreeBSD 3 and greater uses gcc -shared to do shared libraries.
19952
freebsd* | kfreebsd*-gnu)
19953
archive_cmds_GCJ='$CC -shared -o $lib $compiler_flags $libobjs $deplibs'
19954
hardcode_libdir_flag_spec_GCJ='-R$libdir'
19955
hardcode_direct_GCJ=yes
19956
hardcode_shlibpath_var_GCJ=no
19960
if test "$GCC" = yes; then
19961
archive_cmds_GCJ='$rm $output_objdir/$soname~$CC -shared -fPIC ${wl}+b ${wl}$install_libdir -o $output_objdir/$soname $compiler_flags $libobjs $deplibs~test $output_objdir/$soname = $lib || mv $output_objdir/$soname $lib'
19963
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'
19965
hardcode_libdir_flag_spec_GCJ='${wl}+b ${wl}$libdir'
19966
hardcode_libdir_separator_GCJ=:
19967
hardcode_direct_GCJ=yes
19969
# hardcode_minus_L: Not really in the search PATH,
19970
# but as the default location of the library.
19971
hardcode_minus_L_GCJ=yes
19972
export_dynamic_flag_spec_GCJ='${wl}-E'
19976
if test "$GCC" = yes -a "$with_gnu_ld" = no; then
19977
case "$host_cpu" in
19979
archive_cmds_GCJ='$CC -shared ${wl}+h ${wl}$soname -o $lib $compiler_flags $libobjs $deplibs'
19982
archive_cmds_GCJ='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $compiler_flags $libobjs $deplibs'
19986
case "$host_cpu" in
19988
archive_cmds_GCJ='$LD -b +h $soname -o $lib $libobjs $deplibs $linker_flags'
19991
archive_cmds_GCJ='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
19995
if test "$with_gnu_ld" = no; then
19996
case "$host_cpu" in
19998
hardcode_libdir_flag_spec_GCJ='${wl}+b ${wl}$libdir'
19999
hardcode_libdir_flag_spec_ld_GCJ='+b $libdir'
20000
hardcode_libdir_separator_GCJ=:
20001
hardcode_direct_GCJ=no
20002
hardcode_shlibpath_var_GCJ=no
20005
hardcode_libdir_flag_spec_GCJ='-L$libdir'
20006
hardcode_direct_GCJ=no
20007
hardcode_shlibpath_var_GCJ=no
20009
# hardcode_minus_L: Not really in the search PATH,
20010
# but as the default location of the library.
20011
hardcode_minus_L_GCJ=yes
20014
hardcode_libdir_flag_spec_GCJ='${wl}+b ${wl}$libdir'
20015
hardcode_libdir_separator_GCJ=:
20016
hardcode_direct_GCJ=yes
20017
export_dynamic_flag_spec_GCJ='${wl}-E'
20019
# hardcode_minus_L: Not really in the search PATH,
20020
# but as the default location of the library.
20021
hardcode_minus_L_GCJ=yes
20027
irix5* | irix6* | nonstopux*)
20028
if test "$GCC" = yes; then
20029
archive_cmds_GCJ='$CC -shared $compiler_flags $libobjs $deplibs ${wl}-soname ${wl}$soname `test -n "$verstring" && echo ${wl}-set_version ${wl}$verstring` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
20031
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'
20032
hardcode_libdir_flag_spec_ld_GCJ='-rpath $libdir'
20034
hardcode_libdir_flag_spec_GCJ='${wl}-rpath ${wl}$libdir'
20035
hardcode_libdir_separator_GCJ=:
20036
link_all_deplibs_GCJ=yes
20040
if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
20041
archive_cmds_GCJ='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' # a.out
20043
archive_cmds_GCJ='$LD -shared -o $lib $libobjs $deplibs $linker_flags' # ELF
20045
hardcode_libdir_flag_spec_GCJ='-R$libdir'
20046
hardcode_direct_GCJ=yes
20047
hardcode_shlibpath_var_GCJ=no
20051
archive_cmds_GCJ='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
20052
hardcode_direct_GCJ=yes
20053
hardcode_libdir_flag_spec_GCJ='${wl}-rpath ${wl}$libdir'
20054
hardcode_libdir_separator_GCJ=:
20055
hardcode_shlibpath_var_GCJ=no
20059
hardcode_direct_GCJ=yes
20060
hardcode_shlibpath_var_GCJ=no
20061
if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
20062
archive_cmds_GCJ='$CC -shared $pic_flag -o $lib $compiler_flags $libobjs $deplibs'
20063
hardcode_libdir_flag_spec_GCJ='${wl}-rpath,$libdir'
20064
export_dynamic_flag_spec_GCJ='${wl}-E'
20067
openbsd[01].* | openbsd2.[0-7] | openbsd2.[0-7].*)
20068
archive_cmds_GCJ='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
20069
hardcode_libdir_flag_spec_GCJ='-R$libdir'
20072
archive_cmds_GCJ='$CC -shared $pic_flag -o $lib $compiler_flags $libobjs $deplibs'
20073
hardcode_libdir_flag_spec_GCJ='${wl}-rpath,$libdir'
20080
hardcode_libdir_flag_spec_GCJ='-L$libdir'
20081
hardcode_minus_L_GCJ=yes
20082
allow_undefined_flag_GCJ=unsupported
20083
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 $compiler_flags $libobjs $deplibs$output_objdir/$libname.def'
20084
old_archive_From_new_cmds_GCJ='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
20088
if test "$GCC" = yes; then
20089
allow_undefined_flag_GCJ=' ${wl}-expect_unresolved ${wl}\*'
20090
archive_cmds_GCJ='$CC -shared${allow_undefined_flag} $compiler_flags $libobjs $deplibs ${wl}-soname ${wl}$soname `test -n "$verstring" && echo ${wl}-set_version ${wl}$verstring` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
20092
allow_undefined_flag_GCJ=' -expect_unresolved \*'
20093
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'
20095
hardcode_libdir_flag_spec_GCJ='${wl}-rpath ${wl}$libdir'
20096
hardcode_libdir_separator_GCJ=:
20099
osf4* | osf5*) # as osf3* with the addition of -msym flag
20100
if test "$GCC" = yes; then
20101
allow_undefined_flag_GCJ=' ${wl}-expect_unresolved ${wl}\*'
20102
archive_cmds_GCJ='$CC -shared${allow_undefined_flag} $compiler_flags $libobjs $deplibs ${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'
20103
hardcode_libdir_flag_spec_GCJ='${wl}-rpath ${wl}$libdir'
20105
allow_undefined_flag_GCJ=' -expect_unresolved \*'
20106
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'
20107
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~
20108
$LD -shared${allow_undefined_flag} -input $lib.exp $linker_flags $libobjs $deplibs -soname $soname `test -n "$verstring" && echo -set_version $verstring` -update_registry ${objdir}/so_locations -o $lib~$rm $lib.exp'
20110
# Both c and cxx compiler support -rpath directly
20111
hardcode_libdir_flag_spec_GCJ='-rpath $libdir'
20113
hardcode_libdir_separator_GCJ=:
20117
archive_cmds_GCJ='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
20118
hardcode_shlibpath_var_GCJ=no
20119
export_dynamic_flag_spec_GCJ='${wl}-Bexport'
20120
runpath_var=LD_RUN_PATH
20121
hardcode_runpath_var=yes
20125
no_undefined_flag_GCJ=' -z text'
20126
if test "$GCC" = yes; then
20127
archive_cmds_GCJ='$CC -shared ${wl}-h ${wl}$soname -o $lib $compiler_flags $libobjs $deplibs'
20128
archive_expsym_cmds_GCJ='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
20129
$CC -shared ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $compiler_flags $libobjs $deplibs~$rm $lib.exp'
20131
archive_cmds_GCJ='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
20132
archive_expsym_cmds_GCJ='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
20133
$LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$rm $lib.exp'
20135
hardcode_libdir_flag_spec_GCJ='-R$libdir'
20136
hardcode_shlibpath_var_GCJ=no
20138
solaris2.[0-5] | solaris2.[0-5].*) ;;
20139
*) # Supported since Solaris 2.6 (maybe 2.5.1?)
20140
whole_archive_flag_spec_GCJ='-z allextract$convenience -z defaultextract' ;;
20142
link_all_deplibs_GCJ=yes
20146
if test "x$host_vendor" = xsequent; then
20147
# Use $CC to link under sequent, because it throws in some extra .o
20148
# files that make .init and .fini sections work.
20149
archive_cmds_GCJ='$CC -G ${wl}-h $soname -o $lib $compiler_flags $libobjs $deplibs'
20151
archive_cmds_GCJ='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
20153
hardcode_libdir_flag_spec_GCJ='-L$libdir'
20154
hardcode_direct_GCJ=yes
20155
hardcode_minus_L_GCJ=yes
20156
hardcode_shlibpath_var_GCJ=no
20160
case $host_vendor in
20162
archive_cmds_GCJ='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
20163
hardcode_direct_GCJ=yes # is this really true???
20166
## LD is ld it makes a PLAMLIB
20167
## CC just makes a GrossModule.
20168
archive_cmds_GCJ='$LD -G -o $lib $libobjs $deplibs $linker_flags'
20169
reload_cmds_GCJ='$CC -r -o $output$reload_objs'
20170
hardcode_direct_GCJ=no
20173
archive_cmds_GCJ='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
20174
hardcode_direct_GCJ=no #Motorola manual says yes, but my tests say they lie
20177
runpath_var='LD_RUN_PATH'
20178
hardcode_shlibpath_var_GCJ=no
20182
archive_cmds_GCJ='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
20183
hardcode_shlibpath_var_GCJ=no
20184
export_dynamic_flag_spec_GCJ='-Bexport'
20188
if test -d /usr/nec; then
20189
archive_cmds_GCJ='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
20190
hardcode_shlibpath_var_GCJ=no
20191
runpath_var=LD_RUN_PATH
20192
hardcode_runpath_var=yes
20198
archive_cmds_GCJ='$LD -G -o $lib $libobjs $deplibs $linker_flags'
20199
hardcode_direct_GCJ=yes
20200
hardcode_minus_L_GCJ=no
20201
hardcode_shlibpath_var_GCJ=no
20202
hardcode_runpath_var=yes
20203
runpath_var=LD_RUN_PATH
20206
sysv5OpenUNIX8* | sysv5UnixWare7* | sysv5uw[78]* | unixware7*)
20207
no_undefined_flag_GCJ='${wl}-z ${wl}text'
20208
if test "$GCC" = yes; then
20209
archive_cmds_GCJ='$CC -shared ${wl}-h ${wl}$soname -o $lib $compiler_flags $libobjs $deplibs'
20211
archive_cmds_GCJ='$CC -G ${wl}-h ${wl}$soname -o $lib $compiler_flags $libobjs $deplibs'
20213
runpath_var='LD_RUN_PATH'
20214
hardcode_shlibpath_var_GCJ=no
20218
no_undefined_flag_GCJ=' -z text'
20219
# $CC -shared without GNU ld will not create a library from C++
20220
# object files and a static libstdc++, better avoid it by now
20221
archive_cmds_GCJ='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
20222
archive_expsym_cmds_GCJ='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
20223
$LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$rm $lib.exp'
20224
hardcode_libdir_flag_spec_GCJ=
20225
hardcode_shlibpath_var_GCJ=no
20226
runpath_var='LD_RUN_PATH'
20230
archive_cmds_GCJ='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
20231
hardcode_libdir_flag_spec_GCJ='-L$libdir'
20232
hardcode_shlibpath_var_GCJ=no
20241
{ echo "$as_me:$LINENO: result: $ld_shlibs_GCJ" >&5
20242
echo "${ECHO_T}$ld_shlibs_GCJ" >&6; }
20243
test "$ld_shlibs_GCJ" = no && can_build_shared=no
20245
variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
20246
if test "$GCC" = yes; then
20247
variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
20251
# Do we need to explicitly link libc?
20253
case "x$archive_cmds_need_lc_GCJ" in
20255
# Assume -lc should be added
20256
archive_cmds_need_lc_GCJ=yes
20258
if test "$enable_shared" = yes && test "$GCC" = yes; then
20259
case $archive_cmds_GCJ in
20261
# FIXME: we may have to deal with multi-command sequences.
20264
# Test whether the compiler implicitly links with -lc since on some
20265
# systems, -lgcc has to come before -lc. If gcc already passes -lc
20266
# to ld, don't add -lc before -lgcc.
20267
{ echo "$as_me:$LINENO: checking whether -lc should be explicitly linked in" >&5
20268
echo $ECHO_N "checking whether -lc should be explicitly linked in... $ECHO_C" >&6; }
20270
printf "$lt_simple_compile_test_code" > conftest.$ac_ext
20272
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20273
(eval $ac_compile) 2>&5
20275
echo "$as_me:$LINENO: \$? = $ac_status" >&5
20276
(exit $ac_status); } 2>conftest.err; then
20279
libobjs=conftest.$ac_objext
20281
wl=$lt_prog_compiler_wl_GCJ
20287
lt_save_allow_undefined_flag=$allow_undefined_flag_GCJ
20288
allow_undefined_flag_GCJ=
20289
if { (eval echo "$as_me:$LINENO: \"$archive_cmds_GCJ 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1\"") >&5
20290
(eval $archive_cmds_GCJ 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1) 2>&5
20292
echo "$as_me:$LINENO: \$? = $ac_status" >&5
20293
(exit $ac_status); }
20295
archive_cmds_need_lc_GCJ=no
20297
archive_cmds_need_lc_GCJ=yes
20299
allow_undefined_flag_GCJ=$lt_save_allow_undefined_flag
20301
cat conftest.err 1>&5
20304
{ echo "$as_me:$LINENO: result: $archive_cmds_need_lc_GCJ" >&5
20305
echo "${ECHO_T}$archive_cmds_need_lc_GCJ" >&6; }
20312
{ echo "$as_me:$LINENO: checking dynamic linker characteristics" >&5
20313
echo $ECHO_N "checking dynamic linker characteristics... $ECHO_C" >&6; }
20314
library_names_spec=
20315
libname_spec='lib$name'
20319
postuninstall_cmds=
20323
shlibpath_overrides_runpath=unknown
20325
dynamic_linker="$host_os ld.so"
20326
sys_lib_dlsearch_path_spec="/lib /usr/lib"
20327
sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"
20328
need_lib_prefix=unknown
20329
hardcode_into_libs=no
20331
# when you set need_version to no, make sure it does not cause -set_version
20332
# flags to be left without arguments
20333
need_version=unknown
20338
library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a'
20339
shlibpath_var=LIBPATH
20341
# AIX 3 has no versioning support, so we append a major version to the name.
20342
soname_spec='${libname}${release}${shared_ext}$major'
20349
hardcode_into_libs=yes
20350
if test "$host_cpu" = ia64; then
20351
# AIX 5 supports IA64
20352
library_names_spec='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
20353
shlibpath_var=LD_LIBRARY_PATH
20355
# With GCC up to 2.95.x, collect2 would create an import file
20356
# for dependence libraries. The import file would start with
20357
# the line `#! .'. This would cause the generated library to
20358
# depend on `.', always an invalid library. This was fixed in
20359
# development snapshots of GCC prior to 3.0.
20361
aix4 | aix4.[01] | aix4.[01].*)
20362
if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
20364
echo '#endif'; } | ${CC} -E - | grep yes > /dev/null; then
20367
can_build_shared=no
20371
# AIX (on Power*) has no versioning support, so currently we can not hardcode correct
20372
# soname into executable. Probably we can add versioning support to
20373
# collect2, so additional links can be useful in future.
20374
if test "$aix_use_runtimelinking" = yes; then
20375
# If using run time linking (on AIX 4.2 or later) use lib<name>.so
20376
# instead of lib<name>.a to let people know that these are not
20377
# typical AIX shared libraries.
20378
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
20380
# We preserve .a as extension for shared libraries through AIX4.2
20381
# and later when we are not doing run time linking.
20382
library_names_spec='${libname}${release}.a $libname.a'
20383
soname_spec='${libname}${release}${shared_ext}$major'
20385
shlibpath_var=LIBPATH
20390
library_names_spec='$libname.ixlibrary $libname.a'
20391
# Create ${libname}_ixlibrary.a entries in /sys/libs.
20392
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'
20396
library_names_spec='${libname}${shared_ext}'
20397
dynamic_linker="$host_os ld.so"
20398
shlibpath_var=LIBRARY_PATH
20404
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
20405
soname_spec='${libname}${release}${shared_ext}$major'
20406
finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
20407
shlibpath_var=LD_LIBRARY_PATH
20408
sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
20409
sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
20410
# the default ld.so.conf also contains /usr/contrib/lib and
20411
# /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
20412
# libtool to hard-code these into programs
20415
cygwin* | mingw* | pw32*)
20416
version_type=windows
20421
case $GCC,$host_os in
20422
yes,cygwin* | yes,mingw* | yes,pw32*)
20423
library_names_spec='$libname.dll.a'
20424
# DLL is installed to $(libdir)/../bin by postinstall_cmds
20425
postinstall_cmds='base_file=`basename \${file}`~
20426
dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i;echo \$dlname'\''`~
20427
dldir=$destdir/`dirname \$dlpath`~
20428
test -d \$dldir || mkdir -p \$dldir~
20429
$install_prog $dir/$dlname \$dldir/$dlname'
20430
postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
20431
dlpath=$dir/\$dldll~
20433
shlibpath_overrides_runpath=yes
20437
# Cygwin DLLs use 'cyg' prefix rather than 'lib'
20438
soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
20439
sys_lib_search_path_spec="/usr/lib /lib/w32api /lib /usr/local/lib"
20442
# MinGW DLLs use traditional 'lib' prefix
20443
soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
20444
sys_lib_search_path_spec=`$CC -print-search-dirs | grep "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
20445
if echo "$sys_lib_search_path_spec" | grep ';[c-zC-Z]:/' >/dev/null; then
20446
# It is most probably a Windows format PATH printed by
20447
# mingw gcc, but we are running on Cygwin. Gcc prints its search
20448
# path with ; separators, and with drive letters. We can handle the
20449
# drive letters (cygwin fileutils understands them), so leave them,
20450
# especially as we might pass files found there to a mingw objdump,
20451
# which wouldn't understand a cygwinified path. Ahh.
20452
sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
20454
sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
20458
# pw32 DLLs use 'pw' prefix rather than 'lib'
20459
library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/./-/g'`${versuffix}${shared_ext}'
20465
library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
20468
dynamic_linker='Win32 ld.exe'
20469
# FIXME: first we should search . and the directory the executable is in
20473
darwin* | rhapsody*)
20474
dynamic_linker="$host_os dyld"
20475
version_type=darwin
20478
library_names_spec='${libname}${release}${versuffix}$shared_ext ${libname}${release}${major}$shared_ext ${libname}$shared_ext'
20479
soname_spec='${libname}${release}${major}$shared_ext'
20480
shlibpath_overrides_runpath=yes
20481
shlibpath_var=DYLD_LIBRARY_PATH
20482
shrext='$(test .$module = .yes && echo .so || echo .dylib)'
20483
# Apple's gcc prints 'gcc -print-search-dirs' doesn't operate the same.
20484
if test "$GCC" = yes; then
20485
sys_lib_search_path_spec=`$CC -print-search-dirs | tr "\n" "$PATH_SEPARATOR" | sed -e 's/libraries:/@libraries:/' | tr "@" "\n" | grep "^libraries:" | sed -e "s/^libraries://" -e "s,=/,/,g" -e "s,$PATH_SEPARATOR, ,g" -e "s,.*,& /lib /usr/lib /usr/local/lib,g"`
20487
sys_lib_search_path_spec='/lib /usr/lib /usr/local/lib'
20489
sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
20496
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
20497
soname_spec='${libname}${release}${shared_ext}$major'
20498
shlibpath_var=LD_LIBRARY_PATH
20509
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
20510
soname_spec='${libname}${release}${shared_ext}$major'
20511
shlibpath_var=LD_LIBRARY_PATH
20512
shlibpath_overrides_runpath=no
20513
hardcode_into_libs=yes
20514
dynamic_linker='GNU ld.so'
20518
objformat=`test -x /usr/bin/objformat && /usr/bin/objformat || echo aout`
20519
version_type=freebsd-$objformat
20520
case $version_type in
20522
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
20527
library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
20531
shlibpath_var=LD_LIBRARY_PATH
20534
shlibpath_overrides_runpath=yes
20536
freebsd3.01* | freebsdelf3.01*)
20537
shlibpath_overrides_runpath=yes
20538
hardcode_into_libs=yes
20541
shlibpath_overrides_runpath=no
20542
hardcode_into_libs=yes
20551
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
20552
soname_spec='${libname}${release}${shared_ext}$major'
20553
shlibpath_var=LD_LIBRARY_PATH
20554
hardcode_into_libs=yes
20557
hpux9* | hpux10* | hpux11*)
20558
# Give a soname corresponding to the major version so that dld.sl refuses to
20559
# link against other versions.
20563
case "$host_cpu" in
20566
hardcode_into_libs=yes
20567
dynamic_linker="$host_os dld.so"
20568
shlibpath_var=LD_LIBRARY_PATH
20569
shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
20570
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
20571
soname_spec='${libname}${release}${shared_ext}$major'
20572
if test "X$HPUX_IA64_MODE" = X32; then
20573
sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
20575
sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
20577
sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
20581
hardcode_into_libs=yes
20582
dynamic_linker="$host_os dld.sl"
20583
shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
20584
shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
20585
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
20586
soname_spec='${libname}${release}${shared_ext}$major'
20587
sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
20588
sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
20592
dynamic_linker="$host_os dld.sl"
20593
shlibpath_var=SHLIB_PATH
20594
shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
20595
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
20596
soname_spec='${libname}${release}${shared_ext}$major'
20599
# HP-UX runs *really* slowly unless shared libraries are mode 555.
20600
postinstall_cmds='chmod 555 $lib'
20603
irix5* | irix6* | nonstopux*)
20605
nonstopux*) version_type=nonstopux ;;
20607
if test "$lt_cv_prog_gnu_ld" = yes; then
20615
soname_spec='${libname}${release}${shared_ext}$major'
20616
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
20618
irix5* | nonstopux*)
20619
libsuff= shlibsuff=
20622
case $LD in # libtool.m4 will add one of these switches to LD
20623
*-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
20624
libsuff= shlibsuff= libmagic=32-bit;;
20625
*-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
20626
libsuff=32 shlibsuff=N32 libmagic=N32;;
20627
*-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
20628
libsuff=64 shlibsuff=64 libmagic=64-bit;;
20629
*) libsuff= shlibsuff= libmagic=never-match;;
20633
shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
20634
shlibpath_overrides_runpath=no
20635
sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
20636
sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}"
20637
hardcode_into_libs=yes
20640
# No shared lib support for Linux oldld, aout, or coff.
20641
linux*oldld* | linux*aout* | linux*coff*)
20645
# This must be Linux ELF.
20650
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
20651
soname_spec='${libname}${release}${shared_ext}$major'
20652
finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
20654
if test "x$LINUX_64_MODE" = x64; then
20655
# Some platforms are per default 64-bit, so there's no /lib64
20656
if test -d /lib64; then
20660
shlibpath_var=LD_LIBRARY_PATH
20661
shlibpath_overrides_runpath=no
20662
sys_lib_dlsearch_path_spec="/lib${libsuff} /usr/lib${libsuff}"
20663
sys_lib_search_path_spec="/lib${libsuff} /usr/lib${libsuff} /usr/local/lib${libsuff}"
20664
# This implies no fast_install, which is unacceptable.
20665
# Some rework will be needed to allow for fast_install
20666
# before this can be enabled.
20667
hardcode_into_libs=yes
20669
# We used to test for /lib/ld.so.1 and disable shared libraries on
20670
# powerpc, because MkLinux only supported shared libraries with the
20671
# GNU dynamic linker. Since this was broken with cross compilers,
20672
# most powerpc-linux boxes support dynamic linking these days and
20673
# people can always --disable-shared, the test was removed, and we
20674
# assume the GNU/Linux dynamic linker is in use.
20675
dynamic_linker='GNU/Linux ld.so'
20682
if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
20683
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
20684
finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
20685
dynamic_linker='NetBSD (a.out) ld.so'
20687
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} ${libname}${shared_ext}'
20688
soname_spec='${libname}${release}${shared_ext}$major'
20689
dynamic_linker='NetBSD ld.elf_so'
20691
shlibpath_var=LD_LIBRARY_PATH
20692
shlibpath_overrides_runpath=yes
20693
hardcode_into_libs=yes
20698
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
20699
shlibpath_var=LD_LIBRARY_PATH
20700
shlibpath_overrides_runpath=yes
20707
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
20708
soname_spec='${libname}${release}${shared_ext}$major'
20709
shlibpath_var=LD_LIBRARY_PATH
20710
shlibpath_overrides_runpath=yes
20717
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
20718
finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
20719
shlibpath_var=LD_LIBRARY_PATH
20720
if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
20722
openbsd2.[89] | openbsd2.[89].*)
20723
shlibpath_overrides_runpath=no
20726
shlibpath_overrides_runpath=yes
20730
shlibpath_overrides_runpath=yes
20735
libname_spec='$name'
20738
library_names_spec='$libname${shared_ext} $libname.a'
20739
dynamic_linker='OS/2 ld.exe'
20740
shlibpath_var=LIBPATH
20743
osf3* | osf4* | osf5*)
20747
soname_spec='${libname}${release}${shared_ext}$major'
20748
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
20749
shlibpath_var=LD_LIBRARY_PATH
20750
sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
20751
sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec"
20756
soname_spec='${libname}${release}${shared_ext}$major'
20757
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
20758
shlibpath_var=LD_LIBRARY_PATH
20765
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
20766
soname_spec='${libname}${release}${shared_ext}$major'
20767
shlibpath_var=LD_LIBRARY_PATH
20768
shlibpath_overrides_runpath=yes
20769
hardcode_into_libs=yes
20770
# ldd complains unless libraries are executable
20771
postinstall_cmds='chmod +x $lib'
20776
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
20777
finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
20778
shlibpath_var=LD_LIBRARY_PATH
20779
shlibpath_overrides_runpath=yes
20780
if test "$with_gnu_ld" = yes; then
20786
sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
20788
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
20789
soname_spec='${libname}${release}${shared_ext}$major'
20790
shlibpath_var=LD_LIBRARY_PATH
20791
case $host_vendor in
20793
shlibpath_overrides_runpath=no
20795
export_dynamic_flag_spec='${wl}-Blargedynsym'
20796
runpath_var=LD_RUN_PATH
20804
shlibpath_overrides_runpath=no
20805
sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
20811
if test -d /usr/nec ;then
20813
library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
20814
soname_spec='$libname${shared_ext}.$major'
20815
shlibpath_var=LD_LIBRARY_PATH
20821
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
20822
soname_spec='${libname}${release}${shared_ext}$major'
20823
shlibpath_var=LD_LIBRARY_PATH
20830
{ echo "$as_me:$LINENO: result: $dynamic_linker" >&5
20831
echo "${ECHO_T}$dynamic_linker" >&6; }
20832
test "$dynamic_linker" = no && can_build_shared=no
20834
{ echo "$as_me:$LINENO: checking how to hardcode library paths into programs" >&5
20835
echo $ECHO_N "checking how to hardcode library paths into programs... $ECHO_C" >&6; }
20836
hardcode_action_GCJ=
20837
if test -n "$hardcode_libdir_flag_spec_GCJ" || \
20838
test -n "$runpath_var GCJ" || \
20839
test "X$hardcode_automatic_GCJ"="Xyes" ; then
20841
# We can hardcode non-existant directories.
20842
if test "$hardcode_direct_GCJ" != no &&
20843
# If the only mechanism to avoid hardcoding is shlibpath_var, we
20844
# have to relink, otherwise we might link with an installed library
20845
# when we should be linking with a yet-to-be-installed one
20846
## test "$_LT_AC_TAGVAR(hardcode_shlibpath_var, GCJ)" != no &&
20847
test "$hardcode_minus_L_GCJ" != no; then
20848
# Linking always hardcodes the temporary library directory.
20849
hardcode_action_GCJ=relink
20851
# We can link without hardcoding, and we can hardcode nonexisting dirs.
20852
hardcode_action_GCJ=immediate
20855
# We cannot hardcode anything, or else we can only hardcode existing
20857
hardcode_action_GCJ=unsupported
20859
{ echo "$as_me:$LINENO: result: $hardcode_action_GCJ" >&5
20860
echo "${ECHO_T}$hardcode_action_GCJ" >&6; }
20862
if test "$hardcode_action_GCJ" = relink; then
20863
# Fast installation is not supported
20864
enable_fast_install=no
20865
elif test "$shlibpath_overrides_runpath" = yes ||
20866
test "$enable_shared" = no; then
20867
# Fast installation is not necessary
20868
enable_fast_install=needless
20873
{ echo "$as_me:$LINENO: checking whether stripping libraries is possible" >&5
20874
echo $ECHO_N "checking whether stripping libraries is possible... $ECHO_C" >&6; }
20875
if test -n "$STRIP" && $STRIP -V 2>&1 | grep "GNU strip" >/dev/null; then
20876
test -z "$old_striplib" && old_striplib="$STRIP --strip-debug"
20877
test -z "$striplib" && striplib="$STRIP --strip-unneeded"
20878
{ echo "$as_me:$LINENO: result: yes" >&5
20879
echo "${ECHO_T}yes" >&6; }
20881
# FIXME - insert some real tests, host_os isn't really good enough
20884
if test -n "$STRIP" ; then
20885
striplib="$STRIP -x"
20886
{ echo "$as_me:$LINENO: result: yes" >&5
20887
echo "${ECHO_T}yes" >&6; }
20889
{ echo "$as_me:$LINENO: result: no" >&5
20890
echo "${ECHO_T}no" >&6; }
20894
{ echo "$as_me:$LINENO: result: no" >&5
20895
echo "${ECHO_T}no" >&6; }
20900
if test "x$enable_dlopen" != xyes; then
20901
enable_dlopen=unknown
20902
enable_dlopen_self=unknown
20903
enable_dlopen_self_static=unknown
20910
lt_cv_dlopen="load_add_on"
20912
lt_cv_dlopen_self=yes
20916
lt_cv_dlopen="LoadLibrary"
20921
lt_cv_dlopen="dlopen"
20926
# if libdl is installed we need to link against it
20927
{ echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
20928
echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6; }
20929
if test "${ac_cv_lib_dl_dlopen+set}" = set; then
20930
echo $ECHO_N "(cached) $ECHO_C" >&6
20932
ac_check_lib_save_LIBS=$LIBS
20934
cat >conftest.$ac_ext <<_ACEOF
20937
cat confdefs.h >>conftest.$ac_ext
20938
cat >>conftest.$ac_ext <<_ACEOF
20939
/* end confdefs.h. */
20941
/* Override any GCC internal prototype to avoid an error.
20942
Use char because int might match the return type of a GCC
20943
builtin and then its argument prototype would still apply. */
20956
rm -f conftest.$ac_objext conftest$ac_exeext
20957
if { (ac_try="$ac_link"
20958
case "(($ac_try" in
20959
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20960
*) ac_try_echo=$ac_try;;
20962
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20963
(eval "$ac_link") 2>conftest.er1
20965
grep -v '^ *+' conftest.er1 >conftest.err
20967
cat conftest.err >&5
20968
echo "$as_me:$LINENO: \$? = $ac_status" >&5
20969
(exit $ac_status); } && {
20970
test -z "$ac_c_werror_flag" ||
20971
test ! -s conftest.err
20972
} && test -s conftest$ac_exeext &&
20973
$as_test_x conftest$ac_exeext; then
20974
ac_cv_lib_dl_dlopen=yes
20976
echo "$as_me: failed program was:" >&5
20977
sed 's/^/| /' conftest.$ac_ext >&5
20979
ac_cv_lib_dl_dlopen=no
20982
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
20983
conftest$ac_exeext conftest.$ac_ext
20984
LIBS=$ac_check_lib_save_LIBS
20986
{ echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
20987
echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6; }
20988
if test $ac_cv_lib_dl_dlopen = yes; then
20989
lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
20992
lt_cv_dlopen="dyld"
20994
lt_cv_dlopen_self=yes
21001
{ echo "$as_me:$LINENO: checking for shl_load" >&5
21002
echo $ECHO_N "checking for shl_load... $ECHO_C" >&6; }
21003
if test "${ac_cv_func_shl_load+set}" = set; then
21004
echo $ECHO_N "(cached) $ECHO_C" >&6
21006
cat >conftest.$ac_ext <<_ACEOF
21009
cat confdefs.h >>conftest.$ac_ext
21010
cat >>conftest.$ac_ext <<_ACEOF
21011
/* end confdefs.h. */
21012
/* Define shl_load to an innocuous variant, in case <limits.h> declares shl_load.
21013
For example, HP-UX 11i <limits.h> declares gettimeofday. */
21014
#define shl_load innocuous_shl_load
21016
/* System header to define __stub macros and hopefully few prototypes,
21017
which can conflict with char shl_load (); below.
21018
Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
21019
<limits.h> exists even on freestanding compilers. */
21022
# include <limits.h>
21024
# include <assert.h>
21029
/* Override any GCC internal prototype to avoid an error.
21030
Use char because int might match the return type of a GCC
21031
builtin and then its argument prototype would still apply. */
21036
/* The GNU C library defines this for functions which it implements
21037
to always fail with ENOSYS. Some functions are actually named
21038
something starting with __ and the normal name is an alias. */
21039
#if defined __stub_shl_load || defined __stub___shl_load
21046
return shl_load ();
21051
rm -f conftest.$ac_objext conftest$ac_exeext
21052
if { (ac_try="$ac_link"
21053
case "(($ac_try" in
21054
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21055
*) ac_try_echo=$ac_try;;
21057
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21058
(eval "$ac_link") 2>conftest.er1
21060
grep -v '^ *+' conftest.er1 >conftest.err
21062
cat conftest.err >&5
21063
echo "$as_me:$LINENO: \$? = $ac_status" >&5
21064
(exit $ac_status); } && {
21065
test -z "$ac_c_werror_flag" ||
21066
test ! -s conftest.err
21067
} && test -s conftest$ac_exeext &&
21068
$as_test_x conftest$ac_exeext; then
21069
ac_cv_func_shl_load=yes
21071
echo "$as_me: failed program was:" >&5
21072
sed 's/^/| /' conftest.$ac_ext >&5
21074
ac_cv_func_shl_load=no
21077
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
21078
conftest$ac_exeext conftest.$ac_ext
21080
{ echo "$as_me:$LINENO: result: $ac_cv_func_shl_load" >&5
21081
echo "${ECHO_T}$ac_cv_func_shl_load" >&6; }
21082
if test $ac_cv_func_shl_load = yes; then
21083
lt_cv_dlopen="shl_load"
21085
{ echo "$as_me:$LINENO: checking for shl_load in -ldld" >&5
21086
echo $ECHO_N "checking for shl_load in -ldld... $ECHO_C" >&6; }
21087
if test "${ac_cv_lib_dld_shl_load+set}" = set; then
21088
echo $ECHO_N "(cached) $ECHO_C" >&6
21090
ac_check_lib_save_LIBS=$LIBS
21092
cat >conftest.$ac_ext <<_ACEOF
21095
cat confdefs.h >>conftest.$ac_ext
21096
cat >>conftest.$ac_ext <<_ACEOF
21097
/* end confdefs.h. */
21099
/* Override any GCC internal prototype to avoid an error.
21100
Use char because int might match the return type of a GCC
21101
builtin and then its argument prototype would still apply. */
21109
return shl_load ();
21114
rm -f conftest.$ac_objext conftest$ac_exeext
21115
if { (ac_try="$ac_link"
21116
case "(($ac_try" in
21117
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21118
*) ac_try_echo=$ac_try;;
21120
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21121
(eval "$ac_link") 2>conftest.er1
21123
grep -v '^ *+' conftest.er1 >conftest.err
21125
cat conftest.err >&5
21126
echo "$as_me:$LINENO: \$? = $ac_status" >&5
21127
(exit $ac_status); } && {
21128
test -z "$ac_c_werror_flag" ||
21129
test ! -s conftest.err
21130
} && test -s conftest$ac_exeext &&
21131
$as_test_x conftest$ac_exeext; then
21132
ac_cv_lib_dld_shl_load=yes
21134
echo "$as_me: failed program was:" >&5
21135
sed 's/^/| /' conftest.$ac_ext >&5
21137
ac_cv_lib_dld_shl_load=no
21140
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
21141
conftest$ac_exeext conftest.$ac_ext
21142
LIBS=$ac_check_lib_save_LIBS
21144
{ echo "$as_me:$LINENO: result: $ac_cv_lib_dld_shl_load" >&5
21145
echo "${ECHO_T}$ac_cv_lib_dld_shl_load" >&6; }
21146
if test $ac_cv_lib_dld_shl_load = yes; then
21147
lt_cv_dlopen="shl_load" lt_cv_dlopen_libs="-dld"
21149
{ echo "$as_me:$LINENO: checking for dlopen" >&5
21150
echo $ECHO_N "checking for dlopen... $ECHO_C" >&6; }
21151
if test "${ac_cv_func_dlopen+set}" = set; then
21152
echo $ECHO_N "(cached) $ECHO_C" >&6
21154
cat >conftest.$ac_ext <<_ACEOF
21157
cat confdefs.h >>conftest.$ac_ext
21158
cat >>conftest.$ac_ext <<_ACEOF
21159
/* end confdefs.h. */
21160
/* Define dlopen to an innocuous variant, in case <limits.h> declares dlopen.
21161
For example, HP-UX 11i <limits.h> declares gettimeofday. */
21162
#define dlopen innocuous_dlopen
21164
/* System header to define __stub macros and hopefully few prototypes,
21165
which can conflict with char dlopen (); below.
21166
Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
21167
<limits.h> exists even on freestanding compilers. */
21170
# include <limits.h>
21172
# include <assert.h>
21177
/* Override any GCC internal prototype to avoid an error.
21178
Use char because int might match the return type of a GCC
21179
builtin and then its argument prototype would still apply. */
21184
/* The GNU C library defines this for functions which it implements
21185
to always fail with ENOSYS. Some functions are actually named
21186
something starting with __ and the normal name is an alias. */
21187
#if defined __stub_dlopen || defined __stub___dlopen
21199
rm -f conftest.$ac_objext conftest$ac_exeext
21200
if { (ac_try="$ac_link"
21201
case "(($ac_try" in
21202
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21203
*) ac_try_echo=$ac_try;;
21205
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21206
(eval "$ac_link") 2>conftest.er1
21208
grep -v '^ *+' conftest.er1 >conftest.err
21210
cat conftest.err >&5
21211
echo "$as_me:$LINENO: \$? = $ac_status" >&5
21212
(exit $ac_status); } && {
21213
test -z "$ac_c_werror_flag" ||
21214
test ! -s conftest.err
21215
} && test -s conftest$ac_exeext &&
21216
$as_test_x conftest$ac_exeext; then
21217
ac_cv_func_dlopen=yes
21219
echo "$as_me: failed program was:" >&5
21220
sed 's/^/| /' conftest.$ac_ext >&5
21222
ac_cv_func_dlopen=no
21225
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
21226
conftest$ac_exeext conftest.$ac_ext
21228
{ echo "$as_me:$LINENO: result: $ac_cv_func_dlopen" >&5
21229
echo "${ECHO_T}$ac_cv_func_dlopen" >&6; }
21230
if test $ac_cv_func_dlopen = yes; then
21231
lt_cv_dlopen="dlopen"
21233
{ echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
21234
echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6; }
21235
if test "${ac_cv_lib_dl_dlopen+set}" = set; then
21236
echo $ECHO_N "(cached) $ECHO_C" >&6
21238
ac_check_lib_save_LIBS=$LIBS
21240
cat >conftest.$ac_ext <<_ACEOF
21243
cat confdefs.h >>conftest.$ac_ext
21244
cat >>conftest.$ac_ext <<_ACEOF
21245
/* end confdefs.h. */
21247
/* Override any GCC internal prototype to avoid an error.
21248
Use char because int might match the return type of a GCC
21249
builtin and then its argument prototype would still apply. */
21262
rm -f conftest.$ac_objext conftest$ac_exeext
21263
if { (ac_try="$ac_link"
21264
case "(($ac_try" in
21265
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21266
*) ac_try_echo=$ac_try;;
21268
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21269
(eval "$ac_link") 2>conftest.er1
21271
grep -v '^ *+' conftest.er1 >conftest.err
21273
cat conftest.err >&5
21274
echo "$as_me:$LINENO: \$? = $ac_status" >&5
21275
(exit $ac_status); } && {
21276
test -z "$ac_c_werror_flag" ||
21277
test ! -s conftest.err
21278
} && test -s conftest$ac_exeext &&
21279
$as_test_x conftest$ac_exeext; then
21280
ac_cv_lib_dl_dlopen=yes
21282
echo "$as_me: failed program was:" >&5
21283
sed 's/^/| /' conftest.$ac_ext >&5
21285
ac_cv_lib_dl_dlopen=no
21288
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
21289
conftest$ac_exeext conftest.$ac_ext
21290
LIBS=$ac_check_lib_save_LIBS
21292
{ echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
21293
echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6; }
21294
if test $ac_cv_lib_dl_dlopen = yes; then
21295
lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
21297
{ echo "$as_me:$LINENO: checking for dlopen in -lsvld" >&5
21298
echo $ECHO_N "checking for dlopen in -lsvld... $ECHO_C" >&6; }
21299
if test "${ac_cv_lib_svld_dlopen+set}" = set; then
21300
echo $ECHO_N "(cached) $ECHO_C" >&6
21302
ac_check_lib_save_LIBS=$LIBS
21303
LIBS="-lsvld $LIBS"
21304
cat >conftest.$ac_ext <<_ACEOF
21307
cat confdefs.h >>conftest.$ac_ext
21308
cat >>conftest.$ac_ext <<_ACEOF
21309
/* end confdefs.h. */
21311
/* Override any GCC internal prototype to avoid an error.
21312
Use char because int might match the return type of a GCC
21313
builtin and then its argument prototype would still apply. */
21326
rm -f conftest.$ac_objext conftest$ac_exeext
21327
if { (ac_try="$ac_link"
21328
case "(($ac_try" in
21329
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21330
*) ac_try_echo=$ac_try;;
21332
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21333
(eval "$ac_link") 2>conftest.er1
21335
grep -v '^ *+' conftest.er1 >conftest.err
21337
cat conftest.err >&5
21338
echo "$as_me:$LINENO: \$? = $ac_status" >&5
21339
(exit $ac_status); } && {
21340
test -z "$ac_c_werror_flag" ||
21341
test ! -s conftest.err
21342
} && test -s conftest$ac_exeext &&
21343
$as_test_x conftest$ac_exeext; then
21344
ac_cv_lib_svld_dlopen=yes
21346
echo "$as_me: failed program was:" >&5
21347
sed 's/^/| /' conftest.$ac_ext >&5
21349
ac_cv_lib_svld_dlopen=no
21352
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
21353
conftest$ac_exeext conftest.$ac_ext
21354
LIBS=$ac_check_lib_save_LIBS
21356
{ echo "$as_me:$LINENO: result: $ac_cv_lib_svld_dlopen" >&5
21357
echo "${ECHO_T}$ac_cv_lib_svld_dlopen" >&6; }
21358
if test $ac_cv_lib_svld_dlopen = yes; then
21359
lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-lsvld"
21361
{ echo "$as_me:$LINENO: checking for dld_link in -ldld" >&5
21362
echo $ECHO_N "checking for dld_link in -ldld... $ECHO_C" >&6; }
21363
if test "${ac_cv_lib_dld_dld_link+set}" = set; then
21364
echo $ECHO_N "(cached) $ECHO_C" >&6
21366
ac_check_lib_save_LIBS=$LIBS
21368
cat >conftest.$ac_ext <<_ACEOF
21371
cat confdefs.h >>conftest.$ac_ext
21372
cat >>conftest.$ac_ext <<_ACEOF
21373
/* end confdefs.h. */
21375
/* Override any GCC internal prototype to avoid an error.
21376
Use char because int might match the return type of a GCC
21377
builtin and then its argument prototype would still apply. */
21385
return dld_link ();
21390
rm -f conftest.$ac_objext conftest$ac_exeext
21391
if { (ac_try="$ac_link"
21392
case "(($ac_try" in
21393
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21394
*) ac_try_echo=$ac_try;;
21396
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21397
(eval "$ac_link") 2>conftest.er1
21399
grep -v '^ *+' conftest.er1 >conftest.err
21401
cat conftest.err >&5
21402
echo "$as_me:$LINENO: \$? = $ac_status" >&5
21403
(exit $ac_status); } && {
21404
test -z "$ac_c_werror_flag" ||
21405
test ! -s conftest.err
21406
} && test -s conftest$ac_exeext &&
21407
$as_test_x conftest$ac_exeext; then
21408
ac_cv_lib_dld_dld_link=yes
21410
echo "$as_me: failed program was:" >&5
21411
sed 's/^/| /' conftest.$ac_ext >&5
21413
ac_cv_lib_dld_dld_link=no
21416
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
21417
conftest$ac_exeext conftest.$ac_ext
21418
LIBS=$ac_check_lib_save_LIBS
21420
{ echo "$as_me:$LINENO: result: $ac_cv_lib_dld_dld_link" >&5
21421
echo "${ECHO_T}$ac_cv_lib_dld_dld_link" >&6; }
21422
if test $ac_cv_lib_dld_dld_link = yes; then
21423
lt_cv_dlopen="dld_link" lt_cv_dlopen_libs="-dld"
21444
if test "x$lt_cv_dlopen" != xno; then
21450
case $lt_cv_dlopen in
21452
save_CPPFLAGS="$CPPFLAGS"
21453
test "x$ac_cv_header_dlfcn_h" = xyes && CPPFLAGS="$CPPFLAGS -DHAVE_DLFCN_H"
21455
save_LDFLAGS="$LDFLAGS"
21456
eval LDFLAGS=\"\$LDFLAGS $export_dynamic_flag_spec\"
21459
LIBS="$lt_cv_dlopen_libs $LIBS"
21461
{ echo "$as_me:$LINENO: checking whether a program can dlopen itself" >&5
21462
echo $ECHO_N "checking whether a program can dlopen itself... $ECHO_C" >&6; }
21463
if test "${lt_cv_dlopen_self+set}" = set; then
21464
echo $ECHO_N "(cached) $ECHO_C" >&6
21466
if test "$cross_compiling" = yes; then :
21467
lt_cv_dlopen_self=cross
21469
lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
21470
lt_status=$lt_dlunknown
21471
cat > conftest.$ac_ext <<EOF
21472
#line 21472 "configure"
21473
#include "confdefs.h"
21482
# define LT_DLGLOBAL RTLD_GLOBAL
21485
# define LT_DLGLOBAL DL_GLOBAL
21487
# define LT_DLGLOBAL 0
21491
/* We may have to define LT_DLLAZY_OR_NOW in the command line if we
21492
find out it does not work in some platform. */
21493
#ifndef LT_DLLAZY_OR_NOW
21495
# define LT_DLLAZY_OR_NOW RTLD_LAZY
21498
# define LT_DLLAZY_OR_NOW DL_LAZY
21501
# define LT_DLLAZY_OR_NOW RTLD_NOW
21504
# define LT_DLLAZY_OR_NOW DL_NOW
21506
# define LT_DLLAZY_OR_NOW 0
21514
extern "C" void exit (int);
21517
void fnord() { int i=42;}
21520
void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
21521
int status = $lt_dlunknown;
21525
if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
21526
else if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
21527
/* dlclose (self); */
21533
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21534
(eval $ac_link) 2>&5
21536
echo "$as_me:$LINENO: \$? = $ac_status" >&5
21537
(exit $ac_status); } && test -s conftest${ac_exeext} 2>/dev/null; then
21538
(./conftest; exit; ) 2>/dev/null
21540
case x$lt_status in
21541
x$lt_dlno_uscore) lt_cv_dlopen_self=yes ;;
21542
x$lt_dlneed_uscore) lt_cv_dlopen_self=yes ;;
21543
x$lt_unknown|x*) lt_cv_dlopen_self=no ;;
21546
# compilation failed
21547
lt_cv_dlopen_self=no
21554
{ echo "$as_me:$LINENO: result: $lt_cv_dlopen_self" >&5
21555
echo "${ECHO_T}$lt_cv_dlopen_self" >&6; }
21557
if test "x$lt_cv_dlopen_self" = xyes; then
21558
LDFLAGS="$LDFLAGS $link_static_flag"
21559
{ echo "$as_me:$LINENO: checking whether a statically linked program can dlopen itself" >&5
21560
echo $ECHO_N "checking whether a statically linked program can dlopen itself... $ECHO_C" >&6; }
21561
if test "${lt_cv_dlopen_self_static+set}" = set; then
21562
echo $ECHO_N "(cached) $ECHO_C" >&6
21564
if test "$cross_compiling" = yes; then :
21565
lt_cv_dlopen_self_static=cross
21567
lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
21568
lt_status=$lt_dlunknown
21569
cat > conftest.$ac_ext <<EOF
21570
#line 21570 "configure"
21571
#include "confdefs.h"
21580
# define LT_DLGLOBAL RTLD_GLOBAL
21583
# define LT_DLGLOBAL DL_GLOBAL
21585
# define LT_DLGLOBAL 0
21589
/* We may have to define LT_DLLAZY_OR_NOW in the command line if we
21590
find out it does not work in some platform. */
21591
#ifndef LT_DLLAZY_OR_NOW
21593
# define LT_DLLAZY_OR_NOW RTLD_LAZY
21596
# define LT_DLLAZY_OR_NOW DL_LAZY
21599
# define LT_DLLAZY_OR_NOW RTLD_NOW
21602
# define LT_DLLAZY_OR_NOW DL_NOW
21604
# define LT_DLLAZY_OR_NOW 0
21612
extern "C" void exit (int);
21615
void fnord() { int i=42;}
21618
void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
21619
int status = $lt_dlunknown;
21623
if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
21624
else if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
21625
/* dlclose (self); */
21631
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21632
(eval $ac_link) 2>&5
21634
echo "$as_me:$LINENO: \$? = $ac_status" >&5
21635
(exit $ac_status); } && test -s conftest${ac_exeext} 2>/dev/null; then
21636
(./conftest; exit; ) 2>/dev/null
21638
case x$lt_status in
21639
x$lt_dlno_uscore) lt_cv_dlopen_self_static=yes ;;
21640
x$lt_dlneed_uscore) lt_cv_dlopen_self_static=yes ;;
21641
x$lt_unknown|x*) lt_cv_dlopen_self_static=no ;;
21644
# compilation failed
21645
lt_cv_dlopen_self_static=no
21652
{ echo "$as_me:$LINENO: result: $lt_cv_dlopen_self_static" >&5
21653
echo "${ECHO_T}$lt_cv_dlopen_self_static" >&6; }
21656
CPPFLAGS="$save_CPPFLAGS"
21657
LDFLAGS="$save_LDFLAGS"
21662
case $lt_cv_dlopen_self in
21663
yes|no) enable_dlopen_self=$lt_cv_dlopen_self ;;
21664
*) enable_dlopen_self=unknown ;;
21667
case $lt_cv_dlopen_self_static in
21668
yes|no) enable_dlopen_self_static=$lt_cv_dlopen_self_static ;;
21669
*) enable_dlopen_self_static=unknown ;;
21674
# The else clause should only fire when bootstrapping the
21675
# libtool distribution, otherwise you forgot to ship ltmain.sh
21676
# with your package, and you will get complaints that there are
21677
# no rules to generate ltmain.sh.
21678
if test -f "$ltmain"; then
21679
# See if we are running on zsh, and set the options which allow our commands through
21680
# without removal of \ escapes.
21681
if test -n "${ZSH_VERSION+set}" ; then
21682
setopt NO_GLOB_SUBST
21684
# Now quote all the things that may contain metacharacters while being
21685
# careful not to overquote the AC_SUBSTed values. We take copies of the
21686
# variables and quote the copies for generation of the libtool script.
21687
for var in echo old_CC old_CFLAGS AR AR_FLAGS EGREP RANLIB LN_S LTCC NM SED SHELL \
21688
libname_spec library_names_spec soname_spec extract_expsyms_cmds \
21689
old_striplib striplib file_magic_cmd finish_cmds finish_eval \
21690
deplibs_check_method reload_flag reload_cmds need_locks \
21691
lt_cv_sys_global_symbol_pipe lt_cv_sys_global_symbol_to_cdecl \
21692
lt_cv_sys_global_symbol_to_c_name_address \
21693
sys_lib_search_path_spec sys_lib_dlsearch_path_spec \
21694
old_postinstall_cmds old_postuninstall_cmds \
21698
lt_prog_compiler_wl_GCJ \
21699
lt_prog_compiler_pic_GCJ \
21700
lt_prog_compiler_static_GCJ \
21701
lt_prog_compiler_no_builtin_flag_GCJ \
21702
export_dynamic_flag_spec_GCJ \
21703
thread_safe_flag_spec_GCJ \
21704
whole_archive_flag_spec_GCJ \
21705
enable_shared_with_static_runtimes_GCJ \
21706
old_archive_cmds_GCJ \
21707
old_archive_from_new_cmds_GCJ \
21708
predep_objects_GCJ \
21709
postdep_objects_GCJ \
21712
compiler_lib_search_path_GCJ \
21714
archive_expsym_cmds_GCJ \
21715
postinstall_cmds_GCJ \
21716
postuninstall_cmds_GCJ \
21717
old_archive_from_expsyms_cmds_GCJ \
21718
allow_undefined_flag_GCJ \
21719
no_undefined_flag_GCJ \
21720
export_symbols_cmds_GCJ \
21721
hardcode_libdir_flag_spec_GCJ \
21722
hardcode_libdir_flag_spec_ld_GCJ \
21723
hardcode_libdir_separator_GCJ \
21724
hardcode_automatic_GCJ \
21726
module_expsym_cmds_GCJ \
21727
lt_cv_prog_compiler_c_o_GCJ \
21728
exclude_expsyms_GCJ \
21729
include_expsyms_GCJ; do
21732
old_archive_cmds_GCJ | \
21733
old_archive_from_new_cmds_GCJ | \
21734
archive_cmds_GCJ | \
21735
archive_expsym_cmds_GCJ | \
21736
module_cmds_GCJ | \
21737
module_expsym_cmds_GCJ | \
21738
old_archive_from_expsyms_cmds_GCJ | \
21739
export_symbols_cmds_GCJ | \
21740
extract_expsyms_cmds | reload_cmds | finish_cmds | \
21741
postinstall_cmds | postuninstall_cmds | \
21742
old_postinstall_cmds | old_postuninstall_cmds | \
21743
sys_lib_search_path_spec | sys_lib_dlsearch_path_spec)
21744
# Double-quote double-evaled strings.
21745
eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$double_quote_subst\" -e \"\$sed_quote_subst\" -e \"\$delay_variable_subst\"\`\\\""
21748
eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$sed_quote_subst\"\`\\\""
21754
*'\$0 --fallback-echo"')
21755
lt_echo=`$echo "X$lt_echo" | $Xsed -e 's/\\\\\\\$0 --fallback-echo"$/$0 --fallback-echo"/'`
21761
cat <<__EOF__ >> "$cfgfile"
21762
# ### BEGIN LIBTOOL TAG CONFIG: $tagname
21764
# Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
21766
# Shell to use when invoking shell scripts.
21769
# Whether or not to build shared libraries.
21770
build_libtool_libs=$enable_shared
21772
# Whether or not to build static libraries.
21773
build_old_libs=$enable_static
21775
# Whether or not to add -lc for building shared libraries.
21776
build_libtool_need_lc=$archive_cmds_need_lc_GCJ
21778
# Whether or not to disallow shared libs when runtime libs are static
21779
allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes_GCJ
21781
# Whether or not to optimize for fast installation.
21782
fast_install=$enable_fast_install
21785
host_alias=$host_alias
21788
# An echo program that does not interpret backslashes.
21793
AR_FLAGS=$lt_AR_FLAGS
21798
# A language-specific compiler.
21799
CC=$lt_compiler_GCJ
21801
# Is the compiler the GNU C compiler?
21807
# The linker used to build libraries.
21810
# Whether we need hard or soft links.
21813
# A BSD-compatible nm program.
21816
# A symbol stripping program
21819
# Used to examine libraries when file_magic_cmd begins "file"
21820
MAGIC_CMD=$MAGIC_CMD
21822
# Used on cygwin: DLL creation program.
21825
# Used on cygwin: object dumper.
21828
# Used on cygwin: assembler.
21831
# The name of the directory that contains temporary libtool files.
21834
# How to create reloadable object files.
21835
reload_flag=$lt_reload_flag
21836
reload_cmds=$lt_reload_cmds
21838
# How to pass a linker flag through the compiler.
21839
wl=$lt_lt_prog_compiler_wl_GCJ
21841
# Object file suffix (normally "o").
21842
objext="$ac_objext"
21844
# Old archive suffix (normally "a").
21847
# Shared library suffix (normally ".so").
21850
# Executable file suffix (normally "").
21853
# Additional compiler flags for building library objects.
21854
pic_flag=$lt_lt_prog_compiler_pic_GCJ
21857
# What is the maximum length of a command?
21858
max_cmd_len=$lt_cv_sys_max_cmd_len
21860
# Does compiler simultaneously support -c and -o options?
21861
compiler_c_o=$lt_lt_cv_prog_compiler_c_o_GCJ
21863
# Must we lock files when doing compilation ?
21864
need_locks=$lt_need_locks
21866
# Do we need the lib prefix for modules?
21867
need_lib_prefix=$need_lib_prefix
21869
# Do we need a version for libraries?
21870
need_version=$need_version
21872
# Whether dlopen is supported.
21873
dlopen_support=$enable_dlopen
21875
# Whether dlopen of programs is supported.
21876
dlopen_self=$enable_dlopen_self
21878
# Whether dlopen of statically linked programs is supported.
21879
dlopen_self_static=$enable_dlopen_self_static
21881
# Compiler flag to prevent dynamic linking.
21882
link_static_flag=$lt_lt_prog_compiler_static_GCJ
21884
# Compiler flag to turn off builtin functions.
21885
no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag_GCJ
21887
# Compiler flag to allow reflexive dlopens.
21888
export_dynamic_flag_spec=$lt_export_dynamic_flag_spec_GCJ
21890
# Compiler flag to generate shared objects directly from archives.
21891
whole_archive_flag_spec=$lt_whole_archive_flag_spec_GCJ
21893
# Compiler flag to generate thread-safe objects.
21894
thread_safe_flag_spec=$lt_thread_safe_flag_spec_GCJ
21896
# Library versioning type.
21897
version_type=$version_type
21899
# Format of library name prefix.
21900
libname_spec=$lt_libname_spec
21902
# List of archive names. First name is the real one, the rest are links.
21903
# The last name is the one that the linker finds with -lNAME.
21904
library_names_spec=$lt_library_names_spec
21906
# The coded name of the library, if different from the real name.
21907
soname_spec=$lt_soname_spec
21909
# Commands used to build and install an old-style archive.
21911
old_archive_cmds=$lt_old_archive_cmds_GCJ
21912
old_postinstall_cmds=$lt_old_postinstall_cmds
21913
old_postuninstall_cmds=$lt_old_postuninstall_cmds
21915
# Create an old-style archive from a shared archive.
21916
old_archive_from_new_cmds=$lt_old_archive_from_new_cmds_GCJ
21918
# Create a temporary old-style archive to link instead of a shared archive.
21919
old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds_GCJ
21921
# Commands used to build and install a shared archive.
21922
archive_cmds=$lt_archive_cmds_GCJ
21923
archive_expsym_cmds=$lt_archive_expsym_cmds_GCJ
21924
postinstall_cmds=$lt_postinstall_cmds
21925
postuninstall_cmds=$lt_postuninstall_cmds
21927
# Commands used to build a loadable module (assumed same as above if empty)
21928
module_cmds=$lt_module_cmds_GCJ
21929
module_expsym_cmds=$lt_module_expsym_cmds_GCJ
21931
# Commands to strip libraries.
21932
old_striplib=$lt_old_striplib
21933
striplib=$lt_striplib
21935
# Dependencies to place before the objects being linked to create a
21937
predep_objects=$lt_predep_objects_GCJ
21939
# Dependencies to place after the objects being linked to create a
21941
postdep_objects=$lt_postdep_objects_GCJ
21943
# Dependencies to place before the objects being linked to create a
21945
predeps=$lt_predeps_GCJ
21947
# Dependencies to place after the objects being linked to create a
21949
postdeps=$lt_postdeps_GCJ
21951
# The library search path used internally by the compiler when linking
21952
# a shared library.
21953
compiler_lib_search_path=$lt_compiler_lib_search_path_GCJ
21955
# Method to check whether dependent libraries are shared objects.
21956
deplibs_check_method=$lt_deplibs_check_method
21958
# Command to use when deplibs_check_method == file_magic.
21959
file_magic_cmd=$lt_file_magic_cmd
21961
# Flag that allows shared libraries with undefined symbols to be built.
21962
allow_undefined_flag=$lt_allow_undefined_flag_GCJ
21964
# Flag that forces no undefined symbols.
21965
no_undefined_flag=$lt_no_undefined_flag_GCJ
21967
# Commands used to finish a libtool library installation in a directory.
21968
finish_cmds=$lt_finish_cmds
21970
# Same as above, but a single script fragment to be evaled but not shown.
21971
finish_eval=$lt_finish_eval
21973
# Take the output of nm and produce a listing of raw symbols and C names.
21974
global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
21976
# Transform the output of nm in a proper C declaration
21977
global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
21979
# Transform the output of nm in a C name address pair
21980
global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
21982
# This is the shared library runtime path variable.
21983
runpath_var=$runpath_var
21985
# This is the shared library path variable.
21986
shlibpath_var=$shlibpath_var
21988
# Is shlibpath searched before the hard-coded library search path?
21989
shlibpath_overrides_runpath=$shlibpath_overrides_runpath
21991
# How to hardcode a shared library path into an executable.
21992
hardcode_action=$hardcode_action_GCJ
21994
# Whether we should hardcode library paths into libraries.
21995
hardcode_into_libs=$hardcode_into_libs
21997
# Flag to hardcode \$libdir into a binary during linking.
21998
# This must work even if \$libdir does not exist.
21999
hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec_GCJ
22001
# If ld is used when linking, flag to hardcode \$libdir into
22002
# a binary during linking. This must work even if \$libdir does
22004
hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld_GCJ
22006
# Whether we need a single -rpath flag with a separated argument.
22007
hardcode_libdir_separator=$lt_hardcode_libdir_separator_GCJ
22009
# Set to yes if using DIR/libNAME${shared_ext} during linking hardcodes DIR into the
22010
# resulting binary.
22011
hardcode_direct=$hardcode_direct_GCJ
22013
# Set to yes if using the -LDIR flag during linking hardcodes DIR into the
22014
# resulting binary.
22015
hardcode_minus_L=$hardcode_minus_L_GCJ
22017
# Set to yes if using SHLIBPATH_VAR=DIR during linking hardcodes DIR into
22018
# the resulting binary.
22019
hardcode_shlibpath_var=$hardcode_shlibpath_var_GCJ
22021
# Set to yes if building a shared library automatically hardcodes DIR into the library
22022
# and all subsequent libraries and executables linked against it.
22023
hardcode_automatic=$hardcode_automatic_GCJ
22025
# Variables whose values should be saved in libtool wrapper scripts and
22026
# restored at relink time.
22027
variables_saved_for_relink="$variables_saved_for_relink"
22029
# Whether libtool must link a program against all its dependency libraries.
22030
link_all_deplibs=$link_all_deplibs_GCJ
22032
# Compile-time system search path for libraries
22033
sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
22035
# Run-time system search path for libraries
22036
sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
22038
# Fix the shell variable \$srcfile for the compiler.
22039
fix_srcfile_path="$fix_srcfile_path_GCJ"
22041
# Set to yes if exported symbols are required.
22042
always_export_symbols=$always_export_symbols_GCJ
22044
# The commands to list exported symbols.
22045
export_symbols_cmds=$lt_export_symbols_cmds_GCJ
22047
# The commands to extract the exported symbol list from a shared archive.
22048
extract_expsyms_cmds=$lt_extract_expsyms_cmds
22050
# Symbols that should not be listed in the preloaded symbols.
22051
exclude_expsyms=$lt_exclude_expsyms_GCJ
22053
# Symbols that must always be exported.
22054
include_expsyms=$lt_include_expsyms_GCJ
22056
# ### END LIBTOOL TAG CONFIG: $tagname
22062
# If there is no Makefile yet, we rely on a make rule to execute
22063
# `config.status --recheck' to rerun these tests and create the
22064
# libtool script then.
22065
test -f Makefile && make "$ltmain"
22070
ac_cpp='$CPP $CPPFLAGS'
22071
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22072
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22073
ac_compiler_gnu=$ac_cv_c_compiler_gnu
22085
# Source file extension for RC test sources.
22088
# Object file extension for compiled RC test sources.
22092
# Code to be used in simple compile tests
22093
lt_simple_compile_test_code='sample MENU { MENUITEM "&Soup", 100, CHECKED }\n'
22095
# Code to be used in simple link tests
22096
lt_simple_link_test_code="$lt_simple_compile_test_code"
22098
# ltmain only uses $CC for tagged configurations so make sure $CC is set.
22100
# If no C compiler was specified, use CC.
22103
# Allow CC to be a program name with arguments.
22107
# Allow CC to be a program name with arguments.
22112
lt_cv_prog_compiler_c_o_RC=yes
22114
# The else clause should only fire when bootstrapping the
22115
# libtool distribution, otherwise you forgot to ship ltmain.sh
22116
# with your package, and you will get complaints that there are
22117
# no rules to generate ltmain.sh.
22118
if test -f "$ltmain"; then
22119
# See if we are running on zsh, and set the options which allow our commands through
22120
# without removal of \ escapes.
22121
if test -n "${ZSH_VERSION+set}" ; then
22122
setopt NO_GLOB_SUBST
22124
# Now quote all the things that may contain metacharacters while being
22125
# careful not to overquote the AC_SUBSTed values. We take copies of the
22126
# variables and quote the copies for generation of the libtool script.
22127
for var in echo old_CC old_CFLAGS AR AR_FLAGS EGREP RANLIB LN_S LTCC NM SED SHELL \
22128
libname_spec library_names_spec soname_spec extract_expsyms_cmds \
22129
old_striplib striplib file_magic_cmd finish_cmds finish_eval \
22130
deplibs_check_method reload_flag reload_cmds need_locks \
22131
lt_cv_sys_global_symbol_pipe lt_cv_sys_global_symbol_to_cdecl \
22132
lt_cv_sys_global_symbol_to_c_name_address \
22133
sys_lib_search_path_spec sys_lib_dlsearch_path_spec \
22134
old_postinstall_cmds old_postuninstall_cmds \
22138
lt_prog_compiler_wl_RC \
22139
lt_prog_compiler_pic_RC \
22140
lt_prog_compiler_static_RC \
22141
lt_prog_compiler_no_builtin_flag_RC \
22142
export_dynamic_flag_spec_RC \
22143
thread_safe_flag_spec_RC \
22144
whole_archive_flag_spec_RC \
22145
enable_shared_with_static_runtimes_RC \
22146
old_archive_cmds_RC \
22147
old_archive_from_new_cmds_RC \
22148
predep_objects_RC \
22149
postdep_objects_RC \
22152
compiler_lib_search_path_RC \
22154
archive_expsym_cmds_RC \
22155
postinstall_cmds_RC \
22156
postuninstall_cmds_RC \
22157
old_archive_from_expsyms_cmds_RC \
22158
allow_undefined_flag_RC \
22159
no_undefined_flag_RC \
22160
export_symbols_cmds_RC \
22161
hardcode_libdir_flag_spec_RC \
22162
hardcode_libdir_flag_spec_ld_RC \
22163
hardcode_libdir_separator_RC \
22164
hardcode_automatic_RC \
22166
module_expsym_cmds_RC \
22167
lt_cv_prog_compiler_c_o_RC \
22168
exclude_expsyms_RC \
22169
include_expsyms_RC; do
22172
old_archive_cmds_RC | \
22173
old_archive_from_new_cmds_RC | \
22174
archive_cmds_RC | \
22175
archive_expsym_cmds_RC | \
22177
module_expsym_cmds_RC | \
22178
old_archive_from_expsyms_cmds_RC | \
22179
export_symbols_cmds_RC | \
22180
extract_expsyms_cmds | reload_cmds | finish_cmds | \
22181
postinstall_cmds | postuninstall_cmds | \
22182
old_postinstall_cmds | old_postuninstall_cmds | \
22183
sys_lib_search_path_spec | sys_lib_dlsearch_path_spec)
22184
# Double-quote double-evaled strings.
22185
eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$double_quote_subst\" -e \"\$sed_quote_subst\" -e \"\$delay_variable_subst\"\`\\\""
22188
eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$sed_quote_subst\"\`\\\""
22194
*'\$0 --fallback-echo"')
22195
lt_echo=`$echo "X$lt_echo" | $Xsed -e 's/\\\\\\\$0 --fallback-echo"$/$0 --fallback-echo"/'`
22201
cat <<__EOF__ >> "$cfgfile"
22202
# ### BEGIN LIBTOOL TAG CONFIG: $tagname
22204
# Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
22206
# Shell to use when invoking shell scripts.
22209
# Whether or not to build shared libraries.
22210
build_libtool_libs=$enable_shared
22212
# Whether or not to build static libraries.
22213
build_old_libs=$enable_static
22215
# Whether or not to add -lc for building shared libraries.
22216
build_libtool_need_lc=$archive_cmds_need_lc_RC
22218
# Whether or not to disallow shared libs when runtime libs are static
22219
allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes_RC
22221
# Whether or not to optimize for fast installation.
22222
fast_install=$enable_fast_install
22225
host_alias=$host_alias
22228
# An echo program that does not interpret backslashes.
22233
AR_FLAGS=$lt_AR_FLAGS
22238
# A language-specific compiler.
22241
# Is the compiler the GNU C compiler?
22247
# The linker used to build libraries.
22250
# Whether we need hard or soft links.
22253
# A BSD-compatible nm program.
22256
# A symbol stripping program
22259
# Used to examine libraries when file_magic_cmd begins "file"
22260
MAGIC_CMD=$MAGIC_CMD
22262
# Used on cygwin: DLL creation program.
22265
# Used on cygwin: object dumper.
22268
# Used on cygwin: assembler.
22271
# The name of the directory that contains temporary libtool files.
22274
# How to create reloadable object files.
22275
reload_flag=$lt_reload_flag
22276
reload_cmds=$lt_reload_cmds
22278
# How to pass a linker flag through the compiler.
22279
wl=$lt_lt_prog_compiler_wl_RC
22281
# Object file suffix (normally "o").
22282
objext="$ac_objext"
22284
# Old archive suffix (normally "a").
22287
# Shared library suffix (normally ".so").
22290
# Executable file suffix (normally "").
22293
# Additional compiler flags for building library objects.
22294
pic_flag=$lt_lt_prog_compiler_pic_RC
22297
# What is the maximum length of a command?
22298
max_cmd_len=$lt_cv_sys_max_cmd_len
22300
# Does compiler simultaneously support -c and -o options?
22301
compiler_c_o=$lt_lt_cv_prog_compiler_c_o_RC
22303
# Must we lock files when doing compilation ?
22304
need_locks=$lt_need_locks
22306
# Do we need the lib prefix for modules?
22307
need_lib_prefix=$need_lib_prefix
22309
# Do we need a version for libraries?
22310
need_version=$need_version
22312
# Whether dlopen is supported.
22313
dlopen_support=$enable_dlopen
22315
# Whether dlopen of programs is supported.
22316
dlopen_self=$enable_dlopen_self
22318
# Whether dlopen of statically linked programs is supported.
22319
dlopen_self_static=$enable_dlopen_self_static
22321
# Compiler flag to prevent dynamic linking.
22322
link_static_flag=$lt_lt_prog_compiler_static_RC
22324
# Compiler flag to turn off builtin functions.
22325
no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag_RC
22327
# Compiler flag to allow reflexive dlopens.
22328
export_dynamic_flag_spec=$lt_export_dynamic_flag_spec_RC
22330
# Compiler flag to generate shared objects directly from archives.
22331
whole_archive_flag_spec=$lt_whole_archive_flag_spec_RC
22333
# Compiler flag to generate thread-safe objects.
22334
thread_safe_flag_spec=$lt_thread_safe_flag_spec_RC
22336
# Library versioning type.
22337
version_type=$version_type
22339
# Format of library name prefix.
22340
libname_spec=$lt_libname_spec
22342
# List of archive names. First name is the real one, the rest are links.
22343
# The last name is the one that the linker finds with -lNAME.
22344
library_names_spec=$lt_library_names_spec
22346
# The coded name of the library, if different from the real name.
22347
soname_spec=$lt_soname_spec
22349
# Commands used to build and install an old-style archive.
22351
old_archive_cmds=$lt_old_archive_cmds_RC
22352
old_postinstall_cmds=$lt_old_postinstall_cmds
22353
old_postuninstall_cmds=$lt_old_postuninstall_cmds
22355
# Create an old-style archive from a shared archive.
22356
old_archive_from_new_cmds=$lt_old_archive_from_new_cmds_RC
22358
# Create a temporary old-style archive to link instead of a shared archive.
22359
old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds_RC
22361
# Commands used to build and install a shared archive.
22362
archive_cmds=$lt_archive_cmds_RC
22363
archive_expsym_cmds=$lt_archive_expsym_cmds_RC
22364
postinstall_cmds=$lt_postinstall_cmds
22365
postuninstall_cmds=$lt_postuninstall_cmds
22367
# Commands used to build a loadable module (assumed same as above if empty)
22368
module_cmds=$lt_module_cmds_RC
22369
module_expsym_cmds=$lt_module_expsym_cmds_RC
22371
# Commands to strip libraries.
22372
old_striplib=$lt_old_striplib
22373
striplib=$lt_striplib
22375
# Dependencies to place before the objects being linked to create a
22377
predep_objects=$lt_predep_objects_RC
22379
# Dependencies to place after the objects being linked to create a
22381
postdep_objects=$lt_postdep_objects_RC
22383
# Dependencies to place before the objects being linked to create a
22385
predeps=$lt_predeps_RC
22387
# Dependencies to place after the objects being linked to create a
22389
postdeps=$lt_postdeps_RC
22391
# The library search path used internally by the compiler when linking
22392
# a shared library.
22393
compiler_lib_search_path=$lt_compiler_lib_search_path_RC
22395
# Method to check whether dependent libraries are shared objects.
22396
deplibs_check_method=$lt_deplibs_check_method
22398
# Command to use when deplibs_check_method == file_magic.
22399
file_magic_cmd=$lt_file_magic_cmd
22401
# Flag that allows shared libraries with undefined symbols to be built.
22402
allow_undefined_flag=$lt_allow_undefined_flag_RC
22404
# Flag that forces no undefined symbols.
22405
no_undefined_flag=$lt_no_undefined_flag_RC
22407
# Commands used to finish a libtool library installation in a directory.
22408
finish_cmds=$lt_finish_cmds
22410
# Same as above, but a single script fragment to be evaled but not shown.
22411
finish_eval=$lt_finish_eval
22413
# Take the output of nm and produce a listing of raw symbols and C names.
22414
global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
22416
# Transform the output of nm in a proper C declaration
22417
global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
22419
# Transform the output of nm in a C name address pair
22420
global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
22422
# This is the shared library runtime path variable.
22423
runpath_var=$runpath_var
22425
# This is the shared library path variable.
22426
shlibpath_var=$shlibpath_var
22428
# Is shlibpath searched before the hard-coded library search path?
22429
shlibpath_overrides_runpath=$shlibpath_overrides_runpath
22431
# How to hardcode a shared library path into an executable.
22432
hardcode_action=$hardcode_action_RC
22434
# Whether we should hardcode library paths into libraries.
22435
hardcode_into_libs=$hardcode_into_libs
22437
# Flag to hardcode \$libdir into a binary during linking.
22438
# This must work even if \$libdir does not exist.
22439
hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec_RC
22441
# If ld is used when linking, flag to hardcode \$libdir into
22442
# a binary during linking. This must work even if \$libdir does
22444
hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld_RC
22446
# Whether we need a single -rpath flag with a separated argument.
22447
hardcode_libdir_separator=$lt_hardcode_libdir_separator_RC
22449
# Set to yes if using DIR/libNAME${shared_ext} during linking hardcodes DIR into the
22450
# resulting binary.
22451
hardcode_direct=$hardcode_direct_RC
22453
# Set to yes if using the -LDIR flag during linking hardcodes DIR into the
22454
# resulting binary.
22455
hardcode_minus_L=$hardcode_minus_L_RC
22457
# Set to yes if using SHLIBPATH_VAR=DIR during linking hardcodes DIR into
22458
# the resulting binary.
22459
hardcode_shlibpath_var=$hardcode_shlibpath_var_RC
22461
# Set to yes if building a shared library automatically hardcodes DIR into the library
22462
# and all subsequent libraries and executables linked against it.
22463
hardcode_automatic=$hardcode_automatic_RC
22465
# Variables whose values should be saved in libtool wrapper scripts and
22466
# restored at relink time.
22467
variables_saved_for_relink="$variables_saved_for_relink"
22469
# Whether libtool must link a program against all its dependency libraries.
22470
link_all_deplibs=$link_all_deplibs_RC
22472
# Compile-time system search path for libraries
22473
sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
22475
# Run-time system search path for libraries
22476
sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
22478
# Fix the shell variable \$srcfile for the compiler.
22479
fix_srcfile_path="$fix_srcfile_path_RC"
22481
# Set to yes if exported symbols are required.
22482
always_export_symbols=$always_export_symbols_RC
22484
# The commands to list exported symbols.
22485
export_symbols_cmds=$lt_export_symbols_cmds_RC
22487
# The commands to extract the exported symbol list from a shared archive.
22488
extract_expsyms_cmds=$lt_extract_expsyms_cmds
22490
# Symbols that should not be listed in the preloaded symbols.
22491
exclude_expsyms=$lt_exclude_expsyms_RC
22493
# Symbols that must always be exported.
22494
include_expsyms=$lt_include_expsyms_RC
22496
# ### END LIBTOOL TAG CONFIG: $tagname
22502
# If there is no Makefile yet, we rely on a make rule to execute
22503
# `config.status --recheck' to rerun these tests and create the
22504
# libtool script then.
22505
test -f Makefile && make "$ltmain"
22510
ac_cpp='$CPP $CPPFLAGS'
22511
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22512
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22513
ac_compiler_gnu=$ac_cv_c_compiler_gnu
22520
{ { echo "$as_me:$LINENO: error: Unsupported tag name: $tagname" >&5
22521
echo "$as_me: error: Unsupported tag name: $tagname" >&2;}
22522
{ (exit 1); exit 1; }; }
22526
# Append the new tag name to the list of available tags.
22527
if test -n "$tagname" ; then
22528
available_tags="$available_tags $tagname"
22534
# Now substitute the updated list of available tags.
22535
if eval "sed -e 's/^available_tags=.*\$/available_tags=\"$available_tags\"/' \"$ofile\" > \"${ofile}T\""; then
22536
mv "${ofile}T" "$ofile"
22540
{ { echo "$as_me:$LINENO: error: unable to update list of available tagged configurations." >&5
22541
echo "$as_me: error: unable to update list of available tagged configurations." >&2;}
22542
{ (exit 1); exit 1; }; }
22548
# This can be used to rebuild libtool when needed
22549
LIBTOOL_DEPS="$ac_aux_dir/ltmain.sh"
22551
# Always use our own libtool.
22552
LIBTOOL='$(SHELL) $(top_builddir)/libtool --silent'
22554
# Prevent multiple expansion
22589
LIBTOOL_SHELL="/bin/sh ./libtool"
22590
# LIBTOOL="$LIBTOOL --silent"
22591
KDE_PLUGIN="-avoid-version -module -no-undefined \$(KDE_NO_UNDEFINED) \$(KDE_RPATH) \$(KDE_MT_LDFLAGS)"
22594
# This hack ensures that libtool creates shared libs for kunittest plugins. By default check_LTLIBRARIES makes static libs.
22595
KDE_CHECK_PLUGIN="\$(KDE_PLUGIN) -rpath \$(libdir)"
22598
# we patch configure quite some so we better keep that consistent for incremental runs
22599
AUTOCONF='$(SHELL) $(top_srcdir)/admin/cvs.sh configure || touch configure'
22605
# Extract the first word of "msgfmt", so it can be a program name with args.
22606
set dummy msgfmt; ac_word=$2
22607
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
22608
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
22609
if test "${ac_cv_path_MSGFMT+set}" = set; then
22610
echo $ECHO_N "(cached) $ECHO_C" >&6
22614
ac_cv_path_MSGFMT="$MSGFMT" # Let the user override the test with a path.
22617
IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}:"
22618
for ac_dir in $PATH; do
22619
test -z "$ac_dir" && ac_dir=.
22620
if test -f $ac_dir/$ac_word; then
22621
if test -n "`$ac_dir/$ac_word --version 2>&1 | grep 'GNU gettext'`"; then
22622
ac_cv_path_MSGFMT="$ac_dir/$ac_word"
22628
test -z "$ac_cv_path_MSGFMT" && ac_cv_path_MSGFMT="msgfmt"
22632
MSGFMT="$ac_cv_path_MSGFMT"
22633
if test -n "$MSGFMT"; then
22634
{ echo "$as_me:$LINENO: result: $MSGFMT" >&5
22635
echo "${ECHO_T}$MSGFMT" >&6; }
22637
{ echo "$as_me:$LINENO: result: no" >&5
22638
echo "${ECHO_T}no" >&6; }
22641
# Extract the first word of "gmsgfmt", so it can be a program name with args.
22642
set dummy gmsgfmt; ac_word=$2
22643
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
22644
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
22645
if test "${ac_cv_path_GMSGFMT+set}" = set; then
22646
echo $ECHO_N "(cached) $ECHO_C" >&6
22650
ac_cv_path_GMSGFMT="$GMSGFMT" # Let the user override the test with a path.
22653
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
22654
for as_dir in $PATH
22657
test -z "$as_dir" && as_dir=.
22658
for ac_exec_ext in '' $ac_executable_extensions; do
22659
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
22660
ac_cv_path_GMSGFMT="$as_dir/$ac_word$ac_exec_ext"
22661
echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
22668
test -z "$ac_cv_path_GMSGFMT" && ac_cv_path_GMSGFMT="$MSGFMT"
22672
GMSGFMT=$ac_cv_path_GMSGFMT
22673
if test -n "$GMSGFMT"; then
22674
{ echo "$as_me:$LINENO: result: $GMSGFMT" >&5
22675
echo "${ECHO_T}$GMSGFMT" >&6; }
22677
{ echo "$as_me:$LINENO: result: no" >&5
22678
echo "${ECHO_T}no" >&6; }
22683
if test -z "`$GMSGFMT --version 2>&1 | grep 'GNU gettext'`"; then
22684
{ echo "$as_me:$LINENO: result: found msgfmt program is not GNU msgfmt; ignore it" >&5
22685
echo "${ECHO_T}found msgfmt program is not GNU msgfmt; ignore it" >&6; }
22692
# Extract the first word of "xgettext", so it can be a program name with args.
22693
set dummy xgettext; ac_word=$2
22694
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
22695
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
22696
if test "${ac_cv_path_XGETTEXT+set}" = set; then
22697
echo $ECHO_N "(cached) $ECHO_C" >&6
22699
case "$XGETTEXT" in
22701
ac_cv_path_XGETTEXT="$XGETTEXT" # Let the user override the test with a path.
22704
IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}:"
22705
for ac_dir in $PATH; do
22706
test -z "$ac_dir" && ac_dir=.
22707
if test -f $ac_dir/$ac_word; then
22708
if test -z "`$ac_dir/$ac_word -h 2>&1 | grep '(HELP)'`"; then
22709
ac_cv_path_XGETTEXT="$ac_dir/$ac_word"
22715
test -z "$ac_cv_path_XGETTEXT" && ac_cv_path_XGETTEXT=":"
22719
XGETTEXT="$ac_cv_path_XGETTEXT"
22720
if test -n "$XGETTEXT"; then
22721
{ echo "$as_me:$LINENO: result: $XGETTEXT" >&5
22722
echo "${ECHO_T}$XGETTEXT" >&6; }
22724
{ echo "$as_me:$LINENO: result: no" >&5
22725
echo "${ECHO_T}no" >&6; }
22729
if test "$XGETTEXT" != ":"; then
22730
if $XGETTEXT --omit-header /dev/null 2> /dev/null; then
22733
{ echo "$as_me:$LINENO: result: found xgettext programs is not GNU xgettext; ignore it" >&5
22734
echo "${ECHO_T}found xgettext programs is not GNU xgettext; ignore it" >&6; }
22743
if test -z "3.2.0"; then
22744
# Current default Qt version: 3.3
22748
kde_qtsubver=`echo "3.2.0" | sed -e 's#[0-9][0-9]*\.\([0-9][0-9]*\).*#\1#'`
22749
# following is the check if subversion isnt found in passed argument
22750
if test "$kde_qtsubver" = "3.2.0"; then
22753
kde_qtver=`echo "3.2.0" | sed -e 's#^\([0-9][0-9]*\)\..*#\1#'`
22754
if test "$kde_qtver" = "1"; then
22759
if test -z ""; then
22760
if test "$kde_qtver" = "2"; then
22761
if test $kde_qtsubver -gt 0; then
22762
kde_qt_minversion=">= Qt 2.2.2"
22764
kde_qt_minversion=">= Qt 2.0.2"
22767
if test "$kde_qtver" = "3"; then
22768
if test $kde_qtsubver -gt 0; then
22769
if test $kde_qtsubver -gt 1; then
22770
if test $kde_qtsubver -gt 2; then
22771
kde_qt_minversion=">= Qt 3.3 and < 4.0"
22773
kde_qt_minversion=">= Qt 3.2 and < 4.0"
22776
kde_qt_minversion=">= Qt 3.1 (20021021) and < 4.0"
22779
kde_qt_minversion=">= Qt 3.0 and < 4.0"
22782
if test "$kde_qtver" = "1"; then
22783
kde_qt_minversion=">= 1.42 and < 2.0"
22786
kde_qt_minversion=""
22789
if test -z ""; then
22790
if test $kde_qtver = 3; then
22791
if test $kde_qtsubver -gt 0; then
22792
kde_qt_verstring="QT_VERSION >= 0x03@VER@00 && QT_VERSION < 0x040000"
22793
qtsubver=`echo "00$kde_qtsubver" | sed -e 's,.*\(..\)$,\1,'`
22794
kde_qt_verstring=`echo $kde_qt_verstring | sed -e "s,@VER@,$qtsubver,"`
22796
kde_qt_verstring="QT_VERSION >= 300 && QT_VERSION < 0x040000"
22799
if test $kde_qtver = 2; then
22800
if test $kde_qtsubver -gt 0; then
22801
kde_qt_verstring="QT_VERSION >= 222"
22803
kde_qt_verstring="QT_VERSION >= 200"
22806
if test $kde_qtver = 1; then
22807
kde_qt_verstring="QT_VERSION >= 142 && QT_VERSION < 200"
22810
kde_qt_verstring=""
22813
if test $kde_qtver = 4; then
22814
kde_qt_dirs="$QTDIR /usr/lib/qt4 /usr/lib/qt /usr/share/qt4"
22816
if test $kde_qtver = 3; then
22817
kde_qt_dirs="$QTDIR /usr/lib/qt3 /usr/lib/qt /usr/share/qt3"
22819
if test $kde_qtver = 2; then
22820
kde_qt_dirs="$QTDIR /usr/lib/qt2 /usr/lib/qt"
22822
if test $kde_qtver = 1; then
22823
kde_qt_dirs="$QTDIR /usr/lib/qt"
22829
ac_cpp='$CXXCPP $CPPFLAGS'
22830
ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22831
ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22832
ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22834
ac_link='rm -rf SunWS_cache; ${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
22837
ac_save_CXXFLAGS="$CXXFLAGS"
22838
CXXFLAGS="`echo $CXXFLAGS | sed s/-fno-exceptions//`"
22840
{ echo "$as_me:$LINENO: checking if C++ programs can be compiled" >&5
22841
echo $ECHO_N "checking if C++ programs can be compiled... $ECHO_C" >&6; }
22842
if test "${kde_cv_stl_works+set}" = set; then
22843
echo $ECHO_N "(cached) $ECHO_C" >&6
22846
cat >conftest.$ac_ext <<_ACEOF
22849
cat confdefs.h >>conftest.$ac_ext
22850
cat >>conftest.$ac_ext <<_ACEOF
22851
/* end confdefs.h. */
22854
using namespace std;
22860
string astring="Hallo Welt.";
22861
astring.erase(0, 6); // now astring is "Welt"
22868
rm -f conftest.$ac_objext
22869
if { (ac_try="$ac_compile"
22870
case "(($ac_try" in
22871
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22872
*) ac_try_echo=$ac_try;;
22874
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22875
(eval "$ac_compile") 2>conftest.er1
22877
grep -v '^ *+' conftest.er1 >conftest.err
22879
cat conftest.err >&5
22880
echo "$as_me:$LINENO: \$? = $ac_status" >&5
22881
(exit $ac_status); } && {
22882
test -z "$ac_cxx_werror_flag" ||
22883
test ! -s conftest.err
22884
} && test -s conftest.$ac_objext; then
22885
kde_cv_stl_works=yes
22887
echo "$as_me: failed program was:" >&5
22888
sed 's/^/| /' conftest.$ac_ext >&5
22890
kde_cv_stl_works=no
22893
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22898
{ echo "$as_me:$LINENO: result: $kde_cv_stl_works" >&5
22899
echo "${ECHO_T}$kde_cv_stl_works" >&6; }
22901
if test "$kde_cv_stl_works" = "yes"; then
22904
cat >>confdefs.h <<_ACEOF
22905
#define HAVE_SGI_STL 1
22909
{ { echo "$as_me:$LINENO: error: Your Installation isn't able to compile simple C++ programs.
22910
Check config.log for details - if you're using a Linux distribution you might miss
22911
a package named similar to libstdc++-dev." >&5
22912
echo "$as_me: error: Your Installation isn't able to compile simple C++ programs.
22913
Check config.log for details - if you're using a Linux distribution you might miss
22914
a package named similar to libstdc++-dev." >&2;}
22915
{ (exit 1); exit 1; }; }
22918
CXXFLAGS="$ac_save_CXXFLAGS"
22920
ac_cpp='$CPP $CPPFLAGS'
22921
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22922
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22923
ac_compiler_gnu=$ac_cv_c_compiler_gnu
22928
{ echo "$as_me:$LINENO: checking for strlcat" >&5
22929
echo $ECHO_N "checking for strlcat... $ECHO_C" >&6; }
22930
if test "${kde_cv_func_strlcat+set}" = set; then
22931
echo $ECHO_N "(cached) $ECHO_C" >&6
22936
ac_cpp='$CXXCPP $CPPFLAGS'
22937
ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22938
ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22939
ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22941
ac_link='rm -rf SunWS_cache; ${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
22944
save_CXXFLAGS="$CXXFLAGS"
22945
kde_safe_LIBS="$LIBS"
22946
LIBS="$LIBS $X_EXTRA_LIBS"
22947
if test "$GXX" = "yes"; then
22948
CXXFLAGS="$CXXFLAGS -pedantic-errors"
22950
cat >conftest.$ac_ext <<_ACEOF
22953
cat confdefs.h >>conftest.$ac_ext
22954
cat >>conftest.$ac_ext <<_ACEOF
22955
/* end confdefs.h. */
22958
#include <string.h>
22967
strlcat(buf, "KDE function test", sizeof(buf));
22974
rm -f conftest.$ac_objext
22975
if { (ac_try="$ac_compile"
22976
case "(($ac_try" in
22977
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22978
*) ac_try_echo=$ac_try;;
22980
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22981
(eval "$ac_compile") 2>conftest.er1
22983
grep -v '^ *+' conftest.er1 >conftest.err
22985
cat conftest.err >&5
22986
echo "$as_me:$LINENO: \$? = $ac_status" >&5
22987
(exit $ac_status); } && {
22988
test -z "$ac_cxx_werror_flag" ||
22989
test ! -s conftest.err
22990
} && test -s conftest.$ac_objext; then
22991
kde_cv_func_strlcat=yes
22993
echo "$as_me: failed program was:" >&5
22994
sed 's/^/| /' conftest.$ac_ext >&5
22996
kde_cv_func_strlcat=no
22999
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23000
CXXFLAGS="$save_CXXFLAGS"
23001
LIBS="$kde_safe_LIBS"
23003
ac_cpp='$CPP $CPPFLAGS'
23004
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23005
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23006
ac_compiler_gnu=$ac_cv_c_compiler_gnu
23012
{ echo "$as_me:$LINENO: result: $kde_cv_func_strlcat" >&5
23013
echo "${ECHO_T}$kde_cv_func_strlcat" >&6; }
23015
{ echo "$as_me:$LINENO: checking if strlcat needs custom prototype" >&5
23016
echo $ECHO_N "checking if strlcat needs custom prototype... $ECHO_C" >&6; }
23017
if test "${kde_cv_proto_strlcat+set}" = set; then
23018
echo $ECHO_N "(cached) $ECHO_C" >&6
23021
if test "x$kde_cv_func_strlcat" = xyes; then
23022
kde_cv_proto_strlcat=no
23025
setenv|unsetenv|usleep|random|srandom|seteuid|mkstemps|mkstemp|revoke|vsnprintf|strlcpy|strlcat)
23026
kde_cv_proto_strlcat="yes - in libkdefakes"
23029
kde_cv_proto_strlcat=unknown
23034
if test "x$kde_cv_proto_strlcat" = xunknown; then
23038
ac_cpp='$CXXCPP $CPPFLAGS'
23039
ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23040
ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23041
ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23043
ac_link='rm -rf SunWS_cache; ${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
23046
kde_safe_libs=$LIBS
23047
LIBS="$LIBS $X_EXTRA_LIBS"
23048
cat >conftest.$ac_ext <<_ACEOF
23051
cat confdefs.h >>conftest.$ac_ext
23052
cat >>conftest.$ac_ext <<_ACEOF
23053
/* end confdefs.h. */
23056
#include <string.h>
23059
extern "C" unsigned long strlcat(char*, const char*, unsigned long);
23067
strlcat(buf, "KDE function test", sizeof(buf));
23074
rm -f conftest.$ac_objext conftest$ac_exeext
23075
if { (ac_try="$ac_link"
23076
case "(($ac_try" in
23077
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23078
*) ac_try_echo=$ac_try;;
23080
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23081
(eval "$ac_link") 2>conftest.er1
23083
grep -v '^ *+' conftest.er1 >conftest.err
23085
cat conftest.err >&5
23086
echo "$as_me:$LINENO: \$? = $ac_status" >&5
23087
(exit $ac_status); } && {
23088
test -z "$ac_cxx_werror_flag" ||
23089
test ! -s conftest.err
23090
} && test -s conftest$ac_exeext &&
23091
$as_test_x conftest$ac_exeext; then
23092
kde_cv_func_strlcat=yes
23093
kde_cv_proto_strlcat=yes
23095
echo "$as_me: failed program was:" >&5
23096
sed 's/^/| /' conftest.$ac_ext >&5
23098
kde_cv_proto_strlcat="strlcat unavailable"
23102
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
23103
conftest$ac_exeext conftest.$ac_ext
23104
LIBS=$kde_safe_libs
23106
ac_cpp='$CPP $CPPFLAGS'
23107
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23108
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23109
ac_compiler_gnu=$ac_cv_c_compiler_gnu
23115
{ echo "$as_me:$LINENO: result: $kde_cv_proto_strlcat" >&5
23116
echo "${ECHO_T}$kde_cv_proto_strlcat" >&6; }
23118
if test "x$kde_cv_func_strlcat" = xyes; then
23120
cat >>confdefs.h <<\_ACEOF
23121
#define HAVE_STRLCAT 1
23126
if test "x$kde_cv_proto_strlcat" = xno; then
23128
cat >>confdefs.h <<\_ACEOF
23129
#define HAVE_STRLCAT_PROTO 1
23140
{ echo "$as_me:$LINENO: checking for strlcpy" >&5
23141
echo $ECHO_N "checking for strlcpy... $ECHO_C" >&6; }
23142
if test "${kde_cv_func_strlcpy+set}" = set; then
23143
echo $ECHO_N "(cached) $ECHO_C" >&6
23148
ac_cpp='$CXXCPP $CPPFLAGS'
23149
ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23150
ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23151
ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23153
ac_link='rm -rf SunWS_cache; ${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
23156
save_CXXFLAGS="$CXXFLAGS"
23157
kde_safe_LIBS="$LIBS"
23158
LIBS="$LIBS $X_EXTRA_LIBS"
23159
if test "$GXX" = "yes"; then
23160
CXXFLAGS="$CXXFLAGS -pedantic-errors"
23162
cat >conftest.$ac_ext <<_ACEOF
23165
cat confdefs.h >>conftest.$ac_ext
23166
cat >>conftest.$ac_ext <<_ACEOF
23167
/* end confdefs.h. */
23170
#include <string.h>
23178
strlcpy(buf, "KDE function test", sizeof(buf));
23185
rm -f conftest.$ac_objext
23186
if { (ac_try="$ac_compile"
23187
case "(($ac_try" in
23188
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23189
*) ac_try_echo=$ac_try;;
23191
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23192
(eval "$ac_compile") 2>conftest.er1
23194
grep -v '^ *+' conftest.er1 >conftest.err
23196
cat conftest.err >&5
23197
echo "$as_me:$LINENO: \$? = $ac_status" >&5
23198
(exit $ac_status); } && {
23199
test -z "$ac_cxx_werror_flag" ||
23200
test ! -s conftest.err
23201
} && test -s conftest.$ac_objext; then
23202
kde_cv_func_strlcpy=yes
23204
echo "$as_me: failed program was:" >&5
23205
sed 's/^/| /' conftest.$ac_ext >&5
23207
kde_cv_func_strlcpy=no
23210
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23211
CXXFLAGS="$save_CXXFLAGS"
23212
LIBS="$kde_safe_LIBS"
23214
ac_cpp='$CPP $CPPFLAGS'
23215
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23216
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23217
ac_compiler_gnu=$ac_cv_c_compiler_gnu
23223
{ echo "$as_me:$LINENO: result: $kde_cv_func_strlcpy" >&5
23224
echo "${ECHO_T}$kde_cv_func_strlcpy" >&6; }
23226
{ echo "$as_me:$LINENO: checking if strlcpy needs custom prototype" >&5
23227
echo $ECHO_N "checking if strlcpy needs custom prototype... $ECHO_C" >&6; }
23228
if test "${kde_cv_proto_strlcpy+set}" = set; then
23229
echo $ECHO_N "(cached) $ECHO_C" >&6
23232
if test "x$kde_cv_func_strlcpy" = xyes; then
23233
kde_cv_proto_strlcpy=no
23236
setenv|unsetenv|usleep|random|srandom|seteuid|mkstemps|mkstemp|revoke|vsnprintf|strlcpy|strlcat)
23237
kde_cv_proto_strlcpy="yes - in libkdefakes"
23240
kde_cv_proto_strlcpy=unknown
23245
if test "x$kde_cv_proto_strlcpy" = xunknown; then
23249
ac_cpp='$CXXCPP $CPPFLAGS'
23250
ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23251
ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23252
ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23254
ac_link='rm -rf SunWS_cache; ${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
23257
kde_safe_libs=$LIBS
23258
LIBS="$LIBS $X_EXTRA_LIBS"
23259
cat >conftest.$ac_ext <<_ACEOF
23262
cat confdefs.h >>conftest.$ac_ext
23263
cat >>conftest.$ac_ext <<_ACEOF
23264
/* end confdefs.h. */
23267
#include <string.h>
23270
extern "C" unsigned long strlcpy(char*, const char*, unsigned long);
23277
strlcpy(buf, "KDE function test", sizeof(buf));
23284
rm -f conftest.$ac_objext conftest$ac_exeext
23285
if { (ac_try="$ac_link"
23286
case "(($ac_try" in
23287
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23288
*) ac_try_echo=$ac_try;;
23290
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23291
(eval "$ac_link") 2>conftest.er1
23293
grep -v '^ *+' conftest.er1 >conftest.err
23295
cat conftest.err >&5
23296
echo "$as_me:$LINENO: \$? = $ac_status" >&5
23297
(exit $ac_status); } && {
23298
test -z "$ac_cxx_werror_flag" ||
23299
test ! -s conftest.err
23300
} && test -s conftest$ac_exeext &&
23301
$as_test_x conftest$ac_exeext; then
23302
kde_cv_func_strlcpy=yes
23303
kde_cv_proto_strlcpy=yes
23305
echo "$as_me: failed program was:" >&5
23306
sed 's/^/| /' conftest.$ac_ext >&5
23308
kde_cv_proto_strlcpy="strlcpy unavailable"
23312
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
23313
conftest$ac_exeext conftest.$ac_ext
23314
LIBS=$kde_safe_libs
23316
ac_cpp='$CPP $CPPFLAGS'
23317
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23318
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23319
ac_compiler_gnu=$ac_cv_c_compiler_gnu
23325
{ echo "$as_me:$LINENO: result: $kde_cv_proto_strlcpy" >&5
23326
echo "${ECHO_T}$kde_cv_proto_strlcpy" >&6; }
23328
if test "x$kde_cv_func_strlcpy" = xyes; then
23330
cat >>confdefs.h <<\_ACEOF
23331
#define HAVE_STRLCPY 1
23336
if test "x$kde_cv_proto_strlcpy" = xno; then
23338
cat >>confdefs.h <<\_ACEOF
23339
#define HAVE_STRLCPY_PROTO 1
23349
{ echo "$as_me:$LINENO: checking for main in -lutil" >&5
23350
echo $ECHO_N "checking for main in -lutil... $ECHO_C" >&6; }
23351
if test "${ac_cv_lib_util_main+set}" = set; then
23352
echo $ECHO_N "(cached) $ECHO_C" >&6
23354
ac_check_lib_save_LIBS=$LIBS
23355
LIBS="-lutil $LIBS"
23356
cat >conftest.$ac_ext <<_ACEOF
23359
cat confdefs.h >>conftest.$ac_ext
23360
cat >>conftest.$ac_ext <<_ACEOF
23361
/* end confdefs.h. */
23372
rm -f conftest.$ac_objext conftest$ac_exeext
23373
if { (ac_try="$ac_link"
23374
case "(($ac_try" in
23375
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23376
*) ac_try_echo=$ac_try;;
23378
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23379
(eval "$ac_link") 2>conftest.er1
23381
grep -v '^ *+' conftest.er1 >conftest.err
23383
cat conftest.err >&5
23384
echo "$as_me:$LINENO: \$? = $ac_status" >&5
23385
(exit $ac_status); } && {
23386
test -z "$ac_c_werror_flag" ||
23387
test ! -s conftest.err
23388
} && test -s conftest$ac_exeext &&
23389
$as_test_x conftest$ac_exeext; then
23390
ac_cv_lib_util_main=yes
23392
echo "$as_me: failed program was:" >&5
23393
sed 's/^/| /' conftest.$ac_ext >&5
23395
ac_cv_lib_util_main=no
23398
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
23399
conftest$ac_exeext conftest.$ac_ext
23400
LIBS=$ac_check_lib_save_LIBS
23402
{ echo "$as_me:$LINENO: result: $ac_cv_lib_util_main" >&5
23403
echo "${ECHO_T}$ac_cv_lib_util_main" >&6; }
23404
if test $ac_cv_lib_util_main = yes; then
23408
{ echo "$as_me:$LINENO: checking for main in -lcompat" >&5
23409
echo $ECHO_N "checking for main in -lcompat... $ECHO_C" >&6; }
23410
if test "${ac_cv_lib_compat_main+set}" = set; then
23411
echo $ECHO_N "(cached) $ECHO_C" >&6
23413
ac_check_lib_save_LIBS=$LIBS
23414
LIBS="-lcompat $LIBS"
23415
cat >conftest.$ac_ext <<_ACEOF
23418
cat confdefs.h >>conftest.$ac_ext
23419
cat >>conftest.$ac_ext <<_ACEOF
23420
/* end confdefs.h. */
23431
rm -f conftest.$ac_objext conftest$ac_exeext
23432
if { (ac_try="$ac_link"
23433
case "(($ac_try" in
23434
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23435
*) ac_try_echo=$ac_try;;
23437
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23438
(eval "$ac_link") 2>conftest.er1
23440
grep -v '^ *+' conftest.er1 >conftest.err
23442
cat conftest.err >&5
23443
echo "$as_me:$LINENO: \$? = $ac_status" >&5
23444
(exit $ac_status); } && {
23445
test -z "$ac_c_werror_flag" ||
23446
test ! -s conftest.err
23447
} && test -s conftest$ac_exeext &&
23448
$as_test_x conftest$ac_exeext; then
23449
ac_cv_lib_compat_main=yes
23451
echo "$as_me: failed program was:" >&5
23452
sed 's/^/| /' conftest.$ac_ext >&5
23454
ac_cv_lib_compat_main=no
23457
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
23458
conftest$ac_exeext conftest.$ac_ext
23459
LIBS=$ac_check_lib_save_LIBS
23461
{ echo "$as_me:$LINENO: result: $ac_cv_lib_compat_main" >&5
23462
echo "${ECHO_T}$ac_cv_lib_compat_main" >&6; }
23463
if test $ac_cv_lib_compat_main = yes; then
23464
LIBCOMPAT="-lcompat"
23468
{ echo "$as_me:$LINENO: checking for crypt in -lcrypt" >&5
23469
echo $ECHO_N "checking for crypt in -lcrypt... $ECHO_C" >&6; }
23470
if test "${ac_cv_lib_crypt_crypt+set}" = set; then
23471
echo $ECHO_N "(cached) $ECHO_C" >&6
23473
ac_check_lib_save_LIBS=$LIBS
23474
LIBS="-lcrypt $LIBS"
23475
cat >conftest.$ac_ext <<_ACEOF
23478
cat confdefs.h >>conftest.$ac_ext
23479
cat >>conftest.$ac_ext <<_ACEOF
23480
/* end confdefs.h. */
23482
/* Override any GCC internal prototype to avoid an error.
23483
Use char because int might match the return type of a GCC
23484
builtin and then its argument prototype would still apply. */
23497
rm -f conftest.$ac_objext conftest$ac_exeext
23498
if { (ac_try="$ac_link"
23499
case "(($ac_try" in
23500
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23501
*) ac_try_echo=$ac_try;;
23503
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23504
(eval "$ac_link") 2>conftest.er1
23506
grep -v '^ *+' conftest.er1 >conftest.err
23508
cat conftest.err >&5
23509
echo "$as_me:$LINENO: \$? = $ac_status" >&5
23510
(exit $ac_status); } && {
23511
test -z "$ac_c_werror_flag" ||
23512
test ! -s conftest.err
23513
} && test -s conftest$ac_exeext &&
23514
$as_test_x conftest$ac_exeext; then
23515
ac_cv_lib_crypt_crypt=yes
23517
echo "$as_me: failed program was:" >&5
23518
sed 's/^/| /' conftest.$ac_ext >&5
23520
ac_cv_lib_crypt_crypt=no
23523
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
23524
conftest$ac_exeext conftest.$ac_ext
23525
LIBS=$ac_check_lib_save_LIBS
23527
{ echo "$as_me:$LINENO: result: $ac_cv_lib_crypt_crypt" >&5
23528
echo "${ECHO_T}$ac_cv_lib_crypt_crypt" >&6; }
23529
if test $ac_cv_lib_crypt_crypt = yes; then
23530
LIBCRYPT="-lcrypt"; kde_have_crypt=yes
23532
{ echo "$as_me:$LINENO: checking for crypt in -lc" >&5
23533
echo $ECHO_N "checking for crypt in -lc... $ECHO_C" >&6; }
23534
if test "${ac_cv_lib_c_crypt+set}" = set; then
23535
echo $ECHO_N "(cached) $ECHO_C" >&6
23537
ac_check_lib_save_LIBS=$LIBS
23539
cat >conftest.$ac_ext <<_ACEOF
23542
cat confdefs.h >>conftest.$ac_ext
23543
cat >>conftest.$ac_ext <<_ACEOF
23544
/* end confdefs.h. */
23546
/* Override any GCC internal prototype to avoid an error.
23547
Use char because int might match the return type of a GCC
23548
builtin and then its argument prototype would still apply. */
23561
rm -f conftest.$ac_objext conftest$ac_exeext
23562
if { (ac_try="$ac_link"
23563
case "(($ac_try" in
23564
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23565
*) ac_try_echo=$ac_try;;
23567
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23568
(eval "$ac_link") 2>conftest.er1
23570
grep -v '^ *+' conftest.er1 >conftest.err
23572
cat conftest.err >&5
23573
echo "$as_me:$LINENO: \$? = $ac_status" >&5
23574
(exit $ac_status); } && {
23575
test -z "$ac_c_werror_flag" ||
23576
test ! -s conftest.err
23577
} && test -s conftest$ac_exeext &&
23578
$as_test_x conftest$ac_exeext; then
23579
ac_cv_lib_c_crypt=yes
23581
echo "$as_me: failed program was:" >&5
23582
sed 's/^/| /' conftest.$ac_ext >&5
23584
ac_cv_lib_c_crypt=no
23587
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
23588
conftest$ac_exeext conftest.$ac_ext
23589
LIBS=$ac_check_lib_save_LIBS
23591
{ echo "$as_me:$LINENO: result: $ac_cv_lib_c_crypt" >&5
23592
echo "${ECHO_T}$ac_cv_lib_c_crypt" >&6; }
23593
if test $ac_cv_lib_c_crypt = yes; then
23597
{ echo "$as_me:$LINENO: WARNING: you have no crypt in either libcrypt or libc.
23598
You should install libcrypt from another source or configure with PAM
23600
echo "$as_me: WARNING: you have no crypt in either libcrypt or libc.
23601
You should install libcrypt from another source or configure with PAM
23610
if test $kde_have_crypt = yes; then
23612
cat >>confdefs.h <<_ACEOF
23613
#define HAVE_CRYPT 1
23618
{ echo "$as_me:$LINENO: checking for socklen_t" >&5
23619
echo $ECHO_N "checking for socklen_t... $ECHO_C" >&6; }
23620
if test "${kde_cv_socklen_t+set}" = set; then
23621
echo $ECHO_N "(cached) $ECHO_C" >&6
23625
ac_cpp='$CXXCPP $CPPFLAGS'
23626
ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23627
ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23628
ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23630
kde_cv_socklen_t=no
23631
cat >conftest.$ac_ext <<_ACEOF
23634
cat confdefs.h >>conftest.$ac_ext
23635
cat >>conftest.$ac_ext <<_ACEOF
23636
/* end confdefs.h. */
23638
#include <sys/types.h>
23639
#include <sys/socket.h>
23646
getpeername(0,0,&len);
23652
rm -f conftest.$ac_objext
23653
if { (ac_try="$ac_compile"
23654
case "(($ac_try" in
23655
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23656
*) ac_try_echo=$ac_try;;
23658
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23659
(eval "$ac_compile") 2>conftest.er1
23661
grep -v '^ *+' conftest.er1 >conftest.err
23663
cat conftest.err >&5
23664
echo "$as_me:$LINENO: \$? = $ac_status" >&5
23665
(exit $ac_status); } && {
23666
test -z "$ac_cxx_werror_flag" ||
23667
test ! -s conftest.err
23668
} && test -s conftest.$ac_objext; then
23670
kde_cv_socklen_t=yes
23671
kde_cv_socklen_t_equiv=socklen_t
23674
echo "$as_me: failed program was:" >&5
23675
sed 's/^/| /' conftest.$ac_ext >&5
23680
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23682
ac_cpp='$CPP $CPPFLAGS'
23683
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23684
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23685
ac_compiler_gnu=$ac_cv_c_compiler_gnu
23690
{ echo "$as_me:$LINENO: result: $kde_cv_socklen_t" >&5
23691
echo "${ECHO_T}$kde_cv_socklen_t" >&6; }
23692
if test $kde_cv_socklen_t = no; then
23693
{ echo "$as_me:$LINENO: checking for socklen_t equivalent for socket functions" >&5
23694
echo $ECHO_N "checking for socklen_t equivalent for socket functions... $ECHO_C" >&6; }
23695
if test "${kde_cv_socklen_t_equiv+set}" = set; then
23696
echo $ECHO_N "(cached) $ECHO_C" >&6
23699
kde_cv_socklen_t_equiv=int
23701
ac_cpp='$CXXCPP $CPPFLAGS'
23702
ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23703
ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23704
ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23706
for t in int size_t unsigned long "unsigned long"; do
23707
cat >conftest.$ac_ext <<_ACEOF
23710
cat confdefs.h >>conftest.$ac_ext
23711
cat >>conftest.$ac_ext <<_ACEOF
23712
/* end confdefs.h. */
23714
#include <sys/types.h>
23715
#include <sys/socket.h>
23722
getpeername(0,0,&len);
23728
rm -f conftest.$ac_objext
23729
if { (ac_try="$ac_compile"
23730
case "(($ac_try" in
23731
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23732
*) ac_try_echo=$ac_try;;
23734
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23735
(eval "$ac_compile") 2>conftest.er1
23737
grep -v '^ *+' conftest.er1 >conftest.err
23739
cat conftest.err >&5
23740
echo "$as_me:$LINENO: \$? = $ac_status" >&5
23741
(exit $ac_status); } && {
23742
test -z "$ac_cxx_werror_flag" ||
23743
test ! -s conftest.err
23744
} && test -s conftest.$ac_objext; then
23746
kde_cv_socklen_t_equiv="$t"
23750
echo "$as_me: failed program was:" >&5
23751
sed 's/^/| /' conftest.$ac_ext >&5
23756
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23759
ac_cpp='$CPP $CPPFLAGS'
23760
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23761
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23762
ac_compiler_gnu=$ac_cv_c_compiler_gnu
23767
{ echo "$as_me:$LINENO: result: $kde_cv_socklen_t_equiv" >&5
23768
echo "${ECHO_T}$kde_cv_socklen_t_equiv" >&6; }
23771
cat >>confdefs.h <<_ACEOF
23772
#define kde_socklen_t $kde_cv_socklen_t_equiv
23776
cat >>confdefs.h <<_ACEOF
23777
#define ksize_t $kde_cv_socklen_t_equiv
23781
{ echo "$as_me:$LINENO: checking for dnet_ntoa in -ldnet" >&5
23782
echo $ECHO_N "checking for dnet_ntoa in -ldnet... $ECHO_C" >&6; }
23783
if test "${ac_cv_lib_dnet_dnet_ntoa+set}" = set; then
23784
echo $ECHO_N "(cached) $ECHO_C" >&6
23786
ac_check_lib_save_LIBS=$LIBS
23787
LIBS="-ldnet $LIBS"
23788
cat >conftest.$ac_ext <<_ACEOF
23791
cat confdefs.h >>conftest.$ac_ext
23792
cat >>conftest.$ac_ext <<_ACEOF
23793
/* end confdefs.h. */
23795
/* Override any GCC internal prototype to avoid an error.
23796
Use char because int might match the return type of a GCC
23797
builtin and then its argument prototype would still apply. */
23805
return dnet_ntoa ();
23810
rm -f conftest.$ac_objext conftest$ac_exeext
23811
if { (ac_try="$ac_link"
23812
case "(($ac_try" in
23813
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23814
*) ac_try_echo=$ac_try;;
23816
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23817
(eval "$ac_link") 2>conftest.er1
23819
grep -v '^ *+' conftest.er1 >conftest.err
23821
cat conftest.err >&5
23822
echo "$as_me:$LINENO: \$? = $ac_status" >&5
23823
(exit $ac_status); } && {
23824
test -z "$ac_c_werror_flag" ||
23825
test ! -s conftest.err
23826
} && test -s conftest$ac_exeext &&
23827
$as_test_x conftest$ac_exeext; then
23828
ac_cv_lib_dnet_dnet_ntoa=yes
23830
echo "$as_me: failed program was:" >&5
23831
sed 's/^/| /' conftest.$ac_ext >&5
23833
ac_cv_lib_dnet_dnet_ntoa=no
23836
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
23837
conftest$ac_exeext conftest.$ac_ext
23838
LIBS=$ac_check_lib_save_LIBS
23840
{ echo "$as_me:$LINENO: result: $ac_cv_lib_dnet_dnet_ntoa" >&5
23841
echo "${ECHO_T}$ac_cv_lib_dnet_dnet_ntoa" >&6; }
23842
if test $ac_cv_lib_dnet_dnet_ntoa = yes; then
23843
X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet"
23846
if test $ac_cv_lib_dnet_dnet_ntoa = no; then
23847
{ echo "$as_me:$LINENO: checking for dnet_ntoa in -ldnet_stub" >&5
23848
echo $ECHO_N "checking for dnet_ntoa in -ldnet_stub... $ECHO_C" >&6; }
23849
if test "${ac_cv_lib_dnet_stub_dnet_ntoa+set}" = set; then
23850
echo $ECHO_N "(cached) $ECHO_C" >&6
23852
ac_check_lib_save_LIBS=$LIBS
23853
LIBS="-ldnet_stub $LIBS"
23854
cat >conftest.$ac_ext <<_ACEOF
23857
cat confdefs.h >>conftest.$ac_ext
23858
cat >>conftest.$ac_ext <<_ACEOF
23859
/* end confdefs.h. */
23861
/* Override any GCC internal prototype to avoid an error.
23862
Use char because int might match the return type of a GCC
23863
builtin and then its argument prototype would still apply. */
23871
return dnet_ntoa ();
23876
rm -f conftest.$ac_objext conftest$ac_exeext
23877
if { (ac_try="$ac_link"
23878
case "(($ac_try" in
23879
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23880
*) ac_try_echo=$ac_try;;
23882
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23883
(eval "$ac_link") 2>conftest.er1
23885
grep -v '^ *+' conftest.er1 >conftest.err
23887
cat conftest.err >&5
23888
echo "$as_me:$LINENO: \$? = $ac_status" >&5
23889
(exit $ac_status); } && {
23890
test -z "$ac_c_werror_flag" ||
23891
test ! -s conftest.err
23892
} && test -s conftest$ac_exeext &&
23893
$as_test_x conftest$ac_exeext; then
23894
ac_cv_lib_dnet_stub_dnet_ntoa=yes
23896
echo "$as_me: failed program was:" >&5
23897
sed 's/^/| /' conftest.$ac_ext >&5
23899
ac_cv_lib_dnet_stub_dnet_ntoa=no
23902
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
23903
conftest$ac_exeext conftest.$ac_ext
23904
LIBS=$ac_check_lib_save_LIBS
23906
{ echo "$as_me:$LINENO: result: $ac_cv_lib_dnet_stub_dnet_ntoa" >&5
23907
echo "${ECHO_T}$ac_cv_lib_dnet_stub_dnet_ntoa" >&6; }
23908
if test $ac_cv_lib_dnet_stub_dnet_ntoa = yes; then
23909
X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet_stub"
23913
{ echo "$as_me:$LINENO: checking for inet_ntoa" >&5
23914
echo $ECHO_N "checking for inet_ntoa... $ECHO_C" >&6; }
23915
if test "${ac_cv_func_inet_ntoa+set}" = set; then
23916
echo $ECHO_N "(cached) $ECHO_C" >&6
23918
cat >conftest.$ac_ext <<_ACEOF
23921
cat confdefs.h >>conftest.$ac_ext
23922
cat >>conftest.$ac_ext <<_ACEOF
23923
/* end confdefs.h. */
23924
/* Define inet_ntoa to an innocuous variant, in case <limits.h> declares inet_ntoa.
23925
For example, HP-UX 11i <limits.h> declares gettimeofday. */
23926
#define inet_ntoa innocuous_inet_ntoa
23928
/* System header to define __stub macros and hopefully few prototypes,
23929
which can conflict with char inet_ntoa (); below.
23930
Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
23931
<limits.h> exists even on freestanding compilers. */
23934
# include <limits.h>
23936
# include <assert.h>
23941
/* Override any GCC internal prototype to avoid an error.
23942
Use char because int might match the return type of a GCC
23943
builtin and then its argument prototype would still apply. */
23948
/* The GNU C library defines this for functions which it implements
23949
to always fail with ENOSYS. Some functions are actually named
23950
something starting with __ and the normal name is an alias. */
23951
#if defined __stub_inet_ntoa || defined __stub___inet_ntoa
23958
return inet_ntoa ();
23963
rm -f conftest.$ac_objext conftest$ac_exeext
23964
if { (ac_try="$ac_link"
23965
case "(($ac_try" in
23966
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23967
*) ac_try_echo=$ac_try;;
23969
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23970
(eval "$ac_link") 2>conftest.er1
23972
grep -v '^ *+' conftest.er1 >conftest.err
23974
cat conftest.err >&5
23975
echo "$as_me:$LINENO: \$? = $ac_status" >&5
23976
(exit $ac_status); } && {
23977
test -z "$ac_c_werror_flag" ||
23978
test ! -s conftest.err
23979
} && test -s conftest$ac_exeext &&
23980
$as_test_x conftest$ac_exeext; then
23981
ac_cv_func_inet_ntoa=yes
23983
echo "$as_me: failed program was:" >&5
23984
sed 's/^/| /' conftest.$ac_ext >&5
23986
ac_cv_func_inet_ntoa=no
23989
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
23990
conftest$ac_exeext conftest.$ac_ext
23992
{ echo "$as_me:$LINENO: result: $ac_cv_func_inet_ntoa" >&5
23993
echo "${ECHO_T}$ac_cv_func_inet_ntoa" >&6; }
23995
if test $ac_cv_func_inet_ntoa = no; then
23996
{ echo "$as_me:$LINENO: checking for inet_ntoa in -lnsl" >&5
23997
echo $ECHO_N "checking for inet_ntoa in -lnsl... $ECHO_C" >&6; }
23998
if test "${ac_cv_lib_nsl_inet_ntoa+set}" = set; then
23999
echo $ECHO_N "(cached) $ECHO_C" >&6
24001
ac_check_lib_save_LIBS=$LIBS
24003
cat >conftest.$ac_ext <<_ACEOF
24006
cat confdefs.h >>conftest.$ac_ext
24007
cat >>conftest.$ac_ext <<_ACEOF
24008
/* end confdefs.h. */
24010
/* Override any GCC internal prototype to avoid an error.
24011
Use char because int might match the return type of a GCC
24012
builtin and then its argument prototype would still apply. */
24020
return inet_ntoa ();
24025
rm -f conftest.$ac_objext conftest$ac_exeext
24026
if { (ac_try="$ac_link"
24027
case "(($ac_try" in
24028
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24029
*) ac_try_echo=$ac_try;;
24031
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24032
(eval "$ac_link") 2>conftest.er1
24034
grep -v '^ *+' conftest.er1 >conftest.err
24036
cat conftest.err >&5
24037
echo "$as_me:$LINENO: \$? = $ac_status" >&5
24038
(exit $ac_status); } && {
24039
test -z "$ac_c_werror_flag" ||
24040
test ! -s conftest.err
24041
} && test -s conftest$ac_exeext &&
24042
$as_test_x conftest$ac_exeext; then
24043
ac_cv_lib_nsl_inet_ntoa=yes
24045
echo "$as_me: failed program was:" >&5
24046
sed 's/^/| /' conftest.$ac_ext >&5
24048
ac_cv_lib_nsl_inet_ntoa=no
24051
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
24052
conftest$ac_exeext conftest.$ac_ext
24053
LIBS=$ac_check_lib_save_LIBS
24055
{ echo "$as_me:$LINENO: result: $ac_cv_lib_nsl_inet_ntoa" >&5
24056
echo "${ECHO_T}$ac_cv_lib_nsl_inet_ntoa" >&6; }
24057
if test $ac_cv_lib_nsl_inet_ntoa = yes; then
24058
X_EXTRA_LIBS="$X_EXTRA_LIBS -lnsl"
24062
{ echo "$as_me:$LINENO: checking for connect" >&5
24063
echo $ECHO_N "checking for connect... $ECHO_C" >&6; }
24064
if test "${ac_cv_func_connect+set}" = set; then
24065
echo $ECHO_N "(cached) $ECHO_C" >&6
24067
cat >conftest.$ac_ext <<_ACEOF
24070
cat confdefs.h >>conftest.$ac_ext
24071
cat >>conftest.$ac_ext <<_ACEOF
24072
/* end confdefs.h. */
24073
/* Define connect to an innocuous variant, in case <limits.h> declares connect.
24074
For example, HP-UX 11i <limits.h> declares gettimeofday. */
24075
#define connect innocuous_connect
24077
/* System header to define __stub macros and hopefully few prototypes,
24078
which can conflict with char connect (); below.
24079
Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
24080
<limits.h> exists even on freestanding compilers. */
24083
# include <limits.h>
24085
# include <assert.h>
24090
/* Override any GCC internal prototype to avoid an error.
24091
Use char because int might match the return type of a GCC
24092
builtin and then its argument prototype would still apply. */
24097
/* The GNU C library defines this for functions which it implements
24098
to always fail with ENOSYS. Some functions are actually named
24099
something starting with __ and the normal name is an alias. */
24100
#if defined __stub_connect || defined __stub___connect
24112
rm -f conftest.$ac_objext conftest$ac_exeext
24113
if { (ac_try="$ac_link"
24114
case "(($ac_try" in
24115
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24116
*) ac_try_echo=$ac_try;;
24118
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24119
(eval "$ac_link") 2>conftest.er1
24121
grep -v '^ *+' conftest.er1 >conftest.err
24123
cat conftest.err >&5
24124
echo "$as_me:$LINENO: \$? = $ac_status" >&5
24125
(exit $ac_status); } && {
24126
test -z "$ac_c_werror_flag" ||
24127
test ! -s conftest.err
24128
} && test -s conftest$ac_exeext &&
24129
$as_test_x conftest$ac_exeext; then
24130
ac_cv_func_connect=yes
24132
echo "$as_me: failed program was:" >&5
24133
sed 's/^/| /' conftest.$ac_ext >&5
24135
ac_cv_func_connect=no
24138
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
24139
conftest$ac_exeext conftest.$ac_ext
24141
{ echo "$as_me:$LINENO: result: $ac_cv_func_connect" >&5
24142
echo "${ECHO_T}$ac_cv_func_connect" >&6; }
24144
if test $ac_cv_func_connect = no; then
24145
{ echo "$as_me:$LINENO: checking for connect in -lsocket" >&5
24146
echo $ECHO_N "checking for connect in -lsocket... $ECHO_C" >&6; }
24147
if test "${ac_cv_lib_socket_connect+set}" = set; then
24148
echo $ECHO_N "(cached) $ECHO_C" >&6
24150
ac_check_lib_save_LIBS=$LIBS
24151
LIBS="-lsocket $X_EXTRA_LIBS $LIBS"
24152
cat >conftest.$ac_ext <<_ACEOF
24155
cat confdefs.h >>conftest.$ac_ext
24156
cat >>conftest.$ac_ext <<_ACEOF
24157
/* end confdefs.h. */
24159
/* Override any GCC internal prototype to avoid an error.
24160
Use char because int might match the return type of a GCC
24161
builtin and then its argument prototype would still apply. */
24174
rm -f conftest.$ac_objext conftest$ac_exeext
24175
if { (ac_try="$ac_link"
24176
case "(($ac_try" in
24177
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24178
*) ac_try_echo=$ac_try;;
24180
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24181
(eval "$ac_link") 2>conftest.er1
24183
grep -v '^ *+' conftest.er1 >conftest.err
24185
cat conftest.err >&5
24186
echo "$as_me:$LINENO: \$? = $ac_status" >&5
24187
(exit $ac_status); } && {
24188
test -z "$ac_c_werror_flag" ||
24189
test ! -s conftest.err
24190
} && test -s conftest$ac_exeext &&
24191
$as_test_x conftest$ac_exeext; then
24192
ac_cv_lib_socket_connect=yes
24194
echo "$as_me: failed program was:" >&5
24195
sed 's/^/| /' conftest.$ac_ext >&5
24197
ac_cv_lib_socket_connect=no
24200
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
24201
conftest$ac_exeext conftest.$ac_ext
24202
LIBS=$ac_check_lib_save_LIBS
24204
{ echo "$as_me:$LINENO: result: $ac_cv_lib_socket_connect" >&5
24205
echo "${ECHO_T}$ac_cv_lib_socket_connect" >&6; }
24206
if test $ac_cv_lib_socket_connect = yes; then
24207
X_EXTRA_LIBS="-lsocket $X_EXTRA_LIBS"
24212
{ echo "$as_me:$LINENO: checking for remove" >&5
24213
echo $ECHO_N "checking for remove... $ECHO_C" >&6; }
24214
if test "${ac_cv_func_remove+set}" = set; then
24215
echo $ECHO_N "(cached) $ECHO_C" >&6
24217
cat >conftest.$ac_ext <<_ACEOF
24220
cat confdefs.h >>conftest.$ac_ext
24221
cat >>conftest.$ac_ext <<_ACEOF
24222
/* end confdefs.h. */
24223
/* Define remove to an innocuous variant, in case <limits.h> declares remove.
24224
For example, HP-UX 11i <limits.h> declares gettimeofday. */
24225
#define remove innocuous_remove
24227
/* System header to define __stub macros and hopefully few prototypes,
24228
which can conflict with char remove (); below.
24229
Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
24230
<limits.h> exists even on freestanding compilers. */
24233
# include <limits.h>
24235
# include <assert.h>
24240
/* Override any GCC internal prototype to avoid an error.
24241
Use char because int might match the return type of a GCC
24242
builtin and then its argument prototype would still apply. */
24247
/* The GNU C library defines this for functions which it implements
24248
to always fail with ENOSYS. Some functions are actually named
24249
something starting with __ and the normal name is an alias. */
24250
#if defined __stub_remove || defined __stub___remove
24262
rm -f conftest.$ac_objext conftest$ac_exeext
24263
if { (ac_try="$ac_link"
24264
case "(($ac_try" in
24265
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24266
*) ac_try_echo=$ac_try;;
24268
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24269
(eval "$ac_link") 2>conftest.er1
24271
grep -v '^ *+' conftest.er1 >conftest.err
24273
cat conftest.err >&5
24274
echo "$as_me:$LINENO: \$? = $ac_status" >&5
24275
(exit $ac_status); } && {
24276
test -z "$ac_c_werror_flag" ||
24277
test ! -s conftest.err
24278
} && test -s conftest$ac_exeext &&
24279
$as_test_x conftest$ac_exeext; then
24280
ac_cv_func_remove=yes
24282
echo "$as_me: failed program was:" >&5
24283
sed 's/^/| /' conftest.$ac_ext >&5
24285
ac_cv_func_remove=no
24288
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
24289
conftest$ac_exeext conftest.$ac_ext
24291
{ echo "$as_me:$LINENO: result: $ac_cv_func_remove" >&5
24292
echo "${ECHO_T}$ac_cv_func_remove" >&6; }
24294
if test $ac_cv_func_remove = no; then
24295
{ echo "$as_me:$LINENO: checking for remove in -lposix" >&5
24296
echo $ECHO_N "checking for remove in -lposix... $ECHO_C" >&6; }
24297
if test "${ac_cv_lib_posix_remove+set}" = set; then
24298
echo $ECHO_N "(cached) $ECHO_C" >&6
24300
ac_check_lib_save_LIBS=$LIBS
24301
LIBS="-lposix $LIBS"
24302
cat >conftest.$ac_ext <<_ACEOF
24305
cat confdefs.h >>conftest.$ac_ext
24306
cat >>conftest.$ac_ext <<_ACEOF
24307
/* end confdefs.h. */
24309
/* Override any GCC internal prototype to avoid an error.
24310
Use char because int might match the return type of a GCC
24311
builtin and then its argument prototype would still apply. */
24324
rm -f conftest.$ac_objext conftest$ac_exeext
24325
if { (ac_try="$ac_link"
24326
case "(($ac_try" in
24327
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24328
*) ac_try_echo=$ac_try;;
24330
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24331
(eval "$ac_link") 2>conftest.er1
24333
grep -v '^ *+' conftest.er1 >conftest.err
24335
cat conftest.err >&5
24336
echo "$as_me:$LINENO: \$? = $ac_status" >&5
24337
(exit $ac_status); } && {
24338
test -z "$ac_c_werror_flag" ||
24339
test ! -s conftest.err
24340
} && test -s conftest$ac_exeext &&
24341
$as_test_x conftest$ac_exeext; then
24342
ac_cv_lib_posix_remove=yes
24344
echo "$as_me: failed program was:" >&5
24345
sed 's/^/| /' conftest.$ac_ext >&5
24347
ac_cv_lib_posix_remove=no
24350
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
24351
conftest$ac_exeext conftest.$ac_ext
24352
LIBS=$ac_check_lib_save_LIBS
24354
{ echo "$as_me:$LINENO: result: $ac_cv_lib_posix_remove" >&5
24355
echo "${ECHO_T}$ac_cv_lib_posix_remove" >&6; }
24356
if test $ac_cv_lib_posix_remove = yes; then
24357
X_EXTRA_LIBS="$X_EXTRA_LIBS -lposix"
24362
# BSDI BSD/OS 2.1 needs -lipc for XOpenDisplay.
24363
{ echo "$as_me:$LINENO: checking for shmat" >&5
24364
echo $ECHO_N "checking for shmat... $ECHO_C" >&6; }
24365
if test "${ac_cv_func_shmat+set}" = set; then
24366
echo $ECHO_N "(cached) $ECHO_C" >&6
24368
cat >conftest.$ac_ext <<_ACEOF
24371
cat confdefs.h >>conftest.$ac_ext
24372
cat >>conftest.$ac_ext <<_ACEOF
24373
/* end confdefs.h. */
24374
/* Define shmat to an innocuous variant, in case <limits.h> declares shmat.
24375
For example, HP-UX 11i <limits.h> declares gettimeofday. */
24376
#define shmat innocuous_shmat
24378
/* System header to define __stub macros and hopefully few prototypes,
24379
which can conflict with char shmat (); below.
24380
Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
24381
<limits.h> exists even on freestanding compilers. */
24384
# include <limits.h>
24386
# include <assert.h>
24391
/* Override any GCC internal prototype to avoid an error.
24392
Use char because int might match the return type of a GCC
24393
builtin and then its argument prototype would still apply. */
24398
/* The GNU C library defines this for functions which it implements
24399
to always fail with ENOSYS. Some functions are actually named
24400
something starting with __ and the normal name is an alias. */
24401
#if defined __stub_shmat || defined __stub___shmat
24413
rm -f conftest.$ac_objext conftest$ac_exeext
24414
if { (ac_try="$ac_link"
24415
case "(($ac_try" in
24416
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24417
*) ac_try_echo=$ac_try;;
24419
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24420
(eval "$ac_link") 2>conftest.er1
24422
grep -v '^ *+' conftest.er1 >conftest.err
24424
cat conftest.err >&5
24425
echo "$as_me:$LINENO: \$? = $ac_status" >&5
24426
(exit $ac_status); } && {
24427
test -z "$ac_c_werror_flag" ||
24428
test ! -s conftest.err
24429
} && test -s conftest$ac_exeext &&
24430
$as_test_x conftest$ac_exeext; then
24431
ac_cv_func_shmat=yes
24433
echo "$as_me: failed program was:" >&5
24434
sed 's/^/| /' conftest.$ac_ext >&5
24436
ac_cv_func_shmat=no
24439
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
24440
conftest$ac_exeext conftest.$ac_ext
24442
{ echo "$as_me:$LINENO: result: $ac_cv_func_shmat" >&5
24443
echo "${ECHO_T}$ac_cv_func_shmat" >&6; }
24444
if test $ac_cv_func_shmat = yes; then
24447
{ echo "$as_me:$LINENO: checking for shmat in -lipc" >&5
24448
echo $ECHO_N "checking for shmat in -lipc... $ECHO_C" >&6; }
24449
if test "${ac_cv_lib_ipc_shmat+set}" = set; then
24450
echo $ECHO_N "(cached) $ECHO_C" >&6
24452
ac_check_lib_save_LIBS=$LIBS
24454
cat >conftest.$ac_ext <<_ACEOF
24457
cat confdefs.h >>conftest.$ac_ext
24458
cat >>conftest.$ac_ext <<_ACEOF
24459
/* end confdefs.h. */
24461
/* Override any GCC internal prototype to avoid an error.
24462
Use char because int might match the return type of a GCC
24463
builtin and then its argument prototype would still apply. */
24476
rm -f conftest.$ac_objext conftest$ac_exeext
24477
if { (ac_try="$ac_link"
24478
case "(($ac_try" in
24479
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24480
*) ac_try_echo=$ac_try;;
24482
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24483
(eval "$ac_link") 2>conftest.er1
24485
grep -v '^ *+' conftest.er1 >conftest.err
24487
cat conftest.err >&5
24488
echo "$as_me:$LINENO: \$? = $ac_status" >&5
24489
(exit $ac_status); } && {
24490
test -z "$ac_c_werror_flag" ||
24491
test ! -s conftest.err
24492
} && test -s conftest$ac_exeext &&
24493
$as_test_x conftest$ac_exeext; then
24494
ac_cv_lib_ipc_shmat=yes
24496
echo "$as_me: failed program was:" >&5
24497
sed 's/^/| /' conftest.$ac_ext >&5
24499
ac_cv_lib_ipc_shmat=no
24502
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
24503
conftest$ac_exeext conftest.$ac_ext
24504
LIBS=$ac_check_lib_save_LIBS
24506
{ echo "$as_me:$LINENO: result: $ac_cv_lib_ipc_shmat" >&5
24507
echo "${ECHO_T}$ac_cv_lib_ipc_shmat" >&6; }
24508
if test $ac_cv_lib_ipc_shmat = yes; then
24509
X_EXTRA_LIBS="$X_EXTRA_LIBS -lipc"
24515
# more headers that need to be explicitly included on darwin
24518
for ac_header in sys/types.h stdint.h
24520
as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
24521
if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
24522
{ echo "$as_me:$LINENO: checking for $ac_header" >&5
24523
echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
24524
if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
24525
echo $ECHO_N "(cached) $ECHO_C" >&6
24527
ac_res=`eval echo '${'$as_ac_Header'}'`
24528
{ echo "$as_me:$LINENO: result: $ac_res" >&5
24529
echo "${ECHO_T}$ac_res" >&6; }
24531
# Is the header compilable?
24532
{ echo "$as_me:$LINENO: checking $ac_header usability" >&5
24533
echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; }
24534
cat >conftest.$ac_ext <<_ACEOF
24537
cat confdefs.h >>conftest.$ac_ext
24538
cat >>conftest.$ac_ext <<_ACEOF
24539
/* end confdefs.h. */
24540
$ac_includes_default
24541
#include <$ac_header>
24543
rm -f conftest.$ac_objext
24544
if { (ac_try="$ac_compile"
24545
case "(($ac_try" in
24546
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24547
*) ac_try_echo=$ac_try;;
24549
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24550
(eval "$ac_compile") 2>conftest.er1
24552
grep -v '^ *+' conftest.er1 >conftest.err
24554
cat conftest.err >&5
24555
echo "$as_me:$LINENO: \$? = $ac_status" >&5
24556
(exit $ac_status); } && {
24557
test -z "$ac_c_werror_flag" ||
24558
test ! -s conftest.err
24559
} && test -s conftest.$ac_objext; then
24560
ac_header_compiler=yes
24562
echo "$as_me: failed program was:" >&5
24563
sed 's/^/| /' conftest.$ac_ext >&5
24565
ac_header_compiler=no
24568
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24569
{ echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
24570
echo "${ECHO_T}$ac_header_compiler" >&6; }
24572
# Is the header present?
24573
{ echo "$as_me:$LINENO: checking $ac_header presence" >&5
24574
echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; }
24575
cat >conftest.$ac_ext <<_ACEOF
24578
cat confdefs.h >>conftest.$ac_ext
24579
cat >>conftest.$ac_ext <<_ACEOF
24580
/* end confdefs.h. */
24581
#include <$ac_header>
24583
if { (ac_try="$ac_cpp conftest.$ac_ext"
24584
case "(($ac_try" in
24585
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24586
*) ac_try_echo=$ac_try;;
24588
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24589
(eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
24591
grep -v '^ *+' conftest.er1 >conftest.err
24593
cat conftest.err >&5
24594
echo "$as_me:$LINENO: \$? = $ac_status" >&5
24595
(exit $ac_status); } >/dev/null && {
24596
test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
24597
test ! -s conftest.err
24599
ac_header_preproc=yes
24601
echo "$as_me: failed program was:" >&5
24602
sed 's/^/| /' conftest.$ac_ext >&5
24604
ac_header_preproc=no
24607
rm -f conftest.err conftest.$ac_ext
24608
{ echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
24609
echo "${ECHO_T}$ac_header_preproc" >&6; }
24611
# So? What about this header?
24612
case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
24614
{ echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
24615
echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
24616
{ echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
24617
echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
24618
ac_header_preproc=yes
24621
{ echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
24622
echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
24623
{ echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
24624
echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
24625
{ echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
24626
echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
24627
{ echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
24628
echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
24629
{ echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
24630
echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
24631
{ echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
24632
echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
24636
{ echo "$as_me:$LINENO: checking for $ac_header" >&5
24637
echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
24638
if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
24639
echo $ECHO_N "(cached) $ECHO_C" >&6
24641
eval "$as_ac_Header=\$ac_header_preproc"
24643
ac_res=`eval echo '${'$as_ac_Header'}'`
24644
{ echo "$as_me:$LINENO: result: $ac_res" >&5
24645
echo "${ECHO_T}$ac_res" >&6; }
24648
if test `eval echo '${'$as_ac_Header'}'` = yes; then
24649
cat >>confdefs.h <<_ACEOF
24650
#define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
24658
# sys/bitypes.h is needed for uint32_t and friends on Tru64
24660
for ac_header in sys/bitypes.h
24662
as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
24663
if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
24664
{ echo "$as_me:$LINENO: checking for $ac_header" >&5
24665
echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
24666
if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
24667
echo $ECHO_N "(cached) $ECHO_C" >&6
24669
ac_res=`eval echo '${'$as_ac_Header'}'`
24670
{ echo "$as_me:$LINENO: result: $ac_res" >&5
24671
echo "${ECHO_T}$ac_res" >&6; }
24673
# Is the header compilable?
24674
{ echo "$as_me:$LINENO: checking $ac_header usability" >&5
24675
echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; }
24676
cat >conftest.$ac_ext <<_ACEOF
24679
cat confdefs.h >>conftest.$ac_ext
24680
cat >>conftest.$ac_ext <<_ACEOF
24681
/* end confdefs.h. */
24682
$ac_includes_default
24683
#include <$ac_header>
24685
rm -f conftest.$ac_objext
24686
if { (ac_try="$ac_compile"
24687
case "(($ac_try" in
24688
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24689
*) ac_try_echo=$ac_try;;
24691
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24692
(eval "$ac_compile") 2>conftest.er1
24694
grep -v '^ *+' conftest.er1 >conftest.err
24696
cat conftest.err >&5
24697
echo "$as_me:$LINENO: \$? = $ac_status" >&5
24698
(exit $ac_status); } && {
24699
test -z "$ac_c_werror_flag" ||
24700
test ! -s conftest.err
24701
} && test -s conftest.$ac_objext; then
24702
ac_header_compiler=yes
24704
echo "$as_me: failed program was:" >&5
24705
sed 's/^/| /' conftest.$ac_ext >&5
24707
ac_header_compiler=no
24710
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24711
{ echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
24712
echo "${ECHO_T}$ac_header_compiler" >&6; }
24714
# Is the header present?
24715
{ echo "$as_me:$LINENO: checking $ac_header presence" >&5
24716
echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; }
24717
cat >conftest.$ac_ext <<_ACEOF
24720
cat confdefs.h >>conftest.$ac_ext
24721
cat >>conftest.$ac_ext <<_ACEOF
24722
/* end confdefs.h. */
24723
#include <$ac_header>
24725
if { (ac_try="$ac_cpp conftest.$ac_ext"
24726
case "(($ac_try" in
24727
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24728
*) ac_try_echo=$ac_try;;
24730
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24731
(eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
24733
grep -v '^ *+' conftest.er1 >conftest.err
24735
cat conftest.err >&5
24736
echo "$as_me:$LINENO: \$? = $ac_status" >&5
24737
(exit $ac_status); } >/dev/null && {
24738
test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
24739
test ! -s conftest.err
24741
ac_header_preproc=yes
24743
echo "$as_me: failed program was:" >&5
24744
sed 's/^/| /' conftest.$ac_ext >&5
24746
ac_header_preproc=no
24749
rm -f conftest.err conftest.$ac_ext
24750
{ echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
24751
echo "${ECHO_T}$ac_header_preproc" >&6; }
24753
# So? What about this header?
24754
case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
24756
{ echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
24757
echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
24758
{ echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
24759
echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
24760
ac_header_preproc=yes
24763
{ echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
24764
echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
24765
{ echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
24766
echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
24767
{ echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
24768
echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
24769
{ echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
24770
echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
24771
{ echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
24772
echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
24773
{ echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
24774
echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
24778
{ echo "$as_me:$LINENO: checking for $ac_header" >&5
24779
echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
24780
if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
24781
echo $ECHO_N "(cached) $ECHO_C" >&6
24783
eval "$as_ac_Header=\$ac_header_preproc"
24785
ac_res=`eval echo '${'$as_ac_Header'}'`
24786
{ echo "$as_me:$LINENO: result: $ac_res" >&5
24787
echo "${ECHO_T}$ac_res" >&6; }
24790
if test `eval echo '${'$as_ac_Header'}'` = yes; then
24791
cat >>confdefs.h <<_ACEOF
24792
#define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
24800
# darwin requires a poll emulation library
24801
{ echo "$as_me:$LINENO: checking for poll in -lpoll" >&5
24802
echo $ECHO_N "checking for poll in -lpoll... $ECHO_C" >&6; }
24803
if test "${ac_cv_lib_poll_poll+set}" = set; then
24804
echo $ECHO_N "(cached) $ECHO_C" >&6
24806
ac_check_lib_save_LIBS=$LIBS
24807
LIBS="-lpoll $LIBS"
24808
cat >conftest.$ac_ext <<_ACEOF
24811
cat confdefs.h >>conftest.$ac_ext
24812
cat >>conftest.$ac_ext <<_ACEOF
24813
/* end confdefs.h. */
24815
/* Override any GCC internal prototype to avoid an error.
24816
Use char because int might match the return type of a GCC
24817
builtin and then its argument prototype would still apply. */
24830
rm -f conftest.$ac_objext conftest$ac_exeext
24831
if { (ac_try="$ac_link"
24832
case "(($ac_try" in
24833
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24834
*) ac_try_echo=$ac_try;;
24836
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24837
(eval "$ac_link") 2>conftest.er1
24839
grep -v '^ *+' conftest.er1 >conftest.err
24841
cat conftest.err >&5
24842
echo "$as_me:$LINENO: \$? = $ac_status" >&5
24843
(exit $ac_status); } && {
24844
test -z "$ac_c_werror_flag" ||
24845
test ! -s conftest.err
24846
} && test -s conftest$ac_exeext &&
24847
$as_test_x conftest$ac_exeext; then
24848
ac_cv_lib_poll_poll=yes
24850
echo "$as_me: failed program was:" >&5
24851
sed 's/^/| /' conftest.$ac_ext >&5
24853
ac_cv_lib_poll_poll=no
24856
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
24857
conftest$ac_exeext conftest.$ac_ext
24858
LIBS=$ac_check_lib_save_LIBS
24860
{ echo "$as_me:$LINENO: result: $ac_cv_lib_poll_poll" >&5
24861
echo "${ECHO_T}$ac_cv_lib_poll_poll" >&6; }
24862
if test $ac_cv_lib_poll_poll = yes; then
24867
# for some image handling on Mac OS X
24869
for ac_header in Carbon/Carbon.h
24871
as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
24872
if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
24873
{ echo "$as_me:$LINENO: checking for $ac_header" >&5
24874
echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
24875
if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
24876
echo $ECHO_N "(cached) $ECHO_C" >&6
24878
ac_res=`eval echo '${'$as_ac_Header'}'`
24879
{ echo "$as_me:$LINENO: result: $ac_res" >&5
24880
echo "${ECHO_T}$ac_res" >&6; }
24882
# Is the header compilable?
24883
{ echo "$as_me:$LINENO: checking $ac_header usability" >&5
24884
echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; }
24885
cat >conftest.$ac_ext <<_ACEOF
24888
cat confdefs.h >>conftest.$ac_ext
24889
cat >>conftest.$ac_ext <<_ACEOF
24890
/* end confdefs.h. */
24891
$ac_includes_default
24892
#include <$ac_header>
24894
rm -f conftest.$ac_objext
24895
if { (ac_try="$ac_compile"
24896
case "(($ac_try" in
24897
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24898
*) ac_try_echo=$ac_try;;
24900
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24901
(eval "$ac_compile") 2>conftest.er1
24903
grep -v '^ *+' conftest.er1 >conftest.err
24905
cat conftest.err >&5
24906
echo "$as_me:$LINENO: \$? = $ac_status" >&5
24907
(exit $ac_status); } && {
24908
test -z "$ac_c_werror_flag" ||
24909
test ! -s conftest.err
24910
} && test -s conftest.$ac_objext; then
24911
ac_header_compiler=yes
24913
echo "$as_me: failed program was:" >&5
24914
sed 's/^/| /' conftest.$ac_ext >&5
24916
ac_header_compiler=no
24919
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24920
{ echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
24921
echo "${ECHO_T}$ac_header_compiler" >&6; }
24923
# Is the header present?
24924
{ echo "$as_me:$LINENO: checking $ac_header presence" >&5
24925
echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; }
24926
cat >conftest.$ac_ext <<_ACEOF
24929
cat confdefs.h >>conftest.$ac_ext
24930
cat >>conftest.$ac_ext <<_ACEOF
24931
/* end confdefs.h. */
24932
#include <$ac_header>
24934
if { (ac_try="$ac_cpp conftest.$ac_ext"
24935
case "(($ac_try" in
24936
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24937
*) ac_try_echo=$ac_try;;
24939
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24940
(eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
24942
grep -v '^ *+' conftest.er1 >conftest.err
24944
cat conftest.err >&5
24945
echo "$as_me:$LINENO: \$? = $ac_status" >&5
24946
(exit $ac_status); } >/dev/null && {
24947
test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
24948
test ! -s conftest.err
24950
ac_header_preproc=yes
24952
echo "$as_me: failed program was:" >&5
24953
sed 's/^/| /' conftest.$ac_ext >&5
24955
ac_header_preproc=no
24958
rm -f conftest.err conftest.$ac_ext
24959
{ echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
24960
echo "${ECHO_T}$ac_header_preproc" >&6; }
24962
# So? What about this header?
24963
case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
24965
{ echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
24966
echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
24967
{ echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
24968
echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
24969
ac_header_preproc=yes
24972
{ echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
24973
echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
24974
{ echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
24975
echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
24976
{ echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
24977
echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
24978
{ echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
24979
echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
24980
{ echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
24981
echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
24982
{ echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
24983
echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
24987
{ echo "$as_me:$LINENO: checking for $ac_header" >&5
24988
echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
24989
if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
24990
echo $ECHO_N "(cached) $ECHO_C" >&6
24992
eval "$as_ac_Header=\$ac_header_preproc"
24994
ac_res=`eval echo '${'$as_ac_Header'}'`
24995
{ echo "$as_me:$LINENO: result: $ac_res" >&5
24996
echo "${ECHO_T}$ac_res" >&6; }
24999
if test `eval echo '${'$as_ac_Header'}'` = yes; then
25000
cat >>confdefs.h <<_ACEOF
25001
#define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
25009
# CoreAudio framework
25010
if test "${ac_cv_header_CoreAudio_CoreAudio_h+set}" = set; then
25011
{ echo "$as_me:$LINENO: checking for CoreAudio/CoreAudio.h" >&5
25012
echo $ECHO_N "checking for CoreAudio/CoreAudio.h... $ECHO_C" >&6; }
25013
if test "${ac_cv_header_CoreAudio_CoreAudio_h+set}" = set; then
25014
echo $ECHO_N "(cached) $ECHO_C" >&6
25016
{ echo "$as_me:$LINENO: result: $ac_cv_header_CoreAudio_CoreAudio_h" >&5
25017
echo "${ECHO_T}$ac_cv_header_CoreAudio_CoreAudio_h" >&6; }
25019
# Is the header compilable?
25020
{ echo "$as_me:$LINENO: checking CoreAudio/CoreAudio.h usability" >&5
25021
echo $ECHO_N "checking CoreAudio/CoreAudio.h usability... $ECHO_C" >&6; }
25022
cat >conftest.$ac_ext <<_ACEOF
25025
cat confdefs.h >>conftest.$ac_ext
25026
cat >>conftest.$ac_ext <<_ACEOF
25027
/* end confdefs.h. */
25028
$ac_includes_default
25029
#include <CoreAudio/CoreAudio.h>
25031
rm -f conftest.$ac_objext
25032
if { (ac_try="$ac_compile"
25033
case "(($ac_try" in
25034
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25035
*) ac_try_echo=$ac_try;;
25037
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25038
(eval "$ac_compile") 2>conftest.er1
25040
grep -v '^ *+' conftest.er1 >conftest.err
25042
cat conftest.err >&5
25043
echo "$as_me:$LINENO: \$? = $ac_status" >&5
25044
(exit $ac_status); } && {
25045
test -z "$ac_c_werror_flag" ||
25046
test ! -s conftest.err
25047
} && test -s conftest.$ac_objext; then
25048
ac_header_compiler=yes
25050
echo "$as_me: failed program was:" >&5
25051
sed 's/^/| /' conftest.$ac_ext >&5
25053
ac_header_compiler=no
25056
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25057
{ echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
25058
echo "${ECHO_T}$ac_header_compiler" >&6; }
25060
# Is the header present?
25061
{ echo "$as_me:$LINENO: checking CoreAudio/CoreAudio.h presence" >&5
25062
echo $ECHO_N "checking CoreAudio/CoreAudio.h presence... $ECHO_C" >&6; }
25063
cat >conftest.$ac_ext <<_ACEOF
25066
cat confdefs.h >>conftest.$ac_ext
25067
cat >>conftest.$ac_ext <<_ACEOF
25068
/* end confdefs.h. */
25069
#include <CoreAudio/CoreAudio.h>
25071
if { (ac_try="$ac_cpp conftest.$ac_ext"
25072
case "(($ac_try" in
25073
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25074
*) ac_try_echo=$ac_try;;
25076
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25077
(eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
25079
grep -v '^ *+' conftest.er1 >conftest.err
25081
cat conftest.err >&5
25082
echo "$as_me:$LINENO: \$? = $ac_status" >&5
25083
(exit $ac_status); } >/dev/null && {
25084
test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
25085
test ! -s conftest.err
25087
ac_header_preproc=yes
25089
echo "$as_me: failed program was:" >&5
25090
sed 's/^/| /' conftest.$ac_ext >&5
25092
ac_header_preproc=no
25095
rm -f conftest.err conftest.$ac_ext
25096
{ echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
25097
echo "${ECHO_T}$ac_header_preproc" >&6; }
25099
# So? What about this header?
25100
case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
25102
{ echo "$as_me:$LINENO: WARNING: CoreAudio/CoreAudio.h: accepted by the compiler, rejected by the preprocessor!" >&5
25103
echo "$as_me: WARNING: CoreAudio/CoreAudio.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
25104
{ echo "$as_me:$LINENO: WARNING: CoreAudio/CoreAudio.h: proceeding with the compiler's result" >&5
25105
echo "$as_me: WARNING: CoreAudio/CoreAudio.h: proceeding with the compiler's result" >&2;}
25106
ac_header_preproc=yes
25109
{ echo "$as_me:$LINENO: WARNING: CoreAudio/CoreAudio.h: present but cannot be compiled" >&5
25110
echo "$as_me: WARNING: CoreAudio/CoreAudio.h: present but cannot be compiled" >&2;}
25111
{ echo "$as_me:$LINENO: WARNING: CoreAudio/CoreAudio.h: check for missing prerequisite headers?" >&5
25112
echo "$as_me: WARNING: CoreAudio/CoreAudio.h: check for missing prerequisite headers?" >&2;}
25113
{ echo "$as_me:$LINENO: WARNING: CoreAudio/CoreAudio.h: see the Autoconf documentation" >&5
25114
echo "$as_me: WARNING: CoreAudio/CoreAudio.h: see the Autoconf documentation" >&2;}
25115
{ echo "$as_me:$LINENO: WARNING: CoreAudio/CoreAudio.h: section \"Present But Cannot Be Compiled\"" >&5
25116
echo "$as_me: WARNING: CoreAudio/CoreAudio.h: section \"Present But Cannot Be Compiled\"" >&2;}
25117
{ echo "$as_me:$LINENO: WARNING: CoreAudio/CoreAudio.h: proceeding with the preprocessor's result" >&5
25118
echo "$as_me: WARNING: CoreAudio/CoreAudio.h: proceeding with the preprocessor's result" >&2;}
25119
{ echo "$as_me:$LINENO: WARNING: CoreAudio/CoreAudio.h: in the future, the compiler will take precedence" >&5
25120
echo "$as_me: WARNING: CoreAudio/CoreAudio.h: in the future, the compiler will take precedence" >&2;}
25124
{ echo "$as_me:$LINENO: checking for CoreAudio/CoreAudio.h" >&5
25125
echo $ECHO_N "checking for CoreAudio/CoreAudio.h... $ECHO_C" >&6; }
25126
if test "${ac_cv_header_CoreAudio_CoreAudio_h+set}" = set; then
25127
echo $ECHO_N "(cached) $ECHO_C" >&6
25129
ac_cv_header_CoreAudio_CoreAudio_h=$ac_header_preproc
25131
{ echo "$as_me:$LINENO: result: $ac_cv_header_CoreAudio_CoreAudio_h" >&5
25132
echo "${ECHO_T}$ac_cv_header_CoreAudio_CoreAudio_h" >&6; }
25135
if test $ac_cv_header_CoreAudio_CoreAudio_h = yes; then
25138
cat >>confdefs.h <<\_ACEOF
25139
#define HAVE_COREAUDIO 1
25142
FRAMEWORK_COREAUDIO="-Wl,-framework,CoreAudio"
25149
{ echo "$as_me:$LINENO: checking if res_init needs -lresolv" >&5
25150
echo $ECHO_N "checking if res_init needs -lresolv... $ECHO_C" >&6; }
25151
kde_libs_safe="$LIBS"
25152
LIBS="$LIBS $X_EXTRA_LIBS -lresolv"
25153
cat >conftest.$ac_ext <<_ACEOF
25156
cat confdefs.h >>conftest.$ac_ext
25157
cat >>conftest.$ac_ext <<_ACEOF
25158
/* end confdefs.h. */
25160
#include <sys/types.h>
25161
#include <netinet/in.h>
25162
#include <arpa/nameser.h>
25163
#include <resolv.h>
25175
rm -f conftest.$ac_objext conftest$ac_exeext
25176
if { (ac_try="$ac_link"
25177
case "(($ac_try" in
25178
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25179
*) ac_try_echo=$ac_try;;
25181
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25182
(eval "$ac_link") 2>conftest.er1
25184
grep -v '^ *+' conftest.er1 >conftest.err
25186
cat conftest.err >&5
25187
echo "$as_me:$LINENO: \$? = $ac_status" >&5
25188
(exit $ac_status); } && {
25189
test -z "$ac_c_werror_flag" ||
25190
test ! -s conftest.err
25191
} && test -s conftest$ac_exeext &&
25192
$as_test_x conftest$ac_exeext; then
25194
LIBRESOLV="-lresolv"
25195
{ echo "$as_me:$LINENO: result: yes" >&5
25196
echo "${ECHO_T}yes" >&6; }
25198
cat >>confdefs.h <<\_ACEOF
25199
#define HAVE_RES_INIT 1
25204
echo "$as_me: failed program was:" >&5
25205
sed 's/^/| /' conftest.$ac_ext >&5
25207
{ echo "$as_me:$LINENO: result: no" >&5
25208
echo "${ECHO_T}no" >&6; }
25212
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
25213
conftest$ac_exeext conftest.$ac_ext
25214
LIBS=$kde_libs_safe
25218
{ echo "$as_me:$LINENO: checking for res_init" >&5
25219
echo $ECHO_N "checking for res_init... $ECHO_C" >&6; }
25220
if test "${kde_cv_func_res_init+set}" = set; then
25221
echo $ECHO_N "(cached) $ECHO_C" >&6
25226
ac_cpp='$CXXCPP $CPPFLAGS'
25227
ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25228
ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25229
ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25231
ac_link='rm -rf SunWS_cache; ${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
25234
save_CXXFLAGS="$CXXFLAGS"
25235
kde_safe_LIBS="$LIBS"
25236
LIBS="$LIBS $X_EXTRA_LIBS"
25237
if test "$GXX" = "yes"; then
25238
CXXFLAGS="$CXXFLAGS -pedantic-errors"
25240
cat >conftest.$ac_ext <<_ACEOF
25243
cat confdefs.h >>conftest.$ac_ext
25244
cat >>conftest.$ac_ext <<_ACEOF
25245
/* end confdefs.h. */
25248
#include <sys/types.h>
25249
#include <netinet/in.h>
25250
#include <arpa/nameser.h>
25251
#include <resolv.h>
25264
rm -f conftest.$ac_objext
25265
if { (ac_try="$ac_compile"
25266
case "(($ac_try" in
25267
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25268
*) ac_try_echo=$ac_try;;
25270
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25271
(eval "$ac_compile") 2>conftest.er1
25273
grep -v '^ *+' conftest.er1 >conftest.err
25275
cat conftest.err >&5
25276
echo "$as_me:$LINENO: \$? = $ac_status" >&5
25277
(exit $ac_status); } && {
25278
test -z "$ac_cxx_werror_flag" ||
25279
test ! -s conftest.err
25280
} && test -s conftest.$ac_objext; then
25281
kde_cv_func_res_init=yes
25283
echo "$as_me: failed program was:" >&5
25284
sed 's/^/| /' conftest.$ac_ext >&5
25286
kde_cv_func_res_init=no
25289
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25290
CXXFLAGS="$save_CXXFLAGS"
25291
LIBS="$kde_safe_LIBS"
25293
ac_cpp='$CPP $CPPFLAGS'
25294
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25295
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25296
ac_compiler_gnu=$ac_cv_c_compiler_gnu
25302
{ echo "$as_me:$LINENO: result: $kde_cv_func_res_init" >&5
25303
echo "${ECHO_T}$kde_cv_func_res_init" >&6; }
25305
{ echo "$as_me:$LINENO: checking if res_init needs custom prototype" >&5
25306
echo $ECHO_N "checking if res_init needs custom prototype... $ECHO_C" >&6; }
25307
if test "${kde_cv_proto_res_init+set}" = set; then
25308
echo $ECHO_N "(cached) $ECHO_C" >&6
25311
if test "x$kde_cv_func_res_init" = xyes; then
25312
kde_cv_proto_res_init=no
25315
setenv|unsetenv|usleep|random|srandom|seteuid|mkstemps|mkstemp|revoke|vsnprintf|strlcpy|strlcat)
25316
kde_cv_proto_res_init="yes - in libkdefakes"
25319
kde_cv_proto_res_init=unknown
25324
if test "x$kde_cv_proto_res_init" = xunknown; then
25328
ac_cpp='$CXXCPP $CPPFLAGS'
25329
ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25330
ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25331
ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25333
ac_link='rm -rf SunWS_cache; ${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
25336
kde_safe_libs=$LIBS
25337
LIBS="$LIBS $X_EXTRA_LIBS"
25338
cat >conftest.$ac_ext <<_ACEOF
25341
cat confdefs.h >>conftest.$ac_ext
25342
cat >>conftest.$ac_ext <<_ACEOF
25343
/* end confdefs.h. */
25346
#include <sys/types.h>
25347
#include <netinet/in.h>
25348
#include <arpa/nameser.h>
25349
#include <resolv.h>
25352
extern "C" int res_init(void);
25364
rm -f conftest.$ac_objext conftest$ac_exeext
25365
if { (ac_try="$ac_link"
25366
case "(($ac_try" in
25367
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25368
*) ac_try_echo=$ac_try;;
25370
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25371
(eval "$ac_link") 2>conftest.er1
25373
grep -v '^ *+' conftest.er1 >conftest.err
25375
cat conftest.err >&5
25376
echo "$as_me:$LINENO: \$? = $ac_status" >&5
25377
(exit $ac_status); } && {
25378
test -z "$ac_cxx_werror_flag" ||
25379
test ! -s conftest.err
25380
} && test -s conftest$ac_exeext &&
25381
$as_test_x conftest$ac_exeext; then
25382
kde_cv_func_res_init=yes
25383
kde_cv_proto_res_init=yes
25385
echo "$as_me: failed program was:" >&5
25386
sed 's/^/| /' conftest.$ac_ext >&5
25388
kde_cv_proto_res_init="res_init unavailable"
25392
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
25393
conftest$ac_exeext conftest.$ac_ext
25394
LIBS=$kde_safe_libs
25396
ac_cpp='$CPP $CPPFLAGS'
25397
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25398
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25399
ac_compiler_gnu=$ac_cv_c_compiler_gnu
25405
{ echo "$as_me:$LINENO: result: $kde_cv_proto_res_init" >&5
25406
echo "${ECHO_T}$kde_cv_proto_res_init" >&6; }
25408
if test "x$kde_cv_func_res_init" = xyes; then
25410
cat >>confdefs.h <<\_ACEOF
25411
#define HAVE_RES_INIT 1
25416
if test "x$kde_cv_proto_res_init" = xno; then
25418
cat >>confdefs.h <<\_ACEOF
25419
#define HAVE_RES_INIT_PROTO 1
25430
LIBSOCKET="$X_EXTRA_LIBS"
25433
{ echo "$as_me:$LINENO: checking for killpg in -lucb" >&5
25434
echo $ECHO_N "checking for killpg in -lucb... $ECHO_C" >&6; }
25435
if test "${ac_cv_lib_ucb_killpg+set}" = set; then
25436
echo $ECHO_N "(cached) $ECHO_C" >&6
25438
ac_check_lib_save_LIBS=$LIBS
25440
cat >conftest.$ac_ext <<_ACEOF
25443
cat confdefs.h >>conftest.$ac_ext
25444
cat >>conftest.$ac_ext <<_ACEOF
25445
/* end confdefs.h. */
25447
/* Override any GCC internal prototype to avoid an error.
25448
Use char because int might match the return type of a GCC
25449
builtin and then its argument prototype would still apply. */
25462
rm -f conftest.$ac_objext conftest$ac_exeext
25463
if { (ac_try="$ac_link"
25464
case "(($ac_try" in
25465
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25466
*) ac_try_echo=$ac_try;;
25468
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25469
(eval "$ac_link") 2>conftest.er1
25471
grep -v '^ *+' conftest.er1 >conftest.err
25473
cat conftest.err >&5
25474
echo "$as_me:$LINENO: \$? = $ac_status" >&5
25475
(exit $ac_status); } && {
25476
test -z "$ac_c_werror_flag" ||
25477
test ! -s conftest.err
25478
} && test -s conftest$ac_exeext &&
25479
$as_test_x conftest$ac_exeext; then
25480
ac_cv_lib_ucb_killpg=yes
25482
echo "$as_me: failed program was:" >&5
25483
sed 's/^/| /' conftest.$ac_ext >&5
25485
ac_cv_lib_ucb_killpg=no
25488
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
25489
conftest$ac_exeext conftest.$ac_ext
25490
LIBS=$ac_check_lib_save_LIBS
25492
{ echo "$as_me:$LINENO: result: $ac_cv_lib_ucb_killpg" >&5
25493
echo "${ECHO_T}$ac_cv_lib_ucb_killpg" >&6; }
25494
if test $ac_cv_lib_ucb_killpg = yes; then
25499
case $host in *-*-lynxos* )
25500
{ echo "$as_me:$LINENO: checking LynxOS header file wrappers" >&5
25501
echo $ECHO_N "checking LynxOS header file wrappers... $ECHO_C" >&6; }
25502
CFLAGS="$CFLAGS -D__NO_INCLUDE_WARN__"
25503
{ echo "$as_me:$LINENO: result: disabled" >&5
25504
echo "${ECHO_T}disabled" >&6; }
25505
{ echo "$as_me:$LINENO: checking for gethostbyname in -lbsd" >&5
25506
echo $ECHO_N "checking for gethostbyname in -lbsd... $ECHO_C" >&6; }
25507
if test "${ac_cv_lib_bsd_gethostbyname+set}" = set; then
25508
echo $ECHO_N "(cached) $ECHO_C" >&6
25510
ac_check_lib_save_LIBS=$LIBS
25512
cat >conftest.$ac_ext <<_ACEOF
25515
cat confdefs.h >>conftest.$ac_ext
25516
cat >>conftest.$ac_ext <<_ACEOF
25517
/* end confdefs.h. */
25519
/* Override any GCC internal prototype to avoid an error.
25520
Use char because int might match the return type of a GCC
25521
builtin and then its argument prototype would still apply. */
25525
char gethostbyname ();
25529
return gethostbyname ();
25534
rm -f conftest.$ac_objext conftest$ac_exeext
25535
if { (ac_try="$ac_link"
25536
case "(($ac_try" in
25537
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25538
*) ac_try_echo=$ac_try;;
25540
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25541
(eval "$ac_link") 2>conftest.er1
25543
grep -v '^ *+' conftest.er1 >conftest.err
25545
cat conftest.err >&5
25546
echo "$as_me:$LINENO: \$? = $ac_status" >&5
25547
(exit $ac_status); } && {
25548
test -z "$ac_c_werror_flag" ||
25549
test ! -s conftest.err
25550
} && test -s conftest$ac_exeext &&
25551
$as_test_x conftest$ac_exeext; then
25552
ac_cv_lib_bsd_gethostbyname=yes
25554
echo "$as_me: failed program was:" >&5
25555
sed 's/^/| /' conftest.$ac_ext >&5
25557
ac_cv_lib_bsd_gethostbyname=no
25560
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
25561
conftest$ac_exeext conftest.$ac_ext
25562
LIBS=$ac_check_lib_save_LIBS
25564
{ echo "$as_me:$LINENO: result: $ac_cv_lib_bsd_gethostbyname" >&5
25565
echo "${ECHO_T}$ac_cv_lib_bsd_gethostbyname" >&6; }
25566
if test $ac_cv_lib_bsd_gethostbyname = yes; then
25572
{ echo "$as_me:$LINENO: checking for int" >&5
25573
echo $ECHO_N "checking for int... $ECHO_C" >&6; }
25574
if test "${ac_cv_type_int+set}" = set; then
25575
echo $ECHO_N "(cached) $ECHO_C" >&6
25577
cat >conftest.$ac_ext <<_ACEOF
25580
cat confdefs.h >>conftest.$ac_ext
25581
cat >>conftest.$ac_ext <<_ACEOF
25582
/* end confdefs.h. */
25583
$ac_includes_default
25584
typedef int ac__type_new_;
25588
if ((ac__type_new_ *) 0)
25590
if (sizeof (ac__type_new_))
25596
rm -f conftest.$ac_objext
25597
if { (ac_try="$ac_compile"
25598
case "(($ac_try" in
25599
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25600
*) ac_try_echo=$ac_try;;
25602
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25603
(eval "$ac_compile") 2>conftest.er1
25605
grep -v '^ *+' conftest.er1 >conftest.err
25607
cat conftest.err >&5
25608
echo "$as_me:$LINENO: \$? = $ac_status" >&5
25609
(exit $ac_status); } && {
25610
test -z "$ac_c_werror_flag" ||
25611
test ! -s conftest.err
25612
} && test -s conftest.$ac_objext; then
25615
echo "$as_me: failed program was:" >&5
25616
sed 's/^/| /' conftest.$ac_ext >&5
25621
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25623
{ echo "$as_me:$LINENO: result: $ac_cv_type_int" >&5
25624
echo "${ECHO_T}$ac_cv_type_int" >&6; }
25626
# The cast to long int works around a bug in the HP C Compiler
25627
# version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
25628
# declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
25629
# This bug is HP SR number 8606223364.
25630
{ echo "$as_me:$LINENO: checking size of int" >&5
25631
echo $ECHO_N "checking size of int... $ECHO_C" >&6; }
25632
if test "${ac_cv_sizeof_int+set}" = set; then
25633
echo $ECHO_N "(cached) $ECHO_C" >&6
25635
if test "$cross_compiling" = yes; then
25636
# Depending upon the size, compute the lo and hi bounds.
25637
cat >conftest.$ac_ext <<_ACEOF
25640
cat confdefs.h >>conftest.$ac_ext
25641
cat >>conftest.$ac_ext <<_ACEOF
25642
/* end confdefs.h. */
25643
$ac_includes_default
25644
typedef int ac__type_sizeof_;
25648
static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
25655
rm -f conftest.$ac_objext
25656
if { (ac_try="$ac_compile"
25657
case "(($ac_try" in
25658
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25659
*) ac_try_echo=$ac_try;;
25661
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25662
(eval "$ac_compile") 2>conftest.er1
25664
grep -v '^ *+' conftest.er1 >conftest.err
25666
cat conftest.err >&5
25667
echo "$as_me:$LINENO: \$? = $ac_status" >&5
25668
(exit $ac_status); } && {
25669
test -z "$ac_c_werror_flag" ||
25670
test ! -s conftest.err
25671
} && test -s conftest.$ac_objext; then
25674
cat >conftest.$ac_ext <<_ACEOF
25677
cat confdefs.h >>conftest.$ac_ext
25678
cat >>conftest.$ac_ext <<_ACEOF
25679
/* end confdefs.h. */
25680
$ac_includes_default
25681
typedef int ac__type_sizeof_;
25685
static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
25692
rm -f conftest.$ac_objext
25693
if { (ac_try="$ac_compile"
25694
case "(($ac_try" in
25695
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25696
*) ac_try_echo=$ac_try;;
25698
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25699
(eval "$ac_compile") 2>conftest.er1
25701
grep -v '^ *+' conftest.er1 >conftest.err
25703
cat conftest.err >&5
25704
echo "$as_me:$LINENO: \$? = $ac_status" >&5
25705
(exit $ac_status); } && {
25706
test -z "$ac_c_werror_flag" ||
25707
test ! -s conftest.err
25708
} && test -s conftest.$ac_objext; then
25709
ac_hi=$ac_mid; break
25711
echo "$as_me: failed program was:" >&5
25712
sed 's/^/| /' conftest.$ac_ext >&5
25714
ac_lo=`expr $ac_mid + 1`
25715
if test $ac_lo -le $ac_mid; then
25719
ac_mid=`expr 2 '*' $ac_mid + 1`
25722
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25725
echo "$as_me: failed program was:" >&5
25726
sed 's/^/| /' conftest.$ac_ext >&5
25728
cat >conftest.$ac_ext <<_ACEOF
25731
cat confdefs.h >>conftest.$ac_ext
25732
cat >>conftest.$ac_ext <<_ACEOF
25733
/* end confdefs.h. */
25734
$ac_includes_default
25735
typedef int ac__type_sizeof_;
25739
static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
25746
rm -f conftest.$ac_objext
25747
if { (ac_try="$ac_compile"
25748
case "(($ac_try" in
25749
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25750
*) ac_try_echo=$ac_try;;
25752
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25753
(eval "$ac_compile") 2>conftest.er1
25755
grep -v '^ *+' conftest.er1 >conftest.err
25757
cat conftest.err >&5
25758
echo "$as_me:$LINENO: \$? = $ac_status" >&5
25759
(exit $ac_status); } && {
25760
test -z "$ac_c_werror_flag" ||
25761
test ! -s conftest.err
25762
} && test -s conftest.$ac_objext; then
25765
cat >conftest.$ac_ext <<_ACEOF
25768
cat confdefs.h >>conftest.$ac_ext
25769
cat >>conftest.$ac_ext <<_ACEOF
25770
/* end confdefs.h. */
25771
$ac_includes_default
25772
typedef int ac__type_sizeof_;
25776
static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
25783
rm -f conftest.$ac_objext
25784
if { (ac_try="$ac_compile"
25785
case "(($ac_try" in
25786
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25787
*) ac_try_echo=$ac_try;;
25789
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25790
(eval "$ac_compile") 2>conftest.er1
25792
grep -v '^ *+' conftest.er1 >conftest.err
25794
cat conftest.err >&5
25795
echo "$as_me:$LINENO: \$? = $ac_status" >&5
25796
(exit $ac_status); } && {
25797
test -z "$ac_c_werror_flag" ||
25798
test ! -s conftest.err
25799
} && test -s conftest.$ac_objext; then
25800
ac_lo=$ac_mid; break
25802
echo "$as_me: failed program was:" >&5
25803
sed 's/^/| /' conftest.$ac_ext >&5
25805
ac_hi=`expr '(' $ac_mid ')' - 1`
25806
if test $ac_mid -le $ac_hi; then
25810
ac_mid=`expr 2 '*' $ac_mid`
25813
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25816
echo "$as_me: failed program was:" >&5
25817
sed 's/^/| /' conftest.$ac_ext >&5
25822
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25825
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25826
# Binary search between lo and hi bounds.
25827
while test "x$ac_lo" != "x$ac_hi"; do
25828
ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
25829
cat >conftest.$ac_ext <<_ACEOF
25832
cat confdefs.h >>conftest.$ac_ext
25833
cat >>conftest.$ac_ext <<_ACEOF
25834
/* end confdefs.h. */
25835
$ac_includes_default
25836
typedef int ac__type_sizeof_;
25840
static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
25847
rm -f conftest.$ac_objext
25848
if { (ac_try="$ac_compile"
25849
case "(($ac_try" in
25850
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25851
*) ac_try_echo=$ac_try;;
25853
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25854
(eval "$ac_compile") 2>conftest.er1
25856
grep -v '^ *+' conftest.er1 >conftest.err
25858
cat conftest.err >&5
25859
echo "$as_me:$LINENO: \$? = $ac_status" >&5
25860
(exit $ac_status); } && {
25861
test -z "$ac_c_werror_flag" ||
25862
test ! -s conftest.err
25863
} && test -s conftest.$ac_objext; then
25866
echo "$as_me: failed program was:" >&5
25867
sed 's/^/| /' conftest.$ac_ext >&5
25869
ac_lo=`expr '(' $ac_mid ')' + 1`
25872
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25875
?*) ac_cv_sizeof_int=$ac_lo;;
25876
'') if test "$ac_cv_type_int" = yes; then
25877
{ { echo "$as_me:$LINENO: error: cannot compute sizeof (int)
25878
See \`config.log' for more details." >&5
25879
echo "$as_me: error: cannot compute sizeof (int)
25880
See \`config.log' for more details." >&2;}
25881
{ (exit 77); exit 77; }; }
25887
cat >conftest.$ac_ext <<_ACEOF
25890
cat confdefs.h >>conftest.$ac_ext
25891
cat >>conftest.$ac_ext <<_ACEOF
25892
/* end confdefs.h. */
25893
$ac_includes_default
25894
typedef int ac__type_sizeof_;
25895
static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
25896
static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
25898
#include <stdlib.h>
25903
FILE *f = fopen ("conftest.val", "w");
25906
if (((long int) (sizeof (ac__type_sizeof_))) < 0)
25908
long int i = longval ();
25909
if (i != ((long int) (sizeof (ac__type_sizeof_))))
25911
fprintf (f, "%ld\n", i);
25915
unsigned long int i = ulongval ();
25916
if (i != ((long int) (sizeof (ac__type_sizeof_))))
25918
fprintf (f, "%lu\n", i);
25920
return ferror (f) || fclose (f) != 0;
25926
rm -f conftest$ac_exeext
25927
if { (ac_try="$ac_link"
25928
case "(($ac_try" in
25929
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25930
*) ac_try_echo=$ac_try;;
25932
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25933
(eval "$ac_link") 2>&5
25935
echo "$as_me:$LINENO: \$? = $ac_status" >&5
25936
(exit $ac_status); } && { ac_try='./conftest$ac_exeext'
25937
{ (case "(($ac_try" in
25938
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25939
*) ac_try_echo=$ac_try;;
25941
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25942
(eval "$ac_try") 2>&5
25944
echo "$as_me:$LINENO: \$? = $ac_status" >&5
25945
(exit $ac_status); }; }; then
25946
ac_cv_sizeof_int=`cat conftest.val`
25948
echo "$as_me: program exited with status $ac_status" >&5
25949
echo "$as_me: failed program was:" >&5
25950
sed 's/^/| /' conftest.$ac_ext >&5
25952
( exit $ac_status )
25953
if test "$ac_cv_type_int" = yes; then
25954
{ { echo "$as_me:$LINENO: error: cannot compute sizeof (int)
25955
See \`config.log' for more details." >&5
25956
echo "$as_me: error: cannot compute sizeof (int)
25957
See \`config.log' for more details." >&2;}
25958
{ (exit 77); exit 77; }; }
25963
rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
25967
{ echo "$as_me:$LINENO: result: $ac_cv_sizeof_int" >&5
25968
echo "${ECHO_T}$ac_cv_sizeof_int" >&6; }
25972
cat >>confdefs.h <<_ACEOF
25973
#define SIZEOF_INT $ac_cv_sizeof_int
25976
{ echo "$as_me:$LINENO: checking for short" >&5
25977
echo $ECHO_N "checking for short... $ECHO_C" >&6; }
25978
if test "${ac_cv_type_short+set}" = set; then
25979
echo $ECHO_N "(cached) $ECHO_C" >&6
25981
cat >conftest.$ac_ext <<_ACEOF
25984
cat confdefs.h >>conftest.$ac_ext
25985
cat >>conftest.$ac_ext <<_ACEOF
25986
/* end confdefs.h. */
25987
$ac_includes_default
25988
typedef short ac__type_new_;
25992
if ((ac__type_new_ *) 0)
25994
if (sizeof (ac__type_new_))
26000
rm -f conftest.$ac_objext
26001
if { (ac_try="$ac_compile"
26002
case "(($ac_try" in
26003
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26004
*) ac_try_echo=$ac_try;;
26006
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26007
(eval "$ac_compile") 2>conftest.er1
26009
grep -v '^ *+' conftest.er1 >conftest.err
26011
cat conftest.err >&5
26012
echo "$as_me:$LINENO: \$? = $ac_status" >&5
26013
(exit $ac_status); } && {
26014
test -z "$ac_c_werror_flag" ||
26015
test ! -s conftest.err
26016
} && test -s conftest.$ac_objext; then
26017
ac_cv_type_short=yes
26019
echo "$as_me: failed program was:" >&5
26020
sed 's/^/| /' conftest.$ac_ext >&5
26022
ac_cv_type_short=no
26025
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26027
{ echo "$as_me:$LINENO: result: $ac_cv_type_short" >&5
26028
echo "${ECHO_T}$ac_cv_type_short" >&6; }
26030
# The cast to long int works around a bug in the HP C Compiler
26031
# version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
26032
# declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
26033
# This bug is HP SR number 8606223364.
26034
{ echo "$as_me:$LINENO: checking size of short" >&5
26035
echo $ECHO_N "checking size of short... $ECHO_C" >&6; }
26036
if test "${ac_cv_sizeof_short+set}" = set; then
26037
echo $ECHO_N "(cached) $ECHO_C" >&6
26039
if test "$cross_compiling" = yes; then
26040
# Depending upon the size, compute the lo and hi bounds.
26041
cat >conftest.$ac_ext <<_ACEOF
26044
cat confdefs.h >>conftest.$ac_ext
26045
cat >>conftest.$ac_ext <<_ACEOF
26046
/* end confdefs.h. */
26047
$ac_includes_default
26048
typedef short ac__type_sizeof_;
26052
static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
26059
rm -f conftest.$ac_objext
26060
if { (ac_try="$ac_compile"
26061
case "(($ac_try" in
26062
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26063
*) ac_try_echo=$ac_try;;
26065
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26066
(eval "$ac_compile") 2>conftest.er1
26068
grep -v '^ *+' conftest.er1 >conftest.err
26070
cat conftest.err >&5
26071
echo "$as_me:$LINENO: \$? = $ac_status" >&5
26072
(exit $ac_status); } && {
26073
test -z "$ac_c_werror_flag" ||
26074
test ! -s conftest.err
26075
} && test -s conftest.$ac_objext; then
26078
cat >conftest.$ac_ext <<_ACEOF
26081
cat confdefs.h >>conftest.$ac_ext
26082
cat >>conftest.$ac_ext <<_ACEOF
26083
/* end confdefs.h. */
26084
$ac_includes_default
26085
typedef short ac__type_sizeof_;
26089
static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
26096
rm -f conftest.$ac_objext
26097
if { (ac_try="$ac_compile"
26098
case "(($ac_try" in
26099
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26100
*) ac_try_echo=$ac_try;;
26102
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26103
(eval "$ac_compile") 2>conftest.er1
26105
grep -v '^ *+' conftest.er1 >conftest.err
26107
cat conftest.err >&5
26108
echo "$as_me:$LINENO: \$? = $ac_status" >&5
26109
(exit $ac_status); } && {
26110
test -z "$ac_c_werror_flag" ||
26111
test ! -s conftest.err
26112
} && test -s conftest.$ac_objext; then
26113
ac_hi=$ac_mid; break
26115
echo "$as_me: failed program was:" >&5
26116
sed 's/^/| /' conftest.$ac_ext >&5
26118
ac_lo=`expr $ac_mid + 1`
26119
if test $ac_lo -le $ac_mid; then
26123
ac_mid=`expr 2 '*' $ac_mid + 1`
26126
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26129
echo "$as_me: failed program was:" >&5
26130
sed 's/^/| /' conftest.$ac_ext >&5
26132
cat >conftest.$ac_ext <<_ACEOF
26135
cat confdefs.h >>conftest.$ac_ext
26136
cat >>conftest.$ac_ext <<_ACEOF
26137
/* end confdefs.h. */
26138
$ac_includes_default
26139
typedef short ac__type_sizeof_;
26143
static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
26150
rm -f conftest.$ac_objext
26151
if { (ac_try="$ac_compile"
26152
case "(($ac_try" in
26153
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26154
*) ac_try_echo=$ac_try;;
26156
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26157
(eval "$ac_compile") 2>conftest.er1
26159
grep -v '^ *+' conftest.er1 >conftest.err
26161
cat conftest.err >&5
26162
echo "$as_me:$LINENO: \$? = $ac_status" >&5
26163
(exit $ac_status); } && {
26164
test -z "$ac_c_werror_flag" ||
26165
test ! -s conftest.err
26166
} && test -s conftest.$ac_objext; then
26169
cat >conftest.$ac_ext <<_ACEOF
26172
cat confdefs.h >>conftest.$ac_ext
26173
cat >>conftest.$ac_ext <<_ACEOF
26174
/* end confdefs.h. */
26175
$ac_includes_default
26176
typedef short ac__type_sizeof_;
26180
static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
26187
rm -f conftest.$ac_objext
26188
if { (ac_try="$ac_compile"
26189
case "(($ac_try" in
26190
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26191
*) ac_try_echo=$ac_try;;
26193
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26194
(eval "$ac_compile") 2>conftest.er1
26196
grep -v '^ *+' conftest.er1 >conftest.err
26198
cat conftest.err >&5
26199
echo "$as_me:$LINENO: \$? = $ac_status" >&5
26200
(exit $ac_status); } && {
26201
test -z "$ac_c_werror_flag" ||
26202
test ! -s conftest.err
26203
} && test -s conftest.$ac_objext; then
26204
ac_lo=$ac_mid; break
26206
echo "$as_me: failed program was:" >&5
26207
sed 's/^/| /' conftest.$ac_ext >&5
26209
ac_hi=`expr '(' $ac_mid ')' - 1`
26210
if test $ac_mid -le $ac_hi; then
26214
ac_mid=`expr 2 '*' $ac_mid`
26217
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26220
echo "$as_me: failed program was:" >&5
26221
sed 's/^/| /' conftest.$ac_ext >&5
26226
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26229
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26230
# Binary search between lo and hi bounds.
26231
while test "x$ac_lo" != "x$ac_hi"; do
26232
ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
26233
cat >conftest.$ac_ext <<_ACEOF
26236
cat confdefs.h >>conftest.$ac_ext
26237
cat >>conftest.$ac_ext <<_ACEOF
26238
/* end confdefs.h. */
26239
$ac_includes_default
26240
typedef short ac__type_sizeof_;
26244
static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
26251
rm -f conftest.$ac_objext
26252
if { (ac_try="$ac_compile"
26253
case "(($ac_try" in
26254
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26255
*) ac_try_echo=$ac_try;;
26257
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26258
(eval "$ac_compile") 2>conftest.er1
26260
grep -v '^ *+' conftest.er1 >conftest.err
26262
cat conftest.err >&5
26263
echo "$as_me:$LINENO: \$? = $ac_status" >&5
26264
(exit $ac_status); } && {
26265
test -z "$ac_c_werror_flag" ||
26266
test ! -s conftest.err
26267
} && test -s conftest.$ac_objext; then
26270
echo "$as_me: failed program was:" >&5
26271
sed 's/^/| /' conftest.$ac_ext >&5
26273
ac_lo=`expr '(' $ac_mid ')' + 1`
26276
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26279
?*) ac_cv_sizeof_short=$ac_lo;;
26280
'') if test "$ac_cv_type_short" = yes; then
26281
{ { echo "$as_me:$LINENO: error: cannot compute sizeof (short)
26282
See \`config.log' for more details." >&5
26283
echo "$as_me: error: cannot compute sizeof (short)
26284
See \`config.log' for more details." >&2;}
26285
{ (exit 77); exit 77; }; }
26287
ac_cv_sizeof_short=0
26291
cat >conftest.$ac_ext <<_ACEOF
26294
cat confdefs.h >>conftest.$ac_ext
26295
cat >>conftest.$ac_ext <<_ACEOF
26296
/* end confdefs.h. */
26297
$ac_includes_default
26298
typedef short ac__type_sizeof_;
26299
static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
26300
static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
26302
#include <stdlib.h>
26307
FILE *f = fopen ("conftest.val", "w");
26310
if (((long int) (sizeof (ac__type_sizeof_))) < 0)
26312
long int i = longval ();
26313
if (i != ((long int) (sizeof (ac__type_sizeof_))))
26315
fprintf (f, "%ld\n", i);
26319
unsigned long int i = ulongval ();
26320
if (i != ((long int) (sizeof (ac__type_sizeof_))))
26322
fprintf (f, "%lu\n", i);
26324
return ferror (f) || fclose (f) != 0;
26330
rm -f conftest$ac_exeext
26331
if { (ac_try="$ac_link"
26332
case "(($ac_try" in
26333
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26334
*) ac_try_echo=$ac_try;;
26336
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26337
(eval "$ac_link") 2>&5
26339
echo "$as_me:$LINENO: \$? = $ac_status" >&5
26340
(exit $ac_status); } && { ac_try='./conftest$ac_exeext'
26341
{ (case "(($ac_try" in
26342
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26343
*) ac_try_echo=$ac_try;;
26345
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26346
(eval "$ac_try") 2>&5
26348
echo "$as_me:$LINENO: \$? = $ac_status" >&5
26349
(exit $ac_status); }; }; then
26350
ac_cv_sizeof_short=`cat conftest.val`
26352
echo "$as_me: program exited with status $ac_status" >&5
26353
echo "$as_me: failed program was:" >&5
26354
sed 's/^/| /' conftest.$ac_ext >&5
26356
( exit $ac_status )
26357
if test "$ac_cv_type_short" = yes; then
26358
{ { echo "$as_me:$LINENO: error: cannot compute sizeof (short)
26359
See \`config.log' for more details." >&5
26360
echo "$as_me: error: cannot compute sizeof (short)
26361
See \`config.log' for more details." >&2;}
26362
{ (exit 77); exit 77; }; }
26364
ac_cv_sizeof_short=0
26367
rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
26371
{ echo "$as_me:$LINENO: result: $ac_cv_sizeof_short" >&5
26372
echo "${ECHO_T}$ac_cv_sizeof_short" >&6; }
26376
cat >>confdefs.h <<_ACEOF
26377
#define SIZEOF_SHORT $ac_cv_sizeof_short
26380
{ echo "$as_me:$LINENO: checking for long" >&5
26381
echo $ECHO_N "checking for long... $ECHO_C" >&6; }
26382
if test "${ac_cv_type_long+set}" = set; then
26383
echo $ECHO_N "(cached) $ECHO_C" >&6
26385
cat >conftest.$ac_ext <<_ACEOF
26388
cat confdefs.h >>conftest.$ac_ext
26389
cat >>conftest.$ac_ext <<_ACEOF
26390
/* end confdefs.h. */
26391
$ac_includes_default
26392
typedef long ac__type_new_;
26396
if ((ac__type_new_ *) 0)
26398
if (sizeof (ac__type_new_))
26404
rm -f conftest.$ac_objext
26405
if { (ac_try="$ac_compile"
26406
case "(($ac_try" in
26407
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26408
*) ac_try_echo=$ac_try;;
26410
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26411
(eval "$ac_compile") 2>conftest.er1
26413
grep -v '^ *+' conftest.er1 >conftest.err
26415
cat conftest.err >&5
26416
echo "$as_me:$LINENO: \$? = $ac_status" >&5
26417
(exit $ac_status); } && {
26418
test -z "$ac_c_werror_flag" ||
26419
test ! -s conftest.err
26420
} && test -s conftest.$ac_objext; then
26421
ac_cv_type_long=yes
26423
echo "$as_me: failed program was:" >&5
26424
sed 's/^/| /' conftest.$ac_ext >&5
26429
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26431
{ echo "$as_me:$LINENO: result: $ac_cv_type_long" >&5
26432
echo "${ECHO_T}$ac_cv_type_long" >&6; }
26434
# The cast to long int works around a bug in the HP C Compiler
26435
# version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
26436
# declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
26437
# This bug is HP SR number 8606223364.
26438
{ echo "$as_me:$LINENO: checking size of long" >&5
26439
echo $ECHO_N "checking size of long... $ECHO_C" >&6; }
26440
if test "${ac_cv_sizeof_long+set}" = set; then
26441
echo $ECHO_N "(cached) $ECHO_C" >&6
26443
if test "$cross_compiling" = yes; then
26444
# Depending upon the size, compute the lo and hi bounds.
26445
cat >conftest.$ac_ext <<_ACEOF
26448
cat confdefs.h >>conftest.$ac_ext
26449
cat >>conftest.$ac_ext <<_ACEOF
26450
/* end confdefs.h. */
26451
$ac_includes_default
26452
typedef long ac__type_sizeof_;
26456
static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
26463
rm -f conftest.$ac_objext
26464
if { (ac_try="$ac_compile"
26465
case "(($ac_try" in
26466
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26467
*) ac_try_echo=$ac_try;;
26469
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26470
(eval "$ac_compile") 2>conftest.er1
26472
grep -v '^ *+' conftest.er1 >conftest.err
26474
cat conftest.err >&5
26475
echo "$as_me:$LINENO: \$? = $ac_status" >&5
26476
(exit $ac_status); } && {
26477
test -z "$ac_c_werror_flag" ||
26478
test ! -s conftest.err
26479
} && test -s conftest.$ac_objext; then
26482
cat >conftest.$ac_ext <<_ACEOF
26485
cat confdefs.h >>conftest.$ac_ext
26486
cat >>conftest.$ac_ext <<_ACEOF
26487
/* end confdefs.h. */
26488
$ac_includes_default
26489
typedef long ac__type_sizeof_;
26493
static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
26500
rm -f conftest.$ac_objext
26501
if { (ac_try="$ac_compile"
26502
case "(($ac_try" in
26503
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26504
*) ac_try_echo=$ac_try;;
26506
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26507
(eval "$ac_compile") 2>conftest.er1
26509
grep -v '^ *+' conftest.er1 >conftest.err
26511
cat conftest.err >&5
26512
echo "$as_me:$LINENO: \$? = $ac_status" >&5
26513
(exit $ac_status); } && {
26514
test -z "$ac_c_werror_flag" ||
26515
test ! -s conftest.err
26516
} && test -s conftest.$ac_objext; then
26517
ac_hi=$ac_mid; break
26519
echo "$as_me: failed program was:" >&5
26520
sed 's/^/| /' conftest.$ac_ext >&5
26522
ac_lo=`expr $ac_mid + 1`
26523
if test $ac_lo -le $ac_mid; then
26527
ac_mid=`expr 2 '*' $ac_mid + 1`
26530
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26533
echo "$as_me: failed program was:" >&5
26534
sed 's/^/| /' conftest.$ac_ext >&5
26536
cat >conftest.$ac_ext <<_ACEOF
26539
cat confdefs.h >>conftest.$ac_ext
26540
cat >>conftest.$ac_ext <<_ACEOF
26541
/* end confdefs.h. */
26542
$ac_includes_default
26543
typedef long ac__type_sizeof_;
26547
static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
26554
rm -f conftest.$ac_objext
26555
if { (ac_try="$ac_compile"
26556
case "(($ac_try" in
26557
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26558
*) ac_try_echo=$ac_try;;
26560
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26561
(eval "$ac_compile") 2>conftest.er1
26563
grep -v '^ *+' conftest.er1 >conftest.err
26565
cat conftest.err >&5
26566
echo "$as_me:$LINENO: \$? = $ac_status" >&5
26567
(exit $ac_status); } && {
26568
test -z "$ac_c_werror_flag" ||
26569
test ! -s conftest.err
26570
} && test -s conftest.$ac_objext; then
26573
cat >conftest.$ac_ext <<_ACEOF
26576
cat confdefs.h >>conftest.$ac_ext
26577
cat >>conftest.$ac_ext <<_ACEOF
26578
/* end confdefs.h. */
26579
$ac_includes_default
26580
typedef long ac__type_sizeof_;
26584
static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
26591
rm -f conftest.$ac_objext
26592
if { (ac_try="$ac_compile"
26593
case "(($ac_try" in
26594
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26595
*) ac_try_echo=$ac_try;;
26597
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26598
(eval "$ac_compile") 2>conftest.er1
26600
grep -v '^ *+' conftest.er1 >conftest.err
26602
cat conftest.err >&5
26603
echo "$as_me:$LINENO: \$? = $ac_status" >&5
26604
(exit $ac_status); } && {
26605
test -z "$ac_c_werror_flag" ||
26606
test ! -s conftest.err
26607
} && test -s conftest.$ac_objext; then
26608
ac_lo=$ac_mid; break
26610
echo "$as_me: failed program was:" >&5
26611
sed 's/^/| /' conftest.$ac_ext >&5
26613
ac_hi=`expr '(' $ac_mid ')' - 1`
26614
if test $ac_mid -le $ac_hi; then
26618
ac_mid=`expr 2 '*' $ac_mid`
26621
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26624
echo "$as_me: failed program was:" >&5
26625
sed 's/^/| /' conftest.$ac_ext >&5
26630
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26633
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26634
# Binary search between lo and hi bounds.
26635
while test "x$ac_lo" != "x$ac_hi"; do
26636
ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
26637
cat >conftest.$ac_ext <<_ACEOF
26640
cat confdefs.h >>conftest.$ac_ext
26641
cat >>conftest.$ac_ext <<_ACEOF
26642
/* end confdefs.h. */
26643
$ac_includes_default
26644
typedef long ac__type_sizeof_;
26648
static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
26655
rm -f conftest.$ac_objext
26656
if { (ac_try="$ac_compile"
26657
case "(($ac_try" in
26658
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26659
*) ac_try_echo=$ac_try;;
26661
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26662
(eval "$ac_compile") 2>conftest.er1
26664
grep -v '^ *+' conftest.er1 >conftest.err
26666
cat conftest.err >&5
26667
echo "$as_me:$LINENO: \$? = $ac_status" >&5
26668
(exit $ac_status); } && {
26669
test -z "$ac_c_werror_flag" ||
26670
test ! -s conftest.err
26671
} && test -s conftest.$ac_objext; then
26674
echo "$as_me: failed program was:" >&5
26675
sed 's/^/| /' conftest.$ac_ext >&5
26677
ac_lo=`expr '(' $ac_mid ')' + 1`
26680
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26683
?*) ac_cv_sizeof_long=$ac_lo;;
26684
'') if test "$ac_cv_type_long" = yes; then
26685
{ { echo "$as_me:$LINENO: error: cannot compute sizeof (long)
26686
See \`config.log' for more details." >&5
26687
echo "$as_me: error: cannot compute sizeof (long)
26688
See \`config.log' for more details." >&2;}
26689
{ (exit 77); exit 77; }; }
26691
ac_cv_sizeof_long=0
26695
cat >conftest.$ac_ext <<_ACEOF
26698
cat confdefs.h >>conftest.$ac_ext
26699
cat >>conftest.$ac_ext <<_ACEOF
26700
/* end confdefs.h. */
26701
$ac_includes_default
26702
typedef long ac__type_sizeof_;
26703
static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
26704
static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
26706
#include <stdlib.h>
26711
FILE *f = fopen ("conftest.val", "w");
26714
if (((long int) (sizeof (ac__type_sizeof_))) < 0)
26716
long int i = longval ();
26717
if (i != ((long int) (sizeof (ac__type_sizeof_))))
26719
fprintf (f, "%ld\n", i);
26723
unsigned long int i = ulongval ();
26724
if (i != ((long int) (sizeof (ac__type_sizeof_))))
26726
fprintf (f, "%lu\n", i);
26728
return ferror (f) || fclose (f) != 0;
26734
rm -f conftest$ac_exeext
26735
if { (ac_try="$ac_link"
26736
case "(($ac_try" in
26737
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26738
*) ac_try_echo=$ac_try;;
26740
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26741
(eval "$ac_link") 2>&5
26743
echo "$as_me:$LINENO: \$? = $ac_status" >&5
26744
(exit $ac_status); } && { ac_try='./conftest$ac_exeext'
26745
{ (case "(($ac_try" in
26746
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26747
*) ac_try_echo=$ac_try;;
26749
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26750
(eval "$ac_try") 2>&5
26752
echo "$as_me:$LINENO: \$? = $ac_status" >&5
26753
(exit $ac_status); }; }; then
26754
ac_cv_sizeof_long=`cat conftest.val`
26756
echo "$as_me: program exited with status $ac_status" >&5
26757
echo "$as_me: failed program was:" >&5
26758
sed 's/^/| /' conftest.$ac_ext >&5
26760
( exit $ac_status )
26761
if test "$ac_cv_type_long" = yes; then
26762
{ { echo "$as_me:$LINENO: error: cannot compute sizeof (long)
26763
See \`config.log' for more details." >&5
26764
echo "$as_me: error: cannot compute sizeof (long)
26765
See \`config.log' for more details." >&2;}
26766
{ (exit 77); exit 77; }; }
26768
ac_cv_sizeof_long=0
26771
rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
26775
{ echo "$as_me:$LINENO: result: $ac_cv_sizeof_long" >&5
26776
echo "${ECHO_T}$ac_cv_sizeof_long" >&6; }
26780
cat >>confdefs.h <<_ACEOF
26781
#define SIZEOF_LONG $ac_cv_sizeof_long
26784
{ echo "$as_me:$LINENO: checking for char *" >&5
26785
echo $ECHO_N "checking for char *... $ECHO_C" >&6; }
26786
if test "${ac_cv_type_char_p+set}" = set; then
26787
echo $ECHO_N "(cached) $ECHO_C" >&6
26789
cat >conftest.$ac_ext <<_ACEOF
26792
cat confdefs.h >>conftest.$ac_ext
26793
cat >>conftest.$ac_ext <<_ACEOF
26794
/* end confdefs.h. */
26795
$ac_includes_default
26796
typedef char * ac__type_new_;
26800
if ((ac__type_new_ *) 0)
26802
if (sizeof (ac__type_new_))
26808
rm -f conftest.$ac_objext
26809
if { (ac_try="$ac_compile"
26810
case "(($ac_try" in
26811
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26812
*) ac_try_echo=$ac_try;;
26814
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26815
(eval "$ac_compile") 2>conftest.er1
26817
grep -v '^ *+' conftest.er1 >conftest.err
26819
cat conftest.err >&5
26820
echo "$as_me:$LINENO: \$? = $ac_status" >&5
26821
(exit $ac_status); } && {
26822
test -z "$ac_c_werror_flag" ||
26823
test ! -s conftest.err
26824
} && test -s conftest.$ac_objext; then
26825
ac_cv_type_char_p=yes
26827
echo "$as_me: failed program was:" >&5
26828
sed 's/^/| /' conftest.$ac_ext >&5
26830
ac_cv_type_char_p=no
26833
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26835
{ echo "$as_me:$LINENO: result: $ac_cv_type_char_p" >&5
26836
echo "${ECHO_T}$ac_cv_type_char_p" >&6; }
26838
# The cast to long int works around a bug in the HP C Compiler
26839
# version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
26840
# declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
26841
# This bug is HP SR number 8606223364.
26842
{ echo "$as_me:$LINENO: checking size of char *" >&5
26843
echo $ECHO_N "checking size of char *... $ECHO_C" >&6; }
26844
if test "${ac_cv_sizeof_char_p+set}" = set; then
26845
echo $ECHO_N "(cached) $ECHO_C" >&6
26847
if test "$cross_compiling" = yes; then
26848
# Depending upon the size, compute the lo and hi bounds.
26849
cat >conftest.$ac_ext <<_ACEOF
26852
cat confdefs.h >>conftest.$ac_ext
26853
cat >>conftest.$ac_ext <<_ACEOF
26854
/* end confdefs.h. */
26855
$ac_includes_default
26856
typedef char * ac__type_sizeof_;
26860
static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
26867
rm -f conftest.$ac_objext
26868
if { (ac_try="$ac_compile"
26869
case "(($ac_try" in
26870
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26871
*) ac_try_echo=$ac_try;;
26873
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26874
(eval "$ac_compile") 2>conftest.er1
26876
grep -v '^ *+' conftest.er1 >conftest.err
26878
cat conftest.err >&5
26879
echo "$as_me:$LINENO: \$? = $ac_status" >&5
26880
(exit $ac_status); } && {
26881
test -z "$ac_c_werror_flag" ||
26882
test ! -s conftest.err
26883
} && test -s conftest.$ac_objext; then
26886
cat >conftest.$ac_ext <<_ACEOF
26889
cat confdefs.h >>conftest.$ac_ext
26890
cat >>conftest.$ac_ext <<_ACEOF
26891
/* end confdefs.h. */
26892
$ac_includes_default
26893
typedef char * ac__type_sizeof_;
26897
static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
26904
rm -f conftest.$ac_objext
26905
if { (ac_try="$ac_compile"
26906
case "(($ac_try" in
26907
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26908
*) ac_try_echo=$ac_try;;
26910
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26911
(eval "$ac_compile") 2>conftest.er1
26913
grep -v '^ *+' conftest.er1 >conftest.err
26915
cat conftest.err >&5
26916
echo "$as_me:$LINENO: \$? = $ac_status" >&5
26917
(exit $ac_status); } && {
26918
test -z "$ac_c_werror_flag" ||
26919
test ! -s conftest.err
26920
} && test -s conftest.$ac_objext; then
26921
ac_hi=$ac_mid; break
26923
echo "$as_me: failed program was:" >&5
26924
sed 's/^/| /' conftest.$ac_ext >&5
26926
ac_lo=`expr $ac_mid + 1`
26927
if test $ac_lo -le $ac_mid; then
26931
ac_mid=`expr 2 '*' $ac_mid + 1`
26934
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26937
echo "$as_me: failed program was:" >&5
26938
sed 's/^/| /' conftest.$ac_ext >&5
26940
cat >conftest.$ac_ext <<_ACEOF
26943
cat confdefs.h >>conftest.$ac_ext
26944
cat >>conftest.$ac_ext <<_ACEOF
26945
/* end confdefs.h. */
26946
$ac_includes_default
26947
typedef char * ac__type_sizeof_;
26951
static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
26958
rm -f conftest.$ac_objext
26959
if { (ac_try="$ac_compile"
26960
case "(($ac_try" in
26961
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26962
*) ac_try_echo=$ac_try;;
26964
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26965
(eval "$ac_compile") 2>conftest.er1
26967
grep -v '^ *+' conftest.er1 >conftest.err
26969
cat conftest.err >&5
26970
echo "$as_me:$LINENO: \$? = $ac_status" >&5
26971
(exit $ac_status); } && {
26972
test -z "$ac_c_werror_flag" ||
26973
test ! -s conftest.err
26974
} && test -s conftest.$ac_objext; then
26977
cat >conftest.$ac_ext <<_ACEOF
26980
cat confdefs.h >>conftest.$ac_ext
26981
cat >>conftest.$ac_ext <<_ACEOF
26982
/* end confdefs.h. */
26983
$ac_includes_default
26984
typedef char * ac__type_sizeof_;
26988
static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
26995
rm -f conftest.$ac_objext
26996
if { (ac_try="$ac_compile"
26997
case "(($ac_try" in
26998
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26999
*) ac_try_echo=$ac_try;;
27001
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27002
(eval "$ac_compile") 2>conftest.er1
27004
grep -v '^ *+' conftest.er1 >conftest.err
27006
cat conftest.err >&5
27007
echo "$as_me:$LINENO: \$? = $ac_status" >&5
27008
(exit $ac_status); } && {
27009
test -z "$ac_c_werror_flag" ||
27010
test ! -s conftest.err
27011
} && test -s conftest.$ac_objext; then
27012
ac_lo=$ac_mid; break
27014
echo "$as_me: failed program was:" >&5
27015
sed 's/^/| /' conftest.$ac_ext >&5
27017
ac_hi=`expr '(' $ac_mid ')' - 1`
27018
if test $ac_mid -le $ac_hi; then
27022
ac_mid=`expr 2 '*' $ac_mid`
27025
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27028
echo "$as_me: failed program was:" >&5
27029
sed 's/^/| /' conftest.$ac_ext >&5
27034
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27037
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27038
# Binary search between lo and hi bounds.
27039
while test "x$ac_lo" != "x$ac_hi"; do
27040
ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
27041
cat >conftest.$ac_ext <<_ACEOF
27044
cat confdefs.h >>conftest.$ac_ext
27045
cat >>conftest.$ac_ext <<_ACEOF
27046
/* end confdefs.h. */
27047
$ac_includes_default
27048
typedef char * ac__type_sizeof_;
27052
static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
27059
rm -f conftest.$ac_objext
27060
if { (ac_try="$ac_compile"
27061
case "(($ac_try" in
27062
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27063
*) ac_try_echo=$ac_try;;
27065
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27066
(eval "$ac_compile") 2>conftest.er1
27068
grep -v '^ *+' conftest.er1 >conftest.err
27070
cat conftest.err >&5
27071
echo "$as_me:$LINENO: \$? = $ac_status" >&5
27072
(exit $ac_status); } && {
27073
test -z "$ac_c_werror_flag" ||
27074
test ! -s conftest.err
27075
} && test -s conftest.$ac_objext; then
27078
echo "$as_me: failed program was:" >&5
27079
sed 's/^/| /' conftest.$ac_ext >&5
27081
ac_lo=`expr '(' $ac_mid ')' + 1`
27084
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27087
?*) ac_cv_sizeof_char_p=$ac_lo;;
27088
'') if test "$ac_cv_type_char_p" = yes; then
27089
{ { echo "$as_me:$LINENO: error: cannot compute sizeof (char *)
27090
See \`config.log' for more details." >&5
27091
echo "$as_me: error: cannot compute sizeof (char *)
27092
See \`config.log' for more details." >&2;}
27093
{ (exit 77); exit 77; }; }
27095
ac_cv_sizeof_char_p=0
27099
cat >conftest.$ac_ext <<_ACEOF
27102
cat confdefs.h >>conftest.$ac_ext
27103
cat >>conftest.$ac_ext <<_ACEOF
27104
/* end confdefs.h. */
27105
$ac_includes_default
27106
typedef char * ac__type_sizeof_;
27107
static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
27108
static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
27110
#include <stdlib.h>
27115
FILE *f = fopen ("conftest.val", "w");
27118
if (((long int) (sizeof (ac__type_sizeof_))) < 0)
27120
long int i = longval ();
27121
if (i != ((long int) (sizeof (ac__type_sizeof_))))
27123
fprintf (f, "%ld\n", i);
27127
unsigned long int i = ulongval ();
27128
if (i != ((long int) (sizeof (ac__type_sizeof_))))
27130
fprintf (f, "%lu\n", i);
27132
return ferror (f) || fclose (f) != 0;
27138
rm -f conftest$ac_exeext
27139
if { (ac_try="$ac_link"
27140
case "(($ac_try" in
27141
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27142
*) ac_try_echo=$ac_try;;
27144
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27145
(eval "$ac_link") 2>&5
27147
echo "$as_me:$LINENO: \$? = $ac_status" >&5
27148
(exit $ac_status); } && { ac_try='./conftest$ac_exeext'
27149
{ (case "(($ac_try" in
27150
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27151
*) ac_try_echo=$ac_try;;
27153
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27154
(eval "$ac_try") 2>&5
27156
echo "$as_me:$LINENO: \$? = $ac_status" >&5
27157
(exit $ac_status); }; }; then
27158
ac_cv_sizeof_char_p=`cat conftest.val`
27160
echo "$as_me: program exited with status $ac_status" >&5
27161
echo "$as_me: failed program was:" >&5
27162
sed 's/^/| /' conftest.$ac_ext >&5
27164
( exit $ac_status )
27165
if test "$ac_cv_type_char_p" = yes; then
27166
{ { echo "$as_me:$LINENO: error: cannot compute sizeof (char *)
27167
See \`config.log' for more details." >&5
27168
echo "$as_me: error: cannot compute sizeof (char *)
27169
See \`config.log' for more details." >&2;}
27170
{ (exit 77); exit 77; }; }
27172
ac_cv_sizeof_char_p=0
27175
rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
27179
{ echo "$as_me:$LINENO: result: $ac_cv_sizeof_char_p" >&5
27180
echo "${ECHO_T}$ac_cv_sizeof_char_p" >&6; }
27184
cat >>confdefs.h <<_ACEOF
27185
#define SIZEOF_CHAR_P $ac_cv_sizeof_char_p
27190
{ echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
27191
echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6; }
27192
if test "${ac_cv_lib_dl_dlopen+set}" = set; then
27193
echo $ECHO_N "(cached) $ECHO_C" >&6
27195
ac_check_lib_save_LIBS=$LIBS
27197
cat >conftest.$ac_ext <<_ACEOF
27200
cat confdefs.h >>conftest.$ac_ext
27201
cat >>conftest.$ac_ext <<_ACEOF
27202
/* end confdefs.h. */
27204
/* Override any GCC internal prototype to avoid an error.
27205
Use char because int might match the return type of a GCC
27206
builtin and then its argument prototype would still apply. */
27219
rm -f conftest.$ac_objext conftest$ac_exeext
27220
if { (ac_try="$ac_link"
27221
case "(($ac_try" in
27222
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27223
*) ac_try_echo=$ac_try;;
27225
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27226
(eval "$ac_link") 2>conftest.er1
27228
grep -v '^ *+' conftest.er1 >conftest.err
27230
cat conftest.err >&5
27231
echo "$as_me:$LINENO: \$? = $ac_status" >&5
27232
(exit $ac_status); } && {
27233
test -z "$ac_c_werror_flag" ||
27234
test ! -s conftest.err
27235
} && test -s conftest$ac_exeext &&
27236
$as_test_x conftest$ac_exeext; then
27237
ac_cv_lib_dl_dlopen=yes
27239
echo "$as_me: failed program was:" >&5
27240
sed 's/^/| /' conftest.$ac_ext >&5
27242
ac_cv_lib_dl_dlopen=no
27245
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
27246
conftest$ac_exeext conftest.$ac_ext
27247
LIBS=$ac_check_lib_save_LIBS
27249
{ echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
27250
echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6; }
27251
if test $ac_cv_lib_dl_dlopen = yes; then
27254
ac_cv_have_dlfcn=yes
27259
{ echo "$as_me:$LINENO: checking for shl_unload in -ldld" >&5
27260
echo $ECHO_N "checking for shl_unload in -ldld... $ECHO_C" >&6; }
27261
if test "${ac_cv_lib_dld_shl_unload+set}" = set; then
27262
echo $ECHO_N "(cached) $ECHO_C" >&6
27264
ac_check_lib_save_LIBS=$LIBS
27266
cat >conftest.$ac_ext <<_ACEOF
27269
cat confdefs.h >>conftest.$ac_ext
27270
cat >>conftest.$ac_ext <<_ACEOF
27271
/* end confdefs.h. */
27273
/* Override any GCC internal prototype to avoid an error.
27274
Use char because int might match the return type of a GCC
27275
builtin and then its argument prototype would still apply. */
27279
char shl_unload ();
27283
return shl_unload ();
27288
rm -f conftest.$ac_objext conftest$ac_exeext
27289
if { (ac_try="$ac_link"
27290
case "(($ac_try" in
27291
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27292
*) ac_try_echo=$ac_try;;
27294
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27295
(eval "$ac_link") 2>conftest.er1
27297
grep -v '^ *+' conftest.er1 >conftest.err
27299
cat conftest.err >&5
27300
echo "$as_me:$LINENO: \$? = $ac_status" >&5
27301
(exit $ac_status); } && {
27302
test -z "$ac_c_werror_flag" ||
27303
test ! -s conftest.err
27304
} && test -s conftest$ac_exeext &&
27305
$as_test_x conftest$ac_exeext; then
27306
ac_cv_lib_dld_shl_unload=yes
27308
echo "$as_me: failed program was:" >&5
27309
sed 's/^/| /' conftest.$ac_ext >&5
27311
ac_cv_lib_dld_shl_unload=no
27314
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
27315
conftest$ac_exeext conftest.$ac_ext
27316
LIBS=$ac_check_lib_save_LIBS
27318
{ echo "$as_me:$LINENO: result: $ac_cv_lib_dld_shl_unload" >&5
27319
echo "${ECHO_T}$ac_cv_lib_dld_shl_unload" >&6; }
27320
if test $ac_cv_lib_dld_shl_unload = yes; then
27323
ac_cv_have_shload=yes
27333
{ echo "$as_me:$LINENO: checking for size_t" >&5
27334
echo $ECHO_N "checking for size_t... $ECHO_C" >&6; }
27335
if test "${ac_cv_type_size_t+set}" = set; then
27336
echo $ECHO_N "(cached) $ECHO_C" >&6
27338
cat >conftest.$ac_ext <<_ACEOF
27341
cat confdefs.h >>conftest.$ac_ext
27342
cat >>conftest.$ac_ext <<_ACEOF
27343
/* end confdefs.h. */
27344
$ac_includes_default
27345
typedef size_t ac__type_new_;
27349
if ((ac__type_new_ *) 0)
27351
if (sizeof (ac__type_new_))
27357
rm -f conftest.$ac_objext
27358
if { (ac_try="$ac_compile"
27359
case "(($ac_try" in
27360
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27361
*) ac_try_echo=$ac_try;;
27363
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27364
(eval "$ac_compile") 2>conftest.er1
27366
grep -v '^ *+' conftest.er1 >conftest.err
27368
cat conftest.err >&5
27369
echo "$as_me:$LINENO: \$? = $ac_status" >&5
27370
(exit $ac_status); } && {
27371
test -z "$ac_c_werror_flag" ||
27372
test ! -s conftest.err
27373
} && test -s conftest.$ac_objext; then
27374
ac_cv_type_size_t=yes
27376
echo "$as_me: failed program was:" >&5
27377
sed 's/^/| /' conftest.$ac_ext >&5
27379
ac_cv_type_size_t=no
27382
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27384
{ echo "$as_me:$LINENO: result: $ac_cv_type_size_t" >&5
27385
echo "${ECHO_T}$ac_cv_type_size_t" >&6; }
27387
# The cast to long int works around a bug in the HP C Compiler
27388
# version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
27389
# declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
27390
# This bug is HP SR number 8606223364.
27391
{ echo "$as_me:$LINENO: checking size of size_t" >&5
27392
echo $ECHO_N "checking size of size_t... $ECHO_C" >&6; }
27393
if test "${ac_cv_sizeof_size_t+set}" = set; then
27394
echo $ECHO_N "(cached) $ECHO_C" >&6
27396
if test "$cross_compiling" = yes; then
27397
# Depending upon the size, compute the lo and hi bounds.
27398
cat >conftest.$ac_ext <<_ACEOF
27401
cat confdefs.h >>conftest.$ac_ext
27402
cat >>conftest.$ac_ext <<_ACEOF
27403
/* end confdefs.h. */
27404
$ac_includes_default
27405
typedef size_t ac__type_sizeof_;
27409
static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
27416
rm -f conftest.$ac_objext
27417
if { (ac_try="$ac_compile"
27418
case "(($ac_try" in
27419
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27420
*) ac_try_echo=$ac_try;;
27422
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27423
(eval "$ac_compile") 2>conftest.er1
27425
grep -v '^ *+' conftest.er1 >conftest.err
27427
cat conftest.err >&5
27428
echo "$as_me:$LINENO: \$? = $ac_status" >&5
27429
(exit $ac_status); } && {
27430
test -z "$ac_c_werror_flag" ||
27431
test ! -s conftest.err
27432
} && test -s conftest.$ac_objext; then
27435
cat >conftest.$ac_ext <<_ACEOF
27438
cat confdefs.h >>conftest.$ac_ext
27439
cat >>conftest.$ac_ext <<_ACEOF
27440
/* end confdefs.h. */
27441
$ac_includes_default
27442
typedef size_t ac__type_sizeof_;
27446
static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
27453
rm -f conftest.$ac_objext
27454
if { (ac_try="$ac_compile"
27455
case "(($ac_try" in
27456
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27457
*) ac_try_echo=$ac_try;;
27459
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27460
(eval "$ac_compile") 2>conftest.er1
27462
grep -v '^ *+' conftest.er1 >conftest.err
27464
cat conftest.err >&5
27465
echo "$as_me:$LINENO: \$? = $ac_status" >&5
27466
(exit $ac_status); } && {
27467
test -z "$ac_c_werror_flag" ||
27468
test ! -s conftest.err
27469
} && test -s conftest.$ac_objext; then
27470
ac_hi=$ac_mid; break
27472
echo "$as_me: failed program was:" >&5
27473
sed 's/^/| /' conftest.$ac_ext >&5
27475
ac_lo=`expr $ac_mid + 1`
27476
if test $ac_lo -le $ac_mid; then
27480
ac_mid=`expr 2 '*' $ac_mid + 1`
27483
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27486
echo "$as_me: failed program was:" >&5
27487
sed 's/^/| /' conftest.$ac_ext >&5
27489
cat >conftest.$ac_ext <<_ACEOF
27492
cat confdefs.h >>conftest.$ac_ext
27493
cat >>conftest.$ac_ext <<_ACEOF
27494
/* end confdefs.h. */
27495
$ac_includes_default
27496
typedef size_t ac__type_sizeof_;
27500
static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
27507
rm -f conftest.$ac_objext
27508
if { (ac_try="$ac_compile"
27509
case "(($ac_try" in
27510
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27511
*) ac_try_echo=$ac_try;;
27513
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27514
(eval "$ac_compile") 2>conftest.er1
27516
grep -v '^ *+' conftest.er1 >conftest.err
27518
cat conftest.err >&5
27519
echo "$as_me:$LINENO: \$? = $ac_status" >&5
27520
(exit $ac_status); } && {
27521
test -z "$ac_c_werror_flag" ||
27522
test ! -s conftest.err
27523
} && test -s conftest.$ac_objext; then
27526
cat >conftest.$ac_ext <<_ACEOF
27529
cat confdefs.h >>conftest.$ac_ext
27530
cat >>conftest.$ac_ext <<_ACEOF
27531
/* end confdefs.h. */
27532
$ac_includes_default
27533
typedef size_t ac__type_sizeof_;
27537
static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
27544
rm -f conftest.$ac_objext
27545
if { (ac_try="$ac_compile"
27546
case "(($ac_try" in
27547
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27548
*) ac_try_echo=$ac_try;;
27550
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27551
(eval "$ac_compile") 2>conftest.er1
27553
grep -v '^ *+' conftest.er1 >conftest.err
27555
cat conftest.err >&5
27556
echo "$as_me:$LINENO: \$? = $ac_status" >&5
27557
(exit $ac_status); } && {
27558
test -z "$ac_c_werror_flag" ||
27559
test ! -s conftest.err
27560
} && test -s conftest.$ac_objext; then
27561
ac_lo=$ac_mid; break
27563
echo "$as_me: failed program was:" >&5
27564
sed 's/^/| /' conftest.$ac_ext >&5
27566
ac_hi=`expr '(' $ac_mid ')' - 1`
27567
if test $ac_mid -le $ac_hi; then
27571
ac_mid=`expr 2 '*' $ac_mid`
27574
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27577
echo "$as_me: failed program was:" >&5
27578
sed 's/^/| /' conftest.$ac_ext >&5
27583
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27586
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27587
# Binary search between lo and hi bounds.
27588
while test "x$ac_lo" != "x$ac_hi"; do
27589
ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
27590
cat >conftest.$ac_ext <<_ACEOF
27593
cat confdefs.h >>conftest.$ac_ext
27594
cat >>conftest.$ac_ext <<_ACEOF
27595
/* end confdefs.h. */
27596
$ac_includes_default
27597
typedef size_t ac__type_sizeof_;
27601
static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
27608
rm -f conftest.$ac_objext
27609
if { (ac_try="$ac_compile"
27610
case "(($ac_try" in
27611
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27612
*) ac_try_echo=$ac_try;;
27614
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27615
(eval "$ac_compile") 2>conftest.er1
27617
grep -v '^ *+' conftest.er1 >conftest.err
27619
cat conftest.err >&5
27620
echo "$as_me:$LINENO: \$? = $ac_status" >&5
27621
(exit $ac_status); } && {
27622
test -z "$ac_c_werror_flag" ||
27623
test ! -s conftest.err
27624
} && test -s conftest.$ac_objext; then
27627
echo "$as_me: failed program was:" >&5
27628
sed 's/^/| /' conftest.$ac_ext >&5
27630
ac_lo=`expr '(' $ac_mid ')' + 1`
27633
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27636
?*) ac_cv_sizeof_size_t=$ac_lo;;
27637
'') if test "$ac_cv_type_size_t" = yes; then
27638
{ { echo "$as_me:$LINENO: error: cannot compute sizeof (size_t)
27639
See \`config.log' for more details." >&5
27640
echo "$as_me: error: cannot compute sizeof (size_t)
27641
See \`config.log' for more details." >&2;}
27642
{ (exit 77); exit 77; }; }
27644
ac_cv_sizeof_size_t=0
27648
cat >conftest.$ac_ext <<_ACEOF
27651
cat confdefs.h >>conftest.$ac_ext
27652
cat >>conftest.$ac_ext <<_ACEOF
27653
/* end confdefs.h. */
27654
$ac_includes_default
27655
typedef size_t ac__type_sizeof_;
27656
static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
27657
static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
27659
#include <stdlib.h>
27664
FILE *f = fopen ("conftest.val", "w");
27667
if (((long int) (sizeof (ac__type_sizeof_))) < 0)
27669
long int i = longval ();
27670
if (i != ((long int) (sizeof (ac__type_sizeof_))))
27672
fprintf (f, "%ld\n", i);
27676
unsigned long int i = ulongval ();
27677
if (i != ((long int) (sizeof (ac__type_sizeof_))))
27679
fprintf (f, "%lu\n", i);
27681
return ferror (f) || fclose (f) != 0;
27687
rm -f conftest$ac_exeext
27688
if { (ac_try="$ac_link"
27689
case "(($ac_try" in
27690
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27691
*) ac_try_echo=$ac_try;;
27693
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27694
(eval "$ac_link") 2>&5
27696
echo "$as_me:$LINENO: \$? = $ac_status" >&5
27697
(exit $ac_status); } && { ac_try='./conftest$ac_exeext'
27698
{ (case "(($ac_try" in
27699
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27700
*) ac_try_echo=$ac_try;;
27702
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27703
(eval "$ac_try") 2>&5
27705
echo "$as_me:$LINENO: \$? = $ac_status" >&5
27706
(exit $ac_status); }; }; then
27707
ac_cv_sizeof_size_t=`cat conftest.val`
27709
echo "$as_me: program exited with status $ac_status" >&5
27710
echo "$as_me: failed program was:" >&5
27711
sed 's/^/| /' conftest.$ac_ext >&5
27713
( exit $ac_status )
27714
if test "$ac_cv_type_size_t" = yes; then
27715
{ { echo "$as_me:$LINENO: error: cannot compute sizeof (size_t)
27716
See \`config.log' for more details." >&5
27717
echo "$as_me: error: cannot compute sizeof (size_t)
27718
See \`config.log' for more details." >&2;}
27719
{ (exit 77); exit 77; }; }
27721
ac_cv_sizeof_size_t=0
27724
rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
27728
{ echo "$as_me:$LINENO: result: $ac_cv_sizeof_size_t" >&5
27729
echo "${ECHO_T}$ac_cv_sizeof_size_t" >&6; }
27733
cat >>confdefs.h <<_ACEOF
27734
#define SIZEOF_SIZE_T $ac_cv_sizeof_size_t
27738
{ echo "$as_me:$LINENO: checking for unsigned long" >&5
27739
echo $ECHO_N "checking for unsigned long... $ECHO_C" >&6; }
27740
if test "${ac_cv_type_unsigned_long+set}" = set; then
27741
echo $ECHO_N "(cached) $ECHO_C" >&6
27743
cat >conftest.$ac_ext <<_ACEOF
27746
cat confdefs.h >>conftest.$ac_ext
27747
cat >>conftest.$ac_ext <<_ACEOF
27748
/* end confdefs.h. */
27749
$ac_includes_default
27750
typedef unsigned long ac__type_new_;
27754
if ((ac__type_new_ *) 0)
27756
if (sizeof (ac__type_new_))
27762
rm -f conftest.$ac_objext
27763
if { (ac_try="$ac_compile"
27764
case "(($ac_try" in
27765
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27766
*) ac_try_echo=$ac_try;;
27768
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27769
(eval "$ac_compile") 2>conftest.er1
27771
grep -v '^ *+' conftest.er1 >conftest.err
27773
cat conftest.err >&5
27774
echo "$as_me:$LINENO: \$? = $ac_status" >&5
27775
(exit $ac_status); } && {
27776
test -z "$ac_c_werror_flag" ||
27777
test ! -s conftest.err
27778
} && test -s conftest.$ac_objext; then
27779
ac_cv_type_unsigned_long=yes
27781
echo "$as_me: failed program was:" >&5
27782
sed 's/^/| /' conftest.$ac_ext >&5
27784
ac_cv_type_unsigned_long=no
27787
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27789
{ echo "$as_me:$LINENO: result: $ac_cv_type_unsigned_long" >&5
27790
echo "${ECHO_T}$ac_cv_type_unsigned_long" >&6; }
27792
# The cast to long int works around a bug in the HP C Compiler
27793
# version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
27794
# declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
27795
# This bug is HP SR number 8606223364.
27796
{ echo "$as_me:$LINENO: checking size of unsigned long" >&5
27797
echo $ECHO_N "checking size of unsigned long... $ECHO_C" >&6; }
27798
if test "${ac_cv_sizeof_unsigned_long+set}" = set; then
27799
echo $ECHO_N "(cached) $ECHO_C" >&6
27801
if test "$cross_compiling" = yes; then
27802
# Depending upon the size, compute the lo and hi bounds.
27803
cat >conftest.$ac_ext <<_ACEOF
27806
cat confdefs.h >>conftest.$ac_ext
27807
cat >>conftest.$ac_ext <<_ACEOF
27808
/* end confdefs.h. */
27809
$ac_includes_default
27810
typedef unsigned long ac__type_sizeof_;
27814
static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
27821
rm -f conftest.$ac_objext
27822
if { (ac_try="$ac_compile"
27823
case "(($ac_try" in
27824
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27825
*) ac_try_echo=$ac_try;;
27827
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27828
(eval "$ac_compile") 2>conftest.er1
27830
grep -v '^ *+' conftest.er1 >conftest.err
27832
cat conftest.err >&5
27833
echo "$as_me:$LINENO: \$? = $ac_status" >&5
27834
(exit $ac_status); } && {
27835
test -z "$ac_c_werror_flag" ||
27836
test ! -s conftest.err
27837
} && test -s conftest.$ac_objext; then
27840
cat >conftest.$ac_ext <<_ACEOF
27843
cat confdefs.h >>conftest.$ac_ext
27844
cat >>conftest.$ac_ext <<_ACEOF
27845
/* end confdefs.h. */
27846
$ac_includes_default
27847
typedef unsigned long ac__type_sizeof_;
27851
static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
27858
rm -f conftest.$ac_objext
27859
if { (ac_try="$ac_compile"
27860
case "(($ac_try" in
27861
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27862
*) ac_try_echo=$ac_try;;
27864
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27865
(eval "$ac_compile") 2>conftest.er1
27867
grep -v '^ *+' conftest.er1 >conftest.err
27869
cat conftest.err >&5
27870
echo "$as_me:$LINENO: \$? = $ac_status" >&5
27871
(exit $ac_status); } && {
27872
test -z "$ac_c_werror_flag" ||
27873
test ! -s conftest.err
27874
} && test -s conftest.$ac_objext; then
27875
ac_hi=$ac_mid; break
27877
echo "$as_me: failed program was:" >&5
27878
sed 's/^/| /' conftest.$ac_ext >&5
27880
ac_lo=`expr $ac_mid + 1`
27881
if test $ac_lo -le $ac_mid; then
27885
ac_mid=`expr 2 '*' $ac_mid + 1`
27888
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27891
echo "$as_me: failed program was:" >&5
27892
sed 's/^/| /' conftest.$ac_ext >&5
27894
cat >conftest.$ac_ext <<_ACEOF
27897
cat confdefs.h >>conftest.$ac_ext
27898
cat >>conftest.$ac_ext <<_ACEOF
27899
/* end confdefs.h. */
27900
$ac_includes_default
27901
typedef unsigned long ac__type_sizeof_;
27905
static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
27912
rm -f conftest.$ac_objext
27913
if { (ac_try="$ac_compile"
27914
case "(($ac_try" in
27915
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27916
*) ac_try_echo=$ac_try;;
27918
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27919
(eval "$ac_compile") 2>conftest.er1
27921
grep -v '^ *+' conftest.er1 >conftest.err
27923
cat conftest.err >&5
27924
echo "$as_me:$LINENO: \$? = $ac_status" >&5
27925
(exit $ac_status); } && {
27926
test -z "$ac_c_werror_flag" ||
27927
test ! -s conftest.err
27928
} && test -s conftest.$ac_objext; then
27931
cat >conftest.$ac_ext <<_ACEOF
27934
cat confdefs.h >>conftest.$ac_ext
27935
cat >>conftest.$ac_ext <<_ACEOF
27936
/* end confdefs.h. */
27937
$ac_includes_default
27938
typedef unsigned long ac__type_sizeof_;
27942
static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
27949
rm -f conftest.$ac_objext
27950
if { (ac_try="$ac_compile"
27951
case "(($ac_try" in
27952
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27953
*) ac_try_echo=$ac_try;;
27955
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27956
(eval "$ac_compile") 2>conftest.er1
27958
grep -v '^ *+' conftest.er1 >conftest.err
27960
cat conftest.err >&5
27961
echo "$as_me:$LINENO: \$? = $ac_status" >&5
27962
(exit $ac_status); } && {
27963
test -z "$ac_c_werror_flag" ||
27964
test ! -s conftest.err
27965
} && test -s conftest.$ac_objext; then
27966
ac_lo=$ac_mid; break
27968
echo "$as_me: failed program was:" >&5
27969
sed 's/^/| /' conftest.$ac_ext >&5
27971
ac_hi=`expr '(' $ac_mid ')' - 1`
27972
if test $ac_mid -le $ac_hi; then
27976
ac_mid=`expr 2 '*' $ac_mid`
27979
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27982
echo "$as_me: failed program was:" >&5
27983
sed 's/^/| /' conftest.$ac_ext >&5
27988
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27991
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27992
# Binary search between lo and hi bounds.
27993
while test "x$ac_lo" != "x$ac_hi"; do
27994
ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
27995
cat >conftest.$ac_ext <<_ACEOF
27998
cat confdefs.h >>conftest.$ac_ext
27999
cat >>conftest.$ac_ext <<_ACEOF
28000
/* end confdefs.h. */
28001
$ac_includes_default
28002
typedef unsigned long ac__type_sizeof_;
28006
static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
28013
rm -f conftest.$ac_objext
28014
if { (ac_try="$ac_compile"
28015
case "(($ac_try" in
28016
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28017
*) ac_try_echo=$ac_try;;
28019
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28020
(eval "$ac_compile") 2>conftest.er1
28022
grep -v '^ *+' conftest.er1 >conftest.err
28024
cat conftest.err >&5
28025
echo "$as_me:$LINENO: \$? = $ac_status" >&5
28026
(exit $ac_status); } && {
28027
test -z "$ac_c_werror_flag" ||
28028
test ! -s conftest.err
28029
} && test -s conftest.$ac_objext; then
28032
echo "$as_me: failed program was:" >&5
28033
sed 's/^/| /' conftest.$ac_ext >&5
28035
ac_lo=`expr '(' $ac_mid ')' + 1`
28038
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28041
?*) ac_cv_sizeof_unsigned_long=$ac_lo;;
28042
'') if test "$ac_cv_type_unsigned_long" = yes; then
28043
{ { echo "$as_me:$LINENO: error: cannot compute sizeof (unsigned long)
28044
See \`config.log' for more details." >&5
28045
echo "$as_me: error: cannot compute sizeof (unsigned long)
28046
See \`config.log' for more details." >&2;}
28047
{ (exit 77); exit 77; }; }
28049
ac_cv_sizeof_unsigned_long=0
28053
cat >conftest.$ac_ext <<_ACEOF
28056
cat confdefs.h >>conftest.$ac_ext
28057
cat >>conftest.$ac_ext <<_ACEOF
28058
/* end confdefs.h. */
28059
$ac_includes_default
28060
typedef unsigned long ac__type_sizeof_;
28061
static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
28062
static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
28064
#include <stdlib.h>
28069
FILE *f = fopen ("conftest.val", "w");
28072
if (((long int) (sizeof (ac__type_sizeof_))) < 0)
28074
long int i = longval ();
28075
if (i != ((long int) (sizeof (ac__type_sizeof_))))
28077
fprintf (f, "%ld\n", i);
28081
unsigned long int i = ulongval ();
28082
if (i != ((long int) (sizeof (ac__type_sizeof_))))
28084
fprintf (f, "%lu\n", i);
28086
return ferror (f) || fclose (f) != 0;
28092
rm -f conftest$ac_exeext
28093
if { (ac_try="$ac_link"
28094
case "(($ac_try" in
28095
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28096
*) ac_try_echo=$ac_try;;
28098
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28099
(eval "$ac_link") 2>&5
28101
echo "$as_me:$LINENO: \$? = $ac_status" >&5
28102
(exit $ac_status); } && { ac_try='./conftest$ac_exeext'
28103
{ (case "(($ac_try" in
28104
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28105
*) ac_try_echo=$ac_try;;
28107
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28108
(eval "$ac_try") 2>&5
28110
echo "$as_me:$LINENO: \$? = $ac_status" >&5
28111
(exit $ac_status); }; }; then
28112
ac_cv_sizeof_unsigned_long=`cat conftest.val`
28114
echo "$as_me: program exited with status $ac_status" >&5
28115
echo "$as_me: failed program was:" >&5
28116
sed 's/^/| /' conftest.$ac_ext >&5
28118
( exit $ac_status )
28119
if test "$ac_cv_type_unsigned_long" = yes; then
28120
{ { echo "$as_me:$LINENO: error: cannot compute sizeof (unsigned long)
28121
See \`config.log' for more details." >&5
28122
echo "$as_me: error: cannot compute sizeof (unsigned long)
28123
See \`config.log' for more details." >&2;}
28124
{ (exit 77); exit 77; }; }
28126
ac_cv_sizeof_unsigned_long=0
28129
rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
28133
{ echo "$as_me:$LINENO: result: $ac_cv_sizeof_unsigned_long" >&5
28134
echo "${ECHO_T}$ac_cv_sizeof_unsigned_long" >&6; }
28138
cat >>confdefs.h <<_ACEOF
28139
#define SIZEOF_UNSIGNED_LONG $ac_cv_sizeof_unsigned_long
28144
{ echo "$as_me:$LINENO: checking sizeof size_t == sizeof unsigned long" >&5
28145
echo $ECHO_N "checking sizeof size_t == sizeof unsigned long... $ECHO_C" >&6; }
28146
cat >conftest.$ac_ext <<_ACEOF
28149
cat confdefs.h >>conftest.$ac_ext
28150
cat >>conftest.$ac_ext <<_ACEOF
28151
/* end confdefs.h. */
28157
#if SIZEOF_SIZE_T != SIZEOF_UNSIGNED_LONG
28165
rm -f conftest.$ac_objext
28166
if { (ac_try="$ac_compile"
28167
case "(($ac_try" in
28168
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28169
*) ac_try_echo=$ac_try;;
28171
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28172
(eval "$ac_compile") 2>conftest.er1
28174
grep -v '^ *+' conftest.er1 >conftest.err
28176
cat conftest.err >&5
28177
echo "$as_me:$LINENO: \$? = $ac_status" >&5
28178
(exit $ac_status); } && {
28179
test -z "$ac_c_werror_flag" ||
28180
test ! -s conftest.err
28181
} && test -s conftest.$ac_objext; then
28182
{ echo "$as_me:$LINENO: result: yes" >&5
28183
echo "${ECHO_T}yes" >&6; }
28185
echo "$as_me: failed program was:" >&5
28186
sed 's/^/| /' conftest.$ac_ext >&5
28189
{ echo "$as_me:$LINENO: result: no" >&5
28190
echo "${ECHO_T}no" >&6; }
28191
{ { echo "$as_me:$LINENO: error:
28192
Apparently on your system our assumption sizeof size_t == sizeof unsigned long
28193
does not apply. Please mail kde-devel@kde.org with a description of your system!
28195
echo "$as_me: error:
28196
Apparently on your system our assumption sizeof size_t == sizeof unsigned long
28197
does not apply. Please mail kde-devel@kde.org with a description of your system!
28199
{ (exit 1); exit 1; }; }
28203
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28206
{ echo "$as_me:$LINENO: checking for PIE support" >&5
28207
echo $ECHO_N "checking for PIE support... $ECHO_C" >&6; }
28208
if test "${kde_cv_val_pie_support+set}" = set; then
28209
echo $ECHO_N "(cached) $ECHO_C" >&6
28214
ac_cpp='$CXXCPP $CPPFLAGS'
28215
ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28216
ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28217
ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
28219
ac_link='rm -rf SunWS_cache; ${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
28222
safe_CXXFLAGS=$CXXFLAGS
28223
safe_LDFLAGS=$LDFLAGS
28224
CXXFLAGS="$CXXFLAGS -fPIE"
28225
LDFLAGS="$LDFLAGS -pie"
28227
cat >conftest.$ac_ext <<_ACEOF
28230
cat confdefs.h >>conftest.$ac_ext
28231
cat >>conftest.$ac_ext <<_ACEOF
28232
/* end confdefs.h. */
28242
rm -f conftest.$ac_objext conftest$ac_exeext
28243
if { (ac_try="$ac_link"
28244
case "(($ac_try" in
28245
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28246
*) ac_try_echo=$ac_try;;
28248
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28249
(eval "$ac_link") 2>conftest.er1
28251
grep -v '^ *+' conftest.er1 >conftest.err
28253
cat conftest.err >&5
28254
echo "$as_me:$LINENO: \$? = $ac_status" >&5
28255
(exit $ac_status); } && {
28256
test -z "$ac_cxx_werror_flag" ||
28257
test ! -s conftest.err
28258
} && test -s conftest$ac_exeext &&
28259
$as_test_x conftest$ac_exeext; then
28260
kde_cv_val_pie_support=yes
28262
echo "$as_me: failed program was:" >&5
28263
sed 's/^/| /' conftest.$ac_ext >&5
28265
kde_cv_val_pie_support=no
28268
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
28269
conftest$ac_exeext conftest.$ac_ext
28271
CXXFLAGS=$safe_CXXFLAGS
28272
LDFLAGS=$safe_LDFLAGS
28274
ac_cpp='$CPP $CPPFLAGS'
28275
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28276
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28277
ac_compiler_gnu=$ac_cv_c_compiler_gnu
28281
{ echo "$as_me:$LINENO: result: $kde_cv_val_pie_support" >&5
28282
echo "${ECHO_T}$kde_cv_val_pie_support" >&6; }
28284
{ echo "$as_me:$LINENO: checking if enabling -pie/fPIE support" >&5
28285
echo $ECHO_N "checking if enabling -pie/fPIE support... $ECHO_C" >&6; }
28287
# Check whether --enable-pie was given.
28288
if test "${enable_pie+set}" = set; then
28289
enableval=$enable_pie; kde_has_pie_support=$enableval
28291
kde_has_pie_support=detect
28295
if test "$kde_has_pie_support" = "detect"; then
28296
kde_has_pie_support=$kde_cv_val_pie_support
28299
{ echo "$as_me:$LINENO: result: $kde_has_pie_support" >&5
28300
echo "${ECHO_T}$kde_has_pie_support" >&6; }
28308
if test "$kde_has_pie_support" = "yes"; then
28309
KDE_USE_FPIE="-fPIE"
28314
# darwin needs this to initialize the environment
28316
for ac_header in crt_externs.h
28318
as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
28319
if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
28320
{ echo "$as_me:$LINENO: checking for $ac_header" >&5
28321
echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
28322
if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
28323
echo $ECHO_N "(cached) $ECHO_C" >&6
28325
ac_res=`eval echo '${'$as_ac_Header'}'`
28326
{ echo "$as_me:$LINENO: result: $ac_res" >&5
28327
echo "${ECHO_T}$ac_res" >&6; }
28329
# Is the header compilable?
28330
{ echo "$as_me:$LINENO: checking $ac_header usability" >&5
28331
echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; }
28332
cat >conftest.$ac_ext <<_ACEOF
28335
cat confdefs.h >>conftest.$ac_ext
28336
cat >>conftest.$ac_ext <<_ACEOF
28337
/* end confdefs.h. */
28338
$ac_includes_default
28339
#include <$ac_header>
28341
rm -f conftest.$ac_objext
28342
if { (ac_try="$ac_compile"
28343
case "(($ac_try" in
28344
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28345
*) ac_try_echo=$ac_try;;
28347
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28348
(eval "$ac_compile") 2>conftest.er1
28350
grep -v '^ *+' conftest.er1 >conftest.err
28352
cat conftest.err >&5
28353
echo "$as_me:$LINENO: \$? = $ac_status" >&5
28354
(exit $ac_status); } && {
28355
test -z "$ac_c_werror_flag" ||
28356
test ! -s conftest.err
28357
} && test -s conftest.$ac_objext; then
28358
ac_header_compiler=yes
28360
echo "$as_me: failed program was:" >&5
28361
sed 's/^/| /' conftest.$ac_ext >&5
28363
ac_header_compiler=no
28366
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28367
{ echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
28368
echo "${ECHO_T}$ac_header_compiler" >&6; }
28370
# Is the header present?
28371
{ echo "$as_me:$LINENO: checking $ac_header presence" >&5
28372
echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; }
28373
cat >conftest.$ac_ext <<_ACEOF
28376
cat confdefs.h >>conftest.$ac_ext
28377
cat >>conftest.$ac_ext <<_ACEOF
28378
/* end confdefs.h. */
28379
#include <$ac_header>
28381
if { (ac_try="$ac_cpp conftest.$ac_ext"
28382
case "(($ac_try" in
28383
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28384
*) ac_try_echo=$ac_try;;
28386
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28387
(eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
28389
grep -v '^ *+' conftest.er1 >conftest.err
28391
cat conftest.err >&5
28392
echo "$as_me:$LINENO: \$? = $ac_status" >&5
28393
(exit $ac_status); } >/dev/null && {
28394
test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
28395
test ! -s conftest.err
28397
ac_header_preproc=yes
28399
echo "$as_me: failed program was:" >&5
28400
sed 's/^/| /' conftest.$ac_ext >&5
28402
ac_header_preproc=no
28405
rm -f conftest.err conftest.$ac_ext
28406
{ echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
28407
echo "${ECHO_T}$ac_header_preproc" >&6; }
28409
# So? What about this header?
28410
case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
28412
{ echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
28413
echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
28414
{ echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
28415
echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
28416
ac_header_preproc=yes
28419
{ echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
28420
echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
28421
{ echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
28422
echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
28423
{ echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
28424
echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
28425
{ echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
28426
echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
28427
{ echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
28428
echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
28429
{ echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
28430
echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
28434
{ echo "$as_me:$LINENO: checking for $ac_header" >&5
28435
echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
28436
if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
28437
echo $ECHO_N "(cached) $ECHO_C" >&6
28439
eval "$as_ac_Header=\$ac_header_preproc"
28441
ac_res=`eval echo '${'$as_ac_Header'}'`
28442
{ echo "$as_me:$LINENO: result: $ac_res" >&5
28443
echo "${ECHO_T}$ac_res" >&6; }
28446
if test `eval echo '${'$as_ac_Header'}'` = yes; then
28447
cat >>confdefs.h <<_ACEOF
28448
#define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
28455
{ echo "$as_me:$LINENO: checking for _NSGetEnviron" >&5
28456
echo $ECHO_N "checking for _NSGetEnviron... $ECHO_C" >&6; }
28457
if test "${ac_cv_func__NSGetEnviron+set}" = set; then
28458
echo $ECHO_N "(cached) $ECHO_C" >&6
28460
cat >conftest.$ac_ext <<_ACEOF
28463
cat confdefs.h >>conftest.$ac_ext
28464
cat >>conftest.$ac_ext <<_ACEOF
28465
/* end confdefs.h. */
28466
/* Define _NSGetEnviron to an innocuous variant, in case <limits.h> declares _NSGetEnviron.
28467
For example, HP-UX 11i <limits.h> declares gettimeofday. */
28468
#define _NSGetEnviron innocuous__NSGetEnviron
28470
/* System header to define __stub macros and hopefully few prototypes,
28471
which can conflict with char _NSGetEnviron (); below.
28472
Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
28473
<limits.h> exists even on freestanding compilers. */
28476
# include <limits.h>
28478
# include <assert.h>
28481
#undef _NSGetEnviron
28483
/* Override any GCC internal prototype to avoid an error.
28484
Use char because int might match the return type of a GCC
28485
builtin and then its argument prototype would still apply. */
28489
char _NSGetEnviron ();
28490
/* The GNU C library defines this for functions which it implements
28491
to always fail with ENOSYS. Some functions are actually named
28492
something starting with __ and the normal name is an alias. */
28493
#if defined __stub__NSGetEnviron || defined __stub____NSGetEnviron
28500
return _NSGetEnviron ();
28505
rm -f conftest.$ac_objext conftest$ac_exeext
28506
if { (ac_try="$ac_link"
28507
case "(($ac_try" in
28508
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28509
*) ac_try_echo=$ac_try;;
28511
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28512
(eval "$ac_link") 2>conftest.er1
28514
grep -v '^ *+' conftest.er1 >conftest.err
28516
cat conftest.err >&5
28517
echo "$as_me:$LINENO: \$? = $ac_status" >&5
28518
(exit $ac_status); } && {
28519
test -z "$ac_c_werror_flag" ||
28520
test ! -s conftest.err
28521
} && test -s conftest$ac_exeext &&
28522
$as_test_x conftest$ac_exeext; then
28523
ac_cv_func__NSGetEnviron=yes
28525
echo "$as_me: failed program was:" >&5
28526
sed 's/^/| /' conftest.$ac_ext >&5
28528
ac_cv_func__NSGetEnviron=no
28531
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
28532
conftest$ac_exeext conftest.$ac_ext
28534
{ echo "$as_me:$LINENO: result: $ac_cv_func__NSGetEnviron" >&5
28535
echo "${ECHO_T}$ac_cv_func__NSGetEnviron" >&6; }
28536
if test $ac_cv_func__NSGetEnviron = yes; then
28538
cat >>confdefs.h <<\_ACEOF
28539
#define HAVE_NSGETENVIRON 1
28553
for ac_func in vsnprintf snprintf
28555
as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
28556
{ echo "$as_me:$LINENO: checking for $ac_func" >&5
28557
echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
28558
if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
28559
echo $ECHO_N "(cached) $ECHO_C" >&6
28561
cat >conftest.$ac_ext <<_ACEOF
28564
cat confdefs.h >>conftest.$ac_ext
28565
cat >>conftest.$ac_ext <<_ACEOF
28566
/* end confdefs.h. */
28567
/* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
28568
For example, HP-UX 11i <limits.h> declares gettimeofday. */
28569
#define $ac_func innocuous_$ac_func
28571
/* System header to define __stub macros and hopefully few prototypes,
28572
which can conflict with char $ac_func (); below.
28573
Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
28574
<limits.h> exists even on freestanding compilers. */
28577
# include <limits.h>
28579
# include <assert.h>
28584
/* Override any GCC internal prototype to avoid an error.
28585
Use char because int might match the return type of a GCC
28586
builtin and then its argument prototype would still apply. */
28591
/* The GNU C library defines this for functions which it implements
28592
to always fail with ENOSYS. Some functions are actually named
28593
something starting with __ and the normal name is an alias. */
28594
#if defined __stub_$ac_func || defined __stub___$ac_func
28601
return $ac_func ();
28606
rm -f conftest.$ac_objext conftest$ac_exeext
28607
if { (ac_try="$ac_link"
28608
case "(($ac_try" in
28609
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28610
*) ac_try_echo=$ac_try;;
28612
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28613
(eval "$ac_link") 2>conftest.er1
28615
grep -v '^ *+' conftest.er1 >conftest.err
28617
cat conftest.err >&5
28618
echo "$as_me:$LINENO: \$? = $ac_status" >&5
28619
(exit $ac_status); } && {
28620
test -z "$ac_c_werror_flag" ||
28621
test ! -s conftest.err
28622
} && test -s conftest$ac_exeext &&
28623
$as_test_x conftest$ac_exeext; then
28624
eval "$as_ac_var=yes"
28626
echo "$as_me: failed program was:" >&5
28627
sed 's/^/| /' conftest.$ac_ext >&5
28629
eval "$as_ac_var=no"
28632
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
28633
conftest$ac_exeext conftest.$ac_ext
28635
ac_res=`eval echo '${'$as_ac_var'}'`
28636
{ echo "$as_me:$LINENO: result: $ac_res" >&5
28637
echo "${ECHO_T}$ac_res" >&6; }
28638
if test `eval echo '${'$as_ac_var'}'` = yes; then
28639
cat >>confdefs.h <<_ACEOF
28640
#define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
28654
# Check whether --enable-embedded was given.
28655
if test "${enable_embedded+set}" = set; then
28656
enableval=$enable_embedded; kde_use_qt_emb=$enableval
28663
# Check whether --enable-qtopia was given.
28664
if test "${enable_qtopia+set}" = set; then
28665
enableval=$enable_qtopia; kde_use_qt_emb_palm=$enableval
28667
kde_use_qt_emb_palm=no
28672
# Check whether --enable-mac was given.
28673
if test "${enable_mac+set}" = set; then
28674
enableval=$enable_mac; kde_use_qt_mac=$enableval
28681
# used to disable x11-specific stuff on special platforms
28684
if test "$kde_use_qt_emb" = "no" && test "$kde_use_qt_mac" = "no"; then
28686
include_x11_FALSE='#'
28688
include_x11_TRUE='#'
28693
if test "$kde_use_qt_emb" = "no" && test "$kde_use_qt_mac" = "no"; then
28695
{ echo "$as_me:$LINENO: checking for X" >&5
28696
echo $ECHO_N "checking for X... $ECHO_C" >&6; }
28698
if test "${kde_cv_have_x+set}" = set; then
28699
echo $ECHO_N "(cached) $ECHO_C" >&6
28701
# One or both of the vars are not set, and there is no cached value.
28702
if test "{$x_includes+set}" = set || test "$x_includes" = NONE; then
28705
kde_x_includes=$x_includes
28707
if test "{$x_libraries+set}" = set || test "$x_libraries" = NONE; then
28710
kde_x_libraries=$x_libraries
28713
# below we use the standard autoconf calls
28714
ac_x_libraries=$kde_x_libraries
28715
ac_x_includes=$kde_x_includes
28720
if test "$ac_x_includes" = NO; then
28721
# Guess where to find include files, by looking for this one X11 .h file.
28722
test -z "$x_direct_test_include" && x_direct_test_include=X11/Intrinsic.h
28724
# First, try using that file with no special directory specified.
28725
cat >conftest.$ac_ext <<_ACEOF
28728
cat confdefs.h >>conftest.$ac_ext
28729
cat >>conftest.$ac_ext <<_ACEOF
28730
/* end confdefs.h. */
28731
#include <$x_direct_test_include>
28733
if { (ac_try="$ac_cpp conftest.$ac_ext"
28734
case "(($ac_try" in
28735
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28736
*) ac_try_echo=$ac_try;;
28738
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28739
(eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
28741
grep -v '^ *+' conftest.er1 >conftest.err
28743
cat conftest.err >&5
28744
echo "$as_me:$LINENO: \$? = $ac_status" >&5
28745
(exit $ac_status); } >/dev/null && {
28746
test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
28747
test ! -s conftest.err
28749
# We can compile using X headers with no special include directory.
28752
echo "$as_me: failed program was:" >&5
28753
sed 's/^/| /' conftest.$ac_ext >&5
28755
# Look for the header file in a standard set of common directories.
28756
# Check X11 before X11Rn because it is often a symlink to the current release.
28759
/usr/X11R6/include \
28760
/usr/X11R5/include \
28761
/usr/X11R4/include \
28764
/usr/include/X11R6 \
28765
/usr/include/X11R5 \
28766
/usr/include/X11R4 \
28768
/usr/local/X11/include \
28769
/usr/local/X11R6/include \
28770
/usr/local/X11R5/include \
28771
/usr/local/X11R4/include \
28773
/usr/local/include/X11 \
28774
/usr/local/include/X11R6 \
28775
/usr/local/include/X11R5 \
28776
/usr/local/include/X11R4 \
28778
/usr/X386/include \
28779
/usr/x386/include \
28780
/usr/XFree86/include/X11 \
28783
/usr/local/include \
28784
/usr/unsupported/include \
28785
/usr/athena/include \
28786
/usr/local/x11r5/include \
28787
/usr/lpp/Xamples/include \
28789
/usr/openwin/include \
28790
/usr/openwin/share/include \
28793
if test -r "$ac_dir/$x_direct_test_include"; then
28794
ac_x_includes=$ac_dir
28800
rm -f conftest.err conftest.$ac_ext
28801
fi # $ac_x_includes = NO
28803
if test "$ac_x_libraries" = NO; then
28804
# Check for the libraries.
28806
test -z "$x_direct_test_library" && x_direct_test_library=Xt
28807
test -z "$x_direct_test_function" && x_direct_test_function=XtMalloc
28809
# See if we find them without any special options.
28810
# Don't add to $LIBS permanently.
28811
ac_save_LIBS="$LIBS"
28812
LIBS="-l$x_direct_test_library $LIBS"
28813
cat >conftest.$ac_ext <<_ACEOF
28816
cat confdefs.h >>conftest.$ac_ext
28817
cat >>conftest.$ac_ext <<_ACEOF
28818
/* end confdefs.h. */
28819
#include <X11/Intrinsic.h>
28823
${x_direct_test_function}(1)
28828
rm -f conftest.$ac_objext conftest$ac_exeext
28829
if { (ac_try="$ac_link"
28830
case "(($ac_try" in
28831
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28832
*) ac_try_echo=$ac_try;;
28834
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28835
(eval "$ac_link") 2>conftest.er1
28837
grep -v '^ *+' conftest.er1 >conftest.err
28839
cat conftest.err >&5
28840
echo "$as_me:$LINENO: \$? = $ac_status" >&5
28841
(exit $ac_status); } && {
28842
test -z "$ac_c_werror_flag" ||
28843
test ! -s conftest.err
28844
} && test -s conftest$ac_exeext &&
28845
$as_test_x conftest$ac_exeext; then
28846
LIBS="$ac_save_LIBS"
28847
# We can link X programs with no special library path.
28850
echo "$as_me: failed program was:" >&5
28851
sed 's/^/| /' conftest.$ac_ext >&5
28853
LIBS="$ac_save_LIBS"
28854
# First see if replacing the include by lib works.
28855
# Check X11 before X11Rn because it is often a symlink to the current release.
28856
for ac_dir in `echo "$ac_x_includes" | sed s/include/lib${kdelibsuff}/` \
28857
/usr/X11/lib${kdelibsuff} \
28858
/usr/X11R6/lib${kdelibsuff} \
28859
/usr/X11R5/lib${kdelibsuff} \
28860
/usr/X11R4/lib${kdelibsuff} \
28862
/usr/lib${kdelibsuff}/X11 \
28863
/usr/lib${kdelibsuff}/X11R6 \
28864
/usr/lib${kdelibsuff}/X11R5 \
28865
/usr/lib${kdelibsuff}/X11R4 \
28867
/usr/local/X11/lib${kdelibsuff} \
28868
/usr/local/X11R6/lib${kdelibsuff} \
28869
/usr/local/X11R5/lib${kdelibsuff} \
28870
/usr/local/X11R4/lib${kdelibsuff} \
28872
/usr/local/lib${kdelibsuff}/X11 \
28873
/usr/local/lib${kdelibsuff}/X11R6 \
28874
/usr/local/lib${kdelibsuff}/X11R5 \
28875
/usr/local/lib${kdelibsuff}/X11R4 \
28877
/usr/X386/lib${kdelibsuff} \
28878
/usr/x386/lib${kdelibsuff} \
28879
/usr/XFree86/lib${kdelibsuff}/X11 \
28881
/usr/lib${kdelibsuff} \
28882
/usr/local/lib${kdelibsuff} \
28883
/usr/unsupported/lib${kdelibsuff} \
28884
/usr/athena/lib${kdelibsuff} \
28885
/usr/local/x11r5/lib${kdelibsuff} \
28886
/usr/lpp/Xamples/lib${kdelibsuff} \
28887
/lib/usr/lib${kdelibsuff}/X11 \
28889
/usr/openwin/lib${kdelibsuff} \
28890
/usr/openwin/share/lib${kdelibsuff} \
28893
for ac_extension in a so sl; do
28894
if test -r $ac_dir/lib${x_direct_test_library}.$ac_extension; then
28895
ac_x_libraries=$ac_dir
28902
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
28903
conftest$ac_exeext conftest.$ac_ext
28904
fi # $ac_x_libraries = NO
28912
rm -f -r conftest.dir
28913
if mkdir conftest.dir; then
28915
cat >Imakefile <<'_ACEOF'
28917
@echo incroot='${INCROOT}'
28919
@echo usrlibdir='${USRLIBDIR}'
28921
@echo libdir='${LIBDIR}'
28923
if (export CC; ${XMKMF-xmkmf}) >/dev/null 2>/dev/null && test -f Makefile; then
28924
# GNU make sometimes prints "make[1]: Entering...", which would confuse us.
28925
for ac_var in incroot usrlibdir libdir; do
28926
eval "ac_im_$ac_var=\`\${MAKE-make} $ac_var 2>/dev/null | sed -n 's/^$ac_var=//p'\`"
28928
# Open Windows xmkmf reportedly sets LIBDIR instead of USRLIBDIR.
28929
for ac_extension in a so sl; do
28930
if test ! -f "$ac_im_usrlibdir/libX11.$ac_extension" &&
28931
test -f "$ac_im_libdir/libX11.$ac_extension"; then
28932
ac_im_usrlibdir=$ac_im_libdir; break
28935
# Screen out bogus values from the imake configuration. They are
28936
# bogus both because they are the default anyway, and because
28937
# using them would break gcc on systems where it needs fixed includes.
28938
case $ac_im_incroot in
28939
/usr/include) ac_x_includes= ;;
28940
*) test -f "$ac_im_incroot/X11/Xos.h" && ac_x_includes=$ac_im_incroot;;
28942
case $ac_im_usrlibdir in
28943
/usr/lib | /lib) ;;
28944
*) test -d "$ac_im_usrlibdir" && ac_x_libraries=$ac_im_usrlibdir ;;
28948
rm -f -r conftest.dir
28951
if test -z "$ac_x_includes"; then
28954
if test -z "$ac_x_libraries"; then
28955
ac_x_libraries="/usr/lib${kdelibsuff}"
28958
#from now on we use our own again
28960
# when the user already gave --x-includes, we ignore
28961
# what the standard autoconf macros told us.
28962
if test "$kde_x_includes" = NO; then
28963
kde_x_includes=$ac_x_includes
28966
# for --x-libraries too
28967
if test "$kde_x_libraries" = NO; then
28968
kde_x_libraries=$ac_x_libraries
28971
if test "$kde_x_includes" = NO; then
28972
{ { echo "$as_me:$LINENO: error: Can't find X includes. Please check your installation and add the correct paths!" >&5
28973
echo "$as_me: error: Can't find X includes. Please check your installation and add the correct paths!" >&2;}
28974
{ (exit 1); exit 1; }; }
28977
if test "$kde_x_libraries" = NO; then
28978
{ { echo "$as_me:$LINENO: error: Can't find X libraries. Please check your installation and add the correct paths!" >&5
28979
echo "$as_me: error: Can't find X libraries. Please check your installation and add the correct paths!" >&2;}
28980
{ (exit 1); exit 1; }; }
28983
# Record where we found X for the cache.
28984
kde_cv_have_x="have_x=yes \
28985
kde_x_includes=$kde_x_includes kde_x_libraries=$kde_x_libraries"
28989
eval "$kde_cv_have_x"
28991
if test "$have_x" != yes; then
28992
{ echo "$as_me:$LINENO: result: $have_x" >&5
28993
echo "${ECHO_T}$have_x" >&6; }
28996
{ echo "$as_me:$LINENO: result: libraries $kde_x_libraries, headers $kde_x_includes" >&5
28997
echo "${ECHO_T}libraries $kde_x_libraries, headers $kde_x_includes" >&6; }
29000
if test -z "$kde_x_includes" || test "x$kde_x_includes" = xNONE; then
29002
x_includes="."; else
29003
x_includes=$kde_x_includes
29004
X_INCLUDES="-I$x_includes"
29007
if test -z "$kde_x_libraries" || test "x$kde_x_libraries" = xNONE; then
29009
x_libraries="/usr/lib"; else
29010
x_libraries=$kde_x_libraries
29011
X_LDFLAGS="-L$x_libraries"
29013
all_includes="$X_INCLUDES"
29014
all_libraries="$X_LDFLAGS $LDFLAGS_AS_NEEDED $LDFLAGS_NEW_DTAGS"
29016
# Check for libraries that X11R6 Xt/Xaw programs need.
29017
ac_save_LDFLAGS="$LDFLAGS"
29018
LDFLAGS="$LDFLAGS $X_LDFLAGS"
29019
# SM needs ICE to (dynamically) link under SunOS 4.x (so we have to
29020
# check for ICE first), but we must link in the order -lSM -lICE or
29021
# we get undefined symbols. So assume we have SM if we have ICE.
29022
# These have to be linked with before -lX11, unlike the other
29023
# libraries we check for below, so use a different variable.
29024
# --interran@uluru.Stanford.EDU, kb@cs.umb.edu.
29025
{ echo "$as_me:$LINENO: checking for IceConnectionNumber in -lICE" >&5
29026
echo $ECHO_N "checking for IceConnectionNumber in -lICE... $ECHO_C" >&6; }
29027
if test "${ac_cv_lib_ICE_IceConnectionNumber+set}" = set; then
29028
echo $ECHO_N "(cached) $ECHO_C" >&6
29030
ac_check_lib_save_LIBS=$LIBS
29031
LIBS="-lICE $X_EXTRA_LIBS $LIBS"
29032
cat >conftest.$ac_ext <<_ACEOF
29035
cat confdefs.h >>conftest.$ac_ext
29036
cat >>conftest.$ac_ext <<_ACEOF
29037
/* end confdefs.h. */
29039
/* Override any GCC internal prototype to avoid an error.
29040
Use char because int might match the return type of a GCC
29041
builtin and then its argument prototype would still apply. */
29045
char IceConnectionNumber ();
29049
return IceConnectionNumber ();
29054
rm -f conftest.$ac_objext conftest$ac_exeext
29055
if { (ac_try="$ac_link"
29056
case "(($ac_try" in
29057
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29058
*) ac_try_echo=$ac_try;;
29060
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29061
(eval "$ac_link") 2>conftest.er1
29063
grep -v '^ *+' conftest.er1 >conftest.err
29065
cat conftest.err >&5
29066
echo "$as_me:$LINENO: \$? = $ac_status" >&5
29067
(exit $ac_status); } && {
29068
test -z "$ac_c_werror_flag" ||
29069
test ! -s conftest.err
29070
} && test -s conftest$ac_exeext &&
29071
$as_test_x conftest$ac_exeext; then
29072
ac_cv_lib_ICE_IceConnectionNumber=yes
29074
echo "$as_me: failed program was:" >&5
29075
sed 's/^/| /' conftest.$ac_ext >&5
29077
ac_cv_lib_ICE_IceConnectionNumber=no
29080
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
29081
conftest$ac_exeext conftest.$ac_ext
29082
LIBS=$ac_check_lib_save_LIBS
29084
{ echo "$as_me:$LINENO: result: $ac_cv_lib_ICE_IceConnectionNumber" >&5
29085
echo "${ECHO_T}$ac_cv_lib_ICE_IceConnectionNumber" >&6; }
29086
if test $ac_cv_lib_ICE_IceConnectionNumber = yes; then
29090
LDFLAGS="$ac_save_LDFLAGS"
29092
LIB_X11='-lX11 $(LIBSOCKET)'
29094
{ echo "$as_me:$LINENO: checking for libXext" >&5
29095
echo $ECHO_N "checking for libXext... $ECHO_C" >&6; }
29096
if test "${kde_cv_have_libXext+set}" = set; then
29097
echo $ECHO_N "(cached) $ECHO_C" >&6
29100
kde_ldflags_safe="$LDFLAGS"
29101
kde_libs_safe="$LIBS"
29103
LDFLAGS="$LDFLAGS $X_LDFLAGS $USER_LDFLAGS"
29104
LIBS="-lXext -lX11 $LIBSOCKET"
29106
cat >conftest.$ac_ext <<_ACEOF
29109
cat confdefs.h >>conftest.$ac_ext
29110
cat >>conftest.$ac_ext <<_ACEOF
29111
/* end confdefs.h. */
29114
#ifdef STDC_HEADERS
29115
# include <stdlib.h>
29122
printf("hello Xext\n");
29128
rm -f conftest.$ac_objext conftest$ac_exeext
29129
if { (ac_try="$ac_link"
29130
case "(($ac_try" in
29131
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29132
*) ac_try_echo=$ac_try;;
29134
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29135
(eval "$ac_link") 2>conftest.er1
29137
grep -v '^ *+' conftest.er1 >conftest.err
29139
cat conftest.err >&5
29140
echo "$as_me:$LINENO: \$? = $ac_status" >&5
29141
(exit $ac_status); } && {
29142
test -z "$ac_c_werror_flag" ||
29143
test ! -s conftest.err
29144
} && test -s conftest$ac_exeext &&
29145
$as_test_x conftest$ac_exeext; then
29146
kde_cv_have_libXext=yes
29148
echo "$as_me: failed program was:" >&5
29149
sed 's/^/| /' conftest.$ac_ext >&5
29151
kde_cv_have_libXext=no
29155
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
29156
conftest$ac_exeext conftest.$ac_ext
29158
LDFLAGS=$kde_ldflags_safe
29159
LIBS=$kde_libs_safe
29164
{ echo "$as_me:$LINENO: result: $kde_cv_have_libXext" >&5
29165
echo "${ECHO_T}$kde_cv_have_libXext" >&6; }
29167
if test "$kde_cv_have_libXext" = "no"; then
29168
{ { echo "$as_me:$LINENO: error: We need a working libXext to proceed. Since configure
29169
can't find it itself, we stop here assuming that make wouldn't find
29171
echo "$as_me: error: We need a working libXext to proceed. Since configure
29172
can't find it itself, we stop here assuming that make wouldn't find
29173
them either." >&2;}
29174
{ (exit 1); exit 1; }; }
29180
elif test "$kde_use_qt_emb" = "yes"; then
29182
CXXFLAGS="$CXXFLAGS -fno-rtti"
29183
QTE_NORTTI="-fno-rtti -DQWS"
29193
elif test "$kde_use_qt_mac" = "yes"; then
29194
CXXFLAGS="$CXXFLAGS -DQT_MAC -no-cpp-precomp"
29195
CFLAGS="$CFLAGS -DQT_MAC -no-cpp-precomp"
29221
if test -n "$PTHREAD_LIBS"; then
29222
if test "x$PTHREAD_LIBS" = "x-pthread" ; then
29223
LIBPTHREAD="PTHREAD"
29225
PTHREAD_LIBS_save="$PTHREAD_LIBS"
29226
PTHREAD_LIBS=`echo "$PTHREAD_LIBS_save" | sed -e 's,^-l,,g'`
29227
{ echo "$as_me:$LINENO: checking for pthread_create in $PTHREAD_LIBS" >&5
29228
echo $ECHO_N "checking for pthread_create in $PTHREAD_LIBS... $ECHO_C" >&6; }
29230
kde_save_LDFLAGS="$LDFLAGS"
29231
kde_save_LIBS="$LIBS"
29232
LDFLAGS="$LDFLAGS $all_libraries"
29234
aix*) LDFLAGS="-brtl $LDFLAGS"
29235
test "$GCC" = yes && LDFLAGS="-Wl,$LDFLAGS"
29238
as_ac_Lib=`echo "ac_cv_lib_$PTHREAD_LIBS''_pthread_create" | $as_tr_sh`
29239
{ echo "$as_me:$LINENO: checking for pthread_create in -l$PTHREAD_LIBS" >&5
29240
echo $ECHO_N "checking for pthread_create in -l$PTHREAD_LIBS... $ECHO_C" >&6; }
29241
if { as_var=$as_ac_Lib; eval "test \"\${$as_var+set}\" = set"; }; then
29242
echo $ECHO_N "(cached) $ECHO_C" >&6
29244
ac_check_lib_save_LIBS=$LIBS
29245
LIBS="-l$PTHREAD_LIBS $LIBS"
29246
cat >conftest.$ac_ext <<_ACEOF
29249
cat confdefs.h >>conftest.$ac_ext
29250
cat >>conftest.$ac_ext <<_ACEOF
29251
/* end confdefs.h. */
29253
/* Override any GCC internal prototype to avoid an error.
29254
Use char because int might match the return type of a GCC
29255
builtin and then its argument prototype would still apply. */
29259
char pthread_create ();
29263
return pthread_create ();
29268
rm -f conftest.$ac_objext conftest$ac_exeext
29269
if { (ac_try="$ac_link"
29270
case "(($ac_try" in
29271
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29272
*) ac_try_echo=$ac_try;;
29274
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29275
(eval "$ac_link") 2>conftest.er1
29277
grep -v '^ *+' conftest.er1 >conftest.err
29279
cat conftest.err >&5
29280
echo "$as_me:$LINENO: \$? = $ac_status" >&5
29281
(exit $ac_status); } && {
29282
test -z "$ac_c_werror_flag" ||
29283
test ! -s conftest.err
29284
} && test -s conftest$ac_exeext &&
29285
$as_test_x conftest$ac_exeext; then
29286
eval "$as_ac_Lib=yes"
29288
echo "$as_me: failed program was:" >&5
29289
sed 's/^/| /' conftest.$ac_ext >&5
29291
eval "$as_ac_Lib=no"
29294
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
29295
conftest$ac_exeext conftest.$ac_ext
29296
LIBS=$ac_check_lib_save_LIBS
29298
ac_res=`eval echo '${'$as_ac_Lib'}'`
29299
{ echo "$as_me:$LINENO: result: $ac_res" >&5
29300
echo "${ECHO_T}$ac_res" >&6; }
29301
if test `eval echo '${'$as_ac_Lib'}'` = yes; then
29302
LIBPTHREAD="$PTHREAD_LIBS_save"
29305
LDFLAGS="$kde_save_LDFLAGS"
29306
LIBS="$kde_save_LIBS"
29308
PTHREAD_LIBS="$PTHREAD_LIBS_save"
29312
if test -z "$LIBPTHREAD"; then
29313
{ echo "$as_me:$LINENO: checking for pthread_create in -lpthread" >&5
29314
echo $ECHO_N "checking for pthread_create in -lpthread... $ECHO_C" >&6; }
29315
if test "${ac_cv_lib_pthread_pthread_create+set}" = set; then
29316
echo $ECHO_N "(cached) $ECHO_C" >&6
29318
ac_check_lib_save_LIBS=$LIBS
29319
LIBS="-lpthread $LIBS"
29320
cat >conftest.$ac_ext <<_ACEOF
29323
cat confdefs.h >>conftest.$ac_ext
29324
cat >>conftest.$ac_ext <<_ACEOF
29325
/* end confdefs.h. */
29327
/* Override any GCC internal prototype to avoid an error.
29328
Use char because int might match the return type of a GCC
29329
builtin and then its argument prototype would still apply. */
29333
char pthread_create ();
29337
return pthread_create ();
29342
rm -f conftest.$ac_objext conftest$ac_exeext
29343
if { (ac_try="$ac_link"
29344
case "(($ac_try" in
29345
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29346
*) ac_try_echo=$ac_try;;
29348
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29349
(eval "$ac_link") 2>conftest.er1
29351
grep -v '^ *+' conftest.er1 >conftest.err
29353
cat conftest.err >&5
29354
echo "$as_me:$LINENO: \$? = $ac_status" >&5
29355
(exit $ac_status); } && {
29356
test -z "$ac_c_werror_flag" ||
29357
test ! -s conftest.err
29358
} && test -s conftest$ac_exeext &&
29359
$as_test_x conftest$ac_exeext; then
29360
ac_cv_lib_pthread_pthread_create=yes
29362
echo "$as_me: failed program was:" >&5
29363
sed 's/^/| /' conftest.$ac_ext >&5
29365
ac_cv_lib_pthread_pthread_create=no
29368
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
29369
conftest$ac_exeext conftest.$ac_ext
29370
LIBS=$ac_check_lib_save_LIBS
29372
{ echo "$as_me:$LINENO: result: $ac_cv_lib_pthread_pthread_create" >&5
29373
echo "${ECHO_T}$ac_cv_lib_pthread_pthread_create" >&6; }
29374
if test $ac_cv_lib_pthread_pthread_create = yes; then
29375
LIBPTHREAD="-lpthread"
29380
if test -z "$LIBPTHREAD" ; then
29381
{ echo "$as_me:$LINENO: checking for pthread_create in -lpthread" >&5
29382
echo $ECHO_N "checking for pthread_create in -lpthread... $ECHO_C" >&6; }
29383
kde_safe_libs=$LIBS
29384
LIBS="$LIBS -lpthread"
29385
cat >conftest.$ac_ext <<_ACEOF
29388
cat confdefs.h >>conftest.$ac_ext
29389
cat >>conftest.$ac_ext <<_ACEOF
29390
/* end confdefs.h. */
29391
#include <pthread.h>
29395
(void)pthread_create(0,0,0,0);
29400
rm -f conftest.$ac_objext conftest$ac_exeext
29401
if { (ac_try="$ac_link"
29402
case "(($ac_try" in
29403
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29404
*) ac_try_echo=$ac_try;;
29406
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29407
(eval "$ac_link") 2>conftest.er1
29409
grep -v '^ *+' conftest.er1 >conftest.err
29411
cat conftest.err >&5
29412
echo "$as_me:$LINENO: \$? = $ac_status" >&5
29413
(exit $ac_status); } && {
29414
test -z "$ac_c_werror_flag" ||
29415
test ! -s conftest.err
29416
} && test -s conftest$ac_exeext &&
29417
$as_test_x conftest$ac_exeext; then
29419
{ echo "$as_me:$LINENO: result: yes" >&5
29420
echo "${ECHO_T}yes" >&6; }
29421
LIBPTHREAD="-lpthread"
29423
echo "$as_me: failed program was:" >&5
29424
sed 's/^/| /' conftest.$ac_ext >&5
29427
{ echo "$as_me:$LINENO: result: no" >&5
29428
echo "${ECHO_T}no" >&6; }
29431
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
29432
conftest$ac_exeext conftest.$ac_ext
29433
LIBS=$kde_safe_libs
29436
if test "x$LIBPTHREAD" = "xPTHREAD" ; then
29444
if test -z "$LIBPTHREAD"; then
29446
{ echo "$as_me:$LINENO: checking whether $CXX supports -pthread" >&5
29447
echo $ECHO_N "checking whether $CXX supports -pthread... $ECHO_C" >&6; }
29448
kde_cache=`echo pthread | sed 'y% .=/+-,%____p__%'`
29449
if { as_var=kde_cv_prog_cxx_$kde_cache; eval "test \"\${$as_var+set}\" = set"; }; then
29450
echo $ECHO_N "(cached) $ECHO_C" >&6
29455
ac_cpp='$CXXCPP $CPPFLAGS'
29456
ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29457
ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29458
ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29460
ac_link='rm -rf SunWS_cache; ${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
29463
save_CXXFLAGS="$CXXFLAGS"
29464
CXXFLAGS="$CXXFLAGS -pthread"
29465
cat >conftest.$ac_ext <<_ACEOF
29468
cat confdefs.h >>conftest.$ac_ext
29469
cat >>conftest.$ac_ext <<_ACEOF
29470
/* end confdefs.h. */
29480
rm -f conftest.$ac_objext conftest$ac_exeext
29481
if { (ac_try="$ac_link"
29482
case "(($ac_try" in
29483
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29484
*) ac_try_echo=$ac_try;;
29486
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29487
(eval "$ac_link") 2>conftest.er1
29489
grep -v '^ *+' conftest.er1 >conftest.err
29491
cat conftest.err >&5
29492
echo "$as_me:$LINENO: \$? = $ac_status" >&5
29493
(exit $ac_status); } && {
29494
test -z "$ac_cxx_werror_flag" ||
29495
test ! -s conftest.err
29496
} && test -s conftest$ac_exeext &&
29497
$as_test_x conftest$ac_exeext; then
29498
eval "kde_cv_prog_cxx_$kde_cache=yes"
29500
echo "$as_me: failed program was:" >&5
29501
sed 's/^/| /' conftest.$ac_ext >&5
29506
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
29507
conftest$ac_exeext conftest.$ac_ext
29508
CXXFLAGS="$save_CXXFLAGS"
29510
ac_cpp='$CPP $CPPFLAGS'
29511
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29512
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29513
ac_compiler_gnu=$ac_cv_c_compiler_gnu
29518
if eval "test \"`echo '$kde_cv_prog_cxx_'$kde_cache`\" = yes"; then
29519
{ echo "$as_me:$LINENO: result: yes" >&5
29520
echo "${ECHO_T}yes" >&6; }
29522
USE_THREADS="-D_THREAD_SAFE -pthread"
29524
{ echo "$as_me:$LINENO: result: no" >&5
29525
echo "${ECHO_T}no" >&6; }
29537
{ echo "$as_me:$LINENO: checking whether $CXX supports -mt" >&5
29538
echo $ECHO_N "checking whether $CXX supports -mt... $ECHO_C" >&6; }
29539
kde_cache=`echo mt | sed 'y% .=/+-,%____p__%'`
29540
if { as_var=kde_cv_prog_cxx_$kde_cache; eval "test \"\${$as_var+set}\" = set"; }; then
29541
echo $ECHO_N "(cached) $ECHO_C" >&6
29546
ac_cpp='$CXXCPP $CPPFLAGS'
29547
ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29548
ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29549
ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29551
ac_link='rm -rf SunWS_cache; ${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
29554
save_CXXFLAGS="$CXXFLAGS"
29555
CXXFLAGS="$CXXFLAGS -mt"
29556
cat >conftest.$ac_ext <<_ACEOF
29559
cat confdefs.h >>conftest.$ac_ext
29560
cat >>conftest.$ac_ext <<_ACEOF
29561
/* end confdefs.h. */
29571
rm -f conftest.$ac_objext conftest$ac_exeext
29572
if { (ac_try="$ac_link"
29573
case "(($ac_try" in
29574
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29575
*) ac_try_echo=$ac_try;;
29577
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29578
(eval "$ac_link") 2>conftest.er1
29580
grep -v '^ *+' conftest.er1 >conftest.err
29582
cat conftest.err >&5
29583
echo "$as_me:$LINENO: \$? = $ac_status" >&5
29584
(exit $ac_status); } && {
29585
test -z "$ac_cxx_werror_flag" ||
29586
test ! -s conftest.err
29587
} && test -s conftest$ac_exeext &&
29588
$as_test_x conftest$ac_exeext; then
29589
eval "kde_cv_prog_cxx_$kde_cache=yes"
29591
echo "$as_me: failed program was:" >&5
29592
sed 's/^/| /' conftest.$ac_ext >&5
29597
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
29598
conftest$ac_exeext conftest.$ac_ext
29599
CXXFLAGS="$save_CXXFLAGS"
29601
ac_cpp='$CPP $CPPFLAGS'
29602
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29603
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29604
ac_compiler_gnu=$ac_cv_c_compiler_gnu
29609
if eval "test \"`echo '$kde_cv_prog_cxx_'$kde_cache`\" = yes"; then
29610
{ echo "$as_me:$LINENO: result: yes" >&5
29611
echo "${ECHO_T}yes" >&6; }
29615
{ echo "$as_me:$LINENO: result: no" >&5
29616
echo "${ECHO_T}no" >&6; }
29621
CPPFLAGS="$CPPFLAGS -D_REENTRANT -D_POSIX_PTHREAD_SEMANTICS -DUSE_SOLARIS -DSVR4"
29624
CPPFLAGS="$CPPFLAGS -D_THREAD_SAFE $PTHREAD_CFLAGS"
29627
CPPFLAGS="$CPPFLAGS -D_THREAD_SAFE"
29628
LIBPTHREAD="$LIBPTHREAD -lc_r"
29630
linux*) CPPFLAGS="$CPPFLAGS -D_REENTRANT"
29631
if test "$CXX" = "KCC"; then
29632
CXXFLAGS="$CXXFLAGS --thread_safe"
29633
NOOPT_CXXFLAGS="$NOOPT_CXXFLAGS --thread_safe"
29643
{ echo "$as_me:$LINENO: checking for extra includes" >&5
29644
echo $ECHO_N "checking for extra includes... $ECHO_C" >&6; }
29646
# Check whether --with-extra-includes was given.
29647
if test "${with_extra_includes+set}" = set; then
29648
withval=$with_extra_includes; kde_use_extra_includes="$withval"
29650
kde_use_extra_includes=NONE
29654
kde_extra_includes=
29655
if test -n "$kde_use_extra_includes" && \
29656
test "$kde_use_extra_includes" != "NONE"; then
29660
for dir in $kde_use_extra_includes; do
29661
kde_extra_includes="$kde_extra_includes $dir"
29662
USER_INCLUDES="$USER_INCLUDES -I$dir"
29665
kde_use_extra_includes="added"
29667
kde_use_extra_includes="no"
29671
{ echo "$as_me:$LINENO: result: $kde_use_extra_includes" >&5
29672
echo "${ECHO_T}$kde_use_extra_includes" >&6; }
29675
{ echo "$as_me:$LINENO: checking for extra libs" >&5
29676
echo $ECHO_N "checking for extra libs... $ECHO_C" >&6; }
29678
# Check whether --with-extra-libs was given.
29679
if test "${with_extra_libs+set}" = set; then
29680
withval=$with_extra_libs; kde_use_extra_libs=$withval
29682
kde_use_extra_libs=NONE
29686
if test -n "$kde_use_extra_libs" && \
29687
test "$kde_use_extra_libs" != "NONE"; then
29691
for dir in $kde_use_extra_libs; do
29692
kde_extra_libs="$kde_extra_libs $dir"
29693
KDE_EXTRA_RPATH="$KDE_EXTRA_RPATH -R $dir"
29694
USER_LDFLAGS="$USER_LDFLAGS -L$dir"
29697
kde_use_extra_libs="added"
29699
kde_use_extra_libs="no"
29704
{ echo "$as_me:$LINENO: result: $kde_use_extra_libs" >&5
29705
echo "${ECHO_T}$kde_use_extra_libs" >&6; }
29710
{ echo "$as_me:$LINENO: checking for libz" >&5
29711
echo $ECHO_N "checking for libz... $ECHO_C" >&6; }
29712
if test "${ac_cv_lib_z+set}" = set; then
29713
echo $ECHO_N "(cached) $ECHO_C" >&6
29716
kde_save_LIBS="$LIBS"
29717
LIBS="$all_libraries $USER_LDFLAGS -lz $LIBSOCKET"
29718
kde_save_CFLAGS="$CFLAGS"
29719
CFLAGS="$CFLAGS $all_includes $USER_INCLUDES"
29720
cat >conftest.$ac_ext <<_ACEOF
29723
cat confdefs.h >>conftest.$ac_ext
29724
cat >>conftest.$ac_ext <<_ACEOF
29725
/* end confdefs.h. */
29734
gzFile f = (gzFile) 0;
29735
/* this would segfault.. but we only link, don't run */
29736
(void) gzgets(f, buf, sizeof(buf));
29738
return (zlibVersion() == ZLIB_VERSION);
29744
rm -f conftest.$ac_objext conftest$ac_exeext
29745
if { (ac_try="$ac_link"
29746
case "(($ac_try" in
29747
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29748
*) ac_try_echo=$ac_try;;
29750
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29751
(eval "$ac_link") 2>conftest.er1
29753
grep -v '^ *+' conftest.er1 >conftest.err
29755
cat conftest.err >&5
29756
echo "$as_me:$LINENO: \$? = $ac_status" >&5
29757
(exit $ac_status); } && {
29758
test -z "$ac_c_werror_flag" ||
29759
test ! -s conftest.err
29760
} && test -s conftest$ac_exeext &&
29761
$as_test_x conftest$ac_exeext; then
29762
eval "ac_cv_lib_z='-lz'"
29764
echo "$as_me: failed program was:" >&5
29765
sed 's/^/| /' conftest.$ac_ext >&5
29767
eval "ac_cv_lib_z=no"
29770
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
29771
conftest$ac_exeext conftest.$ac_ext
29772
LIBS="$kde_save_LIBS"
29773
CFLAGS="$kde_save_CFLAGS"
29776
if test ! "$ac_cv_lib_z" = no; then
29778
cat >>confdefs.h <<_ACEOF
29779
#define HAVE_LIBZ 1
29782
LIBZ="$ac_cv_lib_z"
29783
{ echo "$as_me:$LINENO: result: $ac_cv_lib_z" >&5
29784
echo "${ECHO_T}$ac_cv_lib_z" >&6; }
29786
{ { echo "$as_me:$LINENO: error: not found.
29787
Possibly configure picks up an outdated version
29788
installed by XFree86. Remove it from your system.
29790
Check your installation and look into config.log" >&5
29791
echo "$as_me: error: not found.
29792
Possibly configure picks up an outdated version
29793
installed by XFree86. Remove it from your system.
29795
Check your installation and look into config.log" >&2;}
29796
{ (exit 1); exit 1; }; }
29804
{ echo "$as_me:$LINENO: checking for libpng" >&5
29805
echo $ECHO_N "checking for libpng... $ECHO_C" >&6; }
29806
if test "${ac_cv_lib_png+set}" = set; then
29807
echo $ECHO_N "(cached) $ECHO_C" >&6
29810
kde_save_LIBS="$LIBS"
29811
if test "x$kde_use_qt_emb" != "xyes" && test "x$kde_use_qt_mac" != "xyes"; then
29812
LIBS="$LIBS $all_libraries $USER_LDFLAGS -lpng $LIBZ -lm -lX11 $LIBSOCKET"
29814
LIBS="$LIBS $all_libraries $USER_LDFLAGS -lpng $LIBZ -lm"
29816
kde_save_CFLAGS="$CFLAGS"
29817
CFLAGS="$CFLAGS $all_includes $USER_INCLUDES"
29819
cat >conftest.$ac_ext <<_ACEOF
29822
cat confdefs.h >>conftest.$ac_ext
29823
cat >>conftest.$ac_ext <<_ACEOF
29824
/* end confdefs.h. */
29832
png_structp png_ptr = png_create_read_struct( /* image ptr */
29833
PNG_LIBPNG_VER_STRING, 0, 0, 0 );
29834
return( png_ptr != 0 );
29840
rm -f conftest.$ac_objext conftest$ac_exeext
29841
if { (ac_try="$ac_link"
29842
case "(($ac_try" in
29843
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29844
*) ac_try_echo=$ac_try;;
29846
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29847
(eval "$ac_link") 2>conftest.er1
29849
grep -v '^ *+' conftest.er1 >conftest.err
29851
cat conftest.err >&5
29852
echo "$as_me:$LINENO: \$? = $ac_status" >&5
29853
(exit $ac_status); } && {
29854
test -z "$ac_c_werror_flag" ||
29855
test ! -s conftest.err
29856
} && test -s conftest$ac_exeext &&
29857
$as_test_x conftest$ac_exeext; then
29858
eval "ac_cv_lib_png='-lpng $LIBZ -lm'"
29860
echo "$as_me: failed program was:" >&5
29861
sed 's/^/| /' conftest.$ac_ext >&5
29863
eval "ac_cv_lib_png=no"
29867
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
29868
conftest$ac_exeext conftest.$ac_ext
29869
LIBS="$kde_save_LIBS"
29870
CFLAGS="$kde_save_CFLAGS"
29873
if eval "test ! \"`echo $ac_cv_lib_png`\" = no"; then
29875
cat >>confdefs.h <<_ACEOF
29876
#define HAVE_LIBPNG 1
29879
LIBPNG="$ac_cv_lib_png"
29881
{ echo "$as_me:$LINENO: result: $ac_cv_lib_png" >&5
29882
echo "${ECHO_T}$ac_cv_lib_png" >&6; }
29884
{ echo "$as_me:$LINENO: result: no" >&5
29885
echo "${ECHO_T}no" >&6; }
29892
{ echo "$as_me:$LINENO: checking for libjpeg6b" >&5
29893
echo $ECHO_N "checking for libjpeg6b... $ECHO_C" >&6; }
29894
if test "${ac_cv_lib_jpeg_6b+set}" = set; then
29895
echo $ECHO_N "(cached) $ECHO_C" >&6
29898
ac_save_LIBS="$LIBS"
29899
LIBS="$all_libraries $USER_LDFLAGS -ljpeg6b -lm"
29900
ac_save_CFLAGS="$CFLAGS"
29901
CFLAGS="$CFLAGS $all_includes $USER_INCLUDES"
29902
cat >conftest.$ac_ext <<_ACEOF
29905
cat confdefs.h >>conftest.$ac_ext
29906
cat >>conftest.$ac_ext <<_ACEOF
29907
/* end confdefs.h. */
29912
void jpeg_CreateDecompress();
29920
jpeg_CreateDecompress();
29925
rm -f conftest.$ac_objext conftest$ac_exeext
29926
if { (ac_try="$ac_link"
29927
case "(($ac_try" in
29928
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29929
*) ac_try_echo=$ac_try;;
29931
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29932
(eval "$ac_link") 2>conftest.er1
29934
grep -v '^ *+' conftest.er1 >conftest.err
29936
cat conftest.err >&5
29937
echo "$as_me:$LINENO: \$? = $ac_status" >&5
29938
(exit $ac_status); } && {
29939
test -z "$ac_c_werror_flag" ||
29940
test ! -s conftest.err
29941
} && test -s conftest$ac_exeext &&
29942
$as_test_x conftest$ac_exeext; then
29943
eval "ac_cv_lib_jpeg_6b=-ljpeg6b"
29945
echo "$as_me: failed program was:" >&5
29946
sed 's/^/| /' conftest.$ac_ext >&5
29948
eval "ac_cv_lib_jpeg_6b=no"
29951
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
29952
conftest$ac_exeext conftest.$ac_ext
29953
LIBS="$ac_save_LIBS"
29954
CFLAGS="$ac_save_CFLAGS"
29959
if eval "test ! \"`echo $ac_cv_lib_jpeg_6b`\" = no"; then
29960
LIBJPEG="$ac_cv_lib_jpeg_6b"
29961
{ echo "$as_me:$LINENO: result: $ac_cv_lib_jpeg_6b" >&5
29962
echo "${ECHO_T}$ac_cv_lib_jpeg_6b" >&6; }
29964
{ echo "$as_me:$LINENO: result: no" >&5
29965
echo "${ECHO_T}no" >&6; }
29967
{ echo "$as_me:$LINENO: checking for libjpeg" >&5
29968
echo $ECHO_N "checking for libjpeg... $ECHO_C" >&6; }
29969
if test "${ac_cv_lib_jpeg_normal+set}" = set; then
29970
echo $ECHO_N "(cached) $ECHO_C" >&6
29973
ac_save_LIBS="$LIBS"
29974
LIBS="$all_libraries $USER_LDFLAGS -ljpeg -lm"
29975
ac_save_CFLAGS="$CFLAGS"
29976
CFLAGS="$CFLAGS $all_includes $USER_INCLUDES"
29977
cat >conftest.$ac_ext <<_ACEOF
29980
cat confdefs.h >>conftest.$ac_ext
29981
cat >>conftest.$ac_ext <<_ACEOF
29982
/* end confdefs.h. */
29987
void jpeg_CreateDecompress();
29995
jpeg_CreateDecompress();
30000
rm -f conftest.$ac_objext conftest$ac_exeext
30001
if { (ac_try="$ac_link"
30002
case "(($ac_try" in
30003
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
30004
*) ac_try_echo=$ac_try;;
30006
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30007
(eval "$ac_link") 2>conftest.er1
30009
grep -v '^ *+' conftest.er1 >conftest.err
30011
cat conftest.err >&5
30012
echo "$as_me:$LINENO: \$? = $ac_status" >&5
30013
(exit $ac_status); } && {
30014
test -z "$ac_c_werror_flag" ||
30015
test ! -s conftest.err
30016
} && test -s conftest$ac_exeext &&
30017
$as_test_x conftest$ac_exeext; then
30018
eval "ac_cv_lib_jpeg_normal=-ljpeg"
30020
echo "$as_me: failed program was:" >&5
30021
sed 's/^/| /' conftest.$ac_ext >&5
30023
eval "ac_cv_lib_jpeg_normal=no"
30026
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
30027
conftest$ac_exeext conftest.$ac_ext
30028
LIBS="$ac_save_LIBS"
30029
CFLAGS="$ac_save_CFLAGS"
30034
if eval "test ! \"`echo $ac_cv_lib_jpeg_normal`\" = no"; then
30035
LIBJPEG="$ac_cv_lib_jpeg_normal"
30036
{ echo "$as_me:$LINENO: result: $ac_cv_lib_jpeg_normal" >&5
30037
echo "${ECHO_T}$ac_cv_lib_jpeg_normal" >&6; }
30039
{ echo "$as_me:$LINENO: result: no" >&5
30040
echo "${ECHO_T}no" >&6; }
30053
jpeg_incdirs="$includedir /usr/include /usr/local/include $kde_extra_includes"
30056
for i in $jpeg_incdirs;
30058
for j in jpeglib.h;
30060
echo "configure: 30060: $i/$j" >&5
30061
if test -r "$i/$j"; then
30062
echo "taking that" >&5
30069
test "x$jpeg_incdir" = xNO && jpeg_incdir=
30071
if test -n "$jpeg_incdir" && test -n "$LIBJPEG" ; then
30073
cat >>confdefs.h <<_ACEOF
30074
#define HAVE_LIBJPEG 1
30078
if test -n "$jpeg_incdir" || test -n "$LIBJPEG" ; then
30079
{ echo "$as_me:$LINENO: WARNING:
30080
There is an installation error in jpeg support. You seem to have only one
30081
of either the headers _or_ the libraries installed. You may need to either
30082
provide correct --with-extra-... options, or the development package of
30083
libjpeg6b. You can get a source package of libjpeg from http://www.ijg.org/
30084
Disabling JPEG support.
30086
echo "$as_me: WARNING:
30087
There is an installation error in jpeg support. You seem to have only one
30088
of either the headers _or_ the libraries installed. You may need to either
30089
provide correct --with-extra-... options, or the development package of
30090
libjpeg6b. You can get a source package of libjpeg from http://www.ijg.org/
30091
Disabling JPEG support.
30094
{ echo "$as_me:$LINENO: WARNING: libjpeg not found. disable JPEG support." >&5
30095
echo "$as_me: WARNING: libjpeg not found. disable JPEG support." >&2;}
30107
{ echo "$as_me:$LINENO: checking for perl" >&5
30108
echo $ECHO_N "checking for perl... $ECHO_C" >&6; }
30109
if test -n "$PERL"; then
30110
kde_cv_path="$PERL";
30112
kde_cache=`echo perl | sed 'y%./+-%__p_%'`
30114
if { as_var=kde_cv_path_$kde_cache; eval "test \"\${$as_var+set}\" = set"; }; then
30115
echo $ECHO_N "(cached) $ECHO_C" >&6
30122
for dir in $PATH; do
30125
if test -z ""; then dirs="$bindir $exec_prefix/bin $prefix/bin $dirs"
30126
else dirs="$dirs $bindir $exec_prefix/bin $prefix/bin"
30130
for dir in $dirs; do
30131
if test -x "$dir/perl"; then
30134
evalstr="$dir/perl 2>&1 "
30135
if eval $evalstr; then
30136
kde_cv_path="$dir/perl"
30140
kde_cv_path="$dir/perl"
30146
eval "kde_cv_path_$kde_cache=$kde_cv_path"
30152
eval "kde_cv_path=\"`echo '$kde_cv_path_'$kde_cache`\""
30156
if test -z "$kde_cv_path" || test "$kde_cv_path" = NONE; then
30157
{ echo "$as_me:$LINENO: result: not found" >&5
30158
echo "${ECHO_T}not found" >&6; }
30160
{ { echo "$as_me:$LINENO: error: No Perl found in your $PATH.
30161
We need perl to generate some code." >&5
30162
echo "$as_me: error: No Perl found in your $PATH.
30163
We need perl to generate some code." >&2;}
30164
{ (exit 1); exit 1; }; }
30167
{ echo "$as_me:$LINENO: result: $kde_cv_path" >&5
30168
echo "${ECHO_T}$kde_cv_path" >&6; }
30182
# Check whether --enable-mt was given.
30183
if test "${enable_mt+set}" = set; then
30184
enableval=$enable_mt; kde_use_qt_mt=$enableval
30187
if test $kde_qtver = 3; then
30202
if test "x$kde_use_qt_mt" = "xyes"; then
30206
if test -z "$LIBPTHREAD"; then
30207
if test -z "$USE_THREADS"; then
30208
kde_check_threading_default=no
30210
kde_check_threading_default=yes
30213
kde_check_threading_default=yes
30215
# Check whether --enable-threading was given.
30216
if test "${enable_threading+set}" = set; then
30217
enableval=$enable_threading; kde_use_threading=$enableval
30219
kde_use_threading=$kde_check_threading_default
30222
if test "x$kde_use_threading" = "xyes"; then
30224
cat >>confdefs.h <<\_ACEOF
30225
#define HAVE_LIBPTHREAD 1
30230
if test "x$kde_use_threading" = "xyes"; then
30231
CPPFLAGS="$USE_THREADS -DQT_THREAD_SUPPORT $CPPFLAGS"
30232
KDE_MT_LDFLAGS="$USE_THREADS"
30233
KDE_MT_LIBS="$LIBPTHREAD"
30241
kde_qt_was_given=yes
30243
if test -z "$LIBQT_GLOB"; then
30244
if test "x$kde_use_qt_emb" = "xyes"; then
30245
LIBQT_GLOB="libqte.*"
30247
LIBQT_GLOB="libqt.*"
30251
if test "x$kde_use_qt_emb" = "xyes"; then
30257
kde_int_qt="-l$qtlib"
30259
if test -z "$LIBQPE"; then
30260
if test "x$kde_use_qt_emb" = "xyes"; then
30261
if test "x$kde_use_qt_emb_palm" = "xyes"; then
30272
if test "x$kde_use_qt_mt" = "xyes"; then
30273
LIBQT="-l$qtlib-mt"
30274
kde_int_qt="-l$qtlib-mt"
30275
LIBQT_GLOB="lib$qtlib-mt.*"
30276
USING_QT_MT="using -mt"
30281
if test $kde_qtver != 1; then
30285
LIBQT="$LIBQT $LIBPNG $LIBJPEG"
30288
if test $kde_qtver = 3; then
30290
LIBQT="$LIBQT $LIBDL"
30293
{ echo "$as_me:$LINENO: checking for Qt" >&5
30294
echo $ECHO_N "checking for Qt... $ECHO_C" >&6; }
30296
if test "x$kde_use_qt_emb" != "xyes" && test "x$kde_use_qt_mac" != "xyes"; then
30297
LIBQT="$LIBQT $X_PRE_LIBS -lXext -lX11 $LIBSM $LIBSOCKET"
30299
ac_qt_includes=NO ac_qt_libraries=NO ac_qt_bindir=NO
30303
# Check whether --with-qt-dir was given.
30304
if test "${with_qt_dir+set}" = set; then
30305
withval=$with_qt_dir; ac_qt_includes="$withval"/include
30306
ac_qt_libraries="$withval"/lib${kdelibsuff}
30307
ac_qt_bindir="$withval"/bin
30313
# Check whether --with-qt-includes was given.
30314
if test "${with_qt_includes+set}" = set; then
30315
withval=$with_qt_includes;
30316
ac_qt_includes="$withval"
30321
kde_qt_libs_given=no
30324
# Check whether --with-qt-libraries was given.
30325
if test "${with_qt_libraries+set}" = set; then
30326
withval=$with_qt_libraries; ac_qt_libraries="$withval"
30327
kde_qt_libs_given=yes
30332
if test "${ac_cv_have_qt+set}" = set; then
30333
echo $ECHO_N "(cached) $ECHO_C" >&6
30335
#try to guess Qt locations
30338
for dir in $kde_qt_dirs; do
30339
qt_incdirs="$qt_incdirs $dir/include $dir"
30341
qt_incdirs="$QTINC $qt_incdirs /usr/local/qt/include /usr/include/qt /usr/include /usr/X11R6/include/X11/qt /usr/X11R6/include/qt /usr/X11R6/include/qt2 /usr/include/qt3 $x_includes"
30342
if test ! "$ac_qt_includes" = "NO"; then
30343
qt_incdirs="$ac_qt_includes $qt_incdirs"
30346
if test "$kde_qtver" != "1"; then
30347
kde_qt_header=qstyle.h
30349
kde_qt_header=qglobal.h
30354
for i in $qt_incdirs;
30356
for j in $kde_qt_header;
30358
echo "configure: 30358: $i/$j" >&5
30359
if test -r "$i/$j"; then
30360
echo "taking that" >&5
30367
ac_qt_includes="$qt_incdir"
30370
for dir in $kde_qt_dirs; do
30371
qt_libdirs="$qt_libdirs $dir/lib${kdelibsuff} $dir"
30373
qt_libdirs="$QTLIB $qt_libdirs /usr/X11R6/lib /usr/lib /usr/local/qt/lib $x_libraries"
30374
if test ! "$ac_qt_libraries" = "NO"; then
30375
qt_libdir=$ac_qt_libraries
30377
qt_libdirs="$ac_qt_libraries $qt_libdirs"
30378
# if the Qt was given, the chance is too big that libqt.* doesn't exist
30380
for dir in $qt_libdirs; do
30381
try="ls -1 $dir/${LIBQT_GLOB}"
30382
if test -n "`$try 2> /dev/null`"; then qt_libdir=$dir; break; else echo "tried $dir" >&5 ; fi
30385
for a in $qt_libdir/lib`echo ${kde_int_qt} | sed 's,^-l,,'`_incremental.*; do
30386
if test -e "$a"; then
30387
LIBQT="$LIBQT ${kde_int_qt}_incremental"
30392
ac_qt_libraries="$qt_libdir"
30396
ac_cpp='$CXXCPP $CPPFLAGS'
30397
ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30398
ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30399
ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30401
ac_link='rm -rf SunWS_cache; ${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
30405
ac_cxxflags_safe="$CXXFLAGS"
30406
ac_ldflags_safe="$LDFLAGS"
30407
ac_libs_safe="$LIBS"
30409
CXXFLAGS="$CXXFLAGS -I$qt_incdir $all_includes"
30410
LDFLAGS="$LDFLAGS -L$qt_libdir $all_libraries $USER_LDFLAGS $KDE_MT_LDFLAGS"
30411
LIBS="$LIBS $LIBQT $KDE_MT_LIBS"
30415
cat > conftest.$ac_ext <<EOF
30416
#include "confdefs.h"
30417
#include <qglobal.h>
30418
#include <qapplication.h>
30420
if test "$kde_qtver" = "2"; then
30421
cat >> conftest.$ac_ext <<EOF
30422
#include <qevent.h>
30423
#include <qstring.h>
30424
#include <qstyle.h>
30427
if test $kde_qtsubver -gt 0; then
30428
cat >> conftest.$ac_ext <<EOF
30429
#if QT_VERSION < 210
30436
if test "$kde_qtver" = "3"; then
30437
cat >> conftest.$ac_ext <<EOF
30438
#include <qcursor.h>
30439
#include <qstylefactory.h>
30440
#include <private/qucomextra_p.h>
30444
echo "#if ! ($kde_qt_verstring)" >> conftest.$ac_ext
30445
cat >> conftest.$ac_ext <<EOF
30451
if test "$kde_qtver" = "2"; then
30452
cat >> conftest.$ac_ext <<EOF
30453
QStringList *t = new QStringList();
30456
if test $kde_qtsubver -gt 0; then
30457
cat >> conftest.$ac_ext <<EOF
30459
s.setLatin1("Elvis is alive", 14);
30463
if test "$kde_qtver" = "3"; then
30464
cat >> conftest.$ac_ext <<EOF
30465
(void)QStyleFactory::create(QString::null);
30466
QCursor c(Qt::WhatsThisCursor);
30469
cat >> conftest.$ac_ext <<EOF
30475
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
30476
(eval $ac_link) 2>&5
30478
echo "$as_me:$LINENO: \$? = $ac_status" >&5
30479
(exit $ac_status); } && test -s conftest; then
30482
echo "configure: failed program was:" >&5
30483
cat conftest.$ac_ext >&5
30484
ac_qt_libraries="NO"
30487
CXXFLAGS="$ac_cxxflags_safe"
30488
LDFLAGS="$ac_ldflags_safe"
30489
LIBS="$ac_libs_safe"
30492
ac_cpp='$CPP $CPPFLAGS'
30493
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30494
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30495
ac_compiler_gnu=$ac_cv_c_compiler_gnu
30497
if test "$ac_qt_includes" = NO || test "$ac_qt_libraries" = NO; then
30498
ac_cv_have_qt="have_qt=no"
30501
if test "$ac_qt_includes" = NO; then
30502
if test "$ac_qt_libraries" = NO; then
30503
ac_qt_notfound="(headers and libraries)";
30505
ac_qt_notfound="(headers)";
30508
if test "x$kde_use_qt_mt" = "xyes"; then
30510
Make sure that you have compiled Qt with thread support!"
30511
ac_qt_notfound="(library $qtlib-mt)";
30513
ac_qt_notfound="(library $qtlib)";
30517
{ { echo "$as_me:$LINENO: error: Qt ($kde_qt_minversion) $ac_qt_notfound not found. Please check your installation!
30518
For more details about this problem, look at the end of config.log.$missing_qt_mt" >&5
30519
echo "$as_me: error: Qt ($kde_qt_minversion) $ac_qt_notfound not found. Please check your installation!
30520
For more details about this problem, look at the end of config.log.$missing_qt_mt" >&2;}
30521
{ (exit 1); exit 1; }; }
30529
eval "$ac_cv_have_qt"
30531
if test "$have_qt" != yes; then
30532
{ echo "$as_me:$LINENO: result: $have_qt" >&5
30533
echo "${ECHO_T}$have_qt" >&6; };
30535
ac_cv_have_qt="have_qt=yes \
30536
ac_qt_includes=$ac_qt_includes ac_qt_libraries=$ac_qt_libraries"
30537
{ echo "$as_me:$LINENO: result: libraries $ac_qt_libraries, headers $ac_qt_includes $USING_QT_MT" >&5
30538
echo "${ECHO_T}libraries $ac_qt_libraries, headers $ac_qt_includes $USING_QT_MT" >&6; }
30540
qt_libraries="$ac_qt_libraries"
30541
qt_includes="$ac_qt_includes"
30544
if test ! "$kde_qt_libs_given" = "yes" && test ! "$kde_qtver" = 3; then
30547
{ echo "$as_me:$LINENO: checking if Qt compiles without flags" >&5
30548
echo $ECHO_N "checking if Qt compiles without flags... $ECHO_C" >&6; }
30549
if test "${kde_cv_qt_direct+set}" = set; then
30550
echo $ECHO_N "(cached) $ECHO_C" >&6
30555
ac_cpp='$CXXCPP $CPPFLAGS'
30556
ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30557
ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30558
ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30560
ac_link='rm -rf SunWS_cache; ${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
30563
ac_LD_LIBRARY_PATH_safe=$LD_LIBRARY_PATH
30564
ac_LIBRARY_PATH="$LIBRARY_PATH"
30565
ac_cxxflags_safe="$CXXFLAGS"
30566
ac_ldflags_safe="$LDFLAGS"
30567
ac_libs_safe="$LIBS"
30569
CXXFLAGS="$CXXFLAGS -I$qt_includes"
30570
LDFLAGS="$LDFLAGS $X_LDFLAGS"
30571
if test "x$kde_use_qt_emb" != "xyes" && test "x$kde_use_qt_mac" != "xyes"; then
30572
LIBS="$LIBQT -lXext -lX11 $LIBSOCKET"
30574
LIBS="$LIBQT $LIBSOCKET"
30577
export LD_LIBRARY_PATH
30579
export LIBRARY_PATH
30583
cat > conftest.$ac_ext <<EOF
30584
#include "confdefs.h"
30585
#include <qglobal.h>
30586
#include <qapplication.h>
30588
if test "$kde_qtver" = "2"; then
30589
cat >> conftest.$ac_ext <<EOF
30590
#include <qevent.h>
30591
#include <qstring.h>
30592
#include <qstyle.h>
30595
if test $kde_qtsubver -gt 0; then
30596
cat >> conftest.$ac_ext <<EOF
30597
#if QT_VERSION < 210
30604
if test "$kde_qtver" = "3"; then
30605
cat >> conftest.$ac_ext <<EOF
30606
#include <qcursor.h>
30607
#include <qstylefactory.h>
30608
#include <private/qucomextra_p.h>
30612
echo "#if ! ($kde_qt_verstring)" >> conftest.$ac_ext
30613
cat >> conftest.$ac_ext <<EOF
30619
if test "$kde_qtver" = "2"; then
30620
cat >> conftest.$ac_ext <<EOF
30621
QStringList *t = new QStringList();
30624
if test $kde_qtsubver -gt 0; then
30625
cat >> conftest.$ac_ext <<EOF
30627
s.setLatin1("Elvis is alive", 14);
30631
if test "$kde_qtver" = "3"; then
30632
cat >> conftest.$ac_ext <<EOF
30633
(void)QStyleFactory::create(QString::null);
30634
QCursor c(Qt::WhatsThisCursor);
30637
cat >> conftest.$ac_ext <<EOF
30643
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
30644
(eval $ac_link) 2>&5
30646
echo "$as_me:$LINENO: \$? = $ac_status" >&5
30647
(exit $ac_status); } && test -s conftest; then
30648
kde_cv_qt_direct="yes"
30650
kde_cv_qt_direct="no"
30651
echo "configure: failed program was:" >&5
30652
cat conftest.$ac_ext >&5
30656
CXXFLAGS="$ac_cxxflags_safe"
30657
LDFLAGS="$ac_ldflags_safe"
30658
LIBS="$ac_libs_safe"
30660
LD_LIBRARY_PATH="$ac_LD_LIBRARY_PATH_safe"
30661
export LD_LIBRARY_PATH
30662
LIBRARY_PATH="$ac_LIBRARY_PATH"
30663
export LIBRARY_PATH
30665
ac_cpp='$CPP $CPPFLAGS'
30666
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30667
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30668
ac_compiler_gnu=$ac_cv_c_compiler_gnu
30674
if test "$kde_cv_qt_direct" = "yes"; then
30675
{ echo "$as_me:$LINENO: result: yes" >&5
30676
echo "${ECHO_T}yes" >&6; }
30679
{ echo "$as_me:$LINENO: result: no" >&5
30680
echo "${ECHO_T}no" >&6; }
30689
if test "$qt_includes" = "$x_includes" || test -z "$qt_includes"; then
30692
QT_INCLUDES="-I$qt_includes"
30693
all_includes="$QT_INCLUDES $all_includes"
30696
if test "$qt_libraries" = "$x_libraries" || test -z "$qt_libraries"; then
30699
QT_LDFLAGS="-L$qt_libraries"
30700
all_libraries="$QT_LDFLAGS $all_libraries"
30702
test -z "$KDE_MT_LDFLAGS" || all_libraries="$all_libraries $KDE_MT_LDFLAGS"
30709
for dir in $kde_qt_dirs; do
30710
qt_bindirs="$qt_bindirs $dir/bin $dir/src/moc"
30712
qt_bindirs="$qt_bindirs /usr/bin /usr/X11R6/bin /usr/local/qt/bin"
30713
if test ! "$ac_qt_bindir" = "NO"; then
30714
qt_bindirs="$ac_qt_bindir $qt_bindirs"
30718
{ echo "$as_me:$LINENO: checking for moc" >&5
30719
echo $ECHO_N "checking for moc... $ECHO_C" >&6; }
30720
if test -n "$MOC"; then
30721
kde_cv_path="$MOC";
30723
kde_cache=`echo moc | sed 'y%./+-%__p_%'`
30725
if { as_var=kde_cv_path_$kde_cache; eval "test \"\${$as_var+set}\" = set"; }; then
30726
echo $ECHO_N "(cached) $ECHO_C" >&6
30733
for dir in $PATH; do
30736
if test -z ""; then dirs="$qt_bindirs $dirs"
30737
else dirs="$dirs $qt_bindirs"
30741
for dir in $dirs; do
30742
if test -x "$dir/moc"; then
30745
evalstr="$dir/moc 2>&1 "
30746
if eval $evalstr; then
30747
kde_cv_path="$dir/moc"
30751
kde_cv_path="$dir/moc"
30757
eval "kde_cv_path_$kde_cache=$kde_cv_path"
30763
eval "kde_cv_path=\"`echo '$kde_cv_path_'$kde_cache`\""
30767
if test -z "$kde_cv_path" || test "$kde_cv_path" = NONE; then
30768
{ echo "$as_me:$LINENO: result: not found" >&5
30769
echo "${ECHO_T}not found" >&6; }
30771
{ { echo "$as_me:$LINENO: error: No Qt meta object compiler (moc) found!
30772
Please check whether you installed Qt correctly.
30773
You need to have a running moc binary.
30774
configure tried to run $ac_cv_path_moc and the test didn't
30775
succeed. If configure shouldn't have tried this one, set
30776
the environment variable MOC to the right one before running
30779
echo "$as_me: error: No Qt meta object compiler (moc) found!
30780
Please check whether you installed Qt correctly.
30781
You need to have a running moc binary.
30782
configure tried to run $ac_cv_path_moc and the test didn't
30783
succeed. If configure shouldn't have tried this one, set
30784
the environment variable MOC to the right one before running
30787
{ (exit 1); exit 1; }; }
30790
{ echo "$as_me:$LINENO: result: $kde_cv_path" >&5
30791
echo "${ECHO_T}$kde_cv_path" >&6; }
30796
if test -z "$UIC_NOT_NEEDED"; then
30798
{ echo "$as_me:$LINENO: checking for uic" >&5
30799
echo $ECHO_N "checking for uic... $ECHO_C" >&6; }
30800
if test -n "$UIC_PATH"; then
30801
kde_cv_path="$UIC_PATH";
30803
kde_cache=`echo uic | sed 'y%./+-%__p_%'`
30805
if { as_var=kde_cv_path_$kde_cache; eval "test \"\${$as_var+set}\" = set"; }; then
30806
echo $ECHO_N "(cached) $ECHO_C" >&6
30813
for dir in $PATH; do
30816
if test -z ""; then dirs="$qt_bindirs $dirs"
30817
else dirs="$dirs $qt_bindirs"
30821
for dir in $dirs; do
30822
if test -x "$dir/uic"; then
30825
evalstr="$dir/uic 2>&1 "
30826
if eval $evalstr; then
30827
kde_cv_path="$dir/uic"
30831
kde_cv_path="$dir/uic"
30837
eval "kde_cv_path_$kde_cache=$kde_cv_path"
30843
eval "kde_cv_path=\"`echo '$kde_cv_path_'$kde_cache`\""
30847
if test -z "$kde_cv_path" || test "$kde_cv_path" = NONE; then
30848
{ echo "$as_me:$LINENO: result: not found" >&5
30849
echo "${ECHO_T}not found" >&6; }
30852
{ echo "$as_me:$LINENO: result: $kde_cv_path" >&5
30853
echo "${ECHO_T}$kde_cv_path" >&6; }
30854
UIC_PATH=$kde_cv_path
30858
if test -z "$UIC_PATH" ; then
30860
{ echo "$as_me:$LINENO: WARNING: No Qt ui compiler (uic) found!
30861
Please check whether you installed Qt correctly.
30862
You need to have a running uic binary.
30863
configure tried to run $ac_cv_path_uic and the test didn't
30864
succeed. If configure shouldn't have tried this one, set
30865
the environment variable UIC to the right one before running
30868
echo "$as_me: WARNING: No Qt ui compiler (uic) found!
30869
Please check whether you installed Qt correctly.
30870
You need to have a running uic binary.
30871
configure tried to run $ac_cv_path_uic and the test didn't
30872
succeed. If configure shouldn't have tried this one, set
30873
the environment variable UIC to the right one before running
30881
if test $kde_qtver = 3; then
30883
{ echo "$as_me:$LINENO: checking whether uic supports -L " >&5
30884
echo $ECHO_N "checking whether uic supports -L ... $ECHO_C" >&6; }
30885
kde_cache=`echo L | sed 'y% .=/+-%____p_%'`
30886
if { as_var=kde_cv_prog_uic_$kde_cache; eval "test \"\${$as_var+set}\" = set"; }; then
30887
echo $ECHO_N "(cached) $ECHO_C" >&6
30890
cat >conftest.ui <<EOT
30891
<!DOCTYPE UI><UI version="3" stdsetdef="1"></UI>
30893
ac_uic_testrun="$UIC_PATH -L /nonexistent conftest.ui >/dev/null"
30894
if { (eval echo "$as_me:$LINENO: \"$ac_uic_testrun\"") >&5
30895
(eval $ac_uic_testrun) 2>&5
30897
echo "$as_me:$LINENO: \$? = $ac_status" >&5
30898
(exit $ac_status); }; then
30899
eval "kde_cv_prog_uic_$kde_cache=yes"
30901
eval "kde_cv_prog_uic_$kde_cache=no"
30908
if eval "test \"`echo '$kde_cv_prog_uic_'$kde_cache`\" = yes"; then
30909
{ echo "$as_me:$LINENO: result: yes" >&5
30910
echo "${ECHO_T}yes" >&6; }
30912
ac_uic_supports_libpath=yes
30914
{ echo "$as_me:$LINENO: result: no" >&5
30915
echo "${ECHO_T}no" >&6; }
30917
ac_uic_supports_libpath=no
30921
{ echo "$as_me:$LINENO: checking whether uic supports -nounload " >&5
30922
echo $ECHO_N "checking whether uic supports -nounload ... $ECHO_C" >&6; }
30923
kde_cache=`echo nounload | sed 'y% .=/+-%____p_%'`
30924
if { as_var=kde_cv_prog_uic_$kde_cache; eval "test \"\${$as_var+set}\" = set"; }; then
30925
echo $ECHO_N "(cached) $ECHO_C" >&6
30928
cat >conftest.ui <<EOT
30929
<!DOCTYPE UI><UI version="3" stdsetdef="1"></UI>
30931
ac_uic_testrun="$UIC_PATH -nounload conftest.ui >/dev/null"
30932
if { (eval echo "$as_me:$LINENO: \"$ac_uic_testrun\"") >&5
30933
(eval $ac_uic_testrun) 2>&5
30935
echo "$as_me:$LINENO: \$? = $ac_status" >&5
30936
(exit $ac_status); }; then
30937
eval "kde_cv_prog_uic_$kde_cache=yes"
30939
eval "kde_cv_prog_uic_$kde_cache=no"
30946
if eval "test \"`echo '$kde_cv_prog_uic_'$kde_cache`\" = yes"; then
30947
{ echo "$as_me:$LINENO: result: yes" >&5
30948
echo "${ECHO_T}yes" >&6; }
30950
ac_uic_supports_nounload=yes
30952
{ echo "$as_me:$LINENO: result: no" >&5
30953
echo "${ECHO_T}no" >&6; }
30955
ac_uic_supports_nounload=no
30959
if test x$ac_uic_supports_libpath = xyes; then
30960
UIC="$UIC -L \$(kde_widgetdir)"
30962
if test x$ac_uic_supports_nounload = xyes; then
30963
UIC="$UIC -nounload"
30968
UIC="echo uic not available: "
30975
if test $kde_qtver = 3; then
30983
if test -n "$LIBJPEG"; then
30984
{ echo "$as_me:$LINENO: checking if Qt needs $LIBJPEG" >&5
30985
echo $ECHO_N "checking if Qt needs $LIBJPEG... $ECHO_C" >&6; }
30986
if test "${kde_cv_qt_jpeg+set}" = set; then
30987
echo $ECHO_N "(cached) $ECHO_C" >&6
30992
ac_cpp='$CXXCPP $CPPFLAGS'
30993
ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30994
ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30995
ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30997
ac_link='rm -rf SunWS_cache; ${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
31000
ac_save_LIBS="$LIBS"
31001
LIBS="$all_libraries $USER_LDFLAGS $LIBQT"
31002
LIBS=`echo $LIBS | sed "s/$LIBJPEG//"`
31003
ac_save_CXXFLAGS="$CXXFLAGS"
31004
CXXFLAGS="$CXXFLAGS $all_includes $USER_INCLUDES"
31005
cat >conftest.$ac_ext <<_ACEOF
31008
cat confdefs.h >>conftest.$ac_ext
31009
cat >>conftest.$ac_ext <<_ACEOF
31010
/* end confdefs.h. */
31011
#include <qapplication.h>
31018
QApplication app(argc, argv);
31023
rm -f conftest.$ac_objext conftest$ac_exeext
31024
if { (ac_try="$ac_link"
31025
case "(($ac_try" in
31026
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
31027
*) ac_try_echo=$ac_try;;
31029
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31030
(eval "$ac_link") 2>conftest.er1
31032
grep -v '^ *+' conftest.er1 >conftest.err
31034
cat conftest.err >&5
31035
echo "$as_me:$LINENO: \$? = $ac_status" >&5
31036
(exit $ac_status); } && {
31037
test -z "$ac_cxx_werror_flag" ||
31038
test ! -s conftest.err
31039
} && test -s conftest$ac_exeext &&
31040
$as_test_x conftest$ac_exeext; then
31041
eval "kde_cv_qt_jpeg=no"
31043
echo "$as_me: failed program was:" >&5
31044
sed 's/^/| /' conftest.$ac_ext >&5
31046
eval "kde_cv_qt_jpeg=yes"
31049
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
31050
conftest$ac_exeext conftest.$ac_ext
31051
LIBS="$ac_save_LIBS"
31052
CXXFLAGS="$ac_save_CXXFLAGS"
31054
ac_cpp='$CPP $CPPFLAGS'
31055
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31056
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31057
ac_compiler_gnu=$ac_cv_c_compiler_gnu
31064
if eval "test ! \"`echo $kde_cv_qt_jpeg`\" = no"; then
31065
{ echo "$as_me:$LINENO: result: yes" >&5
31066
echo "${ECHO_T}yes" >&6; }
31067
LIBJPEG_QT='$(LIBJPEG)'
31069
{ echo "$as_me:$LINENO: result: no" >&5
31070
echo "${ECHO_T}no" >&6; }
31076
if test "x$kde_use_qt_emb" != "xyes" && test "x$kde_use_qt_mac" != "xyes"; then
31077
LIB_QT="$kde_int_qt $LIBJPEG_QT "'$(LIBZ) $(LIBPNG) -lXext $(LIB_X11) $(LIBSM)'
31079
LIB_QT="$kde_int_qt $LIBJPEG_QT "'$(LIBZ) $(LIBPNG)'
31081
test -z "$KDE_MT_LIBS" || LIB_QT="$LIB_QT $KDE_MT_LIBS"
31082
for a in $qt_libdir/lib`echo ${kde_int_qt} | sed 's,^-l,,'`_incremental.*; do
31083
if test -e "$a"; then
31084
LIB_QT="$LIB_QT ${kde_int_qt}_incremental"
31101
{ echo "$as_me:$LINENO: checking for rpath" >&5
31102
echo $ECHO_N "checking for rpath... $ECHO_C" >&6; }
31103
# Check whether --enable-rpath was given.
31104
if test "${enable_rpath+set}" = set; then
31105
enableval=$enable_rpath; USE_RPATH=$enableval
31111
if test -z "$KDE_RPATH" && test "$USE_RPATH" = "yes"; then
31113
KDE_RPATH="-R \$(libdir)"
31115
if test "$kde_libraries" != "$libdir"; then
31116
KDE_RPATH="$KDE_RPATH -R \$(kde_libraries)"
31119
if test -n "$qt_libraries"; then
31120
KDE_RPATH="$KDE_RPATH -R \$(qt_libraries)"
31122
if test -n "$X_LDFLAGS"; then
31123
X_RPATH="-R \$(x_libraries)"
31124
KDE_RPATH="$KDE_RPATH $X_RPATH"
31126
if test -n "$KDE_EXTRA_RPATH"; then
31127
KDE_RPATH="$KDE_RPATH \$(KDE_EXTRA_RPATH)"
31133
{ echo "$as_me:$LINENO: result: $USE_RPATH" >&5
31134
echo "${ECHO_T}$USE_RPATH" >&6; }
31136
{ echo "$as_me:$LINENO: checking for KDE" >&5
31137
echo $ECHO_N "checking for KDE... $ECHO_C" >&6; }
31139
if test "${prefix}" != NONE; then
31140
kde_includes=${includedir}
31143
test "x$exec_prefix" = xNONE && exec_prefix=$prefix
31145
while ac_kde_includes=`eval echo "$tmp"`; test "x$ac_kde_includes" != "x$tmp"; do tmp=$ac_kde_includes; done
31149
kde_libraries=${libdir}
31152
test "x$exec_prefix" = xNONE && exec_prefix=$prefix
31154
while ac_kde_libraries=`eval echo "$tmp"`; test "x$ac_kde_libraries" != "x$tmp"; do tmp=$ac_kde_libraries; done
31165
if test "${ac_cv_have_kde+set}" = set; then
31166
echo $ECHO_N "(cached) $ECHO_C" >&6
31168
#try to guess kde locations
31170
if test "$kde_qtver" = 1; then
31171
kde_check_header="ksock.h"
31172
kde_check_lib="libkdecore.la"
31174
kde_check_header="ksharedptr.h"
31175
kde_check_lib="libkio.la"
31178
if test -z ""; then
31180
kde_incdirs="$kde_libs_prefix/include /usr/lib/kde/include /usr/local/kde/include /usr/local/include /usr/kde/include /usr/include/kde /usr/include /opt/kde3/include /opt/kde/include $x_includes $qt_includes"
31181
test -n "$KDEDIR" && kde_incdirs="$KDEDIR/include $KDEDIR/include/kde $KDEDIR $kde_incdirs"
31182
kde_incdirs="$ac_kde_includes $kde_incdirs"
31185
for i in $kde_incdirs;
31187
for j in $kde_check_header;
31189
echo "configure: 31189: $i/$j" >&5
31190
if test -r "$i/$j"; then
31191
echo "taking that" >&5
31198
ac_kde_includes="$kde_incdir"
31200
if test -n "$ac_kde_includes" && test ! -r "$ac_kde_includes/$kde_check_header"; then
31201
{ { echo "$as_me:$LINENO: error:
31202
in the prefix, you've chosen, are no KDE headers installed. This will fail.
31203
So, check this please and use another prefix!" >&5
31204
echo "$as_me: error:
31205
in the prefix, you've chosen, are no KDE headers installed. This will fail.
31206
So, check this please and use another prefix!" >&2;}
31207
{ (exit 1); exit 1; }; }
31210
kde_libdirs="$kde_libs_prefix/lib${kdelibsuff} /usr/lib/kde/lib${kdelibsuff} /usr/local/kde/lib${kdelibsuff} /usr/kde/lib${kdelibsuff} /usr/lib${kdelibsuff}/kde /usr/lib${kdelibsuff}/kde3 /usr/lib${kdelibsuff} /usr/X11R6/lib${kdelibsuff} /usr/local/lib${kdelibsuff} /opt/kde3/lib${kdelibsuff} /opt/kde/lib${kdelibsuff} /usr/X11R6/kde/lib${kdelibsuff}"
31211
test -n "$KDEDIR" && kde_libdirs="$KDEDIR/lib${kdelibsuff} $KDEDIR $kde_libdirs"
31212
kde_libdirs="$ac_kde_libraries $libdir $kde_libdirs"
31215
for i in $kde_libdirs;
31217
for j in $kde_check_lib;
31219
echo "configure: 31219: $i/$j" >&5
31220
if test -r "$i/$j"; then
31221
echo "taking that" >&5
31228
ac_kde_libraries="$kde_libdir"
31233
for i in $kde_libdirs;
31235
for j in "kde3/plugins/designer/kdewidgets.la";
31237
echo "configure: 31237: $i/$j" >&5
31238
if test -r "$i/$j"; then
31239
echo "taking that" >&5
31247
if test -n "$ac_kde_libraries" && test ! -r "$ac_kde_libraries/$kde_check_lib"; then
31248
{ { echo "$as_me:$LINENO: error:
31249
in the prefix, you've chosen, are no KDE libraries installed. This will fail.
31250
So, check this please and use another prefix!" >&5
31251
echo "$as_me: error:
31252
in the prefix, you've chosen, are no KDE libraries installed. This will fail.
31253
So, check this please and use another prefix!" >&2;}
31254
{ (exit 1); exit 1; }; }
31257
if test -n "$kde_widgetdir" && test ! -r "$kde_widgetdir/kde3/plugins/designer/kdewidgets.la"; then
31258
{ { echo "$as_me:$LINENO: error:
31259
I can't find the designer plugins. These are required and should have been installed
31261
echo "$as_me: error:
31262
I can't find the designer plugins. These are required and should have been installed
31264
{ (exit 1); exit 1; }; }
31267
if test -n "$kde_widgetdir"; then
31268
kde_widgetdir="$kde_widgetdir/kde3/plugins/designer"
31272
if test "$ac_kde_includes" = NO || test "$ac_kde_libraries" = NO || test "$kde_widgetdir" = NO; then
31273
ac_cv_have_kde="have_kde=no"
31275
ac_cv_have_kde="have_kde=yes \
31276
ac_kde_includes=$ac_kde_includes ac_kde_libraries=$ac_kde_libraries"
31280
ac_cv_have_kde="have_kde=no"
31286
eval "$ac_cv_have_kde"
31288
if test "$have_kde" != "yes"; then
31289
if test "${prefix}" = NONE; then
31290
ac_kde_prefix="$ac_default_prefix"
31292
ac_kde_prefix="$prefix"
31294
if test "$exec_prefix" = NONE; then
31295
ac_kde_exec_prefix="$ac_kde_prefix"
31296
{ echo "$as_me:$LINENO: result: will be installed in $ac_kde_prefix" >&5
31297
echo "${ECHO_T}will be installed in $ac_kde_prefix" >&6; }
31299
ac_kde_exec_prefix="$exec_prefix"
31300
{ echo "$as_me:$LINENO: result: will be installed in $ac_kde_prefix and $ac_kde_exec_prefix" >&5
31301
echo "${ECHO_T}will be installed in $ac_kde_prefix and $ac_kde_exec_prefix" >&6; }
31304
kde_libraries="${libdir}"
31305
kde_includes="${includedir}"
31308
ac_cv_have_kde="have_kde=yes \
31309
ac_kde_includes=$ac_kde_includes ac_kde_libraries=$ac_kde_libraries"
31310
{ echo "$as_me:$LINENO: result: libraries $ac_kde_libraries, headers $ac_kde_includes" >&5
31311
echo "${ECHO_T}libraries $ac_kde_libraries, headers $ac_kde_includes" >&6; }
31313
kde_libraries="$ac_kde_libraries"
31314
kde_includes="$ac_kde_includes"
31319
if test "$kde_includes" = "$x_includes" || test "$kde_includes" = "$qt_includes" || test "$kde_includes" = "/usr/include"; then
31322
KDE_INCLUDES="-I$kde_includes"
31323
all_includes="$KDE_INCLUDES $all_includes"
31326
KDE_DEFAULT_CXXFLAGS="-DQT_CLEAN_NAMESPACE -DQT_NO_ASCII_CAST -DQT_NO_STL -DQT_NO_COMPAT -DQT_NO_TRANSLATION"
31328
KDE_LDFLAGS="-L$kde_libraries"
31329
if test ! "$kde_libraries" = "$x_libraries" && test ! "$kde_libraries" = "$qt_libraries" ; then
31330
all_libraries="$KDE_LDFLAGS $all_libraries"
31338
all_libraries="$all_libraries $USER_LDFLAGS"
31339
all_includes="$all_includes $USER_INCLUDES"
31343
if test -z ""; then
31347
if test x$ac_uic_supports_libpath = xyes; then
31349
{ echo "$as_me:$LINENO: checking if UIC has KDE plugins available" >&5
31350
echo $ECHO_N "checking if UIC has KDE plugins available... $ECHO_C" >&6; }
31351
if test "${kde_cv_uic_plugins+set}" = set; then
31352
echo $ECHO_N "(cached) $ECHO_C" >&6
31355
cat > actest.ui << EOF
31356
<!DOCTYPE UI><UI version="3.0" stdsetdef="1">
31357
<class>NewConnectionDialog</class>
31358
<widget class="QDialog">
31359
<widget class="KLineEdit">
31360
<property name="name">
31361
<cstring>testInput</cstring>
31370
kde_cv_uic_plugins=no
31371
kde_line="$UIC_PATH -L $kde_widgetdir"
31372
if test x$ac_uic_supports_nounload = xyes; then
31373
kde_line="$kde_line -nounload"
31375
kde_line="$kde_line -impl actest.h actest.ui > actest.cpp"
31376
if { (eval echo "$as_me:$LINENO: \"$kde_line\"") >&5
31377
(eval $kde_line) 2>&5
31379
echo "$as_me:$LINENO: \$? = $ac_status" >&5
31380
(exit $ac_status); }; then
31381
# if you're trying to debug this check and think it's incorrect,
31382
# better check your installation. The check _is_ correct - your
31383
# installation is not.
31384
if test -f actest.cpp && grep klineedit actest.cpp > /dev/null; then
31385
kde_cv_uic_plugins=yes
31388
rm -f actest.ui actest.cpp
31393
{ echo "$as_me:$LINENO: result: $kde_cv_uic_plugins" >&5
31394
echo "${ECHO_T}$kde_cv_uic_plugins" >&6; }
31395
if test "$kde_cv_uic_plugins" != yes; then
31396
{ { echo "$as_me:$LINENO: error:
31397
you need to install kdelibs first.
31399
If you did install kdelibs, then the Qt version that is picked up by
31400
this configure is not the same version you used to compile kdelibs.
31401
The Qt Plugin installed by kdelibs is *ONLY* loadable if it is the
31402
_same Qt version_, compiled with the _same compiler_ and the same Qt
31403
configuration settings.
31405
echo "$as_me: error:
31406
you need to install kdelibs first.
31408
If you did install kdelibs, then the Qt version that is picked up by
31409
this configure is not the same version you used to compile kdelibs.
31410
The Qt Plugin installed by kdelibs is *ONLY* loadable if it is the
31411
_same Qt version_, compiled with the _same compiler_ and the same Qt
31412
configuration settings.
31414
{ (exit 1); exit 1; }; }
31420
ac_kde_libraries="$kde_libdir"
31426
# Check whether --enable-path-check was given.
31427
if test "${enable_path_check+set}" = set; then
31428
enableval=$enable_path_check;
31429
if test "$enableval" = "no";
31430
then ac_use_path_checking="default"
31431
else ac_use_path_checking=""
31436
if test "$kde_qtver" = 1;
31437
then ac_use_path_checking=""
31438
else ac_use_path_checking="default"
31448
{ echo "$as_me:$LINENO: checking for KDE paths" >&5
31449
echo $ECHO_N "checking for KDE paths... $ECHO_C" >&6; }
31451
kde_cached_paths=yes
31452
if test "${kde_cv_all_paths+set}" = set; then
31453
echo $ECHO_N "(cached) $ECHO_C" >&6
31457
if test "$ac_use_path_checking" = "default"; then
31459
if test -z "$kde_htmldir"; then
31460
kde_htmldir='\${datadir}/doc/kde/HTML'
31462
if test -z "$kde_appsdir"; then
31463
kde_appsdir='\${datadir}/applnk'
31465
if test -z "$kde_icondir"; then
31466
kde_icondir='\${datadir}/icons'
31468
if test -z "$kde_sounddir"; then
31469
kde_sounddir='\${datadir}/sounds'
31471
if test -z "$kde_datadir"; then
31472
kde_datadir='\${datadir}/apps'
31474
if test -z "$kde_locale"; then
31475
kde_locale='\${datadir}/locale'
31477
if test -z "$kde_cgidir"; then
31478
kde_cgidir='\${exec_prefix}/cgi-bin'
31480
if test -z "$kde_confdir"; then
31481
kde_confdir='\${datadir}/config'
31483
if test -z "$kde_kcfgdir"; then
31484
kde_kcfgdir='\${datadir}/config.kcfg'
31486
if test -z "$kde_mimedir"; then
31487
kde_mimedir='\${datadir}/mimelnk'
31489
if test -z "$kde_toolbardir"; then
31490
kde_toolbardir='\${datadir}/toolbar'
31492
if test -z "$kde_wallpaperdir"; then
31493
kde_wallpaperdir='\${datadir}/wallpapers'
31495
if test -z "$kde_templatesdir"; then
31496
kde_templatesdir='\${datadir}/templates'
31498
if test -z "$kde_bindir"; then
31499
kde_bindir='\${exec_prefix}/bin'
31501
if test -z "$kde_servicesdir"; then
31502
kde_servicesdir='\${datadir}/services'
31504
if test -z "$kde_servicetypesdir"; then
31505
kde_servicetypesdir='\${datadir}/servicetypes'
31507
if test -z "$kde_moduledir"; then
31508
if test "$kde_qtver" = "2"; then
31509
kde_moduledir='\${libdir}/kde2'
31511
kde_moduledir='\${libdir}/kde3'
31514
if test -z "$kde_styledir"; then
31515
kde_styledir='\${libdir}/kde3/plugins/styles'
31517
if test -z "$kde_widgetdir"; then
31518
kde_widgetdir='\${libdir}/kde3/plugins/designer'
31520
if test -z "$xdg_appsdir"; then
31521
xdg_appsdir='\${datadir}/applications/kde'
31523
if test -z "$xdg_menudir"; then
31524
xdg_menudir='\${sysconfdir}/xdg/menus'
31526
if test -z "$xdg_directorydir"; then
31527
xdg_directorydir='\${datadir}/desktop-directories'
31531
kde_cv_all_paths="kde_have_all_paths=\"yes\" \
31532
kde_htmldir=\"$kde_htmldir\" \
31533
kde_appsdir=\"$kde_appsdir\" \
31534
kde_icondir=\"$kde_icondir\" \
31535
kde_sounddir=\"$kde_sounddir\" \
31536
kde_datadir=\"$kde_datadir\" \
31537
kde_locale=\"$kde_locale\" \
31538
kde_cgidir=\"$kde_cgidir\" \
31539
kde_confdir=\"$kde_confdir\" \
31540
kde_kcfgdir=\"$kde_kcfgdir\" \
31541
kde_mimedir=\"$kde_mimedir\" \
31542
kde_toolbardir=\"$kde_toolbardir\" \
31543
kde_wallpaperdir=\"$kde_wallpaperdir\" \
31544
kde_templatesdir=\"$kde_templatesdir\" \
31545
kde_bindir=\"$kde_bindir\" \
31546
kde_servicesdir=\"$kde_servicesdir\" \
31547
kde_servicetypesdir=\"$kde_servicetypesdir\" \
31548
kde_moduledir=\"$kde_moduledir\" \
31549
kde_styledir=\"$kde_styledir\" \
31550
kde_widgetdir=\"$kde_widgetdir\" \
31551
xdg_appsdir=\"$xdg_appsdir\" \
31552
xdg_menudir=\"$xdg_menudir\" \
31553
xdg_directorydir=\"$xdg_directorydir\" \
31554
kde_result=defaults"
31559
if test $kde_qtver = 1; then
31560
{ echo "$as_me:$LINENO: result: compiling" >&5
31561
echo "${ECHO_T}compiling" >&6; }
31564
{ echo "$as_me:$LINENO: checking for KDE headers installed" >&5
31565
echo $ECHO_N "checking for KDE headers installed... $ECHO_C" >&6; }
31568
ac_cpp='$CXXCPP $CPPFLAGS'
31569
ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31570
ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31571
ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31573
ac_link='rm -rf SunWS_cache; ${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
31576
cat > conftest.$ac_ext <<EOF
31577
#ifdef STDC_HEADERS
31578
# include <stdlib.h>
31581
#include "confdefs.h"
31585
printf("kde_htmldir=\\"%s\\"\n", KApplication::kde_htmldir().data());
31586
printf("kde_appsdir=\\"%s\\"\n", KApplication::kde_appsdir().data());
31587
printf("kde_icondir=\\"%s\\"\n", KApplication::kde_icondir().data());
31588
printf("kde_sounddir=\\"%s\\"\n", KApplication::kde_sounddir().data());
31589
printf("kde_datadir=\\"%s\\"\n", KApplication::kde_datadir().data());
31590
printf("kde_locale=\\"%s\\"\n", KApplication::kde_localedir().data());
31591
printf("kde_cgidir=\\"%s\\"\n", KApplication::kde_cgidir().data());
31592
printf("kde_confdir=\\"%s\\"\n", KApplication::kde_configdir().data());
31593
printf("kde_mimedir=\\"%s\\"\n", KApplication::kde_mimedir().data());
31594
printf("kde_toolbardir=\\"%s\\"\n", KApplication::kde_toolbardir().data());
31595
printf("kde_wallpaperdir=\\"%s\\"\n",
31596
KApplication::kde_wallpaperdir().data());
31597
printf("kde_bindir=\\"%s\\"\n", KApplication::kde_bindir().data());
31598
printf("kde_partsdir=\\"%s\\"\n", KApplication::kde_partsdir().data());
31599
printf("kde_servicesdir=\\"/tmp/dummy\\"\n");
31600
printf("kde_servicetypesdir=\\"/tmp/dummy\\"\n");
31601
printf("kde_moduledir=\\"/tmp/dummy\\"\n");
31602
printf("kde_styledir=\\"/tmp/dummy\\"\n");
31603
printf("kde_widgetdir=\\"/tmp/dummy\\"\n");
31604
printf("xdg_appsdir=\\"/tmp/dummy\\"\n");
31605
printf("xdg_menudir=\\"/tmp/dummy\\"\n");
31606
printf("xdg_directorydir=\\"/tmp/dummy\\"\n");
31607
printf("kde_kcfgdir=\\"/tmp/dummy\\"\n");
31612
ac_save_CPPFLAGS=$CPPFLAGS
31613
CPPFLAGS="$all_includes $CPPFLAGS"
31614
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
31615
(eval $ac_compile) 2>&5
31617
echo "$as_me:$LINENO: \$? = $ac_status" >&5
31618
(exit $ac_status); }; then
31619
{ echo "$as_me:$LINENO: result: yes" >&5
31620
echo "${ECHO_T}yes" >&6; }
31622
{ { echo "$as_me:$LINENO: error: your system is not able to compile a small KDE application!
31623
Check, if you installed the KDE header files correctly.
31624
For more details about this problem, look at the end of config.log." >&5
31625
echo "$as_me: error: your system is not able to compile a small KDE application!
31626
Check, if you installed the KDE header files correctly.
31627
For more details about this problem, look at the end of config.log." >&2;}
31628
{ (exit 1); exit 1; }; }
31630
CPPFLAGS=$ac_save_CPPFLAGS
31633
ac_cpp='$CPP $CPPFLAGS'
31634
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31635
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31636
ac_compiler_gnu=$ac_cv_c_compiler_gnu
31642
if test -n "$USE_RPATH"; then
31644
if test -n "$kde_libraries"; then
31645
KDE_TEST_RPATH="-R $kde_libraries"
31648
if test -n "$qt_libraries"; then
31649
KDE_TEST_RPATH="$KDE_TEST_RPATH -R $qt_libraries"
31652
if test -n "$x_libraries"; then
31653
KDE_TEST_RPATH="$KDE_TEST_RPATH -R $x_libraries"
31656
KDE_TEST_RPATH="$KDE_TEST_RPATH $KDE_EXTRA_RPATH"
31659
{ echo "$as_me:$LINENO: checking for KDE libraries installed" >&5
31660
echo $ECHO_N "checking for KDE libraries installed... $ECHO_C" >&6; }
31661
ac_link='$LIBTOOL_SHELL --silent --mode=link ${CXX-g++} -o conftest $CXXFLAGS $all_includes $CPPFLAGS $LDFLAGS $all_libraries conftest.$ac_ext $LIBS -lkdecore $LIBQT $KDE_TEST_RPATH 1>&5'
31663
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
31664
(eval $ac_link) 2>&5
31666
echo "$as_me:$LINENO: \$? = $ac_status" >&5
31667
(exit $ac_status); } && test -s conftest; then
31668
{ echo "$as_me:$LINENO: result: yes" >&5
31669
echo "${ECHO_T}yes" >&6; }
31671
{ { echo "$as_me:$LINENO: error: your system fails at linking a small KDE application!
31672
Check, if your compiler is installed correctly and if you have used the
31673
same compiler to compile Qt and kdelibs as you did use now.
31674
For more details about this problem, look at the end of config.log." >&5
31675
echo "$as_me: error: your system fails at linking a small KDE application!
31676
Check, if your compiler is installed correctly and if you have used the
31677
same compiler to compile Qt and kdelibs as you did use now.
31678
For more details about this problem, look at the end of config.log." >&2;}
31679
{ (exit 1); exit 1; }; }
31682
if eval `KDEDIR= ./conftest 2>&5`; then
31685
kde_result=problems
31688
KDEDIR= ./conftest 2> /dev/null >&5 # make an echo for config.log
31689
kde_have_all_paths=yes
31692
kde_cv_all_paths="kde_have_all_paths=\"yes\" \
31693
kde_htmldir=\"$kde_htmldir\" \
31694
kde_appsdir=\"$kde_appsdir\" \
31695
kde_icondir=\"$kde_icondir\" \
31696
kde_sounddir=\"$kde_sounddir\" \
31697
kde_datadir=\"$kde_datadir\" \
31698
kde_locale=\"$kde_locale\" \
31699
kde_cgidir=\"$kde_cgidir\" \
31700
kde_confdir=\"$kde_confdir\" \
31701
kde_kcfgdir=\"$kde_kcfgdir\" \
31702
kde_mimedir=\"$kde_mimedir\" \
31703
kde_toolbardir=\"$kde_toolbardir\" \
31704
kde_wallpaperdir=\"$kde_wallpaperdir\" \
31705
kde_templatesdir=\"$kde_templatesdir\" \
31706
kde_bindir=\"$kde_bindir\" \
31707
kde_servicesdir=\"$kde_servicesdir\" \
31708
kde_servicetypesdir=\"$kde_servicetypesdir\" \
31709
kde_moduledir=\"$kde_moduledir\" \
31710
kde_styledir=\"$kde_styledir\" \
31711
kde_widgetdir=\"$kde_widgetdir\" \
31712
xdg_appsdir=\"$xdg_appsdir\" \
31713
xdg_menudir=\"$xdg_menudir\" \
31714
xdg_directorydir=\"$xdg_directorydir\" \
31715
kde_result=$kde_result"
31720
{ { echo "$as_me:$LINENO: error: path checking not yet supported for KDE 2" >&5
31721
echo "$as_me: error: path checking not yet supported for KDE 2" >&2;}
31722
{ (exit 1); exit 1; }; }
31727
kde_cached_paths=no
31731
eval "$kde_cv_all_paths"
31732
if test -z "$kde_htmldir" || test -z "$kde_appsdir" ||
31733
test -z "$kde_icondir" || test -z "$kde_sounddir" ||
31734
test -z "$kde_datadir" || test -z "$kde_locale" ||
31735
test -z "$kde_cgidir" || test -z "$kde_confdir" ||
31736
test -z "$kde_kcfgdir" ||
31737
test -z "$kde_mimedir" || test -z "$kde_toolbardir" ||
31738
test -z "$kde_wallpaperdir" || test -z "$kde_templatesdir" ||
31739
test -z "$kde_bindir" || test -z "$kde_servicesdir" ||
31740
test -z "$kde_servicetypesdir" || test -z "$kde_moduledir" ||
31741
test -z "$kde_styledir" || test -z "kde_widgetdir" ||
31742
test -z "$xdg_appsdir" || test -z "$xdg_menudir" || test -z "$xdg_directorydir" ||
31743
test "x$kde_have_all_paths" != "xyes"; then
31744
kde_have_all_paths=no
31747
if test "$kde_have_all_paths" = "no" && test "$kde_cached_paths" = "yes"; then
31748
# wrong values were cached, may be, we can set better ones
31750
kde_htmldir= kde_appsdir= kde_icondir= kde_sounddir=
31751
kde_datadir= kde_locale= kde_cgidir= kde_confdir= kde_kcfgdir=
31752
kde_mimedir= kde_toolbardir= kde_wallpaperdir= kde_templatesdir=
31753
kde_bindir= kde_servicesdir= kde_servicetypesdir= kde_moduledir=
31754
kde_have_all_paths=
31757
xdg_appsdir = xdg_menudir= xdg_directorydir=
31759
if test "$ac_use_path_checking" = "default"; then
31761
if test -z "$kde_htmldir"; then
31762
kde_htmldir='\${datadir}/doc/kde/HTML'
31764
if test -z "$kde_appsdir"; then
31765
kde_appsdir='\${datadir}/applnk'
31767
if test -z "$kde_icondir"; then
31768
kde_icondir='\${datadir}/icons'
31770
if test -z "$kde_sounddir"; then
31771
kde_sounddir='\${datadir}/sounds'
31773
if test -z "$kde_datadir"; then
31774
kde_datadir='\${datadir}/apps'
31776
if test -z "$kde_locale"; then
31777
kde_locale='\${datadir}/locale'
31779
if test -z "$kde_cgidir"; then
31780
kde_cgidir='\${exec_prefix}/cgi-bin'
31782
if test -z "$kde_confdir"; then
31783
kde_confdir='\${datadir}/config'
31785
if test -z "$kde_kcfgdir"; then
31786
kde_kcfgdir='\${datadir}/config.kcfg'
31788
if test -z "$kde_mimedir"; then
31789
kde_mimedir='\${datadir}/mimelnk'
31791
if test -z "$kde_toolbardir"; then
31792
kde_toolbardir='\${datadir}/toolbar'
31794
if test -z "$kde_wallpaperdir"; then
31795
kde_wallpaperdir='\${datadir}/wallpapers'
31797
if test -z "$kde_templatesdir"; then
31798
kde_templatesdir='\${datadir}/templates'
31800
if test -z "$kde_bindir"; then
31801
kde_bindir='\${exec_prefix}/bin'
31803
if test -z "$kde_servicesdir"; then
31804
kde_servicesdir='\${datadir}/services'
31806
if test -z "$kde_servicetypesdir"; then
31807
kde_servicetypesdir='\${datadir}/servicetypes'
31809
if test -z "$kde_moduledir"; then
31810
if test "$kde_qtver" = "2"; then
31811
kde_moduledir='\${libdir}/kde2'
31813
kde_moduledir='\${libdir}/kde3'
31816
if test -z "$kde_styledir"; then
31817
kde_styledir='\${libdir}/kde3/plugins/styles'
31819
if test -z "$kde_widgetdir"; then
31820
kde_widgetdir='\${libdir}/kde3/plugins/designer'
31822
if test -z "$xdg_appsdir"; then
31823
xdg_appsdir='\${datadir}/applications/kde'
31825
if test -z "$xdg_menudir"; then
31826
xdg_menudir='\${sysconfdir}/xdg/menus'
31828
if test -z "$xdg_directorydir"; then
31829
xdg_directorydir='\${datadir}/desktop-directories'
31833
kde_cv_all_paths="kde_have_all_paths=\"yes\" \
31834
kde_htmldir=\"$kde_htmldir\" \
31835
kde_appsdir=\"$kde_appsdir\" \
31836
kde_icondir=\"$kde_icondir\" \
31837
kde_sounddir=\"$kde_sounddir\" \
31838
kde_datadir=\"$kde_datadir\" \
31839
kde_locale=\"$kde_locale\" \
31840
kde_cgidir=\"$kde_cgidir\" \
31841
kde_confdir=\"$kde_confdir\" \
31842
kde_kcfgdir=\"$kde_kcfgdir\" \
31843
kde_mimedir=\"$kde_mimedir\" \
31844
kde_toolbardir=\"$kde_toolbardir\" \
31845
kde_wallpaperdir=\"$kde_wallpaperdir\" \
31846
kde_templatesdir=\"$kde_templatesdir\" \
31847
kde_bindir=\"$kde_bindir\" \
31848
kde_servicesdir=\"$kde_servicesdir\" \
31849
kde_servicetypesdir=\"$kde_servicetypesdir\" \
31850
kde_moduledir=\"$kde_moduledir\" \
31851
kde_styledir=\"$kde_styledir\" \
31852
kde_widgetdir=\"$kde_widgetdir\" \
31853
xdg_appsdir=\"$xdg_appsdir\" \
31854
xdg_menudir=\"$xdg_menudir\" \
31855
xdg_directorydir=\"$xdg_directorydir\" \
31856
kde_result=defaults"
31861
if test $kde_qtver = 1; then
31862
{ echo "$as_me:$LINENO: result: compiling" >&5
31863
echo "${ECHO_T}compiling" >&6; }
31866
{ echo "$as_me:$LINENO: checking for KDE headers installed" >&5
31867
echo $ECHO_N "checking for KDE headers installed... $ECHO_C" >&6; }
31870
ac_cpp='$CXXCPP $CPPFLAGS'
31871
ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31872
ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31873
ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31875
ac_link='rm -rf SunWS_cache; ${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
31878
cat > conftest.$ac_ext <<EOF
31879
#ifdef STDC_HEADERS
31880
# include <stdlib.h>
31883
#include "confdefs.h"
31887
printf("kde_htmldir=\\"%s\\"\n", KApplication::kde_htmldir().data());
31888
printf("kde_appsdir=\\"%s\\"\n", KApplication::kde_appsdir().data());
31889
printf("kde_icondir=\\"%s\\"\n", KApplication::kde_icondir().data());
31890
printf("kde_sounddir=\\"%s\\"\n", KApplication::kde_sounddir().data());
31891
printf("kde_datadir=\\"%s\\"\n", KApplication::kde_datadir().data());
31892
printf("kde_locale=\\"%s\\"\n", KApplication::kde_localedir().data());
31893
printf("kde_cgidir=\\"%s\\"\n", KApplication::kde_cgidir().data());
31894
printf("kde_confdir=\\"%s\\"\n", KApplication::kde_configdir().data());
31895
printf("kde_mimedir=\\"%s\\"\n", KApplication::kde_mimedir().data());
31896
printf("kde_toolbardir=\\"%s\\"\n", KApplication::kde_toolbardir().data());
31897
printf("kde_wallpaperdir=\\"%s\\"\n",
31898
KApplication::kde_wallpaperdir().data());
31899
printf("kde_bindir=\\"%s\\"\n", KApplication::kde_bindir().data());
31900
printf("kde_partsdir=\\"%s\\"\n", KApplication::kde_partsdir().data());
31901
printf("kde_servicesdir=\\"/tmp/dummy\\"\n");
31902
printf("kde_servicetypesdir=\\"/tmp/dummy\\"\n");
31903
printf("kde_moduledir=\\"/tmp/dummy\\"\n");
31904
printf("kde_styledir=\\"/tmp/dummy\\"\n");
31905
printf("kde_widgetdir=\\"/tmp/dummy\\"\n");
31906
printf("xdg_appsdir=\\"/tmp/dummy\\"\n");
31907
printf("xdg_menudir=\\"/tmp/dummy\\"\n");
31908
printf("xdg_directorydir=\\"/tmp/dummy\\"\n");
31909
printf("kde_kcfgdir=\\"/tmp/dummy\\"\n");
31914
ac_save_CPPFLAGS=$CPPFLAGS
31915
CPPFLAGS="$all_includes $CPPFLAGS"
31916
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
31917
(eval $ac_compile) 2>&5
31919
echo "$as_me:$LINENO: \$? = $ac_status" >&5
31920
(exit $ac_status); }; then
31921
{ echo "$as_me:$LINENO: result: yes" >&5
31922
echo "${ECHO_T}yes" >&6; }
31924
{ { echo "$as_me:$LINENO: error: your system is not able to compile a small KDE application!
31925
Check, if you installed the KDE header files correctly.
31926
For more details about this problem, look at the end of config.log." >&5
31927
echo "$as_me: error: your system is not able to compile a small KDE application!
31928
Check, if you installed the KDE header files correctly.
31929
For more details about this problem, look at the end of config.log." >&2;}
31930
{ (exit 1); exit 1; }; }
31932
CPPFLAGS=$ac_save_CPPFLAGS
31935
ac_cpp='$CPP $CPPFLAGS'
31936
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31937
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31938
ac_compiler_gnu=$ac_cv_c_compiler_gnu
31944
if test -n "$USE_RPATH"; then
31946
if test -n "$kde_libraries"; then
31947
KDE_TEST_RPATH="-R $kde_libraries"
31950
if test -n "$qt_libraries"; then
31951
KDE_TEST_RPATH="$KDE_TEST_RPATH -R $qt_libraries"
31954
if test -n "$x_libraries"; then
31955
KDE_TEST_RPATH="$KDE_TEST_RPATH -R $x_libraries"
31958
KDE_TEST_RPATH="$KDE_TEST_RPATH $KDE_EXTRA_RPATH"
31961
{ echo "$as_me:$LINENO: checking for KDE libraries installed" >&5
31962
echo $ECHO_N "checking for KDE libraries installed... $ECHO_C" >&6; }
31963
ac_link='$LIBTOOL_SHELL --silent --mode=link ${CXX-g++} -o conftest $CXXFLAGS $all_includes $CPPFLAGS $LDFLAGS $all_libraries conftest.$ac_ext $LIBS -lkdecore $LIBQT $KDE_TEST_RPATH 1>&5'
31965
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
31966
(eval $ac_link) 2>&5
31968
echo "$as_me:$LINENO: \$? = $ac_status" >&5
31969
(exit $ac_status); } && test -s conftest; then
31970
{ echo "$as_me:$LINENO: result: yes" >&5
31971
echo "${ECHO_T}yes" >&6; }
31973
{ { echo "$as_me:$LINENO: error: your system fails at linking a small KDE application!
31974
Check, if your compiler is installed correctly and if you have used the
31975
same compiler to compile Qt and kdelibs as you did use now.
31976
For more details about this problem, look at the end of config.log." >&5
31977
echo "$as_me: error: your system fails at linking a small KDE application!
31978
Check, if your compiler is installed correctly and if you have used the
31979
same compiler to compile Qt and kdelibs as you did use now.
31980
For more details about this problem, look at the end of config.log." >&2;}
31981
{ (exit 1); exit 1; }; }
31984
if eval `KDEDIR= ./conftest 2>&5`; then
31987
kde_result=problems
31990
KDEDIR= ./conftest 2> /dev/null >&5 # make an echo for config.log
31991
kde_have_all_paths=yes
31994
kde_cv_all_paths="kde_have_all_paths=\"yes\" \
31995
kde_htmldir=\"$kde_htmldir\" \
31996
kde_appsdir=\"$kde_appsdir\" \
31997
kde_icondir=\"$kde_icondir\" \
31998
kde_sounddir=\"$kde_sounddir\" \
31999
kde_datadir=\"$kde_datadir\" \
32000
kde_locale=\"$kde_locale\" \
32001
kde_cgidir=\"$kde_cgidir\" \
32002
kde_confdir=\"$kde_confdir\" \
32003
kde_kcfgdir=\"$kde_kcfgdir\" \
32004
kde_mimedir=\"$kde_mimedir\" \
32005
kde_toolbardir=\"$kde_toolbardir\" \
32006
kde_wallpaperdir=\"$kde_wallpaperdir\" \
32007
kde_templatesdir=\"$kde_templatesdir\" \
32008
kde_bindir=\"$kde_bindir\" \
32009
kde_servicesdir=\"$kde_servicesdir\" \
32010
kde_servicetypesdir=\"$kde_servicetypesdir\" \
32011
kde_moduledir=\"$kde_moduledir\" \
32012
kde_styledir=\"$kde_styledir\" \
32013
kde_widgetdir=\"$kde_widgetdir\" \
32014
xdg_appsdir=\"$xdg_appsdir\" \
32015
xdg_menudir=\"$xdg_menudir\" \
32016
xdg_directorydir=\"$xdg_directorydir\" \
32017
kde_result=$kde_result"
32022
{ { echo "$as_me:$LINENO: error: path checking not yet supported for KDE 2" >&5
32023
echo "$as_me: error: path checking not yet supported for KDE 2" >&2;}
32024
{ (exit 1); exit 1; }; }
32029
eval "$kde_cv_all_paths"
32030
if test -z "$kde_htmldir" || test -z "$kde_appsdir" ||
32031
test -z "$kde_icondir" || test -z "$kde_sounddir" ||
32032
test -z "$kde_datadir" || test -z "$kde_locale" ||
32033
test -z "$kde_cgidir" || test -z "$kde_confdir" ||
32034
test -z "$kde_kcfgdir" ||
32035
test -z "$kde_mimedir" || test -z "$kde_toolbardir" ||
32036
test -z "$kde_wallpaperdir" || test -z "$kde_templatesdir" ||
32037
test -z "$kde_bindir" || test -z "$kde_servicesdir" ||
32038
test -z "$kde_servicetypesdir" || test -z "$kde_moduledir" ||
32039
test -z "$kde_styledir" || test -z "kde_widgetdir" ||
32040
test -z "$xdg_appsdir" || test -z "$xdg_menudir" || test -z "$xdg_directorydir" ||
32041
test "x$kde_have_all_paths" != "xyes"; then
32042
kde_have_all_paths=no
32045
kde_result="$kde_result (cache overridden)"
32047
if test "$kde_have_all_paths" = "no"; then
32048
{ { echo "$as_me:$LINENO: error: configure could not run a little KDE program to test the environment.
32049
Since it had compiled and linked before, it must be a strange problem on your system.
32050
Look at config.log for details. If you are not able to fix this, look at
32051
http://www.kde.org/faq/installation.html or any www.kde.org mirror.
32052
(If you're using an egcs version on Linux, you may update binutils!)
32054
echo "$as_me: error: configure could not run a little KDE program to test the environment.
32055
Since it had compiled and linked before, it must be a strange problem on your system.
32056
Look at config.log for details. If you are not able to fix this, look at
32057
http://www.kde.org/faq/installation.html or any www.kde.org mirror.
32058
(If you're using an egcs version on Linux, you may update binutils!)
32060
{ (exit 1); exit 1; }; }
32063
{ echo "$as_me:$LINENO: result: $kde_result" >&5
32064
echo "${ECHO_T}$kde_result" >&6; }
32071
# Check whether --with-arts was given.
32072
if test "${with_arts+set}" = set; then
32073
withval=$with_arts; build_arts=$withval
32081
if test "$build_arts" '!=' "no"; then
32083
include_ARTS_FALSE='#'
32085
include_ARTS_TRUE='#'
32086
include_ARTS_FALSE=
32089
if test "$build_arts" = "no"; then
32091
cat >>confdefs.h <<\_ACEOF
32092
#define WITHOUT_ARTS 1
32098
kde_default_bindirs="/usr/bin /usr/local/bin /opt/local/bin /usr/X11R6/bin /opt/kde/bin /opt/kde3/bin /usr/kde/bin /usr/local/kde/bin"
32099
test -n "$KDEDIR" && kde_default_bindirs="$KDEDIR/bin $kde_default_bindirs"
32100
if test -n "$KDEDIRS"; then
32103
for dir in $KDEDIRS; do
32104
kde_default_bindirs="$dir/bin $kde_default_bindirs "
32109
kde_default_bindirs="$exec_prefix/bin $prefix/bin $kde_libs_prefix/bin $kde_default_bindirs"
32111
{ echo "$as_me:$LINENO: checking for dcopidl" >&5
32112
echo $ECHO_N "checking for dcopidl... $ECHO_C" >&6; }
32113
if test -n "$DCOPIDL"; then
32114
kde_cv_path="$DCOPIDL";
32116
kde_cache=`echo dcopidl | sed 'y%./+-%__p_%'`
32118
if { as_var=kde_cv_path_$kde_cache; eval "test \"\${$as_var+set}\" = set"; }; then
32119
echo $ECHO_N "(cached) $ECHO_C" >&6
32126
for dir in $PATH; do
32129
if test -z ""; then dirs="$kde_default_bindirs $dirs"
32130
else dirs="$dirs $kde_default_bindirs"
32134
for dir in $dirs; do
32135
if test -x "$dir/dcopidl"; then
32138
evalstr="$dir/dcopidl 2>&1 "
32139
if eval $evalstr; then
32140
kde_cv_path="$dir/dcopidl"
32144
kde_cv_path="$dir/dcopidl"
32150
eval "kde_cv_path_$kde_cache=$kde_cv_path"
32156
eval "kde_cv_path=\"`echo '$kde_cv_path_'$kde_cache`\""
32160
if test -z "$kde_cv_path" || test "$kde_cv_path" = NONE; then
32161
{ echo "$as_me:$LINENO: result: not found" >&5
32162
echo "${ECHO_T}not found" >&6; }
32164
{ { echo "$as_me:$LINENO: error: The important program dcopidl was not found!
32165
Please check whether you installed KDE correctly.
32167
echo "$as_me: error: The important program dcopidl was not found!
32168
Please check whether you installed KDE correctly.
32170
{ (exit 1); exit 1; }; }
32173
{ echo "$as_me:$LINENO: result: $kde_cv_path" >&5
32174
echo "${ECHO_T}$kde_cv_path" >&6; }
32175
DCOPIDL=$kde_cv_path
32180
{ echo "$as_me:$LINENO: checking for dcopidl2cpp" >&5
32181
echo $ECHO_N "checking for dcopidl2cpp... $ECHO_C" >&6; }
32182
if test -n "$DCOPIDL2CPP"; then
32183
kde_cv_path="$DCOPIDL2CPP";
32185
kde_cache=`echo dcopidl2cpp | sed 'y%./+-%__p_%'`
32187
if { as_var=kde_cv_path_$kde_cache; eval "test \"\${$as_var+set}\" = set"; }; then
32188
echo $ECHO_N "(cached) $ECHO_C" >&6
32195
for dir in $PATH; do
32198
if test -z ""; then dirs="$kde_default_bindirs $dirs"
32199
else dirs="$dirs $kde_default_bindirs"
32203
for dir in $dirs; do
32204
if test -x "$dir/dcopidl2cpp"; then
32207
evalstr="$dir/dcopidl2cpp 2>&1 "
32208
if eval $evalstr; then
32209
kde_cv_path="$dir/dcopidl2cpp"
32213
kde_cv_path="$dir/dcopidl2cpp"
32219
eval "kde_cv_path_$kde_cache=$kde_cv_path"
32225
eval "kde_cv_path=\"`echo '$kde_cv_path_'$kde_cache`\""
32229
if test -z "$kde_cv_path" || test "$kde_cv_path" = NONE; then
32230
{ echo "$as_me:$LINENO: result: not found" >&5
32231
echo "${ECHO_T}not found" >&6; }
32233
{ { echo "$as_me:$LINENO: error: The important program dcopidl2cpp was not found!
32234
Please check whether you installed KDE correctly.
32236
echo "$as_me: error: The important program dcopidl2cpp was not found!
32237
Please check whether you installed KDE correctly.
32239
{ (exit 1); exit 1; }; }
32242
{ echo "$as_me:$LINENO: result: $kde_cv_path" >&5
32243
echo "${ECHO_T}$kde_cv_path" >&6; }
32244
DCOPIDL2CPP=$kde_cv_path
32248
if test "$build_arts" '!=' "no"; then
32250
{ echo "$as_me:$LINENO: checking for mcopidl" >&5
32251
echo $ECHO_N "checking for mcopidl... $ECHO_C" >&6; }
32252
if test -n "$MCOPIDL"; then
32253
kde_cv_path="$MCOPIDL";
32255
kde_cache=`echo mcopidl | sed 'y%./+-%__p_%'`
32257
if { as_var=kde_cv_path_$kde_cache; eval "test \"\${$as_var+set}\" = set"; }; then
32258
echo $ECHO_N "(cached) $ECHO_C" >&6
32265
for dir in $PATH; do
32268
if test -z ""; then dirs="$kde_default_bindirs $dirs"
32269
else dirs="$dirs $kde_default_bindirs"
32273
for dir in $dirs; do
32274
if test -x "$dir/mcopidl"; then
32277
evalstr="$dir/mcopidl 2>&1 "
32278
if eval $evalstr; then
32279
kde_cv_path="$dir/mcopidl"
32283
kde_cv_path="$dir/mcopidl"
32289
eval "kde_cv_path_$kde_cache=$kde_cv_path"
32295
eval "kde_cv_path=\"`echo '$kde_cv_path_'$kde_cache`\""
32299
if test -z "$kde_cv_path" || test "$kde_cv_path" = NONE; then
32300
{ echo "$as_me:$LINENO: result: not found" >&5
32301
echo "${ECHO_T}not found" >&6; }
32303
{ { echo "$as_me:$LINENO: error: The important program mcopidl was not found!
32304
Please check whether you installed aRts correctly or use
32305
--without-arts to compile without aRts support (this will remove functionality).
32307
echo "$as_me: error: The important program mcopidl was not found!
32308
Please check whether you installed aRts correctly or use
32309
--without-arts to compile without aRts support (this will remove functionality).
32311
{ (exit 1); exit 1; }; }
32314
{ echo "$as_me:$LINENO: result: $kde_cv_path" >&5
32315
echo "${ECHO_T}$kde_cv_path" >&6; }
32316
MCOPIDL=$kde_cv_path
32321
{ echo "$as_me:$LINENO: checking for artsc-config" >&5
32322
echo $ECHO_N "checking for artsc-config... $ECHO_C" >&6; }
32323
if test -n "$ARTSCCONFIG"; then
32324
kde_cv_path="$ARTSCCONFIG";
32326
kde_cache=`echo artsc-config | sed 'y%./+-%__p_%'`
32328
if { as_var=kde_cv_path_$kde_cache; eval "test \"\${$as_var+set}\" = set"; }; then
32329
echo $ECHO_N "(cached) $ECHO_C" >&6
32336
for dir in $PATH; do
32339
if test -z ""; then dirs="$kde_default_bindirs $dirs"
32340
else dirs="$dirs $kde_default_bindirs"
32344
for dir in $dirs; do
32345
if test -x "$dir/artsc-config"; then
32348
evalstr="$dir/artsc-config 2>&1 "
32349
if eval $evalstr; then
32350
kde_cv_path="$dir/artsc-config"
32354
kde_cv_path="$dir/artsc-config"
32360
eval "kde_cv_path_$kde_cache=$kde_cv_path"
32366
eval "kde_cv_path=\"`echo '$kde_cv_path_'$kde_cache`\""
32370
if test -z "$kde_cv_path" || test "$kde_cv_path" = NONE; then
32371
{ echo "$as_me:$LINENO: result: not found" >&5
32372
echo "${ECHO_T}not found" >&6; }
32374
{ { echo "$as_me:$LINENO: error: The important program artsc-config was not found!
32375
Please check whether you installed aRts correctly or use
32376
--without-arts to compile without aRts support (this will remove functionality).
32378
echo "$as_me: error: The important program artsc-config was not found!
32379
Please check whether you installed aRts correctly or use
32380
--without-arts to compile without aRts support (this will remove functionality).
32382
{ (exit 1); exit 1; }; }
32385
{ echo "$as_me:$LINENO: result: $kde_cv_path" >&5
32386
echo "${ECHO_T}$kde_cv_path" >&6; }
32387
ARTSCCONFIG=$kde_cv_path
32393
{ echo "$as_me:$LINENO: checking for meinproc" >&5
32394
echo $ECHO_N "checking for meinproc... $ECHO_C" >&6; }
32395
if test -n "$MEINPROC"; then
32396
kde_cv_path="$MEINPROC";
32398
kde_cache=`echo meinproc | sed 'y%./+-%__p_%'`
32400
if { as_var=kde_cv_path_$kde_cache; eval "test \"\${$as_var+set}\" = set"; }; then
32401
echo $ECHO_N "(cached) $ECHO_C" >&6
32408
for dir in $PATH; do
32411
if test -z ""; then dirs="$kde_default_bindirs $dirs"
32412
else dirs="$dirs $kde_default_bindirs"
32416
for dir in $dirs; do
32417
if test -x "$dir/meinproc"; then
32420
evalstr="$dir/meinproc 2>&1 "
32421
if eval $evalstr; then
32422
kde_cv_path="$dir/meinproc"
32426
kde_cv_path="$dir/meinproc"
32432
eval "kde_cv_path_$kde_cache=$kde_cv_path"
32438
eval "kde_cv_path=\"`echo '$kde_cv_path_'$kde_cache`\""
32442
if test -z "$kde_cv_path" || test "$kde_cv_path" = NONE; then
32443
{ echo "$as_me:$LINENO: result: not found" >&5
32444
echo "${ECHO_T}not found" >&6; }
32447
{ echo "$as_me:$LINENO: result: $kde_cv_path" >&5
32448
echo "${ECHO_T}$kde_cv_path" >&6; }
32449
MEINPROC=$kde_cv_path
32456
if test -n "$kde_qtver" && test "$kde_qtver" -lt 3; then
32460
if test "$kde_qtver" = "3"; then
32461
if test "$kde_qtsubver" -le 1; then
32464
if test "$kde_qtsubver" -le 2; then
32467
if test "$KDECONFIG" != "compiled"; then
32468
if test `$KDECONFIG --version | grep KDE | sed 's/KDE: \(...\).*/\1/'` = 3.2; then
32475
if test -n "$kde32ornewer"; then
32477
{ echo "$as_me:$LINENO: checking for kconfig_compiler" >&5
32478
echo $ECHO_N "checking for kconfig_compiler... $ECHO_C" >&6; }
32479
if test -n "$KCONFIG_COMPILER"; then
32480
kde_cv_path="$KCONFIG_COMPILER";
32482
kde_cache=`echo kconfig_compiler | sed 'y%./+-%__p_%'`
32484
if { as_var=kde_cv_path_$kde_cache; eval "test \"\${$as_var+set}\" = set"; }; then
32485
echo $ECHO_N "(cached) $ECHO_C" >&6
32492
for dir in $PATH; do
32495
if test -z ""; then dirs="$kde_default_bindirs $dirs"
32496
else dirs="$dirs $kde_default_bindirs"
32500
for dir in $dirs; do
32501
if test -x "$dir/kconfig_compiler"; then
32504
evalstr="$dir/kconfig_compiler 2>&1 "
32505
if eval $evalstr; then
32506
kde_cv_path="$dir/kconfig_compiler"
32510
kde_cv_path="$dir/kconfig_compiler"
32516
eval "kde_cv_path_$kde_cache=$kde_cv_path"
32522
eval "kde_cv_path=\"`echo '$kde_cv_path_'$kde_cache`\""
32526
if test -z "$kde_cv_path" || test "$kde_cv_path" = NONE; then
32527
{ echo "$as_me:$LINENO: result: not found" >&5
32528
echo "${ECHO_T}not found" >&6; }
32530
{ { echo "$as_me:$LINENO: error: The important program kconfig_compiler was not found!
32531
Please check whether you installed KDE correctly.
32533
echo "$as_me: error: The important program kconfig_compiler was not found!
32534
Please check whether you installed KDE correctly.
32536
{ (exit 1); exit 1; }; }
32539
{ echo "$as_me:$LINENO: result: $kde_cv_path" >&5
32540
echo "${ECHO_T}$kde_cv_path" >&6; }
32541
KCONFIG_COMPILER=$kde_cv_path
32546
{ echo "$as_me:$LINENO: checking for dcopidlng" >&5
32547
echo $ECHO_N "checking for dcopidlng... $ECHO_C" >&6; }
32548
if test -n "$DCOPIDLNG"; then
32549
kde_cv_path="$DCOPIDLNG";
32551
kde_cache=`echo dcopidlng | sed 'y%./+-%__p_%'`
32553
if { as_var=kde_cv_path_$kde_cache; eval "test \"\${$as_var+set}\" = set"; }; then
32554
echo $ECHO_N "(cached) $ECHO_C" >&6
32561
for dir in $PATH; do
32564
if test -z ""; then dirs="$kde_default_bindirs $dirs"
32565
else dirs="$dirs $kde_default_bindirs"
32569
for dir in $dirs; do
32570
if test -x "$dir/dcopidlng"; then
32573
evalstr="$dir/dcopidlng 2>&1 "
32574
if eval $evalstr; then
32575
kde_cv_path="$dir/dcopidlng"
32579
kde_cv_path="$dir/dcopidlng"
32585
eval "kde_cv_path_$kde_cache=$kde_cv_path"
32591
eval "kde_cv_path=\"`echo '$kde_cv_path_'$kde_cache`\""
32595
if test -z "$kde_cv_path" || test "$kde_cv_path" = NONE; then
32596
{ echo "$as_me:$LINENO: result: not found" >&5
32597
echo "${ECHO_T}not found" >&6; }
32599
{ { echo "$as_me:$LINENO: error: The important program dcopidlng was not found!
32600
Please check whether you installed KDE correctly.
32602
echo "$as_me: error: The important program dcopidlng was not found!
32603
Please check whether you installed KDE correctly.
32605
{ (exit 1); exit 1; }; }
32608
{ echo "$as_me:$LINENO: result: $kde_cv_path" >&5
32609
echo "${ECHO_T}$kde_cv_path" >&6; }
32610
DCOPIDLNG=$kde_cv_path
32615
if test -n "$kde33ornewer"; then
32617
{ echo "$as_me:$LINENO: checking for makekdewidgets" >&5
32618
echo $ECHO_N "checking for makekdewidgets... $ECHO_C" >&6; }
32619
if test -n "$MAKEKDEWIDGETS"; then
32620
kde_cv_path="$MAKEKDEWIDGETS";
32622
kde_cache=`echo makekdewidgets | sed 'y%./+-%__p_%'`
32624
if { as_var=kde_cv_path_$kde_cache; eval "test \"\${$as_var+set}\" = set"; }; then
32625
echo $ECHO_N "(cached) $ECHO_C" >&6
32632
for dir in $PATH; do
32635
if test -z ""; then dirs="$kde_default_bindirs $dirs"
32636
else dirs="$dirs $kde_default_bindirs"
32640
for dir in $dirs; do
32641
if test -x "$dir/makekdewidgets"; then
32644
evalstr="$dir/makekdewidgets 2>&1 "
32645
if eval $evalstr; then
32646
kde_cv_path="$dir/makekdewidgets"
32650
kde_cv_path="$dir/makekdewidgets"
32656
eval "kde_cv_path_$kde_cache=$kde_cv_path"
32662
eval "kde_cv_path=\"`echo '$kde_cv_path_'$kde_cache`\""
32666
if test -z "$kde_cv_path" || test "$kde_cv_path" = NONE; then
32667
{ echo "$as_me:$LINENO: result: not found" >&5
32668
echo "${ECHO_T}not found" >&6; }
32670
{ { echo "$as_me:$LINENO: error: The important program makekdewidgets was not found!
32671
Please check whether you installed KDE correctly.
32673
echo "$as_me: error: The important program makekdewidgets was not found!
32674
Please check whether you installed KDE correctly.
32676
{ (exit 1); exit 1; }; }
32679
{ echo "$as_me:$LINENO: result: $kde_cv_path" >&5
32680
echo "${ECHO_T}$kde_cv_path" >&6; }
32681
MAKEKDEWIDGETS=$kde_cv_path
32688
{ echo "$as_me:$LINENO: checking for xmllint" >&5
32689
echo $ECHO_N "checking for xmllint... $ECHO_C" >&6; }
32690
if test -n "$XMLLINT"; then
32691
kde_cv_path="$XMLLINT";
32693
kde_cache=`echo xmllint | sed 'y%./+-%__p_%'`
32695
if { as_var=kde_cv_path_$kde_cache; eval "test \"\${$as_var+set}\" = set"; }; then
32696
echo $ECHO_N "(cached) $ECHO_C" >&6
32703
for dir in $PATH; do
32706
if test -z ""; then dirs="${prefix}/bin ${exec_prefix}/bin $dirs"
32707
else dirs="$dirs ${prefix}/bin ${exec_prefix}/bin"
32711
for dir in $dirs; do
32712
if test -x "$dir/xmllint"; then
32715
evalstr="$dir/xmllint 2>&1 "
32716
if eval $evalstr; then
32717
kde_cv_path="$dir/xmllint"
32721
kde_cv_path="$dir/xmllint"
32727
eval "kde_cv_path_$kde_cache=$kde_cv_path"
32733
eval "kde_cv_path=\"`echo '$kde_cv_path_'$kde_cache`\""
32737
if test -z "$kde_cv_path" || test "$kde_cv_path" = NONE; then
32738
{ echo "$as_me:$LINENO: result: not found" >&5
32739
echo "${ECHO_T}not found" >&6; }
32742
{ echo "$as_me:$LINENO: result: $kde_cv_path" >&5
32743
echo "${ECHO_T}$kde_cv_path" >&6; }
32744
XMLLINT=$kde_cv_path
32749
if test -n "$MEINPROC" -a "$MEINPROC" != "compiled"; then
32750
kde_sharedirs="/usr/share/kde /usr/local/share /usr/share /opt/kde3/share /opt/kde/share $prefix/share"
32751
test -n "$KDEDIR" && kde_sharedirs="$KDEDIR/share $kde_sharedirs"
32753
KDE_XSL_STYLESHEET=NO
32754
for i in $kde_sharedirs;
32756
for j in apps/ksgmltools2/customization/kde-chunk.xsl;
32758
echo "configure: 32758: $i/$j" >&5
32759
if test -r "$i/$j"; then
32760
echo "taking that" >&5
32761
KDE_XSL_STYLESHEET=$i
32767
if test "$KDE_XSL_STYLESHEET" = "NO"; then
32768
KDE_XSL_STYLESHEET=""
32770
KDE_XSL_STYLESHEET="$KDE_XSL_STYLESHEET/apps/ksgmltools2/customization/kde-chunk.xsl"
32774
DCOP_DEPENDENCIES='$(DCOPIDL)'
32775
if test -n "$kde32ornewer"; then
32776
KCFG_DEPENDENCIES='$(KCONFIG_COMPILER)'
32777
DCOP_DEPENDENCIES='$(DCOPIDL) $(DCOPIDLNG)'
32813
kdeinitdir='$(kde_moduledir)'
32817
if test "$kde_qtver" = 1; then
32818
kde_minidir="$kde_icondir/mini"
32820
# for KDE 1 - this breaks KDE2 apps using minidir, but
32821
# that's the plan ;-/
32822
kde_minidir="/dev/null"
32830
if test $kde_qtver = 3; then
32832
*cygwin*) lib_kded="-lkdeinit_kded" ;;
32837
LIB_KDECORE="-lkdecore"
32839
LIB_KDEUI="-lkdeui"
32851
LIB_KHTML="-lkhtml"
32853
LIB_KSPELL="-lkspell"
32855
LIB_KPARTS="-lkparts"
32857
LIB_KDEPRINT="-lkdeprint"
32859
LIB_KUTILS="-lkutils"
32861
LIB_KDEPIM="-lkdepim"
32863
LIB_KIMPROXY="-lkimproxy"
32865
LIB_KNEWSTUFF="-lknewstuff"
32867
LIB_KDNSSD="-lkdnssd"
32869
LIB_KUNITTEST="-lkunittest"
32871
# these are for backward compatibility
32872
LIB_KSYCOCA="-lkio"
32876
elif test $kde_qtver = 2; then
32877
LIB_KDECORE="-lkdecore"
32879
LIB_KDEUI="-lkdeui"
32883
LIB_KSYCOCA="-lksycoca"
32887
LIB_KFILE="-lkfile"
32891
LIB_KHTML="-lkhtml"
32893
LIB_KSPELL="-lkspell"
32895
LIB_KPARTS="-lkparts"
32897
LIB_KDEPRINT="-lkdeprint"
32900
LIB_KDECORE="-lkdecore -lXext $(LIB_QT)"
32902
LIB_KDEUI="-lkdeui $(LIB_KDECORE)"
32904
LIB_KFM="-lkfm $(LIB_KDECORE)"
32906
LIB_KFILE="-lkfile $(LIB_KFM) $(LIB_KDEUI)"
32908
LIB_KAB="-lkab $(LIB_KIMGIO) $(LIB_KDECORE)"
32916
{ echo "$as_me:$LINENO: checking whether byte ordering is bigendian" >&5
32917
echo $ECHO_N "checking whether byte ordering is bigendian... $ECHO_C" >&6; }
32918
if test "${ac_cv_c_bigendian+set}" = set; then
32919
echo $ECHO_N "(cached) $ECHO_C" >&6
32921
# See if sys/param.h defines the BYTE_ORDER macro.
32922
cat >conftest.$ac_ext <<_ACEOF
32925
cat confdefs.h >>conftest.$ac_ext
32926
cat >>conftest.$ac_ext <<_ACEOF
32927
/* end confdefs.h. */
32928
#include <sys/types.h>
32929
#include <sys/param.h>
32934
#if ! (defined BYTE_ORDER && defined BIG_ENDIAN && defined LITTLE_ENDIAN \
32935
&& BYTE_ORDER && BIG_ENDIAN && LITTLE_ENDIAN)
32936
bogus endian macros
32943
rm -f conftest.$ac_objext
32944
if { (ac_try="$ac_compile"
32945
case "(($ac_try" in
32946
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
32947
*) ac_try_echo=$ac_try;;
32949
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32950
(eval "$ac_compile") 2>conftest.er1
32952
grep -v '^ *+' conftest.er1 >conftest.err
32954
cat conftest.err >&5
32955
echo "$as_me:$LINENO: \$? = $ac_status" >&5
32956
(exit $ac_status); } && {
32957
test -z "$ac_c_werror_flag" ||
32958
test ! -s conftest.err
32959
} && test -s conftest.$ac_objext; then
32960
# It does; now see whether it defined to BIG_ENDIAN or not.
32961
cat >conftest.$ac_ext <<_ACEOF
32964
cat confdefs.h >>conftest.$ac_ext
32965
cat >>conftest.$ac_ext <<_ACEOF
32966
/* end confdefs.h. */
32967
#include <sys/types.h>
32968
#include <sys/param.h>
32973
#if BYTE_ORDER != BIG_ENDIAN
32981
rm -f conftest.$ac_objext
32982
if { (ac_try="$ac_compile"
32983
case "(($ac_try" in
32984
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
32985
*) ac_try_echo=$ac_try;;
32987
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32988
(eval "$ac_compile") 2>conftest.er1
32990
grep -v '^ *+' conftest.er1 >conftest.err
32992
cat conftest.err >&5
32993
echo "$as_me:$LINENO: \$? = $ac_status" >&5
32994
(exit $ac_status); } && {
32995
test -z "$ac_c_werror_flag" ||
32996
test ! -s conftest.err
32997
} && test -s conftest.$ac_objext; then
32998
ac_cv_c_bigendian=yes
33000
echo "$as_me: failed program was:" >&5
33001
sed 's/^/| /' conftest.$ac_ext >&5
33003
ac_cv_c_bigendian=no
33006
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33008
echo "$as_me: failed program was:" >&5
33009
sed 's/^/| /' conftest.$ac_ext >&5
33011
# It does not; compile a test program.
33012
if test "$cross_compiling" = yes; then
33013
# try to guess the endianness by grepping values into an object file
33014
ac_cv_c_bigendian=unknown
33015
cat >conftest.$ac_ext <<_ACEOF
33018
cat confdefs.h >>conftest.$ac_ext
33019
cat >>conftest.$ac_ext <<_ACEOF
33020
/* end confdefs.h. */
33021
short int ascii_mm[] = { 0x4249, 0x4765, 0x6E44, 0x6961, 0x6E53, 0x7953, 0 };
33022
short int ascii_ii[] = { 0x694C, 0x5454, 0x656C, 0x6E45, 0x6944, 0x6E61, 0 };
33023
void _ascii () { char *s = (char *) ascii_mm; s = (char *) ascii_ii; }
33024
short int ebcdic_ii[] = { 0x89D3, 0xE3E3, 0x8593, 0x95C5, 0x89C4, 0x9581, 0 };
33025
short int ebcdic_mm[] = { 0xC2C9, 0xC785, 0x95C4, 0x8981, 0x95E2, 0xA8E2, 0 };
33026
void _ebcdic () { char *s = (char *) ebcdic_mm; s = (char *) ebcdic_ii; }
33030
_ascii (); _ebcdic ();
33035
rm -f conftest.$ac_objext
33036
if { (ac_try="$ac_compile"
33037
case "(($ac_try" in
33038
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
33039
*) ac_try_echo=$ac_try;;
33041
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33042
(eval "$ac_compile") 2>conftest.er1
33044
grep -v '^ *+' conftest.er1 >conftest.err
33046
cat conftest.err >&5
33047
echo "$as_me:$LINENO: \$? = $ac_status" >&5
33048
(exit $ac_status); } && {
33049
test -z "$ac_c_werror_flag" ||
33050
test ! -s conftest.err
33051
} && test -s conftest.$ac_objext; then
33052
if grep BIGenDianSyS conftest.$ac_objext >/dev/null ; then
33053
ac_cv_c_bigendian=yes
33055
if grep LiTTleEnDian conftest.$ac_objext >/dev/null ; then
33056
if test "$ac_cv_c_bigendian" = unknown; then
33057
ac_cv_c_bigendian=no
33059
# finding both strings is unlikely to happen, but who knows?
33060
ac_cv_c_bigendian=unknown
33064
echo "$as_me: failed program was:" >&5
33065
sed 's/^/| /' conftest.$ac_ext >&5
33070
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33072
cat >conftest.$ac_ext <<_ACEOF
33075
cat confdefs.h >>conftest.$ac_ext
33076
cat >>conftest.$ac_ext <<_ACEOF
33077
/* end confdefs.h. */
33078
$ac_includes_default
33083
/* Are we little or big endian? From Harbison&Steele. */
33087
char c[sizeof (long int)];
33090
return u.c[sizeof (long int) - 1] == 1;
33096
rm -f conftest$ac_exeext
33097
if { (ac_try="$ac_link"
33098
case "(($ac_try" in
33099
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
33100
*) ac_try_echo=$ac_try;;
33102
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33103
(eval "$ac_link") 2>&5
33105
echo "$as_me:$LINENO: \$? = $ac_status" >&5
33106
(exit $ac_status); } && { ac_try='./conftest$ac_exeext'
33107
{ (case "(($ac_try" in
33108
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
33109
*) ac_try_echo=$ac_try;;
33111
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33112
(eval "$ac_try") 2>&5
33114
echo "$as_me:$LINENO: \$? = $ac_status" >&5
33115
(exit $ac_status); }; }; then
33116
ac_cv_c_bigendian=no
33118
echo "$as_me: program exited with status $ac_status" >&5
33119
echo "$as_me: failed program was:" >&5
33120
sed 's/^/| /' conftest.$ac_ext >&5
33122
( exit $ac_status )
33123
ac_cv_c_bigendian=yes
33125
rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
33131
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33133
{ echo "$as_me:$LINENO: result: $ac_cv_c_bigendian" >&5
33134
echo "${ECHO_T}$ac_cv_c_bigendian" >&6; }
33135
case $ac_cv_c_bigendian in
33138
cat >>confdefs.h <<\_ACEOF
33139
#define WORDS_BIGENDIAN 1
33145
{ { echo "$as_me:$LINENO: error: unknown endianness
33146
presetting ac_cv_c_bigendian=no (or yes) will help" >&5
33147
echo "$as_me: error: unknown endianness
33148
presetting ac_cv_c_bigendian=no (or yes) will help" >&2;}
33149
{ (exit 1); exit 1; }; } ;;
33153
{ echo "$as_me:$LINENO: checking for MAXPATHLEN" >&5
33154
echo $ECHO_N "checking for MAXPATHLEN... $ECHO_C" >&6; }
33155
if test "${ac_cv_maxpathlen+set}" = set; then
33156
echo $ECHO_N "(cached) $ECHO_C" >&6
33159
cat > conftest.$ac_ext <<EOF
33160
#ifdef STDC_HEADERS
33161
# include <stdlib.h>
33164
#include <sys/param.h>
33166
#define MAXPATHLEN 1024
33169
KDE_HELLO MAXPATHLEN
33173
ac_try="$ac_cpp conftest.$ac_ext 2>/dev/null | grep '^KDE_HELLO' >conftest.out"
33175
if { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33176
(eval $ac_try) 2>&5
33178
echo "$as_me:$LINENO: \$? = $ac_status" >&5
33179
(exit $ac_status); } && test -s conftest.out; then
33180
ac_cv_maxpathlen=`sed 's#KDE_HELLO ##' conftest.out`
33182
ac_cv_maxpathlen=1024
33190
{ echo "$as_me:$LINENO: result: $ac_cv_maxpathlen" >&5
33191
echo "${ECHO_T}$ac_cv_maxpathlen" >&6; }
33193
cat >>confdefs.h <<_ACEOF
33194
#define KDEMAXPATHLEN $ac_cv_maxpathlen
33201
DO_NOT_COMPILE="$DO_NOT_COMPILE CVS debian bsd-port admin"
33204
if test ! -s $srcdir/subdirs; then
33205
files=`cd $srcdir && ls -1`
33206
dirs=`for i in $files; do if test -d $i; then echo $i; fi; done`
33208
echo $i >> $srcdir/subdirs
33213
if test -s $srcdir/inst-apps; then
33214
ac_topsubdirs="`cat $srcdir/inst-apps`"
33215
elif test -s $srcdir/subdirs; then
33216
ac_topsubdirs="`cat $srcdir/subdirs`"
33219
for i in $ac_topsubdirs; do
33220
{ echo "$as_me:$LINENO: checking if $i should be compiled" >&5
33221
echo $ECHO_N "checking if $i should be compiled... $ECHO_C" >&6; }
33222
if test -d $srcdir/$i; then
33224
for j in $DO_NOT_COMPILE; do
33225
if test $i = $j; then
33232
{ echo "$as_me:$LINENO: result: $install_it" >&5
33233
echo "${ECHO_T}$install_it" >&6; }
33234
vari=`echo $i | sed -e 's,[-+.@],_,g'`
33235
if test $install_it = "yes"; then
33236
TOPSUBDIRS="$TOPSUBDIRS $i"
33237
eval "$vari""_SUBDIR_included=yes"
33239
eval "$vari""_SUBDIR_included=no"
33245
ac_config_files="$ac_config_files Makefile"
33247
ac_config_files="$ac_config_files doc/Makefile"
33249
ac_config_files="$ac_config_files doc/cs/Makefile"
33251
ac_config_files="$ac_config_files doc/en/Makefile"
33253
ac_config_files="$ac_config_files pics/Makefile"
33255
ac_config_files="$ac_config_files po/Makefile"
33257
ac_config_files="$ac_config_files specs/Makefile"
33259
ac_config_files="$ac_config_files src/Makefile"
33261
cat >confcache <<\_ACEOF
33262
# This file is a shell script that caches the results of configure
33263
# tests run on this system so they can be shared between configure
33264
# scripts and configure runs, see configure's option --config-cache.
33265
# It is not useful on other systems. If it contains results you don't
33266
# want to keep, you may remove or edit it.
33268
# config.status only pays attention to the cache file if you give it
33269
# the --recheck option to rerun configure.
33271
# `ac_cv_env_foo' variables (set or unset) will be overridden when
33272
# loading this file, other *unset* `ac_cv_foo' will be assigned the
33273
# following values.
33277
# The following way of writing the cache mishandles newlines in values,
33278
# but we know of no workaround that is simple, portable, and efficient.
33279
# So, we kill variables containing newlines.
33280
# Ultrix sh set writes to stderr and can't be redirected directly,
33281
# and sets the high bit in the cache file unless we assign to the vars.
33283
for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
33284
eval ac_val=\$$ac_var
33288
*_cv_*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
33289
echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
33292
_ | IFS | as_nl) ;; #(
33293
*) $as_unset $ac_var ;;
33299
case $as_nl`(ac_space=' '; set) 2>&1` in #(
33300
*${as_nl}ac_space=\ *)
33301
# `set' does not quote correctly, so add quotes (double-quote
33302
# substitution turns \\\\ into \\, and sed turns \\ into \).
33305
s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
33308
# `set' quotes correctly as required by POSIX, so do not add quotes.
33309
sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
33318
s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
33320
s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
33322
if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
33323
if test -w "$cache_file"; then
33324
test "x$cache_file" != "x/dev/null" &&
33325
{ echo "$as_me:$LINENO: updating cache $cache_file" >&5
33326
echo "$as_me: updating cache $cache_file" >&6;}
33327
cat confcache >$cache_file
33329
{ echo "$as_me:$LINENO: not updating unwritable cache $cache_file" >&5
33330
echo "$as_me: not updating unwritable cache $cache_file" >&6;}
33335
test "x$prefix" = xNONE && prefix=$ac_default_prefix
33336
# Let make expand exec_prefix.
33337
test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
33339
DEFS=-DHAVE_CONFIG_H
33343
for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
33344
# 1. Remove the extension, and $U if already installed.
33345
ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
33346
ac_i=`echo "$ac_i" | sed "$ac_script"`
33347
# 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
33348
# will be set to the directory where LIBOBJS objects are built.
33349
ac_libobjs="$ac_libobjs \${LIBOBJDIR}$ac_i\$U.$ac_objext"
33350
ac_ltlibobjs="$ac_ltlibobjs \${LIBOBJDIR}$ac_i"'$U.lo'
33352
LIBOBJS=$ac_libobjs
33354
LTLIBOBJS=$ac_ltlibobjs
33357
if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
33358
{ { echo "$as_me:$LINENO: error: conditional \"AMDEP\" was never defined.
33359
Usually this means the macro was only invoked conditionally." >&5
33360
echo "$as_me: error: conditional \"AMDEP\" was never defined.
33361
Usually this means the macro was only invoked conditionally." >&2;}
33362
{ (exit 1); exit 1; }; }
33364
if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
33365
{ { echo "$as_me:$LINENO: error: conditional \"am__fastdepCC\" was never defined.
33366
Usually this means the macro was only invoked conditionally." >&5
33367
echo "$as_me: error: conditional \"am__fastdepCC\" was never defined.
33368
Usually this means the macro was only invoked conditionally." >&2;}
33369
{ (exit 1); exit 1; }; }
33371
if test -z "${am__fastdepCXX_TRUE}" && test -z "${am__fastdepCXX_FALSE}"; then
33372
{ { echo "$as_me:$LINENO: error: conditional \"am__fastdepCXX\" was never defined.
33373
Usually this means the macro was only invoked conditionally." >&5
33374
echo "$as_me: error: conditional \"am__fastdepCXX\" was never defined.
33375
Usually this means the macro was only invoked conditionally." >&2;}
33376
{ (exit 1); exit 1; }; }
33378
if test -z "${unsermake_enable_pch_TRUE}" && test -z "${unsermake_enable_pch_FALSE}"; then
33379
{ { echo "$as_me:$LINENO: error: conditional \"unsermake_enable_pch\" was never defined.
33380
Usually this means the macro was only invoked conditionally." >&5
33381
echo "$as_me: error: conditional \"unsermake_enable_pch\" was never defined.
33382
Usually this means the macro was only invoked conditionally." >&2;}
33383
{ (exit 1); exit 1; }; }
33385
if test -z "${include_x11_TRUE}" && test -z "${include_x11_FALSE}"; then
33386
{ { echo "$as_me:$LINENO: error: conditional \"include_x11\" was never defined.
33387
Usually this means the macro was only invoked conditionally." >&5
33388
echo "$as_me: error: conditional \"include_x11\" was never defined.
33389
Usually this means the macro was only invoked conditionally." >&2;}
33390
{ (exit 1); exit 1; }; }
33392
if test -z "${include_ARTS_TRUE}" && test -z "${include_ARTS_FALSE}"; then
33393
{ { echo "$as_me:$LINENO: error: conditional \"include_ARTS\" was never defined.
33394
Usually this means the macro was only invoked conditionally." >&5
33395
echo "$as_me: error: conditional \"include_ARTS\" was never defined.
33396
Usually this means the macro was only invoked conditionally." >&2;}
33397
{ (exit 1); exit 1; }; }
33400
: ${CONFIG_STATUS=./config.status}
33401
ac_clean_files_save=$ac_clean_files
33402
ac_clean_files="$ac_clean_files $CONFIG_STATUS"
33403
{ echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
33404
echo "$as_me: creating $CONFIG_STATUS" >&6;}
33405
cat >$CONFIG_STATUS <<_ACEOF
33407
# Generated by $as_me.
33408
# Run this file to recreate the current configuration.
33409
# Compiler output produced by configure, useful for debugging
33410
# configure, is in config.log if it exists.
33413
ac_cs_recheck=false
33415
SHELL=\${CONFIG_SHELL-$SHELL}
33418
cat >>$CONFIG_STATUS <<\_ACEOF
33419
## --------------------- ##
33420
## M4sh Initialization. ##
33421
## --------------------- ##
33423
# Be more Bourne compatible
33424
DUALCASE=1; export DUALCASE # for MKS sh
33425
if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
33428
# Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
33429
# is contrary to our usage. Disable this feature.
33430
alias -g '${1+"$@"}'='"$@"'
33431
setopt NO_GLOB_SUBST
33433
case `(set -o) 2>/dev/null` in
33434
*posix*) set -o posix ;;
33443
# Avoid depending upon Character Ranges.
33444
as_cr_letters='abcdefghijklmnopqrstuvwxyz'
33445
as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
33446
as_cr_Letters=$as_cr_letters$as_cr_LETTERS
33447
as_cr_digits='0123456789'
33448
as_cr_alnum=$as_cr_Letters$as_cr_digits
33450
# The user is always right.
33451
if test "${PATH_SEPARATOR+set}" != set; then
33452
echo "#! /bin/sh" >conf$$.sh
33453
echo "exit 0" >>conf$$.sh
33455
if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
33463
# Support unset when possible.
33464
if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
33472
# We need space, tab and new line, in precisely that order. Quoting is
33473
# there to prevent editors from complaining about space-tab.
33474
# (If _AS_PATH_WALK were called with IFS unset, it would disable word
33475
# splitting by setting IFS to empty value.)
33480
# Find who we are. Look in the path if we contain no directory separator.
33482
*[\\/]* ) as_myself=$0 ;;
33483
*) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
33484
for as_dir in $PATH
33487
test -z "$as_dir" && as_dir=.
33488
test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
33494
# We did not find ourselves, most probably we were run as `sh COMMAND'
33495
# in which case we are not to be found in the path.
33496
if test "x$as_myself" = x; then
33499
if test ! -f "$as_myself"; then
33500
echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
33501
{ (exit 1); exit 1; }
33504
# Work around bugs in pre-3.0 UWIN ksh.
33505
for as_var in ENV MAIL MAILPATH
33506
do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
33514
LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
33515
LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
33516
LC_TELEPHONE LC_TIME
33518
if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
33519
eval $as_var=C; export $as_var
33521
($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
33525
# Required to use basename.
33526
if expr a : '\(a\)' >/dev/null 2>&1 &&
33527
test "X`expr 00001 : '.*\(...\)'`" = X001; then
33533
if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
33534
as_basename=basename
33540
# Name of the executable.
33541
as_me=`$as_basename -- "$0" ||
33542
$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
33543
X"$0" : 'X\(//\)$' \| \
33544
X"$0" : 'X\(/\)' \| . 2>/dev/null ||
33546
sed '/^.*\/\([^/][^/]*\)\/*$/{
33565
as_lineno_1=$LINENO
33566
as_lineno_2=$LINENO
33567
test "x$as_lineno_1" != "x$as_lineno_2" &&
33568
test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" || {
33570
# Create $as_me.lineno as a copy of $as_myself, but with $LINENO
33571
# uniformly replaced by the line number. The first 'sed' inserts a
33572
# line-number line after each line using $LINENO; the second 'sed'
33573
# does the real work. The second script uses 'N' to pair each
33574
# line-number line with the line containing $LINENO, and appends
33575
# trailing '-' during substitution so that $LINENO is not a special
33576
# case at line end.
33577
# (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
33578
# scripts with optimization help from Paolo Bonzini. Blame Lee
33579
# E. McMahon (1931-1989) for sed's syntax. :-)
33591
s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
33594
' >$as_me.lineno &&
33595
chmod +x "$as_me.lineno" ||
33596
{ echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
33597
{ (exit 1); exit 1; }; }
33599
# Don't try to exec as it changes $[0], causing all sort of problems
33600
# (the dirname of $[0] is not the place where we might find the
33601
# original and so on. Autoconf is especially sensitive to this).
33602
. "./$as_me.lineno"
33603
# Exit status is that of the last command.
33608
if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
33614
ECHO_C= ECHO_N= ECHO_T=
33615
case `echo -n x` in
33617
case `echo 'x\c'` in
33618
*c*) ECHO_T=' ';; # ECHO_T is single tab character.
33625
if expr a : '\(a\)' >/dev/null 2>&1 &&
33626
test "X`expr 00001 : '.*\(...\)'`" = X001; then
33632
rm -f conf$$ conf$$.exe conf$$.file
33633
if test -d conf$$.dir; then
33634
rm -f conf$$.dir/conf$$.file
33640
if ln -s conf$$.file conf$$ 2>/dev/null; then
33642
# ... but there are two gotchas:
33643
# 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
33644
# 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
33645
# In both cases, we have to default to `cp -p'.
33646
ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
33648
elif ln conf$$.file conf$$ 2>/dev/null; then
33653
rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
33654
rmdir conf$$.dir 2>/dev/null
33656
if mkdir -p . 2>/dev/null; then
33659
test -d ./-p && rmdir ./-p
33663
if test -x / >/dev/null 2>&1; then
33664
as_test_x='test -x'
33666
if ls -dL / >/dev/null 2>&1; then
33673
if test -d "$1"; then
33679
case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in
33680
???[sx]*):;;*)false;;esac;fi
33684
as_executable_p=$as_test_x
33686
# Sed expression to map a string onto a valid CPP name.
33687
as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
33689
# Sed expression to map a string onto a valid variable name.
33690
as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
33695
# Save the log message, to keep $[0] and so on meaningful, and to
33696
# report actual input values of CONFIG_FILES etc. instead of their
33697
# values after options handling.
33699
This file was extended by $as_me, which was
33700
generated by GNU Autoconf 2.61. Invocation command line was
33702
CONFIG_FILES = $CONFIG_FILES
33703
CONFIG_HEADERS = $CONFIG_HEADERS
33704
CONFIG_LINKS = $CONFIG_LINKS
33705
CONFIG_COMMANDS = $CONFIG_COMMANDS
33708
on `(hostname || uname -n) 2>/dev/null | sed 1q`
33713
cat >>$CONFIG_STATUS <<_ACEOF
33714
# Files that config.status was made for.
33715
config_files="$ac_config_files"
33716
config_headers="$ac_config_headers"
33717
config_commands="$ac_config_commands"
33721
cat >>$CONFIG_STATUS <<\_ACEOF
33723
\`$as_me' instantiates files from templates according to the
33724
current configuration.
33726
Usage: $0 [OPTIONS] [FILE]...
33728
-h, --help print this help, then exit
33729
-V, --version print version number and configuration settings, then exit
33730
-q, --quiet do not print progress messages
33731
-d, --debug don't remove temporary files
33732
--recheck update $as_me by reconfiguring in the same conditions
33733
--file=FILE[:TEMPLATE]
33734
instantiate the configuration file FILE
33735
--header=FILE[:TEMPLATE]
33736
instantiate the configuration header FILE
33738
Configuration files:
33741
Configuration headers:
33744
Configuration commands:
33747
Report bugs to <bug-autoconf@gnu.org>."
33750
cat >>$CONFIG_STATUS <<_ACEOF
33753
configured by $0, generated by GNU Autoconf 2.61,
33754
with options \\"`echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`\\"
33756
Copyright (C) 2006 Free Software Foundation, Inc.
33757
This config.status script is free software; the Free Software Foundation
33758
gives unlimited permission to copy, distribute and modify it."
33765
cat >>$CONFIG_STATUS <<\_ACEOF
33766
# If no file are specified by the user, then we need to provide default
33767
# value. By we need to know if files were specified by the user.
33773
ac_option=`expr "X$1" : 'X\([^=]*\)='`
33774
ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
33785
# Handling of the options.
33786
-recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
33788
--version | --versio | --versi | --vers | --ver | --ve | --v | -V )
33789
echo "$ac_cs_version"; exit ;;
33790
--debug | --debu | --deb | --de | --d | -d )
33792
--file | --fil | --fi | --f )
33794
CONFIG_FILES="$CONFIG_FILES $ac_optarg"
33795
ac_need_defaults=false;;
33796
--header | --heade | --head | --hea )
33798
CONFIG_HEADERS="$CONFIG_HEADERS $ac_optarg"
33799
ac_need_defaults=false;;
33801
# Conflict between --help and --header
33802
{ echo "$as_me: error: ambiguous option: $1
33803
Try \`$0 --help' for more information." >&2
33804
{ (exit 1); exit 1; }; };;
33805
--help | --hel | -h )
33806
echo "$ac_cs_usage"; exit ;;
33807
-q | -quiet | --quiet | --quie | --qui | --qu | --q \
33808
| -silent | --silent | --silen | --sile | --sil | --si | --s)
33811
# This is an error.
33812
-*) { echo "$as_me: error: unrecognized option: $1
33813
Try \`$0 --help' for more information." >&2
33814
{ (exit 1); exit 1; }; } ;;
33816
*) ac_config_targets="$ac_config_targets $1"
33817
ac_need_defaults=false ;;
33823
ac_configure_extra_args=
33825
if $ac_cs_silent; then
33827
ac_configure_extra_args="$ac_configure_extra_args --silent"
33831
cat >>$CONFIG_STATUS <<_ACEOF
33832
if \$ac_cs_recheck; then
33833
echo "running CONFIG_SHELL=$SHELL $SHELL $0 "$ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6
33834
CONFIG_SHELL=$SHELL
33835
export CONFIG_SHELL
33836
exec $SHELL "$0"$ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
33840
cat >>$CONFIG_STATUS <<\_ACEOF
33844
sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
33845
## Running $as_me. ##
33851
cat >>$CONFIG_STATUS <<_ACEOF
33855
AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
33859
cat >>$CONFIG_STATUS <<\_ACEOF
33861
# Handling of arguments.
33862
for ac_config_target in $ac_config_targets
33864
case $ac_config_target in
33865
"config.h") CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;;
33866
"depfiles") CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;;
33867
"Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
33868
"doc/Makefile") CONFIG_FILES="$CONFIG_FILES doc/Makefile" ;;
33869
"doc/cs/Makefile") CONFIG_FILES="$CONFIG_FILES doc/cs/Makefile" ;;
33870
"doc/en/Makefile") CONFIG_FILES="$CONFIG_FILES doc/en/Makefile" ;;
33871
"pics/Makefile") CONFIG_FILES="$CONFIG_FILES pics/Makefile" ;;
33872
"po/Makefile") CONFIG_FILES="$CONFIG_FILES po/Makefile" ;;
33873
"specs/Makefile") CONFIG_FILES="$CONFIG_FILES specs/Makefile" ;;
33874
"src/Makefile") CONFIG_FILES="$CONFIG_FILES src/Makefile" ;;
33876
*) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
33877
echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
33878
{ (exit 1); exit 1; }; };;
33883
# If the user did not use the arguments to specify the items to instantiate,
33884
# then the envvar interface is used. Set only those that are not.
33885
# We use the long form for the default assignment because of an extremely
33886
# bizarre bug on SunOS 4.1.3.
33887
if $ac_need_defaults; then
33888
test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
33889
test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
33890
test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
33893
# Have a temporary directory for convenience. Make it in the build tree
33894
# simply because there is no reason against having it here, and in addition,
33895
# creating and moving files from /tmp can sometimes cause problems.
33896
# Hook for its removal unless debugging.
33897
# Note that there is a small window in which the directory will not be cleaned:
33898
# after its creation but before its name has been assigned to `$tmp'.
33902
trap 'exit_status=$?
33903
{ test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status
33905
trap '{ (exit 1); exit 1; }' 1 2 13 15
33907
# Create a (secure) tmp directory for tmp files.
33910
tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
33911
test -n "$tmp" && test -d "$tmp"
33914
tmp=./conf$$-$RANDOM
33915
(umask 077 && mkdir "$tmp")
33918
echo "$me: cannot create a temporary directory in ." >&2
33919
{ (exit 1); exit 1; }
33923
# Set up the sed scripts for CONFIG_FILES section.
33926
# No need to generate the scripts if there are no CONFIG_FILES.
33927
# This happens for instance when ./config.status config.h
33928
if test -n "$CONFIG_FILES"; then
33935
for ac_last_try in false false false false false :; do
33936
cat >conf$$subs.sed <<_ACEOF
33937
SHELL!$SHELL$ac_delim
33938
PATH_SEPARATOR!$PATH_SEPARATOR$ac_delim
33939
PACKAGE_NAME!$PACKAGE_NAME$ac_delim
33940
PACKAGE_TARNAME!$PACKAGE_TARNAME$ac_delim
33941
PACKAGE_VERSION!$PACKAGE_VERSION$ac_delim
33942
PACKAGE_STRING!$PACKAGE_STRING$ac_delim
33943
PACKAGE_BUGREPORT!$PACKAGE_BUGREPORT$ac_delim
33944
exec_prefix!$exec_prefix$ac_delim
33945
prefix!$prefix$ac_delim
33946
program_transform_name!$program_transform_name$ac_delim
33947
bindir!$bindir$ac_delim
33948
sbindir!$sbindir$ac_delim
33949
libexecdir!$libexecdir$ac_delim
33950
datarootdir!$datarootdir$ac_delim
33951
datadir!$datadir$ac_delim
33952
sysconfdir!$sysconfdir$ac_delim
33953
sharedstatedir!$sharedstatedir$ac_delim
33954
localstatedir!$localstatedir$ac_delim
33955
includedir!$includedir$ac_delim
33956
oldincludedir!$oldincludedir$ac_delim
33957
docdir!$docdir$ac_delim
33958
infodir!$infodir$ac_delim
33959
htmldir!$htmldir$ac_delim
33960
dvidir!$dvidir$ac_delim
33961
pdfdir!$pdfdir$ac_delim
33962
psdir!$psdir$ac_delim
33963
libdir!$libdir$ac_delim
33964
localedir!$localedir$ac_delim
33965
mandir!$mandir$ac_delim
33966
DEFS!$DEFS$ac_delim
33967
ECHO_C!$ECHO_C$ac_delim
33968
ECHO_N!$ECHO_N$ac_delim
33969
ECHO_T!$ECHO_T$ac_delim
33970
LIBS!$LIBS$ac_delim
33971
build_alias!$build_alias$ac_delim
33972
host_alias!$host_alias$ac_delim
33973
target_alias!$target_alias$ac_delim
33974
build!$build$ac_delim
33975
build_cpu!$build_cpu$ac_delim
33976
build_vendor!$build_vendor$ac_delim
33977
build_os!$build_os$ac_delim
33978
host!$host$ac_delim
33979
host_cpu!$host_cpu$ac_delim
33980
host_vendor!$host_vendor$ac_delim
33981
host_os!$host_os$ac_delim
33982
target!$target$ac_delim
33983
target_cpu!$target_cpu$ac_delim
33984
target_vendor!$target_vendor$ac_delim
33985
target_os!$target_os$ac_delim
33986
INSTALL_PROGRAM!$INSTALL_PROGRAM$ac_delim
33987
INSTALL_SCRIPT!$INSTALL_SCRIPT$ac_delim
33988
INSTALL_DATA!$INSTALL_DATA$ac_delim
33989
CYGPATH_W!$CYGPATH_W$ac_delim
33990
PACKAGE!$PACKAGE$ac_delim
33991
VERSION!$VERSION$ac_delim
33992
ACLOCAL!$ACLOCAL$ac_delim
33993
AUTOCONF!$AUTOCONF$ac_delim
33994
AUTOMAKE!$AUTOMAKE$ac_delim
33995
AUTOHEADER!$AUTOHEADER$ac_delim
33996
MAKEINFO!$MAKEINFO$ac_delim
33997
install_sh!$install_sh$ac_delim
33998
STRIP!$STRIP$ac_delim
33999
INSTALL_STRIP_PROGRAM!$INSTALL_STRIP_PROGRAM$ac_delim
34000
mkdir_p!$mkdir_p$ac_delim
34002
SET_MAKE!$SET_MAKE$ac_delim
34003
am__leading_dot!$am__leading_dot$ac_delim
34004
AMTAR!$AMTAR$ac_delim
34005
am__tar!$am__tar$ac_delim
34006
am__untar!$am__untar$ac_delim
34007
KDECONFIG!$KDECONFIG$ac_delim
34008
kde_libs_prefix!$kde_libs_prefix$ac_delim
34009
kde_libs_htmldir!$kde_libs_htmldir$ac_delim
34010
CONF_FILES!$CONF_FILES$ac_delim
34012
CFLAGS!$CFLAGS$ac_delim
34013
LDFLAGS!$LDFLAGS$ac_delim
34014
CPPFLAGS!$CPPFLAGS$ac_delim
34015
ac_ct_CC!$ac_ct_CC$ac_delim
34016
EXEEXT!$EXEEXT$ac_delim
34017
OBJEXT!$OBJEXT$ac_delim
34018
DEPDIR!$DEPDIR$ac_delim
34019
am__include!$am__include$ac_delim
34020
am__quote!$am__quote$ac_delim
34021
AMDEP_TRUE!$AMDEP_TRUE$ac_delim
34022
AMDEP_FALSE!$AMDEP_FALSE$ac_delim
34023
AMDEPBACKSLASH!$AMDEPBACKSLASH$ac_delim
34024
CCDEPMODE!$CCDEPMODE$ac_delim
34025
am__fastdepCC_TRUE!$am__fastdepCC_TRUE$ac_delim
34026
am__fastdepCC_FALSE!$am__fastdepCC_FALSE$ac_delim
34029
CXXFLAGS!$CXXFLAGS$ac_delim
34030
ac_ct_CXX!$ac_ct_CXX$ac_delim
34031
CXXDEPMODE!$CXXDEPMODE$ac_delim
34032
am__fastdepCXX_TRUE!$am__fastdepCXX_TRUE$ac_delim
34033
am__fastdepCXX_FALSE!$am__fastdepCXX_FALSE$ac_delim
34036
if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 97; then
34038
elif $ac_last_try; then
34039
{ { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
34040
echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
34041
{ (exit 1); exit 1; }; }
34043
ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
34047
ac_eof=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
34048
if test -n "$ac_eof"; then
34049
ac_eof=`echo "$ac_eof" | sort -nru | sed 1q`
34050
ac_eof=`expr $ac_eof + 1`
34053
cat >>$CONFIG_STATUS <<_ACEOF
34054
cat >"\$tmp/subs-1.sed" <<\CEOF$ac_eof
34055
/@[a-zA-Z_][a-zA-Z_0-9]*@/!b
34058
s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
34059
s/^/s,@/; s/!/@,|#_!!_#|/
34062
s/'"$ac_delim"'$/,g/; t
34064
N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
34065
' >>$CONFIG_STATUS <conf$$subs.sed
34066
rm -f conf$$subs.sed
34067
cat >>$CONFIG_STATUS <<_ACEOF
34073
for ac_last_try in false false false false false :; do
34074
cat >conf$$subs.sed <<_ACEOF
34075
WOVERLOADED_VIRTUAL!$WOVERLOADED_VIRTUAL$ac_delim
34076
HAVE_GCC_VISIBILITY!$HAVE_GCC_VISIBILITY$ac_delim
34077
unsermake_enable_pch_TRUE!$unsermake_enable_pch_TRUE$ac_delim
34078
unsermake_enable_pch_FALSE!$unsermake_enable_pch_FALSE$ac_delim
34079
USE_EXCEPTIONS!$USE_EXCEPTIONS$ac_delim
34080
USE_RTTI!$USE_RTTI$ac_delim
34081
CXXCPP!$CXXCPP$ac_delim
34082
NOOPT_CXXFLAGS!$NOOPT_CXXFLAGS$ac_delim
34083
NOOPT_CFLAGS!$NOOPT_CFLAGS$ac_delim
34084
ENABLE_PERMISSIVE_FLAG!$ENABLE_PERMISSIVE_FLAG$ac_delim
34085
LDFLAGS_AS_NEEDED!$LDFLAGS_AS_NEEDED$ac_delim
34086
LDFLAGS_NEW_DTAGS!$LDFLAGS_NEW_DTAGS$ac_delim
34087
KDE_USE_FINAL_TRUE!$KDE_USE_FINAL_TRUE$ac_delim
34088
KDE_USE_FINAL_FALSE!$KDE_USE_FINAL_FALSE$ac_delim
34089
KDE_USE_CLOSURE_TRUE!$KDE_USE_CLOSURE_TRUE$ac_delim
34090
KDE_USE_CLOSURE_FALSE!$KDE_USE_CLOSURE_FALSE$ac_delim
34091
KDE_NO_UNDEFINED!$KDE_NO_UNDEFINED$ac_delim
34092
KDE_USE_NMCHECK_TRUE!$KDE_USE_NMCHECK_TRUE$ac_delim
34093
KDE_USE_NMCHECK_FALSE!$KDE_USE_NMCHECK_FALSE$ac_delim
34094
GREP!$GREP$ac_delim
34095
EGREP!$EGREP$ac_delim
34096
LN_S!$LN_S$ac_delim
34097
ECHO!$ECHO$ac_delim
34099
RANLIB!$RANLIB$ac_delim
34101
FFLAGS!$FFLAGS$ac_delim
34102
ac_ct_F77!$ac_ct_F77$ac_delim
34103
LIBTOOL!$LIBTOOL$ac_delim
34104
KDE_PLUGIN!$KDE_PLUGIN$ac_delim
34105
KDE_CHECK_PLUGIN!$KDE_CHECK_PLUGIN$ac_delim
34106
MSGFMT!$MSGFMT$ac_delim
34107
GMSGFMT!$GMSGFMT$ac_delim
34108
XGETTEXT!$XGETTEXT$ac_delim
34109
LIBUTIL!$LIBUTIL$ac_delim
34110
LIBCOMPAT!$LIBCOMPAT$ac_delim
34111
LIBCRYPT!$LIBCRYPT$ac_delim
34112
LIBRESOLV!$LIBRESOLV$ac_delim
34113
LIB_POLL!$LIB_POLL$ac_delim
34114
FRAMEWORK_COREAUDIO!$FRAMEWORK_COREAUDIO$ac_delim
34115
LIBSOCKET!$LIBSOCKET$ac_delim
34116
X_EXTRA_LIBS!$X_EXTRA_LIBS$ac_delim
34117
LIBUCB!$LIBUCB$ac_delim
34118
LIBDL!$LIBDL$ac_delim
34119
KDE_USE_FPIE!$KDE_USE_FPIE$ac_delim
34120
KDE_USE_PIE!$KDE_USE_PIE$ac_delim
34121
include_x11_TRUE!$include_x11_TRUE$ac_delim
34122
include_x11_FALSE!$include_x11_FALSE$ac_delim
34123
XMKMF!$XMKMF$ac_delim
34124
X_PRE_LIBS!$X_PRE_LIBS$ac_delim
34125
LIB_X11!$LIB_X11$ac_delim
34126
LIB_XRENDER!$LIB_XRENDER$ac_delim
34127
LIBSM!$LIBSM$ac_delim
34128
X_INCLUDES!$X_INCLUDES$ac_delim
34129
X_LDFLAGS!$X_LDFLAGS$ac_delim
34130
x_includes!$x_includes$ac_delim
34131
x_libraries!$x_libraries$ac_delim
34132
QTE_NORTTI!$QTE_NORTTI$ac_delim
34133
LIB_XEXT!$LIB_XEXT$ac_delim
34134
LIBPTHREAD!$LIBPTHREAD$ac_delim
34135
USE_THREADS!$USE_THREADS$ac_delim
34136
KDE_MT_LDFLAGS!$KDE_MT_LDFLAGS$ac_delim
34137
KDE_MT_LIBS!$KDE_MT_LIBS$ac_delim
34138
USER_INCLUDES!$USER_INCLUDES$ac_delim
34139
USER_LDFLAGS!$USER_LDFLAGS$ac_delim
34140
LIBZ!$LIBZ$ac_delim
34141
LIBPNG!$LIBPNG$ac_delim
34142
LIBJPEG!$LIBJPEG$ac_delim
34143
qt_libraries!$qt_libraries$ac_delim
34144
qt_includes!$qt_includes$ac_delim
34145
QT_INCLUDES!$QT_INCLUDES$ac_delim
34146
QT_LDFLAGS!$QT_LDFLAGS$ac_delim
34147
PERL!$PERL$ac_delim
34150
UIC_TR!$UIC_TR$ac_delim
34151
LIB_QT!$LIB_QT$ac_delim
34152
LIB_QPE!$LIB_QPE$ac_delim
34153
kde_qtver!$kde_qtver$ac_delim
34154
KDE_EXTRA_RPATH!$KDE_EXTRA_RPATH$ac_delim
34155
KDE_RPATH!$KDE_RPATH$ac_delim
34156
X_RPATH!$X_RPATH$ac_delim
34157
kde_libraries!$kde_libraries$ac_delim
34158
kde_includes!$kde_includes$ac_delim
34159
KDE_LDFLAGS!$KDE_LDFLAGS$ac_delim
34160
KDE_INCLUDES!$KDE_INCLUDES$ac_delim
34161
all_includes!$all_includes$ac_delim
34162
all_libraries!$all_libraries$ac_delim
34163
AUTODIRS!$AUTODIRS$ac_delim
34164
include_ARTS_TRUE!$include_ARTS_TRUE$ac_delim
34165
include_ARTS_FALSE!$include_ARTS_FALSE$ac_delim
34166
MAKEKDEWIDGETS!$MAKEKDEWIDGETS$ac_delim
34167
KCONFIG_COMPILER!$KCONFIG_COMPILER$ac_delim
34168
KCFG_DEPENDENCIES!$KCFG_DEPENDENCIES$ac_delim
34169
DCOPIDLNG!$DCOPIDLNG$ac_delim
34170
DCOPIDL!$DCOPIDL$ac_delim
34171
DCOPIDL2CPP!$DCOPIDL2CPP$ac_delim
34174
if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 97; then
34176
elif $ac_last_try; then
34177
{ { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
34178
echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
34179
{ (exit 1); exit 1; }; }
34181
ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
34185
ac_eof=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
34186
if test -n "$ac_eof"; then
34187
ac_eof=`echo "$ac_eof" | sort -nru | sed 1q`
34188
ac_eof=`expr $ac_eof + 1`
34191
cat >>$CONFIG_STATUS <<_ACEOF
34192
cat >"\$tmp/subs-2.sed" <<\CEOF$ac_eof
34193
/@[a-zA-Z_][a-zA-Z_0-9]*@/!b
34196
s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
34197
s/^/s,@/; s/!/@,|#_!!_#|/
34200
s/'"$ac_delim"'$/,g/; t
34202
N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
34203
' >>$CONFIG_STATUS <conf$$subs.sed
34204
rm -f conf$$subs.sed
34205
cat >>$CONFIG_STATUS <<_ACEOF
34211
for ac_last_try in false false false false false :; do
34212
cat >conf$$subs.sed <<_ACEOF
34213
DCOP_DEPENDENCIES!$DCOP_DEPENDENCIES$ac_delim
34214
MCOPIDL!$MCOPIDL$ac_delim
34215
ARTSCCONFIG!$ARTSCCONFIG$ac_delim
34216
MEINPROC!$MEINPROC$ac_delim
34217
KDE_XSL_STYLESHEET!$KDE_XSL_STYLESHEET$ac_delim
34218
XMLLINT!$XMLLINT$ac_delim
34219
kde_htmldir!$kde_htmldir$ac_delim
34220
kde_appsdir!$kde_appsdir$ac_delim
34221
kde_icondir!$kde_icondir$ac_delim
34222
kde_sounddir!$kde_sounddir$ac_delim
34223
kde_datadir!$kde_datadir$ac_delim
34224
kde_locale!$kde_locale$ac_delim
34225
kde_confdir!$kde_confdir$ac_delim
34226
kde_kcfgdir!$kde_kcfgdir$ac_delim
34227
kde_mimedir!$kde_mimedir$ac_delim
34228
kde_wallpaperdir!$kde_wallpaperdir$ac_delim
34229
kde_bindir!$kde_bindir$ac_delim
34230
xdg_appsdir!$xdg_appsdir$ac_delim
34231
xdg_menudir!$xdg_menudir$ac_delim
34232
xdg_directorydir!$xdg_directorydir$ac_delim
34233
kde_templatesdir!$kde_templatesdir$ac_delim
34234
kde_servicesdir!$kde_servicesdir$ac_delim
34235
kde_servicetypesdir!$kde_servicetypesdir$ac_delim
34236
kde_moduledir!$kde_moduledir$ac_delim
34237
kdeinitdir!$kdeinitdir$ac_delim
34238
kde_styledir!$kde_styledir$ac_delim
34239
kde_widgetdir!$kde_widgetdir$ac_delim
34240
LIB_KDED!$LIB_KDED$ac_delim
34241
LIB_KDECORE!$LIB_KDECORE$ac_delim
34242
LIB_KDEUI!$LIB_KDEUI$ac_delim
34243
LIB_KIO!$LIB_KIO$ac_delim
34244
LIB_KJS!$LIB_KJS$ac_delim
34245
LIB_SMB!$LIB_SMB$ac_delim
34246
LIB_KAB!$LIB_KAB$ac_delim
34247
LIB_KABC!$LIB_KABC$ac_delim
34248
LIB_KHTML!$LIB_KHTML$ac_delim
34249
LIB_KSPELL!$LIB_KSPELL$ac_delim
34250
LIB_KPARTS!$LIB_KPARTS$ac_delim
34251
LIB_KDEPRINT!$LIB_KDEPRINT$ac_delim
34252
LIB_KUTILS!$LIB_KUTILS$ac_delim
34253
LIB_KDEPIM!$LIB_KDEPIM$ac_delim
34254
LIB_KIMPROXY!$LIB_KIMPROXY$ac_delim
34255
LIB_KNEWSTUFF!$LIB_KNEWSTUFF$ac_delim
34256
LIB_KDNSSD!$LIB_KDNSSD$ac_delim
34257
LIB_KUNITTEST!$LIB_KUNITTEST$ac_delim
34258
LIB_KSYCOCA!$LIB_KSYCOCA$ac_delim
34259
LIB_KFILE!$LIB_KFILE$ac_delim
34260
LIB_KFM!$LIB_KFM$ac_delim
34261
TOPSUBDIRS!$TOPSUBDIRS$ac_delim
34262
LIBOBJS!$LIBOBJS$ac_delim
34263
LTLIBOBJS!$LTLIBOBJS$ac_delim
34266
if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 51; then
34268
elif $ac_last_try; then
34269
{ { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
34270
echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
34271
{ (exit 1); exit 1; }; }
34273
ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
34277
ac_eof=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
34278
if test -n "$ac_eof"; then
34279
ac_eof=`echo "$ac_eof" | sort -nru | sed 1q`
34280
ac_eof=`expr $ac_eof + 1`
34283
cat >>$CONFIG_STATUS <<_ACEOF
34284
cat >"\$tmp/subs-3.sed" <<\CEOF$ac_eof
34285
/@[a-zA-Z_][a-zA-Z_0-9]*@/!b end
34288
s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
34289
s/^/s,@/; s/!/@,|#_!!_#|/
34292
s/'"$ac_delim"'$/,g/; t
34294
N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
34295
' >>$CONFIG_STATUS <conf$$subs.sed
34296
rm -f conf$$subs.sed
34297
cat >>$CONFIG_STATUS <<_ACEOF
34304
# VPATH may cause trouble with some makes, so we remove $(srcdir),
34305
# ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
34306
# trailing colons and then remove the whole line if VPATH becomes empty
34307
# (actually we leave an empty line to preserve line numbers).
34308
if test "x$srcdir" = x.; then
34309
ac_vpsub='/^[ ]*VPATH[ ]*=/{
34310
s/:*\$(srcdir):*/:/
34311
s/:*\${srcdir}:*/:/
34313
s/^\([^=]*=[ ]*\):*/\1/
34319
cat >>$CONFIG_STATUS <<\_ACEOF
34320
fi # test -n "$CONFIG_FILES"
34323
for ac_tag in :F $CONFIG_FILES :H $CONFIG_HEADERS :C $CONFIG_COMMANDS
34326
:[FHLC]) ac_mode=$ac_tag; continue;;
34328
case $ac_mode$ac_tag in
34330
:L* | :C*:*) { { echo "$as_me:$LINENO: error: Invalid tag $ac_tag." >&5
34331
echo "$as_me: error: Invalid tag $ac_tag." >&2;}
34332
{ (exit 1); exit 1; }; };;
34333
:[FH]-) ac_tag=-:-;;
34334
:[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
34351
-) ac_f="$tmp/stdin";;
34352
*) # Look for the file first in the build tree, then in the source tree
34353
# (if the path is not absolute). The absolute path cannot be DOS-style,
34354
# because $ac_f cannot contain `:'.
34358
*) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
34360
{ { echo "$as_me:$LINENO: error: cannot find input file: $ac_f" >&5
34361
echo "$as_me: error: cannot find input file: $ac_f" >&2;}
34362
{ (exit 1); exit 1; }; };;
34364
ac_file_inputs="$ac_file_inputs $ac_f"
34367
# Let's still pretend it is `configure' which instantiates (i.e., don't
34368
# use $as_me), people would be surprised to read:
34369
# /* config.h. Generated by config.status. */
34370
configure_input="Generated from "`IFS=:
34371
echo $* | sed 's|^[^:]*/||;s|:[^:]*/|, |g'`" by configure."
34372
if test x"$ac_file" != x-; then
34373
configure_input="$ac_file. $configure_input"
34374
{ echo "$as_me:$LINENO: creating $ac_file" >&5
34375
echo "$as_me: creating $ac_file" >&6;}
34379
*:-:* | *:-) cat >"$tmp/stdin";;
34384
ac_dir=`$as_dirname -- "$ac_file" ||
34385
$as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
34386
X"$ac_file" : 'X\(//\)[^/]' \| \
34387
X"$ac_file" : 'X\(//\)$' \| \
34388
X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
34390
sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
34394
/^X\(\/\/\)[^/].*/{
34409
-*) as_dir=./$as_dir;;
34411
test -d "$as_dir" || { $as_mkdir_p && mkdir -p "$as_dir"; } || {
34415
*\'*) as_qdir=`echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #(
34416
*) as_qdir=$as_dir;;
34418
as_dirs="'$as_qdir' $as_dirs"
34419
as_dir=`$as_dirname -- "$as_dir" ||
34420
$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
34421
X"$as_dir" : 'X\(//\)[^/]' \| \
34422
X"$as_dir" : 'X\(//\)$' \| \
34423
X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
34425
sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
34429
/^X\(\/\/\)[^/].*/{
34442
test -d "$as_dir" && break
34444
test -z "$as_dirs" || eval "mkdir $as_dirs"
34445
} || test -d "$as_dir" || { { echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
34446
echo "$as_me: error: cannot create directory $as_dir" >&2;}
34447
{ (exit 1); exit 1; }; }; }
34451
.) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
34453
ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
34454
# A ".." for each directory in $ac_dir_suffix.
34455
ac_top_builddir_sub=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'`
34456
case $ac_top_builddir_sub in
34457
"") ac_top_builddir_sub=. ac_top_build_prefix= ;;
34458
*) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
34461
ac_abs_top_builddir=$ac_pwd
34462
ac_abs_builddir=$ac_pwd$ac_dir_suffix
34463
# for backward compatibility:
34464
ac_top_builddir=$ac_top_build_prefix
34467
.) # We are building in place.
34469
ac_top_srcdir=$ac_top_builddir_sub
34470
ac_abs_top_srcdir=$ac_pwd ;;
34471
[\\/]* | ?:[\\/]* ) # Absolute name.
34472
ac_srcdir=$srcdir$ac_dir_suffix;
34473
ac_top_srcdir=$srcdir
34474
ac_abs_top_srcdir=$srcdir ;;
34475
*) # Relative name.
34476
ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
34477
ac_top_srcdir=$ac_top_build_prefix$srcdir
34478
ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
34480
ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
34490
[\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
34491
*) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
34495
cat >>$CONFIG_STATUS <<\_ACEOF
34496
# If the template does not know about datarootdir, expand it.
34497
# FIXME: This hack should be removed a few years after 2.60.
34498
ac_datarootdir_hack=; ac_datarootdir_seen=
34500
case `sed -n '/datarootdir/ {
34509
' $ac_file_inputs` in
34510
*datarootdir*) ac_datarootdir_seen=yes;;
34511
*@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
34512
{ echo "$as_me:$LINENO: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
34513
echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
34515
cat >>$CONFIG_STATUS <<_ACEOF
34516
ac_datarootdir_hack='
34517
s&@datadir@&$datadir&g
34518
s&@docdir@&$docdir&g
34519
s&@infodir@&$infodir&g
34520
s&@localedir@&$localedir&g
34521
s&@mandir@&$mandir&g
34522
s&\\\${datarootdir}&$datarootdir&g' ;;
34526
# Neutralize VPATH when `$srcdir' = `.'.
34527
# Shell code in configure.ac might set extrasub.
34528
# FIXME: do we really want to maintain this feature?
34529
cat >>$CONFIG_STATUS <<_ACEOF
34533
cat >>$CONFIG_STATUS <<\_ACEOF
34535
/@[a-zA-Z_][a-zA-Z_0-9]*@/!b
34536
s&@configure_input@&$configure_input&;t t
34537
s&@top_builddir@&$ac_top_builddir_sub&;t t
34538
s&@srcdir@&$ac_srcdir&;t t
34539
s&@abs_srcdir@&$ac_abs_srcdir&;t t
34540
s&@top_srcdir@&$ac_top_srcdir&;t t
34541
s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
34542
s&@builddir@&$ac_builddir&;t t
34543
s&@abs_builddir@&$ac_abs_builddir&;t t
34544
s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
34545
s&@INSTALL@&$ac_INSTALL&;t t
34546
$ac_datarootdir_hack
34547
" $ac_file_inputs | sed -f "$tmp/subs-1.sed" | sed -f "$tmp/subs-2.sed" | sed -f "$tmp/subs-3.sed" >$tmp/out
34549
test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
34550
{ ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out"`; test -n "$ac_out"; } &&
34551
{ ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' "$tmp/out"`; test -z "$ac_out"; } &&
34552
{ echo "$as_me:$LINENO: WARNING: $ac_file contains a reference to the variable \`datarootdir'
34553
which seems to be undefined. Please make sure it is defined." >&5
34554
echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
34555
which seems to be undefined. Please make sure it is defined." >&2;}
34559
-) cat "$tmp/out"; rm -f "$tmp/out";;
34560
*) rm -f "$ac_file"; mv "$tmp/out" $ac_file;;
34569
# Transform confdefs.h into a sed script `conftest.defines', that
34570
# substitutes the proper values into config.h.in to produce config.h.
34571
rm -f conftest.defines conftest.tail
34572
# First, append a space to every undef/define line, to ease matching.
34573
echo 's/$/ /' >conftest.defines
34574
# Then, protect against being on the right side of a sed subst, or in
34575
# an unquoted here document, in config.status. If some macros were
34576
# called several times there might be several #defines for the same
34577
# symbol, which is useless. But do not sort them, since the last
34578
# AC_DEFINE must be honored.
34579
ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
34580
# These sed commands are passed to sed as "A NAME B PARAMS C VALUE D", where
34581
# NAME is the cpp macro being defined, VALUE is the value it is being given.
34582
# PARAMS is the parameter list in the macro definition--in most cases, it's
34583
# just an empty string.
34584
ac_dA='s,^\\([ #]*\\)[^ ]*\\([ ]*'
34585
ac_dB='\\)[ (].*,\\1define\\2'
34593
s/^[ ]*#[ ]*define[ ][ ]*//
34598
s/^\('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/ '"$ac_dA"'\1'"$ac_dB"'\2'"${ac_dC}"'\3'"$ac_dD"'/p
34599
s/^\('"$ac_word_re"'\)[ ]*\(.*\)/'"$ac_dA"'\1'"$ac_dB$ac_dC"'\2'"$ac_dD"'/p
34600
' >>conftest.defines
34602
# Remove the space that was appended to ease matching.
34603
# Then replace #undef with comments. This is necessary, for
34604
# example, in the case of _POSIX_SOURCE, which is predefined and required
34605
# on some systems where configure will not decide to define it.
34606
# (The regexp can be short, since the line contains either #define or #undef.)
34608
s,^[ #]*u.*,/* & */,' >>conftest.defines
34610
# Break up conftest.defines:
34611
ac_max_sed_lines=50
34613
# First sed command is: sed -f defines.sed $ac_file_inputs >"$tmp/out1"
34614
# Second one is: sed -f defines.sed "$tmp/out1" >"$tmp/out2"
34615
# Third one will be: sed -f defines.sed "$tmp/out2" >"$tmp/out1"
34617
ac_in='$ac_file_inputs'
34618
ac_out='"$tmp/out1"'
34619
ac_nxt='"$tmp/out2"'
34623
# Write a here document:
34624
cat >>$CONFIG_STATUS <<_ACEOF
34625
# First, check the format of the line:
34626
cat >"\$tmp/defines.sed" <<\\CEOF
34627
/^[ ]*#[ ]*undef[ ][ ]*$ac_word_re[ ]*\$/b def
34628
/^[ ]*#[ ]*define[ ][ ]*$ac_word_re[( ]/b def
34632
sed ${ac_max_sed_lines}q conftest.defines >>$CONFIG_STATUS
34634
sed -f "$tmp/defines.sed"' "$ac_in >$ac_out" >>$CONFIG_STATUS
34635
ac_in=$ac_out; ac_out=$ac_nxt; ac_nxt=$ac_in
34636
sed 1,${ac_max_sed_lines}d conftest.defines >conftest.tail
34637
grep . conftest.tail >/dev/null || break
34638
rm -f conftest.defines
34639
mv conftest.tail conftest.defines
34641
rm -f conftest.defines conftest.tail
34643
echo "ac_result=$ac_in" >>$CONFIG_STATUS
34644
cat >>$CONFIG_STATUS <<\_ACEOF
34645
if test x"$ac_file" != x-; then
34646
echo "/* $configure_input */" >"$tmp/config.h"
34647
cat "$ac_result" >>"$tmp/config.h"
34648
if diff $ac_file "$tmp/config.h" >/dev/null 2>&1; then
34649
{ echo "$as_me:$LINENO: $ac_file is unchanged" >&5
34650
echo "$as_me: $ac_file is unchanged" >&6;}
34653
mv "$tmp/config.h" $ac_file
34656
echo "/* $configure_input */"
34660
# Compute $ac_file's index in $config_headers.
34662
for _am_header in $config_headers :; do
34663
case $_am_header in
34664
$ac_file | $ac_file:* )
34667
_am_stamp_count=`expr $_am_stamp_count + 1` ;;
34670
echo "timestamp for $ac_file" >`$as_dirname -- $ac_file ||
34671
$as_expr X$ac_file : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
34672
X$ac_file : 'X\(//\)[^/]' \| \
34673
X$ac_file : 'X\(//\)$' \| \
34674
X$ac_file : 'X\(/\)' \| . 2>/dev/null ||
34676
sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
34680
/^X\(\/\/\)[^/].*/{
34692
s/.*/./; q'`/stamp-h$_am_stamp_count
34695
:C) { echo "$as_me:$LINENO: executing $ac_file commands" >&5
34696
echo "$as_me: executing $ac_file commands" >&6;}
34701
case $ac_file$ac_mode in
34702
"depfiles":C) test x"$AMDEP_TRUE" != x"" || for mf in $CONFIG_FILES; do
34703
# Strip MF so we end up with the name of the file.
34704
mf=`echo "$mf" | sed -e 's/:.*$//'`
34705
# Check whether this is an Automake generated Makefile or not.
34706
# We used to match only the files named `Makefile.in', but
34707
# some people rename them; so instead we look at the file content.
34708
# Grep'ing the first line is not enough: some people post-process
34709
# each Makefile.in and add a new line on top of each file to say so.
34710
# So let's grep whole file.
34711
if grep '^#.*generated by automake' $mf > /dev/null 2>&1; then
34712
dirpart=`$as_dirname -- "$mf" ||
34713
$as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
34714
X"$mf" : 'X\(//\)[^/]' \| \
34715
X"$mf" : 'X\(//\)$' \| \
34716
X"$mf" : 'X\(/\)' \| . 2>/dev/null ||
34718
sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
34722
/^X\(\/\/\)[^/].*/{
34738
# Extract the definition of DEPDIR, am__include, and am__quote
34739
# from the Makefile without running `make'.
34740
DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"`
34741
test -z "$DEPDIR" && continue
34742
am__include=`sed -n 's/^am__include = //p' < "$mf"`
34743
test -z "am__include" && continue
34744
am__quote=`sed -n 's/^am__quote = //p' < "$mf"`
34745
# When using ansi2knr, U may be empty or an underscore; expand it
34746
U=`sed -n 's/^U = //p' < "$mf"`
34747
# Find all dependency output files, they are included files with
34748
# $(DEPDIR) in their names. We invoke sed twice because it is the
34749
# simplest approach to changing $(DEPDIR) to its actual value in the
34751
for file in `sed -n "
34752
s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
34753
sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do
34754
# Make sure the directory exists.
34755
test -f "$dirpart/$file" && continue
34756
fdir=`$as_dirname -- "$file" ||
34757
$as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
34758
X"$file" : 'X\(//\)[^/]' \| \
34759
X"$file" : 'X\(//\)$' \| \
34760
X"$file" : 'X\(/\)' \| . 2>/dev/null ||
34762
sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
34766
/^X\(\/\/\)[^/].*/{
34779
{ as_dir=$dirpart/$fdir
34781
-*) as_dir=./$as_dir;;
34783
test -d "$as_dir" || { $as_mkdir_p && mkdir -p "$as_dir"; } || {
34787
*\'*) as_qdir=`echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #(
34788
*) as_qdir=$as_dir;;
34790
as_dirs="'$as_qdir' $as_dirs"
34791
as_dir=`$as_dirname -- "$as_dir" ||
34792
$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
34793
X"$as_dir" : 'X\(//\)[^/]' \| \
34794
X"$as_dir" : 'X\(//\)$' \| \
34795
X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
34797
sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
34801
/^X\(\/\/\)[^/].*/{
34814
test -d "$as_dir" && break
34816
test -z "$as_dirs" || eval "mkdir $as_dirs"
34817
} || test -d "$as_dir" || { { echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
34818
echo "$as_me: error: cannot create directory $as_dir" >&2;}
34819
{ (exit 1); exit 1; }; }; }
34820
# echo "creating $dirpart/$file"
34821
echo '# dummy' > "$dirpart/$file"
34830
{ (exit 0); exit 0; }
34832
if test "x$with_fast_perl" = "xyes"; then
34833
perl -i.bak $ac_aux_dir/conf.change.pl $CONFIG_STATUS \
34834
|| mv $CONFIG_STATUS.bak $CONFIG_STATUS
34835
rm -f $CONFIG_STATUS.bak
34837
chmod +x $CONFIG_STATUS
34838
ac_clean_files=$ac_clean_files_save
34841
# configure is writing to config.log, and then calls config.status.
34842
# config.status does its own redirection, appending to config.log.
34843
# Unfortunately, on DOS this fails, as config.log is still kept open
34844
# by configure, so config.status won't be able to write to it; its
34845
# output is simply discarded. So we exec the FD to /dev/null,
34846
# effectively closing config.log, so it can be properly (re)opened and
34847
# appended to by config.status. When coming back to configure, we
34848
# need to make the FD available again.
34849
if test "$no_create" != yes; then
34851
ac_config_status_args=
34852
test "$silent" = yes &&
34853
ac_config_status_args="$ac_config_status_args --quiet"
34855
$SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
34857
# Use ||, not &&, to avoid exiting from the if with $? = 1, which
34858
# would make configure fail if this is the last instruction.
34859
$ac_cs_success || { (exit 1); exit 1; }
34862
# Check if KDE_SET_PREFIX was called, and --prefix was passed to configure
34863
if test -n "$kde_libs_prefix" -a -n "$given_prefix"; then
34864
# And if so, warn when they don't match
34865
if test "$kde_libs_prefix" != "$given_prefix"; then
34866
# And if kde doesn't know about the prefix yet
34867
echo ":"`kde-config --path exe`":" | grep ":$given_prefix/bin/:" 2>&1 >/dev/null
34868
if test $? -ne 0; then
34870
echo "Warning: you chose to install this package in $given_prefix,"
34871
echo "but KDE was found in $kde_libs_prefix."
34872
echo "For this to work, you will need to tell KDE about the new prefix, by ensuring"
34873
echo "that KDEDIRS contains it, e.g. export KDEDIRS=$given_prefix:$kde_libs_prefix"
34874
echo "Then restart KDE."
34880
if test x$GXX = "xyes" -a x$kde_have_gcc_visibility = "xyes" -a x$kde_cv_val_qt_gcc_visibility_patched = "xno"; then
34882
echo "Your GCC supports symbol visibility, but the patch for Qt supporting visibility"
34883
echo "was not included. Therefore, GCC symbol visibility support remains disabled."
34885
echo "For better performance, consider including the Qt visibility supporting patch"
34888
echo "http://bugs.kde.org/show_bug.cgi?id=109386"
34890
echo "and recompile all of Qt and KDE. Note, this is entirely optional and"
34891
echo "everything will continue to work just fine without it."
34895
if test "$all_tests" = "bad"; then
34896
if test ! "$cache_file" = "/dev/null"; then
34898
echo "Please remove the file $cache_file after changing your setup"
34899
echo "so that configure will find the changes next time."
34904
echo "Good - your configure finished. Start make now"